@synergy-design-system/components 3.15.0 → 3.15.2

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 (317) hide show
  1. package/dist/chunks/{chunk.4BFT5LEF.js → chunk.2ADNOGY5.js} +3 -3
  2. package/dist/chunks/{chunk.I6SXQWDC.js → chunk.2BSMYHJN.js} +2 -2
  3. package/dist/chunks/{chunk.I6SXQWDC.js.map → chunk.2BSMYHJN.js.map} +1 -1
  4. package/dist/chunks/{chunk.WQLXRYQ2.js → chunk.2EJW4STG.js} +3 -3
  5. package/dist/chunks/{chunk.2YVA4OUO.js → chunk.2EWK27AC.js} +2 -2
  6. package/dist/chunks/{chunk.4MAKWN2N.js → chunk.2S6N4OOA.js} +3 -3
  7. package/dist/chunks/{chunk.JKWFONJR.js → chunk.3744BB56.js} +2 -2
  8. package/dist/chunks/{chunk.PQHDGUTC.js → chunk.3LH5PCKP.js} +2 -2
  9. package/dist/chunks/{chunk.QFK4BWZ6.js → chunk.3SD5AQP6.js} +2 -2
  10. package/dist/chunks/{chunk.OALMQIRE.js → chunk.45H5V3H7.js} +2 -2
  11. package/dist/chunks/{chunk.DLL5W3ZJ.js → chunk.4GJY332X.js} +2 -2
  12. package/dist/chunks/{chunk.6T5EGTBN.js → chunk.4J6STQZN.js} +2 -2
  13. package/dist/chunks/{chunk.4Z62DIM4.js → chunk.4JUFQZOR.js} +2 -2
  14. package/dist/chunks/{chunk.VE2T6HAL.js → chunk.5PKT7BJN.js} +2 -2
  15. package/dist/chunks/{chunk.6JLGDIZN.js → chunk.63WHIDDN.js} +3 -3
  16. package/dist/chunks/{chunk.6IFF3BED.js → chunk.6EAXR5X7.js} +2 -2
  17. package/dist/chunks/{chunk.YUMNEVP3.js → chunk.6UV5PHFL.js} +2 -2
  18. package/dist/chunks/{chunk.RDMO2UH7.js → chunk.7PDPR4C7.js} +3 -3
  19. package/dist/chunks/{chunk.DHQJAZF2.js → chunk.7V7H5Z5L.js} +3 -3
  20. package/dist/chunks/{chunk.NATV3SOS.js → chunk.7YDAEFXE.js} +2 -2
  21. package/dist/chunks/{chunk.G2N4FNGS.js → chunk.A3UZ4BO2.js} +2 -2
  22. package/dist/chunks/{chunk.2MRSETN4.js → chunk.AE3G4R2R.js} +3 -3
  23. package/dist/chunks/{chunk.M6C6JSLQ.js → chunk.BF5XB4WT.js} +2 -2
  24. package/dist/chunks/{chunk.XWJQL2PJ.js → chunk.BIMSHE7R.js} +5 -5
  25. package/dist/chunks/{chunk.QRELZJK5.js → chunk.BNR4EEG2.js} +3 -3
  26. package/dist/chunks/{chunk.OEZUSU4X.js → chunk.BPBHAKA5.js} +3 -3
  27. package/dist/chunks/{chunk.A7GQXYLM.js → chunk.CFTOBSOS.js} +2 -2
  28. package/dist/chunks/{chunk.JQFCCLGC.js → chunk.CJXSSAOK.js} +4 -4
  29. package/dist/chunks/{chunk.MATHFTIS.js → chunk.CPBARG25.js} +2 -2
  30. package/dist/chunks/{chunk.4KQFHOHJ.js → chunk.D2TYSIR5.js} +2 -2
  31. package/dist/chunks/{chunk.2WS74BS6.js → chunk.DETWAUJL.js} +3 -3
  32. package/dist/chunks/{chunk.5ST4HY7J.js → chunk.DJCD5G4M.js} +2 -2
  33. package/dist/chunks/{chunk.YEB6KF5S.js → chunk.DTF7A7ME.js} +2 -2
  34. package/dist/chunks/{chunk.7PA6HY7U.js → chunk.E74UJIMU.js} +2 -2
  35. package/dist/chunks/{chunk.7GAHAOJA.js → chunk.EAIXTZNX.js} +2 -2
  36. package/dist/chunks/{chunk.M473Q4V4.js → chunk.EL5WVPZF.js} +2 -2
  37. package/dist/chunks/{chunk.Z3RGY64L.js → chunk.EMSMKFCP.js} +2 -2
  38. package/dist/chunks/{chunk.OEOFOKID.js → chunk.EYMSCLDO.js} +2 -2
  39. package/dist/chunks/{chunk.CCS4NM5K.js → chunk.F2AN52ZO.js} +3 -3
  40. package/dist/chunks/{chunk.XSVKFERS.js → chunk.F4GIB2BV.js} +2 -2
  41. package/dist/chunks/{chunk.3TDFWSNN.js → chunk.FMSHUSJM.js} +6 -6
  42. package/dist/chunks/{chunk.ROUT2YKM.js → chunk.FVR5Z5R5.js} +2 -2
  43. package/dist/chunks/{chunk.M63R2TMY.js → chunk.G4LOVT5J.js} +2 -2
  44. package/dist/chunks/{chunk.DBBJCUIF.js → chunk.GU7E7TWG.js} +2 -2
  45. package/dist/chunks/{chunk.D7FFGNDS.js → chunk.H2OE5W4M.js} +4 -4
  46. package/dist/chunks/{chunk.CSTCNSYW.js → chunk.H6QB2TKL.js} +2 -2
  47. package/dist/chunks/{chunk.A3CI2V6B.js → chunk.HCVPK6D5.js} +3 -3
  48. package/dist/chunks/{chunk.GCDLYGIW.js → chunk.HMXDETIH.js} +2 -2
  49. package/dist/chunks/{chunk.NYVHSDGR.js → chunk.HT5GHIET.js} +2 -2
  50. package/dist/chunks/{chunk.MLYSQ3HZ.js → chunk.IA4AXVW2.js} +6 -6
  51. package/dist/chunks/{chunk.I4DKSC24.js → chunk.IY7EBI4V.js} +2 -2
  52. package/dist/chunks/{chunk.TLGTIZXS.js → chunk.IZJPS4J3.js} +2 -2
  53. package/dist/chunks/{chunk.LKURUUTA.js → chunk.JAA5IMXQ.js} +2 -2
  54. package/dist/chunks/{chunk.5ZHC7OVQ.js → chunk.JROK5H7S.js} +2 -2
  55. package/dist/chunks/{chunk.QSTWWWP6.js → chunk.JTBA4VNK.js} +2 -2
  56. package/dist/chunks/{chunk.AJ25FT4Y.js → chunk.JZDL3LN5.js} +3 -3
  57. package/dist/chunks/{chunk.XESXQCDS.js → chunk.KQUA4B4U.js} +55 -29
  58. package/dist/chunks/chunk.KQUA4B4U.js.map +7 -0
  59. package/dist/chunks/{chunk.4PH52MA5.js → chunk.KWQ3MGDP.js} +4 -4
  60. package/dist/chunks/{chunk.EIE57OYB.js → chunk.L7UNOSP3.js} +2 -2
  61. package/dist/chunks/{chunk.NXIQ25W4.js → chunk.M3HEPL2F.js} +1 -9
  62. package/dist/chunks/{chunk.NXIQ25W4.js.map → chunk.M3HEPL2F.js.map} +2 -2
  63. package/dist/chunks/{chunk.DRBZZW6W.js → chunk.MH2E2IPK.js} +2 -2
  64. package/dist/chunks/{chunk.JHFBQPJU.js → chunk.MULTZVJW.js} +3 -3
  65. package/dist/chunks/{chunk.CLQRSMYY.js → chunk.NAG43BDB.js} +2 -2
  66. package/dist/chunks/{chunk.3ME2BNFP.js → chunk.NBEUC67F.js} +2 -2
  67. package/dist/chunks/{chunk.4E4O4QN3.js → chunk.NFY5KWSX.js} +2 -2
  68. package/dist/chunks/{chunk.RLEKWHPP.js → chunk.NGK6YYKK.js} +2 -2
  69. package/dist/chunks/{chunk.4TNNRNJ2.js → chunk.NJLFPU67.js} +2 -2
  70. package/dist/chunks/{chunk.QFCR6XW7.js → chunk.O2YNTJ6T.js} +7 -7
  71. package/dist/chunks/{chunk.WY6I2EK7.js → chunk.OXNPHVTR.js} +2 -2
  72. package/dist/chunks/{chunk.2X657DWT.js → chunk.P6V5MX4S.js} +3 -3
  73. package/dist/chunks/{chunk.NW36ULCW.js → chunk.PGRGRIL5.js} +2 -2
  74. package/dist/chunks/{chunk.TEITNMKQ.js → chunk.POHHWKQC.js} +2 -2
  75. package/dist/chunks/{chunk.XXSAUCGB.js → chunk.PT7UILQQ.js} +6 -12
  76. package/dist/chunks/chunk.PT7UILQQ.js.map +7 -0
  77. package/dist/chunks/{chunk.MGN42Q2J.js → chunk.QRBNFJRM.js} +4 -4
  78. package/dist/chunks/{chunk.ZLOTPATJ.js → chunk.QVSEPWVF.js} +2 -2
  79. package/dist/chunks/{chunk.OFJCXFPW.js → chunk.QW5HIIYQ.js} +6 -6
  80. package/dist/chunks/{chunk.2EXMKOLT.js → chunk.R2ENJQ4Y.js} +2 -2
  81. package/dist/chunks/{chunk.AMBNCC5O.js → chunk.T4NOIWVH.js} +3 -3
  82. package/dist/chunks/{chunk.AMBNCC5O.js.map → chunk.T4NOIWVH.js.map} +2 -2
  83. package/dist/chunks/{chunk.2UOSXUU3.js → chunk.T4ZHEQIO.js} +2 -2
  84. package/dist/chunks/{chunk.YVLSZJ7H.js → chunk.TOPPZ36M.js} +2 -2
  85. package/dist/chunks/{chunk.ATMIBLAO.js → chunk.U5SE35FY.js} +2 -2
  86. package/dist/chunks/{chunk.HDQDFVE4.js → chunk.U62LHCM3.js} +4 -4
  87. package/dist/chunks/{chunk.KWAEDVDZ.js → chunk.UBB6AZO6.js} +2 -2
  88. package/dist/chunks/{chunk.HHUJOPYO.js → chunk.UHZCCHTZ.js} +5 -5
  89. package/dist/chunks/{chunk.4T52KMAG.js → chunk.UI5NSNHU.js} +2 -2
  90. package/dist/chunks/{chunk.ZY5NEWZH.js → chunk.UPUO2IGL.js} +3 -3
  91. package/dist/chunks/{chunk.ANDSC2QJ.js → chunk.URA76JI7.js} +3 -3
  92. package/dist/chunks/{chunk.UWXFPVN3.js → chunk.V36ZCSSN.js} +2 -2
  93. package/dist/chunks/{chunk.RFYXJAYA.js → chunk.V4ZPSG67.js} +2 -2
  94. package/dist/chunks/{chunk.TLBIUBMQ.js → chunk.VFIAWH7L.js} +2 -2
  95. package/dist/chunks/{chunk.BC532CB6.js → chunk.WUGCLTH6.js} +78 -1
  96. package/dist/chunks/chunk.WUGCLTH6.js.map +7 -0
  97. package/dist/chunks/{chunk.MWIPNIEK.js → chunk.X7EXQLXV.js} +2 -2
  98. package/dist/chunks/{chunk.JHOTGDR3.js → chunk.XD6DCVJH.js} +2 -2
  99. package/dist/chunks/{chunk.57V3JOLU.js → chunk.XF5GFFG6.js} +2 -2
  100. package/dist/chunks/{chunk.ASG4JOWC.js → chunk.XO4KGELU.js} +2 -2
  101. package/dist/chunks/{chunk.RGAAIV7P.js → chunk.XPL4VISO.js} +2 -2
  102. package/dist/chunks/{chunk.CXIGBRNG.js → chunk.Y3HBP67Q.js} +2 -2
  103. package/dist/chunks/{chunk.2FDZZMAW.js → chunk.YMJFK2Q6.js} +2 -2
  104. package/dist/chunks/{chunk.5YIAILXU.js → chunk.YWCWBZAI.js} +2 -2
  105. package/dist/chunks/{chunk.MPZBXWTB.js → chunk.Z2AXIRZ5.js} +2 -2
  106. package/dist/chunks/{chunk.HGPCD64A.js → chunk.Z3IISNF4.js} +2 -2
  107. package/dist/chunks/{chunk.E723NXDA.js → chunk.ZQAAVC6U.js} +2 -2
  108. package/dist/chunks/{chunk.KFMSAISK.js → chunk.ZUV4DCUD.js} +2 -2
  109. package/dist/components/accordion/accordion.component.js +2 -2
  110. package/dist/components/accordion/accordion.js +3 -3
  111. package/dist/components/alert/alert.component.js +4 -4
  112. package/dist/components/alert/alert.js +5 -5
  113. package/dist/components/badge/badge.component.js +2 -2
  114. package/dist/components/badge/badge.js +3 -3
  115. package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
  116. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  117. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  118. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  119. package/dist/components/button/button.component.js +4 -4
  120. package/dist/components/button/button.js +5 -5
  121. package/dist/components/button-group/button-group.component.js +2 -2
  122. package/dist/components/button-group/button-group.js +3 -3
  123. package/dist/components/card/card.component.js +2 -2
  124. package/dist/components/card/card.js +3 -3
  125. package/dist/components/chart/chart.component.js +2 -2
  126. package/dist/components/chart/chart.js +2 -2
  127. package/dist/components/checkbox/checkbox.component.js +3 -3
  128. package/dist/components/checkbox/checkbox.js +4 -4
  129. package/dist/components/combobox/combobox.component.js +7 -7
  130. package/dist/components/combobox/combobox.js +8 -8
  131. package/dist/components/details/details.component.js +3 -3
  132. package/dist/components/details/details.js +4 -4
  133. package/dist/components/dialog/dialog.component.js +4 -4
  134. package/dist/components/dialog/dialog.js +5 -5
  135. package/dist/components/divider/divider.component.js +2 -2
  136. package/dist/components/divider/divider.js +3 -3
  137. package/dist/components/drawer/drawer.component.js +4 -4
  138. package/dist/components/drawer/drawer.js +5 -5
  139. package/dist/components/dropdown/dropdown.component.js +3 -3
  140. package/dist/components/dropdown/dropdown.js +4 -4
  141. package/dist/components/file/file.component.js +5 -5
  142. package/dist/components/file/file.js +6 -6
  143. package/dist/components/header/header.component.js +3 -3
  144. package/dist/components/header/header.js +4 -4
  145. package/dist/components/icon/icon.component.js +2 -2
  146. package/dist/components/icon/icon.js +3 -3
  147. package/dist/components/icon-button/icon-button.component.js +3 -3
  148. package/dist/components/icon-button/icon-button.js +4 -4
  149. package/dist/components/input/input.component.js +4 -4
  150. package/dist/components/input/input.js +5 -5
  151. package/dist/components/menu/menu.component.d.ts +4 -0
  152. package/dist/components/menu/menu.component.js +3 -3
  153. package/dist/components/menu/menu.js +4 -4
  154. package/dist/components/menu/menu.styles.js +1 -1
  155. package/dist/components/menu-item/menu-item.component.d.ts +0 -1
  156. package/dist/components/menu-item/menu-item.component.js +6 -6
  157. package/dist/components/menu-item/menu-item.js +7 -7
  158. package/dist/components/menu-item/submenu-controller.d.ts +10 -0
  159. package/dist/components/menu-item/submenu-controller.js +1 -1
  160. package/dist/components/menu-label/menu-label.component.js +3 -3
  161. package/dist/components/menu-label/menu-label.js +4 -4
  162. package/dist/components/nav-item/nav-item.component.js +4 -4
  163. package/dist/components/nav-item/nav-item.js +5 -5
  164. package/dist/components/optgroup/optgroup.component.js +3 -3
  165. package/dist/components/optgroup/optgroup.js +4 -4
  166. package/dist/components/option/option.component.js +3 -3
  167. package/dist/components/option/option.js +4 -4
  168. package/dist/components/pagination/pagination.component.js +10 -10
  169. package/dist/components/pagination/pagination.js +11 -11
  170. package/dist/components/popup/popup.component.js +2 -2
  171. package/dist/components/popup/popup.js +3 -3
  172. package/dist/components/prio-nav/prio-nav.component.js +9 -9
  173. package/dist/components/prio-nav/prio-nav.js +10 -10
  174. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  175. package/dist/components/progress-bar/progress-bar.js +3 -3
  176. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  177. package/dist/components/progress-ring/progress-ring.js +3 -3
  178. package/dist/components/radio/radio.component.js +3 -3
  179. package/dist/components/radio/radio.js +4 -4
  180. package/dist/components/radio-button/radio-button.component.js +2 -2
  181. package/dist/components/radio-button/radio-button.js +3 -3
  182. package/dist/components/radio-group/radio-group.component.js +3 -3
  183. package/dist/components/radio-group/radio-group.js +4 -4
  184. package/dist/components/range/range.component.js +4 -4
  185. package/dist/components/range/range.js +5 -5
  186. package/dist/components/range-tick/range-tick.component.js +2 -2
  187. package/dist/components/range-tick/range-tick.js +3 -3
  188. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  189. package/dist/components/select/select.component.js +6 -6
  190. package/dist/components/select/select.js +7 -7
  191. package/dist/components/side-nav/side-nav.component.js +7 -7
  192. package/dist/components/side-nav/side-nav.js +8 -8
  193. package/dist/components/spinner/spinner.component.js +2 -2
  194. package/dist/components/spinner/spinner.js +3 -3
  195. package/dist/components/switch/switch.component.js +2 -2
  196. package/dist/components/switch/switch.js +3 -3
  197. package/dist/components/tab/tab.component.js +4 -4
  198. package/dist/components/tab/tab.js +5 -5
  199. package/dist/components/tab-group/tab-group.component.js +5 -5
  200. package/dist/components/tab-group/tab-group.js +6 -6
  201. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  202. package/dist/components/tab-panel/tab-panel.js +3 -3
  203. package/dist/components/tag/tag.component.js +4 -4
  204. package/dist/components/tag/tag.js +5 -5
  205. package/dist/components/tag-group/tag-group.component.js +2 -2
  206. package/dist/components/tag-group/tag-group.js +3 -3
  207. package/dist/components/textarea/textarea.component.js +2 -2
  208. package/dist/components/textarea/textarea.js +3 -3
  209. package/dist/components/tooltip/tooltip.component.js +3 -3
  210. package/dist/components/tooltip/tooltip.js +4 -4
  211. package/dist/components/validate/utility.js +2 -2
  212. package/dist/components/validate/validate.component.js +8 -8
  213. package/dist/components/validate/validate.js +9 -9
  214. package/dist/custom-elements.json +7410 -7365
  215. package/dist/styles/index.css +1 -1
  216. package/dist/synergy.js +101 -101
  217. package/dist/vscode.html-custom-data.json +578 -578
  218. package/package.json +15 -15
  219. package/dist/chunks/chunk.BC532CB6.js.map +0 -7
  220. package/dist/chunks/chunk.XESXQCDS.js.map +0 -7
  221. package/dist/chunks/chunk.XXSAUCGB.js.map +0 -7
  222. /package/dist/chunks/{chunk.4BFT5LEF.js.map → chunk.2ADNOGY5.js.map} +0 -0
  223. /package/dist/chunks/{chunk.WQLXRYQ2.js.map → chunk.2EJW4STG.js.map} +0 -0
  224. /package/dist/chunks/{chunk.2YVA4OUO.js.map → chunk.2EWK27AC.js.map} +0 -0
  225. /package/dist/chunks/{chunk.4MAKWN2N.js.map → chunk.2S6N4OOA.js.map} +0 -0
  226. /package/dist/chunks/{chunk.JKWFONJR.js.map → chunk.3744BB56.js.map} +0 -0
  227. /package/dist/chunks/{chunk.PQHDGUTC.js.map → chunk.3LH5PCKP.js.map} +0 -0
  228. /package/dist/chunks/{chunk.QFK4BWZ6.js.map → chunk.3SD5AQP6.js.map} +0 -0
  229. /package/dist/chunks/{chunk.OALMQIRE.js.map → chunk.45H5V3H7.js.map} +0 -0
  230. /package/dist/chunks/{chunk.DLL5W3ZJ.js.map → chunk.4GJY332X.js.map} +0 -0
  231. /package/dist/chunks/{chunk.6T5EGTBN.js.map → chunk.4J6STQZN.js.map} +0 -0
  232. /package/dist/chunks/{chunk.4Z62DIM4.js.map → chunk.4JUFQZOR.js.map} +0 -0
  233. /package/dist/chunks/{chunk.VE2T6HAL.js.map → chunk.5PKT7BJN.js.map} +0 -0
  234. /package/dist/chunks/{chunk.6JLGDIZN.js.map → chunk.63WHIDDN.js.map} +0 -0
  235. /package/dist/chunks/{chunk.6IFF3BED.js.map → chunk.6EAXR5X7.js.map} +0 -0
  236. /package/dist/chunks/{chunk.YUMNEVP3.js.map → chunk.6UV5PHFL.js.map} +0 -0
  237. /package/dist/chunks/{chunk.RDMO2UH7.js.map → chunk.7PDPR4C7.js.map} +0 -0
  238. /package/dist/chunks/{chunk.DHQJAZF2.js.map → chunk.7V7H5Z5L.js.map} +0 -0
  239. /package/dist/chunks/{chunk.NATV3SOS.js.map → chunk.7YDAEFXE.js.map} +0 -0
  240. /package/dist/chunks/{chunk.G2N4FNGS.js.map → chunk.A3UZ4BO2.js.map} +0 -0
  241. /package/dist/chunks/{chunk.2MRSETN4.js.map → chunk.AE3G4R2R.js.map} +0 -0
  242. /package/dist/chunks/{chunk.M6C6JSLQ.js.map → chunk.BF5XB4WT.js.map} +0 -0
  243. /package/dist/chunks/{chunk.XWJQL2PJ.js.map → chunk.BIMSHE7R.js.map} +0 -0
  244. /package/dist/chunks/{chunk.QRELZJK5.js.map → chunk.BNR4EEG2.js.map} +0 -0
  245. /package/dist/chunks/{chunk.OEZUSU4X.js.map → chunk.BPBHAKA5.js.map} +0 -0
  246. /package/dist/chunks/{chunk.A7GQXYLM.js.map → chunk.CFTOBSOS.js.map} +0 -0
  247. /package/dist/chunks/{chunk.JQFCCLGC.js.map → chunk.CJXSSAOK.js.map} +0 -0
  248. /package/dist/chunks/{chunk.MATHFTIS.js.map → chunk.CPBARG25.js.map} +0 -0
  249. /package/dist/chunks/{chunk.4KQFHOHJ.js.map → chunk.D2TYSIR5.js.map} +0 -0
  250. /package/dist/chunks/{chunk.2WS74BS6.js.map → chunk.DETWAUJL.js.map} +0 -0
  251. /package/dist/chunks/{chunk.5ST4HY7J.js.map → chunk.DJCD5G4M.js.map} +0 -0
  252. /package/dist/chunks/{chunk.YEB6KF5S.js.map → chunk.DTF7A7ME.js.map} +0 -0
  253. /package/dist/chunks/{chunk.7PA6HY7U.js.map → chunk.E74UJIMU.js.map} +0 -0
  254. /package/dist/chunks/{chunk.7GAHAOJA.js.map → chunk.EAIXTZNX.js.map} +0 -0
  255. /package/dist/chunks/{chunk.M473Q4V4.js.map → chunk.EL5WVPZF.js.map} +0 -0
  256. /package/dist/chunks/{chunk.Z3RGY64L.js.map → chunk.EMSMKFCP.js.map} +0 -0
  257. /package/dist/chunks/{chunk.OEOFOKID.js.map → chunk.EYMSCLDO.js.map} +0 -0
  258. /package/dist/chunks/{chunk.CCS4NM5K.js.map → chunk.F2AN52ZO.js.map} +0 -0
  259. /package/dist/chunks/{chunk.XSVKFERS.js.map → chunk.F4GIB2BV.js.map} +0 -0
  260. /package/dist/chunks/{chunk.3TDFWSNN.js.map → chunk.FMSHUSJM.js.map} +0 -0
  261. /package/dist/chunks/{chunk.ROUT2YKM.js.map → chunk.FVR5Z5R5.js.map} +0 -0
  262. /package/dist/chunks/{chunk.M63R2TMY.js.map → chunk.G4LOVT5J.js.map} +0 -0
  263. /package/dist/chunks/{chunk.DBBJCUIF.js.map → chunk.GU7E7TWG.js.map} +0 -0
  264. /package/dist/chunks/{chunk.D7FFGNDS.js.map → chunk.H2OE5W4M.js.map} +0 -0
  265. /package/dist/chunks/{chunk.CSTCNSYW.js.map → chunk.H6QB2TKL.js.map} +0 -0
  266. /package/dist/chunks/{chunk.A3CI2V6B.js.map → chunk.HCVPK6D5.js.map} +0 -0
  267. /package/dist/chunks/{chunk.GCDLYGIW.js.map → chunk.HMXDETIH.js.map} +0 -0
  268. /package/dist/chunks/{chunk.NYVHSDGR.js.map → chunk.HT5GHIET.js.map} +0 -0
  269. /package/dist/chunks/{chunk.MLYSQ3HZ.js.map → chunk.IA4AXVW2.js.map} +0 -0
  270. /package/dist/chunks/{chunk.I4DKSC24.js.map → chunk.IY7EBI4V.js.map} +0 -0
  271. /package/dist/chunks/{chunk.TLGTIZXS.js.map → chunk.IZJPS4J3.js.map} +0 -0
  272. /package/dist/chunks/{chunk.LKURUUTA.js.map → chunk.JAA5IMXQ.js.map} +0 -0
  273. /package/dist/chunks/{chunk.5ZHC7OVQ.js.map → chunk.JROK5H7S.js.map} +0 -0
  274. /package/dist/chunks/{chunk.QSTWWWP6.js.map → chunk.JTBA4VNK.js.map} +0 -0
  275. /package/dist/chunks/{chunk.AJ25FT4Y.js.map → chunk.JZDL3LN5.js.map} +0 -0
  276. /package/dist/chunks/{chunk.4PH52MA5.js.map → chunk.KWQ3MGDP.js.map} +0 -0
  277. /package/dist/chunks/{chunk.EIE57OYB.js.map → chunk.L7UNOSP3.js.map} +0 -0
  278. /package/dist/chunks/{chunk.DRBZZW6W.js.map → chunk.MH2E2IPK.js.map} +0 -0
  279. /package/dist/chunks/{chunk.JHFBQPJU.js.map → chunk.MULTZVJW.js.map} +0 -0
  280. /package/dist/chunks/{chunk.CLQRSMYY.js.map → chunk.NAG43BDB.js.map} +0 -0
  281. /package/dist/chunks/{chunk.3ME2BNFP.js.map → chunk.NBEUC67F.js.map} +0 -0
  282. /package/dist/chunks/{chunk.4E4O4QN3.js.map → chunk.NFY5KWSX.js.map} +0 -0
  283. /package/dist/chunks/{chunk.RLEKWHPP.js.map → chunk.NGK6YYKK.js.map} +0 -0
  284. /package/dist/chunks/{chunk.4TNNRNJ2.js.map → chunk.NJLFPU67.js.map} +0 -0
  285. /package/dist/chunks/{chunk.QFCR6XW7.js.map → chunk.O2YNTJ6T.js.map} +0 -0
  286. /package/dist/chunks/{chunk.WY6I2EK7.js.map → chunk.OXNPHVTR.js.map} +0 -0
  287. /package/dist/chunks/{chunk.2X657DWT.js.map → chunk.P6V5MX4S.js.map} +0 -0
  288. /package/dist/chunks/{chunk.NW36ULCW.js.map → chunk.PGRGRIL5.js.map} +0 -0
  289. /package/dist/chunks/{chunk.TEITNMKQ.js.map → chunk.POHHWKQC.js.map} +0 -0
  290. /package/dist/chunks/{chunk.MGN42Q2J.js.map → chunk.QRBNFJRM.js.map} +0 -0
  291. /package/dist/chunks/{chunk.ZLOTPATJ.js.map → chunk.QVSEPWVF.js.map} +0 -0
  292. /package/dist/chunks/{chunk.OFJCXFPW.js.map → chunk.QW5HIIYQ.js.map} +0 -0
  293. /package/dist/chunks/{chunk.2EXMKOLT.js.map → chunk.R2ENJQ4Y.js.map} +0 -0
  294. /package/dist/chunks/{chunk.2UOSXUU3.js.map → chunk.T4ZHEQIO.js.map} +0 -0
  295. /package/dist/chunks/{chunk.YVLSZJ7H.js.map → chunk.TOPPZ36M.js.map} +0 -0
  296. /package/dist/chunks/{chunk.ATMIBLAO.js.map → chunk.U5SE35FY.js.map} +0 -0
  297. /package/dist/chunks/{chunk.HDQDFVE4.js.map → chunk.U62LHCM3.js.map} +0 -0
  298. /package/dist/chunks/{chunk.KWAEDVDZ.js.map → chunk.UBB6AZO6.js.map} +0 -0
  299. /package/dist/chunks/{chunk.HHUJOPYO.js.map → chunk.UHZCCHTZ.js.map} +0 -0
  300. /package/dist/chunks/{chunk.4T52KMAG.js.map → chunk.UI5NSNHU.js.map} +0 -0
  301. /package/dist/chunks/{chunk.ZY5NEWZH.js.map → chunk.UPUO2IGL.js.map} +0 -0
  302. /package/dist/chunks/{chunk.ANDSC2QJ.js.map → chunk.URA76JI7.js.map} +0 -0
  303. /package/dist/chunks/{chunk.UWXFPVN3.js.map → chunk.V36ZCSSN.js.map} +0 -0
  304. /package/dist/chunks/{chunk.RFYXJAYA.js.map → chunk.V4ZPSG67.js.map} +0 -0
  305. /package/dist/chunks/{chunk.TLBIUBMQ.js.map → chunk.VFIAWH7L.js.map} +0 -0
  306. /package/dist/chunks/{chunk.MWIPNIEK.js.map → chunk.X7EXQLXV.js.map} +0 -0
  307. /package/dist/chunks/{chunk.JHOTGDR3.js.map → chunk.XD6DCVJH.js.map} +0 -0
  308. /package/dist/chunks/{chunk.57V3JOLU.js.map → chunk.XF5GFFG6.js.map} +0 -0
  309. /package/dist/chunks/{chunk.ASG4JOWC.js.map → chunk.XO4KGELU.js.map} +0 -0
  310. /package/dist/chunks/{chunk.RGAAIV7P.js.map → chunk.XPL4VISO.js.map} +0 -0
  311. /package/dist/chunks/{chunk.CXIGBRNG.js.map → chunk.Y3HBP67Q.js.map} +0 -0
  312. /package/dist/chunks/{chunk.2FDZZMAW.js.map → chunk.YMJFK2Q6.js.map} +0 -0
  313. /package/dist/chunks/{chunk.5YIAILXU.js.map → chunk.YWCWBZAI.js.map} +0 -0
  314. /package/dist/chunks/{chunk.MPZBXWTB.js.map → chunk.Z2AXIRZ5.js.map} +0 -0
  315. /package/dist/chunks/{chunk.HGPCD64A.js.map → chunk.Z3IISNF4.js.map} +0 -0
  316. /package/dist/chunks/{chunk.E723NXDA.js.map → chunk.ZQAAVC6U.js.map} +0 -0
  317. /package/dist/chunks/{chunk.KFMSAISK.js.map → chunk.ZUV4DCUD.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.AJ25FT4Y.js";
3
+ } from "./chunk.JZDL3LN5.js";
4
4
 
