@synergy-design-system/components 2.20.0-settings.1 → 2.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/chunks/{chunk.742PBV5R.js → chunk.2BWRXKN2.js} +8 -14
  2. package/dist/chunks/chunk.2BWRXKN2.js.map +7 -0
  3. package/dist/chunks/{chunk.JBLFNOCX.js → chunk.2IVNHVMH.js} +37 -35
  4. package/dist/chunks/chunk.2IVNHVMH.js.map +7 -0
  5. package/dist/chunks/{chunk.POGMEL53.js → chunk.2MDGY2UP.js} +10 -3
  6. package/dist/chunks/chunk.2MDGY2UP.js.map +7 -0
  7. package/dist/chunks/{chunk.WLHRVKAR.js → chunk.2RO5SDFI.js} +2 -2
  8. package/dist/chunks/{chunk.IBQDKFYH.js → chunk.2TG4SORD.js} +72 -48
  9. package/dist/chunks/chunk.2TG4SORD.js.map +7 -0
  10. package/dist/chunks/{chunk.B2WOBIWW.js → chunk.2UVFBYRY.js} +2 -2
  11. package/dist/chunks/{chunk.UY5AOQHP.js → chunk.3PLJRLWU.js} +2 -2
  12. package/dist/chunks/{chunk.Q33XUREM.js → chunk.3UADS2FG.js} +2 -2
  13. package/dist/chunks/{chunk.QWMAKCAT.js → chunk.4DPLWNXK.js} +2 -2
  14. package/dist/chunks/{chunk.XDM6VD32.js → chunk.4WRP75PK.js} +2 -2
  15. package/dist/chunks/{chunk.DYUCTKM6.js → chunk.52LV42QJ.js} +2 -2
  16. package/dist/chunks/{chunk.VL74BJLP.js → chunk.6SX6G2R5.js} +2 -2
  17. package/dist/chunks/{chunk.EBYGA33B.js → chunk.76VMRLB3.js} +2 -2
  18. package/dist/chunks/{chunk.Z4OFLKEQ.js → chunk.7QSI2KTA.js} +2 -2
  19. package/dist/chunks/{chunk.XSS62TBI.js → chunk.ABFTGQIG.js} +2 -2
  20. package/dist/chunks/{chunk.HNVPPNYZ.js → chunk.ADPRVKM4.js} +2 -2
  21. package/dist/chunks/{chunk.A2JLMFJ4.js → chunk.AYGM4AMZ.js} +2 -2
  22. package/dist/chunks/{chunk.53THUSDO.js → chunk.BCJDEKZV.js} +2 -2
  23. package/dist/chunks/{chunk.BJTRYICX.js → chunk.BN3TNJKZ.js} +2 -2
  24. package/dist/chunks/{chunk.BPZOCAHJ.js → chunk.BNFIYDZO.js} +2 -2
  25. package/dist/chunks/{chunk.4ZPJSGD5.js → chunk.BRJMFR3A.js} +2 -2
  26. package/dist/chunks/{chunk.EVECGQOP.js → chunk.BYCL2SI7.js} +4 -10
  27. package/dist/chunks/chunk.BYCL2SI7.js.map +7 -0
  28. package/dist/chunks/{chunk.7NZ7JAEV.js → chunk.C7WDSHTE.js} +2 -2
  29. package/dist/chunks/{chunk.7XMTQ7P7.js → chunk.CK64L7GU.js} +3 -3
  30. package/dist/chunks/{chunk.JHPSR3AP.js → chunk.D2AMFNCW.js} +2 -2
  31. package/dist/chunks/{chunk.TXQLKFUU.js → chunk.D3QHOCYT.js} +3 -9
  32. package/dist/chunks/chunk.D3QHOCYT.js.map +7 -0
  33. package/dist/chunks/{chunk.UYGCYMDS.js → chunk.DN2RWBXM.js} +2 -2
  34. package/dist/chunks/{chunk.PDAOZ7HN.js → chunk.DSTRFXMO.js} +2 -2
  35. package/dist/chunks/{chunk.E72GLNXI.js → chunk.DYUWNUJK.js} +2 -2
  36. package/dist/chunks/{chunk.LYMHXGME.js → chunk.E6XELP7N.js} +2 -2
  37. package/dist/chunks/{chunk.UXHC3W5U.js → chunk.EAFPSNLJ.js} +6 -6
  38. package/dist/chunks/{chunk.Z2PVOPJK.js → chunk.EFPAPHDN.js} +3 -9
  39. package/dist/chunks/chunk.EFPAPHDN.js.map +7 -0
  40. package/dist/chunks/{chunk.PLSOGFSX.js → chunk.EHRE7REF.js} +2 -2
  41. package/dist/chunks/{chunk.BO7VIZR3.js → chunk.FIYONEFX.js} +8 -14
  42. package/dist/chunks/chunk.FIYONEFX.js.map +7 -0
  43. package/dist/chunks/{chunk.NL4FKYIJ.js → chunk.GFMUULQR.js} +2 -2
  44. package/dist/chunks/{chunk.P5XIUYNV.js → chunk.GLD3DYFW.js} +2 -2
  45. package/dist/chunks/{chunk.XP47Y2SU.js → chunk.HDAUY6QG.js} +2 -2
  46. package/dist/chunks/{chunk.MDG7KZFO.js → chunk.HMVKM2LC.js} +2 -2
  47. package/dist/chunks/{chunk.FLB37Q2Y.js → chunk.I4PP7TTT.js} +6 -6
  48. package/dist/chunks/{chunk.VKRMYKYH.js → chunk.II2KA3OR.js} +10 -4
  49. package/dist/chunks/chunk.II2KA3OR.js.map +7 -0
  50. package/dist/chunks/{chunk.HPQBH3O2.js → chunk.IOP352J7.js} +2 -2
  51. package/dist/chunks/{chunk.MKQXTHWU.js → chunk.JHSYQUJH.js} +2 -2
  52. package/dist/chunks/{chunk.MKQXTHWU.js.map → chunk.JHSYQUJH.js.map} +1 -1
  53. package/dist/chunks/{chunk.HZ3S4J3T.js → chunk.JRBHRPZR.js} +2 -2
  54. package/dist/chunks/{chunk.7467Z6PG.js → chunk.JWKGHB3O.js} +2 -2
  55. package/dist/chunks/{chunk.24C4XJAI.js → chunk.K2HEGEPX.js} +3 -9
  56. package/dist/chunks/chunk.K2HEGEPX.js.map +7 -0
  57. package/dist/chunks/{chunk.QMVBPAZF.js → chunk.KFBZFX3D.js} +2 -2
  58. package/dist/chunks/{chunk.ST3V3ZVP.js → chunk.KKX6OV4A.js} +2 -2
  59. package/dist/chunks/{chunk.YTMSHKEA.js → chunk.LFTDPRZJ.js} +10 -10
  60. package/dist/chunks/{chunk.SXFIFBVM.js → chunk.LGJ6I7QC.js} +4 -10
  61. package/dist/chunks/chunk.LGJ6I7QC.js.map +7 -0
  62. package/dist/chunks/{chunk.OFA3YJLS.js → chunk.LVNDSKZE.js} +2 -2
  63. package/dist/chunks/{chunk.Y4EGILWE.js → chunk.MN76TCGZ.js} +2 -2
  64. package/dist/chunks/{chunk.JNAG6IBY.js → chunk.MPPVRHYV.js} +2 -2
  65. package/dist/chunks/{chunk.XMSHEZ3R.js → chunk.NDXLRMDA.js} +2 -2
  66. package/dist/chunks/{chunk.AQS4YK7Q.js → chunk.NHQHD65V.js} +2 -2
  67. package/dist/chunks/{chunk.Y334QFFZ.js → chunk.NIYWCDQQ.js} +7 -7
  68. package/dist/chunks/{chunk.LZ27X5R6.js → chunk.NOWXA25R.js} +2 -2
  69. package/dist/chunks/{chunk.LYNLLR54.js → chunk.NUOEVS57.js} +9 -9
  70. package/dist/chunks/{chunk.EMGPXY5T.js → chunk.O2E77ZO7.js} +2 -2
  71. package/dist/chunks/{chunk.XY3WHMD7.js → chunk.O4OYBWOG.js} +2 -2
  72. package/dist/chunks/{chunk.XCILIICJ.js → chunk.PLGBAAOJ.js} +8 -14
  73. package/dist/chunks/chunk.PLGBAAOJ.js.map +7 -0
  74. package/dist/chunks/{chunk.DERBT2MN.js → chunk.PMILVAQ7.js} +8 -14
  75. package/dist/chunks/chunk.PMILVAQ7.js.map +7 -0
  76. package/dist/chunks/{chunk.NUCBTPTS.js → chunk.QA7VKYYH.js} +8 -14
  77. package/dist/chunks/chunk.QA7VKYYH.js.map +7 -0
  78. package/dist/chunks/{chunk.S7PAQRVY.js → chunk.RODVBLTN.js} +7 -7
  79. package/dist/chunks/{chunk.TL5RQ2KH.js → chunk.RS7QM77K.js} +2 -2
  80. package/dist/chunks/{chunk.EMU2E2VE.js → chunk.RTK2527V.js} +3 -9
  81. package/dist/chunks/{chunk.EMU2E2VE.js.map → chunk.RTK2527V.js.map} +2 -2
  82. package/dist/chunks/{chunk.HCMNEIRN.js → chunk.RXNHONDB.js} +6 -6
  83. package/dist/chunks/{chunk.BWESHYBN.js → chunk.SG4JU5HT.js} +2 -2
  84. package/dist/chunks/{chunk.WLYLSH3H.js → chunk.SGW6T6AH.js} +2 -2
  85. package/dist/chunks/{chunk.7Y7O45CM.js → chunk.SMOCJ6CY.js} +2 -8
  86. package/dist/chunks/chunk.SMOCJ6CY.js.map +7 -0
  87. package/dist/chunks/{chunk.VOOMTA4X.js → chunk.SUUQ7PWG.js} +2 -2
  88. package/dist/chunks/{chunk.VLE3Q74Y.js → chunk.SVAYQQEQ.js} +2 -2
  89. package/dist/chunks/{chunk.MGET4VXP.js → chunk.TBZ4NGLX.js} +2 -2
  90. package/dist/chunks/{chunk.SYWSXUHZ.js → chunk.TNR3DRP2.js} +2 -2
  91. package/dist/chunks/{chunk.T53XYA43.js → chunk.TVG3CB4W.js} +2 -8
  92. package/dist/chunks/chunk.TVG3CB4W.js.map +7 -0
  93. package/dist/chunks/{chunk.4AKA2QRO.js → chunk.TWUIL4KN.js} +2 -2
  94. package/dist/chunks/{chunk.ZDIDYG6H.js → chunk.U3QINJJN.js} +2 -2
  95. package/dist/chunks/{chunk.24DN2XDS.js → chunk.UAH335JY.js} +7 -13
  96. package/dist/chunks/chunk.UAH335JY.js.map +7 -0
  97. package/dist/chunks/{chunk.5EGFFSLN.js → chunk.UBS3CSG4.js} +2 -2
  98. package/dist/chunks/{chunk.5EGFFSLN.js.map → chunk.UBS3CSG4.js.map} +1 -1
  99. package/dist/chunks/{chunk.SNHVIH7F.js → chunk.UD7TMIOI.js} +2 -2
  100. package/dist/chunks/{chunk.SKA5Y7HA.js → chunk.UI3JVXJO.js} +3 -3
  101. package/dist/chunks/{chunk.7LASULTQ.js → chunk.UTLJPCF6.js} +2 -2
  102. package/dist/chunks/{chunk.BA7XLIED.js → chunk.UVY2BCUE.js} +3 -9
  103. package/dist/chunks/{chunk.BA7XLIED.js.map → chunk.UVY2BCUE.js.map} +2 -2
  104. package/dist/chunks/{chunk.J53UXHXV.js → chunk.VDR7MHDJ.js} +2 -2
  105. package/dist/chunks/{chunk.O7JPMKUW.js → chunk.VNVGDBIY.js} +8 -14
  106. package/dist/chunks/chunk.VNVGDBIY.js.map +7 -0
  107. package/dist/chunks/{chunk.LHNUNBCA.js → chunk.VRIWW3IQ.js} +2 -2
  108. package/dist/chunks/{chunk.3HW4J22U.js → chunk.VSXPNDRV.js} +5 -5
  109. package/dist/chunks/{chunk.AS3TB27D.js → chunk.W4SGQB3N.js} +7 -7
  110. package/dist/chunks/{chunk.R2HFUCJI.js → chunk.WBYNKJUU.js} +18 -24
  111. package/dist/chunks/chunk.WBYNKJUU.js.map +7 -0
  112. package/dist/chunks/{chunk.NM5EI7ZH.js → chunk.WDWOLLU7.js} +2 -2
  113. package/dist/chunks/{chunk.WMUMEYQJ.js → chunk.WSN5XASN.js} +6 -6
  114. package/dist/chunks/{chunk.NN73HBIU.js → chunk.WYXCB5I5.js} +6 -6
  115. package/dist/chunks/{chunk.NN73HBIU.js.map → chunk.WYXCB5I5.js.map} +2 -2
  116. package/dist/chunks/{chunk.YQLTFWYX.js → chunk.XFWY2BGU.js} +2 -2
  117. package/dist/chunks/{chunk.N54SVWTA.js → chunk.YBDH432U.js} +2 -2
  118. package/dist/chunks/{chunk.SWUXKALS.js → chunk.YNJ5L3DR.js} +2 -2
  119. package/dist/chunks/{chunk.2QFNK7XL.js → chunk.YNWZ5ZFI.js} +2 -2
  120. package/dist/chunks/{chunk.IFWSRMUK.js → chunk.YQZ2UGG3.js} +2 -2
  121. package/dist/chunks/{chunk.FAREQGAK.js → chunk.ZK2J5LTO.js} +2 -2
  122. package/dist/chunks/{chunk.AIQ3EJZY.js → chunk.ZR6W46YN.js} +2 -8
  123. package/dist/chunks/chunk.ZR6W46YN.js.map +7 -0
  124. package/dist/chunks/{chunk.7EYHNKMM.js → chunk.ZXWHFKUE.js} +3 -3
  125. package/dist/components/accordion/accordion.component.js +3 -6
  126. package/dist/components/accordion/accordion.js +4 -7
  127. package/dist/components/alert/alert.component.d.ts +2 -0
  128. package/dist/components/alert/alert.component.js +9 -12
  129. package/dist/components/alert/alert.js +10 -13
  130. package/dist/components/badge/badge.component.js +4 -7
  131. package/dist/components/badge/badge.js +5 -8
  132. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  133. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  134. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  135. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  136. package/dist/components/button/button.component.js +8 -11
  137. package/dist/components/button/button.custom.styles.js +1 -1
  138. package/dist/components/button/button.js +9 -12
  139. package/dist/components/button-group/button-group.component.js +2 -2
  140. package/dist/components/button-group/button-group.js +3 -3
  141. package/dist/components/card/card.component.js +2 -2
  142. package/dist/components/card/card.js +3 -3
  143. package/dist/components/checkbox/checkbox.component.js +5 -8
  144. package/dist/components/checkbox/checkbox.js +6 -9
  145. package/dist/components/combobox/combobox.component.js +10 -13
  146. package/dist/components/combobox/combobox.js +11 -14
  147. package/dist/components/details/details.component.js +6 -9
  148. package/dist/components/details/details.js +7 -10
  149. package/dist/components/dialog/dialog.component.js +10 -13
  150. package/dist/components/dialog/dialog.js +11 -14
  151. package/dist/components/divider/divider.component.js +2 -2
  152. package/dist/components/divider/divider.js +3 -3
  153. package/dist/components/drawer/drawer.component.js +9 -12
  154. package/dist/components/drawer/drawer.js +10 -13
  155. package/dist/components/dropdown/dropdown.component.js +5 -5
  156. package/dist/components/dropdown/dropdown.js +6 -6
  157. package/dist/components/file/file.component.js +9 -12
  158. package/dist/components/file/file.js +10 -13
  159. package/dist/components/header/header.component.js +7 -7
  160. package/dist/components/header/header.js +8 -8
  161. package/dist/components/icon/icon.component.js +2 -2
  162. package/dist/components/icon/icon.js +3 -3
  163. package/dist/components/icon-button/icon-button.component.js +3 -6
  164. package/dist/components/icon-button/icon-button.js +4 -7
  165. package/dist/components/input/input.component.js +8 -11
  166. package/dist/components/input/input.custom.styles.js +1 -1
  167. package/dist/components/input/input.js +9 -12
  168. package/dist/components/menu/menu.component.js +2 -2
  169. package/dist/components/menu/menu.js +3 -3
  170. package/dist/components/menu-item/menu-item.component.js +8 -8
  171. package/dist/components/menu-item/menu-item.js +9 -9
  172. package/dist/components/menu-label/menu-label.component.js +3 -3
  173. package/dist/components/menu-label/menu-label.js +4 -4
  174. package/dist/components/nav-item/nav-item.component.js +3 -3
  175. package/dist/components/nav-item/nav-item.js +4 -4
  176. package/dist/components/optgroup/optgroup.component.js +3 -3
  177. package/dist/components/optgroup/optgroup.js +4 -4
  178. package/dist/components/option/option.component.js +5 -5
  179. package/dist/components/option/option.js +6 -6
  180. package/dist/components/popup/popup.component.js +2 -2
  181. package/dist/components/popup/popup.js +3 -3
  182. package/dist/components/prio-nav/prio-nav.component.js +12 -12
  183. package/dist/components/prio-nav/prio-nav.js +13 -13
  184. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  185. package/dist/components/progress-bar/progress-bar.js +3 -3
  186. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  187. package/dist/components/progress-ring/progress-ring.js +3 -3
  188. package/dist/components/radio/radio.component.js +3 -6
  189. package/dist/components/radio/radio.js +4 -7
  190. package/dist/components/radio-button/radio-button.component.js +2 -5
  191. package/dist/components/radio-button/radio-button.js +3 -6
  192. package/dist/components/radio-group/radio-group.component.js +3 -6
  193. package/dist/components/radio-group/radio-group.js +4 -7
  194. package/dist/components/range/range.component.js +5 -8
  195. package/dist/components/range/range.js +6 -9
  196. package/dist/components/range-tick/range-tick.component.js +2 -2
  197. package/dist/components/range-tick/range-tick.js +3 -3
  198. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  199. package/dist/components/select/select.component.js +9 -12
  200. package/dist/components/select/select.js +10 -13
  201. package/dist/components/side-nav/side-nav.component.js +11 -14
  202. package/dist/components/side-nav/side-nav.js +12 -15
  203. package/dist/components/spinner/spinner.component.js +2 -2
  204. package/dist/components/spinner/spinner.js +3 -3
  205. package/dist/components/switch/switch.component.js +2 -5
  206. package/dist/components/switch/switch.js +3 -6
  207. package/dist/components/tab/tab.component.js +6 -9
  208. package/dist/components/tab/tab.js +7 -10
  209. package/dist/components/tab-group/tab-group.component.js +7 -10
  210. package/dist/components/tab-group/tab-group.js +8 -11
  211. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  212. package/dist/components/tab-panel/tab-panel.js +3 -3
  213. package/dist/components/tag/tag.component.js +6 -9
  214. package/dist/components/tag/tag.js +7 -10
  215. package/dist/components/textarea/textarea.component.js +2 -5
  216. package/dist/components/textarea/textarea.js +3 -6
  217. package/dist/components/tooltip/tooltip.component.js +4 -4
  218. package/dist/components/tooltip/tooltip.js +5 -5
  219. package/dist/components/validate/utility.js +2 -2
  220. package/dist/components/validate/validate.component.js +11 -14
  221. package/dist/components/validate/validate.js +12 -15
  222. package/dist/custom-elements.json +183 -167
  223. package/dist/events/events.d.ts +0 -1
  224. package/dist/styles/index.css +1 -1
  225. package/dist/synergy.d.ts +0 -1
  226. package/dist/synergy.js +129 -145
  227. package/dist/vscode.html-custom-data.json +32 -32
  228. package/package.json +17 -18
  229. package/dist/chunks/chunk.24C4XJAI.js.map +0 -7
  230. package/dist/chunks/chunk.24DN2XDS.js.map +0 -7
  231. package/dist/chunks/chunk.742PBV5R.js.map +0 -7
  232. package/dist/chunks/chunk.7Y7O45CM.js.map +0 -7
  233. package/dist/chunks/chunk.AIQ3EJZY.js.map +0 -7
  234. package/dist/chunks/chunk.BO7VIZR3.js.map +0 -7
  235. package/dist/chunks/chunk.DERBT2MN.js.map +0 -7
  236. package/dist/chunks/chunk.EVECGQOP.js.map +0 -7
  237. package/dist/chunks/chunk.IBQDKFYH.js.map +0 -7
  238. package/dist/chunks/chunk.JBLFNOCX.js.map +0 -7
  239. package/dist/chunks/chunk.JSEL4YPW.js +0 -147
  240. package/dist/chunks/chunk.JSEL4YPW.js.map +0 -7
  241. package/dist/chunks/chunk.NUCBTPTS.js.map +0 -7
  242. package/dist/chunks/chunk.O7JPMKUW.js.map +0 -7
  243. package/dist/chunks/chunk.OLCT57R5.js +0 -69
  244. package/dist/chunks/chunk.OLCT57R5.js.map +0 -7
  245. package/dist/chunks/chunk.POGMEL53.js.map +0 -7
  246. package/dist/chunks/chunk.R2HFUCJI.js.map +0 -7
  247. package/dist/chunks/chunk.RSCUHBW3.js +0 -1
  248. package/dist/chunks/chunk.RSCUHBW3.js.map +0 -7
  249. package/dist/chunks/chunk.SXFIFBVM.js.map +0 -7
  250. package/dist/chunks/chunk.T53XYA43.js.map +0 -7
  251. package/dist/chunks/chunk.TXQLKFUU.js.map +0 -7
  252. package/dist/chunks/chunk.UPDPVGHT.js +0 -59
  253. package/dist/chunks/chunk.UPDPVGHT.js.map +0 -7
  254. package/dist/chunks/chunk.VKRMYKYH.js.map +0 -7
  255. package/dist/chunks/chunk.XCILIICJ.js.map +0 -7
  256. package/dist/chunks/chunk.Z2PVOPJK.js.map +0 -7
  257. package/dist/events/syn-default-settings-changed.d.ts +0 -16
  258. package/dist/utilities/defaultSettings/base.d.ts +0 -87
  259. package/dist/utilities/defaultSettings/base.js +0 -10
  260. package/dist/utilities/defaultSettings/base.js.map +0 -7
  261. package/dist/utilities/defaultSettings/decorator.d.ts +0 -12
  262. package/dist/utilities/defaultSettings/decorator.js +0 -10
  263. package/dist/utilities/defaultSettings/decorator.js.map +0 -7
  264. package/dist/utilities/defaultSettings/functions.d.ts +0 -41
  265. package/dist/utilities/defaultSettings/functions.js +0 -21
  266. package/dist/utilities/defaultSettings/functions.js.map +0 -7
  267. package/dist/utilities/defaultSettings/index.d.ts +0 -3
  268. package/dist/utilities/defaultSettings/index.js +0 -20
  269. package/dist/utilities/defaultSettings/index.js.map +0 -7
  270. /package/dist/chunks/{chunk.WLHRVKAR.js.map → chunk.2RO5SDFI.js.map} +0 -0
  271. /package/dist/chunks/{chunk.B2WOBIWW.js.map → chunk.2UVFBYRY.js.map} +0 -0
  272. /package/dist/chunks/{chunk.UY5AOQHP.js.map → chunk.3PLJRLWU.js.map} +0 -0
  273. /package/dist/chunks/{chunk.Q33XUREM.js.map → chunk.3UADS2FG.js.map} +0 -0
  274. /package/dist/chunks/{chunk.QWMAKCAT.js.map → chunk.4DPLWNXK.js.map} +0 -0
  275. /package/dist/chunks/{chunk.XDM6VD32.js.map → chunk.4WRP75PK.js.map} +0 -0
  276. /package/dist/chunks/{chunk.DYUCTKM6.js.map → chunk.52LV42QJ.js.map} +0 -0
  277. /package/dist/chunks/{chunk.VL74BJLP.js.map → chunk.6SX6G2R5.js.map} +0 -0
  278. /package/dist/chunks/{chunk.EBYGA33B.js.map → chunk.76VMRLB3.js.map} +0 -0
  279. /package/dist/chunks/{chunk.Z4OFLKEQ.js.map → chunk.7QSI2KTA.js.map} +0 -0
  280. /package/dist/chunks/{chunk.XSS62TBI.js.map → chunk.ABFTGQIG.js.map} +0 -0
  281. /package/dist/chunks/{chunk.HNVPPNYZ.js.map → chunk.ADPRVKM4.js.map} +0 -0
  282. /package/dist/chunks/{chunk.A2JLMFJ4.js.map → chunk.AYGM4AMZ.js.map} +0 -0
  283. /package/dist/chunks/{chunk.53THUSDO.js.map → chunk.BCJDEKZV.js.map} +0 -0
  284. /package/dist/chunks/{chunk.BJTRYICX.js.map → chunk.BN3TNJKZ.js.map} +0 -0
  285. /package/dist/chunks/{chunk.BPZOCAHJ.js.map → chunk.BNFIYDZO.js.map} +0 -0
  286. /package/dist/chunks/{chunk.4ZPJSGD5.js.map → chunk.BRJMFR3A.js.map} +0 -0
  287. /package/dist/chunks/{chunk.7NZ7JAEV.js.map → chunk.C7WDSHTE.js.map} +0 -0
  288. /package/dist/chunks/{chunk.7XMTQ7P7.js.map → chunk.CK64L7GU.js.map} +0 -0
  289. /package/dist/chunks/{chunk.JHPSR3AP.js.map → chunk.D2AMFNCW.js.map} +0 -0
  290. /package/dist/chunks/{chunk.UYGCYMDS.js.map → chunk.DN2RWBXM.js.map} +0 -0
  291. /package/dist/chunks/{chunk.PDAOZ7HN.js.map → chunk.DSTRFXMO.js.map} +0 -0
  292. /package/dist/chunks/{chunk.E72GLNXI.js.map → chunk.DYUWNUJK.js.map} +0 -0
  293. /package/dist/chunks/{chunk.LYMHXGME.js.map → chunk.E6XELP7N.js.map} +0 -0
  294. /package/dist/chunks/{chunk.UXHC3W5U.js.map → chunk.EAFPSNLJ.js.map} +0 -0
  295. /package/dist/chunks/{chunk.PLSOGFSX.js.map → chunk.EHRE7REF.js.map} +0 -0
  296. /package/dist/chunks/{chunk.NL4FKYIJ.js.map → chunk.GFMUULQR.js.map} +0 -0
  297. /package/dist/chunks/{chunk.P5XIUYNV.js.map → chunk.GLD3DYFW.js.map} +0 -0
  298. /package/dist/chunks/{chunk.XP47Y2SU.js.map → chunk.HDAUY6QG.js.map} +0 -0
  299. /package/dist/chunks/{chunk.MDG7KZFO.js.map → chunk.HMVKM2LC.js.map} +0 -0
  300. /package/dist/chunks/{chunk.FLB37Q2Y.js.map → chunk.I4PP7TTT.js.map} +0 -0
  301. /package/dist/chunks/{chunk.HPQBH3O2.js.map → chunk.IOP352J7.js.map} +0 -0
  302. /package/dist/chunks/{chunk.HZ3S4J3T.js.map → chunk.JRBHRPZR.js.map} +0 -0
  303. /package/dist/chunks/{chunk.7467Z6PG.js.map → chunk.JWKGHB3O.js.map} +0 -0
  304. /package/dist/chunks/{chunk.QMVBPAZF.js.map → chunk.KFBZFX3D.js.map} +0 -0
  305. /package/dist/chunks/{chunk.ST3V3ZVP.js.map → chunk.KKX6OV4A.js.map} +0 -0
  306. /package/dist/chunks/{chunk.YTMSHKEA.js.map → chunk.LFTDPRZJ.js.map} +0 -0
  307. /package/dist/chunks/{chunk.OFA3YJLS.js.map → chunk.LVNDSKZE.js.map} +0 -0
  308. /package/dist/chunks/{chunk.Y4EGILWE.js.map → chunk.MN76TCGZ.js.map} +0 -0
  309. /package/dist/chunks/{chunk.JNAG6IBY.js.map → chunk.MPPVRHYV.js.map} +0 -0
  310. /package/dist/chunks/{chunk.XMSHEZ3R.js.map → chunk.NDXLRMDA.js.map} +0 -0
  311. /package/dist/chunks/{chunk.AQS4YK7Q.js.map → chunk.NHQHD65V.js.map} +0 -0
  312. /package/dist/chunks/{chunk.Y334QFFZ.js.map → chunk.NIYWCDQQ.js.map} +0 -0
  313. /package/dist/chunks/{chunk.LZ27X5R6.js.map → chunk.NOWXA25R.js.map} +0 -0
  314. /package/dist/chunks/{chunk.LYNLLR54.js.map → chunk.NUOEVS57.js.map} +0 -0
  315. /package/dist/chunks/{chunk.EMGPXY5T.js.map → chunk.O2E77ZO7.js.map} +0 -0
  316. /package/dist/chunks/{chunk.XY3WHMD7.js.map → chunk.O4OYBWOG.js.map} +0 -0
  317. /package/dist/chunks/{chunk.S7PAQRVY.js.map → chunk.RODVBLTN.js.map} +0 -0
  318. /package/dist/chunks/{chunk.TL5RQ2KH.js.map → chunk.RS7QM77K.js.map} +0 -0
  319. /package/dist/chunks/{chunk.HCMNEIRN.js.map → chunk.RXNHONDB.js.map} +0 -0
  320. /package/dist/chunks/{chunk.BWESHYBN.js.map → chunk.SG4JU5HT.js.map} +0 -0
  321. /package/dist/chunks/{chunk.WLYLSH3H.js.map → chunk.SGW6T6AH.js.map} +0 -0
  322. /package/dist/chunks/{chunk.VOOMTA4X.js.map → chunk.SUUQ7PWG.js.map} +0 -0
  323. /package/dist/chunks/{chunk.VLE3Q74Y.js.map → chunk.SVAYQQEQ.js.map} +0 -0
  324. /package/dist/chunks/{chunk.MGET4VXP.js.map → chunk.TBZ4NGLX.js.map} +0 -0
  325. /package/dist/chunks/{chunk.SYWSXUHZ.js.map → chunk.TNR3DRP2.js.map} +0 -0
  326. /package/dist/chunks/{chunk.4AKA2QRO.js.map → chunk.TWUIL4KN.js.map} +0 -0
  327. /package/dist/chunks/{chunk.ZDIDYG6H.js.map → chunk.U3QINJJN.js.map} +0 -0
  328. /package/dist/chunks/{chunk.SNHVIH7F.js.map → chunk.UD7TMIOI.js.map} +0 -0
  329. /package/dist/chunks/{chunk.SKA5Y7HA.js.map → chunk.UI3JVXJO.js.map} +0 -0
  330. /package/dist/chunks/{chunk.7LASULTQ.js.map → chunk.UTLJPCF6.js.map} +0 -0
  331. /package/dist/chunks/{chunk.J53UXHXV.js.map → chunk.VDR7MHDJ.js.map} +0 -0
  332. /package/dist/chunks/{chunk.LHNUNBCA.js.map → chunk.VRIWW3IQ.js.map} +0 -0
  333. /package/dist/chunks/{chunk.3HW4J22U.js.map → chunk.VSXPNDRV.js.map} +0 -0
  334. /package/dist/chunks/{chunk.AS3TB27D.js.map → chunk.W4SGQB3N.js.map} +0 -0
  335. /package/dist/chunks/{chunk.NM5EI7ZH.js.map → chunk.WDWOLLU7.js.map} +0 -0
  336. /package/dist/chunks/{chunk.WMUMEYQJ.js.map → chunk.WSN5XASN.js.map} +0 -0
  337. /package/dist/chunks/{chunk.YQLTFWYX.js.map → chunk.XFWY2BGU.js.map} +0 -0
  338. /package/dist/chunks/{chunk.N54SVWTA.js.map → chunk.YBDH432U.js.map} +0 -0
  339. /package/dist/chunks/{chunk.SWUXKALS.js.map → chunk.YNJ5L3DR.js.map} +0 -0
  340. /package/dist/chunks/{chunk.2QFNK7XL.js.map → chunk.YNWZ5ZFI.js.map} +0 -0
  341. /package/dist/chunks/{chunk.IFWSRMUK.js.map → chunk.YQZ2UGG3.js.map} +0 -0
  342. /package/dist/chunks/{chunk.FAREQGAK.js.map → chunk.ZK2J5LTO.js.map} +0 -0
  343. /package/dist/chunks/{chunk.7EYHNKMM.js.map → chunk.ZXWHFKUE.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/combobox/combobox.component.ts"],
4
+ "sourcesContent": ["import type { CSSResultGroup } from 'lit';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.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 SynIcon from '../icon/icon.component.js';\nimport SynPopup from '../popup/popup.component.js';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport SynOption from '../option/option.component.js';\nimport type SynOptGroup from '../optgroup/optgroup.js';\nimport styles from './combobox.styles.js';\nimport customStyles from './combobox.custom.styles.js';\nimport {\n createOptionFromDifferentTypes,\n filterOnlyOptgroups, getAllOptions, getAssignedElementsForSlot, normalizeString,\n} from './utils.js';\nimport { scrollIntoView } from '../../internal/scroll.js';\nimport { type OptionRenderer, defaultOptionRenderer } from './option-renderer.js';\n\n/**\n * @summary Comboboxes allow you to choose items from a menu of predefined options.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-combobox--docs\n * @status stable\n *\n * @dependency syn-icon\n * @dependency syn-popup\n *\n * @slot - The listbox options. Must be `<syn-option>` elements.\n * You can use `<syn-optgroup>`'s to group items visually.\n * @slot label - The combobox's label. Alternatively, you can use the `label` attribute.\n * @slot prefix - Used to prepend a presentational icon or similar element to the combobox.\n * @slot suffix - Used to append a presentational icon or similar element to the combobox.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot expand-icon - The icon to show when the control is expanded and collapsed.\n * Rotates on open and close.\n * @slot help-text - Text that describes how to use the combobox.\n * Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-change - Emitted when the control's value changes.\n * @event syn-clear - Emitted when the control's value is cleared.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-show - Emitted when the combobox's menu opens.\n * @event syn-after-show - Emitted after the combobox's menu opens and all animations are complete.\n * @event syn-hide - Emitted when the combobox's menu closes.\n * @event syn-after-hide - Emitted after the combobox's menu closes and all animations are complete.\n * @event syn-invalid - Emitted when the form control has been checked for validity\n * and its constraints aren't satisfied.\n * @event syn-error - Emitted when the combobox menu fails to open.\n *\n * @csspart form-control - The form control that wraps the label, combobox, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The combobox's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart combobox - The container the wraps the prefix, combobox, clear icon, and expand button.\n * @csspart prefix - The container that wraps the prefix slot.\n * @csspart suffix - The container that wraps the suffix slot.\n * @csspart display-input - The element that displays the selected option's label,\n * an `<input>` element.\n * @csspart listbox - The listbox container where the options are slotted\n * and the filtered options list exists.\n * @csspart filtered-listbox - The container that wraps the filtered options.\n * @csspart clear-button - The clear button.\n * @csspart expand-icon - The container that wraps the expand icon.\n *\n * @animation combobox.show - The animation to use when showing the combobox.\n * @animation combobox.hide - The animation to use when hiding the combobox.\n */\nexport default class SynCombobox extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [\n componentStyles,\n formControlStyles,\n styles,\n formControlCustomStyles,\n customStyles,\n ];\n\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n };\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input'],\n });\n\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n\n private readonly localize = new LocalizeController(this);\n\n private closeWatcher: CloseWatcher | null;\n\n /** The last value of a syn-option, that was selected by click or via keyboard navigation */\n private lastOptionValue = '';\n\n private isOptionRendererTriggered = false;\n\n @query('.combobox') popup: SynPopup;\n\n @query('.combobox__inputs') combobox: HTMLSlotElement;\n\n @query('.combobox__display-input') displayInput: HTMLInputElement;\n\n @query('.combobox__value-input') valueInput: HTMLInputElement;\n\n @query('.combobox__listbox') listbox: HTMLSlotElement;\n\n @query('slot:not([name])') private defaultSlot: HTMLSlotElement;\n\n @state() private hasFocus = false;\n\n @state() displayLabel = '';\n\n @state() selectedOption: SynOption | undefined;\n\n @state() numberFilteredOptions = 0;\n\n @state() cachedOptions: SynOption [] = [];\n\n /** The name of the combobox, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /**\n * The current value of the combobox, submitted as a name/value pair with form data.\n */\n @property() value = '';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** The combobox's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Placeholder text to show as a hint when the combobox is empty. */\n @property() placeholder = '';\n\n /** Disables the combobox control. */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /** Adds a clear button when the combobox is not empty. */\n @property({ type: Boolean }) clearable = false;\n\n /**\n * Indicates whether or not the combobox is open.\n * You can toggle this attribute to show and hide the listbox, or you can use the `show()`\n * and `hide()` methods and this attribute will reflect the combobox's open state.\n */\n @property({ reflect: true, type: Boolean }) open = false;\n\n /**\n * Enable this option to prevent the listbox from being clipped,\n * when the component is placed inside a container with `overflow: auto|scroll`.\n * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n */\n @property({ type: Boolean }) hoist = false;\n\n /** The combobox's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /**\n * The preferred placement of the combobox's menu.\n * Note that the actual placement may vary as needed to keep the listbox inside of the viewport.\n */\n @property({ reflect: true }) placement: 'top' | 'bottom' = 'bottom';\n\n /** The combobox's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\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`.\n * The form must be in the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** The combobox's required attribute. */\n @property({ reflect: true, type: Boolean }) required = false;\n\n /**\n * A function that customizes the rendered option. The first argument is the option, the second\n * is the query string, which is typed into the combobox.\n * The function should return either a Lit TemplateResult or a string containing trusted HTML\n * to render in the shown list of filtered options.\n * If the query string should be highlighted use the `highlightOptionRenderer` function.\n */\n @property() getOption: OptionRenderer = defaultOptionRenderer;\n\n /**\n * A function used to filter options in the combobox component.\n * The default filter method is a case- and diacritic-insensitive string comparison.\n *\n * @param option - The option to be filtered.\n * @param queryString - The query string used for filtering.\n * @returns A boolean indicating whether the option should be included in the filtered results.\n */\n // eslint-disable-next-line class-methods-use-this\n @property() filter: (option: SynOption, queryString: string) => boolean = (option, queryStr) => {\n let content = option?.textContent || '';\n if (option instanceof SynOption) {\n content = option.getTextLabel();\n }\n const normalizedOption = normalizeString(content);\n const normalizedQuery = normalizeString(queryStr);\n return normalizedOption.includes(normalizedQuery);\n };\n\n /** Gets the validity state object */\n get validity() {\n return this.valueInput.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.valueInput.validationMessage;\n }\n\n connectedCallback() {\n super.connectedCallback();\n\n // Because this is a form control, it shouldn't be opened initially\n this.open = false;\n }\n\n firstUpdated() {\n // initially set the displayLabel if the value was set via property initially\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.displayLabel = this.value;\n });\n this.formControlController.updateValidity();\n }\n\n private addOpenListeners() {\n //\n // Listen on the root node instead of the document in case the elements are inside a shadow root\n //\n // https://github.com/synergy-design-system/synergy/issues/1763\n //\n document.addEventListener('focusin', this.handleDocumentFocusIn);\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n document.addEventListener('mousedown', this.handleDocumentMouseDown);\n\n // If the component is rendered in a shadow root,\n // we need to attach the focusin listener there too\n if (this.getRootNode() !== document) {\n this.getRootNode().addEventListener('focusin', this.handleDocumentFocusIn);\n }\n\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n if (this.open) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n };\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('focusin', this.handleDocumentFocusIn);\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n document.removeEventListener('mousedown', this.handleDocumentMouseDown);\n\n if (this.getRootNode() !== document) {\n this.getRootNode().removeEventListener('focusin', this.handleDocumentFocusIn);\n }\n\n this.closeWatcher?.destroy();\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleDocumentFocusIn = (event: KeyboardEvent) => {\n // Close when focusing out of the combobox\n const path = event.composedPath();\n if (this && !path.includes(this)) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.hide();\n }\n };\n\n /* eslint-disable @typescript-eslint/no-floating-promises */\n // eslint-disable-next-line complexity\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n const target = event.target as HTMLElement;\n const isClearButton = target.closest('.combobox__clear') !== null;\n\n if (isClearButton) {\n return;\n }\n\n // Close when pressing escape and open / clear input if not open\n if (event.key === 'Escape') {\n if (this.open && !this.closeWatcher) {\n event.preventDefault();\n event.stopPropagation();\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n } else if (!this.open) {\n this.clearCombobox();\n }\n }\n\n // Handle enter.\n if (event.key === 'Enter') {\n const currentOption = this.getCurrentOption();\n\n // Pressing enter when focused on an input should submit the form like a native input, but\n // we wait a tick before submitting to allow users to cancel the keydown event if they need to\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (!this.open && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented) {\n this.formControlController.submit();\n }\n });\n return;\n }\n\n if (!this.open || (currentOption && currentOption.disabled)) {\n return;\n }\n\n // Update the value based on the current selection and close it\n if (currentOption) {\n const oldValue = this.lastOptionValue;\n this.setSelectedOption(currentOption);\n\n if (this.value !== oldValue) {\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n }\n\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n return;\n }\n\n // Navigate options\n if (['ArrowUp', 'ArrowDown'].includes(event.key)) {\n // Prevent scrolling\n event.preventDefault();\n event.stopPropagation();\n // Open it\n if (!this.open) {\n this.show();\n }\n\n this.selectNextOption(event.key === 'ArrowDown');\n }\n\n // Move cursor\n if (['Home', 'End'].includes(event.key)) {\n // Prevent scrolling\n event.preventDefault();\n event.stopPropagation();\n if (event.key === 'Home') {\n this.displayInput.setSelectionRange(0, 0);\n } else if (event.key === 'End') {\n this.displayInput.setSelectionRange(\n this.displayInput.value.length,\n this.displayInput.value.length,\n );\n }\n }\n };\n /* eslint-enable @typescript-eslint/no-floating-promises */\n\n private handleDocumentMouseDown = (event: MouseEvent) => {\n // Close when clicking outside of the combobox\n const path = event.composedPath();\n if (this && !path.includes(this)) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.hide();\n }\n };\n\n private handleLabelClick() {\n this.displayInput.focus();\n }\n\n private handleComboboxMouseDown(event: MouseEvent) {\n // Ignore disabled controls\n if (this.disabled) {\n return;\n }\n\n const toggleListboxOpen = () => (this.open ? this.hide() : this.show());\n event.preventDefault();\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n toggleListboxOpen().then(() => {\n setTimeout(() => this.displayInput.focus({ preventScroll: true }));\n });\n }\n\n private handleComboboxKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n return;\n }\n\n this.handleDocumentKeyDown(event);\n }\n\n private handleClearClick(event: MouseEvent) {\n event.stopPropagation();\n this.clearCombobox();\n }\n\n private clearCombobox() {\n if (this.value !== '') {\n this.value = '';\n this.displayInput.value = '';\n this.lastOptionValue = '';\n this.setSelectedOption(undefined);\n this.displayInput.focus({ preventScroll: true });\n\n // Emit after update\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.emit('syn-clear');\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n private preventLoosingFocus(event: MouseEvent) {\n // Don't lose focus of the input or propagate events\n event.stopPropagation();\n event.preventDefault();\n }\n\n /* eslint-disable @typescript-eslint/no-floating-promises */\n private handleOptionClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const option = target.closest('syn-option');\n const oldValue = this.lastOptionValue;\n if (option && !option.disabled) {\n this.setSelectedOption(option);\n\n // Set focus after updating so the value is announced by screen readers\n this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));\n\n if (this.value !== oldValue) {\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n }\n /* eslint-enable @typescript-eslint/no-floating-promises */\n\n /**\n * Selects the following or previous option.\n *\n * @param isNext - A boolean indicating whether to select the following option (true)\n * or the previous option (false).\n */\n private selectNextOption(isNext: boolean) {\n const filteredOptions = this.getAllFilteredOptions();\n\n if (filteredOptions.length === 0) {\n return;\n }\n\n const currentOption = this.getCurrentOption();\n const currentIndex = filteredOptions.indexOf(currentOption!);\n let newIndex = Math.max(0, currentIndex);\n\n if (isNext) {\n const nextIndex = currentIndex + 1;\n newIndex = (nextIndex > filteredOptions.length - 1) ? 0 : nextIndex;\n } else {\n const previousIndex = currentIndex - 1;\n newIndex = previousIndex < 0 ? filteredOptions.length - 1 : previousIndex;\n }\n this.setCurrentOption(filteredOptions[newIndex]);\n scrollIntoView(this.getCurrentOption()!, this.listbox, 'vertical', 'auto');\n }\n\n private getAllFilteredOptions() {\n return this.getSlottedOptions().filter(option => !option.hidden);\n }\n\n private getCurrentOption() {\n return this.getAllFilteredOptions().find(option => option.current);\n }\n\n // Sets the current option, which is the option the user is currently interacting with\n // (e.g. via keyboard). Only one option may be \"current\" at a time.\n private setCurrentOption(option: SynOption | null) {\n const allOptions = this.getAllFilteredOptions();\n\n // Clear selection\n this.displayInput.removeAttribute('aria-activedescendant');\n\n allOptions.forEach(el => {\n // eslint-disable-next-line no-param-reassign\n el.current = false;\n el.setAttribute('aria-selected', 'false');\n });\n\n // Select the target option\n if (option) {\n // eslint-disable-next-line no-param-reassign\n option.current = true;\n option.setAttribute('aria-selected', 'true');\n this.displayInput.setAttribute('aria-activedescendant', option.id);\n }\n }\n\n /**\n * Updates the selected options cache, the current value, and the display value\n */\n private setSelectedOption(option: SynOption | undefined) {\n this.selectedOption = option;\n\n // Check if the selected option has a value,\n // if not take the text content of the option otherwise the input text\n const optionValue = this.selectedOption?.value || this.selectedOption?.getTextLabel();\n\n if (option) {\n this.lastOptionValue = optionValue || '';\n }\n\n // Update the value\n this.value = optionValue ?? this.displayInput.value;\n\n // Update validity and display label\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.displayLabel = this.selectedOption?.getTextLabel() ?? this.displayInput.value;\n this.formControlController.updateValidity();\n });\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n @watch(['filter', 'getOption'], { waitUntilFirstUpdate: true })\n handlePropertiesChange() {\n this.createComboboxOptionsFromQuery(this.value);\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n\n // Close the listbox when the control is disabled\n if (this.disabled) {\n this.open = false;\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.handleOpenChange();\n }\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n handleValueChange() {\n // set the display label here in case of the value was set via property only\n this.displayLabel = this.value;\n this.createComboboxOptionsFromQuery(this.value);\n this.setCurrentOption(null);\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open && !this.disabled) {\n if (this.numberFilteredOptions === 0) {\n // Don't open the listbox if there are no options\n this.open = false;\n this.emit('syn-error');\n return;\n }\n\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n\n await stopAnimations(this);\n this.listbox.hidden = false;\n this.popup.active = true;\n\n const { keyframes, options } = getAnimation(this, 'combobox.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n\n this.emit('syn-after-show');\n return;\n }\n\n this.setCurrentOption(null);\n this.displayInput.removeAttribute('aria-activedescendant');\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n await stopAnimations(this);\n const { keyframes, options } = getAnimation(this, 'combobox.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.listbox.hidden = true;\n this.popup.active = false;\n\n this.emit('syn-after-hide');\n }\n\n /**\n * Shows the listbox. If it is not possible to open the listbox, because there are no\n * appropriate filtered options, a syn-error is emitted and the listbox stays closed.\n */\n async show() {\n if (this.open || this.disabled) {\n this.open = false;\n return undefined;\n }\n\n this.open = true;\n return Promise.race([waitForEvent(this, 'syn-after-show'), waitForEvent(this, 'syn-error')]);\n }\n\n /** Hides the listbox. */\n async hide() {\n if (!this.open || this.disabled) {\n this.open = false;\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\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.valueInput.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.valueInput.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.valueInput.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the control. */\n focus(options?: FocusOptions) {\n this.displayInput.focus(options);\n }\n\n /** Removes focus from the control. */\n blur() {\n this.displayInput.blur();\n }\n\n /* eslint-disable no-param-reassign, @typescript-eslint/no-floating-promises */\n private createComboboxOptionsFromQuery(queryString: string) {\n this.numberFilteredOptions = 0;\n this.isOptionRendererTriggered = true;\n\n // This is needed for angular. For some reason the handleDefaultSlotChange is not triggered\n // initially and therefore the cachedOptions are not set.\n if (this.cachedOptions.length === 0) {\n this.cacheSlottedOptionsAndOptgroups();\n }\n\n // Update the syn-option's based on the query string and getOption\n this.getSlottedOptions()\n .forEach(option => {\n // Use the original cached option, to do changes on it\n const cachedOption = this.cachedOptions.find(o => o.id === option.id) || option;\n const optionResult = this.getOption(cachedOption, queryString);\n let updatedOption = createOptionFromDifferentTypes(optionResult);\n\n // The type of the getOption function is incorrect, therefore use the original option\n if (!updatedOption) {\n updatedOption = cachedOption;\n }\n\n const hideOption = !(this.filter(updatedOption, queryString) || queryString === '');\n updatedOption.hidden = hideOption;\n option.replaceWith(updatedOption);\n\n if (!hideOption) {\n this.numberFilteredOptions += 1;\n }\n });\n\n // Update the syn-optgroup's if available\n const visibleOptgroups = this.getSlottedOptGroups().filter(optgroup => {\n const options = getAllOptions(Array.from(optgroup.children) as HTMLElement[]).flat();\n const isVisible = options.some(option => !option.hidden);\n optgroup.hidden = !isVisible;\n return isVisible;\n });\n\n // Hide the divider of the first visible optgroup, as it can unfortunately not be hidden via css\n visibleOptgroups[0]?.style.setProperty('--display-divider', 'none');\n\n // This is needed so the component does not endlessly rerender,\n // because the slot change event is endlessly retriggered otherwise.\n setTimeout(() => {\n this.isOptionRendererTriggered = false;\n }, 0);\n }\n /* eslint-enable no-param-reassign, @typescript-eslint/no-floating-promises */\n\n private async handleInput() {\n const inputValue = this.displayInput.value;\n this.value = inputValue;\n await this.updateComplete;\n this.open = this.numberFilteredOptions > 0;\n this.setSelectedOption(undefined);\n\n this.formControlController.updateValidity();\n this.emit('syn-input');\n }\n\n private handleChange() {\n // Only update the value and emit the event, if the change event occurred by\n // the user typing something in and removing focus of the combobox\n if (!this.selectedOption) {\n this.value = this.displayInput.value;\n // Update validity\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.formControlController.updateValidity();\n });\n this.emit('syn-change');\n }\n }\n\n private getSlottedOptions() {\n return getAllOptions(getAssignedElementsForSlot(this.defaultSlot)).flat();\n }\n\n private getSlottedOptGroups(): SynOptGroup[] {\n return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));\n }\n\n /* eslint-disable no-param-reassign */\n private cacheSlottedOptionsAndOptgroups() {\n const slottedOptions = this.getSlottedOptions();\n const slottedOptgroups = this.getSlottedOptGroups();\n\n slottedOptions.forEach((option, index) => {\n option.id = option.id || `syn-combobox-option-${index}`;\n });\n\n slottedOptgroups.forEach((optgroup, index) => {\n optgroup.id = optgroup.id || `syn-combobox-optgroup-${index}`;\n });\n\n // Cache the slotted options\n this.cachedOptions = [...slottedOptions];\n }\n /* eslint-enable no-param-reassign */\n\n /* eslint-disable @typescript-eslint/no-floating-promises, complexity */\n /* @internal - used by options to update labels */\n public handleDefaultSlotChange() {\n if (!this.isOptionRendererTriggered) {\n // Rerun this handler when <syn-option> is registered\n if (!customElements.get('syn-option')) {\n customElements.whenDefined('syn-option').then(() => this.handleDefaultSlotChange());\n return;\n }\n\n this.cacheSlottedOptionsAndOptgroups();\n\n this.createComboboxOptionsFromQuery(this.value);\n\n if (this.hasFocus && this.value.length > 0 && !this.open) {\n this.show();\n }\n }\n }\n /* eslint-enable @typescript-eslint/no-floating-promises, complexity */\n\n /* eslint-disable @typescript-eslint/unbound-method */\n // eslint-disable-next-line complexity\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;\n const isPlaceholderVisible = this.placeholder && this.value.length === 0;\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\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 })}\n >\n <label\n id=\"label\"\n part=\"form-control-label\"\n class=\"form-control__label\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n @click=${this.handleLabelClick}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <syn-popup\n class=${classMap({\n combobox: true,\n 'combobox--bottom': this.placement === 'bottom',\n 'combobox--disabled': this.disabled,\n 'combobox--focused': this.hasFocus,\n 'combobox--large': this.size === 'large',\n 'combobox--medium': this.size === 'medium',\n 'combobox--open': this.open,\n 'combobox--placeholder-visible': isPlaceholderVisible,\n 'combobox--small': this.size === 'small',\n 'combobox--standard': true,\n 'combobox--top': this.placement === 'top',\n })}\n placement=${this.placement}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n sync=\"width\"\n auto-size=\"vertical\"\n auto-size-padding=\"10\"\n >\n <div\n part=\"combobox\"\n class=\"combobox__inputs\"\n slot=\"anchor\"\n @keydown=${this.handleComboboxKeyDown}\n @mousedown=${this.handleComboboxMouseDown}\n >\n <slot part=\"prefix\" name=\"prefix\" class=\"combobox__prefix\"></slot>\n\n <input\n part=\"display-input\"\n class=\"combobox__display-input\"\n type=\"text\"\n placeholder=${this.placeholder}\n .disabled=${this.disabled}\n .value=${this.displayLabel}\n autocomplete=\"off\"\n spellcheck=\"false\"\n autocapitalize=\"off\"\n aria-controls=\"listbox\"\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-haspopup=\"listbox\"\n aria-labelledby=\"label\"\n aria-disabled=${this.disabled ? 'true' : 'false'}\n aria-describedby=\"help-text\"\n role=\"combobox\"\n tabindex=\"0\"\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n\n aria-autocomplete=\"list\"\n aria-owns=\"listbox\"\n @input=${this.handleInput}\n @change=${this.handleChange}\n />\n\n <input\n class=\"combobox__value-input\"\n type=\"text\"\n ?disabled=${this.disabled}\n ?required=${this.required}\n .value=${this.value}\n tabindex=\"-1\"\n aria-hidden=\"true\"\n @focus=${() => this.focus()}\n @invalid=${this.handleInvalid}\n />\n \n ${hasClearIcon\n ? html`\n <button\n part=\"clear-button\"\n class=\"combobox__clear\"\n type=\"button\"\n aria-label=${this.localize.term('clearEntry')}\n @mousedown=${this.preventLoosingFocus}\n @click=${this.handleClearClick}\n tabindex=\"-1\"\n >\n <slot name=\"clear-icon\">\n <syn-icon name=\"x-circle-fill\" library=\"system\"></syn-icon>\n </slot>\n </button>\n `\n : ''}\n\n <slot name=\"suffix\" part=\"suffix\" class=\"combobox__suffix\"></slot>\n\n <slot name=\"expand-icon\" part=\"expand-icon\" class=\"combobox__expand-icon\">\n <syn-icon library=\"system\" name=\"chevron-down\"></syn-icon>\n </slot>\n </div>\n\n <div\n id=\"listbox\"\n role=\"listbox\"\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-labelledby=\"label\"\n part=\"listbox\"\n class=\"combobox__listbox\"\n tabindex=\"-1\"\n @mousedown=${this.preventLoosingFocus}\n @mouseup=${this.handleOptionClick}\n >\n <div class=\"listbox__options\" part=\"filtered-listbox\">\n <slot @slotchange=${this.handleDefaultSlotChange}></slot> \n </div>\n </div>\n </syn-popup>\n </div>\n \n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\nsetDefaultAnimation('combobox.show', {\n keyframes: [\n { opacity: 0, scale: 0.9 },\n { opacity: 1, scale: 1 },\n ],\n options: { duration: 100, easing: 'ease' },\n});\n\nsetDefaultAnimation('combobox.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.9 },\n ],\n options: { duration: 100, easing: 'ease' },\n});\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AA6EvC,IAAqB,cAArB,cAAyC,eAA6C;AAAA,EAAtF;AAAA;AAcE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY,WAAW;AAAA,IAC/C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K,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,iBAAiB;AAAA,EACnC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
6
+ "names": ["_a", "_b", "keyframes", "options"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDropdown
3
- } from "./chunk.Y334QFFZ.js";
3
+ } from "./chunk.NIYWCDQQ.js";
4
4
 
5
5
  // src/components/dropdown/dropdown.ts
6
6
  var dropdown_default = SynDropdown;
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
9
9
  export {
10
10
  dropdown_default
11
11
  };
12
- //# sourceMappingURL=chunk.NM5EI7ZH.js.map
12
+ //# sourceMappingURL=chunk.WDWOLLU7.js.map
@@ -6,19 +6,19 @@ import {
6
6
  } from "./chunk.43YNZAWL.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.EMU2E2VE.js";
10
- import {
11
- LocalizeController
12
- } from "./chunk.GIU3H3J3.js";
9
+ } from "./chunk.RTK2527V.js";
13
10
  import {
14
11
  watch
15
12
  } from "./chunk.74IOULXM.js";
