@synergy-design-system/components 2.30.1 → 2.30.3

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 (369) hide show
  1. package/dist/chunks/{chunk.5PKVCNHM.js → chunk.2BF2ZBSM.js} +8 -8
  2. package/dist/chunks/chunk.2BF2ZBSM.js.map +7 -0
  3. package/dist/chunks/{chunk.SZ73NMRJ.js → chunk.2NS2E3LJ.js} +2 -2
  4. package/dist/chunks/{chunk.DG6GXAVF.js → chunk.2W4MHJAM.js} +6 -6
  5. package/dist/chunks/chunk.2W4MHJAM.js.map +7 -0
  6. package/dist/chunks/{chunk.3TOKEYJ6.js → chunk.3EPDSEI7.js} +2 -2
  7. package/dist/chunks/{chunk.2X3APD3V.js → chunk.3OUFLG7V.js} +6 -6
  8. package/dist/chunks/chunk.3OUFLG7V.js.map +7 -0
  9. package/dist/chunks/{chunk.WASTXK4A.js → chunk.3QPOD3RO.js} +6 -6
  10. package/dist/chunks/chunk.3QPOD3RO.js.map +7 -0
  11. package/dist/chunks/{chunk.QOP6ET4B.js → chunk.3TECDOBS.js} +2 -2
  12. package/dist/chunks/{chunk.JCJ64TPZ.js → chunk.43UZR7JA.js} +2 -2
  13. package/dist/chunks/{chunk.UTPP6KE2.js → chunk.45RYQJWS.js} +2 -2
  14. package/dist/chunks/{chunk.AQHRP3JF.js → chunk.4FYUNOAF.js} +2 -2
  15. package/dist/chunks/{chunk.2GXRGBN3.js → chunk.4KUAEC3S.js} +2 -2
  16. package/dist/chunks/{chunk.GAN4SEH5.js → chunk.4XC7NAJH.js} +2 -2
  17. package/dist/chunks/{chunk.QJPMVHQX.js → chunk.5U2JN5LA.js} +2 -2
  18. package/dist/chunks/chunk.5U2JN5LA.js.map +7 -0
  19. package/dist/chunks/{chunk.BMR7V4GF.js → chunk.67BZVLOD.js} +2 -2
  20. package/dist/chunks/{chunk.UTJJJQMA.js → chunk.6GBQX53P.js} +2 -2
  21. package/dist/chunks/{chunk.NHGNW7PA.js → chunk.6HKWYUE5.js} +6 -6
  22. package/dist/chunks/chunk.6HKWYUE5.js.map +7 -0
  23. package/dist/chunks/{chunk.USSHF6CO.js → chunk.7PPS4IJJ.js} +2 -2
  24. package/dist/chunks/{chunk.KLZ5NK2C.js → chunk.7YYNY2ZX.js} +2 -2
  25. package/dist/chunks/{chunk.FHND52A3.js → chunk.A77V4OPP.js} +3 -3
  26. package/dist/chunks/chunk.A77V4OPP.js.map +7 -0
  27. package/dist/chunks/{chunk.HWNTLXRL.js → chunk.ARJFVRBM.js} +3 -3
  28. package/dist/chunks/chunk.ARJFVRBM.js.map +7 -0
  29. package/dist/chunks/{chunk.IZBTM55D.js → chunk.BG6L74VC.js} +2 -2
  30. package/dist/chunks/{chunk.2RAC47FN.js → chunk.BXAD2FTL.js} +2 -2
  31. package/dist/chunks/chunk.BXAD2FTL.js.map +7 -0
  32. package/dist/chunks/{chunk.2RXN2SCD.js → chunk.C4JBMUTM.js} +6 -6
  33. package/dist/chunks/chunk.C4JBMUTM.js.map +7 -0
  34. package/dist/chunks/{chunk.JP4QSX7M.js → chunk.CFUIAMHI.js} +2 -2
  35. package/dist/chunks/{chunk.RAU2GK6I.js → chunk.CXRCFXZR.js} +8 -8
  36. package/dist/chunks/chunk.CXRCFXZR.js.map +7 -0
  37. package/dist/chunks/{chunk.U3CL2TPE.js → chunk.CZG2SMYG.js} +2 -2
  38. package/dist/chunks/{chunk.762G3PEJ.js → chunk.D3UJRRO6.js} +6 -6
  39. package/dist/chunks/chunk.D3UJRRO6.js.map +7 -0
  40. package/dist/chunks/{chunk.5ZRFAVKG.js → chunk.DCDK3EXG.js} +2 -2
  41. package/dist/chunks/{chunk.SFIQJMJV.js → chunk.DMB7Z2ZQ.js} +2 -2
  42. package/dist/chunks/{chunk.YSRREAXX.js → chunk.E5IDSSSD.js} +3 -3
  43. package/dist/chunks/{chunk.YSRREAXX.js.map → chunk.E5IDSSSD.js.map} +1 -1
  44. package/dist/chunks/{chunk.FITEZWTQ.js → chunk.FA4T7QQM.js} +2 -2
  45. package/dist/chunks/{chunk.FITEZWTQ.js.map → chunk.FA4T7QQM.js.map} +1 -1
  46. package/dist/chunks/{chunk.X3CFZAHW.js → chunk.FQYBA7T7.js} +2 -2
  47. package/dist/chunks/{chunk.X3CFZAHW.js.map → chunk.FQYBA7T7.js.map} +1 -1
  48. package/dist/chunks/{chunk.532L4VKN.js → chunk.FT3M2BTH.js} +2 -2
  49. package/dist/chunks/{chunk.SWCGPDHW.js → chunk.FULJSSFR.js} +2 -2
  50. package/dist/chunks/{chunk.TX2PDRBM.js → chunk.G2JP7HEH.js} +7 -7
  51. package/dist/chunks/chunk.G2JP7HEH.js.map +7 -0
  52. package/dist/chunks/{chunk.WA7EKCMV.js → chunk.G2TWKVVP.js} +2 -2
  53. package/dist/chunks/{chunk.BOBXDVSO.js → chunk.GA2HU6II.js} +6 -6
  54. package/dist/chunks/chunk.GA2HU6II.js.map +7 -0
  55. package/dist/chunks/{chunk.AJW2D63L.js → chunk.GE3DTZIM.js} +2 -2
  56. package/dist/chunks/{chunk.NUYZREPZ.js → chunk.GEV5TYRZ.js} +4 -4
  57. package/dist/chunks/{chunk.R3THZVHP.js → chunk.IC3XQ2EB.js} +2 -2
  58. package/dist/chunks/chunk.IC3XQ2EB.js.map +7 -0
  59. package/dist/chunks/{chunk.PRJ3FJGJ.js → chunk.ICGTNBIJ.js} +3 -3
  60. package/dist/chunks/{chunk.QX2JOWGH.js → chunk.IGLOIZ2W.js} +5 -5
  61. package/dist/chunks/chunk.IGLOIZ2W.js.map +7 -0
  62. package/dist/chunks/{chunk.ZDYMO5XT.js → chunk.IHQEDOAX.js} +2 -2
  63. package/dist/chunks/{chunk.FGAEUKVN.js → chunk.IUY4D7U3.js} +2 -2
  64. package/dist/chunks/{chunk.B3D627OD.js → chunk.JIELXBUU.js} +2 -2
  65. package/dist/chunks/chunk.JIELXBUU.js.map +7 -0
  66. package/dist/chunks/{chunk.E6OUQFF4.js → chunk.JU7GGWDE.js} +2 -2
  67. package/dist/chunks/{chunk.K36FG4W2.js → chunk.K4EBTKOS.js} +9 -9
  68. package/dist/chunks/chunk.K4EBTKOS.js.map +7 -0
  69. package/dist/chunks/{chunk.GYSYAXFI.js → chunk.KSWTSMEX.js} +8 -8
  70. package/dist/chunks/chunk.KSWTSMEX.js.map +7 -0
  71. package/dist/chunks/{chunk.A4FID4OH.js → chunk.KUQ6N3FH.js} +2 -2
  72. package/dist/chunks/{chunk.BRFSQ5UO.js → chunk.KWMZ63WC.js} +2 -2
  73. package/dist/chunks/chunk.KWMZ63WC.js.map +7 -0
  74. package/dist/chunks/{chunk.T4IRZQY2.js → chunk.KXDWM25J.js} +2 -2
  75. package/dist/chunks/{chunk.T4IRZQY2.js.map → chunk.KXDWM25J.js.map} +1 -1
  76. package/dist/chunks/{chunk.GOYGD46T.js → chunk.MVBAJTOF.js} +7 -7
  77. package/dist/chunks/{chunk.6ZCQFVOC.js → chunk.NC57MFGC.js} +2 -2
  78. package/dist/chunks/{chunk.3ZXMZDAX.js → chunk.NECBJEDG.js} +2 -2
  79. package/dist/chunks/{chunk.E4QLMZHL.js → chunk.NFEMXBDN.js} +2 -2
  80. package/dist/chunks/{chunk.YU2PZ5EK.js → chunk.NGIPAGC4.js} +2 -2
  81. package/dist/chunks/{chunk.UKUUCUD7.js → chunk.NLYJFOZZ.js} +6 -6
  82. package/dist/chunks/{chunk.RYQHOPIY.js → chunk.NTSN7KDQ.js} +2 -2
  83. package/dist/chunks/chunk.NTSN7KDQ.js.map +7 -0
  84. package/dist/chunks/{chunk.AMIQC3O7.js → chunk.OLRA37R5.js} +1 -1
  85. package/dist/chunks/{chunk.AMIQC3O7.js.map → chunk.OLRA37R5.js.map} +1 -1
  86. package/dist/chunks/{chunk.6AKLDG33.js → chunk.OPSPWNFD.js} +2 -2
  87. package/dist/chunks/{chunk.6AKLDG33.js.map → chunk.OPSPWNFD.js.map} +1 -1
  88. package/dist/chunks/{chunk.PDDQXWQR.js → chunk.OSJ3WQFD.js} +2 -2
  89. package/dist/chunks/{chunk.Y5RGUISY.js → chunk.PCHN7UNX.js} +2 -2
  90. package/dist/chunks/{chunk.Y5RGUISY.js.map → chunk.PCHN7UNX.js.map} +1 -1
  91. package/dist/chunks/{chunk.CILTVCBQ.js → chunk.PJF3RP7Q.js} +7 -7
  92. package/dist/chunks/chunk.PJF3RP7Q.js.map +7 -0
  93. package/dist/chunks/{chunk.IQGYOOWV.js → chunk.PLRHUWDP.js} +2 -2
  94. package/dist/chunks/{chunk.EFJD5CZ6.js → chunk.PQGDR57N.js} +2 -2
  95. package/dist/chunks/{chunk.D36G42T7.js → chunk.PZSENCZE.js} +7 -7
  96. package/dist/chunks/chunk.PZSENCZE.js.map +7 -0
  97. package/dist/chunks/{chunk.NDIBJ6JI.js → chunk.QCGPJAQF.js} +6 -6
  98. package/dist/chunks/chunk.QCGPJAQF.js.map +7 -0
  99. package/dist/chunks/{chunk.ZUQIXELH.js → chunk.QFS6KGDB.js} +2 -2
  100. package/dist/chunks/{chunk.QHPOPKTJ.js → chunk.R2CZGOPZ.js} +6 -6
  101. package/dist/chunks/chunk.R2CZGOPZ.js.map +7 -0
  102. package/dist/chunks/{chunk.HLQWQZQU.js → chunk.R3VV2JKB.js} +5 -5
  103. package/dist/chunks/chunk.R3VV2JKB.js.map +7 -0
  104. package/dist/chunks/{chunk.FJSVF4A2.js → chunk.RCM2ZMZA.js} +2 -2
  105. package/dist/chunks/{chunk.D6UYGOT5.js → chunk.RM54PPPR.js} +2 -2
  106. package/dist/chunks/{chunk.3A4IZ7IM.js → chunk.RMDAJPSI.js} +9 -9
  107. package/dist/chunks/chunk.RMDAJPSI.js.map +7 -0
  108. package/dist/chunks/{chunk.UOY56ORY.js → chunk.RVEOI5HV.js} +2 -2
  109. package/dist/chunks/{chunk.UKYLRMT2.js → chunk.RXJYIHMS.js} +2 -2
  110. package/dist/chunks/{chunk.JQADLKNT.js → chunk.S3JOQPQH.js} +8 -8
  111. package/dist/chunks/chunk.S3JOQPQH.js.map +7 -0
  112. package/dist/chunks/{chunk.6OVQULWC.js → chunk.SFKDMJXY.js} +8 -8
  113. package/dist/chunks/{chunk.6OVQULWC.js.map → chunk.SFKDMJXY.js.map} +1 -1
  114. package/dist/chunks/{chunk.MDKD6I5N.js → chunk.SV2YRXTN.js} +9 -9
  115. package/dist/chunks/chunk.SV2YRXTN.js.map +7 -0
  116. package/dist/chunks/{chunk.3JKMMYX3.js → chunk.THRS75O2.js} +2 -2
  117. package/dist/chunks/{chunk.5WZOBIEX.js → chunk.TYEVZCIC.js} +9 -9
  118. package/dist/chunks/{chunk.KBBZYAPL.js → chunk.UMJHRTE5.js} +9 -9
  119. package/dist/chunks/chunk.UMJHRTE5.js.map +7 -0
  120. package/dist/chunks/{chunk.EEMCXA5G.js → chunk.VHXR6VJU.js} +2 -2
  121. package/dist/chunks/{chunk.GTFKE4JG.js → chunk.VP73GNNH.js} +2 -2
  122. package/dist/chunks/{chunk.AP55JRQ3.js → chunk.VXYIZUDW.js} +2 -2
  123. package/dist/chunks/{chunk.QVRCVDGA.js → chunk.WJR72FH5.js} +2 -2
  124. package/dist/chunks/{chunk.XA4EOA25.js → chunk.WPIWR6GG.js} +8 -8
  125. package/dist/chunks/{chunk.HI3CSD4O.js → chunk.WTUKJGCV.js} +2 -2
  126. package/dist/chunks/{chunk.63LZB375.js → chunk.WZSMJ2WD.js} +2 -2
  127. package/dist/chunks/chunk.WZSMJ2WD.js.map +7 -0
  128. package/dist/chunks/{chunk.2HPEABF4.js → chunk.XHQTVQU6.js} +2 -2
  129. package/dist/chunks/{chunk.QQ26YV6J.js → chunk.XV6MIV3R.js} +7 -7
  130. package/dist/chunks/chunk.XV6MIV3R.js.map +7 -0
  131. package/dist/chunks/{chunk.IXSDGMHS.js → chunk.YJ5O6SUI.js} +2 -2
  132. package/dist/chunks/{chunk.574KKJH2.js → chunk.YTCOW742.js} +2 -2
  133. package/dist/chunks/{chunk.M6OBVNV5.js → chunk.ZFDM6C6S.js} +2 -2
  134. package/dist/chunks/{chunk.OJFEU2LY.js → chunk.ZHBRF2U3.js} +2 -2
  135. package/dist/chunks/{chunk.OJFEU2LY.js.map → chunk.ZHBRF2U3.js.map} +1 -1
  136. package/dist/chunks/{chunk.WIZJDLTC.js → chunk.ZHGCYOV2.js} +2 -2
  137. package/dist/chunks/chunk.ZHGCYOV2.js.map +7 -0
  138. package/dist/chunks/{chunk.46CKMKX5.js → chunk.ZJ43C76S.js} +3 -3
  139. package/dist/chunks/chunk.ZJ43C76S.js.map +7 -0
  140. package/dist/chunks/{chunk.NPAGHPJZ.js → chunk.ZOLZENHH.js} +2 -2
  141. package/dist/components/accordion/accordion.component.js +4 -4
  142. package/dist/components/accordion/accordion.js +5 -5
  143. package/dist/components/alert/alert.component.d.ts +1 -1
  144. package/dist/components/alert/alert.component.js +8 -8
  145. package/dist/components/alert/alert.js +9 -9
  146. package/dist/components/badge/badge.component.d.ts +1 -1
  147. package/dist/components/badge/badge.component.js +4 -4
  148. package/dist/components/badge/badge.js +5 -5
  149. package/dist/components/breadcrumb/breadcrumb.component.d.ts +1 -1
  150. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  151. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  152. package/dist/components/breadcrumb-item/breadcrumb-item.component.d.ts +1 -1
  153. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  154. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  155. package/dist/components/button/button.component.d.ts +1 -1
  156. package/dist/components/button/button.component.js +7 -7
  157. package/dist/components/button/button.js +8 -8
  158. package/dist/components/button-group/button-group.component.d.ts +1 -1
  159. package/dist/components/button-group/button-group.component.js +2 -2
  160. package/dist/components/button-group/button-group.js +3 -3
  161. package/dist/components/card/card.component.d.ts +1 -1
  162. package/dist/components/card/card.component.js +2 -2
  163. package/dist/components/card/card.js +3 -3
  164. package/dist/components/checkbox/checkbox.component.d.ts +1 -1
  165. package/dist/components/checkbox/checkbox.component.js +5 -5
  166. package/dist/components/checkbox/checkbox.js +6 -6
  167. package/dist/components/combobox/combobox.component.js +8 -8
  168. package/dist/components/combobox/combobox.js +9 -9
  169. package/dist/components/details/details.component.d.ts +1 -1
  170. package/dist/components/details/details.component.js +5 -5
  171. package/dist/components/details/details.js +6 -6
  172. package/dist/components/dialog/dialog.component.d.ts +1 -1
  173. package/dist/components/dialog/dialog.component.js +6 -6
  174. package/dist/components/dialog/dialog.js +7 -7
  175. package/dist/components/divider/divider.component.d.ts +1 -1
  176. package/dist/components/divider/divider.component.js +2 -2
  177. package/dist/components/divider/divider.js +3 -3
  178. package/dist/components/drawer/drawer.component.d.ts +1 -1
  179. package/dist/components/drawer/drawer.component.js +6 -6
  180. package/dist/components/drawer/drawer.js +7 -7
  181. package/dist/components/dropdown/dropdown.component.d.ts +1 -1
  182. package/dist/components/dropdown/dropdown.component.js +4 -4
  183. package/dist/components/dropdown/dropdown.js +5 -5
  184. package/dist/components/file/file.component.d.ts +1 -0
  185. package/dist/components/file/file.component.js +8 -8
  186. package/dist/components/file/file.js +9 -9
  187. package/dist/components/header/header.component.js +6 -6
  188. package/dist/components/header/header.js +7 -7
  189. package/dist/components/icon/icon.component.d.ts +1 -1
  190. package/dist/components/icon/icon.component.js +2 -2
  191. package/dist/components/icon/icon.js +3 -3
  192. package/dist/components/icon-button/icon-button.component.d.ts +1 -1
  193. package/dist/components/icon-button/icon-button.component.js +4 -4
  194. package/dist/components/icon-button/icon-button.js +5 -5
  195. package/dist/components/input/input.component.d.ts +1 -1
  196. package/dist/components/input/input.component.js +7 -7
  197. package/dist/components/input/input.js +8 -8
  198. package/dist/components/menu/menu.component.d.ts +1 -1
  199. package/dist/components/menu/menu.component.js +2 -2
  200. package/dist/components/menu/menu.js +3 -3
  201. package/dist/components/menu-item/menu-item.component.d.ts +1 -1
  202. package/dist/components/menu-item/menu-item.component.js +7 -7
  203. package/dist/components/menu-item/menu-item.js +8 -8
  204. package/dist/components/menu-label/menu-label.component.d.ts +1 -1
  205. package/dist/components/menu-label/menu-label.component.js +3 -3
  206. package/dist/components/menu-label/menu-label.js +4 -4
  207. package/dist/components/nav-item/nav-item.component.d.ts +1 -0
  208. package/dist/components/nav-item/nav-item.component.js +3 -3
  209. package/dist/components/nav-item/nav-item.js +4 -4
  210. package/dist/components/optgroup/optgroup.component.js +3 -3
  211. package/dist/components/optgroup/optgroup.js +4 -4
  212. package/dist/components/option/option.component.d.ts +1 -1
  213. package/dist/components/option/option.component.js +5 -5
  214. package/dist/components/option/option.js +6 -6
  215. package/dist/components/popup/popup.component.d.ts +1 -1
  216. package/dist/components/popup/popup.component.js +2 -2
  217. package/dist/components/popup/popup.js +3 -3
  218. package/dist/components/prio-nav/prio-nav.component.d.ts +1 -0
  219. package/dist/components/prio-nav/prio-nav.component.js +10 -10
  220. package/dist/components/prio-nav/prio-nav.js +11 -11
  221. package/dist/components/progress-bar/progress-bar.component.d.ts +1 -1
  222. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  223. package/dist/components/progress-bar/progress-bar.js +3 -3
  224. package/dist/components/progress-ring/progress-ring.component.d.ts +1 -1
  225. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  226. package/dist/components/progress-ring/progress-ring.js +3 -3
  227. package/dist/components/radio/radio.component.d.ts +1 -1
  228. package/dist/components/radio/radio.component.js +4 -4
  229. package/dist/components/radio/radio.js +5 -5
  230. package/dist/components/radio-button/radio-button.component.d.ts +1 -1
  231. package/dist/components/radio-button/radio-button.component.js +3 -3
  232. package/dist/components/radio-button/radio-button.js +4 -4
  233. package/dist/components/radio-group/radio-group.component.d.ts +1 -1
  234. package/dist/components/radio-group/radio-group.component.js +5 -5
  235. package/dist/components/radio-group/radio-group.js +6 -6
  236. package/dist/components/range/range.component.js +6 -6
  237. package/dist/components/range/range.js +7 -7
  238. package/dist/components/range-tick/range-tick.component.d.ts +1 -1
  239. package/dist/components/range-tick/range-tick.component.js +2 -2
  240. package/dist/components/range-tick/range-tick.js +3 -3
  241. package/dist/components/resize-observer/resize-observer.component.d.ts +1 -1
  242. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  243. package/dist/components/select/select.component.d.ts +1 -1
  244. package/dist/components/select/select.component.js +9 -9
  245. package/dist/components/select/select.js +10 -10
  246. package/dist/components/side-nav/side-nav.component.js +8 -8
  247. package/dist/components/side-nav/side-nav.js +9 -9
  248. package/dist/components/spinner/spinner.component.d.ts +1 -1
  249. package/dist/components/spinner/spinner.component.js +2 -2
  250. package/dist/components/spinner/spinner.js +3 -3
  251. package/dist/components/switch/switch.component.d.ts +1 -1
  252. package/dist/components/switch/switch.component.js +4 -4
  253. package/dist/components/switch/switch.js +5 -5
  254. package/dist/components/tab/tab.component.d.ts +1 -1
  255. package/dist/components/tab/tab.component.js +6 -6
  256. package/dist/components/tab/tab.js +7 -7
  257. package/dist/components/tab-group/tab-group.component.d.ts +1 -1
  258. package/dist/components/tab-group/tab-group.component.js +7 -7
  259. package/dist/components/tab-group/tab-group.js +8 -8
  260. package/dist/components/tab-panel/tab-panel.component.d.ts +1 -1
  261. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  262. package/dist/components/tab-panel/tab-panel.js +3 -3
  263. package/dist/components/tag/tag.component.d.ts +1 -1
  264. package/dist/components/tag/tag.component.js +6 -6
  265. package/dist/components/tag/tag.js +7 -7
  266. package/dist/components/textarea/textarea.component.d.ts +1 -1
  267. package/dist/components/textarea/textarea.component.js +4 -4
  268. package/dist/components/textarea/textarea.js +5 -5
  269. package/dist/components/tooltip/tooltip.component.d.ts +1 -1
  270. package/dist/components/tooltip/tooltip.component.js +4 -4
  271. package/dist/components/tooltip/tooltip.js +5 -5
  272. package/dist/components/validate/utility.js +2 -2
  273. package/dist/components/validate/validate.component.d.ts +1 -1
  274. package/dist/components/validate/validate.component.js +10 -10
  275. package/dist/components/validate/validate.js +11 -11
  276. package/dist/custom-elements.json +93 -85
  277. package/dist/styles/index.css +1 -1
  278. package/dist/synergy.js +109 -109
  279. package/dist/utilities/form.js +2 -2
  280. package/dist/vscode.html-custom-data.json +48 -48
  281. package/package.json +1 -1
  282. package/dist/chunks/chunk.2RAC47FN.js.map +0 -7
  283. package/dist/chunks/chunk.2RXN2SCD.js.map +0 -7
  284. package/dist/chunks/chunk.2X3APD3V.js.map +0 -7
  285. package/dist/chunks/chunk.3A4IZ7IM.js.map +0 -7
  286. package/dist/chunks/chunk.46CKMKX5.js.map +0 -7
  287. package/dist/chunks/chunk.5PKVCNHM.js.map +0 -7
  288. package/dist/chunks/chunk.63LZB375.js.map +0 -7
  289. package/dist/chunks/chunk.762G3PEJ.js.map +0 -7
  290. package/dist/chunks/chunk.B3D627OD.js.map +0 -7
  291. package/dist/chunks/chunk.BOBXDVSO.js.map +0 -7
  292. package/dist/chunks/chunk.BRFSQ5UO.js.map +0 -7
  293. package/dist/chunks/chunk.CILTVCBQ.js.map +0 -7
  294. package/dist/chunks/chunk.D36G42T7.js.map +0 -7
  295. package/dist/chunks/chunk.DG6GXAVF.js.map +0 -7
  296. package/dist/chunks/chunk.FHND52A3.js.map +0 -7
  297. package/dist/chunks/chunk.GYSYAXFI.js.map +0 -7
  298. package/dist/chunks/chunk.HLQWQZQU.js.map +0 -7
  299. package/dist/chunks/chunk.HWNTLXRL.js.map +0 -7
  300. package/dist/chunks/chunk.JQADLKNT.js.map +0 -7
  301. package/dist/chunks/chunk.K36FG4W2.js.map +0 -7
  302. package/dist/chunks/chunk.KBBZYAPL.js.map +0 -7
  303. package/dist/chunks/chunk.MDKD6I5N.js.map +0 -7
  304. package/dist/chunks/chunk.NDIBJ6JI.js.map +0 -7
  305. package/dist/chunks/chunk.NHGNW7PA.js.map +0 -7
  306. package/dist/chunks/chunk.QHPOPKTJ.js.map +0 -7
  307. package/dist/chunks/chunk.QJPMVHQX.js.map +0 -7
  308. package/dist/chunks/chunk.QQ26YV6J.js.map +0 -7
  309. package/dist/chunks/chunk.QX2JOWGH.js.map +0 -7
  310. package/dist/chunks/chunk.R3THZVHP.js.map +0 -7
  311. package/dist/chunks/chunk.RAU2GK6I.js.map +0 -7
  312. package/dist/chunks/chunk.RYQHOPIY.js.map +0 -7
  313. package/dist/chunks/chunk.TX2PDRBM.js.map +0 -7
  314. package/dist/chunks/chunk.WASTXK4A.js.map +0 -7
  315. package/dist/chunks/chunk.WIZJDLTC.js.map +0 -7
  316. /package/dist/chunks/{chunk.SZ73NMRJ.js.map → chunk.2NS2E3LJ.js.map} +0 -0
  317. /package/dist/chunks/{chunk.3TOKEYJ6.js.map → chunk.3EPDSEI7.js.map} +0 -0
  318. /package/dist/chunks/{chunk.QOP6ET4B.js.map → chunk.3TECDOBS.js.map} +0 -0
  319. /package/dist/chunks/{chunk.JCJ64TPZ.js.map → chunk.43UZR7JA.js.map} +0 -0
  320. /package/dist/chunks/{chunk.UTPP6KE2.js.map → chunk.45RYQJWS.js.map} +0 -0
  321. /package/dist/chunks/{chunk.AQHRP3JF.js.map → chunk.4FYUNOAF.js.map} +0 -0
  322. /package/dist/chunks/{chunk.2GXRGBN3.js.map → chunk.4KUAEC3S.js.map} +0 -0
  323. /package/dist/chunks/{chunk.GAN4SEH5.js.map → chunk.4XC7NAJH.js.map} +0 -0
  324. /package/dist/chunks/{chunk.BMR7V4GF.js.map → chunk.67BZVLOD.js.map} +0 -0
  325. /package/dist/chunks/{chunk.UTJJJQMA.js.map → chunk.6GBQX53P.js.map} +0 -0
  326. /package/dist/chunks/{chunk.USSHF6CO.js.map → chunk.7PPS4IJJ.js.map} +0 -0
  327. /package/dist/chunks/{chunk.KLZ5NK2C.js.map → chunk.7YYNY2ZX.js.map} +0 -0
  328. /package/dist/chunks/{chunk.IZBTM55D.js.map → chunk.BG6L74VC.js.map} +0 -0
  329. /package/dist/chunks/{chunk.JP4QSX7M.js.map → chunk.CFUIAMHI.js.map} +0 -0
  330. /package/dist/chunks/{chunk.U3CL2TPE.js.map → chunk.CZG2SMYG.js.map} +0 -0
  331. /package/dist/chunks/{chunk.5ZRFAVKG.js.map → chunk.DCDK3EXG.js.map} +0 -0
  332. /package/dist/chunks/{chunk.SFIQJMJV.js.map → chunk.DMB7Z2ZQ.js.map} +0 -0
  333. /package/dist/chunks/{chunk.532L4VKN.js.map → chunk.FT3M2BTH.js.map} +0 -0
  334. /package/dist/chunks/{chunk.SWCGPDHW.js.map → chunk.FULJSSFR.js.map} +0 -0
  335. /package/dist/chunks/{chunk.WA7EKCMV.js.map → chunk.G2TWKVVP.js.map} +0 -0
  336. /package/dist/chunks/{chunk.AJW2D63L.js.map → chunk.GE3DTZIM.js.map} +0 -0
  337. /package/dist/chunks/{chunk.NUYZREPZ.js.map → chunk.GEV5TYRZ.js.map} +0 -0
  338. /package/dist/chunks/{chunk.PRJ3FJGJ.js.map → chunk.ICGTNBIJ.js.map} +0 -0
  339. /package/dist/chunks/{chunk.ZDYMO5XT.js.map → chunk.IHQEDOAX.js.map} +0 -0
  340. /package/dist/chunks/{chunk.FGAEUKVN.js.map → chunk.IUY4D7U3.js.map} +0 -0
  341. /package/dist/chunks/{chunk.E6OUQFF4.js.map → chunk.JU7GGWDE.js.map} +0 -0
  342. /package/dist/chunks/{chunk.A4FID4OH.js.map → chunk.KUQ6N3FH.js.map} +0 -0
  343. /package/dist/chunks/{chunk.GOYGD46T.js.map → chunk.MVBAJTOF.js.map} +0 -0
  344. /package/dist/chunks/{chunk.6ZCQFVOC.js.map → chunk.NC57MFGC.js.map} +0 -0
  345. /package/dist/chunks/{chunk.3ZXMZDAX.js.map → chunk.NECBJEDG.js.map} +0 -0
  346. /package/dist/chunks/{chunk.E4QLMZHL.js.map → chunk.NFEMXBDN.js.map} +0 -0
  347. /package/dist/chunks/{chunk.YU2PZ5EK.js.map → chunk.NGIPAGC4.js.map} +0 -0
  348. /package/dist/chunks/{chunk.UKUUCUD7.js.map → chunk.NLYJFOZZ.js.map} +0 -0
  349. /package/dist/chunks/{chunk.PDDQXWQR.js.map → chunk.OSJ3WQFD.js.map} +0 -0
  350. /package/dist/chunks/{chunk.IQGYOOWV.js.map → chunk.PLRHUWDP.js.map} +0 -0
  351. /package/dist/chunks/{chunk.EFJD5CZ6.js.map → chunk.PQGDR57N.js.map} +0 -0
  352. /package/dist/chunks/{chunk.ZUQIXELH.js.map → chunk.QFS6KGDB.js.map} +0 -0
  353. /package/dist/chunks/{chunk.FJSVF4A2.js.map → chunk.RCM2ZMZA.js.map} +0 -0
  354. /package/dist/chunks/{chunk.D6UYGOT5.js.map → chunk.RM54PPPR.js.map} +0 -0
  355. /package/dist/chunks/{chunk.UOY56ORY.js.map → chunk.RVEOI5HV.js.map} +0 -0
  356. /package/dist/chunks/{chunk.UKYLRMT2.js.map → chunk.RXJYIHMS.js.map} +0 -0
  357. /package/dist/chunks/{chunk.3JKMMYX3.js.map → chunk.THRS75O2.js.map} +0 -0
  358. /package/dist/chunks/{chunk.5WZOBIEX.js.map → chunk.TYEVZCIC.js.map} +0 -0
  359. /package/dist/chunks/{chunk.EEMCXA5G.js.map → chunk.VHXR6VJU.js.map} +0 -0
  360. /package/dist/chunks/{chunk.GTFKE4JG.js.map → chunk.VP73GNNH.js.map} +0 -0
  361. /package/dist/chunks/{chunk.AP55JRQ3.js.map → chunk.VXYIZUDW.js.map} +0 -0
  362. /package/dist/chunks/{chunk.QVRCVDGA.js.map → chunk.WJR72FH5.js.map} +0 -0
  363. /package/dist/chunks/{chunk.XA4EOA25.js.map → chunk.WPIWR6GG.js.map} +0 -0
  364. /package/dist/chunks/{chunk.HI3CSD4O.js.map → chunk.WTUKJGCV.js.map} +0 -0
  365. /package/dist/chunks/{chunk.2HPEABF4.js.map → chunk.XHQTVQU6.js.map} +0 -0
  366. /package/dist/chunks/{chunk.IXSDGMHS.js.map → chunk.YJ5O6SUI.js.map} +0 -0
  367. /package/dist/chunks/{chunk.574KKJH2.js.map → chunk.YTCOW742.js.map} +0 -0
  368. /package/dist/chunks/{chunk.M6OBVNV5.js.map → chunk.ZFDM6C6S.js.map} +0 -0
  369. /package/dist/chunks/{chunk.NPAGHPJZ.js.map → chunk.ZOLZENHH.js.map} +0 -0
