@statistikzh/leu 0.22.0 → 0.23.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/.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 -28
- package/dist/Dropdown.js +22 -23
- 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-BooZrClI.js → LeuElement-CWseJvWv.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.d.ts +16 -0
- package/dist/Popup.js +20 -2
- 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 -27
- package/dist/components/dropdown/Dropdown.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/popup/Popup.d.ts +16 -0
- package/dist/components/popup/Popup.d.ts.map +1 -1
- package/dist/components/popup/stories/popup.stories.d.ts +2 -0
- package/dist/components/popup/stories/popup.stories.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 +106 -88
- package/dist/vue/index.d.ts +105 -115
- package/dist/web-types.json +268 -243
- 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 +19 -26
- 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/popup/Popup.ts +37 -0
- package/src/components/popup/stories/popup.stories.ts +10 -0
- package/src/components/popup/test/popup.test.ts +27 -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
- package/web-test-runner.config.mjs +10 -0
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@statistikzh/leu",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.23.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -65,33 +65,6 @@
|
|
|
65
65
|
"events": []
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
{
|
|
69
|
-
"name": "leu-button-group",
|
|
70
|
-
"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",
|
|
71
|
-
"doc-url": "",
|
|
72
|
-
"attributes": [],
|
|
73
|
-
"slots": [{ "name": "", "description": "Slot for the buttons" }],
|
|
74
|
-
"events": [
|
|
75
|
-
{
|
|
76
|
-
"name": "input",
|
|
77
|
-
"description": "When the value of the group changes by clicking a button"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"js": {
|
|
81
|
-
"properties": [
|
|
82
|
-
{
|
|
83
|
-
"name": "value",
|
|
84
|
-
"description": "The value of the currently selected (active) button"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"events": [
|
|
88
|
-
{
|
|
89
|
-
"name": "input",
|
|
90
|
-
"description": "When the value of the group changes by clicking a button"
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
68
|
{
|
|
96
69
|
"name": "leu-button",
|
|
97
70
|
"description": "\n---\n\n\n### **Slots:**\n - **before** - The icon to display before the label\n- **after** - The icon to display after the label\n- _default_ - The label of the button or the icon if no label is set",
|
|
@@ -281,6 +254,33 @@
|
|
|
281
254
|
"events": []
|
|
282
255
|
}
|
|
283
256
|
},
|
|
257
|
+
{
|
|
258
|
+
"name": "leu-button-group",
|
|
259
|
+
"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",
|
|
260
|
+
"doc-url": "",
|
|
261
|
+
"attributes": [],
|
|
262
|
+
"slots": [{ "name": "", "description": "Slot for the buttons" }],
|
|
263
|
+
"events": [
|
|
264
|
+
{
|
|
265
|
+
"name": "input",
|
|
266
|
+
"description": "When the value of the group changes by clicking a button"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"js": {
|
|
270
|
+
"properties": [
|
|
271
|
+
{
|
|
272
|
+
"name": "value",
|
|
273
|
+
"description": "The value of the currently selected (active) button"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"events": [
|
|
277
|
+
{
|
|
278
|
+
"name": "input",
|
|
279
|
+
"description": "When the value of the group changes by clicking a button"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
284
|
{
|
|
285
285
|
"name": "leu-checkbox",
|
|
286
286
|
"description": "\n---\n",
|
|
@@ -354,6 +354,62 @@
|
|
|
354
354
|
"events": []
|
|
355
355
|
}
|
|
356
356
|
},
|
|
357
|
+
{
|
|
358
|
+
"name": "leu-dropdown",
|
|
359
|
+
"description": "\n---\n",
|
|
360
|
+
"doc-url": "",
|
|
361
|
+
"attributes": [
|
|
362
|
+
{
|
|
363
|
+
"name": "label",
|
|
364
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "expanded",
|
|
368
|
+
"value": { "type": "boolean", "default": "false" }
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "inverted",
|
|
372
|
+
"value": { "type": "boolean", "default": "false" }
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"events": [],
|
|
376
|
+
"js": {
|
|
377
|
+
"properties": [
|
|
378
|
+
{ "name": "label", "type": "string" },
|
|
379
|
+
{ "name": "expanded", "type": "boolean" },
|
|
380
|
+
{ "name": "inverted", "type": "boolean" }
|
|
381
|
+
],
|
|
382
|
+
"events": []
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "leu-dialog",
|
|
387
|
+
"description": "\n---\n",
|
|
388
|
+
"doc-url": "",
|
|
389
|
+
"attributes": [
|
|
390
|
+
{
|
|
391
|
+
"name": "label",
|
|
392
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "sublabel",
|
|
396
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "open",
|
|
400
|
+
"value": { "type": "boolean", "default": "false" }
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"events": [],
|
|
404
|
+
"js": {
|
|
405
|
+
"properties": [
|
|
406
|
+
{ "name": "label", "type": "string" },
|
|
407
|
+
{ "name": "sublabel", "type": "string" },
|
|
408
|
+
{ "name": "open", "type": "boolean" }
|
|
409
|
+
],
|
|
410
|
+
"events": []
|
|
411
|
+
}
|
|
412
|
+
},
|
|
357
413
|
{
|
|
358
414
|
"name": "leu-chip-group",
|
|
359
415
|
"description": "\n---\n\n\n### **Slots:**\n - _default_ - Place leu-chip-* elements inside this slot\n\n### **CSS Properties:**\n - **--leu-chip-group-gap** - The gap between the chips _(default: undefined)_",
|
|
@@ -365,7 +421,10 @@
|
|
|
365
421
|
},
|
|
366
422
|
{
|
|
367
423
|
"name": "selection-mode",
|
|
368
|
-
"value": {
|
|
424
|
+
"value": {
|
|
425
|
+
"type": "\"single\" | \"multiple\" | \"none\"",
|
|
426
|
+
"default": "\"none\""
|
|
427
|
+
}
|
|
369
428
|
},
|
|
370
429
|
{
|
|
371
430
|
"name": "heading-level",
|
|
@@ -385,16 +444,16 @@
|
|
|
385
444
|
"events": [],
|
|
386
445
|
"js": {
|
|
387
446
|
"properties": [
|
|
447
|
+
{ "name": "inverted", "type": "boolean" },
|
|
388
448
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"
|
|
449
|
+
"name": "selectionMode",
|
|
450
|
+
"type": "\"single\" | \"multiple\" | \"none\""
|
|
391
451
|
},
|
|
392
|
-
{ "name": "inverted", "type": "boolean" },
|
|
393
452
|
{ "name": "headingLevel", "type": "number" },
|
|
394
453
|
{ "name": "label", "type": "string" },
|
|
395
454
|
{
|
|
396
|
-
"name": "
|
|
397
|
-
"
|
|
455
|
+
"name": "value",
|
|
456
|
+
"description": "Checks the items with the given values.\nIf the selectionMode is single, only the first item with the given value is checked."
|
|
398
457
|
}
|
|
399
458
|
],
|
|
400
459
|
"events": []
|
|
@@ -408,10 +467,14 @@
|
|
|
408
467
|
{
|
|
409
468
|
"name": "size",
|
|
410
469
|
"description": "The size of the chip",
|
|
411
|
-
"value": {
|
|
470
|
+
"value": {
|
|
471
|
+
"type": "\"regular\" | \"large\"",
|
|
472
|
+
"default": "\"regular\""
|
|
473
|
+
}
|
|
412
474
|
},
|
|
413
475
|
{
|
|
414
476
|
"name": "href",
|
|
477
|
+
"description": "The URL that the chip links to",
|
|
415
478
|
"value": { "type": "string", "default": "\"\"" }
|
|
416
479
|
},
|
|
417
480
|
{
|
|
@@ -423,20 +486,24 @@
|
|
|
423
486
|
"events": [],
|
|
424
487
|
"js": {
|
|
425
488
|
"properties": [
|
|
426
|
-
{ "name": "inverted", "type": "boolean" },
|
|
427
489
|
{
|
|
428
490
|
"name": "size",
|
|
429
491
|
"description": "The size of the chip",
|
|
430
|
-
"type": "
|
|
492
|
+
"type": "\"regular\" | \"large\""
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"name": "href",
|
|
496
|
+
"description": "The URL that the chip links to",
|
|
497
|
+
"type": "string"
|
|
431
498
|
},
|
|
432
|
-
{ "name": "
|
|
499
|
+
{ "name": "inverted", "type": "boolean" }
|
|
433
500
|
],
|
|
434
501
|
"events": []
|
|
435
502
|
}
|
|
436
503
|
},
|
|
437
504
|
{
|
|
438
505
|
"name": "leu-chip-removable",
|
|
439
|
-
"description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Methods:**\n - **getValue()
|
|
506
|
+
"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",
|
|
440
507
|
"doc-url": "",
|
|
441
508
|
"attributes": [
|
|
442
509
|
{
|
|
@@ -480,25 +547,28 @@
|
|
|
480
547
|
"attributes": [
|
|
481
548
|
{
|
|
482
549
|
"name": "size",
|
|
483
|
-
"description": "The size of the chip.
|
|
484
|
-
"value": {
|
|
550
|
+
"description": "The size of the chip. Has no effect when variant is \"radio\"",
|
|
551
|
+
"value": {
|
|
552
|
+
"type": "\"small\" | \"regular\"",
|
|
553
|
+
"default": "\"regular\""
|
|
554
|
+
}
|
|
485
555
|
},
|
|
486
556
|
{
|
|
487
557
|
"name": "variant",
|
|
488
|
-
"description": "
|
|
558
|
+
"description": "The variant of the chip. Determines if only one or multiple chips can be selected.",
|
|
489
559
|
"value": {
|
|
490
|
-
"type": "
|
|
560
|
+
"type": "\"toggle\" | \"radio\"",
|
|
491
561
|
"default": "\"toggle\""
|
|
492
562
|
}
|
|
493
563
|
},
|
|
494
564
|
{
|
|
495
565
|
"name": "checked",
|
|
496
|
-
"description": "Whether the chip is selected
|
|
566
|
+
"description": "Whether the chip is selected",
|
|
497
567
|
"value": { "type": "boolean", "default": "false" }
|
|
498
568
|
},
|
|
499
569
|
{
|
|
500
570
|
"name": "value",
|
|
501
|
-
"description": "The value of the chip
|
|
571
|
+
"description": "The value of the chip",
|
|
502
572
|
"value": { "type": "string", "default": "\"\"" }
|
|
503
573
|
},
|
|
504
574
|
{
|
|
@@ -512,22 +582,22 @@
|
|
|
512
582
|
"properties": [
|
|
513
583
|
{
|
|
514
584
|
"name": "size",
|
|
515
|
-
"description": "The size of the chip.
|
|
516
|
-
"type": "
|
|
585
|
+
"description": "The size of the chip. Has no effect when variant is \"radio\"",
|
|
586
|
+
"type": "\"small\" | \"regular\""
|
|
517
587
|
},
|
|
518
588
|
{
|
|
519
589
|
"name": "variant",
|
|
520
|
-
"description": "The variant of the chip.
|
|
521
|
-
"type": "
|
|
590
|
+
"description": "The variant of the chip. Determines if only one or multiple chips can be selected.",
|
|
591
|
+
"type": "\"toggle\" | \"radio\""
|
|
522
592
|
},
|
|
523
593
|
{
|
|
524
594
|
"name": "checked",
|
|
525
|
-
"description": "Whether the chip is selected
|
|
595
|
+
"description": "Whether the chip is selected",
|
|
526
596
|
"type": "boolean"
|
|
527
597
|
},
|
|
528
598
|
{
|
|
529
599
|
"name": "value",
|
|
530
|
-
"description": "The value of the chip
|
|
600
|
+
"description": "The value of the chip",
|
|
531
601
|
"type": "string"
|
|
532
602
|
},
|
|
533
603
|
{ "name": "inverted", "type": "boolean" }
|
|
@@ -535,71 +605,6 @@
|
|
|
535
605
|
"events": [{ "name": "input", "type": "CustomEvent" }]
|
|
536
606
|
}
|
|
537
607
|
},
|
|
538
|
-
{
|
|
539
|
-
"name": "leu-dialog",
|
|
540
|
-
"description": "\n---\n",
|
|
541
|
-
"doc-url": "",
|
|
542
|
-
"attributes": [
|
|
543
|
-
{
|
|
544
|
-
"name": "label",
|
|
545
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "sublabel",
|
|
549
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"name": "open",
|
|
553
|
-
"value": { "type": "boolean", "default": "false" }
|
|
554
|
-
}
|
|
555
|
-
],
|
|
556
|
-
"events": [],
|
|
557
|
-
"js": {
|
|
558
|
-
"properties": [
|
|
559
|
-
{ "name": "_dialogRef", "type": "Ref<HTMLDialogElement>" },
|
|
560
|
-
{ "name": "label", "type": "string" },
|
|
561
|
-
{ "name": "sublabel", "type": "string" },
|
|
562
|
-
{ "name": "open", "type": "boolean" }
|
|
563
|
-
],
|
|
564
|
-
"events": []
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "leu-dropdown",
|
|
569
|
-
"description": "\n---\n",
|
|
570
|
-
"doc-url": "",
|
|
571
|
-
"attributes": [
|
|
572
|
-
{
|
|
573
|
-
"name": "label",
|
|
574
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"name": "expanded",
|
|
578
|
-
"value": { "type": "boolean", "default": "false" }
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"name": "inverted",
|
|
582
|
-
"value": { "type": "boolean", "default": "false" }
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"events": [],
|
|
586
|
-
"js": {
|
|
587
|
-
"properties": [
|
|
588
|
-
{ "name": "hasSlotController" },
|
|
589
|
-
{ "name": "_documentClickHandler" },
|
|
590
|
-
{ "name": "_menuItemClickHandler" },
|
|
591
|
-
{
|
|
592
|
-
"name": "_keyDownMenuHandler",
|
|
593
|
-
"description": "Close the dropdown when the user presses the Escape or the Tab key.\nNavigating the menu with the arrow keys is handled by the menu itself."
|
|
594
|
-
},
|
|
595
|
-
{ "name": "label", "type": "string" },
|
|
596
|
-
{ "name": "expanded", "type": "boolean" },
|
|
597
|
-
{ "name": "inverted", "type": "boolean" },
|
|
598
|
-
{ "name": "_toggleRef", "type": "Ref<HTMLButtonElement>" }
|
|
599
|
-
],
|
|
600
|
-
"events": []
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
608
|
{
|
|
604
609
|
"name": "leu-file-input",
|
|
605
610
|
"description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**",
|
|
@@ -681,32 +686,9 @@
|
|
|
681
686
|
]
|
|
682
687
|
}
|
|
683
688
|
},
|
|
684
|
-
{
|
|
685
|
-
"name": "leu-icon",
|
|
686
|
-
"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)_",
|
|
687
|
-
"doc-url": "",
|
|
688
|
-
"attributes": [
|
|
689
|
-
{
|
|
690
|
-
"name": "name",
|
|
691
|
-
"description": "The name of the icon to display.",
|
|
692
|
-
"value": { "type": "IconPathName | \"\"", "default": "\"\"" }
|
|
693
|
-
}
|
|
694
|
-
],
|
|
695
|
-
"events": [],
|
|
696
|
-
"js": {
|
|
697
|
-
"properties": [
|
|
698
|
-
{
|
|
699
|
-
"name": "name",
|
|
700
|
-
"description": "The name of the icon to display.",
|
|
701
|
-
"type": "IconPathName | \"\""
|
|
702
|
-
}
|
|
703
|
-
],
|
|
704
|
-
"events": []
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
689
|
{
|
|
708
690
|
"name": "leu-input",
|
|
709
|
-
"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
|
|
691
|
+
"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",
|
|
710
692
|
"doc-url": "",
|
|
711
693
|
"attributes": [
|
|
712
694
|
{
|
|
@@ -716,12 +698,12 @@
|
|
|
716
698
|
},
|
|
717
699
|
{
|
|
718
700
|
"name": "required",
|
|
719
|
-
"description": "Marks the input element as required
|
|
701
|
+
"description": "Marks the input element as required",
|
|
720
702
|
"value": { "type": "boolean", "default": "false" }
|
|
721
703
|
},
|
|
722
704
|
{
|
|
723
705
|
"name": "clearable",
|
|
724
|
-
"description": "Adds a button to clear the input element
|
|
706
|
+
"description": "Adds a button to clear the input element",
|
|
725
707
|
"value": { "type": "boolean", "default": "false" }
|
|
726
708
|
},
|
|
727
709
|
{
|
|
@@ -732,21 +714,21 @@
|
|
|
732
714
|
{
|
|
733
715
|
"name": "name",
|
|
734
716
|
"description": "The name of the input element.",
|
|
735
|
-
"value": { "type": "string" }
|
|
717
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
736
718
|
},
|
|
737
719
|
{
|
|
738
720
|
"name": "error",
|
|
739
721
|
"description": "A custom error that is completely independent of the validity state. Useful for displaying server side errors.",
|
|
740
|
-
"value": { "type": "string" }
|
|
722
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
741
723
|
},
|
|
742
724
|
{
|
|
743
725
|
"name": "label",
|
|
744
|
-
"description": "The label of the input element
|
|
745
|
-
"value": { "type": "string" }
|
|
726
|
+
"description": "The label of the input element",
|
|
727
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
746
728
|
},
|
|
747
729
|
{
|
|
748
730
|
"name": "prefix",
|
|
749
|
-
"description": "A prefix that relates to the value of the input (e.g. CHF)
|
|
731
|
+
"description": "A prefix that relates to the value of the input (e.g. CHF)",
|
|
750
732
|
"value": { "type": "string" }
|
|
751
733
|
},
|
|
752
734
|
{
|
|
@@ -756,13 +738,16 @@
|
|
|
756
738
|
},
|
|
757
739
|
{
|
|
758
740
|
"name": "size",
|
|
759
|
-
"description": "The size of the input element
|
|
760
|
-
"value": {
|
|
741
|
+
"description": "The size of the input element",
|
|
742
|
+
"value": {
|
|
743
|
+
"type": "\"small\" | \"regular\"",
|
|
744
|
+
"default": "\"regular\""
|
|
745
|
+
}
|
|
761
746
|
},
|
|
762
747
|
{
|
|
763
748
|
"name": "icon",
|
|
764
|
-
"description": "The icon that is displayed at the end of the input element
|
|
765
|
-
"value": { "type": "
|
|
749
|
+
"description": "The icon that is displayed at the end of the input element",
|
|
750
|
+
"value": { "type": "IconPathName" }
|
|
766
751
|
},
|
|
767
752
|
{
|
|
768
753
|
"name": "pattern",
|
|
@@ -772,46 +757,42 @@
|
|
|
772
757
|
{
|
|
773
758
|
"name": "type",
|
|
774
759
|
"description": "The type of the input element.",
|
|
775
|
-
"value": { "type": "
|
|
760
|
+
"value": { "type": "InputType", "default": "\"text\"" }
|
|
776
761
|
},
|
|
777
762
|
{
|
|
778
763
|
"name": "min",
|
|
779
764
|
"description": "The minimum value of the input element.",
|
|
780
|
-
"value": { "type": "
|
|
765
|
+
"value": { "type": "number" }
|
|
781
766
|
},
|
|
782
767
|
{
|
|
783
768
|
"name": "max",
|
|
784
769
|
"description": "The maximum value of the input element.",
|
|
785
|
-
"value": { "type": "
|
|
770
|
+
"value": { "type": "number" }
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "step",
|
|
774
|
+
"description": "The step value of the input element.",
|
|
775
|
+
"value": { "type": "number" }
|
|
786
776
|
},
|
|
787
777
|
{
|
|
788
778
|
"name": "maxlength",
|
|
789
779
|
"description": "The maximum length of the input element.",
|
|
790
|
-
"value": { "type": "
|
|
780
|
+
"value": { "type": "number" }
|
|
791
781
|
},
|
|
792
782
|
{
|
|
793
783
|
"name": "minlength",
|
|
794
784
|
"description": "The minimum length of the input element.",
|
|
795
|
-
"value": { "type": "
|
|
785
|
+
"value": { "type": "number" }
|
|
796
786
|
},
|
|
797
787
|
{
|
|
798
788
|
"name": "validationMessages",
|
|
799
789
|
"description": "Custom validation messages. The key is the name of the validity state and the value is the message.",
|
|
800
|
-
"value": { "type": "
|
|
790
|
+
"value": { "type": "Record<string, string>", "default": "{}" }
|
|
801
791
|
},
|
|
802
792
|
{
|
|
803
793
|
"name": "novalidate",
|
|
804
794
|
"description": "Disables the browser's validation.",
|
|
805
795
|
"value": { "type": "boolean", "default": "false" }
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"name": "step",
|
|
809
|
-
"description": "The step value of the input element.",
|
|
810
|
-
"value": { "type": "string" }
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"name": "_validity",
|
|
814
|
-
"value": { "type": "null", "default": "null" }
|
|
815
796
|
}
|
|
816
797
|
],
|
|
817
798
|
"events": [
|
|
@@ -828,7 +809,6 @@
|
|
|
828
809
|
],
|
|
829
810
|
"js": {
|
|
830
811
|
"properties": [
|
|
831
|
-
{ "name": "valueAsNumber" },
|
|
832
812
|
{
|
|
833
813
|
"name": "disabled",
|
|
834
814
|
"description": "Disables the input element.",
|
|
@@ -836,33 +816,12 @@
|
|
|
836
816
|
},
|
|
837
817
|
{
|
|
838
818
|
"name": "required",
|
|
839
|
-
"description": "Marks the input element as required
|
|
819
|
+
"description": "Marks the input element as required",
|
|
840
820
|
"type": "boolean"
|
|
841
821
|
},
|
|
842
822
|
{
|
|
843
823
|
"name": "clearable",
|
|
844
|
-
"description": "Adds a button to clear the input element
|
|
845
|
-
"type": "boolean"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"name": "size",
|
|
849
|
-
"description": "The size of the input element.",
|
|
850
|
-
"type": "\"small\" | \"regular\""
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"name": "type",
|
|
854
|
-
"description": "The type of the input element.",
|
|
855
|
-
"type": "string"
|
|
856
|
-
},
|
|
857
|
-
{ "name": "_validity", "type": "null" },
|
|
858
|
-
{
|
|
859
|
-
"name": "validationMessages",
|
|
860
|
-
"description": "Custom validation messages. The key is the name of the validity state and the value is the message.",
|
|
861
|
-
"type": "object"
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
"name": "novalidate",
|
|
865
|
-
"description": "Disables the browser's validation.",
|
|
824
|
+
"description": "Adds a button to clear the input element",
|
|
866
825
|
"type": "boolean"
|
|
867
826
|
},
|
|
868
827
|
{
|
|
@@ -875,24 +834,19 @@
|
|
|
875
834
|
"description": "The name of the input element.",
|
|
876
835
|
"type": "string"
|
|
877
836
|
},
|
|
878
|
-
{
|
|
879
|
-
"name": "label",
|
|
880
|
-
"description": "The label of the input element.",
|
|
881
|
-
"type": "string"
|
|
882
|
-
},
|
|
883
837
|
{
|
|
884
838
|
"name": "error",
|
|
885
839
|
"description": "A custom error that is completely independent of the validity state. Useful for displaying server side errors.",
|
|
886
840
|
"type": "string"
|
|
887
841
|
},
|
|
888
842
|
{
|
|
889
|
-
"name": "
|
|
890
|
-
"description": "The
|
|
843
|
+
"name": "label",
|
|
844
|
+
"description": "The label of the input element",
|
|
891
845
|
"type": "string"
|
|
892
846
|
},
|
|
893
847
|
{
|
|
894
848
|
"name": "prefix",
|
|
895
|
-
"description": "A prefix that relates to the value of the input (e.g. CHF)
|
|
849
|
+
"description": "A prefix that relates to the value of the input (e.g. CHF)",
|
|
896
850
|
"type": "string"
|
|
897
851
|
},
|
|
898
852
|
{
|
|
@@ -900,36 +854,63 @@
|
|
|
900
854
|
"description": "A suffix that relates to the value of the input (e.g. mm).",
|
|
901
855
|
"type": "string"
|
|
902
856
|
},
|
|
857
|
+
{
|
|
858
|
+
"name": "size",
|
|
859
|
+
"description": "The size of the input element",
|
|
860
|
+
"type": "\"small\" | \"regular\""
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "icon",
|
|
864
|
+
"description": "The icon that is displayed at the end of the input element",
|
|
865
|
+
"type": "IconPathName"
|
|
866
|
+
},
|
|
903
867
|
{
|
|
904
868
|
"name": "pattern",
|
|
905
869
|
"description": "A regular expression that the value is checked against.",
|
|
906
870
|
"type": "string"
|
|
907
871
|
},
|
|
872
|
+
{
|
|
873
|
+
"name": "type",
|
|
874
|
+
"description": "The type of the input element.",
|
|
875
|
+
"type": "InputType"
|
|
876
|
+
},
|
|
908
877
|
{
|
|
909
878
|
"name": "min",
|
|
910
879
|
"description": "The minimum value of the input element.",
|
|
911
|
-
"type": "
|
|
880
|
+
"type": "number"
|
|
912
881
|
},
|
|
913
882
|
{
|
|
914
883
|
"name": "max",
|
|
915
884
|
"description": "The maximum value of the input element.",
|
|
916
|
-
"type": "
|
|
885
|
+
"type": "number"
|
|
917
886
|
},
|
|
918
887
|
{
|
|
919
|
-
"name": "
|
|
920
|
-
"description": "The
|
|
921
|
-
"type": "
|
|
888
|
+
"name": "step",
|
|
889
|
+
"description": "The step value of the input element.",
|
|
890
|
+
"type": "number"
|
|
922
891
|
},
|
|
923
892
|
{
|
|
924
893
|
"name": "maxlength",
|
|
925
894
|
"description": "The maximum length of the input element.",
|
|
926
|
-
"type": "
|
|
895
|
+
"type": "number"
|
|
927
896
|
},
|
|
928
897
|
{
|
|
929
|
-
"name": "
|
|
930
|
-
"description": "The
|
|
931
|
-
"type": "
|
|
932
|
-
}
|
|
898
|
+
"name": "minlength",
|
|
899
|
+
"description": "The minimum length of the input element.",
|
|
900
|
+
"type": "number"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "validationMessages",
|
|
904
|
+
"description": "Custom validation messages. The key is the name of the validity state and the value is the message.",
|
|
905
|
+
"type": "Record<string, string>"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "novalidate",
|
|
909
|
+
"description": "Disables the browser's validation.",
|
|
910
|
+
"type": "boolean"
|
|
911
|
+
},
|
|
912
|
+
{ "name": "_validity", "type": "ValidityState | null" },
|
|
913
|
+
{ "name": "valueAsNumber" }
|
|
933
914
|
],
|
|
934
915
|
"events": [
|
|
935
916
|
{
|
|
@@ -945,6 +926,29 @@
|
|
|
945
926
|
]
|
|
946
927
|
}
|
|
947
928
|
},
|
|
929
|
+
{
|
|
930
|
+
"name": "leu-icon",
|
|
931
|
+
"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)_",
|
|
932
|
+
"doc-url": "",
|
|
933
|
+
"attributes": [
|
|
934
|
+
{
|
|
935
|
+
"name": "name",
|
|
936
|
+
"description": "The name of the icon to display.",
|
|
937
|
+
"value": { "type": "IconPathName | \"\"", "default": "\"\"" }
|
|
938
|
+
}
|
|
939
|
+
],
|
|
940
|
+
"events": [],
|
|
941
|
+
"js": {
|
|
942
|
+
"properties": [
|
|
943
|
+
{
|
|
944
|
+
"name": "name",
|
|
945
|
+
"description": "The name of the icon to display.",
|
|
946
|
+
"type": "IconPathName | \"\""
|
|
947
|
+
}
|
|
948
|
+
],
|
|
949
|
+
"events": []
|
|
950
|
+
}
|
|
951
|
+
},
|
|
948
952
|
{
|
|
949
953
|
"name": "leu-menu",
|
|
950
954
|
"description": "\n---\n",
|
|
@@ -963,15 +967,14 @@
|
|
|
963
967
|
"name": "selects",
|
|
964
968
|
"description": "This has only an effect when the role is 'menu'. It defines which role the menu items will get. Default is 'none'.",
|
|
965
969
|
"type": "SelectsType"
|
|
966
|
-
}
|
|
967
|
-
{ "name": "value" }
|
|
970
|
+
}
|
|
968
971
|
],
|
|
969
972
|
"events": []
|
|
970
973
|
}
|
|
971
974
|
},
|
|
972
975
|
{
|
|
973
976
|
"name": "leu-menu-item",
|
|
974
|
-
"description": "\n---\n\n\n### **Methods:**\n - **getValue()
|
|
977
|
+
"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",
|
|
975
978
|
"doc-url": "",
|
|
976
979
|
"attributes": [
|
|
977
980
|
{
|
|
@@ -992,17 +995,17 @@
|
|
|
992
995
|
{
|
|
993
996
|
"name": "tabbable",
|
|
994
997
|
"description": "If the item should be focusable. Will be reflected as `tabindex` to the underlying button or link",
|
|
995
|
-
"value": { "type": "boolean"
|
|
998
|
+
"value": { "type": "boolean" }
|
|
996
999
|
},
|
|
997
1000
|
{
|
|
998
1001
|
"name": "href",
|
|
999
1002
|
"description": "The href of the underlying link",
|
|
1000
|
-
"value": { "type": "string"
|
|
1003
|
+
"value": { "type": "string" }
|
|
1001
1004
|
},
|
|
1002
1005
|
{
|
|
1003
1006
|
"name": "value",
|
|
1004
1007
|
"description": "The value of the item. It must not contain commas. See `getValue()`",
|
|
1005
|
-
"value": { "type": "string"
|
|
1008
|
+
"value": { "type": "string" }
|
|
1006
1009
|
},
|
|
1007
1010
|
{
|
|
1008
1011
|
"name": "componentRole",
|
|
@@ -1022,19 +1025,19 @@
|
|
|
1022
1025
|
"type": "boolean"
|
|
1023
1026
|
},
|
|
1024
1027
|
{
|
|
1025
|
-
"name": "
|
|
1026
|
-
"description": "
|
|
1028
|
+
"name": "multipleSelection",
|
|
1029
|
+
"description": "If the item is part of a multiple selection. Renders a checkmark before the label when active",
|
|
1027
1030
|
"type": "boolean"
|
|
1028
1031
|
},
|
|
1029
1032
|
{
|
|
1030
|
-
"name": "
|
|
1031
|
-
"description": "
|
|
1033
|
+
"name": "disabled",
|
|
1034
|
+
"description": "Disables the underlying button or link",
|
|
1032
1035
|
"type": "boolean"
|
|
1033
1036
|
},
|
|
1034
1037
|
{
|
|
1035
|
-
"name": "
|
|
1036
|
-
"description": "
|
|
1037
|
-
"type": "
|
|
1038
|
+
"name": "tabbable",
|
|
1039
|
+
"description": "If the item should be focusable. Will be reflected as `tabindex` to the underlying button or link",
|
|
1040
|
+
"type": "boolean"
|
|
1038
1041
|
},
|
|
1039
1042
|
{
|
|
1040
1043
|
"name": "href",
|
|
@@ -1042,9 +1045,9 @@
|
|
|
1042
1045
|
"type": "string"
|
|
1043
1046
|
},
|
|
1044
1047
|
{
|
|
1045
|
-
"name": "
|
|
1046
|
-
"description": "
|
|
1047
|
-
"type": "
|
|
1048
|
+
"name": "value",
|
|
1049
|
+
"description": "The value of the item. It must not contain commas. See `getValue()`",
|
|
1050
|
+
"type": "string"
|
|
1048
1051
|
},
|
|
1049
1052
|
{
|
|
1050
1053
|
"name": "componentRole",
|
|
@@ -1244,6 +1247,21 @@
|
|
|
1244
1247
|
"type": "\"width\" | \"height\" | \"both\" | undefined"
|
|
1245
1248
|
}
|
|
1246
1249
|
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "offset-main-axis",
|
|
1252
|
+
"description": "Offsets the popup along the main axis.",
|
|
1253
|
+
"value": { "type": "number | undefined" }
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"name": "offset-cross-axis",
|
|
1257
|
+
"description": "Offsets the popup along the cross axis.",
|
|
1258
|
+
"value": { "type": "number | undefined" }
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"name": "offset-alignment-axis",
|
|
1262
|
+
"description": "Offsets the popup along the alignment axis.\nOverrides the `offsetCrossAxis` value.",
|
|
1263
|
+
"value": { "type": "number | undefined" }
|
|
1264
|
+
},
|
|
1247
1265
|
{
|
|
1248
1266
|
"name": "autoSize",
|
|
1249
1267
|
"value": {
|
|
@@ -1268,6 +1286,21 @@
|
|
|
1268
1286
|
"name": "matchSize",
|
|
1269
1287
|
"type": "\"width\" | \"height\" | \"both\" | undefined"
|
|
1270
1288
|
},
|
|
1289
|
+
{
|
|
1290
|
+
"name": "offsetMainAxis",
|
|
1291
|
+
"description": "Offsets the popup along the main axis.",
|
|
1292
|
+
"type": "number | undefined"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"name": "offsetCrossAxis",
|
|
1296
|
+
"description": "Offsets the popup along the cross axis.",
|
|
1297
|
+
"type": "number | undefined"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"name": "offsetAlignmentAxis",
|
|
1301
|
+
"description": "Offsets the popup along the alignment axis.\nOverrides the `offsetCrossAxis` value.",
|
|
1302
|
+
"type": "number | undefined"
|
|
1303
|
+
},
|
|
1271
1304
|
{
|
|
1272
1305
|
"name": "autoSize",
|
|
1273
1306
|
"type": "| \"width\"\n | \"height\"\n | \"both\" | undefined"
|
|
@@ -1395,7 +1428,7 @@
|
|
|
1395
1428
|
},
|
|
1396
1429
|
{
|
|
1397
1430
|
"name": "leu-range",
|
|
1398
|
-
"description": "\n---\n\n\n### **Methods:**\n
|
|
1431
|
+
"description": "\n---\n\n\n### **Methods:**\n ",
|
|
1399
1432
|
"doc-url": "",
|
|
1400
1433
|
"attributes": [
|
|
1401
1434
|
{
|
|
@@ -1425,13 +1458,6 @@
|
|
|
1425
1458
|
"events": [],
|
|
1426
1459
|
"js": {
|
|
1427
1460
|
"properties": [
|
|
1428
|
-
{
|
|
1429
|
-
"name": "value",
|
|
1430
|
-
"description": "Sets the value of the underlying input element(s).\nThe value has to be an array if \"multiple\" range is used.\nOtherwise it has to be a string."
|
|
1431
|
-
},
|
|
1432
|
-
{ "name": "valueAsArray" },
|
|
1433
|
-
{ "name": "valueLow" },
|
|
1434
|
-
{ "name": "valueHigh" },
|
|
1435
1461
|
{ "name": "defaultValue", "type": "array" },
|
|
1436
1462
|
{ "name": "min", "type": "number" },
|
|
1437
1463
|
{ "name": "max", "type": "number" },
|
|
@@ -1439,7 +1465,14 @@
|
|
|
1439
1465
|
{ "name": "name", "type": "string" },
|
|
1440
1466
|
{ "name": "label", "type": "string" },
|
|
1441
1467
|
{ "name": "disabled", "type": "boolean" },
|
|
1442
|
-
{ "name": "multiple", "type": "boolean" }
|
|
1468
|
+
{ "name": "multiple", "type": "boolean" },
|
|
1469
|
+
{
|
|
1470
|
+
"name": "value",
|
|
1471
|
+
"description": "Sets the value of the underlying input element(s).\nThe value has to be an array if \"multiple\" range is used.\nOtherwise it has to be a string."
|
|
1472
|
+
},
|
|
1473
|
+
{ "name": "valueAsArray" },
|
|
1474
|
+
{ "name": "valueLow" },
|
|
1475
|
+
{ "name": "valueHigh" }
|
|
1443
1476
|
],
|
|
1444
1477
|
"events": []
|
|
1445
1478
|
}
|
|
@@ -1448,17 +1481,9 @@
|
|
|
1448
1481
|
"name": "leu-scroll-top",
|
|
1449
1482
|
"description": "\n---\n",
|
|
1450
1483
|
"doc-url": "",
|
|
1451
|
-
"attributes": [
|
|
1452
|
-
{ "name": "_showButton", "value": { "type": "string" } }
|
|
1453
|
-
],
|
|
1484
|
+
"attributes": [],
|
|
1454
1485
|
"events": [],
|
|
1455
|
-
"js": {
|
|
1456
|
-
"properties": [
|
|
1457
|
-
{ "name": "scroll" },
|
|
1458
|
-
{ "name": "_showButton", "type": "boolean" }
|
|
1459
|
-
],
|
|
1460
|
-
"events": []
|
|
1461
|
-
}
|
|
1486
|
+
"js": { "properties": [{ "name": "scroll" }], "events": [] }
|
|
1462
1487
|
},
|
|
1463
1488
|
{
|
|
1464
1489
|
"name": "leu-select",
|