@solid-design-system/components 5.1.0 → 5.2.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 (237) hide show
  1. package/cdn/chunks/chunk.BV574DRQ.js +1 -0
  2. package/cdn/components/scrollable/scrollable.js +1 -1
  3. package/cdn/custom-elements.json +1 -1
  4. package/cdn/solid-components.bundle.js +1 -1
  5. package/cdn/solid-components.iife.js +1 -1
  6. package/cdn/solid-components.js +1 -1
  7. package/cdn/web-types.json +1 -1
  8. package/cdn-versioned/_components/menu/menu.js +1 -1
  9. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  10. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  11. package/cdn-versioned/chunks/chunk.2SOEBGDS.js +1 -1
  12. package/cdn-versioned/chunks/chunk.3AEOVI4V.js +1 -1
  13. package/cdn-versioned/chunks/chunk.4336N4TN.js +4 -4
  14. package/cdn-versioned/chunks/chunk.466HB7MH.js +1 -1
  15. package/cdn-versioned/chunks/chunk.54XQKZNU.js +1 -1
  16. package/cdn-versioned/chunks/chunk.5I76HTXX.js +1 -1
  17. package/cdn-versioned/chunks/chunk.5SNCMR36.js +1 -1
  18. package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
  19. package/cdn-versioned/chunks/chunk.6OJK4N6O.js +1 -1
  20. package/cdn-versioned/chunks/chunk.7LHKLE4G.js +1 -1
  21. package/cdn-versioned/chunks/chunk.7RCSPRWP.js +1 -1
  22. package/cdn-versioned/chunks/chunk.7SJEXZSM.js +1 -1
  23. package/cdn-versioned/chunks/chunk.AFKPYWS5.js +4 -4
  24. package/cdn-versioned/chunks/chunk.AMKBNS7H.js +1 -1
  25. package/cdn-versioned/chunks/chunk.BV574DRQ.js +1 -0
  26. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  27. package/cdn-versioned/chunks/chunk.EVLY2HWM.js +1 -1
  28. package/cdn-versioned/chunks/chunk.FY4ZQ25C.js +1 -1
  29. package/cdn-versioned/chunks/chunk.HAYM6MTB.js +1 -1
  30. package/cdn-versioned/chunks/chunk.I4VI7CRD.js +1 -1
  31. package/cdn-versioned/chunks/chunk.IDX4RDHZ.js +1 -1
  32. package/cdn-versioned/chunks/chunk.KINWB3R6.js +1 -1
  33. package/cdn-versioned/chunks/chunk.KYWP646O.js +1 -1
  34. package/cdn-versioned/chunks/chunk.LQ5Q73YJ.js +1 -1
  35. package/cdn-versioned/chunks/chunk.LRTBIARY.js +1 -1
  36. package/cdn-versioned/chunks/chunk.M43SHSJ7.js +3 -3
  37. package/cdn-versioned/chunks/chunk.MFSX5MIZ.js +1 -1
  38. package/cdn-versioned/chunks/chunk.MHPWICL2.js +1 -1
  39. package/cdn-versioned/chunks/chunk.MNEGNJBN.js +2 -2
  40. package/cdn-versioned/chunks/chunk.OOE73LIA.js +1 -1
  41. package/cdn-versioned/chunks/chunk.ORM6LFSP.js +1 -1
  42. package/cdn-versioned/chunks/chunk.PIYHBRRO.js +1 -1
  43. package/cdn-versioned/chunks/chunk.PKL7HSML.js +1 -1
  44. package/cdn-versioned/chunks/chunk.PM4HPYFT.js +2 -2
  45. package/cdn-versioned/chunks/chunk.QCGZSSDL.js +1 -1
  46. package/cdn-versioned/chunks/chunk.QDPTVUAW.js +1 -1
  47. package/cdn-versioned/chunks/chunk.QHURAHWP.js +1 -1
  48. package/cdn-versioned/chunks/chunk.RYR5JMPR.js +1 -1
  49. package/cdn-versioned/chunks/chunk.T25YQB27.js +1 -1
  50. package/cdn-versioned/chunks/chunk.TUVJON3T.js +1 -1
  51. package/cdn-versioned/chunks/chunk.UUQIXQII.js +1 -1
  52. package/cdn-versioned/chunks/chunk.VYFYAVQV.js +1 -1
  53. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  54. package/cdn-versioned/chunks/chunk.WHJMIN4O.js +1 -1
  55. package/cdn-versioned/chunks/chunk.XLPONTTF.js +1 -1
  56. package/cdn-versioned/chunks/chunk.Y63VGL2X.js +1 -1
  57. package/cdn-versioned/chunks/chunk.YBDULCI5.js +1 -1
  58. package/cdn-versioned/chunks/chunk.Z7R4W5J7.js +1 -1
  59. package/cdn-versioned/chunks/chunk.ZGWHWNN7.js +1 -1
  60. package/cdn-versioned/chunks/chunk.ZHIT75AP.js +1 -1
  61. package/cdn-versioned/chunks/chunk.ZIXORQQN.js +1 -1
  62. package/cdn-versioned/chunks/chunk.ZUSDFNOR.js +1 -1
  63. package/cdn-versioned/chunks/chunk.ZWRWVYOC.js +1 -1
  64. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  65. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  66. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  67. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  68. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  69. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  70. package/cdn-versioned/components/button/button.d.ts +1 -1
  71. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  72. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  73. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  74. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  75. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  76. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  77. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  78. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  79. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  80. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  81. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  82. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  83. package/cdn-versioned/components/header/header.d.ts +1 -1
  84. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  85. package/cdn-versioned/components/include/include.d.ts +1 -1
  86. package/cdn-versioned/components/input/input.d.ts +1 -1
  87. package/cdn-versioned/components/link/link.d.ts +1 -1
  88. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  89. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  90. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  91. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  92. package/cdn-versioned/components/option/option.d.ts +1 -1
  93. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  94. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  95. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  96. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  97. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  98. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  99. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  100. package/cdn-versioned/components/select/select.d.ts +1 -1
  101. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  102. package/cdn-versioned/components/step/step.d.ts +1 -1
  103. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  104. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  105. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  106. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  107. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  108. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  109. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  110. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  111. package/cdn-versioned/components/video/video.d.ts +1 -1
  112. package/cdn-versioned/custom-elements.json +211 -211
  113. package/cdn-versioned/internal/form.js +3 -3
  114. package/cdn-versioned/solid-components.bundle.js +17 -17
  115. package/cdn-versioned/solid-components.css +2 -2
  116. package/cdn-versioned/solid-components.iife.js +17 -17
  117. package/cdn-versioned/solid-components.js +1 -1
  118. package/cdn-versioned/vscode.html-custom-data.json +80 -80
  119. package/cdn-versioned/web-types.json +137 -137
  120. package/dist/chunks/{chunk.JK7S3JAQ.js → chunk.HPEQN7OA.js} +22 -6
  121. package/dist/components/scrollable/scrollable.js +1 -1
  122. package/dist/custom-elements.json +1 -1
  123. package/dist/solid-components.js +1 -1
  124. package/dist/web-types.json +1 -1
  125. package/dist-versioned/_components/menu/menu.js +1 -1
  126. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  127. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  128. package/dist-versioned/chunks/chunk.25JYDDEL.js +2 -2
  129. package/dist-versioned/chunks/chunk.2KW3OQK3.js +1 -1
  130. package/dist-versioned/chunks/chunk.2XYOJHUN.js +2 -2
  131. package/dist-versioned/chunks/chunk.4JIUFSXL.js +1 -1
  132. package/dist-versioned/chunks/chunk.4X5KLZKG.js +2 -2
  133. package/dist-versioned/chunks/chunk.57IRQB22.js +5 -5
  134. package/dist-versioned/chunks/chunk.5E7OOWFM.js +2 -2
  135. package/dist-versioned/chunks/chunk.5HB4AZFH.js +11 -11
  136. package/dist-versioned/chunks/chunk.67HGWRDC.js +3 -3
  137. package/dist-versioned/chunks/chunk.6BPYGYKJ.js +1 -1
  138. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  139. package/dist-versioned/chunks/chunk.6MIVTHPW.js +26 -26
  140. package/dist-versioned/chunks/chunk.7A77E2WF.js +3 -3
  141. package/dist-versioned/chunks/chunk.AD7FTSCZ.js +2 -2
  142. package/dist-versioned/chunks/chunk.ASKGMA6Q.js +1 -1
  143. package/dist-versioned/chunks/chunk.CY7STHBY.js +5 -5
  144. package/dist-versioned/chunks/chunk.DFQ36XHY.js +2 -2
  145. package/dist-versioned/chunks/chunk.DPVQIW2K.js +5 -5
  146. package/dist-versioned/chunks/chunk.EH5YMA4E.js +5 -5
  147. package/dist-versioned/chunks/chunk.EOLWJNLD.js +3 -3
  148. package/dist-versioned/chunks/chunk.EQXVKF2G.js +2 -2
  149. package/dist-versioned/chunks/chunk.FA2PSB3G.js +6 -6
  150. package/dist-versioned/chunks/chunk.FZYBHAXZ.js +14 -14
  151. package/dist-versioned/chunks/chunk.GCBWRTSA.js +4 -4
  152. package/dist-versioned/chunks/chunk.GIDPKVNI.js +1 -1
  153. package/dist-versioned/chunks/{chunk.JK7S3JAQ.js → chunk.HPEQN7OA.js} +29 -13
  154. package/dist-versioned/chunks/chunk.I5QIVC43.js +3 -3
  155. package/dist-versioned/chunks/chunk.IUBULF5H.js +1 -1
  156. package/dist-versioned/chunks/chunk.JNTYSC5E.js +1 -1
  157. package/dist-versioned/chunks/chunk.JQ4VVB6S.js +2 -2
  158. package/dist-versioned/chunks/chunk.KPGT5KTE.js +4 -4
  159. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  160. package/dist-versioned/chunks/chunk.LO2A6JZJ.js +2 -2
  161. package/dist-versioned/chunks/chunk.LVZUFX7G.js +1 -1
  162. package/dist-versioned/chunks/chunk.MGN6UKEO.js +5 -5
  163. package/dist-versioned/chunks/chunk.MTWZ3KVK.js +1 -1
  164. package/dist-versioned/chunks/chunk.NG6H4NIH.js +2 -2
  165. package/dist-versioned/chunks/chunk.NTCYC424.js +1 -1
  166. package/dist-versioned/chunks/chunk.QJGXEBXI.js +13 -13
  167. package/dist-versioned/chunks/chunk.TIB22UHZ.js +6 -6
  168. package/dist-versioned/chunks/chunk.TJBA6JWN.js +1 -1
  169. package/dist-versioned/chunks/chunk.TYVXH7ZW.js +9 -9
  170. package/dist-versioned/chunks/chunk.U6ZVQYN2.js +1 -1
  171. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  172. package/dist-versioned/chunks/chunk.UT2PBNPH.js +2 -2
  173. package/dist-versioned/chunks/chunk.UUW3B5S5.js +2 -2
  174. package/dist-versioned/chunks/chunk.W5BEGOS2.js +3 -3
  175. package/dist-versioned/chunks/chunk.XAOH7E5Y.js +2 -2
  176. package/dist-versioned/chunks/chunk.XQPSZT7C.js +2 -2
  177. package/dist-versioned/chunks/chunk.Z2TW3FW6.js +1 -1
  178. package/dist-versioned/chunks/chunk.Z7OTCKNY.js +2 -2
  179. package/dist-versioned/chunks/chunk.ZQKFSIZX.js +1 -1
  180. package/dist-versioned/chunks/chunk.ZU6B6J6V.js +24 -24
  181. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  182. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  183. package/dist-versioned/components/animation/animation.d.ts +1 -1
  184. package/dist-versioned/components/audio/audio.d.ts +1 -1
  185. package/dist-versioned/components/badge/badge.d.ts +1 -1
  186. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  187. package/dist-versioned/components/button/button.d.ts +1 -1
  188. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  189. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  190. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  191. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  192. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  193. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  194. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  195. package/dist-versioned/components/divider/divider.d.ts +1 -1
  196. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  197. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  198. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  199. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  200. package/dist-versioned/components/header/header.d.ts +1 -1
  201. package/dist-versioned/components/icon/icon.d.ts +1 -1
  202. package/dist-versioned/components/include/include.d.ts +1 -1
  203. package/dist-versioned/components/input/input.d.ts +1 -1
  204. package/dist-versioned/components/link/link.d.ts +1 -1
  205. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  206. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  207. package/dist-versioned/components/notification/notification.d.ts +1 -1
  208. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  209. package/dist-versioned/components/option/option.d.ts +1 -1
  210. package/dist-versioned/components/popup/popup.d.ts +1 -1
  211. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  212. package/dist-versioned/components/radio/radio.d.ts +1 -1
  213. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  214. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  215. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  216. package/dist-versioned/components/scrollable/scrollable.js +1 -1
  217. package/dist-versioned/components/select/select.d.ts +1 -1
  218. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  219. package/dist-versioned/components/step/step.d.ts +1 -1
  220. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  221. package/dist-versioned/components/switch/switch.d.ts +1 -1
  222. package/dist-versioned/components/tab/tab.d.ts +1 -1
  223. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  224. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  225. package/dist-versioned/components/tag/tag.d.ts +1 -1
  226. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  227. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  228. package/dist-versioned/components/video/video.d.ts +1 -1
  229. package/dist-versioned/custom-elements.json +211 -211
  230. package/dist-versioned/internal/form.js +3 -3
  231. package/dist-versioned/solid-components.css +2 -2
  232. package/dist-versioned/solid-components.js +1 -1
  233. package/dist-versioned/vscode.html-custom-data.json +80 -80
  234. package/dist-versioned/web-types.json +137 -137
  235. package/package.json +2 -2
  236. package/cdn/chunks/chunk.66GOZEE4.js +0 -1
  237. package/cdn-versioned/chunks/chunk.66GOZEE4.js +0 -1