13
+ import {
14
+ LocalizeController
15
+ } from "./chunk.GIU3H3J3.js";
16
16
  import {
17
17
  component_styles_default
18
18
  } from "./chunk.NLYVOJGK.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.MKQXTHWU.js";
21
+ } from "./chunk.JHSYQUJH.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.2GFK6XTO.js";
@@ -118,4 +118,4 @@ __decorateClass([
118
118
  export {
119
119
  SynTab
120
120
  };
121
- //# sourceMappingURL=chunk.WMUMEYQJ.js.map
121
+ //# sourceMappingURL=chunk.WSN5XASN.js.map
@@ -6,19 +6,19 @@ import {
6
6
  } from "./chunk.IVM3BGRH.js";
7
7
  import {
8
8
  SynIcon
9
- } from "./chunk.SWUXKALS.js";
10
- import {
11
- LocalizeController
12
- } from "./chunk.GIU3H3J3.js";
9
+ } from "./chunk.YNJ5L3DR.js";
13
10
  import {
14
11
  watch
15
12
  } from "./chunk.74IOULXM.js";
13
+ import {
14
+ LocalizeController
15
+ } from "./chunk.GIU3H3J3.js";
16
16
  import {
17
17
  component_styles_default
18
18
  } from "./chunk.NLYVOJGK.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.MKQXTHWU.js";
21
+ } from "./chunk.JHSYQUJH.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.2GFK6XTO.js";
@@ -154,4 +154,4 @@ __decorateClass([
154
154
  export {
155
155
  SynOption
156
156
  };
157
- //# sourceMappingURL=chunk.NN73HBIU.js.map
157
+ //# sourceMappingURL=chunk.WYXCB5I5.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/option/option.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 { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, 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 SynIcon from '../icon/icon.component.js';\nimport styles from './option.styles.js';\nimport customStyles from './option.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Options define the selectable items within various form controls such as [select](/components/select).\n * @documentation https://synergy.style/components/option\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The option's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart base - The component's base wrapper.\n * @csspart label - The option's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n */\nexport default class SynOption extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n // @ts-expect-error - Controller is currently unused\n private readonly localize = new LocalizeController(this);\n\n private isInitialized = false;\n\n @query('.option__label') defaultSlot: HTMLSlotElement;\n\n @state() current = false; // the user has keyed into the option, but hasn't selected it yet (shows a highlight)\n @state() selected = false; // the option is selected and has aria-selected=\"true\"\n @state() hasHover = false; // we need this because Safari doesn't honor :hover styles while dragging\n\n /**\n * The option's value. When selected, the containing form control will receive this value. The value must be unique\n * from other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\n * multiple values.\n */\n @property({ reflect: true }) value = '';\n\n /** Draws the option in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'option');\n this.setAttribute('aria-selected', 'false');\n }\n\n private handleDefaultSlotChange() {\n if(this.isInitialized) {\n // When the label changes, tell the controller to update\n customElements.whenDefined('syn-combobox').then(() => {\n const controller = this.closest('syn-combobox');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n customElements.whenDefined('syn-select').then(() => {\n const controller = this.closest('syn-select');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n } else {\n this.isInitialized = true;\n }\n }\n\n private handleMouseEnter() {\n this.hasHover = true;\n }\n\n private handleMouseLeave() {\n this.hasHover = false;\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('selected')\n handleSelectedChange() {\n this.setAttribute('aria-selected', this.selected ? 'true' : 'false');\n }\n\n @watch('value')\n handleValueChange() {\n // Ensure the value is a string. This ensures the next line doesn't error and allows framework users to pass numbers\n // instead of requiring them to cast the value to a string.\n if (typeof this.value !== 'string') {\n this.value = String(this.value);\n }\n\n if (this.value.includes(' ')) {\n console.error(`Option values cannot include a space. All spaces have been replaced with underscores.`, this);\n this.value = this.value.replace(/ /g, '_');\n }\n }\n\n /** Returns a plain text label based on the option's content. */\n getTextLabel() {\n const nodes = this.childNodes;\n let label = '';\n\n [...nodes].forEach(node => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n if (!(node as HTMLElement).hasAttribute('slot')) {\n label += (node as HTMLElement).textContent;\n }\n }\n\n if (node.nodeType === Node.TEXT_NODE) {\n label += node.textContent;\n }\n });\n\n return label.trim();\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n option: true,\n 'option--current': this.current,\n 'option--disabled': this.disabled,\n 'option--selected': this.selected,\n 'option--hover': this.hasHover\n })}\n @mouseenter=${this.handleMouseEnter}\n @mouseleave=${this.handleMouseLeave}\n >\n <syn-icon part=\"checked-icon\" class=\"option__check\" name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n <slot part=\"prefix\" name=\"prefix\" class=\"option__prefix\"></slot>\n <slot part=\"label\" class=\"option__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n <slot part=\"suffix\" name=\"suffix\" class=\"option__suffix\"></slot>\n </div>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AA2BvC,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAKE;AAAA,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAEvD,SAAQ,gBAAgB;AAIf,mBAAU;AACV,oBAAW;AACX,oBAAW;AAOS,iBAAQ;AAGO,oBAAW;AAAA;AAAA,EAEvD,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,aAAa,QAAQ,QAAQ;AAClC,SAAK,aAAa,iBAAiB,OAAO;AAAA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K;AAAA,MAChB;AAAA,IACF,CAAC;AAED,WAAO,MAAM,KAAK;AAAA,EACpB;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,QAAQ;AAAA,MACR,mBAAmB,KAAK;AAAA,MACxB,oBAAoB,KAAK;AAAA,MACzB,oBAAoB,KAAK;AAAA,MACzB,iBAAiB,KAAK;AAAA,IACxB,CAAC,CAAC;AAAA,sBACY,KAAK,gBAAgB;AAAA,sBACrB,KAAK,gBAAgB;AAAA;AAAA;AAAA;AAAA,+DAIoB,KAAK,uBAAuB;AAAA;AAAA;AAAA;AAAA,EAIzF;AACF;AA5HqB,UACZ,SAAyB,CAAC,0BAAiB,uBAAQ,4BAAY;AADnD,UAEZ,eAAe,EAAE,YAAY,QAAQ;AAOnB;AAAA,EAAxB,MAAM,gBAAgB;AAAA,GATJ,UASM;AAEhB;AAAA,EAAR,MAAM;AAAA,GAXY,UAWV;AACA;AAAA,EAAR,MAAM;AAAA,GAZY,UAYV;AACA;AAAA,EAAR,MAAM;AAAA,GAbY,UAaV;AAOoB;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GApBR,UAoBU;AAGe;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAvBvB,UAuByB;AAqC5C;AAAA,EADC,MAAM,UAAU;AAAA,GA3DE,UA4DnB;AAKA;AAAA,EADC,MAAM,UAAU;AAAA,GAhEE,UAiEnB;AAKA;AAAA,EADC,MAAM,OAAO;AAAA,GArEK,UAsEnB;",
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 { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, 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 SynIcon from '../icon/icon.component.js';\nimport styles from './option.styles.js';\nimport customStyles from './option.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Options define the selectable items within various form controls such as [select](/components/select).\n * @documentation https://synergy.style/components/option\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The option's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart base - The component's base wrapper.\n * @csspart label - The option's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n */\nexport default class SynOption extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n // @ts-expect-error - Controller is currently unused\n private readonly localize = new LocalizeController(this);\n\n private isInitialized = false;\n\n @query('.option__label') defaultSlot: HTMLSlotElement;\n\n @state() current = false; // the user has keyed into the option, but hasn't selected it yet (shows a highlight)\n @state() selected = false; // the option is selected and has aria-selected=\"true\"\n @state() hasHover = false; // we need this because Safari doesn't honor :hover styles while dragging\n\n /**\n * The option's value. When selected, the containing form control will receive this value. The value must be unique\n * from other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\n * multiple values.\n */\n @property({ reflect: true }) value = '';\n\n /** Draws the option in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'option');\n this.setAttribute('aria-selected', 'false');\n }\n\n private handleDefaultSlotChange() {\n if (this.isInitialized) {\n // When the label changes, tell the controller to update\n customElements.whenDefined('syn-combobox').then(() => {\n const controller = this.closest('syn-combobox');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n customElements.whenDefined('syn-select').then(() => {\n const controller = this.closest('syn-select');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n } else {\n this.isInitialized = true;\n }\n }\n\n private handleMouseEnter() {\n this.hasHover = true;\n }\n\n private handleMouseLeave() {\n this.hasHover = false;\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('selected')\n handleSelectedChange() {\n this.setAttribute('aria-selected', this.selected ? 'true' : 'false');\n }\n\n @watch('value')\n handleValueChange() {\n // Ensure the value is a string. This ensures the next line doesn't error and allows framework users to pass numbers\n // instead of requiring them to cast the value to a string.\n if (typeof this.value !== 'string') {\n this.value = String(this.value);\n }\n\n if (this.value.includes(' ')) {\n console.error(`Option values cannot include a space. All spaces have been replaced with underscores.`, this);\n this.value = this.value.replace(/ /g, '_');\n }\n }\n\n /** Returns a plain text label based on the option's content. */\n getTextLabel() {\n const nodes = this.childNodes;\n let label = '';\n\n [...nodes].forEach(node => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n if (!(node as HTMLElement).hasAttribute('slot')) {\n label += (node as HTMLElement).textContent;\n }\n }\n\n if (node.nodeType === Node.TEXT_NODE) {\n label += node.textContent;\n }\n });\n\n return label.trim();\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n option: true,\n 'option--current': this.current,\n 'option--disabled': this.disabled,\n 'option--selected': this.selected,\n 'option--hover': this.hasHover\n })}\n @mouseenter=${this.handleMouseEnter}\n @mouseleave=${this.handleMouseLeave}\n >\n <syn-icon part=\"checked-icon\" class=\"option__check\" name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n <slot part=\"prefix\" name=\"prefix\" class=\"option__prefix\"></slot>\n <slot part=\"label\" class=\"option__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n <slot part=\"suffix\" name=\"suffix\" class=\"option__suffix\"></slot>\n </div>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,S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,GA3DE,UA4DnB;AAKA;AAAA,EADC,MAAM,UAAU;AAAA,GAhEE,UAiEnB;AAKA;AAAA,EADC,MAAM,OAAO;AAAA,GArEK,UAsEnB;",
6
6
  "names": []
7
7
  }
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.NLYVOJGK.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.MKQXTHWU.js";
9
+ } from "./chunk.JHSYQUJH.js";
10
10
  import {
11
11
  __decorateClass
12
12
  } from "./chunk.2GFK6XTO.js";
@@ -48,4 +48,4 @@ __decorateClass([
48
48
  export {
49
49
  SynRangeTick
50
50
  };
51
- //# sourceMappingURL=chunk.YQLTFWYX.js.map
51
+ //# sourceMappingURL=chunk.XFWY2BGU.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSwitch
3
- } from "./chunk.AIQ3EJZY.js";
3
+ } from "./chunk.ZR6W46YN.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.N54SVWTA.js.map
12
+ //# sourceMappingURL=chunk.YBDH432U.js.map
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk.NLYVOJGK.js";
18
18
  import {
19
19
  SynergyElement
20
- } from "./chunk.MKQXTHWU.js";
20
+ } from "./chunk.JHSYQUJH.js";
21
21
  import {
22
22
  __decorateClass
23
23
  } from "./chunk.2GFK6XTO.js";
