@solid-design-system/components 1.19.0 → 1.21.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.
Files changed (134) hide show
  1. package/dist/components/es/accordion-group.js +1 -1
  2. package/dist/components/es/accordion.js +1 -1
  3. package/dist/components/es/brandshape.js +1 -1
  4. package/dist/components/es/button.js +1 -1
  5. package/dist/components/es/carousel.js +2 -2
  6. package/dist/components/es/drawer.js +1 -1
  7. package/dist/components/es/dropdown.js +1 -1
  8. package/dist/components/es/form.js +1 -0
  9. package/dist/components/es/icon.js +3 -3
  10. package/dist/components/es/if-defined.js +2 -2
  11. package/dist/components/es/link.js +1 -1
  12. package/dist/components/es/lit-element.js +4 -4
  13. package/dist/components/es/navigation-item.js +2 -2
  14. package/dist/components/es/popup.js +1 -1
  15. package/dist/components/es/query-assigned-elements.js +6 -0
  16. package/dist/components/es/query.js +7 -2
  17. package/dist/components/es/radio-group.js +1 -0
  18. package/dist/components/es/radio.js +1 -0
  19. package/dist/components/es/solid-components2.js +1 -1
  20. package/dist/components/es/solid-element.js +2 -12
  21. package/dist/components/es/state.js +1 -1
  22. package/dist/components/es/static.js +1 -1
  23. package/dist/components/es/tag.js +1 -1
  24. package/dist/components/es/teaser.js +1 -1
  25. package/dist/components/es/video.js +1 -1
  26. package/dist/components/umd/solid-components.js +18 -18
  27. package/dist/custom-elements.json +1 -1
  28. package/dist/package/_components/button-group/button-group.d.ts +19 -0
  29. package/dist/package/_components/button-group/button-group.js +76 -0
  30. package/dist/package/_components/button-group/button-group.styles.d.ts +2 -0
  31. package/dist/package/_components/button-group/button-group.styles.js +6 -0
  32. package/dist/package/components/button/button.d.ts +4 -0
  33. package/dist/package/components/button/button.js +25 -3
  34. package/dist/package/components/radio/radio.d.ts +27 -0
  35. package/dist/package/components/radio/radio.js +130 -0
  36. package/dist/package/components/radio-group/radio-group.d.ts +52 -0
  37. package/dist/package/components/radio-group/radio-group.js +321 -0
  38. package/dist/package/internal/form.d.ts +7 -1
  39. package/dist/package/internal/form.js +110 -49
  40. package/dist/package/internal/solid-element.d.ts +2 -0
  41. package/dist/package/node_modules/.pnpm/{@shoelace-style_localize@3.1.0 → @shoelace-style_localize@3.1.2}/node_modules/@shoelace-style/localize/dist/index.js +1 -1
  42. package/dist/package/solid-components.d.ts +2 -0
  43. package/dist/package/solid-components.js +12 -8
  44. package/dist/package/styles/tailwind.css.js +1 -1
  45. package/dist/package/translations/en.js +1 -1
  46. package/dist/package/utilities/localize.js +1 -1
  47. package/dist/versioned-components/es/accordion-group.js +1 -1
  48. package/dist/versioned-components/es/accordion.js +1 -1
  49. package/dist/versioned-components/es/badge.js +1 -1
  50. package/dist/versioned-components/es/brandshape.js +1 -1
  51. package/dist/versioned-components/es/button.js +1 -1
  52. package/dist/versioned-components/es/carousel-item.js +1 -1
  53. package/dist/versioned-components/es/carousel.js +3 -3
  54. package/dist/versioned-components/es/divider.js +1 -1
  55. package/dist/versioned-components/es/drawer.js +1 -1
  56. package/dist/versioned-components/es/dropdown.js +1 -1
  57. package/dist/versioned-components/es/form.js +1 -0
  58. package/dist/versioned-components/es/icon.js +3 -3
  59. package/dist/versioned-components/es/if-defined.js +2 -2
  60. package/dist/versioned-components/es/include.js +1 -1
  61. package/dist/versioned-components/es/link.js +1 -1
  62. package/dist/versioned-components/es/lit-element.js +4 -4
  63. package/dist/versioned-components/es/navigation-item.js +2 -2
  64. package/dist/versioned-components/es/popup.js +1 -1
  65. package/dist/versioned-components/es/query-assigned-elements.js +6 -0
  66. package/dist/versioned-components/es/query.js +7 -2
  67. package/dist/versioned-components/es/radio-group.js +1 -0
  68. package/dist/versioned-components/es/radio.js +1 -0
  69. package/dist/versioned-components/es/solid-components2.js +1 -1
  70. package/dist/versioned-components/es/solid-element.js +2 -12
  71. package/dist/versioned-components/es/spinner.js +1 -1
  72. package/dist/versioned-components/es/state.js +1 -1
  73. package/dist/versioned-components/es/static.js +1 -1
  74. package/dist/versioned-components/es/tag.js +1 -1
  75. package/dist/versioned-components/es/teaser.js +1 -1
  76. package/dist/versioned-components/es/video.js +1 -1
  77. package/dist/versioned-package/_components/button-group/button-group.d.ts +19 -0
  78. package/dist/versioned-package/_components/button-group/button-group.js +76 -0
  79. package/dist/versioned-package/_components/button-group/button-group.styles.d.ts +2 -0
  80. package/dist/versioned-package/_components/button-group/button-group.styles.js +6 -0
  81. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  82. package/dist/versioned-package/components/accordion/accordion.js +2 -2
  83. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  84. package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
  85. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  86. package/dist/versioned-package/components/badge/badge.js +1 -1
  87. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  88. package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
  89. package/dist/versioned-package/components/button/button.d.ts +5 -1
  90. package/dist/versioned-package/components/button/button.js +29 -7
  91. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  92. package/dist/versioned-package/components/carousel/carousel.js +6 -6
  93. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  94. package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
  95. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  96. package/dist/versioned-package/components/divider/divider.js +2 -2
  97. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  98. package/dist/versioned-package/components/drawer/drawer.js +2 -2
  99. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  100. package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
  101. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  102. package/dist/versioned-package/components/icon/icon.js +1 -1
  103. package/dist/versioned-package/components/include/include.d.ts +1 -1
  104. package/dist/versioned-package/components/include/include.js +1 -1
  105. package/dist/versioned-package/components/link/link.d.ts +1 -1
  106. package/dist/versioned-package/components/link/link.js +2 -2
  107. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  108. package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
  109. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  110. package/dist/versioned-package/components/popup/popup.js +1 -1
  111. package/dist/versioned-package/components/radio/radio.d.ts +27 -0
  112. package/dist/versioned-package/components/radio/radio.js +130 -0
  113. package/dist/versioned-package/components/radio-group/radio-group.d.ts +52 -0
  114. package/dist/versioned-package/components/radio-group/radio-group.js +321 -0
  115. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  116. package/dist/versioned-package/components/spinner/spinner.js +1 -1
  117. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  118. package/dist/versioned-package/components/tag/tag.js +2 -2
  119. package/dist/versioned-package/components/teaser/teaser.js +1 -1
  120. package/dist/versioned-package/components/video/video.d.ts +1 -1
  121. package/dist/versioned-package/components/video/video.js +2 -2
  122. package/dist/versioned-package/internal/form.d.ts +7 -1
  123. package/dist/versioned-package/internal/form.js +110 -49
  124. package/dist/versioned-package/internal/solid-element.d.ts +2 -0
  125. package/dist/versioned-package/node_modules/.pnpm/{@shoelace-style_localize@3.1.0 → @shoelace-style_localize@3.1.2}/node_modules/@shoelace-style/localize/dist/index.js +1 -1
  126. package/dist/versioned-package/solid-components.d.ts +2 -0
  127. package/dist/versioned-package/solid-components.js +12 -8
  128. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  129. package/dist/versioned-package/translations/en.js +1 -1
  130. package/dist/versioned-package/utilities/localize.js +1 -1
  131. package/dist/versioned-styles/solid-styles.css +1 -1
  132. package/dist/vscode.html-custom-data.json +201 -21
  133. package/dist/web-types.json +910 -122
  134. package/package.json +51 -56
