@solid-design-system/components 6.4.1 → 6.4.2

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 (275) hide show
  1. package/cdn/chunks/chunk.I6EGY7RT.js +2 -0
  2. package/cdn/components/datepicker/datepicker.d.ts +3 -0
  3. package/cdn/components/datepicker/datepicker.js +1 -1
  4. package/cdn/custom-elements.json +8 -1
  5. package/cdn/solid-components.bundle.js +76 -76
  6. package/cdn/solid-components.iife.js +76 -76
  7. package/cdn/solid-components.js +1 -1
  8. package/cdn/web-types.json +2 -1
  9. package/cdn-versioned/chunks/chunk.2DPSCPM4.js +2 -2
  10. package/cdn-versioned/chunks/chunk.2HJLVWCE.js +2 -2
  11. package/cdn-versioned/chunks/chunk.2KV3QDYA.js +2 -2
  12. package/cdn-versioned/chunks/chunk.3ETEQAPR.js +2 -2
  13. package/cdn-versioned/chunks/chunk.47H4SDKN.js +2 -2
  14. package/cdn-versioned/chunks/chunk.4LGCXG7D.js +2 -2
  15. package/cdn-versioned/chunks/chunk.4P5PT6MV.js +2 -2
  16. package/cdn-versioned/chunks/chunk.5M2K2EXR.js +2 -2
  17. package/cdn-versioned/chunks/chunk.5OE2GCRH.js +2 -2
  18. package/cdn-versioned/chunks/chunk.6GU6NFBF.js +1 -1
  19. package/cdn-versioned/chunks/chunk.745GDIND.js +2 -2
  20. package/cdn-versioned/chunks/chunk.ALCKOGA7.js +1 -1
  21. package/cdn-versioned/chunks/chunk.BZ3VHECJ.js +3 -3
  22. package/cdn-versioned/chunks/chunk.C44GZOLG.js +9 -9
  23. package/cdn-versioned/chunks/chunk.C4QT4K6T.js +2 -2
  24. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  25. package/cdn-versioned/chunks/chunk.CJ34NUTS.js +1 -1
  26. package/cdn-versioned/chunks/chunk.CMY3VPYA.js +2 -2
  27. package/cdn-versioned/chunks/chunk.D5FVDNYV.js +2 -2
  28. package/cdn-versioned/chunks/chunk.DEEJ4ON7.js +2 -2
  29. package/cdn-versioned/chunks/chunk.DXGVZ3KG.js +1 -1
  30. package/cdn-versioned/chunks/chunk.E64WXH47.js +1 -1
  31. package/cdn-versioned/chunks/chunk.EASLRW3B.js +2 -2
  32. package/cdn-versioned/chunks/chunk.G42N3VHE.js +2 -2
  33. package/cdn-versioned/chunks/chunk.GP2QVZP5.js +1 -1
  34. package/cdn-versioned/chunks/chunk.H77CNSMK.js +2 -2
  35. package/cdn-versioned/chunks/chunk.HHASCDC2.js +5 -5
  36. package/cdn-versioned/chunks/chunk.I234MSSB.js +2 -2
  37. package/cdn-versioned/chunks/chunk.I3TTTGLW.js +1 -1
  38. package/cdn-versioned/chunks/chunk.I6EGY7RT.js +2 -0
  39. package/cdn-versioned/chunks/chunk.IAEOXYGB.js +1 -1
  40. package/cdn-versioned/chunks/chunk.JRSX44R6.js +2 -2
  41. package/cdn-versioned/chunks/chunk.KKKGNXIR.js +2 -2
  42. package/cdn-versioned/chunks/chunk.KM5W4EDY.js +2 -2
  43. package/cdn-versioned/chunks/chunk.L6PAHLSN.js +2 -2
  44. package/cdn-versioned/chunks/chunk.MWO5B7BA.js +2 -2
  45. package/cdn-versioned/chunks/chunk.OAVVKKBJ.js +2 -2
  46. package/cdn-versioned/chunks/chunk.OG2BQH6T.js +2 -2
  47. package/cdn-versioned/chunks/chunk.PDHMAKVQ.js +2 -2
  48. package/cdn-versioned/chunks/chunk.PPIS2HQ5.js +1 -1
  49. package/cdn-versioned/chunks/chunk.PRGLNPUF.js +1 -1
  50. package/cdn-versioned/chunks/chunk.PT6G5HKE.js +1 -1
  51. package/cdn-versioned/chunks/chunk.Q6GEIXGA.js +2 -2
  52. package/cdn-versioned/chunks/chunk.QMKNC76J.js +2 -2
  53. package/cdn-versioned/chunks/chunk.QUGI3FMS.js +2 -2
  54. package/cdn-versioned/chunks/chunk.RBVWPWFK.js +2 -2
  55. package/cdn-versioned/chunks/chunk.S4II2NTI.js +2 -2
  56. package/cdn-versioned/chunks/chunk.S7VIPIYX.js +2 -2
  57. package/cdn-versioned/chunks/chunk.TWNEU4H4.js +3 -3
  58. package/cdn-versioned/chunks/chunk.TWTQHJPN.js +2 -2
  59. package/cdn-versioned/chunks/chunk.U44PXBV2.js +2 -2
  60. package/cdn-versioned/chunks/chunk.U5N7L5RI.js +2 -2
  61. package/cdn-versioned/chunks/chunk.UVRZTPOZ.js +2 -2
  62. package/cdn-versioned/chunks/chunk.VAUP57XZ.js +2 -2
  63. package/cdn-versioned/chunks/chunk.VMUNNUNV.js +1 -1
  64. package/cdn-versioned/chunks/chunk.VTDQOKJM.js +2 -2
  65. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  66. package/cdn-versioned/chunks/chunk.WOZKICWV.js +5 -5
  67. package/cdn-versioned/chunks/chunk.XAPH6XNH.js +2 -2
  68. package/cdn-versioned/chunks/chunk.XQWDDXL2.js +2 -2
  69. package/cdn-versioned/chunks/chunk.XTRMRKZ6.js +2 -2
  70. package/cdn-versioned/chunks/chunk.Z6TAAGCD.js +2 -2
  71. package/cdn-versioned/chunks/chunk.ZTELVJ34.js +1 -1
  72. package/cdn-versioned/chunks/chunk.ZVHLKL7F.js +2 -2
  73. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  74. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  75. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  76. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  77. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  78. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  79. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  80. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  81. package/cdn-versioned/components/button/button.d.ts +1 -1
  82. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  83. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  84. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  85. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  86. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  87. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  88. package/cdn-versioned/components/datepicker/datepicker.d.ts +4 -1
  89. package/cdn-versioned/components/datepicker/datepicker.js +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/flipcard/flipcard.d.ts +1 -1
  96. package/cdn-versioned/components/header/header.d.ts +1 -1
  97. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  98. package/cdn-versioned/components/include/include.d.ts +1 -1
  99. package/cdn-versioned/components/input/input.d.ts +1 -1
  100. package/cdn-versioned/components/link/link.d.ts +1 -1
  101. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  102. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  103. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  104. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  105. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  106. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  107. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  108. package/cdn-versioned/components/option/option.d.ts +1 -1
  109. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  110. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  111. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  112. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  113. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  114. package/cdn-versioned/components/range/range.d.ts +1 -1
  115. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  116. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  117. package/cdn-versioned/components/select/select.d.ts +1 -1
  118. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  119. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  120. package/cdn-versioned/components/step/step.d.ts +1 -1
  121. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  122. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  123. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  124. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  125. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  126. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  127. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  128. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  129. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  130. package/cdn-versioned/components/video/video.d.ts +1 -1
  131. package/cdn-versioned/custom-elements.json +251 -244
  132. package/cdn-versioned/internal/form.js +3 -3
  133. package/cdn-versioned/solid-components.bundle.js +86 -86
  134. package/cdn-versioned/solid-components.css +2 -2
  135. package/cdn-versioned/solid-components.iife.js +86 -86
  136. package/cdn-versioned/solid-components.js +1 -1
  137. package/cdn-versioned/vscode.html-custom-data.json +94 -94
  138. package/cdn-versioned/web-types.json +158 -157
  139. package/dist/chunks/{chunk.QM4E25CD.js → chunk.CMGWC5BG.js} +46 -15
  140. package/dist/components/datepicker/datepicker.d.ts +3 -0
  141. package/dist/components/datepicker/datepicker.js +1 -1
  142. package/dist/custom-elements.json +8 -1
  143. package/dist/solid-components.js +1 -1
  144. package/dist/web-types.json +2 -1
  145. package/dist-versioned/chunks/chunk.22PWID5B.js +2 -2
  146. package/dist-versioned/chunks/chunk.2EWH2DC2.js +1 -1
  147. package/dist-versioned/chunks/chunk.2HTII44Q.js +4 -4
  148. package/dist-versioned/chunks/chunk.2VPWVTT6.js +4 -4
  149. package/dist-versioned/chunks/chunk.3EJL5IKL.js +1 -1
  150. package/dist-versioned/chunks/chunk.3PTRIEGP.js +2 -2
  151. package/dist-versioned/chunks/chunk.4UT3FCHQ.js +2 -2
  152. package/dist-versioned/chunks/chunk.5XWO3USG.js +3 -3
  153. package/dist-versioned/chunks/chunk.75WDCMIC.js +24 -24
  154. package/dist-versioned/chunks/chunk.ASEJW6QN.js +5 -5
  155. package/dist-versioned/chunks/chunk.AUSBWPVD.js +7 -7
  156. package/dist-versioned/chunks/chunk.AZPOFDJP.js +4 -4
  157. package/dist-versioned/chunks/chunk.BBLAIT57.js +2 -2
  158. package/dist-versioned/chunks/chunk.BSP6J6R2.js +2 -2
  159. package/dist-versioned/chunks/chunk.BTNS6ZNO.js +4 -4
  160. package/dist-versioned/chunks/chunk.C3WIBDGG.js +3 -3
  161. package/dist-versioned/chunks/{chunk.QM4E25CD.js → chunk.CMGWC5BG.js} +48 -17
  162. package/dist-versioned/chunks/chunk.D4UC3BVQ.js +12 -12
  163. package/dist-versioned/chunks/chunk.D7CJJHHA.js +1 -1
  164. package/dist-versioned/chunks/chunk.DCHRUIDY.js +1 -1
  165. package/dist-versioned/chunks/chunk.DCOB6WLB.js +3 -3
  166. package/dist-versioned/chunks/chunk.DFHY67LW.js +5 -5
  167. package/dist-versioned/chunks/chunk.DTTVI7KT.js +11 -11
  168. package/dist-versioned/chunks/chunk.DXDDB6AB.js +1 -1
  169. package/dist-versioned/chunks/chunk.FKFGVTXH.js +3 -3
  170. package/dist-versioned/chunks/chunk.FSUOT4WC.js +12 -12
  171. package/dist-versioned/chunks/chunk.IJIPMNT2.js +3 -3
  172. package/dist-versioned/chunks/chunk.IYXPHPNO.js +1 -1
  173. package/dist-versioned/chunks/chunk.JGRI4R23.js +1 -1
  174. package/dist-versioned/chunks/chunk.K66JHYHC.js +2 -2
  175. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  176. package/dist-versioned/chunks/chunk.L2RS3IA6.js +8 -8
  177. package/dist-versioned/chunks/chunk.L3OEOSPQ.js +1 -1
  178. package/dist-versioned/chunks/chunk.L6ZE3RXX.js +14 -14
  179. package/dist-versioned/chunks/chunk.LBDV5GNR.js +4 -4
  180. package/dist-versioned/chunks/chunk.LZVVDTSP.js +26 -26
  181. package/dist-versioned/chunks/chunk.M2D3WWF3.js +8 -8
  182. package/dist-versioned/chunks/chunk.MH7JHBWP.js +2 -2
  183. package/dist-versioned/chunks/chunk.MLRNCOWA.js +3 -3
  184. package/dist-versioned/chunks/chunk.NEUULRS7.js +5 -5
  185. package/dist-versioned/chunks/chunk.OJXVBFUH.js +5 -5
  186. package/dist-versioned/chunks/chunk.P5FGSFP3.js +1 -1
  187. package/dist-versioned/chunks/chunk.PBXAIJQ4.js +5 -5
  188. package/dist-versioned/chunks/chunk.Q7ZMX7IB.js +3 -3
  189. package/dist-versioned/chunks/chunk.R56JDQAF.js +2 -2
  190. package/dist-versioned/chunks/chunk.RFDAZXJG.js +3 -3
  191. package/dist-versioned/chunks/chunk.SCWR4Q4K.js +10 -10
  192. package/dist-versioned/chunks/chunk.SQYISG5I.js +4 -4
  193. package/dist-versioned/chunks/chunk.SVYFJMYF.js +3 -3
  194. package/dist-versioned/chunks/chunk.T46LX45D.js +6 -6
  195. package/dist-versioned/chunks/chunk.TNJNUASM.js +1 -1
  196. package/dist-versioned/chunks/chunk.TUMONDN4.js +4 -4
  197. package/dist-versioned/chunks/chunk.TVWV4PUH.js +2 -2
  198. package/dist-versioned/chunks/chunk.U2BN2DBY.js +4 -4
  199. package/dist-versioned/chunks/chunk.UDPSGKZL.js +4 -4
  200. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  201. package/dist-versioned/chunks/chunk.UPCVQSXM.js +3 -3
  202. package/dist-versioned/chunks/chunk.UWQPJU3Q.js +3 -3
  203. package/dist-versioned/chunks/chunk.XALPLS2Y.js +6 -6
  204. package/dist-versioned/chunks/chunk.XV2UO6TF.js +2 -2
  205. package/dist-versioned/chunks/chunk.YATRFNET.js +28 -28
  206. package/dist-versioned/chunks/chunk.YFRD2UEO.js +8 -8
  207. package/dist-versioned/chunks/chunk.YNBR5ZDU.js +4 -4
  208. package/dist-versioned/chunks/chunk.ZMEUQIVY.js +9 -9
  209. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  210. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  211. package/dist-versioned/components/animation/animation.d.ts +1 -1
  212. package/dist-versioned/components/audio/audio.d.ts +1 -1
  213. package/dist-versioned/components/badge/badge.d.ts +1 -1
  214. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  215. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  216. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  217. package/dist-versioned/components/button/button.d.ts +1 -1
  218. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  219. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  220. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  221. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  222. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  223. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  224. package/dist-versioned/components/datepicker/datepicker.d.ts +4 -1
  225. package/dist-versioned/components/datepicker/datepicker.js +1 -1
  226. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  227. package/dist-versioned/components/divider/divider.d.ts +1 -1
  228. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  229. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  230. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  231. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  232. package/dist-versioned/components/header/header.d.ts +1 -1
  233. package/dist-versioned/components/icon/icon.d.ts +1 -1
  234. package/dist-versioned/components/include/include.d.ts +1 -1
  235. package/dist-versioned/components/input/input.d.ts +1 -1
  236. package/dist-versioned/components/link/link.d.ts +1 -1
  237. package/dist-versioned/components/loader/loader.d.ts +1 -1
  238. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  239. package/dist-versioned/components/menu/menu.d.ts +1 -1
  240. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  241. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  242. package/dist-versioned/components/notification/notification.d.ts +1 -1
  243. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  244. package/dist-versioned/components/option/option.d.ts +1 -1
  245. package/dist-versioned/components/popup/popup.d.ts +1 -1
  246. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  247. package/dist-versioned/components/radio/radio.d.ts +1 -1
  248. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  249. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  250. package/dist-versioned/components/range/range.d.ts +1 -1
  251. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  252. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  253. package/dist-versioned/components/select/select.d.ts +1 -1
  254. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  255. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  256. package/dist-versioned/components/step/step.d.ts +1 -1
  257. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  258. package/dist-versioned/components/switch/switch.d.ts +1 -1
  259. package/dist-versioned/components/tab/tab.d.ts +1 -1
  260. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  261. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  262. package/dist-versioned/components/tag/tag.d.ts +1 -1
  263. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  264. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  265. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  266. package/dist-versioned/components/video/video.d.ts +1 -1
  267. package/dist-versioned/custom-elements.json +251 -244
  268. package/dist-versioned/internal/form.js +3 -3
  269. package/dist-versioned/solid-components.css +2 -2
  270. package/dist-versioned/solid-components.js +1 -1
  271. package/dist-versioned/vscode.html-custom-data.json +94 -94
  272. package/dist-versioned/web-types.json +158 -157
  273. package/package.json +3 -3
  274. package/cdn/chunks/chunk.DC6UQXYF.js +0 -2
  275. package/cdn-versioned/chunks/chunk.DC6UQXYF.js +0 -2
