@synergy-design-system/components 2.11.2 → 2.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/chunks/{chunk.R5YHHUJ4.js → chunk.23CMR43E.js} +5 -5
  2. package/dist/chunks/{chunk.QDSUILAI.js → chunk.2JX7JM2V.js} +2 -2
  3. package/dist/chunks/{chunk.PQUTH5FO.js → chunk.3Q5425AT.js} +2 -2
  4. package/dist/chunks/{chunk.YWUDPAYD.js → chunk.3Q7MN3JF.js} +2 -2
  5. package/dist/chunks/{chunk.5EL32I2V.js → chunk.3W4NLYWB.js} +2 -2
  6. package/dist/chunks/{chunk.WHGCIBTW.js → chunk.3XXQOZM5.js} +2 -2
  7. package/dist/chunks/{chunk.MOE5XM6M.js → chunk.4BXOVCEB.js} +2 -2
  8. package/dist/chunks/{chunk.QG4XASPL.js → chunk.4L5SIXQY.js} +2 -2
  9. package/dist/chunks/{chunk.F3RWVUZQ.js → chunk.4PRIBMLK.js} +2 -2
  10. package/dist/chunks/{chunk.6QCYXTJW.js → chunk.4Q57DVYE.js} +2 -2
  11. package/dist/chunks/{chunk.TVDFRMQ3.js → chunk.55GDIUB6.js} +2 -2
  12. package/dist/chunks/{chunk.KZHUTAJA.js → chunk.5I2ZZD6Z.js} +2 -2
  13. package/dist/chunks/{chunk.OMKBBNSB.js → chunk.5SCFTXAO.js} +2 -2
  14. package/dist/chunks/{chunk.RDPOTSRB.js → chunk.5TB5H3O3.js} +2 -2
  15. package/dist/chunks/{chunk.33VCSNY3.js → chunk.6GE4LHC2.js} +8 -8
  16. package/dist/chunks/{chunk.IOBQV335.js → chunk.6KH6QH6N.js} +6 -6
  17. package/dist/chunks/{chunk.UH7RUIYS.js → chunk.6RKSFGQJ.js} +6 -6
  18. package/dist/chunks/{chunk.NAGCYKBH.js → chunk.7BK3QSJP.js} +8 -8
  19. package/dist/chunks/{chunk.N6T5SBZI.js → chunk.7UGBO6R3.js} +3 -3
  20. package/dist/chunks/{chunk.OW4XXUEL.js → chunk.A62ROI4G.js} +6 -6
  21. package/dist/chunks/{chunk.5QMEBRE5.js → chunk.ADLK4M4A.js} +2 -2
  22. package/dist/chunks/{chunk.XMADZL6P.js → chunk.ATFDXAI4.js} +2 -2
  23. package/dist/chunks/{chunk.EKEUU4IN.js → chunk.BOOBLAYC.js} +7 -7
  24. package/dist/chunks/{chunk.PFYIY3JX.js → chunk.BR4HMV7K.js} +2 -2
  25. package/dist/chunks/{chunk.GI7FG2YU.js → chunk.BYPYDARC.js} +2 -2
  26. package/dist/chunks/{chunk.7GBDUBHK.js → chunk.C5T3L55C.js} +3 -3
  27. package/dist/chunks/{chunk.HB5FH4Y5.js → chunk.CEBAL5EI.js} +2 -2
  28. package/dist/chunks/{chunk.UMIYTMNG.js → chunk.CR62KOL2.js} +2 -2
  29. package/dist/chunks/{chunk.LVHVYGNJ.js → chunk.DERVHDED.js} +2 -2
  30. package/dist/chunks/{chunk.GU2T4QYY.js → chunk.DQGWSDKO.js} +2 -2
  31. package/dist/chunks/{chunk.RH6M5LOZ.js → chunk.DRDNLZVV.js} +2 -2
  32. package/dist/chunks/{chunk.TL3CU6GP.js → chunk.DY5A3QNK.js} +2 -2
  33. package/dist/chunks/{chunk.FPDZSXOH.js → chunk.DYQLIPUV.js} +2 -2
  34. package/dist/chunks/{chunk.UINBXPTO.js → chunk.E6TJ6ROT.js} +3 -3
  35. package/dist/chunks/{chunk.CQWFA4UX.js → chunk.EULP6YNU.js} +5 -5
  36. package/dist/chunks/{chunk.YYS2GLKL.js → chunk.F3OG25PX.js} +11 -11
  37. package/dist/chunks/{chunk.CEIBHYCD.js → chunk.FIKKXRLN.js} +2 -2
  38. package/dist/chunks/{chunk.C6USYKZS.js → chunk.FQZFX6MB.js} +2 -2
  39. package/dist/chunks/{chunk.LDVT4I5H.js → chunk.FX2OZR2F.js} +6 -6
  40. package/dist/chunks/{chunk.WDBYKMFH.js → chunk.GHG6MEMT.js} +7 -7
  41. package/dist/chunks/{chunk.P4MMN7PH.js → chunk.GXWWKMHA.js} +2 -2
  42. package/dist/chunks/{chunk.RSKS75TW.js → chunk.H46VS4FW.js} +2 -2
  43. package/dist/chunks/{chunk.J2ZC2G36.js → chunk.HYJO4S2V.js} +2 -2
  44. package/dist/chunks/{chunk.J2ZC2G36.js.map → chunk.HYJO4S2V.js.map} +1 -1
  45. package/dist/chunks/{chunk.SO6FPIPZ.js → chunk.I556OCSM.js} +6 -6
  46. package/dist/chunks/{chunk.Z4RY435G.js → chunk.I5GUIRPD.js} +3 -3
  47. package/dist/chunks/{chunk.Z4RY435G.js.map → chunk.I5GUIRPD.js.map} +1 -1
  48. package/dist/chunks/{chunk.K64HLUFC.js → chunk.I5I22LIH.js} +2 -2
  49. package/dist/chunks/{chunk.A2742LGL.js → chunk.IQCJGDDM.js} +2 -2
  50. package/dist/chunks/{chunk.GPFZZBN2.js → chunk.ITYRHNYY.js} +2 -2
  51. package/dist/chunks/{chunk.22VV7763.js → chunk.IYBCT3KC.js} +2 -2
  52. package/dist/chunks/{chunk.6ESUHZ3O.js → chunk.J37S3VT5.js} +7 -7
  53. package/dist/chunks/{chunk.S7R3V72A.js → chunk.JNV5VLTD.js} +2 -2
  54. package/dist/chunks/{chunk.QMCEGLIM.js → chunk.JSH64US6.js} +2 -2
  55. package/dist/chunks/{chunk.LYQELPNH.js → chunk.JUSL5AAJ.js} +2 -2
  56. package/dist/chunks/{chunk.EPNPKIY5.js → chunk.KGRQ7VE2.js} +3 -3
  57. package/dist/chunks/{chunk.WS3XV2K3.js → chunk.KVMUSUQQ.js} +2 -2
  58. package/dist/chunks/{chunk.VURIDHAO.js → chunk.LCO425GU.js} +2 -2
  59. package/dist/chunks/{chunk.UASLIWXK.js → chunk.LR6HF2VK.js} +3 -3
  60. package/dist/chunks/{chunk.PREWTTW3.js → chunk.LYA57LFO.js} +2 -2
  61. package/dist/chunks/{chunk.COYAYQ3M.js → chunk.O5A7JGBZ.js} +7 -7
  62. package/dist/chunks/{chunk.FBSMPEU7.js → chunk.PEZ4B3CH.js} +2 -2
  63. package/dist/chunks/{chunk.ZB5IUMZP.js → chunk.PO4J2OUI.js} +2 -2
  64. package/dist/chunks/{chunk.FFRJODL7.js → chunk.PWBJ5OO7.js} +2 -2
  65. package/dist/chunks/{chunk.OJJZL7TJ.js → chunk.PXJVFHDE.js} +6 -6
  66. package/dist/chunks/{chunk.BAR2A3DB.js → chunk.QKFULIUA.js} +6 -6
  67. package/dist/chunks/{chunk.6ZXZ3EZH.js → chunk.QPICCG7O.js} +2 -2
  68. package/dist/chunks/{chunk.YE4XOPSU.js → chunk.RA5OJCGW.js} +2 -2
  69. package/dist/chunks/{chunk.MBMABS7P.js → chunk.RFDG5OLD.js} +2 -2
  70. package/dist/chunks/{chunk.OTBNIFG5.js → chunk.RYJE7625.js} +2 -2
  71. package/dist/chunks/{chunk.3ROMW3W7.js → chunk.SJAGX3XU.js} +2 -2
  72. package/dist/chunks/{chunk.KZLCLANO.js → chunk.SND7EPMO.js} +2 -2
  73. package/dist/chunks/{chunk.OULDFI3G.js → chunk.TCORDJZW.js} +6 -6
  74. package/dist/chunks/{chunk.S67PQPWM.js → chunk.TKUKXDFD.js} +3 -3
  75. package/dist/chunks/{chunk.WBAN4JJR.js → chunk.TNY5BIID.js} +2 -2
  76. package/dist/chunks/{chunk.EPUEIR2H.js → chunk.TQPKQ3ES.js} +2 -2
  77. package/dist/chunks/{chunk.PUDLRTRC.js → chunk.UR4ECXEJ.js} +3 -3
  78. package/dist/chunks/{chunk.XQV5S6SU.js → chunk.V3ZSYEML.js} +7 -7
  79. package/dist/chunks/{chunk.3DB644R2.js → chunk.VHILSYFU.js} +2 -2
  80. package/dist/chunks/{chunk.ZCNRHZZ4.js → chunk.VNVPHOX2.js} +2 -2
  81. package/dist/chunks/{chunk.HT37ISNN.js → chunk.VQTICJPE.js} +3 -3
  82. package/dist/chunks/{chunk.WJQLI2HA.js → chunk.VUHEWNI5.js} +2 -2
  83. package/dist/chunks/{chunk.X3467FNS.js → chunk.WM5KIKPF.js} +5 -5
  84. package/dist/chunks/{chunk.PQQSDQA3.js → chunk.WR5D7IZA.js} +6 -6
  85. package/dist/chunks/{chunk.TXOHGGM2.js → chunk.XB5GSQZ6.js} +3 -3
  86. package/dist/chunks/{chunk.KXWVVBMB.js → chunk.XL5RY2H3.js} +2 -2
  87. package/dist/chunks/{chunk.GJ3LNDDY.js → chunk.XYY6DIGT.js} +2 -2
  88. package/dist/chunks/{chunk.5YEHXZ6U.js → chunk.YAJRVZUO.js} +7 -7
  89. package/dist/chunks/{chunk.2G7EWH6L.js → chunk.YDZUWG7K.js} +2 -2
  90. package/dist/chunks/{chunk.4U2UF2QD.js → chunk.YI75WSVA.js} +2 -2
  91. package/dist/chunks/{chunk.BXRW5UQW.js → chunk.YUQJMRF4.js} +2 -2
  92. package/dist/chunks/{chunk.MZAI7NBA.js → chunk.YW6FMEIC.js} +2 -2
  93. package/dist/chunks/{chunk.UOJTBZVW.js → chunk.ZFF4DL5M.js} +2 -2
  94. package/dist/chunks/{chunk.KMSG2ZDE.js → chunk.ZRCVASCI.js} +2 -2
  95. package/dist/components/accordion/accordion.component.js +3 -3
  96. package/dist/components/accordion/accordion.js +4 -4
  97. package/dist/components/alert/alert.component.js +8 -8
  98. package/dist/components/alert/alert.js +9 -9
  99. package/dist/components/badge/badge.component.js +4 -4
  100. package/dist/components/badge/badge.js +5 -5
  101. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  102. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  103. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  104. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  105. package/dist/components/button/button.component.js +6 -6
  106. package/dist/components/button/button.js +7 -7
  107. package/dist/components/button-group/button-group.component.js +2 -2
  108. package/dist/components/button-group/button-group.js +3 -3
  109. package/dist/components/card/card.component.js +2 -2
  110. package/dist/components/card/card.js +3 -3
  111. package/dist/components/checkbox/checkbox.component.js +3 -3
  112. package/dist/components/checkbox/checkbox.js +4 -4
  113. package/dist/components/combobox/combobox.component.js +6 -6
  114. package/dist/components/combobox/combobox.js +7 -7
  115. package/dist/components/details/details.component.js +5 -5
  116. package/dist/components/details/details.js +6 -6
  117. package/dist/components/dialog/dialog.component.js +6 -6
  118. package/dist/components/dialog/dialog.js +7 -7
  119. package/dist/components/divider/divider.component.js +2 -2
  120. package/dist/components/divider/divider.js +3 -3
  121. package/dist/components/drawer/drawer.component.js +6 -6
  122. package/dist/components/drawer/drawer.js +7 -7
  123. package/dist/components/dropdown/dropdown.component.js +4 -4
  124. package/dist/components/dropdown/dropdown.js +5 -5
  125. package/dist/components/file/file.component.js +7 -7
  126. package/dist/components/file/file.js +8 -8
  127. package/dist/components/header/header.component.js +6 -6
  128. package/dist/components/header/header.js +7 -7
  129. package/dist/components/icon/icon.component.js +2 -2
  130. package/dist/components/icon/icon.js +3 -3
  131. package/dist/components/icon-button/icon-button.component.js +3 -3
  132. package/dist/components/icon-button/icon-button.js +4 -4
  133. package/dist/components/input/input.component.js +6 -6
  134. package/dist/components/input/input.js +7 -7
  135. package/dist/components/menu/menu.component.js +2 -2
  136. package/dist/components/menu/menu.js +3 -3
  137. package/dist/components/menu-item/menu-item.component.js +7 -7
  138. package/dist/components/menu-item/menu-item.js +8 -8
  139. package/dist/components/menu-label/menu-label.component.js +3 -3
  140. package/dist/components/menu-label/menu-label.js +4 -4
  141. package/dist/components/nav-item/nav-item.component.js +3 -3
  142. package/dist/components/nav-item/nav-item.js +4 -4
  143. package/dist/components/optgroup/optgroup.component.js +3 -3
  144. package/dist/components/optgroup/optgroup.js +4 -4
  145. package/dist/components/option/option.component.js +5 -5
  146. package/dist/components/option/option.js +6 -6
  147. package/dist/components/popup/popup.component.js +2 -2
  148. package/dist/components/popup/popup.js +3 -3
  149. package/dist/components/prio-nav/prio-nav.component.js +10 -10
  150. package/dist/components/prio-nav/prio-nav.js +11 -11
  151. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  152. package/dist/components/progress-bar/progress-bar.js +3 -3
  153. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  154. package/dist/components/progress-ring/progress-ring.js +3 -3
  155. package/dist/components/radio/radio.component.js +3 -3
  156. package/dist/components/radio/radio.js +4 -4
  157. package/dist/components/radio-button/radio-button.component.js +2 -2
  158. package/dist/components/radio-button/radio-button.js +3 -3
  159. package/dist/components/radio-group/radio-group.component.js +3 -3
  160. package/dist/components/radio-group/radio-group.js +4 -4
  161. package/dist/components/range/range.component.js +5 -5
  162. package/dist/components/range/range.js +6 -6
  163. package/dist/components/range-tick/range-tick.component.js +2 -2
  164. package/dist/components/range-tick/range-tick.js +3 -3
  165. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  166. package/dist/components/select/select.component.js +8 -8
  167. package/dist/components/select/select.js +9 -9
  168. package/dist/components/side-nav/side-nav.component.js +8 -8
  169. package/dist/components/side-nav/side-nav.js +9 -9
  170. package/dist/components/spinner/spinner.component.js +2 -2
  171. package/dist/components/spinner/spinner.js +3 -3
  172. package/dist/components/switch/switch.component.js +2 -2
  173. package/dist/components/switch/switch.js +3 -3
  174. package/dist/components/tab/tab.component.js +6 -6
  175. package/dist/components/tab/tab.js +7 -7
  176. package/dist/components/tab-group/tab-group.component.js +7 -7
  177. package/dist/components/tab-group/tab-group.js +8 -8
  178. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  179. package/dist/components/tab-panel/tab-panel.js +3 -3
  180. package/dist/components/tag/tag.component.js +6 -6
  181. package/dist/components/tag/tag.js +7 -7
  182. package/dist/components/textarea/textarea.component.js +2 -2
  183. package/dist/components/textarea/textarea.js +3 -3
  184. package/dist/components/tooltip/tooltip.component.js +4 -4
  185. package/dist/components/tooltip/tooltip.js +5 -5
  186. package/dist/custom-elements.json +81 -79
  187. package/dist/styles/index.css +1 -1
  188. package/dist/synergy.js +104 -104
  189. package/dist/vscode.html-custom-data.json +23 -23
  190. package/package.json +3 -3
  191. /package/dist/chunks/{chunk.R5YHHUJ4.js.map → chunk.23CMR43E.js.map} +0 -0
  192. /package/dist/chunks/{chunk.QDSUILAI.js.map → chunk.2JX7JM2V.js.map} +0 -0
  193. /package/dist/chunks/{chunk.PQUTH5FO.js.map → chunk.3Q5425AT.js.map} +0 -0
  194. /package/dist/chunks/{chunk.YWUDPAYD.js.map → chunk.3Q7MN3JF.js.map} +0 -0
  195. /package/dist/chunks/{chunk.5EL32I2V.js.map → chunk.3W4NLYWB.js.map} +0 -0
  196. /package/dist/chunks/{chunk.WHGCIBTW.js.map → chunk.3XXQOZM5.js.map} +0 -0
  197. /package/dist/chunks/{chunk.MOE5XM6M.js.map → chunk.4BXOVCEB.js.map} +0 -0
  198. /package/dist/chunks/{chunk.QG4XASPL.js.map → chunk.4L5SIXQY.js.map} +0 -0
  199. /package/dist/chunks/{chunk.F3RWVUZQ.js.map → chunk.4PRIBMLK.js.map} +0 -0
  200. /package/dist/chunks/{chunk.6QCYXTJW.js.map → chunk.4Q57DVYE.js.map} +0 -0
  201. /package/dist/chunks/{chunk.TVDFRMQ3.js.map → chunk.55GDIUB6.js.map} +0 -0
  202. /package/dist/chunks/{chunk.KZHUTAJA.js.map → chunk.5I2ZZD6Z.js.map} +0 -0
  203. /package/dist/chunks/{chunk.OMKBBNSB.js.map → chunk.5SCFTXAO.js.map} +0 -0
  204. /package/dist/chunks/{chunk.RDPOTSRB.js.map → chunk.5TB5H3O3.js.map} +0 -0
  205. /package/dist/chunks/{chunk.33VCSNY3.js.map → chunk.6GE4LHC2.js.map} +0 -0
  206. /package/dist/chunks/{chunk.IOBQV335.js.map → chunk.6KH6QH6N.js.map} +0 -0
  207. /package/dist/chunks/{chunk.UH7RUIYS.js.map → chunk.6RKSFGQJ.js.map} +0 -0
  208. /package/dist/chunks/{chunk.NAGCYKBH.js.map → chunk.7BK3QSJP.js.map} +0 -0
  209. /package/dist/chunks/{chunk.N6T5SBZI.js.map → chunk.7UGBO6R3.js.map} +0 -0
  210. /package/dist/chunks/{chunk.OW4XXUEL.js.map → chunk.A62ROI4G.js.map} +0 -0
  211. /package/dist/chunks/{chunk.5QMEBRE5.js.map → chunk.ADLK4M4A.js.map} +0 -0
  212. /package/dist/chunks/{chunk.XMADZL6P.js.map → chunk.ATFDXAI4.js.map} +0 -0
  213. /package/dist/chunks/{chunk.EKEUU4IN.js.map → chunk.BOOBLAYC.js.map} +0 -0
  214. /package/dist/chunks/{chunk.PFYIY3JX.js.map → chunk.BR4HMV7K.js.map} +0 -0
  215. /package/dist/chunks/{chunk.GI7FG2YU.js.map → chunk.BYPYDARC.js.map} +0 -0
  216. /package/dist/chunks/{chunk.7GBDUBHK.js.map → chunk.C5T3L55C.js.map} +0 -0
  217. /package/dist/chunks/{chunk.HB5FH4Y5.js.map → chunk.CEBAL5EI.js.map} +0 -0
  218. /package/dist/chunks/{chunk.UMIYTMNG.js.map → chunk.CR62KOL2.js.map} +0 -0
  219. /package/dist/chunks/{chunk.LVHVYGNJ.js.map → chunk.DERVHDED.js.map} +0 -0
  220. /package/dist/chunks/{chunk.GU2T4QYY.js.map → chunk.DQGWSDKO.js.map} +0 -0
  221. /package/dist/chunks/{chunk.RH6M5LOZ.js.map → chunk.DRDNLZVV.js.map} +0 -0
  222. /package/dist/chunks/{chunk.TL3CU6GP.js.map → chunk.DY5A3QNK.js.map} +0 -0
  223. /package/dist/chunks/{chunk.FPDZSXOH.js.map → chunk.DYQLIPUV.js.map} +0 -0
  224. /package/dist/chunks/{chunk.UINBXPTO.js.map → chunk.E6TJ6ROT.js.map} +0 -0
  225. /package/dist/chunks/{chunk.CQWFA4UX.js.map → chunk.EULP6YNU.js.map} +0 -0
  226. /package/dist/chunks/{chunk.YYS2GLKL.js.map → chunk.F3OG25PX.js.map} +0 -0
  227. /package/dist/chunks/{chunk.CEIBHYCD.js.map → chunk.FIKKXRLN.js.map} +0 -0
  228. /package/dist/chunks/{chunk.C6USYKZS.js.map → chunk.FQZFX6MB.js.map} +0 -0
  229. /package/dist/chunks/{chunk.LDVT4I5H.js.map → chunk.FX2OZR2F.js.map} +0 -0
  230. /package/dist/chunks/{chunk.WDBYKMFH.js.map → chunk.GHG6MEMT.js.map} +0 -0
  231. /package/dist/chunks/{chunk.P4MMN7PH.js.map → chunk.GXWWKMHA.js.map} +0 -0
  232. /package/dist/chunks/{chunk.RSKS75TW.js.map → chunk.H46VS4FW.js.map} +0 -0
  233. /package/dist/chunks/{chunk.SO6FPIPZ.js.map → chunk.I556OCSM.js.map} +0 -0
  234. /package/dist/chunks/{chunk.K64HLUFC.js.map → chunk.I5I22LIH.js.map} +0 -0
  235. /package/dist/chunks/{chunk.A2742LGL.js.map → chunk.IQCJGDDM.js.map} +0 -0
  236. /package/dist/chunks/{chunk.GPFZZBN2.js.map → chunk.ITYRHNYY.js.map} +0 -0
  237. /package/dist/chunks/{chunk.22VV7763.js.map → chunk.IYBCT3KC.js.map} +0 -0
  238. /package/dist/chunks/{chunk.6ESUHZ3O.js.map → chunk.J37S3VT5.js.map} +0 -0
  239. /package/dist/chunks/{chunk.S7R3V72A.js.map → chunk.JNV5VLTD.js.map} +0 -0
  240. /package/dist/chunks/{chunk.QMCEGLIM.js.map → chunk.JSH64US6.js.map} +0 -0
  241. /package/dist/chunks/{chunk.LYQELPNH.js.map → chunk.JUSL5AAJ.js.map} +0 -0
  242. /package/dist/chunks/{chunk.EPNPKIY5.js.map → chunk.KGRQ7VE2.js.map} +0 -0
  243. /package/dist/chunks/{chunk.WS3XV2K3.js.map → chunk.KVMUSUQQ.js.map} +0 -0
  244. /package/dist/chunks/{chunk.VURIDHAO.js.map → chunk.LCO425GU.js.map} +0 -0
  245. /package/dist/chunks/{chunk.UASLIWXK.js.map → chunk.LR6HF2VK.js.map} +0 -0
  246. /package/dist/chunks/{chunk.PREWTTW3.js.map → chunk.LYA57LFO.js.map} +0 -0
  247. /package/dist/chunks/{chunk.COYAYQ3M.js.map → chunk.O5A7JGBZ.js.map} +0 -0
  248. /package/dist/chunks/{chunk.FBSMPEU7.js.map → chunk.PEZ4B3CH.js.map} +0 -0
  249. /package/dist/chunks/{chunk.ZB5IUMZP.js.map → chunk.PO4J2OUI.js.map} +0 -0
  250. /package/dist/chunks/{chunk.FFRJODL7.js.map → chunk.PWBJ5OO7.js.map} +0 -0
  251. /package/dist/chunks/{chunk.OJJZL7TJ.js.map → chunk.PXJVFHDE.js.map} +0 -0
  252. /package/dist/chunks/{chunk.BAR2A3DB.js.map → chunk.QKFULIUA.js.map} +0 -0
  253. /package/dist/chunks/{chunk.6ZXZ3EZH.js.map → chunk.QPICCG7O.js.map} +0 -0
  254. /package/dist/chunks/{chunk.YE4XOPSU.js.map → chunk.RA5OJCGW.js.map} +0 -0
  255. /package/dist/chunks/{chunk.MBMABS7P.js.map → chunk.RFDG5OLD.js.map} +0 -0
  256. /package/dist/chunks/{chunk.OTBNIFG5.js.map → chunk.RYJE7625.js.map} +0 -0
  257. /package/dist/chunks/{chunk.3ROMW3W7.js.map → chunk.SJAGX3XU.js.map} +0 -0
  258. /package/dist/chunks/{chunk.KZLCLANO.js.map → chunk.SND7EPMO.js.map} +0 -0
  259. /package/dist/chunks/{chunk.OULDFI3G.js.map → chunk.TCORDJZW.js.map} +0 -0
  260. /package/dist/chunks/{chunk.S67PQPWM.js.map → chunk.TKUKXDFD.js.map} +0 -0
  261. /package/dist/chunks/{chunk.WBAN4JJR.js.map → chunk.TNY5BIID.js.map} +0 -0
  262. /package/dist/chunks/{chunk.EPUEIR2H.js.map → chunk.TQPKQ3ES.js.map} +0 -0
  263. /package/dist/chunks/{chunk.PUDLRTRC.js.map → chunk.UR4ECXEJ.js.map} +0 -0
  264. /package/dist/chunks/{chunk.XQV5S6SU.js.map → chunk.V3ZSYEML.js.map} +0 -0
  265. /package/dist/chunks/{chunk.3DB644R2.js.map → chunk.VHILSYFU.js.map} +0 -0
  266. /package/dist/chunks/{chunk.ZCNRHZZ4.js.map → chunk.VNVPHOX2.js.map} +0 -0
  267. /package/dist/chunks/{chunk.HT37ISNN.js.map → chunk.VQTICJPE.js.map} +0 -0
  268. /package/dist/chunks/{chunk.WJQLI2HA.js.map → chunk.VUHEWNI5.js.map} +0 -0
  269. /package/dist/chunks/{chunk.X3467FNS.js.map → chunk.WM5KIKPF.js.map} +0 -0
  270. /package/dist/chunks/{chunk.PQQSDQA3.js.map → chunk.WR5D7IZA.js.map} +0 -0
  271. /package/dist/chunks/{chunk.TXOHGGM2.js.map → chunk.XB5GSQZ6.js.map} +0 -0
  272. /package/dist/chunks/{chunk.KXWVVBMB.js.map → chunk.XL5RY2H3.js.map} +0 -0
  273. /package/dist/chunks/{chunk.GJ3LNDDY.js.map → chunk.XYY6DIGT.js.map} +0 -0
  274. /package/dist/chunks/{chunk.5YEHXZ6U.js.map → chunk.YAJRVZUO.js.map} +0 -0
  275. /package/dist/chunks/{chunk.2G7EWH6L.js.map → chunk.YDZUWG7K.js.map} +0 -0
  276. /package/dist/chunks/{chunk.4U2UF2QD.js.map → chunk.YI75WSVA.js.map} +0 -0
  277. /package/dist/chunks/{chunk.BXRW5UQW.js.map → chunk.YUQJMRF4.js.map} +0 -0
  278. /package/dist/chunks/{chunk.MZAI7NBA.js.map → chunk.YW6FMEIC.js.map} +0 -0
  279. /package/dist/chunks/{chunk.UOJTBZVW.js.map → chunk.ZFF4DL5M.js.map} +0 -0
  280. /package/dist/chunks/{chunk.KMSG2ZDE.js.map → chunk.ZRCVASCI.js.map} +0 -0
