@synergy-design-system/components 2.45.0 → 2.45.2

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 (308) hide show
  1. package/code-quality/html-validate/scripts/synergy-element-rules.js +24 -0
  2. package/dist/chunks/{chunk.XHCIGXHD.js → chunk.2AN6WN6D.js} +6 -6
  3. package/dist/chunks/{chunk.O7YHFE5A.js → chunk.2EJUIR46.js} +2 -2
  4. package/dist/chunks/{chunk.YRL6NFIW.js → chunk.2M3G5L4T.js} +2 -2
  5. package/dist/chunks/{chunk.A3ONRZQG.js → chunk.2RWNCMZU.js} +2 -2
  6. package/dist/chunks/{chunk.XWD7JUJ3.js → chunk.2U2KM62A.js} +2 -2
  7. package/dist/chunks/{chunk.E7I3J5SD.js → chunk.2UXCJDAJ.js} +15 -7
  8. package/dist/chunks/chunk.2UXCJDAJ.js.map +7 -0
  9. package/dist/chunks/{chunk.GL3EYIRY.js → chunk.33HW5JD7.js} +2 -2
  10. package/dist/chunks/chunk.36EHOOOO.js +23 -0
  11. package/dist/chunks/chunk.36EHOOOO.js.map +7 -0
  12. package/dist/chunks/{chunk.QEVG633Q.js → chunk.3H57PIKI.js} +2 -2
  13. package/dist/chunks/{chunk.4N4F6TPI.js → chunk.3LSWYRUI.js} +2 -2
  14. package/dist/chunks/{chunk.43PNVQ2M.js → chunk.3LVJS4GV.js} +6 -6
  15. package/dist/chunks/chunk.3LVJS4GV.js.map +7 -0
  16. package/dist/chunks/{chunk.IS3GLJCO.js → chunk.3YODD7Z3.js} +2 -2
  17. package/dist/chunks/{chunk.CJPSAUTD.js → chunk.4NZFJ6JA.js} +2 -2
  18. package/dist/chunks/{chunk.U6RTUABL.js → chunk.4QDZGB6K.js} +2 -2
  19. package/dist/chunks/{chunk.47LU3JDG.js → chunk.4XY2BVNK.js} +5 -5
  20. package/dist/chunks/{chunk.IHHIBS6E.js → chunk.5LGG5AH4.js} +2 -2
  21. package/dist/chunks/{chunk.2SFJYVUS.js → chunk.5R4H4RCZ.js} +7 -7
  22. package/dist/chunks/{chunk.QDJC3QVC.js → chunk.5YXHVJLW.js} +6 -6
  23. package/dist/chunks/{chunk.MVTYOC4G.js → chunk.7J4L52X7.js} +6 -6
  24. package/dist/chunks/{chunk.GNDG3SJQ.js → chunk.7MRTIUE2.js} +6 -6
  25. package/dist/chunks/{chunk.GNDG3SJQ.js.map → chunk.7MRTIUE2.js.map} +2 -2
  26. package/dist/chunks/{chunk.F6FD2FQX.js → chunk.7PWEDR4V.js} +2 -2
  27. package/dist/chunks/{chunk.F6FD2FQX.js.map → chunk.7PWEDR4V.js.map} +1 -1
  28. package/dist/chunks/{chunk.PIVTCFVM.js → chunk.7QHWUHRC.js} +2 -2
  29. package/dist/chunks/{chunk.WCOUFKSE.js → chunk.7VCXMB4O.js} +6 -6
  30. package/dist/chunks/{chunk.UE5Y2G5J.js → chunk.AHFMEUB7.js} +3 -3
  31. package/dist/chunks/{chunk.2FMOTYVN.js → chunk.AJIOVSMV.js} +3 -3
  32. package/dist/chunks/{chunk.3P2RJ7Q2.js → chunk.ASPF2OAT.js} +2 -2
  33. package/dist/chunks/{chunk.RSI47MJF.js → chunk.AVJBYGN3.js} +2 -2
  34. package/dist/chunks/{chunk.2EJUYOXJ.js → chunk.AWMAUFQ2.js} +2 -2
  35. package/dist/chunks/{chunk.V5KACUQG.js → chunk.BRHITFVR.js} +2 -2
  36. package/dist/chunks/{chunk.MKXDHGKC.js → chunk.C54XEFIT.js} +2 -2
  37. package/dist/chunks/{chunk.PHSST3GN.js → chunk.CDJYUWQJ.js} +2 -2
  38. package/dist/chunks/{chunk.WTGV2YHS.js → chunk.CF2AJWUC.js} +2 -2
  39. package/dist/chunks/{chunk.3YXGL6PB.js → chunk.D2NG6SZW.js} +2 -2
  40. package/dist/chunks/{chunk.YR46HSA7.js → chunk.DAQXMWRG.js} +2 -2
  41. package/dist/chunks/{chunk.2FVXIEHW.js → chunk.DEN4XP76.js} +2 -2
  42. package/dist/chunks/{chunk.EAS6P6PE.js → chunk.DGI6ZRTS.js} +2 -2
  43. package/dist/chunks/{chunk.LXB2K2EP.js → chunk.DLGN2SKF.js} +5 -5
  44. package/dist/chunks/{chunk.775OBFIE.js → chunk.DORATI2I.js} +8 -8
  45. package/dist/chunks/{chunk.S2CO77RZ.js → chunk.DR2XVWMI.js} +17 -9
  46. package/dist/chunks/chunk.DR2XVWMI.js.map +7 -0
  47. package/dist/chunks/{chunk.QOSVIEWF.js → chunk.E6HJE4GR.js} +7 -7
  48. package/dist/chunks/{chunk.WU22WCIW.js → chunk.EBCCBTTK.js} +8 -8
  49. package/dist/chunks/chunk.EBCCBTTK.js.map +7 -0
  50. package/dist/chunks/{chunk.VIV2SMKB.js → chunk.EBMWYPMN.js} +12 -12
  51. package/dist/chunks/chunk.EBMWYPMN.js.map +7 -0
  52. package/dist/chunks/{chunk.NZUG4LYW.js → chunk.ENKVXWBD.js} +5 -5
  53. package/dist/chunks/{chunk.EKQIQ2DM.js → chunk.ES3ECZZN.js} +2 -2
  54. package/dist/chunks/{chunk.JY3G4O3W.js → chunk.F2XOWYTI.js} +2 -2
  55. package/dist/chunks/{chunk.ERWTU5QM.js → chunk.G325VK6R.js} +2 -2
  56. package/dist/chunks/{chunk.WZBR6MRC.js → chunk.GLW6G7B4.js} +2 -2
  57. package/dist/chunks/{chunk.QAD2SZSR.js → chunk.GSC3S4C7.js} +2 -2
  58. package/dist/chunks/{chunk.MPFHBRBB.js → chunk.GWDNPLW3.js} +2 -2
  59. package/dist/chunks/{chunk.QCEDZQIZ.js → chunk.GYMNIDUG.js} +6 -6
  60. package/dist/chunks/{chunk.G2E6IU6K.js → chunk.HB5VOG7O.js} +6 -6
  61. package/dist/chunks/{chunk.Q3BJU6OI.js → chunk.HI6E6INJ.js} +2 -2
  62. package/dist/chunks/{chunk.JW7A7O45.js → chunk.HPO5QTRK.js} +2 -2
  63. package/dist/chunks/{chunk.TR5DMYXN.js → chunk.HVSXOYWW.js} +9 -9
  64. package/dist/chunks/{chunk.5YDLLB4H.js → chunk.IEUQSDIW.js} +2 -2
  65. package/dist/chunks/{chunk.RUVDIFIF.js → chunk.IISFS2XQ.js} +2 -2
  66. package/dist/chunks/{chunk.YAKAIJGX.js → chunk.IOMDBIJI.js} +2 -2
  67. package/dist/chunks/{chunk.OKUJNBZA.js → chunk.IX463R5Y.js} +2 -2
  68. package/dist/chunks/{chunk.PV2BBLSA.js → chunk.K6NJ2PDK.js} +6 -6
  69. package/dist/chunks/{chunk.4P5VXNLJ.js → chunk.KNUR2AQS.js} +2 -2
  70. package/dist/chunks/{chunk.GH7M77F4.js → chunk.KR75XE3N.js} +12 -12
  71. package/dist/chunks/{chunk.UJGWVOQC.js → chunk.KVUTPLNY.js} +2 -2
  72. package/dist/chunks/{chunk.HXICOH2D.js → chunk.LQWXDISM.js} +2 -2
  73. package/dist/chunks/{chunk.4KZG5ZGR.js → chunk.LTBKA57Y.js} +2 -2
  74. package/dist/chunks/{chunk.GPDFPMAA.js → chunk.LW3LVZ3I.js} +2 -2
  75. package/dist/chunks/{chunk.IY7C7TXC.js → chunk.MGD7HFL3.js} +6 -6
  76. package/dist/chunks/{chunk.72SPXN4M.js → chunk.MIJZV3OK.js} +2 -2
  77. package/dist/chunks/{chunk.V2JF2ARW.js → chunk.MOG6Z5CP.js} +2 -2
  78. package/dist/chunks/{chunk.NHGGACXF.js → chunk.MWT5A6UR.js} +8 -8
  79. package/dist/chunks/{chunk.2NU65US2.js → chunk.N36WAFT5.js} +2 -2
  80. package/dist/chunks/{chunk.AEYPPPBN.js → chunk.NQRQ7TD6.js} +7 -7
  81. package/dist/chunks/{chunk.SOOHRWAC.js → chunk.NZ7ZWYRP.js} +3 -3
  82. package/dist/chunks/{chunk.MIVLWJE3.js → chunk.OORIUDCN.js} +5 -5
  83. package/dist/chunks/{chunk.XWRFKT3X.js → chunk.OW5F6IPP.js} +2 -2
  84. package/dist/chunks/{chunk.QCDUTFT3.js → chunk.PCMT3MUM.js} +2 -2
  85. package/dist/chunks/{chunk.SAP4WZHM.js → chunk.PRZNYBMZ.js} +2 -2
  86. package/dist/chunks/{chunk.DBE55F4E.js → chunk.Q2FNI7VB.js} +2 -2
  87. package/dist/chunks/{chunk.MINKKHKX.js → chunk.QZ7IKRAL.js} +2 -2
  88. package/dist/chunks/{chunk.FIFYXTSV.js → chunk.R7NKVOAJ.js} +2 -2
  89. package/dist/chunks/{chunk.RID4SZEA.js → chunk.RCOGQGLL.js} +2 -2
  90. package/dist/chunks/{chunk.67SXXBDE.js → chunk.RJYU4MHA.js} +21 -6
  91. package/dist/chunks/chunk.RJYU4MHA.js.map +7 -0
  92. package/dist/chunks/{chunk.UJ7DPXBG.js → chunk.SMY2U453.js} +2 -2
  93. package/dist/chunks/{chunk.6K5UWP6M.js → chunk.SNFVW3JM.js} +2 -2
  94. package/dist/chunks/{chunk.RY2FCMQD.js → chunk.SUADB3XZ.js} +2 -2
  95. package/dist/chunks/{chunk.EFJBDR7Z.js → chunk.TERMIGDH.js} +2 -2
  96. package/dist/chunks/{chunk.FXO36T5G.js → chunk.TPRLH2LQ.js} +4 -4
  97. package/dist/chunks/{chunk.477UZTHM.js → chunk.UG4TPQMJ.js} +2 -2
  98. package/dist/chunks/{chunk.MWFVQQRA.js → chunk.URNJAXTL.js} +3 -3
  99. package/dist/chunks/{chunk.CWATEWX3.js → chunk.UW4JDWEI.js} +9 -9
  100. package/dist/chunks/{chunk.ZSQOHWZW.js → chunk.VDRHRLQQ.js} +6 -6
  101. package/dist/chunks/{chunk.MBU55RN2.js → chunk.W6FHD2B6.js} +2 -2
  102. package/dist/chunks/{chunk.F4TQMBPQ.js → chunk.WMRE3ZWT.js} +3 -3
  103. package/dist/chunks/{chunk.EA3473S6.js → chunk.YFEK7I4W.js} +2 -2
  104. package/dist/chunks/{chunk.BNHJ5OKO.js → chunk.YN7K46LX.js} +7 -7
  105. package/dist/chunks/{chunk.MON5ZZWQ.js → chunk.Z5A6S7OG.js} +2 -2
  106. package/dist/chunks/{chunk.GCRD4HSU.js → chunk.ZVBLLRCO.js} +2 -2
  107. package/dist/components/accordion/accordion.component.js +3 -3
  108. package/dist/components/accordion/accordion.js +4 -4
  109. package/dist/components/alert/alert.component.js +8 -8
  110. package/dist/components/alert/alert.js +9 -9
  111. package/dist/components/badge/badge.component.js +4 -4
  112. package/dist/components/badge/badge.js +5 -5
  113. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  114. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  115. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  116. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  117. package/dist/components/button/button.component.js +6 -6
  118. package/dist/components/button/button.js +7 -7
  119. package/dist/components/button-group/button-group.component.js +2 -2
  120. package/dist/components/button-group/button-group.js +3 -3
  121. package/dist/components/card/card.component.js +2 -2
  122. package/dist/components/card/card.js +3 -3
  123. package/dist/components/checkbox/checkbox.component.js +4 -4
  124. package/dist/components/checkbox/checkbox.js +5 -5
  125. package/dist/components/combobox/combobox.component.d.ts +1 -0
  126. package/dist/components/combobox/combobox.component.js +8 -7
  127. package/dist/components/combobox/combobox.js +9 -8
  128. package/dist/components/details/details.component.js +5 -5
  129. package/dist/components/details/details.js +6 -6
  130. package/dist/components/dialog/dialog.component.js +6 -6
  131. package/dist/components/dialog/dialog.js +7 -7
  132. package/dist/components/divider/divider.component.js +2 -2
  133. package/dist/components/divider/divider.js +3 -3
  134. package/dist/components/drawer/drawer.component.js +6 -6
  135. package/dist/components/drawer/drawer.js +7 -7
  136. package/dist/components/dropdown/dropdown.component.d.ts +1 -0
  137. package/dist/components/dropdown/dropdown.component.js +5 -4
  138. package/dist/components/dropdown/dropdown.js +6 -5
  139. package/dist/components/file/file.component.js +7 -7
  140. package/dist/components/file/file.js +8 -8
  141. package/dist/components/header/header.component.js +6 -6
  142. package/dist/components/header/header.js +7 -7
  143. package/dist/components/icon/icon.component.js +2 -2
  144. package/dist/components/icon/icon.js +3 -3
  145. package/dist/components/icon-button/icon-button.component.js +4 -4
  146. package/dist/components/icon-button/icon-button.js +5 -5
  147. package/dist/components/input/input.component.d.ts +1 -1
  148. package/dist/components/input/input.component.js +6 -6
  149. package/dist/components/input/input.js +7 -7
  150. package/dist/components/menu/menu.component.js +2 -2
  151. package/dist/components/menu/menu.js +3 -3
  152. package/dist/components/menu-item/menu-item.component.js +8 -7
  153. package/dist/components/menu-item/menu-item.js +9 -8
  154. package/dist/components/menu-label/menu-label.component.js +3 -3
  155. package/dist/components/menu-label/menu-label.js +4 -4
  156. package/dist/components/nav-item/nav-item.component.js +4 -4
  157. package/dist/components/nav-item/nav-item.js +5 -5
  158. package/dist/components/optgroup/optgroup.component.js +3 -3
  159. package/dist/components/optgroup/optgroup.js +4 -4
  160. package/dist/components/option/option.component.js +5 -5
  161. package/dist/components/option/option.js +6 -6
  162. package/dist/components/popup/popup.component.d.ts +1 -0
  163. package/dist/components/popup/popup.component.js +3 -2
  164. package/dist/components/popup/popup.custom.styles.d.ts +2 -0
  165. package/dist/components/popup/popup.custom.styles.js +8 -0
  166. package/dist/components/popup/popup.custom.styles.js.map +7 -0
  167. package/dist/components/popup/popup.js +4 -3
  168. package/dist/components/prio-nav/prio-nav.component.js +11 -10
  169. package/dist/components/prio-nav/prio-nav.js +12 -11
  170. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  171. package/dist/components/progress-bar/progress-bar.js +3 -3
  172. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  173. package/dist/components/progress-ring/progress-ring.js +3 -3
  174. package/dist/components/radio/radio.component.js +4 -4
  175. package/dist/components/radio/radio.js +5 -5
  176. package/dist/components/radio-button/radio-button.component.js +3 -3
  177. package/dist/components/radio-button/radio-button.js +4 -4
  178. package/dist/components/radio-group/radio-group.component.js +5 -5
  179. package/dist/components/radio-group/radio-group.js +6 -6
  180. package/dist/components/range/range.component.js +6 -5
  181. package/dist/components/range/range.js +7 -6
  182. package/dist/components/range-tick/range-tick.component.js +2 -2
  183. package/dist/components/range-tick/range-tick.js +3 -3
  184. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  185. package/dist/components/select/select.component.d.ts +1 -0
  186. package/dist/components/select/select.component.js +10 -9
  187. package/dist/components/select/select.js +11 -10
  188. package/dist/components/side-nav/side-nav.component.js +9 -9
  189. package/dist/components/side-nav/side-nav.js +10 -10
  190. package/dist/components/spinner/spinner.component.js +2 -2
  191. package/dist/components/spinner/spinner.js +3 -3
  192. package/dist/components/switch/switch.component.js +3 -3
  193. package/dist/components/switch/switch.js +4 -4
  194. package/dist/components/tab/tab.component.js +6 -6
  195. package/dist/components/tab/tab.js +7 -7
  196. package/dist/components/tab-group/tab-group.component.js +7 -7
  197. package/dist/components/tab-group/tab-group.js +8 -8
  198. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  199. package/dist/components/tab-panel/tab-panel.js +3 -3
  200. package/dist/components/tag/tag.component.js +6 -6
  201. package/dist/components/tag/tag.js +7 -7
  202. package/dist/components/textarea/textarea.component.d.ts +1 -1
  203. package/dist/components/textarea/textarea.component.js +3 -3
  204. package/dist/components/textarea/textarea.js +4 -4
  205. package/dist/components/tooltip/tooltip.component.d.ts +1 -0
  206. package/dist/components/tooltip/tooltip.component.js +5 -4
  207. package/dist/components/tooltip/tooltip.js +6 -5
  208. package/dist/components/validate/utility.js +2 -2
  209. package/dist/components/validate/validate.component.js +10 -10
  210. package/dist/components/validate/validate.js +11 -11
  211. package/dist/custom-elements.json +129 -117
  212. package/dist/styles/index.css +1 -1
  213. package/dist/synergy.js +119 -118
  214. package/dist/vscode.html-custom-data.json +18 -18
  215. package/package.json +6 -6
  216. package/dist/chunks/chunk.43PNVQ2M.js.map +0 -7
  217. package/dist/chunks/chunk.67SXXBDE.js.map +0 -7
  218. package/dist/chunks/chunk.E7I3J5SD.js.map +0 -7
  219. package/dist/chunks/chunk.S2CO77RZ.js.map +0 -7
  220. package/dist/chunks/chunk.VIV2SMKB.js.map +0 -7
  221. package/dist/chunks/chunk.WU22WCIW.js.map +0 -7
  222. /package/dist/chunks/{chunk.XHCIGXHD.js.map → chunk.2AN6WN6D.js.map} +0 -0
  223. /package/dist/chunks/{chunk.O7YHFE5A.js.map → chunk.2EJUIR46.js.map} +0 -0
  224. /package/dist/chunks/{chunk.YRL6NFIW.js.map → chunk.2M3G5L4T.js.map} +0 -0
  225. /package/dist/chunks/{chunk.A3ONRZQG.js.map → chunk.2RWNCMZU.js.map} +0 -0
  226. /package/dist/chunks/{chunk.XWD7JUJ3.js.map → chunk.2U2KM62A.js.map} +0 -0
  227. /package/dist/chunks/{chunk.GL3EYIRY.js.map → chunk.33HW5JD7.js.map} +0 -0
  228. /package/dist/chunks/{chunk.QEVG633Q.js.map → chunk.3H57PIKI.js.map} +0 -0
  229. /package/dist/chunks/{chunk.4N4F6TPI.js.map → chunk.3LSWYRUI.js.map} +0 -0
  230. /package/dist/chunks/{chunk.IS3GLJCO.js.map → chunk.3YODD7Z3.js.map} +0 -0
  231. /package/dist/chunks/{chunk.CJPSAUTD.js.map → chunk.4NZFJ6JA.js.map} +0 -0
  232. /package/dist/chunks/{chunk.U6RTUABL.js.map → chunk.4QDZGB6K.js.map} +0 -0
  233. /package/dist/chunks/{chunk.47LU3JDG.js.map → chunk.4XY2BVNK.js.map} +0 -0
  234. /package/dist/chunks/{chunk.IHHIBS6E.js.map → chunk.5LGG5AH4.js.map} +0 -0
  235. /package/dist/chunks/{chunk.2SFJYVUS.js.map → chunk.5R4H4RCZ.js.map} +0 -0
  236. /package/dist/chunks/{chunk.QDJC3QVC.js.map → chunk.5YXHVJLW.js.map} +0 -0
  237. /package/dist/chunks/{chunk.MVTYOC4G.js.map → chunk.7J4L52X7.js.map} +0 -0
  238. /package/dist/chunks/{chunk.PIVTCFVM.js.map → chunk.7QHWUHRC.js.map} +0 -0
  239. /package/dist/chunks/{chunk.WCOUFKSE.js.map → chunk.7VCXMB4O.js.map} +0 -0
  240. /package/dist/chunks/{chunk.UE5Y2G5J.js.map → chunk.AHFMEUB7.js.map} +0 -0
  241. /package/dist/chunks/{chunk.2FMOTYVN.js.map → chunk.AJIOVSMV.js.map} +0 -0
  242. /package/dist/chunks/{chunk.3P2RJ7Q2.js.map → chunk.ASPF2OAT.js.map} +0 -0
  243. /package/dist/chunks/{chunk.RSI47MJF.js.map → chunk.AVJBYGN3.js.map} +0 -0
  244. /package/dist/chunks/{chunk.2EJUYOXJ.js.map → chunk.AWMAUFQ2.js.map} +0 -0
  245. /package/dist/chunks/{chunk.V5KACUQG.js.map → chunk.BRHITFVR.js.map} +0 -0
  246. /package/dist/chunks/{chunk.MKXDHGKC.js.map → chunk.C54XEFIT.js.map} +0 -0
  247. /package/dist/chunks/{chunk.PHSST3GN.js.map → chunk.CDJYUWQJ.js.map} +0 -0
  248. /package/dist/chunks/{chunk.WTGV2YHS.js.map → chunk.CF2AJWUC.js.map} +0 -0
  249. /package/dist/chunks/{chunk.3YXGL6PB.js.map → chunk.D2NG6SZW.js.map} +0 -0
  250. /package/dist/chunks/{chunk.YR46HSA7.js.map → chunk.DAQXMWRG.js.map} +0 -0
  251. /package/dist/chunks/{chunk.2FVXIEHW.js.map → chunk.DEN4XP76.js.map} +0 -0
  252. /package/dist/chunks/{chunk.EAS6P6PE.js.map → chunk.DGI6ZRTS.js.map} +0 -0
  253. /package/dist/chunks/{chunk.LXB2K2EP.js.map → chunk.DLGN2SKF.js.map} +0 -0
  254. /package/dist/chunks/{chunk.775OBFIE.js.map → chunk.DORATI2I.js.map} +0 -0
  255. /package/dist/chunks/{chunk.QOSVIEWF.js.map → chunk.E6HJE4GR.js.map} +0 -0
  256. /package/dist/chunks/{chunk.NZUG4LYW.js.map → chunk.ENKVXWBD.js.map} +0 -0
  257. /package/dist/chunks/{chunk.EKQIQ2DM.js.map → chunk.ES3ECZZN.js.map} +0 -0
  258. /package/dist/chunks/{chunk.JY3G4O3W.js.map → chunk.F2XOWYTI.js.map} +0 -0
  259. /package/dist/chunks/{chunk.ERWTU5QM.js.map → chunk.G325VK6R.js.map} +0 -0
  260. /package/dist/chunks/{chunk.WZBR6MRC.js.map → chunk.GLW6G7B4.js.map} +0 -0
  261. /package/dist/chunks/{chunk.QAD2SZSR.js.map → chunk.GSC3S4C7.js.map} +0 -0
  262. /package/dist/chunks/{chunk.MPFHBRBB.js.map → chunk.GWDNPLW3.js.map} +0 -0
  263. /package/dist/chunks/{chunk.QCEDZQIZ.js.map → chunk.GYMNIDUG.js.map} +0 -0
  264. /package/dist/chunks/{chunk.G2E6IU6K.js.map → chunk.HB5VOG7O.js.map} +0 -0
  265. /package/dist/chunks/{chunk.Q3BJU6OI.js.map → chunk.HI6E6INJ.js.map} +0 -0
  266. /package/dist/chunks/{chunk.JW7A7O45.js.map → chunk.HPO5QTRK.js.map} +0 -0
  267. /package/dist/chunks/{chunk.TR5DMYXN.js.map → chunk.HVSXOYWW.js.map} +0 -0
  268. /package/dist/chunks/{chunk.5YDLLB4H.js.map → chunk.IEUQSDIW.js.map} +0 -0
  269. /package/dist/chunks/{chunk.RUVDIFIF.js.map → chunk.IISFS2XQ.js.map} +0 -0
  270. /package/dist/chunks/{chunk.YAKAIJGX.js.map → chunk.IOMDBIJI.js.map} +0 -0
  271. /package/dist/chunks/{chunk.OKUJNBZA.js.map → chunk.IX463R5Y.js.map} +0 -0
  272. /package/dist/chunks/{chunk.PV2BBLSA.js.map → chunk.K6NJ2PDK.js.map} +0 -0
  273. /package/dist/chunks/{chunk.4P5VXNLJ.js.map → chunk.KNUR2AQS.js.map} +0 -0
  274. /package/dist/chunks/{chunk.GH7M77F4.js.map → chunk.KR75XE3N.js.map} +0 -0
  275. /package/dist/chunks/{chunk.UJGWVOQC.js.map → chunk.KVUTPLNY.js.map} +0 -0
  276. /package/dist/chunks/{chunk.HXICOH2D.js.map → chunk.LQWXDISM.js.map} +0 -0
  277. /package/dist/chunks/{chunk.4KZG5ZGR.js.map → chunk.LTBKA57Y.js.map} +0 -0
  278. /package/dist/chunks/{chunk.GPDFPMAA.js.map → chunk.LW3LVZ3I.js.map} +0 -0
  279. /package/dist/chunks/{chunk.IY7C7TXC.js.map → chunk.MGD7HFL3.js.map} +0 -0
  280. /package/dist/chunks/{chunk.72SPXN4M.js.map → chunk.MIJZV3OK.js.map} +0 -0
  281. /package/dist/chunks/{chunk.V2JF2ARW.js.map → chunk.MOG6Z5CP.js.map} +0 -0
  282. /package/dist/chunks/{chunk.NHGGACXF.js.map → chunk.MWT5A6UR.js.map} +0 -0
  283. /package/dist/chunks/{chunk.2NU65US2.js.map → chunk.N36WAFT5.js.map} +0 -0
  284. /package/dist/chunks/{chunk.AEYPPPBN.js.map → chunk.NQRQ7TD6.js.map} +0 -0
  285. /package/dist/chunks/{chunk.SOOHRWAC.js.map → chunk.NZ7ZWYRP.js.map} +0 -0
  286. /package/dist/chunks/{chunk.MIVLWJE3.js.map → chunk.OORIUDCN.js.map} +0 -0
  287. /package/dist/chunks/{chunk.XWRFKT3X.js.map → chunk.OW5F6IPP.js.map} +0 -0
  288. /package/dist/chunks/{chunk.QCDUTFT3.js.map → chunk.PCMT3MUM.js.map} +0 -0
  289. /package/dist/chunks/{chunk.SAP4WZHM.js.map → chunk.PRZNYBMZ.js.map} +0 -0
  290. /package/dist/chunks/{chunk.DBE55F4E.js.map → chunk.Q2FNI7VB.js.map} +0 -0
  291. /package/dist/chunks/{chunk.MINKKHKX.js.map → chunk.QZ7IKRAL.js.map} +0 -0
  292. /package/dist/chunks/{chunk.FIFYXTSV.js.map → chunk.R7NKVOAJ.js.map} +0 -0
  293. /package/dist/chunks/{chunk.RID4SZEA.js.map → chunk.RCOGQGLL.js.map} +0 -0
  294. /package/dist/chunks/{chunk.UJ7DPXBG.js.map → chunk.SMY2U453.js.map} +0 -0
  295. /package/dist/chunks/{chunk.6K5UWP6M.js.map → chunk.SNFVW3JM.js.map} +0 -0
  296. /package/dist/chunks/{chunk.RY2FCMQD.js.map → chunk.SUADB3XZ.js.map} +0 -0
  297. /package/dist/chunks/{chunk.EFJBDR7Z.js.map → chunk.TERMIGDH.js.map} +0 -0
  298. /package/dist/chunks/{chunk.FXO36T5G.js.map → chunk.TPRLH2LQ.js.map} +0 -0
  299. /package/dist/chunks/{chunk.477UZTHM.js.map → chunk.UG4TPQMJ.js.map} +0 -0
  300. /package/dist/chunks/{chunk.MWFVQQRA.js.map → chunk.URNJAXTL.js.map} +0 -0
  301. /package/dist/chunks/{chunk.CWATEWX3.js.map → chunk.UW4JDWEI.js.map} +0 -0
  302. /package/dist/chunks/{chunk.ZSQOHWZW.js.map → chunk.VDRHRLQQ.js.map} +0 -0
  303. /package/dist/chunks/{chunk.MBU55RN2.js.map → chunk.W6FHD2B6.js.map} +0 -0
  304. /package/dist/chunks/{chunk.F4TQMBPQ.js.map → chunk.WMRE3ZWT.js.map} +0 -0
  305. /package/dist/chunks/{chunk.EA3473S6.js.map → chunk.YFEK7I4W.js.map} +0 -0
  306. /package/dist/chunks/{chunk.BNHJ5OKO.js.map → chunk.YN7K46LX.js.map} +0 -0
  307. /package/dist/chunks/{chunk.MON5ZZWQ.js.map → chunk.Z5A6S7OG.js.map} +0 -0
  308. /package/dist/chunks/{chunk.GCRD4HSU.js.map → chunk.ZVBLLRCO.js.map} +0 -0
