@lion/ui 0.7.5 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +1 -2
  2. package/components/button/test-suites/LionButton.suite.js +3 -1
  3. package/components/combobox/src/LionCombobox.js +33 -9
  4. package/components/combobox/test/lion-combobox.test.js +134 -7
  5. package/components/dialog/test/lion-dialog.test.js +59 -1
  6. package/components/input-datepicker/test/lion-input-datepicker.test.js +3 -3
  7. package/components/input-file/src/FileHandle.js +1 -1
  8. package/components/input-file/src/LionInputFile.js +1 -3
  9. package/components/input-file/test/lion-input-file.test.js +11 -14
  10. package/components/input-stepper/src/LionInputStepper.js +6 -5
  11. package/components/input-stepper/test/lion-input-stepper-integrations.test.js +20 -0
  12. package/components/input-stepper/test/lion-input-stepper.test.js +48 -3
  13. package/components/overlays/src/OverlayController.js +29 -7
  14. package/components/overlays/src/OverlayMixin.js +5 -1
  15. package/components/overlays/src/utils/deep-contains.js +134 -3
  16. package/components/overlays/test/OverlayController.test.js +57 -0
  17. package/components/overlays/test/utils-tests/deep-contains.test.js +98 -0
  18. package/components/select-rich/src/LionSelectRich.js +12 -0
  19. package/components/select-rich/test/lion-select-rich.test.js +26 -0
  20. package/custom-elements.json +140 -115
  21. package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
  22. package/dist-types/components/combobox/src/LionCombobox.d.ts +9 -0
  23. package/dist-types/components/combobox/src/LionCombobox.d.ts.map +1 -1
  24. package/dist-types/components/input-file/src/LionInputFile.d.ts.map +1 -1
  25. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts +4 -1
  26. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
  27. package/dist-types/components/input-stepper/test/lion-input-stepper-integrations.test.d.ts +2 -0
  28. package/dist-types/components/input-stepper/test/lion-input-stepper-integrations.test.d.ts.map +1 -0
  29. package/dist-types/components/input-stepper/test/lion-input-stepper.test.d.ts.map +1 -1
  30. package/dist-types/components/overlays/src/OverlayController.d.ts +7 -0
  31. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  32. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  33. package/dist-types/components/overlays/src/utils/deep-contains.d.ts +15 -1
  34. package/dist-types/components/overlays/src/utils/deep-contains.d.ts.map +1 -1
  35. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  36. package/dist-types/tsconfig.tsbuildinfo +1 -1
  37. package/docs/components/button/use-cases.md +2 -2
  38. package/docs/components/calendar/use-cases.md +4 -4
  39. package/docs/components/checkbox-group/api-table.md +49 -55
  40. package/docs/components/checkbox-group/overview.md +5 -5
  41. package/docs/components/checkbox-group/use-cases.md +33 -33
  42. package/docs/components/collapsible/overview.md +1 -1
  43. package/docs/components/collapsible/use-cases.md +3 -3
  44. package/docs/components/combobox/api-table.md +84 -89
  45. package/docs/components/combobox/extensions.md +20 -20
  46. package/docs/components/combobox/overview.md +1 -1
  47. package/docs/components/combobox/use-cases.md +6 -6
  48. package/docs/components/dialog/api-table.md +3 -3
  49. package/docs/components/dialog/overview.md +2 -2
  50. package/docs/components/dialog/src/external-dialog.js +32 -0
  51. package/docs/components/dialog/src/slots-dialog-content.js +1 -1
  52. package/docs/components/dialog/src/styled-dialog-content.js +1 -1
  53. package/docs/components/dialog/use-cases.md +49 -3
  54. package/docs/components/drawer/use-cases.md +3 -3
  55. package/docs/components/fieldset/api-table.md +45 -51
  56. package/docs/components/fieldset/overview.md +7 -7
  57. package/docs/components/fieldset/use-cases.md +15 -15
  58. package/docs/components/form/overview.md +7 -7
  59. package/docs/components/form/use-cases.md +4 -4
  60. package/docs/components/icon/use-cases.md +1 -1
  61. package/docs/components/input/overview.md +1 -1
  62. package/docs/components/input/use-cases.md +3 -3
  63. package/docs/components/input-amount/overview.md +3 -3
  64. package/docs/components/input-amount/use-cases.md +8 -8
  65. package/docs/components/input-date/overview.md +3 -3
  66. package/docs/components/input-date/use-cases.md +8 -8
  67. package/docs/components/input-datepicker/api-table.md +1 -1
  68. package/docs/components/input-datepicker/overview.md +5 -5
  69. package/docs/components/input-datepicker/use-cases.md +5 -5
  70. package/docs/components/input-email/overview.md +2 -2
  71. package/docs/components/input-email/use-cases.md +3 -3
  72. package/docs/components/input-file/overview.md +1 -1
  73. package/docs/components/input-iban/overview.md +2 -2
  74. package/docs/components/input-iban/use-cases.md +8 -8
  75. package/docs/components/input-range/overview.md +2 -2
  76. package/docs/components/input-stepper/api-table.md +65 -69
  77. package/docs/components/input-stepper/overview.md +1 -1
  78. package/docs/components/input-stepper/use-cases.md +21 -0
  79. package/docs/components/input-tel/overview.md +1 -1
  80. package/docs/components/input-tel/use-cases.md +9 -9
  81. package/docs/components/input-tel-dropdown/api-table.md +70 -73
  82. package/docs/components/input-tel-dropdown/extensions.md +1 -1
  83. package/docs/components/input-tel-dropdown/overview.md +1 -1
  84. package/docs/components/input-tel-dropdown/use-cases.md +5 -5
  85. package/docs/components/listbox/api-table.md +64 -70
  86. package/docs/components/listbox/overview.md +5 -5
  87. package/docs/components/listbox/use-cases.md +61 -61
  88. package/docs/components/pagination/use-cases.md +5 -5
  89. package/docs/components/radio-group/api-table.md +49 -55
  90. package/docs/components/radio-group/overview.md +6 -6
  91. package/docs/components/radio-group/use-cases.md +18 -18
  92. package/docs/components/select/use-cases.md +2 -2
  93. package/docs/components/select-rich/api-table.md +79 -85
  94. package/docs/components/select-rich/overview.md +3 -3
  95. package/docs/components/select-rich/use-cases.md +33 -33
  96. package/docs/components/steps/overview.md +4 -4
  97. package/docs/components/steps/use-cases.md +7 -7
  98. package/docs/components/tabs/examples.md +1 -1
  99. package/docs/components/tabs/use-cases.md +1 -1
  100. package/docs/components/textarea/use-cases.md +3 -3
  101. package/docs/components/tooltip/api-table.md +3 -3
  102. package/docs/components/tooltip/use-cases.md +6 -6
  103. package/docs/fundamentals/index.md +4 -4
  104. package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
  105. package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
  106. package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
  107. package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
  108. package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
  109. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  110. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  111. package/docs/fundamentals/rationales/accessibility.md +1 -1
  112. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  113. package/docs/fundamentals/systems/core/overview.md +1 -1
  114. package/docs/fundamentals/systems/form/formatting-and-parsing.md +8 -8
  115. package/docs/fundamentals/systems/form/model-value.md +1 -1
  116. package/docs/fundamentals/systems/form/overview.md +28 -28
  117. package/docs/fundamentals/systems/form/use-cases.md +19 -19
  118. package/docs/fundamentals/systems/form/validate.md +50 -50
  119. package/docs/fundamentals/systems/localize/api-table.md +10 -17
  120. package/docs/fundamentals/systems/localize/overview.md +4 -4
  121. package/docs/fundamentals/systems/localize/use-cases.md +4 -4
  122. package/docs/fundamentals/systems/overlays/_configuration-positioning.md +4 -4
  123. package/docs/fundamentals/systems/overlays/api-table.md +34 -90
  124. package/docs/fundamentals/systems/overlays/assets/umbrella-form.js +9 -9
  125. package/docs/fundamentals/systems/overlays/configuration.md +55 -29
  126. package/docs/fundamentals/systems/overlays/overview.md +6 -6
  127. package/docs/fundamentals/systems/overlays/use-cases.md +30 -30
  128. package/docs/fundamentals/tools/ajax/use-cases.md +20 -20
  129. package/docs/fundamentals/tools/helpers/action-logger.md +3 -3
  130. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  131. package/docs/fundamentals/tools/singleton-manager/example-complex/demo-app.js +2 -2
  132. package/docs/fundamentals/tools/singleton-manager/example-fail/demo-app.js +2 -2
  133. package/docs/fundamentals/tools/singleton-manager/example-success/demo-app.js +2 -2
  134. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  135. package/docs/guides/how-to/create-a-custom-field.md +7 -7
  136. package/docs/guides/how-to/create-a-form.md +4 -4
  137. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  138. package/docs/guides/index.md +8 -8
  139. package/docs/guides/principles/index.md +5 -5
  140. package/docs/guides/principles/scoped-elements.md +1 -1
  141. package/docs/guides/principles/styling.md +1 -1
  142. package/package.json +1 -1
