@lion/ui 0.14.3 → 0.15.1

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 (235) hide show
  1. package/README.md +38 -12
  2. package/components/combobox/test/lion-combobox.test.js +50 -2
  3. package/components/core/src/SlotMixin.js +52 -0
  4. package/components/core/test/SlotMixin.test.js +85 -0
  5. package/components/icon/src/icons.js +14 -2
  6. package/components/icon/test/hammer.svg.js +5 -2
  7. package/components/icon/test/heart.svg.js +5 -2
  8. package/components/icon/test/lion-icon.test.js +10 -4
  9. package/components/input-stepper/src/LionInputStepper.js +10 -10
  10. package/components/listbox/src/ListboxMixin.js +3 -35
  11. package/components/localize/src/getLocalizeManager.js +16 -10
  12. package/components/localize/test/getLocalizeManager.test.js +15 -7
  13. package/components/localize/test/side-effect-free-entrypoint.test.js +9 -3
  14. package/components/overlays/src/ArrowMixin.js +10 -4
  15. package/components/overlays/src/singleton.js +14 -4
  16. package/components/overlays/test/OverlayController.test.js +4 -1
  17. package/custom-elements.json +3014 -220
  18. package/dist-types/components/core/src/ScopedElementsMixin.d.ts.map +1 -1
  19. package/dist-types/components/core/src/SlotMixin.d.ts +35 -0
  20. package/dist-types/components/core/src/SlotMixin.d.ts.map +1 -1
  21. package/dist-types/components/core/test/SlotMixin.test.d.ts.map +1 -1
  22. package/dist-types/components/icon/src/LionIcon.d.ts +1 -1
  23. package/dist-types/components/icon/src/LionIcon.d.ts.map +1 -1
  24. package/dist-types/components/icon/src/icons.d.ts +2 -1
  25. package/dist-types/components/icon/src/icons.d.ts.map +1 -1
  26. package/dist-types/components/icon/test/hammer.svg.d.ts +1 -1
  27. package/dist-types/components/icon/test/hammer.svg.d.ts.map +1 -1
  28. package/dist-types/components/icon/test/heart.svg.d.ts +1 -1
  29. package/dist-types/components/icon/test/heart.svg.d.ts.map +1 -1
  30. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts +4 -4
  31. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
  32. package/dist-types/components/listbox/src/ListboxMixin.d.ts.map +1 -1
  33. package/dist-types/components/localize/src/getLocalizeManager.d.ts +2 -58
  34. package/dist-types/components/localize/src/getLocalizeManager.d.ts.map +1 -1
  35. package/dist-types/components/localize/test/getLocalizeManager.test.d.ts +4 -1
  36. package/dist-types/components/localize/test/getLocalizeManager.test.d.ts.map +1 -1
  37. package/dist-types/components/localize/test/side-effect-free-entrypoint.test.d.ts +4 -0
  38. package/dist-types/components/localize/test/side-effect-free-entrypoint.test.d.ts.map +1 -1
  39. package/dist-types/components/overlays/src/ArrowMixin.d.ts.map +1 -1
  40. package/dist-types/components/overlays/src/singleton.d.ts.map +1 -1
  41. package/dist-types/tsconfig.tsbuildinfo +1 -1
  42. package/docs/components/accordion/index.md +1 -1
  43. package/docs/components/accordion/overview.md +1 -1
  44. package/docs/components/accordion/reference.md +1 -1
  45. package/docs/components/accordion/use-cases.md +1 -1
  46. package/docs/components/button/{extensions/bootstrap-button.mjs → assets/bootstrap-button.js} +10 -5
  47. package/docs/components/button/examples.md +1 -1
  48. package/docs/components/button/extensions.md +2 -2
  49. package/docs/components/button/index.md +2 -2
  50. package/docs/components/button/overview.md +4 -4
  51. package/docs/components/button/use-cases.md +6 -6
  52. package/docs/components/calendar/index.md +1 -1
  53. package/docs/components/calendar/overview.md +1 -1
  54. package/docs/components/calendar/use-cases.md +2 -2
  55. package/docs/components/checkbox-group/index.md +1 -1
  56. package/docs/components/checkbox-group/overview.md +3 -3
  57. package/docs/components/checkbox-group/use-cases.md +1 -1
  58. package/docs/components/collapsible/examples.md +1 -1
  59. package/docs/components/collapsible/index.md +1 -1
  60. package/docs/components/collapsible/overview.md +2 -2
  61. package/docs/components/collapsible/use-cases.md +1 -1
  62. package/docs/components/combobox/extensions.md +2 -1
  63. package/docs/components/combobox/index.md +1 -1
  64. package/docs/components/combobox/overview.md +2 -2
  65. package/docs/components/combobox/use-cases.md +2 -2
  66. package/docs/components/dialog/index.md +1 -1
  67. package/docs/components/dialog/overview.md +2 -2
  68. package/docs/components/dialog/use-cases.md +1 -1
  69. package/docs/components/drawer/index.md +1 -1
  70. package/docs/components/drawer/overview.md +1 -1
  71. package/docs/components/drawer/use-cases.md +1 -1
  72. package/docs/components/fieldset/index.md +1 -1
  73. package/docs/components/fieldset/overview.md +6 -6
  74. package/docs/components/fieldset/use-cases.md +1 -1
  75. package/docs/components/form/index.md +1 -1
  76. package/docs/components/form/overview.md +4 -4
  77. package/docs/components/form/use-cases.md +3 -3
  78. package/docs/components/icon/index.md +1 -1
  79. package/docs/components/icon/overview.md +1 -1
  80. package/docs/components/icon/use-cases.md +2 -15
  81. package/docs/components/index.md +1 -1
  82. package/docs/components/input/index.md +1 -1
  83. package/docs/components/input/overview.md +2 -2
  84. package/docs/components/input/use-cases.md +1 -1
  85. package/docs/components/input-amount/index.md +1 -1
  86. package/docs/components/input-amount/overview.md +4 -4
  87. package/docs/components/input-amount/use-cases.md +1 -1
  88. package/docs/components/input-amount-dropdown/index.md +1 -1
  89. package/docs/components/input-amount-dropdown/use-cases.md +1 -1
  90. package/docs/components/input-date/index.md +1 -1
  91. package/docs/components/input-date/overview.md +4 -4
  92. package/docs/components/input-date/use-cases.md +1 -1
  93. package/docs/components/input-datepicker/index.md +1 -1
  94. package/docs/components/input-datepicker/overview.md +6 -6
  95. package/docs/components/input-datepicker/use-cases.md +1 -1
  96. package/docs/components/input-email/index.md +1 -1
  97. package/docs/components/input-email/overview.md +3 -3
  98. package/docs/components/input-email/use-cases.md +1 -1
  99. package/docs/components/input-file/index.md +1 -1
  100. package/docs/components/input-file/overview.md +2 -2
  101. package/docs/components/input-file/use-cases.md +1 -1
  102. package/docs/components/input-iban/index.md +1 -1
  103. package/docs/components/input-iban/overview.md +3 -3
  104. package/docs/components/input-iban/use-cases.md +1 -1
  105. package/docs/components/input-range/index.md +1 -1
  106. package/docs/components/input-range/overview.md +3 -3
  107. package/docs/components/input-range/use-cases.md +1 -1
  108. package/docs/components/input-stepper/api-table.md +2 -0
  109. package/docs/components/input-stepper/index.md +1 -1
  110. package/docs/components/input-stepper/overview.md +2 -2
  111. package/docs/components/input-stepper/use-cases.md +1 -1
  112. package/docs/components/input-tel/index.md +1 -1
  113. package/docs/components/input-tel/overview.md +2 -2
  114. package/docs/components/input-tel/use-cases.md +7 -7
  115. package/docs/components/input-tel-dropdown/extensions.md +1 -1
  116. package/docs/components/input-tel-dropdown/index.md +1 -1
  117. package/docs/components/input-tel-dropdown/overview.md +2 -2
  118. package/docs/components/input-tel-dropdown/use-cases.md +1 -1
  119. package/docs/components/listbox/index.md +1 -1
  120. package/docs/components/listbox/overview.md +1 -1
  121. package/docs/components/listbox/use-cases.md +2 -2
  122. package/docs/components/pagination/index.md +1 -1
  123. package/docs/components/pagination/overview.md +1 -1
  124. package/docs/components/pagination/use-cases.md +1 -1
  125. package/docs/components/progress-indicator/examples.md +1 -1
  126. package/docs/components/progress-indicator/index.md +1 -1
  127. package/docs/components/progress-indicator/overview.md +1 -1
  128. package/docs/components/radio-group/index.md +1 -1
  129. package/docs/components/radio-group/overview.md +4 -4
  130. package/docs/components/radio-group/use-cases.md +1 -1
  131. package/docs/components/select/index.md +1 -1
  132. package/docs/components/select/overview.md +1 -1
  133. package/docs/components/select/use-cases.md +2 -2
  134. package/docs/components/select-rich/examples.md +1 -1
  135. package/docs/components/select-rich/index.md +1 -1
  136. package/docs/components/select-rich/overview.md +1 -1
  137. package/docs/components/select-rich/use-cases.md +3 -3
  138. package/docs/components/steps/index.md +1 -1
  139. package/docs/components/steps/overview.md +1 -1
  140. package/docs/components/steps/use-cases.md +1 -1
  141. package/docs/components/switch/index.md +1 -1
  142. package/docs/components/switch/overview.md +1 -1
  143. package/docs/components/switch/reference.md +1 -1
  144. package/docs/components/switch/use-cases.md +1 -1
  145. package/docs/components/tabs/examples.md +2 -2
  146. package/docs/components/tabs/index.md +1 -1
  147. package/docs/components/tabs/overview.md +1 -1
  148. package/docs/components/tabs/use-cases.md +1 -1
  149. package/docs/components/textarea/index.md +1 -1
  150. package/docs/components/textarea/overview.md +1 -1
  151. package/docs/components/textarea/use-cases.md +1 -1
  152. package/docs/components/tooltip/examples.md +1 -1
  153. package/docs/components/tooltip/index.md +1 -1
  154. package/docs/components/tooltip/overview.md +1 -1
  155. package/docs/components/tooltip/use-cases.md +1 -1
  156. package/docs/fundamentals/index.md +4 -4
  157. package/docs/fundamentals/node-tools/babel-plugin-extend-docs/index.md +1 -1
  158. package/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md +1 -1
  159. package/docs/fundamentals/node-tools/index.md +1 -1
  160. package/docs/fundamentals/node-tools/providence-analytics/index.md +1 -1
  161. package/docs/fundamentals/node-tools/providence-analytics/overview.md +1 -1
  162. package/docs/fundamentals/node-tools/publish-docs/index.md +1 -1
  163. package/docs/fundamentals/node-tools/publish-docs/overview.md +4 -4
  164. package/docs/fundamentals/node-tools/remark-extend/index.md +1 -1
  165. package/docs/fundamentals/node-tools/remark-extend/overview.md +1 -1
  166. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/index.md +1 -1
  167. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +3 -3
  168. package/docs/fundamentals/rationales/TypeScript.md +1 -1
  169. package/docs/fundamentals/rationales/accessibility.md +2 -2
  170. package/docs/fundamentals/rationales/index.md +1 -1
  171. package/docs/fundamentals/rationales/side-effects.md +1 -1
  172. package/docs/fundamentals/rationales/versioning.md +1 -1
  173. package/docs/fundamentals/systems/core/SlotMixin.md +2 -2
  174. package/docs/fundamentals/systems/core/index.md +1 -1
  175. package/docs/fundamentals/systems/core/overview.md +2 -2
  176. package/docs/fundamentals/systems/form/formatting-and-parsing.md +5 -5
  177. package/docs/fundamentals/systems/form/index.md +1 -1
  178. package/docs/fundamentals/systems/form/interaction-states.md +1 -1
  179. package/docs/fundamentals/systems/form/model-value.md +2 -2
  180. package/docs/fundamentals/systems/form/overview.md +29 -29
  181. package/docs/fundamentals/systems/form/styling.md +1 -1
  182. package/docs/fundamentals/systems/form/use-cases.md +1 -1
  183. package/docs/fundamentals/systems/form/validate.md +3 -3
  184. package/docs/fundamentals/systems/icon/index.md +1 -1
  185. package/docs/fundamentals/systems/icon/overview.md +1 -1
  186. package/docs/fundamentals/systems/index.md +1 -1
  187. package/docs/fundamentals/systems/localize/api-table.md +3 -0
  188. package/docs/fundamentals/systems/localize/dates.md +1 -1
  189. package/docs/fundamentals/systems/localize/index.md +1 -1
  190. package/docs/fundamentals/systems/localize/numbers.md +1 -1
  191. package/docs/fundamentals/systems/localize/overview.md +5 -5
  192. package/docs/fundamentals/systems/localize/rationale.md +1 -1
  193. package/docs/fundamentals/systems/localize/text.md +5 -4
  194. package/docs/fundamentals/systems/localize/use-cases.md +1 -1
  195. package/docs/fundamentals/systems/overlays/_configuration-positioning.md +3 -3
  196. package/docs/fundamentals/systems/overlays/_edge-cases.md +3 -3
  197. package/docs/fundamentals/systems/overlays/api-table.md +3 -0
  198. package/docs/fundamentals/systems/overlays/assets/demo-overlay-positioning.mjs +1 -1
  199. package/docs/fundamentals/systems/overlays/configuration.md +5 -5
  200. package/docs/fundamentals/systems/overlays/index.md +1 -1
  201. package/docs/fundamentals/systems/overlays/overview.md +6 -6
  202. package/docs/fundamentals/systems/overlays/rationale.md +1 -1
  203. package/docs/fundamentals/systems/overlays/use-cases.md +6 -6
  204. package/docs/fundamentals/tools/ajax/index.md +1 -1
  205. package/docs/fundamentals/tools/ajax/overview.md +2 -2
  206. package/docs/fundamentals/tools/ajax/use-cases.md +3 -3
  207. package/docs/fundamentals/tools/helpers/action-logger.md +1 -1
  208. package/docs/fundamentals/tools/helpers/index.md +2 -2
  209. package/docs/fundamentals/tools/helpers/overview.md +2 -2
  210. package/docs/fundamentals/tools/index.md +1 -1
  211. package/docs/fundamentals/tools/singleton-manager/example-complex/index.md +1 -1
  212. package/docs/fundamentals/tools/singleton-manager/example-fail/demo-app.js +4 -4
  213. package/docs/fundamentals/tools/singleton-manager/example-fail/index.md +2 -2
  214. package/docs/fundamentals/tools/singleton-manager/example-fail/node_modules/{page-a/page-a.js → page-c/page-c.js} +2 -2
  215. package/docs/fundamentals/tools/singleton-manager/example-fail/node_modules/{page-b/page-b.js → page-d/page-d.js} +2 -2
  216. package/docs/fundamentals/tools/singleton-manager/example-success/demo-app.js +4 -4
  217. package/docs/fundamentals/tools/singleton-manager/example-success/index.md +2 -2
  218. package/docs/fundamentals/tools/singleton-manager/example-success/node_modules/{page-a/page-a.js → page-e/page-e.js} +2 -3
  219. package/docs/fundamentals/tools/singleton-manager/example-success/node_modules/{page-b/page-b.js → page-f/page-f.js} +2 -2
  220. package/docs/fundamentals/tools/singleton-manager/index.md +2 -2
  221. package/docs/fundamentals/tools/singleton-manager/overview.md +5 -5
  222. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  223. package/docs/guides/how-to/create-a-form.md +4 -4
  224. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  225. package/docs/guides/index.md +8 -8
  226. package/docs/guides/principles/index.md +5 -5
  227. package/docs/guides/principles/styling.md +1 -1
  228. package/package.json +2 -2
  229. /package/docs/fundamentals/systems/overlays/assets/{applyDemoOverlayStyles.mjs → applyDemoOverlayStyles.js} +0 -0
  230. /package/docs/fundamentals/systems/overlays/assets/{demo-el-using-overlaymixin.mjs → demo-el-using-overlaymixin.js} +0 -0
  231. /package/docs/fundamentals/systems/overlays/assets/{demo-overlay-backdrop.mjs → demo-overlay-backdrop.js} +0 -0
  232. /package/docs/fundamentals/tools/singleton-manager/example-fail/node_modules/{page-b → page-d}/node_modules/overlays/index.js +0 -0
  233. /package/docs/fundamentals/tools/singleton-manager/example-fail/node_modules/{page-b → page-d}/node_modules/overlays/instance.js +0 -0
  234. /package/docs/fundamentals/tools/singleton-manager/example-success/node_modules/{page-b → page-f}/node_modules/overlays/index.js +0 -0
  235. /package/docs/fundamentals/tools/singleton-manager/example-success/node_modules/{page-b → page-f}/node_modules/overlays/instance.js +0 -0
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input: Overview'
2
3
  parts:
