@solid-design-system/components 5.15.2 → 5.15.4

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 (605) hide show
  1. package/cdn/chunks/{chunk.X67M4VEV.js → chunk.2YVRFWCT.js} +1 -1
  2. package/cdn/chunks/{chunk.LMYU4GM4.js → chunk.4D5OV6MP.js} +1 -1
  3. package/cdn/chunks/{chunk.A3ATIGVC.js → chunk.4HL4TYAF.js} +1 -1
  4. package/cdn/chunks/{chunk.MCRPEKBH.js → chunk.4PO73EK4.js} +1 -1
  5. package/cdn/chunks/{chunk.IARZ5WX7.js → chunk.63HA5DWS.js} +1 -1
  6. package/cdn/chunks/{chunk.WOVNF4UB.js → chunk.6LUZLUPZ.js} +1 -1
  7. package/cdn/chunks/chunk.75DB7UUI.js +1 -0
  8. package/cdn/chunks/{chunk.YGMAKCAO.js → chunk.7MT3OLO6.js} +1 -1
  9. package/cdn/chunks/{chunk.QY23RB35.js → chunk.7REQBHPP.js} +1 -1
  10. package/cdn/chunks/{chunk.S2746Y7L.js → chunk.7TF2VKZP.js} +1 -1
  11. package/cdn/chunks/{chunk.NMJKLBZG.js → chunk.AD4YW3SN.js} +1 -1
  12. package/cdn/chunks/{chunk.ZEI6MVG3.js → chunk.AUXOYKGC.js} +1 -1
  13. package/cdn/chunks/{chunk.CBATEBTB.js → chunk.HDDQHCKE.js} +1 -1
  14. package/cdn/chunks/{chunk.N7TPWVK3.js → chunk.HETK4JFP.js} +1 -1
  15. package/cdn/chunks/{chunk.FT6CHNH7.js → chunk.I7K6F3EW.js} +1 -1
  16. package/cdn/chunks/{chunk.AVDTGVC2.js → chunk.IAZ2YH53.js} +1 -1
  17. package/cdn/chunks/{chunk.KTS2L7KB.js → chunk.IFZH2WU2.js} +1 -1
  18. package/cdn/chunks/{chunk.3HSQ2Z2H.js → chunk.J7VE7NOK.js} +1 -1
  19. package/cdn/chunks/{chunk.N2QTZPQZ.js → chunk.JAODM22N.js} +1 -1
  20. package/cdn/chunks/{chunk.BVQEQFOI.js → chunk.JBDAREH2.js} +1 -1
  21. package/cdn/chunks/{chunk.VPECZPLY.js → chunk.JF2KF6B5.js} +1 -1
  22. package/cdn/chunks/{chunk.VINV25A7.js → chunk.JLFUM3FT.js} +1 -1
  23. package/cdn/chunks/{chunk.VVM6Q5W5.js → chunk.K6SWZOKN.js} +1 -1
  24. package/cdn/chunks/{chunk.35Q2HMDE.js → chunk.KSKA4KXY.js} +1 -1
  25. package/cdn/chunks/{chunk.3NXEOOQY.js → chunk.LGEWGIDA.js} +1 -1
  26. package/cdn/chunks/{chunk.75YRQDIX.js → chunk.LHDA6NXV.js} +1 -1
  27. package/cdn/chunks/{chunk.5WKY435J.js → chunk.LKIFPECY.js} +1 -1
  28. package/cdn/chunks/{chunk.NQF6SSZQ.js → chunk.LNYFSBEN.js} +1 -1
  29. package/cdn/chunks/{chunk.64FNEKLV.js → chunk.LPQ5TH4R.js} +1 -1
  30. package/cdn/chunks/{chunk.R4E7AJDS.js → chunk.M5E6B5VY.js} +1 -1
  31. package/cdn/chunks/{chunk.3G25QQJC.js → chunk.MVPFWAVO.js} +1 -1
  32. package/cdn/chunks/{chunk.SX7AMKP2.js → chunk.NFNNFAFW.js} +1 -1
  33. package/cdn/chunks/{chunk.KEJGWWON.js → chunk.NKNABQOF.js} +1 -1
  34. package/cdn/chunks/{chunk.KD5YA4NW.js → chunk.NPMERFFG.js} +1 -1
  35. package/cdn/chunks/{chunk.KVLS3OE7.js → chunk.NQEJXHMW.js} +1 -1
  36. package/cdn/chunks/{chunk.TPVQ7ZU3.js → chunk.OGUG6TW5.js} +1 -1
  37. package/cdn/chunks/chunk.OGZM2Z6D.js +1 -0
  38. package/cdn/chunks/{chunk.BUJEQKP4.js → chunk.OM6SB77D.js} +1 -1
  39. package/cdn/chunks/{chunk.NOCXFEZL.js → chunk.QB3JS5Y4.js} +1 -1
  40. package/cdn/chunks/{chunk.OGCPYUUV.js → chunk.QWOS7J76.js} +1 -1
  41. package/cdn/chunks/{chunk.B3ARBH5A.js → chunk.R5W2PSUF.js} +1 -1
  42. package/cdn/chunks/{chunk.GKULTMOH.js → chunk.SFW6S5SP.js} +1 -1
  43. package/cdn/chunks/{chunk.HMHMBWUC.js → chunk.SSC3NBB4.js} +1 -1
  44. package/cdn/chunks/{chunk.O7S6H4U5.js → chunk.SZUWLHCU.js} +1 -1
  45. package/cdn/chunks/{chunk.CLJGWFHA.js → chunk.T5UMUIUS.js} +1 -1
  46. package/cdn/chunks/{chunk.5NCRVBOH.js → chunk.TN4ZN62G.js} +1 -1
  47. package/cdn/chunks/{chunk.Z2YNXRLX.js → chunk.TSC3ZJOC.js} +1 -1
  48. package/cdn/chunks/{chunk.PM5HD6JE.js → chunk.UBJMQX7W.js} +1 -1
  49. package/cdn/chunks/{chunk.Z5LJ5HLC.js → chunk.UXKN7SKB.js} +1 -1
  50. package/cdn/chunks/{chunk.DKI2UXRQ.js → chunk.V7VYQFWX.js} +1 -1
  51. package/cdn/chunks/{chunk.KUNW6IVR.js → chunk.XGI7QILY.js} +1 -1
  52. package/cdn/chunks/{chunk.3QQBA7ZB.js → chunk.Y5JIQD4V.js} +1 -1
  53. package/cdn/chunks/{chunk.Y6QP3CKR.js → chunk.YANCIWUB.js} +1 -1
  54. package/cdn/chunks/{chunk.QHS7ZRVI.js → chunk.YJKPE23B.js} +1 -1
  55. package/cdn/chunks/{chunk.GYYHNTEP.js → chunk.ZCZAK3BH.js} +1 -1
  56. package/cdn/chunks/{chunk.FVYMXJRE.js → chunk.ZMW76BKY.js} +1 -1
  57. package/cdn/chunks/{chunk.2FN4O4QC.js → chunk.ZPDA7Y7H.js} +1 -1
  58. package/cdn/components/accordion/accordion.js +1 -1
  59. package/cdn/components/accordion-group/accordion-group.js +1 -1
  60. package/cdn/components/animation/animation.js +1 -1
  61. package/cdn/components/audio/audio.js +1 -1
  62. package/cdn/components/badge/badge.js +1 -1
  63. package/cdn/components/brandshape/brandshape.js +1 -1
  64. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  65. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  66. package/cdn/components/button/button.js +1 -1
  67. package/cdn/components/button-group/button-group.js +1 -1
  68. package/cdn/components/carousel/carousel.js +1 -1
  69. package/cdn/components/carousel-item/carousel-item.js +1 -1
  70. package/cdn/components/checkbox/checkbox.js +1 -1
  71. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  72. package/cdn/components/combobox/combobox.js +1 -1
  73. package/cdn/components/dialog/dialog.js +1 -1
  74. package/cdn/components/divider/divider.js +1 -1
  75. package/cdn/components/drawer/drawer.js +1 -1
  76. package/cdn/components/dropdown/dropdown.js +1 -1
  77. package/cdn/components/expandable/expandable.js +1 -1
  78. package/cdn/components/flipcard/flipcard.js +1 -1
  79. package/cdn/components/header/header.js +1 -1
  80. package/cdn/components/icon/icon.js +1 -1
  81. package/cdn/components/include/include.js +1 -1
  82. package/cdn/components/input/input.js +1 -1
  83. package/cdn/components/link/link.js +1 -1
  84. package/cdn/components/loader/loader.js +1 -1
  85. package/cdn/components/map-marker/map-marker.js +1 -1
  86. package/cdn/components/menu/menu.js +1 -1
  87. package/cdn/components/menu-item/menu-item.js +1 -1
  88. package/cdn/components/navigation-item/navigation-item.js +1 -1
  89. package/cdn/components/notification/notification.js +1 -1
  90. package/cdn/components/optgroup/optgroup.js +1 -1
  91. package/cdn/components/option/option.js +1 -1
  92. package/cdn/components/popup/popup.js +1 -1
  93. package/cdn/components/quickfact/quickfact.js +1 -1
  94. package/cdn/components/radio/radio.js +1 -1
  95. package/cdn/components/radio-button/radio-button.js +1 -1
  96. package/cdn/components/radio-group/radio-group.js +1 -1
  97. package/cdn/components/range/range.js +1 -1
  98. package/cdn/components/range-tick/range-tick.js +1 -1
  99. package/cdn/components/scrollable/scrollable.js +1 -1
  100. package/cdn/components/select/select.js +1 -1
  101. package/cdn/components/spinner/spinner.js +1 -1
  102. package/cdn/components/step/step.js +1 -1
  103. package/cdn/components/step-group/step-group.js +1 -1
  104. package/cdn/components/switch/switch.js +1 -1
  105. package/cdn/components/tab/tab.js +1 -1
  106. package/cdn/components/tab-group/tab-group.js +1 -1
  107. package/cdn/components/tab-panel/tab-panel.js +1 -1
  108. package/cdn/components/tag/tag.js +1 -1
  109. package/cdn/components/teaser/teaser.js +1 -1
  110. package/cdn/components/teaser-media/teaser-media.js +1 -1
  111. package/cdn/components/textarea/textarea.js +1 -1
  112. package/cdn/components/tooltip/tooltip.js +1 -1
  113. package/cdn/components/video/video.js +1 -1
  114. package/cdn/custom-elements.json +223 -227
  115. package/cdn/internal/solid-element.js +1 -0
  116. package/cdn/solid-components.bundle.js +3 -3
  117. package/cdn/solid-components.iife.js +3 -3
  118. package/cdn/solid-components.js +1 -1
  119. package/cdn/utilities/autocomplete-config.js +1 -1
  120. package/cdn/vscode.html-custom-data.json +1 -1
  121. package/cdn/web-types.json +62 -63
  122. package/cdn-versioned/chunks/{chunk.X67M4VEV.js → chunk.2YVRFWCT.js} +1 -1
  123. package/cdn-versioned/chunks/{chunk.LMYU4GM4.js → chunk.4D5OV6MP.js} +1 -1
  124. package/cdn-versioned/chunks/{chunk.A3ATIGVC.js → chunk.4HL4TYAF.js} +1 -1
  125. package/cdn-versioned/chunks/{chunk.MCRPEKBH.js → chunk.4PO73EK4.js} +1 -1
  126. package/cdn-versioned/chunks/{chunk.IARZ5WX7.js → chunk.63HA5DWS.js} +2 -2
  127. package/cdn-versioned/chunks/{chunk.WOVNF4UB.js → chunk.6LUZLUPZ.js} +1 -1
  128. package/cdn-versioned/chunks/chunk.75DB7UUI.js +1 -0
  129. package/cdn-versioned/chunks/chunk.7JV32P5Q.js +1 -1
  130. package/cdn-versioned/chunks/{chunk.YGMAKCAO.js → chunk.7MT3OLO6.js} +1 -1
  131. package/cdn-versioned/chunks/{chunk.QY23RB35.js → chunk.7REQBHPP.js} +1 -1
  132. package/cdn-versioned/chunks/{chunk.S2746Y7L.js → chunk.7TF2VKZP.js} +1 -1
  133. package/cdn-versioned/chunks/{chunk.NMJKLBZG.js → chunk.AD4YW3SN.js} +1 -1
  134. package/cdn-versioned/chunks/{chunk.ZEI6MVG3.js → chunk.AUXOYKGC.js} +1 -1
  135. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  136. package/cdn-versioned/chunks/{chunk.CBATEBTB.js → chunk.HDDQHCKE.js} +1 -1
  137. package/cdn-versioned/chunks/{chunk.N7TPWVK3.js → chunk.HETK4JFP.js} +1 -1
  138. package/cdn-versioned/chunks/{chunk.FT6CHNH7.js → chunk.I7K6F3EW.js} +1 -1
  139. package/cdn-versioned/chunks/{chunk.AVDTGVC2.js → chunk.IAZ2YH53.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.KTS2L7KB.js → chunk.IFZH2WU2.js} +1 -1
  141. package/cdn-versioned/chunks/chunk.IHKACSKZ.js +1 -1
  142. package/cdn-versioned/chunks/{chunk.3HSQ2Z2H.js → chunk.J7VE7NOK.js} +1 -1
  143. package/cdn-versioned/chunks/{chunk.N2QTZPQZ.js → chunk.JAODM22N.js} +1 -1
  144. package/cdn-versioned/chunks/{chunk.BVQEQFOI.js → chunk.JBDAREH2.js} +1 -1
  145. package/cdn-versioned/chunks/{chunk.VPECZPLY.js → chunk.JF2KF6B5.js} +1 -1
  146. package/cdn-versioned/chunks/{chunk.VINV25A7.js → chunk.JLFUM3FT.js} +1 -1
  147. package/cdn-versioned/chunks/{chunk.VVM6Q5W5.js → chunk.K6SWZOKN.js} +4 -4
  148. package/cdn-versioned/chunks/{chunk.35Q2HMDE.js → chunk.KSKA4KXY.js} +1 -1
  149. package/cdn-versioned/chunks/{chunk.3NXEOOQY.js → chunk.LGEWGIDA.js} +1 -1
  150. package/cdn-versioned/chunks/{chunk.75YRQDIX.js → chunk.LHDA6NXV.js} +1 -1
  151. package/cdn-versioned/chunks/{chunk.5WKY435J.js → chunk.LKIFPECY.js} +1 -1
  152. package/cdn-versioned/chunks/{chunk.NQF6SSZQ.js → chunk.LNYFSBEN.js} +1 -1
  153. package/cdn-versioned/chunks/{chunk.64FNEKLV.js → chunk.LPQ5TH4R.js} +1 -1
  154. package/cdn-versioned/chunks/{chunk.R4E7AJDS.js → chunk.M5E6B5VY.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.3G25QQJC.js → chunk.MVPFWAVO.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.SX7AMKP2.js → chunk.NFNNFAFW.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.KEJGWWON.js → chunk.NKNABQOF.js} +1 -1
  158. package/cdn-versioned/chunks/{chunk.KD5YA4NW.js → chunk.NPMERFFG.js} +1 -1
  159. package/cdn-versioned/chunks/{chunk.KVLS3OE7.js → chunk.NQEJXHMW.js} +1 -1
  160. package/cdn-versioned/chunks/{chunk.TPVQ7ZU3.js → chunk.OGUG6TW5.js} +1 -1
  161. package/cdn-versioned/chunks/chunk.OGZM2Z6D.js +1 -0
  162. package/cdn-versioned/chunks/{chunk.BUJEQKP4.js → chunk.OM6SB77D.js} +1 -1
  163. package/cdn-versioned/chunks/{chunk.NOCXFEZL.js → chunk.QB3JS5Y4.js} +1 -1
  164. package/cdn-versioned/chunks/{chunk.OGCPYUUV.js → chunk.QWOS7J76.js} +1 -1
  165. package/cdn-versioned/chunks/{chunk.B3ARBH5A.js → chunk.R5W2PSUF.js} +4 -4
  166. package/cdn-versioned/chunks/{chunk.GKULTMOH.js → chunk.SFW6S5SP.js} +1 -1
  167. package/cdn-versioned/chunks/{chunk.HMHMBWUC.js → chunk.SSC3NBB4.js} +1 -1
  168. package/cdn-versioned/chunks/{chunk.O7S6H4U5.js → chunk.SZUWLHCU.js} +1 -1
  169. package/cdn-versioned/chunks/{chunk.CLJGWFHA.js → chunk.T5UMUIUS.js} +1 -1
  170. package/cdn-versioned/chunks/{chunk.5NCRVBOH.js → chunk.TN4ZN62G.js} +1 -1
  171. package/cdn-versioned/chunks/{chunk.Z2YNXRLX.js → chunk.TSC3ZJOC.js} +1 -1
  172. package/cdn-versioned/chunks/{chunk.PM5HD6JE.js → chunk.UBJMQX7W.js} +1 -1
  173. package/cdn-versioned/chunks/{chunk.Z5LJ5HLC.js → chunk.UXKN7SKB.js} +1 -1
  174. package/cdn-versioned/chunks/{chunk.DKI2UXRQ.js → chunk.V7VYQFWX.js} +1 -1
  175. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  176. package/cdn-versioned/chunks/{chunk.KUNW6IVR.js → chunk.XGI7QILY.js} +1 -1
  177. package/cdn-versioned/chunks/{chunk.3QQBA7ZB.js → chunk.Y5JIQD4V.js} +1 -1
  178. package/cdn-versioned/chunks/{chunk.Y6QP3CKR.js → chunk.YANCIWUB.js} +1 -1
  179. package/cdn-versioned/chunks/{chunk.QHS7ZRVI.js → chunk.YJKPE23B.js} +1 -1
  180. package/cdn-versioned/chunks/{chunk.GYYHNTEP.js → chunk.ZCZAK3BH.js} +1 -1
  181. package/cdn-versioned/chunks/{chunk.FVYMXJRE.js → chunk.ZMW76BKY.js} +1 -1
  182. package/cdn-versioned/chunks/{chunk.2FN4O4QC.js → chunk.ZPDA7Y7H.js} +1 -1
  183. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  184. package/cdn-versioned/components/accordion/accordion.js +1 -1
  185. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  186. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  187. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  188. package/cdn-versioned/components/animation/animation.js +1 -1
  189. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  190. package/cdn-versioned/components/audio/audio.js +1 -1
  191. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  192. package/cdn-versioned/components/badge/badge.js +1 -1
  193. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  194. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  195. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  196. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  197. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  198. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  199. package/cdn-versioned/components/button/button.d.ts +1 -1
  200. package/cdn-versioned/components/button/button.js +1 -1
  201. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  202. package/cdn-versioned/components/button-group/button-group.js +1 -1
  203. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  204. package/cdn-versioned/components/carousel/carousel.js +1 -1
  205. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  206. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  207. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  208. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  209. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  210. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  211. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  212. package/cdn-versioned/components/combobox/combobox.js +1 -1
  213. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  214. package/cdn-versioned/components/dialog/dialog.js +1 -1
  215. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  216. package/cdn-versioned/components/divider/divider.js +1 -1
  217. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  218. package/cdn-versioned/components/drawer/drawer.js +1 -1
  219. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  220. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  221. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  222. package/cdn-versioned/components/expandable/expandable.js +1 -1
  223. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  224. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  225. package/cdn-versioned/components/header/header.d.ts +1 -1
  226. package/cdn-versioned/components/header/header.js +1 -1
  227. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  228. package/cdn-versioned/components/icon/icon.js +1 -1
  229. package/cdn-versioned/components/include/include.d.ts +1 -1
  230. package/cdn-versioned/components/include/include.js +1 -1
  231. package/cdn-versioned/components/input/input.d.ts +1 -1
  232. package/cdn-versioned/components/input/input.js +1 -1
  233. package/cdn-versioned/components/link/link.d.ts +1 -1
  234. package/cdn-versioned/components/link/link.js +1 -1
  235. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  236. package/cdn-versioned/components/loader/loader.js +1 -1
  237. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  238. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  239. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  240. package/cdn-versioned/components/menu/menu.js +1 -1
  241. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  242. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  243. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  244. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  245. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  246. package/cdn-versioned/components/notification/notification.js +1 -1
  247. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  248. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  249. package/cdn-versioned/components/option/option.d.ts +1 -1
  250. package/cdn-versioned/components/option/option.js +1 -1
  251. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  252. package/cdn-versioned/components/popup/popup.js +1 -1
  253. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  254. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  255. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  256. package/cdn-versioned/components/radio/radio.js +1 -1
  257. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  258. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  259. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  260. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  261. package/cdn-versioned/components/range/range.d.ts +1 -1
  262. package/cdn-versioned/components/range/range.js +1 -1
  263. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  264. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  265. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  266. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  267. package/cdn-versioned/components/select/select.d.ts +1 -1
  268. package/cdn-versioned/components/select/select.js +1 -1
  269. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  270. package/cdn-versioned/components/spinner/spinner.js +1 -1
  271. package/cdn-versioned/components/step/step.d.ts +1 -1
  272. package/cdn-versioned/components/step/step.js +1 -1
  273. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  274. package/cdn-versioned/components/step-group/step-group.js +1 -1
  275. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  276. package/cdn-versioned/components/switch/switch.js +1 -1
  277. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  278. package/cdn-versioned/components/tab/tab.js +1 -1
  279. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  280. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  281. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  282. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  283. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  284. package/cdn-versioned/components/tag/tag.js +1 -1
  285. package/cdn-versioned/components/teaser/teaser.js +1 -1
  286. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  287. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  288. package/cdn-versioned/components/textarea/textarea.js +1 -1
  289. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  290. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  291. package/cdn-versioned/components/video/video.d.ts +1 -1
  292. package/cdn-versioned/components/video/video.js +1 -1
  293. package/cdn-versioned/custom-elements.json +439 -443
  294. package/cdn-versioned/internal/form.js +3 -3
  295. package/cdn-versioned/internal/solid-element.js +1 -0
  296. package/cdn-versioned/solid-components.bundle.js +14 -14
  297. package/cdn-versioned/solid-components.css +2 -2
  298. package/cdn-versioned/solid-components.iife.js +14 -14
  299. package/cdn-versioned/solid-components.js +1 -1
  300. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  301. package/cdn-versioned/vscode.html-custom-data.json +92 -92
  302. package/cdn-versioned/web-types.json +212 -213
  303. package/dist/chunks/{chunk.CS6G3MPN.js → chunk.3PV3F75L.js} +1 -1
  304. package/dist/chunks/{chunk.WFIIU6PJ.js → chunk.4AOAJQP7.js} +1 -1
  305. package/dist/chunks/{chunk.GGCTLJ4D.js → chunk.4LAMMIK2.js} +1 -1
  306. package/dist/chunks/{chunk.4FYYKKBL.js → chunk.4WAQH2LW.js} +1 -1
  307. package/dist/chunks/{chunk.T5YQM2UK.js → chunk.5HFTOZMB.js} +1 -1
  308. package/dist/chunks/{chunk.B3PDWSAO.js → chunk.5JK2KIBK.js} +10 -3
  309. package/dist/chunks/{chunk.EYGJ6QWJ.js → chunk.5LXAXAXD.js} +1 -1
  310. package/dist/chunks/{chunk.RUNTBTHS.js → chunk.64ZTG326.js} +1 -1
  311. package/dist/chunks/{chunk.PBEPE2U7.js → chunk.ADMDIP2N.js} +1 -1
  312. package/dist/chunks/{chunk.QCA2GRRO.js → chunk.ALVRUWOP.js} +1 -1
  313. package/dist/chunks/{chunk.4I4QBVGB.js → chunk.B253CY3Z.js} +1 -1
  314. package/dist/chunks/{chunk.AE3WPKVR.js → chunk.BLD3LITW.js} +1 -1
  315. package/dist/chunks/{chunk.AHMEVJMX.js → chunk.BNDQPSSU.js} +1 -1
  316. package/dist/chunks/{chunk.7YQJWIYJ.js → chunk.BQOCOLH7.js} +1 -1
  317. package/dist/chunks/{chunk.2MJJHZR4.js → chunk.CBHUSVMP.js} +1 -1
  318. package/dist/chunks/{chunk.BDUEFRPO.js → chunk.CGVZPUF3.js} +1 -1
  319. package/dist/chunks/{chunk.KNWAH4Z5.js → chunk.D7E6RWLG.js} +1 -1
  320. package/dist/chunks/{chunk.5KQPPIBZ.js → chunk.DWQTPZ53.js} +1 -1
  321. package/dist/chunks/{chunk.NAFCDIL3.js → chunk.EXYFVTKN.js} +1 -1
  322. package/dist/chunks/{chunk.5LLVB6R3.js → chunk.FGIN4G6C.js} +1 -1
  323. package/dist/chunks/{chunk.ALVVYYIR.js → chunk.FI37FRWB.js} +1 -1
  324. package/dist/chunks/{chunk.5PM33S4N.js → chunk.G3AFPE4J.js} +1 -1
  325. package/dist/chunks/{chunk.BMFACTFH.js → chunk.HMSJI72P.js} +1 -1
  326. package/dist/chunks/{chunk.BA3MSKPQ.js → chunk.HXDJRVPP.js} +1 -1
  327. package/dist/chunks/{chunk.MHLZ7GKR.js → chunk.HY22WLDZ.js} +2 -2
  328. package/dist/chunks/{chunk.32WTYFY6.js → chunk.IJCSM2YM.js} +1 -1
  329. package/dist/chunks/{chunk.CNDCBFFV.js → chunk.IOYXRMSA.js} +1 -1
  330. package/dist/chunks/{chunk.JW5YX4GK.js → chunk.JBQBD6JN.js} +2 -2
  331. package/dist/chunks/{chunk.LGELFCZP.js → chunk.JOVAJ5YQ.js} +1 -1
  332. package/dist/chunks/{chunk.K2DJQDJ4.js → chunk.K2MHAAI3.js} +1 -1
  333. package/dist/chunks/{chunk.NFY6NE6Z.js → chunk.KEPCA2VR.js} +1 -1
  334. package/dist/chunks/{chunk.VGC5A42Q.js → chunk.KFCKRUYW.js} +1 -1
  335. package/dist/chunks/{chunk.WUIOLD72.js → chunk.KGOTQFL4.js} +1 -1
  336. package/dist/chunks/{chunk.HMK6KRAR.js → chunk.LFSEKQNM.js} +2 -2
  337. package/dist/chunks/{chunk.I2LO4IGY.js → chunk.LI5GPRPP.js} +1 -1
  338. package/dist/chunks/{chunk.26VYQIOD.js → chunk.LK6R445Z.js} +1 -1
  339. package/dist/chunks/{chunk.XWZNY4BH.js → chunk.M4HHULGJ.js} +1 -1
  340. package/dist/chunks/{chunk.37LBEMXS.js → chunk.ML3YMDJ4.js} +1 -1
  341. package/dist/chunks/{chunk.ZK4EFZJB.js → chunk.NSGW6FXQ.js} +1 -1
  342. package/dist/chunks/{chunk.KQLO4TZ5.js → chunk.O6LNQC5P.js} +1 -1
  343. package/dist/chunks/{chunk.C332XERU.js → chunk.OCYR7QTC.js} +1 -1
  344. package/dist/chunks/{chunk.B4AW33FC.js → chunk.OF3Y52K7.js} +1 -1
  345. package/dist/chunks/{chunk.SMMMT4SZ.js → chunk.OIHNIS5V.js} +1 -1
  346. package/dist/chunks/{chunk.ZOGRR75S.js → chunk.PDTMOWM2.js} +1 -1
  347. package/dist/chunks/{chunk.NXS7DO7N.js → chunk.RM5CDV7K.js} +1 -1
  348. package/dist/chunks/{chunk.HV3AJIJO.js → chunk.S7FUQC6B.js} +1 -1
  349. package/dist/chunks/{chunk.3EQ2WOVC.js → chunk.SEQMD46Q.js} +1 -1
  350. package/dist/chunks/{chunk.37TNCACC.js → chunk.T4GUY266.js} +12 -13
  351. package/dist/chunks/{chunk.BJ6QDKVA.js → chunk.TYVYMEOF.js} +1 -1
  352. package/dist/chunks/{chunk.SV7PKNLF.js → chunk.URQQHPGA.js} +1 -1
  353. package/dist/chunks/{chunk.ANOMYZE3.js → chunk.VAUKIGVG.js} +1 -1
  354. package/dist/chunks/{chunk.B6FL47S6.js → chunk.VJDDGKX3.js} +1 -1
  355. package/dist/chunks/{chunk.SGJLP4HM.js → chunk.VXNLEJ7N.js} +1 -1
  356. package/dist/chunks/{chunk.GIS5TWPR.js → chunk.WKG46TY7.js} +1 -1
  357. package/dist/chunks/{chunk.SRLNYSZB.js → chunk.WO6TH2CW.js} +1 -1
  358. package/dist/chunks/{chunk.KPWKRZGL.js → chunk.YTVIW7VH.js} +1 -1
  359. package/dist/chunks/{chunk.DIXRYCRP.js → chunk.ZCJO2MVE.js} +1 -1
  360. package/dist/components/accordion/accordion.js +3 -3
  361. package/dist/components/accordion-group/accordion-group.js +4 -4
  362. package/dist/components/animation/animation.js +2 -2
  363. package/dist/components/audio/audio.js +6 -6
  364. package/dist/components/badge/badge.js +2 -2
  365. package/dist/components/brandshape/brandshape.js +2 -2
  366. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  367. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  368. package/dist/components/button/button.js +3 -3
  369. package/dist/components/button-group/button-group.js +2 -2
  370. package/dist/components/carousel/carousel.js +4 -4
  371. package/dist/components/carousel-item/carousel-item.js +2 -2
  372. package/dist/components/checkbox/checkbox.js +3 -3
  373. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  374. package/dist/components/combobox/combobox.js +5 -5
  375. package/dist/components/dialog/dialog.js +5 -5
  376. package/dist/components/divider/divider.js +2 -2
  377. package/dist/components/drawer/drawer.js +5 -5
  378. package/dist/components/dropdown/dropdown.js +3 -3
  379. package/dist/components/expandable/expandable.js +3 -3
  380. package/dist/components/flipcard/flipcard.js +5 -5
  381. package/dist/components/header/header.js +2 -2
  382. package/dist/components/icon/icon.js +2 -2
  383. package/dist/components/include/include.js +2 -2
  384. package/dist/components/input/input.js +3 -3
  385. package/dist/components/link/link.js +2 -2
  386. package/dist/components/loader/loader.js +2 -2
  387. package/dist/components/map-marker/map-marker.js +2 -2
  388. package/dist/components/menu/menu.js +2 -2
  389. package/dist/components/menu-item/menu-item.js +2 -2
  390. package/dist/components/navigation-item/navigation-item.js +4 -4
  391. package/dist/components/notification/notification.js +5 -5
  392. package/dist/components/optgroup/optgroup.js +3 -3
  393. package/dist/components/option/option.js +3 -3
  394. package/dist/components/popup/popup.js +2 -2
  395. package/dist/components/quickfact/quickfact.js +4 -4
  396. package/dist/components/radio/radio.js +2 -2
  397. package/dist/components/radio-button/radio-button.js +2 -2
  398. package/dist/components/radio-group/radio-group.js +4 -4
  399. package/dist/components/range/range.js +2 -2
  400. package/dist/components/range-tick/range-tick.js +2 -2
  401. package/dist/components/scrollable/scrollable.js +3 -3
  402. package/dist/components/select/select.js +5 -5
  403. package/dist/components/spinner/spinner.js +2 -2
  404. package/dist/components/step/step.js +3 -3
  405. package/dist/components/step-group/step-group.js +2 -2
  406. package/dist/components/switch/switch.js +2 -2
  407. package/dist/components/tab/tab.js +2 -2
  408. package/dist/components/tab-group/tab-group.js +3 -3
  409. package/dist/components/tab-panel/tab-panel.js +2 -2
  410. package/dist/components/tag/tag.js +3 -3
  411. package/dist/components/teaser/teaser.js +2 -2
  412. package/dist/components/teaser-media/teaser-media.js +2 -2
  413. package/dist/components/textarea/textarea.js +3 -3
  414. package/dist/components/tooltip/tooltip.js +4 -4
  415. package/dist/components/video/video.js +3 -3
  416. package/dist/custom-elements.json +223 -227
  417. package/dist/internal/solid-element.js +1 -0
  418. package/dist/solid-components.js +57 -57
  419. package/dist/utilities/autocomplete-config.js +2 -2
  420. package/dist/vscode.html-custom-data.json +1 -1
  421. package/dist/web-types.json +62 -63
  422. package/dist-versioned/chunks/{chunk.CS6G3MPN.js → chunk.3PV3F75L.js} +3 -3
  423. package/dist-versioned/chunks/{chunk.WFIIU6PJ.js → chunk.4AOAJQP7.js} +4 -4
  424. package/dist-versioned/chunks/{chunk.GGCTLJ4D.js → chunk.4LAMMIK2.js} +3 -3
  425. package/dist-versioned/chunks/{chunk.4FYYKKBL.js → chunk.4WAQH2LW.js} +4 -4
  426. package/dist-versioned/chunks/{chunk.T5YQM2UK.js → chunk.5HFTOZMB.js} +7 -7
  427. package/dist-versioned/chunks/{chunk.B3PDWSAO.js → chunk.5JK2KIBK.js} +12 -5
  428. package/dist-versioned/chunks/{chunk.EYGJ6QWJ.js → chunk.5LXAXAXD.js} +2 -2
  429. package/dist-versioned/chunks/{chunk.RUNTBTHS.js → chunk.64ZTG326.js} +2 -2
  430. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  431. package/dist-versioned/chunks/{chunk.PBEPE2U7.js → chunk.ADMDIP2N.js} +3 -3
  432. package/dist-versioned/chunks/{chunk.QCA2GRRO.js → chunk.ALVRUWOP.js} +6 -6
  433. package/dist-versioned/chunks/{chunk.4I4QBVGB.js → chunk.B253CY3Z.js} +4 -4
  434. package/dist-versioned/chunks/{chunk.AE3WPKVR.js → chunk.BLD3LITW.js} +2 -2
  435. package/dist-versioned/chunks/{chunk.AHMEVJMX.js → chunk.BNDQPSSU.js} +2 -2
  436. package/dist-versioned/chunks/{chunk.7YQJWIYJ.js → chunk.BQOCOLH7.js} +2 -2
  437. package/dist-versioned/chunks/{chunk.2MJJHZR4.js → chunk.CBHUSVMP.js} +25 -25
  438. package/dist-versioned/chunks/{chunk.BDUEFRPO.js → chunk.CGVZPUF3.js} +3 -3
  439. package/dist-versioned/chunks/{chunk.KNWAH4Z5.js → chunk.D7E6RWLG.js} +2 -2
  440. package/dist-versioned/chunks/{chunk.5KQPPIBZ.js → chunk.DWQTPZ53.js} +3 -3
  441. package/dist-versioned/chunks/{chunk.NAFCDIL3.js → chunk.EXYFVTKN.js} +27 -27
  442. package/dist-versioned/chunks/{chunk.5LLVB6R3.js → chunk.FGIN4G6C.js} +6 -6
  443. package/dist-versioned/chunks/{chunk.ALVVYYIR.js → chunk.FI37FRWB.js} +2 -2
  444. package/dist-versioned/chunks/{chunk.5PM33S4N.js → chunk.G3AFPE4J.js} +3 -3
  445. package/dist-versioned/chunks/{chunk.BMFACTFH.js → chunk.HMSJI72P.js} +4 -4
  446. package/dist-versioned/chunks/{chunk.BA3MSKPQ.js → chunk.HXDJRVPP.js} +6 -6
  447. package/dist-versioned/chunks/{chunk.MHLZ7GKR.js → chunk.HY22WLDZ.js} +14 -14
  448. package/dist-versioned/chunks/{chunk.32WTYFY6.js → chunk.IJCSM2YM.js} +5 -5
  449. package/dist-versioned/chunks/{chunk.CNDCBFFV.js → chunk.IOYXRMSA.js} +2 -2
  450. package/dist-versioned/chunks/{chunk.JW5YX4GK.js → chunk.JBQBD6JN.js} +4 -4
  451. package/dist-versioned/chunks/{chunk.LGELFCZP.js → chunk.JOVAJ5YQ.js} +3 -3
  452. package/dist-versioned/chunks/{chunk.K2DJQDJ4.js → chunk.K2MHAAI3.js} +2 -2
  453. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  454. package/dist-versioned/chunks/{chunk.NFY6NE6Z.js → chunk.KEPCA2VR.js} +3 -3
  455. package/dist-versioned/chunks/{chunk.VGC5A42Q.js → chunk.KFCKRUYW.js} +2 -2
  456. package/dist-versioned/chunks/{chunk.WUIOLD72.js → chunk.KGOTQFL4.js} +7 -7
  457. package/dist-versioned/chunks/{chunk.HMK6KRAR.js → chunk.LFSEKQNM.js} +8 -8
  458. package/dist-versioned/chunks/{chunk.I2LO4IGY.js → chunk.LI5GPRPP.js} +4 -4
  459. package/dist-versioned/chunks/{chunk.26VYQIOD.js → chunk.LK6R445Z.js} +4 -4
  460. package/dist-versioned/chunks/{chunk.XWZNY4BH.js → chunk.M4HHULGJ.js} +4 -4
  461. package/dist-versioned/chunks/{chunk.37LBEMXS.js → chunk.ML3YMDJ4.js} +13 -13
  462. package/dist-versioned/chunks/{chunk.ZK4EFZJB.js → chunk.NSGW6FXQ.js} +2 -2
  463. package/dist-versioned/chunks/{chunk.KQLO4TZ5.js → chunk.O6LNQC5P.js} +3 -3
  464. package/dist-versioned/chunks/{chunk.C332XERU.js → chunk.OCYR7QTC.js} +3 -3
  465. package/dist-versioned/chunks/{chunk.B4AW33FC.js → chunk.OF3Y52K7.js} +2 -2
  466. package/dist-versioned/chunks/{chunk.SMMMT4SZ.js → chunk.OIHNIS5V.js} +9 -9
  467. package/dist-versioned/chunks/{chunk.ZOGRR75S.js → chunk.PDTMOWM2.js} +4 -4
  468. package/dist-versioned/chunks/{chunk.NXS7DO7N.js → chunk.RM5CDV7K.js} +1 -1
  469. package/dist-versioned/chunks/{chunk.HV3AJIJO.js → chunk.S7FUQC6B.js} +2 -2
  470. package/dist-versioned/chunks/{chunk.3EQ2WOVC.js → chunk.SEQMD46Q.js} +3 -3
  471. package/dist-versioned/chunks/{chunk.37TNCACC.js → chunk.T4GUY266.js} +14 -15
  472. package/dist-versioned/chunks/{chunk.BJ6QDKVA.js → chunk.TYVYMEOF.js} +5 -5
  473. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  474. package/dist-versioned/chunks/{chunk.SV7PKNLF.js → chunk.URQQHPGA.js} +5 -5
  475. package/dist-versioned/chunks/{chunk.ANOMYZE3.js → chunk.VAUKIGVG.js} +12 -12
  476. package/dist-versioned/chunks/{chunk.B6FL47S6.js → chunk.VJDDGKX3.js} +3 -3
  477. package/dist-versioned/chunks/{chunk.SGJLP4HM.js → chunk.VXNLEJ7N.js} +3 -3
  478. package/dist-versioned/chunks/{chunk.GIS5TWPR.js → chunk.WKG46TY7.js} +2 -2
  479. package/dist-versioned/chunks/{chunk.SRLNYSZB.js → chunk.WO6TH2CW.js} +6 -6
  480. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  481. package/dist-versioned/chunks/{chunk.KPWKRZGL.js → chunk.YTVIW7VH.js} +15 -15
  482. package/dist-versioned/chunks/{chunk.DIXRYCRP.js → chunk.ZCJO2MVE.js} +2 -2
  483. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  484. package/dist-versioned/components/accordion/accordion.js +3 -3
  485. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  486. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  487. package/dist-versioned/components/animation/animation.d.ts +1 -1
  488. package/dist-versioned/components/animation/animation.js +2 -2
  489. package/dist-versioned/components/audio/audio.d.ts +1 -1
  490. package/dist-versioned/components/audio/audio.js +6 -6
  491. package/dist-versioned/components/badge/badge.d.ts +1 -1
  492. package/dist-versioned/components/badge/badge.js +2 -2
  493. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  494. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  495. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  496. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  497. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  498. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  499. package/dist-versioned/components/button/button.d.ts +1 -1
  500. package/dist-versioned/components/button/button.js +3 -3
  501. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  502. package/dist-versioned/components/button-group/button-group.js +2 -2
  503. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  504. package/dist-versioned/components/carousel/carousel.js +4 -4
  505. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  506. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  507. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  508. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  509. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  510. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  511. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  512. package/dist-versioned/components/combobox/combobox.js +5 -5
  513. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  514. package/dist-versioned/components/dialog/dialog.js +5 -5
  515. package/dist-versioned/components/divider/divider.d.ts +1 -1
  516. package/dist-versioned/components/divider/divider.js +2 -2
  517. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  518. package/dist-versioned/components/drawer/drawer.js +5 -5
  519. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  520. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  521. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  522. package/dist-versioned/components/expandable/expandable.js +3 -3
  523. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  524. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  525. package/dist-versioned/components/header/header.d.ts +1 -1
  526. package/dist-versioned/components/header/header.js +2 -2
  527. package/dist-versioned/components/icon/icon.d.ts +1 -1
  528. package/dist-versioned/components/icon/icon.js +2 -2
  529. package/dist-versioned/components/include/include.d.ts +1 -1
  530. package/dist-versioned/components/include/include.js +2 -2
  531. package/dist-versioned/components/input/input.d.ts +1 -1
  532. package/dist-versioned/components/input/input.js +3 -3
  533. package/dist-versioned/components/link/link.d.ts +1 -1
  534. package/dist-versioned/components/link/link.js +2 -2
  535. package/dist-versioned/components/loader/loader.d.ts +1 -1
  536. package/dist-versioned/components/loader/loader.js +2 -2
  537. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  538. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  539. package/dist-versioned/components/menu/menu.d.ts +1 -1
  540. package/dist-versioned/components/menu/menu.js +2 -2
  541. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  542. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  543. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  544. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  545. package/dist-versioned/components/notification/notification.d.ts +1 -1
  546. package/dist-versioned/components/notification/notification.js +5 -5
  547. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  548. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  549. package/dist-versioned/components/option/option.d.ts +1 -1
  550. package/dist-versioned/components/option/option.js +3 -3
  551. package/dist-versioned/components/popup/popup.d.ts +1 -1
  552. package/dist-versioned/components/popup/popup.js +2 -2
  553. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  554. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  555. package/dist-versioned/components/radio/radio.d.ts +1 -1
  556. package/dist-versioned/components/radio/radio.js +2 -2
  557. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  558. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  559. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  560. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  561. package/dist-versioned/components/range/range.d.ts +1 -1
  562. package/dist-versioned/components/range/range.js +2 -2
  563. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  564. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  565. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  566. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  567. package/dist-versioned/components/select/select.d.ts +1 -1
  568. package/dist-versioned/components/select/select.js +5 -5
  569. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  570. package/dist-versioned/components/spinner/spinner.js +2 -2
  571. package/dist-versioned/components/step/step.d.ts +1 -1
  572. package/dist-versioned/components/step/step.js +3 -3
  573. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  574. package/dist-versioned/components/step-group/step-group.js +2 -2
  575. package/dist-versioned/components/switch/switch.d.ts +1 -1
  576. package/dist-versioned/components/switch/switch.js +2 -2
  577. package/dist-versioned/components/tab/tab.d.ts +1 -1
  578. package/dist-versioned/components/tab/tab.js +2 -2
  579. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  580. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  581. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  582. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  583. package/dist-versioned/components/tag/tag.d.ts +1 -1
  584. package/dist-versioned/components/tag/tag.js +3 -3
  585. package/dist-versioned/components/teaser/teaser.js +2 -2
  586. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  587. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  588. package/dist-versioned/components/textarea/textarea.js +3 -3
  589. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  590. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  591. package/dist-versioned/components/video/video.d.ts +1 -1
  592. package/dist-versioned/components/video/video.js +3 -3
  593. package/dist-versioned/custom-elements.json +439 -443
  594. package/dist-versioned/internal/form.js +3 -3
  595. package/dist-versioned/internal/solid-element.js +1 -0
  596. package/dist-versioned/solid-components.css +2 -2
  597. package/dist-versioned/solid-components.js +57 -57
  598. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  599. package/dist-versioned/vscode.html-custom-data.json +92 -92
  600. package/dist-versioned/web-types.json +212 -213
  601. package/package.json +3 -3
  602. package/cdn/chunks/chunk.F4HX43DG.js +0 -1
  603. package/cdn/chunks/chunk.NMZIXMMF.js +0 -1
  604. package/cdn-versioned/chunks/chunk.F4HX43DG.js +0 -1
  605. package/cdn-versioned/chunks/chunk.NMZIXMMF.js +0 -1
