@solid-design-system/components 5.15.0 → 5.15.2

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 (267) hide show
  1. package/cdn/chunks/{chunk.P46TXTLQ.js → chunk.N2QTZPQZ.js} +1 -1
  2. package/cdn/chunks/{chunk.QEIRLXKH.js → chunk.Y6QP3CKR.js} +1 -1
  3. package/cdn/components/checkbox/checkbox.js +1 -1
  4. package/cdn/components/navigation-item/navigation-item.js +1 -1
  5. package/cdn/custom-elements.json +224 -224
  6. package/cdn/solid-components.bundle.js +2 -2
  7. package/cdn/solid-components.iife.js +2 -2
  8. package/cdn/solid-components.js +1 -1
  9. package/cdn/vscode.html-custom-data.json +42 -42
  10. package/cdn/web-types.json +66 -66
  11. package/cdn-versioned/chunks/chunk.2FN4O4QC.js +1 -1
  12. package/cdn-versioned/chunks/chunk.35Q2HMDE.js +1 -1
  13. package/cdn-versioned/chunks/chunk.3G25QQJC.js +1 -1
  14. package/cdn-versioned/chunks/chunk.3HSQ2Z2H.js +1 -1
  15. package/cdn-versioned/chunks/chunk.3NXEOOQY.js +1 -1
  16. package/cdn-versioned/chunks/chunk.3QQBA7ZB.js +1 -1
  17. package/cdn-versioned/chunks/chunk.5NCRVBOH.js +1 -1
  18. package/cdn-versioned/chunks/chunk.5WKY435J.js +1 -1
  19. package/cdn-versioned/chunks/chunk.64FNEKLV.js +1 -1
  20. package/cdn-versioned/chunks/chunk.75YRQDIX.js +1 -1
  21. package/cdn-versioned/chunks/chunk.7JV32P5Q.js +1 -1
  22. package/cdn-versioned/chunks/chunk.A3ATIGVC.js +1 -1
  23. package/cdn-versioned/chunks/chunk.AVDTGVC2.js +1 -1
  24. package/cdn-versioned/chunks/chunk.B3ARBH5A.js +4 -4
  25. package/cdn-versioned/chunks/chunk.BUJEQKP4.js +1 -1
  26. package/cdn-versioned/chunks/chunk.BVQEQFOI.js +1 -1
  27. package/cdn-versioned/chunks/chunk.CBATEBTB.js +1 -1
  28. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
  29. package/cdn-versioned/chunks/chunk.CLJGWFHA.js +1 -1
  30. package/cdn-versioned/chunks/chunk.DKI2UXRQ.js +1 -1
  31. package/cdn-versioned/chunks/chunk.F4HX43DG.js +1 -1
  32. package/cdn-versioned/chunks/chunk.FT6CHNH7.js +1 -1
  33. package/cdn-versioned/chunks/chunk.FVYMXJRE.js +1 -1
  34. package/cdn-versioned/chunks/chunk.GKULTMOH.js +1 -1
  35. package/cdn-versioned/chunks/chunk.GYYHNTEP.js +1 -1
  36. package/cdn-versioned/chunks/chunk.HMHMBWUC.js +1 -1
  37. package/cdn-versioned/chunks/chunk.IARZ5WX7.js +2 -2
  38. package/cdn-versioned/chunks/chunk.IHKACSKZ.js +1 -1
  39. package/cdn-versioned/chunks/chunk.KD5YA4NW.js +1 -1
  40. package/cdn-versioned/chunks/chunk.KEJGWWON.js +1 -1
  41. package/cdn-versioned/chunks/chunk.KTS2L7KB.js +1 -1
  42. package/cdn-versioned/chunks/chunk.KUNW6IVR.js +1 -1
  43. package/cdn-versioned/chunks/chunk.KVLS3OE7.js +1 -1
  44. package/cdn-versioned/chunks/chunk.LMYU4GM4.js +1 -1
  45. package/cdn-versioned/chunks/chunk.MCRPEKBH.js +1 -1
  46. package/cdn-versioned/chunks/{chunk.P46TXTLQ.js → chunk.N2QTZPQZ.js} +1 -1
  47. package/cdn-versioned/chunks/chunk.N7TPWVK3.js +1 -1
  48. package/cdn-versioned/chunks/chunk.NMJKLBZG.js +1 -1
  49. package/cdn-versioned/chunks/chunk.NMZIXMMF.js +1 -1
  50. package/cdn-versioned/chunks/chunk.NOCXFEZL.js +1 -1
  51. package/cdn-versioned/chunks/chunk.NQF6SSZQ.js +1 -1
  52. package/cdn-versioned/chunks/chunk.O7S6H4U5.js +1 -1
  53. package/cdn-versioned/chunks/chunk.OGCPYUUV.js +1 -1
  54. package/cdn-versioned/chunks/chunk.PM5HD6JE.js +1 -1
  55. package/cdn-versioned/chunks/chunk.QHS7ZRVI.js +1 -1
  56. package/cdn-versioned/chunks/chunk.QY23RB35.js +1 -1
  57. package/cdn-versioned/chunks/chunk.R4E7AJDS.js +1 -1
  58. package/cdn-versioned/chunks/chunk.S2746Y7L.js +1 -1
  59. package/cdn-versioned/chunks/chunk.SX7AMKP2.js +2 -2
  60. package/cdn-versioned/chunks/chunk.TPVQ7ZU3.js +1 -1
  61. package/cdn-versioned/chunks/chunk.VINV25A7.js +1 -1
  62. package/cdn-versioned/chunks/chunk.VPECZPLY.js +1 -1
  63. package/cdn-versioned/chunks/chunk.VVM6Q5W5.js +4 -4
  64. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  65. package/cdn-versioned/chunks/chunk.WOVNF4UB.js +1 -1
  66. package/cdn-versioned/chunks/chunk.X67M4VEV.js +1 -1
  67. package/cdn-versioned/chunks/{chunk.QEIRLXKH.js → chunk.Y6QP3CKR.js} +1 -1
  68. package/cdn-versioned/chunks/chunk.YGMAKCAO.js +1 -1
  69. package/cdn-versioned/chunks/chunk.Z2YNXRLX.js +1 -1
  70. package/cdn-versioned/chunks/chunk.Z5LJ5HLC.js +1 -1
  71. package/cdn-versioned/chunks/chunk.ZEI6MVG3.js +1 -1
  72. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  73. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  74. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  75. package/cdn-versioned/components/audio/audio.d.ts +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/breadcrumb/breadcrumb.d.ts +1 -1
  79. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  80. package/cdn-versioned/components/button/button.d.ts +1 -1
  81. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  82. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  83. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  84. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  85. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  86. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  87. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  88. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  89. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  90. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  91. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  92. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  93. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  94. package/cdn-versioned/components/header/header.d.ts +1 -1
  95. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  96. package/cdn-versioned/components/include/include.d.ts +1 -1
  97. package/cdn-versioned/components/input/input.d.ts +1 -1
  98. package/cdn-versioned/components/link/link.d.ts +1 -1
  99. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  100. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  101. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  102. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  103. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  104. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  105. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  106. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  107. package/cdn-versioned/components/option/option.d.ts +1 -1
  108. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  109. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  110. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  111. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  112. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  113. package/cdn-versioned/components/range/range.d.ts +1 -1
  114. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  115. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  116. package/cdn-versioned/components/select/select.d.ts +1 -1
  117. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  118. package/cdn-versioned/components/step/step.d.ts +1 -1
  119. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  120. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  121. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  122. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  123. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  124. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  125. package/cdn-versioned/components/textarea/textarea.d.ts +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 +457 -457
  129. package/cdn-versioned/internal/form.js +3 -3
  130. package/cdn-versioned/solid-components.bundle.js +14 -14
  131. package/cdn-versioned/solid-components.css +2 -2
  132. package/cdn-versioned/solid-components.iife.js +14 -14
  133. package/cdn-versioned/solid-components.js +1 -1
  134. package/cdn-versioned/vscode.html-custom-data.json +131 -131
  135. package/cdn-versioned/web-types.json +217 -217
  136. package/dist/chunks/{chunk.RQVQQ7ZE.js → chunk.T5YQM2UK.js} +1 -1
  137. package/dist/chunks/{chunk.JQJXSQKT.js → chunk.ZOGRR75S.js} +4 -1
  138. package/dist/components/checkbox/checkbox.js +1 -1
  139. package/dist/components/navigation-item/navigation-item.js +1 -1
  140. package/dist/custom-elements.json +224 -224
  141. package/dist/solid-components.js +2 -2
  142. package/dist/vscode.html-custom-data.json +42 -42
  143. package/dist/web-types.json +66 -66
  144. package/dist-versioned/chunks/chunk.26VYQIOD.js +3 -3
  145. package/dist-versioned/chunks/chunk.2MJJHZR4.js +24 -24
  146. package/dist-versioned/chunks/chunk.32WTYFY6.js +4 -4
  147. package/dist-versioned/chunks/chunk.37LBEMXS.js +12 -12
  148. package/dist-versioned/chunks/chunk.37TNCACC.js +2 -2
  149. package/dist-versioned/chunks/chunk.3EQ2WOVC.js +2 -2
  150. package/dist-versioned/chunks/chunk.4FYYKKBL.js +3 -3
  151. package/dist-versioned/chunks/chunk.4I4QBVGB.js +3 -3
  152. package/dist-versioned/chunks/chunk.5KQPPIBZ.js +2 -2
  153. package/dist-versioned/chunks/chunk.5LLVB6R3.js +5 -5
  154. package/dist-versioned/chunks/chunk.5PM33S4N.js +2 -2
  155. package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
  156. package/dist-versioned/chunks/chunk.7YQJWIYJ.js +1 -1
  157. package/dist-versioned/chunks/chunk.AE3WPKVR.js +1 -1
  158. package/dist-versioned/chunks/chunk.AHMEVJMX.js +1 -1
  159. package/dist-versioned/chunks/chunk.ALVVYYIR.js +1 -1
  160. package/dist-versioned/chunks/chunk.ANOMYZE3.js +11 -11
  161. package/dist-versioned/chunks/chunk.B3PDWSAO.js +2 -2
  162. package/dist-versioned/chunks/chunk.B4AW33FC.js +1 -1
  163. package/dist-versioned/chunks/chunk.B6FL47S6.js +2 -2
  164. package/dist-versioned/chunks/chunk.BA3MSKPQ.js +5 -5
  165. package/dist-versioned/chunks/chunk.BDUEFRPO.js +2 -2
  166. package/dist-versioned/chunks/chunk.BJ6QDKVA.js +4 -4
  167. package/dist-versioned/chunks/chunk.BMFACTFH.js +3 -3
  168. package/dist-versioned/chunks/chunk.C332XERU.js +2 -2
  169. package/dist-versioned/chunks/chunk.CNDCBFFV.js +1 -1
  170. package/dist-versioned/chunks/chunk.CS6G3MPN.js +2 -2
  171. package/dist-versioned/chunks/chunk.DIXRYCRP.js +1 -1
  172. package/dist-versioned/chunks/chunk.EYGJ6QWJ.js +1 -1
  173. package/dist-versioned/chunks/chunk.GGCTLJ4D.js +2 -2
  174. package/dist-versioned/chunks/chunk.GIS5TWPR.js +1 -1
  175. package/dist-versioned/chunks/chunk.HMK6KRAR.js +6 -6
  176. package/dist-versioned/chunks/chunk.HV3AJIJO.js +1 -1
  177. package/dist-versioned/chunks/chunk.I2LO4IGY.js +3 -3
  178. package/dist-versioned/chunks/chunk.JW5YX4GK.js +2 -2
  179. package/dist-versioned/chunks/chunk.K2DJQDJ4.js +1 -1
  180. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  181. package/dist-versioned/chunks/chunk.KNWAH4Z5.js +1 -1
  182. package/dist-versioned/chunks/chunk.KPWKRZGL.js +14 -14
  183. package/dist-versioned/chunks/chunk.KQLO4TZ5.js +2 -2
  184. package/dist-versioned/chunks/chunk.LGELFCZP.js +2 -2
  185. package/dist-versioned/chunks/chunk.MHLZ7GKR.js +12 -12
  186. package/dist-versioned/chunks/chunk.NAFCDIL3.js +26 -26
  187. package/dist-versioned/chunks/chunk.NFY6NE6Z.js +2 -2
  188. package/dist-versioned/chunks/chunk.NXS7DO7N.js +1 -1
  189. package/dist-versioned/chunks/chunk.PBEPE2U7.js +2 -2
  190. package/dist-versioned/chunks/chunk.QCA2GRRO.js +5 -5
  191. package/dist-versioned/chunks/chunk.RUNTBTHS.js +1 -1
  192. package/dist-versioned/chunks/chunk.SGJLP4HM.js +2 -2
  193. package/dist-versioned/chunks/chunk.SMMMT4SZ.js +8 -8
  194. package/dist-versioned/chunks/chunk.SRLNYSZB.js +5 -5
  195. package/dist-versioned/chunks/chunk.SV7PKNLF.js +4 -4
  196. package/dist-versioned/chunks/{chunk.RQVQQ7ZE.js → chunk.T5YQM2UK.js} +7 -7
  197. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  198. package/dist-versioned/chunks/chunk.VGC5A42Q.js +1 -1
  199. package/dist-versioned/chunks/chunk.WFIIU6PJ.js +3 -3
  200. package/dist-versioned/chunks/chunk.WUIOLD72.js +6 -6
  201. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  202. package/dist-versioned/chunks/chunk.XWZNY4BH.js +3 -3
  203. package/dist-versioned/chunks/chunk.ZK4EFZJB.js +1 -1
  204. package/dist-versioned/chunks/{chunk.JQJXSQKT.js → chunk.ZOGRR75S.js} +7 -4
  205. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  206. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  207. package/dist-versioned/components/animation/animation.d.ts +1 -1
  208. package/dist-versioned/components/audio/audio.d.ts +1 -1
  209. package/dist-versioned/components/badge/badge.d.ts +1 -1
  210. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  211. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  212. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  213. package/dist-versioned/components/button/button.d.ts +1 -1
  214. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  215. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  216. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  217. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  218. package/dist-versioned/components/checkbox/checkbox.js +1 -1
  219. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  220. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  221. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  222. package/dist-versioned/components/divider/divider.d.ts +1 -1
  223. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  224. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  225. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  226. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  227. package/dist-versioned/components/header/header.d.ts +1 -1
  228. package/dist-versioned/components/icon/icon.d.ts +1 -1
  229. package/dist-versioned/components/include/include.d.ts +1 -1
  230. package/dist-versioned/components/input/input.d.ts +1 -1
  231. package/dist-versioned/components/link/link.d.ts +1 -1
  232. package/dist-versioned/components/loader/loader.d.ts +1 -1
  233. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  234. package/dist-versioned/components/menu/menu.d.ts +1 -1
  235. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  236. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  237. package/dist-versioned/components/navigation-item/navigation-item.js +1 -1
  238. package/dist-versioned/components/notification/notification.d.ts +1 -1
  239. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  240. package/dist-versioned/components/option/option.d.ts +1 -1
  241. package/dist-versioned/components/popup/popup.d.ts +1 -1
  242. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  243. package/dist-versioned/components/radio/radio.d.ts +1 -1
  244. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  245. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  246. package/dist-versioned/components/range/range.d.ts +1 -1
  247. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  248. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  249. package/dist-versioned/components/select/select.d.ts +1 -1
  250. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  251. package/dist-versioned/components/step/step.d.ts +1 -1
  252. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  253. package/dist-versioned/components/switch/switch.d.ts +1 -1
  254. package/dist-versioned/components/tab/tab.d.ts +1 -1
  255. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  256. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  257. package/dist-versioned/components/tag/tag.d.ts +1 -1
  258. package/dist-versioned/components/textarea/textarea.d.ts +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 +457 -457
  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 +2 -2
  265. package/dist-versioned/vscode.html-custom-data.json +131 -131
  266. package/dist-versioned/web-types.json +217 -217
  267. package/package.json +1 -1