5
5
  // src/components/radio-group/radio-group.ts
6
6
  var radio_group_default = SynRadioGroup;
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
9
9
  export {
10
10
  radio_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.EIE57OYB.js.map
12
+ //# sourceMappingURL=chunk.L7UNOSP3.js.map
@@ -26,17 +26,9 @@ var menu_styles_default = css`
26
26
  ::slotted(syn-menu-label:first-of-type) {
27
27
  --display-divider: none;
28
28
  }
29
-
30
- /*
31
- * #368: Hide the checkmarks for menu items
32
- * when no syn-menu-item[checkbox] or loading is present
33
- */
34
- .menu--no-checkmarks::slotted(syn-menu-item) {
35
- --display-checkmark: none;
36
- }
37
29
  `;
38
30
 
39
31
  export {
40
32
  menu_styles_default
41
33
  };
42
- //# sourceMappingURL=chunk.NXIQ25W4.js.map
34
+ //# sourceMappingURL=chunk.M3HEPL2F.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/menu/menu.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n background: var(--syn-panel-background-color);\n border: solid var(--syn-panel-border-width) var(--syn-panel-border-color);\n border-radius: var(--syn-input-border-radius-medium);\n display: block;\n overflow: auto;\n overscroll-behavior: none;\n padding: var(--syn-spacing-x-small) 0;\n position: relative;\n }\n\n ::slotted(syn-divider) {\n /* #369: Slotted syn-dividers should use a lighter color so they do not crash with the border visually */\n --color: var(--syn-panel-border-color);\n --spacing: var(--syn-spacing-x-small);\n }\n\n /**\n * Make sure to hide the syn-divider for the first syn-optgroup\n * Note! ::slotted does currently not work with ::part, so we\n * opted for using a css variable here.\n */\n ::slotted(syn-menu-label:first-of-type) {\n --display-divider: none;\n }\n\n /*\n * #368: Hide the checkmarks for menu items\n * when no syn-menu-item[checkbox] or loading is present\n */\n .menu--no-checkmarks::slotted(syn-menu-item) {\n --display-checkmark: none;\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,sBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n background: var(--syn-panel-background-color);\n border: solid var(--syn-panel-border-width) var(--syn-panel-border-color);\n border-radius: var(--syn-input-border-radius-medium);\n display: block;\n overflow: auto;\n overscroll-behavior: none;\n padding: var(--syn-spacing-x-small) 0;\n position: relative;\n }\n\n ::slotted(syn-divider) {\n /* #369: Slotted syn-dividers should use a lighter color so they do not crash with the border visually */\n --color: var(--syn-panel-border-color);\n --spacing: var(--syn-spacing-x-small);\n }\n\n /**\n * Make sure to hide the syn-divider for the first syn-optgroup\n * Note! ::slotted does currently not work with ::part, so we\n * opted for using a css variable here.\n */\n ::slotted(syn-menu-label:first-of-type) {\n --display-divider: none;\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,sBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.DHQJAZF2.js";
3
+ } from "./chunk.7V7H5Z5L.js";
4
4
 
