@statistikzh/leu 0.21.1 → 0.22.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.
Files changed (193) hide show
  1. package/.github/workflows/release-please.yml +1 -2
  2. package/.nvmrc +1 -1
  3. package/.release-please-manifest.json +1 -1
  4. package/CHANGELOG.md +16 -0
  5. package/README.md +15 -10
  6. package/dist/Accordion.js +1 -1
  7. package/dist/Button.d.ts +1 -1
  8. package/dist/Button.js +1 -1
  9. package/dist/ButtonGroup.js +1 -1
  10. package/dist/ChartWrapper.js +1 -1
  11. package/dist/Checkbox.d.ts +1 -1
  12. package/dist/Checkbox.js +1 -1
  13. package/dist/CheckboxGroup.js +1 -1
  14. package/dist/Chip.d.ts +1 -7
  15. package/dist/Chip.js +7 -5
  16. package/dist/ChipGroup.d.ts +17 -36
  17. package/dist/ChipGroup.js +35 -33
  18. package/dist/ChipLink.d.ts +5 -21
  19. package/dist/ChipLink.js +14 -15
  20. package/dist/ChipRemovable.d.ts +4 -15
  21. package/dist/ChipRemovable.js +7 -9
  22. package/dist/ChipSelectable.d.ts +14 -37
  23. package/dist/ChipSelectable.js +24 -28
  24. package/dist/Dialog.d.ts +7 -18
  25. package/dist/Dialog.js +15 -18
  26. package/dist/Dropdown.d.ts +16 -24
  27. package/dist/Dropdown.js +23 -21
  28. package/dist/FileInput.d.ts +2 -1
  29. package/dist/FileInput.js +19 -5
  30. package/dist/Icon.d-itcQ94ym.d.ts +151 -0
  31. package/dist/Icon.d.ts +4 -156
  32. package/dist/Icon.js +1 -4
  33. package/dist/Input.d.ts +73 -141
  34. package/dist/Input.js +91 -88
  35. package/dist/{LeuElement-BLUQU9Eu.js → LeuElement-DfsEye-A.js} +1 -1
  36. package/dist/Menu.d.ts +2 -8
  37. package/dist/Menu.js +7 -9
  38. package/dist/MenuItem.d.ts +31 -59
  39. package/dist/MenuItem.js +30 -33
  40. package/dist/Message.d.ts +1 -1
  41. package/dist/Message.js +1 -1
  42. package/dist/Pagination.d.ts +1 -1
  43. package/dist/Pagination.js +1 -1
  44. package/dist/Placeholder.js +1 -1
  45. package/dist/Popup.js +1 -1
  46. package/dist/ProgressBar.js +1 -1
  47. package/dist/Radio.js +1 -1
  48. package/dist/RadioGroup.js +1 -1
  49. package/dist/Range.d.ts +22 -65
  50. package/dist/Range.js +36 -37
  51. package/dist/ScrollTop.d.ts +5 -7
  52. package/dist/ScrollTop.js +10 -15
  53. package/dist/Select.d.ts +2 -1
  54. package/dist/Select.js +1 -1
  55. package/dist/Spinner.js +1 -1
  56. package/dist/Table.d.ts +1 -1
  57. package/dist/Table.js +1 -1
  58. package/dist/Tag.js +1 -1
  59. package/dist/VisuallyHidden.js +1 -1
  60. package/dist/components/chart-wrapper/leu-chart-wrapper.d.ts +5 -0
  61. package/dist/components/chart-wrapper/leu-chart-wrapper.d.ts.map +1 -1
  62. package/dist/components/chip/Chip.d.ts +1 -7
  63. package/dist/components/chip/Chip.d.ts.map +1 -1
  64. package/dist/components/chip/ChipGroup.d.ts +15 -35
  65. package/dist/components/chip/ChipGroup.d.ts.map +1 -1
  66. package/dist/components/chip/ChipLink.d.ts +4 -20
  67. package/dist/components/chip/ChipLink.d.ts.map +1 -1
  68. package/dist/components/chip/ChipRemovable.d.ts +3 -14
  69. package/dist/components/chip/ChipRemovable.d.ts.map +1 -1
  70. package/dist/components/chip/ChipSelectable.d.ts +13 -36
  71. package/dist/components/chip/ChipSelectable.d.ts.map +1 -1
  72. package/dist/components/chip/stories/chip-group.stories.d.ts +1 -1
  73. package/dist/components/chip/stories/chip-group.stories.d.ts.map +1 -1
  74. package/dist/components/chip/stories/chip-link.stories.d.ts.map +1 -1
  75. package/dist/components/chip/stories/chip-selectable.stories.d.ts.map +1 -1
  76. package/dist/components/dialog/Dialog.d.ts +5 -17
  77. package/dist/components/dialog/Dialog.d.ts.map +1 -1
  78. package/dist/components/dropdown/Dropdown.d.ts +14 -23
  79. package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
  80. package/dist/components/dropdown/stories/dropdown.stories.d.ts.map +1 -1
  81. package/dist/components/file-input/FileInput.d.ts +1 -0
  82. package/dist/components/file-input/FileInput.d.ts.map +1 -1
  83. package/dist/components/file-input/leu-file-input.d.ts +5 -0
  84. package/dist/components/file-input/leu-file-input.d.ts.map +1 -1
  85. package/dist/components/file-input/stories/file-input.stories.d.ts +4 -0
  86. package/dist/components/file-input/stories/file-input.stories.d.ts.map +1 -1
  87. package/dist/components/icon/Icon.d.ts +0 -6
  88. package/dist/components/icon/Icon.d.ts.map +1 -1
  89. package/dist/components/input/Input.d.ts +73 -140
  90. package/dist/components/input/Input.d.ts.map +1 -1
  91. package/dist/components/menu/Menu.d.ts +1 -7
  92. package/dist/components/menu/Menu.d.ts.map +1 -1
  93. package/dist/components/menu/MenuItem.d.ts +30 -57
  94. package/dist/components/menu/MenuItem.d.ts.map +1 -1
  95. package/dist/components/message/leu-message.d.ts +5 -0
  96. package/dist/components/message/leu-message.d.ts.map +1 -1
  97. package/dist/components/placeholder/leu-placeholder.d.ts +5 -0
  98. package/dist/components/placeholder/leu-placeholder.d.ts.map +1 -1
  99. package/dist/components/progress-bar/leu-progress-bar.d.ts +5 -0
  100. package/dist/components/progress-bar/leu-progress-bar.d.ts.map +1 -1
  101. package/dist/components/range/Range.d.ts +22 -65
  102. package/dist/components/range/Range.d.ts.map +1 -1
  103. package/dist/components/scroll-top/ScrollTop.d.ts +4 -6
  104. package/dist/components/scroll-top/ScrollTop.d.ts.map +1 -1
  105. package/dist/components/tag/leu-tag.d.ts +5 -0
  106. package/dist/components/tag/leu-tag.d.ts.map +1 -1
  107. package/dist/index.d.ts +11 -0
  108. package/dist/index.d.ts.map +1 -1
  109. package/dist/index.js +13 -4
  110. package/dist/leu-accordion.js +1 -1
  111. package/dist/leu-button-group.js +1 -1
  112. package/dist/leu-button.d.ts +1 -1
  113. package/dist/leu-button.js +1 -1
  114. package/dist/leu-chart-wrapper.d.ts +10 -1
  115. package/dist/leu-chart-wrapper.js +1 -1
  116. package/dist/leu-checkbox-group.js +1 -1
  117. package/dist/leu-checkbox.d.ts +1 -1
  118. package/dist/leu-checkbox.js +1 -1
  119. package/dist/leu-chip-group.d.ts +2 -0
  120. package/dist/leu-chip-group.js +5 -1
  121. package/dist/leu-chip-link.js +3 -1
  122. package/dist/leu-chip-removable.d.ts +1 -1
  123. package/dist/leu-chip-removable.js +3 -3
  124. package/dist/leu-chip-selectable.js +3 -1
  125. package/dist/leu-dialog.d.ts +2 -1
  126. package/dist/leu-dialog.js +3 -3
  127. package/dist/leu-dropdown.d.ts +2 -1
  128. package/dist/leu-dropdown.js +3 -3
  129. package/dist/leu-file-input.d.ts +11 -2
  130. package/dist/leu-file-input.js +11 -4
  131. package/dist/leu-icon.d.ts +1 -1
  132. package/dist/leu-icon.js +1 -1
  133. package/dist/leu-input.d.ts +2 -1
  134. package/dist/leu-input.js +3 -3
  135. package/dist/leu-menu-item.d.ts +2 -2
  136. package/dist/leu-menu-item.js +3 -3
  137. package/dist/leu-menu.d.ts +1 -1
  138. package/dist/leu-menu.js +3 -3
  139. package/dist/leu-message.d.ts +11 -2
  140. package/dist/leu-message.js +1 -1
  141. package/dist/leu-pagination.d.ts +1 -1
  142. package/dist/leu-pagination.js +1 -1
  143. package/dist/leu-placeholder.d.ts +10 -1
  144. package/dist/leu-placeholder.js +1 -1
  145. package/dist/leu-popup.js +1 -1
  146. package/dist/leu-progress-bar.d.ts +10 -1
  147. package/dist/leu-progress-bar.js +1 -1
  148. package/dist/leu-radio-group.js +1 -1
  149. package/dist/leu-radio.js +1 -1
  150. package/dist/leu-range.js +3 -1
  151. package/dist/leu-scroll-top.d.ts +1 -1
  152. package/dist/leu-scroll-top.js +3 -3
  153. package/dist/leu-select.d.ts +2 -1
  154. package/dist/leu-select.js +1 -1
  155. package/dist/leu-spinner.js +1 -1
  156. package/dist/leu-table.d.ts +1 -1
  157. package/dist/leu-table.js +1 -1
  158. package/dist/leu-tag.d.ts +10 -1
  159. package/dist/leu-tag.js +1 -1
  160. package/dist/leu-visually-hidden.js +1 -1
  161. package/dist/vscode.html-custom-data.json +115 -111
  162. package/dist/vue/index.d.ts +116 -131
  163. package/dist/web-types.json +303 -303
  164. package/package.json +1 -1
  165. package/scripts/generate-component/templates/[namespace]-[name].ts +6 -0
  166. package/src/components/chart-wrapper/leu-chart-wrapper.ts +6 -0
  167. package/src/components/chip/Chip.ts +3 -9
  168. package/src/components/chip/ChipGroup.ts +26 -39
  169. package/src/components/chip/ChipLink.ts +7 -18
  170. package/src/components/chip/ChipRemovable.ts +4 -11
  171. package/src/components/chip/ChipSelectable.ts +21 -35
  172. package/src/components/chip/stories/chip-group.stories.ts +4 -7
  173. package/src/components/chip/stories/chip-link.stories.ts +2 -4
  174. package/src/components/chip/stories/chip-selectable.stories.ts +4 -6
  175. package/src/components/chip/test/chip-group.test.ts +34 -31
  176. package/src/components/dialog/Dialog.ts +9 -22
  177. package/src/components/dropdown/Dropdown.ts +20 -24
  178. package/src/components/dropdown/stories/dropdown.stories.ts +6 -2
  179. package/src/components/dropdown/test/dropdown.test.ts +14 -2
  180. package/src/components/file-input/FileInput.ts +12 -1
  181. package/src/components/file-input/leu-file-input.ts +6 -0
  182. package/src/components/file-input/stories/file-input.stories.ts +7 -0
  183. package/src/components/icon/Icon.ts +0 -4
  184. package/src/components/input/Input.ts +108 -105
  185. package/src/components/menu/Menu.ts +3 -12
  186. package/src/components/menu/MenuItem.ts +37 -41
  187. package/src/components/message/leu-message.ts +6 -0
  188. package/src/components/placeholder/leu-placeholder.ts +6 -0
  189. package/src/components/progress-bar/leu-progress-bar.ts +6 -0
  190. package/src/components/range/Range.ts +51 -59
  191. package/src/components/scroll-top/ScrollTop.ts +8 -15
  192. package/src/components/tag/leu-tag.ts +6 -0
  193. package/src/index.ts +11 -0
