@solid-design-system/components 5.8.3 → 5.9.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 (657) hide show
  1. package/cdn/chunks/{chunk.WRWWF5SR.js → chunk.2JZXQAEH.js} +1 -1
  2. package/cdn/chunks/{chunk.UVOF2P3F.js → chunk.2S6PSHGR.js} +1 -1
  3. package/cdn/chunks/{chunk.MQHJFGF3.js → chunk.2YPPKILR.js} +1 -1
  4. package/cdn/chunks/{chunk.XENVET63.js → chunk.3I7Z2ZGA.js} +1 -1
  5. package/cdn/chunks/{chunk.3X7FZERV.js → chunk.3VSEXUCN.js} +1 -1
  6. package/cdn/chunks/{chunk.HWDDP6FC.js → chunk.4GU7BCCI.js} +1 -1
  7. package/cdn/chunks/{chunk.NIOH4J4J.js → chunk.6NART7VP.js} +1 -1
  8. package/cdn/chunks/chunk.7F4BLDO5.js +1 -0
  9. package/cdn/chunks/{chunk.BQ4NXLVV.js → chunk.AD3RLPIJ.js} +1 -1
  10. package/cdn/chunks/{chunk.YQLNNK4Q.js → chunk.AOLFDR44.js} +1 -1
  11. package/cdn/chunks/{chunk.PA4TL5HG.js → chunk.AWLGV3BD.js} +1 -1
  12. package/cdn/chunks/{chunk.XSD65F5G.js → chunk.AXOCHBBU.js} +1 -1
  13. package/cdn/chunks/{chunk.6UCFML4U.js → chunk.B5WOG3GU.js} +5 -2
  14. package/cdn/chunks/chunk.BBD6RMZH.js +10 -0
  15. package/cdn/chunks/{chunk.6YLRQZ5J.js → chunk.BGEMBVJV.js} +1 -1
  16. package/cdn/chunks/{chunk.6HO6CE4A.js → chunk.CGQ2BPPZ.js} +1 -1
  17. package/cdn/chunks/{chunk.7TTIUQTQ.js → chunk.CMIXQ7JH.js} +1 -1
  18. package/cdn/chunks/{chunk.36BKMDE3.js → chunk.CMMWC4RI.js} +1 -1
  19. package/cdn/chunks/{chunk.UJARDPTX.js → chunk.EADKGOFJ.js} +1 -1
  20. package/cdn/chunks/{chunk.KF7KNFPV.js → chunk.ELCOIK5P.js} +1 -1
  21. package/cdn/chunks/{chunk.UN7OFRJA.js → chunk.FA5R7CKW.js} +1 -1
  22. package/cdn/chunks/{chunk.CLX2KDZM.js → chunk.FCFA3AM7.js} +1 -1
  23. package/cdn/chunks/{chunk.GJ3BPOYF.js → chunk.FCYUK5NR.js} +1 -1
  24. package/cdn/chunks/{chunk.AFZTQYJ4.js → chunk.GGXUEKTA.js} +1 -1
  25. package/cdn/chunks/{chunk.I7W3IQFX.js → chunk.GYKZUJLA.js} +1 -1
  26. package/cdn/chunks/{chunk.LDSECTBO.js → chunk.H3RLFSFE.js} +1 -1
  27. package/cdn/chunks/{chunk.YJ4WEMCO.js → chunk.HAFUAYZZ.js} +1 -1
  28. package/cdn/chunks/chunk.HDPQFCGV.js +25 -0
  29. package/cdn/chunks/chunk.ICA5V7JB.js +10 -0
  30. package/cdn/chunks/{chunk.PBWOAOPD.js → chunk.IFNRX7KW.js} +1 -1
  31. package/cdn/chunks/{chunk.QGBIFDJ4.js → chunk.IHA7PGG2.js} +1 -1
  32. package/cdn/chunks/{chunk.XO74MJE7.js → chunk.IRWE4TYN.js} +1 -1
  33. package/cdn/chunks/{chunk.S25ZFL75.js → chunk.JUPXHQZ3.js} +1 -1
  34. package/cdn/chunks/{chunk.VU7XHQIK.js → chunk.KWDCB5GN.js} +1 -1
  35. package/cdn/chunks/{chunk.47BFZOMM.js → chunk.LAFGNWFC.js} +1 -1
  36. package/cdn/chunks/chunk.LDAMQCO2.js +1 -0
  37. package/cdn/chunks/{chunk.TFWBLVB5.js → chunk.LNX7ZKW3.js} +1 -1
  38. package/cdn/chunks/{chunk.VAFYKWJJ.js → chunk.MGVRJCCE.js} +1 -1
  39. package/cdn/chunks/{chunk.A6ESZ6MT.js → chunk.NFHVSI66.js} +1 -1
  40. package/cdn/chunks/{chunk.DMTTKFSK.js → chunk.PQFPJ45Y.js} +1 -1
  41. package/cdn/chunks/{chunk.BRKFW6M6.js → chunk.R2G6FMES.js} +1 -1
  42. package/cdn/chunks/chunk.R4DOCTBU.js +1 -0
  43. package/cdn/chunks/{chunk.TGH3T3HZ.js → chunk.RISDA2AI.js} +1 -1
  44. package/cdn/chunks/{chunk.5RVKMAOS.js → chunk.S53XPYBW.js} +1 -1
  45. package/cdn/chunks/{chunk.PSVOSJB4.js → chunk.SBIDVQ2E.js} +1 -1
  46. package/cdn/chunks/{chunk.DCZSUZQE.js → chunk.SBU6FGLK.js} +1 -1
  47. package/cdn/chunks/chunk.SHKBYZWU.js +1 -0
  48. package/cdn/chunks/{chunk.Q5IBYVVU.js → chunk.U6FV3MPT.js} +1 -1
  49. package/cdn/chunks/chunk.URI32NHH.js +10 -0
  50. package/cdn/chunks/{chunk.NEWXGJ7D.js → chunk.V4CRJJ5B.js} +1 -1
  51. package/cdn/chunks/{chunk.IPPNZ65E.js → chunk.V7ZZFRHA.js} +1 -1
  52. package/cdn/chunks/{chunk.EBYOVEYB.js → chunk.VPGQTCNG.js} +1 -1
  53. package/cdn/chunks/{chunk.SHQ3QFVV.js → chunk.WXLNA4GN.js} +1 -1
  54. package/cdn/chunks/{chunk.NSMJ7MPA.js → chunk.XMUDHBRG.js} +1 -1
  55. package/cdn/chunks/{chunk.525EDN7Z.js → chunk.XRBNH2NJ.js} +1 -1
  56. package/cdn/chunks/{chunk.X5BLXNFT.js → chunk.YOYAMVUH.js} +1 -1
  57. package/cdn/chunks/chunk.YS7YV4KF.js +10 -0
  58. package/cdn/chunks/{chunk.QEN4OBFU.js → chunk.YVTCC5NZ.js} +1 -1
  59. package/cdn/chunks/{chunk.JI5FVFY6.js → chunk.Z4UTG2XJ.js} +1 -1
  60. package/cdn/chunks/{chunk.55MPQWXS.js → chunk.ZBXT5WFZ.js} +1 -1
  61. package/cdn/chunks/chunk.ZOFXN52V.js +3 -0
  62. package/cdn/components/accordion/accordion.js +1 -1
  63. package/cdn/components/accordion-group/accordion-group.js +1 -1
  64. package/cdn/components/animation/animation.js +1 -1
  65. package/cdn/components/audio/audio.js +1 -1
  66. package/cdn/components/badge/badge.js +1 -1
  67. package/cdn/components/brandshape/brandshape.js +1 -1
  68. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  69. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  70. package/cdn/components/button/button.js +1 -1
  71. package/cdn/components/button-group/button-group.js +1 -1
  72. package/cdn/components/carousel/carousel.js +1 -1
  73. package/cdn/components/carousel-item/carousel-item.js +1 -1
  74. package/cdn/components/checkbox/checkbox.js +1 -1
  75. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  76. package/cdn/components/combobox/combobox.js +1 -1
  77. package/cdn/components/dialog/dialog.js +1 -1
  78. package/cdn/components/divider/divider.js +1 -1
  79. package/cdn/components/drawer/drawer.js +1 -1
  80. package/cdn/components/dropdown/dropdown.d.ts +1 -1
  81. package/cdn/components/dropdown/dropdown.js +1 -1
  82. package/cdn/components/expandable/expandable.js +1 -1
  83. package/cdn/components/flipcard/flipcard.js +1 -1
  84. package/cdn/components/header/header.js +1 -1
  85. package/cdn/components/icon/icon.js +1 -1
  86. package/cdn/components/icon/library.internal.d.ts +1 -0
  87. package/cdn/components/icon/library.internal.js +1 -1
  88. package/cdn/components/icon/library.js +1 -1
  89. package/cdn/components/include/include.js +1 -1
  90. package/cdn/components/input/input.js +1 -1
  91. package/cdn/components/link/link.js +1 -1
  92. package/cdn/components/map-marker/map-marker.js +1 -1
  93. package/{dist-versioned/_components → cdn/components}/menu/menu.d.ts +4 -5
  94. package/cdn/components/menu/menu.js +1 -0
  95. package/{cdn-versioned/_components → cdn/components}/menu-item/menu-item.d.ts +10 -3
  96. package/cdn/components/menu-item/menu-item.js +1 -0
  97. package/cdn/components/menu-item/submenu-controller.d.ts +33 -0
  98. package/cdn/components/menu-item/submenu-controller.js +1 -0
  99. package/cdn/components/navigation-item/navigation-item.js +1 -1
  100. package/cdn/components/notification/notification.js +1 -1
  101. package/cdn/components/optgroup/optgroup.js +1 -1
  102. package/cdn/components/option/option.js +1 -1
  103. package/cdn/components/popup/popup.js +1 -1
  104. package/cdn/components/quickfact/quickfact.js +1 -1
  105. package/cdn/components/radio/radio.js +1 -1
  106. package/cdn/components/radio-button/radio-button.js +1 -1
  107. package/cdn/components/radio-group/radio-group.js +1 -1
  108. package/cdn/components/scrollable/scrollable.js +1 -1
  109. package/cdn/components/select/select.js +1 -1
  110. package/cdn/components/spinner/spinner.js +1 -1
  111. package/cdn/components/step/step.js +1 -1
  112. package/cdn/components/step-group/step-group.js +1 -1
  113. package/cdn/components/switch/switch.js +1 -1
  114. package/cdn/components/tab/tab.js +1 -1
  115. package/cdn/components/tab-group/tab-group.js +1 -1
  116. package/cdn/components/tab-panel/tab-panel.js +1 -1
  117. package/cdn/components/tag/tag.js +1 -1
  118. package/cdn/components/teaser/teaser.js +1 -1
  119. package/cdn/components/teaser-media/teaser-media.js +1 -1
  120. package/cdn/components/textarea/textarea.js +1 -1
  121. package/cdn/components/tooltip/tooltip.js +1 -1
  122. package/cdn/components/video/video.js +1 -1
  123. package/cdn/custom-elements.json +488 -2
  124. package/cdn/solid-components.bundle.js +29 -25
  125. package/cdn/solid-components.d.ts +4 -2
  126. package/cdn/solid-components.iife.js +29 -25
  127. package/cdn/solid-components.js +1 -1
  128. package/cdn/utilities/autocomplete-config.js +1 -1
  129. package/cdn/utilities/icon-library.js +1 -1
  130. package/cdn/vscode.html-custom-data.json +65 -0
  131. package/cdn/web-types.json +138 -1
  132. package/cdn-versioned/chunks/{chunk.WRWWF5SR.js → chunk.2JZXQAEH.js} +1 -1
  133. package/cdn-versioned/chunks/{chunk.UVOF2P3F.js → chunk.2S6PSHGR.js} +1 -1
  134. package/cdn-versioned/chunks/{chunk.MQHJFGF3.js → chunk.2YPPKILR.js} +1 -1
  135. package/cdn-versioned/chunks/{chunk.XENVET63.js → chunk.3I7Z2ZGA.js} +1 -1
  136. package/cdn-versioned/chunks/{chunk.3X7FZERV.js → chunk.3VSEXUCN.js} +1 -1
  137. package/cdn-versioned/chunks/{chunk.HWDDP6FC.js → chunk.4GU7BCCI.js} +1 -1
  138. package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
  139. package/cdn-versioned/chunks/{chunk.NIOH4J4J.js → chunk.6NART7VP.js} +1 -1
  140. package/cdn-versioned/chunks/chunk.7F4BLDO5.js +1 -0
  141. package/cdn-versioned/chunks/{chunk.BQ4NXLVV.js → chunk.AD3RLPIJ.js} +1 -1
  142. package/cdn-versioned/chunks/{chunk.YQLNNK4Q.js → chunk.AOLFDR44.js} +1 -1
  143. package/cdn-versioned/chunks/{chunk.PA4TL5HG.js → chunk.AWLGV3BD.js} +1 -1
  144. package/cdn-versioned/chunks/{chunk.XSD65F5G.js → chunk.AXOCHBBU.js} +1 -1
  145. package/cdn-versioned/chunks/{chunk.6UCFML4U.js → chunk.B5WOG3GU.js} +5 -2
  146. package/cdn-versioned/chunks/chunk.BBD6RMZH.js +10 -0
  147. package/cdn-versioned/chunks/{chunk.6YLRQZ5J.js → chunk.BGEMBVJV.js} +1 -1
  148. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  149. package/cdn-versioned/chunks/{chunk.6HO6CE4A.js → chunk.CGQ2BPPZ.js} +1 -1
  150. package/cdn-versioned/chunks/{chunk.7TTIUQTQ.js → chunk.CMIXQ7JH.js} +1 -1
  151. package/cdn-versioned/chunks/{chunk.36BKMDE3.js → chunk.CMMWC4RI.js} +1 -1
  152. package/cdn-versioned/chunks/{chunk.UJARDPTX.js → chunk.EADKGOFJ.js} +1 -1
  153. package/cdn-versioned/chunks/{chunk.KF7KNFPV.js → chunk.ELCOIK5P.js} +1 -1
  154. package/cdn-versioned/chunks/{chunk.UN7OFRJA.js → chunk.FA5R7CKW.js} +1 -1
  155. package/cdn-versioned/chunks/{chunk.CLX2KDZM.js → chunk.FCFA3AM7.js} +1 -1
  156. package/cdn-versioned/chunks/{chunk.GJ3BPOYF.js → chunk.FCYUK5NR.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.AFZTQYJ4.js → chunk.GGXUEKTA.js} +4 -4
  158. package/cdn-versioned/chunks/{chunk.I7W3IQFX.js → chunk.GYKZUJLA.js} +1 -1
  159. package/cdn-versioned/chunks/{chunk.LDSECTBO.js → chunk.H3RLFSFE.js} +4 -4
  160. package/cdn-versioned/chunks/{chunk.YJ4WEMCO.js → chunk.HAFUAYZZ.js} +1 -1
  161. package/cdn-versioned/chunks/chunk.HDPQFCGV.js +25 -0
  162. package/cdn-versioned/chunks/chunk.ICA5V7JB.js +10 -0
  163. package/cdn-versioned/chunks/{chunk.PBWOAOPD.js → chunk.IFNRX7KW.js} +1 -1
  164. package/cdn-versioned/chunks/{chunk.QGBIFDJ4.js → chunk.IHA7PGG2.js} +1 -1
  165. package/cdn-versioned/chunks/{chunk.XO74MJE7.js → chunk.IRWE4TYN.js} +1 -1
  166. package/cdn-versioned/chunks/{chunk.S25ZFL75.js → chunk.JUPXHQZ3.js} +1 -1
  167. package/cdn-versioned/chunks/{chunk.VU7XHQIK.js → chunk.KWDCB5GN.js} +1 -1
  168. package/cdn-versioned/chunks/{chunk.47BFZOMM.js → chunk.LAFGNWFC.js} +1 -1
  169. package/cdn-versioned/chunks/chunk.LDAMQCO2.js +1 -0
  170. package/cdn-versioned/chunks/{chunk.TFWBLVB5.js → chunk.LNX7ZKW3.js} +1 -1
  171. package/cdn-versioned/chunks/{chunk.VAFYKWJJ.js → chunk.MGVRJCCE.js} +1 -1
  172. package/cdn-versioned/chunks/{chunk.A6ESZ6MT.js → chunk.NFHVSI66.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.DMTTKFSK.js → chunk.PQFPJ45Y.js} +1 -1
  174. package/cdn-versioned/chunks/{chunk.BRKFW6M6.js → chunk.R2G6FMES.js} +2 -2
  175. package/cdn-versioned/chunks/chunk.R4DOCTBU.js +1 -0
  176. package/cdn-versioned/chunks/{chunk.TGH3T3HZ.js → chunk.RISDA2AI.js} +1 -1
  177. package/cdn-versioned/chunks/{chunk.5RVKMAOS.js → chunk.S53XPYBW.js} +1 -1
  178. package/cdn-versioned/chunks/{chunk.PSVOSJB4.js → chunk.SBIDVQ2E.js} +1 -1
  179. package/cdn-versioned/chunks/{chunk.DCZSUZQE.js → chunk.SBU6FGLK.js} +1 -1
  180. package/cdn-versioned/chunks/chunk.SHKBYZWU.js +1 -0
  181. package/cdn-versioned/chunks/{chunk.Q5IBYVVU.js → chunk.U6FV3MPT.js} +4 -4
  182. package/cdn-versioned/chunks/chunk.URI32NHH.js +10 -0
  183. package/cdn-versioned/chunks/{chunk.NEWXGJ7D.js → chunk.V4CRJJ5B.js} +1 -1
  184. package/cdn-versioned/chunks/{chunk.IPPNZ65E.js → chunk.V7ZZFRHA.js} +1 -1
  185. package/cdn-versioned/chunks/{chunk.EBYOVEYB.js → chunk.VPGQTCNG.js} +1 -1
  186. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  187. package/cdn-versioned/chunks/{chunk.SHQ3QFVV.js → chunk.WXLNA4GN.js} +1 -1
  188. package/cdn-versioned/chunks/{chunk.NSMJ7MPA.js → chunk.XMUDHBRG.js} +1 -1
  189. package/cdn-versioned/chunks/{chunk.525EDN7Z.js → chunk.XRBNH2NJ.js} +1 -1
  190. package/cdn-versioned/chunks/{chunk.X5BLXNFT.js → chunk.YOYAMVUH.js} +1 -1
  191. package/cdn-versioned/chunks/chunk.YS7YV4KF.js +10 -0
  192. package/cdn-versioned/chunks/{chunk.QEN4OBFU.js → chunk.YVTCC5NZ.js} +1 -1
  193. package/cdn-versioned/chunks/{chunk.JI5FVFY6.js → chunk.Z4UTG2XJ.js} +1 -1
  194. package/cdn-versioned/chunks/{chunk.55MPQWXS.js → chunk.ZBXT5WFZ.js} +1 -1
  195. package/cdn-versioned/chunks/chunk.ZOFXN52V.js +3 -0
  196. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  197. package/cdn-versioned/components/accordion/accordion.js +1 -1
  198. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  199. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  200. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  201. package/cdn-versioned/components/animation/animation.js +1 -1
  202. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  203. package/cdn-versioned/components/audio/audio.js +1 -1
  204. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  205. package/cdn-versioned/components/badge/badge.js +1 -1
  206. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  207. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  208. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  209. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  210. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  211. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  212. package/cdn-versioned/components/button/button.d.ts +1 -1
  213. package/cdn-versioned/components/button/button.js +1 -1
  214. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  215. package/cdn-versioned/components/button-group/button-group.js +1 -1
  216. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  217. package/cdn-versioned/components/carousel/carousel.js +1 -1
  218. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  219. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  220. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  221. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  222. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  223. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  224. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  225. package/cdn-versioned/components/combobox/combobox.js +1 -1
  226. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  227. package/cdn-versioned/components/dialog/dialog.js +1 -1
  228. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  229. package/cdn-versioned/components/divider/divider.js +1 -1
  230. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  231. package/cdn-versioned/components/drawer/drawer.js +1 -1
  232. package/cdn-versioned/components/dropdown/dropdown.d.ts +2 -2
  233. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  234. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  235. package/cdn-versioned/components/expandable/expandable.js +1 -1
  236. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  237. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  238. package/cdn-versioned/components/header/header.d.ts +1 -1
  239. package/cdn-versioned/components/header/header.js +1 -1
  240. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  241. package/cdn-versioned/components/icon/icon.js +1 -1
  242. package/cdn-versioned/components/icon/library.internal.d.ts +1 -0
  243. package/cdn-versioned/components/icon/library.internal.js +1 -1
  244. package/cdn-versioned/components/icon/library.js +1 -1
  245. package/cdn-versioned/components/include/include.d.ts +1 -1
  246. package/cdn-versioned/components/include/include.js +1 -1
  247. package/cdn-versioned/components/input/input.d.ts +1 -1
  248. package/cdn-versioned/components/input/input.js +1 -1
  249. package/cdn-versioned/components/link/link.d.ts +1 -1
  250. package/cdn-versioned/components/link/link.js +1 -1
  251. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  252. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  253. package/{dist/_components → cdn-versioned/components}/menu/menu.d.ts +5 -6
  254. package/cdn-versioned/components/menu/menu.js +1 -0
  255. package/{cdn/_components → cdn-versioned/components}/menu-item/menu-item.d.ts +11 -4
  256. package/cdn-versioned/components/menu-item/menu-item.js +1 -0
  257. package/cdn-versioned/components/menu-item/submenu-controller.d.ts +33 -0
  258. package/cdn-versioned/components/menu-item/submenu-controller.js +1 -0
  259. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  260. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  261. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  262. package/cdn-versioned/components/notification/notification.js +1 -1
  263. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  264. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  265. package/cdn-versioned/components/option/option.d.ts +1 -1
  266. package/cdn-versioned/components/option/option.js +1 -1
  267. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  268. package/cdn-versioned/components/popup/popup.js +1 -1
  269. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  270. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  271. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  272. package/cdn-versioned/components/radio/radio.js +1 -1
  273. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  274. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  275. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  276. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  277. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  278. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  279. package/cdn-versioned/components/select/select.d.ts +1 -1
  280. package/cdn-versioned/components/select/select.js +1 -1
  281. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  282. package/cdn-versioned/components/spinner/spinner.js +1 -1
  283. package/cdn-versioned/components/step/step.d.ts +1 -1
  284. package/cdn-versioned/components/step/step.js +1 -1
  285. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  286. package/cdn-versioned/components/step-group/step-group.js +1 -1
  287. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  288. package/cdn-versioned/components/switch/switch.js +1 -1
  289. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  290. package/cdn-versioned/components/tab/tab.js +1 -1
  291. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  292. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  293. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  294. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  295. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  296. package/cdn-versioned/components/tag/tag.js +1 -1
  297. package/cdn-versioned/components/teaser/teaser.js +1 -1
  298. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  299. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  300. package/cdn-versioned/components/textarea/textarea.js +1 -1
  301. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  302. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  303. package/cdn-versioned/components/video/video.d.ts +1 -1
  304. package/cdn-versioned/components/video/video.js +1 -1
  305. package/cdn-versioned/custom-elements.json +705 -219
  306. package/cdn-versioned/internal/form.js +3 -3
  307. package/cdn-versioned/solid-components.bundle.js +31 -27
  308. package/cdn-versioned/solid-components.css +2 -2
  309. package/cdn-versioned/solid-components.d.ts +4 -2
  310. package/cdn-versioned/solid-components.iife.js +31 -27
  311. package/cdn-versioned/solid-components.js +1 -1
  312. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  313. package/cdn-versioned/utilities/icon-library.js +1 -1
  314. package/cdn-versioned/vscode.html-custom-data.json +149 -84
  315. package/cdn-versioned/web-types.json +279 -142
  316. package/dist/chunks/{chunk.HM3LCNHO.js → chunk.2VDSJ75Q.js} +2 -2
  317. package/dist/chunks/{chunk.S6JOYZFA.js → chunk.3JIBD4DC.js} +1 -1
  318. package/dist/chunks/{chunk.LWXZJIRQ.js → chunk.3PUMOBIO.js} +1 -1
  319. package/dist/chunks/{chunk.XVD3XEUF.js → chunk.47VXT6XF.js} +1 -1
  320. package/dist/chunks/{chunk.2AJD3JJI.js → chunk.4Z5MLLDU.js} +1 -1
  321. package/dist/chunks/{chunk.EXH7DCD2.js → chunk.5UQ6EJAW.js} +1 -1
  322. package/dist/chunks/{chunk.PQWYZXV6.js → chunk.5XKGAQGU.js} +2 -2
  323. package/dist/chunks/{chunk.5XMZ6WXX.js → chunk.6ID5BKH5.js} +1 -1
  324. package/dist/chunks/{chunk.O73ZT3UW.js → chunk.6SZYSES2.js} +1 -1
  325. package/dist/chunks/{chunk.5DAXULFD.js → chunk.7EMNYFIP.js} +2 -2
  326. package/dist/chunks/{chunk.X2MHTR7J.js → chunk.7VIYCZ4Z.js} +1 -1
  327. package/dist/chunks/{chunk.OT7LAUQS.js → chunk.7ZISZOWN.js} +1 -1
  328. package/dist/chunks/{chunk.FGJ7DRXJ.js → chunk.AQKWXHIC.js} +2 -2
  329. package/dist/chunks/{chunk.45HZJPE2.js → chunk.BK4CYVLA.js} +1 -1
  330. package/dist/chunks/{chunk.V6V6VOCS.js → chunk.EIUEZZ5G.js} +2 -2
  331. package/dist/chunks/{chunk.HKYEM2KT.js → chunk.EO5MCLIR.js} +2 -2
  332. package/dist/chunks/{chunk.SS3CZ5NU.js → chunk.FDUVN4I6.js} +2 -2
  333. package/dist/chunks/{chunk.2S3WUQ6C.js → chunk.FFAUGMVF.js} +1 -1
  334. package/dist/chunks/{chunk.A53JZAAA.js → chunk.FUGGYSQF.js} +2 -2
  335. package/dist/chunks/{chunk.UBWROOYD.js → chunk.I6NQOQEO.js} +2 -2
  336. package/dist/chunks/{chunk.KZMSCSWH.js → chunk.IIYSG3NP.js} +1 -1
  337. package/{dist-versioned/chunks/chunk.YEZS5ZR2.js → dist/chunks/chunk.IVMQWO2L.js} +15 -1
  338. package/dist/chunks/{chunk.E7EV2RDK.js → chunk.J5E5UTG2.js} +1 -1
  339. package/dist/chunks/chunk.JJTGSFOV.js +145 -0
  340. package/dist/chunks/{chunk.DHRBNSPZ.js → chunk.JUUDZ47Q.js} +1 -1
  341. package/dist/chunks/chunk.KEJFWGZI.js +229 -0
  342. package/dist/chunks/{chunk.6FBOYPMX.js → chunk.KFVC6XFD.js} +2 -2
  343. package/dist/chunks/{chunk.FKBZQOFQ.js → chunk.MEDUZPGV.js} +2 -2
  344. package/dist/chunks/{chunk.FZ6HADPO.js → chunk.MEHX7EVL.js} +1 -1
  345. package/dist/chunks/{chunk.3D4DMXRR.js → chunk.MQ5VT5VP.js} +2 -2
  346. package/dist/chunks/{chunk.7VREM4PD.js → chunk.N3MU3643.js} +1 -1
  347. package/dist/chunks/{chunk.J44XCBXL.js → chunk.N7WBIQUG.js} +1 -1
  348. package/dist/chunks/{chunk.UVVLW7XN.js → chunk.P4UKJXBL.js} +1 -1
  349. package/dist/chunks/chunk.PP5IDYES.js +82 -0
  350. package/dist/chunks/{chunk.TLWBSIPQ.js → chunk.QS7N47CI.js} +1 -1
  351. package/dist/chunks/{chunk.R6GZBBBT.js → chunk.R2XG3O7O.js} +2 -2
  352. package/dist/chunks/chunk.RGFFEJMJ.js +153 -0
  353. package/dist/chunks/{chunk.IENME46S.js → chunk.SGJGJL45.js} +1 -1
  354. package/dist/chunks/{chunk.OYDC3KOZ.js → chunk.SW6AKO54.js} +3 -3
  355. package/dist/chunks/{chunk.LMZP2HEH.js → chunk.TQMYNSM4.js} +1 -1
  356. package/dist/chunks/{chunk.XEXGLMT2.js → chunk.TWDHTS5K.js} +1 -1
  357. package/dist/chunks/{chunk.WHHDXLGX.js → chunk.TX6S5UVP.js} +1 -1
  358. package/dist/chunks/{chunk.N3IMBUNL.js → chunk.UAADOLK5.js} +1 -1
  359. package/dist/chunks/{chunk.EZQDEKUU.js → chunk.UJHYOR23.js} +2 -2
  360. package/dist/chunks/{chunk.UVEPG25K.js → chunk.UJHYUCHT.js} +2 -2
  361. package/dist/chunks/{chunk.E33JBIRB.js → chunk.UQ55GFI3.js} +2 -2
  362. package/dist/chunks/{chunk.VPMSIODG.js → chunk.VFG2SXVE.js} +1 -1
  363. package/dist/chunks/{chunk.P2GSSESB.js → chunk.WEUFN5UU.js} +2 -2
  364. package/dist/chunks/{chunk.LH3FOXUD.js → chunk.WL7EGHGP.js} +1 -1
  365. package/dist/chunks/{chunk.NRFL4RBI.js → chunk.WSEY3LJE.js} +1 -1
  366. package/dist/chunks/{chunk.KORSEOQ4.js → chunk.XKFVXICF.js} +2 -2
  367. package/dist/chunks/{chunk.FZ6CB77Z.js → chunk.YGVCQCO4.js} +1 -1
  368. package/dist/chunks/{chunk.2NLXYDHQ.js → chunk.YRFRBXRK.js} +2 -2
  369. package/dist/chunks/{chunk.5UKTWIKN.js → chunk.ZCI47J45.js} +1 -1
  370. package/dist/chunks/{chunk.5GRW5ZMD.js → chunk.ZF7CPAC2.js} +2 -2
  371. package/dist/chunks/{chunk.5RE63XH3.js → chunk.ZSZ2IB2L.js} +2 -2
  372. package/dist/chunks/{chunk.PQDBG4AZ.js → chunk.ZVLZ6XOK.js} +2 -2
  373. package/{dist-versioned/chunks/chunk.Z7IN7NPU.js → dist/chunks/chunk.ZYF25H5G.js} +5 -1
  374. package/dist/components/accordion/accordion.js +5 -5
  375. package/dist/components/accordion-group/accordion-group.js +6 -6
  376. package/dist/components/animation/animation.js +2 -2
  377. package/dist/components/audio/audio.js +9 -9
  378. package/dist/components/badge/badge.js +2 -2
  379. package/dist/components/brandshape/brandshape.js +2 -2
  380. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  381. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  382. package/dist/components/button/button.js +4 -4
  383. package/dist/components/button-group/button-group.js +2 -2
  384. package/dist/components/carousel/carousel.js +6 -6
  385. package/dist/components/carousel-item/carousel-item.js +2 -2
  386. package/dist/components/checkbox/checkbox.js +5 -5
  387. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  388. package/dist/components/combobox/combobox.js +8 -8
  389. package/dist/components/dialog/dialog.js +8 -8
  390. package/dist/components/divider/divider.js +2 -2
  391. package/dist/components/drawer/drawer.js +8 -8
  392. package/dist/components/dropdown/dropdown.d.ts +1 -1
  393. package/dist/components/dropdown/dropdown.js +3 -3
  394. package/dist/components/expandable/expandable.js +5 -5
  395. package/dist/components/flipcard/flipcard.js +8 -8
  396. package/dist/components/header/header.js +2 -2
  397. package/dist/components/icon/icon.js +4 -4
  398. package/dist/components/icon/library.internal.d.ts +1 -0
  399. package/dist/components/icon/library.internal.js +1 -1
  400. package/dist/components/icon/library.js +2 -2
  401. package/dist/components/include/include.js +2 -2
  402. package/dist/components/input/input.js +6 -6
  403. package/dist/components/link/link.js +3 -3
  404. package/dist/components/map-marker/map-marker.js +2 -2
  405. package/{cdn-versioned/_components → dist/components}/menu/menu.d.ts +4 -5
  406. package/dist/components/menu/menu.js +12 -0
  407. package/{dist-versioned/_components → dist/components}/menu-item/menu-item.d.ts +10 -3
  408. package/dist/components/menu-item/menu-item.js +12 -0
  409. package/dist/components/menu-item/submenu-controller.d.ts +33 -0
  410. package/dist/components/menu-item/submenu-controller.js +7 -0
  411. package/dist/components/navigation-item/navigation-item.js +7 -7
  412. package/dist/components/notification/notification.js +8 -8
  413. package/dist/components/optgroup/optgroup.js +3 -3
  414. package/dist/components/option/option.js +6 -6
  415. package/dist/components/popup/popup.js +2 -2
  416. package/dist/components/quickfact/quickfact.js +6 -6
  417. package/dist/components/radio/radio.js +2 -2
  418. package/dist/components/radio-button/radio-button.js +3 -3
  419. package/dist/components/radio-group/radio-group.js +5 -5
  420. package/dist/components/scrollable/scrollable.js +5 -5
  421. package/dist/components/select/select.js +8 -8
  422. package/dist/components/spinner/spinner.js +2 -2
  423. package/dist/components/step/step.js +6 -6
  424. package/dist/components/step-group/step-group.js +2 -2
  425. package/dist/components/switch/switch.js +2 -2
  426. package/dist/components/tab/tab.js +3 -3
  427. package/dist/components/tab-group/tab-group.js +5 -5
  428. package/dist/components/tab-panel/tab-panel.js +2 -2
  429. package/dist/components/tag/tag.js +5 -5
  430. package/dist/components/teaser/teaser.js +3 -3
  431. package/dist/components/teaser-media/teaser-media.js +3 -3
  432. package/dist/components/textarea/textarea.js +6 -6
  433. package/dist/components/tooltip/tooltip.js +6 -6
  434. package/dist/components/video/video.js +6 -6
  435. package/dist/custom-elements.json +488 -2
  436. package/dist/solid-components.d.ts +4 -2
  437. package/dist/solid-components.js +78 -69
  438. package/dist/utilities/autocomplete-config.js +2 -2
  439. package/dist/utilities/icon-library.js +2 -2
  440. package/dist/vscode.html-custom-data.json +65 -0
  441. package/dist/web-types.json +138 -1
  442. package/dist-versioned/chunks/{chunk.HM3LCNHO.js → chunk.2VDSJ75Q.js} +4 -4
  443. package/dist-versioned/chunks/{chunk.S6JOYZFA.js → chunk.3JIBD4DC.js} +5 -5
  444. package/dist-versioned/chunks/{chunk.LWXZJIRQ.js → chunk.3PUMOBIO.js} +2 -2
  445. package/dist-versioned/chunks/{chunk.XVD3XEUF.js → chunk.47VXT6XF.js} +3 -3
  446. package/dist-versioned/chunks/{chunk.2AJD3JJI.js → chunk.4Z5MLLDU.js} +3 -3
  447. package/dist-versioned/chunks/{chunk.EXH7DCD2.js → chunk.5UQ6EJAW.js} +2 -2
  448. package/dist-versioned/chunks/{chunk.PQWYZXV6.js → chunk.5XKGAQGU.js} +28 -28
  449. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  450. package/dist-versioned/chunks/{chunk.5XMZ6WXX.js → chunk.6ID5BKH5.js} +3 -3
  451. package/dist-versioned/chunks/{chunk.O73ZT3UW.js → chunk.6SZYSES2.js} +2 -2
  452. package/dist-versioned/chunks/{chunk.5DAXULFD.js → chunk.7EMNYFIP.js} +3 -3
  453. package/dist-versioned/chunks/{chunk.X2MHTR7J.js → chunk.7VIYCZ4Z.js} +15 -15
  454. package/dist-versioned/chunks/{chunk.OT7LAUQS.js → chunk.7ZISZOWN.js} +3 -3
  455. package/dist-versioned/chunks/{chunk.FGJ7DRXJ.js → chunk.AQKWXHIC.js} +4 -4
  456. package/dist-versioned/chunks/{chunk.45HZJPE2.js → chunk.BK4CYVLA.js} +3 -3
  457. package/dist-versioned/chunks/{chunk.V6V6VOCS.js → chunk.EIUEZZ5G.js} +14 -14
  458. package/dist-versioned/chunks/{chunk.HKYEM2KT.js → chunk.EO5MCLIR.js} +4 -4
  459. package/dist-versioned/chunks/{chunk.SS3CZ5NU.js → chunk.FDUVN4I6.js} +8 -8
  460. package/dist-versioned/chunks/{chunk.2S3WUQ6C.js → chunk.FFAUGMVF.js} +4 -4
  461. package/dist-versioned/chunks/{chunk.A53JZAAA.js → chunk.FUGGYSQF.js} +8 -8
  462. package/dist-versioned/chunks/{chunk.UBWROOYD.js → chunk.I6NQOQEO.js} +5 -5
  463. package/dist-versioned/chunks/{chunk.KZMSCSWH.js → chunk.IIYSG3NP.js} +1 -1
  464. package/{dist/chunks/chunk.YEZS5ZR2.js → dist-versioned/chunks/chunk.IVMQWO2L.js} +15 -1
  465. package/dist-versioned/chunks/{chunk.E7EV2RDK.js → chunk.J5E5UTG2.js} +2 -2
  466. package/dist-versioned/chunks/chunk.JJTGSFOV.js +145 -0
  467. package/dist-versioned/chunks/{chunk.DHRBNSPZ.js → chunk.JUUDZ47Q.js} +2 -2
  468. package/dist-versioned/chunks/chunk.KEJFWGZI.js +229 -0
  469. package/dist-versioned/chunks/{chunk.6FBOYPMX.js → chunk.KFVC6XFD.js} +4 -4
  470. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  471. package/dist-versioned/chunks/{chunk.FKBZQOFQ.js → chunk.MEDUZPGV.js} +6 -6
  472. package/dist-versioned/chunks/{chunk.FZ6HADPO.js → chunk.MEHX7EVL.js} +4 -4
  473. package/dist-versioned/chunks/{chunk.3D4DMXRR.js → chunk.MQ5VT5VP.js} +4 -4
  474. package/dist-versioned/chunks/{chunk.7VREM4PD.js → chunk.N3MU3643.js} +2 -2
  475. package/dist-versioned/chunks/{chunk.J44XCBXL.js → chunk.N7WBIQUG.js} +6 -6
  476. package/dist-versioned/chunks/{chunk.UVVLW7XN.js → chunk.P4UKJXBL.js} +4 -4
  477. package/dist-versioned/chunks/chunk.PP5IDYES.js +82 -0
  478. package/dist-versioned/chunks/{chunk.TLWBSIPQ.js → chunk.QS7N47CI.js} +7 -7
  479. package/dist-versioned/chunks/{chunk.R6GZBBBT.js → chunk.R2XG3O7O.js} +3 -3
  480. package/dist-versioned/chunks/chunk.RGFFEJMJ.js +153 -0
  481. package/dist-versioned/chunks/{chunk.IENME46S.js → chunk.SGJGJL45.js} +6 -6
  482. package/dist-versioned/chunks/{chunk.OYDC3KOZ.js → chunk.SW6AKO54.js} +15 -15
  483. package/dist-versioned/chunks/{chunk.LMZP2HEH.js → chunk.TQMYNSM4.js} +2 -2
  484. package/dist-versioned/chunks/{chunk.XEXGLMT2.js → chunk.TWDHTS5K.js} +2 -2
  485. package/dist-versioned/chunks/{chunk.WHHDXLGX.js → chunk.TX6S5UVP.js} +12 -12
  486. package/dist-versioned/chunks/{chunk.N3IMBUNL.js → chunk.UAADOLK5.js} +2 -2
  487. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  488. package/dist-versioned/chunks/{chunk.EZQDEKUU.js → chunk.UJHYOR23.js} +7 -7
  489. package/dist-versioned/chunks/{chunk.UVEPG25K.js → chunk.UJHYUCHT.js} +4 -4
  490. package/dist-versioned/chunks/{chunk.E33JBIRB.js → chunk.UQ55GFI3.js} +5 -5
  491. package/dist-versioned/chunks/{chunk.VPMSIODG.js → chunk.VFG2SXVE.js} +9 -9
  492. package/dist-versioned/chunks/{chunk.P2GSSESB.js → chunk.WEUFN5UU.js} +26 -26
  493. package/dist-versioned/chunks/{chunk.LH3FOXUD.js → chunk.WL7EGHGP.js} +3 -3
  494. package/dist-versioned/chunks/{chunk.NRFL4RBI.js → chunk.WSEY3LJE.js} +5 -5
  495. package/dist-versioned/chunks/{chunk.KORSEOQ4.js → chunk.XKFVXICF.js} +5 -5
  496. package/dist-versioned/chunks/{chunk.FZ6CB77Z.js → chunk.YGVCQCO4.js} +3 -3
  497. package/dist-versioned/chunks/{chunk.2NLXYDHQ.js → chunk.YRFRBXRK.js} +3 -3
  498. package/dist-versioned/chunks/{chunk.5UKTWIKN.js → chunk.ZCI47J45.js} +2 -2
  499. package/dist-versioned/chunks/{chunk.5GRW5ZMD.js → chunk.ZF7CPAC2.js} +7 -7
  500. package/dist-versioned/chunks/{chunk.5RE63XH3.js → chunk.ZSZ2IB2L.js} +4 -4
  501. package/dist-versioned/chunks/{chunk.PQDBG4AZ.js → chunk.ZVLZ6XOK.js} +4 -4
  502. package/{dist/chunks/chunk.Z7IN7NPU.js → dist-versioned/chunks/chunk.ZYF25H5G.js} +5 -1
  503. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  504. package/dist-versioned/components/accordion/accordion.js +5 -5
  505. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  506. package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
  507. package/dist-versioned/components/animation/animation.d.ts +1 -1
  508. package/dist-versioned/components/animation/animation.js +2 -2
  509. package/dist-versioned/components/audio/audio.d.ts +1 -1
  510. package/dist-versioned/components/audio/audio.js +9 -9
  511. package/dist-versioned/components/badge/badge.d.ts +1 -1
  512. package/dist-versioned/components/badge/badge.js +2 -2
  513. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  514. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  515. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  516. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  517. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  518. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  519. package/dist-versioned/components/button/button.d.ts +1 -1
  520. package/dist-versioned/components/button/button.js +4 -4
  521. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  522. package/dist-versioned/components/button-group/button-group.js +2 -2
  523. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  524. package/dist-versioned/components/carousel/carousel.js +6 -6
  525. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  526. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  527. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  528. package/dist-versioned/components/checkbox/checkbox.js +5 -5
  529. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  530. package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
  531. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  532. package/dist-versioned/components/combobox/combobox.js +8 -8
  533. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  534. package/dist-versioned/components/dialog/dialog.js +8 -8
  535. package/dist-versioned/components/divider/divider.d.ts +1 -1
  536. package/dist-versioned/components/divider/divider.js +2 -2
  537. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  538. package/dist-versioned/components/drawer/drawer.js +8 -8
  539. package/dist-versioned/components/dropdown/dropdown.d.ts +2 -2
  540. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  541. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  542. package/dist-versioned/components/expandable/expandable.js +5 -5
  543. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  544. package/dist-versioned/components/flipcard/flipcard.js +8 -8
  545. package/dist-versioned/components/header/header.d.ts +1 -1
  546. package/dist-versioned/components/header/header.js +2 -2
  547. package/dist-versioned/components/icon/icon.d.ts +1 -1
  548. package/dist-versioned/components/icon/icon.js +4 -4
  549. package/dist-versioned/components/icon/library.internal.d.ts +1 -0
  550. package/dist-versioned/components/icon/library.internal.js +1 -1
  551. package/dist-versioned/components/icon/library.js +2 -2
  552. package/dist-versioned/components/include/include.d.ts +1 -1
  553. package/dist-versioned/components/include/include.js +2 -2
  554. package/dist-versioned/components/input/input.d.ts +1 -1
  555. package/dist-versioned/components/input/input.js +6 -6
  556. package/dist-versioned/components/link/link.d.ts +1 -1
  557. package/dist-versioned/components/link/link.js +3 -3
  558. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  559. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  560. package/{cdn/_components → dist-versioned/components}/menu/menu.d.ts +5 -6
  561. package/dist-versioned/components/menu/menu.js +12 -0
  562. package/{dist/_components → dist-versioned/components}/menu-item/menu-item.d.ts +11 -4
  563. package/dist-versioned/components/menu-item/menu-item.js +12 -0
  564. package/dist-versioned/components/menu-item/submenu-controller.d.ts +33 -0
  565. package/dist-versioned/components/menu-item/submenu-controller.js +7 -0
  566. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  567. package/dist-versioned/components/navigation-item/navigation-item.js +7 -7
  568. package/dist-versioned/components/notification/notification.d.ts +1 -1
  569. package/dist-versioned/components/notification/notification.js +8 -8
  570. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  571. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  572. package/dist-versioned/components/option/option.d.ts +1 -1
  573. package/dist-versioned/components/option/option.js +6 -6
  574. package/dist-versioned/components/popup/popup.d.ts +1 -1
  575. package/dist-versioned/components/popup/popup.js +2 -2
  576. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  577. package/dist-versioned/components/quickfact/quickfact.js +6 -6
  578. package/dist-versioned/components/radio/radio.d.ts +1 -1
  579. package/dist-versioned/components/radio/radio.js +2 -2
  580. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  581. package/dist-versioned/components/radio-button/radio-button.js +3 -3
  582. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  583. package/dist-versioned/components/radio-group/radio-group.js +5 -5
  584. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  585. package/dist-versioned/components/scrollable/scrollable.js +5 -5
  586. package/dist-versioned/components/select/select.d.ts +1 -1
  587. package/dist-versioned/components/select/select.js +8 -8
  588. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  589. package/dist-versioned/components/spinner/spinner.js +2 -2
  590. package/dist-versioned/components/step/step.d.ts +1 -1
  591. package/dist-versioned/components/step/step.js +6 -6
  592. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  593. package/dist-versioned/components/step-group/step-group.js +2 -2
  594. package/dist-versioned/components/switch/switch.d.ts +1 -1
  595. package/dist-versioned/components/switch/switch.js +2 -2
  596. package/dist-versioned/components/tab/tab.d.ts +1 -1
  597. package/dist-versioned/components/tab/tab.js +3 -3
  598. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  599. package/dist-versioned/components/tab-group/tab-group.js +5 -5
  600. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  601. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  602. package/dist-versioned/components/tag/tag.d.ts +1 -1
  603. package/dist-versioned/components/tag/tag.js +5 -5
  604. package/dist-versioned/components/teaser/teaser.js +3 -3
  605. package/dist-versioned/components/teaser-media/teaser-media.js +3 -3
  606. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  607. package/dist-versioned/components/textarea/textarea.js +6 -6
  608. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  609. package/dist-versioned/components/tooltip/tooltip.js +6 -6
  610. package/dist-versioned/components/video/video.d.ts +1 -1
  611. package/dist-versioned/components/video/video.js +6 -6
  612. package/dist-versioned/custom-elements.json +705 -219
  613. package/dist-versioned/internal/form.js +3 -3
  614. package/dist-versioned/solid-components.css +2 -2
  615. package/dist-versioned/solid-components.d.ts +4 -2
  616. package/dist-versioned/solid-components.js +78 -69
  617. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  618. package/dist-versioned/utilities/icon-library.js +2 -2
  619. package/dist-versioned/vscode.html-custom-data.json +149 -84
  620. package/dist-versioned/web-types.json +279 -142
  621. package/package.json +3 -3
  622. package/cdn/_components/menu/menu.js +0 -117
  623. package/cdn/_components/menu/menu.styles.d.ts +0 -2
  624. package/cdn/_components/menu/menu.styles.js +0 -17
  625. package/cdn/_components/menu-item/menu-item.js +0 -123
  626. package/cdn/_components/menu-item/menu-item.styles.d.ts +0 -2
  627. package/cdn/_components/menu-item/menu-item.styles.js +0 -97
  628. package/cdn/chunks/chunk.5XTSQKKL.js +0 -11
  629. package/cdn/chunks/chunk.CNAHHN23.js +0 -10
  630. package/cdn/chunks/chunk.KV6KJCPR.js +0 -3
  631. package/cdn/chunks/chunk.UITPASIM.js +0 -1
  632. package/cdn/chunks/chunk.V55KCNZK.js +0 -25
  633. package/cdn-versioned/_components/menu/menu.js +0 -117
  634. package/cdn-versioned/_components/menu/menu.styles.d.ts +0 -2
  635. package/cdn-versioned/_components/menu/menu.styles.js +0 -17
  636. package/cdn-versioned/_components/menu-item/menu-item.js +0 -123
  637. package/cdn-versioned/_components/menu-item/menu-item.styles.d.ts +0 -2
  638. package/cdn-versioned/_components/menu-item/menu-item.styles.js +0 -97
  639. package/cdn-versioned/chunks/chunk.5XTSQKKL.js +0 -11
  640. package/cdn-versioned/chunks/chunk.CNAHHN23.js +0 -10
  641. package/cdn-versioned/chunks/chunk.KV6KJCPR.js +0 -3
  642. package/cdn-versioned/chunks/chunk.UITPASIM.js +0 -1
  643. package/cdn-versioned/chunks/chunk.V55KCNZK.js +0 -25
  644. package/dist/_components/menu/menu.js +0 -117
  645. package/dist/_components/menu/menu.styles.d.ts +0 -2
  646. package/dist/_components/menu/menu.styles.js +0 -17
  647. package/dist/_components/menu-item/menu-item.js +0 -123
  648. package/dist/_components/menu-item/menu-item.styles.d.ts +0 -2
  649. package/dist/_components/menu-item/menu-item.styles.js +0 -97
  650. package/dist/chunks/chunk.HY3LORT5.js +0 -82
  651. package/dist-versioned/_components/menu/menu.js +0 -117
  652. package/dist-versioned/_components/menu/menu.styles.d.ts +0 -2
  653. package/dist-versioned/_components/menu/menu.styles.js +0 -17
  654. package/dist-versioned/_components/menu-item/menu-item.js +0 -123
  655. package/dist-versioned/_components/menu-item/menu-item.styles.d.ts +0 -2
  656. package/dist-versioned/_components/menu-item/menu-item.styles.js +0 -97
  657. package/dist-versioned/chunks/chunk.HY3LORT5.js +0 -82
