@lion/ui 0.8.1 → 0.8.3

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 (132) hide show
  1. package/components/calendar/src/LionCalendar.js +6 -0
  2. package/components/core/src/DisabledWithTabIndexMixin.js +7 -0
  3. package/components/core/src/ScopedElementsMixin.js +58 -37
  4. package/components/core/test/ScopedElementsMixin.test.js +131 -0
  5. package/components/core/test/ssr-definitions/ScopedElementsHost.define.js +1 -0
  6. package/components/form-core/src/FormControlMixin.js +6 -0
  7. package/components/form-core/src/utils/SyncUpdatableMixin.js +7 -0
  8. package/components/form-core/src/validate/LionValidationFeedback.js +4 -2
  9. package/components/form-core/test/validate/lion-validation-feedback.test.js +12 -0
  10. package/components/icon/src/LionIcon.js +6 -0
  11. package/components/localize/src/LocalizeManager.js +258 -178
  12. package/components/overlays/src/OverlayController.js +40 -13
  13. package/components/overlays/src/OverlayMixin.js +7 -0
  14. package/components/overlays/test/OverlayController.test.js +233 -30
  15. package/components/overlays/test-helpers/mimicClick.js +2 -2
  16. package/components/progress-indicator/src/LionProgressIndicator.js +6 -0
  17. package/components/steps/src/LionStep.js +6 -0
  18. package/components/steps/src/LionSteps.js +6 -0
  19. package/components/tabs/src/LionTabs.js +6 -0
  20. package/components/tooltip/src/LionTooltip.js +6 -0
  21. package/custom-elements.json +716 -163
  22. package/dist-types/components/calendar/src/LionCalendar.d.ts +5 -0
  23. package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
  24. package/dist-types/components/core/src/DisabledWithTabIndexMixin.d.ts.map +1 -1
  25. package/dist-types/components/core/src/ScopedElementsMixin.d.ts +43 -6
  26. package/dist-types/components/core/src/ScopedElementsMixin.d.ts.map +1 -1
  27. package/dist-types/components/core/test/ScopedElementsMixin.test.d.ts +2 -0
  28. package/dist-types/components/core/test/ScopedElementsMixin.test.d.ts.map +1 -0
  29. package/dist-types/components/core/test/ssr-definitions/ScopedElementsHost.define.d.ts +2 -0
  30. package/dist-types/components/core/test/ssr-definitions/ScopedElementsHost.define.d.ts.map +1 -0
  31. package/dist-types/components/form-core/src/FormControlMixin.d.ts.map +1 -1
  32. package/dist-types/components/form-core/src/utils/SyncUpdatableMixin.d.ts.map +1 -1
  33. package/dist-types/components/form-core/src/validate/LionValidationFeedback.d.ts.map +1 -1
  34. package/dist-types/components/form-integrations/test/helpers/helpers.d.ts +3 -3
  35. package/dist-types/components/form-integrations/test/helpers/helpers.d.ts.map +1 -1
  36. package/dist-types/components/icon/src/LionIcon.d.ts +5 -0
  37. package/dist-types/components/icon/src/LionIcon.d.ts.map +1 -1
  38. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
  39. package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -1
  40. package/dist-types/components/input-file/src/LionSelectedFileList.d.ts +1 -1
  41. package/dist-types/components/localize/src/LocalizeManager.d.ts +108 -93
  42. package/dist-types/components/localize/src/LocalizeManager.d.ts.map +1 -1
  43. package/dist-types/components/overlays/src/OverlayController.d.ts +9 -5
  44. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  45. package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
  46. package/dist-types/components/overlays/test/OverlayController.test.d.ts +1 -1
  47. package/dist-types/components/overlays/test/OverlayController.test.d.ts.map +1 -1
  48. package/dist-types/components/overlays/test-helpers/mimicClick.d.ts +1 -1
  49. package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts +5 -0
  50. package/dist-types/components/progress-indicator/src/LionProgressIndicator.d.ts.map +1 -1
  51. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -1
  52. package/dist-types/components/steps/src/LionStep.d.ts +5 -0
  53. package/dist-types/components/steps/src/LionStep.d.ts.map +1 -1
  54. package/dist-types/components/steps/src/LionSteps.d.ts +5 -0
  55. package/dist-types/components/steps/src/LionSteps.d.ts.map +1 -1
  56. package/dist-types/components/switch/src/LionSwitch.d.ts +1 -1
  57. package/dist-types/components/tabs/src/LionTabs.d.ts +5 -0
  58. package/dist-types/components/tabs/src/LionTabs.d.ts.map +1 -1
  59. package/dist-types/components/tooltip/src/LionTooltip.d.ts +5 -0
  60. package/dist-types/components/tooltip/src/LionTooltip.d.ts.map +1 -1
  61. package/dist-types/tsconfig.tsbuildinfo +1 -1
  62. package/docs/components/checkbox-group/overview.md +2 -2
  63. package/docs/components/collapsible/overview.md +1 -1
  64. package/docs/components/combobox/overview.md +1 -1
  65. package/docs/components/combobox/use-cases.md +1 -1
  66. package/docs/components/dialog/overview.md +1 -1
  67. package/docs/components/fieldset/overview.md +5 -5
  68. package/docs/components/form/overview.md +3 -3
  69. package/docs/components/icon/use-cases.md +1 -1
  70. package/docs/components/input/api-table.md +1 -1
  71. package/docs/components/input/overview.md +1 -1
  72. package/docs/components/input-amount/api-table.md +1 -1
  73. package/docs/components/input-amount/overview.md +3 -3
  74. package/docs/components/input-date/api-table.md +1 -1
  75. package/docs/components/input-date/overview.md +3 -3
  76. package/docs/components/input-datepicker/api-table.md +1 -1
  77. package/docs/components/input-datepicker/overview.md +5 -5
  78. package/docs/components/input-email/api-table.md +1 -1
  79. package/docs/components/input-email/overview.md +2 -2
  80. package/docs/components/input-file/api-table.md +1 -1
  81. package/docs/components/input-file/overview.md +1 -1
  82. package/docs/components/input-iban/api-table.md +1 -1
  83. package/docs/components/input-iban/overview.md +2 -2
  84. package/docs/components/input-range/api-table.md +1 -1
  85. package/docs/components/input-range/overview.md +2 -2
  86. package/docs/components/input-stepper/api-table.md +1 -1
  87. package/docs/components/input-stepper/overview.md +1 -1
  88. package/docs/components/input-tel/api-table.md +1 -1
  89. package/docs/components/input-tel/overview.md +1 -1
  90. package/docs/components/input-tel/use-cases.md +6 -6
  91. package/docs/components/input-tel-dropdown/api-table.md +1 -1
  92. package/docs/components/input-tel-dropdown/overview.md +1 -1
  93. package/docs/components/listbox/use-cases.md +1 -1
  94. package/docs/components/radio-group/api-table.md +1 -1
  95. package/docs/components/radio-group/overview.md +3 -3
  96. package/docs/components/select/api-table.md +1 -1
  97. package/docs/components/select/use-cases.md +1 -1
  98. package/docs/components/select-rich/api-table.md +1 -1
  99. package/docs/components/select-rich/use-cases.md +1 -1
  100. package/docs/components/switch/api-table.md +1 -1
  101. package/docs/components/tabs/examples.md +1 -1
  102. package/docs/components/textarea/api-table.md +1 -1
  103. package/docs/fundamentals/index.md +4 -4
  104. package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
  105. package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
  106. package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
  107. package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
  108. package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
  109. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  110. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  111. package/docs/fundamentals/rationales/accessibility.md +1 -1
  112. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  113. package/docs/fundamentals/systems/core/overview.md +1 -1
  114. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  115. package/docs/fundamentals/systems/form/model-value.md +1 -1
  116. package/docs/fundamentals/systems/form/overview.md +28 -28
  117. package/docs/fundamentals/systems/form/validate.md +2 -2
  118. package/docs/fundamentals/systems/localize/api-table.md +38 -37
  119. package/docs/fundamentals/systems/localize/overview.md +4 -4
  120. package/docs/fundamentals/systems/overlays/api-table.md +1 -0
  121. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  122. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  123. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  124. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  125. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  126. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  127. package/docs/guides/how-to/create-a-form.md +4 -4
  128. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  129. package/docs/guides/index.md +8 -8
  130. package/docs/guides/principles/index.md +5 -5
  131. package/docs/guides/principles/styling.md +1 -1
  132. package/package.json +1 -1