@@ -182,4 +182,4 @@ __decorateClass([
182
182
  export {
183
183
  SynIcon
184
184
  };
185
- //# sourceMappingURL=chunk.SWUXKALS.js.map
185
+ //# sourceMappingURL=chunk.YNJ5L3DR.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.NLYVOJGK.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.MKQXTHWU.js";
15
+ } from "./chunk.JHSYQUJH.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.2GFK6XTO.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynProgressRing
78
78
  };
79
- //# sourceMappingURL=chunk.2QFNK7XL.js.map
79
+ //# sourceMappingURL=chunk.YNWZ5ZFI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPrioNav
3
- } from "./chunk.FLB37Q2Y.js";
3
+ } from "./chunk.I4PP7TTT.js";
4
4
 
5
5
  // src/components/prio-nav/prio-nav.ts
6
6
  var prio_nav_default = SynPrioNav;
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
9
9
  export {
10
10
  prio_nav_default
11
11
  };
12
- //# sourceMappingURL=chunk.IFWSRMUK.js.map
12
+ //# sourceMappingURL=chunk.YQZ2UGG3.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.NLYVOJGK.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.MKQXTHWU.js";
9
+ } from "./chunk.JHSYQUJH.js";
10
10
  import {
11
11
  __decorateClass
12
12
  } from "./chunk.2GFK6XTO.js";
