@lion/ui 0.11.0 → 0.11.1
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.
- package/README.md +2 -2
- package/components/checkbox-group/src/LionCheckboxIndeterminate.js +39 -16
- package/components/checkbox-group/test-suites/CheckboxIndeterminate.suite.js +189 -1
- package/components/form-core/src/FocusMixin.js +4 -4
- package/components/form-core/src/LionField.js +1 -1
- package/components/localize/types/LocalizeMixinTypes.ts +0 -5
- package/components/select-rich/src/LionSelectRich.js +1 -1
- package/components/select-rich/test/lion-select-rich.test.js +13 -1
- package/custom-elements.json +47661 -47626
- package/dist-types/components/checkbox-group/src/LionCheckboxIndeterminate.d.ts +10 -0
- package/dist-types/components/checkbox-group/src/LionCheckboxIndeterminate.d.ts.map +1 -1
- package/dist-types/components/checkbox-group/test-suites/CheckboxIndeterminate.suite.d.ts.map +1 -1
- package/dist-types/components/localize/types/LocalizeMixinTypes.d.ts +0 -4
- package/dist-types/components/localize/types/LocalizeMixinTypes.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/accordion/api-table.md +6 -6
- package/docs/components/button/api-table.md +27 -30
- package/docs/components/calendar/api-table.md +13 -13
- package/docs/components/checkbox-group/api-table.md +305 -329
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/api-table.md +5 -5
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/api-table.md +150 -154
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/api-table.md +12 -12
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/drawer/api-table.md +9 -10
- package/docs/components/fieldset/api-table.md +104 -118
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -2
- package/docs/components/icon/api-table.md +3 -3
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/api-table.md +110 -120
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/api-table.md +129 -142
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/api-table.md +110 -120
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/api-table.md +148 -160
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/api-table.md +110 -120
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/api-table.md +132 -143
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/api-table.md +110 -120
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/api-table.md +116 -126
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/api-table.md +123 -133
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/api-table.md +118 -128
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/api-table.md +125 -135
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/api-table.md +126 -131
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/pagination/api-table.md +5 -5
- package/docs/components/progress-indicator/api-table.md +9 -10
- package/docs/components/radio-group/api-table.md +234 -258
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/api-table.md +106 -116
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/api-table.md +169 -178
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/steps/api-table.md +6 -6
- package/docs/components/switch/api-table.md +117 -128
- package/docs/components/tabs/api-table.md +1 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/components/textarea/api-table.md +114 -124
- package/docs/components/tooltip/api-table.md +13 -13
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/api-table.md +8 -11
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/api-table.md +77 -82
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/api-table.md +19 -19
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/api-table.md +45 -46
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/package.json +1 -1
|
@@ -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/
|
|
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/593b753f0f99acb36ea6009677bc7fdda9184184/docs/fundamentals/systems/form/validate.md).
|
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
|
|
7
7
|
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
8
8
|
| --------- | ------- | -------- | ------- | ----------- | -------------- |
|
|
9
|
-
| `current` | public | `number` | `1` | | |
|
|
10
9
|
| `count` | public | `number` | `0` | | |
|
|
10
|
+
| `current` | public | `number` | `1` | | |
|
|
11
11
|
|
|
12
12
|
### Methods
|
|
13
13
|
|
|
14
14
|
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
15
15
|
| ------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ------------------ | -------------- |
|
|
16
|
-
| `next` | public | Go next in pagination | | | |
|
|
17
16
|
| `first` | public | Go to first page | | | |
|
|
18
|
-
| `last` | public | Go to the last page | | | |
|
|
19
17
|
| `goto` | public | Go to the specific page | `pageNumber: number` | | |
|
|
18
|
+
| `last` | public | Go to the last page | | | |
|
|
19
|
+
| `next` | public | Go next in pagination | | | |
|
|
20
20
|
| `previous` | public | Go back in pagination | | | |
|
|
21
|
-
| `_prevNextIconTemplate` | protected | Get previous or next button template.
This method can be overridden to apply customized template in wrapper. | `label: String` | `TemplateResult` | |
|
|
22
|
-
| `_prevNextButtonTemplate` | protected | Get next or previous button template.
This method can be overridden to apply customized template in wrapper. | `label: String, pageNumber: Number, namespace: String` | `TemplateResult` | |
|
|
23
21
|
| `_disabledButtonTemplate` | protected | Get disabled button template.
This method can be overridden to apply customized template in wrapper. | `label: String` | `TemplateResult` | |
|
|
22
|
+
| `_prevNextButtonTemplate` | protected | Get next or previous button template.
This method can be overridden to apply customized template in wrapper. | `label: String, pageNumber: Number, namespace: String` | `TemplateResult` | |
|
|
23
|
+
| `_prevNextIconTemplate` | protected | Get previous or next button template.
This method can be overridden to apply customized template in wrapper. | `label: String` | `TemplateResult` | |
|
|
24
24
|
| `_renderNavList` | protected | Render navigation list | | `TemplateResult[]` | |
|
|
25
25
|
|
|
26
26
|
### Attributes
|
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
### Fields
|
|
6
6
|
|
|
7
|
-
| Name
|
|
8
|
-
|
|
|
9
|
-
| `indeterminate`
|
|
10
|
-
| `
|
|
11
|
-
| `
|
|
12
|
-
| `
|
|
13
|
-
| `
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
16
|
-
| `__hasDefaultLabelSet` | protected | `boolean` | `false` | | |
|
|
7
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
8
|
+
| --------------------- | --------- | --------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- |
|
|
9
|
+
| `indeterminate` | public | `boolean` | | | |
|
|
10
|
+
| `max` | public | `number` | `100` | | |
|
|
11
|
+
| `min` | public | `number` | `0` | | |
|
|
12
|
+
| `value` | public | `number` | `0` | | |
|
|
13
|
+
| `_ariaLabel` | public | `string` | `''` | | |
|
|
14
|
+
| `_ariaLabelledby` | public | `string` | `''` | | |
|
|
15
|
+
| `_progressPercentage` | protected | | | In case of a determinate progress-indicator it returns the progress percentage
based on value, min & max.
Could be used for styling inside the \_graphicTemplate | |
|
|
17
16
|
|
|
18
17
|
### Methods
|
|
19
18
|
|