@solid-design-system/components 1.26.0 → 1.28.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/accordion.js +1 -1
- package/dist/components/es/notification.js +1 -0
- package/dist/components/es/solid-components2.js +1 -1
- package/dist/components/es/solid-element.js +1 -1
- package/dist/components/umd/solid-components.js +15 -15
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/accordion/accordion.js +6 -4
- package/dist/package/components/icon/library.system.d.ts +3 -0
- package/dist/package/components/icon/library.system.js +7 -1
- package/dist/package/components/notification/notification.d.ts +31 -0
- package/dist/package/components/notification/notification.js +211 -0
- package/dist/package/solid-components.d.ts +1 -0
- package/dist/package/solid-components.js +20 -18
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/styles/solid-styles.css +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/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/navigation-item.js +1 -1
- package/dist/versioned-components/es/notification.js +1 -0
- package/dist/versioned-components/es/popup.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/solid-components2.js +1 -1
- package/dist/versioned-components/es/solid-element.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/switch.js +1 -1
- package/dist/versioned-components/es/tag.js +1 -1
- package/dist/versioned-components/es/teaser.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 +8 -6
- 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 +4 -4
- 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/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 +6 -6
- 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 +3 -0
- package/dist/versioned-package/components/icon/library.system.js +7 -1
- 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 +4 -4
- 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/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 +31 -0
- package/dist/versioned-package/components/notification/notification.js +211 -0
- 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-group/radio-group.d.ts +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.js +14 -14
- 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/switch/switch.d.ts +1 -1
- package/dist/versioned-package/components/switch/switch.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/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 +2 -2
- package/dist/versioned-package/solid-components.d.ts +1 -0
- package/dist/versioned-package/solid-components.js +20 -18
- package/dist/versioned-package/styles/form-control.styles.js +1 -1
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +141 -27
- package/dist/web-types.json +167 -1
- package/package.json +3 -3
|
@@ -1094,6 +1094,63 @@
|
|
|
1094
1094
|
],
|
|
1095
1095
|
"references": []
|
|
1096
1096
|
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "sd-notification",
|
|
1099
|
+
"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>`.",
|
|
1100
|
+
"attributes": [
|
|
1101
|
+
{
|
|
1102
|
+
"name": "open",
|
|
1103
|
+
"description": "Indicates whether or not sd-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.",
|
|
1104
|
+
"values": []
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "closable",
|
|
1108
|
+
"description": "Enables a close button that allows the user to dismiss the notification.",
|
|
1109
|
+
"values": []
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"name": "variant",
|
|
1113
|
+
"description": "The sd-notification's theme.",
|
|
1114
|
+
"values": [
|
|
1115
|
+
{
|
|
1116
|
+
"name": "info"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"name": "success"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "error"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"name": "warning"
|
|
1126
|
+
}
|
|
1127
|
+
]
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"name": "toast-stack",
|
|
1131
|
+
"description": "The position of the toasted sd-notification.",
|
|
1132
|
+
"values": [
|
|
1133
|
+
{
|
|
1134
|
+
"name": "top-right"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "bottom-center"
|
|
1138
|
+
}
|
|
1139
|
+
]
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"name": "duration",
|
|
1143
|
+
"description": "The length of time, in milliseconds, the sd-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.",
|
|
1144
|
+
"values": []
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "duration-indicator",
|
|
1148
|
+
"description": "Enables an animation that visualizes the duration of a notification.",
|
|
1149
|
+
"values": []
|
|
1150
|
+
}
|
|
1151
|
+
],
|
|
1152
|
+
"references": []
|
|
1153
|
+
},
|
|
1097
1154
|
{
|
|
1098
1155
|
"name": "sd-popup",
|
|
1099
1156
|
"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\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.",
|
|
@@ -1662,7 +1719,7 @@
|
|
|
1662
1719
|
"references": []
|
|
1663
1720
|
},
|
|
1664
1721
|
{
|
|
1665
|
-
"name": "sd-1-
|
|
1722
|
+
"name": "sd-1-28-0-accordion-group",
|
|
1666
1723
|
"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.",
|
|
1667
1724
|
"attributes": [
|
|
1668
1725
|
{
|
|
@@ -1674,7 +1731,7 @@
|
|
|
1674
1731
|
"references": []
|
|
1675
1732
|
},
|
|
1676
1733
|
{
|
|
1677
|
-
"name": "sd-1-
|
|
1734
|
+
"name": "sd-1-28-0-accordion",
|
|
1678
1735
|
"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- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
1679
1736
|
"attributes": [
|
|
1680
1737
|
{
|
|
@@ -1691,7 +1748,7 @@
|
|
|
1691
1748
|
"references": []
|
|
1692
1749
|
},
|
|
1693
1750
|
{
|
|
1694
|
-
"name": "sd-1-
|
|
1751
|
+
"name": "sd-1-28-0-badge",
|
|
1695
1752
|
"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.",
|
|
1696
1753
|
"attributes": [
|
|
1697
1754
|
{
|
|
@@ -1733,7 +1790,7 @@
|
|
|
1733
1790
|
"references": []
|
|
1734
1791
|
},
|
|
1735
1792
|
{
|
|
1736
|
-
"name": "sd-1-
|
|
1793
|
+
"name": "sd-1-28-0-brandshape",
|
|
1737
1794
|
"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.",
|
|
1738
1795
|
"attributes": [
|
|
1739
1796
|
{
|
|
@@ -1770,7 +1827,7 @@
|
|
|
1770
1827
|
"references": []
|
|
1771
1828
|
},
|
|
1772
1829
|
{
|
|
1773
|
-
"name": "sd-1-
|
|
1830
|
+
"name": "sd-1-28-0-button",
|
|
1774
1831
|
"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.",
|
|
1775
1832
|
"attributes": [
|
|
1776
1833
|
{
|
|
@@ -1942,13 +1999,13 @@
|
|
|
1942
1999
|
"references": []
|
|
1943
2000
|
},
|
|
1944
2001
|
{
|
|
1945
|
-
"name": "sd-1-
|
|
2002
|
+
"name": "sd-1-28-0-carousel-item",
|
|
1946
2003
|
"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.",
|
|
1947
2004
|
"attributes": [],
|
|
1948
2005
|
"references": []
|
|
1949
2006
|
},
|
|
1950
2007
|
{
|
|
1951
|
-
"name": "sd-1-
|
|
2008
|
+
"name": "sd-1-28-0-carousel",
|
|
1952
2009
|
"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.",
|
|
1953
2010
|
"attributes": [
|
|
1954
2011
|
{
|
|
@@ -1992,7 +2049,7 @@
|
|
|
1992
2049
|
"references": []
|
|
1993
2050
|
},
|
|
1994
2051
|
{
|
|
1995
|
-
"name": "sd-1-
|
|
2052
|
+
"name": "sd-1-28-0-checkbox-group",
|
|
1996
2053
|
"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.",
|
|
1997
2054
|
"attributes": [
|
|
1998
2055
|
{
|
|
@@ -2028,7 +2085,7 @@
|
|
|
2028
2085
|
"references": []
|
|
2029
2086
|
},
|
|
2030
2087
|
{
|
|
2031
|
-
"name": "sd-1-
|
|
2088
|
+
"name": "sd-1-28-0-checkbox",
|
|
2032
2089
|
"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.",
|
|
2033
2090
|
"attributes": [
|
|
2034
2091
|
{
|
|
@@ -2086,7 +2143,7 @@
|
|
|
2086
2143
|
"references": []
|
|
2087
2144
|
},
|
|
2088
2145
|
{
|
|
2089
|
-
"name": "sd-1-
|
|
2146
|
+
"name": "sd-1-28-0-divider",
|
|
2090
2147
|
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
2091
2148
|
"attributes": [
|
|
2092
2149
|
{
|
|
@@ -2110,7 +2167,7 @@
|
|
|
2110
2167
|
"references": []
|
|
2111
2168
|
},
|
|
2112
2169
|
{
|
|
2113
|
-
"name": "sd-1-
|
|
2170
|
+
"name": "sd-1-28-0-drawer",
|
|
2114
2171
|
"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.",
|
|
2115
2172
|
"attributes": [
|
|
2116
2173
|
{
|
|
@@ -2149,7 +2206,7 @@
|
|
|
2149
2206
|
"references": []
|
|
2150
2207
|
},
|
|
2151
2208
|
{
|
|
2152
|
-
"name": "sd-1-
|
|
2209
|
+
"name": "sd-1-28-0-dropdown",
|
|
2153
2210
|
"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.",
|
|
2154
2211
|
"attributes": [
|
|
2155
2212
|
{
|
|
@@ -2246,7 +2303,7 @@
|
|
|
2246
2303
|
"references": []
|
|
2247
2304
|
},
|
|
2248
2305
|
{
|
|
2249
|
-
"name": "sd-1-
|
|
2306
|
+
"name": "sd-1-28-0-header",
|
|
2250
2307
|
"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.",
|
|
2251
2308
|
"attributes": [
|
|
2252
2309
|
{
|
|
@@ -2258,7 +2315,7 @@
|
|
|
2258
2315
|
"references": []
|
|
2259
2316
|
},
|
|
2260
2317
|
{
|
|
2261
|
-
"name": "sd-1-
|
|
2318
|
+
"name": "sd-1-28-0-icon",
|
|
2262
2319
|
"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.",
|
|
2263
2320
|
"attributes": [
|
|
2264
2321
|
{
|
|
@@ -2300,7 +2357,7 @@
|
|
|
2300
2357
|
"references": []
|
|
2301
2358
|
},
|
|
2302
2359
|
{
|
|
2303
|
-
"name": "sd-1-
|
|
2360
|
+
"name": "sd-1-28-0-include",
|
|
2304
2361
|
"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.",
|
|
2305
2362
|
"attributes": [
|
|
2306
2363
|
{
|
|
@@ -2332,7 +2389,7 @@
|
|
|
2332
2389
|
"references": []
|
|
2333
2390
|
},
|
|
2334
2391
|
{
|
|
2335
|
-
"name": "sd-1-
|
|
2392
|
+
"name": "sd-1-28-0-input",
|
|
2336
2393
|
"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.",
|
|
2337
2394
|
"attributes": [
|
|
2338
2395
|
{
|
|
@@ -2605,7 +2662,7 @@
|
|
|
2605
2662
|
"references": []
|
|
2606
2663
|
},
|
|
2607
2664
|
{
|
|
2608
|
-
"name": "sd-1-
|
|
2665
|
+
"name": "sd-1-28-0-link",
|
|
2609
2666
|
"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.",
|
|
2610
2667
|
"attributes": [
|
|
2611
2668
|
{
|
|
@@ -2665,7 +2722,7 @@
|
|
|
2665
2722
|
"references": []
|
|
2666
2723
|
},
|
|
2667
2724
|
{
|
|
2668
|
-
"name": "sd-1-
|
|
2725
|
+
"name": "sd-1-28-0-navigation-item",
|
|
2669
2726
|
"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** - 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.",
|
|
2670
2727
|
"attributes": [
|
|
2671
2728
|
{
|
|
@@ -2755,7 +2812,64 @@
|
|
|
2755
2812
|
"references": []
|
|
2756
2813
|
},
|
|
2757
2814
|
{
|
|
2758
|
-
"name": "sd-1-
|
|
2815
|
+
"name": "sd-1-28-0-notification",
|
|
2816
|
+
"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>`.",
|
|
2817
|
+
"attributes": [
|
|
2818
|
+
{
|
|
2819
|
+
"name": "open",
|
|
2820
|
+
"description": "Indicates whether or not sd-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.",
|
|
2821
|
+
"values": []
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"name": "closable",
|
|
2825
|
+
"description": "Enables a close button that allows the user to dismiss the notification.",
|
|
2826
|
+
"values": []
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "variant",
|
|
2830
|
+
"description": "The sd-notification's theme.",
|
|
2831
|
+
"values": [
|
|
2832
|
+
{
|
|
2833
|
+
"name": "info"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "success"
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"name": "error"
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"name": "warning"
|
|
2843
|
+
}
|
|
2844
|
+
]
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"name": "toast-stack",
|
|
2848
|
+
"description": "The position of the toasted sd-notification.",
|
|
2849
|
+
"values": [
|
|
2850
|
+
{
|
|
2851
|
+
"name": "top-right"
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"name": "bottom-center"
|
|
2855
|
+
}
|
|
2856
|
+
]
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"name": "duration",
|
|
2860
|
+
"description": "The length of time, in milliseconds, the sd-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.",
|
|
2861
|
+
"values": []
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "duration-indicator",
|
|
2865
|
+
"description": "Enables an animation that visualizes the duration of a notification.",
|
|
2866
|
+
"values": []
|
|
2867
|
+
}
|
|
2868
|
+
],
|
|
2869
|
+
"references": []
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
"name": "sd-1-28-0-popup",
|
|
2759
2873
|
"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\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.",
|
|
2760
2874
|
"attributes": [
|
|
2761
2875
|
{
|
|
@@ -2979,7 +3093,7 @@
|
|
|
2979
3093
|
"references": []
|
|
2980
3094
|
},
|
|
2981
3095
|
{
|
|
2982
|
-
"name": "sd-1-
|
|
3096
|
+
"name": "sd-1-28-0-radio-group",
|
|
2983
3097
|
"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 - **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.",
|
|
2984
3098
|
"attributes": [
|
|
2985
3099
|
{
|
|
@@ -3035,7 +3149,7 @@
|
|
|
3035
3149
|
"references": []
|
|
3036
3150
|
},
|
|
3037
3151
|
{
|
|
3038
|
-
"name": "sd-1-
|
|
3152
|
+
"name": "sd-1-28-0-radio",
|
|
3039
3153
|
"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.",
|
|
3040
3154
|
"attributes": [
|
|
3041
3155
|
{
|
|
@@ -3069,7 +3183,7 @@
|
|
|
3069
3183
|
"references": []
|
|
3070
3184
|
},
|
|
3071
3185
|
{
|
|
3072
|
-
"name": "sd-1-
|
|
3186
|
+
"name": "sd-1-28-0-spinner",
|
|
3073
3187
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
|
|
3074
3188
|
"attributes": [
|
|
3075
3189
|
{
|
|
@@ -3091,7 +3205,7 @@
|
|
|
3091
3205
|
"references": []
|
|
3092
3206
|
},
|
|
3093
3207
|
{
|
|
3094
|
-
"name": "sd-1-
|
|
3208
|
+
"name": "sd-1-28-0-switch",
|
|
3095
3209
|
"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.",
|
|
3096
3210
|
"attributes": [
|
|
3097
3211
|
{
|
|
@@ -3133,7 +3247,7 @@
|
|
|
3133
3247
|
"references": []
|
|
3134
3248
|
},
|
|
3135
3249
|
{
|
|
3136
|
-
"name": "sd-1-
|
|
3250
|
+
"name": "sd-1-28-0-tag",
|
|
3137
3251
|
"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\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.",
|
|
3138
3252
|
"attributes": [
|
|
3139
3253
|
{
|
|
@@ -3195,7 +3309,7 @@
|
|
|
3195
3309
|
"references": []
|
|
3196
3310
|
},
|
|
3197
3311
|
{
|
|
3198
|
-
"name": "sd-1-
|
|
3312
|
+
"name": "sd-1-28-0-teaser",
|
|
3199
3313
|
"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.",
|
|
3200
3314
|
"attributes": [
|
|
3201
3315
|
{
|
|
@@ -3232,7 +3346,7 @@
|
|
|
3232
3346
|
"references": []
|
|
3233
3347
|
},
|
|
3234
3348
|
{
|
|
3235
|
-
"name": "sd-1-
|
|
3349
|
+
"name": "sd-1-28-0-tooltip",
|
|
3236
3350
|
"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.",
|
|
3237
3351
|
"attributes": [
|
|
3238
3352
|
{
|
|
@@ -3300,7 +3414,7 @@
|
|
|
3300
3414
|
"references": []
|
|
3301
3415
|
},
|
|
3302
3416
|
{
|
|
3303
|
-
"name": "sd-1-
|
|
3417
|
+
"name": "sd-1-28-0-video",
|
|
3304
3418
|
"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.",
|
|
3305
3419
|
"attributes": [
|
|
3306
3420
|
{
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.28.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework-config": {
|
|
7
7
|
"enable-when": {
|
|
@@ -3013,6 +3013,172 @@
|
|
|
3013
3013
|
}
|
|
3014
3014
|
]
|
|
3015
3015
|
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "sd-notification",
|
|
3018
|
+
"description": "",
|
|
3019
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/notification",
|
|
3020
|
+
"js": {
|
|
3021
|
+
"properties": [
|
|
3022
|
+
{
|
|
3023
|
+
"name": "autoHideTimeout",
|
|
3024
|
+
"value": {
|
|
3025
|
+
"type": "number"
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"name": "localize",
|
|
3030
|
+
"value": {}
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"name": "open",
|
|
3034
|
+
"description": "Indicates whether or not sd-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.",
|
|
3035
|
+
"value": {
|
|
3036
|
+
"type": "boolean"
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"name": "closable",
|
|
3041
|
+
"description": "Enables a close button that allows the user to dismiss the notification.",
|
|
3042
|
+
"value": {
|
|
3043
|
+
"type": "boolean"
|
|
3044
|
+
}
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"name": "variant",
|
|
3048
|
+
"description": "The sd-notification's theme.",
|
|
3049
|
+
"value": {
|
|
3050
|
+
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3051
|
+
}
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"name": "toastStack",
|
|
3055
|
+
"description": "The position of the toasted sd-notification.",
|
|
3056
|
+
"value": {
|
|
3057
|
+
"type": "'top-right' | 'bottom-center'"
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"name": "duration",
|
|
3062
|
+
"description": "The length of time, in milliseconds, the sd-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.",
|
|
3063
|
+
"value": {}
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"name": "durationIndicator",
|
|
3067
|
+
"description": "Enables an animation that visualizes the duration of a notification.",
|
|
3068
|
+
"value": {
|
|
3069
|
+
"type": "boolean"
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"name": "remainingDuration",
|
|
3074
|
+
"value": {}
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"name": "startTime",
|
|
3078
|
+
"value": {}
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"name": "startAutoHide",
|
|
3082
|
+
"value": {}
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
"name": "onHover",
|
|
3086
|
+
"value": {}
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
"name": "onHoverEnd",
|
|
3090
|
+
"value": {}
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"name": "handleCloseClick",
|
|
3094
|
+
"value": {}
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"name": "handleOpenChange",
|
|
3098
|
+
"value": {}
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
"name": "handleDurationChange",
|
|
3102
|
+
"value": {}
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"name": "show",
|
|
3106
|
+
"description": "Shows the notification.",
|
|
3107
|
+
"value": {}
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"name": "hide",
|
|
3111
|
+
"description": "Hides the notification",
|
|
3112
|
+
"value": {}
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"name": "toast",
|
|
3116
|
+
"description": "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.",
|
|
3117
|
+
"value": {}
|
|
3118
|
+
}
|
|
3119
|
+
],
|
|
3120
|
+
"events": [
|
|
3121
|
+
{
|
|
3122
|
+
"name": "sd-show",
|
|
3123
|
+
"description": "Emitted when the notification opens."
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"name": "sd-after-show",
|
|
3127
|
+
"description": "Emitted after the notification opens and all animations are complete."
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"name": "sd-hide",
|
|
3131
|
+
"description": "Emitted when the notification closes."
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
"name": "sd-after-hide",
|
|
3135
|
+
"description": "Emitted after the notification closes and all animations are complete."
|
|
3136
|
+
}
|
|
3137
|
+
]
|
|
3138
|
+
},
|
|
3139
|
+
"attributes": [
|
|
3140
|
+
{
|
|
3141
|
+
"name": "open",
|
|
3142
|
+
"description": "Indicates whether or not sd-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.",
|
|
3143
|
+
"value": {
|
|
3144
|
+
"type": "boolean"
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"name": "closable",
|
|
3149
|
+
"description": "Enables a close button that allows the user to dismiss the notification.",
|
|
3150
|
+
"value": {
|
|
3151
|
+
"type": "boolean"
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"name": "variant",
|
|
3156
|
+
"description": "The sd-notification's theme.",
|
|
3157
|
+
"value": {
|
|
3158
|
+
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "toast-stack",
|
|
3163
|
+
"description": "The position of the toasted sd-notification.",
|
|
3164
|
+
"value": {
|
|
3165
|
+
"type": "'top-right' | 'bottom-center'"
|
|
3166
|
+
}
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"name": "duration",
|
|
3170
|
+
"description": "The length of time, in milliseconds, the sd-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.",
|
|
3171
|
+
"value": {}
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"name": "duration-indicator",
|
|
3175
|
+
"description": "Enables an animation that visualizes the duration of a notification.",
|
|
3176
|
+
"value": {
|
|
3177
|
+
"type": "boolean"
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
]
|
|
3181
|
+
},
|
|
3016
3182
|
{
|
|
3017
3183
|
"name": "sd-popup",
|
|
3018
3184
|
"description": "",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-design-system/components",
|
|
3
3
|
"description": "Solid Design System: Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.28.0",
|
|
5
5
|
"homepage": "https://solid-design-system.fe.union-investment.de/x.x.x/storybook/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Union Investment"
|
|
@@ -184,8 +184,8 @@
|
|
|
184
184
|
"readme": "README.md",
|
|
185
185
|
"meta": {
|
|
186
186
|
"bundleSizeInKb": {
|
|
187
|
-
"uncompressed":
|
|
188
|
-
"gzip":
|
|
187
|
+
"uncompressed": 217,
|
|
188
|
+
"gzip": 55
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
}
|