@lion/ui 0.8.8 → 0.9.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 (98) hide show
  1. package/components/core/src/DisabledMixin.js +6 -0
  2. package/components/core/test/DisabledMixin.test.js +22 -1
  3. package/components/core/test/SlotMixin.test.js +3 -3
  4. package/components/form-core/test/FocusMixin.test.js +6 -4
  5. package/components/form-core/test-suites/NativeTextFieldMixin.suite.js +4 -8
  6. package/components/input-stepper/src/LionInputStepper.js +50 -3
  7. package/components/input-stepper/test/lion-input-stepper.test.js +60 -1
  8. package/components/input-tel-dropdown/test/LionInputTelDropdown.test.js +12 -10
  9. package/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.js +16 -12
  10. package/components/overlays/src/OverlayController.js +9 -0
  11. package/components/overlays/test/OverlayController.test.js +27 -3
  12. package/components/select-rich/test/lion-select-rich.test.js +9 -8
  13. package/components/switch/test/lion-switch.test.js +1 -1
  14. package/components/tabs/test/lion-tabs.test.js +12 -5
  15. package/custom-elements.json +471 -30
  16. package/dist-types/components/core/src/DisabledMixin.d.ts.map +1 -1
  17. package/dist-types/components/form-core/test-suites/NativeTextFieldMixin.suite.d.ts.map +1 -1
  18. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts +11 -0
  19. package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
  20. package/dist-types/components/input-tel-dropdown/test/LionInputTelDropdown.test.d.ts +2 -2
  21. package/dist-types/components/input-tel-dropdown/test/LionInputTelDropdown.test.d.ts.map +1 -1
  22. package/dist-types/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.d.ts +2 -2
  23. package/dist-types/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.d.ts.map +1 -1
  24. package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
  25. package/dist-types/components/tabs/test/lion-tabs.test.d.ts.map +1 -1
  26. package/dist-types/tsconfig.tsbuildinfo +1 -1
  27. package/docs/components/button/api-table.md +3 -0
  28. package/docs/components/checkbox-group/api-table.md +3 -0
  29. package/docs/components/checkbox-group/overview.md +2 -2
  30. package/docs/components/collapsible/overview.md +1 -1
  31. package/docs/components/combobox/api-table.md +1 -0
  32. package/docs/components/combobox/overview.md +1 -1
  33. package/docs/components/combobox/use-cases.md +1 -1
  34. package/docs/components/dialog/overview.md +1 -1
  35. package/docs/components/fieldset/api-table.md +1 -0
  36. package/docs/components/fieldset/overview.md +5 -5
  37. package/docs/components/form/overview.md +3 -3
  38. package/docs/components/form/use-cases.md +2 -2
  39. package/docs/components/icon/use-cases.md +1 -1
  40. package/docs/components/input/api-table.md +1 -0
  41. package/docs/components/input/overview.md +1 -1
  42. package/docs/components/input-amount/api-table.md +1 -0
  43. package/docs/components/input-amount/overview.md +3 -3
  44. package/docs/components/input-date/api-table.md +1 -0
  45. package/docs/components/input-date/overview.md +3 -3
  46. package/docs/components/input-datepicker/api-table.md +1 -0
  47. package/docs/components/input-datepicker/overview.md +5 -5
  48. package/docs/components/input-email/api-table.md +1 -0
  49. package/docs/components/input-email/overview.md +2 -2
  50. package/docs/components/input-file/api-table.md +1 -0
  51. package/docs/components/input-file/overview.md +1 -1
  52. package/docs/components/input-iban/api-table.md +1 -0
  53. package/docs/components/input-iban/overview.md +2 -2
  54. package/docs/components/input-range/api-table.md +1 -0
  55. package/docs/components/input-range/overview.md +2 -2
  56. package/docs/components/input-stepper/api-table.md +4 -0
  57. package/docs/components/input-stepper/overview.md +1 -1
  58. package/docs/components/input-stepper/use-cases.md +30 -0
  59. package/docs/components/input-tel/api-table.md +1 -0
  60. package/docs/components/input-tel/overview.md +1 -1
  61. package/docs/components/input-tel/use-cases.md +6 -6
  62. package/docs/components/input-tel-dropdown/api-table.md +1 -0
  63. package/docs/components/input-tel-dropdown/overview.md +1 -1
  64. package/docs/components/listbox/api-table.md +2 -0
  65. package/docs/components/listbox/use-cases.md +1 -1
  66. package/docs/components/radio-group/api-table.md +2 -0
  67. package/docs/components/radio-group/overview.md +3 -3
  68. package/docs/components/select/api-table.md +1 -0
  69. package/docs/components/select/use-cases.md +1 -1
  70. package/docs/components/select-rich/api-table.md +2 -0
  71. package/docs/components/select-rich/use-cases.md +1 -1
  72. package/docs/components/switch/api-table.md +2 -0
  73. package/docs/components/tabs/examples.md +1 -1
  74. package/docs/components/textarea/api-table.md +1 -0
  75. package/docs/fundamentals/index.md +4 -4
  76. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  77. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  78. package/docs/fundamentals/rationales/accessibility.md +1 -1
  79. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  80. package/docs/fundamentals/systems/core/overview.md +1 -1
  81. package/docs/fundamentals/systems/form/api-table.md +1 -0
  82. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  83. package/docs/fundamentals/systems/form/model-value.md +1 -1
  84. package/docs/fundamentals/systems/form/overview.md +28 -28
  85. package/docs/fundamentals/systems/form/validate.md +2 -2
  86. package/docs/fundamentals/systems/localize/overview.md +4 -4
  87. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  88. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  89. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  90. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  91. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  92. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  93. package/docs/guides/how-to/create-a-form.md +4 -4
  94. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  95. package/docs/guides/index.md +8 -8
  96. package/docs/guides/principles/index.md +5 -5
  97. package/docs/guides/principles/styling.md +1 -1
  98. package/package.json +1 -1
