@synergy-design-system/components 2.31.1 → 2.32.0

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 (336) hide show
  1. package/code-quality/html-validate/scripts/deprecation.js +1 -0
  2. package/code-quality/html-validate/scripts/synergy-element-rules.js +7 -1
  3. package/dist/chunks/{chunk.CRHZY5XO.js → chunk.227MERHC.js} +2 -2
  4. package/dist/chunks/{chunk.HCFLTHY5.js → chunk.2LWC5VGW.js} +2 -2
  5. package/dist/chunks/{chunk.2TFU27NA.js → chunk.2YGY6DRR.js} +2 -2
  6. package/dist/chunks/{chunk.OUUZOIRQ.js → chunk.34UKMOAN.js} +6 -6
  7. package/dist/chunks/{chunk.AXD3NMM5.js → chunk.3G4ZJEZH.js} +2 -2
  8. package/dist/chunks/{chunk.TP6XWU37.js → chunk.3UCVZ2N3.js} +3 -3
  9. package/dist/chunks/{chunk.DDI5MPRL.js → chunk.44QQS6VO.js} +2 -2
  10. package/dist/chunks/{chunk.VS3IUNIR.js → chunk.46QGGYGR.js} +7 -7
  11. package/dist/chunks/{chunk.ARA77UC2.js → chunk.4EGE74LM.js} +3 -3
  12. package/dist/chunks/{chunk.BM2VNDQB.js → chunk.4PCC4RLB.js} +2 -2
  13. package/dist/chunks/{chunk.OVJCBGVR.js → chunk.55XHHV7Z.js} +2 -2
  14. package/dist/chunks/{chunk.YOZVW5AL.js → chunk.56DHDBEB.js} +5 -5
  15. package/dist/chunks/{chunk.53H7VH7O.js → chunk.56EDYG6B.js} +2 -2
  16. package/dist/chunks/{chunk.NH4JQFOM.js → chunk.57DU3E3Z.js} +3 -1
  17. package/dist/chunks/{chunk.NH4JQFOM.js.map → chunk.57DU3E3Z.js.map} +2 -2
  18. package/dist/chunks/{chunk.2BPX7N5A.js → chunk.5C2RFLFS.js} +2 -2
  19. package/dist/chunks/{chunk.OQ6TRGBW.js → chunk.62CAR5MG.js} +6 -6
  20. package/dist/chunks/{chunk.IFRYWN3D.js → chunk.62JHOU5H.js} +2 -2
  21. package/dist/chunks/{chunk.IFRYWN3D.js.map → chunk.62JHOU5H.js.map} +1 -1
  22. package/dist/chunks/{chunk.S5N2TE2L.js → chunk.6DYKE5RE.js} +3 -1
  23. package/dist/chunks/{chunk.S5N2TE2L.js.map → chunk.6DYKE5RE.js.map} +2 -2
  24. package/dist/chunks/{chunk.6TZ2DFAZ.js → chunk.6JBICFHU.js} +2 -2
  25. package/dist/chunks/{chunk.H6OFPF2U.js → chunk.6VVYMYDJ.js} +9 -9
  26. package/dist/chunks/{chunk.MEU2VJRI.js → chunk.73DAHCC3.js} +2 -2
  27. package/dist/chunks/{chunk.WQHJNOCS.js → chunk.73KA7UX5.js} +2 -2
  28. package/dist/chunks/{chunk.S3U3H5YM.js → chunk.7AWK33AC.js} +6 -6
  29. package/dist/chunks/{chunk.57O3GW6F.js → chunk.7DYLS7V5.js} +2 -2
  30. package/dist/chunks/{chunk.C3OEY3C3.js → chunk.7E7CVZ43.js} +2 -2
  31. package/dist/chunks/{chunk.E2LK6CZQ.js → chunk.7GT7PLXZ.js} +8 -8
  32. package/dist/chunks/{chunk.NUIJATJY.js → chunk.7R4JCT5J.js} +2 -2
  33. package/dist/chunks/{chunk.F6VSTKR4.js → chunk.7WCAKMAK.js} +2 -2
  34. package/dist/chunks/{chunk.LXMXCA3A.js → chunk.A4ZAJ37W.js} +2 -2
  35. package/dist/chunks/{chunk.ZD664COV.js → chunk.AL4FWF4H.js} +3 -3
  36. package/dist/chunks/{chunk.O72UJFII.js → chunk.AXBCLZGS.js} +2 -2
  37. package/dist/chunks/{chunk.TCP5IT3F.js → chunk.BBLILCDY.js} +7 -7
  38. package/dist/chunks/{chunk.TCKDCA72.js → chunk.BQDQ2XF4.js} +2 -2
  39. package/dist/chunks/{chunk.4MFDZDGQ.js → chunk.BSMGYXJY.js} +2 -2
  40. package/dist/chunks/{chunk.LBAZSXTY.js → chunk.BU5O7KW4.js} +2 -2
  41. package/dist/chunks/{chunk.S6G76KJP.js → chunk.BZUKUJ36.js} +18 -16
  42. package/dist/chunks/chunk.BZUKUJ36.js.map +7 -0
  43. package/dist/chunks/{chunk.BFRV22TW.js → chunk.C3GOUZVH.js} +2 -2
  44. package/dist/chunks/{chunk.OCD5GCRS.js → chunk.E2NPS5ZN.js} +5 -5
  45. package/dist/chunks/{chunk.ZC2XDIU3.js → chunk.E3KQWTHA.js} +2 -2
  46. package/dist/chunks/{chunk.QFHIRCPA.js → chunk.EV64WMJD.js} +2 -2
  47. package/dist/chunks/{chunk.QZLUMB3K.js → chunk.F5XNF33L.js} +2 -2
  48. package/dist/chunks/{chunk.C5HUAF7E.js → chunk.F7AAPYYY.js} +6 -6
  49. package/dist/chunks/chunk.FWLUR33I.js +165 -0
  50. package/dist/chunks/chunk.FWLUR33I.js.map +7 -0
  51. package/dist/chunks/{chunk.BUDFIDON.js → chunk.G4PY4E62.js} +2 -2
  52. package/dist/chunks/{chunk.JTSBAJHO.js → chunk.G6CLSRWS.js} +2 -2
  53. package/dist/chunks/{chunk.F4PPYWD2.js → chunk.GWVD6JWM.js} +2 -2
  54. package/dist/chunks/{chunk.C37WAG5S.js → chunk.HCLG3RID.js} +5 -5
  55. package/dist/chunks/{chunk.UZDYMCG5.js → chunk.HMPLHOEC.js} +2 -2
  56. package/dist/chunks/{chunk.VJ76QTIO.js → chunk.IKAS4HSG.js} +2 -2
  57. package/dist/chunks/{chunk.UA5JN2HT.js → chunk.IN2KZ2JM.js} +2 -2
  58. package/dist/chunks/{chunk.GIU3H3J3.js → chunk.IPGLY3H4.js} +2 -2
  59. package/dist/chunks/{chunk.GIU3H3J3.js.map → chunk.IPGLY3H4.js.map} +1 -1
  60. package/dist/chunks/{chunk.J3UFKDWS.js → chunk.IQ23XRJD.js} +6 -6
  61. package/dist/chunks/{chunk.F5J4LZRJ.js → chunk.IZUV4XRR.js} +5 -5
  62. package/dist/chunks/{chunk.IHXL2BKO.js → chunk.JGPSIBNQ.js} +5 -5
  63. package/dist/chunks/{chunk.PIBXQKPW.js → chunk.JJWV4MPY.js} +2 -2
  64. package/dist/chunks/{chunk.LC74L3J4.js → chunk.JORU53XU.js} +2 -2
  65. package/dist/chunks/{chunk.B2K6WO7U.js → chunk.KR4ZPT4X.js} +14 -13
  66. package/dist/chunks/chunk.KR4ZPT4X.js.map +7 -0
  67. package/dist/chunks/{chunk.TZD6VAFM.js → chunk.KRG4ASUB.js} +8 -8
  68. package/dist/chunks/{chunk.G43EW4MK.js → chunk.KY7HUUUM.js} +2 -2
  69. package/dist/chunks/{chunk.4GD27HRW.js → chunk.LMUAOSNG.js} +3 -3
  70. package/dist/chunks/{chunk.74EZT7OT.js → chunk.LZHDDLQQ.js} +2 -2
  71. package/dist/chunks/{chunk.W6LCOQGH.js → chunk.MTRKAUI5.js} +13 -13
  72. package/dist/chunks/{chunk.OH3PPVV4.js → chunk.MYVDDEUN.js} +3 -1
  73. package/dist/chunks/chunk.MYVDDEUN.js.map +7 -0
  74. package/dist/chunks/{chunk.EXJFVNO7.js → chunk.N5CECNHU.js} +10 -10
  75. package/dist/chunks/{chunk.QS5XGTGM.js → chunk.N634EXYZ.js} +3 -3
  76. package/dist/chunks/{chunk.4PPBTCD5.js → chunk.NGCFEEST.js} +2 -2
  77. package/dist/chunks/{chunk.VACWERCC.js → chunk.NISA5CE2.js} +6 -6
  78. package/dist/chunks/{chunk.ITOPC2EK.js → chunk.NOESO6WV.js} +2 -2
  79. package/dist/chunks/{chunk.2ZLTOKZD.js → chunk.NXKFEIMZ.js} +6 -6
  80. package/dist/chunks/{chunk.QBQPIJL7.js → chunk.O66H6R5X.js} +2 -2
  81. package/dist/chunks/{chunk.NIGNMNFF.js → chunk.O7S4ZPF7.js} +2 -2
  82. package/dist/chunks/{chunk.XMDJPHX2.js → chunk.OFOF7ZOR.js} +2 -2
  83. package/dist/chunks/{chunk.7WYASY7G.js → chunk.OTRVRUXO.js} +3 -3
  84. package/dist/chunks/{chunk.66TRD7RB.js → chunk.P7N2RZPB.js} +7 -7
  85. package/dist/chunks/{chunk.GPIHTDAN.js → chunk.PIC4O6Q2.js} +9 -9
  86. package/dist/chunks/{chunk.VCVTS2XB.js → chunk.QXIZDYA4.js} +2 -2
  87. package/dist/chunks/{chunk.VJ4GSZSK.js → chunk.R42AFTFA.js} +9 -9
  88. package/dist/chunks/{chunk.6UPUUCTS.js → chunk.R52TN2LF.js} +2 -2
  89. package/dist/chunks/{chunk.5YDUYSLU.js → chunk.RIPTU5BC.js} +2 -2
  90. package/dist/chunks/{chunk.RXVYZJ7V.js → chunk.RPM55AQB.js} +2 -2
  91. package/dist/chunks/{chunk.PY3JF3U5.js → chunk.RUQMHV5V.js} +2 -2
  92. package/dist/chunks/{chunk.CITWLSAM.js → chunk.RVWB22MU.js} +2 -2
  93. package/dist/chunks/{chunk.VAFUGCAL.js → chunk.RW5BBJ5K.js} +2 -2
  94. package/dist/chunks/{chunk.Q3YYZERE.js → chunk.SBGVZBBD.js} +95 -63
  95. package/dist/chunks/chunk.SBGVZBBD.js.map +7 -0
  96. package/dist/chunks/{chunk.MIFSAMBD.js → chunk.T7UT34YW.js} +2 -2
  97. package/dist/chunks/{chunk.5BNOHKBQ.js → chunk.TEYI3WY6.js} +2 -2
  98. package/dist/chunks/{chunk.4WGFUMJG.js → chunk.ULNCAAQN.js} +2 -2
  99. package/dist/chunks/{chunk.J6T6Y2LH.js → chunk.V6HU7SQP.js} +2 -2
  100. package/dist/chunks/{chunk.PWZSMYSB.js → chunk.VBE5RBH5.js} +6 -6
  101. package/dist/chunks/{chunk.LUQR4NNU.js → chunk.VECCQZP5.js} +12 -2
  102. package/dist/chunks/{chunk.LUQR4NNU.js.map → chunk.VECCQZP5.js.map} +2 -2
  103. package/dist/chunks/{chunk.W662K66T.js → chunk.VFOXZ66D.js} +2 -2
  104. package/dist/chunks/{chunk.IZ3YBEWP.js → chunk.W22XP6SZ.js} +19 -10
  105. package/dist/chunks/chunk.W22XP6SZ.js.map +7 -0
  106. package/dist/chunks/{chunk.V52DGYOQ.js → chunk.W24WTLHF.js} +9 -9
  107. package/dist/chunks/chunk.W24WTLHF.js.map +7 -0
  108. package/dist/chunks/{chunk.D76KQXQ6.js → chunk.W56BX5IM.js} +10 -10
  109. package/dist/chunks/{chunk.AFSEH45S.js → chunk.WCPQBS67.js} +2 -2
  110. package/dist/chunks/{chunk.X2BJ2RWR.js → chunk.WIDU3JFX.js} +6 -6
  111. package/dist/chunks/{chunk.BSZ4E3R4.js → chunk.XACPLHJJ.js} +4 -4
  112. package/dist/chunks/{chunk.R7YGKYQ3.js → chunk.XRSPUMKG.js} +3 -3
  113. package/dist/chunks/{chunk.N7HE4GWA.js → chunk.XVFMAH3Z.js} +6 -6
  114. package/dist/chunks/{chunk.T6HR57NS.js → chunk.YGQ7VBLW.js} +2 -2
  115. package/dist/chunks/{chunk.KCWPOD5N.js → chunk.YLY5MMDA.js} +2 -2
  116. package/dist/chunks/{chunk.UTTBWNVC.js → chunk.Z2RDB23K.js} +2 -2
  117. package/dist/chunks/{chunk.4AUUQXOV.js → chunk.Z52I4QC3.js} +2 -2
  118. package/dist/chunks/{chunk.RTKKOQ4K.js → chunk.ZH6J636O.js} +2 -2
  119. package/dist/components/accordion/accordion.component.js +6 -6
  120. package/dist/components/accordion/accordion.js +7 -7
  121. package/dist/components/alert/alert.component.js +13 -13
  122. package/dist/components/alert/alert.js +14 -14
  123. package/dist/components/badge/badge.component.js +8 -8
  124. package/dist/components/badge/badge.js +9 -9
  125. package/dist/components/breadcrumb/breadcrumb.component.js +9 -9
  126. package/dist/components/breadcrumb/breadcrumb.js +10 -10
  127. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  128. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  129. package/dist/components/button/button.component.js +11 -11
  130. package/dist/components/button/button.js +12 -12
  131. package/dist/components/button-group/button-group.component.js +2 -2
  132. package/dist/components/button-group/button-group.js +3 -3
  133. package/dist/components/card/card.component.js +2 -2
  134. package/dist/components/card/card.js +3 -3
  135. package/dist/components/checkbox/checkbox.component.js +8 -8
  136. package/dist/components/checkbox/checkbox.js +9 -9
  137. package/dist/components/combobox/combobox.component.js +12 -12
  138. package/dist/components/combobox/combobox.js +13 -13
  139. package/dist/components/details/details.component.js +10 -10
  140. package/dist/components/details/details.js +11 -11
  141. package/dist/components/dialog/dialog.component.js +11 -11
  142. package/dist/components/dialog/dialog.js +12 -12
  143. package/dist/components/divider/divider.component.js +2 -2
  144. package/dist/components/divider/divider.js +3 -3
  145. package/dist/components/drawer/drawer.component.d.ts +2 -0
  146. package/dist/components/drawer/drawer.component.js +11 -11
  147. package/dist/components/drawer/drawer.js +12 -12
  148. package/dist/components/dropdown/dropdown.component.js +5 -5
  149. package/dist/components/dropdown/dropdown.js +6 -6
  150. package/dist/components/file/file.component.js +12 -12
  151. package/dist/components/file/file.js +13 -13
  152. package/dist/components/header/header.component.d.ts +2 -1
  153. package/dist/components/header/header.component.js +8 -8
  154. package/dist/components/header/header.js +9 -9
  155. package/dist/components/icon/icon.component.js +4 -4
  156. package/dist/components/icon/icon.js +5 -5
  157. package/dist/components/icon/library.js +2 -2
  158. package/dist/components/icon/library.system.js +1 -1
  159. package/dist/components/icon-button/icon-button.component.js +8 -8
  160. package/dist/components/icon-button/icon-button.js +9 -9
  161. package/dist/components/input/input.component.js +11 -11
  162. package/dist/components/input/input.js +12 -12
  163. package/dist/components/menu/menu.component.js +2 -2
  164. package/dist/components/menu/menu.js +3 -3
  165. package/dist/components/menu-item/menu-item.component.js +9 -9
  166. package/dist/components/menu-item/menu-item.js +10 -10
  167. package/dist/components/menu-label/menu-label.component.js +3 -3
  168. package/dist/components/menu-label/menu-label.js +4 -4
  169. package/dist/components/nav-item/nav-item.component.js +3 -3
  170. package/dist/components/nav-item/nav-item.js +4 -4
  171. package/dist/components/optgroup/optgroup.component.js +3 -3
  172. package/dist/components/optgroup/optgroup.js +4 -4
  173. package/dist/components/option/option.component.js +7 -7
  174. package/dist/components/option/option.js +8 -8
  175. package/dist/components/popup/popup.component.js +4 -4
  176. package/dist/components/popup/popup.js +5 -5
  177. package/dist/components/prio-nav/prio-nav.component.js +12 -12
  178. package/dist/components/prio-nav/prio-nav.js +13 -13
  179. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  180. package/dist/components/progress-bar/progress-bar.js +5 -5
  181. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  182. package/dist/components/progress-ring/progress-ring.js +5 -5
  183. package/dist/components/radio/radio.component.js +8 -8
  184. package/dist/components/radio/radio.js +9 -9
  185. package/dist/components/radio-button/radio-button.component.js +5 -5
  186. package/dist/components/radio-button/radio-button.js +6 -6
  187. package/dist/components/radio-group/radio-group.component.js +6 -6
  188. package/dist/components/radio-group/radio-group.js +7 -7
  189. package/dist/components/range/range.component.js +9 -9
  190. package/dist/components/range/range.js +10 -10
  191. package/dist/components/range-tick/range-tick.component.js +2 -2
  192. package/dist/components/range-tick/range-tick.js +3 -3
  193. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  194. package/dist/components/select/select.component.js +14 -14
  195. package/dist/components/select/select.js +15 -15
  196. package/dist/components/select/utility.d.ts +7 -0
  197. package/dist/components/select/utility.js +3 -1
  198. package/dist/components/side-nav/side-nav.component.d.ts +58 -14
  199. package/dist/components/side-nav/side-nav.component.js +16 -14
  200. package/dist/components/side-nav/side-nav.js +17 -15
  201. package/dist/components/side-nav/side-nav.styles.js +1 -1
  202. package/dist/components/spinner/spinner.component.js +4 -4
  203. package/dist/components/spinner/spinner.js +5 -5
  204. package/dist/components/switch/switch.component.js +5 -5
  205. package/dist/components/switch/switch.js +6 -6
  206. package/dist/components/tab/tab.component.js +11 -11
  207. package/dist/components/tab/tab.js +12 -12
  208. package/dist/components/tab-group/tab-group.component.js +12 -12
  209. package/dist/components/tab-group/tab-group.js +13 -13
  210. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  211. package/dist/components/tab-panel/tab-panel.js +3 -3
  212. package/dist/components/tag/tag.component.js +11 -11
  213. package/dist/components/tag/tag.js +12 -12
  214. package/dist/components/textarea/textarea.component.js +5 -5
  215. package/dist/components/textarea/textarea.js +6 -6
  216. package/dist/components/tooltip/tooltip.component.js +5 -5
  217. package/dist/components/tooltip/tooltip.js +6 -6
  218. package/dist/components/validate/utility.js +2 -2
  219. package/dist/components/validate/validate.component.js +15 -15
  220. package/dist/components/validate/validate.js +16 -16
  221. package/dist/custom-elements.json +85 -33
  222. package/dist/styles/index.css +1 -1
  223. package/dist/synergy.js +115 -115
  224. package/dist/translations/de.js +4 -2
  225. package/dist/translations/de.js.map +2 -2
  226. package/dist/translations/en.js +1 -1
  227. package/dist/utilities/defaultSettings/base.d.ts +3 -1
  228. package/dist/utilities/defaultSettings/base.js +1 -1
  229. package/dist/utilities/defaultSettings/decorator.js +3 -3
  230. package/dist/utilities/defaultSettings/functions.js +2 -2
  231. package/dist/utilities/defaultSettings/index.js +3 -3
  232. package/dist/utilities/icon-library.js +2 -2
  233. package/dist/utilities/localize.d.ts +2 -0
  234. package/dist/utilities/localize.js +2 -2
  235. package/dist/vscode.html-custom-data.json +13 -4
  236. package/package.json +4 -4
  237. package/dist/chunks/chunk.B2K6WO7U.js.map +0 -7
  238. package/dist/chunks/chunk.H3HTSQKK.js +0 -97
  239. package/dist/chunks/chunk.H3HTSQKK.js.map +0 -7
  240. package/dist/chunks/chunk.IZ3YBEWP.js.map +0 -7
  241. package/dist/chunks/chunk.OH3PPVV4.js.map +0 -7
  242. package/dist/chunks/chunk.Q3YYZERE.js.map +0 -7
  243. package/dist/chunks/chunk.S6G76KJP.js.map +0 -7
  244. package/dist/chunks/chunk.V52DGYOQ.js.map +0 -7
  245. /package/dist/chunks/{chunk.CRHZY5XO.js.map → chunk.227MERHC.js.map} +0 -0
  246. /package/dist/chunks/{chunk.HCFLTHY5.js.map → chunk.2LWC5VGW.js.map} +0 -0
  247. /package/dist/chunks/{chunk.2TFU27NA.js.map → chunk.2YGY6DRR.js.map} +0 -0
  248. /package/dist/chunks/{chunk.OUUZOIRQ.js.map → chunk.34UKMOAN.js.map} +0 -0
  249. /package/dist/chunks/{chunk.AXD3NMM5.js.map → chunk.3G4ZJEZH.js.map} +0 -0
  250. /package/dist/chunks/{chunk.TP6XWU37.js.map → chunk.3UCVZ2N3.js.map} +0 -0
  251. /package/dist/chunks/{chunk.DDI5MPRL.js.map → chunk.44QQS6VO.js.map} +0 -0
  252. /package/dist/chunks/{chunk.VS3IUNIR.js.map → chunk.46QGGYGR.js.map} +0 -0
  253. /package/dist/chunks/{chunk.ARA77UC2.js.map → chunk.4EGE74LM.js.map} +0 -0
  254. /package/dist/chunks/{chunk.BM2VNDQB.js.map → chunk.4PCC4RLB.js.map} +0 -0
  255. /package/dist/chunks/{chunk.OVJCBGVR.js.map → chunk.55XHHV7Z.js.map} +0 -0
  256. /package/dist/chunks/{chunk.YOZVW5AL.js.map → chunk.56DHDBEB.js.map} +0 -0
  257. /package/dist/chunks/{chunk.53H7VH7O.js.map → chunk.56EDYG6B.js.map} +0 -0
  258. /package/dist/chunks/{chunk.2BPX7N5A.js.map → chunk.5C2RFLFS.js.map} +0 -0
  259. /package/dist/chunks/{chunk.OQ6TRGBW.js.map → chunk.62CAR5MG.js.map} +0 -0
  260. /package/dist/chunks/{chunk.6TZ2DFAZ.js.map → chunk.6JBICFHU.js.map} +0 -0
  261. /package/dist/chunks/{chunk.H6OFPF2U.js.map → chunk.6VVYMYDJ.js.map} +0 -0
  262. /package/dist/chunks/{chunk.MEU2VJRI.js.map → chunk.73DAHCC3.js.map} +0 -0
  263. /package/dist/chunks/{chunk.WQHJNOCS.js.map → chunk.73KA7UX5.js.map} +0 -0
  264. /package/dist/chunks/{chunk.S3U3H5YM.js.map → chunk.7AWK33AC.js.map} +0 -0
  265. /package/dist/chunks/{chunk.57O3GW6F.js.map → chunk.7DYLS7V5.js.map} +0 -0
  266. /package/dist/chunks/{chunk.C3OEY3C3.js.map → chunk.7E7CVZ43.js.map} +0 -0
  267. /package/dist/chunks/{chunk.E2LK6CZQ.js.map → chunk.7GT7PLXZ.js.map} +0 -0
  268. /package/dist/chunks/{chunk.NUIJATJY.js.map → chunk.7R4JCT5J.js.map} +0 -0
  269. /package/dist/chunks/{chunk.F6VSTKR4.js.map → chunk.7WCAKMAK.js.map} +0 -0
  270. /package/dist/chunks/{chunk.LXMXCA3A.js.map → chunk.A4ZAJ37W.js.map} +0 -0
  271. /package/dist/chunks/{chunk.ZD664COV.js.map → chunk.AL4FWF4H.js.map} +0 -0
  272. /package/dist/chunks/{chunk.O72UJFII.js.map → chunk.AXBCLZGS.js.map} +0 -0
  273. /package/dist/chunks/{chunk.TCP5IT3F.js.map → chunk.BBLILCDY.js.map} +0 -0
  274. /package/dist/chunks/{chunk.TCKDCA72.js.map → chunk.BQDQ2XF4.js.map} +0 -0
  275. /package/dist/chunks/{chunk.4MFDZDGQ.js.map → chunk.BSMGYXJY.js.map} +0 -0
  276. /package/dist/chunks/{chunk.LBAZSXTY.js.map → chunk.BU5O7KW4.js.map} +0 -0
  277. /package/dist/chunks/{chunk.BFRV22TW.js.map → chunk.C3GOUZVH.js.map} +0 -0
  278. /package/dist/chunks/{chunk.OCD5GCRS.js.map → chunk.E2NPS5ZN.js.map} +0 -0
  279. /package/dist/chunks/{chunk.ZC2XDIU3.js.map → chunk.E3KQWTHA.js.map} +0 -0
  280. /package/dist/chunks/{chunk.QFHIRCPA.js.map → chunk.EV64WMJD.js.map} +0 -0
  281. /package/dist/chunks/{chunk.QZLUMB3K.js.map → chunk.F5XNF33L.js.map} +0 -0
  282. /package/dist/chunks/{chunk.C5HUAF7E.js.map → chunk.F7AAPYYY.js.map} +0 -0
  283. /package/dist/chunks/{chunk.BUDFIDON.js.map → chunk.G4PY4E62.js.map} +0 -0
  284. /package/dist/chunks/{chunk.JTSBAJHO.js.map → chunk.G6CLSRWS.js.map} +0 -0
  285. /package/dist/chunks/{chunk.F4PPYWD2.js.map → chunk.GWVD6JWM.js.map} +0 -0
  286. /package/dist/chunks/{chunk.C37WAG5S.js.map → chunk.HCLG3RID.js.map} +0 -0
  287. /package/dist/chunks/{chunk.UZDYMCG5.js.map → chunk.HMPLHOEC.js.map} +0 -0
  288. /package/dist/chunks/{chunk.VJ76QTIO.js.map → chunk.IKAS4HSG.js.map} +0 -0
  289. /package/dist/chunks/{chunk.UA5JN2HT.js.map → chunk.IN2KZ2JM.js.map} +0 -0
  290. /package/dist/chunks/{chunk.J3UFKDWS.js.map → chunk.IQ23XRJD.js.map} +0 -0
  291. /package/dist/chunks/{chunk.F5J4LZRJ.js.map → chunk.IZUV4XRR.js.map} +0 -0
  292. /package/dist/chunks/{chunk.IHXL2BKO.js.map → chunk.JGPSIBNQ.js.map} +0 -0
  293. /package/dist/chunks/{chunk.PIBXQKPW.js.map → chunk.JJWV4MPY.js.map} +0 -0
  294. /package/dist/chunks/{chunk.LC74L3J4.js.map → chunk.JORU53XU.js.map} +0 -0
  295. /package/dist/chunks/{chunk.TZD6VAFM.js.map → chunk.KRG4ASUB.js.map} +0 -0
  296. /package/dist/chunks/{chunk.G43EW4MK.js.map → chunk.KY7HUUUM.js.map} +0 -0
  297. /package/dist/chunks/{chunk.4GD27HRW.js.map → chunk.LMUAOSNG.js.map} +0 -0
  298. /package/dist/chunks/{chunk.74EZT7OT.js.map → chunk.LZHDDLQQ.js.map} +0 -0
  299. /package/dist/chunks/{chunk.W6LCOQGH.js.map → chunk.MTRKAUI5.js.map} +0 -0
  300. /package/dist/chunks/{chunk.EXJFVNO7.js.map → chunk.N5CECNHU.js.map} +0 -0
  301. /package/dist/chunks/{chunk.QS5XGTGM.js.map → chunk.N634EXYZ.js.map} +0 -0
  302. /package/dist/chunks/{chunk.4PPBTCD5.js.map → chunk.NGCFEEST.js.map} +0 -0
  303. /package/dist/chunks/{chunk.VACWERCC.js.map → chunk.NISA5CE2.js.map} +0 -0
  304. /package/dist/chunks/{chunk.ITOPC2EK.js.map → chunk.NOESO6WV.js.map} +0 -0
  305. /package/dist/chunks/{chunk.2ZLTOKZD.js.map → chunk.NXKFEIMZ.js.map} +0 -0
  306. /package/dist/chunks/{chunk.QBQPIJL7.js.map → chunk.O66H6R5X.js.map} +0 -0
  307. /package/dist/chunks/{chunk.NIGNMNFF.js.map → chunk.O7S4ZPF7.js.map} +0 -0
  308. /package/dist/chunks/{chunk.XMDJPHX2.js.map → chunk.OFOF7ZOR.js.map} +0 -0
  309. /package/dist/chunks/{chunk.7WYASY7G.js.map → chunk.OTRVRUXO.js.map} +0 -0
  310. /package/dist/chunks/{chunk.66TRD7RB.js.map → chunk.P7N2RZPB.js.map} +0 -0
  311. /package/dist/chunks/{chunk.GPIHTDAN.js.map → chunk.PIC4O6Q2.js.map} +0 -0
  312. /package/dist/chunks/{chunk.VCVTS2XB.js.map → chunk.QXIZDYA4.js.map} +0 -0
  313. /package/dist/chunks/{chunk.VJ4GSZSK.js.map → chunk.R42AFTFA.js.map} +0 -0
  314. /package/dist/chunks/{chunk.6UPUUCTS.js.map → chunk.R52TN2LF.js.map} +0 -0
  315. /package/dist/chunks/{chunk.5YDUYSLU.js.map → chunk.RIPTU5BC.js.map} +0 -0
  316. /package/dist/chunks/{chunk.RXVYZJ7V.js.map → chunk.RPM55AQB.js.map} +0 -0
  317. /package/dist/chunks/{chunk.PY3JF3U5.js.map → chunk.RUQMHV5V.js.map} +0 -0
  318. /package/dist/chunks/{chunk.CITWLSAM.js.map → chunk.RVWB22MU.js.map} +0 -0
  319. /package/dist/chunks/{chunk.VAFUGCAL.js.map → chunk.RW5BBJ5K.js.map} +0 -0
  320. /package/dist/chunks/{chunk.MIFSAMBD.js.map → chunk.T7UT34YW.js.map} +0 -0
  321. /package/dist/chunks/{chunk.5BNOHKBQ.js.map → chunk.TEYI3WY6.js.map} +0 -0
  322. /package/dist/chunks/{chunk.4WGFUMJG.js.map → chunk.ULNCAAQN.js.map} +0 -0
  323. /package/dist/chunks/{chunk.J6T6Y2LH.js.map → chunk.V6HU7SQP.js.map} +0 -0
  324. /package/dist/chunks/{chunk.PWZSMYSB.js.map → chunk.VBE5RBH5.js.map} +0 -0
  325. /package/dist/chunks/{chunk.W662K66T.js.map → chunk.VFOXZ66D.js.map} +0 -0
  326. /package/dist/chunks/{chunk.D76KQXQ6.js.map → chunk.W56BX5IM.js.map} +0 -0
  327. /package/dist/chunks/{chunk.AFSEH45S.js.map → chunk.WCPQBS67.js.map} +0 -0
  328. /package/dist/chunks/{chunk.X2BJ2RWR.js.map → chunk.WIDU3JFX.js.map} +0 -0
  329. /package/dist/chunks/{chunk.BSZ4E3R4.js.map → chunk.XACPLHJJ.js.map} +0 -0
  330. /package/dist/chunks/{chunk.R7YGKYQ3.js.map → chunk.XRSPUMKG.js.map} +0 -0
  331. /package/dist/chunks/{chunk.N7HE4GWA.js.map → chunk.XVFMAH3Z.js.map} +0 -0
  332. /package/dist/chunks/{chunk.T6HR57NS.js.map → chunk.YGQ7VBLW.js.map} +0 -0
  333. /package/dist/chunks/{chunk.KCWPOD5N.js.map → chunk.YLY5MMDA.js.map} +0 -0
  334. /package/dist/chunks/{chunk.UTTBWNVC.js.map → chunk.Z2RDB23K.js.map} +0 -0
  335. /package/dist/chunks/{chunk.4AUUQXOV.js.map → chunk.Z52I4QC3.js.map} +0 -0
  336. /package/dist/chunks/{chunk.RTKKOQ4K.js.map → chunk.ZH6J636O.js.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.NLYVOJGK.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.IFRYWN3D.js";
12
+ } from "./chunk.62JHOU5H.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.2GFK6XTO.js";
@@ -78,4 +78,4 @@ __decorateClass([
78
78
  export {
79
79
  SynResizeObserver
80
80
  };
81
- //# sourceMappingURL=chunk.57O3GW6F.js.map
81
+ //# sourceMappingURL=chunk.7DYLS7V5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynergyElement
3
- } from "./chunk.IFRYWN3D.js";
3
+ } from "./chunk.62JHOU5H.js";
4
4
 
