@lion/ui 0.11.1 → 0.11.2

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 (226) hide show
  1. package/README.md +2 -2
  2. package/components/combobox/test/lion-combobox.test.js +75 -1
  3. package/components/localize/src/date/parseDate.js +6 -1
  4. package/components/localize/src/date/utils/checkYearFormat.js +8 -0
  5. package/components/localize/test/date/parseDate.test.js +6 -0
  6. package/custom-elements.json +63 -30
  7. package/dist-types/components/localize/src/date/parseDate.d.ts.map +1 -1
  8. package/dist-types/components/localize/src/date/utils/checkYearFormat.d.ts +7 -0
  9. package/dist-types/components/localize/src/date/utils/checkYearFormat.d.ts.map +1 -0
  10. package/dist-types/tsconfig.tsbuildinfo +1 -1
  11. package/docs/components/accordion/api-table.md +13 -1
  12. package/docs/components/accordion/index.md +10 -0
  13. package/docs/components/accordion/overview.md +13 -1
  14. package/docs/components/accordion/reference.md +13 -1
  15. package/docs/components/accordion/use-cases.md +13 -1
  16. package/docs/components/button/api-table.md +13 -1
  17. package/docs/components/button/examples.md +13 -1
  18. package/docs/components/button/extensions.md +13 -1
  19. package/docs/components/button/index.md +11 -1
  20. package/docs/components/button/overview.md +13 -1
  21. package/docs/components/button/use-cases.md +13 -1
  22. package/docs/components/calendar/api-table.md +13 -1
  23. package/docs/components/calendar/index.md +11 -1
  24. package/docs/components/calendar/overview.md +13 -1
  25. package/docs/components/calendar/use-cases.md +13 -1
  26. package/docs/components/checkbox-group/api-table.md +13 -1
  27. package/docs/components/checkbox-group/index.md +11 -1
  28. package/docs/components/checkbox-group/overview.md +15 -3
  29. package/docs/components/checkbox-group/use-cases.md +13 -1
  30. package/docs/components/collapsible/api-table.md +13 -1
  31. package/docs/components/collapsible/examples.md +13 -1
  32. package/docs/components/collapsible/index.md +11 -1
  33. package/docs/components/collapsible/overview.md +14 -2
  34. package/docs/components/collapsible/use-cases.md +13 -1
  35. package/docs/components/combobox/api-table.md +13 -1
  36. package/docs/components/combobox/extensions.md +13 -1
  37. package/docs/components/combobox/index.md +11 -1
  38. package/docs/components/combobox/overview.md +14 -2
  39. package/docs/components/combobox/use-cases.md +14 -2
  40. package/docs/components/dialog/api-table.md +13 -1
  41. package/docs/components/dialog/index.md +11 -1
  42. package/docs/components/dialog/overview.md +14 -2
  43. package/docs/components/dialog/use-cases.md +13 -1
  44. package/docs/components/drawer/api-table.md +13 -1
  45. package/docs/components/drawer/index.md +11 -1
  46. package/docs/components/drawer/overview.md +13 -1
  47. package/docs/components/drawer/use-cases.md +13 -1
  48. package/docs/components/fieldset/api-table.md +13 -1
  49. package/docs/components/fieldset/index.md +11 -1
  50. package/docs/components/fieldset/overview.md +18 -6
  51. package/docs/components/fieldset/use-cases.md +13 -1
  52. package/docs/components/form/api-table.md +12 -1
  53. package/docs/components/form/index.md +11 -1
  54. package/docs/components/form/overview.md +16 -4
  55. package/docs/components/form/use-cases.md +15 -3
  56. package/docs/components/icon/api-table.md +13 -1
  57. package/docs/components/icon/index.md +11 -1
  58. package/docs/components/icon/overview.md +13 -1
  59. package/docs/components/icon/use-cases.md +14 -2
  60. package/docs/components/index.md +11 -1
  61. package/docs/components/input/api-table.md +13 -1
  62. package/docs/components/input/index.md +11 -1
  63. package/docs/components/input/overview.md +14 -2
  64. package/docs/components/input/use-cases.md +13 -1
  65. package/docs/components/input-amount/api-table.md +13 -1
  66. package/docs/components/input-amount/index.md +11 -1
  67. package/docs/components/input-amount/overview.md +16 -4
  68. package/docs/components/input-amount/use-cases.md +13 -1
  69. package/docs/components/input-date/api-table.md +13 -1
  70. package/docs/components/input-date/index.md +11 -1
  71. package/docs/components/input-date/overview.md +16 -4
  72. package/docs/components/input-date/use-cases.md +13 -1
  73. package/docs/components/input-datepicker/api-table.md +13 -1
  74. package/docs/components/input-datepicker/index.md +11 -1
  75. package/docs/components/input-datepicker/overview.md +18 -6
  76. package/docs/components/input-datepicker/use-cases.md +13 -1
  77. package/docs/components/input-email/api-table.md +13 -1
  78. package/docs/components/input-email/index.md +11 -1
  79. package/docs/components/input-email/overview.md +15 -3
  80. package/docs/components/input-email/use-cases.md +13 -1
  81. package/docs/components/input-file/api-table.md +13 -1
  82. package/docs/components/input-file/index.md +11 -1
  83. package/docs/components/input-file/overview.md +14 -2
  84. package/docs/components/input-file/use-cases.md +13 -1
  85. package/docs/components/input-iban/api-table.md +13 -1
  86. package/docs/components/input-iban/index.md +11 -1
  87. package/docs/components/input-iban/overview.md +15 -3
  88. package/docs/components/input-iban/use-cases.md +13 -1
  89. package/docs/components/input-range/api-table.md +13 -1
  90. package/docs/components/input-range/index.md +11 -1
  91. package/docs/components/input-range/overview.md +15 -3
  92. package/docs/components/input-range/use-cases.md +13 -1
  93. package/docs/components/input-stepper/api-table.md +13 -1
  94. package/docs/components/input-stepper/index.md +11 -1
  95. package/docs/components/input-stepper/overview.md +14 -2
  96. package/docs/components/input-stepper/use-cases.md +13 -1
  97. package/docs/components/input-tel/api-table.md +13 -1
  98. package/docs/components/input-tel/index.md +11 -1
  99. package/docs/components/input-tel/overview.md +14 -2
  100. package/docs/components/input-tel/use-cases.md +19 -7
  101. package/docs/components/input-tel-dropdown/api-table.md +13 -1
  102. package/docs/components/input-tel-dropdown/extensions.md +13 -1
  103. package/docs/components/input-tel-dropdown/index.md +11 -1
  104. package/docs/components/input-tel-dropdown/overview.md +14 -2
  105. package/docs/components/input-tel-dropdown/use-cases.md +13 -1
  106. package/docs/components/listbox/api-table.md +13 -1
  107. package/docs/components/listbox/index.md +11 -1
  108. package/docs/components/listbox/overview.md +13 -1
  109. package/docs/components/listbox/use-cases.md +14 -2
  110. package/docs/components/pagination/api-table.md +13 -1
  111. package/docs/components/pagination/index.md +11 -1
  112. package/docs/components/pagination/overview.md +13 -1
  113. package/docs/components/pagination/use-cases.md +13 -1
  114. package/docs/components/progress-indicator/api-table.md +13 -1
  115. package/docs/components/progress-indicator/examples.md +13 -1
  116. package/docs/components/progress-indicator/index.md +11 -1
  117. package/docs/components/progress-indicator/overview.md +13 -1
  118. package/docs/components/radio-group/api-table.md +13 -1
  119. package/docs/components/radio-group/index.md +11 -1
  120. package/docs/components/radio-group/overview.md +16 -4
  121. package/docs/components/radio-group/use-cases.md +13 -1
  122. package/docs/components/select/api-table.md +13 -1
  123. package/docs/components/select/index.md +11 -1
  124. package/docs/components/select/overview.md +13 -1
  125. package/docs/components/select/use-cases.md +14 -2
  126. package/docs/components/select-rich/api-table.md +13 -1
  127. package/docs/components/select-rich/examples.md +13 -1
  128. package/docs/components/select-rich/index.md +11 -1
  129. package/docs/components/select-rich/overview.md +13 -1
  130. package/docs/components/select-rich/use-cases.md +14 -2
  131. package/docs/components/steps/api-table.md +13 -1
  132. package/docs/components/steps/index.md +11 -1
  133. package/docs/components/steps/overview.md +13 -1
  134. package/docs/components/steps/use-cases.md +13 -1
  135. package/docs/components/switch/api-table.md +13 -1
  136. package/docs/components/switch/index.md +11 -1
  137. package/docs/components/switch/overview.md +13 -1
  138. package/docs/components/switch/reference.md +13 -1
  139. package/docs/components/switch/use-cases.md +13 -1
  140. package/docs/components/tabs/api-table.md +13 -1
  141. package/docs/components/tabs/examples.md +14 -2
  142. package/docs/components/tabs/index.md +11 -1
  143. package/docs/components/tabs/overview.md +13 -1
  144. package/docs/components/tabs/use-cases.md +13 -1
  145. package/docs/components/textarea/api-table.md +13 -1
  146. package/docs/components/textarea/index.md +11 -1
  147. package/docs/components/textarea/overview.md +13 -1
  148. package/docs/components/textarea/use-cases.md +13 -1
  149. package/docs/components/tooltip/api-table.md +13 -1
  150. package/docs/components/tooltip/examples.md +13 -1
  151. package/docs/components/tooltip/index.md +11 -1
  152. package/docs/components/tooltip/overview.md +13 -1
  153. package/docs/components/tooltip/use-cases.md +13 -1
  154. package/docs/fundamentals/index.md +4 -4
  155. package/docs/fundamentals/node-tools/babel-plugin-extend-docs/index.md +12 -0
  156. package/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md +13 -0
  157. package/docs/fundamentals/node-tools/index.md +10 -0
  158. package/docs/fundamentals/node-tools/providence-analytics/index.md +12 -0
  159. package/docs/fundamentals/node-tools/providence-analytics/overview.md +13 -0
  160. package/docs/fundamentals/node-tools/publish-docs/index.md +12 -0
  161. package/docs/fundamentals/node-tools/publish-docs/overview.md +16 -3
  162. package/docs/fundamentals/node-tools/remark-extend/index.md +12 -0
  163. package/docs/fundamentals/node-tools/remark-extend/overview.md +13 -0
  164. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/index.md +12 -0
  165. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +15 -2
  166. package/docs/fundamentals/rationales/TypeScript.md +12 -0
  167. package/docs/fundamentals/rationales/accessibility.md +13 -1
  168. package/docs/fundamentals/rationales/index.md +10 -0
  169. package/docs/fundamentals/rationales/side-effects.md +12 -0
  170. package/docs/fundamentals/rationales/versioning.md +12 -0
  171. package/docs/fundamentals/systems/core/SlotMixin.md +14 -1
  172. package/docs/fundamentals/systems/core/api-table.md +14 -1
  173. package/docs/fundamentals/systems/core/index.md +12 -0
  174. package/docs/fundamentals/systems/core/overview.md +14 -1
  175. package/docs/fundamentals/systems/form/api-table.md +14 -1
  176. package/docs/fundamentals/systems/form/formatting-and-parsing.md +17 -4
  177. package/docs/fundamentals/systems/form/index.md +12 -0
  178. package/docs/fundamentals/systems/form/interaction-states.md +13 -0
  179. package/docs/fundamentals/systems/form/model-value.md +14 -1
  180. package/docs/fundamentals/systems/form/overview.md +41 -28
  181. package/docs/fundamentals/systems/form/styling.md +13 -0
  182. package/docs/fundamentals/systems/form/use-cases.md +13 -0
  183. package/docs/fundamentals/systems/form/validate.md +15 -2
  184. package/docs/fundamentals/systems/icon/index.md +12 -0
  185. package/docs/fundamentals/systems/icon/overview.md +13 -0
  186. package/docs/fundamentals/systems/index.md +10 -0
  187. package/docs/fundamentals/systems/localize/api-table.md +14 -1
  188. package/docs/fundamentals/systems/localize/dates.md +13 -0
  189. package/docs/fundamentals/systems/localize/index.md +12 -0
  190. package/docs/fundamentals/systems/localize/numbers.md +13 -0
  191. package/docs/fundamentals/systems/localize/overview.md +17 -4
  192. package/docs/fundamentals/systems/localize/rationale.md +13 -0
  193. package/docs/fundamentals/systems/localize/text.md +13 -0
  194. package/docs/fundamentals/systems/localize/use-cases.md +13 -0
  195. package/docs/fundamentals/systems/overlays/_configuration-positioning.md +11 -0
  196. package/docs/fundamentals/systems/overlays/_edge-cases.md +10 -0
  197. package/docs/fundamentals/systems/overlays/api-table.md +14 -1
  198. package/docs/fundamentals/systems/overlays/configuration.md +15 -2
  199. package/docs/fundamentals/systems/overlays/index.md +12 -0
  200. package/docs/fundamentals/systems/overlays/overview.md +18 -5
  201. package/docs/fundamentals/systems/overlays/rationale.md +13 -0
  202. package/docs/fundamentals/systems/overlays/use-cases.md +15 -2
  203. package/docs/fundamentals/tools/ajax/index.md +12 -0
  204. package/docs/fundamentals/tools/ajax/overview.md +13 -0
  205. package/docs/fundamentals/tools/ajax/use-cases.md +13 -0
  206. package/docs/fundamentals/tools/helpers/action-logger.md +13 -0
  207. package/docs/fundamentals/tools/helpers/index.md +12 -0
  208. package/docs/fundamentals/tools/helpers/overview.md +14 -1
  209. package/docs/fundamentals/tools/index.md +10 -0
  210. package/docs/fundamentals/tools/singleton-manager/example-complex/index.md +13 -0
  211. package/docs/fundamentals/tools/singleton-manager/example-fail/index.md +13 -0
  212. package/docs/fundamentals/tools/singleton-manager/example-success/index.md +13 -0
  213. package/docs/fundamentals/tools/singleton-manager/index.md +12 -0
  214. package/docs/fundamentals/tools/singleton-manager/overview.md +17 -4
  215. package/docs/guides/how-to/create-a-custom-field.md +18 -6
  216. package/docs/guides/how-to/create-a-form.md +17 -5
  217. package/docs/guides/how-to/extend-a-native-input.md +15 -3
  218. package/docs/guides/how-to/get-started.md +13 -1
  219. package/docs/guides/how-to/index.md +11 -1
  220. package/docs/guides/index.md +19 -9
  221. package/docs/guides/principles/definitions-and-terms.md +13 -1
  222. package/docs/guides/principles/index.md +16 -6
  223. package/docs/guides/principles/scoped-elements.md +13 -1
  224. package/docs/guides/principles/styling.md +14 -2
  225. package/docs/guides/principles/subclasser-apis.md +13 -1
  226. package/package.json +1 -1