@@ -13,17 +13,17 @@ export const main = () => html`
13
13
  <lion-steps>
14
14
  <lion-step initial-step>
15
15
  Step 1
16
- <button type="button" @click=${ev => ev.target.parentElement.controller.next()}>Next</button>
16
+ <button type="button" @click="${ev => ev.target.parentElement.controller.next()}">Next</button>
17
17
  </lion-step>
18
18
  <lion-step>
19
- <button type="button" @click=${ev => ev.target.parentElement.controller.previous()}>
19
+ <button type="button" @click="${ev => ev.target.parentElement.controller.previous()}">
20
20
  Previous
21
21
  </button>
22
22
  Step 2
23
- <button type="button" @click=${ev => ev.target.parentElement.controller.next()}>Next</button>
23
+ <button type="button" @click="${ev => ev.target.parentElement.controller.next()}">Next</button>
24
24
  </lion-step>
25
25
  <lion-step>
26
- <button type="button" @click=${ev => ev.target.parentElement.controller.previous()}>
26
+ <button type="button" @click="${ev => ev.target.parentElement.controller.previous()}">
27
27
  Previous
28
28
  </button>
29
29
  Step 3
@@ -12,7 +12,7 @@ export const main = () => html`
12
12
  <lion-step initial-step>
13
13
  <p>Welcome</p>
