@lion/ui 0.11.2 → 0.11.4

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 (56) hide show
  1. package/components/combobox/src/LionCombobox.js +1 -3
  2. package/components/combobox/test/lion-combobox.test.js +51 -0
  3. package/components/form-core/src/FormControlMixin.js +2 -2
  4. package/components/form-core/test/FormControlMixin.test.js +10 -2
  5. package/custom-elements.json +93 -81
  6. package/dist-types/components/combobox/src/LionCombobox.d.ts.map +1 -1
  7. package/dist-types/tsconfig.tsbuildinfo +1 -1
  8. package/docs/components/checkbox-group/overview.md +2 -2
  9. package/docs/components/collapsible/overview.md +1 -1
  10. package/docs/components/combobox/overview.md +1 -1
  11. package/docs/components/combobox/use-cases.md +1 -1
  12. package/docs/components/dialog/overview.md +1 -1
  13. package/docs/components/fieldset/overview.md +5 -5
  14. package/docs/components/form/overview.md +3 -3
  15. package/docs/components/form/use-cases.md +2 -2
  16. package/docs/components/icon/use-cases.md +1 -1
  17. package/docs/components/input/overview.md +1 -1
  18. package/docs/components/input-amount/overview.md +3 -3
  19. package/docs/components/input-date/overview.md +3 -3
  20. package/docs/components/input-datepicker/overview.md +5 -5
  21. package/docs/components/input-email/overview.md +2 -2
  22. package/docs/components/input-file/overview.md +1 -1
  23. package/docs/components/input-iban/overview.md +2 -2
  24. package/docs/components/input-range/overview.md +2 -2
  25. package/docs/components/input-stepper/overview.md +1 -1
  26. package/docs/components/input-tel/overview.md +1 -1
  27. package/docs/components/input-tel/use-cases.md +6 -6
  28. package/docs/components/input-tel-dropdown/overview.md +1 -1
  29. package/docs/components/listbox/use-cases.md +1 -1
  30. package/docs/components/radio-group/overview.md +3 -3
  31. package/docs/components/select/use-cases.md +1 -1
  32. package/docs/components/select-rich/use-cases.md +1 -1
  33. package/docs/components/tabs/examples.md +1 -1
  34. package/docs/fundamentals/index.md +4 -4
  35. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  36. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  37. package/docs/fundamentals/rationales/accessibility.md +1 -1
  38. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  39. package/docs/fundamentals/systems/core/overview.md +1 -1
  40. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  41. package/docs/fundamentals/systems/form/model-value.md +1 -1
  42. package/docs/fundamentals/systems/form/overview.md +28 -28
  43. package/docs/fundamentals/systems/form/validate.md +2 -2
  44. package/docs/fundamentals/systems/localize/overview.md +4 -4
  45. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  46. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  47. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  48. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  49. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  50. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  51. package/docs/guides/how-to/create-a-form.md +4 -4
  52. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  53. package/docs/guides/index.md +8 -8
  54. package/docs/guides/principles/index.md +5 -5
  55. package/docs/guides/principles/styling.md +1 -1
  56. package/package.json +1 -1
@@ -33,9 +33,9 @@ Fields (think of an input, textarea, select) are the actual form controls the en
33
33
 
34
34
  On top of this, they feature:
35
35
 
36
- - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
37
- - Advanced [validation](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/validate.md) possibilities.
38
- - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/interaction-states.md).
36
+ - [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
37
+ - Advanced [validation](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/validate.md) possibilities.
38
+ - Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/interaction-states.md).
39
39
  - Provision of labels and help texts in an easy, declarative manner.
40
40
  - Accessibility out of the box.
41
41
  - Advanced styling possibilities: map your own Design System to the internal HTML structure.
@@ -44,33 +44,33 @@ On top of this, they feature:
44
44
 
45
45
  ### Platform fields (wrappers)
46
46
 
