@synergy-design-system/components 2.8.1 → 2.9.0

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 (288) hide show
  1. package/dist/chunks/{chunk.QA7ENF6T.js → chunk.2RFYTJAB.js} +2 -2
  2. package/dist/chunks/{chunk.ZWBQZ3TF.js → chunk.2SW56VZY.js} +5 -5
  3. package/dist/chunks/{chunk.AAFLJTCI.js → chunk.2X5NHB25.js} +2 -2
  4. package/dist/chunks/{chunk.5IBMJU5B.js → chunk.37CVTQTX.js} +2 -2
  5. package/dist/chunks/{chunk.4PTV2G5L.js → chunk.3DCZBMYA.js} +2 -2
  6. package/dist/chunks/{chunk.RUYJJAFE.js → chunk.3QDRELMB.js} +2 -2
  7. package/dist/chunks/{chunk.VKYAP6J3.js → chunk.3UESDXCS.js} +3 -3
  8. package/dist/chunks/{chunk.CUCUCDH2.js → chunk.3VYGX742.js} +2 -2
  9. package/dist/chunks/{chunk.ISY76A43.js → chunk.4C5GIKP3.js} +5 -5
  10. package/dist/chunks/{chunk.X3UWO4AP.js → chunk.4M6WSXSN.js} +2 -2
  11. package/dist/chunks/{chunk.RHR4U6OW.js → chunk.55MDWDIM.js} +2 -2
  12. package/dist/chunks/{chunk.5LY7AGHD.js → chunk.5W5EERWV.js} +2 -2
  13. package/dist/chunks/{chunk.2VGUDLNP.js → chunk.5XPMUVXP.js} +2 -2
  14. package/dist/chunks/{chunk.52JYIPPF.js → chunk.6J62NZLX.js} +3 -3
  15. package/dist/chunks/{chunk.CW4MHF2R.js → chunk.7TNVMTP6.js} +2 -2
  16. package/dist/chunks/{chunk.DORQF2IR.js → chunk.7UUAWIJB.js} +2 -2
  17. package/dist/chunks/{chunk.2QZJVYXZ.js → chunk.AHEGI6FZ.js} +2 -2
  18. package/dist/chunks/{chunk.3PECQYUM.js → chunk.BCQM76KP.js} +4 -4
  19. package/dist/chunks/{chunk.HHRJTCUN.js → chunk.BL5YP5LC.js} +4 -4
  20. package/dist/chunks/{chunk.FWGBAOEO.js → chunk.BTDIIQBG.js} +2 -2
  21. package/dist/chunks/{chunk.ZNLBIUIN.js → chunk.BV54N3A3.js} +3 -3
  22. package/dist/chunks/{chunk.P7HCXUSU.js → chunk.CA6G64V3.js} +2 -2
  23. package/dist/chunks/{chunk.AFGSWIVU.js → chunk.CBZS6RX3.js} +2 -2
  24. package/dist/chunks/{chunk.W6DMUOGD.js → chunk.CHARKLJB.js} +3 -3
  25. package/dist/chunks/{chunk.CKE7C643.js → chunk.CMC6HPBA.js} +3 -3
  26. package/dist/chunks/{chunk.FHB2H5R2.js → chunk.CSP23HJF.js} +2 -2
  27. package/dist/chunks/{chunk.GWH3EUTB.js → chunk.EK3JKUPT.js} +3 -3
  28. package/dist/chunks/{chunk.C2U4OMNI.js → chunk.EL36JI6C.js} +2 -2
  29. package/dist/chunks/{chunk.57O66K77.js → chunk.EYY4AGHU.js} +2 -2
  30. package/dist/chunks/{chunk.ACEU7Q65.js → chunk.F6YOZYUA.js} +2 -2
  31. package/dist/chunks/{chunk.SZWESO3L.js → chunk.F7RGAQPL.js} +2 -2
  32. package/dist/chunks/{chunk.UUDEWIY2.js → chunk.F7SWTNFX.js} +4 -4
  33. package/dist/chunks/{chunk.5P7T4EJW.js → chunk.FF4XVNSJ.js} +2 -2
  34. package/dist/chunks/{chunk.QOFFSNC7.js → chunk.FH3NYJ4L.js} +2 -2
  35. package/dist/chunks/{chunk.ESQAXAFE.js → chunk.GIU3H3J3.js} +2 -2
  36. package/dist/chunks/{chunk.ESQAXAFE.js.map → chunk.GIU3H3J3.js.map} +1 -1
  37. package/dist/chunks/{chunk.QHRX5Z2F.js → chunk.H75DPHV2.js} +2 -2
  38. package/dist/chunks/{chunk.D6HHUC7H.js → chunk.I2CK5JGQ.js} +4 -4
  39. package/dist/chunks/{chunk.HJN2PJLO.js → chunk.JB5U2ORZ.js} +2 -2
  40. package/dist/chunks/{chunk.WRCWSEE7.js → chunk.JDO2JD5M.js} +2 -2
  41. package/dist/chunks/{chunk.BJ2F6ARR.js → chunk.JFZI5G5H.js} +2 -2
  42. package/dist/chunks/{chunk.EM53DV44.js → chunk.JIMH242V.js} +3 -3
  43. package/dist/chunks/{chunk.B7G5PMM3.js → chunk.JY6TLB3F.js} +2 -2
  44. package/dist/chunks/{chunk.KTALTT2Z.js → chunk.JZOMFRH3.js} +2 -2
  45. package/dist/chunks/{chunk.A2JGI7YK.js → chunk.KBOXS7N3.js} +2 -2
  46. package/dist/chunks/{chunk.RTMHCZ2X.js → chunk.KJT3IW7N.js} +2 -2
  47. package/dist/chunks/{chunk.OOSXOXEW.js → chunk.MNCHCSR6.js} +7 -7
  48. package/dist/chunks/{chunk.3PMJXCGF.js → chunk.NLE7Z47J.js} +2 -2
  49. package/dist/chunks/{chunk.UQ4AQCDW.js → chunk.NOIMGFL3.js} +2 -2
  50. package/dist/chunks/{chunk.OCZ6SNNW.js → chunk.NSCVXKY7.js} +2 -2
  51. package/dist/chunks/{chunk.MSPUCOOE.js → chunk.NZ7F7KWE.js} +4 -4
  52. package/dist/chunks/{chunk.EZNNJFB7.js → chunk.OZTT6WAF.js} +3 -3
  53. package/dist/chunks/{chunk.RC5BEOPA.js → chunk.P2WZVE56.js} +2 -2
  54. package/dist/chunks/{chunk.EAPQXMZ2.js → chunk.PNBZVGQV.js} +2 -2
  55. package/dist/chunks/{chunk.EN7WGVFV.js → chunk.PV5QKVOE.js} +2 -2
  56. package/dist/chunks/{chunk.P7BBVH4J.js → chunk.PY4DOGR6.js} +4 -4
  57. package/dist/chunks/{chunk.AO7D6MGZ.js → chunk.Q3JEAMAU.js} +4 -4
  58. package/dist/chunks/{chunk.HHBOU4HL.js → chunk.QHU4ABUM.js} +2 -2
  59. package/dist/chunks/{chunk.BADCMLNU.js → chunk.QLTP4K6S.js} +2 -2
  60. package/dist/chunks/{chunk.J44JFQKE.js → chunk.QMBYQFB7.js} +6 -6
  61. package/dist/chunks/{chunk.BWIAZH7P.js → chunk.RHILIB5F.js} +2 -2
  62. package/dist/chunks/{chunk.GHGGBS4N.js → chunk.S5N2TE2L.js} +5 -3
  63. package/dist/chunks/{chunk.GHGGBS4N.js.map → chunk.S5N2TE2L.js.map} +2 -2
  64. package/dist/chunks/{chunk.4OSD25EN.js → chunk.SL2YJQMT.js} +3 -3
  65. package/dist/chunks/{chunk.UJ2YRD74.js → chunk.SPFDQH6T.js} +2 -2
  66. package/dist/chunks/{chunk.E3QPS5XK.js → chunk.SRNILISO.js} +2 -2
  67. package/dist/chunks/{chunk.QILAGLSO.js → chunk.SUR4XZ42.js} +2 -2
  68. package/dist/chunks/{chunk.BGIPS7RY.js → chunk.SX2HQHHG.js} +2 -2
  69. package/dist/chunks/{chunk.BS6RCJAA.js → chunk.TJV4KHUM.js} +76 -30
  70. package/dist/chunks/chunk.TJV4KHUM.js.map +7 -0
  71. package/dist/chunks/{chunk.NB7DQIH4.js → chunk.TRE373FT.js} +2 -2
  72. package/dist/chunks/{chunk.JI7DN44F.js → chunk.TRY5EJT3.js} +2 -2
  73. package/dist/chunks/{chunk.HM57BJF5.js → chunk.UCETUW7G.js} +2 -2
  74. package/dist/chunks/{chunk.576XTTSC.js → chunk.UFPPLQKN.js} +4 -4
  75. package/dist/chunks/{chunk.3MI2YYYP.js → chunk.V66SHZIC.js} +5 -5
  76. package/dist/chunks/{chunk.7L5M45GY.js → chunk.VBQMNQ62.js} +2 -2
  77. package/dist/chunks/{chunk.NC25624J.js → chunk.VIWDGJTE.js} +2 -2
  78. package/dist/chunks/{chunk.FV5CR37F.js → chunk.VSVCNOAK.js} +2 -2
  79. package/dist/chunks/{chunk.KQTEJUZC.js → chunk.W2W7NV4F.js} +2 -2
  80. package/dist/chunks/{chunk.SYY26NKV.js → chunk.W5ZMXOXI.js} +3 -3
  81. package/dist/chunks/{chunk.Q4VDUQXB.js → chunk.WFLRTUIG.js} +2 -2
  82. package/dist/chunks/{chunk.BAU2TJA6.js → chunk.WGUSXZZB.js} +5 -5
  83. package/dist/chunks/{chunk.UQ6SGBIE.js → chunk.WHN6WAGJ.js} +2 -2
  84. package/dist/chunks/{chunk.QI7ZFRLW.js → chunk.WV43X4TZ.js} +4 -4
  85. package/dist/chunks/{chunk.OMUEASJV.js → chunk.XBJEFTDA.js} +4 -4
  86. package/dist/chunks/{chunk.76SYNITQ.js → chunk.XHM2IMWS.js} +5 -5
  87. package/dist/chunks/{chunk.WNHTRLHT.js → chunk.XOJKD3VQ.js} +2 -2
  88. package/dist/chunks/{chunk.FIZMTZML.js → chunk.XXXW4D5Z.js} +3 -3
  89. package/dist/chunks/{chunk.POA3IDNG.js → chunk.XZF7CNUC.js} +2 -2
  90. package/dist/chunks/{chunk.POA3IDNG.js.map → chunk.XZF7CNUC.js.map} +1 -1
  91. package/dist/chunks/{chunk.Y2EMVYXM.js → chunk.YHD5W2UQ.js} +2 -2
  92. package/dist/chunks/{chunk.VJ34GMBJ.js → chunk.YTIRVF55.js} +4 -4
  93. package/dist/chunks/{chunk.DYYUQIA2.js → chunk.YYWXM4WC.js} +4 -4
  94. package/dist/chunks/{chunk.QEE6QHNL.js → chunk.Z47MWGDP.js} +2 -2
  95. package/dist/chunks/{chunk.QENGAJI2.js → chunk.ZJSWNCRY.js} +2 -2
  96. package/dist/chunks/{chunk.EG2IMMFQ.js → chunk.ZYFPCGIV.js} +4 -4
  97. package/dist/chunks/{chunk.PTFQMAJK.js → chunk.ZYI5MZKO.js} +2 -2
  98. package/dist/components/accordion/accordion.component.js +2 -2
  99. package/dist/components/accordion/accordion.js +3 -3
  100. package/dist/components/alert/alert.component.js +6 -6
  101. package/dist/components/alert/alert.js +7 -7
  102. package/dist/components/badge/badge.component.js +4 -4
  103. package/dist/components/badge/badge.js +5 -5
  104. package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
  105. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  106. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  107. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  108. package/dist/components/button/button.component.js +6 -6
  109. package/dist/components/button/button.js +7 -7
  110. package/dist/components/button-group/button-group.component.js +2 -2
  111. package/dist/components/button-group/button-group.js +3 -3
  112. package/dist/components/card/card.component.js +2 -2
  113. package/dist/components/card/card.js +3 -3
  114. package/dist/components/checkbox/checkbox.component.js +3 -3
  115. package/dist/components/checkbox/checkbox.js +4 -4
  116. package/dist/components/combobox/combobox.component.js +6 -6
  117. package/dist/components/combobox/combobox.js +7 -7
  118. package/dist/components/details/details.component.js +5 -5
  119. package/dist/components/details/details.js +6 -6
  120. package/dist/components/dialog/dialog.component.js +6 -6
  121. package/dist/components/dialog/dialog.js +7 -7
  122. package/dist/components/divider/divider.component.js +2 -2
  123. package/dist/components/divider/divider.js +3 -3
  124. package/dist/components/drawer/drawer.component.js +6 -6
  125. package/dist/components/drawer/drawer.js +7 -7
  126. package/dist/components/dropdown/dropdown.component.js +5 -5
  127. package/dist/components/dropdown/dropdown.js +6 -6
  128. package/dist/components/file/file.component.d.ts +3 -0
  129. package/dist/components/file/file.component.js +7 -7
  130. package/dist/components/file/file.js +8 -8
  131. package/dist/components/header/header.component.js +6 -6
  132. package/dist/components/header/header.js +7 -7
  133. package/dist/components/icon/icon.component.js +2 -2
  134. package/dist/components/icon/icon.js +3 -3
  135. package/dist/components/icon-button/icon-button.component.js +3 -3
  136. package/dist/components/icon-button/icon-button.js +4 -4
  137. package/dist/components/input/input.component.js +6 -6
  138. package/dist/components/input/input.js +7 -7
  139. package/dist/components/menu/menu.component.js +2 -2
  140. package/dist/components/menu/menu.js +3 -3
  141. package/dist/components/menu-item/menu-item.component.js +7 -7
  142. package/dist/components/menu-item/menu-item.js +8 -8
  143. package/dist/components/menu-label/menu-label.component.js +3 -3
  144. package/dist/components/menu-label/menu-label.js +4 -4
  145. package/dist/components/nav-item/nav-item.component.js +3 -3
  146. package/dist/components/nav-item/nav-item.js +4 -4
  147. package/dist/components/optgroup/optgroup.component.js +3 -3
  148. package/dist/components/optgroup/optgroup.js +4 -4
  149. package/dist/components/option/option.component.js +5 -5
  150. package/dist/components/option/option.js +6 -6
  151. package/dist/components/popup/popup.component.js +2 -2
  152. package/dist/components/popup/popup.js +3 -3
  153. package/dist/components/prio-nav/prio-nav.component.js +10 -10
  154. package/dist/components/prio-nav/prio-nav.js +11 -11
  155. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  156. package/dist/components/progress-bar/progress-bar.js +5 -5
  157. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  158. package/dist/components/progress-ring/progress-ring.js +5 -5
  159. package/dist/components/radio/radio.component.js +3 -3
  160. package/dist/components/radio/radio.js +4 -4
  161. package/dist/components/radio-button/radio-button.component.js +2 -2
  162. package/dist/components/radio-button/radio-button.js +3 -3
  163. package/dist/components/radio-group/radio-group.component.js +3 -3
  164. package/dist/components/radio-group/radio-group.js +4 -4
  165. package/dist/components/range/range.component.js +6 -6
  166. package/dist/components/range/range.js +7 -7
  167. package/dist/components/range-tick/range-tick.component.js +2 -2
  168. package/dist/components/range-tick/range-tick.js +3 -3
  169. package/dist/components/select/select.component.js +8 -8
  170. package/dist/components/select/select.js +9 -9
  171. package/dist/components/side-nav/side-nav.component.js +8 -8
  172. package/dist/components/side-nav/side-nav.js +9 -9
  173. package/dist/components/spinner/spinner.component.js +4 -4
  174. package/dist/components/spinner/spinner.js +5 -5
  175. package/dist/components/switch/switch.component.js +2 -2
  176. package/dist/components/switch/switch.js +3 -3
  177. package/dist/components/tab/tab.component.js +6 -6
  178. package/dist/components/tab/tab.js +7 -7
  179. package/dist/components/tab-group/tab-group.component.js +6 -6
  180. package/dist/components/tab-group/tab-group.js +7 -7
  181. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  182. package/dist/components/tab-panel/tab-panel.js +3 -3
  183. package/dist/components/tag/tag.component.js +6 -6
  184. package/dist/components/tag/tag.js +7 -7
  185. package/dist/components/textarea/textarea.component.js +2 -2
  186. package/dist/components/textarea/textarea.js +3 -3
  187. package/dist/components/tooltip/tooltip.component.js +5 -5
  188. package/dist/components/tooltip/tooltip.js +6 -6
  189. package/dist/custom-elements.json +115 -79
  190. package/dist/styles/index.css +1 -1
  191. package/dist/synergy.js +93 -93
  192. package/dist/translations/de.js +6 -4
  193. package/dist/translations/de.js.map +2 -2
  194. package/dist/translations/en.js +1 -1
  195. package/dist/utilities/localize.d.ts +3 -1
  196. package/dist/utilities/localize.js +2 -2
  197. package/dist/vscode.html-custom-data.json +24 -24
  198. package/package.json +3 -3
  199. package/dist/chunks/chunk.BS6RCJAA.js.map +0 -7
  200. /package/dist/chunks/{chunk.QA7ENF6T.js.map → chunk.2RFYTJAB.js.map} +0 -0
  201. /package/dist/chunks/{chunk.ZWBQZ3TF.js.map → chunk.2SW56VZY.js.map} +0 -0
  202. /package/dist/chunks/{chunk.AAFLJTCI.js.map → chunk.2X5NHB25.js.map} +0 -0
  203. /package/dist/chunks/{chunk.5IBMJU5B.js.map → chunk.37CVTQTX.js.map} +0 -0
  204. /package/dist/chunks/{chunk.4PTV2G5L.js.map → chunk.3DCZBMYA.js.map} +0 -0
  205. /package/dist/chunks/{chunk.RUYJJAFE.js.map → chunk.3QDRELMB.js.map} +0 -0
  206. /package/dist/chunks/{chunk.VKYAP6J3.js.map → chunk.3UESDXCS.js.map} +0 -0
  207. /package/dist/chunks/{chunk.CUCUCDH2.js.map → chunk.3VYGX742.js.map} +0 -0
  208. /package/dist/chunks/{chunk.ISY76A43.js.map → chunk.4C5GIKP3.js.map} +0 -0
  209. /package/dist/chunks/{chunk.X3UWO4AP.js.map → chunk.4M6WSXSN.js.map} +0 -0
  210. /package/dist/chunks/{chunk.RHR4U6OW.js.map → chunk.55MDWDIM.js.map} +0 -0
  211. /package/dist/chunks/{chunk.5LY7AGHD.js.map → chunk.5W5EERWV.js.map} +0 -0
  212. /package/dist/chunks/{chunk.2VGUDLNP.js.map → chunk.5XPMUVXP.js.map} +0 -0
  213. /package/dist/chunks/{chunk.52JYIPPF.js.map → chunk.6J62NZLX.js.map} +0 -0
  214. /package/dist/chunks/{chunk.CW4MHF2R.js.map → chunk.7TNVMTP6.js.map} +0 -0
  215. /package/dist/chunks/{chunk.DORQF2IR.js.map → chunk.7UUAWIJB.js.map} +0 -0
  216. /package/dist/chunks/{chunk.2QZJVYXZ.js.map → chunk.AHEGI6FZ.js.map} +0 -0
  217. /package/dist/chunks/{chunk.3PECQYUM.js.map → chunk.BCQM76KP.js.map} +0 -0
  218. /package/dist/chunks/{chunk.HHRJTCUN.js.map → chunk.BL5YP5LC.js.map} +0 -0
  219. /package/dist/chunks/{chunk.FWGBAOEO.js.map → chunk.BTDIIQBG.js.map} +0 -0
  220. /package/dist/chunks/{chunk.ZNLBIUIN.js.map → chunk.BV54N3A3.js.map} +0 -0
  221. /package/dist/chunks/{chunk.P7HCXUSU.js.map → chunk.CA6G64V3.js.map} +0 -0
  222. /package/dist/chunks/{chunk.AFGSWIVU.js.map → chunk.CBZS6RX3.js.map} +0 -0
  223. /package/dist/chunks/{chunk.W6DMUOGD.js.map → chunk.CHARKLJB.js.map} +0 -0
  224. /package/dist/chunks/{chunk.CKE7C643.js.map → chunk.CMC6HPBA.js.map} +0 -0
  225. /package/dist/chunks/{chunk.FHB2H5R2.js.map → chunk.CSP23HJF.js.map} +0 -0
  226. /package/dist/chunks/{chunk.GWH3EUTB.js.map → chunk.EK3JKUPT.js.map} +0 -0
  227. /package/dist/chunks/{chunk.C2U4OMNI.js.map → chunk.EL36JI6C.js.map} +0 -0
  228. /package/dist/chunks/{chunk.57O66K77.js.map → chunk.EYY4AGHU.js.map} +0 -0
  229. /package/dist/chunks/{chunk.ACEU7Q65.js.map → chunk.F6YOZYUA.js.map} +0 -0
  230. /package/dist/chunks/{chunk.SZWESO3L.js.map → chunk.F7RGAQPL.js.map} +0 -0
  231. /package/dist/chunks/{chunk.UUDEWIY2.js.map → chunk.F7SWTNFX.js.map} +0 -0
  232. /package/dist/chunks/{chunk.5P7T4EJW.js.map → chunk.FF4XVNSJ.js.map} +0 -0
  233. /package/dist/chunks/{chunk.QOFFSNC7.js.map → chunk.FH3NYJ4L.js.map} +0 -0
  234. /package/dist/chunks/{chunk.QHRX5Z2F.js.map → chunk.H75DPHV2.js.map} +0 -0
  235. /package/dist/chunks/{chunk.D6HHUC7H.js.map → chunk.I2CK5JGQ.js.map} +0 -0
  236. /package/dist/chunks/{chunk.HJN2PJLO.js.map → chunk.JB5U2ORZ.js.map} +0 -0
  237. /package/dist/chunks/{chunk.WRCWSEE7.js.map → chunk.JDO2JD5M.js.map} +0 -0
  238. /package/dist/chunks/{chunk.BJ2F6ARR.js.map → chunk.JFZI5G5H.js.map} +0 -0
  239. /package/dist/chunks/{chunk.EM53DV44.js.map → chunk.JIMH242V.js.map} +0 -0
  240. /package/dist/chunks/{chunk.B7G5PMM3.js.map → chunk.JY6TLB3F.js.map} +0 -0
  241. /package/dist/chunks/{chunk.KTALTT2Z.js.map → chunk.JZOMFRH3.js.map} +0 -0
  242. /package/dist/chunks/{chunk.A2JGI7YK.js.map → chunk.KBOXS7N3.js.map} +0 -0
  243. /package/dist/chunks/{chunk.RTMHCZ2X.js.map → chunk.KJT3IW7N.js.map} +0 -0
  244. /package/dist/chunks/{chunk.OOSXOXEW.js.map → chunk.MNCHCSR6.js.map} +0 -0
  245. /package/dist/chunks/{chunk.3PMJXCGF.js.map → chunk.NLE7Z47J.js.map} +0 -0
  246. /package/dist/chunks/{chunk.UQ4AQCDW.js.map → chunk.NOIMGFL3.js.map} +0 -0
  247. /package/dist/chunks/{chunk.OCZ6SNNW.js.map → chunk.NSCVXKY7.js.map} +0 -0
  248. /package/dist/chunks/{chunk.MSPUCOOE.js.map → chunk.NZ7F7KWE.js.map} +0 -0
  249. /package/dist/chunks/{chunk.EZNNJFB7.js.map → chunk.OZTT6WAF.js.map} +0 -0
  250. /package/dist/chunks/{chunk.RC5BEOPA.js.map → chunk.P2WZVE56.js.map} +0 -0
  251. /package/dist/chunks/{chunk.EAPQXMZ2.js.map → chunk.PNBZVGQV.js.map} +0 -0
  252. /package/dist/chunks/{chunk.EN7WGVFV.js.map → chunk.PV5QKVOE.js.map} +0 -0
  253. /package/dist/chunks/{chunk.P7BBVH4J.js.map → chunk.PY4DOGR6.js.map} +0 -0
  254. /package/dist/chunks/{chunk.AO7D6MGZ.js.map → chunk.Q3JEAMAU.js.map} +0 -0
  255. /package/dist/chunks/{chunk.HHBOU4HL.js.map → chunk.QHU4ABUM.js.map} +0 -0
  256. /package/dist/chunks/{chunk.BADCMLNU.js.map → chunk.QLTP4K6S.js.map} +0 -0
  257. /package/dist/chunks/{chunk.J44JFQKE.js.map → chunk.QMBYQFB7.js.map} +0 -0
  258. /package/dist/chunks/{chunk.BWIAZH7P.js.map → chunk.RHILIB5F.js.map} +0 -0
  259. /package/dist/chunks/{chunk.4OSD25EN.js.map → chunk.SL2YJQMT.js.map} +0 -0
  260. /package/dist/chunks/{chunk.UJ2YRD74.js.map → chunk.SPFDQH6T.js.map} +0 -0
  261. /package/dist/chunks/{chunk.E3QPS5XK.js.map → chunk.SRNILISO.js.map} +0 -0
  262. /package/dist/chunks/{chunk.QILAGLSO.js.map → chunk.SUR4XZ42.js.map} +0 -0
  263. /package/dist/chunks/{chunk.BGIPS7RY.js.map → chunk.SX2HQHHG.js.map} +0 -0
  264. /package/dist/chunks/{chunk.NB7DQIH4.js.map → chunk.TRE373FT.js.map} +0 -0
  265. /package/dist/chunks/{chunk.JI7DN44F.js.map → chunk.TRY5EJT3.js.map} +0 -0
  266. /package/dist/chunks/{chunk.HM57BJF5.js.map → chunk.UCETUW7G.js.map} +0 -0
  267. /package/dist/chunks/{chunk.576XTTSC.js.map → chunk.UFPPLQKN.js.map} +0 -0
  268. /package/dist/chunks/{chunk.3MI2YYYP.js.map → chunk.V66SHZIC.js.map} +0 -0
  269. /package/dist/chunks/{chunk.7L5M45GY.js.map → chunk.VBQMNQ62.js.map} +0 -0
  270. /package/dist/chunks/{chunk.NC25624J.js.map → chunk.VIWDGJTE.js.map} +0 -0
  271. /package/dist/chunks/{chunk.FV5CR37F.js.map → chunk.VSVCNOAK.js.map} +0 -0
  272. /package/dist/chunks/{chunk.KQTEJUZC.js.map → chunk.W2W7NV4F.js.map} +0 -0
  273. /package/dist/chunks/{chunk.SYY26NKV.js.map → chunk.W5ZMXOXI.js.map} +0 -0
  274. /package/dist/chunks/{chunk.Q4VDUQXB.js.map → chunk.WFLRTUIG.js.map} +0 -0
  275. /package/dist/chunks/{chunk.BAU2TJA6.js.map → chunk.WGUSXZZB.js.map} +0 -0
  276. /package/dist/chunks/{chunk.UQ6SGBIE.js.map → chunk.WHN6WAGJ.js.map} +0 -0
  277. /package/dist/chunks/{chunk.QI7ZFRLW.js.map → chunk.WV43X4TZ.js.map} +0 -0
  278. /package/dist/chunks/{chunk.OMUEASJV.js.map → chunk.XBJEFTDA.js.map} +0 -0
  279. /package/dist/chunks/{chunk.76SYNITQ.js.map → chunk.XHM2IMWS.js.map} +0 -0
  280. /package/dist/chunks/{chunk.WNHTRLHT.js.map → chunk.XOJKD3VQ.js.map} +0 -0
  281. /package/dist/chunks/{chunk.FIZMTZML.js.map → chunk.XXXW4D5Z.js.map} +0 -0
  282. /package/dist/chunks/{chunk.Y2EMVYXM.js.map → chunk.YHD5W2UQ.js.map} +0 -0
  283. /package/dist/chunks/{chunk.VJ34GMBJ.js.map → chunk.YTIRVF55.js.map} +0 -0
  284. /package/dist/chunks/{chunk.DYYUQIA2.js.map → chunk.YYWXM4WC.js.map} +0 -0
  285. /package/dist/chunks/{chunk.QEE6QHNL.js.map → chunk.Z47MWGDP.js.map} +0 -0
  286. /package/dist/chunks/{chunk.QENGAJI2.js.map → chunk.ZJSWNCRY.js.map} +0 -0
  287. /package/dist/chunks/{chunk.EG2IMMFQ.js.map → chunk.ZYFPCGIV.js.map} +0 -0
  288. /package/dist/chunks/{chunk.PTFQMAJK.js.map → chunk.ZYI5MZKO.js.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.FKKJBKYL.js";
11
11
  import {
12
12
  SynButton
13
- } from "./chunk.76SYNITQ.js";
13
+ } from "./chunk.XHM2IMWS.js";
14
14
  import {
15
15
  FormControlController
16
16
  } from "./chunk.BBNQVEPD.js";