@@ -89,4 +89,4 @@ function findButton(el) {
89
89
  export {
90
90
  SynButtonGroup
91
91
  };
92
- //# sourceMappingURL=chunk.FAREQGAK.js.map
92
+ //# sourceMappingURL=chunk.ZK2J5LTO.js.map
@@ -20,15 +20,12 @@ import {
20
20
  import {
21
21
  watch
22
22
  } from "./chunk.74IOULXM.js";
23
- import {
24
- enableDefaultSettings
25
- } from "./chunk.OLCT57R5.js";
26
23
  import {
27
24
  component_styles_default
28
25
  } from "./chunk.NLYVOJGK.js";
29
26
  import {
30
27
  SynergyElement
31
- } from "./chunk.MKQXTHWU.js";
28
+ } from "./chunk.JHSYQUJH.js";
32
29
  import {
33
30
  __decorateClass
34
31
  } from "./chunk.2GFK6XTO.js";
@@ -248,11 +245,8 @@ __decorateClass([
248
245
  __decorateClass([
249
246
  watch("disabled", { waitUntilFirstUpdate: true })
250
247
  ], SynSwitch.prototype, "handleDisabledChange", 1);
251
- SynSwitch = __decorateClass([
252
- enableDefaultSettings("SynSwitch")
253
- ], SynSwitch);
254
248
 
255
249
  export {
256
250
  SynSwitch
257
251
  };
258
- //# sourceMappingURL=chunk.AIQ3EJZY.js.map
252
+ //# sourceMappingURL=chunk.ZR6W46YN.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/switch/switch.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 { classMap } from 'lit/directives/class-map.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { live } from 'lit/directives/live.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.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 styles from './switch.styles.js';\nimport customStyles from './switch.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\n\n/**\n * @summary Switches allow the user to toggle an option on or off.\n * @documentation https://synergy.style/components/switch\n * @status stable\n * @since 2.0\n *\n * @slot - The switch's label.\n * @slot help-text - Text that describes how to use the switch. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when the control's checked state changes.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The control that houses the switch's thumb.\n * @csspart thumb - The switch's thumb.\n * @csspart label - The switch's label.\n * @csspart form-control-help-text - The help text's wrapper.\n *\n * @cssproperty --width - The width of the switch.\n * @cssproperty --height - The height of the switch.\n * @cssproperty --thumb-size - The size of the thumb.\n */\nexport default class SynSwitch extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n\n private readonly formControlController = new FormControlController(this, {\n value: (control: SynSwitch) => (control.checked ? control.value || 'on' : undefined),\n defaultValue: (control: SynSwitch) => control.defaultChecked,\n setValue: (control: SynSwitch, checked: boolean) => (control.checked = checked)\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text');\n\n @query('input[type=\"checkbox\"]') input: HTMLInputElement;\n\n @state() private hasFocus = false;\n @property() title = ''; // make reactive to pass through\n\n /** The name of the switch, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /** The current value of the switch, submitted as a name/value pair with form data. */\n @property() value: string;\n\n /** The switch's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Disables the switch. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Draws the switch in a checked state. */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue('checked') defaultChecked = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the switch a required field. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** The switch's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\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 firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleInput() {\n this.emit('syn-input');\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private handleClick() {\n this.checked = !this.checked;\n this.emit('syn-change');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.checked = false;\n this.emit('syn-change');\n this.emit('syn-input');\n }\n\n if (event.key === 'ArrowRight') {\n event.preventDefault();\n this.checked = true;\n this.emit('syn-change');\n this.emit('syn-input');\n }\n }\n\n @watch('checked', { waitUntilFirstUpdate: true })\n handleCheckedChange() {\n this.input.checked = this.checked; // force a sync update\n this.formControlController.updateValidity();\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(true);\n }\n\n /** Simulates a click on the switch. */\n click() {\n this.input.click();\n }\n\n /** Sets focus on the switch. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the switch. */\n blur() {\n this.input.blur();\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\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 render() {\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n\n return html`\n <div\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-help-text': hasHelpText\n })}\n >\n <label\n part=\"base\"\n class=${classMap({\n switch: true,\n 'switch--checked': this.checked,\n 'switch--disabled': this.disabled,\n 'switch--focused': this.hasFocus,\n 'switch--small': this.size === 'small',\n 'switch--medium': this.size === 'medium',\n 'switch--large': this.size === 'large'\n })}\n >\n <input\n class=\"switch__input\"\n type=\"checkbox\"\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${this.name}\n value=${ifDefined(this.value)}\n .checked=${live(this.checked)}\n .disabled=${this.disabled}\n .required=${this.required}\n role=\"switch\"\n aria-checked=${this.checked ? 'true' : 'false'}\n aria-describedby=\"help-text\"\n @click=${this.handleClick}\n @input=${this.handleInput}\n @invalid=${this.handleInvalid}\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n @keydown=${this.handleKeyDown}\n />\n\n <span part=\"control\" class=\"switch__control\">\n <span part=\"thumb\" class=\"switch__thumb\"></span>\n </span>\n\n <div part=\"label\" class=\"switch__label\">\n <slot></slot>\n </div>\n </label>\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 </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-switch': SynSwitch;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AAoCvC,IAAqB,YAArB,cAAuC,eAA6C;AAAA,EAApF;AAAA;AAGE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,OAAO,CAAC,YAAwB,QAAQ,UAAU,QAAQ,SAAS,OAAO;AAAA,MAC1E,cAAc,CAAC,YAAuB,QAAQ;AAAA,MAC9C,UAAU,CAA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AAGN;AAAA,EAArC,SAAS,EAAE,WAAW,YAAY,CAAC;AAAA,GA5CjB,UA4CmB;AAyDtC;AAAA,EADC,MAAM,WAAW,EAAE,sBAAsB,KAAK,CAAC;AAAA,GApG7B,UAqGnB;AAMA;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA1G9B,UA2GnB;",
6
+ "names": []
7
+ }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.MJ7R4QQT.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.EMGPXY5T.js";
6
+ } from "./chunk.O2E77ZO7.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.MKQXTHWU.js";
15
+ } from "./chunk.JHSYQUJH.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.7EYHNKMM.js.map
96
+ //# sourceMappingURL=chunk.ZXWHFKUE.js.map
@@ -1,13 +1,10 @@
1
1
  import {
2
2
  SynAccordion
3
- } from "../../chunks/chunk.SXFIFBVM.js";
4
- import "../../chunks/chunk.WNUZ6LH4.js";
3
+ } from "../../chunks/chunk.LGJ6I7QC.js";
5
4
  import "../../chunks/chunk.74IOULXM.js";