@@ -1 +1 @@
1
- import"./chunks/chunk.HAL7R4WT.js";import{a as K}from"./chunks/chunk.GJ3BPOYF.js";import{a as U}from"./chunks/chunk.DMTTKFSK.js";import{a as $}from"./chunks/chunk.CEVVDV52.js";import{a as Q}from"./chunks/chunk.KV6KJCPR.js";import{a as V}from"./chunks/chunk.NEWXGJ7D.js";import{a as j}from"./chunks/chunk.IPPNZ65E.js";import{a as q}from"./chunks/chunk.X5BLXNFT.js";import{a as y}from"./chunks/chunk.XO74MJE7.js";import{a as z}from"./chunks/chunk.XSD65F5G.js";import{a as J}from"./chunks/chunk.WRWWF5SR.js";import{a as O}from"./chunks/chunk.TGH3T3HZ.js";import{a as P}from"./chunks/chunk.NSMJ7MPA.js";import{a as N}from"./chunks/chunk.XENVET63.js";import{a as E}from"./chunks/chunk.QGBIFDJ4.js";import{a as F}from"./chunks/chunk.AFZTQYJ4.js";import{a as H}from"./chunks/chunk.JI5FVFY6.js";import{a as L}from"./chunks/chunk.5RVKMAOS.js";import{a as h}from"./chunks/chunk.EBYOVEYB.js";import{a as A}from"./chunks/chunk.BRKFW6M6.js";import{a as D}from"./chunks/chunk.DCZSUZQE.js";import{a as w}from"./chunks/chunk.3X7FZERV.js";import{a as R}from"./chunks/chunk.YJ4WEMCO.js";import{a as M}from"./chunks/chunk.HWDDP6FC.js";import{a as v}from"./chunks/chunk.Q5IBYVVU.js";import{a as C}from"./chunks/chunk.MQHJFGF3.js";import{a as G}from"./chunks/chunk.CNAHHN23.js";import{a as b}from"./chunks/chunk.PA4TL5HG.js";import{a as T}from"./chunks/chunk.525EDN7Z.js";import{a as B}from"./chunks/chunk.UITPASIM.js";import{a as I}from"./chunks/chunk.S25ZFL75.js";import{a as g}from"./chunks/chunk.SHQ3QFVV.js";import{a as k}from"./chunks/chunk.6YLRQZ5J.js";import{a as S}from"./chunks/chunk.I7W3IQFX.js";import"./chunks/chunk.5XTSQKKL.js";import{a as s}from"./chunks/chunk.KF7KNFPV.js";import{a as c}from"./chunks/chunk.LDSECTBO.js";import{a as n}from"./chunks/chunk.TFWBLVB5.js";import{a as i}from"./chunks/chunk.47BFZOMM.js";import"./chunks/chunk.CDC46OKY.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.UJARDPTX.js";import{a as l}from"./chunks/chunk.CLX2KDZM.js";import{a as W}from"./chunks/chunk.VU7XHQIK.js";import{a as X}from"./chunks/chunk.7TTIUQTQ.js";import"./chunks/chunk.YQLNNK4Q.js";import{a as x}from"./chunks/chunk.UN7OFRJA.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as m}from"./chunks/chunk.UVOF2P3F.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.PSVOSJB4.js";import{a as e}from"./chunks/chunk.36BKMDE3.js";import{a as p}from"./chunks/chunk.BQ4NXLVV.js";import"./chunks/chunk.XR2KNB36.js";import{a as f}from"./chunks/chunk.VAFYKWJJ.js";import{a as d}from"./chunks/chunk.PBWOAOPD.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as t}from"./chunks/chunk.A6ESZ6MT.js";import{a as r}from"./chunks/chunk.NIOH4J4J.js";import"./chunks/chunk.6HLS5XU2.js";import"./chunks/chunk.6HO6CE4A.js";import"./chunks/chunk.YTG5BN3U.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.H2TKMIFR.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as o}from"./chunks/chunk.QEN4OBFU.js";import"./chunks/chunk.N2OPZHJV.js";import"./chunks/chunk.CDEXCMVF.js";import{d as Y,e as Z}from"./chunks/chunk.55MPQWXS.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.6UCFML4U.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.26V4EXHB.js";import{a as _}from"./chunks/chunk.GHC63SXL.js";import"./chunks/chunk.WISEYZGW.js";import"./chunks/chunk.U5T3AO6I.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.V55KCNZK.js";import"./chunks/chunk.UWPDCU52.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{_ as LocalizeController,e as SdAccordion,a as SdAccordionGroup,p as SdAnimation,f as SdAudio,u as SdBadge,l as SdBrandshape,W as SdBreadcrumb,X as SdBreadcrumbItem,t as SdButton,x as SdCarousel,m as SdCarouselItem,S as SdCheckbox,s as SdCheckboxGroup,c as SdCombobox,b as SdDialog,T as SdDivider,d as SdDrawer,B as SdDropdown,I as SdExpandable,g as SdFlipcard,k as SdHeader,o as SdIcon,C as SdInclude,G as SdInput,h as SdLink,A as SdMapMarker,D as SdNavigationItem,w as SdNotification,R as SdOptgroup,M as SdOption,i as SdPopup,v as SdQuickfact,N as SdRadio,O as SdRadioButton,P as SdRadioGroup,E as SdScrollable,F as SdSelect,r as SdSpinner,H as SdStep,L as SdStepGroup,Q as SdSwitch,V as SdTab,j as SdTabGroup,q as SdTabPanel,n as SdTag,y as SdTeaser,z as SdTeaserMedia,J as SdTextarea,K as SdTooltip,U as SdVideo,Y as registerIconLibrary,$ as setupAutocomplete,Z as unregisterIconLibrary};
1
+ import{a as eo}from"./chunks/chunk.CEVVDV52.js";import"./chunks/chunk.HAL7R4WT.js";import{a as J}from"./chunks/chunk.IRWE4TYN.js";import{a as K}from"./chunks/chunk.AXOCHBBU.js";import{a as U}from"./chunks/chunk.2JZXQAEH.js";import{a as W}from"./chunks/chunk.FCYUK5NR.js";import{a as X}from"./chunks/chunk.PQFPJ45Y.js";import{a as Q}from"./chunks/chunk.Z4UTG2XJ.js";import{a as V}from"./chunks/chunk.S53XPYBW.js";import{a as j}from"./chunks/chunk.ZOFXN52V.js";import{a as q}from"./chunks/chunk.V4CRJJ5B.js";import{a as y}from"./chunks/chunk.V7ZZFRHA.js";import{a as z}from"./chunks/chunk.YOYAMVUH.js";import{a as N}from"./chunks/chunk.4GU7BCCI.js";import{a as O}from"./chunks/chunk.U6FV3MPT.js";import{a as E}from"./chunks/chunk.RISDA2AI.js";import{a as F}from"./chunks/chunk.XMUDHBRG.js";import{a as P}from"./chunks/chunk.3I7Z2ZGA.js";import{a as H}from"./chunks/chunk.IHA7PGG2.js";import{a as L}from"./chunks/chunk.GGXUEKTA.js";import{a as M}from"./chunks/chunk.VPGQTCNG.js";import{a as h}from"./chunks/chunk.R2G6FMES.js";import{a as A}from"./chunks/chunk.SHKBYZWU.js";import{a as D}from"./chunks/chunk.R4DOCTBU.js";import"./chunks/chunk.BBD6RMZH.js";import{a as w}from"./chunks/chunk.SBU6FGLK.js";import{a as R}from"./chunks/chunk.3VSEXUCN.js";import{a as v}from"./chunks/chunk.HAFUAYZZ.js";import{a as C}from"./chunks/chunk.2YPPKILR.js";import{a as G}from"./chunks/chunk.LDAMQCO2.js";import"./chunks/chunk.YS7YV4KF.js";import{a as b}from"./chunks/chunk.AWLGV3BD.js";import{a as T}from"./chunks/chunk.XRBNH2NJ.js";import{a as I}from"./chunks/chunk.7F4BLDO5.js";import{a as B}from"./chunks/chunk.JUPXHQZ3.js";import{a as g}from"./chunks/chunk.WXLNA4GN.js";import{a as k}from"./chunks/chunk.BGEMBVJV.js";import{a as S}from"./chunks/chunk.GYKZUJLA.js";import"./chunks/chunk.URI32NHH.js";import"./chunks/chunk.ICA5V7JB.js";import{a as s}from"./chunks/chunk.ELCOIK5P.js";import{a as c}from"./chunks/chunk.H3RLFSFE.js";import{a as n}from"./chunks/chunk.LNX7ZKW3.js";import{a as i}from"./chunks/chunk.LAFGNWFC.js";import"./chunks/chunk.CDC46OKY.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.EADKGOFJ.js";import{a as l}from"./chunks/chunk.FCFA3AM7.js";import{a as Y}from"./chunks/chunk.KWDCB5GN.js";import{a as Z}from"./chunks/chunk.CMIXQ7JH.js";import"./chunks/chunk.AOLFDR44.js";import{a as x}from"./chunks/chunk.FA5R7CKW.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as m}from"./chunks/chunk.2S6PSHGR.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.SBIDVQ2E.js";import{a as e}from"./chunks/chunk.CMMWC4RI.js";import{a as r}from"./chunks/chunk.AD3RLPIJ.js";import"./chunks/chunk.XR2KNB36.js";import{a as p}from"./chunks/chunk.MGVRJCCE.js";import{a as f}from"./chunks/chunk.IFNRX7KW.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.NFHVSI66.js";import{a as t}from"./chunks/chunk.6NART7VP.js";import"./chunks/chunk.6HLS5XU2.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.YTG5BN3U.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.H2TKMIFR.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as o}from"./chunks/chunk.YVTCC5NZ.js";import"./chunks/chunk.N2OPZHJV.js";import"./chunks/chunk.CDEXCMVF.js";import{d as _,e as $}from"./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{a as oo}from"./chunks/chunk.GHC63SXL.js";import"./chunks/chunk.WISEYZGW.js";import"./chunks/chunk.U5T3AO6I.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.HDPQFCGV.js";import"./chunks/chunk.UWPDCU52.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{oo as LocalizeController,e as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,Y as SdBreadcrumb,Z as SdBreadcrumbItem,d as SdButton,x as SdCarousel,m as SdCarouselItem,S as SdCheckbox,s as SdCheckboxGroup,c as SdCombobox,b as SdDialog,T as SdDivider,f as SdDrawer,I as SdDropdown,B as SdExpandable,g as SdFlipcard,k as SdHeader,o as SdIcon,C as SdInclude,G as SdInput,M as SdLink,h as SdMapMarker,A as SdMenu,D as SdMenuItem,w as SdNavigationItem,R as SdNotification,v as SdOptgroup,N as SdOption,i as SdPopup,O as SdQuickfact,P as SdRadio,E as SdRadioButton,F as SdRadioGroup,H as SdScrollable,L as SdSelect,t as SdSpinner,Q as SdStep,V as SdStepGroup,j as SdSwitch,q as SdTab,y as SdTabGroup,z as SdTabPanel,n as SdTag,J as SdTeaser,K as SdTeaserMedia,U as SdTextarea,W as SdTooltip,X as SdVideo,_ as registerIconLibrary,eo as setupAutocomplete,$ as unregisterIconLibrary};
@@ -1 +1 @@
1
- import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.47BFZOMM.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.V55KCNZK.js";import"../chunks/chunk.UWPDCU52.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
1
+ import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.LAFGNWFC.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.HDPQFCGV.js";import"../chunks/chunk.UWPDCU52.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
@@ -1 +1 @@
1
- import"../chunks/chunk.HAL7R4WT.js";import{d as a,e as b}from"../chunks/chunk.55MPQWXS.js";import"../chunks/chunk.K7HF3VBZ.js";import"../chunks/chunk.6UCFML4U.js";import"../chunks/chunk.PYHYYOBE.js";import"../chunks/chunk.TJOCV4DC.js";export{a as registerIconLibrary,b as unregisterIconLibrary};
1
+ import"../chunks/chunk.HAL7R4WT.js";import{d as a,e as b}from"../chunks/chunk.ZBXT5WFZ.js";import"../chunks/chunk.K7HF3VBZ.js";import"../chunks/chunk.B5WOG3GU.js";import"../chunks/chunk.PYHYYOBE.js";import"../chunks/chunk.TJOCV4DC.js";export{a as registerIconLibrary,b as unregisterIconLibrary};
@@ -1588,6 +1588,71 @@
1588
1588
  }