5
5
  // src/components/checkbox/checkbox.ts
6
6
  var checkbox_default = SynCheckbox;
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
9
9
  export {
10
10
  checkbox_default
11
11
  };
12
- //# sourceMappingURL=chunk.DRBZZW6W.js.map
12
+ //# sourceMappingURL=chunk.MH2E2IPK.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.JDYQ7EFG.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.CCS4NM5K.js";
9
+ } from "./chunk.F2AN52ZO.js";
10
10
  import {
11
11
  LocalizeController
12
12
  } from "./chunk.VCRQ2GII.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk.2NT3B5WJ.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.I6SXQWDC.js";
21
+ } from "./chunk.2BSMYHJN.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.MO2GTRUM.js";
@@ -118,4 +118,4 @@ __decorateClass([
118
118
  export {
119
119
  SynTab
120
120
  };
121
- //# sourceMappingURL=chunk.JHFBQPJU.js.map
121
+ //# sourceMappingURL=chunk.MULTZVJW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDetails
3
- } from "./chunk.6JLGDIZN.js";
3
+ } from "./chunk.63WHIDDN.js";
4
4
 
5
5
  // src/components/details/details.ts
6
6
  var details_default = SynDetails;
@@ -9,4 +9,4 @@ SynDetails.define("syn-details");
9
9
  export {
10
10
  details_default
11
11
  };
