Commit graph

929 commits

Author SHA1 Message Date
geniuspacs
9105f50ef3
fix(ValidateMixin): no dispatch validators on readOnly form items (#2610)
Co-authored-by: Eugenio Páez Casado <eugeniopaezcasado@Mac-mini-de-Eugenio.local>
2025-11-11 09:44:17 +01:00
github-actions[bot]
014a136cb1
Version Packages (#2599)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-30 13:38:25 +01:00
Oleksii Kadurin
abcc6fdd69
fix: hidesOnEsc for nested overlays 2025-10-30 12:47:53 +01:00
gerjanvangeest
e6a8fa70e5
fix(input-amount-dropdown): add translations (#2598) 2025-10-28 09:10:11 +01:00
github-actions[bot]
34d2477f70 Version Packages 2025-10-20 11:09:21 +00:00
Thijs Louisse
f7e73f8f23 feat(providence-analytics): enhance getSourceCodeFragmentOfDeclaration api 2025-10-20 13:08:12 +02:00
github-actions[bot]
bfc0ad112f
Version Packages (#2588)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-08 07:20:46 +02:00
Oleksii Kadurin
f8dda40696
fix: improve the way the default slots are moved inside the component 2025-10-07 12:35:09 +02:00
github-actions[bot]
4c077fbf1d
Version Packages (#2569)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-17 09:23:34 +02:00
ByoungYong Kim
6e0ed97423
Feat/lazy loaded singleton (#2570)
* feat(singleton-manager): lazifyInstation functionality

* Update getLocalizeManager to register itself lazily

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

---------

Co-authored-by: Byoungyoung Kim <Byoungyoung.Kim@ing.com>
2025-09-17 09:12:06 +02:00
gerjanvangeest
02d0106a06
fix(input-stepper): make decrement and increment functions protected instead of private (#2568) 2025-09-04 14:28:54 +02:00
github-actions[bot]
b80c6f41b0
Version Packages (#2567)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-03 15:41:06 +02:00
Oleksii Kadurin
5360c5a969
fix: improve rendering for lion-select-rich by lit cache (#2566) 2025-09-03 15:01:43 +02:00
github-actions[bot]
07f7ea6bab
Version Packages (#2564)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-25 11:55:53 +02:00
Oleksii Kadurin
da22fdb7d0
fix: allow the popup dialog to close when it is setup by lit cache (#2563) 2025-08-25 09:47:14 +02:00
github-actions[bot]
9ac3fa403a
Version Packages (#2562)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-21 14:11:04 +02:00
Robin Van Roy
f6860c4bb7
amount-dropdown small fixes (#2561)
* chore(amountDropdown): export types.

* chore(amountDropdown): remove opinionated styling.

* chore(amountDropdown): changeset.

* chore(amountDropdown): props.styling optional

* chore(amountDropdown): fix tests.
2025-08-20 08:59:56 +02:00
github-actions[bot]
1437fddf22
Version Packages (#2560)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-13 14:43:48 +02:00
Robin Van Roy
57800c4501
chore: adds lion-input-amount-dropdown (#2505)
Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
2025-08-13 14:40:57 +02:00
github-actions[bot]
5f1d716627 Version Packages 2025-08-08 14:43:22 +02:00
Thijs Louisse
90d6e43c9c chore: release small features as patch below v1 2025-08-08 12:35:21 +02:00
Robin Van Roy
713429ac80
feat: adds display options configurability to the success validation 2025-08-07 17:20:34 +02:00
Thijs Louisse
63454c28ab fix: cleanup IE11 code LionButton 2025-07-31 21:57:46 +02:00
github-actions[bot]
a12baddc37 Version Packages 2025-07-29 19:14:00 +02:00
Thijs Louisse
64b72a049e fix(form-core): make sure renamed Required validator are identified as such, while remaining compatible with multiple versions 2025-07-29 18:46:46 +02:00
Thijs Louisse
57eec5b599 fix: make sure helpText and label respond to empty strings 2025-07-29 18:46:46 +02:00
Thijs Louisse
fb0813bc6d fix(overlays): don't use hidesOnOutsideEsc in configs, as it disallows nested overlays (a11y concern) 2025-07-29 17:22:12 +02:00
vbabu35
f19befe9c4
fix: preselection in combobox
Co-authored-by: JYOTHI <JYOTHI@Jyomayi.local>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2025-07-29 17:21:22 +02:00
Thijs Louisse
da46980da1 fix(overlays): avoid native dialog esc interference 2025-07-28 17:50:10 +02:00
sainzrow
765a1a298c
fix(combobox): add support for disabled and readonly states
* fix(combobox): don't use setAttribute for disabled/enabled attributes

How to reproduce this bug:

1. Go to https://lion.js.org/components/combobox/overview/ or just use the combobox in your application.
2. Inspect the combobox in the browser. Click on the `<lion-combobox>` element at the DOM inspector.
3. At the JavaScript console, print `$0.disabled`. Observe it is currently `false`, and the user can interact with it normally.
4. (optional) Run `$0.disabled =true`. Observe the user cannot interact with it anymore. That's expected.
5. Run `$0.disabled = false`.

BUG: The user cannot interact with the combobox anymore, despite `disabled` being false.

Root cause: If you inspect the `<input>` element, you can see it has `disabled="false"`.

The [specs](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute) say:

> The `disabled` content attribute is a [boolean attribute](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attribute).
>
> A form control is **disabled** if any of the following are true:
> * the element is a `button`, `input`, `select`, `textarea`, or form-associated custom element, and the `disabled` attribute is specified on this element (regardless of its value);

And [also](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attribute):

> A number of attributes are **boolean attributes**. The presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.

Thanks to @thematho for finding the root cause.

* fix(combobox): add support for disabled and readonly states with corresponding tests

* Update packages/ui/components/combobox/src/LionCombobox.js

Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>

* Update packages/ui/components/combobox/src/LionCombobox.js

Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>

* Update packages/ui/components/combobox/src/LionCombobox.js

Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>

* fix(combobox): added accessibility tests

---------

Co-authored-by: Denilson Sá Maia <denilsonsa@gmail.com>
Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>
2025-07-28 16:29:32 +02:00
Thijs Louisse
9a80ba9c55 chore: test for disconnected overlay 2025-07-28 15:58:44 +02:00
Riovir
4460db7630 fix(dedupe-mixin): resolve version conflict between v1 and v2
@open-wc/scoped-elements 3.0.5 depends on the v1 version of the @open-wc/dedupe-mixin. The 3.0.6 version however depends on the v2. This causes a version conflict with @lion/ui.
2025-07-26 13:02:39 +02:00
github-actions[bot]
226f0cf003
Version Packages (#2540)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-17 16:47:11 +02:00
Bilal Özlü
9a4a8735b0
fix: editing negative numbers (#2538)
* fix: editing negative numbers

* fix: editing negative numbers (changeset added)
2025-07-17 14:20:26 +02:00
github-actions[bot]
eef0c48e41
Version Packages (#2533)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-07 09:46:02 +02:00
Stijn Van Asschodt
85666d6c49
feat(input-tel): use first preferred region to set a default region
* feat(input-tel): use first preferred region to set a default region

Takes priority over locale, but comes after user input

* chore(input-tel): add changeset
2025-07-03 21:00:05 +02:00
Stijn Van Asschodt
dc5d224e98
fix(input-tel): use full locale to translate country names in dropdown (#2526)
* fix(input-tel): use full locale to translate country names in dropdown

* test(input-tel): add test for nameForLocale in input tel dropdown

* test(input-tel): update name for locale test suite to fr-BE locale
2025-07-02 09:56:50 +02:00
github-actions[bot]
af6e47e4b5
Version Packages (#2519)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-21 11:17:18 +02:00
gerjanvangeest
cbe8f8656b
fix(input-file): set buttonLabel initially (#2524)
* fix(input-file): set buttonLabel initially

* chore(input-file): add test for locale change
2025-05-21 09:54:39 +02:00
selcen.sonmez
a0d334dc54
feat: add Turkish (tr) translations to form-core, input-datepicker & pagination (#2516)
* feat(input-datepicker): add Turkish translations

* chore: add changeset for Turkish translation

* feat(input-datepicker): add Turkish translations

* chore: consolidate all Turkish translations into a single changeset
2025-05-15 16:56:48 +02:00
gerjanvangeest
bcf269d92f
chore(input-stepper): small edit after previous input-stepper fix (#2523) 2025-05-15 08:05:51 +02:00
manuel
cf4a8fd1b0
feat(input-stepper): align value with step size (#2511)
* feat(input-stepper): add alignToStep property to align value with step size

* Create silver-eyes-count.md

* refactor: make alignTosTep property behavior as default behavior and remove property attribute

* test(input-stepper): handle min value as Infinity and update tests for decrement/increment behavior

---------

Co-authored-by: Manuel Servais <manuel.servais@ing.com>
2025-05-14 16:46:00 +02:00
Vladimir Skorokhod
f9f55193c3
LionInputFile: Customize the text content of the selected files for screen reader if uploadOnSelect is enabled (#2509)
* update lion input file component and en translations

* update tests for input file

* add changeset

* add german and russian translations

* chore: add NL translations and fix small 2 bugs in fileNameDescriptionLabels

* fix lint error

---------

Co-authored-by: gerjanvangeest <Gerjan.van.Geest@ing.com>
2025-05-13 13:00:20 +02:00
Mete Abduraman
07b089e80f
fix(validate-mixin): determine required or result validators based on characteristics (#2498)
* fix(validate-mixin): determine if a required validator or result validator has been registered based on characteristics

* chore(validate-mixin): create changeset
2025-05-08 08:42:12 +02:00
github-actions[bot]
6d7e6a6487 Version Packages 2025-04-30 09:31:49 +02:00
Thijs Louisse
3c77296c40 chore: redo release, so that @lion/ui 0.11.4 will be published 2025-04-30 09:29:34 +02:00
github-actions[bot]
50be120c4f Version Packages 2025-04-30 09:20:55 +02:00
Thijs Louisse
c3021f8e7f fix(form-core): make sure that slots with property fallbacks ignore initialization updates (undefined on firstUpdated) 2025-04-30 08:33:31 +02:00
ByoungYong Kim
1769e291d4
Revert version package PR (#2513)
* chore: wireit actions v2

* Update wireit version

* Revert "Version Packages (#2508)"

This reverts commit 2f47f23494.
2025-04-28 08:57:01 +02:00
github-actions[bot]
2f47f23494
Version Packages (#2508)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-24 15:44:28 +02:00