@@ -26,17 +26,17 @@ import {
26
26
  } from "./chunk.WVVQK5TE.js";
27
27
  import {
28
28
  SynIcon
29
- } from "./chunk.HM57BJF5.js";
29
+ } from "./chunk.UCETUW7G.js";
30
30
  import {
31
31
  LocalizeController
32
- } from "./chunk.ESQAXAFE.js";
32
+ } from "./chunk.GIU3H3J3.js";
33
33
  import {
34
34
  watch
35
35
  } from "./chunk.74IOULXM.js";
36
36
  import {
37
37
  SynergyElement,
38
38
  component_styles_default
39
- } from "./chunk.POA3IDNG.js";
39
+ } from "./chunk.XZF7CNUC.js";
40
40
  import {
41
41
  __decorateClass
42
42
  } from "./chunk.2GFK6XTO.js";
@@ -154,6 +154,42 @@ var SynFile = class extends SynergyElement {
154
154
  }
155
155
  this.files = files;
156
156
  }
157
+ async handleTransferItems(items) {
158
+ if (!items) {
159
+ this.value = "";
160
+ return new Promise((_resolve, reject) => {
161
+ reject(new Error("No proper items found"));
162
+ });
163
+ }
164
+ const entries = Array.from(items).map((item) => item.webkitGetAsEntry());
165
+ const filesPromises = entries.map((entry) => this.getFilesFromEntry(entry));
166
+ const filesArray = await Promise.all(filesPromises);
167
+ const files = filesArray.flat();
168
+ const dataTransfer = new DataTransfer();
169
+ Array.from(files).forEach((f) => dataTransfer.items.add(f));
170
+ return dataTransfer.files;
171
+ }
172
+ async getFilesFromEntry(entry) {
173
+ if (!entry) {
174
+ return [];
175
+ }
176
+ if (entry.isFile) {
177
+ return new Promise((resolve, reject) => {
178
+ entry.file((file) => resolve([file]), reject);
179
+ });
180
+ }
181
+ if (entry.isDirectory) {
182
+ return new Promise((resolve, reject) => {
183
+ const dirReader = entry.createReader();
184
+ dirReader.readEntries((entries) => {
185
+ Promise.all(entries.map((e) => this.getFilesFromEntry(e))).then((files) => {
186
+ resolve(files.flat());
187
+ }).catch(reject);
188
+ });
189
+ });
190
+ }
191
+ return [];
192
+ }
157
193
  handleClick(e) {
158
194
  e.preventDefault();
159
195
  this.input.click();
@@ -180,29 +216,33 @@ var SynFile = class extends SynergyElement {
180
216
  var _a;
181
217
  e.preventDefault();
182
218
  e.stopPropagation();
183
- const files = (_a = e.dataTransfer) == null ? void 0 : _a.files;
184
- if (files) {
185
- if (!this.multiple && files.length > 1) {
186
- this.emit("syn-error");
187
- } else {
188
- const hasTrigger = this.hasSlotController.test("trigger");
189
- if (!hasTrigger) {
190
- const disappearAnimation = getAnimation(this.inputChosen, "file.text.disappear", { dir: this.localize.dir() });
191
- const appearAnimation = getAnimation(this.inputChosen, "file.text.appear", { dir: this.localize.dir() });
192
- if (this.droparea) {
193
- const dropIconAnimation = getAnimation(this.dropareaIcon, "file.iconDrop", { dir: this.localize.dir() });
194
- animateTo(this.dropareaIcon, dropIconAnimation.keyframes, dropIconAnimation.options);
195
- }
196
- await animateTo(this.inputChosen, disappearAnimation.keyframes, disappearAnimation.options);
197
- this.handleFiles(files);
198
- await animateTo(this.inputChosen, appearAnimation.keyframes, appearAnimation.options);
199
- } else {
200
- this.handleFiles(files);
201
- }
202
- this.input.dispatchEvent(new Event("change"));
203
- }
219
+ if (!e.dataTransfer) {
220
+ return;
204
221
  }
222
+ const files = await this.handleTransferItems((_a = e.dataTransfer) == null ? void 0 : _a.items);
205
223
  this.userIsDragging = false;
224
+ if (!files) {
225
+ return;
226
+ }
227
+ if (!this.multiple && !this.webkitdirectory && files.length > 1) {
228
+ this.emit("syn-error");
229
+ return;
230
+ }
231
+ const hasTrigger = this.hasSlotController.test("trigger");
232
+ if (!hasTrigger) {
233
+ const disappearAnimation = getAnimation(this.inputChosen, "file.text.disappear", { dir: this.localize.dir() });
234
+ const appearAnimation = getAnimation(this.inputChosen, "file.text.appear", { dir: this.localize.dir() });
235
+ if (this.droparea) {
236
+ const dropIconAnimation = getAnimation(this.dropareaIcon, "file.iconDrop", { dir: this.localize.dir() });
237
+ animateTo(this.dropareaIcon, dropIconAnimation.keyframes, dropIconAnimation.options);
238
+ }
239
+ await animateTo(this.inputChosen, disappearAnimation.keyframes, disappearAnimation.options);
240
+ this.handleFiles(files);
241
+ await animateTo(this.inputChosen, appearAnimation.keyframes, appearAnimation.options);
242
+ } else {
243
+ this.handleFiles(files);
244
+ }
245
+ this.input.dispatchEvent(new Event("change"));
206
246
  }
207
247
  /**
208
248
  * Handle the focus of the droparea and emit focus event
@@ -219,10 +259,10 @@ var SynFile = class extends SynergyElement {
219
259
  renderValue() {
220
260
  var _a;
221
261
  let hasFiles = false;
222
- let fileChosenLabel = this.localize.term("numFilesSelected", 0);
262
+ let fileChosenLabel = this.localize.term("numFilesSelected", 0, this.webkitdirectory);
223
263
  if (this.files && ((_a = this.files) == null ? void 0 : _a.length) > 0) {
224
264
  hasFiles = true;
225
- fileChosenLabel = this.files.length === 1 ? this.files[0].name : this.localize.term("numFilesSelected", this.files.length);
265
+ fileChosenLabel = this.files.length === 1 ? this.files[0].name : this.localize.term("numFilesSelected", this.files.length, this.webkitdirectory);
226
266
  }
227
267
  return html`
228
268
  <span
@@ -262,7 +302,7 @@ var SynFile = class extends SynergyElement {
262
302
  class="droparea__text"
263
303
  part="droparea-value"
264
304
  >
265
- <strong>${this.localize.term("fileDragDrop")}</strong>
305
+ <strong>${this.localize.term(this.webkitdirectory ? "folderDragDrop" : "fileDragDrop")}</strong>
266
306
  ${this.renderValue()}
267
307
  </p>
268
308
  </div>
@@ -272,7 +312,13 @@ var SynFile = class extends SynergyElement {
272
312
  /* eslint-enable @typescript-eslint/unbound-method */
273
313
  /* eslint-disable @typescript-eslint/unbound-method */
274
314
  renderButton() {
275
- const buttonText = this.multiple ? this.localize.term("fileButtonTextMultiple") : this.localize.term("fileButtonText");
315
+ let buttonText = this.localize.term("fileButtonText");
316
+ if (this.multiple) {
317
+ buttonText = this.localize.term("fileButtonTextMultiple");
318
+ }
319
+ if (this.webkitdirectory) {
320
+ buttonText = this.localize.term("folderButtonText");
321
+ }
276
322
  return html`
277
323
  <div
278
324
  class="button__wrapper"
@@ -480,4 +526,4 @@ setDefaultAnimation("file.text.appear", {
480
526
  export {
481
527
  SynFile
482
528
  };
483
- //# sourceMappingURL=chunk.BS6RCJAA.js.map
529
+ //# sourceMappingURL=chunk.TJV4KHUM.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/file/file.component.ts"],
4
+ "sourcesContent": ["import { classMap } from 'lit/directives/class-map.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport type { CSSResultGroup } from 'lit';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { watch } from '../../internal/watch.js';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynButton from '../button/button.component.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './file.styles.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { animateTo } from '../../internal/animate.js';\n\n/**\n * @summary File controls allow selecting an arbitrary number of files for uploading.\n * @status stable\n *\n * @dependency syn-button\n * @dependency syn-icon\n *\n * @slot label - The file control's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the file control.\n * Alternatively, you can use the `help-text` attribute.\n * @slot droparea-icon - Optional droparea icon to use instead of the default.\n * Works best with `<syn-icon>`.\n * @slot trigger - Optional content to be used as trigger instead of the default content.\n * Opening the file dialog on click and as well as drag and drop will work for this content.\n * Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*,\n * *hide-value*. Also if using the disabled attribute, the disabled styling will not be\n * applied and must be taken care of yourself.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-error - Emitted when multiple files are selected via drag and drop, without\n * the `multiple` property being set.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart button-wrapper - The wrapper around the button and text value.\n * @csspart button - The syn-button acting as a file input.\n * @csspart button__base - The syn-button's exported `base` part.\n * @csspart value - The chosen files or placeholder text for the file input.\n * @csspart droparea - The element wrapping the drop zone.\n * @csspart droparea-background - The background of the drop zone.\n * @csspart droparea-icon - The container that wraps the icon for the drop zone.\n * @csspart droparea-value - The text for the drop zone.\n * @csspart trigger - The container that wraps the trigger.\n *\n * @animation file.iconDrop - The animation to use for the file icon\n * when a file is dropped\n * @animation file.text.disappear - The disappear animation to use for the file placeholder text\n * when a file is dropped\n * @animation file.text.appear - The appear animation to use for the file placeholder text\n * when a file is dropped\n */\nexport default class SynFile extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [\n componentStyles,\n formControlStyles,\n formControlCustomStyles,\n styles,\n ];\n\n static dependencies = {\n 'syn-button': SynButton,\n 'syn-icon': SynIcon,\n };\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-change'],\n // This makes sure the value sent in formdata events is always the files object\n // @see internals/form.ts #handleFormData for more information\n value: (el: SynFile) => el.files,\n });\n\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n\n private readonly localize = new LocalizeController(this);\n\n @state() private userIsDragging = false;\n\n /**\n * The selected files as a FileList object containing a list of File objects.\n * The FileList behaves like an array, so you can get the number of selected files\n * via its length property.\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files\n */\n @property({ type: Object })\n set files(v: FileList | null) {\n if (this.input) {\n this.input.files = v;\n }\n }\n\n get files() {\n return this.input?.files;\n }\n\n /** The name of the file control, submitted as a name/value pair with form data. */\n @property({ type: String }) name = '';\n\n /**\n * The current value of the input, submitted as a name/value pair with form data.\n * Beware that the only valid value when setting a file input is an empty string!\n */\n\n /**\n * The value of the file control contains a string that represents the path of the selected file.\n * If multiple files are selected, the value represents the first file in the list.\n * If no file is selected, the value is an empty string.\n * Beware that the only valid value when setting a file control is an empty string!\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value\n */\n @property({ type: String })\n set value(v: string) {\n if (this.input) {\n this.input.value = v;\n }\n }\n\n get value() {\n return this.input?.value;\n }\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** The file control's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The file control's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /**\n * The file control's help text.\n * If you need to display HTML, use the `help-text` slot instead.\n */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Disables the file control. */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /** Draw the file control as a drop area */\n @property({ type: Boolean }) droparea = false;\n\n /**\n * Comma separated list of supported file types\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept\n * @example <syn-file accept=\".jpg,.jpeg,.png,.gif,text/plain,image/*\"></syn-file>\n */\n @property({ type: String }) accept = '';\n\n /**\n * Specifies the types of files that the server accepts.\n * Can be set either to user or environment.\n * Works only when not using a droparea!\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture\n */\n @property({ type: String }) capture: 'user' | 'environment';\n\n /**\n * Indicates whether the user can select more than one file.\n * Has no effect if webkitdirectory is set.\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple\n */\n @property({ reflect: true, type: Boolean }) multiple = false;\n\n /**\n * Indicates that the file control should let the user select directories instead of files.\n * When a directory is selected, the directory and its entire hierarchy of contents are included\n * in the set of selected items.\n * Note: This is a non-standard attribute but is supported in the major browsers.\n * [see MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory\n */\n @property({ reflect: true, type: Boolean }) webkitdirectory = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element.\n * This attribute allows you to place the form control outside of a form and associate it\n * with the form that has this `id`. The form must be in the same document\n * or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the input a required field. */\n @property({ reflect: true, type: Boolean }) required = false;\n\n /** Suppress the value from being displayed in the file control */\n @property({ attribute: 'hide-value', type: Boolean }) hideValue = false;\n\n @query('.input__control') input: HTMLInputElement;\n\n @query('.button') button: SynButton;\n\n @query('.droparea') dropareaWrapper: HTMLDivElement;\n\n @query('.droparea__icon') dropareaIcon: HTMLSpanElement;\n\n @query('.input__value') inputChosen: HTMLSpanElement;\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n /**\n * Checks for validity but does not show a validation message.\n * Returns `true` when valid and `false` when invalid.\n */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the button or droparea. */\n focus(options?: FocusOptions) {\n if (this.droparea) {\n this.dropareaWrapper?.focus(options);\n return;\n }\n\n this.button?.focus(options);\n }\n\n /** Removes focus from the button or droparea. */\n blur() {\n if (this.droparea) {\n this.dropareaWrapper?.blur();\n return;\n }\n\n this.button?.blur();\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private handleFiles(files: FileList | null) {\n if (!files) {\n this.value = '';\n return;\n }\n this.files = files;\n }\n\n private async handleTransferItems(items: DataTransferItemList | null): Promise<FileList> {\n if (!items) {\n this.value = '';\n return new Promise((_resolve, reject) => { reject(new Error('No proper items found')); });\n }\n\n const entries = Array\n .from(items)\n .map(item => item.webkitGetAsEntry());\n\n const filesPromises = entries.map(entry => this.getFilesFromEntry(entry));\n const filesArray = await Promise.all(filesPromises);\n const files = filesArray.flat();\n\n const dataTransfer = new DataTransfer();\n Array.from(files).forEach(f => dataTransfer.items.add(f));\n return dataTransfer.files;\n }\n\n private async getFilesFromEntry(entry: FileSystemEntry | null): Promise<File[]> {\n if (!entry) {\n return [];\n }\n if (entry.isFile) {\n return new Promise<File[]>((resolve, reject) => {\n (entry as FileSystemFileEntry).file(file => resolve([file]), reject);\n });\n }\n if (entry.isDirectory) {\n return new Promise<File[]>((resolve, reject) => {\n const dirReader = (entry as FileSystemDirectoryEntry).createReader();\n dirReader.readEntries((entries) => {\n Promise.all(entries.map(e => this.getFilesFromEntry(e)))\n .then((files) => { resolve(files.flat()); })\n .catch(reject);\n });\n });\n }\n return [];\n }\n\n private handleClick(e: Event) {\n e.preventDefault();\n this.input.click();\n }\n\n /** Handles the change event of the native input */\n private handleChange(e: Event) {\n e.preventDefault();\n e.stopPropagation();\n\n this.emit('syn-input');\n this.emit('syn-change');\n }\n\n private handleDragOver(e: DragEvent) {\n e.preventDefault();\n e.stopPropagation();\n this.userIsDragging = true;\n }\n\n private handleDragLeave(e: DragEvent) {\n e.preventDefault();\n e.stopPropagation();\n this.userIsDragging = false;\n }\n\n // eslint-disable-next-line complexity\n private async handleDrop(e: DragEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n if (!e.dataTransfer) {\n return;\n }\n\n const files = await this.handleTransferItems(e.dataTransfer?.items);\n\n this.userIsDragging = false;\n\n if (!files) {\n return;\n }\n\n // webkitdirectory also allows multiple files\n if (!this.multiple && !this.webkitdirectory && files.length > 1) {\n this.emit('syn-error');\n return;\n }\n\n // Use the transferred file list from the drag drop interface\n const hasTrigger = this.hasSlotController.test('trigger');\n if (!hasTrigger) {\n const disappearAnimation = getAnimation(this.inputChosen, 'file.text.disappear', { dir: this.localize.dir() });\n const appearAnimation = getAnimation(this.inputChosen, 'file.text.appear', { dir: this.localize.dir() });\n\n if (this.droparea) {\n const dropIconAnimation = getAnimation(this.dropareaIcon, 'file.iconDrop', { dir: this.localize.dir() });\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n animateTo(this.dropareaIcon, dropIconAnimation.keyframes, dropIconAnimation.options);\n }\n // eslint-disable-next-line max-len\n await animateTo(this.inputChosen, disappearAnimation.keyframes, disappearAnimation.options);\n this.handleFiles(files);\n await animateTo(this.inputChosen, appearAnimation.keyframes, appearAnimation.options);\n } else {\n this.handleFiles(files);\n }\n\n this.input.dispatchEvent(new Event('change'));\n }\n\n /**\n * Handle the focus of the droparea and emit focus event\n */\n private handleFocus() {\n this.emit('syn-focus');\n }\n\n /**\n * Handle the blur of the droparea and emit blur event\n */\n private handleBlur() {\n this.emit('syn-blur');\n }\n\n private renderValue() {\n let hasFiles = false;\n let fileChosenLabel = this.localize.term('numFilesSelected', 0, this.webkitdirectory);\n\n if (this.files && this.files?.length > 0) {\n hasFiles = true;\n fileChosenLabel = this.files.length === 1\n ? this.files[0].name\n : this.localize.term('numFilesSelected', this.files.length, this.webkitdirectory);\n }\n\n return html`\n <span\n class=${classMap({\n input__value: true,\n 'input__value--hidden': this.hideValue,\n 'input__value--placeholder': !hasFiles,\n })}\n part=\"value\"\n >\n ${fileChosenLabel}\n </span>\n `;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n private renderDroparea() {\n return html`\n <div\n class=\"droparea\"\n @click=${this.handleClick}\n @keypress=${this.handleClick}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n tabindex=${this.disabled ? -1 : 0}\n part=\"droparea\"\n >\n <div\n class=\"droparea__background\"\n part=\"droparea-background\"\n >\n <span part=\"droparea-icon\" class=\"droparea__icon\">\n <slot name=\"droparea-icon\">\n <syn-icon name=\"upload-file\" library=\"system\" ></syn-icon>\n </slot>\n </span>\n <p\n class=\"droparea__text\"\n part=\"droparea-value\"\n >\n <strong>${this.localize.term(this.webkitdirectory ? 'folderDragDrop' : 'fileDragDrop')}</strong>\n ${this.renderValue()}\n </p>\n </div>\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n\n /* eslint-disable @typescript-eslint/unbound-method */\n private renderButton() {\n let buttonText = this.localize.term('fileButtonText');\n if (this.multiple) {\n buttonText = this.localize.term('fileButtonTextMultiple');\n }\n if (this.webkitdirectory) {\n buttonText = this.localize.term('folderButtonText');\n }\n\n return html`\n <div\n class=\"button__wrapper\"\n part=\"button-wrapper\"\n >\n <syn-button\n class=\"button\"\n @click=${this.handleClick}\n ?disabled=${this.disabled}\n exportparts=\"base:button__base\"\n part=\"button\"\n size=${this.size}\n variant=\"outline\"\n >\n ${buttonText}\n </syn-button>\n ${this.renderValue()}\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n\n /* eslint-disable @typescript-eslint/unbound-method */\n // eslint-disable-next-line complexity\n render() {\n const hasLabel = this.label || !!this.hasSlotController.test('label');\n const hasHelpText = this.helpText ? true : !!this.hasSlotController.test('help-text');\n const hasTrigger = !!this.hasSlotController.test('trigger');\n\n return html`\n <div\n class=${classMap({\n 'form-control': true,\n 'form-control--droparea': this.droparea,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-label': hasLabel,\n 'form-control--large': this.size === 'large',\n 'form-control--medium': this.size === 'medium',\n 'form-control--small': this.size === 'small',\n 'form-control--user-dragging': this.userIsDragging,\n })}\n @dragenter=${this.handleDragOver}\n @dragleave=${this.handleDragLeave}\n @dragover=${this.handleDragOver}\n @drop=${this.handleDrop}\n part=\"form-control\"\n >\n ${\n hasTrigger\n ? html`\n <slot \n @click=${this.handleClick}\n @keypress=${this.handleClick}\n name=\"trigger\"\n part=\"trigger\"\n ></slot>\n `\n : html`\n <label\n aria-hidden=${hasLabel ? 'false' : 'true'}\n class=\"form-control__label\"\n for=\"input\"\n part=\"form-control-label\"\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div\n class=\"form-control-input\"\n part=\"form-control-input\"\n >\n\n ${this.droparea ? this.renderDroparea() : this.renderButton()}\n </div>\n\n <div\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n class=\"form-control__help-text\"\n id=\"help-text\"\n part=\"form-control-help-text\"\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n `\n }\n <input\n accept=${this.accept}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n class=\"input__control\"\n ?disabled=${this.disabled}\n id=\"input\"\n @invalid=${this.handleInvalid}\n ?multiple=${this.multiple}\n name=${ifDefined(this.name)}\n ?required=${this.required}\n type=\"file\"\n tabindex=\"-1\"\n ?webkitdirectory=${this.webkitdirectory}\n >\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\nsetDefaultAnimation('file.iconDrop', {\n keyframes: [\n { scale: 1 },\n { scale: 0.7 },\n { scale: 1 },\n ],\n options: { duration: 600, easing: 'ease-out' },\n});\n\nsetDefaultAnimation('file.text.disappear', {\n keyframes: [\n { opacity: 1 },\n { opacity: 0, transform: 'translateY(-40%)' },\n ],\n options: { duration: 300, easing: 'cubic-bezier(0.45, 1.45, 0.8, 1)' },\n});\n\nsetDefaultAnimation('file.text.appear', {\n keyframes: [\n { opacity: 0, transform: 'translateY(40%)' },\n { opacity: 1 },\n ],\n options: { duration: 300, easing: 'cubic-bezier(0.45, 1.45, 0.8, 1)' },\n});\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AACzB,SAAS,UAAU,OAAO,aAAa;AAEvC,SAAS,YAAY;AACrB,SAAS,iBAAiB;AA+D1B,IAAqB,UAArB,cAAqC,eAA6C;AAAA,EAAlF;AAAA;AAaE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY;AAAA;AAAA;AAAA,MAGlC,OAAO,CAAC,OAAgB,GAAG;AAAA,IAC7B,CAAC;AAED,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,OAAO;AAErF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAE9C,SAAQ,iBAAiB;AAsBN,gBAAO;AA4BnB,wBAAe;AAGF,gBAAqC;AAGtD,iBAAQ;AAMkB,oBAAW;AAGL,oBAAW;AAG1B,oBAAW;AASZ,kBAAS;AAmBO,oBAAW;AAWX,2BAAkB;AAQjC,gBAAO;AAGQ,oBAAW;AAGD,qBAAY;AAAA;AAAA,EA9GlE,IAAI,MAAM,GAAoB;AAC5B,QAAI,KAAK,OAAO;AACd,WAAK,MAAM,QAAQ;AAAA,IACrB;AAAA,EACF;AAAA,EAEA,IAAI,QAAQ;AA5Gd;AA6GI,YAAO,UAAK,UAAL,mBAAY;AAAA,EACrB;AAAA,EAoBA,IAAI,MAAM,GAAW;AACnB,QAAI,KAAK,OA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AE;AAAA,EACb;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,WAAW;AAC/C,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW;AAAA,IACT,EAAE,SAAS,EAAE;AAAA,IACb,EAAE,SAAS,GAAG,WAAW,mBAAmB;AAAA,EAC9C;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,mCAAmC;AACvE,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,kBAAkB;AAAA,IAC3C,EAAE,SAAS,EAAE;AAAA,EACf;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,mCAAmC;AACvE,CAAC;",
6
+ "names": []
7
+ }
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.POA3IDNG.js";
16
+ } from "./chunk.XZF7CNUC.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -111,4 +111,4 @@ __decorateClass([
111
111
  export {
112
112
  SynBreadcrumbItem
113
113
  };
114
- //# sourceMappingURL=chunk.NB7DQIH4.js.map
114
+ //# sourceMappingURL=chunk.TRE373FT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynOptgroup
3
- } from "./chunk.FIZMTZML.js";
3
+ } from "./chunk.XXXW4D5Z.js";
4
4
 
