@solid-design-system/components 5.17.1 → 5.17.3

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 (625) hide show
  1. package/cdn/chunks/{chunk.QJFZKBPG.js → chunk.26UUKTU3.js} +1 -1
  2. package/cdn/chunks/{chunk.2YMJV2KL.js → chunk.2EALHLXK.js} +1 -1
  3. package/cdn/chunks/{chunk.ROIKKEJQ.js → chunk.2RB56T64.js} +1 -1
  4. package/cdn/chunks/{chunk.LLJ2OCGM.js → chunk.3IIXXHDU.js} +1 -1
  5. package/cdn/chunks/{chunk.ADTHFKFC.js → chunk.554VRD5O.js} +1 -1
  6. package/cdn/chunks/{chunk.HXUQZXCZ.js → chunk.5QEHHAZM.js} +1 -1
  7. package/cdn/chunks/{chunk.PIAYQI7K.js → chunk.5RICNJCU.js} +1 -1
  8. package/cdn/chunks/{chunk.RIOXBQBC.js → chunk.5U7KWI7D.js} +1 -1
  9. package/cdn/chunks/{chunk.CARQ25VA.js → chunk.6AAU7PWL.js} +1 -1
  10. package/cdn/chunks/{chunk.5GPPZUNF.js → chunk.6VP2ZCAS.js} +1 -1
  11. package/cdn/chunks/{chunk.TTG6Y6QJ.js → chunk.74MFKQVH.js} +1 -1
  12. package/cdn/chunks/{chunk.YVU7BES7.js → chunk.77ILLS4Y.js} +1 -1
  13. package/cdn/chunks/{chunk.QJAN6R4E.js → chunk.7VPHQARL.js} +1 -1
  14. package/cdn/chunks/{chunk.N4RSYGAV.js → chunk.A3JIHNSA.js} +1 -1
  15. package/cdn/chunks/{chunk.7SJXKLVN.js → chunk.AIKEEW3O.js} +1 -1
  16. package/cdn/chunks/{chunk.4HEDUSC5.js → chunk.B3KOELSU.js} +1 -1
  17. package/cdn/chunks/{chunk.OCIA2UJP.js → chunk.B3VZW2ML.js} +1 -1
  18. package/cdn/chunks/{chunk.EIGW4PKE.js → chunk.CB5UZBO7.js} +1 -1
  19. package/cdn/chunks/{chunk.OQSPWMNR.js → chunk.CBHHJZN6.js} +1 -1
  20. package/cdn/chunks/chunk.CBKOYO75.js +1 -0
  21. package/cdn/chunks/{chunk.AKJ7U3Y3.js → chunk.D522QBIA.js} +1 -1
  22. package/cdn/chunks/{chunk.2RPN4LHN.js → chunk.DQZCD222.js} +1 -1
  23. package/cdn/chunks/{chunk.23JJBCLW.js → chunk.EJ53UZAH.js} +1 -1
  24. package/cdn/chunks/{chunk.MMM4IMJD.js → chunk.F53EIQNF.js} +1 -1
  25. package/cdn/chunks/{chunk.4USO2EJG.js → chunk.GL6UZCPR.js} +1 -1
  26. package/cdn/chunks/{chunk.7NHEEBDB.js → chunk.GQDFOCWS.js} +1 -1
  27. package/cdn/chunks/{chunk.XAIFQKHV.js → chunk.HQ24LF7U.js} +1 -1
  28. package/cdn/chunks/{chunk.RCMXIAQV.js → chunk.IFFIHJ7H.js} +1 -1
  29. package/cdn/chunks/{chunk.6XOV6LQS.js → chunk.JBCMRE2B.js} +1 -1
  30. package/cdn/chunks/{chunk.37O5FAM6.js → chunk.JFW27V4M.js} +1 -1
  31. package/cdn/chunks/{chunk.7FMD6ZWC.js → chunk.JRAB7FGM.js} +1 -1
  32. package/cdn/chunks/{chunk.KVJJEMOI.js → chunk.N3DPICKQ.js} +1 -1
  33. package/cdn/chunks/{chunk.75UMJKQC.js → chunk.NHRDKMJ2.js} +1 -1
  34. package/cdn/chunks/{chunk.6QNQMWSQ.js → chunk.OALWSM3O.js} +1 -1
  35. package/cdn/chunks/{chunk.BV42CEWL.js → chunk.ONID6Y4B.js} +1 -1
  36. package/cdn/chunks/{chunk.NTP4LLF3.js → chunk.P27UO4F7.js} +1 -1
  37. package/cdn/chunks/{chunk.EIRHQEOO.js → chunk.P4PCDJDP.js} +1 -1
  38. package/cdn/chunks/{chunk.PCAKJGIV.js → chunk.PL3XERRG.js} +1 -1
  39. package/cdn/chunks/{chunk.H3W4J4F4.js → chunk.PUVBXT4E.js} +1 -1
  40. package/cdn/chunks/{chunk.ZENM3WVO.js → chunk.QA4IMHPN.js} +1 -1
  41. package/cdn/chunks/{chunk.CTOV3B4T.js → chunk.QHA5FHZ4.js} +1 -1
  42. package/cdn/chunks/{chunk.MGCXOSRH.js → chunk.QRBNZ6PN.js} +1 -1
  43. package/cdn/chunks/{chunk.SQ7OLI7Q.js → chunk.QY52MD43.js} +1 -1
  44. package/cdn/chunks/{chunk.TFKNNQ5S.js → chunk.R3MXPZLV.js} +1 -1
  45. package/cdn/chunks/{chunk.H7I6O5HE.js → chunk.RA443RIU.js} +1 -1
  46. package/cdn/chunks/{chunk.QJVPLDR4.js → chunk.RB7JD5HX.js} +1 -1
  47. package/cdn/chunks/{chunk.4THKQ4PC.js → chunk.TAGI2L4O.js} +1 -1
  48. package/cdn/chunks/{chunk.2D3B6W4C.js → chunk.U46CUDX6.js} +1 -1
  49. package/cdn/chunks/{chunk.FYOUHXBZ.js → chunk.UYOW77KV.js} +1 -1
  50. package/cdn/chunks/{chunk.OPMX2Q3A.js → chunk.VFHY6JH5.js} +1 -1
  51. package/cdn/chunks/{chunk.ZKBX734R.js → chunk.VFQHNBSI.js} +1 -1
  52. package/cdn/chunks/{chunk.W2JKI6K3.js → chunk.VT6UO2RZ.js} +1 -1
  53. package/cdn/chunks/chunk.WWJY5MSS.js +25 -0
  54. package/cdn/chunks/{chunk.OIOXSZHI.js → chunk.WXCWIGGA.js} +1 -1
  55. package/cdn/chunks/{chunk.ZZAPDP7V.js → chunk.XC3BXXLT.js} +1 -1
  56. package/cdn/chunks/{chunk.Z4V7WPTW.js → chunk.XG5NB6MH.js} +1 -1
  57. package/cdn/chunks/{chunk.YMTUR575.js → chunk.XSWG5G46.js} +1 -1
  58. package/cdn/chunks/{chunk.3PTWVC7K.js → chunk.Y2W5QWC2.js} +1 -1
  59. package/cdn/chunks/{chunk.72JQHJ3G.js → chunk.YVT3NH6Q.js} +1 -1
  60. package/cdn/components/accordion/accordion.js +1 -1
  61. package/cdn/components/accordion-group/accordion-group.js +1 -1
  62. package/cdn/components/animation/animation.js +1 -1
  63. package/cdn/components/audio/audio.js +1 -1
  64. package/cdn/components/badge/badge.js +1 -1
  65. package/cdn/components/brandshape/brandshape.js +1 -1
  66. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  67. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  68. package/cdn/components/button/button.js +1 -1
  69. package/cdn/components/button-group/button-group.js +1 -1
  70. package/cdn/components/carousel/carousel.js +1 -1
  71. package/cdn/components/carousel-item/carousel-item.js +1 -1
  72. package/cdn/components/checkbox/checkbox.js +1 -1
  73. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  74. package/cdn/components/combobox/combobox.js +1 -1
  75. package/cdn/components/datepicker/datepicker.js +1 -1
  76. package/cdn/components/dialog/dialog.js +1 -1
  77. package/cdn/components/divider/divider.js +1 -1
  78. package/cdn/components/drawer/drawer.js +1 -1
  79. package/cdn/components/dropdown/dropdown.js +1 -1
  80. package/cdn/components/expandable/expandable.js +1 -1
  81. package/cdn/components/flipcard/flipcard.js +1 -1
  82. package/cdn/components/header/header.js +1 -1
  83. package/cdn/components/icon/icon.js +1 -1
  84. package/cdn/components/include/include.js +1 -1
  85. package/cdn/components/input/input.d.ts +1 -0
  86. package/cdn/components/input/input.js +1 -1
  87. package/cdn/components/link/link.js +1 -1
  88. package/cdn/components/loader/loader.js +1 -1
  89. package/cdn/components/map-marker/map-marker.js +1 -1
  90. package/cdn/components/menu/menu.js +1 -1
  91. package/cdn/components/menu-item/menu-item.js +1 -1
  92. package/cdn/components/navigation-item/navigation-item.js +1 -1
  93. package/cdn/components/notification/notification.js +1 -1
  94. package/cdn/components/optgroup/optgroup.js +1 -1
  95. package/cdn/components/option/option.js +1 -1
  96. package/cdn/components/popup/popup.js +1 -1
  97. package/cdn/components/quickfact/quickfact.js +1 -1
  98. package/cdn/components/radio/radio.js +1 -1
  99. package/cdn/components/radio-button/radio-button.js +1 -1
  100. package/cdn/components/radio-group/radio-group.js +1 -1
  101. package/cdn/components/range/range.js +1 -1
  102. package/cdn/components/range-tick/range-tick.js +1 -1
  103. package/cdn/components/scrollable/scrollable.js +1 -1
  104. package/cdn/components/select/select.js +1 -1
  105. package/cdn/components/skeleton/skeleton.js +1 -1
  106. package/cdn/components/spinner/spinner.js +1 -1
  107. package/cdn/components/step/step.js +1 -1
  108. package/cdn/components/step-group/step-group.js +1 -1
  109. package/cdn/components/switch/switch.js +1 -1
  110. package/cdn/components/tab/tab.js +1 -1
  111. package/cdn/components/tab-group/tab-group.js +1 -1
  112. package/cdn/components/tab-panel/tab-panel.js +1 -1
  113. package/cdn/components/tag/tag.js +1 -1
  114. package/cdn/components/teaser/teaser.js +1 -1
  115. package/cdn/components/teaser-media/teaser-media.js +1 -1
  116. package/cdn/components/textarea/textarea.js +1 -1
  117. package/cdn/components/tooltip/tooltip.js +1 -1
  118. package/cdn/components/video/video.js +1 -1
  119. package/cdn/custom-elements.json +25 -1
  120. package/cdn/solid-components.bundle.js +12 -12
  121. package/cdn/solid-components.iife.js +12 -12
  122. package/cdn/solid-components.js +1 -1
  123. package/cdn/utilities/autocomplete-config.js +1 -1
  124. package/cdn/vscode.html-custom-data.json +6 -1
  125. package/cdn/web-types.json +12 -2
  126. package/cdn-versioned/chunks/{chunk.QJFZKBPG.js → chunk.26UUKTU3.js} +1 -1
  127. package/cdn-versioned/chunks/{chunk.2YMJV2KL.js → chunk.2EALHLXK.js} +1 -1
  128. package/cdn-versioned/chunks/{chunk.ROIKKEJQ.js → chunk.2RB56T64.js} +1 -1
  129. package/cdn-versioned/chunks/{chunk.LLJ2OCGM.js → chunk.3IIXXHDU.js} +4 -4
  130. package/cdn-versioned/chunks/{chunk.ADTHFKFC.js → chunk.554VRD5O.js} +1 -1
  131. package/cdn-versioned/chunks/{chunk.HXUQZXCZ.js → chunk.5QEHHAZM.js} +1 -1
  132. package/cdn-versioned/chunks/{chunk.PIAYQI7K.js → chunk.5RICNJCU.js} +1 -1
  133. package/cdn-versioned/chunks/{chunk.RIOXBQBC.js → chunk.5U7KWI7D.js} +1 -1
  134. package/cdn-versioned/chunks/{chunk.CARQ25VA.js → chunk.6AAU7PWL.js} +1 -1
  135. package/cdn-versioned/chunks/{chunk.5GPPZUNF.js → chunk.6VP2ZCAS.js} +1 -1
  136. package/cdn-versioned/chunks/{chunk.TTG6Y6QJ.js → chunk.74MFKQVH.js} +1 -1
  137. package/cdn-versioned/chunks/{chunk.YVU7BES7.js → chunk.77ILLS4Y.js} +2 -2
  138. package/cdn-versioned/chunks/{chunk.QJAN6R4E.js → chunk.7VPHQARL.js} +1 -1
  139. package/cdn-versioned/chunks/{chunk.N4RSYGAV.js → chunk.A3JIHNSA.js} +1 -1
  140. package/cdn-versioned/chunks/{chunk.7SJXKLVN.js → chunk.AIKEEW3O.js} +1 -1
  141. package/cdn-versioned/chunks/{chunk.4HEDUSC5.js → chunk.B3KOELSU.js} +1 -1
  142. package/cdn-versioned/chunks/{chunk.OCIA2UJP.js → chunk.B3VZW2ML.js} +1 -1
  143. package/cdn-versioned/chunks/{chunk.EIGW4PKE.js → chunk.CB5UZBO7.js} +1 -1
  144. package/cdn-versioned/chunks/{chunk.OQSPWMNR.js → chunk.CBHHJZN6.js} +1 -1
  145. package/cdn-versioned/chunks/chunk.CBKOYO75.js +1 -0
  146. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  147. package/cdn-versioned/chunks/{chunk.AKJ7U3Y3.js → chunk.D522QBIA.js} +1 -1
  148. package/cdn-versioned/chunks/{chunk.2RPN4LHN.js → chunk.DQZCD222.js} +4 -4
  149. package/cdn-versioned/chunks/{chunk.23JJBCLW.js → chunk.EJ53UZAH.js} +1 -1
  150. package/cdn-versioned/chunks/{chunk.MMM4IMJD.js → chunk.F53EIQNF.js} +1 -1
  151. package/cdn-versioned/chunks/{chunk.4USO2EJG.js → chunk.GL6UZCPR.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.7NHEEBDB.js → chunk.GQDFOCWS.js} +1 -1
  153. package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +1 -1
  154. package/cdn-versioned/chunks/{chunk.XAIFQKHV.js → chunk.HQ24LF7U.js} +1 -1
  155. package/cdn-versioned/chunks/{chunk.RCMXIAQV.js → chunk.IFFIHJ7H.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.6XOV6LQS.js → chunk.JBCMRE2B.js} +1 -1
  157. package/cdn-versioned/chunks/{chunk.37O5FAM6.js → chunk.JFW27V4M.js} +1 -1
  158. package/cdn-versioned/chunks/{chunk.7FMD6ZWC.js → chunk.JRAB7FGM.js} +1 -1
  159. package/cdn-versioned/chunks/{chunk.KVJJEMOI.js → chunk.N3DPICKQ.js} +1 -1
  160. package/cdn-versioned/chunks/{chunk.75UMJKQC.js → chunk.NHRDKMJ2.js} +1 -1
  161. package/cdn-versioned/chunks/chunk.NRBNWX7R.js +1 -1
  162. package/cdn-versioned/chunks/{chunk.6QNQMWSQ.js → chunk.OALWSM3O.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.BV42CEWL.js → chunk.ONID6Y4B.js} +1 -1
  164. package/cdn-versioned/chunks/{chunk.NTP4LLF3.js → chunk.P27UO4F7.js} +1 -1
  165. package/cdn-versioned/chunks/{chunk.EIRHQEOO.js → chunk.P4PCDJDP.js} +1 -1
  166. package/cdn-versioned/chunks/{chunk.PCAKJGIV.js → chunk.PL3XERRG.js} +1 -1
  167. package/cdn-versioned/chunks/{chunk.H3W4J4F4.js → chunk.PUVBXT4E.js} +1 -1
  168. package/cdn-versioned/chunks/{chunk.ZENM3WVO.js → chunk.QA4IMHPN.js} +1 -1
  169. package/cdn-versioned/chunks/{chunk.CTOV3B4T.js → chunk.QHA5FHZ4.js} +1 -1
  170. package/cdn-versioned/chunks/{chunk.MGCXOSRH.js → chunk.QRBNZ6PN.js} +1 -1
  171. package/cdn-versioned/chunks/{chunk.SQ7OLI7Q.js → chunk.QY52MD43.js} +1 -1
  172. package/cdn-versioned/chunks/{chunk.TFKNNQ5S.js → chunk.R3MXPZLV.js} +1 -1
  173. package/cdn-versioned/chunks/{chunk.H7I6O5HE.js → chunk.RA443RIU.js} +1 -1
  174. package/cdn-versioned/chunks/{chunk.QJVPLDR4.js → chunk.RB7JD5HX.js} +1 -1
  175. package/cdn-versioned/chunks/{chunk.4THKQ4PC.js → chunk.TAGI2L4O.js} +1 -1
  176. package/cdn-versioned/chunks/{chunk.2D3B6W4C.js → chunk.U46CUDX6.js} +1 -1
  177. package/cdn-versioned/chunks/{chunk.FYOUHXBZ.js → chunk.UYOW77KV.js} +1 -1
  178. package/cdn-versioned/chunks/{chunk.OPMX2Q3A.js → chunk.VFHY6JH5.js} +1 -1
  179. package/cdn-versioned/chunks/{chunk.ZKBX734R.js → chunk.VFQHNBSI.js} +1 -1
  180. package/cdn-versioned/chunks/{chunk.W2JKI6K3.js → chunk.VT6UO2RZ.js} +1 -1
  181. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  182. package/cdn-versioned/chunks/chunk.WWJY5MSS.js +25 -0
  183. package/cdn-versioned/chunks/{chunk.OIOXSZHI.js → chunk.WXCWIGGA.js} +1 -1
  184. package/cdn-versioned/chunks/{chunk.ZZAPDP7V.js → chunk.XC3BXXLT.js} +1 -1
  185. package/cdn-versioned/chunks/{chunk.Z4V7WPTW.js → chunk.XG5NB6MH.js} +1 -1
  186. package/cdn-versioned/chunks/{chunk.YMTUR575.js → chunk.XSWG5G46.js} +1 -1
  187. package/cdn-versioned/chunks/{chunk.3PTWVC7K.js → chunk.Y2W5QWC2.js} +2 -2
  188. package/cdn-versioned/chunks/{chunk.72JQHJ3G.js → chunk.YVT3NH6Q.js} +1 -1
  189. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  190. package/cdn-versioned/components/accordion/accordion.js +1 -1
  191. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  192. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  193. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  194. package/cdn-versioned/components/animation/animation.js +1 -1
  195. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  196. package/cdn-versioned/components/audio/audio.js +1 -1
  197. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  198. package/cdn-versioned/components/badge/badge.js +1 -1
  199. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  200. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  201. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  202. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  203. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  204. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  205. package/cdn-versioned/components/button/button.d.ts +1 -1
  206. package/cdn-versioned/components/button/button.js +1 -1
  207. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  208. package/cdn-versioned/components/button-group/button-group.js +1 -1
  209. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  210. package/cdn-versioned/components/carousel/carousel.js +1 -1
  211. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  212. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  213. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  214. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  215. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  216. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  217. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  218. package/cdn-versioned/components/combobox/combobox.js +1 -1
  219. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  220. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  221. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  222. package/cdn-versioned/components/dialog/dialog.js +1 -1
  223. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  224. package/cdn-versioned/components/divider/divider.js +1 -1
  225. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  226. package/cdn-versioned/components/drawer/drawer.js +1 -1
  227. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  228. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  229. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  230. package/cdn-versioned/components/expandable/expandable.js +1 -1
  231. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  232. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  233. package/cdn-versioned/components/header/header.d.ts +1 -1
  234. package/cdn-versioned/components/header/header.js +1 -1
  235. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  236. package/cdn-versioned/components/icon/icon.js +1 -1
  237. package/cdn-versioned/components/include/include.d.ts +1 -1
  238. package/cdn-versioned/components/include/include.js +1 -1
  239. package/cdn-versioned/components/input/input.d.ts +2 -1
  240. package/cdn-versioned/components/input/input.js +1 -1
  241. package/cdn-versioned/components/link/link.d.ts +1 -1
  242. package/cdn-versioned/components/link/link.js +1 -1
  243. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  244. package/cdn-versioned/components/loader/loader.js +1 -1
  245. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  246. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  247. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  248. package/cdn-versioned/components/menu/menu.js +1 -1
  249. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  250. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  251. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  252. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  253. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  254. package/cdn-versioned/components/notification/notification.js +1 -1
  255. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  256. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  257. package/cdn-versioned/components/option/option.d.ts +1 -1
  258. package/cdn-versioned/components/option/option.js +1 -1
  259. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  260. package/cdn-versioned/components/popup/popup.js +1 -1
  261. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  262. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  263. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  264. package/cdn-versioned/components/radio/radio.js +1 -1
  265. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  266. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  267. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  268. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  269. package/cdn-versioned/components/range/range.d.ts +1 -1
  270. package/cdn-versioned/components/range/range.js +1 -1
  271. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  272. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  273. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  274. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  275. package/cdn-versioned/components/select/select.d.ts +1 -1
  276. package/cdn-versioned/components/select/select.js +1 -1
  277. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  278. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  279. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  280. package/cdn-versioned/components/spinner/spinner.js +1 -1
  281. package/cdn-versioned/components/step/step.d.ts +1 -1
  282. package/cdn-versioned/components/step/step.js +1 -1
  283. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  284. package/cdn-versioned/components/step-group/step-group.js +1 -1
  285. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  286. package/cdn-versioned/components/switch/switch.js +1 -1
  287. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  288. package/cdn-versioned/components/tab/tab.js +1 -1
  289. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  290. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  291. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  292. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  293. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  294. package/cdn-versioned/components/tag/tag.js +1 -1
  295. package/cdn-versioned/components/teaser/teaser.js +1 -1
  296. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  297. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  298. package/cdn-versioned/components/textarea/textarea.js +1 -1
  299. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  300. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  301. package/cdn-versioned/components/video/video.d.ts +1 -1
  302. package/cdn-versioned/components/video/video.js +1 -1
  303. package/cdn-versioned/custom-elements.json +272 -248
  304. package/cdn-versioned/internal/form.js +3 -3
  305. package/cdn-versioned/solid-components.bundle.js +15 -15
  306. package/cdn-versioned/solid-components.css +2 -2
  307. package/cdn-versioned/solid-components.iife.js +15 -15
  308. package/cdn-versioned/solid-components.js +1 -1
  309. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  310. package/cdn-versioned/vscode.html-custom-data.json +99 -94
  311. package/cdn-versioned/web-types.json +173 -163
  312. package/dist/chunks/{chunk.ZUL25WD4.js → chunk.22JGWQHD.js} +1 -1
  313. package/dist/chunks/{chunk.IKDVBWFR.js → chunk.23MU4JA7.js} +1 -1
  314. package/dist/chunks/{chunk.TD5EDBVC.js → chunk.2SPLNABG.js} +1 -1
  315. package/dist/chunks/{chunk.AUMWRORX.js → chunk.2YP3NW54.js} +1 -1
  316. package/dist/chunks/{chunk.5L52M55A.js → chunk.35JOBQN4.js} +1 -1
  317. package/dist/chunks/{chunk.QPBJEOPN.js → chunk.3EBQKONT.js} +1 -1
  318. package/dist/chunks/{chunk.JUZY76ML.js → chunk.45D7TZY2.js} +1 -1
  319. package/dist/chunks/{chunk.URTB3C7J.js → chunk.4JRGV2NE.js} +1 -1
  320. package/dist/chunks/{chunk.J2MPIUT5.js → chunk.5ELWG4EZ.js} +1 -1
  321. package/dist/chunks/{chunk.P2JBJQH6.js → chunk.5XO674YZ.js} +1 -1
  322. package/dist/chunks/{chunk.AZ5YCFXX.js → chunk.6AKV5ZRR.js} +1 -1
  323. package/dist/chunks/{chunk.246LUIGB.js → chunk.6LF3BYIY.js} +1 -1
  324. package/dist/chunks/{chunk.OH3W4PGL.js → chunk.6RK24NSS.js} +1 -1
  325. package/dist/chunks/{chunk.ZBDFCFOP.js → chunk.76BN4PS7.js} +2 -2
  326. package/dist/chunks/{chunk.VUTMPKYK.js → chunk.7UTDD55I.js} +1 -1
  327. package/dist/chunks/{chunk.KMU4KABG.js → chunk.B3QSQ6K7.js} +1 -1
  328. package/dist/chunks/{chunk.6OGLZOU3.js → chunk.CJ7IHVFY.js} +1 -1
  329. package/dist/chunks/{chunk.TMJN75ST.js → chunk.CQ67F2XR.js} +1 -1
  330. package/dist/chunks/{chunk.ZAQS4XFO.js → chunk.CURHDJV6.js} +2 -2
  331. package/dist/chunks/{chunk.4VSYGWIQ.js → chunk.CVZH2VLL.js} +1 -1
  332. package/dist/chunks/{chunk.HTEXYS4A.js → chunk.D2O3R3AC.js} +1 -1
  333. package/dist/chunks/{chunk.NBHVDDUK.js → chunk.EBA2FO3J.js} +1 -1
  334. package/dist/chunks/{chunk.WRP3NGPP.js → chunk.EGKZTSJA.js} +1 -1
  335. package/dist/chunks/{chunk.WTG2WY6X.js → chunk.EX2IEIQK.js} +1 -1
  336. package/dist/chunks/{chunk.FPIRMH7R.js → chunk.EZZAAWNK.js} +1 -1
  337. package/dist/chunks/{chunk.E4O3LVAZ.js → chunk.FRJAG3MQ.js} +1 -1
  338. package/dist/chunks/{chunk.DOGMVREV.js → chunk.FUCATISJ.js} +32 -9
  339. package/dist/chunks/{chunk.QPBHKXL6.js → chunk.FWUEEHWY.js} +1 -1
  340. package/dist/chunks/{chunk.TJKIQ2ZR.js → chunk.H2XMCGBK.js} +1 -1
  341. package/dist/chunks/chunk.H7UEA2NY.js +82 -0
  342. package/dist/chunks/{chunk.A5GKQZGQ.js → chunk.HTE3DLUD.js} +1 -1
  343. package/dist/chunks/{chunk.QTQEKSJS.js → chunk.IITIHE4Z.js} +1 -1
  344. package/dist/chunks/{chunk.2EN4CJ2E.js → chunk.JTJV2AFL.js} +1 -1
  345. package/dist/chunks/{chunk.AWVURKQ3.js → chunk.K6PSDQZI.js} +1 -1
  346. package/dist/chunks/{chunk.U5L4ZATG.js → chunk.KFBDKQWY.js} +1 -1
  347. package/dist/chunks/{chunk.MCUIYSD6.js → chunk.KS2U7CKH.js} +1 -1
  348. package/dist/chunks/{chunk.S253T7LE.js → chunk.KUFA6W6P.js} +1 -1
  349. package/dist/chunks/{chunk.YBAAPYHP.js → chunk.LWQJ57CH.js} +1 -1
  350. package/dist/chunks/{chunk.KHS7FSFX.js → chunk.MEJBDCOK.js} +1 -1
  351. package/dist/chunks/{chunk.QP27BG3Y.js → chunk.OSB344JT.js} +1 -1
  352. package/dist/chunks/{chunk.FWDG6KMC.js → chunk.OTS2TILR.js} +1 -1
  353. package/dist/chunks/{chunk.AAK5STGD.js → chunk.OV64576E.js} +1 -1
  354. package/dist/chunks/{chunk.22DM7THN.js → chunk.PCW75LUJ.js} +1 -1
  355. package/dist/chunks/{chunk.63D5DO3S.js → chunk.PUZMRDRJ.js} +1 -1
  356. package/dist/chunks/{chunk.Q4HWX7FF.js → chunk.Q5Z4C6HX.js} +1 -1
  357. package/dist/chunks/{chunk.ATKLZZWE.js → chunk.SA3RNF6V.js} +1 -1
  358. package/dist/chunks/{chunk.SJZCQ5SU.js → chunk.SNMM5N5T.js} +2 -2
  359. package/dist/chunks/{chunk.XRKSJCLQ.js → chunk.TJ25B2BK.js} +2 -2
  360. package/dist/chunks/{chunk.YGHO5R3O.js → chunk.TJSVPPLH.js} +1 -1
  361. package/dist/chunks/{chunk.VDSIXERI.js → chunk.UIJDENWT.js} +1 -1
  362. package/dist/chunks/{chunk.NYOWE72U.js → chunk.VELQG4FG.js} +1 -1
  363. package/dist/chunks/{chunk.6KCL3YWT.js → chunk.VJRTQGCU.js} +1 -1
  364. package/dist/chunks/{chunk.PKG3F2KC.js → chunk.VVVV5UPF.js} +1 -1
  365. package/dist/chunks/{chunk.QVNC3EJB.js → chunk.VW5P7PCS.js} +1 -1
  366. package/dist/chunks/{chunk.W6RMEFFR.js → chunk.WGE2DGAT.js} +1 -1
  367. package/dist/chunks/{chunk.4D5SPJ27.js → chunk.X6JCFJHB.js} +1 -1
  368. package/dist/chunks/{chunk.WUB4VSXU.js → chunk.Y7FP242S.js} +1 -1
  369. package/dist/chunks/{chunk.OWYDTY46.js → chunk.YRMXXHY5.js} +1 -1
  370. package/dist/chunks/{chunk.3CUXBZXY.js → chunk.ZYCUZKFW.js} +1 -1
  371. package/dist/components/accordion/accordion.js +3 -3
  372. package/dist/components/accordion-group/accordion-group.js +4 -4
  373. package/dist/components/animation/animation.js +2 -2
  374. package/dist/components/audio/audio.js +6 -6
  375. package/dist/components/badge/badge.js +2 -2
  376. package/dist/components/brandshape/brandshape.js +2 -2
  377. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  378. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  379. package/dist/components/button/button.js +3 -3
  380. package/dist/components/button-group/button-group.js +2 -2
  381. package/dist/components/carousel/carousel.js +4 -4
  382. package/dist/components/carousel-item/carousel-item.js +2 -2
  383. package/dist/components/checkbox/checkbox.js +3 -3
  384. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  385. package/dist/components/combobox/combobox.js +5 -5
  386. package/dist/components/datepicker/datepicker.js +5 -5
  387. package/dist/components/dialog/dialog.js +5 -5
  388. package/dist/components/divider/divider.js +2 -2
  389. package/dist/components/drawer/drawer.js +5 -5
  390. package/dist/components/dropdown/dropdown.js +3 -3
  391. package/dist/components/expandable/expandable.js +3 -3
  392. package/dist/components/flipcard/flipcard.js +5 -5
  393. package/dist/components/header/header.js +2 -2
  394. package/dist/components/icon/icon.js +2 -2
  395. package/dist/components/include/include.js +2 -2
  396. package/dist/components/input/input.d.ts +1 -0
  397. package/dist/components/input/input.js +3 -3
  398. package/dist/components/link/link.js +2 -2
  399. package/dist/components/loader/loader.js +2 -2
  400. package/dist/components/map-marker/map-marker.js +2 -2
  401. package/dist/components/menu/menu.js +2 -2
  402. package/dist/components/menu-item/menu-item.js +2 -2
  403. package/dist/components/navigation-item/navigation-item.js +4 -4
  404. package/dist/components/notification/notification.js +5 -5
  405. package/dist/components/optgroup/optgroup.js +3 -3
  406. package/dist/components/option/option.js +3 -3
  407. package/dist/components/popup/popup.js +2 -2
  408. package/dist/components/quickfact/quickfact.js +4 -4
  409. package/dist/components/radio/radio.js +2 -2
  410. package/dist/components/radio-button/radio-button.js +2 -2
  411. package/dist/components/radio-group/radio-group.js +4 -4
  412. package/dist/components/range/range.js +2 -2
  413. package/dist/components/range-tick/range-tick.js +2 -2
  414. package/dist/components/scrollable/scrollable.js +3 -3
  415. package/dist/components/select/select.js +5 -5
  416. package/dist/components/skeleton/skeleton.js +2 -2
  417. package/dist/components/spinner/spinner.js +2 -2
  418. package/dist/components/step/step.js +3 -3
  419. package/dist/components/step-group/step-group.js +2 -2
  420. package/dist/components/switch/switch.js +2 -2
  421. package/dist/components/tab/tab.js +2 -2
  422. package/dist/components/tab-group/tab-group.js +3 -3
  423. package/dist/components/tab-panel/tab-panel.js +2 -2
  424. package/dist/components/tag/tag.js +3 -3
  425. package/dist/components/teaser/teaser.js +2 -2
  426. package/dist/components/teaser-media/teaser-media.js +2 -2
  427. package/dist/components/textarea/textarea.js +3 -3
  428. package/dist/components/tooltip/tooltip.js +4 -4
  429. package/dist/components/video/video.js +3 -3
  430. package/dist/custom-elements.json +25 -1
  431. package/dist/solid-components.js +61 -61
  432. package/dist/utilities/autocomplete-config.js +2 -2
  433. package/dist/vscode.html-custom-data.json +6 -1
  434. package/dist/web-types.json +12 -2
  435. package/dist-versioned/chunks/{chunk.ZUL25WD4.js → chunk.22JGWQHD.js} +2 -2
  436. package/dist-versioned/chunks/{chunk.IKDVBWFR.js → chunk.23MU4JA7.js} +3 -3
  437. package/dist-versioned/chunks/{chunk.TD5EDBVC.js → chunk.2SPLNABG.js} +3 -3
  438. package/dist-versioned/chunks/{chunk.AUMWRORX.js → chunk.2YP3NW54.js} +7 -7
  439. package/dist-versioned/chunks/{chunk.5L52M55A.js → chunk.35JOBQN4.js} +4 -4
  440. package/dist-versioned/chunks/{chunk.QPBJEOPN.js → chunk.3EBQKONT.js} +13 -13
  441. package/dist-versioned/chunks/{chunk.JUZY76ML.js → chunk.45D7TZY2.js} +2 -2
  442. package/dist-versioned/chunks/{chunk.URTB3C7J.js → chunk.4JRGV2NE.js} +4 -4
  443. package/dist-versioned/chunks/{chunk.J2MPIUT5.js → chunk.5ELWG4EZ.js} +2 -2
  444. package/dist-versioned/chunks/{chunk.P2JBJQH6.js → chunk.5XO674YZ.js} +2 -2
  445. package/dist-versioned/chunks/{chunk.AZ5YCFXX.js → chunk.6AKV5ZRR.js} +3 -3
  446. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  447. package/dist-versioned/chunks/{chunk.246LUIGB.js → chunk.6LF3BYIY.js} +2 -2
  448. package/dist-versioned/chunks/{chunk.OH3W4PGL.js → chunk.6RK24NSS.js} +25 -25
  449. package/dist-versioned/chunks/{chunk.ZBDFCFOP.js → chunk.76BN4PS7.js} +4 -4
  450. package/dist-versioned/chunks/{chunk.VUTMPKYK.js → chunk.7UTDD55I.js} +4 -4
  451. package/dist-versioned/chunks/{chunk.KMU4KABG.js → chunk.B3QSQ6K7.js} +3 -3
  452. package/dist-versioned/chunks/{chunk.6OGLZOU3.js → chunk.CJ7IHVFY.js} +2 -2
  453. package/dist-versioned/chunks/{chunk.TMJN75ST.js → chunk.CQ67F2XR.js} +7 -7
  454. package/dist-versioned/chunks/{chunk.ZAQS4XFO.js → chunk.CURHDJV6.js} +4 -4
  455. package/dist-versioned/chunks/{chunk.4VSYGWIQ.js → chunk.CVZH2VLL.js} +3 -3
  456. package/dist-versioned/chunks/{chunk.HTEXYS4A.js → chunk.D2O3R3AC.js} +27 -27
  457. package/dist-versioned/chunks/{chunk.NBHVDDUK.js → chunk.EBA2FO3J.js} +5 -5
  458. package/dist-versioned/chunks/{chunk.WRP3NGPP.js → chunk.EGKZTSJA.js} +5 -5
  459. package/dist-versioned/chunks/{chunk.WTG2WY6X.js → chunk.EX2IEIQK.js} +6 -6
  460. package/dist-versioned/chunks/{chunk.FPIRMH7R.js → chunk.EZZAAWNK.js} +5 -5
  461. package/dist-versioned/chunks/{chunk.E4O3LVAZ.js → chunk.FRJAG3MQ.js} +2 -2
  462. package/dist-versioned/chunks/{chunk.DOGMVREV.js → chunk.FUCATISJ.js} +33 -10
  463. package/dist-versioned/chunks/{chunk.QPBHKXL6.js → chunk.FWUEEHWY.js} +4 -4
  464. package/dist-versioned/chunks/{chunk.TJKIQ2ZR.js → chunk.H2XMCGBK.js} +6 -6
  465. package/dist-versioned/chunks/chunk.H7UEA2NY.js +82 -0
  466. package/dist-versioned/chunks/{chunk.A5GKQZGQ.js → chunk.HTE3DLUD.js} +3 -3
  467. package/dist-versioned/chunks/{chunk.QTQEKSJS.js → chunk.IITIHE4Z.js} +2 -2
  468. package/dist-versioned/chunks/{chunk.2EN4CJ2E.js → chunk.JTJV2AFL.js} +2 -2
  469. package/dist-versioned/chunks/{chunk.AWVURKQ3.js → chunk.K6PSDQZI.js} +9 -9
  470. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  471. package/dist-versioned/chunks/{chunk.U5L4ZATG.js → chunk.KFBDKQWY.js} +6 -6
  472. package/dist-versioned/chunks/{chunk.MCUIYSD6.js → chunk.KS2U7CKH.js} +3 -3
  473. package/dist-versioned/chunks/{chunk.S253T7LE.js → chunk.KUFA6W6P.js} +12 -12
  474. package/dist-versioned/chunks/{chunk.YBAAPYHP.js → chunk.LWQJ57CH.js} +15 -15
  475. package/dist-versioned/chunks/{chunk.KHS7FSFX.js → chunk.MEJBDCOK.js} +6 -6
  476. package/dist-versioned/chunks/{chunk.QP27BG3Y.js → chunk.OSB344JT.js} +2 -2
  477. package/dist-versioned/chunks/{chunk.FWDG6KMC.js → chunk.OTS2TILR.js} +2 -2
  478. package/dist-versioned/chunks/{chunk.AAK5STGD.js → chunk.OV64576E.js} +3 -3
  479. package/dist-versioned/chunks/{chunk.22DM7THN.js → chunk.PCW75LUJ.js} +3 -3
  480. package/dist-versioned/chunks/{chunk.63D5DO3S.js → chunk.PUZMRDRJ.js} +3 -3
  481. package/dist-versioned/chunks/{chunk.Q4HWX7FF.js → chunk.Q5Z4C6HX.js} +6 -6
  482. package/dist-versioned/chunks/{chunk.ATKLZZWE.js → chunk.SA3RNF6V.js} +3 -3
  483. package/dist-versioned/chunks/{chunk.SJZCQ5SU.js → chunk.SNMM5N5T.js} +14 -14
  484. package/dist-versioned/chunks/{chunk.XRKSJCLQ.js → chunk.TJ25B2BK.js} +8 -8
  485. package/dist-versioned/chunks/{chunk.YGHO5R3O.js → chunk.TJSVPPLH.js} +4 -4
  486. package/dist-versioned/chunks/{chunk.VDSIXERI.js → chunk.UIJDENWT.js} +3 -3
  487. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  488. package/dist-versioned/chunks/{chunk.NYOWE72U.js → chunk.VELQG4FG.js} +2 -2
  489. package/dist-versioned/chunks/{chunk.6KCL3YWT.js → chunk.VJRTQGCU.js} +4 -4
  490. package/dist-versioned/chunks/{chunk.PKG3F2KC.js → chunk.VVVV5UPF.js} +2 -2
  491. package/dist-versioned/chunks/{chunk.QVNC3EJB.js → chunk.VW5P7PCS.js} +2 -2
  492. package/dist-versioned/chunks/{chunk.W6RMEFFR.js → chunk.WGE2DGAT.js} +3 -3
  493. package/dist-versioned/chunks/{chunk.4D5SPJ27.js → chunk.X6JCFJHB.js} +2 -2
  494. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  495. package/dist-versioned/chunks/{chunk.WUB4VSXU.js → chunk.Y7FP242S.js} +3 -3
  496. package/dist-versioned/chunks/{chunk.OWYDTY46.js → chunk.YRMXXHY5.js} +3 -3
  497. package/dist-versioned/chunks/{chunk.3CUXBZXY.js → chunk.ZYCUZKFW.js} +2 -2
  498. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  499. package/dist-versioned/components/accordion/accordion.js +3 -3
  500. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  501. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  502. package/dist-versioned/components/animation/animation.d.ts +1 -1
  503. package/dist-versioned/components/animation/animation.js +2 -2
  504. package/dist-versioned/components/audio/audio.d.ts +1 -1
  505. package/dist-versioned/components/audio/audio.js +6 -6
  506. package/dist-versioned/components/badge/badge.d.ts +1 -1
  507. package/dist-versioned/components/badge/badge.js +2 -2
  508. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  509. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  510. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  511. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  512. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  513. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  514. package/dist-versioned/components/button/button.d.ts +1 -1
  515. package/dist-versioned/components/button/button.js +3 -3
  516. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  517. package/dist-versioned/components/button-group/button-group.js +2 -2
  518. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  519. package/dist-versioned/components/carousel/carousel.js +4 -4
  520. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  521. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  522. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  523. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  524. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  525. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  526. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  527. package/dist-versioned/components/combobox/combobox.js +5 -5
  528. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  529. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  530. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  531. package/dist-versioned/components/dialog/dialog.js +5 -5
  532. package/dist-versioned/components/divider/divider.d.ts +1 -1
  533. package/dist-versioned/components/divider/divider.js +2 -2
  534. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  535. package/dist-versioned/components/drawer/drawer.js +5 -5
  536. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  537. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  538. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  539. package/dist-versioned/components/expandable/expandable.js +3 -3
  540. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  541. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  542. package/dist-versioned/components/header/header.d.ts +1 -1
  543. package/dist-versioned/components/header/header.js +2 -2
  544. package/dist-versioned/components/icon/icon.d.ts +1 -1
  545. package/dist-versioned/components/icon/icon.js +2 -2
  546. package/dist-versioned/components/include/include.d.ts +1 -1
  547. package/dist-versioned/components/include/include.js +2 -2
  548. package/dist-versioned/components/input/input.d.ts +2 -1
  549. package/dist-versioned/components/input/input.js +3 -3
  550. package/dist-versioned/components/link/link.d.ts +1 -1
  551. package/dist-versioned/components/link/link.js +2 -2
  552. package/dist-versioned/components/loader/loader.d.ts +1 -1
  553. package/dist-versioned/components/loader/loader.js +2 -2
  554. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  555. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  556. package/dist-versioned/components/menu/menu.d.ts +1 -1
  557. package/dist-versioned/components/menu/menu.js +2 -2
  558. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  559. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  560. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  561. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  562. package/dist-versioned/components/notification/notification.d.ts +1 -1
  563. package/dist-versioned/components/notification/notification.js +5 -5
  564. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  565. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  566. package/dist-versioned/components/option/option.d.ts +1 -1
  567. package/dist-versioned/components/option/option.js +3 -3
  568. package/dist-versioned/components/popup/popup.d.ts +1 -1
  569. package/dist-versioned/components/popup/popup.js +2 -2
  570. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  571. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  572. package/dist-versioned/components/radio/radio.d.ts +1 -1
  573. package/dist-versioned/components/radio/radio.js +2 -2
  574. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  575. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  576. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  577. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  578. package/dist-versioned/components/range/range.d.ts +1 -1
  579. package/dist-versioned/components/range/range.js +2 -2
  580. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  581. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  582. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  583. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  584. package/dist-versioned/components/select/select.d.ts +1 -1
  585. package/dist-versioned/components/select/select.js +5 -5
  586. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  587. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  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 +3 -3
  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 +2 -2
  598. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  599. package/dist-versioned/components/tab-group/tab-group.js +3 -3
  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 +3 -3
  604. package/dist-versioned/components/teaser/teaser.js +2 -2
  605. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  606. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  607. package/dist-versioned/components/textarea/textarea.js +3 -3
  608. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  609. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  610. package/dist-versioned/components/video/video.d.ts +1 -1
  611. package/dist-versioned/components/video/video.js +3 -3
  612. package/dist-versioned/custom-elements.json +272 -248
  613. package/dist-versioned/internal/form.js +3 -3
  614. package/dist-versioned/solid-components.css +2 -2
  615. package/dist-versioned/solid-components.js +61 -61
  616. package/dist-versioned/utilities/autocomplete-config.js +2 -2
  617. package/dist-versioned/vscode.html-custom-data.json +99 -94
  618. package/dist-versioned/web-types.json +173 -163
  619. package/package.json +2 -2
  620. package/cdn/chunks/chunk.M6XINJ52.js +0 -25
  621. package/cdn/chunks/chunk.TDRPE2QQ.js +0 -1
  622. package/cdn-versioned/chunks/chunk.M6XINJ52.js +0 -25
  623. package/cdn-versioned/chunks/chunk.TDRPE2QQ.js +0 -1
  624. package/dist/chunks/chunk.RZLBIMEH.js +0 -82
  625. package/dist-versioned/chunks/chunk.RZLBIMEH.js +0 -82
