@synergy-design-system/components 2.14.2 → 2.14.4

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 (340) hide show
  1. package/dist/chunks/{chunk.RSI6VMEX.js → chunk.27OXOWH6.js} +4 -4
  2. package/dist/chunks/{chunk.QSBFFMWA.js → chunk.2JNWW7YF.js} +2 -2
  3. package/dist/chunks/{chunk.EO557Q73.js → chunk.2U2GQVFO.js} +2 -2
  4. package/dist/chunks/{chunk.RK6FVLPL.js → chunk.2ZSVOBMW.js} +2 -2
  5. package/dist/chunks/{chunk.5A4O3QQH.js → chunk.32YCQYJZ.js} +2 -2
  6. package/dist/chunks/{chunk.P3XHTK56.js → chunk.3IU5Z5KT.js} +4 -4
  7. package/dist/chunks/chunk.3IU5Z5KT.js.map +7 -0
  8. package/dist/chunks/{chunk.RBG37CD4.js → chunk.3NXKLKWH.js} +1 -1
  9. package/dist/chunks/{chunk.RBG37CD4.js.map → chunk.3NXKLKWH.js.map} +2 -2
  10. package/dist/chunks/{chunk.BBUFEDXF.js → chunk.43YNZAWL.js} +2 -5
  11. package/dist/chunks/{chunk.BBUFEDXF.js.map → chunk.43YNZAWL.js.map} +2 -2
  12. package/dist/chunks/{chunk.HJAPRROW.js → chunk.4FTVKKHK.js} +2 -2
  13. package/dist/chunks/{chunk.NS3IYR55.js → chunk.4STSS3TC.js} +2 -2
  14. package/dist/chunks/{chunk.HT6XMYAL.js → chunk.5APLEMQN.js} +4 -4
  15. package/dist/chunks/{chunk.42LDZR6F.js → chunk.5EGFFSLN.js} +16 -1
  16. package/dist/chunks/{chunk.42LDZR6F.js.map → chunk.5EGFFSLN.js.map} +2 -2
  17. package/dist/chunks/{chunk.WMGRMHUP.js → chunk.5JK5C3NG.js} +2 -2
  18. package/dist/chunks/{chunk.G7P2A2YS.js → chunk.5JWLMQDS.js} +2 -2
  19. package/dist/chunks/{chunk.FWCRRX53.js → chunk.5NNQTH6Y.js} +2 -2
  20. package/dist/chunks/{chunk.TDXBTAZT.js → chunk.5O6KY54G.js} +7 -8
  21. package/dist/chunks/chunk.5O6KY54G.js.map +7 -0
  22. package/dist/chunks/{chunk.NI2QWG2P.js → chunk.5OGCYFPP.js} +2 -2
  23. package/dist/chunks/{chunk.722JM5YD.js → chunk.5PHJNXCR.js} +2 -2
  24. package/dist/chunks/{chunk.GVWMRSBR.js → chunk.5TGTLEV7.js} +2 -2
  25. package/dist/chunks/{chunk.A4OEHOEC.js → chunk.63NWUCC4.js} +2 -2
  26. package/dist/chunks/{chunk.I7OSOLEF.js → chunk.653OHBCB.js} +2 -2
  27. package/dist/chunks/{chunk.GVNVZMMM.js → chunk.66LQF6IO.js} +2 -1
  28. package/dist/chunks/{chunk.GVNVZMMM.js.map → chunk.66LQF6IO.js.map} +2 -2
  29. package/dist/chunks/{chunk.CV6BFKRF.js → chunk.6LA2KDZK.js} +6 -6
  30. package/dist/chunks/{chunk.VTWPMOGZ.js → chunk.6TVYTZKT.js} +2 -2
  31. package/dist/chunks/{chunk.SXTCOCUZ.js → chunk.7HCKODF3.js} +3 -3
  32. package/dist/chunks/{chunk.LWY7MY2Y.js → chunk.7JXZBSAX.js} +2 -2
  33. package/dist/chunks/{chunk.WNPWVX2J.js → chunk.A4ZY6QII.js} +3 -3
  34. package/dist/chunks/{chunk.FQNCDTE2.js → chunk.AVYP5IJA.js} +2 -2
  35. package/dist/chunks/{chunk.U7CBHMLC.js → chunk.AYD6IMHN.js} +2 -2
  36. package/dist/chunks/{chunk.WXG5ZPJT.js → chunk.B7JCEZZK.js} +10 -9
  37. package/dist/chunks/{chunk.WXG5ZPJT.js.map → chunk.B7JCEZZK.js.map} +2 -2
  38. package/dist/chunks/{chunk.3B24TYVN.js → chunk.BBHVVRXK.js} +7 -1
  39. package/dist/chunks/{chunk.3B24TYVN.js.map → chunk.BBHVVRXK.js.map} +2 -2
  40. package/dist/chunks/{chunk.LG56XO76.js → chunk.BKKAEDNO.js} +3 -3
  41. package/dist/chunks/chunk.BKKAEDNO.js.map +7 -0
  42. package/dist/chunks/{chunk.RKUVZPTY.js → chunk.BPEZP3WP.js} +2 -2
  43. package/dist/chunks/{chunk.7ZLBBN5K.js → chunk.BQLRPCAA.js} +3 -3
  44. package/dist/chunks/{chunk.BJD47ZTY.js → chunk.BS63LJFI.js} +8 -8
  45. package/dist/chunks/{chunk.FL5FOPUJ.js → chunk.BSWTMFN2.js} +2 -2
  46. package/dist/chunks/{chunk.DE5S6MFL.js → chunk.CCQ56RFM.js} +2 -2
  47. package/dist/chunks/{chunk.3CUFSBFH.js → chunk.CHIUNJAA.js} +2 -2
  48. package/dist/chunks/{chunk.DZXBGNLA.js → chunk.CJNT4TRJ.js} +2 -2
  49. package/dist/chunks/{chunk.LX4W2I3C.js → chunk.CUGJ2WHE.js} +2 -2
  50. package/dist/chunks/{chunk.AWZ53TFO.js → chunk.D2TE64F3.js} +7 -7
  51. package/dist/chunks/{chunk.OITO4SFA.js → chunk.D7A4ZGPT.js} +7 -8
  52. package/dist/chunks/chunk.D7A4ZGPT.js.map +7 -0
  53. package/dist/chunks/{chunk.7GGSI2YZ.js → chunk.DOSBG7MN.js} +8 -8
  54. package/dist/chunks/{chunk.OOABXWCW.js → chunk.E7AZZSVA.js} +7 -1
  55. package/dist/chunks/chunk.E7AZZSVA.js.map +7 -0
  56. package/dist/chunks/{chunk.FTICDBQ2.js → chunk.EASMPKTG.js} +2 -2
  57. package/dist/chunks/{chunk.LH4ILF4B.js → chunk.EZJD2GUY.js} +8 -8
  58. package/dist/chunks/{chunk.WN2EH7JI.js → chunk.FJ6R3VJZ.js} +2 -2
  59. package/dist/chunks/{chunk.6GVTLK7A.js → chunk.FU4AFJ2U.js} +2 -2
  60. package/dist/chunks/{chunk.SNMJ7SOE.js → chunk.G2ZSWWS6.js} +2 -2
  61. package/dist/chunks/{chunk.BYGUEXUD.js → chunk.G6YW3R3W.js} +2 -2
  62. package/dist/chunks/{chunk.RVORADA6.js → chunk.HU2NICBI.js} +2 -2
  63. package/dist/chunks/{chunk.54QNG2H2.js → chunk.I6IT6CZR.js} +3 -3
  64. package/dist/chunks/{chunk.6S6YN2FC.js → chunk.I7SRS2KN.js} +2 -2
  65. package/dist/chunks/{chunk.KG52EHDB.js → chunk.IFW77IB7.js} +2 -2
  66. package/dist/chunks/{chunk.KG52EHDB.js.map → chunk.IFW77IB7.js.map} +1 -1
  67. package/dist/chunks/{chunk.BCCIUGZ2.js → chunk.IQFXQYVK.js} +2 -2
  68. package/dist/chunks/{chunk.WQJRBFZA.js → chunk.J6CGTLVH.js} +2 -2
  69. package/dist/chunks/chunk.J6CGTLVH.js.map +7 -0
  70. package/dist/chunks/{chunk.OGYZFRUS.js → chunk.JCAIRKGN.js} +2 -2
  71. package/dist/chunks/{chunk.XCMHU4ZI.js → chunk.JM7ZCKEK.js} +2 -2
  72. package/dist/chunks/{chunk.OXP7XEFB.js → chunk.JN6WVWJX.js} +5 -5
  73. package/dist/chunks/{chunk.NDMTEREV.js → chunk.KKIDHUOP.js} +2 -2
  74. package/dist/chunks/{chunk.ZO4VONAT.js → chunk.KL5VXGK4.js} +31 -2
  75. package/dist/chunks/chunk.KL5VXGK4.js.map +7 -0
  76. package/dist/chunks/{chunk.3ZXPK5SS.js → chunk.KNHLFDM7.js} +7 -7
  77. package/dist/chunks/{chunk.SM6ESSEP.js → chunk.L4CP6PPE.js} +2 -2
  78. package/dist/chunks/{chunk.JLOTHLIS.js → chunk.LB6HDIPZ.js} +2 -2
  79. package/dist/chunks/{chunk.JLOTHLIS.js.map → chunk.LB6HDIPZ.js.map} +1 -1
  80. package/dist/chunks/{chunk.MMFNICFN.js → chunk.LHUK6COU.js} +2 -2
  81. package/dist/chunks/{chunk.XIVDXQDS.js → chunk.LPRWR5XH.js} +3 -3
  82. package/dist/chunks/{chunk.2XAU5NKA.js → chunk.M4ULZ7B7.js} +2 -2
  83. package/dist/chunks/{chunk.A2AAVIZH.js → chunk.MBIFO2XO.js} +2 -2
  84. package/dist/chunks/{chunk.BY464PPW.js → chunk.MLCOWC6S.js} +2 -2
  85. package/dist/chunks/{chunk.TIGV5GKD.js → chunk.NDITJMAU.js} +7 -7
  86. package/dist/chunks/{chunk.FPKHAZIQ.js → chunk.O4HVPE7C.js} +2 -2
  87. package/dist/chunks/{chunk.MHAOZVG2.js → chunk.ORH4G4OK.js} +3 -3
  88. package/dist/chunks/{chunk.7UYCJRLQ.js → chunk.OZWD5KU2.js} +2 -2
  89. package/dist/chunks/{chunk.WOQBICEQ.js → chunk.PHTB756P.js} +2 -2
  90. package/dist/chunks/{chunk.FIDRWRGO.js → chunk.Q27Z7MPU.js} +3 -3
  91. package/dist/chunks/{chunk.3ZYVNRHO.js → chunk.Q5FWXJ5C.js} +2 -2
  92. package/dist/chunks/{chunk.ZPTZW3EP.js → chunk.QF2K5FUK.js} +2 -2
  93. package/dist/chunks/{chunk.23UPVKOR.js → chunk.R6PLNFHF.js} +7 -7
  94. package/dist/chunks/{chunk.J4W3EDWX.js → chunk.RAMVZHC6.js} +2 -2
  95. package/dist/chunks/{chunk.4AKAU6JH.js → chunk.SLCHOV5R.js} +6 -6
  96. package/dist/chunks/{chunk.AWB6VLVD.js → chunk.SNCBIP3H.js} +2 -2
  97. package/dist/chunks/{chunk.RJPNUQYL.js → chunk.SVNA5JSU.js} +48 -23
  98. package/dist/chunks/chunk.SVNA5JSU.js.map +7 -0
  99. package/dist/chunks/{chunk.X7W3BQ7H.js → chunk.SYYJOIPP.js} +2 -2
  100. package/dist/chunks/{chunk.7A4BI7K5.js → chunk.TA5XYGBC.js} +5 -5
  101. package/dist/chunks/{chunk.YANK7ET6.js → chunk.TDR3LNUL.js} +2 -2
  102. package/dist/chunks/{chunk.EC67LZMD.js → chunk.TOI37VZW.js} +2 -2
  103. package/dist/chunks/{chunk.LYHM6EG6.js → chunk.U4ZYDVZJ.js} +2 -2
  104. package/dist/chunks/{chunk.C2KIJDCF.js → chunk.UWUUIZBA.js} +2 -2
  105. package/dist/chunks/{chunk.Q3563AYR.js → chunk.UWYZBI2G.js} +2 -2
  106. package/dist/chunks/{chunk.FUHFSQEX.js → chunk.V4HPWQE7.js} +1 -1
  107. package/dist/chunks/{chunk.FUHFSQEX.js.map → chunk.V4HPWQE7.js.map} +2 -2
  108. package/dist/chunks/{chunk.IZEADTY5.js → chunk.V4SIKF4X.js} +31 -11
  109. package/dist/chunks/{chunk.IZEADTY5.js.map → chunk.V4SIKF4X.js.map} +2 -2
  110. package/dist/chunks/{chunk.3A65FBTX.js → chunk.VKRMYKYH.js} +7 -1
  111. package/dist/chunks/chunk.VKRMYKYH.js.map +7 -0
  112. package/dist/chunks/{chunk.OPLK26M2.js → chunk.VYZQ5Y5Q.js} +2 -2
  113. package/dist/chunks/{chunk.5KDK2OIE.js → chunk.WM2KWZQF.js} +4 -4
  114. package/dist/chunks/{chunk.CNJ6MEL7.js → chunk.WNPX6FIX.js} +2 -2
  115. package/dist/chunks/{chunk.JLIL7FTT.js → chunk.WVZHBQS5.js} +2 -2
  116. package/dist/chunks/{chunk.LDB6FQV4.js → chunk.XGAH6W2F.js} +6 -6
  117. package/dist/chunks/{chunk.WEUYZ376.js → chunk.XNXKZDEC.js} +2 -2
  118. package/dist/chunks/{chunk.PINMXY5S.js → chunk.XOMKTBTJ.js} +9 -9
  119. package/dist/chunks/{chunk.MJEJKJER.js → chunk.XTWO6ZZW.js} +6 -6
  120. package/dist/chunks/{chunk.MJEJKJER.js.map → chunk.XTWO6ZZW.js.map} +1 -1
  121. package/dist/chunks/{chunk.EPAIRZ2S.js → chunk.XZXC2YII.js} +19 -16
  122. package/dist/chunks/chunk.XZXC2YII.js.map +7 -0
  123. package/dist/chunks/{chunk.PLSY3JHV.js → chunk.YBVB2YSB.js} +2 -2
  124. package/dist/chunks/{chunk.2XJN5LTD.js → chunk.YFQBPHQQ.js} +2 -2
  125. package/dist/chunks/{chunk.S3D6DR72.js → chunk.YT722J2Q.js} +6 -6
  126. package/dist/chunks/{chunk.W2XEKBQP.js → chunk.ZRQDPDAC.js} +2 -2
  127. package/dist/chunks/{chunk.NNUOLDSE.js → chunk.ZRUVYNCI.js} +4 -4
  128. package/dist/chunks/{chunk.PDA6LMK5.js → chunk.ZSLMRR2F.js} +11 -11
  129. package/dist/chunks/{chunk.5JJC6THY.js → chunk.ZVGIKLDN.js} +10 -10
  130. package/dist/components/accordion/accordion.component.js +3 -3
  131. package/dist/components/accordion/accordion.js +4 -4
  132. package/dist/components/alert/alert.component.js +8 -8
  133. package/dist/components/alert/alert.js +9 -9
  134. package/dist/components/badge/badge.component.js +4 -4
  135. package/dist/components/badge/badge.custom.styles.js +1 -1
  136. package/dist/components/badge/badge.js +5 -5
  137. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  138. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  139. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  140. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  141. package/dist/components/button/button.component.js +7 -7
  142. package/dist/components/button/button.custom.styles.js +1 -1
  143. package/dist/components/button/button.js +8 -8
  144. package/dist/components/button-group/button-group.component.js +2 -2
  145. package/dist/components/button-group/button-group.js +3 -3
  146. package/dist/components/card/card.component.js +2 -2
  147. package/dist/components/card/card.js +3 -3
  148. package/dist/components/checkbox/checkbox.component.js +4 -4
  149. package/dist/components/checkbox/checkbox.js +5 -5
  150. package/dist/components/combobox/combobox.component.d.ts +1 -1
  151. package/dist/components/combobox/combobox.component.js +8 -8
  152. package/dist/components/combobox/combobox.js +9 -9
  153. package/dist/components/combobox/combobox.styles.js +1 -1
  154. package/dist/components/details/details.component.js +5 -5
  155. package/dist/components/details/details.js +6 -6
  156. package/dist/components/dialog/dialog.component.js +6 -6
  157. package/dist/components/dialog/dialog.js +7 -7
  158. package/dist/components/divider/divider.component.js +2 -2
  159. package/dist/components/divider/divider.js +3 -3
  160. package/dist/components/drawer/drawer.component.js +6 -6
  161. package/dist/components/drawer/drawer.js +7 -7
  162. package/dist/components/dropdown/dropdown.component.js +4 -4
  163. package/dist/components/dropdown/dropdown.js +5 -5
  164. package/dist/components/file/file.component.js +9 -9
  165. package/dist/components/file/file.js +10 -10
  166. package/dist/components/header/header.component.js +7 -7
  167. package/dist/components/header/header.js +8 -8
  168. package/dist/components/header/header.styles.js +1 -1
  169. package/dist/components/icon/icon.component.js +2 -2
  170. package/dist/components/icon/icon.js +3 -3
  171. package/dist/components/icon-button/icon-button.component.js +3 -3
  172. package/dist/components/icon-button/icon-button.js +4 -4
  173. package/dist/components/input/input.component.js +8 -8
  174. package/dist/components/input/input.custom.styles.js +1 -1
  175. package/dist/components/input/input.js +9 -9
  176. package/dist/components/menu/menu.component.js +2 -2
  177. package/dist/components/menu/menu.js +3 -3
  178. package/dist/components/menu-item/menu-item.component.js +9 -9
  179. package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
  180. package/dist/components/menu-item/menu-item.js +10 -10
  181. package/dist/components/menu-item/submenu-controller.js +1 -1
  182. package/dist/components/menu-label/menu-label.component.js +3 -3
  183. package/dist/components/menu-label/menu-label.js +4 -4
  184. package/dist/components/nav-item/nav-item.component.js +3 -3
  185. package/dist/components/nav-item/nav-item.js +4 -4
  186. package/dist/components/optgroup/optgroup.component.js +4 -4
  187. package/dist/components/optgroup/optgroup.js +5 -5
  188. package/dist/components/optgroup/optgroup.styles.js +1 -1
  189. package/dist/components/option/option.component.d.ts +0 -1
  190. package/dist/components/option/option.component.js +6 -6
  191. package/dist/components/option/option.custom.styles.js +1 -1
  192. package/dist/components/option/option.js +7 -7
  193. package/dist/components/popup/popup.component.js +2 -2
  194. package/dist/components/popup/popup.js +3 -3
  195. package/dist/components/prio-nav/prio-nav.component.js +10 -10
  196. package/dist/components/prio-nav/prio-nav.js +11 -11
  197. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  198. package/dist/components/progress-bar/progress-bar.js +3 -3
  199. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  200. package/dist/components/progress-ring/progress-ring.js +3 -3
  201. package/dist/components/radio/radio.component.js +3 -3
  202. package/dist/components/radio/radio.js +4 -4
  203. package/dist/components/radio-button/radio-button.component.js +2 -2
  204. package/dist/components/radio-button/radio-button.js +3 -3
  205. package/dist/components/radio-group/radio-group.component.js +3 -3
  206. package/dist/components/radio-group/radio-group.js +4 -4
  207. package/dist/components/range/range.component.js +6 -6
  208. package/dist/components/range/range.js +7 -7
  209. package/dist/components/range-tick/range-tick.component.js +2 -2
  210. package/dist/components/range-tick/range-tick.js +3 -3
  211. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  212. package/dist/components/select/select.component.d.ts +5 -2
  213. package/dist/components/select/select.component.js +10 -11
  214. package/dist/components/select/select.custom.styles.js +1 -1
  215. package/dist/components/select/select.js +11 -12
  216. package/dist/components/select/select.styles.js +1 -1
  217. package/dist/components/side-nav/side-nav.component.js +8 -8
  218. package/dist/components/side-nav/side-nav.js +9 -9
  219. package/dist/components/spinner/spinner.component.js +2 -2
  220. package/dist/components/spinner/spinner.js +3 -3
  221. package/dist/components/switch/switch.component.js +3 -3
  222. package/dist/components/switch/switch.js +4 -4
  223. package/dist/components/tab/tab.component.js +7 -7
  224. package/dist/components/tab/tab.js +8 -8
  225. package/dist/components/tab/tab.styles.js +1 -1
  226. package/dist/components/tab-group/tab-group.component.js +7 -7
  227. package/dist/components/tab-group/tab-group.js +8 -8
  228. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  229. package/dist/components/tab-panel/tab-panel.js +3 -3
  230. package/dist/components/tag/tag.component.js +6 -6
  231. package/dist/components/tag/tag.js +7 -7
  232. package/dist/components/textarea/textarea.component.js +3 -3
  233. package/dist/components/textarea/textarea.js +4 -4
  234. package/dist/components/tooltip/tooltip.component.js +4 -4
  235. package/dist/components/tooltip/tooltip.js +5 -5
  236. package/dist/components/validate/utility.js +2 -2
  237. package/dist/components/validate/validate.component.js +10 -10
  238. package/dist/components/validate/validate.js +11 -11
  239. package/dist/custom-elements.json +22 -25
  240. package/dist/styles/index.css +1 -1
  241. package/dist/synergy.js +119 -119
  242. package/dist/vscode.html-custom-data.json +5 -5
  243. package/package.json +3 -3
  244. package/dist/chunks/chunk.3A65FBTX.js.map +0 -7
  245. package/dist/chunks/chunk.EPAIRZ2S.js.map +0 -7
  246. package/dist/chunks/chunk.LG56XO76.js.map +0 -7
  247. package/dist/chunks/chunk.OITO4SFA.js.map +0 -7
  248. package/dist/chunks/chunk.OOABXWCW.js.map +0 -7
  249. package/dist/chunks/chunk.P3XHTK56.js.map +0 -7
  250. package/dist/chunks/chunk.RJPNUQYL.js.map +0 -7
  251. package/dist/chunks/chunk.TDXBTAZT.js.map +0 -7
  252. package/dist/chunks/chunk.WQJRBFZA.js.map +0 -7
  253. package/dist/chunks/chunk.ZO4VONAT.js.map +0 -7
  254. /package/dist/chunks/{chunk.RSI6VMEX.js.map → chunk.27OXOWH6.js.map} +0 -0
  255. /package/dist/chunks/{chunk.QSBFFMWA.js.map → chunk.2JNWW7YF.js.map} +0 -0
  256. /package/dist/chunks/{chunk.EO557Q73.js.map → chunk.2U2GQVFO.js.map} +0 -0
  257. /package/dist/chunks/{chunk.RK6FVLPL.js.map → chunk.2ZSVOBMW.js.map} +0 -0
  258. /package/dist/chunks/{chunk.5A4O3QQH.js.map → chunk.32YCQYJZ.js.map} +0 -0
  259. /package/dist/chunks/{chunk.HJAPRROW.js.map → chunk.4FTVKKHK.js.map} +0 -0
  260. /package/dist/chunks/{chunk.NS3IYR55.js.map → chunk.4STSS3TC.js.map} +0 -0
  261. /package/dist/chunks/{chunk.HT6XMYAL.js.map → chunk.5APLEMQN.js.map} +0 -0
  262. /package/dist/chunks/{chunk.WMGRMHUP.js.map → chunk.5JK5C3NG.js.map} +0 -0
  263. /package/dist/chunks/{chunk.G7P2A2YS.js.map → chunk.5JWLMQDS.js.map} +0 -0
  264. /package/dist/chunks/{chunk.FWCRRX53.js.map → chunk.5NNQTH6Y.js.map} +0 -0
  265. /package/dist/chunks/{chunk.NI2QWG2P.js.map → chunk.5OGCYFPP.js.map} +0 -0
  266. /package/dist/chunks/{chunk.722JM5YD.js.map → chunk.5PHJNXCR.js.map} +0 -0
  267. /package/dist/chunks/{chunk.GVWMRSBR.js.map → chunk.5TGTLEV7.js.map} +0 -0
  268. /package/dist/chunks/{chunk.A4OEHOEC.js.map → chunk.63NWUCC4.js.map} +0 -0
  269. /package/dist/chunks/{chunk.I7OSOLEF.js.map → chunk.653OHBCB.js.map} +0 -0
  270. /package/dist/chunks/{chunk.CV6BFKRF.js.map → chunk.6LA2KDZK.js.map} +0 -0
  271. /package/dist/chunks/{chunk.VTWPMOGZ.js.map → chunk.6TVYTZKT.js.map} +0 -0
  272. /package/dist/chunks/{chunk.SXTCOCUZ.js.map → chunk.7HCKODF3.js.map} +0 -0
  273. /package/dist/chunks/{chunk.LWY7MY2Y.js.map → chunk.7JXZBSAX.js.map} +0 -0
  274. /package/dist/chunks/{chunk.WNPWVX2J.js.map → chunk.A4ZY6QII.js.map} +0 -0
  275. /package/dist/chunks/{chunk.FQNCDTE2.js.map → chunk.AVYP5IJA.js.map} +0 -0
  276. /package/dist/chunks/{chunk.U7CBHMLC.js.map → chunk.AYD6IMHN.js.map} +0 -0
  277. /package/dist/chunks/{chunk.RKUVZPTY.js.map → chunk.BPEZP3WP.js.map} +0 -0
  278. /package/dist/chunks/{chunk.7ZLBBN5K.js.map → chunk.BQLRPCAA.js.map} +0 -0
  279. /package/dist/chunks/{chunk.BJD47ZTY.js.map → chunk.BS63LJFI.js.map} +0 -0
  280. /package/dist/chunks/{chunk.FL5FOPUJ.js.map → chunk.BSWTMFN2.js.map} +0 -0
  281. /package/dist/chunks/{chunk.DE5S6MFL.js.map → chunk.CCQ56RFM.js.map} +0 -0
  282. /package/dist/chunks/{chunk.3CUFSBFH.js.map → chunk.CHIUNJAA.js.map} +0 -0
  283. /package/dist/chunks/{chunk.DZXBGNLA.js.map → chunk.CJNT4TRJ.js.map} +0 -0
  284. /package/dist/chunks/{chunk.LX4W2I3C.js.map → chunk.CUGJ2WHE.js.map} +0 -0
  285. /package/dist/chunks/{chunk.AWZ53TFO.js.map → chunk.D2TE64F3.js.map} +0 -0
  286. /package/dist/chunks/{chunk.7GGSI2YZ.js.map → chunk.DOSBG7MN.js.map} +0 -0
  287. /package/dist/chunks/{chunk.FTICDBQ2.js.map → chunk.EASMPKTG.js.map} +0 -0
  288. /package/dist/chunks/{chunk.LH4ILF4B.js.map → chunk.EZJD2GUY.js.map} +0 -0
  289. /package/dist/chunks/{chunk.WN2EH7JI.js.map → chunk.FJ6R3VJZ.js.map} +0 -0
  290. /package/dist/chunks/{chunk.6GVTLK7A.js.map → chunk.FU4AFJ2U.js.map} +0 -0
  291. /package/dist/chunks/{chunk.SNMJ7SOE.js.map → chunk.G2ZSWWS6.js.map} +0 -0
  292. /package/dist/chunks/{chunk.BYGUEXUD.js.map → chunk.G6YW3R3W.js.map} +0 -0
  293. /package/dist/chunks/{chunk.RVORADA6.js.map → chunk.HU2NICBI.js.map} +0 -0
  294. /package/dist/chunks/{chunk.54QNG2H2.js.map → chunk.I6IT6CZR.js.map} +0 -0
  295. /package/dist/chunks/{chunk.6S6YN2FC.js.map → chunk.I7SRS2KN.js.map} +0 -0
  296. /package/dist/chunks/{chunk.BCCIUGZ2.js.map → chunk.IQFXQYVK.js.map} +0 -0
  297. /package/dist/chunks/{chunk.OGYZFRUS.js.map → chunk.JCAIRKGN.js.map} +0 -0
  298. /package/dist/chunks/{chunk.XCMHU4ZI.js.map → chunk.JM7ZCKEK.js.map} +0 -0
  299. /package/dist/chunks/{chunk.OXP7XEFB.js.map → chunk.JN6WVWJX.js.map} +0 -0
  300. /package/dist/chunks/{chunk.NDMTEREV.js.map → chunk.KKIDHUOP.js.map} +0 -0
  301. /package/dist/chunks/{chunk.3ZXPK5SS.js.map → chunk.KNHLFDM7.js.map} +0 -0
  302. /package/dist/chunks/{chunk.SM6ESSEP.js.map → chunk.L4CP6PPE.js.map} +0 -0
  303. /package/dist/chunks/{chunk.MMFNICFN.js.map → chunk.LHUK6COU.js.map} +0 -0
  304. /package/dist/chunks/{chunk.XIVDXQDS.js.map → chunk.LPRWR5XH.js.map} +0 -0
  305. /package/dist/chunks/{chunk.2XAU5NKA.js.map → chunk.M4ULZ7B7.js.map} +0 -0
  306. /package/dist/chunks/{chunk.A2AAVIZH.js.map → chunk.MBIFO2XO.js.map} +0 -0
  307. /package/dist/chunks/{chunk.BY464PPW.js.map → chunk.MLCOWC6S.js.map} +0 -0
  308. /package/dist/chunks/{chunk.TIGV5GKD.js.map → chunk.NDITJMAU.js.map} +0 -0
  309. /package/dist/chunks/{chunk.FPKHAZIQ.js.map → chunk.O4HVPE7C.js.map} +0 -0
  310. /package/dist/chunks/{chunk.MHAOZVG2.js.map → chunk.ORH4G4OK.js.map} +0 -0
  311. /package/dist/chunks/{chunk.7UYCJRLQ.js.map → chunk.OZWD5KU2.js.map} +0 -0
  312. /package/dist/chunks/{chunk.WOQBICEQ.js.map → chunk.PHTB756P.js.map} +0 -0
  313. /package/dist/chunks/{chunk.FIDRWRGO.js.map → chunk.Q27Z7MPU.js.map} +0 -0
  314. /package/dist/chunks/{chunk.3ZYVNRHO.js.map → chunk.Q5FWXJ5C.js.map} +0 -0
  315. /package/dist/chunks/{chunk.ZPTZW3EP.js.map → chunk.QF2K5FUK.js.map} +0 -0
  316. /package/dist/chunks/{chunk.23UPVKOR.js.map → chunk.R6PLNFHF.js.map} +0 -0
  317. /package/dist/chunks/{chunk.J4W3EDWX.js.map → chunk.RAMVZHC6.js.map} +0 -0
  318. /package/dist/chunks/{chunk.4AKAU6JH.js.map → chunk.SLCHOV5R.js.map} +0 -0
  319. /package/dist/chunks/{chunk.AWB6VLVD.js.map → chunk.SNCBIP3H.js.map} +0 -0
  320. /package/dist/chunks/{chunk.X7W3BQ7H.js.map → chunk.SYYJOIPP.js.map} +0 -0
  321. /package/dist/chunks/{chunk.7A4BI7K5.js.map → chunk.TA5XYGBC.js.map} +0 -0
  322. /package/dist/chunks/{chunk.YANK7ET6.js.map → chunk.TDR3LNUL.js.map} +0 -0
  323. /package/dist/chunks/{chunk.EC67LZMD.js.map → chunk.TOI37VZW.js.map} +0 -0
  324. /package/dist/chunks/{chunk.LYHM6EG6.js.map → chunk.U4ZYDVZJ.js.map} +0 -0
  325. /package/dist/chunks/{chunk.C2KIJDCF.js.map → chunk.UWUUIZBA.js.map} +0 -0
  326. /package/dist/chunks/{chunk.Q3563AYR.js.map → chunk.UWYZBI2G.js.map} +0 -0
  327. /package/dist/chunks/{chunk.OPLK26M2.js.map → chunk.VYZQ5Y5Q.js.map} +0 -0
  328. /package/dist/chunks/{chunk.5KDK2OIE.js.map → chunk.WM2KWZQF.js.map} +0 -0
  329. /package/dist/chunks/{chunk.CNJ6MEL7.js.map → chunk.WNPX6FIX.js.map} +0 -0
  330. /package/dist/chunks/{chunk.JLIL7FTT.js.map → chunk.WVZHBQS5.js.map} +0 -0
  331. /package/dist/chunks/{chunk.LDB6FQV4.js.map → chunk.XGAH6W2F.js.map} +0 -0
  332. /package/dist/chunks/{chunk.WEUYZ376.js.map → chunk.XNXKZDEC.js.map} +0 -0
  333. /package/dist/chunks/{chunk.PINMXY5S.js.map → chunk.XOMKTBTJ.js.map} +0 -0
  334. /package/dist/chunks/{chunk.PLSY3JHV.js.map → chunk.YBVB2YSB.js.map} +0 -0
  335. /package/dist/chunks/{chunk.2XJN5LTD.js.map → chunk.YFQBPHQQ.js.map} +0 -0
  336. /package/dist/chunks/{chunk.S3D6DR72.js.map → chunk.YT722J2Q.js.map} +0 -0
  337. /package/dist/chunks/{chunk.W2XEKBQP.js.map → chunk.ZRQDPDAC.js.map} +0 -0
  338. /package/dist/chunks/{chunk.NNUOLDSE.js.map → chunk.ZRUVYNCI.js.map} +0 -0
  339. /package/dist/chunks/{chunk.PDA6LMK5.js.map → chunk.ZSLMRR2F.js.map} +0 -0
  340. /package/dist/chunks/{chunk.5JJC6THY.js.map → chunk.ZVGIKLDN.js.map} +0 -0