5
5
  // src/components/optgroup/optgroup.ts
6
6
  var optgroup_default = SynOptgroup;
@@ -9,4 +9,4 @@ SynOptgroup.define("syn-optgroup");
9
9
  export {
10
10
  optgroup_default
11
11
  };
12
- //# sourceMappingURL=chunk.JI7DN44F.js.map
12
+ //# sourceMappingURL=chunk.TRY5EJT3.js.map
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  SynergyElement,
17
17
  component_styles_default
18
- } from "./chunk.POA3IDNG.js";
18
+ } from "./chunk.XZF7CNUC.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.2GFK6XTO.js";
@@ -178,4 +178,4 @@ __decorateClass([
178
178
  export {
179
179
  SynIcon
180
180
  };
181
- //# sourceMappingURL=chunk.HM57BJF5.js.map
181
+ //# sourceMappingURL=chunk.UCETUW7G.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIconButton
3
- } from "./chunk.EM53DV44.js";
3
+ } from "./chunk.JIMH242V.js";
4
4
  import {
5
5
  waitForEvent
6
6
  } from "./chunk.C2ENQBPM.js";
@@ -17,14 +17,14 @@ import {
17
17
  } from "./chunk.WVVQK5TE.js";
18
18
  import {
19
19
  LocalizeController
20
- } from "./chunk.ESQAXAFE.js";
20
+ } from "./chunk.GIU3H3J3.js";
21
21
  import {
22
22
  watch
23
23
  } from "./chunk.74IOULXM.js";
