@synergy-design-system/components 2.4.2 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/README.md +5 -1
  2. package/dist/chunks/{chunk.ODDKTIMC.js → chunk.26PVORV4.js} +3 -3
  3. package/dist/chunks/{chunk.AL5JOFXG.js → chunk.2JGMDXJX.js} +4 -4
  4. package/dist/chunks/chunk.2LACXU5F.js +12 -0
  5. package/dist/chunks/chunk.2LACXU5F.js.map +7 -0
  6. package/dist/chunks/{chunk.KEZEYBVJ.js → chunk.3442R447.js} +2 -2
  7. package/dist/chunks/{chunk.PLEO5ZHI.js → chunk.36WNAWGH.js} +2 -2
  8. package/dist/chunks/{chunk.OSLTEHUP.js → chunk.445GTYI7.js} +2 -2
  9. package/dist/chunks/{chunk.MI6OSBNZ.js → chunk.4U4U4WYP.js} +2 -2
  10. package/dist/chunks/{chunk.FCS3RTNQ.js → chunk.4VJLNO6Y.js} +4 -4
  11. package/dist/chunks/{chunk.MP6GCBDQ.js → chunk.4VP6SOMT.js} +2 -2
  12. package/dist/chunks/{chunk.AV56MW4Q.js → chunk.543GQUFN.js} +4 -4
  13. package/dist/chunks/{chunk.T4V4ARKQ.js → chunk.5BDQUWIH.js} +9 -7
  14. package/dist/chunks/{chunk.T4V4ARKQ.js.map → chunk.5BDQUWIH.js.map} +1 -1
  15. package/dist/chunks/{chunk.5UBU4JQJ.js → chunk.6EHHOHBG.js} +2 -2
  16. package/dist/chunks/{chunk.6NWT6L3K.js → chunk.6N5IAYT2.js} +2 -2
  17. package/dist/chunks/{chunk.GFUY2Z3E.js → chunk.6ZMQFRAK.js} +2 -2
  18. package/dist/chunks/{chunk.MMG5DA2N.js → chunk.7INB3LU4.js} +2 -2
  19. package/dist/chunks/{chunk.6BAQMGDG.js → chunk.7TOZAZTA.js} +9 -9
  20. package/dist/chunks/{chunk.CKB73XBB.js → chunk.A3TUOOXV.js} +2 -2
  21. package/dist/chunks/{chunk.3F4PA2RJ.js → chunk.A45QGUNM.js} +2 -2
  22. package/dist/chunks/{chunk.D4YRKGVK.js → chunk.AA7ETQ6Z.js} +9 -7
  23. package/dist/chunks/{chunk.D4YRKGVK.js.map → chunk.AA7ETQ6Z.js.map} +1 -1
  24. package/dist/chunks/{chunk.SDQC32B3.js → chunk.AINKZEUX.js} +3 -1
  25. package/dist/chunks/{chunk.SDQC32B3.js.map → chunk.AINKZEUX.js.map} +2 -2
  26. package/dist/chunks/{chunk.MBWZTWQ3.js → chunk.APPDW65F.js} +16 -14
  27. package/dist/chunks/{chunk.MBWZTWQ3.js.map → chunk.APPDW65F.js.map} +1 -1
  28. package/dist/chunks/{chunk.CX6BVBUN.js → chunk.AUQVJZEW.js} +2 -2
  29. package/dist/chunks/{chunk.HYSKDMI3.js → chunk.BCAT6PJO.js} +2 -2
  30. package/dist/chunks/{chunk.T3KEPARA.js → chunk.BCM6GF47.js} +2 -2
  31. package/dist/chunks/{chunk.RVQ3X7WC.js → chunk.BWVISANJ.js} +2 -2
  32. package/dist/chunks/{chunk.RVQ3X7WC.js.map → chunk.BWVISANJ.js.map} +1 -1
  33. package/dist/chunks/{chunk.KM4XNOFN.js → chunk.BZ7DXEKT.js} +2 -2
  34. package/dist/chunks/chunk.C2ENQBPM.js +17 -0
  35. package/dist/chunks/chunk.C2ENQBPM.js.map +7 -0
  36. package/dist/chunks/{chunk.5Z23XOZH.js → chunk.C66PDYUI.js} +2 -2
  37. package/dist/chunks/{chunk.BALZJ5OU.js → chunk.CCBYOE35.js} +2 -2
  38. package/dist/chunks/{chunk.VVYBWDVV.js → chunk.CG7HK3HS.js} +5 -5
  39. package/dist/chunks/{chunk.ICJERNQU.js → chunk.COI5VNKC.js} +3 -3
  40. package/dist/chunks/{chunk.IPKUHOKD.js → chunk.CZISOWFR.js} +3 -3
  41. package/dist/chunks/{chunk.JKNV2DRD.js → chunk.DCWG25RX.js} +6 -6
  42. package/dist/chunks/{chunk.22E7SPMA.js → chunk.EG23UW3V.js} +3 -3
  43. package/dist/chunks/{chunk.4O3MCCWE.js → chunk.EPEJDXFO.js} +9 -7
  44. package/dist/chunks/{chunk.4O3MCCWE.js.map → chunk.EPEJDXFO.js.map} +1 -1
  45. package/dist/chunks/{chunk.QODDLPTZ.js → chunk.GCVGZHJK.js} +2 -2
  46. package/dist/chunks/{chunk.5LL426KP.js → chunk.GOXWNSOG.js} +2 -2
  47. package/dist/chunks/{chunk.I7T6CYDB.js → chunk.GZQPS6JH.js} +3 -3
  48. package/dist/chunks/{chunk.CX4QZVGR.js → chunk.HLE65RI4.js} +2 -3
  49. package/dist/chunks/{chunk.CX4QZVGR.js.map → chunk.HLE65RI4.js.map} +2 -2
  50. package/dist/chunks/{chunk.5QBWRU76.js → chunk.HLRZHIBP.js} +2 -2
  51. package/dist/chunks/{chunk.5KKWOVVC.js → chunk.HPWFMICA.js} +9 -7
  52. package/dist/chunks/{chunk.5KKWOVVC.js.map → chunk.HPWFMICA.js.map} +1 -1
  53. package/dist/chunks/{chunk.XXWU2N6Z.js → chunk.HRU52NH5.js} +2 -2
  54. package/dist/chunks/{chunk.YA3UERHI.js → chunk.HVJGBGHT.js} +2 -2
  55. package/dist/chunks/chunk.IKZOQ7AE.js +184 -0
  56. package/dist/chunks/chunk.IKZOQ7AE.js.map +7 -0
  57. package/dist/chunks/{chunk.SBRYVEQN.js → chunk.IOTJRIT5.js} +2 -2
  58. package/dist/chunks/{chunk.6GNLD5GO.js → chunk.JD6HMTL2.js} +12 -10
  59. package/dist/chunks/{chunk.6GNLD5GO.js.map → chunk.JD6HMTL2.js.map} +1 -1
  60. package/dist/chunks/{chunk.QZNPL6WK.js → chunk.JSPLWE2A.js} +10 -2
  61. package/dist/chunks/{chunk.QZNPL6WK.js.map → chunk.JSPLWE2A.js.map} +2 -2
  62. package/dist/chunks/{chunk.BJEVUOBO.js → chunk.KPEDDAR4.js} +4 -4
  63. package/dist/chunks/{chunk.SAKDWMDC.js → chunk.LAKJ5MK2.js} +6 -6
  64. package/dist/chunks/{chunk.2RROJC65.js → chunk.LQZJ6SLT.js} +2 -2
  65. package/dist/chunks/{chunk.LOVGEUYP.js → chunk.M4PJZ2KX.js} +7 -7
  66. package/dist/chunks/{chunk.LOVGEUYP.js.map → chunk.M4PJZ2KX.js.map} +1 -1
  67. package/dist/chunks/{chunk.TYKSQSYN.js → chunk.MAWKXH6T.js} +7 -7
  68. package/dist/chunks/{chunk.KGXWML3K.js → chunk.ML6NOYHV.js} +2 -2
  69. package/dist/chunks/{chunk.PYLHI2JQ.js → chunk.MLOZ4D3V.js} +2 -16
  70. package/dist/chunks/{chunk.PYLHI2JQ.js.map → chunk.MLOZ4D3V.js.map} +3 -3
  71. package/dist/chunks/{chunk.ZDIP5E5M.js → chunk.MO5THLW3.js} +3 -3
  72. package/dist/chunks/{chunk.3GS7GYS7.js → chunk.MQH2OOTN.js} +2 -2
  73. package/dist/chunks/{chunk.GLQRGWLN.js → chunk.MZO2W4AG.js} +2 -2
  74. package/dist/chunks/{chunk.DCR5ERAC.js → chunk.OAD4GL57.js} +2 -2
  75. package/dist/chunks/{chunk.YKKAQLY3.js → chunk.OP4WTQ2R.js} +11 -8
  76. package/dist/chunks/chunk.OP4WTQ2R.js.map +7 -0
  77. package/dist/chunks/{chunk.E5Q4S6J5.js → chunk.OUSXEKQG.js} +6 -6
  78. package/dist/chunks/chunk.OZ7PQTHB.js +483 -0
  79. package/dist/chunks/chunk.OZ7PQTHB.js.map +7 -0
  80. package/dist/chunks/{chunk.LIQFEI76.js → chunk.P7GNMVZ4.js} +2 -2
  81. package/dist/chunks/{chunk.7J3ICWNG.js → chunk.PGDHCGHK.js} +2 -2
  82. package/dist/chunks/{chunk.YLOY6MCX.js → chunk.POXDBLOS.js} +4 -4
  83. package/dist/chunks/{chunk.6EXC65JJ.js → chunk.QBVLTYU7.js} +8 -1
  84. package/dist/chunks/{chunk.6EXC65JJ.js.map → chunk.QBVLTYU7.js.map} +2 -2
  85. package/dist/chunks/{chunk.6WF7O7RF.js → chunk.QVNMCS3Y.js} +2 -2
  86. package/dist/chunks/{chunk.XJBZVH65.js → chunk.QVULMTSN.js} +6 -6
  87. package/dist/chunks/{chunk.3FSNN2LA.js → chunk.R6VT7GM5.js} +2 -2
  88. package/dist/chunks/{chunk.3PATCZJL.js → chunk.REXNHEPD.js} +2 -2
  89. package/dist/chunks/{chunk.YLOGCYYH.js → chunk.RQ6PQ76D.js} +3 -3
  90. package/dist/chunks/{chunk.N3MYRPRM.js → chunk.RSPZU72C.js} +2 -2
  91. package/dist/chunks/{chunk.PJYYK2T7.js → chunk.RUUKH7KZ.js} +2 -2
  92. package/dist/chunks/{chunk.AGX3EDVR.js → chunk.S2UI5DQ6.js} +2 -2
  93. package/dist/chunks/{chunk.JSGXW7HG.js → chunk.SIADSRVP.js} +2 -2
  94. package/dist/chunks/{chunk.JJ6N7OHW.js → chunk.SN6A7VBJ.js} +2 -2
  95. package/dist/chunks/{chunk.YCT4K4JT.js → chunk.SOVF26GR.js} +10 -8
  96. package/dist/chunks/{chunk.YCT4K4JT.js.map → chunk.SOVF26GR.js.map} +2 -2
  97. package/dist/chunks/{chunk.NATMLGVF.js → chunk.T4MHUMBJ.js} +10 -10
  98. package/dist/chunks/{chunk.WX7OJEBN.js → chunk.TCGQ6I55.js} +2 -2
  99. package/dist/chunks/{chunk.I5GHSBBB.js → chunk.TD2KXBBJ.js} +2 -2
  100. package/dist/chunks/{chunk.QN4VTDCL.js → chunk.THRSQDCW.js} +2 -2
  101. package/dist/chunks/{chunk.3JFJNUVB.js → chunk.TVIXZRR6.js} +3 -3
  102. package/dist/chunks/{chunk.YYWFJREC.js → chunk.UKK7UB66.js} +2 -2
  103. package/dist/chunks/{chunk.4UZBHZB7.js → chunk.VCCPDP5S.js} +2 -2
  104. package/dist/chunks/{chunk.XBUFNX4L.js → chunk.VI6PYB5C.js} +7 -7
  105. package/dist/chunks/{chunk.A7HLSENR.js → chunk.VNOGO2PS.js} +2 -2
  106. package/dist/chunks/{chunk.X4BO4K4B.js → chunk.VREBZRBU.js} +2 -2
  107. package/dist/chunks/{chunk.MXCWG2OM.js → chunk.W2474HMX.js} +2 -2
  108. package/dist/chunks/{chunk.OPOK7CZS.js → chunk.WEUMPGAL.js} +2 -2
  109. package/dist/chunks/{chunk.BRQJBVSR.js → chunk.XBHV2RZS.js} +5 -5
  110. package/dist/chunks/{chunk.HXW47ZEU.js → chunk.XD3FB2XT.js} +7 -7
  111. package/dist/chunks/{chunk.3H2H5FNB.js → chunk.XY7PAA7K.js} +2 -2
  112. package/dist/chunks/{chunk.A2Z57FBZ.js → chunk.Y4PC4NYJ.js} +2 -2
  113. package/dist/chunks/{chunk.ZG6RQJZT.js → chunk.ZHDP4GU5.js} +2 -2
  114. package/dist/chunks/{chunk.E3KW3KQM.js → chunk.ZTEMBLJH.js} +2 -2
  115. package/dist/chunks/{chunk.E3KW3KQM.js.map → chunk.ZTEMBLJH.js.map} +1 -1
  116. package/dist/chunks/{chunk.W67OQ7TE.js → chunk.ZXLXQMJJ.js} +2 -2
  117. package/dist/components/accordion/accordion.component.js +2 -2
  118. package/dist/components/accordion/accordion.js +3 -3
  119. package/dist/components/alert/alert.component.js +11 -10
  120. package/dist/components/alert/alert.js +12 -11
  121. package/dist/components/badge/badge.component.js +4 -4
  122. package/dist/components/badge/badge.js +5 -5
  123. package/dist/components/breadcrumb/breadcrumb.component.js +8 -8
  124. package/dist/components/breadcrumb/breadcrumb.js +9 -9
  125. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  126. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  127. package/dist/components/button/button.component.js +10 -10
  128. package/dist/components/button/button.js +11 -11
  129. package/dist/components/button-group/button-group.component.js +2 -2
  130. package/dist/components/button-group/button-group.js +3 -3
  131. package/dist/components/card/card.component.js +2 -2
  132. package/dist/components/card/card.js +3 -3
  133. package/dist/components/checkbox/checkbox.component.js +8 -8
  134. package/dist/components/checkbox/checkbox.js +9 -9
  135. package/dist/components/details/details.component.js +10 -9
  136. package/dist/components/details/details.js +11 -10
  137. package/dist/components/dialog/dialog.component.js +11 -10
  138. package/dist/components/dialog/dialog.js +12 -11
  139. package/dist/components/divider/divider.component.js +2 -2
  140. package/dist/components/divider/divider.js +3 -3
  141. package/dist/components/drawer/drawer.component.js +11 -10
  142. package/dist/components/drawer/drawer.js +12 -11
  143. package/dist/components/dropdown/dropdown.component.js +7 -6
  144. package/dist/components/dropdown/dropdown.js +8 -7
  145. package/dist/components/file/file.component.d.ts +195 -0
  146. package/dist/components/file/file.component.js +32 -0
  147. package/dist/components/file/file.component.js.map +7 -0
  148. package/dist/components/file/file.d.ts +8 -0
  149. package/dist/components/file/file.js +33 -0
  150. package/dist/components/file/file.js.map +7 -0
  151. package/dist/components/file/file.styles.d.ts +2 -0
  152. package/dist/components/file/file.styles.js +8 -0
  153. package/dist/components/file/file.styles.js.map +7 -0
  154. package/dist/components/header/header.component.js +9 -9
  155. package/dist/components/header/header.js +10 -10
  156. package/dist/components/icon/icon.component.js +5 -5
  157. package/dist/components/icon/icon.js +6 -6
  158. package/dist/components/icon/library.js +2 -2
  159. package/dist/components/icon/library.system.js +1 -1
  160. package/dist/components/icon-button/icon-button.component.js +6 -6
  161. package/dist/components/icon-button/icon-button.js +7 -7
  162. package/dist/components/input/input.component.js +12 -12
  163. package/dist/components/input/input.js +13 -13
  164. package/dist/components/menu/menu.component.js +2 -2
  165. package/dist/components/menu/menu.js +3 -3
  166. package/dist/components/menu-item/menu-item.component.js +11 -11
  167. package/dist/components/menu-item/menu-item.js +12 -12
  168. package/dist/components/menu-item/submenu-controller.js +2 -2
  169. package/dist/components/menu-label/menu-label.component.js +4 -4
  170. package/dist/components/menu-label/menu-label.js +5 -5
  171. package/dist/components/nav-item/nav-item.component.js +3 -3
  172. package/dist/components/nav-item/nav-item.js +4 -4
  173. package/dist/components/optgroup/optgroup.component.js +3 -3
  174. package/dist/components/optgroup/optgroup.js +4 -4
  175. package/dist/components/option/option.component.js +8 -8
  176. package/dist/components/option/option.js +9 -9
  177. package/dist/components/popup/popup.component.js +2 -2
  178. package/dist/components/popup/popup.js +3 -3
  179. package/dist/components/prio-nav/prio-nav.component.js +15 -14
  180. package/dist/components/prio-nav/prio-nav.js +16 -15
  181. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  182. package/dist/components/progress-bar/progress-bar.js +5 -5
  183. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  184. package/dist/components/progress-ring/progress-ring.js +5 -5
  185. package/dist/components/radio/radio.component.js +6 -6
  186. package/dist/components/radio/radio.js +7 -7
  187. package/dist/components/radio-button/radio-button.component.js +2 -2
  188. package/dist/components/radio-button/radio-button.js +3 -3
  189. package/dist/components/radio-group/radio-group.component.js +5 -5
  190. package/dist/components/radio-group/radio-group.js +6 -6
  191. package/dist/components/select/select.component.js +17 -16
  192. package/dist/components/select/select.js +18 -17
  193. package/dist/components/side-nav/side-nav.component.js +13 -12
  194. package/dist/components/side-nav/side-nav.js +14 -13
  195. package/dist/components/spinner/spinner.component.js +4 -4
  196. package/dist/components/spinner/spinner.js +5 -5
  197. package/dist/components/switch/switch.component.js +5 -5
  198. package/dist/components/switch/switch.js +6 -6
  199. package/dist/components/tab/tab.component.js +9 -9
  200. package/dist/components/tab/tab.js +10 -10
  201. package/dist/components/tab-group/tab-group.component.js +10 -10
  202. package/dist/components/tab-group/tab-group.js +11 -11
  203. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  204. package/dist/components/tab-panel/tab-panel.js +3 -3
  205. package/dist/components/tag/tag.component.js +10 -10
  206. package/dist/components/tag/tag.js +11 -11
  207. package/dist/components/textarea/textarea.component.js +4 -4
  208. package/dist/components/textarea/textarea.js +5 -5
  209. package/dist/components/tooltip/tooltip.component.js +8 -7
  210. package/dist/components/tooltip/tooltip.js +9 -8
  211. package/dist/custom-elements.json +781 -77
  212. package/dist/styles/fouc.css +1 -0
  213. package/dist/styles/index.css +2 -1
  214. package/dist/synergy.d.ts +1 -0
  215. package/dist/synergy.js +143 -136
  216. package/dist/translations/de.js +11 -3
  217. package/dist/translations/de.js.map +2 -2
  218. package/dist/translations/en.js +1 -1
  219. package/dist/utilities/form.js +2 -2
  220. package/dist/utilities/icon-library.js +2 -2
  221. package/dist/utilities/localize.d.ts +4 -0
  222. package/dist/utilities/localize.js +2 -2
  223. package/dist/vscode.html-custom-data.json +114 -23
  224. package/package.json +4 -4
  225. package/dist/chunks/chunk.YKKAQLY3.js.map +0 -7
  226. /package/dist/chunks/{chunk.ODDKTIMC.js.map → chunk.26PVORV4.js.map} +0 -0
  227. /package/dist/chunks/{chunk.AL5JOFXG.js.map → chunk.2JGMDXJX.js.map} +0 -0
  228. /package/dist/chunks/{chunk.KEZEYBVJ.js.map → chunk.3442R447.js.map} +0 -0
  229. /package/dist/chunks/{chunk.PLEO5ZHI.js.map → chunk.36WNAWGH.js.map} +0 -0
  230. /package/dist/chunks/{chunk.OSLTEHUP.js.map → chunk.445GTYI7.js.map} +0 -0
  231. /package/dist/chunks/{chunk.MI6OSBNZ.js.map → chunk.4U4U4WYP.js.map} +0 -0
  232. /package/dist/chunks/{chunk.FCS3RTNQ.js.map → chunk.4VJLNO6Y.js.map} +0 -0
  233. /package/dist/chunks/{chunk.MP6GCBDQ.js.map → chunk.4VP6SOMT.js.map} +0 -0
  234. /package/dist/chunks/{chunk.AV56MW4Q.js.map → chunk.543GQUFN.js.map} +0 -0
  235. /package/dist/chunks/{chunk.5UBU4JQJ.js.map → chunk.6EHHOHBG.js.map} +0 -0
  236. /package/dist/chunks/{chunk.6NWT6L3K.js.map → chunk.6N5IAYT2.js.map} +0 -0
  237. /package/dist/chunks/{chunk.GFUY2Z3E.js.map → chunk.6ZMQFRAK.js.map} +0 -0
  238. /package/dist/chunks/{chunk.MMG5DA2N.js.map → chunk.7INB3LU4.js.map} +0 -0
  239. /package/dist/chunks/{chunk.6BAQMGDG.js.map → chunk.7TOZAZTA.js.map} +0 -0
  240. /package/dist/chunks/{chunk.CKB73XBB.js.map → chunk.A3TUOOXV.js.map} +0 -0
  241. /package/dist/chunks/{chunk.3F4PA2RJ.js.map → chunk.A45QGUNM.js.map} +0 -0
  242. /package/dist/chunks/{chunk.CX6BVBUN.js.map → chunk.AUQVJZEW.js.map} +0 -0
  243. /package/dist/chunks/{chunk.HYSKDMI3.js.map → chunk.BCAT6PJO.js.map} +0 -0
  244. /package/dist/chunks/{chunk.T3KEPARA.js.map → chunk.BCM6GF47.js.map} +0 -0
  245. /package/dist/chunks/{chunk.KM4XNOFN.js.map → chunk.BZ7DXEKT.js.map} +0 -0
  246. /package/dist/chunks/{chunk.5Z23XOZH.js.map → chunk.C66PDYUI.js.map} +0 -0
  247. /package/dist/chunks/{chunk.BALZJ5OU.js.map → chunk.CCBYOE35.js.map} +0 -0
  248. /package/dist/chunks/{chunk.VVYBWDVV.js.map → chunk.CG7HK3HS.js.map} +0 -0
  249. /package/dist/chunks/{chunk.ICJERNQU.js.map → chunk.COI5VNKC.js.map} +0 -0
  250. /package/dist/chunks/{chunk.IPKUHOKD.js.map → chunk.CZISOWFR.js.map} +0 -0
  251. /package/dist/chunks/{chunk.JKNV2DRD.js.map → chunk.DCWG25RX.js.map} +0 -0
  252. /package/dist/chunks/{chunk.22E7SPMA.js.map → chunk.EG23UW3V.js.map} +0 -0
  253. /package/dist/chunks/{chunk.QODDLPTZ.js.map → chunk.GCVGZHJK.js.map} +0 -0
  254. /package/dist/chunks/{chunk.5LL426KP.js.map → chunk.GOXWNSOG.js.map} +0 -0
  255. /package/dist/chunks/{chunk.I7T6CYDB.js.map → chunk.GZQPS6JH.js.map} +0 -0
  256. /package/dist/chunks/{chunk.5QBWRU76.js.map → chunk.HLRZHIBP.js.map} +0 -0
  257. /package/dist/chunks/{chunk.XXWU2N6Z.js.map → chunk.HRU52NH5.js.map} +0 -0
  258. /package/dist/chunks/{chunk.YA3UERHI.js.map → chunk.HVJGBGHT.js.map} +0 -0
  259. /package/dist/chunks/{chunk.SBRYVEQN.js.map → chunk.IOTJRIT5.js.map} +0 -0
  260. /package/dist/chunks/{chunk.BJEVUOBO.js.map → chunk.KPEDDAR4.js.map} +0 -0
  261. /package/dist/chunks/{chunk.SAKDWMDC.js.map → chunk.LAKJ5MK2.js.map} +0 -0
  262. /package/dist/chunks/{chunk.2RROJC65.js.map → chunk.LQZJ6SLT.js.map} +0 -0
  263. /package/dist/chunks/{chunk.TYKSQSYN.js.map → chunk.MAWKXH6T.js.map} +0 -0
  264. /package/dist/chunks/{chunk.KGXWML3K.js.map → chunk.ML6NOYHV.js.map} +0 -0
  265. /package/dist/chunks/{chunk.ZDIP5E5M.js.map → chunk.MO5THLW3.js.map} +0 -0
  266. /package/dist/chunks/{chunk.3GS7GYS7.js.map → chunk.MQH2OOTN.js.map} +0 -0
  267. /package/dist/chunks/{chunk.GLQRGWLN.js.map → chunk.MZO2W4AG.js.map} +0 -0
  268. /package/dist/chunks/{chunk.DCR5ERAC.js.map → chunk.OAD4GL57.js.map} +0 -0
  269. /package/dist/chunks/{chunk.E5Q4S6J5.js.map → chunk.OUSXEKQG.js.map} +0 -0
  270. /package/dist/chunks/{chunk.LIQFEI76.js.map → chunk.P7GNMVZ4.js.map} +0 -0
  271. /package/dist/chunks/{chunk.7J3ICWNG.js.map → chunk.PGDHCGHK.js.map} +0 -0
  272. /package/dist/chunks/{chunk.YLOY6MCX.js.map → chunk.POXDBLOS.js.map} +0 -0
  273. /package/dist/chunks/{chunk.6WF7O7RF.js.map → chunk.QVNMCS3Y.js.map} +0 -0
  274. /package/dist/chunks/{chunk.XJBZVH65.js.map → chunk.QVULMTSN.js.map} +0 -0
  275. /package/dist/chunks/{chunk.3FSNN2LA.js.map → chunk.R6VT7GM5.js.map} +0 -0
  276. /package/dist/chunks/{chunk.3PATCZJL.js.map → chunk.REXNHEPD.js.map} +0 -0
  277. /package/dist/chunks/{chunk.YLOGCYYH.js.map → chunk.RQ6PQ76D.js.map} +0 -0
  278. /package/dist/chunks/{chunk.N3MYRPRM.js.map → chunk.RSPZU72C.js.map} +0 -0
  279. /package/dist/chunks/{chunk.PJYYK2T7.js.map → chunk.RUUKH7KZ.js.map} +0 -0
  280. /package/dist/chunks/{chunk.AGX3EDVR.js.map → chunk.S2UI5DQ6.js.map} +0 -0
  281. /package/dist/chunks/{chunk.JSGXW7HG.js.map → chunk.SIADSRVP.js.map} +0 -0
  282. /package/dist/chunks/{chunk.JJ6N7OHW.js.map → chunk.SN6A7VBJ.js.map} +0 -0
  283. /package/dist/chunks/{chunk.NATMLGVF.js.map → chunk.T4MHUMBJ.js.map} +0 -0
  284. /package/dist/chunks/{chunk.WX7OJEBN.js.map → chunk.TCGQ6I55.js.map} +0 -0
  285. /package/dist/chunks/{chunk.I5GHSBBB.js.map → chunk.TD2KXBBJ.js.map} +0 -0
  286. /package/dist/chunks/{chunk.QN4VTDCL.js.map → chunk.THRSQDCW.js.map} +0 -0
  287. /package/dist/chunks/{chunk.3JFJNUVB.js.map → chunk.TVIXZRR6.js.map} +0 -0
  288. /package/dist/chunks/{chunk.YYWFJREC.js.map → chunk.UKK7UB66.js.map} +0 -0
  289. /package/dist/chunks/{chunk.4UZBHZB7.js.map → chunk.VCCPDP5S.js.map} +0 -0
  290. /package/dist/chunks/{chunk.XBUFNX4L.js.map → chunk.VI6PYB5C.js.map} +0 -0
  291. /package/dist/chunks/{chunk.A7HLSENR.js.map → chunk.VNOGO2PS.js.map} +0 -0
  292. /package/dist/chunks/{chunk.X4BO4K4B.js.map → chunk.VREBZRBU.js.map} +0 -0
  293. /package/dist/chunks/{chunk.MXCWG2OM.js.map → chunk.W2474HMX.js.map} +0 -0
  294. /package/dist/chunks/{chunk.OPOK7CZS.js.map → chunk.WEUMPGAL.js.map} +0 -0
  295. /package/dist/chunks/{chunk.BRQJBVSR.js.map → chunk.XBHV2RZS.js.map} +0 -0
  296. /package/dist/chunks/{chunk.HXW47ZEU.js.map → chunk.XD3FB2XT.js.map} +0 -0
  297. /package/dist/chunks/{chunk.3H2H5FNB.js.map → chunk.XY7PAA7K.js.map} +0 -0
  298. /package/dist/chunks/{chunk.A2Z57FBZ.js.map → chunk.Y4PC4NYJ.js.map} +0 -0
  299. /package/dist/chunks/{chunk.ZG6RQJZT.js.map → chunk.ZHDP4GU5.js.map} +0 -0
  300. /package/dist/chunks/{chunk.W67OQ7TE.js.map → chunk.ZXLXQMJJ.js.map} +0 -0
