@lion/ui 0.18.0-menu-system.6 → 0.18.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 (248) hide show
  1. package/collapsible.js +0 -1
  2. package/components/button/src/LionButton.js +0 -4
  3. package/components/button/test-suites/LionButton.suite.js +0 -1
  4. package/components/calendar/src/LionCalendar.js +1 -3
  5. package/components/combobox/test/lion-combobox.test.js +0 -1
  6. package/components/form-core/src/choice-group/ChoiceInputMixin.js +1 -1
  7. package/components/form-core/src/form-group/FormGroupMixin.js +0 -7
  8. package/components/form-core/src/registration/FormRegistrarMixin.js +0 -11
  9. package/components/form-core/test/FormControlMixin.test.js +0 -1
  10. package/components/form-core/test/validate/Validator.test.js +0 -2
  11. package/components/form-core/test-suites/ValidateMixin.suite.js +0 -2
  12. package/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.js +0 -1
  13. package/components/input-datepicker/src/localizeNamespaceLoader.js +0 -1
  14. package/components/input-datepicker/test/lion-input-datepicker.test.js +6 -5
  15. package/components/listbox/test-suites/ListboxMixin.suite.js +1 -7
  16. package/components/localize/src/date/utils/normalizeIntlDate.js +2 -3
  17. package/components/localize/test/date/formatDate.test.js +2 -3
  18. package/components/overlays/src/OverlayController.js +110 -278
  19. package/components/overlays/src/OverlayMixin.js +11 -58
  20. package/components/overlays/src/OverlaysManager.js +2 -2
  21. package/components/overlays/src/configurations/withDropdownConfig.js +2 -22
  22. package/components/overlays/src/configurations/withPopoverConfig.js +32 -0
  23. package/components/overlays/src/utils/adopt-styles.js +5 -4
  24. package/components/overlays/src/utils/get-focusable-elements.js +0 -4
  25. package/components/overlays/src/utils/is-equal-config.js +6 -10
  26. package/components/overlays/test/OverlayController.test.js +21 -128
  27. package/components/overlays/test/utils-tests/is-equal-config.test.js +1 -1
  28. package/components/overlays/test-suites/OverlayMixin.suite.js +8 -8
  29. package/components/overlays/types/ArrowMixinTypes.ts +1 -3
  30. package/components/overlays/types/OverlayConfig.ts +5 -20
  31. package/components/select-rich/test/lion-select-rich.test.js +0 -3
  32. package/components/switch/src/LionSwitch.js +1 -1
  33. package/components/switch/src/LionSwitchButton.js +8 -3
  34. package/components/switch/test/lion-switch-button.test.js +38 -0
  35. package/components/switch/test/lion-switch.test.js +7 -0
  36. package/custom-elements.json +17550 -30452
  37. package/dist-types/components/button/src/LionButton.d.ts +0 -1
  38. package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
  39. package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
  40. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  41. package/dist-types/components/dialog/src/LionDialog.d.ts +1 -5
  42. package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
  43. package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
  44. package/dist-types/components/form-core/src/registration/FormRegistrarMixin.d.ts.map +1 -1
  45. package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
  46. package/dist-types/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.d.ts.map +1 -1
  47. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
  48. package/dist-types/components/listbox/test-suites/ListboxMixin.suite.d.ts.map +1 -1
  49. package/dist-types/components/localize/src/date/utils/normalizeIntlDate.d.ts.map +1 -1
  50. package/dist-types/components/overlays/src/OverlayController.d.ts +12 -24
  51. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  52. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  53. package/dist-types/components/overlays/src/configurations/withDropdownConfig.d.ts +0 -1
  54. package/dist-types/components/overlays/src/configurations/withDropdownConfig.d.ts.map +1 -1
  55. package/dist-types/components/overlays/src/configurations/withPopoverConfig.d.ts +6 -0
  56. package/dist-types/components/overlays/src/configurations/withPopoverConfig.d.ts.map +1 -0
  57. package/dist-types/components/overlays/src/utils/get-focusable-elements.d.ts.map +1 -1
  58. package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
  59. package/dist-types/components/overlays/types/ArrowMixinTypes.d.ts.map +1 -1
  60. package/dist-types/components/overlays/types/OverlayConfig.d.ts +2 -12
  61. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  62. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +2 -10
  63. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  64. package/dist-types/components/switch/src/LionSwitchButton.d.ts +6 -0
  65. package/dist-types/components/switch/src/LionSwitchButton.d.ts.map +1 -1
  66. package/dist-types/exports/overlays.d.ts +1 -3
  67. package/dist-types/exports/overlays.d.ts.map +1 -1
  68. package/dist-types/tsconfig.tsbuildinfo +1 -1
  69. package/docs/components/checkbox-group/overview.md +2 -2
  70. package/docs/components/collapsible/overview.md +1 -1
  71. package/docs/components/combobox/api-table.md +8 -21
  72. package/docs/components/combobox/overview.md +1 -1
  73. package/docs/components/combobox/use-cases.md +1 -1
  74. package/docs/components/dialog/api-table.md +6 -31
  75. package/docs/components/dialog/overview.md +1 -1
  76. package/docs/components/fieldset/overview.md +5 -5
  77. package/docs/components/form/overview.md +3 -3
  78. package/docs/components/form/use-cases.md +2 -2
  79. package/docs/components/icon/use-cases.md +1 -1
  80. package/docs/components/input/overview.md +1 -1
  81. package/docs/components/input-amount/overview.md +3 -3
  82. package/docs/components/input-date/overview.md +3 -3
  83. package/docs/components/input-datepicker/api-table.md +4 -21
  84. package/docs/components/input-datepicker/overview.md +5 -5
  85. package/docs/components/input-email/overview.md +2 -2
  86. package/docs/components/input-file/overview.md +1 -1
  87. package/docs/components/input-iban/overview.md +2 -2
  88. package/docs/components/input-range/overview.md +2 -2
  89. package/docs/components/input-stepper/overview.md +1 -1
  90. package/docs/components/input-tel/overview.md +1 -1
  91. package/docs/components/input-tel/use-cases.md +6 -6
  92. package/docs/components/input-tel-dropdown/overview.md +1 -1
  93. package/docs/components/listbox/use-cases.md +1 -1
  94. package/docs/components/radio-group/overview.md +3 -3
  95. package/docs/components/select/use-cases.md +1 -1
  96. package/docs/components/select-rich/api-table.md +5 -21
  97. package/docs/components/select-rich/use-cases.md +2 -2
  98. package/docs/components/switch/api-table.md +2 -0
  99. package/docs/components/tabs/examples.md +1 -1
  100. package/docs/components/tooltip/api-table.md +11 -36
  101. package/docs/fundamentals/index.md +4 -4
  102. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  103. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  104. package/docs/fundamentals/rationales/accessibility.md +1 -1
  105. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  106. package/docs/fundamentals/systems/core/overview.md +1 -1
  107. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  108. package/docs/fundamentals/systems/form/model-value.md +1 -1
  109. package/docs/fundamentals/systems/form/overview.md +28 -28
  110. package/docs/fundamentals/systems/form/validate.md +2 -2
  111. package/docs/fundamentals/systems/localize/overview.md +4 -4
  112. package/docs/fundamentals/systems/overlays/api-table.md +34 -36
  113. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  114. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  115. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  116. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  117. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  118. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  119. package/docs/guides/how-to/create-a-form.md +4 -4
  120. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  121. package/docs/guides/how-to/index.md +1 -1
  122. package/docs/guides/index.md +8 -8
  123. package/docs/guides/principles/index.md +5 -5
  124. package/docs/guides/principles/styling.md +1 -1
  125. package/exports/collapsible.js +0 -1
  126. package/exports/overlays.js +1 -6
  127. package/overlays.js +1 -6
  128. package/package.json +1 -1
  129. package/components/collapsible/src/DisclosureMixin.js +0 -313
  130. package/components/collapsible/test-suites/DisclosureMixin.suite.js +0 -30
  131. package/components/collapsible/types/DisclosureMixinTypes.ts +0 -48
  132. package/components/menu/CHANGELOG.md +0 -37
  133. package/components/menu/README.md +0 -335
  134. package/components/menu/index.js +0 -2
  135. package/components/menu/lion-menu-overlay.js +0 -3
  136. package/components/menu/lion-menu.js +0 -3
  137. package/components/menu/lion-spinbutton.js +0 -3
  138. package/components/menu/lion-toolbar.js +0 -3
  139. package/components/menu/lion-tree.js +0 -3
  140. package/components/menu/package.json +0 -46
  141. package/components/menu/requirements.temp.md +0 -12
  142. package/components/menu/src/InteractiveListMixin.js +0 -841
  143. package/components/menu/src/LionMenu.js +0 -250
  144. package/components/menu/src/LionMenuHybrid.js +0 -46
  145. package/components/menu/src/LionMenuOverlay.js +0 -155
  146. package/components/menu/src/LionSpinbutton.js +0 -213
  147. package/components/menu/src/LionToolbar.js +0 -94
  148. package/components/menu/src/LionTree.js +0 -52
  149. package/components/menu/src/MoreButtonMenuMixin.js +0 -278
  150. package/components/menu/src/MultiLevelListMixin.js +0 -274
  151. package/components/menu/src/utils/isInView.js +0 -26
  152. package/components/menu/src/utils/listItemInteractions.js +0 -124
  153. package/components/menu/src/utils/uuid.js +0 -3
  154. package/components/menu/test/lion-menu.test.js +0 -6
  155. package/components/menu/test-suites/InteractiveListMixin.suite.js +0 -642
  156. package/components/menu/test-suites/LionMenuHybrid.suite.js +0 -583
  157. package/components/menu/types/InteractiveListMixinTypes.d.ts +0 -82
  158. package/components/navigation-bar/README.md +0 -1
  159. package/components/navigation-bar/src/LionNavigationBar.js +0 -439
  160. package/components/navigation-bar/src/types.js +0 -41
  161. package/components/overlays/NEXT.md +0 -49
  162. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts +0 -3
  163. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts.map +0 -1
  164. package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts +0 -2
  165. package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts.map +0 -1
  166. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts +0 -24
  167. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts.map +0 -1
  168. package/dist-types/components/menu/index.d.ts +0 -3
  169. package/dist-types/components/menu/index.d.ts.map +0 -1
  170. package/dist-types/components/menu/lion-menu-overlay.d.ts +0 -2
  171. package/dist-types/components/menu/lion-menu-overlay.d.ts.map +0 -1
  172. package/dist-types/components/menu/lion-menu.d.ts +0 -2
  173. package/dist-types/components/menu/lion-menu.d.ts.map +0 -1
  174. package/dist-types/components/menu/lion-spinbutton.d.ts +0 -2
  175. package/dist-types/components/menu/lion-spinbutton.d.ts.map +0 -1
  176. package/dist-types/components/menu/lion-toolbar.d.ts +0 -2
  177. package/dist-types/components/menu/lion-toolbar.d.ts.map +0 -1
  178. package/dist-types/components/menu/lion-tree.d.ts +0 -2
  179. package/dist-types/components/menu/lion-tree.d.ts.map +0 -1
  180. package/dist-types/components/menu/src/InteractiveListMixin.d.ts +0 -617
  181. package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +0 -1
  182. package/dist-types/components/menu/src/LionMenu.d.ts +0 -565
  183. package/dist-types/components/menu/src/LionMenu.d.ts.map +0 -1
  184. package/dist-types/components/menu/src/LionMenuHybrid.d.ts +0 -19
  185. package/dist-types/components/menu/src/LionMenuHybrid.d.ts.map +0 -1
  186. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +0 -1013
  187. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +0 -1
  188. package/dist-types/components/menu/src/LionSpinbutton.d.ts +0 -58
  189. package/dist-types/components/menu/src/LionSpinbutton.d.ts.map +0 -1
  190. package/dist-types/components/menu/src/LionToolbar.d.ts +0 -8
  191. package/dist-types/components/menu/src/LionToolbar.d.ts.map +0 -1
  192. package/dist-types/components/menu/src/LionTree.d.ts +0 -447
  193. package/dist-types/components/menu/src/LionTree.d.ts.map +0 -1
  194. package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts +0 -39
  195. package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts.map +0 -1
  196. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +0 -495
  197. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +0 -1
  198. package/dist-types/components/menu/src/utils/isInView.d.ts +0 -9
  199. package/dist-types/components/menu/src/utils/isInView.d.ts.map +0 -1
  200. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +0 -48
  201. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +0 -1
  202. package/dist-types/components/menu/src/utils/uuid.d.ts +0 -2
  203. package/dist-types/components/menu/src/utils/uuid.d.ts.map +0 -1
  204. package/dist-types/components/menu/test/lion-menu.test.d.ts +0 -2
  205. package/dist-types/components/menu/test/lion-menu.test.d.ts.map +0 -1
  206. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +0 -14
  207. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +0 -1
  208. package/dist-types/components/menu/test-suites/LionMenuHybrid.suite.d.ts +0 -5
  209. package/dist-types/components/menu/test-suites/LionMenuHybrid.suite.d.ts.map +0 -1
  210. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +0 -238
  211. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +0 -1
  212. package/dist-types/components/navigation-bar/src/types.d.ts +0 -85
  213. package/dist-types/components/navigation-bar/src/types.d.ts.map +0 -1
  214. package/dist-types/exports/define/lion-item.d.ts +0 -2
  215. package/dist-types/exports/define/lion-item.d.ts.map +0 -1
  216. package/dist-types/exports/define/lion-menu-overlay.d.ts +0 -2
  217. package/dist-types/exports/define/lion-menu-overlay.d.ts.map +0 -1
  218. package/dist-types/exports/define/lion-menu.d.ts +0 -2
  219. package/dist-types/exports/define/lion-menu.d.ts.map +0 -1
  220. package/dist-types/exports/define/lion-navigation-bar.d.ts +0 -2
  221. package/dist-types/exports/define/lion-navigation-bar.d.ts.map +0 -1
  222. package/dist-types/exports/define/lion-toolbar.d.ts +0 -2
  223. package/dist-types/exports/define/lion-toolbar.d.ts.map +0 -1
  224. package/dist-types/exports/define/lion-tree.d.ts +0 -2
  225. package/dist-types/exports/define/lion-tree.d.ts.map +0 -1
  226. package/dist-types/exports/menu-test-suites.d.ts +0 -2
  227. package/dist-types/exports/menu-test-suites.d.ts.map +0 -1
  228. package/dist-types/exports/menu.d.ts +0 -7
  229. package/dist-types/exports/menu.d.ts.map +0 -1
  230. package/dist-types/exports/navigation-bar.d.ts +0 -2
  231. package/dist-types/exports/navigation-bar.d.ts.map +0 -1
  232. package/docs/components/menu/api-table.md +0 -455
  233. package/docs/components/menu/applyMenuDemoStyles.js +0 -173
  234. package/docs/components/menu/extensions.md +0 -262
  235. package/docs/components/menu/index.md +0 -13
  236. package/docs/components/menu/overview.md +0 -422
  237. package/exports/define/lion-item.js +0 -3
  238. package/exports/define/lion-menu-overlay.js +0 -3
  239. package/exports/define/lion-menu.js +0 -3
  240. package/exports/define/lion-navigation-bar.js +0 -3
  241. package/exports/define/lion-toolbar.js +0 -3
  242. package/exports/define/lion-tree.js +0 -3
  243. package/exports/menu-test-suites.js +0 -2
  244. package/exports/menu.js +0 -7
  245. package/exports/navigation-bar.js +0 -1
  246. package/menu-test-suites.js +0 -2
  247. package/menu.js +0 -7
  248. package/navigation-bar.js +0 -1
