@synergy-design-system/components 1.21.0 → 1.23.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 (238) hide show
  1. package/dist/chunks/{chunk.7T5LRDJS.js → chunk.4IHZCJIO.js} +5 -5
  2. package/dist/chunks/{chunk.OSBC36KQ.js → chunk.66DXY7BX.js} +1 -20
  3. package/dist/chunks/chunk.66DXY7BX.js.map +7 -0
  4. package/dist/chunks/{chunk.VJCLMFVL.js → chunk.6C4OKY3S.js} +3 -3
  5. package/dist/chunks/{chunk.FMJJ6B2O.js → chunk.6QLGO6B7.js} +2 -2
  6. package/dist/chunks/{chunk.LSA32ONE.js → chunk.75HTBJG2.js} +9 -9
  7. package/dist/chunks/chunk.AWJ376R6.js +36 -0
  8. package/dist/chunks/chunk.AWJ376R6.js.map +7 -0
  9. package/dist/chunks/{chunk.VRYEBHPZ.js → chunk.BDH3MNEZ.js} +2 -2
  10. package/dist/chunks/{chunk.TGTOHT3M.js → chunk.BLANRU2O.js} +2 -2
  11. package/dist/chunks/chunk.C4ZZOCEG.js +288 -0
  12. package/dist/chunks/chunk.C4ZZOCEG.js.map +7 -0
  13. package/dist/chunks/{chunk.RUHBP5HS.js → chunk.C6ZQAYEH.js} +7 -7
  14. package/dist/chunks/{chunk.RXUSRMWB.js → chunk.CFFSAE7R.js} +2 -2
  15. package/dist/chunks/{chunk.HEWDHBWK.js → chunk.CJSER4UW.js} +2 -2
  16. package/dist/chunks/{chunk.SA7CRXUN.js → chunk.CWA6YXHF.js} +2 -2
  17. package/dist/chunks/{chunk.7JTCVU6P.js → chunk.DH7ZOX4L.js} +2 -2
  18. package/dist/chunks/{chunk.PBK6R2U7.js → chunk.ER5OH7PE.js} +2 -2
  19. package/dist/chunks/{chunk.MSX76EO6.js → chunk.EV3VRCZO.js} +2 -2
  20. package/dist/chunks/{chunk.VZP6ITZS.js → chunk.F4PCHWCA.js} +2 -2
  21. package/dist/chunks/{chunk.MRHJDAKR.js → chunk.FP5U5XKU.js} +3 -3
  22. package/dist/chunks/{chunk.LJRMT2PX.js → chunk.FQMRWJFJ.js} +5 -5
  23. package/dist/chunks/{chunk.KTCFTDRV.js → chunk.FQZVX543.js} +2 -2
  24. package/dist/chunks/{chunk.NZEUVKVW.js → chunk.G5IZQ6S2.js} +2 -2
  25. package/dist/chunks/{chunk.4UQWOVA3.js → chunk.GAOGMXIA.js} +2 -2
  26. package/dist/chunks/{chunk.PP52JMRC.js → chunk.HGPR3DSR.js} +6 -6
  27. package/dist/chunks/{chunk.DYKJ6SMQ.js → chunk.HJ2BLED6.js} +9 -9
  28. package/dist/chunks/{chunk.RSUUSMM3.js → chunk.HJS2XO3E.js} +6 -6
  29. package/dist/chunks/{chunk.3LOUHEEN.js → chunk.HVRGKMS2.js} +3 -3
  30. package/dist/chunks/{chunk.KZMWNTUS.js → chunk.I4FIU7FA.js} +6 -6
  31. package/dist/chunks/chunk.I4FIU7FA.js.map +7 -0
  32. package/dist/chunks/{chunk.OXIWVSZW.js → chunk.IGMLSPCX.js} +3 -3
  33. package/dist/chunks/{chunk.HD535D5A.js → chunk.IKY4SF3U.js} +2 -2
  34. package/dist/chunks/chunk.ITXLZUTJ.js +137 -0
  35. package/dist/chunks/chunk.ITXLZUTJ.js.map +7 -0
  36. package/dist/chunks/chunk.IU3SSJZE.js +59 -0
  37. package/dist/chunks/chunk.IU3SSJZE.js.map +7 -0
  38. package/dist/chunks/{chunk.C5G3ID4E.js → chunk.JURUVJDH.js} +2 -2
  39. package/dist/chunks/{chunk.YHJ4VRWW.js → chunk.JURXXFAS.js} +2 -2
  40. package/dist/chunks/{chunk.F542RYWK.js → chunk.KVDQTSR6.js} +2 -2
  41. package/dist/chunks/{chunk.CKQHBV4F.js → chunk.KXABXUHF.js} +2 -2
  42. package/dist/chunks/{chunk.54SVVWZI.js → chunk.LESYB3C2.js} +2 -2
  43. package/dist/chunks/{chunk.CFORFPFW.js → chunk.LF2WINIA.js} +2 -2
  44. package/dist/chunks/chunk.MDZPTRJA.js +12 -0
  45. package/dist/chunks/chunk.MDZPTRJA.js.map +7 -0
  46. package/dist/chunks/{chunk.TQPVSFZU.js → chunk.MHNU5B6B.js} +2 -2
  47. package/dist/chunks/{chunk.3FWONAOI.js → chunk.MLLOIKFT.js} +11 -11
  48. package/dist/chunks/{chunk.XJJM7VPC.js → chunk.MRDYD2EO.js} +2 -2
  49. package/dist/chunks/{chunk.E77KRA43.js → chunk.MWCHWWA6.js} +3 -3
  50. package/dist/chunks/{chunk.65TQU6BR.js → chunk.NRNCS4W7.js} +11 -138
  51. package/dist/chunks/{chunk.65TQU6BR.js.map → chunk.NRNCS4W7.js.map} +3 -3
  52. package/dist/chunks/{chunk.R3AOS6JZ.js → chunk.O5RLTXZV.js} +2 -2
  53. package/dist/chunks/{chunk.N4UX5TMO.js → chunk.ONP567RL.js} +2 -2
  54. package/dist/chunks/{chunk.X2NEIXXJ.js → chunk.OX77MJOD.js} +3 -3
  55. package/dist/chunks/{chunk.PAGHMRBR.js → chunk.P36SH35P.js} +3 -3
  56. package/dist/chunks/{chunk.43M7YAGR.js → chunk.P3JNSYA3.js} +6 -6
  57. package/dist/chunks/{chunk.Y32IWDVW.js → chunk.P7BWMA4R.js} +2 -2
  58. package/dist/chunks/{chunk.4PPPNVJW.js → chunk.PLU22FYW.js} +2 -2
  59. package/dist/chunks/{chunk.NZKEB4EM.js → chunk.POS3ORCG.js} +2 -2
  60. package/dist/chunks/{chunk.JSOLNW6W.js → chunk.PTRBWSST.js} +5 -5
  61. package/dist/chunks/{chunk.A3SLGHGN.js → chunk.Q4FDYSK4.js} +2 -2
  62. package/dist/chunks/{chunk.EP326OJQ.js → chunk.QEWKO72D.js} +2 -2
  63. package/dist/chunks/{chunk.FVVR4JCT.js → chunk.QLHK2UIO.js} +2 -2
  64. package/dist/chunks/{chunk.WJQCM3T3.js → chunk.QO424EZG.js} +2 -2
  65. package/dist/chunks/{chunk.P2DUZ56G.js → chunk.R47GARB7.js} +2 -2
  66. package/dist/chunks/{chunk.P2DUZ56G.js.map → chunk.R47GARB7.js.map} +1 -1
  67. package/dist/chunks/{chunk.AIQQEDZD.js → chunk.RE3DUPRU.js} +2 -2
  68. package/dist/chunks/{chunk.UBQWVB4F.js → chunk.S64FWPC4.js} +2 -2
  69. package/dist/chunks/{chunk.5UUVFVY7.js → chunk.SV7SO2W7.js} +2 -2
  70. package/dist/chunks/{chunk.YI7Z3FPD.js → chunk.TAQALRJR.js} +7 -4
  71. package/dist/chunks/chunk.TAQALRJR.js.map +7 -0
  72. package/dist/chunks/{chunk.ZGKK3SVV.js → chunk.TPGEIEV4.js} +2 -2
  73. package/dist/chunks/{chunk.MJ5Z7CGD.js → chunk.TU2TR3D6.js} +3 -3
  74. package/dist/chunks/{chunk.YN32K4SE.js → chunk.UFUG4PUS.js} +2 -2
  75. package/dist/chunks/{chunk.NL4KNMYG.js → chunk.VHPGEUHA.js} +7 -7
  76. package/dist/chunks/chunk.WB4KEXYB.js +12 -0
  77. package/dist/chunks/chunk.WB4KEXYB.js.map +7 -0
  78. package/dist/chunks/{chunk.XPDGTEZV.js → chunk.WXINI2LT.js} +2 -2
  79. package/dist/chunks/{chunk.E45JNDEP.js → chunk.XAC2JLED.js} +2 -2
  80. package/dist/chunks/chunk.YMICCSK6.js +126 -0
  81. package/dist/chunks/chunk.YMICCSK6.js.map +7 -0
  82. package/dist/chunks/{chunk.2SDD52LO.js → chunk.YN5JT7NN.js} +2 -2
  83. package/dist/chunks/{chunk.NPABQXMU.js → chunk.ZCKMBPFC.js} +5 -5
  84. package/dist/chunks/{chunk.QU4LUX7R.js → chunk.ZFFSP55G.js} +6 -6
  85. package/dist/chunks/{chunk.EEXLRM2A.js → chunk.ZTCTJE62.js} +2 -2
  86. package/dist/components/alert/alert.component.js +9 -9
  87. package/dist/components/alert/alert.js +10 -10
  88. package/dist/components/badge/badge.component.js +3 -3
  89. package/dist/components/badge/badge.js +4 -4
  90. package/dist/components/button/button.component.js +10 -9
  91. package/dist/components/button/button.js +11 -10
  92. package/dist/components/button-group/button-group.component.js +2 -2
  93. package/dist/components/button-group/button-group.js +3 -3
  94. package/dist/components/checkbox/checkbox.component.js +5 -5
  95. package/dist/components/checkbox/checkbox.js +6 -6
  96. package/dist/components/dialog/dialog.component.d.ts +95 -0
  97. package/dist/components/dialog/dialog.component.js +30 -0
  98. package/dist/components/dialog/dialog.component.js.map +7 -0
  99. package/dist/components/dialog/dialog.custom.styles.d.ts +2 -0
  100. package/dist/components/dialog/dialog.custom.styles.js +8 -0
  101. package/dist/components/dialog/dialog.custom.styles.js.map +7 -0
  102. package/dist/components/dialog/dialog.d.ts +8 -0
  103. package/dist/components/dialog/dialog.js +31 -0
  104. package/dist/components/dialog/dialog.js.map +7 -0
  105. package/dist/components/dialog/dialog.styles.d.ts +2 -0
  106. package/dist/components/dialog/dialog.styles.js +8 -0
  107. package/dist/components/dialog/dialog.styles.js.map +7 -0
  108. package/dist/components/divider/divider.component.js +2 -2
  109. package/dist/components/divider/divider.js +3 -3
  110. package/dist/components/drawer/drawer.component.js +10 -9
  111. package/dist/components/drawer/drawer.custom.styles.js +1 -1
  112. package/dist/components/drawer/drawer.js +11 -10
  113. package/dist/components/dropdown/dropdown.component.js +4 -4
  114. package/dist/components/dropdown/dropdown.js +5 -5
  115. package/dist/components/header/header.component.js +7 -7
  116. package/dist/components/header/header.js +8 -8
  117. package/dist/components/icon/icon.component.js +4 -4
  118. package/dist/components/icon/icon.js +5 -5
  119. package/dist/components/icon-button/icon-button.component.js +5 -5
  120. package/dist/components/icon-button/icon-button.js +6 -6
  121. package/dist/components/input/input.component.js +9 -9
  122. package/dist/components/input/input.js +10 -10
  123. package/dist/components/menu/menu.component.js +2 -2
  124. package/dist/components/menu/menu.js +3 -3
  125. package/dist/components/menu-item/menu-item.component.js +10 -9
  126. package/dist/components/menu-item/menu-item.js +11 -10
  127. package/dist/components/menu-label/menu-label.component.js +3 -3
  128. package/dist/components/menu-label/menu-label.js +4 -4
  129. package/dist/components/nav-item/nav-item.component.js +3 -3
  130. package/dist/components/nav-item/nav-item.js +4 -4
  131. package/dist/components/optgroup/optgroup.component.js +3 -3
  132. package/dist/components/optgroup/optgroup.js +4 -4
  133. package/dist/components/option/option.component.js +7 -7
  134. package/dist/components/option/option.js +8 -8
  135. package/dist/components/popup/popup.component.js +2 -2
  136. package/dist/components/popup/popup.js +3 -3
  137. package/dist/components/prio-nav/prio-nav.component.js +13 -13
  138. package/dist/components/prio-nav/prio-nav.js +14 -14
  139. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  140. package/dist/components/progress-bar/progress-bar.js +3 -3
  141. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  142. package/dist/components/progress-ring/progress-ring.js +3 -3
  143. package/dist/components/radio/radio.component.js +5 -5
  144. package/dist/components/radio/radio.js +6 -6
  145. package/dist/components/radio-button/radio-button.component.js +2 -2
  146. package/dist/components/radio-button/radio-button.js +3 -3
  147. package/dist/components/radio-group/radio-group.component.js +4 -4
  148. package/dist/components/radio-group/radio-group.js +5 -5
  149. package/dist/components/select/select.component.js +11 -11
  150. package/dist/components/select/select.js +12 -12
  151. package/dist/components/side-nav/side-nav.component.js +14 -13
  152. package/dist/components/side-nav/side-nav.js +15 -14
  153. package/dist/components/spinner/spinner.component.d.ts +0 -1
  154. package/dist/components/spinner/spinner.component.js +4 -3
  155. package/dist/components/spinner/spinner.custom.styles.d.ts +2 -0
  156. package/dist/components/spinner/spinner.custom.styles.js +8 -0
  157. package/dist/components/spinner/spinner.custom.styles.js.map +7 -0
  158. package/dist/components/spinner/spinner.d.ts +8 -0
  159. package/dist/components/spinner/spinner.js +14 -0
  160. package/dist/components/spinner/spinner.js.map +7 -0
  161. package/dist/components/spinner/spinner.styles.js +1 -1
  162. package/dist/components/switch/switch.component.js +2 -2
  163. package/dist/components/switch/switch.js +3 -3
  164. package/dist/components/tag/tag.component.js +7 -7
  165. package/dist/components/tag/tag.js +8 -8
  166. package/dist/components/textarea/textarea.component.js +2 -2
  167. package/dist/components/textarea/textarea.js +3 -3
  168. package/dist/components/tooltip/tooltip.component.js +3 -3
  169. package/dist/components/tooltip/tooltip.js +4 -4
  170. package/dist/custom-elements.json +352 -6
  171. package/dist/synergy.d.ts +2 -0
  172. package/dist/synergy.js +134 -121
  173. package/dist/vscode.html-custom-data.json +28 -1
  174. package/package.json +2 -2
  175. package/dist/chunks/chunk.KZMWNTUS.js.map +0 -7
  176. package/dist/chunks/chunk.OSBC36KQ.js.map +0 -7
  177. package/dist/chunks/chunk.YI7Z3FPD.js.map +0 -7
  178. /package/dist/chunks/{chunk.7T5LRDJS.js.map → chunk.4IHZCJIO.js.map} +0 -0
  179. /package/dist/chunks/{chunk.VJCLMFVL.js.map → chunk.6C4OKY3S.js.map} +0 -0
  180. /package/dist/chunks/{chunk.FMJJ6B2O.js.map → chunk.6QLGO6B7.js.map} +0 -0
  181. /package/dist/chunks/{chunk.LSA32ONE.js.map → chunk.75HTBJG2.js.map} +0 -0
  182. /package/dist/chunks/{chunk.VRYEBHPZ.js.map → chunk.BDH3MNEZ.js.map} +0 -0
  183. /package/dist/chunks/{chunk.TGTOHT3M.js.map → chunk.BLANRU2O.js.map} +0 -0
  184. /package/dist/chunks/{chunk.RUHBP5HS.js.map → chunk.C6ZQAYEH.js.map} +0 -0
  185. /package/dist/chunks/{chunk.RXUSRMWB.js.map → chunk.CFFSAE7R.js.map} +0 -0
  186. /package/dist/chunks/{chunk.HEWDHBWK.js.map → chunk.CJSER4UW.js.map} +0 -0
  187. /package/dist/chunks/{chunk.SA7CRXUN.js.map → chunk.CWA6YXHF.js.map} +0 -0
  188. /package/dist/chunks/{chunk.7JTCVU6P.js.map → chunk.DH7ZOX4L.js.map} +0 -0
  189. /package/dist/chunks/{chunk.PBK6R2U7.js.map → chunk.ER5OH7PE.js.map} +0 -0
  190. /package/dist/chunks/{chunk.MSX76EO6.js.map → chunk.EV3VRCZO.js.map} +0 -0
  191. /package/dist/chunks/{chunk.VZP6ITZS.js.map → chunk.F4PCHWCA.js.map} +0 -0
  192. /package/dist/chunks/{chunk.MRHJDAKR.js.map → chunk.FP5U5XKU.js.map} +0 -0
  193. /package/dist/chunks/{chunk.LJRMT2PX.js.map → chunk.FQMRWJFJ.js.map} +0 -0
  194. /package/dist/chunks/{chunk.KTCFTDRV.js.map → chunk.FQZVX543.js.map} +0 -0
  195. /package/dist/chunks/{chunk.NZEUVKVW.js.map → chunk.G5IZQ6S2.js.map} +0 -0
  196. /package/dist/chunks/{chunk.4UQWOVA3.js.map → chunk.GAOGMXIA.js.map} +0 -0
  197. /package/dist/chunks/{chunk.PP52JMRC.js.map → chunk.HGPR3DSR.js.map} +0 -0
  198. /package/dist/chunks/{chunk.DYKJ6SMQ.js.map → chunk.HJ2BLED6.js.map} +0 -0
  199. /package/dist/chunks/{chunk.RSUUSMM3.js.map → chunk.HJS2XO3E.js.map} +0 -0
  200. /package/dist/chunks/{chunk.3LOUHEEN.js.map → chunk.HVRGKMS2.js.map} +0 -0
  201. /package/dist/chunks/{chunk.OXIWVSZW.js.map → chunk.IGMLSPCX.js.map} +0 -0
  202. /package/dist/chunks/{chunk.HD535D5A.js.map → chunk.IKY4SF3U.js.map} +0 -0
  203. /package/dist/chunks/{chunk.C5G3ID4E.js.map → chunk.JURUVJDH.js.map} +0 -0
  204. /package/dist/chunks/{chunk.YHJ4VRWW.js.map → chunk.JURXXFAS.js.map} +0 -0
  205. /package/dist/chunks/{chunk.F542RYWK.js.map → chunk.KVDQTSR6.js.map} +0 -0
  206. /package/dist/chunks/{chunk.CKQHBV4F.js.map → chunk.KXABXUHF.js.map} +0 -0
  207. /package/dist/chunks/{chunk.54SVVWZI.js.map → chunk.LESYB3C2.js.map} +0 -0
  208. /package/dist/chunks/{chunk.CFORFPFW.js.map → chunk.LF2WINIA.js.map} +0 -0
  209. /package/dist/chunks/{chunk.TQPVSFZU.js.map → chunk.MHNU5B6B.js.map} +0 -0
  210. /package/dist/chunks/{chunk.3FWONAOI.js.map → chunk.MLLOIKFT.js.map} +0 -0
  211. /package/dist/chunks/{chunk.XJJM7VPC.js.map → chunk.MRDYD2EO.js.map} +0 -0
  212. /package/dist/chunks/{chunk.E77KRA43.js.map → chunk.MWCHWWA6.js.map} +0 -0
  213. /package/dist/chunks/{chunk.R3AOS6JZ.js.map → chunk.O5RLTXZV.js.map} +0 -0
  214. /package/dist/chunks/{chunk.N4UX5TMO.js.map → chunk.ONP567RL.js.map} +0 -0
  215. /package/dist/chunks/{chunk.X2NEIXXJ.js.map → chunk.OX77MJOD.js.map} +0 -0
  216. /package/dist/chunks/{chunk.PAGHMRBR.js.map → chunk.P36SH35P.js.map} +0 -0
  217. /package/dist/chunks/{chunk.43M7YAGR.js.map → chunk.P3JNSYA3.js.map} +0 -0
  218. /package/dist/chunks/{chunk.Y32IWDVW.js.map → chunk.P7BWMA4R.js.map} +0 -0
  219. /package/dist/chunks/{chunk.4PPPNVJW.js.map → chunk.PLU22FYW.js.map} +0 -0
  220. /package/dist/chunks/{chunk.NZKEB4EM.js.map → chunk.POS3ORCG.js.map} +0 -0
  221. /package/dist/chunks/{chunk.JSOLNW6W.js.map → chunk.PTRBWSST.js.map} +0 -0
  222. /package/dist/chunks/{chunk.A3SLGHGN.js.map → chunk.Q4FDYSK4.js.map} +0 -0
  223. /package/dist/chunks/{chunk.EP326OJQ.js.map → chunk.QEWKO72D.js.map} +0 -0
  224. /package/dist/chunks/{chunk.FVVR4JCT.js.map → chunk.QLHK2UIO.js.map} +0 -0
  225. /package/dist/chunks/{chunk.WJQCM3T3.js.map → chunk.QO424EZG.js.map} +0 -0
  226. /package/dist/chunks/{chunk.AIQQEDZD.js.map → chunk.RE3DUPRU.js.map} +0 -0
  227. /package/dist/chunks/{chunk.UBQWVB4F.js.map → chunk.S64FWPC4.js.map} +0 -0
  228. /package/dist/chunks/{chunk.5UUVFVY7.js.map → chunk.SV7SO2W7.js.map} +0 -0
  229. /package/dist/chunks/{chunk.ZGKK3SVV.js.map → chunk.TPGEIEV4.js.map} +0 -0
  230. /package/dist/chunks/{chunk.MJ5Z7CGD.js.map → chunk.TU2TR3D6.js.map} +0 -0
  231. /package/dist/chunks/{chunk.YN32K4SE.js.map → chunk.UFUG4PUS.js.map} +0 -0
  232. /package/dist/chunks/{chunk.NL4KNMYG.js.map → chunk.VHPGEUHA.js.map} +0 -0
  233. /package/dist/chunks/{chunk.XPDGTEZV.js.map → chunk.WXINI2LT.js.map} +0 -0
  234. /package/dist/chunks/{chunk.E45JNDEP.js.map → chunk.XAC2JLED.js.map} +0 -0
  235. /package/dist/chunks/{chunk.2SDD52LO.js.map → chunk.YN5JT7NN.js.map} +0 -0
  236. /package/dist/chunks/{chunk.NPABQXMU.js.map → chunk.ZCKMBPFC.js.map} +0 -0
  237. /package/dist/chunks/{chunk.QU4LUX7R.js.map → chunk.ZFFSP55G.js.map} +0 -0
  238. /package/dist/chunks/{chunk.EEXLRM2A.js.map → chunk.ZTCTJE62.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSwitch
3
- } from "./chunk.PBK6R2U7.js";
3
+ } from "./chunk.ER5OH7PE.js";
4
4
 