12
- //# sourceMappingURL=chunk.CLQRSMYY.js.map
12
+ //# sourceMappingURL=chunk.NAG43BDB.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.2NT3B5WJ.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.I6SXQWDC.js";
15
+ } from "./chunk.2BSMYHJN.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.MO2GTRUM.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynProgressRing
78
78
  };
79
- //# sourceMappingURL=chunk.3ME2BNFP.js.map
79
+ //# sourceMappingURL=chunk.NBEUC67F.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.2YVA4OUO.js";
3
+ } from "./chunk.2EWK27AC.js";
4
4
 
5
5
  // src/components/popup/popup.ts
6
6
  var popup_default = SynPopup;
@@ -9,4 +9,4 @@ SynPopup.define("syn-popup");
9
9
  export {
10
10
  popup_default
11
11
  };
12
- //# sourceMappingURL=chunk.4E4O4QN3.js.map
12
+ //# sourceMappingURL=chunk.NFY5KWSX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynergyElement
3
- } from "./chunk.I6SXQWDC.js";
3
+ } from "./chunk.2BSMYHJN.js";
4
4
 
5
5
  // src/components/validate/utility.ts
6
6
  var WhitelistedSynergyFormEventNames = [
@@ -78,4 +78,4 @@ export {
78
78
  alertSizeForInput,
79
79
  getActualInputElement
80
80
  };
81
- //# sourceMappingURL=chunk.RLEKWHPP.js.map
81
+ //# sourceMappingURL=chunk.NGK6YYKK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSideNav
3
- } from "./chunk.MLYSQ3HZ.js";
3
+ } from "./chunk.IA4AXVW2.js";
4
4
 