@@ -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.RJYU4MHA.js";
10
10
  import {
11
11
  waitForEvent
12
12
  } from "./chunk.C2ENQBPM.js";
@@ -19,18 +19,18 @@ import {
19
19
  getAnimation,
20
20
  setDefaultAnimation
21
21
  } from "./chunk.7JGKUB4A.js";
22
- import {
23
- watch
24
- } from "./chunk.BVZQ6QSY.js";
25
22
  import {
26
23
  LocalizeController
27
24
  } from "./chunk.OAQRCZOO.js";
25
+ import {
26
+ watch
27
+ } from "./chunk.BVZQ6QSY.js";
28
28
  import {
29
29
  component_styles_default
30
30
  } from "./chunk.NLYVOJGK.js";
31
31
  import {
32
32
  SynergyElement
33
- } from "./chunk.F6FD2FQX.js";
33
+ } from "./chunk.7PWEDR4V.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.7MRTIUE2.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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,SAAS,SAAS,KAAK,CAAC;AAAA,GAlCvB,WAkCyB;AAGhB;AAAA,EAA3B,SAAS,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('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,aAAa,UAAU,CAAC;AAAA,GApL7C,WAqLb;AAQN;AAAA,EADC,MAAM,UAAU;AAAA,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
  }
@@ -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.2";
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.7PWEDR4V.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.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"],
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,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,yBAAyB,MAAM,UAAU,QAAQ;AAAA,EACzD;AAAA,EAEU,WAAW,mBAAkE;AACrF,UAAM,WAAW,iBAAiB;AAGlC,SAAK,2BAA2B,QAAQ,CAAC,OAAO,SAAqC;AAGnF,UAAI,kBAAkB,IAAI,IAAI,KAAK,KAAK,IAAI,KAAK,MAAM;AAErD,QAAC,KAAiC,IAAI,IAAI;AAAA,MAC5C;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAnCE;AAAA;AAAA;AArFmB,eAiCZ,UAAU;AAjCE,eA4EZ,eAAsD,CAAC;AA1ElD;AAAA,EAAX,SAAS;AAAA,GAFS,eAEP;AACA;AAAA,EAAX,SAAS;AAAA,GAHS,eAGP;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuItem
3
- } from "./chunk.NHGGACXF.js";
3
+ } from "./chunk.MWT5A6UR.js";
4
4
 
