@synergy-design-system/components 2.45.0 → 2.45.1

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 (303) hide show
  1. package/code-quality/html-validate/scripts/synergy-element-rules.js +24 -0
  2. package/dist/chunks/{chunk.AEYPPPBN.js → chunk.245S7GWI.js} +4 -4
  3. package/dist/chunks/{chunk.3YXGL6PB.js → chunk.2YJPFMPZ.js} +2 -2
  4. package/dist/chunks/{chunk.SAP4WZHM.js → chunk.2ZILCVCN.js} +2 -2
  5. package/dist/chunks/chunk.36EHOOOO.js +23 -0
  6. package/dist/chunks/chunk.36EHOOOO.js.map +7 -0
  7. package/dist/chunks/{chunk.F4TQMBPQ.js → chunk.3GKI2SN6.js} +3 -3
  8. package/dist/chunks/{chunk.IY7C7TXC.js → chunk.3GR65RWU.js} +3 -3
  9. package/dist/chunks/{chunk.MVTYOC4G.js → chunk.4E6YKCXO.js} +3 -3
  10. package/dist/chunks/{chunk.NHGGACXF.js → chunk.5IZZU7YZ.js} +5 -5
  11. package/dist/chunks/{chunk.GNDG3SJQ.js → chunk.5M5HOQHE.js} +3 -3
  12. package/dist/chunks/{chunk.GNDG3SJQ.js.map → chunk.5M5HOQHE.js.map} +2 -2
  13. package/dist/chunks/{chunk.GCRD4HSU.js → chunk.5MJ6U3ZD.js} +2 -2
  14. package/dist/chunks/{chunk.QCDUTFT3.js → chunk.5RXKCWCZ.js} +2 -2
  15. package/dist/chunks/{chunk.UE5Y2G5J.js → chunk.66X6L2S6.js} +3 -3
  16. package/dist/chunks/{chunk.UJ7DPXBG.js → chunk.6I4PJUUF.js} +2 -2
  17. package/dist/chunks/{chunk.MON5ZZWQ.js → chunk.6UFMDQHA.js} +2 -2
  18. package/dist/chunks/{chunk.FIFYXTSV.js → chunk.6WGVJKL6.js} +2 -2
  19. package/dist/chunks/{chunk.F6FD2FQX.js → chunk.7C42R3TS.js} +2 -2
  20. package/dist/chunks/{chunk.F6FD2FQX.js.map → chunk.7C42R3TS.js.map} +1 -1
  21. package/dist/chunks/{chunk.GH7M77F4.js → chunk.7FW3LXOS.js} +3 -3
  22. package/dist/chunks/{chunk.U6RTUABL.js → chunk.AAI3YT4E.js} +2 -2
  23. package/dist/chunks/{chunk.GPDFPMAA.js → chunk.ANA4XLX5.js} +2 -2
  24. package/dist/chunks/{chunk.V2JF2ARW.js → chunk.ATBW2OIF.js} +2 -2
  25. package/dist/chunks/{chunk.2FVXIEHW.js → chunk.BDVEGRSM.js} +2 -2
  26. package/dist/chunks/{chunk.ERWTU5QM.js → chunk.BHRS27UA.js} +2 -2
  27. package/dist/chunks/{chunk.WU22WCIW.js → chunk.BXBQK3TB.js} +5 -5
  28. package/dist/chunks/chunk.BXBQK3TB.js.map +7 -0
  29. package/dist/chunks/{chunk.PIVTCFVM.js → chunk.C6TYP6DS.js} +2 -2
  30. package/dist/chunks/{chunk.GL3EYIRY.js → chunk.C6UWNTFC.js} +2 -2
  31. package/dist/chunks/{chunk.BNHJ5OKO.js → chunk.CADFUJEC.js} +4 -4
  32. package/dist/chunks/{chunk.FXO36T5G.js → chunk.CFPUCJM4.js} +4 -4
  33. package/dist/chunks/{chunk.ZSQOHWZW.js → chunk.CRNTLHHO.js} +3 -3
  34. package/dist/chunks/{chunk.E7I3J5SD.js → chunk.CTIV3PDX.js} +2 -2
  35. package/dist/chunks/{chunk.QDJC3QVC.js → chunk.DQDMEFGY.js} +3 -3
  36. package/dist/chunks/{chunk.MWFVQQRA.js → chunk.DXU26VPN.js} +3 -3
  37. package/dist/chunks/{chunk.Q3BJU6OI.js → chunk.ERRWQS7Y.js} +2 -2
  38. package/dist/chunks/{chunk.MPFHBRBB.js → chunk.F6QEUBK3.js} +2 -2
  39. package/dist/chunks/{chunk.QOSVIEWF.js → chunk.FMX3E6SS.js} +4 -4
  40. package/dist/chunks/{chunk.TR5DMYXN.js → chunk.G4XRAVPS.js} +6 -6
  41. package/dist/chunks/{chunk.4KZG5ZGR.js → chunk.GBHDS2IR.js} +2 -2
  42. package/dist/chunks/{chunk.MIVLWJE3.js → chunk.GCRXP6BG.js} +3 -3
  43. package/dist/chunks/{chunk.QCEDZQIZ.js → chunk.GFJ5QZBK.js} +6 -6
  44. package/dist/chunks/{chunk.PHSST3GN.js → chunk.GMYIVXWP.js} +2 -2
  45. package/dist/chunks/{chunk.MKXDHGKC.js → chunk.H7FTAZDC.js} +2 -2
  46. package/dist/chunks/{chunk.RUVDIFIF.js → chunk.HANB33UT.js} +2 -2
  47. package/dist/chunks/{chunk.QAD2SZSR.js → chunk.HB7DPOMI.js} +2 -2
  48. package/dist/chunks/{chunk.V5KACUQG.js → chunk.HC77F5GA.js} +2 -2
  49. package/dist/chunks/{chunk.WCOUFKSE.js → chunk.HIJUMXP4.js} +3 -3
  50. package/dist/chunks/{chunk.RY2FCMQD.js → chunk.HN5M2E74.js} +2 -2
  51. package/dist/chunks/{chunk.EFJBDR7Z.js → chunk.HVUYGACL.js} +2 -2
  52. package/dist/chunks/{chunk.IS3GLJCO.js → chunk.J4AQWKAH.js} +2 -2
  53. package/dist/chunks/{chunk.3P2RJ7Q2.js → chunk.JE7DIAFP.js} +2 -2
  54. package/dist/chunks/{chunk.XWD7JUJ3.js → chunk.JLARVA4R.js} +2 -2
  55. package/dist/chunks/{chunk.EA3473S6.js → chunk.JUON2HSD.js} +2 -2
  56. package/dist/chunks/{chunk.2NU65US2.js → chunk.JVY2KNFK.js} +2 -2
  57. package/dist/chunks/{chunk.JW7A7O45.js → chunk.KDYONRAA.js} +2 -2
  58. package/dist/chunks/{chunk.WTGV2YHS.js → chunk.KSCYTDDN.js} +2 -2
  59. package/dist/chunks/{chunk.RSI47MJF.js → chunk.KVGLARVX.js} +2 -2
  60. package/dist/chunks/{chunk.67SXXBDE.js → chunk.L6GZTHH2.js} +21 -6
  61. package/dist/chunks/chunk.L6GZTHH2.js.map +7 -0
  62. package/dist/chunks/{chunk.XHCIGXHD.js → chunk.LGYTX653.js} +3 -3
  63. package/dist/chunks/{chunk.MINKKHKX.js → chunk.LX6MQEJV.js} +2 -2
  64. package/dist/chunks/{chunk.MBU55RN2.js → chunk.MBRJXK3O.js} +2 -2
  65. package/dist/chunks/{chunk.YRL6NFIW.js → chunk.ME6NYHXY.js} +2 -2
  66. package/dist/chunks/{chunk.47LU3JDG.js → chunk.MJSQXS35.js} +2 -2
  67. package/dist/chunks/{chunk.NZUG4LYW.js → chunk.NDXRKDL3.js} +2 -2
  68. package/dist/chunks/{chunk.DBE55F4E.js → chunk.NEOUHIDX.js} +2 -2
  69. package/dist/chunks/{chunk.YAKAIJGX.js → chunk.NJV5WZBN.js} +2 -2
  70. package/dist/chunks/{chunk.6K5UWP6M.js → chunk.NJXXQYZX.js} +2 -2
  71. package/dist/chunks/{chunk.2EJUYOXJ.js → chunk.P7ET37O6.js} +2 -2
  72. package/dist/chunks/{chunk.RID4SZEA.js → chunk.PBILQMHE.js} +2 -2
  73. package/dist/chunks/{chunk.YR46HSA7.js → chunk.PBYEKOOF.js} +2 -2
  74. package/dist/chunks/{chunk.43PNVQ2M.js → chunk.PHIRFXRF.js} +3 -3
  75. package/dist/chunks/chunk.PHIRFXRF.js.map +7 -0
  76. package/dist/chunks/{chunk.JY3G4O3W.js → chunk.Q3LUZOD3.js} +2 -2
  77. package/dist/chunks/{chunk.VIV2SMKB.js → chunk.QLUFRXHK.js} +9 -9
  78. package/dist/chunks/chunk.QLUFRXHK.js.map +7 -0
  79. package/dist/chunks/{chunk.A3ONRZQG.js → chunk.RAHUTBPN.js} +2 -2
  80. package/dist/chunks/{chunk.O7YHFE5A.js → chunk.RCRHMX5J.js} +2 -2
  81. package/dist/chunks/{chunk.OKUJNBZA.js → chunk.RDRWZE6I.js} +2 -2
  82. package/dist/chunks/{chunk.CWATEWX3.js → chunk.RHKI2RSX.js} +6 -6
  83. package/dist/chunks/{chunk.HXICOH2D.js → chunk.ROS6G7F5.js} +2 -2
  84. package/dist/chunks/{chunk.775OBFIE.js → chunk.RZKOGDMT.js} +2 -2
  85. package/dist/chunks/{chunk.SOOHRWAC.js → chunk.TAHGMS7X.js} +3 -3
  86. package/dist/chunks/{chunk.4N4F6TPI.js → chunk.TLOBRCJ7.js} +2 -2
  87. package/dist/chunks/{chunk.72SPXN4M.js → chunk.TMIYLOAZ.js} +2 -2
  88. package/dist/chunks/{chunk.4P5VXNLJ.js → chunk.TTKLTIKP.js} +2 -2
  89. package/dist/chunks/{chunk.5YDLLB4H.js → chunk.TVIGWT6Z.js} +2 -2
  90. package/dist/chunks/{chunk.2FMOTYVN.js → chunk.UUOIHYGE.js} +3 -3
  91. package/dist/chunks/{chunk.QEVG633Q.js → chunk.VMO643NZ.js} +2 -2
  92. package/dist/chunks/{chunk.LXB2K2EP.js → chunk.VPLFHUPG.js} +2 -2
  93. package/dist/chunks/{chunk.WZBR6MRC.js → chunk.WH653LKD.js} +2 -2
  94. package/dist/chunks/{chunk.S2CO77RZ.js → chunk.WQ5WXIL6.js} +4 -4
  95. package/dist/chunks/{chunk.477UZTHM.js → chunk.XLWYE4TZ.js} +2 -2
  96. package/dist/chunks/{chunk.G2E6IU6K.js → chunk.XYTP4HII.js} +3 -3
  97. package/dist/chunks/{chunk.IHHIBS6E.js → chunk.YBI7X2BA.js} +2 -2
  98. package/dist/chunks/{chunk.PV2BBLSA.js → chunk.YCOTL24V.js} +3 -3
  99. package/dist/chunks/{chunk.EAS6P6PE.js → chunk.YNYJD6XX.js} +2 -2
  100. package/dist/chunks/{chunk.CJPSAUTD.js → chunk.YS5HAVJH.js} +2 -2
  101. package/dist/chunks/{chunk.UJGWVOQC.js → chunk.Z4KPGJ4M.js} +2 -2
  102. package/dist/chunks/{chunk.2SFJYVUS.js → chunk.ZC3WZ4HD.js} +4 -4
  103. package/dist/chunks/{chunk.EKQIQ2DM.js → chunk.ZNBA6PHQ.js} +2 -2
  104. package/dist/chunks/{chunk.XWRFKT3X.js → chunk.ZUHAUFNE.js} +2 -2
  105. package/dist/components/accordion/accordion.component.js +2 -2
  106. package/dist/components/accordion/accordion.js +3 -3
  107. package/dist/components/alert/alert.component.js +4 -4
  108. package/dist/components/alert/alert.js +5 -5
  109. package/dist/components/badge/badge.component.js +2 -2
  110. package/dist/components/badge/badge.js +3 -3
  111. package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
  112. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  113. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  114. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  115. package/dist/components/button/button.component.js +4 -4
  116. package/dist/components/button/button.js +5 -5
  117. package/dist/components/button-group/button-group.component.js +2 -2
  118. package/dist/components/button-group/button-group.js +3 -3
  119. package/dist/components/card/card.component.js +2 -2
  120. package/dist/components/card/card.js +3 -3
  121. package/dist/components/checkbox/checkbox.component.js +3 -3
  122. package/dist/components/checkbox/checkbox.js +4 -4
  123. package/dist/components/combobox/combobox.component.d.ts +1 -0
  124. package/dist/components/combobox/combobox.component.js +6 -5
  125. package/dist/components/combobox/combobox.js +7 -6
  126. package/dist/components/details/details.component.js +3 -3
  127. package/dist/components/details/details.js +4 -4
  128. package/dist/components/dialog/dialog.component.js +4 -4
  129. package/dist/components/dialog/dialog.js +5 -5
  130. package/dist/components/divider/divider.component.js +2 -2
  131. package/dist/components/divider/divider.js +3 -3
  132. package/dist/components/drawer/drawer.component.js +4 -4
  133. package/dist/components/drawer/drawer.js +5 -5
  134. package/dist/components/dropdown/dropdown.component.d.ts +1 -0
  135. package/dist/components/dropdown/dropdown.component.js +4 -3
  136. package/dist/components/dropdown/dropdown.js +5 -4
  137. package/dist/components/file/file.component.js +5 -5
  138. package/dist/components/file/file.js +6 -6
  139. package/dist/components/header/header.component.js +4 -4
  140. package/dist/components/header/header.js +5 -5
  141. package/dist/components/icon/icon.component.js +2 -2
  142. package/dist/components/icon/icon.js +3 -3
  143. package/dist/components/icon-button/icon-button.component.js +3 -3
  144. package/dist/components/icon-button/icon-button.js +4 -4
  145. package/dist/components/input/input.component.js +4 -4
  146. package/dist/components/input/input.js +5 -5
  147. package/dist/components/menu/menu.component.js +2 -2
  148. package/dist/components/menu/menu.js +3 -3
  149. package/dist/components/menu-item/menu-item.component.js +6 -5
  150. package/dist/components/menu-item/menu-item.js +7 -6
  151. package/dist/components/menu-label/menu-label.component.js +3 -3
  152. package/dist/components/menu-label/menu-label.js +4 -4
  153. package/dist/components/nav-item/nav-item.component.js +4 -4
  154. package/dist/components/nav-item/nav-item.js +5 -5
  155. package/dist/components/optgroup/optgroup.component.js +3 -3
  156. package/dist/components/optgroup/optgroup.js +4 -4
  157. package/dist/components/option/option.component.js +3 -3
  158. package/dist/components/option/option.js +4 -4
  159. package/dist/components/popup/popup.component.d.ts +1 -0
  160. package/dist/components/popup/popup.component.js +3 -2
  161. package/dist/components/popup/popup.custom.styles.d.ts +2 -0
  162. package/dist/components/popup/popup.custom.styles.js +8 -0
  163. package/dist/components/popup/popup.custom.styles.js.map +7 -0
  164. package/dist/components/popup/popup.js +4 -3
  165. package/dist/components/prio-nav/prio-nav.component.js +9 -8
  166. package/dist/components/prio-nav/prio-nav.js +10 -9
  167. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  168. package/dist/components/progress-bar/progress-bar.js +3 -3
  169. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  170. package/dist/components/progress-ring/progress-ring.js +3 -3
  171. package/dist/components/radio/radio.component.js +3 -3
  172. package/dist/components/radio/radio.js +4 -4
  173. package/dist/components/radio-button/radio-button.component.js +2 -2
  174. package/dist/components/radio-button/radio-button.js +3 -3
  175. package/dist/components/radio-group/radio-group.component.js +4 -4
  176. package/dist/components/radio-group/radio-group.js +5 -5
  177. package/dist/components/range/range.component.js +5 -4
  178. package/dist/components/range/range.js +6 -5
  179. package/dist/components/range-tick/range-tick.component.js +2 -2
  180. package/dist/components/range-tick/range-tick.js +3 -3
  181. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  182. package/dist/components/select/select.component.d.ts +1 -0
  183. package/dist/components/select/select.component.js +8 -7
  184. package/dist/components/select/select.js +9 -8
  185. package/dist/components/side-nav/side-nav.component.js +7 -7
  186. package/dist/components/side-nav/side-nav.js +8 -8
  187. package/dist/components/spinner/spinner.component.js +2 -2
  188. package/dist/components/spinner/spinner.js +3 -3
  189. package/dist/components/switch/switch.component.js +2 -2
  190. package/dist/components/switch/switch.js +3 -3
  191. package/dist/components/tab/tab.component.js +4 -4
  192. package/dist/components/tab/tab.js +5 -5
  193. package/dist/components/tab-group/tab-group.component.js +5 -5
  194. package/dist/components/tab-group/tab-group.js +6 -6
  195. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  196. package/dist/components/tab-panel/tab-panel.js +3 -3
  197. package/dist/components/tag/tag.component.js +4 -4
  198. package/dist/components/tag/tag.js +5 -5
  199. package/dist/components/textarea/textarea.component.js +2 -2
  200. package/dist/components/textarea/textarea.js +3 -3
  201. package/dist/components/tooltip/tooltip.component.d.ts +1 -0
  202. package/dist/components/tooltip/tooltip.component.js +4 -3
  203. package/dist/components/tooltip/tooltip.js +5 -4
  204. package/dist/components/validate/utility.js +2 -2
  205. package/dist/components/validate/validate.component.js +6 -6
  206. package/dist/components/validate/validate.js +7 -7
  207. package/dist/custom-elements.json +11 -1
  208. package/dist/styles/index.css +1 -1
  209. package/dist/synergy.js +106 -105
  210. package/package.json +5 -5
  211. package/dist/chunks/chunk.43PNVQ2M.js.map +0 -7
  212. package/dist/chunks/chunk.67SXXBDE.js.map +0 -7
  213. package/dist/chunks/chunk.VIV2SMKB.js.map +0 -7
  214. package/dist/chunks/chunk.WU22WCIW.js.map +0 -7
  215. /package/dist/chunks/{chunk.AEYPPPBN.js.map → chunk.245S7GWI.js.map} +0 -0
  216. /package/dist/chunks/{chunk.3YXGL6PB.js.map → chunk.2YJPFMPZ.js.map} +0 -0
  217. /package/dist/chunks/{chunk.SAP4WZHM.js.map → chunk.2ZILCVCN.js.map} +0 -0
  218. /package/dist/chunks/{chunk.F4TQMBPQ.js.map → chunk.3GKI2SN6.js.map} +0 -0
  219. /package/dist/chunks/{chunk.IY7C7TXC.js.map → chunk.3GR65RWU.js.map} +0 -0
  220. /package/dist/chunks/{chunk.MVTYOC4G.js.map → chunk.4E6YKCXO.js.map} +0 -0
  221. /package/dist/chunks/{chunk.NHGGACXF.js.map → chunk.5IZZU7YZ.js.map} +0 -0
  222. /package/dist/chunks/{chunk.GCRD4HSU.js.map → chunk.5MJ6U3ZD.js.map} +0 -0
  223. /package/dist/chunks/{chunk.QCDUTFT3.js.map → chunk.5RXKCWCZ.js.map} +0 -0
  224. /package/dist/chunks/{chunk.UE5Y2G5J.js.map → chunk.66X6L2S6.js.map} +0 -0
  225. /package/dist/chunks/{chunk.UJ7DPXBG.js.map → chunk.6I4PJUUF.js.map} +0 -0
  226. /package/dist/chunks/{chunk.MON5ZZWQ.js.map → chunk.6UFMDQHA.js.map} +0 -0
  227. /package/dist/chunks/{chunk.FIFYXTSV.js.map → chunk.6WGVJKL6.js.map} +0 -0
  228. /package/dist/chunks/{chunk.GH7M77F4.js.map → chunk.7FW3LXOS.js.map} +0 -0
  229. /package/dist/chunks/{chunk.U6RTUABL.js.map → chunk.AAI3YT4E.js.map} +0 -0
  230. /package/dist/chunks/{chunk.GPDFPMAA.js.map → chunk.ANA4XLX5.js.map} +0 -0
  231. /package/dist/chunks/{chunk.V2JF2ARW.js.map → chunk.ATBW2OIF.js.map} +0 -0
  232. /package/dist/chunks/{chunk.2FVXIEHW.js.map → chunk.BDVEGRSM.js.map} +0 -0
  233. /package/dist/chunks/{chunk.ERWTU5QM.js.map → chunk.BHRS27UA.js.map} +0 -0
  234. /package/dist/chunks/{chunk.PIVTCFVM.js.map → chunk.C6TYP6DS.js.map} +0 -0
  235. /package/dist/chunks/{chunk.GL3EYIRY.js.map → chunk.C6UWNTFC.js.map} +0 -0
  236. /package/dist/chunks/{chunk.BNHJ5OKO.js.map → chunk.CADFUJEC.js.map} +0 -0
  237. /package/dist/chunks/{chunk.FXO36T5G.js.map → chunk.CFPUCJM4.js.map} +0 -0
  238. /package/dist/chunks/{chunk.ZSQOHWZW.js.map → chunk.CRNTLHHO.js.map} +0 -0
  239. /package/dist/chunks/{chunk.E7I3J5SD.js.map → chunk.CTIV3PDX.js.map} +0 -0
  240. /package/dist/chunks/{chunk.QDJC3QVC.js.map → chunk.DQDMEFGY.js.map} +0 -0
  241. /package/dist/chunks/{chunk.MWFVQQRA.js.map → chunk.DXU26VPN.js.map} +0 -0
  242. /package/dist/chunks/{chunk.Q3BJU6OI.js.map → chunk.ERRWQS7Y.js.map} +0 -0
  243. /package/dist/chunks/{chunk.MPFHBRBB.js.map → chunk.F6QEUBK3.js.map} +0 -0
  244. /package/dist/chunks/{chunk.QOSVIEWF.js.map → chunk.FMX3E6SS.js.map} +0 -0
  245. /package/dist/chunks/{chunk.TR5DMYXN.js.map → chunk.G4XRAVPS.js.map} +0 -0
  246. /package/dist/chunks/{chunk.4KZG5ZGR.js.map → chunk.GBHDS2IR.js.map} +0 -0
  247. /package/dist/chunks/{chunk.MIVLWJE3.js.map → chunk.GCRXP6BG.js.map} +0 -0
  248. /package/dist/chunks/{chunk.QCEDZQIZ.js.map → chunk.GFJ5QZBK.js.map} +0 -0
  249. /package/dist/chunks/{chunk.PHSST3GN.js.map → chunk.GMYIVXWP.js.map} +0 -0
  250. /package/dist/chunks/{chunk.MKXDHGKC.js.map → chunk.H7FTAZDC.js.map} +0 -0
  251. /package/dist/chunks/{chunk.RUVDIFIF.js.map → chunk.HANB33UT.js.map} +0 -0
  252. /package/dist/chunks/{chunk.QAD2SZSR.js.map → chunk.HB7DPOMI.js.map} +0 -0
  253. /package/dist/chunks/{chunk.V5KACUQG.js.map → chunk.HC77F5GA.js.map} +0 -0
  254. /package/dist/chunks/{chunk.WCOUFKSE.js.map → chunk.HIJUMXP4.js.map} +0 -0
  255. /package/dist/chunks/{chunk.RY2FCMQD.js.map → chunk.HN5M2E74.js.map} +0 -0
  256. /package/dist/chunks/{chunk.EFJBDR7Z.js.map → chunk.HVUYGACL.js.map} +0 -0
  257. /package/dist/chunks/{chunk.IS3GLJCO.js.map → chunk.J4AQWKAH.js.map} +0 -0
  258. /package/dist/chunks/{chunk.3P2RJ7Q2.js.map → chunk.JE7DIAFP.js.map} +0 -0
  259. /package/dist/chunks/{chunk.XWD7JUJ3.js.map → chunk.JLARVA4R.js.map} +0 -0
  260. /package/dist/chunks/{chunk.EA3473S6.js.map → chunk.JUON2HSD.js.map} +0 -0
  261. /package/dist/chunks/{chunk.2NU65US2.js.map → chunk.JVY2KNFK.js.map} +0 -0
  262. /package/dist/chunks/{chunk.JW7A7O45.js.map → chunk.KDYONRAA.js.map} +0 -0
  263. /package/dist/chunks/{chunk.WTGV2YHS.js.map → chunk.KSCYTDDN.js.map} +0 -0
  264. /package/dist/chunks/{chunk.RSI47MJF.js.map → chunk.KVGLARVX.js.map} +0 -0
  265. /package/dist/chunks/{chunk.XHCIGXHD.js.map → chunk.LGYTX653.js.map} +0 -0
  266. /package/dist/chunks/{chunk.MINKKHKX.js.map → chunk.LX6MQEJV.js.map} +0 -0
  267. /package/dist/chunks/{chunk.MBU55RN2.js.map → chunk.MBRJXK3O.js.map} +0 -0
  268. /package/dist/chunks/{chunk.YRL6NFIW.js.map → chunk.ME6NYHXY.js.map} +0 -0
  269. /package/dist/chunks/{chunk.47LU3JDG.js.map → chunk.MJSQXS35.js.map} +0 -0
  270. /package/dist/chunks/{chunk.NZUG4LYW.js.map → chunk.NDXRKDL3.js.map} +0 -0
  271. /package/dist/chunks/{chunk.DBE55F4E.js.map → chunk.NEOUHIDX.js.map} +0 -0
  272. /package/dist/chunks/{chunk.YAKAIJGX.js.map → chunk.NJV5WZBN.js.map} +0 -0
  273. /package/dist/chunks/{chunk.6K5UWP6M.js.map → chunk.NJXXQYZX.js.map} +0 -0
  274. /package/dist/chunks/{chunk.2EJUYOXJ.js.map → chunk.P7ET37O6.js.map} +0 -0
  275. /package/dist/chunks/{chunk.RID4SZEA.js.map → chunk.PBILQMHE.js.map} +0 -0
  276. /package/dist/chunks/{chunk.YR46HSA7.js.map → chunk.PBYEKOOF.js.map} +0 -0
  277. /package/dist/chunks/{chunk.JY3G4O3W.js.map → chunk.Q3LUZOD3.js.map} +0 -0
  278. /package/dist/chunks/{chunk.A3ONRZQG.js.map → chunk.RAHUTBPN.js.map} +0 -0
  279. /package/dist/chunks/{chunk.O7YHFE5A.js.map → chunk.RCRHMX5J.js.map} +0 -0
  280. /package/dist/chunks/{chunk.OKUJNBZA.js.map → chunk.RDRWZE6I.js.map} +0 -0
  281. /package/dist/chunks/{chunk.CWATEWX3.js.map → chunk.RHKI2RSX.js.map} +0 -0
  282. /package/dist/chunks/{chunk.HXICOH2D.js.map → chunk.ROS6G7F5.js.map} +0 -0
  283. /package/dist/chunks/{chunk.775OBFIE.js.map → chunk.RZKOGDMT.js.map} +0 -0
  284. /package/dist/chunks/{chunk.SOOHRWAC.js.map → chunk.TAHGMS7X.js.map} +0 -0
  285. /package/dist/chunks/{chunk.4N4F6TPI.js.map → chunk.TLOBRCJ7.js.map} +0 -0
  286. /package/dist/chunks/{chunk.72SPXN4M.js.map → chunk.TMIYLOAZ.js.map} +0 -0
  287. /package/dist/chunks/{chunk.4P5VXNLJ.js.map → chunk.TTKLTIKP.js.map} +0 -0
  288. /package/dist/chunks/{chunk.5YDLLB4H.js.map → chunk.TVIGWT6Z.js.map} +0 -0
  289. /package/dist/chunks/{chunk.2FMOTYVN.js.map → chunk.UUOIHYGE.js.map} +0 -0
  290. /package/dist/chunks/{chunk.QEVG633Q.js.map → chunk.VMO643NZ.js.map} +0 -0
  291. /package/dist/chunks/{chunk.LXB2K2EP.js.map → chunk.VPLFHUPG.js.map} +0 -0
  292. /package/dist/chunks/{chunk.WZBR6MRC.js.map → chunk.WH653LKD.js.map} +0 -0
  293. /package/dist/chunks/{chunk.S2CO77RZ.js.map → chunk.WQ5WXIL6.js.map} +0 -0
  294. /package/dist/chunks/{chunk.477UZTHM.js.map → chunk.XLWYE4TZ.js.map} +0 -0
  295. /package/dist/chunks/{chunk.G2E6IU6K.js.map → chunk.XYTP4HII.js.map} +0 -0
  296. /package/dist/chunks/{chunk.IHHIBS6E.js.map → chunk.YBI7X2BA.js.map} +0 -0
  297. /package/dist/chunks/{chunk.PV2BBLSA.js.map → chunk.YCOTL24V.js.map} +0 -0
  298. /package/dist/chunks/{chunk.EAS6P6PE.js.map → chunk.YNYJD6XX.js.map} +0 -0
  299. /package/dist/chunks/{chunk.CJPSAUTD.js.map → chunk.YS5HAVJH.js.map} +0 -0
  300. /package/dist/chunks/{chunk.UJGWVOQC.js.map → chunk.Z4KPGJ4M.js.map} +0 -0
  301. /package/dist/chunks/{chunk.2SFJYVUS.js.map → chunk.ZC3WZ4HD.js.map} +0 -0
  302. /package/dist/chunks/{chunk.EKQIQ2DM.js.map → chunk.ZNBA6PHQ.js.map} +0 -0
  303. /package/dist/chunks/{chunk.XWRFKT3X.js.map → chunk.ZUHAUFNE.js.map} +0 -0
