@statistikzh/leu 0.6.0 → 0.8.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.
- package/.eslintrc.json +4 -1
- package/CHANGELOG.md +30 -0
- package/dist/Accordion.d.ts +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/Breadcrumb.d.ts +1 -1
- package/dist/Breadcrumb.d.ts.map +1 -1
- package/dist/Breadcrumb.js +3 -1
- package/dist/{Button-9692e403.d.ts → Button-3adfb3ed.d.ts} +2 -2
- package/dist/Button-3adfb3ed.d.ts.map +1 -0
- package/dist/{Button-9692e403.js → Button-3adfb3ed.js} +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.d.ts +1 -1
- package/dist/ButtonGroup.d.ts.map +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.d.ts.map +1 -1
- package/dist/Checkbox.js +3 -1
- package/dist/CheckboxGroup.d.ts +3 -2
- package/dist/CheckboxGroup.d.ts.map +1 -1
- package/dist/CheckboxGroup.js +6 -3
- package/dist/Chip.d.ts +1 -1
- package/dist/Chip.d.ts.map +1 -1
- package/dist/Chip.js +19 -17
- package/dist/ChipGroup.d.ts +8 -2
- package/dist/ChipGroup.d.ts.map +1 -1
- package/dist/ChipGroup.js +32 -5
- package/dist/ChipLink.js +1 -1
- package/dist/ChipRemovable.d.ts +7 -0
- package/dist/ChipRemovable.d.ts.map +1 -1
- package/dist/ChipRemovable.js +23 -3
- package/dist/ChipSelectable.d.ts +9 -1
- package/dist/ChipSelectable.d.ts.map +1 -1
- package/dist/ChipSelectable.js +23 -11
- package/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/Icon.d.ts +98 -2
- package/dist/Icon.d.ts.map +1 -1
- package/dist/Icon.js +1 -1
- package/dist/Input.d.ts +7 -2
- package/dist/Input.d.ts.map +1 -1
- package/dist/Input.js +16 -3
- package/dist/{LeuElement-6de6f209.d.ts → LeuElement-a20c5fd6.d.ts} +2 -2
- package/dist/LeuElement-a20c5fd6.d.ts.map +1 -0
- package/dist/LeuElement-a20c5fd6.js +52 -0
- package/dist/Menu.d.ts +2 -2
- package/dist/Menu.js +1 -1
- package/dist/MenuItem.d.ts +2 -2
- package/dist/MenuItem.js +4 -4
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/Popup.d.ts +1 -1
- package/dist/Popup.d.ts.map +1 -1
- package/dist/Popup.js +3 -1
- package/dist/Radio.d.ts +1 -1
- package/dist/Radio.d.ts.map +1 -1
- package/dist/Radio.js +3 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.d.ts.map +1 -1
- package/dist/RadioGroup.js +22 -10
- package/dist/ScrollTop.d.ts +1 -1
- package/dist/ScrollTop.js +2 -2
- package/dist/Select.d.ts +1 -1
- package/dist/Select.d.ts.map +1 -1
- package/dist/Select.js +4 -2
- package/dist/Table.d.ts +1 -1
- package/dist/Table.d.ts.map +1 -1
- package/dist/Table.js +4 -3
- package/dist/VisuallyHidden.d.ts +1 -1
- package/dist/VisuallyHidden.d.ts.map +1 -1
- package/dist/VisuallyHidden.js +5 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/leu-accordion.js +1 -1
- package/dist/leu-breadcrumb.js +1 -1
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.d.ts +1 -1
- package/dist/leu-button.js +2 -2
- package/dist/leu-checkbox-group.js +1 -1
- package/dist/leu-checkbox.js +1 -1
- package/dist/leu-chip-group.js +1 -1
- package/dist/leu-chip-link.js +1 -1
- package/dist/leu-chip-removable.js +1 -1
- package/dist/leu-chip-selectable.js +1 -1
- package/dist/leu-dropdown.js +2 -2
- package/dist/leu-icon.js +1 -1
- package/dist/leu-input.js +1 -1
- package/dist/leu-menu-item.js +1 -1
- package/dist/leu-menu.js +1 -1
- package/dist/leu-pagination.js +2 -2
- package/dist/leu-popup.js +1 -1
- package/dist/leu-radio-group.js +1 -1
- package/dist/leu-radio.js +1 -1
- package/dist/leu-scroll-top.js +2 -2
- package/dist/leu-select.js +2 -2
- package/dist/leu-table.js +2 -2
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +32 -8
- package/dist/vue/index.d.ts +29 -9
- package/dist/web-types.json +236 -235
- package/package.json +4 -3
- package/rollup.config.js +9 -0
- package/src/components/checkbox/CheckboxGroup.js +3 -2
- package/src/components/checkbox/stories/checkbox-group.stories.js +3 -3
- package/src/components/chip/ChipGroup.js +28 -4
- package/src/components/chip/ChipRemovable.js +18 -0
- package/src/components/chip/ChipSelectable.js +24 -10
- package/src/components/chip/chip.css +16 -16
- package/src/components/chip/stories/chip-group.stories.js +6 -9
- package/src/components/chip/stories/chip-removable.stories.js +6 -2
- package/src/components/chip/stories/chip-selectable.stories.js +1 -1
- package/src/components/chip/test/chip-group.test.js +67 -0
- package/src/components/chip/test/chip-removable.test.js +36 -2
- package/src/components/chip/test/chip-selectable.test.js +18 -8
- package/src/components/input/Input.js +14 -1
- package/src/components/input/stories/input.stories.js +3 -3
- package/src/components/input/test/input.test.js +20 -0
- package/src/components/menu/MenuItem.js +1 -1
- package/src/components/menu/menu-item.css +2 -2
- package/src/components/radio/RadioGroup.js +15 -11
- package/src/components/radio/stories/radio-group.stories.js +3 -3
- package/src/lib/LeuElement.js +19 -11
- package/dist/Button-9692e403.d.ts.map +0 -1
- package/dist/LeuElement-6de6f209.d.ts.map +0 -1
- package/dist/LeuElement-6de6f209.js +0 -43
package/dist/VisuallyHidden.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { _ as _defineProperty, L as LeuElement } from './LeuElement-
|
|
1
|
+
import { _ as _defineProperty, L as LeuElement } from './LeuElement-a20c5fd6.js';
|
|
2
2
|
import { css, html } from 'lit';
|
|
3
3
|
|
|
4
4
|
var css_248z = css`:host {
|
|
5
|
+
margin: -1px !important;
|
|
6
|
+
padding: 0 !important;
|
|
7
|
+
}
|
|
8
|
+
:host {
|
|
5
9
|
clip: rect(0 0 0 0);
|
|
6
10
|
border: 0;
|
|
7
11
|
height: 1px;
|
|
8
|
-
margin: -1px !important;
|
|
9
12
|
overflow: hidden;
|
|
10
|
-
padding: 0 !important;
|
|
11
13
|
position: absolute;
|
|
12
14
|
width: 1px;
|
|
13
15
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export { LeuChipLink } from "./ChipLink.js";
|
|
|
8
8
|
export { LeuChipRemovable } from "./ChipRemovable.js";
|
|
9
9
|
export { LeuChipSelectable } from "./ChipSelectable.js";
|
|
10
10
|
export { LeuDropdown } from "./Dropdown.js";
|
|
11
|
-
export { LeuInput } from "./Input.js";
|
|
12
11
|
export { LeuMenu } from "./Menu.js";
|
|
13
12
|
export { LeuMenuItem } from "./MenuItem.js";
|
|
14
13
|
export { LeuPagination } from "./Pagination.js";
|
|
@@ -17,5 +16,6 @@ export { LeuRadio } from "./Radio.js";
|
|
|
17
16
|
export { LeuRadioGroup } from "./RadioGroup.js";
|
|
18
17
|
export { LeuSelect } from "./Select.js";
|
|
19
18
|
export { LeuTable } from "./Table.js";
|
|
20
|
-
export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from "./Button-
|
|
19
|
+
export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from "./Button-3adfb3ed.js";
|
|
20
|
+
export { LeuInput, SIZES } from "./Input.js";
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { LeuAccordion } from './Accordion.js';
|
|
2
2
|
export { LeuBreadcrumb } from './Breadcrumb.js';
|
|
3
|
-
export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from './Button-
|
|
3
|
+
export { c as BUTTON_EXPANDED_OPTIONS, a as BUTTON_SIZES, b as BUTTON_TYPES, B as BUTTON_VARIANTS, L as LeuButton } from './Button-3adfb3ed.js';
|
|
4
4
|
export { LeuButtonGroup } from './ButtonGroup.js';
|
|
5
5
|
export { LeuCheckbox } from './Checkbox.js';
|
|
6
6
|
export { LeuCheckboxGroup } from './CheckboxGroup.js';
|
|
@@ -9,7 +9,7 @@ export { LeuChipLink } from './ChipLink.js';
|
|
|
9
9
|
export { LeuChipRemovable } from './ChipRemovable.js';
|
|
10
10
|
export { LeuChipSelectable } from './ChipSelectable.js';
|
|
11
11
|
export { LeuDropdown } from './Dropdown.js';
|
|
12
|
-
export { LeuInput } from './Input.js';
|
|
12
|
+
export { LeuInput, SIZES } from './Input.js';
|
|
13
13
|
export { LeuMenu } from './Menu.js';
|
|
14
14
|
export { LeuMenuItem } from './MenuItem.js';
|
|
15
15
|
export { LeuPagination } from './Pagination.js';
|
|
@@ -18,7 +18,7 @@ export { LeuRadio } from './Radio.js';
|
|
|
18
18
|
export { LeuRadioGroup } from './RadioGroup.js';
|
|
19
19
|
export { LeuSelect } from './Select.js';
|
|
20
20
|
export { LeuTable } from './Table.js';
|
|
21
|
-
import './LeuElement-
|
|
21
|
+
import './LeuElement-a20c5fd6.js';
|
|
22
22
|
import 'lit';
|
|
23
23
|
import 'lit/static-html.js';
|
|
24
24
|
import 'lit/directives/ref.js';
|
package/dist/leu-accordion.js
CHANGED
package/dist/leu-breadcrumb.js
CHANGED
package/dist/leu-button-group.js
CHANGED
package/dist/leu-button.d.ts
CHANGED
package/dist/leu-button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LeuButton } from './Button-
|
|
2
|
-
import './LeuElement-
|
|
1
|
+
import { L as LeuButton } from './Button-3adfb3ed.js';
|
|
2
|
+
import './LeuElement-a20c5fd6.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
5
|
import 'lit/directives/if-defined.js';
|
package/dist/leu-checkbox.js
CHANGED
package/dist/leu-chip-group.js
CHANGED
package/dist/leu-chip-link.js
CHANGED
package/dist/leu-dropdown.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LeuDropdown } from './Dropdown.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-a20c5fd6.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/ref.js';
|
|
5
|
-
import './Button-
|
|
5
|
+
import './Button-3adfb3ed.js';
|
|
6
6
|
import 'lit/directives/class-map.js';
|
|
7
7
|
import 'lit/directives/if-defined.js';
|
|
8
8
|
import './Icon.js';
|
package/dist/leu-icon.js
CHANGED
package/dist/leu-input.js
CHANGED
package/dist/leu-menu-item.js
CHANGED
package/dist/leu-menu.js
CHANGED
package/dist/leu-pagination.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LeuPagination } from './Pagination.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-a20c5fd6.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/live.js';
|
|
5
|
-
import './Button-
|
|
5
|
+
import './Button-3adfb3ed.js';
|
|
6
6
|
import 'lit/directives/class-map.js';
|
|
7
7
|
import 'lit/directives/if-defined.js';
|
|
8
8
|
import './Icon.js';
|
package/dist/leu-popup.js
CHANGED
package/dist/leu-radio-group.js
CHANGED
package/dist/leu-radio.js
CHANGED
package/dist/leu-scroll-top.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LeuScrollTop } from './ScrollTop.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-a20c5fd6.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
|
-
import './Button-
|
|
5
|
+
import './Button-3adfb3ed.js';
|
|
6
6
|
import 'lit/directives/if-defined.js';
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './utils-65469421.js';
|
package/dist/leu-select.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LeuSelect } from './Select.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-a20c5fd6.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
5
|
import 'lit/directives/ref.js';
|
|
6
6
|
import 'lit/directives/if-defined.js';
|
|
7
|
-
import './Button-
|
|
7
|
+
import './Button-3adfb3ed.js';
|
|
8
8
|
import './Icon.js';
|
|
9
9
|
import './Menu.js';
|
|
10
10
|
import './MenuItem.js';
|
package/dist/leu-table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LeuTable } from './Table.js';
|
|
2
|
-
import './LeuElement-
|
|
2
|
+
import './LeuElement-a20c5fd6.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit/directives/class-map.js';
|
|
5
5
|
import 'lit/directives/style-map.js';
|
|
@@ -7,7 +7,7 @@ import 'lit/directives/ref.js';
|
|
|
7
7
|
import './Icon.js';
|
|
8
8
|
import './Pagination.js';
|
|
9
9
|
import 'lit/directives/live.js';
|
|
10
|
-
import './Button-
|
|
10
|
+
import './Button-3adfb3ed.js';
|
|
11
11
|
import 'lit/directives/if-defined.js';
|
|
12
12
|
import './VisuallyHidden.js';
|
|
13
13
|
|
|
@@ -141,7 +141,10 @@
|
|
|
141
141
|
"name": "leu-checkbox-group",
|
|
142
142
|
"description": "\n---\n",
|
|
143
143
|
"attributes": [
|
|
144
|
-
{
|
|
144
|
+
{
|
|
145
|
+
"name": "orientation",
|
|
146
|
+
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
147
|
+
},
|
|
145
148
|
{ "name": "label", "values": [] }
|
|
146
149
|
],
|
|
147
150
|
"references": [
|
|
@@ -178,6 +181,7 @@
|
|
|
178
181
|
"name": "leu-chip-link",
|
|
179
182
|
"description": "\n---\n\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
180
183
|
"attributes": [
|
|
184
|
+
{ "name": "", "values": [] },
|
|
181
185
|
{
|
|
182
186
|
"name": "size",
|
|
183
187
|
"description": "The size of the chip",
|
|
@@ -195,8 +199,16 @@
|
|
|
195
199
|
},
|
|
196
200
|
{
|
|
197
201
|
"name": "leu-chip-removable",
|
|
198
|
-
"description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
199
|
-
"attributes": [
|
|
202
|
+
"description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Methods:**\n - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
203
|
+
"attributes": [
|
|
204
|
+
{ "name": "", "values": [] },
|
|
205
|
+
{
|
|
206
|
+
"name": "value",
|
|
207
|
+
"description": "The value of the chip.",
|
|
208
|
+
"values": []
|
|
209
|
+
},
|
|
210
|
+
{ "name": "inverted", "values": [] }
|
|
211
|
+
],
|
|
200
212
|
"references": [
|
|
201
213
|
{
|
|
202
214
|
"name": "Documentation",
|
|
@@ -206,8 +218,9 @@
|
|
|
206
218
|
},
|
|
207
219
|
{
|
|
208
220
|
"name": "leu-chip-selectable",
|
|
209
|
-
"description": "A chip component that can be selected.\n---\n\n\n### **Events:**\n - **input
|
|
221
|
+
"description": "A chip component that can be selected.\n---\n\n\n### **Events:**\n - **input** - undefined\n\n### **Methods:**\n - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
210
222
|
"attributes": [
|
|
223
|
+
{ "name": "", "values": [] },
|
|
211
224
|
{
|
|
212
225
|
"name": "size",
|
|
213
226
|
"description": "The size of the chip. Not supported for radio variant.",
|
|
@@ -218,8 +231,16 @@
|
|
|
218
231
|
"description": "`toggle` or `radio`. Determines if only one or multiple chips can be selected.",
|
|
219
232
|
"values": [{ "name": "keyof typeof VARIANTS" }]
|
|
220
233
|
},
|
|
221
|
-
{
|
|
222
|
-
|
|
234
|
+
{
|
|
235
|
+
"name": "checked",
|
|
236
|
+
"description": "Whether the chip is selected.",
|
|
237
|
+
"values": []
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "value",
|
|
241
|
+
"description": "The value of the chip.",
|
|
242
|
+
"values": []
|
|
243
|
+
},
|
|
223
244
|
{ "name": "inverted", "values": [] }
|
|
224
245
|
],
|
|
225
246
|
"references": [
|
|
@@ -434,7 +455,7 @@
|
|
|
434
455
|
},
|
|
435
456
|
{
|
|
436
457
|
"name": "leu-pagination",
|
|
437
|
-
"description": "\n---\n\n\n### **Events:**\n - **leu:pagechange**",
|
|
458
|
+
"description": "\n---\n\n\n### **Events:**\n - **leu:pagechange** - undefined",
|
|
438
459
|
"attributes": [
|
|
439
460
|
{ "name": "defaultPage", "values": [] },
|
|
440
461
|
{ "name": "itemsPerPage", "values": [{ "name": "Number" }] },
|
|
@@ -503,7 +524,10 @@
|
|
|
503
524
|
"name": "leu-radio-group",
|
|
504
525
|
"description": "\n---\n",
|
|
505
526
|
"attributes": [
|
|
506
|
-
{
|
|
527
|
+
{
|
|
528
|
+
"name": "orientation",
|
|
529
|
+
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
530
|
+
},
|
|
507
531
|
{ "name": "label", "values": [] }
|
|
508
532
|
],
|
|
509
533
|
"references": [
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -121,39 +121,52 @@ type LeuChipGroupProps = {
|
|
|
121
121
|
"heading-level"?: LeuChipGroup["headingLevel"];
|
|
122
122
|
/** */
|
|
123
123
|
label?: LeuChipGroup["label"];
|
|
124
|
-
/**
|
|
124
|
+
/** Checks the items with the given values.
|
|
125
|
+
If the selectionMode is single, only the first item with the given value is checked. */
|
|
125
126
|
value?: LeuChipGroup["value"];
|
|
126
127
|
};
|
|
127
128
|
|
|
128
129
|
type LeuChipLinkProps = {
|
|
130
|
+
/** */
|
|
131
|
+
""?: LeuChipLink[""];
|
|
129
132
|
/** The size of the chip */
|
|
130
133
|
size?: LeuChipLink["size"];
|
|
131
134
|
/** */
|
|
132
135
|
href?: LeuChipLink["href"];
|
|
133
136
|
/** */
|
|
134
137
|
inverted?: LeuChipLink["inverted"];
|
|
138
|
+
/** */
|
|
139
|
+
""?: LeuChipLink[""];
|
|
135
140
|
};
|
|
136
141
|
|
|
137
142
|
type LeuChipRemovableProps = {
|
|
143
|
+
/** */
|
|
144
|
+
""?: LeuChipRemovable[""];
|
|
145
|
+
/** The value of the chip. */
|
|
146
|
+
value?: LeuChipRemovable["value"];
|
|
138
147
|
/** */
|
|
139
148
|
inverted?: LeuChipRemovable["inverted"];
|
|
140
|
-
|
|
149
|
+
/** */
|
|
150
|
+
""?: LeuChipRemovable[""];
|
|
141
151
|
/** Dispatched when the user clicks on the chip */
|
|
142
152
|
onRemove?: (e: CustomEvent<never>) => void;
|
|
143
153
|
};
|
|
144
154
|
|
|
145
155
|
type LeuChipSelectableProps = {
|
|
156
|
+
/** */
|
|
157
|
+
""?: LeuChipSelectable[""];
|
|
146
158
|
/** The size of the chip. Not supported for radio variant. */
|
|
147
159
|
size?: LeuChipSelectable["size"];
|
|
148
160
|
/** `toggle` or `radio`. Determines if only one or multiple chips can be selected. */
|
|
149
161
|
variant?: LeuChipSelectable["variant"];
|
|
150
|
-
/**
|
|
151
|
-
|
|
152
|
-
/**
|
|
162
|
+
/** Whether the chip is selected. */
|
|
163
|
+
checked?: LeuChipSelectable["checked"];
|
|
164
|
+
/** The value of the chip. */
|
|
153
165
|
value?: LeuChipSelectable["value"];
|
|
154
166
|
/** */
|
|
155
167
|
inverted?: LeuChipSelectable["inverted"];
|
|
156
|
-
|
|
168
|
+
/** */
|
|
169
|
+
""?: LeuChipSelectable[""];
|
|
157
170
|
/** */
|
|
158
171
|
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
159
172
|
};
|
|
@@ -224,7 +237,8 @@ type LeuInputProps = {
|
|
|
224
237
|
step?: LeuInput["step"];
|
|
225
238
|
/** */
|
|
226
239
|
_validity?: LeuInput["_validity"];
|
|
227
|
-
|
|
240
|
+
/** */
|
|
241
|
+
valueAsNumber?: LeuInput["valueAsNumber"];
|
|
228
242
|
/** Dispatched when the value of the input element changes. */
|
|
229
243
|
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
230
244
|
/** Dispatched when the value of the input element changes and the input element loses focus. */
|
|
@@ -518,6 +532,9 @@ export type CustomElements = {
|
|
|
518
532
|
* ### **Events:**
|
|
519
533
|
* - **remove** - Dispatched when the user clicks on the chip
|
|
520
534
|
*
|
|
535
|
+
* ### **Methods:**
|
|
536
|
+
* - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content
|
|
537
|
+
*
|
|
521
538
|
* ### **Slots:**
|
|
522
539
|
* - _default_ - The content of the chip
|
|
523
540
|
*/
|
|
@@ -529,7 +546,10 @@ export type CustomElements = {
|
|
|
529
546
|
*
|
|
530
547
|
*
|
|
531
548
|
* ### **Events:**
|
|
532
|
-
* - **input**
|
|
549
|
+
* - **input** - undefined
|
|
550
|
+
*
|
|
551
|
+
* ### **Methods:**
|
|
552
|
+
* - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content
|
|
533
553
|
*
|
|
534
554
|
* ### **Slots:**
|
|
535
555
|
* - _default_ - The content of the chip
|
|
@@ -603,7 +623,7 @@ export type CustomElements = {
|
|
|
603
623
|
*
|
|
604
624
|
*
|
|
605
625
|
* ### **Events:**
|
|
606
|
-
* - **leu:pagechange**
|
|
626
|
+
* - **leu:pagechange** - undefined
|
|
607
627
|
*/
|
|
608
628
|
"leu-pagination": DefineComponent<LeuPaginationProps>;
|
|
609
629
|
|