@@ -9,24 +9,24 @@ import {
9
9
  } from "./chunk.JNP34M27.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.PFYIY3JX.js";
12
+ } from "./chunk.BR4HMV7K.js";
13
13
  import {
14
14
  SynSpinner
15
- } from "./chunk.C6USYKZS.js";
15
+ } from "./chunk.FQZFX6MB.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.Z4RY435G.js";
22
+ } from "./chunk.I5GUIRPD.js";
23
23
  import {
24
24
  watch
25
25
  } from "./chunk.74IOULXM.js";
26
26
  import {
27
27
  SynergyElement,
28
28
  component_styles_default
29
- } from "./chunk.J2ZC2G36.js";
29
+ } from "./chunk.HYJO4S2V.js";
30
30
  import {
31
31
  __decorateClass
32
32
  } from "./chunk.2GFK6XTO.js";
@@ -187,4 +187,4 @@ __decorateClass([
187
187
  export {
188
188
  SynMenuItem
189
189
  };
190
- //# sourceMappingURL=chunk.CQWFA4UX.js.map
190
+ //# sourceMappingURL=chunk.EULP6YNU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIconButton
3
- } from "./chunk.S67PQPWM.js";
3
+ } from "./chunk.TKUKXDFD.js";
4
4
  import {
5
5
  waitForEvent
6
6
  } from "./chunk.C2ENQBPM.js";