@@ -103,6 +103,12 @@ const SynCheckbox = {
103
103
  * @type {import('html-validate').MetaElement}
104
104
  */
105
105
  const SynCombobox = {
106
+ attributes: {
107
+ hoist: {
108
+ boolean: true,
109
+ deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
110
+ },
111
+ },
106
112
  flow: true,
107
113
  focusable: true,
108
114
  formAssociated,
@@ -146,6 +152,12 @@ const SynDrawer = {
146
152
  * @type {import('html-validate').MetaElement}
147
153
  */
148
154
  const SynDropdown = {
155
+ attributes: {
156
+ hoist: {
157
+ boolean: true,
158
+ deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
159
+ },
160
+ },
149
161
  flow: true,
150
162
  focusable: true,
151
163
  };
@@ -327,6 +339,12 @@ const SynRange = {
327
339
  * @type {import('html-validate').MetaElement}
328
340
  */
329
341
  const SynSelect = {
342
+ attributes: {
343
+ hoist: {
344
+ boolean: true,
345
+ deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
346
+ },
347
+ },
330
348
  flow: true,
331
349
  focusable: true,
332
350
  formAssociated,
@@ -410,6 +428,12 @@ const SynTextarea = {
410
428
  * @type {import('html-validate').MetaElement}
411
429
  */
412
430
  const SynTooltip = {
431
+ attributes: {
432
+ hoist: {
433
+ boolean: true,
434
+ deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
435
+ },
436
+ },
413
437
  flow: true,
414
438
  interactive: true,
415
439
  };
@@ -3,13 +3,13 @@ import {
3
3
  isBlurEvent,
4
4
  isInvalidEvent,
5
5
  normalizeEventAttribute
6
- } from "./chunk.RY2FCMQD.js";
6
+ } from "./chunk.HN5M2E74.js";
7
7
  import {
8
8
  validate_styles_default
9
9
  } from "./chunk.MVM3NN6Y.js";
10
10
  import {
11
11
  SynAlert
12
- } from "./chunk.GH7M77F4.js";
12
+ } from "./chunk.7FW3LXOS.js";
13
13
  import {
14
14
  watch
15
15
  } from "./chunk.BVZQ6QSY.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk.NLYVOJGK.js";
22
22
  import {
23
23
  SynergyElement
24
- } from "./chunk.F6FD2FQX.js";
24
+ } from "./chunk.7C42R3TS.js";
25
25
  import {
26
26
  __decorateClass
27
27
  } from "./chunk.Z4XV3SMG.js";
@@ -333,4 +333,4 @@ SynValidate = __decorateClass([
333
333
  export {
334
334
  SynValidate
335
335
  };
336
- //# sourceMappingURL=chunk.AEYPPPBN.js.map
336
+ //# sourceMappingURL=chunk.245S7GWI.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.NLYVOJGK.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.F6FD2FQX.js";
9
+ } from "./chunk.7C42R3TS.js";
10
10
  import {
11
11
  __decorateClass
12
12
  } from "./chunk.Z4XV3SMG.js";
@@ -48,4 +48,4 @@ __decorateClass([
48
48
  export {
49
49
  SynRangeTick
50
50
  };
51
- //# sourceMappingURL=chunk.3YXGL6PB.js.map
51
+ //# sourceMappingURL=chunk.2YJPFMPZ.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.NLYVOJGK.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.F6FD2FQX.js";
12
+ } from "./chunk.7C42R3TS.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.Z4XV3SMG.js";
@@ -78,4 +78,4 @@ __decorateClass([
78
78
  export {
79
79
  SynResizeObserver
80
80
  };
81
- //# sourceMappingURL=chunk.SAP4WZHM.js.map
81
+ //# sourceMappingURL=chunk.2ZILCVCN.js.map
@@ -0,0 +1,23 @@
1
+ // src/components/popup/popup.custom.styles.ts
2
+ import { css } from "lit";
3
+ var popup_custom_styles_default = css`
4
+ .popup {
5
+ /* Clear UA styles for [popover] */
6
+ :where(&) {
7
+ background: unset;
8
+ border: unset;
9
+ color: unset;
10
+ height: unset;
11
+ inset: unset;
12
+ margin: unset;
13
+ overflow: unset;
14
+ padding: unset;
15
+ width: unset;
16
+ }
17
+ }
18
+ `;
19
+
20
+ export {
21
+ popup_custom_styles_default
22
+ };
23
+ //# sourceMappingURL=chunk.36EHOOOO.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/popup/popup.custom.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .popup {\n /* Clear UA styles for [popover] */\n :where(&) {\n background: unset;\n border: unset;\n color: unset;\n height: unset;\n inset: unset;\n margin: unset;\n overflow: unset;\n padding: unset;\n width: unset;\n }\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,8BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.MJ7R4QQT.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.MPFHBRBB.js";
6
+ } from "./chunk.F6QEUBK3.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.F6FD2FQX.js";
12
+ } from "./chunk.7C42R3TS.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.Z4XV3SMG.js";
@@ -131,4 +131,4 @@ __decorateClass([
131
131
  export {
132
132
  SynOptgroup
133
133
  };
134
- //# sourceMappingURL=chunk.F4TQMBPQ.js.map
134
+ //# sourceMappingURL=chunk.3GKI2SN6.js.map
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk.WVVQK5TE.js";
20
20
  import {
21
21
  SynIcon
22
- } from "./chunk.RSI47MJF.js";
22
+ } from "./chunk.KVGLARVX.js";
23
23
  import {
24
24
  watch
25
25
  } from "./chunk.BVZQ6QSY.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk.NLYVOJGK.js";
32
32
  import {
33
33
  SynergyElement
34
- } from "./chunk.F6FD2FQX.js";
34
+ } from "./chunk.7C42R3TS.js";
35
35
  import {
36
36
  __decorateClass
37
37
  } from "./chunk.Z4XV3SMG.js";
@@ -267,4 +267,4 @@ SynCheckbox = __decorateClass([
267
267
  export {
268
268
  SynCheckbox
269
269
  };
270
- //# sourceMappingURL=chunk.IY7C7TXC.js.map
270
+ //# sourceMappingURL=chunk.3GR65RWU.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.43YNZAWL.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.UE5Y2G5J.js";
9
+ } from "./chunk.66X6L2S6.js";
10
10
  import {
11
11
  watch
12
12
  } from "./chunk.BVZQ6QSY.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk.NLYVOJGK.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.F6FD2FQX.js";
21
+ } from "./chunk.7C42R3TS.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.Z4XV3SMG.js";
@@ -118,4 +118,4 @@ __decorateClass([
118
118
  export {
119
119
  SynTab
120
120
  };
121
- //# sourceMappingURL=chunk.MVTYOC4G.js.map
121
+ //# sourceMappingURL=chunk.4E6YKCXO.js.map
@@ -9,17 +9,17 @@ import {
9
9
  } from "./chunk.V4HPWQE7.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.67SXXBDE.js";
12
+ } from "./chunk.L6GZTHH2.js";
13
13
  import {
14
14
  SynSpinner
15
- } from "./chunk.QCDUTFT3.js";
15
+ } from "./chunk.5RXKCWCZ.js";
16
16
  import {
17
17
  HasSlotController,
18
18
  getTextContent
19
19
  } from "./chunk.WVVQK5TE.js";
20
20
  import {
21
21
  SynIcon
22
- } from "./chunk.RSI47MJF.js";
22
+ } from "./chunk.KVGLARVX.js";
23
23
  import {
24
24
  watch
25
25
  } from "./chunk.BVZQ6QSY.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk.NLYVOJGK.js";
32
32
  import {
33
33
  SynergyElement
34
- } from "./chunk.F6FD2FQX.js";
34
+ } from "./chunk.7C42R3TS.js";
35
35
  import {
36
36
  __decorateClass,
37
37
  __privateAdd,
@@ -241,4 +241,4 @@ SynMenuItem = __decorateClass([
241
241
  export {
242
242
  SynMenuItem
243
243
  };
244
- //# sourceMappingURL=chunk.NHGGACXF.js.map
244
+ //# sourceMappingURL=chunk.5IZZU7YZ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.O644HRW3.js";
7
7
  import {
8
8
  SynPopup
9
- } from "./chunk.67SXXBDE.js";
9
+ } from "./chunk.L6GZTHH2.js";
10
10
  import {
11
11
  waitForEvent
12
12
  } from "./chunk.C2ENQBPM.js";
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk.NLYVOJGK.js";
31
31
  import {
32
32
  SynergyElement
33
- } from "./chunk.F6FD2FQX.js";
33
+ } from "./chunk.7C42R3TS.js";
34
34
  import {
35
35
  __decorateClass
36
36
  } from "./chunk.Z4XV3SMG.js";
@@ -275,4 +275,4 @@ setDefaultAnimation("tooltip.hide", {
275
275
  export {
276
276
  SynTooltip
277
277
  };
278
- //# sourceMappingURL=chunk.GNDG3SJQ.js.map
278
+ //# sourceMappingURL=chunk.5M5HOQHE.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/tooltip/tooltip.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 { animateTo, parseDuration, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynPopup from '../popup/popup.component.js';\nimport styles from './tooltip.styles.js';\nimport customStyles from './tooltip.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Tooltips display additional information based on a specific action.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tooltip--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-popup\n *\n * @slot - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n * @slot content - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n *\n * @event syn-show - Emitted when the tooltip begins to show.\n * @event syn-after-show - Emitted after the tooltip has shown and all animations are complete.\n * @event syn-hide - Emitted when the tooltip begins to hide.\n * @event syn-after-hide - Emitted after the tooltip has hidden and all animations are complete.\n *\n * @csspart base - The component's base wrapper, an `<syn-popup>` element.\n * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n * @csspart base__arrow - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n * @csspart body - The tooltip's body where its content is rendered.\n *\n * @cssproperty --max-width - The maximum width of the tooltip before its content will wrap.\n * @cssproperty --hide-delay - The amount of time to wait before hiding the tooltip when hovering.\n * @cssproperty --show-delay - The amount of time to wait before showing the tooltip when hovering.\n *\n * @animation tooltip.show - The animation to use when showing the tooltip.\n * @animation tooltip.hide - The animation to use when hiding the tooltip.\n */\nexport default class SynTooltip extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-popup': SynPopup };\n\n private hoverTimeout: number;\n private readonly localize = new LocalizeController(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.tooltip__body') body: HTMLElement;\n @query('syn-popup') popup: SynPopup;\n\n /** The tooltip's content. If you need to display HTML, use the `content` slot instead. */\n @property() content = '';\n\n /**\n * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\n * inside of the viewport.\n */\n @property() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** Disables the tooltip so it won't show when triggered. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** The distance in pixels from which to offset the tooltip away from its target. */\n @property({ type: Number }) distance = 13;\n\n /** Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods. */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** The distance in pixels from which to offset the tooltip along its target. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\n * options can be passed by separating them with a space. When manual is used, the tooltip must be activated\n * programmatically.\n */\n @property() trigger = 'hover focus';\n\n /**\n * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n * `overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\n * scenarios.\n */\n @property({ type: Boolean }) hoist = false;\n\n constructor() {\n super();\n this.addEventListener('blur', this.handleBlur, true);\n this.addEventListener('focus', this.handleFocus, true);\n this.addEventListener('click', this.handleClick);\n this.addEventListener('mouseover', this.handleMouseOver);\n this.addEventListener('mouseout', this.handleMouseOut);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n // Cleanup this event in case the tooltip is removed while open\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n firstUpdated() {\n this.body.hidden = !this.open;\n\n // If the tooltip is visible on init, update its position\n if (this.open) {\n this.popup.active = true;\n this.popup.reposition();\n }\n }\n\n private handleBlur = () => {\n if (this.hasTrigger('focus')) {\n this.hide();\n }\n };\n\n private handleClick = () => {\n if (this.hasTrigger('click')) {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n };\n\n private handleFocus = () => {\n if (this.hasTrigger('focus')) {\n this.show();\n }\n };\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Pressing escape when a tooltip is open should dismiss it\n if (event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n }\n };\n\n private handleMouseOver = () => {\n if (this.hasTrigger('hover')) {\n const delay = parseDuration(getComputedStyle(this).getPropertyValue('--show-delay'));\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = window.setTimeout(() => this.show(), delay);\n }\n };\n\n private handleMouseOut = () => {\n if (this.hasTrigger('hover')) {\n const delay = parseDuration(getComputedStyle(this).getPropertyValue('--hide-delay'));\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = window.setTimeout(() => this.hide(), delay);\n }\n };\n\n private hasTrigger(triggerType: string) {\n const triggers = this.trigger.split(' ');\n return triggers.includes(triggerType);\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n if (this.disabled) {\n return;\n }\n\n // Show\n this.emit('syn-show');\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n this.hide();\n };\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n await stopAnimations(this.body);\n this.body.hidden = false;\n this.popup.active = true;\n const { keyframes, options } = getAnimation(this, 'tooltip.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.popup.reposition();\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n\n await stopAnimations(this.body);\n const { keyframes, options } = getAnimation(this, 'tooltip.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.popup.active = false;\n this.body.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch(['content', 'distance', 'hoist', 'placement', 'skidding'])\n async handleOptionsChange() {\n if (this.hasUpdated) {\n await this.updateComplete;\n this.popup.reposition();\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n if (this.disabled && this.open) {\n this.hide();\n }\n }\n\n /** Shows the tooltip. */\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 tooltip */\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 //\n // NOTE: Tooltip is a bit unique in that we're using aria-live instead of aria-labelledby to trick screen readers into\n // announcing the content. It works really well, but it violates an accessibility rule. We're also adding the\n // aria-describedby attribute to a slot, which is required by <syn-popup> to correctly locate the first assigned\n // element, otherwise positioning is incorrect.\n //\n render() {\n return html`\n <syn-popup\n part=\"base\"\n exportparts=\"\n popup:base__popup,\n arrow:base__arrow\n \"\n class=${classMap({\n tooltip: true,\n 'tooltip--open': this.open\n })}\n placement=${this.placement}\n distance=${this.distance}\n skidding=${this.skidding}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n arrow\n hover-bridge\n >\n ${'' /* eslint-disable-next-line lit-a11y/no-aria-slot */}\n <slot slot=\"anchor\" aria-describedby=\"tooltip\"></slot>\n\n ${'' /* eslint-disable-next-line lit-a11y/accessible-name */}\n <div part=\"body\" id=\"tooltip\" class=\"tooltip__body\" role=\"tooltip\" aria-live=${this.open ? 'polite' : 'off'}>\n <slot name=\"content\">${this.content}</slot>\n </div>\n </syn-popup>\n `;\n }\n}\n\nsetDefaultAnimation('tooltip.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 150, easing: 'ease' }\n});\n\nsetDefaultAnimation('tooltip.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 150, easing: 'ease' }\n});\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,UAAU,aAAa;AAsChC,IAAqB,aAArB,cAAwC,eAAe;AAAA,EA2DrD,cAAc;AACZ,UAAM;AAvDR,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAQ3C,mBAAU;AAMV,qBAYK;AAG2B,oBAAW;AAG3B,oBAAW;AAGK,gBAAO;AAGvB,oBAAW;AAO3B,mBAAU;AAOO,iBAAQ;AA4BrC,SAAQ,aAAa,MAAM;AACzB,UAAI,KAAK,WAAW,OAAO,GAAG;AAC5B,aAAK,KAAK;AAAA,MACZ;AAAA,IACF;AAEA,SAAQ,cAAc,MAAM;AAC1B,UAAI,KAAK,WAAW,OAAO,GAAG;AAC5B,YAAI,KAAK,MAAM;AACb,eAAK,KAAK;AAAA,QACZ,OAAO;AACL,eAAK,KAAK;AAAA,QACZ;AAAA,MACF;AAAA,IACF;AAEA,SAAQ,cAAc,MAAM;AAC1B,UAAI,KAAK,WAAW,OAAO,GAAG;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EAAE,MAAM,OAAO,CAAC;AAAA,GArCP,WAqCS;AAGgB;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAxCvB,WAwCyB;AAGhB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA3CP,WA2CS;AAOhB;AAAA,EAAX,SAAS;AAAA,GAlDS,WAkDP;AAOiB;AAAA,EAA5B,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAzDR,WAyDU;AAgFvB;AAAA,EADL,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAxI1B,WAyIb;AA2CA;AAAA,EADL,MAAM,CAAC,WAAW,YAAY,SAAS,aAAa,UAAU,CAAC;AAAA,GAnL7C,WAoLb;AAQN;AAAA,EADC,MAAM,UAAU;AAAA,GA3LE,WA4LnB;AAiEF,oBAAoB,gBAAgB;AAAA,EAClC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,gBAAgB;AAAA,EAClC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
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, parseDuration, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynPopup from '../popup/popup.component.js';\nimport styles from './tooltip.styles.js';\nimport customStyles from './tooltip.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Tooltips display additional information based on a specific action.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tooltip--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-popup\n *\n * @slot - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n * @slot content - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n *\n * @event syn-show - Emitted when the tooltip begins to show.\n * @event syn-after-show - Emitted after the tooltip has shown and all animations are complete.\n * @event syn-hide - Emitted when the tooltip begins to hide.\n * @event syn-after-hide - Emitted after the tooltip has hidden and all animations are complete.\n *\n * @csspart base - The component's base wrapper, an `<syn-popup>` element.\n * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n * @csspart base__arrow - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n * @csspart body - The tooltip's body where its content is rendered.\n *\n * @cssproperty --max-width - The maximum width of the tooltip before its content will wrap.\n * @cssproperty --hide-delay - The amount of time to wait before hiding the tooltip when hovering.\n * @cssproperty --show-delay - The amount of time to wait before showing the tooltip when hovering.\n *\n * @animation tooltip.show - The animation to use when showing the tooltip.\n * @animation tooltip.hide - The animation to use when hiding the tooltip.\n */\nexport default class SynTooltip extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-popup': SynPopup };\n\n private hoverTimeout: number;\n private readonly localize = new LocalizeController(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.tooltip__body') body: HTMLElement;\n @query('syn-popup') popup: SynPopup;\n\n /** The tooltip's content. If you need to display HTML, use the `content` slot instead. */\n @property() content = '';\n\n /**\n * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\n * inside of the viewport.\n */\n @property() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** Disables the tooltip so it won't show when triggered. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** The distance in pixels from which to offset the tooltip away from its target. */\n @property({ type: Number }) distance = 13;\n\n /** Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods. */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** The distance in pixels from which to offset the tooltip along its target. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\n * options can be passed by separating them with a space. When manual is used, the tooltip must be activated\n * programmatically.\n */\n @property() trigger = 'hover focus';\n\n /**\n * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n * `overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\n * scenarios.\n * @deprecated This property is deprecated and will be removed in the next major version.\n */\n @property({ type: Boolean }) hoist = false;\n\n constructor() {\n super();\n this.addEventListener('blur', this.handleBlur, true);\n this.addEventListener('focus', this.handleFocus, true);\n this.addEventListener('click', this.handleClick);\n this.addEventListener('mouseover', this.handleMouseOver);\n this.addEventListener('mouseout', this.handleMouseOut);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n // Cleanup this event in case the tooltip is removed while open\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n firstUpdated() {\n this.body.hidden = !this.open;\n\n // If the tooltip is visible on init, update its position\n if (this.open) {\n this.popup.active = true;\n this.popup.reposition();\n }\n }\n\n private handleBlur = () => {\n if (this.hasTrigger('focus')) {\n this.hide();\n }\n };\n\n private handleClick = () => {\n if (this.hasTrigger('click')) {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n };\n\n private handleFocus = () => {\n if (this.hasTrigger('focus')) {\n this.show();\n }\n };\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Pressing escape when a tooltip is open should dismiss it\n if (event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n }\n };\n\n private handleMouseOver = () => {\n if (this.hasTrigger('hover')) {\n const delay = parseDuration(getComputedStyle(this).getPropertyValue('--show-delay'));\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = window.setTimeout(() => this.show(), delay);\n }\n };\n\n private handleMouseOut = () => {\n if (this.hasTrigger('hover')) {\n const delay = parseDuration(getComputedStyle(this).getPropertyValue('--hide-delay'));\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = window.setTimeout(() => this.hide(), delay);\n }\n };\n\n private hasTrigger(triggerType: string) {\n const triggers = this.trigger.split(' ');\n return triggers.includes(triggerType);\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n if (this.disabled) {\n return;\n }\n\n // Show\n this.emit('syn-show');\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n this.hide();\n };\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n await stopAnimations(this.body);\n this.body.hidden = false;\n this.popup.active = true;\n const { keyframes, options } = getAnimation(this, 'tooltip.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.popup.reposition();\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n\n await stopAnimations(this.body);\n const { keyframes, options } = getAnimation(this, 'tooltip.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.popup.active = false;\n this.body.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch(['content', 'distance', 'hoist', 'placement', 'skidding'])\n async handleOptionsChange() {\n if (this.hasUpdated) {\n await this.updateComplete;\n this.popup.reposition();\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n if (this.disabled && this.open) {\n this.hide();\n }\n }\n\n /** Shows the tooltip. */\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 tooltip */\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 //\n // NOTE: Tooltip is a bit unique in that we're using aria-live instead of aria-labelledby to trick screen readers into\n // announcing the content. It works really well, but it violates an accessibility rule. We're also adding the\n // aria-describedby attribute to a slot, which is required by <syn-popup> to correctly locate the first assigned\n // element, otherwise positioning is incorrect.\n //\n render() {\n return html`\n <syn-popup\n part=\"base\"\n exportparts=\"\n popup:base__popup,\n arrow:base__arrow\n \"\n class=${classMap({\n tooltip: true,\n 'tooltip--open': this.open\n })}\n placement=${this.placement}\n distance=${this.distance}\n skidding=${this.skidding}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n arrow\n hover-bridge\n >\n ${'' /* eslint-disable-next-line lit-a11y/no-aria-slot */}\n <slot slot=\"anchor\" aria-describedby=\"tooltip\"></slot>\n\n ${'' /* eslint-disable-next-line lit-a11y/accessible-name */}\n <div part=\"body\" id=\"tooltip\" class=\"tooltip__body\" role=\"tooltip\" aria-live=${this.open ? 'polite' : 'off'}>\n <slot name=\"content\">${this.content}</slot>\n </div>\n </syn-popup>\n `;\n }\n}\n\nsetDefaultAnimation('tooltip.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 150, easing: 'ease' }\n});\n\nsetDefaultAnimation('tooltip.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: {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GA5LE,WA6LnB;AAiEF,oBAAoB,gBAAgB;AAAA,EAClC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,gBAAgB;AAAA,EAClC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenu
3
- } from "./chunk.2FVXIEHW.js";
3
+ } from "./chunk.BDVEGRSM.js";
4
4
 
5
5
  // src/components/menu/menu.ts
6
6
  var menu_default = SynMenu;
@@ -9,4 +9,4 @@ SynMenu.define("syn-menu");
9
9
  export {
10
10
  menu_default
11
11
  };
12
- //# sourceMappingURL=chunk.GCRD4HSU.js.map
12
+ //# sourceMappingURL=chunk.5MJ6U3ZD.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.F6FD2FQX.js";
15
+ } from "./chunk.7C42R3TS.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.QCDUTFT3.js.map
38
+ //# sourceMappingURL=chunk.5RXKCWCZ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.DZ7YIR5N.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.RSI47MJF.js";
9
+ } from "./chunk.KVGLARVX.js";
10
10
  import {
11
11
  enableDefaultSettings
12
12
  } from "./chunk.E5UUNP6E.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.NLYVOJGK.js";
16
16
  import {
17
17
  SynergyElement
18
- } from "./chunk.F6FD2FQX.js";
18
+ } from "./chunk.7C42R3TS.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.Z4XV3SMG.js";
@@ -144,4 +144,4 @@ SynIconButton = __decorateClass([
144
144
  export {
145
145
  SynIconButton
146
146
  };
147
- //# sourceMappingURL=chunk.UE5Y2G5J.js.map
147
+ //# sourceMappingURL=chunk.66X6L2S6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTooltip
3
- } from "./chunk.GNDG3SJQ.js";
3
+ } from "./chunk.5M5HOQHE.js";
4
4
 
5
5
  // src/components/tooltip/tooltip.ts
6
6
  var tooltip_default = SynTooltip;
@@ -9,4 +9,4 @@ SynTooltip.define("syn-tooltip");
9
9
  export {
10
10
  tooltip_default
11
11
  };
12
- //# sourceMappingURL=chunk.UJ7DPXBG.js.map
12
+ //# sourceMappingURL=chunk.6I4PJUUF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynProgressRing
3
- } from "./chunk.2EJUYOXJ.js";
3
+ } from "./chunk.P7ET37O6.js";
4
4
 
