@solid-design-system/components 6.1.0 → 6.2.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/cdn/chunks/{chunk.IIGXKYVW.js → chunk.3CJKJUTD.js} +3 -3
- package/cdn/chunks/{chunk.IGJNISFF.js → chunk.HYUIC2O6.js} +1 -1
- package/cdn/chunks/{chunk.73OYFFQV.js → chunk.S7VIPIYX.js} +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +5 -5
- package/cdn/solid-components.iife.js +5 -5
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2DPSCPM4.js +2 -2
- package/cdn-versioned/chunks/chunk.2HJLVWCE.js +2 -2
- package/cdn-versioned/chunks/chunk.2KV3QDYA.js +2 -2
- package/cdn-versioned/chunks/{chunk.IIGXKYVW.js → chunk.3CJKJUTD.js} +5 -5
- package/cdn-versioned/chunks/chunk.3ETEQAPR.js +2 -2
- package/cdn-versioned/chunks/chunk.47H4SDKN.js +2 -2
- package/cdn-versioned/chunks/chunk.4LGCXG7D.js +2 -2
- package/cdn-versioned/chunks/chunk.4P5PT6MV.js +2 -2
- package/cdn-versioned/chunks/chunk.5M2K2EXR.js +2 -2
- package/cdn-versioned/chunks/chunk.5OE2GCRH.js +2 -2
- package/cdn-versioned/chunks/chunk.6GU6NFBF.js +1 -1
- package/cdn-versioned/chunks/chunk.745GDIND.js +2 -2
- package/cdn-versioned/chunks/chunk.ALCKOGA7.js +1 -1
- package/cdn-versioned/chunks/chunk.BZ3VHECJ.js +3 -3
- package/cdn-versioned/chunks/chunk.C44GZOLG.js +9 -9
- package/cdn-versioned/chunks/chunk.C4QT4K6T.js +2 -2
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
- package/cdn-versioned/chunks/chunk.CJ34NUTS.js +1 -1
- package/cdn-versioned/chunks/chunk.CMY3VPYA.js +2 -2
- package/cdn-versioned/chunks/chunk.D5FVDNYV.js +2 -2
- package/cdn-versioned/chunks/chunk.DC6UQXYF.js +2 -2
- package/cdn-versioned/chunks/chunk.DEEJ4ON7.js +2 -2
- package/cdn-versioned/chunks/chunk.DXGVZ3KG.js +1 -1
- package/cdn-versioned/chunks/chunk.E64WXH47.js +1 -1
- package/cdn-versioned/chunks/chunk.EASLRW3B.js +2 -2
- package/cdn-versioned/chunks/chunk.G42N3VHE.js +2 -2
- package/cdn-versioned/chunks/chunk.GP2QVZP5.js +1 -1
- package/cdn-versioned/chunks/chunk.H77CNSMK.js +2 -2
- package/cdn-versioned/chunks/chunk.H7S7D4YV.js +2 -2
- package/cdn-versioned/chunks/chunk.HHASCDC2.js +5 -5
- package/cdn-versioned/chunks/{chunk.IGJNISFF.js → chunk.HYUIC2O6.js} +2 -2
- package/cdn-versioned/chunks/chunk.I234MSSB.js +2 -2
- package/cdn-versioned/chunks/chunk.I3TTTGLW.js +1 -1
- package/cdn-versioned/chunks/chunk.IAEOXYGB.js +1 -1
- package/cdn-versioned/chunks/chunk.JRSX44R6.js +2 -2
- package/cdn-versioned/chunks/chunk.KKKGNXIR.js +2 -2
- package/cdn-versioned/chunks/chunk.KM5W4EDY.js +2 -2
- package/cdn-versioned/chunks/chunk.L6PAHLSN.js +2 -2
- package/cdn-versioned/chunks/chunk.MWO5B7BA.js +2 -2
- package/cdn-versioned/chunks/chunk.OAVVKKBJ.js +2 -2
- package/cdn-versioned/chunks/chunk.OG2BQH6T.js +2 -2
- package/cdn-versioned/chunks/chunk.PPIS2HQ5.js +1 -1
- package/cdn-versioned/chunks/chunk.PRGLNPUF.js +1 -1
- package/cdn-versioned/chunks/chunk.PT6G5HKE.js +1 -1
- package/cdn-versioned/chunks/chunk.QJ2LWN24.js +2 -2
- package/cdn-versioned/chunks/chunk.QMKNC76J.js +2 -2
- package/cdn-versioned/chunks/chunk.QUGI3FMS.js +2 -2
- package/cdn-versioned/chunks/chunk.RBVWPWFK.js +2 -2
- package/cdn-versioned/chunks/chunk.RKKB23ZF.js +3 -3
- package/cdn-versioned/chunks/chunk.S4II2NTI.js +2 -2
- package/cdn-versioned/chunks/{chunk.73OYFFQV.js → chunk.S7VIPIYX.js} +2 -2
- package/cdn-versioned/chunks/chunk.TWTQHJPN.js +2 -2
- package/cdn-versioned/chunks/chunk.U44PXBV2.js +2 -2
- package/cdn-versioned/chunks/chunk.U5N7L5RI.js +2 -2
- package/cdn-versioned/chunks/chunk.UVRZTPOZ.js +2 -2
- package/cdn-versioned/chunks/chunk.VAUP57XZ.js +2 -2
- package/cdn-versioned/chunks/chunk.VMUNNUNV.js +1 -1
- package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XAPH6XNH.js +2 -2
- package/cdn-versioned/chunks/chunk.XTRMRKZ6.js +2 -2
- package/cdn-versioned/chunks/chunk.Z6TAAGCD.js +2 -2
- package/cdn-versioned/chunks/chunk.ZTELVJ34.js +1 -1
- package/cdn-versioned/chunks/chunk.ZVHLKL7F.js +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +244 -244
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +80 -80
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +80 -80
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +94 -94
- package/cdn-versioned/web-types.json +157 -157
- package/dist/chunks/{chunk.BTZPMBVC.js → chunk.NW7LJJS2.js} +1 -1
- package/dist/chunks/{chunk.4CS6FZHE.js → chunk.UWQPJU3Q.js} +7 -2
- package/dist/chunks/{chunk.CBKLWEL2.js → chunk.XC7QKBQE.js} +7 -7
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/select/select.js +2 -2
- package/dist/components/tag/tag.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +3 -3
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.22PWID5B.js +2 -2
- package/dist-versioned/chunks/chunk.2EWH2DC2.js +1 -1
- package/dist-versioned/chunks/chunk.2HTII44Q.js +4 -4
- package/dist-versioned/chunks/chunk.2VPWVTT6.js +4 -4
- package/dist-versioned/chunks/chunk.3EJL5IKL.js +1 -1
- package/dist-versioned/chunks/chunk.3PTRIEGP.js +2 -2
- package/dist-versioned/chunks/chunk.4UT3FCHQ.js +2 -2
- package/dist-versioned/chunks/chunk.5XWO3USG.js +3 -3
- package/dist-versioned/chunks/chunk.75WDCMIC.js +24 -24
- package/dist-versioned/chunks/chunk.ASEJW6QN.js +5 -5
- package/dist-versioned/chunks/chunk.AUSBWPVD.js +7 -7
- package/dist-versioned/chunks/chunk.AZPOFDJP.js +4 -4
- package/dist-versioned/chunks/chunk.BBLAIT57.js +2 -2
- package/dist-versioned/chunks/chunk.BSP6J6R2.js +2 -2
- package/dist-versioned/chunks/chunk.BTNS6ZNO.js +4 -4
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +3 -3
- package/dist-versioned/chunks/chunk.D7CJJHHA.js +1 -1
- package/dist-versioned/chunks/chunk.DCHRUIDY.js +1 -1
- package/dist-versioned/chunks/chunk.DCOB6WLB.js +3 -3
- package/dist-versioned/chunks/chunk.DFHY67LW.js +5 -5
- package/dist-versioned/chunks/chunk.DTTVI7KT.js +11 -11
- package/dist-versioned/chunks/chunk.DXDDB6AB.js +1 -1
- package/dist-versioned/chunks/chunk.DZEAXPRA.js +4 -4
- package/dist-versioned/chunks/chunk.FKFGVTXH.js +3 -3
- package/dist-versioned/chunks/chunk.FSUOT4WC.js +12 -12
- package/dist-versioned/chunks/chunk.IJIPMNT2.js +3 -3
- package/dist-versioned/chunks/chunk.IYXPHPNO.js +1 -1
- package/dist-versioned/chunks/chunk.JGRI4R23.js +1 -1
- package/dist-versioned/chunks/chunk.K66JHYHC.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.L3OEOSPQ.js +1 -1
- package/dist-versioned/chunks/chunk.L6ZE3RXX.js +14 -14
- package/dist-versioned/chunks/chunk.LBDV5GNR.js +4 -4
- package/dist-versioned/chunks/chunk.M2D3WWF3.js +8 -8
- package/dist-versioned/chunks/chunk.MH7JHBWP.js +2 -2
- package/dist-versioned/chunks/chunk.MLRNCOWA.js +3 -3
- package/dist-versioned/chunks/chunk.N3I674PE.js +12 -12
- package/dist-versioned/chunks/chunk.NEUULRS7.js +5 -5
- package/dist-versioned/chunks/{chunk.BTZPMBVC.js → chunk.NW7LJJS2.js} +8 -8
- package/dist-versioned/chunks/chunk.OJXVBFUH.js +5 -5
- package/dist-versioned/chunks/chunk.P5FGSFP3.js +1 -1
- package/dist-versioned/chunks/chunk.PBXAIJQ4.js +5 -5
- package/dist-versioned/chunks/chunk.Q7ZMX7IB.js +3 -3
- package/dist-versioned/chunks/chunk.QM4E25CD.js +5 -5
- package/dist-versioned/chunks/chunk.R56JDQAF.js +2 -2
- package/dist-versioned/chunks/chunk.RFDAZXJG.js +3 -3
- package/dist-versioned/chunks/chunk.SCWR4Q4K.js +10 -10
- package/dist-versioned/chunks/chunk.SQYISG5I.js +4 -4
- package/dist-versioned/chunks/chunk.T46LX45D.js +6 -6
- package/dist-versioned/chunks/chunk.TKDFONFB.js +3 -3
- package/dist-versioned/chunks/chunk.TNJNUASM.js +1 -1
- package/dist-versioned/chunks/chunk.TVWV4PUH.js +2 -2
- package/dist-versioned/chunks/chunk.U2BN2DBY.js +4 -4
- package/dist-versioned/chunks/chunk.UDPSGKZL.js +4 -4
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UPCVQSXM.js +3 -3
- package/dist-versioned/chunks/{chunk.4CS6FZHE.js → chunk.UWQPJU3Q.js} +10 -5
- package/dist-versioned/chunks/chunk.XALPLS2Y.js +6 -6
- package/dist-versioned/chunks/{chunk.CBKLWEL2.js → chunk.XC7QKBQE.js} +31 -31
- package/dist-versioned/chunks/chunk.XV2UO6TF.js +2 -2
- package/dist-versioned/chunks/chunk.YATRFNET.js +28 -28
- package/dist-versioned/chunks/chunk.YFRD2UEO.js +8 -8
- package/dist-versioned/chunks/chunk.YNBR5ZDU.js +4 -4
- package/dist-versioned/chunks/chunk.ZMEUQIVY.js +9 -9
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +244 -244
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +94 -94
- package/dist-versioned/web-types.json +157 -157
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.2.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-6-
|
|
11
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-6-
|
|
10
|
+
"name": "sd-6-2-0-accordion",
|
|
11
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n\n### **CSS Properties:**\n - **--sd-accordion-border-width** - The accordion border width. _(default: undefined)_\n- **--sd-accordion-color-background** - The accordion background color. _(default: undefined)_\n- **--sd-accordion-color-text** - The accordion color text. _(default: undefined)_\n- **--sd-accordion-padding-block** - The accordion vertical padding value. _(default: undefined)_\n- **--sd-accordion__chevron-color-text** - The accordion chevron color. _(default: undefined)_\n- **--sd-accordion__indicator-color** - The accordion indicator color. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "expand-icon",
|
|
43
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-6-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "collapse-icon",
|
|
47
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-6-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-6-
|
|
115
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-6-
|
|
114
|
+
"name": "sd-6-2-0-accordion-group",
|
|
115
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-6-2-0-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
116
116
|
"doc-url": "",
|
|
117
117
|
"attributes": [
|
|
118
118
|
{
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"slots": [
|
|
135
135
|
{
|
|
136
136
|
"name": "",
|
|
137
|
-
"description": "The default slot where `<sd-6-
|
|
137
|
+
"description": "The default slot where `<sd-6-2-0-accordion>` elements are placed."
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
140
|
"events": [],
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": "sd-6-
|
|
164
|
-
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-6-
|
|
163
|
+
"name": "sd-6-2-0-animation",
|
|
164
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-6-2-0-animation>` elements.",
|
|
165
165
|
"doc-url": "",
|
|
166
166
|
"attributes": [
|
|
167
167
|
{
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"slots": [
|
|
234
234
|
{
|
|
235
235
|
"name": "",
|
|
236
|
-
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-6-
|
|
236
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-6-2-0-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-6-
|
|
348
|
+
"name": "sd-6-2-0-audio",
|
|
349
349
|
"description": "Used to play audio files that are part of the page content.\n---\n\n\n### **Events:**\n - **sd-playback-start** - Emitted when the audio playback starts.\n- **sd-playback-end** - Emitted when the audio playback ends.\n- **sd-playback-pause** - Emitted when the audio playback pauses.\n- **sd-playback-mute** - Emitted when the audio is muted.\n- **sd-playback-unmute** - Emitted when the audio is unmuted.\n- **sd-playback-speed** - Emitted when the playback speed is changed.\n- **sd-transcript-click** - Emitted when the transcript button is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **play-icon** - The play icon.\n- **pause-icon** - The pause icon.\n- **transcript** - The transcript.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **audio-controls** - The audio controls.\n- **playback-speed** - The playback speed.\n- **play-button** - The play button.\n- **volume** - The volume button.\n- **progress-slider** - The audio progress slider.\n- **timestamps** - The audio timestamps.",
|
|
350
350
|
"doc-url": "",
|
|
351
351
|
"attributes": [
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
}
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
|
-
"name": "sd-6-
|
|
505
|
+
"name": "sd-6-2-0-badge",
|
|
506
506
|
"description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Properties:**\n - **--sd-badge--blue--inverted-color-background** - The background color for the blue badge in its inverted state. _(default: undefined)_\n- **--sd-badge--blue--inverted-color-text** - The text color for the blue badge in its inverted state. _(default: undefined)_\n- **--sd-badge--green-color--inverted-background** - The background color for the green badge in its inverted state. _(default: undefined)_\n- **--sd-badge--green-color--inverted-text** - The text color for the green badge in its inverted state. _(default: undefined)_\n- **--sd-badge--inverted-color-border** - The border color used in inverted state. _(default: undefined)_\n- **--sd-badge--green-color-background** - The background color for the green badge. _(default: undefined)_\n- **--sd-badge--red--inverted-background** - The background color for the red badge in its inverted state. _(default: undefined)_\n- **--sd-badge--red--inverted-text** - The text color for the red badge in its inverted state. _(default: undefined)_\n- **--sd-badge--red-color-background** - The background color for the red badge in its standard state. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
507
507
|
"doc-url": "",
|
|
508
508
|
"attributes": [
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
}
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
|
-
"name": "sd-6-
|
|
572
|
+
"name": "sd-6-2-0-brandshape",
|
|
573
573
|
"description": "The Brandshape highlights a piece of content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n- **image** - The image slot for the 'image' variant.\n\n### **CSS Properties:**\n - **--sd-brandshape--neutral-100-color-background** - The background color using the neutral‑100 variant. _(default: undefined)_\n- **--sd-brandshape--white-color-background** - The background color using the white variant. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.\n- **stylized-container** - Container for border and image variant.",
|
|
574
574
|
"doc-url": "",
|
|
575
575
|
"attributes": [
|
|
@@ -635,8 +635,8 @@
|
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
|
-
"name": "sd-6-
|
|
639
|
-
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - `sd-6-
|
|
638
|
+
"name": "sd-6-2-0-breadcrumb",
|
|
639
|
+
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - `sd-6-2-0-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS Properties:**\n - **--sd-breadcrumb__separator-color** - The color of the breadcrumb separators. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **list** - The list containing the slotted elements.\n- **truncated** - The truncated wrapper.\n- **truncated-dropdown** - The truncated dropdown containing the truncated breadcrumbs.",
|
|
640
640
|
"doc-url": "",
|
|
641
641
|
"attributes": [
|
|
642
642
|
{
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"slots": [
|
|
659
659
|
{
|
|
660
660
|
"name": "",
|
|
661
|
-
"description": "`sd-6-
|
|
661
|
+
"description": "`sd-6-2-0-breadcrumb-item` elements to display in the breadcrumb."
|
|
662
662
|
}
|
|
663
663
|
],
|
|
664
664
|
"events": [],
|
|
@@ -687,8 +687,8 @@
|
|
|
687
687
|
}
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
|
-
"name": "sd-6-
|
|
691
|
-
"description": "An individual breadcrumb item for use exclusively within the `sd-6-
|
|
690
|
+
"name": "sd-6-2-0-breadcrumb-item",
|
|
691
|
+
"description": "An individual breadcrumb item for use exclusively within the `sd-6-2-0-breadcrumb`.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The breadcrumb label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
692
692
|
"doc-url": "",
|
|
693
693
|
"attributes": [
|
|
694
694
|
{
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
}
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
|
-
"name": "sd-6-
|
|
755
|
+
"name": "sd-6-2-0-button",
|
|
756
756
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Properties:**\n - **--sd-button--inverted--disabled-color-background** - The background color for inverted buttons in disabled state. _(default: undefined)_\n- **--sd-button--inverted--disabled-color-border** - The border color for inverted buttons in disabled state. _(default: undefined)_\n- **--sd-button--inverted--disabled-color-text** - The text color for inverted buttons in disabled state. _(default: undefined)_\n- **--sd-button--inverted--active-color-background** - The background color for inverted buttons in active state. _(default: undefined)_\n- **--sd-button--primary--active-color-text** - The text color for primary buttons in active state. _(default: undefined)_\n- **--sd-button--primary--default-color-background** - The background color for primary buttons in default state. _(default: undefined)_\n- **--sd-button--primary--default-color-text** - The text color for primary buttons in default state. _(default: undefined)_\n- **--sd-button--primary--hover-color-background** - The background color for primary buttons in hover state. _(default: undefined)_\n- **--sd-button--primary--inverted--active-color-text** - The text color for inverted primary buttons in active state. _(default: undefined)_\n- **--sd-button--primary--inverted--default-color-background** - The background color for inverted primary buttons in default state. _(default: undefined)_\n- **--sd-button--primary--inverted--default-color-text** - The text color for inverted primary buttons in default state. _(default: undefined)_\n- **--sd-button--primary--inverted--hover-color-background** - The background color for inverted primary buttons in hover state. _(default: undefined)_\n- **--sd-button--primary--inverted--hover-color-text** - The text color for inverted primary buttons in hover state. _(default: undefined)_\n- **--sd-button--secondary--active-color-background** - The background color for secondary buttons in active state. _(default: undefined)_\n- **--sd-button--secondary--hover-color-background** - The background color for secondary buttons in hover state. _(default: undefined)_\n- **--sd-button--secondary--inverted--active-color-background** - The background color for inverted secondary buttons in active state. _(default: undefined)_\n- **--sd-button--secondary--inverted--hover-color-text** - The text color for inverted secondary buttons in hover state. _(default: undefined)_\n- **--sd-button--secondary--inverted--color-border** - The border color for inverted secondary buttons. _(default: undefined)_\n- **--sd-button--secondary--disabled-color-text** - The text color for secondary buttons in disabled state. _(default: undefined)_\n- **--sd-button--tertiary--disabled-color-text** - The text color for tertiary buttons in disabled state. _(default: undefined)_\n- **--sd-button--tertiary--active-color-background** - The background color for tertiary buttons in active state. _(default: undefined)_\n- **--sd-button--tertiary--hover-color-background** - The background color for tertiary buttons in hover state. _(default: undefined)_\n- **--sd-button--tertiary--inverted--hover-color-background** - The background color for inverted tertiary buttons in hover state. _(default: undefined)_\n- **--sd-button--tertiary--inverted--active-color-background** - The background color for inverted tertiary buttons in active state. _(default: undefined)_\n- **--sd-button--secondary--default-color-text** - The text color for secondary buttons in default state. _(default: undefined)_\n- **--sd-button--tertiary--inverted--hover-color-text** - The text color for inverted tertiary buttons in hover state. _(default: undefined)_\n- **--sd-button--tertiary--default-color-text** - The text color for tertiary buttons in default state. _(default: undefined)_\n- **--sd-button--cta--inverted--default-color-background** - The background color for inverted CTA buttons in default state. _(default: undefined)_\n- **--sd-button--cta--inverted--default-color-text** - The text color for inverted CTA buttons in default state. _(default: undefined)_\n- **--sd-button--cta--inverted--active-color-text** - The text color for inverted CTA buttons in active state. _(default: undefined)_\n- **--sd-button--cta--inverted--hover-color-text** - The text color for inverted CTA buttons in hover state. _(default: undefined)_\n- **--sd-button--cta--inverted--hover-color-background** - The background color for inverted CTA buttons in hover state. _(default: undefined)_\n- **--sd-button--cta--inverted--active-color-background** - The background color for inverted CTA buttons in active state. _(default: undefined)_\n- **--sd-button--size-sm-font-size** - The small button border radius. _(default: undefined)_\n- **--sd-button--size-md-font-size** - The medium button text font size. _(default: undefined)_\n- **--sd-button--size-lg-font-size** - The large button text font size. _(default: undefined)_\n- **--sd-button--size-sm-border-radius** - The small button border radius. _(default: undefined)_\n- **--sd-button--size-md-border-radius** - The medium button border radius. _(default: undefined)_\n- **--sd-button--size-lg-border-radius** - The large button border radius. _(default: undefined)_\n- **--sd-button--size-sm-padding-block** - The small button vertical padding value. _(default: undefined)_\n- **--sd-button--size-md-padding-block** - The medium button vertical padding value. _(default: undefined)_\n- **--sd-button--size-lg-padding-block** - The large button vertical padding value. _(default: undefined)_\n- **--sd-button-font-weight** - The text font weight for buttons. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
757
757
|
"doc-url": "",
|
|
758
758
|
"attributes": [
|
|
@@ -1028,8 +1028,8 @@
|
|
|
1028
1028
|
}
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
|
-
"name": "sd-6-
|
|
1032
|
-
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - One or more `<sd-6-
|
|
1031
|
+
"name": "sd-6-2-0-button-group",
|
|
1032
|
+
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - One or more `<sd-6-2-0-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1033
1033
|
"doc-url": "",
|
|
1034
1034
|
"attributes": [
|
|
1035
1035
|
{
|
|
@@ -1051,7 +1051,7 @@
|
|
|
1051
1051
|
"slots": [
|
|
1052
1052
|
{
|
|
1053
1053
|
"name": "",
|
|
1054
|
-
"description": "One or more `<sd-6-
|
|
1054
|
+
"description": "One or more `<sd-6-2-0-button>` elements to display in the button group."
|
|
1055
1055
|
}
|
|
1056
1056
|
],
|
|
1057
1057
|
"events": [],
|
|
@@ -1078,8 +1078,8 @@
|
|
|
1078
1078
|
}
|
|
1079
1079
|
},
|
|
1080
1080
|
{
|
|
1081
|
-
"name": "sd-6-
|
|
1082
|
-
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-6-
|
|
1081
|
+
"name": "sd-6-2-0-carousel",
|
|
1082
|
+
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-6-2-0-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n- **--sd-carousel__pager-dot-border-width** - The border width of the pager dots in the carousel. _(default: undefined)_\n- **--sd-carousel__pager-dot--inverted-background** - The background for the pager dots in the inverted carousel when active. _(default: undefined)_\n- **--sd-carousel__pager-dot--inverted--hovered-background** - The background for the pager dots in the inverted carousel when hovered. _(default: undefined)_\n- **--sd-carousel__pager-dot--inverted-border** - The border color for the pager dots in the inverted carousel. _(default: undefined)_\n- **--sd-carousel__pager-dot-background** - The background for the pager dots when active. _(default: undefined)_\n- **--sd-carousel--active-color-border** - The border color for the active pagination item. _(default: undefined)_\n- **--sd-carousel--active--inverted-color-border** - The border color for the active pagination item in inverted carousel. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
1083
1083
|
"doc-url": "",
|
|
1084
1084
|
"attributes": [
|
|
1085
1085
|
{
|
|
@@ -1131,23 +1131,23 @@
|
|
|
1131
1131
|
"slots": [
|
|
1132
1132
|
{
|
|
1133
1133
|
"name": "",
|
|
1134
|
-
"description": "The carousel's main content, one or more `<sd-6-
|
|
1134
|
+
"description": "The carousel's main content, one or more `<sd-6-2-0-carousel-item>` elements."
|
|
1135
1135
|
},
|
|
1136
1136
|
{
|
|
1137
1137
|
"name": "next-icon",
|
|
1138
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-6-
|
|
1138
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
1141
|
"name": "previous-icon",
|
|
1142
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-6-
|
|
1142
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
1143
1143
|
},
|
|
1144
1144
|
{
|
|
1145
1145
|
"name": "autoplay-start",
|
|
1146
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-6-
|
|
1146
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
1147
1147
|
},
|
|
1148
1148
|
{
|
|
1149
1149
|
"name": "autoplay-pause",
|
|
1150
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-6-
|
|
1150
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
1151
1151
|
}
|
|
1152
1152
|
],
|
|
1153
1153
|
"events": [
|
|
@@ -1216,7 +1216,7 @@
|
|
|
1216
1216
|
}
|
|
1217
1217
|
},
|
|
1218
1218
|
{
|
|
1219
|
-
"name": "sd-6-
|
|
1219
|
+
"name": "sd-6-2-0-carousel-item",
|
|
1220
1220
|
"description": "A carousel item represent a slide within a [carousel](/components/carousel).\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
1221
1221
|
"doc-url": "",
|
|
1222
1222
|
"attributes": [
|
|
@@ -1252,8 +1252,8 @@
|
|
|
1252
1252
|
}
|
|
1253
1253
|
},
|
|
1254
1254
|
{
|
|
1255
|
-
"name": "sd-6-
|
|
1256
|
-
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-6-
|
|
1255
|
+
"name": "sd-6-2-0-checkbox",
|
|
1256
|
+
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-6-2-0-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Properties:**\n - **--sd-checkbox-border-width** - The border width of the checkbox. _(default: undefined)_\n- **--sd-form-control-color-border** - The color border for form controls. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-6-2-0-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-6-2-0-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1257
1257
|
"doc-url": "",
|
|
1258
1258
|
"attributes": [
|
|
1259
1259
|
{
|
|
@@ -1332,7 +1332,7 @@
|
|
|
1332
1332
|
"description": "Emitted when the checkbox gains focus."
|
|
1333
1333
|
},
|
|
1334
1334
|
{
|
|
1335
|
-
"name": "sd-6-
|
|
1335
|
+
"name": "sd-6-2-0-input",
|
|
1336
1336
|
"description": "Emitted when the checkbox receives input."
|
|
1337
1337
|
}
|
|
1338
1338
|
],
|
|
@@ -1422,15 +1422,15 @@
|
|
|
1422
1422
|
"description": "Emitted when the checkbox gains focus."
|
|
1423
1423
|
},
|
|
1424
1424
|
{
|
|
1425
|
-
"name": "sd-6-
|
|
1425
|
+
"name": "sd-6-2-0-input",
|
|
1426
1426
|
"description": "Emitted when the checkbox receives input."
|
|
1427
1427
|
}
|
|
1428
1428
|
]
|
|
1429
1429
|
}
|
|
1430
1430
|
},
|
|
1431
1431
|
{
|
|
1432
|
-
"name": "sd-6-
|
|
1433
|
-
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-6-
|
|
1432
|
+
"name": "sd-6-2-0-checkbox-group",
|
|
1433
|
+
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-6-2-0-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-6-2-0-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1434
1434
|
"doc-url": "",
|
|
1435
1435
|
"attributes": [
|
|
1436
1436
|
{
|
|
@@ -1470,7 +1470,7 @@
|
|
|
1470
1470
|
"slots": [
|
|
1471
1471
|
{
|
|
1472
1472
|
"name": "",
|
|
1473
|
-
"description": "The default slot where `<sd-6-
|
|
1473
|
+
"description": "The default slot where `<sd-6-2-0-checkbox>` elements are placed."
|
|
1474
1474
|
},
|
|
1475
1475
|
{
|
|
1476
1476
|
"name": "label",
|
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
},
|
|
1479
1479
|
{
|
|
1480
1480
|
"name": "tooltip",
|
|
1481
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-6-
|
|
1481
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-6-2-0-tooltip` component."
|
|
1482
1482
|
},
|
|
1483
1483
|
{
|
|
1484
1484
|
"name": "help-text",
|
|
@@ -1523,8 +1523,8 @@
|
|
|
1523
1523
|
}
|
|
1524
1524
|
},
|
|
1525
1525
|
{
|
|
1526
|
-
"name": "sd-6-
|
|
1527
|
-
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-6-
|
|
1526
|
+
"name": "sd-6-2-0-combobox",
|
|
1527
|
+
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-6-2-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-6-2-0-option>` elements. You can use `<sd-6-2-0-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n- **--sd-form-control--invalid-color-background** - The background color for form controls in invalid state. _(default: undefined)_\n- **--sd-form-control-color-text** - The text color for form controls. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1528
1528
|
"doc-url": "",
|
|
1529
1529
|
"attributes": [
|
|
1530
1530
|
{
|
|
@@ -1627,7 +1627,7 @@
|
|
|
1627
1627
|
},
|
|
1628
1628
|
{
|
|
1629
1629
|
"name": "useTags",
|
|
1630
|
-
"description": "Uses interactive `sd-6-
|
|
1630
|
+
"description": "Uses interactive `sd-6-2-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1631
1631
|
"value": { "type": "boolean", "default": "true" }
|
|
1632
1632
|
},
|
|
1633
1633
|
{
|
|
@@ -1668,7 +1668,7 @@
|
|
|
1668
1668
|
"slots": [
|
|
1669
1669
|
{
|
|
1670
1670
|
"name": "",
|
|
1671
|
-
"description": "The listbox options. Must be `<sd-6-
|
|
1671
|
+
"description": "The listbox options. Must be `<sd-6-2-0-option>` elements. You can use `<sd-6-2-0-optgroup>`'s to group items visually."
|
|
1672
1672
|
},
|
|
1673
1673
|
{
|
|
1674
1674
|
"name": "label",
|
|
@@ -1705,7 +1705,7 @@
|
|
|
1705
1705
|
"description": "Emitted when the control's value is cleared."
|
|
1706
1706
|
},
|
|
1707
1707
|
{
|
|
1708
|
-
"name": "sd-6-
|
|
1708
|
+
"name": "sd-6-2-0-input",
|
|
1709
1709
|
"description": "Emitted when the control receives input."
|
|
1710
1710
|
},
|
|
1711
1711
|
{
|
|
@@ -1858,7 +1858,7 @@
|
|
|
1858
1858
|
},
|
|
1859
1859
|
{
|
|
1860
1860
|
"name": "useTags",
|
|
1861
|
-
"description": "Uses interactive `sd-6-
|
|
1861
|
+
"description": "Uses interactive `sd-6-2-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1862
1862
|
"type": "boolean"
|
|
1863
1863
|
},
|
|
1864
1864
|
{
|
|
@@ -1905,7 +1905,7 @@
|
|
|
1905
1905
|
"description": "Emitted when the control's value is cleared."
|
|
1906
1906
|
},
|
|
1907
1907
|
{
|
|
1908
|
-
"name": "sd-6-
|
|
1908
|
+
"name": "sd-6-2-0-input",
|
|
1909
1909
|
"description": "Emitted when the control receives input."
|
|
1910
1910
|
},
|
|
1911
1911
|
{
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
}
|
|
1945
1945
|
},
|
|
1946
1946
|
{
|
|
1947
|
-
"name": "sd-6-
|
|
1947
|
+
"name": "sd-6-2-0-datepicker",
|
|
1948
1948
|
"description": "\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
1949
1949
|
"doc-url": "",
|
|
1950
1950
|
"attributes": [
|
|
@@ -2263,8 +2263,8 @@
|
|
|
2263
2263
|
}
|
|
2264
2264
|
},
|
|
2265
2265
|
{
|
|
2266
|
-
"name": "sd-6-
|
|
2267
|
-
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-6-
|
|
2266
|
+
"name": "sd-6-2-0-dialog",
|
|
2267
|
+
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-6-2-0-button>` and `<sd-6-2-0-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--sd-panel-color-border** - The border color of the dialog panel. _(default: undefined)_\n- **--sd-overlay-color-background** - The background color of the dialog overlay. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-6-2-0-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
2268
2268
|
"doc-url": "",
|
|
2269
2269
|
"attributes": [
|
|
2270
2270
|
{
|
|
@@ -2305,7 +2305,7 @@
|
|
|
2305
2305
|
},
|
|
2306
2306
|
{
|
|
2307
2307
|
"name": "close-button",
|
|
2308
|
-
"description": "The dialog's close button. Works best with `<sd-6-
|
|
2308
|
+
"description": "The dialog's close button. Works best with `<sd-6-2-0-button>` and `<sd-6-2-0-icon>`."
|
|
2309
2309
|
}
|
|
2310
2310
|
],
|
|
2311
2311
|
"events": [
|
|
@@ -2394,7 +2394,7 @@
|
|
|
2394
2394
|
}
|
|
2395
2395
|
},
|
|
2396
2396
|
{
|
|
2397
|
-
"name": "sd-6-
|
|
2397
|
+
"name": "sd-6-2-0-divider",
|
|
2398
2398
|
"description": "Dividers are used to visually separate or group elements.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **CSS Properties:**\n - **--sd-divider--inverted-color-border** - The border color for dividers in inverted state. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2399
2399
|
"doc-url": "",
|
|
2400
2400
|
"attributes": [
|
|
@@ -2450,8 +2450,8 @@
|
|
|
2450
2450
|
}
|
|
2451
2451
|
},
|
|
2452
2452
|
{
|
|
2453
|
-
"name": "sd-6-
|
|
2454
|
-
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n- **--sd-panel-color-border** - The border color of the drawer panel. _(default: undefined)_\n- **--sd-overlay-color-background** - The background color of the drawer overlay. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-6-
|
|
2453
|
+
"name": "sd-6-2-0-drawer",
|
|
2454
|
+
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n- **--sd-panel-color-border** - The border color of the drawer panel. _(default: undefined)_\n- **--sd-overlay-color-background** - The background color of the drawer overlay. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-6-2-0-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
2455
2455
|
"doc-url": "",
|
|
2456
2456
|
"attributes": [
|
|
2457
2457
|
{
|
|
@@ -2597,8 +2597,8 @@
|
|
|
2597
2597
|
}
|
|
2598
2598
|
},
|
|
2599
2599
|
{
|
|
2600
|
-
"name": "sd-6-
|
|
2601
|
-
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-6-
|
|
2600
|
+
"name": "sd-6-2-0-dropdown",
|
|
2601
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-6-2-0-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-6-2-0-button>` element.\n\n### **CSS Properties:**\n - **--sd-panel-color-border** - The border color of the dropdown panel. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **base__popup** - The popup's exported `popup` part. Use this to target the dropdowns' popup container.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2602
2602
|
"doc-url": "",
|
|
2603
2603
|
"attributes": [
|
|
2604
2604
|
{
|
|
@@ -2674,7 +2674,7 @@
|
|
|
2674
2674
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2675
2675
|
{
|
|
2676
2676
|
"name": "trigger",
|
|
2677
|
-
"description": "The dropdown's trigger, usually a `<sd-6-
|
|
2677
|
+
"description": "The dropdown's trigger, usually a `<sd-6-2-0-button>` element."
|
|
2678
2678
|
}
|
|
2679
2679
|
],
|
|
2680
2680
|
"events": [
|
|
@@ -2781,7 +2781,7 @@
|
|
|
2781
2781
|
}
|
|
2782
2782
|
},
|
|
2783
2783
|
{
|
|
2784
|
-
"name": "sd-6-
|
|
2784
|
+
"name": "sd-6-2-0-expandable",
|
|
2785
2785
|
"description": "Expandable shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the expandable opens.\n- **sd-after-show** - Emitted after the expandable opens and all animations are complete.\n- **sd-hide** - Emitted when the expandable closes.\n- **sd-after-hide** - Emitted after the expandable closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Opens the expandable\n- **hide()** - Closes the expandable\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Content of the expandable\n- **toggle-open** - Content of the toggle button when the expandable is open\n- **toggle-closed** - Content of the toggle button when the expandable is closed\n- **expand-icon** - The icon of the toggle button when the expandable is closed\n- **collapse-icon** - The icon of the toggle button when the expandable is open\n\n### **CSS Properties:**\n - **--gradient-color-start** - Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0)) _(default: undefined)_\n- **--gradient-color-end** - End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1)) _(default: undefined)_\n- **--gradient-height** - Height of the gradient (default: 24px) _(default: undefined)_\n- **--component-expandable-max-block-size** - Different value for initial visible block (default: 90px) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The content of the expandable.\n- **toggle** - The toggle button of the expandable.\n- **toggle-icon** - The wrapper of the toggle icons.\n- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",
|
|
2786
2786
|
"doc-url": "",
|
|
2787
2787
|
"attributes": [
|
|
@@ -2888,7 +2888,7 @@
|
|
|
2888
2888
|
}
|
|
2889
2889
|
},
|
|
2890
2890
|
{
|
|
2891
|
-
"name": "sd-6-
|
|
2891
|
+
"name": "sd-6-2-0-flipcard",
|
|
2892
2892
|
"description": "Flipcard allows for the addition of content/information on both \"sides\" of the card, through means of a flip animation. Used to add dynamism and interactivity to a page.\n---\n\n\n### **Events:**\n - **sd-flip-front** - Emmited when the front face of the flipcard is clicked.\n- **sd-flip-back** - Emmited when the back face of the flipcard is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **front** - The front face of the flipcard.\n- **back** - The back face of the flipcard.\n- **media-front** - An optional media slot which can be as a background. Dependent from gradient variant.\n- **media-back** - An optional media slot which can be as a background. Dependent from gradient variant.\n\n### **CSS Properties:**\n - **--name** - Description of the flipcard. _(default: undefined)_\n- **--height** - Use this property to set the height of the flipcard. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **front** - The container that wraps the front-side of the flipcard.\n- **back** - The container that wraps the back-side of the flipcard.\n- **front-button** - The button that flips the flipcard to the back.\n- **back-button** - The button that flips the flipcard to the front.\n- **front-interactive-container** - The container that wraps the front side and the flip button.\n- **back-interactive-container** - The container that wraps the back side and the flip button.\n- **front-slot-container** - The container that wraps the front slot.\n- **back-slot-container** - The container that wraps the back slot.\n- **media-front** - The container that wraps the media-front slot.\n- **media-back** - The container that wraps the media-back slot.\n- **front-secondary-gradient** - The container that wraps the secondary gradient of the front side.\n- **back-secondary-gradient** - The container that wraps the secondary gradient of the back side.",
|
|
2893
2893
|
"doc-url": "",
|
|
2894
2894
|
"attributes": [
|
|
@@ -3004,7 +3004,7 @@
|
|
|
3004
3004
|
}
|
|
3005
3005
|
},
|
|
3006
3006
|
{
|
|
3007
|
-
"name": "sd-6-
|
|
3007
|
+
"name": "sd-6-2-0-header",
|
|
3008
3008
|
"description": "Header\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n- **--sd-header-color-background** - The background color of the header. _(default: undefined)_\n\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
3009
3009
|
"doc-url": "",
|
|
3010
3010
|
"attributes": [
|
|
@@ -3050,7 +3050,7 @@
|
|
|
3050
3050
|
}
|
|
3051
3051
|
},
|
|
3052
3052
|
{
|
|
3053
|
-
"name": "sd-6-
|
|
3053
|
+
"name": "sd-6-2-0-icon",
|
|
3054
3054
|
"description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
3055
3055
|
"doc-url": "",
|
|
3056
3056
|
"attributes": [
|
|
@@ -3154,7 +3154,7 @@
|
|
|
3154
3154
|
}
|
|
3155
3155
|
},
|
|
3156
3156
|
{
|
|
3157
|
-
"name": "sd-6-
|
|
3157
|
+
"name": "sd-6-2-0-include",
|
|
3158
3158
|
"description": "Includes give you the power to embed external HTML files into the page.\n---\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
3159
3159
|
"doc-url": "",
|
|
3160
3160
|
"attributes": [
|
|
@@ -3240,8 +3240,8 @@
|
|
|
3240
3240
|
}
|
|
3241
3241
|
},
|
|
3242
3242
|
{
|
|
3243
|
-
"name": "sd-6-
|
|
3244
|
-
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-6-
|
|
3243
|
+
"name": "sd-6-2-0-input",
|
|
3244
|
+
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-6-2-0-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-6-2-0-tooltip` component.\n\n### **CSS Properties:**\n - **--sd-form-control--invalid-color-background** - The background color for form controls in invalid state. _(default: undefined)_\n- **--sd-form-control-color-text** - The text color for form controls. _(default: undefined)_\n- **--sd-form-control--filled__floating-label-color-text** - The floating label text color when active. _(default: undefined)_\n- **--sd-form-control-color-border** - The color border for form controls. _(default: undefined)_\n- **--sd-form-control-color-icon** - The icon color for form controls. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **form-control-floating-label** - The floating label text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
|
|
3245
3245
|
"doc-url": "",
|
|
3246
3246
|
"attributes": [
|
|
3247
3247
|
{
|
|
@@ -3451,7 +3451,7 @@
|
|
|
3451
3451
|
},
|
|
3452
3452
|
{
|
|
3453
3453
|
"name": "tooltip",
|
|
3454
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-6-
|
|
3454
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-6-2-0-tooltip` component."
|
|
3455
3455
|
}
|
|
3456
3456
|
],
|
|
3457
3457
|
"events": [
|
|
@@ -3472,7 +3472,7 @@
|
|
|
3472
3472
|
"description": "Emitted when the control gains focus."
|
|
3473
3473
|
},
|
|
3474
3474
|
{
|
|
3475
|
-
"name": "sd-6-
|
|
3475
|
+
"name": "sd-6-2-0-input",
|
|
3476
3476
|
"description": "Emitted when the control receives input."
|
|
3477
3477
|
},
|
|
3478
3478
|
{
|
|
@@ -3685,7 +3685,7 @@
|
|
|
3685
3685
|
"description": "Emitted when the control gains focus."
|
|
3686
3686
|
},
|
|
3687
3687
|
{
|
|
3688
|
-
"name": "sd-6-
|
|
3688
|
+
"name": "sd-6-2-0-input",
|
|
3689
3689
|
"description": "Emitted when the control receives input."
|
|
3690
3690
|
},
|
|
3691
3691
|
{
|
|
@@ -3696,7 +3696,7 @@
|
|
|
3696
3696
|
}
|
|
3697
3697
|
},
|
|
3698
3698
|
{
|
|
3699
|
-
"name": "sd-6-
|
|
3699
|
+
"name": "sd-6-2-0-link",
|
|
3700
3700
|
"description": "A link component.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Properties:**\n - **--sd-interactive--active-color-text** - The link's text color when active. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
3701
3701
|
"doc-url": "",
|
|
3702
3702
|
"attributes": [
|
|
@@ -3831,7 +3831,7 @@
|
|
|
3831
3831
|
}
|
|
3832
3832
|
},
|
|
3833
3833
|
{
|
|
3834
|
-
"name": "sd-6-
|
|
3834
|
+
"name": "sd-6-2-0-loader",
|
|
3835
3835
|
"description": "Loaders are used to show the progress of an indeterminate operation.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
3836
3836
|
"doc-url": "",
|
|
3837
3837
|
"attributes": [
|
|
@@ -3878,7 +3878,7 @@
|
|
|
3878
3878
|
}
|
|
3879
3879
|
},
|
|
3880
3880
|
{
|
|
3881
|
-
"name": "sd-6-
|
|
3881
|
+
"name": "sd-6-2-0-map-marker",
|
|
3882
3882
|
"description": "A marker identifies a location on google map\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the map marker loses focus.\n- **sd-focus** - Emitted when the map marker is focused.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The marker's content.\\\n\n### **CSS Properties:**\n - **--map-marker-scaling** - Scale the marker size. _(default: undefined)_\n- **--sd-map-marker-cluster--hovered-color-icon-fill** - The icon fill color for map marker clusters in hovered state. _(default: undefined)_\n- **--sd-map-marker-cluster-color-icon-fill** - The default icon fill color for map marker clusters. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The components' base wrapper.\n- **marker** - The markers' svg wrapper.\n- **content** - The container that wraps the default slot.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
3883
3883
|
"doc-url": "",
|
|
3884
3884
|
"attributes": [
|
|
@@ -4006,8 +4006,8 @@
|
|
|
4006
4006
|
}
|
|
4007
4007
|
},
|
|
4008
4008
|
{
|
|
4009
|
-
"name": "sd-6-
|
|
4010
|
-
"description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-6-
|
|
4009
|
+
"name": "sd-6-2-0-menu",
|
|
4010
|
+
"description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-6-2-0-select** - Emitted when a menu item is selected.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The menu's content.\n\n### **CSS Properties:**\n - **--sd-menu-color-icon** - The default icon color for menu items. _(default: undefined)_\n- **--sd-menu-color-text** - The default text color for menu items. _(default: undefined)_\n- **--sd-menu--disabled-color-icon** - The icon color for disabled menu items. _(default: undefined)_\n- **--sd-menu--disabled-color-text** - The text color for disabled menu items. _(default: undefined)_",
|
|
4011
4011
|
"doc-url": "",
|
|
4012
4012
|
"attributes": [
|
|
4013
4013
|
{
|
|
@@ -4024,7 +4024,7 @@
|
|
|
4024
4024
|
"slots": [{ "name": "", "description": "The menu's content." }],
|
|
4025
4025
|
"events": [
|
|
4026
4026
|
{
|
|
4027
|
-
"name": "sd-6-
|
|
4027
|
+
"name": "sd-6-2-0-select",
|
|
4028
4028
|
"description": "Emitted when a menu item is selected."
|
|
4029
4029
|
}
|
|
4030
4030
|
],
|
|
@@ -4044,14 +4044,14 @@
|
|
|
4044
4044
|
],
|
|
4045
4045
|
"events": [
|
|
4046
4046
|
{
|
|
4047
|
-
"name": "sd-6-
|
|
4047
|
+
"name": "sd-6-2-0-select",
|
|
4048
4048
|
"description": "Emitted when a menu item is selected."
|
|
4049
4049
|
}
|
|
4050
4050
|
]
|
|
4051
4051
|
}
|
|
4052
4052
|
},
|
|
4053
4053
|
{
|
|
4054
|
-
"name": "sd-6-
|
|
4054
|
+
"name": "sd-6-2-0-menu-item",
|
|
4055
4055
|
"description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel(): _string_** - Returns a text label based on the contents of the menu item's default slot.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **icon-indent** - Used to prepend an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The offset of the submenu from the parent menu item. _(default: undefined)_\n- **--sd-navigable-border-radius** - The menu-item border radius on hover. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The icon shown when the menu item is checked.\n- **icon-indent** - The icon shown when the menu item has an indent.\n- **label** - The menu item's label.\n- **submenu-icon** - The icon shown when the menu item has a submenu.",
|
|
4056
4056
|
"doc-url": "",
|
|
4057
4057
|
"attributes": [
|
|
@@ -4143,7 +4143,7 @@
|
|
|
4143
4143
|
}
|
|
4144
4144
|
},
|
|
4145
4145
|
{
|
|
4146
|
-
"name": "sd-6-
|
|
4146
|
+
"name": "sd-6-2-0-navigation-item",
|
|
4147
4147
|
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Properties:**\n - **--sd-navigation-item--current-color-text** - The navigation-item text color when current state. _(default: undefined)_\n- **--sd-navigation-item-color-text** - The navigation-item text color. _(default: undefined)_\n- **--sd-navigable-border-radius** - The navigation-item border radius on hover and active state. _(default: undefined)_\n- **--sd-navigable-font-size** - The navigation-item font size. _(default: undefined)_\n- **--sd-navigable__current-indicator-border-radius** - The navigation-item current indicator border radius value. _(default: undefined)_\n- **--sd-navigable__current-indicator-height** - The horizontal navigation-item current indicator height. _(default: undefined)_\n- **--sd-navigable__current-indicator-width** - The vertical navigation-item current indicator width. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
|
|
4148
4148
|
"doc-url": "",
|
|
4149
4149
|
"attributes": [
|
|
@@ -4330,13 +4330,13 @@
|
|
|
4330
4330
|
}
|
|
4331
4331
|
},
|
|
4332
4332
|
{
|
|
4333
|
-
"name": "sd-6-
|
|
4334
|
-
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The sd-6-
|
|
4333
|
+
"name": "sd-6-2-0-notification",
|
|
4334
|
+
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The sd-6-2-0-notification's main content.\n- **icon** - An icon to show in the sd-6-2-0-notification. Works best with `<sd-6-2-0-icon>`.\n\n### **CSS Properties:**\n - **--sd-notification--error-color-background** - The background color for error notifications. _(default: undefined)_\n- **--sd-notification--info-color-background** - The background color for info notifications. _(default: undefined)_\n- **--sd-notification--success-color-background** - The background color for success notifications. _(default: undefined)_\n- **--sd-notification--warning-color-background** - The background color for warning notifications. _(default: undefined)_\n- **--sd-notification-color-border** - the border color of notifications. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **wrapper** - The container that wraps all the notification elements.\n- **icon** - The container that wraps the optional icon.\n- **content** - The container that wraps the notifications's main content and the close button.\n- **message** - The container that wraps the notifications's main content.\n- **duration-indicator__elapsed** - The current duration indicator.\n- **duration-indicator__total** - The total duration indicator.\n- **close-button** - The close button, an `<sd-6-2-0-icon-button>`.",
|
|
4335
4335
|
"doc-url": "",
|
|
4336
4336
|
"attributes": [
|
|
4337
4337
|
{
|
|
4338
4338
|
"name": "variant",
|
|
4339
|
-
"description": "The sd-6-
|
|
4339
|
+
"description": "The sd-6-2-0-notification's theme.",
|
|
4340
4340
|
"value": {
|
|
4341
4341
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
4342
4342
|
"default": "'info'"
|
|
@@ -4344,7 +4344,7 @@
|
|
|
4344
4344
|
},
|
|
4345
4345
|
{
|
|
4346
4346
|
"name": "open",
|
|
4347
|
-
"description": "Indicates whether or not sd-6-
|
|
4347
|
+
"description": "Indicates whether or not sd-6-2-0-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
4348
4348
|
"value": { "type": "boolean", "default": "false" }
|
|
4349
4349
|
},
|
|
4350
4350
|
{
|
|
@@ -4354,7 +4354,7 @@
|
|
|
4354
4354
|
},
|
|
4355
4355
|
{
|
|
4356
4356
|
"name": "duration",
|
|
4357
|
-
"description": "The length of time, in milliseconds, the sd-6-
|
|
4357
|
+
"description": "The length of time, in milliseconds, the sd-6-2-0-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own.",
|
|
4358
4358
|
"value": { "type": "string", "default": "Infinity" }
|
|
4359
4359
|
},
|
|
4360
4360
|
{
|
|
@@ -4364,7 +4364,7 @@
|
|
|
4364
4364
|
},
|
|
4365
4365
|
{
|
|
4366
4366
|
"name": "toast-stack",
|
|
4367
|
-
"description": "The position of the toasted sd-6-
|
|
4367
|
+
"description": "The position of the toasted sd-6-2-0-notification.",
|
|
4368
4368
|
"value": {
|
|
4369
4369
|
"type": "'top-right' | 'bottom-center'",
|
|
4370
4370
|
"default": "'top-right'"
|
|
@@ -4384,11 +4384,11 @@
|
|
|
4384
4384
|
"slots": [
|
|
4385
4385
|
{
|
|
4386
4386
|
"name": "",
|
|
4387
|
-
"description": "The sd-6-
|
|
4387
|
+
"description": "The sd-6-2-0-notification's main content."
|
|
4388
4388
|
},
|
|
4389
4389
|
{
|
|
4390
4390
|
"name": "icon",
|
|
4391
|
-
"description": "An icon to show in the sd-6-
|
|
4391
|
+
"description": "An icon to show in the sd-6-2-0-notification. Works best with `<sd-6-2-0-icon>`."
|
|
4392
4392
|
}
|
|
4393
4393
|
],
|
|
4394
4394
|
"events": [
|
|
@@ -4414,12 +4414,12 @@
|
|
|
4414
4414
|
{ "name": "localize" },
|
|
4415
4415
|
{
|
|
4416
4416
|
"name": "variant",
|
|
4417
|
-
"description": "The sd-6-
|
|
4417
|
+
"description": "The sd-6-2-0-notification's theme.",
|
|
4418
4418
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
4419
4419
|
},
|
|
4420
4420
|
{
|
|
4421
4421
|
"name": "open",
|
|
4422
|
-
"description": "Indicates whether or not sd-6-
|
|
4422
|
+
"description": "Indicates whether or not sd-6-2-0-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
4423
4423
|
"type": "boolean"
|
|
4424
4424
|
},
|
|
4425
4425
|
{
|
|
@@ -4429,7 +4429,7 @@
|
|
|
4429
4429
|
},
|
|
4430
4430
|
{
|
|
4431
4431
|
"name": "duration",
|
|
4432
|
-
"description": "The length of time, in milliseconds, the sd-6-
|
|
4432
|
+
"description": "The length of time, in milliseconds, the sd-6-2-0-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own."
|
|
4433
4433
|
},
|
|
4434
4434
|
{
|
|
4435
4435
|
"name": "durationIndicator",
|
|
@@ -4438,7 +4438,7 @@
|
|
|
4438
4438
|
},
|
|
4439
4439
|
{
|
|
4440
4440
|
"name": "toastStack",
|
|
4441
|
-
"description": "The position of the toasted sd-6-
|
|
4441
|
+
"description": "The position of the toasted sd-6-2-0-notification.",
|
|
4442
4442
|
"type": "'top-right' | 'bottom-center'"
|
|
4443
4443
|
},
|
|
4444
4444
|
{
|
|
@@ -4473,8 +4473,8 @@
|
|
|
4473
4473
|
}
|
|
4474
4474
|
},
|
|
4475
4475
|
{
|
|
4476
|
-
"name": "sd-6-
|
|
4477
|
-
"description": "The <sd-6-
|
|
4476
|
+
"name": "sd-6-2-0-optgroup",
|
|
4477
|
+
"description": "The <sd-6-2-0-optgroup> element creates a grouping for <sd-6-2-0-option>s within a <sd-6-2-0-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-6-2-0-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-6-2-0-option> elements.",
|
|
4478
4478
|
"doc-url": "",
|
|
4479
4479
|
"attributes": [
|
|
4480
4480
|
{
|
|
@@ -4501,7 +4501,7 @@
|
|
|
4501
4501
|
"slots": [
|
|
4502
4502
|
{
|
|
4503
4503
|
"name": "",
|
|
4504
|
-
"description": "The given options. Must be `<sd-6-
|
|
4504
|
+
"description": "The given options. Must be `<sd-6-2-0-option>` elements."
|
|
4505
4505
|
},
|
|
4506
4506
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
4507
4507
|
],
|
|
@@ -4533,18 +4533,18 @@
|
|
|
4533
4533
|
}
|
|
4534
4534
|
},
|
|
4535
4535
|
{
|
|
4536
|
-
"name": "sd-6-
|
|
4537
|
-
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Properties:**\n - **--sd-option--disabled-color-border** - The border color of checkboxes for the disabled options. _(default: undefined)_\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-6-
|
|
4536
|
+
"name": "sd-6-2-0-option",
|
|
4537
|
+
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Properties:**\n - **--sd-option--disabled-color-border** - The border color of checkboxes for the disabled options. _(default: undefined)_\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-6-2-0-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **left** - The container that wraps the left.\n- **right** - The container that wraps the right.",
|
|
4538
4538
|
"doc-url": "",
|
|
4539
4539
|
"attributes": [
|
|
4540
4540
|
{
|
|
4541
4541
|
"name": "size",
|
|
4542
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-6-
|
|
4542
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-6-2-0-select`.",
|
|
4543
4543
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
4544
4544
|
},
|
|
4545
4545
|
{
|
|
4546
4546
|
"name": "checkbox",
|
|
4547
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-6-
|
|
4547
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-6-2-0-select` when attribute `checklist` is set to `true`.",
|
|
4548
4548
|
"value": { "type": "boolean", "default": "false" }
|
|
4549
4549
|
},
|
|
4550
4550
|
{
|
|
@@ -4584,12 +4584,12 @@
|
|
|
4584
4584
|
"properties": [
|
|
4585
4585
|
{
|
|
4586
4586
|
"name": "size",
|
|
4587
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-6-
|
|
4587
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-6-2-0-select`.",
|
|
4588
4588
|
"type": "'lg' | 'md' | 'sm'"
|
|
4589
4589
|
},
|
|
4590
4590
|
{
|
|
4591
4591
|
"name": "checkbox",
|
|
4592
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-6-
|
|
4592
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-6-2-0-select` when attribute `checklist` is set to `true`.",
|
|
4593
4593
|
"type": "boolean"
|
|
4594
4594
|
},
|
|
4595
4595
|
{
|
|
@@ -4617,7 +4617,7 @@
|
|
|
4617
4617
|
}
|
|
4618
4618
|
},
|
|
4619
4619
|
{
|
|
4620
|
-
"name": "sd-6-
|
|
4620
|
+
"name": "sd-6-2-0-popup",
|
|
4621
4621
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n---\n\n\n### **Events:**\n - **sd-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n- **sd-current-placement** - Emitted when the popup's placement changes automatically based on screen limitations.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--sd-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.",
|
|
4622
4622
|
"doc-url": "",
|
|
4623
4623
|
"attributes": [
|
|
@@ -4897,8 +4897,8 @@
|
|
|
4897
4897
|
}
|
|
4898
4898
|
},
|
|
4899
4899
|
{
|
|
4900
|
-
"name": "sd-6-
|
|
4901
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-6-
|
|
4900
|
+
"name": "sd-6-2-0-quickfact",
|
|
4901
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-6-2-0-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-6-2-0-icon>`.\n\n### **CSS Properties:**\n - **--sd-quickfact--expandable-color-text** - The text color for expandable quickfact. _(default: undefined)_\n- **--sd-accordion-border-width** - The accordion border width. _(default: undefined)_\n- **--sd-accordion-color-background** - The accordion background color. _(default: undefined)_\n- **--sd-accordion-color-text** - The accordion color text. _(default: undefined)_\n- **--sd-accordion-padding-block** - The accordion vertical padding value. _(default: undefined)_\n- **--sd-accordion__chevron-color-text** - The accordion chevron color. _(default: undefined)_\n- **--sd-accordion__indicator-color** - The accordion indicator color. _(default: undefined)_\n\n### **CSS Parts:**\n - **icon** - The container that wraps the icon.\n- **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
4902
4902
|
"doc-url": "",
|
|
4903
4903
|
"attributes": [
|
|
4904
4904
|
{
|
|
@@ -4930,7 +4930,7 @@
|
|
|
4930
4930
|
"slots": [
|
|
4931
4931
|
{
|
|
4932
4932
|
"name": "icon",
|
|
4933
|
-
"description": "Optional icon to show in the header. Works best with `<sd-6-
|
|
4933
|
+
"description": "Optional icon to show in the header. Works best with `<sd-6-2-0-icon>`."
|
|
4934
4934
|
},
|
|
4935
4935
|
{ "name": "", "description": "The accordion main content." },
|
|
4936
4936
|
{
|
|
@@ -4939,11 +4939,11 @@
|
|
|
4939
4939
|
},
|
|
4940
4940
|
{
|
|
4941
4941
|
"name": "expand-icon",
|
|
4942
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-6-
|
|
4942
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
4943
4943
|
},
|
|
4944
4944
|
{
|
|
4945
4945
|
"name": "collapse-icon",
|
|
4946
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-6-
|
|
4946
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-6-2-0-icon>`."
|
|
4947
4947
|
}
|
|
4948
4948
|
],
|
|
4949
4949
|
"events": [
|
|
@@ -5015,7 +5015,7 @@
|
|
|
5015
5015
|
}
|
|
5016
5016
|
},
|
|
5017
5017
|
{
|
|
5018
|
-
"name": "sd-6-
|
|
5018
|
+
"name": "sd-6-2-0-radio",
|
|
5019
5019
|
"description": "A radio allows to select only one value from a set of options. Clicking on an unchecked radio will deselect the other one(s).\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-focus** - Emitted when the control gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Properties:**\n - **--sd-radio--checked--default-color-background** - The background color for checked radios in default state. _(default: undefined)_\n- **--sd-radio--checked--default__icon-color-background** - The icon background color for checked radios in default state. _(default: undefined)_\n- **--sd-radio--checked--hover-color-background** - The background color for checked radios in hover state. _(default: undefined)_\n- **--sd-radio--checked--hover__icon-color-background** - The icon background color for checked radios in hover state. _(default: undefined)_\n- **--sd-radio--checked--invalid--default-color-background** - The background color for checked invalid radios in default state. _(default: undefined)_\n- **--sd-radio--checked--invalid--default__icon-color-background** - The icon background color for checked invalid radios in default state. _(default: undefined)_\n- **--sd-radio--checked--invalid--hover__icon-color-background** - The icon background color for checked invalid radios in hover state. _(default: undefined)_\n- **--sd-radio--default--invalid-color-background** - The background color for invalid radios in default state. _(default: undefined)_\n- **--sd-radio-border-width** - The border width for the radio. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control--unchecked** - The radio control when the radio is unchecked.\n- **control--checked** - The radio control when the radio is checked.\n- **checked** - The dot inside the radio component when the radio is checked.\n- **label** - The container that wraps the radio's label.",
|
|
5020
5020
|
"doc-url": "",
|
|
5021
5021
|
"attributes": [
|
|
@@ -5117,7 +5117,7 @@
|
|
|
5117
5117
|
}
|
|
5118
5118
|
},
|
|
5119
5119
|
{
|
|
5120
|
-
"name": "sd-6-
|
|
5120
|
+
"name": "sd-6-2-0-radio-button",
|
|
5121
5121
|
"description": "Radio buttons allow the user to select a single option from a group using a button-like control.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The radio button's label.\n- **icon** - A presentational icon.\n\n### **CSS Properties:**\n - **--sd-button--primary--default-color-background** - The background color of radio-button when checked. _(default: undefined)_\n- **--sd-button--primary--default-color-text** - The text color of radio-button when checked. _(default: undefined)_\n- **--sd-button--primary--hover-color-background** - The background color of radio-button on hover when checked. _(default: undefined)_\n- **--sd-radio-button-border-radius** - The border radius of the radio-button. _(default: undefined)_\n- **--sd-radio-button-color-text** - The text color of the radio-button. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **button** - The internal `<button>` element.\n- **button--checked** - The internal button element when the radio button is checked.\n- **icon** - The container that wraps the icon.\n- **label** - The container that wraps the radio button's label.",
|
|
5122
5122
|
"doc-url": "",
|
|
5123
5123
|
"attributes": [
|
|
@@ -5212,8 +5212,8 @@
|
|
|
5212
5212
|
}
|
|
5213
5213
|
},
|
|
5214
5214
|
{
|
|
5215
|
-
"name": "sd-6-
|
|
5216
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-6-
|
|
5215
|
+
"name": "sd-6-2-0-radio-group",
|
|
5216
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-6-2-0-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus()** - Move focus to the checked radio (or the first one if none are checked)\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-6-2-0-radio>` or `<sd-6-2-0-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the radio-group. Use this slot with the `sd-6-2-0-tooltip` component.\n\n### **CSS Properties:**\n - **--sd-radio-button-group-border-radius** - The border radius for radio button groups. _(default: undefined)_\n- **--sd-radio-button-group-border-width** - The border width for radio button groups. _(default: undefined)_\n- **--sd-radio-button-group-padding** - The padding for radio button groups. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
5217
5217
|
"doc-url": "",
|
|
5218
5218
|
"attributes": [
|
|
5219
5219
|
{
|
|
@@ -5273,7 +5273,7 @@
|
|
|
5273
5273
|
"slots": [
|
|
5274
5274
|
{
|
|
5275
5275
|
"name": "",
|
|
5276
|
-
"description": "The default slot where `<sd-6-
|
|
5276
|
+
"description": "The default slot where `<sd-6-2-0-radio>` or `<sd-6-2-0-radio-button>` elements are placed."
|
|
5277
5277
|
},
|
|
5278
5278
|
{
|
|
5279
5279
|
"name": "label",
|
|
@@ -5285,7 +5285,7 @@
|
|
|
5285
5285
|
},
|
|
5286
5286
|
{
|
|
5287
5287
|
"name": "tooltip",
|
|
5288
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-6-
|
|
5288
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-6-2-0-tooltip` component."
|
|
5289
5289
|
}
|
|
5290
5290
|
],
|
|
5291
5291
|
"events": [
|
|
@@ -5294,7 +5294,7 @@
|
|
|
5294
5294
|
"description": "Emitted when the radio group's selected value changes."
|
|
5295
5295
|
},
|
|
5296
5296
|
{
|
|
5297
|
-
"name": "sd-6-
|
|
5297
|
+
"name": "sd-6-2-0-input",
|
|
5298
5298
|
"description": "Emitted when the radio group receives user input."
|
|
5299
5299
|
},
|
|
5300
5300
|
{
|
|
@@ -5369,7 +5369,7 @@
|
|
|
5369
5369
|
"description": "Emitted when the radio group's selected value changes."
|
|
5370
5370
|
},
|
|
5371
5371
|
{
|
|
5372
|
-
"name": "sd-6-
|
|
5372
|
+
"name": "sd-6-2-0-input",
|
|
5373
5373
|
"description": "Emitted when the radio group receives user input."
|
|
5374
5374
|
},
|
|
5375
5375
|
{
|
|
@@ -5380,8 +5380,8 @@
|
|
|
5380
5380
|
}
|
|
5381
5381
|
},
|
|
5382
5382
|
{
|
|
5383
|
-
"name": "sd-6-
|
|
5384
|
-
"description": "Used to allow users to select a single or multiple values within a defined range using a slider.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-6-
|
|
5383
|
+
"name": "sd-6-2-0-range",
|
|
5384
|
+
"description": "Used to allow users to select a single or multiple values within a defined range using a slider.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-6-2-0-input** - Emitted when the control receives input.\n- **sd-move** - Emitted when the user moves a thumb, either via touch or keyboard. Use `Event.preventDefault()` to prevent movement.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **help-text** - Text that describes how to use the range. Alternatively, you can use the `help-text` attribute.\n- **label** - The range's label. Alternatively, you can use the `label` attribute.\n- **scale-ticks** - Used to display tick marks at specific intervals along the range.\n\n### **CSS Properties:**\n - **--track-active-offset** - The point of origin of the active track, starting at the left side of the range. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input-wrapper** - The container that wraps the input track and ticks.\n- **track-wrapper** - The wrapper for the track.\n- **track** - The inactive track.\n- **active-track** - The active track.\n- **track-click-helper** - The element that increases the track clickable area.\n- **thumb** - The thumb(s) that the user can drag to change the range.\n- **scale-ticks** - The container that wraps the tick marks.",
|
|
5385
5385
|
"doc-url": "",
|
|
5386
5386
|
"attributes": [
|
|
5387
5387
|
{
|
|
@@ -5482,7 +5482,7 @@
|
|
|
5482
5482
|
"description": "Emitted when the control gains focus."
|
|
5483
5483
|
},
|
|
5484
5484
|
{
|
|
5485
|
-
"name": "sd-6-
|
|
5485
|
+
"name": "sd-6-2-0-input",
|
|
5486
5486
|
"description": "Emitted when the control receives input."
|
|
5487
5487
|
},
|
|
5488
5488
|
{
|
|
@@ -5592,7 +5592,7 @@
|
|
|
5592
5592
|
"description": "Emitted when the control gains focus."
|
|
5593
5593
|
},
|
|
5594
5594
|
{
|
|
5595
|
-
"name": "sd-6-
|
|
5595
|
+
"name": "sd-6-2-0-input",
|
|
5596
5596
|
"description": "Emitted when the control receives input."
|
|
5597
5597
|
},
|
|
5598
5598
|
{
|
|
@@ -5603,7 +5603,7 @@
|
|
|
5603
5603
|
}
|
|
5604
5604
|
},
|
|
5605
5605
|
{
|
|
5606
|
-
"name": "sd-6-
|
|
5606
|
+
"name": "sd-6-2-0-range-tick",
|
|
5607
5607
|
"description": "Ticks visually improve positioning on range sliders.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tick's label\n\n### **CSS Properties:**\n - **--sd-range-scale-ticks-color-text** - The text color for range scale ticks. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The component's label.\n- **line** - The component's tick line.",
|
|
5608
5608
|
"doc-url": "",
|
|
5609
5609
|
"attributes": [
|
|
@@ -5648,7 +5648,7 @@
|
|
|
5648
5648
|
}
|
|
5649
5649
|
},
|
|
5650
5650
|
{
|
|
5651
|
-
"name": "sd-6-
|
|
5651
|
+
"name": "sd-6-2-0-scrollable",
|
|
5652
5652
|
"description": "Scrollable is used to indicate there is hidden content to be scrolled.\n---\n\n\n### **Events:**\n - **start** - Emitted when the start of the scrollable is reached.\n- **end** - Emitted when the end of the scrollable is reached.\n- **eventName**\n- **button-left** - Emitted when the left button is clicked.\n- **button-right** - Emitted when the right button is clicked.\n- **button-up** - Emitted when the top button is clicked.\n- **button-down** - Emitted when the bottom button is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The scrollable's content.\n- **icon-start** - The scrollable's start icon.\n- **icon-end** - The scrollable's end icon.\n\n### **CSS Properties:**\n - **--gradient-color** - Defines a custom color for the gradient. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The scrollable's base wrapper.\n- **scroll-content** - The scrollable's content.\n- **button-start** - The scrollable's start scroll button.\n- **button-end** - The scrollable's end scroll button.\n- **button-left** - The scrollable's left scroll button.\n- **button-right** - The scrollable's right scroll button.\n- **button-top** - The scrollable's top scroll button.\n- **button-bottom** - The scrollable's bottom scroll button.\n- **shadow-left** - The scrollable's left shadow.\n- **shadow-right** - The scrollable's right shadow.\n- **shadow-top** - The scrollable's top shadow.\n- **shadow-bottom** - The scrollable's bottom shadow.",
|
|
5653
5653
|
"doc-url": "",
|
|
5654
5654
|
"attributes": [
|
|
@@ -5809,8 +5809,8 @@
|
|
|
5809
5809
|
}
|
|
5810
5810
|
},
|
|
5811
5811
|
{
|
|
5812
|
-
"name": "sd-6-
|
|
5813
|
-
"description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-6-
|
|
5812
|
+
"name": "sd-6-2-0-select",
|
|
5813
|
+
"description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-6-2-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-6-2-0-option>` elements. You can use `<sd-6-2-0-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-6-2-0-tooltip` component.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n- **--sd-form-control--invalid-color-background** - The background color for form controls in invalid state. _(default: undefined)_\n- **--sd-form-control-color-text** - The text color for form controls. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
5814
5814
|
"doc-url": "",
|
|
5815
5815
|
"attributes": [
|
|
5816
5816
|
{
|
|
@@ -5870,7 +5870,7 @@
|
|
|
5870
5870
|
},
|
|
5871
5871
|
{
|
|
5872
5872
|
"name": "useTags",
|
|
5873
|
-
"description": "Uses interactive `sd-6-
|
|
5873
|
+
"description": "Uses interactive `sd-6-2-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5874
5874
|
"value": { "type": "boolean", "default": "false" }
|
|
5875
5875
|
},
|
|
5876
5876
|
{
|
|
@@ -5934,7 +5934,7 @@
|
|
|
5934
5934
|
"slots": [
|
|
5935
5935
|
{
|
|
5936
5936
|
"name": "",
|
|
5937
|
-
"description": "The listbox options. Must be `<sd-6-
|
|
5937
|
+
"description": "The listbox options. Must be `<sd-6-2-0-option>` elements. You can use `<sd-6-2-0-divider>` to group items visually."
|
|
5938
5938
|
},
|
|
5939
5939
|
{
|
|
5940
5940
|
"name": "label",
|
|
@@ -5954,7 +5954,7 @@
|
|
|
5954
5954
|
},
|
|
5955
5955
|
{
|
|
5956
5956
|
"name": "tooltip",
|
|
5957
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-6-
|
|
5957
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-6-2-0-tooltip` component."
|
|
5958
5958
|
}
|
|
5959
5959
|
],
|
|
5960
5960
|
"events": [
|
|
@@ -5967,7 +5967,7 @@
|
|
|
5967
5967
|
"description": "Emitted when the control's value is cleared."
|
|
5968
5968
|
},
|
|
5969
5969
|
{
|
|
5970
|
-
"name": "sd-6-
|
|
5970
|
+
"name": "sd-6-2-0-input",
|
|
5971
5971
|
"description": "Emitted when the control receives input."
|
|
5972
5972
|
},
|
|
5973
5973
|
{
|
|
@@ -6066,7 +6066,7 @@
|
|
|
6066
6066
|
},
|
|
6067
6067
|
{
|
|
6068
6068
|
"name": "useTags",
|
|
6069
|
-
"description": "Uses interactive `sd-6-
|
|
6069
|
+
"description": "Uses interactive `sd-6-2-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
6070
6070
|
"type": "boolean"
|
|
6071
6071
|
},
|
|
6072
6072
|
{
|
|
@@ -6138,7 +6138,7 @@
|
|
|
6138
6138
|
"description": "Emitted when the control's value is cleared."
|
|
6139
6139
|
},
|
|
6140
6140
|
{
|
|
6141
|
-
"name": "sd-6-
|
|
6141
|
+
"name": "sd-6-2-0-input",
|
|
6142
6142
|
"description": "Emitted when the control receives input."
|
|
6143
6143
|
},
|
|
6144
6144
|
{
|
|
@@ -6173,7 +6173,7 @@
|
|
|
6173
6173
|
}
|
|
6174
6174
|
},
|
|
6175
6175
|
{
|
|
6176
|
-
"name": "sd-6-
|
|
6176
|
+
"name": "sd-6-2-0-skeleton",
|
|
6177
6177
|
"description": "Skeleton loaders are used as placeholder previews of content before data gets loaded.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The skeleton's content. When provided, adapts to the content's dimensions. When empty, displays according to the variant property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6178
6178
|
"doc-url": "",
|
|
6179
6179
|
"attributes": [
|
|
@@ -6225,7 +6225,7 @@
|
|
|
6225
6225
|
}
|
|
6226
6226
|
},
|
|
6227
6227
|
{
|
|
6228
|
-
"name": "sd-6-
|
|
6228
|
+
"name": "sd-6-2-0-spinner",
|
|
6229
6229
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
6230
6230
|
"doc-url": "",
|
|
6231
6231
|
"attributes": [
|
|
@@ -6272,7 +6272,7 @@
|
|
|
6272
6272
|
}
|
|
6273
6273
|
},
|
|
6274
6274
|
{
|
|
6275
|
-
"name": "sd-6-
|
|
6275
|
+
"name": "sd-6-2-0-step",
|
|
6276
6276
|
"description": "Steps are used inside [step groups](/components/step-group) to guide users through the steps of a process or task..\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The step's description.\n- **label** - The step's label.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\n\n### **CSS Properties:**\n - **--sd-step__circle-border-width** - The border width of the step circle. _(default: undefined)_\n- **--sd-step__tail-border-width** - The border width of the step tail. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **circle-and-tail-container** - The container that wraps the step's circle and tail.\n- **circle** - The circle that marks the step's state.\n- **tail** - The step's tail.\n- **text-container** - The container that wraps the step's label and description.\n- **label** - The step's label.\n- **description** - The step's description.",
|
|
6277
6277
|
"doc-url": "",
|
|
6278
6278
|
"attributes": [
|
|
@@ -6454,8 +6454,8 @@
|
|
|
6454
6454
|
}
|
|
6455
6455
|
},
|
|
6456
6456
|
{
|
|
6457
|
-
"name": "sd-6-
|
|
6458
|
-
"description": "Used as navigation bar that guides users through the steps of a process or task.\n---\n\n\n### **Methods:**\n - **setActiveStep(index: _number_)** - Sets the active step.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-6-
|
|
6457
|
+
"name": "sd-6-2-0-step-group",
|
|
6458
|
+
"description": "Used as navigation bar that guides users through the steps of a process or task.\n---\n\n\n### **Methods:**\n - **setActiveStep(index: _number_)** - Sets the active step.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-6-2-0-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
6459
6459
|
"doc-url": "",
|
|
6460
6460
|
"attributes": [
|
|
6461
6461
|
{
|
|
@@ -6500,7 +6500,7 @@
|
|
|
6500
6500
|
"slots": [
|
|
6501
6501
|
{
|
|
6502
6502
|
"name": "",
|
|
6503
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-6-
|
|
6503
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-6-2-0-step>` elements."
|
|
6504
6504
|
}
|
|
6505
6505
|
],
|
|
6506
6506
|
"events": [],
|
|
@@ -6546,8 +6546,8 @@
|
|
|
6546
6546
|
}
|
|
6547
6547
|
},
|
|
6548
6548
|
{
|
|
6549
|
-
"name": "sd-6-
|
|
6550
|
-
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-6-
|
|
6549
|
+
"name": "sd-6-2-0-switch",
|
|
6550
|
+
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-6-2-0-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The switch's label.\n- **tooltip** - An optional tooltip that helps describe the switch. Use this slot with the `sd-6-2-0-tooltip` component.\n\n### **CSS Properties:**\n - **--sd-switch--checked--hover-color-background** - The background color for the switch in checked hover state. _(default: undefined)_\n- **--sd-switch--unchecked-color-border** - The border color for the switch in unchecked state. _(default: undefined)_\n- **--sd-switch--unchecked__icon-color-background** - The icon background color for the switch in unchecked state. _(default: undefined)_\n- **--sd-switch-color-text** - The text color for the switch label. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
6551
6551
|
"doc-url": "",
|
|
6552
6552
|
"attributes": [
|
|
6553
6553
|
{
|
|
@@ -6600,7 +6600,7 @@
|
|
|
6600
6600
|
{ "name": "", "description": "The switch's label." },
|
|
6601
6601
|
{
|
|
6602
6602
|
"name": "tooltip",
|
|
6603
|
-
"description": "An optional tooltip that helps describe the switch. Use this slot with the `sd-6-
|
|
6603
|
+
"description": "An optional tooltip that helps describe the switch. Use this slot with the `sd-6-2-0-tooltip` component."
|
|
6604
6604
|
}
|
|
6605
6605
|
],
|
|
6606
6606
|
"events": [
|
|
@@ -6617,7 +6617,7 @@
|
|
|
6617
6617
|
"description": "Emitted when the switch gains focus."
|
|
6618
6618
|
},
|
|
6619
6619
|
{
|
|
6620
|
-
"name": "sd-6-
|
|
6620
|
+
"name": "sd-6-2-0-input",
|
|
6621
6621
|
"description": "Emitted when the switch receives input."
|
|
6622
6622
|
}
|
|
6623
6623
|
],
|
|
@@ -6692,14 +6692,14 @@
|
|
|
6692
6692
|
"description": "Emitted when the switch gains focus."
|
|
6693
6693
|
},
|
|
6694
6694
|
{
|
|
6695
|
-
"name": "sd-6-
|
|
6695
|
+
"name": "sd-6-2-0-input",
|
|
6696
6696
|
"description": "Emitted when the switch receives input."
|
|
6697
6697
|
}
|
|
6698
6698
|
]
|
|
6699
6699
|
}
|
|
6700
6700
|
},
|
|
6701
6701
|
{
|
|
6702
|
-
"name": "sd-6-
|
|
6702
|
+
"name": "sd-6-2-0-tab",
|
|
6703
6703
|
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS Properties:**\n - **--sd-navigable-border-radius:** - The tab border radius on hover. _(default: undefined)_\n- **--sd-navigable__current-indicator-height:** - The tab current indicator height. _(default: undefined)_\n- **--sd-navigable__current-indicator-border-radius:** - The tab current indicator border radius value. _(default: undefined)_\n- **--sd-color-background** - The background color when on hover state. _(default: undefined)_\n- **--sd-tab-color-border** - The border color for the tab. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **active-tab-indicator** - The active tab indicator.\n- **hover-bottom-border** - The bottom border that appears when the tab is hovered.",
|
|
6704
6704
|
"doc-url": "",
|
|
6705
6705
|
"attributes": [
|
|
@@ -6793,8 +6793,8 @@
|
|
|
6793
6793
|
}
|
|
6794
6794
|
},
|
|
6795
6795
|
{
|
|
6796
|
-
"name": "sd-6-
|
|
6797
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-6-
|
|
6796
|
+
"name": "sd-6-2-0-tab-group",
|
|
6797
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-6-2-0-tab-show** - Emitted when a tab is shown.\n- **sd-6-2-0-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-6-2-0-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-6-2-0-tab>` elements.\n\n### **CSS Properties:**\n - **--sd-navigable__current-indicator-height:** - The tab current indicator height. _(default: undefined)_\n- **--sd-navigable__current-indicator-border-radius:** - The tab current indicator border radius value. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
6798
6798
|
"doc-url": "",
|
|
6799
6799
|
"attributes": [
|
|
6800
6800
|
{
|
|
@@ -6816,21 +6816,21 @@
|
|
|
6816
6816
|
"slots": [
|
|
6817
6817
|
{
|
|
6818
6818
|
"name": "",
|
|
6819
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-6-
|
|
6819
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-6-2-0-tab-panel>` elements."
|
|
6820
6820
|
},
|
|
6821
6821
|
{
|
|
6822
6822
|
"name": "nav",
|
|
6823
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-6-
|
|
6823
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-6-2-0-tab>` elements."
|
|
6824
6824
|
}
|
|
6825
6825
|
],
|
|
6826
6826
|
"events": [
|
|
6827
6827
|
{
|
|
6828
|
-
"name": "sd-6-
|
|
6828
|
+
"name": "sd-6-2-0-tab-show",
|
|
6829
6829
|
"type": "{ name: String }",
|
|
6830
6830
|
"description": "Emitted when a tab is shown."
|
|
6831
6831
|
},
|
|
6832
6832
|
{
|
|
6833
|
-
"name": "sd-6-
|
|
6833
|
+
"name": "sd-6-2-0-tab-hide",
|
|
6834
6834
|
"type": "{ name: String }",
|
|
6835
6835
|
"description": "Emitted when a tab is hidden."
|
|
6836
6836
|
}
|
|
@@ -6856,12 +6856,12 @@
|
|
|
6856
6856
|
],
|
|
6857
6857
|
"events": [
|
|
6858
6858
|
{
|
|
6859
|
-
"name": "sd-6-
|
|
6859
|
+
"name": "sd-6-2-0-tab-show",
|
|
6860
6860
|
"type": "{ name: String }",
|
|
6861
6861
|
"description": "Emitted when a tab is shown."
|
|
6862
6862
|
},
|
|
6863
6863
|
{
|
|
6864
|
-
"name": "sd-6-
|
|
6864
|
+
"name": "sd-6-2-0-tab-hide",
|
|
6865
6865
|
"type": "{ name: String }",
|
|
6866
6866
|
"description": "Emitted when a tab is hidden."
|
|
6867
6867
|
}
|
|
@@ -6869,7 +6869,7 @@
|
|
|
6869
6869
|
}
|
|
6870
6870
|
},
|
|
6871
6871
|
{
|
|
6872
|
-
"name": "sd-6-
|
|
6872
|
+
"name": "sd-6-2-0-tab-panel",
|
|
6873
6873
|
"description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6874
6874
|
"doc-url": "",
|
|
6875
6875
|
"attributes": [
|
|
@@ -6923,7 +6923,7 @@
|
|
|
6923
6923
|
}
|
|
6924
6924
|
},
|
|
6925
6925
|
{
|
|
6926
|
-
"name": "sd-6-
|
|
6926
|
+
"name": "sd-6-2-0-tag",
|
|
6927
6927
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tag's content.\n- **icon-left** - A prefix icon or similar element.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Properties:**\n - **--sd-tag--default-color-text** - The default text color for tags in their default state. _(default: undefined)_\n- **--sd-tag--default-color-background** - The default color background for tags in their default state. _(default: undefined)_\n- **--sd-tag--default-color-border** - The default color border for tags in their default state. _(default: undefined)_\n- **--sd-tag--default--hover-color-background** - The background color for tags in default state on hover. _(default: undefined)_\n- **--sd-tag--selected--default-color-background** - The default background color for selected tags. _(default: undefined)_\n- **--sd-tag--selected--default-color-text** - The default text color for selected tags. _(default: undefined)_\n- **--sd-tag--selected--default-color-border** - The border color for selected tags in default state. _(default: undefined)_\n- **--sd-tag--selected--hover-color-background** - The background color for selected tags in hover state. _(default: undefined)_\n- **--sd-tag--selected--hover-color-border** - The border color for selected tags in hover state. _(default: undefined)_\n- **--sd-tag--selected--hover-color-text** - The text color for selected tags in hover state. _(default: undefined)_\n- **--sd-tag--selected-border-width** - The border width for selected tags. _(default: undefined)_\n- **--sd-tag--disabled-color-border** - The border color for disabled tags. _(default: undefined)_\n- **--sd-tag-border-radius** - The border radius for tags. _(default: undefined)_\n- **--sd-tag--size-lg-font-size** - The font size for large tags. _(default: undefined)_\n- **--sd-tag--size-sm-font-size** - The font size for small tags. _(default: undefined)_\n- **--sd-tag-font-weight** - The font weight for tags. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.\n- **icon-left** - The container that wraps the left icon area.",
|
|
6928
6928
|
"doc-url": "",
|
|
6929
6929
|
"attributes": [
|
|
@@ -7089,7 +7089,7 @@
|
|
|
7089
7089
|
}
|
|
7090
7090
|
},
|
|
7091
7091
|
{
|
|
7092
|
-
"name": "sd-6-
|
|
7092
|
+
"name": "sd-6-2-0-teaser",
|
|
7093
7093
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n- **--sd-teaser--neutral-100-color-background** - The background color for neutral‑100 teasers. _(default: undefined)_\n- **--sd-teaser--neutral-400-color-border** - The border color for neutral‑400 teasers. _(default: undefined)_\n- **--sd-teaser--primary-100-color-background** - The background color for primary‑100 teasers. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
7094
7094
|
"doc-url": "",
|
|
7095
7095
|
"attributes": [
|
|
@@ -7171,7 +7171,7 @@
|
|
|
7171
7171
|
}
|
|
7172
7172
|
},
|
|
7173
7173
|
{
|
|
7174
|
-
"name": "sd-6-
|
|
7174
|
+
"name": "sd-6-2-0-teaser-media",
|
|
7175
7175
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--sd-teaser-media--neutral-100--hover-color-background** - The background color for neutral‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--neutral-100-color-background** - The default background color for neutral‑100 teaser media. _(default: undefined)_\n- **--sd-teaser-media--primary-100--hover-color-background** - The background color for primary‑100 teaser media in hover state. _(default: undefined)_\n- **--sd-teaser-media--primary-100-color-background** - The default background color for primary‑100 teaser media. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.",
|
|
7176
7176
|
"doc-url": "",
|
|
7177
7177
|
"attributes": [
|
|
@@ -7227,8 +7227,8 @@
|
|
|
7227
7227
|
}
|
|
7228
7228
|
},
|
|
7229
7229
|
{
|
|
7230
|
-
"name": "sd-6-
|
|
7231
|
-
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-6-
|
|
7230
|
+
"name": "sd-6-2-0-textarea",
|
|
7231
|
+
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-6-2-0-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-6-2-0-tooltip` component.\n\n### **CSS Properties:**\n - **--sd-form-control--invalid-color-background** - The background color for form controls in invalid state. _(default: undefined)_\n- **--sd-form-control-color-text** - The text color for form controls. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
|
|
7232
7232
|
"doc-url": "",
|
|
7233
7233
|
"attributes": [
|
|
7234
7234
|
{
|
|
@@ -7377,7 +7377,7 @@
|
|
|
7377
7377
|
},
|
|
7378
7378
|
{
|
|
7379
7379
|
"name": "tooltip",
|
|
7380
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-6-
|
|
7380
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-6-2-0-tooltip` component."
|
|
7381
7381
|
}
|
|
7382
7382
|
],
|
|
7383
7383
|
"events": [
|
|
@@ -7394,7 +7394,7 @@
|
|
|
7394
7394
|
"description": "Emitted when the control gains focus."
|
|
7395
7395
|
},
|
|
7396
7396
|
{
|
|
7397
|
-
"name": "sd-6-
|
|
7397
|
+
"name": "sd-6-2-0-input",
|
|
7398
7398
|
"description": "Emitted when the control receives input."
|
|
7399
7399
|
},
|
|
7400
7400
|
{
|
|
@@ -7562,7 +7562,7 @@
|
|
|
7562
7562
|
"description": "Emitted when the control gains focus."
|
|
7563
7563
|
},
|
|
7564
7564
|
{
|
|
7565
|
-
"name": "sd-6-
|
|
7565
|
+
"name": "sd-6-2-0-input",
|
|
7566
7566
|
"description": "Emitted when the control receives input."
|
|
7567
7567
|
},
|
|
7568
7568
|
{
|
|
@@ -7573,7 +7573,7 @@
|
|
|
7573
7573
|
}
|
|
7574
7574
|
},
|
|
7575
7575
|
{
|
|
7576
|
-
"name": "sd-6-
|
|
7576
|
+
"name": "sd-6-2-0-theme-listener",
|
|
7577
7577
|
"description": "Theme listener is a utility that listens to theme changes and triggers an event.\n---\n\n\n### **Events:**\n - **sd-theme-change** - Emitted when the sd-theme changes.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
7578
7578
|
"doc-url": "",
|
|
7579
7579
|
"attributes": [
|
|
@@ -7616,8 +7616,8 @@
|
|
|
7616
7616
|
}
|
|
7617
7617
|
},
|
|
7618
7618
|
{
|
|
7619
|
-
"name": "sd-6-
|
|
7620
|
-
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n- **--sd-tooltip-color-background** - The background color for the tooltip. _(default: undefined)_\n- **--sd-tooltip-color-text** - The text color for the tooltip. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-6-
|
|
7619
|
+
"name": "sd-6-2-0-tooltip",
|
|
7620
|
+
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n- **--sd-tooltip-color-background** - The background color for the tooltip. _(default: undefined)_\n- **--sd-tooltip-color-text** - The text color for the tooltip. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-6-2-0-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
7621
7621
|
"doc-url": "",
|
|
7622
7622
|
"attributes": [
|
|
7623
7623
|
{
|
|
@@ -7772,7 +7772,7 @@
|
|
|
7772
7772
|
}
|
|
7773
7773
|
},
|
|
7774
7774
|
{
|
|
7775
|
-
"name": "sd-6-
|
|
7775
|
+
"name": "sd-6-2-0-video",
|
|
7776
7776
|
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Properties:**\n - **--sd-video--play-button-color-background** - The background color for the video play button. _(default: undefined)_\n- **--sd-video--play-button-color-icon-fill** - The icon fill color for the video play button. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **poster-wrapper** - The `<div>` element wrapper around the poster slot.",
|
|
7777
7777
|
"doc-url": "",
|
|
7778
7778
|
"attributes": [
|