@@ -16,21 +16,21 @@ import {
16
16
  HasSlotController
17
17
  } from "./chunk.WVVQK5TE.js";
18
18
  import {
19
- alert_custom_styles_default
20
- } from "./chunk.JRYXECAY.js";
21
- import {
22
- alert_styles_default
23
- } from "./chunk.NL3RUWYS.js";
19
+ LocalizeController
20
+ } from "./chunk.GIU3H3J3.js";
24
21
  import {
25
22
  watch
26
23
  } from "./chunk.74IOULXM.js";
27
- import {
28
- LocalizeController
29
- } from "./chunk.GIU3H3J3.js";
30
24
  import {
31
25
  SynergyElement,
32
26
  component_styles_default
33
- } from "./chunk.J2ZC2G36.js";
27
+ } from "./chunk.HYJO4S2V.js";
28
+ import {
29
+ alert_custom_styles_default
30
+ } from "./chunk.JRYXECAY.js";
31
+ import {
32
+ alert_styles_default
33
+ } from "./chunk.NL3RUWYS.js";
34
34
  import {
35
35
  __decorateClass
36
36
  } from "./chunk.2GFK6XTO.js";
@@ -269,4 +269,4 @@ setDefaultAnimation("alert.hide", {
269
269
  export {
270
270
  SynAlert
271
271
  };
272
- //# sourceMappingURL=chunk.YYS2GLKL.js.map
272
+ //# sourceMappingURL=chunk.F3OG25PX.js.map
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  SynergyElement,
25
25
  component_styles_default
26
- } from "./chunk.J2ZC2G36.js";
26
+ } from "./chunk.HYJO4S2V.js";
27
27
  import {
28
28
  __decorateClass
29
29
  } from "./chunk.2GFK6XTO.js";
