@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
@@ -0,0 +1 @@
1
+ import{a}from"./chunk.HE2LNCWW.js";import{a as o,b as s}from"./chunk.5ZILM4TA.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as f}from"./chunk.6HO6CE4A.js";import{a as i}from"./chunk.26V4EXHB.js";import{a as u,b as r,h as n}from"./chunk.5AILWWY2.js";import{b as d}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new f(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1)}handleDisabledChange(){this.disabled&&(this.current=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1)}render(){let h=this.isLink(),c=this.notInteractive?o`div`:h?o`a`:o`button`,b=this.hasSlotController.test("label"),m=this.label?!0:b,p=this.hasSlotController.test("[default]"),v=this.description?!0:p;return s`<div role="listitem" part="base" class="${i("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-min overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${i("flex shrink-0 gap-2",this.noTail&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",this.orientation==="horizontal"?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3")}"><${c} part="circle" href="${a(h?this.href:void 0)}" aria-disabled="${a(this.disabled||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${a(this.notInteractive||!m?void 0:"label")}" aria-describedby="${a(this.notInteractive||!v?void 0:"description")}" class="${i("border rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":"focus-visible:focus-outline group-hover:cursor-pointer",this.notInteractive?this.size==="lg"?"w-[72px]":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&"border-primary group-hover:bg-primary-100 group-hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white")}"><slot name="circle-content" class="${i(!this.disabled&&!this.current&&!this.notInteractive&&"text-primary group-hover:text-primary-500 group-hover:fill-primary-500",this.notInteractive&&"text-primary",this.size==="lg"?"text-lg":"text-sm")}">${!this.disabled&&!this.current&&!this.notInteractive?s`<sd-icon name="status-check" library="system"></sd-icon>`:s`${this.index}`}</slot></${c}>${this.noTail?"":s`<div part="tail" class="${i(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive?" border-primary group-hover:border-primary-500":"border-neutral-400")}"></div>`}</div><div part="text-container" class="${i("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"w-max text-left",this.disabled&&"!text-neutral-700",this.notInteractive?"ml-3":"mr-4")}"><div part="label" id="label" class="${i("!font-bold sd-paragraph",this.disabled&&"!text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive?"!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer":"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${i("sd-paragraph sd-paragraph--size-sm",this.disabled&&"!text-neutral-700")}">${this.description||s`<slot></slot>`}</div></div></div>`}};t.styles=[...n.styles,d`:host{flex:1 1 0%}:host([no-tail]){flex-grow:0}.translateLg{transform:translateX(55px)}.translateSm{transform:translateX(64px)}`],e([r({reflect:!0})],t.prototype,"size",2),e([r({reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),e([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([r()],t.prototype,"label",2),e([r()],t.prototype,"description",2),e([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),e([r()],t.prototype,"href",2),e([l("current")],t.prototype,"handleCurrentChange",1),e([l("disabled")],t.prototype,"handleDisabledChange",1),e([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=e([u("sd-step")],t);export{t as a};
@@ -0,0 +1 @@
1
+ import{a as l}from"./chunk.E2DRD2OX.js";import{a as m}from"./chunk.26V4EXHB.js";import{a as h,b as a,d as f,h as n}from"./chunk.5AILWWY2.js";import{b as o,e as c}from"./chunk.IRWHG2Q4.js";import{e as s}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.setActiveStep(t||this.activeStep)})}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?i.disabled=!0:i.current=!1}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${m("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...n.styles,o`:host{width:-moz-max-content;width:max-content}`],s([f("[part=body]")],e.prototype,"body",2),s([a({reflect:!0})],e.prototype,"size",2),s([a({reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String})],e.prototype,"label",2),s([l("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([l("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([l("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([h("sd-step-group")],e);export{e as a};
@@ -0,0 +1 @@
1
+ import{a as A}from"./chunk.X2O263YD.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as o,c as n}from"./chunk.A3DKF5BY.js";import{a as l,d as h}from"./chunk.RQYP7MH5.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as L}from"./chunk.6HO6CE4A.js";import{a as E}from"./chunk.TNPIUMKG.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as C,b as r,d as c,h as w}from"./chunk.5AILWWY2.js";import{b as x,e as u}from"./chunk.IRWHG2Q4.js";import{e as a}from"./chunk.TJOCV4DC.js";function k(y){return y.charAt(0).toUpperCase()+y.slice(1)}var t=class extends w{constructor(){super(...arguments);this.hasSlotController=new L(this,"footer");this.localize=new E(this);this.modal=new A(this);this.open=!1;this.label="";this.placement="end";this.contained=!1;this.noHeader=!1;this.handleDocumentKeyDown=e=>{this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),m(this)))}disconnectedCallback(){super.disconnectedCallback(),f(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=n(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var b;let e=(b=this.closeButton.shadowRoot)==null?void 0:b.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),m(this));let i=this.querySelector("[autofocus]");i&&i.removeAttribute("autofocus"),await Promise.all([h(this.drawer),h(this.overlay)]),this.drawer.hidden=!1,this.drawer.removeAttribute("inert"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(i?i.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),i?i.setAttribute("autofocus",""):this.closeButton.focus()});let d=n(this,`drawer.show${k(this.placement)}`,{dir:this.localize.dir()}),s=n(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([l(this.panel,d.keyframes,d.options),l(this.overlay,s.keyframes,s.options)]),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),f(this)),await Promise.all([h(this.drawer),h(this.overlay)]);let i=n(this,`drawer.hide${k(this.placement)}`,{dir:this.localize.dir()}),d=n(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([l(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,i.keyframes,i.options).then(()=>{this.panel.hidden=!0})]),this.drawer.hidden=!0,this.drawer.setAttribute("inert",""),this.overlay.hidden=!1,this.panel.hidden=!1;let s=this.originalTrigger;typeof(s==null?void 0:s.focus)=="function"&&setTimeout(()=>s.focus()),e==null||e.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),m(this)),this.open&&this.contained&&(this.modal.deactivate(),f(this))}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}render(){return u`<section id="drawer" part="base" class="${p("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}" aria-label="${this.label}"><div part="overlay" class="${p("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${this.noHeader?u`<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>`:u`<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>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${p(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></section>`}};t.styles=[...w.styles,x`:host{--width:25rem;display:contents}:host([contained]){z-index:auto}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],a([c("[part=base]")],t.prototype,"drawer",2),a([c("[part=panel]")],t.prototype,"panel",2),a([c("[part=overlay]")],t.prototype,"overlay",2),a([c("[part=close-button]")],t.prototype,"closeButton",2),a([r({type:Boolean,reflect:!0})],t.prototype,"open",2),a([r({attribute:"label",reflect:!0})],t.prototype,"label",2),a([r({reflect:!0})],t.prototype,"placement",2),a([r({type:Boolean,reflect:!0})],t.prototype,"contained",2),a([r({attribute:"no-header",type:Boolean})],t.prototype,"noHeader",2),a([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),a([v("contained",{waitUntilFirstUpdate:!0})],t.prototype,"handleNoModalChange",1),t=a([C("sd-drawer")],t);o("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}});o("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}});o("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}});o("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});o("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.777DWZOA.js";import"../../chunks/chunk.X2O263YD.js";import"../../chunks/chunk.64UNKF45.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.ZN24IDXT.js";import"../../chunks/chunk.DLY5AX2P.js";import"../../chunks/chunk.65NSSTJE.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.A3DKF5BY.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.7TRFUW6U.js";import"../../chunks/chunk.SPDB3L7V.js";import"../../chunks/chunk.SNS2IHBI.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.EFLL7VXU.js";import"../../chunks/chunk.RQYP7MH5.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.6HO6CE4A.js";import"../../chunks/chunk.TNPIUMKG.js";import"../../chunks/chunk.LO4SY63J.js";import"../../chunks/chunk.O3CT4L2X.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.5AILWWY2.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.NW6W2FSS.js";import"../../chunks/chunk.X2O263YD.js";import"../../chunks/chunk.64UNKF45.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.ZN24IDXT.js";import"../../chunks/chunk.DLY5AX2P.js";import"../../chunks/chunk.65NSSTJE.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.A3DKF5BY.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.7TRFUW6U.js";import"../../chunks/chunk.SPDB3L7V.js";import"../../chunks/chunk.SNS2IHBI.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.EFLL7VXU.js";import"../../chunks/chunk.RQYP7MH5.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.6HO6CE4A.js";import"../../chunks/chunk.TNPIUMKG.js";import"../../chunks/chunk.LO4SY63J.js";import"../../chunks/chunk.O3CT4L2X.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.5AILWWY2.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -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 +1 @@
1
- import{a}from"../../chunks/chunk.HKGBSLKX.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.5AILWWY2.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.HT2MRC4Z.js";import"../../chunks/chunk.HE2LNCWW.js";import"../../chunks/chunk.5ZILM4TA.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.6HO6CE4A.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.5AILWWY2.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -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 +1 @@
1
- import{a}from"../../chunks/chunk.NLOKZURD.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.5AILWWY2.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.NQXQB7LN.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.5AILWWY2.js";import"../../chunks/chunk.IRWHG2Q4.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -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"