@@ -1 +1 @@
1
- import"./chunks/chunk.HAL7R4WT.js";import{a as oo}from"./chunks/chunk.PM5HD6JE.js";import{a as to}from"./chunks/chunk.CEVVDV52.js";import{a as U}from"./chunks/chunk.3HSQ2Z2H.js";import{a as W}from"./chunks/chunk.VINV25A7.js";import{a as X}from"./chunks/chunk.MCRPEKBH.js";import{a as Y}from"./chunks/chunk.75YRQDIX.js";import{a as Z}from"./chunks/chunk.BUJEQKP4.js";import{a as _}from"./chunks/chunk.O7S6H4U5.js";import{a as $}from"./chunks/chunk.SX7AMKP2.js";import{a as V}from"./chunks/chunk.FVYMXJRE.js";import{a as j}from"./chunks/chunk.CBATEBTB.js";import{a as q}from"./chunks/chunk.B3ARBH5A.js";import{a as y}from"./chunks/chunk.ZEI6MVG3.js";import{a as z}from"./chunks/chunk.NMZIXMMF.js";import{a as J}from"./chunks/chunk.KEJGWWON.js";import{a as K}from"./chunks/chunk.AVDTGVC2.js";import{a as N}from"./chunks/chunk.X67M4VEV.js";import{a as O}from"./chunks/chunk.WOVNF4UB.js";import{a as P}from"./chunks/chunk.KVLS3OE7.js";import{a as F}from"./chunks/chunk.Z5LJ5HLC.js";import{a as H}from"./chunks/chunk.QY23RB35.js";import{a as E}from"./chunks/chunk.35Q2HMDE.js";import{a as Q}from"./chunks/chunk.VPECZPLY.js";import"./chunks/chunk.IVHEBGOY.js";import{a as h}from"./chunks/chunk.KUNW6IVR.js";import{a as A}from"./chunks/chunk.3G25QQJC.js";import{a as D}from"./chunks/chunk.5NCRVBOH.js";import{a as w}from"./chunks/chunk.S2746Y7L.js";import"./chunks/chunk.IHKACSKZ.js";import{a as v}from"./chunks/chunk.Y6QP3CKR.js";import{a as L}from"./chunks/chunk.OGCPYUUV.js";import{a as M}from"./chunks/chunk.Z2YNXRLX.js";import{a as R}from"./chunks/chunk.KTS2L7KB.js";import"./chunks/chunk.63JDND76.js";import{a as g}from"./chunks/chunk.F4HX43DG.js";import{a as I}from"./chunks/chunk.3NXEOOQY.js";import{a as k}from"./chunks/chunk.IARZ5WX7.js";import{a as B}from"./chunks/chunk.CLJGWFHA.js";import{a as C}from"./chunks/chunk.HMHMBWUC.js";import{a as G}from"./chunks/chunk.QHS7ZRVI.js";import{a as i}from"./chunks/chunk.N2QTZPQZ.js";import"./chunks/chunk.WM6VARGR.js";import"./chunks/chunk.HUOC3LAU.js";import{a as n}from"./chunks/chunk.A3ATIGVC.js";import{a as T}from"./chunks/chunk.VVM6Q5W5.js";import"./chunks/chunk.US3OB3XU.js";import{a as b}from"./chunks/chunk.NQF6SSZQ.js";import{a as c}from"./chunks/chunk.TPVQ7ZU3.js";import"./chunks/chunk.RTXVVB2O.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.GYYHNTEP.js";import{a as l}from"./chunks/chunk.GKULTMOH.js";import{a as m}from"./chunks/chunk.3QQBA7ZB.js";import{a as x}from"./chunks/chunk.BVQEQFOI.js";import"./chunks/chunk.64FNEKLV.js";import{a as s}from"./chunks/chunk.5WKY435J.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as S}from"./chunks/chunk.NMJKLBZG.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.NOCXFEZL.js";import{a as e}from"./chunks/chunk.KD5YA4NW.js";import{a as r}from"./chunks/chunk.LMYU4GM4.js";import"./chunks/chunk.XR2KNB36.js";import{a as p}from"./chunks/chunk.N7TPWVK3.js";import{a as f}from"./chunks/chunk.YGMAKCAO.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.R4E7AJDS.js";import{a as t}from"./chunks/chunk.FT6CHNH7.js";import"./chunks/chunk.7JV32P5Q.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.GLVMB2MH.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.JMGRPC2F.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as o}from"./chunks/chunk.DKI2UXRQ.js";import"./chunks/chunk.FODPSMJF.js";import"./chunks/chunk.D6LAH53B.js";import{d as eo,e as ao}from"./chunks/chunk.H2TFK3FW.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.M275INNC.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.26V4EXHB.js";import{a as ro}from"./chunks/chunk.Y7NVH75J.js";import"./chunks/chunk.QPJOKELG.js";import"./chunks/chunk.D4Q335D6.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.2FN4O4QC.js";import"./chunks/chunk.ZR5P6TQI.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{ro as LocalizeController,e as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,m as SdBreadcrumb,x as SdBreadcrumbItem,d as SdButton,s as SdCarousel,S as SdCarouselItem,i as SdCheckbox,n as SdCheckboxGroup,T as SdCombobox,g as SdDialog,I as SdDivider,f as SdDrawer,k as SdDropdown,B as SdExpandable,C as SdFlipcard,G as SdHeader,o as SdIcon,M as SdInclude,R as SdInput,h as SdLink,t as SdLoader,A as SdMapMarker,D as SdMenu,w as SdMenuItem,v as SdNavigationItem,L as SdNotification,N as SdOptgroup,O as SdOption,c as SdPopup,P as SdQuickfact,E as SdRadio,F as SdRadioButton,H as SdRadioGroup,Q as SdRange,V as SdRangeTick,j as SdScrollable,q as SdSelect,y as SdSpinner,z as SdStep,J as SdStepGroup,K as SdSwitch,U as SdTab,W as SdTabGroup,X as SdTabPanel,b as SdTag,Y as SdTeaser,Z as SdTeaserMedia,_ as SdTextarea,$ as SdTooltip,oo as SdVideo,eo as registerIconLibrary,to as setupAutocomplete,ao as unregisterIconLibrary};
1
+ import"./chunks/chunk.HAL7R4WT.js";import{a as oo}from"./chunks/chunk.UBJMQX7W.js";import{a as to}from"./chunks/chunk.CEVVDV52.js";import{a as U}from"./chunks/chunk.J7VE7NOK.js";import{a as W}from"./chunks/chunk.JLFUM3FT.js";import{a as X}from"./chunks/chunk.4PO73EK4.js";import{a as Y}from"./chunks/chunk.LHDA6NXV.js";import{a as Z}from"./chunks/chunk.OM6SB77D.js";import{a as _}from"./chunks/chunk.SZUWLHCU.js";import{a as $}from"./chunks/chunk.NFNNFAFW.js";import{a as V}from"./chunks/chunk.ZMW76BKY.js";import{a as j}from"./chunks/chunk.HDDQHCKE.js";import{a as q}from"./chunks/chunk.R5W2PSUF.js";import{a as y}from"./chunks/chunk.AUXOYKGC.js";import{a as z}from"./chunks/chunk.75DB7UUI.js";import{a as J}from"./chunks/chunk.NKNABQOF.js";import{a as K}from"./chunks/chunk.IAZ2YH53.js";import{a as N}from"./chunks/chunk.2YVRFWCT.js";import{a as O}from"./chunks/chunk.6LUZLUPZ.js";import{a as P}from"./chunks/chunk.NQEJXHMW.js";import{a as F}from"./chunks/chunk.UXKN7SKB.js";import{a as H}from"./chunks/chunk.7REQBHPP.js";import{a as E}from"./chunks/chunk.KSKA4KXY.js";import{a as Q}from"./chunks/chunk.JF2KF6B5.js";import"./chunks/chunk.IVHEBGOY.js";import{a as h}from"./chunks/chunk.XGI7QILY.js";import{a as A}from"./chunks/chunk.MVPFWAVO.js";import{a as D}from"./chunks/chunk.TN4ZN62G.js";import{a as w}from"./chunks/chunk.7TF2VKZP.js";import"./chunks/chunk.IHKACSKZ.js";import{a as v}from"./chunks/chunk.YANCIWUB.js";import{a as L}from"./chunks/chunk.QWOS7J76.js";import{a as M}from"./chunks/chunk.TSC3ZJOC.js";import{a as R}from"./chunks/chunk.IFZH2WU2.js";import"./chunks/chunk.63JDND76.js";import{a as g}from"./chunks/chunk.OGZM2Z6D.js";import{a as I}from"./chunks/chunk.LGEWGIDA.js";import{a as k}from"./chunks/chunk.63HA5DWS.js";import{a as B}from"./chunks/chunk.T5UMUIUS.js";import{a as C}from"./chunks/chunk.SSC3NBB4.js";import{a as G}from"./chunks/chunk.YJKPE23B.js";import{a as i}from"./chunks/chunk.JAODM22N.js";import"./chunks/chunk.WM6VARGR.js";import"./chunks/chunk.HUOC3LAU.js";import{a as n}from"./chunks/chunk.4HL4TYAF.js";import{a as T}from"./chunks/chunk.K6SWZOKN.js";import"./chunks/chunk.US3OB3XU.js";import{a as b}from"./chunks/chunk.LNYFSBEN.js";import{a as c}from"./chunks/chunk.OGUG6TW5.js";import"./chunks/chunk.RTXVVB2O.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.ZCZAK3BH.js";import{a as l}from"./chunks/chunk.SFW6S5SP.js";import{a as m}from"./chunks/chunk.Y5JIQD4V.js";import{a as x}from"./chunks/chunk.JBDAREH2.js";import"./chunks/chunk.LPQ5TH4R.js";import{a as s}from"./chunks/chunk.LKIFPECY.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as S}from"./chunks/chunk.AD4YW3SN.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.QB3JS5Y4.js";import{a as e}from"./chunks/chunk.NPMERFFG.js";import{a as r}from"./chunks/chunk.4D5OV6MP.js";import"./chunks/chunk.XR2KNB36.js";import{a as p}from"./chunks/chunk.HETK4JFP.js";import{a as f}from"./chunks/chunk.7MT3OLO6.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.M5E6B5VY.js";import{a as t}from"./chunks/chunk.I7K6F3EW.js";import"./chunks/chunk.7JV32P5Q.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.GLVMB2MH.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.JMGRPC2F.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as o}from"./chunks/chunk.V7VYQFWX.js";import"./chunks/chunk.FODPSMJF.js";import"./chunks/chunk.D6LAH53B.js";import{d as eo,e as ao}from"./chunks/chunk.H2TFK3FW.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.M275INNC.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.26V4EXHB.js";import{a as ro}from"./chunks/chunk.Y7NVH75J.js";import"./chunks/chunk.QPJOKELG.js";import"./chunks/chunk.D4Q335D6.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.ZPDA7Y7H.js";import"./chunks/chunk.ZR5P6TQI.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{ro as LocalizeController,e as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,m as SdBreadcrumb,x as SdBreadcrumbItem,d as SdButton,s as SdCarousel,S as SdCarouselItem,i as SdCheckbox,n as SdCheckboxGroup,T as SdCombobox,g as SdDialog,I as SdDivider,f as SdDrawer,k as SdDropdown,B as SdExpandable,C as SdFlipcard,G as SdHeader,o as SdIcon,M as SdInclude,R as SdInput,h as SdLink,t as SdLoader,A as SdMapMarker,D as SdMenu,w as SdMenuItem,v as SdNavigationItem,L as SdNotification,N as SdOptgroup,O as SdOption,c as SdPopup,P as SdQuickfact,E as SdRadio,F as SdRadioButton,H as SdRadioGroup,Q as SdRange,V as SdRangeTick,j as SdScrollable,q as SdSelect,y as SdSpinner,z as SdStep,J as SdStepGroup,K as SdSwitch,U as SdTab,W as SdTabGroup,X as SdTabPanel,b as SdTag,Y as SdTeaser,Z as SdTeaserMedia,_ as SdTextarea,$ as SdTooltip,oo as SdVideo,eo as registerIconLibrary,to as setupAutocomplete,ao as unregisterIconLibrary};
@@ -1 +1 @@
1
- import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.TPVQ7ZU3.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.2FN4O4QC.js";import"../chunks/chunk.ZR5P6TQI.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
1
+ import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.OGUG6TW5.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.ZPDA7Y7H.js";import"../chunks/chunk.ZR5P6TQI.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
@@ -2573,7 +2573,7 @@
2573
2573
  },
