@lion/ui 0.17.0-menu-system.0 → 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 (212) 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 +76 -160
  16. package/components/overlays/src/OverlayMixin.js +11 -57
  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 +1 -4
  21. package/components/overlays/test/OverlayController.test.js +2 -2
  22. package/components/overlays/types/OverlayConfig.ts +5 -10
  23. package/components/select-rich/test/lion-select-rich.test.js +0 -3
  24. package/custom-elements.json +19168 -31113
  25. package/dist-types/components/button/src/LionButton.d.ts +0 -1
  26. package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
  27. package/dist-types/components/button/test-suites/LionButton.suite.d.ts.map +1 -1
  28. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  29. package/dist-types/components/dialog/src/LionDialog.d.ts +1 -2
  30. package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
  31. package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
  32. package/dist-types/components/form-core/src/registration/FormRegistrarMixin.d.ts.map +1 -1
  33. package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
  34. package/dist-types/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.d.ts.map +1 -1
  35. package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
  36. package/dist-types/components/overlays/src/OverlayController.d.ts +6 -6
  37. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  38. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  39. package/dist-types/components/overlays/src/utils/get-focusable-elements.d.ts.map +1 -1
  40. package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
  41. package/dist-types/components/overlays/types/OverlayConfig.d.ts +2 -5
  42. package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
  43. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +2 -7
  44. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  45. package/dist-types/exports/overlays.d.ts +0 -2
  46. package/dist-types/tsconfig.tsbuildinfo +1 -1
  47. package/docs/components/checkbox-group/overview.md +2 -2
  48. package/docs/components/collapsible/overview.md +1 -1
  49. package/docs/components/combobox/api-table.md +8 -21
  50. package/docs/components/combobox/overview.md +1 -1
  51. package/docs/components/combobox/use-cases.md +1 -1
  52. package/docs/components/dialog/api-table.md +6 -31
  53. package/docs/components/dialog/overview.md +1 -1
  54. package/docs/components/fieldset/overview.md +5 -5
  55. package/docs/components/form/overview.md +3 -3
  56. package/docs/components/form/use-cases.md +2 -2
  57. package/docs/components/icon/use-cases.md +1 -1
  58. package/docs/components/input/overview.md +1 -1
  59. package/docs/components/input-amount/overview.md +3 -3
  60. package/docs/components/input-date/overview.md +3 -3
  61. package/docs/components/input-datepicker/api-table.md +4 -21
  62. package/docs/components/input-datepicker/overview.md +5 -5
  63. package/docs/components/input-email/overview.md +2 -2
  64. package/docs/components/input-file/overview.md +1 -1
  65. package/docs/components/input-iban/overview.md +2 -2
  66. package/docs/components/input-range/overview.md +2 -2
  67. package/docs/components/input-stepper/overview.md +1 -1
  68. package/docs/components/input-tel/overview.md +1 -1
  69. package/docs/components/input-tel/use-cases.md +6 -6
  70. package/docs/components/input-tel-dropdown/overview.md +1 -1
  71. package/docs/components/listbox/use-cases.md +1 -1
  72. package/docs/components/radio-group/overview.md +3 -3
  73. package/docs/components/select/use-cases.md +1 -1
  74. package/docs/components/select-rich/api-table.md +5 -21
  75. package/docs/components/select-rich/use-cases.md +2 -2
  76. package/docs/components/tabs/examples.md +1 -1
  77. package/docs/components/tooltip/api-table.md +11 -36
  78. package/docs/fundamentals/index.md +4 -4
  79. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  80. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  81. package/docs/fundamentals/rationales/accessibility.md +1 -1
  82. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  83. package/docs/fundamentals/systems/core/overview.md +1 -1
  84. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  85. package/docs/fundamentals/systems/form/model-value.md +1 -1
  86. package/docs/fundamentals/systems/form/overview.md +28 -28
  87. package/docs/fundamentals/systems/form/validate.md +2 -2
  88. package/docs/fundamentals/systems/localize/overview.md +4 -4
  89. package/docs/fundamentals/systems/overlays/api-table.md +34 -34
  90. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  91. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  92. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  93. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  94. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  95. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  96. package/docs/guides/how-to/create-a-form.md +4 -4
  97. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  98. package/docs/guides/how-to/index.md +1 -1
  99. package/docs/guides/index.md +8 -8
  100. package/docs/guides/principles/index.md +5 -5
  101. package/docs/guides/principles/styling.md +1 -1
  102. package/exports/collapsible.js +0 -1
  103. package/exports/overlays.js +0 -2
  104. package/overlays.js +0 -2
  105. package/package.json +1 -1
  106. package/components/collapsible/src/DisclosureMixin.js +0 -313
  107. package/components/collapsible/types/DisclosureMixinTypes.ts +0 -48
  108. package/components/menu/CHANGELOG.md +0 -37
  109. package/components/menu/README.md +0 -335
  110. package/components/menu/index.js +0 -2
  111. package/components/menu/lion-menu-overlay.js +0 -3
  112. package/components/menu/lion-menu.js +0 -3
  113. package/components/menu/lion-spinbutton.js +0 -3
  114. package/components/menu/lion-toolbar.js +0 -3
  115. package/components/menu/lion-tree.js +0 -3
  116. package/components/menu/package.json +0 -46
  117. package/components/menu/requirements.temp.md +0 -12
  118. package/components/menu/src/InteractiveListMixin.js +0 -796
  119. package/components/menu/src/LionMenu.js +0 -250
  120. package/components/menu/src/LionMenuHybrid.js +0 -46
  121. package/components/menu/src/LionMenuOverlay.js +0 -155
  122. package/components/menu/src/LionSpinbutton.js +0 -213
  123. package/components/menu/src/LionToolbar.js +0 -94
  124. package/components/menu/src/LionTree.js +0 -52
  125. package/components/menu/src/MultiLevelListMixin.js +0 -275
  126. package/components/menu/src/utils/isInView.js +0 -26
  127. package/components/menu/src/utils/listItemInteractions.js +0 -104
  128. package/components/menu/src/utils/uuid.js +0 -3
  129. package/components/menu/test/lion-menu.test.js +0 -3
  130. package/components/menu/test-suites/InteractiveListMixin.suite.js +0 -142
  131. package/components/menu/types/InteractiveListMixinTypes.d.ts +0 -82
  132. package/components/navigation-bar/README.md +0 -1
  133. package/components/navigation-bar/src/LionNavigationBar.js +0 -449
  134. package/components/navigation-bar/src/types.js +0 -41
  135. package/components/overlays/NEXT.md +0 -49
  136. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts +0 -3
  137. package/dist-types/components/collapsible/src/DisclosureMixin.d.ts.map +0 -1
  138. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts +0 -24
  139. package/dist-types/components/collapsible/types/DisclosureMixinTypes.d.ts.map +0 -1
  140. package/dist-types/components/menu/index.d.ts +0 -3
  141. package/dist-types/components/menu/index.d.ts.map +0 -1
  142. package/dist-types/components/menu/lion-menu-overlay.d.ts +0 -2
  143. package/dist-types/components/menu/lion-menu-overlay.d.ts.map +0 -1
  144. package/dist-types/components/menu/lion-menu.d.ts +0 -2
  145. package/dist-types/components/menu/lion-menu.d.ts.map +0 -1
  146. package/dist-types/components/menu/lion-spinbutton.d.ts +0 -2
  147. package/dist-types/components/menu/lion-spinbutton.d.ts.map +0 -1
  148. package/dist-types/components/menu/lion-toolbar.d.ts +0 -2
  149. package/dist-types/components/menu/lion-toolbar.d.ts.map +0 -1
  150. package/dist-types/components/menu/lion-tree.d.ts +0 -2
  151. package/dist-types/components/menu/lion-tree.d.ts.map +0 -1
  152. package/dist-types/components/menu/src/InteractiveListMixin.d.ts +0 -611
  153. package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +0 -1
  154. package/dist-types/components/menu/src/LionMenu.d.ts +0 -563
  155. package/dist-types/components/menu/src/LionMenu.d.ts.map +0 -1
  156. package/dist-types/components/menu/src/LionMenuHybrid.d.ts +0 -19
  157. package/dist-types/components/menu/src/LionMenuHybrid.d.ts.map +0 -1
  158. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +0 -1006
  159. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +0 -1
  160. package/dist-types/components/menu/src/LionSpinbutton.d.ts +0 -58
  161. package/dist-types/components/menu/src/LionSpinbutton.d.ts.map +0 -1
  162. package/dist-types/components/menu/src/LionToolbar.d.ts +0 -8
  163. package/dist-types/components/menu/src/LionToolbar.d.ts.map +0 -1
  164. package/dist-types/components/menu/src/LionTree.d.ts +0 -445
  165. package/dist-types/components/menu/src/LionTree.d.ts.map +0 -1
  166. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +0 -493
  167. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +0 -1
  168. package/dist-types/components/menu/src/utils/isInView.d.ts +0 -9
  169. package/dist-types/components/menu/src/utils/isInView.d.ts.map +0 -1
  170. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +0 -42
  171. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +0 -1
  172. package/dist-types/components/menu/src/utils/uuid.d.ts +0 -2
  173. package/dist-types/components/menu/src/utils/uuid.d.ts.map +0 -1
  174. package/dist-types/components/menu/test/lion-menu.test.d.ts +0 -2
  175. package/dist-types/components/menu/test/lion-menu.test.d.ts.map +0 -1
  176. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +0 -13
  177. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +0 -1
  178. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +0 -226
  179. package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts.map +0 -1
  180. package/dist-types/components/navigation-bar/src/types.d.ts +0 -85
  181. package/dist-types/components/navigation-bar/src/types.d.ts.map +0 -1
  182. package/dist-types/exports/define/lion-item.d.ts +0 -2
  183. package/dist-types/exports/define/lion-item.d.ts.map +0 -1
  184. package/dist-types/exports/define/lion-menu-overlay.d.ts +0 -2
  185. package/dist-types/exports/define/lion-menu-overlay.d.ts.map +0 -1
  186. package/dist-types/exports/define/lion-menu.d.ts +0 -2
  187. package/dist-types/exports/define/lion-menu.d.ts.map +0 -1
  188. package/dist-types/exports/define/lion-navigation-bar.d.ts +0 -2
  189. package/dist-types/exports/define/lion-navigation-bar.d.ts.map +0 -1
  190. package/dist-types/exports/define/lion-toolbar.d.ts +0 -2
  191. package/dist-types/exports/define/lion-toolbar.d.ts.map +0 -1
  192. package/dist-types/exports/define/lion-tree.d.ts +0 -2
  193. package/dist-types/exports/define/lion-tree.d.ts.map +0 -1
  194. package/dist-types/exports/menu.d.ts +0 -7
  195. package/dist-types/exports/menu.d.ts.map +0 -1
  196. package/dist-types/exports/navigation-bar.d.ts +0 -2
  197. package/dist-types/exports/navigation-bar.d.ts.map +0 -1
  198. package/docs/components/menu/api-table.md +0 -450
  199. package/docs/components/menu/applyMenuDemoStyles.js +0 -173
  200. package/docs/components/menu/extensions.md +0 -216
  201. package/docs/components/menu/index.md +0 -13
  202. package/docs/components/menu/overview.md +0 -422
  203. package/exports/define/lion-item.js +0 -3
  204. package/exports/define/lion-menu-overlay.js +0 -3
  205. package/exports/define/lion-menu.js +0 -3
  206. package/exports/define/lion-navigation-bar.js +0 -3
  207. package/exports/define/lion-toolbar.js +0 -3
  208. package/exports/define/lion-tree.js +0 -3
  209. package/exports/menu.js +0 -6
  210. package/exports/navigation-bar.js +0 -1
  211. package/menu.js +0 -6
  212. package/navigation-bar.js +0 -1