@@ -361,4 +361,4 @@ __decorateClass([
361
361
  export {
362
362
  SynTextarea
363
363
  };
364
- //# sourceMappingURL=chunk.CEIBHYCD.js.map
364
+ //# sourceMappingURL=chunk.FIKKXRLN.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.J2ZC2G36.js";
13
+ } from "./chunk.HYJO4S2V.js";
14
14
 
15
15
  // src/components/spinner/spinner.component.ts
16
16
  import { html } from "lit";
@@ -33,4 +33,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
33
33
  export {
34
34
  SynSpinner
35
35
  };
36
- //# sourceMappingURL=chunk.C6USYKZS.js.map
36
+ //# sourceMappingURL=chunk.FQZFX6MB.js.map
@@ -18,17 +18,17 @@ import {
18
18
  } from "./chunk.HQ6QUSK7.js";
19
19
  import {
20
20
  SynIcon
21
- } from "./chunk.Z4RY435G.js";
22
- import {
23
- watch
24
- } from "./chunk.74IOULXM.js";
21
+ } from "./chunk.I5GUIRPD.js";
25
22
  import {
26
23
  LocalizeController
27
24
  } from "./chunk.GIU3H3J3.js";
25
+ import {
26
+ watch
27
+ } from "./chunk.74IOULXM.js";
28
28
  import {
29
29
  SynergyElement,
30
30
  component_styles_default
31
- } from "./chunk.J2ZC2G36.js";
31
+ } from "./chunk.HYJO4S2V.js";
32
32
  import {
33
33
  __decorateClass
34
34
  } from "./chunk.2GFK6XTO.js";