24
24
  import {
25
25
  SynergyElement,
26
26
  component_styles_default
27
- } from "./chunk.POA3IDNG.js";
27
+ } from "./chunk.XZF7CNUC.js";
28
28
  import {
29
29
  alert_custom_styles_default
30
30
  } from "./chunk.JRYXECAY.js";
@@ -216,4 +216,4 @@ setDefaultAnimation("alert.hide", {
216
216
  export {
217
217
  SynAlert
218
218
  };
219
- //# sourceMappingURL=chunk.576XTTSC.js.map
219
+ //# sourceMappingURL=chunk.UFPPLQKN.js.map
@@ -9,24 +9,24 @@ import {
9
9
  } from "./chunk.JNP34M27.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.A2JGI7YK.js";
12
+ } from "./chunk.KBOXS7N3.js";
13
13
  import {
14
14
  SynSpinner
15
- } from "./chunk.ZNLBIUIN.js";
15
+ } from "./chunk.BV54N3A3.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.HM57BJF5.js";
22
+ } from "./chunk.UCETUW7G.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.POA3IDNG.js";
29
+ } from "./chunk.XZF7CNUC.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.3MI2YYYP.js.map
190
+ //# sourceMappingURL=chunk.V66SHZIC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSwitch
3
- } from "./chunk.CUCUCDH2.js";
3
+ } from "./chunk.3VYGX742.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.7L5M45GY.js.map
12
+ //# sourceMappingURL=chunk.VBQMNQ62.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDetails
3
- } from "./chunk.EG2IMMFQ.js";
3
+ } from "./chunk.ZYFPCGIV.js";
4
4
 
