@synergy-design-system/components 2.6.0 → 2.7.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 (421) hide show
  1. package/dist/chunks/{chunk.WO6VXGWQ.js → chunk.236RSW67.js} +6 -11
  2. package/dist/chunks/{chunk.WO6VXGWQ.js.map → chunk.236RSW67.js.map} +1 -1
  3. package/dist/chunks/{chunk.LGCK4I4E.js → chunk.2DWAWNCX.js} +2 -2
  4. package/dist/chunks/{chunk.HLQ75E45.js → chunk.2GFK6XTO.js} +13 -35
  5. package/dist/chunks/{chunk.UCZUWSO5.js → chunk.2H5VZMM6.js} +6 -6
  6. package/dist/chunks/{chunk.GKKENNQE.js → chunk.2RCFWUMX.js} +10 -10
  7. package/dist/chunks/{chunk.SNLPFVBC.js → chunk.35V3TAOT.js} +11 -2
  8. package/dist/chunks/{chunk.SNLPFVBC.js.map → chunk.35V3TAOT.js.map} +2 -2
  9. package/dist/chunks/{chunk.72I324LK.js → chunk.3BYNCSYI.js} +10 -8
  10. package/dist/chunks/chunk.3BYNCSYI.js.map +7 -0
  11. package/dist/chunks/{chunk.VB7U5SK7.js → chunk.3TAWE2BI.js} +2 -2
  12. package/dist/chunks/{chunk.GVPQNGY3.js → chunk.3TEIFNRP.js} +9 -9
  13. package/dist/chunks/{chunk.NREQNXC6.js → chunk.4WDBHKEV.js} +9 -12
  14. package/dist/chunks/{chunk.NREQNXC6.js.map → chunk.4WDBHKEV.js.map} +1 -1
  15. package/dist/chunks/{chunk.2VMSUMKU.js → chunk.4ZABXKYI.js} +2 -2
  16. package/dist/chunks/{chunk.RX7A4EQ2.js → chunk.5732DMBC.js} +9 -1
  17. package/dist/chunks/chunk.5732DMBC.js.map +7 -0
  18. package/dist/chunks/{chunk.F6HHFAPB.js → chunk.5WTYMY7E.js} +6 -6
  19. package/dist/chunks/{chunk.CGOHWVSA.js → chunk.6I4QZHQ6.js} +4 -4
  20. package/dist/chunks/{chunk.CGOHWVSA.js.map → chunk.6I4QZHQ6.js.map} +2 -2
  21. package/dist/chunks/{chunk.J2EUQLBR.js → chunk.6OCJR2YI.js} +5 -5
  22. package/dist/chunks/{chunk.6UAOF7WN.js → chunk.72HIKLQG.js} +24 -3
  23. package/dist/chunks/chunk.72HIKLQG.js.map +7 -0
  24. package/dist/chunks/{chunk.6BJDFV76.js → chunk.72KEPLD4.js} +2 -2
  25. package/dist/chunks/{chunk.ITKS5ZOS.js → chunk.74IOULXM.js} +2 -2
  26. package/dist/chunks/{chunk.AQJKRHVT.js → chunk.7B5QDYTK.js} +11 -15
  27. package/dist/chunks/chunk.7B5QDYTK.js.map +7 -0
  28. package/dist/chunks/{chunk.AQ3OGEJ7.js → chunk.7GVODRHO.js} +2 -2
  29. package/dist/chunks/{chunk.536NCWEA.js → chunk.7I5Q3H5W.js} +2 -2
  30. package/dist/chunks/{chunk.IJ67S5B6.js → chunk.7J54DP5U.js} +2 -2
  31. package/dist/chunks/{chunk.LH75WEHB.js → chunk.7YRTMCIL.js} +18 -18
  32. package/dist/chunks/chunk.7YRTMCIL.js.map +7 -0
  33. package/dist/chunks/{chunk.FMSA5VHT.js → chunk.A3OYJILJ.js} +2 -2
  34. package/dist/chunks/{chunk.H43NLW3K.js → chunk.A7S3RARM.js} +2 -2
  35. package/dist/chunks/{chunk.YCNVMJNR.js → chunk.BBNQVEPD.js} +3 -4
  36. package/dist/chunks/{chunk.YCNVMJNR.js.map → chunk.BBNQVEPD.js.map} +1 -1
  37. package/dist/chunks/{chunk.U7YAV7S3.js → chunk.BBUFEDXF.js} +5 -5
  38. package/dist/chunks/{chunk.U7YAV7S3.js.map → chunk.BBUFEDXF.js.map} +1 -1
  39. package/dist/chunks/{chunk.FIIQJSVJ.js → chunk.BHYMSPYR.js} +5 -5
  40. package/dist/chunks/{chunk.HVKRSLBD.js → chunk.CHG7CKU3.js} +5 -5
  41. package/dist/chunks/{chunk.HE4KPEL6.js → chunk.CSEYI4PC.js} +2 -2
  42. package/dist/chunks/{chunk.ZXXT7QGH.js → chunk.D23EOBAA.js} +2 -2
  43. package/dist/chunks/{chunk.U7XXAVXV.js → chunk.D5J4VTCV.js} +2 -2
  44. package/dist/chunks/{chunk.FRELNK6W.js → chunk.DGSAPH64.js} +8 -8
  45. package/dist/chunks/{chunk.NCXSLHHQ.js → chunk.DKGNY4YS.js} +11 -11
  46. package/dist/chunks/chunk.DKGNY4YS.js.map +7 -0
  47. package/dist/chunks/{chunk.R4Y2EU76.js → chunk.DRLBTO2U.js} +4 -6
  48. package/dist/chunks/{chunk.R4Y2EU76.js.map → chunk.DRLBTO2U.js.map} +1 -1
  49. package/dist/chunks/{chunk.K5OP4LDM.js → chunk.DVF5JNGN.js} +2 -2
  50. package/dist/chunks/{chunk.XE5OK2UE.js → chunk.DZSCTRUT.js} +2 -2
  51. package/dist/chunks/{chunk.RU5QGDNJ.js → chunk.ECTOUABW.js} +6 -6
  52. package/dist/chunks/{chunk.QQ3HY3YJ.js → chunk.ESQAXAFE.js} +2 -2
  53. package/dist/chunks/{chunk.UYMVCZFD.js → chunk.EUQCLKVZ.js} +5 -5
  54. package/dist/chunks/{chunk.UYMVCZFD.js.map → chunk.EUQCLKVZ.js.map} +1 -1
  55. package/dist/chunks/{chunk.4SSPQ66Z.js → chunk.EZRPX4D7.js} +4 -4
  56. package/dist/chunks/{chunk.HIIXDCGP.js → chunk.FK6MAJIJ.js} +4 -4
  57. package/dist/chunks/{chunk.ULJBPLL6.js → chunk.FP4J6SI7.js} +3 -3
  58. package/dist/chunks/{chunk.PPKWM5KJ.js → chunk.FPIGVZSR.js} +4 -4
  59. package/dist/chunks/{chunk.MLP2VIC7.js → chunk.FSWTBNSI.js} +6 -1
  60. package/dist/chunks/{chunk.MLP2VIC7.js.map → chunk.FSWTBNSI.js.map} +2 -2
  61. package/dist/chunks/{chunk.27HWF7JY.js → chunk.GHGGBS4N.js} +4 -7
  62. package/dist/chunks/{chunk.27HWF7JY.js.map → chunk.GHGGBS4N.js.map} +1 -1
  63. package/dist/chunks/{chunk.NPHJNN2T.js → chunk.GWQWHDLF.js} +3 -3
  64. package/dist/chunks/{chunk.KL7CAPPJ.js → chunk.HQ6QUSK7.js} +2 -2
  65. package/dist/chunks/{chunk.D65RJIQG.js → chunk.HTRLN6MZ.js} +2 -2
  66. package/dist/chunks/{chunk.T2BHFREJ.js → chunk.HY4Y3IF2.js} +4 -4
  67. package/dist/chunks/{chunk.S35OARTV.js → chunk.IGLR5WAI.js} +2 -2
  68. package/dist/chunks/{chunk.OOFVD7M5.js → chunk.IL3FC72M.js} +10 -10
  69. package/dist/chunks/{chunk.INQ5T33N.js → chunk.IMXRJ3YT.js} +2 -2
  70. package/dist/chunks/{chunk.R6T4FYGP.js → chunk.J6AAV3AV.js} +2 -2
  71. package/dist/chunks/{chunk.X7LEPG3A.js → chunk.JGJFNG7J.js} +59 -104
  72. package/dist/chunks/{chunk.X7LEPG3A.js.map → chunk.JGJFNG7J.js.map} +1 -1
  73. package/dist/chunks/{chunk.U2OMGNNZ.js → chunk.JNP34M27.js} +7 -6
  74. package/dist/chunks/chunk.JNP34M27.js.map +7 -0
  75. package/dist/chunks/{chunk.NFYLQHRP.js → chunk.JS5QB2ZL.js} +8 -8
  76. package/dist/chunks/{chunk.3I5JDTGT.js → chunk.JTYYYMG2.js} +9 -5
  77. package/dist/chunks/{chunk.3I5JDTGT.js.map → chunk.JTYYYMG2.js.map} +2 -2
  78. package/dist/chunks/{chunk.WZ3DZS4C.js → chunk.JWDKROBJ.js} +2 -2
  79. package/dist/chunks/{chunk.Y3LKXZKA.js → chunk.KSPAGGI2.js} +3 -3
  80. package/dist/chunks/{chunk.XVUJKP6I.js → chunk.LBU676EZ.js} +4 -4
  81. package/dist/chunks/{chunk.TOWZTCAT.js → chunk.LO6TVTD5.js} +2 -2
  82. package/dist/chunks/{chunk.PAFCMQM4.js → chunk.LXRYPCRA.js} +2 -2
  83. package/dist/chunks/{chunk.MCWFKLR3.js → chunk.LYDJ5XK6.js} +3 -3
  84. package/dist/chunks/{chunk.ITW4C543.js → chunk.M322AHXQ.js} +5 -5
  85. package/dist/chunks/{chunk.VXAM5HPM.js → chunk.MJIGVGWT.js} +2 -2
  86. package/dist/chunks/{chunk.XG3XBCNU.js → chunk.MJODVYOU.js} +2 -2
  87. package/dist/chunks/{chunk.OZGGB3YU.js → chunk.NRKWWLOJ.js} +2 -2
  88. package/dist/chunks/{chunk.3YMWLLPP.js → chunk.O644HRW3.js} +3 -1
  89. package/dist/chunks/{chunk.3YMWLLPP.js.map → chunk.O644HRW3.js.map} +2 -2
  90. package/dist/chunks/{chunk.PN2B3HKP.js → chunk.OGY5SV3K.js} +2 -2
  91. package/dist/chunks/{chunk.I6ROVIIB.js → chunk.ORSZM73W.js} +2 -2
  92. package/dist/chunks/{chunk.EIKNGXXK.js → chunk.PCNJFBUE.js} +2 -2
  93. package/dist/chunks/{chunk.E35IIEQ7.js → chunk.PLD6HW4G.js} +2 -2
  94. package/dist/chunks/{chunk.LQCQI2F4.js → chunk.QTUPZKVS.js} +2 -2
  95. package/dist/chunks/{chunk.GQMLBFF3.js → chunk.R2WZYDE2.js} +2 -2
  96. package/dist/chunks/{chunk.AZVHDONN.js → chunk.R67XSTNW.js} +9 -9
  97. package/dist/chunks/{chunk.XL5RSJ3V.js → chunk.RFJ2QHB5.js} +2 -2
  98. package/dist/chunks/{chunk.YOHLIT2Z.js → chunk.RKZLWXOJ.js} +4 -4
  99. package/dist/chunks/{chunk.MM55BLFM.js → chunk.RQA3KF7H.js} +12 -6
  100. package/dist/chunks/chunk.RQA3KF7H.js.map +7 -0
  101. package/dist/chunks/{chunk.4PD74CS6.js → chunk.TLNHPNZP.js} +2 -2
  102. package/dist/chunks/{chunk.63P7MT4J.js → chunk.TNX42WV4.js} +2 -2
  103. package/dist/chunks/{chunk.WYQ7ZY3X.js → chunk.TOMRCFI4.js} +2 -2
  104. package/dist/chunks/{chunk.K26XKBB4.js → chunk.TQCA6Q6L.js} +4 -4
  105. package/dist/chunks/{chunk.3HG7LHI7.js → chunk.TWPYJVSU.js} +8 -8
  106. package/dist/chunks/{chunk.CFXNQ5IS.js → chunk.TYV5CM4I.js} +56 -28
  107. package/dist/chunks/chunk.TYV5CM4I.js.map +7 -0
  108. package/dist/chunks/{chunk.OQQ3RUCC.js → chunk.UANQP7UZ.js} +2 -2
  109. package/dist/chunks/{chunk.3SWRT4AL.js → chunk.UXGBQPTV.js} +2 -2
  110. package/dist/chunks/{chunk.M2JYB7TN.js → chunk.V5VKAR7I.js} +2 -2
  111. package/dist/chunks/{chunk.FAAETEJ2.js → chunk.VGEA67UG.js} +7 -4
  112. package/dist/chunks/{chunk.FAAETEJ2.js.map → chunk.VGEA67UG.js.map} +2 -2
  113. package/dist/chunks/{chunk.OUEA3H7P.js → chunk.VQNVZMWW.js} +7 -9
  114. package/dist/chunks/{chunk.OUEA3H7P.js.map → chunk.VQNVZMWW.js.map} +1 -1
  115. package/dist/chunks/{chunk.4DCKHPZX.js → chunk.VQWI7RF7.js} +18 -18
  116. package/dist/chunks/chunk.VQWI7RF7.js.map +7 -0
  117. package/dist/chunks/{chunk.ITWCPUOB.js → chunk.W4DRGBOX.js} +10 -10
  118. package/dist/chunks/{chunk.X7TL7T7R.js → chunk.WJG5I5EW.js} +2 -2
  119. package/dist/chunks/{chunk.D3NSCKGB.js → chunk.X5ZOIEXZ.js} +2 -2
  120. package/dist/chunks/{chunk.CRU7ZSDO.js → chunk.XDM6VD32.js} +6 -10
  121. package/dist/chunks/{chunk.CRU7ZSDO.js.map → chunk.XDM6VD32.js.map} +1 -1
  122. package/dist/chunks/{chunk.UYCIME52.js → chunk.XNGZHSRO.js} +8 -12
  123. package/dist/chunks/{chunk.UYCIME52.js.map → chunk.XNGZHSRO.js.map} +1 -1
  124. package/dist/chunks/{chunk.KCVQQRVW.js → chunk.XOSZV7Y4.js} +2 -2
  125. package/dist/chunks/{chunk.J5H7WYNF.js → chunk.Y5BGNU6P.js} +2 -2
  126. package/dist/chunks/{chunk.AMAMIZIA.js → chunk.YARCDSSP.js} +2 -2
  127. package/dist/chunks/{chunk.6RTGL3PP.js → chunk.YGBYTIEC.js} +2 -2
  128. package/dist/chunks/{chunk.UQOWSCP3.js → chunk.YMC6ML2J.js} +2 -2
  129. package/dist/chunks/{chunk.2IEYCSI6.js → chunk.YVPJSA6G.js} +4 -4
  130. package/dist/chunks/{chunk.EJNLN3CX.js → chunk.YXKAU762.js} +2 -2
  131. package/dist/chunks/{chunk.DRA2UZ77.js → chunk.Z2AJQ6S4.js} +4 -5
  132. package/dist/chunks/{chunk.DRA2UZ77.js.map → chunk.Z2AJQ6S4.js.map} +2 -2
  133. package/dist/chunks/{chunk.JUZCWVBF.js → chunk.ZIJ6OGAT.js} +8 -8
  134. package/dist/chunks/{chunk.2TVDQYJX.js → chunk.ZRQDODBI.js} +8 -8
  135. package/dist/chunks/{chunk.OE4RXQU2.js → chunk.ZW75HBAK.js} +3 -3
  136. package/dist/chunks/chunk.ZW75HBAK.js.map +7 -0
  137. package/dist/chunks/{chunk.D3FO6WR5.js → chunk.ZWKWTOIU.js} +3 -3
  138. package/dist/components/accordion/accordion.component.js +4 -4
  139. package/dist/components/accordion/accordion.js +5 -5
  140. package/dist/components/accordion/accordion.styles.js +1 -1
  141. package/dist/components/alert/alert.component.js +10 -10
  142. package/dist/components/alert/alert.custom.styles.js +1 -1
  143. package/dist/components/alert/alert.js +11 -11
  144. package/dist/components/alert/alert.styles.js +1 -1
  145. package/dist/components/badge/badge.component.js +5 -5
  146. package/dist/components/badge/badge.custom.styles.js +1 -1
  147. package/dist/components/badge/badge.js +6 -6
  148. package/dist/components/badge/badge.styles.js +1 -1
  149. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  150. package/dist/components/breadcrumb/breadcrumb.custom.styles.js +1 -1
  151. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  152. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
  153. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
  154. package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
  155. package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
  156. package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
  157. package/dist/components/button/button.component.js +9 -9
  158. package/dist/components/button/button.custom.styles.js +1 -1
  159. package/dist/components/button/button.js +10 -10
  160. package/dist/components/button/button.styles.js +1 -1
  161. package/dist/components/button-group/button-group.component.js +3 -3
  162. package/dist/components/button-group/button-group.js +4 -4
  163. package/dist/components/button-group/button-group.styles.js +1 -1
  164. package/dist/components/card/card.component.js +3 -3
  165. package/dist/components/card/card.custom.styles.js +1 -1
  166. package/dist/components/card/card.js +4 -4
  167. package/dist/components/card/card.styles.js +1 -1
  168. package/dist/components/checkbox/checkbox.component.js +6 -6
  169. package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
  170. package/dist/components/checkbox/checkbox.js +7 -7
  171. package/dist/components/checkbox/checkbox.styles.js +1 -1
  172. package/dist/components/details/details.component.js +9 -9
  173. package/dist/components/details/details.custom.styles.js +1 -1
  174. package/dist/components/details/details.js +10 -10
  175. package/dist/components/details/details.styles.js +1 -1
  176. package/dist/components/dialog/dialog.component.js +12 -12
  177. package/dist/components/dialog/dialog.custom.styles.js +1 -1
  178. package/dist/components/dialog/dialog.js +13 -13
  179. package/dist/components/dialog/dialog.styles.js +1 -1
  180. package/dist/components/divider/divider.component.js +4 -4
  181. package/dist/components/divider/divider.custom.styles.js +1 -1
  182. package/dist/components/divider/divider.js +5 -5
  183. package/dist/components/divider/divider.styles.js +1 -1
  184. package/dist/components/drawer/drawer.component.js +12 -12
  185. package/dist/components/drawer/drawer.custom.styles.js +1 -1
  186. package/dist/components/drawer/drawer.js +13 -13
  187. package/dist/components/drawer/drawer.styles.js +1 -1
  188. package/dist/components/dropdown/dropdown.component.d.ts +2 -1
  189. package/dist/components/dropdown/dropdown.component.js +9 -9
  190. package/dist/components/dropdown/dropdown.custom.styles.js +1 -1
  191. package/dist/components/dropdown/dropdown.js +10 -10
  192. package/dist/components/dropdown/dropdown.styles.js +1 -1
  193. package/dist/components/file/file.component.js +12 -12
  194. package/dist/components/file/file.js +13 -13
  195. package/dist/components/file/file.styles.js +1 -1
  196. package/dist/components/header/header.component.js +8 -8
  197. package/dist/components/header/header.js +9 -9
  198. package/dist/components/header/header.styles.js +1 -1
  199. package/dist/components/icon/icon.component.js +4 -4
  200. package/dist/components/icon/icon.custom.styles.js +1 -1
  201. package/dist/components/icon/icon.js +5 -5
  202. package/dist/components/icon/icon.styles.js +1 -1
  203. package/dist/components/icon/library.default.js +1 -1
  204. package/dist/components/icon/library.js +1 -1
  205. package/dist/components/icon/library.system.js +1 -1
  206. package/dist/components/icon-button/icon-button.component.js +5 -5
  207. package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
  208. package/dist/components/icon-button/icon-button.js +6 -6
  209. package/dist/components/icon-button/icon-button.styles.js +1 -1
  210. package/dist/components/input/input.component.js +9 -9
  211. package/dist/components/input/input.custom.styles.js +1 -1
  212. package/dist/components/input/input.js +10 -10
  213. package/dist/components/input/input.styles.js +1 -1
  214. package/dist/components/menu/menu.component.js +3 -3
  215. package/dist/components/menu/menu.custom.styles.js +1 -1
  216. package/dist/components/menu/menu.js +4 -4
  217. package/dist/components/menu/menu.styles.js +1 -1
  218. package/dist/components/menu-item/menu-item.component.d.ts +0 -1
  219. package/dist/components/menu-item/menu-item.component.js +11 -11
  220. package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
  221. package/dist/components/menu-item/menu-item.js +12 -12
  222. package/dist/components/menu-item/menu-item.styles.js +2 -2
  223. package/dist/components/menu-item/submenu-controller.d.ts +1 -3
  224. package/dist/components/menu-item/submenu-controller.js +2 -4
  225. package/dist/components/menu-label/menu-label.component.js +5 -5
  226. package/dist/components/menu-label/menu-label.custom.styles.js +1 -1
  227. package/dist/components/menu-label/menu-label.js +6 -6
  228. package/dist/components/menu-label/menu-label.styles.js +1 -1
  229. package/dist/components/nav-item/nav-item.component.js +6 -6
  230. package/dist/components/nav-item/nav-item.js +7 -7
  231. package/dist/components/nav-item/nav-item.styles.js +2 -2
  232. package/dist/components/optgroup/optgroup.component.js +5 -5
  233. package/dist/components/optgroup/optgroup.js +6 -6
  234. package/dist/components/optgroup/optgroup.styles.js +1 -1
  235. package/dist/components/option/option.component.js +7 -7
  236. package/dist/components/option/option.custom.styles.js +1 -1
  237. package/dist/components/option/option.js +8 -8
  238. package/dist/components/option/option.styles.js +1 -1
  239. package/dist/components/popup/popup.component.js +3 -3
  240. package/dist/components/popup/popup.js +4 -4
  241. package/dist/components/popup/popup.styles.js +1 -1
  242. package/dist/components/prio-nav/prio-nav.component.js +15 -15
  243. package/dist/components/prio-nav/prio-nav.js +16 -16
  244. package/dist/components/prio-nav/prio-nav.styles.js +1 -1
  245. package/dist/components/prio-nav/utils.js +1 -1
  246. package/dist/components/progress-bar/progress-bar.component.js +5 -5
  247. package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
  248. package/dist/components/progress-bar/progress-bar.js +6 -6
  249. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  250. package/dist/components/progress-ring/progress-ring.component.js +5 -5
  251. package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
  252. package/dist/components/progress-ring/progress-ring.js +6 -6
  253. package/dist/components/progress-ring/progress-ring.styles.js +1 -1
  254. package/dist/components/radio/radio.component.d.ts +0 -5
  255. package/dist/components/radio/radio.component.js +5 -5
  256. package/dist/components/radio/radio.custom.styles.js +1 -1
  257. package/dist/components/radio/radio.js +6 -6
  258. package/dist/components/radio/radio.styles.js +1 -1
  259. package/dist/components/radio-button/radio-button.component.js +4 -4
  260. package/dist/components/radio-button/radio-button.js +5 -5
  261. package/dist/components/radio-button/radio-button.styles.js +1 -1
  262. package/dist/components/radio-group/radio-group.component.js +6 -6
  263. package/dist/components/radio-group/radio-group.custom.styles.js +1 -1
  264. package/dist/components/radio-group/radio-group.js +7 -7
  265. package/dist/components/radio-group/radio-group.styles.js +1 -1
  266. package/dist/components/range/range.component.js +13 -13
  267. package/dist/components/range/range.js +14 -14
  268. package/dist/components/range/range.styles.js +1 -1
  269. package/dist/components/range/utility.js +2 -2
  270. package/dist/components/range-tick/range-tick.component.js +3 -3
  271. package/dist/components/range-tick/range-tick.js +4 -4
  272. package/dist/components/range-tick/range-tick.styles.js +1 -1
  273. package/dist/components/select/select.component.d.ts +3 -1
  274. package/dist/components/select/select.component.js +16 -16
  275. package/dist/components/select/select.custom.styles.js +2 -2
  276. package/dist/components/select/select.js +17 -17
  277. package/dist/components/select/select.styles.js +2 -2
  278. package/dist/components/side-nav/side-nav.component.js +14 -14
  279. package/dist/components/side-nav/side-nav.js +15 -15
  280. package/dist/components/side-nav/side-nav.styles.js +1 -1
  281. package/dist/components/spinner/spinner.component.js +5 -5
  282. package/dist/components/spinner/spinner.custom.styles.js +1 -1
  283. package/dist/components/spinner/spinner.js +6 -6
  284. package/dist/components/spinner/spinner.styles.js +1 -1
  285. package/dist/components/switch/switch.component.js +5 -5
  286. package/dist/components/switch/switch.custom.styles.js +1 -1
  287. package/dist/components/switch/switch.js +6 -6
  288. package/dist/components/switch/switch.styles.js +1 -1
  289. package/dist/components/tab/tab.component.d.ts +5 -4
  290. package/dist/components/tab/tab.component.js +10 -10
  291. package/dist/components/tab/tab.custom.styles.js +2 -2
  292. package/dist/components/tab/tab.js +11 -11
  293. package/dist/components/tab/tab.styles.js +2 -2
  294. package/dist/components/tab-group/tab-group.component.d.ts +2 -0
  295. package/dist/components/tab-group/tab-group.component.js +9 -9
  296. package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
  297. package/dist/components/tab-group/tab-group.js +10 -10
  298. package/dist/components/tab-group/tab-group.styles.js +1 -1
  299. package/dist/components/tab-panel/tab-panel.component.js +4 -4
  300. package/dist/components/tab-panel/tab-panel.custom.styles.js +1 -1
  301. package/dist/components/tab-panel/tab-panel.js +5 -5
  302. package/dist/components/tab-panel/tab-panel.styles.js +1 -1
  303. package/dist/components/tag/tag.component.js +8 -8
  304. package/dist/components/tag/tag.custom.styles.js +1 -1
  305. package/dist/components/tag/tag.js +9 -9
  306. package/dist/components/tag/tag.styles.js +1 -1
  307. package/dist/components/textarea/textarea.component.js +5 -5
  308. package/dist/components/textarea/textarea.custom.styles.js +1 -1
  309. package/dist/components/textarea/textarea.js +6 -6
  310. package/dist/components/textarea/textarea.styles.js +1 -1
  311. package/dist/components/tooltip/tooltip.component.js +10 -10
  312. package/dist/components/tooltip/tooltip.custom.styles.js +1 -1
  313. package/dist/components/tooltip/tooltip.js +11 -11
  314. package/dist/components/tooltip/tooltip.styles.js +2 -2
  315. package/dist/custom-elements.json +160 -142
  316. package/dist/internal/animate.d.ts +3 -3
  317. package/dist/internal/longpress.d.ts +0 -1
  318. package/dist/styles/index.css +5 -2
  319. package/dist/styles/utility.css +4 -1
  320. package/dist/synergy-autoloader.js +1 -1
  321. package/dist/synergy.js +108 -108
  322. package/dist/translations/de.js +6 -9
  323. package/dist/translations/de.js.map +1 -1
  324. package/dist/translations/en.js +2 -2
  325. package/dist/utilities/animation-registry.js +2 -2
  326. package/dist/utilities/base-path.js +1 -1
  327. package/dist/utilities/form.js +3 -3
  328. package/dist/utilities/icon-library.js +1 -1
  329. package/dist/utilities/localize.js +3 -3
  330. package/dist/vscode.html-custom-data.json +26 -26
  331. package/package.json +33 -33
  332. package/dist/chunks/chunk.4DCKHPZX.js.map +0 -7
  333. package/dist/chunks/chunk.6UAOF7WN.js.map +0 -7
  334. package/dist/chunks/chunk.72I324LK.js.map +0 -7
  335. package/dist/chunks/chunk.AQJKRHVT.js.map +0 -7
  336. package/dist/chunks/chunk.CFXNQ5IS.js.map +0 -7
  337. package/dist/chunks/chunk.LH75WEHB.js.map +0 -7
  338. package/dist/chunks/chunk.MM55BLFM.js.map +0 -7
  339. package/dist/chunks/chunk.NCXSLHHQ.js.map +0 -7
  340. package/dist/chunks/chunk.OE4RXQU2.js.map +0 -7
  341. package/dist/chunks/chunk.RX7A4EQ2.js.map +0 -7
  342. package/dist/chunks/chunk.U2OMGNNZ.js.map +0 -7
  343. /package/dist/chunks/{chunk.LGCK4I4E.js.map → chunk.2DWAWNCX.js.map} +0 -0
  344. /package/dist/chunks/{chunk.HLQ75E45.js.map → chunk.2GFK6XTO.js.map} +0 -0
  345. /package/dist/chunks/{chunk.UCZUWSO5.js.map → chunk.2H5VZMM6.js.map} +0 -0
  346. /package/dist/chunks/{chunk.GKKENNQE.js.map → chunk.2RCFWUMX.js.map} +0 -0
  347. /package/dist/chunks/{chunk.VB7U5SK7.js.map → chunk.3TAWE2BI.js.map} +0 -0
  348. /package/dist/chunks/{chunk.GVPQNGY3.js.map → chunk.3TEIFNRP.js.map} +0 -0
  349. /package/dist/chunks/{chunk.2VMSUMKU.js.map → chunk.4ZABXKYI.js.map} +0 -0
  350. /package/dist/chunks/{chunk.F6HHFAPB.js.map → chunk.5WTYMY7E.js.map} +0 -0
  351. /package/dist/chunks/{chunk.J2EUQLBR.js.map → chunk.6OCJR2YI.js.map} +0 -0
  352. /package/dist/chunks/{chunk.6BJDFV76.js.map → chunk.72KEPLD4.js.map} +0 -0
  353. /package/dist/chunks/{chunk.ITKS5ZOS.js.map → chunk.74IOULXM.js.map} +0 -0
  354. /package/dist/chunks/{chunk.AQ3OGEJ7.js.map → chunk.7GVODRHO.js.map} +0 -0
  355. /package/dist/chunks/{chunk.536NCWEA.js.map → chunk.7I5Q3H5W.js.map} +0 -0
  356. /package/dist/chunks/{chunk.IJ67S5B6.js.map → chunk.7J54DP5U.js.map} +0 -0
  357. /package/dist/chunks/{chunk.FMSA5VHT.js.map → chunk.A3OYJILJ.js.map} +0 -0
  358. /package/dist/chunks/{chunk.H43NLW3K.js.map → chunk.A7S3RARM.js.map} +0 -0
  359. /package/dist/chunks/{chunk.FIIQJSVJ.js.map → chunk.BHYMSPYR.js.map} +0 -0
  360. /package/dist/chunks/{chunk.HVKRSLBD.js.map → chunk.CHG7CKU3.js.map} +0 -0
  361. /package/dist/chunks/{chunk.HE4KPEL6.js.map → chunk.CSEYI4PC.js.map} +0 -0
  362. /package/dist/chunks/{chunk.ZXXT7QGH.js.map → chunk.D23EOBAA.js.map} +0 -0
  363. /package/dist/chunks/{chunk.U7XXAVXV.js.map → chunk.D5J4VTCV.js.map} +0 -0
  364. /package/dist/chunks/{chunk.FRELNK6W.js.map → chunk.DGSAPH64.js.map} +0 -0
  365. /package/dist/chunks/{chunk.K5OP4LDM.js.map → chunk.DVF5JNGN.js.map} +0 -0
  366. /package/dist/chunks/{chunk.XE5OK2UE.js.map → chunk.DZSCTRUT.js.map} +0 -0
  367. /package/dist/chunks/{chunk.RU5QGDNJ.js.map → chunk.ECTOUABW.js.map} +0 -0
  368. /package/dist/chunks/{chunk.QQ3HY3YJ.js.map → chunk.ESQAXAFE.js.map} +0 -0
  369. /package/dist/chunks/{chunk.4SSPQ66Z.js.map → chunk.EZRPX4D7.js.map} +0 -0
  370. /package/dist/chunks/{chunk.HIIXDCGP.js.map → chunk.FK6MAJIJ.js.map} +0 -0
  371. /package/dist/chunks/{chunk.ULJBPLL6.js.map → chunk.FP4J6SI7.js.map} +0 -0
  372. /package/dist/chunks/{chunk.PPKWM5KJ.js.map → chunk.FPIGVZSR.js.map} +0 -0
  373. /package/dist/chunks/{chunk.NPHJNN2T.js.map → chunk.GWQWHDLF.js.map} +0 -0
  374. /package/dist/chunks/{chunk.KL7CAPPJ.js.map → chunk.HQ6QUSK7.js.map} +0 -0
  375. /package/dist/chunks/{chunk.D65RJIQG.js.map → chunk.HTRLN6MZ.js.map} +0 -0
  376. /package/dist/chunks/{chunk.T2BHFREJ.js.map → chunk.HY4Y3IF2.js.map} +0 -0
  377. /package/dist/chunks/{chunk.S35OARTV.js.map → chunk.IGLR5WAI.js.map} +0 -0
  378. /package/dist/chunks/{chunk.OOFVD7M5.js.map → chunk.IL3FC72M.js.map} +0 -0
  379. /package/dist/chunks/{chunk.INQ5T33N.js.map → chunk.IMXRJ3YT.js.map} +0 -0
  380. /package/dist/chunks/{chunk.R6T4FYGP.js.map → chunk.J6AAV3AV.js.map} +0 -0
  381. /package/dist/chunks/{chunk.NFYLQHRP.js.map → chunk.JS5QB2ZL.js.map} +0 -0
  382. /package/dist/chunks/{chunk.WZ3DZS4C.js.map → chunk.JWDKROBJ.js.map} +0 -0
  383. /package/dist/chunks/{chunk.Y3LKXZKA.js.map → chunk.KSPAGGI2.js.map} +0 -0
  384. /package/dist/chunks/{chunk.XVUJKP6I.js.map → chunk.LBU676EZ.js.map} +0 -0
  385. /package/dist/chunks/{chunk.TOWZTCAT.js.map → chunk.LO6TVTD5.js.map} +0 -0
  386. /package/dist/chunks/{chunk.PAFCMQM4.js.map → chunk.LXRYPCRA.js.map} +0 -0
  387. /package/dist/chunks/{chunk.MCWFKLR3.js.map → chunk.LYDJ5XK6.js.map} +0 -0
  388. /package/dist/chunks/{chunk.ITW4C543.js.map → chunk.M322AHXQ.js.map} +0 -0
  389. /package/dist/chunks/{chunk.VXAM5HPM.js.map → chunk.MJIGVGWT.js.map} +0 -0
  390. /package/dist/chunks/{chunk.XG3XBCNU.js.map → chunk.MJODVYOU.js.map} +0 -0
  391. /package/dist/chunks/{chunk.OZGGB3YU.js.map → chunk.NRKWWLOJ.js.map} +0 -0
  392. /package/dist/chunks/{chunk.PN2B3HKP.js.map → chunk.OGY5SV3K.js.map} +0 -0
  393. /package/dist/chunks/{chunk.I6ROVIIB.js.map → chunk.ORSZM73W.js.map} +0 -0
  394. /package/dist/chunks/{chunk.EIKNGXXK.js.map → chunk.PCNJFBUE.js.map} +0 -0
  395. /package/dist/chunks/{chunk.E35IIEQ7.js.map → chunk.PLD6HW4G.js.map} +0 -0
  396. /package/dist/chunks/{chunk.LQCQI2F4.js.map → chunk.QTUPZKVS.js.map} +0 -0
  397. /package/dist/chunks/{chunk.GQMLBFF3.js.map → chunk.R2WZYDE2.js.map} +0 -0
  398. /package/dist/chunks/{chunk.AZVHDONN.js.map → chunk.R67XSTNW.js.map} +0 -0
  399. /package/dist/chunks/{chunk.XL5RSJ3V.js.map → chunk.RFJ2QHB5.js.map} +0 -0
  400. /package/dist/chunks/{chunk.YOHLIT2Z.js.map → chunk.RKZLWXOJ.js.map} +0 -0
  401. /package/dist/chunks/{chunk.4PD74CS6.js.map → chunk.TLNHPNZP.js.map} +0 -0
  402. /package/dist/chunks/{chunk.63P7MT4J.js.map → chunk.TNX42WV4.js.map} +0 -0
  403. /package/dist/chunks/{chunk.WYQ7ZY3X.js.map → chunk.TOMRCFI4.js.map} +0 -0
  404. /package/dist/chunks/{chunk.K26XKBB4.js.map → chunk.TQCA6Q6L.js.map} +0 -0
  405. /package/dist/chunks/{chunk.3HG7LHI7.js.map → chunk.TWPYJVSU.js.map} +0 -0
  406. /package/dist/chunks/{chunk.OQQ3RUCC.js.map → chunk.UANQP7UZ.js.map} +0 -0
  407. /package/dist/chunks/{chunk.3SWRT4AL.js.map → chunk.UXGBQPTV.js.map} +0 -0
  408. /package/dist/chunks/{chunk.M2JYB7TN.js.map → chunk.V5VKAR7I.js.map} +0 -0
  409. /package/dist/chunks/{chunk.ITWCPUOB.js.map → chunk.W4DRGBOX.js.map} +0 -0
  410. /package/dist/chunks/{chunk.X7TL7T7R.js.map → chunk.WJG5I5EW.js.map} +0 -0
  411. /package/dist/chunks/{chunk.D3NSCKGB.js.map → chunk.X5ZOIEXZ.js.map} +0 -0
  412. /package/dist/chunks/{chunk.KCVQQRVW.js.map → chunk.XOSZV7Y4.js.map} +0 -0
  413. /package/dist/chunks/{chunk.J5H7WYNF.js.map → chunk.Y5BGNU6P.js.map} +0 -0
  414. /package/dist/chunks/{chunk.AMAMIZIA.js.map → chunk.YARCDSSP.js.map} +0 -0
  415. /package/dist/chunks/{chunk.6RTGL3PP.js.map → chunk.YGBYTIEC.js.map} +0 -0
  416. /package/dist/chunks/{chunk.UQOWSCP3.js.map → chunk.YMC6ML2J.js.map} +0 -0
  417. /package/dist/chunks/{chunk.2IEYCSI6.js.map → chunk.YVPJSA6G.js.map} +0 -0
  418. /package/dist/chunks/{chunk.EJNLN3CX.js.map → chunk.YXKAU762.js.map} +0 -0
  419. /package/dist/chunks/{chunk.JUZCWVBF.js.map → chunk.ZIJ6OGAT.js.map} +0 -0
  420. /package/dist/chunks/{chunk.2TVDQYJX.js.map → chunk.ZRQDODBI.js.map} +0 -0
  421. /package/dist/chunks/{chunk.D3FO6WR5.js.map → chunk.ZWKWTOIU.js.map} +0 -0
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/nav-item/nav-item.component.ts"],
4
4
  "sourcesContent": ["import { classMap } from 'lit/directives/class-map.js';\nimport type { CSSResultGroup } 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 SynergyElement from '../../internal/synergy-element.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './nav-item.styles.js';\nimport { watch } from '../../internal/watch.js';\n\n/**\n * @summary Flexible button / link component that can be used to quickly build navigations.\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 /**\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 /*\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?.rail) {\n const navItemChildren = this.getAllNestedNavItems(this.childrenSlot);\n\n const currentMarkedItem = navItemChildren\n .findIndex((item) => !!item.shadowRoot?.querySelector('.nav-item--current'));\n\n this.currentMarkedChild = currentMarkedItem !== -1;\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 this.handleCurrentMarkedChild();\n\n // Use the current level of the component\n const level = getComputedStyle(this).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 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 @watch('open')\n handleOpenChange() {\n this.handleCurrentMarkedChild();\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver((entries) => this.handleWidth(entries));\n this.resizeObserver.observe(this);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.resizeObserver.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?.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 tabindex=${this.disabled ? '-1' : '0'}\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;AAqD1B,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,YAAY,UAAU,QAAQ;AAOnG,SAAQ,WAAW;AAKnB,SAAQ,iBAAiB;AAKzB,SAAQ,qBAAqB;AAK7B,SAAQ,cAAc;AAyBa,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,WA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WAGZ,eAAe;AAAA,EACpB,eAAe;AACjB;AASiB;AAAA,EAAhB,MAAM;AAAA,GAdY,WAcF;AAKA;AAAA,EAAhB,MAAM;AAAA,GAnBY,WAmBF;AAKA;AAAA,EAAhB,MAAM;AAAA,GAxBY,WAwBF;AAKA;AAAA,EAAhB,MAAM;AAAA,GA7BY,WA6BF;AAKe;AAAA,EAA/B,MAAM,uBAAuB;AAAA,GAlCX,WAkCa;AAKZ;AAAA,EAAnB,MAAM,WAAW;AAAA,GAvCC,WAuCC;AASuB;AAAA,EAA1C,SAAS,EAAE,SAAS,MAAM,MAAM,OAAO,CAAC;AAAA,GAhDtB,WAgDwB;AAMC;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAtDvB,WAsDyB;AAKA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GA3DvB,WA2DyB;AAKA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAhEvB,WAgEyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAtEvB,WAsEyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GA5EvB,WA4EyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAlFvB,WAkFyB;AAiI5C;AAAA,EADC,MAAM,MAAM;AAAA,GAlNM,WAmNnB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuLabel
3
- } from "./chunk.D3FO6WR5.js";
3
+ } from "./chunk.ZWKWTOIU.js";
4
4
 