3
4
  - Input
4
5
  - Overview
5
- title: 'Input: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input: Overview'
8
8
  order: 10
@@ -35,7 +35,7 @@ export const main = () => html`<lion-input label="First Name"></lion-input>`;
35
35
  - **before**: does not have an active use case yet, but the option is in place.
36
36
  - **after**: can be used to show a currency or percentage.
37
37
  - Delegates attributes like `type`, `disabled`, `placeholder` and `readonly` to the native input.
38
- - Can make use of [validation](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/form/validate.md).
38
+ - Can make use of [validation](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/form/validate.md).
39
39
 
40
40
  ## Installation
41
41
 
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input: Use Cases'
2
3
  parts:
3
4
  - Input
4
5
  - Use Cases
5
- title: 'Input: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Amount
2
3
  parts:
3
4
  - Input Amount
4
- title: Input Amount
5
5
  eleventyNavigation:
6
6
  key: Input Amount
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Amount: Overview'
2
3
  parts:
3
4
  - Input Amount
4
5
  - Overview
5
- title: 'Input Amount: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Amount: Overview'
8
8
  order: 10
@@ -36,13 +36,13 @@ export const main = () => {
36
36
 
37
37
  ## Features
38
38
 
39
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md)
40
- - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
39
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md)
40
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
41
41
  - Option to show currency as a suffix