@@ -1,3 +1,13 @@
1
- # Listbox ||20
1
+ ---
2
+ parts:
3
+ - Listbox
4
+ title: Listbox
5
+ eleventyNavigation:
6
+ key: Listbox
7
+ order: 20
8
+ title: Listbox
9
+ ---
10
+
11
+ # Listbox
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Listbox >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Listbox
4
+ - Overview
5
+ title: 'Listbox: Overview'
6
+ eleventyNavigation:
7
+ key: 'Listbox: Overview'
8
+ order: 10
9
+ parent: Listbox
10
+ title: Overview
11
+ ---
12
+
13
+ # Listbox: Overview
2
14
 
3
15
  A widget that presents a list of options and allows a user to select one or more of them.
4
16
  A listbox that allows a single option to be chosen is a `single-select listbox`; one that allows
@@ -1,4 +1,16 @@
1
- # Listbox >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Listbox
4
+ - Use Cases
5
+ title: 'Listbox: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Listbox: Use Cases'
8
+ order: 20
9
+ parent: Listbox
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Listbox: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -139,4 +151,4 @@ Navigation will skip over disabled options. Let's disable Artichoke and Brussel
139
151
 
140
152
  ## Validation
141
153
 
142
- A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/validate.md).
154
+ A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/validate.md).
@@ -1,4 +1,16 @@
1
- # Pagination >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Pagination
5
+ title: 'Pagination: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Pagination
8
+ title: API Table
9
+ order: 90
10
+ parent: Pagination
11
+ ---
12
+ # Pagination: API Table
13
+
2
14
 
