@synergy-design-system/components 2.14.2 → 2.14.3

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 (312) hide show
  1. package/dist/chunks/{chunk.LX4W2I3C.js → chunk.25JUHBIK.js} +2 -2
  2. package/dist/chunks/{chunk.WEUYZ376.js → chunk.2DL4ZSBS.js} +2 -2
  3. package/dist/chunks/{chunk.GVWMRSBR.js → chunk.2M3OO2G6.js} +2 -2
  4. package/dist/chunks/{chunk.AWB6VLVD.js → chunk.2N4CXWJR.js} +2 -2
  5. package/dist/chunks/{chunk.PDA6LMK5.js → chunk.2VEV27HT.js} +3 -3
  6. package/dist/chunks/{chunk.EPAIRZ2S.js → chunk.2XKMEGGX.js} +15 -12
  7. package/dist/chunks/chunk.2XKMEGGX.js.map +7 -0
  8. package/dist/chunks/{chunk.NI2QWG2P.js → chunk.32AK63SX.js} +2 -2
  9. package/dist/chunks/{chunk.DZXBGNLA.js → chunk.3GAK3HCW.js} +2 -2
  10. package/dist/chunks/{chunk.7UYCJRLQ.js → chunk.3N54OV6X.js} +2 -2
  11. package/dist/chunks/{chunk.RBG37CD4.js → chunk.3NXKLKWH.js} +1 -1
  12. package/dist/chunks/{chunk.RBG37CD4.js.map → chunk.3NXKLKWH.js.map} +2 -2
  13. package/dist/chunks/{chunk.5A4O3QQH.js → chunk.3RQCHNTE.js} +2 -2
  14. package/dist/chunks/{chunk.LDB6FQV4.js → chunk.3T4PKXLZ.js} +3 -3
  15. package/dist/chunks/{chunk.EO557Q73.js → chunk.3V3Z552X.js} +2 -2
  16. package/dist/chunks/{chunk.BBUFEDXF.js → chunk.43YNZAWL.js} +2 -5
  17. package/dist/chunks/{chunk.BBUFEDXF.js.map → chunk.43YNZAWL.js.map} +2 -2
  18. package/dist/chunks/{chunk.EC67LZMD.js → chunk.4ZCQXFO7.js} +2 -2
  19. package/dist/chunks/{chunk.RJPNUQYL.js → chunk.5JWKXQDN.js} +44 -19
  20. package/dist/chunks/chunk.5JWKXQDN.js.map +7 -0
  21. package/dist/chunks/{chunk.SXTCOCUZ.js → chunk.6DCZLSTP.js} +3 -3
  22. package/dist/chunks/{chunk.LG56XO76.js → chunk.6EVVIDQZ.js} +3 -3
  23. package/dist/chunks/chunk.6EVVIDQZ.js.map +7 -0
  24. package/dist/chunks/{chunk.DE5S6MFL.js → chunk.7MCSBLOW.js} +2 -2
  25. package/dist/chunks/{chunk.PLSY3JHV.js → chunk.7WHIEYGK.js} +2 -2
  26. package/dist/chunks/{chunk.C2KIJDCF.js → chunk.A2FQFTFB.js} +2 -2
  27. package/dist/chunks/{chunk.WN2EH7JI.js → chunk.A7DYRCSL.js} +2 -2
  28. package/dist/chunks/{chunk.I7OSOLEF.js → chunk.ADQX5OKP.js} +2 -2
  29. package/dist/chunks/{chunk.NNUOLDSE.js → chunk.AGXEODV2.js} +4 -4
  30. package/dist/chunks/{chunk.WNPWVX2J.js → chunk.BMXPNWDD.js} +3 -3
  31. package/dist/chunks/{chunk.VTWPMOGZ.js → chunk.CDQY5ANT.js} +2 -2
  32. package/dist/chunks/{chunk.WMGRMHUP.js → chunk.CJVTIJGE.js} +2 -2
  33. package/dist/chunks/{chunk.4AKAU6JH.js → chunk.D6D5IFPL.js} +3 -3
  34. package/dist/chunks/{chunk.FL5FOPUJ.js → chunk.DOU546A6.js} +2 -2
  35. package/dist/chunks/{chunk.PINMXY5S.js → chunk.DQC3S32H.js} +5 -5
  36. package/dist/chunks/{chunk.OITO4SFA.js → chunk.DYZDTSNX.js} +4 -5
  37. package/dist/chunks/chunk.DYZDTSNX.js.map +7 -0
  38. package/dist/chunks/{chunk.JLOTHLIS.js → chunk.EBE3CGKL.js} +2 -2
  39. package/dist/chunks/{chunk.JLOTHLIS.js.map → chunk.EBE3CGKL.js.map} +1 -1
  40. package/dist/chunks/{chunk.XCMHU4ZI.js → chunk.EFEGWSPA.js} +2 -2
  41. package/dist/chunks/{chunk.TIGV5GKD.js → chunk.EHHULBSP.js} +4 -4
  42. package/dist/chunks/{chunk.7ZLBBN5K.js → chunk.FAM3ZB47.js} +3 -3
  43. package/dist/chunks/{chunk.LWY7MY2Y.js → chunk.FN76TNJJ.js} +2 -2
  44. package/dist/chunks/{chunk.LYHM6EG6.js → chunk.FWM3I5X4.js} +2 -2
  45. package/dist/chunks/{chunk.WXG5ZPJT.js → chunk.GLQI4HLD.js} +7 -6
  46. package/dist/chunks/{chunk.WXG5ZPJT.js.map → chunk.GLQI4HLD.js.map} +2 -2
  47. package/dist/chunks/{chunk.QSBFFMWA.js → chunk.GOFLVOUS.js} +2 -2
  48. package/dist/chunks/{chunk.P3XHTK56.js → chunk.GWRO6ZDZ.js} +4 -4
  49. package/dist/chunks/chunk.GWRO6ZDZ.js.map +7 -0
  50. package/dist/chunks/{chunk.BCCIUGZ2.js → chunk.HCJMC4IT.js} +2 -2
  51. package/dist/chunks/{chunk.NS3IYR55.js → chunk.HEFW5DOH.js} +2 -2
  52. package/dist/chunks/{chunk.J4W3EDWX.js → chunk.I4STIUVP.js} +2 -2
  53. package/dist/chunks/{chunk.7A4BI7K5.js → chunk.I5N5WFJU.js} +2 -2
  54. package/dist/chunks/{chunk.MHAOZVG2.js → chunk.ILCJZFQK.js} +3 -3
  55. package/dist/chunks/{chunk.IZEADTY5.js → chunk.IZ72PTZ7.js} +1 -10
  56. package/dist/chunks/{chunk.IZEADTY5.js.map → chunk.IZ72PTZ7.js.map} +2 -2
  57. package/dist/chunks/{chunk.JLIL7FTT.js → chunk.K5BSQPSN.js} +2 -2
  58. package/dist/chunks/{chunk.54QNG2H2.js → chunk.K5PXELDD.js} +3 -3
  59. package/dist/chunks/{chunk.SNMJ7SOE.js → chunk.KX3ATDPK.js} +2 -2
  60. package/dist/chunks/{chunk.FTICDBQ2.js → chunk.LNBMB3DI.js} +2 -2
  61. package/dist/chunks/{chunk.S3D6DR72.js → chunk.LR3QOC2S.js} +3 -3
  62. package/dist/chunks/{chunk.HT6XMYAL.js → chunk.M5NJMQBQ.js} +3 -3
  63. package/dist/chunks/{chunk.722JM5YD.js → chunk.M7ICWWDM.js} +2 -2
  64. package/dist/chunks/{chunk.TDXBTAZT.js → chunk.MCTYU5HS.js} +4 -5
  65. package/dist/chunks/chunk.MCTYU5HS.js.map +7 -0
  66. package/dist/chunks/{chunk.A4OEHOEC.js → chunk.MGMIX6DT.js} +2 -2
  67. package/dist/chunks/{chunk.RKUVZPTY.js → chunk.MTPLSXES.js} +2 -2
  68. package/dist/chunks/{chunk.FIDRWRGO.js → chunk.NCQXRLJC.js} +3 -3
  69. package/dist/chunks/{chunk.SM6ESSEP.js → chunk.NPQAP7F6.js} +2 -2
  70. package/dist/chunks/{chunk.W2XEKBQP.js → chunk.O2XUYEBK.js} +2 -2
  71. package/dist/chunks/{chunk.CV6BFKRF.js → chunk.O7YNDGZN.js} +6 -6
  72. package/dist/chunks/{chunk.XIVDXQDS.js → chunk.P5CBQNOP.js} +3 -3
  73. package/dist/chunks/{chunk.WOQBICEQ.js → chunk.PDN2VYR2.js} +2 -2
  74. package/dist/chunks/{chunk.5KDK2OIE.js → chunk.PEQB7YJD.js} +4 -4
  75. package/dist/chunks/{chunk.23UPVKOR.js → chunk.PFCFF54R.js} +4 -4
  76. package/dist/chunks/{chunk.RVORADA6.js → chunk.PONNA4YL.js} +2 -2
  77. package/dist/chunks/{chunk.3ZXPK5SS.js → chunk.QS7HRCHA.js} +4 -4
  78. package/dist/chunks/{chunk.6S6YN2FC.js → chunk.QUXICFJL.js} +2 -2
  79. package/dist/chunks/{chunk.Q3563AYR.js → chunk.QZRLHN6I.js} +2 -2
  80. package/dist/chunks/{chunk.BJD47ZTY.js → chunk.R22XUKGQ.js} +4 -4
  81. package/dist/chunks/{chunk.5JJC6THY.js → chunk.RXG5TZNY.js} +6 -6
  82. package/dist/chunks/{chunk.AWZ53TFO.js → chunk.SCT7M3OI.js} +3 -3
  83. package/dist/chunks/{chunk.OXP7XEFB.js → chunk.SF4OPBS6.js} +3 -3
  84. package/dist/chunks/{chunk.OGYZFRUS.js → chunk.SFCABZYW.js} +2 -2
  85. package/dist/chunks/{chunk.BYGUEXUD.js → chunk.SNVEQ432.js} +2 -2
  86. package/dist/chunks/{chunk.X7W3BQ7H.js → chunk.SPAJDYL5.js} +2 -2
  87. package/dist/chunks/{chunk.BY464PPW.js → chunk.STSKJPGL.js} +2 -2
  88. package/dist/chunks/{chunk.2XAU5NKA.js → chunk.T5ZAWJVF.js} +2 -2
  89. package/dist/chunks/{chunk.U7CBHMLC.js → chunk.TXKD5X4O.js} +2 -2
  90. package/dist/chunks/{chunk.NDMTEREV.js → chunk.UAK6WG4U.js} +2 -2
  91. package/dist/chunks/{chunk.FQNCDTE2.js → chunk.UQRQF6V7.js} +2 -2
  92. package/dist/chunks/{chunk.LH4ILF4B.js → chunk.UVT3K4BL.js} +5 -5
  93. package/dist/chunks/{chunk.A2AAVIZH.js → chunk.V3YTSDOG.js} +2 -2
  94. package/dist/chunks/{chunk.FUHFSQEX.js → chunk.V4HPWQE7.js} +1 -1
  95. package/dist/chunks/{chunk.FUHFSQEX.js.map → chunk.V4HPWQE7.js.map} +2 -2
  96. package/dist/chunks/{chunk.OPLK26M2.js → chunk.VLLUDIS7.js} +2 -2
  97. package/dist/chunks/{chunk.FWCRRX53.js → chunk.VN3RRCSO.js} +2 -2
  98. package/dist/chunks/{chunk.FPKHAZIQ.js → chunk.VRYQ7MKQ.js} +2 -2
  99. package/dist/chunks/{chunk.CNJ6MEL7.js → chunk.WNUD4VDX.js} +2 -2
  100. package/dist/chunks/{chunk.HJAPRROW.js → chunk.WQXCL54U.js} +2 -2
  101. package/dist/chunks/{chunk.7GGSI2YZ.js → chunk.XC2GLKQM.js} +2 -2
  102. package/dist/chunks/{chunk.2XJN5LTD.js → chunk.XQPM6V3Y.js} +2 -2
  103. package/dist/chunks/{chunk.ZPTZW3EP.js → chunk.XSTUKBIN.js} +2 -2
  104. package/dist/chunks/{chunk.MJEJKJER.js → chunk.XTWO6ZZW.js} +6 -6
  105. package/dist/chunks/{chunk.MJEJKJER.js.map → chunk.XTWO6ZZW.js.map} +1 -1
  106. package/dist/chunks/{chunk.RK6FVLPL.js → chunk.XYAH4IO5.js} +2 -2
  107. package/dist/chunks/{chunk.MMFNICFN.js → chunk.YHDODK3T.js} +2 -2
  108. package/dist/chunks/{chunk.6GVTLK7A.js → chunk.YMCR3GIU.js} +2 -2
  109. package/dist/chunks/{chunk.G7P2A2YS.js → chunk.YVIQ2WAT.js} +2 -2
  110. package/dist/chunks/{chunk.3CUFSBFH.js → chunk.ZA3WJ6M5.js} +2 -2
  111. package/dist/chunks/{chunk.3ZYVNRHO.js → chunk.ZLBGUUHH.js} +2 -2
  112. package/dist/chunks/{chunk.YANK7ET6.js → chunk.ZPT2C54J.js} +2 -2
  113. package/dist/chunks/{chunk.RSI6VMEX.js → chunk.ZVXLBYON.js} +4 -4
  114. package/dist/components/accordion/accordion.component.js +2 -2
  115. package/dist/components/accordion/accordion.js +3 -3
  116. package/dist/components/alert/alert.component.js +4 -4
  117. package/dist/components/alert/alert.js +5 -5
  118. package/dist/components/badge/badge.component.js +2 -2
  119. package/dist/components/badge/badge.js +3 -3
  120. package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
  121. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  122. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  123. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  124. package/dist/components/button/button.component.js +4 -4
  125. package/dist/components/button/button.js +5 -5
  126. package/dist/components/button-group/button-group.component.js +2 -2
  127. package/dist/components/button-group/button-group.js +3 -3
  128. package/dist/components/card/card.component.js +2 -2
  129. package/dist/components/card/card.js +3 -3
  130. package/dist/components/checkbox/checkbox.component.js +4 -4
  131. package/dist/components/checkbox/checkbox.js +5 -5
  132. package/dist/components/combobox/combobox.component.d.ts +1 -1
  133. package/dist/components/combobox/combobox.component.js +6 -6
  134. package/dist/components/combobox/combobox.js +7 -7
  135. package/dist/components/combobox/combobox.styles.js +1 -1
  136. package/dist/components/details/details.component.js +3 -3
  137. package/dist/components/details/details.js +4 -4
  138. package/dist/components/dialog/dialog.component.js +4 -4
  139. package/dist/components/dialog/dialog.js +5 -5
  140. package/dist/components/divider/divider.component.js +2 -2
  141. package/dist/components/divider/divider.js +3 -3
  142. package/dist/components/drawer/drawer.component.js +4 -4
  143. package/dist/components/drawer/drawer.js +5 -5
  144. package/dist/components/dropdown/dropdown.component.js +3 -3
  145. package/dist/components/dropdown/dropdown.js +4 -4
  146. package/dist/components/file/file.component.js +6 -6
  147. package/dist/components/file/file.js +7 -7
  148. package/dist/components/header/header.component.js +4 -4
  149. package/dist/components/header/header.js +5 -5
  150. package/dist/components/icon/icon.component.js +2 -2
  151. package/dist/components/icon/icon.js +3 -3
  152. package/dist/components/icon-button/icon-button.component.js +3 -3
  153. package/dist/components/icon-button/icon-button.js +4 -4
  154. package/dist/components/input/input.component.js +5 -5
  155. package/dist/components/input/input.js +6 -6
  156. package/dist/components/menu/menu.component.js +2 -2
  157. package/dist/components/menu/menu.js +3 -3
  158. package/dist/components/menu-item/menu-item.component.js +6 -6
  159. package/dist/components/menu-item/menu-item.js +7 -7
  160. package/dist/components/menu-item/submenu-controller.js +1 -1
  161. package/dist/components/menu-label/menu-label.component.js +3 -3
  162. package/dist/components/menu-label/menu-label.js +4 -4
  163. package/dist/components/nav-item/nav-item.component.js +3 -3
  164. package/dist/components/nav-item/nav-item.js +4 -4
  165. package/dist/components/optgroup/optgroup.component.js +3 -3
  166. package/dist/components/optgroup/optgroup.js +4 -4
  167. package/dist/components/option/option.component.d.ts +0 -1
  168. package/dist/components/option/option.component.js +3 -3
  169. package/dist/components/option/option.js +4 -4
  170. package/dist/components/popup/popup.component.js +2 -2
  171. package/dist/components/popup/popup.js +3 -3
  172. package/dist/components/prio-nav/prio-nav.component.js +8 -8
  173. package/dist/components/prio-nav/prio-nav.js +9 -9
  174. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  175. package/dist/components/progress-bar/progress-bar.js +3 -3
  176. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  177. package/dist/components/progress-ring/progress-ring.js +3 -3
  178. package/dist/components/radio/radio.component.js +3 -3
  179. package/dist/components/radio/radio.js +4 -4
  180. package/dist/components/radio-button/radio-button.component.js +2 -2
  181. package/dist/components/radio-button/radio-button.js +3 -3
  182. package/dist/components/radio-group/radio-group.component.js +3 -3
  183. package/dist/components/radio-group/radio-group.js +4 -4
  184. package/dist/components/range/range.component.js +5 -5
  185. package/dist/components/range/range.js +6 -6
  186. package/dist/components/range-tick/range-tick.component.js +2 -2
  187. package/dist/components/range-tick/range-tick.js +3 -3
  188. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  189. package/dist/components/select/select.component.d.ts +5 -2
  190. package/dist/components/select/select.component.js +7 -8
  191. package/dist/components/select/select.js +8 -9
  192. package/dist/components/select/select.styles.js +1 -1
  193. package/dist/components/side-nav/side-nav.component.js +6 -6
  194. package/dist/components/side-nav/side-nav.js +7 -7
  195. package/dist/components/spinner/spinner.component.js +2 -2
  196. package/dist/components/spinner/spinner.js +3 -3
  197. package/dist/components/switch/switch.component.js +3 -3
  198. package/dist/components/switch/switch.js +4 -4
  199. package/dist/components/tab/tab.component.js +5 -5
  200. package/dist/components/tab/tab.js +6 -6
  201. package/dist/components/tab/tab.styles.js +1 -1
  202. package/dist/components/tab-group/tab-group.component.js +5 -5
  203. package/dist/components/tab-group/tab-group.js +6 -6
  204. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  205. package/dist/components/tab-panel/tab-panel.js +3 -3
  206. package/dist/components/tag/tag.component.js +4 -4
  207. package/dist/components/tag/tag.js +5 -5
  208. package/dist/components/textarea/textarea.component.js +3 -3
  209. package/dist/components/textarea/textarea.js +4 -4
  210. package/dist/components/tooltip/tooltip.component.js +3 -3
  211. package/dist/components/tooltip/tooltip.js +4 -4
  212. package/dist/components/validate/utility.js +2 -2
  213. package/dist/components/validate/validate.component.js +6 -6
  214. package/dist/components/validate/validate.js +7 -7
  215. package/dist/custom-elements.json +98 -101
  216. package/dist/styles/index.css +1 -1
  217. package/dist/synergy.js +100 -100
  218. package/dist/vscode.html-custom-data.json +28 -28
  219. package/package.json +3 -3
  220. package/dist/chunks/chunk.EPAIRZ2S.js.map +0 -7
  221. package/dist/chunks/chunk.LG56XO76.js.map +0 -7
  222. package/dist/chunks/chunk.OITO4SFA.js.map +0 -7
  223. package/dist/chunks/chunk.P3XHTK56.js.map +0 -7
  224. package/dist/chunks/chunk.RJPNUQYL.js.map +0 -7
  225. package/dist/chunks/chunk.TDXBTAZT.js.map +0 -7
  226. /package/dist/chunks/{chunk.LX4W2I3C.js.map → chunk.25JUHBIK.js.map} +0 -0
  227. /package/dist/chunks/{chunk.WEUYZ376.js.map → chunk.2DL4ZSBS.js.map} +0 -0
  228. /package/dist/chunks/{chunk.GVWMRSBR.js.map → chunk.2M3OO2G6.js.map} +0 -0
  229. /package/dist/chunks/{chunk.AWB6VLVD.js.map → chunk.2N4CXWJR.js.map} +0 -0
  230. /package/dist/chunks/{chunk.PDA6LMK5.js.map → chunk.2VEV27HT.js.map} +0 -0
  231. /package/dist/chunks/{chunk.NI2QWG2P.js.map → chunk.32AK63SX.js.map} +0 -0
  232. /package/dist/chunks/{chunk.DZXBGNLA.js.map → chunk.3GAK3HCW.js.map} +0 -0
  233. /package/dist/chunks/{chunk.7UYCJRLQ.js.map → chunk.3N54OV6X.js.map} +0 -0
  234. /package/dist/chunks/{chunk.5A4O3QQH.js.map → chunk.3RQCHNTE.js.map} +0 -0
  235. /package/dist/chunks/{chunk.LDB6FQV4.js.map → chunk.3T4PKXLZ.js.map} +0 -0
  236. /package/dist/chunks/{chunk.EO557Q73.js.map → chunk.3V3Z552X.js.map} +0 -0
  237. /package/dist/chunks/{chunk.EC67LZMD.js.map → chunk.4ZCQXFO7.js.map} +0 -0
  238. /package/dist/chunks/{chunk.SXTCOCUZ.js.map → chunk.6DCZLSTP.js.map} +0 -0
  239. /package/dist/chunks/{chunk.DE5S6MFL.js.map → chunk.7MCSBLOW.js.map} +0 -0
  240. /package/dist/chunks/{chunk.PLSY3JHV.js.map → chunk.7WHIEYGK.js.map} +0 -0
  241. /package/dist/chunks/{chunk.C2KIJDCF.js.map → chunk.A2FQFTFB.js.map} +0 -0
  242. /package/dist/chunks/{chunk.WN2EH7JI.js.map → chunk.A7DYRCSL.js.map} +0 -0
  243. /package/dist/chunks/{chunk.I7OSOLEF.js.map → chunk.ADQX5OKP.js.map} +0 -0
  244. /package/dist/chunks/{chunk.NNUOLDSE.js.map → chunk.AGXEODV2.js.map} +0 -0
  245. /package/dist/chunks/{chunk.WNPWVX2J.js.map → chunk.BMXPNWDD.js.map} +0 -0
  246. /package/dist/chunks/{chunk.VTWPMOGZ.js.map → chunk.CDQY5ANT.js.map} +0 -0
  247. /package/dist/chunks/{chunk.WMGRMHUP.js.map → chunk.CJVTIJGE.js.map} +0 -0
  248. /package/dist/chunks/{chunk.4AKAU6JH.js.map → chunk.D6D5IFPL.js.map} +0 -0
  249. /package/dist/chunks/{chunk.FL5FOPUJ.js.map → chunk.DOU546A6.js.map} +0 -0
  250. /package/dist/chunks/{chunk.PINMXY5S.js.map → chunk.DQC3S32H.js.map} +0 -0
  251. /package/dist/chunks/{chunk.XCMHU4ZI.js.map → chunk.EFEGWSPA.js.map} +0 -0
  252. /package/dist/chunks/{chunk.TIGV5GKD.js.map → chunk.EHHULBSP.js.map} +0 -0
  253. /package/dist/chunks/{chunk.7ZLBBN5K.js.map → chunk.FAM3ZB47.js.map} +0 -0
  254. /package/dist/chunks/{chunk.LWY7MY2Y.js.map → chunk.FN76TNJJ.js.map} +0 -0
  255. /package/dist/chunks/{chunk.LYHM6EG6.js.map → chunk.FWM3I5X4.js.map} +0 -0
  256. /package/dist/chunks/{chunk.QSBFFMWA.js.map → chunk.GOFLVOUS.js.map} +0 -0
  257. /package/dist/chunks/{chunk.BCCIUGZ2.js.map → chunk.HCJMC4IT.js.map} +0 -0
  258. /package/dist/chunks/{chunk.NS3IYR55.js.map → chunk.HEFW5DOH.js.map} +0 -0
  259. /package/dist/chunks/{chunk.J4W3EDWX.js.map → chunk.I4STIUVP.js.map} +0 -0
  260. /package/dist/chunks/{chunk.7A4BI7K5.js.map → chunk.I5N5WFJU.js.map} +0 -0
  261. /package/dist/chunks/{chunk.MHAOZVG2.js.map → chunk.ILCJZFQK.js.map} +0 -0
  262. /package/dist/chunks/{chunk.JLIL7FTT.js.map → chunk.K5BSQPSN.js.map} +0 -0
  263. /package/dist/chunks/{chunk.54QNG2H2.js.map → chunk.K5PXELDD.js.map} +0 -0
  264. /package/dist/chunks/{chunk.SNMJ7SOE.js.map → chunk.KX3ATDPK.js.map} +0 -0
  265. /package/dist/chunks/{chunk.FTICDBQ2.js.map → chunk.LNBMB3DI.js.map} +0 -0
  266. /package/dist/chunks/{chunk.S3D6DR72.js.map → chunk.LR3QOC2S.js.map} +0 -0
  267. /package/dist/chunks/{chunk.HT6XMYAL.js.map → chunk.M5NJMQBQ.js.map} +0 -0
  268. /package/dist/chunks/{chunk.722JM5YD.js.map → chunk.M7ICWWDM.js.map} +0 -0
  269. /package/dist/chunks/{chunk.A4OEHOEC.js.map → chunk.MGMIX6DT.js.map} +0 -0
  270. /package/dist/chunks/{chunk.RKUVZPTY.js.map → chunk.MTPLSXES.js.map} +0 -0
  271. /package/dist/chunks/{chunk.FIDRWRGO.js.map → chunk.NCQXRLJC.js.map} +0 -0
  272. /package/dist/chunks/{chunk.SM6ESSEP.js.map → chunk.NPQAP7F6.js.map} +0 -0
  273. /package/dist/chunks/{chunk.W2XEKBQP.js.map → chunk.O2XUYEBK.js.map} +0 -0
  274. /package/dist/chunks/{chunk.CV6BFKRF.js.map → chunk.O7YNDGZN.js.map} +0 -0
  275. /package/dist/chunks/{chunk.XIVDXQDS.js.map → chunk.P5CBQNOP.js.map} +0 -0
  276. /package/dist/chunks/{chunk.WOQBICEQ.js.map → chunk.PDN2VYR2.js.map} +0 -0
  277. /package/dist/chunks/{chunk.5KDK2OIE.js.map → chunk.PEQB7YJD.js.map} +0 -0
  278. /package/dist/chunks/{chunk.23UPVKOR.js.map → chunk.PFCFF54R.js.map} +0 -0
  279. /package/dist/chunks/{chunk.RVORADA6.js.map → chunk.PONNA4YL.js.map} +0 -0
  280. /package/dist/chunks/{chunk.3ZXPK5SS.js.map → chunk.QS7HRCHA.js.map} +0 -0
  281. /package/dist/chunks/{chunk.6S6YN2FC.js.map → chunk.QUXICFJL.js.map} +0 -0
  282. /package/dist/chunks/{chunk.Q3563AYR.js.map → chunk.QZRLHN6I.js.map} +0 -0
  283. /package/dist/chunks/{chunk.BJD47ZTY.js.map → chunk.R22XUKGQ.js.map} +0 -0
  284. /package/dist/chunks/{chunk.5JJC6THY.js.map → chunk.RXG5TZNY.js.map} +0 -0
  285. /package/dist/chunks/{chunk.AWZ53TFO.js.map → chunk.SCT7M3OI.js.map} +0 -0
  286. /package/dist/chunks/{chunk.OXP7XEFB.js.map → chunk.SF4OPBS6.js.map} +0 -0
  287. /package/dist/chunks/{chunk.OGYZFRUS.js.map → chunk.SFCABZYW.js.map} +0 -0
  288. /package/dist/chunks/{chunk.BYGUEXUD.js.map → chunk.SNVEQ432.js.map} +0 -0
  289. /package/dist/chunks/{chunk.X7W3BQ7H.js.map → chunk.SPAJDYL5.js.map} +0 -0
  290. /package/dist/chunks/{chunk.BY464PPW.js.map → chunk.STSKJPGL.js.map} +0 -0
  291. /package/dist/chunks/{chunk.2XAU5NKA.js.map → chunk.T5ZAWJVF.js.map} +0 -0
  292. /package/dist/chunks/{chunk.U7CBHMLC.js.map → chunk.TXKD5X4O.js.map} +0 -0
  293. /package/dist/chunks/{chunk.NDMTEREV.js.map → chunk.UAK6WG4U.js.map} +0 -0
  294. /package/dist/chunks/{chunk.FQNCDTE2.js.map → chunk.UQRQF6V7.js.map} +0 -0
  295. /package/dist/chunks/{chunk.LH4ILF4B.js.map → chunk.UVT3K4BL.js.map} +0 -0
  296. /package/dist/chunks/{chunk.A2AAVIZH.js.map → chunk.V3YTSDOG.js.map} +0 -0
  297. /package/dist/chunks/{chunk.OPLK26M2.js.map → chunk.VLLUDIS7.js.map} +0 -0
  298. /package/dist/chunks/{chunk.FWCRRX53.js.map → chunk.VN3RRCSO.js.map} +0 -0
  299. /package/dist/chunks/{chunk.FPKHAZIQ.js.map → chunk.VRYQ7MKQ.js.map} +0 -0
  300. /package/dist/chunks/{chunk.CNJ6MEL7.js.map → chunk.WNUD4VDX.js.map} +0 -0
  301. /package/dist/chunks/{chunk.HJAPRROW.js.map → chunk.WQXCL54U.js.map} +0 -0
  302. /package/dist/chunks/{chunk.7GGSI2YZ.js.map → chunk.XC2GLKQM.js.map} +0 -0
  303. /package/dist/chunks/{chunk.2XJN5LTD.js.map → chunk.XQPM6V3Y.js.map} +0 -0
  304. /package/dist/chunks/{chunk.ZPTZW3EP.js.map → chunk.XSTUKBIN.js.map} +0 -0
  305. /package/dist/chunks/{chunk.RK6FVLPL.js.map → chunk.XYAH4IO5.js.map} +0 -0
  306. /package/dist/chunks/{chunk.MMFNICFN.js.map → chunk.YHDODK3T.js.map} +0 -0
  307. /package/dist/chunks/{chunk.6GVTLK7A.js.map → chunk.YMCR3GIU.js.map} +0 -0
  308. /package/dist/chunks/{chunk.G7P2A2YS.js.map → chunk.YVIQ2WAT.js.map} +0 -0
  309. /package/dist/chunks/{chunk.3CUFSBFH.js.map → chunk.ZA3WJ6M5.js.map} +0 -0
  310. /package/dist/chunks/{chunk.3ZYVNRHO.js.map → chunk.ZLBGUUHH.js.map} +0 -0
  311. /package/dist/chunks/{chunk.YANK7ET6.js.map → chunk.ZPT2C54J.js.map} +0 -0
  312. /package/dist/chunks/{chunk.RSI6VMEX.js.map → chunk.ZVXLBYON.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.4TB35TYG.js";
7
7
  import {
8
8
  defaultValue
9
- } from "./chunk.RBG37CD4.js";
9
+ } from "./chunk.3NXKLKWH.js";
10
10
  import {
11
11
  form_control_custom_styles_default,
12
12
  form_control_styles_default
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk.NLYVOJGK.js";
26
26
  import {
27
27
  SynergyElement
28
- } from "./chunk.JLOTHLIS.js";
28
+ } from "./chunk.EBE3CGKL.js";
29
29
  import {
30
30
  __decorateClass
31
31
  } from "./chunk.2GFK6XTO.js";