5
5
  // src/components/details/details.ts
6
6
  var details_default = SynDetails;
@@ -9,4 +9,4 @@ SynDetails.define("syn-details");
9
9
  export {
10
10
  details_default
11
11
  };
12
- //# sourceMappingURL=chunk.NC25624J.js.map
12
+ //# sourceMappingURL=chunk.VIWDGJTE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCombobox
3
- } from "./chunk.ZWBQZ3TF.js";
3
+ } from "./chunk.2SW56VZY.js";
4
4
 
5
5
  // src/components/combobox/combobox.ts
6
6
  var combobox_default = SynCombobox;
@@ -9,4 +9,4 @@ SynCombobox.define("syn-combobox");
9
9
  export {
10
10
  combobox_default
11
11
  };
12
- //# sourceMappingURL=chunk.FV5CR37F.js.map
12
+ //# sourceMappingURL=chunk.VSVCNOAK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioButton
3
- } from "./chunk.RC5BEOPA.js";
3
+ } from "./chunk.P2WZVE56.js";
4
4
 
5
5
  // src/components/radio-button/radio-button.ts
6
6
  var radio_button_default = SynRadioButton;
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
9
9
  export {
10
10
  radio_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.KQTEJUZC.js.map
12
+ //# sourceMappingURL=chunk.W2W7NV4F.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk.EHSNF4SS.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.HM57BJF5.js";
9
+ } from "./chunk.UCETUW7G.js";
10
10
  import {
11
11
  watch
12
12
  } from "./chunk.74IOULXM.js";
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.POA3IDNG.js";
16
+ } from "./chunk.XZF7CNUC.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -112,4 +112,4 @@ __decorateClass([
112
112
  export {
113
113
  SynRadio
114
114
  };
