@solid-design-system/components 7.0.2 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/cdn/chunks/chunk.JQV2BZ2E.js +12 -0
  2. package/cdn/chunks/chunk.PEHSUZ2L.js +2 -0
  3. package/cdn/components/carousel/carousel.js +1 -1
  4. package/cdn/components/datepicker/datepicker.d.ts +4 -0
  5. package/cdn/components/datepicker/datepicker.js +1 -1
  6. package/cdn/custom-elements.json +33 -1
  7. package/cdn/solid-components.bundle.js +3 -3
  8. package/cdn/solid-components.iife.js +3 -3
  9. package/cdn/solid-components.js +1 -1
  10. package/cdn/vscode.html-custom-data.json +6 -1
  11. package/cdn/web-types.json +24 -2
  12. package/cdn-versioned/chunks/chunk.2C3UQTSS.js +2 -2
  13. package/cdn-versioned/chunks/chunk.2O3FM7UB.js +2 -2
  14. package/cdn-versioned/chunks/chunk.35XPUMS2.js +1 -1
  15. package/cdn-versioned/chunks/chunk.37JCS2XH.js +5 -5
  16. package/cdn-versioned/chunks/chunk.3IZUMERL.js +2 -2
  17. package/cdn-versioned/chunks/chunk.3RIAU3TH.js +3 -3
  18. package/cdn-versioned/chunks/chunk.4GA43M6X.js +2 -2
  19. package/cdn-versioned/chunks/chunk.4QTJXGRR.js +2 -2
  20. package/cdn-versioned/chunks/chunk.ADVB3FPU.js +2 -2
  21. package/cdn-versioned/chunks/chunk.AJGTKHU5.js +2 -2
  22. package/cdn-versioned/chunks/chunk.C37LGAL3.js +2 -2
  23. package/cdn-versioned/chunks/chunk.CGMKBGJU.js +2 -2
  24. package/cdn-versioned/chunks/chunk.CQNFI34K.js +2 -2
  25. package/cdn-versioned/chunks/chunk.DCAJAXUP.js +2 -2
  26. package/cdn-versioned/chunks/chunk.DS2MKMMN.js +3 -3
  27. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  28. package/cdn-versioned/chunks/chunk.GA3PWYR4.js +2 -2
  29. package/cdn-versioned/chunks/chunk.HNBY226D.js +1 -1
  30. package/cdn-versioned/chunks/chunk.HY624TPC.js +2 -2
  31. package/cdn-versioned/chunks/chunk.I7OVY27Y.js +10 -10
  32. package/cdn-versioned/chunks/chunk.IFLRUJCI.js +2 -2
  33. package/cdn-versioned/chunks/chunk.IQBZ7GRB.js +2 -2
  34. package/cdn-versioned/chunks/chunk.J45556RK.js +1 -1
  35. package/cdn-versioned/chunks/chunk.JMX6KLDZ.js +2 -2
  36. package/cdn-versioned/chunks/chunk.JQV2BZ2E.js +12 -0
  37. package/cdn-versioned/chunks/chunk.KE2YEQDL.js +2 -2
  38. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  39. package/cdn-versioned/chunks/chunk.MR54F6CV.js +2 -2
  40. package/cdn-versioned/chunks/chunk.MYPRMCUO.js +1 -1
  41. package/cdn-versioned/chunks/chunk.N4L76IWF.js +1 -1
  42. package/cdn-versioned/chunks/chunk.NGU7NO3O.js +5 -5
  43. package/cdn-versioned/chunks/chunk.NJKSWXOS.js +2 -2
  44. package/cdn-versioned/chunks/chunk.NOP4DTP2.js +2 -2
  45. package/cdn-versioned/chunks/chunk.OOIX4OAP.js +2 -2
  46. package/cdn-versioned/chunks/chunk.P7GMFHO5.js +1 -1
  47. package/cdn-versioned/chunks/chunk.PCXVXYU2.js +2 -2
  48. package/cdn-versioned/chunks/chunk.PEHSUZ2L.js +2 -0
  49. package/cdn-versioned/chunks/chunk.PFPUD5HR.js +2 -2
  50. package/cdn-versioned/chunks/chunk.PKCNX4R2.js +2 -2
  51. package/cdn-versioned/chunks/chunk.PQW77KHE.js +2 -2
  52. package/cdn-versioned/chunks/chunk.PURR56D5.js +2 -2
  53. package/cdn-versioned/chunks/chunk.Q63S2Z2M.js +2 -2
  54. package/cdn-versioned/chunks/chunk.QK3WCIP5.js +2 -2
  55. package/cdn-versioned/chunks/chunk.RHC6WZ6V.js +2 -2
  56. package/cdn-versioned/chunks/chunk.RRJCCIDH.js +1 -1
  57. package/cdn-versioned/chunks/chunk.SPL6VR5S.js +2 -2
  58. package/cdn-versioned/chunks/chunk.SSE7T5OF.js +2 -2
  59. package/cdn-versioned/chunks/chunk.SZNU4NHI.js +1 -1
  60. package/cdn-versioned/chunks/chunk.T7I5MFNS.js +2 -2
  61. package/cdn-versioned/chunks/chunk.TIMZJKMF.js +2 -2
  62. package/cdn-versioned/chunks/chunk.TX5WPWH2.js +2 -2
  63. package/cdn-versioned/chunks/chunk.UI3ZVKSU.js +2 -2
  64. package/cdn-versioned/chunks/chunk.V6IM4GAA.js +2 -2
  65. package/cdn-versioned/chunks/chunk.VPBXFCBA.js +2 -2
  66. package/cdn-versioned/chunks/chunk.VSX5LY2D.js +2 -2
  67. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  68. package/cdn-versioned/chunks/chunk.WL6NNNG5.js +2 -2
  69. package/cdn-versioned/chunks/chunk.WQZWYMH3.js +1 -1
  70. package/cdn-versioned/chunks/chunk.WUXX2P2S.js +2 -2
  71. package/cdn-versioned/chunks/chunk.XGVG7F7T.js +2 -2
  72. package/cdn-versioned/chunks/chunk.XHYIXZF4.js +2 -2
  73. package/cdn-versioned/chunks/chunk.XZ5JTM6K.js +2 -2
  74. package/cdn-versioned/chunks/chunk.Y4ZS3BWH.js +2 -2
  75. package/cdn-versioned/chunks/chunk.YUDSN6HJ.js +3 -3
  76. package/cdn-versioned/chunks/chunk.Z2M7BQV5.js +2 -2
  77. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  78. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  79. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  80. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  81. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  82. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  83. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  84. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  85. package/cdn-versioned/components/button/button.d.ts +1 -1
  86. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  87. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  88. package/cdn-versioned/components/carousel/carousel.js +1 -1
  89. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  90. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  91. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  92. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  93. package/cdn-versioned/components/datepicker/datepicker.d.ts +5 -1
  94. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  95. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  96. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  97. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  98. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  99. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  100. package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
  101. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  102. package/cdn-versioned/components/header/header.d.ts +1 -1
  103. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  104. package/cdn-versioned/components/include/include.d.ts +1 -1
  105. package/cdn-versioned/components/input/input.d.ts +1 -1
  106. package/cdn-versioned/components/link/link.d.ts +1 -1
  107. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  108. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  109. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  110. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  111. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  112. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  113. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  114. package/cdn-versioned/components/option/option.d.ts +1 -1
  115. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  116. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  117. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  118. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  119. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  120. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  121. package/cdn-versioned/components/range/range.d.ts +1 -1
  122. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  123. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  124. package/cdn-versioned/components/select/select.d.ts +1 -1
  125. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  126. package/cdn-versioned/components/step/step.d.ts +1 -1
  127. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  128. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  129. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  130. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  131. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  132. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  133. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  134. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  135. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  136. package/cdn-versioned/components/video/video.d.ts +1 -1
  137. package/cdn-versioned/custom-elements.json +298 -266
  138. package/cdn-versioned/internal/form.js +2 -2
  139. package/cdn-versioned/solid-components.bundle.js +81 -81
  140. package/cdn-versioned/solid-components.css +3 -3
  141. package/cdn-versioned/solid-components.iife.js +81 -81
  142. package/cdn-versioned/solid-components.js +1 -1
  143. package/cdn-versioned/vscode.html-custom-data.json +120 -115
  144. package/cdn-versioned/web-types.json +195 -173
  145. package/dist/chunks/{chunk.UDTZN5OG.js → chunk.RRSERGVO.js} +37 -2
  146. package/dist/chunks/{chunk.I46TZJHO.js → chunk.Z4IULIBO.js} +5 -5
  147. package/dist/components/carousel/carousel.js +1 -1
  148. package/dist/components/datepicker/datepicker.d.ts +4 -0
  149. package/dist/components/datepicker/datepicker.js +1 -1
  150. package/dist/custom-elements.json +33 -1
  151. package/dist/solid-components.js +2 -2
  152. package/dist/vscode.html-custom-data.json +6 -1
  153. package/dist/web-types.json +24 -2
  154. package/dist-versioned/chunks/chunk.2EXNVXP2.js +2 -2
  155. package/dist-versioned/chunks/chunk.2M6Y3YHU.js +4 -4
  156. package/dist-versioned/chunks/chunk.2NXJZVSN.js +11 -11
  157. package/dist-versioned/chunks/chunk.2OT7JZJP.js +10 -10
  158. package/dist-versioned/chunks/chunk.2Y2MTVGF.js +3 -3
  159. package/dist-versioned/chunks/chunk.3PHACHZ2.js +7 -7
  160. package/dist-versioned/chunks/chunk.42XKKRQ2.js +6 -6
  161. package/dist-versioned/chunks/chunk.4FXMBMSY.js +3 -3
  162. package/dist-versioned/chunks/chunk.4JC6XNQW.js +4 -4
  163. package/dist-versioned/chunks/chunk.4VWOZ477.js +4 -4
  164. package/dist-versioned/chunks/chunk.5JPFIM5W.js +3 -3
  165. package/dist-versioned/chunks/chunk.5TU4CAN7.js +6 -6
  166. package/dist-versioned/chunks/chunk.65FELEDA.js +3 -3
  167. package/dist-versioned/chunks/chunk.67LY7Y75.js +4 -4
  168. package/dist-versioned/chunks/chunk.6F52A4JB.js +3 -3
  169. package/dist-versioned/chunks/chunk.72LCNWVE.js +3 -3
  170. package/dist-versioned/chunks/chunk.7DQB3MN6.js +7 -7
  171. package/dist-versioned/chunks/chunk.7EXDALNL.js +5 -5
  172. package/dist-versioned/chunks/chunk.AHIYNPL4.js +1 -1
  173. package/dist-versioned/chunks/chunk.ALJ34SPY.js +4 -4
  174. package/dist-versioned/chunks/chunk.B5BWUIZC.js +2 -2
  175. package/dist-versioned/chunks/chunk.BW5BXFWA.js +5 -5
  176. package/dist-versioned/chunks/chunk.C3L34J75.js +1 -1
  177. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  178. package/dist-versioned/chunks/chunk.C4HDZU75.js +2 -2
  179. package/dist-versioned/chunks/chunk.CB7PF3MZ.js +6 -6
  180. package/dist-versioned/chunks/chunk.CXFXIMXV.js +13 -13
  181. package/dist-versioned/chunks/chunk.DF2LZ65H.js +2 -2
  182. package/dist-versioned/chunks/chunk.DGLSKBZE.js +3 -3
  183. package/dist-versioned/chunks/chunk.DZED227Y.js +1 -1
  184. package/dist-versioned/chunks/chunk.EQIZ7J5Z.js +25 -25
  185. package/dist-versioned/chunks/chunk.ES5DW7MC.js +2 -2
  186. package/dist-versioned/chunks/chunk.HFRDUE6W.js +11 -11
  187. package/dist-versioned/chunks/chunk.I3DVEGNB.js +11 -11
  188. package/dist-versioned/chunks/chunk.JKJXDDJU.js +3 -3
  189. package/dist-versioned/chunks/chunk.JPGYEMXS.js +2 -2
  190. package/dist-versioned/chunks/chunk.JXDY64LH.js +10 -10
  191. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  192. package/dist-versioned/chunks/chunk.KSU44YSO.js +7 -7
  193. package/dist-versioned/chunks/chunk.KXUT6UJL.js +2 -2
  194. package/dist-versioned/chunks/chunk.MPHRXV2B.js +1 -1
  195. package/dist-versioned/chunks/chunk.N5RQE7OC.js +1 -1
  196. package/dist-versioned/chunks/chunk.PAXRRXRW.js +4 -4
  197. package/dist-versioned/chunks/chunk.PGECK7YI.js +1 -1
  198. package/dist-versioned/chunks/chunk.QGCJ4WUV.js +5 -5
  199. package/dist-versioned/chunks/chunk.QIYLIH7P.js +5 -5
  200. package/dist-versioned/chunks/chunk.QNHUD2SQ.js +42 -42
  201. package/dist-versioned/chunks/{chunk.UDTZN5OG.js → chunk.RRSERGVO.js} +46 -11
  202. package/dist-versioned/chunks/chunk.S2ZVBJYN.js +5 -5
  203. package/dist-versioned/chunks/chunk.SEWHXNAY.js +5 -5
  204. package/dist-versioned/chunks/chunk.SG7H3CVK.js +12 -12
  205. package/dist-versioned/chunks/chunk.SMRP2JEM.js +1 -1
  206. package/dist-versioned/chunks/chunk.TFAIMBF7.js +11 -11
  207. package/dist-versioned/chunks/chunk.TLAI6IVF.js +2 -2
  208. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  209. package/dist-versioned/chunks/chunk.UORTR6WB.js +5 -5
  210. package/dist-versioned/chunks/chunk.VX7JXCCH.js +2 -2
  211. package/dist-versioned/chunks/chunk.XAU2YS2A.js +5 -5
  212. package/dist-versioned/chunks/chunk.XQMBT64Z.js +8 -8
  213. package/dist-versioned/chunks/chunk.YJ46MX3X.js +6 -6
  214. package/dist-versioned/chunks/chunk.YKGIJFJM.js +23 -23
  215. package/dist-versioned/chunks/chunk.YRKHHYV5.js +2 -2
  216. package/dist-versioned/chunks/{chunk.I46TZJHO.js → chunk.Z4IULIBO.js} +15 -15
  217. package/dist-versioned/chunks/chunk.ZLPWCNY6.js +14 -14
  218. package/dist-versioned/chunks/chunk.ZQ6CXL6H.js +5 -5
  219. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  220. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  221. package/dist-versioned/components/animation/animation.d.ts +1 -1
  222. package/dist-versioned/components/audio/audio.d.ts +1 -1
  223. package/dist-versioned/components/badge/badge.d.ts +1 -1
  224. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  225. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  226. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  227. package/dist-versioned/components/button/button.d.ts +1 -1
  228. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  229. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  230. package/dist-versioned/components/carousel/carousel.js +1 -1
  231. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  232. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  233. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  234. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  235. package/dist-versioned/components/datepicker/datepicker.d.ts +5 -1
  236. package/dist-versioned/components/datepicker/datepicker.js +1 -1
  237. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  238. package/dist-versioned/components/divider/divider.d.ts +1 -1
  239. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  240. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  241. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  242. package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
  243. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  244. package/dist-versioned/components/header/header.d.ts +1 -1
  245. package/dist-versioned/components/icon/icon.d.ts +1 -1
  246. package/dist-versioned/components/include/include.d.ts +1 -1
  247. package/dist-versioned/components/input/input.d.ts +1 -1
  248. package/dist-versioned/components/link/link.d.ts +1 -1
  249. package/dist-versioned/components/loader/loader.d.ts +1 -1
  250. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  251. package/dist-versioned/components/menu/menu.d.ts +1 -1
  252. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  253. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  254. package/dist-versioned/components/notification/notification.d.ts +1 -1
  255. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  256. package/dist-versioned/components/option/option.d.ts +1 -1
  257. package/dist-versioned/components/popup/popup.d.ts +1 -1
  258. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  259. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  260. package/dist-versioned/components/radio/radio.d.ts +1 -1
  261. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  262. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  263. package/dist-versioned/components/range/range.d.ts +1 -1
  264. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  265. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  266. package/dist-versioned/components/select/select.d.ts +1 -1
  267. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  268. package/dist-versioned/components/step/step.d.ts +1 -1
  269. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  270. package/dist-versioned/components/switch/switch.d.ts +1 -1
  271. package/dist-versioned/components/tab/tab.d.ts +1 -1
  272. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  273. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  274. package/dist-versioned/components/tag/tag.d.ts +1 -1
  275. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  276. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  277. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  278. package/dist-versioned/components/video/video.d.ts +1 -1
  279. package/dist-versioned/custom-elements.json +298 -266
  280. package/dist-versioned/internal/form.js +2 -2
  281. package/dist-versioned/solid-components.css +3 -3
  282. package/dist-versioned/solid-components.js +2 -2
  283. package/dist-versioned/vscode.html-custom-data.json +120 -115
  284. package/dist-versioned/web-types.json +195 -173
  285. package/package.json +3 -3
  286. package/cdn/chunks/chunk.5SQTIWWY.js +0 -12
  287. package/cdn/chunks/chunk.7OG7ICBB.js +0 -2
  288. package/cdn-versioned/chunks/chunk.5SQTIWWY.js +0 -12
  289. package/cdn-versioned/chunks/chunk.7OG7ICBB.js +0 -2