14
14
  <button disabled>previous</button> &nbsp;
15
- <button type="button" @click=${ev => ev.target.parentElement.controller.next()}>Next</button>
15
+ <button type="button" @click="${ev => ev.target.parentElement.controller.next()}">Next</button>
16
16
  </lion-step>
17
17
  <lion-step>
18
18
  <p>Are you single?</p>
@@ -36,29 +36,29 @@ export const main = () => html`
36
36
  No
37
37
  </button>
38
38
  <br /><br />
39
- <button type="button" @click=${ev => ev.target.parentElement.controller.previous()}>
39
+ <button type="button" @click="${ev => ev.target.parentElement.controller.previous()}">
40
40
  Previous
41
41
  </button>
42
42
  </lion-step>
43
43
  <lion-step id="is-single" .condition="${data => data.isSingle}">
44
44
  <p>You are single</p>
45
- <button type="button" @click=${ev => ev.target.parentElement.controller.previous()}>
45
+ <button type="button" @click="${ev => ev.target.parentElement.controller.previous()}">
46
46
  Previous
47
47
  </button>
48
48
  &nbsp;
49
- <button type="button" @click=${ev => ev.target.parentElement.controller.next()}>Next</button>
49
+ <button type="button" @click="${ev => ev.target.parentElement.controller.next()}">Next</button>
50
50
  </lion-step>
51
51
  <lion-step id="is-not-single" .condition="${data => data.isSingle}" invert-condition>
52
52
  <p>You are NOT single.</p>
53
- <button type="button" @click=${ev => ev.target.parentElement.controller.previous()}>
53
+ <button type="button" @click="${ev => ev.target.parentElement.controller.previous()}">
54
54
  Previous
55
55
  </button>
56
56
  &nbsp;
57
- <button type="button" @click=${ev => ev.target.parentElement.controller.next()}>Next</button>
57
+ <button type="button" @click="${ev => ev.target.parentElement.controller.next()}">Next</button>
58
58
  </lion-step>
59
59
  <lion-step>
60
60
  <p>Finish</p>
61
- <button type="button" @click=${ev => ev.target.parentElement.controller.previous()}>
61
+ <button type="button" @click="${ev => ev.target.parentElement.controller.previous()}">
62
62
  Previous
63
63
  </button>
64
64
  </lion-step>
@@ -9,7 +9,7 @@ import './src/lea-tab-panel.js';
9
9
 
10
10
  ## Lea Tabs
11
11
 
12
- Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/blog/ing-open-sources-lion.md).
12
+ Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/blog/ing-open-sources-lion.md).
13
13
 
14
14
  ```js preview-story
15
15
  export const main = () => html`
@@ -12,7 +12,7 @@ You can set the `selectedIndex` to select a certain tab.
12
12
 
13
13
  ```js preview-story
14
14
  export const selectedIndex = () => html`
15
- <lion-tabs .selectedIndex=${1}>
15
+ <lion-tabs .selectedIndex="${1}">
16
16
  <button slot="tab">Info</button>
17
17
  <p slot="panel">Info page with lots of information about us.</p>
18
18
  <button slot="tab">Work</button>
@@ -13,7 +13,7 @@ You can prefill the textarea. If you want to prefill on multiline, you will have
13
13
  export const prefilled = () => html`
14
14
  <lion-textarea
15
15
  label="Prefilled"
16
- .modelValue=${['batman', 'and', 'robin'].join('\n')}
16
+ .modelValue="${['batman', 'and', 'robin'].join('\n')}"
17
17
  ></lion-textarea>
18
18
  `;
19
19
  ```
@@ -35,7 +35,7 @@ export const readonly = () => html`
35
35
  <lion-textarea
36
36
  label="Readonly"
37
37
  readonly
38
- .modelValue=${['batman', 'and', 'robin'].join('\n')}
38
+ .modelValue="${['batman', 'and', 'robin'].join('\n')}"
39
39
  ></lion-textarea>
40
40
  `;
