Commit graph

64 commits

Author SHA1 Message Date
Thijs Louisse
7016a150dc feat(form-core): allow enums as outcome of a Validator 2022-03-16 16:28:59 +01:00
Thijs Louisse
9c1dfdcd12 feat(form-core): add live formatter functionality via .preprocessor 2022-03-16 16:28:59 +01:00
Ahmet Yesil
1df3a564f2 chore: update playwright, make test suite work 2022-03-16 12:08:16 +01:00
jorenbroekema
006a47e530 chore: fix type issues 2022-02-28 15:45:02 +01:00
jorenbroekema
683d5c1c9c chore: upgrade to latest TSC to fix TSC bug caused by prev commit 2022-02-10 13:40:26 +01:00
qa46hx
c4562f7e64 fix: use html & unsafeStatic from @open-wc/testing 2021-11-11 10:02:47 +01:00
Thijs Louisse
921545081c
Merge pull request #1461 from ing-bank/feat/filter-fn
feat(form-core): add overridable filter method for form-group children
2021-07-27 08:09:15 +02:00
jorenbroekema
77567efcd1 chore: allow overriding filter fn imperatively 2021-07-26 10:12:46 +02:00
jorenbroekema
c544af4eb9 feat(localize): await loadingComplete before sending locale changed 2021-07-21 12:11:03 +02:00
jorenbroekema
0487435252 feat(form-core): add overridable filter method for form-group children 2021-07-19 19:05:28 +02:00
qa46hx
e87b6293fe fix(form-core): only preserve caret if value changed 2021-07-12 11:42:59 +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
Thijs Louisse
8cd0142d12 feat(form-core): member descriptions for editors and api tables 2021-05-03 14:22:51 +02:00
Thijs Louisse
c6fbe9208a feat(form-core): support format on paste 2021-04-20 12:35:21 +02:00
Thijs Louisse
15146bf9ce fix(form-core): form groups support lazily rendered children 2021-04-19 11:33:38 +02: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
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
0e910e3f80 feat(form-core): allow developers to add .showFeedbackConditionFor 2021-04-12 12:07:26 +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
6ae7a5e352 fix(form-core): add clear() to choice-group; test integratoons 2021-04-08 11:30:12 +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
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
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
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
5db622e9da feat: as BREAKING CHANGE add exports & convert to static docs page 2021-03-15 15:22:37 +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
qa46hx
8fdfe37a3c chore: update to latest eslint 2021-02-25 09:40:14 +01: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
Manuel Martin
b2f981db72 refactor: add package exports entry
This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
2021-02-15 17:49:22 +01:00
Joren Broekema
a7b2750218 fix(form-core): fix infinite loop syncing name to parent 2021-01-26 11:04:46 +01:00
Joren Broekema
771147537a fix(form-core): dedupe click event label choice inputs 2021-01-19 15:53:53 +01:00
Joren Broekema
8fb7e7a193 fix: types base constructor same return type 2021-01-13 17:05:07 +01:00
Thijs Louisse
b88760d578 feat(form-core): add details.isTriggeredByUser to model-value-changed 2021-01-06 15:12:47 +01:00
qa46hx
7e68ccbddc chore: improve validators instance error message 2020-12-24 13:13:51 +01:00
qa46hx
8f1456c8cb chore(form-core): make use of ChoiceInput & ChoiceGroup test suites 2020-11-24 11:33:15 +01:00
Thomas Allmer
4bacc17b16 fix(form-core): make sure .formElements stays in sync with dom order 2020-11-18 10:17:42 +01:00
Thomas Allmer
618f269829 chore: enable webkit tests
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
Co-authored-by: Yesil Ahmet <Yesil.Ahmet@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-10-27 14:05:32 +01:00
Joren Broekema
e58d27753d
Merge pull request #1022 from ing-bank/feat/name-changes
fix(form-core): update child choice fields name attr to parent
2020-10-13 12:20:15 +02:00
Thomas Allmer
58f092248e chore: adjust tests so they are sucessfull on firefox as well 2020-10-12 17:05:23 +02:00
Joren Broekema
e25586e606 fix(form-core): prevent choice input from changing name away from parent 2020-10-12 14:23:51 +02:00
Joren Broekema
fd297a2832 fix(form-core): update formElements with the right name on change 2020-10-12 14:13:05 +02:00