5
5
  // src/components/validate/utility.ts
6
6
  var WhitelistedSynergyFormEventNames = [
@@ -33,4 +33,4 @@ export {
33
33
  normalizeEventAttribute,
34
34
  getEventNameForElement
35
35
  };
36
- //# sourceMappingURL=chunk.C3OEY3C3.js.map
36
+ //# sourceMappingURL=chunk.7E7CVZ43.js.map
@@ -9,29 +9,29 @@ import {
9
9
  } from "./chunk.V4HPWQE7.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.QS5XGTGM.js";
12
+ } from "./chunk.N634EXYZ.js";
13
13
  import {
14
14
  SynSpinner
15
- } from "./chunk.ZD664COV.js";
15
+ } from "./chunk.AL4FWF4H.js";
16
16
  import {
17
17
  HasSlotController,
18
18
  getTextContent
19
19
  } from "./chunk.WVVQK5TE.js";
20
20
  import {
21
21
  SynIcon
22
- } from "./chunk.TP6XWU37.js";
23
- import {
24
- LocalizeController
25
- } from "./chunk.GIU3H3J3.js";
22
+ } from "./chunk.3UCVZ2N3.js";
26
23
  import {
27
24
  watch
28
25
  } from "./chunk.74IOULXM.js";
26
+ import {
27
+ LocalizeController
28
+ } from "./chunk.IPGLY3H4.js";
29
29
  import {
30
30
  component_styles_default
31
31
  } from "./chunk.NLYVOJGK.js";