@@ -62,6 +62,7 @@ var SdDatepicker = class extends SolidElement {
62
62
  this.visuallyDisabled = false;
63
63
  this.styleOnValid = false;
64
64
  this.readonly = false;
65
+ this.clearable = false;
65
66
  this.placement = "bottom";
66
67
  this.placeholder = "";
67
68
  this.name = "";
@@ -79,6 +80,8 @@ var SdDatepicker = class extends SolidElement {
79
80
  this.inputValue = "";
80
81
  /** Internal flag used when tabbing from header into grid to pick initial tabbable day. */
81
82
  this.tabbingIntoGrid = false;
83
+ /** Internal flag used when clearing to keep the restored focus from opening the calendar. */
84
+ this.clearing = false;
82
85
  /** Bump counter ensuring live region text updates are recognized. */
83
86
  this.statusBumpCounter = 0;
84
87
  this.onFocusOut = (ev) => {
@@ -941,13 +944,37 @@ var SdDatepicker = class extends SolidElement {
941
944
  event.preventDefault();
942
945
  if (!this.open) this.show();
943
946
  }
947
+ preventLoosingFocus(event) {
948
+ event.stopPropagation();
949
+ event.preventDefault();
950
+ }
951
+ handleClearClick(event) {
952
+ event.stopPropagation();
953
+ if (!this.inputValue) return;
954
+ this.value = null;
955
+ this.rangeStart = null;
956
+ this.rangeEnd = null;
957
+ this.previewEnd = null;
958
+ this.inputValue = "";
959
+ this.showInvalidStyle = false;
960
+ this.showValidStyle = false;
961
+ this.input.setCustomValidity("");
962
+ this.clearing = true;
963
+ this.input.focus({ preventScroll: true });
964
+ this.clearing = false;
965
+ this.updateComplete.then(() => {
966
+ this.input.value = "";
967
+ this.formControlController.updateValidity();
968
+ this.emit("sd-clear");
969
+ });
970
+ }
944
971
  handleBlur() {
945
972
  this.hasFocus = false;
946
973
  this.emit("sd-blur");
947
974
  }
948
975
  handleFocus() {
949
976
  this.hasFocus = true;
950
- if (!this.open && !this.disabled && !this.visuallyDisabled && !this.readonly) {
977
+ if (!this.open && !this.clearing && !this.disabled && !this.visuallyDisabled && !this.readonly) {
951
978
  this.show();
952
979
  }
953
980
  this.emit("sd-focus");
@@ -1357,6 +1384,7 @@ var SdDatepicker = class extends SolidElement {
1357
1384
  const hasHelpText = this.helpText ? true : !!slots["helpText"];
1358
1385
  const hasTooltip = !!slots["tooltip"];
1359
1386
  const hasValue = this.value !== null && String(this.value).length > 0 || this.range && this.rangeStart !== null || this.rangeEnd !== null;
1387
+ const hasClearIcon = this.clearable && !this.readonly && !this.disabled && !this.visuallyDisabled;
1360
1388
  const isFloatingLabelActive = this.floatingLabel && hasLabel && (this.hasFocus || this.open || hasValue) && !this.disabled && !this.visuallyDisabled;
1361
1389
  const iconColor = this.disabled || this.visuallyDisabled ? "text-neutral-500" : "icon-color";
1362
1390
  const iconMarginLeft = { sm: "ml-1", md: "ml-2", lg: "ml-2" }[this.size];
@@ -1414,7 +1442,11 @@ var SdDatepicker = class extends SolidElement {
1414
1442
  { sm: "h-8", md: "h-10", lg: "h-12" }[this.size],
1415
1443
  textSize,
1416
1444
  this.floatingLabel && "mt-4"
1417
- )}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel || isFloatingLabelActive ? this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder") : ""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly || this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle ? html`<sd-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-icon class="${cx("text-success shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>` : ""}<sd-icon class="${cx(iconColor, iconMarginLeft, iconSize, "hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.handleCalendarIconClick}"></sd-icon></div>${this.renderCalendar()}</sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx(
1445
+ )}" autocomplete="off" spellcheck="false" placeholder="${!this.floatingLabel || isFloatingLabelActive ? this.placeholder || this.localize.term(this.range ? "dateRangePlaceholder" : "datePlaceholder") : ""}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly || this.visuallyDisabled}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
1446
+ "flex justify-center",
1447
+ iconMarginLeft,
1448
+ this.inputValue.length > 0 ? "visible" : "invisible"
1449
+ )}" type="button" aria-label="${this.localize.term("clearEntry")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}"><slot name="clear-icon"><sd-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="close-circle"></sd-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-icon class="${cx("text-success shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>` : ""}<sd-icon class="${cx(iconColor, iconMarginLeft, iconSize, "hover:cursor-pointer")}" library="_internal" name="calendar" @click="${this.handleCalendarIconClick}"></sd-icon></div>${this.renderCalendar()}</sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx(
1418
1450
  "text-sm mt-1",
1419
1451
  hasHelpText ? "block" : "hidden",
1420
1452
  this.visuallyDisabled || this.disabled ? "text-neutral-500" : "text-neutral-700"
@@ -1495,6 +1527,9 @@ __decorateClass([
1495
1527
  __decorateClass([
1496
1528
  property({ type: Boolean, reflect: true })
1497
1529
  ], SdDatepicker.prototype, "readonly", 2);
1530
+ __decorateClass([
1531
+ property({ type: Boolean, reflect: true })
1532
+ ], SdDatepicker.prototype, "clearable", 2);
1498
1533
  __decorateClass([
1499
1534
  property({ type: String, reflect: true })
1500
1535
  ], SdDatepicker.prototype, "placement", 2);
@@ -71,8 +71,8 @@ var SdCarousel = class extends SolidElement {
71
71
  this.localize = new LocalizeController(this);
72
72
  this.userInteracted = false;
73
73
  this.fadeController = new FadeController(this);
74
- this.handleUserInteraction = () => {
75
- this.userInteracted = true;
74
+ this.handleUserInteraction = (e) => {
75
+ this.userInteracted = e.type === "keydown";
76
76
  };
77
77
  this.handleSlotChange = (mutations) => {
78
78
  const needsInitialization = mutations.some(
@@ -93,7 +93,7 @@ var SdCarousel = class extends SolidElement {
93
93
  }
94
94
  connectedCallback() {
95
95
  super.connectedCallback();
96
- ["click", "keydown"].forEach((event) => this.addEventListener(event, this.handleUserInteraction));
96
+ ["mousedown", "keydown"].forEach((event) => this.addEventListener(event, this.handleUserInteraction));
97
97
  this.addEventListener("focusin", this.handleFocus);
98
98
  this.addEventListener("focusout", this.handleBlur);
99
99
  this.addEventListener("keydown", this.handleKeyDown);
@@ -121,7 +121,7 @@ var SdCarousel = class extends SolidElement {
121
121
  super.disconnectedCallback();
122
122
  this.intersectionObserver.disconnect();
123
123
  this.mutationObserver.disconnect();
124
- ["click", "keydown"].forEach((event) => this.removeEventListener(event, this.handleUserInteraction));
124
+ ["mousedown", "keydown"].forEach((event) => this.removeEventListener(event, this.handleUserInteraction));
125
125
  this.removeEventListener("focusin", this.handleFocus);
126
126
  this.removeEventListener("focusout", this.handleBlur);
127
127
  this.removeEventListener("keydown", this.handleKeyDown);
@@ -497,7 +497,7 @@ var SdCarousel = class extends SolidElement {
497
497
  "block cursor-pointer bg-none border-0 rounded-full",
498
498
  isActive ? "bg-accent" : "",
499
499
  this.inverted ? "focus-within:focus-outline-inverted" : "focus-within:focus-outline"
500
- )}" role="tab" tabindex="0" aria-selected="${isActive ? "true" : "false"}" aria-label="${this.localize.term("goToSlide", index + 1, pagesCount)}" @click="${(e) => {
500
+ )}" role="tab" tabindex="0" aria-selected="${isActive ? "true" : "false"}" aria-label="${this.localize.term("goToSlide", index + 1, pagesCount)}" @mousedown="${(e) => e.preventDefault()}" @click="${(e) => {
501
501
  this.goToSlide(index * slidesPerMove);
502
502
  this.unblockAutoplay(e, this.paginationItems[index]);
503
503
  }}"><span class="${cx(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdCarousel
3
- } from "../../chunks/chunk.I46TZJHO.js";
3
+ } from "../../chunks/chunk.Z4IULIBO.js";
4
4
  import "../../chunks/chunk.W2YDXTG5.js";
5
5
  import "../../chunks/chunk.6RE6UZ72.js";
6
6
  import "../../chunks/chunk.UVI5HHLF.js";
@@ -32,6 +32,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
32
32
  visuallyDisabled: boolean;
33
33
  styleOnValid: boolean;
34
34
  readonly: boolean;
35
+ clearable: boolean;
35
36
  placement: 'top' | 'bottom';
36
37
  placeholder: string;
37
38
  name: string;
@@ -52,6 +53,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
52
53
  invalidMessage: HTMLDivElement;
53
54
  input: HTMLInputElement;
54
55
  private tabbingIntoGrid;
56
+ private clearing;
55
57
  private statusBumpCounter;
56
58
  constructor();
57
59
  connectedCallback(): void;
@@ -100,6 +102,8 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
100
102
  private onFocusIn;
101
103
  private handleMouseDown;
102
104
  private handleCalendarIconClick;
105
+ private preventLoosingFocus;
106
+ private handleClearClick;
103
107
  private handleBlur;
104
108
  private handleFocus;
105
109
  private handleInput;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdDatepicker
3
- } from "../../chunks/chunk.UDTZN5OG.js";
3
+ } from "../../chunks/chunk.RRSERGVO.js";
4
4
  import "../../chunks/chunk.A4LR62QO.js";
5
5
  import "../../chunks/chunk.TJ2FFWLY.js";
6
6
  import "../../chunks/chunk.72LCNWVE.js";
@@ -6520,6 +6520,10 @@
6520
6520
  {
6521
6521
  "description": "The help text, displayed below the input.",
6522
6522
  "name": "form-control-help-text"
6523
+ },
6524
+ {
6525
+ "description": "The clear button.",
6526
+ "name": "clear-button"
6523
6527
  }
6524
6528
  ],
6525
6529
  "slots": [
@@ -6538,6 +6542,10 @@
6538
6542
  {
6539
6543
  "description": "The tooltip icon and content.",
6540
6544
  "name": "tooltip"
6545
+ },
6546
+ {
6547
+ "description": "An icon to use in lieu of the default clear icon.",
6548
+ "name": "clear-icon"
6541
6549
  }
6542
6550
  ],
6543
6551
  "members": [
@@ -6793,6 +6801,17 @@
6793
6801
  "attribute": "readonly",
6794
6802
  "reflects": true
6795
6803
  },
6804
+ {
6805
+ "kind": "field",
6806
+ "name": "clearable",
6807
+ "type": {
6808
+ "text": "boolean"
6809
+ },
6810
+ "default": "false",
6811
+ "description": "Adds a clear button when the datepicker is not empty.",
6812
+ "attribute": "clearable",
6813
+ "reflects": true
6814
+ },
6796
6815
  {
6797
6816
  "kind": "field",
6798
6817
  "name": "placement",
@@ -6997,6 +7016,10 @@
6997
7016
  {
6998
7017
  "description": "Emitted when the year is changed.",
6999
7018
  "name": "sd-month-year"
7019
+ },
7020
+ {
7021
+ "description": "Emitted when the clear button is activated.",
7022
+ "name": "sd-clear"
7000
7023
  }
7001
7024
  ],
7002
7025
  "attributes": [
@@ -7198,6 +7221,15 @@
7198
7221
  "description": "Makes the input read-only (non-editable) when true.",
7199
7222
  "fieldName": "readonly"
7200
7223
  },
7224
+ {
7225
+ "name": "clearable",
7226
+ "type": {
7227
+ "text": "boolean"
7228
+ },
7229
+ "default": "false",
7230
+ "description": "Adds a clear button when the datepicker is not empty.",
7231
+ "fieldName": "clearable"
7232
+ },
7201
7233
  {
7202
7234
  "name": "placement",
7203
7235
  "type": {
@@ -24152,7 +24184,7 @@
24152
24184
  "package": {
24153
24185
  "name": "@solid-design-system/components",
24154
24186
  "description": "Solid Design System: Components",
24155
- "version": "7.0.2",
24187
+ "version": "7.1.0",
24156
24188
  "author": "Union Investment",
24157
24189
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
24158
24190
  "license": "MIT"
@@ -102,7 +102,7 @@ import {
102
102
  } from "./chunks/chunk.DF2LZ65H.js";
103
103
  import {
104
104
  SdDatepicker
105
- } from "./chunks/chunk.UDTZN5OG.js";
105
+ } from "./chunks/chunk.RRSERGVO.js";
106
106
  import "./chunks/chunk.A4LR62QO.js";
107
107
  import "./chunks/chunk.TJ2FFWLY.js";
108
108
  import {
@@ -157,7 +157,7 @@ import {
157
157
  import "./chunks/chunk.TFAIMBF7.js";
158
158
  import {
159
159
  SdCarousel
160
- } from "./chunks/chunk.I46TZJHO.js";
160
+ } from "./chunks/chunk.Z4IULIBO.js";
161
161
  import "./chunks/chunk.W2YDXTG5.js";
162
162
  import "./chunks/chunk.6RE6UZ72.js";
163
163
  import "./chunks/chunk.UVI5HHLF.js";
@@ -853,7 +853,7 @@
853
853
  },
854
854
  {
855
855
  "name": "sd-datepicker",
856
- "description": "Used to enter or select a date or a range of dates using a calendar view.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the date selection changes.\n- **sd-range-select** - Emitted when the date range selection changes.\n- **sd-select** - Emitted when the date selection changes.\n- **sd-datepicker-close** - Emitted when the datepicker is closed.\n- **sd-focus** - Emitted when the datepicker is focused.\n- **sd-blur** - Emitted when the datepicker is blurred.\n- **sd-month-change** - Emitted when the month is changed.\n- **sd-month-year** - Emitted when the year is changed.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The label for the date input.\n- **help-text** - The help text, displayed below the input.\n- **tooltip** - The tooltip icon and content.\n\n### **CSS Properties:**\n - **--sd-form-control-color-text** - The text color for the datepicker. _(default: undefined)_\n- **--sd-form-control-border-radius** - The border radius for the datepicker. _(default: undefined)_\n- **--sd-form-control-color-border** - The default border color for the datepicker. _(default: undefined)_\n- **--sd-form-control--filled__floating-label-color-text** - The text color for the floating label when the input is filled. _(default: undefined)_\n- **--sd-form-control--invalid-color-background** - The background color for the input when it is invalid. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-left-radius** - The border radius for the bottom left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-right-radius** - The border radius for the bottom right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-left-radius** - The border radius for the top left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-right-radius** - The border radius for the top right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control--hover-color-background** - The background color for form controls on hover. _(default: undefined)_\n- **--sd-form-control--read-only-color-background** - The background color for read-only form controls. _(default: undefined)_\n- **--sd-form-control-color-icon-fill** - The color for form control icons. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-text** - The default text color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-background** - The background color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-text** - The text color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-border** - The default border color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-text** - The text color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-background** - The background color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-text** - The text color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--current-font-weight** - The font weight for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-background** - The background color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-background** - The background color for selected date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--range-color-background** - The background color for date items that are within the selected range. _(default: undefined)_\n- **--sd-datepicker__date-item--current-color-text** - The text color for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-text** - The text color for selected date items in hover state. _(default: undefined)_\n\n### **CSS Parts:**\n - **datepicker** - The component's base wrapper.\n- **header** - The header containing the month/year and navigation buttons.\n- **prev-year-button** - The button to go to the previous year.\n- **prev-month-button** - The button to go to the previous month.\n- **month-label** - The month and year label.\n- **next-month-button** - The button to go to the next month.\n- **next-year-button** - The button to go to the next year.\n- **grid** - The calendar grid container.\n- **weekday** - Each weekday label in the calendar header.\n- **day** - Each day button in the calendar grid.\n- **form-control** - The form control wrapper around the input.\n- **form-control-label** - The label for the input.\n- **form-control-input** - The input element.\n- **border** - The border around the input.\n- **invalid-icon** - The icon shown when the input is invalid.\n- **valid-icon** - The icon shown when the input is valid.\n- **form-control-help-text** - The help text, displayed below the input.",
856
+ "description": "Used to enter or select a date or a range of dates using a calendar view.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the date selection changes.\n- **sd-range-select** - Emitted when the date range selection changes.\n- **sd-select** - Emitted when the date selection changes.\n- **sd-datepicker-close** - Emitted when the datepicker is closed.\n- **sd-focus** - Emitted when the datepicker is focused.\n- **sd-blur** - Emitted when the datepicker is blurred.\n- **sd-month-change** - Emitted when the month is changed.\n- **sd-month-year** - Emitted when the year is changed.\n- **sd-clear** - Emitted when the clear button is activated.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The label for the date input.\n- **help-text** - The help text, displayed below the input.\n- **tooltip** - The tooltip icon and content.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n\n### **CSS Properties:**\n - **--sd-form-control-color-text** - The text color for the datepicker. _(default: undefined)_\n- **--sd-form-control-border-radius** - The border radius for the datepicker. _(default: undefined)_\n- **--sd-form-control-color-border** - The default border color for the datepicker. _(default: undefined)_\n- **--sd-form-control--filled__floating-label-color-text** - The text color for the floating label when the input is filled. _(default: undefined)_\n- **--sd-form-control--invalid-color-background** - The background color for the input when it is invalid. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-left-radius** - The border radius for the bottom left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-right-radius** - The border radius for the bottom right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-left-radius** - The border radius for the top left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-right-radius** - The border radius for the top right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control--hover-color-background** - The background color for form controls on hover. _(default: undefined)_\n- **--sd-form-control--read-only-color-background** - The background color for read-only form controls. _(default: undefined)_\n- **--sd-form-control-color-icon-fill** - The color for form control icons. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-text** - The default text color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-background** - The background color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-text** - The text color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-border** - The default border color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-text** - The text color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-background** - The background color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-text** - The text color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--current-font-weight** - The font weight for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-background** - The background color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-background** - The background color for selected date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--range-color-background** - The background color for date items that are within the selected range. _(default: undefined)_\n- **--sd-datepicker__date-item--current-color-text** - The text color for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-text** - The text color for selected date items in hover state. _(default: undefined)_\n\n### **CSS Parts:**\n - **datepicker** - The component's base wrapper.\n- **header** - The header containing the month/year and navigation buttons.\n- **prev-year-button** - The button to go to the previous year.\n- **prev-month-button** - The button to go to the previous month.\n- **month-label** - The month and year label.\n- **next-month-button** - The button to go to the next month.\n- **next-year-button** - The button to go to the next year.\n- **grid** - The calendar grid container.\n- **weekday** - Each weekday label in the calendar header.\n- **day** - Each day button in the calendar grid.\n- **form-control** - The form control wrapper around the input.\n- **form-control-label** - The label for the input.\n- **form-control-input** - The input element.\n- **border** - The border around the input.\n- **invalid-icon** - The icon shown when the input is invalid.\n- **valid-icon** - The icon shown when the input is valid.\n- **form-control-help-text** - The help text, displayed below the input.\n- **clear-button** - The clear button.",
857
857
  "attributes": [
858
858
  {
859
859
  "name": "locale",
@@ -965,6 +965,11 @@
965
965
  "description": "Makes the input read-only (non-editable) when true.",
966
966
  "values": []
967
967
  },
968
+ {
969
+ "name": "clearable",
970
+ "description": "Adds a clear button when the datepicker is not empty.",
971
+ "values": []
972
+ },
968
973
  {
969
974
  "name": "placement",
970
975
  "description": "Preferred placement of the flyout relative to the input (top|bottom).",
@@ -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": "7.0.2",
4
+ "version": "7.1.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1963,7 +1963,7 @@
1963
1963
  },
1964
1964
  {
1965
1965
  "name": "sd-datepicker",
1966
- "description": "Used to enter or select a date or a range of dates using a calendar view.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the date selection changes.\n- **sd-range-select** - Emitted when the date range selection changes.\n- **sd-select** - Emitted when the date selection changes.\n- **sd-datepicker-close** - Emitted when the datepicker is closed.\n- **sd-focus** - Emitted when the datepicker is focused.\n- **sd-blur** - Emitted when the datepicker is blurred.\n- **sd-month-change** - Emitted when the month is changed.\n- **sd-month-year** - Emitted when the year is changed.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The label for the date input.\n- **help-text** - The help text, displayed below the input.\n- **tooltip** - The tooltip icon and content.\n\n### **CSS Properties:**\n - **--sd-form-control-color-text** - The text color for the datepicker. _(default: undefined)_\n- **--sd-form-control-border-radius** - The border radius for the datepicker. _(default: undefined)_\n- **--sd-form-control-color-border** - The default border color for the datepicker. _(default: undefined)_\n- **--sd-form-control--filled__floating-label-color-text** - The text color for the floating label when the input is filled. _(default: undefined)_\n- **--sd-form-control--invalid-color-background** - The background color for the input when it is invalid. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-left-radius** - The border radius for the bottom left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-right-radius** - The border radius for the bottom right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-left-radius** - The border radius for the top left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-right-radius** - The border radius for the top right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control--hover-color-background** - The background color for form controls on hover. _(default: undefined)_\n- **--sd-form-control--read-only-color-background** - The background color for read-only form controls. _(default: undefined)_\n- **--sd-form-control-color-icon-fill** - The color for form control icons. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-text** - The default text color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-background** - The background color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-text** - The text color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-border** - The default border color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-text** - The text color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-background** - The background color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-text** - The text color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--current-font-weight** - The font weight for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-background** - The background color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-background** - The background color for selected date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--range-color-background** - The background color for date items that are within the selected range. _(default: undefined)_\n- **--sd-datepicker__date-item--current-color-text** - The text color for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-text** - The text color for selected date items in hover state. _(default: undefined)_\n\n### **CSS Parts:**\n - **datepicker** - The component's base wrapper.\n- **header** - The header containing the month/year and navigation buttons.\n- **prev-year-button** - The button to go to the previous year.\n- **prev-month-button** - The button to go to the previous month.\n- **month-label** - The month and year label.\n- **next-month-button** - The button to go to the next month.\n- **next-year-button** - The button to go to the next year.\n- **grid** - The calendar grid container.\n- **weekday** - Each weekday label in the calendar header.\n- **day** - Each day button in the calendar grid.\n- **form-control** - The form control wrapper around the input.\n- **form-control-label** - The label for the input.\n- **form-control-input** - The input element.\n- **border** - The border around the input.\n- **invalid-icon** - The icon shown when the input is invalid.\n- **valid-icon** - The icon shown when the input is valid.\n- **form-control-help-text** - The help text, displayed below the input.",
1966
+ "description": "Used to enter or select a date or a range of dates using a calendar view.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the date selection changes.\n- **sd-range-select** - Emitted when the date range selection changes.\n- **sd-select** - Emitted when the date selection changes.\n- **sd-datepicker-close** - Emitted when the datepicker is closed.\n- **sd-focus** - Emitted when the datepicker is focused.\n- **sd-blur** - Emitted when the datepicker is blurred.\n- **sd-month-change** - Emitted when the month is changed.\n- **sd-month-year** - Emitted when the year is changed.\n- **sd-clear** - Emitted when the clear button is activated.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The label for the date input.\n- **help-text** - The help text, displayed below the input.\n- **tooltip** - The tooltip icon and content.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n\n### **CSS Properties:**\n - **--sd-form-control-color-text** - The text color for the datepicker. _(default: undefined)_\n- **--sd-form-control-border-radius** - The border radius for the datepicker. _(default: undefined)_\n- **--sd-form-control-color-border** - The default border color for the datepicker. _(default: undefined)_\n- **--sd-form-control--filled__floating-label-color-text** - The text color for the floating label when the input is filled. _(default: undefined)_\n- **--sd-form-control--invalid-color-background** - The background color for the input when it is invalid. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-left-radius** - The border radius for the bottom left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-bottom-right-radius** - The border radius for the bottom right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-left-radius** - The border radius for the top left corner of the datepicker. _(default: undefined)_\n- **--sd-form-control__listbox-border-top-right-radius** - The border radius for the top right corner of the datepicker. _(default: undefined)_\n- **--sd-form-control--hover-color-background** - The background color for form controls on hover. _(default: undefined)_\n- **--sd-form-control--read-only-color-background** - The background color for read-only form controls. _(default: undefined)_\n- **--sd-form-control-color-icon-fill** - The color for form control icons. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-text** - The default text color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-background** - The background color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--default-color-text** - The text color for date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--default-color-border** - The default border color for date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-text** - The text color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-background** - The background color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--hover--prev-next-color-text** - The text color for date items in hover state when they are previous/next month days. _(default: undefined)_\n- **--sd-datepicker__date-item--current-font-weight** - The font weight for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected-color-background** - The background color for selected date items. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-background** - The background color for selected date items in hover state. _(default: undefined)_\n- **--sd-datepicker__date-item--range-color-background** - The background color for date items that are within the selected range. _(default: undefined)_\n- **--sd-datepicker__date-item--current-color-text** - The text color for the current date item. _(default: undefined)_\n- **--sd-datepicker__date-item--selected--hover-color-text** - The text color for selected date items in hover state. _(default: undefined)_\n\n### **CSS Parts:**\n - **datepicker** - The component's base wrapper.\n- **header** - The header containing the month/year and navigation buttons.\n- **prev-year-button** - The button to go to the previous year.\n- **prev-month-button** - The button to go to the previous month.\n- **month-label** - The month and year label.\n- **next-month-button** - The button to go to the next month.\n- **next-year-button** - The button to go to the next year.\n- **grid** - The calendar grid container.\n- **weekday** - Each weekday label in the calendar header.\n- **day** - Each day button in the calendar grid.\n- **form-control** - The form control wrapper around the input.\n- **form-control-label** - The label for the input.\n- **form-control-input** - The input element.\n- **border** - The border around the input.\n- **invalid-icon** - The icon shown when the input is invalid.\n- **valid-icon** - The icon shown when the input is valid.\n- **form-control-help-text** - The help text, displayed below the input.\n- **clear-button** - The clear button.",
1967
1967
  "doc-url": "",
1968
1968
  "attributes": [
1969
1969
  {
@@ -2082,6 +2082,11 @@
2082
2082
  "description": "Makes the input read-only (non-editable) when true.",
2083
2083
  "value": { "type": "boolean", "default": "false" }
2084
2084
  },
2085
+ {
2086
+ "name": "clearable",
2087
+ "description": "Adds a clear button when the datepicker is not empty.",
2088
+ "value": { "type": "boolean", "default": "false" }
2089
+ },
2085
2090
  {
2086
2091
  "name": "placement",
2087
2092
  "description": "Preferred placement of the flyout relative to the input (top|bottom).",
@@ -2123,6 +2128,10 @@
2123
2128
  {
2124
2129
  "name": "tooltip",
2125
2130
  "description": "The tooltip icon and content."
2131
+ },
2132
+ {
2133
+ "name": "clear-icon",
2134
+ "description": "An icon to use in lieu of the default clear icon."
2126
2135
  }
2127
2136
  ],
2128
2137
  "events": [
@@ -2157,6 +2166,10 @@
2157
2166
  {
2158
2167
  "name": "sd-month-year",
2159
2168
  "description": "Emitted when the year is changed."
2169
+ },
2170
+ {
2171
+ "name": "sd-clear",
2172
+ "description": "Emitted when the clear button is activated."
2160
2173
  }
2161
2174
  ],
2162
2175
  "js": {
@@ -2280,6 +2293,11 @@
2280
2293
  "description": "Makes the input read-only (non-editable) when true.",
2281
2294
  "type": "boolean"
2282
2295
  },
2296
+ {
2297
+ "name": "clearable",
2298
+ "description": "Adds a clear button when the datepicker is not empty.",
2299
+ "type": "boolean"
2300
+ },
2283
2301
  {
2284
2302
  "name": "placement",
2285
2303
  "description": "Preferred placement of the flyout relative to the input (top|bottom).",
@@ -2365,6 +2383,10 @@
2365
2383
  {
2366
2384
  "name": "sd-month-year",
2367
2385
  "description": "Emitted when the year is changed."
2386
+ },
2387
+ {
2388
+ "name": "sd-clear",
2389
+ "description": "Emitted when the clear button is activated."
2368
2390
  }
2369
2391
  ]
2370
2392
  }
@@ -98,7 +98,7 @@ var SdVideo = class extends SolidElement {
98
98
  this.playing ? "opacity-0" : "opacity-100",
99
99
  this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
100
100
  "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white/75 rounded-full play-pause-transition group-focus-visible:outline-2 group-focus-visible:outline-offset-2"
101
- )}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-7-0-2-icon id="default-play-icon" library="_internal" name="play"></sd-7-0-2-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>` : null}<slot></slot></div>`;
101
+ )}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-7-1-0-icon id="default-play-icon" library="_internal" name="play"></sd-7-1-0-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>` : null}<slot></slot></div>`;
102
102
  }
103
103
  };
104
104
  SdVideo.styles = [
@@ -116,7 +116,7 @@ __decorateClass([
116
116
  property({ type: Boolean })
117
117
  ], SdVideo.prototype, "isBelowBreakpoint", 2);
118
118
  SdVideo = __decorateClass([
119
- customElement("sd-7-0-2-video")
119
+ customElement("sd-7-1-0-video")
120
120
  ], SdVideo);
121
121
 
122
122
  export {
@@ -237,7 +237,7 @@ var SdFileSelector = class extends SolidElement {
237
237
  )}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${cx(
238
238
  "droparea__icon inline-flex h-18",
239
239
  this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
240
- )}"><sd-7-0-2-icon class="w-full h-full" library="_internal" name="upload"></sd-7-0-2-icon></div><p part="droparea-value"><span class="${cx(
240
+ )}"><sd-7-1-0-icon class="w-full h-full" library="_internal" name="upload"></sd-7-1-0-icon></div><p part="droparea-value"><span class="${cx(
241
241
  "block text-lg font-semibold",
242
242
  this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
243
243
  )}">${this.localize.term(
@@ -251,7 +251,7 @@ var SdFileSelector = class extends SolidElement {
251
251
  return html`<div part="button-wrapper" class="${cx(
252
252
  "button__wrapper flex flex-row items-center gap-4",
253
253
  this.disabled || this.visuallyDisabled ? "cursor-not-allowed" : "cursor-default"
254
- )}"><sd-7-0-2-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle ? "true" : "false"}">${buttonText}</sd-7-0-2-button>${this.renderValue()}</div>`;
254
+ )}"><sd-7-1-0-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle ? "true" : "false"}">${buttonText}</sd-7-1-0-button>${this.renderValue()}</div>`;
255
255
  }
256
256
  render() {
257
257
  const slots = {
@@ -269,7 +269,7 @@ var SdFileSelector = class extends SolidElement {
269
269
  "text-sm mt-2",
270
270
  hasHelpText ? "block" : "hidden",
271
271
  this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-neutral-700"
272
- )}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${ifDefined(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${ifDefined(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-7-0-2-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-7-0-2-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`;
272
+ )}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${ifDefined(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${ifDefined(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-7-1-0-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-7-1-0-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`;
273
273
  }
274
274
  };
275
275
  /**
@@ -365,7 +365,7 @@ __decorateClass([
365
365
  watch("value", { waitUntilFirstUpdate: true })
366
366
  ], SdFileSelector.prototype, "handleValueChange", 1);
367
367
  SdFileSelector = __decorateClass([
368
- customElement("sd-7-0-2-file-selector")
368
+ customElement("sd-7-1-0-file-selector")
369
369
  ], SdFileSelector);
370
370
 
371
371
  export {
@@ -58,16 +58,16 @@ var SdMapMarker = class extends SolidElement {
58
58
  this.variant === "cluster" && this.state === "hover" && "scale-110",
59
59
  this.variant === "cluster" && !this.notInteractive && "transition-transform duration-fast ease-in-out hover:scale-110",
60
60
  {
61
- cluster: "sd-7-0-2-map-marker--cluster-color-text",
61
+ cluster: "sd-7-1-0-map-marker--cluster-color-text",
62
62
  main: "sd-color-fill-accent",
63
- place: "sd-7-0-2-map-marker--pin-color-text"
63
+ place: "sd-7-1-0-map-marker--pin-color-text"
64
64
  }[this.variant]
65
65
  )}"><div id="motion-wrapper" part="motion-wrapper" class="${cx(
66
66
  "absolute inset-0 overflow-hidden pointer-events-none",
67
67
  {
68
- cluster: "sd-7-0-2-map-marker--cluster--default-color-background group-hover:sd-7-0-2-map-marker--cluster--hover-color-background",
69
- main: "sd-7-0-2-map-marker--main-color-background",
70
- place: "sd-7-0-2-map-marker--pin--default-color-background"
68
+ cluster: "sd-7-1-0-map-marker--cluster--default-color-background group-hover:sd-7-1-0-map-marker--cluster--hover-color-background",
69
+ main: "sd-7-1-0-map-marker--main-color-background",
70
+ place: "sd-7-1-0-map-marker--pin--default-color-background"
71
71
  }[this.variant]
72
72
  )}" style="mask-image:${mask};-webkit-mask-image:${mask}"><div class="${cx(
73
73
  "absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",
@@ -77,15 +77,15 @@ var SdMapMarker = class extends SolidElement {
77
77
  {
78
78
  cluster: "",
79
79
  main: this.state === "active" ? "bg-accent-700" : this.state === "hover" ? "bg-accent-550" : "group-hover:bg-accent-550 group-active:bg-accent-700",
80
- place: this.state === "active" || this.state === "hover" ? "sd-7-0-2-map-marker--pin--hover-color-background" : "group-active:bg-primary-200"
80
+ place: this.state === "active" || this.state === "hover" ? "sd-7-1-0-map-marker--pin--hover-color-background" : "group-active:bg-primary-200"
81
81
  }[this.variant]
82
82
  )}"></div></div>${this.variant === "main" ? html`<div id="marker-circle" class="absolute rounded-full"></div>` : ""}</div>${marker} ${this.variant === "cluster" ? html`<div id="cluster-border" class="${cx(
83
- "absolute inset-0 sd-7-0-2-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-0-2-map-marker--cluster--hover-color-background",
84
- this.state === "hover" && "sd-7-0-2-map-marker--cluster--hover-color-background"
83
+ "absolute inset-0 sd-7-1-0-map-marker--cluster--default-color-background rounded-full opacity-30 hover:sd-7-1-0-map-marker--cluster--hover-color-background",
84
+ this.state === "hover" && "sd-7-1-0-map-marker--cluster--hover-color-background"
85
85
  )}"></div>` : ""}</div><div id="content" part="content" class="${cx(
86
86
  "absolute self-center pointer-events-none",
87
- this.variant === "cluster" && "font-bold sd-7-0-2-map-marker--cluster-color-text",
88
- this.variant === "place" && "font-bold sd-7-0-2-map-marker--pin-color-text"
87
+ this.variant === "cluster" && "font-bold sd-7-1-0-map-marker--cluster-color-text",
88
+ this.variant === "place" && "font-bold sd-7-1-0-map-marker--pin-color-text"
89
89
  )}"><slot></slot></div></${tag}>`;
90
90
  }
91
91
  };
@@ -119,7 +119,7 @@ __decorateClass([
119
119
  property({ reflect: true })
120
120
  ], SdMapMarker.prototype, "label", 2);
121
121
  SdMapMarker = __decorateClass([
122
- customElement("sd-7-0-2-map-marker")
122
+ customElement("sd-7-1-0-map-marker")
123
123
  ], SdMapMarker);
124
124
 
125
125
  export {
@@ -211,22 +211,22 @@ var SdNotification = class extends SolidElement {
211
211
  warning: "bg-warning",
212
212
  error: "bg-error"
213
213
  }[this.variant]
214
- )}"><sd-7-0-2-icon name="${{
214
+ )}"><sd-7-1-0-icon name="${{
215
215
  info: "info-circle",
216
216
  success: "confirm-circle",
217
217
  warning: "exclamation-circle",
218
218
  error: "risk"
219
- }[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-7-0-2-icon></slot><div part="content" class="${cx(
219
+ }[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-7-1-0-icon></slot><div part="content" class="${cx(
220
220
  "h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
221
- "border-solid border-[1px] border-l-0 sd-7-0-2-notification-color-border",
221
+ "border-solid border-[1px] border-l-0 sd-7-1-0-notification-color-border",
222
222
  {
223
- info: "sd-7-0-2-notification--info-color-background",
224
- success: "sd-7-0-2-notification--success-color-background",
225
- warning: "sd-7-0-2-notification--warning-color-background",
226
- error: "sd-7-0-2-notification--error-color-background"
223
+ info: "sd-7-1-0-notification--info-color-background",
224
+ success: "sd-7-1-0-notification--success-color-background",
225
+ warning: "sd-7-1-0-notification--warning-color-background",
226
+ error: "sd-7-1-0-notification--error-color-background"
227
227
  }[this.variant]
228
- )}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-7-0-2-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-7-0-2-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-2-icon></sd-7-0-2-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(
229
- `absolute w-0 h-[2px] bottom-0 sd-7-0-2-notification__duration-indicator-color-background z-10 animate-grow`
228
+ )}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-7-1-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-7-1-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-1-0-icon></sd-7-1-0-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(
229
+ `absolute w-0 h-[2px] bottom-0 sd-7-1-0-notification__duration-indicator-color-background z-10 animate-grow`
230
230
  )}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div></div>`;
231
231
  }
232
232
  };
@@ -272,7 +272,7 @@ __decorateClass([
272
272
  watch("duration")
273
273
  ], SdNotification.prototype, "handleDurationChange", 1);
274
274
  SdNotification = __decorateClass([
275
- customElement("sd-7-0-2-notification")
275
+ customElement("sd-7-1-0-notification")
276
276
  ], SdNotification);
277
277
  setDefaultAnimation("notification.show", {
278
278
  keyframes: [
@@ -38,13 +38,13 @@ var SdBreadcrumbItem = class extends SolidElement {
38
38
  requestAnimationFrame(() => this.handleCurrentChange());
39
39
  }
40
40
  render() {
41
- return html`<sd-7-0-2-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-7-0-2-link>`;
41
+ return html`<sd-7-1-0-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-7-1-0-link>`;
42
42
  }
43
43
  };
44
44
  SdBreadcrumbItem.styles = [
45
45
  ...SolidElement.styles,
46
46
  css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
47
- :host{display:inline-flex;align-items:center}sd-7-0-2-link::part(base){align-items:center}sd-7-0-2-link::part(icon-left){margin-right:0;display:inline-flex}:host([current]) sd-7-0-2-link::part(base){color:rgba(var(--sd-breadcrumb--current-color-text,104 104 104))}:host([current]) sd-7-0-2-link::part(label){text-decoration-line:none}`
47
+ :host{display:inline-flex;align-items:center}sd-7-1-0-link::part(base){align-items:center}sd-7-1-0-link::part(icon-left){margin-right:0;display:inline-flex}:host([current]) sd-7-1-0-link::part(base){color:rgba(var(--sd-breadcrumb--current-color-text,104 104 104))}:host([current]) sd-7-1-0-link::part(label){text-decoration-line:none}`
48
48
  ];
49
49
  __decorateClass([
50
50
  query('[part="base"]')
@@ -62,7 +62,7 @@ __decorateClass([
62
62
  watch("current")
63
63
  ], SdBreadcrumbItem.prototype, "handleCurrentChange", 1);
64
64
  SdBreadcrumbItem = __decorateClass([
65
- customElement("sd-7-0-2-breadcrumb-item")
65
+ customElement("sd-7-1-0-breadcrumb-item")
66
66
  ], SdBreadcrumbItem);
67
67
 
68
68
  export {