@@ -249,4 +249,4 @@ __decorateClass([
249
249
  export {
250
250
  SynSwitch
251
251
  };
252
- //# sourceMappingURL=chunk.SXTCOCUZ.js.map
252
+ //# sourceMappingURL=chunk.6DCZLSTP.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.NLYVOJGK.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.JLOTHLIS.js";
12
+ } from "./chunk.EBE3CGKL.js";
13
13
  import {
14
14
  __decorateClass,
15
15
  __spreadProps,
@@ -154,7 +154,7 @@ var SynPopup = class extends SynergyElement {
154
154
  }
155
155
  }
156
156
  start() {
157
- if (!this.anchorEl) {
157
+ if (!this.anchorEl || !this.active) {
158
158
  return;
159
159
  }
160
160
  this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
@@ -415,4 +415,4 @@ __decorateClass([
415
415
  export {
416
416
  SynPopup
417
417
  };
418
- //# sourceMappingURL=chunk.LG56XO76.js.map
418
+ //# sourceMappingURL=chunk.6EVVIDQZ.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 { 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,KAAK,MAAM,sBAAsB;AACnD,cAAM,aAAa,KAAK,UAAU,SAAS,KAAK,KAAK,KAAK,UAAU,SAAS,QAAQ;AACrF,YAAI,WAAW;AACf,YAAI,WAAW;AACf,YAAI,YAAY;AAChB,YAAI,YAAY;AAChB,YAAI,cAAc;AAClB,YAAI,cAAc;AAClB,YAAI,eAAe;AACnB,YAAI,eAAe;AAEnB,YAAI,YAAY;AACd,cAAI,WAAW,MAAM,UAAU,KAAK;AAElC,uBAAW,WAAW;AACtB,uBAAW,WAAW;AACtB,wBAAY,WAAW;AACv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
1
  import {
2
2
  SynRadio
3
- } from "./chunk.WNPWVX2J.js";
3
+ } from "./chunk.BMXPNWDD.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.7MCSBLOW.js.map
@@ -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.EBE3CGKL.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynProgressRing
78
78
  };
79
- //# sourceMappingURL=chunk.PLSY3JHV.js.map
79
+ //# sourceMappingURL=chunk.7WHIEYGK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDropdown
3
- } from "./chunk.4AKAU6JH.js";
3
+ } from "./chunk.D6D5IFPL.js";
4
4
 
5
5
  // src/components/dropdown/dropdown.ts
6
6
  var dropdown_default = SynDropdown;
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
9
9
  export {
10
10
  dropdown_default
11
11
  };
12
- //# sourceMappingURL=chunk.C2KIJDCF.js.map
12
+ //# sourceMappingURL=chunk.A2FQFTFB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.XIVDXQDS.js";
3
+ } from "./chunk.P5CBQNOP.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.A7DYRCSL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.MHAOZVG2.js";
3
+ } from "./chunk.ILCJZFQK.js";
4
4
 