@@ -1 +1 @@
1
- import{a as d}from"./chunk.WM6VARGR.js";import{a as b}from"./chunk.RTXVVB2O.js";import{b as m}from"./chunk.7JV32P5Q.js";import{a as p}from"./chunk.GLVMB2MH.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as n}from"./chunk.E2DRD2OX.js";import{a as h,b as r,c,d as s,h as o}from"./chunk.2FN4O4QC.js";import{b as u,e as a}from"./chunk.ZR5P6TQI.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,f)=>e.checked=f});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return a`<label part="base" class="${l("sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${l("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div class="${l("absolute h-3 transition-[width] right-0.25 duration-medium",this.checked?"w-0":"w-3")}"><div class="${l("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"group-hover:bg-neutral-200",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?a`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""} ${!this.checked&&this.indeterminate?a`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-icon>`:""} </span><span part="label" id="label" class="${l("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};t.styles=[...o.styles,u`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-width:0}:host([required]) #label:after{content:" *"}`],i([s('input[type="checkbox"]')],t.prototype,"input",2),i([s("#invalid-message")],t.prototype,"invalidMessage",2),i([r({type:String,reflect:!0})],t.prototype,"title",2),i([r({type:String,reflect:!0})],t.prototype,"name",2),i([r()],t.prototype,"value",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([r({type:String,reflect:!0})],t.prototype,"form",2),i([r({type:Boolean,reflect:!0})],t.prototype,"required",2),i([c()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([h("sd-checkbox")],t);export{t as a};
1
+ import{a as d}from"./chunk.WM6VARGR.js";import{a as b}from"./chunk.RTXVVB2O.js";import{b as m}from"./chunk.7JV32P5Q.js";import{a as p}from"./chunk.GLVMB2MH.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as n}from"./chunk.E2DRD2OX.js";import{a as h,b as r,c,d as s,h as o}from"./chunk.2FN4O4QC.js";import{b as u,e as a}from"./chunk.ZR5P6TQI.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.formControlController=new m(this,{value:e=>e.checked?e.value||"on":void 0,defaultValue:e=>e.defaultChecked,setValue:(e,f)=>e.checked=f});this.title="";this.name="";this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.form="";this.required=!1;this.showInvalidStyle=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(e){if(this.visuallyDisabled){e.preventDefault(),e.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){let e=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",e?"true":"false"),this.formControlController.setValidity(e)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.disabled&&this.indeterminate?"disabledIndeterminate":this.disabled&&this.checked?"disabledChecked":this.disabled?"disabled":this.visuallyDisabled?"visuallyDisabled":this.showInvalidStyle&&this.indeterminate?"invalidIndeterminate":this.showInvalidStyle?"invalid":this.checked||this.indeterminate?"filled":"default";return a`<label part="base" class="${l("sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${p(this.value)}" .indeterminate="${d(this.indeterminate)}" .checked="${d(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"} ${this.indeterminate?" control--indeterminate":""}" class="${l("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4","transition-colors ease-in-out duration-medium group-hover:duration-fast","peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary",{sm:"mt-[2px]",md:"mt-[3px]",lg:"mt-[3px]"}[this.size],{disabledIndeterminate:"border-neutral-500 bg-neutral-500",disabledChecked:"border-neutral-500 bg-neutral-500",disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",invalidIndeterminate:"border-error bg-error group-hover:bg-error-400",invalid:"border-error group-hover:bg-neutral-200",filled:"border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",default:"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"><div class="${l("absolute h-3 transition-[width] right-0.25 duration-medium",this.checked||this.indeterminate?"w-0":"w-3")}"><div class="${l("w-full h-full transition-colors duration-medium ease-in-out group-hover:duration-fast",{disabledIndeterminate:"bg-neutral-500",disabledChecked:" bg-neutral-500",disabled:"",visuallyDisabled:"",invalidIndeterminate:" bg-error group-hover:bg-error-400",invalid:"group-hover:bg-neutral-200",filled:"bg-accent group-hover:bg-accent-550",default:"hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"}[e])}"></div></div>${this.checked?a`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""} ${!this.checked&&this.indeterminate?a`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-icon>`:""} </span><span part="label" id="label" class="${l("select-none inline-block ml-2",this.disabled||this.visuallyDisabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`}};t.styles=[...o.styles,u`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline-width:0}:host([required]) #label:after{content:" *"}`],i([s('input[type="checkbox"]')],t.prototype,"input",2),i([s("#invalid-message")],t.prototype,"invalidMessage",2),i([r({type:String,reflect:!0})],t.prototype,"title",2),i([r({type:String,reflect:!0})],t.prototype,"name",2),i([r()],t.prototype,"value",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"checked",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indeterminate",2),i([b("checked")],t.prototype,"defaultChecked",2),i([r({type:String,reflect:!0})],t.prototype,"form",2),i([r({type:Boolean,reflect:!0})],t.prototype,"required",2),i([c()],t.prototype,"showInvalidStyle",2),i([n(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([n(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],t.prototype,"handleStateChange",1),t=i([h("sd-checkbox")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as o}from"./chunk.GLVMB2MH.js";import{a as u,b as s}from"./chunk.JMGRPC2F.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as b}from"./chunk.Y7NVH75J.js";import{a as m,b as i,d as p,h as f}from"./chunk.2FN4O4QC.js";import{b as v}from"./chunk.ZR5P6TQI.js";import{e as r}from"./chunk.TJOCV4DC.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,w=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px]",{md:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",this.current&&"font-bold",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",w?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`:host{box-sizing:border-box;display:inline-block;position:relative}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0;--tw-scale-y:0;opacity:var(--sd-opacity-0,0);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:var(--sd-duration-fast,.15s);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:1;--tw-scale-y:1;opacity:var(--sd-opacity-100,1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}`],r([p('a[part="base"], button[part="base"]')],t.prototype,"button",2),r([p("slot:not([name])")],t.prototype,"defaultSlot",2),r([i({type:Boolean,reflect:!0})],t.prototype,"vertical",2),r([i({type:String,reflect:!0})],t.prototype,"size",2),r([i({reflect:!0})],t.prototype,"href",2),r([i({type:String,reflect:!0})],t.prototype,"target",2),r([i({reflect:!0})],t.prototype,"download",2),r([i({type:Boolean,reflect:!0})],t.prototype,"current",2),r([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),r([i({type:Boolean,reflect:!0})],t.prototype,"chevron",2),r([i({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),r([i({type:Boolean,reflect:!0})],t.prototype,"divider",2),r([i({type:Boolean,reflect:!0})],t.prototype,"indented",2),r([i({type:Boolean,reflect:!0})],t.prototype,"open",2),r([i({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=r([m("sd-navigation-item")],t);export{t as a};
1
+ import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as o}from"./chunk.GLVMB2MH.js";import{a as u,b as s}from"./chunk.JMGRPC2F.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as b}from"./chunk.Y7NVH75J.js";import{a as m,b as i,d as p,h as f}from"./chunk.2FN4O4QC.js";import{b as v}from"./chunk.ZR5P6TQI.js";import{e as r}from"./chunk.TJOCV4DC.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,w=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px]",{md:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",this.current&&"font-bold",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",w?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`:host{box-sizing:border-box;display:inline-block;position:relative}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0;--tw-scale-y:0;opacity:var(--sd-opacity-0,0);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:var(--sd-duration-fast,.15s);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:1;--tw-scale-y:1;opacity:var(--sd-opacity-100,1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}`],r([p('[part="base"]')],t.prototype,"button",2),r([p("slot:not([name])")],t.prototype,"defaultSlot",2),r([i({type:Boolean,reflect:!0})],t.prototype,"vertical",2),r([i({type:String,reflect:!0})],t.prototype,"size",2),r([i({reflect:!0})],t.prototype,"href",2),r([i({type:String,reflect:!0})],t.prototype,"target",2),r([i({reflect:!0})],t.prototype,"download",2),r([i({type:Boolean,reflect:!0})],t.prototype,"current",2),r([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),r([i({type:Boolean,reflect:!0})],t.prototype,"chevron",2),r([i({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),r([i({type:Boolean,reflect:!0})],t.prototype,"divider",2),r([i({type:Boolean,reflect:!0})],t.prototype,"indented",2),r([i({type:Boolean,reflect:!0})],t.prototype,"open",2),r([i({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=r([m("sd-navigation-item")],t);export{t as a};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.P46TXTLQ.js";import"../../chunks/chunk.WM6VARGR.js";import"../../chunks/chunk.HUOC3LAU.js";import"../../chunks/chunk.RTXVVB2O.js";import"../../chunks/chunk.7JV32P5Q.js";import"../../chunks/chunk.GLVMB2MH.js";import"../../chunks/chunk.DKI2UXRQ.js";import"../../chunks/chunk.FODPSMJF.js";import"../../chunks/chunk.D6LAH53B.js";import"../../chunks/chunk.H2TFK3FW.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.M275INNC.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.2FN4O4QC.js";import"../../chunks/chunk.ZR5P6TQI.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.N2QTZPQZ.js";import"../../chunks/chunk.WM6VARGR.js";import"../../chunks/chunk.HUOC3LAU.js";import"../../chunks/chunk.RTXVVB2O.js";import"../../chunks/chunk.7JV32P5Q.js";import"../../chunks/chunk.GLVMB2MH.js";import"../../chunks/chunk.DKI2UXRQ.js";import"../../chunks/chunk.FODPSMJF.js";import"../../chunks/chunk.D6LAH53B.js";import"../../chunks/chunk.H2TFK3FW.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.M275INNC.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.2FN4O4QC.js";import"../../chunks/chunk.ZR5P6TQI.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.QEIRLXKH.js";import"../../chunks/chunk.3NXEOOQY.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.GLVMB2MH.js";import"../../chunks/chunk.JMGRPC2F.js";import"../../chunks/chunk.DKI2UXRQ.js";import"../../chunks/chunk.FODPSMJF.js";import"../../chunks/chunk.D6LAH53B.js";import"../../chunks/chunk.H2TFK3FW.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.M275INNC.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.Y7NVH75J.js";import"../../chunks/chunk.QPJOKELG.js";import"../../chunks/chunk.D4Q335D6.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.2FN4O4QC.js";import"../../chunks/chunk.ZR5P6TQI.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.Y6QP3CKR.js";import"../../chunks/chunk.3NXEOOQY.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.GLVMB2MH.js";import"../../chunks/chunk.JMGRPC2F.js";import"../../chunks/chunk.DKI2UXRQ.js";import"../../chunks/chunk.FODPSMJF.js";import"../../chunks/chunk.D6LAH53B.js";import"../../chunks/chunk.H2TFK3FW.js";import"../../chunks/chunk.K7HF3VBZ.js";import"../../chunks/chunk.M275INNC.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.26V4EXHB.js";import"../../chunks/chunk.Y7NVH75J.js";import"../../chunks/chunk.QPJOKELG.js";import"../../chunks/chunk.D4Q335D6.js";import"../../chunks/chunk.HJGLYEWV.js";import"../../chunks/chunk.E2DRD2OX.js";import"../../chunks/chunk.2FN4O4QC.js";import"../../chunks/chunk.ZR5P6TQI.js";import"../../chunks/chunk.6OTM3PE5.js";import"../../chunks/chunk.TJOCV4DC.js";export{a as default};
@@ -2163,6 +2163,229 @@
2163
2163
  }
2164
2164
  ]
2165
2165
  },
2166
+ {
2167
+ "kind": "javascript-module",
2168
+ "path": "components/breadcrumb-item/breadcrumb-item.js",
2169
+ "declarations": [
2170
+ {
2171
+ "kind": "class",
2172
+ "description": "",
2173
+ "name": "SdBreadcrumbItem",
2174
+ "cssParts": [
2175
+ {
2176
+ "description": "The component's base wrapper.",
2177
+ "name": "base"
2178
+ }
2179
+ ],
2180
+ "slots": [
2181
+ {
2182
+ "description": "The breadcrumb label.",
2183
+ "name": ""
2184
+ }
2185
+ ],
2186
+ "members": [
2187
+ {
2188
+ "kind": "field",
2189
+ "name": "localize",
2190
+ "privacy": "public",
2191
+ "default": "new LocalizeController(this)"
2192
+ },
2193
+ {
2194
+ "kind": "field",
2195
+ "name": "href",
2196
+ "type": {
2197
+ "text": "string"
2198
+ },
2199
+ "default": "''",
2200
+ "description": "When not set, the breadcrumb will render as disabled.",
2201
+ "attribute": "href",
2202
+ "reflects": true
2203
+ },
2204
+ {
2205
+ "kind": "field",
2206
+ "name": "target",
2207
+ "type": {
2208
+ "text": "'_blank' | '_parent' | '_self' | '_top'"
2209
+ },
2210
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
2211
+ "attribute": "target",
2212
+ "reflects": true
2213
+ },
2214
+ {
2215
+ "kind": "field",
2216
+ "name": "current",
2217
+ "type": {
2218
+ "text": "boolean"
2219
+ },
2220
+ "default": "false",
2221
+ "description": "When set, the attribute `aria-current=\"page\"` will be applied",
2222
+ "attribute": "current",
2223
+ "reflects": true
2224
+ },
2225
+ {
2226
+ "kind": "field",
2227
+ "name": "dir",
2228
+ "type": {
2229
+ "text": "'ltr' | 'rtl' | 'auto'"
2230
+ },
2231
+ "description": "The element's directionality.",
2232
+ "attribute": "dir",
2233
+ "inheritedFrom": {
2234
+ "name": "SolidElement",
2235
+ "module": "internal/solid-element.js"
2236
+ }
2237
+ },
2238
+ {
2239
+ "kind": "field",
2240
+ "name": "lang",
2241
+ "type": {
2242
+ "text": "string"
2243
+ },
2244
+ "description": "The element's language.",
2245
+ "attribute": "lang",
2246
+ "inheritedFrom": {
2247
+ "name": "SolidElement",
2248
+ "module": "internal/solid-element.js"
2249
+ }
2250
+ },
2251
+ {
2252
+ "kind": "method",
2253
+ "name": "emit",
2254
+ "parameters": [
2255
+ {
2256
+ "name": "name",
2257
+ "type": {
2258
+ "text": "string"
2259
+ }
2260
+ },
2261
+ {
2262
+ "name": "options",
2263
+ "optional": true,
2264
+ "type": {
2265
+ "text": "CustomEventInit"
2266
+ }
2267
+ }
2268
+ ],
2269
+ "description": "Emits a custom event with more convenient defaults.",
2270
+ "inheritedFrom": {
2271
+ "name": "SolidElement",
2272
+ "module": "internal/solid-element.js"
2273
+ }
2274
+ },
2275
+ {
2276
+ "kind": "method",
2277
+ "name": "token",
2278
+ "return": {
2279
+ "type": {
2280
+ "text": "T"
2281
+ }
2282
+ },
2283
+ "parameters": [
2284
+ {
2285
+ "name": "name",
2286
+ "type": {
2287
+ "text": "string"
2288
+ }
2289
+ },
2290
+ {
2291
+ "name": "fallback",
2292
+ "type": {
2293
+ "text": "T"
2294
+ }
2295
+ }
2296
+ ],
2297
+ "description": "Retrieves the value of a css variable token.",
2298
+ "inheritedFrom": {
2299
+ "name": "SolidElement",
2300
+ "module": "internal/solid-element.js"
2301
+ }
2302
+ }
2303
+ ],
2304
+ "attributes": [
2305
+ {
2306
+ "name": "href",
2307
+ "type": {
2308
+ "text": "string"
2309
+ },
2310
+ "default": "''",
2311
+ "description": "When not set, the breadcrumb will render as disabled.",
2312
+ "fieldName": "href"
2313
+ },
2314
+ {
2315
+ "name": "target",
2316
+ "type": {
2317
+ "text": "'_blank' | '_parent' | '_self' | '_top'"
2318
+ },
2319
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
2320
+ "fieldName": "target"
2321
+ },
2322
+ {
2323
+ "name": "current",
2324
+ "type": {
2325
+ "text": "boolean"
2326
+ },
2327
+ "default": "false",
2328
+ "description": "When set, the attribute `aria-current=\"page\"` will be applied",
2329
+ "fieldName": "current"
2330
+ },
2331
+ {
2332
+ "name": "dir",
2333
+ "type": {
2334
+ "text": "'ltr' | 'rtl' | 'auto'"
2335
+ },
2336
+ "description": "The element's directionality.",
2337
+ "fieldName": "dir",
2338
+ "inheritedFrom": {
2339
+ "name": "SolidElement",
2340
+ "module": "src/internal/solid-element.ts"
2341
+ }
2342
+ },
2343
+ {
2344
+ "name": "lang",
2345
+ "type": {
2346
+ "text": "string"
2347
+ },
2348
+ "description": "The element's language.",
2349
+ "fieldName": "lang",
2350
+ "inheritedFrom": {
2351
+ "name": "SolidElement",
2352
+ "module": "src/internal/solid-element.ts"
2353
+ }
2354
+ }
2355
+ ],
2356
+ "superclass": {
2357
+ "name": "SolidElement",
2358
+ "module": "/src/internal/solid-element"
2359
+ },
2360
+ "summary": "An individual breadcrumb item for use exclusively within the `sd-breadcrumb`.",
2361
+ "status": "experimental",
2362
+ "since": "5.8",
2363
+ "dependencies": [
2364
+ "sd-link"
2365
+ ],
2366
+ "tagName": "sd-breadcrumb-item",
2367
+ "customElement": true
2368
+ }
2369
+ ],
2370
+ "exports": [
2371
+ {
2372
+ "kind": "js",
2373
+ "name": "default",
2374
+ "declaration": {
2375
+ "name": "SdBreadcrumbItem",
2376
+ "module": "components/breadcrumb-item/breadcrumb-item.js"
2377
+ }
2378
+ },
2379
+ {
2380
+ "kind": "custom-element-definition",
2381
+ "name": "sd-breadcrumb-item",
2382
+ "declaration": {
2383
+ "name": "SdBreadcrumbItem",
2384
+ "module": "components/breadcrumb-item/breadcrumb-item.js"
2385
+ }
2386
+ }
2387
+ ]
2388
+ },
2166
2389
  {
2167
2390
  "kind": "javascript-module",
2168
2391
  "path": "components/button/button.js",
@@ -16220,229 +16443,6 @@
16220
16443
  }
16221
16444
  ]
16222
16445
  },
16223
- {
16224
- "kind": "javascript-module",
16225
- "path": "components/breadcrumb-item/breadcrumb-item.js",
16226
- "declarations": [
16227
- {
16228
- "kind": "class",
16229
- "description": "",
16230
- "name": "SdBreadcrumbItem",
16231
- "cssParts": [
16232
- {
16233
- "description": "The component's base wrapper.",
16234
- "name": "base"
16235
- }
16236
- ],
16237
- "slots": [
16238
- {
16239
- "description": "The breadcrumb label.",
16240
- "name": ""
16241
- }
16242
- ],
16243
- "members": [
16244
- {
16245
- "kind": "field",
16246
- "name": "localize",
16247
- "privacy": "public",
16248
- "default": "new LocalizeController(this)"
16249
- },
16250
- {
16251
- "kind": "field",
16252
- "name": "href",
16253
- "type": {
16254
- "text": "string"
16255
- },
16256
- "default": "''",
16257
- "description": "When not set, the breadcrumb will render as disabled.",
16258
- "attribute": "href",
16259
- "reflects": true
16260
- },
16261
- {
16262
- "kind": "field",
16263
- "name": "target",
16264
- "type": {
16265
- "text": "'_blank' | '_parent' | '_self' | '_top'"
16266
- },
16267
- "description": "Tells the browser where to open the link. Only used when `href` is present.",
16268
- "attribute": "target",
16269
- "reflects": true
16270
- },
16271
- {
16272
- "kind": "field",
16273
- "name": "current",
16274
- "type": {
16275
- "text": "boolean"
16276
- },
16277
- "default": "false",
16278
- "description": "When set, the attribute `aria-current=\"page\"` will be applied",
16279
- "attribute": "current",
16280
- "reflects": true
16281
- },
16282
- {
16283
- "kind": "field",
16284
- "name": "dir",
16285
- "type": {
16286
- "text": "'ltr' | 'rtl' | 'auto'"
16287
- },
16288
- "description": "The element's directionality.",
16289
- "attribute": "dir",
16290
- "inheritedFrom": {
16291
- "name": "SolidElement",
16292
- "module": "internal/solid-element.js"
16293
- }
16294
- },
16295
- {
16296
- "kind": "field",
16297
- "name": "lang",
16298
- "type": {
16299
- "text": "string"
16300
- },
16301
- "description": "The element's language.",
16302
- "attribute": "lang",
16303
- "inheritedFrom": {
16304
- "name": "SolidElement",
16305
- "module": "internal/solid-element.js"
16306
- }
16307
- },
16308
- {
16309
- "kind": "method",
16310
- "name": "emit",
16311
- "parameters": [
16312
- {
16313
- "name": "name",
16314
- "type": {
16315
- "text": "string"
16316
- }
16317
- },
16318
- {
16319
- "name": "options",
16320
- "optional": true,
16321
- "type": {
16322
- "text": "CustomEventInit"
16323
- }
16324
- }
16325
- ],
16326
- "description": "Emits a custom event with more convenient defaults.",
16327
- "inheritedFrom": {
16328
- "name": "SolidElement",
16329
- "module": "internal/solid-element.js"
16330
- }
16331
- },
16332
- {
16333
- "kind": "method",
16334
- "name": "token",
16335
- "return": {
16336
- "type": {
16337
- "text": "T"
16338
- }
16339
- },
16340
- "parameters": [
16341
- {
16342
- "name": "name",
16343
- "type": {
16344
- "text": "string"
16345
- }
16346
- },
16347
- {
16348
- "name": "fallback",
16349
- "type": {
16350
- "text": "T"
16351
- }
16352
- }
16353
- ],
16354
- "description": "Retrieves the value of a css variable token.",
16355
- "inheritedFrom": {
16356
- "name": "SolidElement",
16357
- "module": "internal/solid-element.js"
16358
- }
16359
- }
16360
- ],
16361
- "attributes": [
16362
- {
16363
- "name": "href",
16364
- "type": {
16365
- "text": "string"
16366
- },
16367
- "default": "''",
16368
- "description": "When not set, the breadcrumb will render as disabled.",
16369
- "fieldName": "href"
16370
- },
16371
- {
16372
- "name": "target",
16373
- "type": {
16374
- "text": "'_blank' | '_parent' | '_self' | '_top'"
16375
- },
16376
- "description": "Tells the browser where to open the link. Only used when `href` is present.",
16377
- "fieldName": "target"
16378
- },
16379
- {
16380
- "name": "current",
16381
- "type": {
16382
- "text": "boolean"
16383
- },
16384
- "default": "false",
16385
- "description": "When set, the attribute `aria-current=\"page\"` will be applied",
16386
- "fieldName": "current"
16387
- },
16388
- {
16389
- "name": "dir",
16390
- "type": {
16391
- "text": "'ltr' | 'rtl' | 'auto'"
16392
- },
16393
- "description": "The element's directionality.",
16394
- "fieldName": "dir",
16395
- "inheritedFrom": {
16396
- "name": "SolidElement",
16397
- "module": "src/internal/solid-element.ts"
16398
- }
16399
- },
16400
- {
16401
- "name": "lang",
16402
- "type": {
16403
- "text": "string"
16404
- },
16405
- "description": "The element's language.",
16406
- "fieldName": "lang",
16407
- "inheritedFrom": {
16408
- "name": "SolidElement",
16409
- "module": "src/internal/solid-element.ts"
16410
- }
16411
- }
16412
- ],
16413
- "superclass": {
16414
- "name": "SolidElement",
16415
- "module": "/src/internal/solid-element"
16416
- },
16417
- "summary": "An individual breadcrumb item for use exclusively within the `sd-breadcrumb`.",
16418
- "status": "experimental",
16419
- "since": "5.8",
16420
- "dependencies": [
16421
- "sd-link"
16422
- ],
16423
- "tagName": "sd-breadcrumb-item",
16424
- "customElement": true
16425
- }
16426
- ],
16427
- "exports": [
16428
- {
16429
- "kind": "js",
16430
- "name": "default",
16431
- "declaration": {
16432
- "name": "SdBreadcrumbItem",
16433
- "module": "components/breadcrumb-item/breadcrumb-item.js"
16434
- }
16435
- },
16436
- {
16437
- "kind": "custom-element-definition",
16438
- "name": "sd-breadcrumb-item",
16439
- "declaration": {
16440
- "name": "SdBreadcrumbItem",
16441
- "module": "components/breadcrumb-item/breadcrumb-item.js"
16442
- }
16443
- }
16444
- ]
16445
- },
16446
16446
  {
16447
16447
  "kind": "javascript-module",
16448
16448
  "path": "components/step/step.js",
@@ -20632,7 +20632,7 @@
20632
20632
  "package": {
20633
20633
  "name": "@solid-design-system/components",
20634
20634
  "description": "Solid Design System: Components",
20635
- "version": "5.15.0",
20635
+ "version": "5.15.2",
20636
20636
  "author": "Union Investment",
20637
20637
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
20638
20638
  "license": "MIT"