@solid-design-system/components 4.6.9 → 4.6.10
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.HWNGDZXC.js +1 -0
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/custom-elements.json +193 -193
- package/cdn/solid-components.bundle.js +13 -13
- package/cdn/solid-components.iife.js +13 -13
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +44 -44
- package/cdn/web-types.json +67 -67
- 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.42FSKXEZ.js +1 -1
- package/cdn-versioned/chunks/chunk.473LHNMV.js +1 -1
- package/cdn-versioned/chunks/chunk.5YA6WG7I.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6Q37IBDM.js +1 -1
- package/cdn-versioned/chunks/chunk.6XTSQUSU.js +1 -1
- package/cdn-versioned/chunks/chunk.7BBRZSXJ.js +1 -1
- package/cdn-versioned/chunks/chunk.7HKFHNAX.js +1 -1
- package/cdn-versioned/chunks/chunk.AG6PE353.js +1 -1
- package/cdn-versioned/chunks/chunk.AMCTYKOD.js +1 -1
- package/cdn-versioned/chunks/chunk.BIMWLALI.js +1 -1
- package/cdn-versioned/chunks/chunk.BNX6LX2P.js +1 -1
- package/cdn-versioned/chunks/chunk.BQZXDBME.js +1 -1
- package/cdn-versioned/chunks/chunk.BXA5EEMV.js +1 -1
- package/cdn-versioned/chunks/chunk.C5D2DMXR.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DH7VYHZC.js +1 -1
- package/cdn-versioned/chunks/chunk.E2R73Z3A.js +1 -1
- package/cdn-versioned/chunks/chunk.F4LOXTZD.js +1 -1
- package/cdn-versioned/chunks/chunk.FZLK25RZ.js +1 -1
- package/cdn-versioned/chunks/chunk.FZVQZMTE.js +1 -1
- package/cdn-versioned/chunks/chunk.HWNGDZXC.js +1 -0
- package/cdn-versioned/chunks/chunk.I4DEROU2.js +1 -1
- package/cdn-versioned/chunks/chunk.ILF7UZDH.js +1 -1
- package/cdn-versioned/chunks/chunk.ILRYHVN7.js +1 -1
- package/cdn-versioned/chunks/chunk.JXBK7LTF.js +1 -1
- package/cdn-versioned/chunks/chunk.KG4OKUP5.js +1 -1
- package/cdn-versioned/chunks/chunk.L47VLLL4.js +1 -1
- package/cdn-versioned/chunks/chunk.L7GN7UBE.js +2 -2
- package/cdn-versioned/chunks/chunk.MJBA5E3M.js +1 -1
- package/cdn-versioned/chunks/chunk.OJY2KFGF.js +1 -1
- package/cdn-versioned/chunks/chunk.OOWV6VHF.js +1 -1
- package/cdn-versioned/chunks/chunk.OZ6M4CAW.js +4 -4
- package/cdn-versioned/chunks/chunk.PEIJ5QII.js +1 -1
- package/cdn-versioned/chunks/chunk.PEYEID7E.js +1 -1
- package/cdn-versioned/chunks/chunk.PTJJRTHX.js +1 -1
- package/cdn-versioned/chunks/chunk.QKA4RHJ4.js +1 -1
- package/cdn-versioned/chunks/chunk.S2O3QV7N.js +3 -3
- package/cdn-versioned/chunks/chunk.SCGOQGTJ.js +1 -1
- package/cdn-versioned/chunks/chunk.SITFYVDG.js +1 -1
- package/cdn-versioned/chunks/chunk.SWPBMHJJ.js +1 -1
- package/cdn-versioned/chunks/chunk.SWRY3APF.js +1 -1
- package/cdn-versioned/chunks/chunk.TEZ7TMHP.js +1 -1
- package/cdn-versioned/chunks/chunk.TNG3FY3U.js +1 -1
- package/cdn-versioned/chunks/chunk.TYH3DD3Z.js +1 -1
- package/cdn-versioned/chunks/chunk.UW24BDXV.js +1 -1
- package/cdn-versioned/chunks/chunk.VCJR4I23.js +2 -2
- package/cdn-versioned/chunks/chunk.VWR74OA4.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WUSKJM2J.js +4 -4
- package/cdn-versioned/chunks/chunk.XIALW4QW.js +1 -1
- package/cdn-versioned/chunks/chunk.Y2ZOHPE6.js +1 -1
- package/cdn-versioned/chunks/chunk.YYZEOF4B.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/drawer/drawer.js +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/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +401 -401
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +18 -18
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +18 -18
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +123 -123
- package/cdn-versioned/web-types.json +202 -202
- package/dist/chunks/{chunk.7PDAG24K.js → chunk.G2S4374K.js} +2 -2
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/custom-elements.json +193 -193
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +44 -44
- package/dist/web-types.json +67 -67
- 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.35D7BDRG.js +2 -2
- package/dist-versioned/chunks/chunk.3ORZT34X.js +1 -1
- package/dist-versioned/chunks/chunk.4FJAHWKR.js +2 -2
- package/dist-versioned/chunks/chunk.5NUL7XZO.js +2 -2
- package/dist-versioned/chunks/chunk.64DOW5GT.js +5 -5
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6KFGIUGJ.js +9 -9
- package/dist-versioned/chunks/chunk.6VCNAVH4.js +3 -3
- package/dist-versioned/chunks/chunk.6W262L3F.js +8 -8
- package/dist-versioned/chunks/chunk.7GIAGNCP.js +5 -5
- package/dist-versioned/chunks/chunk.7T42VK6H.js +1 -1
- package/dist-versioned/chunks/chunk.A4FCES75.js +2 -2
- package/dist-versioned/chunks/chunk.AOWIHO7B.js +1 -1
- package/dist-versioned/chunks/chunk.BALWGQRW.js +2 -2
- package/dist-versioned/chunks/chunk.BO6G26AO.js +6 -6
- package/dist-versioned/chunks/chunk.CJL7IBJC.js +2 -2
- package/dist-versioned/chunks/chunk.CKKINYND.js +1 -1
- package/dist-versioned/chunks/chunk.CTZX4JSW.js +1 -1
- package/dist-versioned/chunks/chunk.DHGILA5W.js +2 -2
- package/dist-versioned/chunks/chunk.EZKDJFKX.js +2 -2
- package/dist-versioned/chunks/{chunk.7PDAG24K.js → chunk.G2S4374K.js} +3 -3
- package/dist-versioned/chunks/chunk.HP5TMUCE.js +11 -11
- package/dist-versioned/chunks/chunk.IFVMGJPH.js +14 -14
- package/dist-versioned/chunks/chunk.IOAEHG5C.js +2 -2
- package/dist-versioned/chunks/chunk.JEZFJKCR.js +2 -2
- package/dist-versioned/chunks/chunk.JH33Y6NI.js +3 -3
- package/dist-versioned/chunks/chunk.JVH7QA7V.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KXI7DQT7.js +5 -5
- package/dist-versioned/chunks/chunk.LA5LTAEA.js +1 -1
- package/dist-versioned/chunks/chunk.LY4LB7WU.js +5 -5
- package/dist-versioned/chunks/chunk.MWFRUUKN.js +2 -2
- package/dist-versioned/chunks/chunk.OJPVJA2S.js +1 -1
- package/dist-versioned/chunks/chunk.OXCJX3LE.js +6 -6
- package/dist-versioned/chunks/chunk.PS2S6VDP.js +1 -1
- package/dist-versioned/chunks/chunk.Q7SDLREI.js +3 -3
- package/dist-versioned/chunks/chunk.QWW7D2EF.js +3 -3
- package/dist-versioned/chunks/chunk.SWZ7YNPJ.js +2 -2
- package/dist-versioned/chunks/chunk.TK6PTMFF.js +1 -1
- package/dist-versioned/chunks/chunk.TPRFXGPO.js +26 -26
- package/dist-versioned/chunks/chunk.TXYWAHFM.js +1 -1
- package/dist-versioned/chunks/chunk.TYYOT3JJ.js +13 -13
- package/dist-versioned/chunks/chunk.TZPIUQJ5.js +1 -1
- package/dist-versioned/chunks/chunk.UHYIMTVH.js +5 -5
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.W5XT73TK.js +2 -2
- package/dist-versioned/chunks/chunk.XHFS2AN7.js +23 -23
- package/dist-versioned/chunks/chunk.XLKZYB73.js +1 -1
- package/dist-versioned/chunks/chunk.YKFNELUH.js +1 -1
- package/dist-versioned/chunks/chunk.ZDKRIMUK.js +5 -5
- package/dist-versioned/chunks/chunk.ZE3C43AX.js +4 -4
- package/dist-versioned/chunks/chunk.ZEC66JCL.js +2 -2
- package/dist-versioned/chunks/chunk.ZQJKVTOP.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/drawer/drawer.js +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/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +401 -401
- 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 +123 -123
- package/dist-versioned/web-types.json +202 -202
- package/package.json +1 -1
- package/cdn/chunks/chunk.NXW6WUG6.js +0 -1
- package/cdn-versioned/chunks/chunk.NXW6WUG6.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.6.
|
|
4
|
+
"version": "4.6.10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-4-6-
|
|
11
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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-6-
|
|
10
|
+
"name": "sd-4-6-10-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\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-6-10-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-6-10-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-6-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-6-10-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-6-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-4-6-
|
|
115
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-6-
|
|
114
|
+
"name": "sd-4-6-10-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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-6-10-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-6-
|
|
137
|
+
"description": "The default slot where `<sd-4-6-10-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-6-
|
|
164
|
-
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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-6-
|
|
163
|
+
"name": "sd-4-6-10-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\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-6-10-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-6-
|
|
236
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-6-10-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-4-6-
|
|
348
|
+
"name": "sd-4-6-10-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\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-6-
|
|
504
|
+
"name": "sd-4-6-10-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\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,73 @@
|
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
"name": "sd-4-6-
|
|
571
|
+
"name": "sd-4-6-10-brandshape",
|
|
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\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
|
+
"doc-url": "",
|
|
574
|
+
"attributes": [
|
|
575
|
+
{
|
|
576
|
+
"name": "variant",
|
|
577
|
+
"description": "The brandshape's theme variant.",
|
|
578
|
+
"value": {
|
|
579
|
+
"type": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'",
|
|
580
|
+
"default": "'primary'"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "shapes",
|
|
585
|
+
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
586
|
+
"value": {
|
|
587
|
+
"type": "('top' | 'middle' | 'bottom')[]",
|
|
588
|
+
"default": "['top', 'middle', 'bottom']"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "dir",
|
|
593
|
+
"description": "The element's directionality.",
|
|
594
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "lang",
|
|
598
|
+
"description": "The element's language.",
|
|
599
|
+
"value": { "type": "string" }
|
|
600
|
+
}
|
|
601
|
+
],
|
|
602
|
+
"slots": [
|
|
603
|
+
{ "name": "", "description": "The content inside the brandshape." },
|
|
604
|
+
{
|
|
605
|
+
"name": "image",
|
|
606
|
+
"description": "The image slot for the 'image' variant."
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
"events": [],
|
|
610
|
+
"js": {
|
|
611
|
+
"properties": [
|
|
612
|
+
{
|
|
613
|
+
"name": "variant",
|
|
614
|
+
"description": "The brandshape's theme variant.",
|
|
615
|
+
"type": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "shapes",
|
|
619
|
+
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
620
|
+
"type": "('top' | 'middle' | 'bottom')[]"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "dir",
|
|
624
|
+
"description": "The element's directionality.",
|
|
625
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "lang",
|
|
629
|
+
"description": "The element's language.",
|
|
630
|
+
"type": "string"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"events": []
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "sd-4-6-10-button",
|
|
572
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\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.",
|
|
573
639
|
"doc-url": "",
|
|
574
640
|
"attributes": [
|
|
@@ -836,8 +902,8 @@
|
|
|
836
902
|
}
|
|
837
903
|
},
|
|
838
904
|
{
|
|
839
|
-
"name": "sd-4-6-
|
|
840
|
-
"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\n### **Slots:**\n - _default_ - One or more `<sd-4-6-
|
|
905
|
+
"name": "sd-4-6-10-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\n### **Slots:**\n - _default_ - One or more `<sd-4-6-10-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
841
907
|
"doc-url": "",
|
|
842
908
|
"attributes": [
|
|
843
909
|
{
|
|
@@ -859,7 +925,7 @@
|
|
|
859
925
|
"slots": [
|
|
860
926
|
{
|
|
861
927
|
"name": "",
|
|
862
|
-
"description": "One or more `<sd-4-6-
|
|
928
|
+
"description": "One or more `<sd-4-6-10-button>` elements to display in the button group."
|
|
863
929
|
}
|
|
864
930
|
],
|
|
865
931
|
"events": [],
|
|
@@ -886,8 +952,8 @@
|
|
|
886
952
|
}
|
|
887
953
|
},
|
|
888
954
|
{
|
|
889
|
-
"name": "sd-4-6-
|
|
890
|
-
"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\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-6-
|
|
955
|
+
"name": "sd-4-6-10-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\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-6-10-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-4-6-10-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-4-6-10-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-4-6-10-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-4-6-10-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.",
|
|
891
957
|
"doc-url": "",
|
|
892
958
|
"attributes": [
|
|
893
959
|
{
|
|
@@ -934,23 +1000,23 @@
|
|
|
934
1000
|
"slots": [
|
|
935
1001
|
{
|
|
936
1002
|
"name": "",
|
|
937
|
-
"description": "The carousel's main content, one or more `<sd-4-6-
|
|
1003
|
+
"description": "The carousel's main content, one or more `<sd-4-6-10-carousel-item>` elements."
|
|
938
1004
|
},
|
|
939
1005
|
{
|
|
940
1006
|
"name": "next-icon",
|
|
941
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-6-
|
|
1007
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
942
1008
|
},
|
|
943
1009
|
{
|
|
944
1010
|
"name": "previous-icon",
|
|
945
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-6-
|
|
1011
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
946
1012
|
},
|
|
947
1013
|
{
|
|
948
1014
|
"name": "autoplay-start",
|
|
949
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-6-
|
|
1015
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
950
1016
|
},
|
|
951
1017
|
{
|
|
952
1018
|
"name": "autoplay-pause",
|
|
953
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-6-
|
|
1019
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
954
1020
|
}
|
|
955
1021
|
],
|
|
956
1022
|
"events": [
|
|
@@ -1014,7 +1080,7 @@
|
|
|
1014
1080
|
}
|
|
1015
1081
|
},
|
|
1016
1082
|
{
|
|
1017
|
-
"name": "sd-4-6-
|
|
1083
|
+
"name": "sd-4-6-10-carousel-item",
|
|
1018
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\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
1019
1085
|
"doc-url": "",
|
|
1020
1086
|
"attributes": [
|
|
@@ -1050,8 +1116,8 @@
|
|
|
1050
1116
|
}
|
|
1051
1117
|
},
|
|
1052
1118
|
{
|
|
1053
|
-
"name": "sd-4-6-
|
|
1054
|
-
"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-6-
|
|
1119
|
+
"name": "sd-4-6-10-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-6-10-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\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-6-10-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-4-6-10-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1055
1121
|
"doc-url": "",
|
|
1056
1122
|
"attributes": [
|
|
1057
1123
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1126,7 +1192,7 @@
|
|
|
1126
1192
|
"description": "Emitted when the checkbox gains focus."
|
|
1127
1193
|
},
|
|
1128
1194
|
{
|
|
1129
|
-
"name": "sd-4-6-
|
|
1195
|
+
"name": "sd-4-6-10-input",
|
|
1130
1196
|
"description": "Emitted when the checkbox receives input."
|
|
1131
1197
|
}
|
|
1132
1198
|
],
|
|
@@ -1212,15 +1278,15 @@
|
|
|
1212
1278
|
"description": "Emitted when the checkbox gains focus."
|
|
1213
1279
|
},
|
|
1214
1280
|
{
|
|
1215
|
-
"name": "sd-4-6-
|
|
1281
|
+
"name": "sd-4-6-10-input",
|
|
1216
1282
|
"description": "Emitted when the checkbox receives input."
|
|
1217
1283
|
}
|
|
1218
1284
|
]
|
|
1219
1285
|
}
|
|
1220
1286
|
},
|
|
1221
1287
|
{
|
|
1222
|
-
"name": "sd-4-6-
|
|
1223
|
-
"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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-6-
|
|
1288
|
+
"name": "sd-4-6-10-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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-6-10-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-6-10-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1224
1290
|
"doc-url": "",
|
|
1225
1291
|
"attributes": [
|
|
1226
1292
|
{
|
|
@@ -1260,7 +1326,7 @@
|
|
|
1260
1326
|
"slots": [
|
|
1261
1327
|
{
|
|
1262
1328
|
"name": "",
|
|
1263
|
-
"description": "The default slot where `<sd-4-6-
|
|
1329
|
+
"description": "The default slot where `<sd-4-6-10-checkbox>` elements are placed."
|
|
1264
1330
|
},
|
|
1265
1331
|
{
|
|
1266
1332
|
"name": "label",
|
|
@@ -1268,7 +1334,7 @@
|
|
|
1268
1334
|
},
|
|
1269
1335
|
{
|
|
1270
1336
|
"name": "tooltip",
|
|
1271
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-6-
|
|
1337
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-6-10-tooltip` component."
|
|
1272
1338
|
},
|
|
1273
1339
|
{
|
|
1274
1340
|
"name": "help-text",
|
|
@@ -1313,8 +1379,8 @@
|
|
|
1313
1379
|
}
|
|
1314
1380
|
},
|
|
1315
1381
|
{
|
|
1316
|
-
"name": "sd-4-6-
|
|
1317
|
-
"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-6-
|
|
1382
|
+
"name": "sd-4-6-10-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-6-10-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\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-6-10-option>` elements. You can use `<sd-4-6-10-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.",
|
|
1318
1384
|
"doc-url": "",
|
|
1319
1385
|
"attributes": [
|
|
1320
1386
|
{
|
|
@@ -1407,7 +1473,7 @@
|
|
|
1407
1473
|
},
|
|
1408
1474
|
{
|
|
1409
1475
|
"name": "useTags",
|
|
1410
|
-
"description": "Uses interactive `sd-4-6-
|
|
1476
|
+
"description": "Uses interactive `sd-4-6-10-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1411
1477
|
"value": { "type": "boolean", "default": "true" }
|
|
1412
1478
|
},
|
|
1413
1479
|
{
|
|
@@ -1448,7 +1514,7 @@
|
|
|
1448
1514
|
"slots": [
|
|
1449
1515
|
{
|
|
1450
1516
|
"name": "",
|
|
1451
|
-
"description": "The listbox options. Must be `<sd-4-6-
|
|
1517
|
+
"description": "The listbox options. Must be `<sd-4-6-10-option>` elements. You can use `<sd-4-6-10-optgroup>`'s to group items visually."
|
|
1452
1518
|
},
|
|
1453
1519
|
{
|
|
1454
1520
|
"name": "label",
|
|
@@ -1485,7 +1551,7 @@
|
|
|
1485
1551
|
"description": "Emitted when the control's value is cleared."
|
|
1486
1552
|
},
|
|
1487
1553
|
{
|
|
1488
|
-
"name": "sd-4-6-
|
|
1554
|
+
"name": "sd-4-6-10-input",
|
|
1489
1555
|
"description": "Emitted when the control receives input."
|
|
1490
1556
|
},
|
|
1491
1557
|
{
|
|
@@ -1628,7 +1694,7 @@
|
|
|
1628
1694
|
},
|
|
1629
1695
|
{
|
|
1630
1696
|
"name": "useTags",
|
|
1631
|
-
"description": "Uses interactive `sd-4-6-
|
|
1697
|
+
"description": "Uses interactive `sd-4-6-10-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1632
1698
|
"type": "boolean"
|
|
1633
1699
|
},
|
|
1634
1700
|
{
|
|
@@ -1675,7 +1741,7 @@
|
|
|
1675
1741
|
"description": "Emitted when the control's value is cleared."
|
|
1676
1742
|
},
|
|
1677
1743
|
{
|
|
1678
|
-
"name": "sd-4-6-
|
|
1744
|
+
"name": "sd-4-6-10-input",
|
|
1679
1745
|
"description": "Emitted when the control receives input."
|
|
1680
1746
|
},
|
|
1681
1747
|
{
|
|
@@ -1714,8 +1780,8 @@
|
|
|
1714
1780
|
}
|
|
1715
1781
|
},
|
|
1716
1782
|
{
|
|
1717
|
-
"name": "sd-4-6-
|
|
1718
|
-
"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\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-6-
|
|
1783
|
+
"name": "sd-4-6-10-dialog",
|
|
1784
|
+
"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\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-6-10-button>` and `<sd-4-6-10-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-6-10-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1719
1785
|
"doc-url": "",
|
|
1720
1786
|
"attributes": [
|
|
1721
1787
|
{
|
|
@@ -1756,7 +1822,7 @@
|
|
|
1756
1822
|
},
|
|
1757
1823
|
{
|
|
1758
1824
|
"name": "close-button",
|
|
1759
|
-
"description": "The dialog's close button. Works best with `<sd-4-6-
|
|
1825
|
+
"description": "The dialog's close button. Works best with `<sd-4-6-10-button>` and `<sd-4-6-10-icon>`."
|
|
1760
1826
|
}
|
|
1761
1827
|
],
|
|
1762
1828
|
"events": [
|
|
@@ -1845,7 +1911,7 @@
|
|
|
1845
1911
|
}
|
|
1846
1912
|
},
|
|
1847
1913
|
{
|
|
1848
|
-
"name": "sd-4-6-
|
|
1914
|
+
"name": "sd-4-6-10-divider",
|
|
1849
1915
|
"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\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1850
1916
|
"doc-url": "",
|
|
1851
1917
|
"attributes": [
|
|
@@ -1901,8 +1967,8 @@
|
|
|
1901
1967
|
}
|
|
1902
1968
|
},
|
|
1903
1969
|
{
|
|
1904
|
-
"name": "sd-4-6-
|
|
1905
|
-
"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\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-6-
|
|
1970
|
+
"name": "sd-4-6-10-drawer",
|
|
1971
|
+
"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\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-6-10-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1906
1972
|
"doc-url": "",
|
|
1907
1973
|
"attributes": [
|
|
1908
1974
|
{
|
|
@@ -2048,8 +2114,8 @@
|
|
|
2048
2114
|
}
|
|
2049
2115
|
},
|
|
2050
2116
|
{
|
|
2051
|
-
"name": "sd-4-6-
|
|
2052
|
-
"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-6-
|
|
2117
|
+
"name": "sd-4-6-10-dropdown",
|
|
2118
|
+
"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-6-10-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\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-4-6-10-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.",
|
|
2053
2119
|
"doc-url": "",
|
|
2054
2120
|
"attributes": [
|
|
2055
2121
|
{
|
|
@@ -2125,7 +2191,7 @@
|
|
|
2125
2191
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2126
2192
|
{
|
|
2127
2193
|
"name": "trigger",
|
|
2128
|
-
"description": "The dropdown's trigger, usually a `<sd-4-6-
|
|
2194
|
+
"description": "The dropdown's trigger, usually a `<sd-4-6-10-button>` element."
|
|
2129
2195
|
}
|
|
2130
2196
|
],
|
|
2131
2197
|
"events": [
|
|
@@ -2232,7 +2298,7 @@
|
|
|
2232
2298
|
}
|
|
2233
2299
|
},
|
|
2234
2300
|
{
|
|
2235
|
-
"name": "sd-4-6-
|
|
2301
|
+
"name": "sd-4-6-10-expandable",
|
|
2236
2302
|
"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\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.",
|
|
2237
2303
|
"doc-url": "",
|
|
2238
2304
|
"attributes": [
|
|
@@ -2331,7 +2397,7 @@
|
|
|
2331
2397
|
}
|
|
2332
2398
|
},
|
|
2333
2399
|
{
|
|
2334
|
-
"name": "sd-4-6-
|
|
2400
|
+
"name": "sd-4-6-10-flipcard",
|
|
2335
2401
|
"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\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.",
|
|
2336
2402
|
"doc-url": "",
|
|
2337
2403
|
"attributes": [
|
|
@@ -2447,7 +2513,7 @@
|
|
|
2447
2513
|
}
|
|
2448
2514
|
},
|
|
2449
2515
|
{
|
|
2450
|
-
"name": "sd-4-6-
|
|
2516
|
+
"name": "sd-4-6-10-header",
|
|
2451
2517
|
"description": "Header\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\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.",
|
|
2452
2518
|
"doc-url": "",
|
|
2453
2519
|
"attributes": [
|
|
@@ -2493,7 +2559,7 @@
|
|
|
2493
2559
|
}
|
|
2494
2560
|
},
|
|
2495
2561
|
{
|
|
2496
|
-
"name": "sd-4-6-
|
|
2562
|
+
"name": "sd-4-6-10-icon",
|
|
2497
2563
|
"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.",
|
|
2498
2564
|
"doc-url": "",
|
|
2499
2565
|
"attributes": [
|
|
@@ -2597,7 +2663,7 @@
|
|
|
2597
2663
|
}
|
|
2598
2664
|
},
|
|
2599
2665
|
{
|
|
2600
|
-
"name": "sd-4-6-
|
|
2666
|
+
"name": "sd-4-6-10-include",
|
|
2601
2667
|
"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.",
|
|
2602
2668
|
"doc-url": "",
|
|
2603
2669
|
"attributes": [
|
|
@@ -2683,8 +2749,8 @@
|
|
|
2683
2749
|
}
|
|
2684
2750
|
},
|
|
2685
2751
|
{
|
|
2686
|
-
"name": "sd-4-6-
|
|
2687
|
-
"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-6-
|
|
2752
|
+
"name": "sd-4-6-10-input",
|
|
2753
|
+
"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-6-10-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\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-6-10-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.",
|
|
2688
2754
|
"doc-url": "",
|
|
2689
2755
|
"attributes": [
|
|
2690
2756
|
{
|
|
@@ -2893,7 +2959,7 @@
|
|
|
2893
2959
|
},
|
|
2894
2960
|
{
|
|
2895
2961
|
"name": "tooltip",
|
|
2896
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-6-
|
|
2962
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-6-10-tooltip` component."
|
|
2897
2963
|
}
|
|
2898
2964
|
],
|
|
2899
2965
|
"events": [
|
|
@@ -2914,7 +2980,7 @@
|
|
|
2914
2980
|
"description": "Emitted when the control gains focus."
|
|
2915
2981
|
},
|
|
2916
2982
|
{
|
|
2917
|
-
"name": "sd-4-6-
|
|
2983
|
+
"name": "sd-4-6-10-input",
|
|
2918
2984
|
"description": "Emitted when the control receives input."
|
|
2919
2985
|
},
|
|
2920
2986
|
{
|
|
@@ -3126,7 +3192,7 @@
|
|
|
3126
3192
|
"description": "Emitted when the control gains focus."
|
|
3127
3193
|
},
|
|
3128
3194
|
{
|
|
3129
|
-
"name": "sd-4-6-
|
|
3195
|
+
"name": "sd-4-6-10-input",
|
|
3130
3196
|
"description": "Emitted when the control receives input."
|
|
3131
3197
|
},
|
|
3132
3198
|
{
|
|
@@ -3137,7 +3203,7 @@
|
|
|
3137
3203
|
}
|
|
3138
3204
|
},
|
|
3139
3205
|
{
|
|
3140
|
-
"name": "sd-4-6-
|
|
3206
|
+
"name": "sd-4-6-10-link",
|
|
3141
3207
|
"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\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.",
|
|
3142
3208
|
"doc-url": "",
|
|
3143
3209
|
"attributes": [
|
|
@@ -3272,7 +3338,7 @@
|
|
|
3272
3338
|
}
|
|
3273
3339
|
},
|
|
3274
3340
|
{
|
|
3275
|
-
"name": "sd-4-6-
|
|
3341
|
+
"name": "sd-4-6-10-map-marker",
|
|
3276
3342
|
"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\n### **Slots:**\n - _default_ - The marker's content.\\\n\n### **CSS Properties:**\n - **--map-marker-scaling** - Scale the marker size. _(default: undefined)_",
|
|
3277
3343
|
"doc-url": "",
|
|
3278
3344
|
"attributes": [
|
|
@@ -3400,7 +3466,7 @@
|
|
|
3400
3466
|
}
|
|
3401
3467
|
},
|
|
3402
3468
|
{
|
|
3403
|
-
"name": "sd-4-6-
|
|
3469
|
+
"name": "sd-4-6-10-navigation-item",
|
|
3404
3470
|
"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\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.",
|
|
3405
3471
|
"doc-url": "",
|
|
3406
3472
|
"attributes": [
|
|
@@ -3587,13 +3653,13 @@
|
|
|
3587
3653
|
}
|
|
3588
3654
|
},
|
|
3589
3655
|
{
|
|
3590
|
-
"name": "sd-4-6-
|
|
3591
|
-
"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\n### **Slots:**\n - _default_ - The sd-4-6-
|
|
3656
|
+
"name": "sd-4-6-10-notification",
|
|
3657
|
+
"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\n### **Slots:**\n - _default_ - The sd-4-6-10-notification's main content.\n- **icon** - An icon to show in the sd-4-6-10-notification. Works best with `<sd-4-6-10-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-6-10-icon-button>`.",
|
|
3592
3658
|
"doc-url": "",
|
|
3593
3659
|
"attributes": [
|
|
3594
3660
|
{
|
|
3595
3661
|
"name": "variant",
|
|
3596
|
-
"description": "The sd-4-6-
|
|
3662
|
+
"description": "The sd-4-6-10-notification's theme.",
|
|
3597
3663
|
"value": {
|
|
3598
3664
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3599
3665
|
"default": "'info'"
|
|
@@ -3601,7 +3667,7 @@
|
|
|
3601
3667
|
},
|
|
3602
3668
|
{
|
|
3603
3669
|
"name": "open",
|
|
3604
|
-
"description": "Indicates whether or not sd-4-6-
|
|
3670
|
+
"description": "Indicates whether or not sd-4-6-10-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.",
|
|
3605
3671
|
"value": { "type": "boolean", "default": "false" }
|
|
3606
3672
|
},
|
|
3607
3673
|
{
|
|
@@ -3611,7 +3677,7 @@
|
|
|
3611
3677
|
},
|
|
3612
3678
|
{
|
|
3613
3679
|
"name": "duration",
|
|
3614
|
-
"description": "The length of time, in milliseconds, the sd-4-6-
|
|
3680
|
+
"description": "The length of time, in milliseconds, the sd-4-6-10-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.",
|
|
3615
3681
|
"value": { "type": "string", "default": "Infinity" }
|
|
3616
3682
|
},
|
|
3617
3683
|
{
|
|
@@ -3621,7 +3687,7 @@
|
|
|
3621
3687
|
},
|
|
3622
3688
|
{
|
|
3623
3689
|
"name": "toast-stack",
|
|
3624
|
-
"description": "The position of the toasted sd-4-6-
|
|
3690
|
+
"description": "The position of the toasted sd-4-6-10-notification.",
|
|
3625
3691
|
"value": {
|
|
3626
3692
|
"type": "'top-right' | 'bottom-center'",
|
|
3627
3693
|
"default": "'top-right'"
|
|
@@ -3641,11 +3707,11 @@
|
|
|
3641
3707
|
"slots": [
|
|
3642
3708
|
{
|
|
3643
3709
|
"name": "",
|
|
3644
|
-
"description": "The sd-4-6-
|
|
3710
|
+
"description": "The sd-4-6-10-notification's main content."
|
|
3645
3711
|
},
|
|
3646
3712
|
{
|
|
3647
3713
|
"name": "icon",
|
|
3648
|
-
"description": "An icon to show in the sd-4-6-
|
|
3714
|
+
"description": "An icon to show in the sd-4-6-10-notification. Works best with `<sd-4-6-10-icon>`."
|
|
3649
3715
|
}
|
|
3650
3716
|
],
|
|
3651
3717
|
"events": [
|
|
@@ -3671,12 +3737,12 @@
|
|
|
3671
3737
|
{ "name": "localize" },
|
|
3672
3738
|
{
|
|
3673
3739
|
"name": "variant",
|
|
3674
|
-
"description": "The sd-4-6-
|
|
3740
|
+
"description": "The sd-4-6-10-notification's theme.",
|
|
3675
3741
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3676
3742
|
},
|
|
3677
3743
|
{
|
|
3678
3744
|
"name": "open",
|
|
3679
|
-
"description": "Indicates whether or not sd-4-6-
|
|
3745
|
+
"description": "Indicates whether or not sd-4-6-10-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.",
|
|
3680
3746
|
"type": "boolean"
|
|
3681
3747
|
},
|
|
3682
3748
|
{
|
|
@@ -3686,7 +3752,7 @@
|
|
|
3686
3752
|
},
|
|
3687
3753
|
{
|
|
3688
3754
|
"name": "duration",
|
|
3689
|
-
"description": "The length of time, in milliseconds, the sd-4-6-
|
|
3755
|
+
"description": "The length of time, in milliseconds, the sd-4-6-10-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."
|
|
3690
3756
|
},
|
|
3691
3757
|
{
|
|
3692
3758
|
"name": "durationIndicator",
|
|
@@ -3695,7 +3761,7 @@
|
|
|
3695
3761
|
},
|
|
3696
3762
|
{
|
|
3697
3763
|
"name": "toastStack",
|
|
3698
|
-
"description": "The position of the toasted sd-4-6-
|
|
3764
|
+
"description": "The position of the toasted sd-4-6-10-notification.",
|
|
3699
3765
|
"type": "'top-right' | 'bottom-center'"
|
|
3700
3766
|
},
|
|
3701
3767
|
{
|
|
@@ -3730,8 +3796,8 @@
|
|
|
3730
3796
|
}
|
|
3731
3797
|
},
|
|
3732
3798
|
{
|
|
3733
|
-
"name": "sd-4-6-
|
|
3734
|
-
"description": "The <sd-4-6-
|
|
3799
|
+
"name": "sd-4-6-10-optgroup",
|
|
3800
|
+
"description": "The <sd-4-6-10-optgroup> element creates a grouping for <sd-4-6-10-option>s within a <sd-4-6-10-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-4-6-10-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-6-10-option> elements.",
|
|
3735
3801
|
"doc-url": "",
|
|
3736
3802
|
"attributes": [
|
|
3737
3803
|
{
|
|
@@ -3758,7 +3824,7 @@
|
|
|
3758
3824
|
"slots": [
|
|
3759
3825
|
{
|
|
3760
3826
|
"name": "",
|
|
3761
|
-
"description": "The given options. Must be `<sd-4-6-
|
|
3827
|
+
"description": "The given options. Must be `<sd-4-6-10-option>` elements."
|
|
3762
3828
|
},
|
|
3763
3829
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
3764
3830
|
],
|
|
@@ -3790,18 +3856,18 @@
|
|
|
3790
3856
|
}
|
|
3791
3857
|
},
|
|
3792
3858
|
{
|
|
3793
|
-
"name": "sd-4-6-
|
|
3794
|
-
"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\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-6-
|
|
3859
|
+
"name": "sd-4-6-10-option",
|
|
3860
|
+
"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\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-6-10-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.",
|
|
3795
3861
|
"doc-url": "",
|
|
3796
3862
|
"attributes": [
|
|
3797
3863
|
{
|
|
3798
3864
|
"name": "size",
|
|
3799
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-6-
|
|
3865
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-6-10-select`.",
|
|
3800
3866
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
3801
3867
|
},
|
|
3802
3868
|
{
|
|
3803
3869
|
"name": "checkbox",
|
|
3804
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-6-
|
|
3870
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-6-10-select` when attribute `checklist` is set to `true`.",
|
|
3805
3871
|
"value": { "type": "boolean", "default": "false" }
|
|
3806
3872
|
},
|
|
3807
3873
|
{
|
|
@@ -3841,12 +3907,12 @@
|
|
|
3841
3907
|
"properties": [
|
|
3842
3908
|
{
|
|
3843
3909
|
"name": "size",
|
|
3844
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-6-
|
|
3910
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-6-10-select`.",
|
|
3845
3911
|
"type": "'lg' | 'md' | 'sm'"
|
|
3846
3912
|
},
|
|
3847
3913
|
{
|
|
3848
3914
|
"name": "checkbox",
|
|
3849
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-6-
|
|
3915
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-6-10-select` when attribute `checklist` is set to `true`.",
|
|
3850
3916
|
"type": "boolean"
|
|
3851
3917
|
},
|
|
3852
3918
|
{
|
|
@@ -3874,7 +3940,7 @@
|
|
|
3874
3940
|
}
|
|
3875
3941
|
},
|
|
3876
3942
|
{
|
|
3877
|
-
"name": "sd-4-6-
|
|
3943
|
+
"name": "sd-4-6-10-popup",
|
|
3878
3944
|
"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\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.",
|
|
3879
3945
|
"doc-url": "",
|
|
3880
3946
|
"attributes": [
|
|
@@ -4154,8 +4220,8 @@
|
|
|
4154
4220
|
}
|
|
4155
4221
|
},
|
|
4156
4222
|
{
|
|
4157
|
-
"name": "sd-4-6-
|
|
4158
|
-
"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\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-4-6-
|
|
4223
|
+
"name": "sd-4-6-10-quickfact",
|
|
4224
|
+
"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\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-4-6-10-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-6-10-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-6-10-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.",
|
|
4159
4225
|
"doc-url": "",
|
|
4160
4226
|
"attributes": [
|
|
4161
4227
|
{
|
|
@@ -4187,7 +4253,7 @@
|
|
|
4187
4253
|
"slots": [
|
|
4188
4254
|
{
|
|
4189
4255
|
"name": "icon",
|
|
4190
|
-
"description": "Optional icon to show in the header. Works best with `<sd-4-6-
|
|
4256
|
+
"description": "Optional icon to show in the header. Works best with `<sd-4-6-10-icon>`."
|
|
4191
4257
|
},
|
|
4192
4258
|
{ "name": "", "description": "The accordion main content." },
|
|
4193
4259
|
{
|
|
@@ -4196,11 +4262,11 @@
|
|
|
4196
4262
|
},
|
|
4197
4263
|
{
|
|
4198
4264
|
"name": "expand-icon",
|
|
4199
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-6-
|
|
4265
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
4200
4266
|
},
|
|
4201
4267
|
{
|
|
4202
4268
|
"name": "collapse-icon",
|
|
4203
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-6-
|
|
4269
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-6-10-icon>`."
|
|
4204
4270
|
}
|
|
4205
4271
|
],
|
|
4206
4272
|
"events": [
|
|
@@ -4272,7 +4338,7 @@
|
|
|
4272
4338
|
}
|
|
4273
4339
|
},
|
|
4274
4340
|
{
|
|
4275
|
-
"name": "sd-4-6-
|
|
4341
|
+
"name": "sd-4-6-10-radio",
|
|
4276
4342
|
"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\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.",
|
|
4277
4343
|
"doc-url": "",
|
|
4278
4344
|
"attributes": [
|
|
@@ -4374,7 +4440,7 @@
|
|
|
4374
4440
|
}
|
|
4375
4441
|
},
|
|
4376
4442
|
{
|
|
4377
|
-
"name": "sd-4-6-
|
|
4443
|
+
"name": "sd-4-6-10-radio-button",
|
|
4378
4444
|
"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\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.",
|
|
4379
4445
|
"doc-url": "",
|
|
4380
4446
|
"attributes": [
|
|
@@ -4469,8 +4535,8 @@
|
|
|
4469
4535
|
}
|
|
4470
4536
|
},
|
|
4471
4537
|
{
|
|
4472
|
-
"name": "sd-4-6-
|
|
4473
|
-
"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-6-
|
|
4538
|
+
"name": "sd-4-6-10-radio-group",
|
|
4539
|
+
"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-6-10-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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-6-10-radio>` or `<sd-4-6-10-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-6-10-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.",
|
|
4474
4540
|
"doc-url": "",
|
|
4475
4541
|
"attributes": [
|
|
4476
4542
|
{
|
|
@@ -4535,7 +4601,7 @@
|
|
|
4535
4601
|
"slots": [
|
|
4536
4602
|
{
|
|
4537
4603
|
"name": "",
|
|
4538
|
-
"description": "The default slot where `<sd-4-6-
|
|
4604
|
+
"description": "The default slot where `<sd-4-6-10-radio>` or `<sd-4-6-10-radio-button>` elements are placed."
|
|
4539
4605
|
},
|
|
4540
4606
|
{
|
|
4541
4607
|
"name": "label",
|
|
@@ -4547,7 +4613,7 @@
|
|
|
4547
4613
|
},
|
|
4548
4614
|
{
|
|
4549
4615
|
"name": "tooltip",
|
|
4550
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-6-
|
|
4616
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-6-10-tooltip` component."
|
|
4551
4617
|
}
|
|
4552
4618
|
],
|
|
4553
4619
|
"events": [
|
|
@@ -4556,7 +4622,7 @@
|
|
|
4556
4622
|
"description": "Emitted when the radio group's selected value changes."
|
|
4557
4623
|
},
|
|
4558
4624
|
{
|
|
4559
|
-
"name": "sd-4-6-
|
|
4625
|
+
"name": "sd-4-6-10-input",
|
|
4560
4626
|
"description": "Emitted when the radio group receives user input."
|
|
4561
4627
|
},
|
|
4562
4628
|
{
|
|
@@ -4636,7 +4702,7 @@
|
|
|
4636
4702
|
"description": "Emitted when the radio group's selected value changes."
|
|
4637
4703
|
},
|
|
4638
4704
|
{
|
|
4639
|
-
"name": "sd-4-6-
|
|
4705
|
+
"name": "sd-4-6-10-input",
|
|
4640
4706
|
"description": "Emitted when the radio group receives user input."
|
|
4641
4707
|
},
|
|
4642
4708
|
{
|
|
@@ -4647,7 +4713,7 @@
|
|
|
4647
4713
|
}
|
|
4648
4714
|
},
|
|
4649
4715
|
{
|
|
4650
|
-
"name": "sd-4-6-
|
|
4716
|
+
"name": "sd-4-6-10-scrollable",
|
|
4651
4717
|
"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\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.",
|
|
4652
4718
|
"doc-url": "",
|
|
4653
4719
|
"attributes": [
|
|
@@ -4808,8 +4874,8 @@
|
|
|
4808
4874
|
}
|
|
4809
4875
|
},
|
|
4810
4876
|
{
|
|
4811
|
-
"name": "sd-4-6-
|
|
4812
|
-
"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-6-
|
|
4877
|
+
"name": "sd-4-6-10-select",
|
|
4878
|
+
"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-6-10-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\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-6-10-option>` elements. You can use `<sd-4-6-10-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-6-10-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.",
|
|
4813
4879
|
"doc-url": "",
|
|
4814
4880
|
"attributes": [
|
|
4815
4881
|
{
|
|
@@ -4869,7 +4935,7 @@
|
|
|
4869
4935
|
},
|
|
4870
4936
|
{
|
|
4871
4937
|
"name": "useTags",
|
|
4872
|
-
"description": "Uses interactive `sd-4-6-
|
|
4938
|
+
"description": "Uses interactive `sd-4-6-10-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
4873
4939
|
"value": { "type": "boolean", "default": "false" }
|
|
4874
4940
|
},
|
|
4875
4941
|
{
|
|
@@ -4928,7 +4994,7 @@
|
|
|
4928
4994
|
"slots": [
|
|
4929
4995
|
{
|
|
4930
4996
|
"name": "",
|
|
4931
|
-
"description": "The listbox options. Must be `<sd-4-6-
|
|
4997
|
+
"description": "The listbox options. Must be `<sd-4-6-10-option>` elements. You can use `<sd-4-6-10-divider>` to group items visually."
|
|
4932
4998
|
},
|
|
4933
4999
|
{
|
|
4934
5000
|
"name": "label",
|
|
@@ -4948,7 +5014,7 @@
|
|
|
4948
5014
|
},
|
|
4949
5015
|
{
|
|
4950
5016
|
"name": "tooltip",
|
|
4951
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-6-
|
|
5017
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-6-10-tooltip` component."
|
|
4952
5018
|
}
|
|
4953
5019
|
],
|
|
4954
5020
|
"events": [
|
|
@@ -4961,7 +5027,7 @@
|
|
|
4961
5027
|
"description": "Emitted when the control's value is cleared."
|
|
4962
5028
|
},
|
|
4963
5029
|
{
|
|
4964
|
-
"name": "sd-4-6-
|
|
5030
|
+
"name": "sd-4-6-10-input",
|
|
4965
5031
|
"description": "Emitted when the control receives input."
|
|
4966
5032
|
},
|
|
4967
5033
|
{
|
|
@@ -5060,7 +5126,7 @@
|
|
|
5060
5126
|
},
|
|
5061
5127
|
{
|
|
5062
5128
|
"name": "useTags",
|
|
5063
|
-
"description": "Uses interactive `sd-4-6-
|
|
5129
|
+
"description": "Uses interactive `sd-4-6-10-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5064
5130
|
"type": "boolean"
|
|
5065
5131
|
},
|
|
5066
5132
|
{
|
|
@@ -5127,7 +5193,7 @@
|
|
|
5127
5193
|
"description": "Emitted when the control's value is cleared."
|
|
5128
5194
|
},
|
|
5129
5195
|
{
|
|
5130
|
-
"name": "sd-4-6-
|
|
5196
|
+
"name": "sd-4-6-10-input",
|
|
5131
5197
|
"description": "Emitted when the control receives input."
|
|
5132
5198
|
},
|
|
5133
5199
|
{
|
|
@@ -5162,7 +5228,7 @@
|
|
|
5162
5228
|
}
|
|
5163
5229
|
},
|
|
5164
5230
|
{
|
|
5165
|
-
"name": "sd-4-6-
|
|
5231
|
+
"name": "sd-4-6-10-spinner",
|
|
5166
5232
|
"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.",
|
|
5167
5233
|
"doc-url": "",
|
|
5168
5234
|
"attributes": [
|
|
@@ -5209,7 +5275,7 @@
|
|
|
5209
5275
|
}
|
|
5210
5276
|
},
|
|
5211
5277
|
{
|
|
5212
|
-
"name": "sd-4-6-
|
|
5278
|
+
"name": "sd-4-6-10-step",
|
|
5213
5279
|
"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\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.",
|
|
5214
5280
|
"doc-url": "",
|
|
5215
5281
|
"attributes": [
|
|
@@ -5372,8 +5438,8 @@
|
|
|
5372
5438
|
}
|
|
5373
5439
|
},
|
|
5374
5440
|
{
|
|
5375
|
-
"name": "sd-4-6-
|
|
5376
|
-
"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\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-4-6-
|
|
5441
|
+
"name": "sd-4-6-10-step-group",
|
|
5442
|
+
"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\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-4-6-10-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
5377
5443
|
"doc-url": "",
|
|
5378
5444
|
"attributes": [
|
|
5379
5445
|
{
|
|
@@ -5418,7 +5484,7 @@
|
|
|
5418
5484
|
"slots": [
|
|
5419
5485
|
{
|
|
5420
5486
|
"name": "",
|
|
5421
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-4-6-
|
|
5487
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-4-6-10-step>` elements."
|
|
5422
5488
|
}
|
|
5423
5489
|
],
|
|
5424
5490
|
"events": [],
|
|
@@ -5464,8 +5530,8 @@
|
|
|
5464
5530
|
}
|
|
5465
5531
|
},
|
|
5466
5532
|
{
|
|
5467
|
-
"name": "sd-4-6-
|
|
5468
|
-
"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-6-
|
|
5533
|
+
"name": "sd-4-6-10-switch",
|
|
5534
|
+
"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-6-10-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\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.",
|
|
5469
5535
|
"doc-url": "",
|
|
5470
5536
|
"attributes": [
|
|
5471
5537
|
{
|
|
@@ -5529,7 +5595,7 @@
|
|
|
5529
5595
|
"description": "Emitted when the switch gains focus."
|
|
5530
5596
|
},
|
|
5531
5597
|
{
|
|
5532
|
-
"name": "sd-4-6-
|
|
5598
|
+
"name": "sd-4-6-10-input",
|
|
5533
5599
|
"description": "Emitted when the switch receives input."
|
|
5534
5600
|
}
|
|
5535
5601
|
],
|
|
@@ -5604,14 +5670,14 @@
|
|
|
5604
5670
|
"description": "Emitted when the switch gains focus."
|
|
5605
5671
|
},
|
|
5606
5672
|
{
|
|
5607
|
-
"name": "sd-4-6-
|
|
5673
|
+
"name": "sd-4-6-10-input",
|
|
5608
5674
|
"description": "Emitted when the switch receives input."
|
|
5609
5675
|
}
|
|
5610
5676
|
]
|
|
5611
5677
|
}
|
|
5612
5678
|
},
|
|
5613
5679
|
{
|
|
5614
|
-
"name": "sd-4-6-
|
|
5680
|
+
"name": "sd-4-6-10-tab",
|
|
5615
5681
|
"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\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.",
|
|
5616
5682
|
"doc-url": "",
|
|
5617
5683
|
"attributes": [
|
|
@@ -5704,8 +5770,8 @@
|
|
|
5704
5770
|
}
|
|
5705
5771
|
},
|
|
5706
5772
|
{
|
|
5707
|
-
"name": "sd-4-6-
|
|
5708
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-6-
|
|
5773
|
+
"name": "sd-4-6-10-tab-group",
|
|
5774
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-6-10-tab-show** - Emitted when a tab is shown.\n- **sd-4-6-10-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\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-4-6-10-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-4-6-10-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.",
|
|
5709
5775
|
"doc-url": "",
|
|
5710
5776
|
"attributes": [
|
|
5711
5777
|
{
|
|
@@ -5727,21 +5793,21 @@
|
|
|
5727
5793
|
"slots": [
|
|
5728
5794
|
{
|
|
5729
5795
|
"name": "",
|
|
5730
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-6-
|
|
5796
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-6-10-tab-panel>` elements."
|
|
5731
5797
|
},
|
|
5732
5798
|
{
|
|
5733
5799
|
"name": "nav",
|
|
5734
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-6-
|
|
5800
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-6-10-tab>` elements."
|
|
5735
5801
|
}
|
|
5736
5802
|
],
|
|
5737
5803
|
"events": [
|
|
5738
5804
|
{
|
|
5739
|
-
"name": "sd-4-6-
|
|
5805
|
+
"name": "sd-4-6-10-tab-show",
|
|
5740
5806
|
"type": "{ name: String }",
|
|
5741
5807
|
"description": "Emitted when a tab is shown."
|
|
5742
5808
|
},
|
|
5743
5809
|
{
|
|
5744
|
-
"name": "sd-4-6-
|
|
5810
|
+
"name": "sd-4-6-10-tab-hide",
|
|
5745
5811
|
"type": "{ name: String }",
|
|
5746
5812
|
"description": "Emitted when a tab is hidden."
|
|
5747
5813
|
}
|
|
@@ -5767,12 +5833,12 @@
|
|
|
5767
5833
|
],
|
|
5768
5834
|
"events": [
|
|
5769
5835
|
{
|
|
5770
|
-
"name": "sd-4-6-
|
|
5836
|
+
"name": "sd-4-6-10-tab-show",
|
|
5771
5837
|
"type": "{ name: String }",
|
|
5772
5838
|
"description": "Emitted when a tab is shown."
|
|
5773
5839
|
},
|
|
5774
5840
|
{
|
|
5775
|
-
"name": "sd-4-6-
|
|
5841
|
+
"name": "sd-4-6-10-tab-hide",
|
|
5776
5842
|
"type": "{ name: String }",
|
|
5777
5843
|
"description": "Emitted when a tab is hidden."
|
|
5778
5844
|
}
|
|
@@ -5780,7 +5846,7 @@
|
|
|
5780
5846
|
}
|
|
5781
5847
|
},
|
|
5782
5848
|
{
|
|
5783
|
-
"name": "sd-4-6-
|
|
5849
|
+
"name": "sd-4-6-10-tab-panel",
|
|
5784
5850
|
"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\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.",
|
|
5785
5851
|
"doc-url": "",
|
|
5786
5852
|
"attributes": [
|
|
@@ -5834,7 +5900,7 @@
|
|
|
5834
5900
|
}
|
|
5835
5901
|
},
|
|
5836
5902
|
{
|
|
5837
|
-
"name": "sd-4-6-
|
|
5903
|
+
"name": "sd-4-6-10-tag",
|
|
5838
5904
|
"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\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- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\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.",
|
|
5839
5905
|
"doc-url": "",
|
|
5840
5906
|
"attributes": [
|
|
@@ -5980,7 +6046,7 @@
|
|
|
5980
6046
|
}
|
|
5981
6047
|
},
|
|
5982
6048
|
{
|
|
5983
|
-
"name": "sd-4-6-
|
|
6049
|
+
"name": "sd-4-6-10-teaser",
|
|
5984
6050
|
"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\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.",
|
|
5985
6051
|
"doc-url": "",
|
|
5986
6052
|
"attributes": [
|
|
@@ -6052,73 +6118,7 @@
|
|
|
6052
6118
|
}
|
|
6053
6119
|
},
|
|
6054
6120
|
{
|
|
6055
|
-
"name": "sd-4-6-
|
|
6056
|
-
"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\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.",
|
|
6057
|
-
"doc-url": "",
|
|
6058
|
-
"attributes": [
|
|
6059
|
-
{
|
|
6060
|
-
"name": "variant",
|
|
6061
|
-
"description": "The brandshape's theme variant.",
|
|
6062
|
-
"value": {
|
|
6063
|
-
"type": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'",
|
|
6064
|
-
"default": "'primary'"
|
|
6065
|
-
}
|
|
6066
|
-
},
|
|
6067
|
-
{
|
|
6068
|
-
"name": "shapes",
|
|
6069
|
-
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
6070
|
-
"value": {
|
|
6071
|
-
"type": "('top' | 'middle' | 'bottom')[]",
|
|
6072
|
-
"default": "['top', 'middle', 'bottom']"
|
|
6073
|
-
}
|
|
6074
|
-
},
|
|
6075
|
-
{
|
|
6076
|
-
"name": "dir",
|
|
6077
|
-
"description": "The element's directionality.",
|
|
6078
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6079
|
-
},
|
|
6080
|
-
{
|
|
6081
|
-
"name": "lang",
|
|
6082
|
-
"description": "The element's language.",
|
|
6083
|
-
"value": { "type": "string" }
|
|
6084
|
-
}
|
|
6085
|
-
],
|
|
6086
|
-
"slots": [
|
|
6087
|
-
{ "name": "", "description": "The content inside the brandshape." },
|
|
6088
|
-
{
|
|
6089
|
-
"name": "image",
|
|
6090
|
-
"description": "The image slot for the 'image' variant."
|
|
6091
|
-
}
|
|
6092
|
-
],
|
|
6093
|
-
"events": [],
|
|
6094
|
-
"js": {
|
|
6095
|
-
"properties": [
|
|
6096
|
-
{
|
|
6097
|
-
"name": "variant",
|
|
6098
|
-
"description": "The brandshape's theme variant.",
|
|
6099
|
-
"type": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'image'"
|
|
6100
|
-
},
|
|
6101
|
-
{
|
|
6102
|
-
"name": "shapes",
|
|
6103
|
-
"description": "Defines which shapes of the brandshape should be displayed.",
|
|
6104
|
-
"type": "('top' | 'middle' | 'bottom')[]"
|
|
6105
|
-
},
|
|
6106
|
-
{
|
|
6107
|
-
"name": "dir",
|
|
6108
|
-
"description": "The element's directionality.",
|
|
6109
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
6110
|
-
},
|
|
6111
|
-
{
|
|
6112
|
-
"name": "lang",
|
|
6113
|
-
"description": "The element's language.",
|
|
6114
|
-
"type": "string"
|
|
6115
|
-
}
|
|
6116
|
-
],
|
|
6117
|
-
"events": []
|
|
6118
|
-
}
|
|
6119
|
-
},
|
|
6120
|
-
{
|
|
6121
|
-
"name": "sd-4-6-9-teaser-media",
|
|
6121
|
+
"name": "sd-4-6-10-teaser-media",
|
|
6122
6122
|
"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\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.",
|
|
6123
6123
|
"doc-url": "",
|
|
6124
6124
|
"attributes": [
|
|
@@ -6174,8 +6174,8 @@
|
|
|
6174
6174
|
}
|
|
6175
6175
|
},
|
|
6176
6176
|
{
|
|
6177
|
-
"name": "sd-4-6-
|
|
6178
|
-
"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-6-
|
|
6177
|
+
"name": "sd-4-6-10-textarea",
|
|
6178
|
+
"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-6-10-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\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-6-10-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.",
|
|
6179
6179
|
"doc-url": "",
|
|
6180
6180
|
"attributes": [
|
|
6181
6181
|
{
|
|
@@ -6319,7 +6319,7 @@
|
|
|
6319
6319
|
},
|
|
6320
6320
|
{
|
|
6321
6321
|
"name": "tooltip",
|
|
6322
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-6-
|
|
6322
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-6-10-tooltip` component."
|
|
6323
6323
|
}
|
|
6324
6324
|
],
|
|
6325
6325
|
"events": [
|
|
@@ -6336,7 +6336,7 @@
|
|
|
6336
6336
|
"description": "Emitted when the control gains focus."
|
|
6337
6337
|
},
|
|
6338
6338
|
{
|
|
6339
|
-
"name": "sd-4-6-
|
|
6339
|
+
"name": "sd-4-6-10-input",
|
|
6340
6340
|
"description": "Emitted when the control receives input."
|
|
6341
6341
|
},
|
|
6342
6342
|
{
|
|
@@ -6499,7 +6499,7 @@
|
|
|
6499
6499
|
"description": "Emitted when the control gains focus."
|
|
6500
6500
|
},
|
|
6501
6501
|
{
|
|
6502
|
-
"name": "sd-4-6-
|
|
6502
|
+
"name": "sd-4-6-10-input",
|
|
6503
6503
|
"description": "Emitted when the control receives input."
|
|
6504
6504
|
},
|
|
6505
6505
|
{
|
|
@@ -6510,8 +6510,8 @@
|
|
|
6510
6510
|
}
|
|
6511
6511
|
},
|
|
6512
6512
|
{
|
|
6513
|
-
"name": "sd-4-6-
|
|
6514
|
-
"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\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-6-
|
|
6513
|
+
"name": "sd-4-6-10-tooltip",
|
|
6514
|
+
"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\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-6-10-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.",
|
|
6515
6515
|
"doc-url": "",
|
|
6516
6516
|
"attributes": [
|
|
6517
6517
|
{
|
|
@@ -6666,7 +6666,7 @@
|
|
|
6666
6666
|
}
|
|
6667
6667
|
},
|
|
6668
6668
|
{
|
|
6669
|
-
"name": "sd-4-6-
|
|
6669
|
+
"name": "sd-4-6-10-video",
|
|
6670
6670
|
"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\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.",
|
|
6671
6671
|
"doc-url": "",
|
|
6672
6672
|
"attributes": [
|