@solid-design-system/components 4.0.8 → 4.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. package/cdn/chunks/{chunk.B6I2NZMP.js → chunk.DEX5DZMJ.js} +4 -4
  2. package/cdn/chunks/chunk.GBU4IOUX.js +10 -0
  3. package/{cdn-versioned/chunks/chunk.2OLKGLBS.js → cdn/chunks/chunk.IR3YQSPY.js} +1 -1
  4. package/cdn/chunks/chunk.NWGX5EVO.js +1 -0
  5. package/cdn/chunks/chunk.SRRF6RC4.js +1 -0
  6. package/cdn/chunks/chunk.V3VO4PD4.js +1 -0
  7. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  8. package/cdn/components/input/input.js +1 -1
  9. package/cdn/components/map-marker/map-marker.js +1 -1
  10. package/cdn/components/radio-group/radio-group.js +1 -1
  11. package/cdn/components/select/select.js +1 -1
  12. package/cdn/components/textarea/textarea.js +1 -1
  13. package/cdn/custom-elements.json +907 -907
  14. package/cdn/solid-components.bundle.js +20 -20
  15. package/cdn/solid-components.iife.js +20 -20
  16. package/cdn/solid-components.js +1 -1
  17. package/cdn/vscode.html-custom-data.json +96 -96
  18. package/cdn/web-types.json +231 -231
  19. package/cdn-versioned/_components/menu/menu.js +1 -1
  20. package/cdn-versioned/_components/menu/menu.styles.js +1 -1
  21. package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
  22. package/cdn-versioned/chunks/chunk.25ETUACJ.js +1 -1
  23. package/cdn-versioned/chunks/chunk.27EYM5XP.js +4 -4
  24. package/cdn-versioned/chunks/chunk.2H5XA4I4.js +1 -1
  25. package/cdn-versioned/chunks/chunk.3H546YPQ.js +1 -1
  26. package/cdn-versioned/chunks/chunk.4EXZ2RBI.js +1 -1
  27. package/cdn-versioned/chunks/chunk.4QUXWXQ7.js +1 -1
  28. package/cdn-versioned/chunks/chunk.5CIQRJCC.js +1 -1
  29. package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
  30. package/cdn-versioned/chunks/chunk.7ZYFSBMR.js +1 -1
  31. package/cdn-versioned/chunks/chunk.A772RQJV.js +1 -1
  32. package/cdn-versioned/chunks/chunk.ANH5V2SE.js +2 -2
  33. package/cdn-versioned/chunks/chunk.AS7L23H2.js +2 -2
  34. package/cdn-versioned/chunks/chunk.B3H3PR6Y.js +1 -1
  35. package/cdn-versioned/chunks/chunk.B5YKUN6P.js +1 -1
  36. package/cdn-versioned/chunks/chunk.BAO3UVTY.js +1 -1
  37. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  38. package/cdn-versioned/chunks/chunk.D4RLVVDK.js +1 -1
  39. package/cdn-versioned/chunks/chunk.DEX5DZMJ.js +11 -0
  40. package/cdn-versioned/chunks/chunk.DUM4IQT6.js +1 -1
  41. package/cdn-versioned/chunks/chunk.EDD4HHHP.js +1 -1
  42. package/cdn-versioned/chunks/chunk.EJKLI2Q4.js +1 -1
  43. package/cdn-versioned/chunks/chunk.EP7OA5FU.js +1 -1
  44. package/cdn-versioned/chunks/chunk.F4GGY7NW.js +1 -1
  45. package/cdn-versioned/chunks/chunk.GBU4IOUX.js +10 -0
  46. package/cdn-versioned/chunks/chunk.GNYJN5QM.js +3 -3
  47. package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +1 -1
  48. package/cdn-versioned/chunks/chunk.GX6NOXTL.js +1 -1
  49. package/{cdn/chunks/chunk.2OLKGLBS.js → cdn-versioned/chunks/chunk.IR3YQSPY.js} +1 -1
  50. package/cdn-versioned/chunks/chunk.JUGW2WJP.js +1 -1
  51. package/cdn-versioned/chunks/chunk.LPXG67S4.js +1 -1
  52. package/cdn-versioned/chunks/chunk.LQZOBUFT.js +1 -1
  53. package/cdn-versioned/chunks/chunk.MOQCXANY.js +2 -2
  54. package/cdn-versioned/chunks/chunk.N5OYRZY6.js +1 -1
  55. package/cdn-versioned/chunks/chunk.NWGX5EVO.js +1 -0
  56. package/cdn-versioned/chunks/chunk.OCT5SOOS.js +1 -1
  57. package/cdn-versioned/chunks/chunk.PPMFZ77L.js +1 -1
  58. package/cdn-versioned/chunks/chunk.QOQO2KP5.js +1 -1
  59. package/cdn-versioned/chunks/chunk.QV7OIYLT.js +1 -1
  60. package/cdn-versioned/chunks/chunk.QWPCVRMH.js +1 -1
  61. package/cdn-versioned/chunks/chunk.SJ2JO4KS.js +1 -1
  62. package/cdn-versioned/chunks/chunk.SRRF6RC4.js +1 -0
  63. package/cdn-versioned/chunks/chunk.SWUGEKNC.js +1 -1
  64. package/cdn-versioned/chunks/chunk.TR52VDPR.js +1 -1
  65. package/cdn-versioned/chunks/chunk.U5SOEJO4.js +1 -1
  66. package/cdn-versioned/chunks/chunk.V3VO4PD4.js +1 -0
  67. package/cdn-versioned/chunks/chunk.V3WIIJLB.js +1 -1
  68. package/cdn-versioned/chunks/chunk.VYV6SKST.js +1 -1
  69. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  70. package/cdn-versioned/chunks/chunk.WADGCWRK.js +1 -1
  71. package/cdn-versioned/chunks/chunk.WNV6OGRG.js +1 -1
  72. package/cdn-versioned/chunks/chunk.WVYVGVBF.js +1 -1
  73. package/cdn-versioned/chunks/chunk.Y67MAFTR.js +1 -1
  74. package/cdn-versioned/chunks/chunk.ZWWTEE7R.js +1 -1
  75. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  76. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  77. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  78. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  79. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  80. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  81. package/cdn-versioned/components/button/button.d.ts +1 -1
  82. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  83. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  84. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  85. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  86. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  87. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  88. package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
  89. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  90. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  91. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  92. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  93. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  94. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  95. package/cdn-versioned/components/header/header.d.ts +1 -1
  96. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  97. package/cdn-versioned/components/include/include.d.ts +1 -1
  98. package/cdn-versioned/components/input/input.d.ts +1 -1
  99. package/cdn-versioned/components/input/input.js +1 -1
  100. package/cdn-versioned/components/link/link.d.ts +1 -1
  101. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  102. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  103. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  104. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  105. package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
  106. package/cdn-versioned/components/option/option.d.ts +1 -1
  107. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  108. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  109. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  110. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  111. package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
  112. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  113. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  114. package/cdn-versioned/components/select/select.d.ts +4 -4
  115. package/cdn-versioned/components/select/select.js +1 -1
  116. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  117. package/cdn-versioned/components/step/step.d.ts +1 -1
  118. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  119. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  120. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  121. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  122. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  123. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  124. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  125. package/cdn-versioned/components/textarea/textarea.js +1 -1
  126. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  127. package/cdn-versioned/components/video/video.d.ts +1 -1
  128. package/cdn-versioned/custom-elements.json +1101 -1101
  129. package/cdn-versioned/internal/form.js +3 -3
  130. package/cdn-versioned/solid-components.bundle.js +22 -22
  131. package/cdn-versioned/solid-components.css +2 -2
  132. package/cdn-versioned/solid-components.iife.js +22 -22
  133. package/cdn-versioned/solid-components.js +1 -1
  134. package/cdn-versioned/vscode.html-custom-data.json +173 -173
  135. package/cdn-versioned/web-types.json +364 -364
  136. package/dist/chunks/{chunk.BJIZPRT4.js → chunk.4SBQOWLU.js} +2 -1
  137. package/dist/chunks/{chunk.L32THKSR.js → chunk.5FOKRIWL.js} +4 -2
  138. package/dist/chunks/{chunk.UTSM3BM3.js → chunk.D3I3AZEX.js} +6 -1
  139. package/dist/chunks/{chunk.HP2TVELZ.js → chunk.I5ZJV32M.js} +3 -3
  140. package/dist/chunks/{chunk.Y7254YJM.js → chunk.RSPK767T.js} +4 -2
  141. package/dist/chunks/{chunk.XQNY7RZD.js → chunk.USMGTQQG.js} +4 -2
  142. package/dist/components/checkbox-group/checkbox-group.js +1 -1
  143. package/dist/components/input/input.js +1 -1
  144. package/dist/components/map-marker/map-marker.js +1 -1
  145. package/dist/components/radio-group/radio-group.js +1 -1
  146. package/dist/components/select/select.js +1 -1
  147. package/dist/components/textarea/textarea.js +1 -1
  148. package/dist/custom-elements.json +907 -907
  149. package/dist/solid-components.js +6 -6
  150. package/dist/vscode.html-custom-data.json +96 -96
  151. package/dist/web-types.json +231 -231
  152. package/dist-versioned/_components/menu/menu.js +1 -1
  153. package/dist-versioned/_components/menu/menu.styles.js +1 -1
  154. package/dist-versioned/_components/menu-item/menu-item.js +2 -2
  155. package/dist-versioned/chunks/chunk.274HT4QS.js +3 -3
  156. package/dist-versioned/chunks/chunk.2FXKQI26.js +2 -2
  157. package/dist-versioned/chunks/chunk.4MHQ63NW.js +26 -26
  158. package/dist-versioned/chunks/chunk.4Q7KKH5Z.js +2 -2
  159. package/dist-versioned/chunks/{chunk.BJIZPRT4.js → chunk.4SBQOWLU.js} +7 -6
  160. package/dist-versioned/chunks/{chunk.L32THKSR.js → chunk.5FOKRIWL.js} +7 -5
  161. package/dist-versioned/chunks/chunk.674S2Z6M.js +1 -1
  162. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  163. package/dist-versioned/chunks/chunk.7E7C4YEQ.js +3 -3
  164. package/dist-versioned/chunks/chunk.A5S7GZJI.js +3 -3
  165. package/dist-versioned/chunks/chunk.A625ONY2.js +2 -2
  166. package/dist-versioned/chunks/chunk.ACST636J.js +1 -1
  167. package/dist-versioned/chunks/chunk.AJ7V76EG.js +1 -1
  168. package/dist-versioned/chunks/chunk.AKF4KQEW.js +2 -2
  169. package/dist-versioned/chunks/chunk.AQZSZKBJ.js +13 -13
  170. package/dist-versioned/chunks/chunk.CCQCEONR.js +2 -2
  171. package/dist-versioned/chunks/chunk.D26WCHLT.js +6 -6
  172. package/dist-versioned/chunks/{chunk.UTSM3BM3.js → chunk.D3I3AZEX.js} +19 -14
  173. package/dist-versioned/chunks/chunk.DPY2TYIS.js +9 -9
  174. package/dist-versioned/chunks/chunk.DU3O42BH.js +2 -2
  175. package/dist-versioned/chunks/chunk.EH2FHVPN.js +3 -3
  176. package/dist-versioned/chunks/chunk.F63YFNZS.js +5 -5
  177. package/dist-versioned/chunks/chunk.FFKZQXJ2.js +2 -2
  178. package/dist-versioned/chunks/chunk.FTXUZOXH.js +2 -2
  179. package/dist-versioned/chunks/chunk.H5ARRBLT.js +2 -2
  180. package/dist-versioned/chunks/chunk.H5BDO4H5.js +11 -11
  181. package/dist-versioned/chunks/chunk.HFHUY7YD.js +1 -1
  182. package/dist-versioned/chunks/{chunk.HP2TVELZ.js → chunk.I5ZJV32M.js} +4 -4
  183. package/dist-versioned/chunks/chunk.IN7RNHBF.js +1 -1
  184. package/dist-versioned/chunks/chunk.JIWTAZZS.js +5 -5
  185. package/dist-versioned/chunks/chunk.JZB2D4IZ.js +1 -1
  186. package/dist-versioned/chunks/chunk.K3JCC7KV.js +5 -5
  187. package/dist-versioned/chunks/chunk.KH4M6HPE.js +2 -2
  188. package/dist-versioned/chunks/chunk.KPA6BEFU.js +5 -5
  189. package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
  190. package/dist-versioned/chunks/chunk.LZA2QYUU.js +1 -1
  191. package/dist-versioned/chunks/chunk.NUIZDE7R.js +1 -1
  192. package/dist-versioned/chunks/chunk.OBWOMZNU.js +2 -2
  193. package/dist-versioned/chunks/chunk.OMBVLHXJ.js +1 -1
  194. package/dist-versioned/chunks/chunk.OR7JTZLE.js +2 -2
  195. package/dist-versioned/chunks/chunk.OZU372TI.js +2 -2
  196. package/dist-versioned/chunks/chunk.PRXP5CUW.js +5 -5
  197. package/dist-versioned/chunks/chunk.PT7MDSWH.js +1 -1
  198. package/dist-versioned/chunks/chunk.QTFIZJGB.js +2 -2
  199. package/dist-versioned/chunks/chunk.QUYKT56M.js +1 -1
  200. package/dist-versioned/chunks/{chunk.Y7254YJM.js → chunk.RSPK767T.js} +6 -4
  201. package/dist-versioned/chunks/chunk.SNCHAQYL.js +4 -4
  202. package/dist-versioned/chunks/chunk.TGJ2SBPH.js +6 -6
  203. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  204. package/dist-versioned/chunks/{chunk.XQNY7RZD.js → chunk.USMGTQQG.js} +33 -31
  205. package/dist-versioned/chunks/chunk.VTUCPGYW.js +1 -1
  206. package/dist-versioned/chunks/chunk.X2PI2F35.js +1 -1
  207. package/dist-versioned/chunks/chunk.XL2PSGM5.js +2 -2
  208. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  209. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  210. package/dist-versioned/components/animation/animation.d.ts +1 -1
  211. package/dist-versioned/components/audio/audio.d.ts +1 -1
  212. package/dist-versioned/components/badge/badge.d.ts +1 -1
  213. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  214. package/dist-versioned/components/button/button.d.ts +1 -1
  215. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  216. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  217. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  218. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  219. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  220. package/dist-versioned/components/checkbox-group/checkbox-group.js +1 -1
  221. package/dist-versioned/components/combobox/combobox.d.ts +4 -4
  222. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  223. package/dist-versioned/components/divider/divider.d.ts +1 -1
  224. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  225. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  226. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  227. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  228. package/dist-versioned/components/header/header.d.ts +1 -1
  229. package/dist-versioned/components/icon/icon.d.ts +1 -1
  230. package/dist-versioned/components/include/include.d.ts +1 -1
  231. package/dist-versioned/components/input/input.d.ts +1 -1
  232. package/dist-versioned/components/input/input.js +1 -1
  233. package/dist-versioned/components/link/link.d.ts +1 -1
  234. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  235. package/dist-versioned/components/map-marker/map-marker.js +1 -1
  236. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  237. package/dist-versioned/components/notification/notification.d.ts +1 -1
  238. package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
  239. package/dist-versioned/components/option/option.d.ts +1 -1
  240. package/dist-versioned/components/popup/popup.d.ts +1 -1
  241. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  242. package/dist-versioned/components/radio/radio.d.ts +1 -1
  243. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  244. package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
  245. package/dist-versioned/components/radio-group/radio-group.js +1 -1
  246. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  247. package/dist-versioned/components/select/select.d.ts +4 -4
  248. package/dist-versioned/components/select/select.js +1 -1
  249. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  250. package/dist-versioned/components/step/step.d.ts +1 -1
  251. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  252. package/dist-versioned/components/switch/switch.d.ts +1 -1
  253. package/dist-versioned/components/tab/tab.d.ts +1 -1
  254. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  255. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  256. package/dist-versioned/components/tag/tag.d.ts +1 -1
  257. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  258. package/dist-versioned/components/textarea/textarea.js +1 -1
  259. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  260. package/dist-versioned/components/video/video.d.ts +1 -1
  261. package/dist-versioned/custom-elements.json +1101 -1101
  262. package/dist-versioned/internal/form.js +3 -3
  263. package/dist-versioned/solid-components.css +2 -2
  264. package/dist-versioned/solid-components.js +6 -6
  265. package/dist-versioned/vscode.html-custom-data.json +173 -173
  266. package/dist-versioned/web-types.json +364 -364
  267. package/package.json +3 -3
  268. package/cdn/chunks/chunk.A63P52TG.js +0 -1
  269. package/cdn/chunks/chunk.QA3NVZY4.js +0 -1
  270. package/cdn/chunks/chunk.UCTR6UM6.js +0 -1
  271. package/cdn/chunks/chunk.WG3IQMLL.js +0 -10
  272. package/cdn-versioned/chunks/chunk.A63P52TG.js +0 -1
  273. package/cdn-versioned/chunks/chunk.B6I2NZMP.js +0 -11
  274. package/cdn-versioned/chunks/chunk.QA3NVZY4.js +0 -1
  275. package/cdn-versioned/chunks/chunk.UCTR6UM6.js +0 -1
  276. package/cdn-versioned/chunks/chunk.WG3IQMLL.js +0 -10
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@solid-design-system/components",
4
- "version": "4.0.8",
4
+ "version": "4.0.10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -6021,6 +6021,236 @@
6021
6021
  "events": []