3
15
  ## class: `LionPagination`, `lion-pagination`
4
16
 
@@ -1,3 +1,13 @@
1
- # Pagination ||30
1
+ ---
2
+ parts:
3
+ - Pagination
4
+ title: Pagination
5
+ eleventyNavigation:
6
+ key: Pagination
7
+ order: 30
8
+ title: Pagination
9
+ ---
10
+
11
+ # Pagination
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Pagination >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Pagination
4
+ - Overview
5
+ title: 'Pagination: Overview'
6
+ eleventyNavigation:
7
+ key: 'Pagination: Overview'
8
+ order: 10
9
+ parent: Pagination
10
+ title: Overview
11
+ ---
12
+
13
+ # Pagination: Overview
2
14
 
3
15
  A web component that handles pagination.
4
16
 
@@ -1,4 +1,16 @@
1
- # Pagination >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Pagination
4
+ - Use Cases
5
+ title: 'Pagination: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Pagination: Use Cases'
8
+ order: 20
9
+ parent: Pagination
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Pagination: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -1,4 +1,16 @@
1
- # Progress Indicator >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Progress Indicator
5
+ title: 'Progress Indicator: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Progress Indicator
8
+ title: API Table
9
+ order: 90
10
+ parent: Progress Indicator
11
+ ---
12
+ # Progress Indicator: API Table
13
+
2
14
 
3
15
  ## class: `LionProgressIndicator`, `lion-progress-indicator`
4
16
 
@@ -1,4 +1,16 @@
1
- # Progress Indicator >> Examples ||30
1
+ ---
2
+ parts:
3
+ - Progress Indicator
4
+ - Examples
5
+ title: 'Progress Indicator: Examples'
6
+ eleventyNavigation:
7
+ key: 'Progress Indicator: Examples'
8
+ order: 30
9
+ parent: Progress Indicator
10
+ title: Examples
11
+ ---
12
+
13
+ # Progress Indicator: Examples
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -1,3 +1,13 @@
1
- # Progress Indicator ||30
1
+ ---
2
+ parts:
3
+ - Progress Indicator
4
+ title: Progress Indicator
5
+ eleventyNavigation:
6
+ key: Progress Indicator
7
+ order: 30
8
+ title: Progress Indicator
9
+ ---
10
+
11
+ # Progress Indicator
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Progress Indicator >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Progress Indicator
4
+ - Overview
5
+ title: 'Progress Indicator: Overview'
6
+ eleventyNavigation:
7
+ key: 'Progress Indicator: Overview'
8
+ order: 10
9
+ parent: Progress Indicator
10
+ title: Overview
11
+ ---
12
+
13
+ # Progress Indicator: Overview
2
14
 
