@solid-design-system/components 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/cdn/chunks/{chunk.BRBTXWYJ.js → chunk.YB2NTPL2.js} +2 -2
  2. package/cdn/components/tooltip/tooltip.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.24NAQP34.js +4 -4
  12. package/cdn-versioned/chunks/chunk.2NKZVN6T.js +1 -1
  13. package/cdn-versioned/chunks/chunk.2OZUXFC2.js +1 -1
  14. package/cdn-versioned/chunks/chunk.3FDVJBSF.js +1 -1
  15. package/cdn-versioned/chunks/chunk.3X2DDJ4U.js +1 -1
  16. package/cdn-versioned/chunks/chunk.4FWO2JFZ.js +1 -1
  17. package/cdn-versioned/chunks/chunk.4VSK5ST5.js +1 -1
  18. package/cdn-versioned/chunks/chunk.4VT5Z2HL.js +1 -1
  19. package/cdn-versioned/chunks/chunk.5QKKX7BL.js +2 -2
  20. package/cdn-versioned/chunks/chunk.5QNLI2ZJ.js +3 -3
  21. package/cdn-versioned/chunks/chunk.5RKART7T.js +4 -4
  22. package/cdn-versioned/chunks/chunk.63MF7F4O.js +1 -1
  23. package/cdn-versioned/chunks/chunk.65USTXPJ.js +1 -1
  24. package/cdn-versioned/chunks/chunk.6HETYMOP.js +1 -1
  25. package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
  26. package/cdn-versioned/chunks/chunk.7GCBGKAC.js +1 -1
  27. package/cdn-versioned/chunks/chunk.AB7XNCA6.js +1 -1
  28. package/cdn-versioned/chunks/chunk.ACQENQRU.js +1 -1
  29. package/cdn-versioned/chunks/chunk.ALYMVLUP.js +1 -1
  30. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  31. package/cdn-versioned/chunks/chunk.DCKEYTYR.js +1 -1
  32. package/cdn-versioned/chunks/chunk.DDYOZMUK.js +1 -1
  33. package/cdn-versioned/chunks/chunk.DZQ3ELX5.js +1 -1
  34. package/cdn-versioned/chunks/chunk.EQD3QFY2.js +1 -1
  35. package/cdn-versioned/chunks/chunk.GJMMISZZ.js +1 -1
  36. package/cdn-versioned/chunks/chunk.GUQYIKUH.js +1 -1
  37. package/cdn-versioned/chunks/chunk.H7MIOI36.js +1 -1
  38. package/cdn-versioned/chunks/chunk.I4ZKBGAB.js +1 -1
  39. package/cdn-versioned/chunks/chunk.IXF4WTNA.js +1 -1
  40. package/cdn-versioned/chunks/chunk.JGSQEZKI.js +1 -1
  41. package/cdn-versioned/chunks/chunk.JPHZN55N.js +1 -1
  42. package/cdn-versioned/chunks/chunk.KFZTALU6.js +1 -1
  43. package/cdn-versioned/chunks/chunk.KV2JBQ2O.js +1 -1
  44. package/cdn-versioned/chunks/chunk.LL5NC5IC.js +1 -1
  45. package/cdn-versioned/chunks/chunk.LLMJPBPU.js +1 -1
  46. package/cdn-versioned/chunks/chunk.NODVJPTE.js +1 -1
  47. package/cdn-versioned/chunks/chunk.OLLYYRFO.js +1 -1
  48. package/cdn-versioned/chunks/chunk.OQM23IJ6.js +1 -1
  49. package/cdn-versioned/chunks/chunk.OYZELC4M.js +1 -1
  50. package/cdn-versioned/chunks/chunk.SUL3XIWG.js +1 -1
  51. package/cdn-versioned/chunks/chunk.T57D67S5.js +1 -1
  52. package/cdn-versioned/chunks/chunk.U47LULNM.js +1 -1
  53. package/cdn-versioned/chunks/chunk.UCP62LZF.js +1 -1
  54. package/cdn-versioned/chunks/chunk.UHTFJWWX.js +1 -1
  55. package/cdn-versioned/chunks/chunk.UO5T3YYC.js +1 -1
  56. package/cdn-versioned/chunks/chunk.VEAL7L4X.js +1 -1
  57. package/cdn-versioned/chunks/chunk.VH5VPRX2.js +1 -1
  58. package/cdn-versioned/chunks/chunk.VKFY3OQC.js +1 -1
  59. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  60. package/cdn-versioned/chunks/chunk.XMYHQ3RJ.js +1 -1
  61. package/cdn-versioned/chunks/chunk.XVOWJXRK.js +1 -1
  62. package/cdn-versioned/chunks/chunk.XYJWLDWC.js +1 -1
  63. package/cdn-versioned/chunks/{chunk.BRBTXWYJ.js → chunk.YB2NTPL2.js} +2 -2
  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/select/select.d.ts +1 -1
  100. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  101. package/cdn-versioned/components/step/step.d.ts +1 -1
  102. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  103. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  104. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  105. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  106. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  107. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  108. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  109. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  110. package/cdn-versioned/components/tooltip/tooltip.js +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 +16 -16
  115. package/cdn-versioned/solid-components.css +2 -2
  116. package/cdn-versioned/solid-components.iife.js +16 -16
  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.Q7ULKBP6.js → chunk.34LQ4H4Y.js} +4 -10
  121. package/dist/components/tooltip/tooltip.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.2BVPWR2S.js +4 -4
  129. package/dist-versioned/chunks/chunk.2FRKOJLK.js +1 -1
  130. package/dist-versioned/chunks/{chunk.Q7ULKBP6.js → chunk.34LQ4H4Y.js} +9 -15
  131. package/dist-versioned/chunks/chunk.357PR2IB.js +1 -1
  132. package/dist-versioned/chunks/chunk.3AQM6FKF.js +2 -2
  133. package/dist-versioned/chunks/chunk.3MARQHUW.js +8 -8
  134. package/dist-versioned/chunks/chunk.4J3ZCSIH.js +2 -2
  135. package/dist-versioned/chunks/chunk.4JPDAEAZ.js +26 -26
  136. package/dist-versioned/chunks/chunk.4PVTBZ45.js +2 -2
  137. package/dist-versioned/chunks/chunk.5TXDZ6OQ.js +2 -2
  138. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  139. package/dist-versioned/chunks/chunk.73ZM47SZ.js +1 -1
  140. package/dist-versioned/chunks/chunk.75VFJ3VZ.js +4 -4
  141. package/dist-versioned/chunks/chunk.7GKULTU7.js +5 -5
  142. package/dist-versioned/chunks/chunk.AH4MJVKG.js +2 -2
  143. package/dist-versioned/chunks/chunk.AUFB3CF2.js +1 -1
  144. package/dist-versioned/chunks/chunk.BLQFQXCU.js +2 -2
  145. package/dist-versioned/chunks/chunk.DXLUBAVX.js +1 -1
  146. package/dist-versioned/chunks/chunk.ENBSTUKA.js +13 -13
  147. package/dist-versioned/chunks/chunk.EYYHIJ7Q.js +1 -1
  148. package/dist-versioned/chunks/chunk.F4LWSCE7.js +6 -6
  149. package/dist-versioned/chunks/chunk.F5WZXOGP.js +3 -3
  150. package/dist-versioned/chunks/chunk.G3LCJLER.js +5 -5
  151. package/dist-versioned/chunks/chunk.GCNQNIVQ.js +2 -2
  152. package/dist-versioned/chunks/chunk.K3HF3JA4.js +2 -2
  153. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  154. package/dist-versioned/chunks/chunk.M2VTLBRP.js +6 -6
  155. package/dist-versioned/chunks/chunk.M7TUM74F.js +2 -2
  156. package/dist-versioned/chunks/chunk.MBOP4XDK.js +1 -1
  157. package/dist-versioned/chunks/chunk.MGUEJDPC.js +1 -1
  158. package/dist-versioned/chunks/chunk.MJ3MZ7IA.js +2 -2
  159. package/dist-versioned/chunks/chunk.NMI37BFS.js +1 -1
  160. package/dist-versioned/chunks/chunk.O6YESZHA.js +1 -1
  161. package/dist-versioned/chunks/chunk.OGWBQ3DK.js +3 -3
  162. package/dist-versioned/chunks/chunk.P3M4RPHM.js +1 -1
  163. package/dist-versioned/chunks/chunk.P4BL4RSV.js +3 -3
  164. package/dist-versioned/chunks/chunk.P775L6OS.js +1 -1
  165. package/dist-versioned/chunks/chunk.PK3XZW2G.js +14 -14
  166. package/dist-versioned/chunks/chunk.QDFEG22S.js +2 -2
  167. package/dist-versioned/chunks/chunk.QF3WLERT.js +9 -9
  168. package/dist-versioned/chunks/chunk.QHQBGFCN.js +2 -2
  169. package/dist-versioned/chunks/chunk.QQHF7ENZ.js +1 -1
  170. package/dist-versioned/chunks/chunk.QZCGIMWI.js +1 -1
  171. package/dist-versioned/chunks/chunk.RHQ6U3DB.js +5 -5
  172. package/dist-versioned/chunks/chunk.SOAF3TY4.js +2 -2
  173. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  174. package/dist-versioned/chunks/chunk.V5HD2RQH.js +24 -24
  175. package/dist-versioned/chunks/chunk.WM4AGOIZ.js +3 -3
  176. package/dist-versioned/chunks/chunk.X7HYCD3E.js +3 -3
  177. package/dist-versioned/chunks/chunk.XI3IZCLB.js +2 -2
  178. package/dist-versioned/chunks/chunk.YTDKF4U7.js +11 -11
  179. package/dist-versioned/chunks/chunk.YTDXH4KI.js +5 -5
  180. package/dist-versioned/chunks/chunk.ZAWI6TGO.js +2 -2
  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/select/select.d.ts +1 -1
  217. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  218. package/dist-versioned/components/step/step.d.ts +1 -1
  219. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  220. package/dist-versioned/components/switch/switch.d.ts +1 -1
  221. package/dist-versioned/components/tab/tab.d.ts +1 -1
  222. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  223. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  224. package/dist-versioned/components/tag/tag.d.ts +1 -1
  225. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  226. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  227. package/dist-versioned/components/tooltip/tooltip.js +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 +1 -1
