@lion/ui 0.20.0-menu-system.0 → 0.20.0

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 (390) hide show
  1. package/calendar-suites.js +1 -0
  2. package/collapsible.js +0 -1
  3. package/components/button/src/LionButton.js +0 -4
  4. package/components/button/test-suites/LionButton.suite.js +0 -1
  5. package/components/calendar/src/LionCalendar.js +1 -3
  6. package/components/calendar/test/lion-calendar.test.js +67 -47
  7. package/components/calendar/test-suites/LionCalendar.suite.js +79 -0
  8. package/components/combobox/test/lion-combobox.test.js +0 -1
  9. package/components/form-core/src/FormatMixin.js +7 -2
  10. package/components/form-core/src/form-group/FormGroupMixin.js +0 -7
  11. package/components/form-core/src/registration/FormRegistrarMixin.js +0 -11
  12. package/components/form-core/test/FormControlMixin.test.js +0 -1
  13. package/components/form-core/test/FormatMixin.test.js +4 -1
  14. package/components/form-core/test/validate/Validator.test.js +0 -2
  15. package/components/form-core/test-suites/FormatMixin.suite.js +242 -65
  16. package/components/form-core/test-suites/ValidateMixin.suite.js +0 -2
  17. package/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.js +0 -1
  18. package/components/input/test/input-integrations.test.js +3 -2
  19. package/components/input/test/lion-input-integrations.test.js +2 -1
  20. package/components/input-amount/test/lion-input-amount-integrations.test.js +1 -1
  21. package/components/input-amount-dropdown/src/LionInputAmountDropdown.js +22 -4
  22. package/components/input-amount-dropdown/test/lion-input-amount-dropdown-integrations.test.js +22 -0
  23. package/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js +59 -3
  24. package/components/input-date/test/lion-input-date-integrations.test.js +1 -1
  25. package/components/input-datepicker/src/localizeNamespaceLoader.js +0 -1
  26. package/components/input-datepicker/test/lion-input-datepicker-integrations.test.js +1 -1
  27. package/components/input-datepicker/test/lion-input-datepicker.test.js +19 -9
  28. package/components/input-datepicker/test-suites/LionInputDatepicker.suite.js +35 -0
  29. package/components/input-email/src/LionInputEmail.js +2 -0
  30. package/components/input-email/test/lion-input-email-integrations.test.js +1 -1
  31. package/components/input-email/test/lion-input-email.test.js +6 -0
  32. package/components/input-file/src/validators.js +31 -1
  33. package/components/input-file/test/FileValidators.test.js +31 -0
  34. package/components/input-file/translations/bg.js +1 -0
  35. package/components/input-file/translations/cs.js +1 -0
  36. package/components/input-file/translations/de.js +2 -0
  37. package/components/input-file/translations/en.js +1 -0
  38. package/components/input-file/translations/es.js +1 -0
  39. package/components/input-file/translations/fr.js +1 -0
  40. package/components/input-file/translations/hu.js +1 -0
  41. package/components/input-file/translations/id.js +1 -0
  42. package/components/input-file/translations/it.js +1 -0
  43. package/components/input-file/translations/nl.js +1 -0
  44. package/components/input-file/translations/pl.js +1 -0
  45. package/components/input-file/translations/ro.js +1 -0
  46. package/components/input-file/translations/ru.js +1 -0
  47. package/components/input-file/translations/sk.js +1 -0
  48. package/components/input-file/translations/uk.js +1 -0
  49. package/components/input-file/translations/zh.js +1 -0
  50. package/components/input-iban/test/lion-input-iban-integrations.test.js +1 -1
  51. package/components/input-stepper/test-suites/lion-input-stepper.integration.suite.js +2 -2
  52. package/components/input-tel/src/LionInputTel.js +1 -1
  53. package/components/input-tel/test-suites/LionInputTel.suite.js +7 -0
  54. package/components/localize/test/date/formatDate.test.js +0 -1
  55. package/components/overlays/src/OverlayController.js +110 -278
  56. package/components/overlays/src/OverlayMixin.js +11 -58
  57. package/components/overlays/src/OverlaysManager.js +2 -2
  58. package/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js +41 -9
  59. package/components/overlays/src/utils/adopt-styles.js +2 -3
  60. package/components/overlays/src/utils/get-focusable-elements.js +0 -4
  61. package/components/overlays/src/utils/is-equal-config.js +6 -10
  62. package/components/overlays/test/OverlayController.test.js +14 -127
  63. package/components/overlays/test/utils-tests/is-equal-config.test.js +1 -1
  64. package/components/overlays/test-suites/OverlayMixin.suite.js +8 -8
  65. package/components/overlays/test-suites/WithHoverInteraction.suite.js +212 -0
  66. package/components/overlays/types/ArrowMixinTypes.ts +1 -3
  67. package/components/overlays/types/OverlayConfig.ts +5 -20
  68. package/components/overlays/types/OverlayMixinTypes.ts +0 -2
  69. package/components/select-rich/test/lion-select-rich.test.js +0 -3
  70. package/components/textarea/test/lion-textarea-integrations.test.js +2 -1
  71. package/components/tooltip/test/lion-tooltip.test.js +9 -1
  72. package/custom-elements.json +18086 -30683
  73. package/dist-types/components/button/src/LionButton.d.ts +0 -1
  74. package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
  75. package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
  76. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  77. package/dist-types/components/calendar/test/lion-calendar.test.d.ts.map +1 -1
  78. package/dist-types/components/calendar/test-suites/LionCalendar.suite.d.ts +5 -0
  79. package/dist-types/components/calendar/test-suites/LionCalendar.suite.d.ts.map +1 -0
  80. package/dist-types/components/combobox/src/LionCombobox.d.ts +1 -1
  81. package/dist-types/components/dialog/src/LionDialog.d.ts +2 -6
  82. package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
  83. package/dist-types/components/form-core/src/FormatMixin.d.ts.map +1 -1
  84. package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
  85. package/dist-types/components/form-core/src/registration/FormRegistrarMixin.d.ts.map +1 -1
  86. package/dist-types/components/form-core/test-suites/FormatMixin.suite.d.ts +50 -5
  87. package/dist-types/components/form-core/test-suites/FormatMixin.suite.d.ts.map +1 -1
  88. package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
  89. package/dist-types/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.d.ts.map +1 -1
  90. package/dist-types/components/icon/src/LionIcon.d.ts +2 -2
  91. package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts.map +1 -1
  92. package/dist-types/components/input-amount-dropdown/test/lion-input-amount-dropdown-integrations.test.d.ts +2 -0
  93. package/dist-types/components/input-amount-dropdown/test/lion-input-amount-dropdown-integrations.test.d.ts.map +1 -0
  94. package/dist-types/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.d.ts.map +1 -1
  95. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
  96. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
  97. package/dist-types/components/input-datepicker/test/lion-input-datepicker.test.d.ts.map +1 -1
  98. package/dist-types/components/input-datepicker/test-suites/LionInputDatepicker.suite.d.ts +7 -0
  99. package/dist-types/components/input-datepicker/test-suites/LionInputDatepicker.suite.d.ts.map +1 -0
  100. package/dist-types/components/input-email/src/LionInputEmail.d.ts.map +1 -1
  101. package/dist-types/components/input-file/src/validators.d.ts +11 -0
  102. package/dist-types/components/input-file/src/validators.d.ts.map +1 -1
  103. package/dist-types/components/input-file/translations/bg-BG.d.ts +1 -0
  104. package/dist-types/components/input-file/translations/bg.d.ts +1 -0
  105. package/dist-types/components/input-file/translations/cs-CZ.d.ts +1 -0
  106. package/dist-types/components/input-file/translations/cs.d.ts +1 -0
  107. package/dist-types/components/input-file/translations/de-DE.d.ts +1 -0
  108. package/dist-types/components/input-file/translations/de.d.ts +1 -0
  109. package/dist-types/components/input-file/translations/en-AU.d.ts +1 -0
  110. package/dist-types/components/input-file/translations/en-GB.d.ts +1 -0
  111. package/dist-types/components/input-file/translations/en-PH.d.ts +1 -0
  112. package/dist-types/components/input-file/translations/en-US.d.ts +1 -0
  113. package/dist-types/components/input-file/translations/en.d.ts +1 -0
  114. package/dist-types/components/input-file/translations/es-ES.d.ts +1 -0
  115. package/dist-types/components/input-file/translations/es.d.ts +1 -0
  116. package/dist-types/components/input-file/translations/fr-BE.d.ts +1 -0
  117. package/dist-types/components/input-file/translations/fr-FR.d.ts +1 -0
  118. package/dist-types/components/input-file/translations/fr.d.ts +1 -0
  119. package/dist-types/components/input-file/translations/hu-HU.d.ts +1 -0
  120. package/dist-types/components/input-file/translations/hu.d.ts +1 -0
  121. package/dist-types/components/input-file/translations/id-ID.d.ts +1 -0
  122. package/dist-types/components/input-file/translations/id.d.ts +1 -0
  123. package/dist-types/components/input-file/translations/it-IT.d.ts +1 -0
  124. package/dist-types/components/input-file/translations/it.d.ts +1 -0
  125. package/dist-types/components/input-file/translations/nl-BE.d.ts +1 -0
  126. package/dist-types/components/input-file/translations/nl-NL.d.ts +1 -0
  127. package/dist-types/components/input-file/translations/nl.d.ts +1 -0
  128. package/dist-types/components/input-file/translations/pl-PL.d.ts +1 -0
  129. package/dist-types/components/input-file/translations/pl.d.ts +1 -0
  130. package/dist-types/components/input-file/translations/ro-RO.d.ts +1 -0
  131. package/dist-types/components/input-file/translations/ro.d.ts +1 -0
  132. package/dist-types/components/input-file/translations/ru-RU.d.ts +1 -0
  133. package/dist-types/components/input-file/translations/ru.d.ts +1 -0
  134. package/dist-types/components/input-file/translations/sk-SK.d.ts +1 -0
  135. package/dist-types/components/input-file/translations/sk.d.ts +1 -0
  136. package/dist-types/components/input-file/translations/uk-UA.d.ts +1 -0
  137. package/dist-types/components/input-file/translations/uk.d.ts +1 -0
  138. package/dist-types/components/input-file/translations/zh-CN.d.ts +1 -0
  139. package/dist-types/components/input-file/translations/zh.d.ts +1 -0
  140. package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
  141. package/dist-types/components/input-tel/test-suites/LionInputTel.suite.d.ts.map +1 -1
  142. package/dist-types/components/overlays/src/OverlayController.d.ts +12 -24
  143. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  144. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  145. package/dist-types/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.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/test-suites/WithHoverInteraction.suite.d.ts +17 -0
  149. package/dist-types/components/overlays/test-suites/WithHoverInteraction.suite.d.ts.map +1 -0
  150. package/dist-types/components/overlays/types/ArrowMixinTypes.d.ts.map +1 -1
  151. package/dist-types/components/overlays/types/OverlayConfig.d.ts +2 -12
  152. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  153. package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts +0 -1
  154. package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts.map +1 -1
  155. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +3 -11
  156. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  157. package/dist-types/components/tooltip/src/LionTooltip.d.ts +1 -1
  158. package/dist-types/components/tooltip/test/lion-tooltip.test.d.ts.map +1 -1
  159. package/dist-types/exports/calendar-suites.d.ts +2 -0
  160. package/dist-types/exports/calendar-suites.d.ts.map +1 -0
  161. package/dist-types/exports/input-datepicker-suites.d.ts +2 -0
  162. package/dist-types/exports/input-datepicker-suites.d.ts.map +1 -0
  163. package/dist-types/exports/input-file.d.ts +1 -1
  164. package/dist-types/exports/overlays-test-suites.d.ts +1 -0
  165. package/dist-types/exports/overlays.d.ts +0 -3
  166. package/dist-types/exports/overlays.d.ts.map +1 -1
  167. package/dist-types/tsconfig.tsbuildinfo +1 -1
  168. package/docs/components/checkbox-group/overview.md +2 -2
  169. package/docs/components/collapsible/overview.md +1 -1
  170. package/docs/components/combobox/api-table.md +8 -21
  171. package/docs/components/combobox/overview.md +1 -1
  172. package/docs/components/combobox/use-cases.md +1 -1
  173. package/docs/components/dialog/api-table.md +6 -31
  174. package/docs/components/dialog/overview.md +1 -1
  175. package/docs/components/fieldset/overview.md +5 -5
  176. package/docs/components/form/overview.md +3 -3
  177. package/docs/components/form/use-cases.md +2 -2
  178. package/docs/components/icon/use-cases.md +1 -1
  179. package/docs/components/input/overview.md +1 -1
  180. package/docs/components/input-amount/overview.md +3 -3
  181. package/docs/components/input-amount-dropdown/api-table.md +2 -2
  182. package/docs/components/input-date/overview.md +3 -3
  183. package/docs/components/input-datepicker/api-table.md +4 -21
  184. package/docs/components/input-datepicker/overview.md +5 -5
  185. package/docs/components/input-email/api-table.md +1 -1
  186. package/docs/components/input-email/overview.md +2 -2
  187. package/docs/components/input-file/overview.md +1 -1
  188. package/docs/components/input-file/use-cases.md +18 -0
  189. package/docs/components/input-iban/overview.md +2 -2
  190. package/docs/components/input-range/overview.md +2 -2
  191. package/docs/components/input-stepper/overview.md +1 -1
  192. package/docs/components/input-tel/api-table.md +1 -1
  193. package/docs/components/input-tel/overview.md +1 -1
  194. package/docs/components/input-tel/use-cases.md +6 -6
  195. package/docs/components/input-tel-dropdown/api-table.md +1 -1
  196. package/docs/components/input-tel-dropdown/overview.md +1 -1
  197. package/docs/components/listbox/use-cases.md +1 -1
  198. package/docs/components/radio-group/overview.md +3 -3
  199. package/docs/components/select/use-cases.md +1 -1
  200. package/docs/components/select-rich/api-table.md +5 -21
  201. package/docs/components/select-rich/use-cases.md +2 -2
  202. package/docs/components/tabs/examples.md +1 -1
  203. package/docs/components/tooltip/api-table.md +11 -36
  204. package/docs/components/tooltip/use-cases.md +34 -1
  205. package/docs/fundamentals/index.md +4 -4
  206. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  207. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  208. package/docs/fundamentals/rationales/accessibility.md +1 -1
  209. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  210. package/docs/fundamentals/systems/core/overview.md +1 -1
  211. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  212. package/docs/fundamentals/systems/form/model-value.md +1 -1
  213. package/docs/fundamentals/systems/form/overview.md +28 -28
  214. package/docs/fundamentals/systems/form/validate.md +2 -2
  215. package/docs/fundamentals/systems/localize/overview.md +4 -4
  216. package/docs/fundamentals/systems/overlays/api-table.md +34 -36
  217. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  218. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  219. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  220. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  221. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  222. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  223. package/docs/guides/how-to/create-a-form.md +4 -4
  224. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  225. package/docs/guides/how-to/index.md +1 -1
  226. package/docs/guides/index.md +8 -8
  227. package/docs/guides/principles/index.md +5 -5
  228. package/docs/guides/principles/styling.md +1 -1
  229. package/exports/calendar-suites.js +1 -0
  230. package/exports/collapsible.js +0 -1
  231. package/exports/input-datepicker-suites.js +1 -0
  232. package/exports/input-file.js +5 -1
  233. package/exports/overlays-test-suites.js +1 -0
  234. package/exports/overlays.js +0 -6
  235. package/input-datepicker-suites.js +1 -0
  236. package/input-file.js +5 -1
  237. package/overlays-test-suites.js +1 -0
  238. package/overlays.js +0 -6
  239. package/package.json +2 -2
  240. package/components/collapsible/src/DisclosureMixin.js +0 -313
  241. package/components/collapsible/test-suites/DisclosureMixin.suite.js +0 -30
  242. package/components/collapsible/types/DisclosureMixinTypes.ts +0 -48
  243. package/components/menu/CHANGELOG.md +0 -37
  244. package/components/menu/README.md +0 -335
  245. package/components/menu/index.js +0 -2
  246. package/components/menu/lion-menu-overlay.js +0 -3
  247. package/components/menu/lion-menu.js +0 -3
  248. package/components/menu/lion-spinbutton.js +0 -3
  249. package/components/menu/lion-toolbar.js +0 -3
  250. package/components/menu/lion-tree.js +0 -3
  251. package/components/menu/package.json +0 -46
  252. package/components/menu/requirements.temp.md +0 -12
  253. package/components/menu/src/InteractiveListMixin.js +0 -840
  254. package/components/menu/src/LionMenu.js +0 -250
  255. package/components/menu/src/LionMenuHybrid.js +0 -46
  256. package/components/menu/src/LionMenuOverlay.js +0 -155
  257. package/components/menu/src/LionSpinbutton.js +0 -213
  258. package/components/menu/src/LionToolbar.js +0 -94
  259. package/components/menu/src/LionTree.js +0 -52
  260. package/components/menu/src/MoreButtonMenuMixin.js +0 -278
  261. package/components/menu/src/MultiLevelListMixin.js +0 -311
  262. package/components/menu/src/utils/isInView.js +0 -26
  263. package/components/menu/src/utils/listItemInteractions.js +0 -124
  264. package/components/menu/test/InteractiveListMixin.test.js +0 -3
  265. package/components/menu/test/MoreButtonMenuMixin.test.js +0 -4
  266. package/components/menu/test/MultiLevelListMixin.test.js +0 -3
  267. package/components/menu/test/lion-menu-hybrid.test.js +0 -3
  268. package/components/menu/test/lion-menu.test.js +0 -11
  269. package/components/menu/test/lion-toolbar.test.js +0 -8
  270. package/components/menu/test/lion-tree.test.js +0 -7
  271. package/components/menu/test-helpers/mimicKeyPress.js +0 -9
  272. package/components/menu/test-suites/InteractiveListMixin.suite.js +0 -454
  273. package/components/menu/test-suites/LionMenu.suite.js +0 -113
  274. package/components/menu/test-suites/LionMenuHybrid.suite.js +0 -583
  275. package/components/menu/test-suites/MoreButtonMenuMixin.suite.js +0 -372
  276. package/components/menu/test-suites/MultiLevelListMixin.suite.js +0 -303
  277. package/components/menu/types/InteractiveListMixinTypes.d.ts +0 -84
  278. package/components/navigation-bar/README.md +0 -1
  279. package/components/navigation-bar/src/LionNavigationBar.js +0 -439
  280. package/components/navigation-bar/src/types.js +0 -41
  281. package/components/overlays/NEXT.md +0 -49
  282. package/components/overlays/test/withHoverInteraction.test.js +0 -90
  283. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts +0 -3
  284. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts.map +0 -1
  285. package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts +0 -2
  286. package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts.map +0 -1
  287. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts +0 -24
  288. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts.map +0 -1
  289. package/dist-types/components/menu/index.d.ts +0 -3
  290. package/dist-types/components/menu/index.d.ts.map +0 -1
  291. package/dist-types/components/menu/lion-menu-overlay.d.ts +0 -2
  292. package/dist-types/components/menu/lion-menu-overlay.d.ts.map +0 -1
  293. package/dist-types/components/menu/lion-menu.d.ts +0 -2
  294. package/dist-types/components/menu/lion-menu.d.ts.map +0 -1
  295. package/dist-types/components/menu/lion-spinbutton.d.ts +0 -2
  296. package/dist-types/components/menu/lion-spinbutton.d.ts.map +0 -1
  297. package/dist-types/components/menu/lion-toolbar.d.ts +0 -2
  298. package/dist-types/components/menu/lion-toolbar.d.ts.map +0 -1
  299. package/dist-types/components/menu/lion-tree.d.ts +0 -2
  300. package/dist-types/components/menu/lion-tree.d.ts.map +0 -1
  301. package/dist-types/components/menu/src/InteractiveListMixin.d.ts +0 -617
  302. package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +0 -1
  303. package/dist-types/components/menu/src/LionMenu.d.ts +0 -635
  304. package/dist-types/components/menu/src/LionMenu.d.ts.map +0 -1
  305. package/dist-types/components/menu/src/LionMenuHybrid.d.ts +0 -19
  306. package/dist-types/components/menu/src/LionMenuHybrid.d.ts.map +0 -1
  307. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +0 -1015
  308. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +0 -1
  309. package/dist-types/components/menu/src/LionSpinbutton.d.ts +0 -58
  310. package/dist-types/components/menu/src/LionSpinbutton.d.ts.map +0 -1
  311. package/dist-types/components/menu/src/LionToolbar.d.ts +0 -8
  312. package/dist-types/components/menu/src/LionToolbar.d.ts.map +0 -1
  313. package/dist-types/components/menu/src/LionTree.d.ts +0 -447
  314. package/dist-types/components/menu/src/LionTree.d.ts.map +0 -1
  315. package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts +0 -39
  316. package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts.map +0 -1
  317. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +0 -503
  318. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +0 -1
  319. package/dist-types/components/menu/src/utils/isInView.d.ts +0 -9
  320. package/dist-types/components/menu/src/utils/isInView.d.ts.map +0 -1
  321. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +0 -48
  322. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +0 -1
  323. package/dist-types/components/menu/test/InteractiveListMixin.test.d.ts +0 -2
  324. package/dist-types/components/menu/test/InteractiveListMixin.test.d.ts.map +0 -1
  325. package/dist-types/components/menu/test/MoreButtonMenuMixin.test.d.ts +0 -2
  326. package/dist-types/components/menu/test/MoreButtonMenuMixin.test.d.ts.map +0 -1
  327. package/dist-types/components/menu/test/MultiLevelListMixin.test.d.ts +0 -2
  328. package/dist-types/components/menu/test/MultiLevelListMixin.test.d.ts.map +0 -1
  329. package/dist-types/components/menu/test/lion-menu-hybrid.test.d.ts +0 -2
  330. package/dist-types/components/menu/test/lion-menu-hybrid.test.d.ts.map +0 -1
  331. package/dist-types/components/menu/test/lion-menu.test.d.ts +0 -2
  332. package/dist-types/components/menu/test/lion-menu.test.d.ts.map +0 -1
  333. package/dist-types/components/menu/test/lion-toolbar.test.d.ts +0 -2
  334. package/dist-types/components/menu/test/lion-toolbar.test.d.ts.map +0 -1
  335. package/dist-types/components/menu/test/lion-tree.test.d.ts +0 -2
  336. package/dist-types/components/menu/test/lion-tree.test.d.ts.map +0 -1
  337. package/dist-types/components/menu/test-helpers/mimicKeyPress.d.ts +0 -7
  338. package/dist-types/components/menu/test-helpers/mimicKeyPress.d.ts.map +0 -1
  339. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +0 -14
  340. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +0 -1
  341. package/dist-types/components/menu/test-suites/LionMenu.suite.d.ts +0 -9
  342. package/dist-types/components/menu/test-suites/LionMenu.suite.d.ts.map +0 -1
  343. package/dist-types/components/menu/test-suites/LionMenuHybrid.suite.d.ts +0 -5
  344. package/dist-types/components/menu/test-suites/LionMenuHybrid.suite.d.ts.map +0 -1
  345. package/dist-types/components/menu/test-suites/MoreButtonMenuMixin.suite.d.ts +0 -14
  346. package/dist-types/components/menu/test-suites/MoreButtonMenuMixin.suite.d.ts.map +0 -1
  347. package/dist-types/components/menu/test-suites/MultiLevelListMixin.suite.d.ts +0 -11
  348. package/dist-types/components/menu/test-suites/MultiLevelListMixin.suite.d.ts.map +0 -1
  349. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +0 -238
  350. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +0 -1
  351. package/dist-types/components/navigation-bar/src/types.d.ts +0 -85
  352. package/dist-types/components/navigation-bar/src/types.d.ts.map +0 -1
  353. package/dist-types/components/overlays/test/withHoverInteraction.test.d.ts +0 -2
  354. package/dist-types/components/overlays/test/withHoverInteraction.test.d.ts.map +0 -1
  355. package/dist-types/exports/define/lion-item.d.ts +0 -2
  356. package/dist-types/exports/define/lion-item.d.ts.map +0 -1
  357. package/dist-types/exports/define/lion-menu-overlay.d.ts +0 -2
  358. package/dist-types/exports/define/lion-menu-overlay.d.ts.map +0 -1
  359. package/dist-types/exports/define/lion-menu.d.ts +0 -2
  360. package/dist-types/exports/define/lion-menu.d.ts.map +0 -1
  361. package/dist-types/exports/define/lion-navigation-bar.d.ts +0 -2
  362. package/dist-types/exports/define/lion-navigation-bar.d.ts.map +0 -1
  363. package/dist-types/exports/define/lion-toolbar.d.ts +0 -2
  364. package/dist-types/exports/define/lion-toolbar.d.ts.map +0 -1
  365. package/dist-types/exports/define/lion-tree.d.ts +0 -2
  366. package/dist-types/exports/define/lion-tree.d.ts.map +0 -1
  367. package/dist-types/exports/menu-test-suites.d.ts +0 -4
  368. package/dist-types/exports/menu-test-suites.d.ts.map +0 -1
  369. package/dist-types/exports/menu.d.ts +0 -7
  370. package/dist-types/exports/menu.d.ts.map +0 -1
  371. package/dist-types/exports/navigation-bar.d.ts +0 -2
  372. package/dist-types/exports/navigation-bar.d.ts.map +0 -1
  373. package/docs/components/menu/api-table.md +0 -460
  374. package/docs/components/menu/applyMenuDemoStyles.js +0 -173
  375. package/docs/components/menu/extensions.md +0 -262
  376. package/docs/components/menu/index.md +0 -13
  377. package/docs/components/menu/overview.md +0 -422
  378. package/docs/components/menu/use-cases.md +0 -77
  379. package/exports/define/lion-item.js +0 -3
  380. package/exports/define/lion-menu-overlay.js +0 -3
  381. package/exports/define/lion-menu.js +0 -3
  382. package/exports/define/lion-navigation-bar.js +0 -3
  383. package/exports/define/lion-toolbar.js +0 -3
  384. package/exports/define/lion-tree.js +0 -3
  385. package/exports/menu-test-suites.js +0 -4
  386. package/exports/menu.js +0 -7
  387. package/exports/navigation-bar.js +0 -1
  388. package/menu-test-suites.js +0 -4
  389. package/menu.js +0 -7
  390. package/navigation-bar.js +0 -1