42
42
  - Option to override locale to change the formatting and parsing
43
43
  - Option to provide additional format options overrides
44
44
  - Default label in different languages
45
- - Can make use of number specific [validators](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
45
+ - Can make use of number specific [validators](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
46
46
  - IsNumber (default)
47
47
  - MinNumber
48
48
  - MaxNumber
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Amount: Use Cases'
2
3
  parts:
3
4
  - Input Amount
4
5
  - Use Cases
5
- title: 'Input Amount: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Amount: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Amount Dropdown
2
3
  parts:
3
4
  - Input Amount Dropdown
4
- title: Input Amount Dropdown
5
5
  eleventyNavigation:
6
6
  key: Input Amount Dropdown
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Amount Dropdown: Use Cases'
2
3
  parts:
3
4
  - Input Amount Dropdown
4
5
  - Use Cases
5
- title: 'Input Amount Dropdown: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Amount Dropdown: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Date
2
3
  parts:
3
4
  - Input Date
4
- title: Input Date
5
5
  eleventyNavigation:
6
6
  key: Input Date
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Date: Overview'
2
3
  parts:
3
4
  - Input Date
4
5
  - Overview
5
- title: 'Input Date: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Date: Overview'
8
8
  order: 10
@@ -28,11 +28,11 @@ import '@lion/ui/define/lion-input-date.js';
28
28
 
29
29
  ## Features
30
30
 
31
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md)
32
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
31
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md)
32
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
33
33
  - Option to override locale to change the formatting and parsing