@@ -30,22 +30,12 @@
30
30
  ]
31
31
  },
32
32
  {
33
- "name": "syn-alert",
34
- "description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **syn-show** - Emitted when the alert opens.\n- **syn-after-show** - Emitted after the alert opens and all animations are complete.\n- **syn-hide** - Emitted when the alert closes.\n- **syn-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **icon** - An icon to show in the alert. Works best with `<syn-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **message** - The container that wraps the alert's main content.\n- **close-button** - The close button, an `<syn-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
33
+ "name": "syn-badge",
34
+ "description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
35
35
  "attributes": [
36
- {
37
- "name": "open",
38
- "description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
39
- "values": []
40
- },
41
- {
42
- "name": "closable",
43
- "description": "Enables a close button that allows the user to dismiss the alert.",
44
- "values": []
45
- },
46
36
  {
47
37
  "name": "variant",
48
- "description": "The alert's theme variant.",
38
+ "description": "The badge's theme variant.",
49
39
  "values": [
50
40
  { "name": "primary" },
51
41
  { "name": "success" },
@@ -53,27 +43,32 @@
53
43
  { "name": "warning" },
54
44
  { "name": "danger" }
55
45
  ]
56
- },
57
- {
58
- "name": "duration",
59
- "description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
60
- "values": []
61
46
  }
62
47
  ],
63
48
  "references": [
64
49
  {
65
50
  "name": "Documentation",
66
- "url": "https://synergy.style/components/alert"
51
+ "url": "https://synergy.style/components/badge"
67
52
  }
68
53
  ]
69
54
  },