@@ -148,7 +148,7 @@
148
148
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
149
149
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.
Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | LionField |
150
150
  | `createScopedElement` | public | | `tagName` | | LionField |
151
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
151
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
152
152
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
153
153
  | `reset` | public | Resets modelValue to initial value.
Interaction states are cleared | | | LionField |
154
154
  | `clear` | public | Clears modelValue.
Interaction states are not cleared (use resetInteractionState for this) | | | LionField |
@@ -18,7 +18,7 @@ loadDefaultFeedbackMessages();
18
18
 
19
19
  ## Features
20
20
 
21
- - Based on our [input](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input/overview.md).
21
+ - Based on our [input](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input/overview.md).
22
22
  - Set `min` and `max` value to define the range.
23
23
  - Set `step` value in integer or decimal to increase and decrease the value.
24
24
  - Use `ArrowUp` or `ArrowDown` to update the value.
@@ -146,7 +146,7 @@
146
146
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
147
147
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.
Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | LionField |
148
148
  | `createScopedElement` | public | | `tagName` | | LionField |
149
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
149
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
150
150
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
151
151
  | `reset` | public | Resets modelValue to initial value.
Interaction states are cleared | | | LionField |
152
152
  | `clear` | public | Clears modelValue.
Interaction states are not cleared (use resetInteractionState for this) | | | LionField |
@@ -39,7 +39,7 @@ export const main = () => {
39
39
 
40
40
  ## Features
41
41
 
42
- - Extends our [input](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input/overview.md)
42
+ - Extends our [input](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input/overview.md)
43
43
  - Shows a mobile telephone keypad on mobile (by having a native `<input inputmode="tel">` inside)
44
44
  - Can be configured with a list of allowed region codes
45
45
  - Will be preconfigured with region derived from locale
@@ -22,7 +22,7 @@ Say we have the following telephone number from Madrid, Spain: `+34919930432`.
22
22
  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).