@@ -33,9 +33,9 @@ Fields (think of an input, textarea, select) are the actual form controls the en
33
33
 
34
34
  On top of this, they feature:
35
35
 
36
- - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
37
- - Advanced [validation](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/validate.md) possibilities.
38
- - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/interaction-states.md).
36
+ - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
37
+ - Advanced [validation](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/validate.md) possibilities.
38
+ - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/interaction-states.md).
39
39
  - Provision of labels and help texts in an easy, declarative manner.
40
40
  - Accessibility out of the box.
41
41
  - Advanced styling possibilities: map your own Design System to the internal HTML structure.
@@ -44,33 +44,33 @@ On top of this, they feature:
44
44
 
45
45
  ### Platform fields (wrappers)
46
46
 
47
- - [LionInput](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input/overview.md), a wrapper for `<input>`.
48
- - [LionTextarea](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
49
- - [LionSelect](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/select/overview.md), a wrapper for `<select>`.
47
+ - [LionInput](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input/overview.md), a wrapper for `<input>`.
48
+ - [LionTextarea](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
49
+ - [LionSelect](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/select/overview.md), a wrapper for `<select>`.
50
50
 
51
51
  ### Custom fields (wrappers)
52
52
 
53
- Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
53
+ Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
54
54
 
55
- - [LionCombobox](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/combobox/overview.md), a custom implementation of a combobox.
56
- - [LionDate](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
57
- - [LionDatepicker](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
58
- - [LionListbox](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/listbox/overview.md), a custom implementation of a listbox.
59
- - [LionInputAmount](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
60
- - [LionInputEmail](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
61
- - [LionInputIban](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
62
- - [LionInputRange](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
63
- - [LionInputStepper](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
64
- - [LionSelectRich](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
55
+ - [LionCombobox](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/combobox/overview.md), a custom implementation of a combobox.
56
+ - [LionDate](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
57
+ - [LionDatepicker](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
58
+ - [LionListbox](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/listbox/overview.md), a custom implementation of a listbox.
59
+ - [LionInputAmount](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
60
+ - [LionInputEmail](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
61
+ - [LionInputIban](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
62
+ - [LionInputRange](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
63
+ - [LionInputStepper](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
64
+ - [LionSelectRich](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
65
65
 
66
66
  ### Choice Input Fields
67
67
 
68
68
  For form controls which return a `checked-state` you can use the `lion-choice-input` mixin. It is used in:
69
69
 
70
- - [LionCheckbox](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
70
+ - [LionCheckbox](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
71
71
  - LionOption, an alternative for `<option>`.
72
- - [LionRadio](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
73
- - [LionSwitch](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/switch/overview.md), a custom implementation of a switch.
72
+ - [LionRadio](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
73
+ - [LionSwitch](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/switch/overview.md), a custom implementation of a switch.
74
74
 
75
75
  Which contains the following features:
76
76
 
@@ -82,14 +82,14 @@ Which contains the following features:
82
82
 
83
83
  Fieldsets are groups of fields. They can be considered fields on their own as well, since they partly share the normalized API via `FormControlMixin`. Fieldsets are the basis for:
84
84
 
85
- - [LionFieldset](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
86
- - [LionForm](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
87
- - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
88
- - [LionRadioGroup](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
85
+ - [LionFieldset](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
86
+ - [LionForm](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
87
+ - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
88
+ - [LionRadioGroup](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
89
89
 
90
90
  ## Other Resources
91
91
 
92
- - [Model Value](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/model-value.md)
93
- - [Formatting and parsing](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/formatting-and-parsing.md)
94
- - [Interaction states](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/interaction-states.md)
95
- - [Validation System](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/validate.md)
92
+ - [Model Value](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/model-value.md)
93
+ - [Formatting and parsing](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/formatting-and-parsing.md)
94
+ - [Interaction states](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/interaction-states.md)
95
+ - [Validation System](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/validate.md)
@@ -70,7 +70,7 @@ Validation happens on every change of `modelValue`. A change in modelValue can b
70
70
 
71
71
  ## When validation feedback will be shown
72
72
 
73
- Although validation happens realtime under the hood, displaying validity feedback in realtime may not always lead to the desired User Experience. Together with [interaction states](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/interaction-states.md),
73
+ Although validation happens realtime under the hood, displaying validity feedback in realtime may not always lead to the desired User Experience. Together with [interaction states](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/interaction-states.md),
74
74
  validity states can determine whether a validation message should be shown along the input field.
75
75
 
76
76
  ## Assessing field validation state programmatically
@@ -245,7 +245,7 @@ export const requiredValidator = () => html`
245
245
  `;
246
246
  ```
247
247
 
248
- The default `Required` validation message is "Please, enter a(n) {fieldName}". In which the "fieldName" can be provided separately via the `fieldName` attribute, with a fallback to the label. See [override fieldname](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/form/#override-fieldname) for more information.
248
+ The default `Required` validation message is "Please, enter a(n) {fieldName}". In which the "fieldName" can be provided separately via the `fieldName` attribute, with a fallback to the label. See [override fieldname](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/form/#override-fieldname) for more information.
249
249
 
250
250
  Specific required messages for a select and file-upload are created.
251
251
 
@@ -22,15 +22,15 @@ In it's simplest form it is a function that returns the translated text for a na
22
22
  - Formatting of numbers, amounts
23
23
  - Formatting of dates
24
24
 
25
- Further examples and a more in depth description can be found at the [Use Cases Page](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/localize/use-cases.md).
25
+ Further examples and a more in depth description can be found at the [Use Cases Page](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/localize/use-cases.md).
26
26
 
27
27
  ## Content
28
28
 
29
29
  | Feature | Description |
30
30
  | ---------------------------------------- | --------------------------------------------- |
31
- | [Translate Text](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/localize/text.md) | Load and translate text in multiple languages |
32
- | [Format Numbers](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/localize/numbers.md) | Format numbers in multiple languages |
33
- | [Format Dates](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/localize/dates.md) | Format dates in multiple languages |
31
+ | [Translate Text](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/localize/text.md) | Load and translate text in multiple languages |
32
+ | [Format Numbers](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/localize/numbers.md) | Format numbers in multiple languages |
33
+ | [Format Dates](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/localize/dates.md) | Format dates in multiple languages |
34
34
 
35
35
  ## Installation
36
36
 
@@ -17,40 +17,40 @@ eleventyNavigation:
17
17
 
18
18
  ### Fields
19
19
 
20
- | Name | Privacy | Type | Default | Description | Inherited From |
21
- | --------------------------- | --------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
22
- | `backdropNode` | public | `HTMLElement` | | The element that is placed behind the contentNode. When not provided and \`hasBackdrop\` is true,&#xA;a backdropNode will be automatically created | |
23
- | `config` | public | `OverlayConfig` | `{}` | | |
24
- | `content` | public | `HTMLDialogElement \| HTMLDivElement` | | The contentWrapperNode | |
25
- | `contentNode` | public | `HTMLElement` | | The most important element: the overlay itself | |
26
- | `contentWrapperNode` | public | `HTMLElement` | | The wrapper element of contentNode, used to supply inline positioning styles. When a Popper&#xA;arrow is needed, it acts as parent of the arrow node. Will be automatically created for global&#xA;and non projected contentNodes. Required when used in shadow dom mode or when Popper arrow is&#xA;supplied. Essential for allowing webcomponents to style their projected contentNodes | |
27
- | `elementToFocusAfterHide` | public | `HTMLElement` | | The element that should be called \`.focus()\` on after dialog closes | |
28
- | `elevation` | public | `number` | | | |
29
- | `handlesAccessibility` | public | `boolean` | | For non \`isTooltip\`:&#xA; \- sets aria-expanded="true/false" and aria-haspopup="true" on invokerNode&#xA; \- sets aria-controls on invokerNode&#xA; \- returns focus to invokerNode on hide&#xA; \- sets focus to overlay content(?)&#xA;&#xA;For \`isTooltip\`:&#xA; \- sets role="tooltip" and aria-labelledby/aria-describedby on the content | |
30
- | `hasActiveBackdrop` | public | | | | |
31
- | `hasBackdrop` | public | `boolean` | | Whether it should have a backdrop (currently exclusive to globalOverlayController) | |
32
- | `hidesOnEsc` | public | `boolean` | | Hides the overlay when pressing \[ esc ] | |
33
- | `hidesOnOutsideClick` | public | `boolean` | | Hides the overlay when clicking next to it, exluding invoker | |
34
- | `hidesOnOutsideEsc` | public | `boolean` | | Hides the overlay when pressing esc, even when contentNode has no focus | |
35
- | `inheritsReferenceWidth` | public | `'max' \| 'full' \| 'min' \| 'none' \| undefined` | | Will align contentNode with referenceNode (invokerNode by default) for local overlays.&#xA;Usually needed for dropdowns. 'max' will prevent contentNode from exceeding width of&#xA;referenceNode, 'min' guarantees that contentNode will be at least as wide as referenceNode.&#xA;'full' will make sure that the invoker width always is the same. | |
36
- | `invoker` | public | `HTMLElement \| undefined` | | The invokerNode | |
37
- | `invokerNode` | public | `HTMLElement \| undefined` | | The interactive element (usually a button) invoking the dialog or tooltip | |
38
- | `invokerRelation` | public | `'label' \| 'description'\| undefined` | | By default, the tooltip content is a 'description' for the invoker (uses aria-describedby).&#xA;Setting this property to 'label' makes the content function as a label (via aria-labelledby) | |
39
- | `isAlertDialog` | public | | | The alertdialog role is to be used on modal alert dialogs that interrupt a user's workflow&#xA;to communicate an important message and require a response. | |
40
- | `isBlocking` | public | `boolean` | | Hides other overlays when mutiple are opened (currently exclusive to globalOverlayController) | |
41
- | `isShown` | public | | | | |
42
- | `isTooltip` | public | `boolean` | | Has a totally different interaction- and accessibility pattern from all other overlays.&#xA;Will behave as role="tooltip" element instead of a role="dialog" element | |
43
- | `manager` | public | | `manager` | | |
44
- | `placementMode` | public | `'global' \| 'local' \| 'custom' \| undefined` | | Determines the connection point in DOM (body vs next to invoker). | |
45
- | `popperConfig` | public | `PopperOptions` | | Popper configuration. Will be used when placementMode is 'local' | |
46
- | `preventsScroll` | public | `boolean` | | Hides other overlays when mutiple are opened (currently exclusive to globalOverlayController) | |
47
- | `referenceNode` | public | `HTMLElement` | | The element that is used to position the overlay content relative to. Usually,&#xA;this is the same element as invokerNode. Should only be provided when invokerNode should not&#xA;be positioned against. | |
48
- | `trapsKeyboardFocus` | public | `boolean` | | Rotates tab, implicitly set when 'isModal' | |
49
- | `viewportConfig` | public | `ViewportConfig` | | Viewport configuration. Will be used when placementMode is 'global' | |
50
- | `visibilityTriggerFunction` | public | | | | |
51
- | `_contentId` | protected | | `` `overlay-content--${Math.random().toString(36).slice(2, 10)}` `` | | |
52
- | `_defaultConfig` | protected | `OverlayConfig` | `{ placementMode: undefined, contentNode: config.contentNode, contentWrapperNode: config.contentWrapperNode, invokerNode: config.invokerNode, backdropNode: config.backdropNode, referenceNode: undefined, elementToFocusAfterHide: config.invokerNode, inheritsReferenceWidth: 'none', hasBackdrop: false, isBlocking: false, preventsScroll: false, trapsKeyboardFocus: false, hidesOnEsc: false, hidesOnOutsideEsc: false, hidesOnOutsideClick: false, isTooltip: false, isAlertDialog: false, invokerRelation: 'description', visibilityTriggerFunction: undefined, handlesAccessibility: false, popperConfig: { placement: 'top', strategy: 'fixed', modifiers: [ { name: 'preventOverflow', enabled: true, options: { boundariesElement: 'viewport', padding: 8, // viewport-margin for shifting/sliding }, }, { name: 'flip', options: { boundariesElement: 'viewport', padding: 16, // viewport-margin for flipping }, }, { name: 'offset', enabled: true, options: { offset: [0, 8], // horizontal and vertical margin (distance between popper and referenceElement) }, }, { name: 'arrow', enabled: false, }, ], }, viewportConfig: { placement: 'center', }, zIndex: 9999, isActivated: true, focusContentOnOpen: false, // This means that content will have visually-hidden / sr-only styles. This is handy for: // - hidden menus that should be "indexable" by screen readers (like the Links list in VO: https://support.apple.com/en-gb/guide/voiceover/mchlp2719/mac) // - "more" menus that put content in a dropdown that do not fit in the current row // - menus that should generally open on tab. // @ts-ignore - hideVisually is an extension property hideVisually: false, requireConnectedNodes: true, // hides children overlays when parent is closed... syncChildrenCloseState: false, // // In next major, we remove this prop. Now we disable it for backwards compatibility and enable it in the places we need it internally // _shouldTeardownDomStructure: false, }` | | |
53
- | `_referenceNode` | protected | `HTMLElement \| undefined` | | | |
20
+ | Name | Privacy | Type | Default | Description | Inherited From |
21
+ | --------------------------- | --------- | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
22
+ | `backdropNode` | public | `HTMLElement` | | The element that is placed behind the contentNode. When not provided and \`hasBackdrop\` is true,&#xA;a backdropNode will be automatically created | |
23
+ | `config` | public | `OverlayConfig` | `{}` | | |
24
+ | `content` | public | `HTMLDialogElement \| HTMLDivElement` | | The contentWrapperNode | |
25
+ | `contentNode` | public | `HTMLElement` | | The most important element: the overlay itself | |
26
+ | `contentWrapperNode` | public | `HTMLElement` | | The wrapper element of contentNode, used to supply inline positioning styles. When a Popper&#xA;arrow is needed, it acts as parent of the arrow node. Will be automatically created for global&#xA;and non projected contentNodes. Required when used in shadow dom mode or when Popper arrow is&#xA;supplied. Essential for allowing webcomponents to style their projected contentNodes | |
27
+ | `elementToFocusAfterHide` | public | `HTMLElement` | | The element that should be called \`.focus()\` on after dialog closes | |
28
+ | `elevation` | public | `number` | | | |
29
+ | `handlesAccessibility` | public | `boolean` | | For non \`isTooltip\`:&#xA; \- sets aria-expanded="true/false" and aria-haspopup="true" on invokerNode&#xA; \- sets aria-controls on invokerNode&#xA; \- returns focus to invokerNode on hide&#xA; \- sets focus to overlay content(?)&#xA;&#xA;For \`isTooltip\`:&#xA; \- sets role="tooltip" and aria-labelledby/aria-describedby on the content | |
30
+ | `hasActiveBackdrop` | public | | | | |
31
+ | `hasBackdrop` | public | `boolean` | | Whether it should have a backdrop (currently exclusive to globalOverlayController) | |
32
+ | `hidesOnEsc` | public | `boolean` | | Hides the overlay when pressing \[ esc ] | |
33
+ | `hidesOnOutsideClick` | public | `boolean` | | Hides the overlay when clicking next to it, exluding invoker | |
34
+ | `hidesOnOutsideEsc` | public | `boolean` | | Hides the overlay when pressing esc, even when contentNode has no focus | |
35
+ | `inheritsReferenceWidth` | public | `'max' \| 'full' \| 'min' \| 'none' \| undefined` | | Will align contentNode with referenceNode (invokerNode by default) for local overlays.&#xA;Usually needed for dropdowns. 'max' will prevent contentNode from exceeding width of&#xA;referenceNode, 'min' guarantees that contentNode will be at least as wide as referenceNode.&#xA;'full' will make sure that the invoker width always is the same. | |
36
+ | `invoker` | public | `HTMLElement \| undefined` | | The invokerNode | |
37
+ | `invokerNode` | public | `HTMLElement \| undefined` | | The interactive element (usually a button) invoking the dialog or tooltip | |
38
+ | `invokerRelation` | public | `'label' \| 'description'\| undefined` | | By default, the tooltip content is a 'description' for the invoker (uses aria-describedby).&#xA;Setting this property to 'label' makes the content function as a label (via aria-labelledby) | |
39
+ | `isAlertDialog` | public | | | The alertdialog role is to be used on modal alert dialogs that interrupt a user's workflow&#xA;to communicate an important message and require a response. | |
40
+ | `isBlocking` | public | `boolean` | | Hides other overlays when mutiple are opened (currently exclusive to globalOverlayController) | |
41
+ | `isShown` | public | | | | |
42
+ | `isTooltip` | public | `boolean` | | Has a totally different interaction- and accessibility pattern from all other overlays.&#xA;Will behave as role="tooltip" element instead of a role="dialog" element | |
43
+ | `manager` | public | | `manager` | | |
44
+ | `placementMode` | public | `'global' \| 'local' \| undefined` | | Determines the connection point in DOM (body vs next to invoker). | |
45
+ | `popperConfig` | public | `PopperOptions` | | Popper configuration. Will be used when placementMode is 'local' | |
46
+ | `preventsScroll` | public | `boolean` | | Hides other overlays when mutiple are opened (currently exclusive to globalOverlayController) | |
47
+ | `referenceNode` | public | `HTMLElement` | | The element that is used to position the overlay content relative to. Usually,&#xA;this is the same element as invokerNode. Should only be provided when invokerNode should not&#xA;be positioned against. | |
48
+ | `trapsKeyboardFocus` | public | `boolean` | | Rotates tab, implicitly set when 'isModal' | |
49
+ | `viewportConfig` | public | `ViewportConfig` | | Viewport configuration. Will be used when placementMode is 'global' | |
50
+ | `visibilityTriggerFunction` | public | | | | |
51
+ | `_contentId` | protected | | `` `overlay-content--${Math.random().toString(36).slice(2, 10)}` `` | | |
52
+ | `_defaultConfig` | protected | `OverlayConfig` | `{ placementMode: undefined, contentNode: config.contentNode, contentWrapperNode: config.contentWrapperNode, invokerNode: config.invokerNode, backdropNode: config.backdropNode, referenceNode: undefined, elementToFocusAfterHide: config.invokerNode, inheritsReferenceWidth: 'none', hasBackdrop: false, isBlocking: false, preventsScroll: false, trapsKeyboardFocus: false, hidesOnEsc: false, hidesOnOutsideEsc: false, hidesOnOutsideClick: false, isTooltip: false, isAlertDialog: false, invokerRelation: 'description', visibilityTriggerFunction: undefined, handlesAccessibility: false, popperConfig: { placement: 'top', strategy: 'fixed', modifiers: [ { name: 'preventOverflow', enabled: true, options: { boundariesElement: 'viewport', padding: 8, // viewport-margin for shifting/sliding }, }, { name: 'flip', options: { boundariesElement: 'viewport', padding: 16, // viewport-margin for flipping }, }, { name: 'offset', enabled: true, options: { offset: [0, 8], // horizontal and vertical margin (distance between popper and referenceElement) }, }, { name: 'arrow', enabled: false, }, ], }, viewportConfig: { placement: 'center', }, zIndex: 9999, }` | | |
53
+ | `_referenceNode` | protected | `HTMLElement \| undefined` | | | |
54
54
 
55
55
  ### Methods
56
56
 
@@ -70,14 +70,12 @@ eleventyNavigation:
70
70
  | `_handleBackdrop` | protected | Sets up backdrop on the given overlay. If there was a backdrop on another element&#xA;it is removed. Otherwise this is the first time displaying a backdrop, so a animation-in&#xA;animation is played. | `{ phase }, config: { animation?: boolean, phase: OverlayPhase }` | | |
71
71
  | `_handleBlocking` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
72
72
  | `_handleFeatures` | protected | All features are handled here. | `{ phase }, config: { phase: OverlayPhase }` | | |
73
- | `_handleFocusContentOnOpen` | protected | | `{ phase }, opts: {phase: OverlayPhase}` | `void` | |
74
73
  | `_handleHidesOnEsc` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
75
74
  | `_handleHidesOnOutsideClick` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
76
75
  | `_handleHidesOnOutsideEsc` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
77
76
  | `_handleInheritsReferenceWidth` | protected | | | | |
78
77
  | `_handlePosition` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
79
78
  | `_handlePreventsScroll` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
80
- | `_handleSyncChildrenCloseState` | protected | | `{ phase }, opts: {phase: OverlayPhase}` | `void` | |
81
79
  | `_handleTrapsKeyboardFocus` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
82
80
  | `_handleVisibilityTriggers` | protected | | `{ phase }, config: { phase: OverlayPhase }` | | |
83
81
  | `_handleZIndex` | protected | Display local overlays on top of elements with no z-index that appear later in the DOM | `{ phase }, config: { phase: OverlayPhase }` | | |
@@ -112,7 +112,7 @@ export const alertDialog = () => {
112
112
 
113
113
  ## isTooltip (placementMode: 'local')
114
114
 
115
- As specified in the [overlay rationale](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/fundamentals/systems/overlays/rationale.md) there are only two official types of overlays: dialogs and tooltips. And their main differences are:
115
+ As specified in the [overlay rationale](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/fundamentals/systems/overlays/rationale.md) there are only two official types of overlays: dialogs and tooltips. And their main differences are:
116
116
 
117
117
  - Dialogs have a modal option, tooltips don’t
118
118
  - Dialogs have interactive content, tooltips don’t
@@ -446,7 +446,7 @@ Features:
446
446
 
447
447
  > Popper strictly is scoped on positioning. **It does not change the dimensions of the content node nor the invoker node**.
448
448
  > This also means that if you use the arrow feature, you are in charge of styling it properly, use the data-popper-placement attribute for this.
449
- > An example implementation can be found in [lion-tooltip](https://github.com/ing-bank/lion/blob/a2ce59d84afff76bf2781658cb7344f934ac3614/docs/components/tooltip/overview.md), where an arrow is set by default.
449
+ > An example implementation can be found in [lion-tooltip](https://github.com/ing-bank/lion/blob/89cb70db46c5b9597df72bd928c5cc889e1836e4/docs/components/tooltip/overview.md), where an arrow is set by default.
450
450
 
451
451
  To override the default options we set for local mode, you add a `popperConfig` object to the config passed to the OverlayController.
452
452
  Here's a succinct overview of some often used popper properties: