@lion/ui 0.17.0-menu-system.1 → 0.17.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 (215) 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 +0 -2
  5. package/components/combobox/test/lion-combobox.test.js +0 -1
  6. package/components/form-core/src/form-group/FormGroupMixin.js +0 -7
  7. package/components/form-core/src/registration/FormRegistrarMixin.js +0 -11
  8. package/components/form-core/test/FormControlMixin.test.js +0 -1
  9. package/components/form-core/test/validate/Validator.test.js +0 -2
  10. package/components/form-core/test-suites/ValidateMixin.suite.js +0 -2
  11. package/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.js +0 -1
  12. package/components/input-datepicker/src/localizeNamespaceLoader.js +0 -1
  13. package/components/input-datepicker/test/lion-input-datepicker.test.js +6 -5
  14. package/components/localize/test/date/formatDate.test.js +0 -1
  15. package/components/overlays/src/OverlayController.js +111 -244
  16. package/components/overlays/src/OverlayMixin.js +11 -58
  17. package/components/overlays/src/OverlaysManager.js +2 -2
  18. package/components/overlays/src/utils/adopt-styles.js +1 -2
  19. package/components/overlays/src/utils/get-focusable-elements.js +0 -4
  20. package/components/overlays/src/utils/is-equal-config.js +6 -10
  21. package/components/overlays/test/OverlayController.test.js +3 -5
  22. package/components/overlays/test/utils-tests/is-equal-config.test.js +1 -1
  23. package/components/overlays/test-suites/OverlayMixin.suite.js +8 -8
  24. package/components/overlays/types/OverlayConfig.ts +5 -16
  25. package/components/select-rich/test/lion-select-rich.test.js +0 -3
  26. package/custom-elements.json +1910 -13871
  27. package/dist-types/components/button/src/LionButton.d.ts +0 -1
  28. package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
  29. package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
  30. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  31. package/dist-types/components/dialog/src/LionDialog.d.ts +1 -3
  32. package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
  33. package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
  34. package/dist-types/components/form-core/src/registration/FormRegistrarMixin.d.ts.map +1 -1
  35. package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
  36. package/dist-types/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.d.ts.map +1 -1
  37. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
  38. package/dist-types/components/overlays/src/OverlayController.d.ts +13 -9
  39. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  40. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  41. package/dist-types/components/overlays/src/utils/get-focusable-elements.d.ts.map +1 -1
  42. package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
  43. package/dist-types/components/overlays/types/OverlayConfig.d.ts +2 -10
  44. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  45. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +2 -8
  46. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  47. package/dist-types/exports/overlays.d.ts +0 -3
  48. package/dist-types/exports/overlays.d.ts.map +1 -1
  49. package/dist-types/tsconfig.tsbuildinfo +1 -1
  50. package/docs/components/checkbox-group/overview.md +2 -2
  51. package/docs/components/collapsible/overview.md +1 -1
  52. package/docs/components/combobox/api-table.md +8 -21
  53. package/docs/components/combobox/overview.md +1 -1
  54. package/docs/components/combobox/use-cases.md +1 -1
  55. package/docs/components/dialog/api-table.md +6 -31
  56. package/docs/components/dialog/overview.md +1 -1
  57. package/docs/components/fieldset/overview.md +5 -5
  58. package/docs/components/form/overview.md +3 -3
  59. package/docs/components/form/use-cases.md +2 -2
  60. package/docs/components/icon/use-cases.md +1 -1
  61. package/docs/components/input/overview.md +1 -1
  62. package/docs/components/input-amount/overview.md +3 -3
  63. package/docs/components/input-date/overview.md +3 -3
  64. package/docs/components/input-datepicker/api-table.md +4 -21
  65. package/docs/components/input-datepicker/overview.md +5 -5
  66. package/docs/components/input-email/overview.md +2 -2
  67. package/docs/components/input-file/overview.md +1 -1
  68. package/docs/components/input-iban/overview.md +2 -2
  69. package/docs/components/input-range/overview.md +2 -2
  70. package/docs/components/input-stepper/overview.md +1 -1
  71. package/docs/components/input-tel/overview.md +1 -1
  72. package/docs/components/input-tel/use-cases.md +6 -6
  73. package/docs/components/input-tel-dropdown/overview.md +1 -1
  74. package/docs/components/listbox/use-cases.md +1 -1
  75. package/docs/components/radio-group/overview.md +3 -3
  76. package/docs/components/select/use-cases.md +1 -1
  77. package/docs/components/select-rich/api-table.md +5 -21
  78. package/docs/components/select-rich/use-cases.md +2 -2
  79. package/docs/components/tabs/examples.md +1 -1
  80. package/docs/components/tooltip/api-table.md +11 -36
  81. package/docs/fundamentals/index.md +4 -4
  82. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  83. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  84. package/docs/fundamentals/rationales/accessibility.md +1 -1
  85. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  86. package/docs/fundamentals/systems/core/overview.md +1 -1
  87. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  88. package/docs/fundamentals/systems/form/model-value.md +1 -1
  89. package/docs/fundamentals/systems/form/overview.md +28 -28
  90. package/docs/fundamentals/systems/form/validate.md +2 -2
  91. package/docs/fundamentals/systems/localize/overview.md +4 -4
  92. package/docs/fundamentals/systems/overlays/api-table.md +34 -34
  93. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  94. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  95. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  96. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  97. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  98. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  99. package/docs/guides/how-to/create-a-form.md +4 -4
  100. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  101. package/docs/guides/how-to/index.md +1 -1
  102. package/docs/guides/index.md +8 -8
  103. package/docs/guides/principles/index.md +5 -5
  104. package/docs/guides/principles/styling.md +1 -1
  105. package/exports/collapsible.js +0 -1
  106. package/exports/overlays.js +0 -6
  107. package/overlays.js +0 -6
  108. package/package.json +1 -1
  109. package/components/collapsible/src/DisclosureMixin.js +0 -313
  110. package/components/collapsible/types/DisclosureMixinTypes.ts +0 -48
  111. package/components/menu/CHANGELOG.md +0 -37
  112. package/components/menu/README.md +0 -335
  113. package/components/menu/index.js +0 -2
  114. package/components/menu/lion-menu-overlay.js +0 -3
  115. package/components/menu/lion-menu.js +0 -3
  116. package/components/menu/lion-spinbutton.js +0 -3
  117. package/components/menu/lion-toolbar.js +0 -3
  118. package/components/menu/lion-tree.js +0 -3
  119. package/components/menu/package.json +0 -46
  120. package/components/menu/requirements.temp.md +0 -12
  121. package/components/menu/src/InteractiveListMixin.js +0 -796
  122. package/components/menu/src/LionMenu.js +0 -250
  123. package/components/menu/src/LionMenuHybrid.js +0 -46
  124. package/components/menu/src/LionMenuOverlay.js +0 -155
  125. package/components/menu/src/LionSpinbutton.js +0 -213
  126. package/components/menu/src/LionToolbar.js +0 -94
  127. package/components/menu/src/LionTree.js +0 -52
  128. package/components/menu/src/MultiLevelListMixin.js +0 -274
  129. package/components/menu/src/utils/isInView.js +0 -26
  130. package/components/menu/src/utils/listItemInteractions.js +0 -104
  131. package/components/menu/src/utils/uuid.js +0 -3
  132. package/components/menu/test/lion-menu.test.js +0 -3
  133. package/components/menu/test-suites/InteractiveListMixin.suite.js +0 -142
  134. package/components/menu/types/InteractiveListMixinTypes.d.ts +0 -82
  135. package/components/navigation-bar/README.md +0 -1
  136. package/components/navigation-bar/src/LionNavigationBar.js +0 -422
  137. package/components/navigation-bar/src/types.js +0 -41
  138. package/components/overlays/NEXT.md +0 -49
  139. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts +0 -3
  140. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts.map +0 -1
  141. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts +0 -24
  142. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts.map +0 -1
  143. package/dist-types/components/menu/index.d.ts +0 -3
  144. package/dist-types/components/menu/index.d.ts.map +0 -1
  145. package/dist-types/components/menu/lion-menu-overlay.d.ts +0 -2
  146. package/dist-types/components/menu/lion-menu-overlay.d.ts.map +0 -1
  147. package/dist-types/components/menu/lion-menu.d.ts +0 -2
  148. package/dist-types/components/menu/lion-menu.d.ts.map +0 -1
  149. package/dist-types/components/menu/lion-spinbutton.d.ts +0 -2
  150. package/dist-types/components/menu/lion-spinbutton.d.ts.map +0 -1
  151. package/dist-types/components/menu/lion-toolbar.d.ts +0 -2
  152. package/dist-types/components/menu/lion-toolbar.d.ts.map +0 -1
  153. package/dist-types/components/menu/lion-tree.d.ts +0 -2
  154. package/dist-types/components/menu/lion-tree.d.ts.map +0 -1
  155. package/dist-types/components/menu/src/InteractiveListMixin.d.ts +0 -611
  156. package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +0 -1
  157. package/dist-types/components/menu/src/LionMenu.d.ts +0 -563
  158. package/dist-types/components/menu/src/LionMenu.d.ts.map +0 -1
  159. package/dist-types/components/menu/src/LionMenuHybrid.d.ts +0 -19
  160. package/dist-types/components/menu/src/LionMenuHybrid.d.ts.map +0 -1
  161. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +0 -1007
  162. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +0 -1
  163. package/dist-types/components/menu/src/LionSpinbutton.d.ts +0 -58
  164. package/dist-types/components/menu/src/LionSpinbutton.d.ts.map +0 -1
  165. package/dist-types/components/menu/src/LionToolbar.d.ts +0 -8
  166. package/dist-types/components/menu/src/LionToolbar.d.ts.map +0 -1
  167. package/dist-types/components/menu/src/LionTree.d.ts +0 -445
  168. package/dist-types/components/menu/src/LionTree.d.ts.map +0 -1
  169. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +0 -493
  170. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +0 -1
  171. package/dist-types/components/menu/src/utils/isInView.d.ts +0 -9
  172. package/dist-types/components/menu/src/utils/isInView.d.ts.map +0 -1
  173. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +0 -42
  174. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +0 -1
  175. package/dist-types/components/menu/src/utils/uuid.d.ts +0 -2
  176. package/dist-types/components/menu/src/utils/uuid.d.ts.map +0 -1
  177. package/dist-types/components/menu/test/lion-menu.test.d.ts +0 -2
  178. package/dist-types/components/menu/test/lion-menu.test.d.ts.map +0 -1
  179. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +0 -13
  180. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +0 -1
  181. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +0 -238
  182. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +0 -1
  183. package/dist-types/components/navigation-bar/src/types.d.ts +0 -85
  184. package/dist-types/components/navigation-bar/src/types.d.ts.map +0 -1
  185. package/dist-types/exports/define/lion-item.d.ts +0 -2
  186. package/dist-types/exports/define/lion-item.d.ts.map +0 -1
  187. package/dist-types/exports/define/lion-menu-overlay.d.ts +0 -2
  188. package/dist-types/exports/define/lion-menu-overlay.d.ts.map +0 -1
  189. package/dist-types/exports/define/lion-menu.d.ts +0 -2
  190. package/dist-types/exports/define/lion-menu.d.ts.map +0 -1
  191. package/dist-types/exports/define/lion-navigation-bar.d.ts +0 -2
  192. package/dist-types/exports/define/lion-navigation-bar.d.ts.map +0 -1
  193. package/dist-types/exports/define/lion-toolbar.d.ts +0 -2
  194. package/dist-types/exports/define/lion-toolbar.d.ts.map +0 -1
  195. package/dist-types/exports/define/lion-tree.d.ts +0 -2
  196. package/dist-types/exports/define/lion-tree.d.ts.map +0 -1
  197. package/dist-types/exports/menu.d.ts +0 -7
  198. package/dist-types/exports/menu.d.ts.map +0 -1
  199. package/dist-types/exports/navigation-bar.d.ts +0 -2
  200. package/dist-types/exports/navigation-bar.d.ts.map +0 -1
  201. package/docs/components/menu/api-table.md +0 -450
  202. package/docs/components/menu/applyMenuDemoStyles.js +0 -173
  203. package/docs/components/menu/extensions.md +0 -216
  204. package/docs/components/menu/index.md +0 -13
  205. package/docs/components/menu/overview.md +0 -422
  206. package/exports/define/lion-item.js +0 -3
  207. package/exports/define/lion-menu-overlay.js +0 -3
  208. package/exports/define/lion-menu.js +0 -3
  209. package/exports/define/lion-navigation-bar.js +0 -3
  210. package/exports/define/lion-toolbar.js +0 -3
  211. package/exports/define/lion-tree.js +0 -3
  212. package/exports/menu.js +0 -6
  213. package/exports/navigation-bar.js +0 -1
  214. package/menu.js +0 -6
  215. package/navigation-bar.js +0 -1
@@ -31,11 +31,11 @@ import '@lion/ui/define/lion-checkbox.js';
31
31
  </lion-checkbox-group>
32
32
  ```
33
33
 
34
- > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/form/overview.md)'s serialization result.
34
+ > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/form/overview.md)'s serialization result.
35
35
 
36
36
  ## Features
37
37
 
38
- Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/fieldset/overview.md),
38
+ Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/fieldset/overview.md),
39
39
  it has all the features a fieldset has.
40
40
 
41
41
  ## Installation
@@ -34,7 +34,7 @@ export const main = () => html`
34
34
  ## Features
35
35
 
36
36
  - Use `opened` attribute or `toggle()` method to render default open.
37
- - `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/button/overview.md) or native `button` with custom styling.
37
+ - `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/button/overview.md) or native `button` with custom styling.
38
38
  - Observe the state with the help of `@opened-changed` event.
39
39
  - `show()` and `hide()` are helper methods to hide or show the content from outside.
40
40
 
@@ -23,7 +23,6 @@ eleventyNavigation:
23
23
  | `autocomplete` | public | `'none'\|'list'\|'inline'\|'both'` | `'both'` | When "list", will filter listbox suggestions based on textbox value.&#xA;When "both", an inline completion string will be added to the textbox as well. | |
24
24
  | `autofocus` | public | `boolean` | `false` | | FocusMixin |
25
25
  | `checkedIndex` | public | `number \| number[]` | | | ListboxMixin |
26
- | `config` | public | `Partial<OverlayConfig>` | `{}` | Configure the many options of the \`OverlayController\` | OverlayMixin |
27
26
  | `customChoices` | public | | | Custom elements are all missing elements that have no corresponding element, independent if enabled or not. | CustomChoiceGroupMixin |
28
27
  | `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. | ValidateMixin |
29
28
  | `dirty` | public | `boolean` | `false` | True when user has changed the value of the field. | InteractionStateMixin |
@@ -45,7 +44,6 @@ eleventyNavigation:
45
44
  | `matchMode` | public | `'begin'\|'all'` | `'all'` | When typing in the textbox, will by default be set on 'begin',&#xA;only matching the beginning part in suggestion list.&#xA;=> 'a' will match 'apple' from \['apple', 'pear', 'citrus'].&#xA;When set to 'all', will match middle of the word as well&#xA;=> 'a' will match 'apple' and 'pear' | |
46
45
  | `modelValue` | public | `object` | | | FormControlMixin |
47
46
  | `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. | ChoiceGroupMixin |
48
- | `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 |
49
47
  | `operationMode` | public | `OperationMode` | | Types of input interaction of the FormControl (for instance 'enter'\|'select'\|'upload') | ValidateMixin |
50
48
  | `orientation` | public | `string` | `'vertical'` | Informs screen reader and affects keyboard navigation.&#xA;By default 'vertical' | ListboxMixin |
51
49
  | `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. | InteractionStateMixin |
@@ -86,11 +84,9 @@ eleventyNavigation:
86
84
  | `_listboxSlot` | protected | `HTMLElement` | | | ListboxMixin |
87
85
  | `_noTypeAhead` | public | `boolean` | `true` | When false, a user can type on which the focus will jump to the matching option | ListboxMixin |
88
86
  | `_oldModelValue` | protected | `string \| string[] \| undefined` | `undefined` | | ListboxMixin |
89
- | `_overlayBackdropNode` | protected | | | | OverlayMixin |
90
- | `_overlayContentNode` | protected | | | | OverlayMixin |
91
- | `_overlayContentWrapperNode` | protected | | | | OverlayMixin |
92
- | `_overlayInvokerNode` | protected | | | | OverlayMixin |
93
- | `_overlayReferenceNode` | protected | | | | OverlayMixin |
87
+ | `_overlayContentNode` | protected | | | | |
88
+ | `_overlayInvokerNode` | protected | | | | |
89
+ | `_overlayReferenceNode` | protected | | | | |
94
90
  | `_repropagationRole` | public | `'child'\|'choice-group'\|'fieldset'` | `'choice-group'` | Based on the role, details of handling model-value-changed repropagation differ. | FormControlMixin |
95
91
  | `_requestedToBeDisabled` | protected | `boolean` | `false` | | DisabledMixin |
96
92
  | `_scrollTargetNode` | protected | `HTMLElement` | | | ListboxMixin |
@@ -109,30 +105,25 @@ eleventyNavigation:
109
105
  | `blur` | public | Calls \`blur()\` on focusable element within | | | FocusMixin |
110
106
  | `clear` | public | | | | ChoiceGroupMixin |
111
107
  | `click` | public | | | | DisabledMixin |
112
- | `close` | public | Hides the overlay | | | OverlayMixin |
113
108
  | `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` | ValidateMixin |
114
109
  | `focus` | public | Calls \`focus()\` on focusable element within | | | FocusMixin |
115
110
  | `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. | | | InteractionStateMixin |
116
111
  | `isRegisteredFormElement` | public | | `el: ElementWithParentFormGroup` | | FormRegistrarMixin |
117
112
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
118
113
  | `matchCondition` | public | When the preconfigurable \`match-mode\` conditions are not sufficient,&#xA;one can define a custom matching function. | `option: LionOption, textboxValue: string` | | |
119
- | `open` | public | Shows the overlay | | | OverlayMixin |
120
114
  | `parser` | public | Converts viewValue to modelValue | `value: string\|string[]` | `*` | CustomChoiceGroupMixin |
121
115
  | `removeFormElement` | public | | `child: FormControlHost` | | FormRegistrarMixin |
122
116
  | `removeFromAriaDescribedBy` | public | Allows to remove element references from aria-describedby attribute. | `element: HTMLElement` | | FormControlMixin |
123
117
  | `removeFromAriaLabelledBy` | public | Allows to remove element references from aria-labelledby attribute. | `element: HTMLElement` | | FormControlMixin |
124
- | `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 |
125
118
  | `reset` | public | | | | ListboxMixin |
126
119
  | `resetInteractionState` | public | Resets touched and dirty, and recomputes prefilled | | | InteractionStateMixin |
127
120
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
128
121
  | `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[]` | | ListboxMixin |
129
- | `toggle` | public | Toggles the overlay | | | OverlayMixin |
130
122
  | `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 }` | | ValidateMixin |
131
123
  | `_autoSelectCondition` | protected | When this condition is false, an end user will have to manually select a suggested&#xA;option from the list (by default when autocomplete is 'none' or 'list').&#xA;For autocomplete 'both' or 'inline', it will automatically select on a match. | | | |
132
124
  | `_checkSingleChoiceElements` | protected | | `ev: CustomEvent & {target:FormControl}` | | ChoiceGroupMixin |
133
125
  | `_completeRegistration` | protected | Resolves the registrationComplete promise. Subclassers can delay if needed | | | FormRegistrarMixin |
134
- | `_defineOverlay` | protected | | `{ contentNode, invokerNode, referenceNode, backdropNode, contentWrapperNode }, config: DefineOverlayConfig` | `OverlayController` | OverlayMixin |
135
- | `_defineOverlayConfig` | protected | | | `OverlayConfig` | OverlayMixin |
126
+ | `_defineOverlayConfig` | protected | | | | |
136
127
  | `_dispatchInitialModelValueChangedEvent` | protected | | | | FormControlMixin |
137
128
  | `_enhanceLightDomA11y` | protected | | | | FormControlMixin |
138
129
  | `_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[]` | | FormControlMixin |
@@ -159,7 +150,6 @@ eleventyNavigation:
159
150
  | `_inputGroupSuffixTemplate` | protected | | | `TemplateResult \| nothing` | FormControlMixin |
160
151
  | `_inputGroupTemplate` | protected | | | `TemplateResult` | FormControlMixin |
161
152
  | `_isEmpty` | protected | Used for Required validation and computation of interaction states | `modelValue: any` | `boolean` | FormControlMixin |
162
- | `_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 |
163
153
  | `_iStateOnLeave` | protected | Sets touched value to true and reevaluates prefilled state.&#xA;When false, on next interaction, user will start with a clean state. | | | InteractionStateMixin |
164
154
  | `_iStateOnValueChange` | protected | Sets dirty value and validates when already touched or invalid | | | InteractionStateMixin |
165
155
  | `_labelTemplate` | protected | | | `TemplateResult` | FormControlMixin |
@@ -185,18 +175,17 @@ eleventyNavigation:
185
175
  | `_resetListboxOptions` | protected | | | | |
186
176
  | `_scrollIntoView` | protected | | `el: HTMLElement, scrollTargetEl: HTMLElement` | | ListboxMixin |
187
177
  | `_setCheckedElements` | protected | | `value: string \| any[], check: Function` | | ChoiceGroupMixin |
188
- | `_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 |
189
178
  | `_setTextboxValue` | protected | | `v: string` | | |
190
179
  | `_setupListboxNode` | protected | | | | ListboxMixin |
191
- | `_setupOpenCloseListeners` | protected | | | | OverlayMixin |
192
- | `_setupOverlayCtrl` | protected | | | | OverlayMixin |
180
+ | `_setupOpenCloseListeners` | protected | | | | |
181
+ | `_setupOverlayCtrl` | protected | | | | |
193
182
  | `_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` | | ValidateMixin |
194
183
  | `_showOverlayCondition` | protected | | `{ lastKey }, options: { currentValue?: string, lastKey?: string }` | `boolean` | |
195
184
  | `_syncToTextboxCondition` | protected | | `modelValue: string\|string[], oldModelValue: string\|string[], { phase }, config: {phase?:string}` | | |
196
185
  | `_syncToTextboxMultiple` | protected | | `modelValue: string[], oldModelValue: string[]` | | |
197
186
  | `_teardownListboxNode` | protected | | | | ListboxMixin |
198
- | `_teardownOpenCloseListeners` | protected | | | | OverlayMixin |
199
- | `_teardownOverlayCtrl` | protected | | | | OverlayMixin |
187
+ | `_teardownOpenCloseListeners` | protected | | | | |
188
+ | `_teardownOverlayCtrl` | protected | | | | |
200
189
  | `_textboxOnClick` | protected | | `ev: FocusEvent` | | |
201
190
  | `_textboxOnInput` | protected | | `ev: Event` | | |
202
191
  | `_textboxOnKeydown` | protected | | `ev: KeyboardEvent` | | |
@@ -211,7 +200,6 @@ eleventyNavigation:
211
200
 
212
201
  | Name | Type | Description | Inherited From |
213
202
  | ------------------------------ | ------------- | -------------------------------------------------------- | --------------------- |
214
- | `opened-changed` | `CustomEvent` | | OverlayMixin |
215
203
  | `model-value-changed` | `CustomEvent` | | FormControlMixin |
216
204
  | `form-element-name-changed` | `CustomEvent` | | FormControlMixin |
217
205
  | `focus` | `Event` | | FocusMixin |
@@ -235,7 +223,6 @@ eleventyNavigation:
235
223
  | `requireOptionMatch` | requireOptionMatch | |
236
224
  | `allow-custom-choice` | allowCustomChoice | CustomChoiceGroupMixin |
237
225
  | `__shouldAutocompleteNextUpdate` | \_\_shouldAutocompleteNextUpdate | |
238
- | `opened` | opened | OverlayMixin |
239
226
  | `modelValue` | modelValue | CustomChoiceGroupMixin |
240
227
  | `multiple-choice` | multipleChoice | ChoiceGroupMixin |
241
228
  | `orientation` | orientation | ListboxMixin |
@@ -46,7 +46,7 @@ export const main = () => html`
46
46
  `;