23
23
  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).
24
24
 
25
- The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel/#allowed-regions) are not configured,
25
+ The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel/#allowed-regions) are not configured,
26
26
  all of them will be supported as values of Input Tel.
27
27
 
28
28
  ```js story
@@ -37,11 +37,11 @@ export const regionCodesTable = () => {
37
37
  The active region (accessible via readonly accessor `.activeRegion`) determines how validation and formatting
38
38
  should be applied. It is dependent on the following factors:
39
39
 
40
- - [allowed regions](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
41
- [.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
40
+ - [allowed regions](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
41
+ [.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
42
42
  - the modelValue or viewValue: once it contains sufficient info to derive its region code (and
43
- the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel/#allowed-regions) if configured)
44
- - active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel/#allowed-regions) if configured)
43
+ the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel/#allowed-regions) if configured)
44
+ - active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel/#allowed-regions) if configured)
45
45
 
46
46
  What follows from the list above is that .activeRegion can change dynamically, after a value
47
47
  change in the text box by the user (or when locales or allowed regions would be changed by the
@@ -130,7 +130,7 @@ export const heuristic = () => {
130
130
  Once it is configured, validation and formatting will be restricted to those
131
131
  values that are present in this list.
132
132
 
133
- > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel-dropdown/index.md), only allowed regions will
133
+ > Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel-dropdown/index.md), only allowed regions will
134
134
  > be shown in the dropdown list.
135
135
 
136
136
  ```js preview-story
@@ -153,7 +153,7 @@
153
153
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
154
154
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.&#xA;Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | LionField |
155
155
  | `createScopedElement` | public | | `tagName` | | LionField |
156
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
156
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
157
157
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
158
158
  | `reset` | public | Resets modelValue to initial value.&#xA;Interaction states are cleared | | | LionField |
159
159
  | `clear` | public | Clears modelValue.&#xA;Interaction states are not cleared (use resetInteractionState for this) | | | LionField |
