@synergy-design-system/components 2.10.1 → 2.11.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 (348) hide show
  1. package/dist/chunks/{chunk.RWH4QWJJ.js → chunk.2CO2NVIH.js} +6 -6
  2. package/dist/chunks/{chunk.PDM2RKUO.js → chunk.2FDAY6KG.js} +2 -2
  3. package/dist/chunks/{chunk.FR3XPGUO.js → chunk.35XN5YQW.js} +17 -10
  4. package/dist/chunks/chunk.35XN5YQW.js.map +7 -0
  5. package/dist/chunks/{chunk.ILKUAKHV.js → chunk.3EY2CJGW.js} +2 -2
  6. package/dist/chunks/{chunk.SYLH7TJL.js → chunk.3FJLLXCR.js} +2 -2
  7. package/dist/chunks/{chunk.IYEDBX5G.js → chunk.3MVTZZBQ.js} +2 -2
  8. package/dist/chunks/{chunk.YIVSAOEK.js → chunk.3UFTX7XQ.js} +2 -2
  9. package/dist/chunks/{chunk.4AN73MGZ.js → chunk.3XYKUOSA.js} +3 -3
  10. package/dist/chunks/chunk.3XYKUOSA.js.map +7 -0
  11. package/dist/chunks/{chunk.AFFGPKYQ.js → chunk.4IRHZEL2.js} +2 -2
  12. package/dist/chunks/{chunk.XXR6SBCQ.js → chunk.4P3FPYGQ.js} +6 -6
  13. package/dist/chunks/{chunk.IBDQRF55.js → chunk.5SNUBQQN.js} +2 -2
  14. package/dist/chunks/{chunk.F3BB6LK2.js → chunk.5WTQAMIT.js} +3 -3
  15. package/dist/chunks/{chunk.DQGFMBAC.js → chunk.64U5DPTH.js} +2 -2
  16. package/dist/chunks/{chunk.DUEOMPTT.js → chunk.67C446DF.js} +2 -2
  17. package/dist/chunks/{chunk.QUPQJL7I.js → chunk.67KT2SLM.js} +32 -16
  18. package/dist/chunks/chunk.67KT2SLM.js.map +7 -0
  19. package/dist/chunks/{chunk.ROA65NK6.js → chunk.6O33XJ3X.js} +2 -2
  20. package/dist/chunks/{chunk.J36KWNPW.js → chunk.6OJJ5EQC.js} +2 -2
  21. package/dist/chunks/{chunk.E4FLL46W.js → chunk.6QDXFWNX.js} +2 -2
  22. package/dist/chunks/{chunk.OZDWNWBK.js → chunk.74JAW3N4.js} +5 -5
  23. package/dist/chunks/{chunk.UENWCJJ4.js → chunk.A5E262NR.js} +2 -2
  24. package/dist/chunks/{chunk.TUTGCZ2F.js → chunk.AA7UYQAJ.js} +3 -3
  25. package/dist/chunks/{chunk.VWULHIO4.js → chunk.AJA3OIOC.js} +5 -5
  26. package/dist/chunks/{chunk.F6LIDG2Y.js → chunk.AONXQRGV.js} +2 -2
  27. package/dist/chunks/{chunk.H45DUC5P.js → chunk.BD43D4WE.js} +4 -3
  28. package/dist/chunks/chunk.BD43D4WE.js.map +7 -0
  29. package/dist/chunks/{chunk.3FTQ2AYW.js → chunk.BOKB2LEP.js} +3 -3
  30. package/dist/chunks/{chunk.RWR732UE.js → chunk.BTCNWAF7.js} +2 -2
  31. package/dist/chunks/{chunk.OL42FMVG.js → chunk.CFDAPGTN.js} +2 -2
  32. package/dist/chunks/{chunk.Z64KWT2C.js → chunk.CK2QKLSZ.js} +3 -3
  33. package/dist/chunks/{chunk.PGHHADBP.js → chunk.D2MANNCI.js} +2 -2
  34. package/dist/chunks/{chunk.76IG5YHO.js → chunk.D2MMGZTK.js} +2 -2
  35. package/dist/chunks/{chunk.TPNNA5EJ.js → chunk.DCGPDI3G.js} +5 -5
  36. package/dist/chunks/{chunk.35V3TAOT.js → chunk.DFABWKX7.js} +18 -9
  37. package/dist/chunks/{chunk.35V3TAOT.js.map → chunk.DFABWKX7.js.map} +2 -2
  38. package/dist/chunks/chunk.DFIN5XP4.js +79 -0
  39. package/dist/chunks/chunk.DFIN5XP4.js.map +7 -0
  40. package/dist/chunks/{chunk.3JMSRQJK.js → chunk.DKV3VFFJ.js} +2 -2
  41. package/dist/chunks/{chunk.UZG5Z5K5.js → chunk.DQCXSZK6.js} +3 -3
  42. package/dist/chunks/{chunk.JFKVBBJL.js → chunk.E7L5W4JG.js} +2 -2
  43. package/dist/chunks/{chunk.IHNV4TAM.js → chunk.EJMSWKH2.js} +2 -2
  44. package/dist/chunks/{chunk.EOI2HN2V.js → chunk.EKJTAHHE.js} +3 -3
  45. package/dist/chunks/{chunk.Y5UFP7EU.js → chunk.F5F6D7BG.js} +2 -2
  46. package/dist/chunks/{chunk.IGUCF6GW.js → chunk.FMFVK662.js} +3 -3
  47. package/dist/chunks/{chunk.2TUCVNJC.js → chunk.FQSDLEDV.js} +4 -4
  48. package/dist/chunks/{chunk.BJEAUL3E.js → chunk.GFWWUBNH.js} +2 -2
  49. package/dist/chunks/{chunk.ZPUFQ2RD.js → chunk.GKNICA2N.js} +2 -2
  50. package/dist/chunks/{chunk.TKLQA23R.js → chunk.GVQYXIOS.js} +2 -2
  51. package/dist/chunks/{chunk.55TZTLUK.js → chunk.H3NH57FA.js} +4 -4
  52. package/dist/chunks/{chunk.HJZAAMXB.js → chunk.HDU3KDGC.js} +2 -2
  53. package/dist/chunks/{chunk.FCIGS2RC.js → chunk.HKKSVYTP.js} +2 -2
  54. package/dist/chunks/{chunk.WXE4XRLL.js → chunk.I5V5TBTQ.js} +2 -2
  55. package/dist/chunks/{chunk.QAYS7O2Y.js → chunk.I6LVCMTE.js} +2 -2
  56. package/dist/chunks/{chunk.DO3GA23K.js → chunk.IREIR6KA.js} +2 -2
  57. package/dist/chunks/{chunk.R2KYTZBW.js → chunk.JCA6F4L6.js} +2 -2
  58. package/dist/chunks/{chunk.FTCHL3OG.js → chunk.JRB7DRBR.js} +2 -2
  59. package/dist/chunks/{chunk.YOMJKVCO.js → chunk.JVBRCOVJ.js} +2 -2
  60. package/dist/chunks/{chunk.FCUWPPKQ.js → chunk.K2RV36N7.js} +3 -3
  61. package/dist/chunks/{chunk.PZQ6FY5U.js → chunk.K2T2YPOW.js} +2 -2
  62. package/dist/chunks/{chunk.XCZKYI7X.js → chunk.K4FEZUZR.js} +3 -3
  63. package/dist/chunks/{chunk.DOVJ2NYX.js → chunk.K5VCK7UZ.js} +2 -2
  64. package/dist/chunks/{chunk.GOJ3XJRJ.js → chunk.KLCOD2FE.js} +2 -2
  65. package/dist/chunks/{chunk.TWSN55TR.js → chunk.KLF642WF.js} +2 -2
  66. package/dist/chunks/{chunk.7EP5ZTF7.js → chunk.KWSECSZM.js} +3 -3
  67. package/dist/chunks/{chunk.EPHFEISY.js → chunk.KXCQ5XRZ.js} +2 -2
  68. package/dist/chunks/{chunk.DZKWV5DQ.js → chunk.LMV4YGVB.js} +120 -16
  69. package/dist/chunks/chunk.LMV4YGVB.js.map +7 -0
  70. package/dist/chunks/{chunk.4PGAJKBN.js → chunk.M2O57JPI.js} +62 -9
  71. package/dist/chunks/chunk.M2O57JPI.js.map +7 -0
  72. package/dist/chunks/{chunk.OLKIPTSC.js → chunk.MFHEVD4S.js} +2 -2
  73. package/dist/chunks/{chunk.XLYYPHHP.js → chunk.MR76FVEC.js} +2 -2
  74. package/dist/chunks/{chunk.KG73YUXI.js → chunk.NL3RUWYS.js} +49 -1
  75. package/dist/chunks/chunk.NL3RUWYS.js.map +7 -0
  76. package/dist/chunks/{chunk.U6XHWGZM.js → chunk.NMQPRI52.js} +2 -2
  77. package/dist/chunks/{chunk.6WCLRSET.js → chunk.NQEEDGN5.js} +2 -2
  78. package/dist/chunks/{chunk.NPFEOHCN.js → chunk.O3P7J6GS.js} +3 -3
  79. package/dist/chunks/chunk.OI3HOOCT.js +13 -0
  80. package/dist/chunks/chunk.OI3HOOCT.js.map +7 -0
  81. package/dist/chunks/chunk.OJ3N7TWP.js +33 -0
  82. package/dist/chunks/{chunk.XNP4OTUB.js.map → chunk.OJ3N7TWP.js.map} +2 -2
  83. package/dist/chunks/{chunk.POIOBP3S.js → chunk.PBI2JGUC.js} +2 -2
  84. package/dist/chunks/{chunk.BCFYNMAU.js → chunk.PECLVBE7.js} +2 -2
  85. package/dist/chunks/{chunk.JQ47GWDL.js → chunk.PKYC7QF3.js} +6 -1
  86. package/dist/chunks/chunk.PKYC7QF3.js.map +7 -0
  87. package/dist/chunks/{chunk.MFRK7XY4.js → chunk.PUXBRQLH.js} +5 -5
  88. package/dist/chunks/{chunk.MFRK7XY4.js.map → chunk.PUXBRQLH.js.map} +2 -2
  89. package/dist/chunks/{chunk.HIZKWLLW.js → chunk.QCV5J2JX.js} +2 -2
  90. package/dist/chunks/{chunk.D24PTVEZ.js → chunk.QDOITOS2.js} +27 -28
  91. package/dist/chunks/chunk.QDOITOS2.js.map +7 -0
  92. package/dist/chunks/{chunk.V7JOPWCO.js → chunk.RI6XEQMR.js} +2 -2
  93. package/dist/chunks/{chunk.GBT6AEES.js → chunk.RV7BELAO.js} +3 -3
  94. package/dist/chunks/{chunk.NMSCOKGV.js → chunk.S5GTUR3T.js} +4 -4
  95. package/dist/chunks/{chunk.72ZCVZDZ.js → chunk.SYIBDFRD.js} +2 -2
  96. package/dist/chunks/{chunk.WIAHBHLK.js → chunk.SZHPXI4D.js} +2 -2
  97. package/dist/chunks/{chunk.3YWKK5QT.js → chunk.TD7N3L4O.js} +2 -2
  98. package/dist/chunks/{chunk.5ZLNQUWS.js → chunk.TQ6W2TC6.js} +2 -2
  99. package/dist/chunks/{chunk.LK3JVI46.js → chunk.TRCRLTVG.js} +2 -2
  100. package/dist/chunks/{chunk.XR2QY6WP.js → chunk.U47WJHSG.js} +2 -2
  101. package/dist/chunks/{chunk.HFFNFJBK.js → chunk.UI7YG4DD.js} +3 -3
  102. package/dist/chunks/{chunk.J2OXSQAK.js → chunk.UREJSW6U.js} +9 -8
  103. package/dist/chunks/{chunk.J2OXSQAK.js.map → chunk.UREJSW6U.js.map} +2 -2
  104. package/dist/chunks/{chunk.Y3XTCSYB.js → chunk.VBPJP47S.js} +6 -6
  105. package/dist/chunks/{chunk.QO264LN5.js → chunk.VHBHYODZ.js} +2 -2
  106. package/dist/chunks/{chunk.CSR3GSAM.js → chunk.VN7RN2HU.js} +2 -2
  107. package/dist/chunks/{chunk.YF66NQJL.js → chunk.VSJELW2C.js} +3 -3
  108. package/dist/chunks/{chunk.TM5GI342.js → chunk.VSM3FPJC.js} +2 -2
  109. package/dist/chunks/{chunk.XTPT3AVO.js → chunk.WEXZUPCC.js} +35 -6
  110. package/dist/chunks/{chunk.XTPT3AVO.js.map → chunk.WEXZUPCC.js.map} +2 -2
  111. package/dist/chunks/{chunk.VGEA67UG.js → chunk.WOJ2VRZY.js} +3 -2
  112. package/dist/chunks/chunk.WOJ2VRZY.js.map +7 -0
  113. package/dist/chunks/{chunk.NGI67WXT.js → chunk.XOXVVU5C.js} +19 -1
  114. package/dist/chunks/{chunk.NGI67WXT.js.map → chunk.XOXVVU5C.js.map} +2 -2
  115. package/dist/chunks/{chunk.OLHSSK2R.js → chunk.YBCKQJK4.js} +9 -7
  116. package/dist/chunks/chunk.YBCKQJK4.js.map +7 -0
  117. package/dist/chunks/{chunk.FXRKY42H.js → chunk.YJFYAORA.js} +3 -3
  118. package/dist/chunks/{chunk.GWR5CLX2.js → chunk.ZRDGMIA7.js} +2 -2
  119. package/dist/chunks/{chunk.3UKLIZPQ.js → chunk.ZY4RYTIT.js} +2 -2
  120. package/dist/components/accordion/accordion.component.js +2 -2
  121. package/dist/components/accordion/accordion.js +3 -3
  122. package/dist/components/alert/alert.component.d.ts +12 -1
  123. package/dist/components/alert/alert.component.js +5 -5
  124. package/dist/components/alert/alert.js +6 -6
  125. package/dist/components/alert/alert.styles.js +1 -1
  126. package/dist/components/badge/badge.component.js +2 -2
  127. package/dist/components/badge/badge.js +3 -3
  128. package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
  129. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  130. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  131. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  132. package/dist/components/button/button.component.js +4 -4
  133. package/dist/components/button/button.js +5 -5
  134. package/dist/components/button-group/button-group.component.js +2 -2
  135. package/dist/components/button-group/button-group.js +3 -3
  136. package/dist/components/card/card.component.js +2 -2
  137. package/dist/components/card/card.js +3 -3
  138. package/dist/components/checkbox/checkbox.component.js +3 -3
  139. package/dist/components/checkbox/checkbox.js +4 -4
  140. package/dist/components/combobox/combobox.component.js +5 -5
  141. package/dist/components/combobox/combobox.js +6 -6
  142. package/dist/components/combobox/combobox.styles.js +1 -1
  143. package/dist/components/details/details.component.js +3 -3
  144. package/dist/components/details/details.js +4 -4
  145. package/dist/components/dialog/dialog.component.js +4 -4
  146. package/dist/components/dialog/dialog.js +5 -5
  147. package/dist/components/divider/divider.component.js +2 -2
  148. package/dist/components/divider/divider.js +3 -3
  149. package/dist/components/drawer/drawer.component.js +4 -4
  150. package/dist/components/drawer/drawer.js +5 -5
  151. package/dist/components/dropdown/dropdown.component.js +3 -3
  152. package/dist/components/dropdown/dropdown.js +4 -4
  153. package/dist/components/file/file.component.js +5 -5
  154. package/dist/components/file/file.js +6 -6
  155. package/dist/components/header/header.component.js +4 -4
  156. package/dist/components/header/header.js +5 -5
  157. package/dist/components/icon/icon.component.js +2 -2
  158. package/dist/components/icon/icon.js +3 -3
  159. package/dist/components/icon-button/icon-button.component.js +3 -3
  160. package/dist/components/icon-button/icon-button.js +4 -4
  161. package/dist/components/input/input.component.js +4 -4
  162. package/dist/components/input/input.js +5 -5
  163. package/dist/components/menu/menu.component.js +2 -2
  164. package/dist/components/menu/menu.js +3 -3
  165. package/dist/components/menu-item/menu-item.component.js +5 -5
  166. package/dist/components/menu-item/menu-item.js +6 -6
  167. package/dist/components/menu-label/menu-label.component.js +3 -3
  168. package/dist/components/menu-label/menu-label.js +4 -4
  169. package/dist/components/nav-item/nav-item.component.d.ts +4 -2
  170. package/dist/components/nav-item/nav-item.component.js +4 -4
  171. package/dist/components/nav-item/nav-item.js +5 -5
  172. package/dist/components/nav-item/nav-item.styles.js +1 -1
  173. package/dist/components/optgroup/optgroup.component.js +3 -3
  174. package/dist/components/optgroup/optgroup.js +4 -4
  175. package/dist/components/option/option.component.js +3 -3
  176. package/dist/components/option/option.js +4 -4
  177. package/dist/components/popup/popup.component.js +2 -2
  178. package/dist/components/popup/popup.js +3 -3
  179. package/dist/components/prio-nav/prio-nav.component.js +10 -10
  180. package/dist/components/prio-nav/prio-nav.js +11 -11
  181. package/dist/components/prio-nav/utils.d.ts +10 -0
  182. package/dist/components/prio-nav/utils.js +7 -3
  183. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  184. package/dist/components/progress-bar/progress-bar.js +3 -3
  185. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  186. package/dist/components/progress-ring/progress-ring.js +3 -3
  187. package/dist/components/radio/radio.component.js +3 -3
  188. package/dist/components/radio/radio.js +4 -4
  189. package/dist/components/radio-button/radio-button.component.js +2 -2
  190. package/dist/components/radio-button/radio-button.js +3 -3
  191. package/dist/components/radio-group/radio-group.component.js +3 -3
  192. package/dist/components/radio-group/radio-group.js +4 -4
  193. package/dist/components/range/range.component.js +5 -5
  194. package/dist/components/range/range.js +6 -6
  195. package/dist/components/range-tick/range-tick.component.js +2 -2
  196. package/dist/components/range-tick/range-tick.js +3 -3
  197. package/dist/components/resize-observer/resize-observer.component.d.ts +37 -0
  198. package/dist/components/resize-observer/resize-observer.component.js +11 -0
  199. package/dist/components/resize-observer/resize-observer.component.js.map +7 -0
  200. package/dist/components/resize-observer/resize-observer.styles.d.ts +8 -0
  201. package/dist/components/resize-observer/resize-observer.styles.js +8 -0
  202. package/dist/components/resize-observer/resize-observer.styles.js.map +7 -0
  203. package/dist/components/select/select.component.js +8 -8
  204. package/dist/components/select/select.js +9 -9
  205. package/dist/components/select/select.styles.js +1 -1
  206. package/dist/components/side-nav/side-nav.component.js +6 -6
  207. package/dist/components/side-nav/side-nav.js +7 -7
  208. package/dist/components/spinner/spinner.component.js +2 -2
  209. package/dist/components/spinner/spinner.js +3 -3
  210. package/dist/components/switch/switch.component.js +3 -3
  211. package/dist/components/switch/switch.js +4 -4
  212. package/dist/components/tab/tab.component.js +4 -4
  213. package/dist/components/tab/tab.js +5 -5
  214. package/dist/components/tab-group/tab-group.component.d.ts +15 -0
  215. package/dist/components/tab-group/tab-group.component.js +8 -6
  216. package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
  217. package/dist/components/tab-group/tab-group.js +9 -7
  218. package/dist/components/tab-group/tab-group.styles.js +1 -1
  219. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  220. package/dist/components/tab-panel/tab-panel.js +3 -3
  221. package/dist/components/tag/tag.component.js +5 -5
  222. package/dist/components/tag/tag.js +6 -6
  223. package/dist/components/textarea/textarea.component.js +2 -2
  224. package/dist/components/textarea/textarea.js +3 -3
  225. package/dist/components/tooltip/tooltip.component.js +4 -4
  226. package/dist/components/tooltip/tooltip.js +5 -5
  227. package/dist/custom-elements.json +233 -6
  228. package/dist/events/events.d.ts +1 -0
  229. package/dist/events/syn-after-hide.d.ts +3 -0
  230. package/dist/events/syn-after-show.d.ts +3 -0
  231. package/dist/events/syn-blur.d.ts +3 -0
  232. package/dist/events/syn-change.d.ts +3 -0
  233. package/dist/events/syn-clear.d.ts +3 -0
  234. package/dist/events/syn-close.d.ts +3 -0
  235. package/dist/events/syn-error.d.ts +3 -0
  236. package/dist/events/syn-focus.d.ts +3 -0
  237. package/dist/events/syn-hide.d.ts +3 -0
  238. package/dist/events/syn-initial-focus.d.ts +3 -0
  239. package/dist/events/syn-input.d.ts +3 -0
  240. package/dist/events/syn-invalid.d.ts +3 -0
  241. package/dist/events/syn-load.d.ts +3 -0
  242. package/dist/events/syn-remove.d.ts +3 -0
  243. package/dist/events/syn-reposition.d.ts +3 -0
  244. package/dist/events/syn-request-close.d.ts +3 -0
  245. package/dist/events/syn-resize.d.ts +17 -0
  246. package/dist/events/syn-select.d.ts +3 -0
  247. package/dist/events/syn-show.d.ts +3 -0
  248. package/dist/events/syn-tab-hide.d.ts +3 -0
  249. package/dist/events/syn-tab-show.d.ts +3 -0
  250. package/dist/internal/scrollend-polyfill.d.ts +7 -0
  251. package/dist/internal/synergy-element.d.ts +4 -0
  252. package/dist/styles/index.css +1 -1
  253. package/dist/synergy.js +109 -107
  254. package/dist/vscode.html-custom-data.json +22 -0
  255. package/package.json +22 -22
  256. package/dist/chunks/chunk.4AN73MGZ.js.map +0 -7
  257. package/dist/chunks/chunk.4PGAJKBN.js.map +0 -7
  258. package/dist/chunks/chunk.D24PTVEZ.js.map +0 -7
  259. package/dist/chunks/chunk.DZKWV5DQ.js.map +0 -7
  260. package/dist/chunks/chunk.FR3XPGUO.js.map +0 -7
  261. package/dist/chunks/chunk.H45DUC5P.js.map +0 -7
  262. package/dist/chunks/chunk.JQ47GWDL.js.map +0 -7
  263. package/dist/chunks/chunk.KG73YUXI.js.map +0 -7
  264. package/dist/chunks/chunk.OLHSSK2R.js.map +0 -7
  265. package/dist/chunks/chunk.QUPQJL7I.js.map +0 -7
  266. package/dist/chunks/chunk.VGEA67UG.js.map +0 -7
  267. package/dist/chunks/chunk.XNP4OTUB.js +0 -16
  268. /package/dist/chunks/{chunk.RWH4QWJJ.js.map → chunk.2CO2NVIH.js.map} +0 -0
  269. /package/dist/chunks/{chunk.PDM2RKUO.js.map → chunk.2FDAY6KG.js.map} +0 -0
  270. /package/dist/chunks/{chunk.ILKUAKHV.js.map → chunk.3EY2CJGW.js.map} +0 -0
  271. /package/dist/chunks/{chunk.SYLH7TJL.js.map → chunk.3FJLLXCR.js.map} +0 -0
  272. /package/dist/chunks/{chunk.IYEDBX5G.js.map → chunk.3MVTZZBQ.js.map} +0 -0
  273. /package/dist/chunks/{chunk.YIVSAOEK.js.map → chunk.3UFTX7XQ.js.map} +0 -0
  274. /package/dist/chunks/{chunk.AFFGPKYQ.js.map → chunk.4IRHZEL2.js.map} +0 -0
  275. /package/dist/chunks/{chunk.XXR6SBCQ.js.map → chunk.4P3FPYGQ.js.map} +0 -0
  276. /package/dist/chunks/{chunk.IBDQRF55.js.map → chunk.5SNUBQQN.js.map} +0 -0
  277. /package/dist/chunks/{chunk.F3BB6LK2.js.map → chunk.5WTQAMIT.js.map} +0 -0
  278. /package/dist/chunks/{chunk.DQGFMBAC.js.map → chunk.64U5DPTH.js.map} +0 -0
  279. /package/dist/chunks/{chunk.DUEOMPTT.js.map → chunk.67C446DF.js.map} +0 -0
  280. /package/dist/chunks/{chunk.ROA65NK6.js.map → chunk.6O33XJ3X.js.map} +0 -0
  281. /package/dist/chunks/{chunk.J36KWNPW.js.map → chunk.6OJJ5EQC.js.map} +0 -0
  282. /package/dist/chunks/{chunk.E4FLL46W.js.map → chunk.6QDXFWNX.js.map} +0 -0
  283. /package/dist/chunks/{chunk.OZDWNWBK.js.map → chunk.74JAW3N4.js.map} +0 -0
  284. /package/dist/chunks/{chunk.UENWCJJ4.js.map → chunk.A5E262NR.js.map} +0 -0
  285. /package/dist/chunks/{chunk.TUTGCZ2F.js.map → chunk.AA7UYQAJ.js.map} +0 -0
  286. /package/dist/chunks/{chunk.VWULHIO4.js.map → chunk.AJA3OIOC.js.map} +0 -0
  287. /package/dist/chunks/{chunk.F6LIDG2Y.js.map → chunk.AONXQRGV.js.map} +0 -0
  288. /package/dist/chunks/{chunk.3FTQ2AYW.js.map → chunk.BOKB2LEP.js.map} +0 -0
  289. /package/dist/chunks/{chunk.RWR732UE.js.map → chunk.BTCNWAF7.js.map} +0 -0
  290. /package/dist/chunks/{chunk.OL42FMVG.js.map → chunk.CFDAPGTN.js.map} +0 -0
  291. /package/dist/chunks/{chunk.Z64KWT2C.js.map → chunk.CK2QKLSZ.js.map} +0 -0
  292. /package/dist/chunks/{chunk.PGHHADBP.js.map → chunk.D2MANNCI.js.map} +0 -0
  293. /package/dist/chunks/{chunk.76IG5YHO.js.map → chunk.D2MMGZTK.js.map} +0 -0
  294. /package/dist/chunks/{chunk.TPNNA5EJ.js.map → chunk.DCGPDI3G.js.map} +0 -0
  295. /package/dist/chunks/{chunk.3JMSRQJK.js.map → chunk.DKV3VFFJ.js.map} +0 -0
  296. /package/dist/chunks/{chunk.UZG5Z5K5.js.map → chunk.DQCXSZK6.js.map} +0 -0
  297. /package/dist/chunks/{chunk.JFKVBBJL.js.map → chunk.E7L5W4JG.js.map} +0 -0
  298. /package/dist/chunks/{chunk.IHNV4TAM.js.map → chunk.EJMSWKH2.js.map} +0 -0
  299. /package/dist/chunks/{chunk.EOI2HN2V.js.map → chunk.EKJTAHHE.js.map} +0 -0
  300. /package/dist/chunks/{chunk.Y5UFP7EU.js.map → chunk.F5F6D7BG.js.map} +0 -0
  301. /package/dist/chunks/{chunk.IGUCF6GW.js.map → chunk.FMFVK662.js.map} +0 -0
  302. /package/dist/chunks/{chunk.2TUCVNJC.js.map → chunk.FQSDLEDV.js.map} +0 -0
  303. /package/dist/chunks/{chunk.BJEAUL3E.js.map → chunk.GFWWUBNH.js.map} +0 -0
  304. /package/dist/chunks/{chunk.ZPUFQ2RD.js.map → chunk.GKNICA2N.js.map} +0 -0
  305. /package/dist/chunks/{chunk.TKLQA23R.js.map → chunk.GVQYXIOS.js.map} +0 -0
  306. /package/dist/chunks/{chunk.55TZTLUK.js.map → chunk.H3NH57FA.js.map} +0 -0
  307. /package/dist/chunks/{chunk.HJZAAMXB.js.map → chunk.HDU3KDGC.js.map} +0 -0
  308. /package/dist/chunks/{chunk.FCIGS2RC.js.map → chunk.HKKSVYTP.js.map} +0 -0
  309. /package/dist/chunks/{chunk.WXE4XRLL.js.map → chunk.I5V5TBTQ.js.map} +0 -0
  310. /package/dist/chunks/{chunk.QAYS7O2Y.js.map → chunk.I6LVCMTE.js.map} +0 -0
  311. /package/dist/chunks/{chunk.DO3GA23K.js.map → chunk.IREIR6KA.js.map} +0 -0
  312. /package/dist/chunks/{chunk.R2KYTZBW.js.map → chunk.JCA6F4L6.js.map} +0 -0
  313. /package/dist/chunks/{chunk.FTCHL3OG.js.map → chunk.JRB7DRBR.js.map} +0 -0
  314. /package/dist/chunks/{chunk.YOMJKVCO.js.map → chunk.JVBRCOVJ.js.map} +0 -0
  315. /package/dist/chunks/{chunk.FCUWPPKQ.js.map → chunk.K2RV36N7.js.map} +0 -0
  316. /package/dist/chunks/{chunk.PZQ6FY5U.js.map → chunk.K2T2YPOW.js.map} +0 -0
  317. /package/dist/chunks/{chunk.XCZKYI7X.js.map → chunk.K4FEZUZR.js.map} +0 -0
  318. /package/dist/chunks/{chunk.DOVJ2NYX.js.map → chunk.K5VCK7UZ.js.map} +0 -0
  319. /package/dist/chunks/{chunk.GOJ3XJRJ.js.map → chunk.KLCOD2FE.js.map} +0 -0
  320. /package/dist/chunks/{chunk.TWSN55TR.js.map → chunk.KLF642WF.js.map} +0 -0
  321. /package/dist/chunks/{chunk.7EP5ZTF7.js.map → chunk.KWSECSZM.js.map} +0 -0
  322. /package/dist/chunks/{chunk.EPHFEISY.js.map → chunk.KXCQ5XRZ.js.map} +0 -0
  323. /package/dist/chunks/{chunk.OLKIPTSC.js.map → chunk.MFHEVD4S.js.map} +0 -0
  324. /package/dist/chunks/{chunk.XLYYPHHP.js.map → chunk.MR76FVEC.js.map} +0 -0
  325. /package/dist/chunks/{chunk.U6XHWGZM.js.map → chunk.NMQPRI52.js.map} +0 -0
  326. /package/dist/chunks/{chunk.6WCLRSET.js.map → chunk.NQEEDGN5.js.map} +0 -0
  327. /package/dist/chunks/{chunk.NPFEOHCN.js.map → chunk.O3P7J6GS.js.map} +0 -0
  328. /package/dist/chunks/{chunk.POIOBP3S.js.map → chunk.PBI2JGUC.js.map} +0 -0
  329. /package/dist/chunks/{chunk.BCFYNMAU.js.map → chunk.PECLVBE7.js.map} +0 -0
  330. /package/dist/chunks/{chunk.HIZKWLLW.js.map → chunk.QCV5J2JX.js.map} +0 -0
  331. /package/dist/chunks/{chunk.V7JOPWCO.js.map → chunk.RI6XEQMR.js.map} +0 -0
  332. /package/dist/chunks/{chunk.GBT6AEES.js.map → chunk.RV7BELAO.js.map} +0 -0
  333. /package/dist/chunks/{chunk.NMSCOKGV.js.map → chunk.S5GTUR3T.js.map} +0 -0
  334. /package/dist/chunks/{chunk.72ZCVZDZ.js.map → chunk.SYIBDFRD.js.map} +0 -0
  335. /package/dist/chunks/{chunk.WIAHBHLK.js.map → chunk.SZHPXI4D.js.map} +0 -0
  336. /package/dist/chunks/{chunk.3YWKK5QT.js.map → chunk.TD7N3L4O.js.map} +0 -0
  337. /package/dist/chunks/{chunk.5ZLNQUWS.js.map → chunk.TQ6W2TC6.js.map} +0 -0
  338. /package/dist/chunks/{chunk.LK3JVI46.js.map → chunk.TRCRLTVG.js.map} +0 -0
  339. /package/dist/chunks/{chunk.XR2QY6WP.js.map → chunk.U47WJHSG.js.map} +0 -0
  340. /package/dist/chunks/{chunk.HFFNFJBK.js.map → chunk.UI7YG4DD.js.map} +0 -0
  341. /package/dist/chunks/{chunk.Y3XTCSYB.js.map → chunk.VBPJP47S.js.map} +0 -0
  342. /package/dist/chunks/{chunk.QO264LN5.js.map → chunk.VHBHYODZ.js.map} +0 -0
  343. /package/dist/chunks/{chunk.CSR3GSAM.js.map → chunk.VN7RN2HU.js.map} +0 -0
  344. /package/dist/chunks/{chunk.YF66NQJL.js.map → chunk.VSJELW2C.js.map} +0 -0
  345. /package/dist/chunks/{chunk.TM5GI342.js.map → chunk.VSM3FPJC.js.map} +0 -0
  346. /package/dist/chunks/{chunk.FXRKY42H.js.map → chunk.YJFYAORA.js.map} +0 -0
  347. /package/dist/chunks/{chunk.GWR5CLX2.js.map → chunk.ZRDGMIA7.js.map} +0 -0
  348. /package/dist/chunks/{chunk.3UKLIZPQ.js.map → chunk.ZY4RYTIT.js.map} +0 -0
