# @lion/listbox ## 0.3.3 ### Patch Changes - 4f1e6d0d: Combobox: demos, Subclasser features and fixes ### Features - Subclassers can configure `_syncToTextboxCondition()`. By default only for `autocomplete="inline|both"` - Subclassers can configure `_showOverlayCondition(options)`. For instance, already show once textbox gets focus or add your own custom - Subclassers can configure `_syncToTextboxMultiple(modelValue, oldModelValue)`. See https://github.com/ing-bank/lion/issues/1038 - Subclassers can configure `_autoSelectCondition`, for instance to have autcomplete="list" with auto select instead of manual selection. Both are possible according to w3c specs ### Fixes - listbox multiselect can deselect again on 'Enter' and 'Space'. Closes https://github.com/ing-bank/lion/issues/1059 - combobox multiselect display only shows last selected option in textbox (instead of all). See https://github.com/ing-bank/lion/issues/1038 - default sync to textbox behavior for `autocomplete="none|list"` is no sync with textbox ### Demos - created a google combobox demo (with anchors as options) - advanced styling example - uses autocomplete 'list' as a fundament and enhances `_showOverlayCondition` and `_syncToTextboxCondition` - enhanced whatsapp combobox demo - how to match/highlight text on multiple rows of the option (not just choiceValue) ### Potentially breaking for subclassers: - `_computeUserIntendsAutoFill` -> `__computeUserIntendsAutoFill` (not overridable) - `_syncCheckedWithTextboxOnInteraction` is removed. Use `_syncToTextboxCondition` and/or `_syncToTextboxMultiple` ## 0.3.2 ### Patch Changes - Updated dependencies [e2e4deec] - @lion/core@0.13.3 - @lion/form-core@0.6.6 ## 0.3.1 ### Patch Changes - 16dd0cec: Only send model-value-changed if the event is caused by one of its children - Updated dependencies [20ba0ca8] - Updated dependencies [618f2698] - @lion/core@0.13.2 - @lion/form-core@0.6.5 ## 0.3.0 ### Minor Changes - c844c017: Add click on enter for options with href, to ensure that anchors are navigated towards, for example when applying LinkMixin to LionOption as part of a listbox. ### Patch Changes - 9fcb67f0: Allow flexibility for extending the repropagation prevention conditions, which is needed for combobox, so that a model-value-changed event is propagated when no option matches after an input change. This allows validation to work properly e.g. for Required. - Updated dependencies [2907649b] - Updated dependencies [68e3e749] - Updated dependencies [fd297a28] - Updated dependencies [9fcb67f0] - Updated dependencies [247e64a3] - Updated dependencies [e92b98a4] - @lion/form-core@0.6.4 - @lion/core@0.13.1 ## 0.2.0 ### Minor Changes - d5faa459: Add reset function to listbox and all extentions ### Patch Changes - d1c6b18c: no cancellation multi mouse click - 17a0d6bf: add types - Updated dependencies [d5faa459] - Updated dependencies [0aa4480e] - @lion/form-core@0.6.3 ## 0.1.2 ### Patch Changes - 01a798e5: Combobox package ## Features - combobox: new combobox package - core: expanded browsers detection utils - core: closest() polyfill for IE - overlays: allow OverlayMixin to specify reference node (when invokerNode should not be positioned against) - form-core: add `_onLabelClick` to FormControlMixin. Subclassers should override this ## Patches - form-core: make ChoiceGroupMixin a suite - listbox: move generic tests from combobox to listbox - select-rich: enhance tests - Updated dependencies [4b7bea96] - Updated dependencies [01a798e5] - Updated dependencies [a31b7217] - Updated dependencies [85720654] - Updated dependencies [32202a88] - Updated dependencies [b9327627] - Updated dependencies [02145a06] - @lion/form-core@0.6.2 - @lion/core@0.13.0 ## 0.1.1 ### Patch Changes - 27bc8058: Remove usage of public class fields ## 0.1.0 ### Minor Changes - 0ec72ac3: Adds a new listbox package. A listbox widget presents a list of options and allows a user to select one or more of them. ### Patch Changes - Updated dependencies [75107a4b] - Updated dependencies [60d5d1d3] - @lion/core@0.12.0 - @lion/form-core@0.6.1