lion/packages/listbox/CHANGELOG.md
github-actions[bot] 93cd68ea69 Version Packages
2020-12-02 16:29:26 +01:00

5.4 KiB

@lion/listbox

0.3.10

Patch Changes

  • 3c2a33a7:
    • Fix keyboard navigation when selection-follows-focus and orientation="horizontal" are set on a <lion-listbox>
    • Fix keyboard navigation with selection-follows-focus and disabled options
    • On click of an option, it become active

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

  • Updated dependencies [aa8ad0e6]
  • Updated dependencies [4bacc17b]
    • @lion/form-core@0.6.11

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 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

    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

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