@@ -1,7 +1,7 @@
1
1
  // src/components/combobox/utils.ts
2
2
  var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
3
- var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-0-0-option" ? item : Array.from(item.querySelectorAll(":scope > sd-5-0-0-option"));
4
- var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-0-0-optgroup";
3
+ var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-0-1-option" ? item : Array.from(item.querySelectorAll(":scope > sd-5-0-1-option"));
4
+ var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-0-1-optgroup";
5
5
  var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
6
6
  var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
7
7
  var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
@@ -54,7 +54,7 @@ var SdCombobox = class extends SolidElement {
54
54
  constructor() {
55
55
  super(...arguments);
56
56
  this.formControlController = new FormControlController(this, {
57
- assumeInteractionOn: ["sd-blur", "sd-5-0-0-input"]
57
+ assumeInteractionOn: ["sd-blur", "sd-5-0-1-input"]
58
58
  });
59
59
  this.hasSlotController = new HasSlotController(this, "help-text", "label");
60
60
  this.localize = new LocalizeController(this);
@@ -97,11 +97,11 @@ var SdCombobox = class extends SolidElement {
97
97
  return normalizedOption.includes(normalizedQuery) || normalizedOptionLabel.includes(normalizedQuery);
98
98
  };
99
99
  this.getTag = (option) => {
100
- return html`<sd-5-0-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
100
+ return html`<sd-5-0-1-tag ?disabled="${this.disabled}" part="tag" exportparts="
101
101
  base:tag__base,
102
102
  content:tag__content,
103
103
  removable-indicator:tag__removable-indicator,
104
- " size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-0-0-tag>`;
104
+ " size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-0-1-tag>`;
105
105
  };
106
106
  this.handleDocumentFocusIn = (event) => {
107
107
  const path = event.composedPath();
@@ -236,9 +236,9 @@ var SdCombobox = class extends SolidElement {
236
236
  return html`${typeof optionHtml === "string" ? unsafeHTML(optionHtml) : optionHtml}`;
237
237
  };
238
238
  return this.filteredOptions.map((item) => {
239
- if (item.tagName.toLowerCase() === "sd-5-0-0-optgroup") {
239
+ if (item.tagName.toLowerCase() === "sd-5-0-1-optgroup") {
240
240
  Array.from(item.children).forEach((option) => {
241
- if (option.tagName.toLowerCase() === "sd-5-0-0-option") {
241
+ if (option.tagName.toLowerCase() === "sd-5-0-1-option") {
242
242
  renderOption(option);
243
243
  }
244
244
  });
@@ -258,11 +258,11 @@ var SdCombobox = class extends SolidElement {
258
258
  });
259
259
  } else {
260
260
  return [
261
- html`<sd-5-0-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
261
+ html`<sd-5-0-1-tag ?disabled="${this.disabled}" part="tag" exportparts="
262
262
  base:tag__base,
263
263
  content:tag__content,
264
264
  removable-indicator:tag__removable-indicator,
265
- " size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-0-0-tag>`
265
+ " size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-0-1-tag>`
266
266
  ];
267
267
  }
268
268
  }
@@ -381,7 +381,7 @@ var SdCombobox = class extends SolidElement {
381
381
  }
382
382
  handleOptionClick(event) {
383
383
  const target = event.target;
384
- const option = target.closest("sd-5-0-0-option");
384
+ const option = target.closest("sd-5-0-1-option");
385
385
  const oldValue = this.value;
386
386
  if (option && !option.disabled) {
387
387
  if (this.multiple) {
@@ -433,7 +433,7 @@ var SdCombobox = class extends SolidElement {
433
433
  scrollIntoView(this.getCurrentOption(), this.listbox, "vertical", "auto");
434
434
  }
435
435
  getAllFilteredOptions() {
436
- return [...this.filteredWrapper.querySelectorAll("sd-5-0-0-option")];
436
+ return [...this.filteredWrapper.querySelectorAll("sd-5-0-1-option")];
437
437
  }
438
438
  getCurrentOption() {
439
439
  return this.getAllFilteredOptions().find((option) => option.current);
@@ -563,7 +563,7 @@ var SdCombobox = class extends SolidElement {
563
563
  clonedOption.selected = option.selected;
564
564
  clonedOption.checkbox = option.checkbox;
565
565
  clonedOption.size = option.size;
566
- const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-5-0-0-optgroup";
566
+ const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-5-0-1-optgroup";
567
567
  if (!hasOptgroup) {
568
568
  return clonedOption;
569
569
  }
@@ -587,7 +587,7 @@ var SdCombobox = class extends SolidElement {
587
587
  this.formControlController.emitInvalidEvent(event);
588
588
  this.invalidMessage.textContent = event.target.validationMessage;
589
589
  }
590
- /** Receives incoming event detail from sd-5-0-0-popup and updates local state for conditional styling. */
590
+ /** Receives incoming event detail from sd-5-0-1-popup and updates local state for conditional styling. */
591
591
  handleCurrentPlacement(e) {
592
592
  const incomingPlacement = e.detail;
593
593
  if (incomingPlacement) {
@@ -599,7 +599,7 @@ var SdCombobox = class extends SolidElement {
599
599
  }
600
600
  handleUseTagsChange() {
601
601
  const allOptions = this.getAllFilteredOptions();
602
- if (customElements.get("sd-5-0-0-option")) {
602
+ if (customElements.get("sd-5-0-1-option")) {
603
603
  allOptions.forEach((option) => {
604
604
  option.checkbox = this.multiple;
605
605
  });
@@ -725,8 +725,8 @@ var SdCombobox = class extends SolidElement {
725
725
  return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));
726
726
  }
727
727
  async handleDefaultSlotChange() {
728
- if (!customElements.get("sd-5-0-0-option")) {
729
- customElements.whenDefined("sd-5-0-0-option").then(() => this.handleDefaultSlotChange());
728
+ if (!customElements.get("sd-5-0-1-option")) {
729
+ customElements.whenDefined("sd-5-0-1-option").then(() => this.handleDefaultSlotChange());
730
730
  return;
731
731
  }
732
732
  const slottedOptions = this.getSlottedOptions();
@@ -738,10 +738,10 @@ var SdCombobox = class extends SolidElement {
738
738
  if (this.multiple) {
739
739
  option.checkbox = true;
740
740
  }
741
- option.id = option.id || `sd-5-0-0-combobox-option-${index}`;
741
+ option.id = option.id || `sd-5-0-1-combobox-option-${index}`;
742
742
  });
743
743
  slottedOptgroups.forEach((optgroup, index) => {
744
- optgroup.id = optgroup.id || `sd-5-0-0-combobox-optgroup-${index}`;
744
+ optgroup.id = optgroup.id || `sd-5-0-1-combobox-optgroup-${index}`;
745
745
  });
746
746
  await this.syncSelectedOptionsAndValue();
747
747
  if (this.multiple) {
@@ -789,7 +789,7 @@ var SdCombobox = class extends SolidElement {
789
789
  default: "border-neutral-800"
790
790
  }[selectState],
791
791
  this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
792
- )}"></div><sd-5-0-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
792
+ )}"></div><sd-5-0-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
793
793
  "inline-flex relative w-full",
794
794
  this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
795
795
  )}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
@@ -811,26 +811,26 @@ var SdCombobox = class extends SolidElement {
811
811
  "flex justify-center",
812
812
  iconMarginLeft,
813
813
  this.value.length > 0 ? "visible" : "invisible"
814
- )}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-0-0-icon class="${cx("text-neutral-700", iconSize)}" name="closing-round" library="_internal"></sd-5-0-0-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-0-0-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-0-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-0-0-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="status-check"></sd-5-0-0-icon>` : ""}<slot name="right" part="right" class="${cx(
814
+ )}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-0-1-icon class="${cx("text-neutral-700", iconSize)}" name="closing-round" library="_internal"></sd-5-0-1-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-0-1-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-0-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-0-1-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="status-check"></sd-5-0-1-icon>` : ""}<slot name="right" part="right" class="${cx(
815
815
  "inline-flex ml-2 leading-[0]",
816
816
  this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
817
817
  iconSize
818
- )}">${this.type !== "search" ? html`<sd-5-0-0-icon class="${cx(
818
+ )}">${this.type !== "search" ? html`<sd-5-0-1-icon class="${cx(
819
819
  "transition-transform duration-medium ease-in-out",
820
820
  this.open ? "rotate-180" : "rotate-0"
821
- )}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-5-0-0-icon>` : ""}</slot>${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button"><sd-5-0-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-0-0-icon></button>` : html`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${ifDefined(!this.multiple ? "listbox" : void 0)}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
821
+ )}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-5-0-1-icon>` : ""}</slot>${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button"><sd-5-0-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-0-1-icon></button>` : html`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${ifDefined(!this.multiple ? "listbox" : void 0)}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
822
822
  "bg-white px-2 py-3 relative border-primary overflow-y-auto",
823
823
  this.open && "shadow transition-shadow duration-medium ease-in-out",
824
824
  this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
825
- )}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-5-0-0-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-2" aria-hidden="${!hasHelpText}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
825
+ )}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-5-0-1-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-2" aria-hidden="${!hasHelpText}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
826
826
  }