5
5
  // src/components/side-nav/side-nav.ts
6
6
  var side_nav_default = SynSideNav;
@@ -9,4 +9,4 @@ SynSideNav.define("syn-side-nav");
9
9
  export {
10
10
  side_nav_default
11
11
  };
12
- //# sourceMappingURL=chunk.4TNNRNJ2.js.map
12
+ //# sourceMappingURL=chunk.NJLFPU67.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynInput
3
- } from "./chunk.JQFCCLGC.js";
3
+ } from "./chunk.CJXSSAOK.js";
4
4
  import {
5
5
  calculatePageItemIndices,
6
6
  calculateTotalPages,
@@ -15,19 +15,19 @@ import {
15
15
  } from "./chunk.GXWM6IF5.js";
16
16
  import {
17
17
  SynOption
18
- } from "./chunk.WQLXRYQ2.js";
18
+ } from "./chunk.2EJW4STG.js";
19
19
  import {
20
20
  pagination_styles_default
21
21
  } from "./chunk.DG2TSAVZ.js";
22
22
  import {
23
23
  SynSelect
24
- } from "./chunk.XWJQL2PJ.js";
24
+ } from "./chunk.BIMSHE7R.js";
25
25
  import {
26
26
  SynDivider
27
- } from "./chunk.I4DKSC24.js";
27
+ } from "./chunk.IY7EBI4V.js";
28
28
  import {
29
29
  SynIconButton
30
- } from "./chunk.CCS4NM5K.js";
30
+ } from "./chunk.F2AN52ZO.js";
31
31
  import {
32
32
  enableDefaultSettings
33
33
  } from "./chunk.4MG3QDNW.js";
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk.2NT3B5WJ.js";
40
40
  import {
41
41
  SynergyElement
42
- } from "./chunk.I6SXQWDC.js";
42
+ } from "./chunk.2BSMYHJN.js";
43
43
  import {
44
44
  __decorateClass
45
45
  } from "./chunk.MO2GTRUM.js";
@@ -377,4 +377,4 @@ SynPagination = __decorateClass([
377
377
  export {
378
378
  SynPagination
379
379
  };
380
- //# sourceMappingURL=chunk.QFCR6XW7.js.map
380
+ //# sourceMappingURL=chunk.O2YNTJ6T.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTabPanel
3
- } from "./chunk.HGPCD64A.js";
3
+ } from "./chunk.Z3IISNF4.js";
4
4
 
5
5
  // src/components/tab-panel/tab-panel.ts
6
6
  var tab_panel_default = SynTabPanel;
@@ -9,4 +9,4 @@ SynTabPanel.define("syn-tab-panel");
9
9
  export {
10
10
  tab_panel_default
11
11
  };
12
- //# sourceMappingURL=chunk.WY6I2EK7.js.map
12
+ //# sourceMappingURL=chunk.OXNPHVTR.js.map
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk.4MG3QDNW.js";
26
26
  import {
27
27
  SynTooltip
28
- } from "./chunk.OEZUSU4X.js";
28
+ } from "./chunk.BPBHAKA5.js";
29
29
  import {
30
30
  LocalizeController
31
31
  } from "./chunk.VCRQ2GII.js";
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk.2NT3B5WJ.js";
35
35
  import {
36
36
  SynergyElement
37
- } from "./chunk.I6SXQWDC.js";
37
+ } from "./chunk.2BSMYHJN.js";
38
38
  import {
39
39
  __decorateClass,
40
40
  __privateAdd,
@@ -719,4 +719,4 @@ SynRange = __decorateClass([
719
719
  export {
720
720
  SynRange
721
721
  };
722
- //# sourceMappingURL=chunk.2X657DWT.js.map
722
+ //# sourceMappingURL=chunk.P6V5MX4S.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDrawer
3
- } from "./chunk.4BFT5LEF.js";
3
+ } from "./chunk.2ADNOGY5.js";
4
4
 
5
5
  // src/components/drawer/drawer.ts
6
6
  var drawer_default = SynDrawer;
@@ -9,4 +9,4 @@ SynDrawer.define("syn-drawer");
9
9
  export {
10
10
  drawer_default
11
11
  };
12
- //# sourceMappingURL=chunk.NW36ULCW.js.map
12
+ //# sourceMappingURL=chunk.PGRGRIL5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDropdown
3
- } from "./chunk.4MAKWN2N.js";
3
+ } from "./chunk.2S6N4OOA.js";
4
4
 
5
5
  // src/components/dropdown/dropdown.ts
6
6
  var dropdown_default = SynDropdown;
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
9
9
  export {
10
10
  dropdown_default
11
11
  };
12
- //# sourceMappingURL=chunk.TEITNMKQ.js.map
12
+ //# sourceMappingURL=chunk.POHHWKQC.js.map
@@ -3,20 +3,20 @@ import {
3
3
  } from "./chunk.CAEBFUZN.js";
4
4
  import {
5
5
  SubmenuController
6
- } from "./chunk.BC532CB6.js";
6
+ } from "./chunk.WUGCLTH6.js";
7
7
  import {
8
8
  SynSpinner
9
- } from "./chunk.A7GQXYLM.js";
9
+ } from "./chunk.CFTOBSOS.js";
10
10
  import {
11
11
  HasSlotController,
12
12
  getTextContent
13
13
  } from "./chunk.CHFWLQN5.js";
14
14
  import {
15
15
  SynIcon
16
- } from "./chunk.TLBIUBMQ.js";
16
+ } from "./chunk.VFIAWH7L.js";
17
17
  import {
18
18
  SynPopup
19
- } from "./chunk.2YVA4OUO.js";
19
+ } from "./chunk.2EWK27AC.js";
20
20
  import {
21
21
  LocalizeController
22
22
  } from "./chunk.VCRQ2GII.js";
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk.2NT3B5WJ.js";
29
29
  import {
30
30
  SynergyElement
31
- } from "./chunk.I6SXQWDC.js";
31
+ } from "./chunk.2BSMYHJN.js";
32
32
  import {
33
33
  __decorateClass,
34
34
  __privateAdd,
@@ -97,20 +97,14 @@ var SynMenuItem = class extends SynergyElement {
97
97
  event.stopImmediatePropagation();
98
98
  }
99
99
  };
100
- this.handleMouseOver = (event) => {
101
- this.focus();
102
- event.stopPropagation();
103
- };
104
100
  }
105
101
  connectedCallback() {
106
102
  super.connectedCallback();
107
103
  this.addEventListener("click", this.handleHostClick);
108
- this.addEventListener("mouseover", this.handleMouseOver);
109
104
  }
110
105
  disconnectedCallback() {
111
106
  super.disconnectedCallback();
112
107
  this.removeEventListener("click", this.handleHostClick);
113
- this.removeEventListener("mouseover", this.handleMouseOver);
114
108
  }