@@ -22,7 +22,7 @@ eleventyNavigation:
22
22
  | `activeRegion` | public | `string` | | Currently active region based on:
1\. allowed regions: get the region from configured allowed regions (if one entry)
2\. user input: try to derive active region from user input
3\. locale: try to get the region from locale (\`html\[lang]\` attribute) | LionInputTel |
23
23
  | `allowCrossRootRegistration` | public | `boolean` | `false` | To encourage accessibility best practices, \`form-element-register\` events
do not pierce through shadow roots. This forces the developer to create form groups and fieldsets that automatically allow the creation of accessible relationships in the same dom tree.
Use this option if you know what you're doing. It will then be possible to nest FormControls
inside shadow dom. See https\://lion.js.org/fundamentals/rationales/accessibility/#shadow-roots-and-accessibility | LionField |
24
24
  | `allowedRegions` | public | `RegionCode[]` | `[]` | The regions that should be considered when international phone numbers are detected.
(when not configured, all regions worldwide will be considered) | LionInputTel |
25
- | `autocomplete` | public | `string \| undefined` | `undefined` | Delegates this property to input/textarea/select. | NativeTextFieldMixin |
25
+ | `autocomplete` | public | `string \| undefined` | `'tel'` | Delegates this property to input/textarea/select. | NativeTextFieldMixin |
26
26
  | `autofocus` | public | `boolean` | `false` | | LionField |
27
27
  | `defaultValidators` | public | `Validator[]` | `[]` | Used by Subclassers to add default Validators to a particular FormControl.
A date input for instance, always needs the isDate validator. | LionField |
28
28
  | `dirty` | public | `boolean` | `false` | True when user has changed the value of the field. | LionField |
@@ -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/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/components/input-tel/overview.md)
34
+ - Extends our [input-tel](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/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/1241fa4b6c829b69fe5a03627fc26455f87663bb/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/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/systems/form/validate.md).
@@ -32,12 +32,12 @@ export const main = () => html`
32
32
  `;
33
33
  ```
34
34
 
35
- - Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/components/form/overview.md)'s serialization result.
36
- - If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/components/select/overview.md) instead.
35
+ - Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/components/form/overview.md)'s serialization result.
36
+ - If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/components/select/overview.md) instead.
37
37
 
38
38
  ## Features
39
39
 
40
- Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/components/fieldset/overview.md), it has all the features a fieldset has.
40
+ Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/components/fieldset/overview.md), it has all the features a fieldset has.
41
41
 
42
42
  - Get or set the checked value of the group:
43
43
  - modelValue (default) - `checkedValue()`
@@ -65,7 +65,7 @@ Or by setting the `disabled` attribute on the entire `lion-select` field.
65
65
 
66
66
  ## Validation
67
67
 
68
- A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/systems/form/validate.md).
68
+ A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/systems/form/validate.md).
69
69
 
70
70
  ## Rendering and updating select options
71
71
 
@@ -66,7 +66,6 @@ eleventyNavigation:
66
66
  | `activeIndex` | public | | | | LionListbox |
67
67
  | `autofocus` | public | `boolean` | `false` | | LionListbox |
68
68
  | `checkedIndex` | public | `number \| number[]` | | | LionListbox |
69
- | `config` | public | `Partial<OverlayConfig>` | `{}` | Configure the many options of the \`OverlayController\` | OverlayMixin |
70
69
  | `defaultValidators` | public | `Validator[]` | `[]` | Used by Subclassers to add default Validators to a particular FormControl.&#xA;A date input for instance, always needs the isDate validator. | LionListbox |
71
70
  | `dirty` | public | `boolean` | `false` | True when user has changed the value of the field. | LionListbox |
72
71
  | `disabled` | public | `boolean` | `false` | | LionListbox |
@@ -88,7 +87,6 @@ eleventyNavigation:
88
87
  | `modelValue` | public | | | | LionListbox |
89
88
  | `multipleChoice` | public | `boolean` | `false` | When false (default), modelValue and serializedValue will reflect the&#xA;currently selected choice (usually a string). When true, modelValue will and&#xA;serializedValue will be an array of strings. | LionListbox |
90
89
  | `navigateWithinInvoker` | public | `Boolean` | `false` | When invoker has focus, up and down arrow keys changes active state of listbox,&#xA;without opening overlay. | |
91
- | `opened` | public | `boolean` | `false` | If you add the opened attribute a dialog will be opened on page load. The invoker can be left out&#xA;in case the user does not need to be able to reopen the dialog. | OverlayMixin |
92
90
  | `operationMode` | public | `OperationMode` | | Types of input interaction of the FormControl (for instance 'enter'\|'select'\|'upload') | LionListbox |
93
91
  | `orientation` | public | `string` | `'vertical'` | Informs screen reader and affects keyboard navigation.&#xA;By default 'vertical' | LionListbox |
94
92
  | `prefilled` | public | `boolean` | `false` | True when user has left non-empty field or input is prefilled.&#xA;The name must be seen from the point of view of the input field:&#xA;once the user enters the input field, the value is non-empty. | LionListbox |
@@ -127,11 +125,8 @@ eleventyNavigation:
127
125
  | `_listboxSlot` | protected | `HTMLElement` | | | LionListbox |
128
126
  | `_noTypeAhead` | public | `boolean` | `false` | When false, a user can type on which the focus will jump to the matching option | LionListbox |
129
127
  | `_oldModelValue` | protected | `string \| string[] \| undefined` | `undefined` | | LionListbox |
130
- | `_overlayBackdropNode` | protected | | | | OverlayMixin |
131
- | `_overlayContentNode` | protected | | | | OverlayMixin |
132
- | `_overlayContentWrapperNode` | protected | | | | OverlayMixin |
133
- | `_overlayInvokerNode` | protected | | | | OverlayMixin |
134
- | `_overlayReferenceNode` | protected | | | | OverlayMixin |
128
+ | `_overlayContentNode` | protected | | | | |
129
+ | `_overlayInvokerNode` | protected | | | | |
135
130
  | `_repropagationRole` | public | `'child'\|'choice-group'\|'fieldset'` | `'choice-group'` | Based on the role, details of handling model-value-changed repropagation differ. | LionListbox |
136
131
  | `_requestedToBeDisabled` | protected | `boolean` | `false` | | LionListbox |
137
132
  | `_scrollTargetNode` | protected | `HTMLElement` | | | LionListbox |
@@ -150,7 +145,6 @@ eleventyNavigation:
150
145
  | `blur` | public | Calls \`blur()\` on focusable element within | | | LionListbox |
151
146
  | `clear` | public | | | | LionListbox |
152
147
  | `click` | public | | | | LionListbox |
153
- | `close` | public | Hides the overlay | | | OverlayMixin |
154
148
  | `createScopedElement` | public | | `tagName` | | LionListbox |
155
149
  | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionListbox |
156
150
  | `feedbackCondition` | public | Allows the Application Developer to specify when a feedback message should be shown | `type: string, meta: object, currentCondition: ((type: string, meta: object) => boolean)` | `boolean` | LionListbox |
@@ -158,24 +152,20 @@ eleventyNavigation:
158
152
  | `initInteractionState` | public | Evaluations performed on connectedCallback.&#xA;This method is public, so it can be called at a later moment (when we need to wait for&#xA;registering children for instance) as well.&#xA;Since this method will be called twice in last mentioned scenario, it must stay idempotent. | | | LionListbox |
159
153
  | `isRegisteredFormElement` | public | | `el: ElementWithParentFormGroup` | | LionListbox |
160
154
  | `makeRequestToBeDisabled` | public | | | | LionListbox |
161
- | `open` | public | Shows the overlay | | | OverlayMixin |
162
155
  | `removeFormElement` | public | | `child: FormRegisteringHost` | | LionListbox |
163
156
  | `removeFromAriaDescribedBy` | public | Allows to remove element references from aria-describedby attribute. | `element: HTMLElement` | | LionListbox |
164
157
  | `removeFromAriaLabelledBy` | public | Allows to remove element references from aria-labelledby attribute. | `element: HTMLElement` | | LionListbox |
165
- | `repositionOverlay` | public | Sometimes it's needed to recompute Popper position of an overlay, for instance when we have&#xA;an opened combobox and the surrounding context changes (the space consumed by the textbox&#xA;increases vertically) | | | OverlayMixin |
166
158
  | `reset` | public | | | | LionListbox |
167
159
  | `resetInteractionState` | public | Resets touched and dirty, and recomputes prefilled | | | LionListbox |
168
160
  | `retractRequestToBeDisabled` | public | | | | LionListbox |
169
161
  | `setCheckedIndex` | public | If an array is passed for multiple-choice, it will check the indexes in array, and uncheck the rest&#xA;If a number is passed, the item with the passed index is checked without unchecking others&#xA;For single choice, \_\_onChildCheckedChanged we ensure that we uncheck siblings | `index: number\|number[]` | | LionListbox |
170
- | `toggle` | public | Toggles the overlay | | | OverlayMixin |
171
162
  | `updateSync` | public | An abstraction that has the exact same api as \`requestUpdate\`, but taking&#xA;into account:&#xA;- \[member order independence]\(https\://github.com/webcomponents/gold-standard/wiki/Member-Order-Independence)&#xA;- property effects start when all (light) dom has initialized (on firstUpdated)&#xA;- property effects don't interrupt the first meaningful paint&#xA;- compatible with propertyAccessor.\`hasChanged\`: no manual checks needed or accidentally&#xA;run property effects / events when no change happened&#xA;effects when values didn't change&#xA;All code previously present in requestUpdate can be placed in this method. | `name: string, oldValue: ?` | | LionListbox |
172
163
  | `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 }` | | LionListbox |
173
164
  | `_alignInvokerWidth` | protected | Align invoker width with content width&#xA;Make sure display is not set to "none" while calculating the content width | | | |
174
165
  | `_checkSingleChoiceElements` | protected | | `ev: CustomEvent & {target:FormControl}` | | LionListbox |
175
166
  | `_completeRegistration` | protected | Resolves the registrationComplete promise. Subclassers can delay if needed | | | LionListbox |
176
167
  | `_connectSlotMixin` | protected | | | | LionListbox |
177
- | `_defineOverlay` | protected | | `{ contentNode, invokerNode, referenceNode, backdropNode, contentWrapperNode }, config: DefineOverlayConfig` | `OverlayController` | OverlayMixin |
178
- | `_defineOverlayConfig` | protected | | | `OverlayConfig` | OverlayMixin |
168
+ | `_defineOverlayConfig` | protected | | | | |
179
169
  | `_dispatchInitialModelValueChangedEvent` | protected | | | | LionListbox |
180
170
  | `_enhanceLightDomA11y` | protected | | | | LionListbox |
181
171
  | `_enhanceLightDomA11yForAdditionalSlots` | protected | Enhances additional slots(prefix, suffix, before, after) defined by developer.&#xA;&#xA;When boolean attribute data-label or data-description is found,&#xA;the slot element will be connected to the input via aria-labelledby or aria-describedby | `additionalSlots: string[]` | | LionListbox |
@@ -199,7 +189,6 @@ eleventyNavigation:
199
189
  | `_inputGroupSuffixTemplate` | protected | | | `TemplateResult \| nothing` | LionListbox |
200
190
  | `_inputGroupTemplate` | protected | | | `TemplateResult` | LionListbox |
201
191
  | `_isEmpty` | protected | Used for Required validation and computation of interaction states | `modelValue: any` | `boolean` | LionListbox |
202
- | `_isPermanentlyDisconnected` | protected | When we're moving around in dom, disconnectedCallback gets called.&#xA;Before we decide to teardown, let's wait to see if we were not just moving nodes around. | | `Promise<boolean>` | OverlayMixin |
203
192
  | `_isPrivateSlot` | protected | | `slotName: string` | `boolean` | LionListbox |
204
193
  | `_iStateOnLeave` | protected | Sets touched value to true and reevaluates prefilled state.&#xA;When false, on next interaction, user will start with a clean state. | | | LionListbox |
205
194
  | `_iStateOnValueChange` | protected | Sets dirty value and validates when already touched or invalid | | | LionListbox |
@@ -223,14 +212,11 @@ eleventyNavigation:
223
212
  | `_repropagationCondition` | protected | Based on provided target, this condition determines whether received model-value-changed&#xA;event should be repropagated | `target: FormControlHost` | | LionListbox |
224
213
  | `_scrollIntoView` | protected | | `el: HTMLElement, scrollTargetEl: HTMLElement` | | LionListbox |
225
214
  | `_setCheckedElements` | protected | | `value: string \| any[], check: Function` | | LionListbox |
226
- | `_setOpenedWithoutPropertyEffects` | protected | When the opened state is changed by an Application Developer,cthe OverlayController is&#xA;requested to show/hide. It might happen that this request is not honoured&#xA;(intercepted in before-hide for instance), so that we need to sync the controller state&#xA;to this webcomponent again, preventing eternal loops. | `newOpened: boolean` | | OverlayMixin |
227
215
  | `_setupListboxNode` | protected | | | | LionListbox |
228
- | `_setupOpenCloseListeners` | protected | | | | OverlayMixin |
229
- | `_setupOverlayCtrl` | protected | | | | OverlayMixin |
216
+ | `_setupOverlayCtrl` | protected | | | | |
230
217
  | `_showFeedbackConditionFor` | protected | Default feedbackCondition condition, used by Subclassers, that will be used when&#xA;\`feedbackCondition()\` is not overridden by Application Developer.&#xA;Show the validity feedback when returning true, don't show when false | `type: string, meta: InteractionStates` | | LionListbox |
231
218
  | `_teardownListboxNode` | protected | | | | LionListbox |
232
- | `_teardownOpenCloseListeners` | protected | | | | OverlayMixin |
233
- | `_teardownOverlayCtrl` | protected | | | | OverlayMixin |
219
+ | `_teardownOverlayCtrl` | protected | | | | |
234
220
  | `_throwWhenInvalidChildModelValue` | protected | | `child: FormControl` | | LionListbox |
235
221
  | `_triggerInitialModelValueChangedEvent` | protected | | | | LionListbox |
236
222
  | `_uncheckChildren` | protected | | `exclude: LionOption\|LionOption[]` | | LionListbox |
@@ -242,7 +228,6 @@ eleventyNavigation:
242
228
  | Name | Type | Description | Inherited From |
243
229
  | ------------------------------ | ------------- | -------------------------------------------------------- | -------------- |
244
230
  | `blur` | `Event` | | LionListbox |
245
- | `opened-changed` | `CustomEvent` | | OverlayMixin |
246
231
  | `model-value-changed` | `CustomEvent` | | LionListbox |
247
232
  | `form-element-name-changed` | `CustomEvent` | | LionListbox |
248
233
  | `focus` | `Event` | | LionListbox |
@@ -262,7 +247,6 @@ eleventyNavigation:
262
247
  | `navigate-within-invoker` | navigateWithinInvoker | |
263
248
  | `interaction-mode` | interactionMode | |
264
249
  | `single-option` | singleOption | |
265
- | `opened` | opened | OverlayMixin |
266
250
  | `orientation` | orientation | LionListbox |
267
251
  | `selection-follows-focus` | selectionFollowsFocus | LionListbox |
268
252
  | `rotate-keyboard-navigation` | rotateKeyboardNavigation | LionListbox |
@@ -29,7 +29,7 @@ You can set the full `modelValue` for each option, which includes the checked pr
29
29
  ```