827
827
  };
828
828
  SdCombobox.styles = [
829
829
  ...SolidElement.styles,
830
- css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{height:var(--sd-spacing-4,1rem);right:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem)}:host([size=md]) .combobox-button{height:var(--sd-spacing-6,1.5rem);right:.85rem;width:var(--sd-spacing-6,1.5rem)}:host([size=lg]) .combobox-button{height:var(--sd-spacing-8,2rem);right:var(--sd-spacing-3,.75rem);width:var(--sd-spacing-8,2rem)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-5-0-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-0-0-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-5-0-0-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-0-0-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-0-0-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}[part=filtered-listbox] sd-5-0-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;color:inherit;font-weight:700}`
830
+ css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{height:var(--sd-spacing-4,1rem);right:var(--sd-spacing-4,1rem);width:var(--sd-spacing-4,1rem)}:host([size=md]) .combobox-button{height:var(--sd-spacing-6,1.5rem);right:.85rem;width:var(--sd-spacing-6,1.5rem)}:host([size=lg]) .combobox-button{height:var(--sd-spacing-8,2rem);right:var(--sd-spacing-3,.75rem);width:var(--sd-spacing-8,2rem)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-5-0-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-0-1-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-5-0-1-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-0-1-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-0-1-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}[part=filtered-listbox] sd-5-0-1-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;color:inherit;font-weight:700}`
831
831
  ];