5
5
  // src/components/progress-ring/progress-ring.ts
6
6
  var progress_ring_default = SynProgressRing;
@@ -9,4 +9,4 @@ SynProgressRing.define("syn-progress-ring");
9
9
  export {
10
10
  progress_ring_default
11
11
  };
12
- //# sourceMappingURL=chunk.MON5ZZWQ.js.map
12
+ //# sourceMappingURL=chunk.6UFMDQHA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBreadcrumbItem
3
- } from "./chunk.IS3GLJCO.js";
3
+ } from "./chunk.J4AQWKAH.js";
4
4
 
5
5
  // src/components/breadcrumb-item/breadcrumb-item.ts
6
6
  var breadcrumb_item_default = SynBreadcrumbItem;
@@ -9,4 +9,4 @@ SynBreadcrumbItem.define("syn-breadcrumb-item");
9
9
  export {
10
10
  breadcrumb_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.FIFYXTSV.js.map
12
+ //# sourceMappingURL=chunk.6WGVJKL6.js.map
@@ -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.45.0";
84
+ SynergyElement.version = "2.45.1";
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.F6FD2FQX.js.map
96
+ //# sourceMappingURL=chunk.7C42R3TS.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.45.0\";\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.45.1\";\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;AA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GAFS,eAEP;AACA;AAAA,EAAX,SAAS;AAAA,GAHS,eAGP;",
6
6
  "names": []
7
7
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.WXVOTRW5.js";
4
4
  import {
5
5
  SynIconButton
6
- } from "./chunk.UE5Y2G5J.js";
6
+ } from "./chunk.66X6L2S6.js";
7
7
  import {
8
8
  waitForEvent
9
9
  } from "./chunk.C2ENQBPM.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk.NLYVOJGK.js";