5
5
  // src/components/menu-item/menu-item.ts
6
6
  var menu_item_default = SynMenuItem;
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
9
9
  export {
10
10
  menu_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.PIVTCFVM.js.map
12
+ //# sourceMappingURL=chunk.7QHWUHRC.js.map
@@ -9,19 +9,19 @@ import {
9
9
  } from "./chunk.ARR23WUY.js";
10
10
  import {
11
11
  SynIcon
12
- } from "./chunk.RSI47MJF.js";
13
- import {
14
- watch
15
- } from "./chunk.BVZQ6QSY.js";
12
+ } from "./chunk.AVJBYGN3.js";
16
13
  import {
17
14
  LocalizeController
18
15
  } from "./chunk.OAQRCZOO.js";
16
+ import {
17
+ watch
18
+ } from "./chunk.BVZQ6QSY.js";
19
19
  import {
20
20
  component_styles_default
21
21
  } from "./chunk.NLYVOJGK.js";
22
22
  import {
23
23
  SynergyElement
24
- } from "./chunk.F6FD2FQX.js";
24
+ } from "./chunk.7PWEDR4V.js";
25
25
  import {
26
26
  __decorateClass
27
27
  } from "./chunk.Z4XV3SMG.js";
@@ -165,4 +165,4 @@ __decorateClass([
165
165
  export {
166
166
  SynOption
167
167
  };
168
- //# sourceMappingURL=chunk.WCOUFKSE.js.map
168
+ //# sourceMappingURL=chunk.7VCXMB4O.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.AVJBYGN3.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.7PWEDR4V.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.AHFMEUB7.js.map
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk.RAOPZXJL.js";
7
7
  import {
8
8
  SynDivider
9
- } from "./chunk.MPFHBRBB.js";
9
+ } from "./chunk.GWDNPLW3.js";
10
10
  import {
11
11
  component_styles_default
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.F6FD2FQX.js";
15
+ } from "./chunk.7PWEDR4V.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.2FMOTYVN.js.map
37
+ //# sourceMappingURL=chunk.AJIOVSMV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynHeader
3
- } from "./chunk.PV2BBLSA.js";
3
+ } from "./chunk.K6NJ2PDK.js";
4
4
 