32
32
  import {
33
33
  SynergyElement
34
- } from "./chunk.IFRYWN3D.js";
34
+ } from "./chunk.62JHOU5H.js";
35
35
  import {
36
36
  __decorateClass,
37
37
  __privateAdd,
@@ -241,4 +241,4 @@ SynMenuItem = __decorateClass([
241
241
  export {
242
242
  SynMenuItem
243
243
  };
244
- //# sourceMappingURL=chunk.E2LK6CZQ.js.map
244
+ //# sourceMappingURL=chunk.7GT7PLXZ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  addGlobalEventNotification,
3
3
  extractDefaultSettingsForElement,
4
4
  removeGlobalEventNotification
5
- } from "./chunk.JTSBAJHO.js";
5
+ } from "./chunk.G6CLSRWS.js";
6
6
  import {
7
7
  __privateAdd,
8
8
  __privateGet,
@@ -83,4 +83,4 @@ function enableDefaultSettings(name) {
83
83
  export {
84
84
  enableDefaultSettings
85
85
  };
86
- //# sourceMappingURL=chunk.NUIJATJY.js.map
86
+ //# sourceMappingURL=chunk.7R4JCT5J.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRange
3
- } from "./chunk.OCD5GCRS.js";
3
+ } from "./chunk.E2NPS5ZN.js";
4
4
 
5
5
  // src/components/range/range.ts
6
6
  var range_default = SynRange;
@@ -9,4 +9,4 @@ SynRange.define("syn-range");
9
9
  export {
10
10
  range_default
11
11
  };
12
- //# sourceMappingURL=chunk.F6VSTKR4.js.map
12
+ //# sourceMappingURL=chunk.7WCAKMAK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuItem
3
- } from "./chunk.E2LK6CZQ.js";
3
+ } from "./chunk.7GT7PLXZ.js";
4
4
 