@@ -1 +1 @@
1
- import"./chunks/chunk.HAL7R4WT.js";import{a as ee}from"./chunks/chunk.EIGW4PKE.js";import{a as oe}from"./chunks/chunk.6QNQMWSQ.js";import{a as ae}from"./chunks/chunk.SQ7OLI7Q.js";import{a as fe}from"./chunks/chunk.CEVVDV52.js";import{a as U}from"./chunks/chunk.MMM4IMJD.js";import{a as W}from"./chunks/chunk.YVU7BES7.js";import{a as X}from"./chunks/chunk.75UMJKQC.js";import{a as Y}from"./chunks/chunk.23JJBCLW.js";import{a as Z}from"./chunks/chunk.PCAKJGIV.js";import{a as _}from"./chunks/chunk.TFKNNQ5S.js";import{a as $}from"./chunks/chunk.ZKBX734R.js";import{a as V}from"./chunks/chunk.4HEDUSC5.js";import"./chunks/chunk.IVHEBGOY.js";import{a as j}from"./chunks/chunk.N4RSYGAV.js";import{a as q}from"./chunks/chunk.6XOV6LQS.js";import{a as y}from"./chunks/chunk.LLJ2OCGM.js";import{a as z}from"./chunks/chunk.CARQ25VA.js";import{a as J}from"./chunks/chunk.5GPPZUNF.js";import{a as K}from"./chunks/chunk.7SJXKLVN.js";import{a as N}from"./chunks/chunk.2YMJV2KL.js";import{a as O}from"./chunks/chunk.ZZAPDP7V.js";import{a as P}from"./chunks/chunk.72JQHJ3G.js";import{a as E}from"./chunks/chunk.OPMX2Q3A.js";import{a as H}from"./chunks/chunk.FYOUHXBZ.js";import{a as Q}from"./chunks/chunk.OCIA2UJP.js";import{a as F}from"./chunks/chunk.XAIFQKHV.js";import{a as R}from"./chunks/chunk.TDRPE2QQ.js";import{a as h}from"./chunks/chunk.OIOXSZHI.js";import{a as A}from"./chunks/chunk.RCMXIAQV.js";import{a as w}from"./chunks/chunk.TTG6Y6QJ.js";import{a as v}from"./chunks/chunk.4THKQ4PC.js";import"./chunks/chunk.HJ4O4XQA.js";import"./chunks/chunk.Y3GIPFVP.js";import{a as L}from"./chunks/chunk.H7I6O5HE.js";import{a as M}from"./chunks/chunk.7FMD6ZWC.js";import{a as g}from"./chunks/chunk.37O5FAM6.js";import"./chunks/chunk.635MGLIZ.js";import{a as I}from"./chunks/chunk.W2JKI6K3.js";import{a as k}from"./chunks/chunk.OQSPWMNR.js";import{a as B}from"./chunks/chunk.4USO2EJG.js";import{a as C}from"./chunks/chunk.BV42CEWL.js";import{a as D}from"./chunks/chunk.ROIKKEJQ.js";import{a as G}from"./chunks/chunk.EIRHQEOO.js";import{a as i}from"./chunks/chunk.KVJJEMOI.js";import"./chunks/chunk.LIO6LMTQ.js";import"./chunks/chunk.4SX3FTTZ.js";import{a as n}from"./chunks/chunk.RIOXBQBC.js";import{a as T}from"./chunks/chunk.2RPN4LHN.js";import"./chunks/chunk.US3OB3XU.js";import{a as b}from"./chunks/chunk.QJFZKBPG.js";import{a as c}from"./chunks/chunk.QJAN6R4E.js";import"./chunks/chunk.EJI65G6N.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.MGCXOSRH.js";import{a as m}from"./chunks/chunk.ZENM3WVO.js";import{a as l}from"./chunks/chunk.Z4V7WPTW.js";import{a as x}from"./chunks/chunk.HXUQZXCZ.js";import"./chunks/chunk.CTOV3B4T.js";import{a as s}from"./chunks/chunk.NTP4LLF3.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as S}from"./chunks/chunk.2D3B6W4C.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.7NHEEBDB.js";import{a as o}from"./chunks/chunk.QJVPLDR4.js";import{a as r}from"./chunks/chunk.ADTHFKFC.js";import"./chunks/chunk.XR2KNB36.js";import{a as p}from"./chunks/chunk.AKJ7U3Y3.js";import{a as f}from"./chunks/chunk.H3W4J4F4.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.3PTWVC7K.js";import{a as t}from"./chunks/chunk.PIAYQI7K.js";import"./chunks/chunk.NRBNWX7R.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.CHU57RUD.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.PVM2WKMA.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as e}from"./chunks/chunk.YMTUR575.js";import"./chunks/chunk.BOIDC3L5.js";import"./chunks/chunk.D6LAH53B.js";import{d as re,e as te}from"./chunks/chunk.LXHLWQH7.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.MHPHKNZ5.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.YEDQWNIV.js";import{a as de}from"./chunks/chunk.L6MCOH7T.js";import"./chunks/chunk.CIAY7P3F.js";import"./chunks/chunk.2PZOUYOE.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.M6XINJ52.js";import"./chunks/chunk.RZUTJ36B.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{de as LocalizeController,o as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,m as SdBreadcrumb,x as SdBreadcrumbItem,d as SdButton,s as SdCarousel,S as SdCarouselItem,i as SdCheckbox,n as SdCheckboxGroup,T as SdCombobox,g as SdDatepicker,I as SdDialog,k as SdDivider,f as SdDrawer,B as SdDropdown,C as SdExpandable,D as SdFlipcard,G as SdHeader,e as SdIcon,M as SdInclude,R as SdInput,h as SdLink,t as SdLoader,A as SdMapMarker,w as SdMenu,v as SdMenuItem,L as SdNavigationItem,N as SdNotification,O as SdOptgroup,P as SdOption,c as SdPopup,E as SdQuickfact,F as SdRadio,H as SdRadioButton,Q as SdRadioGroup,V as SdRange,j as SdRangeTick,q as SdScrollable,y as SdSelect,z as SdSkeleton,J as SdSpinner,K as SdStep,U as SdStepGroup,W as SdSwitch,X as SdTab,Y as SdTabGroup,Z as SdTabPanel,b as SdTag,_ as SdTeaser,$ as SdTeaserMedia,ee as SdTextarea,oe as SdTooltip,ae as SdVideo,re as registerIconLibrary,fe as setupAutocomplete,te as unregisterIconLibrary};
1
+ import"./chunks/chunk.HAL7R4WT.js";import{a as ee}from"./chunks/chunk.CB5UZBO7.js";import{a as oe}from"./chunks/chunk.OALWSM3O.js";import{a as ae}from"./chunks/chunk.QY52MD43.js";import{a as fe}from"./chunks/chunk.CEVVDV52.js";import{a as U}from"./chunks/chunk.F53EIQNF.js";import{a as W}from"./chunks/chunk.77ILLS4Y.js";import{a as X}from"./chunks/chunk.NHRDKMJ2.js";import{a as Y}from"./chunks/chunk.EJ53UZAH.js";import{a as Z}from"./chunks/chunk.PL3XERRG.js";import{a as _}from"./chunks/chunk.R3MXPZLV.js";import{a as $}from"./chunks/chunk.VFQHNBSI.js";import{a as V}from"./chunks/chunk.B3KOELSU.js";import"./chunks/chunk.IVHEBGOY.js";import{a as j}from"./chunks/chunk.A3JIHNSA.js";import{a as q}from"./chunks/chunk.JBCMRE2B.js";import{a as y}from"./chunks/chunk.3IIXXHDU.js";import{a as z}from"./chunks/chunk.6AAU7PWL.js";import{a as J}from"./chunks/chunk.6VP2ZCAS.js";import{a as K}from"./chunks/chunk.AIKEEW3O.js";import{a as N}from"./chunks/chunk.2EALHLXK.js";import{a as O}from"./chunks/chunk.XC3BXXLT.js";import{a as P}from"./chunks/chunk.YVT3NH6Q.js";import{a as E}from"./chunks/chunk.VFHY6JH5.js";import{a as H}from"./chunks/chunk.UYOW77KV.js";import{a as Q}from"./chunks/chunk.B3VZW2ML.js";import{a as F}from"./chunks/chunk.HQ24LF7U.js";import{a as R}from"./chunks/chunk.CBKOYO75.js";import{a as h}from"./chunks/chunk.WXCWIGGA.js";import{a as A}from"./chunks/chunk.IFFIHJ7H.js";import{a as w}from"./chunks/chunk.74MFKQVH.js";import{a as v}from"./chunks/chunk.TAGI2L4O.js";import"./chunks/chunk.HJ4O4XQA.js";import"./chunks/chunk.Y3GIPFVP.js";import{a as L}from"./chunks/chunk.RA443RIU.js";import{a as M}from"./chunks/chunk.JRAB7FGM.js";import{a as g}from"./chunks/chunk.JFW27V4M.js";import"./chunks/chunk.635MGLIZ.js";import{a as I}from"./chunks/chunk.VT6UO2RZ.js";import{a as k}from"./chunks/chunk.CBHHJZN6.js";import{a as B}from"./chunks/chunk.GL6UZCPR.js";import{a as C}from"./chunks/chunk.ONID6Y4B.js";import{a as D}from"./chunks/chunk.2RB56T64.js";import{a as G}from"./chunks/chunk.P4PCDJDP.js";import{a as i}from"./chunks/chunk.N3DPICKQ.js";import"./chunks/chunk.LIO6LMTQ.js";import"./chunks/chunk.4SX3FTTZ.js";import{a as n}from"./chunks/chunk.5U7KWI7D.js";import{a as T}from"./chunks/chunk.DQZCD222.js";import"./chunks/chunk.US3OB3XU.js";import{a as b}from"./chunks/chunk.26UUKTU3.js";import{a as c}from"./chunks/chunk.7VPHQARL.js";import"./chunks/chunk.EJI65G6N.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.QRBNZ6PN.js";import{a as l}from"./chunks/chunk.XG5NB6MH.js";import{a as m}from"./chunks/chunk.QA4IMHPN.js";import{a as x}from"./chunks/chunk.5QEHHAZM.js";import"./chunks/chunk.QHA5FHZ4.js";import{a as s}from"./chunks/chunk.P27UO4F7.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as S}from"./chunks/chunk.U46CUDX6.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.GQDFOCWS.js";import{a as o}from"./chunks/chunk.RB7JD5HX.js";import{a as r}from"./chunks/chunk.554VRD5O.js";import"./chunks/chunk.XR2KNB36.js";import{a as p}from"./chunks/chunk.D522QBIA.js";import{a as f}from"./chunks/chunk.PUVBXT4E.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.Y2W5QWC2.js";import{a as t}from"./chunks/chunk.5RICNJCU.js";import"./chunks/chunk.NRBNWX7R.js";import"./chunks/chunk.CGQ2BPPZ.js";import"./chunks/chunk.CHU57RUD.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.PVM2WKMA.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as e}from"./chunks/chunk.XSWG5G46.js";import"./chunks/chunk.BOIDC3L5.js";import"./chunks/chunk.D6LAH53B.js";import{d as re,e as te}from"./chunks/chunk.LXHLWQH7.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.MHPHKNZ5.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.YEDQWNIV.js";import{a as de}from"./chunks/chunk.L6MCOH7T.js";import"./chunks/chunk.CIAY7P3F.js";import"./chunks/chunk.2PZOUYOE.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.WWJY5MSS.js";import"./chunks/chunk.RZUTJ36B.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{de as LocalizeController,o as SdAccordion,a as SdAccordionGroup,r as SdAnimation,p as SdAudio,u as SdBadge,l as SdBrandshape,m as SdBreadcrumb,x as SdBreadcrumbItem,d as SdButton,s as SdCarousel,S as SdCarouselItem,i as SdCheckbox,n as SdCheckboxGroup,T as SdCombobox,g as SdDatepicker,I as SdDialog,k as SdDivider,f as SdDrawer,B as SdDropdown,C as SdExpandable,D as SdFlipcard,G as SdHeader,e as SdIcon,M as SdInclude,R as SdInput,h as SdLink,t as SdLoader,A as SdMapMarker,w as SdMenu,v as SdMenuItem,L as SdNavigationItem,N as SdNotification,O as SdOptgroup,P as SdOption,c as SdPopup,E as SdQuickfact,F as SdRadio,H as SdRadioButton,Q as SdRadioGroup,V as SdRange,j as SdRangeTick,q as SdScrollable,y as SdSelect,z as SdSkeleton,J as SdSpinner,K as SdStep,U as SdStepGroup,W as SdSwitch,X as SdTab,Y as SdTabGroup,Z as SdTabPanel,b as SdTag,_ as SdTeaser,$ as SdTeaserMedia,ee as SdTextarea,oe as SdTooltip,ae as SdVideo,re as registerIconLibrary,fe as setupAutocomplete,te as unregisterIconLibrary};
@@ -1 +1 @@
1
- import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.QJAN6R4E.js";import"../chunks/chunk.YEDQWNIV.js";import"../chunks/chunk.M6XINJ52.js";import"../chunks/chunk.RZUTJ36B.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.7VPHQARL.js";import"../chunks/chunk.YEDQWNIV.js";import"../chunks/chunk.WWJY5MSS.js";import"../chunks/chunk.RZUTJ36B.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
@@ -1383,7 +1383,7 @@
1383
1383
  },
