@redvars/peacock 3.10.1 → 3.12.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/dist/BaseInput-CV0pZgSb.js +58 -0
- package/dist/BaseInput-CV0pZgSb.js.map +1 -0
- package/dist/app-bar.js +16 -16
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles.css.map +1 -1
- package/dist/assets/theme.d.ts +66 -0
- package/dist/assets/theme.js +134 -0
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/tokens.css.map +1 -1
- package/dist/base-progress-CLZTRveO.js +33 -0
- package/dist/base-progress-CLZTRveO.js.map +1 -0
- package/dist/bottom-sheet.js +1 -1
- package/dist/button-group.js +9 -7
- package/dist/button-group.js.map +1 -1
- package/dist/button.js +225 -187
- package/dist/button.js.map +1 -1
- package/dist/cb-divider.js +7 -6
- package/dist/cb-divider.js.map +1 -1
- package/dist/cb-group-base-D9gv7SDY.js +114 -0
- package/dist/cb-group-base-D9gv7SDY.js.map +1 -0
- package/dist/cb-group-base-DsX_2aFl.js +325 -0
- package/dist/cb-group-base-DsX_2aFl.js.map +1 -0
- package/dist/cb-group.js +96 -0
- package/dist/cb-group.js.map +1 -0
- package/dist/cb-rule.js +212 -0
- package/dist/cb-rule.js.map +1 -0
- package/dist/{chart-bar-CapLbc2e.js → chart-bar-D5dGFJfK.js} +2 -2
- package/dist/{chart-bar-CapLbc2e.js.map → chart-bar-D5dGFJfK.js.map} +1 -1
- package/dist/chart-bar.js +1 -1
- package/dist/chart-stacked-bar.js +1 -1
- package/dist/checkbox.js +78 -53
- package/dist/checkbox.js.map +1 -1
- package/dist/chip-set.js +52 -0
- package/dist/chip-set.js.map +1 -0
- package/dist/chip.js +8 -6
- package/dist/chip.js.map +1 -1
- package/dist/circular-progress.js +177 -0
- package/dist/circular-progress.js.map +1 -0
- package/dist/code-editor.js +129 -72
- package/dist/code-editor.js.map +1 -1
- package/dist/code-highlighter.js +2 -38
- package/dist/code-highlighter.js.map +1 -1
- package/dist/color-field.js +309 -0
- package/dist/color-field.js.map +1 -0
- package/dist/color-picker.js +26 -15
- package/dist/color-picker.js.map +1 -1
- package/dist/condition-builder.js +90 -35
- package/dist/condition-builder.js.map +1 -1
- package/dist/copy-to-clipboard-upGx-Ueo.js +39 -0
- package/dist/copy-to-clipboard-upGx-Ueo.js.map +1 -0
- package/dist/custom-elements-jsdocs.json +1140 -398
- package/dist/custom-elements.json +9065 -3989
- package/dist/date-picker.js +241 -0
- package/dist/date-picker.js.map +1 -0
- package/dist/{element-internals-2CMts_0M.js → delegate-py-Ets8N.js} +2 -43
- package/dist/delegate-py-Ets8N.js.map +1 -0
- package/dist/element-internals-QME0yEz4.js +43 -0
- package/dist/element-internals-QME0yEz4.js.map +1 -0
- package/dist/fab.js +51 -49
- package/dist/fab.js.map +1 -1
- package/dist/field.js +27 -0
- package/dist/field.js.map +1 -1
- package/dist/flow.js +5 -5
- package/dist/form-associated-Bhwwr6dT.js +162 -0
- package/dist/form-associated-Bhwwr6dT.js.map +1 -0
- package/dist/{form-associated-BXADnjOB.js → form-submitter-DPI4L6gj.js} +3 -159
- package/dist/form-submitter-DPI4L6gj.js.map +1 -0
- package/dist/html-editor.js +3 -1
- package/dist/html-editor.js.map +1 -1
- package/dist/icon-button.js +195 -156
- package/dist/icon-button.js.map +1 -1
- package/dist/image.js +2 -2
- package/dist/index.js +36 -11
- package/dist/index.js.map +1 -1
- package/dist/input.js +259 -0
- package/dist/input.js.map +1 -0
- package/dist/item.js +2 -1
- package/dist/item.js.map +1 -1
- package/dist/linear-progress.js +192 -0
- package/dist/linear-progress.js.map +1 -0
- package/dist/{list-AdO-PUq_.js → list-item.js} +12 -222
- package/dist/list-item.js.map +1 -0
- package/dist/list.js +225 -6
- package/dist/list.js.map +1 -1
- package/dist/loader-full.js +31 -8
- package/dist/loader-full.js.map +1 -1
- package/dist/loader.js +58 -25
- package/dist/loader.js.map +1 -1
- package/dist/markdown-editor.js +5 -3
- package/dist/markdown-editor.js.map +1 -1
- package/dist/menu-item.js +30 -30
- package/dist/navigation-bar-item.js +41 -0
- package/dist/navigation-bar-item.js.map +1 -0
- package/dist/navigation-bar.js +128 -0
- package/dist/navigation-bar.js.map +1 -0
- package/dist/navigation-drawer-item.js +236 -0
- package/dist/navigation-drawer-item.js.map +1 -0
- package/dist/navigation-drawer.js +293 -0
- package/dist/navigation-drawer.js.map +1 -0
- package/dist/navigation-rail.js +1 -1
- package/dist/number-field.js +280 -0
- package/dist/number-field.js.map +1 -0
- package/dist/pagination.js +1 -1
- package/dist/radio-group.js +209 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/radio.js +47 -37
- package/dist/radio.js.map +1 -1
- package/dist/segmented-button-group.js +12 -0
- package/dist/segmented-button-group.js.map +1 -1
- package/dist/segmented-button.js +10 -6
- package/dist/segmented-button.js.map +1 -1
- package/dist/select.js +653 -0
- package/dist/select.js.map +1 -0
- package/dist/side-sheet.js +1 -1
- package/dist/sidebar-menu-item.js +273 -0
- package/dist/sidebar-menu-item.js.map +1 -0
- package/dist/sidebar-menu.js +193 -0
- package/dist/sidebar-menu.js.map +1 -0
- package/dist/sidebar-sub-menu.js +301 -0
- package/dist/sidebar-sub-menu.js.map +1 -0
- package/dist/slider.js +76 -24
- package/dist/slider.js.map +1 -1
- package/dist/snackbar.js +3 -3
- package/dist/snackbar.js.map +1 -1
- package/dist/split-button.js +2 -2
- package/dist/src/__internal/utils/size.d.ts +9 -0
- package/dist/src/button/ButtonTypes.d.ts +1 -1
- package/dist/src/checkbox/checkbox.d.ts +28 -22
- package/dist/src/chip/chip/chip.d.ts +3 -0
- package/dist/src/chip/tag/tag.d.ts +5 -1
- package/dist/src/code-editor/code-editor.d.ts +37 -10
- package/dist/src/color-field/color-field.d.ts +55 -0
- package/dist/src/color-field/index.d.ts +1 -0
- package/dist/src/color-picker/color-picker.d.ts +1 -1
- package/dist/src/condition-builder/cb-divider.d.ts +3 -1
- package/dist/src/condition-builder/cb-drag.d.ts +10 -0
- package/dist/src/condition-builder/cb-group-base.d.ts +59 -0
- package/dist/src/condition-builder/cb-group.d.ts +34 -0
- package/dist/src/condition-builder/cb-rule.d.ts +32 -0
- package/dist/src/condition-builder/cb-types.d.ts +13 -0
- package/dist/src/condition-builder/condition-builder.d.ts +35 -14
- package/dist/src/condition-builder/index.d.ts +3 -3
- package/dist/src/date-picker/date-picker.d.ts +0 -1
- package/dist/src/index.d.ts +6 -4
- package/dist/src/input/BaseInput.d.ts +21 -3
- package/dist/src/input/input.d.ts +15 -7
- package/dist/src/navigation-bar/index.d.ts +2 -0
- package/dist/src/navigation-bar/navigation-bar-item.d.ts +23 -0
- package/dist/src/navigation-bar/navigation-bar.d.ts +44 -0
- package/dist/src/navigation-drawer/index.d.ts +2 -0
- package/dist/src/navigation-drawer/navigation-drawer-item.d.ts +48 -0
- package/dist/src/navigation-drawer/navigation-drawer.d.ts +70 -0
- package/dist/src/number-field/number-field.d.ts +0 -1
- package/dist/src/radio/index.d.ts +1 -0
- package/dist/src/radio/radio-group.d.ts +50 -0
- package/dist/src/radio/radio.d.ts +18 -18
- package/dist/src/segmented-button/segmented-button-group.d.ts +5 -0
- package/dist/src/segmented-button/segmented-button.d.ts +2 -1
- package/dist/src/select/select.d.ts +6 -0
- package/dist/src/slider/slider.d.ts +14 -5
- package/dist/src/switch/switch.d.ts +22 -26
- package/dist/src/tabs/tabs.d.ts +3 -0
- package/dist/src/textarea/textarea.d.ts +0 -1
- package/dist/src/time-picker/time-picker.d.ts +0 -1
- package/dist/src/toolbar/toolbar.d.ts +7 -4
- package/dist/src/url-field/url-field.d.ts +0 -1
- package/dist/svg.js +5 -5
- package/dist/switch.js +413 -0
- package/dist/switch.js.map +1 -0
- package/dist/tab.js +2 -1
- package/dist/tab.js.map +1 -1
- package/dist/tabs.js +10 -8
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +349 -0
- package/dist/tag.js.map +1 -0
- package/dist/test/code-editor.test.d.ts +1 -0
- package/dist/test/color-field.test.d.ts +1 -0
- package/dist/test/color-picker.test.d.ts +1 -0
- package/dist/test/condition-builder.test.d.ts +1 -0
- package/dist/test/field.test.d.ts +1 -0
- package/dist/test/form-controls.test.d.ts +1 -0
- package/dist/test/icon.test.d.ts +1 -1
- package/dist/test/input.test.d.ts +1 -0
- package/dist/test/navigation.test.d.ts +1 -0
- package/dist/test/segmented-button.test.d.ts +1 -0
- package/dist/test/slider.test.d.ts +1 -0
- package/dist/textarea.js +237 -0
- package/dist/textarea.js.map +1 -0
- package/dist/time-picker.js +241 -0
- package/dist/time-picker.js.map +1 -0
- package/dist/toolbar.js +26 -9
- package/dist/toolbar.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/url-field.js +298 -0
- package/dist/url-field.js.map +1 -0
- package/package.json +29 -8
- package/readme.md +2 -2
- package/scss/tokens.css +175 -18
- package/src/__internal/utils/size.ts +23 -0
- package/src/app-bar/app-bar.scss +4 -16
- package/src/bottom-sheet/bottom-sheet.scss +1 -1
- package/src/button/ButtonTypes.ts +2 -0
- package/src/button/button/button-base.scss +84 -84
- package/src/button/button/button-colors.scss +14 -2
- package/src/button/button/button-layers.scss +71 -71
- package/src/button/button/button-shapes.scss +2 -2
- package/src/button/button/button-sizes.scss +35 -35
- package/src/button/button/button.scss +1 -1
- package/src/button/button/button.ts +1 -2
- package/src/button/button-group/button-group.scss +5 -5
- package/src/button/fab/fab-sizes.scss +15 -15
- package/src/button/fab/fab.scss +32 -32
- package/src/button/icon-button/icon-button-sizes.scss +7 -7
- package/src/chart-bar/chart-bar.scss +1 -1
- package/src/checkbox/checkbox.scss +7 -6
- package/src/checkbox/checkbox.ts +92 -40
- package/src/chip/chip/chip.ts +8 -5
- package/src/chip/chip-set/chip-set.ts +2 -0
- package/src/chip/tag/tag-colors.scss +1 -1
- package/src/chip/tag/tag-sizes.scss +9 -0
- package/src/chip/tag/tag.scss +1 -1
- package/src/chip/tag/tag.ts +20 -9
- package/src/code-editor/code-editor.scss +8 -3
- package/src/code-editor/code-editor.ts +148 -79
- package/src/code-highlighter/code-highlighter.scss +1 -1
- package/src/color-field/color-field.scss +48 -0
- package/src/color-field/color-field.ts +239 -0
- package/src/color-field/index.ts +1 -0
- package/src/color-picker/color-picker.scss +33 -15
- package/src/color-picker/color-picker.ts +2 -1
- package/src/condition-builder/cb-divider.scss +4 -5
- package/src/condition-builder/cb-divider.ts +3 -1
- package/src/condition-builder/cb-drag.ts +35 -0
- package/src/condition-builder/cb-group-base.scss +97 -0
- package/src/condition-builder/cb-group-base.ts +335 -0
- package/src/condition-builder/cb-group.scss +21 -0
- package/src/condition-builder/cb-group.ts +72 -0
- package/src/condition-builder/cb-rule.scss +90 -0
- package/src/condition-builder/cb-rule.ts +129 -0
- package/src/condition-builder/cb-types.ts +16 -0
- package/src/condition-builder/condition-builder.scss +12 -9
- package/src/condition-builder/condition-builder.ts +77 -17
- package/src/condition-builder/index.ts +7 -3
- package/src/date-picker/date-picker.ts +2 -3
- package/src/field/field.scss +34 -0
- package/src/flow/flow.scss +5 -5
- package/src/image/image.scss +2 -2
- package/src/index.ts +14 -6
- package/src/input/BaseInput.ts +54 -4
- package/src/input/input.ts +104 -79
- package/src/list/list-item.ts +2 -0
- package/src/loader.ts +34 -19
- package/src/markdown-editor/markdown-editor.scss +2 -2
- package/src/menu/menu-item/menu-item.scss +30 -30
- package/src/navigation-bar/index.ts +2 -0
- package/src/navigation-bar/navigation-bar-item.ts +25 -0
- package/src/navigation-bar/navigation-bar.scss +27 -0
- package/src/navigation-bar/navigation-bar.ts +96 -0
- package/src/navigation-drawer/index.ts +2 -0
- package/src/navigation-drawer/navigation-drawer-item.scss +82 -0
- package/src/navigation-drawer/navigation-drawer-item.ts +133 -0
- package/src/navigation-drawer/navigation-drawer.scss +99 -0
- package/src/navigation-drawer/navigation-drawer.ts +196 -0
- package/src/navigation-rail/navigation-rail.scss +1 -1
- package/src/number-field/number-field.ts +2 -3
- package/src/pagination/pagination.scss +1 -1
- package/src/progress/circular-progress/circular-progress.ts +2 -0
- package/src/progress/linear-progress/linear-progress.ts +2 -0
- package/src/radio/index.ts +1 -0
- package/src/radio/radio-group.scss +39 -0
- package/src/radio/radio-group.ts +167 -0
- package/src/radio/radio.ts +74 -31
- package/src/segmented-button/segmented-button-group.ts +12 -0
- package/src/segmented-button/segmented-button.ts +12 -6
- package/src/select/select.ts +21 -1
- package/src/side-sheet/side-sheet.scss +1 -1
- package/src/sidebar-menu/sidebar-menu-item.scss +1 -1
- package/src/sidebar-menu/sidebar-menu-item.ts +2 -0
- package/src/sidebar-menu/sidebar-menu.ts +2 -0
- package/src/sidebar-menu/sidebar-sub-menu.scss +1 -1
- package/src/sidebar-menu/sidebar-sub-menu.ts +2 -0
- package/src/slider/slider.scss +3 -3
- package/src/slider/slider.ts +119 -31
- package/src/snackbar/snackbar.ts +3 -3
- package/src/split-button/split-button-colors.scss +2 -2
- package/src/svg/svg.scss +5 -5
- package/src/switch/switch.scss +0 -1
- package/src/switch/switch.ts +82 -47
- package/src/tabs/tab.scss +2 -1
- package/src/tabs/tabs.ts +14 -8
- package/src/textarea/textarea.ts +2 -3
- package/src/time-picker/time-picker.ts +2 -3
- package/src/toolbar/toolbar.scss +4 -4
- package/src/toolbar/toolbar.ts +12 -5
- package/src/url-field/url-field.ts +2 -3
- package/dist/BaseInput-CU1zZYKc.js +0 -27
- package/dist/BaseInput-CU1zZYKc.js.map +0 -1
- package/dist/brand-loader.js +0 -358
- package/dist/brand-loader.js.map +0 -1
- package/dist/cb-compound-expression.js +0 -133
- package/dist/cb-compound-expression.js.map +0 -1
- package/dist/cb-expression.js +0 -78
- package/dist/cb-expression.js.map +0 -1
- package/dist/cb-predicate.js +0 -141
- package/dist/cb-predicate.js.map +0 -1
- package/dist/element-internals-2CMts_0M.js.map +0 -1
- package/dist/form-associated-BXADnjOB.js.map +0 -1
- package/dist/list-AdO-PUq_.js.map +0 -1
- package/dist/select-DkyRqUTI.js +0 -3955
- package/dist/select-DkyRqUTI.js.map +0 -1
- package/dist/src/brand-loader/brand-loader.d.ts +0 -33
- package/dist/src/brand-loader/index.d.ts +0 -2
- package/dist/src/condition-builder/cb-compound-expression.d.ts +0 -30
- package/dist/src/condition-builder/cb-expression.d.ts +0 -30
- package/dist/src/condition-builder/cb-predicate.d.ts +0 -29
- package/src/brand-loader/brand-loader.scss +0 -270
- package/src/brand-loader/brand-loader.ts +0 -115
- package/src/brand-loader/index.ts +0 -2
- package/src/condition-builder/cb-compound-expression.scss +0 -41
- package/src/condition-builder/cb-compound-expression.ts +0 -79
- package/src/condition-builder/cb-expression.scss +0 -13
- package/src/condition-builder/cb-expression.ts +0 -48
- package/src/condition-builder/cb-predicate.scss +0 -35
- package/src/condition-builder/cb-predicate.ts +0 -101
- /package/dist/test/{brand-loader.test.d.ts → button.test.d.ts} +0 -0
|
@@ -397,87 +397,6 @@
|
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
},
|
|
400
|
-
{
|
|
401
|
-
"label": "Brand Loader",
|
|
402
|
-
"tag": "wc-brand-loader",
|
|
403
|
-
"rawTag": "brand-loader",
|
|
404
|
-
"summary": "A loading indicator built from the Redvars r mark.",
|
|
405
|
-
"cssprop": "--brand-loader-duration - The length of one loop.",
|
|
406
|
-
"tags": "display",
|
|
407
|
-
"example": "```html\n<wc-brand-loader></wc-brand-loader>\n```",
|
|
408
|
-
"customElement": {
|
|
409
|
-
"kind": "class",
|
|
410
|
-
"description": "",
|
|
411
|
-
"cssProperties": [
|
|
412
|
-
{
|
|
413
|
-
"description": "The edge of the loader.",
|
|
414
|
-
"name": "--brand-loader-size"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"description": "The color of the tile.",
|
|
418
|
-
"name": "--brand-loader-tile-color"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"description": "The color of the r.",
|
|
422
|
-
"name": "--brand-loader-mark-color"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"description": "The length of one loop.",
|
|
426
|
-
"name": "--brand-loader-duration"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"attributes": [
|
|
430
|
-
{
|
|
431
|
-
"name": "variant",
|
|
432
|
-
"type": {
|
|
433
|
-
"text": "BrandLoaderVariant"
|
|
434
|
-
},
|
|
435
|
-
"default": "'build'",
|
|
436
|
-
"description": "How the mark moves while loading. Ignored once `value` is set.",
|
|
437
|
-
"fieldName": "variant",
|
|
438
|
-
"expandedType": {
|
|
439
|
-
"text": "'build' | 'trace' | 'fill' | 'pulse' | 'orbit'"
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"name": "value",
|
|
444
|
-
"type": {
|
|
445
|
-
"text": "number | undefined"
|
|
446
|
-
},
|
|
447
|
-
"description": "Progress from 0 to 100. When set, the r fills to this level instead of looping.",
|
|
448
|
-
"fieldName": "value"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "label",
|
|
452
|
-
"type": {
|
|
453
|
-
"text": "string"
|
|
454
|
-
},
|
|
455
|
-
"default": "'Loading'",
|
|
456
|
-
"description": "The accessible name of the loader.",
|
|
457
|
-
"fieldName": "label"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"name": "full-motion",
|
|
461
|
-
"type": {
|
|
462
|
-
"text": "boolean"
|
|
463
|
-
},
|
|
464
|
-
"default": "false",
|
|
465
|
-
"description": "Plays the full animation even when the system asks for reduced motion.",
|
|
466
|
-
"fieldName": "fullMotion"
|
|
467
|
-
}
|
|
468
|
-
],
|
|
469
|
-
"superclass": {
|
|
470
|
-
"name": "LitElement",
|
|
471
|
-
"package": "lit"
|
|
472
|
-
},
|
|
473
|
-
"tagName": "wc-brand-loader",
|
|
474
|
-
"customElement": true,
|
|
475
|
-
"rawTag": {
|
|
476
|
-
"name": "brand-loader",
|
|
477
|
-
"description": ""
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
400
|
{
|
|
482
401
|
"label": "Breadcrumb",
|
|
483
402
|
"tag": "wc-breadcrumb",
|
|
@@ -727,7 +646,7 @@
|
|
|
727
646
|
"fieldName": "color",
|
|
728
647
|
"description": "Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.",
|
|
729
648
|
"expandedType": {
|
|
730
|
-
"text": "'primary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface'"
|
|
649
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface'"
|
|
731
650
|
},
|
|
732
651
|
"inheritedFrom": {
|
|
733
652
|
"name": "mixinBaseButton",
|
|
@@ -975,7 +894,7 @@
|
|
|
975
894
|
"description": "Color applied to all buttons in the group.\nPossible values are `\"primary\"`, `\"success\"`, `\"danger\"`, `\"warning\"`, `\"surface\"`, `\"on-surface\"`.",
|
|
976
895
|
"fieldName": "color",
|
|
977
896
|
"expandedType": {
|
|
978
|
-
"text": "'primary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface' | undefined"
|
|
897
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface' | undefined"
|
|
979
898
|
}
|
|
980
899
|
},
|
|
981
900
|
{
|
|
@@ -1370,65 +1289,26 @@
|
|
|
1370
1289
|
}
|
|
1371
1290
|
},
|
|
1372
1291
|
{
|
|
1373
|
-
"label": "CB
|
|
1374
|
-
"tag": "wc-cb-
|
|
1375
|
-
"rawTag": "cb-
|
|
1376
|
-
"summary": "A
|
|
1292
|
+
"label": "CB Divider",
|
|
1293
|
+
"tag": "wc-cb-divider",
|
|
1294
|
+
"rawTag": "cb-divider",
|
|
1295
|
+
"summary": "A divider line used within a condition builder to visually connect rules with an operator.",
|
|
1296
|
+
"cssprop": "--cb-divider-arm-length - Length of the connecting arms drawn by `connect-start` and `connect-end`.",
|
|
1377
1297
|
"tags": "condition-builder",
|
|
1378
|
-
"example": "```html\n<wc-cb-
|
|
1298
|
+
"example": "```html\n<wc-cb-divider>\n <wc-tag color=\"green\">and</wc-tag>\n</wc-cb-divider>\n```",
|
|
1379
1299
|
"customElement": {
|
|
1380
1300
|
"kind": "class",
|
|
1381
1301
|
"description": "",
|
|
1382
|
-
"
|
|
1383
|
-
{
|
|
1384
|
-
"name": "condition-operator",
|
|
1385
|
-
"type": {
|
|
1386
|
-
"text": "'and' | 'or' | undefined"
|
|
1387
|
-
},
|
|
1388
|
-
"description": "The logical operator joining conditions in this group ('and' or 'or').",
|
|
1389
|
-
"fieldName": "conditionOperator"
|
|
1390
|
-
},
|
|
1302
|
+
"cssProperties": [
|
|
1391
1303
|
{
|
|
1392
|
-
"
|
|
1393
|
-
"
|
|
1394
|
-
"text": "string"
|
|
1395
|
-
},
|
|
1396
|
-
"default": "''",
|
|
1397
|
-
"description": "The field name for the compound expression.",
|
|
1398
|
-
"fieldName": "fieldName"
|
|
1304
|
+
"description": "Color of the divider line.",
|
|
1305
|
+
"name": "--cb-divider-line-color"
|
|
1399
1306
|
},
|
|
1400
1307
|
{
|
|
1401
|
-
"
|
|
1402
|
-
"
|
|
1403
|
-
"text": "string"
|
|
1404
|
-
},
|
|
1405
|
-
"default": "''",
|
|
1406
|
-
"description": "The display label for the field.",
|
|
1407
|
-
"fieldName": "fieldLabel"
|
|
1308
|
+
"description": "Length of the connecting arms drawn by `connect-start` and `connect-end`.",
|
|
1309
|
+
"name": "--cb-divider-arm-length"
|
|
1408
1310
|
}
|
|
1409
1311
|
],
|
|
1410
|
-
"superclass": {
|
|
1411
|
-
"name": "LitElement",
|
|
1412
|
-
"package": "lit"
|
|
1413
|
-
},
|
|
1414
|
-
"tagName": "wc-cb-compound-expression",
|
|
1415
|
-
"customElement": true,
|
|
1416
|
-
"rawTag": {
|
|
1417
|
-
"name": "cb-compound-expression",
|
|
1418
|
-
"description": ""
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"label": "CB Divider",
|
|
1424
|
-
"tag": "wc-cb-divider",
|
|
1425
|
-
"rawTag": "cb-divider",
|
|
1426
|
-
"summary": "A divider line used within a condition builder to visually connect expressions with operator tags.",
|
|
1427
|
-
"tags": "condition-builder",
|
|
1428
|
-
"example": "```html\n<wc-cb-divider>\n <wc-tag color=\"green\">and</wc-tag>\n</wc-cb-divider>\n```",
|
|
1429
|
-
"customElement": {
|
|
1430
|
-
"kind": "class",
|
|
1431
|
-
"description": "",
|
|
1432
1312
|
"attributes": [
|
|
1433
1313
|
{
|
|
1434
1314
|
"name": "vertical",
|
|
@@ -1471,84 +1351,121 @@
|
|
|
1471
1351
|
}
|
|
1472
1352
|
},
|
|
1473
1353
|
{
|
|
1474
|
-
"label": "CB
|
|
1475
|
-
"tag": "wc-cb-
|
|
1476
|
-
"rawTag": "cb-
|
|
1477
|
-
"summary": "
|
|
1354
|
+
"label": "CB Group",
|
|
1355
|
+
"tag": "wc-cb-group",
|
|
1356
|
+
"rawTag": "cb-group",
|
|
1357
|
+
"summary": "A bordered, nested group of rules in a condition builder, joined by its own And/Or operator.",
|
|
1358
|
+
"overview": "<p>A bracket on the left joins the group's rules, with a pill to switch between And and Or. Rules can be dragged into, out of and within the group.</p>",
|
|
1478
1359
|
"tags": "condition-builder",
|
|
1479
|
-
"
|
|
1360
|
+
"fires": "add-rule - Dispatched when the default \"Add condition\" link is clicked.",
|
|
1361
|
+
"slot": "actions - Replaces the default \"Add condition\" link.",
|
|
1362
|
+
"example": "```html\n<wc-cb-group operator=\"or\">\n <wc-cb-rule>\n <wc-input placeholder=\"Value\"></wc-input>\n </wc-cb-rule>\n <wc-cb-rule>\n <wc-input placeholder=\"Value\"></wc-input>\n </wc-cb-rule>\n</wc-cb-group>\n```",
|
|
1480
1363
|
"customElement": {
|
|
1481
1364
|
"kind": "class",
|
|
1482
1365
|
"description": "",
|
|
1483
|
-
"
|
|
1366
|
+
"slots": [
|
|
1367
|
+
{
|
|
1368
|
+
"description": "Rules (`wc-cb-rule`) and nested groups.",
|
|
1369
|
+
"name": ""
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"description": "Replaces the default \"Add condition\" link.",
|
|
1373
|
+
"name": "actions"
|
|
1374
|
+
}
|
|
1375
|
+
],
|
|
1376
|
+
"events": [
|
|
1484
1377
|
{
|
|
1485
|
-
"name": "
|
|
1378
|
+
"name": "add-rule",
|
|
1486
1379
|
"type": {
|
|
1487
|
-
"text": "{
|
|
1380
|
+
"text": "CustomEvent<{group: HTMLElement}>"
|
|
1488
1381
|
},
|
|
1489
|
-
"
|
|
1490
|
-
"description": "The list of operator options to display in the operator select.\nEach item should have at least `label` and `value` properties.",
|
|
1491
|
-
"fieldName": "operators"
|
|
1382
|
+
"description": "Dispatched when the default \"Add condition\" link is clicked."
|
|
1492
1383
|
},
|
|
1493
1384
|
{
|
|
1494
|
-
"name": "operator-
|
|
1385
|
+
"name": "operator-change",
|
|
1495
1386
|
"type": {
|
|
1496
|
-
"text": "
|
|
1387
|
+
"text": "CustomEvent"
|
|
1497
1388
|
},
|
|
1498
|
-
"
|
|
1499
|
-
"
|
|
1500
|
-
|
|
1389
|
+
"description": "Dispatched when the user picks a different operator.",
|
|
1390
|
+
"inheritedFrom": {
|
|
1391
|
+
"name": "CbGroupBase",
|
|
1392
|
+
"module": "src/condition-builder/cb-group-base.ts"
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "CustomEvent<{rule: CbRule, from: HTMLElement | null, to: HTMLElement, index: number}>"
|
|
1398
|
+
},
|
|
1399
|
+
"description": "Dispatched before a rule is moved into this group. Cancelable: unless prevented, the group moves the rule.",
|
|
1400
|
+
"name": "rule-move"
|
|
1501
1401
|
}
|
|
1502
1402
|
],
|
|
1503
1403
|
"superclass": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"
|
|
1404
|
+
"name": "CbGroupBase",
|
|
1405
|
+
"module": "/src/condition-builder/cb-group-base.js"
|
|
1506
1406
|
},
|
|
1507
|
-
"tagName": "wc-cb-
|
|
1407
|
+
"tagName": "wc-cb-group",
|
|
1508
1408
|
"customElement": true,
|
|
1509
1409
|
"rawTag": {
|
|
1510
|
-
"name": "cb-
|
|
1410
|
+
"name": "cb-group",
|
|
1511
1411
|
"description": ""
|
|
1512
|
-
}
|
|
1412
|
+
},
|
|
1413
|
+
"attributes": [
|
|
1414
|
+
{
|
|
1415
|
+
"name": "operator",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "CbOperator"
|
|
1418
|
+
},
|
|
1419
|
+
"default": "'and'",
|
|
1420
|
+
"description": "The logical operator joining the rules and groups in this group.",
|
|
1421
|
+
"fieldName": "operator",
|
|
1422
|
+
"expandedType": {
|
|
1423
|
+
"text": "'and' | 'or'"
|
|
1424
|
+
},
|
|
1425
|
+
"inheritedFrom": {
|
|
1426
|
+
"name": "CbGroupBase",
|
|
1427
|
+
"module": "src/condition-builder/cb-group-base.ts"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1513
1431
|
}
|
|
1514
1432
|
},
|
|
1515
1433
|
{
|
|
1516
|
-
"label": "CB
|
|
1517
|
-
"tag": "wc-cb-
|
|
1518
|
-
"rawTag": "cb-
|
|
1519
|
-
"summary": "
|
|
1434
|
+
"label": "CB Rule",
|
|
1435
|
+
"tag": "wc-cb-rule",
|
|
1436
|
+
"rawTag": "cb-rule",
|
|
1437
|
+
"summary": "One condition row in a condition builder: a drag handle, the slotted field, operator and value controls, and a remove button.",
|
|
1438
|
+
"overview": "<p>Drag the handle to reorder the rule, or to move it into another group. With the handle focused, ArrowUp and ArrowDown move the rule within its group.</p>",
|
|
1520
1439
|
"tags": "condition-builder",
|
|
1521
|
-
"
|
|
1440
|
+
"cssprop": "--cb-rule-field-height - Height of the slotted fields (wc-select, wc-input…). Defaults to `2.5rem`.",
|
|
1441
|
+
"fires": "rule-remove - Dispatched when the remove button is clicked. Cancelable: unless prevented, the rule removes itself.",
|
|
1442
|
+
"example": "```html\n<wc-cb-rule>\n <wc-select placeholder=\"Field\"></wc-select>\n <wc-select placeholder=\"Operator\"></wc-select>\n <wc-input placeholder=\"Value\"></wc-input>\n</wc-cb-rule>\n```",
|
|
1522
1443
|
"customElement": {
|
|
1523
1444
|
"kind": "class",
|
|
1524
1445
|
"description": "",
|
|
1525
|
-
"
|
|
1446
|
+
"cssProperties": [
|
|
1526
1447
|
{
|
|
1527
|
-
"
|
|
1528
|
-
"
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
"fieldName": "conditionOperator"
|
|
1533
|
-
},
|
|
1448
|
+
"description": "Height of the slotted fields (wc-select, wc-input…). Defaults to `2.5rem`.",
|
|
1449
|
+
"name": "--cb-rule-field-height"
|
|
1450
|
+
}
|
|
1451
|
+
],
|
|
1452
|
+
"events": [
|
|
1534
1453
|
{
|
|
1535
|
-
"name": "vertical",
|
|
1536
1454
|
"type": {
|
|
1537
|
-
"text": "
|
|
1455
|
+
"text": "CustomEvent<{rule: CbRule, group: HTMLElement | null}>"
|
|
1538
1456
|
},
|
|
1539
|
-
"
|
|
1540
|
-
"
|
|
1541
|
-
"fieldName": "vertical"
|
|
1457
|
+
"description": "Dispatched when the remove button is clicked. Cancelable: unless prevented, the rule removes itself.",
|
|
1458
|
+
"name": "rule-remove"
|
|
1542
1459
|
}
|
|
1543
1460
|
],
|
|
1544
1461
|
"superclass": {
|
|
1545
1462
|
"name": "LitElement",
|
|
1546
1463
|
"package": "lit"
|
|
1547
1464
|
},
|
|
1548
|
-
"tagName": "wc-cb-
|
|
1465
|
+
"tagName": "wc-cb-rule",
|
|
1549
1466
|
"customElement": true,
|
|
1550
1467
|
"rawTag": {
|
|
1551
|
-
"name": "cb-
|
|
1468
|
+
"name": "cb-rule",
|
|
1552
1469
|
"description": ""
|
|
1553
1470
|
}
|
|
1554
1471
|
}
|
|
@@ -1833,11 +1750,11 @@
|
|
|
1833
1750
|
"tag": "wc-checkbox",
|
|
1834
1751
|
"rawTag": "checkbox",
|
|
1835
1752
|
"summary": "Captures boolean input with an optional indeterminate mode.",
|
|
1836
|
-
"overview": "<p>Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.</p>\n<p>checkboxes feature a smooth animation and clear visual states for checked, unchecked, and indeterminate.</p>",
|
|
1753
|
+
"overview": "<p>Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.</p>\n<p>checkboxes feature a smooth animation and clear visual states for checked, unchecked, and indeterminate.</p>\n<p>The checkbox is form-associated: when <code>checked</code>, it submits <code>on</code> under its <code>name</code>.</p>",
|
|
1837
1754
|
"cssprop": "--checkbox-state-layer-size: Size of the state layer for touch target.",
|
|
1838
1755
|
"fires": "focus - Dispatched when the checkbox receives focus.",
|
|
1839
1756
|
"tags": "input, form",
|
|
1840
|
-
"example": "```html\n<wc-checkbox label=\"Accept terms\"></wc-checkbox>\n```",
|
|
1757
|
+
"example": "```html\n<wc-checkbox label=\"Accept terms\" checked></wc-checkbox>\n```",
|
|
1841
1758
|
"customElement": {
|
|
1842
1759
|
"kind": "class",
|
|
1843
1760
|
"description": "",
|
|
@@ -1868,7 +1785,7 @@
|
|
|
1868
1785
|
"type": {
|
|
1869
1786
|
"text": "CustomEvent"
|
|
1870
1787
|
},
|
|
1871
|
-
"description": "Dispatched when the checkbox value
|
|
1788
|
+
"description": "Dispatched when the checkbox is toggled. Detail: `{ checked, value, originalEvent }`.",
|
|
1872
1789
|
"name": "change"
|
|
1873
1790
|
},
|
|
1874
1791
|
{
|
|
@@ -1888,30 +1805,29 @@
|
|
|
1888
1805
|
],
|
|
1889
1806
|
"attributes": [
|
|
1890
1807
|
{
|
|
1891
|
-
"name": "
|
|
1808
|
+
"name": "label",
|
|
1892
1809
|
"type": {
|
|
1893
1810
|
"text": "string"
|
|
1894
1811
|
},
|
|
1895
1812
|
"default": "''",
|
|
1896
|
-
"description": "The
|
|
1897
|
-
"fieldName": "
|
|
1813
|
+
"description": "The checkbox label.",
|
|
1814
|
+
"fieldName": "label"
|
|
1898
1815
|
},
|
|
1899
1816
|
{
|
|
1900
|
-
"name": "
|
|
1817
|
+
"name": "checked",
|
|
1901
1818
|
"type": {
|
|
1902
|
-
"text": "
|
|
1819
|
+
"text": "boolean"
|
|
1903
1820
|
},
|
|
1904
|
-
"default": "
|
|
1905
|
-
"description": "
|
|
1906
|
-
"fieldName": "
|
|
1821
|
+
"default": "false",
|
|
1822
|
+
"description": "Whether the checkbox is checked.",
|
|
1823
|
+
"fieldName": "checked"
|
|
1907
1824
|
},
|
|
1908
1825
|
{
|
|
1909
1826
|
"name": "value",
|
|
1910
1827
|
"type": {
|
|
1911
1828
|
"text": "boolean"
|
|
1912
1829
|
},
|
|
1913
|
-
"
|
|
1914
|
-
"description": "The input field value (checked state).",
|
|
1830
|
+
"deprecated": "Use `checked`. Kept as an alias of `checked`.",
|
|
1915
1831
|
"fieldName": "value"
|
|
1916
1832
|
},
|
|
1917
1833
|
{
|
|
@@ -1959,15 +1875,6 @@
|
|
|
1959
1875
|
"description": "If true, the checkbox is readonly. Defaults to `false`.",
|
|
1960
1876
|
"fieldName": "readonly"
|
|
1961
1877
|
},
|
|
1962
|
-
{
|
|
1963
|
-
"name": "disabled",
|
|
1964
|
-
"type": {
|
|
1965
|
-
"text": "boolean"
|
|
1966
|
-
},
|
|
1967
|
-
"default": "false",
|
|
1968
|
-
"description": "If true, the user cannot interact with the checkbox. Defaults to `false`.",
|
|
1969
|
-
"fieldName": "disabled"
|
|
1970
|
-
},
|
|
1971
1878
|
{
|
|
1972
1879
|
"name": "configAria",
|
|
1973
1880
|
"type": {
|
|
@@ -1976,6 +1883,32 @@
|
|
|
1976
1883
|
"default": "{}",
|
|
1977
1884
|
"description": "Configuration object for aria attributes.",
|
|
1978
1885
|
"fieldName": "configAria"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "name",
|
|
1889
|
+
"fieldName": "name",
|
|
1890
|
+
"inheritedFrom": {
|
|
1891
|
+
"name": "mixinFormAssociated",
|
|
1892
|
+
"module": "src/__internal/mixins/form-associated.ts"
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"name": "disabled",
|
|
1897
|
+
"fieldName": "disabled",
|
|
1898
|
+
"inheritedFrom": {
|
|
1899
|
+
"name": "mixinFormAssociated",
|
|
1900
|
+
"module": "src/__internal/mixins/form-associated.ts"
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
],
|
|
1904
|
+
"mixins": [
|
|
1905
|
+
{
|
|
1906
|
+
"name": "mixinFormAssociated",
|
|
1907
|
+
"package": "@/__internal/mixins/form-associated.js"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "mixinElementInternals",
|
|
1911
|
+
"package": "@/__internal/mixins/element-internals.js"
|
|
1979
1912
|
}
|
|
1980
1913
|
],
|
|
1981
1914
|
"superclass": {
|
|
@@ -1996,16 +1929,25 @@
|
|
|
1996
1929
|
"rawTag": "chip",
|
|
1997
1930
|
"summary": "Chip component for displaying compact information with optional actions.",
|
|
1998
1931
|
"tags": "display",
|
|
1932
|
+
"fires": "tag--dismiss - Deprecated alias of `dismiss`, fired alongside it.",
|
|
1999
1933
|
"example": "```html\n<wc-chip>Chip content</wc-chip>\n```",
|
|
2000
1934
|
"customElement": {
|
|
2001
1935
|
"kind": "class",
|
|
2002
1936
|
"description": "",
|
|
2003
1937
|
"events": [
|
|
1938
|
+
{
|
|
1939
|
+
"name": "dismiss",
|
|
1940
|
+
"type": {
|
|
1941
|
+
"text": "CustomEvent"
|
|
1942
|
+
},
|
|
1943
|
+
"description": "Dispatched when the dismiss button of a `dismissible` chip is clicked."
|
|
1944
|
+
},
|
|
2004
1945
|
{
|
|
2005
1946
|
"name": "tag--dismiss",
|
|
2006
1947
|
"type": {
|
|
2007
1948
|
"text": "CustomEvent"
|
|
2008
|
-
}
|
|
1949
|
+
},
|
|
1950
|
+
"description": "Deprecated alias of `dismiss`, fired alongside it."
|
|
2009
1951
|
}
|
|
2010
1952
|
],
|
|
2011
1953
|
"attributes": [
|
|
@@ -2347,42 +2289,64 @@
|
|
|
2347
2289
|
"tag": "wc-code-editor",
|
|
2348
2290
|
"rawTag": "code-editor",
|
|
2349
2291
|
"summary": "A Monaco-based code editing component with syntax highlighting and theming.",
|
|
2350
|
-
"overview": "- CodeEditor wraps Monaco Editor as a web component.\n - Supports
|
|
2351
|
-
"
|
|
2292
|
+
"overview": "- CodeEditor wraps Monaco Editor as a web component.\n - Supports JavaScript, JSON, HTML, CSS and SCSS, read-only mode, line numbers, minimap, and dark/light theme.\n - Has a copy button; hide it with `hide-copy`.\n - Emits `change` when content is edited and updates value from property changes.",
|
|
2293
|
+
"cssprop": "--code-editor-height - Height of the editor. Defaults to 300px.",
|
|
2294
|
+
"fires": "copied - Dispatched after the copy button copies the content.",
|
|
2295
|
+
"example": "```html\n<wc-code-editor\n language=\"css\"\n readonly\n style=\"width: 100%; --code-editor-height: 10rem;\"\n value=\":root { --color-primary: #6341d5; }\">\n</wc-code-editor>\n```",
|
|
2352
2296
|
"tags": "input, editor",
|
|
2353
2297
|
"customElement": {
|
|
2354
2298
|
"kind": "class",
|
|
2355
2299
|
"description": "",
|
|
2356
|
-
"
|
|
2300
|
+
"cssProperties": [
|
|
2357
2301
|
{
|
|
2358
|
-
"
|
|
2302
|
+
"description": "Height of the editor. Defaults to 300px.",
|
|
2303
|
+
"name": "--code-editor-height"
|
|
2304
|
+
}
|
|
2305
|
+
],
|
|
2306
|
+
"events": [
|
|
2307
|
+
{
|
|
2308
|
+
"name": "copied",
|
|
2359
2309
|
"type": {
|
|
2360
|
-
"text": "string"
|
|
2310
|
+
"text": "CustomEvent<{value: string}>"
|
|
2361
2311
|
},
|
|
2362
|
-
"
|
|
2363
|
-
"fieldName": "name"
|
|
2312
|
+
"description": "Dispatched after the copy button copies the content."
|
|
2364
2313
|
},
|
|
2314
|
+
{
|
|
2315
|
+
"type": {
|
|
2316
|
+
"text": "Event"
|
|
2317
|
+
},
|
|
2318
|
+
"description": "Dispatched when the user edits the content.",
|
|
2319
|
+
"name": "change"
|
|
2320
|
+
}
|
|
2321
|
+
],
|
|
2322
|
+
"attributes": [
|
|
2365
2323
|
{
|
|
2366
2324
|
"name": "value",
|
|
2367
2325
|
"type": {
|
|
2368
2326
|
"text": "string"
|
|
2369
2327
|
},
|
|
2370
2328
|
"default": "''",
|
|
2329
|
+
"description": "The code shown in the editor. Updated as the user types.",
|
|
2371
2330
|
"fieldName": "value"
|
|
2372
2331
|
},
|
|
2373
2332
|
{
|
|
2374
2333
|
"name": "language",
|
|
2375
2334
|
"type": {
|
|
2376
|
-
"text": "
|
|
2335
|
+
"text": "CodeEditorLanguage"
|
|
2377
2336
|
},
|
|
2378
2337
|
"default": "'javascript'",
|
|
2379
|
-
"
|
|
2338
|
+
"description": "Language used for syntax highlighting. Can be changed after the editor loads.",
|
|
2339
|
+
"fieldName": "language",
|
|
2340
|
+
"expandedType": {
|
|
2341
|
+
"text": "'javascript' | 'json' | 'html' | 'css' | 'scss'"
|
|
2342
|
+
}
|
|
2380
2343
|
},
|
|
2381
2344
|
{
|
|
2382
2345
|
"name": "libSource",
|
|
2383
2346
|
"type": {
|
|
2384
2347
|
"text": "any"
|
|
2385
2348
|
},
|
|
2349
|
+
"description": "Extra source loaded as a separate model, e.g. type definitions for completions.",
|
|
2386
2350
|
"fieldName": "libSource"
|
|
2387
2351
|
},
|
|
2388
2352
|
{
|
|
@@ -2391,6 +2355,7 @@
|
|
|
2391
2355
|
"text": "'off' | 'on'"
|
|
2392
2356
|
},
|
|
2393
2357
|
"default": "'on'",
|
|
2358
|
+
"description": "Whether line numbers show in the gutter.",
|
|
2394
2359
|
"fieldName": "lineNumbers"
|
|
2395
2360
|
},
|
|
2396
2361
|
{
|
|
@@ -2399,14 +2364,37 @@
|
|
|
2399
2364
|
"text": "boolean"
|
|
2400
2365
|
},
|
|
2401
2366
|
"default": "false",
|
|
2367
|
+
"description": "Shows the minimap. Leave the attribute out to hide it.",
|
|
2402
2368
|
"fieldName": "minimap"
|
|
2403
2369
|
},
|
|
2404
2370
|
{
|
|
2405
|
-
"name": "
|
|
2371
|
+
"name": "hide-copy",
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "boolean"
|
|
2374
|
+
},
|
|
2375
|
+
"default": "false",
|
|
2376
|
+
"description": "Hides the copy button.",
|
|
2377
|
+
"fieldName": "hideCopy"
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"name": "show-readonly-badge",
|
|
2406
2381
|
"type": {
|
|
2407
2382
|
"text": "boolean"
|
|
2408
2383
|
},
|
|
2409
2384
|
"default": "false",
|
|
2385
|
+
"description": "Shows a \"Read Only\" badge while the editor is read-only or disabled.",
|
|
2386
|
+
"fieldName": "showReadonlyBadge"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "name",
|
|
2390
|
+
"fieldName": "name",
|
|
2391
|
+
"inheritedFrom": {
|
|
2392
|
+
"name": "BaseInput",
|
|
2393
|
+
"module": "src/input/BaseInput.ts"
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "disabled",
|
|
2410
2398
|
"fieldName": "disabled",
|
|
2411
2399
|
"inheritedFrom": {
|
|
2412
2400
|
"name": "BaseInput",
|
|
@@ -2527,30 +2515,169 @@
|
|
|
2527
2515
|
}
|
|
2528
2516
|
},
|
|
2529
2517
|
{
|
|
2530
|
-
"label": "Color
|
|
2531
|
-
"tag": "wc-color-
|
|
2532
|
-
"rawTag": "color-
|
|
2533
|
-
"summary": "A
|
|
2534
|
-
"overview": "<p>
|
|
2535
|
-
"
|
|
2536
|
-
"
|
|
2537
|
-
"
|
|
2518
|
+
"label": "Color Field",
|
|
2519
|
+
"tag": "wc-color-field",
|
|
2520
|
+
"rawTag": "color-field",
|
|
2521
|
+
"summary": "A text field for a hex color, with a swatch that opens a color picker.",
|
|
2522
|
+
"overview": "<p>Color field shows the current color as a swatch next to its hex value. Type a hex value, or\nclick the swatch to pick one with <code>wc-color-picker</code> in a popover.</p>\n<p>It is form-associated: the hex value is submitted under its <code>name</code>.</p>",
|
|
2523
|
+
"fires": "change - Dispatched when a color is committed, from the picker or the text field.",
|
|
2524
|
+
"example": "```html\n<wc-color-field label=\"Brand color\" value=\"#7c5df0\"></wc-color-field>\n```",
|
|
2525
|
+
"tags": "input, form",
|
|
2538
2526
|
"customElement": {
|
|
2539
2527
|
"kind": "class",
|
|
2540
2528
|
"description": "",
|
|
2541
|
-
"
|
|
2529
|
+
"events": [
|
|
2542
2530
|
{
|
|
2543
|
-
"
|
|
2544
|
-
"
|
|
2531
|
+
"name": "change",
|
|
2532
|
+
"type": {
|
|
2533
|
+
"text": "CustomEvent<{value: string}>"
|
|
2534
|
+
},
|
|
2535
|
+
"description": "Dispatched when a color is committed, from the picker or the text field."
|
|
2545
2536
|
},
|
|
2546
2537
|
{
|
|
2547
|
-
"
|
|
2548
|
-
"
|
|
2538
|
+
"name": "input",
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "CustomEvent<{value: string}>"
|
|
2541
|
+
},
|
|
2542
|
+
"description": "Dispatched while the color changes in the picker."
|
|
2549
2543
|
}
|
|
2550
2544
|
],
|
|
2551
|
-
"
|
|
2545
|
+
"attributes": [
|
|
2552
2546
|
{
|
|
2553
|
-
"name": "
|
|
2547
|
+
"name": "value",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "string"
|
|
2550
|
+
},
|
|
2551
|
+
"default": "'#7c5df0'",
|
|
2552
|
+
"description": "The color as a 6-digit hex string, such as `\"#7c5df0\"`.",
|
|
2553
|
+
"fieldName": "value"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"name": "label",
|
|
2557
|
+
"type": {
|
|
2558
|
+
"text": "string"
|
|
2559
|
+
},
|
|
2560
|
+
"default": "''",
|
|
2561
|
+
"description": "Label shown above the field.",
|
|
2562
|
+
"fieldName": "label"
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"name": "helper-text",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "string"
|
|
2568
|
+
},
|
|
2569
|
+
"default": "''",
|
|
2570
|
+
"description": "Helper text shown below the field.",
|
|
2571
|
+
"fieldName": "helperText"
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"name": "variant",
|
|
2575
|
+
"type": {
|
|
2576
|
+
"text": "'filled' | 'outlined' | 'default'"
|
|
2577
|
+
},
|
|
2578
|
+
"default": "'default'",
|
|
2579
|
+
"description": "Visual variant of the field.",
|
|
2580
|
+
"fieldName": "variant"
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"name": "placement",
|
|
2584
|
+
"type": {
|
|
2585
|
+
"text": "Popover['placement']"
|
|
2586
|
+
},
|
|
2587
|
+
"default": "'bottom-start'",
|
|
2588
|
+
"description": "Where the picker opens, relative to the field.",
|
|
2589
|
+
"fieldName": "placement"
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"name": "name",
|
|
2593
|
+
"fieldName": "name",
|
|
2594
|
+
"inheritedFrom": {
|
|
2595
|
+
"name": "BaseInput",
|
|
2596
|
+
"module": "src/input/BaseInput.ts"
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"name": "disabled",
|
|
2601
|
+
"fieldName": "disabled",
|
|
2602
|
+
"inheritedFrom": {
|
|
2603
|
+
"name": "BaseInput",
|
|
2604
|
+
"module": "src/input/BaseInput.ts"
|
|
2605
|
+
}
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
"name": "readonly",
|
|
2609
|
+
"type": {
|
|
2610
|
+
"text": "boolean"
|
|
2611
|
+
},
|
|
2612
|
+
"default": "false",
|
|
2613
|
+
"fieldName": "readonly",
|
|
2614
|
+
"inheritedFrom": {
|
|
2615
|
+
"name": "BaseInput",
|
|
2616
|
+
"module": "src/input/BaseInput.ts"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"name": "required",
|
|
2621
|
+
"type": {
|
|
2622
|
+
"text": "boolean"
|
|
2623
|
+
},
|
|
2624
|
+
"default": "false",
|
|
2625
|
+
"fieldName": "required",
|
|
2626
|
+
"inheritedFrom": {
|
|
2627
|
+
"name": "BaseInput",
|
|
2628
|
+
"module": "src/input/BaseInput.ts"
|
|
2629
|
+
}
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "skeleton",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "boolean"
|
|
2635
|
+
},
|
|
2636
|
+
"default": "false",
|
|
2637
|
+
"fieldName": "skeleton",
|
|
2638
|
+
"inheritedFrom": {
|
|
2639
|
+
"name": "BaseInput",
|
|
2640
|
+
"module": "src/input/BaseInput.ts"
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
],
|
|
2644
|
+
"superclass": {
|
|
2645
|
+
"name": "BaseInput",
|
|
2646
|
+
"module": "/src/input/BaseInput.js"
|
|
2647
|
+
},
|
|
2648
|
+
"tagName": "wc-color-field",
|
|
2649
|
+
"customElement": true,
|
|
2650
|
+
"rawTag": {
|
|
2651
|
+
"name": "color-field",
|
|
2652
|
+
"description": ""
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
},
|
|
2656
|
+
{
|
|
2657
|
+
"label": "Color Picker",
|
|
2658
|
+
"tag": "wc-color-picker",
|
|
2659
|
+
"rawTag": "color-picker",
|
|
2660
|
+
"summary": "A color picker component for selecting colors via a hue/saturation/value interface.",
|
|
2661
|
+
"overview": "<p>The color picker presents a 2D saturation–brightness panel with a hue slider below it.\nAn optional alpha slider allows controlling opacity. The current hex value is displayed in\nan editable text field.</p>",
|
|
2662
|
+
"cssprop": "--color-picker-sv-height - Height of the saturation/brightness panel. Defaults to 160px.",
|
|
2663
|
+
"fires": "change - Dispatched when a color change is committed (pointer up, key, or input blur).",
|
|
2664
|
+
"example": "```html\n<wc-color-picker value=\"#ff573380\" alpha></wc-color-picker>\n```",
|
|
2665
|
+
"customElement": {
|
|
2666
|
+
"kind": "class",
|
|
2667
|
+
"description": "",
|
|
2668
|
+
"cssProperties": [
|
|
2669
|
+
{
|
|
2670
|
+
"description": "Overall width of the component. Defaults to 240px.",
|
|
2671
|
+
"name": "--color-picker-width"
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
"description": "Height of the saturation/brightness panel. Defaults to 160px.",
|
|
2675
|
+
"name": "--color-picker-sv-height"
|
|
2676
|
+
}
|
|
2677
|
+
],
|
|
2678
|
+
"events": [
|
|
2679
|
+
{
|
|
2680
|
+
"name": "type",
|
|
2554
2681
|
"type": {
|
|
2555
2682
|
"text": "CustomEvent"
|
|
2556
2683
|
}
|
|
@@ -2615,22 +2742,104 @@
|
|
|
2615
2742
|
"label": "Condition Builder",
|
|
2616
2743
|
"tag": "wc-condition-builder",
|
|
2617
2744
|
"rawTag": "condition-builder",
|
|
2618
|
-
"summary": "A
|
|
2745
|
+
"summary": "A query builder for composing filter conditions from rules and nested groups joined by And/Or.",
|
|
2746
|
+
"overview": "<p>The condition builder is the root group of a query. It holds rules (<code>wc-cb-rule</code>) and bordered nested groups (<code>wc-cb-group</code>), each joined by a bracket with an And/Or pill.</p>\n<ul>\n <li>Click the pill to switch a group between And and Or.</li>\n <li>Drag a rule by its handle to reorder it or move it between groups.</li>\n <li>Removing, moving and switching are built in; adding rules and groups is up to you, since only you know what a new rule contains. Listen for <code>add-rule</code> and <code>add-group</code>.</li>\n</ul>",
|
|
2619
2747
|
"tags": "condition-builder",
|
|
2620
|
-
"
|
|
2748
|
+
"fires": "add-group - Dispatched when \"Add inner group\" is clicked.",
|
|
2749
|
+
"slot": "actions-end - Actions aligned to the end of the footer, such as a \"Run query\" button.",
|
|
2750
|
+
"example": "```html\n<wc-condition-builder operator=\"and\">\n <wc-cb-rule>\n <wc-input placeholder=\"Value\"></wc-input>\n </wc-cb-rule>\n <wc-cb-group operator=\"or\">\n <wc-cb-rule>\n <wc-input placeholder=\"Value\"></wc-input>\n </wc-cb-rule>\n <wc-cb-rule>\n <wc-input placeholder=\"Value\"></wc-input>\n </wc-cb-rule>\n </wc-cb-group>\n <wc-button slot=\"actions-end\">Run query</wc-button>\n</wc-condition-builder>\n```",
|
|
2621
2751
|
"customElement": {
|
|
2622
2752
|
"kind": "class",
|
|
2623
2753
|
"description": "",
|
|
2754
|
+
"slots": [
|
|
2755
|
+
{
|
|
2756
|
+
"description": "Rules (`wc-cb-rule`) and groups (`wc-cb-group`).",
|
|
2757
|
+
"name": ""
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
"description": "Replaces the default \"Add rule\" and \"Add inner group\" buttons.",
|
|
2761
|
+
"name": "actions"
|
|
2762
|
+
},
|
|
2763
|
+
{
|
|
2764
|
+
"description": "Actions aligned to the end of the footer, such as a \"Run query\" button.",
|
|
2765
|
+
"name": "actions-end"
|
|
2766
|
+
}
|
|
2767
|
+
],
|
|
2768
|
+
"events": [
|
|
2769
|
+
{
|
|
2770
|
+
"name": "type",
|
|
2771
|
+
"type": {
|
|
2772
|
+
"text": "CustomEvent"
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"name": "operator-change",
|
|
2777
|
+
"type": {
|
|
2778
|
+
"text": "CustomEvent"
|
|
2779
|
+
},
|
|
2780
|
+
"description": "Dispatched when the user picks a different operator, on this or a nested group.",
|
|
2781
|
+
"inheritedFrom": {
|
|
2782
|
+
"name": "CbGroupBase",
|
|
2783
|
+
"module": "src/condition-builder/cb-group-base.ts"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"type": {
|
|
2788
|
+
"text": "CustomEvent<{rule: CbRule, from: HTMLElement | null, to: HTMLElement, index: number}>"
|
|
2789
|
+
},
|
|
2790
|
+
"description": "Dispatched before a rule is moved. Cancelable: unless prevented, the target group moves the rule.",
|
|
2791
|
+
"name": "rule-move"
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"type": {
|
|
2795
|
+
"text": "CustomEvent<{rule: CbRule, group: HTMLElement | null}>"
|
|
2796
|
+
},
|
|
2797
|
+
"description": "Dispatched when a rule's remove button is clicked. Cancelable: unless prevented, the rule removes itself.",
|
|
2798
|
+
"name": "rule-remove"
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"type": {
|
|
2802
|
+
"text": "CustomEvent<{group: HTMLElement}>"
|
|
2803
|
+
},
|
|
2804
|
+
"description": "Dispatched when \"Add rule\" (or a nested group's \"Add condition\") is clicked.",
|
|
2805
|
+
"name": "add-rule"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"type": {
|
|
2809
|
+
"text": "CustomEvent<{group: HTMLElement}>"
|
|
2810
|
+
},
|
|
2811
|
+
"description": "Dispatched when \"Add inner group\" is clicked.",
|
|
2812
|
+
"name": "add-group"
|
|
2813
|
+
}
|
|
2814
|
+
],
|
|
2624
2815
|
"superclass": {
|
|
2625
|
-
"name": "
|
|
2626
|
-
"
|
|
2816
|
+
"name": "CbGroupBase",
|
|
2817
|
+
"module": "/src/condition-builder/cb-group-base.js"
|
|
2627
2818
|
},
|
|
2628
2819
|
"tagName": "wc-condition-builder",
|
|
2629
2820
|
"customElement": true,
|
|
2630
2821
|
"rawTag": {
|
|
2631
2822
|
"name": "condition-builder",
|
|
2632
2823
|
"description": ""
|
|
2633
|
-
}
|
|
2824
|
+
},
|
|
2825
|
+
"attributes": [
|
|
2826
|
+
{
|
|
2827
|
+
"name": "operator",
|
|
2828
|
+
"type": {
|
|
2829
|
+
"text": "CbOperator"
|
|
2830
|
+
},
|
|
2831
|
+
"default": "'and'",
|
|
2832
|
+
"description": "The logical operator joining the rules and groups in this group.",
|
|
2833
|
+
"fieldName": "operator",
|
|
2834
|
+
"expandedType": {
|
|
2835
|
+
"text": "'and' | 'or'"
|
|
2836
|
+
},
|
|
2837
|
+
"inheritedFrom": {
|
|
2838
|
+
"name": "CbGroupBase",
|
|
2839
|
+
"module": "src/condition-builder/cb-group-base.ts"
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
]
|
|
2634
2843
|
}
|
|
2635
2844
|
},
|
|
2636
2845
|
{
|
|
@@ -2699,14 +2908,6 @@
|
|
|
2699
2908
|
"default": "''",
|
|
2700
2909
|
"fieldName": "value"
|
|
2701
2910
|
},
|
|
2702
|
-
{
|
|
2703
|
-
"name": "name",
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "string"
|
|
2706
|
-
},
|
|
2707
|
-
"default": "''",
|
|
2708
|
-
"fieldName": "name"
|
|
2709
|
-
},
|
|
2710
2911
|
{
|
|
2711
2912
|
"name": "placeholder",
|
|
2712
2913
|
"type": {
|
|
@@ -2804,12 +3005,16 @@
|
|
|
2804
3005
|
"default": "''",
|
|
2805
3006
|
"fieldName": "warningText"
|
|
2806
3007
|
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "name",
|
|
3010
|
+
"fieldName": "name",
|
|
3011
|
+
"inheritedFrom": {
|
|
3012
|
+
"name": "BaseInput",
|
|
3013
|
+
"module": "src/input/BaseInput.ts"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
2807
3016
|
{
|
|
2808
3017
|
"name": "disabled",
|
|
2809
|
-
"type": {
|
|
2810
|
-
"text": "boolean"
|
|
2811
|
-
},
|
|
2812
|
-
"default": "false",
|
|
2813
3018
|
"fieldName": "disabled",
|
|
2814
3019
|
"inheritedFrom": {
|
|
2815
3020
|
"name": "BaseInput",
|
|
@@ -3843,12 +4048,16 @@
|
|
|
3843
4048
|
"description": "Debounce in milliseconds for dispatching `change`.",
|
|
3844
4049
|
"fieldName": "debounce"
|
|
3845
4050
|
},
|
|
4051
|
+
{
|
|
4052
|
+
"name": "name",
|
|
4053
|
+
"fieldName": "name",
|
|
4054
|
+
"inheritedFrom": {
|
|
4055
|
+
"name": "BaseInput",
|
|
4056
|
+
"module": "src/input/BaseInput.ts"
|
|
4057
|
+
}
|
|
4058
|
+
},
|
|
3846
4059
|
{
|
|
3847
4060
|
"name": "disabled",
|
|
3848
|
-
"type": {
|
|
3849
|
-
"text": "boolean"
|
|
3850
|
-
},
|
|
3851
|
-
"default": "false",
|
|
3852
4061
|
"fieldName": "disabled",
|
|
3853
4062
|
"inheritedFrom": {
|
|
3854
4063
|
"name": "BaseInput",
|
|
@@ -4125,7 +4334,7 @@
|
|
|
4125
4334
|
"fieldName": "color",
|
|
4126
4335
|
"description": "Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.",
|
|
4127
4336
|
"expandedType": {
|
|
4128
|
-
"text": "'primary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface'"
|
|
4337
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'success' | 'danger' | 'warning' | 'surface' | 'on-surface'"
|
|
4129
4338
|
},
|
|
4130
4339
|
"inheritedFrom": {
|
|
4131
4340
|
"name": "mixinBaseButton",
|
|
@@ -4401,33 +4610,44 @@
|
|
|
4401
4610
|
"tag": "wc-input",
|
|
4402
4611
|
"rawTag": "input",
|
|
4403
4612
|
"summary": "The Input component is used to capture user input.",
|
|
4613
|
+
"overview": "<p>Input is form-associated: inside a <code><form></code> its <code>value</code> is submitted\nunder its <code>name</code>, and <code>form.reset()</code> restores the starting value.</p>",
|
|
4614
|
+
"fires": "change - Re-fired from the native input when the value is committed.",
|
|
4404
4615
|
"example": "```html\n<wc-input label=\"Name\" required placeholder=\"Enter your name\"></wc-input>\n```",
|
|
4616
|
+
"tags": "input, form",
|
|
4405
4617
|
"customElement": {
|
|
4406
4618
|
"kind": "class",
|
|
4407
4619
|
"description": "",
|
|
4408
|
-
"
|
|
4620
|
+
"events": [
|
|
4409
4621
|
{
|
|
4410
|
-
"name": "value",
|
|
4411
4622
|
"type": {
|
|
4412
|
-
"text": "
|
|
4623
|
+
"text": "Event"
|
|
4413
4624
|
},
|
|
4414
|
-
"
|
|
4415
|
-
"
|
|
4625
|
+
"description": "Re-fired from the native input as the user types.",
|
|
4626
|
+
"name": "input"
|
|
4416
4627
|
},
|
|
4417
4628
|
{
|
|
4418
|
-
"
|
|
4629
|
+
"type": {
|
|
4630
|
+
"text": "Event"
|
|
4631
|
+
},
|
|
4632
|
+
"description": "Re-fired from the native input when the value is committed.",
|
|
4633
|
+
"name": "change"
|
|
4634
|
+
}
|
|
4635
|
+
],
|
|
4636
|
+
"attributes": [
|
|
4637
|
+
{
|
|
4638
|
+
"name": "value",
|
|
4419
4639
|
"type": {
|
|
4420
4640
|
"text": "string"
|
|
4421
4641
|
},
|
|
4422
|
-
"default": "
|
|
4423
|
-
"fieldName": "
|
|
4642
|
+
"default": "''",
|
|
4643
|
+
"fieldName": "value"
|
|
4424
4644
|
},
|
|
4425
4645
|
{
|
|
4426
4646
|
"name": "placeholder",
|
|
4427
4647
|
"type": {
|
|
4428
4648
|
"text": "string"
|
|
4429
4649
|
},
|
|
4430
|
-
"default": "
|
|
4650
|
+
"default": "''",
|
|
4431
4651
|
"fieldName": "placeholder"
|
|
4432
4652
|
},
|
|
4433
4653
|
{
|
|
@@ -4435,7 +4655,7 @@
|
|
|
4435
4655
|
"type": {
|
|
4436
4656
|
"text": "string"
|
|
4437
4657
|
},
|
|
4438
|
-
"default": "
|
|
4658
|
+
"default": "''",
|
|
4439
4659
|
"fieldName": "label"
|
|
4440
4660
|
},
|
|
4441
4661
|
{
|
|
@@ -4449,25 +4669,26 @@
|
|
|
4449
4669
|
{
|
|
4450
4670
|
"name": "size",
|
|
4451
4671
|
"type": {
|
|
4452
|
-
"text": "
|
|
4672
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
4453
4673
|
},
|
|
4454
|
-
"default": "
|
|
4674
|
+
"default": "'md'",
|
|
4675
|
+
"description": "Field size. Possible values are `\"sm\"`, `\"md\"`, `\"lg\"`. Defaults to `\"md\"`.",
|
|
4455
4676
|
"fieldName": "size"
|
|
4456
4677
|
},
|
|
4457
4678
|
{
|
|
4458
4679
|
"name": "type",
|
|
4459
4680
|
"type": {
|
|
4460
|
-
"text": "
|
|
4681
|
+
"text": "'text' | 'password' | 'email' | 'tel'"
|
|
4461
4682
|
},
|
|
4462
|
-
"default": "
|
|
4683
|
+
"default": "'text'",
|
|
4463
4684
|
"fieldName": "type"
|
|
4464
4685
|
},
|
|
4465
4686
|
{
|
|
4466
4687
|
"name": "autocomplete",
|
|
4467
4688
|
"type": {
|
|
4468
|
-
"text": "
|
|
4689
|
+
"text": "'on' | 'off'"
|
|
4469
4690
|
},
|
|
4470
|
-
"default": "
|
|
4691
|
+
"default": "'off'",
|
|
4471
4692
|
"fieldName": "autocomplete"
|
|
4472
4693
|
},
|
|
4473
4694
|
{
|
|
@@ -4481,9 +4702,9 @@
|
|
|
4481
4702
|
{
|
|
4482
4703
|
"name": "variant",
|
|
4483
4704
|
"type": {
|
|
4484
|
-
"text": "
|
|
4705
|
+
"text": "'filled' | 'outlined' | 'default'"
|
|
4485
4706
|
},
|
|
4486
|
-
"default": "
|
|
4707
|
+
"default": "'default'",
|
|
4487
4708
|
"fieldName": "variant"
|
|
4488
4709
|
},
|
|
4489
4710
|
{
|
|
@@ -4491,7 +4712,7 @@
|
|
|
4491
4712
|
"type": {
|
|
4492
4713
|
"text": "string"
|
|
4493
4714
|
},
|
|
4494
|
-
"default": "
|
|
4715
|
+
"default": "''",
|
|
4495
4716
|
"description": "Helper text to display below the input.",
|
|
4496
4717
|
"fieldName": "helperText"
|
|
4497
4718
|
},
|
|
@@ -4508,7 +4729,7 @@
|
|
|
4508
4729
|
"type": {
|
|
4509
4730
|
"text": "string"
|
|
4510
4731
|
},
|
|
4511
|
-
"default": "
|
|
4732
|
+
"default": "''",
|
|
4512
4733
|
"fieldName": "errorText"
|
|
4513
4734
|
},
|
|
4514
4735
|
{
|
|
@@ -4524,15 +4745,19 @@
|
|
|
4524
4745
|
"type": {
|
|
4525
4746
|
"text": "string"
|
|
4526
4747
|
},
|
|
4527
|
-
"default": "
|
|
4748
|
+
"default": "''",
|
|
4528
4749
|
"fieldName": "warningText"
|
|
4529
4750
|
},
|
|
4530
4751
|
{
|
|
4531
|
-
"name": "
|
|
4532
|
-
"
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4752
|
+
"name": "name",
|
|
4753
|
+
"fieldName": "name",
|
|
4754
|
+
"inheritedFrom": {
|
|
4755
|
+
"name": "BaseInput",
|
|
4756
|
+
"module": "src/input/BaseInput.ts"
|
|
4757
|
+
}
|
|
4758
|
+
},
|
|
4759
|
+
{
|
|
4760
|
+
"name": "disabled",
|
|
4536
4761
|
"fieldName": "disabled",
|
|
4537
4762
|
"inheritedFrom": {
|
|
4538
4763
|
"name": "BaseInput",
|
|
@@ -5130,12 +5355,16 @@
|
|
|
5130
5355
|
"description": "Debounce in milliseconds for dispatching `change`.",
|
|
5131
5356
|
"fieldName": "debounce"
|
|
5132
5357
|
},
|
|
5358
|
+
{
|
|
5359
|
+
"name": "name",
|
|
5360
|
+
"fieldName": "name",
|
|
5361
|
+
"inheritedFrom": {
|
|
5362
|
+
"name": "BaseInput",
|
|
5363
|
+
"module": "src/input/BaseInput.ts"
|
|
5364
|
+
}
|
|
5365
|
+
},
|
|
5133
5366
|
{
|
|
5134
5367
|
"name": "disabled",
|
|
5135
|
-
"type": {
|
|
5136
|
-
"text": "boolean"
|
|
5137
|
-
},
|
|
5138
|
-
"default": "false",
|
|
5139
5368
|
"fieldName": "disabled",
|
|
5140
5369
|
"inheritedFrom": {
|
|
5141
5370
|
"name": "BaseInput",
|
|
@@ -5657,6 +5886,375 @@
|
|
|
5657
5886
|
}
|
|
5658
5887
|
}
|
|
5659
5888
|
},
|
|
5889
|
+
{
|
|
5890
|
+
"label": "Navigation Bar",
|
|
5891
|
+
"tag": "wc-navigation-bar",
|
|
5892
|
+
"rawTag": "navigation-bar",
|
|
5893
|
+
"summary": "A bottom bar with three to five primary destinations, for small screens.",
|
|
5894
|
+
"overview": "<p>Navigation bar lays its <code>wc-navigation-bar-item</code> children out in a row of equal\nwidths. Clicking an item makes it the active one and fires <code>change</code>.</p>\n<p>The bar does not position itself: place it at the bottom of your layout, or give it\n<code>position: fixed; inset-inline: 0; bottom: 0</code>.</p>",
|
|
5895
|
+
"fires": "change - Dispatched when the user activates an item.",
|
|
5896
|
+
"cssprop": "--navigation-bar-elevation - Shadow of the bar. Defaults to `--elevation-level2`.",
|
|
5897
|
+
"example": "```html\n<wc-navigation-bar>\n <wc-navigation-bar-item active value=\"home\">\n <wc-icon slot=\"icon\" name=\"home\"></wc-icon>\n Home\n </wc-navigation-bar-item>\n <wc-navigation-bar-item value=\"search\">\n <wc-icon slot=\"icon\" name=\"search\"></wc-icon>\n Search\n </wc-navigation-bar-item>\n</wc-navigation-bar>\n```",
|
|
5898
|
+
"tags": "navigation",
|
|
5899
|
+
"customElement": {
|
|
5900
|
+
"kind": "class",
|
|
5901
|
+
"description": "",
|
|
5902
|
+
"cssProperties": [
|
|
5903
|
+
{
|
|
5904
|
+
"description": "Background of the bar. Defaults to `--color-surface-container`.",
|
|
5905
|
+
"name": "--navigation-bar-container-color"
|
|
5906
|
+
},
|
|
5907
|
+
{
|
|
5908
|
+
"description": "Height of the bar. Defaults to 5rem (80dp).",
|
|
5909
|
+
"name": "--navigation-bar-height"
|
|
5910
|
+
},
|
|
5911
|
+
{
|
|
5912
|
+
"description": "Shadow of the bar. Defaults to `--elevation-level2`.",
|
|
5913
|
+
"name": "--navigation-bar-elevation"
|
|
5914
|
+
}
|
|
5915
|
+
],
|
|
5916
|
+
"events": [
|
|
5917
|
+
{
|
|
5918
|
+
"type": {
|
|
5919
|
+
"text": "CustomEvent<{value: string | undefined, index: number, item: NavigationBarItem}>"
|
|
5920
|
+
},
|
|
5921
|
+
"description": "Dispatched when the user activates an item.",
|
|
5922
|
+
"name": "change"
|
|
5923
|
+
}
|
|
5924
|
+
],
|
|
5925
|
+
"superclass": {
|
|
5926
|
+
"name": "LitElement",
|
|
5927
|
+
"package": "lit"
|
|
5928
|
+
},
|
|
5929
|
+
"tagName": "wc-navigation-bar",
|
|
5930
|
+
"customElement": true,
|
|
5931
|
+
"rawTag": {
|
|
5932
|
+
"name": "navigation-bar",
|
|
5933
|
+
"description": ""
|
|
5934
|
+
}
|
|
5935
|
+
}
|
|
5936
|
+
},
|
|
5937
|
+
{
|
|
5938
|
+
"label": "Navigation Bar Item",
|
|
5939
|
+
"tag": "wc-navigation-bar-item",
|
|
5940
|
+
"rawTag": "navigation-bar-item",
|
|
5941
|
+
"summary": "A destination in a navigation bar.",
|
|
5942
|
+
"overview": "<p>Shows an icon inside the active-indicator pill with a label below. It has the same API as\n<code>wc-navigation-rail-item</code>: <code>active</code>, <code>disabled</code>, <code>href</code>,\n<code>value</code>, and the <code>icon</code> and <code>active-icon</code> slots.</p>",
|
|
5943
|
+
"example": "```html\n<wc-navigation-bar-item active>\n <wc-icon slot=\"icon\" name=\"home\"></wc-icon>\n Home\n</wc-navigation-bar-item>\n```",
|
|
5944
|
+
"tags": "navigation",
|
|
5945
|
+
"customElement": {
|
|
5946
|
+
"kind": "class",
|
|
5947
|
+
"description": "",
|
|
5948
|
+
"superclass": {
|
|
5949
|
+
"name": "NavigationRailItem",
|
|
5950
|
+
"module": "/src/navigation-rail/navigation-rail-item.js"
|
|
5951
|
+
},
|
|
5952
|
+
"tagName": "wc-navigation-bar-item",
|
|
5953
|
+
"customElement": true,
|
|
5954
|
+
"rawTag": {
|
|
5955
|
+
"name": "navigation-bar-item",
|
|
5956
|
+
"description": ""
|
|
5957
|
+
},
|
|
5958
|
+
"attributes": [
|
|
5959
|
+
{
|
|
5960
|
+
"name": "active",
|
|
5961
|
+
"type": {
|
|
5962
|
+
"text": "boolean"
|
|
5963
|
+
},
|
|
5964
|
+
"default": "false",
|
|
5965
|
+
"description": "Whether this item is currently active/selected.",
|
|
5966
|
+
"fieldName": "active",
|
|
5967
|
+
"inheritedFrom": {
|
|
5968
|
+
"name": "NavigationRailItem",
|
|
5969
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
5970
|
+
}
|
|
5971
|
+
},
|
|
5972
|
+
{
|
|
5973
|
+
"name": "disabled",
|
|
5974
|
+
"type": {
|
|
5975
|
+
"text": "boolean"
|
|
5976
|
+
},
|
|
5977
|
+
"default": "false",
|
|
5978
|
+
"description": "Whether this item is disabled.",
|
|
5979
|
+
"fieldName": "disabled",
|
|
5980
|
+
"inheritedFrom": {
|
|
5981
|
+
"name": "NavigationRailItem",
|
|
5982
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
5983
|
+
}
|
|
5984
|
+
},
|
|
5985
|
+
{
|
|
5986
|
+
"name": "collapsed",
|
|
5987
|
+
"type": {
|
|
5988
|
+
"text": "boolean"
|
|
5989
|
+
},
|
|
5990
|
+
"default": "false",
|
|
5991
|
+
"description": "Whether the parent rail is in collapsed mode (labels hidden).",
|
|
5992
|
+
"fieldName": "collapsed",
|
|
5993
|
+
"inheritedFrom": {
|
|
5994
|
+
"name": "NavigationRailItem",
|
|
5995
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
5996
|
+
}
|
|
5997
|
+
},
|
|
5998
|
+
{
|
|
5999
|
+
"name": "href",
|
|
6000
|
+
"type": {
|
|
6001
|
+
"text": "string | undefined"
|
|
6002
|
+
},
|
|
6003
|
+
"description": "If provided, the item renders as a link.",
|
|
6004
|
+
"fieldName": "href",
|
|
6005
|
+
"inheritedFrom": {
|
|
6006
|
+
"name": "NavigationRailItem",
|
|
6007
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
6008
|
+
}
|
|
6009
|
+
},
|
|
6010
|
+
{
|
|
6011
|
+
"name": "target",
|
|
6012
|
+
"type": {
|
|
6013
|
+
"text": "string"
|
|
6014
|
+
},
|
|
6015
|
+
"default": "'_self'",
|
|
6016
|
+
"description": "Link target.",
|
|
6017
|
+
"fieldName": "target",
|
|
6018
|
+
"inheritedFrom": {
|
|
6019
|
+
"name": "NavigationRailItem",
|
|
6020
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
6021
|
+
}
|
|
6022
|
+
},
|
|
6023
|
+
{
|
|
6024
|
+
"name": "value",
|
|
6025
|
+
"type": {
|
|
6026
|
+
"text": "string | undefined"
|
|
6027
|
+
},
|
|
6028
|
+
"description": "Value used for identification when managing active state externally.",
|
|
6029
|
+
"fieldName": "value",
|
|
6030
|
+
"inheritedFrom": {
|
|
6031
|
+
"name": "NavigationRailItem",
|
|
6032
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
6033
|
+
}
|
|
6034
|
+
},
|
|
6035
|
+
{
|
|
6036
|
+
"name": "disabled-reason",
|
|
6037
|
+
"type": {
|
|
6038
|
+
"text": "string"
|
|
6039
|
+
},
|
|
6040
|
+
"default": "''",
|
|
6041
|
+
"description": "Reason the item is disabled (shown to screen readers).",
|
|
6042
|
+
"fieldName": "disabledReason",
|
|
6043
|
+
"inheritedFrom": {
|
|
6044
|
+
"name": "NavigationRailItem",
|
|
6045
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
6046
|
+
}
|
|
6047
|
+
},
|
|
6048
|
+
{
|
|
6049
|
+
"name": "throttleDelay",
|
|
6050
|
+
"type": {
|
|
6051
|
+
"text": "number | null"
|
|
6052
|
+
},
|
|
6053
|
+
"default": "null",
|
|
6054
|
+
"description": "Sets the delay for throttle in milliseconds. When null (default), no throttle is applied.",
|
|
6055
|
+
"fieldName": "throttleDelay",
|
|
6056
|
+
"inheritedFrom": {
|
|
6057
|
+
"name": "NavigationRailItem",
|
|
6058
|
+
"module": "src/navigation-rail/navigation-rail-item.ts"
|
|
6059
|
+
}
|
|
6060
|
+
}
|
|
6061
|
+
]
|
|
6062
|
+
}
|
|
6063
|
+
},
|
|
6064
|
+
{
|
|
6065
|
+
"label": "Navigation Drawer",
|
|
6066
|
+
"tag": "wc-navigation-drawer",
|
|
6067
|
+
"rawTag": "navigation-drawer",
|
|
6068
|
+
"summary": "A side panel listing an app's destinations.",
|
|
6069
|
+
"overview": "<p>Navigation drawer holds <code>wc-navigation-drawer-item</code> destinations. Clicking an item makes\nit the active one and fires <code>change</code>.</p>\n<ul>\n <li><code>variant=\"standard\"</code> (default) sits in the page layout, next to the content.</li>\n <li><code>variant=\"modal\"</code> opens over the page with a scrim. It traps focus, closes on Escape,\n on a scrim click and after an item is chosen.</li>\n</ul>\n<p>Both variants show only while <code>open</code> is set.</p>",
|
|
6070
|
+
"slot": "header - Content above the items, after the headline.",
|
|
6071
|
+
"fires": "close - Dispatched when the drawer closes.",
|
|
6072
|
+
"cssprop": "--navigation-drawer-container-color - Background of the drawer. Defaults to `--color-surface-container-low`.",
|
|
6073
|
+
"example": "```html\n<wc-navigation-drawer open headline=\"Mail\">\n <wc-navigation-drawer-item active badge=\"24\">\n <wc-icon slot=\"icon\" name=\"inbox\"></wc-icon>\n Inbox\n </wc-navigation-drawer-item>\n <wc-navigation-drawer-item>\n <wc-icon slot=\"icon\" name=\"send\"></wc-icon>\n Sent\n </wc-navigation-drawer-item>\n</wc-navigation-drawer>\n```",
|
|
6074
|
+
"tags": "navigation",
|
|
6075
|
+
"customElement": {
|
|
6076
|
+
"kind": "class",
|
|
6077
|
+
"description": "",
|
|
6078
|
+
"cssProperties": [
|
|
6079
|
+
{
|
|
6080
|
+
"description": "Width of the drawer. Defaults to 22.5rem (360dp).",
|
|
6081
|
+
"name": "--navigation-drawer-width"
|
|
6082
|
+
},
|
|
6083
|
+
{
|
|
6084
|
+
"description": "Background of the drawer. Defaults to `--color-surface-container-low`.",
|
|
6085
|
+
"name": "--navigation-drawer-container-color"
|
|
6086
|
+
}
|
|
6087
|
+
],
|
|
6088
|
+
"slots": [
|
|
6089
|
+
{
|
|
6090
|
+
"description": "The drawer items. Other content, such as `wc-divider` or section titles, works too.",
|
|
6091
|
+
"name": ""
|
|
6092
|
+
},
|
|
6093
|
+
{
|
|
6094
|
+
"description": "Content above the items, after the headline.",
|
|
6095
|
+
"name": "header"
|
|
6096
|
+
}
|
|
6097
|
+
],
|
|
6098
|
+
"events": [
|
|
6099
|
+
{
|
|
6100
|
+
"type": {
|
|
6101
|
+
"text": "CustomEvent"
|
|
6102
|
+
}
|
|
6103
|
+
},
|
|
6104
|
+
{
|
|
6105
|
+
"type": {
|
|
6106
|
+
"text": "CustomEvent<{value: string | undefined, index: number, item: NavigationDrawerItem}>"
|
|
6107
|
+
},
|
|
6108
|
+
"description": "Dispatched when the user activates an item.",
|
|
6109
|
+
"name": "change"
|
|
6110
|
+
},
|
|
6111
|
+
{
|
|
6112
|
+
"type": {
|
|
6113
|
+
"text": "CustomEvent"
|
|
6114
|
+
},
|
|
6115
|
+
"description": "Dispatched when the drawer opens.",
|
|
6116
|
+
"name": "open"
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"type": {
|
|
6120
|
+
"text": "CustomEvent"
|
|
6121
|
+
},
|
|
6122
|
+
"description": "Dispatched when the drawer closes.",
|
|
6123
|
+
"name": "close"
|
|
6124
|
+
}
|
|
6125
|
+
],
|
|
6126
|
+
"attributes": [
|
|
6127
|
+
{
|
|
6128
|
+
"name": "open",
|
|
6129
|
+
"type": {
|
|
6130
|
+
"text": "boolean"
|
|
6131
|
+
},
|
|
6132
|
+
"default": "false",
|
|
6133
|
+
"description": "Whether the drawer is shown.",
|
|
6134
|
+
"fieldName": "open"
|
|
6135
|
+
},
|
|
6136
|
+
{
|
|
6137
|
+
"name": "variant",
|
|
6138
|
+
"type": {
|
|
6139
|
+
"text": "'standard' | 'modal'"
|
|
6140
|
+
},
|
|
6141
|
+
"default": "'standard'",
|
|
6142
|
+
"description": "`\"standard\"` sits in the layout; `\"modal\"` opens over the page with a scrim.",
|
|
6143
|
+
"fieldName": "variant"
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
"name": "headline",
|
|
6147
|
+
"type": {
|
|
6148
|
+
"text": "string"
|
|
6149
|
+
},
|
|
6150
|
+
"default": "''",
|
|
6151
|
+
"description": "Title shown at the top of the drawer.",
|
|
6152
|
+
"fieldName": "headline"
|
|
6153
|
+
}
|
|
6154
|
+
],
|
|
6155
|
+
"superclass": {
|
|
6156
|
+
"name": "LitElement",
|
|
6157
|
+
"package": "lit"
|
|
6158
|
+
},
|
|
6159
|
+
"tagName": "wc-navigation-drawer",
|
|
6160
|
+
"customElement": true,
|
|
6161
|
+
"rawTag": {
|
|
6162
|
+
"name": "navigation-drawer",
|
|
6163
|
+
"description": ""
|
|
6164
|
+
}
|
|
6165
|
+
}
|
|
6166
|
+
},
|
|
6167
|
+
{
|
|
6168
|
+
"label": "Navigation Drawer Item",
|
|
6169
|
+
"tag": "wc-navigation-drawer-item",
|
|
6170
|
+
"rawTag": "navigation-drawer-item",
|
|
6171
|
+
"summary": "A destination in a navigation drawer.",
|
|
6172
|
+
"overview": "<p>A full-width row with an optional icon, a label and an optional badge. The active item gets\nthe pill-shaped active indicator. With <code>href</code> it renders a link, otherwise a button.</p>",
|
|
6173
|
+
"slot": "badge - Trailing content, such as a count. Overrides the `badge` attribute.",
|
|
6174
|
+
"example": "```html\n<wc-navigation-drawer-item active badge=\"24\">\n <wc-icon slot=\"icon\" name=\"inbox\"></wc-icon>\n Inbox\n</wc-navigation-drawer-item>\n```",
|
|
6175
|
+
"tags": "navigation",
|
|
6176
|
+
"customElement": {
|
|
6177
|
+
"kind": "class",
|
|
6178
|
+
"description": "",
|
|
6179
|
+
"slots": [
|
|
6180
|
+
{
|
|
6181
|
+
"description": "The label.",
|
|
6182
|
+
"name": ""
|
|
6183
|
+
},
|
|
6184
|
+
{
|
|
6185
|
+
"description": "Leading icon.",
|
|
6186
|
+
"name": "icon"
|
|
6187
|
+
},
|
|
6188
|
+
{
|
|
6189
|
+
"description": "Trailing content, such as a count. Overrides the `badge` attribute.",
|
|
6190
|
+
"name": "badge"
|
|
6191
|
+
}
|
|
6192
|
+
],
|
|
6193
|
+
"attributes": [
|
|
6194
|
+
{
|
|
6195
|
+
"name": "active",
|
|
6196
|
+
"type": {
|
|
6197
|
+
"text": "boolean"
|
|
6198
|
+
},
|
|
6199
|
+
"default": "false",
|
|
6200
|
+
"description": "Whether this item is the current destination.",
|
|
6201
|
+
"fieldName": "active"
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
"name": "disabled",
|
|
6205
|
+
"type": {
|
|
6206
|
+
"text": "boolean"
|
|
6207
|
+
},
|
|
6208
|
+
"default": "false",
|
|
6209
|
+
"description": "Whether this item is disabled.",
|
|
6210
|
+
"fieldName": "disabled"
|
|
6211
|
+
},
|
|
6212
|
+
{
|
|
6213
|
+
"name": "href",
|
|
6214
|
+
"type": {
|
|
6215
|
+
"text": "string | undefined"
|
|
6216
|
+
},
|
|
6217
|
+
"description": "If provided, the item renders as a link.",
|
|
6218
|
+
"fieldName": "href"
|
|
6219
|
+
},
|
|
6220
|
+
{
|
|
6221
|
+
"name": "target",
|
|
6222
|
+
"type": {
|
|
6223
|
+
"text": "string"
|
|
6224
|
+
},
|
|
6225
|
+
"default": "'_self'",
|
|
6226
|
+
"description": "Link target.",
|
|
6227
|
+
"fieldName": "target"
|
|
6228
|
+
},
|
|
6229
|
+
{
|
|
6230
|
+
"name": "value",
|
|
6231
|
+
"type": {
|
|
6232
|
+
"text": "string | undefined"
|
|
6233
|
+
},
|
|
6234
|
+
"description": "Identifies the item in the drawer's `change` event.",
|
|
6235
|
+
"fieldName": "value"
|
|
6236
|
+
},
|
|
6237
|
+
{
|
|
6238
|
+
"name": "badge",
|
|
6239
|
+
"type": {
|
|
6240
|
+
"text": "string | undefined"
|
|
6241
|
+
},
|
|
6242
|
+
"description": "Short trailing text, such as an unread count.",
|
|
6243
|
+
"fieldName": "badge"
|
|
6244
|
+
}
|
|
6245
|
+
],
|
|
6246
|
+
"superclass": {
|
|
6247
|
+
"name": "LitElement",
|
|
6248
|
+
"package": "lit"
|
|
6249
|
+
},
|
|
6250
|
+
"tagName": "wc-navigation-drawer-item",
|
|
6251
|
+
"customElement": true,
|
|
6252
|
+
"rawTag": {
|
|
6253
|
+
"name": "navigation-drawer-item",
|
|
6254
|
+
"description": ""
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
},
|
|
5660
6258
|
{
|
|
5661
6259
|
"label": "Navigation Rail",
|
|
5662
6260
|
"tag": "wc-navigation-rail",
|
|
@@ -6087,14 +6685,6 @@
|
|
|
6087
6685
|
},
|
|
6088
6686
|
"fieldName": "value"
|
|
6089
6687
|
},
|
|
6090
|
-
{
|
|
6091
|
-
"name": "name",
|
|
6092
|
-
"type": {
|
|
6093
|
-
"text": "string"
|
|
6094
|
-
},
|
|
6095
|
-
"default": "''",
|
|
6096
|
-
"fieldName": "name"
|
|
6097
|
-
},
|
|
6098
6688
|
{
|
|
6099
6689
|
"name": "placeholder",
|
|
6100
6690
|
"type": {
|
|
@@ -6213,12 +6803,16 @@
|
|
|
6213
6803
|
"default": "false",
|
|
6214
6804
|
"fieldName": "stepper"
|
|
6215
6805
|
},
|
|
6806
|
+
{
|
|
6807
|
+
"name": "name",
|
|
6808
|
+
"fieldName": "name",
|
|
6809
|
+
"inheritedFrom": {
|
|
6810
|
+
"name": "BaseInput",
|
|
6811
|
+
"module": "src/input/BaseInput.ts"
|
|
6812
|
+
}
|
|
6813
|
+
},
|
|
6216
6814
|
{
|
|
6217
6815
|
"name": "disabled",
|
|
6218
|
-
"type": {
|
|
6219
|
-
"text": "boolean"
|
|
6220
|
-
},
|
|
6221
|
-
"default": "false",
|
|
6222
6816
|
"fieldName": "disabled",
|
|
6223
6817
|
"inheritedFrom": {
|
|
6224
6818
|
"name": "BaseInput",
|
|
@@ -6441,41 +7035,137 @@
|
|
|
6441
7035
|
"description": "",
|
|
6442
7036
|
"cssProperties": [
|
|
6443
7037
|
{
|
|
6444
|
-
"description": "Background color of the popover content. Defaults to `var(--color-surface-container)`.",
|
|
6445
|
-
"name": "--popover-content-background"
|
|
7038
|
+
"description": "Background color of the popover content. Defaults to `var(--color-surface-container)`.",
|
|
7039
|
+
"name": "--popover-content-background"
|
|
7040
|
+
},
|
|
7041
|
+
{
|
|
7042
|
+
"description": "Padding of the popover content. Defaults to `var(--spacing-200)`.",
|
|
7043
|
+
"name": "--popover-content-padding"
|
|
7044
|
+
},
|
|
7045
|
+
{
|
|
7046
|
+
"description": "Border radius of the popover content. Defaults to `var(--shape-corner-small)`.",
|
|
7047
|
+
"name": "--popover-content-border-radius"
|
|
7048
|
+
},
|
|
7049
|
+
{
|
|
7050
|
+
"description": "Minimum width of the popover content. Defaults to `10rem`.",
|
|
7051
|
+
"name": "--popover-content-min-width"
|
|
7052
|
+
}
|
|
7053
|
+
],
|
|
7054
|
+
"attributes": [
|
|
7055
|
+
{
|
|
7056
|
+
"name": "open",
|
|
7057
|
+
"type": {
|
|
7058
|
+
"text": "boolean"
|
|
7059
|
+
},
|
|
7060
|
+
"default": "false",
|
|
7061
|
+
"description": "Whether the popover content is visible.",
|
|
7062
|
+
"fieldName": "open"
|
|
7063
|
+
}
|
|
7064
|
+
],
|
|
7065
|
+
"superclass": {
|
|
7066
|
+
"name": "LitElement",
|
|
7067
|
+
"package": "lit"
|
|
7068
|
+
},
|
|
7069
|
+
"tagName": "wc-popover-content",
|
|
7070
|
+
"customElement": true,
|
|
7071
|
+
"rawTag": {
|
|
7072
|
+
"name": "popover-content",
|
|
7073
|
+
"description": ""
|
|
7074
|
+
}
|
|
7075
|
+
}
|
|
7076
|
+
},
|
|
7077
|
+
{
|
|
7078
|
+
"label": "Radio Group",
|
|
7079
|
+
"tag": "wc-radio-group",
|
|
7080
|
+
"rawTag": "radio-group",
|
|
7081
|
+
"summary": "Groups radios under one label, one name and one value.",
|
|
7082
|
+
"overview": "<p>Radio group gives its <code>wc-radio</code> children a shared <code>name</code> (its own, or a\ngenerated one), so only one can be checked. Its <code>value</code> is the value of the checked radio,\nand setting it checks the matching radio.</p>\n<p>The radios stay form-associated, so the group submits once, through the checked radio.</p>",
|
|
7083
|
+
"fires": "change - Dispatched when the user checks a different radio. The group swallows the radios' own `change` events.",
|
|
7084
|
+
"cssprop": "--radio-group-gap - Space between radios. Defaults to `--spacing-100`.",
|
|
7085
|
+
"example": "```html\n<wc-radio-group label=\"Size\" name=\"size\" value=\"md\">\n <wc-radio value=\"sm\" label=\"Small\"></wc-radio>\n <wc-radio value=\"md\" label=\"Medium\"></wc-radio>\n <wc-radio value=\"lg\" label=\"Large\"></wc-radio>\n</wc-radio-group>\n```",
|
|
7086
|
+
"tags": "input, form",
|
|
7087
|
+
"customElement": {
|
|
7088
|
+
"kind": "class",
|
|
7089
|
+
"description": "",
|
|
7090
|
+
"cssProperties": [
|
|
7091
|
+
{
|
|
7092
|
+
"description": "Space between radios. Defaults to `--spacing-100`.",
|
|
7093
|
+
"name": "--radio-group-gap"
|
|
7094
|
+
}
|
|
7095
|
+
],
|
|
7096
|
+
"events": [
|
|
7097
|
+
{
|
|
7098
|
+
"type": {
|
|
7099
|
+
"text": "CustomEvent<{value: string}>"
|
|
7100
|
+
},
|
|
7101
|
+
"description": "Dispatched when the user checks a different radio. The group swallows the radios' own `change` events.",
|
|
7102
|
+
"name": "change"
|
|
7103
|
+
}
|
|
7104
|
+
],
|
|
7105
|
+
"attributes": [
|
|
7106
|
+
{
|
|
7107
|
+
"name": "name",
|
|
7108
|
+
"type": {
|
|
7109
|
+
"text": "string"
|
|
7110
|
+
},
|
|
7111
|
+
"default": "''",
|
|
7112
|
+
"description": "Name given to every radio in the group, and submitted with forms. Generated when empty.",
|
|
7113
|
+
"fieldName": "name"
|
|
6446
7114
|
},
|
|
6447
7115
|
{
|
|
6448
|
-
"
|
|
6449
|
-
"
|
|
7116
|
+
"name": "value",
|
|
7117
|
+
"type": {
|
|
7118
|
+
"text": "string"
|
|
7119
|
+
},
|
|
7120
|
+
"default": "''",
|
|
7121
|
+
"description": "Value of the checked radio. Setting it checks the radio with that value.",
|
|
7122
|
+
"fieldName": "value"
|
|
6450
7123
|
},
|
|
6451
7124
|
{
|
|
6452
|
-
"
|
|
6453
|
-
"
|
|
7125
|
+
"name": "label",
|
|
7126
|
+
"type": {
|
|
7127
|
+
"text": "string"
|
|
7128
|
+
},
|
|
7129
|
+
"default": "''",
|
|
7130
|
+
"description": "Group label, shown above the radios and used as the accessible name.",
|
|
7131
|
+
"fieldName": "label"
|
|
6454
7132
|
},
|
|
6455
7133
|
{
|
|
6456
|
-
"
|
|
6457
|
-
"
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
7134
|
+
"name": "orientation",
|
|
7135
|
+
"type": {
|
|
7136
|
+
"text": "'vertical' | 'horizontal'"
|
|
7137
|
+
},
|
|
7138
|
+
"default": "'vertical'",
|
|
7139
|
+
"description": "Lays the radios out in a column (default) or a row.",
|
|
7140
|
+
"fieldName": "orientation"
|
|
7141
|
+
},
|
|
6461
7142
|
{
|
|
6462
|
-
"name": "
|
|
7143
|
+
"name": "disabled",
|
|
6463
7144
|
"type": {
|
|
6464
7145
|
"text": "boolean"
|
|
6465
7146
|
},
|
|
6466
7147
|
"default": "false",
|
|
6467
|
-
"description": "
|
|
6468
|
-
"fieldName": "
|
|
7148
|
+
"description": "Disables every radio in the group.",
|
|
7149
|
+
"fieldName": "disabled"
|
|
7150
|
+
},
|
|
7151
|
+
{
|
|
7152
|
+
"name": "required",
|
|
7153
|
+
"type": {
|
|
7154
|
+
"text": "boolean"
|
|
7155
|
+
},
|
|
7156
|
+
"default": "false",
|
|
7157
|
+
"description": "Marks the group as required.",
|
|
7158
|
+
"fieldName": "required"
|
|
6469
7159
|
}
|
|
6470
7160
|
],
|
|
6471
7161
|
"superclass": {
|
|
6472
7162
|
"name": "LitElement",
|
|
6473
7163
|
"package": "lit"
|
|
6474
7164
|
},
|
|
6475
|
-
"tagName": "wc-
|
|
7165
|
+
"tagName": "wc-radio-group",
|
|
6476
7166
|
"customElement": true,
|
|
6477
7167
|
"rawTag": {
|
|
6478
|
-
"name": "
|
|
7168
|
+
"name": "radio-group",
|
|
6479
7169
|
"description": ""
|
|
6480
7170
|
}
|
|
6481
7171
|
}
|
|
@@ -6662,7 +7352,7 @@
|
|
|
6662
7352
|
"summary": "An individual segment within a segmented button group.",
|
|
6663
7353
|
"overview": "<p>Segmented buttons help people select options, switch views, or sort elements. They are used within a <code>wc-segmented-button-group</code>.</p>",
|
|
6664
7354
|
"cssprop": "--segmented-button-disabled-opacity: Opacity when the segment is disabled.",
|
|
6665
|
-
"fires": "segmented-button--change -
|
|
7355
|
+
"fires": "segmented-button--change - Deprecated alias of `change`, fired alongside it.",
|
|
6666
7356
|
"example": "```html\n<wc-segmented-button-group>\n <wc-segmented-button value=\"day\">Day</wc-segmented-button>\n <wc-segmented-button value=\"week\" selected>Week</wc-segmented-button>\n <wc-segmented-button value=\"month\">Month</wc-segmented-button>\n</wc-segmented-button-group>\n```",
|
|
6667
7357
|
"tags": "controls",
|
|
6668
7358
|
"customElement": {
|
|
@@ -6695,12 +7385,19 @@
|
|
|
6695
7385
|
}
|
|
6696
7386
|
],
|
|
6697
7387
|
"events": [
|
|
7388
|
+
{
|
|
7389
|
+
"name": "change",
|
|
7390
|
+
"type": {
|
|
7391
|
+
"text": "CustomEvent"
|
|
7392
|
+
},
|
|
7393
|
+
"description": "Dispatched when the segment is activated. Detail: `{ value, selected, originalEvent }`, where `selected` is the requested state. Inside a `wc-segmented-button-group` the group swallows it and fires its own `change` instead."
|
|
7394
|
+
},
|
|
6698
7395
|
{
|
|
6699
7396
|
"name": "segmented-button--change",
|
|
6700
7397
|
"type": {
|
|
6701
7398
|
"text": "CustomEvent"
|
|
6702
7399
|
},
|
|
6703
|
-
"description": "
|
|
7400
|
+
"description": "Deprecated alias of `change`, fired alongside it."
|
|
6704
7401
|
}
|
|
6705
7402
|
],
|
|
6706
7403
|
"attributes": [
|
|
@@ -6817,7 +7514,8 @@
|
|
|
6817
7514
|
"tag": "wc-select",
|
|
6818
7515
|
"rawTag": "select",
|
|
6819
7516
|
"summary": "A dropdown select component supporting single and multi-select with optional typeahead search.",
|
|
6820
|
-
"overview": "Select builds on wc-field and wc-menu to provide a fully-featured dropdown picker.\n\n- Single and multi-select modes\n- Client-side typeahead with `search=\"contains\"`\n- Server-side typeahead with `search=\"managed\"`\n- Multi-select chips display",
|
|
7517
|
+
"overview": "Select builds on wc-field and wc-menu to provide a fully-featured dropdown picker.\n\n- Single and multi-select modes\n- Client-side typeahead with `search=\"contains\"`\n- Server-side typeahead with `search=\"managed\"`\n- Multi-select chips display\n- Form-associated: submits the value under `name` (one entry per value with `multiple`)",
|
|
7518
|
+
"fires": "select-search - Dispatched as the user types when `search=\"managed\"`.",
|
|
6821
7519
|
"example": "```html\n<wc-select label=\"Fruit\" placeholder=\"Pick a fruit...\">\n <wc-option value=\"apple\">Apple</wc-option>\n <wc-option value=\"banana\">Banana</wc-option>\n</wc-select>\n```",
|
|
6822
7520
|
"tags": "form",
|
|
6823
7521
|
"customElement": {
|
|
@@ -6827,14 +7525,16 @@
|
|
|
6827
7525
|
{
|
|
6828
7526
|
"name": "change",
|
|
6829
7527
|
"type": {
|
|
6830
|
-
"text": "CustomEvent"
|
|
6831
|
-
}
|
|
7528
|
+
"text": "CustomEvent<{value: string}>"
|
|
7529
|
+
},
|
|
7530
|
+
"description": "Dispatched when the selection changes."
|
|
6832
7531
|
},
|
|
6833
7532
|
{
|
|
6834
7533
|
"name": "select-search",
|
|
6835
7534
|
"type": {
|
|
6836
|
-
"text": "CustomEvent"
|
|
6837
|
-
}
|
|
7535
|
+
"text": "CustomEvent<{value: string}>"
|
|
7536
|
+
},
|
|
7537
|
+
"description": "Dispatched as the user types when `search=\"managed\"`."
|
|
6838
7538
|
}
|
|
6839
7539
|
],
|
|
6840
7540
|
"attributes": [
|
|
@@ -6942,12 +7642,16 @@
|
|
|
6942
7642
|
"default": "''",
|
|
6943
7643
|
"fieldName": "warningText"
|
|
6944
7644
|
},
|
|
7645
|
+
{
|
|
7646
|
+
"name": "name",
|
|
7647
|
+
"fieldName": "name",
|
|
7648
|
+
"inheritedFrom": {
|
|
7649
|
+
"name": "BaseInput",
|
|
7650
|
+
"module": "src/input/BaseInput.ts"
|
|
7651
|
+
}
|
|
7652
|
+
},
|
|
6945
7653
|
{
|
|
6946
7654
|
"name": "disabled",
|
|
6947
|
-
"type": {
|
|
6948
|
-
"text": "boolean"
|
|
6949
|
-
},
|
|
6950
|
-
"default": "false",
|
|
6951
7655
|
"fieldName": "disabled",
|
|
6952
7656
|
"inheritedFrom": {
|
|
6953
7657
|
"name": "BaseInput",
|
|
@@ -7405,8 +8109,10 @@
|
|
|
7405
8109
|
"tag": "wc-slider",
|
|
7406
8110
|
"rawTag": "slider",
|
|
7407
8111
|
"summary": "Sliders allow users to make selections from a range of values.",
|
|
8112
|
+
"overview": "<p>The slider is form-associated: its <code>value</code> is submitted under its <code>name</code>,\nand <code>form.reset()</code> restores the starting value.</p>",
|
|
7408
8113
|
"fires": "change - Dispatched when the slider interaction ends.",
|
|
7409
8114
|
"example": "```html\n<wc-slider min=\"0\" max=\"100\" value=\"50\"></wc-slider>\n```",
|
|
8115
|
+
"tags": "input, form",
|
|
7410
8116
|
"customElement": {
|
|
7411
8117
|
"kind": "class",
|
|
7412
8118
|
"description": "",
|
|
@@ -7463,15 +8169,6 @@
|
|
|
7463
8169
|
"description": "The step increment for the slider.",
|
|
7464
8170
|
"fieldName": "step"
|
|
7465
8171
|
},
|
|
7466
|
-
{
|
|
7467
|
-
"name": "disabled",
|
|
7468
|
-
"type": {
|
|
7469
|
-
"text": "boolean"
|
|
7470
|
-
},
|
|
7471
|
-
"default": "false",
|
|
7472
|
-
"description": "Whether the slider is disabled.",
|
|
7473
|
-
"fieldName": "disabled"
|
|
7474
|
-
},
|
|
7475
8172
|
{
|
|
7476
8173
|
"name": "labeled",
|
|
7477
8174
|
"type": {
|
|
@@ -7489,6 +8186,32 @@
|
|
|
7489
8186
|
"default": "false",
|
|
7490
8187
|
"description": "Whether to show the current value beside the slider.",
|
|
7491
8188
|
"fieldName": "showValue"
|
|
8189
|
+
},
|
|
8190
|
+
{
|
|
8191
|
+
"name": "name",
|
|
8192
|
+
"fieldName": "name",
|
|
8193
|
+
"inheritedFrom": {
|
|
8194
|
+
"name": "mixinFormAssociated",
|
|
8195
|
+
"module": "src/__internal/mixins/form-associated.ts"
|
|
8196
|
+
}
|
|
8197
|
+
},
|
|
8198
|
+
{
|
|
8199
|
+
"name": "disabled",
|
|
8200
|
+
"fieldName": "disabled",
|
|
8201
|
+
"inheritedFrom": {
|
|
8202
|
+
"name": "mixinFormAssociated",
|
|
8203
|
+
"module": "src/__internal/mixins/form-associated.ts"
|
|
8204
|
+
}
|
|
8205
|
+
}
|
|
8206
|
+
],
|
|
8207
|
+
"mixins": [
|
|
8208
|
+
{
|
|
8209
|
+
"name": "mixinFormAssociated",
|
|
8210
|
+
"package": "@/__internal/mixins/form-associated.js"
|
|
8211
|
+
},
|
|
8212
|
+
{
|
|
8213
|
+
"name": "mixinElementInternals",
|
|
8214
|
+
"package": "@/__internal/mixins/element-internals.js"
|
|
7492
8215
|
}
|
|
7493
8216
|
],
|
|
7494
8217
|
"superclass": {
|
|
@@ -7906,10 +8629,10 @@
|
|
|
7906
8629
|
"tag": "wc-switch",
|
|
7907
8630
|
"rawTag": "switch",
|
|
7908
8631
|
"summary": "Captures boolean input with an on/off switch interaction.",
|
|
7909
|
-
"overview": "<p>Toggles are used to enable or disable a single option. They provide immediate feedback about whether an option is active or inactive.</p>",
|
|
8632
|
+
"overview": "<p>Toggles are used to enable or disable a single option. They provide immediate feedback about whether an option is active or inactive.</p>\n<p>The switch is form-associated: when <code>checked</code>, it submits <code>on</code> under its <code>name</code>.</p>",
|
|
7910
8633
|
"cssprop": "--switch-handle-color: Color of the switch handle.",
|
|
7911
8634
|
"fires": "focus - Dispatched when the switch receives focus.",
|
|
7912
|
-
"example": "```html\n<wc-switch
|
|
8635
|
+
"example": "```html\n<wc-switch checked label=\"Wi-Fi\"></wc-switch>\n```",
|
|
7913
8636
|
"tags": "input, form",
|
|
7914
8637
|
"customElement": {
|
|
7915
8638
|
"kind": "class",
|
|
@@ -7945,7 +8668,7 @@
|
|
|
7945
8668
|
"type": {
|
|
7946
8669
|
"text": "CustomEvent"
|
|
7947
8670
|
},
|
|
7948
|
-
"description": "Dispatched when the switch value
|
|
8671
|
+
"description": "Dispatched when the switch is toggled. Detail: `{ checked, value, originalEvent }`.",
|
|
7949
8672
|
"name": "change"
|
|
7950
8673
|
},
|
|
7951
8674
|
{
|
|
@@ -7965,21 +8688,21 @@
|
|
|
7965
8688
|
],
|
|
7966
8689
|
"attributes": [
|
|
7967
8690
|
{
|
|
7968
|
-
"name": "
|
|
8691
|
+
"name": "checked",
|
|
7969
8692
|
"type": {
|
|
7970
8693
|
"text": "boolean"
|
|
7971
8694
|
},
|
|
7972
8695
|
"default": "false",
|
|
7973
|
-
"
|
|
8696
|
+
"description": "Whether the switch is on.",
|
|
8697
|
+
"fieldName": "checked"
|
|
7974
8698
|
},
|
|
7975
8699
|
{
|
|
7976
|
-
"name": "
|
|
8700
|
+
"name": "value",
|
|
7977
8701
|
"type": {
|
|
7978
|
-
"text": "
|
|
8702
|
+
"text": "boolean"
|
|
7979
8703
|
},
|
|
7980
|
-
"
|
|
7981
|
-
"
|
|
7982
|
-
"fieldName": "name"
|
|
8704
|
+
"deprecated": "Use `checked`. Kept as an alias of `checked`.",
|
|
8705
|
+
"fieldName": "value"
|
|
7983
8706
|
},
|
|
7984
8707
|
{
|
|
7985
8708
|
"name": "label",
|
|
@@ -8000,26 +8723,25 @@
|
|
|
8000
8723
|
"fieldName": "rounded"
|
|
8001
8724
|
},
|
|
8002
8725
|
{
|
|
8003
|
-
"name": "
|
|
8726
|
+
"name": "with-icon",
|
|
8004
8727
|
"type": {
|
|
8005
8728
|
"text": "boolean"
|
|
8006
8729
|
},
|
|
8007
8730
|
"default": "false",
|
|
8008
|
-
"fieldName": "
|
|
8009
|
-
"description": "If true, required icon is shown. Defaults to `false`.",
|
|
8010
|
-
"inheritedFrom": {
|
|
8011
|
-
"name": "BaseInput",
|
|
8012
|
-
"module": "src/input/BaseInput.ts"
|
|
8013
|
-
}
|
|
8731
|
+
"fieldName": "withIcon"
|
|
8014
8732
|
},
|
|
8015
8733
|
{
|
|
8016
|
-
"name": "
|
|
8734
|
+
"name": "configAria",
|
|
8017
8735
|
"type": {
|
|
8018
|
-
"text": "
|
|
8736
|
+
"text": "Record<string, string>"
|
|
8019
8737
|
},
|
|
8020
|
-
"default": "
|
|
8021
|
-
"
|
|
8022
|
-
"
|
|
8738
|
+
"default": "{}",
|
|
8739
|
+
"description": "Configuration object for aria attributes.",
|
|
8740
|
+
"fieldName": "configAria"
|
|
8741
|
+
},
|
|
8742
|
+
{
|
|
8743
|
+
"name": "name",
|
|
8744
|
+
"fieldName": "name",
|
|
8023
8745
|
"inheritedFrom": {
|
|
8024
8746
|
"name": "BaseInput",
|
|
8025
8747
|
"module": "src/input/BaseInput.ts"
|
|
@@ -8027,33 +8749,35 @@
|
|
|
8027
8749
|
},
|
|
8028
8750
|
{
|
|
8029
8751
|
"name": "disabled",
|
|
8030
|
-
"type": {
|
|
8031
|
-
"text": "boolean"
|
|
8032
|
-
},
|
|
8033
|
-
"default": "false",
|
|
8034
8752
|
"fieldName": "disabled",
|
|
8035
|
-
"description": "If true, the user cannot interact with the toggle. Defaults to `false`.",
|
|
8036
8753
|
"inheritedFrom": {
|
|
8037
8754
|
"name": "BaseInput",
|
|
8038
8755
|
"module": "src/input/BaseInput.ts"
|
|
8039
8756
|
}
|
|
8040
8757
|
},
|
|
8041
8758
|
{
|
|
8042
|
-
"name": "
|
|
8759
|
+
"name": "readonly",
|
|
8043
8760
|
"type": {
|
|
8044
8761
|
"text": "boolean"
|
|
8045
8762
|
},
|
|
8046
8763
|
"default": "false",
|
|
8047
|
-
"fieldName": "
|
|
8764
|
+
"fieldName": "readonly",
|
|
8765
|
+
"inheritedFrom": {
|
|
8766
|
+
"name": "BaseInput",
|
|
8767
|
+
"module": "src/input/BaseInput.ts"
|
|
8768
|
+
}
|
|
8048
8769
|
},
|
|
8049
8770
|
{
|
|
8050
|
-
"name": "
|
|
8771
|
+
"name": "required",
|
|
8051
8772
|
"type": {
|
|
8052
|
-
"text": "
|
|
8773
|
+
"text": "boolean"
|
|
8053
8774
|
},
|
|
8054
|
-
"default": "
|
|
8055
|
-
"
|
|
8056
|
-
"
|
|
8775
|
+
"default": "false",
|
|
8776
|
+
"fieldName": "required",
|
|
8777
|
+
"inheritedFrom": {
|
|
8778
|
+
"name": "BaseInput",
|
|
8779
|
+
"module": "src/input/BaseInput.ts"
|
|
8780
|
+
}
|
|
8057
8781
|
},
|
|
8058
8782
|
{
|
|
8059
8783
|
"name": "skeleton",
|
|
@@ -8425,11 +9149,28 @@
|
|
|
8425
9149
|
"rawTag": "tabs",
|
|
8426
9150
|
"summary": "Container for tab components.",
|
|
8427
9151
|
"overview": "<p>Tabs holds the tab buttons and manages their layout.</p>",
|
|
9152
|
+
"fires": "tab-click - Deprecated alias of `change`, fired alongside it.",
|
|
8428
9153
|
"example": "```html\n<wc-tabs>\n <wc-tab active>Tab 1</wc-tab>\n <wc-tab>Tab 2</wc-tab>\n</wc-tabs>\n```",
|
|
8429
9154
|
"tags": "navigation",
|
|
8430
9155
|
"customElement": {
|
|
8431
9156
|
"kind": "class",
|
|
8432
9157
|
"description": "",
|
|
9158
|
+
"events": [
|
|
9159
|
+
{
|
|
9160
|
+
"type": {
|
|
9161
|
+
"text": "CustomEvent<{index: number, value: string}>"
|
|
9162
|
+
},
|
|
9163
|
+
"description": "Dispatched when the user activates a tab.",
|
|
9164
|
+
"name": "change"
|
|
9165
|
+
},
|
|
9166
|
+
{
|
|
9167
|
+
"type": {
|
|
9168
|
+
"text": "CustomEvent<{index: number, value: string}>"
|
|
9169
|
+
},
|
|
9170
|
+
"description": "Deprecated alias of `change`, fired alongside it.",
|
|
9171
|
+
"name": "tab-click"
|
|
9172
|
+
}
|
|
9173
|
+
],
|
|
8433
9174
|
"attributes": [
|
|
8434
9175
|
{
|
|
8435
9176
|
"name": "variant",
|
|
@@ -8466,16 +9207,25 @@
|
|
|
8466
9207
|
"rawTag": "tag",
|
|
8467
9208
|
"summary": "Tag component for displaying labels or values with optional dismiss functionality.",
|
|
8468
9209
|
"tags": "display",
|
|
9210
|
+
"fires": "tag--dismiss - Deprecated alias of `dismiss`, fired alongside it.",
|
|
8469
9211
|
"example": "```html\n<wc-tag color=\"red\">Tag</wc-tag>\n```",
|
|
8470
9212
|
"customElement": {
|
|
8471
9213
|
"kind": "class",
|
|
8472
9214
|
"description": "",
|
|
8473
9215
|
"events": [
|
|
9216
|
+
{
|
|
9217
|
+
"name": "dismiss",
|
|
9218
|
+
"type": {
|
|
9219
|
+
"text": "CustomEvent"
|
|
9220
|
+
},
|
|
9221
|
+
"description": "Dispatched when the dismiss button is clicked."
|
|
9222
|
+
},
|
|
8474
9223
|
{
|
|
8475
9224
|
"name": "tag--dismiss",
|
|
8476
9225
|
"type": {
|
|
8477
9226
|
"text": "CustomEvent"
|
|
8478
|
-
}
|
|
9227
|
+
},
|
|
9228
|
+
"description": "Deprecated alias of `dismiss`, fired alongside it."
|
|
8479
9229
|
}
|
|
8480
9230
|
],
|
|
8481
9231
|
"attributes": [
|
|
@@ -8511,9 +9261,10 @@
|
|
|
8511
9261
|
{
|
|
8512
9262
|
"name": "size",
|
|
8513
9263
|
"type": {
|
|
8514
|
-
"text": "'sm' | 'md' | undefined"
|
|
9264
|
+
"text": "'sm' | 'md' | 'lg' | undefined"
|
|
8515
9265
|
},
|
|
8516
9266
|
"default": "'md'",
|
|
9267
|
+
"description": "Tag size. Possible values are `\"sm\"`, `\"md\"`, `\"lg\"`. Defaults to `\"md\"`.",
|
|
8517
9268
|
"fieldName": "size"
|
|
8518
9269
|
}
|
|
8519
9270
|
],
|
|
@@ -8548,14 +9299,6 @@
|
|
|
8548
9299
|
"default": "''",
|
|
8549
9300
|
"fieldName": "value"
|
|
8550
9301
|
},
|
|
8551
|
-
{
|
|
8552
|
-
"name": "name",
|
|
8553
|
-
"type": {
|
|
8554
|
-
"text": "string"
|
|
8555
|
-
},
|
|
8556
|
-
"default": "''",
|
|
8557
|
-
"fieldName": "name"
|
|
8558
|
-
},
|
|
8559
9302
|
{
|
|
8560
9303
|
"name": "placeholder",
|
|
8561
9304
|
"type": {
|
|
@@ -8661,12 +9404,16 @@
|
|
|
8661
9404
|
"default": "'3'",
|
|
8662
9405
|
"fieldName": "rows"
|
|
8663
9406
|
},
|
|
9407
|
+
{
|
|
9408
|
+
"name": "name",
|
|
9409
|
+
"fieldName": "name",
|
|
9410
|
+
"inheritedFrom": {
|
|
9411
|
+
"name": "BaseInput",
|
|
9412
|
+
"module": "src/input/BaseInput.ts"
|
|
9413
|
+
}
|
|
9414
|
+
},
|
|
8664
9415
|
{
|
|
8665
9416
|
"name": "disabled",
|
|
8666
|
-
"type": {
|
|
8667
|
-
"text": "boolean"
|
|
8668
|
-
},
|
|
8669
|
-
"default": "false",
|
|
8670
9417
|
"fieldName": "disabled",
|
|
8671
9418
|
"inheritedFrom": {
|
|
8672
9419
|
"name": "BaseInput",
|
|
@@ -8795,14 +9542,6 @@
|
|
|
8795
9542
|
"default": "''",
|
|
8796
9543
|
"fieldName": "value"
|
|
8797
9544
|
},
|
|
8798
|
-
{
|
|
8799
|
-
"name": "name",
|
|
8800
|
-
"type": {
|
|
8801
|
-
"text": "string"
|
|
8802
|
-
},
|
|
8803
|
-
"default": "''",
|
|
8804
|
-
"fieldName": "name"
|
|
8805
|
-
},
|
|
8806
9545
|
{
|
|
8807
9546
|
"name": "placeholder",
|
|
8808
9547
|
"type": {
|
|
@@ -8900,12 +9639,16 @@
|
|
|
8900
9639
|
"default": "''",
|
|
8901
9640
|
"fieldName": "warningText"
|
|
8902
9641
|
},
|
|
9642
|
+
{
|
|
9643
|
+
"name": "name",
|
|
9644
|
+
"fieldName": "name",
|
|
9645
|
+
"inheritedFrom": {
|
|
9646
|
+
"name": "BaseInput",
|
|
9647
|
+
"module": "src/input/BaseInput.ts"
|
|
9648
|
+
}
|
|
9649
|
+
},
|
|
8903
9650
|
{
|
|
8904
9651
|
"name": "disabled",
|
|
8905
|
-
"type": {
|
|
8906
|
-
"text": "boolean"
|
|
8907
|
-
},
|
|
8908
|
-
"default": "false",
|
|
8909
9652
|
"fieldName": "disabled",
|
|
8910
9653
|
"inheritedFrom": {
|
|
8911
9654
|
"name": "BaseInput",
|
|
@@ -9029,11 +9772,14 @@
|
|
|
9029
9772
|
{
|
|
9030
9773
|
"name": "size",
|
|
9031
9774
|
"type": {
|
|
9032
|
-
"text": "
|
|
9775
|
+
"text": "Size | LegacySize"
|
|
9033
9776
|
},
|
|
9034
|
-
"default": "'
|
|
9035
|
-
"description": "Size of the docked toolbar.\n
|
|
9036
|
-
"fieldName": "size"
|
|
9777
|
+
"default": "'sm'",
|
|
9778
|
+
"description": "Size of the docked toolbar.\n- `\"sm\"`: 80dp height (default).\n- `\"md\"`: 96dp height.\n- `\"lg\"`: 112dp height.\n\nThe long names `\"small\"`, `\"medium\"` and `\"large\"` still work but are deprecated.",
|
|
9779
|
+
"fieldName": "size",
|
|
9780
|
+
"expandedType": {
|
|
9781
|
+
"text": "'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large'"
|
|
9782
|
+
}
|
|
9037
9783
|
},
|
|
9038
9784
|
{
|
|
9039
9785
|
"name": "elevated",
|
|
@@ -9164,14 +9910,6 @@
|
|
|
9164
9910
|
"default": "''",
|
|
9165
9911
|
"fieldName": "value"
|
|
9166
9912
|
},
|
|
9167
|
-
{
|
|
9168
|
-
"name": "name",
|
|
9169
|
-
"type": {
|
|
9170
|
-
"text": "string"
|
|
9171
|
-
},
|
|
9172
|
-
"default": "''",
|
|
9173
|
-
"fieldName": "name"
|
|
9174
|
-
},
|
|
9175
9913
|
{
|
|
9176
9914
|
"name": "placeholder",
|
|
9177
9915
|
"type": {
|
|
@@ -9260,12 +9998,16 @@
|
|
|
9260
9998
|
"default": "''",
|
|
9261
9999
|
"fieldName": "warningText"
|
|
9262
10000
|
},
|
|
10001
|
+
{
|
|
10002
|
+
"name": "name",
|
|
10003
|
+
"fieldName": "name",
|
|
10004
|
+
"inheritedFrom": {
|
|
10005
|
+
"name": "BaseInput",
|
|
10006
|
+
"module": "src/input/BaseInput.ts"
|
|
10007
|
+
}
|
|
10008
|
+
},
|
|
9263
10009
|
{
|
|
9264
10010
|
"name": "disabled",
|
|
9265
|
-
"type": {
|
|
9266
|
-
"text": "boolean"
|
|
9267
|
-
},
|
|
9268
|
-
"default": "false",
|
|
9269
10011
|
"fieldName": "disabled",
|
|
9270
10012
|
"inheritedFrom": {
|
|
9271
10013
|
"name": "BaseInput",
|