Commit graph

162 commits

Author SHA1 Message Date
Danny Moerkerke
3f1c83a180 fix: changed selectors for invokers and content to only select slotted elements that are direct descendants. This is to prevent that slotted elements in accordion content and invokers are also selected and the amount of invokers and content is incorrect 2023-03-09 15:33:24 +01:00
gvangeest
4226a0144c fix(combobox): add translations 2023-02-28 15:03:55 +01:00
gvangeest
943618fdcb fix(combobox): fix direct open and closing of the overlay on focus of empty input when showAllOnEmpty 2023-02-23 12:39:36 +01:00
gvangeest
1c18057cee fix(combobox): make the first occurrence of a string highlighted, instead of the last 2023-02-15 08:47:32 +01:00
Danny Moerkerke
84173cdba1
fix(@lion/ui): [select-rich] listbox element always focused in overlay
when the overlay is shown, the "autofocus" attribute is added to _listboxNode (_inputNode) to make sure that keyboard navigation continues to work when the element is inside a bottomsheet. When the overlay is closed the attribute is removed.
2023-02-09 18:41:18 +01:00
SynnefonK
faae93376a
chore: camelCase linting for properties 2023-02-08 20:22:26 +01:00
Danny Moerkerke
eff3259eea
Feat/localize manager override data (#1900)
feat: - added `allowOverridesForExistingNamespaces` parameter to `addData` method of LocalizeManager to allow for changing data in a namespace for a given locale
2023-02-02 17:04:49 +01:00
gvangeest
13185da02a fix(localize): don't set modelValue to unparseable if date has a negative timezone
Co-authored-by: Danny Moerkerke<Danny.Moerkerke@ing.com>
2023-02-01 17:42:19 +01:00
Danny Moerkerke
a47a6e615b chore: - added test to assert that modelValue of lion-select is updated when the value or text of one or more options are changed
- added changeset
2023-02-01 17:15:51 +01:00
Thijs Louisse
853c517ec0 fix(select): sync values with async option contents 2023-02-01 17:15:51 +01:00
Thijs Louisse
cee40e5588 chore(@lion/ui): all tests side effect free wrt localize 2023-02-01 16:06:30 +01:00
Thijs Louisse
467ba6bf0b feat(@lion/ui): localize side effect free internally 2023-02-01 16:06:30 +01:00
Thijs Louisse
6712934782 feat(@lion/ui): getLocalizeManager method, for side-effect-free localize 2023-02-01 16:06:30 +01:00
gvangeest
0efce8e18b fix(localize): parse negative numbers correctly 2023-01-25 11:06:17 +01:00
Thomas Allmer
851329eee1 fix: correct msgLit return type 2023-01-24 10:32:04 +01:00
Joren Broekema
a5330c922c
fix(icon): non-fatal console error for missing icons (#1884)
* fix(icon): non-fatal console error for missing icons
2023-01-23 12:37:18 +01:00
Ryan
980a67eba1 Update namespace type for localize mixin 2023-01-23 12:24:50 +01:00
gvangeest
9f6270b340 fix(select-rich): set focusableNode correctly so focused and focused-visible attributes are set when invoker gets focus 2023-01-16 10:06:18 +01:00
Danny Moerkerke
9fb14fa1c5 fix: - rearranging invokers and content for a correct tab order is now implemented by changing the slot attributes of both instead of moving them
- changed css for this implementation
     - fixed tests
     - added changeset
2023-01-16 09:57:24 +01:00
Thijs Louisse
af2e0293a1 fix(ui): [overlays]: enhance adoptStyles fallback and make testable 2023-01-12 11:35:01 +01:00
gvangeest
9a43dc4d89 fix(input-tel-dropddown): add translations for 'All countries' and 'Suggested countries' labels 2023-01-04 11:17:49 +01:00
gerjanvangeest
fd09f652d4
fix(select-rich): solve case of having singleOption and hassNoDefaultSelected at the same time (#1863) 2022-12-29 10:37:40 +01:00
Thijs Louisse
973b6ff9ac chore: small cleanup and RichSelect demo fix 2022-12-20 19:46:57 +01:00
Thijs Louisse
7ac0a42224 fix(ui): overlay fixes (responsive backdrop/select-rich/tooltip) 2022-12-16 08:47:48 +01:00
Thijs Louisse
5e70716862 fix(ui): prevent infinite tooltip loops 2022-12-15 16:52:02 +01:00
Danny Moerkerke
71906ed316 chore: - simplified selectors for content and invoker
- mentioned accordion in changeset
2022-12-14 13:56:27 +01:00
Danny Moerkerke
c1fa12fbd2 fix: narrowed the scope of the selectors that query [slot=invoker] and [slot=content] to prevent that any nested elements with [slot=invoker] and [slot=content] are moved to slot=_accordion as well 2022-12-14 13:56:27 +01:00
Thijs Louisse
fafd922251 fix(ui): add adopted stylesheets once; attach correctly to body 2022-12-12 14:31:14 +01:00
Thijs Louisse
a0fefee88b chore: update tests for new en-PH Intl standards USD + JPY 2022-12-09 15:54:28 +01:00
Thijs Louisse
a96c9692af chore: fix elementToFocusAfterHide when shadow dom is used 2022-12-09 15:54:28 +01:00
Thijs Louisse
0bc604d600 fix: demos and overlay styles
chore: overlay documentation fixes
2022-12-09 15:54:28 +01:00
Thijs Louisse
9d31c179b1 chore: improve SlotMixin feedback 2022-12-09 15:54:28 +01:00
Thijs Louisse
36910e5d70 fix(ui): simplify datepicker structure 2022-12-09 15:54:28 +01:00
Thijs Louisse
64c0e26c20 feat: use dialog element for top layer functionality of all overlays 2022-12-09 15:54:28 +01:00
Thijs Louisse
5e15942386 chore: fix all form integrations tech debt 2022-12-09 15:54:28 +01:00
Thijs Louisse
f147024ce8 feat(ui): validate-messages without side effects 2022-12-01 16:42:21 +01:00
Thijs Louisse
f0e6ee922c feat(ui): export side effect free singletons for deduping multiple instances before "main" singleton instance is registered 2022-11-28 18:02:48 +01:00
Thijs Louisse
de51dae20b fix(ui): use the correct names for singleton registrations 2022-11-28 18:02:48 +01:00
Thomas Allmer
11f6f19a09 fix(ui): use scoped-elements version that exposes types 2022-11-28 13:28:39 +01:00
Thijs Louisse
5dd5a848f0 fix(core): SlotMixin: conditional slots should not break init loop 2022-11-23 22:22:35 +01:00
Thijs Louisse
2572012d8e chore: enhance SlotMixin docs 2022-11-23 16:19:09 +01:00
Thijs Louisse
fe02eaf84b fix(lion-input-tel): polish/cleanup input-tel(-dropdown) 2022-11-23 16:19:09 +01:00
Thijs Louisse
fe7fedf629 chore: type fixes after pkg-lock regeneration 2022-11-23 14:48:53 +01:00
Thijs Louisse
9b4cbb1dfc fix(lion-input-tel): upgrade to awesome-phonenumber v4 2022-11-23 14:48:53 +01:00
Thomas Allmer
dec62b3b0d fix(ui): type requestUpdate 2022-11-22 19:29:37 +01:00
Thijs Louisse
36260d39d1 chore: add exception in test for "keepBodySize" on MacSafari, since body.body.global-overlays-scroll-lock-ios-fix renders scrollbar 2022-11-21 12:59:54 +01:00
Thijs Louisse
5d76318e45 chore: test "preventScroll edge cases" iOS and MacSafari 2022-11-21 12:59:54 +01:00
Rick de Hoop
53459451a7 fix(overlays): MacSafari fix for interactive content in dialog with preventsScroll 2022-11-21 12:59:54 +01:00
Jose C. Perea
e090d2d861 fix(overlay-manager): disable transition when reduced motion enabled 2022-11-18 16:38:13 +01:00
Thomas Allmer
eee83cca63 fix(ui): export types that are useful for subclassers 2022-11-17 12:08:26 +01:00
Thijs Louisse
d6d3810f7c chore: add a11y and SlotMixin docs 2022-11-17 12:08:12 +01:00
Thijs Louisse
d7938ef6b3 fix(input-tel-dropdown): fix interaction states 2022-11-17 12:08:12 +01:00
Thijs Louisse
ae06eb01f3 fix(input-tel(-dropdown)): align with SlotMixin rerender functionality 2022-11-17 12:08:12 +01:00
Thijs Louisse
11436fc01c fix: allow rerender in SlotMixin 2022-11-17 12:08:12 +01:00
Thijs Louisse
730e59c343 chore: SlotMixin scoped els test fix 2022-11-09 10:58:50 +01:00
gvangeest
da057efcf0 fix(localize): fix and simplify parseMode check 2022-11-09 09:58:46 +01:00
Danny Moerkerke
45f48c7ccd fix: changed import in type definition from @lion/core to lit 2022-11-08 07:58:17 +01:00
Danny Moerkerke
a1f1270671 fix: fixed import in @typedef 2022-11-07 16:04:34 +01:00
Danny Moerkerke
c7ea03577c chore: moved lion-drawer to correct directories for new lion/ui setup 2022-11-07 14:48:26 +01:00
Thomas Allmer
c1982965c3 feat: introduce wireit and ts use node16 resolution 2022-11-07 11:39:40 +01:00
Thomas Allmer
d938e464b4 chore: introduce a component src folder 2022-10-31 16:55:07 +01:00
Thomas Allmer
8114bae86f chore: rename ui/src to components 2022-10-31 16:55:07 +01:00