5
5
  // src/components/menu-item/menu-item.ts
6
6
  var menu_item_default = SynMenuItem;
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
9
9
  export {
10
10
  menu_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.LXMXCA3A.js.map
12
+ //# sourceMappingURL=chunk.A4ZAJ37W.js.map
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk.JLXCLATV.js";
7
7
  import {
8
8
  LocalizeController
9
- } from "./chunk.GIU3H3J3.js";
9
+ } from "./chunk.IPGLY3H4.js";
10
10
  import {
11
11
  component_styles_default
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.IFRYWN3D.js";
15
+ } from "./chunk.62JHOU5H.js";
16
16
 
17
17
  // src/components/spinner/spinner.component.ts
18
18
  import { html } from "lit";
@@ -35,4 +35,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
35
35
  export {
36
36
  SynSpinner
37
37
  };
38
- //# sourceMappingURL=chunk.ZD664COV.js.map
38
+ //# sourceMappingURL=chunk.AL4FWF4H.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDrawer
3
- } from "./chunk.IZ3YBEWP.js";
3
+ } from "./chunk.W22XP6SZ.js";
4
4
 
5
5
  // src/components/drawer/drawer.ts
6
6
  var drawer_default = SynDrawer;
@@ -9,4 +9,4 @@ SynDrawer.define("syn-drawer");
9
9
  export {
10
10
  drawer_default
11
11
  };
