@solid-design-system/components 5.11.0 → 5.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (609) hide show
  1. package/cdn/chunks/{chunk.M34F3WSU.js → chunk.23QCS6WN.js} +1 -1
  2. package/cdn/chunks/{chunk.GA7M5EIG.js → chunk.2AAULTYV.js} +1 -1
  3. package/cdn/chunks/{chunk.RIEZ7WMQ.js → chunk.2PWFAL3A.js} +1 -1
  4. package/cdn/chunks/{chunk.F24NKPJS.js → chunk.2WWUKEYJ.js} +1 -1
  5. package/cdn/chunks/{chunk.RGMNIRK6.js → chunk.367GKF44.js} +1 -1
  6. package/cdn/chunks/{chunk.IZEJBJJM.js → chunk.4AXGXJVS.js} +1 -1
  7. package/cdn/chunks/{chunk.55DL7CXB.js → chunk.5CWTPYVS.js} +1 -1
  8. package/cdn/chunks/{chunk.UMLWMBH2.js → chunk.5LUOEZVE.js} +1 -1
  9. package/cdn/chunks/chunk.76YBBAYM.js +25 -0
  10. package/cdn/chunks/{chunk.XMWRV7CM.js → chunk.7IUZCPBT.js} +1 -1
  11. package/cdn/chunks/{chunk.3BPXMVZO.js → chunk.7YXPJHC7.js} +1 -1
  12. package/cdn/chunks/{chunk.XUTMQWWI.js → chunk.BXUTMONQ.js} +1 -1
  13. package/cdn/chunks/{chunk.BVJ54OIF.js → chunk.CI5ANJHQ.js} +1 -1
  14. package/cdn/chunks/{chunk.AV324SSO.js → chunk.CODQE7UA.js} +1 -1
  15. package/cdn/chunks/{chunk.DSDT2XH4.js → chunk.DQR7QC2V.js} +1 -1
  16. package/cdn/chunks/{chunk.RDAJ73RT.js → chunk.EPSMLSUF.js} +1 -1
  17. package/cdn/chunks/{chunk.QWADKAIA.js → chunk.F6Z5VUUA.js} +1 -1
  18. package/cdn/chunks/{chunk.LICTDGGH.js → chunk.FUAY5ZRU.js} +1 -1
  19. package/cdn/chunks/{chunk.5ARQ6VZ3.js → chunk.G4AZBDMG.js} +1 -1
  20. package/cdn/chunks/{chunk.B4NY6XRS.js → chunk.HF3SI4OC.js} +1 -1
  21. package/cdn/chunks/{chunk.LVETUFMK.js → chunk.HWZ25VWZ.js} +1 -1
  22. package/cdn/chunks/{chunk.Z6BIGSTD.js → chunk.I63F7A5M.js} +1 -1
  23. package/cdn/chunks/{chunk.EUD2CDR7.js → chunk.IVUI5RZA.js} +1 -1
  24. package/cdn/chunks/{chunk.52LYECTC.js → chunk.JBL2EKSJ.js} +1 -1
  25. package/cdn/chunks/{chunk.NRW7BGGW.js → chunk.K7JHXFND.js} +1 -1
  26. package/cdn/chunks/{chunk.LDOJBWDU.js → chunk.KIKUIQH6.js} +1 -1
  27. package/cdn/chunks/{chunk.5Y3MN4GB.js → chunk.KPE4AHJU.js} +1 -1
  28. package/cdn/chunks/chunk.KU5T2HM4.js +1 -0
  29. package/cdn/chunks/{chunk.V4PITXV7.js → chunk.LPQF2NV2.js} +1 -1
  30. package/cdn/chunks/{chunk.DPV2G3NJ.js → chunk.MIOZZZH5.js} +1 -1
  31. package/cdn/chunks/{chunk.U3KFXOPK.js → chunk.NT233AXU.js} +1 -1
  32. package/cdn/chunks/{chunk.ZHP3MV7W.js → chunk.OTR2J5QC.js} +1 -1
  33. package/cdn/chunks/{chunk.BYO6F4MG.js → chunk.P2XVEBNM.js} +1 -1
  34. package/cdn/chunks/{chunk.ISPYBMPH.js → chunk.P7SNYVCS.js} +1 -1
  35. package/cdn/chunks/{chunk.O5DPPJ5C.js → chunk.PJ23OZWD.js} +1 -1
  36. package/cdn/chunks/{chunk.WSFVLXZX.js → chunk.PLVKA2MP.js} +1 -1
  37. package/{cdn-versioned/chunks/chunk.NX4RKGCR.js → cdn/chunks/chunk.PSM2IK7I.js} +2 -2
  38. package/cdn/chunks/{chunk.PTXWDCQM.js → chunk.PY66STPJ.js} +1 -1
  39. package/cdn/chunks/{chunk.5WGZLUV4.js → chunk.PYWUNTRK.js} +1 -1
  40. package/cdn/chunks/{chunk.AHVFRDZP.js → chunk.QIZORFM5.js} +1 -1
  41. package/cdn/chunks/{chunk.AXLYZ3FN.js → chunk.QS3U2PLX.js} +1 -1
  42. package/cdn/chunks/{chunk.UAIWOEI2.js → chunk.R4O2TIBS.js} +1 -1
  43. package/cdn/chunks/{chunk.C6UYA4J6.js → chunk.R7L6BSPL.js} +1 -1
  44. package/cdn/chunks/{chunk.JNML5UGI.js → chunk.SDZ2KQEI.js} +1 -1
  45. package/cdn/chunks/{chunk.WA6P2P6S.js → chunk.SVBQZKHD.js} +1 -1
  46. package/cdn/chunks/{chunk.NOM4DAFZ.js → chunk.TLTD53JK.js} +1 -1
  47. package/cdn/chunks/{chunk.AW6IVIMC.js → chunk.TU4RJBA3.js} +1 -1
  48. package/cdn/chunks/{chunk.EOXPPRXE.js → chunk.U44F4JBT.js} +1 -1
  49. package/cdn/chunks/{chunk.AZOXCU6X.js → chunk.UBGZST4Q.js} +1 -1
  50. package/cdn/chunks/{chunk.UTE5LYK7.js → chunk.UOY4CWLC.js} +1 -1
  51. package/cdn/chunks/{chunk.PJ3B7QJU.js → chunk.W6SMEJG6.js} +1 -1
  52. package/cdn/chunks/{chunk.2Y5AQ3MC.js → chunk.W7YBZJBO.js} +1 -1
  53. package/cdn/chunks/{chunk.3HVKQWKZ.js → chunk.WV44R5AM.js} +1 -1
  54. package/cdn/chunks/{chunk.NR5WJ3MU.js → chunk.XKVU7NPO.js} +1 -1
  55. package/cdn/chunks/{chunk.PH2IN3Z5.js → chunk.Y6VJJTAH.js} +1 -1
  56. package/cdn/chunks/{chunk.YBRSKRDE.js → chunk.YEXOG76B.js} +1 -1
  57. package/cdn/chunks/{chunk.B275KZAR.js → chunk.Z26USUL2.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.d.ts +1 -1
  67. package/cdn/components/button/button.js +1 -1
  68. package/cdn/components/button-group/button-group.js +1 -1
  69. package/cdn/components/carousel/carousel.js +1 -1
  70. package/cdn/components/carousel-item/carousel-item.js +1 -1
  71. package/cdn/components/checkbox/checkbox.js +1 -1
  72. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  73. package/cdn/components/combobox/combobox.js +1 -1
  74. package/cdn/components/dialog/dialog.js +1 -1
  75. package/cdn/components/divider/divider.js +1 -1
  76. package/cdn/components/drawer/drawer.js +1 -1
  77. package/cdn/components/dropdown/dropdown.js +1 -1
  78. package/cdn/components/expandable/expandable.js +1 -1
  79. package/cdn/components/flipcard/flipcard.js +1 -1
  80. package/cdn/components/header/header.js +1 -1
  81. package/cdn/components/icon/icon.js +1 -1
  82. package/cdn/components/include/include.js +1 -1
  83. package/cdn/components/input/input.js +1 -1
  84. package/cdn/components/link/link.js +1 -1
  85. package/cdn/components/loader/loader.d.ts +13 -0
  86. package/cdn/components/loader/loader.js +1 -0
  87. package/cdn/components/map-marker/map-marker.js +1 -1
  88. package/cdn/components/menu/menu.js +1 -1
  89. package/cdn/components/menu-item/menu-item.js +1 -1
  90. package/cdn/components/navigation-item/navigation-item.js +1 -1
  91. package/cdn/components/notification/notification.js +1 -1
  92. package/cdn/components/optgroup/optgroup.js +1 -1
  93. package/cdn/components/option/option.js +1 -1
  94. package/cdn/components/popup/popup.js +1 -1
  95. package/cdn/components/quickfact/quickfact.js +1 -1
  96. package/cdn/components/radio/radio.js +1 -1
  97. package/cdn/components/radio-button/radio-button.js +1 -1
  98. package/cdn/components/radio-group/radio-group.js +1 -1
  99. package/cdn/components/range/range.js +1 -1
  100. package/cdn/components/range-tick/range-tick.js +1 -1
  101. package/cdn/components/scrollable/scrollable.js +1 -1
  102. package/cdn/components/select/select.js +1 -1
  103. package/cdn/components/spinner/spinner.js +1 -1
  104. package/cdn/components/step/step.js +1 -1
  105. package/cdn/components/step-group/step-group.js +1 -1
  106. package/cdn/components/switch/switch.js +1 -1
  107. package/cdn/components/tab/tab.js +1 -1
  108. package/cdn/components/tab-group/tab-group.js +1 -1
  109. package/cdn/components/tab-panel/tab-panel.js +1 -1
  110. package/cdn/components/tag/tag.js +1 -1
  111. package/cdn/components/teaser/teaser.js +1 -1
  112. package/cdn/components/teaser-media/teaser-media.js +1 -1
  113. package/cdn/components/textarea/textarea.js +1 -1
  114. package/cdn/components/tooltip/tooltip.js +1 -1
  115. package/cdn/components/video/video.js +1 -1
  116. package/cdn/custom-elements.json +173 -2
  117. package/cdn/solid-components.bundle.js +18 -18
  118. package/cdn/solid-components.d.ts +1 -0
  119. package/cdn/solid-components.iife.js +18 -18
  120. package/cdn/solid-components.js +1 -1
  121. package/cdn/utilities/autocomplete-config.js +1 -1
  122. package/cdn/vscode.html-custom-data.json +31 -0
  123. package/cdn/web-types.json +48 -1
  124. package/cdn-versioned/chunks/{chunk.M34F3WSU.js → chunk.23QCS6WN.js} +1 -1
  125. package/cdn-versioned/chunks/{chunk.GA7M5EIG.js → chunk.2AAULTYV.js} +1 -1
  126. package/cdn-versioned/chunks/{chunk.RIEZ7WMQ.js → chunk.2PWFAL3A.js} +1 -1
  127. package/cdn-versioned/chunks/{chunk.F24NKPJS.js → chunk.2WWUKEYJ.js} +1 -1
  128. package/cdn-versioned/chunks/{chunk.RGMNIRK6.js → chunk.367GKF44.js} +1 -1
  129. package/cdn-versioned/chunks/{chunk.IZEJBJJM.js → chunk.4AXGXJVS.js} +1 -1
  130. package/cdn-versioned/chunks/{chunk.55DL7CXB.js → chunk.5CWTPYVS.js} +1 -1
  131. package/cdn-versioned/chunks/{chunk.UMLWMBH2.js → chunk.5LUOEZVE.js} +1 -1
  132. package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
  133. package/cdn-versioned/chunks/chunk.76YBBAYM.js +25 -0
  134. package/cdn-versioned/chunks/{chunk.XMWRV7CM.js → chunk.7IUZCPBT.js} +4 -4
  135. package/cdn-versioned/chunks/{chunk.3BPXMVZO.js → chunk.7YXPJHC7.js} +1 -1
  136. package/cdn-versioned/chunks/chunk.BBD6RMZH.js +1 -1
  137. package/cdn-versioned/chunks/{chunk.XUTMQWWI.js → chunk.BXUTMONQ.js} +1 -1
  138. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  139. package/cdn-versioned/chunks/{chunk.BVJ54OIF.js → chunk.CI5ANJHQ.js} +2 -2
  140. package/cdn-versioned/chunks/{chunk.AV324SSO.js → chunk.CODQE7UA.js} +1 -1
  141. package/cdn-versioned/chunks/{chunk.DSDT2XH4.js → chunk.DQR7QC2V.js} +1 -1
  142. package/cdn-versioned/chunks/{chunk.RDAJ73RT.js → chunk.EPSMLSUF.js} +1 -1
  143. package/cdn-versioned/chunks/{chunk.QWADKAIA.js → chunk.F6Z5VUUA.js} +1 -1
  144. package/cdn-versioned/chunks/{chunk.LICTDGGH.js → chunk.FUAY5ZRU.js} +4 -4
  145. package/cdn-versioned/chunks/{chunk.5ARQ6VZ3.js → chunk.G4AZBDMG.js} +1 -1
  146. package/cdn-versioned/chunks/{chunk.B4NY6XRS.js → chunk.HF3SI4OC.js} +1 -1
  147. package/cdn-versioned/chunks/{chunk.LVETUFMK.js → chunk.HWZ25VWZ.js} +1 -1
  148. package/cdn-versioned/chunks/{chunk.Z6BIGSTD.js → chunk.I63F7A5M.js} +1 -1
  149. package/cdn-versioned/chunks/{chunk.EUD2CDR7.js → chunk.IVUI5RZA.js} +1 -1
  150. package/cdn-versioned/chunks/{chunk.52LYECTC.js → chunk.JBL2EKSJ.js} +1 -1
  151. package/cdn-versioned/chunks/{chunk.NRW7BGGW.js → chunk.K7JHXFND.js} +1 -1
  152. package/cdn-versioned/chunks/{chunk.LDOJBWDU.js → chunk.KIKUIQH6.js} +1 -1
  153. package/cdn-versioned/chunks/{chunk.5Y3MN4GB.js → chunk.KPE4AHJU.js} +1 -1
  154. package/cdn-versioned/chunks/chunk.KU5T2HM4.js +1 -0
  155. package/cdn-versioned/chunks/{chunk.V4PITXV7.js → chunk.LPQF2NV2.js} +1 -1
  156. package/cdn-versioned/chunks/{chunk.DPV2G3NJ.js → chunk.MIOZZZH5.js} +1 -1
  157. package/cdn-versioned/chunks/{chunk.U3KFXOPK.js → chunk.NT233AXU.js} +1 -1
  158. package/cdn-versioned/chunks/{chunk.ZHP3MV7W.js → chunk.OTR2J5QC.js} +1 -1
  159. package/cdn-versioned/chunks/{chunk.BYO6F4MG.js → chunk.P2XVEBNM.js} +4 -4
  160. package/cdn-versioned/chunks/{chunk.ISPYBMPH.js → chunk.P7SNYVCS.js} +1 -1
  161. package/cdn-versioned/chunks/{chunk.O5DPPJ5C.js → chunk.PJ23OZWD.js} +1 -1
  162. package/cdn-versioned/chunks/{chunk.WSFVLXZX.js → chunk.PLVKA2MP.js} +1 -1
  163. package/{cdn/chunks/chunk.NX4RKGCR.js → cdn-versioned/chunks/chunk.PSM2IK7I.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.PTXWDCQM.js → chunk.PY66STPJ.js} +1 -1
  165. package/cdn-versioned/chunks/{chunk.5WGZLUV4.js → chunk.PYWUNTRK.js} +1 -1
  166. package/cdn-versioned/chunks/{chunk.AHVFRDZP.js → chunk.QIZORFM5.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.AXLYZ3FN.js → chunk.QS3U2PLX.js} +1 -1
  168. package/cdn-versioned/chunks/{chunk.UAIWOEI2.js → chunk.R4O2TIBS.js} +1 -1
  169. package/cdn-versioned/chunks/{chunk.C6UYA4J6.js → chunk.R7L6BSPL.js} +1 -1
  170. package/cdn-versioned/chunks/{chunk.JNML5UGI.js → chunk.SDZ2KQEI.js} +1 -1
  171. package/cdn-versioned/chunks/{chunk.WA6P2P6S.js → chunk.SVBQZKHD.js} +1 -1
  172. package/cdn-versioned/chunks/{chunk.NOM4DAFZ.js → chunk.TLTD53JK.js} +1 -1
  173. package/cdn-versioned/chunks/{chunk.AW6IVIMC.js → chunk.TU4RJBA3.js} +1 -1
  174. package/cdn-versioned/chunks/{chunk.EOXPPRXE.js → chunk.U44F4JBT.js} +1 -1
  175. package/cdn-versioned/chunks/{chunk.AZOXCU6X.js → chunk.UBGZST4Q.js} +1 -1
  176. package/cdn-versioned/chunks/{chunk.UTE5LYK7.js → chunk.UOY4CWLC.js} +1 -1
  177. package/cdn-versioned/chunks/{chunk.PJ3B7QJU.js → chunk.W6SMEJG6.js} +1 -1
  178. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  179. package/cdn-versioned/chunks/{chunk.2Y5AQ3MC.js → chunk.W7YBZJBO.js} +1 -1
  180. package/cdn-versioned/chunks/{chunk.3HVKQWKZ.js → chunk.WV44R5AM.js} +1 -1
  181. package/cdn-versioned/chunks/{chunk.NR5WJ3MU.js → chunk.XKVU7NPO.js} +1 -1
  182. package/cdn-versioned/chunks/{chunk.PH2IN3Z5.js → chunk.Y6VJJTAH.js} +2 -2
  183. package/cdn-versioned/chunks/{chunk.YBRSKRDE.js → chunk.YEXOG76B.js} +1 -1
  184. package/cdn-versioned/chunks/{chunk.B275KZAR.js → chunk.Z26USUL2.js} +1 -1
  185. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  186. package/cdn-versioned/components/accordion/accordion.js +1 -1
  187. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  188. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  189. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  190. package/cdn-versioned/components/animation/animation.js +1 -1
  191. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  192. package/cdn-versioned/components/audio/audio.js +1 -1
  193. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  194. package/cdn-versioned/components/badge/badge.js +1 -1
  195. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  196. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  197. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  198. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  199. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  200. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  201. package/cdn-versioned/components/button/button.d.ts +2 -2
  202. package/cdn-versioned/components/button/button.js +1 -1
  203. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  204. package/cdn-versioned/components/button-group/button-group.js +1 -1
  205. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  206. package/cdn-versioned/components/carousel/carousel.js +1 -1
  207. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  208. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  209. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  210. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  211. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  212. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  213. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  214. package/cdn-versioned/components/combobox/combobox.js +1 -1
  215. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  216. package/cdn-versioned/components/dialog/dialog.js +1 -1
  217. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  218. package/cdn-versioned/components/divider/divider.js +1 -1
  219. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  220. package/cdn-versioned/components/drawer/drawer.js +1 -1
  221. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  222. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  223. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  224. package/cdn-versioned/components/expandable/expandable.js +1 -1
  225. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  226. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  227. package/cdn-versioned/components/header/header.d.ts +1 -1
  228. package/cdn-versioned/components/header/header.js +1 -1
  229. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  230. package/cdn-versioned/components/icon/icon.js +1 -1
  231. package/cdn-versioned/components/include/include.d.ts +1 -1
  232. package/cdn-versioned/components/include/include.js +1 -1
  233. package/cdn-versioned/components/input/input.d.ts +1 -1
  234. package/cdn-versioned/components/input/input.js +1 -1
  235. package/cdn-versioned/components/link/link.d.ts +1 -1
  236. package/cdn-versioned/components/link/link.js +1 -1
  237. package/cdn-versioned/components/loader/loader.d.ts +13 -0
  238. package/cdn-versioned/components/loader/loader.js +1 -0
  239. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  240. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  241. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  242. package/cdn-versioned/components/menu/menu.js +1 -1
  243. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  244. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  245. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  246. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  247. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  248. package/cdn-versioned/components/notification/notification.js +1 -1
  249. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  250. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  251. package/cdn-versioned/components/option/option.d.ts +1 -1
  252. package/cdn-versioned/components/option/option.js +1 -1
  253. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  254. package/cdn-versioned/components/popup/popup.js +1 -1
  255. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  256. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  257. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  258. package/cdn-versioned/components/radio/radio.js +1 -1
  259. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  260. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  261. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  262. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  263. package/cdn-versioned/components/range/range.d.ts +1 -1
  264. package/cdn-versioned/components/range/range.js +1 -1
  265. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  266. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  267. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  268. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  269. package/cdn-versioned/components/select/select.d.ts +1 -1
  270. package/cdn-versioned/components/select/select.js +1 -1
  271. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  272. package/cdn-versioned/components/spinner/spinner.js +1 -1
  273. package/cdn-versioned/components/step/step.d.ts +1 -1
  274. package/cdn-versioned/components/step/step.js +1 -1
  275. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  276. package/cdn-versioned/components/step-group/step-group.js +1 -1
  277. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  278. package/cdn-versioned/components/switch/switch.js +1 -1
  279. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  280. package/cdn-versioned/components/tab/tab.js +1 -1
  281. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  282. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  283. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  284. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  285. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  286. package/cdn-versioned/components/tag/tag.js +1 -1
  287. package/cdn-versioned/components/teaser/teaser.js +1 -1
  288. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  289. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  290. package/cdn-versioned/components/textarea/textarea.js +1 -1
  291. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  292. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  293. package/cdn-versioned/components/video/video.d.ts +1 -1
  294. package/cdn-versioned/components/video/video.js +1 -1
  295. package/cdn-versioned/custom-elements.json +407 -236
  296. package/cdn-versioned/internal/form.js +3 -3
  297. package/cdn-versioned/solid-components.bundle.js +20 -20
  298. package/cdn-versioned/solid-components.css +2 -2
  299. package/cdn-versioned/solid-components.d.ts +1 -0
  300. package/cdn-versioned/solid-components.iife.js +20 -20
  301. package/cdn-versioned/solid-components.js +1 -1
  302. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  303. package/cdn-versioned/vscode.html-custom-data.json +121 -90
  304. package/cdn-versioned/web-types.json +200 -153
  305. package/dist/chunks/{chunk.D357VP7A.js → chunk.2E6AZ7IS.js} +1 -1
  306. package/dist/chunks/{chunk.5IQOUH7I.js → chunk.2I3XKHRL.js} +1 -1
  307. package/dist/chunks/{chunk.R3UZA54B.js → chunk.2KGI4RGY.js} +1 -1
  308. package/dist/chunks/{chunk.XSSZRAGU.js → chunk.2OIBQGHM.js} +2 -2
  309. package/dist/chunks/{chunk.GWIKV5KN.js → chunk.2TRX3FZB.js} +1 -1
  310. package/dist/chunks/{chunk.HX56RZ2Z.js → chunk.3LB6F6UZ.js} +1 -1
  311. package/dist/chunks/{chunk.IRNEZ6ZP.js → chunk.53TIETIU.js} +1 -1
  312. package/dist/chunks/{chunk.ZL2BKBKS.js → chunk.5EHIHSWD.js} +1 -1
  313. package/dist/chunks/{chunk.DLCZJTIR.js → chunk.5WAILGKS.js} +1 -1
  314. package/dist/chunks/{chunk.GQ6XWHAE.js → chunk.5YHSIEJI.js} +1 -1
  315. package/dist/chunks/chunk.5ZCXBV7F.js +63 -0
  316. package/dist/chunks/{chunk.LO34SJDA.js → chunk.6OA4LXDX.js} +1 -1
  317. package/dist/chunks/{chunk.H6V26DFD.js → chunk.7O463ZCI.js} +1 -1
  318. package/dist/chunks/{chunk.NRSJSNHG.js → chunk.7QXCN2ON.js} +1 -1
  319. package/dist/chunks/{chunk.AUTIW45W.js → chunk.A3OMC6GV.js} +1 -1
  320. package/dist/chunks/{chunk.PDNMFLIG.js → chunk.BS3O2QJ6.js} +1 -1
  321. package/dist/chunks/{chunk.5MI5RZGQ.js → chunk.CNKD3LT7.js} +1 -1
  322. package/dist/chunks/{chunk.OLIUYLCK.js → chunk.F4RHOUGP.js} +1 -1
  323. package/dist/chunks/{chunk.W3QPFMMI.js → chunk.FG5EPKY3.js} +1 -1
  324. package/dist/chunks/{chunk.ROGHY42V.js → chunk.FKIK5XXL.js} +1 -1
  325. package/dist/chunks/{chunk.EKYBHXGH.js → chunk.G4SPWXEP.js} +1 -1
  326. package/dist/chunks/{chunk.WGZZISWJ.js → chunk.GCLUX5DU.js} +2 -2
  327. package/dist/chunks/{chunk.H2X5TME2.js → chunk.GJKBJOMN.js} +1 -1
  328. package/dist/chunks/{chunk.EOMASC3A.js → chunk.GLR5XK2G.js} +1 -1
  329. package/dist/chunks/{chunk.BFXIXYM2.js → chunk.J5KZ6AYY.js} +2 -2
  330. package/dist/chunks/{chunk.QGIMQWRI.js → chunk.JW6RZW7I.js} +1 -1
  331. package/dist/chunks/{chunk.FK2U2PN6.js → chunk.K5VSAEEA.js} +1 -1
  332. package/dist/chunks/{chunk.CIQTGWDA.js → chunk.K6PS5MI5.js} +1 -1
  333. package/dist/chunks/{chunk.2O2BKZXQ.js → chunk.KSDF7SV6.js} +1 -1
  334. package/dist/chunks/{chunk.5BWE5SSW.js → chunk.L2D6TOK4.js} +1 -1
  335. package/dist/chunks/{chunk.XX7PUUBH.js → chunk.LBZP6N7M.js} +1 -1
  336. package/dist/chunks/{chunk.7RZYBI43.js → chunk.LM6HLQCE.js} +1 -1
  337. package/dist/chunks/{chunk.ON6RPABV.js → chunk.LNUCDACW.js} +1 -1
  338. package/dist/chunks/{chunk.SGOWQEQA.js → chunk.MHXRRPRS.js} +1 -1
  339. package/dist/chunks/{chunk.FPSNJQLB.js → chunk.MQGUFVIS.js} +1 -1
  340. package/dist/chunks/{chunk.L4UUV4OG.js → chunk.MYCJZM33.js} +1 -1
  341. package/dist/chunks/{chunk.TNDYERBC.js → chunk.N73QET3I.js} +1 -1
  342. package/dist/chunks/{chunk.YS37WBAO.js → chunk.OT4PPAKV.js} +1 -1
  343. package/dist/chunks/{chunk.MBJ5MPIR.js → chunk.OVMZ5AQ3.js} +1 -1
  344. package/dist/chunks/{chunk.VYUK65VH.js → chunk.PMNTW4FI.js} +3 -3
  345. package/dist/chunks/{chunk.W4VKUZCK.js → chunk.Q5NANOL5.js} +1 -1
  346. package/dist/chunks/{chunk.XQ75JHQD.js → chunk.QEMBE34K.js} +1 -1
  347. package/dist/chunks/chunk.QWL32OLS.js +82 -0
  348. package/dist/chunks/{chunk.CP765QKR.js → chunk.SDNZJEO4.js} +1 -1
  349. package/dist/chunks/{chunk.V5NTSKAD.js → chunk.SHDQPZVK.js} +1 -1
  350. package/dist/chunks/{chunk.RYXTV3DL.js → chunk.SNZAP25L.js} +1 -1
  351. package/dist/chunks/{chunk.P537BT7K.js → chunk.U5XX2CPX.js} +1 -1
  352. package/dist/chunks/{chunk.YEHZ5MJV.js → chunk.ULYZ7HF4.js} +1 -1
  353. package/dist/chunks/{chunk.CTOHPSH6.js → chunk.UTF4KIPA.js} +1 -1
  354. package/dist/chunks/{chunk.2TLG272N.js → chunk.UYJNZRYC.js} +1 -1
  355. package/dist/chunks/{chunk.LP2ISACY.js → chunk.VD6EMWBX.js} +1 -1
  356. package/dist/chunks/{chunk.TOIDT3GZ.js → chunk.WISC4V5Q.js} +1 -1
  357. package/dist/chunks/{chunk.BY7UNVAW.js → chunk.WYGXHCZK.js} +1 -1
  358. package/dist/chunks/{chunk.JH6F7UL2.js → chunk.XE2TTS56.js} +1 -1
  359. package/dist/chunks/{chunk.UAT7XSTF.js → chunk.YVIGSH2Q.js} +1 -1
  360. package/dist/chunks/{chunk.IDSAOZ45.js → chunk.ZXPTGOCQ.js} +1 -1
  361. package/dist/chunks/{chunk.GZHRJON3.js → chunk.ZYSPY56A.js} +1 -1
  362. package/dist/components/accordion/accordion.js +3 -3
  363. package/dist/components/accordion-group/accordion-group.js +4 -4
  364. package/dist/components/animation/animation.js +2 -2
  365. package/dist/components/audio/audio.js +6 -6
  366. package/dist/components/badge/badge.js +2 -2
  367. package/dist/components/brandshape/brandshape.js +2 -2
  368. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  369. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  370. package/dist/components/button/button.d.ts +1 -1
  371. package/dist/components/button/button.js +3 -3
  372. package/dist/components/button-group/button-group.js +2 -2
  373. package/dist/components/carousel/carousel.js +4 -4
  374. package/dist/components/carousel-item/carousel-item.js +2 -2
  375. package/dist/components/checkbox/checkbox.js +3 -3
  376. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  377. package/dist/components/combobox/combobox.js +5 -5
  378. package/dist/components/dialog/dialog.js +5 -5
  379. package/dist/components/divider/divider.js +2 -2
  380. package/dist/components/drawer/drawer.js +5 -5
  381. package/dist/components/dropdown/dropdown.js +3 -3
  382. package/dist/components/expandable/expandable.js +3 -3
  383. package/dist/components/flipcard/flipcard.js +5 -5
  384. package/dist/components/header/header.js +2 -2
  385. package/dist/components/icon/icon.js +2 -2
  386. package/dist/components/include/include.js +2 -2
  387. package/dist/components/input/input.js +3 -3
  388. package/dist/components/link/link.js +2 -2
  389. package/dist/components/loader/loader.d.ts +13 -0
  390. package/dist/components/loader/loader.js +12 -0
  391. package/dist/components/map-marker/map-marker.js +2 -2
  392. package/dist/components/menu/menu.js +2 -2
  393. package/dist/components/menu-item/menu-item.js +2 -2
  394. package/dist/components/navigation-item/navigation-item.js +4 -4
  395. package/dist/components/notification/notification.js +5 -5
  396. package/dist/components/optgroup/optgroup.js +3 -3
  397. package/dist/components/option/option.js +3 -3
  398. package/dist/components/popup/popup.js +2 -2
  399. package/dist/components/quickfact/quickfact.js +4 -4
  400. package/dist/components/radio/radio.js +2 -2
  401. package/dist/components/radio-button/radio-button.js +2 -2
  402. package/dist/components/radio-group/radio-group.js +4 -4
  403. package/dist/components/range/range.js +2 -2
  404. package/dist/components/range-tick/range-tick.js +2 -2
  405. package/dist/components/scrollable/scrollable.js +3 -3
  406. package/dist/components/select/select.js +5 -5
  407. package/dist/components/spinner/spinner.js +2 -2
  408. package/dist/components/step/step.js +3 -3
  409. package/dist/components/step-group/step-group.js +2 -2
  410. package/dist/components/switch/switch.js +2 -2
  411. package/dist/components/tab/tab.js +2 -2
  412. package/dist/components/tab-group/tab-group.js +3 -3
  413. package/dist/components/tab-panel/tab-panel.js +2 -2
  414. package/dist/components/tag/tag.js +3 -3
  415. package/dist/components/teaser/teaser.js +2 -2
  416. package/dist/components/teaser-media/teaser-media.js +2 -2
  417. package/dist/components/textarea/textarea.js +3 -3
  418. package/dist/components/tooltip/tooltip.js +4 -4
  419. package/dist/components/video/video.js +3 -3
  420. package/dist/custom-elements.json +173 -2
  421. package/dist/solid-components.d.ts +1 -0
  422. package/dist/solid-components.js +67 -63
  423. package/dist/utilities/autocomplete-config.js +2 -2
  424. package/dist/vscode.html-custom-data.json +31 -0
  425. package/dist/web-types.json +48 -1
  426. package/dist-versioned/chunks/{chunk.D357VP7A.js → chunk.2E6AZ7IS.js} +3 -3
  427. package/dist-versioned/chunks/{chunk.5IQOUH7I.js → chunk.2I3XKHRL.js} +3 -3
  428. package/dist-versioned/chunks/{chunk.R3UZA54B.js → chunk.2KGI4RGY.js} +6 -6
  429. package/dist-versioned/chunks/{chunk.XSSZRAGU.js → chunk.2OIBQGHM.js} +8 -8
  430. package/dist-versioned/chunks/{chunk.GWIKV5KN.js → chunk.2TRX3FZB.js} +4 -4
  431. package/dist-versioned/chunks/{chunk.HX56RZ2Z.js → chunk.3LB6F6UZ.js} +4 -4
  432. package/dist-versioned/chunks/{chunk.IRNEZ6ZP.js → chunk.53TIETIU.js} +2 -2
  433. package/dist-versioned/chunks/{chunk.ZL2BKBKS.js → chunk.5EHIHSWD.js} +3 -3
  434. package/dist-versioned/chunks/{chunk.DLCZJTIR.js → chunk.5WAILGKS.js} +4 -4
  435. package/dist-versioned/chunks/{chunk.GQ6XWHAE.js → chunk.5YHSIEJI.js} +2 -2
  436. package/dist-versioned/chunks/chunk.5ZCXBV7F.js +63 -0
  437. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  438. package/dist-versioned/chunks/{chunk.LO34SJDA.js → chunk.6OA4LXDX.js} +5 -5
  439. package/dist-versioned/chunks/{chunk.H6V26DFD.js → chunk.7O463ZCI.js} +3 -3
  440. package/dist-versioned/chunks/{chunk.NRSJSNHG.js → chunk.7QXCN2ON.js} +3 -3
  441. package/dist-versioned/chunks/{chunk.AUTIW45W.js → chunk.A3OMC6GV.js} +2 -2
  442. package/dist-versioned/chunks/{chunk.PDNMFLIG.js → chunk.BS3O2QJ6.js} +2 -2
  443. package/dist-versioned/chunks/{chunk.5MI5RZGQ.js → chunk.CNKD3LT7.js} +5 -5
  444. package/dist-versioned/chunks/{chunk.OLIUYLCK.js → chunk.F4RHOUGP.js} +2 -2
  445. package/dist-versioned/chunks/{chunk.W3QPFMMI.js → chunk.FG5EPKY3.js} +6 -6
  446. package/dist-versioned/chunks/{chunk.ROGHY42V.js → chunk.FKIK5XXL.js} +2 -2
  447. package/dist-versioned/chunks/{chunk.EKYBHXGH.js → chunk.G4SPWXEP.js} +25 -25
  448. package/dist-versioned/chunks/{chunk.WGZZISWJ.js → chunk.GCLUX5DU.js} +14 -14
  449. package/dist-versioned/chunks/{chunk.H2X5TME2.js → chunk.GJKBJOMN.js} +2 -2
  450. package/dist-versioned/chunks/{chunk.EOMASC3A.js → chunk.GLR5XK2G.js} +4 -4
  451. package/dist-versioned/chunks/{chunk.BFXIXYM2.js → chunk.J5KZ6AYY.js} +5 -5
  452. package/dist-versioned/chunks/{chunk.QGIMQWRI.js → chunk.JW6RZW7I.js} +2 -2
  453. package/dist-versioned/chunks/{chunk.FK2U2PN6.js → chunk.K5VSAEEA.js} +3 -3
  454. package/dist-versioned/chunks/{chunk.CIQTGWDA.js → chunk.K6PS5MI5.js} +3 -3
  455. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  456. package/dist-versioned/chunks/{chunk.2O2BKZXQ.js → chunk.KSDF7SV6.js} +6 -6
  457. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  458. package/dist-versioned/chunks/{chunk.5BWE5SSW.js → chunk.L2D6TOK4.js} +3 -3
  459. package/dist-versioned/chunks/{chunk.XX7PUUBH.js → chunk.LBZP6N7M.js} +2 -2
  460. package/dist-versioned/chunks/{chunk.7RZYBI43.js → chunk.LM6HLQCE.js} +2 -2
  461. package/dist-versioned/chunks/{chunk.ON6RPABV.js → chunk.LNUCDACW.js} +3 -3
  462. package/dist-versioned/chunks/{chunk.SGOWQEQA.js → chunk.MHXRRPRS.js} +2 -2
  463. package/dist-versioned/chunks/{chunk.FPSNJQLB.js → chunk.MQGUFVIS.js} +3 -3
  464. package/dist-versioned/chunks/{chunk.L4UUV4OG.js → chunk.MYCJZM33.js} +3 -3
  465. package/dist-versioned/chunks/{chunk.TNDYERBC.js → chunk.N73QET3I.js} +3 -3
  466. package/dist-versioned/chunks/{chunk.YS37WBAO.js → chunk.OT4PPAKV.js} +4 -4
  467. package/dist-versioned/chunks/{chunk.MBJ5MPIR.js → chunk.OVMZ5AQ3.js} +9 -9
  468. package/dist-versioned/chunks/{chunk.VYUK65VH.js → chunk.PMNTW4FI.js} +5 -5
  469. package/dist-versioned/chunks/{chunk.W4VKUZCK.js → chunk.Q5NANOL5.js} +2 -2
  470. package/dist-versioned/chunks/{chunk.XQ75JHQD.js → chunk.QEMBE34K.js} +13 -13
  471. package/dist-versioned/chunks/chunk.QWL32OLS.js +82 -0
  472. package/dist-versioned/chunks/{chunk.CP765QKR.js → chunk.SDNZJEO4.js} +3 -3
  473. package/dist-versioned/chunks/{chunk.V5NTSKAD.js → chunk.SHDQPZVK.js} +6 -6
  474. package/dist-versioned/chunks/{chunk.RYXTV3DL.js → chunk.SNZAP25L.js} +7 -7
  475. package/dist-versioned/chunks/{chunk.P537BT7K.js → chunk.U5XX2CPX.js} +4 -4
  476. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  477. package/dist-versioned/chunks/{chunk.YEHZ5MJV.js → chunk.ULYZ7HF4.js} +7 -7
  478. package/dist-versioned/chunks/{chunk.CTOHPSH6.js → chunk.UTF4KIPA.js} +4 -4
  479. package/dist-versioned/chunks/{chunk.2TLG272N.js → chunk.UYJNZRYC.js} +2 -2
  480. package/dist-versioned/chunks/{chunk.LP2ISACY.js → chunk.VD6EMWBX.js} +15 -15
  481. package/dist-versioned/chunks/{chunk.TOIDT3GZ.js → chunk.WISC4V5Q.js} +12 -12
  482. package/dist-versioned/chunks/{chunk.BY7UNVAW.js → chunk.WYGXHCZK.js} +27 -27
  483. package/dist-versioned/chunks/{chunk.JH6F7UL2.js → chunk.XE2TTS56.js} +3 -3
  484. package/dist-versioned/chunks/{chunk.UAT7XSTF.js → chunk.YVIGSH2Q.js} +3 -3
  485. package/dist-versioned/chunks/{chunk.IDSAOZ45.js → chunk.ZXPTGOCQ.js} +4 -4
  486. package/dist-versioned/chunks/{chunk.GZHRJON3.js → chunk.ZYSPY56A.js} +2 -2
  487. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  488. package/dist-versioned/components/accordion/accordion.js +3 -3
  489. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  490. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  491. package/dist-versioned/components/animation/animation.d.ts +1 -1
  492. package/dist-versioned/components/animation/animation.js +2 -2
  493. package/dist-versioned/components/audio/audio.d.ts +1 -1
  494. package/dist-versioned/components/audio/audio.js +6 -6
  495. package/dist-versioned/components/badge/badge.d.ts +1 -1
  496. package/dist-versioned/components/badge/badge.js +2 -2
  497. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  498. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  499. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  500. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  501. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  502. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  503. package/dist-versioned/components/button/button.d.ts +2 -2
  504. package/dist-versioned/components/button/button.js +3 -3
  505. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  506. package/dist-versioned/components/button-group/button-group.js +2 -2
  507. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  508. package/dist-versioned/components/carousel/carousel.js +4 -4
  509. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  510. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  511. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  512. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  513. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  514. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  515. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  516. package/dist-versioned/components/combobox/combobox.js +5 -5
  517. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  518. package/dist-versioned/components/dialog/dialog.js +5 -5
  519. package/dist-versioned/components/divider/divider.d.ts +1 -1
  520. package/dist-versioned/components/divider/divider.js +2 -2
  521. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  522. package/dist-versioned/components/drawer/drawer.js +5 -5
  523. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  524. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  525. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  526. package/dist-versioned/components/expandable/expandable.js +3 -3
  527. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  528. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  529. package/dist-versioned/components/header/header.d.ts +1 -1
  530. package/dist-versioned/components/header/header.js +2 -2
  531. package/dist-versioned/components/icon/icon.d.ts +1 -1
  532. package/dist-versioned/components/icon/icon.js +2 -2
  533. package/dist-versioned/components/include/include.d.ts +1 -1
  534. package/dist-versioned/components/include/include.js +2 -2
  535. package/dist-versioned/components/input/input.d.ts +1 -1
  536. package/dist-versioned/components/input/input.js +3 -3
  537. package/dist-versioned/components/link/link.d.ts +1 -1
  538. package/dist-versioned/components/link/link.js +2 -2
  539. package/dist-versioned/components/loader/loader.d.ts +13 -0
  540. package/dist-versioned/components/loader/loader.js +12 -0
  541. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  542. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  543. package/dist-versioned/components/menu/menu.d.ts +1 -1
  544. package/dist-versioned/components/menu/menu.js +2 -2
  545. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  546. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  547. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  548. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  549. package/dist-versioned/components/notification/notification.d.ts +1 -1
  550. package/dist-versioned/components/notification/notification.js +5 -5
  551. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  552. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  553. package/dist-versioned/components/option/option.d.ts +1 -1
  554. package/dist-versioned/components/option/option.js +3 -3
  555. package/dist-versioned/components/popup/popup.d.ts +1 -1
  556. package/dist-versioned/components/popup/popup.js +2 -2
  557. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  558. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  559. package/dist-versioned/components/radio/radio.d.ts +1 -1
  560. package/dist-versioned/components/radio/radio.js +2 -2
  561. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  562. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  563. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  564. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  565. package/dist-versioned/components/range/range.d.ts +1 -1
  566. package/dist-versioned/components/range/range.js +2 -2
  567. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  568. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  569. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  570. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  571. package/dist-versioned/components/select/select.d.ts +1 -1
  572. package/dist-versioned/components/select/select.js +5 -5
  573. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  574. package/dist-versioned/components/spinner/spinner.js +2 -2
  575. package/dist-versioned/components/step/step.d.ts +1 -1
  576. package/dist-versioned/components/step/step.js +3 -3
  577. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  578. package/dist-versioned/components/step-group/step-group.js +2 -2
  579. package/dist-versioned/components/switch/switch.d.ts +1 -1
  580. package/dist-versioned/components/switch/switch.js +2 -2
  581. package/dist-versioned/components/tab/tab.d.ts +1 -1
  582. package/dist-versioned/components/tab/tab.js +2 -2
  583. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  584. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  585. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  586. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  587. package/dist-versioned/components/tag/tag.d.ts +1 -1
  588. package/dist-versioned/components/tag/tag.js +3 -3
  589. package/dist-versioned/components/teaser/teaser.js +2 -2
  590. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  591. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  592. package/dist-versioned/components/textarea/textarea.js +3 -3
  593. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  594. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  595. package/dist-versioned/components/video/video.d.ts +1 -1
  596. package/dist-versioned/components/video/video.js +3 -3
  597. package/dist-versioned/custom-elements.json +407 -236
  598. package/dist-versioned/internal/form.js +3 -3
  599. package/dist-versioned/solid-components.css +2 -2
  600. package/dist-versioned/solid-components.d.ts +1 -0
  601. package/dist-versioned/solid-components.js +67 -63
  602. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  603. package/dist-versioned/vscode.html-custom-data.json +121 -90
  604. package/dist-versioned/web-types.json +200 -153
  605. package/package.json +2 -2
  606. package/cdn/chunks/chunk.OJBSFCKY.js +0 -25
  607. package/cdn-versioned/chunks/chunk.OJBSFCKY.js +0 -25
  608. package/dist/chunks/chunk.JSBUECND.js +0 -82
  609. package/dist-versioned/chunks/chunk.JSBUECND.js +0 -82
@@ -1 +1 @@
1
- import{a as p,c as m}from"./chunk.SKUMYG4O.js";import{b as w}from"./chunk.H2TKMIFR.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as g}from"./chunk.GHC63SXL.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as y,b as n,d as a,h as c}from"./chunk.OJBSFCKY.js";import{b as f}from"./chunk.UWPDCU52.js";import{b as l,e as h,f as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await h(this.body),this.body.hidden=!1;let{keyframes:o,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,d(o,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await h(this.body);let{keyframes:o,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,d(o,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-y border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-5-11-0-icon library="_internal" name="chevron-down"></sd-5-11-0-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-5-11-0-icon library="_internal" name="chevron-down"></sd-5-11-0-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`:host{display:block}[part=header]::-webkit-details-marker{display:none}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-5-11-0-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as p,c as m}from"./chunk.SKUMYG4O.js";import{b as w}from"./chunk.H2TKMIFR.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as g}from"./chunk.GHC63SXL.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as y,b as n,d as a,h as c}from"./chunk.76YBBAYM.js";import{b as f}from"./chunk.UWPDCU52.js";import{b as l,e as h,f as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await h(this.body),this.body.hidden=!1;let{keyframes:o,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,d(o,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await h(this.body);let{keyframes:o,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,d(o,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-y border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-5-12-0-icon library="_internal" name="chevron-down"></sd-5-12-0-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-5-12-0-icon library="_internal" name="chevron-down"></sd-5-12-0-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`:host{display:block}[part=header]::-webkit-details-marker{display:none}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-5-12-0-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk.26V4EXHB.js";import{a as o,b as r,h as i}from"./chunk.OJBSFCKY.js";import{b as n,e as a}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends i{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return a`<span part="base" aria-labelledby="content" class="${s("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"text-primary bg-primary-100 border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",red:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant])}"><span id="content" part="content" class="${s(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...i.styles,n`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem;height:var(--sd-spacing-4,1rem);min-width:var(--sd-spacing-4,1rem)}:host([size=lg]){font-size:.75rem;height:var(--sd-spacing-5,1.25rem);min-width:var(--sd-spacing-5,1.25rem)}:host([size=sm])::part(base){height:var(--sd-spacing-2,.5rem);min-width:var(--sd-spacing-2,.5rem)}:host([size=md])::part(base){padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([o("sd-5-11-0-badge")],e);export{e as a};
1
+ import{a as s}from"./chunk.26V4EXHB.js";import{a as o,b as r,h as i}from"./chunk.76YBBAYM.js";import{b as n,e as a}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends i{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return a`<span part="base" aria-labelledby="content" class="${s("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"text-primary bg-primary-100 border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",red:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant])}"><span id="content" part="content" class="${s(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...i.styles,n`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem;height:var(--sd-spacing-4,1rem);min-width:var(--sd-spacing-4,1rem)}:host([size=lg]){font-size:.75rem;height:var(--sd-spacing-5,1.25rem);min-width:var(--sd-spacing-5,1.25rem)}:host([size=sm])::part(base){height:var(--sd-spacing-2,.5rem);min-width:var(--sd-spacing-2,.5rem)}:host([size=md])::part(base){padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([o("sd-5-12-0-badge")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as n,b as i,g as c,h as o}from"./chunk.OJBSFCKY.js";import{b as a,e as l}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return l`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`:host{display:block}::slotted(sd-5-11-0-accordion:not(:first-of-type)){margin-top:-1px}`],t([c({selector:"sd-5-11-0-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([n("sd-5-11-0-accordion-group")],e);export{e as a};
1
+ import{a as n,b as i,g as c,h as o}from"./chunk.76YBBAYM.js";import{b as a,e as l}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return l`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`:host{display:block}::slotted(sd-5-12-0-accordion:not(:first-of-type)){margin-top:-1px}`],t([c({selector:"sd-5-12-0-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([n("sd-5-12-0-accordion-group")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as g}from"./chunk.I2H6CZK5.js";import{a as L}from"./chunk.2AQOPKKH.js";import{a as A}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.GHC63SXL.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as x,b as r,d as c,h as b}from"./chunk.OJBSFCKY.js";import{b as k,e as u}from"./chunk.UWPDCU52.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 L(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=A(),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-11-0-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-5-11-0-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-11-0-icon></sd-5-11-0-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-5-11-0-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-5-11-0-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-11-0-icon></sd-5-11-0-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-11-0-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 L}from"./chunk.2AQOPKKH.js";import{a as A}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.GHC63SXL.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as x,b as r,d as c,h as b}from"./chunk.76YBBAYM.js";import{b as k,e as u}from"./chunk.UWPDCU52.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 L(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=A(),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-12-0-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-5-12-0-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-12-0-icon></sd-5-12-0-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-5-12-0-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-5-12-0-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-12-0-icon></sd-5-12-0-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-12-0-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 p}from"./chunk.BBD6RMZH.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.OJBSFCKY.js";import{b as c,e as i}from"./chunk.UWPDCU52.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-11-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-5-11-0-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-11-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-5-11-0-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-11-0-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-11-0-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-11-0-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-11-0-menu-item")],e);export{e as a};
1
+ import{a as p}from"./chunk.BBD6RMZH.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.76YBBAYM.js";import{b as c,e as i}from"./chunk.UWPDCU52.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-12-0-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-5-12-0-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-12-0-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-5-12-0-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-12-0-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-12-0-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-12-0-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-12-0-menu-item")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as h}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.GHC63SXL.js";import{a as c,b as o,d,h as l}from"./chunk.OJBSFCKY.js";import{b as p,e as i}from"./chunk.UWPDCU52.js";import{e as a}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.localize=new v(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new h(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var s,n;t?(s=this.video)==null||s.setAttribute("inert",""):(n=this.video)==null||n.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var s;(s=this.video)==null||s.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return i`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${r(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${r(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline")}"><slot name="play-icon" part="play-icon" class="${r(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-5-11-0-icon id="default-play-icon" library="_internal" name="start"></sd-5-11-0-icon></slot></div></button> ${this.hasSlotController.test("poster")?i`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};e.styles=[...l.styles,p`:host{display:inline-block;overflow:hidden;position:relative}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}#default-play-icon,::slotted([slot=play-icon]){left:50%;position:absolute;top:50%;--tw-translate-x:-50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:1.1!important;--tw-scale-y:1.1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`],a([d("[part=base]")],e.prototype,"hostEl",2),a([o({type:Boolean,reflect:!0})],e.prototype,"playing",2),a([o({type:Boolean})],e.prototype,"isBelowBreakpoint",2),e=a([c("sd-5-11-0-video")],e);export{e as a};
1
+ import{a as h}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.GHC63SXL.js";import{a as c,b as o,d,h as l}from"./chunk.76YBBAYM.js";import{b as p,e as i}from"./chunk.UWPDCU52.js";import{e as a}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.localize=new v(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new h(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var s,n;t?(s=this.video)==null||s.setAttribute("inert",""):(n=this.video)==null||n.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var s;(s=this.video)==null||s.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return i`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${r(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${r(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline")}"><slot name="play-icon" part="play-icon" class="${r(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-5-12-0-icon id="default-play-icon" library="_internal" name="start"></sd-5-12-0-icon></slot></div></button> ${this.hasSlotController.test("poster")?i`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};e.styles=[...l.styles,p`:host{display:inline-block;overflow:hidden;position:relative}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}#default-play-icon,::slotted([slot=play-icon]){left:50%;position:absolute;top:50%;--tw-translate-x:-50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:1.1!important;--tw-scale-y:1.1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`],a([d("[part=base]")],e.prototype,"hostEl",2),a([o({type:Boolean,reflect:!0})],e.prototype,"playing",2),a([o({type:Boolean})],e.prototype,"isBelowBreakpoint",2),e=a([c("sd-5-12-0-video")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk.6QOOWMSC.js";import{a as o,b as l}from"./chunk.H2TKMIFR.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as u}from"./chunk.GHC63SXL.js";import{a as h,b as i,d as p,h as a}from"./chunk.OJBSFCKY.js";import{b as m}from"./chunk.UWPDCU52.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.localize=new u(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":n("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-11-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-11-0-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,m`:host{display:inline-block;transition-duration:.15s;transition-duration:var(--sd-duration-fast,.15s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([size=lg])::part(removable-indicator){font-size:var(--sd-font-size-base,1rem)}:host([size=sm])::part(removable-indicator){font-size:.75rem}`],r([p("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-5-11-0-tag")],e);export{e as a};
1
+ import{a as s}from"./chunk.6QOOWMSC.js";import{a as o,b as l}from"./chunk.H2TKMIFR.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as u}from"./chunk.GHC63SXL.js";import{a as h,b as i,d as p,h as a}from"./chunk.76YBBAYM.js";import{b as m}from"./chunk.UWPDCU52.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.localize=new u(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":n("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-12-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-12-0-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,m`:host{display:inline-block;transition-duration:.15s;transition-duration:var(--sd-duration-fast,.15s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([size=lg])::part(removable-indicator){font-size:var(--sd-font-size-base,1rem)}:host([size=sm])::part(removable-indicator){font-size:.75rem}`],r([p("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-5-12-0-tag")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as h}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as s,b as n,d,h as i}from"./chunk.OJBSFCKY.js";import{b as o,e as l}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends i{constructor(){super(...arguments);this.variant="white";this.hasSlotController=new h(this,"[default]","media","meta","headline","expandable")}render(){let a={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return l`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/[.8] to-60%",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/[.6] to-60%")}"></div><div class="${r({white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"bg-neutral-100/[.8] group-hover:bg-neutral-100/90",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"bg-primary-100/[.8] group-hover:bg-primary-100/90","gradient-light":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/[.6] text-white"}[this.variant])}"><div class="flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4 order-1",!a["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div class="${r("hidden",a["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div><div part="main" class="${r(!a["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div><div class="${r("mb-4 -z-10",!a["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...i.styles,o`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:var(--sd-spacing-0,0)!important}:host([variant=white]) .background:focus-within{background-color:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-90,.9))}:host([variant=neutral-100]) .background:focus-within{background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--sd-opacity-90,.9))}:host([variant=primary]) .background:focus-within{background-color:rgb(var(--sd-color-primary,0 53 142)/var(--sd-opacity-90,.9))}:host([variant=primary-100]) .background:focus-within{background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--sd-opacity-90,.9))}`],e([n({type:String,reflect:!0})],t.prototype,"variant",2),e([d('[part="base"]')],t.prototype,"teaserMedia",2),t=e([s("sd-5-11-0-teaser-media")],t);export{t as a};
1
+ import{a as h}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as s,b as n,d,h as i}from"./chunk.76YBBAYM.js";import{b as o,e as l}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends i{constructor(){super(...arguments);this.variant="white";this.hasSlotController=new h(this,"[default]","media","meta","headline","expandable")}render(){let a={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return l`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/[.8] to-60%",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/[.6] to-60%")}"></div><div class="${r({white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"bg-neutral-100/[.8] group-hover:bg-neutral-100/90",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"bg-primary-100/[.8] group-hover:bg-primary-100/90","gradient-light":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/[.6] text-white"}[this.variant])}"><div class="flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4 order-1",!a["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div class="${r("hidden",a["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div><div part="main" class="${r(!a["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div><div class="${r("mb-4 -z-10",!a["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...i.styles,o`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:var(--sd-spacing-0,0)!important}:host([variant=white]) .background:focus-within{background-color:rgb(var(--sd-color-white,255 255 255)/var(--sd-opacity-90,.9))}:host([variant=neutral-100]) .background:focus-within{background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--sd-opacity-90,.9))}:host([variant=primary]) .background:focus-within{background-color:rgb(var(--sd-color-primary,0 53 142)/var(--sd-opacity-90,.9))}:host([variant=primary-100]) .background:focus-within{background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--sd-opacity-90,.9))}`],e([n({type:String,reflect:!0})],t.prototype,"variant",2),e([d('[part="base"]')],t.prototype,"teaserMedia",2),t=e([s("sd-5-12-0-teaser-media")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as g}from"./chunk.GHC63SXL.js";import{a as p,d as f,h as u}from"./chunk.OJBSFCKY.js";import{b as c,e as h}from"./chunk.UWPDCU52.js";import{e as d}from"./chunk.TJOCV4DC.js";var i=class extends u{constructor(){super(...arguments);this.localize=new g(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(e){let t=["menuitem","menuitemcheckbox"],n=e.composedPath(),r=n.find(s=>{var m;return t.includes(((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))||"")});if(!r||n.find(s=>{var m;return((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))==="menu"})!==this)return;let a=r;a.type==="checkbox"&&(a.checked=!a.checked),this.emit("sd-select",{detail:{item:a}})}handleKeyDown(e){if(e.key==="Enter"||e.key===" "){let t=this.getCurrentItem();e.preventDefault(),e.stopPropagation(),t==null||t.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){let t=this.getAllItems(),n=this.getCurrentItem(),r=n?t.indexOf(n):0;if(t.length>0){e.preventDefault(),e.stopPropagation();let l=(o,a)=>{let s=o;for(let m of t)if(s=(s+a+t.length)%t.length,!t[s].disabled)return s;return o};if(e.key==="ArrowDown")r=l(r,1);else if(e.key==="ArrowUp")r=l(r,-1);else if(e.key==="Home")r=t.findIndex(o=>!o.disabled),r===-1&&(r=0);else if(e.key==="End"){r=t.length-1;for(let o=t.length-1;o>=0;o--)if(!t[o].disabled){r=o;break}}this.setCurrentItem(t[r]),t[r].focus()}}}handleMouseDown(e){let t=e.target;this.isMenuItem(t)&&this.setCurrentItem(t)}handleSlotChange(){let e=this.getAllItems();e.length>0&&this.setCurrentItem(e[0])}isMenuItem(e){var t;return e.tagName.toLowerCase()==="sd-5-11-0-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((t=e.getAttribute("role"))!=null?t:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(e=>!!this.isMenuItem(e))}getCurrentItem(){return this.getAllItems().find(e=>e.getAttribute("tabindex")==="0")}setCurrentItem(e){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};i.styles=[...u.styles,c`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-11-0-divider){padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}`],d([f("slot")],i.prototype,"defaultSlot",2),i=d([p("sd-5-11-0-menu")],i);export{i as a};
1
+ import{a as g}from"./chunk.GHC63SXL.js";import{a as p,d as f,h as u}from"./chunk.76YBBAYM.js";import{b as c,e as h}from"./chunk.UWPDCU52.js";import{e as d}from"./chunk.TJOCV4DC.js";var i=class extends u{constructor(){super(...arguments);this.localize=new g(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(e){let t=["menuitem","menuitemcheckbox"],n=e.composedPath(),r=n.find(s=>{var m;return t.includes(((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))||"")});if(!r||n.find(s=>{var m;return((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))==="menu"})!==this)return;let a=r;a.type==="checkbox"&&(a.checked=!a.checked),this.emit("sd-select",{detail:{item:a}})}handleKeyDown(e){if(e.key==="Enter"||e.key===" "){let t=this.getCurrentItem();e.preventDefault(),e.stopPropagation(),t==null||t.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){let t=this.getAllItems(),n=this.getCurrentItem(),r=n?t.indexOf(n):0;if(t.length>0){e.preventDefault(),e.stopPropagation();let l=(o,a)=>{let s=o;for(let m of t)if(s=(s+a+t.length)%t.length,!t[s].disabled)return s;return o};if(e.key==="ArrowDown")r=l(r,1);else if(e.key==="ArrowUp")r=l(r,-1);else if(e.key==="Home")r=t.findIndex(o=>!o.disabled),r===-1&&(r=0);else if(e.key==="End"){r=t.length-1;for(let o=t.length-1;o>=0;o--)if(!t[o].disabled){r=o;break}}this.setCurrentItem(t[r]),t[r].focus()}}}handleMouseDown(e){let t=e.target;this.isMenuItem(t)&&this.setCurrentItem(t)}handleSlotChange(){let e=this.getAllItems();e.length>0&&this.setCurrentItem(e[0])}isMenuItem(e){var t;return e.tagName.toLowerCase()==="sd-5-12-0-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((t=e.getAttribute("role"))!=null?t:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(e=>!!this.isMenuItem(e))}getCurrentItem(){return this.getAllItems().find(e=>e.getAttribute("tabindex")==="0")}setCurrentItem(e){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};i.styles=[...u.styles,c`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-12-0-divider){padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}`],d([f("slot")],i.prototype,"defaultSlot",2),i=d([p("sd-5-12-0-menu")],i);export{i as a};
@@ -1 +1 @@
1
- var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-5-11-0-option"?t:Array.from(t.querySelectorAll(":scope > sd-5-11-0-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-5-11-0-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
1
+ var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-5-12-0-option"?t:Array.from(t.querySelectorAll(":scope > sd-5-12-0-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-5-12-0-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
@@ -1 +1 @@
1
- import{a as b}from"./chunk.6QOOWMSC.js";import{a as c,c as p}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as o}from"./chunk.26V4EXHB.js";import{a as y}from"./chunk.GHC63SXL.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as f,b as a,d as n,h}from"./chunk.OJBSFCKY.js";import{b as g,e as u}from"./chunk.UWPDCU52.js";import{b as r,e as l,f as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends h{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var s;let e=(s=this.contentPreview)==null?void 0:s.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-5-11-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-11-0-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-5-11-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-11-0-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(x=>{let w=x.cloneNode(!0);e.appendChild(w)}),this.appendChild(e)}};t.styles=[...h.styles,g`:host{--gradient-color-start:hsla(0,0%,100%,0);--gradient-color-end:#fff;--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(--gradient-color-start) 0%,var(--gradient-color-end) 80%,var(--gradient-color-end) 100%;display:inline-block;position:relative;width:100%}.toggle::-moz-focus-inner{border-style:none;padding:var(--sd-spacing-0,0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content:after{background:linear-gradient(180deg,var(--gradient));bottom:var(--sd-spacing-0,0);content:" ";display:block;height:var(--gradient-height);left:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);position:absolute;transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}:host([inverted]) .content:after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,rgba(0,53,142,0) 0,#00358e 80%,#00358e 100%))}:host(:not([open])) .content:after{opacity:var(--sd-opacity-100,1)}`],i([n(".content-preview")],t.prototype,"contentPreview",2),i([n("details")],t.prototype,"details",2),i([n('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([f("sd-5-11-0-expandable")],t);c("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as b}from"./chunk.6QOOWMSC.js";import{a as c,c as p}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as o}from"./chunk.26V4EXHB.js";import{a as y}from"./chunk.GHC63SXL.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as f,b as a,d as n,h}from"./chunk.76YBBAYM.js";import{b as g,e as u}from"./chunk.UWPDCU52.js";import{b as r,e as l,f as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends h{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var s;let e=(s=this.contentPreview)==null?void 0:s.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-5-12-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-12-0-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-5-12-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-12-0-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(x=>{let w=x.cloneNode(!0);e.appendChild(w)}),this.appendChild(e)}};t.styles=[...h.styles,g`:host{--gradient-color-start:hsla(0,0%,100%,0);--gradient-color-end:#fff;--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(--gradient-color-start) 0%,var(--gradient-color-end) 80%,var(--gradient-color-end) 100%;display:inline-block;position:relative;width:100%}.toggle::-moz-focus-inner{border-style:none;padding:var(--sd-spacing-0,0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content:after{background:linear-gradient(180deg,var(--gradient));bottom:var(--sd-spacing-0,0);content:" ";display:block;height:var(--gradient-height);left:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);position:absolute;transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}:host([inverted]) .content:after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,rgba(0,53,142,0) 0,#00358e 80%,#00358e 100%))}:host(:not([open])) .content:after{opacity:var(--sd-opacity-100,1)}`],i([n(".content-preview")],t.prototype,"contentPreview",2),i([n("details")],t.prototype,"details",2),i([n('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([f("sd-5-12-0-expandable")],t);c("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{a as C}from"./chunk.2AQOPKKH.js";import{a as M}from"./chunk.G7HKVXLR.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as f}from"./chunk.6QOOWMSC.js";import{a,c as s}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as x}from"./chunk.GHC63SXL.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as w,b as h,d as c,h as u}from"./chunk.OJBSFCKY.js";import{b as g,e as l}from"./chunk.UWPDCU52.js";import{b as n,e as d}from"./chunk.6OTM3PE5.js";import{e as o}from"./chunk.TJOCV4DC.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&setTimeout(()=>i.focus()),this.emit("sd-after-hide")}}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")}render(){return l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-5-11-0-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-5-11-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-11-0-icon></sd-5-11-0-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`:host{--width:662px}[part=panel]{max-height:80vh;width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-5-11-0-dialog")],t);a("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});a("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});a("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});a("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});export{t as a};
1
+ import{a as C}from"./chunk.2AQOPKKH.js";import{a as M}from"./chunk.G7HKVXLR.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as f}from"./chunk.6QOOWMSC.js";import{a,c as s}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as x}from"./chunk.GHC63SXL.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as w,b as h,d as c,h as u}from"./chunk.76YBBAYM.js";import{b as g,e as l}from"./chunk.UWPDCU52.js";import{b as n,e as d}from"./chunk.6OTM3PE5.js";import{e as o}from"./chunk.TJOCV4DC.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&setTimeout(()=>i.focus()),this.emit("sd-after-hide")}}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")}render(){return l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-5-12-0-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-5-12-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-12-0-icon></sd-5-12-0-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`:host{--width:662px}[part=panel]{max-height:80vh;width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-5-12-0-dialog")],t);a("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});a("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});a("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});a("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});export{t as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk.6QOOWMSC.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as k}from"./chunk.GHC63SXL.js";import{a as T,b as h,c as b,d as u,h as y}from"./chunk.OJBSFCKY.js";import{b as S,e as c}from"./chunk.UWPDCU52.js";import{e as o}from"./chunk.TJOCV4DC.js";var n=class extends y{constructor(){super(...arguments);this.localize=new k(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,i=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,r={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&i,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},m=a.left&&!r.left,v=a.up&&!r.up,E=a.right&&!r.right,f=a.down&&!r.down;(m||v)&&this.dispatchEvent(new CustomEvent("start")),(E||f)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=r}handleScroll(t,i){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",r=!["mouse","touch"].includes((z=i==null?void 0:i.pointerType)!=null?z:""),m=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[m]:e});let v=`button-${t}`;this.dispatchEvent(new CustomEvent(v,{bubbles:!0,composed:!0}));let f=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&f<=0,H=a==="end"&&f>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-5-11-0-icon"))==null||B.setAttribute("label",L),r?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,i){var r;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(r=i.target.querySelector("sd-5-11-0-icon"))==null||r.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",i="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${l("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-5-11-0-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-5-11-0-icon></slot></button></div><div part="button-right" class="${l("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-5-11-0-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-5-11-0-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-5-11-0-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-5-11-0-icon></slot></button></div><div part="button-bottom" class="${l("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-5-11-0-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-5-11-0-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${l("left top-0 left-0 w-[6px] h-full",i,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${l("right top-0 right-0 w-[6px] h-full",i,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${l("top top-0 left-0 w-full h-[6px]",i,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${l("bottom bottom-0 left-0 w-full h-[6px]",i,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,S`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-11-0-icon--top{align-self:flex-start}.sd-5-11-0-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([b()],n.prototype,"canScroll",2),o([b()],n.prototype,"isScrollHorizontalEnabled",2),o([b()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-5-11-0-scrollable")],n);export{n as a};
1
+ import{a as s}from"./chunk.6QOOWMSC.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as k}from"./chunk.GHC63SXL.js";import{a as T,b as h,c as b,d as u,h as y}from"./chunk.76YBBAYM.js";import{b as S,e as c}from"./chunk.UWPDCU52.js";import{e as o}from"./chunk.TJOCV4DC.js";var n=class extends y{constructor(){super(...arguments);this.localize=new k(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,i=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,r={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&i,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},m=a.left&&!r.left,v=a.up&&!r.up,E=a.right&&!r.right,f=a.down&&!r.down;(m||v)&&this.dispatchEvent(new CustomEvent("start")),(E||f)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=r}handleScroll(t,i){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",r=!["mouse","touch"].includes((z=i==null?void 0:i.pointerType)!=null?z:""),m=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[m]:e});let v=`button-${t}`;this.dispatchEvent(new CustomEvent(v,{bubbles:!0,composed:!0}));let f=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&f<=0,H=a==="end"&&f>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-5-12-0-icon"))==null||B.setAttribute("label",L),r?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,i){var r;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(r=i.target.querySelector("sd-5-12-0-icon"))==null||r.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",i="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${l("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-5-12-0-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-5-12-0-icon></slot></button></div><div part="button-right" class="${l("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-5-12-0-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-5-12-0-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-5-12-0-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-5-12-0-icon></slot></button></div><div part="button-bottom" class="${l("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-5-12-0-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-5-12-0-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${l("left top-0 left-0 w-[6px] h-full",i,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${l("right top-0 right-0 w-[6px] h-full",i,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${l("top top-0 left-0 w-full h-[6px]",i,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${l("bottom bottom-0 left-0 w-full h-[6px]",i,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,S`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-12-0-icon--top{align-self:flex-start}.sd-5-12-0-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([b()],n.prototype,"canScroll",2),o([b()],n.prototype,"isScrollHorizontalEnabled",2),o([b()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-5-12-0-scrollable")],n);export{n as a};
@@ -1,4 +1,4 @@
1
- import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.SKUMYG4O.js";import{a as v}from"./chunk.KLRPP4NQ.js";import{a as d}from"./chunk.26V4EXHB.js";import{a as x}from"./chunk.GHC63SXL.js";import{a as h}from"./chunk.E2DRD2OX.js";import{a as b,b as o,d as n,h as c}from"./chunk.OJBSFCKY.js";import{b as g,e as r}from"./chunk.UWPDCU52.js";import{b as p,c as l,e as u}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends c{constructor(){super(...arguments);this.localize=new x(this);this.hasSlotController=new k(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(e){if(!e)return;e.assignedNodes({flatten:!0}).forEach(s=>{var w,y;s.nodeType===Node.TEXT_NODE&&!((w=s==null?void 0:s.textContent)!=null&&w.trim())&&((y=s==null?void 0:s.parentNode)==null||y.removeChild(s))})}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){this.hasTrigger("click")&&(this.open?this.hide():this.show())}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let e=l(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}}handleMouseOut(){if(this.hasTrigger("hover")){let e=l(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}}hasTrigger(e){return this.trigger.split(" ").includes(e)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:e,options:a}=f(this,"tooltip.show",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:e,options:a}=f(this,"tooltip.hide",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,v(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),v(this,"sd-after-hide")}render(){let e=this.placement.endsWith("-start"),a=this.placement.endsWith("-end");return r`<sd-5-11-0-popup part="base" exportparts="
1
+ import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as m,c as f}from"./chunk.SKUMYG4O.js";import{a as v}from"./chunk.KLRPP4NQ.js";import{a as d}from"./chunk.26V4EXHB.js";import{a as x}from"./chunk.GHC63SXL.js";import{a as h}from"./chunk.E2DRD2OX.js";import{a as b,b as o,d as n,h as c}from"./chunk.76YBBAYM.js";import{b as g,e as r}from"./chunk.UWPDCU52.js";import{b as p,c as l,e as u}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends c{constructor(){super(...arguments);this.localize=new x(this);this.hasSlotController=new k(this,"[default]","content");this.size="lg";this.content="";this.placement="top";this.disabled=!1;this.open=!1;this.trigger="click focus";this.hoist=!1;this.handleMouseInteraction=()=>{this.interactionType="mouse"};this.handleKeyboardInteraction=()=>{this.interactionType="keyboard"}}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleMouseOver=this.handleMouseOver.bind(this),this.handleMouseOut=this.handleMouseOut.bind(this),document.addEventListener("mousedown",this.handleMouseInteraction),document.addEventListener("keydown",this.handleKeyboardInteraction),this.updateComplete.then(()=>{this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)})}firstUpdated(){this.body.hidden=!this.open,this.formatDefaultSlot(this.defaultSlot),this.open&&(this.popup.active=!0,this.popup.reposition())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("blur",this.handleBlur,!0),this.removeEventListener("focus",this.handleFocus,!0),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("mousedown",this.handleMouseInteraction),document.removeEventListener("keydown",this.handleKeyboardInteraction)}get hasCustomTrigger(){return this.hasSlotController.test("[default]")}formatDefaultSlot(e){if(!e)return;e.assignedNodes({flatten:!0}).forEach(s=>{var w,y;s.nodeType===Node.TEXT_NODE&&!((w=s==null?void 0:s.textContent)!=null&&w.trim())&&((y=s==null?void 0:s.parentNode)==null||y.removeChild(s))})}handleBlur(){this.hasTrigger("focus")&&this.hide()}handleClick(){this.hasTrigger("click")&&(this.open?this.hide():this.show())}handleFocus(){this.hasTrigger("focus")&&this.interactionType==="keyboard"&&this.show()}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide())}handleMouseOver(){if(this.hasTrigger("hover")){let e=l(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}}handleMouseOut(){if(this.hasTrigger("hover")){let e=l(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}}hasTrigger(e){return this.trigger.split(" ").includes(e)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sd-show"),await u(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:e,options:a}=f(this,"tooltip.show",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.body);let{keyframes:e,options:a}=f(this,"tooltip.hide",{dir:this.localize.dir()});await p(this.popup.popup,e,a),this.popup.active=!1,this.body.hidden=!0,this.emit("sd-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,v(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,this.trigger==="click"||this.trigger==="click focus"?this.focus():this.blur(),v(this,"sd-after-hide")}render(){let e=this.placement.endsWith("-start"),a=this.placement.endsWith("-end");return r`<sd-5-12-0-popup part="base" exportparts="
2
2
  popup:base__popup,
3
3
  arrow:base__arrow
4
- " class="${d(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[e?"start":a?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?r`<slot slot="anchor"></slot>`:r`<button slot="anchor" aria-describedby="tooltip" class="${d("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-11-0-icon library="_internal" name="info-circle" label="Tooltip" class="${d(this.disabled&&"sd-interactive--disabled")}"></sd-5-11-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-5-11-0-popup>`}};t.styles=[...c.styles,g`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-11-0-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-11-0-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-11-0-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-11-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-11-0-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([n("slot:not([name])")],t.prototype,"defaultSlot",2),i([n("#tooltip")],t.prototype,"body",2),i([n("sd-5-11-0-popup")],t.prototype,"popup",2),i([o({type:String,reflect:!0})],t.prototype,"size",2),i([o({type:String,reflect:!0})],t.prototype,"content",2),i([o({type:String,reflect:!0})],t.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([o({type:Boolean,reflect:!0})],t.prototype,"open",2),i([o({type:String,reflect:!0})],t.prototype,"trigger",2),i([o({type:Boolean,reflect:!0})],t.prototype,"hoist",2),i([h("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([h(["content","hoist","placement"])],t.prototype,"handleOptionsChange",1),i([h("disabled")],t.prototype,"handleDisabledChange",1),t=i([b("sd-5-11-0-tooltip")],t);m("tooltip.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});m("tooltip.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
4
+ " class="${d(this.open&&"tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{start:2,end:-2,default:0}[e?"start":a?"end":"default"]*(this.size==="sm"?-1:1)}" strategy="${this.hoist?"fixed":"absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger?r`<slot slot="anchor"></slot>`:r`<button slot="anchor" aria-describedby="tooltip" class="${d("flex sd-interactive rounded-full",this.size==="lg"?"text-xl":"text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-12-0-icon library="_internal" name="info-circle" label="Tooltip" class="${d(this.disabled&&"sd-interactive--disabled")}"></sd-5-12-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open?"polite":"off"}">${this.content}</slot></sd-5-12-0-popup>`}};t.styles=[...c.styles,g`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-12-0-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-12-0-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-12-0-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-12-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-12-0-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([n("slot:not([name])")],t.prototype,"defaultSlot",2),i([n("#tooltip")],t.prototype,"body",2),i([n("sd-5-12-0-popup")],t.prototype,"popup",2),i([o({type:String,reflect:!0})],t.prototype,"size",2),i([o({type:String,reflect:!0})],t.prototype,"content",2),i([o({type:String,reflect:!0})],t.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([o({type:Boolean,reflect:!0})],t.prototype,"open",2),i([o({type:String,reflect:!0})],t.prototype,"trigger",2),i([o({type:Boolean,reflect:!0})],t.prototype,"hoist",2),i([h("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([h(["content","hoist","placement"])],t.prototype,"handleOptionsChange",1),i([h("disabled")],t.prototype,"handleDisabledChange",1),t=i([b("sd-5-12-0-tooltip")],t);m("tooltip.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});m("tooltip.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{a as g,b as m,c as b,d as h,h as i}from"./chunk.OJBSFCKY.js";import{b as d,e as c}from"./chunk.UWPDCU52.js";import{e as l}from"./chunk.TJOCV4DC.js";var s=class extends i{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-5-11-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-5-11-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-5-11-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-5-11-0-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-5-11-0-button-group__button"),o.classList.toggle("sd-5-11-0-button-group__button--first",n===0),o.classList.toggle("sd-5-11-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-5-11-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-5-11-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-5-11-0-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...i.styles,d`:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([m({type:String,reflect:!0})],s.prototype,"label",2),s=l([g("sd-5-11-0-button-group")],s);function a(r){var e;let u="sd-5-11-0-button, sd-5-11-0-radio-button";return(e=r.closest(u))!=null?e:r.querySelector(u)}export{s as a};
1
+ import{a as g,b as m,c as b,d as h,h as i}from"./chunk.76YBBAYM.js";import{b as d,e as c}from"./chunk.UWPDCU52.js";import{e as l}from"./chunk.TJOCV4DC.js";var s=class extends i{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-5-12-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-5-12-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-5-12-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-5-12-0-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-5-12-0-button-group__button"),o.classList.toggle("sd-5-12-0-button-group__button--first",n===0),o.classList.toggle("sd-5-12-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-5-12-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-5-12-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-5-12-0-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...i.styles,d`:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([m({type:String,reflect:!0})],s.prototype,"label",2),s=l([g("sd-5-12-0-button-group")],s);function a(r){var e;let u="sd-5-12-0-button, sd-5-12-0-radio-button";return(e=r.closest(u))!=null?e:r.querySelector(u)}export{s 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.OJBSFCKY.js";import{b as c,e as l}from"./chunk.UWPDCU52.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":"border-neutral-800")}">${this.selected?l`<sd-5-11-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-11-0-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-11-0-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.76YBBAYM.js";import{b as c,e as l}from"./chunk.UWPDCU52.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":"border-neutral-800")}">${this.selected?l`<sd-5-12-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-12-0-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-12-0-option")],e);export{e as a};
@@ -21,6 +21,6 @@ export default class SdAccordion extends SolidElement {
21
21
  }
22
22
  declare global {
23
23
  interface HTMLElementTagNameMap {
24
- 'sd-5-11-0-accordion': SdAccordion;
24
+ 'sd-5-12-0-accordion': SdAccordion;
25
25
  }
26
26
  }
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.C6UYA4J6.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.H2TKMIFR.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.Z6BIGSTD.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.OJBSFCKY.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.R7L6BSPL.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.H2TKMIFR.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.I63F7A5M.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.76YBBAYM.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -11,6 +11,6 @@ export default class SdAccordionGroup extends SolidElement {
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
14
- 'sd-5-11-0-accordion-group': SdAccordionGroup;
14
+ 'sd-5-12-0-accordion-group': SdAccordionGroup;
15
15
  }
16
16
  }
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.WA6P2P6S.js";import"../../chunks/chunk.C6UYA4J6.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.H2TKMIFR.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.Z6BIGSTD.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.OJBSFCKY.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.SVBQZKHD.js";import"../../chunks/chunk.R7L6BSPL.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.H2TKMIFR.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.I63F7A5M.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.76YBBAYM.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -34,6 +34,6 @@ export default class SdAnimation extends SolidElement {
34
34
  }
35
35
  declare global {
36
36
  interface HTMLElementTagNameMap {
37
- 'sd-5-11-0-animation': SdAnimation;
37
+ 'sd-5-12-0-animation': SdAnimation;
38
38
  }
39
39
  }
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.ZHP3MV7W.js";import"../../chunks/chunk.XR2KNB36.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.OJBSFCKY.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.OTR2J5QC.js";import"../../chunks/chunk.XR2KNB36.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.76YBBAYM.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -54,6 +54,6 @@ export default class SdAudio extends SolidElement {
54
54
  }
55
55
  declare global {
56
56
  interface HTMLElementTagNameMap {
57
- 'sd-5-11-0-audio': SdAudio;
57
+ 'sd-5-12-0-audio': SdAudio;
58
58
  }
59
59
  }
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.M34F3WSU.js";import"../../chunks/chunk.NOM4DAFZ.js";import"../../chunks/chunk.I2H6CZK5.js";import"../../chunks/chunk.2AQOPKKH.js";import"../../chunks/chunk.G7HKVXLR.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.NX4RKGCR.js";import"../../chunks/chunk.WSFVLXZX.js";import"../../chunks/chunk.6HLS5XU2.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.VSJY5YKF.js";import"../../chunks/chunk.6QOOWMSC.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.H2TKMIFR.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.Z6BIGSTD.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.OJBSFCKY.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.WNP2V63C.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.23QCS6WN.js";import"../../chunks/chunk.TLTD53JK.js";import"../../chunks/chunk.I2H6CZK5.js";import"../../chunks/chunk.2AQOPKKH.js";import"../../chunks/chunk.G7HKVXLR.js";import"../../chunks/chunk.3L472FD4.js";import"../../chunks/chunk.PSM2IK7I.js";import"../../chunks/chunk.KU5T2HM4.js";import"../../chunks/chunk.6HLS5XU2.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.VSJY5YKF.js";import"../../chunks/chunk.6QOOWMSC.js";import"../../chunks/chunk.SKUMYG4O.js";import"../../chunks/chunk.H2TKMIFR.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.I63F7A5M.js";import"../../chunks/chunk.N2OPZHJV.js";import"../../chunks/chunk.CDEXCMVF.js";import"../../chunks/chunk.ZBXT5WFZ.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.B5WOG3GU.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.GHC63SXL.js";import"../../chunks/chunk.SUYDKR6I.js";import"../../chunks/chunk.DCBKAP5D.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.76YBBAYM.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.WNP2V63C.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -8,6 +8,6 @@ export default class SdBadge extends SolidElement {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- 'sd-5-11-0-badge': SdBadge;
11
+ 'sd-5-12-0-badge': SdBadge;
12
12
  }
13
13
  }
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.JNML5UGI.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.OJBSFCKY.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.SDZ2KQEI.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.76YBBAYM.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -25,7 +25,7 @@ export default class SdBrandshape extends SolidElement {
25
25
  }
26
26
  declare global {
27
27
  interface HTMLElementTagNameMap {
28
- 'sd-5-11-0-brandshape': SdBrandshape;
28
+ 'sd-5-12-0-brandshape': SdBrandshape;
29
29
  }
30
30
  }
31
31
  export {};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.DSDT2XH4.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.OJBSFCKY.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.DQR7QC2V.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.76YBBAYM.js";import"../../chunks/chunk.UWPDCU52.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -22,6 +22,6 @@ export default class SdBreadcrumb extends SolidElement {
22
22
  }
23
23
  declare global {
24
24
  interface HTMLElementTagNameMap {
25
- 'sd-5-11-0-breadcrumb': SdBreadcrumb;
25
+ 'sd-5-12-0-breadcrumb': SdBreadcrumb;
26
26
  }
27
27
  }