@lion/ui 0.16.1 → 0.17.0-menu-system.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 (250) hide show
  1. package/collapsible.js +1 -0
  2. package/components/button/src/LionButton.js +5 -0
  3. package/components/button/test-suites/LionButton.suite.js +1 -0
  4. package/components/calendar/src/LionCalendar.js +2 -0
  5. package/components/collapsible/src/DisclosureMixin.js +313 -0
  6. package/components/collapsible/types/DisclosureMixinTypes.ts +48 -0
  7. package/components/combobox/src/utils/makeMatchingTextBold.js +3 -1
  8. package/components/combobox/test/lion-combobox.test.js +105 -0
  9. package/components/form-core/src/form-group/FormGroupMixin.js +7 -0
  10. package/components/form-core/src/registration/FormRegistrarMixin.js +11 -0
  11. package/components/form-core/test/FormControlMixin.test.js +1 -0
  12. package/components/form-core/test/validate/Validator.test.js +2 -0
  13. package/components/form-core/test-suites/ValidateMixin.suite.js +2 -0
  14. package/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.js +1 -0
  15. package/components/input-datepicker/src/LionInputDatepicker.js +6 -2
  16. package/components/input-datepicker/src/localizeNamespaceLoader.js +1 -0
  17. package/components/input-datepicker/test/lion-input-datepicker.test.js +17 -2
  18. package/components/input-datepicker/translations/bg.js +1 -1
  19. package/components/input-datepicker/translations/cs.js +1 -1
  20. package/components/input-datepicker/translations/de.js +1 -1
  21. package/components/input-datepicker/translations/en.js +1 -1
  22. package/components/input-datepicker/translations/es.js +1 -1
  23. package/components/input-datepicker/translations/fr.js +1 -1
  24. package/components/input-datepicker/translations/hu.js +1 -1
  25. package/components/input-datepicker/translations/it.js +1 -1
  26. package/components/input-datepicker/translations/nl.js +1 -1
  27. package/components/input-datepicker/translations/pl.js +1 -1
  28. package/components/input-datepicker/translations/ro.js +1 -1
  29. package/components/input-datepicker/translations/ru.js +1 -1
  30. package/components/input-datepicker/translations/sk.js +1 -1
  31. package/components/input-datepicker/translations/tr.js +1 -1
  32. package/components/input-datepicker/translations/uk.js +1 -1
  33. package/components/input-datepicker/translations/zh.js +1 -1
  34. package/components/input-stepper/src/LionInputStepper.js +15 -7
  35. package/components/input-stepper/test-suites/lion-input-stepper.suite.js +28 -4
  36. package/components/localize/test/date/formatDate.test.js +1 -0
  37. package/components/menu/CHANGELOG.md +37 -0
  38. package/components/menu/README.md +335 -0
  39. package/components/menu/index.js +2 -0
  40. package/components/menu/lion-menu-overlay.js +3 -0
  41. package/components/menu/lion-menu.js +3 -0
  42. package/components/menu/lion-spinbutton.js +3 -0
  43. package/components/menu/lion-toolbar.js +3 -0
  44. package/components/menu/lion-tree.js +3 -0
  45. package/components/menu/package.json +46 -0
  46. package/components/menu/requirements.temp.md +12 -0
  47. package/components/menu/src/InteractiveListMixin.js +796 -0
  48. package/components/menu/src/LionMenu.js +250 -0
  49. package/components/menu/src/LionMenuHybrid.js +46 -0
  50. package/components/menu/src/LionMenuOverlay.js +155 -0
  51. package/components/menu/src/LionSpinbutton.js +213 -0
  52. package/components/menu/src/LionToolbar.js +94 -0
  53. package/components/menu/src/LionTree.js +52 -0
  54. package/components/menu/src/MultiLevelListMixin.js +274 -0
  55. package/components/menu/src/utils/isInView.js +26 -0
  56. package/components/menu/src/utils/listItemInteractions.js +104 -0
  57. package/components/menu/src/utils/uuid.js +3 -0
  58. package/components/menu/test/lion-menu.test.js +3 -0
  59. package/components/menu/test-suites/InteractiveListMixin.suite.js +142 -0
  60. package/components/menu/types/InteractiveListMixinTypes.d.ts +82 -0
  61. package/components/navigation-bar/README.md +1 -0
  62. package/components/navigation-bar/src/LionNavigationBar.js +422 -0
  63. package/components/navigation-bar/src/types.js +41 -0
  64. package/components/overlays/NEXT.md +49 -0
  65. package/components/overlays/src/OverlayController.js +249 -150
  66. package/components/overlays/src/OverlayMixin.js +76 -12
  67. package/components/overlays/src/OverlaysManager.js +98 -0
  68. package/components/overlays/src/overlayShadowDomStyle.js +2 -2
  69. package/components/overlays/src/utils/adopt-styles.js +2 -1
  70. package/components/overlays/src/utils/get-focusable-elements.js +4 -0
  71. package/components/overlays/src/utils/is-equal-config.js +10 -6
  72. package/components/overlays/test/OverlayController.test.js +120 -7
  73. package/components/overlays/test/utils-tests/is-equal-config.test.js +1 -1
  74. package/components/overlays/test-suites/OverlayMixin.suite.js +8 -8
  75. package/components/overlays/types/OverlayConfig.ts +25 -4
  76. package/components/select-rich/test/lion-select-rich.test.js +3 -0
  77. package/custom-elements.json +12950 -2486
  78. package/dist-types/components/button/src/LionButton.d.ts +1 -0
  79. package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
  80. package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
  81. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  82. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts +3 -0
  83. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts.map +1 -0
  84. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts +24 -0
  85. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts.map +1 -0
  86. package/dist-types/components/combobox/src/utils/makeMatchingTextBold.d.ts.map +1 -1
  87. package/dist-types/components/dialog/src/LionDialog.d.ts +3 -1
  88. package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
  89. package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
  90. package/dist-types/components/form-core/src/registration/FormRegistrarMixin.d.ts.map +1 -1
  91. package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
  92. package/dist-types/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.d.ts.map +1 -1
  93. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts.map +1 -1
  94. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
  95. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts +4 -2
  96. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
  97. package/dist-types/components/input-stepper/test-suites/lion-input-stepper.suite.d.ts.map +1 -1
  98. package/dist-types/components/menu/index.d.ts +3 -0
  99. package/dist-types/components/menu/index.d.ts.map +1 -0
  100. package/dist-types/components/menu/lion-menu-overlay.d.ts +2 -0
  101. package/dist-types/components/menu/lion-menu-overlay.d.ts.map +1 -0
  102. package/dist-types/components/menu/lion-menu.d.ts +2 -0
  103. package/dist-types/components/menu/lion-menu.d.ts.map +1 -0
  104. package/dist-types/components/menu/lion-spinbutton.d.ts +2 -0
  105. package/dist-types/components/menu/lion-spinbutton.d.ts.map +1 -0
  106. package/dist-types/components/menu/lion-toolbar.d.ts +2 -0
  107. package/dist-types/components/menu/lion-toolbar.d.ts.map +1 -0
  108. package/dist-types/components/menu/lion-tree.d.ts +2 -0
  109. package/dist-types/components/menu/lion-tree.d.ts.map +1 -0
  110. package/dist-types/components/menu/src/InteractiveListMixin.d.ts +611 -0
  111. package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +1 -0
  112. package/dist-types/components/menu/src/LionMenu.d.ts +563 -0
  113. package/dist-types/components/menu/src/LionMenu.d.ts.map +1 -0
  114. package/dist-types/components/menu/src/LionMenuHybrid.d.ts +19 -0
  115. package/dist-types/components/menu/src/LionMenuHybrid.d.ts.map +1 -0
  116. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +1007 -0
  117. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +1 -0
  118. package/dist-types/components/menu/src/LionSpinbutton.d.ts +58 -0
  119. package/dist-types/components/menu/src/LionSpinbutton.d.ts.map +1 -0
  120. package/dist-types/components/menu/src/LionToolbar.d.ts +8 -0
  121. package/dist-types/components/menu/src/LionToolbar.d.ts.map +1 -0
  122. package/dist-types/components/menu/src/LionTree.d.ts +445 -0
  123. package/dist-types/components/menu/src/LionTree.d.ts.map +1 -0
  124. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +493 -0
  125. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +1 -0
  126. package/dist-types/components/menu/src/utils/isInView.d.ts +9 -0
  127. package/dist-types/components/menu/src/utils/isInView.d.ts.map +1 -0
  128. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +42 -0
  129. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +1 -0
  130. package/dist-types/components/menu/src/utils/uuid.d.ts +2 -0
  131. package/dist-types/components/menu/src/utils/uuid.d.ts.map +1 -0
  132. package/dist-types/components/menu/test/lion-menu.test.d.ts +2 -0
  133. package/dist-types/components/menu/test/lion-menu.test.d.ts.map +1 -0
  134. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +13 -0
  135. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +1 -0
  136. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +238 -0
  137. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +1 -0
  138. package/dist-types/components/navigation-bar/src/types.d.ts +85 -0
  139. package/dist-types/components/navigation-bar/src/types.d.ts.map +1 -0
  140. package/dist-types/components/overlays/src/OverlayController.d.ts +10 -20
  141. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  142. package/dist-types/components/overlays/src/OverlayMixin.d.ts +3 -0
  143. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  144. package/dist-types/components/overlays/src/OverlaysManager.d.ts +31 -0
  145. package/dist-types/components/overlays/src/OverlaysManager.d.ts.map +1 -1
  146. package/dist-types/components/overlays/src/utils/get-focusable-elements.d.ts.map +1 -1
  147. package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
  148. package/dist-types/components/overlays/types/OverlayConfig.d.ts +11 -2
  149. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  150. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +12 -2
  151. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  152. package/dist-types/exports/define/lion-item.d.ts +2 -0
  153. package/dist-types/exports/define/lion-item.d.ts.map +1 -0
  154. package/dist-types/exports/define/lion-menu-overlay.d.ts +2 -0
  155. package/dist-types/exports/define/lion-menu-overlay.d.ts.map +1 -0
  156. package/dist-types/exports/define/lion-menu.d.ts +2 -0
  157. package/dist-types/exports/define/lion-menu.d.ts.map +1 -0
  158. package/dist-types/exports/define/lion-navigation-bar.d.ts +2 -0
  159. package/dist-types/exports/define/lion-navigation-bar.d.ts.map +1 -0
  160. package/dist-types/exports/define/lion-toolbar.d.ts +2 -0
  161. package/dist-types/exports/define/lion-toolbar.d.ts.map +1 -0
  162. package/dist-types/exports/define/lion-tree.d.ts +2 -0
  163. package/dist-types/exports/define/lion-tree.d.ts.map +1 -0
  164. package/dist-types/exports/menu.d.ts +7 -0
  165. package/dist-types/exports/menu.d.ts.map +1 -0
  166. package/dist-types/exports/navigation-bar.d.ts +2 -0
  167. package/dist-types/exports/navigation-bar.d.ts.map +1 -0
  168. package/dist-types/exports/overlays.d.ts +3 -0
  169. package/dist-types/exports/overlays.d.ts.map +1 -1
  170. package/dist-types/exports/types/overlays.d.ts +1 -0
  171. package/dist-types/exports/types/overlays.d.ts.map +1 -1
  172. package/dist-types/tsconfig.tsbuildinfo +1 -1
  173. package/docs/components/checkbox-group/overview.md +2 -2
  174. package/docs/components/collapsible/overview.md +1 -1
  175. package/docs/components/combobox/overview.md +1 -1
  176. package/docs/components/combobox/use-cases.md +1 -1
  177. package/docs/components/dialog/overview.md +1 -1
  178. package/docs/components/fieldset/overview.md +5 -5
  179. package/docs/components/form/overview.md +3 -3
  180. package/docs/components/form/use-cases.md +2 -2
  181. package/docs/components/icon/use-cases.md +1 -1
  182. package/docs/components/index.md +1 -1
  183. package/docs/components/input/overview.md +1 -1
  184. package/docs/components/input-amount/overview.md +3 -3
  185. package/docs/components/input-date/overview.md +3 -3
  186. package/docs/components/input-datepicker/overview.md +5 -5
  187. package/docs/components/input-datepicker/use-cases.md +16 -1
  188. package/docs/components/input-email/overview.md +2 -2
  189. package/docs/components/input-file/overview.md +1 -1
  190. package/docs/components/input-iban/overview.md +2 -2
  191. package/docs/components/input-range/api-table.md +1 -1
  192. package/docs/components/input-range/overview.md +2 -2
  193. package/docs/components/input-stepper/api-table.md +2 -2
  194. package/docs/components/input-stepper/overview.md +1 -1
  195. package/docs/components/input-stepper/use-cases.md +26 -0
  196. package/docs/components/input-tel/overview.md +1 -1
  197. package/docs/components/input-tel/use-cases.md +6 -6
  198. package/docs/components/input-tel-dropdown/overview.md +1 -1
  199. package/docs/components/listbox/use-cases.md +1 -1
  200. package/docs/components/menu/api-table.md +450 -0
  201. package/docs/components/menu/applyMenuDemoStyles.js +173 -0
  202. package/docs/components/menu/extensions.md +216 -0
  203. package/docs/components/menu/index.md +13 -0
  204. package/docs/components/menu/overview.md +422 -0
  205. package/docs/components/radio-group/overview.md +3 -3
  206. package/docs/components/select/use-cases.md +1 -1
  207. package/docs/components/select-rich/api-table.md +1 -1
  208. package/docs/components/select-rich/use-cases.md +2 -2
  209. package/docs/components/tabs/examples.md +1 -1
  210. package/docs/fundamentals/index.md +4 -4
  211. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  212. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  213. package/docs/fundamentals/rationales/accessibility.md +1 -1
  214. package/docs/fundamentals/systems/core/SlotMixin.md +18 -18
  215. package/docs/fundamentals/systems/core/overview.md +1 -1
  216. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  217. package/docs/fundamentals/systems/form/interaction-states.md +0 -1
  218. package/docs/fundamentals/systems/form/model-value.md +1 -1
  219. package/docs/fundamentals/systems/form/overview.md +28 -28
  220. package/docs/fundamentals/systems/form/validate.md +2 -2
  221. package/docs/fundamentals/systems/localize/overview.md +4 -4
  222. package/docs/fundamentals/systems/localize/text.md +1 -1
  223. package/docs/fundamentals/systems/overlays/api-table.md +92 -45
  224. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  225. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  226. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  227. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  228. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  229. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  230. package/docs/guides/how-to/create-a-form.md +4 -4
  231. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  232. package/docs/guides/how-to/index.md +14 -0
  233. package/docs/guides/index.md +8 -8
  234. package/docs/guides/principles/index.md +5 -5
  235. package/docs/guides/principles/styling.md +1 -2
  236. package/exports/collapsible.js +1 -0
  237. package/exports/define/lion-item.js +3 -0
  238. package/exports/define/lion-menu-overlay.js +3 -0
  239. package/exports/define/lion-menu.js +3 -0
  240. package/exports/define/lion-navigation-bar.js +3 -0
  241. package/exports/define/lion-toolbar.js +3 -0
  242. package/exports/define/lion-tree.js +3 -0
  243. package/exports/menu.js +6 -0
  244. package/exports/navigation-bar.js +1 -0
  245. package/exports/overlays.js +6 -0
  246. package/exports/types/overlays.ts +1 -0
  247. package/menu.js +6 -0
  248. package/navigation-bar.js +1 -0
  249. package/overlays.js +6 -0
  250. package/package.json +1 -1