5
5
  // src/components/menu-label/menu-label.ts
6
6
  var menu_label_default = SynMenuLabel;
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
9
9
  export {
10
10
  menu_label_default
11
11
  };
12
- //# sourceMappingURL=chunk.2VMSUMKU.js.map
12
+ //# sourceMappingURL=chunk.4ZABXKYI.js.map
@@ -23,6 +23,14 @@ function lockBodyScrolling(lockingEl) {
23
23
  locks.add(lockingEl);
24
24
  if (!document.documentElement.classList.contains("syn-scroll-lock")) {
25
25
  const scrollbarWidth = getScrollbarWidth() + getExistingBodyPadding();
26
+ let scrollbarGutterProperty = getComputedStyle(document.documentElement).scrollbarGutter;
27
+ if (!scrollbarGutterProperty || scrollbarGutterProperty === "auto") {
28
+ scrollbarGutterProperty = "stable";
29
+ }
30
+ if (scrollbarWidth < 2) {
31
+ scrollbarGutterProperty = "";
32
+ }
33
+ document.documentElement.style.setProperty("--syn-scroll-lock-gutter", scrollbarGutterProperty);
26
34
  document.documentElement.classList.add("syn-scroll-lock");
27
35
  document.documentElement.style.setProperty("--syn-scroll-lock-size", `${scrollbarWidth}px`);
28
36
  }
@@ -63,4 +71,4 @@ export {
63
71
  unlockBodyScrolling,
64
72
  scrollIntoView
65
73
  };
66
- //# sourceMappingURL=chunk.RX7A4EQ2.js.map
74
+ //# sourceMappingURL=chunk.5732DMBC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/internal/offset.ts", "../../src/internal/scroll.ts"],
4
+ "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\n/**\n * Returns an element's offset relative to its parent. Similar to element.offsetTop and element.offsetLeft, except the\n * parent doesn't have to be positioned relative or absolute.\n *\n * NOTE: This was created to work around what appears to be a bug in Chrome where a slotted element's offsetParent seems\n * to ignore elements inside the surrounding shadow DOM: https://bugs.chromium.org/p/chromium/issues/detail?id=920069\n */\nexport function getOffset(element: HTMLElement, parent: HTMLElement) {\n return {\n top: Math.round(element.getBoundingClientRect().top - parent.getBoundingClientRect().top),\n left: Math.round(element.getBoundingClientRect().left - parent.getBoundingClientRect().left)\n };\n}\n", "/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { getOffset } from './offset.js';\n\nconst locks = new Set();\n\n/** Returns the width of the document's scrollbar */\nfunction getScrollbarWidth() {\n const documentWidth = document.documentElement.clientWidth;\n return Math.abs(window.innerWidth - documentWidth);\n}\n\n/**\n * Used in conjunction with `scrollbarWidth` to set proper body padding in case the user has padding already on the `<body>` element.\n */\nfunction getExistingBodyPadding() {\n const padding = Number(getComputedStyle(document.body).paddingRight.replace(/px/, ''));\n\n if (isNaN(padding) || !padding) {\n return 0;\n }\n\n return padding;\n}\n\n/**\n * Prevents body scrolling. Keeps track of which elements requested a lock so multiple levels of locking are possible\n * without premature unlocking.\n */\nexport function lockBodyScrolling(lockingEl: HTMLElement) {\n locks.add(lockingEl);\n\n // When the first lock is created, set the scroll lock size to match the scrollbar's width to prevent content from\n // shifting. We only do this on the first lock because the scrollbar width will measure zero after overflow is hidden.\n if (!document.documentElement.classList.contains('syn-scroll-lock')) {\n /** Scrollbar width + body padding calculation can go away once Safari has scrollbar-gutter support. */\n const scrollbarWidth = getScrollbarWidth() + getExistingBodyPadding(); // must be measured before the `syn-scroll-lock` class is applied\n\n let scrollbarGutterProperty = getComputedStyle(document.documentElement).scrollbarGutter;\n\n // default is auto, unsupported browsers is \"undefined\"\n if (!scrollbarGutterProperty || scrollbarGutterProperty === 'auto') {\n scrollbarGutterProperty = 'stable';\n }\n\n /** Sometimes the scrollbar width is 1px, even then, we assume nothing is overflowing. */\n if (scrollbarWidth < 2) {\n // if there's no scrollbar, just set it to an empty string so whatever the user has set gets used. This is useful if the page is not overflowing and showing a scrollbar, or if the user has overflow: hidden, or any other reason a scrollbar may not be showing.\n scrollbarGutterProperty = '';\n }\n document.documentElement.style.setProperty('--syn-scroll-lock-gutter', scrollbarGutterProperty);\n document.documentElement.classList.add('syn-scroll-lock');\n document.documentElement.style.setProperty('--syn-scroll-lock-size', `${scrollbarWidth}px`);\n }\n}\n\n/**\n * Unlocks body scrolling. Scrolling will only be unlocked once all elements that requested a lock call this method.\n */\nexport function unlockBodyScrolling(lockingEl: HTMLElement) {\n locks.delete(lockingEl);\n\n if (locks.size === 0) {\n document.documentElement.classList.remove('syn-scroll-lock');\n document.documentElement.style.removeProperty('--syn-scroll-lock-size');\n }\n}\n\n/** Scrolls an element into view of its container. If the element is already in view, nothing will happen. */\nexport function scrollIntoView(\n element: HTMLElement,\n container: HTMLElement,\n direction: 'horizontal' | 'vertical' | 'both' = 'vertical',\n behavior: 'smooth' | 'auto' = 'smooth'\n) {\n const offset = getOffset(element, container);\n const offsetTop = offset.top + container.scrollTop;\n const offsetLeft = offset.left + container.scrollLeft;\n const minX = container.scrollLeft;\n const maxX = container.scrollLeft + container.offsetWidth;\n const minY = container.scrollTop;\n const maxY = container.scrollTop + container.offsetHeight;\n\n if (direction === 'horizontal' || direction === 'both') {\n if (offsetLeft < minX) {\n container.scrollTo({ left: offsetLeft, behavior });\n } else if (offsetLeft + element.clientWidth > maxX) {\n container.scrollTo({ left: offsetLeft - container.offsetWidth + element.clientWidth, behavior });\n }\n }\n\n if (direction === 'vertical' || direction === 'both') {\n if (offsetTop < minY) {\n container.scrollTo({ top: offsetTop, behavior });\n } else if (offsetTop + element.clientHeight > maxY) {\n container.scrollTo({ top: offsetTop - container.offsetHeight + element.clientHeight, behavior });\n }\n }\n}\n"],
5
+ "mappings": ";AAeO,SAAS,UAAU,SAAsB,QAAqB;AACnE,SAAO;AAAA,IACL,KAAK,KAAK,MAAM,QAAQ,sBAAsB,EAAE,MAAM,OAAO,sBAAsB,EAAE,GAAG;AAAA,IACxF,MAAM,KAAK,MAAM,QAAQ,sBAAsB,EAAE,OAAO,OAAO,sBAAsB,EAAE,IAAI;AAAA,EAC7F;AACF;;;ACVA,IAAM,QAAQ,oBAAI,I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,QAAM,OAAO,UAAU,YAAY,UAAU;AAE7C,MAAI,cAAc,gBAAgB,cAAc,QAAQ;AACtD,QAAI,aAAa,MAAM;AACrB,gBAAU,SAAS,EAAE,MAAM,YAAY,SAAS,CAAC;AAAA,IACnD,WAAW,aAAa,QAAQ,cAAc,MAAM;AAClD,gBAAU,SAAS,EAAE,MAAM,aAAa,UAAU,cAAc,QAAQ,aAAa,SAAS,CAAC;AAAA,IACjG;AAAA,EACF;AAEA,MAAI,cAAc,cAAc,cAAc,QAAQ;AACpD,QAAI,YAAY,MAAM;AACpB,gBAAU,SAAS,EAAE,KAAK,WAAW,SAAS,CAAC;AAAA,IACjD,WAAW,YAAY,QAAQ,eAAe,MAAM;AAClD,gBAAU,SAAS,EAAE,KAAK,YAAY,UAAU,eAAe,QAAQ,cAAc,SAAS,CAAC;AAAA,IACjG;AAAA,EACF;AACF;",
6
+ "names": []
7
+ }
@@ -6,20 +6,20 @@ import {
6
6
  } from "./chunk.IVM3BGRH.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.UYCIME52.js";
