@lion/ui 0.11.1 → 0.11.3

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 (228) hide show
  1. package/README.md +2 -2
  2. package/components/combobox/src/LionCombobox.js +1 -3
  3. package/components/combobox/test/lion-combobox.test.js +126 -1
  4. package/components/localize/src/date/parseDate.js +6 -1
  5. package/components/localize/src/date/utils/checkYearFormat.js +8 -0
  6. package/components/localize/test/date/parseDate.test.js +6 -0
  7. package/custom-elements.json +33 -0
  8. package/dist-types/components/combobox/src/LionCombobox.d.ts.map +1 -1
  9. package/dist-types/components/localize/src/date/parseDate.d.ts.map +1 -1
  10. package/dist-types/components/localize/src/date/utils/checkYearFormat.d.ts +7 -0
  11. package/dist-types/components/localize/src/date/utils/checkYearFormat.d.ts.map +1 -0
  12. package/dist-types/tsconfig.tsbuildinfo +1 -1
  13. package/docs/components/accordion/api-table.md +13 -1
  14. package/docs/components/accordion/index.md +10 -0
  15. package/docs/components/accordion/overview.md +13 -1
  16. package/docs/components/accordion/reference.md +13 -1
  17. package/docs/components/accordion/use-cases.md +13 -1
  18. package/docs/components/button/api-table.md +13 -1
  19. package/docs/components/button/examples.md +13 -1
  20. package/docs/components/button/extensions.md +13 -1
  21. package/docs/components/button/index.md +11 -1
  22. package/docs/components/button/overview.md +13 -1
  23. package/docs/components/button/use-cases.md +13 -1
  24. package/docs/components/calendar/api-table.md +13 -1
  25. package/docs/components/calendar/index.md +11 -1
  26. package/docs/components/calendar/overview.md +13 -1
  27. package/docs/components/calendar/use-cases.md +13 -1
  28. package/docs/components/checkbox-group/api-table.md +13 -1
  29. package/docs/components/checkbox-group/index.md +11 -1
  30. package/docs/components/checkbox-group/overview.md +15 -3
  31. package/docs/components/checkbox-group/use-cases.md +13 -1
  32. package/docs/components/collapsible/api-table.md +13 -1
  33. package/docs/components/collapsible/examples.md +13 -1
  34. package/docs/components/collapsible/index.md +11 -1
  35. package/docs/components/collapsible/overview.md +14 -2
  36. package/docs/components/collapsible/use-cases.md +13 -1
  37. package/docs/components/combobox/api-table.md +13 -1
  38. package/docs/components/combobox/extensions.md +13 -1
  39. package/docs/components/combobox/index.md +11 -1
  40. package/docs/components/combobox/overview.md +14 -2
  41. package/docs/components/combobox/use-cases.md +14 -2
  42. package/docs/components/dialog/api-table.md +13 -1
  43. package/docs/components/dialog/index.md +11 -1
  44. package/docs/components/dialog/overview.md +14 -2
  45. package/docs/components/dialog/use-cases.md +13 -1
  46. package/docs/components/drawer/api-table.md +13 -1
  47. package/docs/components/drawer/index.md +11 -1
  48. package/docs/components/drawer/overview.md +13 -1
  49. package/docs/components/drawer/use-cases.md +13 -1
  50. package/docs/components/fieldset/api-table.md +13 -1
  51. package/docs/components/fieldset/index.md +11 -1
  52. package/docs/components/fieldset/overview.md +18 -6
  53. package/docs/components/fieldset/use-cases.md +13 -1
  54. package/docs/components/form/api-table.md +12 -1
  55. package/docs/components/form/index.md +11 -1
  56. package/docs/components/form/overview.md +16 -4
  57. package/docs/components/form/use-cases.md +15 -3
  58. package/docs/components/icon/api-table.md +13 -1
  59. package/docs/components/icon/index.md +11 -1
  60. package/docs/components/icon/overview.md +13 -1
  61. package/docs/components/icon/use-cases.md +14 -2
  62. package/docs/components/index.md +11 -1
  63. package/docs/components/input/api-table.md +13 -1
  64. package/docs/components/input/index.md +11 -1
  65. package/docs/components/input/overview.md +14 -2
  66. package/docs/components/input/use-cases.md +13 -1
  67. package/docs/components/input-amount/api-table.md +13 -1
  68. package/docs/components/input-amount/index.md +11 -1
  69. package/docs/components/input-amount/overview.md +16 -4
  70. package/docs/components/input-amount/use-cases.md +13 -1
  71. package/docs/components/input-date/api-table.md +13 -1
  72. package/docs/components/input-date/index.md +11 -1
  73. package/docs/components/input-date/overview.md +16 -4
  74. package/docs/components/input-date/use-cases.md +13 -1
  75. package/docs/components/input-datepicker/api-table.md +13 -1
  76. package/docs/components/input-datepicker/index.md +11 -1
  77. package/docs/components/input-datepicker/overview.md +18 -6
  78. package/docs/components/input-datepicker/use-cases.md +13 -1
  79. package/docs/components/input-email/api-table.md +13 -1
  80. package/docs/components/input-email/index.md +11 -1
  81. package/docs/components/input-email/overview.md +15 -3
  82. package/docs/components/input-email/use-cases.md +13 -1
  83. package/docs/components/input-file/api-table.md +13 -1
  84. package/docs/components/input-file/index.md +11 -1
  85. package/docs/components/input-file/overview.md +14 -2
  86. package/docs/components/input-file/use-cases.md +13 -1
  87. package/docs/components/input-iban/api-table.md +13 -1
  88. package/docs/components/input-iban/index.md +11 -1
  89. package/docs/components/input-iban/overview.md +15 -3
  90. package/docs/components/input-iban/use-cases.md +13 -1
  91. package/docs/components/input-range/api-table.md +13 -1
  92. package/docs/components/input-range/index.md +11 -1
  93. package/docs/components/input-range/overview.md +15 -3
  94. package/docs/components/input-range/use-cases.md +13 -1
  95. package/docs/components/input-stepper/api-table.md +13 -1
  96. package/docs/components/input-stepper/index.md +11 -1
  97. package/docs/components/input-stepper/overview.md +14 -2
  98. package/docs/components/input-stepper/use-cases.md +13 -1
  99. package/docs/components/input-tel/api-table.md +13 -1
  100. package/docs/components/input-tel/index.md +11 -1
  101. package/docs/components/input-tel/overview.md +14 -2
  102. package/docs/components/input-tel/use-cases.md +19 -7
  103. package/docs/components/input-tel-dropdown/api-table.md +13 -1
  104. package/docs/components/input-tel-dropdown/extensions.md +13 -1
  105. package/docs/components/input-tel-dropdown/index.md +11 -1
  106. package/docs/components/input-tel-dropdown/overview.md +14 -2
  107. package/docs/components/input-tel-dropdown/use-cases.md +13 -1
  108. package/docs/components/listbox/api-table.md +13 -1
  109. package/docs/components/listbox/index.md +11 -1
  110. package/docs/components/listbox/overview.md +13 -1
  111. package/docs/components/listbox/use-cases.md +14 -2
  112. package/docs/components/pagination/api-table.md +13 -1
  113. package/docs/components/pagination/index.md +11 -1
  114. package/docs/components/pagination/overview.md +13 -1
  115. package/docs/components/pagination/use-cases.md +13 -1
  116. package/docs/components/progress-indicator/api-table.md +13 -1
  117. package/docs/components/progress-indicator/examples.md +13 -1
  118. package/docs/components/progress-indicator/index.md +11 -1
  119. package/docs/components/progress-indicator/overview.md +13 -1
  120. package/docs/components/radio-group/api-table.md +13 -1
  121. package/docs/components/radio-group/index.md +11 -1
  122. package/docs/components/radio-group/overview.md +16 -4
  123. package/docs/components/radio-group/use-cases.md +13 -1
  124. package/docs/components/select/api-table.md +13 -1
  125. package/docs/components/select/index.md +11 -1
  126. package/docs/components/select/overview.md +13 -1
  127. package/docs/components/select/use-cases.md +14 -2
  128. package/docs/components/select-rich/api-table.md +13 -1
  129. package/docs/components/select-rich/examples.md +13 -1
  130. package/docs/components/select-rich/index.md +11 -1
  131. package/docs/components/select-rich/overview.md +13 -1
  132. package/docs/components/select-rich/use-cases.md +14 -2
  133. package/docs/components/steps/api-table.md +13 -1
  134. package/docs/components/steps/index.md +11 -1
  135. package/docs/components/steps/overview.md +13 -1
  136. package/docs/components/steps/use-cases.md +13 -1
  137. package/docs/components/switch/api-table.md +13 -1
  138. package/docs/components/switch/index.md +11 -1
  139. package/docs/components/switch/overview.md +13 -1
  140. package/docs/components/switch/reference.md +13 -1
  141. package/docs/components/switch/use-cases.md +13 -1
  142. package/docs/components/tabs/api-table.md +13 -1
  143. package/docs/components/tabs/examples.md +14 -2
  144. package/docs/components/tabs/index.md +11 -1
  145. package/docs/components/tabs/overview.md +13 -1
  146. package/docs/components/tabs/use-cases.md +13 -1
  147. package/docs/components/textarea/api-table.md +13 -1
  148. package/docs/components/textarea/index.md +11 -1
  149. package/docs/components/textarea/overview.md +13 -1
  150. package/docs/components/textarea/use-cases.md +13 -1
  151. package/docs/components/tooltip/api-table.md +13 -1
  152. package/docs/components/tooltip/examples.md +13 -1
  153. package/docs/components/tooltip/index.md +11 -1
  154. package/docs/components/tooltip/overview.md +13 -1
  155. package/docs/components/tooltip/use-cases.md +13 -1
  156. package/docs/fundamentals/index.md +4 -4
  157. package/docs/fundamentals/node-tools/babel-plugin-extend-docs/index.md +12 -0
  158. package/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md +13 -0
  159. package/docs/fundamentals/node-tools/index.md +10 -0
  160. package/docs/fundamentals/node-tools/providence-analytics/index.md +12 -0
  161. package/docs/fundamentals/node-tools/providence-analytics/overview.md +13 -0
  162. package/docs/fundamentals/node-tools/publish-docs/index.md +12 -0
  163. package/docs/fundamentals/node-tools/publish-docs/overview.md +16 -3
  164. package/docs/fundamentals/node-tools/remark-extend/index.md +12 -0
  165. package/docs/fundamentals/node-tools/remark-extend/overview.md +13 -0
  166. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/index.md +12 -0
  167. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +15 -2
  168. package/docs/fundamentals/rationales/TypeScript.md +12 -0
  169. package/docs/fundamentals/rationales/accessibility.md +13 -1
  170. package/docs/fundamentals/rationales/index.md +10 -0
  171. package/docs/fundamentals/rationales/side-effects.md +12 -0
  172. package/docs/fundamentals/rationales/versioning.md +12 -0
  173. package/docs/fundamentals/systems/core/SlotMixin.md +14 -1
  174. package/docs/fundamentals/systems/core/api-table.md +14 -1
  175. package/docs/fundamentals/systems/core/index.md +12 -0
  176. package/docs/fundamentals/systems/core/overview.md +14 -1
  177. package/docs/fundamentals/systems/form/api-table.md +14 -1
  178. package/docs/fundamentals/systems/form/formatting-and-parsing.md +17 -4
  179. package/docs/fundamentals/systems/form/index.md +12 -0
  180. package/docs/fundamentals/systems/form/interaction-states.md +13 -0
  181. package/docs/fundamentals/systems/form/model-value.md +14 -1
  182. package/docs/fundamentals/systems/form/overview.md +41 -28
  183. package/docs/fundamentals/systems/form/styling.md +13 -0
  184. package/docs/fundamentals/systems/form/use-cases.md +13 -0
  185. package/docs/fundamentals/systems/form/validate.md +15 -2
  186. package/docs/fundamentals/systems/icon/index.md +12 -0
  187. package/docs/fundamentals/systems/icon/overview.md +13 -0
  188. package/docs/fundamentals/systems/index.md +10 -0
  189. package/docs/fundamentals/systems/localize/api-table.md +14 -1
  190. package/docs/fundamentals/systems/localize/dates.md +13 -0
  191. package/docs/fundamentals/systems/localize/index.md +12 -0
  192. package/docs/fundamentals/systems/localize/numbers.md +13 -0
  193. package/docs/fundamentals/systems/localize/overview.md +17 -4
  194. package/docs/fundamentals/systems/localize/rationale.md +13 -0
  195. package/docs/fundamentals/systems/localize/text.md +13 -0
  196. package/docs/fundamentals/systems/localize/use-cases.md +13 -0
  197. package/docs/fundamentals/systems/overlays/_configuration-positioning.md +11 -0
  198. package/docs/fundamentals/systems/overlays/_edge-cases.md +10 -0
  199. package/docs/fundamentals/systems/overlays/api-table.md +14 -1
  200. package/docs/fundamentals/systems/overlays/configuration.md +15 -2
  201. package/docs/fundamentals/systems/overlays/index.md +12 -0
  202. package/docs/fundamentals/systems/overlays/overview.md +18 -5
  203. package/docs/fundamentals/systems/overlays/rationale.md +13 -0
  204. package/docs/fundamentals/systems/overlays/use-cases.md +15 -2
  205. package/docs/fundamentals/tools/ajax/index.md +12 -0
  206. package/docs/fundamentals/tools/ajax/overview.md +13 -0
  207. package/docs/fundamentals/tools/ajax/use-cases.md +13 -0
  208. package/docs/fundamentals/tools/helpers/action-logger.md +13 -0
  209. package/docs/fundamentals/tools/helpers/index.md +12 -0
  210. package/docs/fundamentals/tools/helpers/overview.md +14 -1
  211. package/docs/fundamentals/tools/index.md +10 -0
  212. package/docs/fundamentals/tools/singleton-manager/example-complex/index.md +13 -0
  213. package/docs/fundamentals/tools/singleton-manager/example-fail/index.md +13 -0
  214. package/docs/fundamentals/tools/singleton-manager/example-success/index.md +13 -0
  215. package/docs/fundamentals/tools/singleton-manager/index.md +12 -0
  216. package/docs/fundamentals/tools/singleton-manager/overview.md +17 -4
  217. package/docs/guides/how-to/create-a-custom-field.md +18 -6
  218. package/docs/guides/how-to/create-a-form.md +17 -5
  219. package/docs/guides/how-to/extend-a-native-input.md +15 -3
  220. package/docs/guides/how-to/get-started.md +13 -1
  221. package/docs/guides/how-to/index.md +11 -1
  222. package/docs/guides/index.md +19 -9
  223. package/docs/guides/principles/definitions-and-terms.md +13 -1
  224. package/docs/guides/principles/index.md +16 -6
  225. package/docs/guides/principles/scoped-elements.md +13 -1
  226. package/docs/guides/principles/styling.md +14 -2
  227. package/docs/guides/principles/subclasser-apis.md +13 -1
  228. package/package.json +1 -1
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Formatting and Parsing
4
+ - Form
5
+ - Systems
6
+ title: 'Form: Formatting and Parsing'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> Formatting and Parsing
9
+ title: Formatting and Parsing
10
+ order: 21
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> Formatting and Parsing ||21
2
15
 
