Commit graph

869 commits

Author SHA1 Message Date
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
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
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
github-actions[bot]
e97a4adf05
Version Packages (#2207)
* Version Packages

* Update packages/ui/CHANGELOG.md

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

* Update packages/ui/package.json

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

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ahmet Yeşil <narzac@users.noreply.github.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2024-03-06 10:12:03 +01:00
Thijs Louisse
aeab467cd3 chore: restore pending changesets
This reverts commit b9b8ab9d1f.
2024-03-01 11:46:10 +01:00
github-actions[bot]
0e6b24a73f Version Packages 2024-03-01 10:38:14 +00:00
Thijs Louisse
b9b8ab9d1f chore: release ajax docs 2024-03-01 11:36:27 +01:00
Thijs Louisse
af80affa53 Revert "chore: temp prevent next @lion/ui release"
This reverts commit 5a2e01c3c7.
2024-02-29 16:04:56 +01:00
github-actions[bot]
fce6328787 Version Packages 2024-02-29 14:57:22 +00:00
Thijs Louisse
5a2e01c3c7 chore: temp prevent next @lion/ui release 2024-02-29 15:54:32 +01:00
Henk vd Brink
04d08683f7
@lion/ajax: only add XSRF token on mutable requests and on same origin or whitelisted origins 2024-02-29 15:05:58 +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
58c3c532c3 Update .changeset/slow-ties-carry.md
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2024-02-19 17:39:22 +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
github-actions[bot]
38c495ba1f
Version Packages (#2164)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-12 13:01:04 +01:00
Thijs Louisse
5b64da8acc
fix: web-dev-server update (#2190) 2024-02-12 12:05:20 +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
github-actions[bot]
e930b7b667 Version Packages 2023-12-14 10:17:00 +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
github-actions[bot]
c3f7555c73 Version Packages 2023-11-30 11:39:50 +01:00
Thijs Louisse
7f6eb15a21 feat(providence): do not throw on unparseable files, but allow to proceed run for rest of projects 2023-11-30 11:34:53 +01:00
Thijs Louisse
292dcfc855 fix(providence): swc-traverse does not fail on object proto builtins like "toString" 2023-11-30 11:34:53 +01:00
github-actions[bot]
40ddf2c2d2
Version Packages (#2145)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-29 11:47:16 +01:00
Thijs Louisse
ba7a7f6442
chore: correct changelog singleton-manager (#2149) 2023-11-29 11:31:50 +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
ef9b1e4c52
feat(singleton-manager): add node/ssr support 2023-11-21 11:01:26 +01:00
github-actions[bot]
5956b0eee5 Version Packages 2023-11-09 11:37:08 +00:00
Thijs Louisse
7f644cd7b6 chore: changesets cleanup additions 2023-11-09 12:35:39 +01:00
Thijs Louisse
e76fe57e82 chore: changesets cleanup 2023-11-09 12:20:39 +01:00
Thijs Louisse
bdb038e197 chore: test/lint/swc fixes + changeset providence 2023-11-09 11:38:39 +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
Guilherme Amorim
e923ba40a3
Fix(lion-radio-group): Resetting a group containing options with formatters (#2101)
* fix(lion-radio-group): Resetting a group containing options with formatters doesn't check the default value

* refactor: update test name
2023-10-18 17:10:26 +02:00
Guilherme Amorim
7235a4f703
fix(lion-combobox): The event emitted during clear has stale value (#2104) 2023-10-18 17:00:30 +02:00
github-actions[bot]
83eefe4958
Version Packages (#2083)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 10:34:43 +02:00
Gyulai Levente
be36bf3b1b
fix(input-amount): Link currency to label after setting currency from… (#2091) 2023-10-17 14:55:13 +02:00
barna
63a8e725db
fix(lion-calendar): Make calendar buttons selectable on firefox through datepicker (#2080) 2023-10-17 14:52:53 +02:00
alejandrofernandezcanton
b1320a9a9c
fix(overlay): avoid calling push in iterable object to avoid error loading overlays (#2088) 2023-10-17 14:44:51 +02:00
Gyulai Levente
dcf3a4b0bd
fix(combobox): Fix search issues when modifying the middle of the input word (#2085) 2023-10-17 13:52:10 +02:00
tkgroot
8bf54e669a
docs: fix code indentation (#2081)
- code not correctly indented
important for code replacement and transformation functions on docs generation

Signed-off-by: Tobias Kuppens Groot <tkuppensgroo@uos.de>
2023-10-04 17:00:22 +02:00
Pascal Schilp
0952647d95
fix: make fetchjson returntype generic (#2082) 2023-09-26 08:53:07 +02:00
github-actions[bot]
a447ad66a1
Version Packages (#2078)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 15:19:37 +02:00
Pascal Schilp
55e445c21e
Create long-actors-trade.md 2023-09-13 16:42:49 +02:00
gerjanvangeest
a58d8ce092
fix: export more type definitions (#2077) 2023-09-13 10:45:00 +02:00
github-actions[bot]
3c605b14a6
Version Packages (#2067)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 15:24:31 +02:00
gerjanvangeest
6ccfb27868
fix(input-datepicker): only disable dates if validator is of type error (#2076) 2023-09-12 15:10:43 +02:00
Gyulai Levente
d1f92a3ad7
fix(lion-calendar): Make disabled dates not selectable via keyboard navigation (#2058)
* 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>
2023-09-12 15:10:23 +02:00
gerjanvangeest
d597c077b4
fix(localize): fix type of localizeNameSpaces (#2073) 2023-09-11 16:45:16 +02:00
Sciurus7
cecf5ed573
fix(lion-accordion): make a copy when changing expanded (#2047) 2023-09-11 14:55:30 +02:00
Gyulai Levente
857d47a933
fix(accordion): navigating with tab confuses the arrow key navigation (#2056)
* fix(accordion): Handle focusin event, when tabbing to an invoker

* fix(accordion): Add changeset

* fix(accordion): Test if the index equals to the focusedIndex
2023-09-11 14:43:52 +02:00
gerjanvangeest
9b9485dbaa
fix(calendar): focusCentralDate function should only use buttons inside the dates table (#2072) 2023-09-11 14:24:39 +02:00
Gyulai Levente
b89d889fd5
fix(calendar): render exactly 6 weeks in every months (#2037) 2023-09-07 15:01:09 +02:00
Fábio Santos
ebe13e14b0
fix(overlays): undefined document.body (#2070)
* Fix undefined `document.body`

* Add changeset
2023-09-06 13:34:04 +02:00
Gio Adrian Fortuno
b0a74f2831
fix(progress-indicator): accept 0 as a valid value (#2068)
* fix(progress-indicator): accept 0 as a valid value

* chore: added changeset
2023-09-04 13:02:34 +02:00
Thijs Louisse
e16de38cd6 chore: enhance execution on empty api 2023-08-30 13:46:40 +02:00
Thijs Louisse
4cc72b1251 feat: allow Required validator on Fieldset and Form; "static executesOnEmpty" flag on Validators 2023-08-30 13:46:40 +02:00
Kristján Oddsson
275f49eb1e add a changeset 2023-08-30 13:46:21 +02:00
Thijs Louisse
19176e5b6c chore: changeset release mode back to "normal" 2023-08-30 13:46:08 +02:00
Thijs Louisse
a3738b500f chore: enter prerelease mode and version packages 2023-08-22 16:43:42 +02:00
github-actions[bot]
4fc11ddbf7 Version Packages 2023-08-22 15:26:36 +02:00
Thijs Louisse
47228cad12 chore: delete changeset for @lion/ui, so we can do separate prerelease for it 2023-08-22 15:19:45 +02:00
narzac
296463d0d9 feat: init nodejs-helpers package, add bypass-import-map, bypass-export-map, and run part of lion prepublish 2023-08-18 14:32:09 +02:00
github-actions[bot]
3a652d6c18
Version Packages (#2050)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-01 11:00:04 +02:00
Joren Broekema
9cdac8e947
fix: clone response when reading the response for error (#2049) 2023-08-01 10:45:27 +02:00
github-actions[bot]
f1ef7c164e Version Packages 2023-07-18 11:45:39 +00:00
Joren Broekema
7a875ef1b4
feat: parsing body for failed ajax responses (#2039) 2023-07-18 13:44:22 +02:00
Víctor Lara
5eafa1ffc1
fix(overlays): add aria-hidden to arrow (#2030) 2023-07-10 08:18:08 +02:00
github-actions[bot]
b340fd7a6c
Version Packages (#2032)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-06 13:02:46 +02:00
Pascal Schilp
fd93cc0cc2
Create chilly-bananas-talk.md 2023-07-06 11:41:02 +02:00
github-actions[bot]
14a8f77960
Version Packages (#2026)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-04 10:44:15 +02:00
gerjanvangeest
b44bfc5d1f
feat: enable navigation to, selecting & give accessible message for calendar disabled dates (#1978)
Co-authored-by: Konstantinos Norgias <Konstantinos.Norgias@ing.com>
2023-07-04 10:36:18 +02:00
Danny Moerkerke
137a1b6cf5
Feat/is dragging prop (#2025)
* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* feat: added isDragging property
2023-06-27 09:18:41 +02:00
github-actions[bot]
38e67f8299 Version Packages 2023-06-22 09:58:14 +00:00
Danny Moerkerke
ecf853dbc4
chore: add changeset for fix of exported types of lion-input-file 2023-06-22 11:56:43 +02:00
github-actions[bot]
7ec183cccb Version Packages 2023-06-20 15:33:22 +00:00
Danny Moerkerke
259e0dd468
Fix/remove file (#2018)
* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* fix: removed composed: true and bubbles: true and set eventlistener directly on lion-selected-file-list

* Update packages/ui/components/input-file/src/LionInputFile.js

* Update packages/ui/components/input-file/src/LionInputFile.js

* Update packages/ui/components/input-file/src/LionInputFile.js

* fix: fixed test

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

* chore: format

* fix

---------

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2023-06-20 17:32:05 +02:00
github-actions[bot]
a19e02c443
Version Packages (#2008)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-19 11:55:23 +02:00
gerjanvangeest
7ec90dcb06
chore: add checkboxIndeterminate test suite (#2013) 2023-06-14 16:24:34 +02:00
gerjanvangeest
02e61285dd
Revert "fix: create exports for test-suites and test-helpers (#2010)" (#2012)
This reverts commit 3cfc9f9744.
2023-06-13 15:14:47 +02:00
gerjanvangeest
1ea5730aa5
fix(localize): align currency symbol usage for all browsers (#2011) 2023-06-13 14:57:26 +02:00
gerjanvangeest
3cfc9f9744
fix: create exports for test-suites and test-helpers (#2010) 2023-06-13 08:47:56 +02:00
gerjanvangeest
dbc3fc2db6
fix(combobox): submit form on [Enter] (#2005)
fix(combobox): submit form on [Enter]
2023-06-08 18:14:14 +02:00
Konstantinos Norgias
33c0ff13da chore: add changeset & docs on how to enable VS Code autocomplete 2023-06-08 17:54:19 +02:00
github-actions[bot]
844493ba5c Version Packages 2023-06-07 10:58:51 +00:00
Thijs Louisse
6893421779
chore: SlotRerenderObject aligned with reactive cycle (docs + changelog) (#1999) 2023-06-07 09:16:28 +02:00
gerjanvangeest
d2de984f0b
Feat/input file (#1881)
* 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>
2023-06-06 11:30:43 +02:00
Gyulai Levente
bdc7455610
feat(@lion/ui): add _currencyDisplayNodeSlot to LionInputAmount (#1988)
* feat(@lion/ui): add _currencyDisplayNodeSlot to LionInputAmount

* Remove test for feature what is not supported anymore
* Add documentation
* Add test for customizable currency slot
2023-06-01 08:55:42 +02:00
SynnefonK
7089ea54e3
Merge pull request #1963 from Sciurus7/autofocus-ui
fix(form-core) sync autofocus to focusable node (fixes #1775)
2023-05-25 10:34:39 +02:00