5
5
  // src/components/switch/switch.ts
6
6
  var switch_default = SynSwitch;
@@ -9,4 +9,4 @@ SynSwitch.define("syn-switch");
9
9
  export {
10
10
  switch_default
11
11
  };
12
- //# sourceMappingURL=chunk.CKQHBV4F.js.map
12
+ //# sourceMappingURL=chunk.KXABXUHF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynNavItem
3
- } from "./chunk.X2NEIXXJ.js";
3
+ } from "./chunk.OX77MJOD.js";
4
4
 
5
5
  // src/components/nav-item/nav-item.ts
6
6
  var nav_item_default = SynNavItem;
@@ -9,4 +9,4 @@ SynNavItem.define("syn-nav-item");
9
9
  export {
10
10
  nav_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.54SVVWZI.js.map
12
+ //# sourceMappingURL=chunk.LESYB3C2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPrioNav
3
- } from "./chunk.LSA32ONE.js";
3
+ } from "./chunk.75HTBJG2.js";
4
4
 
5
5
  // src/components/prio-nav/prio-nav.ts
6
6
  var prio_nav_default = SynPrioNav;
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
9
9
  export {
10
10
  prio_nav_default
11
11
  };
12
- //# sourceMappingURL=chunk.CFORFPFW.js.map
12
+ //# sourceMappingURL=chunk.LF2WINIA.js.map
@@ -0,0 +1,12 @@
1
+ import {
2
+ SynDialog
3
+ } from "./chunk.C4ZZOCEG.js";
4
+
5
+ // src/components/dialog/dialog.ts
6
+ var dialog_default = SynDialog;
7
+ SynDialog.define("syn-dialog");
8
+
9
+ export {
10
+ dialog_default
11
+ };
12
+ //# sourceMappingURL=chunk.MDZPTRJA.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/dialog/dialog.ts"],
4
+ "sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport SynDialog from './dialog.component.js';\n\nexport * from './dialog.component.js';\nexport default SynDialog;\n\nSynDialog.define('syn-dialog');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-dialog': SynDialog;\n }\n}\n"],
5
+ "mappings": ";;;;;AASA,IAAO,iBAAQ;AAEf,UAAU,OAAO,YAAY;",
6
+ "names": []
7
+ }
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  SynergyElement,
25
25
  component_styles_default