12
- //# sourceMappingURL=chunk.O72UJFII.js.map
12
+ //# sourceMappingURL=chunk.AXBCLZGS.js.map
@@ -6,22 +6,22 @@ import {
6
6
  isBlurEvent,
7
7
  isInvalidEvent,
8
8
  normalizeEventAttribute
9
- } from "./chunk.C3OEY3C3.js";
9
+ } from "./chunk.7E7CVZ43.js";
10
10
  import {
11
11
  SynAlert
12
- } from "./chunk.W6LCOQGH.js";
13
- import {
14
- enableDefaultSettings
15
- } from "./chunk.NUIJATJY.js";
12
+ } from "./chunk.MTRKAUI5.js";
16
13
  import {
17
14
  watch
18
15
  } from "./chunk.74IOULXM.js";
16
+ import {
17
+ enableDefaultSettings
18
+ } from "./chunk.7R4JCT5J.js";
19
19
  import {
20
20
  component_styles_default
21
21
  } from "./chunk.NLYVOJGK.js";
22
22
  import {
23
23
  SynergyElement
24
- } from "./chunk.IFRYWN3D.js";
24
+ } from "./chunk.62JHOU5H.js";
25
25
  import {
26
26
  __decorateClass
27
27
  } from "./chunk.2GFK6XTO.js";
@@ -330,4 +330,4 @@ SynValidate = __decorateClass([
330
330
  export {
331
331
  SynValidate
332
332
  };
333
- //# sourceMappingURL=chunk.TCP5IT3F.js.map
333
+ //# sourceMappingURL=chunk.BBLILCDY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynNavItem
3
- } from "./chunk.S6G76KJP.js";
3
+ } from "./chunk.BZUKUJ36.js";
4
4
 
5
5
  // src/components/nav-item/nav-item.ts
6
6
  var nav_item_default = SynNavItem;
@@ -9,4 +9,4 @@ SynNavItem.define("syn-nav-item");
9
9
  export {
10
10
  nav_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.TCKDCA72.js.map
12
+ //# sourceMappingURL=chunk.BQDQ2XF4.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.NLYVOJGK.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.IFRYWN3D.js";
9
+ } from "./chunk.62JHOU5H.js";
10
10
  import {
11
11
  __decorateClass
12
12
  } from "./chunk.2GFK6XTO.js";
@@ -48,4 +48,4 @@ __decorateClass([
48
48
  export {
49
49
  SynRangeTick
50
50
  };
51
- //# sourceMappingURL=chunk.4MFDZDGQ.js.map
51
+ //# sourceMappingURL=chunk.BSMGYXJY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIcon
3
- } from "./chunk.TP6XWU37.js";
3
+ } from "./chunk.3UCVZ2N3.js";
4
4
 
5
5
  // src/components/icon/icon.ts
6
6
  var icon_default = SynIcon;
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
9
9
  export {
10
10
  icon_default
11
11
  };
12
- //# sourceMappingURL=chunk.LBAZSXTY.js.map
12
+ //# sourceMappingURL=chunk.BU5O7KW4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.SHCZO4KK.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.QZLUMB3K.js";
6
+ } from "./chunk.F5XNF33L.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.NLYVOJGK.js";
16
16
  import {
17
17
  SynergyElement
18
- } from "./chunk.IFRYWN3D.js";
18
+ } from "./chunk.62JHOU5H.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.2GFK6XTO.js";
@@ -65,7 +65,7 @@ var SynNavItem = class extends SynergyElement {
65
65
  }
