@solid-design-system/components 6.9.0 → 6.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/cdn/chunks/chunk.7PW5YLJH.js +2 -0
  2. package/cdn/chunks/{chunk.O7PJIDMP.js → chunk.YWF2EYNF.js} +1 -1
  3. package/cdn/components/expandable/expandable.js +1 -1
  4. package/cdn/components/notification/notification.js +1 -1
  5. package/cdn/custom-elements.json +1 -1
  6. package/cdn/solid-components.bundle.js +4 -4
  7. package/cdn/solid-components.iife.js +2 -2
  8. package/cdn/solid-components.js +1 -1
  9. package/cdn/web-types.json +1 -1
  10. package/cdn-versioned/chunks/chunk.25DRFJMC.js +2 -2
  11. package/cdn-versioned/chunks/chunk.2TRMFN6U.js +2 -2
  12. package/cdn-versioned/chunks/chunk.2VGJBR73.js +2 -2
  13. package/cdn-versioned/chunks/chunk.34BRLWBM.js +3 -3
  14. package/cdn-versioned/chunks/chunk.3M4RKO34.js +2 -2
  15. package/cdn-versioned/chunks/chunk.3VYZIXD7.js +2 -2
  16. package/cdn-versioned/chunks/chunk.3YATPZKE.js +1 -1
  17. package/cdn-versioned/chunks/chunk.4AR6H2QH.js +2 -2
  18. package/cdn-versioned/chunks/chunk.4BMBQGU3.js +2 -2
  19. package/cdn-versioned/chunks/chunk.4NKCD6HL.js +2 -2
  20. package/cdn-versioned/chunks/chunk.4YNC3XSD.js +2 -2
  21. package/cdn-versioned/chunks/chunk.6MUTKG7S.js +2 -2
  22. package/cdn-versioned/chunks/chunk.6UVLIGA7.js +1 -1
  23. package/cdn-versioned/chunks/chunk.6WZKUQIK.js +2 -2
  24. package/cdn-versioned/chunks/chunk.7PW5YLJH.js +2 -0
  25. package/cdn-versioned/chunks/chunk.AAJIGG4R.js +2 -2
  26. package/cdn-versioned/chunks/chunk.AX6IEBJ2.js +2 -2
  27. package/cdn-versioned/chunks/chunk.B35GXAKI.js +1 -1
  28. package/cdn-versioned/chunks/chunk.CRLGS4QF.js +1 -1
  29. package/cdn-versioned/chunks/chunk.DLO5GMBQ.js +2 -2
  30. package/cdn-versioned/chunks/chunk.DTAYHASV.js +2 -2
  31. package/cdn-versioned/chunks/chunk.EDWO5QHC.js +2 -2
  32. package/cdn-versioned/chunks/chunk.EFO4PKGN.js +2 -2
  33. package/cdn-versioned/chunks/chunk.G4KULB76.js +2 -2
  34. package/cdn-versioned/chunks/chunk.GEGKRESG.js +1 -1
  35. package/cdn-versioned/chunks/chunk.GIP7V3SN.js +2 -2
  36. package/cdn-versioned/chunks/chunk.H3DQRUKN.js +2 -2
  37. package/cdn-versioned/chunks/chunk.HE5IYQC2.js +2 -2
  38. package/cdn-versioned/chunks/chunk.JAV26Y4S.js +2 -2
  39. package/cdn-versioned/chunks/chunk.JSZK2BUE.js +2 -2
  40. package/cdn-versioned/chunks/chunk.LBHLY2UU.js +2 -2
  41. package/cdn-versioned/chunks/chunk.LYNWHGS3.js +2 -2
  42. package/cdn-versioned/chunks/chunk.MV77IJ5K.js +5 -5
  43. package/cdn-versioned/chunks/chunk.N3QINXLL.js +2 -2
  44. package/cdn-versioned/chunks/chunk.N7SVA6X3.js +2 -2
  45. package/cdn-versioned/chunks/chunk.NBPJQ3OT.js +2 -2
  46. package/cdn-versioned/chunks/chunk.O3ECZ2CR.js +1 -1
  47. package/cdn-versioned/chunks/chunk.OJA4LU7S.js +2 -2
  48. package/cdn-versioned/chunks/chunk.PPLEJM75.js +1 -1
  49. package/cdn-versioned/chunks/chunk.PPUIAWDA.js +1 -1
  50. package/cdn-versioned/chunks/chunk.PWJSPZBR.js +3 -3
  51. package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
  52. package/cdn-versioned/chunks/chunk.RXKIZ2UI.js +2 -2
  53. package/cdn-versioned/chunks/chunk.RZLPP7DP.js +2 -2
  54. package/cdn-versioned/chunks/chunk.SA5SIXVH.js +1 -1
  55. package/cdn-versioned/chunks/chunk.TEPKQR4P.js +5 -5
  56. package/cdn-versioned/chunks/chunk.TJA62EZW.js +2 -2
  57. package/cdn-versioned/chunks/chunk.TJZECQLN.js +2 -2
  58. package/cdn-versioned/chunks/chunk.TTU2AZHQ.js +2 -2
  59. package/cdn-versioned/chunks/chunk.V6TDPNCR.js +2 -2
  60. package/cdn-versioned/chunks/chunk.VKDXPIJT.js +2 -2
  61. package/cdn-versioned/chunks/chunk.VQBTMNY2.js +2 -2
  62. package/cdn-versioned/chunks/chunk.VTXEZEW4.js +9 -9
  63. package/cdn-versioned/chunks/chunk.VZJMYD3T.js +2 -2
  64. package/cdn-versioned/chunks/chunk.W2WCYRB2.js +2 -2
  65. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  66. package/cdn-versioned/chunks/chunk.WRCC4UIS.js +2 -2
  67. package/cdn-versioned/chunks/chunk.WXRHAPLA.js +1 -1
  68. package/cdn-versioned/chunks/chunk.XFHFUV4B.js +1 -1
  69. package/cdn-versioned/chunks/chunk.YAIU6HLJ.js +2 -2
  70. package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
  71. package/cdn-versioned/chunks/{chunk.O7PJIDMP.js → chunk.YWF2EYNF.js} +2 -2
  72. package/cdn-versioned/chunks/chunk.ZBAP3VO3.js +2 -2
  73. package/cdn-versioned/chunks/chunk.ZDHTVWJF.js +1 -1
  74. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  75. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  76. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  77. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  78. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  79. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  80. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  81. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  82. package/cdn-versioned/components/button/button.d.ts +1 -1
  83. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  84. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  85. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  86. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  87. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  88. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  89. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  90. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  91. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  92. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  93. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  94. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  95. package/cdn-versioned/components/expandable/expandable.js +1 -1
  96. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  97. package/cdn-versioned/components/header/header.d.ts +1 -1
  98. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  99. package/cdn-versioned/components/include/include.d.ts +1 -1
  100. package/cdn-versioned/components/input/input.d.ts +1 -1
  101. package/cdn-versioned/components/link/link.d.ts +1 -1
  102. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  103. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  104. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  105. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  106. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  107. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  108. package/cdn-versioned/components/notification/notification.js +1 -1
  109. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  110. package/cdn-versioned/components/option/option.d.ts +1 -1
  111. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  112. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  113. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  114. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  115. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  116. package/cdn-versioned/components/range/range.d.ts +1 -1
  117. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  118. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  119. package/cdn-versioned/components/select/select.d.ts +1 -1
  120. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  121. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  122. package/cdn-versioned/components/step/step.d.ts +1 -1
  123. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  124. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  125. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  126. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  127. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  128. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  129. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  130. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  131. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  132. package/cdn-versioned/components/video/video.d.ts +1 -1
  133. package/cdn-versioned/custom-elements.json +244 -244
  134. package/cdn-versioned/internal/form.js +3 -3
  135. package/cdn-versioned/solid-components.bundle.js +80 -80
  136. package/cdn-versioned/solid-components.css +2 -2
  137. package/cdn-versioned/solid-components.iife.js +80 -80
  138. package/cdn-versioned/solid-components.js +1 -1
  139. package/cdn-versioned/vscode.html-custom-data.json +94 -94
  140. package/cdn-versioned/web-types.json +157 -157
  141. package/dist/chunks/{chunk.JQTAMOYF.js → chunk.FHWJR5ZS.js} +1 -1
  142. package/dist/chunks/{chunk.PZQ6H5Y4.js → chunk.YXOBUWWT.js} +2 -1
  143. package/dist/components/expandable/expandable.js +1 -1
  144. package/dist/components/notification/notification.js +1 -1
  145. package/dist/custom-elements.json +1 -1
  146. package/dist/solid-components.js +2 -2
  147. package/dist/web-types.json +1 -1
  148. package/dist-versioned/chunks/chunk.2AIOG6MZ.js +1 -1
  149. package/dist-versioned/chunks/chunk.3AXFD44E.js +1 -1
  150. package/dist-versioned/chunks/chunk.47VYEPC7.js +5 -5
  151. package/dist-versioned/chunks/chunk.55DM73XI.js +1 -1
  152. package/dist-versioned/chunks/chunk.5MCEFEDU.js +2 -2
  153. package/dist-versioned/chunks/chunk.5MPE743H.js +4 -4
  154. package/dist-versioned/chunks/chunk.5OTIJW46.js +12 -12
  155. package/dist-versioned/chunks/chunk.5RQUMMVO.js +28 -28
  156. package/dist-versioned/chunks/chunk.5X6LFFKU.js +1 -1
  157. package/dist-versioned/chunks/chunk.B3QW57TB.js +26 -26
  158. package/dist-versioned/chunks/chunk.B5JP55MU.js +4 -4
  159. package/dist-versioned/chunks/chunk.C3WIBDGG.js +3 -3
  160. package/dist-versioned/chunks/chunk.CGIINI3U.js +2 -2
  161. package/dist-versioned/chunks/chunk.CPWWEXBN.js +14 -14
  162. package/dist-versioned/chunks/chunk.CTTLYNGB.js +5 -5
  163. package/dist-versioned/chunks/chunk.CYUQUE4B.js +2 -2
  164. package/dist-versioned/chunks/chunk.DILSJX2P.js +3 -3
  165. package/dist-versioned/chunks/chunk.DJEWCXYR.js +24 -24
  166. package/dist-versioned/chunks/chunk.DZ2VDJQR.js +8 -8
  167. package/dist-versioned/chunks/chunk.EJ7ZDGWQ.js +1 -1
  168. package/dist-versioned/chunks/chunk.F5SY46WN.js +5 -5
  169. package/dist-versioned/chunks/chunk.FCQKJZ3Q.js +3 -3
  170. package/dist-versioned/chunks/{chunk.JQTAMOYF.js → chunk.FHWJR5ZS.js} +3 -3
  171. package/dist-versioned/chunks/chunk.GHCI43SX.js +3 -3
  172. package/dist-versioned/chunks/chunk.GJQGI7TR.js +3 -3
  173. package/dist-versioned/chunks/chunk.GQ5YYHTD.js +4 -4
  174. package/dist-versioned/chunks/chunk.GRANIL4Q.js +6 -6
  175. package/dist-versioned/chunks/chunk.I53S7NHV.js +2 -2
  176. package/dist-versioned/chunks/chunk.IKVZ463R.js +3 -3
  177. package/dist-versioned/chunks/chunk.INHXFMS2.js +11 -11
  178. package/dist-versioned/chunks/chunk.IPCTQ6PF.js +4 -4
  179. package/dist-versioned/chunks/chunk.KCPMJRGB.js +2 -2
  180. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  181. package/dist-versioned/chunks/chunk.LIQBUDFE.js +1 -1
  182. package/dist-versioned/chunks/chunk.LZARRB2N.js +6 -6
  183. package/dist-versioned/chunks/chunk.MUI6ZGSD.js +1 -1
  184. package/dist-versioned/chunks/chunk.N6JFPCVN.js +1 -1
  185. package/dist-versioned/chunks/chunk.NHJ6T7AP.js +3 -3
  186. package/dist-versioned/chunks/chunk.NQSFAYCE.js +6 -6
  187. package/dist-versioned/chunks/chunk.OFV5F7EL.js +12 -12
  188. package/dist-versioned/chunks/chunk.PZYRZZ2R.js +3 -3
  189. package/dist-versioned/chunks/chunk.QFWRJIAT.js +1 -1
  190. package/dist-versioned/chunks/chunk.RBO5CDRH.js +8 -8
  191. package/dist-versioned/chunks/chunk.RKY7KPDX.js +3 -3
  192. package/dist-versioned/chunks/chunk.SMT5CXN7.js +5 -5
  193. package/dist-versioned/chunks/chunk.SNTZFQ72.js +5 -5
  194. package/dist-versioned/chunks/chunk.SNVCUPPA.js +2 -2
  195. package/dist-versioned/chunks/chunk.T3YIJ2AA.js +4 -4
  196. package/dist-versioned/chunks/chunk.U3G5KSOH.js +10 -10
  197. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  198. package/dist-versioned/chunks/chunk.UQT5XXVS.js +5 -5
  199. package/dist-versioned/chunks/chunk.V7GR76PZ.js +7 -7
  200. package/dist-versioned/chunks/chunk.VWORQHO2.js +4 -4
  201. package/dist-versioned/chunks/chunk.W5KWIGMY.js +8 -8
  202. package/dist-versioned/chunks/chunk.WFZUFPF7.js +2 -2
  203. package/dist-versioned/chunks/chunk.WRQJ6H5M.js +3 -3
  204. package/dist-versioned/chunks/chunk.XCFU7XC7.js +4 -4
  205. package/dist-versioned/chunks/chunk.XFYTZRFZ.js +2 -2
  206. package/dist-versioned/chunks/chunk.XPXDWU3H.js +1 -1
  207. package/dist-versioned/chunks/chunk.XRVF3H64.js +2 -2
  208. package/dist-versioned/chunks/chunk.XWLSRHC5.js +4 -4
  209. package/dist-versioned/chunks/chunk.Y5QCYID3.js +5 -5
  210. package/dist-versioned/chunks/{chunk.PZQ6H5Y4.js → chunk.YXOBUWWT.js} +11 -10
  211. package/dist-versioned/chunks/chunk.ZNJFZAOB.js +4 -4
  212. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  213. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  214. package/dist-versioned/components/animation/animation.d.ts +1 -1
  215. package/dist-versioned/components/audio/audio.d.ts +1 -1
  216. package/dist-versioned/components/badge/badge.d.ts +1 -1
  217. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  218. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  219. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  220. package/dist-versioned/components/button/button.d.ts +1 -1
  221. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  222. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  223. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  224. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  225. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  226. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  227. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  228. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  229. package/dist-versioned/components/divider/divider.d.ts +1 -1
  230. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  231. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  232. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  233. package/dist-versioned/components/expandable/expandable.js +1 -1
  234. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  235. package/dist-versioned/components/header/header.d.ts +1 -1
  236. package/dist-versioned/components/icon/icon.d.ts +1 -1
  237. package/dist-versioned/components/include/include.d.ts +1 -1
  238. package/dist-versioned/components/input/input.d.ts +1 -1
  239. package/dist-versioned/components/link/link.d.ts +1 -1
  240. package/dist-versioned/components/loader/loader.d.ts +1 -1
  241. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  242. package/dist-versioned/components/menu/menu.d.ts +1 -1
  243. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  244. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  245. package/dist-versioned/components/notification/notification.d.ts +1 -1
  246. package/dist-versioned/components/notification/notification.js +1 -1
  247. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  248. package/dist-versioned/components/option/option.d.ts +1 -1
  249. package/dist-versioned/components/popup/popup.d.ts +1 -1
  250. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  251. package/dist-versioned/components/radio/radio.d.ts +1 -1
  252. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  253. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  254. package/dist-versioned/components/range/range.d.ts +1 -1
  255. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  256. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  257. package/dist-versioned/components/select/select.d.ts +1 -1
  258. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  259. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  260. package/dist-versioned/components/step/step.d.ts +1 -1
  261. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  262. package/dist-versioned/components/switch/switch.d.ts +1 -1
  263. package/dist-versioned/components/tab/tab.d.ts +1 -1
  264. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  265. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  266. package/dist-versioned/components/tag/tag.d.ts +1 -1
  267. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  268. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  269. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  270. package/dist-versioned/components/video/video.d.ts +1 -1
  271. package/dist-versioned/custom-elements.json +244 -244
  272. package/dist-versioned/internal/form.js +3 -3
  273. package/dist-versioned/solid-components.css +2 -2
  274. package/dist-versioned/solid-components.js +2 -2
  275. package/dist-versioned/vscode.html-custom-data.json +94 -94
  276. package/dist-versioned/web-types.json +157 -157
  277. package/package.json +1 -1
  278. package/cdn/chunks/chunk.ZVCMF6VL.js +0 -2
  279. package/cdn-versioned/chunks/chunk.ZVCMF6VL.js +0 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solid-design-system/components",
3
3
  "description": "Solid Design System: Components",
4
- "version": "6.9.0",
4
+ "version": "6.9.1",
5
5
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
6
6
  "author": "Union Investment",
7
7
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.CRLGS4QF.js";import{b as v,e as u}from"./chunk.UOAG5PNU.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};$();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=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.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=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}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 u`<div part="base" class="${o("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="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("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-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-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-notification-color-border",{info:"sd-notification--info-color-background",success:"sd-notification--success-color-background",warning:"sd-notification--warning-color-background",error:"sd-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("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 sd-notification-color-border"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({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-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +0,0 @@
1
- import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.IQPMMUES.js";import{a as o}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.CRLGS4QF.js";import{b as v,e as u}from"./chunk.UOAG5PNU.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},$=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};$();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=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.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=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}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 u`<div part="base" class="${o("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="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("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-6-9-0-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-6-9-0-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-6-9-0-notification-color-border",{info:"sd-6-9-0-notification--info-color-background",success:"sd-6-9-0-notification--success-color-background",warning:"sd-6-9-0-notification--warning-color-background",error:"sd-6-9-0-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-6-9-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-6-9-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-9-0-icon></sd-6-9-0-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("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 sd-6-9-0-notification-color-border"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({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-6-9-0-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};