26
- } from "./chunk.P2DUZ56G.js";
26
+ } from "./chunk.R47GARB7.js";
27
27
  import {
28
28
  __decorateClass
29
29
  } from "./chunk.QNDC5KWA.js";
@@ -362,4 +362,4 @@ __decorateClass([
362
362
  export {
363
363
  SynTextarea
364
364
  };
365
- //# sourceMappingURL=chunk.TQPVSFZU.js.map
365
+ //# sourceMappingURL=chunk.MHNU5B6B.js.map
@@ -1,18 +1,15 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.MJ5Z7CGD.js";
3
+ } from "./chunk.TU2TR3D6.js";
4
4
  import {
5
5
  select_custom_styles_default
6
6
  } from "./chunk.OWMT6OL2.js";
7
7
  import {
8
8
  select_styles_default
9
9
  } from "./chunk.QNQNR3RY.js";
10
- import {
11
- scrollIntoView
12
- } from "./chunk.RIJKFEYZ.js";
13
10
  import {
14
11
  SynPopup
15
- } from "./chunk.EP326OJQ.js";
12
+ } from "./chunk.QEWKO72D.js";
16
13
  import {
17
14
  defaultValue
18
15
  } from "./chunk.WFAJR3FN.js";
@@ -20,6 +17,12 @@ import {
20
17
  form_control_custom_styles_default,
21
18
  form_control_styles_default
22
19
  } from "./chunk.TTL762VF.js";