@@ -1,19 +1,19 @@
1
- import {
2
- tag_styles_default
3
- } from "./chunk.6EPU7YUS.js";
4
1
  import {
5
2
  tag_custom_styles_default
6
3
  } from "./chunk.B6R3IVGO.js";
4
+ import {
5
+ tag_styles_default
6
+ } from "./chunk.6EPU7YUS.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.TUTGCZ2F.js";
9
+ } from "./chunk.AA7UYQAJ.js";
10
10
  import {
11
11
  LocalizeController
12
12
  } from "./chunk.GIU3H3J3.js";
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.XTPT3AVO.js";
16
+ } from "./chunk.WEXZUPCC.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynTag
78
78
  };
79
- //# sourceMappingURL=chunk.RWH4QWJJ.js.map
79
+ //# sourceMappingURL=chunk.2CO2NVIH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynFile
3
- } from "./chunk.2TUCVNJC.js";
3
+ } from "./chunk.FQSDLEDV.js";
4
4
 
5
5
  // src/components/file/file.ts
6
6
  var file_default = SynFile;
@@ -9,4 +9,4 @@ SynFile.define("syn-file");
9
9
  export {
10
10
  file_default
11
11
  };
12
- //# sourceMappingURL=chunk.PDM2RKUO.js.map
12
+ //# sourceMappingURL=chunk.2FDAY6KG.js.map
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.XTPT3AVO.js";
16
+ } from "./chunk.WEXZUPCC.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -32,7 +32,15 @@ var SynBreadcrumbItem = class extends SynergyElement {
32
32
  }
