@solid-design-system/components 4.0.6 → 4.0.7

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 (255) hide show
  1. package/cdn/chunks/{chunk.7JRCI5T7.js → chunk.3H546YPQ.js} +1 -1
  2. package/cdn/chunks/chunk.4EXZ2RBI.js +1 -0
  3. package/cdn/chunks/{chunk.PPMFZ77L.js → chunk.LXL4FWEA.js} +1 -1
  4. package/cdn/chunks/{chunk.LPJR7GDM.js → chunk.SJ2JO4KS.js} +1 -1
  5. package/cdn/components/animation/animation.js +1 -1
  6. package/cdn/components/audio/audio.js +1 -1
  7. package/cdn/components/drawer/drawer.js +1 -1
  8. package/cdn/components/navigation-item/navigation-item.js +1 -1
  9. package/cdn/custom-elements.json +677 -677
  10. package/cdn/solid-components.bundle.js +2 -2
  11. package/cdn/solid-components.iife.js +1 -1
  12. package/cdn/solid-components.js +1 -1
  13. package/cdn/web-types.json +1 -1
  14. package/cdn-versioned/_components/menu/menu.js +1 -1
  15. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  16. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  17. package/cdn-versioned/chunks/chunk.25ETUACJ.js +1 -1
  18. package/cdn-versioned/chunks/chunk.27EYM5XP.js +4 -4
  19. package/cdn-versioned/chunks/chunk.2H5XA4I4.js +1 -1
  20. package/cdn-versioned/chunks/chunk.2OLKGLBS.js +1 -1
  21. package/cdn-versioned/chunks/{chunk.7JRCI5T7.js → chunk.3H546YPQ.js} +1 -1
  22. package/cdn-versioned/chunks/chunk.4EXZ2RBI.js +1 -0
  23. package/cdn-versioned/chunks/chunk.4QUXWXQ7.js +1 -1
  24. package/cdn-versioned/chunks/chunk.5CIQRJCC.js +1 -1
  25. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  26. package/cdn-versioned/chunks/chunk.7ZYFSBMR.js +1 -1
  27. package/cdn-versioned/chunks/chunk.A63P52TG.js +1 -1
  28. package/cdn-versioned/chunks/chunk.A772RQJV.js +1 -1
  29. package/cdn-versioned/chunks/chunk.ANH5V2SE.js +2 -2
  30. package/cdn-versioned/chunks/chunk.AS7L23H2.js +2 -2
  31. package/cdn-versioned/chunks/chunk.B3H3PR6Y.js +1 -1
  32. package/cdn-versioned/chunks/chunk.B5YKUN6P.js +1 -1
  33. package/cdn-versioned/chunks/chunk.B6I2NZMP.js +4 -4
  34. package/cdn-versioned/chunks/chunk.BAO3UVTY.js +1 -1
  35. package/cdn-versioned/chunks/chunk.CAJUSOAF.js +1 -1
  36. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  37. package/cdn-versioned/chunks/chunk.D4RLVVDK.js +1 -1
  38. package/cdn-versioned/chunks/chunk.DUM4IQT6.js +1 -1
  39. package/cdn-versioned/chunks/chunk.EDD4HHHP.js +1 -1
  40. package/cdn-versioned/chunks/chunk.EJKLI2Q4.js +1 -1
  41. package/cdn-versioned/chunks/chunk.EP7OA5FU.js +1 -1
  42. package/cdn-versioned/chunks/chunk.GNYJN5QM.js +3 -3
  43. package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +1 -1
  44. package/cdn-versioned/chunks/chunk.GX6NOXTL.js +1 -1
  45. package/cdn-versioned/chunks/chunk.JUGW2WJP.js +1 -1
  46. package/cdn-versioned/chunks/chunk.LPXG67S4.js +1 -1
  47. package/cdn-versioned/chunks/chunk.LQZOBUFT.js +1 -1
  48. package/cdn-versioned/chunks/chunk.LVDI5OTS.js +1 -1
  49. package/cdn-versioned/chunks/{chunk.PPMFZ77L.js → chunk.LXL4FWEA.js} +1 -1
  50. package/cdn-versioned/chunks/chunk.MOQCXANY.js +2 -2
  51. package/cdn-versioned/chunks/chunk.N5OYRZY6.js +1 -1
  52. package/cdn-versioned/chunks/chunk.OCT5SOOS.js +1 -1
  53. package/cdn-versioned/chunks/chunk.QA3NVZY4.js +1 -1
  54. package/cdn-versioned/chunks/chunk.QOQO2KP5.js +1 -1
  55. package/cdn-versioned/chunks/chunk.QV7OIYLT.js +1 -1
  56. package/cdn-versioned/chunks/chunk.QWPCVRMH.js +1 -1
  57. package/cdn-versioned/chunks/{chunk.LPJR7GDM.js → chunk.SJ2JO4KS.js} +1 -1
  58. package/cdn-versioned/chunks/chunk.SWUGEKNC.js +1 -1
  59. package/cdn-versioned/chunks/chunk.TR52VDPR.js +1 -1
  60. package/cdn-versioned/chunks/chunk.U5SOEJO4.js +1 -1
  61. package/cdn-versioned/chunks/chunk.V3WIIJLB.js +1 -1
  62. package/cdn-versioned/chunks/chunk.VYV6SKST.js +1 -1
  63. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  64. package/cdn-versioned/chunks/chunk.WADGCWRK.js +1 -1
  65. package/cdn-versioned/chunks/chunk.WG3IQMLL.js +1 -1
  66. package/cdn-versioned/chunks/chunk.WNV6OGRG.js +1 -1
  67. package/cdn-versioned/chunks/chunk.WVYVGVBF.js +1 -1
  68. package/cdn-versioned/chunks/chunk.Y67MAFTR.js +1 -1
  69. package/cdn-versioned/chunks/chunk.ZWWTEE7R.js +1 -1
  70. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  71. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  72. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  73. package/cdn-versioned/components/animation/animation.js +1 -1
  74. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  75. package/cdn-versioned/components/audio/audio.js +1 -1
  76. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  77. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  78. package/cdn-versioned/components/button/button.d.ts +1 -1
  79. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  80. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  81. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  82. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  83. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  84. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  85. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  86. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  87. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  88. package/cdn-versioned/components/drawer/drawer.js +1 -1
  89. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  90. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  91. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  92. package/cdn-versioned/components/header/header.d.ts +1 -1
  93. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  94. package/cdn-versioned/components/include/include.d.ts +1 -1
  95. package/cdn-versioned/components/input/input.d.ts +1 -1
  96. package/cdn-versioned/components/link/link.d.ts +1 -1
  97. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  98. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  99. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  100. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  101. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  102. package/cdn-versioned/components/option/option.d.ts +1 -1
  103. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  104. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  105. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  106. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  107. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  108. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  109. package/cdn-versioned/components/select/select.d.ts +4 -4
  110. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  111. package/cdn-versioned/components/step/step.d.ts +1 -1
  112. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  113. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  114. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  115. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  116. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  117. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  118. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  119. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  120. package/cdn-versioned/components/video/video.d.ts +1 -1
  121. package/cdn-versioned/custom-elements.json +876 -876
  122. package/cdn-versioned/internal/form.js +3 -3
  123. package/cdn-versioned/solid-components.bundle.js +17 -17
  124. package/cdn-versioned/solid-components.css +2 -2
  125. package/cdn-versioned/solid-components.iife.js +17 -17
  126. package/cdn-versioned/solid-components.js +1 -1
  127. package/cdn-versioned/vscode.html-custom-data.json +80 -80
  128. package/cdn-versioned/web-types.json +137 -137
  129. package/dist/chunks/{chunk.32MPDFO4.js → chunk.F63YFNZS.js} +1 -1
  130. package/dist/chunks/{chunk.LU65KM4S.js → chunk.OZU372TI.js} +6 -3
  131. package/dist/components/animation/animation.js +2 -2
  132. package/dist/components/audio/audio.js +2 -2
  133. package/dist/components/drawer/drawer.js +1 -1
  134. package/dist/components/navigation-item/navigation-item.js +1 -1
  135. package/dist/custom-elements.json +677 -677
  136. package/dist/solid-components.js +14 -14
  137. package/dist/web-types.json +1 -1
  138. package/dist-versioned/_components/menu/menu.js +1 -1
  139. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  140. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  141. package/dist-versioned/chunks/chunk.274HT4QS.js +3 -3
  142. package/dist-versioned/chunks/chunk.2FXKQI26.js +2 -2
  143. package/dist-versioned/chunks/chunk.4MHQ63NW.js +26 -26
  144. package/dist-versioned/chunks/chunk.4Q7KKH5Z.js +2 -2
  145. package/dist-versioned/chunks/chunk.674S2Z6M.js +1 -1
  146. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  147. package/dist-versioned/chunks/chunk.7E7C4YEQ.js +3 -3
  148. package/dist-versioned/chunks/chunk.A5S7GZJI.js +3 -3
  149. package/dist-versioned/chunks/chunk.ACST636J.js +1 -1
  150. package/dist-versioned/chunks/chunk.AJ7V76EG.js +1 -1
  151. package/dist-versioned/chunks/chunk.AKF4KQEW.js +2 -2
  152. package/dist-versioned/chunks/chunk.AQZSZKBJ.js +13 -13
  153. package/dist-versioned/chunks/chunk.BJIZPRT4.js +5 -5
  154. package/dist-versioned/chunks/chunk.CCQCEONR.js +2 -2
  155. package/dist-versioned/chunks/chunk.D26WCHLT.js +6 -6
  156. package/dist-versioned/chunks/chunk.DPY2TYIS.js +9 -9
  157. package/dist-versioned/chunks/chunk.DU3O42BH.js +2 -2
  158. package/dist-versioned/chunks/chunk.EH2FHVPN.js +3 -3
  159. package/dist-versioned/chunks/{chunk.32MPDFO4.js → chunk.F63YFNZS.js} +6 -6
  160. package/dist-versioned/chunks/chunk.FFKZQXJ2.js +2 -2
  161. package/dist-versioned/chunks/chunk.FTXUZOXH.js +2 -2
  162. package/dist-versioned/chunks/chunk.H5ARRBLT.js +2 -2
  163. package/dist-versioned/chunks/chunk.H5BDO4H5.js +11 -11
  164. package/dist-versioned/chunks/chunk.HFHUY7YD.js +1 -1
  165. package/dist-versioned/chunks/chunk.HP2TVELZ.js +1 -1
  166. package/dist-versioned/chunks/chunk.IN7RNHBF.js +1 -1
  167. package/dist-versioned/chunks/chunk.JIWTAZZS.js +5 -5
  168. package/dist-versioned/chunks/chunk.JZB2D4IZ.js +1 -1
  169. package/dist-versioned/chunks/chunk.K3JCC7KV.js +5 -5
  170. package/dist-versioned/chunks/chunk.KH4M6HPE.js +2 -2
  171. package/dist-versioned/chunks/chunk.KPA6BEFU.js +5 -5
  172. package/dist-versioned/chunks/{chunk.TGJ2SBPH.js → chunk.KQAHFLVX.js} +9 -9
  173. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  174. package/dist-versioned/chunks/chunk.L32THKSR.js +3 -3
  175. package/dist-versioned/chunks/chunk.L5XQ7O4S.js +2 -2
  176. package/dist-versioned/chunks/{chunk.DCTW5WAP.js → chunk.LZA2QYUU.js} +4 -4
  177. package/dist-versioned/chunks/chunk.NUIZDE7R.js +1 -1
  178. package/dist-versioned/chunks/chunk.NY5S53W2.js +13 -13
  179. package/dist-versioned/chunks/chunk.OBWOMZNU.js +2 -2
  180. package/dist-versioned/chunks/chunk.OMBVLHXJ.js +1 -1
  181. package/dist-versioned/chunks/chunk.OR7JTZLE.js +2 -2
  182. package/dist-versioned/chunks/{chunk.LU65KM4S.js → chunk.OZU372TI.js} +7 -4
  183. package/dist-versioned/chunks/chunk.PRXP5CUW.js +5 -5
  184. package/dist-versioned/chunks/chunk.PT7MDSWH.js +1 -1
  185. package/dist-versioned/chunks/chunk.QTFIZJGB.js +2 -2
  186. package/dist-versioned/chunks/chunk.QUYKT56M.js +1 -1
  187. package/dist-versioned/chunks/chunk.SNCHAQYL.js +4 -4
  188. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  189. package/dist-versioned/chunks/chunk.VTUCPGYW.js +1 -1
  190. package/dist-versioned/chunks/chunk.X2PI2F35.js +1 -1
  191. package/dist-versioned/chunks/chunk.XL2PSGM5.js +2 -2
  192. package/dist-versioned/chunks/chunk.XQNY7RZD.js +29 -29
  193. package/dist-versioned/chunks/chunk.Y7254YJM.js +2 -2
  194. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  195. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  196. package/dist-versioned/components/animation/animation.d.ts +1 -1
  197. package/dist-versioned/components/animation/animation.js +2 -2
  198. package/dist-versioned/components/audio/audio.d.ts +1 -1
  199. package/dist-versioned/components/audio/audio.js +2 -2
  200. package/dist-versioned/components/badge/badge.d.ts +1 -1
  201. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  202. package/dist-versioned/components/button/button.d.ts +1 -1
  203. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  204. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  205. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  206. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  207. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  208. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  209. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  210. package/dist-versioned/components/divider/divider.d.ts +1 -1
  211. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  212. package/dist-versioned/components/drawer/drawer.js +1 -1
  213. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  214. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  215. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  216. package/dist-versioned/components/header/header.d.ts +1 -1
  217. package/dist-versioned/components/icon/icon.d.ts +1 -1
  218. package/dist-versioned/components/include/include.d.ts +1 -1
  219. package/dist-versioned/components/input/input.d.ts +1 -1
  220. package/dist-versioned/components/link/link.d.ts +1 -1
  221. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  222. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  223. package/dist-versioned/components/navigation-item/navigation-item.js +1 -1
  224. package/dist-versioned/components/notification/notification.d.ts +1 -1
  225. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  226. package/dist-versioned/components/option/option.d.ts +1 -1
  227. package/dist-versioned/components/popup/popup.d.ts +1 -1
  228. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  229. package/dist-versioned/components/radio/radio.d.ts +1 -1
  230. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  231. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  232. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  233. package/dist-versioned/components/select/select.d.ts +4 -4
  234. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  235. package/dist-versioned/components/step/step.d.ts +1 -1
  236. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  237. package/dist-versioned/components/switch/switch.d.ts +1 -1
  238. package/dist-versioned/components/tab/tab.d.ts +1 -1
  239. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  240. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  241. package/dist-versioned/components/tag/tag.d.ts +1 -1
  242. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  243. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  244. package/dist-versioned/components/video/video.d.ts +1 -1
  245. package/dist-versioned/custom-elements.json +876 -876
  246. package/dist-versioned/internal/form.js +3 -3
  247. package/dist-versioned/solid-components.css +2 -2
  248. package/dist-versioned/solid-components.js +14 -14
  249. package/dist-versioned/vscode.html-custom-data.json +80 -80
  250. package/dist-versioned/web-types.json +137 -137
  251. package/package.json +1 -1
  252. package/cdn/chunks/chunk.OF353WP5.js +0 -1
  253. package/cdn-versioned/chunks/chunk.OF353WP5.js +0 -1
  254. package/dist/chunks/{chunk.TGJ2SBPH.js → chunk.KQAHFLVX.js} +3 -3
  255. package/dist/chunks/{chunk.DCTW5WAP.js → chunk.LZA2QYUU.js} +3 -3