6
- import "../../chunks/chunk.OLCT57R5.js";
7
- import "../../chunks/chunk.JSEL4YPW.js";
8
- import "../../chunks/chunk.UPDPVGHT.js";
5
+ import "../../chunks/chunk.WNUZ6LH4.js";
9
6
  import "../../chunks/chunk.NLYVOJGK.js";
10
- import "../../chunks/chunk.MKQXTHWU.js";
7
+ import "../../chunks/chunk.JHSYQUJH.js";
11
8
  import "../../chunks/chunk.2GFK6XTO.js";
12
9
  export {
13
10
  SynAccordion as default
@@ -1,14 +1,11 @@
1
1
  import {
2
2
  accordion_default
3
- } from "../../chunks/chunk.JNAG6IBY.js";
4
- import "../../chunks/chunk.SXFIFBVM.js";
5
- import "../../chunks/chunk.WNUZ6LH4.js";
3
+ } from "../../chunks/chunk.MPPVRHYV.js";
4
+ import "../../chunks/chunk.LGJ6I7QC.js";
6
5
  import "../../chunks/chunk.74IOULXM.js";
7
- import "../../chunks/chunk.OLCT57R5.js";
8
- import "../../chunks/chunk.JSEL4YPW.js";
9
- import "../../chunks/chunk.UPDPVGHT.js";
6
+ import "../../chunks/chunk.WNUZ6LH4.js";
10
7
  import "../../chunks/chunk.NLYVOJGK.js";
