Commit graph

1520 commits

Author SHA1 Message Date
jorenbroekema
db1ad6d236 chore(localize): loadingComplete localizeNamespacesLoaded timing issue 2021-07-21 12:11:03 +02:00
jorenbroekema
f843278c50 chore: change to await localizeNamespacesLoaded + nextframe 2021-07-21 12:11:03 +02:00
jorenbroekema
c544af4eb9 feat(localize): await loadingComplete before sending locale changed 2021-07-21 12:11:03 +02:00
qa46hx
09ee55cbee fix(select): set formattedValue to text of selected option 2021-07-21 11:16:39 +02:00
jorenbroekema
b292509ac1 feat(input-iban): allow array for IsCountryIBAN validator 2021-07-20 12:06:14 +02:00
jorenbroekema
0487435252 feat(form-core): add overridable filter method for form-group children 2021-07-19 19:05:28 +02:00
jorenbroekema
5601897b1f feat(input-amount): reformat formattedValue on locale changes 2021-07-19 15:59:05 +02:00
jorenbroekema
9b9d82fc55 fix(localize): add missing params to .d.ts file for mixin 2021-07-19 13:10:17 +02:00
gerjanvangeest
42f7026b58
Merge pull request #1455 from ing-bank/fix/serialize-amount
fix(input-amount): convert serializedValue to corrct amount of decimals
2021-07-15 09:56:40 +02:00
qa46hx
8c06302e54 chore: fix documentation of how to import core elements 2021-07-15 09:22:03 +02:00
qa46hx
9648d418f2 feat(localize): move parseNumber to @lion/localize 2021-07-15 09:07:45 +02:00
qa46hx
5fd9f1cd8e fix(input-amount): round up decimals in parseAmount based on currency 2021-07-15 09:03:50 +02:00
gerjanvangeest
9c8113e304
Merge pull request #1450 from ing-bank/fix/input-safari
fix(form-core): only preserve caret if value changed
2021-07-13 11:16:53 +02:00
gerjanvangeest
74c627a614
Merge pull request #1447 from ing-bank/fix/feedback-label
fix(localize,form-core): wait for localize before updating feedback
2021-07-12 16:27:23 +02:00
qa46hx
e87b6293fe fix(form-core): only preserve caret if value changed 2021-07-12 11:42:59 +02:00
github-actions[bot]
ab650681cc Version Packages 2021-07-07 18:44:07 +02:00
Thomas Allmer
ae14f99875 fix: improve docs and examples for accordion & switch 2021-07-07 18:34:21 +02:00
jorenbroekema
8a766644db fix(localize,form-core): wait for localize before updating feedback 2021-07-07 18:03:43 +02:00
qa46hx
3cd0ac51bc fix(calendar): add support for using language subtag only 2021-07-05 16:11:20 +02:00
github-actions[bot]
a6346a08ab Version Packages 2021-07-05 11:03:48 +00:00
Thijs Louisse
7fefff087c
Merge pull request #1441 from ing-bank/fix/compatibleLitForDocs2
fix: use mdjs-preview in docs for lit compatibility
2021-07-05 13:02:17 +02:00
Thijs Louisse
84131205e5 fix: use mdjs-preview in docs for lit compatibility 2021-07-05 12:52:04 +02:00
gerjanvangeest
c13adcf3f6
Merge pull request #1427 from ing-bank/fix/listbox-item-scroll
fix(listbox): always scroll active item into view
2021-07-05 11:53:25 +02:00
gerjanvangeest
13ab349ff9
Merge pull request #1436 from maartenst/fix/button_toggling
Fix/button toggling
2021-07-05 11:34:28 +02:00
qa46hx
93035755ed fix(input-stepper): fires user-input-changed only on increment/decrement 2021-07-05 11:26:08 +02:00
Maarten Stolte
3b388c1d0d fix(input-stepper): buttons are now toggled for all changes 2021-07-05 11:26:08 +02:00
github-actions[bot]
30050e7d86 Version Packages 2021-07-05 10:31:58 +02:00
Thomas Allmer
62eb21e6d0 chore(switch): update docs to use overview, use cases, reference 2021-07-05 09:38:21 +02:00
qa46hx
7e75e18f6f fix(input-datepicker): set isTriggeredByUser on change via calendar 2021-07-01 13:32:15 +02:00
Joren Broekema
dd1655e0b0 fix(listbox): always scroll active item into view 2021-06-23 11:17:37 +02:00
github-actions[bot]
8a322836ce Version Packages 2021-06-16 15:04:44 +02:00
Joren Broekema
d644aa9c19
Merge pull request #1420 from j--w/fix/export-overlay-utils
fix(overlays): export overlay utils
2021-06-16 14:59:16 +02:00
Jim Wright
c57f42a328 fix(overlays): export overlay utils
Co-authored-by: jorenbroekema <Joren.Broekema@ing.com>
2021-06-16 14:28:03 +02:00
Joren Broekema
17c471ed4b
Merge pull request #1421 from MatthieuLebigre/fix/dynamic-options-combobox
fix: better support when options change dynamically
2021-06-15 16:37:27 +02:00
Thomas Allmer
192e014d5f chore: publish all guides 2021-06-15 16:14:08 +02:00
Matthieu
159d6839c8 fix: better support when options change dynamically 2021-06-11 12:44:54 -04:00
Joren Broekema
7e6c91f335
Merge pull request #1418 from ing-bank/fix/switch-checked-changed
fix(switch): stop checked-changed event from propagating too far
2021-06-10 13:50:00 +02:00
Joren Broekema
077113bab2 fix(switch): stop checked-changed event from propagating too far 2021-06-10 10:28:44 +02:00
Thomas Allmer
f320b8b43f fix: create scoped elements also when slotting them in
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-06-09 15:06:34 +02:00
Joren Broekema
61d6c5fa33
Merge pull request #1387 from dereli/fix/localize-reset
Race condition in LocalizeManager
2021-06-01 17:56:51 +02:00
Zubeyr Dereli
5ca3d27501 fix(localize): reset storage correctly
long running imports were polluting newly reset storage
2021-06-01 17:38:42 +02:00
github-actions[bot]
67c1f29140 Version Packages 2021-05-31 17:43:07 +02:00
gerjanvangeest
d996ac3907
Merge pull request #1386 from ing-bank/feat/buttonA11yAndRestructure
feat(button): fix axe recommendation + restructure hierarchy
2021-05-31 16:07:39 +02:00
Thomas Allmer
24b272ecf2 chore: remove generated type files from git 2021-05-31 15:52:22 +02:00
github-actions[bot]
12c2833c6c Version Packages 2021-05-31 14:39:37 +02:00
Thijs Louisse
57b2fb9ff8 feat(button): split off separate buttons for reset & submit
Co-authored-by: Gerjan van Geest <Gerjan.van.Geest@ing.com>
2021-05-27 09:00:10 +02:00
Matthieu
6cdefd8833 feat: add _getTextboxValueFromOption method 2021-05-20 23:22:37 +02:00
Konstantinos Norgias
72067c0d19 chore: format & changeset 2021-05-20 12:38:58 +02:00
Konstantinos Norgias
e17f7bdfa6 feat: upgrade to lit2
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-05-20 12:21:43 +02:00
github-actions[bot]
ac889b1725 Version Packages 2021-05-12 13:22:33 +00:00
Goffert van Gool
73d4e222f6
Update public API of ajax & refactor package (#1371)
feat(ajax): align / break public API

Co-authored-by: Ahmet Yesil <yesil.ahmet@ing.com>
2021-05-12 15:21:18 +02:00
jorenbroekema
842e3c10de chore: move test to form-integrations 2021-05-12 13:02:58 +02:00
jorenbroekema
e297c2e1db fix(switch): fire model-value-changed with isTriggeredByUser: true 2021-05-12 11:54:59 +02:00
Thijs Louisse
cd17108292 fix(input-date): config set before property effects run 2021-05-03 14:27:14 +02:00
Thijs Louisse
8cd0142d12 feat(form-core): member descriptions for editors and api tables 2021-05-03 14:22:51 +02:00
Thijs Louisse
3b187fa2c9 feat(form-core): add [focused-visible] when matching :focus-visible 2021-05-03 12:49:51 +02:00
github-actions[bot]
1042cf4249 Version Packages 2021-04-27 11:09:01 +00:00
Thijs Louisse
756a138433 fix(input-amount): always format on paste 2021-04-20 12:45:21 +02:00
Thijs Louisse
c6fbe9208a feat(form-core): support format on paste 2021-04-20 12:35:21 +02:00
Thijs Louisse
5da55af6cd fix(combobox): close on tab keydown (not keyup) 2021-04-20 12:22:16 +02:00
Thijs Louisse
22678f13ce fix(combobox): webkit bug checkedIndex reset 2021-04-19 15:00:11 +02:00
Thijs Louisse
15146bf9ce fix(form-core): form groups support lazily rendered children 2021-04-19 11:33:38 +02:00
Thijs Louisse
edb43c4e05 fix(combobox): no sync unmatched checkedIndex [autocomplet=none 2021-04-19 11:07:46 +02:00
Thijs Louisse
11ec31c62e fix(form-core): fixed css selector syntax for disabled [slot=input] 2021-04-17 14:32:30 +02:00
Thijs Louisse
239cce3bf7 feat(overlays): expose "repositionOverlay()" on OverlayMixin 2021-04-17 14:31:41 +02:00
Thijs Louisse
351e9598fe fix(combobox): do not reopen on focusin edge cases 2021-04-17 11:38:59 +02:00
Thijs Louisse
6aa7fc29c8 feat(listbox): _onListboxContenChanged hook server side autocompletion
Co-authored-by: palash2601 <palash2601@gmail.com>
2021-04-16 19:25:39 +02:00
Thijs Louisse
d94d6bd84a fix(listbox): teleported options compatible with map/repeat 2021-04-16 16:13:51 +02:00
sdonose
0fc206bfd6 feat(input-iban): allow to specify countries in lowercase 2021-04-15 13:55:30 +02:00
qa46hx
eae38926cd fix(calendar): enhance centralDate initialization
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-04-15 09:33:11 +02:00
github-actions[bot]
aa0906506f Version Packages 2021-04-14 07:58:56 +00:00
Thijs Louisse
f0527583d6 fix: expose members as protected for extension compat. till v1 2021-04-14 09:37:39 +02:00
github-actions[bot]
8e23c05e23 Version Packages 2021-04-13 10:10:25 +00:00
Thijs Louisse
b77a038d5f fix(checkbox-group): recover possibility to registrer without [] 2021-04-13 00:32:51 +02:00
Thijs Louisse
f2d9b8e232 fix(overlays): only focus controlled elements after hide 2021-04-13 00:32:50 +02:00
github-actions[bot]
a42351019c Version Packages 2021-04-12 20:47:43 +00:00
Thijs Louisse
53167fd205 fix(form-core): validate on child change + {feedbackType}StateChanged 2021-04-12 22:31:55 +02:00
Thijs Louisse
43e4bb810c feat: private and protected types form-core 2021-04-12 15:23:05 +02:00
Thijs Louisse
cc02ae2450 fix(form-core): feedback msg read before next sibling's msg on blur 2021-04-12 15:08:04 +02:00
Thijs Louisse
ccd757fa39 fix: many types 2021-04-12 15:08:02 +02:00
Thijs Louisse
2241f72f20
Merge pull request #1325 from ing-bank/fix/fieldsetLabelAsChildSuffix
fix(form-core): a11y / types / test fixes
2021-04-12 14:30:02 +02:00
Thijs Louisse
57c0ae2d14
Merge pull request #1323 from ing-bank/fix/switch
fix(switch|form-core): enhanced feedback visibility configuration / applied on switch / a11y fix
2021-04-12 14:17:47 +02:00
Thijs Louisse
652f267b99 fix(switch): use ._showFeedbackConditionFor instead of .submitted 2021-04-12 12:07:27 +02:00
Thijs Louisse
0e910e3f80 feat(form-core): allow developers to add .showFeedbackConditionFor 2021-04-12 12:07:26 +02:00
Thijs Louisse
d4dcb7c1fb chore(combobox): clicking label focuses toggle button 2021-04-12 12:07:23 +02:00
Thijs Louisse
991f1f54f9 fix(combobox): types 2021-04-12 11:27:22 +02:00
Thijs Louisse
75af80be3b fix(form-core): cleanup group > child descriptions and reenable tests 2021-04-12 11:26:07 +02:00
Thijs Louisse
fb1522dda5 fix(form-core): fieldset label as child label suffix 2021-04-12 11:24:50 +02:00
Thijs Louisse
e301ef9657 fix(combobox): aria-expanded always on elm with role=combobox 2021-04-08 13:05:47 +02:00
realfighter92
0dc706b6f9
fix: combobox clear function (#1315)
* fix(combobox): clear() method

Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-04-08 12:37:08 +02:00
Thijs Louisse
2687e15189
Merge pull request #1316 from ing-bank/chore/formRegistrations
Chore/form registrations
2021-04-08 12:15:42 +02:00
Thijs Louisse
6ae7a5e352 fix(form-core): add clear() to choice-group; test integratoons 2021-04-08 11:30:12 +02:00
Thijs Louisse
0fa222c21b chore(form-integrations): test all registrations 2021-04-07 17:27:10 +02:00
Ahmet Yesil
9b79b287e9 fix(ajax): bug fixes and readability improvements 2021-04-07 17:09:03 +02:00
Thijs Louisse
5633d2aba8
Merge pull request #1313 from ing-bank/chore/testInitialDirtyState
chore(form-core): fix prefilled FormGroups
2021-04-07 16:55:31 +02:00
Thijs Louisse
38297d077f fix(form-core): registr. complete cb before initial interaction states 2021-04-07 16:03:22 +02:00
Thijs Louisse
9a311d5f25
Merge pull request #1312 from ing-bank/chore/choiceGroupAngularCompatibility
Chore/choice group angular compatibility
2021-04-07 15:20:35 +02:00
Lars den Bakker
468223a09f fix(ajax): return cached status and headers 2021-04-07 08:33:03 +02:00
Lars den Bakker
c1a81fe4cc feat(ajax): allow caching concurrent requests 2021-04-07 08:28:50 +02:00
Thijs Louisse
5354e1a0db chore(form-core): test initial dirty state prefilled FormGroup 2021-04-06 17:03:44 +02:00
Thijs Louisse
181a1d452b fix(form-core): choice-group initialization values + null support 2021-04-06 14:29:44 +02:00
Thijs Louisse
2ac36c7f2f
Merge pull request #1263 from ing-bank/chore/add-private-protected-types
Chore/add private protected types
2021-04-01 19:49:43 +02:00
Konstantinos Norgias
77a0424595 chore: add protected and private type info 2021-04-01 19:40:43 +02:00
Thijs Louisse
3b5ed3222f fix(form-core): do not preprocess during composition 2021-04-01 13:06:01 +02:00
github-actions[bot]
bbd1fce3c2 Version Packages 2021-03-31 11:37:17 +00:00
Joren Broekema
0e61e76420 fix(combobox): fix google combobox demo 2021-03-31 13:18:36 +02:00
github-actions[bot]
281a41ec2d Version Packages 2021-03-31 07:54:01 +00:00
Joren Broekema
6ea0298884 fix: use ...styles / CSSResult[] everywhere for types consistency 2021-03-30 17:25:02 +02:00
github-actions[bot]
ce2fdbfd71 Version Packages 2021-03-25 09:49:54 +00:00
Thijs Louisse
ca15374a12 fix: 'isTriggeredByUser' support for listbox (descendants) 2021-03-25 10:45:56 +01:00
Thijs Louisse
b7743d8f22 fix(combobox): open on focused when showAllOnEmpty 2021-03-25 09:06:34 +01:00
Thijs Louisse
72a6ccc81e feat(combobox): allow to configure textbox sync on close 2021-03-25 09:03:32 +01:00
Thijs Louisse
0c711f6962 fix(form-core): delay rejectRegistrationComplete 1 microtask
Co-authored-by: palash2601 <palash2601@gmail.com>
2021-03-25 09:03:31 +01:00
Joren Broekema
91f56769fe
Merge pull request #1288 from ing-bank/fix/comboboxShowOverlayOnKeyup
fix(combobox): displayoverlay on keydown event
2021-03-25 09:02:49 +01:00
palash2601
63e05c36e3 fix(combobox): displayoverlay on keydown event
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-03-25 00:01:05 +01:00
github-actions[bot]
80e1f79e0b Version Packages 2021-03-23 13:50:23 +01:00
Thomas Allmer
bcdd0710ef chore(form-integrations): rename a docs file 2021-03-23 11:29:38 +01:00
Thijs Louisse
4dc169c65f
Merge pull request #1213 from ing-bank/feat/preprocessor
feat: add preprocessor hook and example amount preprocessor
2021-03-22 10:15:25 +01:00
Joren Broekema
13f808af57 feat: add preprocessor hook and example amount preprocessor
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-03-22 09:43:32 +01:00
Thijs Louisse
0e22f62e74
Merge pull request #1265 from ing-bank/fix/validation-in-dialog
fix: make sync updatable mixin work with re-connecting to DOM
2021-03-18 19:37:21 +01:00
Joren Broekema
a809d7b5e1 fix: make sync updatable mixin work with re-connecting to DOM
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-03-18 19:24:29 +01:00
Thijs Louisse
5d9ca283ed
Merge pull request #1257 from ing-bank/fix/dialog-overlay-mousedown-close
fix: overlay closed on mouseup
2021-03-18 18:23:41 +01:00
Thijs Louisse
412270fa1a fix(overlays): enhanced and documented closeOnOutsideClick
Co-authored-by: Konstantinos Norgias <Konstantinos.Norgias@ing.com>
2021-03-18 15:38:38 +01:00
Thijs Louisse
81e94c94b6
Merge pull request #1272 from ing-bank/fix/update-required-validator
Fix/update required validator
2021-03-18 13:24:30 +01:00
Konstantinos Norgias
aa47817465 fix(form-core): aria-required for compatible roles 2021-03-18 13:11:02 +01:00
Joren Broekema
3aa4783326 fix(checkbox-group): add side effect define.js to package.json 2021-03-17 10:03:40 +01:00
github-actions[bot]
908bd4a145 Version Packages 2021-03-15 14:47:14 +00:00
Joren Broekema
1d97721769 chore: revert prevValidation result, make prevShown Validator[] 2021-03-15 15:31:51 +01:00
Joren Broekema
af90b20ed0 fix(form-core): only show success after recovery from shown feedback 2021-03-15 15:31:35 +01:00
Thomas Allmer
82722168f1 chore: adjustments for building/deploying website 2021-03-15 15:22:37 +01:00
Thomas Allmer
b9011e74db chore: adjustments for windows 2021-03-15 15:22:37 +01:00
Thomas Allmer
5db622e9da feat: as BREAKING CHANGE add exports & convert to static docs page 2021-03-15 15:22:37 +01:00
github-actions[bot]
aafbeba2fd Version Packages 2021-03-11 17:45:46 +00:00
Joren Broekema
02184c7752
Merge pull request #1192 from barroudjo/fix-body-margin-auto-error
Update OverlayController.js
2021-03-11 18:44:01 +01:00
Jonathan
2e8e547cd4 fix(overlays): prevent error throw for body margin auto 2021-03-11 18:29:39 +01:00
Konstantinos Norgias
dbacafa539 fix: remove @ts-expect-error & add @type {any} to static get props
Co-authored-by: jorenbroekema <Joren.Broekema@ing.com>
2021-03-04 10:32:39 +01:00
Mathieu Puech
da4dfe5ec3 docs(validation): add backend validator example 2021-03-01 09:56:54 -05:00
github-actions[bot]
31105ebe16 Version Packages 2021-02-25 10:14:42 +00:00
Joren Broekema
701aadce7f fix: use Pick generic types and inherit lit static props/methods 2021-02-25 10:09:08 +01:00
Joren Broekema
6b91c92d67 fix: update dependencies, fix tests, dont use .prototype 2021-02-25 10:09:06 +01:00
gerjanvangeest
4cd8159e26
Merge pull request #1240 from ing-bank/chore/update-eslint
chore: update to latest eslint
2021-02-25 09:47:42 +01:00
qa46hx
8fdfe37a3c chore: update to latest eslint 2021-02-25 09:40:14 +01:00
Joren Broekema
28dbf3d232 chore: cleanup 2021-02-24 14:51:30 +01:00
Joren Broekema
15e2d13589 fix(helpers): add styling improvements for sb action logger 2021-02-24 14:51:30 +01:00
Joren Broekema
2cd7993da8 feat: add ajax cache improvements and demos/docs 2021-02-24 14:51:30 +01:00
github-actions[bot]
b6b5f5ca14 Version Packages 2021-02-23 13:55:11 +00:00
Joren Broekema
ee85fa036e
Merge pull request #1238 from ing-bank/fix/prev-validation-result
fix(form-core): prevValidationResult initialize as empty array
2021-02-23 14:53:16 +01:00
Joren Broekema
b2a1c1efd4 fix(form-core): prevValidationResult initialize as empty array 2021-02-23 14:41:02 +01:00
github-actions[bot]
ee63095351 Version Packages 2021-02-22 17:03:57 +00:00
Joren Broekema
d0b37e626c fix(form-core): do a deep equal check for choice group modelValue setter 2021-02-22 17:37:57 +01:00