Releases: ing-bank/lion
@lion/ui@0.16.1
Patch Changes
- 33d253c: [overlays] make OverlaysManager#_siblingsInert protected
@lion/ui@0.16.0
Minor Changes
-
b09b1af: [overlays] update trapskeyboardfocus feature to use native dialog
trapskeyboardfocus feature is updated to use native Dialog for trapping focus. It bring some breaking changes:
- Endpoints removed:
containFocus,rotateFocusfrom@lion/ui/overlays.js - Undocumented protected configuration property for Overlays
_noDialogElis removed. It allowed to usedivelement instead ofdialogfor rendering dialogs OverlayController#enableTrapsKeyboardFocus,OverlayController#disableTrapsKeyboardFocushave been removedOverlaysManager#disableTrapsKeyboardFocusForAll,OverlaysManager#informTrapsKeyboardFocusGotEnabled,OverlaysManager#informTrapsKeyboardFocusGotDisabledhave been removed
The change in the behaviour from UX point of view:
The main difference is that the navite modal dialog does not trap the focus inside the dialog entirely. It allows to switch from the dialog to the browser's panels. It's done by design to improve a11y expirience and let users switch browser's tab as example if they want so. - Endpoints removed:
Patch Changes
- d39c6b7: [overlays] improve hide behavior after teardown and registration check
@lion/ui@0.16.0-alpha.0
Minor Changes
-
f5de5d8: [overlays] update trapskeyboardfocus feature to use native dialog
trapskeyboardfocus feature is updated to use native Dialog for trapping focus. It bring some breaking changes:
- Endpoints removed:
containFocus,rotateFocusfrom@lion/ui/overlays.js - Undocumented protected configuration property for Overlays
_noDialogElis removed. It allowed to usedivelement instead ofdialogfor rendering dialogs OverlayController#enableTrapsKeyboardFocus,OverlayController#disableTrapsKeyboardFocushave been removedOverlaysManager#disableTrapsKeyboardFocusForAll,OverlaysManager#informTrapsKeyboardFocusGotEnabled,OverlaysManager#informTrapsKeyboardFocusGotDisabledhave been removed
The change in the behaviour from UX point of view:
The main difference is that the navite modal dialog does not trap the focus inside the dialog entirely. It allows to switch from the dialog to the browser's panels. It's done by design to improve a11y expirience and let users switch browser's tab as example if they want so. - Endpoints removed:
0.15.5
Patch Changes
- 354ae42: update lion-switch model-value-changed event documentation
- 557045b: [collapsible] remove unneeded aria-labelledby on the contentNode
- 799b690: fix(ChoiceGroupMixin): initialModelValue is not managed properly
- 173b2b9: fix(InputTelephone): spanish allCountries label is not right
0.15.4
Patch Changes
- 7172215: [input-file]: add missing translations and add support for Indonesian
- 9afb769: Make ListboxMixin works well with ScopedStylesController when cache is used
- 4018c28: remove overlay-scroll-lock properly after overlay teardown
- d835665: The currency for Bulgaria (BG) is now set to Euro(EUR) instead of Bulgarian Lev(BGN)
- 44205ee: [input-amount] allow pasting value with currency correctly
- b473e4f: [listbox]: remove resetInteractionStates from clear function
0.15.3
Patch Changes
-
4154801: [validation-message] remove the letter T from IsDateDisabled in Italian message
-
579e42b: fix(LionInputStepper): improve handling of decimal step values and alignment closes #2615
-
45af9dc: feat(LionInputStepper): implement self-destructing output content for value display
- from ${this.valueText}to <output class="input-steppervalue" for="..">${this.__valueText}
- remove the _onEnterButton() and _onLeaveButton() logic.
- from
-
9105f50: fix(ValidateMixin): no dispatch validators on readOnly form items
-
37b24e5: [form-core] improve validation feedback message for screen readers to make it one sentence.
-
b64f520: [lion-input-stepper]: add component label to aria-label of increase and decrease buttons
-
ef0af0e: fix(pagination): remove unnecessary ellipsis when count equals visiblePages + 1
Fixed issue where LionPagination component incorrectly displayed ellipsis when the total page count was exactly one more than the visible pages setting (e.g., showing [1, 2, 3, 4, 5, '...', 6] instead of [1, 2, 3, 4, 5, 6] when visiblePages=5 and count=6).
0.15.2
Patch Changes
0.15.1
Patch Changes
- f8dda40: [listbox] fix rendering for lazy slottables
0.15.0
Minor Changes
- 6e0ed97: Make the manager singletons get instantiated and registered lazily.
Patch Changes
- 02d0106: [input-stepper] make decrement and increment functions protected instead of private
- Updated dependencies [6e0ed97]
- singleton-manager@1.8.0
0.14.3
Patch Changes
- 5360c5a: [select-rich] improve rendering by the
litcachefunction
0.14.2
Patch Changes
- da22fdb: [overlays] allow the popup dialog to close when it is setup by
litcache
0.14.1
Patch Changes
- f6860c4: exports amount-dropdown types
0.14.0
Minor Changes
- 57800c4: adds the lion-input-amount-dropdown component
0.13.1
Patch Changes
- 63454c2: add
@slotand@customElementsmeta data for custom-elements manifest - 63454c2: cleanup IE11 code in LionButton
- 713429a: adds configuration options to the success message validation
0.13.0
Minor Changes
- fb0813b: [overlays]: don't use hidesOnOutsideEsc in configs, as it disallows nested overlays (a11y concern)
- da46980: [overlays]: avoid interference of native dialog escape handler and escape handlers defined by OverlayController.
This is needed until we can configureclosedby="none"on the native dialog for all browsers: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#closedby.
(We release this as a minor change, as we stop propagation of HTMLDialogElement 'cancel' and 'close' events, and some consumers might (ab)use them...)
Patch Changes
- 9a80ba9: [form-core]: make focusableNode teardown defensive in case the node doesn't exist
- 9a80ba9: [overlays]: make sure that edge cases where overlays are connected and immediately disconnected, are covered well
- 4460db7: Fix @open-wc/dedupe-mixin version conflict
- 57eec5b: fix: make sure helpText and label respond to empty strings
- f19befe: [combobox] fix preselection in combobox when modelValue present
- 64b72a0: [form-core] make sure renamed Required validator are identified as such, while remaining compatible with multiple versions
- 765a1a2: Fixed disabled and readonly attribute handling for lion-combobox
0.12.0
Minor Changes
- 9a4a873: Editing negative numbers in LionInputAmount become possible both with '-' and '\u2212'
0.11.6
Patch Changes
- 85666d6: feat(input-tel): use first preferred region to set a default region
- dc5d224: fix(input-tel): use full locale to translate country names in dropdown
0.11.5
Patch Changes
-
a0d334d: Added initial Turkish (tr.js / tr-TR.js) translation files for the following components:
- input-datepicker
- calendar
- form-core
- overlays
- pagination
- validate-messages
-
cbe8f86: [input-file] set buttonLabel initially
-
f9f5519: LionInputFile: Customize the text content of the selected files for screen reader if uploadOnSelect is enabled
-
cf4a8fd: [input-stepper] align value with step value
-
07b089e: [validate-mixin] determine if a required validator or result validator has been registered based on characteristics
0.11.4
Patch Changes
- 3c77296: [form-core] make sure that slots with property fallbacks ignore initialization updates (not defined on firstUpdated). See https://stackblitz.com/edit/vitejs-vite-encdg2xd?file=lion-demo.js
0.11.3
Patch Changes
- 1769e29: [combobox] do not submit form if overlay of combobox is opened and ENTER is hit
0.11.2
Patch Changes
- a181a03: [localize] Fix bug that accepted 3 digit year
- 163af2e: prepared documentation for cross-compatibility rocket and astro
0.11.1
Patch Changes
- 22b8f24: [lion-checkbox-indeterminate] Fix bugs regarding disabled and pre-checked children
- d86c1f7: [select-rich] block arrow key interaction when singleOption is set
0.11.0
Minor Changes
- 29b729e: [input-amount] make sure that previous locale is not used for parsing on user-edit with <= 2 decimals
Patch Changes
- b983379: [validate-messages] updated translation of the MinNumber and MaxNumber validation error messages, so that endpoint is included.
- 41fecd3: [select-rich] allow arrowLeft and arrowRight to change the value when navigateWithinInvoker is true and dropdown is closed
0.10.1
Patch Changes
- dd59812: [dialog] add an option to set role="alertdialog" instead of the default role="dialog"
- 5344fde: [core] rerender direct host child with right slot attr when root is switched
- a1d6dd9: [button] set the 'aria-disabled' attribute to 'true' when disabled and remove it when not disabled
- 81e2a1d: [calendar] add translations for an information message for screen reader users when a date is disabled
- 795237d: [form-core] add aria-hidden=true to the graphic element of the choiceInput
- 2155e45: [overlays] add tabindex="-1" to prevent tooltips get focus in Safari and Firefox
0.10.0
Minor Changes
- 35e6605: [form-core] add "user-edited" mode to formatOptions while editing existing value of a form control
- 8377e8d: [overlays]: rework setup and teardown logic of OverlayMixin (allow to reconnect offline dom nodes; allow moving dom nodes in performant way)
Patch Changes
- 45f0666: [input-amount]: when an existing value is edited (preformatted), stick with the same heuristic for interpreting separators (commas, dots, spaces), namely:
withLocale - e5ff2b0: [overlays]: overlayController teardown cleanup (removes logs in test files)
- 8377e8d: [overlays]: allow Subclassers to teardown at the right moment
- d5258d5: [form-core] enhance formatter and parser meta with viewValueStates
0.9.1
Patch Changes
- 67f5735: [input-stepper] move role="spinbutton" and relevant aria attributes to the inputNode
- 0652492: [input-datepicker] replace spanish literal for openDatepickerLabel
- a256f73: [input-tel-dropdown] remove the country telephone code from the modelValue on init, only have it as viewValue
- e117884: show overlay based on overridden "_showOverlayCondition"
0.9.0
Minor Changes
- 5dc2205: [input-stepper] add aria-valuemin, aria-valuemax and an option to set aria-valuetext
Patch Changes
- 3d49a41: prevent click on disabled elements
- 382a9aa: make sure that voiceover + safari modals are accessible
0.8.8
Patch Changes
- eac4312: [lion-pagination] announce current page
0.8.7
Patch Changes
- a51e...
providence-analytics@0.19.2
Patch Changes
- c6a4da9: make peerDependencies optionalDependencies
@lion/ui@0.15.5
@lion/ui@0.15.4
Patch Changes
- 7172215: [input-file]: add missing translations and add support for Indonesian
- 9afb769: Make ListboxMixin works well with ScopedStylesController when cache is used
- 4018c28: remove overlay-scroll-lock properly after overlay teardown
- d835665: The currency for Bulgaria (BG) is now set to Euro(EUR) instead of Bulgarian Lev(BGN)
- 44205ee: [input-amount] allow pasting value with currency correctly
- b473e4f: [listbox]: remove resetInteractionStates from clear function
@lion/ui@0.15.3
Patch Changes
-
4154801: [validation-message] remove the letter T from IsDateDisabled in Italian message
-
579e42b: fix(LionInputStepper): improve handling of decimal step values and alignment closes #2615
-
45af9dc: feat(LionInputStepper): implement self-destructing output content for value display
- from ${this.valueText}to <output class="input-steppervalue" for="..">${this.__valueText}
- remove the _onEnterButton() and _onLeaveButton() logic.
- from
-
9105f50: fix(ValidateMixin): no dispatch validators on readOnly form items
-
37b24e5: [form-core] improve validation feedback message for screen readers to make it one sentence.
-
b64f520: [lion-input-stepper]: add component label to aria-label of increase and decrease buttons
-
ef0af0e: fix(pagination): remove unnecessary ellipsis when count equals visiblePages + 1
Fixed issue where LionPagination component incorrectly displayed ellipsis when the total page count was exactly one more than the visible pages setting (e.g., showing [1, 2, 3, 4, 5, '...', 6] instead of [1, 2, 3, 4, 5, 6] when visiblePages=5 and count=6).
@lion/ui@0.15.2
providence-analytics@0.19.1
Patch Changes
- f7e73f8: enhance getSourceCodeFragmentOfDeclaration api
@lion/ui@0.15.1
Patch Changes
- f8dda40: [listbox] fix rendering for lazy slottables