66
66
  handleCurrentMarkedChild() {
67
67
  const sideNav = this.closest("syn-side-nav");
68
- if (!this.open || !!(sideNav == null ? void 0 : sideNav.rail)) {
68
+ if (!this.open || !!((sideNav == null ? void 0 : sideNav.variant) === "rail")) {
69
69
  this.currentMarkedChild = this.getAllNestedNavItems(this.childrenSlot).some((item) => item.current);
70
70
  }
71
71
  }
@@ -126,17 +126,19 @@ var SynNavItem = class extends SynergyElement {
126
126
  }
127
127
  handleWidth(entries) {
128
128
  entries.forEach((entry) => {
129
- if (entry.contentRect.width < 100) {
130
- const hasPrefix = this.hasSlotController.test("prefix");
131
- this.showPrefixOnly = hasPrefix;
132
- } else {
133
- this.showPrefixOnly = false;
134
- }
135
- if (entry.contentRect.height > 48) {
136
- this.isMultiLine = true;
137
- } else {
138
- this.isMultiLine = false;
139
- }
129
+ requestAnimationFrame(() => {
130
+ if (entry.contentRect.width < 100) {
131
+ const hasPrefix = this.hasSlotController.test("prefix");
132
+ this.showPrefixOnly = hasPrefix;
133
+ } else {
134
+ this.showPrefixOnly = false;
135
+ }
136
+ if (entry.contentRect.height > 48) {
137
+ this.isMultiLine = true;
138
+ } else {
139
+ this.isMultiLine = false;
140
+ }
141
+ });
140
142
  });
141
143
  }
142
144
  handleHorizontalChange() {
@@ -196,7 +198,7 @@ var SynNavItem = class extends SynergyElement {
196
198
  const isLink = this.isLink();
197
199
  const isAccordion = this.isAccordion();
198
200
  const sideNav = this.closest("syn-side-nav");
199
- const showCurrentIndicatorForNested = this.currentMarkedChild && !this.open || this.currentMarkedChild && this.open && !!(sideNav == null ? void 0 : sideNav.rail) && !(sideNav == null ? void 0 : sideNav.open);
201
+ const showCurrentIndicatorForNested = this.currentMarkedChild && !this.open || this.currentMarkedChild && this.open && !!((sideNav == null ? void 0 : sideNav.variant) === "rail") && !(sideNav == null ? void 0 : sideNav.open);
200
202
  let tag = literal`button`;
201
203
  if (isAccordion) tag = literal`summary`;
202
204
  else if (isLink) tag = literal`a`;
@@ -348,4 +350,4 @@ __decorateClass([
348
350
  export {
349
351
  SynNavItem
350
352
  };
351
- //# sourceMappingURL=chunk.S6G76KJP.js.map
353
+ //# sourceMappingURL=chunk.BZUKUJ36.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/nav-item/nav-item.component.ts"],
4
+ "sourcesContent": ["import { classMap } from 'lit/directives/class-map.js';\nimport type { CSSResultGroup, PropertyValues } from 'lit';\nimport { html, literal } from 'lit/static-html.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport SynDivider from '../divider/divider.component.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { watch } from '../../internal/watch.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './nav-item.styles.js';\n\n/**\n * @summary Flexible button / link component that can be used to quickly build navigations.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-nav-item--docs\n * Takes one of 3 forms:\n * - button (default),\n * - link (overrides button if a 'href' is provided),\n * - or accordion (overrides all other if 'children' slot is defined).\n *\n * @status stable\n * @since 1.14.0\n *\n * @dependency syn-divider\n *\n * @event syn-show - Emitted when the navigation item:\n * - has children,\n * - and is clicked while HTML details are hidden.\n *\n * @event syn-hide - Emitted when the navigation item:\n * - has children,\n * - and is clicked while HTML details are shown.\n *\n * @event syn-blur - Emitted when the button loses focus.\n * @event syn-focus - Emitted when the button gains focus.\n *\n * @slot - The navigation item's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n * @slot children - Slot used to provide nested child navigation elements.\n * If provided, details and summary elements will be used.\n * A chevron will be shown on the right side regardless of the chevron property.\n *\n * @csspart base - The component's base wrapper including children.\n * @csspart children - The wrapper that holds the children\n * @csspart content-wrapper - The component's content wrapper.\n * @csspart content - The component's content excluding children.\n * @csspart current-indicator - The indicator used when current is set to true\n * @csspart chevron - The container that wraps the chevron.\n * @csspart details - The details element rendered when there are children available\n * @csspart divider - The components optional top divider.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n *\n * @cssproperty --indentation - Numeric value, indicating the level the item is placed at.\n * @cssproperty --indentation-stepping - The amount of pixels each level will indent.\n * @cssproperty --display-children - Display property of the children. Defaults to \"contents\"\n */\nexport default class SynNavItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'children', 'prefix', 'suffix');\n\n private resizeObserver: ResizeObserver;\n\n private mutationObserver: MutationObserver;\n\n /**\n * The current focus state\n */\n @state() private hasFocus = false;\n\n /**\n * Only the prefix should be displayed\n */\n @state() private showPrefixOnly = false;\n\n /**\n * A nested nav-item is marked as current\n */\n @state() private currentMarkedChild = false;\n\n /**\n * The content area is multiline\n */\n @state() private isMultiLine = false;\n\n /**\n * Reference to the children slot\n */\n @query('slot[name=\"children\"]') childrenSlot: HTMLSlotElement;\n\n /**\n * Reference to the outermost button\n */\n @query('.nav-item') control: HTMLButtonElement | HTMLLinkElement | HTMLElement;\n\n /**\n * The navigation item's href target.\n * If provided, the navigation item will use an anchor tag otherwise it will use a button tag.\n *\n * If the 'children' slot is provided, the navigation item will ignore the 'href' and use\n * accordion behavior.\n */\n @property({ reflect: true, type: String }) href: string;\n\n /** Tells the browser where to open the link. Only used when `href` is present. */\n @property() target: '_blank' | '_parent' | '_self' | '_top';\n\n /**\n * When using `href`, this attribute will map to the underlying link's `rel` attribute.\n * Unlike regular links, the default is `noreferrer noopener` to prevent security exploits.\n *\n * However, if you're using `target` to point to a specific tab/window,\n * this will prevent that from working correctly.\n *\n * You can remove or change the default value by setting the attribute\n * to an empty string or a value of your choice, respectively.\n */\n @property() rel = 'noreferrer noopener';\n\n /*\n * Indicates that the navigation item is currently selected.\n * The aria-current attribute is set to \"page\" on the host if true.\n */\n @property({ reflect: true, type: Boolean }) current = false;\n\n /**\n * Disables the navigation item.\n */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /**\n * The navigation item's orientation.\n */\n @property({ reflect: true, type: Boolean }) horizontal = false;\n\n /**\n * Appends a chevron to the right side of a navigation item.\n * Only used if `horizontal` is false.\n */\n @property({ reflect: true, type: Boolean }) chevron = false;\n\n /**\n * Reflects HTML details element state and allows control from parent.\n * Only used if `horizontal` is false and `children` is defined.\n */\n @property({ reflect: true, type: Boolean }) open = false;\n\n /**\n * Toggle to true to show a divider above the element.\n * Only available when horizontal is false.\n */\n @property({ reflect: true, type: Boolean }) divider = false;\n\n private isButton(): boolean {\n return !this.href && !this.hasSlotController.test('children');\n }\n\n private isLink(): boolean {\n return !!this.href && !this.hasSlotController.test('children');\n }\n\n private isAccordion(): boolean {\n return this.hasSlotController.test('children');\n }\n\n // eslint-disable-next-line class-methods-use-this\n private getNavItemChildren(childrenSlot: HTMLSlotElement): SynNavItem[] {\n return Array.from(\n childrenSlot?.assignedElements({\n flatten: true,\n }) as HTMLElement[]\n || [],\n )\n .map(slottedElement => (slottedElement.tagName.toLowerCase() === 'syn-nav-item' ? slottedElement as SynNavItem : Array.from(slottedElement.querySelectorAll<SynNavItem>(':scope > syn-nav-item'))))\n .flat();\n }\n\n private getAllNestedNavItems(childrenSlot: HTMLSlotElement): SynNavItem[] {\n const allNavItems = this.getNavItemChildren(childrenSlot);\n\n const nestedNavItems = allNavItems\n .map(item => item.getAllNestedNavItems(item.childrenSlot))\n .flat();\n\n return allNavItems.concat(nestedNavItems);\n }\n\n private handleCurrentMarkedChild() {\n const sideNav = this.closest('syn-side-nav');\n\n if (!this.open || !!(sideNav?.variant === 'rail')) {\n this.currentMarkedChild = this\n .getAllNestedNavItems(this.childrenSlot)\n .some(item => item.current);\n }\n }\n\n private handleClickButton(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n private handleClickSummary(e: MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n if (this.disabled) return;\n\n if (this.open) {\n this.hideDetails();\n } else {\n this.showDetails();\n }\n }\n\n private hideDetails() {\n this.open = false;\n this.emit('syn-hide', {\n cancelable: true,\n });\n }\n\n private showDetails() {\n this.open = true;\n this.emit('syn-show', {\n cancelable: true,\n });\n }\n\n /**\n * Automatically add the correct level of indentation for sub items if none is provided\n */\n private handleSlotChange() {\n const computedStyle = getComputedStyle(this);\n const lengthStyle = computedStyle.length;\n\n // This workaround is needed for firefox.\n // When the nav-item is used inside a custom-element with a custom-element in it\n // (e.g syn-side-nav with integrated syn-drawer), the getComputedStyle property is not yet there\n // Moving it in the next render cycle works.\n // Probably related to the firefox special behavior. See: https://caniuse.com/mdn-api_window_getcomputedstyle\n if (lengthStyle === 0) {\n setTimeout(() => {\n this.handleSlotChange();\n });\n return;\n }\n\n this.handleCurrentMarkedChild();\n\n // Use the current level of the component\n const level = computedStyle.getPropertyValue('--indentation');\n\n // We allow at most 3 levels\n const nextLevel = Math.min(parseInt(level, 10) + 1, 2);\n\n this.getNavItemChildren(this.childrenSlot)\n .forEach(item => {\n item.style.setProperty('--indentation', nextLevel.toFixed(0));\n });\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleWidth(entries: ResizeObserverEntry[]) {\n entries.forEach(entry => {\n // The \"requestAnimationFrame\" seems necessary for being able to test\n // <syn-side-nav variant=\"sticky\"/> without errors. Otherwise we get an \"ResizeObserver loop\n // completed with undelivered notifications.\" error in the test.\n // The resize observer callback retriggers a new nav-item render cycle, because of the\n // \"this.showPrefixOnly\". Via \"requestAnimationFrame\" we get rid of it. See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver#observation_errors\n requestAnimationFrame(() => {\n if (entry.contentRect.width < 100) {\n const hasPrefix = this.hasSlotController.test('prefix');\n this.showPrefixOnly = hasPrefix;\n } else {\n this.showPrefixOnly = false;\n }\n\n if (entry.contentRect.height > 48) {\n this.isMultiLine = true;\n } else {\n this.isMultiLine = false;\n }\n });\n });\n }\n\n // Make sure the resize observer is disconnected when the horizontal property is set to true\n // In this case we, never want it to use prefix only mode\n @watch('horizontal', { waitUntilFirstUpdate: true })\n handleHorizontalChange() {\n if (this.horizontal) {\n this.resizeObserver.disconnect();\n } else {\n this.resizeObserver.observe(this);\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver((entries) => this.handleWidth(entries));\n if (!this.horizontal) {\n this.resizeObserver.observe(this);\n }\n }\n\n firstUpdated(_changedProperties: PropertyValues) {\n super.firstUpdated(_changedProperties);\n this.mutationObserver = new MutationObserver(() => {\n if (this.childrenSlot) {\n this.handleCurrentMarkedChild();\n }\n });\n\n this.mutationObserver.observe(this, {\n attributeFilter: ['current', 'open'],\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.resizeObserver?.disconnect();\n this.mutationObserver?.disconnect();\n }\n\n /**\n * Removes focus from the button.\n */\n blur() {\n this.control.blur();\n }\n\n /**\n * Simulates a click on the nav-items button, link or summary.\n */\n click() {\n this.control.click();\n }\n\n /**\n * Sets focus on the nav-item\n */\n focus(options?: FocusOptions) {\n this.control.focus(options);\n }\n\n // eslint-disable-next-line complexity\n render() {\n const isButton = this.isButton();\n const isLink = this.isLink();\n const isAccordion = this.isAccordion();\n\n const sideNav = this.closest('syn-side-nav');\n\n const showCurrentIndicatorForNested = (this.currentMarkedChild && !this.open)\n || (this.currentMarkedChild && this.open && !!(sideNav?.variant === 'rail') && !sideNav?.open);\n\n // Defines the initial tag to use for the root component\n let tag = literal`button`;\n if (isAccordion) tag = literal`summary`;\n else if (isLink) tag = literal`a`;\n\n const hasChevron = (this.chevron || isAccordion) && !this.horizontal;\n\n // Define the click method to use\n let clickAction;\n if (isAccordion) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n clickAction = this.handleClickSummary;\n } else if (isButton) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n clickAction = this.handleClickButton;\n }\n\n /* eslint-disable lit/no-invalid-html */\n /* eslint-disable lit/binding-positions */\n /* eslint-disable @typescript-eslint/unbound-method */\n const root = html`\n <${tag}\n aria-controls=${ifDefined(isAccordion ? 'navigation-item-details' : undefined)}\n aria-current=${ifDefined(this.current ? 'page' : undefined)}\n aria-disabled=${this.disabled}\n @blur=${this.handleBlur}\n class=${classMap({\n 'nav-item': true,\n 'nav-item--current': this.current || showCurrentIndicatorForNested,\n 'nav-item--disabled': this.disabled,\n 'nav-item--focused': this.hasFocus,\n 'nav-item--has-content': this.hasSlotController.test('[default]'),\n 'nav-item--has-prefix': this.hasSlotController.test('prefix'),\n 'nav-item--has-suffix': this.hasSlotController.test('suffix'),\n 'nav-item--horizontal': this.horizontal,\n 'nav-item--is-link': isLink,\n 'nav-item--multi-line': this.isMultiLine,\n 'nav-item--show-prefix-only': this.showPrefixOnly,\n 'nav-item--vertical': !this.horizontal,\n 'nav-item-is-accordion': isAccordion,\n })}\n @click=${clickAction}\n ?disabled=${ifDefined(isLink ? undefined : this.disabled)}\n @focus=${this.handleFocus}\n href=${ifDefined(isLink ? this.href : undefined)}\n part=\"base\"\n role=${isLink ? 'link' : 'button'}\n rel=${ifDefined(isLink ? this.rel : undefined)}\n tabindex=${this.disabled ? '-1' : '0'}\n target=${ifDefined(isLink ? this.target : undefined)}\n >\n\n ${this.divider && !this.horizontal\n ? html`<syn-divider class=\"divider\" part=\"divider\"></syn-divider>`\n : ''\n }\n\n <div class=\"nav-item__content\" part=\"content-wrapper\">\n <slot name=\"prefix\" part=\"prefix\" class=\"nav-item__prefix\"></slot>\n\n <div part=\"content-container\" class=\"nav-item__content-container\">\n <slot part=\"content\"></slot>\n </div>\n\n <slot name=\"suffix\" part=\"suffix\" class=\"nav-item__suffix\"></slot>\n\n ${hasChevron ? html`\n <syn-icon\n class=${classMap({\n 'nav-item__chevron': true,\n 'nav-item__chevron-open': this.open,\n })}\n color=\"currentColor\"\n library=\"system\"\n name=\"chevron-down\"\n part=\"chevron\"\n /></syn-icon>`\n : ''}\n\n <div\n class=${classMap({\n 'current-indicator': true,\n 'current-indicator--disabled': this.disabled,\n 'current-indicator--visible': this.current || showCurrentIndicatorForNested,\n })}\n part=\"current-indicator\"\n >\n </div>\n </div>\n\n </${tag}>\n `;\n /* eslint-enable lit/no-invalid-html */\n /* eslint-enable lit/binding-positions */\n\n return isAccordion ? html`\n <details\n id=\"navigation-item-details\"\n ?open=${this.open}\n part=\"details\"\n >\n ${root}\n <slot\n class=\"children\"\n name=\"children\"\n part=\"children\"\n @slotchange=${this.handleSlotChange}\n ></slot>\n </details>\n ` : root;\n /* eslint-enable @typescript-eslint/unbound-method */\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AAEzB,SAAS,MAAM,eAAe;AAC9B,SAAS,UAAU,OAAO,aAAa;AACvC,SAAS,iBAAiB;AAsD1B,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,YAAY,UAAU,QAAQ;AASnG,SAAQ,WAAW;AAKnB,SAAQ,iBAAiB;AAKzB,SAAQ,qBAAqB;AAK7B,SAAQ,cAAc;AAkCnB,eAAM;AAM0B,mBAAU;AAKV,oBAAW;AAKX,sBAAa;AAMb,mBAAU;AAMV,gBAAO;AAMP,mBAAU;AAAA;AAAA,EAE9C,WAAoB;AAC1B,WAAO,CAAC,KAAK,QAAQ,CAAC,KAAK,kBAAkB,KAAK,UAAU;AAAA,EAC9D;AAAA,EAEQ,SAAkB;AACxB,WAAO,CAAC,CAAC,KAAK,QAAQ,CAAC,KAAK,kBAAkB,KAAK,UAAU;AAAA,EAC/D;AAAA,EAEQ,cAAuB;AAC7B,WAAO,KAAK,kBAAkB,KAAK,UAAU;AAAA,EAC/C;AAAA;AAAA,EAGQ,mBAAmB,cAA6C;AACtE,WAAO,MAAM;AAAA,OACX,6CAAc,iBAAiB;AAAA,QAC7B,SAAS;AAAA,MACX,OACG,CAAC;AAAA,IACN,EACG,IAAI,oBAAmB,eAAe,QAAQ,YAAY,MAAM,iBAAiB,iBAA+B,MAAM,KAAK,eAAe,iB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cAAc,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAxPhC,WAyPnB;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.YOZVW5AL.js";
3
+ } from "./chunk.56DHDBEB.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.BFRV22TW.js.map
12
+ //# sourceMappingURL=chunk.C3GOUZVH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTooltip
3
- } from "./chunk.X2BJ2RWR.js";
3
+ } from "./chunk.WIDU3JFX.js";
4
4
  import {
5
5
  arraysDiffer,
6
6
  getNormalizedValueFromClientX,
@@ -26,16 +26,16 @@ import {
26
26
  } from "./chunk.WVVQK5TE.js";
27
27
  import {
28
28
  LocalizeController
29
- } from "./chunk.GIU3H3J3.js";
29
+ } from "./chunk.IPGLY3H4.js";
30
30
  import {
31
31
  enableDefaultSettings
32
- } from "./chunk.NUIJATJY.js";
32
+ } from "./chunk.7R4JCT5J.js";
33
33
  import {
34
34
  component_styles_default
35
35
  } from "./chunk.NLYVOJGK.js";
36
36
  import {
37
37
  SynergyElement
38
- } from "./chunk.IFRYWN3D.js";
38
+ } from "./chunk.62JHOU5H.js";
39
39
  import {
40
40
  __decorateClass,
41
41
  __privateAdd,
@@ -716,4 +716,4 @@ SynRange = __decorateClass([
716
716
  export {
717
717
  SynRange
718
718
  };
719
- //# sourceMappingURL=chunk.OCD5GCRS.js.map
719
+ //# sourceMappingURL=chunk.E2NPS5ZN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDropdown
3
- } from "./chunk.2ZLTOKZD.js";
3
+ } from "./chunk.NXKFEIMZ.js";
4
4
 
5
5
  // src/components/dropdown/dropdown.ts
6
6
  var dropdown_default = SynDropdown;
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
9
9
  export {
10
10
  dropdown_default
11
11
  };
12
- //# sourceMappingURL=chunk.ZC2XDIU3.js.map
12
+ //# sourceMappingURL=chunk.E3KQWTHA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBreadcrumbItem
3
- } from "./chunk.XMDJPHX2.js";
3
+ } from "./chunk.OFOF7ZOR.js";
4
4
 
