@solid-design-system/components 4.11.0 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.RZFDYDI4.js +1 -0
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/custom-elements.json +244 -244
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +42 -42
- package/cdn/web-types.json +95 -95
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2XZZWTI2.js +1 -1
- package/cdn-versioned/chunks/chunk.4D5G5PFQ.js +1 -1
- package/cdn-versioned/chunks/chunk.4GU3VMG2.js +1 -1
- package/cdn-versioned/chunks/chunk.53YBES5S.js +1 -1
- package/cdn-versioned/chunks/chunk.5HYU75RE.js +1 -1
- package/cdn-versioned/chunks/chunk.67UPRVLG.js +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.ADDDVS6W.js +1 -1
- package/cdn-versioned/chunks/chunk.AHXJHNQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.B62VWQ7C.js +1 -1
- package/cdn-versioned/chunks/chunk.BRAJGYMM.js +1 -1
- package/cdn-versioned/chunks/chunk.C74Q5TJX.js +3 -3
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CIKOD7QT.js +1 -1
- package/cdn-versioned/chunks/chunk.DQ3ZESZK.js +2 -2
- package/cdn-versioned/chunks/chunk.E4JOV74T.js +1 -1
- package/cdn-versioned/chunks/chunk.E4YB3LZK.js +1 -1
- package/cdn-versioned/chunks/chunk.ETB7FHWC.js +1 -1
- package/cdn-versioned/chunks/chunk.F3EVJTED.js +1 -1
- package/cdn-versioned/chunks/chunk.FZHMZAIV.js +1 -1
- package/cdn-versioned/chunks/chunk.GUCU2YK5.js +1 -1
- package/cdn-versioned/chunks/chunk.HB2MDLS4.js +1 -1
- package/cdn-versioned/chunks/chunk.HBBILILZ.js +1 -1
- package/cdn-versioned/chunks/chunk.HT7C2KQ3.js +1 -1
- package/cdn-versioned/chunks/chunk.HTEPIDNH.js +2 -2
- package/cdn-versioned/chunks/chunk.HVKAMCXX.js +1 -1
- package/cdn-versioned/chunks/chunk.JIODFCR2.js +1 -1
- package/cdn-versioned/chunks/chunk.JXFEK45U.js +1 -1
- package/cdn-versioned/chunks/chunk.KVDKWL34.js +1 -1
- package/cdn-versioned/chunks/chunk.NPUXUQCC.js +1 -1
- package/cdn-versioned/chunks/chunk.PTSISQCW.js +1 -1
- package/cdn-versioned/chunks/chunk.QLGX6E5R.js +1 -1
- package/cdn-versioned/chunks/chunk.QM2SZYDM.js +1 -1
- package/cdn-versioned/chunks/chunk.QVTWOB7V.js +4 -4
- package/cdn-versioned/chunks/chunk.QX3REGZG.js +1 -1
- package/cdn-versioned/chunks/chunk.RATITDF2.js +1 -1
- package/cdn-versioned/chunks/chunk.RKVW7KG4.js +1 -1
- package/cdn-versioned/chunks/chunk.RZFDYDI4.js +1 -0
- package/cdn-versioned/chunks/chunk.RZINWES7.js +1 -1
- package/cdn-versioned/chunks/chunk.SJYLPRLG.js +1 -1
- package/cdn-versioned/chunks/chunk.SKIEUJZN.js +1 -1
- package/cdn-versioned/chunks/chunk.T4JP7QUW.js +1 -1
- package/cdn-versioned/chunks/chunk.TMVIWO7D.js +1 -1
- package/cdn-versioned/chunks/chunk.TSSJABGO.js +1 -1
- package/cdn-versioned/chunks/chunk.UKXOMULO.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WKQAOKOH.js +1 -1
- package/cdn-versioned/chunks/chunk.XXPYJZI4.js +1 -1
- package/cdn-versioned/chunks/chunk.Y3WFK6NY.js +1 -1
- package/cdn-versioned/chunks/chunk.YMXJOB2H.js +1 -1
- package/cdn-versioned/chunks/chunk.YSFDXYDA.js +1 -1
- package/cdn-versioned/chunks/chunk.ZB5RQUA2.js +1 -1
- package/cdn-versioned/chunks/chunk.ZXGG5GRH.js +1 -1
- 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/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/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/map-marker/map-marker.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 +2 -2
- package/cdn-versioned/components/option/option.d.ts +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 +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.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/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +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 +450 -450
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +120 -120
- package/cdn-versioned/web-types.json +227 -227
- package/dist/chunks/{chunk.ZMWGNTP6.js → chunk.LWJAHDGO.js} +3 -9
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/custom-elements.json +244 -244
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +42 -42
- package/dist/web-types.json +95 -95
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.27LAMXW5.js +5 -5
- package/dist-versioned/chunks/chunk.4LV4VHB5.js +9 -9
- package/dist-versioned/chunks/chunk.4TLTIOIY.js +2 -2
- package/dist-versioned/chunks/chunk.4UEQEUQ5.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6V7KPUGO.js +2 -2
- package/dist-versioned/chunks/chunk.7VCFYOV5.js +1 -1
- package/dist-versioned/chunks/chunk.B7BIS5Y4.js +1 -1
- package/dist-versioned/chunks/chunk.BABTMD4T.js +4 -4
- package/dist-versioned/chunks/chunk.BJSTXBIQ.js +2 -2
- package/dist-versioned/chunks/chunk.BWIRKW7E.js +26 -26
- package/dist-versioned/chunks/chunk.C2LS4326.js +2 -2
- package/dist-versioned/chunks/chunk.C4WMHAOW.js +1 -1
- package/dist-versioned/chunks/chunk.CMK6UTW6.js +2 -2
- package/dist-versioned/chunks/chunk.CWJB3CZO.js +1 -1
- package/dist-versioned/chunks/chunk.DYRAOE5L.js +2 -2
- package/dist-versioned/chunks/chunk.E73VDVFB.js +5 -5
- package/dist-versioned/chunks/chunk.ECH5BTRG.js +6 -6
- package/dist-versioned/chunks/chunk.EQRUJQQW.js +2 -2
- package/dist-versioned/chunks/chunk.ERRAXV4M.js +1 -1
- package/dist-versioned/chunks/chunk.EYTEM45R.js +3 -3
- package/dist-versioned/chunks/chunk.F4UAU4OM.js +5 -5
- package/dist-versioned/chunks/chunk.GAJFV5V3.js +2 -2
- package/dist-versioned/chunks/chunk.H36YEYQD.js +3 -3
- package/dist-versioned/chunks/chunk.HEYBJG64.js +4 -4
- package/dist-versioned/chunks/chunk.IFJ7LPJV.js +2 -2
- package/dist-versioned/chunks/chunk.JNJHWACL.js +3 -3
- package/dist-versioned/chunks/chunk.JNTED6KG.js +5 -5
- package/dist-versioned/chunks/chunk.JQD4QY3H.js +5 -5
- package/dist-versioned/chunks/chunk.KNZPI3QD.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KWP3CREC.js +8 -8
- package/dist-versioned/chunks/chunk.LOW4LWP6.js +2 -2
- package/dist-versioned/chunks/chunk.LQKJMBVH.js +2 -2
- package/dist-versioned/chunks/chunk.LW7RVQTS.js +2 -2
- package/dist-versioned/chunks/{chunk.ZMWGNTP6.js → chunk.LWJAHDGO.js} +5 -11
- package/dist-versioned/chunks/chunk.MSSKOOJJ.js +11 -11
- package/dist-versioned/chunks/chunk.NI45NXZV.js +3 -3
- package/dist-versioned/chunks/chunk.O7OXBLZU.js +2 -2
- package/dist-versioned/chunks/chunk.OWACJFST.js +1 -1
- package/dist-versioned/chunks/chunk.QCQLFJGJ.js +13 -13
- package/dist-versioned/chunks/chunk.QEQDPEN2.js +1 -1
- package/dist-versioned/chunks/chunk.QTZYBV5A.js +24 -24
- package/dist-versioned/chunks/chunk.R3PPZNKA.js +2 -2
- package/dist-versioned/chunks/chunk.RWUFX5GL.js +1 -1
- package/dist-versioned/chunks/chunk.T5QL4V5F.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.ULQU6P3E.js +6 -6
- package/dist-versioned/chunks/chunk.VOWE6LHF.js +14 -14
- package/dist-versioned/chunks/chunk.VUKS4CBF.js +1 -1
- package/dist-versioned/chunks/chunk.X7IRGFBS.js +1 -1
- package/dist-versioned/chunks/chunk.YGRJQZFR.js +1 -1
- package/dist-versioned/chunks/chunk.ZXC3A5GK.js +1 -1
- 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/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/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/map-marker/map-marker.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 +2 -2
- package/dist-versioned/components/option/option.d.ts +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 +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.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/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +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 +450 -450
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +120 -120
- package/dist-versioned/web-types.json +227 -227
- package/package.json +1 -1
- package/cdn/chunks/chunk.A3AHQI37.js +0 -1
- package/cdn-versioned/chunks/chunk.A3AHQI37.js +0 -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": "4.
|
|
4
|
+
"version": "4.12.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-4-
|
|
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-4-
|
|
10
|
+
"name": "sd-4-12-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-4-12-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-12-0-icon>`.\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-4-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-12-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-4-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-4-
|
|
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-4-
|
|
114
|
+
"name": "sd-4-12-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-4-12-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-4-
|
|
137
|
+
"description": "The default slot where `<sd-4-12-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-4-
|
|
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-4-
|
|
163
|
+
"name": "sd-4-12-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-4-12-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-4-
|
|
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-4-12-0-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-4-
|
|
348
|
+
"name": "sd-4-12-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": [
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
|
-
"name": "sd-4-
|
|
504
|
+
"name": "sd-4-12-0-badge",
|
|
505
505
|
"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 Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
506
506
|
"doc-url": "",
|
|
507
507
|
"attributes": [
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
"name": "sd-4-
|
|
571
|
+
"name": "sd-4-12-0-brandshape",
|
|
572
572
|
"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 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.",
|
|
573
573
|
"doc-url": "",
|
|
574
574
|
"attributes": [
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
|
-
"name": "sd-4-
|
|
637
|
+
"name": "sd-4-12-0-button",
|
|
638
638
|
"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 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.",
|
|
639
639
|
"doc-url": "",
|
|
640
640
|
"attributes": [
|
|
@@ -902,8 +902,8 @@
|
|
|
902
902
|
}
|
|
903
903
|
},
|
|
904
904
|
{
|
|
905
|
-
"name": "sd-4-
|
|
906
|
-
"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-4-
|
|
905
|
+
"name": "sd-4-12-0-button-group",
|
|
906
|
+
"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-4-12-0-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
907
907
|
"doc-url": "",
|
|
908
908
|
"attributes": [
|
|
909
909
|
{
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
"slots": [
|
|
926
926
|
{
|
|
927
927
|
"name": "",
|
|
928
|
-
"description": "One or more `<sd-4-
|
|
928
|
+
"description": "One or more `<sd-4-12-0-button>` elements to display in the button group."
|
|
929
929
|
}
|
|
930
930
|
],
|
|
931
931
|
"events": [],
|
|
@@ -952,8 +952,8 @@
|
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
|
-
"name": "sd-4-
|
|
956
|
-
"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-4-
|
|
955
|
+
"name": "sd-4-12-0-carousel",
|
|
956
|
+
"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-4-12-0-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-4-12-0-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-4-12-0-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-4-12-0-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-4-12-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\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.",
|
|
957
957
|
"doc-url": "",
|
|
958
958
|
"attributes": [
|
|
959
959
|
{
|
|
@@ -1000,23 +1000,23 @@
|
|
|
1000
1000
|
"slots": [
|
|
1001
1001
|
{
|
|
1002
1002
|
"name": "",
|
|
1003
|
-
"description": "The carousel's main content, one or more `<sd-4-
|
|
1003
|
+
"description": "The carousel's main content, one or more `<sd-4-12-0-carousel-item>` elements."
|
|
1004
1004
|
},
|
|
1005
1005
|
{
|
|
1006
1006
|
"name": "next-icon",
|
|
1007
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-
|
|
1007
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
"name": "previous-icon",
|
|
1011
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-
|
|
1011
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
1012
1012
|
},
|
|
1013
1013
|
{
|
|
1014
1014
|
"name": "autoplay-start",
|
|
1015
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-
|
|
1015
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
1016
1016
|
},
|
|
1017
1017
|
{
|
|
1018
1018
|
"name": "autoplay-pause",
|
|
1019
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-
|
|
1019
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
1020
1020
|
}
|
|
1021
1021
|
],
|
|
1022
1022
|
"events": [
|
|
@@ -1080,7 +1080,7 @@
|
|
|
1080
1080
|
}
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
|
-
"name": "sd-4-
|
|
1083
|
+
"name": "sd-4-12-0-carousel-item",
|
|
1084
1084
|
"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.",
|
|
1085
1085
|
"doc-url": "",
|
|
1086
1086
|
"attributes": [
|
|
@@ -1116,8 +1116,8 @@
|
|
|
1116
1116
|
}
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
|
-
"name": "sd-4-
|
|
1120
|
-
"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-4-
|
|
1119
|
+
"name": "sd-4-12-0-checkbox",
|
|
1120
|
+
"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-4-12-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 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-4-12-0-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-4-12-0-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1121
1121
|
"doc-url": "",
|
|
1122
1122
|
"attributes": [
|
|
1123
1123
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1192,7 +1192,7 @@
|
|
|
1192
1192
|
"description": "Emitted when the checkbox gains focus."
|
|
1193
1193
|
},
|
|
1194
1194
|
{
|
|
1195
|
-
"name": "sd-4-
|
|
1195
|
+
"name": "sd-4-12-0-input",
|
|
1196
1196
|
"description": "Emitted when the checkbox receives input."
|
|
1197
1197
|
}
|
|
1198
1198
|
],
|
|
@@ -1278,15 +1278,109 @@
|
|
|
1278
1278
|
"description": "Emitted when the checkbox gains focus."
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
|
-
"name": "sd-4-
|
|
1281
|
+
"name": "sd-4-12-0-input",
|
|
1282
1282
|
"description": "Emitted when the checkbox receives input."
|
|
1283
1283
|
}
|
|
1284
1284
|
]
|
|
1285
1285
|
}
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
|
-
"name": "sd-4-
|
|
1289
|
-
"description": "
|
|
1288
|
+
"name": "sd-4-12-0-checkbox-group",
|
|
1289
|
+
"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-4-12-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-4-12-0-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1290
|
+
"doc-url": "",
|
|
1291
|
+
"attributes": [
|
|
1292
|
+
{
|
|
1293
|
+
"name": "size",
|
|
1294
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1295
|
+
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "orientation",
|
|
1299
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1300
|
+
"value": {
|
|
1301
|
+
"type": "'horizontal' | 'vertical'",
|
|
1302
|
+
"default": "'vertical'"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"name": "label",
|
|
1307
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1308
|
+
"value": { "type": "string", "default": "''" }
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"name": "help-text",
|
|
1312
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1313
|
+
"value": { "type": "string", "default": "''" }
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name": "dir",
|
|
1317
|
+
"description": "The element's directionality.",
|
|
1318
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "lang",
|
|
1322
|
+
"description": "The element's language.",
|
|
1323
|
+
"value": { "type": "string" }
|
|
1324
|
+
}
|
|
1325
|
+
],
|
|
1326
|
+
"slots": [
|
|
1327
|
+
{
|
|
1328
|
+
"name": "",
|
|
1329
|
+
"description": "The default slot where `<sd-4-12-0-checkbox>` elements are placed."
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "label",
|
|
1333
|
+
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute."
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"name": "tooltip",
|
|
1337
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-12-0-tooltip` component."
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "help-text",
|
|
1341
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
1344
|
+
"events": [],
|
|
1345
|
+
"js": {
|
|
1346
|
+
"properties": [
|
|
1347
|
+
{
|
|
1348
|
+
"name": "size",
|
|
1349
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1350
|
+
"type": "'lg' | 'md' | 'sm'"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "orientation",
|
|
1354
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1355
|
+
"type": "'horizontal' | 'vertical'"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "label",
|
|
1359
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1360
|
+
"type": "string"
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "helpText",
|
|
1364
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1365
|
+
"type": "string"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"name": "dir",
|
|
1369
|
+
"description": "The element's directionality.",
|
|
1370
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "lang",
|
|
1374
|
+
"description": "The element's language.",
|
|
1375
|
+
"type": "string"
|
|
1376
|
+
}
|
|
1377
|
+
],
|
|
1378
|
+
"events": []
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"name": "sd-4-12-0-combobox",
|
|
1383
|
+
"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-4-12-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-4-12-0-option>` elements. You can use `<sd-4-12-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\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.",
|
|
1290
1384
|
"doc-url": "",
|
|
1291
1385
|
"attributes": [
|
|
1292
1386
|
{
|
|
@@ -1384,7 +1478,7 @@
|
|
|
1384
1478
|
},
|
|
1385
1479
|
{
|
|
1386
1480
|
"name": "useTags",
|
|
1387
|
-
"description": "Uses interactive `sd-4-
|
|
1481
|
+
"description": "Uses interactive `sd-4-12-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1388
1482
|
"value": { "type": "boolean", "default": "true" }
|
|
1389
1483
|
},
|
|
1390
1484
|
{
|
|
@@ -1425,7 +1519,7 @@
|
|
|
1425
1519
|
"slots": [
|
|
1426
1520
|
{
|
|
1427
1521
|
"name": "",
|
|
1428
|
-
"description": "The listbox options. Must be `<sd-4-
|
|
1522
|
+
"description": "The listbox options. Must be `<sd-4-12-0-option>` elements. You can use `<sd-4-12-0-optgroup>`'s to group items visually."
|
|
1429
1523
|
},
|
|
1430
1524
|
{
|
|
1431
1525
|
"name": "label",
|
|
@@ -1462,7 +1556,7 @@
|
|
|
1462
1556
|
"description": "Emitted when the control's value is cleared."
|
|
1463
1557
|
},
|
|
1464
1558
|
{
|
|
1465
|
-
"name": "sd-4-
|
|
1559
|
+
"name": "sd-4-12-0-input",
|
|
1466
1560
|
"description": "Emitted when the control receives input."
|
|
1467
1561
|
},
|
|
1468
1562
|
{
|
|
@@ -1610,7 +1704,7 @@
|
|
|
1610
1704
|
},
|
|
1611
1705
|
{
|
|
1612
1706
|
"name": "useTags",
|
|
1613
|
-
"description": "Uses interactive `sd-4-
|
|
1707
|
+
"description": "Uses interactive `sd-4-12-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1614
1708
|
"type": "boolean"
|
|
1615
1709
|
},
|
|
1616
1710
|
{
|
|
@@ -1657,7 +1751,7 @@
|
|
|
1657
1751
|
"description": "Emitted when the control's value is cleared."
|
|
1658
1752
|
},
|
|
1659
1753
|
{
|
|
1660
|
-
"name": "sd-4-
|
|
1754
|
+
"name": "sd-4-12-0-input",
|
|
1661
1755
|
"description": "Emitted when the control receives input."
|
|
1662
1756
|
},
|
|
1663
1757
|
{
|
|
@@ -1696,8 +1790,8 @@
|
|
|
1696
1790
|
}
|
|
1697
1791
|
},
|
|
1698
1792
|
{
|
|
1699
|
-
"name": "sd-4-
|
|
1700
|
-
"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-4-
|
|
1793
|
+
"name": "sd-4-12-0-dialog",
|
|
1794
|
+
"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-4-12-0-button>` and `<sd-4-12-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\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-4-12-0-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1701
1795
|
"doc-url": "",
|
|
1702
1796
|
"attributes": [
|
|
1703
1797
|
{
|
|
@@ -1738,7 +1832,7 @@
|
|
|
1738
1832
|
},
|
|
1739
1833
|
{
|
|
1740
1834
|
"name": "close-button",
|
|
1741
|
-
"description": "The dialog's close button. Works best with `<sd-4-
|
|
1835
|
+
"description": "The dialog's close button. Works best with `<sd-4-12-0-button>` and `<sd-4-12-0-icon>`."
|
|
1742
1836
|
}
|
|
1743
1837
|
],
|
|
1744
1838
|
"events": [
|
|
@@ -1827,7 +1921,7 @@
|
|
|
1827
1921
|
}
|
|
1828
1922
|
},
|
|
1829
1923
|
{
|
|
1830
|
-
"name": "sd-4-
|
|
1924
|
+
"name": "sd-4-12-0-divider",
|
|
1831
1925
|
"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 Parts:**\n - **base** - The component's base wrapper.",
|
|
1832
1926
|
"doc-url": "",
|
|
1833
1927
|
"attributes": [
|
|
@@ -1883,8 +1977,8 @@
|
|
|
1883
1977
|
}
|
|
1884
1978
|
},
|
|
1885
1979
|
{
|
|
1886
|
-
"name": "sd-4-
|
|
1887
|
-
"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\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-4-
|
|
1980
|
+
"name": "sd-4-12-0-drawer",
|
|
1981
|
+
"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\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-4-12-0-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1888
1982
|
"doc-url": "",
|
|
1889
1983
|
"attributes": [
|
|
1890
1984
|
{
|
|
@@ -2030,8 +2124,8 @@
|
|
|
2030
2124
|
}
|
|
2031
2125
|
},
|
|
2032
2126
|
{
|
|
2033
|
-
"name": "sd-4-
|
|
2034
|
-
"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-4-
|
|
2127
|
+
"name": "sd-4-12-0-dropdown",
|
|
2128
|
+
"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-4-12-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-4-12-0-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2035
2129
|
"doc-url": "",
|
|
2036
2130
|
"attributes": [
|
|
2037
2131
|
{
|
|
@@ -2107,7 +2201,7 @@
|
|
|
2107
2201
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2108
2202
|
{
|
|
2109
2203
|
"name": "trigger",
|
|
2110
|
-
"description": "The dropdown's trigger, usually a `<sd-4-
|
|
2204
|
+
"description": "The dropdown's trigger, usually a `<sd-4-12-0-button>` element."
|
|
2111
2205
|
}
|
|
2112
2206
|
],
|
|
2113
2207
|
"events": [
|
|
@@ -2214,7 +2308,7 @@
|
|
|
2214
2308
|
}
|
|
2215
2309
|
},
|
|
2216
2310
|
{
|
|
2217
|
-
"name": "sd-4-
|
|
2311
|
+
"name": "sd-4-12-0-expandable",
|
|
2218
2312
|
"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\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- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",
|
|
2219
2313
|
"doc-url": "",
|
|
2220
2314
|
"attributes": [
|
|
@@ -2313,7 +2407,7 @@
|
|
|
2313
2407
|
}
|
|
2314
2408
|
},
|
|
2315
2409
|
{
|
|
2316
|
-
"name": "sd-4-
|
|
2410
|
+
"name": "sd-4-12-0-flipcard",
|
|
2317
2411
|
"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.",
|
|
2318
2412
|
"doc-url": "",
|
|
2319
2413
|
"attributes": [
|
|
@@ -2429,7 +2523,7 @@
|
|
|
2429
2523
|
}
|
|
2430
2524
|
},
|
|
2431
2525
|
{
|
|
2432
|
-
"name": "sd-4-
|
|
2526
|
+
"name": "sd-4-12-0-header",
|
|
2433
2527
|
"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\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
2434
2528
|
"doc-url": "",
|
|
2435
2529
|
"attributes": [
|
|
@@ -2475,7 +2569,7 @@
|
|
|
2475
2569
|
}
|
|
2476
2570
|
},
|
|
2477
2571
|
{
|
|
2478
|
-
"name": "sd-4-
|
|
2572
|
+
"name": "sd-4-12-0-icon",
|
|
2479
2573
|
"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.",
|
|
2480
2574
|
"doc-url": "",
|
|
2481
2575
|
"attributes": [
|
|
@@ -2579,7 +2673,7 @@
|
|
|
2579
2673
|
}
|
|
2580
2674
|
},
|
|
2581
2675
|
{
|
|
2582
|
-
"name": "sd-4-
|
|
2676
|
+
"name": "sd-4-12-0-include",
|
|
2583
2677
|
"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.",
|
|
2584
2678
|
"doc-url": "",
|
|
2585
2679
|
"attributes": [
|
|
@@ -2665,8 +2759,8 @@
|
|
|
2665
2759
|
}
|
|
2666
2760
|
},
|
|
2667
2761
|
{
|
|
2668
|
-
"name": "sd-4-
|
|
2669
|
-
"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-4-
|
|
2762
|
+
"name": "sd-4-12-0-input",
|
|
2763
|
+
"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-4-12-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-4-12-0-tooltip` component.\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- **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.",
|
|
2670
2764
|
"doc-url": "",
|
|
2671
2765
|
"attributes": [
|
|
2672
2766
|
{
|
|
@@ -2875,7 +2969,7 @@
|
|
|
2875
2969
|
},
|
|
2876
2970
|
{
|
|
2877
2971
|
"name": "tooltip",
|
|
2878
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-
|
|
2972
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-12-0-tooltip` component."
|
|
2879
2973
|
}
|
|
2880
2974
|
],
|
|
2881
2975
|
"events": [
|
|
@@ -2896,7 +2990,7 @@
|
|
|
2896
2990
|
"description": "Emitted when the control gains focus."
|
|
2897
2991
|
},
|
|
2898
2992
|
{
|
|
2899
|
-
"name": "sd-4-
|
|
2993
|
+
"name": "sd-4-12-0-input",
|
|
2900
2994
|
"description": "Emitted when the control receives input."
|
|
2901
2995
|
},
|
|
2902
2996
|
{
|
|
@@ -3108,7 +3202,7 @@
|
|
|
3108
3202
|
"description": "Emitted when the control gains focus."
|
|
3109
3203
|
},
|
|
3110
3204
|
{
|
|
3111
|
-
"name": "sd-4-
|
|
3205
|
+
"name": "sd-4-12-0-input",
|
|
3112
3206
|
"description": "Emitted when the control receives input."
|
|
3113
3207
|
},
|
|
3114
3208
|
{
|
|
@@ -3119,7 +3213,7 @@
|
|
|
3119
3213
|
}
|
|
3120
3214
|
},
|
|
3121
3215
|
{
|
|
3122
|
-
"name": "sd-4-
|
|
3216
|
+
"name": "sd-4-12-0-link",
|
|
3123
3217
|
"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 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.",
|
|
3124
3218
|
"doc-url": "",
|
|
3125
3219
|
"attributes": [
|
|
@@ -3254,7 +3348,7 @@
|
|
|
3254
3348
|
}
|
|
3255
3349
|
},
|
|
3256
3350
|
{
|
|
3257
|
-
"name": "sd-4-
|
|
3351
|
+
"name": "sd-4-12-0-map-marker",
|
|
3258
3352
|
"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)_",
|
|
3259
3353
|
"doc-url": "",
|
|
3260
3354
|
"attributes": [
|
|
@@ -3382,7 +3476,7 @@
|
|
|
3382
3476
|
}
|
|
3383
3477
|
},
|
|
3384
3478
|
{
|
|
3385
|
-
"name": "sd-4-
|
|
3479
|
+
"name": "sd-4-12-0-navigation-item",
|
|
3386
3480
|
"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 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.",
|
|
3387
3481
|
"doc-url": "",
|
|
3388
3482
|
"attributes": [
|
|
@@ -3569,13 +3663,13 @@
|
|
|
3569
3663
|
}
|
|
3570
3664
|
},
|
|
3571
3665
|
{
|
|
3572
|
-
"name": "sd-4-
|
|
3573
|
-
"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-4-
|
|
3666
|
+
"name": "sd-4-12-0-notification",
|
|
3667
|
+
"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-4-12-0-notification's main content.\n- **icon** - An icon to show in the sd-4-12-0-notification. Works best with `<sd-4-12-0-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\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-4-12-0-icon-button>`.",
|
|
3574
3668
|
"doc-url": "",
|
|
3575
3669
|
"attributes": [
|
|
3576
3670
|
{
|
|
3577
3671
|
"name": "variant",
|
|
3578
|
-
"description": "The sd-4-
|
|
3672
|
+
"description": "The sd-4-12-0-notification's theme.",
|
|
3579
3673
|
"value": {
|
|
3580
3674
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3581
3675
|
"default": "'info'"
|
|
@@ -3583,7 +3677,7 @@
|
|
|
3583
3677
|
},
|
|
3584
3678
|
{
|
|
3585
3679
|
"name": "open",
|
|
3586
|
-
"description": "Indicates whether or not sd-4-
|
|
3680
|
+
"description": "Indicates whether or not sd-4-12-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.",
|
|
3587
3681
|
"value": { "type": "boolean", "default": "false" }
|
|
3588
3682
|
},
|
|
3589
3683
|
{
|
|
@@ -3593,7 +3687,7 @@
|
|
|
3593
3687
|
},
|
|
3594
3688
|
{
|
|
3595
3689
|
"name": "duration",
|
|
3596
|
-
"description": "The length of time, in milliseconds, the sd-4-
|
|
3690
|
+
"description": "The length of time, in milliseconds, the sd-4-12-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.",
|
|
3597
3691
|
"value": { "type": "string", "default": "Infinity" }
|
|
3598
3692
|
},
|
|
3599
3693
|
{
|
|
@@ -3603,7 +3697,7 @@
|
|
|
3603
3697
|
},
|
|
3604
3698
|
{
|
|
3605
3699
|
"name": "toast-stack",
|
|
3606
|
-
"description": "The position of the toasted sd-4-
|
|
3700
|
+
"description": "The position of the toasted sd-4-12-0-notification.",
|
|
3607
3701
|
"value": {
|
|
3608
3702
|
"type": "'top-right' | 'bottom-center'",
|
|
3609
3703
|
"default": "'top-right'"
|
|
@@ -3623,11 +3717,11 @@
|
|
|
3623
3717
|
"slots": [
|
|
3624
3718
|
{
|
|
3625
3719
|
"name": "",
|
|
3626
|
-
"description": "The sd-4-
|
|
3720
|
+
"description": "The sd-4-12-0-notification's main content."
|
|
3627
3721
|
},
|
|
3628
3722
|
{
|
|
3629
3723
|
"name": "icon",
|
|
3630
|
-
"description": "An icon to show in the sd-4-
|
|
3724
|
+
"description": "An icon to show in the sd-4-12-0-notification. Works best with `<sd-4-12-0-icon>`."
|
|
3631
3725
|
}
|
|
3632
3726
|
],
|
|
3633
3727
|
"events": [
|
|
@@ -3653,12 +3747,12 @@
|
|
|
3653
3747
|
{ "name": "localize" },
|
|
3654
3748
|
{
|
|
3655
3749
|
"name": "variant",
|
|
3656
|
-
"description": "The sd-4-
|
|
3750
|
+
"description": "The sd-4-12-0-notification's theme.",
|
|
3657
3751
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3658
3752
|
},
|
|
3659
3753
|
{
|
|
3660
3754
|
"name": "open",
|
|
3661
|
-
"description": "Indicates whether or not sd-4-
|
|
3755
|
+
"description": "Indicates whether or not sd-4-12-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.",
|
|
3662
3756
|
"type": "boolean"
|
|
3663
3757
|
},
|
|
3664
3758
|
{
|
|
@@ -3668,7 +3762,7 @@
|
|
|
3668
3762
|
},
|
|
3669
3763
|
{
|
|
3670
3764
|
"name": "duration",
|
|
3671
|
-
"description": "The length of time, in milliseconds, the sd-4-
|
|
3765
|
+
"description": "The length of time, in milliseconds, the sd-4-12-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."
|
|
3672
3766
|
},
|
|
3673
3767
|
{
|
|
3674
3768
|
"name": "durationIndicator",
|
|
@@ -3677,7 +3771,7 @@
|
|
|
3677
3771
|
},
|
|
3678
3772
|
{
|
|
3679
3773
|
"name": "toastStack",
|
|
3680
|
-
"description": "The position of the toasted sd-4-
|
|
3774
|
+
"description": "The position of the toasted sd-4-12-0-notification.",
|
|
3681
3775
|
"type": "'top-right' | 'bottom-center'"
|
|
3682
3776
|
},
|
|
3683
3777
|
{
|
|
@@ -3712,8 +3806,8 @@
|
|
|
3712
3806
|
}
|
|
3713
3807
|
},
|
|
3714
3808
|
{
|
|
3715
|
-
"name": "sd-4-
|
|
3716
|
-
"description": "The <sd-4-
|
|
3809
|
+
"name": "sd-4-12-0-optgroup",
|
|
3810
|
+
"description": "The <sd-4-12-0-optgroup> element creates a grouping for <sd-4-12-0-option>s within a <sd-4-12-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-4-12-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-4-12-0-option> elements.",
|
|
3717
3811
|
"doc-url": "",
|
|
3718
3812
|
"attributes": [
|
|
3719
3813
|
{
|
|
@@ -3740,7 +3834,7 @@
|
|
|
3740
3834
|
"slots": [
|
|
3741
3835
|
{
|
|
3742
3836
|
"name": "",
|
|
3743
|
-
"description": "The given options. Must be `<sd-4-
|
|
3837
|
+
"description": "The given options. Must be `<sd-4-12-0-option>` elements."
|
|
3744
3838
|
},
|
|
3745
3839
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
3746
3840
|
],
|
|
@@ -3772,18 +3866,18 @@
|
|
|
3772
3866
|
}
|
|
3773
3867
|
},
|
|
3774
3868
|
{
|
|
3775
|
-
"name": "sd-4-
|
|
3776
|
-
"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 Parts:**\n - **checked-icon** - The checked icon, an `<sd-4-
|
|
3869
|
+
"name": "sd-4-12-0-option",
|
|
3870
|
+
"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 Parts:**\n - **checked-icon** - The checked icon, an `<sd-4-12-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.",
|
|
3777
3871
|
"doc-url": "",
|
|
3778
3872
|
"attributes": [
|
|
3779
3873
|
{
|
|
3780
3874
|
"name": "size",
|
|
3781
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-
|
|
3875
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-12-0-select`.",
|
|
3782
3876
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
3783
3877
|
},
|
|
3784
3878
|
{
|
|
3785
3879
|
"name": "checkbox",
|
|
3786
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-
|
|
3880
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-12-0-select` when attribute `checklist` is set to `true`.",
|
|
3787
3881
|
"value": { "type": "boolean", "default": "false" }
|
|
3788
3882
|
},
|
|
3789
3883
|
{
|
|
@@ -3823,12 +3917,12 @@
|
|
|
3823
3917
|
"properties": [
|
|
3824
3918
|
{
|
|
3825
3919
|
"name": "size",
|
|
3826
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-
|
|
3920
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-12-0-select`.",
|
|
3827
3921
|
"type": "'lg' | 'md' | 'sm'"
|
|
3828
3922
|
},
|
|
3829
3923
|
{
|
|
3830
3924
|
"name": "checkbox",
|
|
3831
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-
|
|
3925
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-12-0-select` when attribute `checklist` is set to `true`.",
|
|
3832
3926
|
"type": "boolean"
|
|
3833
3927
|
},
|
|
3834
3928
|
{
|
|
@@ -3856,7 +3950,7 @@
|
|
|
3856
3950
|
}
|
|
3857
3951
|
},
|
|
3858
3952
|
{
|
|
3859
|
-
"name": "sd-4-
|
|
3953
|
+
"name": "sd-4-12-0-popup",
|
|
3860
3954
|
"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.",
|
|
3861
3955
|
"doc-url": "",
|
|
3862
3956
|
"attributes": [
|
|
@@ -4136,8 +4230,8 @@
|
|
|
4136
4230
|
}
|
|
4137
4231
|
},
|
|
4138
4232
|
{
|
|
4139
|
-
"name": "sd-4-
|
|
4140
|
-
"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-4-
|
|
4233
|
+
"name": "sd-4-12-0-quickfact",
|
|
4234
|
+
"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-4-12-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-4-12-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-12-0-icon>`.\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.",
|
|
4141
4235
|
"doc-url": "",
|
|
4142
4236
|
"attributes": [
|
|
4143
4237
|
{
|
|
@@ -4169,7 +4263,7 @@
|
|
|
4169
4263
|
"slots": [
|
|
4170
4264
|
{
|
|
4171
4265
|
"name": "icon",
|
|
4172
|
-
"description": "Optional icon to show in the header. Works best with `<sd-4-
|
|
4266
|
+
"description": "Optional icon to show in the header. Works best with `<sd-4-12-0-icon>`."
|
|
4173
4267
|
},
|
|
4174
4268
|
{ "name": "", "description": "The accordion main content." },
|
|
4175
4269
|
{
|
|
@@ -4178,11 +4272,11 @@
|
|
|
4178
4272
|
},
|
|
4179
4273
|
{
|
|
4180
4274
|
"name": "expand-icon",
|
|
4181
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-
|
|
4275
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
4182
4276
|
},
|
|
4183
4277
|
{
|
|
4184
4278
|
"name": "collapse-icon",
|
|
4185
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-
|
|
4279
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-12-0-icon>`."
|
|
4186
4280
|
}
|
|
4187
4281
|
],
|
|
4188
4282
|
"events": [
|
|
@@ -4254,7 +4348,7 @@
|
|
|
4254
4348
|
}
|
|
4255
4349
|
},
|
|
4256
4350
|
{
|
|
4257
|
-
"name": "sd-4-
|
|
4351
|
+
"name": "sd-4-12-0-radio",
|
|
4258
4352
|
"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 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.",
|
|
4259
4353
|
"doc-url": "",
|
|
4260
4354
|
"attributes": [
|
|
@@ -4356,7 +4450,7 @@
|
|
|
4356
4450
|
}
|
|
4357
4451
|
},
|
|
4358
4452
|
{
|
|
4359
|
-
"name": "sd-4-
|
|
4453
|
+
"name": "sd-4-12-0-radio-button",
|
|
4360
4454
|
"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 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.",
|
|
4361
4455
|
"doc-url": "",
|
|
4362
4456
|
"attributes": [
|
|
@@ -4451,8 +4545,8 @@
|
|
|
4451
4545
|
}
|
|
4452
4546
|
},
|
|
4453
4547
|
{
|
|
4454
|
-
"name": "sd-4-
|
|
4455
|
-
"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-4-
|
|
4548
|
+
"name": "sd-4-12-0-radio-group",
|
|
4549
|
+
"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-4-12-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-4-12-0-radio>` or `<sd-4-12-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-4-12-0-tooltip` component.\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.",
|
|
4456
4550
|
"doc-url": "",
|
|
4457
4551
|
"attributes": [
|
|
4458
4552
|
{
|
|
@@ -4517,7 +4611,7 @@
|
|
|
4517
4611
|
"slots": [
|
|
4518
4612
|
{
|
|
4519
4613
|
"name": "",
|
|
4520
|
-
"description": "The default slot where `<sd-4-
|
|
4614
|
+
"description": "The default slot where `<sd-4-12-0-radio>` or `<sd-4-12-0-radio-button>` elements are placed."
|
|
4521
4615
|
},
|
|
4522
4616
|
{
|
|
4523
4617
|
"name": "label",
|
|
@@ -4529,7 +4623,7 @@
|
|
|
4529
4623
|
},
|
|
4530
4624
|
{
|
|
4531
4625
|
"name": "tooltip",
|
|
4532
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-
|
|
4626
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-12-0-tooltip` component."
|
|
4533
4627
|
}
|
|
4534
4628
|
],
|
|
4535
4629
|
"events": [
|
|
@@ -4538,7 +4632,7 @@
|
|
|
4538
4632
|
"description": "Emitted when the radio group's selected value changes."
|
|
4539
4633
|
},
|
|
4540
4634
|
{
|
|
4541
|
-
"name": "sd-4-
|
|
4635
|
+
"name": "sd-4-12-0-input",
|
|
4542
4636
|
"description": "Emitted when the radio group receives user input."
|
|
4543
4637
|
},
|
|
4544
4638
|
{
|
|
@@ -4618,7 +4712,7 @@
|
|
|
4618
4712
|
"description": "Emitted when the radio group's selected value changes."
|
|
4619
4713
|
},
|
|
4620
4714
|
{
|
|
4621
|
-
"name": "sd-4-
|
|
4715
|
+
"name": "sd-4-12-0-input",
|
|
4622
4716
|
"description": "Emitted when the radio group receives user input."
|
|
4623
4717
|
},
|
|
4624
4718
|
{
|
|
@@ -4629,7 +4723,7 @@
|
|
|
4629
4723
|
}
|
|
4630
4724
|
},
|
|
4631
4725
|
{
|
|
4632
|
-
"name": "sd-4-
|
|
4726
|
+
"name": "sd-4-12-0-scrollable",
|
|
4633
4727
|
"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.",
|
|
4634
4728
|
"doc-url": "",
|
|
4635
4729
|
"attributes": [
|
|
@@ -4790,8 +4884,8 @@
|
|
|
4790
4884
|
}
|
|
4791
4885
|
},
|
|
4792
4886
|
{
|
|
4793
|
-
"name": "sd-4-
|
|
4794
|
-
"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-4-
|
|
4887
|
+
"name": "sd-4-12-0-select",
|
|
4888
|
+
"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-4-12-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-4-12-0-option>` elements. You can use `<sd-4-12-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-4-12-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\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.",
|
|
4795
4889
|
"doc-url": "",
|
|
4796
4890
|
"attributes": [
|
|
4797
4891
|
{
|
|
@@ -4851,7 +4945,7 @@
|
|
|
4851
4945
|
},
|
|
4852
4946
|
{
|
|
4853
4947
|
"name": "useTags",
|
|
4854
|
-
"description": "Uses interactive `sd-4-
|
|
4948
|
+
"description": "Uses interactive `sd-4-12-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
4855
4949
|
"value": { "type": "boolean", "default": "false" }
|
|
4856
4950
|
},
|
|
4857
4951
|
{
|
|
@@ -4910,7 +5004,7 @@
|
|
|
4910
5004
|
"slots": [
|
|
4911
5005
|
{
|
|
4912
5006
|
"name": "",
|
|
4913
|
-
"description": "The listbox options. Must be `<sd-4-
|
|
5007
|
+
"description": "The listbox options. Must be `<sd-4-12-0-option>` elements. You can use `<sd-4-12-0-divider>` to group items visually."
|
|
4914
5008
|
},
|
|
4915
5009
|
{
|
|
4916
5010
|
"name": "label",
|
|
@@ -4930,7 +5024,7 @@
|
|
|
4930
5024
|
},
|
|
4931
5025
|
{
|
|
4932
5026
|
"name": "tooltip",
|
|
4933
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-
|
|
5027
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-12-0-tooltip` component."
|
|
4934
5028
|
}
|
|
4935
5029
|
],
|
|
4936
5030
|
"events": [
|
|
@@ -4943,7 +5037,7 @@
|
|
|
4943
5037
|
"description": "Emitted when the control's value is cleared."
|
|
4944
5038
|
},
|
|
4945
5039
|
{
|
|
4946
|
-
"name": "sd-4-
|
|
5040
|
+
"name": "sd-4-12-0-input",
|
|
4947
5041
|
"description": "Emitted when the control receives input."
|
|
4948
5042
|
},
|
|
4949
5043
|
{
|
|
@@ -5042,7 +5136,7 @@
|
|
|
5042
5136
|
},
|
|
5043
5137
|
{
|
|
5044
5138
|
"name": "useTags",
|
|
5045
|
-
"description": "Uses interactive `sd-4-
|
|
5139
|
+
"description": "Uses interactive `sd-4-12-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5046
5140
|
"type": "boolean"
|
|
5047
5141
|
},
|
|
5048
5142
|
{
|
|
@@ -5109,7 +5203,7 @@
|
|
|
5109
5203
|
"description": "Emitted when the control's value is cleared."
|
|
5110
5204
|
},
|
|
5111
5205
|
{
|
|
5112
|
-
"name": "sd-4-
|
|
5206
|
+
"name": "sd-4-12-0-input",
|
|
5113
5207
|
"description": "Emitted when the control receives input."
|
|
5114
5208
|
},
|
|
5115
5209
|
{
|
|
@@ -5144,7 +5238,7 @@
|
|
|
5144
5238
|
}
|
|
5145
5239
|
},
|
|
5146
5240
|
{
|
|
5147
|
-
"name": "sd-4-
|
|
5241
|
+
"name": "sd-4-12-0-spinner",
|
|
5148
5242
|
"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.",
|
|
5149
5243
|
"doc-url": "",
|
|
5150
5244
|
"attributes": [
|
|
@@ -5191,7 +5285,7 @@
|
|
|
5191
5285
|
}
|
|
5192
5286
|
},
|
|
5193
5287
|
{
|
|
5194
|
-
"name": "sd-4-
|
|
5288
|
+
"name": "sd-4-12-0-step",
|
|
5195
5289
|
"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- **index** - The step's index.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\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.",
|
|
5196
5290
|
"doc-url": "",
|
|
5197
5291
|
"attributes": [
|
|
@@ -5354,8 +5448,8 @@
|
|
|
5354
5448
|
}
|
|
5355
5449
|
},
|
|
5356
5450
|
{
|
|
5357
|
-
"name": "sd-4-
|
|
5358
|
-
"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-4-
|
|
5451
|
+
"name": "sd-4-12-0-step-group",
|
|
5452
|
+
"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-4-12-0-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
5359
5453
|
"doc-url": "",
|
|
5360
5454
|
"attributes": [
|
|
5361
5455
|
{
|
|
@@ -5400,7 +5494,7 @@
|
|
|
5400
5494
|
"slots": [
|
|
5401
5495
|
{
|
|
5402
5496
|
"name": "",
|
|
5403
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-4-
|
|
5497
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-4-12-0-step>` elements."
|
|
5404
5498
|
}
|
|
5405
5499
|
],
|
|
5406
5500
|
"events": [],
|
|
@@ -5446,8 +5540,8 @@
|
|
|
5446
5540
|
}
|
|
5447
5541
|
},
|
|
5448
5542
|
{
|
|
5449
|
-
"name": "sd-4-
|
|
5450
|
-
"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-4-
|
|
5543
|
+
"name": "sd-4-12-0-switch",
|
|
5544
|
+
"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-4-12-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\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.",
|
|
5451
5545
|
"doc-url": "",
|
|
5452
5546
|
"attributes": [
|
|
5453
5547
|
{
|
|
@@ -5511,7 +5605,7 @@
|
|
|
5511
5605
|
"description": "Emitted when the switch gains focus."
|
|
5512
5606
|
},
|
|
5513
5607
|
{
|
|
5514
|
-
"name": "sd-4-
|
|
5608
|
+
"name": "sd-4-12-0-input",
|
|
5515
5609
|
"description": "Emitted when the switch receives input."
|
|
5516
5610
|
}
|
|
5517
5611
|
],
|
|
@@ -5586,14 +5680,14 @@
|
|
|
5586
5680
|
"description": "Emitted when the switch gains focus."
|
|
5587
5681
|
},
|
|
5588
5682
|
{
|
|
5589
|
-
"name": "sd-4-
|
|
5683
|
+
"name": "sd-4-12-0-input",
|
|
5590
5684
|
"description": "Emitted when the switch receives input."
|
|
5591
5685
|
}
|
|
5592
5686
|
]
|
|
5593
5687
|
}
|
|
5594
5688
|
},
|
|
5595
5689
|
{
|
|
5596
|
-
"name": "sd-4-
|
|
5690
|
+
"name": "sd-4-12-0-tab",
|
|
5597
5691
|
"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 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.",
|
|
5598
5692
|
"doc-url": "",
|
|
5599
5693
|
"attributes": [
|
|
@@ -5686,8 +5780,8 @@
|
|
|
5686
5780
|
}
|
|
5687
5781
|
},
|
|
5688
5782
|
{
|
|
5689
|
-
"name": "sd-4-
|
|
5690
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-
|
|
5783
|
+
"name": "sd-4-12-0-tab-group",
|
|
5784
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-12-0-tab-show** - Emitted when a tab is shown.\n- **sd-4-12-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-4-12-0-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-4-12-0-tab>` elements.\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.",
|
|
5691
5785
|
"doc-url": "",
|
|
5692
5786
|
"attributes": [
|
|
5693
5787
|
{
|
|
@@ -5709,21 +5803,21 @@
|
|
|
5709
5803
|
"slots": [
|
|
5710
5804
|
{
|
|
5711
5805
|
"name": "",
|
|
5712
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-
|
|
5806
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-12-0-tab-panel>` elements."
|
|
5713
5807
|
},
|
|
5714
5808
|
{
|
|
5715
5809
|
"name": "nav",
|
|
5716
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-
|
|
5810
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-12-0-tab>` elements."
|
|
5717
5811
|
}
|
|
5718
5812
|
],
|
|
5719
5813
|
"events": [
|
|
5720
5814
|
{
|
|
5721
|
-
"name": "sd-4-
|
|
5815
|
+
"name": "sd-4-12-0-tab-show",
|
|
5722
5816
|
"type": "{ name: String }",
|
|
5723
5817
|
"description": "Emitted when a tab is shown."
|
|
5724
5818
|
},
|
|
5725
5819
|
{
|
|
5726
|
-
"name": "sd-4-
|
|
5820
|
+
"name": "sd-4-12-0-tab-hide",
|
|
5727
5821
|
"type": "{ name: String }",
|
|
5728
5822
|
"description": "Emitted when a tab is hidden."
|
|
5729
5823
|
}
|
|
@@ -5749,12 +5843,12 @@
|
|
|
5749
5843
|
],
|
|
5750
5844
|
"events": [
|
|
5751
5845
|
{
|
|
5752
|
-
"name": "sd-4-
|
|
5846
|
+
"name": "sd-4-12-0-tab-show",
|
|
5753
5847
|
"type": "{ name: String }",
|
|
5754
5848
|
"description": "Emitted when a tab is shown."
|
|
5755
5849
|
},
|
|
5756
5850
|
{
|
|
5757
|
-
"name": "sd-4-
|
|
5851
|
+
"name": "sd-4-12-0-tab-hide",
|
|
5758
5852
|
"type": "{ name: String }",
|
|
5759
5853
|
"description": "Emitted when a tab is hidden."
|
|
5760
5854
|
}
|
|
@@ -5762,7 +5856,7 @@
|
|
|
5762
5856
|
}
|
|
5763
5857
|
},
|
|
5764
5858
|
{
|
|
5765
|
-
"name": "sd-4-
|
|
5859
|
+
"name": "sd-4-12-0-tab-panel",
|
|
5766
5860
|
"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.",
|
|
5767
5861
|
"doc-url": "",
|
|
5768
5862
|
"attributes": [
|
|
@@ -5816,101 +5910,7 @@
|
|
|
5816
5910
|
}
|
|
5817
5911
|
},
|
|
5818
5912
|
{
|
|
5819
|
-
"name": "sd-4-
|
|
5820
|
-
"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-4-11-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-4-11-0-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
5821
|
-
"doc-url": "",
|
|
5822
|
-
"attributes": [
|
|
5823
|
-
{
|
|
5824
|
-
"name": "size",
|
|
5825
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
5826
|
-
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
5827
|
-
},
|
|
5828
|
-
{
|
|
5829
|
-
"name": "orientation",
|
|
5830
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
5831
|
-
"value": {
|
|
5832
|
-
"type": "'horizontal' | 'vertical'",
|
|
5833
|
-
"default": "'vertical'"
|
|
5834
|
-
}
|
|
5835
|
-
},
|
|
5836
|
-
{
|
|
5837
|
-
"name": "label",
|
|
5838
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
5839
|
-
"value": { "type": "string", "default": "''" }
|
|
5840
|
-
},
|
|
5841
|
-
{
|
|
5842
|
-
"name": "help-text",
|
|
5843
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5844
|
-
"value": { "type": "string", "default": "''" }
|
|
5845
|
-
},
|
|
5846
|
-
{
|
|
5847
|
-
"name": "dir",
|
|
5848
|
-
"description": "The element's directionality.",
|
|
5849
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
5850
|
-
},
|
|
5851
|
-
{
|
|
5852
|
-
"name": "lang",
|
|
5853
|
-
"description": "The element's language.",
|
|
5854
|
-
"value": { "type": "string" }
|
|
5855
|
-
}
|
|
5856
|
-
],
|
|
5857
|
-
"slots": [
|
|
5858
|
-
{
|
|
5859
|
-
"name": "",
|
|
5860
|
-
"description": "The default slot where `<sd-4-11-0-checkbox>` elements are placed."
|
|
5861
|
-
},
|
|
5862
|
-
{
|
|
5863
|
-
"name": "label",
|
|
5864
|
-
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute."
|
|
5865
|
-
},
|
|
5866
|
-
{
|
|
5867
|
-
"name": "tooltip",
|
|
5868
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-11-0-tooltip` component."
|
|
5869
|
-
},
|
|
5870
|
-
{
|
|
5871
|
-
"name": "help-text",
|
|
5872
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
5873
|
-
}
|
|
5874
|
-
],
|
|
5875
|
-
"events": [],
|
|
5876
|
-
"js": {
|
|
5877
|
-
"properties": [
|
|
5878
|
-
{
|
|
5879
|
-
"name": "size",
|
|
5880
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
5881
|
-
"type": "'lg' | 'md' | 'sm'"
|
|
5882
|
-
},
|
|
5883
|
-
{
|
|
5884
|
-
"name": "orientation",
|
|
5885
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
5886
|
-
"type": "'horizontal' | 'vertical'"
|
|
5887
|
-
},
|
|
5888
|
-
{
|
|
5889
|
-
"name": "label",
|
|
5890
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
5891
|
-
"type": "string"
|
|
5892
|
-
},
|
|
5893
|
-
{
|
|
5894
|
-
"name": "helpText",
|
|
5895
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5896
|
-
"type": "string"
|
|
5897
|
-
},
|
|
5898
|
-
{
|
|
5899
|
-
"name": "dir",
|
|
5900
|
-
"description": "The element's directionality.",
|
|
5901
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
5902
|
-
},
|
|
5903
|
-
{
|
|
5904
|
-
"name": "lang",
|
|
5905
|
-
"description": "The element's language.",
|
|
5906
|
-
"type": "string"
|
|
5907
|
-
}
|
|
5908
|
-
],
|
|
5909
|
-
"events": []
|
|
5910
|
-
}
|
|
5911
|
-
},
|
|
5912
|
-
{
|
|
5913
|
-
"name": "sd-4-11-0-tag",
|
|
5913
|
+
"name": "sd-4-12-0-tag",
|
|
5914
5914
|
"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- **removable-indicator** - The tag's removability indicator.\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.",
|
|
5915
5915
|
"doc-url": "",
|
|
5916
5916
|
"attributes": [
|
|
@@ -6072,7 +6072,7 @@
|
|
|
6072
6072
|
}
|
|
6073
6073
|
},
|
|
6074
6074
|
{
|
|
6075
|
-
"name": "sd-4-
|
|
6075
|
+
"name": "sd-4-12-0-teaser",
|
|
6076
6076
|
"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\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.",
|
|
6077
6077
|
"doc-url": "",
|
|
6078
6078
|
"attributes": [
|
|
@@ -6144,7 +6144,7 @@
|
|
|
6144
6144
|
}
|
|
6145
6145
|
},
|
|
6146
6146
|
{
|
|
6147
|
-
"name": "sd-4-
|
|
6147
|
+
"name": "sd-4-12-0-teaser-media",
|
|
6148
6148
|
"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 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.",
|
|
6149
6149
|
"doc-url": "",
|
|
6150
6150
|
"attributes": [
|
|
@@ -6200,8 +6200,8 @@
|
|
|
6200
6200
|
}
|
|
6201
6201
|
},
|
|
6202
6202
|
{
|
|
6203
|
-
"name": "sd-4-
|
|
6204
|
-
"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-4-
|
|
6203
|
+
"name": "sd-4-12-0-textarea",
|
|
6204
|
+
"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-4-12-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-4-12-0-tooltip` component.\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.",
|
|
6205
6205
|
"doc-url": "",
|
|
6206
6206
|
"attributes": [
|
|
6207
6207
|
{
|
|
@@ -6345,7 +6345,7 @@
|
|
|
6345
6345
|
},
|
|
6346
6346
|
{
|
|
6347
6347
|
"name": "tooltip",
|
|
6348
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-
|
|
6348
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-12-0-tooltip` component."
|
|
6349
6349
|
}
|
|
6350
6350
|
],
|
|
6351
6351
|
"events": [
|
|
@@ -6362,7 +6362,7 @@
|
|
|
6362
6362
|
"description": "Emitted when the control gains focus."
|
|
6363
6363
|
},
|
|
6364
6364
|
{
|
|
6365
|
-
"name": "sd-4-
|
|
6365
|
+
"name": "sd-4-12-0-input",
|
|
6366
6366
|
"description": "Emitted when the control receives input."
|
|
6367
6367
|
},
|
|
6368
6368
|
{
|
|
@@ -6525,7 +6525,7 @@
|
|
|
6525
6525
|
"description": "Emitted when the control gains focus."
|
|
6526
6526
|
},
|
|
6527
6527
|
{
|
|
6528
|
-
"name": "sd-4-
|
|
6528
|
+
"name": "sd-4-12-0-input",
|
|
6529
6529
|
"description": "Emitted when the control receives input."
|
|
6530
6530
|
},
|
|
6531
6531
|
{
|
|
@@ -6536,8 +6536,8 @@
|
|
|
6536
6536
|
}
|
|
6537
6537
|
},
|
|
6538
6538
|
{
|
|
6539
|
-
"name": "sd-4-
|
|
6540
|
-
"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\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-4-
|
|
6539
|
+
"name": "sd-4-12-0-tooltip",
|
|
6540
|
+
"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\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-4-12-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.",
|
|
6541
6541
|
"doc-url": "",
|
|
6542
6542
|
"attributes": [
|
|
6543
6543
|
{
|
|
@@ -6692,7 +6692,7 @@
|
|
|
6692
6692
|
}
|
|
6693
6693
|
},
|
|
6694
6694
|
{
|
|
6695
|
-
"name": "sd-4-
|
|
6695
|
+
"name": "sd-4-12-0-video",
|
|
6696
6696
|
"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 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.",
|
|
6697
6697
|
"doc-url": "",
|
|
6698
6698
|
"attributes": [
|