@@ -31,11 +31,11 @@ import '@lion/ui/define/lion-checkbox.js';
31
31
  </lion-checkbox-group>
32
32
  ```
33
33
 
34
- > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/form/overview.md)'s serialization result.
34
+ > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/form/overview.md)'s serialization result.
35
35
 
36
36
  ## Features
37
37
 
38
- Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/fieldset/overview.md),
38
+ Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/fieldset/overview.md),
39
39
  it has all the features a fieldset has.
40
40
 
41
41
  ## Installation
@@ -34,7 +34,7 @@ export const main = () => html`
34
34
  ## Features
35
35
 
36
36
  - Use `opened` attribute or `toggle()` method to render default open.
37
- - `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/button/overview.md) or native `button` with custom styling.
37
+ - `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/button/overview.md) or native `button` with custom styling.
38
38
  - Observe the state with the help of `@opened-changed` event.
39
39
  - `show()` and `hide()` are helper methods to hide or show the content from outside.
40
40
 
@@ -46,7 +46,7 @@ export const main = () => html`
46
46
  `;
47
47
  ```
48
48
 
49
- [...show more](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/combobox/extensions.md)
49
+ [...show more](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/combobox/extensions.md)
50
50
 
51
51
  ## Features
52
52
 
@@ -558,4 +558,4 @@ export const complexObjectChoiceValue = () =>
558
558
  ## Listbox compatibility
559
559
 
560
560
  All configurations that can be applied to `lion-listbox`, can be applied to `lion-combobox` as well.
561
- See the [listbox documentation](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/listbox/overview.md) for more information.
561
+ See the [listbox documentation](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/listbox/overview.md) for more information.
@@ -66,6 +66,6 @@ import '@lion/ui/define/lion-dialog.js';
66
66
  ## Changing the configuration
67
67
 
68
68
  You can use the `.config` property on the dialog to change the configuration.
69
- The documentation of the full config object can be found in the `overlays` folder or here in [Overlay System - Configuration](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/overlays/configuration.md).
69
+ The documentation of the full config object can be found in the `overlays` folder or here in [Overlay System - Configuration](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/overlays/configuration.md).
70
70
 
71
71
  The `config` property uses a setter to merge the passed configuration with the current, so you only **overwrite what you pass** when updating `config`.
@@ -32,9 +32,9 @@ export const main = () => html`
32
32
 