@@ -5593,104 +5593,181 @@
5593
5593
  },
5594
5594
  {
5595
5595
  "kind": "javascript-module",
5596
- "path": "components/expandable/expandable.js",
5596
+ "path": "components/dropdown/dropdown.js",
5597
5597
  "declarations": [
5598
5598
  {
5599
5599
  "kind": "class",
5600
5600
  "description": "",
5601
- "name": "SdExpandable",
5602
- "cssProperties": [
5601
+ "name": "SdDropdown",
5602
+ "cssParts": [
5603
5603
  {
5604
- "description": "Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0))",
5605
- "name": "--gradient-color-start"
5604
+ "description": "The component's base wrapper.",
5605
+ "name": "base"
5606
5606
  },
5607
5607
  {
5608
- "description": "End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1))",
5609
- "name": "--gradient-color-end"
5608
+ "description": "The container that wraps the trigger.",
5609
+ "name": "trigger"
5610
5610
  },
5611
5611
  {
5612
- "description": "Height of the gradient (default: 24px)",
5613
- "name": "--gradient-height"
5612
+ "description": "The panel that gets shown when the dropdown is open.",
5613
+ "name": "panel"
5614
+ }
5615
+ ],
5616
+ "slots": [
5617
+ {
5618
+ "description": "The dropdown's main content.",
5619
+ "name": ""
5614
5620
  },
5615
5621
  {
5616
- "description": "Different value for initial visible block (default: 90px)",
5617
- "name": "--component-expandable-max-block-size"
5622
+ "description": "The dropdown's trigger, usually a `<sd-button>` element.",
5623
+ "name": "trigger"
5618
5624
  }
5619
5625
  ],
5620
- "cssParts": [
5626
+ "members": [
5621
5627
  {
5622
- "description": "The component's base wrapper.",
5623
- "name": "base"
5628
+ "kind": "field",
5629
+ "name": "popup",
5630
+ "type": {
5631
+ "text": "SdPopup"
5632
+ }
5624
5633
  },
5625
5634
  {
5626
- "description": "The content of the expandable.",
5627
- "name": "content"
5635
+ "kind": "field",
5636
+ "name": "localize",
5637
+ "privacy": "public",
5638
+ "default": "new LocalizeController(this)"
5628
5639
  },
5629
5640
  {
5630
- "description": "The toggle button of the expandable.",
5631
- "name": "toggle"
5641
+ "kind": "field",
5642
+ "name": "open",
5643
+ "type": {
5644
+ "text": "boolean"
5645
+ },
5646
+ "default": "false",
5647
+ "description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
5648
+ "attribute": "open",
5649
+ "reflects": true
5632
5650
  },
5633
5651
  {
5634
- "description": "The summary of the expandable.",
5635
- "name": "summary"
5652
+ "kind": "field",
5653
+ "name": "rounded",
5654
+ "type": {
5655
+ "text": "boolean"
5656
+ },
5657
+ "default": "false",
5658
+ "description": "Indicates whether or not the dropdown should be styled with rounded corners.",
5659
+ "attribute": "rounded",
5660
+ "reflects": true
5636
5661
  },
5637
5662
  {
5638
- "description": "The details element of the expandable.",
5639
- "name": "details"
5640
- }
5641
- ],
5642
- "slots": [
5663
+ "kind": "field",
5664
+ "name": "placement",
5665
+ "type": {
5666
+ "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
5667
+ },
5668
+ "default": "'bottom-start'",
5669
+ "description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
5670
+ "attribute": "placement",
5671
+ "reflects": true
5672
+ },
5643
5673
  {
5644
- "description": "Content of the expandable",
5645
- "name": ""
5674
+ "kind": "field",
5675
+ "name": "disabled",
5676
+ "type": {
5677
+ "text": "boolean"
5678
+ },
5679
+ "default": "false",
5680
+ "description": "Disables the dropdown so the panel will not open.",
5681
+ "attribute": "disabled",
5682
+ "reflects": true
5646
5683
  },
5647
5684
  {
5648
- "description": "Content of the toggle button when the expandable is open",
5649
- "name": "toggle-open"
5685
+ "kind": "field",
5686
+ "name": "stayOpenOnSelect",
5687
+ "type": {
5688
+ "text": "boolean"
5689
+ },
5690
+ "default": "false",
5691
+ "description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
5692
+ "attribute": "stay-open-on-select",
5693
+ "reflects": true
5650
5694
  },
5651
5695
  {
5652
- "description": "Content of the toggle button when the expandable is closed",
5653
- "name": "toggle-closed"
5654
- }
5655
- ],
5656
- "members": [
5696
+ "kind": "field",
5697
+ "name": "distance",
5698
+ "type": {
5699
+ "text": "number"
5700
+ },
5701
+ "default": "0",
5702
+ "description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
5703
+ "attribute": "distance"
5704
+ },
5657
5705
  {
5658
5706
  "kind": "field",
5659
- "name": "open",
5707
+ "name": "skidding",
5708
+ "type": {
5709
+ "text": "number"
5710
+ },
5711
+ "default": "0",
5712
+ "description": "The distance in pixels from which to offset the panel along its trigger.",
5713
+ "attribute": "skidding"
5714
+ },
5715
+ {
5716
+ "kind": "field",
5717
+ "name": "noAutoSize",
5660
5718
  "type": {
5661
5719
  "text": "boolean"
5662
5720
  },
5663
5721
  "default": "false",
5664
- "description": "Used to check whether the component is expanded or not.",
5665
- "attribute": "open",
5722
+ "description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
5723
+ "attribute": "no-auto-size",
5666
5724
  "reflects": true
5667
5725
  },
5668
5726
  {
5669
5727
  "kind": "field",
5670
- "name": "inverted",
5728
+ "name": "noFlip",
5671
5729
  "type": {
5672
5730
  "text": "boolean"
5673
5731
  },
5674
5732
  "default": "false",
5675
- "description": "Inverts the expandable and sets the color of the gradient to primary.",
5676
- "attribute": "inverted",
5733
+ "description": "When set to true, the placement of the dropdown will not flip to the opposite site to keep it in view.",
5734
+ "attribute": "no-flip",
5677
5735
  "reflects": true
5678
5736
  },
5679
5737
  {
5680
5738
  "kind": "field",
5681
- "name": "localize",
5682
- "privacy": "public",
5683
- "default": "new LocalizeController(this)"
5739
+ "name": "hoist",
5740
+ "type": {
5741
+ "text": "boolean"
5742
+ },
5743
+ "default": "false",
5744
+ "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
5745
+ "attribute": "hoist"
5746
+ },
5747
+ {
5748
+ "kind": "method",
5749
+ "name": "getAccessibleTrigger",
5750
+ "return": {
5751
+ "type": {
5752
+ "text": "HTMLElement | null"
5753
+ }
5754
+ },
5755
+ "description": "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.\""
5684
5756
  },
5685
5757
  {
5686
5758
  "kind": "method",
5687
5759
  "name": "show",
5688
- "description": "Opens the expandable"
5760
+ "description": "Shows the dropdown panel."
5689
5761
  },
5690
5762
  {
5691
5763
  "kind": "method",
5692
5764
  "name": "hide",
5693
- "description": "Closes the expandable"
5765
+ "description": "Hides the dropdown panel"
5766
+ },
5767
+ {
5768
+ "kind": "method",
5769
+ "name": "reposition",
5770
+ "description": "Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated."
5694
5771
  },
5695
5772
  {
5696
5773
  "kind": "field",
@@ -5745,19 +5822,19 @@
5745
5822
  ],
5746
5823
  "events": [
5747
5824
  {
5748
- "description": "Emitted when the expandable opens.",
5825
+ "description": "Emitted when the dropdown opens.",
5749
5826
  "name": "sd-show"
5750
5827
  },
5751
5828
  {
5752
- "description": "Emitted after the expandable opens and all animations are complete.",
5829
+ "description": "Emitted after the dropdown opens and all animations are complete.",
5753
5830
  "name": "sd-after-show"
5754
5831
  },
5755
5832
  {
5756
- "description": "Emitted when the expandable closes.",
5833
+ "description": "Emitted when the dropdown closes.",
5757
5834
  "name": "sd-hide"
5758
5835
  },
5759
5836
  {
5760
- "description": "Emitted after the expandable closes and all animations are complete.",
5837
+ "description": "Emitted after the dropdown closes and all animations are complete.",
5761
5838
  "name": "sd-after-hide"
5762
5839
  }
5763
5840
  ],
@@ -5768,17 +5845,89 @@
5768
5845
  "text": "boolean"
5769
5846
  },
5770
5847
  "default": "false",
5771
- "description": "Used to check whether the component is expanded or not.",
5848
+ "description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
5772
5849
  "fieldName": "open"
5773
5850
  },
5774
5851
  {
5775
- "name": "inverted",
5852
+ "name": "rounded",
5776
5853
  "type": {
5777
5854
  "text": "boolean"
5778
5855
  },
5779
5856
  "default": "false",
5780
- "description": "Inverts the expandable and sets the color of the gradient to primary.",
5781
- "fieldName": "inverted"
5857
+ "description": "Indicates whether or not the dropdown should be styled with rounded corners.",
5858
+ "fieldName": "rounded"
5859
+ },
5860
+ {
5861
+ "name": "placement",
5862
+ "type": {
5863
+ "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
5864
+ },
5865
+ "default": "'bottom-start'",
5866
+ "description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
5867
+ "fieldName": "placement"
5868
+ },
5869
+ {
5870
+ "name": "disabled",
5871
+ "type": {
5872
+ "text": "boolean"
5873
+ },
5874
+ "default": "false",
5875
+ "description": "Disables the dropdown so the panel will not open.",
5876
+ "fieldName": "disabled"
5877
+ },
5878
+ {
5879
+ "name": "stay-open-on-select",
5880
+ "type": {
5881
+ "text": "boolean"
5882
+ },
5883
+ "default": "false",
5884
+ "description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
5885
+ "fieldName": "stayOpenOnSelect"
5886
+ },
5887
+ {
5888
+ "name": "distance",
5889
+ "type": {
5890
+ "text": "number"
5891
+ },
5892
+ "default": "0",
5893
+ "description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
5894
+ "fieldName": "distance"
5895
+ },
5896
+ {
5897
+ "name": "skidding",
5898
+ "type": {
5899
+ "text": "number"
5900
+ },
5901
+ "default": "0",
5902
+ "description": "The distance in pixels from which to offset the panel along its trigger.",
5903
+ "fieldName": "skidding"
5904
+ },
5905
+ {
5906
+ "name": "no-auto-size",
5907
+ "type": {
5908
+ "text": "boolean"
5909
+ },
5910
+ "default": "false",
5911
+ "description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
5912
+ "fieldName": "noAutoSize"
5913
+ },
5914
+ {
5915
+ "name": "no-flip",
5916
+ "type": {
5917
+ "text": "boolean"
5918
+ },
5919
+ "default": "false",
5920
+ "description": "When set to true, the placement of the dropdown will not flip to the opposite site to keep it in view.",
5921
+ "fieldName": "noFlip"
5922
+ },
5923
+ {
5924
+ "name": "hoist",
5925
+ "type": {
5926
+ "text": "boolean"
5927
+ },
5928
+ "default": "false",
5929
+ "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
5930
+ "fieldName": "hoist"
5782
5931
  },
5783
5932
  {
5784
5933
  "name": "dir",
@@ -5809,14 +5958,24 @@
5809
5958
  "name": "SolidElement",
5810
5959
  "module": "/src/internal/solid-element"
5811
5960
  },
5812
- "summary": "Expandable shows a brief summary and expands to show additional content.",
5813
- "documentation": "https://solid.union-investment.com/[storybook-link]/expandable",
5961
+ "summary": "Dropdowns expose additional content that \"drops down\" in a panel.",
5962
+ "documentation": "https://solid.union-investment.com/[storybook-link]/dropdown",
5814
5963
  "status": "stable",
5815
- "since": "3.11.0",
5964
+ "since": "1.8",
5816
5965
  "dependencies": [
5817
- "sd-icon"
5966
+ "sd-popup"
5818
5967
  ],
5819
- "tagName": "sd-expandable",
5968
+ "animations": [
5969
+ {
5970
+ "name": "dropdown.show",
5971
+ "description": "The animation to use when showing the dropdown."
5972
+ },
5973
+ {
5974
+ "name": "dropdown.hide",
5975
+ "description": "The animation to use when hiding the dropdown."
5976
+ }
5977
+ ],
5978
+ "tagName": "sd-dropdown",
5820
5979
  "customElement": true
5821
5980
  }
5822
5981
  ],