@@ -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 { LocalizeController } from '../../utilities/localize.js';\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 private readonly localize = new LocalizeController(this);\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 or when the popup is inactive\n if (!this.anchorEl || !this.active) {\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.localize.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;AAErB,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,EAArD;AAAA;AAKE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAiBX,kBAAS;AAMxB,qBAYZ;AAMY,oBAAiC;AAGlC,oBAAW;AAGX,oBAAW;AAOV,iBAAQ;AAOO,0BAAwD;AAM5C,wBAAe;AAM1C,gBAAO;AAqBpC,kCAAyB;AAO0B,gCAA+C;AAU3C,uBAAc;AAGxC,iBAAQ;AAUmB,wBAAe;AAgBX,2BAAkB;AAQtB,uBAAc;AA0QtE,SAAQ,oBAAoB,MAAM;AAChC,UAAI,KAAK,eAAe,KAAK,UAAU;AACrC,cAAM,aAAa,KAAK,SAAS,sBAAsB;AACvD,cAAM,YAAY,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A,GApIjB,SAoImB;AAG1B;AAAA,EAAX,SAAS;AAAA,GAvIS,SAuIP;AAOgB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA9IP,SA8IS;AAGgC;AAAA,EAA3D,SAAS,EAAE,WAAW,qBAAqB,MAAM,OAAO,CAAC;AAAA,GAjJvC,SAiJyC;AAQJ;AAAA,EAAvD,SAAS,EAAE,WAAW,gBAAgB,MAAM,QAAQ,CAAC;AAAA,GAzJnC,SAyJqC;",
6
+ "names": []
7
+ }
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.JLOTHLIS.js";
15
+ } from "./chunk.LB6HDIPZ.js";
16
16
 