@@ -25,7 +25,7 @@
25
25
  "references": [
26
26
  {
27
27
  "name": "Documentation",
28
- "url": "https://synergy.style/components/accordion"
28
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-accordion--docs"
29
29
  }
30
30
  ]
31
31
  },
@@ -63,7 +63,7 @@
63
63
  "references": [
64
64
  {
65
65
  "name": "Documentation",
66
- "url": "https://synergy.style/components/alert"
66
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-alert--docs"
67
67
  }
68
68
  ]
69
69
  },
@@ -86,7 +86,7 @@
86
86
  "references": [
87
87
  {
88
88
  "name": "Documentation",
89
- "url": "https://synergy.style/components/badge"
89
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-badge--docs"
90
90
  }
91
91
  ]
92
92
  },
@@ -103,7 +103,7 @@
103
103
  "references": [
104
104
  {
105
105
  "name": "Documentation",
106
- "url": "https://synergy.style/components/breadcrumb"
106
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-breadcrumb--docs"
107
107
  }
108
108
  ]
109
109
  },
@@ -135,7 +135,7 @@
135
135
  "references": [
136
136
  {
137
137
  "name": "Documentation",
138
- "url": "https://synergy.style/components/breadcrumb-item"
138
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-breadcrumb-item--docs"
139
139
  }
140
140
  ]