@@ -19,6 +19,7 @@
19
19
  | ---------------------------- | ------- | ----------- | ---------- | ------ | -------------- |
20
20
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
21
21
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
22
+ | `click` | public | | | | DisabledMixin |
22
23
 
23
24
  ### Attributes
24
25
 
@@ -54,6 +55,7 @@
54
55
  | `_teardownSubmitAndResetHelperOnDisconnected` | protected | | | | |
55
56
  | `makeRequestToBeDisabled` | public | | | | LionButton |
56
57
  | `retractRequestToBeDisabled` | public | | | | LionButton |
58
+ | `click` | public | | | | LionButton |
57
59
 
58
60
  ### Attributes
59
61
 
@@ -91,6 +93,7 @@
91
93
  | `_teardownSubmitAndResetHelperOnDisconnected` | protected | | | | LionButtonReset |
92
94
  | `makeRequestToBeDisabled` | public | | | | LionButton |
93
95
  | `retractRequestToBeDisabled` | public | | | | LionButton |
96
+ | `click` | public | | | | LionButton |
94
97
 
95
98
  ### Attributes
96
99
 
@@ -119,6 +119,7 @@
119
119
  | `_onLabelClick` | protected | | | | FormControlMixin |
120
120
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
121
121
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
122
+ | `click` | public | | | | DisabledMixin |
122
123
  | `initInteractionState` | public | Evaluations performed on connectedCallback.
This method is public, so it can be called at a later moment (when we need to wait for
registering children for instance) as well.
Since this method will be called twice in last mentioned scenario, it must stay idempotent. | | | InteractionStateMixin |
123
124
  | `_iStateOnLeave` | protected | Sets touched value to true and reevaluates prefilled state.
When false, on next interaction, user will start with a clean state. | | | InteractionStateMixin |
124
125
  | `_iStateOnValueChange` | protected | Sets dirty value and validates when already touched or invalid | | | InteractionStateMixin |
@@ -323,6 +324,7 @@
323
324
  | `_onLabelClick` | protected | | | | FormControlMixin |
324
325
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
325
326
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
327
+ | `click` | public | | | | DisabledMixin |
326
328
 
