Commit graph

1198 commits

Author SHA1 Message Date
jorenbroekema
d5b00fe0d3 chore: add how to use section and features section to docs 2020-10-16 09:27:36 +02:00
Joren Broekema
6498ab716f
Merge pull request #1033 from ing-bank/fix/comboboxBackgroundHeritage
fix(combobox): inherit background for native input
2020-10-15 22:25:33 +02:00
Mathieu Puech
7e915f943a fix(combobox): inherit background for native input 2020-10-15 16:17:31 -04:00
Joren Broekema
8a712abd72
Merge pull request #1029 from ing-bank/fix/tooltip-hasDisabledInvoker
fix(tooltip): keeps tooltip closed when invoker is disabled
2020-10-15 16:36:05 +02:00
qa46hx
baeedeeea6 fix(tooltip): keeps tooltip closed when invoker is disabled 2020-10-15 16:26:36 +02:00
Joren Broekema
e5a9f45f1e
Merge pull request #1026 from ing-bank/combobox/model-value-changed
fix(combobox): dispatch model-value-changed properly on unselect
2020-10-15 13:49:57 +02:00
Joren Broekema
3d9e4aca6e
Merge pull request #1030 from ing-bank/fix/observer-textarea
fix(textarea): add intersection observer for textarea recalculate
2020-10-15 13:40:29 +02:00
jorenbroekema
c3a581e281 fix(textarea): add intersection observer for textarea recalculate 2020-10-15 13:31:22 +02:00
Jorge del Casar
26b605939f
refactor(button): several improvements (#1019)
- remove click-area --> move styles to host::before
- reduce css so that extending styles makes sense. Merge .btn with host
- reduce the template and remove the if else construction inside the template
- hide focus styles if they're not needed, for example, when an element receives focus via the mouse.
- improve __clickDelegationHandler. Use current slotted native button instead of create new one
- fix vertical align when 2 buttons are inline and one has icon. Example included.
- add min-with to ensure target size for mobile, not only height
- add test to check event.target in all situations (inside and outside form)
2020-10-15 12:13:46 +02:00
jorenbroekema
eb87859d76 chore: cleanup and align types/tests 2020-10-15 11:40:25 +02:00
jorenbroekema
8a3a3bbaee chore: add more listbox regression tests 2020-10-14 20:02:26 +02:00
jorenbroekema
8f4faee0c6 fix(listbox): align setCheckedIndex behavior for multi and single choice 2020-10-14 20:02: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
Thijs Louisse
2dc85b14d3
feat(providence-analytics): monorepo support extend-docs 2020-10-13 15:24:24 +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
58f092248e chore: adjust tests so they are sucessfull on firefox as well 2020-10-12 17:05:23 +02:00
Thomas Allmer
bdf1cfb26c fix(overlays): blur focused element on hide if inside overlay 2020-10-12 17:05:23 +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
Thomas Allmer
7da5542ee7 chore: setup to test on all evergreen browsers 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
Mathieu Puech
c3693b9756 test: optimize execution time 2020-10-12 09:45:28 +02:00
Mathieu Puech
001b582c8f test(calendar): add visual regression tests 2020-10-12 09:42:34 +02:00
Joren Broekema
108487f451
Merge pull request #900 from manolakis/fix/feedback_visibility
fix(form-core): filter feedback messages according feedback conditions
2020-10-12 09:34:59 +02:00
demeteren
7682e5208d fix(localization): format negative values properly for Turkish locale 2020-10-12 09:26:51 +02:00
Manuel Martin
2907649ba3
fix(form-core): filter feedback visibility according interaction states 2020-10-08 17:39:52 +02:00
github-actions[bot]
1dfe35f000 Version Packages 2020-10-08 14:44:32 +00:00
Joren Broekema
bad0ad4adf
Merge pull request #1009 from ing-bank/feat/lastTypes
Feat/last types
2020-10-08 16:43:22 +02:00
Joren Broekema
b7c4432435
Merge pull request #1008 from ing-bank/fix/overlays-backdrop
fix: fix backdrop teardown/init bugs and align APIs
2020-10-08 16:39:05 +02:00
Thijs Louisse
6679fe7743 chore: types button and combobox 2020-10-08 16:06:50 +02:00
Joren Broekema
a4c4f1ee8a fix(overlays): check for config contentNode if slot content is undefined 2020-10-08 15:39:32 +02:00
Joren Broekema
d83f7fc5ce feat(overlays): simplify backdrop API, allow animated backdrop for local 2020-10-08 15:37:30 +02:00
palash2601
533417f2d2
fix(combobox): form-control class to correct node (#1012)
* fix(combobox): form-control class to correct node
2020-10-08 11:04:08 +02:00
Thijs Louisse
15b6079282
Merge pull request #992 from ing-bank/feat/listboxTypes
chore: types listbox and rich-select
2020-10-08 10:43:00 +02:00
Thijs Louisse
5aadf0b2f9 chore: types for listbox and select-rich 2020-10-08 10:36:48 +02:00
jorenbroekema
b5e7df3ed9 fix: fix backdrop teardown/init bugs and align APIs WIP 2020-10-07 18:08:27 +02:00
iemmoladavide
5e18f8e30f add inherited styles in combobox to allow styling 2020-10-07 17:40:34 +02:00
Ahmet Yesil
66388a1a25 feat(providence-analytics): add windows support 2020-10-07 15:23:26 +02:00
Thijs Louisse
928a673a2f feat(combobox): option showAllOnEmpty 2020-10-07 11:19:06 +02:00
Thijs Louisse
942ba65d8d
Merge pull request #995 from palash2601/fix/combobox-modelValue-update
fix(listbox): prevent modelValue change by child components addition
2020-10-06 19:10:07 +02:00
Thomas Allmer
79920276d6 chore: fix storybook build of combobox demo 2020-10-06 18:51:00 +02:00
Thijs Louisse
bccef4896c chore(combobox): advanced extension demos github + whatsapp 2020-10-06 17:56:55 +02:00
palash2601
94da0ae90c fix(listbox): prevent modelValue change by child components addition 2020-10-06 17:47:36 +02:00
Joren Broekema
e9cee0397b feat: add types for calendar and datepicker 2020-10-06 12:41:03 +02:00
Joren Broekema
580603cedf
Merge pull request #989 from ing-bank/fix/scrollTargetNode
fix(select-rich): change scrollTargetNode to listboxNode
2020-10-05 18:07:38 +02:00
qa46hx
20469ce76d fix(select-rich): change scrollTargetNode to listboxNode 2020-10-05 16:25:32 +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
Thijs Louisse
d1c6b18c0e fix(listbox): no cancellation multi mouse click 2020-10-02 11:30:01 +02:00
gerjanvangeest
20a20844db
Merge pull request #964 from ing-bank/fix/reset-listbox
fix(listbox): add reset function
2020-10-01 16:34:38 +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
github-actions[bot]
3cdb93941d Version Packages 2020-10-01 12:39:52 +02:00
Thijs Louisse
0ebca5b47d feat(combobox): improvements api, demos and autocompletion ux 2020-10-01 11:49:15 +02:00
Joren Broekema
0aa4480e0c fix: assure proper typings _inputNode across lion fields 2020-10-01 10:02:45 +02:00
github-actions[bot]
c03ebde5b5 Version Packages 2020-09-30 23:04:53 +02:00
Joren Broekema
106668973b feat(progress-indicator): add types 2020-09-30 20:55:12 +02:00
Thomas Allmer
592366640d fix(switch): _isEmpty should always return a boolean 2020-09-30 20:32:36 +02:00
Joren Broekema
30223d4c69 feat(validate-messages): add types 2020-09-30 20:32:36 +02:00
Joren Broekema
98fa7ad6b5 feat(textarea): add types 2020-09-30 20:32:36 +02:00
Joren Broekema
06123918d0 feat(switch): add types 2020-09-30 20:32:36 +02:00
Joren Broekema
7d4b6d32db feat(steps): add types 2020-09-30 20:32:36 +02:00
Joren Broekema
66c5f2cd36 feat(select): add types 2020-09-30 20:32:36 +02:00
Joren Broekema
4b7bea9656 fix(form-core): add some type fixes/adjustments 2020-09-30 20:32:36 +02:00
Thijs Louisse
7e2b7834e5
Merge pull request #972 from ing-bank/feat/combobox3
feat(combobox): new package combobox
2020-09-30 19:42:51 +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
Thomas Allmer
4c33c0bd1c chore(tabs): add demo for nested tabs 2020-09-30 15:41:32 +02:00
qa46hx
bef7d961a7 fix(tabs): allow nested tabs 2020-09-30 15:41:32 +02:00
Joren Broekema
0ed995ad06 feat(pagination): add types 2020-09-30 13:25:24 +02:00
Thomas Allmer
278798636c fix(overlays): add transition hooks to overlays 2020-09-30 13:15:20 +02:00
Joren Broekema
cfa2daf674 feat: add types for input components 2020-09-30 13:14:40 +02:00
Hardik Pithva
35efc9c49e
docs: add event example for radio and checkbox group (#962)
Co-authored-by: Thomas Allmer <thomas.allmer@ing.com>
2020-09-29 12:13:34 +02:00
Hardik Pithva
bcc809b6bb fix(pagination): extract nav list template to reuse in derived component 2020-09-28 17:57:27 +02:00
Joren Broekema
b06c85bbb4 feat(dialog): add types for dialog 2020-09-28 15:37:23 +02:00
Thomas Allmer
52618dc539 chore(collapsible): use string instead of template literal for css 2020-09-28 14:54:08 +02:00
Joren Broekema
6be72935cd feat(collapsible): add types for collapsible 2020-09-28 14:54:08 +02:00
Joren Broekema
a31b7217ba fix(form-core): added submitGroup to types definition file 2020-09-28 14:41:31 +02:00
Joren Broekema
6f08e9296b feat: add types for fieldset and form 2020-09-28 14:41:31 +02:00
Joren Broekema
9a74bfdc6e
Merge pull request #955 from ing-bank/feat/choice-types
feat: add types for checkbox-group & radio-group
2020-09-28 11:53:40 +02:00
Joren Broekema
50287fba72 feat(radio-group): add types for radio-group 2020-09-28 11:17:02 +02:00
Joren Broekema
9263f39740 feat(checkbox-group): add types for checkbox-group 2020-09-28 11:16:27 +02:00
Thomas Allmer
e2d772f5b3 fix(select-rich): singleOption true only if there is exactly one option 2020-09-25 17:25:16 +02:00
qa46hx
857206548c fix(form-core): prevent toggle of checked state when disabled 2020-09-25 15:40:03 +02:00
qa46hx
6aacbc4403 fix(switch): dispatch checked-changed on checked change 2020-09-25 15:40:03 +02:00
Joren Broekema
175e6bea6f feat(accordion): add types for accordion 2020-09-25 15:34:37 +02:00
Joren Broekema
56cc174c0b fix(tabs): clear slottable store properly on slotchange 2020-09-25 15:34:37 +02:00
qa46hx
02145a0644 fix(form-core): override clear() so modelValue doesn't get erased 2020-09-23 17:34:50 +02:00
Hardik Pithva
ba72b32b00 feat: add input stepper component 2020-09-22 18:55:07 +02:00
Joren Broekema
526aee2006 chore: revert outlet removal since needed for local backdrop 2020-09-16 12:21:07 +02:00
Joren Broekema
6394c08033 fix: remove unnecessary shadow outlet slots 2020-09-16 12:21:07 +02:00
Joren Broekema
a9d6971c67 feat(overlays): abstract arrow logic from tooltip into ArrowMixin 2020-09-16 12:21:07 +02:00
Thomas Allmer
de0e0d52b5 chore: remove not needed index.d.ts files, minor type improvements 2020-09-15 10:48:34 +02:00
Joren Broekema
3f50c798f1 feat(input-amount): add types 2020-09-15 10:48:34 +02:00
Joren Broekema
b9327627c6 fix(form-core): align on common Intl type formatOptions 2020-09-15 10:48:34 +02:00
Joren Broekema
b01cacbded fix(localize): align on common Intl type and reduce duplicates 2020-09-15 10:48:34 +02:00
Joren Broekema
32202a88ec feat(input): add types 2020-09-15 10:48:34 +02:00
Joren Broekema
46dbaa3f37 fix(form-core): add index.d.ts and adjust types for LionInput types 2020-09-15 10:48:34 +02:00
github-actions[bot]
10e6ad74c2 Version Packages 2020-09-11 12:47:47 +02:00
Thomas Allmer
7e02c39a0f fix(select-rich): remove usage of public class fields 2020-09-11 12:45:23 +02:00
github-actions[bot]
daa97de466 Version Packages 2020-09-11 09:49:56 +02:00
Thomas Allmer
27bc805885 fix(listbox): remove usage of public class fields 2020-09-11 09:46:21 +02:00
Thomas Allmer
8ad5cc56f1 fix: allow to build types 2020-09-09 17:05:52 +02:00
github-actions[bot]
87c4545f5f Version Packages 2020-09-09 16:25:09 +02:00
Thomas Allmer
dba3a71049 chore: fix listbox demos 2020-09-09 16:18:16 +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
Thomas Allmer
f7299f1672 chore: small adjustements before release 2020-09-09 12:21:22 +02:00
Thijs Louisse
b83ef4eeeb fix(form-core): type enhancements 2020-09-09 12:21:22 +02:00
Thijs Louisse
0ec72ac330 feat(listbox): new package 'listbox' 2020-09-09 12:21:22 +02:00
Thijs Louisse
e42071d8dc fix: types for overlays, tooltip, button 2020-09-09 12:21:22 +02:00
Thijs Louisse
75107a4b6a feat(core): add EventTargetShim 2020-09-09 12:21:22 +02:00
github-actions[bot]
acf2def52a Version Packages 2020-09-07 08:47:32 +00:00
qa46hx
5a750408eb fix(calendar): make button text also clickable 2020-09-07 10:46:07 +02:00
Thomas Allmer
26f683d045 feat(overlays): make OverlayController constructor tasks sync 2020-09-03 16:49:15 +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
Daniel Vivar
3e00819bdf Update 30-guidelines-scoped-elements.md
Fix query selector example
2020-08-31 17:54:14 +02:00
github-actions[bot]
5be15e8991 Version Packages 2020-08-31 17:49:34 +02:00
Hardik Pithva
a88f36041e feat: add pagination component 2020-08-31 17:39:29 +02:00
github-actions[bot]
e72ef2a41d Version Packages 2020-08-27 12:09:52 +02:00
qa46hx
65ecd43276 feat: update to latest lit-element version 2020-08-27 10:53:03 +02:00
Joren Broekema
efabe97691
Merge pull request #894 from ing-bank/fix/types-core
fix(core): fix types for core mixins to inherit Lit/HTMLElement super
2020-08-26 10:14:40 +02:00
github-actions[bot]
2ad20a6216 Version Packages 2020-08-24 15:31:48 +00:00
qa46hx
d5f8b461d3 feat(calendar): add year navigation 2020-08-24 17:30:31 +02:00
Thijs Louisse
c347fce4f6 fix(form-core): allow popultion conditionally rendered fields 2020-08-24 17:06:04 +02:00
Joren Broekema
4dc621a076 fix(core): fix types for core mixins to inherit Lit/HTMLElement super 2020-08-20 18:01:41 +02:00
Joren Broekema
d46cbc790f chore: fix lit-element types to reuse lion/core re-export 2020-08-20 16:38:28 +02:00
github-actions[bot]
ab297162e4 Version Packages 2020-08-20 13:43:29 +00:00
Thijs Louisse
905dc38a35 fix(core): fix version LitElement to ~2.3.0 2020-08-20 15:29:00 +02:00
github-actions[bot]
56c396d81d Version Packages 2020-08-17 14:36:28 +00:00
Thomas Allmer
42c68a66c6 chore: remove rogue console logs while running tests 2020-08-17 16:35:14 +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
github-actions[bot]
458a58bbf9 Version Packages 2020-08-12 12:40:18 +00:00
Thijs Louisse
623b10a3d7 fix(providence-analytics): allowlist takes precedence over -mode 2020-08-12 14:00:18 +02:00
github-actions[bot]
1c278c3a7c Version Packages 2020-08-12 08:04:07 +00:00
Thijs Louisse
e374608c95
Merge pull request #870 from ing-bank/feat/providenceWhitelistMode
feat(providence-analytics): add --allowlist-mode option
2020-08-12 10:03:02 +02:00
Thijs Louisse
7471f8cc7e fix(providence-analytics): clean output extend-docs 2020-08-12 09:56:40 +02:00
Thijs Louisse
a3297d4b90 chore(providence-analytics): cleanup e2e tests 2020-08-10 19:01:58 +02:00
Thijs Louisse
ca6c8e6278 feat(providence-analytics): add --allowlist-mode option 2020-08-10 19:01:49 +02:00
Joren Broekema
d9961a0a76 chore: fix type problems before release 2020-08-10 15:35:17 +02:00
github-actions[bot]
aaef107384 Version Packages 2020-08-10 13:21:12 +00:00
Joren Broekema
fb23697513 chore: add form-core type d file for index and change tsc cfg 2020-08-10 13:44:11 +02:00
github-actions[bot]
6a83263a0c Version Packages 2020-08-10 11:11:46 +00:00
Thijs Louisse
7d1bde66c4 fix(providence-analytics): from-import-to-export without fs lookup 2020-08-10 11:43:45 +02:00
Thijs Louisse
d7f0807903 fix(providence-analytics): provide target/reference result match 2020-08-10 11:43:45 +02:00