@synergy-design-system/components 2.25.0 → 2.26.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 (295) hide show
  1. package/dist/chunks/{chunk.BMDQGKK2.js → chunk.24DVA7ER.js} +3 -3
  2. package/dist/chunks/{chunk.AKSE226E.js → chunk.2L35H44B.js} +3 -3
  3. package/dist/chunks/{chunk.KQZU6ETK.js → chunk.2MAVMLZA.js} +2 -2
  4. package/dist/chunks/{chunk.AYQ6EJDV.js → chunk.33ZUFWCT.js} +3 -3
  5. package/dist/chunks/{chunk.HIHKCKQA.js → chunk.3FAWUMXX.js} +2 -2
  6. package/dist/chunks/{chunk.LJJJR2OT.js → chunk.3UJX6GHF.js} +4 -4
  7. package/dist/chunks/{chunk.3YAJU2SE.js → chunk.45JLH2JJ.js} +2 -2
  8. package/dist/chunks/{chunk.YXZTK7LO.js → chunk.4B6OSZM7.js} +2 -2
  9. package/dist/chunks/{chunk.5LXB6Y47.js → chunk.4BRHW6CU.js} +3 -3
  10. package/dist/chunks/{chunk.3EFEPYTU.js → chunk.4C7KC7WO.js} +2 -2
  11. package/dist/chunks/{chunk.BQ3C3MZB.js → chunk.4KREFSFG.js} +2 -2
  12. package/dist/chunks/{chunk.WAENG3NP.js → chunk.54AUFLT4.js} +2 -2
  13. package/dist/chunks/{chunk.IM6JGMR5.js → chunk.5BFBNIZU.js} +3 -3
  14. package/dist/chunks/{chunk.WHCE2XYG.js → chunk.5GTEOG7W.js} +2 -2
  15. package/dist/chunks/{chunk.A7AU6MRB.js → chunk.5RKT53KX.js} +4 -4
  16. package/dist/chunks/{chunk.7OG22ZX5.js → chunk.5WWTEG4U.js} +16 -5
  17. package/dist/chunks/chunk.5WWTEG4U.js.map +7 -0
  18. package/dist/chunks/{chunk.SVYB4VXI.js → chunk.63VN66XO.js} +2 -2
  19. package/dist/chunks/{chunk.3K4HNRRZ.js → chunk.6Y3A6TVH.js} +3 -3
  20. package/dist/chunks/{chunk.UJU2DT7P.js → chunk.7MN7ZHWV.js} +2 -2
  21. package/dist/chunks/{chunk.R54JIC6R.js → chunk.7YFL4S2R.js} +3 -3
  22. package/dist/chunks/{chunk.ZBONKZAM.js → chunk.7YM4Z5DZ.js} +2 -2
  23. package/dist/chunks/{chunk.5NJEJNO6.js → chunk.A2X3TLOJ.js} +3 -3
  24. package/dist/chunks/{chunk.MZ73SCYY.js → chunk.A5YUMENA.js} +2 -2
  25. package/dist/chunks/{chunk.74TGMSKS.js → chunk.AA6JA7AI.js} +2 -2
  26. package/dist/chunks/{chunk.WAKRUBQ4.js → chunk.AC6O2276.js} +2 -2
  27. package/dist/chunks/{chunk.AKHDT3IZ.js → chunk.ADSWJFMJ.js} +2 -2
  28. package/dist/chunks/{chunk.ZI4QZWLJ.js → chunk.AL6GRCPR.js} +3 -3
  29. package/dist/chunks/{chunk.IKPOLMSY.js → chunk.B2KJIFZI.js} +2 -2
  30. package/dist/chunks/{chunk.TTO4QUYH.js → chunk.BFYX5JBQ.js} +2 -2
  31. package/dist/chunks/{chunk.CLZP3G5B.js → chunk.BHQ3CFBE.js} +2 -2
  32. package/dist/chunks/{chunk.CLZP3G5B.js.map → chunk.BHQ3CFBE.js.map} +1 -1
  33. package/dist/chunks/{chunk.3BCYOCV7.js → chunk.BX3PAORM.js} +3 -3
  34. package/dist/chunks/{chunk.HYAEJWNQ.js → chunk.BZU2ZUXB.js} +2 -2
  35. package/dist/chunks/{chunk.DOQEAQIZ.js → chunk.CE2OPZJB.js} +2 -2
  36. package/dist/chunks/{chunk.55VRLMV2.js → chunk.CSOAMITR.js} +2 -2
  37. package/dist/chunks/{chunk.Z6CRI4XE.js → chunk.CXCPJC6Q.js} +2 -2
  38. package/dist/chunks/{chunk.2ZZOFT6Q.js → chunk.DEPCI6OY.js} +2 -2
  39. package/dist/chunks/{chunk.2ADPSLAO.js → chunk.DGRP5F2D.js} +2 -2
  40. package/dist/chunks/{chunk.SNJ7Q6WB.js → chunk.E2WDDT6V.js} +2 -2
  41. package/dist/chunks/{chunk.C2JCEAXZ.js → chunk.F4JB7NV4.js} +2 -2
  42. package/dist/chunks/{chunk.Q37C5HF6.js → chunk.F5FM5LJN.js} +2 -2
  43. package/dist/chunks/{chunk.GJJ5SN2J.js → chunk.FG7VPADU.js} +2 -2
  44. package/dist/chunks/{chunk.R5VQCRCN.js → chunk.FTPY2FG4.js} +2 -2
  45. package/dist/chunks/{chunk.YHWF45W3.js → chunk.FWYYBCYT.js} +2 -2
  46. package/dist/chunks/{chunk.OP2AVWD2.js → chunk.G2CFGNJS.js} +2 -2
  47. package/dist/chunks/{chunk.NPN7O7LI.js → chunk.GAK7WLHP.js} +2 -2
  48. package/dist/chunks/{chunk.JDRUW77V.js → chunk.GFM4HFZB.js} +4 -4
  49. package/dist/chunks/{chunk.57KLSCF6.js → chunk.GN2BDFRD.js} +2 -2
  50. package/dist/chunks/{chunk.OXP2R6AZ.js → chunk.H4CJGUSN.js} +2 -2
  51. package/dist/chunks/{chunk.BVYUV2P6.js → chunk.I45TC47W.js} +4 -4
  52. package/dist/chunks/{chunk.LCZ2BVTG.js → chunk.IBLR36VM.js} +2 -2
  53. package/dist/chunks/{chunk.IWPIHIP4.js → chunk.ILDZ7QVV.js} +2 -2
  54. package/dist/chunks/{chunk.SX3KWX36.js → chunk.IWJG5IRD.js} +3 -3
  55. package/dist/chunks/{chunk.YA5XNUUC.js → chunk.JQ5SNHTM.js} +3 -3
  56. package/dist/chunks/{chunk.U23ZES5U.js → chunk.JQ6ZF473.js} +2 -2
  57. package/dist/chunks/{chunk.LR6G4C4D.js → chunk.JVASENKU.js} +2 -2
  58. package/dist/chunks/{chunk.VI4X2ENA.js → chunk.KBTACMFW.js} +2 -2
  59. package/dist/chunks/{chunk.IEGDFLBB.js → chunk.KIKTNBQT.js} +2 -2
  60. package/dist/chunks/{chunk.LCSZPBW3.js → chunk.KW23D2EZ.js} +3 -3
  61. package/dist/chunks/{chunk.VYQHVJZZ.js → chunk.LLK3XF4Y.js} +17 -6
  62. package/dist/chunks/chunk.LLK3XF4Y.js.map +7 -0
  63. package/dist/chunks/{chunk.VQO2PMIS.js → chunk.M2L5SZRH.js} +3 -3
  64. package/dist/chunks/{chunk.RRR37HH3.js → chunk.MCOYKGU6.js} +12 -3
  65. package/dist/chunks/chunk.MCOYKGU6.js.map +7 -0
  66. package/dist/chunks/{chunk.UBCQ2MKE.js → chunk.MOX4ULPF.js} +2 -2
  67. package/dist/chunks/{chunk.KDTMAAZF.js → chunk.MUO4IQRC.js} +2 -2
  68. package/dist/chunks/{chunk.ZTQS4H7G.js → chunk.N7ICTIY4.js} +2 -2
  69. package/dist/chunks/{chunk.WX3BESHJ.js → chunk.NAC6EUW4.js} +2 -2
  70. package/dist/chunks/{chunk.VW7BJBEF.js → chunk.NJ66IUS4.js} +2 -2
  71. package/dist/chunks/{chunk.U6BTVZIF.js → chunk.OJUMZLQY.js} +4 -4
  72. package/dist/chunks/{chunk.22PMOTCV.js → chunk.OSXAMRZ5.js} +2 -2
  73. package/dist/chunks/{chunk.UER5EOES.js → chunk.PATQFYMI.js} +3 -3
  74. package/dist/chunks/{chunk.FYPE35ZK.js → chunk.POWANAOG.js} +2 -2
  75. package/dist/chunks/{chunk.7DBJ5Y6J.js → chunk.PW65DAD6.js} +4 -4
  76. package/dist/chunks/{chunk.V3MMDJXD.js → chunk.PXNTBTBF.js} +2 -2
  77. package/dist/chunks/{chunk.6VJTNOMI.js → chunk.QB46MWZN.js} +2 -2
  78. package/dist/chunks/{chunk.H7HINYWD.js → chunk.QWVKUGLD.js} +3 -3
  79. package/dist/chunks/{chunk.7RNOPTQJ.js → chunk.R35OVGIP.js} +3 -3
  80. package/dist/chunks/{chunk.DZQASTAF.js → chunk.R57GDDLN.js} +2 -2
  81. package/dist/chunks/{chunk.NJ7ERS33.js → chunk.RDX4HT5A.js} +2 -2
  82. package/dist/chunks/{chunk.6JHRGWEZ.js → chunk.RS2BQRFA.js} +2 -2
  83. package/dist/chunks/{chunk.4QG7WTUY.js → chunk.S6EDTNOJ.js} +2 -2
  84. package/dist/chunks/{chunk.UMEWII3T.js → chunk.SX5D36WC.js} +2 -2
  85. package/dist/chunks/{chunk.XNNIG6FE.js → chunk.T65MXKCV.js} +2 -2
  86. package/dist/chunks/{chunk.ZVOFLGKJ.js → chunk.TGCNK3YN.js} +2 -2
  87. package/dist/chunks/{chunk.NQ4HXGLX.js → chunk.THNGOV7Q.js} +2 -2
  88. package/dist/chunks/{chunk.EWQPBJJV.js → chunk.TQ3NUIO3.js} +2 -2
  89. package/dist/chunks/{chunk.2QOYLNDX.js → chunk.UIWD3IUJ.js} +2 -2
  90. package/dist/chunks/{chunk.Y3VBLHIW.js → chunk.UMEU22Y2.js} +2 -2
  91. package/dist/chunks/{chunk.EC4GJZB7.js → chunk.UTQUJC26.js} +2 -2
  92. package/dist/chunks/{chunk.HBHFUOU6.js → chunk.VDD6QJPR.js} +2 -2
  93. package/dist/chunks/{chunk.37ELXFAT.js → chunk.WNQ3CJAE.js} +2 -2
  94. package/dist/chunks/{chunk.QRBCYUAX.js → chunk.XE7APWF7.js} +2 -2
  95. package/dist/chunks/{chunk.HWUQLIL2.js → chunk.XOMKE5PR.js} +2 -2
  96. package/dist/chunks/{chunk.ECTORLGX.js → chunk.XWLSLIKV.js} +5 -5
  97. package/dist/chunks/{chunk.F7ZQ66HP.js → chunk.Y7VVMUQB.js} +2 -2
  98. package/dist/chunks/{chunk.IU4OJMXO.js → chunk.ZOCS7QXM.js} +6 -6
  99. package/dist/chunks/{chunk.H5ZNTTEU.js → chunk.ZT2BACAV.js} +3 -3
  100. package/dist/components/accordion/accordion.component.js +2 -2
  101. package/dist/components/accordion/accordion.js +3 -3
  102. package/dist/components/alert/alert.component.js +4 -4
  103. package/dist/components/alert/alert.js +5 -5
  104. package/dist/components/badge/badge.component.js +2 -2
  105. package/dist/components/badge/badge.js +3 -3
  106. package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
  107. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  108. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  109. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  110. package/dist/components/button/button.component.js +4 -4
  111. package/dist/components/button/button.js +5 -5
  112. package/dist/components/button-group/button-group.component.js +2 -2
  113. package/dist/components/button-group/button-group.js +3 -3
  114. package/dist/components/card/card.component.js +2 -2
  115. package/dist/components/card/card.js +3 -3
  116. package/dist/components/checkbox/checkbox.component.js +3 -3
  117. package/dist/components/checkbox/checkbox.js +4 -4
  118. package/dist/components/combobox/combobox.component.d.ts +3 -1
  119. package/dist/components/combobox/combobox.component.js +5 -5
  120. package/dist/components/combobox/combobox.js +6 -6
  121. package/dist/components/details/details.component.js +3 -3
  122. package/dist/components/details/details.js +4 -4
  123. package/dist/components/dialog/dialog.component.js +4 -4
  124. package/dist/components/dialog/dialog.js +5 -5
  125. package/dist/components/divider/divider.component.js +2 -2
  126. package/dist/components/divider/divider.js +3 -3
  127. package/dist/components/drawer/drawer.component.js +4 -4
  128. package/dist/components/drawer/drawer.js +5 -5
  129. package/dist/components/dropdown/dropdown.component.js +3 -3
  130. package/dist/components/dropdown/dropdown.js +4 -4
  131. package/dist/components/file/file.component.js +5 -5
  132. package/dist/components/file/file.js +6 -6
  133. package/dist/components/header/header.component.js +4 -4
  134. package/dist/components/header/header.js +5 -5
  135. package/dist/components/icon/icon.component.js +2 -2
  136. package/dist/components/icon/icon.js +3 -3
  137. package/dist/components/icon-button/icon-button.component.js +3 -3
  138. package/dist/components/icon-button/icon-button.js +4 -4
  139. package/dist/components/input/input.component.js +4 -4
  140. package/dist/components/input/input.js +5 -5
  141. package/dist/components/menu/menu.component.js +2 -2
  142. package/dist/components/menu/menu.js +3 -3
  143. package/dist/components/menu-item/menu-item.component.js +5 -5
  144. package/dist/components/menu-item/menu-item.js +6 -6
  145. package/dist/components/menu-label/menu-label.component.js +3 -3
  146. package/dist/components/menu-label/menu-label.js +4 -4
  147. package/dist/components/nav-item/nav-item.component.d.ts +13 -0
  148. package/dist/components/nav-item/nav-item.component.js +3 -3
  149. package/dist/components/nav-item/nav-item.js +4 -4
  150. package/dist/components/optgroup/optgroup.component.js +3 -3
  151. package/dist/components/optgroup/optgroup.js +4 -4
  152. package/dist/components/option/option.component.js +3 -3
  153. package/dist/components/option/option.js +4 -4
  154. package/dist/components/popup/popup.component.js +2 -2
  155. package/dist/components/popup/popup.js +3 -3
  156. package/dist/components/prio-nav/prio-nav.component.js +8 -8
  157. package/dist/components/prio-nav/prio-nav.js +9 -9
  158. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  159. package/dist/components/progress-bar/progress-bar.js +3 -3
  160. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  161. package/dist/components/progress-ring/progress-ring.js +3 -3
  162. package/dist/components/radio/radio.component.js +3 -3
  163. package/dist/components/radio/radio.js +4 -4
  164. package/dist/components/radio-button/radio-button.component.js +2 -2
  165. package/dist/components/radio-button/radio-button.js +3 -3
  166. package/dist/components/radio-group/radio-group.component.js +3 -3
  167. package/dist/components/radio-group/radio-group.js +4 -4
  168. package/dist/components/range/range.component.js +4 -4
  169. package/dist/components/range/range.js +5 -5
  170. package/dist/components/range-tick/range-tick.component.js +2 -2
  171. package/dist/components/range-tick/range-tick.js +3 -3
  172. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  173. package/dist/components/select/select.component.d.ts +4 -1
  174. package/dist/components/select/select.component.js +6 -6
  175. package/dist/components/select/select.js +7 -7
  176. package/dist/components/side-nav/side-nav.component.js +6 -6
  177. package/dist/components/side-nav/side-nav.js +7 -7
  178. package/dist/components/spinner/spinner.component.js +2 -2
  179. package/dist/components/spinner/spinner.js +3 -3
  180. package/dist/components/switch/switch.component.js +2 -2
  181. package/dist/components/switch/switch.js +3 -3
  182. package/dist/components/tab/tab.component.js +4 -4
  183. package/dist/components/tab/tab.js +5 -5
  184. package/dist/components/tab-group/tab-group.component.js +5 -5
  185. package/dist/components/tab-group/tab-group.js +6 -6
  186. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  187. package/dist/components/tab-panel/tab-panel.js +3 -3
  188. package/dist/components/tag/tag.component.js +4 -4
  189. package/dist/components/tag/tag.js +5 -5
  190. package/dist/components/textarea/textarea.component.js +2 -2
  191. package/dist/components/textarea/textarea.js +3 -3
  192. package/dist/components/tooltip/tooltip.component.js +3 -3
  193. package/dist/components/tooltip/tooltip.js +4 -4
  194. package/dist/components/validate/utility.js +2 -2
  195. package/dist/components/validate/validate.component.js +6 -6
  196. package/dist/components/validate/validate.js +7 -7
  197. package/dist/custom-elements.json +131 -77
  198. package/dist/styles/index.css +1 -1
  199. package/dist/synergy.js +95 -95
  200. package/dist/vscode.html-custom-data.json +38 -23
  201. package/package.json +3 -3
  202. package/dist/chunks/chunk.7OG22ZX5.js.map +0 -7
  203. package/dist/chunks/chunk.RRR37HH3.js.map +0 -7
  204. package/dist/chunks/chunk.VYQHVJZZ.js.map +0 -7
  205. /package/dist/chunks/{chunk.BMDQGKK2.js.map → chunk.24DVA7ER.js.map} +0 -0
  206. /package/dist/chunks/{chunk.AKSE226E.js.map → chunk.2L35H44B.js.map} +0 -0
  207. /package/dist/chunks/{chunk.KQZU6ETK.js.map → chunk.2MAVMLZA.js.map} +0 -0
  208. /package/dist/chunks/{chunk.AYQ6EJDV.js.map → chunk.33ZUFWCT.js.map} +0 -0
  209. /package/dist/chunks/{chunk.HIHKCKQA.js.map → chunk.3FAWUMXX.js.map} +0 -0
  210. /package/dist/chunks/{chunk.LJJJR2OT.js.map → chunk.3UJX6GHF.js.map} +0 -0
  211. /package/dist/chunks/{chunk.3YAJU2SE.js.map → chunk.45JLH2JJ.js.map} +0 -0
  212. /package/dist/chunks/{chunk.YXZTK7LO.js.map → chunk.4B6OSZM7.js.map} +0 -0
  213. /package/dist/chunks/{chunk.5LXB6Y47.js.map → chunk.4BRHW6CU.js.map} +0 -0
  214. /package/dist/chunks/{chunk.3EFEPYTU.js.map → chunk.4C7KC7WO.js.map} +0 -0
  215. /package/dist/chunks/{chunk.BQ3C3MZB.js.map → chunk.4KREFSFG.js.map} +0 -0
  216. /package/dist/chunks/{chunk.WAENG3NP.js.map → chunk.54AUFLT4.js.map} +0 -0
  217. /package/dist/chunks/{chunk.IM6JGMR5.js.map → chunk.5BFBNIZU.js.map} +0 -0
  218. /package/dist/chunks/{chunk.WHCE2XYG.js.map → chunk.5GTEOG7W.js.map} +0 -0
  219. /package/dist/chunks/{chunk.A7AU6MRB.js.map → chunk.5RKT53KX.js.map} +0 -0
  220. /package/dist/chunks/{chunk.SVYB4VXI.js.map → chunk.63VN66XO.js.map} +0 -0
  221. /package/dist/chunks/{chunk.3K4HNRRZ.js.map → chunk.6Y3A6TVH.js.map} +0 -0
  222. /package/dist/chunks/{chunk.UJU2DT7P.js.map → chunk.7MN7ZHWV.js.map} +0 -0
  223. /package/dist/chunks/{chunk.R54JIC6R.js.map → chunk.7YFL4S2R.js.map} +0 -0
  224. /package/dist/chunks/{chunk.ZBONKZAM.js.map → chunk.7YM4Z5DZ.js.map} +0 -0
  225. /package/dist/chunks/{chunk.5NJEJNO6.js.map → chunk.A2X3TLOJ.js.map} +0 -0
  226. /package/dist/chunks/{chunk.MZ73SCYY.js.map → chunk.A5YUMENA.js.map} +0 -0
  227. /package/dist/chunks/{chunk.74TGMSKS.js.map → chunk.AA6JA7AI.js.map} +0 -0
  228. /package/dist/chunks/{chunk.WAKRUBQ4.js.map → chunk.AC6O2276.js.map} +0 -0
  229. /package/dist/chunks/{chunk.AKHDT3IZ.js.map → chunk.ADSWJFMJ.js.map} +0 -0
  230. /package/dist/chunks/{chunk.ZI4QZWLJ.js.map → chunk.AL6GRCPR.js.map} +0 -0
  231. /package/dist/chunks/{chunk.IKPOLMSY.js.map → chunk.B2KJIFZI.js.map} +0 -0
  232. /package/dist/chunks/{chunk.TTO4QUYH.js.map → chunk.BFYX5JBQ.js.map} +0 -0
  233. /package/dist/chunks/{chunk.3BCYOCV7.js.map → chunk.BX3PAORM.js.map} +0 -0
  234. /package/dist/chunks/{chunk.HYAEJWNQ.js.map → chunk.BZU2ZUXB.js.map} +0 -0
  235. /package/dist/chunks/{chunk.DOQEAQIZ.js.map → chunk.CE2OPZJB.js.map} +0 -0
  236. /package/dist/chunks/{chunk.55VRLMV2.js.map → chunk.CSOAMITR.js.map} +0 -0
  237. /package/dist/chunks/{chunk.Z6CRI4XE.js.map → chunk.CXCPJC6Q.js.map} +0 -0
  238. /package/dist/chunks/{chunk.2ZZOFT6Q.js.map → chunk.DEPCI6OY.js.map} +0 -0
  239. /package/dist/chunks/{chunk.2ADPSLAO.js.map → chunk.DGRP5F2D.js.map} +0 -0
  240. /package/dist/chunks/{chunk.SNJ7Q6WB.js.map → chunk.E2WDDT6V.js.map} +0 -0
  241. /package/dist/chunks/{chunk.C2JCEAXZ.js.map → chunk.F4JB7NV4.js.map} +0 -0
  242. /package/dist/chunks/{chunk.Q37C5HF6.js.map → chunk.F5FM5LJN.js.map} +0 -0
  243. /package/dist/chunks/{chunk.GJJ5SN2J.js.map → chunk.FG7VPADU.js.map} +0 -0
  244. /package/dist/chunks/{chunk.R5VQCRCN.js.map → chunk.FTPY2FG4.js.map} +0 -0
  245. /package/dist/chunks/{chunk.YHWF45W3.js.map → chunk.FWYYBCYT.js.map} +0 -0
  246. /package/dist/chunks/{chunk.OP2AVWD2.js.map → chunk.G2CFGNJS.js.map} +0 -0
  247. /package/dist/chunks/{chunk.NPN7O7LI.js.map → chunk.GAK7WLHP.js.map} +0 -0
  248. /package/dist/chunks/{chunk.JDRUW77V.js.map → chunk.GFM4HFZB.js.map} +0 -0
  249. /package/dist/chunks/{chunk.57KLSCF6.js.map → chunk.GN2BDFRD.js.map} +0 -0
  250. /package/dist/chunks/{chunk.OXP2R6AZ.js.map → chunk.H4CJGUSN.js.map} +0 -0
  251. /package/dist/chunks/{chunk.BVYUV2P6.js.map → chunk.I45TC47W.js.map} +0 -0
  252. /package/dist/chunks/{chunk.LCZ2BVTG.js.map → chunk.IBLR36VM.js.map} +0 -0
  253. /package/dist/chunks/{chunk.IWPIHIP4.js.map → chunk.ILDZ7QVV.js.map} +0 -0
  254. /package/dist/chunks/{chunk.SX3KWX36.js.map → chunk.IWJG5IRD.js.map} +0 -0
  255. /package/dist/chunks/{chunk.YA5XNUUC.js.map → chunk.JQ5SNHTM.js.map} +0 -0
  256. /package/dist/chunks/{chunk.U23ZES5U.js.map → chunk.JQ6ZF473.js.map} +0 -0
  257. /package/dist/chunks/{chunk.LR6G4C4D.js.map → chunk.JVASENKU.js.map} +0 -0
  258. /package/dist/chunks/{chunk.VI4X2ENA.js.map → chunk.KBTACMFW.js.map} +0 -0
  259. /package/dist/chunks/{chunk.IEGDFLBB.js.map → chunk.KIKTNBQT.js.map} +0 -0
  260. /package/dist/chunks/{chunk.LCSZPBW3.js.map → chunk.KW23D2EZ.js.map} +0 -0
  261. /package/dist/chunks/{chunk.VQO2PMIS.js.map → chunk.M2L5SZRH.js.map} +0 -0
  262. /package/dist/chunks/{chunk.UBCQ2MKE.js.map → chunk.MOX4ULPF.js.map} +0 -0
  263. /package/dist/chunks/{chunk.KDTMAAZF.js.map → chunk.MUO4IQRC.js.map} +0 -0
  264. /package/dist/chunks/{chunk.ZTQS4H7G.js.map → chunk.N7ICTIY4.js.map} +0 -0
  265. /package/dist/chunks/{chunk.WX3BESHJ.js.map → chunk.NAC6EUW4.js.map} +0 -0
  266. /package/dist/chunks/{chunk.VW7BJBEF.js.map → chunk.NJ66IUS4.js.map} +0 -0
  267. /package/dist/chunks/{chunk.U6BTVZIF.js.map → chunk.OJUMZLQY.js.map} +0 -0
  268. /package/dist/chunks/{chunk.22PMOTCV.js.map → chunk.OSXAMRZ5.js.map} +0 -0
  269. /package/dist/chunks/{chunk.UER5EOES.js.map → chunk.PATQFYMI.js.map} +0 -0
  270. /package/dist/chunks/{chunk.FYPE35ZK.js.map → chunk.POWANAOG.js.map} +0 -0
  271. /package/dist/chunks/{chunk.7DBJ5Y6J.js.map → chunk.PW65DAD6.js.map} +0 -0
  272. /package/dist/chunks/{chunk.V3MMDJXD.js.map → chunk.PXNTBTBF.js.map} +0 -0
  273. /package/dist/chunks/{chunk.6VJTNOMI.js.map → chunk.QB46MWZN.js.map} +0 -0
  274. /package/dist/chunks/{chunk.H7HINYWD.js.map → chunk.QWVKUGLD.js.map} +0 -0
  275. /package/dist/chunks/{chunk.7RNOPTQJ.js.map → chunk.R35OVGIP.js.map} +0 -0
  276. /package/dist/chunks/{chunk.DZQASTAF.js.map → chunk.R57GDDLN.js.map} +0 -0
  277. /package/dist/chunks/{chunk.NJ7ERS33.js.map → chunk.RDX4HT5A.js.map} +0 -0
  278. /package/dist/chunks/{chunk.6JHRGWEZ.js.map → chunk.RS2BQRFA.js.map} +0 -0
  279. /package/dist/chunks/{chunk.4QG7WTUY.js.map → chunk.S6EDTNOJ.js.map} +0 -0
  280. /package/dist/chunks/{chunk.UMEWII3T.js.map → chunk.SX5D36WC.js.map} +0 -0
  281. /package/dist/chunks/{chunk.XNNIG6FE.js.map → chunk.T65MXKCV.js.map} +0 -0
  282. /package/dist/chunks/{chunk.ZVOFLGKJ.js.map → chunk.TGCNK3YN.js.map} +0 -0
  283. /package/dist/chunks/{chunk.NQ4HXGLX.js.map → chunk.THNGOV7Q.js.map} +0 -0
  284. /package/dist/chunks/{chunk.EWQPBJJV.js.map → chunk.TQ3NUIO3.js.map} +0 -0
  285. /package/dist/chunks/{chunk.2QOYLNDX.js.map → chunk.UIWD3IUJ.js.map} +0 -0
  286. /package/dist/chunks/{chunk.Y3VBLHIW.js.map → chunk.UMEU22Y2.js.map} +0 -0
  287. /package/dist/chunks/{chunk.EC4GJZB7.js.map → chunk.UTQUJC26.js.map} +0 -0
  288. /package/dist/chunks/{chunk.HBHFUOU6.js.map → chunk.VDD6QJPR.js.map} +0 -0
  289. /package/dist/chunks/{chunk.37ELXFAT.js.map → chunk.WNQ3CJAE.js.map} +0 -0
  290. /package/dist/chunks/{chunk.QRBCYUAX.js.map → chunk.XE7APWF7.js.map} +0 -0
  291. /package/dist/chunks/{chunk.HWUQLIL2.js.map → chunk.XOMKE5PR.js.map} +0 -0
  292. /package/dist/chunks/{chunk.ECTORLGX.js.map → chunk.XWLSLIKV.js.map} +0 -0
  293. /package/dist/chunks/{chunk.F7ZQ66HP.js.map → chunk.Y7VVMUQB.js.map} +0 -0
  294. /package/dist/chunks/{chunk.IU4OJMXO.js.map → chunk.ZOCS7QXM.js.map} +0 -0
  295. /package/dist/chunks/{chunk.H5ZNTTEU.js.map → chunk.ZT2BACAV.js.map} +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/nav-item/nav-item.component.ts"],
