* update prettier to v3.x
* update prettify in @lion/nodejs-helpers to match updated prettier
* remove redundant await for promise
* remove `@types/prettier` as it's now included in `prettier`
* format lit template snippets with `jsx`
* fix(input-amount): returns Unparseable as a modelValue if a wrong value has been entered
* fix(input-amount): do not break when a large amount has been entered
* Update docs/components/input-amount/overview.md
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
* Update packages/ui/components/input-amount/test/parsers.test.js
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
---------
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
* fix(overlays): skip local-positioning tests for Firefox, and added a todo to fix later
* Update packages/ui/components/overlays/test/local-positioning.test.js
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
* feat(core): add Firefox to browserDetection
---------
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
BREAKING CHANGE: update to latest major versions of lit, autosize, awesome-phonenumber & ibantools
- fix(validation-messages): get correct validation min and max dates in French (#2163)
- feat(ui): update to lit version 3 and update lion prod dependencies, and create an alpha release
---------
Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work
* fix: uncommented a previously commented line since this is probably a mistake and breaks functionality
* Update packages/ui/components/input-file/src/LionInputFile.js
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
* fix(overlay-controller): do not scroll to invoker if it is visible on screen
When closing an overlay, srollIntoView forced the invoker element to be placed in the middle of the screen. This fix prevents the scroll if the invoker is already visible, but still scrolls it into view if needed.
* chore: changeset
* refactor: reuse uuid function from the core
* fix: invoke parent class callback
* fix: do not run disabled property reflection unless it was part of the changeset
* fix(calendar): Make disabled dates not selectable
* Add changeset
* chore(calendar): add skipped test for select date on [Enter]
---------
Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
* fix(accordion): Handle focusin event, when tabbing to an invoker
* fix(accordion): Add changeset
* fix(accordion): Test if the index equals to the focusedIndex
* feat(input-file): create input-file component
* chore: improvements after review
* chore: update after review
* chore: update translations
* chore: - fixed demo with form submit, submit was not prevented
- fixed checking allowed file extensions
- fixed clicking on select file button in drag and drop area
* chore: since the input-file does not upload files itself but enables user to select files, I replaced "upload" and "upload" with "select" and "selected" where applicable
* chore: - removed unused properties allowedFileTypes and allowedFileExtensions from lion-input-file
- cleaned up docs
* chore: - changed type Array.<type> to Array<type>
- removed redundant type definition
* fix: - FocusMixin: moved registering events for from connectedCallback to firstUpdated since _focusableNode is sometimes not available yet
- SlotMixin: changed updated to update in since slots were rendered too late (related to previous fix in FocusMixin.js)
* fix: renamed lion-uploaded-file-list.js to lion-selected-file-list.js
* fix: fixed test for lion-selected-file-list
* fix: fixed typ
* wip
* fix: - fixed issue with multiple file selection where element would not select valid files after invalid ones
- added getMessage method to FileValidation that returns empty string to prevent message being shown that error message must be configured
- fixed tests
* chore: replaced `uploadOnFormSubmit` with `uploadOnSelect` and flipped the default value to false. When `uploadOnSelect` is set to true, the file will be uploaded as soon as it is selected.
* fix: - replaced `uploadOnFormSubmit` with `uploadOnSelect` and flipped the default value to false. When `uploadOnSelect` is set to true, the file will be uploaded as soon as it is selected.
- fixed issue where a valid file was not selected and added to the file list if it was preceded by an invalid file
* chore: removed redundant README.md
* fix: fixed failing test
* chore: added missing type annotation
* chore: annotated event param as optional
* chore: corrected property names in demo and removed demo of prefilled state
* chore: renamed `_fileSelectResponse` back to `uploadResponse` and restored demo of prefilled state
---------
Co-authored-by: gvangeest <gerjan.van.geest@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
* feat(input-file): create input-file component
* chore: improvements after review
* chore: update after review
* chore: update translations
* chore: - fixed demo with form submit, submit was not prevented
- fixed checking allowed file extensions
- fixed clicking on select file button in drag and drop area
* chore: since the input-file does not upload files itself but enables user to select files, I replaced "upload" and "upload" with "select" and "selected" where applicable
* chore: - removed unused properties allowedFileTypes and allowedFileExtensions from lion-input-file
- cleaned up docs
* chore: - changed type Array.<type> to Array<type>
- removed redundant type definition
* fix: - FocusMixin: moved registering events for from connectedCallback to firstUpdated since _focusableNode is sometimes not available yet
- SlotMixin: changed updated to update in since slots were rendered too late (related to previous fix in FocusMixin.js)
* fix: renamed lion-uploaded-file-list.js to lion-selected-file-list.js
* fix: fixed test for lion-selected-file-list
* fix: fixed typ
* wip
* fix: - fixed issue with multiple file selection where element would not select valid files after invalid ones
- added getMessage method to FileValidation that returns empty string to prevent message being shown that error message must be configured
- fixed tests
* chore: replaced `uploadOnFormSubmit` with `uploadOnSelect` and flipped the default value to false. When `uploadOnSelect` is set to true, the file will be uploaded as soon as it is selected.
* fix: - replaced `uploadOnFormSubmit` with `uploadOnSelect` and flipped the default value to false. When `uploadOnSelect` is set to true, the file will be uploaded as soon as it is selected.
- fixed issue where a valid file was not selected and added to the file list if it was preceded by an invalid file
* chore: removed redundant README.md
* fix: fixed failing test
* chore: added missing type annotation
* chore: annotated event param as optional
---------
Co-authored-by: Danny Moerkerke <danny.moerkerke@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>