lion/packages/form-core/CHANGELOG.md
github-actions[bot] 34ae80add5 Version Packages
2020-12-17 12:07:45 +00:00

10 KiB

Change Log

0.6.14

Patch Changes

  • Updated dependencies [9fba9007]
    • @lion/core@0.13.6
    • @lion/localize@0.15.3

0.6.13

Patch Changes

  • Updated dependencies [41edf033]
    • @lion/core@0.13.5
    • @lion/localize@0.15.2

0.6.12

Patch Changes

  • 5553e43e: fix: point to parent constructor in styles getter

0.6.11

Patch Changes

  • aa8ad0e6: - (RadioGroup) fix reset bug when selected value was behind inital value
    • Add ChoiceInputMixin test suite
    • Make use of ChoiceGroupMixin test suite
  • 4bacc17b: Adding form elements at the top of a form now adds them to the beginning of the .formElements to keep it in sync with the dom order.
    • @lion/localize@0.15.1

0.6.10

Patch Changes

  • c5c4d4ba: Normalize input values in date comparison validators
  • Updated dependencies [3ada1aef]
    • @lion/localize@0.15.0

0.6.9

Patch Changes

  • cf0967fe: Fix type definition file for CSSResultArray

0.6.8

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

0.6.7

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/localize@0.14.9

0.6.6

Patch Changes

  • Updated dependencies [e2e4deec]
  • Updated dependencies [8ca71b8f]
    • @lion/core@0.13.3
    • @lion/localize@0.14.8

0.6.5

Patch Changes

  • 618f2698: Run tests also on webkit
  • Updated dependencies [20ba0ca8]
  • Updated dependencies [618f2698]
    • @lion/core@0.13.2
    • @lion/localize@0.14.7

0.6.4

Patch Changes

  • 2907649b: filter feedback messages according feedback conditions
  • 68e3e749: Add missing interaction states that could act as feedback conditions. Fix the interactive demo that showcases dynamic feedback conditions.
  • fd297a28: Properly update formElements when the name attribute changes, in order to get an updated serializedValue.
  • 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.
  • 247e64a3: Ensure that the name of a child choice field is always synced with the parent choice field(set) when it changes. No longer error when a child is added with a different name than the parent, simply sync it.
  • Updated dependencies [7682e520]
  • Updated dependencies [e92b98a4]
    • @lion/localize@0.14.6
    • @lion/core@0.13.1

0.6.3

Patch Changes

  • d5faa459: ChoiceGroupMixin: On value change uncheck all formElements that do not meet the requested condition
  • 0aa4480e: Refactor of some fields to ensure that _inputNode has the right type. It starts as HTMLElement for LionField, and all HTMLInputElement, HTMLSelectElement and HTMLTextAreaElement logic, are moved to the right places.

0.6.2

Patch Changes

  • 4b7bea96: Added some type fixes/adjustments.

  • 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
  • a31b7217: Added submitGroup to types definition file for FormGroupMixin.

  • 85720654: - prevent toggle of checked state when disabled

    • dispatch checked-changed on label click
  • 32202a88: Added index definition file to git, to allow for importing LionField module definition. Adjust some types now that LionInput will be typed

  • b9327627: These packages were using out of sync type definitions for FormatOptions, and the types were missing a bunch of options that Intl would normally accept. We now extend Intl's NumberFormatOptions and DateTimeFormatOptions properly, so we always have the right types and are more consistent on it.

  • 02145a06: for ChoiceInputs override clear() so modelValue doesn't get erased

  • Updated dependencies [01a798e5]

  • Updated dependencies [b9327627]

    • @lion/core@0.13.0
    • @lion/localize@0.14.5

0.6.1

Patch Changes

  • 60d5d1d3: Remove usage of Public Class Fields to not break builds
  • Updated dependencies [75107a4b]
    • @lion/core@0.12.0
    • @lion/localize@0.14.4

0.6.0

Minor Changes

  • 874ff483: Form-core typings

    Features

    Provided typings for the form-core package and core package. This also means that mixins that previously had implicit dependencies, now have explicit ones.

    Patches

    • lion-select-rich: invoker selectedElement now also clones text nodes (fix)
    • fieldset: runs a FormGroup suite

Patch Changes

  • Updated dependencies [874ff483]
    • @lion/core@0.11.0
    • @lion/localize@0.14.3

0.5.0

Minor Changes

  • 65ecd432: Update to lit-element 2.4.0, changed all uses of _requestUpdate into requestUpdateInterval

Patch Changes

  • Updated dependencies [65ecd432]
  • Updated dependencies [4dc621a0]
    • @lion/core@0.10.0
    • @lion/localize@0.14.2

0.4.4

Patch Changes

  • c347fce4: Field population fix

    Bugfixes

    • allow population conditionally rendered fields in formGroup/fieldset/form

0.4.3

Patch Changes

  • Updated dependencies [4b3ac525]
    • @lion/core@0.9.1
    • @lion/localize@0.14.1

0.4.2

Patch Changes

  • dd021e43: Groups need a valid formattedValue representing the value of it's form elements
  • 07c598fd: Form should be able to access formattedValue of children

0.4.1

Patch Changes

  • fb236975: Add index.d.ts file so that its types can be used across lion. Add package root index.js to TSC build config exclude filter to prevent TSC from erroring on already existing type definition files.

0.4.0

Minor Changes

  • 3c61fd29: Add types to form-core, for everything except form-group, choice-group and validate. Also added index.d.ts (re-)export files to git so that interdependent packages can use their types locally.

Patch Changes

  • Updated dependencies [3c61fd29]
  • Updated dependencies [09d96759]
  • Updated dependencies [9ecab4d5]
    • @lion/core@0.9.0
    • @lion/localize@0.14.0

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.3.1 (2020-07-28)

Bug Fixes

  • resolve registrationComplete via microtask to be sync (6b8daef)

0.3.0 (2020-07-27)

Features

  • synchronous form registration system (8698f73)

0.2.6 (2020-07-16)

Bug Fixes

  • form-core: remove possible untrusted input value callback (e06196d)

0.2.5 (2020-07-13)

Note: Version bump only for package @lion/form-core

0.2.4 (2020-07-09)

Note: Version bump only for package @lion/form-core

0.2.3 (2020-07-09)

Bug Fixes

  • formgroup: wait for formElements to register (780383d)

0.2.2 (2020-07-09)

Bug Fixes

  • select-rich: instantiation after first update (184898c)

0.2.1 (2020-07-07)

Note: Version bump only for package @lion/form-core

0.2.0 (2020-07-06)

Features

  • choice-input: add rendering of help-text (5cd36ca)

0.1.6 (2020-06-18)

Note: Version bump only for package @lion/form-core

0.1.5 (2020-06-10)

Note: Version bump only for package @lion/form-core

0.1.4 (2020-06-09)

Bug Fixes

  • form-core: on reset the submitted values becomes false (#753) (d86cfc5)

0.1.3 (2020-06-08)

Note: Version bump only for package @lion/form-core

0.1.2 (2020-06-08)

Note: Version bump only for package @lion/form-core

0.1.1 (2020-06-03)

Bug Fixes

  • field: remove validation toggled disable (e24f2ef)
  • remove all stories folders from npm (1e04d06)

0.1.0 (2020-05-29)

Features

  • merge field/validate/choice-input/form-group into @lion/form-core (6170374)