41
41
  ```
@@ -49,7 +49,7 @@ export const stopGrowing = () => html`
49
49
  <lion-textarea
50
50
  label="Stop growing"
51
51
  max-rows="4"
52
- .modelValue=${['batman', 'and', 'robin'].join('\n')}
52
+ .modelValue="${['batman', 'and', 'robin'].join('\n')}"
53
53
  ></lion-textarea>
54
54
  `;
55
55
  ```
@@ -38,9 +38,9 @@
38
38
 
39
39
  ### Events
40
40
 
41
- | Name | Type | Description | Inherited From |
42
- | ---------------- | ------- | ----------- | -------------- |
43
- | `opened-changed` | `Event` | | OverlayMixin |
41
+ | Name | Type | Description | Inherited From |
42
+ | ---------------- | ------------- | ----------- | -------------- |
43
+ | `opened-changed` | `CustomEvent` | | OverlayMixin |
44
44
 
45
45
  ### Attributes
46
46
 
@@ -21,7 +21,7 @@ export const invokerRelation = () => {
21
21
  margin: 50px;
22
22
  }
23
23
  </style>
24
- <lion-tooltip .config=${invokerRelationConfig}>
24
+ <lion-tooltip .config="${invokerRelationConfig}">
25
25
  <button slot="invoker" class="demo-tooltip-invoker">📅</button>
26
26
  <div slot="content">Agenda<div>
27
27
  </lion-tooltip>
@@ -50,19 +50,19 @@ export const placements = () => {
50
50
  }
51
51
  </style>
52
52
  <div class="demo-box-placements">
53
- <lion-tooltip has-arrow .config=${placementTopConfig}>
53
+ <lion-tooltip has-arrow .config="${placementTopConfig}">
54
54
  <button slot="invoker">Top</button>
55
55
  <div slot="content">Top placement</div>
56
56
  </lion-tooltip>
57
- <lion-tooltip has-arrow .config=${placementRightConfig}>
57
+ <lion-tooltip has-arrow .config="${placementRightConfig}">
58
58
  <button slot="invoker">Right</button>
59
59
  <div slot="content">Right placement</div>
60
60
  </lion-tooltip>
61
- <lion-tooltip has-arrow .config=${placementBottomConfig}>
61
+ <lion-tooltip has-arrow .config="${placementBottomConfig}">
62
62
  <button slot="invoker">Bottom</button>
63
63
  <div slot="content">Bottom placement</div>
64
64
  </lion-tooltip>
65
- <lion-tooltip has-arrow .config=${placementLeftConfig}>
65
+ <lion-tooltip has-arrow .config="${placementLeftConfig}">
66
66
  <button slot="invoker">Left</button>
67
67
  <div slot="content">Left placement</div>
68
68
  </lion-tooltip>
@@ -120,7 +120,7 @@ export const overridePopperConfig = () => {
120
120
  margin: 50px;
121
121
  }
122
122
  </style>
123
- <lion-tooltip .config=${overridePopperConfig}>
123
+ <lion-tooltip .config="${overridePopperConfig}">
124
124
  <button slot="invoker" class="demo-tooltip-invoker">Hover me</button>
125
125
  <div slot="content">This is a tooltip<div>
126
126
  </lion-tooltip>
@@ -9,11 +9,11 @@ Here you find more details about what we offer.
9
9
 
10
10
  Let's see what each section describes.
11
11
 
12
- 1. [Systems](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/core/overview.md) <br>
12
+ 1. [Systems](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/core/overview.md) <br>
13
13
  These are the fundamental systems that power all of our components.
14
- 2. [Tools](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/tools/helpers/overview.md) <br>
14
+ 2. [Tools](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/tools/helpers/overview.md) <br>
15
15
  Frontend Tools useful for web development but are not visual and therefore are not components.
16
- 3. [Node Tools](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md) <br>
16
+ 3. [Node Tools](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md) <br>
17
17
  Node tools to analyse the code and for extending the documentation.
18
- 4. [Rationales](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/rationales/side-effects.md) <br>
18
+ 4. [Rationales](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/rationales/side-effects.md) <br>
19
19
  The reasoning behind some of our decisions.