115
109
  handleDefaultSlotChange() {
116
110
  const textLabel = this.getTextLabel();
@@ -238,4 +232,4 @@ SynMenuItem = __decorateClass([
238
232
  export {
239
233
  SynMenuItem
240
234
  };
241
- //# sourceMappingURL=chunk.XXSAUCGB.js.map
235
+ //# sourceMappingURL=chunk.PT7UILQQ.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/menu-item/menu-item.component.ts", "../../src/internal/watchEvent.ts"],
4
+ "sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getTextContent, HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { SubmenuController } from './submenu-controller.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 SynPopup from '../popup/popup.component.js';\nimport SynSpinner from '../spinner/spinner.component.js';\nimport styles from './menu-item.styles.js';\nimport { emitEventForPropertyUpdates } from '../../internal/watchEvent.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Menu items provide options for the user to pick from in a menu.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-item--docs\n * @status stable\n * @since 1.12.0\n *\n * @dependency syn-icon\n * @dependency syn-popup\n * @dependency syn-spinner\n *\n * @slot - The menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n * @slot submenu - Used to denote a nested menu.\n *\n * @csspart base - The component's base wrapper.\n * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked.\n * @csspart prefix - The prefix container.\n * @csspart label - The menu item label.\n * @csspart suffix - The suffix container.\n * @csspart spinner - The spinner that shows when the menu item is in the loading state.\n * @csspart spinner__base - The spinner's base part.\n * @csspart submenu-icon - The submenu icon, visible only when the menu item has a submenu (not yet implemented).\n *\n * @cssproperty [--submenu-offset=-2px] - The distance submenus shift to overlap the parent menu.\n */\n@emitEventForPropertyUpdates(['type', 'loading'], {\n waitUntilFirstUpdated: true,\n})\nexport default class SynMenuItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n 'syn-spinner': SynSpinner\n };\n\n private cachedTextLabel: string;\n private readonly localize = new LocalizeController(this);\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.menu-item') menuItem: HTMLElement;\n\n /** The type of menu item to render. To use `checked`, this value must be set to `checkbox`. */\n @property() type: 'normal' | 'checkbox' = 'normal';\n\n /** Draws the item in a checked state. */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @property() value = '';\n\n /** Draws the menu item in a loading state. */\n @property({ type: Boolean, reflect: true }) loading = false;\n\n /** Draws the menu item in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n private readonly hasSlotController = new HasSlotController(this, 'submenu');\n private submenuController: SubmenuController = new SubmenuController(this, this.hasSlotController);\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('click', this.handleHostClick);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('click', this.handleHostClick);\n }\n\n private handleDefaultSlotChange() {\n const textLabel = this.getTextLabel();\n\n // Ignore the first time the label is set\n if (typeof this.cachedTextLabel === 'undefined') {\n this.cachedTextLabel = textLabel;\n return;\n }\n\n // When the label changes, emit a slotchange event so parent controls see it\n if (textLabel !== this.cachedTextLabel) {\n this.cachedTextLabel = textLabel;\n this.emit('slotchange', { bubbles: true, composed: false, cancelable: false });\n }\n }\n\n private handleHostClick = (event: MouseEvent) => {\n // Prevent the click event from being emitted when the button is disabled or loading\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n\n @watch('checked')\n handleCheckedChange() {\n // For proper accessibility, users have to use type=\"checkbox\" to use the checked attribute\n if (this.checked && this.type !== 'checkbox') {\n this.checked = false;\n console.error('The checked attribute can only be used on menu items with type=\"checkbox\"', this);\n return;\n }\n\n // Only checkbox types can receive the aria-checked attribute\n if (this.type === 'checkbox') {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.removeAttribute('aria-checked');\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('type')\n handleTypeChange() {\n if (this.type === 'checkbox') {\n this.setAttribute('role', 'menuitemcheckbox');\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.setAttribute('role', 'menuitem');\n this.removeAttribute('aria-checked');\n }\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n getTextLabel() {\n return getTextContent(this.defaultSlot);\n }\n\n isSubmenu() {\n return this.hasSlotController.test('submenu');\n }\n\n render() {\n const isRtl = this.localize.dir() === 'rtl';\n const isSubmenuExpanded = this.submenuController.isExpanded();\n\n return html`\n <div\n id=\"anchor\"\n part=\"base\"\n class=${classMap({\n 'menu-item': true,\n 'menu-item--rtl': isRtl,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--loading': this.loading,\n 'menu-item--has-submenu': this.isSubmenu(),\n 'menu-item--submenu-expanded': isSubmenuExpanded\n })}\n ?aria-haspopup=\"${this.isSubmenu()}\"\n ?aria-expanded=\"${isSubmenuExpanded ? true : false}\"\n >\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <syn-icon name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n <slot name=\"prefix\" part=\"prefix\" class=\"menu-item__prefix\"></slot>\n\n <slot part=\"label\" class=\"menu-item__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n\n <slot name=\"suffix\" part=\"suffix\" class=\"menu-item__suffix\"></slot>\n\n <span part=\"submenu-icon\" class=\"menu-item__chevron\">\n <syn-icon name=\"chevron-down\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n ${this.submenuController.renderSubmenu()}\n ${this.loading ? html` <syn-spinner part=\"spinner\" exportparts=\"base:spinner__base\"></syn-spinner> ` : ''}\n </div>\n `;\n }\n}\n", "/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { PropertyValues } from 'lit';\nimport type SynergyElement from './synergy-element.js';\n\ntype Constructor<T = object> = new (...args: any[]) => T;\n\ninterface DecoratorOptions {\n /**\n * If true, will only start watching after the initial updated call\n */\n waitUntilFirstUpdated?: boolean;\n}\n\n/**\n * Class decorator that automatically emits a `syn-attributes-changed` event\n * when at least one of the provided attributes have changed.\n * The event will contain an array of all changed properties, including their\n * - attribute name\n * - old value and\n * - new value.\n *\n * @example\n * ```ts\n * class OriginalClass extends SynergyElement {}\n * export const MyComponent = emitEventForPropertyUpdates(['attribute1', 'attribute2'])(BaseClass);\n *\n * // Create the component, providing initial values for the changed attribute list\n * const myComponent = document.createElement('my-component');\n * myComponent.attribute1 = 'initial value for attribute 1';\n * myComponent.attribute2 = 'initial value for attribute 2';\n *\n * // Create a container and listen for the event\n * const container = document.createElement('div');\n * container.addEventListener('syn-attributes-changed', (event: SynAttributesChangedEvent) => {\n * // We do not want to propagate the event further\n * event.stopImmidiatePropagation();\n *\n * console.log(event.detail);\n * });\n *\n * // Add the component to the container\n * container.appendChild(myComponent);\n *\n * // Change the attributes\n * myComponent.attribute1 = 'value for attribute 1';\n * myComponent.attribute2 = 'value for attribute 2';\n *\n * // Output:\n * // [\n * // {\n * // attribute: 'attribute1',\n * // oldValue: 'initial value for attribute 1',\n * // newValue: 'value for attribute 1'\n * // },\n * // {\n * // attribute: 'attribute2',\n * // oldValue: 'initial value for attribute 2',\n * // newValue: 'value for attribute 2'\n * // }\n * // ]\n * ```\n */\nexport function emitEventForPropertyUpdates(\n watchedProperties: string[],\n options?: DecoratorOptions,\n) {\n const resolvedOptions: Required<DecoratorOptions> = {\n waitUntilFirstUpdated: false,\n ...options,\n };\n\n return <T extends Constructor<SynergyElement>>(Proto: T): T => class extends Proto {\n // True if the event was emitted, false otherwise\n #synPrivateFirstChangeHasBeenEmitted = !resolvedOptions.waitUntilFirstUpdated;\n\n updated(changedProps: PropertyValues) {\n if (!this.#synPrivateFirstChangeHasBeenEmitted) {\n this.#synPrivateFirstChangeHasBeenEmitted = true;\n return;\n }\n\n // Get the list of all changed properties\n const monitoredChangedProperties = Array\n .from(changedProps)\n .filter(([key]) => watchedProperties.includes(key as string));\n\n // If there are no changed properties, return before sending anything\n if (monitoredChangedProperties.length === 0) {\n super.updated(changedProps);\n return;\n }\n\n // Send out the event with all changed properties\n const detail = monitoredChangedProperties.map(([key, value]) => ({\n attribute: key,\n newValue: this[key as keyof this],\n oldValue: value,\n }));\n\n this.emit('syn-attributes-changed', {\n detail,\n });\n super.updated(changedProps);\n }\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,UAAU,aAAa;;;ACyDzB,SAAS,4BACd,mBACA,SACA;AACA,QAAM,kBAA8C;AAAA,IAClD,uBAAuB;AAAA,KACpB;AAGL,SAAO,CAAwC,UAAa;AAvE9D;AAuEiE,8BAAc,MAAM;AAAA,MAApB;AAAA;AAE7D;AAAA,iEAAuC,CAAC,gBAAgB;AAAA;AAAA,MAExD,QAAQ,cAA8B;AACpC,YAAI,CAAC,mBAAK,uCAAsC;AAC9C,6BAAK,sCAAuC;AAC5C;AAAA,QACF;AAGA,cAAM,6BAA6B,MAChC,KAAK,YAAY,EACjB,OAAO,CAAC,CAAC,GAAG,MAAM,kBAAkB,SAAS,GAAa,CAAC;AAG9D,YAAI,2BAA2B,WAAW,GAAG;AAC3C,gBAAM,QAAQ,YAAY;AAC1B;AAAA,QACF;AAGA,cAAM,SAAS,2BAA2B,IAAI,CAAC,CAAC,KAAK,KAAK,OAAO;AAAA,UAC/D,WAAW;AAAA,UACX,UAAU,KAAK,GAAiB;AAAA,UAChC,UAAU;AAAA,QACZ,EAAE;AAEF,aAAK,KAAK,0BAA0B;AAAA,UAClC;AAAA,QACF,CAAC;AACD,cAAM,QAAQ,YAAY;AAAA,MAC5B;AAAA,IACF,GA/BE,sDAF6D;AAAA;AAkCjE;;;AD3DA,IAAqB,cAArB,cAAyC,eAAe;AAAA,EAAxD;AAAA;AASE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAM3C,gBAA8B;AAGE,mBAAU;AAG1C,iBAAQ;AAGwB,mBAAU;AAGV,oBAAW;AAEvD,SAA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EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAxBvB,YAwByB;AAGA;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GA3BvB,YA2ByB;AAwC5C;AAAA,EADC,MAAM,SAAS;AAAA,GAlEG,YAmEnB;AAiBA;AAAA,EADC,MAAM,UAAU;AAAA,GAnFE,YAoFnB;AAKA;AAAA,EADC,MAAM,MAAM;AAAA,GAxFM,YAyFnB;AAzFmB,cAArB;AAAA,EAHC,4BAA4B,CAAC,QAAQ,SAAS,GAAG;AAAA,IAChD,uBAAuB;AAAA,EACzB,CAAC;AAAA,GACoB;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButton
3
- } from "./chunk.D7FFGNDS.js";
3
+ } from "./chunk.H2OE5W4M.js";
4
4
  import {
5
5
  file_styles_default
6
6
  } from "./chunk.2ECWEEUO.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk.CHFWLQN5.js";
19
19
  import {
20
20
  SynIcon
21
- } from "./chunk.TLBIUBMQ.js";
21
+ } from "./chunk.VFIAWH7L.js";
22
22
  import {
23
23
  enableDefaultSettings
24
24
  } from "./chunk.4MG3QDNW.js";
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk.2NT3B5WJ.js";
41
41
  import {
42
42
  SynergyElement
43
- } from "./chunk.I6SXQWDC.js";
43
+ } from "./chunk.2BSMYHJN.js";
44
44
  import {
45
45
  __decorateClass
46
46
  } from "./chunk.MO2GTRUM.js";
