5.4 KiB
5.4 KiB
@lion/listbox
0.3.10
Patch Changes
3c2a33a7:- Fix keyboard navigation when
selection-follows-focusandorientation="horizontal"are set on a<lion-listbox> - Fix keyboard navigation with
selection-follows-focusand disabled options - On click of an option, it become active
- Fix keyboard navigation when
0.3.9
Patch Changes
5553e43e: fix: point to parent constructor in styles getter- Updated dependencies [
5553e43e]- @lion/form-core@0.6.12
0.3.8
Patch Changes
0.3.7
Patch Changes
- Updated dependencies [
c5c4d4ba]- @lion/form-core@0.6.10
0.3.6
Patch Changes
- Updated dependencies [
cf0967fe]- @lion/form-core@0.6.9
0.3.5
Patch Changes
b222fd78: Always use CSSResultArray for styles getters and be consistent. This makes typing for subclassers significantly easier. Also added some fixes for missing types in mixins where the superclass was not typed properly. This highlighted some issues with incomplete mixin contracts- Updated dependencies [
b222fd78]- @lion/form-core@0.6.8
0.3.4
Patch Changes
cfbcccb5: Fix type imports to reuse lion where possible, in case Lit updates with new types that may break us.- Updated dependencies [
cfbcccb5]- @lion/core@0.13.4
- @lion/form-core@0.6.7
0.3.3
Patch Changes
-
4f1e6d0d: Combobox: demos, Subclasser features and fixesFeatures
- Subclassers can configure
_syncToTextboxCondition(). By default only forautocomplete="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
_showOverlayConditionand_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)_syncCheckedWithTextboxOnInteractionis removed. Use_syncToTextboxConditionand/or_syncToTextboxMultiple
- Subclassers can configure
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 click17a0d6bf: add types- Updated dependencies [
d5faa459] - Updated dependencies [
0aa4480e]- @lion/form-core@0.6.3
0.1.2
Patch Changes
-
01a798e5: Combobox packageFeatures
- 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
_onLabelClickto 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.