@@ -45,7 +45,7 @@ export default {
45
45
  ### referenceCollections
46
46
 
47
47
  A list of file system paths. They can be defined relative from the current project root or they can be full paths.
48
- When a [MatchAnalyzer](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/analyzer.md) like `match-imports` or `match-subclasses` is used, the default reference(s) can be configured here. For instance: ['/path/to/@lion/ui/form.js']
48
+ When a [MatchAnalyzer](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/analyzer.md) like `match-imports` or `match-subclasses` is used, the default reference(s) can be configured here. For instance: ['/path/to/@lion/ui/form.js']
49
49
 
50
50
  An example:
51
51
 
@@ -108,4 +108,4 @@ QueryOutput structure could be simplified in the future.
108
108
 
109
109
  The output files stored in the file system always need to be machine independent:
110
110
  this means that all machine specific information, like a complete filepath, needs to be removed from a QueryOutput (paths relative from project root are still allowed).
111
- In that way, the caching mechanism (based on hash comparisons) as described in [Analyzer](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/analyzer.md) is guaranteed to work across different machines.
111
+ In that way, the caching mechanism (based on hash comparisons) as described in [Analyzer](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/analyzer.md) is guaranteed to work across different machines.
@@ -7,7 +7,7 @@ A few examples are:
7
7
  - find-exports
8
8
  - match-imports
9
9
 
10
- An analyzer will give back a [QueryResult](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) that will be written to the file system by Providence.
10
+ An analyzer will give back a [QueryResult](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) that will be written to the file system by Providence.
11
11
  All analyzers need to extend from the `Analyzer` base class, found in `src/program/analyzers/helpers`.
12
12
 
13
13
  ## Public api
@@ -1,6 +1,6 @@
1
1
  # Node Tools >> Providence Analytics >> Dashboard ||30
2
2
 
3
- An interactive overview of all aggregated [QueryResults](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) can be found in the dashboard.
3
+ An interactive overview of all aggregated [QueryResults](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) can be found in the dashboard.
4
4
  The dashboard is a small nodejs server (based on es-dev-server + middleware) and a frontend
5
5
  application.
6
6
 
@@ -47,7 +47,7 @@ npm i --save-dev providence-analytics
47
47
  You are now ready to use providence in your project. All
48
48
  data will be stored in json files in the folder `./providence-output`
49
49
 
50
- ![CLI](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/assets/provicli.gif 'CLI')
50
+ ![CLI](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/assets/provicli.gif 'CLI')
51
51
 
52
52
  ## Setup: Dashboard
53
53
 
@@ -76,7 +76,7 @@ export default {
76
76
 
77
77
  Run `npm run providence:dashboard`
78
78
 
79
- ![dashboard](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/assets/providash.gif 'dashboard')
79
+ ![dashboard](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/assets/providash.gif 'dashboard')
80
80
 
81
81
  ## Setup: about result output
82
82
 
@@ -153,7 +153,7 @@ Now you will get a list of all predefined analyzers:
153
153
  - match-subclasses
154
154
  - etc...
155
155
 
156
- ![Analyzer query](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/providence-analytics/assets/analyzer-query.gif 'Analyzer query')
156
+ ![Analyzer query](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/providence-analytics/assets/analyzer-query.gif 'Analyzer query')
157
157
 
158
158
  <!--
159
159
  ## Running providence from its own repo
@@ -31,7 +31,7 @@ For a Mono Repository
31
31
  ```md
32
32
  # My Pkg
33
33
 
34
- [=> See Source <=](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/docs/deep/dir/overview.md)
34
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/docs/deep/dir/overview.md)
35
35
  ```
36
36
 
37
37
  ## CLI flags
@@ -61,7 +61,7 @@ Bring the `overview.md` in a docs folder along.
61
61
  👉 `packages/[my-package]/docs/overview.md`
62
62
 
63
63
  ```md
64
- [=> See Source <=](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/docs/deep/dir/overview.md)
64
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/docs/deep/dir/overview.md)
65
65
  ```
66
66
 
67
67
  Add a `use-cases.md`
@@ -69,7 +69,7 @@ Add a `use-cases.md`
69
69
  👉 `packages/[my-package]/docs/use-cases.md`
70
70
 
71
71
  ```md
72
- [=> See Source <=](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/docs/deep/dir/use-cases.md)
72
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/docs/deep/dir/use-cases.md)
73
73
  ```
74
74
 
75
75
  So you will end up with something like this in your package.
@@ -7,7 +7,7 @@ To do this automatically you can use this preset for [rocket](https://rocket.mod
7
7
 
8
8
  ## Features
9
9
 
10
- - Import lion documentation and adjust it using [remark-extend](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/remark-extend/overview.md)
10
+ - Import lion documentation and adjust it using [remark-extend](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/remark-extend/overview.md)
11
11
  - Renames named imports and all it's usage
12
12
  - Adjusts import paths
13
13
  - Replace tags in template literals
@@ -38,7 +38,7 @@ export default {
38
38
 
39
39
  ## Reusing documentation
40
40
 
41
- To take an existing documentation you can "import" it using [remark-extend](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/node-tools/remark-extend/overview.md).
41
+ To take an existing documentation you can "import" it using [remark-extend](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/node-tools/remark-extend/overview.md).
42
42
 
43
43
  As an example you can create `docs/components/tabs/overview.md`.
44
44
 
@@ -25,4 +25,4 @@ Internally, we delegate all intricacies involved in managing light dom to SlotMi
25
25
  SlotMixin automatically mediates between light dom provided by the user ('public slots') and light dom provided by the component author ('private slots').
26
26
  Also, SlotMixin allows to hook into the reactive update loop of LitElement (automatically rerendering on property changes) and it automatically respects
27
27
  the scoped registry belonging to the shadow root.
28
- More details about SlotMixin can be found in the [SlotMixin documentation](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/core/SlotMixin.md)
28
+ More details about SlotMixin can be found in the [SlotMixin documentation](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/core/SlotMixin.md)
@@ -152,4 +152,4 @@ This will make sure that the slot provided by the user always takes precedence a
152
152
 
153
153
  ### Default slot
154
154
 
155
- As can be seen in the example of [SlotFunctionResults](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/core/#slotfunctionresults), '' can be used to add content to the default slot
155
+ As can be seen in the example of [SlotFunctionResults](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/core/#slotfunctionresults), '' can be used to add content to the default slot
@@ -15,7 +15,7 @@ import { LitElement, html, render } from 'lit-element';
15
15
 
16
16
  ## Features
17
17
 
18
- - [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/core/#deduping-of-mixins)
18
+ - [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/core/#deduping-of-mixins)
19
19
  - Mixin to handle disabled (DisabledMixin)
20
20
  - Mixin to handle disabled AND tabIndex (DisabledWithTabIndexMixin)
21
21
  - Mixin to manage auto-generated needed slot elements in light dom (SlotMixin)
@@ -23,7 +23,7 @@ Our fields can automatically format/parse/serialize user input or an input set i
23
23
 
24
24
  Below are some concrete examples of implementations of formatters and parsers mimicking a (basic) amount input.
25
25
 
26
- > For an actual amount input, check out [lion-input-amount](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-amount/overview.md).
26
+ > For an actual amount input, check out [lion-input-amount](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-amount/overview.md).
27
27
  > This comes with its own formatter, parser, serializer.
28
28
 
29
29
  ### Parsers & modelValue
@@ -56,7 +56,7 @@ export const parser = () => html`
56
56
  help-text="Uses .parser to create model values from view values"
57
57
  .parser="${viewValue => Number(viewValue)}"
58
58
  .modelValue="${1234567890}"
59
- @model-value-changed=${({ target }) => console.log(target)}
59
+ @model-value-changed="${({ target }) => console.log(target)}"
60
60
  ></lion-input>
61
61
  <h-output .show="${['modelValue']}"></h-output>
62
62
  `;
@@ -165,7 +165,7 @@ export const preprocessors = () => {
165
165
  <lion-input
166
166
  label="Date Example"
167
167
  help-text="Uses .preprocessor to prevent digits"
168
- .preprocessor=${preprocess}
168
+ .preprocessor="${preprocess}"
169
169
  ></lion-input>
170
170
  <h-output .show="${['modelValue']}"></h-output>
171
171
  `;
@@ -190,14 +190,14 @@ export const liveFormatters = () => {
190
190
  label="Live Format"
191
191
  .modelValue="${new Unparseable('+31')}"
192
192
  help-text="Uses .preprocessor to format during typing"
193
- .preprocessor=${(viewValue, { currentCaretIndex, prevViewValue }) => {
193
+ .preprocessor="${(viewValue, { currentCaretIndex, prevViewValue }) => {
194
194
  return liveFormatPhoneNumber(viewValue, {
195
195
  regionCode: 'NL',
196
196
  formatStrategy: 'international',
197
197
  currentCaretIndex,
198
198
  prevViewValue,
199
199
  });
200
- }}
200
+ }}"
201
201
  ></lion-input>
202
202
  <h-output .show="${['modelValue']}"></h-output>
203
203
  `;
@@ -230,16 +230,16 @@ Below we show three flow diagrams to show the flow of formatting, serializing an
230
230
 
231
231
  Where a user changes the input with their keyboard:
232
232
 
233
- ![Standard flow](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/assets/FormatMixinDiagram-1.svg 'Standard flow')
233
+ ![Standard flow](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/assets/FormatMixinDiagram-1.svg 'Standard flow')
234
234
 
235
235
  ### Unparseable flow
236
236
 
237
237
  Where a user sets the input to something that is not parseable by the parser:
238
238
 
239
- ![Unparseable flow](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/assets/FormatMixinDiagram-2.svg 'Unparseable flow')
239
+ ![Unparseable flow](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/assets/FormatMixinDiagram-2.svg 'Unparseable flow')
240
240
 
241
241
  ### Imperative / programmatic flow
242
242
 
243
243
  Where the developer sets the modelValue of the input programmatically:
244
244
 
245
- ![Imperative flow](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/assets/FormatMixinDiagram-3.svg 'Imperative flow')
245
+ ![Imperative flow](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/assets/FormatMixinDiagram-3.svg 'Imperative flow')
@@ -21,7 +21,7 @@ level, via:
21
21
  > Internal/private concepts like viewValue, formattedValue, serializedValue are therefore not
22
22
  > recommended as a means of interaction.
23
23
 
24
- For more information about parsing and the Unparseable type, see [Formatting and Parsing](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/formatting-and-parsing.md)
24
+ For more information about parsing and the Unparseable type, see [Formatting and Parsing](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/formatting-and-parsing.md)
25
25
 
26
26
  ### Event meta
27
27
 
@@ -20,9 +20,9 @@ Fields (think of an input, textarea, select) are the actual form controls the en
20
20
 
21
21
  On top of this, they feature:
22
22
 
23
- - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
24
- - Advanced [validation](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/validate.md) possibilities.
25
- - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/interaction-states.md).
23
+ - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
24
+ - Advanced [validation](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/validate.md) possibilities.
25
+ - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/interaction-states.md).
26
26
  - Provision of labels and help texts in an easy, declarative manner.
27
27
  - Accessibility out of the box.
28
28
  - Advanced styling possibilities: map your own Design System to the internal HTML structure.
@@ -31,33 +31,33 @@ On top of this, they feature:
31
31
 
32
32
  ### Platform fields (wrappers)
33
33
 
34
- - [LionInput](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input/overview.md), a wrapper for `<input>`.
35
- - [LionTextarea](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
36
- - [LionSelect](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/select/overview.md), a wrapper for `<select>`.
34
+ - [LionInput](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input/overview.md), a wrapper for `<input>`.
35
+ - [LionTextarea](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
36
+ - [LionSelect](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/select/overview.md), a wrapper for `<select>`.
37
37
 
38
38
  ### Custom fields (wrappers)
39
39
 
40
- Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
40
+ Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
41
41
 
42
- - [LionCombobox](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/combobox/overview.md), a custom implementation of a combobox.
43
- - [LionDate](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
44
- - [LionDatepicker](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
45
- - [LionListbox](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/listbox/overview.md), a custom implementation of a listbox.
46
- - [LionInputAmount](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
47
- - [LionInputEmail](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
48
- - [LionInputIban](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
49
- - [LionInputRange](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
50
- - [LionInputStepper](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
51
- - [LionSelectRich](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
42
+ - [LionCombobox](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/combobox/overview.md), a custom implementation of a combobox.
43
+ - [LionDate](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
44
+ - [LionDatepicker](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
45
+ - [LionListbox](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/listbox/overview.md), a custom implementation of a listbox.
46
+ - [LionInputAmount](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
47
+ - [LionInputEmail](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
48
+ - [LionInputIban](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
49
+ - [LionInputRange](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
50
+ - [LionInputStepper](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
51
+ - [LionSelectRich](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
52
52
 
53
53
  ### Choice Input Fields
54
54
 
55
55
  For form controls which return a `checked-state` you can use the `lion-choice-input` mixin. It is used in:
56
56
 
57
- - [LionCheckbox](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
57
+ - [LionCheckbox](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
58
58
  - LionOption, an alternative for `<option>`.
59
- - [LionRadio](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
60
- - [LionSwitch](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/switch/overview.md), a custom implementation of a switch.
59
+ - [LionRadio](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
60
+ - [LionSwitch](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/switch/overview.md), a custom implementation of a switch.
61
61
 
62
62
  Which contains the following features:
63
63
 
@@ -69,14 +69,14 @@ Which contains the following features:
69
69
 
70
70
  Fieldsets are groups of fields. They can be considered fields on their own as well, since they partly share the normalized API via `FormControlMixin`. Fieldsets are the basis for:
71
71
 
72
- - [LionFieldset](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
73
- - [LionForm](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
74
- - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
75
- - [LionRadioGroup](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
72
+ - [LionFieldset](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
73
+ - [LionForm](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
74
+ - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
75
+ - [LionRadioGroup](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
76
76
 
77
77
  ## Other Resources
78
78
 
79
- - [Model Value](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/model-value.md)
80
- - [Formatting and parsing](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/formatting-and-parsing.md)
81
- - [Interaction states](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/interaction-states.md)
82
- - [Validation System](https://github.com/ing-bank/lion/blob/b15d2aae1a8d40d3551822279e1a650633dba428/docs/fundamentals/systems/form/validate.md)
79
+ - [Model Value](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/model-value.md)
80
+ - [Formatting and parsing](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/formatting-and-parsing.md)
81
+ - [Interaction states](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/interaction-states.md)
82
+ - [Validation System](https://github.com/ing-bank/lion/blob/a59d362cc1228fc855b426440f4bed3bd21d594b/docs/fundamentals/systems/form/validate.md)
@@ -88,9 +88,9 @@ export const main = () => {
88
88
  .validators="${[new Required()]}"
89
89
  .fieldName="${'value'}"
90
90
  >
91
- <lion-checkbox .choiceValue=${'foo'} label="I like foo"></lion-checkbox>
92
- <lion-checkbox .choiceValue=${'bar'} label="I like bar"></lion-checkbox>
93
- <lion-checkbox .choiceValue=${'baz'} label="I like baz"></lion-checkbox>
91
+ <lion-checkbox .choiceValue="${'foo'}" label="I like foo"></lion-checkbox>
92
+ <lion-checkbox .choiceValue="${'bar'}" label="I like bar"></lion-checkbox>
93
+ <lion-checkbox .choiceValue="${'baz'}" label="I like baz"></lion-checkbox>
94
94
  </lion-checkbox-group>
95
95
  <lion-radio-group
96
96
  name="dinosaurs"
@@ -98,14 +98,14 @@ export const main = () => {
98
98
  .fieldName="${'dinosaur'}"
99
99
  .validators="${[new Required()]}"
100
100
  >
101
- <lion-radio .choiceValue=${'allosaurus'} label="allosaurus"></lion-radio>
102
- <lion-radio .choiceValue=${'brontosaurus'} label="brontosaurus"></lion-radio>
103
- <lion-radio .choiceValue=${'diplodocus'} label="diplodocus"></lion-radio>
101
+ <lion-radio .choiceValue="${'allosaurus'}" label="allosaurus"></lion-radio>
102
+ <lion-radio .choiceValue="${'brontosaurus'}" label="brontosaurus"></lion-radio>
103
+ <lion-radio .choiceValue="${'diplodocus'}" label="diplodocus"></lion-radio>
104
104
  </lion-radio-group>
105
105
  <lion-listbox name="favoriteFruit" label="Favorite fruit">
106
- <lion-option .choiceValue=${'Apple'}>Apple</lion-option>
107
- <lion-option checked .choiceValue=${'Banana'}>Banana</lion-option>
108
- <lion-option .choiceValue=${'Mango'}>Mango</lion-option>
106
+ <lion-option .choiceValue="${'Apple'}">Apple</lion-option>
107
+ <lion-option checked .choiceValue="${'Banana'}">Banana</lion-option>
108
+ <lion-option .choiceValue="${'Mango'}">Mango</lion-option>
109
109
  </lion-listbox>
110
110
  <lion-combobox
111
111
  .validators="${[new Required()]}"
@@ -113,17 +113,17 @@ export const main = () => {
113
113
  label="Favorite movie"
114
114
  autocomplete="both"
115
115
  >
116
- <lion-option checked .choiceValue=${'Rocky'}>Rocky</lion-option>
117
- <lion-option .choiceValue=${'Rocky II'}>Rocky II</lion-option>
118
- <lion-option .choiceValue=${'Rocky III'}>Rocky III</lion-option>
119
- <lion-option .choiceValue=${'Rocky IV'}>Rocky IV</lion-option>
120
- <lion-option .choiceValue=${'Rocky V'}>Rocky V</lion-option>
121
- <lion-option .choiceValue=${'Rocky Balboa'}>Rocky Balboa</lion-option>
116
+ <lion-option checked .choiceValue="${'Rocky'}">Rocky</lion-option>
117
+ <lion-option .choiceValue="${'Rocky II'}">Rocky II</lion-option>
118
+ <lion-option .choiceValue="${'Rocky III'}">Rocky III</lion-option>
119
+ <lion-option .choiceValue="${'Rocky IV'}">Rocky IV</lion-option>
120
+ <lion-option .choiceValue="${'Rocky V'}">Rocky V</lion-option>
121
+ <lion-option .choiceValue="${'Rocky Balboa'}">Rocky Balboa</lion-option>
122
122
  </lion-combobox>
123
123
  <lion-select-rich name="favoriteColor" label="Favorite color">
124
- <lion-option .choiceValue=${'red'}>Red</lion-option>
125
- <lion-option .choiceValue=${'hotpink'} checked>Hotpink</lion-option>
126
- <lion-option .choiceValue=${'teal'}>Teal</lion-option>
124
+ <lion-option .choiceValue="${'red'}">Red</lion-option>
125
+ <lion-option .choiceValue="${'hotpink'}" checked>Hotpink</lion-option>
126
+ <lion-option .choiceValue="${'teal'}">Teal</lion-option>
127
127
  </lion-select-rich>
128
128
  <lion-select label="Lyrics" name="lyrics" .validators="${[new Required()]}">
129
129
  <select slot="input">
@@ -162,7 +162,7 @@ export const main = () => {
162
162
  <div class="buttons">
163
163
  <lion-button-submit>Submit</lion-button-submit>
164
164
  <lion-button-reset
165
- @click=${ev => ev.currentTarget.parentElement.parentElement.parentElement.resetGroup()}
165
+ @click="${ev => ev.currentTarget.parentElement.parentElement.parentElement.resetGroup()}"
166
166
  >Reset</lion-button-reset
167
167
  >
168
168
  </div>