@@ -208,7 +208,7 @@ var SdTextarea = class extends SolidElement {
208
208
  this.readonly ? "bg-neutral-100" : "bg-white",
209
209
  textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "text-black"
210
210
  )}"><textarea part="textarea" id="input" class="${cx(
211
- "ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-1-0-icon]:pe-8",
211
+ "ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-2-0-icon]:pe-8",
212
212
  {
213
213
  sm: "py-1",
214
214
  md: "py-1",
@@ -216,7 +216,7 @@ var SdTextarea = class extends SolidElement {
216
216
  }[this.size],
217
217
  this.disabled && "cursor-not-allowed",
218
218
  textSize
219
- )}" 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="${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-5-1-0-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-5-1-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-1-0-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-1-0-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
219
+ )}" 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="${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-5-2-0-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-5-2-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-2-0-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-2-0-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
220
220
  }
221
221
  };
222
222
  /**
@@ -330,7 +330,7 @@ __decorateClass([
330
330
  watch("value", { waitUntilFirstUpdate: true })
331
331
  ], SdTextarea.prototype, "handleValueChange", 1);
332
332
  SdTextarea = __decorateClass([
333
- customElement("sd-5-1-0-textarea")
333
+ customElement("sd-5-2-0-textarea")
334
334
  ], SdTextarea);
335
335
 
336
336
  export {
@@ -94,7 +94,7 @@ var SdExpandable = class extends SolidElement {
94
94
  )}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${cx(
95
95
  "flex items-center mr-2 transition-transform duration-medium ease-in-out",
96
96
  this.open && "rotate-180"
97
- )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-1-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-1-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-1-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-1-0-icon></slot></span><slot name="toggle-closed" class="${cx(this.open && "hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${cx(!this.open && "hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${ifDefined(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
97
+ )}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-2-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-2-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-2-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-2-0-icon></slot></span><slot name="toggle-closed" class="${cx(this.open && "hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${cx(!this.open && "hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${ifDefined(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
98
98
  }
99
99
  firstUpdated() {
100
100
  this.cloneContentToLightDOM();
@@ -134,7 +134,7 @@ __decorateClass([
134
134
  watch("open", { waitUntilFirstUpdate: true })
135
135
  ], SdExpandable.prototype, "onOpenChange", 1);
136
136
  SdExpandable = __decorateClass([
137
- customElement("sd-5-1-0-expandable")
137
+ customElement("sd-5-2-0-expandable")
138
138
  ], SdExpandable);
139
139
  setDefaultAnimation("expandable.show", {
140
140
  keyframes: [{ height: "var(--component-expandable-max-block-size, 90px)" }, { height: "auto" }],
@@ -323,7 +323,7 @@ __decorateClass([
323
323
  property({ attribute: "auto-size-padding", type: Number })
324
324
  ], SdPopup.prototype, "autoSizePadding", 2);
325
325
  SdPopup = __decorateClass([
326
- customElement("sd-5-1-0-popup")
326
+ customElement("sd-5-2-0-popup")
327
327
  ], SdPopup);
328
328
 
329
329
  export {
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
26
26
  this.helpText = "";
27
27
  }
28
28
  getAllCheckboxes() {
29
- return [...this.querySelectorAll("sd-5-1-0-checkbox")];
29
+ return [...this.querySelectorAll("sd-5-2-0-checkbox")];
30
30
  }
31
31
  async syncCheckboxElements() {
32
32
  const checkboxes = this.getAllCheckboxes();
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
39
39
  );
40
40
  }
41
41
  syncCheckboxes() {
42
- if (customElements.get("sd-5-1-0-checkbox")) {
42
+ if (customElements.get("sd-5-2-0-checkbox")) {
43
43
  this.syncCheckboxElements();
44
44
  } else {
45
- customElements.whenDefined("sd-5-1-0-checkbox").then(() => this.syncCheckboxes());
45
+ customElements.whenDefined("sd-5-2-0-checkbox").then(() => this.syncCheckboxes());
46
46
  }
47
47
  }
48
48
  handleSizeChange() {
@@ -79,7 +79,7 @@ var SdCheckboxGroup = class extends SolidElement {
79
79
  */