832
832
  __decorateClass([
833
- query("sd-5-0-0-popup")
833
+ query("sd-5-0-1-popup")
834
834
  ], SdCombobox.prototype, "popup", 2);
835
835
  __decorateClass([
836
836
  query('[part="combobox"]')
@@ -988,7 +988,7 @@ __decorateClass([
988
988
  watch("open", { waitUntilFirstUpdate: true })
989
989
  ], SdCombobox.prototype, "handleOpenChange", 1);
990
990
  SdCombobox = __decorateClass([
991
- customElement("sd-5-0-0-combobox")
991
+ customElement("sd-5-0-1-combobox")
992
992
  ], SdCombobox);
993
993
  setDefaultAnimation("combobox.show", {
994
994
  keyframes: [{ opacity: 0 }, { opacity: 1 }],
@@ -41,16 +41,16 @@ var SdAccordionGroup = class extends SolidElement {
41
41
  };
42
42
  SdAccordionGroup.styles = [
43
43
  ...SolidElement.styles,
44
- css`:host{display:block}::slotted(sd-5-0-0-accordion:not(:first-of-type)){margin-top:-1px}`
44
+ css`:host{display:block}::slotted(sd-5-0-1-accordion:not(:first-of-type)){margin-top:-1px}`
45
45
  ];
46
46
  __decorateClass([
47
- queryAssignedElements({ selector: "sd-5-0-0-accordion" })
47
+ queryAssignedElements({ selector: "sd-5-0-1-accordion" })
48
48
  ], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
49
49
  __decorateClass([
50
50
  property({ attribute: "close-others", type: Boolean, reflect: true })
51
51
  ], SdAccordionGroup.prototype, "closeOthers", 2);
52
52
  SdAccordionGroup = __decorateClass([
53
- customElement("sd-5-0-0-accordion-group")
53
+ customElement("sd-5-0-1-accordion-group")
54
54
  ], SdAccordionGroup);
55
55
 
56
56
  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-0-0-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-0-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-0-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-0-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-0-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-0-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-0-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-0-0-icon>` : ""} ${this.type === "time" ? html`<sd-5-0-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-0-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-0-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-0-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-0-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-0-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-0-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-0-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-0-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-0-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-0-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-0-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-0-1-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-0-1-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-0-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-0-1-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-0-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-0-1-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-0-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-0-1-icon>` : ""} ${this.type === "time" ? html`<sd-5-0-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-0-1-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-0-1-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-0-1-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-0-1-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-0-1-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-0-1-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-0-1-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-0-1-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-0-1-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-0-1-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-0-1-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-0-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-0-1-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-0-0-input")
526
+ customElement("sd-5-0-1-input")
527
527
  ], SdInput);
528
528
 
529
529
  export {
@@ -21,7 +21,7 @@ var SdTab = class extends SolidElement {
21
21
  constructor() {
22
22
  super(...arguments);
23
23
  this.attrId = ++id;
24
- this.componentId = `sd-5-0-0-tab-${this.attrId}`;
24
+ this.componentId = `sd-5-0-1-tab-${this.attrId}`;
25
25
  this.hasSlotController = new HasSlotController(this, "left");
26
26
  this.variant = "default";
27
27
  this.active = false;
@@ -102,7 +102,7 @@ __decorateClass([
102
102
  watch(["disabled", "visually-disabled"])
103
103
  ], SdTab.prototype, "handleDisabledChange", 1);
104
104
  SdTab = __decorateClass([
105
- customElement("sd-5-0-0-tab")
105
+ customElement("sd-5-0-1-tab")
106
106
  ], SdTab);
107
107
 
108
108
  export {
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
17
17
  }
18
18
  handleFocus(event) {
19
19
  const button = findButton(event.target);
20
- button == null ? void 0 : button.classList.add("sd-5-0-0-button-group__button--focus");
20
+ button == null ? void 0 : button.classList.add("sd-5-0-1-button-group__button--focus");
21
21
  }
22
22
  handleBlur(event) {
23
23
  const button = findButton(event.target);
24
- button == null ? void 0 : button.classList.remove("sd-5-0-0-button-group__button--focus");
24
+ button == null ? void 0 : button.classList.remove("sd-5-0-1-button-group__button--focus");
25
25
  }
26
26
  handleMouseOver(event) {
27
27
  const button = findButton(event.target);
28
- button == null ? void 0 : button.classList.add("sd-5-0-0-button-group__button--hover");
28
+ button == null ? void 0 : button.classList.add("sd-5-0-1-button-group__button--hover");
29
29
  }
30
30
  handleMouseOut(event) {
31
31
  const button = findButton(event.target);
32
- button == null ? void 0 : button.classList.remove("sd-5-0-0-button-group__button--hover");
32
+ button == null ? void 0 : button.classList.remove("sd-5-0-1-button-group__button--hover");
33
33
  }
34
34
  handleSlotChange() {
35
35
  const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
37
37
  const index = slottedElements.indexOf(el);
38
38
  const button = findButton(el);
39
39
  if (button !== null) {
40
- button.classList.add("sd-5-0-0-button-group__button");
41
- button.classList.toggle("sd-5-0-0-button-group__button--first", index === 0);
42
- button.classList.toggle("sd-5-0-0-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
43
- button.classList.toggle("sd-5-0-0-button-group__button--last", index === slottedElements.length - 1);
44
- button.classList.toggle("sd-5-0-0-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-0-0-radio-button");
40
+ button.classList.add("sd-5-0-1-button-group__button");
41
+ button.classList.toggle("sd-5-0-1-button-group__button--first", index === 0);
42
+ button.classList.toggle("sd-5-0-1-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
43
+ button.classList.toggle("sd-5-0-1-button-group__button--last", index === slottedElements.length - 1);
44
+ button.classList.toggle("sd-5-0-1-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-0-1-radio-button");
45
45
  }
46
46
  });
47
47
  }
@@ -63,11 +63,11 @@ __decorateClass([
63
63
  property({ type: String, reflect: true })
64
64
  ], SdButtonGroup.prototype, "label", 2);
65
65
  SdButtonGroup = __decorateClass([
66
- customElement("sd-5-0-0-button-group")
66
+ customElement("sd-5-0-1-button-group")
67
67
  ], SdButtonGroup);
68
68
  function findButton(el) {
69
69
  var _a;
70
- const selector = "sd-5-0-0-button, sd-5-0-0-radio-button";
70
+ const selector = "sd-5-0-1-button, sd-5-0-1-radio-button";
71
71
  return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
72
72
  }
73
73
 
@@ -116,16 +116,16 @@ var SdNavigationItem = class extends SolidElement {
116
116
  isAccordion ? "grow" : "w-full",
117
117
  slots["description"] || this.separated ? "pb-1" : horizontalPaddingBottom,
118
118
  this.calculatePaddingX
119
- )}">${this.divider && this.vertical ? html`<sd-5-0-0-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-5-0-0-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
119
+ )}">${this.divider && this.vertical ? html`<sd-5-0-1-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-5-0-1-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
120
120
  "mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",
121
121
  !slots["description"] && "py-4"
122
- )}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline"></slot></a>` : html`<slot part="content" class="inline"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-5-0-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
122
+ )}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline"></slot></a>` : html`<slot part="content" class="inline"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-5-0-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
123
123
  "mr-4 h-6 w-6 transition-all",