@@ -22,7 +22,6 @@ eleventyNavigation:
22
22
  | `autocomplete` | public | `string \| undefined` | `undefined` | Delegates this property to input/textarea/select. | NativeTextFieldMixin |
23
23
  | `autofocus` | public | `boolean` | `false` | | LionField |
24
24
  | `calendarHeading` | public | `string` | | The heading to be added on top of the calendar overlay.
Naming chosen from an Application Developer perspective.
For a Subclasser 'calendarOverlayHeading' would be more appropriate. | |
25
- | `config` | public | `Partial<OverlayConfig>` | `{}` | Configure the many options of the \`OverlayController\` | OverlayMixin |
26
25
  | `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. | LionField |
27
26
  | `dirty` | public | `boolean` | `false` | True when user has changed the value of the field. | LionField |
28
27
  | `disabled` | public | `boolean` | `false` | | LionField |
@@ -42,7 +41,6 @@ eleventyNavigation:
42
41
  | `labelSrOnly` | public | `boolean` | `false` | The label will only be visible for srceen readers when true | LionField |
43
42
  | `modelValue` | public | | | | LionField |
44
43
  | `name` | public | `string` | `''` | The name the element will be registered with to the .formElements collection&#xA;of the parent. Also, it serves as the key of key/value pairs in&#xA; modelValue/serializedValue objects | LionField |
