@statistikzh/leu 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/.github/workflows/deploy-github-pages.yaml +2 -2
- package/.github/workflows/release-please.yml +1 -1
- package/CHANGELOG.md +8 -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-78b4a998.d.ts → LeuElement-e092765a.d.ts} +1 -1
- package/dist/LeuElement-e092765a.d.ts.map +1 -0
- package/dist/{LeuElement-78b4a998.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 +1 -1
- package/dist/Range.d.ts.map +1 -1
- package/dist/Range.js +2 -3
- 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-fd1950b4.d.ts → hasSlotController-d1f26756.d.ts} +1 -1
- package/dist/{hasSlotController-fd1950b4.d.ts.map → hasSlotController-d1f26756.d.ts.map} +1 -1
- package/dist/{hasSlotController-fd1950b4.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.js +1 -1
- 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 +112 -112
- package/dist/vue/index.d.ts +157 -157
- package/dist/web-types.json +216 -216
- 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 +1 -1
- package/src/components/range/range.css +0 -1
- 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-78b4a998.d.ts.map +0 -1
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,26 +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";
|
|
23
22
|
import type { LeuRange } from "../Range.js";
|
|
23
|
+
import type { LeuPopup } from "../Popup.js";
|
|
24
24
|
import type { LeuScrollTop } from "../ScrollTop.js";
|
|
25
25
|
import type { LeuSelect } from "../Select.js";
|
|
26
26
|
import type { LeuSpinner } from "../Spinner.js";
|
|
@@ -38,25 +38,35 @@ type LeuAccordionProps = {
|
|
|
38
38
|
label?: LeuAccordion["label"];
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
type
|
|
42
|
-
/** Object array with { label, href } */
|
|
43
|
-
items?: LeuBreadcrumb["items"];
|
|
44
|
-
/** invert color on dark background */
|
|
45
|
-
inverted?: LeuBreadcrumb["inverted"];
|
|
41
|
+
type LeuCheckboxProps = {
|
|
46
42
|
/** */
|
|
47
|
-
|
|
43
|
+
checked?: LeuCheckbox["checked"];
|
|
48
44
|
/** */
|
|
49
|
-
|
|
45
|
+
disabled?: LeuCheckbox["disabled"];
|
|
50
46
|
/** */
|
|
51
|
-
|
|
47
|
+
value?: LeuCheckbox["value"];
|
|
52
48
|
/** */
|
|
53
|
-
|
|
49
|
+
name?: LeuCheckbox["name"];
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type LeuCheckboxGroupProps = {
|
|
54
53
|
/** */
|
|
55
|
-
|
|
54
|
+
orientation?: LeuCheckboxGroup["orientation"];
|
|
56
55
|
/** */
|
|
57
|
-
|
|
56
|
+
label?: LeuCheckboxGroup["label"];
|
|
58
57
|
/** */
|
|
59
|
-
|
|
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;
|
|
60
70
|
};
|
|
61
71
|
|
|
62
72
|
type LeuButtonProps = {
|
|
@@ -84,35 +94,59 @@ type LeuButtonProps = {
|
|
|
84
94
|
fluid?: LeuButton["fluid"];
|
|
85
95
|
};
|
|
86
96
|
|
|
87
|
-
type
|
|
88
|
-
/** The value of the currenty selected (active) button */
|
|
89
|
-
value?: LeuButtonGroup["value"];
|
|
97
|
+
type LeuDialogProps = {
|
|
90
98
|
/** */
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
|
|
99
|
+
label?: LeuDialog["label"];
|
|
100
|
+
/** */
|
|
101
|
+
sublabel?: LeuDialog["sublabel"];
|
|
102
|
+
/** */
|
|
103
|
+
open?: LeuDialog["open"];
|
|
104
|
+
/** */
|
|
105
|
+
_dialogRef?: LeuDialog["_dialogRef"];
|
|
94
106
|
};
|
|
95
107
|
|
|
96
|
-
type
|
|
108
|
+
type LeuBreadcrumbProps = {
|
|
109
|
+
/** Object array with { label, href } */
|
|
110
|
+
items?: LeuBreadcrumb["items"];
|
|
111
|
+
/** invert color on dark background */
|
|
112
|
+
inverted?: LeuBreadcrumb["inverted"];
|
|
97
113
|
/** */
|
|
98
|
-
|
|
114
|
+
_hiddenItems?: LeuBreadcrumb["_hiddenItems"];
|
|
99
115
|
/** */
|
|
100
|
-
|
|
116
|
+
_showBackOnly?: LeuBreadcrumb["_showBackOnly"];
|
|
101
117
|
/** */
|
|
102
|
-
|
|
118
|
+
_isRecalculating?: LeuBreadcrumb["_isRecalculating"];
|
|
103
119
|
/** */
|
|
104
|
-
|
|
120
|
+
_isDropdownOpen?: LeuBreadcrumb["_isDropdownOpen"];
|
|
121
|
+
/** */
|
|
122
|
+
_handleResize?: LeuBreadcrumb["_handleResize"];
|
|
123
|
+
/** */
|
|
124
|
+
_closeDropdown?: LeuBreadcrumb["_closeDropdown"];
|
|
125
|
+
/** */
|
|
126
|
+
resizeObserver?: LeuBreadcrumb["resizeObserver"];
|
|
105
127
|
};
|
|
106
128
|
|
|
107
|
-
type
|
|
129
|
+
type LeuDropdownProps = {
|
|
108
130
|
/** */
|
|
109
|
-
|
|
131
|
+
label?: LeuDropdown["label"];
|
|
110
132
|
/** */
|
|
111
|
-
|
|
133
|
+
expanded?: LeuDropdown["expanded"];
|
|
112
134
|
/** */
|
|
113
|
-
|
|
135
|
+
hasSlotController?: LeuDropdown["hasSlotController"];
|
|
114
136
|
/** */
|
|
115
|
-
|
|
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"];
|
|
116
150
|
};
|
|
117
151
|
|
|
118
152
|
type LeuChipGroupProps = {
|
|
@@ -174,40 +208,6 @@ type LeuChipSelectableProps = {
|
|
|
174
208
|
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
175
209
|
};
|
|
176
210
|
|
|
177
|
-
type LeuDialogProps = {
|
|
178
|
-
/** */
|
|
179
|
-
label?: LeuDialog["label"];
|
|
180
|
-
/** */
|
|
181
|
-
sublabel?: LeuDialog["sublabel"];
|
|
182
|
-
/** */
|
|
183
|
-
open?: LeuDialog["open"];
|
|
184
|
-
/** */
|
|
185
|
-
_dialogRef?: LeuDialog["_dialogRef"];
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
type LeuDropdownProps = {
|
|
189
|
-
/** */
|
|
190
|
-
label?: LeuDropdown["label"];
|
|
191
|
-
/** */
|
|
192
|
-
expanded?: LeuDropdown["expanded"];
|
|
193
|
-
/** */
|
|
194
|
-
hasSlotController?: LeuDropdown["hasSlotController"];
|
|
195
|
-
/** */
|
|
196
|
-
_documentClickHandler?: LeuDropdown["_documentClickHandler"];
|
|
197
|
-
/** */
|
|
198
|
-
_menuItemClickHandler?: LeuDropdown["_menuItemClickHandler"];
|
|
199
|
-
/** Close the dropdown when the user presses the Escape or the Tab key.
|
|
200
|
-
Navigating the menu with the arrow keys is handled by the menu itself. */
|
|
201
|
-
_keyDownMenuHandler?: LeuDropdown["_keyDownMenuHandler"];
|
|
202
|
-
/** */
|
|
203
|
-
_toggleRef?: LeuDropdown["_toggleRef"];
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
type LeuIconProps = {
|
|
207
|
-
/** The name of the icon to display. */
|
|
208
|
-
name?: LeuIcon["name"];
|
|
209
|
-
};
|
|
210
|
-
|
|
211
211
|
type LeuInputProps = {
|
|
212
212
|
/** Disables the input element. */
|
|
213
213
|
disabled?: LeuInput["disabled"];
|
|
@@ -304,33 +304,6 @@ type LeuPaginationProps = {
|
|
|
304
304
|
onLeupagechange?: (e: CustomEvent<CustomEvent>) => void;
|
|
305
305
|
};
|
|
306
306
|
|
|
307
|
-
type LeuPopupProps = {
|
|
308
|
-
/** */
|
|
309
|
-
anchor?: LeuPopup["anchor"];
|
|
310
|
-
/** */
|
|
311
|
-
active?: LeuPopup["active"];
|
|
312
|
-
/** */
|
|
313
|
-
placement?: LeuPopup["placement"];
|
|
314
|
-
/** */
|
|
315
|
-
flip?: LeuPopup["flip"];
|
|
316
|
-
/** */
|
|
317
|
-
shift?: LeuPopup["shift"];
|
|
318
|
-
/** */
|
|
319
|
-
shiftPadding?: LeuPopup["shiftPadding"];
|
|
320
|
-
/** */
|
|
321
|
-
matchSize?: LeuPopup["matchSize"];
|
|
322
|
-
/** */
|
|
323
|
-
autoSize?: LeuPopup["autoSize"];
|
|
324
|
-
/** */
|
|
325
|
-
autoSizePadding?: LeuPopup["autoSizePadding"];
|
|
326
|
-
/** */
|
|
327
|
-
popupEl?: LeuPopup["popupEl"];
|
|
328
|
-
/** */
|
|
329
|
-
anchorEl?: LeuPopup["anchorEl"];
|
|
330
|
-
/** */
|
|
331
|
-
cleanup?: LeuPopup["cleanup"];
|
|
332
|
-
};
|
|
333
|
-
|
|
334
307
|
type LeuRadioProps = {
|
|
335
308
|
/** */
|
|
336
309
|
checked?: LeuRadio["checked"];
|
|
@@ -390,6 +363,33 @@ Otherwise it has to be a string. */
|
|
|
390
363
|
valueHigh?: LeuRange["valueHigh"];
|
|
391
364
|
};
|
|
392
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
|
+
|
|
393
393
|
type LeuScrollTopProps = {
|
|
394
394
|
/** */
|
|
395
395
|
_showButton?: LeuScrollTop["_showButton"];
|
|
@@ -474,6 +474,52 @@ export type CustomElements = {
|
|
|
474
474
|
*/
|
|
475
475
|
"leu-accordion": DefineComponent<LeuAccordionProps>;
|
|
476
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
|
+
|
|
477
523
|
/**
|
|
478
524
|
* A Breadcrumb Navigation.
|
|
479
525
|
*
|
|
@@ -513,40 +559,21 @@ export type CustomElements = {
|
|
|
513
559
|
*
|
|
514
560
|
* ---
|
|
515
561
|
*
|
|
516
|
-
*
|
|
517
|
-
* ### **Slots:**
|
|
518
|
-
* - **before** - The icon to display before the label
|
|
519
|
-
* - **after** - The icon to display after the label
|
|
520
|
-
* - _default_ - The label of the button or the icon if no label is set
|
|
521
|
-
*/
|
|
522
|
-
"leu-button": DefineComponent<LeuButtonProps>;
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
*
|
|
526
|
-
* ---
|
|
527
|
-
*
|
|
528
|
-
*
|
|
529
|
-
* ### **Events:**
|
|
530
|
-
* - **input** - When the value of the group changes by clicking a button
|
|
531
|
-
*
|
|
532
|
-
* ### **Slots:**
|
|
533
|
-
* - _default_ - Slot for the buttons
|
|
534
562
|
*/
|
|
535
|
-
"leu-
|
|
563
|
+
"leu-dropdown": DefineComponent<LeuDropdownProps>;
|
|
536
564
|
|
|
537
565
|
/**
|
|
538
|
-
*
|
|
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.
|
|
539
570
|
* ---
|
|
540
571
|
*
|
|
541
|
-
*/
|
|
542
|
-
"leu-checkbox": DefineComponent<LeuCheckboxProps>;
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
*
|
|
546
|
-
* ---
|
|
547
572
|
*
|
|
573
|
+
* ### **CSS Properties:**
|
|
574
|
+
* - **--leu-icon-size** - The size of the icon. _(default: undefined)_
|
|
548
575
|
*/
|
|
549
|
-
"leu-
|
|
576
|
+
"leu-icon": DefineComponent<LeuIconProps>;
|
|
550
577
|
|
|
551
578
|
/**
|
|
552
579
|
*
|
|
@@ -603,33 +630,6 @@ export type CustomElements = {
|
|
|
603
630
|
*/
|
|
604
631
|
"leu-chip-selectable": DefineComponent<LeuChipSelectableProps>;
|
|
605
632
|
|
|
606
|
-
/**
|
|
607
|
-
*
|
|
608
|
-
* ---
|
|
609
|
-
*
|
|
610
|
-
*/
|
|
611
|
-
"leu-dialog": DefineComponent<LeuDialogProps>;
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
*
|
|
615
|
-
* ---
|
|
616
|
-
*
|
|
617
|
-
*/
|
|
618
|
-
"leu-dropdown": DefineComponent<LeuDropdownProps>;
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* A component to render all defined zhWeb icons.
|
|
622
|
-
* The `fill` of the icon is set to `currentColor` and
|
|
623
|
-
* can be overriden by setting the css `color` property.
|
|
624
|
-
* If the icon name is not found, a placeholder will be displayed.
|
|
625
|
-
* ---
|
|
626
|
-
*
|
|
627
|
-
*
|
|
628
|
-
* ### **CSS Properties:**
|
|
629
|
-
* - **--leu-icon-size** - The size of the icon. _(default: undefined)_
|
|
630
|
-
*/
|
|
631
|
-
"leu-icon": DefineComponent<LeuIconProps>;
|
|
632
|
-
|
|
633
633
|
/**
|
|
634
634
|
* A text input element.
|
|
635
635
|
* ---
|
|
@@ -681,13 +681,6 @@ export type CustomElements = {
|
|
|
681
681
|
*/
|
|
682
682
|
"leu-pagination": DefineComponent<LeuPaginationProps>;
|
|
683
683
|
|
|
684
|
-
/**
|
|
685
|
-
*
|
|
686
|
-
* ---
|
|
687
|
-
*
|
|
688
|
-
*/
|
|
689
|
-
"leu-popup": DefineComponent<LeuPopupProps>;
|
|
690
|
-
|
|
691
684
|
/**
|
|
692
685
|
*
|
|
693
686
|
* ---
|
|
@@ -713,6 +706,13 @@ export type CustomElements = {
|
|
|
713
706
|
*/
|
|
714
707
|
"leu-range": DefineComponent<LeuRangeProps>;
|
|
715
708
|
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* ---
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
"leu-popup": DefineComponent<LeuPopupProps>;
|
|
715
|
+
|
|
716
716
|
/**
|
|
717
717
|
*
|
|
718
718
|
* ---
|