Commit graph

165 commits

Author SHA1 Message Date
gerjanvangeest
4c69c7e34f
chore: update eslint-plugin-lit-a11y version (#2259) 2024-04-16 15:16:40 +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
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
gerjanvangeest
395595198c chore(ui): release 0.6.0
chore: update beta release steps

chore: prepare release

chore: regenerate pkg-lock

chrore: try prev working pkg-lock
2024-03-27 18:05:48 +01:00
okadurin
7ecf043679 fix: type errors for SlotMixin.test.js 2024-03-27 18:03:36 +01:00
Thijs Louisse
8b90d52064 feat: allow SlotRerenderObject to to first render on connectedCallback via firstRenderOnConnected 2024-03-27 18:02:16 +01:00
gerjanvangeest
61db0eda9f fix(overlays): skip local-positioning tests for firefox, added a todo to fix later
* 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>
2024-03-27 18:02:16 +01:00
gerjanvangeest
a847f99388 fix(textarea): fix box-sizing inside tests to make it work cross browser (#2210) 2024-03-27 18:02:16 +01:00
gerjanvangeest
2fab9e5559 fix(input-tel-dropdown): use ScopedElementsMixin in to run test-suite with select-rich (#2209) 2024-03-27 18:02:16 +01:00
Oleksii Okadurin
8fd440d9d0 fix(ui): type fixes ScopedElements 2024-03-27 18:02:16 +01:00
Oleksii Okadurin
ea71f6194b fix(ui): LionInputStepper focus issue 2024-03-27 18:02:16 +01:00
gerjanvangeest
31e079d591 feat(form): set focus to the first erroneous form element on submit 2024-03-27 18:02:16 +01:00
Oleksii Kadurin
00a7e39aae feat(ui): adopt @open-wc/scoped-elements mixin v3
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2024-03-27 18:02:15 +01:00
gerjanvangeest
8bd27555a8 chore: update to lit3 and other dependencies
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>
2024-03-27 18:00:34 +01:00
Thijs Louisse
8b7cc43f26 feat: allow SlotRerenderObject to first render on connectedCallback via firstRenderOnConnected 2024-03-15 13:19:59 +01:00
Thijs Louisse
91fad70130 fix(ui): only use elementToFocusAfterHide when provided as HTMLElement 2024-03-08 13:43:01 +01:00
gerjanvangeest
cf616e1e6b fix(input-tel-dropdown): prevent jumping to input field on each arrow key in windows/linux
Apply suggestions from code review
2024-03-06 16:15:15 +01:00
gerjanvangeest
bf2a2e02ef chore: fix failing test with switching locale 2024-03-06 15:52:36 +01:00
gerjanvangeest
e72fd6d6ea feat(form-core): add select and upload specific required messages 2024-03-06 15:52:36 +01:00
Danny Moerkerke
36bf8c6ff5
fix: uncommented a previously commented line since this is probably a mistake and breaks functionality
* 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>
2024-03-06 15:21:09 +01:00
Thijs Louisse
eb46728826 fix: migrate deprecated performUpdate api to scheduleUpdate 2024-02-21 23:36:53 +01:00
gerjanvangeest
9b9e78951f fix(checkbox-group): add role=list and role=listitem to checkbox-indeterminate and its children 2024-02-19 17:51:09 +01:00
gerjanvangeest
92a5cd1e3d fix(form-core): remove fieldset label from input-field aria-labelledby, add opt-in via data-label 2024-02-19 17:39:22 +01:00
gerjanvangeest
87005afbd2
feat(input-stepper): a11y enhancement & added translations (#2173) 2024-02-19 17:01:32 +01:00
gerjanvangeest
19256d31bf fix(form-core): set aria-disabled next to the disabled attribute for NVDA screen reader 2024-02-19 16:00:19 +01:00
gerjanvangeest
059b018793 fix(input-range): add screen-reader labels for minimum and maximum value 2024-02-19 15:59:56 +01:00
gerjanvangeest
659cbff18c fix(form-core): order aria-labelledby and aria-describedby based on slot order instead of dom order 2024-02-19 15:59:32 +01:00
Thijs Louisse
5073ea4760 feat: split up validate-messages per entrypoint for smarter bundling 2024-02-13 11:58:37 +01:00
gerjanvangeest
69c9da8fe1
fix(validation-messages): get correct validation min and max dates in French (#2163) 2024-01-03 14:01:47 +01:00
Alberto López-Barranco
c80bca7c83
fix(overlay-controller): do not scroll to invoker if it is visible (#2155)
* 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
2023-12-11 12:44:01 +01:00
gerjanvangeest
d997e5233e
fix(tooltip): hide tooltip if the invoker gets disabled (#2154) 2023-12-06 13:37:23 +01:00
Gyulai Levente
db96e8cc07
fix(tabs): set selectedIndex only if differ from previous selectedIndex 2023-12-01 09:57:19 +01:00
SynnefonK
cb25a60397
chore: fix DE locale typo for validation messages (#2115)
* chore: fix DE locale typo for validation messages

* Update packages/ui/components/validate-messages/translations/de.js

Co-authored-by: tkgroot <tkuppensgroo@uos.de>

* Update packages/ui/components/validate-messages/translations/de.js

Co-authored-by: tkgroot <tkuppensgroo@uos.de>

* chore: add changeset (#2146)

Signed-off-by: Tobias Kuppens Groot <tkuppensgroo@uos.de>

---------

Signed-off-by: Tobias Kuppens Groot <tkuppensgroo@uos.de>
Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
Co-authored-by: tkgroot <tkuppensgroo@uos.de>
2023-11-29 11:19:56 +01:00
gerjanvangeest
9b5edf30fb
fix(localize): parseDate by default to 2000 instead of 1900 when date is below 49 (#2148) 2023-11-29 10:52:21 +01:00
Sergey Ilinsky
bf782223a7
Fix/reuse UUID missing parent callback disabled property (#2090)
* 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
2023-11-27 14:07:18 +01:00
Iván Gómez Alonso
322b06521c
fix(ui): use traditional style on ios for adopt-styles 2023-11-24 12:02:06 +01:00
Thijs Louisse
bdb038e197 chore: test/lint/swc fixes + changeset providence 2023-11-09 11:38:39 +01:00
Thijs Louisse
45fe0b4bb3 chore(ui): lint and types fixes 2023-11-08 19:08:54 +01:00
Thijs Louisse
f601d59d77 chore: fix test and generate pkg-lock 2023-11-08 19:03:28 +01:00
Thijs Louisse
9731550f62 fix(ui): combobox a11y 2023-11-08 19:02:55 +01:00
Thijs Louisse
60032a2df0 fix(ui): make compatible with latest playwright browsers 2023-11-08 19:01:21 +01:00
Thijs Louisse
c6663068a7 fix(ui): cleanup IE edge case in getAriaElementsInRightDomOrder 2023-11-08 19:01:21 +01:00
Guilherme Amorim
be4e25a108
feat: support (multiselect) choice-groups with allow-custom-choice 2023-11-08 15:05:09 +01:00
Oleksii Kadurin
c459ded9d8
fix: autocomplete for combobox (reset activeIndex when needed) 2023-11-07 12:58:59 +01:00
Oleksii Kadurin
f421bd7326
fix: update documentation and unit tests for validation 2023-11-07 11:21:41 +01:00