124
124
  isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
125
- )}"></sd-5-0-0-icon></button>` : html`<sd-5-0-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
125
+ )}"></sd-5-0-1-icon></button>` : html`<sd-5-0-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
126
126
  "h-6 w-6 ml-2 transition-all",
127
127
  isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
128
- )}"></sd-5-0-0-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
128
+ )}"></sd-5-0-1-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
129
129
  "inline-block text-sm text-left text-black",
130
130
  isAccordion || this.separated ? "grow" : "w-full",
131
131
  this.separated ? "px-4" : this.calculatePaddingX,
@@ -190,7 +190,7 @@ __decorateClass([
190
190
  property({ type: Boolean, reflect: true })
191
191
  ], SdNavigationItem.prototype, "separated", 2);
192
192
  SdNavigationItem = __decorateClass([
193
- customElement("sd-5-0-0-navigation-item")
193
+ customElement("sd-5-0-1-navigation-item")
194
194
  ], SdNavigationItem);
195
195
 
196
196
  export {
@@ -80,7 +80,7 @@ var SdTag = class extends SolidElement {
80
80
  !this.removable ? "hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500" : "has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500"
81
81
  ) : "bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500",
82
82
  this.disabled && !isLink && "cursor-not-allowed"
83
- )}"><slot id="content" part="content"></slot>${this.removable ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-0-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-0-0-icon></slot></button>` : ""}</${tag}>`;
83
+ )}"><slot id="content" part="content"></slot>${this.removable ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-0-1-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-0-1-icon></slot></button>` : ""}</${tag}>`;
84
84
  }