3
15
  A web component that implements accessibility requirements for progress indicators.
4
16
 
@@ -1,4 +1,16 @@
1
- # Radio Group >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Radio Group
5
+ title: 'Radio Group: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Radio Group
8
+ title: API Table
9
+ order: 90
10
+ parent: Radio Group
11
+ ---
12
+ # Radio Group: API Table
13
+
2
14
 
3
15
  ## class: `LionRadio`, `lion-radio`
4
16
 
@@ -1,3 +1,13 @@
1
- # Radio Group ||30
1
+ ---
2
+ parts:
3
+ - Radio Group
4
+ title: Radio Group
5
+ eleventyNavigation:
6
+ key: Radio Group
7
+ order: 30
8
+ title: Radio Group
9
+ ---
10
+
11
+ # Radio Group
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Radio Group >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Radio Group
4
+ - Overview
5
+ title: 'Radio Group: Overview'
6
+ eleventyNavigation:
7
+ key: 'Radio Group: Overview'
8
+ order: 10
9
+ parent: Radio Group
10
+ title: Overview
11
+ ---
12
+
13
+ # Radio Group: Overview
2
14
 
3
15
  A web component that enhances the functionality of the native `<input type="radio">` element. Its purpose is to provide a way for users to check a **single** option amongst a set of choices.