30
30
 
31
31
  Note, when rendering with the help of the `cache` function imported from `lit/directives/cache.js`, setting model by
32
- the `modelValue` property is not fully supported. Consider setting the model by the `choiceValue` property instead. See [Setting model by `choiceValue` property](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/components/select-rich/#setting-model-by-the-choicevalue-property) for more details.
32
+ the `modelValue` property is not fully supported. Consider setting the model by the `choiceValue` property instead. See [Setting model by `choiceValue` property](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/components/select-rich/#setting-model-by-the-choicevalue-property) for more details.
33
33
 
34
34
  ### Setting model by the `choiceValue` property
35
35
 
@@ -328,7 +328,7 @@ LionSelectRich will give it acces to:
328
328
  - LionSelectRich itself, via `.hostElement`
329
329
 
330
330
  Code of an advanced custom invoker is shown below (this is the code for the
331
- invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/components/select-rich/examples.md)).
331
+ invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/components/select-rich/examples.md)).
332
332
  The invoker is usually added in the invoker slot of the LionSelectRich subclass.
333
333
  However, it would also be possible for an application developer to provide the invoker
334
334
  by putting it in light dom:
@@ -21,7 +21,7 @@ import './src/lea-tab-panel.js';
21
21
 
22
22
  ## Lea Tabs