85
85
  };
86
86
  SdTag.styles = [
@@ -115,7 +115,7 @@ __decorateClass([
115
115
  property({ reflect: true })
116
116
  ], SdTag.prototype, "download", 2);
117
117
  SdTag = __decorateClass([
118
- customElement("sd-5-0-0-tag")
118
+ customElement("sd-5-0-1-tag")
119
119
  ], SdTag);
120
120
 
121
121
  export {
@@ -21,6 +21,6 @@ export default class SdAccordion extends SolidElement {
21
21
  }
22
22
  declare global {
23
23
  interface HTMLElementTagNameMap {
24
- 'sd-5-0-0-accordion': SdAccordion;
24
+ 'sd-5-0-1-accordion': SdAccordion;
25
25
  }
26
26
  }
@@ -11,6 +11,6 @@ export default class SdAccordionGroup extends SolidElement {
11
11
  }
12
12
  declare global {
13
13
  interface HTMLElementTagNameMap {
14
- 'sd-5-0-0-accordion-group': SdAccordionGroup;
14
+ 'sd-5-0-1-accordion-group': SdAccordionGroup;
15
15
  }
16
16
  }
@@ -34,6 +34,6 @@ export default class SdAnimation extends SolidElement {
34
34
  }
35
35
  declare global {
36
36
  interface HTMLElementTagNameMap {
37
- 'sd-5-0-0-animation': SdAnimation;
37
+ 'sd-5-0-1-animation': SdAnimation;
38
38
  }
39
39
  }
@@ -53,6 +53,6 @@ export default class SdAudio extends SolidElement {
53
53
  }
54
54
  declare global {
55
55
  interface HTMLElementTagNameMap {
56
- 'sd-5-0-0-audio': SdAudio;
56
+ 'sd-5-0-1-audio': SdAudio;
57
57
  }
58
58
  }
@@ -8,6 +8,6 @@ export default class SdBadge extends SolidElement {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- 'sd-5-0-0-badge': SdBadge;
11
+ 'sd-5-0-1-badge': SdBadge;
12
12
  }
13
13
  }
@@ -25,7 +25,7 @@ export default class SdBrandshape extends SolidElement {
25
25
  }
26
26
  declare global {
27
27
  interface HTMLElementTagNameMap {
28
- 'sd-5-0-0-brandshape': SdBrandshape;
28
+ 'sd-5-0-1-brandshape': SdBrandshape;
29
29
  }
30
30
  }
31
31
  export {};
@@ -48,6 +48,6 @@ export default class SdButton extends SolidElement implements SolidFormControl {
48
48
  }
49
49
  declare global {
50
50
  interface HTMLElementTagNameMap {
51
- 'sd-5-0-0-button': SdButton;
51
+ 'sd-5-0-1-button': SdButton;
52
52
  }
53
53
  }
@@ -13,6 +13,6 @@ export default class SdButtonGroup extends SolidElement {
13
13
  }
14
14
  declare global {
15
15
  interface HTMLElementTagNameMap {
16
- 'sd-5-0-0-button-group': SdButtonGroup;
16
+ 'sd-5-0-1-button-group': SdButtonGroup;
17
17
  }
18
18
  }
@@ -55,6 +55,6 @@ export default class SdCarousel extends SolidElement {
55
55
  }
56
56
  declare global {
57
57
  interface HTMLElementTagNameMap {
58
- 'sd-5-0-0-carousel': SdCarousel;
58
+ 'sd-5-0-1-carousel': SdCarousel;
59
59
  }
60
60
  }
@@ -7,6 +7,6 @@ export default class SdCarouselItem extends SolidElement {
7
7
  }
8
8
  declare global {
9
9
  interface HTMLElementTagNameMap {
10
- 'sd-5-0-0-carousel-item': SdCarouselItem;
10
+ 'sd-5-0-1-carousel-item': SdCarouselItem;
11
11
  }
12
12
  }
@@ -38,6 +38,6 @@ export default class SdCheckbox extends SolidElement implements SolidFormControl
38
38
  }