6022
6022
  }
6023
6023
  },
6024
+ {
6025
+ "name": "sd-tooltip",
6026
+ "description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
6027
+ "doc-url": "",
6028
+ "attributes": [
6029
+ {
6030
+ "name": "size",
6031
+ "description": "Sets the size of the default trigger icon.",
6032
+ "value": { "type": "'lg' | 'sm'", "default": "'lg'" }
6033
+ },
6034
+ {
6035
+ "name": "content",
6036
+ "description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
6037
+ "value": { "type": "string", "default": "''" }
6038
+ },
6039
+ {
6040
+ "name": "placement",
6041
+ "description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
6042
+ "value": {
6043
+ "type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'",
6044
+ "default": "'top'"
6045
+ }
6046
+ },
6047
+ {
6048
+ "name": "disabled",
6049
+ "description": "Disables the tooltip so it won't show when triggered.",
6050
+ "value": { "type": "boolean", "default": "false" }
6051
+ },
6052
+ {
6053
+ "name": "open",
6054
+ "description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
6055
+ "value": { "type": "boolean", "default": "false" }
6056
+ },
6057
+ {
6058
+ "name": "trigger",
6059
+ "description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
6060
+ "value": { "type": "string", "default": "'click focus'" }
6061
+ },
6062
+ {
6063
+ "name": "hoist",
6064
+ "description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
6065
+ "value": { "type": "boolean", "default": "false" }
6066
+ },
6067
+ {
6068
+ "name": "dir",
6069
+ "description": "The element's directionality.",
6070
+ "value": { "type": "'ltr' | 'rtl' | 'auto'" }
6071
+ },
6072
+ {
6073
+ "name": "lang",
6074
+ "description": "The element's language.",
6075
+ "value": { "type": "string" }
6076
+ }
6077
+ ],
6078
+ "slots": [
6079
+ {
6080
+ "name": "",
6081
+ "description": "The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored."
6082
+ },
6083
+ {
6084
+ "name": "anchor",
6085
+ "description": "Slot to change the default trigger icon. The default icon is an info circle."
6086
+ },
6087
+ {
6088
+ "name": "content",
6089
+ "description": "The content to render in the tooltip. Alternatively, you can use the `content` attribute."
6090
+ }
6091
+ ],
6092
+ "events": [
6093
+ {
6094
+ "name": "sd-show",
6095
+ "description": "Emitted when the tooltip begins to show."
6096
+ },
6097
+ {
6098
+ "name": "sd-after-show",
6099
+ "description": "Emitted after the tooltip has shown and all animations are complete."
6100
+ },
6101
+ {
6102
+ "name": "sd-hide",
6103
+ "description": "Emitted when the tooltip begins to hide."
6104
+ },
6105
+ {
6106
+ "name": "sd-after-hide",
6107
+ "description": "Emitted after the tooltip has hidden and all animations are complete."
6108
+ }
6109
+ ],
6110
+ "js": {
6111
+ "properties": [
6112
+ { "name": "localize" },
6113
+ { "name": "popup", "type": "SdPopup" },
6114
+ {
6115
+ "name": "size",
6116
+ "description": "Sets the size of the default trigger icon.",
6117
+ "type": "'lg' | 'sm'"
6118
+ },
6119
+ {
6120
+ "name": "content",
6121
+ "description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
6122
+ "type": "string"
6123
+ },
6124
+ {
6125
+ "name": "placement",
6126
+ "description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
6127
+ "type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
6128
+ },
6129
+ {
6130
+ "name": "disabled",
6131
+ "description": "Disables the tooltip so it won't show when triggered.",
6132
+ "type": "boolean"
6133
+ },
6134
+ {
6135
+ "name": "open",
6136
+ "description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
6137
+ "type": "boolean"
6138
+ },
6139
+ {
6140
+ "name": "trigger",
6141
+ "description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
6142
+ "type": "string"
6143
+ },
6144
+ {
6145
+ "name": "hoist",
6146
+ "description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
6147
+ "type": "boolean"
6148
+ },
6149
+ {
6150
+ "name": "dir",
6151
+ "description": "The element's directionality.",
6152
+ "type": "'ltr' | 'rtl' | 'auto'"
6153
+ },
6154
+ {
6155
+ "name": "lang",
6156
+ "description": "The element's language.",
6157
+ "type": "string"
6158
+ }
6159
+ ],
6160
+ "events": [
6161
+ {
6162
+ "name": "sd-show",
6163
+ "description": "Emitted when the tooltip begins to show."
6164
+ },
6165
+ {
6166
+ "name": "sd-after-show",
6167
+ "description": "Emitted after the tooltip has shown and all animations are complete."
6168
+ },
6169
+ {
6170
+ "name": "sd-hide",
6171
+ "description": "Emitted when the tooltip begins to hide."
6172
+ },
6173
+ {
6174
+ "name": "sd-after-hide",
6175
+ "description": "Emitted after the tooltip has hidden and all animations are complete."
6176
+ }
6177
+ ]
6178
+ }
6179
+ },
6180
+ {
6181
+ "name": "sd-video",
6182
+ "description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
6183
+ "doc-url": "",
6184
+ "attributes": [
6185
+ {
6186
+ "name": "playing",
6187
+ "description": "Set to `true` to hide the play icon.",
6188
+ "value": { "type": "boolean", "default": "false" }
6189
+ },
6190
+ {
6191
+ "name": "isBelowBreakpoint",
6192
+ "description": "Reactive property to trigger breakpoint re-renders.",
6193
+ "value": { "type": "boolean", "default": "false" }
6194
+ },
6195
+ {
6196
+ "name": "dir",
6197
+ "description": "The element's directionality.",
6198
+ "value": { "type": "'ltr' | 'rtl' | 'auto'" }
6199
+ },
6200
+ {
6201
+ "name": "lang",
6202
+ "description": "The element's language.",
6203
+ "value": { "type": "string" }
6204
+ }
6205
+ ],
6206
+ "slots": [
6207
+ {
6208
+ "name": "",
6209
+ "description": "The default slot used to pass a video player element."
6210
+ },
6211
+ { "name": "play-icon", "description": "The video's play icon." },
6212
+ {
6213
+ "name": "poster",
6214
+ "description": "Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag."
6215
+ }
6216
+ ],
6217
+ "events": [
6218
+ {
6219
+ "name": "sd-play",
6220
+ "description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
6221
+ }
6222
+ ],
6223
+ "js": {
6224
+ "properties": [
6225
+ {
6226
+ "name": "playing",
6227
+ "description": "Set to `true` to hide the play icon.",
6228
+ "type": "boolean"
6229
+ },
6230
+ {
6231
+ "name": "isBelowBreakpoint",
6232
+ "description": "Reactive property to trigger breakpoint re-renders.",
6233
+ "type": "boolean"
6234
+ },
6235
+ {
6236
+ "name": "dir",
6237
+ "description": "The element's directionality.",
6238
+ "type": "'ltr' | 'rtl' | 'auto'"
6239
+ },
6240
+ {
6241
+ "name": "lang",
6242
+ "description": "The element's language.",
6243
+ "type": "string"
6244
+ }
6245
+ ],
6246
+ "events": [
6247
+ {
6248
+ "name": "sd-play",
6249
+ "description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
6250
+ }
6251
+ ]
6252
+ }
6253
+ },
6024
6254
  {
6025
6255
  "name": "sd-textarea",
6026
6256
  "description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
@@ -6346,236 +6576,6 @@
6346
6576
  }