23
23
 
24
- Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/blog/ing-open-sources-lion.md).
24
+ Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/blog/ing-open-sources-lion.md).
25
25
 
26
26
  ```js preview-story
27
27
  export const main = () => html`
@@ -16,44 +16,20 @@ eleventyNavigation:
16
16
 
17
17
  ### Fields
18
18
 
19
- | Name | Privacy | Type | Default | Description | Inherited From |
20
- | ---------------------------- | --------- | ------------------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
21
- | `config` | public | `Partial<OverlayConfig>` | `{}` | Configure the many options of the \`OverlayController\` | OverlayMixin |
22
- | `hasArrow` | public | `boolean` | `false` | Whether an arrow should be displayed | ArrowMixin |
23
- | `invokerRelation` | public | `'label'\|'description'` | `'description'` | Decides whether the tooltip invoker text should be considered a description&#xA;(sets aria-describedby) or a label (sets aria-labelledby). | |
24
- | `opened` | public | `boolean` | `false` | If you add the opened attribute a dialog will be opened on page load. The invoker can be left out&#xA;in case the user does not need to be able to reopen the dialog. | OverlayMixin |
25
- | `_arrowNode` | protected | | | | ArrowMixin |
26
- | `_overlayBackdropNode` | protected | | | | OverlayMixin |
27
- | `_overlayContentNode` | protected | | | | OverlayMixin |
28
- | `_overlayContentWrapperNode` | protected | | | | OverlayMixin |
29
- | `_overlayInvokerNode` | protected | | | | OverlayMixin |
30
- | `_overlayReferenceNode` | protected | | | | OverlayMixin |
19
+ | Name | Privacy | Type | Default | Description | Inherited From |
20
+ | ----------------- | --------- | ------------------------ | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------- |
21
+ | `hasArrow` | public | `boolean` | `false` | Whether an arrow should be displayed | ArrowMixin |
22
+ | `invokerRelation` | public | `'label'\|'description'` | `'description'` | Decides whether the tooltip invoker text should be considered a description&#xA;(sets aria-describedby) or a label (sets aria-labelledby). | |
23
+ | `_arrowNode` | protected | | | | ArrowMixin |
31
24
 
32
25
  ### Methods
33
26
 
34
- | Name | Privacy | Description | Parameters | Return | Inherited From |
35
- | ---------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------ | -------------- |
36
- | `close` | public | Hides the overlay | | | OverlayMixin |
37
- | `open` | public | Shows the overlay | | | OverlayMixin |
38
- | `repositionOverlay` | public | Sometimes it's needed to recompute Popper position of an overlay, for instance when we have&#xA;an opened combobox and the surrounding context changes (the space consumed by the textbox&#xA;increases vertically) | | | OverlayMixin |
39
- | `toggle` | public | Toggles the overlay | | | OverlayMixin |
40
- | `_arrowNodeTemplate` | protected | | | | ArrowMixin |
41
- | `_arrowTemplate` | protected | | | | ArrowMixin |
42
- | `_defineOverlay` | protected | | `{ contentNode, invokerNode, referenceNode, backdropNode, contentWrapperNode }, config: DefineOverlayConfig` | `OverlayController` | OverlayMixin |
43
- | `_defineOverlayConfig` | protected | Overrides arrow and keepTogether modifier to be enabled,&#xA;and adds onCreate and onUpdate hooks to sync from popper state | | `OverlayConfig` | OverlayMixin |
44
- | `_getPopperArrowConfig` | protected | | `popperConfigToExtendFrom: Partial<PopperOptions>` | `Partial<PopperOptions>` | ArrowMixin |
45
- | `_isPermanentlyDisconnected` | protected | When we're moving around in dom, disconnectedCallback gets called.&#xA;Before we decide to teardown, let's wait to see if we were not just moving nodes around. | | `Promise<boolean>` | OverlayMixin |
46
- | `_setOpenedWithoutPropertyEffects` | protected | When the opened state is changed by an Application Developer,cthe OverlayController is&#xA;requested to show/hide. It might happen that this request is not honoured&#xA;(intercepted in before-hide for instance), so that we need to sync the controller state&#xA;to this webcomponent again, preventing eternal loops. | `newOpened: boolean` | | OverlayMixin |
47
- | `_setupOpenCloseListeners` | protected | | | | OverlayMixin |
48
- | `_setupOverlayCtrl` | protected | | | | OverlayMixin |
49
- | `_teardownOpenCloseListeners` | protected | | | | OverlayMixin |
50
- | `_teardownOverlayCtrl` | protected | | | | OverlayMixin |
51
-
52
- ### Events
53
-
54
- | Name | Type | Description | Inherited From |
55
- | ---------------- | ------------- | ----------- | -------------- |
56
- | `opened-changed` | `CustomEvent` | | OverlayMixin |
27
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
28
+ | ----------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | ------------------------ | -------------- |
29
+ | `_arrowNodeTemplate` | protected | | | | ArrowMixin |
30
+ | `_arrowTemplate` | protected | | | | ArrowMixin |
31
+ | `_defineOverlayConfig` | protected | Overrides arrow and keepTogether modifier to be enabled,&#xA;and adds onCreate and onUpdate hooks to sync from popper state | | `OverlayConfig` | ArrowMixin |
32
+ | `_getPopperArrowConfig` | protected | | `popperConfigToExtendFrom: Partial<PopperOptions>` | `Partial<PopperOptions>` | ArrowMixin |
57
33
 
58
34
  ### Attributes
59
35
 
@@ -61,6 +37,5 @@ eleventyNavigation:
61
37
  | ------------------ | --------------- | -------------- |
62
38
  | `invoker-relation` | invokerRelation | |
63
39
  | `has-arrow` | hasArrow | ArrowMixin |
64
- | `opened` | opened | OverlayMixin |
65
40
 
66
41
  <hr/>
@@ -151,7 +151,7 @@ Modifier explanations:
151
151
 
152
152
  On desktop the tooltip is triggered by hover and focus, as usual. On touch devices where hover is unavailable, the same tooltip instead responds to a long-press on the invoker (default 500ms). No extra configuration is needed. The tooltip auto-detects which interaction model to use via the `(hover: hover)` CSS media query.
153
153
 
154
- > To test the touch path on desktop: enable Chrome DevTools device emulation, pick a phone preset, **reload the page**, then press-and-hold the invoker for 500ms. Tap or hover will no longer trigger it.
154
+ > To test the touch path on desktop: enable Chrome DevTools device emulation, **reload the page**, then press-and-hold the invoker for 500ms. Tap or hover will no longer trigger it.
155
155
 
156
156
  ```js preview-story