33
33
  We have three specific fieldset implementations:
34
34
 
35
- - [form](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/form/overview.md)
36
- - [checkbox-group](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/checkbox-group/overview.md)
37
- - [radio-group](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/radio-group/overview.md)
35
+ - [form](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/form/overview.md)
36
+ - [checkbox-group](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/checkbox-group/overview.md)
37
+ - [radio-group](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/radio-group/overview.md)
38
38
 
39
39
  A native fieldset element should always have a legend-element for a11y purposes.
40
40
  However, our fieldset element is not native and should not have a legend-element.
@@ -43,8 +43,8 @@ Our fieldset instead has a label attribute or you can add a label with a div- or
43
43
  ## Features
44
44
 
45
45
  - Easy retrieval of form data based on field names
46
- - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/interaction-states.md)
47
- - Can have [validate](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/validate.md) on fieldset level and shows the validation feedback below the fieldset
46
+ - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/interaction-states.md)
47
+ - Can have [validate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) on fieldset level and shows the validation feedback below the fieldset
48
48
  - Can disable input fields on fieldset level
49
49
  - Accessible out of the box
50
50
 
@@ -20,7 +20,7 @@ import '@lion/ui/define/lion-form.js';
20
20
  ```
21
21
 
22
22
  A web component that enhances the functionality of the native `form` component.
23
- It is designed to interact with (instances of) the [form controls](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/overview.md).
23
+ It is designed to interact with (instances of) the [form controls](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/overview.md).
24
24
 
25
25
  ```js preview-story