5
5
  // src/components/radio-group/radio-group.ts
6
6
  var radio_group_default = SynRadioGroup;
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
9
9
  export {
10
10
  radio_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.I7OSOLEF.js.map
12
+ //# sourceMappingURL=chunk.ADQX5OKP.js.map
@@ -3,13 +3,13 @@ import {
3
3
  isBlurEvent,
4
4
  isInvalidEvent,
5
5
  normalizeEventAttribute
6
- } from "./chunk.DZXBGNLA.js";
6
+ } from "./chunk.3GAK3HCW.js";
7
7
  import {
8
8
  validate_styles_default
9
9
  } from "./chunk.MVM3NN6Y.js";
10
10
  import {
11
11
  SynAlert
12
- } from "./chunk.PDA6LMK5.js";
12
+ } from "./chunk.2VEV27HT.js";
13
13
  import {
14
14
  watch
15
15
  } from "./chunk.74IOULXM.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk.NLYVOJGK.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.JLOTHLIS.js";
21
+ } from "./chunk.EBE3CGKL.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.2GFK6XTO.js";
@@ -286,4 +286,4 @@ __decorateClass([
286
286
  export {
287
287
  SynValidate
288
288
  };
289
- //# sourceMappingURL=chunk.NNUOLDSE.js.map
289
+ //# sourceMappingURL=chunk.AGXEODV2.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.EHSNF4SS.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.NDMTEREV.js";
9
+ } from "./chunk.UAK6WG4U.js";
10
10
  import {
11
11
  watch
12
12
  } from "./chunk.74IOULXM.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.NLYVOJGK.js";
16
16
  import {
17
17
  SynergyElement
18
- } from "./chunk.JLOTHLIS.js";
18
+ } from "./chunk.EBE3CGKL.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.2GFK6XTO.js";
@@ -114,4 +114,4 @@ __decorateClass([
114
114
  export {
115
115
  SynRadio
116
116
  };
117
- //# sourceMappingURL=chunk.WNPWVX2J.js.map
117
+ //# sourceMappingURL=chunk.BMXPNWDD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynValidate
3
- } from "./chunk.NNUOLDSE.js";
3
+ } from "./chunk.AGXEODV2.js";
4
4
 