5
5
  // src/components/header/header.ts
6
6
  var header_default = SynHeader;
@@ -9,4 +9,4 @@ SynHeader.define("syn-header");
9
9
  export {
10
10
  header_default
11
11
  };
12
- //# sourceMappingURL=chunk.3P2RJ7Q2.js.map
12
+ //# sourceMappingURL=chunk.ASPF2OAT.js.map
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk.NLYVOJGK.js";
18
18
  import {
19
19
  SynergyElement
20
- } from "./chunk.F6FD2FQX.js";
20
+ } from "./chunk.7PWEDR4V.js";
21
21
  import {
22
22
  __decorateClass
23
23
  } from "./chunk.Z4XV3SMG.js";
@@ -191,4 +191,4 @@ __decorateClass([
191
191
  export {
192
192
  SynIcon
193
193
  };
194
- //# sourceMappingURL=chunk.RSI47MJF.js.map
194
+ //# sourceMappingURL=chunk.AVJBYGN3.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.7PWEDR4V.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.Z4XV3SMG.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynProgressRing
78
78
  };
79
- //# sourceMappingURL=chunk.2EJUYOXJ.js.map
79
+ //# sourceMappingURL=chunk.AWMAUFQ2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSpinner
3
- } from "./chunk.QCDUTFT3.js";
3
+ } from "./chunk.PCMT3MUM.js";
4
4
 