@@ -544,4 +544,4 @@ setDefaultAnimation("file.text.appear", {
544
544
  export {
545
545
  SynFile
546
546
  };
547
- //# sourceMappingURL=chunk.MGN42Q2J.js.map
547
+ //# sourceMappingURL=chunk.QRBNFJRM.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.2NT3B5WJ.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.I6SXQWDC.js";
15
+ } from "./chunk.2BSMYHJN.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.MO2GTRUM.js";
@@ -68,4 +68,4 @@ __decorateClass([
68
68
  export {
69
69
  SynProgressBar
70
70
  };
71
- //# sourceMappingURL=chunk.ZLOTPATJ.js.map
71
+ //# sourceMappingURL=chunk.QVSEPWVF.js.map
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk.FVIRHFY6.js";
17
17
  import {
18
18
  SynOption
19
- } from "./chunk.WQLXRYQ2.js";
19
+ } from "./chunk.2EJW4STG.js";
20
20
  import {
21
21
  compareValues,
22
22
  isAllowedValue
@@ -32,19 +32,19 @@ import {
32
32
  } from "./chunk.J3GDDM6Q.js";
33
33
  import {
34
34
  SynTag
35
- } from "./chunk.A3CI2V6B.js";
35
+ } from "./chunk.HCVPK6D5.js";
36
36
  import {
37
37
  HasSlotController
38
38
  } from "./chunk.CHFWLQN5.js";
39
39
  import {
40
40
  SynIcon
41
- } from "./chunk.TLBIUBMQ.js";
41
+ } from "./chunk.VFIAWH7L.js";
42
42
  import {
43
43
  enableDefaultSettings
44
44
  } from "./chunk.4MG3QDNW.js";
45
45
  import {
46
46
  SynPopup
47
- } from "./chunk.2YVA4OUO.js";
47
+ } from "./chunk.2EWK27AC.js";
48
48
  import {
49
49
  waitForEvent
50
50
  } from "./chunk.LQDIH4Z5.js";
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk.2NT3B5WJ.js";
68
68
  import {
69
69
  SynergyElement
70
- } from "./chunk.I6SXQWDC.js";
70
+ } from "./chunk.2BSMYHJN.js";
71
71
  import {
72
72
  __decorateClass
73
73
  } from "./chunk.MO2GTRUM.js";
@@ -1378,4 +1378,4 @@ setDefaultAnimation("combobox.hide", {
1378
1378
  export {
1379
1379
  SynCombobox
1380
1380
  };
1381
- //# sourceMappingURL=chunk.OFJCXFPW.js.map
1381
+ //# sourceMappingURL=chunk.QW5HIIYQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioButton
3
- } from "./chunk.57V3JOLU.js";
3
+ } from "./chunk.XF5GFFG6.js";
4
4
 
5
5
  // src/components/radio-button/radio-button.ts