@@ -5825,36 +5984,44 @@
5825
5984
  "kind": "js",
5826
5985
  "name": "default",
5827
5986
  "declaration": {
5828
- "name": "SdExpandable",
5829
- "module": "components/expandable/expandable.js"
5987
+ "name": "SdDropdown",
5988
+ "module": "components/dropdown/dropdown.js"
5830
5989
  }
5831
5990
  },
5832
5991
  {
5833
5992
  "kind": "custom-element-definition",
5834
- "name": "sd-expandable",
5993
+ "name": "sd-dropdown",
5835
5994
  "declaration": {
5836
- "name": "SdExpandable",
5837
- "module": "components/expandable/expandable.js"
5995
+ "name": "SdDropdown",
5996
+ "module": "components/dropdown/dropdown.js"
5838
5997
  }
5839
5998
  }
5840
5999
  ]
5841
6000
  },
5842
6001
  {
5843
6002
  "kind": "javascript-module",
5844
- "path": "components/flipcard/flipcard.js",
6003
+ "path": "components/expandable/expandable.js",
5845
6004
  "declarations": [
5846
6005
  {
5847
6006
  "kind": "class",
5848
6007
  "description": "",
5849
- "name": "SdFlipcard",
6008
+ "name": "SdExpandable",
5850
6009
  "cssProperties": [
5851
6010
  {
5852
- "description": "Description of the flipcard.",
5853
- "name": "--name"
6011
+ "description": "Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0))",
6012
+ "name": "--gradient-color-start"
5854
6013
  },
5855
6014
  {
5856
- "description": "Use this property to set the height of the flipcard.",
5857
- "name": "--height"
6015
+ "description": "End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1))",
6016
+ "name": "--gradient-color-end"
6017
+ },
6018
+ {
6019
+ "description": "Height of the gradient (default: 24px)",
6020
+ "name": "--gradient-height"
6021
+ },
6022
+ {
6023
+ "description": "Different value for initial visible block (default: 90px)",
6024
+ "name": "--component-expandable-max-block-size"
5858
6025
  }
5859
6026
  ],
5860
6027
  "cssParts": [
@@ -5863,124 +6030,74 @@
5863
6030
  "name": "base"
5864
6031
  },
5865
6032
  {
5866
- "description": "The container that wraps the front-side of the flipcard.",
5867
- "name": "front"
5868
- },
5869
- {
5870
- "description": "The container that wraps the back-side of the flipcard.",
5871
- "name": "back"
5872
- },
5873
- {
5874
- "description": "The button that flips the flipcard to the back.",
5875
- "name": "front-button"
5876
- },
5877
- {
5878
- "description": "The button that flips the flipcard to the front.",
5879
- "name": "back-button"
5880
- },
5881
- {
5882
- "description": "The container that wraps the front side and the flip button.",
5883
- "name": "front-interactive-container"
5884
- },
5885
- {
5886
- "description": "The container that wraps the back side and the flip button.",
5887
- "name": "back-interactive-container"
5888
- },
5889
- {
5890
- "description": "The container that wraps the front slot.",
5891
- "name": "front-slot-container"
5892
- },
5893
- {
5894
- "description": "The container that wraps the back slot.",
5895
- "name": "back-slot-container"
5896
- },
5897
- {
5898
- "description": "The container that wraps the media-front slot.",
5899
- "name": "media-front"
6033
+ "description": "The content of the expandable.",
6034
+ "name": "content"
5900
6035
  },
5901
6036
  {
5902
- "description": "The container that wraps the media-back slot.",
5903
- "name": "media-back"
6037
+ "description": "The toggle button of the expandable.",
6038
+ "name": "toggle"
5904
6039
  },
5905
6040
  {
5906
- "description": "The container that wraps the secondary gradient of the front side.",
5907
- "name": "front-secondary-gradient"
6041
+ "description": "The summary of the expandable.",
6042
+ "name": "summary"
5908
6043
  },
5909
6044
  {
5910
- "description": "The container that wraps the secondary gradient of the back side.",
5911
- "name": "back-secondary-gradient"
6045
+ "description": "The details element of the expandable.",
6046
+ "name": "details"
5912
6047
  }
5913
6048
  ],
5914
6049
  "slots": [
5915
6050
  {
5916
- "description": "The front face of the flipcard.",
5917
- "name": "front"
5918
- },
5919
- {
5920
- "description": "The back face of the flipcard.",
5921
- "name": "back"
6051
+ "description": "Content of the expandable",
6052
+ "name": ""
5922
6053
  },
5923
6054
  {
5924
- "description": "An optional media slot which can be as a background. Dependent from gradient variant.",
5925
- "name": "media-front"
6055
+ "description": "Content of the toggle button when the expandable is open",
6056
+ "name": "toggle-open"
5926
6057
  },
5927
6058
  {
5928
- "description": "An optional media slot which can be as a background. Dependent from gradient variant.",
5929
- "name": "media-back"
6059
+ "description": "Content of the toggle button when the expandable is closed",
6060
+ "name": "toggle-closed"
5930
6061
  }
5931
6062
  ],
5932
6063
  "members": [
5933
6064
  {
5934
6065
  "kind": "field",
5935
- "name": "flipDirection",
6066
+ "name": "open",
5936
6067
  "type": {
5937
- "text": "'horizontal' | 'vertical'"
6068
+ "text": "boolean"
5938
6069
  },
5939
- "default": "'horizontal'",
5940
- "description": "Allows the flipcard to flip vertically or horizontally.",
5941
- "attribute": "flip-direction",
6070
+ "default": "false",
6071
+ "description": "Used to check whether the component is expanded or not.",
6072
+ "attribute": "open",
5942
6073
  "reflects": true
5943
6074
  },
5944
6075
  {
5945
6076
  "kind": "field",
5946
- "name": "placement",
6077
+ "name": "inverted",
5947
6078
  "type": {
5948
- "text": "'top' | 'bottom'"
6079
+ "text": "boolean"
5949
6080
  },
5950
- "default": "'top'",
5951
- "description": "Determines the placement of the contents of the flipcard.",
5952
- "attribute": "placement",
6081
+ "default": "false",
6082
+ "description": "Inverts the expandable and sets the color of the gradient to primary.",
6083
+ "attribute": "inverted",
5953
6084
  "reflects": true
5954
6085
  },
5955
6086
  {
5956
6087
  "kind": "field",
5957
- "name": "frontVariant",
5958
- "type": {
5959
- "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
5960
- },
5961
- "default": "'primary'",
5962
- "description": "Determines the variant of the front face of the flipcard.",
5963
- "attribute": "front-variant",
5964
- "reflects": true
6088
+ "name": "localize",
6089
+ "privacy": "public",
6090
+ "default": "new LocalizeController(this)"
5965
6091
  },
5966
6092
  {
5967
- "kind": "field",
5968
- "name": "backVariant",
5969
- "type": {
5970
- "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
5971
- },
5972
- "default": "'primary'",
5973
- "description": "Determines the variant of the back face of the flipcard.",
5974
- "attribute": "back-variant",
5975
- "reflects": true
6093
+ "kind": "method",
6094
+ "name": "show",
6095
+ "description": "Opens the expandable"
5976
6096
  },
5977
6097
  {
5978
- "kind": "field",
5979
- "name": "activeSide",
5980
- "type": {
5981
- "text": "'front' | 'back'"
5982
- },
5983
- "default": "'front'"
6098
+ "kind": "method",
6099
+ "name": "hide",
6100
+ "description": "Closes the expandable"
5984
6101
  },
5985
6102
  {
5986
6103
  "kind": "field",
@@ -6035,50 +6152,40 @@
6035
6152
  ],
6036
6153
  "events": [
6037
6154
  {
6038
- "description": "Emmited when the front face of the flipcard is clicked.",
6039
- "name": "sd-flip-front"
6155
+ "description": "Emitted when the expandable opens.",
6156
+ "name": "sd-show"
6040
6157
  },
6041
6158
  {
6042
- "description": "Emmited when the back face of the flipcard is clicked.",
6043
- "name": "sd-flip-back"
6044
- }
6045
- ],
6046
- "attributes": [
6047
- {
6048
- "name": "flip-direction",
6049
- "type": {
6050
- "text": "'horizontal' | 'vertical'"
6051
- },
6052
- "default": "'horizontal'",
6053
- "description": "Allows the flipcard to flip vertically or horizontally.",
6054
- "fieldName": "flipDirection"
6159
+ "description": "Emitted after the expandable opens and all animations are complete.",
6160
+ "name": "sd-after-show"
6055
6161
  },
6056
6162
  {
6057
- "name": "placement",
6058
- "type": {
6059
- "text": "'top' | 'bottom'"
6060
- },
6061
- "default": "'top'",
6062
- "description": "Determines the placement of the contents of the flipcard.",
6063
- "fieldName": "placement"
6163
+ "description": "Emitted when the expandable closes.",
6164
+ "name": "sd-hide"
6064
6165
  },
6065
6166
  {
6066
- "name": "front-variant",
6167
+ "description": "Emitted after the expandable closes and all animations are complete.",
6168
+ "name": "sd-after-hide"
6169
+ }
6170
+ ],
6171
+ "attributes": [
6172
+ {
6173
+ "name": "open",
6067
6174
  "type": {
6068
- "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
6175
+ "text": "boolean"
6069
6176
  },
6070
- "default": "'primary'",
6071
- "description": "Determines the variant of the front face of the flipcard.",
6072
- "fieldName": "frontVariant"
6177
+ "default": "false",
6178
+ "description": "Used to check whether the component is expanded or not.",
6179
+ "fieldName": "open"
6073
6180
  },
6074
6181
  {
6075
- "name": "back-variant",
6182
+ "name": "inverted",
6076
6183
  "type": {
6077
- "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
6184
+ "text": "boolean"
6078
6185
  },
6079
- "default": "'primary'",
6080
- "description": "Determines the variant of the back face of the flipcard.",
6081
- "fieldName": "backVariant"
6186
+ "default": "false",
6187
+ "description": "Inverts the expandable and sets the color of the gradient to primary.",
6188
+ "fieldName": "inverted"
6082
6189
  },
6083
6190
  {
6084
6191
  "name": "dir",
@@ -6109,15 +6216,14 @@
6109
6216
  "name": "SolidElement",
6110
6217
  "module": "/src/internal/solid-element"
6111
6218
  },
6112
- "summary": "Flipcard allows for the addition of content/information on both \"sides\" of the card, through means of a flip animation. Used to add dynamism and interactivity to a page.",
6113
- "documentation": "https://solid.union-investment.com/[storybook-link]/flipcard",
6219
+ "summary": "Expandable shows a brief summary and expands to show additional content.",
6220
+ "documentation": "https://solid.union-investment.com/[storybook-link]/expandable",
6114
6221
  "status": "stable",
6115
- "since": "3.8.0",
6222
+ "since": "3.11.0",
6116
6223
  "dependencies": [
6117
- "sd-button",
6118
6224
  "sd-icon"
6119
6225
  ],
6120
- "tagName": "sd-flipcard",
6226
+ "tagName": "sd-expandable",
6121
6227
  "customElement": true
6122
6228
  }
6123
6229
  ],
@@ -6126,66 +6232,163 @@
6126
6232
  "kind": "js",
6127
6233
  "name": "default",
6128
6234
  "declaration": {
6129
- "name": "SdFlipcard",
6130
- "module": "components/flipcard/flipcard.js"
6235
+ "name": "SdExpandable",
6236
+ "module": "components/expandable/expandable.js"
6131
6237
  }
6132
6238
  },
6133
6239
  {
6134
6240
  "kind": "custom-element-definition",
6135
- "name": "sd-flipcard",
6241
+ "name": "sd-expandable",
6136
6242
  "declaration": {
6137
- "name": "SdFlipcard",
6138
- "module": "components/flipcard/flipcard.js"
6243
+ "name": "SdExpandable",
6244
+ "module": "components/expandable/expandable.js"
6139
6245
  }
6140
6246
  }
6141
6247
  ]
