7.3 KiB
7.3 KiB
@lion/listbox
0.4.3
Patch Changes
- Updated dependencies [
a7b27502]- @lion/form-core@0.7.3
0.4.2
Patch Changes
f98aab23: Make __parentFormGroup --> _parentFormGroup so it is protected and not private- Updated dependencies [
77114753] - Updated dependencies [
f98aab23] - Updated dependencies [
f98aab23]- @lion/form-core@0.7.2
0.4.1
Patch Changes
8fb7e7a1: Fix type issues where base constructors would not have the same return type. This allows us to remove a LOT of @ts-expect-errors/@ts-ignores across lion.9112d243: Fix missing types and update to latest scoped elements to fix constructor type.- Updated dependencies [
8fb7e7a1] - Updated dependencies [
9112d243]- @lion/core@0.13.8
- @lion/form-core@0.7.1
0.4.0
Minor Changes
-
a8cf4215: AddedisTriggeredByUsermeta data inmodel-value-changedeventSometimes it can be helpful to detect whether a value change was caused by a user or via a programmatical change. This feature acts as a normalization layer: since we use
model-value-changedas a single source of truth event for all FormControls, there should be no use cases for (inconsistently implemented (cross browser)) events likeinput/change/user-input-changedetc.
Patch Changes
5302ec89: Minimise dependencies by removing integration demos to form-integrations and form-core packages.98f1bb7e: Ensure all lit imports are imported from @lion/core. Remove devDependencies in all subpackages and move to root package.json. Add demo dependencies as real dependencies for users that extend our docs/demos.- Updated dependencies [
5302ec89] - Updated dependencies [
98f1bb7e] - Updated dependencies [
a8cf4215]- @lion/form-core@0.7.0
- @lion/core@0.13.7
0.3.12
Patch Changes
- Updated dependencies [
9fba9007]- @lion/core@0.13.6
- @lion/form-core@0.6.14
0.3.11
Patch Changes
- Updated dependencies [
41edf033]- @lion/core@0.13.5
- @lion/form-core@0.6.13
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.