Commit graph

1768 commits

Author SHA1 Message Date
github-actions[bot]
2c104e9b2b Version Packages 2023-01-16 11:17:09 +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
Thijs Louisse
93ed57c552 chore: generated + manually added missing doc assets 2023-01-02 15:04:06 +01:00
Thijs Louisse
6007ca46f7 chore: add script "copy-doc-assets" 2023-01-02 15:04:06 +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
github-actions[bot]
ed5016dcea Version Packages 2022-12-16 13:25:07 +01:00
Thijs Louisse
7ac0a42224 fix(ui): overlay fixes (responsive backdrop/select-rich/tooltip) 2022-12-16 08:47:48 +01:00
github-actions[bot]
ab906fc13b Version Packages 2022-12-15 17:03:23 +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
9b61aac7a1 chore: rmv deleted doc reference 2022-12-09 16:47:37 +01:00
github-actions[bot]
fc55726a97 Version Packages 2022-12-09 16:26:17 +01:00
Thijs Louisse
473cd0ffc4 chore: copy overlays docs assets inside ui pkg 2022-12-09 16:23:31 +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
00063d7350 fix: depend on @popperjs/core, so local overlays have it available 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
github-actions[bot]
349b6dcbd6 Version Packages 2022-12-01 17:00:20 +01:00
Thijs Louisse
f147024ce8 feat(ui): validate-messages without side effects 2022-12-01 16:42:21 +01:00
github-actions[bot]
f7fde3152a Version Packages 2022-11-28 18:06:31 +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
github-actions[bot]
8de03892cb Version Packages 2022-11-28 13:49:40 +01:00
Thomas Allmer
11f6f19a09 fix(ui): use scoped-elements version that exposes types 2022-11-28 13:28:39 +01:00
github-actions[bot]
32f55a8650 Version Packages 2022-11-23 22:43:02 +01:00
Thijs Louisse
5dd5a848f0 fix(core): SlotMixin: conditional slots should not break init loop 2022-11-23 22:22:35 +01:00
github-actions[bot]
6d4a362662 Version Packages 2022-11-23 16:23:01 +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
9d912f6618 chore: apply types-correct in ui pkg 2022-11-23 16:14:18 +01:00
Thijs Louisse
618b2fc9b3 chore: recheck task for types after build correction 2022-11-23 15:19:58 +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
Thomas Allmer
aee0621c54 fix(ui): add type entrypoints 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
github-actions[bot]
edc6920a90 Version Packages 2022-11-17 12:27:36 +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
bc2527030b fix: expose docs via export map 2022-11-17 12:08:12 +01:00
Thijs Louisse
11436fc01c fix: allow rerender in SlotMixin 2022-11-17 12:08:12 +01:00
github-actions[bot]
fbf0bd2237 Version Packages 2022-11-11 14:17:35 +01:00
Thomas Allmer
4708fe9462 chore: add releases for docs 2022-11-11 14:06:48 +01:00
Thomas Allmer
fe47ee948c chore(ui): publish docs to npm 2022-11-11 14:06:48 +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
github-actions[bot]
42a8acdc72 Version Packages 2022-11-09 09:07:56 +01:00
thepassle
7c2a8c3bb6 fix: relax content type restriction of json response 2022-11-09 09:01:41 +01:00
github-actions[bot]
e89faca259 Version Packages 2022-11-08 19:31:23 +01:00
Thomas Allmer
faa26f1277 fix(singleton-manager): keep "main" in package.json for older tools 2022-11-08 13:41:34 +01:00
Danny Moerkerke
d189a08fe8
Merge pull request #1813 from ing-bank/feat/drawer
chore: moved lion-drawer to correct directories for new lion/ui setup
2022-11-08 09:52:59 +01:00
Danny Moerkerke
45f48c7ccd fix: changed import in type definition from @lion/core to lit 2022-11-08 07:58:17 +01:00
github-actions[bot]
c44c828b2e Version Packages 2022-11-07 16:27:15 +01:00
Danny Moerkerke
886151ba85 chore: removed accidentally committed directory 2022-11-07 16:19:22 +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
thepassle
1565bc81ca fix: relax content types when setting cache 2022-11-07 12:42:39 +01:00
github-actions[bot]
3cc3d2960f Version Packages 2022-11-07 12:29:11 +01:00
Thomas Allmer
e08b6bec58 chore: prepare @lion/ui release 2022-11-07 11:39:40 +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
Thomas Allmer
c9e060fc21 feat: move all web pkgs into a single npm pkg @lion/ui 2022-10-31 11:15:03 +01:00
Thomas Allmer
fab6b57b82 feat: move repo to npm workspaces 2022-10-20 10:20:12 +02:00
jorenbroekema
b568bcd1dd chore(combobox): add clarifying test for autocomplete/check 2022-09-18 14:51:17 +02:00
Edmund
18cbb5b476
Fix: calendar translation de.js strings corrected 2022-09-17 20:31:21 +02:00
Lars den Bakker
66abd3ea4c fix(ajax): don't throw on non-JSON responses in fetchJson 2022-09-14 23:45:12 +02:00
dependabot[bot]
e3e6ba259c
chore(deps): bump got from 11.8.3 to 11.8.5 2022-09-14 18:59:20 +02:00
Jose Luis de Vega
d838ea100c
fix(switch): do not change checked state when disabled 2022-09-14 18:55:28 +02:00
github-actions[bot]
1ff70af3c7 Version Packages 2022-09-08 07:20:58 +00:00
Joren Broekema
2d58320e51
feat: format number add thousandSeparator option, fix type decimalSep (#1774) 2022-09-08 09:19:07 +02:00
Joren Broekema
11c5ffe094
fix(input-amount,localize): make decimalSeparator formatOptions work (#1769) 2022-09-01 17:01:44 +02:00
Thomas Allmer
cc294f2023 BREAKING(core): remove unused UpdateStylesMixin & DelegateMixin 2022-08-22 13:48:49 +02:00
github-actions[bot]
7ff4fbf684 Version Packages 2022-08-15 07:15:14 +00:00
Danny Moerkerke
da4652e2b1
Merge pull request #1745 from ing-bank/feature/accordion-focus-handling
fix: fixed focus handling, focus now jumps from header to panel when …
2022-08-15 09:13:24 +02:00
Danny Moerkerke
78de618e72 fix: fixed failing tests 2022-08-11 15:09:00 +02:00
Danny Moerkerke
0fe476ef41 fix: - removed redundant styling
- renamed slot[name=accordion] to slot[name=_accordion] since it's not meant to be user by consumers
     - added description to __rearrangeInvokersAndContent() method
2022-08-11 13:17:04 +02:00
Hardik Pithva
a616fd8dca
feat(progress-indicator): add support for progress bar (#1713)
Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2022-08-11 08:55:25 +02:00
Danny Moerkerke
74201816eb fix: fixed failing accordion test 2022-08-10 14:18:32 +02:00
AndreeaMoise
0b97918d1e
fix(form-core): getMessage return type supports string and Element (#1756)
* fix: getMessage return type supports string and Element

* Add changeset
2022-08-10 10:59:12 +02:00
Danny Moerkerke
8a74e33625 fix: fixed test for appending content 2022-08-09 13:51:24 +02:00
Danny Moerkerke
14a7807f3b fix: fixed all tests 2022-08-08 11:45:26 +02:00
Danny Moerkerke
be30ff540b fix: fixed focus handling, focus now jumps from header to panel when tabbing 2022-07-11 16:22:13 +02:00
Riovir
718ce0146a
fix(switch): fix error caused by setting role in constructor (#1741)
Co-authored-by: jorenbroekema <joren.broekema@gmail.com>

Co-authored-by: jorenbroekema <joren.broekema@gmail.com>
2022-07-05 10:58:26 +02:00
github-actions[bot]
5be7776e1e Version Packages 2022-06-20 13:46:01 +02:00
gerjanvangeest
270c7b30b8
fix(overlays): change opacity to filter to fix chromium bug (#1735) 2022-06-16 10:16:54 +02:00
gerjanvangeest
7239d60466
Fix/input tel format options (#1733)
* fix(input-tel): remove unwanted characters in parser

* feat(input-tel-dropdown): export getFlagSymbol function

* feat(input-tel): add formatCountryCodeStyle option
2022-06-15 08:11:40 +02:00
Thijs Louisse
29b432f054
Merge pull request #1721 from ing-bank/changeset-release/master
Version Packages
2022-06-09 16:50:51 +02:00
github-actions[bot]
66a9dd99a3 Version Packages 2022-06-09 13:14:32 +00:00
Thijs Louisse
5ad98a26fa fix(core): use partial renderOptions in SlotMixin (for Safari) 2022-06-09 15:12:31 +02:00
Thomas Allmer
20af7a44ce fix(form-core): maintain correct formElements order with non-form elements in dom 2022-06-08 16:10:10 +02:00
gerjanvangeest
3dee788fb5
fix(input-tel-dropdown): fix edge cases onDropdownValueChanged (#1723) 2022-06-01 15:34:38 +02:00
Thijs Louisse
20436115c3 chore: depend on latest minors internally for input-tel(-dropdown) 2022-06-01 13:24:42 +02:00
Thijs Louisse
63466d6142 fix: type export ValidationType 2022-06-01 12:40:00 +02:00
github-actions[bot]
ad468be032 Version Packages 2022-05-31 16:03:50 +00:00
Thijs Louisse
957ca981d4
Merge pull request #1717 from ing-bank/type-module
fix: add type module to pkg jsons of ESM packages
2022-05-31 18:01:58 +02:00
jorenbroekema
e7a4ca1dcc fix: add type module to pkg jsons of ESM packages 2022-05-31 16:46:53 +02:00
gerjanvangeest
9591732f4e
fix(input-tel-dropdown): syncs value of dropdown on init if input has no value
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2022-05-31 16:25:50 +02:00
Lars den Bakker
362ee0e2e9 fix(ajax): align intercepted and non-intercepted response behavior 2022-05-31 13:46:54 +02:00
gerjanvangeest
abcff8c9e2
fix(input-tel): use pattern validation message for too-short/too-long (#1693) 2022-05-31 11:00:37 +02:00
Thijs Louisse
27c86e71e8 chore: keep prod dependencies limited and simple 2022-05-31 08:16:13 +02:00
Martin Pool
447383bd14 feat(ajax): add maxCacheSize option 2022-05-30 12:58:18 +02:00
Stefan Pearson
915de370d7
fix(overlays): Allow elements with display:contents to be focusable in keyboard event trapping (#1709)
* fix: isVisible check on elements with display:contents

* Create eight-years-pump.md

* chore: adds additional test
2022-05-25 16:40:45 +02:00
gerjanvangeest
ca9b788bb3
Merge pull request #1707 from ing-bank/feat/input-tel-dropdown-preferred-countries
feat(input-tel-dropdown): add optgroups when preferredCountries are shown
2022-05-23 18:01:01 +02:00
gvangeest
01fd0d2023 feat(input-tel-dropdown): add optgroups when preferredCountries are shown 2022-05-23 17:41:24 +02:00
Hardik Pithva
8674ebd47f feat(helpers): add uuid method 2022-05-20 12:50:36 +02:00
Joren Broekema
05e17d69e5
fix(checkbox-group): indeterminate checkbox respects disabled states (#1698)
Co-authored-by: Danny Moerkerke <danny.moerkerke@ing.com>
2022-05-18 12:08:34 +02:00
gvangeest
710e7c3d9e fix(input-tel-dropdown): do not sync regionCode if countryCode is the same 2022-05-17 11:38:32 +02:00
gerjanvangeest
d382887e67 fix(input-tel): make use of awesome-phonenumber
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2022-05-12 17:50:27 +02:00
palash2601
33fd1bef09
fix(lion-field): remove name property exception to align with platform
fix(lion-field): remove name property check for forward compatibility with Form participation api

Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>
2022-05-10 14:50:15 +02:00
github-actions[bot]
f11f94fafc Version Packages 2022-05-09 17:38:48 +02:00
Martin Pool
558edcb686 feat(ajax): add a maxResponseSize cache option to specify a max size for responses to be cached 2022-05-09 17:12:51 +02:00
Martin Pool
efcdf653a4 feat: content-type filter for ajax cache 2022-05-09 12:39:49 +02:00
Martin Pool
56af96f1da feat(ajax): add an option to initialize the cache interceptors even when useCache is turned off in the global options 2022-05-09 10:09:43 +02:00
gvangeest
a28686ee72 feat(listbox): add type ahead option 2022-05-04 16:01:56 +02:00
Joren Broekema
4129786909
feat: add mixed-state indeterminate checkbox feature (#1669)
* fix: don't switch to tri-state if all child boxes are same checked state

Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2022-05-03 13:34:24 +02:00
Martin Pool
b291e60794 chore(ajax): add tests for response values and headers in caching calls 2022-04-28 16:26:06 +02:00
gvangeest
8ecfc31c0d fix(input-tel-dropdown): sync disabled state to dropdown 2022-04-19 10:57:44 +02:00
Konstantinos Norgias
43dd132013 fix: do not show ResultValidator feedback message if input field is empty 2022-04-19 10:27:38 +02:00
Thijs Louisse
780d8a9691
Merge pull request #1658 from ing-bank/fix/switchUnregister
Fix/switch unregister
2022-04-11 11:37:23 +02:00
Thijs Louisse
24a58cdf57 chore: add input-tel(-dropdown) to umbrella-form + test unregister
Co-authored-by: Konstantinos Norgias <Konstantinos.Norgias@ing.com>
2022-04-11 11:17:53 +02:00
github-actions[bot]
bb5bef88a7 Version Packages 2022-04-07 09:18:36 +00:00
Thijs Louisse
55a900b797 fix(input-tel): expose awesome-phonenumber-lib in npm package 2022-04-07 11:16:30 +02:00
Thijs Louisse
d9d88b7f55 chore(form-core): make testing form registration easier 2022-04-06 18:17:02 +02:00
Thijs Louisse
355aabc02c fix(switch): unregister as formElement on disconnected 2022-04-06 18:16:30 +02:00
Thomas Allmer
974d0872a0 chore: fix published docs pathes 2022-04-06 14:46:05 +02:00
github-actions[bot]
cebbb6aac1 Version Packages 2022-04-06 09:42:12 +00:00
Onkar
998d95f9fb feat(input-datepicker):sync the caledar dates when the validator params change
Co-authored-by: Thijs Louisse<Thijs.Louisse@ing.com>
2022-04-06 11:40:07 +02:00
Onkar
f408f6f8eb feat(form-core): provide _onValidatorUpdated with validator reference
Co-authored-by: Thijs Louisse<Thijs.Louisse@ing.com>
2022-04-06 11:40:07 +02:00
Thijs Louisse
66531e3c93 fix(core): scoped slots 2022-04-06 09:59:07 +02:00
Knorgias
0f8488e13c
Merge pull request #1649 from ing-bank/chore/add-doc-validators-with-enum
chore: add eg for validator class that returns enum
2022-04-05 13:22:57 +02:00
Konstantinos Norgias
5cc64991b1 chore: add eg for validator class that returns enum 2022-04-05 12:53:46 +02:00
Thomas Allmer
aa8b89161d feat: update to @open-wc/scoped-element not needing a polyfill 2022-04-05 12:38:28 +02:00
Konstantinos Norgias
672c8e99b6 chore: update header order, components list and links 2022-03-30 12:37:30 +02:00
Meower
85318e3b1c
fix(validate-messages): fix default en-PH date validation message 2022-03-22 11:21:41 +01:00