26
26
  export const main = () => {
@@ -49,11 +49,11 @@ export const main = () => {
49
49
  - Data synchronization with models
50
50
  - Easy retrieval of form data based on field names
51
51
  - Advanced validation possibilities
52
- - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/interaction-states.md)
52
+ - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/interaction-states.md)
53
53
  - Registration mechanism for form controls
54
54
  - Accessible out of the box
55
55
 
56
- For more information about fields that are designed for our `form`, please read [form system](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/overview.md).
56
+ For more information about fields that are designed for our `form`, please read [form system](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/overview.md).
57
57
 
58
58
  ## Installation
59
59
 
@@ -26,7 +26,7 @@ import '@lion/ui/define/lion-form.js';
26
26
  To submit a form, use a regular `<button>` (or `<lion-button-submit>`) somewhere inside the native `<form>`. Then, add a `submit` handler on the `<lion-form>`. You can use this event to do your own (pre-)submit logic, like getting the serialized form data and sending it to a backend API.
27
27
 
28
28
  Another example is checking if the form has errors, and focusing the first field with a validation error.
29
- To learn more about form validation, please take a look at [validate](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/validate.md).
29
+ To learn more about form validation, please take a look at [validate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md).
30
30
 
31
31
  To fire a submit from JavaScript, select the `<lion-form>` element and call `.submit()`.