3
16
  ```js script
@@ -23,7 +36,7 @@ Our fields can automatically format/parse/serialize user input or an input set i
23
36
 
24
37
  Below are some concrete examples of implementations of formatters and parsers mimicking a (basic) amount input.
25
38
 
26
- > For an actual amount input, check out [lion-input-amount](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-amount/overview.md).
39
+ > For an actual amount input, check out [lion-input-amount](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-amount/overview.md).
27
40
  > This comes with its own formatter, parser, serializer.
28
41
 
29
42
  ### Parsers & modelValue
@@ -230,16 +243,16 @@ Below we show three flow diagrams to show the flow of formatting, serializing an
230
243
 
231
244
  Where a user changes the input with their keyboard:
232
245
 
233
- ![Standard flow](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/assets/FormatMixinDiagram-1.svg 'Standard flow')
246
+ ![Standard flow](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/assets/FormatMixinDiagram-1.svg 'Standard flow')
234
247
 
235
248
  ### Unparseable flow
236
249
 
237
250
  Where a user sets the input to something that is not parseable by the parser:
238
251
 
239
- ![Unparseable flow](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/assets/FormatMixinDiagram-2.svg 'Unparseable flow')
252
+ ![Unparseable flow](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/assets/FormatMixinDiagram-2.svg 'Unparseable flow')
240
253
 
241
254
  ### Imperative / programmatic flow
242
255
 
243
256
  Where the developer sets the modelValue of the input programmatically:
244
257
 
245
- ![Imperative flow](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/assets/FormatMixinDiagram-3.svg 'Imperative flow')
258
+ ![Imperative flow](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/assets/FormatMixinDiagram-3.svg 'Imperative flow')
@@ -1,3 +1,15 @@
1
+ ---
2
+ parts:
3
+ - Form
4
+ - Systems
5
+ title: 'Systems: Form'
6
+ eleventyNavigation:
7
+ key: Systems >> Form
8
+ title: Form
9
+ order: 20
10
+ parent: Systems
11
+ ---
12
+
1
13
  # Systems >> Form ||20
2
14
 
3
15
  -> go to Overview
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Interaction States
4
+ - Form
5
+ - Systems
6
+ title: 'Form: Interaction States'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> Interaction States
9
+ title: Interaction States
10
+ order: 22
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> Interaction States ||22
2
15
 
3
16
  ```js script
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - ModelValue
4
+ - Form
5
+ - Systems
6
+ title: 'Form: ModelValue'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> ModelValue
9
+ title: ModelValue
10
+ order: 20
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> ModelValue ||20
2
15
 