@@ -111,7 +111,7 @@
111
111
  },
112
112
  {
113
113
  "name": "sd-button",
114
- "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\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.\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.",
114
+ "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.",
115
115
  "attributes": [
116
116
  {
117
117
  "name": "title",
@@ -939,6 +939,96 @@
939
939
  ],
940
940
  "references": []
941
941
  },
942
+ {
943
+ "name": "sd-radio-group",
944
+ "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.",
945
+ "attributes": [
946
+ {
947
+ "name": "label",
948
+ "description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
949
+ "values": []
950
+ },
951
+ {
952
+ "name": "name",
953
+ "description": "The name of the radio group, submitted as a name/value pair with form data.",
954
+ "values": []
955
+ },
956
+ {
957
+ "name": "value",
958
+ "description": "The current value of the radio group, submitted as a name/value pair with form data.",
959
+ "values": []
960
+ },
961
+ {
962
+ "name": "size",
963
+ "description": "The radio group's size. This size will be applied to the label, all child radios and radio buttons.",
964
+ "values": [
965
+ {
966
+ "name": "lg"
967
+ },
968
+ {
969
+ "name": "sm"
970
+ }
971
+ ]
972
+ },
973
+ {
974
+ "name": "form",
975
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
976
+ "values": []
977
+ },
978
+ {
979
+ "name": "required",
980
+ "description": "Ensures a child radio is checked before allowing the containing form to submit.",
981
+ "values": []
982
+ },
983
+ {
984
+ "name": "orientation",
985
+ "description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
986
+ "values": [
987
+ {
988
+ "name": "horizontal"
989
+ },
990
+ {
991
+ "name": "vertical"
992
+ }
993
+ ]
994
+ }
995
+ ],
996
+ "references": []
997
+ },
998
+ {
999
+ "name": "sd-radio",
1000
+ "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.",
1001
+ "attributes": [
1002
+ {
1003
+ "name": "size",
1004
+ "description": "The radio's size.",
1005
+ "values": [
1006
+ {
1007
+ "name": "lg"
1008
+ },
1009
+ {
1010
+ "name": "sm"
1011
+ }
1012
+ ]
1013
+ },
1014
+ {
1015
+ "name": "invalid",
1016
+ "description": "A Boolean attribute which, if present, marks the radio Button valid or invalid",
1017
+ "values": []
1018
+ },
1019
+ {
1020
+ "name": "disabled",
1021
+ "description": "A Boolean attribute which, if present, disables the radio.",
1022
+ "values": []
1023
+ },
1024
+ {
1025
+ "name": "value",
1026
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1027
+ "values": []
1028
+ }
1029
+ ],
1030
+ "references": []
1031
+ },
942
1032
  {
943
1033
  "name": "sd-spinner",
944
1034
  "description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
@@ -1083,7 +1173,7 @@
1083
1173
  "references": []
1084
1174
  },
1085
1175
  {
1086
- "name": "sd-1-19-0-accordion-group",
1176
+ "name": "sd-1-21-0-accordion-group",
1087
1177
  "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.",
1088
1178
  "attributes": [
1089
1179
  {
@@ -1095,7 +1185,7 @@
1095
1185
  "references": []
1096
1186
  },
1097
1187
  {
1098
- "name": "sd-1-19-0-accordion",
1188
+ "name": "sd-1-21-0-accordion",
1099
1189
  "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.",
1100
1190
  "attributes": [
1101
1191
  {
@@ -1112,7 +1202,7 @@
1112
1202
  "references": []
1113
1203
  },
1114
1204
  {
1115
- "name": "sd-1-19-0-badge",
1205
+ "name": "sd-1-21-0-badge",
1116
1206
  "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.",
1117
1207
  "attributes": [
1118
1208
  {
@@ -1154,7 +1244,7 @@
1154
1244
  "references": []
1155
1245
  },
1156
1246
  {
1157
- "name": "sd-1-19-0-brandshape",
1247
+ "name": "sd-1-21-0-brandshape",
1158
1248
  "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.",
1159
1249
  "attributes": [
1160
1250
  {
@@ -1191,8 +1281,8 @@
1191
1281
  "references": []
1192
1282
  },
1193
1283
  {
1194
- "name": "sd-1-19-0-button",
1195
- "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\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.\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.",
1284
+ "name": "sd-1-21-0-button",
1285
+ "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.",
1196
1286
  "attributes": [
1197
1287
  {
1198
1288
  "name": "title",
@@ -1363,13 +1453,13 @@
1363
1453
  "references": []
1364
1454
  },
1365
1455
  {
1366
- "name": "sd-1-19-0-carousel-item",
1456
+ "name": "sd-1-21-0-carousel-item",
1367
1457
  "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.",
1368
1458
  "attributes": [],
1369
1459
  "references": []
1370
1460
  },
1371
1461
  {
1372
- "name": "sd-1-19-0-carousel",
1462
+ "name": "sd-1-21-0-carousel",
1373
1463
  "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.",
1374
1464
  "attributes": [
1375
1465
  {
@@ -1413,7 +1503,7 @@
1413
1503
  "references": []
1414
1504
  },
1415
1505
  {
1416
- "name": "sd-1-19-0-divider",
1506
+ "name": "sd-1-21-0-divider",
1417
1507
  "description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
1418
1508
  "attributes": [
1419
1509
  {
@@ -1437,7 +1527,7 @@
1437
1527
  "references": []
1438
1528
  },
1439
1529
  {
1440
- "name": "sd-1-19-0-drawer",
1530
+ "name": "sd-1-21-0-drawer",
1441
1531
  "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.",
1442
1532
  "attributes": [
1443
1533
  {
@@ -1476,7 +1566,7 @@
1476
1566
  "references": []
1477
1567
  },
1478
1568
  {
1479
- "name": "sd-1-19-0-dropdown",
1569
+ "name": "sd-1-21-0-dropdown",
1480
1570
  "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.",
1481
1571
  "attributes": [
1482
1572
  {
@@ -1573,7 +1663,7 @@
1573
1663
  "references": []
1574
1664
  },
1575
1665
  {
1576
- "name": "sd-1-19-0-icon",
1666
+ "name": "sd-1-21-0-icon",
1577
1667
  "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.",
1578
1668
  "attributes": [
1579
1669
  {
@@ -1615,7 +1705,7 @@
1615
1705
  "references": []
1616
1706
  },
1617
1707
  {
1618
- "name": "sd-1-19-0-include",
1708
+ "name": "sd-1-21-0-include",
1619
1709
  "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.",
1620
1710
  "attributes": [
1621
1711
  {
@@ -1647,7 +1737,7 @@
1647
1737
  "references": []
1648
1738
  },
1649
1739
  {
1650
- "name": "sd-1-19-0-link",
1740
+ "name": "sd-1-21-0-link",
1651
1741
  "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.",
1652
1742
  "attributes": [
1653
1743
  {
@@ -1707,7 +1797,7 @@
1707
1797
  "references": []
1708
1798
  },
1709
1799
  {
1710
- "name": "sd-1-19-0-navigation-item",
1800
+ "name": "sd-1-21-0-navigation-item",
1711
1801
  "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.",
1712
1802
  "attributes": [
1713
1803
  {
@@ -1797,7 +1887,7 @@
1797
1887
  "references": []
1798
1888
  },
1799
1889
  {
1800
- "name": "sd-1-19-0-popup",
1890
+ "name": "sd-1-21-0-popup",
1801
1891
  "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.",
1802
1892
  "attributes": [
1803
1893
  {
@@ -2021,7 +2111,97 @@
2021
2111
  "references": []
2022
2112
  },
2023
2113
  {
2024
- "name": "sd-1-19-0-spinner",
2114
+ "name": "sd-1-21-0-radio-group",
2115
+ "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.",
2116
+ "attributes": [
2117
+ {
2118
+ "name": "label",
2119
+ "description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
2120
+ "values": []
2121
+ },
2122
+ {
2123
+ "name": "name",
2124
+ "description": "The name of the radio group, submitted as a name/value pair with form data.",
2125
+ "values": []
2126
+ },
2127
+ {
2128
+ "name": "value",
2129
+ "description": "The current value of the radio group, submitted as a name/value pair with form data.",
2130
+ "values": []
2131
+ },
2132
+ {
2133
+ "name": "size",
2134
+ "description": "The radio group's size. This size will be applied to the label, all child radios and radio buttons.",
2135
+ "values": [
2136
+ {
2137
+ "name": "lg"
2138
+ },
2139
+ {
2140
+ "name": "sm"
2141
+ }
2142
+ ]
2143
+ },
2144
+ {
2145
+ "name": "form",
2146
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2147
+ "values": []
2148
+ },
2149
+ {
2150
+ "name": "required",
2151
+ "description": "Ensures a child radio is checked before allowing the containing form to submit.",
2152
+ "values": []
2153
+ },
2154
+ {
2155
+ "name": "orientation",
2156
+ "description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
2157
+ "values": [
2158
+ {
2159
+ "name": "horizontal"
2160
+ },
2161
+ {
2162
+ "name": "vertical"
2163
+ }
2164
+ ]
2165
+ }
2166
+ ],
2167
+ "references": []
2168
+ },
2169
+ {
2170
+ "name": "sd-1-21-0-radio",
2171
+ "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.",
2172
+ "attributes": [
2173
+ {
2174
+ "name": "size",
2175
+ "description": "The radio's size.",
2176
+ "values": [
2177
+ {
2178
+ "name": "lg"
2179
+ },
2180
+ {
2181
+ "name": "sm"
2182
+ }
2183
+ ]
2184
+ },
2185
+ {
2186
+ "name": "invalid",
2187
+ "description": "A Boolean attribute which, if present, marks the radio Button valid or invalid",
2188
+ "values": []
2189
+ },
2190
+ {
2191
+ "name": "disabled",
2192
+ "description": "A Boolean attribute which, if present, disables the radio.",
2193
+ "values": []
2194
+ },
2195
+ {
2196
+ "name": "value",
2197
+ "description": "The radio's value. When selected, the radio group will receive this value.",
2198
+ "values": []
2199
+ }
2200
+ ],
2201
+ "references": []
2202
+ },
2203
+ {
2204
+ "name": "sd-1-21-0-spinner",
2025
2205
  "description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
2026
2206
  "attributes": [
2027
2207
  {
@@ -2043,7 +2223,7 @@
2043
2223
  "references": []
2044
2224
  },
2045
2225
  {
2046
- "name": "sd-1-19-0-tag",
2226
+ "name": "sd-1-21-0-tag",
2047
2227
  "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.",
2048
2228
  "attributes": [
2049
2229
  {
@@ -2105,7 +2285,7 @@
2105
2285
  "references": []
2106
2286
  },
2107
2287
  {
2108
- "name": "sd-1-19-0-teaser",
2288
+ "name": "sd-1-21-0-teaser",
2109
2289
  "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.",
2110
2290
  "attributes": [
2111
2291
  {
@@ -2142,7 +2322,7 @@
2142
2322
  "references": []
2143
2323
  },
2144
2324
  {
2145
- "name": "sd-1-19-0-video",
2325
+ "name": "sd-1-21-0-video",
2146
2326
  "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.",
2147
2327
  "attributes": [
2148
2328
  {