33
33
  setRenderType() {
34
34
  const hasDropdown = this.defaultSlot.assignedElements({ flatten: true }).filter((i) => i.tagName.toLowerCase() === "syn-dropdown").length > 0;
35
- this.renderType = this.href ? "link" : hasDropdown ? "drop-down" : "button";
35
+ if (this.href) {
36
+ this.renderType = "link";
37
+ return;
38
+ }
39
+ if (hasDropdown) {
40
+ this.renderType = "dropdown";
41
+ return;
42
+ }
43
+ this.renderType = "button";
36
44
  }
37
45
  hrefChanged() {
38
46
  this.setRenderType();
@@ -65,17 +73,16 @@ var SynBreadcrumbItem = class extends SynergyElement {
65
73
  <slot @slotchange=${this.handleSlotChange}></slot>
66
74
  </a>
67
75
  ` : ""}
68
- ${this.renderType === "button" ? html`
76
+ ${this.renderType === "button" ? html`
69
77
  <button part="label" type="button" class="breadcrumb-item__label breadcrumb-item__label--button">
70
78
  <slot @slotchange=${this.handleSlotChange}></slot>
71
79
  </button>
72
80
  ` : ""}
73
-
74
- ${this.renderType === "drop-down" ? html`
75
- <div part="label" class="breadcrumb-item__label breadcrumb-item__label--drop-down">
76
- <slot @slotchange=${this.handleSlotChange}></slot>
77
- </div>
78
- ` : ""}
81
+ ${this.renderType === "dropdown" ? html`
82
+ <div part="label" class="breadcrumb-item__label breadcrumb-item__label--drop-down">
83
+ <slot @slotchange=${this.handleSlotChange}></slot>
84
+ </div>
85
+ ` : ""}
79
86
 
80
87
  <span part="suffix" class="breadcrumb-item__suffix">
81
88
  <slot name="suffix"></slot>
@@ -111,4 +118,4 @@ __decorateClass([
111
118
  export {
112
119
  SynBreadcrumbItem
113
120
  };
114
- //# sourceMappingURL=chunk.FR3XPGUO.js.map
121
+ //# sourceMappingURL=chunk.35XN5YQW.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/breadcrumb-item/breadcrumb-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 { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './breadcrumb-item.styles.js';\nimport customStyles from './breadcrumb-item.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n * @documentation https://synergy.style/components/breadcrumb-item\n * @status stable\n * @since 2.0\n *\n * @slot - The breadcrumb item's label.\n * @slot prefix - An optional prefix, usually an icon or icon button.\n * @slot suffix - An optional suffix, usually an icon or icon button.\n * @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If\n * you want to change it for all items in the group, set the separator on `<syn-breadcrumb>` instead.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The breadcrumb item's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart separator - The container that wraps the separator.\n */\nexport default class SynBreadcrumbItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly hasSlotController = new HasSlotController(this, 'prefix', 'suffix');\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n\n @state() private renderType: 'button' | 'link' | 'dropdown' = 'button';\n\n /**\n * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\n * internally. When unset, a button will be rendered instead.\n */\n @property() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @property() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** The `rel` attribute to use on the link. Only used when `href` is set. */\n @property() rel = 'noreferrer noopener';\n\n private setRenderType() {\n const hasDropdown =\n this.defaultSlot.assignedElements({ flatten: true }).filter(i => i.tagName.toLowerCase() === 'syn-dropdown')\n .length > 0;\n\n if (this.href) {\n this.renderType = 'link';\n return;\n }\n\n if (hasDropdown) {\n this.renderType = 'dropdown';\n return;\n }\n\n this.renderType = 'button';\n }\n\n @watch('href', { waitUntilFirstUpdate: true })\n hrefChanged() {\n this.setRenderType();\n }\n\n handleSlotChange() {\n this.setRenderType();\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n 'breadcrumb-item': true,\n 'breadcrumb-item--has-prefix': this.hasSlotController.test('prefix'),\n 'breadcrumb-item--has-suffix': this.hasSlotController.test('suffix')\n })}\n >\n <span part=\"prefix\" class=\"breadcrumb-item__prefix\">\n <slot name=\"prefix\"></slot>\n </span>\n\n ${this.renderType === 'link'\n ? html`\n <a\n part=\"label\"\n class=\"breadcrumb-item__label breadcrumb-item__label--link\"\n href=\"${this.href!}\"\n target=\"${ifDefined(this.target ? this.target : undefined)}\"\n rel=${ifDefined(this.target ? this.rel : undefined)}\n >\n <slot @slotchange=${this.handleSlotChange}></slot>\n </a>\n `\n : ''}\n ${this.renderType === 'button'\n ? html`\n <button part=\"label\" type=\"button\" class=\"breadcrumb-item__label breadcrumb-item__label--button\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </button>\n `\n : ''}\n ${this.renderType === 'dropdown'\n ? html`\n <div part=\"label\" class=\"breadcrumb-item__label breadcrumb-item__label--drop-down\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </div>\n `\n : ''}\n\n <span part=\"suffix\" class=\"breadcrumb-item__suffix\">\n <slot name=\"suffix\"></slot>\n </span>\n\n <span part=\"separator\" class=\"breadcrumb-item__separator\" aria-hidden=\"true\">\n <slot name=\"separator\"></slot>\n </span>\n </div>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,OAAO,aAAa;AA0BvC,IAAqB,oBAArB,cAA+C,eAAe;AAAA,EAA9D;AAAA;AAGE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,UAAU,QAAQ;AAI1E,SAAQ,aAA6C;AAYlD,eAAM;AAAA;AAAA,EAEV,gBAAgB;AACtB,UAAM,cACJ,KAAK,YAAY,iBAAiB,EAAE,SAAS,KAAK,CAAC,EAAE,OAAO,OAAK,EAAE,QAAQ,YAAY,MAAM,cAAc,EACxG,SAAS;AAEd,QAAI,KAAK,MAAM;AACb,WAAK,aAAa;AAClB;AAAA,IACF;AAEA,QAAI,aAAa;AACf,WAAK,aAAa;AAClB;AAAA,IACF;AAEA,SAAK,aAAa;AAAA,EACpB;AAAA,EAGA,cAAc;AACZ,SAAK,cAAc;AAAA,EACrB;AAAA,EAE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"./chunk.XTPT3AVO.js";
13
+ } from "./chunk.WEXZUPCC.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.2GFK6XTO.js";
@@ -66,4 +66,4 @@ __decorateClass([
66
66
  export {
67
67
  SynProgressBar
68
68
  };
69
- //# sourceMappingURL=chunk.ILKUAKHV.js.map
69
+ //# sourceMappingURL=chunk.3EY2CJGW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynNavItem
3
- } from "./chunk.QUPQJL7I.js";
3
+ } from "./chunk.67KT2SLM.js";
4
4
 
5
5
  // src/components/nav-item/nav-item.ts
6
6
  var nav_item_default = SynNavItem;
@@ -9,4 +9,4 @@ SynNavItem.define("syn-nav-item");
9
9
  export {
10
10
  nav_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.SYLH7TJL.js.map
12
+ //# sourceMappingURL=chunk.3FJLLXCR.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SynergyElement,
9
9
  component_styles_default
10
- } from "./chunk.XTPT3AVO.js";
10
+ } from "./chunk.WEXZUPCC.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.2GFK6XTO.js";
@@ -134,4 +134,4 @@ __decorateClass([
134
134
  export {
135
135
  SynMenu
136
136
  };
137
- //# sourceMappingURL=chunk.IYEDBX5G.js.map
137
+ //# sourceMappingURL=chunk.3MVTZZBQ.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.XTPT3AVO.js";
13
+ } from "./chunk.WEXZUPCC.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.2GFK6XTO.js";
@@ -130,4 +130,4 @@ __decorateClass([
130
130
  export {
131
131
  SynRadioButton
132
132
  };
133
- //# sourceMappingURL=chunk.YIVSAOEK.js.map
133
+ //# sourceMappingURL=chunk.3UFTX7XQ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  SynergyElement,
6
6
  component_styles_default
7
- } from "./chunk.XTPT3AVO.js";
7
+ } from "./chunk.WEXZUPCC.js";
8
8
  import {
9
9
  __decorateClass,
10
10
  __spreadProps,
@@ -143,7 +143,7 @@ var SynPopup = class extends SynergyElement {
143
143
  if (this.anchorEl instanceof HTMLSlotElement) {
144
144
  this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
145
145
  }
146
- if (this.anchorEl) {
146
+ if (this.anchorEl && this.active) {
147
147
  this.start();
148
148
  }
149
149
  }
@@ -409,4 +409,4 @@ __decorateClass([
409
409
  export {
410
410
  SynPopup
411
411
  };
412
- //# sourceMappingURL=chunk.4AN73MGZ.js.map
412
+ //# sourceMappingURL=chunk.3XYKUOSA.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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 && this.active) {\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 <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,OAAO,YAAY,iBAAiB,MAAM,QAAQ,UAAU,OAAO,YAAY;AACxF,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,UAAU,aAAa;AAWhC,SAAS,iBAAiB,GAAiC;AACzD,SACE,MAAM,QACN,OAAO,MAAM,YACb,2BAA2B,MAC1B,oBAAoB,IAAI,aAAa,UAAU;AAEpD;AA+BA,IAAqB,WAArB,cAAsC,eAAe;AAAA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D,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;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAccordion
3
- } from "./chunk.QO264LN5.js";
3
+ } from "./chunk.VHBHYODZ.js";
4
4
 
5
5
  // src/components/accordion/accordion.ts
6
6
  var accordion_default = SynAccordion;
@@ -9,4 +9,4 @@ SynAccordion.define("syn-accordion");
9
9
  export {
10
10
  accordion_default
11
11
  };
12
- //# sourceMappingURL=chunk.AFFGPKYQ.js.map
12
+ //# sourceMappingURL=chunk.4IRHZEL2.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.RWH4QWJJ.js";
3
+ } from "./chunk.2CO2NVIH.js";
4
4
  import {
5
5
  select_custom_styles_default
6
6
  } from "./chunk.ZO4VONAT.js";
7
7
  import {
8
8
  select_styles_default
9
- } from "./chunk.35V3TAOT.js";
9
+ } from "./chunk.DFABWKX7.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.4AN73MGZ.js";
12
+ } from "./chunk.3XYKUOSA.js";
13
13
  import {
14
14
  scrollIntoView
15
15
  } from "./chunk.5732DMBC.js";
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk.WVVQK5TE.js";
40
40
  import {
41
41
  SynIcon
42
- } from "./chunk.OLHSSK2R.js";
42
+ } from "./chunk.YBCKQJK4.js";
43
43
  import {
44
44
  LocalizeController
45
45
  } from "./chunk.GIU3H3J3.js";
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  SynergyElement,
51
51
  component_styles_default
52
- } from "./chunk.XTPT3AVO.js";
52
+ } from "./chunk.WEXZUPCC.js";
53
53
  import {
54
54
  __decorateClass
55
55
  } from "./chunk.2GFK6XTO.js";
