Commit graph

921 commits

Author SHA1 Message Date
Thijs Louisse
163af2eb42 chore: prepare documentation for cross-compatibility rocket and astro 2025-03-19 10:35:07 +01:00
Sebastian Kamiński
a181a035e9
fix: bug that accepted 3 digit year (#2489)
* fix: bug that accepted 3 digit year

* fix: bug that accepted 3 digit year

* Update packages/ui/components/localize/test/date/parseDate.test.js

---------

Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>
2025-03-13 08:34:56 +01:00
github-actions[bot]
593b753f0f
Version Packages (#2470)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-06 11:05:47 +01:00
gerjanvangeest
d86c1f7439
fix(select-rich): block arrow key interaction when singleOption is set (#2474) 2025-02-13 14:35:52 +01:00
ByoungYong Kim
22b8f24804
Fix indeterminate checkbox edge cases (#2458)
* Add failing tests

* Fix the issues with indeterminate checkbox

* Update the fix

* Clean up the code

* Add changeset

* Fix a type issue

* Refactor the code

* Fix a bug regarding disabled checked sub checkbox

* Add test case where subCheckboxes are added and removed dynamically

* Make a few node reference optional as it spits undefined error when the element is removed
2025-02-04 11:08:57 +01:00
github-actions[bot]
eb4ed0151a Version Packages 2025-02-03 12:58:20 +01:00
Thijs Louisse
87ba78e6da fix(providence): provide right ast to oxcTraverse 2025-02-03 12:54:39 +01:00
github-actions[bot]
50170d4edc Version Packages 2025-02-03 11:31:35 +01:00
Thijs Louisse
103df25306 fix(providence): pin oxc-parser; fix default edge cases 2025-02-03 11:26:33 +01:00
github-actions[bot]
4210edf798 Version Packages 2025-01-31 19:57:04 +01:00
Thijs Louisse
0d3b2fdeb5 fix(providence): update oxc-parser 2025-01-31 19:53:20 +01:00
github-actions[bot]
eea6726289 Version Packages 2025-01-30 16:53:27 +01:00
gerjanvangeest
41fecd367e fix(select-rich): allow arrowLeft and arrowRight to change the value when navigateWithinInvoker is true and dropdown is closed 2025-01-30 16:14:11 +01:00
Thijs Louisse
3fe4555cba chore: make sure we do not release a new minor 2025-01-30 16:13:44 +01:00
Thijs Louisse
02478fadec chore: allow build to proceed 2025-01-30 15:53:09 +01:00
Thijs Louisse
29b729ed84 fix(ui): [input-amount] make sure that previous locale is not used for parsing on user-edit with <= 2 decimals 2025-01-30 15:53:09 +01:00
Jakub Gurgacz
b9833795b1
Update polish translations for MinNumber and MaxNumber (#2459)
* Update polish translations for MinNumber and MaxNumber

Polish translations of the MinNumber and MaxNumber validation error messages indicate that min, max is an open interval.

* add changeset
2025-01-29 11:14:47 +01:00
github-actions[bot]
04a61d1e10 Version Packages 2025-01-29 10:33:28 +01:00
Thijs Louisse
6106ce1c75 chore: release a patch instead of minor 2025-01-29 10:30:16 +01:00
Thijs Louisse
0f0991cd62 fix(providence): [optimised-glob] use Array.concat for memory efficiency 2025-01-23 13:57:01 +01:00
Oleksii Kadurin
a1d6dd90a8
Set aria-disabled to true or delete it (#2452)
fix: remove aria-disabled attribute
2025-01-22 12:16:56 +01:00
gerjanvangeest
2155e455ee fix(overlays): add tabindex="-1" to prevent tooltips get focus in Safari and Firefox 2025-01-21 10:40:40 +01:00
Thijs Louisse
5344fdeb66 fix(ui/core): rerender direct host child with right slot attr when root is switched 2025-01-21 10:39:52 +01:00
gerjanvangeest
81e2a1d2d1
fix(calendar): add translations for disabled dates (#2450) 2025-01-21 09:35:42 +01:00
gerjanvangeest
dd598125ef
feat(dialog): add is-alert-dialog option (#2445)
* feat(dialog): add is-alert-dialog option

* chore: make alert-dialog example simpler
2025-01-21 09:21:34 +01:00
gerjanvangeest
795237d19e
fix(form-core): add aria-hidden=true to the graphic element of the choiceInput (#2447) 2025-01-20 09:46:10 +01:00
github-actions[bot]
43b694e7f8 Version Packages 2025-01-15 16:39:49 +01:00
Thijs Louisse
d5258d56fd
fix(ui): [form-core] enhance formatter and parser meta; reset _isPasting on task instead of microtask
Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
2025-01-15 16:33:02 +01:00
Thijs Louisse
45f06668f9 chore: add changelog input-amount 2025-01-15 11:56:37 +01:00
Thijs Louisse
71992cc0fb feat(providence): update version of oxc; cleanup; include .ts(x) and jsx by default 2025-01-15 10:37:36 +01:00
gerjanvangeest
35e66052b6
fix(input-amount): parse amount always on locale once the amount is formatted (#2439)
* fix(input-amount): parse amount always  on locale once the amount is formatted

* chore: add unit test

* chore: add some description

* chore: update playwright script to install dependencies

* Update .github/workflows/verify-pr.yml

* chore: set formatOptions temp and cleanup for programmatic api

* feat(form-core): add "user-edit" mode to formatOptions while editing existing value of a form control

* chore: enhance code readability and robustness

---------

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2025-01-15 09:59:02 +01:00
Thijs Louisse
8377e8d17d fix(overlays): rework setup and teardown logic of OverlayMixin
Add a failing test

chore: broken test fix

chore: harden overlay teardown tests and cleanup select-rich
2025-01-13 15:33:28 +01:00
Thijs Louisse
e5ff2b01d2 fix(overlays): overlayController teardown cleanup 2025-01-07 09:39:29 +01:00
github-actions[bot]
9825cbf656
Version Packages (#2429)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-19 09:21:01 +01:00
gerjanvangeest
a256f737c0
fix(input-tel): remove the country telephone code from the modelValue on init (#2432) 2024-12-19 09:15:02 +01:00
Tono Arnau
0652492621
fix(input-datepicker): update spanish translation for openDatePickerLabel (#2433)
* fix(input-datepicker): update spanish translation for openDatePickerLabel

* chore: update ui version
2024-12-18 15:16:24 +01:00
Oleksii Kadurin
e11788492f
do not show overlay when _showOverlayCondition is "false" (#2421)
fix: show overlay based on subclassers' _showOverlayCondition
2024-12-12 17:03:30 +01:00
gerjanvangeest
67f5735538
fix(input-stepper): move role=spinbutton to input node (#2426)
* fix(input-stepper): move role=spinbutton to input node

* chore: rename __boundOnEnterButton and __boundOnLeaveButton
2024-12-11 15:41:32 +01:00
github-actions[bot]
fc1e66775f Version Packages 2024-12-09 15:05:00 +01:00
Thijs Louisse
7e25f3e8a2 feat(providence): lfu and lru cache strategies for memoize 2024-12-09 14:57:58 +01:00
Thijs Louisse
344ffa9046 fix(providence): make sure all cached asts are retrieved 2024-12-09 14:57:58 +01:00
github-actions[bot]
5b235fec11 Version Packages 2024-12-04 12:59:20 +00:00
Thijs Louisse
3d49a4100b chore(core): prevent click on disabled elements 2024-12-04 12:01:42 +01:00
gerjanvangeest
5dc2205d7d
feat(input-stepper): add aria-valuemin, aria-valuemax and an option t… (#2423)
* feat(input-stepper): add aria-valuemin, aria-valuemax and an option to set aria-valuetext

* chore: change valueText into an Object

* chore: remove reflect of valueText

* Update packages/ui/components/input-stepper/src/LionInputStepper.js

Co-authored-by: Oleksii Kadurin <ovkadurin@gmail.com>

* Update packages/ui/components/input-stepper/src/LionInputStepper.js

Co-authored-by: Oleksii Kadurin <ovkadurin@gmail.com>

* chore: rename valueText to valueTextMapping

---------

Co-authored-by: Oleksii Kadurin <ovkadurin@gmail.com>
2024-12-04 11:59:09 +01:00
Thijs Louisse
382a9aab64 fix: make sure that voiceover + safari modals are accessible 2024-11-28 17:19:16 +01:00
github-actions[bot]
3d9d8f383c Version Packages 2024-11-28 08:41:51 +00:00
Oleksii Kadurin
eac4312030
fix: announce current page for pagination (#2419)
fix: announce current page for pagination
2024-11-28 09:40:43 +01:00
github-actions[bot]
104c49449e
Version Packages (#2415)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-25 14:17:48 +01:00
ByoungYong Kim
a51e28d7a5
Fix the issue that dynamically updated disabled date doesn't update the central date (#2411)
* Fix the issue that dynamically updated disabled date doesn't update the central date

* Fix types

* Remove setTimeout

* Add changeset

* Improve the changeset description
2024-11-21 15:40:12 +01:00
Thijs Louisse
3e13adedc2
fix: make web-test-runner using documentOrShadowRoot.activeElement debuggable 2024-11-21 09:01:13 +01:00
github-actions[bot]
d80a8e9dff Version Packages 2024-11-13 08:22:17 +01:00
Krisztian Horvath
86ca2e072e
fix(overlays): fix memory leaks of adopt-styles and OverlayMixin
* fix(overlays): fix memory leaks of adopt-styles and OverlayMixin

* fix(overlays): support reconnecting the OverlayController to the OverlayManager

* chore: move unregister logic to OverlayController

---------

Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2024-11-12 17:25:37 +01:00
Gyulai Levente
2a989f47cf
fix(overlays): clicking outside iframe not closing the overlay 2024-11-12 17:24:21 +01:00
Thijs Louisse
a19096e703
chore: improve providence docs (#2408)
* chore: improve providence docs

* Apply suggestions from code review
2024-11-12 17:10:06 +01:00
Thijs Louisse
faca1916fc chore: cleanup wtr config, add pkg script for running w/o polyfill 2024-11-12 16:21:36 +01:00
github-actions[bot]
8dc51c1066
Version Packages (#2406)
* Version Packages

* Update packages/ui/CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2024-11-12 14:33:15 +01:00
Hardik Pithva
9b92fa216e
fix(form-core): allow to use '_$isValidator$' instead of instanceof check (supporting multiple versions of Validator)
* fix(form-core): make use of `validatorName` and `type` to check validator instance

* fix(form-core): check for nullability for disabled prop

* fix: add `_$isValidator$` property to improve the check

* fix: disable dot notation to avoid the renaming for the prop during build/minification

* fix: disable dot notation to avoid the renaming for the prop during build/minification

* test: add check for _$isValidator$

* chore: catch edge cases in cem script

* chore: cleanup, docs, and add prop on ctor to be more unobtrusive

* chore: changeset

---------

Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2024-11-12 13:28:08 +01:00
github-actions[bot]
0bee6e3e0b Version Packages 2024-11-06 12:04:34 +01:00
Thijs Louisse
cc2a646295 fix(providence-analytics): optimisedGlob allows cwd with trailing slash 2024-11-06 11:59:33 +01:00
Thijs Louisse
0582868e41 fix: expand script that corrects types after build 2024-11-06 11:59:33 +01:00
Mikhail Bashkirov
8d178a548a feat(ajax): add interceptors for parsed response JSON objects 2024-11-05 22:37:42 +01:00
Riovir
a4f654a32b fix(ui/types): export FocusHost type from types/form-core.js 2024-11-05 22:34:16 +01:00
github-actions[bot]
f393e6d783 Version Packages 2024-11-05 17:11:50 +01:00
Thijs Louisse
03a9b3365e fix: revert es version in tsconfig (as it was breaking types) 2024-11-05 17:02:03 +01:00
Thijs Louisse
360641c487 fix(overlays): no hiding of nested overlays having hideOnEsc configured 2024-11-05 17:02:03 +01:00
github-actions[bot]
a5b2c2d977 Version Packages 2024-10-31 12:14:07 +01:00
Thijs Louisse
2c38a919bc fix(core): make scoped-elements ssr-compatible
fix(core): ssr-support scopedElements
2024-10-31 10:48:51 +01:00
Thijs Louisse
da5ae6743a fix(localize): make LocalizeManager run with lit-ssr 2024-10-31 10:48:51 +01:00
Thijs Louisse
1626dbd460 fix(ui): improve test experience in dev-mode 2024-10-30 15:51:55 +01:00
gerjanvangeest
7c2b4692d3
fix(validation-feedback): do not display type of the validation feedback message, if there is no message 2024-10-29 17:53:54 +01:00
github-actions[bot]
16681c85e3 Version Packages 2024-10-29 12:43:49 +01:00
Thijs Louisse
7baecb5e19 fix(ui/localize.js): make LocalizeManager ssr-compatible 2024-10-29 12:09:42 +01:00
Thijs Louisse
615472cc0a feat(providence): oxc for main analyzers and traversal; parsers as peerDeps 2024-10-29 12:09:03 +01:00
Thijs Louisse
6f3137c963 fix(providence): normalization of native glob dirent.parentPath for optimisedGlob 2024-10-29 12:09:03 +01:00
gerjanvangeest
2d4fb0ecdb
fix(form-core): add focusableNode to choiceGroupMixin to make _setFo… (#2382)
* fix(form-core): add focusableNode to choiceGroupMixin to make \_setFocusOnFirstErroneousFormElement function work for checkbox-group and radio-group

* chore: rewrite check for _setFocusOnFirstErroneousFormElement to make it work without focusableNode inside LionChoiceGroup
2024-10-22 15:44:01 +02:00
github-actions[bot]
905ed37823 Version Packages 2024-10-22 12:05:15 +02:00
Thijs Louisse
6ec74dc58b feat(providence): support fullPath notation in optimisedGlob 2024-10-22 10:40:04 +02:00
github-actions[bot]
2f3f4276fb Version Packages 2024-10-21 12:21:32 +02:00
Thijs Louisse
2dbb1ca7bc feat(providence): experimental support for fs.glob + ignore support in optimisedGlob 2024-10-21 11:19:52 +02:00
github-actions[bot]
ed1c9517e4 Version Packages 2024-10-16 12:16:06 +00:00
Thijs Louisse
a30dbf32f0 feat(providence): fix postinstall; update/cleanup deps; tests compatible with node 20; 2024-10-16 14:14:26 +02:00
Thijs Louisse
dbb964077f chore: update/clean devDependencies for better security and perf 2024-10-16 14:14:26 +02:00
Krisztian Horvath
5530eefb88
fix(ui/calendar): use correct firstUpdated type signature (#2379) 2024-10-14 16:22:36 +02:00
Oleksii Kadurin
27af6be0db
fix: tests for keyboard typing (#2371) 2024-10-14 16:03:13 +02:00
gerjanvangeest
96b09e56d1
fix(accordion): make accordion closeable again (#2376) 2024-10-14 14:33:20 +02:00
github-actions[bot]
577e05eb94
Version Packages (#2374)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-07 08:39:44 +02:00
John Clifford
4696ad72c9
feat(accordion): add exclusive option (#2372)
* Added exclusive feature for accordion

* Changed position of exclusive accordion

* chore: accordion [exclusive] option

* chore: accordion [exclusive] option

* chore: fixes and cleanups

* chore: get docs of accordion back

---------

Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
2024-10-03 15:52:39 +02:00
gerjanvangeest
5ce7fee5f2
fix(validate-messages): set correct fieldName to required select validation message (#2373) 2024-10-03 09:09:38 +02:00
github-actions[bot]
b25478e4cc
Version Packages (#2365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 11:16:35 +02:00
ByoungYong Kim
bb1f347699
fix the bug that disabled date becomes central date (#2361)
* fix the bug that disabled date becomes central date

* add test

* Fix tests

* Fix lint error

* Add changeset

* Fix a typo
2024-09-16 11:12:10 +02:00
ByoungYong Kim
9f7935c1a3
Use model value chain instead of hard-coding formatted value and value (#2362)
* Use model value chain instead of hard-coding formatted value and value

* Add test

* Add changeset
2024-09-12 14:50:22 +02:00
github-actions[bot]
a59d362cc1
Version Packages (#2343)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-11 08:21:50 +02:00
ByoungYong Kim
ac9d16b0b2
Create change set 2024-09-03 14:58:28 +02:00
ka9de
bca25bc41e
fix(ui/overlays): overlay growing margin (#2331) 2024-08-28 13:59:48 +02:00
okadurin
719991fdd3 fix dialog aria-expand attribute 2024-08-27 16:55:45 +02:00
okadurin
5f92a722e6 Revert "fix: add aria-expanded attribute only for the non-modal dialogs"
This reverts commit fa832d900b.
2024-08-27 16:48:27 +02:00
okadurin
fa832d900b fix: add aria-expanded attribute only for the non-modal dialogs 2024-08-27 16:46:29 +02:00
gerjanvangeest
02a9427a7d
fix(combobox): when multiple choice reset all listbox options on select (#2332)
* fix(combobox): when multiple choice reset all listbox options on select

* Apply suggestions from code review

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>

* chore: clear options also on click

* chore: adopt code to show list when only when showAllOnEmpty is true

---------

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2024-08-27 10:48:12 +02:00
gerjanvangeest
61bf8cb4b1
fix(select-rich): sets and removes the button role and aria attributes on change of singleOption (#2341) 2024-08-22 15:08:28 +02:00
Rajkeshwar Prasad
e0ef676a36
opened-changed event detail exposes opened state (#2334)
* opened-changed event detail exposes opened state

* Fixed lint issue

* Generated changeset

---------

Co-authored-by: Rajkeshwar Prasad <rajkeshwarp@azuga.com>
Co-authored-by: Rajkeshwar Prasad <--global>
2024-08-22 13:12:50 +02:00