6347
6577
  ]
6348
6578
  }
6349
- },
6350
- {
6351
- "name": "sd-tooltip",
6352
- "description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
6353
- "doc-url": "",
6354
- "attributes": [
6355
- {
6356
- "name": "size",
6357
- "description": "Sets the size of the default trigger icon.",
6358
- "value": { "type": "'lg' | 'sm'", "default": "'lg'" }
6359
- },
6360
- {
6361
- "name": "content",
6362
- "description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
6363
- "value": { "type": "string", "default": "''" }
6364
- },
6365
- {
6366
- "name": "placement",
6367
- "description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
6368
- "value": {
6369
- "type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'",
6370
- "default": "'top'"
6371
- }
6372
- },
6373
- {
6374
- "name": "disabled",
6375
- "description": "Disables the tooltip so it won't show when triggered.",
6376
- "value": { "type": "boolean", "default": "false" }
6377
- },
6378
- {
6379
- "name": "open",
6380
- "description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
6381
- "value": { "type": "boolean", "default": "false" }
6382
- },
6383
- {
6384
- "name": "trigger",
6385
- "description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
6386
- "value": { "type": "string", "default": "'click focus'" }
6387
- },
6388
- {
6389
- "name": "hoist",
6390
- "description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
6391
- "value": { "type": "boolean", "default": "false" }
6392
- },
6393
- {
6394
- "name": "dir",
6395
- "description": "The element's directionality.",
6396
- "value": { "type": "'ltr' | 'rtl' | 'auto'" }
6397
- },
6398
- {
6399
- "name": "lang",
6400
- "description": "The element's language.",
6401
- "value": { "type": "string" }
6402
- }
6403
- ],
6404
- "slots": [
6405
- {
6406
- "name": "",
6407
- "description": "The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored."
6408
- },
6409
- {
6410
- "name": "anchor",
6411
- "description": "Slot to change the default trigger icon. The default icon is an info circle."
6412
- },
6413
- {
6414
- "name": "content",
6415
- "description": "The content to render in the tooltip. Alternatively, you can use the `content` attribute."
6416
- }
6417
- ],
6418
- "events": [
6419
- {
6420
- "name": "sd-show",
6421
- "description": "Emitted when the tooltip begins to show."
6422
- },
6423
- {
6424
- "name": "sd-after-show",
6425
- "description": "Emitted after the tooltip has shown and all animations are complete."
6426
- },
6427
- {
6428
- "name": "sd-hide",
6429
- "description": "Emitted when the tooltip begins to hide."
6430
- },
6431
- {
6432
- "name": "sd-after-hide",
6433
- "description": "Emitted after the tooltip has hidden and all animations are complete."
6434
- }
6435
- ],
6436
- "js": {
6437
- "properties": [
6438
- { "name": "localize" },
6439
- { "name": "popup", "type": "SdPopup" },
6440
- {
6441
- "name": "size",
6442
- "description": "Sets the size of the default trigger icon.",
6443
- "type": "'lg' | 'sm'"
6444
- },
6445
- {
6446
- "name": "content",
6447
- "description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
6448
- "type": "string"
6449
- },
6450
- {
6451
- "name": "placement",
6452
- "description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
6453
- "type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
6454
- },
6455
- {
6456
- "name": "disabled",
6457
- "description": "Disables the tooltip so it won't show when triggered.",
6458
- "type": "boolean"
6459
- },
6460
- {
6461
- "name": "open",
6462
- "description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
6463
- "type": "boolean"
6464
- },
6465
- {
6466
- "name": "trigger",
6467
- "description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
6468
- "type": "string"
6469
- },
6470
- {
6471
- "name": "hoist",
6472
- "description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
6473
- "type": "boolean"
6474
- },
6475
- {
6476
- "name": "dir",
6477
- "description": "The element's directionality.",
6478
- "type": "'ltr' | 'rtl' | 'auto'"
6479
- },
6480
- {
6481
- "name": "lang",
6482
- "description": "The element's language.",
6483
- "type": "string"
6484
- }
6485
- ],
6486
- "events": [
6487
- {
6488
- "name": "sd-show",
6489
- "description": "Emitted when the tooltip begins to show."
6490
- },
6491
- {
6492
- "name": "sd-after-show",
6493
- "description": "Emitted after the tooltip has shown and all animations are complete."
6494
- },
6495
- {
6496
- "name": "sd-hide",
6497
- "description": "Emitted when the tooltip begins to hide."
6498
- },
6499
- {
6500
- "name": "sd-after-hide",
6501
- "description": "Emitted after the tooltip has hidden and all animations are complete."
6502
- }
6503
- ]
6504
- }
6505
- },
6506
- {
6507
- "name": "sd-video",
6508
- "description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
6509
- "doc-url": "",
6510
- "attributes": [
6511
- {
6512
- "name": "playing",
6513
- "description": "Set to `true` to hide the play icon.",
6514
- "value": { "type": "boolean", "default": "false" }
6515
- },
6516
- {
6517
- "name": "isBelowBreakpoint",
6518
- "description": "Reactive property to trigger breakpoint re-renders.",
6519
- "value": { "type": "boolean", "default": "false" }
6520
- },
6521
- {
6522
- "name": "dir",
6523
- "description": "The element's directionality.",
6524
- "value": { "type": "'ltr' | 'rtl' | 'auto'" }
6525
- },
6526
- {
6527
- "name": "lang",
6528
- "description": "The element's language.",
6529
- "value": { "type": "string" }
6530
- }
6531
- ],
6532
- "slots": [
6533
- {
6534
- "name": "",
6535
- "description": "The default slot used to pass a video player element."
6536
- },
6537
- { "name": "play-icon", "description": "The video's play icon." },
6538
- {
6539
- "name": "poster",
6540
- "description": "Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag."
6541
- }
6542
- ],
6543
- "events": [
6544
- {
6545
- "name": "sd-play",
6546
- "description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
6547
- }
6548
- ],
6549
- "js": {
6550
- "properties": [
6551
- {
6552
- "name": "playing",
6553
- "description": "Set to `true` to hide the play icon.",
6554
- "type": "boolean"
6555
- },
6556
- {
6557
- "name": "isBelowBreakpoint",
6558
- "description": "Reactive property to trigger breakpoint re-renders.",
6559
- "type": "boolean"
6560
- },
6561
- {
6562
- "name": "dir",
6563
- "description": "The element's directionality.",
6564
- "type": "'ltr' | 'rtl' | 'auto'"
6565
- },
6566
- {
6567
- "name": "lang",
6568
- "description": "The element's language.",
6569
- "type": "string"
6570
- }
6571
- ],
6572
- "events": [
6573
- {
6574
- "name": "sd-play",
6575
- "description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
6576
- }
6577
- ]
6578
- }
6579
6579
  }