@@ -2,17 +2,17 @@ import type { DefineComponent } from "vue";
2
2
 
3
3
  import type { LeuAccordion } from "../Accordion.js";
4
4
  import type { LeuButton } from "../Button.js";
5
- import type { LeuButtonGroup } from "../ButtonGroup.js";
6
- import type { LeuChartWrapper } from "../ChartWrapper.js";
7
5
  import type { LeuCheckbox } from "../Checkbox.js";
8
6
  import type { LeuCheckboxGroup } from "../CheckboxGroup.js";
7
+ import type { LeuButtonGroup } from "../ButtonGroup.js";
8
+ import type { LeuChartWrapper } from "../ChartWrapper.js";
9
+ import type { LeuDropdown } from "../Dropdown.js";
10
+ import type { LeuDialog } from "../Dialog.js";
11
+ import type { LeuFileInput, CustomEvent } from "../FileInput.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 { LeuFileInput, CustomEvent } from "../FileInput.js";
16
16
  import type { LeuIcon } from "../Icon.js";
17
17
  import type { LeuInput, CustomEvent } from "../Input.js";
18
18
  import type { LeuMenu } from "../Menu.js";
@@ -74,6 +74,26 @@ If it is set, the icon will either show an expanded or collapsed state. */
74
74
  fluid?: LeuButton["fluid"];