327
329
  ### Events
328
330
 
@@ -490,6 +492,7 @@
490
492
  | `_onLabelClick` | protected | | | | FormControlMixin |
491
493
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
492
494
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
495
+ | `click` | public | | | | DisabledMixin |
493
496
  | `initInteractionState` | public | Evaluations performed on connectedCallback.
This method is public, so it can be called at a later moment (when we need to wait for
registering children for instance) as well.
Since this method will be called twice in last mentioned scenario, it must stay idempotent. | | | InteractionStateMixin |
494
497
  | `_iStateOnLeave` | protected | Sets touched value to true and reevaluates prefilled state.
When false, on next interaction, user will start with a clean state. | | | InteractionStateMixin |
495
498
  | `_iStateOnValueChange` | protected | Sets dirty value and validates when already touched or invalid | | | InteractionStateMixin |
@@ -19,11 +19,11 @@ import '@lion/ui/define/lion-checkbox.js';
19
19
  </lion-checkbox-group>
20
20
  ```
21
21
 
22
- > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/form/overview.md)'s serialization result.
22
+ > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/form/overview.md)'s serialization result.
23
23
 
24
24
  ## Features
25
25
 
26
- Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/fieldset/overview.md),
26
+ Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/fieldset/overview.md),
27
27
  it has all the features a fieldset has.
28
28
 
29
29
  ## Installation
@@ -22,7 +22,7 @@ export const main = () => html`
22
22
  ## Features
23
23
 
24
24
  - Use `opened` attribute or `toggle()` method to render default open.
25
- - `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/button/overview.md) or native `button` with custom styling.
25
+ - `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/button/overview.md) or native `button` with custom styling.
26
26
  - Observe the state with the help of `@opened-changed` event.
27
27
  - `show()` and `hide()` are helper methods to hide or show the content from outside.
28
28
 
@@ -196,6 +196,7 @@
196
196
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.&#xA;Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | ValidateMixin |
197
197
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
198
198
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
199
+ | `click` | public | | | | DisabledMixin |
199
200
 
200
201
  ### Events
201
202
 
@@ -34,7 +34,7 @@ export const main = () => html`
34
34
  `;
35
35
  ```
36
36
 
37
- [...show more](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/combobox/extensions.md)
37
+ [...show more](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/combobox/extensions.md)
38
38
 
39
39
  ## Features
40
40
 
@@ -457,4 +457,4 @@ export const complexObjectChoiceValue = () =>
457
457
  ## Listbox compatibility
458
458
 
459
459
  All configurations that can be applied to `lion-listbox`, can be applied to `lion-combobox` as well.
460
- See the [listbox documentation](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/listbox/overview.md) for more information.
460
+ See the [listbox documentation](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/listbox/overview.md) for more information.
@@ -54,6 +54,6 @@ import '@lion/ui/define/lion-dialog.js';
54
54
  ## Changing the configuration
55
55
 
56
56
  You can use the `.config` property on the dialog to change the configuration.
57
- The documentation of the full config object can be found in the `overlays` folder or here in [Overlay System - Configuration](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/overlays/configuration.md).
57
+ The documentation of the full config object can be found in the `overlays` folder or here in [Overlay System - Configuration](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/overlays/configuration.md).
58
58
 
59
59
  The `config` property uses a setter to merge the passed configuration with the current, so you only **overwrite what you pass** when updating `config`.
@@ -124,6 +124,7 @@
124
124
  | `_prioritizeAndFilterFeedback` | protected | Orders all active validators in this.\_\_validationResult.&#xA;Can also filter out occurrences (based on interaction states) | `{ validationResult }, opts: { validationResult: Validator[] }` | `Validator[]` | ValidateMixin |
125
125
  | `makeRequestToBeDisabled` | public | | | | DisabledMixin |
126
126
  | `retractRequestToBeDisabled` | public | | | | DisabledMixin |
127
+ | `click` | public | | | | DisabledMixin |
127
128
 
128
129
  ### Events
129
130
 
@@ -20,9 +20,9 @@ export const main = () => html`
20
20
 
