@statistikzh/leu 0.5.0 → 0.6.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/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -3
- package/CHANGELOG.md +48 -0
- package/dist/Accordion.d.ts +10 -9
- package/dist/Accordion.d.ts.map +1 -1
- package/dist/Accordion.js +12 -11
- package/dist/Breadcrumb.d.ts +4 -4
- package/dist/Breadcrumb.d.ts.map +1 -1
- package/dist/Breadcrumb.js +28 -26
- package/dist/{Button-da11d064.d.ts → Button-9692e403.d.ts} +10 -11
- package/dist/Button-9692e403.d.ts.map +1 -0
- package/dist/{Button-da11d064.js → Button-9692e403.js} +65 -62
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +3 -3
- package/dist/ButtonGroup.d.ts +2 -2
- package/dist/ButtonGroup.d.ts.map +1 -1
- package/dist/ButtonGroup.js +3 -3
- package/dist/Checkbox.d.ts +4 -3
- package/dist/Checkbox.d.ts.map +1 -1
- package/dist/Checkbox.js +14 -19
- package/dist/CheckboxGroup.d.ts +2 -2
- package/dist/CheckboxGroup.d.ts.map +1 -1
- package/dist/CheckboxGroup.js +4 -6
- package/dist/Chip.d.ts +2 -2
- package/dist/Chip.d.ts.map +1 -1
- package/dist/Chip.js +6 -13
- package/dist/ChipGroup.d.ts +9 -7
- package/dist/ChipGroup.d.ts.map +1 -1
- package/dist/ChipGroup.js +8 -5
- package/dist/ChipLink.d.ts +2 -1
- package/dist/ChipLink.d.ts.map +1 -1
- package/dist/ChipLink.js +4 -7
- package/dist/ChipRemovable.d.ts +0 -2
- package/dist/ChipRemovable.d.ts.map +1 -1
- package/dist/ChipRemovable.js +8 -11
- package/dist/ChipSelectable.d.ts +9 -1
- package/dist/ChipSelectable.d.ts.map +1 -1
- package/dist/ChipSelectable.js +12 -16
- package/dist/Dropdown.d.ts +9 -5
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown.js +73 -32
- package/dist/Icon.d.ts +20 -0
- package/dist/Icon.d.ts.map +1 -0
- package/dist/{icon-03e86700.js → Icon.js} +61 -32
- package/dist/Input.d.ts +7 -16
- package/dist/Input.d.ts.map +1 -1
- package/dist/Input.js +24 -28
- package/dist/LeuElement-6de6f209.d.ts +7 -0
- package/dist/LeuElement-6de6f209.d.ts.map +1 -0
- package/dist/LeuElement-6de6f209.js +43 -0
- package/dist/Menu.d.ts +24 -2
- package/dist/Menu.d.ts.map +1 -1
- package/dist/Menu.js +120 -3
- package/dist/MenuItem.d.ts +28 -11
- package/dist/MenuItem.d.ts.map +1 -1
- package/dist/MenuItem.js +110 -63
- package/dist/Pagination.d.ts +10 -3
- package/dist/Pagination.d.ts.map +1 -1
- package/dist/Pagination.js +24 -21
- package/dist/Popup.d.ts +21 -3
- package/dist/Popup.d.ts.map +1 -1
- package/dist/Popup.js +44 -19
- package/dist/Radio.d.ts +4 -2
- package/dist/Radio.d.ts.map +1 -1
- package/dist/Radio.js +9 -16
- package/dist/RadioGroup.d.ts +2 -2
- package/dist/RadioGroup.d.ts.map +1 -1
- package/dist/RadioGroup.js +4 -6
- package/dist/ScrollTop.d.ts +2 -2
- package/dist/ScrollTop.d.ts.map +1 -1
- package/dist/ScrollTop.js +10 -8
- package/dist/Select.d.ts +75 -37
- package/dist/Select.d.ts.map +1 -1
- package/dist/Select.js +279 -183
- package/dist/Table.d.ts +2 -6
- package/dist/Table.d.ts.map +1 -1
- package/dist/Table.js +17 -18
- package/dist/VisuallyHidden.d.ts +2 -2
- package/dist/VisuallyHidden.d.ts.map +1 -1
- package/dist/VisuallyHidden.js +5 -7
- package/dist/{index.js.d.ts → index.d.ts} +3 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/{index.js.js → index.js} +5 -14
- package/dist/leu-accordion.d.ts.map +1 -1
- package/dist/leu-accordion.js +2 -3
- package/dist/leu-breadcrumb.d.ts.map +1 -1
- package/dist/leu-breadcrumb.js +4 -10
- package/dist/leu-button-group.d.ts.map +1 -1
- package/dist/leu-button-group.js +2 -3
- package/dist/leu-button.d.ts +1 -1
- package/dist/leu-button.d.ts.map +1 -1
- package/dist/leu-button.js +4 -5
- package/dist/leu-checkbox-group.d.ts.map +1 -1
- package/dist/leu-checkbox-group.js +2 -3
- package/dist/leu-checkbox.d.ts.map +1 -1
- package/dist/leu-checkbox.js +3 -4
- package/dist/leu-chip-group.d.ts.map +1 -1
- package/dist/leu-chip-group.js +2 -3
- package/dist/leu-chip-link.d.ts.map +1 -1
- package/dist/leu-chip-link.js +2 -3
- package/dist/leu-chip-removable.d.ts.map +1 -1
- package/dist/leu-chip-removable.js +3 -4
- package/dist/leu-chip-selectable.d.ts.map +1 -1
- package/dist/leu-chip-selectable.js +2 -3
- package/dist/leu-dropdown.d.ts.map +1 -1
- package/dist/leu-dropdown.js +5 -10
- package/dist/leu-icon.d.ts +3 -0
- package/dist/leu-icon.d.ts.map +1 -0
- package/dist/leu-icon.js +7 -0
- package/dist/leu-input.d.ts.map +1 -1
- package/dist/leu-input.js +3 -4
- package/dist/leu-menu-item.d.ts.map +1 -1
- package/dist/leu-menu-item.js +3 -5
- package/dist/leu-menu.d.ts.map +1 -1
- package/dist/leu-menu.js +5 -3
- package/dist/leu-pagination.d.ts.map +1 -1
- package/dist/leu-pagination.js +4 -7
- package/dist/leu-popup.d.ts.map +1 -1
- package/dist/leu-popup.js +2 -3
- package/dist/leu-radio-group.d.ts.map +1 -1
- package/dist/leu-radio-group.js +2 -3
- package/dist/leu-radio.d.ts.map +1 -1
- package/dist/leu-radio.js +2 -3
- package/dist/leu-scroll-top.d.ts.map +1 -1
- package/dist/leu-scroll-top.js +4 -6
- package/dist/leu-select.d.ts.map +1 -1
- package/dist/leu-select.js +5 -13
- package/dist/leu-table.d.ts.map +1 -1
- package/dist/leu-table.js +4 -8
- package/dist/leu-visually-hidden.d.ts.map +1 -1
- package/dist/leu-visually-hidden.js +2 -3
- package/dist/theme.css +2 -0
- package/dist/vscode.html-custom-data.json +616 -0
- package/dist/vue/index.d.ts +682 -0
- package/dist/web-types.json +1211 -0
- package/package.json +10 -13
- package/rollup.config.js +1 -1
- package/scripts/generate-component/templates/[Name].js +6 -3
- package/scripts/generate-component/templates/test/[name].test.js +1 -1
- package/src/components/accordion/Accordion.js +13 -10
- package/src/components/accordion/leu-accordion.js +1 -2
- package/src/components/breadcrumb/Breadcrumb.js +31 -18
- package/src/components/breadcrumb/leu-breadcrumb.js +1 -2
- package/src/components/button/Button.js +45 -71
- package/src/components/button/button.css +19 -4
- package/src/components/button/leu-button.js +1 -2
- package/src/components/button/stories/button.stories.js +60 -19
- package/src/components/button/test/button.test.js +26 -63
- package/src/components/button-group/ButtonGroup.js +4 -2
- package/src/components/button-group/leu-button-group.js +1 -2
- package/src/components/checkbox/Checkbox.js +17 -11
- package/src/components/checkbox/CheckboxGroup.js +6 -3
- package/src/components/checkbox/leu-checkbox-group.js +1 -2
- package/src/components/checkbox/leu-checkbox.js +1 -2
- package/src/components/checkbox/stories/checkbox-group.stories.js +10 -26
- package/src/components/checkbox/stories/checkbox.stories.js +2 -7
- package/src/components/checkbox/test/checkbox-group.test.js +6 -21
- package/src/components/checkbox/test/checkbox.test.js +1 -12
- package/src/components/chip/Chip.js +5 -4
- package/src/components/chip/ChipGroup.js +10 -4
- package/src/components/chip/ChipLink.js +3 -7
- package/src/components/chip/ChipRemovable.js +8 -11
- package/src/components/chip/ChipSelectable.js +11 -17
- package/src/components/chip/chip.css +3 -4
- package/src/components/chip/leu-chip-group.js +1 -2
- package/src/components/chip/leu-chip-link.js +1 -2
- package/src/components/chip/leu-chip-removable.js +1 -2
- package/src/components/chip/leu-chip-selectable.js +1 -2
- package/src/components/chip/stories/chip-link.stories.js +3 -5
- package/src/components/chip/stories/chip-removable.stories.js +3 -4
- package/src/components/chip/stories/chip-selectable.stories.js +2 -2
- package/src/components/chip/test/chip-group.test.js +15 -30
- package/src/components/chip/test/chip-link.test.js +2 -6
- package/src/components/chip/test/chip-removable.test.js +4 -10
- package/src/components/chip/test/chip-selectable.test.js +3 -5
- package/src/components/dropdown/Dropdown.js +80 -26
- package/src/components/dropdown/dropdown.css +4 -0
- package/src/components/dropdown/leu-dropdown.js +1 -2
- package/src/components/dropdown/stories/dropdown.stories.js +30 -7
- package/src/components/dropdown/test/dropdown.test.js +5 -5
- package/src/components/icon/Icon.js +55 -0
- package/src/components/icon/icon.css +6 -0
- package/src/components/icon/leu-icon.js +5 -0
- package/src/components/icon/{icon.js → paths.js} +4 -37
- package/src/components/icon/stories/icon.stories.js +47 -0
- package/src/components/icon/test/icon.test.js +23 -40
- package/src/components/input/Input.js +21 -23
- package/src/components/input/input.css +4 -2
- package/src/components/input/leu-input.js +1 -2
- package/src/components/input/stories/input.stories.js +2 -2
- package/src/components/input/test/input.test.js +2 -0
- package/src/components/menu/Menu.js +143 -2
- package/src/components/menu/MenuItem.js +104 -52
- package/src/components/menu/leu-menu-item.js +1 -2
- package/src/components/menu/leu-menu.js +1 -2
- package/src/components/menu/menu-item.css +11 -4
- package/src/components/menu/stories/menu-item.stories.js +15 -4
- package/src/components/menu/stories/menu.stories.js +34 -7
- package/src/components/menu/test/menu-item.test.js +88 -82
- package/src/components/menu/test/menu.test.js +101 -8
- package/src/components/pagination/Pagination.js +27 -18
- package/src/components/pagination/leu-pagination.js +1 -2
- package/src/components/popup/Popup.js +39 -16
- package/src/components/popup/leu-popup.js +1 -2
- package/src/components/popup/popup.css +1 -0
- package/src/components/radio/Radio.js +12 -7
- package/src/components/radio/RadioGroup.js +6 -3
- package/src/components/radio/leu-radio-group.js +1 -2
- package/src/components/radio/leu-radio.js +1 -2
- package/src/components/radio/stories/radio-group.stories.js +5 -19
- package/src/components/radio/stories/radio.stories.js +2 -7
- package/src/components/radio/test/radio-group.test.js +6 -9
- package/src/components/radio/test/radio.test.js +3 -13
- package/src/components/scroll-top/ScrollTop.js +15 -5
- package/src/components/scroll-top/leu-scroll-top.js +1 -2
- package/src/components/select/Select.js +279 -175
- package/src/components/select/leu-select.js +1 -2
- package/src/components/select/select.css +20 -12
- package/src/components/select/stories/select.stories.js +16 -2
- package/src/components/select/test/select.test.js +191 -37
- package/src/components/table/Table.js +15 -9
- package/src/components/table/leu-table.js +1 -2
- package/src/components/table/table.css +3 -1
- package/src/components/visually-hidden/VisuallyHidden.js +6 -2
- package/src/components/visually-hidden/leu-visually-hidden.js +1 -2
- package/src/lib/LeuElement.js +23 -0
- package/src/lib/a11y.js +26 -0
- package/src/styles/custom-properties.css +2 -0
- package/web-test-runner.config.mjs +2 -0
- package/dist/Button-da11d064.d.ts.map +0 -1
- package/dist/_rollupPluginBabelHelpers-20f659f4.d.ts +0 -3
- package/dist/_rollupPluginBabelHelpers-20f659f4.d.ts.map +0 -1
- package/dist/_rollupPluginBabelHelpers-20f659f4.js +0 -30
- package/dist/defineElement-40372b4b.d.ts +0 -9
- package/dist/defineElement-40372b4b.d.ts.map +0 -1
- package/dist/defineElement-40372b4b.js +0 -15
- package/dist/icon-03e86700.d.ts +0 -11
- package/dist/icon-03e86700.d.ts.map +0 -1
- package/dist/index.js.d.ts.map +0 -1
- package/src/lib/defineElement.js +0 -13
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import type { DefineComponent } from "vue";
|
|
2
|
+
|
|
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
|
+
import type { LeuCheckbox } from "../Checkbox.js";
|
|
8
|
+
import type { LeuCheckboxGroup } from "../CheckboxGroup.js";
|
|
9
|
+
import type { LeuChipGroup } from "../ChipGroup.js";
|
|
10
|
+
import type { LeuChipLink } from "../ChipLink.js";
|
|
11
|
+
import type { LeuChipRemovable } from "../ChipRemovable.js";
|
|
12
|
+
import type { LeuChipSelectable, CustomEvent } from "../ChipSelectable.js";
|
|
13
|
+
import type { LeuDropdown } from "../Dropdown.js";
|
|
14
|
+
import type { LeuIcon } from "../Icon.js";
|
|
15
|
+
import type { LeuInput, CustomEvent } from "../Input.js";
|
|
16
|
+
import type { LeuMenu } from "../Menu.js";
|
|
17
|
+
import type { LeuMenuItem } from "../MenuItem.js";
|
|
18
|
+
import type { LeuPagination, CustomEvent } from "../Pagination.js";
|
|
19
|
+
import type { LeuPopup } from "../Popup.js";
|
|
20
|
+
import type { LeuRadio } from "../Radio.js";
|
|
21
|
+
import type { LeuRadioGroup } from "../RadioGroup.js";
|
|
22
|
+
import type { LeuScrollTop } from "../ScrollTop.js";
|
|
23
|
+
import type { LeuSelect } from "../Select.js";
|
|
24
|
+
import type { LeuTable } from "../Table.js";
|
|
25
|
+
import type { LeuVisuallyHidden } from "../VisuallyHidden.js";
|
|
26
|
+
|
|
27
|
+
type LeuAccordionProps = {
|
|
28
|
+
/** The heading level of the accordion title. Must be between 1 and 6. */
|
|
29
|
+
"heading-level"?: LeuAccordion["headingLevel"];
|
|
30
|
+
/** The prefix of the accordion label. e.g. "01" */
|
|
31
|
+
"label-prefix"?: LeuAccordion["labelPrefix"];
|
|
32
|
+
/** The expanded state of the accordion. */
|
|
33
|
+
open?: LeuAccordion["open"];
|
|
34
|
+
/** The label (title) of the accordion. */
|
|
35
|
+
label?: LeuAccordion["label"];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
type LeuBreadcrumbProps = {
|
|
39
|
+
/** Object array with { label, href } */
|
|
40
|
+
items?: LeuBreadcrumb["items"];
|
|
41
|
+
/** invert color on dark background */
|
|
42
|
+
inverted?: LeuBreadcrumb["inverted"];
|
|
43
|
+
/** */
|
|
44
|
+
_hiddenItems?: LeuBreadcrumb["_hiddenItems"];
|
|
45
|
+
/** */
|
|
46
|
+
_showBackOnly?: LeuBreadcrumb["_showBackOnly"];
|
|
47
|
+
/** */
|
|
48
|
+
_isRecalculating?: LeuBreadcrumb["_isRecalculating"];
|
|
49
|
+
/** */
|
|
50
|
+
_isDropdownOpen?: LeuBreadcrumb["_isDropdownOpen"];
|
|
51
|
+
/** */
|
|
52
|
+
_handleResize?: LeuBreadcrumb["_handleResize"];
|
|
53
|
+
/** */
|
|
54
|
+
_closeDropdown?: LeuBreadcrumb["_closeDropdown"];
|
|
55
|
+
/** */
|
|
56
|
+
resizeObserver?: LeuBreadcrumb["resizeObserver"];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
type LeuButtonProps = {
|
|
60
|
+
/** */
|
|
61
|
+
label?: LeuButton["label"];
|
|
62
|
+
/** */
|
|
63
|
+
size?: LeuButton["size"];
|
|
64
|
+
/** */
|
|
65
|
+
variant?: LeuButton["variant"];
|
|
66
|
+
/** */
|
|
67
|
+
type?: LeuButton["type"];
|
|
68
|
+
/** */
|
|
69
|
+
componentRole?: LeuButton["componentRole"];
|
|
70
|
+
/** */
|
|
71
|
+
disabled?: LeuButton["disabled"];
|
|
72
|
+
/** Only taken into account if no Label and an Icon is set */
|
|
73
|
+
round?: LeuButton["round"];
|
|
74
|
+
/** */
|
|
75
|
+
active?: LeuButton["active"];
|
|
76
|
+
/** will be used on dark Background */
|
|
77
|
+
inverted?: LeuButton["inverted"];
|
|
78
|
+
/** Only taken into account if variant is "ghost" */
|
|
79
|
+
expanded?: LeuButton["expanded"];
|
|
80
|
+
/** Alters the shape of the button to be full width of its parent container */
|
|
81
|
+
fluid?: LeuButton["fluid"];
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
type LeuButtonGroupProps = {
|
|
85
|
+
/** The value of the currenty selected (active) button */
|
|
86
|
+
value?: LeuButtonGroup["value"];
|
|
87
|
+
/** */
|
|
88
|
+
_items?: LeuButtonGroup["_items"];
|
|
89
|
+
/** When the value of the group changes by clicking a button */
|
|
90
|
+
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
type LeuCheckboxProps = {
|
|
94
|
+
/** */
|
|
95
|
+
checked?: LeuCheckbox["checked"];
|
|
96
|
+
/** */
|
|
97
|
+
disabled?: LeuCheckbox["disabled"];
|
|
98
|
+
/** */
|
|
99
|
+
value?: LeuCheckbox["value"];
|
|
100
|
+
/** */
|
|
101
|
+
name?: LeuCheckbox["name"];
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
type LeuCheckboxGroupProps = {
|
|
105
|
+
/** */
|
|
106
|
+
orientation?: LeuCheckboxGroup["orientation"];
|
|
107
|
+
/** */
|
|
108
|
+
label?: LeuCheckboxGroup["label"];
|
|
109
|
+
/** */
|
|
110
|
+
value?: LeuCheckboxGroup["value"];
|
|
111
|
+
/** */
|
|
112
|
+
items?: LeuCheckboxGroup["items"];
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
type LeuChipGroupProps = {
|
|
116
|
+
/** */
|
|
117
|
+
inverted?: LeuChipGroup["inverted"];
|
|
118
|
+
/** */
|
|
119
|
+
"selection-mode"?: LeuChipGroup["selectionMode"];
|
|
120
|
+
/** */
|
|
121
|
+
"heading-level"?: LeuChipGroup["headingLevel"];
|
|
122
|
+
/** */
|
|
123
|
+
label?: LeuChipGroup["label"];
|
|
124
|
+
/** */
|
|
125
|
+
value?: LeuChipGroup["value"];
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
type LeuChipLinkProps = {
|
|
129
|
+
/** The size of the chip */
|
|
130
|
+
size?: LeuChipLink["size"];
|
|
131
|
+
/** */
|
|
132
|
+
href?: LeuChipLink["href"];
|
|
133
|
+
/** */
|
|
134
|
+
inverted?: LeuChipLink["inverted"];
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
type LeuChipRemovableProps = {
|
|
138
|
+
/** */
|
|
139
|
+
inverted?: LeuChipRemovable["inverted"];
|
|
140
|
+
|
|
141
|
+
/** Dispatched when the user clicks on the chip */
|
|
142
|
+
onRemove?: (e: CustomEvent<never>) => void;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
type LeuChipSelectableProps = {
|
|
146
|
+
/** The size of the chip. Not supported for radio variant. */
|
|
147
|
+
size?: LeuChipSelectable["size"];
|
|
148
|
+
/** `toggle` or `radio`. Determines if only one or multiple chips can be selected. */
|
|
149
|
+
variant?: LeuChipSelectable["variant"];
|
|
150
|
+
/** */
|
|
151
|
+
selected?: LeuChipSelectable["selected"];
|
|
152
|
+
/** */
|
|
153
|
+
value?: LeuChipSelectable["value"];
|
|
154
|
+
/** */
|
|
155
|
+
inverted?: LeuChipSelectable["inverted"];
|
|
156
|
+
|
|
157
|
+
/** */
|
|
158
|
+
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
type LeuDropdownProps = {
|
|
162
|
+
/** */
|
|
163
|
+
label?: LeuDropdown["label"];
|
|
164
|
+
/** */
|
|
165
|
+
expanded?: LeuDropdown["expanded"];
|
|
166
|
+
/** */
|
|
167
|
+
hasSlotController?: LeuDropdown["hasSlotController"];
|
|
168
|
+
/** */
|
|
169
|
+
_documentClickHandler?: LeuDropdown["_documentClickHandler"];
|
|
170
|
+
/** */
|
|
171
|
+
_menuItemClickHandler?: LeuDropdown["_menuItemClickHandler"];
|
|
172
|
+
/** Close the dropdown when the user presses the Escape or the Tab key.
|
|
173
|
+
Navigating the menu with the arrow keys is handled by the menu itself. */
|
|
174
|
+
_keyDownMenuHandler?: LeuDropdown["_keyDownMenuHandler"];
|
|
175
|
+
/** */
|
|
176
|
+
_toggleRef?: LeuDropdown["_toggleRef"];
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
type LeuIconProps = {
|
|
180
|
+
/** The name of the icon to display. */
|
|
181
|
+
name?: LeuIcon["name"];
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
type LeuInputProps = {
|
|
185
|
+
/** Disables the input element. */
|
|
186
|
+
disabled?: LeuInput["disabled"];
|
|
187
|
+
/** Marks the input element as required. */
|
|
188
|
+
required?: LeuInput["required"];
|
|
189
|
+
/** Adds a button to clear the input element. */
|
|
190
|
+
clearable?: LeuInput["clearable"];
|
|
191
|
+
/** The value of the input element. */
|
|
192
|
+
value?: LeuInput["value"];
|
|
193
|
+
/** The name of the input element. */
|
|
194
|
+
name?: LeuInput["name"];
|
|
195
|
+
/** A custom error that is completely independent of the validity state. Useful for displaying server side errors. */
|
|
196
|
+
error?: LeuInput["error"];
|
|
197
|
+
/** The label of the input element. */
|
|
198
|
+
label?: LeuInput["label"];
|
|
199
|
+
/** A prefix that relates to the value of the input (e.g. CHF). */
|
|
200
|
+
prefix?: LeuInput["prefix"];
|
|
201
|
+
/** A suffix that relates to the value of the input (e.g. mm). */
|
|
202
|
+
suffix?: LeuInput["suffix"];
|
|
203
|
+
/** The size of the input element. */
|
|
204
|
+
size?: LeuInput["size"];
|
|
205
|
+
/** The icon that is displayed at the end of the input element. */
|
|
206
|
+
icon?: LeuInput["icon"];
|
|
207
|
+
/** A regular expression that the value is checked against. */
|
|
208
|
+
pattern?: LeuInput["pattern"];
|
|
209
|
+
/** The type of the input element. */
|
|
210
|
+
type?: LeuInput["type"];
|
|
211
|
+
/** The minimum value of the input element. */
|
|
212
|
+
min?: LeuInput["min"];
|
|
213
|
+
/** The maximum value of the input element. */
|
|
214
|
+
max?: LeuInput["max"];
|
|
215
|
+
/** The maximum length of the input element. */
|
|
216
|
+
maxlength?: LeuInput["maxlength"];
|
|
217
|
+
/** The minimum length of the input element. */
|
|
218
|
+
minlength?: LeuInput["minlength"];
|
|
219
|
+
/** Custom validation messages. The key is the name of the validity state and the value is the message. */
|
|
220
|
+
validationMessages?: LeuInput["validationMessages"];
|
|
221
|
+
/** Disables the browser's validation. */
|
|
222
|
+
novalidate?: LeuInput["novalidate"];
|
|
223
|
+
/** The step value of the input element. */
|
|
224
|
+
step?: LeuInput["step"];
|
|
225
|
+
/** */
|
|
226
|
+
_validity?: LeuInput["_validity"];
|
|
227
|
+
|
|
228
|
+
/** Dispatched when the value of the input element changes. */
|
|
229
|
+
onInput?: (e: CustomEvent<CustomEvent>) => void;
|
|
230
|
+
/** Dispatched when the value of the input element changes and the input element loses focus. */
|
|
231
|
+
onChange?: (e: CustomEvent<CustomEvent>) => void;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
type LeuMenuProps = {
|
|
235
|
+
/** This has only an effect when the role is 'menu'. It defines which role the menu items will get. Default is 'none'. */
|
|
236
|
+
selects?: LeuMenu["selects"];
|
|
237
|
+
/** */
|
|
238
|
+
value?: LeuMenu["value"];
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
type LeuMenuItemProps = {
|
|
242
|
+
/** Defines if the item is selected or checked */
|
|
243
|
+
active?: LeuMenuItem["active"];
|
|
244
|
+
/** Disables the underlying button or link */
|
|
245
|
+
disabled?: LeuMenuItem["disabled"];
|
|
246
|
+
/** If the item should be focusable. Will be reflected as `tabindex` to the underlying button or link */
|
|
247
|
+
tabbable?: LeuMenuItem["tabbable"];
|
|
248
|
+
/** The href of the underlying link */
|
|
249
|
+
href?: LeuMenuItem["href"];
|
|
250
|
+
/** The value of the item. It must not contain commas. See `getValue()` */
|
|
251
|
+
value?: LeuMenuItem["value"];
|
|
252
|
+
/** The role of the item. This will be reflected as `role` to the underlying button or link. Default is `'menuitem'.` */
|
|
253
|
+
componentRole?: LeuMenuItem["componentRole"];
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
type LeuPaginationProps = {
|
|
257
|
+
/** */
|
|
258
|
+
defaultPage?: LeuPagination["defaultPage"];
|
|
259
|
+
/** */
|
|
260
|
+
itemsPerPage?: LeuPagination["itemsPerPage"];
|
|
261
|
+
/** */
|
|
262
|
+
numOfItems?: LeuPagination["numOfItems"];
|
|
263
|
+
/** */
|
|
264
|
+
_page?: LeuPagination["_page"];
|
|
265
|
+
/** */
|
|
266
|
+
page?: LeuPagination["page"];
|
|
267
|
+
/** */
|
|
268
|
+
startIndex?: LeuPagination["startIndex"];
|
|
269
|
+
/** */
|
|
270
|
+
endIndex?: LeuPagination["endIndex"];
|
|
271
|
+
/** */
|
|
272
|
+
_maxPage?: LeuPagination["_maxPage"];
|
|
273
|
+
/** */
|
|
274
|
+
onLeupagechange?: (e: CustomEvent<CustomEvent>) => void;
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
type LeuPopupProps = {
|
|
278
|
+
/** */
|
|
279
|
+
anchor?: LeuPopup["anchor"];
|
|
280
|
+
/** */
|
|
281
|
+
active?: LeuPopup["active"];
|
|
282
|
+
/** */
|
|
283
|
+
placement?: LeuPopup["placement"];
|
|
284
|
+
/** */
|
|
285
|
+
flip?: LeuPopup["flip"];
|
|
286
|
+
/** */
|
|
287
|
+
shift?: LeuPopup["shift"];
|
|
288
|
+
/** */
|
|
289
|
+
shiftPadding?: LeuPopup["shiftPadding"];
|
|
290
|
+
/** */
|
|
291
|
+
matchSize?: LeuPopup["matchSize"];
|
|
292
|
+
/** */
|
|
293
|
+
autoSize?: LeuPopup["autoSize"];
|
|
294
|
+
/** */
|
|
295
|
+
autoSizePadding?: LeuPopup["autoSizePadding"];
|
|
296
|
+
/** */
|
|
297
|
+
popupEl?: LeuPopup["popupEl"];
|
|
298
|
+
/** */
|
|
299
|
+
anchorEl?: LeuPopup["anchorEl"];
|
|
300
|
+
/** */
|
|
301
|
+
cleanup?: LeuPopup["cleanup"];
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
type LeuRadioProps = {
|
|
305
|
+
/** */
|
|
306
|
+
checked?: LeuRadio["checked"];
|
|
307
|
+
/** */
|
|
308
|
+
disabled?: LeuRadio["disabled"];
|
|
309
|
+
/** */
|
|
310
|
+
value?: LeuRadio["value"];
|
|
311
|
+
/** */
|
|
312
|
+
name?: LeuRadio["name"];
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
type LeuRadioGroupProps = {
|
|
316
|
+
/** */
|
|
317
|
+
orientation?: LeuRadioGroup["orientation"];
|
|
318
|
+
/** */
|
|
319
|
+
label?: LeuRadioGroup["label"];
|
|
320
|
+
/** */
|
|
321
|
+
value?: LeuRadioGroup["value"];
|
|
322
|
+
/** */
|
|
323
|
+
handleFocusIn?: LeuRadioGroup["handleFocusIn"];
|
|
324
|
+
/** */
|
|
325
|
+
handleKeyDown?: LeuRadioGroup["handleKeyDown"];
|
|
326
|
+
/** */
|
|
327
|
+
handleInput?: LeuRadioGroup["handleInput"];
|
|
328
|
+
/** */
|
|
329
|
+
_currentIndex?: LeuRadioGroup["_currentIndex"];
|
|
330
|
+
/** */
|
|
331
|
+
items?: LeuRadioGroup["items"];
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
type LeuScrollTopProps = {
|
|
335
|
+
/** */
|
|
336
|
+
_showButton?: LeuScrollTop["_showButton"];
|
|
337
|
+
/** */
|
|
338
|
+
scroll?: LeuScrollTop["scroll"];
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
type LeuSelectProps = {
|
|
342
|
+
/** List of selected values. If they're set from outside the component, the select element tries to find all the options with the given values and selects them. */
|
|
343
|
+
value?: LeuSelect["value"];
|
|
344
|
+
/** Reflects to the name attribute of the hidden input field that would be used in a form */
|
|
345
|
+
name?: LeuSelect["name"];
|
|
346
|
+
/** The expanded state of the popup */
|
|
347
|
+
open?: LeuSelect["open"];
|
|
348
|
+
/** The label of the select */
|
|
349
|
+
label?: LeuSelect["label"];
|
|
350
|
+
/** Show a clearable button to reset the value */
|
|
351
|
+
clearable?: LeuSelect["clearable"];
|
|
352
|
+
/** If the select should be disabled */
|
|
353
|
+
disabled?: LeuSelect["disabled"];
|
|
354
|
+
/** Show an input field to filter the options inside the popup */
|
|
355
|
+
filterable?: LeuSelect["filterable"];
|
|
356
|
+
/** Allow multiple selections */
|
|
357
|
+
multiple?: LeuSelect["multiple"];
|
|
358
|
+
/** */
|
|
359
|
+
_optionFilter?: LeuSelect["_optionFilter"];
|
|
360
|
+
/** */
|
|
361
|
+
_hasFilterResults?: LeuSelect["_hasFilterResults"];
|
|
362
|
+
/** */
|
|
363
|
+
_displayValue?: LeuSelect["_displayValue"];
|
|
364
|
+
/** */
|
|
365
|
+
_optionFilterRef?: LeuSelect["_optionFilterRef"];
|
|
366
|
+
/** */
|
|
367
|
+
_toggleButtonRef?: LeuSelect["_toggleButtonRef"];
|
|
368
|
+
/** */
|
|
369
|
+
_menuRef?: LeuSelect["_menuRef"];
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
type LeuTableProps = {
|
|
373
|
+
/** */
|
|
374
|
+
columns?: LeuTable["columns"];
|
|
375
|
+
/** */
|
|
376
|
+
data?: LeuTable["data"];
|
|
377
|
+
/** */
|
|
378
|
+
firstColumnSticky?: LeuTable["firstColumnSticky"];
|
|
379
|
+
/** */
|
|
380
|
+
itemsPerPage?: LeuTable["itemsPerPage"];
|
|
381
|
+
/** */
|
|
382
|
+
sortIndex?: LeuTable["sortIndex"];
|
|
383
|
+
/** */
|
|
384
|
+
sortOrderAsc?: LeuTable["sortOrderAsc"];
|
|
385
|
+
/** */
|
|
386
|
+
width?: LeuTable["width"];
|
|
387
|
+
/** */
|
|
388
|
+
_shadowLeft?: LeuTable["_shadowLeft"];
|
|
389
|
+
/** */
|
|
390
|
+
_shadowRight?: LeuTable["_shadowRight"];
|
|
391
|
+
/** */
|
|
392
|
+
_page?: LeuTable["_page"];
|
|
393
|
+
/** */
|
|
394
|
+
_columns?: LeuTable["_columns"];
|
|
395
|
+
/** */
|
|
396
|
+
_sortedData?: LeuTable["_sortedData"];
|
|
397
|
+
/** */
|
|
398
|
+
_data?: LeuTable["_data"];
|
|
399
|
+
/** */
|
|
400
|
+
_resizeObserver?: LeuTable["_resizeObserver"];
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
type LeuVisuallyHiddenProps = {};
|
|
404
|
+
|
|
405
|
+
export type CustomElements = {
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* ---
|
|
409
|
+
*
|
|
410
|
+
*
|
|
411
|
+
* ### **Slots:**
|
|
412
|
+
* - **content** - The content of the accordion. No styles will be applied to the content.
|
|
413
|
+
*/
|
|
414
|
+
"leu-accordion": DefineComponent<LeuAccordionProps>;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* A Breadcrumb Navigation.
|
|
418
|
+
*
|
|
419
|
+
* The breadcrumbs can be displayed in two different layouts.
|
|
420
|
+
* Only the back link (the last item / parent of the current page)
|
|
421
|
+
* is displayed when…
|
|
422
|
+
* - … the width of the container is smaller
|
|
423
|
+
* than the BACK_ONLY_BREAKPOINT.
|
|
424
|
+
* - … less then two breadcrumb items could be displayed
|
|
425
|
+
* without overflowing the container.
|
|
426
|
+
*
|
|
427
|
+
* Otherwise as many items as possible are displayed in an inline list
|
|
428
|
+
* without overflowing the container. The remaining items are displayed
|
|
429
|
+
* in a dropdown menu.
|
|
430
|
+
*
|
|
431
|
+
* In order to determine the exact numbers of items that have to be
|
|
432
|
+
* hidden inside the dropdown, all of them have to be rendered first.
|
|
433
|
+
* 1. Render all items
|
|
434
|
+
* 2. Calculate (measure) the number of items that can be displayed
|
|
435
|
+
* without overflowing the container.
|
|
436
|
+
* 3. Updating the state (_hiddeItems) which will trigger a rerender
|
|
437
|
+
* 4. Render the items again with the new state.
|
|
438
|
+
*
|
|
439
|
+
* This results in multiple updates scheduled one after another. Lit
|
|
440
|
+
* will also print a waring in the console beacause of that.
|
|
441
|
+
* It's no a nice behaviour but the only one that works without
|
|
442
|
+
* having duplicate and hidden markup to derive the sizes from that.
|
|
443
|
+
* ---
|
|
444
|
+
*
|
|
445
|
+
*
|
|
446
|
+
* ### **Methods:**
|
|
447
|
+
* - **renderDropdown(): __** - Render the dropdown menu
|
|
448
|
+
*/
|
|
449
|
+
"leu-breadcrumb": DefineComponent<LeuBreadcrumbProps>;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* ---
|
|
454
|
+
*
|
|
455
|
+
*
|
|
456
|
+
* ### **Slots:**
|
|
457
|
+
* - **before** - The icon to display before the label
|
|
458
|
+
* - **after** - The icon to display after the label
|
|
459
|
+
* - _default_ - The label of the button or the icon if no label is set
|
|
460
|
+
*/
|
|
461
|
+
"leu-button": DefineComponent<LeuButtonProps>;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* ---
|
|
466
|
+
*
|
|
467
|
+
*
|
|
468
|
+
* ### **Events:**
|
|
469
|
+
* - **input** - When the value of the group changes by clicking a button
|
|
470
|
+
*
|
|
471
|
+
* ### **Slots:**
|
|
472
|
+
* - _default_ - Slot for the buttons
|
|
473
|
+
*/
|
|
474
|
+
"leu-button-group": DefineComponent<LeuButtonGroupProps>;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* ---
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
"leu-checkbox": DefineComponent<LeuCheckboxProps>;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
*
|
|
485
|
+
* ---
|
|
486
|
+
*
|
|
487
|
+
*/
|
|
488
|
+
"leu-checkbox-group": DefineComponent<LeuCheckboxGroupProps>;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* ---
|
|
493
|
+
*
|
|
494
|
+
*
|
|
495
|
+
* ### **Slots:**
|
|
496
|
+
* - _default_ - Place leu-chip-* elements inside this slot
|
|
497
|
+
*
|
|
498
|
+
* ### **CSS Properties:**
|
|
499
|
+
* - **--leu-chip-group-gap** - The gap between the chips _(default: undefined)_
|
|
500
|
+
*/
|
|
501
|
+
"leu-chip-group": DefineComponent<LeuChipGroupProps>;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* ---
|
|
506
|
+
*
|
|
507
|
+
*
|
|
508
|
+
* ### **Slots:**
|
|
509
|
+
* - _default_ - The content of the chip
|
|
510
|
+
*/
|
|
511
|
+
"leu-chip-link": DefineComponent<LeuChipLinkProps>;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* ---
|
|
516
|
+
*
|
|
517
|
+
*
|
|
518
|
+
* ### **Events:**
|
|
519
|
+
* - **remove** - Dispatched when the user clicks on the chip
|
|
520
|
+
*
|
|
521
|
+
* ### **Slots:**
|
|
522
|
+
* - _default_ - The content of the chip
|
|
523
|
+
*/
|
|
524
|
+
"leu-chip-removable": DefineComponent<LeuChipRemovableProps>;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* A chip component that can be selected.
|
|
528
|
+
* ---
|
|
529
|
+
*
|
|
530
|
+
*
|
|
531
|
+
* ### **Events:**
|
|
532
|
+
* - **input**
|
|
533
|
+
*
|
|
534
|
+
* ### **Slots:**
|
|
535
|
+
* - _default_ - The content of the chip
|
|
536
|
+
*/
|
|
537
|
+
"leu-chip-selectable": DefineComponent<LeuChipSelectableProps>;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* ---
|
|
542
|
+
*
|
|
543
|
+
*/
|
|
544
|
+
"leu-dropdown": DefineComponent<LeuDropdownProps>;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* A component to render all defined zhWeb icons.
|
|
548
|
+
* The `fill` of the icon is set to `currentColor` and
|
|
549
|
+
* can be overriden by setting the css `color` property.
|
|
550
|
+
* If the icon name is not found, a placeholder will be displayed.
|
|
551
|
+
* ---
|
|
552
|
+
*
|
|
553
|
+
*
|
|
554
|
+
* ### **CSS Properties:**
|
|
555
|
+
* - **--leu-icon-size** - The size of the icon. _(default: undefined)_
|
|
556
|
+
*/
|
|
557
|
+
"leu-icon": DefineComponent<LeuIconProps>;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* A text input element.
|
|
561
|
+
* ---
|
|
562
|
+
*
|
|
563
|
+
*
|
|
564
|
+
* ### **Events:**
|
|
565
|
+
* - **input** - Dispatched when the value of the input element changes.
|
|
566
|
+
* - **change** - Dispatched when the value of the input element changes and the input element loses focus.
|
|
567
|
+
*
|
|
568
|
+
* ### **Methods:**
|
|
569
|
+
* - **getValidationMessages(): _Object_** - Merge custom and default validation messages.
|
|
570
|
+
* A validation message can be a function or a string.
|
|
571
|
+
* If it s a function, the function is called with the corresponding
|
|
572
|
+
* attribute value as argument.
|
|
573
|
+
* e.g.
|
|
574
|
+
* `tooLong(this.maxlength)`
|
|
575
|
+
* This way the framework user can create reasonable validation messages
|
|
576
|
+
* - **renderErrorMessages(): _TemplateResult | nothing_** - Creates an error list with an item for the given validity state.
|
|
577
|
+
*/
|
|
578
|
+
"leu-input": DefineComponent<LeuInputProps>;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
*
|
|
582
|
+
* ---
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
"leu-menu": DefineComponent<LeuMenuProps>;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* ---
|
|
590
|
+
*
|
|
591
|
+
*
|
|
592
|
+
* ### **Methods:**
|
|
593
|
+
* - **getValue(): _string_** - Returns the value of the item. If `value` is not set, it will return the inner text
|
|
594
|
+
*
|
|
595
|
+
* ### **Slots:**
|
|
596
|
+
* - _default_ - The label of the menu item
|
|
597
|
+
*/
|
|
598
|
+
"leu-menu-item": DefineComponent<LeuMenuItemProps>;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* ---
|
|
603
|
+
*
|
|
604
|
+
*
|
|
605
|
+
* ### **Events:**
|
|
606
|
+
* - **leu:pagechange**
|
|
607
|
+
*/
|
|
608
|
+
"leu-pagination": DefineComponent<LeuPaginationProps>;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* ---
|
|
613
|
+
*
|
|
614
|
+
*/
|
|
615
|
+
"leu-popup": DefineComponent<LeuPopupProps>;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* ---
|
|
620
|
+
*
|
|
621
|
+
*/
|
|
622
|
+
"leu-radio": DefineComponent<LeuRadioProps>;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* ---
|
|
627
|
+
*
|
|
628
|
+
*/
|
|
629
|
+
"leu-radio-group": DefineComponent<LeuRadioGroupProps>;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* ---
|
|
634
|
+
*
|
|
635
|
+
*/
|
|
636
|
+
"leu-scroll-top": DefineComponent<LeuScrollTopProps>;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* ---
|
|
641
|
+
*
|
|
642
|
+
*
|
|
643
|
+
* ### **Methods:**
|
|
644
|
+
* - **_updateMenuItems(changed)** - Apply the current state to the menu items.
|
|
645
|
+
* - Set the active property when the value property has changed.
|
|
646
|
+
* - Hide menu items that do not match the filter.
|
|
647
|
+
* - **_getDisplayValue(): _String | nothing_** - Determines the value or label that should be displayed inside the toggle button.
|
|
648
|
+
* - **_isSelected(menuItemValue: _String_): _Boolean_** - Checks if the given value is selected.
|
|
649
|
+
* - **_handlePopupFocusOut(event)** - Close the dropdown if the focus moves outside the component.
|
|
650
|
+
*
|
|
651
|
+
* ### **Slots:**
|
|
652
|
+
* - **before** - Optional content the appears before the option list
|
|
653
|
+
* - **after** - Optional content the appears after the option list
|
|
654
|
+
*/
|
|
655
|
+
"leu-select": DefineComponent<LeuSelectProps>;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* ---
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
"leu-table": DefineComponent<LeuTableProps>;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* ---
|
|
667
|
+
*
|
|
668
|
+
*/
|
|
669
|
+
"leu-visually-hidden": DefineComponent<LeuVisuallyHiddenProps>;
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
declare module "vue" {
|
|
673
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
674
|
+
interface GlobalComponents extends CustomElements {}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
declare global {
|
|
678
|
+
namespace JSX {
|
|
679
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
680
|
+
interface IntrinsicElements extends CustomElements {}
|
|
681
|
+
}
|
|
682
|
+
}
|