32
32
 
@@ -128,7 +128,7 @@ export const prefilledData = () => {
128
128
  };
129
129
  ```
130
130
 
131
- Learn more about [formatting and parsing](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/formatting-and-parsing.md).
131
+ Learn more about [formatting and parsing](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/formatting-and-parsing.md).
132
132
 
133
133
  ## Sub forms
134
134
 
@@ -25,7 +25,7 @@ import '@lion/ui/define/lion-icon.js';
25
25
  ## Icon sets
26
26
 
27
27
  Icons are displayed using icon sets. These are collections of icons, lazily loaded on demand for performance.
28
- See the [system documentation](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/icon/overview.md) to learn more about icon sets.
28
+ See the [system documentation](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/icon/overview.md) to learn more about icon sets.
29
29
 
30
30
  ```js preview-story
31
31
  export const iconSets = () => html`
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: Components
2
+ title: Components - Lion UI
3
3
  parts:
4
4
  - Components
5
5
  eleventyNavigation:
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/form/validate.md).
38
+ - Can make use of [validation](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md).
39
39
 
40
40
  ## Installation
41
41
 
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
40
- - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
39
+ - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/input/overview.md)
40
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
46
46
  - IsNumber (default)
47
47
  - MinNumber
48
48
  - MaxNumber
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
32
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
31
+ - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/input/overview.md)
32
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
36
36
  - IsDate (default)
37
37
  - MinDate
38
38
  - MaxDate
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input-date/overview.md) for this.
17
+ We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input-date/overview.md)
34
- - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/calendar/overview.md) inside the datepicker
35
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
33
+ - Based on our [input-date](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/input-date/overview.md)
34
+ - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/calendar/overview.md) inside the datepicker
35
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
38
38
  - IsDate (default)
39
39
  - MinDate
40
40
  - MaxDate
@@ -96,7 +96,22 @@ Faulty prefilled input will be cleared
96
96
 
97
97
  ```js preview-story