@@ -766,4 +766,4 @@ setDefaultAnimation("select.hide", {
766
766
  export {
767
767
  SynSelect
768
768
  };
769
- //# sourceMappingURL=chunk.XXR6SBCQ.js.map
769
+ //# sourceMappingURL=chunk.4P3FPYGQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTab
3
- } from "./chunk.XCZKYI7X.js";
3
+ } from "./chunk.K4FEZUZR.js";
4
4
 
5
5
  // src/components/tab/tab.ts
6
6
  var tab_default = SynTab;
@@ -9,4 +9,4 @@ SynTab.define("syn-tab");
9
9
  export {
10
10
  tab_default
11
11
  };
12
- //# sourceMappingURL=chunk.IBDQRF55.js.map
12
+ //# sourceMappingURL=chunk.5SNUBQQN.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.KG52EHDB.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.6WCLRSET.js";
6
+ } from "./chunk.NQEEDGN5.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.74IOULXM.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.XTPT3AVO.js";
15
+ } from "./chunk.WEXZUPCC.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -93,4 +93,4 @@ __decorateClass([
93
93
  export {
94
94
  SynOptgroup
95
95
  };
96
- //# sourceMappingURL=chunk.F3BB6LK2.js.map
96
+ //# sourceMappingURL=chunk.5WTQAMIT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynHeader
3
- } from "./chunk.FCUWPPKQ.js";
3
+ } from "./chunk.K2RV36N7.js";
4
4
 