141
141
  },
@@ -264,7 +264,7 @@
264
264
  "references": [
265
265
  {
266
266
  "name": "Documentation",
267
- "url": "https://synergy.style/components/button"
267
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-button--docs"
268
268
  }
269
269
  ]
270
270
  },
@@ -281,7 +281,7 @@
281
281
  "references": [
282
282
  {
283
283
  "name": "Documentation",
284
- "url": "https://synergy.style/components/button-group"
284
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-button-group--docs"
285
285
  }
286
286
  ]
287
287
  },
@@ -298,7 +298,7 @@
298
298
  "references": [
299
299
  {
300
300
  "name": "Documentation",
301
- "url": "https://synergy.style/components/card"
301
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-card--docs"
302
302
  }
303
303
  ]
304
304
  },
@@ -360,7 +360,7 @@
360
360
  "references": [
361
361
  {
362
362
  "name": "Documentation",
363
- "url": "https://synergy.style/components/checkbox"
363
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-checkbox--docs"
364
364
  }
365
365
  ]
366
366
  },
@@ -454,7 +454,7 @@
454
454
  "references": [
455
455
  {
456
456
  "name": "Documentation",
457
- "url": "https://synergy.style/components/combobox"
457
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-combobox--docs"
458
458
  }
459
459
  ]