17
17
  // src/components/spinner/spinner.component.ts
18
18
  import { html } from "lit";
@@ -35,4 +35,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
35
35
  export {
36
36
  SynSpinner
37
37
  };
38
- //# sourceMappingURL=chunk.RKUVZPTY.js.map
38
+ //# sourceMappingURL=chunk.BPEZP3WP.js.map
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk.RAOPZXJL.js";
7
7
  import {
8
8
  SynDivider
9
- } from "./chunk.Q3563AYR.js";
9
+ } from "./chunk.UWYZBI2G.js";
10
10
  import {
11
11
  component_styles_default
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.JLOTHLIS.js";
15
+ } from "./chunk.LB6HDIPZ.js";
16
16
 
17
17
  // src/components/menu-label/menu-label.component.ts
18
18
  import { html } from "lit";
@@ -34,4 +34,4 @@ SynMenuLabel.dependencies = {
34
34
  export {
35
35
  SynMenuLabel
36
36
  };
37
- //# sourceMappingURL=chunk.7ZLBBN5K.js.map
37
+ //# sourceMappingURL=chunk.BQLRPCAA.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  SynSpinner
3
- } from "./chunk.RKUVZPTY.js";
3
+ } from "./chunk.BPEZP3WP.js";
4
4
  import {
5
5
  FormControlController,
6
6
  validValidityState
7
7
  } from "./chunk.AMIQC3O7.js";