2574
2574
  {
2575
2575
  "name": "sd-step",
2576
- "description": "Steps are used inside [step groups](/components/step-group) to guide users through the steps of a process or task..\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The step's description.\n- **label** - The step's label.\n- **index** - The step's index.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **circle-and-tail-container** - The container that wraps the step's circle and tail.\n- **circle** - The circle that marks the step's state.\n- **tail** - The step's tail.\n- **text-container** - The container that wraps the step's label and description.\n- **label** - The step's label.\n- **description** - The step's description.",
2576
+ "description": "Steps are used inside [step groups](/components/step-group) to guide users through the steps of a process or task..\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The step's description.\n- **label** - The step's label.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **circle-and-tail-container** - The container that wraps the step's circle and tail.\n- **circle** - The circle that marks the step's state.\n- **tail** - The step's tail.\n- **text-container** - The container that wraps the step's label and description.\n- **label** - The step's label.\n- **description** - The step's description.",
2577
2577
  "attributes": [
2578
2578
  {
2579
2579
  "name": "size",
@@ -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": "5.15.2",
4
+ "version": "5.15.4",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -3998,6 +3998,66 @@
3998
3998
  ]
3999
3999
  }
4000
4000
  },
4001
+ {
4002
+ "name": "sd-optgroup",
4003
+ "description": "The <sd-optgroup> element creates a grouping for <sd-option>s within a <sd-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-option> elements.",
4004
+ "doc-url": "",
4005
+ "attributes": [
4006
+ {
4007
+ "name": "disabled",
4008
+ "description": "Disables all options in the optgroup.",
4009
+ "value": { "type": "boolean", "default": "false" }
4010
+ },
4011
+ {
4012
+ "name": "label",
4013
+ "description": "The optgroups label. If you need to display HTML, use the `label` slot instead.",
4014
+ "value": { "type": "string", "default": "''" }
4015
+ },
4016
+ {
4017
+ "name": "dir",
4018
+ "description": "The element's directionality.",
4019
+ "value": { "type": "'ltr' | 'rtl' | 'auto'" }
4020
+ },
4021
+ {
4022
+ "name": "lang",
4023
+ "description": "The element's language.",
4024
+ "value": { "type": "string" }
4025
+ }
4026
+ ],
4027
+ "slots": [
4028
+ {
4029
+ "name": "",
4030
+ "description": "The given options. Must be `<sd-option>` elements."
4031
+ },
4032
+ { "name": "label", "description": "The label for the optgroup" }
4033
+ ],
4034
+ "events": [],
4035
+ "js": {
4036
+ "properties": [
4037
+ {
4038
+ "name": "disabled",
4039
+ "description": "Disables all options in the optgroup.",
4040
+ "type": "boolean"
4041
+ },
4042
+ {
4043
+ "name": "label",
4044
+ "description": "The optgroups label. If you need to display HTML, use the `label` slot instead.",
4045
+ "type": "string"
4046
+ },
4047
+ {
4048
+ "name": "dir",
4049
+ "description": "The element's directionality.",
4050
+ "type": "'ltr' | 'rtl' | 'auto'"
4051
+ },
4052
+ {
4053
+ "name": "lang",
4054
+ "description": "The element's language.",
4055
+ "type": "string"
4056
+ }
4057
+ ],
4058
+ "events": []
4059
+ }
4060
+ },
4001
4061
  {
4002
4062
  "name": "sd-notification",
4003
4063
  "description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The sd-notification's main content.\n- **icon** - An icon to show in the sd-notification. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **wrapper** - The container that wraps all the notification elements.\n- **icon** - The container that wraps the optional icon.\n- **content** - The container that wraps the notifications's main content and the close button.\n- **message** - The container that wraps the notifications's main content.\n- **duration-indicator__elapsed** - The current duration indicator.\n- **duration-indicator__total** - The total duration indicator.\n- **close-button** - The close button, an `<sd-icon-button>`.",
@@ -4141,66 +4201,6 @@
4141
4201
  ]