47
47
  ```
48
48
 
49
- [...show more](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/combobox/extensions.md)
49
+ [...show more](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/combobox/extensions.md)
50
50
 
51
51
  ## Features
52
52
 
@@ -558,4 +558,4 @@ export const complexObjectChoiceValue = () =>
558
558
  ## Listbox compatibility
559
559
 
560
560
  All configurations that can be applied to `lion-listbox`, can be applied to `lion-combobox` as well.
561
- See the [listbox documentation](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/listbox/overview.md) for more information.
561
+ See the [listbox documentation](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/listbox/overview.md) for more information.
@@ -16,45 +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
- | `isAlertDialog` | public | `boolean` | `false` | | |
23
- | `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 |
24
- | `_overlayBackdropNode` | protected | | | | OverlayMixin |
25
- | `_overlayContentNode` | protected | | | | OverlayMixin |
26
- | `_overlayContentWrapperNode` | protected | | | | OverlayMixin |
27
- | `_overlayInvokerNode` | protected | | | | OverlayMixin |
28
- | `_overlayReferenceNode` | protected | | | | OverlayMixin |
19
+ | Name | Privacy | Type | Default | Description | Inherited From |
20
+ | --------------- | ------- | --------- | ------- | ----------- | -------------- |
21
+ | `isAlertDialog` | public | `boolean` | `false` | | |
29
22
 
30
23
  ### Methods
31
24
 
32
- | Name | Privacy | Description | Parameters | Return | Inherited From |
33
- | ---------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------- | -------------- |
34
- | `close` | public | Hides the overlay | | | OverlayMixin |
35
- | `open` | public | Shows the overlay | | | OverlayMixin |
36
- | `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 |
37
- | `toggle` | public | Toggles the overlay | | | OverlayMixin |
38
- | `_defineOverlay` | protected | | `{ contentNode, invokerNode, referenceNode, backdropNode, contentWrapperNode }, config: DefineOverlayConfig` | `OverlayController` | OverlayMixin |
39
- | `_defineOverlayConfig` | protected | | | `OverlayConfig` | OverlayMixin |
40
- | `_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 |
41
- | `_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 |
42
- | `_setupOpenCloseListeners` | protected | | | | OverlayMixin |
43
- | `_setupOverlayCtrl` | protected | | | | OverlayMixin |
44
- | `_teardownOpenCloseListeners` | protected | | | | OverlayMixin |
45
- | `_teardownOverlayCtrl` | protected | | | | OverlayMixin |
46
-
47
- ### Events
48
-
49
- | Name | Type | Description | Inherited From |
50
- | ---------------- | ------------- | ----------- | -------------- |
51
- | `opened-changed` | `CustomEvent` | | OverlayMixin |
25
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
26
+ | ---------------------- | --------- | ----------- | ---------- | ------ | -------------- |
27
+ | `_defineOverlayConfig` | protected | | | | |
52
28
 
53
29
  ### Attributes
54
30
 
55
31
  | Name | Field | Inherited From |
56
32
  | ----------------- | ------------- | -------------- |
57
33
  | `is-alert-dialog` | isAlertDialog | |
58
- | `opened` | opened | OverlayMixin |
59
34
 
60
35
  <hr/>
@@ -66,6 +66,6 @@ import '@lion/ui/define/lion-dialog.js';
66
66
  ## Changing the configuration
67
67
 
68
68
  You can use the `.config` property on the dialog to change the configuration.
69
- The documentation of the full config object can be found in the `overlays` folder or here in [Overlay System - Configuration](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/overlays/configuration.md).
69
+ The documentation of the full config object can be found in the `overlays` folder or here in [Overlay System - Configuration](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/overlays/configuration.md).
70
70
 
71
71
  The `config` property uses a setter to merge the passed configuration with the current, so you only **overwrite what you pass** when updating `config`.
@@ -32,9 +32,9 @@ export const main = () => html`
32
32
 
33
33
  We have three specific fieldset implementations:
34
34
 
35
- - [form](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/form/overview.md)
36
- - [checkbox-group](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/checkbox-group/overview.md)
37
- - [radio-group](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/radio-group/overview.md)
35
+ - [form](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/form/overview.md)
36
+ - [checkbox-group](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/checkbox-group/overview.md)
37
+ - [radio-group](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/radio-group/overview.md)
38
38
 
39
39
  A native fieldset element should always have a legend-element for a11y purposes.
40
40
  However, our fieldset element is not native and should not have a legend-element.
@@ -43,8 +43,8 @@ Our fieldset instead has a label attribute or you can add a label with a div- or
43
43
  ## Features
44
44
 
45
45
  - Easy retrieval of form data based on field names
46
- - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/interaction-states.md)
47
- - Can have [validate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) on fieldset level and shows the validation feedback below the fieldset
46
+ - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/interaction-states.md)
47
+ - Can have [validate](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md) on fieldset level and shows the validation feedback below the fieldset
48
48
  - Can disable input fields on fieldset level
