Skip to content

Chicken with beer sauce and mashed potatoes

Pre-release
Pre-release
Compare
Choose a tag to compare
@cibernox cibernox released this 12 Apr 18:54
· 1602 commits to master since this release

I don't expect any more changes before 0.10 final.
And 0.10 will probably the latest before 1.0.0 🎉

  • [BREAKING] e.preventDefault() no longer affects the behaviour of the component, just prevents
    the native browser behaviour. Return false instead.
  • [BUGFIX/BREAKING] onopen/onclose actions are called before the component is opens/closes,
    giving the user the change to prevent that from happening by returning false.
  • [BUGFIX] select.actions.select doesn't call stopPropagation or preventDefault in the given
    event anymore. It's not it's responsability.
  • [INTERNAL] Update Ember-basic-dropdown to 0.9.5-beta.14. PublicAPI should be the same, but
    internal have been simplified and responsabilities better divided across components. Nothing should
    break, but given the size of the changes ¯_(ツ)_/¯
  • [BUGFIX] The trigger of the single select applies overflow if the content is too long
  • [FEATURE] Selects can now be nested inside other dropdowns.
  • [FEATURE] Allow to pass WAI-ARIA states (ariaDescribedBy, ariaInvalid, ariaLabel, ariaLabelledBy and required)
  • [BUGFIX] Avoid highlight disabled options when they are the first option after a search. Instead,
    highlight the first non-disabled option in the list. When all results are disabled, nothing gets
    highlighted.
  • [ENHANCEMENT] Add a class to the component when an element inside has the focus. This allows to
    style the component not only when the component itself is focused but when an input inside
    is, which was previously impossible.
  • [BUGFIX] Allow to pass horizontalPosition to customize to which edge of the trigger
    the dropdown is anchored to.
  • [FEATURE] The selected option can now also be a promise. When it's a promise, the component
    won't have any selection (the trigger will be empty, no option of the list will be
    highlighted) until that promise resolves. Once it resolves, the trigger and the highlighted
    option will update.
  • [BUGFIX] Fixed bug after event-delegation refactor where mouseovering the list itself
    (which happens when options are disabled) throwed an error.
  • [BUGFIX] Disabled select shouldn't be clearable even if allowClear=true.
  • [BUGFIX] In multiple selects when test in the searchbox was too long the text overflowed the trigger.
  • [REMOVE FEATURE] The opened property (the only using double bindings instead of DDAU) has been
    removed. It was the cause of some errors due to race conditions in the bindings propagation.
    It is still possible to pass initiallyOpened=true to render a select already opened, but it is
    a one time property. It won't onpen/close the select when mutated nor will be mutated when the
    select is opened or closed.
  • [BUGFIX] Fix option highlighting when the use mouseovers in an element inside the <li>s
  • [BUGFIX] Fix option selection when the use click in an element inside the <li>s
  • [BUGFIX] In multiple selects, deleting the last element of the list using BACKSPACE to trigger a
    search must open the dropdown if not already opened.
  • [FEATURE] Added oninput action that will be fired by changes in the search input. If the user
    returns false from this action the default behaviour (perform a search) is not run.
    This is particular useful for addons than need to preprocess the text being typed, by example to
    tokenize it and add entries instead of performing a search.
  • [ENHANCEMENT] Improve accuracy selectChoose. Before selectChoose('.my-select', 'User') might,
    erroneously, select the option containing the text User team if it was before than User in the
    list. Now if there is more than one option containing the given text it but the content of
    one of the options is identical, then that one is choosen. If none is identical, the first one.