460
460
  },
@@ -491,7 +491,7 @@
491
491
  "references": [
492
492
  {
493
493
  "name": "Documentation",
494
- "url": "https://synergy.style/components/details"
494
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-details--docs"
495
495
  }
496
496
  ]
497
497
  },
@@ -518,7 +518,7 @@
518
518
  "references": [
519
519
  {
520
520
  "name": "Documentation",
521
- "url": "https://synergy.style/components/dialog"
521
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-dialog--docs"
522
522
  }
523
523
  ]
524
524
  },
@@ -535,7 +535,7 @@
535
535
  "references": [
536
536
  {
537
537
  "name": "Documentation",
538
- "url": "https://synergy.style/components/divider"
538
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-divider--docs"
539
539
  }
540
540
  ]
541
541
  },
@@ -577,7 +577,7 @@
577
577
  "references": [
578
578
  {
579
579
  "name": "Documentation",
580
- "url": "https://synergy.style/components/drawer"
580
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-drawer--docs"
581
581
  }
582
582
  ]
583
583
  },
@@ -647,7 +647,7 @@
647
647
  "references": [
648
648
  {
649
649
  "name": "Documentation",
650
- "url": "https://synergy.style/components/dropdown"
650
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-dropdown--docs"
651
651
  }
652
652
  ]