49
49
  - Accessible out of the box
50
50
 
@@ -20,7 +20,7 @@ import '@lion/ui/define/lion-form.js';
20
20
  ```
21
21
 
22
22
  A web component that enhances the functionality of the native `form` component.
23
- It is designed to interact with (instances of) the [form controls](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/overview.md).
23
+ It is designed to interact with (instances of) the [form controls](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/overview.md).
24
24
 
25
25
  ```js preview-story
26
26
  export const main = () => {
@@ -49,11 +49,11 @@ export const main = () => {
49
49
  - Data synchronization with models
50
50
  - Easy retrieval of form data based on field names
51
51
  - Advanced validation possibilities
52
- - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/interaction-states.md)
52
+ - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/interaction-states.md)
53
53
  - Registration mechanism for form controls
54
54
  - Accessible out of the box
55
55
 
56
- For more information about fields that are designed for our `form`, please read [form system](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/overview.md).
56
+ For more information about fields that are designed for our `form`, please read [form system](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/overview.md).
57
57
 
58
58
  ## Installation
59
59
 
@@ -26,7 +26,7 @@ import '@lion/ui/define/lion-form.js';
26
26
  To submit a form, use a regular `<button>` (or `<lion-button-submit>`) somewhere inside the native `<form>`. Then, add a `submit` handler on the `<lion-form>`. You can use this event to do your own (pre-)submit logic, like getting the serialized form data and sending it to a backend API.
27
27
 
28
28
  Another example is checking if the form has errors, and focusing the first field with a validation error.
29
- To learn more about form validation, please take a look at [validate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md).
29
+ To learn more about form validation, please take a look at [validate](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md).
30
30
 
31
31
  To fire a submit from JavaScript, select the `<lion-form>` element and call `.submit()`.
32
32
 
@@ -128,7 +128,7 @@ export const prefilledData = () => {
128
128
  };
129
129
  ```
130
130
 
131
- Learn more about [formatting and parsing](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/formatting-and-parsing.md).
131
+ Learn more about [formatting and parsing](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/formatting-and-parsing.md).
132
132
 
133
133
  ## Sub forms
134
134
 
@@ -25,7 +25,7 @@ import '@lion/ui/define/lion-icon.js';
25
25
  ## Icon sets
26
26
 
27
27
  Icons are displayed using icon sets. These are collections of icons, lazily loaded on demand for performance.
28
- See the [system documentation](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/icon/overview.md) to learn more about icon sets.
28
+ See the [system documentation](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/icon/overview.md) to learn more about icon sets.
29
29
 
30
30
  ```js preview-story
31
31
  export const iconSets = () => html`
@@ -35,7 +35,7 @@ export const main = () => html`<lion-input label="First Name"></lion-input>`;
35
35
  - **before**: does not have an active use case yet, but the option is in place.
36
36
  - **after**: can be used to show a currency or percentage.
37
37
  - Delegates attributes like `type`, `disabled`, `placeholder` and `readonly` to the native input.
38
- - Can make use of [validation](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md).
38
+ - Can make use of [validation](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md).
39
39
 
40
40
  ## Installation
41
41
 
@@ -36,13 +36,13 @@ export const main = () => {
36
36
 
37
37
  ## Features
38
38
 
39
- - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/input/overview.md)
40
- - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
39
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md)
40
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
41
41
  - Option to show currency as a suffix
42
42
  - Option to override locale to change the formatting and parsing
43
43
  - Option to provide additional format options overrides
44
44
  - Default label in different languages
45
- - Can make use of number specific [validators](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
45
+ - Can make use of number specific [validators](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
46
46
  - IsNumber (default)
47
47
  - MinNumber
48
48
  - MaxNumber
@@ -28,11 +28,11 @@ import '@lion/ui/define/lion-input-date.js';
28
28
 
29
29
  ## Features
30
30
 
31
- - Based on our [input](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/components/input/overview.md)
32
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
31
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md)
32
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
33
33
  - Option to override locale to change the formatting and parsing
34
34
  - Default label in different languages
35
- - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/800791cbc9a0c2191fd0ab6d934aa09eb012356c/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
35
+ - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
36
36
  - IsDate (default)
37
37
  - MinDate
38
38
  - MaxDate