8
8
  import {
9
9
  button_custom_styles_default
10
- } from "./chunk.42LDZR6F.js";
10
+ } from "./chunk.5EGFFSLN.js";
11
11
  import {
12
12
  button_styles_default
13
13
  } from "./chunk.5SQ7NVBX.js";
@@ -17,19 +17,19 @@ import {
17
17
  } from "./chunk.WVVQK5TE.js";
18
18
  import {
19
19
  SynIcon
20
- } from "./chunk.NDMTEREV.js";
21
- import {
22
- LocalizeController
23
- } from "./chunk.GIU3H3J3.js";
20
+ } from "./chunk.KKIDHUOP.js";
24
21
  import {
25
22
  watch
26
23
  } from "./chunk.74IOULXM.js";
24
+ import {
25
+ LocalizeController
26
+ } from "./chunk.GIU3H3J3.js";
27
27
  import {
28
28
  component_styles_default
29
29
  } from "./chunk.NLYVOJGK.js";
30
30
  import {
31
31
  SynergyElement
32
- } from "./chunk.JLOTHLIS.js";
32
+ } from "./chunk.LB6HDIPZ.js";
33
33
  import {
34
34
  __decorateClass
35
35
  } from "./chunk.2GFK6XTO.js";
@@ -289,4 +289,4 @@ __decorateClass([
289
289
  export {
290
290
  SynButton
291
291
  };
292
- //# sourceMappingURL=chunk.BJD47ZTY.js.map
292
+ //# sourceMappingURL=chunk.BS63LJFI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCard
3
- } from "./chunk.JLIL7FTT.js";
3
+ } from "./chunk.WVZHBQS5.js";
4
4
 