5
5
  // src/components/header/header.ts
6
6
  var header_default = SynHeader;
@@ -9,4 +9,4 @@ SynHeader.define("syn-header");
9
9
  export {
10
10
  header_default
11
11
  };
12
- //# sourceMappingURL=chunk.DQGFMBAC.js.map
12
+ //# sourceMappingURL=chunk.64U5DPTH.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.XTPT3AVO.js";
13
+ } from "./chunk.WEXZUPCC.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.2GFK6XTO.js";
@@ -74,4 +74,4 @@ __decorateClass([
74
74
  export {
75
75
  SynProgressRing
76
76
  };
77
- //# sourceMappingURL=chunk.DUEOMPTT.js.map
77
+ //# sourceMappingURL=chunk.67C446DF.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  nav_item_styles_default
3
- } from "./chunk.VGEA67UG.js";
3
+ } from "./chunk.WOJ2VRZY.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.6WCLRSET.js";
6
+ } from "./chunk.NQEEDGN5.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.XTPT3AVO.js";
16
+ } from "./chunk.WEXZUPCC.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -63,12 +63,7 @@ var SynNavItem = class extends SynergyElement {
63
63
  handleCurrentMarkedChild() {
64
64
  const sideNav = this.closest("syn-side-nav");
65
65
  if (!this.open || !!(sideNav == null ? void 0 : sideNav.rail)) {
66
- const navItemChildren = this.getAllNestedNavItems(this.childrenSlot);
67
- const currentMarkedItem = navItemChildren.findIndex((item) => {
68
- var _a;
69
- return !!((_a = item.shadowRoot) == null ? void 0 : _a.querySelector(".nav-item--current"));
70
- });
71
- this.currentMarkedChild = currentMarkedItem !== -1;
66
+ this.currentMarkedChild = this.getAllNestedNavItems(this.childrenSlot).some((item) => item.current);
72
67
  }
73
68
  }