20
+ import {
21
+ scrollIntoView
22
+ } from "./chunk.RIJKFEYZ.js";
23
+ import {
24
+ FormControlController
25
+ } from "./chunk.JUJZBRXD.js";
23
26
  import {
24
27
  animateTo,
25
28
  stopAnimations,
@@ -29,15 +32,12 @@ import {
29
32
  getAnimation,
30
33
  setDefaultAnimation
31
34
  } from "./chunk.QAUTITK3.js";
32
- import {
33
- FormControlController
34
- } from "./chunk.JUJZBRXD.js";
35
35
  import {
36
36
  HasSlotController
37
37
  } from "./chunk.66WXVGAW.js";
38
38
  import {
39
39
  SynIcon
40
- } from "./chunk.NL4KNMYG.js";
40
+ } from "./chunk.VHPGEUHA.js";
41
41
  import {
42
42
  watch
43
43
  } from "./chunk.AVTU2BGE.js";
@@ -47,7 +47,7 @@ import {
47
47
  import {
48
48
  SynergyElement,
49
49
  component_styles_default
50
- } from "./chunk.P2DUZ56G.js";
50
+ } from "./chunk.R47GARB7.js";
51
51
  import {
52
52
  __decorateClass
53
53
  } from "./chunk.QNDC5KWA.js";