5
5
  // src/components/card/card.ts
6
6
  var card_default = SynCard;
@@ -9,4 +9,4 @@ SynCard.define("syn-card");
9
9
  export {
10
10
  card_default
11
11
  };
12
- //# sourceMappingURL=chunk.FL5FOPUJ.js.map
12
+ //# sourceMappingURL=chunk.BSWTMFN2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadio
3
- } from "./chunk.WNPWVX2J.js";
3
+ } from "./chunk.A4ZY6QII.js";
4
4
 
5
5
  // src/components/radio/radio.ts
6
6
  var radio_default = SynRadio;
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
9
9
  export {
10
10
  radio_default
11
11
  };
12
- //# sourceMappingURL=chunk.DE5S6MFL.js.map
12
+ //# sourceMappingURL=chunk.CCQ56RFM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDrawer
3
- } from "./chunk.OITO4SFA.js";
3
+ } from "./chunk.D7A4ZGPT.js";
4
4
 
5
5
  // src/components/drawer/drawer.ts
6
6
  var drawer_default = SynDrawer;
@@ -9,4 +9,4 @@ SynDrawer.define("syn-drawer");
9
9
  export {
10
10
  drawer_default
11
11
  };
12
- //# sourceMappingURL=chunk.3CUFSBFH.js.map
12
+ //# sourceMappingURL=chunk.CHIUNJAA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynergyElement
3
- } from "./chunk.JLOTHLIS.js";
3
+ } from "./chunk.LB6HDIPZ.js";
4
4
 