9
+ } from "./chunk.XNGZHSRO.js";
10
10
  import {
11
11
  LocalizeController
12
- } from "./chunk.QQ3HY3YJ.js";
12
+ } from "./chunk.ESQAXAFE.js";
13
13
  import {
14
14
  watch
15
- } from "./chunk.ITKS5ZOS.js";
15
+ } from "./chunk.74IOULXM.js";
16
16
  import {
17
17
  SynergyElement,
18
18
  component_styles_default
19
- } from "./chunk.3I5JDTGT.js";
19
+ } from "./chunk.JTYYYMG2.js";
20
20
  import {
21
21
  __decorateClass
22
- } from "./chunk.HLQ75E45.js";
22
+ } from "./chunk.2GFK6XTO.js";
23
23
 
24
24
  // src/components/option/option.component.ts
25
25
  import { classMap } from "lit/directives/class-map.js";
@@ -144,4 +144,4 @@ __decorateClass([
144
144
  export {
145
145
  SynOption
146
146
  };
147
- //# sourceMappingURL=chunk.F6HHFAPB.js.map
147
+ //# sourceMappingURL=chunk.5WTYMY7E.js.map
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  SynergyElement,
6
6
  component_styles_default
7
- } from "./chunk.3I5JDTGT.js";
7
+ } from "./chunk.JTYYYMG2.js";
8
8
  import {
9
9
  __decorateClass,
10
10
  __spreadProps,
11
11
  __spreadValues
12
- } from "./chunk.HLQ75E45.js";
12
+ } from "./chunk.2GFK6XTO.js";
13
13
 
