@solid-design-system/components 4.0.0-next.5 → 4.0.0-next.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/cdn/chunks/chunk.5FM4F3Y4.js +1 -0
  2. package/cdn/components/flipcard/flipcard.d.ts +1 -0
  3. package/cdn/components/flipcard/flipcard.js +1 -1
  4. package/cdn/custom-elements.json +9 -1
  5. package/cdn/solid-components.bundle.js +10 -10
  6. package/cdn/solid-components.iife.js +11 -11
  7. package/cdn/solid-components.js +1 -1
  8. package/cdn/vscode.html-custom-data.json +47 -47
  9. package/cdn/web-types.json +144 -143
  10. package/cdn-versioned/_components/menu/menu.js +1 -1
  11. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  12. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  13. package/cdn-versioned/chunks/chunk.24SF73MY.js +1 -1
  14. package/cdn-versioned/chunks/chunk.2IZXJHH7.js +1 -1
  15. package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -1
  16. package/cdn-versioned/chunks/chunk.3ATYVOO4.js +1 -1
  17. package/cdn-versioned/chunks/chunk.4HIKTDIM.js +3 -3
  18. package/cdn-versioned/chunks/chunk.4W3WLVGR.js +1 -1
  19. package/cdn-versioned/chunks/chunk.5FM4F3Y4.js +1 -0
  20. package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -1
  21. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  22. package/cdn-versioned/chunks/chunk.6JBTCFHE.js +2 -2
  23. package/cdn-versioned/chunks/chunk.7M7VCE7R.js +1 -1
  24. package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -1
  25. package/cdn-versioned/chunks/chunk.APMDRZQD.js +1 -1
  26. package/cdn-versioned/chunks/chunk.C2PA7CKF.js +1 -1
  27. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  28. package/cdn-versioned/chunks/chunk.DEX5VJGX.js +4 -4
  29. package/cdn-versioned/chunks/chunk.DMLGBWCL.js +1 -1
  30. package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -1
  31. package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -1
  32. package/cdn-versioned/chunks/chunk.F7J6HN76.js +1 -1
  33. package/cdn-versioned/chunks/chunk.FD54463O.js +1 -1
  34. package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -1
  35. package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -1
  36. package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -1
  37. package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -1
  38. package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -1
  39. package/cdn-versioned/chunks/chunk.ITRQVXFY.js +1 -1
  40. package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -1
  41. package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -1
  42. package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -1
  43. package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -1
  44. package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -1
  45. package/cdn-versioned/chunks/chunk.MX22EZXK.js +1 -1
  46. package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -1
  47. package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -1
  48. package/cdn-versioned/chunks/chunk.O4UXOQEI.js +1 -1
  49. package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -1
  50. package/cdn-versioned/chunks/chunk.PBPFKJKV.js +1 -1
  51. package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -1
  52. package/cdn-versioned/chunks/chunk.QNZWJACC.js +2 -2
  53. package/cdn-versioned/chunks/chunk.R354E6ZD.js +1 -1
  54. package/cdn-versioned/chunks/chunk.ROBLMI7Q.js +4 -4
  55. package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -1
  56. package/cdn-versioned/chunks/chunk.U443X4TI.js +1 -1
  57. package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -1
  58. package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -1
  59. package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -1
  60. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  61. package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -1
  62. package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -1
  63. package/cdn-versioned/chunks/chunk.YF5WEC4R.js +2 -2
  64. package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -1
  65. package/cdn-versioned/chunks/chunk.ZRIABVVM.js +1 -1
  66. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  67. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  68. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  69. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  70. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  71. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  72. package/cdn-versioned/components/button/button.d.ts +1 -1
  73. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  74. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  75. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  76. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  77. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  78. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  79. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  80. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  81. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  82. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  83. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  84. package/cdn-versioned/components/flipcard/flipcard.d.ts +2 -1
  85. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  86. package/cdn-versioned/components/header/header.d.ts +1 -1
  87. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  88. package/cdn-versioned/components/include/include.d.ts +1 -1
  89. package/cdn-versioned/components/input/input.d.ts +1 -1
  90. package/cdn-versioned/components/link/link.d.ts +1 -1
  91. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  92. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  93. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  94. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  95. package/cdn-versioned/components/option/option.d.ts +1 -1
  96. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  97. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  98. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  99. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  100. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  101. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  102. package/cdn-versioned/components/select/select.d.ts +4 -4
  103. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  104. package/cdn-versioned/components/step/step.d.ts +1 -1
  105. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  106. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  107. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  108. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  109. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  110. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  111. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  112. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  113. package/cdn-versioned/components/video/video.d.ts +1 -1
  114. package/cdn-versioned/custom-elements.json +210 -202
  115. package/cdn-versioned/internal/form.js +3 -3
  116. package/cdn-versioned/solid-components.bundle.js +18 -18
  117. package/cdn-versioned/solid-components.css +2 -2
  118. package/cdn-versioned/solid-components.iife.js +18 -18
  119. package/cdn-versioned/solid-components.js +1 -1
  120. package/cdn-versioned/vscode.html-custom-data.json +125 -125
  121. package/cdn-versioned/web-types.json +275 -274
  122. package/dist/chunks/{chunk.WWS3CQ2Z.js → chunk.KTJRTRDJ.js} +16 -5
  123. package/dist/components/flipcard/flipcard.d.ts +1 -0
  124. package/dist/components/flipcard/flipcard.js +1 -1
  125. package/dist/custom-elements.json +9 -1
  126. package/dist/solid-components.js +1 -1
  127. package/dist/vscode.html-custom-data.json +47 -47
  128. package/dist/web-types.json +144 -143
  129. package/dist-versioned/_components/menu/menu.js +1 -1
  130. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  131. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  132. package/dist-versioned/chunks/chunk.2IBVAXOX.js +1 -1
  133. package/dist-versioned/chunks/chunk.3IT4HBTI.js +1 -1
  134. package/dist-versioned/chunks/chunk.3LGDUVS4.js +2 -2
  135. package/dist-versioned/chunks/chunk.4JZQQD4L.js +3 -3
  136. package/dist-versioned/chunks/chunk.4QKRGAOL.js +4 -4
  137. package/dist-versioned/chunks/chunk.4RGGPCD5.js +2 -2
  138. package/dist-versioned/chunks/chunk.65BWRJEA.js +5 -5
  139. package/dist-versioned/chunks/chunk.6CUAQSFA.js +2 -2
  140. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  141. package/dist-versioned/chunks/chunk.727ERQ4F.js +2 -2
  142. package/dist-versioned/chunks/chunk.743FPQRN.js +2 -2
  143. package/dist-versioned/chunks/chunk.76ZNNLGN.js +1 -1
  144. package/dist-versioned/chunks/chunk.7OHSCBBX.js +1 -1
  145. package/dist-versioned/chunks/chunk.BG3M5FUP.js +13 -13
  146. package/dist-versioned/chunks/chunk.BVC5FY4L.js +13 -13
  147. package/dist-versioned/chunks/chunk.BXB5WF23.js +5 -5
  148. package/dist-versioned/chunks/chunk.D6JZ4IKM.js +1 -1
  149. package/dist-versioned/chunks/chunk.DQPVSTUQ.js +3 -3
  150. package/dist-versioned/chunks/chunk.EFEBQQHC.js +26 -26
  151. package/dist-versioned/chunks/chunk.EKFRFDTB.js +5 -5
  152. package/dist-versioned/chunks/chunk.H655M7FD.js +1 -1
  153. package/dist-versioned/chunks/chunk.HPR3PWAE.js +3 -3
  154. package/dist-versioned/chunks/chunk.I3PY3VYP.js +29 -29
  155. package/dist-versioned/chunks/chunk.IN3GJ5QL.js +3 -3
  156. package/dist-versioned/chunks/chunk.J2XBUIBC.js +2 -2
  157. package/dist-versioned/chunks/chunk.J7MMF6WJ.js +2 -2
  158. package/dist-versioned/chunks/{chunk.WWS3CQ2Z.js → chunk.KTJRTRDJ.js} +20 -9
  159. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  160. package/dist-versioned/chunks/chunk.MTSAWJLV.js +2 -2
  161. package/dist-versioned/chunks/chunk.NM6QP6RJ.js +2 -2
  162. package/dist-versioned/chunks/chunk.PDRECIYA.js +1 -1
  163. package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +9 -9
  164. package/dist-versioned/chunks/chunk.PIR4YJUS.js +2 -2
  165. package/dist-versioned/chunks/chunk.QAZYUCBK.js +6 -6
  166. package/dist-versioned/chunks/chunk.QCICV36Z.js +6 -6
  167. package/dist-versioned/chunks/chunk.QP3SM2LZ.js +3 -3
  168. package/dist-versioned/chunks/chunk.R4BETATX.js +1 -1
  169. package/dist-versioned/chunks/chunk.RNSJAVQE.js +1 -1
  170. package/dist-versioned/chunks/chunk.RZRTIYXA.js +1 -1
  171. package/dist-versioned/chunks/chunk.SPBPHTSS.js +2 -2
  172. package/dist-versioned/chunks/chunk.SSH6ATRK.js +2 -2
  173. package/dist-versioned/chunks/chunk.TWXYFPBS.js +2 -2
  174. package/dist-versioned/chunks/chunk.U5NFPAOX.js +2 -2
  175. package/dist-versioned/chunks/chunk.U6RY25TF.js +2 -2
  176. package/dist-versioned/chunks/chunk.UC5E3AEF.js +1 -1
  177. package/dist-versioned/chunks/chunk.UDZYWRPT.js +1 -1
  178. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  179. package/dist-versioned/chunks/chunk.V7TQ6VJU.js +1 -1
  180. package/dist-versioned/chunks/chunk.VHGHICFG.js +2 -2
  181. package/dist-versioned/chunks/chunk.XVFJS7VS.js +5 -5
  182. package/dist-versioned/chunks/chunk.Z2UY62T2.js +1 -1
  183. package/dist-versioned/chunks/chunk.ZGPGFEVP.js +5 -5
  184. package/dist-versioned/chunks/chunk.ZWJI7SLE.js +11 -11
  185. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  186. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  187. package/dist-versioned/components/animation/animation.d.ts +1 -1
  188. package/dist-versioned/components/audio/audio.d.ts +1 -1
  189. package/dist-versioned/components/badge/badge.d.ts +1 -1
  190. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  191. package/dist-versioned/components/button/button.d.ts +1 -1
  192. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  193. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  194. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  195. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  196. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  197. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  198. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  199. package/dist-versioned/components/divider/divider.d.ts +1 -1
  200. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  201. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  202. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  203. package/dist-versioned/components/flipcard/flipcard.d.ts +2 -1
  204. package/dist-versioned/components/flipcard/flipcard.js +1 -1
  205. package/dist-versioned/components/header/header.d.ts +1 -1
  206. package/dist-versioned/components/icon/icon.d.ts +1 -1
  207. package/dist-versioned/components/include/include.d.ts +1 -1
  208. package/dist-versioned/components/input/input.d.ts +1 -1
  209. package/dist-versioned/components/link/link.d.ts +1 -1
  210. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  211. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  212. package/dist-versioned/components/notification/notification.d.ts +1 -1
  213. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  214. package/dist-versioned/components/option/option.d.ts +1 -1
  215. package/dist-versioned/components/popup/popup.d.ts +1 -1
  216. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  217. package/dist-versioned/components/radio/radio.d.ts +1 -1
  218. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  219. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  220. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  221. package/dist-versioned/components/select/select.d.ts +4 -4
  222. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  223. package/dist-versioned/components/step/step.d.ts +1 -1
  224. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  225. package/dist-versioned/components/switch/switch.d.ts +1 -1
  226. package/dist-versioned/components/tab/tab.d.ts +1 -1
  227. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  228. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  229. package/dist-versioned/components/tag/tag.d.ts +1 -1
  230. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  231. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  232. package/dist-versioned/components/video/video.d.ts +1 -1
  233. package/dist-versioned/custom-elements.json +210 -202
  234. package/dist-versioned/internal/form.js +3 -3
  235. package/dist-versioned/solid-components.css +2 -2
  236. package/dist-versioned/solid-components.js +1 -1
  237. package/dist-versioned/vscode.html-custom-data.json +125 -125
  238. package/dist-versioned/web-types.json +275 -274
  239. package/package.json +1 -1
  240. package/cdn/chunks/chunk.SNUMAAEG.js +0 -1
  241. package/cdn-versioned/chunks/chunk.SNUMAAEG.js +0 -1