@@ -764,4 +764,4 @@ setDefaultAnimation("select.hide", {
764
764
  export {
765
765
  SynSelect
766
766
  };
767
- //# sourceMappingURL=chunk.3FWONAOI.js.map
767
+ //# sourceMappingURL=chunk.MLLOIKFT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynProgressBar
3
- } from "./chunk.A3SLGHGN.js";
3
+ } from "./chunk.Q4FDYSK4.js";
4
4
 
5
5
  // src/components/progress-bar/progress-bar.ts
6
6
  var progress_bar_default = SynProgressBar;
@@ -9,4 +9,4 @@ SynProgressBar.define("syn-progress-bar");
9
9
  export {
10
10
  progress_bar_default
11
11
  };
12
- //# sourceMappingURL=chunk.XJJM7VPC.js.map
12
+ //# sourceMappingURL=chunk.MRDYD2EO.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.KG52EHDB.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.Y32IWDVW.js";
6
+ } from "./chunk.P7BWMA4R.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.66WXVGAW.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.AVTU2BGE.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.P2DUZ56G.js";
15
+ } from "./chunk.R47GARB7.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.QNDC5KWA.js";
@@ -93,4 +93,4 @@ __decorateClass([
93
93
  export {
94
94
  SynOptgroup
95
95
  };
96
- //# sourceMappingURL=chunk.E77KRA43.js.map
96
+ //# sourceMappingURL=chunk.MWCHWWA6.js.map
@@ -1,19 +1,19 @@
1
- import {
2
- lockBodyScrolling,
3
- unlockBodyScrolling
4
- } from "./chunk.RIJKFEYZ.js";
5
1
  import {
6
2
  drawer_custom_styles_default
7
- } from "./chunk.KZMWNTUS.js";
3
+ } from "./chunk.I4FIU7FA.js";
8
4
  import {
9
5
  drawer_styles_default
10
6
  } from "./chunk.PHSJD47V.js";
11
7
  import {
12
- getTabbableElements
13
- } from "./chunk.2QOQY4ZG.js";
8
+ Modal
9
+ } from "./chunk.ITXLZUTJ.js";
10
+ import {
11
+ lockBodyScrolling,
12
+ unlockBodyScrolling
13
+ } from "./chunk.RIJKFEYZ.js";
14
14
  import {
15
15
  SynIconButton
16
- } from "./chunk.VJCLMFVL.js";
16
+ } from "./chunk.6C4OKY3S.js";
17
17
  import {
18
18
  animateTo,
19
19
  stopAnimations,
@@ -35,10 +35,9 @@ import {
35
35
  import {
36
36
  SynergyElement,
37
37
  component_styles_default
38
- } from "./chunk.P2DUZ56G.js";
38
+ } from "./chunk.R47GARB7.js";
39
39
  import {
40
- __decorateClass,
41
- __yieldStar
40
+ __decorateClass
42
41
  } from "./chunk.QNDC5KWA.js";
43
42
 
44
43
  // src/components/drawer/drawer.component.ts
@@ -52,132 +51,6 @@ function uppercaseFirstLetter(string) {
52
51
  return string.charAt(0).toUpperCase() + string.slice(1);
53
52
  }
54
53
 
55
- // src/internal/active-elements.ts
56
- function* activeElements(activeElement = document.activeElement) {
57
- if (activeElement === null || activeElement === void 0)
58
- return;
59
- yield activeElement;
60
- if ("shadowRoot" in activeElement && activeElement.shadowRoot && activeElement.shadowRoot.mode !== "closed") {
61
- yield* __yieldStar(activeElements(activeElement.shadowRoot.activeElement));
62
- }
63
- }
64
- function getDeepestActiveElement() {
65
- return [...activeElements()].pop();
66
- }
67
-
68
- // src/internal/modal.ts
69
- var activeModals = [];
70
- var Modal = class {
71
- constructor(element) {
72
- this.tabDirection = "forward";
73
- this.handleFocusIn = () => {
74
- if (!this.isActive())
75
- return;
76
- this.checkFocus();
77
- };
78
- this.handleKeyDown = (event) => {
79
- var _a;
80
- if (event.key !== "Tab" || this.isExternalActivated)
81
- return;
82
- if (!this.isActive())
83
- return;
84
- const currentActiveElement = getDeepestActiveElement();
85
- this.previousFocus = currentActiveElement;
86
- if (this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) {
87
- return;
88
- }
89
- if (event.shiftKey) {
90
- this.tabDirection = "backward";
91
- } else {
92
- this.tabDirection = "forward";
93
- }
94
- const tabbableElements = getTabbableElements(this.element);
95
- let currentFocusIndex = tabbableElements.findIndex((el) => el === currentActiveElement);
96
- this.previousFocus = this.currentFocus;
97
- const addition = this.tabDirection === "forward" ? 1 : -1;
98
- while (true) {
99
- if (currentFocusIndex + addition >= tabbableElements.length) {
100
- currentFocusIndex = 0;
101
- } else if (currentFocusIndex + addition < 0) {
102
- currentFocusIndex = tabbableElements.length - 1;
103
- } else {
104
- currentFocusIndex += addition;
105
- }
106
- this.previousFocus = this.currentFocus;
107
- const nextFocus = (
108
- /** @type {HTMLElement} */
109
- tabbableElements[currentFocusIndex]
110
- );
111
- if (this.tabDirection === "backward") {
112
- if (this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) {
113
- return;
114
- }
115
- }
116
- if (nextFocus && this.possiblyHasTabbableChildren(nextFocus)) {
117
- return;
118
- }
119
- event.preventDefault();
120
- this.currentFocus = nextFocus;
121
- (_a = this.currentFocus) == null ? void 0 : _a.focus({ preventScroll: false });
122
- const allActiveElements = [...activeElements()];
123
- if (allActiveElements.includes(this.currentFocus) || !allActiveElements.includes(this.previousFocus)) {
124
- break;
125
- }
126
- }
127
- setTimeout(() => this.checkFocus());
128
- };
129
- this.handleKeyUp = () => {
130
- this.tabDirection = "forward";
131
- };
132
- this.element = element;
133
- this.elementsWithTabbableControls = ["iframe"];
134
- }
135
- /** Activates focus trapping. */
136
- activate() {
137
- activeModals.push(this.element);
138
- document.addEventListener("focusin", this.handleFocusIn);
139
- document.addEventListener("keydown", this.handleKeyDown);
140
- document.addEventListener("keyup", this.handleKeyUp);
141
- }
142
- /** Deactivates focus trapping. */
143
- deactivate() {
144
- activeModals = activeModals.filter((modal) => modal !== this.element);
145
- this.currentFocus = null;
146
- document.removeEventListener("focusin", this.handleFocusIn);
147
- document.removeEventListener("keydown", this.handleKeyDown);
148
- document.removeEventListener("keyup", this.handleKeyUp);
149
- }
150
- /** Determines if this modal element is currently active or not. */
151
- isActive() {
152
- return activeModals[activeModals.length - 1] === this.element;
153
- }
154
- /** Activates external modal behavior and temporarily disables focus trapping. */
155
- activateExternal() {
156
- this.isExternalActivated = true;
157
- }
158
- /** Deactivates external modal behavior and re-enables focus trapping. */
159
- deactivateExternal() {
160
- this.isExternalActivated = false;
161
- }
162
- checkFocus() {
163
- if (this.isActive() && !this.isExternalActivated) {
164
- const tabbableElements = getTabbableElements(this.element);
165
- if (!this.element.matches(":focus-within")) {
166
- const start = tabbableElements[0];
167
- const end = tabbableElements[tabbableElements.length - 1];
168
- const target = this.tabDirection === "forward" ? start : end;
169
- if (typeof (target == null ? void 0 : target.focus) === "function") {
170
- this.currentFocus = target;
171
- target.focus({ preventScroll: false });
172
- }
173
- }
174
- }
175
- }
176
- possiblyHasTabbableChildren(element) {
177
- return this.elementsWithTabbableControls.includes(element.tagName.toLowerCase()) || element.hasAttribute("controls");
178
- }
179
- };
180
-
181
54
  // src/components/drawer/drawer.component.ts
182
55
  var SynDrawer = class extends SynergyElement {
183
56
  constructor() {
@@ -518,4 +391,4 @@ setDefaultAnimation("drawer.overlay.hide", {
518
391
  export {
519
392
  SynDrawer
520
393
  };
521
- //# sourceMappingURL=chunk.65TQU6BR.js.map
394
+ //# sourceMappingURL=chunk.NRNCS4W7.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/components/drawer/drawer.component.ts", "../../src/internal/string.ts", "../../src/internal/active-elements.ts", "../../src/internal/modal.ts"],
4
- "sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { uppercaseFirstLetter } from '../../internal/string.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './drawer.styles.js';\nimport customStyles from './drawer.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Drawers slide in from a container to expose additional options and information.\n * @documentation https://synergy.style/components/drawer\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The drawer's main content.\n * @slot label - The drawer's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the drawer opens.\n * @event syn-after-show - Emitted after the drawer opens and all animations are complete.\n * @event syn-hide - Emitted when the drawer closes.\n * @event syn-after-hide - Emitted after the drawer closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the drawer opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the drawer.\n * @csspart panel - The drawer's panel (where the drawer and its content are rendered).\n * @csspart header - The drawer's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The drawer's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The drawer's body.\n * @csspart footer - The drawer's footer.\n *\n * @cssproperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height\n * depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.\n * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.\n * @animation drawer.showBottom - The animation to use when showing a drawer with `bottom` placement.\n * @animation drawer.showStart - The animation to use when showing a drawer with `start` placement.\n * @animation drawer.hideTop - The animation to use when hiding a drawer with `top` placement.\n * @animation drawer.hideEnd - The animation to use when hiding a drawer with `end` placement.\n * @animation drawer.hideBottom - The animation to use when hiding a drawer with `bottom` placement.\n * @animation drawer.hideStart - The animation to use when hiding a drawer with `start` placement.\n * @animation drawer.denyClose - The animation to use when a request to close the drawer is denied.\n * @animation drawer.overlay.show - The animation to use when showing the drawer's overlay.\n * @animation drawer.overlay.hide - The animation to use when hiding the drawer's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDrawer extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.drawer') drawer: HTMLElement;\n @query('.drawer__panel') panel: HTMLElement;\n @query('.drawer__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /** The direction from which the drawer will open. */\n @property({ reflect: true }) placement: 'top' | 'end' | 'bottom' | 'start' = 'end';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this attribute and add `position: relative` to the parent.\n */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.drawer.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unlockBodyScrolling(this);\n this.closeWatcher?.destroy();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'drawer.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n if (!this.contained) {\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n }\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n this.closeWatcher?.destroy();\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Contained drawers aren't modal and don't response to the escape key\n if (this.contained) {\n return;\n }\n\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopImmediatePropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n // When the drawer is shown, Safari will attempt to set focus on whatever element has autofocus. This causes the\n // drawer's animation to jitter, so we'll temporarily remove the attribute, call `focus({ preventScroll: true })`\n // ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n this.drawer.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, `drawer.show${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n if (!this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, `drawer.hide${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.drawer.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('contained', { waitUntilFirstUpdate: true })\n handleNoModalChange() {\n if (this.open && !this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n if (this.open && this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n }\n\n /** Shows the drawer. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the drawer */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--top': this.placement === 'top',\n 'drawer--end': this.placement === 'end',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--start': this.placement === 'start',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--rtl': this.localize.dir() === 'rtl',\n 'drawer--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"0\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"drawer__header\">\n <h2 part=\"title\" class=\"drawer__title\" id=\"title\">\n <!-- If there's no label, use an invisible character to prevent the header from collapsing -->\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"drawer__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"drawer__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=${() => this.requestClose('close-button')}\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n\n <slot part=\"body\" class=\"drawer__body\"></slot>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\n// Top\nsetDefaultAnimation('drawer.showTop', {\n keyframes: [\n { opacity: 0, translate: '0 -100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideTop', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 -100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// End\nsetDefaultAnimation('drawer.showEnd', {\n keyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideEnd', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Bottom\nsetDefaultAnimation('drawer.showBottom', {\n keyframes: [\n { opacity: 0, translate: '0 100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideBottom', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Start\nsetDefaultAnimation('drawer.showStart', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideStart', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Deny close\nsetDefaultAnimation('drawer.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\n// Overlay\nsetDefaultAnimation('drawer.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('drawer.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n", "// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\n/** Converts the first letter of a string to uppercase */\nexport function uppercaseFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n", "// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\n/**\n * Use a generator so we can iterate and possibly break early.\n * @example\n * // to operate like a regular array. This kinda nullifies generator benefits, but worth knowing if you need the whole array.\n * const allActiveElements = [...activeElements()]\n *\n * // Early return\n * for (const activeElement of activeElements()) {\n * if (<cond>) {\n * break; // Break the loop, dont need to iterate over the whole array or store an array in memory!\n * }\n * }\n */\nexport function* activeElements(activeElement: Element | null = document.activeElement): Generator<Element> {\n if (activeElement === null || activeElement === undefined) return;\n\n yield activeElement;\n\n if ('shadowRoot' in activeElement && activeElement.shadowRoot && activeElement.shadowRoot.mode !== 'closed') {\n yield* activeElements(activeElement.shadowRoot.activeElement);\n }\n}\n\nexport function getDeepestActiveElement() {\n return [...activeElements()].pop();\n}\n", "// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { activeElements, getDeepestActiveElement } from './active-elements.js';\nimport { getTabbableElements } from './tabbable.js';\n\nlet activeModals: HTMLElement[] = [];\n\nexport default class Modal {\n element: HTMLElement;\n isExternalActivated: boolean;\n tabDirection: 'forward' | 'backward' = 'forward';\n currentFocus: HTMLElement | null;\n previousFocus: HTMLElement | null;\n elementsWithTabbableControls: string[];\n\n constructor(element: HTMLElement) {\n this.element = element;\n\n this.elementsWithTabbableControls = ['iframe'];\n }\n\n /** Activates focus trapping. */\n activate() {\n activeModals.push(this.element);\n document.addEventListener('focusin', this.handleFocusIn);\n document.addEventListener('keydown', this.handleKeyDown);\n document.addEventListener('keyup', this.handleKeyUp);\n }\n\n /** Deactivates focus trapping. */\n deactivate() {\n activeModals = activeModals.filter(modal => modal !== this.element);\n this.currentFocus = null;\n document.removeEventListener('focusin', this.handleFocusIn);\n document.removeEventListener('keydown', this.handleKeyDown);\n document.removeEventListener('keyup', this.handleKeyUp);\n }\n\n /** Determines if this modal element is currently active or not. */\n isActive() {\n // The \"active\" modal is always the most recent one shown\n return activeModals[activeModals.length - 1] === this.element;\n }\n\n /** Activates external modal behavior and temporarily disables focus trapping. */\n activateExternal() {\n this.isExternalActivated = true;\n }\n\n /** Deactivates external modal behavior and re-enables focus trapping. */\n deactivateExternal() {\n this.isExternalActivated = false;\n }\n\n private checkFocus() {\n if (this.isActive() && !this.isExternalActivated) {\n const tabbableElements = getTabbableElements(this.element);\n if (!this.element.matches(':focus-within')) {\n const start = tabbableElements[0];\n const end = tabbableElements[tabbableElements.length - 1];\n const target = this.tabDirection === 'forward' ? start : end;\n\n if (typeof target?.focus === 'function') {\n this.currentFocus = target;\n target.focus({ preventScroll: false });\n }\n }\n }\n }\n\n private handleFocusIn = () => {\n if (!this.isActive()) return;\n this.checkFocus();\n };\n\n private possiblyHasTabbableChildren(element: HTMLElement) {\n return (\n this.elementsWithTabbableControls.includes(element.tagName.toLowerCase()) || element.hasAttribute('controls')\n // Should we add a data-attribute for people to set just in case they have an element where we don't know if it has possibly tabbable elements?\n );\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key !== 'Tab' || this.isExternalActivated) return;\n if (!this.isActive()) return;\n\n // Because sometimes focus can actually be taken over from outside sources,\n // we don't want to rely on `this.currentFocus`. Instead we check the actual `activeElement` and\n // recurse through shadowRoots.\n const currentActiveElement = getDeepestActiveElement();\n this.previousFocus = currentActiveElement as HTMLElement | null;\n\n if (this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) {\n return;\n }\n\n if (event.shiftKey) {\n this.tabDirection = 'backward';\n } else {\n this.tabDirection = 'forward';\n }\n\n const tabbableElements = getTabbableElements(this.element);\n\n let currentFocusIndex = tabbableElements.findIndex(el => el === currentActiveElement);\n\n this.previousFocus = this.currentFocus;\n\n const addition = this.tabDirection === 'forward' ? 1 : -1;\n\n // eslint-disable-next-line\n while (true) {\n if (currentFocusIndex + addition >= tabbableElements.length) {\n currentFocusIndex = 0;\n } else if (currentFocusIndex + addition < 0) {\n currentFocusIndex = tabbableElements.length - 1;\n } else {\n currentFocusIndex += addition;\n }\n\n this.previousFocus = this.currentFocus;\n const nextFocus = /** @type {HTMLElement} */ tabbableElements[currentFocusIndex];\n\n // This is a special case. We need to make sure we're not calling .focus() if we're already focused on an element\n // that possibly has \"controls\"\n if (this.tabDirection === 'backward') {\n if (this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) {\n return;\n }\n }\n\n if (nextFocus && this.possiblyHasTabbableChildren(nextFocus)) {\n return;\n }\n\n event.preventDefault();\n this.currentFocus = nextFocus;\n this.currentFocus?.focus({ preventScroll: false });\n\n // Check to make sure focus actually changed. It may not always be the next focus, we just don't want it to be the previousFocus.\n const allActiveElements = [...activeElements()];\n if (allActiveElements.includes(this.currentFocus) || !allActiveElements.includes(this.previousFocus!)) {\n break;\n }\n }\n\n setTimeout(() => this.checkFocus());\n };\n\n private handleKeyUp = () => {\n this.tabDirection = 'forward';\n };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;;;ACPzB,SAAS,qBAAqB,QAAgB;AACnD,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;;;ACUO,UAAU,eAAe,gBAAgC,SAAS,eAAmC;AAC1G,MAAI,kBAAkB,QAAQ,kBAAkB;AAAW;AAE3D,QAAM;AAEN,MAAI,gBAAgB,iBAAiB,cAAc,cAAc,cAAc,WAAW,SAAS,UAAU;AAC3G,uBAAO,eAAe,cAAc,WAAW,aAAa;AAAA,EAC9D;AACF;AAEO,SAAS,0BAA0B;AACxC,SAAO,CAAC,GAAG,eAAe,CAAC,EAAE,IAAI;AACnC;;;ACtBA,IAAI,eAA8B,CAAC;AAEnC,IAAqB,QAArB,MAA2B;AAAA,EAQzB,YAAY,SAAsB;AALlC,wBAAuC;AA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,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
3
+ "sources": ["../../src/components/drawer/drawer.component.ts", "../../src/internal/string.ts"],
4
+ "sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { uppercaseFirstLetter } from '../../internal/string.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './drawer.styles.js';\nimport customStyles from './drawer.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Drawers slide in from a container to expose additional options and information.\n * @documentation https://synergy.style/components/drawer\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The drawer's main content.\n * @slot label - The drawer's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the drawer opens.\n * @event syn-after-show - Emitted after the drawer opens and all animations are complete.\n * @event syn-hide - Emitted when the drawer closes.\n * @event syn-after-hide - Emitted after the drawer closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the drawer opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the drawer.\n * @csspart panel - The drawer's panel (where the drawer and its content are rendered).\n * @csspart header - The drawer's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The drawer's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The drawer's body.\n * @csspart footer - The drawer's footer.\n *\n * @cssproperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height\n * depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.\n * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.\n * @animation drawer.showBottom - The animation to use when showing a drawer with `bottom` placement.\n * @animation drawer.showStart - The animation to use when showing a drawer with `start` placement.\n * @animation drawer.hideTop - The animation to use when hiding a drawer with `top` placement.\n * @animation drawer.hideEnd - The animation to use when hiding a drawer with `end` placement.\n * @animation drawer.hideBottom - The animation to use when hiding a drawer with `bottom` placement.\n * @animation drawer.hideStart - The animation to use when hiding a drawer with `start` placement.\n * @animation drawer.denyClose - The animation to use when a request to close the drawer is denied.\n * @animation drawer.overlay.show - The animation to use when showing the drawer's overlay.\n * @animation drawer.overlay.hide - The animation to use when hiding the drawer's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDrawer extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.drawer') drawer: HTMLElement;\n @query('.drawer__panel') panel: HTMLElement;\n @query('.drawer__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /** The direction from which the drawer will open. */\n @property({ reflect: true }) placement: 'top' | 'end' | 'bottom' | 'start' = 'end';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this attribute and add `position: relative` to the parent.\n */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.drawer.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unlockBodyScrolling(this);\n this.closeWatcher?.destroy();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'drawer.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n if (!this.contained) {\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n }\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n this.closeWatcher?.destroy();\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Contained drawers aren't modal and don't response to the escape key\n if (this.contained) {\n return;\n }\n\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopImmediatePropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n // When the drawer is shown, Safari will attempt to set focus on whatever element has autofocus. This causes the\n // drawer's animation to jitter, so we'll temporarily remove the attribute, call `focus({ preventScroll: true })`\n // ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n this.drawer.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, `drawer.show${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n if (!this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, `drawer.hide${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.drawer.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('contained', { waitUntilFirstUpdate: true })\n handleNoModalChange() {\n if (this.open && !this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n if (this.open && this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n }\n\n /** Shows the drawer. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the drawer */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--top': this.placement === 'top',\n 'drawer--end': this.placement === 'end',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--start': this.placement === 'start',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--rtl': this.localize.dir() === 'rtl',\n 'drawer--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"0\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"drawer__header\">\n <h2 part=\"title\" class=\"drawer__title\" id=\"title\">\n <!-- If there's no label, use an invisible character to prevent the header from collapsing -->\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"drawer__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"drawer__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=${() => this.requestClose('close-button')}\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n\n <slot part=\"body\" class=\"drawer__body\"></slot>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\n// Top\nsetDefaultAnimation('drawer.showTop', {\n keyframes: [\n { opacity: 0, translate: '0 -100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideTop', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 -100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// End\nsetDefaultAnimation('drawer.showEnd', {\n keyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideEnd', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Bottom\nsetDefaultAnimation('drawer.showBottom', {\n keyframes: [\n { opacity: 0, translate: '0 100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideBottom', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Start\nsetDefaultAnimation('drawer.showStart', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideStart', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Deny close\nsetDefaultAnimation('drawer.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\n// Overlay\nsetDefaultAnimation('drawer.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('drawer.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n", "// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\n/** Converts the first letter of a string to uppercase */\nexport function uppercaseFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;;;ACPzB,SAAS,qBAAqB,QAAgB;AACnD,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;;;AD0EA,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAIE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ;AACzE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAEvD,SAAO,QAAQ,IAAI,MAAM,IAAI;AAWe,gBAAO;AAMtB,iBAAQ;AAGR,qBAAgD;AAMjC,qBAAY;AAMY,oBAAW;AAqD/E,SAAQ,wBAAwB,CAAC,UAAyB;AAExD,UAAI,KAAK,WAAW;AAClB;AAAA,MACF;AAEA,UAAI,MAAM,QAAQ,YAAY,KAAK,MAAM,SAAS,KAAK,KAAK,MAAM;AAChE,cAAM,yBAAyB;AAC/B,aAAK,aAAa,UAAU;AAAA,MAC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AC7B,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,EACnC;AAAA,EACA,cAAc;AAAA,IACZ,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,OAAO;AAAA,EAClC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,oBAAoB;AAAA,EACtC,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,GAAG,EAAE,OAAO,EAAE,CAAC;AAAA,EACvD,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAGD,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSelect
3
- } from "./chunk.3FWONAOI.js";
3
+ } from "./chunk.MLLOIKFT.js";
4
4
 
5
5
  // src/components/select/select.ts
6
6
  var select_default = SynSelect;
@@ -9,4 +9,4 @@ SynSelect.define("syn-select");
9
9
  export {
10
10
  select_default
11
11
  };
12
- //# sourceMappingURL=chunk.R3AOS6JZ.js.map
12
+ //# sourceMappingURL=chunk.O5RLTXZV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynOptgroup
3
- } from "./chunk.E77KRA43.js";
3
+ } from "./chunk.MWCHWWA6.js";
4
4
 
5
5
  // src/components/optgroup/optgroup.ts
6
6
  var optgroup_default = SynOptgroup;
@@ -9,4 +9,4 @@ SynOptgroup.define("syn-optgroup");
9
9
  export {
10
10
  optgroup_default
11
11
  };
12
- //# sourceMappingURL=chunk.N4UX5TMO.js.map
12
+ //# sourceMappingURL=chunk.ONP567RL.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.E5BS6NQR.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.Y32IWDVW.js";
6
+ } from "./chunk.P7BWMA4R.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.66WXVGAW.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.P2DUZ56G.js";
16
+ } from "./chunk.R47GARB7.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.QNDC5KWA.js";
@@ -316,4 +316,4 @@ __decorateClass([
316
316
  export {
317
317
  SynNavItem
318
318
  };
319
- //# sourceMappingURL=chunk.X2NEIXXJ.js.map
319
+ //# sourceMappingURL=chunk.OX77MJOD.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.YHRXL2XR.js";
7
7
  import {
8
8
  SynPopup
9
- } from "./chunk.EP326OJQ.js";
9
+ } from "./chunk.QEWKO72D.js";
10
10
  import {
11
11
  animateTo,
12
12
  parseDuration,
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  SynergyElement,
28
28
  component_styles_default
29
- } from "./chunk.P2DUZ56G.js";
29
+ } from "./chunk.R47GARB7.js";
30
30
  import {
31
31
  __decorateClass
32
32
  } from "./chunk.QNDC5KWA.js";