5
5
  // src/components/validate/utility.ts
6
6
  var WhitelistedSynergyFormEventNames = [
@@ -33,4 +33,4 @@ export {
33
33
  normalizeEventAttribute,
34
34
  getEventNameForElement
35
35
  };
36
- //# sourceMappingURL=chunk.DZXBGNLA.js.map
36
+ //# sourceMappingURL=chunk.CJNT4TRJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAccordion
3
- } from "./chunk.7A4BI7K5.js";
3
+ } from "./chunk.TA5XYGBC.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.LX4W2I3C.js.map
12
+ //# sourceMappingURL=chunk.CUGJ2WHE.js.map
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  header_styles_default
3
- } from "./chunk.GVNVZMMM.js";
3
+ } from "./chunk.66LQF6IO.js";
4
4
  import {
5
5
  icon_default
6
- } from "./chunk.A2AAVIZH.js";
6
+ } from "./chunk.MBIFO2XO.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
10
- import {
11
- LocalizeController
12
- } from "./chunk.GIU3H3J3.js";
13
10
  import {
14
11
  watch
15
12
  } from "./chunk.74IOULXM.js";
13
+ import {
14
+ LocalizeController
15
+ } from "./chunk.GIU3H3J3.js";
16
16
  import {
17
17
  component_styles_default
18
18
  } from "./chunk.NLYVOJGK.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.JLOTHLIS.js";
21
+ } from "./chunk.LB6HDIPZ.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.2GFK6XTO.js";
@@ -182,4 +182,4 @@ __decorateClass([
182
182
  export {
183
183
  SynHeader
184
184
  };
185
- //# sourceMappingURL=chunk.AWZ53TFO.js.map
185
+ //# sourceMappingURL=chunk.D2TE64F3.js.map
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk.5732DMBC.js";
14
14
  import {
15
15
  SynIconButton
16
- } from "./chunk.54QNG2H2.js";
16
+ } from "./chunk.I6IT6CZR.js";
17
17
  import {
18
18
  waitForEvent
19
19
  } from "./chunk.C2ENQBPM.js";
@@ -28,18 +28,18 @@ import {
28
28
  import {
29
29
  HasSlotController
30
30
  } from "./chunk.WVVQK5TE.js";
31
- import {
32
- LocalizeController
33
- } from "./chunk.GIU3H3J3.js";
34
31
  import {
35
32
  watch
36
33
  } from "./chunk.74IOULXM.js";
34
+ import {
35
+ LocalizeController
36
+ } from "./chunk.GIU3H3J3.js";
37
37
  import {
38
38
  component_styles_default
39
39
  } from "./chunk.NLYVOJGK.js";
40
40
  import {
41
41
  SynergyElement
42
- } from "./chunk.JLOTHLIS.js";
42
+ } from "./chunk.LB6HDIPZ.js";
43
43
  import {
44
44
  __decorateClass
45
45
  } from "./chunk.2GFK6XTO.js";
@@ -88,10 +88,9 @@ var SynDrawer = class extends SynergyElement {
88
88
  }
89
89
  }
90
90
  disconnectedCallback() {
91
- var _a;
92
91
  super.disconnectedCallback();
93
92
  unlockBodyScrolling(this);
94
- (_a = this.closeWatcher) == null ? void 0 : _a.destroy();
93
+ this.removeOpenListeners();
95
94
  }