@@ -239,4 +239,4 @@ setDefaultAnimation("details.hide", {
239
239
  export {
240
240
  SynDetails
241
241
  };
242
- //# sourceMappingURL=chunk.LDVT4I5H.js.map
242
+ //# sourceMappingURL=chunk.FX2OZR2F.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSpinner
3
- } from "./chunk.C6USYKZS.js";
3
+ } from "./chunk.FQZFX6MB.js";
4
4
  import {
5
5
  FormControlController,
6
6
  validValidityState
@@ -17,17 +17,17 @@ import {
17
17
  } from "./chunk.WVVQK5TE.js";
18
18
  import {
19
19
  SynIcon
20
- } from "./chunk.Z4RY435G.js";
21
- import {
22
- watch
23
- } from "./chunk.74IOULXM.js";
20
+ } from "./chunk.I5GUIRPD.js";
24
21
  import {
25
22
  LocalizeController
26
23
  } from "./chunk.GIU3H3J3.js";
24
+ import {
25
+ watch
26
+ } from "./chunk.74IOULXM.js";
27
27
  import {
28
28
  SynergyElement,
29
29
  component_styles_default
30
- } from "./chunk.J2ZC2G36.js";
30
+ } from "./chunk.HYJO4S2V.js";
31
31
  import {
32
32
  __decorateClass
33
33
  } from "./chunk.2GFK6XTO.js";
@@ -287,4 +287,4 @@ __decorateClass([
287
287
  export {
288
288
  SynButton
289
289
  };
290
- //# sourceMappingURL=chunk.WDBYKMFH.js.map
290
+ //# sourceMappingURL=chunk.GHG6MEMT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAccordion
3
- } from "./chunk.X3467FNS.js";
3
+ } from "./chunk.WM5KIKPF.js";
4
4
 
5
5
  // src/components/accordion/accordion.ts
6
6
  var accordion_default = SynAccordion;
@@ -9,4 +9,4 @@ SynAccordion.define("syn-accordion");
9
9
  export {
10
10
  accordion_default
11
11
  };
12
- //# sourceMappingURL=chunk.P4MMN7PH.js.map
12
+ //# sourceMappingURL=chunk.GXWWKMHA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAlert
3
- } from "./chunk.YYS2GLKL.js";
3
+ } from "./chunk.F3OG25PX.js";
4
4
 
5
5
  // src/components/alert/alert.ts
6
6
  var alert_default = SynAlert;
@@ -9,4 +9,4 @@ SynAlert.define("syn-alert");
9
9
  export {
10
10
  alert_default
11
11
  };
12
- //# sourceMappingURL=chunk.RSKS75TW.js.map
12
+ //# sourceMappingURL=chunk.H46VS4FW.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.11.2";
84
+ SynergyElement.version = "2.11.4";
85
85
  SynergyElement.dependencies = {};