115
- //# sourceMappingURL=chunk.SYY26NKV.js.map
115
+ //# sourceMappingURL=chunk.W5ZMXOXI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDrawer
3
- } from "./chunk.AO7D6MGZ.js";
3
+ } from "./chunk.Q3JEAMAU.js";
4
4
 
5
5
  // src/components/drawer/drawer.ts
6
6
  var drawer_default = SynDrawer;
@@ -9,4 +9,4 @@ SynDrawer.define("syn-drawer");
9
9
  export {
10
10
  drawer_default
11
11
  };
12
- //# sourceMappingURL=chunk.Q4VDUQXB.js.map
12
+ //# sourceMappingURL=chunk.WFLRTUIG.js.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.ONW45GQI.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.4PTV2G5L.js";
6
+ } from "./chunk.3DCZBMYA.js";
7
7
  import {
8
8
  SynDrawer
9
- } from "./chunk.AO7D6MGZ.js";
9
+ } from "./chunk.Q3JEAMAU.js";
10
10
  import {
11
11
  unlockBodyScrolling
12
12
  } from "./chunk.5732DMBC.js";
@@ -23,14 +23,14 @@ import {
23
23
  } from "./chunk.WVVQK5TE.js";
24
24
  import {
25
25
  LocalizeController
26
- } from "./chunk.ESQAXAFE.js";
26
+ } from "./chunk.GIU3H3J3.js";
27
27
  import {
28
28
  watch
29
29
  } from "./chunk.74IOULXM.js";