39
39
  declare global {
40
40
  interface HTMLElementTagNameMap {
41
- 'sd-5-0-0-checkbox': SdCheckbox;
41
+ 'sd-5-0-1-checkbox': SdCheckbox;
42
42
  }
43
43
  }
@@ -16,6 +16,6 @@ export default class SdCheckboxGroup extends SolidElement {
16
16
  }
17
17
  declare global {
18
18
  interface HTMLElementTagNameMap {
19
- 'sd-5-0-0-checkbox-group': SdCheckboxGroup;
19
+ 'sd-5-0-1-checkbox-group': SdCheckboxGroup;
20
20
  }
21
21
  }
@@ -120,6 +120,6 @@ export default class SdCombobox extends SolidElement implements SolidFormControl
120
120
  }
121
121
  declare global {
122
122
  interface HTMLElementTagNameMap {
123
- 'sd-5-0-0-combobox': SdCombobox;
123
+ 'sd-5-0-1-combobox': SdCombobox;
124
124
  }
125
125
  }
@@ -29,6 +29,6 @@ export default class SdDialog extends SolidElement {
29
29
  }
30
30
  declare global {
31
31
  interface HTMLElementTagNameMap {
32
- 'sd-5-0-0-dialog': SdDialog;
32
+ 'sd-5-0-1-dialog': SdDialog;
33
33
  }
34
34
  }