3
16
  The modelValue or model can be considered as the ‘aorta’ of our form system.
@@ -21,7 +34,7 @@ level, via:
21
34
  > Internal/private concepts like viewValue, formattedValue, serializedValue are therefore not
22
35
  > recommended as a means of interaction.
23
36
 
24
- For more information about parsing and the Unparseable type, see [Formatting and Parsing](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/formatting-and-parsing.md)
37
+ For more information about parsing and the Unparseable type, see [Formatting and Parsing](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/formatting-and-parsing.md)
25
38
 
26
39
  ### Event meta
27
40
 
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Overview
4
+ - Form
5
+ - Systems
6
+ title: 'Form: Overview'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> Overview
9
+ title: Overview
10
+ order: 10
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> Overview ||10
2
15
 
3
16
  This page should be used as a starting point when first using the Form System.
@@ -20,9 +33,9 @@ Fields (think of an input, textarea, select) are the actual form controls the en
20
33
 
21
34
  On top of this, they feature:
22
35
 
23
- - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
24
- - Advanced [validation](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/validate.md) possibilities.
25
- - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/interaction-states.md).
36
+ - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
37
+ - Advanced [validation](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/validate.md) possibilities.
38
+ - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/interaction-states.md).
26
39
  - Provision of labels and help texts in an easy, declarative manner.