98
98
  export const faultyPrefilled = () => html`
99
- <lion-input-datepicker label="Faulty prefiiled" .modelValue="${new Date('30/01/2022')}">
99
+ <lion-input-datepicker label="Faulty prefilled" .modelValue="${new Date('30/01/2022')}">
100
+ </lion-input-datepicker>
101
+ `;
102
+ ```
103
+
104
+ ## Accessibility
105
+
106
+ To ensure an accessible experience for all users, including those using screen readers, provide a descriptive label for your datepicker. An aria-label will be build based on it: "Open {label} picker". In case your label doesn't fit, you can replace it with the `fieldName` property.
107
+
108
+ ### Using fieldName property
109
+
110
+ If your label is too long for the aria-label text "Open {label} picker", provide a shorter `fieldName` to keep the picker button's aria-label concise:
111
+
112
+ ```js preview-story
113
+ export const ariaLabelFieldName = () => html`
114
+ <lion-input-datepicker label="Event start date and time" .fieldName="${'StartDate'}">
100
115
  </lion-input-datepicker>
101
116
  `;
102
117
  ```
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
31
- - Makes use of email [validators](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/input/overview.md)
31
+ - Makes use of email [validators](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
32
32
  - IsEmail (default)
33
33
 
34
34
  ## Installation
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
30
+ - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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
 
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
31
+ - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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
@@ -12,7 +12,7 @@ eleventyNavigation:
12
12
  # Input Range: API Table
13
13
 
14
14
 
15
- ## class: `LionInputRange`, `lion-input-range`
15
+ ## class: `LionInputRange`, `` `lion-input-range` ``
16
16
 
17
17
  ### Fields
18
18
 
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md).
28
+ - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
32
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
33
33
 
34
34
  ## Installation
35
35
 
@@ -109,7 +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
+ | `_decrement` | protected | Decrement the value based on given step or default step value is 1 | `ev: Event` | | |
113
113
  | `_decrementorSignTemplate` | protected | Get the decrementor button sign template | | `String\|TemplateResult` | |
114
114
  | `_decrementorTemplate` | protected | Get the increment button template | | `TemplateResult` | |
115
115
  | `_destroyOutputContent` | protected | | | | |
@@ -124,7 +124,7 @@ eleventyNavigation:
124
124
  | `_groupTwoTemplate` | protected | | | `TemplateResult` | LionField |
125
125
  | `_hasFeedbackVisibleFor` | protected | Used to translate \`.hasFeedbackFor\` and \`.shouldShowFeedbackFor\` to \`.showsFeedbackFor\` | `type: string` | | LionField |
126
126
  | `_helpTextTemplate` | protected | | | `TemplateResult` | LionField |
127
- | `_increment` | protected | Increment the value based on given step or default step value is 1 | | | |
127
+ | `_increment` | protected | Increment the value based on given step or default step value is 1 | `ev: Event` | | |
128
128
  | `_incrementorSignTemplate` | protected | Get the incrementor button sign template | | `String\|TemplateResult` | |
129
129
  | `_incrementorTemplate` | protected | Get the decrement button template | | `TemplateResult` | |
130
130
  | `_inputGroupAfterTemplate` | protected | | | `TemplateResult` | LionField |
@@ -30,7 +30,7 @@ loadDefaultFeedbackMessages();
30
30
 
31
31
  ## Features
32
32
 
33
- - Based on our [input](https://github.com/ing-bank/lion/blob/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md).
33
+ - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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.
@@ -127,3 +127,29 @@ The value is always aligned with the defined step size when using the increase o
127
127
  value="55"
128
128
  ></lion-input-stepper>
129
129
  ```