4142
4202
  }
4143
4203
  },
4144
- {
4145
- "name": "sd-optgroup",
4146
- "description": "The <sd-optgroup> element creates a grouping for <sd-option>s within a <sd-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-option> elements.",
4147
- "doc-url": "",
4148
- "attributes": [
4149
- {
4150
- "name": "disabled",
4151
- "description": "Disables all options in the optgroup.",
4152
- "value": { "type": "boolean", "default": "false" }
4153
- },
4154
- {
4155
- "name": "label",
4156
- "description": "The optgroups label. If you need to display HTML, use the `label` slot instead.",
4157
- "value": { "type": "string", "default": "''" }
4158
- },
4159
- {
4160
- "name": "dir",
4161
- "description": "The element's directionality.",
4162
- "value": { "type": "'ltr' | 'rtl' | 'auto'" }
4163
- },
4164
- {
4165
- "name": "lang",
4166
- "description": "The element's language.",
4167
- "value": { "type": "string" }
4168
- }
4169
- ],
4170
- "slots": [
4171
- {
4172
- "name": "",
4173
- "description": "The given options. Must be `<sd-option>` elements."
4174
- },
4175
- { "name": "label", "description": "The label for the optgroup" }
4176
- ],
4177
- "events": [],
4178
- "js": {
4179
- "properties": [
4180
- {
4181
- "name": "disabled",
4182
- "description": "Disables all options in the optgroup.",
4183
- "type": "boolean"
4184
- },
4185
- {
4186
- "name": "label",
4187
- "description": "The optgroups label. If you need to display HTML, use the `label` slot instead.",
4188
- "type": "string"
4189
- },
4190
- {
4191
- "name": "dir",
4192
- "description": "The element's directionality.",
4193
- "type": "'ltr' | 'rtl' | 'auto'"
4194
- },
4195
- {
4196
- "name": "lang",
4197
- "description": "The element's language.",
4198
- "type": "string"
4199
- }
4200
- ],
4201
- "events": []
4202
- }
4203
- },
4204
4204
  {
4205
4205
  "name": "sd-option",
4206
4206
  "description": "Options define the selectable items within various form controls such as [select](/components/select).\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **left** - The container that wraps the left.\n- **right** - The container that wraps the right.",
@@ -5887,7 +5887,7 @@
5887
5887
  },