21
21
  We have three specific fieldset implementations:
22
22
 
23
- - [form](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/form/overview.md)
24
- - [checkbox-group](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/checkbox-group/overview.md)
25
- - [radio-group](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/radio-group/overview.md)
23
+ - [form](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/form/overview.md)
24
+ - [checkbox-group](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/checkbox-group/overview.md)
25
+ - [radio-group](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/radio-group/overview.md)
26
26
 
27
27
  A native fieldset element should always have a legend-element for a11y purposes.
28
28
  However, our fieldset element is not native and should not have a legend-element.
@@ -31,8 +31,8 @@ Our fieldset instead has a label attribute or you can add a label with a div- or
31
31
  ## Features
32
32
 
33
33
  - Easy retrieval of form data based on field names
34
- - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/interaction-states.md)
35
- - Can have [validate](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md) on fieldset level and shows the validation feedback below the fieldset
34
+ - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/interaction-states.md)
35
+ - Can have [validate](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md) on fieldset level and shows the validation feedback below the fieldset
36
36
  - Can disable input fields on fieldset level
37
37
  - Accessible out of the box
38
38
 
@@ -8,7 +8,7 @@ import '@lion/ui/define/lion-form.js';
8
8
  ```
9
9
 
10
10
  A web component that enhances the functionality of the native `form` component.
11
- It is designed to interact with (instances of) the [form controls](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/overview.md).
11
+ It is designed to interact with (instances of) the [form controls](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/overview.md).
12
12
 
13
13
  ```js preview-story
14
14
  export const main = () => {
@@ -37,11 +37,11 @@ export const main = () => {
37
37
  - Data synchronization with models
38
38
  - Easy retrieval of form data based on field names
39
39
  - Advanced validation possibilities
40
- - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/interaction-states.md)
40
+ - Advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/interaction-states.md)
41
41
  - Registration mechanism for form controls
42
42
  - Accessible out of the box
43
43
 
44
- For more information about fields that are designed for our `form`, please read [form system](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/overview.md).
44
+ For more information about fields that are designed for our `form`, please read [form system](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/overview.md).
45
45
 
46
46
  ## Installation
47
47
 
@@ -14,7 +14,7 @@ import '@lion/ui/define/lion-form.js';
14
14
  To submit a form, use a regular `<button>` (or `<lion-button-submit>`) somewhere inside the native `<form>`. Then, add a `submit` handler on the `<lion-form>`. You can use this event to do your own (pre-)submit logic, like getting the serialized form data and sending it to a backend API.
15
15
 
16
16
  Another example is checking if the form has errors, and focusing the first field with a validation error.
17
- To learn more about form validation, please take a look at [validate](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md).
17
+ To learn more about form validation, please take a look at [validate](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md).
18
18
 
19
19
  To fire a submit from JavaScript, select the `<lion-form>` element and call `.submit()`.
20
20
 
@@ -116,7 +116,7 @@ export const prefilledData = () => {
116
116
  };
117
117
  ```
118
118
 
119
- Learn more about [formatting and parsing](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/formatting-and-parsing.md).
119
+ Learn more about [formatting and parsing](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/formatting-and-parsing.md).
120
120
 
121
121
  ## Sub forms
122
122
 
@@ -26,7 +26,7 @@ icons.addIconResolver('lion', (iconset, name) => {
26
26
  ## Icon sets
27
27
 
28
28
  Icons are displayed using icon sets. These are collections of icons, lazily loaded on demand for performance.
29
- See the [system documentation](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/icon/overview.md) to learn more about icon sets.
29
+ See the [system documentation](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/icon/overview.md) to learn more about icon sets.
30
30
 
31
31
  ```js preview-story