@@ -151,7 +151,7 @@ var SdDatepicker = class extends SolidElement {
151
151
  };
152
152
  this.handleInput = (ev) => {
153
153
  var _a, _b, _c, _d, _e;
154
- if (this.disabled || this.visuallyDisabled) {
154
+ if (this.disabled || this.visuallyDisabled || this.readonly) {
155
155
  (_a = ev.preventDefault) == null ? void 0 : _a.call(ev);
156
156
  (_b = ev.stopPropagation) == null ? void 0 : _b.call(ev);
157
157
  return;
@@ -349,10 +349,16 @@ var SdDatepicker = class extends SolidElement {
349
349
  }
350
350
  this.handleBlur();
351
351
  };
352
- this.handleCurrentPlacement = (ev) => {
353
- this.currentPlacement = ev.detail.placement;
352
+ this.handleCurrentPlacement = (e) => {
353
+ const incomingPlacement = e.detail;
354
+ if (incomingPlacement) {
355
+ this.currentPlacement = incomingPlacement;
356
+ }
354
357
  };
355
358
  this.handleHeaderKeyDown = (ev, type, direction, isLastHeaderControl) => {
359
+ if (this.disabled || this.visuallyDisabled || this.readonly) {
360
+ return;
361
+ }
356
362
  if (ev.key === "Tab" && !ev.shiftKey) {
357
363
  if (isLastHeaderControl) {
358
364
  ev.preventDefault();
@@ -370,7 +376,7 @@ var SdDatepicker = class extends SolidElement {
370
376
  }
371
377
  };
372
378
  this.onKeyDown = (ev) => {
373
- if (this.disabled || this.visuallyDisabled) {
379
+ if (this.disabled || this.visuallyDisabled || this.readonly) {
374
380
  ev.preventDefault();
375
381
  ev.stopPropagation();
376
382
  return;
@@ -441,7 +447,7 @@ var SdDatepicker = class extends SolidElement {
441
447
  }
442
448
  };
443
449
  this.handleInputKeyDown = (ev) => {
444
- if ((this.disabled || this.visuallyDisabled) && ev.key !== "Tab") {
450
+ if ((this.disabled || this.visuallyDisabled || this.readonly) && ev.key !== "Tab") {
445
451
  ev.preventDefault();
446
452
  ev.stopPropagation();
447
453
  return;
@@ -455,7 +461,7 @@ var SdDatepicker = class extends SolidElement {
455
461
  this.emit("sd-datepicker-close");
456
462
  return;
457
463
  }
458
- if (ev.key === "Enter" && !this.open && !this.disabled && !this.visuallyDisabled) {
464
+ if (ev.key === "Enter" && !this.open && !this.disabled && !this.visuallyDisabled && !this.readonly) {
459
465
  ev.preventDefault();
460
466
  this.show();
461
467
  }
@@ -489,6 +495,11 @@ var SdDatepicker = class extends SolidElement {
489
495
  firstUpdated() {
490
496
  this.formControlController.updateValidity();
491
497
  }
498
+ handleOpenChange() {
499
+ if (this.popup) {
500
+ this.popup.active = this.open && !this.disabled && !this.visuallyDisabled;
501
+ }
502
+ }
492
503
  disconnectedCallback() {
493
504
  super.disconnectedCallback();
494
505
  this.removeEventListener("focusin", this.onFocusIn);
@@ -888,7 +899,7 @@ var SdDatepicker = class extends SolidElement {
888
899
  }
889
900
  }
890
901
  show() {
891
- if (this.open || this.disabled || this.visuallyDisabled) {
902
+ if (this.open || this.disabled || this.visuallyDisabled || this.readonly) {
892
903
  this.open = false;
893
904
  return;
894
905
  }
@@ -902,7 +913,7 @@ var SdDatepicker = class extends SolidElement {
902
913
  this.open = false;
903
914
  }
904
915
  handleMouseDown(event) {
905
- if (this.visuallyDisabled || this.disabled) {
916
+ if (this.visuallyDisabled || this.disabled || this.readonly) {
906
917
  event.preventDefault();
907
918
  event.stopPropagation();
908
919
  return;
@@ -916,7 +927,7 @@ var SdDatepicker = class extends SolidElement {
916
927
  }
917
928
  handleFocus() {
918
929
  this.hasFocus = true;
919
- if (!this.open && !this.disabled && !this.visuallyDisabled) {
930
+ if (!this.open && !this.disabled && !this.visuallyDisabled && !this.readonly) {
920
931
  this.show();
921
932
  }
922
933
  this.emit("sd-focus");
@@ -979,6 +990,7 @@ var SdDatepicker = class extends SolidElement {
979
990
  });
980
991
  }
981
992
  selectSingleDate(d) {
993
+ if (this.readonly) return;
982
994
  if (this.isDisabled(d)) return;
983
995
  const localMidnight = DateUtils.startOfDayLocal(d);
984
996
  const iso = DateUtils.toLocalISODate(localMidnight);
@@ -1003,6 +1015,7 @@ var SdDatepicker = class extends SolidElement {
1003
1015
  });
1004
1016
  }
1005
1017
  selectRangeDate(d) {
1018
+ if (this.readonly) return;
1006
1019
  const day = DateUtils.startOfDayLocal(d);
1007
1020
  const rs = this.rangeStart ? DateUtils.parseLocalISO(this.rangeStart) : null;
1008
1021
  const re = this.rangeEnd ? DateUtils.parseLocalISO(this.rangeEnd) : null;
@@ -1131,6 +1144,7 @@ var SdDatepicker = class extends SolidElement {
1131
1144
  }
1132
1145
  }
1133
1146
  selectDate(d) {
1147
+ if (this.readonly) return;
1134
1148
  if (this.range) this.selectRangeDate(d);
1135
1149
  else this.selectSingleDate(d);
1136
1150
  }
@@ -1191,7 +1205,7 @@ var SdDatepicker = class extends SolidElement {
1191
1205
  }
1192
1206
  /** Mouse enter on a day: updates preview end when selecting a range. */
1193
1207
  onDayMouseEnter(day) {
1194
- if (!this.range) return;
1208
+ if (!this.range || this.readonly) return;
1195
1209
  const rs = this.rangeStart ? DateUtils.parseLocalISO(this.rangeStart) : null;
1196
1210
  const re = this.rangeEnd ? DateUtils.parseLocalISO(this.rangeEnd) : null;
1197
1211
  if (rs && !re) {
@@ -1207,6 +1221,7 @@ var SdDatepicker = class extends SolidElement {
1207
1221
  }
1208
1222
  }
1209
1223
  renderCalendar() {
1224
+ var _a;
1210
1225
  const { weeks } = this.getMonthMatrix(this.viewMonth);
1211
1226
  const monthLabel = this.formatMonthYear(this.viewMonth);
1212
1227
  const weekdays = this.weekdayLabels();
@@ -1219,7 +1234,12 @@ var SdDatepicker = class extends SolidElement {
1219
1234
  return DateUtils.isBetweenInclusive(day, rs, pe);
1220
1235
  };
1221
1236
  const tabTarget = this.getTabTargetDayForCurrentView(weeks);
1222
- return html`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open ? "block rounded-bl-default rounded-br-default" : "hidden"} ${this.alignment === "left" ? "left-0" : "right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${() => this.setMonth(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", -1, false)}" aria-label="${this.localize.term("previousMonth")}"><sd-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${monthLabel}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${() => this.setMonth(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", 1, false)}" aria-label="${this.localize.term("nextMonth")}"><sd-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${() => this.setYear(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", 1, true)}" aria-label="${this.localize.term("nextYear")}"><sd-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-icon></button></div></div><sd-divider></sd-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${monthLabel}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${() => {
1237
+ return html`<div part="datepicker" class="${cx(
1238
+ "w-[284px] z-50 bg-white py-3 px-4",
1239
+ this.open ? "block" : "hidden",
1240
+ ((_a = this.currentPlacement) == null ? void 0 : _a.startsWith("bottom")) ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default",
1241
+ "border-primary"
1242
+ )}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${() => this.setYear(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", -1, false)}" aria-label="${this.localize.term("previousYear")}"><sd-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${() => this.setMonth(-1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", -1, false)}" aria-label="${this.localize.term("previousMonth")}"><sd-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${monthLabel}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${() => this.setMonth(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "month", 1, false)}" aria-label="${this.localize.term("nextMonth")}"><sd-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${() => this.setYear(1)}" @keydown="${(ev) => this.handleHeaderKeyDown(ev, "year", 1, true)}" aria-label="${this.localize.term("nextYear")}"><sd-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-icon></button></div></div><sd-divider></sd-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${monthLabel}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${() => {
1223
1243
  this.tabbingIntoGrid = false;
1224
1244
  }}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${weekdays.map(
1225
1245
  (w, colIndex) => html`<div role="columnheader" aria-colindex="${colIndex + 1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${w}" title="${w}" id="${"col-" + (colIndex + 1)}">${w}</div>`
@@ -1262,7 +1282,7 @@ var SdDatepicker = class extends SolidElement {
1262
1282
  isToday && !isSelectedSingle && !isRangeStart && !isRangeEnd && isFocused ? "today border-[1px] border-primary font-bold" : "",
1263
1283
  disabled ? "disabled cursor-not-allowed hover:bg-transparent" : "cursor-pointer",
1264
1284
  isFocused && !isToday ? "focused outline outline-2 outline-primary" : ""
1265
- )}" role="gridcell" aria-colindex="${colIndex + 1}" aria-labelledby="${"col-" + (colIndex + 1)}" .tabIndex="${tabIndex}" ?disabled="${disabled || this.disabled}" aria-disabled="${disabled || this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-selected="${isSelectedSingle || inSelectedRange || isRangeStart || isRangeEnd ? "true" : "false"}" aria-current="${isToday ? "date" : nothing}" aria-label="${label}" aria-roledescription="${roleDesc != null ? roleDesc : nothing}" @focus="${() => this.focusedDate = DateUtils.startOfDayLocal(day)}" @mouseenter="${() => this.onDayMouseEnter(day)}" @keydown="${this.onKeyDown}" @click="${() => {
1285
+ )}" role="gridcell" aria-colindex="${colIndex + 1}" aria-labelledby="${"col-" + (colIndex + 1)}" .tabIndex="${tabIndex}" ?disabled="${disabled || this.disabled || this.readonly}" aria-disabled="${disabled || this.visuallyDisabled || this.disabled || this.readonly ? "true" : "false"}" aria-selected="${isSelectedSingle || inSelectedRange || isRangeStart || isRangeEnd ? "true" : "false"}" aria-current="${isToday ? "date" : nothing}" aria-label="${label}" aria-roledescription="${roleDesc != null ? roleDesc : nothing}" @focus="${() => this.focusedDate = DateUtils.startOfDayLocal(day)}" @mouseenter="${() => this.onDayMouseEnter(day)}" @keydown="${this.onKeyDown}" @click="${() => {
1266
1286
  this.focusedDate = DateUtils.startOfDayLocal(day);
1267
1287
  this.selectDate(day);
1268
1288
  }}">${day.getDate()}</button>`;
@@ -1270,6 +1290,7 @@ var SdDatepicker = class extends SolidElement {
1270
1290
  )}</div></div>`;
1271
1291
  }
1272
1292
  render() {
1293
+ var _a, _b;
1273
1294
  const slots = {
1274
1295
  label: this.hasSlotController.test("label"),
1275
1296
  helpText: this.hasSlotController.test("help-text"),
@@ -1308,7 +1329,8 @@ var SdDatepicker = class extends SolidElement {
1308
1329
  "absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",
1309
1330
  borderColor,
1310
1331
  this.open && this.alignment === "left" ? "rounded-bl-none" : "",
1311
- this.open && this.alignment === "right" ? "rounded-br-none" : ""
1332
+ this.open && this.alignment === "right" ? "rounded-br-none" : "",
1333
+ this.open && (((_a = this.currentPlacement) == null ? void 0 : _a.startsWith("bottom")) ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
1312
1334
  )}">${hasLabel && this.floatingLabel ? html`<label id="label" part="form-control-floating-label" class="${cx(
1313
1335
  "absolute left-4 z-20 pointer-events-none transition-all duration-200",
1314
1336
  !isFloatingLabelActive ? "top-1/2 -translate-y-1/2 text-base" : this.size === "lg" ? "top-2 text-xs" : "top-1 text-xs",
@@ -1317,7 +1339,10 @@ var SdDatepicker = class extends SolidElement {
1317
1339
  "leading-none",
1318
1340
  (this.visuallyDisabled || this.disabled) && "text-neutral-500",
1319
1341
  isFloatingLabelActive && !this.visuallyDisabled && !this.disabled && "form-control--filled__floating-label-color-text"
1320
- )}">${this.label}</span></label>` : null}</div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${cx(
1342
+ )}">${this.label}</span></label>` : null}</div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
1343
+ "inline-flex relative w-full",
1344
+ ((_b = this.currentPlacement) == null ? void 0 : _b.startsWith("bottom")) ? "origin-top" : "origin-bottom"
1345
+ )}" placement="${this.alignment === "left" ? `${this.placement}-start` : `${this.placement}-end`}" flip shift auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${cx(
1321
1346
  "px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",
1322
1347
  !this.disabled && !this.readonly && !this.visuallyDisabled ? "hover:bg-neutral-200" : "",
1323
1348
  this.readonly ? "bg-neutral-100" : "bg-white",
@@ -1328,7 +1353,7 @@ var SdDatepicker = class extends SolidElement {
1328
1353
  { sm: "h-8", md: "h-10", lg: "h-12" }[this.size],
1329
1354
  textSize,
1330
1355
  this.floatingLabel && "mt-4"
1331
- )}" 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 flex-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.show}"></sd-icon>${this.renderCalendar()}</div></sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
1356
+ )}" 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 flex-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.show}"></sd-icon></div>${this.renderCalendar()}</sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
1332
1357
  }
1333
1358
  };
1334
1359
  SdDatepicker.styles = [
@@ -1453,12 +1478,18 @@ __decorateClass([
1453
1478
  __decorateClass([
1454
1479
  state()
1455
1480
  ], SdDatepicker.prototype, "inputValue", 2);
1481
+ __decorateClass([
1482
+ query("sd-popup")
1483
+ ], SdDatepicker.prototype, "popup", 2);
1456
1484
  __decorateClass([
1457
1485
  query("#invalid-message")
1458
1486
  ], SdDatepicker.prototype, "invalidMessage", 2);
1459
1487
  __decorateClass([
1460
1488
  query("#input")
1461
1489
  ], SdDatepicker.prototype, "input", 2);
1490
+ __decorateClass([
1491
+ watch("open", { waitUntilFirstUpdate: true })
1492
+ ], SdDatepicker.prototype, "handleOpenChange", 1);
1462
1493
  __decorateClass([
1463
1494
  watch("locale")
1464
1495
  ], SdDatepicker.prototype, "handleLocaleChange", 1);
@@ -4,6 +4,7 @@ import '../popup/popup';
4
4
  import { LocalizeController } from '../../utilities/localize';
5
5
  import SolidElement from '../../internal/solid-element';
6
6
  import type { SolidFormControl } from '../../internal/solid-element';
7
+ import type SdPopup from '../popup/popup';
7
8
  export default class SdDatepicker extends SolidElement implements SolidFormControl {
8
9
  localize: LocalizeController;
9
10
  private readonly hasSlotController;
@@ -47,6 +48,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
47
48
  showInvalidStyle: boolean;
48
49
  currentPlacement: "top" | "bottom";
49
50
  private inputValue;
51
+ popup: SdPopup;
50
52
  invalidMessage: HTMLDivElement;
51
53
  input: HTMLInputElement;
52
54
  private tabbingIntoGrid;
@@ -54,6 +56,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
54
56
  constructor();
55
57
  connectedCallback(): void;
56
58
  firstUpdated(): void;
59
+ handleOpenChange(): void;
57
60
  disconnectedCallback(): void;
58
61
  handleLocaleChange(): void;
59
62
  handleDisabledDatesChange(): void;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdDatepicker
3
- } from "../../chunks/chunk.QM4E25CD.js";
3
+ } from "../../chunks/chunk.CMGWC5BG.js";
4
4
  import "../../chunks/chunk.SMPFJ52B.js";
5
5
  import "../../chunks/chunk.Q7ZMX7IB.js";
6
6
  import "../../chunks/chunk.P5FGSFP3.js";
@@ -6410,6 +6410,13 @@
6410
6410
  "name": "currentPlacement",
6411
6411
  "description": "Actual placement currently used by the flyout."
6412
6412
  },
6413
+ {
6414
+ "kind": "field",
6415
+ "name": "popup",
6416
+ "type": {
6417
+ "text": "SdPopup"
6418
+ }
6419
+ },
6413
6420
  {
6414
6421
  "kind": "field",
6415
6422
  "name": "validity",
@@ -22493,7 +22500,7 @@
22493
22500
  "package": {
22494
22501
  "name": "@solid-design-system/components",
22495
22502
  "description": "Solid Design System: Components",
22496
- "version": "6.4.1",
22503
+ "version": "6.4.2",
22497
22504
  "author": "Union Investment",
22498
22505
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
22499
22506
  "license": "MIT"
@@ -99,7 +99,7 @@ import {
99
99
  } from "./chunks/chunk.L3OEOSPQ.js";
100
100
  import {
101
101
  SdDatepicker
102
- } from "./chunks/chunk.QM4E25CD.js";
102
+ } from "./chunks/chunk.CMGWC5BG.js";
103
103
  import "./chunks/chunk.SMPFJ52B.js";
104
104
  import {
105
105
  SdDialog
@@ -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": "6.4.1",
4
+ "version": "6.4.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -2246,6 +2246,7 @@
2246
2246
  "name": "currentPlacement",
2247
2247
  "description": "Actual placement currently used by the flyout."
2248
2248
  },
2249
+ { "name": "popup", "type": "SdPopup" },
2249
2250
  { "name": "validity" },
2250
2251
  { "name": "validationMessage" },
2251
2252
  {
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
84
84
  SdLink.styles = [
85
85
  ...SolidElement.styles,
86
86
  css`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
87
- ::slotted(sd-6-4-1-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-4-1-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-6-4-1-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`
87
+ ::slotted(sd-6-4-2-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-6-4-2-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-6-4-2-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`
88
88
  ];
89
89
  __decorateClass([
90
90
  query("a")
@@ -111,7 +111,7 @@ __decorateClass([
111
111
  property({ reflect: true })
112
112
  ], SdLink.prototype, "download", 2);
113
113
  SdLink = __decorateClass([
114
- customElement("sd-6-4-1-link")
114
+ customElement("sd-6-4-2-link")
115
115
  ], SdLink);
116
116
 
117
117
  export {
@@ -56,7 +56,7 @@ __decorateClass([
56
56
  property({ type: String, reflect: true })
57
57
  ], SdLoader.prototype, "color", 2);
58
58
  SdLoader = __decorateClass([
59
- customElement("sd-6-4-1-loader")
59
+ customElement("sd-6-4-2-loader")
60
60
  ], SdLoader);
61
61
 
62
62
  export {
@@ -60,10 +60,10 @@ var SdTeaser = class extends SolidElement {
60
60
  "flex",
61
61
  {
62
62
  white: "bg-white",
63
- "white border-neutral-400": "bg-white border sd-6-4-1-teaser--neutral-400-color-border",
64
- "neutral-100": "sd-6-4-1-teaser--neutral-100-color-background",
63
+ "white border-neutral-400": "bg-white border sd-6-4-2-teaser--neutral-400-color-border",
64
+ "neutral-100": "sd-6-4-2-teaser--neutral-100-color-background",
65
65
  primary: "bg-primary text-white",
66
- "primary-100": "sd-6-4-1-teaser--primary-100-color-background"
66
+ "primary-100": "sd-6-4-2-teaser--primary-100-color-background"
67
67
  }[this.variant],
68
68
  this._orientation === "vertical" && "flex-col",
69
69
  this._orientation === "horizontal" && "flex-row gap-8",
@@ -105,7 +105,7 @@ __decorateClass([
105
105
  state()
106
106
  ], SdTeaser.prototype, "_orientation", 2);
107
107
  SdTeaser = __decorateClass([
108
- customElement("sd-6-4-1-teaser")
108
+ customElement("sd-6-4-2-teaser")
109
109
  ], SdTeaser);
110
110
 
111
111
  export {
@@ -78,7 +78,7 @@ var SdRange = class extends SolidElement {
78
78
  var _a, _b;
79
79
  const tooltip = thumb.parentElement;
80
80
  await tooltip.updateComplete;
81
- (_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-4-1-popup")) == null ? void 0 : _b.setAttribute("distance", "14");
81
+ (_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-4-2-popup")) == null ? void 0 : _b.setAttribute("distance", "14");
82
82
  });
83
83
  }
84
84
  willUpdate(changedProperties) {
@@ -411,10 +411,10 @@ var SdRange = class extends SolidElement {
411
411
  ariaLabel = this.tooltipFormatter(value);
412
412
  }
413
413
  }
414
- return html`<sd-6-4-1-tooltip hoist trigger="${this.tooltip === "on-interaction" ? "focus" : "manual"}" disabled="${ifDefined(this.disabled || this.visuallyDisabled || this.tooltip === "hidden" ? true : void 0)}"><div id="${id}" part="thumb" role="slider" tabindex="${this.disabled || this.visuallyDisabled ? -1 : 0}" aria-disabled="${ifDefined(this.disabled || this.visuallyDisabled ? "true" : void 0)}" aria-labelledby="${ariaLabeledBy}" aria-label="${ariaLabel}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${value}" aria-valuetext="${this.tooltipFormatter(value)}" data-range-id="${rangeId}" data-disabled="${ifDefined(this.disabled || this.visuallyDisabled || void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${cx(
414
+ return html`<sd-6-4-2-tooltip hoist trigger="${this.tooltip === "on-interaction" ? "focus" : "manual"}" disabled="${ifDefined(this.disabled || this.visuallyDisabled || this.tooltip === "hidden" ? true : void 0)}"><div id="${id}" part="thumb" role="slider" tabindex="${this.disabled || this.visuallyDisabled ? -1 : 0}" aria-disabled="${ifDefined(this.disabled || this.visuallyDisabled ? "true" : void 0)}" aria-labelledby="${ariaLabeledBy}" aria-label="${ariaLabel}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${value}" aria-valuetext="${this.tooltipFormatter(value)}" data-range-id="${rangeId}" data-disabled="${ifDefined(this.disabled || this.visuallyDisabled || void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${cx(
415
415
  "rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",
416
416
  this.disabled || this.visuallyDisabled ? "outline-none" : "cursor-pointer focus-visible:focus-outline"
417
- )}"></div></sd-6-4-1-tooltip>`;
417
+ )}"></div></sd-6-4-2-tooltip>`;
418
418
  });
419
419
  }
420
420
  render() {
@@ -484,7 +484,7 @@ __decorateClass([
484
484
  property({ type: String })
485
485
  ], SdRange.prototype, "value", 1);
486
486
  SdRange = __decorateClass([
487
- customElement("sd-6-4-1-range")
487
+ customElement("sd-6-4-2-range")
488
488
  ], SdRange);
489
489
 
490
490
  export {
@@ -130,7 +130,7 @@ __decorateClass([
130
130
  state()
131
131
  ], SdBrandshape.prototype, "componentBreakpoint", 2);
132
132
  SdBrandshape = __decorateClass([
133
- customElement("sd-6-4-1-brandshape")
133
+ customElement("sd-6-4-2-brandshape")
134
134
  ], SdBrandshape);
135
135
 
136
136
  export {
@@ -54,7 +54,7 @@ var SdHeader = class extends SolidElement {
54
54
  }
55
55
  }
56
56
  render() {
57
- return html`<header class="w-full sd-6-4-1-header-color-background relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`;
57
+ return html`<header class="w-full sd-6-4-2-header-color-background relative" role="banner"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`;
58
58
  }
59
59
  };
60
60
  SdHeader.styles = [
@@ -72,7 +72,7 @@ __decorateClass([
72
72
  debounce(100)
73
73
  ], SdHeader.prototype, "updateCalculatedHeight", 1);
74
74
  SdHeader = __decorateClass([
75
- customElement("sd-6-4-1-header")
75
+ customElement("sd-6-4-2-header")
76
76
  ], SdHeader);
77
77
 
78
78
  export {
@@ -55,7 +55,7 @@ var SdStepGroup = class extends SolidElement {
55
55
  });
56
56
  }
57
57
  getAllSteps() {
58
- return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-4-1-step");
58
+ return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-4-2-step");
59
59
  }
60
60
  /**
61
61
  * Sets the active step.
@@ -121,7 +121,7 @@ __decorateClass([
121
121
  watch("notInteractive")
122
122
  ], SdStepGroup.prototype, "handleInteractivityChange", 1);
123
123
  SdStepGroup = __decorateClass([
124
- customElement("sd-6-4-1-step-group")
124
+ customElement("sd-6-4-2-step-group")
125
125
  ], SdStepGroup);
126
126
 
127
127
  export {
@@ -221,7 +221,7 @@ var SdTextarea = class extends SolidElement {
221
221
  textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "form-control-color-text",
222
222
  ["invalid", "activeInvalid"].includes(textareaState) && "form-control--invalid-color-background"
223
223
  )}"><textarea part="textarea" id="input" class="${cx(
224
- "ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-6-4-1-icon]:pe-8",
224
+ "ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-6-4-2-icon]:pe-8",
225
225
  {
226
226
  sm: this.floatingLabel ? "pb-1" : "py-1",
227
227
  md: this.floatingLabel ? "pb-1" : "py-1",
@@ -229,7 +229,7 @@ var SdTextarea = class extends SolidElement {
229
229
  }[this.size],
230
230
  this.disabled && "cursor-not-allowed",
231
231
  textSize
232
- )}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-6-4-1-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-6-4-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-4-1-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-4-1-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText && !this.showInvalidStyle ? "block" : "hidden")}" aria-hidden="${!hasHelpText || this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
232
+ )}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel || isFloatingLabelActive ? ifDefined(this.placeholder) : ""}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-6-4-2-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-6-4-2-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-4-2-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-4-2-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText && !this.showInvalidStyle ? "block" : "hidden")}" aria-hidden="${!hasHelpText || this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
233
233
  }
234
234
  };
235
235
  /**
@@ -347,7 +347,7 @@ __decorateClass([
347
347
  watch("value", { waitUntilFirstUpdate: true })
348
348
  ], SdTextarea.prototype, "handleValueChange", 1);
349
349
  SdTextarea = __decorateClass([
350
- customElement("sd-6-4-1-textarea")
350
+ customElement("sd-6-4-2-textarea")
351
351
  ], SdTextarea);
352
352
 
353
353
  export {