80
80
  SdCheckboxGroup.styles = [
81
81
  ...SolidElement.styles,
82
- css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-1-0-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-1-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-1-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-1-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-1-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-1-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
82
+ css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-2-0-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-2-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-2-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-2-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-2-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-2-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
83
83
  ];
84
84
  __decorateClass([
85
85
  property({ type: String, reflect: true })
@@ -100,7 +100,7 @@ __decorateClass([
100
100
  watch("invalid", { waitUntilFirstUpdate: true })
101
101
  ], SdCheckboxGroup.prototype, "handleInvalid", 1);
102
102
  SdCheckboxGroup = __decorateClass([
103
- customElement("sd-5-1-0-checkbox-group")
103
+ customElement("sd-5-2-0-checkbox-group")
104
104
  ], SdCheckboxGroup);
105
105
 
106
106
  export {
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
32
32
  */
33
33
  SdDivider.styles = [
34
34
  ...SolidElement.styles,
35
- css`:host{margin:var(--sd-spacing-0,0)}:host(sd-5-1-0-divider[orientation=horizontal]){display:block}:host(sd-5-1-0-divider[orientation=vertical]){display:inline-block}`
35
+ css`:host{margin:var(--sd-spacing-0,0)}:host(sd-5-2-0-divider[orientation=horizontal]){display:block}:host(sd-5-2-0-divider[orientation=vertical]){display:inline-block}`
36
36
  ];
37
37
  __decorateClass([
38
38
  property({ type: String, reflect: true })
@@ -41,7 +41,7 @@ __decorateClass([
41
41
  property({ type: Boolean, reflect: true })
42
42
  ], SdDivider.prototype, "inverted", 2);
43
43
  SdDivider = __decorateClass([
44
- customElement("sd-5-1-0-divider")
44
+ customElement("sd-5-2-0-divider")
45
45
  ], SdDivider);
46
46
 
47
47
  export {
@@ -202,15 +202,15 @@ var SdTooltip = class extends SolidElement {
202
202
  render() {
203
203
  const isStart = this.placement.endsWith("-start");
204
204
  const isEnd = this.placement.endsWith("-end");
205
- return html`<sd-5-1-0-popup part="base" exportparts="
205
+ return html`<sd-5-2-0-popup part="base" exportparts="
206
206
  popup:base__popup,
207
207
  arrow:base__arrow
208
- " class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-1-0-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-5-1-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-5-1-0-popup>`;
208
+ " class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-2-0-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-5-2-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-5-2-0-popup>`;
209
209
  }
210
210
  };
211
211
  SdTooltip.styles = [
212
212
  ...SolidElement.styles,
213
- css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-1-0-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-1-0-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-1-0-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-1-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-1-0-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
213
+ css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-2-0-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-2-0-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-2-0-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-2-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-2-0-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
214
214
  ];
215
215
  __decorateClass([
216
216
  query("slot:not([name])")
@@ -219,7 +219,7 @@ __decorateClass([
219
219
  query("#tooltip")
220
220
  ], SdTooltip.prototype, "body", 2);
221
221
  __decorateClass([
222
- query("sd-5-1-0-popup")
222
+ query("sd-5-2-0-popup")
223
223
  ], SdTooltip.prototype, "popup", 2);
224
224
  __decorateClass([
225
225
  property({ type: String, reflect: true })
@@ -252,7 +252,7 @@ __decorateClass([
252
252
  watch("disabled")
253
253
  ], SdTooltip.prototype, "handleDisabledChange", 1);
254
254
  SdTooltip = __decorateClass([
255
- customElement("sd-5-1-0-tooltip")
255
+ customElement("sd-5-2-0-tooltip")
256
256
  ], SdTooltip);
257
257
  setDefaultAnimation("tooltip.show", {
258
258
  keyframes: [{ opacity: 0 }, { opacity: 1 }],
@@ -28,11 +28,11 @@ var SdOptgroup = class extends SolidElement {
28
28
  this.label = "";
29
29
  }
30
30
  /**
31
- * Syncs the disabled prop for all slotted sd-5-1-0-options when it is triggered
31
+ * Syncs the disabled prop for all slotted sd-5-2-0-options when it is triggered
32
32
  */
33
33
  handleDisableOptions() {
34
34
  const { disabled } = this;
35
- this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-1-0-option").forEach((opt) => {
35
+ this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-2-0-option").forEach((opt) => {
36
36
  opt.disabled = disabled;
37
37
  });
38
38
  }
@@ -41,11 +41,11 @@ var SdOptgroup = class extends SolidElement {
41
41
  }
42
42
  render() {
43
43
  const { disabled } = this;
44
- return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-1-0-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-1-0-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
44
+ return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-2-0-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-2-0-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
45
45
  }
46
46
  };
47
47
  SdOptgroup.dependencies = {
48
- "sd-5-1-0-divider": SdDivider
48
+ "sd-5-2-0-divider": SdDivider
49
49
  };
50
50
  SdOptgroup.styles = [
51
51
  ...SolidElement.styles,
@@ -64,7 +64,7 @@ __decorateClass([
64
64
  watch("disabled", { waitUntilFirstUpdate: true })
65
65
  ], SdOptgroup.prototype, "handleDisabledChange", 1);
66
66
  SdOptgroup = __decorateClass([
67
- customElement("sd-5-1-0-optgroup")
67
+ customElement("sd-5-2-0-optgroup")
68
68
  ], SdOptgroup);
69
69
 
70
70
  export {
@@ -385,7 +385,7 @@ var SdInput = class extends SolidElement {
385
385
  this.size === "sm" ? "h-6" : "h-8",
386
386
  textSize
387
387
  )}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
388
- ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-1-0-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-1-0-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-5-1-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-1-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-1-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-1-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-1-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-1-0-icon>` : ""} ${this.type === "time" ? html`<sd-5-1-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-1-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-1-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-1-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-1-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-1-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-1-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-1-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-5-1-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-1-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-5-1-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-1-0-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
388
+ ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-2-0-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-2-0-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-5-2-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-2-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-2-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-2-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-2-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-2-0-icon>` : ""} ${this.type === "time" ? html`<sd-5-2-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-2-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-2-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-2-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-2-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-2-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-2-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-2-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-5-2-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-2-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-5-2-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-2-0-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
389
389
  }
390
390
  };
391
391
  /**
@@ -393,7 +393,7 @@ var SdInput = class extends SolidElement {
393
393
  */
394
394
  SdInput.styles = [
395
395
  ...SolidElement.styles,
396
- css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-1-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
396
+ css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-2-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
397
397
  ];
398
398
  __decorateClass([
399
399
  query("#input")
@@ -523,7 +523,7 @@ __decorateClass([
523
523
  watch("value", { waitUntilFirstUpdate: true })
524
524
  ], SdInput.prototype, "handleValueChange", 1);
525
525
  SdInput = __decorateClass([
526
- customElement("sd-5-1-0-input")
526
+ customElement("sd-5-2-0-input")
527
527
  ], SdInput);
528
528
 
529
529
  export {
@@ -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 bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
101
- )}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-1-0-icon id="default-play-icon" library="_internal" name="start"></sd-5-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>`;
101
+ )}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-2-0-icon id="default-play-icon" library="_internal" name="start"></sd-5-2-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 = [
@@ -115,7 +115,7 @@ __decorateClass([
115
115
  property({ type: Boolean })
116
116
  ], SdVideo.prototype, "isBelowBreakpoint", 2);
117
117
  SdVideo = __decorateClass([
118
- customElement("sd-5-1-0-video")
118
+ customElement("sd-5-2-0-video")
119
119
  ], SdVideo);
120
120
 
121
121
  export {
@@ -56,7 +56,7 @@ var SdCarousel = class extends SolidElement {
56
56
  this.pausedAutoplay = false;
57
57
  this.autoplayController = new AutoplayController(this, () => this.next());
58
58
  this.scrollController = new ScrollController(this);
59
- this.slides = this.getElementsByTagName("sd-5-1-0-carousel-item");
59
+ this.slides = this.getElementsByTagName("sd-5-2-0-carousel-item");
60
60
  // determines which slide is displayed
61
61
  // A map containing the state of all the slides
62
62
  this.intersectionObserverEntries = /* @__PURE__ */ new Map();
@@ -380,7 +380,7 @@ var SdCarousel = class extends SolidElement {
380
380
  )}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${prevEnabled ? (e) => {
381
381
  this.previous();
382
382
  this.unblockAutoplay(e, this.previousButton);
383
- } : null}"><slot name="previous-icon"><sd-5-1-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-5-1-0-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
383
+ } : null}"><slot name="previous-icon"><sd-5-2-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-5-2-0-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
384
384
  const isActive = index + 1 === currentPage;
385
385
  return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
386
386
  "carousel__pagination-item",
@@ -403,7 +403,7 @@ var SdCarousel = class extends SolidElement {
403
403
  )}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${nextEnabled ? (e) => {
404
404
  this.next();
405
405
  this.unblockAutoplay(e, this.nextButton);
406
- } : null}"><slot name="next-icon"><sd-5-1-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-5-1-0-icon></slot></button></div><button class="${cx(
406
+ } : null}"><slot name="next-icon"><sd-5-2-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-5-2-0-icon></slot></button></div><button class="${cx(
407
407
  "ml-6 !rounded-sm",
408
408
  "!absolute !right-0 sd-interactive",
409
409
  this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
@@ -413,12 +413,12 @@ var SdCarousel = class extends SolidElement {
413
413
  if (e.detail) {
414
414
  this.autoplayControls.blur();
415
415
  }
416
- }}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-1-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-5-1-0-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-5-1-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-5-1-0-icon></slot></button></div></div>`;
416
+ }}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-2-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-5-2-0-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-5-2-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-5-2-0-icon></slot></button></div></div>`;
417
417
  }
418
418
  };
419
419
  SdCarousel.styles = [
420
420
  ...SolidElement.styles,
421
- css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-1-0-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
421
+ css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-2-0-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
422
422
  ];
423
423
  __decorateClass([
424
424
  query('[part~="autoplay-controls"]')
@@ -485,7 +485,7 @@ __decorateClass([
485
485
  watch("autoplay")
486
486
  ], SdCarousel.prototype, "handleAutoplayChange", 1);
487
487
  SdCarousel = __decorateClass([
488
- customElement("sd-5-1-0-carousel")
488
+ customElement("sd-5-2-0-carousel")
489
489
  ], SdCarousel);
490
490
 
491
491
  export {
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
29
29
  }
30
30
  connectedCallback() {
31
31
  const whenAllDefined = Promise.all([
32
- customElements.whenDefined("sd-5-1-0-tab"),
33
- customElements.whenDefined("sd-5-1-0-tab-panel")
32
+ customElements.whenDefined("sd-5-2-0-tab"),
33
+ customElements.whenDefined("sd-5-2-0-tab-panel")
34
34
  ]);
35
35
  super.connectedCallback();
36
36
  this.resizeObserver = new ResizeObserver(() => {
@@ -70,20 +70,20 @@ var SdTabGroup = class extends SolidElement {
70
70
  }
71
71
  getAllTabs(options = { includeDisabled: true }) {
72
72
  const slot = this.shadowRoot.querySelector('slot[name="nav"]');
73
- return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-5-1-0-tab" ? el : el.querySelector("sd-5-1-0-tab")).filter((el) => {
74
- return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-5-1-0-tab" : el.tagName.toLowerCase() === "sd-5-1-0-tab" && !el.disabled;
73
+ return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-5-2-0-tab" ? el : el.querySelector("sd-5-2-0-tab")).filter((el) => {
74
+ return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-5-2-0-tab" : el.tagName.toLowerCase() === "sd-5-2-0-tab" && !el.disabled;
75
75
  });
76
76
  }
77
77
  getAllPanels() {
78
- return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-5-1-0-tab-panel");
78
+ return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-5-2-0-tab-panel");
79
79
  }
80
80
  getActiveTab() {
81
81
  return this.tabs.find((t) => t.matches(":focus"));
82
82
  }
83
83
  handleClick(event) {
84
84
  const target = event.target;
85
- const tab = target.closest("sd-5-1-0-tab");
86
- const tabGroup = tab == null ? void 0 : tab.closest("sd-5-1-0-tab-group");
85
+ const tab = target.closest("sd-5-2-0-tab");
86
+ const tabGroup = tab == null ? void 0 : tab.closest("sd-5-2-0-tab-group");
87
87
  if (tabGroup !== this) {
88
88
  return;
89
89
  }
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
93
93
  }
94
94
  handleKeyDown(event) {
95
95
  const target = event.target;
96
- const tab = target.closest("sd-5-1-0-tab");
97
- const tabGroup = tab == null ? void 0 : tab.closest("sd-5-1-0-tab-group");
96
+ const tab = target.closest("sd-5-2-0-tab");
97
+ const tabGroup = tab == null ? void 0 : tab.closest("sd-5-2-0-tab-group");
98
98
  if (tabGroup !== this) {
99
99
  return;
100
100
  }
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
119
119
  if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
120
120
  const activeEl = this.tabs.find((t) => t.matches(":focus"));
121
121
  const isRtl = this.localize.dir() === "rtl";
122
- if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-5-1-0-tab") {
122
+ if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-5-2-0-tab") {
123
123
  let index = this.tabs.indexOf(activeEl);
124
124
  if (event.key === "Home") {
125
125
  index = 0;
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
215
215
  return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
216
216
  "sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
217
217
  this.localize.dir() === "rtl" && "left-auto right-0"
218
- )}" @click="${this.handleScrollToStart}"><sd-5-1-0-icon library="_internal" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-1-0-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
218
+ )}" @click="${this.handleScrollToStart}"><sd-5-2-0-icon library="_internal" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-2-0-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
219
219
  "sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
220
220
  this.localize.dir() === "rtl" && "right-auto left-0"
221
- )}" @click="${this.handleScrollToEnd}"><sd-5-1-0-icon library="_internal" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-1-0-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
221
+ )}" @click="${this.handleScrollToEnd}"><sd-5-2-0-icon library="_internal" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-2-0-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
222
222
  }
223
223
  };
224
224
  SdTabGroup.styles = [
225
225
  ...SolidElement.styles,
226
- css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-5-1-0-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-5-1-0-tab-panel){--padding:1rem 0}`
226
+ css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-5-2-0-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-5-2-0-tab-panel){--padding:1rem 0}`
227
227
  ];
228
228
  __decorateClass([
229
229
  query("[part=base]")
@@ -244,7 +244,7 @@ __decorateClass([
244
244
  property({ type: String, reflect: true })
245
245
  ], SdTabGroup.prototype, "activation", 2);
246
246
  SdTabGroup = __decorateClass([
247
- customElement("sd-5-1-0-tab-group")
247
+ customElement("sd-5-2-0-tab-group")
248
248
  ], SdTabGroup);
249
249
 
250
250
  export {
@@ -181,15 +181,15 @@ var SdNotification = class extends SolidElement {
181
181
  warning: "bg-warning",
182
182
  error: "bg-error"
183
183
  }[this.variant]
184
- )}"><sd-5-1-0-icon name="${{
184
+ )}"><sd-5-2-0-icon name="${{
185
185
  info: "info-circle",
186
186
  success: "confirm-circle",
187
187
  warning: "exclamation-circle",
188
188
  error: "warning"
189
- }[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-1-0-icon></slot><div part="content" class="${cx(
189
+ }[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-2-0-icon></slot><div part="content" class="${cx(
190
190
  "h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
191
191
  "border-solid border-[1px] border-l-0 border-neutral-400"
192
- )}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-1-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-1-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-1-0-icon></sd-5-1-0-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
192
+ )}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-2-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-2-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-2-0-icon></sd-5-2-0-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
193
193
  }
194
194
  };
195
195
  /**
@@ -230,7 +230,7 @@ __decorateClass([
230
230
  watch("duration")
231
231
  ], SdNotification.prototype, "handleDurationChange", 1);
232
232
  SdNotification = __decorateClass([
233
- customElement("sd-5-1-0-notification")
233
+ customElement("sd-5-2-0-notification")
234
234
  ], SdNotification);
235
235
  setDefaultAnimation("notification.show", {
236
236
  keyframes: [
@@ -168,7 +168,7 @@ __decorateClass([
168
168
  watch(["checked"], { waitUntilFirstUpdate: true })
169
169
  ], SdSwitch.prototype, "handleStateChange", 1);
170
170
  SdSwitch = __decorateClass([
171
- customElement("sd-5-1-0-switch")
171
+ customElement("sd-5-2-0-switch")
172
172
  ], SdSwitch);
173
173
 
174
174
  export {
@@ -129,7 +129,7 @@ var SdScrollable = class extends SolidElement {
129
129
  down: this.upButton
130
130
  }[direction];
131
131
  const label = reachedStart ? `${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}` : `${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;
132
- (_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-5-1-0-icon")) == null ? void 0 : _c.setAttribute("label", label);
132
+ (_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-5-2-0-icon")) == null ? void 0 : _c.setAttribute("label", label);
133
133
  if (isKeyboardTriggered) {
134
134
  oppositeButton == null ? void 0 : oppositeButton.focus();
135
135
  } else {
@@ -141,11 +141,11 @@ var SdScrollable = class extends SolidElement {
141
141
  const scrollTo = ["left", "up"].includes(direction) ? "start" : "end";
142
142
  const label = scrollTo === "start" ? this.localize.term("scrollToStart") : this.localize.term("scrollToEnd");
143
143
  const button = e.target;
144
- (_a = button.querySelector("sd-5-1-0-icon")) == null ? void 0 : _a.setAttribute("label", label);
144
+ (_a = button.querySelector("sd-5-2-0-icon")) == null ? void 0 : _a.setAttribute("label", label);
145
145
  }
146
146
  render() {
147
147
  const scrollButtonClasses = "relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg";
148
- const scrollShadowClasses = "scroll-shadow absolute z-10 pointer-events-none";
148
+ const scrollShadowClasses = "scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";
149
149
  return html`<div part="base" class="${cx(
150
150
  "scroll-container flex overflow-hidden flex-1",
151
151
  this.scrollbars ? "show-scrollbars" : "hide-scrollbars",
@@ -156,23 +156,39 @@ var SdScrollable = class extends SolidElement {
156
156
  auto: "scroll-auto overflow-auto"
157
157
  }[this.orientation]
158
158
  )}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons ? html`${this.isScrollHorizontalEnabled ? html`<div part="button-left" class="${cx(
159
- "absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8",
159
+ "absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",
160
160
  !this.canScroll.left && "opacity-0 pointer-events-none"
161
- )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-5-1-0-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-5-1-0-icon></slot></button></div><div part="button-right" class="${cx(
162
- "absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8",
161
+ )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-5-2-0-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-5-2-0-icon></slot></button></div><div part="button-right" class="${cx(
162
+ "absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",
163
163
  !this.canScroll.right && "opacity-0 pointer-events-none"
164
- )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-5-1-0-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-5-1-0-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
165
- "absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8",
164
+ )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-5-2-0-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-5-2-0-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
165
+ "absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",
166
166
  !this.canScroll.up && "opacity-0 pointer-events-none"
167
- )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-5-1-0-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-5-1-0-icon></slot></button></div><div part="button-bottom" class="${cx(
168
- "absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8",
167
+ )}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-5-2-0-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-5-2-0-icon></slot></button></div><div part="button-bottom" class="${cx(
168
+ "absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",
169
169
  !this.canScroll.down && "opacity-0 pointer-events-none"
170
- )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-5-1-0-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-5-1-0-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="shadow-left" class="${scrollShadowClasses} left top-0 left-0 w-[6px] h-full"></div>` : null} ${this.canScroll.right ? html`<div part="shadow-right" class="${scrollShadowClasses} right top-0 right-0 w-[6px] h-full"></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="shadow-top" class="${scrollShadowClasses} top top-0 left-0 w-full h-[6px]"></div>` : null} ${this.canScroll.down ? html`<div part="shadow-bottom" class="${scrollShadowClasses} bottom bottom-0 left-0 w-full h-[6px]"></div>` : null}` : null}` : null}`;
170
+ )}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-5-2-0-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-5-2-0-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`<div part="shadow-left" class="${cx(
171
+ "left top-0 left-0 w-[6px] h-full",
172
+ scrollShadowClasses,
173
+ this.canScroll.left ? "opacity-100" : "opacity-0"
174
+ )}"></div><div part="shadow-right" class="${cx(
175
+ "right top-0 right-0 w-[6px] h-full",
176
+ scrollShadowClasses,
177
+ this.canScroll.right ? "opacity-100" : "opacity-0"
178
+ )}"></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="shadow-top" class="${cx(
179
+ "top top-0 left-0 w-full h-[6px]",
180
+ scrollShadowClasses,
181
+ this.canScroll.up ? "opacity-100" : "opacity-0"
182
+ )}"></div><div part="shadow-bottom" class="${cx(
183
+ "bottom bottom-0 left-0 w-full h-[6px]",
184
+ scrollShadowClasses,
185
+ this.canScroll.down ? "opacity-100" : "opacity-0"
186
+ )}"></div>` : null}` : null}`;
171
187
  }
172
188
  };
173
189
  SdScrollable.styles = [
174
190
  ...SolidElement.styles,
175
- css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-1-0-icon--top{align-self:flex-start}.sd-5-1-0-icon--down{align-self:flex-end}`
191
+ css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-2-0-icon--top{align-self:flex-start}.sd-5-2-0-icon--down{align-self:flex-end}`
176
192
  ];
177
193
  __decorateClass([
178
194
  query('[part="button-right"] button')
@@ -220,7 +236,7 @@ __decorateClass([
220
236
  state()
221
237
  ], SdScrollable.prototype, "isScrollVerticalEnabled", 2);
222
238
  SdScrollable = __decorateClass([
223
- customElement("sd-5-1-0-scrollable")
239
+ customElement("sd-5-2-0-scrollable")
224
240
  ], SdScrollable);
225
241
 
226
242
  export {
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
118
118
  render() {
119
119
  const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
120
120
  return html`<label part="base" class="${cx(
121
- "sd-5-1-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
121
+ "sd-5-2-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
122
122
  (this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
123
123
  {
124
124
  /* sizes, fonts */
@@ -144,7 +144,7 @@ var SdCheckbox = class extends SolidElement {
144
144
  filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
145
145
  default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
146
146
  }[checkboxState]
147
- )}">${this.checked ? html`<sd-5-1-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-1-0-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-5-1-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-5-1-0-icon>` : ""} </span><span part="label" id="label" class="${cx(
147
+ )}">${this.checked ? html`<sd-5-2-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-2-0-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-5-2-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-5-2-0-icon>` : ""} </span><span part="label" id="label" class="${cx(
148
148
  "select-none inline-block ml-2",
149
149
  this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
150
150
  )}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
@@ -206,7 +206,7 @@ __decorateClass([
206
206
  watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
207
207
  ], SdCheckbox.prototype, "handleStateChange", 1);
208
208
  SdCheckbox = __decorateClass([
209
- customElement("sd-5-1-0-checkbox")
209
+ customElement("sd-5-2-0-checkbox")
210
210
  ], SdCheckbox);
211
211
 
212
212
  export {