@@ -8,7 +8,8 @@ import {
8
8
 
9
9
  // src/components/flipcard/flipcard.ts
10
10
  import { css, html } from "lit";
11
- import { property, query } from "lit/decorators.js";
11
+ import { ifDefined } from "lit/directives/if-defined.js";
12
+ import { property, query, state } from "lit/decorators.js";
12
13
  import cx from "classix";
13
14
  var SdFlipcard = class extends SolidElement {
14
15
  constructor() {
@@ -17,21 +18,28 @@ var SdFlipcard = class extends SolidElement {
17
18
  this.placement = "top";
18
19
  this.frontVariant = "primary";
19
20
  this.backVariant = "primary";
21
+ this.activeSide = "front";
20
22
  }
21
23
  connectedCallback() {
22
24
  super.connectedCallback();
23
25
  }
24
26
  flipFront() {
27
+ this.activeSide = "back";
25
28
  this.front.classList.add("clicked--front");
26
29
  this.back.classList.add("clicked--back");
27
30
  this.emit("sd-flip-front");
28
- this.back.focus();
31
+ setTimeout(() => {
32
+ this.back.focus();
33
+ });
29
34
  }
30
35
  flipBack() {
36
+ this.activeSide = "front";
31
37
  this.front.classList.remove("clicked--front");
32
38
  this.back.classList.remove("clicked--back");
33
39
  this.emit("sd-flip-back");
34
- this.front.focus();
40
+ setTimeout(() => {
41
+ this.front.focus();
42
+ });
35
43
  }
36
44
  handleFrontKeydown(event) {
37
45
  if (event.code === "Enter" && this.front === event.target) {
@@ -44,7 +52,7 @@ var SdFlipcard = class extends SolidElement {
44
52
  }
45
53
  }
46
54
  render() {
47
- return html`<div part="base" class="${cx("flip-card relative h-full w-full")}"><div part="front" tabindex="0" class="${cx(
55
+ return html`<div part="base" class="${cx("flip-card relative h-full w-full")}"><div part="front" tabindex="0" aria-hidden="${this.activeSide === "back"}" inert="${ifDefined(this.activeSide === "back" || void 0)}" class="${cx(
48
56
  "flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out",
49
57
  "flex focus-visible:focus-outline",
50
58
  "absolute top-0 left-0 w-full h-full justify-end text-left",
@@ -87,7 +95,7 @@ var SdFlipcard = class extends SolidElement {
87
95
  "primary-100": false,
88
96
  "gradient-light": true,
89
97
  "gradient-dark": true
90
- }[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-icon library="system" name="reload" label="Flip to Back"></sd-icon></sd-button></div><div part="back" tabindex="0" class="${cx(
98
+ }[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-icon library="system" name="reload" label="Flip to Back"></sd-icon></sd-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
91
99
  "flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
92
100
  "flex focus-visible:focus-outline",
93
101
  "absolute top-0 left-0 w-full h-full justify-end text-left",
@@ -158,6 +166,9 @@ __decorateClass([
158
166
  __decorateClass([
159
167
  property({ type: String, reflect: true, attribute: "back-variant" })
160
168
  ], SdFlipcard.prototype, "backVariant", 2);
169
+ __decorateClass([
170
+ state()
171
+ ], SdFlipcard.prototype, "activeSide", 2);
161
172
  SdFlipcard = __decorateClass([
162
173
  customElement("sd-flipcard")
163
174
  ], SdFlipcard);
@@ -8,6 +8,7 @@ export default class SdFlipcard extends SolidElement {
8
8
  placement: 'top' | 'bottom';
9
9
  frontVariant: 'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark';
10
10
  backVariant: 'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark';
11
+ activeSide: 'front' | 'back';
11
12
  connectedCallback(): void;
12
13
  private flipFront;
13
14
  private flipBack;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SdFlipcard
3
- } from "../../chunks/chunk.WWS3CQ2Z.js";
3
+ } from "../../chunks/chunk.KTJRTRDJ.js";
4
4
  import "../../chunks/chunk.4QKRGAOL.js";
5
5
  import "../../chunks/chunk.D6JZ4IKM.js";
6
6
  import "../../chunks/chunk.KVKRZJS7.js";
@@ -6350,6 +6350,14 @@
6350
6350
  "attribute": "back-variant",
6351
6351
  "reflects": true
6352
6352
  },
6353
+ {
6354
+ "kind": "field",
6355
+ "name": "activeSide",
6356
+ "type": {
6357
+ "text": "'front' | 'back'"
6358
+ },
6359
+ "default": "'front'"
6360
+ },
6353
6361
  {
6354
6362
  "kind": "field",
6355
6363
  "name": "dir",
@@ -16660,7 +16668,7 @@
16660
16668
  "package": {
16661
16669
  "name": "@solid-design-system/components",
16662
16670
  "description": "Solid Design System: Components",
16663
- "version": "4.0.0-next.5",
16671
+ "version": "4.0.0-next.6",
16664
16672
  "author": "Union Investment",
16665
16673
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
16666
16674
  "license": "MIT"
@@ -85,7 +85,7 @@ import {
85
85
  } from "./chunks/chunk.J2XBUIBC.js";
86
86
  import {
87
87
  SdFlipcard
88
- } from "./chunks/chunk.WWS3CQ2Z.js";
88
+ } from "./chunks/chunk.KTJRTRDJ.js";
89
89
  import {
90
90
  SdHeader
91
91
  } from "./chunks/chunk.Z2UY62T2.js";
@@ -799,53 +799,6 @@
799
799
  }
800
800
  ]
801
801
  },
802
- {
803
- "name": "sd-drawer",
804
- "description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
805
- "attributes": [
806
- {
807
- "name": "open",
808
- "description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
809
- "values": []
810
- },
811
- {
812
- "name": "label",
813
- "description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
814
- "values": []
815
- },
816
- {
817
- "name": "placement",
818
- "description": "The direction from which the drawer will open.",
819
- "values": [{ "name": "end" }, { "name": "start" }]
820
- },
821
- {
822
- "name": "contained",
823
- "description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
824
- "values": []
825
- },
826
- {
827
- "name": "no-header",
828
- "description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
829
- "values": []
830
- },
831
- {
832
- "name": "dir",
833
- "description": "The element's directionality.",
834
- "values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
835
- },
836
- {
837
- "name": "lang",
838
- "description": "The element's language.",
839
- "values": []
840
- }
841
- ],
842
- "references": [
843
- {
844
- "name": "Documentation",
845
- "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-drawer--docs"
846
- }
847
- ]
848
- },
849
802
  {
850
803
  "name": "sd-dropdown",
851
804
  "description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
@@ -932,6 +885,53 @@
932
885
  }
933
886
  ]
934
887
  },
888
+ {
889
+ "name": "sd-drawer",
890
+ "description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
891
+ "attributes": [
892
+ {
893
+ "name": "open",
894
+ "description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
895
+ "values": []
896
+ },
897
+ {
898
+ "name": "label",
899
+ "description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
900
+ "values": []
901
+ },
902
+ {
903
+ "name": "placement",
904
+ "description": "The direction from which the drawer will open.",
905
+ "values": [{ "name": "end" }, { "name": "start" }]
906
+ },
907
+ {
908
+ "name": "contained",
909
+ "description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
910
+ "values": []
911
+ },
912
+ {
913
+ "name": "no-header",
914
+ "description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
915
+ "values": []
916
+ },
917
+ {
918
+ "name": "dir",
919
+ "description": "The element's directionality.",
920
+ "values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
921
+ },
922
+ {
923
+ "name": "lang",
924
+ "description": "The element's language.",
925
+ "values": []
926
+ }
927
+ ],
928
+ "references": [
929
+ {
930
+ "name": "Documentation",
931
+ "url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-drawer--docs"
932
+ }
933
+ ]
934
+ },
935
935
  {
936
936
  "name": "sd-expandable",
937
937
  "description": "Expandable shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the expandable opens.\n- **sd-after-show** - Emitted after the expandable opens and all animations are complete.\n- **sd-hide** - Emitted when the expandable closes.\n- **sd-after-hide** - Emitted after the expandable closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Opens the expandable\n- **hide()** - Closes the expandable\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Content of the expandable\n- **toggle-open** - Content of the toggle button when the expandable is open\n- **toggle-closed** - Content of the toggle button when the expandable is closed\n\n### **CSS Properties:**\n - **--gradient-color-start** - Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0)) _(default: undefined)_\n- **--gradient-color-end** - End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1)) _(default: undefined)_\n- **--gradient-height** - Height of the gradient (default: 24px) _(default: undefined)_\n- **--component-expandable-max-block-size** - Different value for initial visible block (default: 90px) _(default: undefined)_\n\n### **CSS Parts:**\n - **content** - The content of the expandable.\n- **toggle** - The toggle button of the expandable.\n- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",