1384
1384
  {
1385
1385
  "name": "sd-input",
1386
- "description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\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 - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
1386
+ "description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\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 - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **form-control-floating-label** - The floating label text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
1387
1387
  "attributes": [
1388
1388
  {
1389
1389
  "name": "type",
@@ -1517,6 +1517,11 @@
1517
1517
  "description": "Makes the input a required field.",
1518
1518
  "values": []
1519
1519
  },
1520
+ {
1521
+ "name": "floating-label",
1522
+ "description": "Enables the floating label behavior for the input.",
1523
+ "values": []
1524
+ },
1520
1525
  {
1521
1526
  "name": "pattern",
1522
1527
  "description": "A regular expression pattern to validate input against.",
@@ -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.17.1",
4
+ "version": "5.17.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -3284,7 +3284,7 @@
3284
3284
  },
3285
3285
  {
3286
3286
  "name": "sd-input",
3287
- "description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\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 - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
3287
+ "description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\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 - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **form-control-floating-label** - The floating label text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
3288
3288
  "doc-url": "",
3289
3289
  "attributes": [
3290
3290
  {
@@ -3402,6 +3402,11 @@
3402
3402
  "description": "Makes the input a required field.",
3403
3403
  "value": { "type": "boolean", "default": "false" }
3404
3404
  },
3405
+ {
3406
+ "name": "floating-label",
3407
+ "description": "Enables the floating label behavior for the input.",
3408
+ "value": { "type": "boolean", "default": "false" }
3409
+ },
3405
3410
  {
3406
3411
  "name": "pattern",
3407
3412
  "description": "A regular expression pattern to validate input against.",
@@ -3636,6 +3641,11 @@
3636
3641
  "description": "Makes the input a required field.",
3637
3642
  "type": "boolean"
3638
3643
  },
3644
+ {
3645
+ "name": "floatingLabel",
3646
+ "description": "Enables the floating label behavior for the input.",
3647
+ "type": "boolean"
3648
+ },
3639
3649
  {
3640
3650
  "name": "pattern",
3641
3651
  "description": "A regular expression pattern to validate input against.",
@@ -1 +1 @@
1
- import{a as s}from"./chunk.CHU57RUD.js";import{a as o,b as l}from"./chunk.PVM2WKMA.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.L6MCOH7T.js";import{a as h,b as i,d as p,h as a}from"./chunk.M6XINJ52.js";import{b as m}from"./chunk.RZUTJ36B.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.localize=new u(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":n("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable&&!t?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-17-1-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-17-1-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,m`:host{display:inline-block;transition-duration:.15s;transition-duration:var(--sd-duration-fast,.15s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([size=lg])::part(removable-indicator){font-size:var(--sd-font-size-base,1rem)}:host([size=sm])::part(removable-indicator){font-size:.75rem}`],r([p("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-5-17-1-tag")],e);export{e as a};
1
+ import{a as s}from"./chunk.CHU57RUD.js";import{a as o,b as l}from"./chunk.PVM2WKMA.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.L6MCOH7T.js";import{a as h,b as i,d as p,h as a}from"./chunk.WWJY5MSS.js";import{b as m}from"./chunk.RZUTJ36B.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.localize=new u(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":n("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable&&!t?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-17-3-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-17-3-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,m`:host{display:inline-block;transition-duration:.15s;transition-duration:var(--sd-duration-fast,.15s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([size=lg])::part(removable-indicator){font-size:var(--sd-font-size-base,1rem)}:host([size=sm])::part(removable-indicator){font-size:.75rem}`],r([p("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-5-17-3-tag")],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.YEDQWNIV.js";import{a as H}from"./chunk.L6MCOH7T.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.M6XINJ52.js";import{b as k,e as p}from"./chunk.RZUTJ36B.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-17-1-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-17-1-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-17-1-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-17-1-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-17-1-icon></sd-5-17-1-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-17-1-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.YEDQWNIV.js";import{a as H}from"./chunk.L6MCOH7T.js";import{a as f}from"./chunk.E2DRD2OX.js";import{a as T,b as a,d as u,h as w}from"./chunk.WWJY5MSS.js";import{b as k,e as p}from"./chunk.RZUTJ36B.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-17-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-17-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-17-3-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-17-3-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-17-3-icon></sd-5-17-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-17-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 +1 @@
1
- import{a as l}from"./chunk.CHU57RUD.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as c,b as e,c as m,d as o,h as n}from"./chunk.M6XINJ52.js";import{b as s,e as d}from"./chunk.RZUTJ36B.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.flipDirection="horizontal";this.placement="top";this.frontVariant="primary";this.backVariant="primary";this.activeSide="front"}connectedCallback(){super.connectedCallback()}flipFront(){this.activeSide="back",this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),setTimeout(()=>{this.back.focus()})}flipBack(){this.activeSide="front",this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),setTimeout(()=>{this.front.focus()})}handleFrontKeydown(a){a.code==="Enter"&&this.front===a.target&&this.flipFront()}handleBackKeydown(a){a.code==="Enter"&&this.back===a.target&&this.flipBack()}render(){return d`<div part="base" class="${r("flip-card relative h-full w-full")}"><div part="front" tabindex="0" aria-hidden="${this.activeSide==="back"}" inert="${l(this.activeSide==="back"||void 0)}" class="${r("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.frontVariant==="primary"&&"bg-primary",this.frontVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-front" class="${r("absolute h-full w-full -z-20",(this.frontVariant==="primary"||this.frontVariant==="primary-100")&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${r("flex",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.frontVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"><slot name="front"></slot></div><div part="front-secondary-gradient" class="${r("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.frontVariant])}"></div><sd-5-17-1-button part="front-button" size="md" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.frontVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.frontVariant]}" class="${r("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-5-17-1-icon library="_internal" name="reload" label="Flip to Back"></sd-5-17-1-icon></sd-5-17-1-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide==="front"}" inert="${l(this.activeSide==="front"||void 0)}" class="${r("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.backVariant==="primary"&&"bg-primary",this.backVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-back" class="${r("absolute h-full w-full -z-20",(this.backVariant==="primary"||this.backVariant==="primary-100")&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${r("flex",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.backVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${r("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.backVariant])}"></div><sd-5-17-1-button size="md" part="back-button" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.backVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.backVariant]}" class="${r("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-5-17-1-icon library="_internal" name="reload" label="Flip to Front"></sd-5-17-1-icon></sd-5-17-1-button></div></div>`}};t.styles=[...n.styles,s`:host{aspect-ratio:3/4;display:block;--name:"";--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.4 1 0}`],i([o('[part="front"]')],t.prototype,"front",2),i([o('[part="back"]')],t.prototype,"back",2),i([e({reflect:!0,attribute:"flip-direction"})],t.prototype,"flipDirection",2),i([e({reflect:!0})],t.prototype,"placement",2),i([e({type:String,reflect:!0,attribute:"front-variant"})],t.prototype,"frontVariant",2),i([e({type:String,reflect:!0,attribute:"back-variant"})],t.prototype,"backVariant",2),i([m()],t.prototype,"activeSide",2),t=i([c("sd-5-17-1-flipcard")],t);export{t as a};
1
+ import{a as l}from"./chunk.CHU57RUD.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as c,b as e,c as m,d as o,h as n}from"./chunk.WWJY5MSS.js";import{b as s,e as d}from"./chunk.RZUTJ36B.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.flipDirection="horizontal";this.placement="top";this.frontVariant="primary";this.backVariant="primary";this.activeSide="front"}connectedCallback(){super.connectedCallback()}flipFront(){this.activeSide="back",this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),setTimeout(()=>{this.back.focus()})}flipBack(){this.activeSide="front",this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),setTimeout(()=>{this.front.focus()})}handleFrontKeydown(a){a.code==="Enter"&&this.front===a.target&&this.flipFront()}handleBackKeydown(a){a.code==="Enter"&&this.back===a.target&&this.flipBack()}render(){return d`<div part="base" class="${r("flip-card relative h-full w-full")}"><div part="front" tabindex="0" aria-hidden="${this.activeSide==="back"}" inert="${l(this.activeSide==="back"||void 0)}" class="${r("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.frontVariant==="primary"&&"bg-primary",this.frontVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-front" class="${r("absolute h-full w-full -z-20",(this.frontVariant==="primary"||this.frontVariant==="primary-100")&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${r("flex",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.frontVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"><slot name="front"></slot></div><div part="front-secondary-gradient" class="${r("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.frontVariant])}"></div><sd-5-17-3-button part="front-button" size="md" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.frontVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.frontVariant]}" class="${r("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-5-17-3-icon library="_internal" name="reload" label="Flip to Back"></sd-5-17-3-icon></sd-5-17-3-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide==="front"}" inert="${l(this.activeSide==="front"||void 0)}" class="${r("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left",this.backVariant==="primary"&&"bg-primary",this.backVariant==="primary-100"&&"bg-primary-100",this.placement==="top"?"flex-col":"flex-col-reverse",this.flipDirection==="vertical"&&"vertical")}"><div part="media-back" class="${r("absolute h-full w-full -z-20",(this.backVariant==="primary"||this.backVariant==="primary-100")&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${r("flex",{primary:"text-white","primary-100":"text-black","gradient-light":"text-black","gradient-dark":"text-white"}[this.backVariant],{primary:"","primary-100":"","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/75 to-white/60":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/75 to-primary-800/60":"bg-gradient-to-b from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${r("flip-card__gradient",{primary:"mb-auto","primary-100":"mb-auto","gradient-light":this.placement==="top"?"bg-gradient-to-b from-white/60 to-white/0 mb-auto":"bg-gradient-to-t from-white/60 to-white/0 mt-auto","gradient-dark":this.placement==="bottom"?"bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto":"bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"}[this.backVariant])}"></div><sd-5-17-3-button size="md" part="back-button" variant="${{primary:"tertiary","primary-100":"tertiary","gradient-light":"primary","gradient-dark":"primary"}[this.backVariant]}" ?inverted="${{primary:!0,"primary-100":!1,"gradient-light":!0,"gradient-dark":!0}[this.backVariant]}" class="${r("absolute right-0 p-2 flex-shrink-0",this.placement==="top"?"bottom-0":"top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-5-17-3-icon library="_internal" name="reload" label="Flip to Front"></sd-5-17-3-icon></sd-5-17-3-button></div></div>`}};t.styles=[...n.styles,s`:host{aspect-ratio:3/4;display:block;--name:"";--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.4 1 0}`],i([o('[part="front"]')],t.prototype,"front",2),i([o('[part="back"]')],t.prototype,"back",2),i([e({reflect:!0,attribute:"flip-direction"})],t.prototype,"flipDirection",2),i([e({reflect:!0})],t.prototype,"placement",2),i([e({type:String,reflect:!0,attribute:"front-variant"})],t.prototype,"frontVariant",2),i([e({type:String,reflect:!0,attribute:"back-variant"})],t.prototype,"backVariant",2),i([m()],t.prototype,"activeSide",2),t=i([c("sd-5-17-3-flipcard")],t);export{t as a};
@@ -1,11 +1,11 @@
1
- import{a as M}from"./chunk.EJI65G6N.js";import{c as I}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.NRBNWX7R.js";import{a as L}from"./chunk.CGQ2BPPZ.js";import{a as w,c as O}from"./chunk.SKUMYG4O.js";import{a as C}from"./chunk.KLRPP4NQ.js";import{a as D}from"./chunk.BOIDC3L5.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as k}from"./chunk.L6MCOH7T.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as $,b as a,c as u,d as c,g as E,h as x}from"./chunk.M6XINJ52.js";import{b as T,e as p}from"./chunk.RZUTJ36B.js";import{b as g,e as y}from"./chunk.6OTM3PE5.js";import{e as s}from"./chunk.TJOCV4DC.js";var i=class extends x{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-5-17-1-input"]});this.hasSlotController=new L(this,"help-text","label");this.localize=new k(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-5-17-1-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as M}from"./chunk.EJI65G6N.js";import{c as I}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.NRBNWX7R.js";import{a as L}from"./chunk.CGQ2BPPZ.js";import{a as w,c as O}from"./chunk.SKUMYG4O.js";import{a as C}from"./chunk.KLRPP4NQ.js";import{a as D}from"./chunk.BOIDC3L5.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as k}from"./chunk.L6MCOH7T.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as $,b as a,c as u,d as c,g as E,h as x}from"./chunk.WWJY5MSS.js";import{b as T,e as p}from"./chunk.RZUTJ36B.js";import{b as g,e as y}from"./chunk.6OTM3PE5.js";import{e as s}from"./chunk.TJOCV4DC.js";var i=class extends x{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-5-17-3-input"]});this.hasSlotController=new L(this,"help-text","label");this.localize=new k(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-5-17-3-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
5
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-5-17-1-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-5-17-1-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let h=this.getAllOptions(),n=h.indexOf(this.currentOption),r=Math.max(0,n);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(r=n+1,r>h.length-1&&(r=0)):t.key==="ArrowUp"?(r=n-1,r<0&&(r=h.length-1)):t.key==="Home"?r=0:t.key==="End"&&(r=h.length-1),this.setCurrentOption(h[r],t)}if(t.key.length===1||t.key==="Backspace"){let h=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let n of h)if(n.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(n);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,h;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let n=(o=t.currentTarget)==null?void 0:o.parentElement,r=(l=n==null?void 0:n.previousElementSibling)==null?void 0:l.querySelector("sd-5-17-1-tag"),m=(h=n==null?void 0:n.nextElementSibling)==null?void 0:h.querySelector("sd-5-17-1-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{m?m.focus():r?r.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-5-17-1-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-5-17-1-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-5-17-1-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-5-17-1-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-5-17-1-option")]}getFirstOption(){return this.querySelector("sd-5-17-1-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}">${typeof o=="string"?D(o):o}</div>`}return[p``]}):[p`<sd-5-17-1-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
5
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-5-17-3-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-5-17-3-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let h=this.getAllOptions(),n=h.indexOf(this.currentOption),r=Math.max(0,n);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(r=n+1,r>h.length-1&&(r=0)):t.key==="ArrowUp"?(r=n-1,r<0&&(r=h.length-1)):t.key==="Home"?r=0:t.key==="End"&&(r=h.length-1),this.setCurrentOption(h[r],t)}if(t.key.length===1||t.key==="Backspace"){let h=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let n of h)if(n.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(n);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,h;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let n=(o=t.currentTarget)==null?void 0:o.parentElement,r=(l=n==null?void 0:n.previousElementSibling)==null?void 0:l.querySelector("sd-5-17-3-tag"),m=(h=n==null?void 0:n.nextElementSibling)==null?void 0:h.querySelector("sd-5-17-3-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{m?m.focus():r?r.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-5-17-3-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-5-17-3-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-5-17-3-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-5-17-3-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-5-17-3-option")]}getFirstOption(){return this.querySelector("sd-5-17-3-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}">${typeof o=="string"?D(o):o}</div>`}return[p``]}):[p`<sd-5-17-3-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
6
6
  base:tag__base,
7
7
  content:tag__content,
8
8
  removable-indicator:tag__removable-indicator,
9
- " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-17-1-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-5-17-1-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await y(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=O(this,"select.show",{dir:this.localize.dir()});await g(this.popup.popup,t,e),this.currentOption&&I(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await y(this);let{keyframes:t,options:e}=O(this,"select.hide",{dir:this.localize.dir()});await g(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){if(this.selectedOptions.length===(Array.isArray(this.value)?this.value.length:1))return;let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,C(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,C(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,h=!!t.tooltip,n=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",r=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",m={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],f={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",r,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e||h?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${d("relative w-full bg-white",n==="disabled"?"text-neutral-500":"text-black")}"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 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"}[n],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-5-17-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
9
+ " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-17-3-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-5-17-3-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await y(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=O(this,"select.show",{dir:this.localize.dir()});await g(this.popup.popup,t,e),this.currentOption&&I(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await y(this);let{keyframes:t,options:e}=O(this,"select.hide",{dir:this.localize.dir()});await g(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){if(this.selectedOptions.length===(Array.isArray(this.value)?this.value.length:1))return;let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,C(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,C(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,h=!!t.tooltip,n=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",r=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",m={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],f={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",r,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e||h?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${d("relative w-full bg-white",n==="disabled"?"text-neutral-500":"text-black")}"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 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"}[n],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-5-17-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div class="${d("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200")}" slot="anchor"><div class="${d("input-container flex items-center w-full h-full px-4",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size])}"><input name="${this.name}" form="${this.form}" part="display-input" class="${d("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder-neutral-700",r,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder||this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags?p`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(v=>v==null?void 0:v.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",r)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${d("select__clear flex justify-center",m,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-17-1-icon class="${d("text-neutral-700 z-10",f)}" library="_internal" name="closing-round"></sd-5-17-1-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-5-17-1-icon part="invalid-icon" class="${d(m,f,"text-error")}" library="_internal" name="risk"></sd-5-17-1-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-5-17-1-icon part="valid-icon" class="${d("flex-shrink-0 text-success",m,f)}" library="_internal" name="confirm-circle"></sd-5-17-1-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${d("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}"><sd-5-17-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-17-1-icon></slot></div><button part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",r,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-17-1-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};i.styles=[...x.styles,T`:host{display:block;position:relative;width:var(--sd-spacing-auto,auto)}:host([required]) #label:after{content:" *"}: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))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-17-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-17-1-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-5-17-1-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-17-1-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-17-1-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`],s([E({selector:"sd-5-17-1-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-5-17-1-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([M()],i.prototype,"defaultValue",2),s([a({type:Boolean,reflect:!0})],i.prototype,"open",2),s([a({type:String,reflect:!0})],i.prototype,"size",2),s([a({type:String,reflect:!0})],i.prototype,"placement",2),s([a({type:String,reflect:!0})],i.prototype,"label",2),s([a({type:String,reflect:!0})],i.prototype,"placeholder",2),s([a({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([a({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([a({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([a({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([a({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([a({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([a({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([a({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([a({reflect:!0})],i.prototype,"form",2),s([a({reflect:!0})],i.prototype,"name",2),s([a({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([a({type:Boolean,reflect:!0})],i.prototype,"required",2),s([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([a({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([a()],i.prototype,"getTag",2),s([b("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([b(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([b("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([b("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([b("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),i=s([$("sd-5-17-1-select")],i);w("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});w("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
11
+ "><div class="${d("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200")}" slot="anchor"><div class="${d("input-container flex items-center w-full h-full px-4",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size])}"><input name="${this.name}" form="${this.form}" part="display-input" class="${d("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder-neutral-700",r,this.multiple&&this.useTags&&this.value.length>0?"hidden":"")}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder||this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags?p`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(v=>v==null?void 0:v.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",r)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${d("select__clear flex justify-center",m,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-17-3-icon class="${d("text-neutral-700 z-10",f)}" library="_internal" name="closing-round"></sd-5-17-3-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-5-17-3-icon part="invalid-icon" class="${d(m,f,"text-error")}" library="_internal" name="risk"></sd-5-17-3-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-5-17-3-icon part="valid-icon" class="${d("flex-shrink-0 text-success",m,f)}" library="_internal" name="confirm-circle"></sd-5-17-3-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${d("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",f)}"><sd-5-17-3-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-17-3-icon></slot></div><button part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",r,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-17-3-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};i.styles=[...x.styles,T`:host{display:block;position:relative;width:var(--sd-spacing-auto,auto)}:host([required]) #label:after{content:" *"}: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))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-17-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-17-3-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-5-17-3-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-17-3-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-17-3-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`],s([E({selector:"sd-5-17-3-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-5-17-3-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([M()],i.prototype,"defaultValue",2),s([a({type:Boolean,reflect:!0})],i.prototype,"open",2),s([a({type:String,reflect:!0})],i.prototype,"size",2),s([a({type:String,reflect:!0})],i.prototype,"placement",2),s([a({type:String,reflect:!0})],i.prototype,"label",2),s([a({type:String,reflect:!0})],i.prototype,"placeholder",2),s([a({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([a({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([a({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([a({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([a({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([a({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([a({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([a({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([a({reflect:!0})],i.prototype,"form",2),s([a({reflect:!0})],i.prototype,"name",2),s([a({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([a({type:Boolean,reflect:!0})],i.prototype,"required",2),s([a({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([a({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([a()],i.prototype,"getTag",2),s([b("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([b(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([b("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([b("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([b("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),i=s([$("sd-5-17-3-select")],i);w("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});w("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i 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.M6XINJ52.js";import{b as c,e as d}from"./chunk.RZUTJ36B.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-17-1-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.WWJY5MSS.js";import{b as c,e as d}from"./chunk.RZUTJ36B.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-17-3-animation")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as h}from"./chunk.CHU57RUD.js";import{a as f}from"./chunk.L6MCOH7T.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as o,b as r,d as c,h as i}from"./chunk.M6XINJ52.js";import{b as a,e as l}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends i{constructor(){super(...arguments);this.localize=new f(this);this.href="";this.current=!1}handleCurrentChange(){var n,s;!this.base||!this.current||(s=(n=this.base.shadowRoot)==null?void 0:n.querySelector("a"))==null||s.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return l`<sd-5-17-1-link part="base" href="${h(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-5-17-1-link>`}};t.styles=[...i.styles,a`:host{align-items:center;display:inline-flex}sd-5-17-1-link::part(base){align-items:center}sd-5-17-1-link::part(icon-left){display:inline-flex;margin-right:var(--sd-spacing-0,0)}sd-5-17-1-link sd-5-17-1-icon{margin:var(--sd-spacing-0,0)}:host([current]) sd-5-17-1-link::part(base){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity,1))}:host([current]) sd-5-17-1-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-5-17-1-breadcrumb-item")],t);export{t as a};
1
+ import{a as h}from"./chunk.CHU57RUD.js";import{a as f}from"./chunk.L6MCOH7T.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as o,b as r,d as c,h as i}from"./chunk.WWJY5MSS.js";import{b as a,e as l}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends i{constructor(){super(...arguments);this.localize=new f(this);this.href="";this.current=!1}handleCurrentChange(){var n,s;!this.base||!this.current||(s=(n=this.base.shadowRoot)==null?void 0:n.querySelector("a"))==null||s.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return l`<sd-5-17-3-link part="base" href="${h(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-5-17-3-link>`}};t.styles=[...i.styles,a`:host{align-items:center;display:inline-flex}sd-5-17-3-link::part(base){align-items:center}sd-5-17-3-link::part(icon-left){display:inline-flex;margin-right:var(--sd-spacing-0,0)}sd-5-17-3-link sd-5-17-3-icon{margin:var(--sd-spacing-0,0)}:host([current]) sd-5-17-3-link::part(base){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity,1))}:host([current]) sd-5-17-3-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-5-17-3-breadcrumb-item")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as e}from"./chunk.YEDQWNIV.js";import{a as m}from"./chunk.L6MCOH7T.js";import{a,b as c,h as i}from"./chunk.M6XINJ52.js";import{b as l,e as o}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var r=class extends i{constructor(){super(...arguments);this.color="currentColor";this.localize=new m(this)}render(){return o`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};r.styles=[...i.styles,l`:host{display:inline-block;height:1em;width:1em}.dot:nth-child(2){animation-delay:.1s}.dot:first-child{animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-5-17-1-loader")],r);export{r as a};
1
+ import{a as e}from"./chunk.YEDQWNIV.js";import{a as m}from"./chunk.L6MCOH7T.js";import{a,b as c,h as i}from"./chunk.WWJY5MSS.js";import{b as l,e as o}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var r=class extends i{constructor(){super(...arguments);this.color="currentColor";this.localize=new m(this)}render(){return o`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};r.styles=[...i.styles,l`:host{display:inline-block;height:1em;width:1em}.dot:nth-child(2){animation-delay:.1s}.dot:first-child{animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-5-17-3-loader")],r);export{r as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.M6XINJ52.js";import{b as m,e as s}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-5-17-1-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-5-17-1-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-5-17-1-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-17-1-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-17-1-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-17-1-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-17-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-17-1-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-17-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-5-17-1-checkbox-group")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.WWJY5MSS.js";import{b as m,e as s}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-5-17-3-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-5-17-3-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-5-17-3-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-17-3-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-17-3-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-17-3-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-17-3-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-17-3-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-17-3-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-5-17-3-checkbox-group")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk.YEDQWNIV.js";import{a as i,b as s,h as e}from"./chunk.M6XINJ52.js";import{b as l,e as a}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var r=class extends e{constructor(){super(...arguments);this.variant="rectangular"}render(){return a`<div part="base" aria-hidden="true" class="${o("bg-neutral-200 w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};r.styles=[...e.styles,l`:host{display:block}::slotted(*){visibility:hidden}`],t([s({type:String,reflect:!0})],r.prototype,"variant",2),r=t([i("sd-5-17-1-skeleton")],r);export{r as a};
1
+ import{a as o}from"./chunk.YEDQWNIV.js";import{a as i,b as s,h as e}from"./chunk.WWJY5MSS.js";import{b as l,e as a}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var r=class extends e{constructor(){super(...arguments);this.variant="rectangular"}render(){return a`<div part="base" aria-hidden="true" class="${o("bg-neutral-200 w-full h-full animate-pulse",{rectangular:"rounded-sm",circular:"rounded-full inline-block"}[this.variant])}"><slot></slot></div>`}};r.styles=[...e.styles,l`:host{display:block}::slotted(*){visibility:hidden}`],t([s({type:String,reflect:!0})],r.prototype,"variant",2),r=t([i("sd-5-17-3-skeleton")],r);export{r as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.L6MCOH7T.js";import{a as i,b as s,h as l}from"./chunk.M6XINJ52.js";import{b as t,e as o}from"./chunk.RZUTJ36B.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-17-1-spinner")],e);export{e as a};
1
+ import{a as m}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.L6MCOH7T.js";import{a as i,b as s,h as l}from"./chunk.WWJY5MSS.js";import{b as t,e as o}from"./chunk.RZUTJ36B.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-17-3-spinner")],e);export{e as a};
@@ -1 +1 @@
1
- import{a as g}from"./chunk.L6MCOH7T.js";import{a as p,d as f,h as u}from"./chunk.M6XINJ52.js";import{b as c,e as h}from"./chunk.RZUTJ36B.js";import{e as d}from"./chunk.TJOCV4DC.js";var i=class extends u{constructor(){super(...arguments);this.localize=new g(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(e){let t=["menuitem","menuitemcheckbox"],n=e.composedPath(),r=n.find(s=>{var m;return t.includes(((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))||"")});if(!r||n.find(s=>{var m;return((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))==="menu"})!==this)return;let a=r;a.type==="checkbox"&&(a.checked=!a.checked),this.emit("sd-select",{detail:{item:a}})}handleKeyDown(e){if(e.key==="Enter"||e.key===" "){let t=this.getCurrentItem();e.preventDefault(),e.stopPropagation(),t==null||t.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){let t=this.getAllItems(),n=this.getCurrentItem(),r=n?t.indexOf(n):0;if(t.length>0){e.preventDefault(),e.stopPropagation();let l=(o,a)=>{let s=o;for(let m of t)if(s=(s+a+t.length)%t.length,!t[s].disabled)return s;return o};if(e.key==="ArrowDown")r=l(r,1);else if(e.key==="ArrowUp")r=l(r,-1);else if(e.key==="Home")r=t.findIndex(o=>!o.disabled),r===-1&&(r=0);else if(e.key==="End"){r=t.length-1;for(let o=t.length-1;o>=0;o--)if(!t[o].disabled){r=o;break}}this.setCurrentItem(t[r]),t[r].focus()}}}handleMouseDown(e){let t=e.target;this.isMenuItem(t)&&this.setCurrentItem(t)}handleSlotChange(){let e=this.getAllItems();e.length>0&&this.setCurrentItem(e[0])}isMenuItem(e){var t;return e.tagName.toLowerCase()==="sd-5-17-1-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((t=e.getAttribute("role"))!=null?t:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(e=>!!this.isMenuItem(e))}getCurrentItem(){return this.getAllItems().find(e=>e.getAttribute("tabindex")==="0")}setCurrentItem(e){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};i.styles=[...u.styles,c`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-17-1-divider){padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}`],d([f("slot")],i.prototype,"defaultSlot",2),i=d([p("sd-5-17-1-menu")],i);export{i as a};
1
+ import{a as g}from"./chunk.L6MCOH7T.js";import{a as p,d as f,h as u}from"./chunk.WWJY5MSS.js";import{b as c,e as h}from"./chunk.RZUTJ36B.js";import{e as d}from"./chunk.TJOCV4DC.js";var i=class extends u{constructor(){super(...arguments);this.localize=new g(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(e){let t=["menuitem","menuitemcheckbox"],n=e.composedPath(),r=n.find(s=>{var m;return t.includes(((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))||"")});if(!r||n.find(s=>{var m;return((m=s==null?void 0:s.getAttribute)==null?void 0:m.call(s,"role"))==="menu"})!==this)return;let a=r;a.type==="checkbox"&&(a.checked=!a.checked),this.emit("sd-select",{detail:{item:a}})}handleKeyDown(e){if(e.key==="Enter"||e.key===" "){let t=this.getCurrentItem();e.preventDefault(),e.stopPropagation(),t==null||t.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){let t=this.getAllItems(),n=this.getCurrentItem(),r=n?t.indexOf(n):0;if(t.length>0){e.preventDefault(),e.stopPropagation();let l=(o,a)=>{let s=o;for(let m of t)if(s=(s+a+t.length)%t.length,!t[s].disabled)return s;return o};if(e.key==="ArrowDown")r=l(r,1);else if(e.key==="ArrowUp")r=l(r,-1);else if(e.key==="Home")r=t.findIndex(o=>!o.disabled),r===-1&&(r=0);else if(e.key==="End"){r=t.length-1;for(let o=t.length-1;o>=0;o--)if(!t[o].disabled){r=o;break}}this.setCurrentItem(t[r]),t[r].focus()}}}handleMouseDown(e){let t=e.target;this.isMenuItem(t)&&this.setCurrentItem(t)}handleSlotChange(){let e=this.getAllItems();e.length>0&&this.setCurrentItem(e[0])}isMenuItem(e){var t;return e.tagName.toLowerCase()==="sd-5-17-3-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((t=e.getAttribute("role"))!=null?t:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(e=>!!this.isMenuItem(e))}getCurrentItem(){return this.getAllItems().find(e=>e.getAttribute("tabindex")==="0")}setCurrentItem(e){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};i.styles=[...u.styles,c`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-17-3-divider){padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}`],d([f("slot")],i.prototype,"defaultSlot",2),i=d([p("sd-5-17-3-menu")],i);export{i as a};
@@ -1,3 +1,3 @@
1
- import{a as f}from"./chunk.LIO6LMTQ.js";import{a as b}from"./chunk.EJI65G6N.js";import{b as c}from"./chunk.NRBNWX7R.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as m}from"./chunk.CHU57RUD.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.E2DRD2OX.js";import{a as h,b as l,c as u,d as s,h as n}from"./chunk.M6XINJ52.js";import{b as d,e as i}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new c(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,v)=>r.checked=v});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return i`<div class="flex flex-row items-center gap-2"><label part="base" class="${o("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${f(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${o(`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
1
+ import{a as f}from"./chunk.LIO6LMTQ.js";import{a as b}from"./chunk.EJI65G6N.js";import{b as c}from"./chunk.NRBNWX7R.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as m}from"./chunk.CHU57RUD.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.E2DRD2OX.js";import{a as h,b as l,c as u,d as s,h as n}from"./chunk.WWJY5MSS.js";import{b as d,e as i}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new c(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,v)=>r.checked=v});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return i`<div class="flex flex-row items-center gap-2"><label part="base" class="${o("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${f(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${o(`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
2
2
  peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
3
- peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:bg-accent-550 bg-accent hover:border-accent-550 group-hover:bg-accent-550":"border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${o("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"bg-white translate-x-2":this.disabled?"-translate-x-2 bg-neutral-500":this.showInvalidStyle?this.checked?"bg-white translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"bg-white translate-x-2":"bg-neutral-800 -translate-x-2")}"></span> </span><span part="label" id="label" class="${o("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?i`<slot name="tooltip"></slot>`:null}</div>${this.formControlController.renderInvalidMessage()}`}};e.styles=[...n.styles,d`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host([required]) #label:after{content:" *"}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([u()],e.prototype,"showInvalidStyle",2),t([l({type:String,reflect:!0})],e.prototype,"title",2),t([l({type:String,reflect:!0})],e.prototype,"name",2),t([l()],e.prototype,"value",2),t([l({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([l({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([l({reflect:!0})],e.prototype,"form",2),t([l({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([h("sd-5-17-1-switch")],e);export{e as a};
3
+ peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:bg-accent-550 bg-accent hover:border-accent-550 group-hover:bg-accent-550":"border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${o("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"bg-white translate-x-2":this.disabled?"-translate-x-2 bg-neutral-500":this.showInvalidStyle?this.checked?"bg-white translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"bg-white translate-x-2":"bg-neutral-800 -translate-x-2")}"></span> </span><span part="label" id="label" class="${o("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?i`<slot name="tooltip"></slot>`:null}</div>${this.formControlController.renderInvalidMessage()}`}};e.styles=[...n.styles,d`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host([required]) #label:after{content:" *"}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([u()],e.prototype,"showInvalidStyle",2),t([l({type:String,reflect:!0})],e.prototype,"title",2),t([l({type:String,reflect:!0})],e.prototype,"name",2),t([l()],e.prototype,"value",2),t([l({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([l({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([l({reflect:!0})],e.prototype,"form",2),t([l({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([h("sd-5-17-3-switch")],e);export{e as a};