@@ -19,7 +19,7 @@ export const main = () => {
19
19
 
20
20
  ## Features
21
21
 
22
- - Extends our [input-tel](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/input-tel/overview.md)
22
+ - Extends our [input-tel](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/input-tel/overview.md)
23
23
  - Shows dropdown list with all possible regions
24
24
  - Shows only allowed regions in dropdown list when .allowedRegions is configured
25
25
  - Highlights regions on top of dropdown list when .preferredRegions is configured
@@ -139,4 +139,4 @@ Navigation will skip over disabled options. Let's disable Artichoke and Brussel
139
139
 
140
140
  ## Validation
141
141
 
142
- 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/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/systems/form/validate.md).
142
+ 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/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/systems/form/validate.md).
@@ -144,7 +144,7 @@
144
144
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
145
145
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.&#xA;Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | LionField |
146
146
  | `createScopedElement` | public | | `tagName` | | LionField |
147
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
147
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
148
148
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
149
149
  | `reset` | public | Resets modelValue to initial value.&#xA;Interaction states are cleared | | | LionField |
150
150
  | `_onChange` | protected | Dispatches custom bubble event | `ev: Event=` | | LionField |
@@ -20,12 +20,12 @@ export const main = () => html`
20
20
  `;
21
21
  ```
22
22
 
23
- - Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/form/overview.md)'s serialization result.
24
- - If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/select/overview.md) instead.
23
+ - Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/form/overview.md)'s serialization result.
24
+ - If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/select/overview.md) instead.
25
25
 
26
26
  ## Features
27
27
 
28
- Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/fieldset/overview.md), it has all the features a fieldset has.
28
+ Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/fieldset/overview.md), it has all the features a fieldset has.
29
29
 
30
30
  - Get or set the checked value of the group:
31
31
  - modelValue (default) - `checkedValue()`
@@ -132,7 +132,7 @@
132
132
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
133
133
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.&#xA;Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | LionField |
134
134
  | `createScopedElement` | public | | `tagName` | | LionField |
135
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
135
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
136
136
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
137
137
  | `reset` | public | Resets modelValue to initial value.&#xA;Interaction states are cleared | | | LionField |
138
138
  | `clear` | public | Clears modelValue.&#xA;Interaction states are not cleared (use resetInteractionState for this) | | | LionField |
@@ -53,4 +53,4 @@ Or by setting the `disabled` attribute on the entire `lion-select` field.
53
53
 
54
54
  ## Validation
55
55
 
56
- 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/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/systems/form/validate.md).
56
+ 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/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/systems/form/validate.md).
@@ -154,7 +154,7 @@
154
154
  | `_connectSlotMixin` | protected | | | | LionListbox |
155
155
  | `_isPrivateSlot` | protected | | `slotName: string` | `boolean` | LionListbox |
156
156
  | `createScopedElement` | public | | `tagName` | | LionListbox |
157
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionListbox |
157
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionListbox |
158
158
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionListbox |
159
159
  | `_defineOverlay` | protected | | `{ contentNode, invokerNode, referenceNode, backdropNode, contentWrapperNode }, config: DefineOverlayConfig` | `OverlayController` | OverlayMixin |
160
160
  | `_setupOpenCloseListeners` | protected | | | | OverlayMixin |
@@ -302,7 +302,7 @@ LionSelectRich will give it acces to:
302
302
  - LionSelectRich itself, via `.hostElement`
303
303
 
304
304
  Code of an advanced custom invoker is shown below (this is the code for the
305
- invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/components/select-rich/examples.md)).
305
+ invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/components/select-rich/examples.md)).
306
306
  The invoker is usually added in the invoker slot of the LionSelectRich subclass.
307
307
  However, it would also be possible for an application developer to provide the invoker
308
308
  by putting it in light dom:
@@ -70,7 +70,7 @@
70
70
  | `_syncButtonSwitch` | protected | | | | |
71
71
  | `_onLabelClick` | protected | | | | LionField |
72
72
  | `createScopedElement` | public | | `tagName` | | LionField |
73
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
73
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
74
74
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
75
75
  | `_choiceGraphicTemplate` | protected | | | | ChoiceInputMixin |
76
76
  | `_afterTemplate` | protected | | | | ChoiceInputMixin |
@@ -9,7 +9,7 @@ import './src/lea-tab-panel.js';
9
9
 
10
10
  ## Lea Tabs
11
11
 
12
- Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/blog/ing-open-sources-lion.md).
12
+ Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/blog/ing-open-sources-lion.md).
13
13
 
14
14
  ```js preview-story
