Commit graph

869 commits

Author SHA1 Message Date
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
github-actions[bot]
19d4dd271f Version Packages 2024-08-07 08:30:34 +00:00
gerjanvangeest
cdf0a9e8f0
fix(input-stepper): add parseNumber and formatNumber to format the va… (#2312)
* fix(input-stepper): add parseNumber and formatNumber to format the value based on locale

* Update packages/ui/components/input-stepper/test/lion-input-stepper.test.js

* Update packages/ui/components/input-stepper/test/lion-input-stepper.test.js
2024-08-07 10:29:02 +02:00
Oleksii Kadurin
58796deb0e
fix: add slot support to deepContains function 2024-08-01 18:55:36 +02:00
Thijs Louisse
436d5eebbe
Merge pull request #2310 from ing-bank/fix/modal-dialog-esc
fix(overlays): prevent closing of a modal dialog on pressing Esc and …
2024-07-24 16:09:31 +02:00
github-actions[bot]
2ff8369cf9 Version Packages 2024-07-23 15:16:25 +00:00
Thijs Louisse
1dce98d4a8 fix(ui): fix focus first erroneous for listbox 2024-07-23 17:14:49 +02:00
github-actions[bot]
ee4f709d0b Version Packages 2024-07-10 17:22:20 +00:00
Thijs Louisse
4ee62c32ef
feat(providence-analytics): export MatchSubclassesAnalyzer for external usage (#2313) 2024-07-10 19:20:50 +02:00
gerjanvangeest
f9ba215675 fix(overlays): prevent closing of a modal dialog on pressing Esc and hidesOnEsc is set to false 2024-07-03 16:19:00 +02:00
github-actions[bot]
a0ea788ed6 Version Packages 2024-06-27 11:50:04 +00:00
ByoungYong Kim
58d56b2b88 doc: add changeset 2024-06-27 10:33:01 +02:00
gerjanvangeest
b2d7d9b4a4
Fix/input file a11y (#2304)
* fix(input-file): improve accessibility

* chore: update the message

* chore: add the translations

* chore: fix linting

* chore: add changeset
2024-06-17 10:52:21 +02:00
gerjanvangeest
3dbee0c9b0
fix: add translations to the type of validation message (#2226) 2024-06-17 09:28:51 +02:00
gerjanvangeest
b50b960daa
fix(combobox): update the code to when show and hide the overlay, to be more robust (#2301) 2024-06-10 15:10:08 +02:00
Dan Carlo Canlas
57597bb9ba
fix(form-core): Implement conversion of name attribute value to string type 2024-05-22 23:11:01 +02:00
gerjanvangeest
08a1cb1688
fix(tabs): make tab panels focusable (#2281) 2024-05-22 09:24:20 +02:00
github-actions[bot]
1e5437671a Version Packages 2024-05-21 14:21:27 +00:00
Dozom
08d13e1a30
fix(slotmixin): now prints console error when shadowRoot is not found 2024-05-21 16:20:07 +02:00
Thijs Louisse
bdebc8fdf7 chore(providence): expose types; improve logging and formatting 2024-05-21 15:38:07 +02:00
github-actions[bot]
51255248f4 Version Packages 2024-05-16 20:04:13 +00:00
Thijs Louisse
9f8826a3fa fix(providence): resolve scoped packages outside node_modules 2024-05-16 22:02:53 +02:00
github-actions[bot]
0b3c59db9d Version Packages 2024-05-16 12:27:10 +00:00
Thijs Louisse
cbfbdb4340 fix: cache and performance improvements 2024-05-16 14:13:33 +02:00
github-actions[bot]
11770470dc Version Packages 2024-05-15 13:35:05 +00:00
Thijs Louisse
f9698e9725 fix: expose inlined-swc-to-babel 2024-05-15 00:27:47 +02:00
github-actions[bot]
abf65245c3 Version Packages 2024-05-14 15:52:44 +00:00
Thijs Louisse
aea90ae036 chore(root): cleanup and update dependencies 2024-05-14 13:47:11 +02:00
github-actions[bot]
420e005668 Version Packages 2024-05-07 15:23:48 +00:00
Alex Thirlwall
a8105ec278 Add caching tests for when getCacheIdentifier is asynchronous 2024-05-07 17:22:33 +02:00
Alex Thirlwall
c5ffe9cffc feat: Allow getCacheIdentifier cache option to be an asynchronous function 2024-05-07 14:32:05 +02:00
Alex Thirlwall
df8bf58f03 If session cache Id changes, reset the cache and pending requests 2024-05-07 11:54:14 +02:00
gerjanvangeest
36f0bbce3c
fix(select-rich): only close the overlay on tab when trapsKeyboardFocus is false (#2273) 2024-04-29 10:44:01 +02:00
github-actions[bot]
2b6884581a
Version Packages (#2272)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-23 14:54:55 +02:00
gerjanvangeest
a53ded7ef8
fix(localize): make use of formatDate locale option to parse the date correctly (#2270) 2024-04-23 14:42:00 +02:00
SomaH
3a1482f751
Fix select rich key interaction not setting correct isTriggeredByUser value (#2262)
* fix: select-rich keyboard navigation not marked as isTriggeredByUser

* Add changeset
2024-04-23 10:27:17 +02:00
github-actions[bot]
0eaf273091
Version Packages (#2264)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 14:25:59 +02:00
Oleksii Kadurin
3cef9164ea
chore: downgrade ui version (#2263)
* chore: downgrade ui version

* Revert "chore: downgrade ui version"

This reverts commit 07e1eec665dec69a0fec9b58667f8312a832c0fb.

* Revert "Version Packages (#2241)"

This reverts commit f477155e96.
2024-04-18 13:13:39 +02:00
github-actions[bot]
f477155e96
Version Packages (#2241)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-16 13:10:49 +02:00
okadurin
ac783460aa fix: optimize the way we focus the input field for LionInputTelDropdown 2024-04-15 11:18:37 +02:00
Thijs Louisse
2da9a400a3 feat(ui): [core] allow browserDetection to be run in ssr context 2024-04-10 12:12:40 +02:00
gerjanvangeest
e8e9c07ec5
fix(input-amount): returns Unparseable as a modelValue if a wrong value has been entered (#2242)
* 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>
2024-04-10 11:20:48 +02:00
Wessam Zaghloul
d2edadd3b0
fix(select-rich): readonly works with keyboard interaction (#2235) 2024-04-03 10:26:21 +02:00
ByoungYong Kim
f6b3f43a03
feat(select-rich): export getSelectRichMembers test helper
* chore: fix a misleading test

* chore: add gitignored file to prettier ignore

* chore: add getSelectRichMembers test helpers

* feat(select-rich): export getSelectRichMembers test helper

---------

Co-authored-by: ByoungYong Kim <9986886+ryubro@users.noreply.github.com>
Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
2024-04-03 09:20:19 +02:00
github-actions[bot]
e6601762ea Version Packages 2024-04-02 14:41:25 +00:00
Thijs Louisse
f0333bbc1c feat(ui): [SlotMixin] allow to (re)render scoped elements as direct light dom child 2024-04-02 16:40:03 +02:00
Max Larionov
37deecd2a3 feat: support cross-root registration with form-element-register event 2024-04-02 15:33:45 +02:00
github-actions[bot]
44bc4bfb22 Version Packages 2024-03-27 14:52:05 +01:00
Thijs Louisse
3737c492cc fix(providence-analytics): allow compatibility with node 16 2024-03-27 13:20:35 +01:00
github-actions[bot]
20e5703523
Version Packages (#2220)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 09:37:39 +01:00
Riovir
e6b8dd144c
fix(ui): Fix multiple Lit versions - pin @open-wc/scoped-elements to 2.2.0 (#2224) (#2225)
* fix(ui): pin @open-wc/scoped-elements to 2.2.3 (#2224)
2024-03-20 09:05:12 +01:00
Thijs Louisse
8b7cc43f26 feat: allow SlotRerenderObject to first render on connectedCallback via firstRenderOnConnected 2024-03-15 13:19:59 +01:00
github-actions[bot]
3c45bcc659 Version Packages 2024-03-08 12:44:23 +00:00