653
653
  },
@@ -738,7 +738,7 @@
738
738
  "references": [
739
739
  {
740
740
  "name": "Documentation",
741
- "url": "https://synergy.style/components/file"
741
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-file--docs"
742
742
  }
743
743
  ]
744
744
  },
@@ -764,7 +764,7 @@
764
764
  "references": [
765
765
  {
766
766
  "name": "Documentation",
767
- "url": "https://synergy.style/components/header"
767
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-header--docs"
768
768
  }
769
769
  ]
770
770
  },
@@ -796,7 +796,7 @@
796
796
  "references": [
797
797
  {
798
798
  "name": "Documentation",
799
- "url": "https://synergy.style/components/icon"
799
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-icon--docs"
800
800
  }
801
801
  ]
802
802
  },
@@ -872,7 +872,7 @@
872
872
  "references": [
873
873
  {
874
874
  "name": "Documentation",
875
- "url": "https://synergy.style/components/icon-button"
875
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-icon-button--docs"
876
876
  }
877
877
  ]
878
878
  },
@@ -1065,7 +1065,7 @@
1065
1065
  "references": [
1066
1066
  {
1067
1067
  "name": "Documentation",
1068
- "url": "https://synergy.style/components/input"
1068
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-input--docs"
1069
1069
  }
1070
1070
  ]
1071
1071
  },
@@ -1076,7 +1076,7 @@
1076
1076
  "references": [
1077
1077
  {
1078
1078
  "name": "Documentation",
1079
- "url": "https://synergy.style/components/menu"
1079
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-menu--docs"
1080
1080
  }
1081
1081
  ]
1082
1082
  },
@@ -1113,7 +1113,7 @@
1113
1113
  "references": [
1114
1114
  {
1115
1115
  "name": "Documentation",
1116
- "url": "https://synergy.style/components/menu-item"
1116
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-menu-item--docs"
1117
1117
  }
1118
1118
  ]
1119
1119
  },
@@ -1124,13 +1124,13 @@
1124
1124
  "references": [
1125
1125
  {
1126
1126
  "name": "Documentation",
1127
- "url": "https://synergy.style/components/menu-label"
1127
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-menu-label--docs"
1128
1128
  }
1129
1129
  ]
1130
1130
  },
1131
1131
  {
1132
1132
  "name": "syn-nav-item",
1133
- "description": "Flexible button / link component that can be used to quickly build navigations.\nTakes 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\n\n### **Events:**\n - **syn-show** - Emitted when the navigation item: - has children, - and is clicked while HTML details are hidden.\n- **syn-hide** - Emitted when the navigation item: - has children, - and is clicked while HTML details are shown.\n- **syn-blur** - Emitted when the button loses focus.\n- **syn-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **blur()** - Removes focus from the button.\n- **click()** - Simulates a click on the nav-items button, link or summary.\n- **focus(options: _FocusOptions_)** - Sets focus on the nav-item\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Properties:**\n - **--indentation** - Numeric value, indicating the level the item is placed at. _(default: undefined)_\n- **--indentation-stepping** - The amount of pixels each level will indent. _(default: undefined)_\n- **--display-children** - Display property of the children. Defaults to \"contents\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **children** - The wrapper that holds the children\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **current-indicator** - The indicator used when current is set to true\n- **chevron** - The container that wraps the chevron.\n- **details** - The details element rendered when there are children available\n- **divider** - The components optional top divider.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
1133
+ "description": "Flexible button / link component that can be used to quickly build navigations.\n---\n\n\n### **Events:**\n - **syn-show** - Emitted when the navigation item: - has children, - and is clicked while HTML details are hidden.\n- **syn-hide** - Emitted when the navigation item: - has children, - and is clicked while HTML details are shown.\n- **syn-blur** - Emitted when the button loses focus.\n- **syn-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **blur()** - Removes focus from the button.\n- **click()** - Simulates a click on the nav-items button, link or summary.\n- **focus(options: _FocusOptions_)** - Sets focus on the nav-item\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Properties:**\n - **--indentation** - Numeric value, indicating the level the item is placed at. _(default: undefined)_\n- **--indentation-stepping** - The amount of pixels each level will indent. _(default: undefined)_\n- **--display-children** - Display property of the children. Defaults to \"contents\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **children** - The wrapper that holds the children\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **current-indicator** - The indicator used when current is set to true\n- **chevron** - The container that wraps the chevron.\n- **details** - The details element rendered when there are children available\n- **divider** - The components optional top divider.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
1134
1134
  "attributes": [
1135
1135
  {
1136
1136
  "name": "href",
@@ -1182,7 +1182,7 @@
1182
1182
  "references": [
1183
1183
  {
1184
1184
  "name": "Documentation",
1185
- "url": "https://synergy.style/components/nav-item"
1185
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-nav-item--docs"
1186
1186
  }
1187
1187
  ]
1188
1188
  },
@@ -1204,7 +1204,7 @@
1204
1204
  "references": [
1205
1205
  {
1206
1206
  "name": "Documentation",
1207
- "url": "https://synergy.style/components/optgroup"
1207
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-optgroup--docs"
1208
1208
  }
1209
1209
  ]
1210
1210
  },
@@ -1226,7 +1226,7 @@
1226
1226
  "references": [
1227
1227
  {
1228
1228
  "name": "Documentation",
1229
- "url": "https://synergy.style/components/option"
1229
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-option--docs"
1230
1230
  }
1231
1231
  ]
1232
1232
  },
@@ -1375,7 +1375,7 @@
1375
1375
  "references": [
1376
1376
  {
1377
1377
  "name": "Documentation",
1378
- "url": "https://synergy.style/components/popup"
1378
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-popup--docs"
1379
1379
  }
1380
1380
  ]
1381
1381
  },
@@ -1386,7 +1386,7 @@
1386
1386
  "references": [
1387
1387
  {
1388
1388
  "name": "Documentation",
1389
- "url": "https://synergy.style/components/prio-nav"
1389
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-prio-nav--docs"
1390
1390
  }
1391
1391
  ]
1392
1392
  },
@@ -1413,7 +1413,7 @@
1413
1413
  "references": [
1414
1414
  {
1415
1415
  "name": "Documentation",
1416
- "url": "https://synergy.style/components/progress-bar"
1416
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-progress-bar--docs"
1417
1417
  }
1418
1418
  ]
1419
1419
  },
@@ -1435,7 +1435,7 @@
1435
1435
  "references": [
1436
1436
  {
1437
1437
  "name": "Documentation",
1438
- "url": "https://synergy.style/components/progress-ring"
1438
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-progress-ring--docs"
1439
1439
  }
1440
1440
  ]
1441
1441
  },
@@ -1466,7 +1466,7 @@
1466
1466
  "references": [
1467
1467
  {
1468
1468
  "name": "Documentation",
1469
- "url": "https://synergy.style/components/radio"
1469
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-radio--docs"
1470
1470
  }
1471
1471
  ]
1472
1472
  },
@@ -1502,7 +1502,7 @@
1502
1502
  "references": [
1503
1503
  {
1504
1504
  "name": "Documentation",
1505
- "url": "https://synergy.style/components/radio-button"
1505
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-radio-button--docs"
1506
1506
  }
1507
1507
  ]
1508
1508
  },
@@ -1553,7 +1553,7 @@
1553
1553
  "references": [
1554
1554
  {
1555
1555
  "name": "Documentation",
1556
- "url": "https://synergy.style/components/radio-group"
1556
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-radio-group--docs"
1557
1557
  }
1558
1558
  ]
1559
1559
  },
@@ -1633,7 +1633,7 @@
1633
1633
  "references": [
1634
1634
  {
1635
1635
  "name": "Documentation",
1636
- "url": "https://synergy.style/components/range"
1636
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-range--docs"
1637
1637
  }
1638
1638
  ]
