- Fix selection is incorrect when items changed but items count remained issue.
- Use margin right and left to avoid browser specific prefix fix for rtl space issue.
- Re-add the padding styles that was removed that caused regression.
- Resolved regression in iconic menu trigger size.
- Fixed Dropdown icon spacing issue when the rendering direction is "rtl" Right-To-Left.
- Added
--px-icon-flex-grow
CSS variable for optionally allowing the dropdown to fill its container.
- Fixed regression in px-icon sizes.
- Added a new property to make the number of selected values used in the trigger label variable.
- The new property is
display-value-count
and its default value is1
, which is the current default behaviour.
- Added read-only and disabled-viewable properties to px-dropdown.
- read-only allows user to open px-dropdown in an active state but they can not select items
- disabled-viewable allows user to open px-dropdown even though its in a disabled state but they can not select items
- fix max-width of dropdown-trigger
- Removed id #searchbox from px-dropdown and used the class variable .search__box.
- This ensures no duplicate 'non-unique id' error that chrome console checks for.
- fix event documentation
- fix width inheritance of content on resize
- close dropdown when trigger tapped again
- fix width inheritance of content
- fix width inheritance
- revert all accidental sass changes from 4.7.0
- fix mobile responsiveness
- add disable-truncate property for content items
- Adding px-overlay-content to optionally hoist content.
- px-dropdown was broken up into two sub components to facilitate hoisting.
- Adds JS to dynamically watch for a trigger element to be added to the trigger slot so we can avoid breaking the API. We can't just pass the trigger down because in v1 Shadow DOM slots passed down twice that are empty still wipe out any default content.
- Refactor px-dropdown-content to just listen for click event emitting from the trigger
- Move all code that deals with items into px-dropdown-content to cleanly seperate concerns. px-dropdown is just a wrapper that connects the trigger and content together and passes properties and slotted content down.
- fixing demo pages for IE11
- update demo to be clearer
- revert simple_demo change
- add min width/height vars for product-switcher
- add mobile responsiveness
- add caret and header/footer slots to support px-product-switcher
- update tests
- fix keyboard a11y
- fix icon size (#70)
- allow disableSelect on individual items
- fix v4.3.1 to work in Polymer 1
- remove min btn width
- add disableSelect property for use in menus
- make _itemsChanged more flexible
- add app-localize-behavior (#68)
- fix sizing issues (#67)
- Add missing style var to docs
- Adds
trigger
slot to support developer-defined custom trigger, see docs for more information
- Polymer 1.x/2.x hybrid element support
- fix demo
- add device flags
- remove web-animations (#62)
- resolve version conflict for web-animations (#62)
- add null check (#59)
- expose variable to fix style of breadcrumbs
- handle items changes correctly, new boolean
- revert 4.0.10
- clear selections on items change
- add support for icons in the dropdown
- add missing style vars to docs
- fix typo
- add back px-dropdown-click event
- Fix comment for analyzer
- switch to px-utl:check icon
- runtime theming for demo
- update demo per design feedback
- Changed how search icon is positioned
- rebuild of the px-dropdown component using iron-dropdown and iron-selector
- added new icons
- code review fixes
- fix #50, #51, #52
- add prop for disableClear
- fix for failing FF unit test
- merge PR #36 to add keyboard support
- turned off new functionality from PR #32 by default
- fixed display issue with search box, added unit tests
- merge PR #32, add search and sort functionality
- changed position back to relative, fixed demo
- changed position to absolute
- improved accessibility
- fix disabled text color
- added chevron css vars
- remove old theming and remove shields from subcomponent
- standardized style variable naming
- fixed CodePen for subcomponent
- updated usage documentation
- Ensure tooltip is hidden when scrolling the dropdown content
- Ensure click on checkboxes don't throw an error
- Update demo with multiple pages
- added new demo component
- clear up checkbox-mode confusion from demo (#28)
- Update colors design to pick up new colors
- rebuild demo css
- changing ghp.sh to account for Alpha releases
- fixed event propogation per #26
- added capability to disable a dropdown item
- added styles for validation classes from px-forms-design
- fix missing comma in bower.json
- updating dropdown styles to match spec and adding checkbox mode to demo
- Updated iron-dropdown dependency
- Updated dependencies
- changing browser in wct testing from safari 8 to safari 10 on elcapitan
- added --px-dropdown-text-color css var
- changing all devDeps to ^
- Update px-theme to 2.0.1 and update test fixtures
- removing px-theme style call
- changing Gruntfile.js to gulpfile.js
- fixed style variables for consistency
- added the style header in the docs
- added css variables, and changed previous ones to match the BEM naming.
- bower updating px-demo-snippet
- accepted PR that fixed multiple checkbox behavior and standardized event names
- added property for disabled dropdown
- Updated dependencies
- Fixed dropdown-content demo
- Uprev
- fixed demo bug
- removed the text and chevron demo pages, since they are internal, and made the components load with parentComponent, so they can work with codepen.
- added parent-name to demo-snippet and changed over the polymer-font-awesome library
- added other demo pages to vulcanize
- updated demo bugs
- Added 'selectedKey' attribute to dropdown, representing the key of the currently selected item
- updated mega demo styles and bower px-demo-snippet to ^
- added image to readme, removed watch, added view on github
- updated gh-pages script to vulcanize demo
- Fix to make px-dropdown play with Angular nicely. Added Angular demo, also.
- Upgrade to Polymer 1.5.0
- Added --dropdown_content_margin to control the dropdown content margin
- Added --dropdown_text_padding to control text padding and make internal element use flex layout
- up minor version on polymer font awesome
- removed dependency on .px-dropdown-content class
- added oss_notice to bower ignore
- added pull request test for travis and updated OSS Notice
- added auto github pages functionality
- Minor CSS text colour fix.
- Fix bug where selecting an item having a tooltip would set the value and displayValue to this item + its tooltip
- Upgrade to Polymer 1.4.0
- display-value attribute now notifies
- Apply scroll lock only if content has vertical scroll bars
- added 'checkbox-mode' attribute on px-dropdown-content, allowing it to function as a list of items with checkboxes
- brought the default border color for dropdown.
- removed documentation from README, and replaced with link to github page, where cos are auto generated.
- updated readme and added stopPropagation on internal events
- removed px-dropdown-lock-width
- added readonly 'value' attribute on dropdown, computed from display-value. Fire "change" event on dropdown when value changes
- more data-table fixes. Fire px-dropdown-lock-width event when requiring a container to lock its width to the dropdown width.
- fix bug when embedded in data-table
- fix firefox positioning bug
- added allow-outside-scroll attribute on px-dropdown-content. By default lock scrolling on the dropdown when open and prevent scrolling everywhere else.
- px-dropdown-text now already included in px-dropdown. Use display-value attribute on px-dropdown to set its text
- fixed Shadow Dom support
- fixed IE10 selected value bug
- new attribute on px-dropdown: prevent-close-on-outside-click. Default to false and dropdown now automatically closes on outside clicks
- make it more obvious it is possible to scroll by reducing the height of the dropdown by half an item's height if the dropdown has scrollbars
- added bound-target attribute: if set the dropdown will always try to fit within this HTMLElement
- fixed setDivWidth on click function bug.
- changed the way the initial text is passed in (added attribute display-value)
- added a hide-chevron attribute
- Updated styles
- max container character count now also applies to the px-text portion of the component.
- added smart orientation which detects if the dropdown will show below the viewport, and display the dropdown above the element clicked.
- Updated styles/spacing/chevron
- removed the need to call px-dropdown-chevron - it's baked into the component now.
- Updated License
- added hover and opened styles/classes
- Initial release, px-dropdown supports receiving an array of items, and displays a dropdown list when either the text or the chevron are clicked. A click on the item itself fires off a "px-dropdown-click" event, and passed the click event with it.