@solid-design-system/components 3.3.1 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/es/checkbox.js +1 -1
- package/dist/components/es/input.js +1 -1
- package/dist/components/es/option.js +1 -1
- package/dist/components/es/scrollable.js +1 -0
- package/dist/components/es/select.js +1 -1
- package/dist/components/es/solid-components2.js +1 -1
- package/dist/components/es/solid-element.js +3 -3
- package/dist/components/es/step-group.js +1 -0
- package/dist/components/es/step.js +1 -0
- package/dist/components/es/textarea.js +1 -1
- package/dist/components/umd/solid-components.js +19 -19
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/checkbox/checkbox.js +1 -1
- package/dist/package/components/icon/library.system.d.ts +1 -2
- package/dist/package/components/icon/library.system.js +2 -7
- package/dist/package/components/input/input.js +1 -1
- package/dist/package/components/option/option.js +1 -1
- package/dist/package/components/scrollable/scrollable.d.ts +28 -0
- package/dist/package/components/scrollable/scrollable.js +156 -0
- package/dist/package/components/select/select.js +1 -1
- package/dist/package/components/step/step.d.ts +27 -0
- package/dist/package/components/step/step.js +147 -0
- package/dist/package/components/step-group/step-group.d.ts +22 -0
- package/dist/package/components/step-group/step-group.js +127 -0
- package/dist/package/components/textarea/textarea.js +1 -1
- package/dist/package/solid-components.d.ts +3 -0
- package/dist/package/solid-components.js +30 -24
- package/dist/package/styles/paragraph/paragraph.css.js +4 -0
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/versioned-components/es/accordion-group.js +1 -1
- package/dist/versioned-components/es/accordion.js +1 -1
- package/dist/versioned-components/es/badge.js +1 -1
- package/dist/versioned-components/es/brandshape.js +1 -1
- package/dist/versioned-components/es/button.js +1 -1
- package/dist/versioned-components/es/carousel-item.js +1 -1
- package/dist/versioned-components/es/carousel.js +3 -3
- package/dist/versioned-components/es/checkbox-group.js +1 -1
- package/dist/versioned-components/es/checkbox.js +1 -1
- package/dist/versioned-components/es/dialog.js +1 -1
- package/dist/versioned-components/es/divider.js +1 -1
- package/dist/versioned-components/es/drawer.js +1 -1
- package/dist/versioned-components/es/dropdown.js +1 -1
- package/dist/versioned-components/es/form.js +1 -1
- package/dist/versioned-components/es/header.js +1 -1
- package/dist/versioned-components/es/icon.js +1 -1
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/input.js +1 -1
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/map-marker.js +1 -1
- package/dist/versioned-components/es/navigation-item.js +1 -1
- package/dist/versioned-components/es/notification.js +1 -1
- package/dist/versioned-components/es/option.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/radio-button.js +1 -1
- package/dist/versioned-components/es/radio-group.js +1 -1
- package/dist/versioned-components/es/radio.js +1 -1
- package/dist/versioned-components/es/scrollable.js +1 -0
- package/dist/versioned-components/es/select.js +3 -3
- package/dist/versioned-components/es/solid-components2.js +1 -1
- package/dist/versioned-components/es/solid-element.js +3 -3
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/step-group.js +1 -0
- package/dist/versioned-components/es/step.js +1 -0
- package/dist/versioned-components/es/switch.js +1 -1
- package/dist/versioned-components/es/tab-group.js +1 -1
- package/dist/versioned-components/es/tab-panel.js +1 -1
- package/dist/versioned-components/es/tab.js +1 -1
- package/dist/versioned-components/es/tag.js +1 -1
- package/dist/versioned-components/es/teaser-media.js +1 -1
- package/dist/versioned-components/es/teaser.js +1 -1
- package/dist/versioned-components/es/textarea.js +1 -1
- package/dist/versioned-components/es/tooltip.js +2 -2
- package/dist/versioned-components/es/video.js +1 -1
- package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
- package/dist/versioned-package/_components/button-group/button-group.js +11 -11
- package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
- package/dist/versioned-package/components/accordion/accordion.js +2 -2
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
- package/dist/versioned-package/components/badge/badge.d.ts +1 -1
- package/dist/versioned-package/components/badge/badge.js +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
- package/dist/versioned-package/components/button/button.d.ts +1 -1
- package/dist/versioned-package/components/button/button.js +4 -4
- package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
- package/dist/versioned-package/components/carousel/carousel.js +6 -6
- package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
- package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
- package/dist/versioned-package/components/checkbox/checkbox.js +3 -3
- package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
- package/dist/versioned-package/components/dialog/dialog.d.ts +1 -1
- package/dist/versioned-package/components/dialog/dialog.js +2 -2
- package/dist/versioned-package/components/divider/divider.d.ts +1 -1
- package/dist/versioned-package/components/divider/divider.js +2 -2
- package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
- package/dist/versioned-package/components/drawer/drawer.js +2 -2
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
- package/dist/versioned-package/components/dropdown/dropdown.js +8 -8
- package/dist/versioned-package/components/header/header.d.ts +1 -1
- package/dist/versioned-package/components/header/header.js +4 -4
- package/dist/versioned-package/components/icon/icon.d.ts +1 -1
- package/dist/versioned-package/components/icon/icon.js +1 -1
- package/dist/versioned-package/components/icon/library.system.d.ts +1 -2
- package/dist/versioned-package/components/icon/library.system.js +2 -7
- package/dist/versioned-package/components/include/include.d.ts +1 -1
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/input/input.d.ts +1 -1
- package/dist/versioned-package/components/input/input.js +2 -2
- package/dist/versioned-package/components/link/link.d.ts +1 -1
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/map-marker/map-marker.d.ts +1 -1
- package/dist/versioned-package/components/map-marker/map-marker.js +1 -1
- package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
- package/dist/versioned-package/components/notification/notification.d.ts +1 -1
- package/dist/versioned-package/components/notification/notification.js +5 -5
- package/dist/versioned-package/components/option/option.d.ts +1 -1
- package/dist/versioned-package/components/option/option.js +2 -2
- package/dist/versioned-package/components/popup/popup.d.ts +1 -1
- package/dist/versioned-package/components/popup/popup.js +1 -1
- package/dist/versioned-package/components/radio/radio.d.ts +1 -1
- package/dist/versioned-package/components/radio/radio.js +2 -2
- package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
- package/dist/versioned-package/components/radio-button/radio-button.js +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.js +13 -13
- package/dist/versioned-package/components/scrollable/scrollable.d.ts +28 -0
- package/dist/versioned-package/components/scrollable/scrollable.js +156 -0
- package/dist/versioned-package/components/select/select.d.ts +4 -4
- package/dist/versioned-package/components/select/select.js +25 -25
- package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
- package/dist/versioned-package/components/spinner/spinner.js +1 -1
- package/dist/versioned-package/components/step/step.d.ts +27 -0
- package/dist/versioned-package/components/step/step.js +147 -0
- package/dist/versioned-package/components/step-group/step-group.d.ts +22 -0
- package/dist/versioned-package/components/step-group/step-group.js +127 -0
- package/dist/versioned-package/components/switch/switch.d.ts +1 -1
- package/dist/versioned-package/components/switch/switch.js +1 -1
- package/dist/versioned-package/components/tab/tab.d.ts +1 -1
- package/dist/versioned-package/components/tab/tab.js +2 -2
- package/dist/versioned-package/components/tab-group/tab-group.d.ts +1 -1
- package/dist/versioned-package/components/tab-group/tab-group.js +13 -13
- package/dist/versioned-package/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/versioned-package/components/tab-panel/tab-panel.js +2 -2
- package/dist/versioned-package/components/tag/tag.d.ts +1 -1
- package/dist/versioned-package/components/tag/tag.js +2 -2
- package/dist/versioned-package/components/teaser/teaser.js +1 -1
- package/dist/versioned-package/components/teaser-media/teaser-media.js +1 -1
- package/dist/versioned-package/components/textarea/textarea.d.ts +1 -1
- package/dist/versioned-package/components/textarea/textarea.js +2 -2
- package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
- package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
- package/dist/versioned-package/components/video/video.d.ts +1 -1
- package/dist/versioned-package/components/video/video.js +2 -2
- package/dist/versioned-package/internal/form.js +3 -3
- package/dist/versioned-package/solid-components.d.ts +3 -0
- package/dist/versioned-package/solid-components.js +30 -24
- package/dist/versioned-package/styles/headline/headline.css.js +1 -1
- package/dist/versioned-package/styles/paragraph/paragraph.css.js +4 -0
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-package/utilities/autocomplete-config.js +4 -4
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +356 -38
- package/dist/web-types.json +1019 -139
- package/package.json +3 -3
|
@@ -1608,6 +1608,53 @@
|
|
|
1608
1608
|
],
|
|
1609
1609
|
"references": []
|
|
1610
1610
|
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "sd-scrollable",
|
|
1613
|
+
"description": "Scrollable is used to indicate there is hidden content to be scrolled.\n\n\n---\n\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** - undefined\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### **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.",
|
|
1614
|
+
"attributes": [
|
|
1615
|
+
{
|
|
1616
|
+
"name": "orientation",
|
|
1617
|
+
"description": "Defines the scroll orientation",
|
|
1618
|
+
"values": [
|
|
1619
|
+
{
|
|
1620
|
+
"name": "horizontal"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"name": "vertical"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "auto"
|
|
1627
|
+
}
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "buttons",
|
|
1632
|
+
"description": "Activates scroll buttons",
|
|
1633
|
+
"values": []
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "step",
|
|
1637
|
+
"description": "The amount in px to be scrolled when clicking the buttons.",
|
|
1638
|
+
"values": []
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "scrollbars",
|
|
1642
|
+
"description": "Activates browser scrollbars",
|
|
1643
|
+
"values": []
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "shadows",
|
|
1647
|
+
"description": "Activates a shadow as optional visual scroll indicator",
|
|
1648
|
+
"values": []
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "inset",
|
|
1652
|
+
"description": "Adds inset padding",
|
|
1653
|
+
"values": []
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
"references": []
|
|
1657
|
+
},
|
|
1611
1658
|
{
|
|
1612
1659
|
"name": "sd-select",
|
|
1613
1660
|
"description": "Selects allow you to choose items from a menu of predefined options.\n\n\n---\n\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-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\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-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\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.",
|
|
@@ -1755,6 +1802,118 @@
|
|
|
1755
1802
|
],
|
|
1756
1803
|
"references": []
|
|
1757
1804
|
},
|
|
1805
|
+
{
|
|
1806
|
+
"name": "sd-step-group",
|
|
1807
|
+
"description": "Used as navigation bar that guides users through the steps of a process or task.\n\n\n---\n\n\n\n\n### **Methods:**\n - **setActiveStep(index: _number_)** - Sets the active step.\n\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
1808
|
+
"attributes": [
|
|
1809
|
+
{
|
|
1810
|
+
"name": "size",
|
|
1811
|
+
"description": "The step-groups's size.",
|
|
1812
|
+
"values": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "lg"
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"name": "sm"
|
|
1818
|
+
}
|
|
1819
|
+
]
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"name": "orientation",
|
|
1823
|
+
"description": "Determines the orientation of the step-group.",
|
|
1824
|
+
"values": [
|
|
1825
|
+
{
|
|
1826
|
+
"name": "horizontal"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "vertical"
|
|
1830
|
+
}
|
|
1831
|
+
]
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"name": "active-step",
|
|
1835
|
+
"description": "The active step in the step-group.",
|
|
1836
|
+
"values": []
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"name": "not-interactive",
|
|
1840
|
+
"description": "Determines if the step-group is not interactive.",
|
|
1841
|
+
"values": []
|
|
1842
|
+
}
|
|
1843
|
+
],
|
|
1844
|
+
"references": []
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "sd-step",
|
|
1848
|
+
"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\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### **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.",
|
|
1849
|
+
"attributes": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "size",
|
|
1852
|
+
"description": "The step's size.",
|
|
1853
|
+
"values": [
|
|
1854
|
+
{
|
|
1855
|
+
"name": "lg"
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"name": "sm"
|
|
1859
|
+
}
|
|
1860
|
+
]
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "orientation",
|
|
1864
|
+
"description": "Determines the orientation of the step.",
|
|
1865
|
+
"values": [
|
|
1866
|
+
{
|
|
1867
|
+
"name": "horizontal"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"name": "vertical"
|
|
1871
|
+
}
|
|
1872
|
+
]
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "disabled",
|
|
1876
|
+
"description": "Sets the step to a disabled state.",
|
|
1877
|
+
"values": []
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "current",
|
|
1881
|
+
"description": "Sets the step to an active state.",
|
|
1882
|
+
"values": []
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"name": "no-tail",
|
|
1886
|
+
"description": "Removes the tail from the step.",
|
|
1887
|
+
"values": []
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "not-interactive",
|
|
1891
|
+
"description": "Determines if the step is not interactive.",
|
|
1892
|
+
"values": []
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "label",
|
|
1896
|
+
"description": "The step's label overwriting the `label` slot. Use the `label` slot for complex label content.",
|
|
1897
|
+
"values": []
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "description",
|
|
1901
|
+
"description": "The step's description overwriting the `description` slot. Use the `description` slot for complex description content.",
|
|
1902
|
+
"values": []
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"name": "index",
|
|
1906
|
+
"description": "The step's number in a step-group",
|
|
1907
|
+
"values": []
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "href",
|
|
1911
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1912
|
+
"values": []
|
|
1913
|
+
}
|
|
1914
|
+
],
|
|
1915
|
+
"references": []
|
|
1916
|
+
},
|
|
1758
1917
|
{
|
|
1759
1918
|
"name": "sd-switch",
|
|
1760
1919
|
"description": "Switches allow the user to toggle an option on or off.\n\n\n---\n\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-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\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.",
|
|
@@ -2269,7 +2428,7 @@
|
|
|
2269
2428
|
"references": []
|
|
2270
2429
|
},
|
|
2271
2430
|
{
|
|
2272
|
-
"name": "sd-3-
|
|
2431
|
+
"name": "sd-3-5-0-accordion-group",
|
|
2273
2432
|
"description": "Short summary of the component's intended use.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<sd-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2274
2433
|
"attributes": [
|
|
2275
2434
|
{
|
|
@@ -2281,7 +2440,7 @@
|
|
|
2281
2440
|
"references": []
|
|
2282
2441
|
},
|
|
2283
2442
|
{
|
|
2284
|
-
"name": "sd-3-
|
|
2443
|
+
"name": "sd-3-5-0-accordion",
|
|
2285
2444
|
"description": "Accordion shows a brief summary and expands to show additional content.\n\n\n---\n\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\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-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-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.",
|
|
2286
2445
|
"attributes": [
|
|
2287
2446
|
{
|
|
@@ -2298,7 +2457,7 @@
|
|
|
2298
2457
|
"references": []
|
|
2299
2458
|
},
|
|
2300
2459
|
{
|
|
2301
|
-
"name": "sd-3-
|
|
2460
|
+
"name": "sd-3-5-0-badge",
|
|
2302
2461
|
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\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.",
|
|
2303
2462
|
"attributes": [
|
|
2304
2463
|
{
|
|
@@ -2340,7 +2499,7 @@
|
|
|
2340
2499
|
"references": []
|
|
2341
2500
|
},
|
|
2342
2501
|
{
|
|
2343
|
-
"name": "sd-3-
|
|
2502
|
+
"name": "sd-3-5-0-brandshape",
|
|
2344
2503
|
"description": "The Brandshape highlights a piece of content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\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.",
|
|
2345
2504
|
"attributes": [
|
|
2346
2505
|
{
|
|
@@ -2377,7 +2536,7 @@
|
|
|
2377
2536
|
"references": []
|
|
2378
2537
|
},
|
|
2379
2538
|
{
|
|
2380
|
-
"name": "sd-3-
|
|
2539
|
+
"name": "sd-3-5-0-button",
|
|
2381
2540
|
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\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\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.",
|
|
2382
2541
|
"attributes": [
|
|
2383
2542
|
{
|
|
@@ -2549,13 +2708,13 @@
|
|
|
2549
2708
|
"references": []
|
|
2550
2709
|
},
|
|
2551
2710
|
{
|
|
2552
|
-
"name": "sd-3-
|
|
2711
|
+
"name": "sd-3-5-0-carousel-item",
|
|
2553
2712
|
"description": "A carousel item represent a slide within a [carousel](/components/carousel).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
2554
2713
|
"attributes": [],
|
|
2555
2714
|
"references": []
|
|
2556
2715
|
},
|
|
2557
2716
|
{
|
|
2558
|
-
"name": "sd-3-
|
|
2717
|
+
"name": "sd-3-5-0-carousel",
|
|
2559
2718
|
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\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\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-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.",
|
|
2560
2719
|
"attributes": [
|
|
2561
2720
|
{
|
|
@@ -2599,7 +2758,7 @@
|
|
|
2599
2758
|
"references": []
|
|
2600
2759
|
},
|
|
2601
2760
|
{
|
|
2602
|
-
"name": "sd-3-
|
|
2761
|
+
"name": "sd-3-5-0-checkbox-group",
|
|
2603
2762
|
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<sd-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
2604
2763
|
"attributes": [
|
|
2605
2764
|
{
|
|
@@ -2635,7 +2794,7 @@
|
|
|
2635
2794
|
"references": []
|
|
2636
2795
|
},
|
|
2637
2796
|
{
|
|
2638
|
-
"name": "sd-3-
|
|
2797
|
+
"name": "sd-3-5-0-checkbox",
|
|
2639
2798
|
"description": "Checkboxes allow the user to toggle an option on or off.\n\n\n---\n\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-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\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-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
2640
2799
|
"attributes": [
|
|
2641
2800
|
{
|
|
@@ -2693,7 +2852,7 @@
|
|
|
2693
2852
|
"references": []
|
|
2694
2853
|
},
|
|
2695
2854
|
{
|
|
2696
|
-
"name": "sd-3-
|
|
2855
|
+
"name": "sd-3-5-0-dialog",
|
|
2697
2856
|
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n\n\n---\n\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\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-button>` and `<sd-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-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
2698
2857
|
"attributes": [
|
|
2699
2858
|
{
|
|
@@ -2715,7 +2874,7 @@
|
|
|
2715
2874
|
"references": []
|
|
2716
2875
|
},
|
|
2717
2876
|
{
|
|
2718
|
-
"name": "sd-3-
|
|
2877
|
+
"name": "sd-3-5-0-divider",
|
|
2719
2878
|
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
2720
2879
|
"attributes": [
|
|
2721
2880
|
{
|
|
@@ -2739,7 +2898,7 @@
|
|
|
2739
2898
|
"references": []
|
|
2740
2899
|
},
|
|
2741
2900
|
{
|
|
2742
|
-
"name": "sd-3-
|
|
2901
|
+
"name": "sd-3-5-0-drawer",
|
|
2743
2902
|
"description": "Drawers slide in from a container to expose additional options and information.\n\n\n---\n\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\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-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
2744
2903
|
"attributes": [
|
|
2745
2904
|
{
|
|
@@ -2778,7 +2937,7 @@
|
|
|
2778
2937
|
"references": []
|
|
2779
2938
|
},
|
|
2780
2939
|
{
|
|
2781
|
-
"name": "sd-3-
|
|
2940
|
+
"name": "sd-3-5-0-dropdown",
|
|
2782
2941
|
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n\n\n---\n\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 - **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\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-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.",
|
|
2783
2942
|
"attributes": [
|
|
2784
2943
|
{
|
|
@@ -2875,7 +3034,7 @@
|
|
|
2875
3034
|
"references": []
|
|
2876
3035
|
},
|
|
2877
3036
|
{
|
|
2878
|
-
"name": "sd-3-
|
|
3037
|
+
"name": "sd-3-5-0-header",
|
|
2879
3038
|
"description": "Header\n\n\n---\n\n\n\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.",
|
|
2880
3039
|
"attributes": [
|
|
2881
3040
|
{
|
|
@@ -2887,7 +3046,7 @@
|
|
|
2887
3046
|
"references": []
|
|
2888
3047
|
},
|
|
2889
3048
|
{
|
|
2890
|
-
"name": "sd-3-
|
|
3049
|
+
"name": "sd-3-5-0-icon",
|
|
2891
3050
|
"description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\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.",
|
|
2892
3051
|
"attributes": [
|
|
2893
3052
|
{
|
|
@@ -2929,7 +3088,7 @@
|
|
|
2929
3088
|
"references": []
|
|
2930
3089
|
},
|
|
2931
3090
|
{
|
|
2932
|
-
"name": "sd-3-
|
|
3091
|
+
"name": "sd-3-5-0-include",
|
|
2933
3092
|
"description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\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.",
|
|
2934
3093
|
"attributes": [
|
|
2935
3094
|
{
|
|
@@ -2961,7 +3120,7 @@
|
|
|
2961
3120
|
"references": []
|
|
2962
3121
|
},
|
|
2963
3122
|
{
|
|
2964
|
-
"name": "sd-3-
|
|
3123
|
+
"name": "sd-3-5-0-input",
|
|
2965
3124
|
"description": "Inputs collect data from the user.\n\n\n---\n\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-input** - Emitted when the control receives input.\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\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\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.",
|
|
2966
3125
|
"attributes": [
|
|
2967
3126
|
{
|
|
@@ -3239,7 +3398,7 @@
|
|
|
3239
3398
|
"references": []
|
|
3240
3399
|
},
|
|
3241
3400
|
{
|
|
3242
|
-
"name": "sd-3-
|
|
3401
|
+
"name": "sd-3-5-0-link",
|
|
3243
3402
|
"description": "A link component.\n\n\n---\n\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\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.",
|
|
3244
3403
|
"attributes": [
|
|
3245
3404
|
{
|
|
@@ -3299,7 +3458,7 @@
|
|
|
3299
3458
|
"references": []
|
|
3300
3459
|
},
|
|
3301
3460
|
{
|
|
3302
|
-
"name": "sd-3-
|
|
3461
|
+
"name": "sd-3-5-0-map-marker",
|
|
3303
3462
|
"description": "A marker identifies a location on google map\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The marker's content.\n\n### **CSS Properties:**\n - **--map-marker-scaling** - Scale the marker size. _(default: undefined)_",
|
|
3304
3463
|
"attributes": [
|
|
3305
3464
|
{
|
|
@@ -3341,7 +3500,7 @@
|
|
|
3341
3500
|
"references": []
|
|
3342
3501
|
},
|
|
3343
3502
|
{
|
|
3344
|
-
"name": "sd-3-
|
|
3503
|
+
"name": "sd-3-5-0-navigation-item",
|
|
3345
3504
|
"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\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### **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.",
|
|
3346
3505
|
"attributes": [
|
|
3347
3506
|
{
|
|
@@ -3431,7 +3590,7 @@
|
|
|
3431
3590
|
"references": []
|
|
3432
3591
|
},
|
|
3433
3592
|
{
|
|
3434
|
-
"name": "sd-3-
|
|
3593
|
+
"name": "sd-3-5-0-notification",
|
|
3435
3594
|
"description": "Alerts are used to display important messages inline or as toast notifications.\n\n\n---\n\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\n### **Slots:**\n - _default_ - The sd-notification's main content.\n- **icon** - An icon to show in the sd-notification. Works best with `<sd-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-icon-button>`.",
|
|
3436
3595
|
"attributes": [
|
|
3437
3596
|
{
|
|
@@ -3488,7 +3647,7 @@
|
|
|
3488
3647
|
"references": []
|
|
3489
3648
|
},
|
|
3490
3649
|
{
|
|
3491
|
-
"name": "sd-3-
|
|
3650
|
+
"name": "sd-3-5-0-option",
|
|
3492
3651
|
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n\n\n---\n\n\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\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-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.",
|
|
3493
3652
|
"attributes": [
|
|
3494
3653
|
{
|
|
@@ -3525,7 +3684,7 @@
|
|
|
3525
3684
|
"references": []
|
|
3526
3685
|
},
|
|
3527
3686
|
{
|
|
3528
|
-
"name": "sd-3-
|
|
3687
|
+
"name": "sd-3-5-0-popup",
|
|
3529
3688
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\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\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.",
|
|
3530
3689
|
"attributes": [
|
|
3531
3690
|
{
|
|
@@ -3749,7 +3908,7 @@
|
|
|
3749
3908
|
"references": []
|
|
3750
3909
|
},
|
|
3751
3910
|
{
|
|
3752
|
-
"name": "sd-3-
|
|
3911
|
+
"name": "sd-3-5-0-radio-button",
|
|
3753
3912
|
"description": "Radio buttons allow the user to select a single option from a group using a button-like control.\n\n\n---\n\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\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.",
|
|
3754
3913
|
"attributes": [
|
|
3755
3914
|
{
|
|
@@ -3781,7 +3940,7 @@
|
|
|
3781
3940
|
"references": []
|
|
3782
3941
|
},
|
|
3783
3942
|
{
|
|
3784
|
-
"name": "sd-3-
|
|
3943
|
+
"name": "sd-3-5-0-radio-group",
|
|
3785
3944
|
"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\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-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\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\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.",
|
|
3786
3945
|
"attributes": [
|
|
3787
3946
|
{
|
|
@@ -3842,7 +4001,7 @@
|
|
|
3842
4001
|
"references": []
|
|
3843
4002
|
},
|
|
3844
4003
|
{
|
|
3845
|
-
"name": "sd-3-
|
|
4004
|
+
"name": "sd-3-5-0-radio",
|
|
3846
4005
|
"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\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### **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.",
|
|
3847
4006
|
"attributes": [
|
|
3848
4007
|
{
|
|
@@ -3876,7 +4035,54 @@
|
|
|
3876
4035
|
"references": []
|
|
3877
4036
|
},
|
|
3878
4037
|
{
|
|
3879
|
-
"name": "sd-3-
|
|
4038
|
+
"name": "sd-3-5-0-scrollable",
|
|
4039
|
+
"description": "Scrollable is used to indicate there is hidden content to be scrolled.\n\n\n---\n\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** - undefined\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### **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.",
|
|
4040
|
+
"attributes": [
|
|
4041
|
+
{
|
|
4042
|
+
"name": "orientation",
|
|
4043
|
+
"description": "Defines the scroll orientation",
|
|
4044
|
+
"values": [
|
|
4045
|
+
{
|
|
4046
|
+
"name": "horizontal"
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"name": "vertical"
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
"name": "auto"
|
|
4053
|
+
}
|
|
4054
|
+
]
|
|
4055
|
+
},
|
|
4056
|
+
{
|
|
4057
|
+
"name": "buttons",
|
|
4058
|
+
"description": "Activates scroll buttons",
|
|
4059
|
+
"values": []
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
"name": "step",
|
|
4063
|
+
"description": "The amount in px to be scrolled when clicking the buttons.",
|
|
4064
|
+
"values": []
|
|
4065
|
+
},
|
|
4066
|
+
{
|
|
4067
|
+
"name": "scrollbars",
|
|
4068
|
+
"description": "Activates browser scrollbars",
|
|
4069
|
+
"values": []
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"name": "shadows",
|
|
4073
|
+
"description": "Activates a shadow as optional visual scroll indicator",
|
|
4074
|
+
"values": []
|
|
4075
|
+
},
|
|
4076
|
+
{
|
|
4077
|
+
"name": "inset",
|
|
4078
|
+
"description": "Adds inset padding",
|
|
4079
|
+
"values": []
|
|
4080
|
+
}
|
|
4081
|
+
],
|
|
4082
|
+
"references": []
|
|
4083
|
+
},
|
|
4084
|
+
{
|
|
4085
|
+
"name": "sd-3-5-0-select",
|
|
3880
4086
|
"description": "Selects allow you to choose items from a menu of predefined options.\n\n\n---\n\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-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\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-option>` elements. You can use `<sd-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\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.",
|
|
3881
4087
|
"attributes": [
|
|
3882
4088
|
{
|
|
@@ -4001,7 +4207,7 @@
|
|
|
4001
4207
|
"references": []
|
|
4002
4208
|
},
|
|
4003
4209
|
{
|
|
4004
|
-
"name": "sd-3-
|
|
4210
|
+
"name": "sd-3-5-0-spinner",
|
|
4005
4211
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
|
|
4006
4212
|
"attributes": [
|
|
4007
4213
|
{
|
|
@@ -4023,7 +4229,119 @@
|
|
|
4023
4229
|
"references": []
|
|
4024
4230
|
},
|
|
4025
4231
|
{
|
|
4026
|
-
"name": "sd-3-
|
|
4232
|
+
"name": "sd-3-5-0-step-group",
|
|
4233
|
+
"description": "Used as navigation bar that guides users through the steps of a process or task.\n\n\n---\n\n\n\n\n### **Methods:**\n - **setActiveStep(index: _number_)** - Sets the active step.\n\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
4234
|
+
"attributes": [
|
|
4235
|
+
{
|
|
4236
|
+
"name": "size",
|
|
4237
|
+
"description": "The step-groups's size.",
|
|
4238
|
+
"values": [
|
|
4239
|
+
{
|
|
4240
|
+
"name": "lg"
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
"name": "sm"
|
|
4244
|
+
}
|
|
4245
|
+
]
|
|
4246
|
+
},
|
|
4247
|
+
{
|
|
4248
|
+
"name": "orientation",
|
|
4249
|
+
"description": "Determines the orientation of the step-group.",
|
|
4250
|
+
"values": [
|
|
4251
|
+
{
|
|
4252
|
+
"name": "horizontal"
|
|
4253
|
+
},
|
|
4254
|
+
{
|
|
4255
|
+
"name": "vertical"
|
|
4256
|
+
}
|
|
4257
|
+
]
|
|
4258
|
+
},
|
|
4259
|
+
{
|
|
4260
|
+
"name": "active-step",
|
|
4261
|
+
"description": "The active step in the step-group.",
|
|
4262
|
+
"values": []
|
|
4263
|
+
},
|
|
4264
|
+
{
|
|
4265
|
+
"name": "not-interactive",
|
|
4266
|
+
"description": "Determines if the step-group is not interactive.",
|
|
4267
|
+
"values": []
|
|
4268
|
+
}
|
|
4269
|
+
],
|
|
4270
|
+
"references": []
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
"name": "sd-3-5-0-step",
|
|
4274
|
+
"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\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### **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.",
|
|
4275
|
+
"attributes": [
|
|
4276
|
+
{
|
|
4277
|
+
"name": "size",
|
|
4278
|
+
"description": "The step's size.",
|
|
4279
|
+
"values": [
|
|
4280
|
+
{
|
|
4281
|
+
"name": "lg"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
"name": "sm"
|
|
4285
|
+
}
|
|
4286
|
+
]
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
"name": "orientation",
|
|
4290
|
+
"description": "Determines the orientation of the step.",
|
|
4291
|
+
"values": [
|
|
4292
|
+
{
|
|
4293
|
+
"name": "horizontal"
|
|
4294
|
+
},
|
|
4295
|
+
{
|
|
4296
|
+
"name": "vertical"
|
|
4297
|
+
}
|
|
4298
|
+
]
|
|
4299
|
+
},
|
|
4300
|
+
{
|
|
4301
|
+
"name": "disabled",
|
|
4302
|
+
"description": "Sets the step to a disabled state.",
|
|
4303
|
+
"values": []
|
|
4304
|
+
},
|
|
4305
|
+
{
|
|
4306
|
+
"name": "current",
|
|
4307
|
+
"description": "Sets the step to an active state.",
|
|
4308
|
+
"values": []
|
|
4309
|
+
},
|
|
4310
|
+
{
|
|
4311
|
+
"name": "no-tail",
|
|
4312
|
+
"description": "Removes the tail from the step.",
|
|
4313
|
+
"values": []
|
|
4314
|
+
},
|
|
4315
|
+
{
|
|
4316
|
+
"name": "not-interactive",
|
|
4317
|
+
"description": "Determines if the step is not interactive.",
|
|
4318
|
+
"values": []
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
"name": "label",
|
|
4322
|
+
"description": "The step's label overwriting the `label` slot. Use the `label` slot for complex label content.",
|
|
4323
|
+
"values": []
|
|
4324
|
+
},
|
|
4325
|
+
{
|
|
4326
|
+
"name": "description",
|
|
4327
|
+
"description": "The step's description overwriting the `description` slot. Use the `description` slot for complex description content.",
|
|
4328
|
+
"values": []
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"name": "index",
|
|
4332
|
+
"description": "The step's number in a step-group",
|
|
4333
|
+
"values": []
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"name": "href",
|
|
4337
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
4338
|
+
"values": []
|
|
4339
|
+
}
|
|
4340
|
+
],
|
|
4341
|
+
"references": []
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "sd-3-5-0-switch",
|
|
4027
4345
|
"description": "Switches allow the user to toggle an option on or off.\n\n\n---\n\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-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\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.",
|
|
4028
4346
|
"attributes": [
|
|
4029
4347
|
{
|
|
@@ -4065,7 +4383,7 @@
|
|
|
4065
4383
|
"references": []
|
|
4066
4384
|
},
|
|
4067
4385
|
{
|
|
4068
|
-
"name": "sd-3-
|
|
4386
|
+
"name": "sd-3-5-0-tab-group",
|
|
4069
4387
|
"description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **setActiveTab(tab: _SdTab_, options: _{ emitEvents?: boolean; scrollBehavior?: 'auto' | 'smooth' }_)** - Sets the active tab and panel.\n- **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-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.",
|
|
4070
4388
|
"attributes": [
|
|
4071
4389
|
{
|
|
@@ -4084,7 +4402,7 @@
|
|
|
4084
4402
|
"references": []
|
|
4085
4403
|
},
|
|
4086
4404
|
{
|
|
4087
|
-
"name": "sd-3-
|
|
4405
|
+
"name": "sd-3-5-0-tab-panel",
|
|
4088
4406
|
"description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n\n\n---\n\n\n\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.",
|
|
4089
4407
|
"attributes": [
|
|
4090
4408
|
{
|
|
@@ -4101,7 +4419,7 @@
|
|
|
4101
4419
|
"references": []
|
|
4102
4420
|
},
|
|
4103
4421
|
{
|
|
4104
|
-
"name": "sd-3-
|
|
4422
|
+
"name": "sd-3-5-0-tab",
|
|
4105
4423
|
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n\n\n---\n\n\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\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.",
|
|
4106
4424
|
"attributes": [
|
|
4107
4425
|
{
|
|
@@ -4135,7 +4453,7 @@
|
|
|
4135
4453
|
"references": []
|
|
4136
4454
|
},
|
|
4137
4455
|
{
|
|
4138
|
-
"name": "sd-3-
|
|
4456
|
+
"name": "sd-3-5-0-tag",
|
|
4139
4457
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\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\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.",
|
|
4140
4458
|
"attributes": [
|
|
4141
4459
|
{
|
|
@@ -4197,7 +4515,7 @@
|
|
|
4197
4515
|
"references": []
|
|
4198
4516
|
},
|
|
4199
4517
|
{
|
|
4200
|
-
"name": "sd-3-
|
|
4518
|
+
"name": "sd-3-5-0-teaser-media",
|
|
4201
4519
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n\n\n---\n\n\n\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.",
|
|
4202
4520
|
"attributes": [
|
|
4203
4521
|
{
|
|
@@ -4227,7 +4545,7 @@
|
|
|
4227
4545
|
"references": []
|
|
4228
4546
|
},
|
|
4229
4547
|
{
|
|
4230
|
-
"name": "sd-3-
|
|
4548
|
+
"name": "sd-3-5-0-teaser",
|
|
4231
4549
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n\n\n---\n\n\n\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.",
|
|
4232
4550
|
"attributes": [
|
|
4233
4551
|
{
|
|
@@ -4264,7 +4582,7 @@
|
|
|
4264
4582
|
"references": []
|
|
4265
4583
|
},
|
|
4266
4584
|
{
|
|
4267
|
-
"name": "sd-3-
|
|
4585
|
+
"name": "sd-3-5-0-textarea",
|
|
4268
4586
|
"description": "Textareas collect data from the user and allow multiple lines of text.\n\n\n---\n\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-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\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\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.",
|
|
4269
4587
|
"attributes": [
|
|
4270
4588
|
{
|
|
@@ -4446,7 +4764,7 @@
|
|
|
4446
4764
|
"references": []
|
|
4447
4765
|
},
|
|
4448
4766
|
{
|
|
4449
|
-
"name": "sd-3-
|
|
4767
|
+
"name": "sd-3-5-0-tooltip",
|
|
4450
4768
|
"description": "Tooltips display additional information based on a specific action.\n\n\n---\n\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\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\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-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.",
|
|
4451
4769
|
"attributes": [
|
|
4452
4770
|
{
|
|
@@ -4514,7 +4832,7 @@
|
|
|
4514
4832
|
"references": []
|
|
4515
4833
|
},
|
|
4516
4834
|
{
|
|
4517
|
-
"name": "sd-3-
|
|
4835
|
+
"name": "sd-3-5-0-video",
|
|
4518
4836
|
"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\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### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
|
|
4519
4837
|
"attributes": [
|
|
4520
4838
|
{
|