86
86
  __decorateClass([
87
87
  property()
@@ -113,4 +113,4 @@ export {
113
113
  SynergyElement,
114
114
  component_styles_default
115
115
  };
116
- //# sourceMappingURL=chunk.J2ZC2G36.js.map
116
+ //# sourceMappingURL=chunk.HYJO4S2V.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/internal/synergy-element.ts", "../../src/styles/component.styles.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.11.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", "/**\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 { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\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.11.4\";\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", "/**\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 { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n`;\n"],
5
5
  "mappings": ";;;;;;;;;AAQA,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AATzB;AAwEA,IAAqB,iBAArB,cAA4C,WAAW;AAAA,EA8ErD,cAAc;AACZ,UAAM;AAMR,sDAAgC;AAGhC;AAAA,sCAAmD,oBAAI,IAAI;AARzD,WAAO,QAAS,KAAK,YAAsC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,SAAS,MAAM;AACtG,MAAC,KAAK,YAAsC,OAAO,MAAM,SAAS;AAAA,IACpE,CAAC;AAAA,EACH;AAAA,EArEA,KACE,MACA,SACuB;AACvB,UAAM,QAAQ,IAAI,YAAY,MAAM;AAAA,MAClC,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,QAAQ,CAAC;AAAA,OACN,QACJ;AAED,SAAK,cAAc,KAAK;AAExB,WAAO;AAAA,EACT;AAAA,EAOA,OAAO,OAAO,MAAc,qBAAqB,MAAM,UAAoC,CAAC,GAAG;AAC7F,UAAM,iCAAiC,eAAe,IAAI,IAAI;AAI9D,QAAI,CAAC,gCAAgC;AAKnC,UAAI;AACF,uBAAe,OAAO,MAAM,oBAAoB,OAAO;AAAA,MACzD,SAAS,MAAM;AACb,uBAAe,OAAO,MAAM,cAAc,mBAAmB;AAAA,QAAC,GAAG,OAAO;AAAA,MAC1E;AACA;AAAA,IACF;AAEA,QAAI,aAAa;AACjB,QAAI,kBAAkB;AAEtB,QAAI,aAAa,sBAAsB,mBAAmB,SAAS;AACjE,mBAAa,OAAO,mBAAmB;AAAA,IACzC;AAEA,QAAI,aAAa,kCAAkC,+BAA+B,SAAS;AACzF,wBAAkB,OAAO,+BAA+B;AAAA,IAC1D;AAGA,QAAI,cAAc,mBAAmB,eAAe,iBAAiB;AAEnE;AAAA,IACF;AAEA,YAAQ;AAAA,MACN,0BAA0B,IAAI,IAAI,UAAU,UAAU,IAAI,IAAI,eAAe;AAAA,IAC/E;AAAA,EACF;AAAA,EAgBA,yBAAyB,MAAc,UAAyB,UAAyB;AACvF,QAAI,CAAC,mBAAK,gCAA+B;AACvC,MAAC,KAAK,YAAsC,kBAAkB;AAAA,QAC5D,CAAC,KAAK,SAAqC;AAEzC,cAAI,IAAI,WAAW,KAAK,IAAI,KAAK,MAAM;AACrC,iBAAK,2BAA2B,IAAI,MAAM,KAAK,IAAI,CAAC;AAAA,UACtD;AAAA,QACF;AAAA,MACF;AAEA,yBAAK,+BAAgC;AAAA,IACvC;AAEA,UAAM,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;;;ACnEd,SAAS,WAAW;AAEpB,IAAO,2BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk.5732DMBC.js";
14
14
  import {
15
15
  SynIconButton
16
- } from "./chunk.S67PQPWM.js";
16
+ } from "./chunk.TKUKXDFD.js";
17
17
  import {
18
18
  waitForEvent
19
19
  } from "./chunk.C2ENQBPM.js";
@@ -28,16 +28,16 @@ import {
28
28
  import {
29
29
  HasSlotController
30
30
  } from "./chunk.WVVQK5TE.js";
31
- import {
32
- watch
33
- } from "./chunk.74IOULXM.js";
34
31
  import {
35
32
  LocalizeController
36
33
  } from "./chunk.GIU3H3J3.js";
34
+ import {
35
+ watch
36
+ } from "./chunk.74IOULXM.js";
37
37
  import {
38
38
  SynergyElement,
39
39
  component_styles_default
40
- } from "./chunk.J2ZC2G36.js";
40
+ } from "./chunk.HYJO4S2V.js";
41
41
  import {
42
42
  __decorateClass
43
43
  } from "./chunk.2GFK6XTO.js";
@@ -287,4 +287,4 @@ setDefaultAnimation("dialog.overlay.hide", {
287
287
  export {
288
288
  SynDialog
289
289
  };
290
- //# sourceMappingURL=chunk.SO6FPIPZ.js.map
290
+ //# sourceMappingURL=chunk.I556OCSM.js.map
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  SynergyElement,
17
17
  component_styles_default
18
- } from "./chunk.J2ZC2G36.js";
18
+ } from "./chunk.HYJO4S2V.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.2GFK6XTO.js";
@@ -42,7 +42,7 @@ var SynIcon = class extends SynergyElement {
42
42
  let fileData;
43
43
  if (library == null ? void 0 : library.spriteSheet) {
44
44
  this.svg = html`<svg part="svg">
45
- <use part="use" href="${url}"></use>
45
+ <use part="use" href="${url}" width="100%" height="100%"></use>
46
46
  </svg>`;
47
47
  return this.svg;
48
48
  }
@@ -180,4 +180,4 @@ __decorateClass([
180
180
  export {
181
181
  SynIcon
182
182
  };
183
- //# sourceMappingURL=chunk.Z4RY435G.js.map
183
+ //# sourceMappingURL=chunk.I5GUIRPD.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/icon/icon.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 { getIconLibrary, type IconLibrary, unwatchIcon, watchIcon } from './library.js';\nimport { html } from 'lit';\nimport { isTemplateResult } from 'lit/directive-helpers.js';\nimport { property, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './icon.styles.js';\nimport customStyles from './icon.custom.styles.js';\nimport type { CSSResultGroup, HTMLTemplateResult } from 'lit';\n\nconst CACHEABLE_ERROR = Symbol();\nconst RETRYABLE_ERROR = Symbol();\ntype SVGResult = HTMLTemplateResult | SVGSVGElement | typeof RETRYABLE_ERROR | typeof CACHEABLE_ERROR;\n\nlet parser: DOMParser;\nconst iconCache = new Map<string, Promise<SVGResult>>();\n\ninterface IconSource {\n url?: string;\n fromLibrary: boolean;\n}\n\n/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://synergy.style/components/icon\n * @status stable\n * @since 2.0\n *\n * @event syn-load - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n * @event syn-error - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n *\n * @csspart svg - The internal SVG element.\n * @csspart use - The <use> element generated when using `spriteSheet: true`\n */\nexport default class SynIcon extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private initialRender = false;\n\n /** Given a URL, this function returns the resulting SVG element or an appropriate error symbol. */\n private async resolveIcon(url: string, library?: IconLibrary): Promise<SVGResult> {\n let fileData: Response;\n\n if (library?.spriteSheet) {\n this.svg = html`<svg part=\"svg\">\n <use part=\"use\" href=\"${url}\"></use>\n </svg>`;\n\n return this.svg;\n }\n\n try {\n fileData = await fetch(url, { mode: 'cors' });\n if (!fileData.ok) return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;\n } catch {\n return RETRYABLE_ERROR;\n }\n\n try {\n const div = document.createElement('div');\n div.innerHTML = await fileData.text();\n\n const svg = div.firstElementChild;\n if (svg?.tagName?.toLowerCase() !== 'svg') return CACHEABLE_ERROR;\n\n if (!parser) parser = new DOMParser();\n const doc = parser.parseFromString(svg.outerHTML, 'text/html');\n\n const svgEl = doc.body.querySelector('svg');\n if (!svgEl) return CACHEABLE_ERROR;\n\n svgEl.part.add('svg');\n return document.adoptNode(svgEl);\n } catch {\n return CACHEABLE_ERROR;\n }\n }\n\n @state() private svg: SVGElement | HTMLTemplateResult | null = null;\n\n /** The name of the icon to draw. Available names depend on the icon library being used. */\n @property({ reflect: true }) name?: string;\n\n /**\n * An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\n * can result in XSS attacks.\n */\n @property() src?: string;\n\n /**\n * An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\n * ignored by assistive devices.\n */\n @property() label = '';\n\n /** The name of a registered custom icon library. */\n @property({ reflect: true }) library = 'default';\n\n connectedCallback() {\n super.connectedCallback();\n watchIcon(this);\n }\n\n firstUpdated() {\n this.initialRender = true;\n this.setIcon();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unwatchIcon(this);\n }\n\n private getIconSource(): IconSource {\n const library = getIconLibrary(this.library);\n if (this.name && library) {\n return {\n url: library.resolver(this.name),\n fromLibrary: true\n };\n }\n\n return {\n url: this.src,\n fromLibrary: false\n };\n }\n\n @watch('label')\n handleLabelChange() {\n const hasLabel = typeof this.label === 'string' && this.label.length > 0;\n\n if (hasLabel) {\n this.setAttribute('role', 'img');\n this.setAttribute('aria-label', this.label);\n this.removeAttribute('aria-hidden');\n } else {\n this.removeAttribute('role');\n this.removeAttribute('aria-label');\n this.setAttribute('aria-hidden', 'true');\n }\n }\n\n @watch(['name', 'src', 'library'])\n async setIcon() {\n const { url, fromLibrary } = this.getIconSource();\n const library = fromLibrary ? getIconLibrary(this.library) : undefined;\n\n if (!url) {\n this.svg = null;\n return;\n }\n\n let iconResolver = iconCache.get(url);\n if (!iconResolver) {\n iconResolver = this.resolveIcon(url, library);\n iconCache.set(url, iconResolver);\n }\n\n // If we haven't rendered yet, exit early. This avoids unnecessary work due to watching multiple props.\n if (!this.initialRender) {\n return;\n }\n\n const svg = await iconResolver;\n\n if (svg === RETRYABLE_ERROR) {\n iconCache.delete(url);\n }\n\n if (url !== this.getIconSource().url) {\n // If the url has changed while fetching the icon, ignore this request\n return;\n }\n\n if (isTemplateResult(svg)) {\n this.svg = svg;\n\n if (library) {\n // Using a templateResult requires the SVG to be written to the DOM first before we can grab the SVGElement\n // to be passed to the library's mutator function.\n await this.updateComplete;\n\n const shadowSVG = this.shadowRoot!.querySelector(\"[part='svg']\")!;\n\n if (typeof library.mutator === 'function' && shadowSVG) {\n library.mutator(shadowSVG as SVGElement);\n }\n }\n\n return;\n }\n\n switch (svg) {\n case RETRYABLE_ERROR:\n case CACHEABLE_ERROR:\n this.svg = null;\n this.emit('syn-error');\n break;\n default:\n this.svg = svg.cloneNode(true) as SVGElement;\n library?.mutator?.(this.svg);\n this.emit('syn-load');\n }\n }\n\n render() {\n return this.svg;\n }\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 { getIconLibrary, type IconLibrary, unwatchIcon, watchIcon } from './library.js';\nimport { html } from 'lit';\nimport { isTemplateResult } from 'lit/directive-helpers.js';\nimport { property, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './icon.styles.js';\nimport customStyles from './icon.custom.styles.js';\nimport type { CSSResultGroup, HTMLTemplateResult } from 'lit';\n\nconst CACHEABLE_ERROR = Symbol();\nconst RETRYABLE_ERROR = Symbol();\ntype SVGResult = HTMLTemplateResult | SVGSVGElement | typeof RETRYABLE_ERROR | typeof CACHEABLE_ERROR;\n\nlet parser: DOMParser;\nconst iconCache = new Map<string, Promise<SVGResult>>();\n\ninterface IconSource {\n url?: string;\n fromLibrary: boolean;\n}\n\n/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://synergy.style/components/icon\n * @status stable\n * @since 2.0\n *\n * @event syn-load - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n * @event syn-error - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n *\n * @csspart svg - The internal SVG element.\n * @csspart use - The <use> element generated when using `spriteSheet: true`\n */\nexport default class SynIcon extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private initialRender = false;\n\n /** Given a URL, this function returns the resulting SVG element or an appropriate error symbol. */\n private async resolveIcon(url: string, library?: IconLibrary): Promise<SVGResult> {\n let fileData: Response;\n\n if (library?.spriteSheet) {\n this.svg = html`<svg part=\"svg\">\n <use part=\"use\" href=\"${url}\" width=\"100%\" height=\"100%\"></use>\n </svg>`;\n\n return this.svg;\n }\n\n try {\n fileData = await fetch(url, { mode: 'cors' });\n if (!fileData.ok) return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;\n } catch {\n return RETRYABLE_ERROR;\n }\n\n try {\n const div = document.createElement('div');\n div.innerHTML = await fileData.text();\n\n const svg = div.firstElementChild;\n if (svg?.tagName?.toLowerCase() !== 'svg') return CACHEABLE_ERROR;\n\n if (!parser) parser = new DOMParser();\n const doc = parser.parseFromString(svg.outerHTML, 'text/html');\n\n const svgEl = doc.body.querySelector('svg');\n if (!svgEl) return CACHEABLE_ERROR;\n\n svgEl.part.add('svg');\n return document.adoptNode(svgEl);\n } catch {\n return CACHEABLE_ERROR;\n }\n }\n\n @state() private svg: SVGElement | HTMLTemplateResult | null = null;\n\n /** The name of the icon to draw. Available names depend on the icon library being used. */\n @property({ reflect: true }) name?: string;\n\n /**\n * An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\n * can result in XSS attacks.\n */\n @property() src?: string;\n\n /**\n * An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\n * ignored by assistive devices.\n */\n @property() label = '';\n\n /** The name of a registered custom icon library. */\n @property({ reflect: true }) library = 'default';\n\n connectedCallback() {\n super.connectedCallback();\n watchIcon(this);\n }\n\n firstUpdated() {\n this.initialRender = true;\n this.setIcon();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unwatchIcon(this);\n }\n\n private getIconSource(): IconSource {\n const library = getIconLibrary(this.library);\n if (this.name && library) {\n return {\n url: library.resolver(this.name),\n fromLibrary: true\n };\n }\n\n return {\n url: this.src,\n fromLibrary: false\n };\n }\n\n @watch('label')\n handleLabelChange() {\n const hasLabel = typeof this.label === 'string' && this.label.length > 0;\n\n if (hasLabel) {\n this.setAttribute('role', 'img');\n this.setAttribute('aria-label', this.label);\n this.removeAttribute('aria-hidden');\n } else {\n this.removeAttribute('role');\n this.removeAttribute('aria-label');\n this.setAttribute('aria-hidden', 'true');\n }\n }\n\n @watch(['name', 'src', 'library'])\n async setIcon() {\n const { url, fromLibrary } = this.getIconSource();\n const library = fromLibrary ? getIconLibrary(this.library) : undefined;\n\n if (!url) {\n this.svg = null;\n return;\n }\n\n let iconResolver = iconCache.get(url);\n if (!iconResolver) {\n iconResolver = this.resolveIcon(url, library);\n iconCache.set(url, iconResolver);\n }\n\n // If we haven't rendered yet, exit early. This avoids unnecessary work due to watching multiple props.\n if (!this.initialRender) {\n return;\n }\n\n const svg = await iconResolver;\n\n if (svg === RETRYABLE_ERROR) {\n iconCache.delete(url);\n }\n\n if (url !== this.getIconSource().url) {\n // If the url has changed while fetching the icon, ignore this request\n return;\n }\n\n if (isTemplateResult(svg)) {\n this.svg = svg;\n\n if (library) {\n // Using a templateResult requires the SVG to be written to the DOM first before we can grab the SVGElement\n // to be passed to the library's mutator function.\n await this.updateComplete;\n\n const shadowSVG = this.shadowRoot!.querySelector(\"[part='svg']\")!;\n\n if (typeof library.mutator === 'function' && shadowSVG) {\n library.mutator(shadowSVG as SVGElement);\n }\n }\n\n return;\n }\n\n switch (svg) {\n case RETRYABLE_ERROR:\n case CACHEABLE_ERROR:\n this.svg = null;\n this.emit('syn-error');\n break;\n default:\n this.svg = svg.cloneNode(true) as SVGElement;\n library?.mutator?.(this.svg);\n this.emit('syn-load');\n }\n }\n\n render() {\n return this.svg;\n }\n}\n"],
5
5
  "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynHeader
3
- } from "./chunk.OULDFI3G.js";
3
+ } from "./chunk.TCORDJZW.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.K64HLUFC.js.map
12
+ //# sourceMappingURL=chunk.I5I22LIH.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.J2ZC2G36.js";
13
+ } from "./chunk.HYJO4S2V.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.2GFK6XTO.js";
@@ -130,4 +130,4 @@ __decorateClass([
130
130
  export {
131
131
  SynRadioButton
132
132
  };
133
- //# sourceMappingURL=chunk.A2742LGL.js.map
133
+ //# sourceMappingURL=chunk.IQCJGDDM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.CEIBHYCD.js";
3
+ } from "./chunk.FIKKXRLN.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.GPFZZBN2.js.map
12
+ //# sourceMappingURL=chunk.ITYRHNYY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIconButton
3
- } from "./chunk.S67PQPWM.js";
3
+ } from "./chunk.TKUKXDFD.js";
4
4
 
