- (feature) Add more options:
overlayClass
: (optional) add a css class to the currentauslese-overlay
making possible styling customizations.hideResetButton
: (optional) hide the reset button.placeholderLock
: (optional) make the placeholder always visible. It is useful when you want to make visible the placeholder or a custom text and not the selected value(s).
- (internal) Replace
node-sass
with dart'ssass
package.
- (bug) Fix search not working, which have been broke in the previous version on accident.
-
(feature) Add new option
includeGroupHeadlineInChoiceLabel
to include aChoice
'sGroup
's headline as prefix for:- the „selected” header inside the dropdown
- when rendering the current text/tags instead of the dropdown's placeholder
-
(internal) Upgrade Cypress and move over from private account to Becklyn organization.
- (feature) Added
preferredOptionsGroupText
toAusleseMountOptions
in order to allow overriding the default „Preferred Options” text. Setting this option is now possible with themountAuslese*
functions. You can now optionally pass in anAusleseMountOptions
object intoparseSelect
.
- (bug) Correctly handle
disabled
state. That includes mounting on an<select disabled>
Element or passing in thedisabled
prop during mounting.
- (feature) Trigger
auslese:change
event for auto-mounted selects, as a replacement for the originalchange
event.
- (bug) Keep bound selects focusable (for browser inline validation).
- (improvement) Bump all dependencies.
- (improvement) Make
searchable
configurable. - (internal) Mark functions as
@internal
. - (internal) Remove obsolete function.
- (improvement) Make
mountAusleseOnElement()
easier to use by just ignoring non-select
elements.
- (feature) Add
mountAusleseOnElement()
.
- (bug) Fix key + type of
mountAuslese
optionsconfig.preferred
value. - (improvement) Also add headline for the list after the "preferred" choices.
- (bug) Rename
createChoiceGroup()
toprepareMinimalChoices()
and fix return type.
- (improvement) Add
createChoiceGroup()
helper.
- (bc)
<Auslese>
now only acceptsGroup
s aschoices
. - (bc) Refactored selections to just use a value map, instead of a actual reference map (via
Weakmap
). - (bc)
value
forChoice
s is now required. - (bc) Use
module
declaration instead ofnamespace
for TypeScript types. - (feature) Automounting now correctly handles preferred choices.
- (feature) Added proper support for duplicate values (which can occur for preferred choices).
- (improvement) Added
preferredHeadline
automount option, to set the headline of the "preferred choices" group. - (internal) Completely refactor the testing infrastructure.
- (feature) Allow selecting choices by pressing Enter
- (bug) Fix invalid dropdown default class.
- (improvement) Hide dropdown if opener is not visible anymore.
- (improvement) Bump dependencies.
- (improvement) Add new option
dropdownClass
to pass custom classes to the dropdown.
- (bug) Use
popper.js
instead of custom placement implementation, to solve all dropdown issues.
- Fix several issues, in which the component reinitialized itself and lost all settings (like selections).
- Cache more derived data in the state (might give a minimal performance boost).
- Use
mojave@5
.
- Properly close dropdowns if another one is opened.
- Make dropdown holder configurable
- Properly render check item in smaller font sizes
- Improve checked multi item rendering.
- Don't display separator line after header group, if nothing comes after it.
- Fixed a missing import.
- Fixed an invalid variable access that lead to an error.
- Fix rendering if the select is empty, now a info message is displayed instead.
- Made static texts configurable when automounting.
- Added more info in the package.json
Initial release \o/