1639
1639
  },
@@ -1650,7 +1650,7 @@
1650
1650
  "references": [
1651
1651
  {
1652
1652
  "name": "Documentation",
1653
- "url": "https://synergy.style/components/range-tick"
1653
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-range-tick--docs"
1654
1654
  }
1655
1655
  ]
1656
1656
  },
@@ -1667,7 +1667,7 @@
1667
1667
  "references": [
1668
1668
  {
1669
1669
  "name": "Documentation",
1670
- "url": "https://synergy.style/components/resize-observer"
1670
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-resize-observer--docs"
1671
1671
  }
1672
1672
  ]
1673
1673
  },
@@ -1771,7 +1771,7 @@
1771
1771
  "references": [
1772
1772
  {
1773
1773
  "name": "Documentation",
1774
- "url": "https://synergy.style/components/select"
1774
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-select--docs"
1775
1775
  }
1776
1776
  ]
1777
1777
  },
@@ -1798,7 +1798,7 @@
1798
1798
  "references": [
1799
1799
  {
1800
1800
  "name": "Documentation",
1801
- "url": "https://synergy.style/components/side-nav"
1801
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-side-nav--docs"
1802
1802
  }
1803
1803
  ]
1804
1804
  },
@@ -1809,7 +1809,7 @@
1809
1809
  "references": [
1810
1810
  {
1811
1811
  "name": "Documentation",
1812
- "url": "https://synergy.style/components/spinner"
1812
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-spinner--docs"
1813
1813
  }
1814
1814
  ]
1815
1815
  },
@@ -1866,7 +1866,7 @@
1866
1866
  "references": [
1867
1867
  {
1868
1868
  "name": "Documentation",
1869
- "url": "https://synergy.style/components/switch"
1869
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-switch--docs"
1870
1870
  }
1871
1871
  ]
1872
1872
  },
@@ -1898,7 +1898,7 @@
1898
1898
  "references": [
1899
1899
  {
1900
1900
  "name": "Documentation",
1901
- "url": "https://synergy.style/components/tab"
1901
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-tab--docs"
1902
1902
  }
1903
1903
  ]
1904
1904
  },
@@ -1940,7 +1940,7 @@
1940
1940
  "references": [
1941
1941
  {
1942
1942
  "name": "Documentation",
1943
- "url": "https://synergy.style/components/tab-group"
1943
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-tab-group--docs"
1944
1944
  }
1945
1945
  ]
1946
1946
  },
@@ -1962,7 +1962,7 @@
1962
1962
  "references": [
1963
1963
  {
1964
1964
  "name": "Documentation",
1965
- "url": "https://synergy.style/components/tab-panel"
1965
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-tab-panel--docs"
1966
1966
  }
1967
1967
  ]
1968
1968
  },
@@ -1988,7 +1988,7 @@
1988
1988
  "references": [
1989
1989
  {
1990
1990
  "name": "Documentation",
1991
- "url": "https://synergy.style/components/tag"
1991
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-tag--docs"
1992
1992
  }
1993
1993
  ]
1994
1994
  },
@@ -2138,7 +2138,7 @@
2138
2138
  "references": [
2139
2139
  {
2140
2140
  "name": "Documentation",
2141
- "url": "https://synergy.style/components/textarea"
2141
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-textarea--docs"
2142
2142
  }
2143
2143
  ]
2144
2144
  },
@@ -2204,7 +2204,7 @@
2204
2204
  "references": [
2205
2205
  {
2206
2206
  "name": "Documentation",
2207
- "url": "https://synergy.style/components/tooltip"
2207
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-tooltip--docs"
2208
2208
  }
2209
2209
  ]
2210
2210
  },
@@ -2241,7 +2241,7 @@
2241
2241
  "references": [
2242
2242
  {
2243
2243
  "name": "Documentation",
2244
- "url": "https://synergy.style/components/validate"
2244
+ "url": "https://synergy-design-system.github.io/?path=/docs/components-syn-validate--docs"
2245
2245
  }
2246
2246
  ]
2247
2247
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://www.sick.com"
5
5
  },
6
6
  "name": "@synergy-design-system/components",
7
- "version": "2.30.1",
7
+ "version": "2.30.3",
8
8
  "description": "",