1589
1589
  ]
1590
1590
  },
1591
+ {
1592
+ "name": "sd-menu",
1593
+ "description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-select** - Emitted when a menu item is selected.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The menu's content.",
1594
+ "attributes": [
1595
+ {
1596
+ "name": "dir",
1597
+ "description": "The element's directionality.",
1598
+ "values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
1599
+ },
1600
+ {
1601
+ "name": "lang",
1602
+ "description": "The element's language.",
1603
+ "values": []
1604
+ }
1605
+ ],
1606
+ "references": [
1607
+ {
1608
+ "name": "Documentation",
1609
+ "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-menu--docs"
1610
+ }
1611
+ ]
1612
+ },
1613
+ {
1614
+ "name": "sd-menu-item",
1615
+ "description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel(): _string_** - Returns a text label based on the contents of the menu item's default slot.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **icon-indent** - Used to prepend an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The offset of the submenu from the parent menu item. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The icon shown when the menu item is checked.\n- **icon-indent** - The icon shown when the menu item has an indent.\n- **label** - The menu item's label.\n- **submenu-icon** - The icon shown when the menu item has a submenu.",
1616
+ "attributes": [
1617
+ {
1618
+ "name": "type",
1619
+ "description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
1620
+ "values": [{ "name": "normal" }, { "name": "checkbox" }]
1621
+ },
1622
+ {
1623
+ "name": "checked",
1624
+ "description": "Draws the item in a checked state.",
1625
+ "values": []
1626
+ },
1627
+ {
1628
+ "name": "disabled",
1629
+ "description": "Draws the menu item in a disabled state, preventing selection.",
1630
+ "values": []
1631
+ },
1632
+ {
1633
+ "name": "value",
1634
+ "description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
1635
+ "values": []
1636
+ },
1637
+ { "name": "chevron", "values": [] },
1638
+ {
1639
+ "name": "dir",
1640
+ "description": "The element's directionality.",
1641
+ "values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
1642
+ },
1643
+ {
1644
+ "name": "lang",
1645
+ "description": "The element's language.",
1646
+ "values": []
1647
+ }
1648
+ ],
1649
+ "references": [
1650
+ {
1651
+ "name": "Documentation",
1652
+ "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-menu-item--docs"
1653
+ }
1654
+ ]
1655
+ },
1591
1656
  {
1592
1657
  "name": "sd-navigation-item",
1593
1658
  "description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@solid-design-system/components",
4
- "version": "5.8.3",
4
+ "version": "5.9.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -3610,6 +3610,143 @@
3610
3610
  ]