27
40
  - Accessibility out of the box.
28
41
  - Advanced styling possibilities: map your own Design System to the internal HTML structure.
@@ -31,33 +44,33 @@ On top of this, they feature:
31
44
 
32
45
  ### Platform fields (wrappers)
33
46
 
34
- - [LionInput](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input/overview.md), a wrapper for `<input>`.
35
- - [LionTextarea](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
36
- - [LionSelect](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/select/overview.md), a wrapper for `<select>`.
47
+ - [LionInput](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input/overview.md), a wrapper for `<input>`.
48
+ - [LionTextarea](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
49
+ - [LionSelect](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/select/overview.md), a wrapper for `<select>`.
37
50
 
38
51
  ### Custom fields (wrappers)
39
52
 
40
- Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
53
+ Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
41
54
 
42
- - [LionCombobox](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/combobox/overview.md), a custom implementation of a combobox.
43
- - [LionDate](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
44
- - [LionDatepicker](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/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/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/listbox/overview.md), a custom implementation of a listbox.
46
- - [LionInputAmount](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
47
- - [LionInputEmail](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
48
- - [LionInputIban](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
49
- - [LionInputRange](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
50
- - [LionInputStepper](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
51
- - [LionSelectRich](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
55
+ - [LionCombobox](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/combobox/overview.md), a custom implementation of a combobox.
56
+ - [LionDate](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
57
+ - [LionDatepicker](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
58
+ - [LionListbox](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/listbox/overview.md), a custom implementation of a listbox.
59
+ - [LionInputAmount](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
60
+ - [LionInputEmail](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
61
+ - [LionInputIban](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
62
+ - [LionInputRange](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
63
+ - [LionInputStepper](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
64
+ - [LionSelectRich](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
52
65
 
53
66
  ### Choice Input Fields
54
67
 
55
68
  For form controls which return a `checked-state` you can use the `lion-choice-input` mixin. It is used in:
56
69
 
57
- - [LionCheckbox](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
70
+ - [LionCheckbox](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
58
71
  - LionOption, an alternative for `<option>`.
59
- - [LionRadio](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
60
- - [LionSwitch](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/switch/overview.md), a custom implementation of a switch.
72
+ - [LionRadio](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
73
+ - [LionSwitch](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/switch/overview.md), a custom implementation of a switch.
61
74
 
62
75
  Which contains the following features:
63
76
 
@@ -69,14 +82,14 @@ Which contains the following features:
69
82
 
70
83
  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
84
 
72
- - [LionFieldset](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
73
- - [LionForm](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
74
- - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
75
- - [LionRadioGroup](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
85
+ - [LionFieldset](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
86
+ - [LionForm](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
87
+ - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
88
+ - [LionRadioGroup](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
76
89
 
77
90
  ## Other Resources
78
91
 
79
- - [Model Value](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/model-value.md)
80
- - [Formatting and parsing](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/formatting-and-parsing.md)
81
- - [Interaction states](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/interaction-states.md)
82
- - [Validation System](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/validate.md)
92
+ - [Model Value](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/model-value.md)
93
+ - [Formatting and parsing](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/formatting-and-parsing.md)
94
+ - [Interaction states](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/interaction-states.md)
95
+ - [Validation System](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/validate.md)
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Styling
4
+ - Form
5
+ - Systems
6
+ title: 'Form: Styling'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> Styling
9
+ title: Styling
10
+ order: 40
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> Styling ||40
2
15
 
3
16
  ```js script
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Use Cases
4
+ - Form
5
+ - Systems
6
+ title: 'Form: Use Cases'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> Use Cases
9
+ title: Use Cases
10
+ order: 50
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> Use Cases ||50
2
15
 
3
16
  This is a meta package to show interaction between various form elements.
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Validate
4
+ - Form
5
+ - Systems
6
+ title: 'Form: Validate'
7
+ eleventyNavigation:
8
+ key: Systems >> Form >> Validate
9
+ title: Validate
10
+ order: 30
11
+ parent: Systems >> Form
12
+ ---
13
+
1
14
  # Systems >> Form >> Validate ||30
2
15
 
3
16
  ```js script
@@ -57,7 +70,7 @@ Validation happens on every change of `modelValue`. A change in modelValue can b
57
70
 
58
71
  ## When validation feedback will be shown
59
72
 
60
- Although validation happens realtime under the hood, displaying validity feedback in realtime may not always lead to the desired User Experience. Together with [interaction states](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/interaction-states.md),
73
+ Although validation happens realtime under the hood, displaying validity feedback in realtime may not always lead to the desired User Experience. Together with [interaction states](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/interaction-states.md),
61
74
  validity states can determine whether a validation message should be shown along the input field.
62
75
 
63
76
  ## Assessing field validation state programmatically
@@ -232,7 +245,7 @@ export const requiredValidator = () => html`
232
245
  `;
233
246
  ```
234
247
 
235
- The default `Required` validation message is "Please, enter a(n) {fieldName}". In which the "fieldName" can be provided separately via the `fieldName` attribute, with a fallback to the label. See [override fieldname](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/#override-fieldname) for more information.
248
+ The default `Required` validation message is "Please, enter a(n) {fieldName}". In which the "fieldName" can be provided separately via the `fieldName` attribute, with a fallback to the label. See [override fieldname](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/form/#override-fieldname) for more information.
236
249
 
237
250
  Specific required messages for a select and file-upload are created.
238
251
 
@@ -1,3 +1,15 @@
1
+ ---
2
+ parts:
3
+ - Icon
4
+ - Systems
5
+ title: 'Systems: Icon'
6
+ eleventyNavigation:
7
+ key: Systems >> Icon
8
+ title: Icon
9
+ order: 40
10
+ parent: Systems
11
+ ---
12
+
1
13
  # Systems >> Icon ||40
2
14
 
3
15
  -> go to Overview
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Overview
4
+ - Icon
5
+ - Systems
6
+ title: 'Icon: Overview'
7
+ eleventyNavigation:
8
+ key: Systems >> Icon >> Overview
9
+ title: Overview
10
+ order: 10
11
+ parent: Systems >> Icon
12
+ ---
13
+
1
14
  # Systems >> Icon >> Overview ||10
2
15
 
3
16
  The icon system provides a way of defining icon sets which are lazily loaded on demand when
@@ -1 +1,11 @@
1
+ ---
2
+ parts:
3
+ - Systems
4
+ title: Systems
5
+ eleventyNavigation:
6
+ key: Systems
7
+ title: Systems
8
+ order: 20
9
+ ---
10
+
1
11
  # Systems ||20
@@ -1,4 +1,17 @@
1
- # Systems >> Localize >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: API Table'
7
+ eleventyNavigation:
8
+ key: API Table >> Localize >> Systems
9
+ title: API Table
10
+ order: 90
11
+ parent: Systems >> Localize
12
+ ---
13
+ # Localize: API Table
14
+
2
15
 
3
16
  ## class: `LocalizeManager`
4
17
 
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Format Dates
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: Format Dates'
7
+ eleventyNavigation:
8
+ key: Systems >> Localize >> Format Dates
9
+ title: Format Dates
10
+ order: 40
11
+ parent: Systems >> Localize
12
+ ---
13
+
1
14
  # Systems >> Localize >> Format Dates ||40
2
15
 
3
16
  ## Features
@@ -1,3 +1,15 @@
1
+ ---
2
+ parts:
3
+ - Localize
4
+ - Systems
5
+ title: 'Systems: Localize'
6
+ eleventyNavigation:
7
+ key: Systems >> Localize
8
+ title: Localize
9
+ order: 30
10
+ parent: Systems
11
+ ---
12
+
1
13
  # Systems >> Localize ||30
2
14
 
3
15
  -> go to Overview
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Format Numbers
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: Format Numbers'
7
+ eleventyNavigation:
8
+ key: Systems >> Localize >> Format Numbers
9
+ title: Format Numbers
10
+ order: 30
11
+ parent: Systems >> Localize
12
+ ---
13
+
1
14
  # Systems >> Localize >> Format Numbers ||30
2
15
 
3
16
  ## Features
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Overview
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: Overview'
7
+ eleventyNavigation:
8
+ key: Systems >> Localize >> Overview
9
+ title: Overview
10
+ order: 10
11
+ parent: Systems >> Localize
12
+ ---
13
+
1
14
  # Systems >> Localize >> Overview ||10
2
15
 
3
16
  Is meant to translate text into multiple languages.
@@ -9,15 +22,15 @@ In it's simplest form it is a function that returns the translated text for a na
9
22
  - Formatting of numbers, amounts
10
23
  - Formatting of dates
11
24
 
12
- Further examples and a more in depth description can be found at the [Use Cases Page](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/localize/use-cases.md).
25
+ Further examples and a more in depth description can be found at the [Use Cases Page](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/localize/use-cases.md).
13
26
 
14
27
  ## Content
15
28
 
16
29
  | Feature | Description |
17
30
  | ---------------------------------------- | --------------------------------------------- |
18
- | [Translate Text](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/localize/text.md) | Load and translate text in multiple languages |
19
- | [Format Numbers](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/localize/numbers.md) | Format numbers in multiple languages |
20
- | [Format Dates](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/localize/dates.md) | Format dates in multiple languages |
31
+ | [Translate Text](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/localize/text.md) | Load and translate text in multiple languages |
32
+ | [Format Numbers](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/localize/numbers.md) | Format numbers in multiple languages |
33
+ | [Format Dates](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/localize/dates.md) | Format dates in multiple languages |
21
34
 
22
35
  ## Installation
23
36
 
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Rationale
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: Rationale'
7
+ eleventyNavigation:
8
+ key: Systems >> Localize >> Rationale
9
+ title: Rationale
10
+ order: 60
11
+ parent: Systems >> Localize
12
+ ---
13
+
1
14
  # Systems >> Localize >> Rationale ||60
2
15
 
3
16
  ## Requirements
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Translate Text
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: Translate Text'
7
+ eleventyNavigation:
8
+ key: Systems >> Localize >> Translate Text
9
+ title: Translate Text
10
+ order: 20
11
+ parent: Systems >> Localize
12
+ ---
13
+
1
14
  # Systems >> Localize >> Translate Text ||20
2
15
 
3
16
  ## As a function
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Use Cases
4
+ - Localize
5
+ - Systems
6
+ title: 'Localize: Use Cases'
7
+ eleventyNavigation:
8
+ key: Systems >> Localize >> Use Cases
9
+ title: Use Cases
10
+ order: 50
11
+ parent: Systems >> Localize
12
+ ---
13
+
1
14
  # Systems >> Localize >> Use Cases ||50
2
15
 
3
16
  The localization system helps to manage localization data split into locales and automate its loading.
@@ -1,5 +1,16 @@
1
1
  ---
2
2
  eleventyExcludeFromCollections: true
3
+ parts:
4
+ - Positioning
5
+ - Configuration
6
+ - Overlays
7
+ - Systems
8
+ title: 'Configuration: Positioning'
9
+ eleventyNavigation:
10
+ key: Systems >> Overlays >> Configuration >> Positioning
11
+ title: Positioning
12
+ order: 40
13
+ parent: Systems >> Overlays >> Configuration
3
14
  ---
4
15
 
5
16
  # Systems >> Overlays >> Configuration >> Positioning ||40
@@ -1,5 +1,15 @@
1
1
  ---
2
2
  eleventyExcludeFromCollections: true
3
+ parts:
4
+ - Edge cases
5
+ - Overlays
6
+ - Systems
7
+ title: 'Overlays: Edge cases'
8
+ eleventyNavigation:
9
+ key: Systems >> Overlays >> Edge cases
10
+ title: Edge cases
11
+ order: 10
12
+ parent: Systems >> Overlays
3
13
  ---
4
14
 
5
15
  # Systems >> Overlays >> Edge cases ||10
@@ -1,4 +1,17 @@
1
- # Systems >> Overlays >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Overlays
5
+ - Systems
6
+ title: 'Overlays: API Table'
7
+ eleventyNavigation:
8
+ key: API Table >> Overlays >> Systems
9
+ title: API Table
10
+ order: 90
11
+ parent: Systems >> Overlays
12
+ ---
13
+ # Overlays: API Table
14
+
2
15
 
3
16
  ## class: `OverlayController`
4
17
 
@@ -1,3 +1,16 @@
1
+ ---
2
+ parts:
3
+ - Configuration
4
+ - Overlays
5
+ - Systems
6
+ title: 'Overlays: Configuration'
7
+ eleventyNavigation:
8
+ key: Systems >> Overlays >> Configuration
9
+ title: Configuration
10
+ order: 40
11
+ parent: Systems >> Overlays
12
+ ---
13
+
1
14
  # Systems >> Overlays >> Configuration ||40
2
15
 
3
16
  ```js script
@@ -99,7 +112,7 @@ export const alertDialog = () => {
99
112
 
100
113
  ## isTooltip (placementMode: 'local')
101
114
 
102
- As specified in the [overlay rationale](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/overlays/rationale.md) there are only two official types of overlays: dialogs and tooltips. And their main differences are:
115
+ As specified in the [overlay rationale](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/fundamentals/systems/overlays/rationale.md) there are only two official types of overlays: dialogs and tooltips. And their main differences are:
103
116
 
104
117
  - Dialogs have a modal option, tooltips don’t
105
118
  - Dialogs have interactive content, tooltips don’t
@@ -430,7 +443,7 @@ Features:
430
443
 
431
444
  > Popper strictly is scoped on positioning. **It does not change the dimensions of the content node nor the invoker node**.
432
445
  > This also means that if you use the arrow feature, you are in charge of styling it properly, use the data-popper-placement attribute for this.
433
- > An example implementation can be found in [lion-tooltip](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/tooltip/overview.md), where an arrow is set by default.
446
+ > An example implementation can be found in [lion-tooltip](https://github.com/ing-bank/lion/blob/0c3425c2b9f0cbb8c2680b033ba775170b92c641/docs/components/tooltip/overview.md), where an arrow is set by default.
434
447
 
435
448
  To override the default options we set for local mode, you add a `popperConfig` object to the config passed to the OverlayController.
436
449
  Here's a succinct overview of some often used popper properties:
@@ -1,3 +1,15 @@
1
+ ---
2
+ parts:
3
+ - Overlays
4
+ - Systems
5
+ title: 'Systems: Overlays'
6
+ eleventyNavigation:
7
+ key: Systems >> Overlays
8
+ title: Overlays
9
+ order: 40
10
+ parent: Systems
11
+ ---
12
+
1
13
  # Systems >> Overlays ||40
2
14
 
3
15
  -> go to Overview