@@ -8,6 +8,6 @@ export default class SdDivider extends SolidElement {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- 'sd-5-0-0-divider': SdDivider;
11
+ 'sd-5-0-1-divider': SdDivider;
12
12
  }
13
13
  }
@@ -31,6 +31,6 @@ export default class SdDrawer extends SolidElement {
31
31
  }
32
32
  declare global {
33
33
  interface HTMLElementTagNameMap {
34
- 'sd-5-0-0-drawer': SdDrawer;
34
+ 'sd-5-0-1-drawer': SdDrawer;
35
35
  }
36
36
  }
@@ -45,6 +45,6 @@ export default class SdDropdown extends SolidElement {
45
45
  }
46
46
  declare global {
47
47
  interface HTMLElementTagNameMap {
48
- 'sd-5-0-0-dropdown': SdDropdown;
48
+ 'sd-5-0-1-dropdown': SdDropdown;
49
49
  }
50
50
  }
@@ -20,6 +20,6 @@ export default class SdExpandable extends SolidElement {
20
20
  }
21
21
  declare global {
22
22
  interface HTMLElementTagNameMap {
23
- 'sd-5-0-0-expandable': SdExpandable;
23
+ 'sd-5-0-1-expandable': SdExpandable;
24
24
  }
25
25
  }
@@ -19,6 +19,6 @@ export default class SdFlipcard extends SolidElement {
19
19
  }
20
20
  declare global {
21
21
  interface HTMLElementTagNameMap {
22
- 'sd-5-0-0-flipcard': SdFlipcard;
22
+ 'sd-5-0-1-flipcard': SdFlipcard;
23
23
  }
24
24
  }
@@ -15,6 +15,6 @@ export default class SdHeader extends SolidElement {
15
15
  }
16
16
  declare global {
17
17
  interface HTMLElementTagNameMap {
18
- 'sd-5-0-0-header': SdHeader;
18
+ 'sd-5-0-1-header': SdHeader;
19
19
  }
20
20
  }
@@ -17,6 +17,6 @@ export default class SdIcon extends SolidElement {
17
17
  }
18
18
  declare global {
19
19
  interface HTMLElementTagNameMap {
20
- 'sd-5-0-0-icon': SdIcon;
20
+ 'sd-5-0-1-icon': SdIcon;
21
21
  }
22
22
  }
@@ -10,6 +10,6 @@ export default class SdInclude extends SolidElement {
10
10
  }
11
11
  declare global {
12
12
  interface HTMLElementTagNameMap {
13
- 'sd-5-0-0-include': SdInclude;
13
+ 'sd-5-0-1-include': SdInclude;
14
14
  }
15
15
  }
@@ -83,6 +83,6 @@ export default class SdInput extends SolidElement implements SolidFormControl {
83
83
  }
84
84
  declare global {
85
85
  interface HTMLElementTagNameMap {
86
- 'sd-5-0-0-input': SdInput;
86
+ 'sd-5-0-1-input': SdInput;
87
87
  }
88
88
  }