70
55
  {
71
- "name": "syn-badge",
72
- "description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
56
+ "name": "syn-alert",
57
+ "description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **syn-show** - Emitted when the alert opens.\n- **syn-after-show** - Emitted after the alert opens and all animations are complete.\n- **syn-hide** - Emitted when the alert closes.\n- **syn-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **icon** - An icon to show in the alert. Works best with `<syn-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **message** - The container that wraps the alert's main content.\n- **close-button** - The close button, an `<syn-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
73
58
  "attributes": [
59
+ {
60
+ "name": "open",
61
+ "description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
62
+ "values": []
63
+ },
64
+ {
65
+ "name": "closable",
66
+ "description": "Enables a close button that allows the user to dismiss the alert.",
67
+ "values": []
68
+ },
74
69
  {
75
70
  "name": "variant",
76
- "description": "The badge's theme variant.",
71
+ "description": "The alert's theme variant.",
77
72
  "values": [
78
73
  { "name": "primary" },
79
74
  { "name": "success" },
@@ -81,12 +76,17 @@
81
76
  { "name": "warning" },
82
77
  { "name": "danger" }
83
78
  ]
79
+ },
80
+ {
81
+ "name": "duration",
82
+ "description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
83
+ "values": []
84
84
  }
85
85
  ],
86
86
  "references": [
87
87
  {
88
88
  "name": "Documentation",
89
- "url": "https://synergy.style/components/badge"
89
+ "url": "https://synergy.style/components/alert"
90
90
  }
91
91
  ]
92
92
  },