6580
6580
  ]
6581
6581
  }
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
32
32
  if (item.type === 'checkbox') {
33
33
  item.checked = !item.checked;
34
34
  }
35
- this.emit('sd-4-0-8-select', { detail: { item } });
35
+ this.emit('sd-4-0-10-select', { detail: { item } });
36
36
  }
37
37
  handleKeyDown(event) {
38
38
  if (event.key === 'Enter') {
@@ -11,7 +11,7 @@ export default css `
11
11
  overscroll-behavior: none;
12
12
  }
13
13
 
14
- ::slotted(sd-4-0-8-divider) {
14
+ ::slotted(sd-4-0-10-divider) {
15
15
  --spacing: var(--sd-spacing-x-small);
16
16
  }
17
17
  `;
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
74
74
  })}
75
75
  >
76
76
  <span part="checked-icon" class="menu-item__check">
77
- <sd-4-0-8-icon name="check" library="system" aria-hidden="true"></sd-4-0-8-icon>
77
+ <sd-4-0-10-icon name="check" library="system" aria-hidden="true"></sd-4-0-10-icon>
78
78
  </span>
79
79
 
80
80
  <slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
84
84
  <slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
85
85
 
86
86
  <span class="menu-item__chevron">
87
- <sd-4-0-8-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-8-icon>
87
+ <sd-4-0-10-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-0-10-icon>
88
88
  </span>