30
30
  import {
31
31
  SynergyElement,
32
32
  component_styles_default
33
- } from "./chunk.POA3IDNG.js";
33
+ } from "./chunk.XZF7CNUC.js";
34
34
  import {
35
35
  __decorateClass
36
36
  } from "./chunk.2GFK6XTO.js";
@@ -308,4 +308,4 @@ setDefaultAnimation("sideNav.overlay.hide", {
308
308
  export {
309
309
  SynSideNav
310
310
  };
311
- //# sourceMappingURL=chunk.BAU2TJA6.js.map
311
+ //# sourceMappingURL=chunk.WGUSXZZB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAccordion
3
- } from "./chunk.3PMJXCGF.js";
3
+ } from "./chunk.NLE7Z47J.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.UQ6SGBIE.js.map
12
+ //# sourceMappingURL=chunk.WHN6WAGJ.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk.S22BO5SF.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.HM57BJF5.js";
9
+ } from "./chunk.UCETUW7G.js";
10
10
  import {
11
11
  LocalizeController
12
- } from "./chunk.ESQAXAFE.js";
12
+ } from "./chunk.GIU3H3J3.js";
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.POA3IDNG.js";
16
+ } from "./chunk.XZF7CNUC.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.2GFK6XTO.js";
@@ -89,4 +89,4 @@ __decorateClass([
89
89
  export {
90
90
  SynBreadcrumb
91
91
  };
92
- //# sourceMappingURL=chunk.QI7ZFRLW.js.map
92
+ //# sourceMappingURL=chunk.WV43X4TZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTooltip
3
- } from "./chunk.DYYUQIA2.js";
3
+ } from "./chunk.YYWXM4WC.js";
4
4
  import {
5
5
  range_styles_default
6
6
  } from "./chunk.277APOW3.js";