5
5
  // src/components/spinner/spinner.ts
6
6
  var spinner_default = SynSpinner;
@@ -9,4 +9,4 @@ SynSpinner.define("syn-spinner");
9
9
  export {
10
10
  spinner_default
11
11
  };
12
- //# sourceMappingURL=chunk.V5KACUQG.js.map
12
+ //# sourceMappingURL=chunk.BRHITFVR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynInput
3
- } from "./chunk.S2CO77RZ.js";
3
+ } from "./chunk.DR2XVWMI.js";
4
4
 
5
5
  // src/components/input/input.ts
6
6
  var input_default = SynInput;
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
9
9
  export {
10
10
  input_default
11
11
  };
12
- //# sourceMappingURL=chunk.MKXDHGKC.js.map
12
+ //# sourceMappingURL=chunk.C54XEFIT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.MWFVQQRA.js";
3
+ } from "./chunk.URNJAXTL.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.PHSST3GN.js.map
12
+ //# sourceMappingURL=chunk.CDJYUWQJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCard
3
- } from "./chunk.MINKKHKX.js";
3
+ } from "./chunk.QZ7IKRAL.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.WTGV2YHS.js.map
12
+ //# sourceMappingURL=chunk.CF2AJWUC.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.7PWEDR4V.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.D2NG6SZW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.IY7C7TXC.js";
3
+ } from "./chunk.MGD7HFL3.js";
4
4
 