130
+
131
+ ### Disabled
132
+
133
+ `disabled` attribute will be delegated to the native `<input>` to make it disabled.
134
+
135
+ This field **will not be included** in the parent fieldset or form's `serializedValue`.
136
+
137
+ ```html preview-story
138
+ <lion-input-stepper name="year" disabled value="10">
139
+ <label slot="label">How old is the existence?</label>
140
+ <div slot="after" data-description>In Billion Years</div>
141
+ </lion-input-stepper>
142
+ ```
143
+
144
+ ### ReadOnly
145
+
146
+ `readonly` attribute will be delegated to the native `<input>` to make it read-only, and will prevent buttons to increase or decrease value.
147
+
148
+ This field **will still be included** in the parent fieldset or form's `serializedValue`.
149
+
150
+ ```html preview-story
151
+ <lion-input-stepper name="year" readonly value="10">
152
+ <label slot="label">How old is the existence?</label>
153
+ <div slot="after" data-description>In Billion Years</div>
154
+ </lion-input-stepper>
155
+ ```
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input/overview.md)
54
+ - Extends our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
52
+ - [allowed regions](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input-tel/#allowed-regions) if configured)
55
+ the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input-tel-dropdown/index.md), only allowed regions will
145
+ > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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
@@ -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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/docs/components/input-tel/overview.md)
34
+ - Extends our [input-tel](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/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
@@ -151,4 +151,4 @@ Navigation will skip over disabled options. Let's disable Artichoke and Brussel
151
151
 
152
152
  ## Validation
153
153
 
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/e45f5c198ccac32dc5c3fd5db6a9fc9fc3595c35/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/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md).