4
16
 
@@ -20,12 +32,12 @@ export const main = () => html`
20
32
  `;
21
33
  ```
22
34
 
23
- - Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/form/overview.md)'s serialization result.
24
- - If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/select/overview.md) instead.
35
+ - Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/form/overview.md)'s serialization result.
36
+ - If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/select/overview.md) instead.
25
37
 
26
38
  ## Features
27
39
 
28
- Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/fieldset/overview.md), it has all the features a fieldset has.
40
+ Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/fieldset/overview.md), it has all the features a fieldset has.
29
41
 
30
42
  - Get or set the checked value of the group:
31
43
  - modelValue (default) - `checkedValue()`
@@ -1,4 +1,16 @@
1
- # Radio Group >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Radio Group
4
+ - Use Cases
5
+ title: 'Radio Group: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Radio Group: Use Cases'
8
+ order: 20
9
+ parent: Radio Group
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Radio Group: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -1,4 +1,16 @@
1
- # Select >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Select
5
+ title: 'Select: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Select
8
+ title: API Table
9
+ order: 90
10
+ parent: Select
11
+ ---
12
+ # Select: API Table
13
+
2
14
 
3
15
  ## class: `LionSelect`, `lion-select`
4
16
 
@@ -1,3 +1,13 @@
1
- # Select ||40
1
+ ---
2
+ parts:
3
+ - Select
4
+ title: Select
5
+ eleventyNavigation:
6
+ key: Select
7
+ order: 40
8
+ title: Select
9
+ ---
10
+
11
+ # Select
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Select >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Select
4
+ - Overview
5
+ title: 'Select: Overview'
6
+ eleventyNavigation:
7
+ key: 'Select: Overview'
8
+ order: 10
9
+ parent: Select
10
+ title: Overview
11
+ ---
12
+
13
+ # Select: Overview
2
14
 
3
15
  A web component that works as a wrapper around the native `select`.
4
16
 
@@ -1,4 +1,16 @@
1
- # Select >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Select
4
+ - Use Cases
5
+ title: 'Select: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Select: Use Cases'
8
+ order: 20
9
+ parent: Select
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Select: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -53,7 +65,7 @@ Or by setting the `disabled` attribute on the entire `lion-select` field.
53
65
 
54
66
  ## Validation
55
67
 
56
- A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/validate.md).
68
+ A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/validate.md).
57
69
 
58
70
  ## Rendering and updating select options
59
71
 
@@ -1,4 +1,16 @@
1
- # Select Rich >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Select Rich
5
+ title: 'Select Rich: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Select Rich
8
+ title: API Table
9
+ order: 90
10
+ parent: Select Rich
11
+ ---
12
+ # Select Rich: API Table
13
+
2
14
 
3
15
  ## class: `LionSelectInvoker`, `lion-select-invoker`
4
16
 
@@ -1,4 +1,16 @@
1
- # Select Rich >> Examples ||30
1
+ ---
2
+ parts:
3
+ - Select Rich
4
+ - Examples
5
+ title: 'Select Rich: Examples'
6
+ eleventyNavigation:
7
+ key: 'Select Rich: Examples'
8
+ order: 30
9
+ parent: Select Rich
10
+ title: Examples
11
+ ---
12
+
13
+ # Select Rich: Examples
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -1,3 +1,13 @@
1
- # Select Rich ||40
1
+ ---
2
+ parts:
3
+ - Select Rich
4
+ title: Select Rich
5
+ eleventyNavigation:
6
+ key: Select Rich
7
+ order: 40
8
+ title: Select Rich
9
+ ---
10
+
11
+ # Select Rich
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Select Rich >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Select Rich
4
+ - Overview
5
+ title: 'Select Rich: Overview'
6
+ eleventyNavigation:
7
+ key: 'Select Rich: Overview'
8
+ order: 10
9
+ parent: Select Rich
10
+ title: Overview
11
+ ---
12
+
13
+ # Select Rich: Overview
2
14
 
3
15
  This web component is a 'rich' version of the native `<select>` element.
4
16
  It allows providing fully customized options and a fully customized invoker button and is meant to be used whenever the native `<select>` doesn't provide enough styling, theming or user interaction opportunities.
@@ -1,4 +1,16 @@
1
- # Select Rich >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Select Rich
4
+ - Use Cases
5
+ title: 'Select Rich: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Select Rich: Use Cases'
8
+ order: 20
9
+ parent: Select Rich
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Select Rich: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { LitElement, html } from '@mdjs/mdjs-preview';
@@ -302,7 +314,7 @@ LionSelectRich will give it acces to:
302
314
  - LionSelectRich itself, via `.hostElement`
303
315
 
304
316
  Code of an advanced custom invoker is shown below (this is the code for the
305
- invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/components/select-rich/examples.md)).
317
+ invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/select-rich/examples.md)).
306
318
  The invoker is usually added in the invoker slot of the LionSelectRich subclass.
307
319
  However, it would also be possible for an application developer to provide the invoker
308
320
  by putting it in light dom:
@@ -1,4 +1,16 @@
1
- # Steps >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Steps
5
+ title: 'Steps: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Steps
8
+ title: API Table
9
+ order: 90
10
+ parent: Steps
11
+ ---
12
+ # Steps: API Table
13
+
2
14
 
3
15
  ## class: `LionStep`, `lion-step`
4
16
 
@@ -1,3 +1,13 @@
1
- # Steps ||50
1
+ ---
2
+ parts:
3
+ - Steps
4
+ title: Steps
5
+ eleventyNavigation:
6
+ key: Steps
7
+ order: 50
8
+ title: Steps
9
+ ---
10
+
11
+ # Steps
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Steps >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Steps
4
+ - Overview
5
+ title: 'Steps: Overview'
6
+ eleventyNavigation:
7
+ key: 'Steps: Overview'
8
+ order: 10
9
+ parent: Steps
10
+ title: Overview
11
+ ---
12
+
13
+ # Steps: Overview
2
14
 
3
15
  A web component that can be used to break a single goal down into dependable sub-tasks.
4
16
 
@@ -1,4 +1,16 @@
1
- # Steps >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Steps
4
+ - Use Cases
5
+ title: 'Steps: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Steps: Use Cases'
8
+ order: 20
9
+ parent: Steps
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Steps: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -1,4 +1,16 @@
1
- # Switch >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Switch
5
+ title: 'Switch: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Switch
8
+ title: API Table
9
+ order: 90
10
+ parent: Switch
11
+ ---
12
+ # Switch: API Table
13
+
2
14
 
3
15
  ## class: `LionSwitch`, `lion-switch`
4
16
 
@@ -1,3 +1,13 @@
1
- # Switch ||50
1
+ ---
2
+ parts:
3
+ - Switch
4
+ title: Switch
5
+ eleventyNavigation:
6
+ key: Switch
7
+ order: 50
8
+ title: Switch
9
+ ---
10
+
11
+ # Switch
2
12
 
3
13
  -> go to Overview
@@ -1,4 +1,16 @@
1
- # Switch >> Overview ||10
1
+ ---
2
+ parts:
3
+ - Switch
4
+ - Overview
5
+ title: 'Switch: Overview'
6
+ eleventyNavigation:
7
+ key: 'Switch: Overview'
8
+ order: 10
9
+ parent: Switch
10
+ title: Overview
11
+ ---
12
+
13
+ # Switch: Overview
2
14
 
3
15
  <p class="lion-paragraph--emphasis">The Switch is used to toggle a property or feature on or off.</p>
4
16
 
@@ -1,4 +1,16 @@
1
- # Switch >> Reference ||30
1
+ ---
2
+ parts:
3
+ - Switch
4
+ - Reference
5
+ title: 'Switch: Reference'
6
+ eleventyNavigation:
7
+ key: 'Switch: Reference'
8
+ order: 30
9
+ parent: Switch
10
+ title: Reference
11
+ ---
12
+
13
+ # Switch: Reference
2
14
 
3
15
  <p class="lion-paragraph--emphasis">Everything you need to re-use the switch.</p>
4
16
 
@@ -1,4 +1,16 @@
1
- # Switch >> Use Cases ||20
1
+ ---
2
+ parts:
3
+ - Switch
4
+ - Use Cases
5
+ title: 'Switch: Use Cases'
6
+ eleventyNavigation:
7
+ key: 'Switch: Use Cases'
8
+ order: 20
9
+ parent: Switch
10
+ title: Use Cases
11
+ ---
12
+
13
+ # Switch: Use Cases
2
14
 
3
15
  ```js script