39
39
  import {
40
40
  SynergyElement
41
- } from "./chunk.F6FD2FQX.js";
41
+ } from "./chunk.7C42R3TS.js";
42
42
  import {
43
43
  __decorateClass
44
44
  } from "./chunk.Z4XV3SMG.js";
@@ -288,4 +288,4 @@ setDefaultAnimation("alert.hide", {
288
288
  export {
289
289
  SynAlert
290
290
  };
291
- //# sourceMappingURL=chunk.GH7M77F4.js.map
291
+ //# sourceMappingURL=chunk.7FW3LXOS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRangeTick
3
- } from "./chunk.3YXGL6PB.js";
3
+ } from "./chunk.2YJPFMPZ.js";
4
4
 
5
5
  // src/components/range-tick/range-tick.ts
6
6
  var range_tick_default = SynRangeTick;
@@ -9,4 +9,4 @@ SynRangeTick.define("syn-range-tick");
9
9
  export {
10
10
  range_tick_default
11
11
  };
12
- //# sourceMappingURL=chunk.U6RTUABL.js.map
12
+ //# sourceMappingURL=chunk.AAI3YT4E.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynProgressBar
3
- } from "./chunk.RID4SZEA.js";
3
+ } from "./chunk.PBILQMHE.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.GPDFPMAA.js.map
12
+ //# sourceMappingURL=chunk.ANA4XLX5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuLabel
3
- } from "./chunk.2FMOTYVN.js";
3
+ } from "./chunk.UUOIHYGE.js";
4
4
 
5
5
  // src/components/menu-label/menu-label.ts
6
6
  var menu_label_default = SynMenuLabel;
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
9
9
  export {
10
10
  menu_label_default
11
11
  };
12
- //# sourceMappingURL=chunk.V2JF2ARW.js.map
12
+ //# sourceMappingURL=chunk.ATBW2OIF.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.NLYVOJGK.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.F6FD2FQX.js";
12
+ } from "./chunk.7C42R3TS.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.Z4XV3SMG.js";
@@ -160,4 +160,4 @@ __decorateClass([
160
160
  export {
161
161
  SynMenu
162
162
  };
163
- //# sourceMappingURL=chunk.2FVXIEHW.js.map
163
+ //# sourceMappingURL=chunk.BDVEGRSM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRange
3
- } from "./chunk.SOOHRWAC.js";
3
+ } from "./chunk.TAHGMS7X.js";
4
4
 
5
5
  // src/components/range/range.ts
6
6
  var range_default = SynRange;
@@ -9,4 +9,4 @@ SynRange.define("syn-range");
9
9
  export {
10
10
  range_default
11
11
  };
12
- //# sourceMappingURL=chunk.ERWTU5QM.js.map
12
+ //# sourceMappingURL=chunk.BHRS27UA.js.map