5
5
  // src/components/breadcrumb-item/breadcrumb-item.ts
6
6
  var breadcrumb_item_default = SynBreadcrumbItem;
@@ -9,4 +9,4 @@ SynBreadcrumbItem.define("syn-breadcrumb-item");
9
9
  export {
10
10
  breadcrumb_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.QFHIRCPA.js.map
12
+ //# sourceMappingURL=chunk.EV64WMJD.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.IFRYWN3D.js";
15
+ } from "./chunk.62JHOU5H.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -43,4 +43,4 @@ __decorateClass([
43
43
  export {
44
44
  SynDivider
45
45
  };
46
- //# sourceMappingURL=chunk.QZLUMB3K.js.map
46
+ //# sourceMappingURL=chunk.F5XNF33L.js.map
@@ -6,19 +6,19 @@ import {
6
6
  } from "./chunk.43YNZAWL.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.BSZ4E3R4.js";
10
- import {
11
- LocalizeController
12
- } from "./chunk.GIU3H3J3.js";
9
+ } from "./chunk.XACPLHJJ.js";
13
10
  import {
14
11
  watch
15
12
  } from "./chunk.74IOULXM.js";
13
+ import {
14
+ LocalizeController
15
+ } from "./chunk.IPGLY3H4.js";
16
16
  import {
17
17
  component_styles_default
18
18
  } from "./chunk.NLYVOJGK.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.IFRYWN3D.js";