4
- "sourcesContent": ["import { classMap } from 'lit/directives/class-map.js';\nimport type { CSSResultGroup, PropertyValues } from 'lit';\nimport { html, literal } from 'lit/static-html.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport SynDivider from '../divider/divider.component.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { watch } from '../../internal/watch.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './nav-item.styles.js';\n\n/**\n * @summary Flexible button / link component that can be used to quickly build navigations.\n * Takes one of 3 forms:\n * - button (default),\n * - link (overrides button if a 'href' is provided),\n * - or accordion (overrides all other if 'children' slot is defined).\n *\n * @status stable\n * @since 1.14.0\n *\n * @dependency syn-divider\n *\n * @event syn-show - Emitted when the navigation item:\n * - has children,\n * - and is clicked while HTML details are hidden.\n *\n * @event syn-hide - Emitted when the navigation item:\n * - has children,\n * - and is clicked while HTML details are shown.\n *\n * @event syn-blur - Emitted when the button loses focus.\n * @event syn-focus - Emitted when the button gains focus.\n *\n * @slot - The navigation item's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n * @slot children - Slot used to provide nested child navigation elements.\n * If provided, details and summary elements will be used.\n * A chevron will be shown on the right side regardless of the chevron property.\n *\n * @csspart base - The component's base wrapper including children.\n * @csspart children - The wrapper that holds the children\n * @csspart content-wrapper - The component's content wrapper.\n * @csspart content - The component's content excluding children.\n * @csspart current-indicator - The indicator used when current is set to true\n * @csspart chevron - The container that wraps the chevron.\n * @csspart details - The details element rendered when there are children available\n * @csspart divider - The components optional top divider.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n *\n * @cssproperty --indentation - Numeric value, indicating the level the item is placed at.\n * @cssproperty --indentation-stepping - The amount of pixels each level will indent.\n * @cssproperty --display-children - Display property of the children. Defaults to \"contents\"\n */\nexport default class SynNavItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'children', 'prefix', 'suffix');\n\n private resizeObserver: ResizeObserver;\n\n private mutationObserver: MutationObserver;\n\n /**\n * The current focus state\n */\n @state() private hasFocus = false;\n\n /**\n * Only the prefix should be displayed\n */\n @state() private showPrefixOnly = false;\n\n /**\n * A nested nav-item is marked as current\n */\n @state() private currentMarkedChild = false;\n\n /**\n * The content area is multiline\n */\n @state() private isMultiLine = false;\n\n /**\n * Reference to the children slot\n */\n @query('slot[name=\"children\"]') childrenSlot: HTMLSlotElement;\n\n /**\n * Reference to the outermost button\n */\n @query('.nav-item') control: HTMLButtonElement | HTMLLinkElement | HTMLElement;\n\n /**\n * The navigation item's href target.\n * If provided, the navigation item will use an anchor tag otherwise it will use a button tag.\n *\n * If the 'children' slot is provided, the navigation item will ignore the 'href' and use\n * accordion behavior.\n */\n @property({ reflect: true, type: String }) href: string;\n\n /*\n * Indicates that the navigation item is currently selected.\n * The aria-current attribute is set to \"page\" on the host if true.\n */\n @property({ reflect: true, type: Boolean }) current = false;\n\n /**\n * Disables the navigation item.\n */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /**\n * The navigation item's orientation.\n */\n @property({ reflect: true, type: Boolean }) horizontal = false;\n\n /**\n * Appends a chevron to the right side of a navigation item.\n * Only used if `horizontal` is false.\n */\n @property({ reflect: true, type: Boolean }) chevron = false;\n\n /**\n * Reflects HTML details element state and allows control from parent.\n * Only used if `horizontal` is false and `children` is defined.\n */\n @property({ reflect: true, type: Boolean }) open = false;\n\n /**\n * Toggle to true to show a divider above the element.\n * Only available when horizontal is false.\n */\n @property({ reflect: true, type: Boolean }) divider = false;\n\n private isButton(): boolean {\n return !this.href && !this.hasSlotController.test('children');\n }\n\n private isLink(): boolean {\n return !!this.href && !this.hasSlotController.test('children');\n }\n\n private isAccordion(): boolean {\n return this.hasSlotController.test('children');\n }\n\n // eslint-disable-next-line class-methods-use-this\n private getNavItemChildren(childrenSlot: HTMLSlotElement): SynNavItem[] {\n return Array.from(\n childrenSlot?.assignedElements({\n flatten: true,\n }) as HTMLElement[]\n || [],\n )\n .map(slottedElement => (slottedElement.tagName.toLowerCase() === 'syn-nav-item' ? slottedElement as SynNavItem : Array.from(slottedElement.querySelectorAll<SynNavItem>(':scope > syn-nav-item'))))\n .flat();\n }\n\n private getAllNestedNavItems(childrenSlot: HTMLSlotElement): SynNavItem[] {\n const allNavItems = this.getNavItemChildren(childrenSlot);\n\n const nestedNavItems = allNavItems\n .map(item => item.getAllNestedNavItems(item.childrenSlot))\n .flat();\n\n return allNavItems.concat(nestedNavItems);\n }\n\n private handleCurrentMarkedChild() {\n const sideNav = this.closest('syn-side-nav');\n\n if (!this.open || !!sideNav?.rail) {\n this.currentMarkedChild = this\n .getAllNestedNavItems(this.childrenSlot)\n .some(item => item.current);\n }\n }\n\n private handleClickButton(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n private handleClickSummary(e: MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n\n if (this.disabled) return;\n\n if (this.open) {\n this.hideDetails();\n } else {\n this.showDetails();\n }\n }\n\n private hideDetails() {\n this.open = false;\n this.emit('syn-hide', {\n cancelable: true,\n });\n }\n\n private showDetails() {\n this.open = true;\n this.emit('syn-show', {\n cancelable: true,\n });\n }\n\n /**\n * Automatically add the correct level of indentation for sub items if none is provided\n */\n private handleSlotChange() {\n const computedStyle = getComputedStyle(this);\n const lengthStyle = computedStyle.length;\n\n // This workaround is needed for firefox.\n // When the nav-item is used inside a custom-element with a custom-element in it\n // (e.g syn-side-nav with integrated syn-drawer), the getComputedStyle property is not yet there\n // Moving it in the next render cycle works.\n // Probably related to the firefox special behavior. See: https://caniuse.com/mdn-api_window_getcomputedstyle\n if (lengthStyle === 0) {\n setTimeout(() => {\n this.handleSlotChange();\n });\n return;\n }\n\n this.handleCurrentMarkedChild();\n\n // Use the current level of the component\n const level = computedStyle.getPropertyValue('--indentation');\n\n // We allow at most 3 levels\n const nextLevel = Math.min(parseInt(level, 10) + 1, 2);\n\n this.getNavItemChildren(this.childrenSlot)\n .forEach(item => {\n item.style.setProperty('--indentation', nextLevel.toFixed(0));\n });\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleWidth(entries: ResizeObserverEntry[]) {\n entries.forEach(entry => {\n if (entry.contentRect.width < 100) {\n const hasPrefix = this.hasSlotController.test('prefix');\n this.showPrefixOnly = hasPrefix;\n } else {\n this.showPrefixOnly = false;\n }\n\n if (entry.contentRect.height > 48) {\n this.isMultiLine = true;\n } else {\n this.isMultiLine = false;\n }\n });\n }\n\n // Make sure the resize observer is disconnected when the horizontal property is set to true\n // In this case we, never want it to use prefix only mode\n @watch('horizontal', { waitUntilFirstUpdate: true })\n handleHorizontalChange() {\n if (this.horizontal) {\n this.resizeObserver.disconnect();\n } else {\n this.resizeObserver.observe(this);\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver((entries) => this.handleWidth(entries));\n if (!this.horizontal) {\n this.resizeObserver.observe(this);\n }\n }\n\n firstUpdated(_changedProperties: PropertyValues) {\n super.firstUpdated(_changedProperties);\n this.mutationObserver = new MutationObserver(() => {\n if (this.childrenSlot) {\n this.handleCurrentMarkedChild();\n }\n });\n\n this.mutationObserver.observe(this, {\n attributeFilter: ['current', 'open'],\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.resizeObserver?.disconnect();\n this.mutationObserver?.disconnect();\n }\n\n /**\n * Removes focus from the button.\n */\n blur() {\n this.control.blur();\n }\n\n /**\n * Simulates a click on the nav-items button, link or summary.\n */\n click() {\n this.control.click();\n }\n\n /**\n * Sets focus on the nav-item\n */\n focus(options?: FocusOptions) {\n this.control.focus(options);\n }\n\n // eslint-disable-next-line complexity\n render() {\n const isButton = this.isButton();\n const isLink = this.isLink();\n const isAccordion = this.isAccordion();\n\n const sideNav = this.closest('syn-side-nav');\n\n const showCurrentIndicatorForNested = (this.currentMarkedChild && !this.open)\n || (this.currentMarkedChild && this.open && !!sideNav?.rail && !sideNav?.open);\n\n // Defines the initial tag to use for the root component\n let tag = literal`button`;\n if (isAccordion) tag = literal`summary`;\n else if (isLink) tag = literal`a`;\n\n const hasChevron = (this.chevron || isAccordion) && !this.horizontal;\n\n // Define the click method to use\n let clickAction;\n if (isAccordion) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n clickAction = this.handleClickSummary;\n } else if (isButton) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n clickAction = this.handleClickButton;\n }\n\n /* eslint-disable lit/no-invalid-html */\n /* eslint-disable lit/binding-positions */\n /* eslint-disable @typescript-eslint/unbound-method */\n const root = html`\n <${tag}\n aria-controls=${ifDefined(isAccordion ? 'navigation-item-details' : undefined)}\n aria-current=${ifDefined(this.current ? 'page' : undefined)}\n aria-disabled=${this.disabled}\n @blur=${this.handleBlur}\n class=${classMap({\n 'nav-item': true,\n 'nav-item--current': this.current || showCurrentIndicatorForNested,\n 'nav-item--disabled': this.disabled,\n 'nav-item--focused': this.hasFocus,\n 'nav-item--has-content': this.hasSlotController.test('[default]'),\n 'nav-item--has-prefix': this.hasSlotController.test('prefix'),\n 'nav-item--has-suffix': this.hasSlotController.test('suffix'),\n 'nav-item--horizontal': this.horizontal,\n 'nav-item--is-link': isLink,\n 'nav-item--multi-line': this.isMultiLine,\n 'nav-item--show-prefix-only': this.showPrefixOnly,\n 'nav-item--vertical': !this.horizontal,\n 'nav-item-is-accordion': isAccordion,\n })}\n @click=${clickAction}\n ?disabled=${ifDefined(isLink ? undefined : this.disabled)}\n @focus=${this.handleFocus}\n href=${ifDefined(isLink ? this.href : undefined)}\n part=\"base\"\n role=${isLink ? 'link' : 'button'}\n tabindex=${this.disabled ? '-1' : '0'}\n >\n\n ${this.divider && !this.horizontal\n ? html`<syn-divider class=\"divider\" part=\"divider\"></syn-divider>`\n : ''\n }\n\n <div class=\"nav-item__content\" part=\"content-wrapper\">\n <slot name=\"prefix\" part=\"prefix\" class=\"nav-item__prefix\"></slot>\n\n <div part=\"content-container\" class=\"nav-item__content-container\">\n <slot part=\"content\"></slot>\n </div>\n\n <slot name=\"suffix\" part=\"suffix\" class=\"nav-item__suffix\"></slot>\n\n ${hasChevron ? html`\n <syn-icon\n class=${classMap({\n 'nav-item__chevron': true,\n 'nav-item__chevron-open': this.open,\n })}\n color=\"currentColor\"\n library=\"system\"\n name=\"chevron-down\"\n part=\"chevron\"\n /></syn-icon>`\n : ''}\n\n <div\n class=${classMap({\n 'current-indicator': true,\n 'current-indicator--disabled': this.disabled,\n 'current-indicator--visible': this.current || showCurrentIndicatorForNested,\n })}\n part=\"current-indicator\"\n >\n </div>\n </div>\n\n </${tag}>\n `;\n /* eslint-enable lit/no-invalid-html */\n /* eslint-enable lit/binding-positions */\n\n return isAccordion ? html`\n <details\n id=\"navigation-item-details\"\n ?open=${this.open}\n part=\"details\"\n >\n ${root}\n <slot\n class=\"children\"\n name=\"children\"\n part=\"children\"\n @slotchange=${this.handleSlotChange}\n ></slot>\n </details>\n ` : root;\n /* eslint-enable @typescript-eslint/unbound-method */\n }\n}\n"],
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;AAKZ;AAAA,EAAnB,MAAM,WAAW;AAAA,GAzCC,WAyCC;AASuB;AAAA,EAA1C,SAAS,EAAE,SAAS,MAAM,MAAM,OAAO,CAAC;AAAA,GAlDtB,WAkDwB;AAMC;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAxDvB,WAwDyB;AAKA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GA7DvB,WA6DyB;AAKA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAlEvB,WAkEyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAxEvB,WAwEyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GA9EvB,WA8EyB;AAMA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GApFvB,WAoFyB;AA+I5C;AAAA,EADC,MAAM,cAAc,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAlOhC,WAmOnB;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
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';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.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 */\n@enableDefaultSettings('SynCombobox')\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\n if (normalizedOption.includes(normalizedQuery)) {\n return true;\n }\n\n return option?.value === queryStr;\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 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 this.updateSelectedOptionFromValue();\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 private updateSelectedOptionFromValue(): void {\n // check if the value has a corresponding option via value or text content\n // for empty values use the text content, as then the values of the option are not set\n const option = this.cachedOptions\n .find(o => (o.value !== '' && o.value === this.value) || (o.getTextLabel() === this.value));\n\n if (!option) {\n this.displayInput.value = this.value;\n }\n\n this.setSelectedOption(option);\n this.createComboboxOptionsFromQuery(this.value);\n }\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.updateSelectedOptionFromValue();\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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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