5
5
  // src/components/icon-button/icon-button.ts
6
6
  var icon_button_default = SynIconButton;
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
9
9
  export {
10
10
  icon_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.22VV7763.js.map
12
+ //# sourceMappingURL=chunk.IYBCT3KC.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.3B22DBSJ.js";
7
7
  import {
8
8
  SynDivider
9
- } from "./chunk.WJQLI2HA.js";
9
+ } from "./chunk.VUHEWNI5.js";
10
10
  import {
11
11
  defaultValue
12
12
  } from "./chunk.RBG37CD4.js";
@@ -22,17 +22,17 @@ import {
22
22
  } from "./chunk.WVVQK5TE.js";
23
23
  import {
24
24
  SynIcon
25
- } from "./chunk.Z4RY435G.js";
26
- import {
27
- watch
28
- } from "./chunk.74IOULXM.js";
25
+ } from "./chunk.I5GUIRPD.js";
29
26
  import {
30
27
  LocalizeController
31
28
  } from "./chunk.GIU3H3J3.js";
29
+ import {
30
+ watch
31
+ } from "./chunk.74IOULXM.js";
32
32
  import {
33
33
  SynergyElement,
34
34
  component_styles_default
35
- } from "./chunk.J2ZC2G36.js";
35
+ } from "./chunk.HYJO4S2V.js";
36
36
  import {
37
37
  __decorateClass,
38
38
  __spreadValues
@@ -642,4 +642,4 @@ __decorateClass([
642
642
  export {
643
643
  SynInput
644
644
  };
645
- //# sourceMappingURL=chunk.6ESUHZ3O.js.map
645
+ //# sourceMappingURL=chunk.J37S3VT5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRange
3
- } from "./chunk.HT37ISNN.js";
3
+ } from "./chunk.VQTICJPE.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.S7R3V72A.js.map
12
+ //# sourceMappingURL=chunk.JNV5VLTD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.UASLIWXK.js";
3
+ } from "./chunk.LR6HF2VK.js";
4
4
 