9
9
  "repository": {
10
10
  "type": "git",
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/card/card.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 { property } from 'lit/decorators.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './card.styles.js';\nimport customStyles from './card.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Cards can be used to group related subjects in a container.\n * @documentation https://synergy.style/components/card\n * @status stable\n * @since 2.0\n *\n * @slot - The card's main content.\n * @slot header - An optional header for the card.\n * @slot footer - An optional footer for the card.\n * @slot image - An optional image to render at the start of the card.\n *\n * @csspart base - The component's base wrapper.\n * @csspart image - The container that wraps the card's image.\n * @csspart header - The container that wraps the card's header.\n * @csspart body - The container that wraps the card's main content.\n * @csspart footer - The container that wraps the card's footer.\n *\n * @cssproperty --border-color - The card's border color, including borders that occur inside the card.\n * @cssproperty --border-radius - The border radius for the card's edges.\n * @cssproperty --border-width - The width of the card's borders.\n * @cssproperty --padding - The padding to use for the card's sections.\n */\nexport default class SynCard extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly hasSlotController = new HasSlotController(this, 'footer', 'header', 'image');\n\n /** Draws the card with sharp edges. Can be used e.g. when nesting multiple syn-cards to create hierarchy. */\n @property({ type: Boolean, reflect: true }) sharp = false;\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n card: true,\n 'card--sharp': this.sharp,\n 'card--has-footer': this.hasSlotController.test('footer'),\n 'card--has-image': this.hasSlotController.test('image'),\n 'card--has-header': this.hasSlotController.test('header')\n })}\n >\n <slot name=\"image\" part=\"image\" class=\"card__image\"></slot>\n <slot name=\"header\" part=\"header\" class=\"card__header\"></slot>\n <slot part=\"body\" class=\"card__body\"></slot>\n <slot name=\"footer\" part=\"footer\" class=\"card__footer\"></slot>\n </div>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AA6BrB,IAAqB,UAArB,cAAqC,eAAe;AAAA,EAApD;AAAA;AAGE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,UAAU,UAAU,OAAO;AAGhD,iBAAQ;AAAA;AAAA,EAEpD,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,MAAM;AAAA,MACN,eAAe,KAAK;AAAA,MACpB,oBAAoB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MACxD,mBAAmB,KAAK,kBAAkB,KAAK,OAAO;AAAA,MACtD,oBAAoB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,IAC1D,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQR;AACF;AA3BqB,QACZ,SAAyB,CAAC,0BAAiB,qBAAQ,0BAAY;AAK1B;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GANvB,QAMyB;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/tooltip/tooltip.component.ts"],
4
- "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, parseDuration, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynPopup from '../popup/popup.component.js';\nimport styles from './tooltip.styles.js';\nimport customStyles from './tooltip.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Tooltips display additional information based on a specific action.\n * @documentation https://synergy.style/components/tooltip\n * @status stable\n * @since 2.0\n *\n * @dependency syn-popup\n *\n * @slot - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n * @slot content - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n *\n * @event syn-show - Emitted when the tooltip begins to show.\n * @event syn-after-show - Emitted after the tooltip has shown and all animations are complete.\n * @event syn-hide - Emitted when the tooltip begins to hide.\n * @event syn-after-hide - Emitted after the tooltip has hidden and all animations are complete.\n *\n * @csspart base - The component's base wrapper, an `<syn-popup>` element.\n * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n * @csspart base__arrow - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n * @csspart body - The tooltip's body where its content is rendered.\n *\n * @cssproperty --max-width - The maximum width of the tooltip before its content will wrap.\n * @cssproperty --hide-delay - The amount of time to wait before hiding the tooltip when hovering.\n * @cssproperty --show-delay - The amount of time to wait before showing the tooltip when hovering.\n *\n * @animation tooltip.show - The animation to use when showing the tooltip.\n * @animation tooltip.hide - The animation to use when hiding the tooltip.\n */\nexport default class SynTooltip extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-popup': SynPopup };\n\n private hoverTimeout: number;\n private readonly localize = new LocalizeController(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.tooltip__body') body: HTMLElement;\n @query('syn-popup') popup: SynPopup;\n\n /** The tooltip's content. If you need to display HTML, use the `content` slot instead. */\n @property() content = '';\n\n /**\n * The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\n * inside of the viewport.\n */\n @property() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** Disables the tooltip so it won't show when triggered. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** The distance in pixels from which to offset the tooltip away from its target. */\n @property({ type: Number }) distance = 13;\n\n /** Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods. */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** The distance in pixels from which to offset the tooltip along its target. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\n * options can be passed by separating them with a space. When manual is used, the tooltip must be activated\n * programmatically.\n */\n @property() trigger = 'hover focus';\n\n /**\n * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n * `overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\n * scenarios.\n */\n @property({ type: Boolean }) hoist = false;\n\n constructor() {\n super();\n this.addEventListener('blur', this.handleBlur, true);\n this.addEventListener('focus', this.handleFocus, true);\n this.addEventListener('click', this.handleClick);\n this.addEventListener('mouseover', this.handleMouseOver);\n this.addEventListener('mouseout', this.handleMouseOut);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n // Cleanup this event in case the tooltip is removed while open\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n firstUpdated() {\n this.body.hidden = !this.open;\n\n // If the tooltip is visible on init, update its position\n if (this.open) {\n this.popup.active = true;\n this.popup.reposition();\n }\n }\n\n private handleBlur = () => {\n if (this.hasTrigger('focus')) {\n this.hide();\n }\n };\n\n private handleClick = () => {\n if (this.hasTrigger('click')) {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n };\n\n private handleFocus = () => {\n if (this.hasTrigger('focus')) {\n this.show();\n }\n };\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Pressing escape when a tooltip is open should dismiss it\n if (event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n }\n };\n\n private handleMouseOver = () => {\n if (this.hasTrigger('hover')) {\n const delay = parseDuration(getComputedStyle(this).getPropertyValue('--show-delay'));\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = window.setTimeout(() => this.show(), delay);\n }\n };\n\n private handleMouseOut = () => {\n if (this.hasTrigger('hover')) {\n const delay = parseDuration(getComputedStyle(this).getPropertyValue('--hide-delay'));\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = window.setTimeout(() => this.hide(), delay);\n }\n };\n\n private hasTrigger(triggerType: string) {\n const triggers = this.trigger.split(' ');\n return triggers.includes(triggerType);\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n if (this.disabled) {\n return;\n }\n\n // Show\n this.emit('syn-show');\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n this.hide();\n };\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n await stopAnimations(this.body);\n this.body.hidden = false;\n this.popup.active = true;\n const { keyframes, options } = getAnimation(this, 'tooltip.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.popup.reposition();\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n\n await stopAnimations(this.body);\n const { keyframes, options } = getAnimation(this, 'tooltip.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.popup.active = false;\n this.body.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch(['content', 'distance', 'hoist', 'placement', 'skidding'])\n async handleOptionsChange() {\n if (this.hasUpdated) {\n await this.updateComplete;\n this.popup.reposition();\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n if (this.disabled && this.open) {\n this.hide();\n }\n }\n\n /** Shows the tooltip. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the tooltip */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n //\n // NOTE: Tooltip is a bit unique in that we're using aria-live instead of aria-labelledby to trick screen readers into\n // announcing the content. It works really well, but it violates an accessibility rule. We're also adding the\n // aria-describedby attribute to a slot, which is required by <syn-popup> to correctly locate the first assigned\n // element, otherwise positioning is incorrect.\n //\n render() {\n return html`\n <syn-popup\n part=\"base\"\n exportparts=\"\n popup:base__popup,\n arrow:base__arrow\n \"\n class=${classMap({\n tooltip: true,\n 'tooltip--open': this.open\n })}\n placement=${this.placement}\n distance=${this.distance}\n skidding=${this.skidding}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n arrow\n hover-bridge\n >\n ${'' /* eslint-disable-next-line lit-a11y/no-aria-slot */}\n <slot slot=\"anchor\" aria-describedby=\"tooltip\"></slot>\n\n ${'' /* eslint-disable-next-line lit-a11y/accessible-name */}\n <div part=\"body\" id=\"tooltip\" class=\"tooltip__body\" role=\"tooltip\" aria-live=${this.open ? 'polite' : 'off'}>\n <slot name=\"content\">${this.content}</slot>\n </div>\n </syn-popup>\n `;\n }\n}\n\nsetDefaultAnimation('tooltip.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 150, easing: 'ease' }\n});\n\nsetDefaultAnimation('tooltip.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 150, easing: 'ease' }\n});\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,UAAU,aAAa;AAsChC,IAAqB,aAArB,cAAwC,eAAe;AAAA,EA2DrD,cAAc;AACZ,UAAM;AAvDR,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAQ3C,mBAAU;AAMV,qBAYK;AAG2B,oBAAW;AAG3B,oBAAW;AAGK,gBAAO;AAGvB,oBAAW;AAO3B,mBAAU;AAOO,iBAAQ;AA4BrC,SAAQ,aAAa,MAAM;AACzB,UAAI,KAAK,WAAW,OAAO,GAAG;AAC5B,aAAK,KAAK;AAAA,MACZ;AAAA,IACF;AAEA,SAAQ,cAAc,MAAM;AAC1B,UAAI,KAAK,WAAW,OAAO,GAAG;AAC5B,YAAI,KAAK,MAAM;AACb,eAAK,KAAK;AAAA,QACZ,OAAO;AACL,eAAK,KAAK;AAAA,QACZ;AAAA,MACF;AAAA,IACF;AAEA,SAAQ,cAAc,MAAM;AAC1B,UAAI,KAAK,WAAW,OAAO,GAAG;AAC5B,aAAK,KAAK;AAAA,MACZ;AAAA,IACF;AAEA,SAAQ,wBAAwB,CAAC,UAAyB;AAExD,UAAI,MAAM,QAAQ,UAAU;AAC1B,cAAM,gBAAgB;AACtB,aAAK,KAAK;AAAA,MACZ;AAAA,IACF;AAEA,SAAQ,kBAAkB,MAAM;AAC9B,UAAI,KAAK,WAAW,OAAO,GAAG;AAC5B,cAAM,QAAQ,cAAc,i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B,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAzDR,WAyDU;AAgFvB;AAAA,EADL,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAxI1B,WAyIb;AA2CA;AAAA,EADL,MAAM,CAAC,WAAW,YAAY,SAAS,aAAa,UAAU,CAAC;AAAA,GAnL7C,WAoLb;AAQN;AAAA,EADC,MAAM,UAAU;AAAA,GA3LE,WA4LnB;AAiEF,oBAAoB,gBAAgB;AAAA,EAClC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,gBAAgB;AAAA,EAClC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/radio/radio.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 { property, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './radio.styles.js';\nimport customStyles from './radio.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Radios allow the user to select a single option from a group.\n * @documentation https://synergy.style/components/radio\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The radio's label.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-focus - Emitted when the control gains focus.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The circular container that wraps the radio's checked state.\n * @csspart control--checked - The radio control when the radio is checked.\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart label - The container that wraps the radio's label.\n */\n@enableDefaultSettings('SynRadio')\nexport default class SynRadio extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n @state() checked = false;\n @state() protected hasFocus = false;\n\n /** The radio's value. When selected, the radio group will receive this value. */\n @property() value: string;\n\n /**\n * The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\n * attribute can typically be omitted.\n */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Disables the radio. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n constructor() {\n super();\n this.addEventListener('blur', this.handleBlur);\n this.addEventListener('click', this.handleClick);\n this.addEventListener('focus', this.handleFocus);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.setInitialAttributes();\n }\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.emit('syn-blur');\n };\n\n private handleClick = () => {\n if (!this.disabled) {\n this.checked = true;\n }\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.emit('syn-focus');\n };\n\n private setInitialAttributes() {\n this.setAttribute('role', 'radio');\n this.setAttribute('tabindex', '-1');\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('checked')\n handleCheckedChange() {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n this.setAttribute('tabindex', this.checked ? '0' : '-1');\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n radio: true,\n 'radio--checked': this.checked,\n 'radio--disabled': this.disabled,\n 'radio--focused': this.hasFocus,\n 'radio--small': this.size === 'small',\n 'radio--medium': this.size === 'medium',\n 'radio--large': this.size === 'large'\n })}\n >\n <span part=\"${`control${this.checked ? ' control--checked' : ''}`}\" class=\"radio__control\">\n ${this.checked\n ? html` <syn-icon part=\"checked-icon\" class=\"radio__checked-icon\" library=\"system\" name=\"radio\"></syn-icon> `\n : ''}\n </span>\n\n <slot part=\"label\" class=\"radio__label\"></slot>\n </span>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,UAAU,aAAa;AA8BhC,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAmBnD,cAAc;AACZ,UAAM;AAhBC,mBAAU;AACV,SAAU,WAAW;AASD,gBAAqC;AAGtB,oBAAW;AAcvD,SAAQ,aAAa,MAAM;AACzB,WAAK,WAAW;AAChB,WAAK,KAAK,UAAU;AAAA,IACtB;AAEA,SAAQ,cAAc,MAAM;AAC1B,UAAI,CAAC,KAAK,UAAU;AAClB,aAAK,UAAU;AAAA,MACjB;AAAA,IACF;AAEA,SAAQ,cAAc,MAAM;AAC1B,WAAK,WAAW;AAChB,WAAK,KAAK,WAAW;AAAA,IACvB;AAxBE,SAAK,iBAAiB,QAAQ,KAAK,UAAU;AAC7C,SAAK,iBAAiB,SAAS,KAAK,WAAW;AAC/C,SAAK,iBAAiB,SAAS,KAAK,WAAW;AAAA,EACjD;AAAA,EAEA,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,qBAAqB;AAAA,EAC5B;AAAA,EAkBQ,uBAAuB;AAC7B,SAAK,aAAa,QAAQ,OAAO;AACjC,SAAK,aAAa,YAAY,IAAI;AAClC,SAAK,aAAa,iBAAiB,KAAK,WAAW,SAAS,OAAO;AAAA,EACrE;AAAA,EAGA,sBAAsB;A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components/alert/alert.component.ts"],
4
- "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { blurActiveElement } from '../../internal/closeActiveElement.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './alert.styles.js';\nimport customStyles from './alert.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Alerts are used to display important messages inline or as toast notifications.\n * @documentation https://synergy.style/components/alert\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The alert's main content.\n * @slot icon - An icon to show in the alert. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the alert opens.\n * @event syn-after-show - Emitted after the alert opens and all animations are complete.\n * @event syn-hide - Emitted when the alert closes.\n * @event syn-after-hide - Emitted after the alert closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The container that wraps the optional icon.\n * @csspart message - The container that wraps the alert's main content.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n *\n * @animation alert.show - The animation to use when showing the alert.\n * @animation alert.hide - The animation to use when hiding the alert.\n */\n@enableDefaultSettings('SynAlert')\nexport default class SynAlert extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private autoHideTimeout: number;\n private remainingTimeInterval: number;\n private countdownAnimation?: Animation;\n private readonly hasSlotController = new HasSlotController(this, 'icon', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n private static currentToastStack: HTMLDivElement;\n\n private static get toastStack() {\n if (!this.currentToastStack) {\n this.currentToastStack = Object.assign(document.createElement('div'), {\n className: 'syn-toast-stack'\n });\n }\n return this.currentToastStack;\n }\n\n @query('[part~=\"base\"]') base: HTMLElement;\n\n @query('.alert__countdown-elapsed') countdownElement: HTMLElement;\n\n /**\n * Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** Enables a close button that allows the user to dismiss the alert. */\n @property({ type: Boolean, reflect: true }) closable = false;\n\n /** The alert's theme variant. */\n @property({ reflect: true }) variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger' = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\n * the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\n * the alert will not close on its own.\n */\n @property({ type: Number }) duration = Infinity;\n\n /**\n * Enables a countdown that indicates the remaining time the alert will be displayed.\n * Typically used to indicate the remaining time before a whole app refresh.\n */\n private countdown? : 'rtl' | 'ltr';\n\n @state() private remainingTime = this.duration;\n\n firstUpdated() {\n this.base.hidden = !this.open;\n }\n\n private restartAutoHide() {\n this.handleCountdownChange();\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n this.remainingTime = this.duration;\n this.remainingTimeInterval = window.setInterval(() => {\n this.remainingTime -= 100;\n }, 100);\n }\n }\n\n private pauseAutoHide() {\n this.countdownAnimation?.pause();\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n }\n\n private resumeAutoHide() {\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.remainingTime);\n this.remainingTimeInterval = window.setInterval(() => {\n this.remainingTime -= 100;\n }, 100);\n this.countdownAnimation?.play();\n }\n }\n\n private handleCountdownChange() {\n if (this.open && this.duration < Infinity && this.countdown) {\n const { countdownElement } = this;\n const start = '100%';\n const end = '0';\n this.countdownAnimation = countdownElement.animate([{ width: start }, { width: end }], {\n duration: this.duration,\n easing: 'linear'\n });\n }\n }\n\n private handleCloseClick() {\n this.hide();\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n\n if (this.duration < Infinity) {\n this.restartAutoHide();\n }\n\n await stopAnimations(this.base);\n this.base.hidden = false;\n const { keyframes, options } = getAnimation(this, 'alert.show', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n blurActiveElement(this);\n this.emit('syn-hide');\n\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n\n await stopAnimations(this.base);\n const { keyframes, options } = getAnimation(this, 'alert.hide', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n this.base.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Shows the alert. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the alert */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n */\n async toast() {\n return new Promise<void>(resolve => {\n this.handleCountdownChange();\n if (SynAlert.toastStack.parentElement === null) {\n document.body.append(SynAlert.toastStack);\n }\n\n SynAlert.toastStack.appendChild(this);\n\n // Wait for the toast stack to render\n requestAnimationFrame(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- force a reflow for the initial transition\n this.clientWidth;\n this.show();\n });\n\n this.addEventListener(\n 'syn-after-hide',\n () => {\n SynAlert.toastStack.removeChild(this);\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (SynAlert.toastStack.querySelector('syn-alert') === null) {\n SynAlert.toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n alert: true,\n 'alert--open': this.open,\n 'alert--closable': this.closable,\n 'alert--has-icon': this.hasSlotController.test('icon'),\n 'alert--primary': this.variant === 'primary',\n 'alert--success': this.variant === 'success',\n 'alert--neutral': this.variant === 'neutral',\n 'alert--warning': this.variant === 'warning',\n 'alert--danger': this.variant === 'danger'\n })}\n role=\"alert\"\n aria-hidden=${this.open ? 'false' : 'true'}\n @mouseenter=${this.pauseAutoHide}\n @mouseleave=${this.resumeAutoHide}\n >\n <div part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\"></slot>\n </div>\n\n <div part=\"message\" class=\"alert__message\" aria-live=\"polite\">\n <slot></slot>\n </div>\n\n ${this.closable\n ? html`\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"alert__close-button\"\n name=\"x-lg\"\n library=\"system\"\n label=${this.localize.term('close')}\n @click=${this.handleCloseClick}\n ></syn-icon-button>\n `\n : ''}\n\n <div role=\"timer\" class=\"alert__timer\">${this.remainingTime}</div>\n\n ${this.countdown\n ? html`\n <div\n class=${classMap({\n alert__countdown: true,\n 'alert__countdown--ltr': this.countdown === 'ltr'\n })}\n >\n <div class=\"alert__countdown-elapsed\"></div>\n </div>\n `\n : ''}\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('alert.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('alert.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AAqCvC,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ,QAAQ;AACjF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAqBX,gBAAO;AAGP,oBAAW;AAG1B,mBAAoE;AAOrE,oBAAW;AAQ9B,SAAQ,gBAAgB,KAAK;AAAA;AAAA,EAtCtC,WAAmB,aAAa;AAC9B,QAAI,CAAC,KAAK,mBAAmB;AAC3B,WAAK,oBAAoB,OAAO,OAAO,SAAS,cAAc,KAAK,GAAG;AAAA,QACpE,WAAW;AAAA,MACb,CAAC;AAAA,IACH;AACA,WAAO,KAAK;AAAA,EACd;AAAA,EAiCA,eAAe;AACb,SAAK,KAAK,SAAS,CAAC,KAAK;AAAA,EAC3B;AAAA,EAEQ,kBAAkB;AACxB,SAAK,sBAAsB;AAC3B,iBAAa,KAAK,eAAe;AACjC,kBAAc,KAAK,qBAAqB;AACxC,QAAI,KAAK,QAAQ,KAAK,WAAW,UAAU;AACzC,WAAK,kBAAkB,OAAO,WAAW,MAAM,KAAK,KAAK,GAAG,KAAK,QAAQ;AACzE,WAAK,gBAAgB,KAAK;AAC1B,WAAK,wBAAwB,OAAO,YAAY,MAAM;AACpD,aAAK,iBAAiB;AAAA,MACxB,GAAG,GAAG;AAAA,IACR;AAAA,EACF;AAAA,EAEQ,gBAAgB;AAzH1B;AA0HI,eAAK,uBAAL,mBAAyB;AACzB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M,OAAO,CAAC;AAAA,GA1CP,SA0CS;AAQX;AAAA,EAAhB,MAAM;AAAA,GAlDY,SAkDF;AAoDX;AAAA,EADL,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GArG1B,SAsGb;AAiCN;AAAA,EADC,MAAM,UAAU;AAAA,GAtIE,SAuInB;AAvImB,WAArB;AAAA,EADC,sBAAsB,UAAU;AAAA,GACZ;AAiQrB,oBAAoB,cAAc;AAAA,EAChC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,cAAc;AAAA,EAChC,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": []
7
- }
@@ -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 /** Tells the browser where to open the link. Only used when `href` is present. */\n @property() target: '_blank' | '_parent' | '_self' | '_top';\n\n /**\n * When using `href`, this attribute will map to the underlying link's `rel` attribute.\n * Unlike regular links, the default is `noreferrer noopener` to prevent security exploits.\n *\n * However, if you're using `target` to point to a specific tab/window,\n * this will prevent that from working correctly.\n *\n * You can remove or change the default value by setting the attribute\n * to an empty string or a value of your choice, respectively.\n */\n @property() rel = 'noreferrer noopener';\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 rel=${ifDefined(isLink ? this.rel : undefined)}\n tabindex=${this.disabled ? '-1' : '0'}\n target=${ifDefined(isLink ? this.target : undefined)}\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"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AAEzB,SAAS,MAAM,eAAe;AAC9B,SAAS,UAAU,OAAO,aAAa;AACvC,SAAS,iBAAiB;AAqD1B,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,YAAY,UAAU,QAAQ;AASnG,SAAQ,WAAW;AAKnB,SAAQ,iBAAiB;AAKzB,SAAQ,qBAAqB;AAK7B,SAAQ,cAAc;AAkCnB,eAAM;AAM0B,mBAAU;AAKV,oBAAW;AAKX,sBAAa;AAMb,mBAAU;AAMV,gBAAO;AAMP,mBAAU;AAAA;AAAA,EAE9C,WAAoB;AAC1B,WAAO,CAAC,KAAK,QAAQ,CAAC,KAAK,kBAAkB,KAAK,UAAU;AAAA,EAC9D;AAAA,EAEQ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