4
16
  import { html } from '@mdjs/mdjs-preview';
@@ -1,4 +1,16 @@
1
- # Tabs >> API Table ||90
1
+ ---
2
+ parts:
3
+ - API Table
4
+ - Tabs
5
+ title: 'Tabs: API Table'
6
+ eleventyNavigation:
7
+ key: API Table >> Tabs
8
+ title: API Table
9
+ order: 90
10
+ parent: Tabs
11
+ ---
12
+ # Tabs: API Table
13
+
2
14
 
3
15
  ## class: `LionTabs`, `lion-tabs`
4
16
 
@@ -1,4 +1,16 @@
1
- # Tabs >> Examples ||30
1
+ ---
2
+ parts:
3
+ - Tabs
4
+ - Examples
5
+ title: 'Tabs: Examples'
6
+ eleventyNavigation:
7
+ key: 'Tabs: Examples'
8
+ order: 30
9
+ parent: Tabs
10
+ title: Examples
11
+ ---
12
+
13
+ # Tabs: Examples
2
14
 
3
15
  ```js script
4
16
  import { LitElement, html } from '@mdjs/mdjs-preview';
@@ -9,7 +21,7 @@ import './src/lea-tab-panel.js';
9
21
 
10
22
  ## Lea Tabs
11
23
 
12
- Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/593b753f0f99acb36ea6009677bc7fdda9184184/docs/blog/ing-open-sources-lion.md).
24
+ Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/blog/ing-open-sources-lion.md).
13
25
 
14
26
  ```js preview-story
15
27
  export const main = () => html`