Skip to content

Pork ribs

Compare
Choose a tag to compare
@cibernox cibernox released this 19 Jan 13:12
· 1981 commits to master since this release

This is most likely the last release with breaking changes in the public API before 1.0, so you should feel safe already using it.

The "semi-public" API received by the components that are customizable by the user is approaching to stability but might take another version or two.

Below, a list of all changes since 0.7.2:

  • [INTERNAL] Update to ember-cli 2.3.0-beta.1
  • [ENHANCEMENT] The mouseup over on element of the list doesn't selects that element if the mouse is
    still in the same coordinates (+/- 2px) of the mousedown that opened the component. This allows the
    options list to be rendered over the trigger and not wrongly select the element above the trigger
  • [BUGFIX] default beforeOptions component only clear the search on destroy when the search is enabled.
  • [BUGFIX] Not it's responsability of the component holding the searchbox to clear (or not) clear the
    search when the component is closed. The default components (single/multiple) do it. Maybe breaking??
  • [BUGFIX] Trigger should use clearfix so when the amount of options selected (multiple selects) overflows
    the available width is grows.
  • [BUGFIX] Do not use let in node code (unless you want node 0.12 to break)
  • [BUGFIX] Ensure that the included hook works when invoked from another addon (being a dependency)
    instead of directly by the consumer app, and also that the function is a noop the 2nd time it's invoked.
  • [BUGFIX] Not returning from the search action but instead setting options to a promise does not
    prevent subsequent searches.
  • [BUGFIX] Pressing Backspace to delete the last selected option in multiple select when options are not
    plain strings now works as expected. It makes searchField mandatory, and asserts its presence.
  • [INTERNAL] Refactor internals to don't force people providing custom components for slots to
    implement that much logic on it. Also logic for the closeOnSelect configuration lies in a single place.
  • [INTERNAL] Remove unnecesary action. Makes customization of triggerComponent easier.
  • [BUGFIX] Do not rely on significant whitepace + inlineBlock for styling selections in multiple select.
    Use float: left
  • [FEATURE] Added a new slot that can be customized with the selectedItemComponent. This allows to
    customize the markup of the selected option(s) without forcing the user to customize the entire
    trigger component. This doesn't enable any new pattern but makes customization easier.
  • [BREAKING] dropdownPosition is now verticalPosition. It will continue to work until 0.9 but throwing
    a deprecation warning.
  • [BUGFIX] {{power-select-multiple}} has fallback values for the component names. Makes it composable.
  • [BREAKING] Renamed selectedComponent to triggerComponent, which is more accurate, in preparation
    to add a selectedItemComponent soon. selectedComponent continues to work, but throws a deprecation.
  • [FEATURE] Add new sass variables for customize the border & padding of each option in multiple mode,
    and the padding of the trigger in ltr/rtl modes.
  • [INTERNAL] Update ember-cli
  • [BUGFIX] Update deps to ember-basic-dropdown 0.7.2. Fixed duplicated wormhole placeholder when
    ember-basic-dropdown is also a direct dependency of the project.
  • [BREAKING] Eliminame multiple mode and create {{#power-select-multiple}} as a separated component
    for dogfooding
  • [BREAKING] The name of the selected property inside the custom components is now selected instead of selection
    for consistency with the external API.
  • [BREAKING] More bahaviour has been transfered from the main components to the default implementation
    of the selectedComponent, optionsComponent and beforeOptionsComponent. This makes the component
    more flexible but less straigtforward to extend. The API for extending the component was never publish
    but still, expect things to break.