5
5
  // src/components/validate/validate.ts
6
6
  var validate_default = SynValidate;
@@ -9,4 +9,4 @@ SynValidate.define("syn-validate");
9
9
  export {
10
10
  validate_default
11
11
  };
12
- //# sourceMappingURL=chunk.VTWPMOGZ.js.map
12
+ //# sourceMappingURL=chunk.CDQY5ANT.js.map
@@ -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.EBE3CGKL.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -64,4 +64,4 @@ __decorateClass([
64
64
  export {
65
65
  SynTabPanel
66
66
  };
67
- //# sourceMappingURL=chunk.WMGRMHUP.js.map
67
+ //# sourceMappingURL=chunk.CJVTIJGE.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.POGMEL53.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.LG56XO76.js";
12
+ } from "./chunk.6EVVIDQZ.js";
13
13
  import {
14
14
  waitForEvent
15
15
  } from "./chunk.C2ENQBPM.js";
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk.NLYVOJGK.js";
33
33
  import {
34
34
  SynergyElement
35
- } from "./chunk.JLOTHLIS.js";
35
+ } from "./chunk.EBE3CGKL.js";
36
36
  import {
37
37
  __decorateClass
38
38
  } from "./chunk.2GFK6XTO.js";
@@ -374,4 +374,4 @@ setDefaultAnimation("dropdown.hide", {
374
374
  export {
375
375
  SynDropdown
376
376
  };
377
- //# sourceMappingURL=chunk.4AKAU6JH.js.map
377
+ //# sourceMappingURL=chunk.D6D5IFPL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCard
3
- } from "./chunk.JLIL7FTT.js";
3
+ } from "./chunk.K5BSQPSN.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.DOU546A6.js.map
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk.3B22DBSJ.js";
7
7
  import {
8
8
  SynDivider
9
- } from "./chunk.Q3563AYR.js";
9
+ } from "./chunk.QZRLHN6I.js";
10
10
  import {
11
11
  defaultValue
12
- } from "./chunk.RBG37CD4.js";
12
+ } from "./chunk.3NXKLKWH.js";
13
13
  import {
14
14
  form_control_custom_styles_default,
15
15
  form_control_styles_default
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk.WVVQK5TE.js";
23
23
  import {
24
24
  SynIcon
25
- } from "./chunk.NDMTEREV.js";
25
+ } from "./chunk.UAK6WG4U.js";
26
26
  import {
27
27
  LocalizeController
28
28
  } from "./chunk.GIU3H3J3.js";
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk.NLYVOJGK.js";
35
35
  import {
36
36
  SynergyElement
37
- } from "./chunk.JLOTHLIS.js";
37
+ } from "./chunk.EBE3CGKL.js";
38
38
  import {
39
39
  __decorateClass,
40
40
  __spreadValues
@@ -644,4 +644,4 @@ __decorateClass([
644
644
  export {
645
645
  SynInput
646
646
  };
647
- //# sourceMappingURL=chunk.PINMXY5S.js.map
647
+ //# sourceMappingURL=chunk.DQC3S32H.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.K5PXELDD.js";
17
17
  import {
18
18
  waitForEvent
19
19
  } from "./chunk.C2ENQBPM.js";
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk.NLYVOJGK.js";
40
40
  import {
41
41
  SynergyElement
42
- } from "./chunk.JLOTHLIS.js";
42
+ } from "./chunk.EBE3CGKL.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.DYZDTSNX.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,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SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
6
+ "names": []
7
+ }
@@ -81,7 +81,7 @@ var SynergyElement = class extends LitElement {
81
81
  _hasRecordedInitialProperties = new WeakMap();
82
82
  /* eslint-disable */
83
83
  // @ts-expect-error This is auto-injected at build time.
84
- SynergyElement.version = "2.14.2";
84
+ SynergyElement.version = "2.14.3";
85
85
  SynergyElement.dependencies = {};
86
86
  __decorateClass([
87
87
  property()
@@ -93,4 +93,4 @@ __decorateClass([
93
93
  export {
94
94
  SynergyElement
95
95
  };
96
- //# sourceMappingURL=chunk.JLOTHLIS.js.map
96
+ //# sourceMappingURL=chunk.EBE3CGKL.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/internal/synergy-element.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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"2.14.2\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n // We try to register as the actual class first. If for some reason that fails, we fall back to anonymous classes.\n // customElements can only have 1 class of the same \"object id\" per registry, so that is why the try {} catch {} exists.\n // Some tools like Jest Snapshots and if you import the constructor and call `new SynButton()` they will fail with\n // the anonymous class version.\n try {\n customElements.define(name, elementConstructor, options);\n } catch (_err) {\n customElements.define(name, class extends elementConstructor {}, options);\n }\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n\n #hasRecordedInitialProperties = false;\n\n // Store the constructor value of all `static properties = {}`\n initialReflectedProperties: Map<string, unknown> = new Map();\n\n attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null) {\n if (!this.#hasRecordedInitialProperties) {\n (this.constructor as typeof SynergyElement).elementProperties.forEach(\n (obj, prop: keyof typeof this & string) => {\n // eslint-disable-next-line\n if (obj.reflect && this[prop] != null) {\n this.initialReflectedProperties.set(prop, this[prop]);\n }\n }\n );\n\n this.#hasRecordedInitialProperties = true;\n }\n\n super.attributeChangedCallback(name, oldValue, newValue);\n }\n\n protected willUpdate(changedProperties: Parameters<LitElement['willUpdate']>[0]): void {\n super.willUpdate(changedProperties);\n\n // Run the morph fixing *after* willUpdate.\n this.initialReflectedProperties.forEach((value, prop: string & keyof typeof this) => {\n // If a prop changes to `null`, we assume this happens via an attribute changing to `null`.\n // eslint-disable-next-line\n if (changedProperties.has(prop) && this[prop] == null) {\n // Silly type gymnastics to appease the compiler.\n (this as Record<string, unknown>)[prop] = value;\n }\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"2.14.3\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n // We try to register as the actual class first. If for some reason that fails, we fall back to anonymous classes.\n // customElements can only have 1 class of the same \"object id\" per registry, so that is why the try {} catch {} exists.\n // Some tools like Jest Snapshots and if you import the constructor and call `new SynButton()` they will fail with\n // the anonymous class version.\n try {\n customElements.define(name, elementConstructor, options);\n } catch (_err) {\n customElements.define(name, class extends elementConstructor {}, options);\n }\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n\n #hasRecordedInitialProperties = false;\n\n // Store the constructor value of all `static properties = {}`\n initialReflectedProperties: Map<string, unknown> = new Map();\n\n attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null) {\n if (!this.#hasRecordedInitialProperties) {\n (this.constructor as typeof SynergyElement).elementProperties.forEach(\n (obj, prop: keyof typeof this & string) => {\n // eslint-disable-next-line\n if (obj.reflect && this[prop] != null) {\n this.initialReflectedProperties.set(prop, this[prop]);\n }\n }\n );\n\n this.#hasRecordedInitialProperties = true;\n }\n\n super.attributeChangedCallback(name, oldValue, newValue);\n }\n\n protected willUpdate(changedProperties: Parameters<LitElement['willUpdate']>[0]): void {\n super.willUpdate(changedProperties);\n\n // Run the morph fixing *after* willUpdate.\n this.initialReflectedProperties.forEach((value, prop: string & keyof typeof this) => {\n // If a prop changes to `null`, we assume this happens via an attribute changing to `null`.\n // eslint-disable-next-line\n if (changedProperties.has(prop) && this[prop] == null) {\n // Silly type gymnastics to appease the compiler.\n (this as Record<string, unknown>)[prop] = value;\n }\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
5
5
  "mappings": ";;;;;;;;;AAQA,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AATzB;AAwEA,IAAqB,iBAArB,cAA4C,WAAW;AAAA,EA8ErD,cAAc;AACZ,UAAM;AAMR,sDAAgC;AAGhC;AAAA,sCAAmD,oBAAI,IAAI;AARzD,WAAO,QAAS,KAAK,YAAsC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,SAAS,MAAM;AACtG,MAAC,KAAK,YAAsC,OAAO,MAAM,SAAS;AAAA,IACpE,CAAC;AAAA,EACH;AAAA,EArEA,KACE,MACA,SACuB;AACvB,UAAM,QAAQ,IAAI,YAAY,MAAM;AAAA,MAClC,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,QAAQ,CAAC;AAAA,OACN,QACJ;AAED,SAAK,cAAc,KAAK;AAExB,WAAO;AAAA,EACT;AAAA,EAOA,OAAO,OAAO,MAAc,qBAAqB,MAAM,UAAoC,CAAC,GAAG;AAC7F,UAAM,iCAAiC,eAAe,IAAI,IAAI;AAI9D,QAAI,CAAC,gCAAgC;AAKnC,UAAI;AACF,uBAAe,OAAO,MAAM,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AAAA,GAHS,eAGP;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDivider
3
- } from "./chunk.Q3563AYR.js";
3
+ } from "./chunk.QZRLHN6I.js";
4
4
 
5
5
  // src/components/divider/divider.ts
6
6
  var divider_default = SynDivider;
@@ -9,4 +9,4 @@ SynDivider.define("syn-divider");
9
9
  export {
10
10
  divider_default
11
11
  };
12
- //# sourceMappingURL=chunk.XCMHU4ZI.js.map
12
+ //# sourceMappingURL=chunk.EFEGWSPA.js.map
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk.PKYC7QF3.js";
7
7
  import {
8
8
  SynResizeObserver
9
- } from "./chunk.OPLK26M2.js";
9
+ } from "./chunk.VLLUDIS7.js";
10
10
  import {
11
11
  scrollIntoView
12
12
  } from "./chunk.5732DMBC.js";
13
13
  import {
14
14
  SynIconButton
15
- } from "./chunk.54QNG2H2.js";
15
+ } from "./chunk.K5PXELDD.js";
16
16
  import {
17
17
  LocalizeController
18
18
  } from "./chunk.GIU3H3J3.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk.NLYVOJGK.js";
25
25
  import {
26
26
  SynergyElement
27
- } from "./chunk.JLOTHLIS.js";
27
+ } from "./chunk.EBE3CGKL.js";
28
28
  import {
29
29
  __decorateClass,
30
30
  __spreadValues
@@ -497,4 +497,4 @@ __decorateClass([
497
497
  export {
498
498
  SynTabGroup
499
499
  };
500
- //# sourceMappingURL=chunk.TIGV5GKD.js.map
500
+ //# sourceMappingURL=chunk.EHHULBSP.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.QZRLHN6I.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.EBE3CGKL.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.FAM3ZB47.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynProgressBar
3
- } from "./chunk.7UYCJRLQ.js";
3
+ } from "./chunk.3N54OV6X.js";
4
4
 
5
5
  // src/components/progress-bar/progress-bar.ts
6
6
  var progress_bar_default = SynProgressBar;
@@ -9,4 +9,4 @@ SynProgressBar.define("syn-progress-bar");
9
9
  export {
10
10
  progress_bar_default
11
11
  };
12
- //# sourceMappingURL=chunk.LWY7MY2Y.js.map
12
+ //# sourceMappingURL=chunk.FN76TNJJ.js.map