@@ -270,4 +270,4 @@ setDefaultAnimation("tooltip.hide", {
270
270
  export {
271
271
  SynTooltip
272
272
  };
273
- //# sourceMappingURL=chunk.PAGHMRBR.js.map
273
+ //# sourceMappingURL=chunk.P36SH35P.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.EP326OJQ.js";
4
- import {
5
- getTabbableBoundary
6
- } from "./chunk.2QOQY4ZG.js";
3
+ } from "./chunk.QEWKO72D.js";
7
4
  import {
8
5
  dropdown_custom_styles_default
9
6
  } from "./chunk.2KYFCKCK.js";
10
7
  import {
11
8
  dropdown_styles_default
12
9
  } from "./chunk.SLCYXMHB.js";
10
+ import {
11
+ getTabbableBoundary
12
+ } from "./chunk.2QOQY4ZG.js";
13
13
  import {
14
14
  animateTo,
15
15
  stopAnimations,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  SynergyElement,
30
30
  component_styles_default
31
- } from "./chunk.P2DUZ56G.js";
31
+ } from "./chunk.R47GARB7.js";
32
32
  import {
33
33
  __decorateClass
34
34
  } from "./chunk.QNDC5KWA.js";
@@ -368,4 +368,4 @@ setDefaultAnimation("dropdown.hide", {
368
368
  export {
369
369
  SynDropdown
370
370
  };
371
- //# sourceMappingURL=chunk.43M7YAGR.js.map
371
+ //# sourceMappingURL=chunk.P3JNSYA3.js.map