45
- | `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 |
46
44
  | `operationMode` | public | `OperationMode` | | Types of input interaction of the FormControl (for instance 'enter'\|'select'\|'upload') | LionField |
47
45
  | `parser` | public | | | Converts viewValue to modelValue&#xA;For instance, a localized date to a Date Object | LionField |
48
46
  | `placeholder` | public | `string` | `''` | | LionInput |
@@ -80,11 +78,8 @@ eleventyNavigation:
80
78
  | `_isRepropagationEndpoint` | public | `boolean` | `false` | By default, a field with \_repropagationRole 'choice-group' will act as an&#xA;'endpoint'. This means it will be considered as an individual field: for&#xA;a select, individual options will not be part of the formPath. They&#xA;will.&#xA;Similarly, components that (a11y wise) need to be fieldsets, but 'interaction wise'&#xA;(from Application Developer perspective) need to be more like fields&#xA;(think of an amount-input with a currency select box next to it), can set this&#xA;to true to hide private internals in the formPath. | LionField |
81
79
  | `_labelNode` | protected | | | Element where label will be rendered to | LionField |
82
80
  | `_leaveEvent` | protected | `string` | `'blur'` | The event that triggers the touched state | LionField |
83
- | `_overlayBackdropNode` | protected | | | | OverlayMixin |
84
- | `_overlayContentNode` | protected | | | | OverlayMixin |
85
- | `_overlayContentWrapperNode` | protected | | | | OverlayMixin |
86
- | `_overlayInvokerNode` | protected | | | | OverlayMixin |
87
- | `_overlayReferenceNode` | protected | | | | OverlayMixin |
81
+ | `_overlayContentNode` | protected | | | | |
82
+ | `_overlayInvokerNode` | protected | | | | |
88
83
  | `_parentFormGroup` | protected | `FormRegistrarHost \| undefined` | `undefined` | The registrar this FormControl registers to, Usually a descendant of FormGroup or&#xA;ChoiceGroup | LionField |
89
84
  | `_repropagationRole` | public | `'child'\|'choice-group'\|'fieldset'` | `'child'` | Based on the role, details of handling model-value-changed repropagation differ. | LionField |
90
85
  | `_requestedToBeDisabled` | protected | `boolean` | `false` | | LionField |
@@ -102,7 +97,6 @@ eleventyNavigation:
102
97
  | `blur` | public | Calls \`blur()\` on focusable element within | | | LionField |
103
98
  | `clear` | public | Clears modelValue.&#xA;Interaction states are not cleared (use resetInteractionState for this) | | | LionField |
104
99
  | `click` | public | | | | LionField |
105
- | `close` | public | Hides the overlay | | | OverlayMixin |
106
100
  | `createScopedElement` | public | | `tagName` | | LionField |
107
101
  | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
108
102
  | `deserializer` | public | Converts \`.serializedValue\` to \`.modelValue\`&#xA;For instance, an iso formatted date string to a Date object | `serializedValue: string` | `?` | LionField |
@@ -110,16 +104,13 @@ eleventyNavigation:
110
104
  | `focus` | public | Calls \`focus()\` on focusable element within | | | LionField |
111
105
  | `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. | | | LionField |