47
- - [LionInput](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input/overview.md), a wrapper for `<input>`.
48
- - [LionTextarea](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
49
- - [LionSelect](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/select/overview.md), a wrapper for `<select>`.
47
+ - [LionInput](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input/overview.md), a wrapper for `<input>`.
48
+ - [LionTextarea](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
49
+ - [LionSelect](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/select/overview.md), a wrapper for `<select>`.
50
50
 
51
51
  ### Custom fields (wrappers)
52
52
 
53
- Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
53
+ Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
54
54
 
55
- - [LionCombobox](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/combobox/overview.md), a custom implementation of a combobox.
56
- - [LionDate](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
57
- - [LionDatepicker](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
58
- - [LionListbox](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/listbox/overview.md), a custom implementation of a listbox.
59
- - [LionInputAmount](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
60
- - [LionInputEmail](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
61
- - [LionInputIban](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
62
- - [LionInputRange](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
63
- - [LionInputStepper](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
64
- - [LionSelectRich](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
55
+ - [LionCombobox](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/combobox/overview.md), a custom implementation of a combobox.
56
+ - [LionDate](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
57
+ - [LionDatepicker](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
58
+ - [LionListbox](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/listbox/overview.md), a custom implementation of a listbox.
59
+ - [LionInputAmount](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
60
+ - [LionInputEmail](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
61
+ - [LionInputIban](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
62
+ - [LionInputRange](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
63
+ - [LionInputStepper](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
64
+ - [LionSelectRich](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
65
65
 
66
66
  ### Choice Input Fields
67
67
 
68
68
  For form controls which return a `checked-state` you can use the `lion-choice-input` mixin. It is used in:
69
69
 
70
- - [LionCheckbox](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
70
+ - [LionCheckbox](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
71
71
  - LionOption, an alternative for `<option>`.
72
- - [LionRadio](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
73
- - [LionSwitch](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/switch/overview.md), a custom implementation of a switch.
72
+ - [LionRadio](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
73
+ - [LionSwitch](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/switch/overview.md), a custom implementation of a switch.
74
74
 
75
75
  Which contains the following features:
76
76
 
@@ -82,14 +82,14 @@ Which contains the following features:
82
82
 
83
83
  Fieldsets are groups of fields. They can be considered fields on their own as well, since they partly share the normalized API via `FormControlMixin`. Fieldsets are the basis for:
84
84
 
85
- - [LionFieldset](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
86
- - [LionForm](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
87
- - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
88
- - [LionRadioGroup](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
85
+ - [LionFieldset](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
86
+ - [LionForm](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
87
+ - [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
88
+ - [LionRadioGroup](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
89
89
 
90
90
  ## Other Resources
91
91
 
92
- - [Model Value](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/model-value.md)
93
- - [Formatting and parsing](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/formatting-and-parsing.md)
94
- - [Interaction states](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/interaction-states.md)
95
- - [Validation System](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/validate.md)
92
+ - [Model Value](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/model-value.md)
93
+ - [Formatting and parsing](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/formatting-and-parsing.md)
94
+ - [Interaction states](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/interaction-states.md)
95
+ - [Validation System](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/validate.md)
@@ -70,7 +70,7 @@ Validation happens on every change of `modelValue`. A change in modelValue can b
70
70
 
71
71
  ## When validation feedback will be shown
72
72
 
73
- Although validation happens realtime under the hood, displaying validity feedback in realtime may not always lead to the desired User Experience. Together with [interaction states](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/interaction-states.md),
73
+ Although validation happens realtime under the hood, displaying validity feedback in realtime may not always lead to the desired User Experience. Together with [interaction states](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/interaction-states.md),
74
74
  validity states can determine whether a validation message should be shown along the input field.
75
75
 
76
76
  ## Assessing field validation state programmatically
@@ -245,7 +245,7 @@ export const requiredValidator = () => html`
245
245
  `;
246
246
  ```
247
247
 
248
- The default `Required` validation message is "Please, enter a(n) {fieldName}". In which the "fieldName" can be provided separately via the `fieldName` attribute, with a fallback to the label. See [override fieldname](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/#override-fieldname) for more information.
248
+ The default `Required` validation message is "Please, enter a(n) {fieldName}". In which the "fieldName" can be provided separately via the `fieldName` attribute, with a fallback to the label. See [override fieldname](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/#override-fieldname) for more information.
249
249
 
250
250
  Specific required messages for a select and file-upload are created.
251
251
 
@@ -22,15 +22,15 @@ In it's simplest form it is a function that returns the translated text for a na
22
22
  - Formatting of numbers, amounts
23
23
  - Formatting of dates
24
24
 
25
- Further examples and a more in depth description can be found at the [Use Cases Page](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/localize/use-cases.md).
25
+ Further examples and a more in depth description can be found at the [Use Cases Page](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/localize/use-cases.md).
26
26
 
27
27
  ## Content
28
28
 
29
29
  | Feature | Description |
30
30
  | ---------------------------------------- | --------------------------------------------- |
31
- | [Translate Text](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/localize/text.md) | Load and translate text in multiple languages |
32
- | [Format Numbers](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/localize/numbers.md) | Format numbers in multiple languages |
33
- | [Format Dates](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/localize/dates.md) | Format dates in multiple languages |
31
+ | [Translate Text](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/localize/text.md) | Load and translate text in multiple languages |
32
+ | [Format Numbers](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/localize/numbers.md) | Format numbers in multiple languages |
33
+ | [Format Dates](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/localize/dates.md) | Format dates in multiple languages |
34
34
 
35
35
  ## Installation
36
36
 
@@ -112,7 +112,7 @@ export const alertDialog = () => {
112
112
 
113
113
  ## isTooltip (placementMode: 'local')
114
114
 
115
- As specified in the [overlay rationale](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/rationale.md) there are only two official types of overlays: dialogs and tooltips. And their main differences are:
115
+ As specified in the [overlay rationale](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/rationale.md) there are only two official types of overlays: dialogs and tooltips. And their main differences are:
116
116
 
117
117
  - Dialogs have a modal option, tooltips don’t
118
118
  - Dialogs have interactive content, tooltips don’t
@@ -443,7 +443,7 @@ Features:
443
443
 
444
444
  > Popper strictly is scoped on positioning. **It does not change the dimensions of the content node nor the invoker node**.
445
445
  > This also means that if you use the arrow feature, you are in charge of styling it properly, use the data-popper-placement attribute for this.
446
- > An example implementation can be found in [lion-tooltip](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/tooltip/overview.md), where an arrow is set by default.
446
+ > An example implementation can be found in [lion-tooltip](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/tooltip/overview.md), where an arrow is set by default.
447
447
 
448
448
  To override the default options we set for local mode, you add a `popperConfig` object to the config passed to the OverlayController.
449
449
  Here's a succinct overview of some often used popper properties:
@@ -19,7 +19,7 @@ Manages their position on the screen relative to other elements, including other
19
19
 
20
20
  Its purpose is to make it easy to use our Overlay System declaratively. It can be easily extended where needed, to override event listeners and more.
21
21
 
22
- See [lion-dialog](../../../components/dialog/overview.md) and [lion-tooltip](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/tooltip/overview.md) for example Web Component implementations using the Overlay System.
22
+ See [lion-dialog](../../../components/dialog/overview.md) and [lion-tooltip](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/tooltip/overview.md) for example Web Component implementations using the Overlay System.
23
23
 
24
24
  ## Features
25
25
 
@@ -31,9 +31,9 @@ See [lion-dialog](../../../components/dialog/overview.md) and [lion-tooltip](htt
31
31
  - lion-overlay web component:
32
32
  - Show content when clicking the invoker
33
33
  - Have a `.config` object to set or update the OverlayController's configuration
34
- - [**OverlaysManager**](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/use-cases.md#overlaysmanager), a global repository keeping track of all different types of overlays
35
- - [**OverlayController**](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/use-cases.md#overlaycontroller), a single controller class for handling overlays
36
- - [**OverlayMixin**](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/use-cases.md#overlaymixin), a mixin that can be used to create webcomponents that use the OverlayController under the hood
34
+ - [**OverlaysManager**](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/use-cases.md#overlaysmanager), a global repository keeping track of all different types of overlays
35
+ - [**OverlayController**](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/use-cases.md#overlaycontroller), a single controller class for handling overlays
36
+ - [**OverlayMixin**](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/use-cases.md#overlaymixin), a mixin that can be used to create webcomponents that use the OverlayController under the hood
37
37
 
38
38
  Usually you will use `lion-dialog` (or `lion-tooltip` if this makes more sense).
39
39
 
@@ -123,4 +123,4 @@ class MyOverlayComponent extends OverlayMixin(LitElement) {
123
123
 
124
124
  ## Rationales
125
125
 
126
- Please check the [system rationals](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/rationale.md) folder, where we go more in-depth.
126
+ Please check the [system rationals](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/rationale.md) folder, where we go more in-depth.
@@ -34,7 +34,7 @@ The overlay system allows to create different types of overlays like dialogs, to
34
34
  It's designed to be highly flexible, while still delivering sensible defaults.
35
35
  On top of this, the system was built having accessibility in mind.
36
36
 
37
- For a detailed rationale, please consult [Rationale](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/rationale.md).
37
+ For a detailed rationale, please consult [Rationale](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/rationale.md).
38
38
 
39
39
  ```js preview-story
40
40
  export const main = () => html`
@@ -82,7 +82,7 @@ Global refers to overlays where the content is positioned in a global root node
82
82
 
83
83
  Overlays can be configured in many ways to suit your needs. We go in-depth into each option in the Overlay System - Configuration chapter.
84
84
 
85
- We also export a few [preset configuration objects](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/overlays/configuration.md).
85
+ We also export a few [preset configuration objects](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/overlays/configuration.md).
86
86
 
87
87
  - withModalDialogConfig
88
88
  - withDropdownConfig
@@ -22,7 +22,7 @@ Therefore, they may not have the same quality standards as our other packages.
22
22
 
23
23
  | Package | Description |
24
24
  | -------------------------------------- | ----------------------- |
25
- | [sb-action-logger](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/tools/helpers/action-logger.md) | Storybook action logger |
25
+ | [sb-action-logger](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/tools/helpers/action-logger.md) | Storybook action logger |
26
26
 
27
27
  ## Installation
28
28
 
@@ -22,7 +22,7 @@ Primarily useful if two major version of a package with a singleton is used.
22
22
  npm i --save singleton-manager
23
23
  ```
24
24
 
25
- ⚠️ You need to make SURE that only ONE version of `singleton-manager` is installed. For how see [Non Goals](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/tools/singleton-manager/#non-goals).
25
+ ⚠️ You need to make SURE that only ONE version of `singleton-manager` is installed. For how see [Non Goals](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/tools/singleton-manager/#non-goals).
26
26
 
27
27
  ### Example Singleton Users
28
28
 
@@ -172,7 +172,7 @@ Steps to reproduce:
172
172
  1. Page A click on block
173
173
  2. Page B => "Blocked: false" (even when hitting the refresh button)
174
174
 
175
- ➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/tools/singleton-manager/example-fail/index.md). <br>
175
+ ➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/tools/singleton-manager/example-fail/index.md). <br>
176
176
  ➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/fundamentals/tools/singleton-manager/example-fail/demo-app.js).
177
177
 
178
178
  ---
@@ -215,7 +215,7 @@ See it in action
215
215
  npm run start:singleton
216
216
  ```
217
217
 
218
- ➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/tools/singleton-manager/example-success/index.md). <br>
218
+ ➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/tools/singleton-manager/example-success/index.md). <br>
219
219
  ➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/fundamentals/tools/singleton-manager/example-success/demo-app.js).
220
220
 
221
221
  ---
@@ -256,7 +256,7 @@ See it in action
256
256
  npm run start:singleton-complex
257
257
  ```
258
258
 
259
- ➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/tools/singleton-manager/example-complex/index.md). <br>
259
+ ➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/tools/singleton-manager/example-complex/index.md). <br>
260
260
  ➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/fundamentals/tools/singleton-manager/example-complex/demo-app.js).
261
261
 
262
262
  ---
@@ -87,9 +87,9 @@ if (!customElements.get('dummy-slider')) {
87
87
  }
88
88
  ```
89
89
 
90
- Custom Fields can be created in just a few steps. All you need is an interaction element (like for instance a slider, a listbox or a combobox) and connect it to the [LionField](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input/overview.md).
90
+ Custom Fields can be created in just a few steps. All you need is an interaction element (like for instance a slider, a listbox or a combobox) and connect it to the [LionField](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input/overview.md).
91
91
 
92
- > In case you want to extend a native element, follow [Extend a native Input](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/extend-a-native-input.md).
92
+ > In case you want to extend a native element, follow [Extend a native Input](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/extend-a-native-input.md).
93
93
 
94
94
  ## A) an interaction element
95
95
 
@@ -138,7 +138,7 @@ export const createAnInteractiveElement = () => {
138
138
  ## B) your LionField extension
139
139
 
140
140
  Now we want to integrate the slider in our form system to enrich the user interface, get
141
- validation support and all other [benefits of LionField](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input/overview.md).
141
+ validation support and all other [benefits of LionField](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input/overview.md).
142
142
  We start by creating a component `<slider-field>` that extends from `LionField`.
143
143
  Then we follow the steps below:
144
144
 
@@ -151,7 +151,7 @@ Then we follow the steps below:
151
151
 
152
152
  The `user-input-changed` event is listened to by the FormatMixin: it should be regarded as the
153
153
  equivalent of the `input` event of the platform, but for custom built interaction elements.
154
- You now synchronized [modelValue](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/model-value.md), which can be regarded as
154
+ You now synchronized [modelValue](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/model-value.md), which can be regarded as
155
155
  the glue to integrate all other functionality like parsing/formatting/serializing, validating,
156
156
  tracking interaction states etc.
157
157
 
@@ -159,7 +159,7 @@ Then we follow the steps below:
159
159
  > because those properties will lose their reactivity (they won't be considered anymore in the
160
160
  > update loop of LitElement).
161
161
  > Whenever a .modelValue/.formattedValue/.serializedValue needs to be computed, use
162
- > [parser/formatter/serializer](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/systems/form/formatting-and-parsing.md)
162
+ > [parser/formatter/serializer](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/systems/form/formatting-and-parsing.md)
163
163
 
164
164
  Implement with the following code:
165
165
 
@@ -39,7 +39,7 @@ Large or complex forms might need to be split up into multiple files. This compo
39
39
 
40
40
  In the latter case: make sure that your components don't have a shadow root. This can be achieved by rendering into Light DOM. The form registration mechanism relies on light dom by design: as soon as you do start to use shadow roots, you will notice that your form components won't register themselves anymore to their parents.
41
41
 
42
- > Today, rendering to light dom is the only way to [stay accessible](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/fundamentals/rationales/accessibility.md#shadow-roots-and-accessibility).
42
+ > Today, rendering to light dom is the only way to [stay accessible](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/fundamentals/rationales/accessibility.md#shadow-roots-and-accessibility).
43
43
 
44
44
  ### Example of a component that renders into Light DOM
45
45
 
@@ -86,7 +86,7 @@ Extending form components is not recommended for Application Developers: it shou
86
86
  This team will add the styling and default configuration needed to make it fit the particular Design System.
87
87
 
88
88
  With the toolbox provided by the team that creates your Design System, you should be able to build all your forms. Only if you have a really good reason, look into
89
- [exceptional cases](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/#exceptional-cases) below.
89
+ [exceptional cases](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/#exceptional-cases) below.
90
90
 
91
91
  ### Exceptional cases
92
92
 
@@ -94,8 +94,8 @@ If the form component you need is still missing, you have two options:
94
94
 
95
95
  - is it a generic primitive that should be part of Lion? Request it in [Lion discussions](https://github.com/ing-bank/lion/discussions)
96
96
  - is it a non generic component that is unique to your app?
97
- - follow [create a custom field](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/create-a-custom-field.md)
98
- - follow [extend a native input](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/extend-a-native-input.md)
97
+ - follow [create a custom field](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/create-a-custom-field.md)
98
+ - follow [extend a native input](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/extend-a-native-input.md)
99
99
 
100
100
  It's also possible to extend other components, like LionListbox or LionCombobox. You need to be aware that you're building on top of protected apis.
101
101
  Changing/overriding functionality is only recommended if the source code in `form-core` is fully understood.
@@ -23,9 +23,9 @@ import '../../fundamentals/systems/form/assets/h-output.js';
23
23
  loadDefaultFeedbackMessages();
24
24
  ```
25
25
 
26
- Input fields can be created by extending [LionInput](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/components/input/overview.md).
26
+ Input fields can be created by extending [LionInput](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/components/input/overview.md).
27
27
 
28
- > In case you want to wrap a custom form element, follow [Create a custom Field](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/create-a-custom-field.md).
28
+ > In case you want to wrap a custom form element, follow [Create a custom Field](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/create-a-custom-field.md).
29
29
 
30
30
  For this tutorial, we create an input that wraps native `input[type=datetime-local]`.
31
31
  This is as simple as adding a type:
@@ -22,9 +22,9 @@ Developers consuming our web components inside an application (not extending the
22
22
  `Application Developers` are only allowed to interact with `public` properties and methods.
23
23
  Can be abbreviated as `AD`. Sometimes also called `Consuming Developer`.
24
24
 
25
- - [Definitions and Terms](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/definitions-and-terms.md)
26
- - [Styling](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/styling.md)
27
- - [Scoped Elements](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/scoped-elements.md)
25
+ - [Definitions and Terms](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/definitions-and-terms.md)
26
+ - [Styling](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/styling.md)
27
+ - [Scoped Elements](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/scoped-elements.md)
28
28
 
29
29
  ## Extending Developer
30
30
 
@@ -32,13 +32,13 @@ Developers extending our web components, for instance: `class MaterialInput exte
32
32
 
33
33
  Especially for subclassers we have some extra documentation:
34
34
 
35
- - [Subclasser APIs](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/subclasser-apis.md)
36
- - [Extend documentation](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/blog/extending-documentation.md)
35
+ - [Subclasser APIs](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/subclasser-apis.md)
36
+ - [Extend documentation](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/blog/extending-documentation.md)
37
37
 
38
38
  ## How To
39
39
 
40
40
  Next to that we have some specific "How To" documentations.
41
41
 
42
- - [Get started](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/get-started.md)
43
- - [Create a custom field](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/create-a-custom-field.md)
44
- - [Extend a native input](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/how-to/extend-a-native-input.md)
42
+ - [Get started](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/get-started.md)
43
+ - [Create a custom field](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/create-a-custom-field.md)
44
+ - [Extend a native input](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/how-to/extend-a-native-input.md)
@@ -22,9 +22,9 @@ Developers consuming our web components inside an application (not extending the
22
22
  `Application Developers` are only allowed to interact with `public` properties and methods.
23
23
  Can be abbreviated as `AD`. Sometimes also called `Consuming Developer`.
24
24
 
25
- - [Definitions and Terms](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/definitions-and-terms.md)
26
- - [Styling](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/styling.md)
27
- - [Scoped Elements](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/scoped-elements.md)
25
+ - [Definitions and Terms](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/definitions-and-terms.md)
26
+ - [Styling](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/styling.md)
27
+ - [Scoped Elements](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/scoped-elements.md)
28
28
 
29
29
  ## Extending Developer
30
30
 
@@ -32,5 +32,5 @@ Developers extending our web components, for instance: `class MaterialInput exte
32
32
 
33
33
  Especially for subclassers we have some extra documentation:
34
34
 
35
- - [Subclasser APIs](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/subclasser-apis.md)
36
- - [Extend documentation](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/blog/extending-documentation.md)
35
+ - [Subclasser APIs](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/subclasser-apis.md)
36
+ - [Extend documentation](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/blog/extending-documentation.md)
@@ -31,7 +31,7 @@ Examples for both categories can be found below:
31
31
  - Accessibility examples:
32
32
  - Content (for instance a caption in a table) can be `visually hidden`: it will be
33
33
  readable by screen readers, but invisible for end users.
34
- - When an html table is used, we allow [subclassers](https://github.com/ing-bank/lion/blob/87a1cb4d5bec301af6688be2c7bf778344d2ae42/docs/guides/principles/subclasser-apis.md) to override the display property (`table-cell`) to `flex`. By putting the proper accessible roles (`role="cell"`) in the markup, we guarantee our markup stays accessible.
34
+ - When an html table is used, we allow [subclassers](https://github.com/ing-bank/lion/blob/6d7e6a6487f7998391d3d5e112fd78477c3a8ebc/docs/guides/principles/subclasser-apis.md) to override the display property (`table-cell`) to `flex`. By putting the proper accessible roles (`role="cell"`) in the markup, we guarantee our markup stays accessible.
35
35
 
36
36
  Although Lion components try to stay as unbiased as possible with regard to styling, defaults will be needed. In these cases we try to follow the platform as much as possible. If the platform doesn't provide defaults, the largest common denominator across existing UI systems is taken as a lead.
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lion/ui",
3
- "version": "0.11.2",
3
+ "version": "0.11.4",
4
4
  "description": "A package of extendable web components",
5
5
  "license": "MIT",
6
6
  "author": "ing-bank",