@@ -26,11 +26,11 @@ import {
26
26
  } from "./chunk.WVVQK5TE.js";
27
27
  import {
28
28
  LocalizeController
29
- } from "./chunk.ESQAXAFE.js";
29
+ } from "./chunk.GIU3H3J3.js";
30
30
  import {
31
31
  SynergyElement,
32
32
  component_styles_default
33
- } from "./chunk.POA3IDNG.js";
33
+ } from "./chunk.XZF7CNUC.js";
34
34
  import {
35
35
  __decorateClass,
36
36
  __privateAdd,
@@ -633,4 +633,4 @@ __decorateClass([
633
633
  export {
634
634
  SynRange
635
635
  };
636
- //# sourceMappingURL=chunk.OMUEASJV.js.map
636
+ //# sourceMappingURL=chunk.XBJEFTDA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSpinner
3
- } from "./chunk.ZNLBIUIN.js";
3
+ } from "./chunk.BV54N3A3.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.HM57BJF5.js";
20
+ } from "./chunk.UCETUW7G.js";
21
21
  import {
22
22
  LocalizeController
23
- } from "./chunk.ESQAXAFE.js";
23
+ } from "./chunk.GIU3H3J3.js";
24
24
  import {
25
25
  watch
26
26
  } from "./chunk.74IOULXM.js";
27
27
  import {
28
28
  SynergyElement,
29
29
  component_styles_default
30
- } from "./chunk.POA3IDNG.js";
30
+ } from "./chunk.XZF7CNUC.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.76SYNITQ.js.map
290
+ //# sourceMappingURL=chunk.XHM2IMWS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSelect
3
- } from "./chunk.J44JFQKE.js";
3
+ } from "./chunk.QMBYQFB7.js";
4
4
 
5
5
  // src/components/select/select.ts
6
6
  var select_default = SynSelect;
@@ -9,4 +9,4 @@ SynSelect.define("syn-select");
9
9
  export {
10
10
  select_default
11
11
  };
12
- //# sourceMappingURL=chunk.WNHTRLHT.js.map
12
+ //# sourceMappingURL=chunk.XOJKD3VQ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.KG52EHDB.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.4PTV2G5L.js";
6
+ } from "./chunk.3DCZBMYA.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.WVVQK5TE.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.74IOULXM.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.POA3IDNG.js";
15
+ } from "./chunk.XZF7CNUC.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -93,4 +93,4 @@ __decorateClass([
93
93
  export {
94
94
  SynOptgroup
95
95
  };
96
- //# sourceMappingURL=chunk.FIZMTZML.js.map
96
+ //# sourceMappingURL=chunk.XXXW4D5Z.js.map
@@ -52,7 +52,7 @@ var SynergyElement = class extends LitElement {
52
52
  };
53
53
  /* eslint-disable */
54
54
  // @ts-expect-error This is auto-injected at build time.
55
- SynergyElement.version = "2.8.1";
55
+ SynergyElement.version = "2.9.0";
56
56
  SynergyElement.dependencies = {};
57
57
  __decorateClass([
58
58
  property()
@@ -84,4 +84,4 @@ export {
84
84
  SynergyElement,
85
85
  component_styles_default
86
86
  };
87
- //# sourceMappingURL=chunk.POA3IDNG.js.map
87
+ //# sourceMappingURL=chunk.XZF7CNUC.js.map