32
32
  export const iconSets = () => html`
@@ -113,6 +113,7 @@
113
113
  | `_onLabelClick` | protected | | | | LionField |
114
114
  | `makeRequestToBeDisabled` | public | | | | LionField |
115
115
  | `retractRequestToBeDisabled` | public | | | | LionField |
116
+ | `click` | public | | | | LionField |
116
117
  | `__rerenderSlot` | protected | | `slotName: string` | | LionField |
117
118
  | `__appendNodes` | protected | | `{ nodes, renderParent = this, slotName }, options: @param {Node[]} options.nodes * @param {Element} [options.renderParent] It's recommended to create a render target in light dom (like <div slot=myslot>), * which can be used as a render target for most * @param {string} options.slotName For the first render, it's best to use slotName
118
119
  ` | | LionField |
@@ -23,7 +23,7 @@ export const main = () => html`<lion-input label="First Name"></lion-input>`;
23
23
  - **before**: does not have an active use case yet, but the option is in place.
24
24
  - **after**: can be used to show a currency or percentage.
25
25
  - Delegates attributes like `type`, `disabled`, `placeholder` and `readonly` to the native input.
26
- - Can make use of [validation](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md).
26
+ - Can make use of [validation](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md).
27
27
 
28
28
  ## Installation
29
29
 
@@ -121,6 +121,7 @@
121
121
  | `_onLabelClick` | protected | | | | LionField |
122
122
  | `makeRequestToBeDisabled` | public | | | | LionField |
123
123
  | `retractRequestToBeDisabled` | public | | | | LionField |
124
+ | `click` | public | | | | LionField |
124
125
  | `__rerenderSlot` | protected | | `slotName: string` | | LionField |
125
126
  | `__appendNodes` | protected | | `{ nodes, renderParent = this, slotName }, options: @param {Node[]} options.nodes * @param {Element} [options.renderParent] It's recommended to create a render target in light dom (like <div slot=myslot>), * which can be used as a render target for most * @param {string} options.slotName For the first render, it's best to use slotName
126
127
  ` | | LionField |
@@ -24,13 +24,13 @@ export const main = () => {
24
24
 
25
25
  ## Features
26
26
 
27
- - Based on our [input](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/input/overview.md)
28
- - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
27
+ - Based on our [input](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/input/overview.md)
28
+ - Makes use of [formatNumber](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/localize/numbers.md) for formatting and parsing.
29
29
  - Option to show currency as a suffix
30
30
  - Option to override locale to change the formatting and parsing
31
31
  - Option to provide additional format options overrides
32
32
  - Default label in different languages
33
- - Can make use of number specific [validators](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
33
+ - Can make use of number specific [validators](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
34
34
  - IsNumber (default)
35
35
  - MinNumber
36
36
  - MaxNumber
@@ -113,6 +113,7 @@
113
113
  | `_onLabelClick` | protected | | | | LionField |
114
114
  | `makeRequestToBeDisabled` | public | | | | LionField |
115
115
  | `retractRequestToBeDisabled` | public | | | | LionField |
116
+ | `click` | public | | | | LionField |
116
117
  | `__rerenderSlot` | protected | | `slotName: string` | | LionField |
117
118
  | `__appendNodes` | protected | | `{ nodes, renderParent = this, slotName }, options: @param {Node[]} options.nodes * @param {Element} [options.renderParent] It's recommended to create a render target in light dom (like <div slot=myslot>), * which can be used as a render target for most * @param {string} options.slotName For the first render, it's best to use slotName
118
119
  ` | | LionField |
@@ -16,11 +16,11 @@ import '@lion/ui/define/lion-input-date.js';
16
16
 
17
17
  ## Features
18
18
 
19
- - Based on our [input](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/input/overview.md)
20
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
19
+ - Based on our [input](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/input/overview.md)
20
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
21
21
  - Option to override locale to change the formatting and parsing
22
22
  - Default label in different languages
23
- - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
23
+ - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
24
24
  - IsDate (default)
25
25
  - MinDate
26
26
  - MaxDate
@@ -157,6 +157,7 @@
157
157
  | `_onLabelClick` | protected | | | | LionField |
158
158
  | `makeRequestToBeDisabled` | public | | | | LionField |
159
159
  | `retractRequestToBeDisabled` | public | | | | LionField |
160
+ | `click` | public | | | | LionField |
160
161
  | `__rerenderSlot` | protected | | `slotName: string` | | LionField |
161
162
  | `__appendNodes` | protected | | `{ nodes, renderParent = this, slotName }, options: @param {Node[]} options.nodes * @param {Element} [options.renderParent] It's recommended to create a render target in light dom (like <div slot=myslot>), * which can be used as a render target for most * @param {string} options.slotName For the first render, it's best to use slotName