5
5
  // src/components/radio-group/radio-group.ts
6
6
  var radio_group_default = SynRadioGroup;
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
9
9
  export {
10
10
  radio_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.QMCEGLIM.js.map
12
+ //# sourceMappingURL=chunk.JSH64US6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuLabel
3
- } from "./chunk.7GBDUBHK.js";
3
+ } from "./chunk.C5T3L55C.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.LYQELPNH.js.map
12
+ //# sourceMappingURL=chunk.JUSL5AAJ.js.map
@@ -19,14 +19,14 @@ import {
19
19
  } from "./chunk.WVVQK5TE.js";
20
20
  import {
21
21
  SynIcon
22
- } from "./chunk.Z4RY435G.js";
22
+ } from "./chunk.I5GUIRPD.js";
23
23
  import {
24
24
  watch
25
25
  } from "./chunk.74IOULXM.js";
26
26
  import {
27
27
  SynergyElement,
28
28
  component_styles_default
29
- } from "./chunk.J2ZC2G36.js";
29
+ } from "./chunk.HYJO4S2V.js";
30
30
  import {
31
31
  __decorateClass
32
32
  } from "./chunk.2GFK6XTO.js";
@@ -259,4 +259,4 @@ __decorateClass([
259
259
  export {
260
260
  SynCheckbox
261
261
  };
262
- //# sourceMappingURL=chunk.EPNPKIY5.js.map
262
+ //# sourceMappingURL=chunk.KGRQ7VE2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButton
3
- } from "./chunk.WDBYKMFH.js";
3
+ } from "./chunk.GHG6MEMT.js";
4
4
 
5
5
  // src/components/button/button.ts
6
6
  var button_default = SynButton;
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
9
9
  export {
10
10
  button_default
11
11
  };
12
- //# sourceMappingURL=chunk.WS3XV2K3.js.map
12
+ //# sourceMappingURL=chunk.KVMUSUQQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIcon
3
- } from "./chunk.Z4RY435G.js";
3
+ } from "./chunk.I5GUIRPD.js";
4
4
 
5
5
  // src/components/icon/icon.ts
6
6
  var icon_default = SynIcon;
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
9
9
  export {
10
10
  icon_default
11
11
  };
12
- //# sourceMappingURL=chunk.VURIDHAO.js.map
12
+ //# sourceMappingURL=chunk.LCO425GU.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.FKKJBKYL.js";
11
11
  import {
12
12
  SynButtonGroup
13
- } from "./chunk.YE4XOPSU.js";
13
+ } from "./chunk.RA5OJCGW.js";
14
14
  import {
15
15
  FormControlController,
16
16
  customErrorValidityState,
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  SynergyElement,
28
28
  component_styles_default
29
- } from "./chunk.J2ZC2G36.js";
29
+ } from "./chunk.HYJO4S2V.js";
30
30
  import {
31
31
  __decorateClass
32
32
  } from "./chunk.2GFK6XTO.js";
@@ -361,4 +361,4 @@ __decorateClass([
361
361
  export {
362
362
  SynRadioGroup
363
363
  };
364
- //# sourceMappingURL=chunk.UASLIWXK.js.map
364
+ //# sourceMappingURL=chunk.LR6HF2VK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSwitch
3
- } from "./chunk.QG4XASPL.js";
3
+ } from "./chunk.4L5SIXQY.js";
4
4
 
5
5
  // src/components/switch/switch.ts
6
6
  var switch_default = SynSwitch;
@@ -9,4 +9,4 @@ SynSwitch.define("syn-switch");
9
9
  export {
10
10
  switch_default
11
11
  };
12
- //# sourceMappingURL=chunk.PREWTTW3.js.map
12
+ //# sourceMappingURL=chunk.LYA57LFO.js.map