5
5
  // src/components/checkbox/checkbox.ts
6
6
  var checkbox_default = SynCheckbox;
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
9
9
  export {
10
10
  checkbox_default
11
11
  };
12
- //# sourceMappingURL=chunk.YR46HSA7.js.map
12
+ //# sourceMappingURL=chunk.DAQXMWRG.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.7PWEDR4V.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.DEN4XP76.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDialog
3
- } from "./chunk.XHCIGXHD.js";
3
+ } from "./chunk.2AN6WN6D.js";
4
4
 
5
5
  // src/components/dialog/dialog.ts
6
6
  var dialog_default = SynDialog;
@@ -9,4 +9,4 @@ SynDialog.define("syn-dialog");
9
9
  export {
10
10
  dialog_default
11
11
  };
12
- //# sourceMappingURL=chunk.EAS6P6PE.js.map
12
+ //# sourceMappingURL=chunk.DGI6ZRTS.js.map
@@ -4,18 +4,18 @@ import {
4
4
  import {
5
5
  HasSlotController
6
6
  } from "./chunk.WVVQK5TE.js";
7
- import {
8
- watch
9
- } from "./chunk.BVZQ6QSY.js";
10
7
  import {
11
8
  enableDefaultSettings
12
9
  } from "./chunk.E5UUNP6E.js";
10
+ import {
11
+ watch
12
+ } from "./chunk.BVZQ6QSY.js";
13
13
  import {
14
14
  component_styles_default
15
15
  } from "./chunk.NLYVOJGK.js";
16
16
  import {
17
17
  SynergyElement
18
- } from "./chunk.F6FD2FQX.js";
18
+ } from "./chunk.7PWEDR4V.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.Z4XV3SMG.js";
@@ -138,4 +138,4 @@ SynRadioButton = __decorateClass([
138
138
  export {
139
139
  SynRadioButton
140
140
  };
141
- //# sourceMappingURL=chunk.LXB2K2EP.js.map
141
+ //# sourceMappingURL=chunk.DLGN2SKF.js.map
@@ -1,3 +1,9 @@
1
+ import {
2
+ badge_custom_styles_default
3
+ } from "./chunk.J6CGTLVH.js";
4
+ import {
5
+ badge_styles_default
6
+ } from "./chunk.Y5TMYX2L.js";
1
7
  import {
2
8
  LocalizeController
3
9
  } from "./chunk.OAQRCZOO.js";
@@ -9,13 +15,7 @@ import {
9
15
  } from "./chunk.NLYVOJGK.js";
10
16
  import {
11
17
  SynergyElement
12
- } from "./chunk.F6FD2FQX.js";
13
- import {
14
- badge_custom_styles_default
15
- } from "./chunk.J6CGTLVH.js";
16
- import {
17
- badge_styles_default
18
- } from "./chunk.Y5TMYX2L.js";
18
+ } from "./chunk.7PWEDR4V.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.Z4XV3SMG.js";
@@ -66,4 +66,4 @@ SynBadge = __decorateClass([
66
66
  export {
67
67
  SynBadge
68
68
  };
69
- //# sourceMappingURL=chunk.775OBFIE.js.map
69
+ //# sourceMappingURL=chunk.DORATI2I.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.XAQKFEHH.js";
10
10
  import {
11
11
  SynDivider
12
- } from "./chunk.MPFHBRBB.js";
12
+ } from "./chunk.GWDNPLW3.js";
13
13
  import {
14
14
  defaultValue
15
15
  } from "./chunk.3NXKLKWH.js";
@@ -25,10 +25,7 @@ import {
25
25
  } from "./chunk.WVVQK5TE.js";
26
26
  import {
27
27
  SynIcon
28
- } from "./chunk.RSI47MJF.js";
29
- import {
30
- watch
31
- } from "./chunk.BVZQ6QSY.js";
28
+ } from "./chunk.AVJBYGN3.js";
32
29
  import {
33
30
  LocalizeController
34
31
  } from "./chunk.OAQRCZOO.js";
@@ -40,12 +37,15 @@ import {
40
37
  modernNumericStrategy,
41
38
  nativeNumericStrategy
42
39
  } from "./chunk.RB2JR2ND.js";
40
+ import {
41
+ watch
42
+ } from "./chunk.BVZQ6QSY.js";
43
43
  import {
44
44
  component_styles_default
45
45
  } from "./chunk.NLYVOJGK.js";
46
46
  import {
47
47
  SynergyElement
48
- } from "./chunk.F6FD2FQX.js";
48
+ } from "./chunk.7PWEDR4V.js";
49
49
  import {
50
50
  __decorateClass,
51
51
  __privateAdd,
@@ -577,7 +577,7 @@ var SynInput = class extends SynergyElement {
577
577
  .value=${live(this.value)}
578
578
  autocapitalize=${ifDefined(this.autocapitalize)}
579
579
  autocomplete=${ifDefined(this.autocomplete)}
580
- autocorrect=${ifDefined(this.autocorrect)}
580
+ autocorrect=${ifDefined(this.autocorrect ? void 0 : "off")}
581
581
  ?autofocus=${this.autofocus}
582
582
  spellcheck=${this.spellcheck}
583
583
  pattern=${ifDefined(this.pattern)}
@@ -789,7 +789,15 @@ __decorateClass([
789
789
  property()
790
790
  ], SynInput.prototype, "autocapitalize", 2);
791
791
  __decorateClass([
792
- property()
792
+ property({
793
+ attribute: "autocorrect",
794
+ reflect: true,
795
+ converter: {
796
+ fromAttribute: (value) => value === "" || value === "on",
797
+ toAttribute: (value) => value ? "on" : "off"
798
+ },
799
+ type: Boolean
800
+ })
793
801
  ], SynInput.prototype, "autocorrect", 2);
794
802
  __decorateClass([
795
803
  property()
@@ -859,4 +867,4 @@ SynInput = __decorateClass([
859
867
  export {
860
868
  SynInput
861
869
  };
862
- //# sourceMappingURL=chunk.S2CO77RZ.js.map
870
+ //# sourceMappingURL=chunk.DR2XVWMI.js.map