96
95
  requestClose(source) {
97
96
  const slRequestClose = this.emit("syn-request-close", {
@@ -395,4 +394,4 @@ setDefaultAnimation("drawer.overlay.hide", {
395
394
  export {
396
395
  SynDrawer
397
396
  };
398
- //# sourceMappingURL=chunk.OITO4SFA.js.map
397
+ //# sourceMappingURL=chunk.D7A4ZGPT.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/drawer/drawer.component.ts", "../../src/internal/string.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 { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { uppercaseFirstLetter } from '../../internal/string.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './drawer.styles.js';\nimport customStyles from './drawer.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Drawers slide in from a container to expose additional options and information.\n * @documentation https://synergy.style/components/drawer\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The drawer's main content.\n * @slot label - The drawer's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the drawer opens.\n * @event syn-after-show - Emitted after the drawer opens and all animations are complete.\n * @event syn-hide - Emitted when the drawer closes.\n * @event syn-after-hide - Emitted after the drawer closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the drawer opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the drawer.\n * @csspart panel - The drawer's panel (where the drawer and its content are rendered).\n * @csspart header - The drawer's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The drawer's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The drawer's body.\n * @csspart footer - The drawer's footer.\n *\n * @cssproperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height\n * depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.\n * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.\n * @animation drawer.showBottom - The animation to use when showing a drawer with `bottom` placement.\n * @animation drawer.showStart - The animation to use when showing a drawer with `start` placement.\n * @animation drawer.hideTop - The animation to use when hiding a drawer with `top` placement.\n * @animation drawer.hideEnd - The animation to use when hiding a drawer with `end` placement.\n * @animation drawer.hideBottom - The animation to use when hiding a drawer with `bottom` placement.\n * @animation drawer.hideStart - The animation to use when hiding a drawer with `start` placement.\n * @animation drawer.denyClose - The animation to use when a request to close the drawer is denied.\n * @animation drawer.overlay.show - The animation to use when showing the drawer's overlay.\n * @animation drawer.overlay.hide - The animation to use when hiding the drawer's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDrawer extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.drawer') drawer: HTMLElement;\n @query('.drawer__panel') panel: HTMLElement;\n @query('.drawer__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /** The direction from which the drawer will open. */\n @property({ reflect: true }) placement: 'top' | 'end' | 'bottom' | 'start' = 'end';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this attribute and add `position: relative` to the parent.\n */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.drawer.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unlockBodyScrolling(this);\n this.removeOpenListeners();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'drawer.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n if (!this.contained) {\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n }\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n this.closeWatcher?.destroy();\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Contained drawers aren't modal and don't response to the escape key\n if (this.contained) {\n return;\n }\n\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopImmediatePropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n // When the drawer is shown, Safari will attempt to set focus on whatever element has autofocus. This causes the\n // drawer's animation to jitter, so we'll temporarily remove the attribute, call `focus({ preventScroll: true })`\n // ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n this.drawer.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, `drawer.show${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n if (!this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, `drawer.hide${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.drawer.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('contained', { waitUntilFirstUpdate: true })\n handleNoModalChange() {\n if (this.open && !this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n if (this.open && this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n }\n\n /** Shows the drawer. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the drawer */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--top': this.placement === 'top',\n 'drawer--end': this.placement === 'end',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--start': this.placement === 'start',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--rtl': this.localize.dir() === 'rtl',\n 'drawer--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"0\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"drawer__header\">\n <h2 part=\"title\" class=\"drawer__title\" id=\"title\">\n <!-- If there's no label, use an invisible character to prevent the header from collapsing -->\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"drawer__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"drawer__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=${() => this.requestClose('close-button')}\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n\n <slot part=\"body\" class=\"drawer__body\"></slot>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\n// Top\nsetDefaultAnimation('drawer.showTop', {\n keyframes: [\n { opacity: 0, translate: '0 -100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideTop', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 -100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// End\nsetDefaultAnimation('drawer.showEnd', {\n keyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideEnd', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Bottom\nsetDefaultAnimation('drawer.showBottom', {\n keyframes: [\n { opacity: 0, translate: '0 100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideBottom', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Start\nsetDefaultAnimation('drawer.showStart', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideStart', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Deny close\nsetDefaultAnimation('drawer.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\n// Overlay\nsetDefaultAnimation('drawer.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('drawer.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\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 */\n/** Converts the first letter of a string to uppercase */\nexport function uppercaseFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;;;ACPzB,SAAS,qBAAqB,QAAgB;AACnD,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;;;AD0EA,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAIE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ;AACzE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAEvD,SAAO,QAAQ,IA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A,EAC/B;AAAA,EACA,cAAc;AAAA,IACZ,EAAE,SAAS,GAAG,WAAW,OAAO;AAAA,IAChC,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,EAC/B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,EACnC;AAAA,EACA,cAAc;AAAA,IACZ,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,OAAO;AAAA,EAClC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,oBAAoB;AAAA,EACtC,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,GAAG,EAAE,OAAO,EAAE,CAAC;AAAA,EACvD,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAGD,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
6
+ "names": []
7
+ }
@@ -1,9 +1,3 @@
1
- import {
2
- badge_custom_styles_default
3
- } from "./chunk.WQJRBFZA.js";
4
- import {
5
- badge_styles_default
6
- } from "./chunk.Y5TMYX2L.js";
7
1
  import {
8
2
  LocalizeController
9
3
  } from "./chunk.GIU3H3J3.js";
@@ -12,7 +6,13 @@ import {
12
6
  } from "./chunk.NLYVOJGK.js";
13
7
  import {
14
8
  SynergyElement
15
- } from "./chunk.JLOTHLIS.js";
9
+ } from "./chunk.LB6HDIPZ.js";
10
+ import {
11
+ badge_custom_styles_default
12
+ } from "./chunk.J6CGTLVH.js";
13
+ import {
14
+ badge_styles_default
15
+ } from "./chunk.Y5TMYX2L.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -60,4 +60,4 @@ __decorateClass([
60
60
  export {
61
61
  SynBadge
62
62
  };
63
- //# sourceMappingURL=chunk.7GGSI2YZ.js.map
63
+ //# sourceMappingURL=chunk.DOSBG7MN.js.map
@@ -23,9 +23,15 @@ var menu_item_custom_styles_default = css`
23
23
  */
24
24
  .menu-item .menu-item__prefix::slotted(syn-icon),
25
25
  .menu-item .menu-item__suffix::slotted(syn-icon) {
26
+ color: var(--syn-color-neutral-800);
26
27
  font-size: var(--syn-font-size-x-large);
27
28
  }
28
29
 
30
+ :host(:focus-visible) .menu-item .menu-item__prefix::slotted(syn-icon),
31
+ :host(:focus-visible) .menu-item .menu-item__suffix::slotted(syn-icon) {
32
+ color: var(--syn-color-neutral-0);
33
+ }
34
+
29
35
  /**
30
36
  * Adjust the size of icons
31
37
  */
@@ -108,4 +114,4 @@ var menu_item_custom_styles_default = css`
108
114
  export {
109
115
  menu_item_custom_styles_default
110
116
  };
111
- //# sourceMappingURL=chunk.OOABXWCW.js.map
117
+ //# sourceMappingURL=chunk.E7AZZSVA.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/menu-item/menu-item.custom.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .menu-item {\n color: var(--syn-typography-color-text);\n font-size: var(--syn-font-size-medium);\n padding: var(--syn-spacing-small) var(--syn-spacing-medium);\n }\n\n /**\n * Handling for slotted prefix and suffix\n */\n .menu-item .menu-item__prefix::slotted(*) {\n margin-inline-end: var(--syn-spacing-small);\n }\n\n .menu-item .menu-item__suffix::slotted(*) {\n margin-inline-start: var(--syn-spacing-small);\n }\n\n /**\n * Set the default font size to make icons appear correct\n */\n .menu-item .menu-item__prefix::slotted(syn-icon),\n .menu-item .menu-item__suffix::slotted(syn-icon) {\n color: var(--syn-color-neutral-800);\n font-size: var(--syn-font-size-x-large);\n }\n\n :host(:focus-visible) .menu-item .menu-item__prefix::slotted(syn-icon),\n :host(:focus-visible) .menu-item .menu-item__suffix::slotted(syn-icon) {\n color: var(--syn-color-neutral-0);\n }\n\n /**\n * Adjust the size of icons\n */\n .menu-item .menu-item__chevron,\n .menu-item .menu-item__check {\n font-size: var(--syn-font-size-x-large);\n width: var(--syn-font-size-x-large);\n }\n\n /**\n * This makes sure the chevron does not take any space if we do not have children\n */\n .menu-item .menu-item__chevron {\n display: none;\n margin-inline-start: var(--syn-spacing-small);\n }\n\n .menu-item .menu-item__check {\n color: var(--syn-color-primary-600);\n margin-inline-end: var(--syn-spacing-small);\n }\n\n /**\n * When in loading state, do not show the checkmark as it would bleed through\n */\n .menu-item--loading .menu-item__check {\n visibility: hidden;\n }\n\n /**\n * Make sure the checkbox is also visible when the item is active\n */\n :host(:focus-visible) .menu-item--checked .menu-item__check {\n color: var(--syn-color-neutral-0);\n }\n\n /**\n * Special handling for the submenu chevron:\n * We are using the \"chevron-down\" icon per default as\n * we do not want all chevrons to be part of the bundle\n * Therefore, we have to transform it into the right direction\n */\n .menu-item .menu-item__chevron syn-icon {\n transform: rotate(-90deg);\n }\n\n .menu-item--rtl .menu-item__chevron syn-icon {\n transform: rotate(90deg);\n }\n\n /**\n * Make sure to show the chevron if there are children\n */\n .menu-item--has-submenu .menu-item__chevron {\n display: flex;\n }\n\n /**\n * Adjustments for the spinner in loading state\n */\n .menu-item--loading syn-spinner {\n --indicator-color: currentColor;\n --track-width: 2px;\n\n font-size: var(--syn-font-size-medium);\n left: var(--syn-spacing-medium);\n opacity: 1;\n position: absolute;\n top: calc(50% - 0.5em);\n }\n\n /**\n * Highlight checked items\n */\n .menu-item--checked .menu-item__label {\n font-weight: var(--syn-font-weight-semibold);\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,kCAAQ;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
  SynSideNav
3
- } from "./chunk.23UPVKOR.js";
3
+ } from "./chunk.R6PLNFHF.js";
4
4
 
5
5
  // src/components/side-nav/side-nav.ts
6
6
  var side_nav_default = SynSideNav;
@@ -9,4 +9,4 @@ SynSideNav.define("syn-side-nav");
9
9
  export {
10
10
  side_nav_default
11
11
  };
12
- //# sourceMappingURL=chunk.FTICDBQ2.js.map
12
+ //# sourceMappingURL=chunk.EASMPKTG.js.map
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk.IKZOQ7AE.js";
4
4
  import {
5
5
  defaultValue
6
- } from "./chunk.RBG37CD4.js";
6
+ } from "./chunk.3NXKLKWH.js";
7
7
  import {
8
8
  form_control_custom_styles_default,
9
9
  form_control_styles_default
10
10
  } from "./chunk.FKKJBKYL.js";