112
106
  | `makeRequestToBeDisabled` | public | | | | LionField |
113
- | `open` | public | Shows the overlay | | | OverlayMixin |
114
107
  | `preprocessor` | public | Preprocessors could be considered 'live formatters'. Their result is shown to the user&#xA;on keyup instead of after blurring the field. The biggest difference between preprocessors&#xA;and formatters is their moment of execution: preprocessors are run before modelValue is&#xA;computed (and work based on view value), whereas formatters are run after the parser (and&#xA;are based on modelValue)&#xA;Automatically formats code while typing. It depends on a preprocessro that smartly&#xA;updates the viewValue and caret position for best UX. | `v: string, opts: FormatOptions & { prevViewValue: string; currentCaretIndex: number }` | `{ viewValue:string; caretIndex:number; }\|string\|undefined` | LionField |
115
108
  | `removeFromAriaDescribedBy` | public | Allows to remove element references from aria-describedby attribute. | `element: HTMLElement` | | LionField |
116
109
  | `removeFromAriaLabelledBy` | public | Allows to remove element references from aria-labelledby attribute. | `element: HTMLElement` | | LionField |
117
- | `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 |
118
110
  | `reset` | public | Resets modelValue to initial value.&#xA;Interaction states are cleared | | | LionField |
119
111
  | `resetInteractionState` | public | Resets touched and dirty, and recomputes prefilled | | | LionField |
120
112
  | `retractRequestToBeDisabled` | public | | | | LionField |
121
113
  | `serializer` | public | Converts \`.modelValue\` to \`.serializedValue\`&#xA;For instance, a Date object to an iso formatted date string | `modelValue: Date` | `string` | LionField |
122
- | `toggle` | public | Toggles the overlay | | | OverlayMixin |
123
114
  | `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: ?` | | LionField |
124
115
  | `validate` | public | Triggered by:&#xA; \- modelValue change&#xA; \- change in the 'validators' array&#xA; \- change in the config of an individual Validator&#xA;&#xA;Three situations are handled:&#xA;- a1) the FormControl is empty: further execution is halted. When the Required Validator&#xA;(being mutually exclusive to the other Validators) is applied, it will end up in the&#xA;validation result (as the only Validator, since further execution was halted).&#xA;- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't&#xA;changed since last async results were generated, 'sync results' are merged with the&#xA;'async results'.&#xA;- a3) there are asynchronous Validators: for instance when server side evaluation is needed.&#xA;Executions are scheduled and awaited and the 'async results' are merged with the&#xA;'sync results'.&#xA;&#xA;- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic&#xA;MetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)&#xA;will be run...&#xA;&#xA;Situations a2 and a3 are not mutually exclusive and can be triggered within one \`validate()\`&#xA;call. Situation b will occur after every call. | `{ clearCurrentResult = false }, opts: { clearCurrentResult?: boolean }` | | LionField |
125
116
  | `_arrowNodeTemplate` | protected | | | | ArrowMixin |
@@ -127,8 +118,7 @@ eleventyNavigation:
127
118
  | `_calculateValues` | protected | Responsible for storing all representations(modelValue, serializedValue, formattedValue&#xA;and value) of the input value. Prevents infinite loops, so all value observers can be&#xA;treated like they will only be called once, without indirectly calling other observers.&#xA;(in fact, some are called twice, but the \_\_preventRecursiveTrigger lock prevents the&#xA;second call from having effect). | `{ source }, config: {source:'model'\|'serialized'\|'formatted'\|null}` | | LionField |
128
119
  | `_calendarTemplate` | protected | Subclassers can replace this with their custom extension of&#xA;LionCalendar, like \`\<my-calendar id="calendar">\</my-calendar>\` | | | |
129
120
  | `_connectSlotMixin` | protected | | | | LionField |
130
- | `_defineOverlay` | protected | | `{ contentNode, invokerNode, referenceNode, backdropNode, contentWrapperNode }, config: DefineOverlayConfig` | `OverlayController` | OverlayMixin |
131
- | `_defineOverlayConfig` | protected | Overrides arrow and keepTogether modifier to be enabled,&#xA;and adds onCreate and onUpdate hooks to sync from popper state | | `Object` | OverlayMixin |
121
+ | `_defineOverlayConfig` | protected | Overrides arrow and keepTogether modifier to be enabled,&#xA;and adds onCreate and onUpdate hooks to sync from popper state | | `Object` | ArrowMixin |
132
122
  | `_dispatchInitialModelValueChangedEvent` | protected | | | | LionField |
133
123
  | `_dispatchModelValueChangedEvent` | protected | This is wrapped in a distinct method, so that parents can control when the changed event&#xA;is fired. For objects, a deep comparison might be needed. | `args: { modelValue: unknown; }[]` | | LionField |
134
124
  | `_enhanceLightDomA11y` | protected | | | | LionField |
@@ -150,7 +140,6 @@ eleventyNavigation:
150
140
  | `_invokerIconTemplate` | protected | Subclassers can replace this with their custom extension invoker icon | | | |
151
141
  | `_invokerTemplate` | protected | Subclassers can replace this with their custom extension invoker,&#xA;like \`\<my-button>\<calendar-icon>\</calendar-icon>\</my-button>\` | | | |
152
142
  | `_isEmpty` | protected | Used for Required validation and computation of interaction states | `modelValue: any` | `boolean` | LionField |
153
- | `_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 |
154
143
  | `_isPrivateSlot` | protected | | `slotName: string` | `boolean` | LionField |