34
34
  - Default label in different languages
35
- - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
35
+ - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
36
36
  - IsDate (default)
37
37
  - MinDate
38
38
  - MaxDate
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Date: Use Cases'
2
3
  parts:
3
4
  - Input Date
4
5
  - Use Cases
5
- title: 'Input Date: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Date: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Datepicker
2
3
  parts:
3
4
  - Input Datepicker
4
- title: Input Datepicker
5
5
  eleventyNavigation:
6
6
  key: Input Datepicker
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Datepicker: Overview'
2
3
  parts:
3
4
  - Input Datepicker
4
5
  - Overview
5
- title: 'Input Datepicker: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Datepicker: Overview'
8
8
  order: 10
@@ -14,7 +14,7 @@ eleventyNavigation:
14
14
 
15
15
  A web component based on the date text input field. Its purpose is to provide a way for users to fill in a date with a datepicker.
16
16
  For an input field with a big range, such as `birthday-input`, a datepicker is not the best choice due to the high variance between possible inputs.
17
- We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-date/overview.md) for this.
17
+ We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-date/overview.md) for this.
18
18
 
19
19
  ```js script
20
20
  import { html } from '@mdjs/mdjs-preview';
@@ -30,11 +30,11 @@ export const main = () => {
30
30
  ## Features
31
31
 
32
32
  - Input field with a datepicker to help to choose a date
33
- - Based on our [input-date](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-date/overview.md)
34
- - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/calendar/overview.md) inside the datepicker
35
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
33
+ - Based on our [input-date](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-date/overview.md)
34
+ - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/calendar/overview.md) inside the datepicker
35
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
36
36
  - Option to overwrite locale to change the formatting and parsing
37
- - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
37
+ - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
38
38
  - IsDate (default)
39
39
  - MinDate
40
40
  - MaxDate
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Datepicker: Use Cases'
2
3
  parts:
3
4
  - Input Datepicker
4
5
  - Use Cases
5
- title: 'Input Datepicker: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Datepicker: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Email
2
3
  parts:
3
4
  - Input Email
4
- title: Input Email
5
5
  eleventyNavigation:
6
6
  key: Input Email
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Email: Overview'
2
3
  parts:
3
4
  - Input Email
4
5
  - Overview
5
- title: 'Input Email: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Email: Overview'
8
8
  order: 10
@@ -27,8 +27,8 @@ export const main = () => {
27
27
 
28
28
  ## Features
29
29
 
30
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md)
31
- - Makes use of email [validators](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
30
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md)
31
+ - Makes use of email [validators](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
32
32
  - IsEmail (default)
33
33
 
34
34
  ## Installation
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Email: Use Cases'
2
3
  parts:
3
4
  - Input Email
4
5
  - Use Cases
5
- title: 'Input Email: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Email: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input File
2
3
  parts:
3
4
  - Input File
4
- title: Input File
5
5
  eleventyNavigation:
6
6
  key: Input File
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input File: Overview'
2
3
  parts:
3
4
  - Input File
4
5
  - Overview
5
- title: 'Input File: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input File: Overview'
8
8
  order: 10
@@ -27,7 +27,7 @@ export const main = () => {
27
27
 
28
28
  ## Features
29
29
 
30
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md)
30
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md)
31
31
  - Default labels and validation messages in different languages
32
32
  - Options for multi file upload and drop-zone.
33
33
 
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input File: Use Cases'
2
3
  parts:
3
4
  - Input File
4
5
  - Use Cases
5
- title: 'Input File: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input File: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Iban
2
3
  parts:
3
4
  - Input Iban
4
- title: Input Iban
5
5
  eleventyNavigation:
6
6
  key: Input Iban
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Iban: Overview'
2
3
  parts:
3
4
  - Input Iban
4
5
  - Overview
5
- title: 'Input Iban: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Iban: Overview'
8
8
  order: 10
@@ -28,9 +28,9 @@ export const main = () => {
28
28
 
29
29
  ## Features
30
30
 
31
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md)
31
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md)
32
32
  - Default label in different languages
33
- - Makes use of IBAN specific [validate](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
33
+ - Makes use of IBAN specific [validate](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
34
34
  - IsIBAN (default)
35
35
  - IsCountryIBAN
36
36
  - Parses IBANs automatically
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Iban: Use Cases'
2
3
  parts:
3
4
  - Input Iban
4
5
  - Use Cases
5
- title: 'Input Iban: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Iban: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Range
2
3
  parts:
3
4
  - Input Range
4
- title: Input Range
5
5
  eleventyNavigation:
6
6
  key: Input Range
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Range: Overview'
2
3
  parts:
3
4
  - Input Range
4
5
  - Overview
5
- title: 'Input Range: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Range: Overview'
8
8
  order: 10
@@ -25,11 +25,11 @@ import '@lion/ui/define/lion-input-range.js';
25
25
 
26
26
  ## Features
27
27
 
28
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md).
28
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md).
29
29
  - Shows `modelValue` and `unit` above the range input.
30
30
  - Shows `min` and `max` value after the range input.
31
31
  - Can hide the `min` and `max` value via `no-min-max-labels`.
32
- - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
32
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
33
33
 
34
34
  ## Installation
35
35
 
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Range: Use Cases'
2
3
  parts:
3
4
  - Input Range
4
5
  - Use Cases
5
- title: 'Input Range: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Range: Use Cases'
8
8
  order: 20
@@ -109,6 +109,7 @@ eleventyNavigation:
109
109
  | `validate` | public | Triggered by:&#xA; \- modelValue change&#xA; \- change in the 'validators' array&#xA; \- change in the config of an individual Validator&#xA;&#xA;Three situations are handled:&#xA;- a1) the FormControl is empty: further execution is halted. When the Required Validator&#xA;(being mutually exclusive to the other Validators) is applied, it will end up in the&#xA;validation result (as the only Validator, since further execution was halted).&#xA;- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't&#xA;changed since last async results were generated, 'sync results' are merged with the&#xA;'async results'.&#xA;- a3) there are asynchronous Validators: for instance when server side evaluation is needed.&#xA;Executions are scheduled and awaited and the 'async results' are merged with the&#xA;'sync results'.&#xA;&#xA;- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic&#xA;MetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)&#xA;will be run...&#xA;&#xA;Situations a2 and a3 are not mutually exclusive and can be triggered within one \`validate()\`&#xA;call. Situation b will occur after every call. | `{ clearCurrentResult = false }, opts: { clearCurrentResult?: boolean }` | | LionField |
110
110
  | `_calculateValues` | protected | Responsible for storing all representations(modelValue, serializedValue, formattedValue&#xA;and value) of the input value. Prevents infinite loops, so all value observers can be&#xA;treated like they will only be called once, without indirectly calling other observers.&#xA;(in fact, some are called twice, but the \_\_preventRecursiveTrigger lock prevents the&#xA;second call from having effect). | `{ source }, config: {source:'model'\|'serialized'\|'formatted'\|null}` | | LionField |
111
111
  | `_connectSlotMixin` | protected | | | | LionField |
112
+ | `_decrement` | protected | Decrement the value based on given step or default step value is 1 | | | |
112
113
  | `_decrementorSignTemplate` | protected | Get the decrementor button sign template | | `String\|TemplateResult` | |
113
114
  | `_decrementorTemplate` | protected | Get the increment button template | | `TemplateResult` | |
114
115
  | `_dispatchInitialModelValueChangedEvent` | protected | | | | LionField |
@@ -122,6 +123,7 @@ eleventyNavigation:
122
123
  | `_groupTwoTemplate` | protected | | | `TemplateResult` | LionField |
123
124
  | `_hasFeedbackVisibleFor` | protected | Used to translate \`.hasFeedbackFor\` and \`.shouldShowFeedbackFor\` to \`.showsFeedbackFor\` | `type: string` | | LionField |
124
125
  | `_helpTextTemplate` | protected | | | `TemplateResult` | LionField |
126
+ | `_increment` | protected | Increment the value based on given step or default step value is 1 | | | |
125
127
  | `_incrementorSignTemplate` | protected | Get the incrementor button sign template | | `String\|TemplateResult` | |
126
128
  | `_incrementorTemplate` | protected | Get the decrement button template | | `TemplateResult` | |
127
129
  | `_inputGroupAfterTemplate` | protected | | | `TemplateResult` | LionField |
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Stepper
2
3
  parts:
3
4
  - Input Stepper
4
- title: Input Stepper
5
5
  eleventyNavigation:
6
6
  key: Input Stepper
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Stepper: Overview'
2
3
  parts:
3
4
  - Input Stepper
4
5
  - Overview
5
- title: 'Input Stepper: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Stepper: Overview'
8
8
  order: 10
@@ -30,7 +30,7 @@ loadDefaultFeedbackMessages();
30
30
 
31
31
  ## Features
32
32
 
33
- - Based on our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md).
33
+ - Based on our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md).
34
34
  - Set `min` and `max` value to define the range.
35
35
  - Set `step` value in integer or decimal to increase and decrease the value.
36
36
  - Use `ArrowUp` or `ArrowDown` to update the value.
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Stepper: Use Cases'
2
3
  parts:
3
4
  - Input Stepper
4
5
  - Use Cases
5
- title: 'Input Stepper: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Stepper: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Tel
2
3
  parts:
3
4
  - Input Tel
4
- title: Input Tel
5
5
  eleventyNavigation:
6
6
  key: Input Tel
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Tel: Overview'
2
3
  parts:
3
4
  - Input Tel
4
5
  - Overview
5
- title: 'Input Tel: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Tel: Overview'
8
8
  order: 10
@@ -51,7 +51,7 @@ export const main = () => {
51
51
 
52
52
  ## Features
53
53
 
54
- - Extends our [input](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input/overview.md)
54
+ - Extends our [input](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input/overview.md)
55
55
  - Shows a mobile telephone keypad on mobile (by having a native `<input inputmode="tel">` inside)
56
56
  - Can be configured with a list of allowed region codes
57
57
  - Will be preconfigured with region derived from locale
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Tel: Use Cases'
2
3
  parts:
3
4
  - Input Tel
4
5
  - Use Cases
5
- title: 'Input Tel: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Tel: Use Cases'
8
8
  order: 20
@@ -34,7 +34,7 @@ Say we have the following telephone number from Madrid, Spain: `+34919930432`.
34
34
  It contains a [country code](https://en.wikipedia.org/wiki/Country_code) (34), an [area code](https://en.wikipedia.org/wiki/Telephone_numbering_plan#Area_code) (91) and a [dial code](https://en.wikipedia.org/wiki/Mobile_dial_code) (+34 91).
35
35
  Input Tel interprets phone numbers based on their [region code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2): a two character long region representation('ES' in the telephone number above).
36
36
 
37
- The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel/#allowed-regions) are not configured,
37
+ The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel/#allowed-regions) are not configured,
38
38
  all of them will be supported as values of Input Tel.
39
39
 
40
40
  ```js story