5888
5888
  {
5889
5889
  "name": "sd-step",
5890
- "description": "Steps are used inside [step groups](/components/step-group) to guide users through the steps of a process or task..\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The step's description.\n- **label** - The step's label.\n- **index** - The step's index.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **circle-and-tail-container** - The container that wraps the step's circle and tail.\n- **circle** - The circle that marks the step's state.\n- **tail** - The step's tail.\n- **text-container** - The container that wraps the step's label and description.\n- **label** - The step's label.\n- **description** - The step's description.",
5890
+ "description": "Steps are used inside [step groups](/components/step-group) to guide users through the steps of a process or task..\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The step's description.\n- **label** - The step's label.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **circle-and-tail-container** - The container that wraps the step's circle and tail.\n- **circle** - The circle that marks the step's state.\n- **tail** - The step's tail.\n- **text-container** - The container that wraps the step's label and description.\n- **label** - The step's label.\n- **description** - The step's description.",
5891
5891
  "doc-url": "",
5892
5892
  "attributes": [
5893
5893
  {
@@ -5967,7 +5967,6 @@
5967
5967
  "slots": [
5968
5968
  { "name": "", "description": "The step's description." },
5969
5969
  { "name": "label", "description": "The step's label." },
5970
- { "name": "index", "description": "The step's index." },
5971
5970
  {
5972
5971
  "name": "circle-content",
5973
5972
  "description": "The content inside a step circle. This could be an icon or a number."
@@ -1 +1 @@
1
- import{b as m}from"./chunk.JMGRPC2F.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as b}from"./chunk.Y7NVH75J.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as d,b as a,d as n,h as o}from"./chunk.2FN4O4QC.js";import{b as r}from"./chunk.ZR5P6TQI.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:l}=this;this.defaultSlot.assignedElements().filter(i=>i.tagName.toLowerCase()==="sd-5-15-2-option").forEach(i=>{i.disabled=l})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:l}=this;return m`<div role="${l?"presentation":"group"}" class="${s(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-5-15-2-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-15-2-divider><div part="label-container" class="${s(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};e.styles=[...o.styles,r`:host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-5-15-2-optgroup")],e);export{e as a};
1
+ import{b as m}from"./chunk.JMGRPC2F.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as b}from"./chunk.Y7NVH75J.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as d,b as a,d as n,h as o}from"./chunk.ZPDA7Y7H.js";import{b as r}from"./chunk.ZR5P6TQI.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.localize=new b(this);this.disabled=!1;this.label=""}handleDisableOptions(){let{disabled:l}=this;this.defaultSlot.assignedElements().filter(i=>i.tagName.toLowerCase()==="sd-5-15-4-option").forEach(i=>{i.disabled=l})}handleDisabledChange(){this.handleDisableOptions()}render(){let{disabled:l}=this;return m`<div role="${l?"presentation":"group"}" class="${s(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-5-15-4-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-15-4-divider><div part="label-container" class="${s(this.disabled?"text-neutral-500":"text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};e.styles=[...o.styles,r`:host{--display-divider:block}#divider{display:var(--display-divider)}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([a({reflect:!0,type:Boolean})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"label",2),t([p("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-5-15-4-optgroup")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.2FN4O4QC.js";import{b as c,e as d}from"./chunk.ZR5P6TQI.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-15-2-animation")],t);export{t as a};
1
+ import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.ZPDA7Y7H.js";import{b as c,e as d}from"./chunk.ZR5P6TQI.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-15-4-animation")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.26V4EXHB.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.2FN4O4QC.js";import{b as m,e as s}from"./chunk.ZR5P6TQI.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-5-15-2-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-5-15-2-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-5-15-2-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-15-2-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-15-2-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-15-2-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-15-2-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-2-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-2-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-5-15-2-checkbox-group")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.26V4EXHB.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.ZPDA7Y7H.js";import{b as m,e as s}from"./chunk.ZR5P6TQI.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-5-15-4-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-5-15-4-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-5-15-4-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-15-4-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-15-4-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-15-4-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-15-4-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-4-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-4-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-5-15-4-checkbox-group")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk.26V4EXHB.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as o,b as a,h as i}from"./chunk.2FN4O4QC.js";import{b as r,e as s}from"./chunk.ZR5P6TQI.js";import{e}from"./chunk.TJOCV4DC.js";var c=0,t=class extends i{constructor(){super(...arguments);this.attrId=++c;this.componentId=`sd-5-15-2-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return s`<slot part="base" class="${p("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...i.styles,r`:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([a({type:String,reflect:!0})],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-5-15-2-tab-panel")],t);export{t as a};
1
+ import{a as p}from"./chunk.26V4EXHB.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as o,b as a,h as i}from"./chunk.ZPDA7Y7H.js";import{b as r,e as s}from"./chunk.ZR5P6TQI.js";import{e}from"./chunk.TJOCV4DC.js";var c=0,t=class extends i{constructor(){super(...arguments);this.attrId=++c;this.componentId=`sd-5-15-4-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return s`<slot part="base" class="${p("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...i.styles,r`:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([a({type:String,reflect:!0})],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-5-15-4-tab-panel")],t);export{t as a};
@@ -1,3 +1,3 @@
1
- import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.Y7NVH75J.js";import{a as E}from"./chunk.E2DRD2OX.js";import{a as w,b as o,d as r,h as d}from"./chunk.2FN4O4QC.js";import{b as y,e as b}from"./chunk.ZR5P6TQI.js";import{b as l,e as p}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends d{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-5-15-2-button":case"sd-5-15-2-icon-button":s=t.button;break;case"sd-5-15-2-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-5-15-2-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-5-15-2-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-5-15-2-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-5-15-2-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-5-15-2-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-5-15-2-popup part="base" id="dropdown" exportparts="
1
+ import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.Y7NVH75J.js";import{a as E}from"./chunk.E2DRD2OX.js";import{a as w,b as o,d as r,h as d}from"./chunk.ZPDA7Y7H.js";import{b as y,e as b}from"./chunk.ZR5P6TQI.js";import{b as l,e as p}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends d{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-5-15-4-button":case"sd-5-15-4-icon-button":s=t.button;break;case"sd-5-15-4-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-5-15-4-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-5-15-4-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-5-15-4-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-5-15-4-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-5-15-4-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-5-15-4-popup part="base" id="dropdown" exportparts="
2
2
  popup:base__popup,
3
- " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-5-15-2-popup>`}};n.styles=[...d.styles,y`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-5-15-2-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
3
+ " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-5-15-4-popup>`}};n.styles=[...d.styles,y`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-5-15-4-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
@@ -1 +1 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.26V4EXHB.js";import{a as o}from"./chunk.E2DRD2OX.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.2FN4O4QC.js";import{b as c,e as l}from"./chunk.ZR5P6TQI.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-700 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white border-neutral-800")}">${this.selected?l`<sd-5-15-2-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-15-2-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`:host{display:block;outline:2px solid transparent!important;outline-offset:2px!important;position:relative;width:100%}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-5-15-2-option")],e);export{e as a};
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.26V4EXHB.js";import{a as o}from"./chunk.E2DRD2OX.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.ZPDA7Y7H.js";import{b as c,e as l}from"./chunk.ZR5P6TQI.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-700 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white border-neutral-800")}">${this.selected?l`<sd-5-15-4-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-15-4-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`:host{display:block;outline:2px solid transparent!important;outline-offset:2px!important;position:relative;width:100%}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-5-15-4-option")],e);export{e as a};
@@ -0,0 +1 @@
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.GLVMB2MH.js";import{a as h,b as a}from"./chunk.JMGRPC2F.js";import{a as e}from"./chunk.26V4EXHB.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as m,b as r,h as d}from"./chunk.ZPDA7Y7H.js";import{b}from"./chunk.ZR5P6TQI.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;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,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){let f=this.isLink(),u=this.notInteractive||this.waiting?h`div`:f?h`a`:h`button`,g=this.hasSlotController.test("label"),c=this.label?!0:g,v=this.hasSlotController.test("[default]"),n=this.description?!0:v,o=this.horizontalInline&&this.orientation==="horizontal",x=e("flex shrink-0 gap-2",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3"),w=e("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":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white");return a`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-full overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${x}"><${u} part="circle" href="${l(f?this.href:void 0)}" aria-disabled="${l(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${l(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${l(this.notInteractive||this.waiting||!n?void 0:"description")}" class="${w}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"text-primary")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?a`<sd-5-15-4-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-5-15-4-icon>`:a`${this.index}`}</slot></${u}>${o?a`<div class="${e("flex flex-col gap-1 flex-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!n?"mt-1":"mt-3")}">${c?a`<div part="label" id="label" class="${e("font-bold sd-paragraph whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"text-primary":"text-black")}"><slot name="label">${this.label}</slot></div>`:""} ${this.noTail?a`<div class="flex-1"></div>`:a`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-500")}"></div>`}</div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm break-words",n?"flex-1 pr-4":"w-0 h-0 overflow-hidden",(this.disabled||this.waiting)&&"text-neutral-700")}">${n?this.description||a`<slot></slot>`:""}</div></div>`:this.noTail?"":a`<div part="tail" class="${e(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&&!this.waiting?"border-primary":"border-neutral-400")}"></div>`}</div>${o?"":a`<div part="text-container" class="${e("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?"ml-2":"mr-4")}"><div part="label" id="label" class="${e("!font-bold sd-paragraph",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"text-primary":"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||a`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,b`:host{flex:1 1 0%}:host([no-tail]){flex-grow:0}:host([horizontal-inline]){flex:1 1 0%;min-width:var(--sd-spacing-0,0)}:host([horizontal-inline][no-tail]){flex:1 1 0%}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([s("current")],t.prototype,"handleCurrentChange",1),i([s("disabled")],t.prototype,"handleDisabledChange",1),i([s("waiting")],t.prototype,"handleWaitingChange",1),i([s("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([m("sd-5-15-4-step")],t);export{t as a};
@@ -1 +1 @@
1
- import{e as p}from"./chunk.ZR5P6TQI.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-5-15-2-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-5-15-2-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-5-15-2-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-1 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
1
+ import{e as p}from"./chunk.ZR5P6TQI.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-5-15-4-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-5-15-4-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-5-15-4-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-1 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
@@ -1 +1 @@
1
- import{a as g}from"./chunk.I2H6CZK5.js";import{a as A}from"./chunk.2AQOPKKH.js";import{a as z}from"./chunk.G7HKVXLR.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as E}from"./chunk.CGQ2BPPZ.js";import{a as o,c as l}from"./chunk.SKUMYG4O.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as C}from"./chunk.Y7NVH75J.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as x,b as r,d as c,h as b}from"./chunk.2FN4O4QC.js";import{b as k,e as u}from"./chunk.ZR5P6TQI.js";import{b as n,e as h}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends b{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new C(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 a=l(this,"drawer.denyClose",{dir:this.localize.dir()});n(this.panel,a.keyframes,a.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var y;let e=(y=this.closeButton.shadowRoot)==null?void 0:y.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=z(),this.contained||(this.modal.activate(),m(this));let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await Promise.all([h(this.drawer),h(this.overlay)]),this.drawer.hidden=!1,this.drawer.removeAttribute("inert");let d=l(this,`drawer.show${g(this.placement)}`,{dir:this.localize.dir()}),s=l(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,d.keyframes,d.options),n(this.overlay,s.keyframes,s.options)]),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()}),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 a=l(this,`drawer.hide${g(this.placement)}`,{dir:this.localize.dir()}),d=l(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,a.keyframes,a.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,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,w(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")}"></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-label="${this.label}" tabindex="0">${this.noHeader?u`<sd-5-15-2-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-5-15-2-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-15-2-icon></sd-5-15-2-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><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 ms-4 absolute top-2 end-2"><sd-5-15-2-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-5-15-2-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-15-2-icon></sd-5-15-2-button></div></header>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" 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=[...b.styles,k`: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)}`],i([c("[part=base]")],t.prototype,"drawer",2),i([c("[part=panel]")],t.prototype,"panel",2),i([c("[part=overlay]")],t.prototype,"overlay",2),i([c("[part=close-button]")],t.prototype,"closeButton",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"placement",2),i([r({type:Boolean,reflect:!0})],t.prototype,"contained",2),i([r({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([v("contained",{waitUntilFirstUpdate:!0})],t.prototype,"handleNoModalChange",1),t=i([x("sd-5-15-2-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:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});o("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});o("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as g}from"./chunk.I2H6CZK5.js";import{a as A}from"./chunk.2AQOPKKH.js";import{a as z}from"./chunk.G7HKVXLR.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as E}from"./chunk.CGQ2BPPZ.js";import{a as o,c as l}from"./chunk.SKUMYG4O.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as C}from"./chunk.Y7NVH75J.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as x,b as r,d as c,h as b}from"./chunk.ZPDA7Y7H.js";import{b as k,e as u}from"./chunk.ZR5P6TQI.js";import{b as n,e as h}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends b{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new C(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 a=l(this,"drawer.denyClose",{dir:this.localize.dir()});n(this.panel,a.keyframes,a.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var y;let e=(y=this.closeButton.shadowRoot)==null?void 0:y.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=z(),this.contained||(this.modal.activate(),m(this));let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await Promise.all([h(this.drawer),h(this.overlay)]),this.drawer.hidden=!1,this.drawer.removeAttribute("inert");let d=l(this,`drawer.show${g(this.placement)}`,{dir:this.localize.dir()}),s=l(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,d.keyframes,d.options),n(this.overlay,s.keyframes,s.options)]),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()}),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 a=l(this,`drawer.hide${g(this.placement)}`,{dir:this.localize.dir()}),d=l(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,a.keyframes,a.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,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,w(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")}"></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-label="${this.label}" tabindex="0">${this.noHeader?u`<sd-5-15-4-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-5-15-4-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-15-4-icon></sd-5-15-4-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><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 ms-4 absolute top-2 end-2"><sd-5-15-4-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-5-15-4-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-15-4-icon></sd-5-15-4-button></div></header>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" 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=[...b.styles,k`: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)}`],i([c("[part=base]")],t.prototype,"drawer",2),i([c("[part=panel]")],t.prototype,"panel",2),i([c("[part=overlay]")],t.prototype,"overlay",2),i([c("[part=close-button]")],t.prototype,"closeButton",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"placement",2),i([r({type:Boolean,reflect:!0})],t.prototype,"contained",2),i([r({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([v("contained",{waitUntilFirstUpdate:!0})],t.prototype,"handleNoModalChange",1),t=i([x("sd-5-15-4-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:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});o("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});o("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});o("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{a as k}from"./chunk.35Q2HMDE.js";import{b,c as C,d as x,e as E}from"./chunk.7JV32P5Q.js";import{a as V}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.26V4EXHB.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as y,b as r,c,d as m,h as p}from"./chunk.2FN4O4QC.js";import{b as v,e as h}from"./chunk.ZR5P6TQI.js";import{e as o}from"./chunk.TJOCV4DC.js";var s=class extends p{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new V(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.boldLabel=!1;this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?E:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-5-15-2-radio, sd-5-15-2-radio-button")]}handleRadioClick(t){let e=t.target.closest("sd-5-15-2-radio, sd-5-15-2-radio-button"),a=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,a.forEach(n=>n.checked=n===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(d=>!d.disabled),a=(g=e.find(d=>d.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(a)+i;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(d=>{d.checked=!1,this.hasButtonGroup||(d.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios(),a=t.find(i=>i.checked)||t[0];a&&a.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,a;let t=this.getAllRadios();if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof k&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-5-15-2-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(a=this.shadowRoot)==null?void 0:a.querySelector("sd-5-15-2-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-5-15-2-radio")&&customElements.get("sd-5-15-2-radio-button")){this.syncRadioElements();return}customElements.get("sd-5-15-2-radio")?this.syncRadioElements():customElements.whenDefined("sd-5-15-2-radio").then(()=>this.syncRadios()),customElements.get("sd-5-15-2-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-5-15-2-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,a=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!a,n=this.hasSlotController.test("tooltip"),l=h`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return h`<fieldset part="form-control" class="${u("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?h`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${u("p-0 leading-normal text-black text-left",e?"inline-block":"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${u("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><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?h`<sd-5-15-2-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-5-15-2-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${u("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...p.styles,v`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-15-2-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-15-2-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-15-2-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-15-2-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-2-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-2-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}:host:has(sd-5-15-2-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([c()],s.prototype,"hasButtonGroup",2),o([c()],s.prototype,"defaultValue",2),o([c()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:Boolean,reflect:!0})],s.prototype,"boldLabel",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([f("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([f("value")],s.prototype,"handleValueChange",1),s=o([y("sd-5-15-2-radio-group")],s);export{s as a};
1
+ import{a as k}from"./chunk.KSKA4KXY.js";import{b,c as C,d as x,e as E}from"./chunk.7JV32P5Q.js";import{a as V}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.26V4EXHB.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as y,b as r,c,d as m,h as p}from"./chunk.ZPDA7Y7H.js";import{b as v,e as h}from"./chunk.ZR5P6TQI.js";import{e as o}from"./chunk.TJOCV4DC.js";var s=class extends p{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new V(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.boldLabel=!1;this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?E:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-5-15-4-radio, sd-5-15-4-radio-button")]}handleRadioClick(t){let e=t.target.closest("sd-5-15-4-radio, sd-5-15-4-radio-button"),a=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,a.forEach(n=>n.checked=n===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(d=>!d.disabled),a=(g=e.find(d=>d.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(a)+i;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(d=>{d.checked=!1,this.hasButtonGroup||(d.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios(),a=t.find(i=>i.checked)||t[0];a&&a.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,a;let t=this.getAllRadios();if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof k&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-5-15-4-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(a=this.shadowRoot)==null?void 0:a.querySelector("sd-5-15-4-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-5-15-4-radio")&&customElements.get("sd-5-15-4-radio-button")){this.syncRadioElements();return}customElements.get("sd-5-15-4-radio")?this.syncRadioElements():customElements.whenDefined("sd-5-15-4-radio").then(()=>this.syncRadios()),customElements.get("sd-5-15-4-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-5-15-4-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,a=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!a,n=this.hasSlotController.test("tooltip"),l=h`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return h`<fieldset part="form-control" class="${u("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?h`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${u("p-0 leading-normal text-black text-left",e?"inline-block":"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${u("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><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?h`<sd-5-15-4-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-5-15-4-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${u("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...p.styles,v`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-15-4-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-15-4-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-15-4-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-15-4-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-4-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-4-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}:host:has(sd-5-15-4-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([c()],s.prototype,"hasButtonGroup",2),o([c()],s.prototype,"defaultValue",2),o([c()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:Boolean,reflect:!0})],s.prototype,"boldLabel",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([f("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([f("value")],s.prototype,"handleValueChange",1),s=o([y("sd-5-15-4-radio-group")],s);export{s as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk.IHKACSKZ.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as h,b as a,d as o,h as n}from"./chunk.2FN4O4QC.js";import{b as c,e as i}from"./chunk.ZR5P6TQI.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap",this.disabled?"outline-none cursor-not-allowed text-neutral-500 hover:bg-transparent":"cursor-pointer text-primary hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-5-15-2-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-5-15-2-icon></span>`:""} ${b.iconIndent?i`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-5-15-2-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-5-15-2-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-5-15-2-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded:after{bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);position:fixed;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:calc(var(z-dropdown) - 1);--tw-content:"";clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));content:var(--tw-content)}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1));outline:2px solid transparent;outline-offset:2px}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:-2px;outline-style:solid;outline-width:2px}:host(:hover) [part=base]{outline:2px solid transparent;outline-offset:2px}sd-5-15-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));margin-left:var(--submenu-offset)}::slotted(sd-5-15-2-menu){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important}`],t([o("slot:not([name])")],e.prototype,"defaultSlot",2),t([o('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([r("checked")],e.prototype,"handleCheckedChange",1),t([r("disabled")],e.prototype,"handleDisabledChange",1),t([r("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-5-15-2-menu-item")],e);export{e as a};
1
+ import{a as p}from"./chunk.IHKACSKZ.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as h,b as a,d as o,h as n}from"./chunk.ZPDA7Y7H.js";import{b as c,e as i}from"./chunk.ZR5P6TQI.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap",this.disabled?"outline-none cursor-not-allowed text-neutral-500 hover:bg-transparent":"cursor-pointer text-primary hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-5-15-4-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-5-15-4-icon></span>`:""} ${b.iconIndent?i`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-5-15-4-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-5-15-4-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-5-15-4-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded:after{bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);position:fixed;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:calc(var(z-dropdown) - 1);--tw-content:"";clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));content:var(--tw-content)}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1));outline:2px solid transparent;outline-offset:2px}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:-2px;outline-style:solid;outline-width:2px}:host(:hover) [part=base]{outline:2px solid transparent;outline-offset:2px}sd-5-15-4-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));margin-left:var(--submenu-offset)}::slotted(sd-5-15-4-menu){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important}`],t([o("slot:not([name])")],e.prototype,"defaultSlot",2),t([o('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([r("checked")],e.prototype,"handleCheckedChange",1),t([r("disabled")],e.prototype,"handleDisabledChange",1),t([r("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-5-15-4-menu-item")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as r,h as e}from"./chunk.2FN4O4QC.js";import{b as l,e as o}from"./chunk.ZR5P6TQI.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`],t=i([r("sd-5-15-2-carousel-item")],t);export{t as a};
1
+ import{a as r,h as e}from"./chunk.ZPDA7Y7H.js";import{b as l,e as o}from"./chunk.ZR5P6TQI.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`],t=i([r("sd-5-15-4-carousel-item")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk.26V4EXHB.js";import{a}from"./chunk.Y7NVH75J.js";import{a as i,b as s,h as l}from"./chunk.2FN4O4QC.js";import{b as t,e as o}from"./chunk.ZR5P6TQI.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...l.styles,t`:host{display:inline-block;height:1em;width:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-5-15-2-spinner")],e);export{e as a};
1
+ import{a as m}from"./chunk.26V4EXHB.js";import{a}from"./chunk.Y7NVH75J.js";import{a as i,b as s,h as l}from"./chunk.ZPDA7Y7H.js";import{b as t,e as o}from"./chunk.ZR5P6TQI.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...l.styles,t`:host{display:inline-block;height:1em;width:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-5-15-4-spinner")],e);export{e as a};