155
144
  | `_iStateOnLeave` | protected | Sets touched value to true and reevaluates prefilled state.&#xA;When false, on next interaction, user will start with a clean state. | | | LionField |
156
145
  | `_iStateOnValueChange` | protected | Sets dirty value and validates when already touched or invalid | | | LionField |
@@ -172,14 +161,10 @@ eleventyNavigation:
172
161
  | `_reflectBackFormattedValueToUser` | protected | Note: Overrides the implementation from FormatMixin | | | LionField |
173
162
  | `_reflectBackOn` | protected | Every time .formattedValue is attempted to sync to the view value (on change/blur and on&#xA;modelValue change), this condition is checked. When enhancing it, it's recommended to&#xA;call via \`return this.\_myExtraCondition && super.\_reflectBackOn()\` | | `boolean` | LionField |
174
163
  | `_repropagationCondition` | protected | Based on provided target, this condition determines whether received model-value-changed&#xA;event should be repropagated | `target: FormControlHost` | | LionField |
175
- | `_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 |
176
- | `_setupOpenCloseListeners` | protected | | | | OverlayMixin |
177
- | `_setupOverlayCtrl` | protected | | | | OverlayMixin |
164
+ | `_setupOverlayCtrl` | protected | | | | |
178
165
  | `_setValueAndPreserveCaret` | protected | Restores the cursor to its original position after updating the value. | `newValue: string` | | NativeTextFieldMixin |
179
166
  | `_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` | | LionField |
180
167
  | `_syncValueUpwards` | protected | Synchronization from \`.\_inputNode.value\` to \`LionField\` (flow \[2])&#xA;Downwards syncing should only happen for \`LionField\`.value changes from 'above'.&#xA;This triggers \_onModelValueChanged and connects user input&#xA;to the parsing/formatting/serializing loop. | | | LionField |
181
- | `_teardownOpenCloseListeners` | protected | | | | OverlayMixin |
182
- | `_teardownOverlayCtrl` | protected | | | | OverlayMixin |
183
168
  | `_triggerInitialModelValueChangedEvent` | protected | | | | LionField |
184
169
  | `_updateFeedbackComponent` | protected | Responsible for retrieving messages from Validators and&#xA;(delegation of) rendering them.&#xA;&#xA;For \`.\_feedbackNode\` (extension of LionValidationFeedback):&#xA;- retrieve messages from highest prio Validators&#xA;- provide the result to custom feedback node and let the&#xA;custom node decide on their renderings&#xA;&#xA;In both cases:&#xA;- we compute the 'show' flag (like 'hasErrorVisible') for all types&#xA;- we set the customValidity message of the highest prio Validator&#xA;- we set aria-invalid="true" in case hasErrorVisible is true | | | LionField |
185
170
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
@@ -188,7 +173,6 @@ eleventyNavigation:
188
173
 
189
174
  | Name | Type | Description | Inherited From |
190
175
  | ------------------------------ | ------------- | -------------------------------------------------------- | -------------- |
191
- | `opened-changed` | `CustomEvent` | | OverlayMixin |
192
176
  | `model-value-changed` | `CustomEvent` | | LionField |
193
177
  | `user-input-changed` | `Event` | | LionField |
194
178
  | `focus` | `Event` | | LionField |
@@ -210,7 +194,6 @@ eleventyNavigation:
210
194
  | ------------------------------- | -------------------------- | -------------------- |
211
195
  | `calendar-heading` | calendarHeading | |
212
196
  | `has-arrow` | hasArrow | ArrowMixin |
213
- | `opened` | opened | OverlayMixin |
214
197
  | `modelValue` | modelValue | LionInputDate |
215
198
  | `autocomplete` | autocomplete | NativeTextFieldMixin |
216
199
  | `focused` | focused | LionField |
@@ -14,7 +14,7 @@ eleventyNavigation:
14
14
 
15
15
  A web component based on the date text input field. Its purpose is to provide a way for users to fill in a date with a datepicker.
16
16
  For an input field with a big range, such as `birthday-input`, a datepicker is not the best choice due to the high variance between possible inputs.
17
- We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-date/overview.md) for this.
17
+ We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-date/overview.md) for this.
18
18
 
19
19
  ```js script
20
20
  import { html } from '@mdjs/mdjs-preview';
@@ -30,11 +30,11 @@ export const main = () => {
30
30
  ## Features
31
31
 
32
32
  - Input field with a datepicker to help to choose a date
33
- - Based on our [input-date](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-date/overview.md)
34
- - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/calendar/overview.md) inside the datepicker
35
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
33
+ - Based on our [input-date](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-date/overview.md)
34
+ - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/calendar/overview.md) inside the datepicker
35
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
36
36
  - Option to overwrite locale to change the formatting and parsing