89
89
  </div>
90
90
  `;
@@ -1 +1 @@
1
- import{a as k}from"./chunk.X2O263YD.js";import{a as f,b as y}from"./chunk.3L472FD4.js";import{a as l,c as r}from"./chunk.A3DKF5BY.js";import{a,d}from"./chunk.RQYP7MH5.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.E2DRD2OX.js";import{a as x}from"./chunk.6HO6CE4A.js";import{a as w}from"./chunk.26YUWEYR.js";import{a as p}from"./chunk.DCOFYPWX.js";import{a as b,b as h,d as c,h as m}from"./chunk.GQU4LYQ6.js";import{b as v,e as n}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";var t=class extends m{constructor(){super(...arguments);this.hasSlotController=new x(this,"footer");this.localize=new w(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new k(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),f(this))}disconnectedCallback(){super.disconnectedCallback(),y(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=r(this,"dialog.denyClose",{dir:this.localize.dir()});a(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),f(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let s=r(this,"dialog.show",{dir:this.localize.dir()}),i=r(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([a(this.panel,s.keyframes,s.options),a(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=r(this,"dialog.hide",{dir:this.localize.dir()}),s=r(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([a(this.overlay,s.keyframes,s.options).then(()=>{this.overlay.hidden=!0}),a(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,y(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&setTimeout(()=>i.focus()),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return n`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?n`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:n`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":n`<sd-4-0-8-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-4-0-8-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-8-icon></sd-4-0-8-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...m.styles,v`:host{--width:662px}[part=panel]{width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([g("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([b("sd-4-0-8-dialog")],t);l("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});l("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});l("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});l("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});l("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};
1
+ import{a as k}from"./chunk.X2O263YD.js";import{a as f,b as y}from"./chunk.3L472FD4.js";import{a as l,c as r}from"./chunk.A3DKF5BY.js";import{a,d}from"./chunk.RQYP7MH5.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.E2DRD2OX.js";import{a as x}from"./chunk.6HO6CE4A.js";import{a as w}from"./chunk.26YUWEYR.js";import{a as p}from"./chunk.DCOFYPWX.js";import{a as b,b as h,d as c,h as m}from"./chunk.GQU4LYQ6.js";import{b as v,e as n}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";var t=class extends m{constructor(){super(...arguments);this.hasSlotController=new x(this,"footer");this.localize=new w(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new k(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),f(this))}disconnectedCallback(){super.disconnectedCallback(),y(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let i=r(this,"dialog.denyClose",{dir:this.localize.dir()});a(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),f(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let s=r(this,"dialog.show",{dir:this.localize.dir()}),i=r(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([a(this.panel,s.keyframes,s.options),a(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=r(this,"dialog.hide",{dir:this.localize.dir()}),s=r(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([a(this.overlay,s.keyframes,s.options).then(()=>{this.overlay.hidden=!0}),a(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,y(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&setTimeout(()=>i.focus()),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return n`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?n`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:n`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":n`<sd-4-0-10-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-4-0-10-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-10-icon></sd-4-0-10-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...m.styles,v`:host{--width:662px}[part=panel]{width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([g("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([b("sd-4-0-10-dialog")],t);l("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});l("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});l("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});l("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});l("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};