@solid-design-system/components 4.3.1 → 4.4.1

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 (259) hide show
  1. package/cdn/chunks/chunk.HT2MRC4Z.js +1 -0
  2. package/cdn/chunks/chunk.NQXQB7LN.js +1 -0
  3. package/cdn/chunks/chunk.NW6W2FSS.js +1 -0
  4. package/cdn/components/drawer/drawer.js +1 -1
  5. package/cdn/components/step/step.d.ts +1 -0
  6. package/cdn/components/step/step.js +1 -1
  7. package/cdn/components/step-group/step-group.d.ts +1 -0
  8. package/cdn/components/step-group/step-group.js +1 -1
  9. package/cdn/custom-elements.json +20 -1
  10. package/cdn/solid-components.bundle.js +15 -15
  11. package/cdn/solid-components.iife.js +15 -15
  12. package/cdn/solid-components.js +1 -1
  13. package/cdn/vscode.html-custom-data.json +32 -27
  14. package/cdn/web-types.json +87 -77
  15. package/cdn-versioned/_components/menu/menu.js +1 -1
  16. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  17. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  18. package/cdn-versioned/chunks/chunk.247MZWMU.js +1 -1
  19. package/cdn-versioned/chunks/chunk.2BLQ3VDT.js +4 -4
  20. package/cdn-versioned/chunks/chunk.2HJF2D4H.js +2 -2
  21. package/cdn-versioned/chunks/chunk.43NFQGWL.js +1 -1
  22. package/cdn-versioned/chunks/chunk.4QAJB6AU.js +1 -1
  23. package/cdn-versioned/chunks/chunk.5AILWWY2.js +1 -1
  24. package/cdn-versioned/chunks/chunk.5TTHL3M2.js +3 -3
  25. package/cdn-versioned/chunks/chunk.5YWPH3S7.js +2 -2
  26. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  27. package/cdn-versioned/chunks/chunk.7TRFUW6U.js +1 -1
  28. package/cdn-versioned/chunks/chunk.BHWV44KN.js +1 -1
  29. package/cdn-versioned/chunks/chunk.BWMHPT4Y.js +1 -1
  30. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  31. package/cdn-versioned/chunks/chunk.CNGIUOE5.js +1 -1
  32. package/cdn-versioned/chunks/chunk.DDLTKNEO.js +1 -1
  33. package/cdn-versioned/chunks/chunk.DLY5AX2P.js +1 -1
  34. package/cdn-versioned/chunks/chunk.E5FCRWHS.js +1 -1
  35. package/cdn-versioned/chunks/chunk.F45IDVYA.js +1 -1
  36. package/cdn-versioned/chunks/chunk.FHU3KJ7Y.js +1 -1
  37. package/cdn-versioned/chunks/chunk.FVXID42E.js +1 -1
  38. package/cdn-versioned/chunks/chunk.HT2MRC4Z.js +1 -0
  39. package/cdn-versioned/chunks/chunk.I2WEQVU3.js +1 -1
  40. package/cdn-versioned/chunks/chunk.IUC5UQ2V.js +1 -1
  41. package/cdn-versioned/chunks/chunk.JCNKLGIS.js +1 -1
  42. package/cdn-versioned/chunks/chunk.JDSUZDP4.js +1 -1
  43. package/cdn-versioned/chunks/chunk.KLNBBP4R.js +4 -4
  44. package/cdn-versioned/chunks/chunk.KV424MMD.js +1 -1
  45. package/cdn-versioned/chunks/chunk.KWNRVZ54.js +1 -1
  46. package/cdn-versioned/chunks/chunk.LET4FMBB.js +1 -1
  47. package/cdn-versioned/chunks/chunk.LKO4ZRE7.js +1 -1
  48. package/cdn-versioned/chunks/chunk.NFQN6UG4.js +1 -1
  49. package/cdn-versioned/chunks/chunk.NOJV6ZZF.js +1 -1
  50. package/cdn-versioned/chunks/chunk.NQXQB7LN.js +1 -0
  51. package/cdn-versioned/chunks/chunk.NW6W2FSS.js +1 -0
  52. package/cdn-versioned/chunks/chunk.NZT4ORYP.js +1 -1
  53. package/cdn-versioned/chunks/chunk.O3IRROA2.js +1 -1
  54. package/cdn-versioned/chunks/chunk.ONLECFTO.js +1 -1
  55. package/cdn-versioned/chunks/chunk.PDIUABFP.js +1 -1
  56. package/cdn-versioned/chunks/chunk.PGBIGG5I.js +1 -1
  57. package/cdn-versioned/chunks/chunk.QWMQJ6TF.js +1 -1
  58. package/cdn-versioned/chunks/chunk.RCLIOOS5.js +1 -1
  59. package/cdn-versioned/chunks/chunk.RGJXEMYT.js +1 -1
  60. package/cdn-versioned/chunks/chunk.SDZ6E4CH.js +1 -1
  61. package/cdn-versioned/chunks/chunk.V3YHI2G2.js +1 -1
  62. package/cdn-versioned/chunks/chunk.VZSFEHBE.js +1 -1
  63. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  64. package/cdn-versioned/chunks/chunk.WJ55QSS3.js +1 -1
  65. package/cdn-versioned/chunks/chunk.WMV7GLXF.js +1 -1
  66. package/cdn-versioned/chunks/chunk.WUTY672B.js +1 -1
  67. package/cdn-versioned/chunks/chunk.XYZ5DKTA.js +1 -1
  68. package/cdn-versioned/chunks/chunk.Y4PTSCEB.js +1 -1
  69. package/cdn-versioned/chunks/chunk.ZN24IDXT.js +1 -1
  70. package/cdn-versioned/chunks/chunk.ZVVSLR3B.js +1 -1
  71. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  72. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  73. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  74. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  75. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  76. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  77. package/cdn-versioned/components/button/button.d.ts +1 -1
  78. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  79. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  80. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  81. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  82. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  83. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  84. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  85. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  86. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  87. package/cdn-versioned/components/drawer/drawer.js +1 -1
  88. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  89. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  90. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  91. package/cdn-versioned/components/header/header.d.ts +1 -1
  92. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  93. package/cdn-versioned/components/include/include.d.ts +1 -1
  94. package/cdn-versioned/components/input/input.d.ts +1 -1
  95. package/cdn-versioned/components/link/link.d.ts +1 -1
  96. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  97. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  98. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  99. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  100. package/cdn-versioned/components/option/option.d.ts +1 -1
  101. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  102. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  103. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  104. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  105. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  106. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  107. package/cdn-versioned/components/select/select.d.ts +4 -4
  108. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  109. package/cdn-versioned/components/step/step.d.ts +2 -1
  110. package/cdn-versioned/components/step/step.js +1 -1
  111. package/cdn-versioned/components/step-group/step-group.d.ts +2 -1
  112. package/cdn-versioned/components/step-group/step-group.js +1 -1
  113. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  114. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  115. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  116. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  117. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  118. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  119. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  120. package/cdn-versioned/components/video/video.d.ts +1 -1
  121. package/cdn-versioned/custom-elements.json +221 -202
  122. package/cdn-versioned/internal/form.js +3 -3
  123. package/cdn-versioned/solid-components.bundle.js +20 -20
  124. package/cdn-versioned/solid-components.css +2 -2
  125. package/cdn-versioned/solid-components.iife.js +21 -21
  126. package/cdn-versioned/solid-components.js +1 -1
  127. package/cdn-versioned/vscode.html-custom-data.json +109 -104
  128. package/cdn-versioned/web-types.json +215 -205
  129. package/dist/chunks/{chunk.RI66LCUS.js → chunk.5AX4S2QZ.js} +9 -1
  130. package/dist/chunks/{chunk.2LL4ZNH4.js → chunk.JMAPLJHF.js} +5 -1
  131. package/dist/chunks/{chunk.35GLHXMN.js → chunk.MYCUDMGG.js} +3 -3
  132. package/dist/components/drawer/drawer.js +1 -1
  133. package/dist/components/step/step.d.ts +1 -0
  134. package/dist/components/step/step.js +2 -1
  135. package/dist/components/step-group/step-group.d.ts +1 -0
  136. package/dist/components/step-group/step-group.js +1 -1
  137. package/dist/custom-elements.json +20 -1
  138. package/dist/solid-components.js +3 -3
  139. package/dist/vscode.html-custom-data.json +32 -27
  140. package/dist/web-types.json +87 -77
  141. package/dist-versioned/_components/menu/menu.js +1 -1
  142. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  143. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  144. package/dist-versioned/chunks/chunk.3UO2LKG5.js +13 -13
  145. package/dist-versioned/chunks/chunk.3YTMF6YZ.js +2 -2
  146. package/dist-versioned/chunks/{chunk.RI66LCUS.js → chunk.5AX4S2QZ.js} +11 -3
  147. package/dist-versioned/chunks/chunk.5V7TZU4Q.js +5 -5
  148. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  149. package/dist-versioned/chunks/chunk.6MMBMCHF.js +9 -9
  150. package/dist-versioned/chunks/chunk.6S3CCHLZ.js +1 -1
  151. package/dist-versioned/chunks/chunk.73HAOWEX.js +2 -2
  152. package/dist-versioned/chunks/chunk.7SZFMAVT.js +1 -1
  153. package/dist-versioned/chunks/chunk.AWASHA2T.js +1 -1
  154. package/dist-versioned/chunks/chunk.BFHRLREK.js +1 -1
  155. package/dist-versioned/chunks/chunk.CVHGDRIM.js +2 -2
  156. package/dist-versioned/chunks/chunk.DI4CIT2A.js +1 -1
  157. package/dist-versioned/chunks/chunk.DNHLNGIL.js +13 -13
  158. package/dist-versioned/chunks/chunk.F4BRIYYD.js +1 -1
  159. package/dist-versioned/chunks/chunk.G6KPFA3G.js +4 -4
  160. package/dist-versioned/chunks/chunk.GQXJC6ZE.js +2 -2
  161. package/dist-versioned/chunks/chunk.GWCHNKGW.js +1 -1
  162. package/dist-versioned/chunks/chunk.H54CZFCF.js +5 -5
  163. package/dist-versioned/chunks/chunk.HJ3ZUH4A.js +1 -1
  164. package/dist-versioned/chunks/chunk.I2JBWY5C.js +2 -2
  165. package/dist-versioned/chunks/chunk.IKWY7WM6.js +3 -3
  166. package/dist-versioned/chunks/chunk.JD5XFZKL.js +2 -2
  167. package/dist-versioned/chunks/{chunk.2LL4ZNH4.js → chunk.JMAPLJHF.js} +7 -3
  168. package/dist-versioned/chunks/chunk.JPGDK3CW.js +2 -2
  169. package/dist-versioned/chunks/chunk.K5MKZJEB.js +5 -5
  170. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  171. package/dist-versioned/chunks/chunk.L5QYLWGO.js +6 -6
  172. package/dist-versioned/chunks/chunk.LRQ55FZL.js +1 -1
  173. package/dist-versioned/chunks/chunk.LUV3NLSJ.js +3 -3
  174. package/dist-versioned/chunks/chunk.MCUC6LS6.js +2 -2
  175. package/dist-versioned/chunks/chunk.MKZ5TRQH.js +1 -1
  176. package/dist-versioned/chunks/{chunk.35GLHXMN.js → chunk.MYCUDMGG.js} +4 -4
  177. package/dist-versioned/chunks/chunk.OENW3EQT.js +5 -5
  178. package/dist-versioned/chunks/chunk.ONBGPY5D.js +5 -5
  179. package/dist-versioned/chunks/chunk.QN2ROZHZ.js +3 -3
  180. package/dist-versioned/chunks/chunk.RFVRT5UG.js +2 -2
  181. package/dist-versioned/chunks/chunk.SH45GYZL.js +1 -1
  182. package/dist-versioned/chunks/chunk.T5VRGBLR.js +1 -1
  183. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  184. package/dist-versioned/chunks/chunk.UXEDWUMA.js +26 -26
  185. package/dist-versioned/chunks/chunk.WHFYHMF4.js +2 -2
  186. package/dist-versioned/chunks/chunk.WJHCLJNK.js +1 -1
  187. package/dist-versioned/chunks/chunk.WPHOQL7V.js +2 -2
  188. package/dist-versioned/chunks/chunk.WZGJQPPD.js +2 -2
  189. package/dist-versioned/chunks/chunk.X7HEAUGJ.js +2 -2
  190. package/dist-versioned/chunks/chunk.XCNH2K2U.js +5 -5
  191. package/dist-versioned/chunks/chunk.XNH47HGG.js +29 -29
  192. package/dist-versioned/chunks/chunk.Y6WJUTMM.js +6 -6
  193. package/dist-versioned/chunks/chunk.Z3T4BG2M.js +1 -1
  194. package/dist-versioned/chunks/chunk.ZH6BP5XL.js +3 -3
  195. package/dist-versioned/chunks/chunk.ZJGD23K6.js +3 -3
  196. package/dist-versioned/chunks/chunk.ZWJNBDIV.js +11 -11
  197. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  198. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  199. package/dist-versioned/components/animation/animation.d.ts +1 -1
  200. package/dist-versioned/components/audio/audio.d.ts +1 -1
  201. package/dist-versioned/components/badge/badge.d.ts +1 -1
  202. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  203. package/dist-versioned/components/button/button.d.ts +1 -1
  204. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  205. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  206. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  207. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  208. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  209. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  210. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  211. package/dist-versioned/components/divider/divider.d.ts +1 -1
  212. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  213. package/dist-versioned/components/drawer/drawer.js +1 -1
  214. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  215. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  216. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  217. package/dist-versioned/components/header/header.d.ts +1 -1
  218. package/dist-versioned/components/icon/icon.d.ts +1 -1
  219. package/dist-versioned/components/include/include.d.ts +1 -1
  220. package/dist-versioned/components/input/input.d.ts +1 -1
  221. package/dist-versioned/components/link/link.d.ts +1 -1
  222. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  223. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  224. package/dist-versioned/components/notification/notification.d.ts +1 -1
  225. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  226. package/dist-versioned/components/option/option.d.ts +1 -1
  227. package/dist-versioned/components/popup/popup.d.ts +1 -1
  228. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  229. package/dist-versioned/components/radio/radio.d.ts +1 -1
  230. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  231. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  232. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  233. package/dist-versioned/components/select/select.d.ts +4 -4
  234. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  235. package/dist-versioned/components/step/step.d.ts +2 -1
  236. package/dist-versioned/components/step/step.js +2 -1
  237. package/dist-versioned/components/step-group/step-group.d.ts +2 -1
  238. package/dist-versioned/components/step-group/step-group.js +1 -1
  239. package/dist-versioned/components/switch/switch.d.ts +1 -1
  240. package/dist-versioned/components/tab/tab.d.ts +1 -1
  241. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  242. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  243. package/dist-versioned/components/tag/tag.d.ts +1 -1
  244. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  245. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  246. package/dist-versioned/components/video/video.d.ts +1 -1
  247. package/dist-versioned/custom-elements.json +221 -202
  248. package/dist-versioned/internal/form.js +3 -3
  249. package/dist-versioned/solid-components.css +2 -2
  250. package/dist-versioned/solid-components.js +3 -3
  251. package/dist-versioned/vscode.html-custom-data.json +109 -104
  252. package/dist-versioned/web-types.json +215 -205
  253. package/package.json +2 -2
  254. package/cdn/chunks/chunk.777DWZOA.js +0 -1
  255. package/cdn/chunks/chunk.HKGBSLKX.js +0 -1
  256. package/cdn/chunks/chunk.NLOKZURD.js +0 -1
  257. package/cdn-versioned/chunks/chunk.777DWZOA.js +0 -1
  258. package/cdn-versioned/chunks/chunk.HKGBSLKX.js +0 -1
  259. package/cdn-versioned/chunks/chunk.NLOKZURD.js +0 -1
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  watch
3
3
  } from "./chunk.X2OQMWGY.js";