@@ -49,11 +49,11 @@ export const regionCodesTable = () => {
49
49
  The active region (accessible via readonly accessor `.activeRegion`) determines how validation and formatting
50
50
  should be applied. It is dependent on the following factors:
51
51
 
52
- - [allowed regions](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
53
- [.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
52
+ - [allowed regions](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
53
+ [.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
54
54
  - the modelValue or viewValue: once it contains sufficient info to derive its region code (and
55
- the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel/#allowed-regions) if configured)
56
- - active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel/#allowed-regions) if configured)
55
+ the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel/#allowed-regions) if configured)
56
+ - active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel/#allowed-regions) if configured)
57
57
 
58
58
  What follows from the list above is that .activeRegion can change dynamically, after a value
59
59
  change in the text box by the user (or when locales or allowed regions would be changed by the
@@ -142,7 +142,7 @@ export const heuristic = () => {
142
142
  Once it is configured, validation and formatting will be restricted to those
143
143
  values that are present in this list.
144
144
 
145
- > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel-dropdown/index.md), only allowed regions will
145
+ > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel-dropdown/index.md), only allowed regions will
146
146
  > be shown in the dropdown list.
147
147
 
148
148
  ```js preview-story
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Tel Dropdown: Extensions'
2
3
  parts:
3
4
  - Input Tel Dropdown
4
5
  - Extensions
5
- title: 'Input Tel Dropdown: Extensions'
6
6
  eleventyNavigation:
7
7
  key: 'Input Tel Dropdown: Extensions'
8
8
  order: 30
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Input Tel Dropdown
2
3
  parts:
3
4
  - Input Tel Dropdown
4
- title: Input Tel Dropdown
5
5
  eleventyNavigation:
6
6
  key: Input Tel Dropdown
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Tel Dropdown: Overview'
2
3
  parts:
3
4
  - Input Tel Dropdown
4
5
  - Overview
5
- title: 'Input Tel Dropdown: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Input Tel Dropdown: Overview'
8
8
  order: 10
@@ -31,7 +31,7 @@ export const main = () => {
31
31
 
32
32
  ## Features
33
33
 
34
- - Extends our [input-tel](https://github.com/ing-bank/lion/blob/b80c6f41b02bf4dbee5f93ff16a451507cc11b04/docs/components/input-tel/overview.md)
34
+ - Extends our [input-tel](https://github.com/ing-bank/lion/blob/bfc0ad112f12d036e943829a2bdeeae9e0cac480/docs/components/input-tel/overview.md)
35
35
  - Shows dropdown list with all possible regions
36
36
  - Shows only allowed regions in dropdown list when .allowedRegions is configured
37
37
  - Highlights regions on top of dropdown list when .preferredRegions is configured
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Input Tel Dropdown: Use Cases'
2
3
  parts:
3
4
  - Input Tel Dropdown
4
5
  - Use Cases
5
- title: 'Input Tel Dropdown: Use Cases'
6
6
  eleventyNavigation:
7
7
  key: 'Input Tel Dropdown: Use Cases'
8
8
  order: 20
@@ -1,7 +1,7 @@
1
1
  ---
2
+ title: Listbox
2
3
  parts:
3
4
  - Listbox
4
- title: Listbox
5
5
  eleventyNavigation:
6
6
  key: Listbox
7
7
  order: 20
@@ -1,8 +1,8 @@
1
1
  ---
2
+ title: 'Listbox: Overview'
2
3
  parts:
3
4
  - Listbox
4
5
  - Overview
5
- title: 'Listbox: Overview'
6
6
  eleventyNavigation:
7
7
  key: 'Listbox: Overview'
8
8
  order: 10