11
11
  import {
12
12
  SynButton
13
- } from "./chunk.BJD47ZTY.js";
13
+ } from "./chunk.BS63LJFI.js";
14
14
  import {
15
15
  FormControlController
16
16
  } from "./chunk.AMIQC3O7.js";
@@ -26,19 +26,19 @@ import {
26
26
  } from "./chunk.WVVQK5TE.js";
27
27
  import {
28
28
  SynIcon
29
- } from "./chunk.NDMTEREV.js";
30
- import {
31
- LocalizeController
32
- } from "./chunk.GIU3H3J3.js";
29
+ } from "./chunk.KKIDHUOP.js";
33
30
  import {
34
31
  watch
35
32
  } from "./chunk.74IOULXM.js";
33
+ import {
34
+ LocalizeController
35
+ } from "./chunk.GIU3H3J3.js";
36
36
  import {
37
37
  component_styles_default
38
38
  } from "./chunk.NLYVOJGK.js";
39
39
  import {
40
40
  SynergyElement
41
- } from "./chunk.JLOTHLIS.js";
41
+ } from "./chunk.LB6HDIPZ.js";
42
42
  import {
43
43
  __decorateClass
44
44
  } from "./chunk.2GFK6XTO.js";
@@ -528,4 +528,4 @@ setDefaultAnimation("file.text.appear", {
528
528
  export {
529
529
  SynFile
530
530
  };
531
- //# sourceMappingURL=chunk.LH4ILF4B.js.map
531
+ //# sourceMappingURL=chunk.EZJD2GUY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.XIVDXQDS.js";
3
+ } from "./chunk.LPRWR5XH.js";
4
4
 
5
5
  // src/components/tag/tag.ts
6
6
  var tag_default = SynTag;
@@ -9,4 +9,4 @@ SynTag.define("syn-tag");
9
9
  export {
10
10
  tag_default
11
11
  };
12
- //# sourceMappingURL=chunk.WN2EH7JI.js.map
12
+ //# sourceMappingURL=chunk.FJ6R3VJZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.5KDK2OIE.js";
3
+ } from "./chunk.WM2KWZQF.js";
4
4
 
5
5
  // src/components/checkbox/checkbox.ts
6
6
  var checkbox_default = SynCheckbox;
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
9
9
  export {
10
10
  checkbox_default
11
11
  };
12
- //# sourceMappingURL=chunk.6GVTLK7A.js.map
12
+ //# sourceMappingURL=chunk.FU4AFJ2U.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynNavItem
3
- } from "./chunk.FIDRWRGO.js";
3
+ } from "./chunk.Q27Z7MPU.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.SNMJ7SOE.js.map
12
+ //# sourceMappingURL=chunk.G2ZSWWS6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynInput
3
- } from "./chunk.PINMXY5S.js";
3
+ } from "./chunk.XOMKTBTJ.js";
4
4
 
5
5
  // src/components/input/input.ts
6
6
  var input_default = SynInput;
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
9
9
  export {
10
10
  input_default
11
11
  };
12
- //# sourceMappingURL=chunk.BYGUEXUD.js.map
12
+ //# sourceMappingURL=chunk.G6YW3R3W.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCombobox
3
- } from "./chunk.WXG5ZPJT.js";
3
+ } from "./chunk.B7JCEZZK.js";
4
4
 
5
5
  // src/components/combobox/combobox.ts
6
6
  var combobox_default = SynCombobox;
@@ -9,4 +9,4 @@ SynCombobox.define("syn-combobox");
9
9
  export {
10
10
  combobox_default
11
11
  };
12
- //# sourceMappingURL=chunk.RVORADA6.js.map
12
+ //# sourceMappingURL=chunk.HU2NICBI.js.map
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk.DZ7YIR5N.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.NDMTEREV.js";
9
+ } from "./chunk.KKIDHUOP.js";
10
10
  import {
11
11
  component_styles_default
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.JLOTHLIS.js";
15
+ } from "./chunk.LB6HDIPZ.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -138,4 +138,4 @@ __decorateClass([
138
138
  export {
139
139
  SynIconButton
140
140
  };
141
- //# sourceMappingURL=chunk.54QNG2H2.js.map
141
+ //# sourceMappingURL=chunk.I6IT6CZR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTabPanel
3
- } from "./chunk.WMGRMHUP.js";
3
+ } from "./chunk.5JK5C3NG.js";
4
4
 
5
5
  // src/components/tab-panel/tab-panel.ts
6
6
  var tab_panel_default = SynTabPanel;
@@ -9,4 +9,4 @@ SynTabPanel.define("syn-tab-panel");
9
9
  export {
10
10
  tab_panel_default
11
11
  };
12
- //# sourceMappingURL=chunk.6S6YN2FC.js.map
12
+ //# sourceMappingURL=chunk.I7SRS2KN.js.map