37
- - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
37
+ - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
38
38
  - IsDate (default)
39
39
  - MinDate
40
40
  - MaxDate
@@ -27,8 +27,8 @@ export const main = () => {
27
27
 
28
28
  ## Features
29
29
 
30
- - Based on our [input](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input/overview.md)
31
- - Makes use of email [validators](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
30
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md)
31
+ - Makes use of email [validators](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
32
32
  - IsEmail (default)
33
33
 
34
34
  ## Installation
@@ -27,7 +27,7 @@ export const main = () => {
27
27
 
28
28
  ## Features
29
29
 
30
- - Based on our [input](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input/overview.md)
30
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md)
31
31
  - Default labels and validation messages in different languages
32
32
  - Options for multi file upload and drop-zone.
33
33
 
@@ -28,9 +28,9 @@ export const main = () => {
28
28
 
29
29
  ## Features
30
30
 
31
- - Based on our [input](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input/overview.md)
31
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md)
32
32
  - Default label in different languages
33
- - Makes use of IBAN specific [validate](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
33
+ - Makes use of IBAN specific [validate](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
34
34
  - IsIBAN (default)
35
35
  - IsCountryIBAN
36
36
  - Parses IBANs automatically
@@ -25,11 +25,11 @@ import '@lion/ui/define/lion-input-range.js';
25
25
 
26
26
  ## Features
27
27
 
28
- - Based on our [input](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input/overview.md).
28
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md).
29
29
  - Shows `modelValue` and `unit` above the range input.
30
30
  - Shows `min` and `max` value after the range input.
31
31
  - Can hide the `min` and `max` value via `no-min-max-labels`.
32
- - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
32
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
33
33
 
34
34
  ## Installation
35
35
 
@@ -30,7 +30,7 @@ loadDefaultFeedbackMessages();
30
30
 
31
31
  ## Features
32
32
 
33
- - Based on our [input](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input/overview.md).
33
+ - Based on our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md).
34
34
  - Set `min` and `max` value to define the range.
35
35
  - Set `step` value in integer or decimal to increase and decrease the value.
36
36
  - Use `ArrowUp` or `ArrowDown` to update the value.
@@ -51,7 +51,7 @@ export const main = () => {
51
51
 
52
52
  ## Features
53
53
 
54
- - Extends our [input](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input/overview.md)
54
+ - Extends our [input](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input/overview.md)
55
55
  - Shows a mobile telephone keypad on mobile (by having a native `<input inputmode="tel">` inside)
56
56
  - Can be configured with a list of allowed region codes
57
57
  - Will be preconfigured with region derived from locale
@@ -34,7 +34,7 @@ Say we have the following telephone number from Madrid, Spain: `+34919930432`.
34
34
  It contains a [country code](https://en.wikipedia.org/wiki/Country_code) (34), an [area code](https://en.wikipedia.org/wiki/Telephone_numbering_plan#Area_code) (91) and a [dial code](https://en.wikipedia.org/wiki/Mobile_dial_code) (+34 91).
35
35
  Input Tel interprets phone numbers based on their [region code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2): a two character long region representation('ES' in the telephone number above).
36
36
 
37
- The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel/#allowed-regions) are not configured,
37
+ The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-tel/#allowed-regions) are not configured,
38
38
  all of them will be supported as values of Input Tel.
39
39
 
40
40
  ```js story
@@ -49,11 +49,11 @@ export const regionCodesTable = () => {
49
49
  The active region (accessible via readonly accessor `.activeRegion`) determines how validation and formatting
50
50
  should be applied. It is dependent on the following factors:
51
51
 
52
- - [allowed regions](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
53
- [.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
52
+ - [allowed regions](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
53
+ [.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
54
54
  - the modelValue or viewValue: once it contains sufficient info to derive its region code (and
55
- the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel/#allowed-regions) if configured)
56
- - active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel/#allowed-regions) if configured)
55
+ the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-tel/#allowed-regions) if configured)
56
+ - active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-tel/#allowed-regions) if configured)
57
57
 
58
58
  What follows from the list above is that .activeRegion can change dynamically, after a value
59
59
  change in the text box by the user (or when locales or allowed regions would be changed by the
@@ -142,7 +142,7 @@ export const heuristic = () => {
142
142
  Once it is configured, validation and formatting will be restricted to those
143
143
  values that are present in this list.
144
144
 
145
- > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel-dropdown/index.md), only allowed regions will
145
+ > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/docs/components/input-tel-dropdown/index.md), only allowed regions will
146
146
  > be shown in the dropdown list.
147
147
 
148
148
  ```js preview-story
@@ -31,7 +31,7 @@ export const main = () => {
31
31
 
32
32
  ## Features
33
33
 
34
- - Extends our [input-tel](https://github.com/ing-bank/lion/blob/0b7e90a96113c0d006ea2c744446a64a29c31306/docs/components/input-tel/overview.md)
34
+ - Extends our [input-tel](https://github.com/ing-bank/lion/blob/a44e5d9c71451f40414390901a1baaa883d896e7/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/0b7e90a96113c0d006ea2c744446a64a29c31306/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/a44e5d9c71451f40414390901a1baaa883d896e7/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/0b7e90a96113c0d006ea2c744446a64a29c31306/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/0b7e90a96113c0d006ea2c744446a64a29c31306/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/a44e5d9c71451f40414390901a1baaa883d896e7/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/a44e5d9c71451f40414390901a1baaa883d896e7/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/0b7e90a96113c0d006ea2c744446a64a29c31306/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/a44e5d9c71451f40414390901a1baaa883d896e7/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/0b7e90a96113c0d006ea2c744446a64a29c31306/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/a44e5d9c71451f40414390901a1baaa883d896e7/docs/fundamentals/systems/form/validate.md).
69
69
 
70
70
  ## Rendering and updating select options
71
71