21
+ } from "./chunk.62JHOU5H.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.2GFK6XTO.js";
@@ -118,4 +118,4 @@ __decorateClass([
118
118
  export {
119
119
  SynTab
120
120
  };
121
- //# sourceMappingURL=chunk.C5HUAF7E.js.map
121
+ //# sourceMappingURL=chunk.F7AAPYYY.js.map
@@ -0,0 +1,165 @@
1
+ // src/components/side-nav/side-nav.styles.ts
2
+ import { css } from "lit";
3
+ var side_nav_styles_default = css`
4
+ :host {
5
+ --side-nav-open-width: 320px;
6
+ --side-nav-rail-width: 72px;
7
+
8
+ display: block;
9
+ }
10
+
11
+ /**
12
+ * Syn-drawer styling
13
+ */
14
+ .side-nav__drawer {
15
+ --size: var(--side-nav-open-width);
16
+ }
17
+
18
+ .side-nav__drawer::part(base){
19
+ position: absolute;
20
+ z-index: var(--syn-z-index-drawer);
21
+ }
22
+
23
+ .side-nav__drawer::part(body),
24
+ .side-nav__drawer::part(footer) {
25
+ padding: 0;
26
+ }
27
+
28
+ /**
29
+ * Overlay
30
+ */
31
+ .side-nav__drawer::part(overlay){
32
+ position: absolute;
33
+ }
34
+
35
+
36
+
37
+
38
+ /****
39
+ *
40
+ * variant="default"
41
+ *
42
+ ****/
43
+
44
+ /* Side nav should have a width, so it behave correct in an e.g. display flex context */
45
+ .side-nav.side-nav--fix.side-nav--open {
46
+ width: var(--side-nav-open-width);
47
+ }
48
+
49
+ /* Fixed mode */
50
+ .side-nav--fix .side-nav__drawer::part(overlay){
51
+ display: block;
52
+ }
53
+
54
+
55
+
56
+
57
+ /****
58
+ *
59
+ * variant="rail"
60
+ *
61
+ ****/
62
+
63
+ /*
64
+ * Side nav should have a width, so it behave correct in an e.g. display flex context.
65
+ * in variant="rail" the width is always the small rail width, because there should be no shrinking possible of the main content area.
66
+ */
67
+ .side-nav.side-nav--rail {
68
+ width: var(--side-nav-rail-width);
69
+ }
70
+
71
+ /* Adapt the width of the drawer */
72
+ :not(.side-nav--open).side-nav--rail .side-nav__drawer {
73
+ --size: var(--side-nav-rail-width);
74
+ }
75
+
76
+ /* Show the overlay of the drawer on touch devices */
77
+ .side-nav--open.side-nav--rail.side-nav--touch .side-nav__drawer::part(overlay){
78
+ display: block;
79
+ }
80
+
81
+ /* Avoid multiline flickering on open and close animation */
82
+ .side-nav--rail.side-nav--animation {
83
+ white-space: nowrap;
84
+ }
85
+
86
+ /* Hide the scrollbars in closed variant="rail" */
87
+ :not(.side-nav--open).side-nav--rail .side-nav__drawer::part(body){
88
+ overflow: hidden;
89
+ }
90
+
91
+
92
+
93
+
94
+ /****
95
+ *
96
+ * variant="sticky"
97
+ *
98
+ ****/
99
+
100
+ /*
101
+ * Side nav should have a width, so it behave correct in an e.g. display flex context.
102
+ * In variant="sticky" the width is the rail width if closed and the open width if open.
103
+ */
104
+ .side-nav.side-nav--sticky {
105
+ width: var(--side-nav-open-width);
106
+ }
107
+
108
+ .side-nav.side-nav--sticky:not(.side-nav--open) {
109
+ width: var(--side-nav-rail-width);
110
+ }
111
+
112
+ /* Adapt the width of the drawer */
113
+ :not(.side-nav--open).side-nav--sticky .side-nav__drawer {
114
+ --size: var(--side-nav-rail-width);
115
+ }
116
+
117
+
118
+ /*
119
+ * For touch devices the content should not shrink in a flex container
120
+ */
121
+ .side-nav--sticky.side-nav--touch {
122
+ width: var(--side-nav-rail-width);
123
+ }
124
+
125
+ /* Avoid multiline flickering on open and close animation */
126
+ .side-nav--sticky.side-nav--animation {
127
+ white-space: nowrap;
128
+ }
129
+
130
+ /* Show the overlay of the drawer on touch devices */
131
+ .side-nav--open.side-nav--sticky.side-nav--touch .side-nav__drawer::part(overlay){
132
+ display: block;
133
+ }
134
+
135
+
136
+ /* Hide the scrollbars in closed variant="sticky" */
137
+ :not(.side-nav--open).side-nav--sticky .side-nav__drawer::part(body){
138
+ overflow: hidden;
139
+ }
140
+
141
+
142
+ .side-nav__toggle-icon > syn-icon {
143
+ font-size: var(--syn-font-size-x-large);
144
+ min-width: var(--syn-font-size-x-large);
145
+ }
146
+
147
+ /****
148
+ *
149
+ * Footer divider
150
+ *
151
+ ****/
152
+ .side-nav__footer-divider{
153
+ --spacing: 0;
154
+ --color: var(--syn-color-neutral-300);
155
+ }
156
+
157
+ :not(.side-nav--open).side-nav--rail ::slotted(syn-nav-item){
158
+ --display-children: none;
159
+ }
160
+ `;
161
+
162
+ export {
163
+ side_nav_styles_default
164
+ };
165
+ //# sourceMappingURL=chunk.FWLUR33I.js.map