@statistikzh/leu 0.10.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/.github/workflows/deploy-github-pages.yaml +2 -2
- package/.github/workflows/release-please.yml +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/Accordion.d.ts +1 -1
- package/dist/Accordion.d.ts.map +1 -1
- package/dist/Accordion.js +22 -30
- package/dist/Breadcrumb.d.ts +1 -1
- package/dist/Breadcrumb.d.ts.map +1 -1
- package/dist/Breadcrumb.js +3 -8
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +3 -3
- package/dist/ButtonGroup.d.ts +1 -1
- package/dist/ButtonGroup.d.ts.map +1 -1
- package/dist/ButtonGroup.js +3 -8
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +2 -2
- package/dist/CheckboxGroup.d.ts +1 -1
- package/dist/CheckboxGroup.js +2 -2
- package/dist/Chip.d.ts +1 -1
- package/dist/Chip.d.ts.map +1 -1
- package/dist/Chip.js +3 -5
- package/dist/ChipGroup.d.ts +1 -1
- package/dist/ChipGroup.js +2 -2
- package/dist/ChipLink.js +1 -1
- package/dist/ChipRemovable.js +1 -1
- package/dist/ChipSelectable.js +1 -1
- package/dist/Dialog.d.ts +1 -1
- package/dist/Dialog.d.ts.map +1 -1
- package/dist/Dialog.js +3 -7
- package/dist/Dropdown.d.ts +1 -1
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown.js +4 -9
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.js +2 -2
- package/dist/Input.d.ts +1 -1
- package/dist/Input.d.ts.map +1 -1
- package/dist/Input.js +3 -8
- package/dist/{LeuElement-6fbc0dee.d.ts → LeuElement-e092765a.d.ts} +1 -1
- package/dist/LeuElement-e092765a.d.ts.map +1 -0
- package/dist/{LeuElement-6fbc0dee.js → LeuElement-e092765a.js} +10 -2
- package/dist/Menu.d.ts +1 -1
- package/dist/Menu.d.ts.map +1 -1
- package/dist/Menu.js +3 -8
- package/dist/MenuItem.d.ts +1 -1
- package/dist/MenuItem.d.ts.map +1 -1
- package/dist/MenuItem.js +3 -8
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +3 -3
- package/dist/Popup.d.ts +1 -1
- package/dist/Popup.d.ts.map +1 -1
- package/dist/Popup.js +3 -8
- package/dist/Radio.d.ts +1 -1
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.js +2 -2
- package/dist/Range.d.ts +60 -0
- package/dist/Range.d.ts.map +1 -0
- package/dist/Range.js +413 -0
- package/dist/ScrollTop.d.ts +1 -1
- package/dist/ScrollTop.js +3 -3
- package/dist/Select.d.ts +1 -1
- package/dist/Select.d.ts.map +1 -1
- package/dist/Select.js +4 -9
- package/dist/Spinner.d.ts +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/Table.d.ts +1 -1
- package/dist/Table.js +3 -3
- package/dist/VisuallyHidden.d.ts +1 -1
- package/dist/VisuallyHidden.js +2 -2
- package/dist/{hasSlotController-04d0dfa2.d.ts → hasSlotController-d1f26756.d.ts} +1 -1
- package/dist/{hasSlotController-04d0dfa2.d.ts.map → hasSlotController-d1f26756.d.ts.map} +1 -1
- package/dist/{hasSlotController-04d0dfa2.js → hasSlotController-d1f26756.js} +1 -1
- package/dist/index.js +2 -2
- 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.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-dialog.js +2 -2
- 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-range.d.ts +3 -0
- package/dist/leu-range.d.ts.map +1 -0
- package/dist/leu-range.js +7 -0
- package/dist/leu-scroll-top.js +2 -2
- package/dist/leu-select.js +2 -2
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.js +2 -2
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +130 -110
- package/dist/vue/index.d.ts +194 -153
- package/dist/web-types.json +243 -199
- package/package.json +1 -1
- package/scripts/generate-component/templates/[Name].js +1 -1
- package/scripts/generate-component/templates/[name].css +0 -5
- package/src/components/accordion/Accordion.js +10 -6
- package/src/components/accordion/accordion.css +9 -22
- package/src/components/breadcrumb/Breadcrumb.js +1 -1
- package/src/components/breadcrumb/breadcrumb.css +0 -5
- package/src/components/button/Button.js +1 -1
- package/src/components/button-group/ButtonGroup.js +1 -1
- package/src/components/button-group/button-group.css +0 -5
- package/src/components/checkbox/Checkbox.js +1 -1
- package/src/components/checkbox/CheckboxGroup.js +1 -1
- package/src/components/chip/Chip.js +1 -1
- package/src/components/chip/ChipGroup.js +1 -1
- package/src/components/chip/chip.css +0 -2
- package/src/components/dialog/Dialog.js +1 -1
- package/src/components/dialog/dialog.css +0 -5
- package/src/components/dropdown/Dropdown.js +1 -1
- package/src/components/dropdown/dropdown.css +0 -5
- package/src/components/icon/Icon.js +1 -1
- package/src/components/input/Input.js +1 -1
- package/src/components/input/input.css +0 -5
- package/src/components/menu/Menu.js +1 -1
- package/src/components/menu/MenuItem.js +1 -1
- package/src/components/menu/menu-item.css +0 -5
- package/src/components/menu/menu.css +0 -5
- package/src/components/pagination/Pagination.js +1 -1
- package/src/components/popup/Popup.js +1 -1
- package/src/components/popup/popup.css +0 -5
- package/src/components/radio/Radio.js +1 -1
- package/src/components/radio/RadioGroup.js +1 -1
- package/src/components/range/Range.js +237 -0
- package/src/components/range/leu-range.js +5 -0
- package/src/components/range/range.css +180 -0
- package/src/components/range/stories/range-slider.stories.js +142 -0
- package/src/components/range/test/range-test.js +24 -0
- package/src/components/scroll-top/ScrollTop.js +1 -1
- package/src/components/select/Select.js +1 -1
- package/src/components/select/select.css +0 -5
- package/src/components/spinner/Spinner.js +1 -1
- package/src/components/table/Table.js +1 -1
- package/src/components/visually-hidden/VisuallyHidden.js +1 -1
- package/src/lib/LeuElement.js +3 -0
- package/src/styles/common-styles.css +5 -0
- package/src/styles/style.stories.js +1 -0
- package/web-dev-server.config.mjs +1 -0
- package/dist/LeuElement-6fbc0dee.d.ts.map +0 -1
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import type { DefineComponent } from "vue";
|
|
2
2
|
|
|
3
3
|
import type { LeuAccordion } from "../Accordion.js";
|
|
4
|
-
import type { LeuBreadcrumb } from "../Breadcrumb.js";
|
|
5
|
-
import type { LeuButton } from "../Button.js";
|
|
6
|
-
import type { LeuButtonGroup, CustomEvent } from "../ButtonGroup.js";
|
|
7
4
|
import type { LeuCheckbox } from "../Checkbox.js";
|
|
8
5
|
import type { LeuCheckboxGroup } from "../CheckboxGroup.js";
|
|
6
|
+
import type { LeuButtonGroup, CustomEvent } from "../ButtonGroup.js";
|
|
7
|
+
import type { LeuButton } from "../Button.js";
|
|
8
|
+
import type { LeuDialog } from "../Dialog.js";
|
|
9
|
+
import type { LeuBreadcrumb } from "../Breadcrumb.js";
|
|
10
|
+
import type { LeuDropdown } from "../Dropdown.js";
|
|
11
|
+
import type { LeuIcon } from "../Icon.js";
|
|
9
12
|
import type { LeuChipGroup } from "../ChipGroup.js";
|
|
10
13
|
import type { LeuChipLink } from "../ChipLink.js";
|
|
11
14
|
import type { LeuChipRemovable } from "../ChipRemovable.js";
|
|
12
15
|
import type { LeuChipSelectable, CustomEvent } from "../ChipSelectable.js";
|
|
13
|
-
import type { LeuDialog } from "../Dialog.js";
|
|
14
|
-
import type { LeuDropdown } from "../Dropdown.js";
|
|
15
|
-
import type { LeuIcon } from "../Icon.js";
|
|
16
16
|
import type { LeuInput, CustomEvent } from "../Input.js";
|
|
17
17
|
import type { LeuMenu } from "../Menu.js";
|
|
18
18
|
import type { LeuMenuItem } from "../MenuItem.js";
|
|
19
19
|
import type { LeuPagination, CustomEvent } from "../Pagination.js";
|
|
20
|
-
import type { LeuPopup } from "../Popup.js";
|
|
21
20
|
import type { LeuRadio } from "../Radio.js";
|
|
22
21
|
import type { LeuRadioGroup } from "../RadioGroup.js";
|
|
22
|
+
import type { LeuRange } from "../Range.js";
|
|
23
|
+
import type { LeuPopup } from "../Popup.js";
|
|
23
24
|
import type { LeuScrollTop } from "../ScrollTop.js";
|
|
24
25
|
import type { LeuSelect } from "../Select.js";
|
|
25
26
|
import type { LeuSpinner } from "../Spinner.js";
|
|
@@ -37,25 +38,35 @@ type LeuAccordionProps = {
|
|
|
37
38
|
label?: LeuAccordion["label"];
|
|
38
39
|
};
|
|
39
40
|
|
|
40
|
-
type
|
|
41
|
-
/** Object array with { label, href } */
|
|
42
|
-
items?: LeuBreadcrumb["items"];
|
|
43
|
-
/** invert color on dark background */
|
|
44
|
-
inverted?: LeuBreadcrumb["inverted"];
|
|
41
|
+
type LeuCheckboxProps = {
|
|
45
42
|
/** */
|
|
46
|
-
|
|
43
|
+
checked?: LeuCheckbox["checked"];
|
|
47
44
|
/** */
|
|
48
|
-
|
|
45
|
+
disabled?: LeuCheckbox["disabled"];
|
|
49
46
|
/** */
|
|
50
|
-
|
|
47
|
+
value?: LeuCheckbox["value"];
|
|
51
48
|
/** */
|
|
52
|
-
|
|
49
|
+
name?: LeuCheckbox["name"];
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type LeuCheckboxGroupProps = {
|
|
53
53
|
/** */
|
|
54
|
-
|
|
54
|
+
orientation?: LeuCheckboxGroup["orientation"];
|
|
55
55
|
/** */
|
|
56
|
-
|
|
56
|
+
label?: LeuCheckboxGroup["label"];
|
|
57
57
|
/** */
|
|
58
|
-
|
|
58
|
+
value?: LeuCheckboxGroup["value"];
|
|
59
|
+
/** */
|
|
60
|
+
items?: LeuCheckboxGroup["items"];
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
type LeuButtonGroupProps = {
|
|
64
|
+
/** The value of the currenty selected (active) button */
|
|
65
|
+
value?: LeuButtonGroup["value"];
|
|
66
|
+
/** */
|
|
67
|
+
_items?: LeuButtonGroup["_items"];
|
|
68
|
+
/** When the value of the group changes by clicking a button */
|
|
69
|
+
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
59
70
|
};
|
|
60
71
|
|
|
61
72
|
type LeuButtonProps = {
|
|
@@ -83,35 +94,59 @@ type LeuButtonProps = {
|
|
|
83
94
|
fluid?: LeuButton["fluid"];
|
|
84
95
|
};
|
|
85
96
|
|
|
86
|
-
type
|
|
87
|
-
/** The value of the currenty selected (active) button */
|
|
88
|
-
value?: LeuButtonGroup["value"];
|
|
97
|
+
type LeuDialogProps = {
|
|
89
98
|
/** */
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
|
|
99
|
+
label?: LeuDialog["label"];
|
|
100
|
+
/** */
|
|
101
|
+
sublabel?: LeuDialog["sublabel"];
|
|
102
|
+
/** */
|
|
103
|
+
open?: LeuDialog["open"];
|
|
104
|
+
/** */
|
|
105
|
+
_dialogRef?: LeuDialog["_dialogRef"];
|
|
93
106
|
};
|
|
94
107
|
|
|
95
|
-
type
|
|
108
|
+
type LeuBreadcrumbProps = {
|
|
109
|
+
/** Object array with { label, href } */
|
|
110
|
+
items?: LeuBreadcrumb["items"];
|
|
111
|
+
/** invert color on dark background */
|
|
112
|
+
inverted?: LeuBreadcrumb["inverted"];
|
|
96
113
|
/** */
|
|
97
|
-
|
|
114
|
+
_hiddenItems?: LeuBreadcrumb["_hiddenItems"];
|
|
98
115
|
/** */
|
|
99
|
-
|
|
116
|
+
_showBackOnly?: LeuBreadcrumb["_showBackOnly"];
|
|
100
117
|
/** */
|
|
101
|
-
|
|
118
|
+
_isRecalculating?: LeuBreadcrumb["_isRecalculating"];
|
|
102
119
|
/** */
|
|
103
|
-
|
|
120
|
+
_isDropdownOpen?: LeuBreadcrumb["_isDropdownOpen"];
|
|
121
|
+
/** */
|
|
122
|
+
_handleResize?: LeuBreadcrumb["_handleResize"];
|
|
123
|
+
/** */
|
|
124
|
+
_closeDropdown?: LeuBreadcrumb["_closeDropdown"];
|
|
125
|
+
/** */
|
|
126
|
+
resizeObserver?: LeuBreadcrumb["resizeObserver"];
|
|
104
127
|
};
|
|
105
128
|
|
|
106
|
-
type
|
|
129
|
+
type LeuDropdownProps = {
|
|
107
130
|
/** */
|
|
108
|
-
|
|
131
|
+
label?: LeuDropdown["label"];
|
|
109
132
|
/** */
|
|
110
|
-
|
|
133
|
+
expanded?: LeuDropdown["expanded"];
|
|
111
134
|
/** */
|
|
112
|
-
|
|
135
|
+
hasSlotController?: LeuDropdown["hasSlotController"];
|
|
113
136
|
/** */
|
|
114
|
-
|
|
137
|
+
_documentClickHandler?: LeuDropdown["_documentClickHandler"];
|
|
138
|
+
/** */
|
|
139
|
+
_menuItemClickHandler?: LeuDropdown["_menuItemClickHandler"];
|
|
140
|
+
/** Close the dropdown when the user presses the Escape or the Tab key.
|
|
141
|
+
Navigating the menu with the arrow keys is handled by the menu itself. */
|
|
142
|
+
_keyDownMenuHandler?: LeuDropdown["_keyDownMenuHandler"];
|
|
143
|
+
/** */
|
|
144
|
+
_toggleRef?: LeuDropdown["_toggleRef"];
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
type LeuIconProps = {
|
|
148
|
+
/** The name of the icon to display. */
|
|
149
|
+
name?: LeuIcon["name"];
|
|
115
150
|
};
|
|
116
151
|
|
|
117
152
|
type LeuChipGroupProps = {
|
|
@@ -173,40 +208,6 @@ type LeuChipSelectableProps = {
|
|
|
173
208
|
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
174
209
|
};
|
|
175
210
|
|
|
176
|
-
type LeuDialogProps = {
|
|
177
|
-
/** */
|
|
178
|
-
label?: LeuDialog["label"];
|
|
179
|
-
/** */
|
|
180
|
-
sublabel?: LeuDialog["sublabel"];
|
|
181
|
-
/** */
|
|
182
|
-
open?: LeuDialog["open"];
|
|
183
|
-
/** */
|
|
184
|
-
_dialogRef?: LeuDialog["_dialogRef"];
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
type LeuDropdownProps = {
|
|
188
|
-
/** */
|
|
189
|
-
label?: LeuDropdown["label"];
|
|
190
|
-
/** */
|
|
191
|
-
expanded?: LeuDropdown["expanded"];
|
|
192
|
-
/** */
|
|
193
|
-
hasSlotController?: LeuDropdown["hasSlotController"];
|
|
194
|
-
/** */
|
|
195
|
-
_documentClickHandler?: LeuDropdown["_documentClickHandler"];
|
|
196
|
-
/** */
|
|
197
|
-
_menuItemClickHandler?: LeuDropdown["_menuItemClickHandler"];
|
|
198
|
-
/** Close the dropdown when the user presses the Escape or the Tab key.
|
|
199
|
-
Navigating the menu with the arrow keys is handled by the menu itself. */
|
|
200
|
-
_keyDownMenuHandler?: LeuDropdown["_keyDownMenuHandler"];
|
|
201
|
-
/** */
|
|
202
|
-
_toggleRef?: LeuDropdown["_toggleRef"];
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
type LeuIconProps = {
|
|
206
|
-
/** The name of the icon to display. */
|
|
207
|
-
name?: LeuIcon["name"];
|
|
208
|
-
};
|
|
209
|
-
|
|
210
211
|
type LeuInputProps = {
|
|
211
212
|
/** Disables the input element. */
|
|
212
213
|
disabled?: LeuInput["disabled"];
|
|
@@ -303,33 +304,6 @@ type LeuPaginationProps = {
|
|
|
303
304
|
onLeupagechange?: (e: CustomEvent<CustomEvent>) => void;
|
|
304
305
|
};
|
|
305
306
|
|
|
306
|
-
type LeuPopupProps = {
|
|
307
|
-
/** */
|
|
308
|
-
anchor?: LeuPopup["anchor"];
|
|
309
|
-
/** */
|
|
310
|
-
active?: LeuPopup["active"];
|
|
311
|
-
/** */
|
|
312
|
-
placement?: LeuPopup["placement"];
|
|
313
|
-
/** */
|
|
314
|
-
flip?: LeuPopup["flip"];
|
|
315
|
-
/** */
|
|
316
|
-
shift?: LeuPopup["shift"];
|
|
317
|
-
/** */
|
|
318
|
-
shiftPadding?: LeuPopup["shiftPadding"];
|
|
319
|
-
/** */
|
|
320
|
-
matchSize?: LeuPopup["matchSize"];
|
|
321
|
-
/** */
|
|
322
|
-
autoSize?: LeuPopup["autoSize"];
|
|
323
|
-
/** */
|
|
324
|
-
autoSizePadding?: LeuPopup["autoSizePadding"];
|
|
325
|
-
/** */
|
|
326
|
-
popupEl?: LeuPopup["popupEl"];
|
|
327
|
-
/** */
|
|
328
|
-
anchorEl?: LeuPopup["anchorEl"];
|
|
329
|
-
/** */
|
|
330
|
-
cleanup?: LeuPopup["cleanup"];
|
|
331
|
-
};
|
|
332
|
-
|
|
333
307
|
type LeuRadioProps = {
|
|
334
308
|
/** */
|
|
335
309
|
checked?: LeuRadio["checked"];
|
|
@@ -360,6 +334,62 @@ type LeuRadioGroupProps = {
|
|
|
360
334
|
items?: LeuRadioGroup["items"];
|
|
361
335
|
};
|
|
362
336
|
|
|
337
|
+
type LeuRangeProps = {
|
|
338
|
+
/** */
|
|
339
|
+
value?: LeuRange["defaultValue"];
|
|
340
|
+
/** */
|
|
341
|
+
min?: LeuRange["min"];
|
|
342
|
+
/** */
|
|
343
|
+
max?: LeuRange["max"];
|
|
344
|
+
/** */
|
|
345
|
+
step?: LeuRange["step"];
|
|
346
|
+
/** */
|
|
347
|
+
name?: LeuRange["name"];
|
|
348
|
+
/** */
|
|
349
|
+
label?: LeuRange["label"];
|
|
350
|
+
/** */
|
|
351
|
+
disabled?: LeuRange["disabled"];
|
|
352
|
+
/** */
|
|
353
|
+
multiple?: LeuRange["multiple"];
|
|
354
|
+
/** Sets the value of the underlying input element(s).
|
|
355
|
+
The value has to be an array if "multiple" range is used.
|
|
356
|
+
Otherwise it has to be a string. */
|
|
357
|
+
value?: LeuRange["value"];
|
|
358
|
+
/** */
|
|
359
|
+
valueAsArray?: LeuRange["valueAsArray"];
|
|
360
|
+
/** */
|
|
361
|
+
valueLow?: LeuRange["valueLow"];
|
|
362
|
+
/** */
|
|
363
|
+
valueHigh?: LeuRange["valueHigh"];
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
type LeuPopupProps = {
|
|
367
|
+
/** */
|
|
368
|
+
anchor?: LeuPopup["anchor"];
|
|
369
|
+
/** */
|
|
370
|
+
active?: LeuPopup["active"];
|
|
371
|
+
/** */
|
|
372
|
+
placement?: LeuPopup["placement"];
|
|
373
|
+
/** */
|
|
374
|
+
flip?: LeuPopup["flip"];
|
|
375
|
+
/** */
|
|
376
|
+
shift?: LeuPopup["shift"];
|
|
377
|
+
/** */
|
|
378
|
+
shiftPadding?: LeuPopup["shiftPadding"];
|
|
379
|
+
/** */
|
|
380
|
+
matchSize?: LeuPopup["matchSize"];
|
|
381
|
+
/** */
|
|
382
|
+
autoSize?: LeuPopup["autoSize"];
|
|
383
|
+
/** */
|
|
384
|
+
autoSizePadding?: LeuPopup["autoSizePadding"];
|
|
385
|
+
/** */
|
|
386
|
+
popupEl?: LeuPopup["popupEl"];
|
|
387
|
+
/** */
|
|
388
|
+
anchorEl?: LeuPopup["anchorEl"];
|
|
389
|
+
/** */
|
|
390
|
+
cleanup?: LeuPopup["cleanup"];
|
|
391
|
+
};
|
|
392
|
+
|
|
363
393
|
type LeuScrollTopProps = {
|
|
364
394
|
/** */
|
|
365
395
|
_showButton?: LeuScrollTop["_showButton"];
|
|
@@ -444,6 +474,52 @@ export type CustomElements = {
|
|
|
444
474
|
*/
|
|
445
475
|
"leu-accordion": DefineComponent<LeuAccordionProps>;
|
|
446
476
|
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* ---
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
"leu-checkbox": DefineComponent<LeuCheckboxProps>;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* ---
|
|
487
|
+
*
|
|
488
|
+
*/
|
|
489
|
+
"leu-checkbox-group": DefineComponent<LeuCheckboxGroupProps>;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* ---
|
|
494
|
+
*
|
|
495
|
+
*
|
|
496
|
+
* ### **Events:**
|
|
497
|
+
* - **input** - When the value of the group changes by clicking a button
|
|
498
|
+
*
|
|
499
|
+
* ### **Slots:**
|
|
500
|
+
* - _default_ - Slot for the buttons
|
|
501
|
+
*/
|
|
502
|
+
"leu-button-group": DefineComponent<LeuButtonGroupProps>;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* ---
|
|
507
|
+
*
|
|
508
|
+
*
|
|
509
|
+
* ### **Slots:**
|
|
510
|
+
* - **before** - The icon to display before the label
|
|
511
|
+
* - **after** - The icon to display after the label
|
|
512
|
+
* - _default_ - The label of the button or the icon if no label is set
|
|
513
|
+
*/
|
|
514
|
+
"leu-button": DefineComponent<LeuButtonProps>;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* ---
|
|
519
|
+
*
|
|
520
|
+
*/
|
|
521
|
+
"leu-dialog": DefineComponent<LeuDialogProps>;
|
|
522
|
+
|
|
447
523
|
/**
|
|
448
524
|
* A Breadcrumb Navigation.
|
|
449
525
|
*
|
|
@@ -483,40 +559,21 @@ export type CustomElements = {
|
|
|
483
559
|
*
|
|
484
560
|
* ---
|
|
485
561
|
*
|
|
486
|
-
*
|
|
487
|
-
* ### **Slots:**
|
|
488
|
-
* - **before** - The icon to display before the label
|
|
489
|
-
* - **after** - The icon to display after the label
|
|
490
|
-
* - _default_ - The label of the button or the icon if no label is set
|
|
491
562
|
*/
|
|
492
|
-
"leu-
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* ---
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
* ### **Events:**
|
|
500
|
-
* - **input** - When the value of the group changes by clicking a button
|
|
501
|
-
*
|
|
502
|
-
* ### **Slots:**
|
|
503
|
-
* - _default_ - Slot for the buttons
|
|
504
|
-
*/
|
|
505
|
-
"leu-button-group": DefineComponent<LeuButtonGroupProps>;
|
|
563
|
+
"leu-dropdown": DefineComponent<LeuDropdownProps>;
|
|
506
564
|
|
|
507
565
|
/**
|
|
508
|
-
*
|
|
566
|
+
* A component to render all defined zhWeb icons.
|
|
567
|
+
* The `fill` of the icon is set to `currentColor` and
|
|
568
|
+
* can be overriden by setting the css `color` property.
|
|
569
|
+
* If the icon name is not found, a placeholder will be displayed.
|
|
509
570
|
* ---
|
|
510
571
|
*
|
|
511
|
-
*/
|
|
512
|
-
"leu-checkbox": DefineComponent<LeuCheckboxProps>;
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
*
|
|
516
|
-
* ---
|
|
517
572
|
*
|
|
573
|
+
* ### **CSS Properties:**
|
|
574
|
+
* - **--leu-icon-size** - The size of the icon. _(default: undefined)_
|
|
518
575
|
*/
|
|
519
|
-
"leu-
|
|
576
|
+
"leu-icon": DefineComponent<LeuIconProps>;
|
|
520
577
|
|
|
521
578
|
/**
|
|
522
579
|
*
|
|
@@ -573,33 +630,6 @@ export type CustomElements = {
|
|
|
573
630
|
*/
|
|
574
631
|
"leu-chip-selectable": DefineComponent<LeuChipSelectableProps>;
|
|
575
632
|
|
|
576
|
-
/**
|
|
577
|
-
*
|
|
578
|
-
* ---
|
|
579
|
-
*
|
|
580
|
-
*/
|
|
581
|
-
"leu-dialog": DefineComponent<LeuDialogProps>;
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
*
|
|
585
|
-
* ---
|
|
586
|
-
*
|
|
587
|
-
*/
|
|
588
|
-
"leu-dropdown": DefineComponent<LeuDropdownProps>;
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* A component to render all defined zhWeb icons.
|
|
592
|
-
* The `fill` of the icon is set to `currentColor` and
|
|
593
|
-
* can be overriden by setting the css `color` property.
|
|
594
|
-
* If the icon name is not found, a placeholder will be displayed.
|
|
595
|
-
* ---
|
|
596
|
-
*
|
|
597
|
-
*
|
|
598
|
-
* ### **CSS Properties:**
|
|
599
|
-
* - **--leu-icon-size** - The size of the icon. _(default: undefined)_
|
|
600
|
-
*/
|
|
601
|
-
"leu-icon": DefineComponent<LeuIconProps>;
|
|
602
|
-
|
|
603
633
|
/**
|
|
604
634
|
* A text input element.
|
|
605
635
|
* ---
|
|
@@ -656,21 +686,32 @@ export type CustomElements = {
|
|
|
656
686
|
* ---
|
|
657
687
|
*
|
|
658
688
|
*/
|
|
659
|
-
"leu-
|
|
689
|
+
"leu-radio": DefineComponent<LeuRadioProps>;
|
|
660
690
|
|
|
661
691
|
/**
|
|
662
692
|
*
|
|
663
693
|
* ---
|
|
664
694
|
*
|
|
665
695
|
*/
|
|
666
|
-
"leu-radio": DefineComponent<
|
|
696
|
+
"leu-radio-group": DefineComponent<LeuRadioGroupProps>;
|
|
667
697
|
|
|
668
698
|
/**
|
|
669
699
|
*
|
|
670
700
|
* ---
|
|
671
701
|
*
|
|
702
|
+
*
|
|
703
|
+
* ### **Methods:**
|
|
704
|
+
* - **_handlePointerDown(e: _PointerEvent & {target: HTMLInputElement}_)** - Determine if the "click" (pointer event) is closer the
|
|
705
|
+
* the value of the other input element. Swap the values if this is the case.
|
|
672
706
|
*/
|
|
673
|
-
"leu-
|
|
707
|
+
"leu-range": DefineComponent<LeuRangeProps>;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* ---
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
"leu-popup": DefineComponent<LeuPopupProps>;
|
|
674
715
|
|
|
675
716
|
/**
|
|
676
717
|
*
|