3611
3611
  }
3612
3612
  },
3613
+ {
3614
+ "name": "sd-menu",
3615
+ "description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-select** - Emitted when a menu item is selected.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The menu's content.",
3616
+ "doc-url": "",
3617
+ "attributes": [
3618
+ {
3619
+ "name": "dir",
3620
+ "description": "The element's directionality.",
3621
+ "value": { "type": "'ltr' | 'rtl' | 'auto'" }
3622
+ },
3623
+ {
3624
+ "name": "lang",
3625
+ "description": "The element's language.",
3626
+ "value": { "type": "string" }
3627
+ }
3628
+ ],
3629
+ "slots": [{ "name": "", "description": "The menu's content." }],
3630
+ "events": [
3631
+ {
3632
+ "name": "sd-select",
3633
+ "description": "Emitted when a menu item is selected."
3634
+ }
3635
+ ],
3636
+ "js": {
3637
+ "properties": [
3638
+ { "name": "localize" },
3639
+ {
3640
+ "name": "dir",
3641
+ "description": "The element's directionality.",
3642
+ "type": "'ltr' | 'rtl' | 'auto'"
3643
+ },
3644
+ {
3645
+ "name": "lang",
3646
+ "description": "The element's language.",
3647
+ "type": "string"
3648
+ }
3649
+ ],
3650
+ "events": [
3651
+ {
3652
+ "name": "sd-select",
3653
+ "description": "Emitted when a menu item is selected."
3654
+ }
3655
+ ]
3656
+ }
3657
+ },
3658
+ {
3659
+ "name": "sd-menu-item",
3660
+ "description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel(): _string_** - Returns a text label based on the contents of the menu item's default slot.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **icon-indent** - Used to prepend an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The offset of the submenu from the parent menu item. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The icon shown when the menu item is checked.\n- **icon-indent** - The icon shown when the menu item has an indent.\n- **label** - The menu item's label.\n- **submenu-icon** - The icon shown when the menu item has a submenu.",
3661
+ "doc-url": "",
3662
+ "attributes": [
3663
+ {
3664
+ "name": "type",
3665
+ "description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
3666
+ "value": {
3667
+ "type": "'normal' | 'checkbox'",
3668
+ "default": "'normal'"
3669
+ }
3670
+ },
3671
+ {
3672
+ "name": "checked",
3673
+ "description": "Draws the item in a checked state.",
3674
+ "value": { "type": "boolean", "default": "false" }
3675
+ },
3676
+ {
3677
+ "name": "disabled",
3678
+ "description": "Draws the menu item in a disabled state, preventing selection.",
3679
+ "value": { "type": "boolean", "default": "false" }
3680
+ },
3681
+ {
3682
+ "name": "value",
3683
+ "description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
3684
+ "value": { "type": "string", "default": "''" }
3685
+ },
3686
+ {
3687
+ "name": "chevron",
3688
+ "value": { "type": "boolean", "default": "false" }
3689
+ },
3690
+ {
3691
+ "name": "dir",
3692
+ "description": "The element's directionality.",
3693
+ "value": { "type": "'ltr' | 'rtl' | 'auto'" }
3694
+ },
3695
+ {
3696
+ "name": "lang",
3697
+ "description": "The element's language.",
3698
+ "value": { "type": "string" }
3699
+ }
3700
+ ],
3701
+ "slots": [
3702
+ { "name": "", "description": "The menu item's label." },
3703
+ {
3704
+ "name": "icon-indent",
3705
+ "description": "Used to prepend an icon or similar element to the menu item."
3706
+ },
3707
+ {
3708
+ "name": "submenu",
3709
+ "description": "Used to denote a nested menu."
3710
+ }
3711
+ ],
3712
+ "events": [],
3713
+ "js": {
3714
+ "properties": [
3715
+ {
3716
+ "name": "type",
3717
+ "description": "The type of menu item to render. To use `checked`, this value must be set to `checkbox`.",
3718
+ "type": "'normal' | 'checkbox'"
3719
+ },
3720
+ {
3721
+ "name": "checked",
3722
+ "description": "Draws the item in a checked state.",
3723
+ "type": "boolean"
3724
+ },
3725
+ {
3726
+ "name": "disabled",
3727
+ "description": "Draws the menu item in a disabled state, preventing selection.",
3728
+ "type": "boolean"
3729
+ },
3730
+ {
3731
+ "name": "value",
3732
+ "description": "A unique value to store in the menu item. This can be used as a way to identify menu items when selected.",
3733
+ "type": "string"
3734
+ },
3735
+ { "name": "chevron", "type": "boolean" },
3736
+ {
3737
+ "name": "dir",
3738
+ "description": "The element's directionality.",
3739
+ "type": "'ltr' | 'rtl' | 'auto'"
3740
+ },
3741
+ {
3742
+ "name": "lang",
3743
+ "description": "The element's language.",
3744
+ "type": "string"
3745
+ }
3746
+ ],
3747
+ "events": []
3748
+ }
3749
+ },
3613
3750
  {
3614
3751
  "name": "sd-navigation-item",
3615
3752
  "description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
@@ -1 +1 @@
1
- import{b as $}from"./chunk.5XTSQKKL.js";import{a as C}from"./chunk.CDC46OKY.js";import{b as g}from"./chunk.6HLS5XU2.js";import{a as x}from"./chunk.6HO6CE4A.js";import{a as r}from"./chunk.YTG5BN3U.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as d}from"./chunk.E2DRD2OX.js";import{a as y,b as i,c as h,d as p,h as m}from"./chunk.V55KCNZK.js";import{b as v,e as n}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new x(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,o="none"){this.textarea.setSelectionRange(l,a,o)}setRangeText(l,a,o,u){this.textarea.setRangeText(l,a,o,u),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,o=this.helpText?!0:!!l.helpText,u=!!l.tooltip,c=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",b={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return n`<div part="form-control" class="flex flex-col h-full text-left">${a||u?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f)}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${s("absolute w-full h-full pointer-events-none border rounded-default transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[c])}"></div><div part="base" class="${s("textarea h-full flex items-top rounded-default group transition-colors duration-medium hover:duration-fast ease-in-out",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",c==="disabled"||c==="visuallyDisabled"?"text-neutral-500":"text-black")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-8-3-icon]:pe-8",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${$(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${r(this.placeholder)}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?n`<sd-5-8-3-icon class="${s("text-error absolute right-4 pointer-events-none",b)}" library="_internal" name="risk" part="invalid-icon"></sd-5-8-3-icon>`:""} ${this.styleOnValid&&this.showValidStyle?n`<sd-5-8-3-icon class="${s("text-success absolute right-4 pointer-events-none",b)}" library="_internal" name="status-check" part="valid-icon"></sd-5-8-3-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${o?"false":"true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...m.styles,v`:host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([required]) #label:after{content:" *"}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([p("#input")],t.prototype,"textarea",2),e([p("#invalid-message")],t.prototype,"invalidMessage",2),e([h()],t.prototype,"hasFocus",2),e([h()],t.prototype,"showValidStyle",2),e([h()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:String,reflect:!0})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([C()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=e([y("sd-5-8-3-textarea")],t);export{t as a};
1
+ import{a as $}from"./chunk.URI32NHH.js";import{a as C}from"./chunk.CDC46OKY.js";import{b as g}from"./chunk.6HLS5XU2.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YTG5BN3U.js";import{a as s}from"./chunk.26V4EXHB.js";import{a as d}from"./chunk.E2DRD2OX.js";import{a as y,b as i,c as h,d as p,h as m}from"./chunk.HDPQFCGV.js";import{b as v,e as n}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new x(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,o="none"){this.textarea.setSelectionRange(l,a,o)}setRangeText(l,a,o,u){this.textarea.setRangeText(l,a,o,u),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,o=this.helpText?!0:!!l.helpText,u=!!l.tooltip,c=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",b={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return n`<div part="form-control" class="flex flex-col h-full text-left">${a||u?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f)}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${s("absolute w-full h-full pointer-events-none border rounded-default transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[c])}"></div><div part="base" class="${s("textarea h-full flex items-top rounded-default group transition-colors duration-medium hover:duration-fast ease-in-out",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",c==="disabled"||c==="visuallyDisabled"?"text-neutral-500":"text-black")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-9-0-icon]:pe-8",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${$(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${r(this.placeholder)}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?n`<sd-5-9-0-icon class="${s("text-error absolute right-4 pointer-events-none",b)}" library="_internal" name="risk" part="invalid-icon"></sd-5-9-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?n`<sd-5-9-0-icon class="${s("text-success absolute right-4 pointer-events-none",b)}" library="_internal" name="status-check" part="valid-icon"></sd-5-9-0-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${o?"false":"true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...m.styles,v`:host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([required]) #label:after{content:" *"}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([p("#input")],t.prototype,"textarea",2),e([p("#invalid-message")],t.prototype,"invalidMessage",2),e([h()],t.prototype,"hasFocus",2),e([h()],t.prototype,"showValidStyle",2),e([h()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:String,reflect:!0})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([C()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=e([y("sd-5-9-0-textarea")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as r,h as e}from"./chunk.V55KCNZK.js";import{b as l,e as o}from"./chunk.UWPDCU52.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`],t=i([r("sd-5-8-3-carousel-item")],t);export{t as a};
1
+ import{a as r,h as e}from"./chunk.HDPQFCGV.js";import{b as l,e as o}from"./chunk.UWPDCU52.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`],t=i([r("sd-5-9-0-carousel-item")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as m,b as o,h as a}from"./chunk.V55KCNZK.js";import{b as l,e as c}from"./chunk.UWPDCU52.js";import{e as s}from"./chunk.TJOCV4DC.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await n(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return c`<slot></slot>`}};t.styles=[...a.styles,l`:host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([m("sd-5-8-3-include")],t);export{t as a};
1
+ import{a as n}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as m,b as o,h as a}from"./chunk.HDPQFCGV.js";import{b as l,e as c}from"./chunk.UWPDCU52.js";import{e as s}from"./chunk.TJOCV4DC.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await n(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return c`<slot></slot>`}};t.styles=[...a.styles,l`:host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([m("sd-5-9-0-include")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as i}from"./chunk.26V4EXHB.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as o,b as s,c as r,h as a}from"./chunk.V55KCNZK.js";import{b as n,e as h}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return h`<span part="base" class="${i("sd-5-8-3-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${i("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${i("rounded-full inline-flex text-white bg-accent h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span></span><slot part="label" class="${i("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,n`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([o("sd-5-8-3-radio")],e);export{e as a};
1
+ import{a as i}from"./chunk.26V4EXHB.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as o,b as s,c as r,h as a}from"./chunk.HDPQFCGV.js";import{b as n,e as h}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return h`<span part="base" class="${i("sd-5-9-0-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${i("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${i("rounded-full inline-flex text-white bg-accent h-2.5 w-2.5 transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"bg-neutral-500":this.visuallyDisabled?"bg-white":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span></span><slot part="label" class="${i("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};e.styles=[...a.styles,n`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`],t([r()],e.prototype,"checked",2),t([r()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([o("sd-5-9-0-radio")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as g,b as v}from"./chunk.I2H6CZK5.js";import{a as d,c as h}from"./chunk.SKUMYG4O.js";import{a as y}from"./chunk.KLRPP4NQ.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as H}from"./chunk.GHC63SXL.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.V55KCNZK.js";import{b as k,e as p}from"./chunk.UWPDCU52.js";import{b as n,e as l,f as b}from"./chunk.6OTM3PE5.js";import{e}from"./chunk.TJOCV4DC.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([s])=>{let c=document.querySelector(`#sd-toast-stack--${s}`);if(c){c.setAttribute("role","region"),m[s]=c;return}m[s]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${s}`,className:`sd-toast-stack sd-toast-stack--${s}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=h(this,"notification.show",{dir:this.localize.dir()}),o=h(this,`notification.wrapper.show${g(v(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,o.keyframes,o.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=h(this,"notification.hide",{dir:this.localize.dir()}),o=h(this,`notification.wrapper.hide${g(v(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,o.keyframes,o.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,y(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,y(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return p`<div part="base" class="${r("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${r("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${r("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-5-8-3-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-5-8-3-icon></slot><div part="content" class="${r("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400")}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?p`<sd-5-8-3-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-8-3-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-8-3-icon></sd-5-8-3-button>`:""}</div>${this.durationIndicator?p`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${r("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,k`:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([u('[part~="base"]')],t.prototype,"base",2),e([u('[part~="wrapper"]')],t.prototype,"wrapper",2),e([u('[part~="close-button"]')],t.prototype,"close",2),e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:Boolean,reflect:!0})],t.prototype,"open",2),e([a({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([a({type:Number,reflect:!0})],t.prototype,"duration",2),e([a({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([a({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-5-8-3-notification")],t);d("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});d("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});d("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});d("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as g,b as v}from"./chunk.I2H6CZK5.js";import{a as d,c as h}from"./chunk.SKUMYG4O.js";import{a as y}from"./chunk.KLRPP4NQ.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as H}from"./chunk.GHC63SXL.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.HDPQFCGV.js";import{b as k,e as p}from"./chunk.UWPDCU52.js";import{b as n,e as l,f as b}from"./chunk.6OTM3PE5.js";import{e}from"./chunk.TJOCV4DC.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([s])=>{let c=document.querySelector(`#sd-toast-stack--${s}`);if(c){c.setAttribute("role","region"),m[s]=c;return}m[s]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${s}`,className:`sd-toast-stack sd-toast-stack--${s}`})})};$();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=h(this,"notification.show",{dir:this.localize.dir()}),o=h(this,`notification.wrapper.show${g(v(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,o.keyframes,o.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=h(this,"notification.hide",{dir:this.localize.dir()}),o=h(this,`notification.wrapper.hide${g(v(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,o.keyframes,o.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,y(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,y(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return p`<div part="base" class="${r("w-full flex items-stretch m-2 focus-visible:focus-outline")}" id="notification" tabindex="0" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${r("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${r("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-5-9-0-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-5-9-0-icon></slot><div part="content" class="${r("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400")}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?p`<sd-5-9-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-9-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-9-0-icon></sd-5-9-0-button>`:""}</div>${this.durationIndicator?p`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${r("absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,k`:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([u('[part~="base"]')],t.prototype,"base",2),e([u('[part~="wrapper"]')],t.prototype,"wrapper",2),e([u('[part~="close-button"]')],t.prototype,"close",2),e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:Boolean,reflect:!0})],t.prototype,"open",2),e([a({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([a({type:Number,reflect:!0})],t.prototype,"duration",2),e([a({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([a({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-5-9-0-notification")],t);d("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});d("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});d("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});d("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{a as u}from"./chunk.6HO6CE4A.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.V55KCNZK.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-8-3-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-8-3-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-8-3-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.HDPQFCGV.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-9-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-9-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-9-0-option")],e);export{e as a};
@@ -1 +1 @@
1
- import{e as p}from"./chunk.UWPDCU52.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-5-8-3-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-5-8-3-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-5-8-3-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
1
+ import{e as p}from"./chunk.UWPDCU52.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-5-9-0-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-5-9-0-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-5-9-0-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
@@ -1 +1 @@
1
- import{a as m}from"./chunk.26V4EXHB.js";import{a}from"./chunk.GHC63SXL.js";import{a as i,b as s,h as l}from"./chunk.V55KCNZK.js";import{b as t,e as o}from"./chunk.UWPDCU52.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...l.styles,t`:host{display:inline-block;height:1em;width:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-5-8-3-spinner")],e);export{e as a};
1
+ import{a as m}from"./chunk.26V4EXHB.js";import{a}from"./chunk.GHC63SXL.js";import{a as i,b as s,h as l}from"./chunk.HDPQFCGV.js";import{b as t,e as o}from"./chunk.UWPDCU52.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...l.styles,t`:host{display:inline-block;height:1em;width:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-5-9-0-spinner")],e);export{e as a};
@@ -0,0 +1 @@
1
+ import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.GHC63SXL.js";import{a as E}from"./chunk.E2DRD2OX.js";import{a as w,b as o,d as r,h as p}from"./chunk.HDPQFCGV.js";import{b as y,e as b}from"./chunk.UWPDCU52.js";import{b as l,e as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends p{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-5-9-0-button":case"sd-5-9-0-icon-button":s=t.button;break;case"sd-5-9-0-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-5-9-0-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-5-9-0-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-5-9-0-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-5-9-0-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-5-9-0-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await d(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await d(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-5-9-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-5-9-0-popup>`}};n.styles=[...p.styles,y`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-5-9-0-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.V55KCNZK.js";import{b as c,e as d}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-8-3-animation")],t);export{t as a};
1
+ import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.HDPQFCGV.js";import{b as c,e as d}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-9-0-animation")],t);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.V55KCNZK.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-8-3-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-5-8-3-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-5-8-3-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-5-8-3-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-8-3-button-group__button"),o.classList.toggle("sd-5-8-3-button-group__button--first",n===0),o.classList.toggle("sd-5-8-3-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-5-8-3-button-group__button--last",n===e.length-1),o.classList.toggle("sd-5-8-3-button-group__button--radio",o.tagName.toLowerCase()==="sd-5-8-3-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-8-3-button-group")],s);function a(r){var e;let u="sd-5-8-3-button, sd-5-8-3-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.HDPQFCGV.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-9-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-5-9-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-5-9-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-5-9-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-9-0-button-group__button"),o.classList.toggle("sd-5-9-0-button-group__button--first",n===0),o.classList.toggle("sd-5-9-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-5-9-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-5-9-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-5-9-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-9-0-button-group")],s);function a(r){var e;let u="sd-5-9-0-button, sd-5-9-0-radio-button";return(e=r.closest(u))!=null?e:r.querySelector(u)}export{s 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.6HO6CE4A.js";import{a as f}from"./chunk.YTG5BN3U.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.V55KCNZK.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-8-3-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-8-3-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-8-3-icon></sd-5-8-3-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-8-3-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.YTG5BN3U.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.HDPQFCGV.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-9-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-9-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-9-0-icon></sd-5-9-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-9-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};