@@ -557,6 +557,97 @@
557
557
  }
558
558
  ]
559
559
  },
560
+ {
561
+ "name": "syn-file",
562
+ "description": "File controls allow selecting an arbitrary number of files for uploading.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the control loses focus.\n- **syn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **syn-error** - Emitted when multiple files are selected via drag and drop, without the `multiple` property being set.\n- **syn-focus** - Emitted when the control gains focus.\n- **syn-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the button or droparea.\n- **blur()** - Removes focus from the button or droparea.\n\n### **Slots:**\n - **label** - The file control's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute.\n- **droparea-icon** - Optional droparea icon to use instead of the default. Works best with `<syn-icon>`.\n- **trigger** - Optional content to be used as trigger instead of the default content. Opening the file dialog on click and as well as drag and drop will work for this content. Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*, *hide-value*. Also if using the disabled attribute, the disabled styling will not be applied and must be taken care of yourself.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **button-wrapper** - The wrapper around the button and text value.\n- **button** - The syn-button acting as a file input.\n- **button__base** - The syn-button's exported `base` part.\n- **value** - The chosen files or placeholder text for the file input.\n- **droparea** - The element wrapping the drop zone.\n- **droparea-background** - The background of the drop zone.\n- **droparea-icon** - The container that wraps the icon for the drop zone.\n- **droparea-value** - The text for the drop zone.\n- **trigger** - The container that wraps the trigger.",
563
+ "attributes": [
564
+ {
565
+ "name": "files",
566
+ "description": "The selected files as a FileList object containing a list of File objects.\nThe FileList behaves like an array, so you can get the number of selected files\nvia its length property.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files)",
567
+ "values": []
568
+ },
569
+ {
570
+ "name": "name",
571
+ "description": "The name of the file control, submitted as a name/value pair with form data.",
572
+ "values": []
573
+ },
574
+ {
575
+ "name": "value",
576
+ "description": "The value of the file control contains a string that represents the path of the selected file.\nIf multiple files are selected, the value represents the first file in the list.\nIf no file is selected, the value is an empty string.\nBeware that the only valid value when setting a file control is an empty string!\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value)",
577
+ "values": []
578
+ },
579
+ {
580
+ "name": "size",
581
+ "description": "The file control's size.",
582
+ "values": [
583
+ { "name": "small" },
584
+ { "name": "medium" },
585
+ { "name": "large" }
586
+ ]
587
+ },
588
+ {
589
+ "name": "label",
590
+ "description": "The file control's label. If you need to display HTML, use the `label` slot instead.",
591
+ "values": []
592
+ },
593
+ {
594
+ "name": "help-text",
595
+ "description": "The file control's help text.\nIf you need to display HTML, use the `help-text` slot instead.",
596
+ "values": []
597
+ },
598
+ {
599
+ "name": "disabled",
600
+ "description": "Disables the file control.",
601
+ "values": []
602
+ },
603
+ {
604
+ "name": "droparea",
605
+ "description": "Draw the file control as a drop area",
606
+ "values": []
607
+ },
608
+ {
609
+ "name": "accept",
610
+ "description": "Comma separated list of supported file types\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)",
611
+ "values": []
612
+ },
613
+ {
614
+ "name": "capture",
615
+ "description": "Specifies the types of files that the server accepts.\nCan be set either to user or environment.\nWorks only when not using a droparea!\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture)",
616
+ "values": [{ "name": "user" }, { "name": "environment" }]
617
+ },
618
+ {
619
+ "name": "multiple",
620
+ "description": "Indicates whether the user can select more than one file.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple)",
621
+ "values": []
622
+ },
623
+ {
624
+ "name": "webkitdirectory",
625
+ "description": "Indicates that the file control should let the user select directories instead of files.\nWhen a directory is selected, the directory and its entire hierarchy of contents are included\nin the set of selected items.\nNote: This is a non-standard attribute but is supported in the major browsers.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)",
626
+ "values": []
627
+ },
628
+ {
629
+ "name": "form",
630
+ "description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form and associate it\nwith the form that has this `id`. The form must be in the same document\nor shadow root for this to work.",
631
+ "values": []
632
+ },
633
+ {
634
+ "name": "required",
635
+ "description": "Makes the input a required field.",
636
+ "values": []
637
+ },
638
+ {
639
+ "name": "hide-value",
640
+ "description": "Suppress the value from being displayed in the file control",
641
+ "values": []
642
+ }
643
+ ],
644
+ "references": [
645
+ {
646
+ "name": "Documentation",
647
+ "url": "https://synergy.style/components/file"
648
+ }
649
+ ]
650
+ },
560
651
  {
561
652
  "name": "syn-header",
562
653
  "description": "The <syn-header /> element provides a generic application header\nthat can be used to add applications name, toolbar and primary navigation.\n---\n\n\n### **Events:**\n - **syn-burger-menu-closed** - Emitted when the burger menu is toggled to closed\n- **syn-burger-menu-hidden** - Emitted when the burger menu is toggled to hidden\n- **syn-burger-menu-open** - Emitted when the burger menu is toggled to open\n\n### **Methods:**\n - **connectSideNavigation(sideNav: _SynSideNav | null_)** - Connect a `syn-side-nav` to add automatic interaction of the header with the side navigation\nlike showing the burger menu icon and open / close handling.\n\nIf no side navigation is connected, the header will use the first `syn-side-nav` element it\nfinds.\n\n### **Slots:**\n - **label** - The label for the header\n- **logo** - The logo that should be displayed. Will fall back to the SICK logo if not provided\n- **meta-navigation** - The meta-navigation is used to add various application toolbar icons Best used with `<syn-icon-button />` and `<syn-drop-down />`\n- **navigation** - This slot can be used to add an optional horizontal navigation\n- **open-burger-menu-icon** - An icon to use in lieu of the default burger-menu=open state. The default close icon is a 'x'.\n- **closed-burger-menu-icon** - An icon to use in lieu of the default burger-menu=closed state. The default open icon is a burger menu.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper\n- **content** - The wrapper most content items reside\n- **logo** - The wrapper the application logo resides in\n- **label** - The element wrapping the application name\n- **meta-navigation** - The Item wrapping the optional application menu\n- **navigation** - The wrapper that is holding the optional top navigation section\n- **burger-menu-toggle-button** - The button that toggles the burger menu",
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.4.2",
7
+ "version": "2.5.0",
8
8
  "description": "",
9
9
  "repository": {
10
10
  "type": "git",
@@ -96,8 +96,8 @@
96
96
  "vendorism": "^3.0.0",
97
97
  "vue-tsc": "^2.0.14",
98
98
  "@synergy-design-system/eslint-config-syn": "0.1.0",
99
- "@synergy-design-system/stylelint-config-syn": "0.1.0",
100
- "@synergy-design-system/tokens": "2.5.0"
99
+ "@synergy-design-system/tokens": "2.6.0",
100
+ "@synergy-design-system/stylelint-config-syn": "0.1.0"
101
101
  },
102
102
  "release": {
103
103
  "branches": [
@@ -165,7 +165,7 @@
165
165
  "lit": "^3.1.3"
166
166
  },
167
167
  "peerDependencies": {
168
- "@synergy-design-system/tokens": "^2.5.0"
168
+ "@synergy-design-system/tokens": "^2.6.0"
169
169
  },
170
170
  "scripts": {
171
171
  "build": "node scripts/build.js",
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/details/details.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, shimKeyframesHeightAuto, 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 SynIcon from '../icon/icon.component.js';\nimport styles from './details.styles.js';\nimport customStyles from './details.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Details show a brief summary and expand to show additional content.\n * @documentation https://synergy.style/components/details\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The details' main content.\n * @slot summary - The details' summary. Alternatively, you can use the `summary` attribute.\n * @slot expand-icon - Optional expand icon to use instead of the default. Works best with `<syn-icon>`.\n * @slot collapse-icon - Optional collapse icon to use instead of the default. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the details opens.\n * @event syn-after-show - Emitted after the details opens and all animations are complete.\n * @event syn-hide - Emitted when the details closes.\n * @event syn-after-hide - Emitted after the details closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The header that wraps both the summary and the expand/collapse icon.\n * @csspart summary - The container that wraps the summary.\n * @csspart summary-icon - The container that wraps the expand/collapse icons.\n * @csspart content - The details content.\n *\n * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.\n * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.\n */\nexport default class SynDetails extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n static dependencies = {\n 'syn-icon': SynIcon\n };\n\n private readonly localize = new LocalizeController(this);\n\n @query('.details') details: HTMLDetailsElement;\n @query('.details__header') header: HTMLElement;\n @query('.details__body') body: HTMLElement;\n @query('.details__expand-icon-slot') expandIconSlot: HTMLSlotElement;\n\n detailsObserver: MutationObserver;\n\n /**\n * Indicates whether or not the details is open. You can toggle this attribute to show and hide the details, or you\n * can use the `show()` and `hide()` methods and this attribute will reflect the details' open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** The summary to show in the header. If you need to display HTML, use the `summary` slot instead. */\n @property() summary: string;\n\n /** Disables the details so it can't be toggled. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Draws the details as contained element. */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /** The details's size. */\n @property({ reflect: true }) size: 'medium' | 'large' = 'medium';\n\n firstUpdated() {\n this.body.style.height = this.open ? 'auto' : '0';\n if (this.open) {\n this.details.open = true;\n }\n\n this.detailsObserver = new MutationObserver(changes => {\n for (const change of changes) {\n if (change.type === 'attributes' && change.attributeName === 'open') {\n if (this.details.open) {\n this.show();\n } else {\n this.hide();\n }\n }\n }\n });\n this.detailsObserver.observe(this.details, { attributes: true });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.detailsObserver.disconnect();\n }\n\n private handleSummaryClick(event: MouseEvent) {\n event.preventDefault();\n\n if (!this.disabled) {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n this.header.focus();\n }\n }\n\n private handleSummaryKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n if (event.key === 'ArrowUp' || event.key === 'ArrowLeft') {\n event.preventDefault();\n this.hide();\n }\n\n if (event.key === 'ArrowDown' || event.key === 'ArrowRight') {\n event.preventDefault();\n this.show();\n }\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n this.details.open = true;\n // Show\n const slShow = this.emit('syn-show', { cancelable: true });\n if (slShow.defaultPrevented) {\n this.open = false;\n this.details.open = false;\n return;\n }\n\n await stopAnimations(this.body);\n\n const { keyframes, options } = getAnimation(this, 'details.show', { dir: this.localize.dir() });\n await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);\n this.body.style.height = 'auto';\n\n this.emit('syn-after-show');\n } else {\n // Hide\n const slHide = this.emit('syn-hide', { cancelable: true });\n if (slHide.defaultPrevented) {\n this.details.open = true;\n this.open = true;\n return;\n }\n\n await stopAnimations(this.body);\n\n const { keyframes, options } = getAnimation(this, 'details.hide', { dir: this.localize.dir() });\n await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);\n this.body.style.height = 'auto';\n\n this.details.open = false;\n this.emit('syn-after-hide');\n }\n }\n\n /** Shows the details. */\n async show() {\n if (this.open || this.disabled) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the details */\n async hide() {\n if (!this.open || this.disabled) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n render() {\n return html`\n <details\n part=\"base\"\n class=${classMap({\n details: true,\n 'details--size-medium': this.size === 'medium',\n 'details--size-large': this.size === 'large',\n 'details--open': this.open,\n 'details--disabled': this.disabled,\n 'details--contained': this.contained,\n })}\n >\n <summary\n part=\"header\"\n id=\"header\"\n class=\"details__header\"\n role=\"button\"\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-controls=\"content\"\n aria-disabled=${this.disabled ? 'true' : 'false'}\n tabindex=${this.disabled ? '-1' : '0'}\n @click=${this.handleSummaryClick}\n @keydown=${this.handleSummaryKeyDown}\n >\n <slot name=\"summary\" part=\"summary\" class=\"details__summary\">${this.summary}</slot>\n\n <span part=\"summary-icon\" class=\"details__summary-icon\">\n <slot name=\"expand-icon\">\n <syn-icon library=\"system\" name=\"chevron-down\"></syn-icon>\n </slot>\n <slot name=\"collapse-icon\">\n <syn-icon library=\"system\" name=\"chevron-down\"></syn-icon>\n </slot>\n </span>\n </summary>\n\n <div class=\"details__body\" role=\"region\" aria-labelledby=\"header\">\n <slot part=\"content\" id=\"content\" class=\"details__content\"></slot>\n </div>\n </details>\n `;\n }\n}\n\nsetDefaultAnimation('details.show', {\n keyframes: [\n { height: '0', opacity: '0' },\n { height: 'auto', opacity: '1' }\n ],\n options: { duration: 250, easing: 'linear' }\n});\n\nsetDefaultAnimation('details.hide', {\n keyframes: [\n { height: 'auto', opacity: '1' },\n { height: '0', opacity: '0' }\n ],\n options: { duration: 250, easing: 'linear' }\n});\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,UAAU,aAAa;AAqChC,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAOE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAaX,gBAAO;AAMP,oBAAW;AAGX,qBAAY;AAG3B,gBAA2B;AAAA;AAAA,EAExD,eAAe;AACb,SAAK,KAAK,MAAM,SAAS,KAAK,OAAO,SAAS;AAC9C,QAAI,KAAK,MAAM;AACb,WAAK,QAAQ,OAAO;AAAA,IACtB;AAEA,SAAK,kBAAkB,IAAI,iBAAiB,aAAW;AACrD,iBAAW,UAAU,SAAS;AAC5B,YAAI,OAAO,SAAS,gBAAgB,OAAO,kBAAkB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