6142
6248
  },
6143
6249
  {
6144
6250
  "kind": "javascript-module",
6145
- "path": "components/header/header.js",
6251
+ "path": "components/flipcard/flipcard.js",
6146
6252
  "declarations": [
6147
6253
  {
6148
6254
  "kind": "class",
6149
6255
  "description": "",
6150
- "name": "SdHeader",
6256
+ "name": "SdFlipcard",
6151
6257
  "cssProperties": [
6152
6258
  {
6153
- "description": "width of the header content",
6154
- "name": "--sd-header-inner-width"
6155
- },
6156
- {
6157
- "description": "max-width of the header content",
6158
- "name": "--sd-header-inner-max-width"
6259
+ "description": "Description of the flipcard.",
6260
+ "name": "--name"
6159
6261
  },
6160
6262
  {
6161
- "description": "padding-left and padding-right of the header content",
6162
- "name": "--sd-header-padding"
6263
+ "description": "Use this property to set the height of the flipcard.",
6264
+ "name": "--height"
6163
6265
  }
6164
6266
  ],
6165
6267
  "cssParts": [
6166
6268
  {
6167
- "description": "The container that wraps the header's content.",
6168
- "name": "main"
6269
+ "description": "The component's base wrapper.",
6270
+ "name": "base"
6271
+ },
6272
+ {
6273
+ "description": "The container that wraps the front-side of the flipcard.",
6274
+ "name": "front"
6275
+ },
6276
+ {
6277
+ "description": "The container that wraps the back-side of the flipcard.",
6278
+ "name": "back"
6279
+ },
6280
+ {
6281
+ "description": "The button that flips the flipcard to the back.",
6282
+ "name": "front-button"
6283
+ },
6284
+ {
6285
+ "description": "The button that flips the flipcard to the front.",
6286
+ "name": "back-button"
6287
+ },
6288
+ {
6289
+ "description": "The container that wraps the front side and the flip button.",
6290
+ "name": "front-interactive-container"
6291
+ },
6292
+ {
6293
+ "description": "The container that wraps the back side and the flip button.",
6294
+ "name": "back-interactive-container"
6295
+ },
6296
+ {
6297
+ "description": "The container that wraps the front slot.",
6298
+ "name": "front-slot-container"
6299
+ },
6300
+ {
6301
+ "description": "The container that wraps the back slot.",
6302
+ "name": "back-slot-container"
6303
+ },
6304
+ {
6305
+ "description": "The container that wraps the media-front slot.",
6306
+ "name": "media-front"
6307
+ },
6308
+ {
6309
+ "description": "The container that wraps the media-back slot.",
6310
+ "name": "media-back"
6311
+ },
6312
+ {
6313
+ "description": "The container that wraps the secondary gradient of the front side.",
6314
+ "name": "front-secondary-gradient"
6315
+ },
6316
+ {
6317
+ "description": "The container that wraps the secondary gradient of the back side.",
6318
+ "name": "back-secondary-gradient"
6169
6319
  }
6170
6320
  ],
6171
6321
  "slots": [
6172
6322
  {
6173
- "description": "The header's default content.",
6174
- "name": ""
6323
+ "description": "The front face of the flipcard.",
6324
+ "name": "front"
6325
+ },
6326
+ {
6327
+ "description": "The back face of the flipcard.",
6328
+ "name": "back"
6329
+ },
6330
+ {
6331
+ "description": "An optional media slot which can be as a background. Dependent from gradient variant.",
6332
+ "name": "media-front"
6333
+ },
6334
+ {
6335
+ "description": "An optional media slot which can be as a background. Dependent from gradient variant.",
6336
+ "name": "media-back"
6175
6337
  }
6176
6338
  ],
6177
6339
  "members": [
6178
6340
  {
6179
6341
  "kind": "field",
6180
- "name": "fixed",
6342
+ "name": "flipDirection",
6181
6343
  "type": {
6182
- "text": "boolean"
6344
+ "text": "'horizontal' | 'vertical'"
6183
6345
  },
6184
- "default": "false",
6185
- "description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page, a shadow is shown underneath.",
6186
- "attribute": "fixed",
6346
+ "default": "'horizontal'",
6347
+ "description": "Allows the flipcard to flip vertically or horizontally.",
6348
+ "attribute": "flip-direction",
6349
+ "reflects": true
6350
+ },
6351
+ {
6352
+ "kind": "field",
6353
+ "name": "placement",
6354
+ "type": {
6355
+ "text": "'top' | 'bottom'"
6356
+ },
6357
+ "default": "'top'",
6358
+ "description": "Determines the placement of the contents of the flipcard.",
6359
+ "attribute": "placement",
6360
+ "reflects": true
6361
+ },
6362
+ {
6363
+ "kind": "field",
6364
+ "name": "frontVariant",
6365
+ "type": {
6366
+ "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
6367
+ },
6368
+ "default": "'primary'",
6369
+ "description": "Determines the variant of the front face of the flipcard.",
6370
+ "attribute": "front-variant",
6371
+ "reflects": true
6372
+ },
6373
+ {
6374
+ "kind": "field",
6375
+ "name": "backVariant",
6376
+ "type": {
6377
+ "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
6378
+ },
6379
+ "default": "'primary'",
6380
+ "description": "Determines the variant of the back face of the flipcard.",
6381
+ "attribute": "back-variant",
6187
6382
  "reflects": true
6188
6383
  },
6384
+ {
6385
+ "kind": "field",
6386
+ "name": "activeSide",
6387
+ "type": {
6388
+ "text": "'front' | 'back'"
6389
+ },
6390
+ "default": "'front'"
6391
+ },
6189
6392
  {
6190
6393
  "kind": "field",
6191
6394
  "name": "dir",
@@ -6237,15 +6440,52 @@
6237
6440
  }
6238
6441
  }
6239
6442
  ],
6443
+ "events": [
6444
+ {
6445
+ "description": "Emmited when the front face of the flipcard is clicked.",
6446
+ "name": "sd-flip-front"
6447
+ },
6448
+ {
6449
+ "description": "Emmited when the back face of the flipcard is clicked.",
6450
+ "name": "sd-flip-back"
6451
+ }
6452
+ ],
6240
6453
  "attributes": [
6241
6454
  {
6242
- "name": "fixed",
6455
+ "name": "flip-direction",
6243
6456
  "type": {
6244
- "text": "boolean"
6457
+ "text": "'horizontal' | 'vertical'"
6245
6458
  },
6246
- "default": "false",
6247
- "description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page, a shadow is shown underneath.",
6248
- "fieldName": "fixed"
6459
+ "default": "'horizontal'",
6460
+ "description": "Allows the flipcard to flip vertically or horizontally.",
6461
+ "fieldName": "flipDirection"
6462
+ },
6463
+ {
6464
+ "name": "placement",
6465
+ "type": {
6466
+ "text": "'top' | 'bottom'"
6467
+ },
6468
+ "default": "'top'",
6469
+ "description": "Determines the placement of the contents of the flipcard.",
6470
+ "fieldName": "placement"
6471
+ },
6472
+ {
6473
+ "name": "front-variant",
6474
+ "type": {
6475
+ "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
6476
+ },
6477
+ "default": "'primary'",
6478
+ "description": "Determines the variant of the front face of the flipcard.",
6479
+ "fieldName": "frontVariant"
6480
+ },
6481
+ {
6482
+ "name": "back-variant",
6483
+ "type": {
6484
+ "text": "'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
6485
+ },
6486
+ "default": "'primary'",
6487
+ "description": "Determines the variant of the back face of the flipcard.",
6488
+ "fieldName": "backVariant"
6249
6489
  },
6250
6490
  {
6251
6491
  "name": "dir",
@@ -6276,11 +6516,15 @@
6276
6516
  "name": "SolidElement",
6277
6517
  "module": "/src/internal/solid-element"
6278
6518
  },
6279
- "summary": "Header",
6280
- "documentation": "https://solid.union-investment.com/[storybook-link]/header",
6519
+ "summary": "Flipcard allows for the addition of content/information on both \"sides\" of the card, through means of a flip animation. Used to add dynamism and interactivity to a page.",
6520
+ "documentation": "https://solid.union-investment.com/[storybook-link]/flipcard",
6281
6521
  "status": "stable",
6282
- "since": "1.25.0",
6283
- "tagName": "sd-header",
6522
+ "since": "3.8.0",
6523
+ "dependencies": [
6524
+ "sd-button",
6525
+ "sd-icon"
6526
+ ],
6527
+ "tagName": "sd-flipcard",
6284
6528
  "customElement": true
6285
6529
  }
6286
6530
  ],
@@ -6289,78 +6533,241 @@
6289
6533
  "kind": "js",
6290
6534
  "name": "default",
6291
6535
  "declaration": {
6292
- "name": "SdHeader",
6293
- "module": "components/header/header.js"
6536
+ "name": "SdFlipcard",
6537
+ "module": "components/flipcard/flipcard.js"
6294
6538
  }
6295
6539
  },