75
75
  };
76
76
 
77
+ type LeuCheckboxProps = {
78
+ /** */
79
+ checked?: LeuCheckbox["checked"];
80
+ /** */
81
+ disabled?: LeuCheckbox["disabled"];
82
+ /** */
83
+ value?: LeuCheckbox["value"];
84
+ /** */
85
+ name?: LeuCheckbox["name"];
86
+ };
87
+
88
+ type LeuCheckboxGroupProps = {
89
+ /** Defines how the checkboxes should be aligned. */
90
+ orientation?: LeuCheckboxGroup["orientation"];
91
+ /** The label of the checkbox group */
92
+ label?: LeuCheckboxGroup["label"];
93
+ /** */
94
+ value?: LeuCheckboxGroup["value"];
95
+ };
96
+
77
97
  type LeuButtonGroupProps = {
78
98
  /** The value of the currently selected (active) button */
79
99
  value?: LeuButtonGroup["value"];
@@ -89,24 +109,49 @@ When set to `true`, a spinner will be shown in the chart container. */
89
109
  hasSlotController?: LeuChartWrapper["hasSlotController"];
90
110
  };
91
111
 
92
- type LeuCheckboxProps = {
112
+ type LeuDropdownProps = {
93
113
  /** */
94
- checked?: LeuCheckbox["checked"];
114
+ label?: LeuDropdown["label"];
95
115
  /** */
96
- disabled?: LeuCheckbox["disabled"];
116
+ expanded?: LeuDropdown["expanded"];
97
117
  /** */
98
- value?: LeuCheckbox["value"];
118
+ inverted?: LeuDropdown["inverted"];
119
+ };
120
+
121
+ type LeuDialogProps = {
99
122
  /** */
100
- name?: LeuCheckbox["name"];
123
+ label?: LeuDialog["label"];
124
+ /** */
125
+ sublabel?: LeuDialog["sublabel"];
126
+ /** */
127
+ open?: LeuDialog["open"];
101
128
  };
102
129
 
103
- type LeuCheckboxGroupProps = {
104
- /** Defines how the checkboxes should be aligned. */
105
- orientation?: LeuCheckboxGroup["orientation"];
106
- /** The label of the checkbox group */
107
- label?: LeuCheckboxGroup["label"];
130
+ type LeuFileInputProps = {
108
131
  /** */
109
- value?: LeuCheckboxGroup["value"];
132
+ label?: LeuFileInput["label"];
133
+ /** A list of acceptable file types. Must be a comma-separated list of [unique file type specifiers](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers). */
134
+ accept?: LeuFileInput["accept"];
135
+ /** Whether the file input is disabled. */
136
+ disabled?: LeuFileInput["disabled"];
137
+ /** Whether the file input allows multiple files. */
138
+ multiple?: LeuFileInput["multiple"];
139
+ /** Whether the file input is required. */
140
+ required?: LeuFileInput["required"];
141
+ /** The variant of the file list item. `filled` renders a gray background. */
142
+ variant?: LeuFileInput["variant"];
143
+ /** */
144
+ files?: LeuFileInput["files"];
145
+ /** */
146
+ input?: LeuFileInput["input"];
147
+ /** */
148
+ form?: LeuFileInput["form"];
149
+ /** */
150
+ name?: LeuFileInput["name"];
151
+ /** */
152
+ oninput?: (e: CustomEvent<CustomEvent>) => void;
153
+ /** */
154
+ onchange?: (e: CustomEvent<CustomEvent>) => void;
110
155
  };
111
156
 
112
157
  type LeuChipGroupProps = {
@@ -126,7 +171,7 @@ If the selectionMode is single, only the first item with the given value is chec
126
171
  type LeuChipLinkProps = {
127
172
  /** The size of the chip */
128
173
  size?: LeuChipLink["size"];
129
- /** */
174
+ /** The URL that the chip links to */
130
175
  href?: LeuChipLink["href"];
131
176
  /** */
132
177
  inverted?: LeuChipLink["inverted"];
@@ -143,13 +188,13 @@ type LeuChipRemovableProps = {
143
188
  };
144
189
 
145
190
  type LeuChipSelectableProps = {
146
- /** The size of the chip. Not supported for radio variant. */
191
+ /** The size of the chip. Has no effect when variant is "radio" */
147
192
  size?: LeuChipSelectable["size"];
148
- /** `toggle` or `radio`. Determines if only one or multiple chips can be selected. */
193
+ /** The variant of the chip. Determines if only one or multiple chips can be selected. */
149
194
  variant?: LeuChipSelectable["variant"];
150
- /** Whether the chip is selected. */
195
+ /** Whether the chip is selected */
151
196
  checked?: LeuChipSelectable["checked"];
152
- /** The value of the chip. */
197
+ /** The value of the chip */
153
198
  value?: LeuChipSelectable["value"];
154
199
  /** */
155
200
  inverted?: LeuChipSelectable["inverted"];
@@ -158,62 +203,6 @@ type LeuChipSelectableProps = {
158
203
  oninput?: (e: CustomEvent<CustomEvent>) => void;
159
204
  };
160
205
 
161
- type LeuDialogProps = {
162
- /** */
163
- label?: LeuDialog["label"];
164
- /** */
165
- sublabel?: LeuDialog["sublabel"];
166
- /** */
167
- open?: LeuDialog["open"];
168
- /** */
169
- _dialogRef?: LeuDialog["_dialogRef"];
170
- };
171
-
172
- type LeuDropdownProps = {
173
- /** */
174
- label?: LeuDropdown["label"];
175
- /** */
176
- expanded?: LeuDropdown["expanded"];
177
- /** */
178
- hasSlotController?: LeuDropdown["hasSlotController"];
179
- /** */
180
- _documentClickHandler?: LeuDropdown["_documentClickHandler"];
181
- /** */
182
- _menuItemClickHandler?: LeuDropdown["_menuItemClickHandler"];
183
- /** Close the dropdown when the user presses the Escape or the Tab key.
184
- Navigating the menu with the arrow keys is handled by the menu itself. */
185
- _keyDownMenuHandler?: LeuDropdown["_keyDownMenuHandler"];
186
- /** */
187
- _toggleRef?: LeuDropdown["_toggleRef"];
188
- };
189
-
190
- type LeuFileInputProps = {
191
- /** */
192
- label?: LeuFileInput["label"];
193
- /** A list of acceptable file types. Must be a comma-separated list of [unique file type specifiers](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers). */
194
- accept?: LeuFileInput["accept"];
195
- /** Whether the file input is disabled. */
196
- disabled?: LeuFileInput["disabled"];
197
- /** Whether the file input allows multiple files. */
198
- multiple?: LeuFileInput["multiple"];
199
- /** Whether the file input is required. */
200
- required?: LeuFileInput["required"];
201
- /** The variant of the file list item. `filled` renders a gray background. */
202
- variant?: LeuFileInput["variant"];
203
- /** */
204
- files?: LeuFileInput["files"];
205
- /** */
206
- input?: LeuFileInput["input"];
207
- /** */
208
- form?: LeuFileInput["form"];
209
- /** */
210
- name?: LeuFileInput["name"];
211
- /** */
212
- oninput?: (e: CustomEvent<CustomEvent>) => void;
213
- /** */
214
- onchange?: (e: CustomEvent<CustomEvent>) => void;
215
- };
216
-
217
206
  type LeuIconProps = {
218
207
  /** The name of the icon to display. */
219
208
  name?: LeuIcon["name"];
@@ -222,9 +211,9 @@ type LeuIconProps = {
222
211
  type LeuInputProps = {
223
212
  /** Disables the input element. */
224
213
  disabled?: LeuInput["disabled"];
225
- /** Marks the input element as required. */
214
+ /** Marks the input element as required */
226
215
  required?: LeuInput["required"];
227
- /** Adds a button to clear the input element. */
216
+ /** Adds a button to clear the input element */
228
217
  clearable?: LeuInput["clearable"];
229
218
  /** The value of the input element. */
230
219
  value?: LeuInput["value"];
@@ -232,15 +221,15 @@ type LeuInputProps = {
232
221
  name?: LeuInput["name"];
233
222
  /** A custom error that is completely independent of the validity state. Useful for displaying server side errors. */
234
223
  error?: LeuInput["error"];
235
- /** The label of the input element. */
224
+ /** The label of the input element */
236
225
  label?: LeuInput["label"];
237
- /** A prefix that relates to the value of the input (e.g. CHF). */
226
+ /** A prefix that relates to the value of the input (e.g. CHF) */
238
227
  prefix?: LeuInput["prefix"];
239
228
  /** A suffix that relates to the value of the input (e.g. mm). */
240
229
  suffix?: LeuInput["suffix"];
241
- /** The size of the input element. */
230
+ /** The size of the input element */
242
231
  size?: LeuInput["size"];
243
- /** The icon that is displayed at the end of the input element. */
232
+ /** The icon that is displayed at the end of the input element */
244
233
  icon?: LeuInput["icon"];
245
234
  /** A regular expression that the value is checked against. */
246
235
  pattern?: LeuInput["pattern"];
@@ -250,6 +239,8 @@ type LeuInputProps = {
250
239
  min?: LeuInput["min"];
251
240
  /** The maximum value of the input element. */
252
241
  max?: LeuInput["max"];
242
+ /** The step value of the input element. */
243
+ step?: LeuInput["step"];
253
244
  /** The maximum length of the input element. */
254
245
  maxlength?: LeuInput["maxlength"];
255
246
  /** The minimum length of the input element. */
@@ -258,8 +249,6 @@ type LeuInputProps = {
258
249
  validationMessages?: LeuInput["validationMessages"];
259
250
  /** Disables the browser's validation. */
260
251
  novalidate?: LeuInput["novalidate"];
261
- /** The step value of the input element. */
262
- step?: LeuInput["step"];
263
252
  /** */
264
253
  _validity?: LeuInput["_validity"];
265
254
  /** */
@@ -273,8 +262,6 @@ type LeuInputProps = {
273
262
  type LeuMenuProps = {
274
263
  /** This has only an effect when the role is 'menu'. It defines which role the menu items will get. Default is 'none'. */
275
264
  selects?: LeuMenu["selects"];
276
- /** */
277
- value?: LeuMenu["value"];
278
265
  };
279
266
 
280
267
  type LeuMenuItemProps = {
@@ -412,8 +399,6 @@ Otherwise it has to be a string. */
412
399
  };
413
400
 
414
401
  type LeuScrollTopProps = {
415
- /** */
416
- _showButton?: LeuScrollTop["_showButton"];
417
402
  /** */
418
403
  scroll?: LeuScrollTop["scroll"];
419
404
  };
@@ -512,6 +497,23 @@ export type CustomElements = {
512
497
  */
513
498
  "leu-button": DefineComponent<LeuButtonProps>;
514
499
 
500
+ /**
501
+ *
502
+ * ---
503
+ *
504
+ */
505
+ "leu-checkbox": DefineComponent<LeuCheckboxProps>;
506
+
507
+ /**
508
+ *
509
+ * ---
510
+ *
511
+ *
512
+ * ### **Slots:**
513
+ * - _default_ - Place the checkboxes inside the default slot.
514
+ */
515
+ "leu-checkbox-group": DefineComponent<LeuCheckboxGroupProps>;
516
+
515
517
  /**
516
518
  * A radio input-like button group component.
517
519
  * It allows only one button to be active at a time.
@@ -545,17 +547,25 @@ export type CustomElements = {
545
547
  * ---
546
548
  *
547
549
  */
548
- "leu-checkbox": DefineComponent<LeuCheckboxProps>;
550
+ "leu-dropdown": DefineComponent<LeuDropdownProps>;
549
551
 
550
552
  /**
551
553
  *
552
554
  * ---
553
555
  *
556
+ */
557
+ "leu-dialog": DefineComponent<LeuDialogProps>;
558
+
559
+ /**
554
560
  *
555
- * ### **Slots:**
556
- * - _default_ - Place the checkboxes inside the default slot.
561
+ * ---
562
+ *
563
+ *
564
+ * ### **Events:**
565
+ * - **input**
566
+ * - **change**
557
567
  */
558
- "leu-checkbox-group": DefineComponent<LeuCheckboxGroupProps>;
568
+ "leu-file-input": DefineComponent<LeuFileInputProps>;
559
569
 
560
570
  /**
561
571
  *
@@ -589,7 +599,7 @@ export type CustomElements = {
589
599
  * - **remove** - Dispatched when the user clicks on the chip
590
600
  *
591
601
  * ### **Methods:**
592
- * - **getValue(): _string_** - Returns the value of the chip. If `value` is not set, it will return the text content
602
+ * - **getValue()** - Returns the value of the chip. If `value` is not set, it will return the text content
593
603
  *
594
604
  * ### **Slots:**
595
605
  * - _default_ - The content of the chip
@@ -612,31 +622,6 @@ export type CustomElements = {
612
622
  */
613
623
  "leu-chip-selectable": DefineComponent<LeuChipSelectableProps>;
614
624
 
615
- /**
616
- *
617
- * ---
618
- *
619
- */
620
- "leu-dialog": DefineComponent<LeuDialogProps>;
621
-
622
- /**
623
- *
624
- * ---
625
- *
626
- */
627
- "leu-dropdown": DefineComponent<LeuDropdownProps>;
628
-
629
- /**
630
- *
631
- * ---
632
- *
633
- *
634
- * ### **Events:**
635
- * - **input**
636
- * - **change**
637
- */
638
- "leu-file-input": DefineComponent<LeuFileInputProps>;
639
-
640
625
  /**
641
626
  * A component to render all defined zhWeb icons.
642
627
  * The `fill` of the icon is set to `currentColor` and
@@ -660,15 +645,16 @@ export type CustomElements = {
660
645
  * - **change** - Dispatched when the value of the input element changes and the input element loses focus.
661
646
  *
662
647
  * ### **Methods:**
663
- * - **getValidationMessages(): _Object_** - Merge custom and default validation messages.
664
- * A validation message can be a function or a string.
665
- * If it s a function, the function is called with the corresponding
666
- * attribute value as argument.
667
- * e.g.
668
- * `tooLong(this.maxlength)`
669
- * This way the framework user can create reasonable validation messages
670
- * - **checkValidity(): _boolean_** - Check input validation
671
- * - **renderErrorMessages(): _TemplateResult | nothing_** - Creates an error list with an item for the given validity state.
648
+ *
649
+ *
650
+ *
651
+ *
652
+ *
653
+ *
654
+ *
655
+ * - **checkValidity()** - Check input validation
656
+ *
657
+ *
672
658
  */
673
659
  "leu-input": DefineComponent<LeuInputProps>;
674
660
 
@@ -685,7 +671,7 @@ export type CustomElements = {
685
671
  *
686
672
  *
687
673
  * ### **Methods:**
688
- * - **getValue(): _string_** - Returns the value of the item. If `value` is not set, it will return the inner text
674
+ * - **getValue()** - Returns the value of the item. If `value` is not set, it will return the inner text
689
675
  *
690
676
  * ### **Slots:**
691
677
  * - _default_ - The label of the menu item
@@ -768,8 +754,7 @@ export type CustomElements = {
768
754
  *
769
755
  *
770
756
  * ### **Methods:**
771
- * - **_handlePointerDown(e: _PointerEvent & {target: HTMLInputElement}_)** - Determine if the "click" (pointer event) is closer the
772
- * the value of the other input element. Swap the values if this is the case.
757
+ *
773
758
  */
774
759
  "leu-range": DefineComponent<LeuRangeProps>;
775
760