162
163
  ` | | LionField |
@@ -2,7 +2,7 @@
2
2
 
3
3
  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.
4
4
  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.
5
- We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/input-date/overview.md) for this.
5
+ We encourage using our standard [input-date](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/input-date/overview.md) for this.
6
6
 
7
7
  ```js script
8
8
  import { html } from '@mdjs/mdjs-preview';
@@ -18,11 +18,11 @@ export const main = () => {
18
18
  ## Features
19
19
 
20
20
  - Input field with a datepicker to help to choose a date
21
- - Based on our [input-date](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/input-date/overview.md)
22
- - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/calendar/overview.md) inside the datepicker
23
- - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
21
+ - Based on our [input-date](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/input-date/overview.md)
22
+ - Makes use of our [calendar](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/calendar/overview.md) inside the datepicker
23
+ - Makes use of [formatDate](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/localize/dates.md) for formatting and parsing.
24
24
  - Option to overwrite locale to change the formatting and parsing
25
- - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
25
+ - Can make use of date specific [validators](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
26
26
  - IsDate (default)
27
27
  - MinDate
28
28
  - MaxDate
@@ -113,6 +113,7 @@
113
113
  | `_onLabelClick` | protected | | | | LionField |
114
114
  | `makeRequestToBeDisabled` | public | | | | LionField |
115
115
  | `retractRequestToBeDisabled` | public | | | | LionField |
116
+ | `click` | public | | | | LionField |
116
117
  | `__rerenderSlot` | protected | | `slotName: string` | | LionField |
117
118
  | `__appendNodes` | protected | | `{ nodes, renderParent = this, slotName }, options: @param {Node[]} options.nodes * @param {Element} [options.renderParent] It's recommended to create a render target in light dom (like <div slot=myslot>), * which can be used as a render target for most * @param {string} options.slotName For the first render, it's best to use slotName
118
119
  ` | | LionField |
@@ -15,8 +15,8 @@ export const main = () => {
15
15
 
16
16
  ## Features
17
17
 
18
- - Based on our [input](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/input/overview.md)
19
- - Makes use of email [validators](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
18
+ - Based on our [input](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/input/overview.md)
19
+ - Makes use of email [validators](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/fundamentals/systems/form/validate.md) with corresponding error messages in different languages
20
20
  - IsEmail (default)
21
21
 
22
22
  ## Installation
@@ -147,6 +147,7 @@
147
147
  | `_onLabelClick` | protected | | | | LionField |
148
148
  | `makeRequestToBeDisabled` | public | | | | LionField |
149
149
  | `retractRequestToBeDisabled` | public | | | | LionField |
150
+ | `click` | public | | | | LionField |
150
151
  | `__rerenderSlot` | protected | | `slotName: string` | | LionField |
151
152
  | `__appendNodes` | protected | | `{ nodes, renderParent = this, slotName }, options: @param {Node[]} options.nodes * @param {Element} [options.renderParent] It's recommended to create a render target in light dom (like <div slot=myslot>), * which can be used as a render target for most * @param {string} options.slotName For the first render, it's best to use slotName
152
153
  ` | | LionField |
@@ -15,7 +15,7 @@ export const main = () => {
15
15
 
16
16
  ## Features
17
17
 
18
- - Based on our [input](https://github.com/ing-bank/lion/blob/6d2e9975afe83256cc6ee8677841f497bd697512/docs/components/input/overview.md)
18
+ - Based on our [input](https://github.com/ing-bank/lion/blob/73ff11990b46a5f5a6020f66ab0b8ea93d3e9cb7/docs/components/input/overview.md)
19
19
  - Default labels and validation messages in different languages
20
20
  - Options for multi file upload and drop-zone.
21
21