@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.
- package/.github/workflows/release-please.yml +1 -2
- package/.nvmrc +1 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +16 -0
- package/README.md +15 -10
- package/dist/Accordion.js +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/ChartWrapper.js +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/CheckboxGroup.js +1 -1
- package/dist/Chip.d.ts +1 -7
- package/dist/Chip.js +7 -5
- package/dist/ChipGroup.d.ts +17 -36
- package/dist/ChipGroup.js +35 -33
- package/dist/ChipLink.d.ts +5 -21
- package/dist/ChipLink.js +14 -15
- package/dist/ChipRemovable.d.ts +4 -15
- package/dist/ChipRemovable.js +7 -9
- package/dist/ChipSelectable.d.ts +14 -37
- package/dist/ChipSelectable.js +24 -28
- package/dist/Dialog.d.ts +7 -18
- package/dist/Dialog.js +15 -18
- package/dist/Dropdown.d.ts +16 -24
- package/dist/Dropdown.js +23 -21
- package/dist/FileInput.d.ts +2 -1
- package/dist/FileInput.js +19 -5
- package/dist/Icon.d-itcQ94ym.d.ts +151 -0
- package/dist/Icon.d.ts +4 -156
- package/dist/Icon.js +1 -4
- package/dist/Input.d.ts +73 -141
- package/dist/Input.js +91 -88
- package/dist/{LeuElement-BLUQU9Eu.js → LeuElement-DfsEye-A.js} +1 -1
- package/dist/Menu.d.ts +2 -8
- package/dist/Menu.js +7 -9
- package/dist/MenuItem.d.ts +31 -59
- package/dist/MenuItem.js +30 -33
- package/dist/Message.d.ts +1 -1
- package/dist/Message.js +1 -1
- package/dist/Pagination.d.ts +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/Placeholder.js +1 -1
- package/dist/Popup.js +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/Range.d.ts +22 -65
- package/dist/Range.js +36 -37
- package/dist/ScrollTop.d.ts +5 -7
- package/dist/ScrollTop.js +10 -15
- package/dist/Select.d.ts +2 -1
- package/dist/Select.js +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Table.d.ts +1 -1
- package/dist/Table.js +1 -1
- package/dist/Tag.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/components/chart-wrapper/leu-chart-wrapper.d.ts +5 -0
- package/dist/components/chart-wrapper/leu-chart-wrapper.d.ts.map +1 -1
- package/dist/components/chip/Chip.d.ts +1 -7
- package/dist/components/chip/Chip.d.ts.map +1 -1
- package/dist/components/chip/ChipGroup.d.ts +15 -35
- package/dist/components/chip/ChipGroup.d.ts.map +1 -1
- package/dist/components/chip/ChipLink.d.ts +4 -20
- package/dist/components/chip/ChipLink.d.ts.map +1 -1
- package/dist/components/chip/ChipRemovable.d.ts +3 -14
- package/dist/components/chip/ChipRemovable.d.ts.map +1 -1
- package/dist/components/chip/ChipSelectable.d.ts +13 -36
- package/dist/components/chip/ChipSelectable.d.ts.map +1 -1
- package/dist/components/chip/stories/chip-group.stories.d.ts +1 -1
- package/dist/components/chip/stories/chip-group.stories.d.ts.map +1 -1
- package/dist/components/chip/stories/chip-link.stories.d.ts.map +1 -1
- package/dist/components/chip/stories/chip-selectable.stories.d.ts.map +1 -1
- package/dist/components/dialog/Dialog.d.ts +5 -17
- package/dist/components/dialog/Dialog.d.ts.map +1 -1
- package/dist/components/dropdown/Dropdown.d.ts +14 -23
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/stories/dropdown.stories.d.ts.map +1 -1
- package/dist/components/file-input/FileInput.d.ts +1 -0
- package/dist/components/file-input/FileInput.d.ts.map +1 -1
- package/dist/components/file-input/leu-file-input.d.ts +5 -0
- package/dist/components/file-input/leu-file-input.d.ts.map +1 -1
- package/dist/components/file-input/stories/file-input.stories.d.ts +4 -0
- package/dist/components/file-input/stories/file-input.stories.d.ts.map +1 -1
- package/dist/components/icon/Icon.d.ts +0 -6
- package/dist/components/icon/Icon.d.ts.map +1 -1
- package/dist/components/input/Input.d.ts +73 -140
- package/dist/components/input/Input.d.ts.map +1 -1
- package/dist/components/menu/Menu.d.ts +1 -7
- package/dist/components/menu/Menu.d.ts.map +1 -1
- package/dist/components/menu/MenuItem.d.ts +30 -57
- package/dist/components/menu/MenuItem.d.ts.map +1 -1
- package/dist/components/message/leu-message.d.ts +5 -0
- package/dist/components/message/leu-message.d.ts.map +1 -1
- package/dist/components/placeholder/leu-placeholder.d.ts +5 -0
- package/dist/components/placeholder/leu-placeholder.d.ts.map +1 -1
- package/dist/components/progress-bar/leu-progress-bar.d.ts +5 -0
- package/dist/components/progress-bar/leu-progress-bar.d.ts.map +1 -1
- package/dist/components/range/Range.d.ts +22 -65
- package/dist/components/range/Range.d.ts.map +1 -1
- package/dist/components/scroll-top/ScrollTop.d.ts +4 -6
- package/dist/components/scroll-top/ScrollTop.d.ts.map +1 -1
- package/dist/components/tag/leu-tag.d.ts +5 -0
- package/dist/components/tag/leu-tag.d.ts.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -4
- package/dist/leu-accordion.js +1 -1
- package/dist/leu-button-group.js +1 -1
- package/dist/leu-button.d.ts +1 -1
- package/dist/leu-button.js +1 -1
- package/dist/leu-chart-wrapper.d.ts +10 -1
- package/dist/leu-chart-wrapper.js +1 -1
- package/dist/leu-checkbox-group.js +1 -1
- package/dist/leu-checkbox.d.ts +1 -1
- package/dist/leu-checkbox.js +1 -1
- package/dist/leu-chip-group.d.ts +2 -0
- package/dist/leu-chip-group.js +5 -1
- package/dist/leu-chip-link.js +3 -1
- package/dist/leu-chip-removable.d.ts +1 -1
- package/dist/leu-chip-removable.js +3 -3
- package/dist/leu-chip-selectable.js +3 -1
- package/dist/leu-dialog.d.ts +2 -1
- package/dist/leu-dialog.js +3 -3
- package/dist/leu-dropdown.d.ts +2 -1
- package/dist/leu-dropdown.js +3 -3
- package/dist/leu-file-input.d.ts +11 -2
- package/dist/leu-file-input.js +11 -4
- package/dist/leu-icon.d.ts +1 -1
- package/dist/leu-icon.js +1 -1
- package/dist/leu-input.d.ts +2 -1
- package/dist/leu-input.js +3 -3
- package/dist/leu-menu-item.d.ts +2 -2
- package/dist/leu-menu-item.js +3 -3
- package/dist/leu-menu.d.ts +1 -1
- package/dist/leu-menu.js +3 -3
- package/dist/leu-message.d.ts +11 -2
- package/dist/leu-message.js +1 -1
- package/dist/leu-pagination.d.ts +1 -1
- package/dist/leu-pagination.js +1 -1
- package/dist/leu-placeholder.d.ts +10 -1
- package/dist/leu-placeholder.js +1 -1
- package/dist/leu-popup.js +1 -1
- package/dist/leu-progress-bar.d.ts +10 -1
- package/dist/leu-progress-bar.js +1 -1
- package/dist/leu-radio-group.js +1 -1
- package/dist/leu-radio.js +1 -1
- package/dist/leu-range.js +3 -1
- package/dist/leu-scroll-top.d.ts +1 -1
- package/dist/leu-scroll-top.js +3 -3
- package/dist/leu-select.d.ts +2 -1
- package/dist/leu-select.js +1 -1
- package/dist/leu-spinner.js +1 -1
- package/dist/leu-table.d.ts +1 -1
- package/dist/leu-table.js +1 -1
- package/dist/leu-tag.d.ts +10 -1
- package/dist/leu-tag.js +1 -1
- package/dist/leu-visually-hidden.js +1 -1
- package/dist/vscode.html-custom-data.json +115 -111
- package/dist/vue/index.d.ts +116 -131
- package/dist/web-types.json +303 -303
- package/package.json +1 -1
- package/scripts/generate-component/templates/[namespace]-[name].ts +6 -0
- package/src/components/chart-wrapper/leu-chart-wrapper.ts +6 -0
- package/src/components/chip/Chip.ts +3 -9
- package/src/components/chip/ChipGroup.ts +26 -39
- package/src/components/chip/ChipLink.ts +7 -18
- package/src/components/chip/ChipRemovable.ts +4 -11
- package/src/components/chip/ChipSelectable.ts +21 -35
- package/src/components/chip/stories/chip-group.stories.ts +4 -7
- package/src/components/chip/stories/chip-link.stories.ts +2 -4
- package/src/components/chip/stories/chip-selectable.stories.ts +4 -6
- package/src/components/chip/test/chip-group.test.ts +34 -31
- package/src/components/dialog/Dialog.ts +9 -22
- package/src/components/dropdown/Dropdown.ts +20 -24
- package/src/components/dropdown/stories/dropdown.stories.ts +6 -2
- package/src/components/dropdown/test/dropdown.test.ts +14 -2
- package/src/components/file-input/FileInput.ts +12 -1
- package/src/components/file-input/leu-file-input.ts +6 -0
- package/src/components/file-input/stories/file-input.stories.ts +7 -0
- package/src/components/icon/Icon.ts +0 -4
- package/src/components/input/Input.ts +108 -105
- package/src/components/menu/Menu.ts +3 -12
- package/src/components/menu/MenuItem.ts +37 -41
- package/src/components/message/leu-message.ts +6 -0
- package/src/components/placeholder/leu-placeholder.ts +6 -0
- package/src/components/progress-bar/leu-progress-bar.ts +6 -0
- package/src/components/range/Range.ts +51 -59
- package/src/components/scroll-top/ScrollTop.ts +8 -15
- package/src/components/tag/leu-tag.ts +6 -0
- package/src/index.ts +11 -0
|
@@ -109,6 +109,44 @@
|
|
|
109
109
|
}
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
|
+
{
|
|
113
|
+
"name": "leu-checkbox",
|
|
114
|
+
"description": "\n---\n",
|
|
115
|
+
"attributes": [
|
|
116
|
+
{ "name": "checked", "values": [] },
|
|
117
|
+
{ "name": "disabled", "values": [] },
|
|
118
|
+
{ "name": "value", "values": [] },
|
|
119
|
+
{ "name": "name", "values": [] }
|
|
120
|
+
],
|
|
121
|
+
"references": [
|
|
122
|
+
{
|
|
123
|
+
"name": "Documentation",
|
|
124
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/checkbox"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "leu-checkbox-group",
|
|
130
|
+
"description": "\n---\n\n\n### **Slots:**\n - _default_ - Place the checkboxes inside the default slot.",
|
|
131
|
+
"attributes": [
|
|
132
|
+
{
|
|
133
|
+
"name": "orientation",
|
|
134
|
+
"description": "Defines how the checkboxes should be aligned.",
|
|
135
|
+
"values": [{ "name": "horizontal" }, { "name": "vertical" }]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "label",
|
|
139
|
+
"description": "The label of the checkbox group",
|
|
140
|
+
"values": []
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"references": [
|
|
144
|
+
{
|
|
145
|
+
"name": "Documentation",
|
|
146
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/checkbox-group"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
112
150
|
{
|
|
113
151
|
"name": "leu-button-group",
|
|
114
152
|
"description": "A radio input-like button group component.\nIt allows only one button to be active at a time.\n---\n\n\n### **Events:**\n - **input** - When the value of the group changes by clicking a button\n\n### **Slots:**\n - _default_ - Slot for the buttons",
|
|
@@ -138,40 +176,70 @@
|
|
|
138
176
|
]
|
|
139
177
|
},
|
|
140
178
|
{
|
|
141
|
-
"name": "leu-
|
|
179
|
+
"name": "leu-dropdown",
|
|
142
180
|
"description": "\n---\n",
|
|
143
181
|
"attributes": [
|
|
144
|
-
{ "name": "
|
|
145
|
-
{ "name": "
|
|
146
|
-
{ "name": "
|
|
147
|
-
{ "name": "name", "values": [] }
|
|
182
|
+
{ "name": "label", "values": [] },
|
|
183
|
+
{ "name": "expanded", "values": [] },
|
|
184
|
+
{ "name": "inverted", "values": [] }
|
|
148
185
|
],
|
|
149
186
|
"references": [
|
|
150
187
|
{
|
|
151
188
|
"name": "Documentation",
|
|
152
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/
|
|
189
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/dropdown"
|
|
153
190
|
}
|
|
154
191
|
]
|
|
155
192
|
},
|
|
156
193
|
{
|
|
157
|
-
"name": "leu-
|
|
158
|
-
"description": "\n---\n
|
|
194
|
+
"name": "leu-dialog",
|
|
195
|
+
"description": "\n---\n",
|
|
159
196
|
"attributes": [
|
|
197
|
+
{ "name": "label", "values": [] },
|
|
198
|
+
{ "name": "sublabel", "values": [] },
|
|
199
|
+
{ "name": "open", "values": [] }
|
|
200
|
+
],
|
|
201
|
+
"references": [
|
|
160
202
|
{
|
|
161
|
-
"name": "
|
|
162
|
-
"
|
|
163
|
-
|
|
203
|
+
"name": "Documentation",
|
|
204
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/dialog"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "leu-file-input",
|
|
210
|
+
"description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**",
|
|
211
|
+
"attributes": [
|
|
212
|
+
{ "name": "label", "values": [] },
|
|
213
|
+
{
|
|
214
|
+
"name": "accept",
|
|
215
|
+
"description": "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).",
|
|
216
|
+
"values": []
|
|
164
217
|
},
|
|
165
218
|
{
|
|
166
|
-
"name": "
|
|
167
|
-
"description": "
|
|
219
|
+
"name": "disabled",
|
|
220
|
+
"description": "Whether the file input is disabled.",
|
|
168
221
|
"values": []
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "multiple",
|
|
225
|
+
"description": "Whether the file input allows multiple files.",
|
|
226
|
+
"values": []
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "required",
|
|
230
|
+
"description": "Whether the file input is required.",
|
|
231
|
+
"values": []
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "variant",
|
|
235
|
+
"description": "The variant of the file list item. `filled` renders a gray background.",
|
|
236
|
+
"values": [{ "name": "filled" }, { "name": "transparent" }]
|
|
169
237
|
}
|
|
170
238
|
],
|
|
171
239
|
"references": [
|
|
172
240
|
{
|
|
173
241
|
"name": "Documentation",
|
|
174
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/
|
|
242
|
+
"url": "https://statistikzh.github.io/leu/?path=/story/file-input"
|
|
175
243
|
}
|
|
176
244
|
]
|
|
177
245
|
},
|
|
@@ -205,9 +273,13 @@
|
|
|
205
273
|
{
|
|
206
274
|
"name": "size",
|
|
207
275
|
"description": "The size of the chip",
|
|
208
|
-
"values": [{ "name": "
|
|
276
|
+
"values": [{ "name": "regular" }, { "name": "large" }]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "href",
|
|
280
|
+
"description": "The URL that the chip links to",
|
|
281
|
+
"values": []
|
|
209
282
|
},
|
|
210
|
-
{ "name": "href", "values": [] },
|
|
211
283
|
{ "name": "inverted", "values": [] }
|
|
212
284
|
],
|
|
213
285
|
"references": [
|
|
@@ -219,7 +291,7 @@
|
|
|
219
291
|
},
|
|
220
292
|
{
|
|
221
293
|
"name": "leu-chip-removable",
|
|
222
|
-
"description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Methods:**\n - **getValue()
|
|
294
|
+
"description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Methods:**\n - **getValue()** - Returns the value of the chip. If `value` is not set, it will return the text content\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
223
295
|
"attributes": [
|
|
224
296
|
{
|
|
225
297
|
"name": "value",
|
|
@@ -241,22 +313,22 @@
|
|
|
241
313
|
"attributes": [
|
|
242
314
|
{
|
|
243
315
|
"name": "size",
|
|
244
|
-
"description": "The size of the chip.
|
|
245
|
-
"values": [{ "name": "
|
|
316
|
+
"description": "The size of the chip. Has no effect when variant is \"radio\"",
|
|
317
|
+
"values": [{ "name": "small" }, { "name": "regular" }]
|
|
246
318
|
},
|
|
247
319
|
{
|
|
248
320
|
"name": "variant",
|
|
249
|
-
"description": "
|
|
250
|
-
"values": [{ "name": "
|
|
321
|
+
"description": "The variant of the chip. Determines if only one or multiple chips can be selected.",
|
|
322
|
+
"values": [{ "name": "toggle" }, { "name": "radio" }]
|
|
251
323
|
},
|
|
252
324
|
{
|
|
253
325
|
"name": "checked",
|
|
254
|
-
"description": "Whether the chip is selected
|
|
326
|
+
"description": "Whether the chip is selected",
|
|
255
327
|
"values": []
|
|
256
328
|
},
|
|
257
329
|
{
|
|
258
330
|
"name": "value",
|
|
259
|
-
"description": "The value of the chip
|
|
331
|
+
"description": "The value of the chip",
|
|
260
332
|
"values": []
|
|
261
333
|
},
|
|
262
334
|
{ "name": "inverted", "values": [] }
|
|
@@ -268,73 +340,6 @@
|
|
|
268
340
|
}
|
|
269
341
|
]
|
|
270
342
|
},
|
|
271
|
-
{
|
|
272
|
-
"name": "leu-dialog",
|
|
273
|
-
"description": "\n---\n",
|
|
274
|
-
"attributes": [
|
|
275
|
-
{ "name": "label", "values": [] },
|
|
276
|
-
{ "name": "sublabel", "values": [] },
|
|
277
|
-
{ "name": "open", "values": [] }
|
|
278
|
-
],
|
|
279
|
-
"references": [
|
|
280
|
-
{
|
|
281
|
-
"name": "Documentation",
|
|
282
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/dialog"
|
|
283
|
-
}
|
|
284
|
-
]
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "leu-dropdown",
|
|
288
|
-
"description": "\n---\n",
|
|
289
|
-
"attributes": [
|
|
290
|
-
{ "name": "label", "values": [] },
|
|
291
|
-
{ "name": "expanded", "values": [] }
|
|
292
|
-
],
|
|
293
|
-
"references": [
|
|
294
|
-
{
|
|
295
|
-
"name": "Documentation",
|
|
296
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/dropdown"
|
|
297
|
-
}
|
|
298
|
-
]
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"name": "leu-file-input",
|
|
302
|
-
"description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**",
|
|
303
|
-
"attributes": [
|
|
304
|
-
{ "name": "label", "values": [] },
|
|
305
|
-
{
|
|
306
|
-
"name": "accept",
|
|
307
|
-
"description": "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).",
|
|
308
|
-
"values": []
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"name": "disabled",
|
|
312
|
-
"description": "Whether the file input is disabled.",
|
|
313
|
-
"values": []
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "multiple",
|
|
317
|
-
"description": "Whether the file input allows multiple files.",
|
|
318
|
-
"values": []
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"name": "required",
|
|
322
|
-
"description": "Whether the file input is required.",
|
|
323
|
-
"values": []
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "variant",
|
|
327
|
-
"description": "The variant of the file list item. `filled` renders a gray background.",
|
|
328
|
-
"values": [{ "name": "filled" }, { "name": "transparent" }]
|
|
329
|
-
}
|
|
330
|
-
],
|
|
331
|
-
"references": [
|
|
332
|
-
{
|
|
333
|
-
"name": "Documentation",
|
|
334
|
-
"url": "https://statistikzh.github.io/leu/?path=/story/file-input"
|
|
335
|
-
}
|
|
336
|
-
]
|
|
337
|
-
},
|
|
338
343
|
{
|
|
339
344
|
"name": "leu-icon",
|
|
340
345
|
"description": "A component to render all defined zhWeb icons.\nThe `fill` of the icon is set to `currentColor` and\ncan be overriden by setting the css `color` property.\nIf the icon name is not found, a placeholder will be displayed.\n---\n\n\n### **CSS Properties:**\n - **--leu-icon-size** - The size of the icon. _(default: undefined)_",
|
|
@@ -354,7 +359,7 @@
|
|
|
354
359
|
},
|
|
355
360
|
{
|
|
356
361
|
"name": "leu-input",
|
|
357
|
-
"description": "A text input element.\n---\n\n\n### **Events:**\n - **input** - Dispatched when the value of the input element changes.\n- **change** - Dispatched when the value of the input element changes and the input element loses focus.\n\n### **Methods:**\n
|
|
362
|
+
"description": "A text input element.\n---\n\n\n### **Events:**\n - **input** - Dispatched when the value of the input element changes.\n- **change** - Dispatched when the value of the input element changes and the input element loses focus.\n\n### **Methods:**\n \n\n\n\n\n\n\n- **checkValidity()** - Check input validation\n\n",
|
|
358
363
|
"attributes": [
|
|
359
364
|
{
|
|
360
365
|
"name": "disabled",
|
|
@@ -363,12 +368,12 @@
|
|
|
363
368
|
},
|
|
364
369
|
{
|
|
365
370
|
"name": "required",
|
|
366
|
-
"description": "Marks the input element as required
|
|
371
|
+
"description": "Marks the input element as required",
|
|
367
372
|
"values": []
|
|
368
373
|
},
|
|
369
374
|
{
|
|
370
375
|
"name": "clearable",
|
|
371
|
-
"description": "Adds a button to clear the input element
|
|
376
|
+
"description": "Adds a button to clear the input element",
|
|
372
377
|
"values": []
|
|
373
378
|
},
|
|
374
379
|
{
|
|
@@ -388,12 +393,12 @@
|
|
|
388
393
|
},
|
|
389
394
|
{
|
|
390
395
|
"name": "label",
|
|
391
|
-
"description": "The label of the input element
|
|
396
|
+
"description": "The label of the input element",
|
|
392
397
|
"values": []
|
|
393
398
|
},
|
|
394
399
|
{
|
|
395
400
|
"name": "prefix",
|
|
396
|
-
"description": "A prefix that relates to the value of the input (e.g. CHF)
|
|
401
|
+
"description": "A prefix that relates to the value of the input (e.g. CHF)",
|
|
397
402
|
"values": []
|
|
398
403
|
},
|
|
399
404
|
{
|
|
@@ -403,13 +408,13 @@
|
|
|
403
408
|
},
|
|
404
409
|
{
|
|
405
410
|
"name": "size",
|
|
406
|
-
"description": "The size of the input element
|
|
407
|
-
"values": []
|
|
411
|
+
"description": "The size of the input element",
|
|
412
|
+
"values": [{ "name": "small" }, { "name": "regular" }]
|
|
408
413
|
},
|
|
409
414
|
{
|
|
410
415
|
"name": "icon",
|
|
411
|
-
"description": "The icon that is displayed at the end of the input element
|
|
412
|
-
"values": []
|
|
416
|
+
"description": "The icon that is displayed at the end of the input element",
|
|
417
|
+
"values": [{ "name": "IconPathName" }]
|
|
413
418
|
},
|
|
414
419
|
{
|
|
415
420
|
"name": "pattern",
|
|
@@ -419,7 +424,7 @@
|
|
|
419
424
|
{
|
|
420
425
|
"name": "type",
|
|
421
426
|
"description": "The type of the input element.",
|
|
422
|
-
"values": []
|
|
427
|
+
"values": [{ "name": "InputType" }]
|
|
423
428
|
},
|
|
424
429
|
{
|
|
425
430
|
"name": "min",
|
|
@@ -431,6 +436,11 @@
|
|
|
431
436
|
"description": "The maximum value of the input element.",
|
|
432
437
|
"values": []
|
|
433
438
|
},
|
|
439
|
+
{
|
|
440
|
+
"name": "step",
|
|
441
|
+
"description": "The step value of the input element.",
|
|
442
|
+
"values": []
|
|
443
|
+
},
|
|
434
444
|
{
|
|
435
445
|
"name": "maxlength",
|
|
436
446
|
"description": "The maximum length of the input element.",
|
|
@@ -444,19 +454,13 @@
|
|
|
444
454
|
{
|
|
445
455
|
"name": "validationMessages",
|
|
446
456
|
"description": "Custom validation messages. The key is the name of the validity state and the value is the message.",
|
|
447
|
-
"values": [{ "name": "
|
|
457
|
+
"values": [{ "name": "Record<string" }, { "name": "string>" }]
|
|
448
458
|
},
|
|
449
459
|
{
|
|
450
460
|
"name": "novalidate",
|
|
451
461
|
"description": "Disables the browser's validation.",
|
|
452
462
|
"values": []
|
|
453
|
-
}
|
|
454
|
-
{
|
|
455
|
-
"name": "step",
|
|
456
|
-
"description": "The step value of the input element.",
|
|
457
|
-
"values": []
|
|
458
|
-
},
|
|
459
|
-
{ "name": "_validity", "values": [] }
|
|
463
|
+
}
|
|
460
464
|
],
|
|
461
465
|
"references": [
|
|
462
466
|
{
|
|
@@ -484,7 +488,7 @@
|
|
|
484
488
|
},
|
|
485
489
|
{
|
|
486
490
|
"name": "leu-menu-item",
|
|
487
|
-
"description": "\n---\n\n\n### **Methods:**\n - **getValue()
|
|
491
|
+
"description": "\n---\n\n\n### **Methods:**\n - **getValue()** - Returns the value of the item. If `value` is not set, it will return the inner text\n\n### **Slots:**\n - _default_ - The label of the menu item",
|
|
488
492
|
"attributes": [
|
|
489
493
|
{
|
|
490
494
|
"name": "active",
|
|
@@ -706,7 +710,7 @@
|
|
|
706
710
|
},
|
|
707
711
|
{
|
|
708
712
|
"name": "leu-range",
|
|
709
|
-
"description": "\n---\n\n\n### **Methods:**\n
|
|
713
|
+
"description": "\n---\n\n\n### **Methods:**\n ",
|
|
710
714
|
"attributes": [
|
|
711
715
|
{ "name": "value", "values": [{ "name": "array" }] },
|
|
712
716
|
{ "name": "min", "values": [] },
|
|
@@ -727,7 +731,7 @@
|
|
|
727
731
|
{
|
|
728
732
|
"name": "leu-scroll-top",
|
|
729
733
|
"description": "\n---\n",
|
|
730
|
-
"attributes": [
|
|
734
|
+
"attributes": [],
|
|
731
735
|
"references": [
|
|
732
736
|
{
|
|
733
737
|
"name": "Documentation",
|