Commit graph

119 commits

Author SHA1 Message Date
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
Joren Broekema
d0b37e626c fix(form-core): do a deep equal check for choice group modelValue setter 2021-02-22 17:37:57 +01:00
Joren Broekema
deb95d1388 fix: add data-tag-name attribute on scoped slottables 2021-02-17 11:10:28 +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
f98aab23f1 feat(form-core): make __parentFormGroup and __toggleChecked protected 2021-01-20 12:16:43 +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
Joren Broekema
ebee0abb2c
Merge pull request #1168 from ing-bank/fix/minimise-deps
fix: minimise deps by moving integration demos to integration packages
2021-01-06 16:52:04 +01:00
Joren Broekema
5302ec89a2 fix: minimise deps by moving integration demos to integration packages 2021-01-06 16:34:03 +01:00
Thijs Louisse
b88760d578 feat(form-core): add details.isTriggeredByUser to model-value-changed 2021-01-06 15:12:47 +01:00
Jorge del Casar
98f1bb7e1c fix: normalize dependencies
Co-authored-by: jorenbroekema <Joren.Broekema@ing.com>
2021-01-06 10:53:38 +01:00
qa46hx
7e68ccbddc chore: improve validators instance error message 2020-12-24 13:13:51 +01:00
Thijs Louisse
5553e43e8f fix: point to parent constructor styles 2020-12-01 10:16:48 +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
Víctor Lara
c5c4d4ba7c
fix(form-core): normalize input value in Date Validators 2020-11-11 12:18:10 +01:00
Joren Broekema
b222fd781f fix: make styles consistent across lion and fix some missing types 2020-11-10 12:33:21 +01:00
jorenbroekema
2e95029b0a fix: update typescript to latest 3 and fix errors 2020-11-09 13:09:23 +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
jorenbroekema
eb87859d76 chore: cleanup and align types/tests 2020-10-15 11:40:25 +02:00
jorenbroekema
188fe50770 fix(form-core): fire initial modelValue lit update after registration 2020-10-14 20:02:25 +02:00
Joren Broekema
9fcb67f0ec fix(combobox): dispatch model-value-changed properly on unselect 2020-10-14 20:02:25 +02:00
Joren Broekema
f0d11fee4a
Merge pull request #1024 from ing-bank/fix/validate-conditions
fix(form-core): add missing interaction states for feedback conditions
2020-10-13 12:21:57 +02: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
e92b98a4b9 fix(core): order aria elements accordion to dom order 2020-10-12 17:05:23 +02:00
Thomas Allmer
acd9264091 fix(form-core): default accessible disabled colors 2020-10-12 17:05:23 +02:00
Joren Broekema
68e3e74953 fix(form-core): add missing interaction states for feedback conditions 2020-10-12 16:56:50 +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
Joren Broekema
247e64a3cc fix(form-core): update child choice fields name attr to parent 2020-10-12 12:29:48 +02:00
Manuel Martin
2907649ba3
fix(form-core): filter feedback visibility according interaction states 2020-10-08 17:39:52 +02:00
Joren Broekema
f99da587b7
Merge pull request #978 from ing-bank/fix/_inputNode
fix: assure proper typings _inputNode across lion fields
2020-10-05 12:08:40 +02:00
Joren Broekema
7f744e6368 chore: add consistent styles inheritance for types 2020-10-05 12:01:18 +02:00
qa46hx
d5faa459f8 fix(listbox): add reset function 2020-10-01 16:22:56 +02:00
Joren Broekema
2f48f59244 chore: refactor some more 2020-10-01 14:34:44 +02:00
Joren Broekema
0aa4480e0c fix: assure proper typings _inputNode across lion fields 2020-10-01 10:02:45 +02:00
Joren Broekema
4b7bea9656 fix(form-core): add some type fixes/adjustments 2020-09-30 20:32:36 +02:00
Thijs Louisse
01a798e59e feat(combobox): new package combobox
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
2020-09-30 19:33:34 +02:00
qa46hx
857206548c fix(form-core): prevent toggle of checked state when disabled 2020-09-25 15:40:03 +02:00
qa46hx
02145a0644 fix(form-core): override clear() so modelValue doesn't get erased 2020-09-23 17:34:50 +02:00
Joren Broekema
b9327627c6 fix(form-core): align on common Intl type formatOptions 2020-09-15 10:48:34 +02:00
Thomas Allmer
60d5d1d3a3 fix(form-core): remove usage of Public Class Fields to not break builds 2020-09-09 16:18:16 +02:00
Thijs Louisse
b83ef4eeeb fix(form-core): type enhancements 2020-09-09 12:21:22 +02:00
Joren Broekema
874ff48339 feat(form-core): form-core types
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-09-02 09:02:47 +02:00
qa46hx
65ecd43276 feat: update to latest lit-element version 2020-08-27 10:53:03 +02:00
Thijs Louisse
c347fce4f6 fix(form-core): allow popultion conditionally rendered fields 2020-08-24 17:06:04 +02:00
Michel Blankenstein
4a228e671d fix(validate-mixin): remove event listener on disconnect instead of add 2020-08-17 14:51:40 +02:00
Thomas Allmer
07c598fd68 fix(form-core): form should be able to access formattedValue of children 2020-08-12 16:59:17 +02:00
Thomas Allmer
dd021e4392 fix(form-core): form-group should have a valid formattedValue 2020-08-12 15:00:37 +02:00
Joren Broekema
3c61fd294a feat(form-core): add types for many form-core mixins and tests 2020-08-10 10:37:34 +02:00
Thomas Allmer
d94a83a92d fix(switch): clicking on label should toggle checked state 2020-08-03 11:38:23 +02:00
Thomas Allmer
6b8daef509 fix: resolve registrationComplete via microtask to be sync 2020-07-28 14:50:10 +02:00
Thomas Allmer
8698f73418 feat: synchronous form registration system 2020-07-27 14:11:26 +02:00
qa46hx
e06196dec8 fix(form-core): remove possible untrusted input value callback 2020-07-16 15:02:51 +02:00
Hzunax
83f0b112aa test(validators): validatorName instead of name 2020-07-09 15:17:14 +02:00
Thijs Louisse
68a7cc3d9d
Merge pull request #804 from Hzunax/fix/fieldset-set-all-values
fix(formgroup): wait for formElements to register
2020-07-09 10:50:49 +02:00
Mathieu Puech
184898c111 fix(select-rich): instantiation after first update 2020-07-08 13:28:45 -04:00
Hzunax
780383d081 fix(formgroup): wait for formElements to register
_setValueForAllFormElements must wait for formElements to be registered
2020-07-08 17:27:23 +02:00
Thijs Louisse
e571de808a chore: mitigate browser errors WTR 2020-07-06 19:25:15 +02:00
Thijs Louisse
d5a6a8df09
Merge pull request #800 from ing-bank/chore/flaky-tests
chore: fix flaky test, prevent unhandled promise undefined feedbackNode
2020-07-06 18:13:08 +02:00
Joren Broekema
4585cd43ba chore: fix flaky test, prevent unhandled promise undefined feedbackNode 2020-07-06 17:42:41 +02:00
Mathieu Puech
5cd36cac20 feat(choice-input): add rendering of help-text 2020-06-30 15:09:12 -04:00
Joren Broekema
cb85e66cd9
Merge pull request #760 from ing-bank/chore/demo-fixes
chore: fix demo links and move back icon intro
2020-06-10 11:06:42 +02:00
Ben Amor Aymen
d86cfc5901
fix(form-core): on reset the submitted values becomes false (#753) 2020-06-09 16:38:28 +02:00
Joren Broekema
b500dfe237 chore: fix demo links and move back icon intro 2020-06-08 17:39:29 +02:00
Joren Broekema
3ae448f826 chore: move icon intro to icon package so it can be extended 2020-06-08 11:27:26 +02:00
Hzunax
e24f2efcff fix(field): remove validation toggled disable
when disable is toggled to true, validation should be removed
2020-06-02 08:37:03 +02:00
Thijs Louisse
6170374ee8 feat: merge field/validate/choice-input/form-group into @lion/form-core 2020-05-29 17:01:15 +02:00