14
14
  // src/components/popup/popup.component.ts
15
15
  import { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from "@floating-ui/dom";
@@ -252,7 +252,7 @@ var SynPopup = class extends SynergyElement {
252
252
  getOffsetParent
253
253
  })
254
254
  }).then(({ x, y, middlewareData, placement }) => {
255
- const isRtl = getComputedStyle(this).direction === "rtl";
255
+ const isRtl = this.matches(":dir(rtl)");
256
256
  const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
257
257
  this.setAttribute("data-current-placement", placement);
258
258
  Object.assign(this.popup.style, {
@@ -409,4 +409,4 @@ __decorateClass([
409
409
  export {
410
410
  SynPopup
411
411
  };
412
- //# sourceMappingURL=chunk.CGOHWVSA.js.map
412
+ //# sourceMappingURL=chunk.6I4QZHQ6.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/popup/popup.component.ts"],
4
- "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { offsetParent } from 'composed-offset-position';\nimport { property, query } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './popup.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nexport interface VirtualElement {\n getBoundingClientRect: () => DOMRect;\n contextElement?: Element;\n}\n\nfunction isVirtualElement(e: unknown): e is VirtualElement {\n return (\n e !== null &&\n typeof e === 'object' &&\n 'getBoundingClientRect' in e &&\n ('contextElement' in e ? e instanceof Element : true)\n );\n}\n\n/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy.style/components/popup\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n * @csspart hover-bridge - The hover bridge element. Only available when the `hover-bridge` option is enabled.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */\nexport default class SynPopup extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n private anchorEl: Element | VirtualElement | null;\n private cleanup: ReturnType<typeof autoUpdate> | undefined;\n\n /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */\n @query('.popup') popup: HTMLElement;\n @query('.popup__arrow') private arrowEl: HTMLElement;\n\n /**\n * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor\n * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the\n * `anchor` slot instead.\n */\n @property() anchor: Element | string | VirtualElement;\n\n /**\n * Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\n * down and the popup will be hidden.\n */\n @property({ type: Boolean, reflect: true }) active = false;\n\n /**\n * The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\n * panel inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /**\n * Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\n * clipped, using a `fixed` position strategy can often workaround it.\n */\n @property({ reflect: true }) strategy: 'absolute' | 'fixed' = 'absolute';\n\n /** The distance in pixels from which to offset the panel away from its anchor. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its anchor. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n * `--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n * `::part(arrow)` in your stylesheet.\n */\n @property({ type: Boolean }) arrow = false;\n\n /**\n * The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\n * anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\n * align the arrow to the start, end, or center of the popover instead.\n */\n @property({ attribute: 'arrow-placement' }) arrowPlacement: 'start' | 'end' | 'center' | 'anchor' = 'anchor';\n\n /**\n * The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\n * this will prevent it from overflowing the corners.\n */\n @property({ attribute: 'arrow-padding', type: Number }) arrowPadding = 10;\n\n /**\n * When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n * `flipFallbackPlacements` to further configure how the fallback placement is determined.\n */\n @property({ type: Boolean }) flip = false;\n\n /**\n * If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\n * string of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\n * fallback strategy will be used instead.\n * */\n @property({\n attribute: 'flip-fallback-placements',\n converter: {\n fromAttribute: (value: string) => {\n return value\n .split(' ')\n .map(p => p.trim())\n .filter(p => p !== '');\n },\n toAttribute: (value: []) => {\n return value.join(' ');\n }\n }\n })\n flipFallbackPlacements = '';\n\n /**\n * When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\n * the popup should be positioned using the best available fit based on available space or as it was initially\n * preferred.\n */\n @property({ attribute: 'flip-fallback-strategy' }) flipFallbackStrategy: 'best-fit' | 'initial' = 'best-fit';\n\n /**\n * The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) flipBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the flip behavior will occur. */\n @property({ attribute: 'flip-padding', type: Number }) flipPadding = 0;\n\n /** Moves the popup along the axis to keep it in view when clipped. */\n @property({ type: Boolean }) shift = false;\n\n /**\n * The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) shiftBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the shift behavior will occur. */\n @property({ attribute: 'shift-padding', type: Number }) shiftPadding = 0;\n\n /** When set, this will cause the popup to automatically resize itself to prevent it from overflowing. */\n @property({ attribute: 'auto-size' }) autoSize: 'horizontal' | 'vertical' | 'both';\n\n /** Syncs the popup's width or height to that of the anchor element. */\n @property() sync: 'width' | 'height' | 'both';\n\n /**\n * The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) autoSizeBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the auto-size behavior will occur. */\n @property({ attribute: 'auto-size-padding', type: Number }) autoSizePadding = 0;\n\n /**\n * When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\n * gap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\n * because the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\n * active.\n */\n @property({ attribute: 'hover-bridge', type: Boolean }) hoverBridge = false;\n\n async connectedCallback() {\n super.connectedCallback();\n\n // Start the positioner after the first update\n await this.updateComplete;\n this.start();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stop();\n }\n\n async updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n // Start or stop the positioner when active changes\n if (changedProps.has('active')) {\n if (this.active) {\n this.start();\n } else {\n this.stop();\n }\n }\n\n // Update the anchor when anchor changes\n if (changedProps.has('anchor')) {\n this.handleAnchorChange();\n }\n\n // All other properties will trigger a reposition when active\n if (this.active) {\n await this.updateComplete;\n this.reposition();\n }\n }\n\n private async handleAnchorChange() {\n await this.stop();\n\n if (this.anchor && typeof this.anchor === 'string') {\n // Locate the anchor by id\n const root = this.getRootNode() as Document | ShadowRoot;\n this.anchorEl = root.getElementById(this.anchor);\n } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {\n // Use the anchor's reference\n this.anchorEl = this.anchor;\n } else {\n // Look for a slotted anchor\n this.anchorEl = this.querySelector<HTMLElement>('[slot=\"anchor\"]');\n }\n\n // If the anchor is a <slot>, we'll use the first assigned element as the target since slots use `display: contents`\n // and positioning can't be calculated on them\n if (this.anchorEl instanceof HTMLSlotElement) {\n this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0] as HTMLElement;\n }\n\n // If the anchor is valid, start it up\n if (this.anchorEl) {\n this.start();\n }\n }\n\n private start() {\n // We can't start the positioner without an anchor\n if (!this.anchorEl) {\n return;\n }\n\n this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {\n this.reposition();\n });\n }\n\n private async stop(): Promise<void> {\n return new Promise(resolve => {\n if (this.cleanup) {\n this.cleanup();\n this.cleanup = undefined;\n this.removeAttribute('data-current-placement');\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n requestAnimationFrame(() => resolve());\n } else {\n resolve();\n }\n });\n }\n\n /** Forces the popup to recalculate and reposition itself. */\n reposition() {\n // Nothing to do if the popup is inactive or the anchor doesn't exist\n if (!this.active || !this.anchorEl) {\n return;\n }\n\n //\n // NOTE: Floating UI middlewares are order dependent: https://floating-ui.com/docs/middleware\n //\n const middleware = [\n // The offset middleware goes first\n offset({ mainAxis: this.distance, crossAxis: this.skidding })\n ];\n\n // First we sync width/height\n if (this.sync) {\n middleware.push(\n size({\n apply: ({ rects }) => {\n const syncWidth = this.sync === 'width' || this.sync === 'both';\n const syncHeight = this.sync === 'height' || this.sync === 'both';\n this.popup.style.width = syncWidth ? `${rects.reference.width}px` : '';\n this.popup.style.height = syncHeight ? `${rects.reference.height}px` : '';\n }\n })\n );\n } else {\n // Cleanup styles if we're not matching width/height\n this.popup.style.width = '';\n this.popup.style.height = '';\n }\n\n // Then we flip\n if (this.flip) {\n middleware.push(\n flip({\n boundary: this.flipBoundary,\n // @ts-expect-error - We're converting a string attribute to an array here\n fallbackPlacements: this.flipFallbackPlacements,\n fallbackStrategy: this.flipFallbackStrategy === 'best-fit' ? 'bestFit' : 'initialPlacement',\n padding: this.flipPadding\n })\n );\n }\n\n // Then we shift\n if (this.shift) {\n middleware.push(\n shift({\n boundary: this.shiftBoundary,\n padding: this.shiftPadding\n })\n );\n }\n\n // Now we adjust the size as needed\n if (this.autoSize) {\n middleware.push(\n size({\n boundary: this.autoSizeBoundary,\n padding: this.autoSizePadding,\n apply: ({ availableWidth, availableHeight }) => {\n if (this.autoSize === 'vertical' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-height', `${availableHeight}px`);\n } else {\n this.style.removeProperty('--auto-size-available-height');\n }\n\n if (this.autoSize === 'horizontal' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-width', `${availableWidth}px`);\n } else {\n this.style.removeProperty('--auto-size-available-width');\n }\n }\n })\n );\n } else {\n // Cleanup styles if we're no longer using auto-size\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n }\n\n // Finally, we add an arrow\n if (this.arrow) {\n middleware.push(\n arrow({\n element: this.arrowEl,\n padding: this.arrowPadding\n })\n );\n }\n\n //\n // Use custom positioning logic if the strategy is absolute. Otherwise, fall back to the default logic.\n //\n // More info: https://github.com/synergy-design-system/synergy/issues/1135\n //\n const getOffsetParent =\n this.strategy === 'absolute'\n ? (element: Element) => platform.getOffsetParent(element, offsetParent)\n : platform.getOffsetParent;\n\n computePosition(this.anchorEl, this.popup, {\n placement: this.placement,\n middleware,\n strategy: this.strategy,\n platform: {\n ...platform,\n getOffsetParent\n }\n }).then(({ x, y, middlewareData, placement }) => {\n //\n // Even though we have our own localization utility, it uses different heuristics to determine RTL. Because of\n // that, we'll use the same approach that Floating UI uses.\n //\n // Source: https://github.com/floating-ui/floating-ui/blob/cb3b6ab07f95275730d3e6e46c702f8d4908b55c/packages/dom/src/utils/getDocumentRect.ts#L31\n //\n const isRtl = getComputedStyle(this).direction === 'rtl';\n const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[placement.split('-')[0]]!;\n\n this.setAttribute('data-current-placement', placement);\n\n Object.assign(this.popup.style, {\n left: `${x}px`,\n top: `${y}px`\n });\n\n if (this.arrow) {\n const arrowX = middlewareData.arrow!.x;\n const arrowY = middlewareData.arrow!.y;\n let top = '';\n let right = '';\n let bottom = '';\n let left = '';\n\n if (this.arrowPlacement === 'start') {\n // Start\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n top = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? value : '';\n left = isRtl ? '' : value;\n } else if (this.arrowPlacement === 'end') {\n // End\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? '' : value;\n left = isRtl ? value : '';\n bottom = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n } else if (this.arrowPlacement === 'center') {\n // Center\n left = typeof arrowX === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n top = typeof arrowY === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n } else {\n // Anchor (default)\n left = typeof arrowX === 'number' ? `${arrowX}px` : '';\n top = typeof arrowY === 'number' ? `${arrowY}px` : '';\n }\n\n Object.assign(this.arrowEl.style, {\n top,\n right,\n bottom,\n left,\n [staticSide]: 'calc(var(--arrow-size-diagonal) * -1)'\n });\n }\n });\n\n // Wait until the new position is drawn before updating the hover bridge, otherwise it can get out of sync\n requestAnimationFrame(() => this.updateHoverBridge());\n\n this.emit('syn-reposition');\n }\n\n private updateHoverBridge = () => {\n if (this.hoverBridge && this.anchorEl) {\n const anchorRect = this.anchorEl.getBoundingClientRect();\n const popupRect = this.popup.getBoundingClientRect();\n const isVertical = this.placement.includes('top') || this.placement.includes('bottom');\n let topLeftX = 0;\n let topLeftY = 0;\n let topRightX = 0;\n let topRightY = 0;\n let bottomLeftX = 0;\n let bottomLeftY = 0;\n let bottomRightX = 0;\n let bottomRightY = 0;\n\n if (isVertical) {\n if (anchorRect.top < popupRect.top) {\n // Anchor is above\n topLeftX = anchorRect.left;\n topLeftY = anchorRect.bottom;\n topRightX = anchorRect.right;\n topRightY = anchorRect.bottom;\n\n bottomLeftX = popupRect.left;\n bottomLeftY = popupRect.top;\n bottomRightX = popupRect.right;\n bottomRightY = popupRect.top;\n } else {\n // Anchor is below\n topLeftX = popupRect.left;\n topLeftY = popupRect.bottom;\n topRightX = popupRect.right;\n topRightY = popupRect.bottom;\n\n bottomLeftX = anchorRect.left;\n bottomLeftY = anchorRect.top;\n bottomRightX = anchorRect.right;\n bottomRightY = anchorRect.top;\n }\n } else {\n if (anchorRect.left < popupRect.left) {\n // Anchor is on the left\n topLeftX = anchorRect.right;\n topLeftY = anchorRect.top;\n topRightX = popupRect.left;\n topRightY = popupRect.top;\n\n bottomLeftX = anchorRect.right;\n bottomLeftY = anchorRect.bottom;\n bottomRightX = popupRect.left;\n bottomRightY = popupRect.bottom;\n } else {\n // Anchor is on the right\n topLeftX = popupRect.right;\n topLeftY = popupRect.top;\n topRightX = anchorRect.left;\n topRightY = anchorRect.top;\n\n bottomLeftX = popupRect.right;\n bottomLeftY = popupRect.bottom;\n bottomRightX = anchorRect.left;\n bottomRightY = anchorRect.bottom;\n }\n }\n\n this.style.setProperty('--hover-bridge-top-left-x', `${topLeftX}px`);\n this.style.setProperty('--hover-bridge-top-left-y', `${topLeftY}px`);\n this.style.setProperty('--hover-bridge-top-right-x', `${topRightX}px`);\n this.style.setProperty('--hover-bridge-top-right-y', `${topRightY}px`);\n this.style.setProperty('--hover-bridge-bottom-left-x', `${bottomLeftX}px`);\n this.style.setProperty('--hover-bridge-bottom-left-y', `${bottomLeftY}px`);\n this.style.setProperty('--hover-bridge-bottom-right-x', `${bottomRightX}px`);\n this.style.setProperty('--hover-bridge-bottom-right-y', `${bottomRightY}px`);\n }\n };\n\n render() {\n return html`\n <slot name=\"anchor\" @slotchange=${this.handleAnchorChange}></slot>\n\n <span\n part=\"hover-bridge\"\n class=${classMap({\n 'popup-hover-bridge': true,\n 'popup-hover-bridge--visible': this.hoverBridge && this.active\n })}\n ></span>\n\n <div\n part=\"popup\"\n class=${classMap({\n popup: true,\n 'popup--active': this.active,\n 'popup--fixed': this.strategy === 'fixed',\n 'popup--has-arrow': this.arrow\n })}\n >\n <slot></slot>\n ${this.arrow ? html`<div part=\"arrow\" class=\"popup__arrow\" role=\"presentation\"></div>` : ''}\n </div>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAQA,SAAS,OAA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MACA,aAAa,CAAC,UAAc;AAC1B,eAAO,MAAM,KAAK,GAAG;AAAA,MACvB;AAAA,IACF;AAAA,EACF,CAAC;AAAA,GAjGkB,SAkGnB;AAOmD;AAAA,EAAlD,SAAS,EAAE,WAAW,yBAAyB,CAAC;AAAA,GAzG9B,SAyGgC;AAOvB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GAhHP,SAgHS;AAG2B;AAAA,EAAtD,SAAS,EAAE,WAAW,gBAAgB,MAAM,OAAO,CAAC;AAAA,GAnHlC,SAmHoC;AAG1B;AAAA,EAA5B,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAtHR,SAsHU;AAOD;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA7HP,SA6HS;AAG4B;AAAA,EAAvD,SAAS,EAAE,WAAW,iBAAiB,MAAM,OAAO,CAAC;AAAA,GAhInC,SAgIqC;AAGlB;AAAA,EAArC,SAAS,EAAE,WAAW,YAAY,CAAC;AAAA,GAnIjB,SAmImB;AAG1B;AAAA,EAAX,SAAS;AAAA,GAtIS,SAsIP;AAOgB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA7IP,SA6IS;AAGgC;AAAA,EAA3D,SAAS,EAAE,WAAW,qBAAqB,MAAM,OAAO,CAAC;AAAA,GAhJvC,SAgJyC;AAQJ;AAAA,EAAvD,SAAS,EAAE,WAAW,gBAAgB,MAAM,QAAQ,CAAC;AAAA,GAxJnC,SAwJqC;",
4
+ "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { offsetParent } from 'composed-offset-position';\nimport { property, query } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './popup.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nexport interface VirtualElement {\n getBoundingClientRect: () => DOMRect;\n contextElement?: Element;\n}\n\nfunction isVirtualElement(e: unknown): e is VirtualElement {\n return (\n e !== null &&\n typeof e === 'object' &&\n 'getBoundingClientRect' in e &&\n ('contextElement' in e ? e instanceof Element : true)\n );\n}\n\n/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy.style/components/popup\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n * @csspart hover-bridge - The hover bridge element. Only available when the `hover-bridge` option is enabled.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */\nexport default class SynPopup extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n private anchorEl: Element | VirtualElement | null;\n private cleanup: ReturnType<typeof autoUpdate> | undefined;\n\n /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */\n @query('.popup') popup: HTMLElement;\n @query('.popup__arrow') private arrowEl: HTMLElement;\n\n /**\n * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor\n * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the\n * `anchor` slot instead.\n */\n @property() anchor: Element | string | VirtualElement;\n\n /**\n * Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\n * down and the popup will be hidden.\n */\n @property({ type: Boolean, reflect: true }) active = false;\n\n /**\n * The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\n * panel inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /**\n * Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\n * clipped, using a `fixed` position strategy can often workaround it.\n */\n @property({ reflect: true }) strategy: 'absolute' | 'fixed' = 'absolute';\n\n /** The distance in pixels from which to offset the panel away from its anchor. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its anchor. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n * `--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n * `::part(arrow)` in your stylesheet.\n */\n @property({ type: Boolean }) arrow = false;\n\n /**\n * The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\n * anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\n * align the arrow to the start, end, or center of the popover instead.\n */\n @property({ attribute: 'arrow-placement' }) arrowPlacement: 'start' | 'end' | 'center' | 'anchor' = 'anchor';\n\n /**\n * The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\n * this will prevent it from overflowing the corners.\n */\n @property({ attribute: 'arrow-padding', type: Number }) arrowPadding = 10;\n\n /**\n * When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n * `flipFallbackPlacements` to further configure how the fallback placement is determined.\n */\n @property({ type: Boolean }) flip = false;\n\n /**\n * If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\n * string of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\n * fallback strategy will be used instead.\n * */\n @property({\n attribute: 'flip-fallback-placements',\n converter: {\n fromAttribute: (value: string) => {\n return value\n .split(' ')\n .map(p => p.trim())\n .filter(p => p !== '');\n },\n toAttribute: (value: []) => {\n return value.join(' ');\n }\n }\n })\n flipFallbackPlacements = '';\n\n /**\n * When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\n * the popup should be positioned using the best available fit based on available space or as it was initially\n * preferred.\n */\n @property({ attribute: 'flip-fallback-strategy' }) flipFallbackStrategy: 'best-fit' | 'initial' = 'best-fit';\n\n /**\n * The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) flipBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the flip behavior will occur. */\n @property({ attribute: 'flip-padding', type: Number }) flipPadding = 0;\n\n /** Moves the popup along the axis to keep it in view when clipped. */\n @property({ type: Boolean }) shift = false;\n\n /**\n * The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) shiftBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the shift behavior will occur. */\n @property({ attribute: 'shift-padding', type: Number }) shiftPadding = 0;\n\n /** When set, this will cause the popup to automatically resize itself to prevent it from overflowing. */\n @property({ attribute: 'auto-size' }) autoSize: 'horizontal' | 'vertical' | 'both';\n\n /** Syncs the popup's width or height to that of the anchor element. */\n @property() sync: 'width' | 'height' | 'both';\n\n /**\n * The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) autoSizeBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the auto-size behavior will occur. */\n @property({ attribute: 'auto-size-padding', type: Number }) autoSizePadding = 0;\n\n /**\n * When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\n * gap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\n * because the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\n * active.\n */\n @property({ attribute: 'hover-bridge', type: Boolean }) hoverBridge = false;\n\n async connectedCallback() {\n super.connectedCallback();\n\n // Start the positioner after the first update\n await this.updateComplete;\n this.start();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stop();\n }\n\n async updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n // Start or stop the positioner when active changes\n if (changedProps.has('active')) {\n if (this.active) {\n this.start();\n } else {\n this.stop();\n }\n }\n\n // Update the anchor when anchor changes\n if (changedProps.has('anchor')) {\n this.handleAnchorChange();\n }\n\n // All other properties will trigger a reposition when active\n if (this.active) {\n await this.updateComplete;\n this.reposition();\n }\n }\n\n private async handleAnchorChange() {\n await this.stop();\n\n if (this.anchor && typeof this.anchor === 'string') {\n // Locate the anchor by id\n const root = this.getRootNode() as Document | ShadowRoot;\n this.anchorEl = root.getElementById(this.anchor);\n } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {\n // Use the anchor's reference\n this.anchorEl = this.anchor;\n } else {\n // Look for a slotted anchor\n this.anchorEl = this.querySelector<HTMLElement>('[slot=\"anchor\"]');\n }\n\n // If the anchor is a <slot>, we'll use the first assigned element as the target since slots use `display: contents`\n // and positioning can't be calculated on them\n if (this.anchorEl instanceof HTMLSlotElement) {\n this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0] as HTMLElement;\n }\n\n // If the anchor is valid, start it up\n if (this.anchorEl) {\n this.start();\n }\n }\n\n private start() {\n // We can't start the positioner without an anchor\n if (!this.anchorEl) {\n return;\n }\n\n this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {\n this.reposition();\n });\n }\n\n private async stop(): Promise<void> {\n return new Promise(resolve => {\n if (this.cleanup) {\n this.cleanup();\n this.cleanup = undefined;\n this.removeAttribute('data-current-placement');\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n requestAnimationFrame(() => resolve());\n } else {\n resolve();\n }\n });\n }\n\n /** Forces the popup to recalculate and reposition itself. */\n reposition() {\n // Nothing to do if the popup is inactive or the anchor doesn't exist\n if (!this.active || !this.anchorEl) {\n return;\n }\n\n //\n // NOTE: Floating UI middlewares are order dependent: https://floating-ui.com/docs/middleware\n //\n const middleware = [\n // The offset middleware goes first\n offset({ mainAxis: this.distance, crossAxis: this.skidding })\n ];\n\n // First we sync width/height\n if (this.sync) {\n middleware.push(\n size({\n apply: ({ rects }) => {\n const syncWidth = this.sync === 'width' || this.sync === 'both';\n const syncHeight = this.sync === 'height' || this.sync === 'both';\n this.popup.style.width = syncWidth ? `${rects.reference.width}px` : '';\n this.popup.style.height = syncHeight ? `${rects.reference.height}px` : '';\n }\n })\n );\n } else {\n // Cleanup styles if we're not matching width/height\n this.popup.style.width = '';\n this.popup.style.height = '';\n }\n\n // Then we flip\n if (this.flip) {\n middleware.push(\n flip({\n boundary: this.flipBoundary,\n // @ts-expect-error - We're converting a string attribute to an array here\n fallbackPlacements: this.flipFallbackPlacements,\n fallbackStrategy: this.flipFallbackStrategy === 'best-fit' ? 'bestFit' : 'initialPlacement',\n padding: this.flipPadding\n })\n );\n }\n\n // Then we shift\n if (this.shift) {\n middleware.push(\n shift({\n boundary: this.shiftBoundary,\n padding: this.shiftPadding\n })\n );\n }\n\n // Now we adjust the size as needed\n if (this.autoSize) {\n middleware.push(\n size({\n boundary: this.autoSizeBoundary,\n padding: this.autoSizePadding,\n apply: ({ availableWidth, availableHeight }) => {\n if (this.autoSize === 'vertical' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-height', `${availableHeight}px`);\n } else {\n this.style.removeProperty('--auto-size-available-height');\n }\n\n if (this.autoSize === 'horizontal' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-width', `${availableWidth}px`);\n } else {\n this.style.removeProperty('--auto-size-available-width');\n }\n }\n })\n );\n } else {\n // Cleanup styles if we're no longer using auto-size\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n }\n\n // Finally, we add an arrow\n if (this.arrow) {\n middleware.push(\n arrow({\n element: this.arrowEl,\n padding: this.arrowPadding\n })\n );\n }\n\n //\n // Use custom positioning logic if the strategy is absolute. Otherwise, fall back to the default logic.\n //\n // More info: https://github.com/synergy-design-system/synergy/issues/1135\n //\n const getOffsetParent =\n this.strategy === 'absolute'\n ? (element: Element) => platform.getOffsetParent(element, offsetParent)\n : platform.getOffsetParent;\n\n computePosition(this.anchorEl, this.popup, {\n placement: this.placement,\n middleware,\n strategy: this.strategy,\n platform: {\n ...platform,\n getOffsetParent\n }\n }).then(({ x, y, middlewareData, placement }) => {\n //\n // Even though we have our own localization utility, it uses different heuristics to determine RTL. Because of\n // that, we'll use the same approach that Floating UI uses.\n //\n // Source: https://github.com/floating-ui/floating-ui/blob/cb3b6ab07f95275730d3e6e46c702f8d4908b55c/packages/dom/src/utils/getDocumentRect.ts#L31\n //\n const isRtl = this.matches(':dir(rtl)');\n const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[placement.split('-')[0]]!;\n\n this.setAttribute('data-current-placement', placement);\n\n Object.assign(this.popup.style, {\n left: `${x}px`,\n top: `${y}px`\n });\n\n if (this.arrow) {\n const arrowX = middlewareData.arrow!.x;\n const arrowY = middlewareData.arrow!.y;\n let top = '';\n let right = '';\n let bottom = '';\n let left = '';\n\n if (this.arrowPlacement === 'start') {\n // Start\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n top = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? value : '';\n left = isRtl ? '' : value;\n } else if (this.arrowPlacement === 'end') {\n // End\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? '' : value;\n left = isRtl ? value : '';\n bottom = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n } else if (this.arrowPlacement === 'center') {\n // Center\n left = typeof arrowX === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n top = typeof arrowY === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n } else {\n // Anchor (default)\n left = typeof arrowX === 'number' ? `${arrowX}px` : '';\n top = typeof arrowY === 'number' ? `${arrowY}px` : '';\n }\n\n Object.assign(this.arrowEl.style, {\n top,\n right,\n bottom,\n left,\n [staticSide]: 'calc(var(--arrow-size-diagonal) * -1)'\n });\n }\n });\n\n // Wait until the new position is drawn before updating the hover bridge, otherwise it can get out of sync\n requestAnimationFrame(() => this.updateHoverBridge());\n\n this.emit('syn-reposition');\n }\n\n private updateHoverBridge = () => {\n if (this.hoverBridge && this.anchorEl) {\n const anchorRect = this.anchorEl.getBoundingClientRect();\n const popupRect = this.popup.getBoundingClientRect();\n const isVertical = this.placement.includes('top') || this.placement.includes('bottom');\n let topLeftX = 0;\n let topLeftY = 0;\n let topRightX = 0;\n let topRightY = 0;\n let bottomLeftX = 0;\n let bottomLeftY = 0;\n let bottomRightX = 0;\n let bottomRightY = 0;\n\n if (isVertical) {\n if (anchorRect.top < popupRect.top) {\n // Anchor is above\n topLeftX = anchorRect.left;\n topLeftY = anchorRect.bottom;\n topRightX = anchorRect.right;\n topRightY = anchorRect.bottom;\n\n bottomLeftX = popupRect.left;\n bottomLeftY = popupRect.top;\n bottomRightX = popupRect.right;\n bottomRightY = popupRect.top;\n } else {\n // Anchor is below\n topLeftX = popupRect.left;\n topLeftY = popupRect.bottom;\n topRightX = popupRect.right;\n topRightY = popupRect.bottom;\n\n bottomLeftX = anchorRect.left;\n bottomLeftY = anchorRect.top;\n bottomRightX = anchorRect.right;\n bottomRightY = anchorRect.top;\n }\n } else {\n if (anchorRect.left < popupRect.left) {\n // Anchor is on the left\n topLeftX = anchorRect.right;\n topLeftY = anchorRect.top;\n topRightX = popupRect.left;\n topRightY = popupRect.top;\n\n bottomLeftX = anchorRect.right;\n bottomLeftY = anchorRect.bottom;\n bottomRightX = popupRect.left;\n bottomRightY = popupRect.bottom;\n } else {\n // Anchor is on the right\n topLeftX = popupRect.right;\n topLeftY = popupRect.top;\n topRightX = anchorRect.left;\n topRightY = anchorRect.top;\n\n bottomLeftX = popupRect.right;\n bottomLeftY = popupRect.bottom;\n bottomRightX = anchorRect.left;\n bottomRightY = anchorRect.bottom;\n }\n }\n\n this.style.setProperty('--hover-bridge-top-left-x', `${topLeftX}px`);\n this.style.setProperty('--hover-bridge-top-left-y', `${topLeftY}px`);\n this.style.setProperty('--hover-bridge-top-right-x', `${topRightX}px`);\n this.style.setProperty('--hover-bridge-top-right-y', `${topRightY}px`);\n this.style.setProperty('--hover-bridge-bottom-left-x', `${bottomLeftX}px`);\n this.style.setProperty('--hover-bridge-bottom-left-y', `${bottomLeftY}px`);\n this.style.setProperty('--hover-bridge-bottom-right-x', `${bottomRightX}px`);\n this.style.setProperty('--hover-bridge-bottom-right-y', `${bottomRightY}px`);\n }\n };\n\n render() {\n return html`\n <slot name=\"anchor\" @slotchange=${this.handleAnchorChange}></slot>\n\n <span\n part=\"hover-bridge\"\n class=${classMap({\n 'popup-hover-bridge': true,\n 'popup-hover-bridge--visible': this.hoverBridge && this.active\n })}\n ></span>\n\n <div\n part=\"popup\"\n class=${classMap({\n popup: true,\n 'popup--active': this.active,\n 'popup--fixed': this.strategy === 'fixed',\n 'popup--has-arrow': this.arrow\n })}\n >\n <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7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
10
10
  import {
11
11
  watch
12
- } from "./chunk.ITKS5ZOS.js";
12
+ } from "./chunk.74IOULXM.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.3I5JDTGT.js";
15
+ } from "./chunk.JTYYYMG2.js";
16
16
  import {
17
17
  __decorateClass
18
- } from "./chunk.HLQ75E45.js";
18
+ } from "./chunk.2GFK6XTO.js";
19
19
 
20
20
  // src/components/optgroup/optgroup.component.ts
21
21
  import { classMap } from "lit/directives/class-map.js";
@@ -93,4 +93,4 @@ __decorateClass([
93
93
  export {
94
94
  SynOptgroup
95
95
  };
96
- //# sourceMappingURL=chunk.J2EUQLBR.js.map
96
+ //# sourceMappingURL=chunk.6OCJR2YI.js.map
@@ -20,6 +20,14 @@ var select_custom_styles_default = css`
20
20
  font-size: var(--syn-spacing-large);
21
21
  }
22
22
 
23
+ .select--small .select__clear {
24
+ font-size: var(--syn-spacing-medium);
25
+ }
26
+
27
+ .select--large .select__clear {
28
+ font-size: var(--syn-spacing-x-large);
29
+ }
30
+
23
31
  .select--medium .select__clear {
24
32
  margin-inline-start: var(--syn-spacing-small);
25
33
  }
@@ -37,22 +45,35 @@ var select_custom_styles_default = css`
37
45
  border-color: var(--syn-input-color-hover);
38
46
  }
39
47
 
40
- /* Prefix */
48
+ /* Prefix and Suffix */
41
49
 
42
50
  /* Small */
43
51
  .select--small .select__prefix::slotted(*) {
44
52
  margin-inline-end: var(--syn-spacing-x-small);
45
53
  }
46
54
 
55
+ .select--small .select__suffix::slotted(*) {
56
+ margin-inline-start: var(--syn-spacing-x-small);
57
+ }
58
+
47
59
  .select--medium .select__prefix::slotted(*) {
48
60
  margin-inline-end: var(--syn-input-spacing-small);
49
61
  }
50
62
 
63
+ .select--medium .select__suffix::slotted(*) {
64
+ margin-inline-start: var(--syn-input-spacing-small);
65
+ }
66
+
51
67
  .select--large .select__prefix::slotted(*) {
52
68
  margin-inline-end: var(--syn-input-spacing-medium);
53
69
  }
54
70
 
55
- .select__prefix {
71
+ .select--large .select__suffix::slotted(*) {
72
+ margin-inline-start: var(--syn-input-spacing-medium);
73
+ }
74
+
75
+ .select__prefix,
76
+ .select__suffix {
56
77
  color: var(--syn-input-help-text-color);
57
78
  }
58
79
 
@@ -93,4 +114,4 @@ var select_custom_styles_default = css`
93
114
  export {
94
115
  select_custom_styles_default
95
116
  };
96
- //# sourceMappingURL=chunk.6UAOF7WN.js.map
117
+ //# sourceMappingURL=chunk.72HIKLQG.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/select/select.custom.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n /**\n * Invalid user data\n */\n :host([data-user-invalid]) .select__combobox {\n border-color: var(--syn-input-border-color-focus-error);\n }\n\n :host([data-user-invalid]) .select--standard:not(.select--disabled).select--open .select__combobox,\n :host([data-user-invalid]) .select--standard:not(.select--disabled).select--focused .select__combobox {\n border-color: var(--syn-input-border-color-focus-error);\n box-shadow: 0 0 0 var(--syn-focus-ring-width) var(--syn-input-focus-ring-error);\n }\n\n /* Clear button */\n .select__clear {\n color: var(--syn-input-icon-icon-clearable-color);\n font-size: var(--syn-spacing-large);\n }\n\n .select--small .select__clear {\n font-size: var(--syn-spacing-medium);\n }\n\n .select--large .select__clear {\n font-size: var(--syn-spacing-x-large);\n }\n\n .select--medium .select__clear {\n margin-inline-start: var(--syn-spacing-small);\n }\n\n /* Expand icon */\n .select__expand-icon {\n color: var(--syn-color-neutral-950);\n font-size: var(--syn-spacing-large);\n margin-inline-start: var(--syn-spacing-small);\n }\n\n /* Change select border on hover */\n /* stylelint-disable-next-line no-descending-specificity */\n .select:not(.select--disabled):hover .select__combobox {\n border-color: var(--syn-input-color-hover);\n }\n\n /* Prefix and Suffix */\n\n /* Small */\n .select--small .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n .select--small .select__suffix::slotted(*) {\n margin-inline-start: var(--syn-spacing-x-small);\n }\n\n .select--medium .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-small);\n }\n\n .select--medium .select__suffix::slotted(*) {\n margin-inline-start: var(--syn-input-spacing-small);\n }\n\n .select--large .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-medium);\n }\n\n .select--large .select__suffix::slotted(*) {\n margin-inline-start: var(--syn-input-spacing-medium);\n }\n\n .select__prefix,\n .select__suffix {\n color: var(--syn-input-help-text-color);\n }\n\n /* Multi Select */\n .select__tags {\n margin-inline-start: var(--syn-spacing-medium);\n }\n\n .select--small .select__tags {\n gap: var(--syn-spacing-2x-small);\n }\n\n .select--medium .select__tags {\n gap: var(--syn-spacing-x-small);\n }\n\n .select--large .select__tags {\n gap: var(--syn-spacing-small);\n }\n\n /* Listbox */\n .select__listbox {\n /* @todo: Should be --syn-border-radius-medium, which should be set to 0 */\n border-radius: 0;\n box-shadow: var(--syn-shadow-medium);\n }\n\n /**\n * Make sure to hide the syn-divider for the first syn-optgroup\n * Note! ::slotted does currently not work with ::part, so we\n * opted for using a css variable here.\n */\n .select__listbox ::slotted(syn-optgroup:first-of-type) {\n --display-divider: none;\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,+BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.CGOHWVSA.js";
3
+ } from "./chunk.6I4QZHQ6.js";
4
4
 
5
5
  // src/components/popup/popup.ts
6
6
  var popup_default = SynPopup;
@@ -9,4 +9,4 @@ SynPopup.define("syn-popup");
9
9
  export {
10
10
  popup_default
11
11
  };
12
- //# sourceMappingURL=chunk.6BJDFV76.js.map
12
+ //# sourceMappingURL=chunk.72KEPLD4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __spreadValues
3
- } from "./chunk.HLQ75E45.js";
3
+ } from "./chunk.2GFK6XTO.js";
4
4
 
5
5
  // src/internal/watch.ts
6
6
  function watch(propertyName, options) {
@@ -31,4 +31,4 @@ function watch(propertyName, options) {
31
31
  export {
32
32
  watch
33
33
  };
34
- //# sourceMappingURL=chunk.ITKS5ZOS.js.map
34
+ //# sourceMappingURL=chunk.74IOULXM.js.map
@@ -3,36 +3,33 @@ import {
3
3
  } from "./chunk.OOABXWCW.js";
4
4
  import {
5
5
  menu_item_styles_default
6
- } from "./chunk.MLP2VIC7.js";
6
+ } from "./chunk.FSWTBNSI.js";
7
7
  import {
8
8
  SubmenuController
9
- } from "./chunk.U2OMGNNZ.js";
9
+ } from "./chunk.JNP34M27.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.CGOHWVSA.js";
12
+ } from "./chunk.6I4QZHQ6.js";
13
13
  import {
14
14
  SynSpinner
15
- } from "./chunk.Y3LKXZKA.js";
15
+ } from "./chunk.KSPAGGI2.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.UYCIME52.js";
23
- import {
24
- LocalizeController
25
- } from "./chunk.QQ3HY3YJ.js";
22
+ } from "./chunk.XNGZHSRO.js";
26
23
  import {
27
24
  watch
28
- } from "./chunk.ITKS5ZOS.js";
25
+ } from "./chunk.74IOULXM.js";
29
26
  import {
30
27
  SynergyElement,
31
28
  component_styles_default
32
- } from "./chunk.3I5JDTGT.js";
29
+ } from "./chunk.JTYYYMG2.js";
33
30
  import {
34
31
  __decorateClass
35
- } from "./chunk.HLQ75E45.js";
32
+ } from "./chunk.2GFK6XTO.js";
36
33
 
37
34
  // src/components/menu-item/menu-item.component.ts
38
35
  import { classMap } from "lit/directives/class-map.js";
@@ -46,9 +43,8 @@ var SynMenuItem = class extends SynergyElement {
46
43
  this.value = "";
47
44
  this.loading = false;
48
45
  this.disabled = false;
49
- this.localize = new LocalizeController(this);
50
46
  this.hasSlotController = new HasSlotController(this, "submenu");
51
- this.submenuController = new SubmenuController(this, this.hasSlotController, this.localize);
47
+ this.submenuController = new SubmenuController(this, this.hasSlotController);
52
48
  this.handleHostClick = (event) => {
53
49
  if (this.disabled) {
54
50
  event.preventDefault();
@@ -113,7 +109,7 @@ var SynMenuItem = class extends SynergyElement {
113
109
  return this.hasSlotController.test("submenu");
114
110
  }
115
111
  render() {
116
- const isRtl = this.localize.dir() === "rtl";
112
+ const isRtl = this.matches(":dir(rtl)");
117
113
  const isSubmenuExpanded = this.submenuController.isExpanded();
118
114
  return html`
119
115
  <div
@@ -191,4 +187,4 @@ __decorateClass([
191
187
  export {
192
188
  SynMenuItem
193
189
  };
194
- //# sourceMappingURL=chunk.AQJKRHVT.js.map
190
+ //# sourceMappingURL=chunk.7B5QDYTK.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/menu-item/menu-item.component.ts"],
4
+ "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getTextContent, HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { SubmenuController } from './submenu-controller.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport SynPopup from '../popup/popup.component.js';\nimport SynSpinner from '../spinner/spinner.component.js';\nimport styles from './menu-item.styles.js';\nimport customStyles from './menu-item.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Menu items provide options for the user to pick from in a menu.\n * @documentation https://synergy.style/components/menu-item\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-popup\n * @dependency syn-spinner\n *\n * @slot - The menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n * @slot submenu - Used to denote a nested menu.\n *\n * @csspart base - The component's base wrapper.\n * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked.\n * @csspart prefix - The prefix container.\n * @csspart label - The menu item label.\n * @csspart suffix - The suffix container.\n * @csspart spinner - The spinner that shows when the menu item is in the loading state.\n * @csspart spinner__base - The spinner's base part.\n * @csspart submenu-icon - The submenu icon, visible only when the menu item has a submenu (not yet implemented).\n *\n * @cssproperty [--submenu-offset=-2px] - The distance submenus shift to overlap the parent menu.\n */\nexport default class SynMenuItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n 'syn-spinner': SynSpinner\n };\n\n private cachedTextLabel: string;\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.menu-item') menuItem: HTMLElement;\n\n /** The type of menu item to render. To use `checked`, this value must be set to `checkbox`. */\n @property() type: 'normal' | 'checkbox' = 'normal';\n\n /** Draws the item in a checked state. */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @property() value = '';\n\n /** Draws the menu item in a loading state. */\n @property({ type: Boolean, reflect: true }) loading = false;\n\n /** Draws the menu item in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n private readonly hasSlotController = new HasSlotController(this, 'submenu');\n private submenuController: SubmenuController = new SubmenuController(this, this.hasSlotController);\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('click', this.handleHostClick);\n this.addEventListener('mouseover', this.handleMouseOver);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('click', this.handleHostClick);\n this.removeEventListener('mouseover', this.handleMouseOver);\n }\n\n private handleDefaultSlotChange() {\n const textLabel = this.getTextLabel();\n\n // Ignore the first time the label is set\n if (typeof this.cachedTextLabel === 'undefined') {\n this.cachedTextLabel = textLabel;\n return;\n }\n\n // When the label changes, emit a slotchange event so parent controls see it\n if (textLabel !== this.cachedTextLabel) {\n this.cachedTextLabel = textLabel;\n this.emit('slotchange', { bubbles: true, composed: false, cancelable: false });\n }\n }\n\n private handleHostClick = (event: MouseEvent) => {\n // Prevent the click event from being emitted when the button is disabled or loading\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n\n private handleMouseOver = (event: MouseEvent) => {\n this.focus();\n event.stopPropagation();\n };\n\n @watch('checked')\n handleCheckedChange() {\n // For proper accessibility, users have to use type=\"checkbox\" to use the checked attribute\n if (this.checked && this.type !== 'checkbox') {\n this.checked = false;\n console.error('The checked attribute can only be used on menu items with type=\"checkbox\"', this);\n return;\n }\n\n // Only checkbox types can receive the aria-checked attribute\n if (this.type === 'checkbox') {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.removeAttribute('aria-checked');\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('type')\n handleTypeChange() {\n if (this.type === 'checkbox') {\n this.setAttribute('role', 'menuitemcheckbox');\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.setAttribute('role', 'menuitem');\n this.removeAttribute('aria-checked');\n }\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n getTextLabel() {\n return getTextContent(this.defaultSlot);\n }\n\n isSubmenu() {\n return this.hasSlotController.test('submenu');\n }\n\n render() {\n const isRtl = this.matches(':dir(rtl)');\n const isSubmenuExpanded = this.submenuController.isExpanded();\n\n return html`\n <div\n id=\"anchor\"\n part=\"base\"\n class=${classMap({\n 'menu-item': true,\n 'menu-item--rtl': isRtl,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--loading': this.loading,\n 'menu-item--has-submenu': this.isSubmenu(),\n 'menu-item--submenu-expanded': isSubmenuExpanded\n })}\n ?aria-haspopup=\"${this.isSubmenu()}\"\n ?aria-expanded=\"${isSubmenuExpanded ? true : false}\"\n >\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <syn-icon name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n <slot name=\"prefix\" part=\"prefix\" class=\"menu-item__prefix\"></slot>\n\n <slot part=\"label\" class=\"menu-item__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n\n <slot name=\"suffix\" part=\"suffix\" class=\"menu-item__suffix\"></slot>\n\n <span part=\"submenu-icon\" class=\"menu-item__chevron\">\n <syn-icon name=\"chevron-down\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n ${this.submenuController.renderSubmenu()}\n ${this.loading ? html` <syn-spinner part=\"spinner\" exportparts=\"base:spinner__base\"></syn-spinner> ` : ''}\n </div>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;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AC,0BAAiB,0BAAQ,+BAAY;AADnD,YAEZ,eAAe;AAAA,EACpB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,eAAe;AACjB;AAI2B;AAAA,EAA1B,MAAM,kBAAkB;AAAA,GAVN,YAUQ;AACN;AAAA,EAApB,MAAM,YAAY;AAAA,GAXA,YAWE;AAGT;AAAA,EAAX,SAAS;AAAA,GAdS,YAcP;AAGgC;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAjBvB,YAiByB;AAGhC;AAAA,EAAX,SAAS;AAAA,GApBS,YAoBP;AAGgC;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAvBvB,YAuByB;AAGA;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GA1BvB,YA0ByB;AA+C5C;AAAA,EADC,MAAM,SAAS;AAAA,GAxEG,YAyEnB;AAiBA;AAAA,EADC,MAAM,UAAU;AAAA,GAzFE,YA0FnB;AAKA;AAAA,EADC,MAAM,MAAM;AAAA,GA9FM,YA+FnB;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.NCXSLHHQ.js";
3
+ } from "./chunk.DKGNY4YS.js";
4
4
 
5
5
  // src/components/radio-group/radio-group.ts
6
6
  var radio_group_default = SynRadioGroup;
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
9
9
  export {
10
10
  radio_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.AQ3OGEJ7.js.map
12
+ //# sourceMappingURL=chunk.7GVODRHO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBreadcrumbItem
3
- } from "./chunk.2IEYCSI6.js";
3
+ } from "./chunk.YVPJSA6G.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.536NCWEA.js.map
12
+ //# sourceMappingURL=chunk.7I5Q3H5W.js.map