6
6
  var radio_button_default = SynRadioButton;
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
9
9
  export {
10
10
  radio_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.2EXMKOLT.js.map
12
+ //# sourceMappingURL=chunk.R2ENJQ4Y.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.3T6ULO23.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.I4DKSC24.js";
6
+ } from "./chunk.IY7EBI4V.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.CHFWLQN5.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.I6SXQWDC.js";
12
+ } from "./chunk.2BSMYHJN.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.MO2GTRUM.js";
@@ -131,4 +131,4 @@ __decorateClass([
131
131
  export {
132
132
  SynOptgroup
133
133
  };
134
- //# sourceMappingURL=chunk.AMBNCC5O.js.map
134
+ //# sourceMappingURL=chunk.T4NOIWVH.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/optgroup/optgroup.component.ts"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/unbound-method */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit/static-html.js';\nimport { property, queryAssignedElements } from 'lit/decorators.js';\nimport type { CSSResultGroup } from 'lit';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport SynDivider from '../divider/divider.component.js';\nimport type SynOption from '../option/option.component.js';\nimport styles from './optgroup.styles.js';\n\n/**\n * Handle the dataset value of the option when the disabled state changes.\n * @param option The option to set the value for\n * @param isDisabled The original disabled, usually from the parent optgroup\n */\nconst handleInitialDisabledForOption = (option: SynOption, isDisabled: boolean) => {\n /* eslint-disable no-param-reassign */\n if (option.disabled) {\n option.dataset.originallyDisabled = 'true';\n } else {\n delete option.dataset.originallyDisabled;\n }\n\n if (isDisabled) {\n option.disabled = true;\n }\n /* eslint-enable no-param-reassign */\n};\n\n/**\n * @summary The <syn-optgroup> element creates a grouping for <syn-option>s within a <syn-select>.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-optgroup--docs\n * @status stable\n * @since 1.5.0\n *\n * @dependency syn-divider\n *\n * @slot - The given options. Must be `<syn-option>` elements.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot label - The label for the optgroup\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label-container - The container that wraps prefix, label and base\n * @csspart divider - The divider that is displayed above the content\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart options - The container that wraps the <syn-option> elements.\n *\n * @cssproperty --display-divider - Display property of the divider. Defaults to \"block\"\n */\nexport default class SynOptgroup extends SynergyElement {\n static styles: CSSResultGroup = styles;\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'prefix', 'suffix', 'label');\n\n private mutationObserver: MutationObserver;\n\n private enableObserver() {\n this.mutationObserver.observe(this, {\n attributeFilter: ['disabled'],\n childList: true,\n subtree: true,\n });\n }\n\n @queryAssignedElements({ selector: 'syn-option' }) assignedOptions: SynOption[];\n\n /**\n * Disables all options in the optgroup.\n */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /**\n * The optgroups label. If you need to display HTML, use the `label` slot instead.\n */\n @property() label = '';\n\n connectedCallback() {\n super.connectedCallback();\n\n /* eslint-disable no-param-reassign */\n // eslint-disable-next-line complexity\n this.mutationObserver = new MutationObserver(entries => {\n // Check if the mutation is for this optgroup\n const optgroupChanges = entries.filter(entry => entry.target === this);\n const optionChanges = entries.filter(entry => (entry.target as HTMLElement).matches('syn-option'));\n\n const stopObserver = optgroupChanges.length > 0 || optionChanges.length > 0;\n\n if (stopObserver) {\n this.mutationObserver.disconnect();\n }\n\n // If options disabled state are changed dynamically,\n // we need to store the new \"originallyDisabled\" state\n if (optionChanges.length > 0) {\n optionChanges.forEach(optionMutation => {\n handleInitialDisabledForOption(optionMutation.target as SynOption, this.disabled);\n });\n }\n\n // If the optgroup is disabled, disable all options\n // If the optgroup is enabled, reenable all options that were enabled before\n if (optgroupChanges.length > 0) {\n optgroupChanges.forEach(optgroupMutation => {\n if (optgroupMutation.type === 'attributes') {\n this.assignedOptions.forEach(option => {\n option.disabled = this.disabled\n ? true\n : !!option.dataset?.originallyDisabled;\n });\n }\n\n if (optgroupMutation.type === 'childList') {\n optgroupMutation.addedNodes.forEach((node) => {\n if (node instanceof HTMLElement && node.matches('syn-option')) {\n handleInitialDisabledForOption(node as SynOption, this.disabled);\n }\n });\n }\n });\n }\n\n // Reenable the mutation observer when it was stopped.\n // This is needed to make sure that we get future changes again\n if (stopObserver) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.enableObserver();\n });\n }\n });\n /* eslint-enable no-param-reassign */\n\n this.enableObserver();\n }\n\n render() {\n const { disabled } = this;\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n return html`\n <div\n class=${classMap({\n optgroup: true,\n 'optgroup--has-label': hasLabel,\n 'optgroup--has-prefix': this.hasSlotController.test('prefix'),\n 'optgroup--has-suffix': this.hasSlotController.test('suffix'),\n 'optgroup--is-disabled': this.disabled,\n })}\n role=\"${disabled ? 'presentation' : 'group'}\"\n part=\"base\"\n >\n <syn-divider class=\"optgroup__divider\" part=\"divider\"></syn-divider>\n <div class=\"optgroup__label-container\" part=\"label-container\">\n <slot name=\"prefix\" part=\"prefix\" class=\"optgroup__prefix\"></slot>\n <slot name=\"label\" part=\"label\" class=\"optgroup__label\">\n <span class=\"optgroup__label-content\">\n ${this.label}\n </span>\n </slot>\n <slot name=\"suffix\" part=\"suffix\" class=\"optgroup__suffix\"></slot>\n </div>\n <div class=\"optgroup__options\" role=\"group\" part=\"options\">\n <slot></slot>\n </div>\n </div>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,UAAU,6BAA6B;AAahD,IAAM,iCAAiC,CAAC,QAAmB,eAAwB;AAEjF,MAAI,OAAO,UAAU;AACnB,WAAO,QAAQ,qBAAqB;AAAA,EACtC,OAAO;AACL,WAAO,OAAO,QAAQ;AAAA,EACxB;AAEA,MAAI,YAAY;AACd,WAAO,WAAW;AAAA,EACpB;AAEF;AAwBA,IAAqB,cAArB,cAAyC,eAAe;AAAA,EAAxD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,UAAU,UAAU,OAAO;AAiB7D,oBAAW;AAK3C,iBAAQ;AAAA;AAAA,EAlBZ,iBAAiB;AACvB,SAAK,iBAAiB,QAAQ,MAAM;AAAA,MAClC,iBAAiB,CAAC,UAAU;AAAA,MAC5B,WAAW;AAAA,MACX,SAAS;AAAA,IACX,CAAC;AAAA,EACH;AAAA,EAcA,oBAAoB;AAClB,UAAM,kBAAkB;AAIxB,SAAK,mBAAmB,IAAI,iBAAiB,aAAW;AAEtD,YAAM,kBAAkB,QAAQ,OAAO,WAAS,MAAM,WAAW,IAAI;AACrE,YAAM,gBAAgB,QAAQ,OAAO,WAAU,MAAM,OAAuB,QAAQ,YAAY,CAAC;AAEjG,YAAM,eAAe,gBAAgB,SAAS,KAAK,cAAc,SAAS;AAE1E,UAAI,cAAc;AAChB,aAAK,iBAAiB,WAAW;AAAA,MACnC;AAIA,UAAI,cAAc,SAAS,GAAG;AAC5B,sBAAc,QAAQ,oBAAkB;AACtC,yCAA+B,eAAe,QAAqB,KAAK,QAAQ;AAAA,QAClF,CAAC;AAAA,MACH;AAIA,UAAI,gBAAgB,SAAS,GAAG;AAC9B,wBAAgB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9B,YAmBgC;AAKP;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAxBvB,YAwByB;AAKhC;AAAA,EAAX,SAAS;AAAA,GA7BS,YA6BP;",
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/unbound-method */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit/static-html.js';\nimport { property, queryAssignedElements } from 'lit/decorators.js';\nimport type { CSSResultGroup } from 'lit';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport SynDivider from '../divider/divider.component.js';\nimport type SynOption from '../option/option.component.js';\nimport styles from './optgroup.styles.js';\n\n/**\n * Handle the dataset value of the option when the disabled state changes.\n * @param option The option to set the value for\n * @param isDisabled The original disabled, usually from the parent optgroup\n */\nconst handleInitialDisabledForOption = (option: SynOption, isDisabled: boolean) => {\n /* eslint-disable no-param-reassign */\n if (option.disabled) {\n option.dataset.originallyDisabled = 'true';\n } else {\n delete option.dataset.originallyDisabled;\n }\n\n if (isDisabled) {\n option.disabled = true;\n }\n /* eslint-enable no-param-reassign */\n};\n\n/**\n * @summary The <syn-optgroup> element creates a grouping for <syn-option>s within a <syn-select>.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-optgroup--docs\n * @status stable\n * @since 1.5.0\n *\n * @dependency syn-divider\n *\n * @slot - The given options. Must be `<syn-option>` elements.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot label - The label for the optgroup\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label-container - The container that wraps prefix, label and base\n * @csspart divider - The divider that is displayed above the content\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart options - The container that wraps the <syn-option> elements.\n *\n * @cssproperty --display-divider - Display property of the divider. Defaults to \"block\"\n */\nexport default class SynOptgroup extends SynergyElement {\n static styles: CSSResultGroup = styles;\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'prefix', 'suffix', 'label');\n\n private mutationObserver: MutationObserver;\n\n private enableObserver() {\n this.mutationObserver.observe(this, {\n attributeFilter: ['disabled'],\n childList: true,\n subtree: true,\n });\n }\n\n @queryAssignedElements({ selector: 'syn-option' }) assignedOptions: SynOption[];\n\n /**\n * Disables all options in the optgroup.\n */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /**\n * The optgroups label. If you need to display HTML, use the `label` slot instead.\n */\n @property() label = '';\n\n connectedCallback() {\n super.connectedCallback();\n\n /* eslint-disable no-param-reassign */\n // eslint-disable-next-line complexity\n this.mutationObserver = new MutationObserver(entries => {\n // Check if the mutation is for this optgroup\n const optgroupChanges = entries.filter(entry => entry.target === this);\n const optionChanges = entries.filter(entry => (entry.target as HTMLElement).matches('syn-option'));\n\n const stopObserver = optgroupChanges.length > 0 || optionChanges.length > 0;\n\n if (stopObserver) {\n this.mutationObserver.disconnect();\n }\n\n // If options disabled state are changed dynamically,\n // we need to store the new \"originallyDisabled\" state\n if (optionChanges.length > 0) {\n optionChanges.forEach(optionMutation => {\n handleInitialDisabledForOption(optionMutation.target as SynOption, this.disabled);\n });\n }\n\n // If the optgroup is disabled, disable all options\n // If the optgroup is enabled, reenable all options that were enabled before\n if (optgroupChanges.length > 0) {\n optgroupChanges.forEach(optgroupMutation => {\n if (optgroupMutation.type === 'attributes') {\n this.assignedOptions.forEach(option => {\n option.disabled = this.disabled\n ? true\n : !!option.dataset?.originallyDisabled;\n });\n }\n\n if (optgroupMutation.type === 'childList') {\n optgroupMutation.addedNodes.forEach((node) => {\n if (node instanceof HTMLElement && node.matches('syn-option')) {\n // False positive for instanceof check, but we know this is correct since the mutation observer is only looking for syn-options\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n handleInitialDisabledForOption(node as SynOption, this.disabled);\n }\n });\n }\n });\n }\n\n // Reenable the mutation observer when it was stopped.\n // This is needed to make sure that we get future changes again\n if (stopObserver) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.enableObserver();\n });\n }\n });\n /* eslint-enable no-param-reassign */\n\n this.enableObserver();\n }\n\n render() {\n const { disabled } = this;\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n return html`\n <div\n class=${classMap({\n optgroup: true,\n 'optgroup--has-label': hasLabel,\n 'optgroup--has-prefix': this.hasSlotController.test('prefix'),\n 'optgroup--has-suffix': this.hasSlotController.test('suffix'),\n 'optgroup--is-disabled': this.disabled,\n })}\n role=\"${disabled ? 'presentation' : 'group'}\"\n part=\"base\"\n >\n <syn-divider class=\"optgroup__divider\" part=\"divider\"></syn-divider>\n <div class=\"optgroup__label-container\" part=\"label-container\">\n <slot name=\"prefix\" part=\"prefix\" class=\"optgroup__prefix\"></slot>\n <slot name=\"label\" part=\"label\" class=\"optgroup__label\">\n <span class=\"optgroup__label-content\">\n ${this.label}\n </span>\n </slot>\n <slot name=\"suffix\" part=\"suffix\" class=\"optgroup__suffix\"></slot>\n </div>\n <div class=\"optgroup__options\" role=\"group\" part=\"options\">\n <slot></slot>\n </div>\n </div>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,UAAU,6BAA6B;AAahD,IAAM,iCAAiC,CAAC,QAAmB,eAAwB;AAEjF,MAAI,OAAO,UAAU;AACnB,WAAO,QAAQ,qBAAqB;AAAA,EACtC,OAAO;AACL,WAAO,OAAO,QAAQ;AAAA,EACxB;AAEA,MAAI,YAAY;AACd,WAAO,WAAW;AAAA,EACpB;AAEF;AAwBA,IAAqB,cAArB,cAAyC,eAAe;AAAA,EAAxD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,UAAU,UAAU,OAAO;AAiB7D,oBAAW;AAK3C,iBAAQ;AAAA;AAAA,EAl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P,UAAM,EAAE,SAAS,IAAI;AACrB,UAAM,eAAe,KAAK,kBAAkB,KAAK,OAAO;AACxD,UAAM,WAAW,KAAK,QAAQ,OAAO,CAAC,CAAC;AACvC,WAAO;AAAA;AAAA,gBAEK,SAAS;AAAA,MACf,UAAU;AAAA,MACV,uBAAuB;AAAA,MACvB,wBAAwB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MAC5D,wBAAwB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MAC5D,yBAAyB,KAAK;AAAA,IAChC,CAAC,CAAC;AAAA,gBACM,WAAW,iBAAiB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAQnC,KAAK,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUxB;AACF;AA7HqB,YACZ,SAAyB;AADb,YAGZ,eAAe;AAAA,EACpB,eAAe;AACjB;AAcmD;AAAA,EAAlD,sBAAsB,EAAE,UAAU,aAAa,CAAC;AAAA,GAnB9B,YAmBgC;AAKP;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GAxBvB,YAwByB;AAKhC;AAAA,EAAX,SAAS;AAAA,GA7BS,YA6BP;",
6
6
  "names": []
7
7
  }
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.2NT3B5WJ.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.I6SXQWDC.js";
15
+ } from "./chunk.2BSMYHJN.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.MO2GTRUM.js";
@@ -111,4 +111,4 @@ SynAccordion = __decorateClass([
111
111
  export {
112
112
  SynAccordion
113
113
  };
114
- //# sourceMappingURL=chunk.2UOSXUU3.js.map
114
+ //# sourceMappingURL=chunk.T4ZHEQIO.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.2NT3B5WJ.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.I6SXQWDC.js";
15
+ } from "./chunk.2BSMYHJN.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.MO2GTRUM.js";
@@ -148,4 +148,4 @@ function findButton(el) {
148
148
  export {
149
149
  SynButtonGroup
150
150
  };
151
- //# sourceMappingURL=chunk.YVLSZJ7H.js.map
151
+ //# sourceMappingURL=chunk.TOPPZ36M.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynAccordion
3
- } from "./chunk.2UOSXUU3.js";
3
+ } from "./chunk.T4ZHEQIO.js";
4
4
 
5
5
  // src/components/accordion/accordion.ts
6
6
  var accordion_default = SynAccordion;
@@ -9,4 +9,4 @@ SynAccordion.define("syn-accordion");
9
9
  export {
10
10
  accordion_default
11
11
  };
12
- //# sourceMappingURL=chunk.ATMIBLAO.js.map
12
+ //# sourceMappingURL=chunk.U5SE35FY.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.K5MZVORR.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.I4DKSC24.js";
6
+ } from "./chunk.IY7EBI4V.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.CHFWLQN5.js";
10
10
  import {
11
11
  SynIcon
12
- } from "./chunk.TLBIUBMQ.js";
12
+ } from "./chunk.VFIAWH7L.js";
13
13
  import {
14
14
  watch
15
15
  } from "./chunk.SMIMHADA.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk.2NT3B5WJ.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.I6SXQWDC.js";
21
+ } from "./chunk.2BSMYHJN.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.MO2GTRUM.js";
@@ -353,4 +353,4 @@ __decorateClass([
353
353
  export {
354
354
  SynNavItem
355
355
  };
356
- //# sourceMappingURL=chunk.HDQDFVE4.js.map
356
+ //# sourceMappingURL=chunk.U62LHCM3.js.map