4
+ import {
5
+ HasSlotController
6
+ } from "./chunk.YEZS5ZR2.js";
4
7
  import {
5
8
  SolidElement,
6
9
  customElement
@@ -18,6 +21,7 @@ import cx from "classix";
18
21
  var SdStep = class extends SolidElement {
19
22
  constructor() {
20
23
  super(...arguments);
24
+ this.hasSlotController = new HasSlotController(this, "label", "[default]");
21
25
  this.size = "lg";
22
26
  this.orientation = "horizontal";
23
27
  this.disabled = false;
@@ -60,6 +64,10 @@ var SdStep = class extends SolidElement {
60
64
  render() {
61
65
  const isLink = this.isLink();
62
66
  const tag = this.notInteractive ? literal`div` : isLink ? literal`a` : literal`button`;
67
+ const hasLabelSlot = this.hasSlotController.test("label");
68
+ const hasLabel = this.label ? true : hasLabelSlot;
69
+ const hasDefaultSlot = this.hasSlotController.test("[default]");
70
+ const hasDescription = this.description ? true : hasDefaultSlot;
63
71
  return html`<div role="listitem" part="base" class="${cx(
64
72
  "flex pt-1",
65
73
  this.orientation === "horizontal" ? "flex-col w-full" : "flex-row gap-4 items-stretch h-full w-min overflow-hidden",
@@ -69,7 +77,7 @@ var SdStep = class extends SolidElement {
69
77
  this.noTail && "w-max",
70
78
  this.orientation === "horizontal" ? "flex-row" : "flex-col items-stretch",
71
79
  this.orientation === "horizontal" ? this.size === "lg" ? "translateLg" : "translateSm" : this.size === "lg" ? "mt-1" : "mt-3"
72
- )}"><${tag} part="circle" href="${ifDefined(isLink ? this.href : void 0)}" aria-disabled="${ifDefined(this.disabled || void 0)}" aria-current="${this.current ? "step" : void 0}" aria-labelledby="${ifDefined("label")}" aria-describedby="${ifDefined("description")}" class="${cx(
80
+ )}"><${tag} part="circle" href="${ifDefined(isLink ? this.href : void 0)}" aria-disabled="${ifDefined(this.disabled || void 0)}" aria-current="${this.current ? "step" : void 0}" aria-labelledby="${ifDefined(this.notInteractive || !hasLabel ? void 0 : "label")}" aria-describedby="${ifDefined(this.notInteractive || !hasDescription ? void 0 : "description")}" class="${cx(
73
81
  "border rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",
74
82
  this.disabled ? "focus-visible:outline-none cursor-not-allowed" : "focus-visible:focus-outline group-hover:cursor-pointer",
75
83
  this.notInteractive ? this.size === "lg" ? "w-[72px]" : "w-12" : this.size === "lg" ? "w-12" : "w-8",
@@ -21,6 +21,7 @@ var SdStepGroup = class extends SolidElement {
21
21
  this.orientation = "horizontal";
22
22
  this.activeStep = 0;
23
23
  this.notInteractive = false;
24
+ this.label = "";
24
25
  }
25
26
  connectedCallback() {
26
27
  super.connectedCallback();
@@ -84,7 +85,7 @@ var SdStepGroup = class extends SolidElement {
84
85
  }
85
86
  }
86
87
  render() {
87
- return html`<div role="${!this.notInteractive ? "navigation" : "group"}" class="h-full"><div role="list" part="base" class="${cx("flex", this.orientation === "vertical" && "flex-col h-full")}"><slot part="body"></slot></div></div>`;
88
+ return html`<div role="${!this.notInteractive ? "navigation" : "group"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${cx("flex", this.orientation === "vertical" && "flex-col h-full")}"><slot part="body"></slot></div></div>`;
88
89
  }
89
90
  };
90
91
  SdStepGroup.styles = [
@@ -106,6 +107,9 @@ __decorateClass([
106
107
  __decorateClass([
107
108
  property({ type: Boolean, reflect: true, attribute: "not-interactive" })
108
109
  ], SdStepGroup.prototype, "notInteractive", 2);
110
+ __decorateClass([
111
+ property({ type: String })
112
+ ], SdStepGroup.prototype, "label", 2);
109
113
  __decorateClass([
110
114
  watch("size", { waitUntilFirstUpdate: true })
111
115
  ], SdStepGroup.prototype, "updateSize", 1);
@@ -197,10 +197,10 @@ var SdDrawer = class extends SolidElement {
197
197
  return waitForEvent(this, "sd-after-hide");
198
198
  }
199
199
  render() {
200
- return html`<div id="drawer" part="base" class="${cx(
200
+ return html`<section id="drawer" part="base" class="${cx(
201
201
  "top-0 start-0 w-full h-full pointer-events-none overflow-hidden",
202
202
  this.contained ? "absolute" : "fixed"
203
- )}"><div part="overlay" class="${cx(
203
+ )}" aria-label="${this.label}"><div part="overlay" class="${cx(
204
204
  "block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",
205
205
  this.contained ? "absolute" : "fixed"
206
206
  )}" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
@@ -209,7 +209,7 @@ var SdDrawer = class extends SolidElement {
209
209
  end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
210
210
  start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
211
211
  }[this.placement]
212
- )}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button></div></header>` : html`<sd-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button>`}<div part="body" class="flex-auto block px-4" role="region" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></div>`;
212
+ )}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button></div></header>` : html`<sd-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
213
213
  }
214
214
  };
215
215
  SdDrawer.styles = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdDrawer
3
- } from "../../chunks/chunk.35GLHXMN.js";
3
+ } from "../../chunks/chunk.MYCUDMGG.js";
4
4
  import "../../chunks/chunk.VBQLCQSN.js";
5
5
  import "../../chunks/chunk.XHCTCU2Q.js";
6
6
  import "../../chunks/chunk.WDWV53JP.js";
@@ -1,5 +1,6 @@
1
1
  import SolidElement from '../../internal/solid-element';
2
2
  export default class SdStep extends SolidElement {
3
+ private readonly hasSlotController;
3
4
  size: 'lg' | 'sm';
4
5
  orientation: 'horizontal' | 'vertical';
5
6
  disabled: boolean;
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  SdStep
3
- } from "../../chunks/chunk.RI66LCUS.js";
3
+ } from "../../chunks/chunk.5AX4S2QZ.js";
4
4
  import "../../chunks/chunk.X2OQMWGY.js";
5
+ import "../../chunks/chunk.YEZS5ZR2.js";
5
6
  import "../../chunks/chunk.T5VRGBLR.js";
6
7
  import "../../chunks/chunk.S3NI7NKU.js";
7
8
  export {
@@ -6,6 +6,7 @@ export default class SdStepGroup extends SolidElement {
6
6
  orientation: 'horizontal' | 'vertical';
7
7
  activeStep: number;
8
8
  notInteractive: boolean;
9
+ label: string;
9
10
  connectedCallback(): void;
10
11
  updateSize(): void;
11
12
  updateOrientation(): void;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdStepGroup
3
- } from "../../chunks/chunk.2LL4ZNH4.js";
3
+ } from "../../chunks/chunk.JMAPLJHF.js";
4
4
  import "../../chunks/chunk.X2OQMWGY.js";
5
5
  import "../../chunks/chunk.T5VRGBLR.js";
6
6
  import "../../chunks/chunk.S3NI7NKU.js";
@@ -13748,6 +13748,16 @@
13748
13748
  "attribute": "not-interactive",
13749
13749
  "reflects": true
13750
13750
  },
13751
+ {
13752
+ "kind": "field",
13753
+ "name": "label",
13754
+ "type": {
13755
+ "text": "string"
13756
+ },
13757
+ "default": "''",
13758
+ "description": "A label to use in the step-group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
13759
+ "attribute": "label"
13760
+ },
13751
13761
  {
13752
13762
  "kind": "method",
13753
13763
  "name": "setActiveStep",
@@ -13850,6 +13860,15 @@
13850
13860
  "description": "Determines if the step-group is not interactive.",
13851
13861
  "fieldName": "notInteractive"
13852
13862
  },
13863
+ {
13864
+ "name": "label",
13865
+ "type": {
13866
+ "text": "string"
13867
+ },
13868
+ "default": "''",
13869
+ "description": "A label to use in the step-group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
13870
+ "fieldName": "label"
13871
+ },
13853
13872
  {
13854
13873
  "name": "dir",
13855
13874
  "type": {
@@ -16991,7 +17010,7 @@
16991
17010
  "package": {
16992
17011
  "name": "@solid-design-system/components",
16993
17012
  "description": "Solid Design System: Components",
16994
- "version": "4.3.1",
17013
+ "version": "4.4.1",
16995
17014
  "author": "Union Investment",
16996
17015
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
16997
17016
  "license": "MIT"
@@ -28,10 +28,10 @@ import {
28
28
  } from "./chunks/chunk.XNH47HGG.js";
29
29
  import {
30
30
  SdStep
31
- } from "./chunks/chunk.RI66LCUS.js";
31
+ } from "./chunks/chunk.5AX4S2QZ.js";
32
32
  import {
33
33
  SdStepGroup
34
- } from "./chunks/chunk.2LL4ZNH4.js";
34
+ } from "./chunks/chunk.JMAPLJHF.js";
35
35
  import {
36
36
  SdSwitch
37
37
  } from "./chunks/chunk.MKZ5TRQH.js";
@@ -115,7 +115,7 @@ import {
115
115
  } from "./chunks/chunk.X7HEAUGJ.js";
116
116
  import {
117
117
  SdDrawer
118
- } from "./chunks/chunk.35GLHXMN.js";
118
+ } from "./chunks/chunk.MYCUDMGG.js";
119
119
  import "./chunks/chunk.VBQLCQSN.js";
120
120
  import "./chunks/chunk.XHCTCU2Q.js";
121
121
  import "./chunks/chunk.WDWV53JP.js";
@@ -2366,6 +2366,11 @@
2366
2366
  "description": "Determines if the step-group is not interactive.",
2367
2367
  "values": []
2368
2368
  },
2369
+ {
2370
+ "name": "label",
2371
+ "description": "A label to use in the step-group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
2372
+ "values": []
2373
+ },
2369
2374
  {
2370
2375
  "name": "dir",
2371
2376
  "description": "The element's directionality.",
@@ -2442,28 +2447,13 @@
2442
2447
  ]
2443
2448
  },
2444
2449
  {
2445
- "name": "sd-tab",
2446
- "description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **active-tab-indicator** - The active tab indicator.\n- **hover-bottom-border** - The bottom border that appears when the tab is hovered.",
2450
+ "name": "sd-tab-group",
2451
+ "description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
2447
2452
  "attributes": [
2448
2453
  {
2449
- "name": "variant",
2450
- "description": "When set to container, a border appears around the current tab and tab-panel.",
2451
- "values": [{ "name": "default" }, { "name": "container" }]
2452
- },
2453
- {
2454
- "name": "active",
2455
- "description": "Draws the tab in an active state.",
2456
- "values": []
2457
- },
2458
- {
2459
- "name": "disabled",
2460
- "description": "Disables the tab and prevents selection.",
2461
- "values": []
2462
- },
2463
- {
2464
- "name": "panel",
2465
- "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
2466
- "values": []
2454
+ "name": "activation",
2455
+ "description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
2456
+ "values": [{ "name": "auto" }, { "name": "manual" }]
2467
2457
  },
2468
2458
  {
2469
2459
  "name": "dir",
@@ -2479,18 +2469,33 @@
2479
2469
  "references": [
2480
2470
  {
2481
2471
  "name": "Documentation",
2482
- "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-tab--docs"
2472
+ "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-tab-group--docs"
2483
2473
  }
2484
2474
  ]
2485
2475
  },
2486
2476
  {
2487
- "name": "sd-tab-group",
2488
- "description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
2477
+ "name": "sd-tab",
2478
+ "description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **active-tab-indicator** - The active tab indicator.\n- **hover-bottom-border** - The bottom border that appears when the tab is hovered.",
2489
2479
  "attributes": [
2490
2480
  {
2491
- "name": "activation",
2492
- "description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
2493
- "values": [{ "name": "auto" }, { "name": "manual" }]
2481
+ "name": "variant",
2482
+ "description": "When set to container, a border appears around the current tab and tab-panel.",
2483
+ "values": [{ "name": "default" }, { "name": "container" }]
2484
+ },
2485
+ {
2486
+ "name": "active",
2487
+ "description": "Draws the tab in an active state.",
2488
+ "values": []
2489
+ },
2490
+ {
2491
+ "name": "disabled",
2492
+ "description": "Disables the tab and prevents selection.",
2493
+ "values": []
2494
+ },
2495
+ {
2496
+ "name": "panel",
2497
+ "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
2498
+ "values": []
2494
2499
  },
2495
2500
  {
2496
2501
  "name": "dir",
@@ -2506,7 +2511,7 @@
2506
2511
  "references": [
2507
2512
  {
2508
2513
  "name": "Documentation",
2509
- "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-tab-group--docs"
2514
+ "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-tab--docs"
2510
2515
  }
2511
2516
  ]
2512
2517
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@solid-design-system/components",
4
- "version": "4.3.1",
4
+ "version": "4.4.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -5450,6 +5450,11 @@
5450
5450
  "description": "Determines if the step-group is not interactive.",
5451
5451
  "value": { "type": "boolean", "default": "false" }
5452
5452
  },
5453
+ {
5454
+ "name": "label",
5455
+ "description": "A label to use in the step-group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
5456
+ "value": { "type": "string", "default": "''" }
5457
+ },
5453
5458
  {
5454
5459
  "name": "dir",
5455
5460
  "description": "The element's directionality.",
@@ -5490,6 +5495,11 @@
5490
5495
  "description": "Determines if the step-group is not interactive.",
5491
5496
  "type": "boolean"
5492
5497
  },
5498
+ {
5499
+ "name": "label",
5500
+ "description": "A label to use in the step-group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
5501
+ "type": "string"
5502
+ },
5493
5503
  {
5494
5504
  "name": "dir",
5495
5505
  "description": "The element's directionality.",
@@ -5651,6 +5661,82 @@
5651
5661
  ]
5652
5662
  }
5653
5663
  },
5664
+ {
5665
+ "name": "sd-tab-group",
5666
+ "description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
5667
+ "doc-url": "",
5668
+ "attributes": [
5669
+ {
5670
+ "name": "activation",
5671
+ "description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
5672
+ "value": { "type": "'auto' | 'manual'", "default": "'auto'" }
5673
+ },
5674
+ {
5675
+ "name": "dir",
5676
+ "description": "The element's directionality.",
5677
+ "value": { "type": "'ltr' | 'rtl' | 'auto'" }
5678
+ },
5679
+ {
5680
+ "name": "lang",
5681
+ "description": "The element's language.",
5682
+ "value": { "type": "string" }
5683
+ }
5684
+ ],
5685
+ "slots": [
5686
+ {
5687
+ "name": "",
5688
+ "description": "Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements."
5689
+ },
5690
+ {
5691
+ "name": "nav",
5692
+ "description": "Used for grouping tabs in the tab group. Must be `<sd-tab>` elements."
5693
+ }
5694
+ ],
5695
+ "events": [
5696
+ {
5697
+ "name": "sd-tab-show",
5698
+ "type": "{ name: String }",
5699
+ "description": "Emitted when a tab is shown."
5700
+ },
5701
+ {
5702
+ "name": "sd-tab-hide",
5703
+ "type": "{ name: String }",
5704
+ "description": "Emitted when a tab is hidden."
5705
+ }
5706
+ ],
5707
+ "js": {
5708
+ "properties": [
5709
+ { "name": "localize" },
5710
+ {
5711
+ "name": "activation",
5712
+ "description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
5713
+ "type": "'auto' | 'manual'"
5714
+ },
5715
+ {
5716
+ "name": "dir",
5717
+ "description": "The element's directionality.",
5718
+ "type": "'ltr' | 'rtl' | 'auto'"
5719
+ },
5720
+ {
5721
+ "name": "lang",
5722
+ "description": "The element's language.",
5723
+ "type": "string"
5724
+ }
5725
+ ],
5726
+ "events": [
5727
+ {
5728
+ "name": "sd-tab-show",
5729
+ "type": "{ name: String }",
5730
+ "description": "Emitted when a tab is shown."
5731
+ },
5732
+ {
5733
+ "name": "sd-tab-hide",
5734
+ "type": "{ name: String }",
5735
+ "description": "Emitted when a tab is hidden."
5736
+ }
5737
+ ]
5738
+ }
5739
+ },
5654
5740
  {
5655
5741
  "name": "sd-tab",
5656
5742
  "description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **active-tab-indicator** - The active tab indicator.\n- **hover-bottom-border** - The bottom border that appears when the tab is hovered.",
@@ -5734,82 +5820,6 @@
5734
5820
  "events": []
5735
5821
  }
5736
5822
  },
5737
- {
5738
- "name": "sd-tab-group",
5739
- "description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-tab-show** - Emitted when a tab is shown.\n- **sd-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
5740
- "doc-url": "",
5741
- "attributes": [
5742
- {
5743
- "name": "activation",
5744
- "description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
5745
- "value": { "type": "'auto' | 'manual'", "default": "'auto'" }
5746
- },
5747
- {
5748
- "name": "dir",
5749
- "description": "The element's directionality.",
5750
- "value": { "type": "'ltr' | 'rtl' | 'auto'" }
5751
- },
5752
- {
5753
- "name": "lang",
5754
- "description": "The element's language.",
5755
- "value": { "type": "string" }
5756
- }
5757
- ],
5758
- "slots": [
5759
- {
5760
- "name": "",
5761
- "description": "Used for grouping tab panels in the tab group. Must be `<sd-tab-panel>` elements."
5762
- },
5763
- {
5764
- "name": "nav",
5765
- "description": "Used for grouping tabs in the tab group. Must be `<sd-tab>` elements."
5766
- }
5767
- ],
5768
- "events": [
5769
- {
5770
- "name": "sd-tab-show",
5771
- "type": "{ name: String }",
5772
- "description": "Emitted when a tab is shown."
5773
- },
5774
- {
5775
- "name": "sd-tab-hide",
5776
- "type": "{ name: String }",
5777
- "description": "Emitted when a tab is hidden."
5778
- }
5779
- ],
5780
- "js": {
5781
- "properties": [
5782
- { "name": "localize" },
5783
- {
5784
- "name": "activation",
5785
- "description": "When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.",
5786
- "type": "'auto' | 'manual'"
5787
- },
5788
- {
5789
- "name": "dir",
5790
- "description": "The element's directionality.",
5791
- "type": "'ltr' | 'rtl' | 'auto'"
5792
- },
5793
- {
5794
- "name": "lang",
5795
- "description": "The element's language.",
5796
- "type": "string"
5797
- }
5798
- ],
5799
- "events": [
5800
- {
5801
- "name": "sd-tab-show",
5802
- "type": "{ name: String }",
5803
- "description": "Emitted when a tab is shown."
5804
- },
5805
- {
5806
- "name": "sd-tab-hide",
5807
- "type": "{ name: String }",
5808
- "description": "Emitted when a tab is hidden."
5809
- }
5810
- ]
5811
- }
5812
- },
5813
5823
  {
5814
5824
  "name": "sd-tab-panel",
5815
5825
  "description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
32
32
  if (item.type === 'checkbox') {
33
33
  item.checked = !item.checked;
34
34
  }
35
- this.emit('sd-4-3-1-select', { detail: { item } });
35
+ this.emit('sd-4-4-1-select', { detail: { item } });
36
36
  }
37
37
  handleKeyDown(event) {
38
38
  if (event.key === 'Enter') {
@@ -11,7 +11,7 @@ export default css `
11
11
  overscroll-behavior: none;
12
12
  }
13
13
 
14
- ::slotted(sd-4-3-1-divider) {
14
+ ::slotted(sd-4-4-1-divider) {
15
15
  --spacing: var(--sd-spacing-x-small);
16
16
  }
17
17
  `;
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
74
74
  })}
75
75
  >
76
76
  <span part="checked-icon" class="menu-item__check">
77
- <sd-4-3-1-icon name="check" library="system" aria-hidden="true"></sd-4-3-1-icon>
77
+ <sd-4-4-1-icon name="check" library="system" aria-hidden="true"></sd-4-4-1-icon>
78
78
  </span>
79
79
 
80
80
  <slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
84
84
  <slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
85
85
 
86
86
  <span class="menu-item__chevron">
87
- <sd-4-3-1-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-3-1-icon>
87
+ <sd-4-4-1-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-4-1-icon>
88
88
  </span>
89
89
  </div>
90
90
  `;
@@ -77,10 +77,10 @@ var SdRadioGroup = class extends SolidElement {
77
77
  this.formControlController.updateValidity();
78
78
  }
79
79
  getAllRadios() {
80
- return [...this.querySelectorAll("sd-4-3-1-radio, sd-4-3-1-radio-button")];
80
+ return [...this.querySelectorAll("sd-4-4-1-radio, sd-4-4-1-radio-button")];
81
81
  }
82
82
  handleRadioClick(event) {
83
- const target = event.target.closest("sd-4-3-1-radio, sd-4-3-1-radio-button");
83
+ const target = event.target.closest("sd-4-4-1-radio, sd-4-4-1-radio-button");
84
84
  const radios = this.getAllRadios();
85
85
  const oldValue = this.value;
86
86
  if (target.disabled) {
@@ -157,7 +157,7 @@ var SdRadioGroup = class extends SolidElement {
157
157
  }
158
158
  })
159
159
  );
160
- this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-3-1-radio-button");
160
+ this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-4-1-radio-button");
161
161
  if (!radios.some((radio) => radio.checked)) {
162
162
  if (this.hasButtonGroup) {
163
163
  const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
@@ -169,26 +169,26 @@ var SdRadioGroup = class extends SolidElement {
169
169
  }
170
170
  }
171
171
  if (this.hasButtonGroup) {
172
- const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-3-1-button-group");
172
+ const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-4-1-button-group");
173
173
  if (buttonGroup) {
174
174
  buttonGroup.disableRole = true;
175
175
  }
176
176
  }
177
177
  }
178
178
  syncRadios() {
179
- if (customElements.get("sd-4-3-1-radio") && customElements.get("sd-4-3-1-radio-button")) {
179
+ if (customElements.get("sd-4-4-1-radio") && customElements.get("sd-4-4-1-radio-button")) {
180
180
  this.syncRadioElements();
181
181
  return;
182
182
  }
183
- if (customElements.get("sd-4-3-1-radio")) {
183
+ if (customElements.get("sd-4-4-1-radio")) {
184
184
  this.syncRadioElements();
185
185
  } else {
186
- customElements.whenDefined("sd-4-3-1-radio").then(() => this.syncRadios());
186
+ customElements.whenDefined("sd-4-4-1-radio").then(() => this.syncRadios());
187
187
  }
188
- if (customElements.get("sd-4-3-1-radio-button")) {
188
+ if (customElements.get("sd-4-4-1-radio-button")) {
189
189
  this.syncRadioElements();
190
190
  } else {
191
- customElements.whenDefined("sd-4-3-1-radio-button").then(() => this.syncRadios());
191
+ customElements.whenDefined("sd-4-4-1-radio-button").then(() => this.syncRadios());
192
192
  }
193
193
  }
194
194
  updateCheckedRadio() {
@@ -267,16 +267,16 @@ var SdRadioGroup = class extends SolidElement {
267
267
  vertical: "flex-col",
268
268
  horizontal: "flex-row"
269
269
  }[this.orientation]
270
- )}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-3-1-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-3-1-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`;
270
+ )}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-4-1-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-4-1-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`;
271
271
  }
272
272
  };
273
- SdRadioGroup.dependencies = { "sd-4-3-1-button-group": SdButtonGroup };
273
+ SdRadioGroup.dependencies = { "sd-4-4-1-button-group": SdButtonGroup };
274
274
  /**
275
275
  * Inherits Tailwind classes and includes additional styling.
276
276
  */
277
277
  SdRadioGroup.styles = [
278
278
  ...SolidElement.styles,
279
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-3-1-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-3-1-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-3-1-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-3-1-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-3-1-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-3-1-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`
279
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-4-1-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-4-1-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-4-1-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-4-1-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-4-1-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-4-1-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`
280
280
  ];
281
281
  __decorateClass([
282
282
  query("slot:not([name])")
@@ -333,7 +333,7 @@ __decorateClass([
333
333
  watch("value")
334
334
  ], SdRadioGroup.prototype, "handleValueChange", 1);
335
335
  SdRadioGroup = __decorateClass([
336
- customElement("sd-4-3-1-radio-group")
336
+ customElement("sd-4-4-1-radio-group")
337
337
  ], SdRadioGroup);
338
338
 
339
339
  export {