157
157
  export const longpress = () => html`
@@ -169,6 +169,39 @@ export const longpress = () => html`
169
169
  `;
170
170
  ```
171
171
 
172
+ ### Mobile: tooltip on an invoker that also opens an overlay
173
+
174
+ When an invoker opens an overlay on tap, the two interactions do not collide:
175
+
176
+ - **Tap**: dialog opens, tooltip does not show.
177
+ - **Long-press 500ms**: tooltip shows, click is suppressed so the dialog does not open.
178
+
179
+ > To test on desktop: enable Chrome DevTools device emulation, **reload the page**, then tap or long-press the button.
180
+
181
+ ```js preview-story
182
+ export const overlayAndLongpress = () => html`
183
+ <style>
184
+ .demo-tooltip-invoker {
185
+ margin: 50px;
186
+ }
187
+ </style>
188
+ <lion-tooltip has-arrow>
189
+ <button
190
+ slot="invoker"
191
+ class="demo-tooltip-invoker"
192
+ @click="${e => e.target.closest('lion-tooltip').nextElementSibling.showModal()}"
193
+ >
194
+ Tap opens dialog /</br> Long-press shows tooltip
195
+ </button>
196
+ <div slot="content">Tooltip content</div>
197
+ </lion-tooltip>
198
+ <dialog>
199
+ <p>Dialog opened by tap</p>
200
+ <button @click="${e => e.target.closest('dialog').close()}">Close</button>
201
+ </dialog>
202
+ `;
203
+ ```
204
+
172
205
  ## Arrow