6296
6540
  {
6297
6541
  "kind": "custom-element-definition",
6298
- "name": "sd-header",
6542
+ "name": "sd-flipcard",
6299
6543
  "declaration": {
6300
- "name": "SdHeader",
6301
- "module": "components/header/header.js"
6544
+ "name": "SdFlipcard",
6545
+ "module": "components/flipcard/flipcard.js"
6302
6546
  }
6303
6547
  }
6304
6548
  ]
6305
6549
  },
6306
6550
  {
6307
6551
  "kind": "javascript-module",
6308
- "path": "components/icon/icon.js",
6552
+ "path": "components/header/header.js",
6309
6553
  "declarations": [
6310
6554
  {
6311
6555
  "kind": "class",
6312
6556
  "description": "",
6313
- "name": "SdIcon",
6314
- "members": [
6557
+ "name": "SdHeader",
6558
+ "cssProperties": [
6315
6559
  {
6316
- "kind": "field",
6317
- "name": "name",
6318
- "type": {
6319
- "text": "string | undefined"
6320
- },
6321
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
6322
- "attribute": "name",
6323
- "reflects": true
6560
+ "description": "width of the header content",
6561
+ "name": "--sd-header-inner-width"
6324
6562
  },
6325
6563
  {
6326
- "kind": "field",
6327
- "name": "src",
6328
- "type": {
6329
- "text": "string | undefined"
6330
- },
6331
- "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks. Only SVGs on a local or CORS-enabled endpoint are supported. If you're using more than one custom icon,\nit might make sense to register a custom icon library.",
6332
- "attribute": "src"
6564
+ "description": "max-width of the header content",
6565
+ "name": "--sd-header-inner-max-width"
6333
6566
  },
6334
6567
  {
6335
- "kind": "field",
6336
- "name": "label",
6337
- "type": {
6338
- "text": "string"
6339
- },
6340
- "default": "''",
6341
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
6342
- "attribute": "label"
6343
- },
6568
+ "description": "padding-left and padding-right of the header content",
6569
+ "name": "--sd-header-padding"
6570
+ }
6571
+ ],
6572
+ "cssParts": [
6344
6573
  {
6345
- "kind": "field",
6346
- "name": "library",
6347
- "type": {
6348
- "text": "string"
6349
- },
6350
- "default": "'default'",
6351
- "description": "The name of a registered custom icon library.",
6352
- "attribute": "library",
6353
- "reflects": true
6354
- },
6574
+ "description": "The container that wraps the header's content.",
6575
+ "name": "main"
6576
+ }
6577
+ ],
6578
+ "slots": [
6579
+ {
6580
+ "description": "The header's default content.",
6581
+ "name": ""
6582
+ }
6583
+ ],
6584
+ "members": [
6355
6585
  {
6356
6586
  "kind": "field",
6357
- "name": "color",
6587
+ "name": "fixed",
6358
6588
  "type": {
6359
- "text": "'currentColor' | 'primary' | 'white'"
6589
+ "text": "boolean"
6360
6590
  },
6361
- "default": "'currentColor'",
6362
- "description": "The color of the icon.\n\"current\" refers to currentColor and makes it possible to easily style the icon from outside without any CSS variables.",
6363
- "attribute": "color",
6591
+ "default": "false",
6592
+ "description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page, a shadow is shown underneath.",
6593
+ "attribute": "fixed",
6594
+ "reflects": true
6595
+ },
6596
+ {
6597
+ "kind": "field",
6598
+ "name": "dir",
6599
+ "type": {
6600
+ "text": "'ltr' | 'rtl' | 'auto'"
6601
+ },
6602
+ "description": "The element's directionality.",
6603
+ "attribute": "dir",
6604
+ "inheritedFrom": {
6605
+ "name": "SolidElement",
6606
+ "module": "internal/solid-element.js"
6607
+ }
6608
+ },
6609
+ {
6610
+ "kind": "field",
6611
+ "name": "lang",
6612
+ "type": {
6613
+ "text": "string"
6614
+ },
6615
+ "description": "The element's language.",
6616
+ "attribute": "lang",
6617
+ "inheritedFrom": {
6618
+ "name": "SolidElement",
6619
+ "module": "internal/solid-element.js"
6620
+ }
6621
+ },
6622
+ {
6623
+ "kind": "method",
6624
+ "name": "emit",
6625
+ "parameters": [
6626
+ {
6627
+ "name": "name",
6628
+ "type": {
6629
+ "text": "string"
6630
+ }
6631
+ },
6632
+ {
6633
+ "name": "options",
6634
+ "optional": true,
6635
+ "type": {
6636
+ "text": "CustomEventInit"
6637
+ }
6638
+ }
6639
+ ],
6640
+ "description": "Emits a custom event with more convenient defaults.",
6641
+ "inheritedFrom": {
6642
+ "name": "SolidElement",
6643
+ "module": "internal/solid-element.js"
6644
+ }
6645
+ }
6646
+ ],
6647
+ "attributes": [
6648
+ {
6649
+ "name": "fixed",
6650
+ "type": {
6651
+ "text": "boolean"
6652
+ },
6653
+ "default": "false",
6654
+ "description": "Determines whether the header is fixed or not. If the header is fixed at the top of the page, a shadow is shown underneath.",
6655
+ "fieldName": "fixed"
6656
+ },
6657
+ {
6658
+ "name": "dir",
6659
+ "type": {
6660
+ "text": "'ltr' | 'rtl' | 'auto'"
6661
+ },
6662
+ "description": "The element's directionality.",
6663
+ "fieldName": "dir",
6664
+ "inheritedFrom": {
6665
+ "name": "SolidElement",
6666
+ "module": "src/internal/solid-element.ts"
6667
+ }
6668
+ },
6669
+ {
6670
+ "name": "lang",
6671
+ "type": {
6672
+ "text": "string"
6673
+ },
6674
+ "description": "The element's language.",
6675
+ "fieldName": "lang",
6676
+ "inheritedFrom": {
6677
+ "name": "SolidElement",
6678
+ "module": "src/internal/solid-element.ts"
6679
+ }
6680
+ }
6681
+ ],
6682
+ "superclass": {
6683
+ "name": "SolidElement",
6684
+ "module": "/src/internal/solid-element"
6685
+ },
6686
+ "summary": "Header",
6687
+ "documentation": "https://solid.union-investment.com/[storybook-link]/header",
6688
+ "status": "stable",
6689
+ "since": "1.25.0",
6690
+ "tagName": "sd-header",
6691
+ "customElement": true
6692
+ }
6693
+ ],
6694
+ "exports": [
6695
+ {
6696
+ "kind": "js",
6697
+ "name": "default",
6698
+ "declaration": {
6699
+ "name": "SdHeader",
6700
+ "module": "components/header/header.js"
6701
+ }
6702
+ },
6703
+ {
6704
+ "kind": "custom-element-definition",
6705
+ "name": "sd-header",
6706
+ "declaration": {
6707
+ "name": "SdHeader",
6708
+ "module": "components/header/header.js"
6709
+ }
6710
+ }
6711
+ ]
6712
+ },
6713
+ {
6714
+ "kind": "javascript-module",
6715
+ "path": "components/icon/icon.js",
6716
+ "declarations": [
6717
+ {
6718
+ "kind": "class",
6719
+ "description": "",
6720
+ "name": "SdIcon",
6721
+ "members": [
6722
+ {
6723
+ "kind": "field",
6724
+ "name": "name",
6725
+ "type": {
6726
+ "text": "string | undefined"
6727
+ },
6728
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
6729
+ "attribute": "name",
6730
+ "reflects": true
6731
+ },
6732
+ {
6733
+ "kind": "field",
6734
+ "name": "src",
6735
+ "type": {
6736
+ "text": "string | undefined"
6737
+ },
6738
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks. Only SVGs on a local or CORS-enabled endpoint are supported. If you're using more than one custom icon,\nit might make sense to register a custom icon library.",
6739
+ "attribute": "src"
6740
+ },
6741
+ {
6742
+ "kind": "field",
6743
+ "name": "label",
6744
+ "type": {
6745
+ "text": "string"
6746
+ },
6747
+ "default": "''",
6748
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
6749
+ "attribute": "label"
6750
+ },
6751
+ {
6752
+ "kind": "field",
6753
+ "name": "library",
6754
+ "type": {
6755
+ "text": "string"
6756
+ },
6757
+ "default": "'default'",
6758
+ "description": "The name of a registered custom icon library.",
6759
+ "attribute": "library",
6760
+ "reflects": true
6761
+ },
6762
+ {
6763
+ "kind": "field",
6764
+ "name": "color",
6765
+ "type": {
6766
+ "text": "'currentColor' | 'primary' | 'white'"
6767
+ },
6768
+ "default": "'currentColor'",
6769
+ "description": "The color of the icon.\n\"current\" refers to currentColor and makes it possible to easily style the icon from outside without any CSS variables.",
6770
+ "attribute": "color",
6364
6771
  "reflects": true
6365
6772
  },
6366
6773
  {
@@ -13859,413 +14266,6 @@
13859
14266
  }
13860
14267
  ]
13861
14268
  },
13862
- {
13863
- "kind": "javascript-module",
13864
- "path": "components/dropdown/dropdown.js",
13865
- "declarations": [
13866
- {
13867
- "kind": "class",
13868
- "description": "",
13869
- "name": "SdDropdown",
13870
- "cssParts": [
13871
- {
13872
- "description": "The component's base wrapper.",
13873
- "name": "base"
13874
- },
13875
- {
13876
- "description": "The container that wraps the trigger.",
13877
- "name": "trigger"
13878
- },
13879
- {
13880
- "description": "The panel that gets shown when the dropdown is open.",
13881
- "name": "panel"
13882
- }
13883
- ],
13884
- "slots": [
13885
- {
13886
- "description": "The dropdown's main content.",
13887
- "name": ""
13888
- },
13889
- {
13890
- "description": "The dropdown's trigger, usually a `<sd-button>` element.",
13891
- "name": "trigger"
13892
- }
13893
- ],
13894
- "members": [
13895
- {
13896
- "kind": "field",
13897
- "name": "popup",
13898
- "type": {
13899
- "text": "SdPopup"
13900
- }
13901
- },
13902
- {
13903
- "kind": "field",
13904
- "name": "localize",
13905
- "privacy": "public",
13906
- "default": "new LocalizeController(this)"
13907
- },
13908
- {
13909
- "kind": "field",
13910
- "name": "open",
13911
- "type": {
13912
- "text": "boolean"
13913
- },
13914
- "default": "false",
13915
- "description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
13916
- "attribute": "open",
13917
- "reflects": true
13918
- },
13919
- {
13920
- "kind": "field",
13921
- "name": "rounded",
13922
- "type": {
13923
- "text": "boolean"
13924
- },
13925
- "default": "false",
13926
- "description": "Indicates whether or not the dropdown should be styled with rounded corners.",
13927
- "attribute": "rounded",
13928
- "reflects": true
13929
- },
13930
- {
13931
- "kind": "field",
13932
- "name": "placement",
13933
- "type": {
13934
- "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
13935
- },
13936
- "default": "'bottom-start'",
13937
- "description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
13938
- "attribute": "placement",
13939
- "reflects": true
13940
- },
13941
- {
13942
- "kind": "field",
13943
- "name": "disabled",
13944
- "type": {
13945
- "text": "boolean"
13946
- },
13947
- "default": "false",
13948
- "description": "Disables the dropdown so the panel will not open.",
13949
- "attribute": "disabled",
13950
- "reflects": true
13951
- },
13952
- {
13953
- "kind": "field",
13954
- "name": "stayOpenOnSelect",
13955
- "type": {
13956
- "text": "boolean"
13957
- },
13958
- "default": "false",
13959
- "description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
13960
- "attribute": "stay-open-on-select",
13961
- "reflects": true
13962
- },
13963
- {
13964
- "kind": "field",
13965
- "name": "distance",
13966
- "type": {
13967
- "text": "number"
13968
- },
13969
- "default": "0",
13970
- "description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
13971
- "attribute": "distance"
13972
- },
13973
- {
13974
- "kind": "field",
13975
- "name": "skidding",
13976
- "type": {
13977
- "text": "number"
13978
- },
13979
- "default": "0",
13980
- "description": "The distance in pixels from which to offset the panel along its trigger.",
13981
- "attribute": "skidding"
13982
- },
13983
- {
13984
- "kind": "field",
13985
- "name": "noAutoSize",
13986
- "type": {
13987
- "text": "boolean"
13988
- },
13989
- "default": "false",
13990
- "description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
13991
- "attribute": "no-auto-size",
13992
- "reflects": true
13993
- },
13994
- {
13995
- "kind": "field",
13996
- "name": "noFlip",
13997
- "type": {
13998
- "text": "boolean"
13999
- },
14000
- "default": "false",
14001
- "description": "When set to true, the placement of the dropdown will not flip to the opposite site to keep it in view.",
14002
- "attribute": "no-flip",
14003
- "reflects": true
14004
- },
14005
- {
14006
- "kind": "field",
14007
- "name": "hoist",
14008
- "type": {
14009
- "text": "boolean"
14010
- },
14011
- "default": "false",
14012
- "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
14013
- "attribute": "hoist"
14014
- },
14015
- {
14016
- "kind": "method",
14017
- "name": "getAccessibleTrigger",
14018
- "return": {
14019
- "type": {
14020
- "text": "HTMLElement | null"
14021
- }
14022
- },
14023
- "description": "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.\""
14024
- },
14025
- {
14026
- "kind": "method",
14027
- "name": "show",
14028
- "description": "Shows the dropdown panel."
14029
- },
14030
- {
14031
- "kind": "method",
14032
- "name": "hide",
14033
- "description": "Hides the dropdown panel"
14034
- },
14035
- {
14036
- "kind": "method",
14037
- "name": "reposition",
14038
- "description": "Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated."
14039
- },
14040
- {
14041
- "kind": "field",
14042
- "name": "dir",
14043
- "type": {
14044
- "text": "'ltr' | 'rtl' | 'auto'"
14045
- },
14046
- "description": "The element's directionality.",
14047
- "attribute": "dir",
14048
- "inheritedFrom": {
14049
- "name": "SolidElement",
14050
- "module": "internal/solid-element.js"
14051
- }
14052
- },
14053
- {
14054
- "kind": "field",
14055
- "name": "lang",
14056
- "type": {
14057
- "text": "string"
14058
- },
14059
- "description": "The element's language.",
14060
- "attribute": "lang",
14061
- "inheritedFrom": {
14062
- "name": "SolidElement",
14063
- "module": "internal/solid-element.js"
14064
- }
14065
- },
14066
- {
14067
- "kind": "method",
14068
- "name": "emit",
14069
- "parameters": [
14070
- {
14071
- "name": "name",
14072
- "type": {
14073
- "text": "string"
14074
- }
14075
- },
14076
- {
14077
- "name": "options",
14078
- "optional": true,
14079
- "type": {
14080
- "text": "CustomEventInit"
14081
- }
14082
- }
14083
- ],
14084
- "description": "Emits a custom event with more convenient defaults.",
14085
- "inheritedFrom": {
14086
- "name": "SolidElement",
14087
- "module": "internal/solid-element.js"
14088
- }
14089
- }
14090
- ],
14091
- "events": [
14092
- {
14093
- "description": "Emitted when the dropdown opens.",
14094
- "name": "sd-show"
14095
- },
14096
- {
14097
- "description": "Emitted after the dropdown opens and all animations are complete.",
14098
- "name": "sd-after-show"
14099
- },
14100
- {
14101
- "description": "Emitted when the dropdown closes.",
14102
- "name": "sd-hide"
14103
- },
14104
- {
14105
- "description": "Emitted after the dropdown closes and all animations are complete.",
14106
- "name": "sd-after-hide"
14107
- }
14108
- ],
14109
- "attributes": [
14110
- {
14111
- "name": "open",
14112
- "type": {
14113
- "text": "boolean"
14114
- },
14115
- "default": "false",
14116
- "description": "Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.",
14117
- "fieldName": "open"
14118
- },
14119
- {
14120
- "name": "rounded",
14121
- "type": {
14122
- "text": "boolean"
14123
- },
14124
- "default": "false",
14125
- "description": "Indicates whether or not the dropdown should be styled with rounded corners.",
14126
- "fieldName": "rounded"
14127
- },
14128
- {
14129
- "name": "placement",
14130
- "type": {
14131
- "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
14132
- },
14133
- "default": "'bottom-start'",
14134
- "description": "The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\ninside of the viewport.",
14135
- "fieldName": "placement"
14136
- },
14137
- {
14138
- "name": "disabled",
14139
- "type": {
14140
- "text": "boolean"
14141
- },
14142
- "default": "false",
14143
- "description": "Disables the dropdown so the panel will not open.",
14144
- "fieldName": "disabled"
14145
- },
14146
- {
14147
- "name": "stay-open-on-select",
14148
- "type": {
14149
- "text": "boolean"
14150
- },
14151
- "default": "false",
14152
- "description": "By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\ndropdowns that allow for multiple interactions.",
14153
- "fieldName": "stayOpenOnSelect"
14154
- },
14155
- {
14156
- "name": "distance",
14157
- "type": {
14158
- "text": "number"
14159
- },
14160
- "default": "0",
14161
- "description": "The distance in pixels from which to offset the panel away from its trigger. This defaults to `0` for `rounded=false` and to a minimum of `1` for `rounded=true`.",
14162
- "fieldName": "distance"
14163
- },
14164
- {
14165
- "name": "skidding",
14166
- "type": {
14167
- "text": "number"
14168
- },
14169
- "default": "0",
14170
- "description": "The distance in pixels from which to offset the panel along its trigger.",
14171
- "fieldName": "skidding"
14172
- },
14173
- {
14174
- "name": "no-auto-size",
14175
- "type": {
14176
- "text": "boolean"
14177
- },
14178
- "default": "false",
14179
- "description": "Indicates whether or not the dropdown should automatically resize its content's width/height regarding the available space on screen.",
14180
- "fieldName": "noAutoSize"
14181
- },
14182
- {
14183
- "name": "no-flip",
14184
- "type": {
14185
- "text": "boolean"
14186
- },
14187
- "default": "false",
14188
- "description": "When set to true, the placement of the dropdown will not flip to the opposite site to keep it in view.",
14189
- "fieldName": "noFlip"
14190
- },
14191
- {
14192
- "name": "hoist",
14193
- "type": {
14194
- "text": "boolean"
14195
- },
14196
- "default": "false",
14197
- "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
14198
- "fieldName": "hoist"
14199
- },
14200
- {
14201
- "name": "dir",
14202
- "type": {
14203
- "text": "'ltr' | 'rtl' | 'auto'"
14204
- },
14205
- "description": "The element's directionality.",
14206
- "fieldName": "dir",
14207
- "inheritedFrom": {
14208
- "name": "SolidElement",
14209
- "module": "src/internal/solid-element.ts"
14210
- }
14211
- },
14212
- {
14213
- "name": "lang",
14214
- "type": {
14215
- "text": "string"
14216
- },
14217
- "description": "The element's language.",
14218
- "fieldName": "lang",
14219
- "inheritedFrom": {
14220
- "name": "SolidElement",
14221
- "module": "src/internal/solid-element.ts"
14222
- }
14223
- }
14224
- ],
14225
- "superclass": {
14226
- "name": "SolidElement",
14227
- "module": "/src/internal/solid-element"
14228
- },
14229
- "summary": "Dropdowns expose additional content that \"drops down\" in a panel.",
14230
- "documentation": "https://solid.union-investment.com/[storybook-link]/dropdown",
14231
- "status": "stable",
14232
- "since": "1.8",
14233
- "dependencies": [
14234
- "sd-popup"
14235
- ],
14236
- "animations": [
14237
- {
14238
- "name": "dropdown.show",
14239
- "description": "The animation to use when showing the dropdown."
14240
- },
14241
- {
14242
- "name": "dropdown.hide",
14243
- "description": "The animation to use when hiding the dropdown."
14244
- }
14245
- ],
14246
- "tagName": "sd-dropdown",
14247
- "customElement": true
14248
- }
14249
- ],
14250
- "exports": [
14251
- {
14252
- "kind": "js",
14253
- "name": "default",
14254
- "declaration": {
14255
- "name": "SdDropdown",
14256
- "module": "components/dropdown/dropdown.js"
14257
- }
14258
- },
14259
- {
14260
- "kind": "custom-element-definition",
14261
- "name": "sd-dropdown",
14262
- "declaration": {
14263
- "name": "SdDropdown",
14264
- "module": "components/dropdown/dropdown.js"
14265
- }
14266
- }
14267
- ]
14268
- },
14269
14269
  {
14270
14270
  "kind": "javascript-module",
14271
14271
  "path": "components/tab-group/tab-group.js",
@@ -16708,7 +16708,7 @@
16708
16708
  "package": {
16709
16709
  "name": "@solid-design-system/components",
16710
16710
  "description": "Solid Design System: Components",
16711
- "version": "4.0.6",
16711
+ "version": "4.0.7",
16712
16712
  "author": "Union Investment",
16713
16713
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
16714
16714
  "license": "MIT"