11
- import "../../chunks/chunk.MKQXTHWU.js";
8
+ import "../../chunks/chunk.JHSYQUJH.js";
12
9
  import "../../chunks/chunk.2GFK6XTO.js";
13
10
  export {
14
11
  accordion_default as default
@@ -42,6 +42,8 @@ export default class SynAlert extends SynergyElement {
42
42
  private countdownAnimation?;
43
43
  private readonly hasSlotController;
44
44
  private readonly localize;
45
+ private static currentToastStack;
46
+ private static get toastStack();
45
47
  base: HTMLElement;
46
48
  countdownElement: HTMLElement;
47
49
  /**
@@ -1,30 +1,27 @@
1
1
  import {
2
2
  SynAlert
3
- } from "../../chunks/chunk.JBLFNOCX.js";
4
- import "../../chunks/chunk.EMU2E2VE.js";
3
+ } from "../../chunks/chunk.2IVNHVMH.js";
4
+ import "../../chunks/chunk.RTK2527V.js";
5
5
  import "../../chunks/chunk.6QYKWCSO.js";
6
6
  import "../../chunks/chunk.DZ7YIR5N.js";
7
7
  import "../../chunks/chunk.C2ENQBPM.js";
8
8
  import "../../chunks/chunk.A3OYJILJ.js";
9
9
  import "../../chunks/chunk.HQ6QUSK7.js";
10
- import "../../chunks/chunk.SWUXKALS.js";
10
+ import "../../chunks/chunk.WVVQK5TE.js";
11
+ import "../../chunks/chunk.JRYXECAY.js";
12
+ import "../../chunks/chunk.IFXKIEOU.js";
13
+ import "../../chunks/chunk.YNJ5L3DR.js";
11
14
  import "../../chunks/chunk.HA5UYBEI.js";
12
15
  import "../../chunks/chunk.YTEJW7IF.js";
13
16
  import "../../chunks/chunk.LUXDS4EY.js";
14
17
  import "../../chunks/chunk.PJO6TM3T.js";
15
18
  import "../../chunks/chunk.ZBW4ZSZ7.js";
16
- import "../../chunks/chunk.WVVQK5TE.js";
17
- import "../../chunks/chunk.GIU3H3J3.js";
18
- import "../../chunks/chunk.S5N2TE2L.js";
19
19
  import "../../chunks/chunk.234ERFCE.js";
20
20
  import "../../chunks/chunk.74IOULXM.js";
21
- import "../../chunks/chunk.OLCT57R5.js";
22
- import "../../chunks/chunk.JSEL4YPW.js";
23
- import "../../chunks/chunk.UPDPVGHT.js";
21
+ import "../../chunks/chunk.GIU3H3J3.js";
22
+ import "../../chunks/chunk.S5N2TE2L.js";
24
23
  import "../../chunks/chunk.NLYVOJGK.js";
25
- import "../../chunks/chunk.MKQXTHWU.js";
26
- import "../../chunks/chunk.JRYXECAY.js";
27
- import "../../chunks/chunk.IFXKIEOU.js";
24
+ import "../../chunks/chunk.JHSYQUJH.js";
28
25
  import "../../chunks/chunk.2GFK6XTO.js";
29
26
  export {
30
27
  SynAlert as default
@@ -1,31 +1,28 @@
1
1
  import {
2
2
  alert_default
3
- } from "../../chunks/chunk.AQS4YK7Q.js";
4
- import "../../chunks/chunk.JBLFNOCX.js";
5
- import "../../chunks/chunk.EMU2E2VE.js";
3
+ } from "../../chunks/chunk.NHQHD65V.js";
4
+ import "../../chunks/chunk.2IVNHVMH.js";
5
+ import "../../chunks/chunk.RTK2527V.js";
6
6
  import "../../chunks/chunk.6QYKWCSO.js";
7
7
  import "../../chunks/chunk.DZ7YIR5N.js";
8
8
  import "../../chunks/chunk.C2ENQBPM.js";
9
9
  import "../../chunks/chunk.A3OYJILJ.js";
10
10
  import "../../chunks/chunk.HQ6QUSK7.js";
11
- import "../../chunks/chunk.SWUXKALS.js";
11
+ import "../../chunks/chunk.WVVQK5TE.js";
12
+ import "../../chunks/chunk.JRYXECAY.js";
13
+ import "../../chunks/chunk.IFXKIEOU.js";
14
+ import "../../chunks/chunk.YNJ5L3DR.js";
12
15
  import "../../chunks/chunk.HA5UYBEI.js";
13
16
  import "../../chunks/chunk.YTEJW7IF.js";
14
17
  import "../../chunks/chunk.LUXDS4EY.js";
15
18
  import "../../chunks/chunk.PJO6TM3T.js";
16
19
  import "../../chunks/chunk.ZBW4ZSZ7.js";
17
- import "../../chunks/chunk.WVVQK5TE.js";
18
- import "../../chunks/chunk.GIU3H3J3.js";
19
- import "../../chunks/chunk.S5N2TE2L.js";
20
20
  import "../../chunks/chunk.234ERFCE.js";
21
21
  import "../../chunks/chunk.74IOULXM.js";
22
- import "../../chunks/chunk.OLCT57R5.js";
23
- import "../../chunks/chunk.JSEL4YPW.js";
24
- import "../../chunks/chunk.UPDPVGHT.js";
22
+ import "../../chunks/chunk.GIU3H3J3.js";
23
+ import "../../chunks/chunk.S5N2TE2L.js";
25
24
  import "../../chunks/chunk.NLYVOJGK.js";
26
- import "../../chunks/chunk.MKQXTHWU.js";
27
- import "../../chunks/chunk.JRYXECAY.js";
28
- import "../../chunks/chunk.IFXKIEOU.js";
25
+ import "../../chunks/chunk.JHSYQUJH.js";
29
26
  import "../../chunks/chunk.2GFK6XTO.js";
30
27
  export {
31
28
  alert_default as default
@@ -1,15 +1,12 @@
1
1
  import {
2
2
  SynBadge
3
- } from "../../chunks/chunk.O7JPMKUW.js";
4
- import "../../chunks/chunk.J6CGTLVH.js";
5
- import "../../chunks/chunk.Y5TMYX2L.js";
3
+ } from "../../chunks/chunk.VNVGDBIY.js";
6
4
  import "../../chunks/chunk.GIU3H3J3.js";
7
5
  import "../../chunks/chunk.S5N2TE2L.js";
8
- import "../../chunks/chunk.OLCT57R5.js";
9
- import "../../chunks/chunk.JSEL4YPW.js";
10
- import "../../chunks/chunk.UPDPVGHT.js";
11
6
  import "../../chunks/chunk.NLYVOJGK.js";
12
- import "../../chunks/chunk.MKQXTHWU.js";
7
+ import "../../chunks/chunk.JHSYQUJH.js";
8
+ import "../../chunks/chunk.J6CGTLVH.js";
9
+ import "../../chunks/chunk.Y5TMYX2L.js";
13
10
  import "../../chunks/chunk.2GFK6XTO.js";
14
11
  export {
15
12
  SynBadge as default
@@ -1,16 +1,13 @@
1
1
  import {
2
2
  badge_default
3
- } from "../../chunks/chunk.Y4EGILWE.js";
4
- import "../../chunks/chunk.O7JPMKUW.js";
5
- import "../../chunks/chunk.J6CGTLVH.js";
6
- import "../../chunks/chunk.Y5TMYX2L.js";
3
+ } from "../../chunks/chunk.MN76TCGZ.js";
4
+ import "../../chunks/chunk.VNVGDBIY.js";
7
5
  import "../../chunks/chunk.GIU3H3J3.js";
8
6
  import "../../chunks/chunk.S5N2TE2L.js";
9
- import "../../chunks/chunk.OLCT57R5.js";
10
- import "../../chunks/chunk.JSEL4YPW.js";
11
- import "../../chunks/chunk.UPDPVGHT.js";
12
7
  import "../../chunks/chunk.NLYVOJGK.js";
13
- import "../../chunks/chunk.MKQXTHWU.js";
8
+ import "../../chunks/chunk.JHSYQUJH.js";
9
+ import "../../chunks/chunk.J6CGTLVH.js";
10
+ import "../../chunks/chunk.Y5TMYX2L.js";
14
11
  import "../../chunks/chunk.2GFK6XTO.js";
15
12
  export {
16
13
  badge_default as default