74
69
  handleClickButton(e) {
@@ -133,17 +128,38 @@ var SynNavItem = class extends SynergyElement {
133
128
  }
134
129
  });
135
130
  }
136
- handleOpenChange() {
137
- this.handleCurrentMarkedChild();
131
+ handleHorizontalChange() {
132
+ if (this.horizontal) {
133
+ this.resizeObserver.disconnect();
134
+ } else {
135
+ this.resizeObserver.observe(this);
136
+ }
138
137
  }
139
138
  connectedCallback() {
140
139
  super.connectedCallback();
141
140
  this.resizeObserver = new ResizeObserver((entries) => this.handleWidth(entries));
142
- this.resizeObserver.observe(this);
141
+ if (!this.horizontal) {
142
+ this.resizeObserver.observe(this);
143
+ }
144
+ }
145
+ firstUpdated(_changedProperties) {
146
+ super.firstUpdated(_changedProperties);
147
+ this.mutationObserver = new MutationObserver(() => {
148
+ if (this.childrenSlot) {
149
+ this.handleCurrentMarkedChild();
150
+ }
151
+ });
152
+ this.mutationObserver.observe(this, {
153
+ attributeFilter: ["current", "open"],
154
+ childList: true,
155
+ subtree: true
156
+ });
143
157
  }
144
158
  disconnectedCallback() {
159
+ var _a, _b;
145
160
  super.disconnectedCallback();
146
- this.resizeObserver.disconnect();
161
+ (_a = this.resizeObserver) == null ? void 0 : _a.disconnect();
162
+ (_b = this.mutationObserver) == null ? void 0 : _b.disconnect();
147
163
  }
148
164
  /**
149
165
  * Removes focus from the button.
@@ -307,10 +323,10 @@ __decorateClass([
307
323
  property({ reflect: true, type: Boolean })
308
324
  ], SynNavItem.prototype, "divider", 2);
309
325
  __decorateClass([
310
- watch("open")
311
- ], SynNavItem.prototype, "handleOpenChange", 1);
326
+ watch("horizontal", { waitUntilFirstUpdate: true })
327
+ ], SynNavItem.prototype, "handleHorizontalChange", 1);
312
328
 
313
329
  export {
314
330
  SynNavItem
315
331
  };
316
- //# sourceMappingURL=chunk.QUPQJL7I.js.map
332
+ //# sourceMappingURL=chunk.67KT2SLM.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/nav-item/nav-item.component.ts"],
4
+ "sourcesContent": ["import { classMap } from 'lit/directives/class-map.js';\nimport type { CSSResultGroup, PropertyValues } from 'lit';\nimport { html, literal } from 'lit/static-html.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport SynDivider from '../divider/divider.component.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { watch } from '../../internal/watch.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './nav-item.styles.js';\n\n/**\n * @summary Flexible button / link component that can be used to quickly build navigations.\n * Takes one of 3 forms:\n * - button (default),\n * - link (overrides button if a 'href' is provided),\n * - or accordion (overrides all other if 'children' slot is defined).\n *\n * @status stable\n * @since 1.14.0\n *\n * @dependency syn-divider\n *\n * @event syn-show - Emitted when the navigation item:\n * - has children,\n * - and is clicked while HTML details are hidden.\n *\n * @event syn-hide - Emitted when the navigation item:\n * - has children,\n * - and is clicked while HTML details are shown.\n *\n * @event syn-blur - Emitted when the button loses focus.\n * @event syn-focus - Emitted when the button gains focus.\n *\n * @slot - The navigation item's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n * @slot children - Slot used to provide nested child navigation elements.\n * If provided, details and summary elements will be used.\n * A chevron will be shown on the right side regardless of the chevron property.\n *\n * @csspart base - The component's base wrapper including children.\n * @csspart children - The wrapper that holds the children\n * @csspart content-wrapper - The component's content wrapper.\n * @csspart content - The component's content excluding children.\n * @csspart current-indicator - The indicator used when current is set to true\n * @csspart chevron - The container that wraps the chevron.\n * @csspart details - The details element rendered when there are children available\n * @csspart divider - The components optional top divider.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n *\n * @cssproperty --indentation - Numeric value, indicating the level the item is placed at.\n * @cssproperty --indentation-stepping - The amount of pixels each level will indent.\n * @cssproperty --display-children - Display property of the children. Defaults to \"contents\"\n */\nexport default class SynNavItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'children', 'prefix', 'suffix');\n\n private resizeObserver: ResizeObserver;\n\n private mutationObserver: MutationObserver;\n\n /**\n * The current focus state\n */\n @state() private hasFocus = false;\n\n /**\n * Only the prefix should be displayed\n */\n @state() private showPrefixOnly = false;\n\n /**\n * A nested nav-item is marked as current\n */\n @state() private currentMarkedChild = false;\n\n /**\n * The content area is multiline\n */\n @state() private isMultiLine = false;\n\n /**\n * Reference to the children slot\n */\n @query('slot[name=\"children\"]') childrenSlot: HTMLSlotElement;\n\n /**\n * Reference to the outermost button\n */\n @query('.nav-item') control: HTMLButtonElement | HTMLLinkElement | HTMLElement;\n\n /**\n * The navigation item's href target.\n * If provided, the navigation item will use an anchor tag otherwise it will use a button tag.\n *\n * If the 'children' slot is provided, the navigation item will ignore the 'href' and use\n * accordion behavior.\n */\n @property({ reflect: true, type: String }) href: string;\n\n /*\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 this.currentMarkedChild = this\n .getAllNestedNavItems(this.childrenSlot)\n .some(item => item.current);\n }\n }\n\n private handleClickButton(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n private handleClickSummary(e: MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n if (this.disabled) return;\n\n if (this.open) {\n this.hideDetails();\n } else {\n this.showDetails();\n }\n }\n\n private hideDetails() {\n this.open = false;\n this.emit('syn-hide', {\n cancelable: true,\n });\n }\n\n private showDetails() {\n this.open = true;\n this.emit('syn-show', {\n cancelable: true,\n });\n }\n\n /**\n * Automatically add the correct level of indentation for sub items if none is provided\n */\n private handleSlotChange() {\n 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 // Make sure the resize observer is disconnected when the horizontal property is set to true\n // In this case we, never want it to use prefix only mode\n @watch('horizontal', { waitUntilFirstUpdate: true })\n handleHorizontalChange() {\n if (this.horizontal) {\n this.resizeObserver.disconnect();\n } else {\n this.resizeObserver.observe(this);\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver((entries) => this.handleWidth(entries));\n if (!this.horizontal) {\n this.resizeObserver.observe(this);\n }\n }\n\n firstUpdated(_changedProperties: PropertyValues) {\n super.firstUpdated(_changedProperties);\n this.mutationObserver = new MutationObserver(() => {\n if (this.childrenSlot) {\n this.handleCurrentMarkedChild();\n }\n });\n\n this.mutationObserver.observe(this, {\n attributeFilter: ['current', 'open'],\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.resizeObserver?.disconnect();\n this.mutationObserver?.disconnect();\n }\n\n /**\n * Removes focus from the button.\n */\n blur() {\n this.control.blur();\n }\n\n /**\n * Simulates a click on the nav-items button, link or summary.\n */\n click() {\n this.control.click();\n }\n\n /**\n * Sets focus on the nav-item\n */\n focus(options?: FocusOptions) {\n this.control.focus(options);\n }\n\n // eslint-disable-next-line complexity\n render() {\n const isButton = this.isButton();\n const isLink = this.isLink();\n const isAccordion = this.isAccordion();\n\n const sideNav = this.closest('syn-side-nav');\n\n const showCurrentIndicatorForNested = (this.currentMarkedChild && !this.open)\n || (this.currentMarkedChild && this.open && !!sideNav?.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;AASnG,SAAQ,WAAW;AAKnB,SAAQ,iBAAiB;AAKzB,SAAQ,qB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,GAxEvB,WAwEyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GA9EvB,WA8EyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GApFvB,WAoFyB;AAgI5C;AAAA,EADC,MAAM,cAAc,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAnNhC,WAoNnB;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.H45DUC5P.js";
3
+ } from "./chunk.BD43D4WE.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.ROA65NK6.js.map
12
+ //# sourceMappingURL=chunk.6O33XJ3X.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSwitch
3
- } from "./chunk.OZDWNWBK.js";
3
+ } from "./chunk.74JAW3N4.js";
4
4
 