173
206
 
174
207
  By default, the arrow is disabled for our tooltip. Via the `has-arrow` property it can be enabled.
@@ -9,11 +9,11 @@ Here you find more details about what we offer.
9
9
 
10
10
  Let's see what each section describes.
11
11
 
12
- 1. [Systems](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/systems/core/overview.md) <br>
12
+ 1. [Systems](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/systems/core/overview.md) <br>
13
13
  These are the fundamental systems that power all of our components.
14
- 2. [Tools](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/tools/helpers/overview.md) <br>
14
+ 2. [Tools](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/tools/helpers/overview.md) <br>
15
15
  Frontend Tools useful for web development but are not visual and therefore are not components.
16
- 3. [Node Tools](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md) <br>
16
+ 3. [Node Tools](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md) <br>
17
17
  Node tools to analyse the code and for extending the documentation.
18
- 4. [Rationales](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/rationales/side-effects.md) <br>
18
+ 4. [Rationales](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/rationales/side-effects.md) <br>
19
19
  The reasoning behind some of our decisions.
@@ -44,7 +44,7 @@ For a Mono Repository
44
44
  ```md
45
45
  # My Pkg
46
46
 
47
- [=> See Source <=](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/docs/deep/dir/overview.md)
47
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/docs/deep/dir/overview.md)
48
48
  ```
49
49
 
50
50
  ## CLI flags
@@ -74,7 +74,7 @@ Bring the `overview.md` in a docs folder along.
74
74
  👉 `packages/[my-package]/docs/overview.md`
75
75
 
76
76
  ```md
77
- [=> See Source <=](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/docs/deep/dir/overview.md)
77
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/docs/deep/dir/overview.md)
78
78
  ```
79
79
 
80
80
  Add a `use-cases.md`
@@ -82,7 +82,7 @@ Add a `use-cases.md`
82
82
  👉 `packages/[my-package]/docs/use-cases.md`
83
83
 
84
84
  ```md
85
- [=> See Source <=](https://github.com/ing-bank/lion/blob/1241fa4b6c829b69fe5a03627fc26455f87663bb/docs/fundamentals/docs/deep/dir/use-cases.md)
85
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/f772d573181b73001438c110f2efa18bd3281d1c/docs/fundamentals/docs/deep/dir/use-cases.md)
86
86
  ```
87
87
 
88
88
  So you will end up with something like this in your package.