15
15
  export const main = () => html`
@@ -140,7 +140,7 @@
140
140
  | `_updateShouldShowFeedbackFor` | protected | | | | LionField |
141
141
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.&#xA;Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | LionField |
142
142
  | `createScopedElement` | public | | `tagName` | | LionField |
143
- | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, klass: typeof HTMLElement` | | LionField |
143
+ | `defineScopedElement` | public | Defines a scoped element. | `tagName: string, classToBeRegistered: typeof HTMLElement` | | LionField |
144
144
  | `attachShadow` | public | | `options: ShadowRootInit` | `ShadowRoot` | LionField |
145
145
  | `reset` | public | Resets modelValue to initial value.&#xA;Interaction states are cleared | | | LionField |
146
146
  | `clear` | public | Clears modelValue.&#xA;Interaction states are not cleared (use resetInteractionState for this) | | | LionField |
@@ -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/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/systems/core/overview.md) <br>
12
+ 1. [Systems](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/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/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/tools/helpers/overview.md) <br>
14
+ 2. [Tools](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/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/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md) <br>
16
+ 3. [Node Tools](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/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/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/rationales/side-effects.md) <br>
18
+ 4. [Rationales](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/rationales/side-effects.md) <br>
19
19
  The reasoning behind some of our decisions.
@@ -45,7 +45,7 @@ export default {
45
45
  ### referenceCollections
46
46
 
47
47
  A list of file system paths. They can be defined relative from the current project root or they can be full paths.
48
- When a [MatchAnalyzer](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/analyzer.md) like `match-imports` or `match-subclasses` is used, the default reference(s) can be configured here. For instance: ['/path/to/@lion/ui/form.js']
48
+ When a [MatchAnalyzer](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/analyzer.md) like `match-imports` or `match-subclasses` is used, the default reference(s) can be configured here. For instance: ['/path/to/@lion/ui/form.js']
49
49
 
50
50
  An example:
51
51
 
@@ -108,4 +108,4 @@ QueryOutput structure could be simplified in the future.
108
108
 
109
109
  The output files stored in the file system always need to be machine independent:
110
110
  this means that all machine specific information, like a complete filepath, needs to be removed from a QueryOutput (paths relative from project root are still allowed).
111
- In that way, the caching mechanism (based on hash comparisons) as described in [Analyzer](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/analyzer.md) is guaranteed to work across different machines.
111
+ In that way, the caching mechanism (based on hash comparisons) as described in [Analyzer](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/analyzer.md) is guaranteed to work across different machines.
@@ -7,7 +7,7 @@ A few examples are:
7
7
  - find-exports
8
8
  - match-imports
9
9
 
10
- An analyzer will give back a [QueryResult](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) that will be written to the file system by Providence.
10
+ An analyzer will give back a [QueryResult](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) that will be written to the file system by Providence.
11
11
  All analyzers need to extend from the `Analyzer` base class, found in `src/program/analyzers/helpers`.
12
12
 
13
13
  ## Public api
@@ -1,6 +1,6 @@
1
1
  # Node Tools >> Providence Analytics >> Dashboard ||30
2
2
 
3
- An interactive overview of all aggregated [QueryResults](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) can be found in the dashboard.
3
+ An interactive overview of all aggregated [QueryResults](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/QueryResult.md) can be found in the dashboard.
4
4
  The dashboard is a small nodejs server (based on es-dev-server + middleware) and a frontend
5
5
  application.
6
6
 
@@ -47,7 +47,7 @@ npm i --save-dev providence-analytics
47
47
  You are now ready to use providence in your project. All
48
48
  data will be stored in json files in the folder `./providence-output`
49
49
 
50
- ![CLI](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/assets/provicli.gif 'CLI')
50
+ ![CLI](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/assets/provicli.gif 'CLI')
51
51
 
52
52
  ## Setup: Dashboard
53
53
 
@@ -76,7 +76,7 @@ export default {
76
76
 
77
77
  Run `npm run providence:dashboard`
78
78
 
79
- ![dashboard](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/assets/providash.gif 'dashboard')
79
+ ![dashboard](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/assets/providash.gif 'dashboard')
80
80
 
81
81
  ## Setup: about result output
82
82
 
@@ -153,7 +153,7 @@ Now you will get a list of all predefined analyzers:
153
153
  - match-subclasses
154
154
  - etc...
155
155
 
156
- ![Analyzer query](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/providence-analytics/assets/analyzer-query.gif 'Analyzer query')
156
+ ![Analyzer query](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/providence-analytics/assets/analyzer-query.gif 'Analyzer query')
157
157
 
158
158
  <!--
159
159
  ## Running providence from its own repo
@@ -31,7 +31,7 @@ For a Mono Repository
31
31
  ```md
32
32
  # My Pkg
33
33
 
34
- [=> See Source <=](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/docs/deep/dir/overview.md)
34
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/docs/deep/dir/overview.md)
35
35
  ```
36
36
 
37
37
  ## CLI flags
@@ -61,7 +61,7 @@ Bring the `overview.md` in a docs folder along.
61
61
  👉 `packages/[my-package]/docs/overview.md`
62
62
 
63
63
  ```md
64
- [=> See Source <=](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/docs/deep/dir/overview.md)
64
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/docs/deep/dir/overview.md)
65
65
  ```
66
66
 
67
67
  Add a `use-cases.md`
@@ -69,7 +69,7 @@ Add a `use-cases.md`
69
69
  👉 `packages/[my-package]/docs/use-cases.md`
70
70
 
71
71
  ```md
72
- [=> See Source <=](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/docs/deep/dir/use-cases.md)
72
+ [=> See Source <=](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/docs/deep/dir/use-cases.md)
73
73
  ```
74
74
 
75
75
  So you will end up with something like this in your package.
@@ -7,7 +7,7 @@ To do this automatically you can use this preset for [rocket](https://rocket.mod
7
7
 
8
8
  ## Features
9
9
 
10
- - Import lion documentation and adjust it using [remark-extend](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/remark-extend/overview.md)
10
+ - Import lion documentation and adjust it using [remark-extend](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/remark-extend/overview.md)
11
11
  - Renames named imports and all it's usage
12
12
  - Adjusts import paths
13
13
  - Replace tags in template literals
@@ -38,7 +38,7 @@ export default {
38
38
 
39
39
  ## Reusing documentation
40
40
 
41
- To take an existing documentation you can "import" it using [remark-extend](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/node-tools/remark-extend/overview.md).
41
+ To take an existing documentation you can "import" it using [remark-extend](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/node-tools/remark-extend/overview.md).
42
42
 
43
43
  As an example you can create `docs/components/tabs/overview.md`.
44
44
 
@@ -25,4 +25,4 @@ Internally, we delegate all intricacies involved in managing light dom to SlotMi
25
25
  SlotMixin automatically mediates between light dom provided by the user ('public slots') and light dom provided by the component author ('private slots').
26
26
  Also, SlotMixin allows to hook into the reactive update loop of LitElement (automatically rerendering on property changes) and it automatically respects
27
27
  the scoped registry belonging to the shadow root.
28
- More details about SlotMixin can be found in the [SlotMixin documentation](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/systems/core/SlotMixin.md)
28
+ More details about SlotMixin can be found in the [SlotMixin documentation](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/systems/core/SlotMixin.md)
@@ -152,4 +152,4 @@ This will make sure that the slot provided by the user always takes precedence a
152
152
 
153
153
  ### Default slot
154
154
 
155
- As can be seen in the example of [SlotFunctionResults](https://github.com/ing-bank/lion/blob/16681c85e3813fa8dbb91ffcd834466493832d03/docs/fundamentals/systems/core/#slotfunctionresults), '' can be used to add content to the default slot
155
+ As can be seen in the example of [SlotFunctionResults](https://github.com/ing-bank/lion/blob/f393e6d78309aee14ce17034ded5f563dcf84197/docs/fundamentals/systems/core/#slotfunctionresults), '' can be used to add content to the default slot