5
5
  // src/components/switch/switch.ts
6
6
  var switch_default = SynSwitch;
@@ -9,4 +9,4 @@ SynSwitch.define("syn-switch");
9
9
  export {
10
10
  switch_default
11
11
  };
12
- //# sourceMappingURL=chunk.J36KWNPW.js.map
12
+ //# sourceMappingURL=chunk.6OJJ5EQC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTabGroup
3
- } from "./chunk.DZKWV5DQ.js";
3
+ } from "./chunk.LMV4YGVB.js";
4
4
 
5
5
  // src/components/tab-group/tab-group.ts
6
6
  var tab_group_default = SynTabGroup;
@@ -9,4 +9,4 @@ SynTabGroup.define("syn-tab-group");
9
9
  export {
10
10
  tab_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.E4FLL46W.js.map
12
+ //# sourceMappingURL=chunk.6QDXFWNX.js.map
@@ -1,9 +1,9 @@
1
- import {
2
- switch_styles_default
3
- } from "./chunk.4TB35TYG.js";
4
1
  import {
5
2
  switch_custom_styles_default
6
3
  } from "./chunk.W5JK7V7K.js";
4
+ import {
5
+ switch_styles_default
6
+ } from "./chunk.4TB35TYG.js";
7
7
  import {
8
8
  defaultValue
9
9
  } from "./chunk.RBG37CD4.js";
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  SynergyElement,
25
25
  component_styles_default
26
- } from "./chunk.XTPT3AVO.js";
26
+ } from "./chunk.WEXZUPCC.js";
27
27
  import {
28
28
  __decorateClass
29
29
  } from "./chunk.2GFK6XTO.js";
@@ -247,4 +247,4 @@ __decorateClass([
247
247
  export {
248
248
  SynSwitch
249
249
  };
250
- //# sourceMappingURL=chunk.OZDWNWBK.js.map
250
+ //# sourceMappingURL=chunk.74JAW3N4.js.map