@synergy-design-system/components 1.18.0 → 1.20.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 (220) hide show
  1. package/dist/chunks/{chunk.MU2UKMFS.js → chunk.2HMAZW6A.js} +2 -2
  2. package/dist/chunks/{chunk.3XSHKQTX.js → chunk.32GEMZZV.js} +2 -2
  3. package/dist/chunks/{chunk.3XSHKQTX.js.map → chunk.32GEMZZV.js.map} +1 -1
  4. package/dist/chunks/{chunk.XH3MA254.js → chunk.35WADEQD.js} +2 -2
  5. package/dist/chunks/{chunk.ALJZ43KV.js → chunk.3NEF2ECB.js} +2 -2
  6. package/dist/chunks/{chunk.RH56E6RP.js → chunk.3Z63ZDCN.js} +2 -2
  7. package/dist/chunks/{chunk.IZUY7TUK.js → chunk.47JB5OS5.js} +9 -9
  8. package/dist/chunks/{chunk.DP66NN4T.js → chunk.524IJCDT.js} +3 -3
  9. package/dist/chunks/{chunk.FRDS4YDO.js → chunk.54HPCZLM.js} +2 -2
  10. package/dist/chunks/{chunk.5G2YSQBG.js → chunk.5NSIAXSA.js} +2 -2
  11. package/dist/chunks/{chunk.VJWNNZNH.js → chunk.A6AAFCG3.js} +2 -2
  12. package/dist/chunks/chunk.AMAK44YX.js +27 -0
  13. package/dist/chunks/chunk.AMAK44YX.js.map +7 -0
  14. package/dist/chunks/{chunk.CFFJSWFS.js → chunk.AOQTVAEY.js} +2 -2
  15. package/dist/chunks/{chunk.MR7U25T2.js → chunk.AQKOFOYX.js} +2 -2
  16. package/dist/chunks/{chunk.NVEZ4QNM.js → chunk.AUURIE7A.js} +3 -3
  17. package/dist/chunks/{chunk.ITVKE7NY.js → chunk.AWAHSLMZ.js} +5 -5
  18. package/dist/chunks/{chunk.G34JOXVF.js → chunk.CKQLSMDO.js} +2 -2
  19. package/dist/chunks/{chunk.O54BQSFI.js → chunk.CSXBPQFP.js} +7 -7
  20. package/dist/chunks/{chunk.ENPKDAIZ.js → chunk.CWHSZ4BH.js} +9 -9
  21. package/dist/chunks/{chunk.POVJ44KS.js → chunk.DHBMSKDO.js} +5 -5
  22. package/dist/chunks/{chunk.QTL6QHN6.js → chunk.DKUZB46V.js} +10 -10
  23. package/dist/chunks/{chunk.EWF2AO27.js → chunk.EPZGNWBV.js} +2 -2
  24. package/dist/chunks/{chunk.S7GUBN44.js → chunk.EUKFLHGG.js} +5 -5
  25. package/dist/chunks/{chunk.VFL2ABHB.js → chunk.EZDC4UMG.js} +2 -2
  26. package/dist/chunks/{chunk.53VFVSIM.js → chunk.F4A2CST4.js} +2 -2
  27. package/dist/chunks/{chunk.GBXK6QMT.js → chunk.FQFZOZEN.js} +2 -2
  28. package/dist/chunks/{chunk.OPIYLV55.js → chunk.FTBYTDD5.js} +2 -2
  29. package/dist/chunks/{chunk.KTX5YB4Z.js → chunk.FTG2II25.js} +3 -3
  30. package/dist/chunks/{chunk.FJGYUKQB.js → chunk.GE3ZKSIL.js} +2 -2
  31. package/dist/chunks/chunk.GM27OBUM.js +12 -0
  32. package/dist/chunks/chunk.GM27OBUM.js.map +7 -0
  33. package/dist/chunks/{chunk.K5FUJGJ7.js → chunk.HAOJSHHP.js} +2 -2
  34. package/dist/chunks/{chunk.3MHH6ND2.js → chunk.HL7SBENS.js} +3 -3
  35. package/dist/chunks/{chunk.TWTFELWJ.js → chunk.HXG34EFO.js} +2 -2
  36. package/dist/chunks/{chunk.R7ZKZ6JE.js → chunk.I4HVPXQK.js} +2 -2
  37. package/dist/chunks/{chunk.B4VL2R3N.js → chunk.IFBYW5FA.js} +2 -2
  38. package/dist/chunks/{chunk.YJAGURE4.js → chunk.IGFBLFXD.js} +10 -10
  39. package/dist/chunks/{chunk.6CUDSTFZ.js → chunk.JHY3MH4D.js} +2 -2
  40. package/dist/chunks/chunk.JRYXECAY.js +94 -0
  41. package/dist/chunks/chunk.JRYXECAY.js.map +7 -0
  42. package/dist/chunks/{chunk.ORRBYZK7.js → chunk.L3ANONV5.js} +3 -3
  43. package/dist/chunks/{chunk.WV7JKJPD.js → chunk.L55DODNB.js} +2 -2
  44. package/dist/chunks/{chunk.XDKUBSEZ.js → chunk.LDN3IDWU.js} +2 -2
  45. package/dist/chunks/{chunk.ZP62IDKA.js → chunk.LJJHFA3A.js} +2 -2
  46. package/dist/chunks/{chunk.XALEH2Z2.js → chunk.LT2IOL3W.js} +5 -5
  47. package/dist/chunks/{chunk.AMHVRA6L.js → chunk.NSW46LNB.js} +6 -6
  48. package/dist/chunks/{chunk.XOEDYQWT.js → chunk.O63F2VQH.js} +2 -2
  49. package/dist/chunks/{chunk.AYPU2CVS.js → chunk.PIGPCN4I.js} +2 -2
  50. package/dist/chunks/chunk.PS4UJFYT.js +60 -0
  51. package/dist/chunks/chunk.PS4UJFYT.js.map +7 -0
  52. package/dist/chunks/{chunk.3NKRV5WI.js → chunk.RA4T4PSL.js} +2 -2
  53. package/dist/chunks/{chunk.3WXUF3OF.js → chunk.RKLLBPDJ.js} +2 -2
  54. package/dist/chunks/chunk.RRCGUD4A.js +69 -0
  55. package/dist/chunks/chunk.RRCGUD4A.js.map +7 -0
  56. package/dist/chunks/{chunk.XHHUDQGP.js → chunk.RWIYH2J5.js} +2 -2
  57. package/dist/chunks/{chunk.QO53BVNG.js → chunk.SOA43S6O.js} +2 -2
  58. package/dist/chunks/{chunk.T4CNSRSR.js → chunk.SW3IVEWX.js} +2 -2
  59. package/dist/chunks/{chunk.ZSZ3RXHE.js → chunk.TGGCQSF3.js} +6 -6
  60. package/dist/chunks/{chunk.LLS2ZY55.js → chunk.TLBRAHTC.js} +2 -2
  61. package/dist/chunks/{chunk.VC3APXJ3.js → chunk.TVUPDAKK.js} +14 -14
  62. package/dist/chunks/{chunk.HWDX5ZOJ.js → chunk.UEVDP3J5.js} +3 -3
  63. package/dist/chunks/chunk.UINFNZLR.js +217 -0
  64. package/dist/chunks/chunk.UINFNZLR.js.map +7 -0
  65. package/dist/chunks/{chunk.MKYRLUII.js → chunk.VMECHIZN.js} +2 -2
  66. package/dist/chunks/{chunk.JGXFT7JF.js → chunk.VWZE6BIA.js} +2 -2
  67. package/dist/chunks/{chunk.YOBIFHIM.js → chunk.WQNQONGU.js} +2 -2
  68. package/dist/chunks/chunk.XBUAZUNQ.js +91 -0
  69. package/dist/chunks/chunk.XBUAZUNQ.js.map +7 -0
  70. package/dist/chunks/chunk.XOYMSEKT.js +12 -0
  71. package/dist/chunks/chunk.XOYMSEKT.js.map +7 -0
  72. package/dist/chunks/{chunk.HSRG6R67.js → chunk.YLVTDJCD.js} +6 -6
  73. package/dist/chunks/{chunk.I5UERUDK.js → chunk.YVG2RYSG.js} +2 -2
  74. package/dist/chunks/{chunk.4LFIZT4V.js → chunk.YXI6WDAW.js} +6 -6
  75. package/dist/chunks/{chunk.QV2W7HAY.js → chunk.ZGVJ3KBH.js} +5 -5
  76. package/dist/components/alert/alert.component.d.ts +70 -0
  77. package/dist/components/alert/alert.component.js +27 -0
  78. package/dist/components/alert/alert.component.js.map +7 -0
  79. package/dist/components/alert/alert.custom.styles.d.ts +2 -0
  80. package/dist/components/alert/alert.custom.styles.js +8 -0
  81. package/dist/components/alert/alert.custom.styles.js.map +7 -0
  82. package/dist/components/alert/alert.d.ts +8 -0
  83. package/dist/components/alert/alert.js +28 -0
  84. package/dist/components/alert/alert.js.map +7 -0
  85. package/dist/components/alert/alert.styles.d.ts +2 -0
  86. package/dist/components/alert/alert.styles.js +8 -0
  87. package/dist/components/alert/alert.styles.js.map +7 -0
  88. package/dist/components/badge/badge.component.js +4 -4
  89. package/dist/components/badge/badge.js +5 -5
  90. package/dist/components/button/button.component.js +9 -9
  91. package/dist/components/button/button.js +10 -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 +7 -7
  95. package/dist/components/checkbox/checkbox.js +8 -8
  96. package/dist/components/divider/divider.component.js +2 -2
  97. package/dist/components/divider/divider.js +3 -3
  98. package/dist/components/drawer/drawer.component.js +10 -10
  99. package/dist/components/drawer/drawer.js +11 -11
  100. package/dist/components/dropdown/dropdown.component.js +4 -4
  101. package/dist/components/dropdown/dropdown.js +5 -5
  102. package/dist/components/header/header.component.js +7 -7
  103. package/dist/components/header/header.js +8 -8
  104. package/dist/components/icon/icon.component.js +4 -4
  105. package/dist/components/icon/icon.js +5 -5
  106. package/dist/components/icon-button/icon-button.component.js +5 -5
  107. package/dist/components/icon-button/icon-button.js +6 -6
  108. package/dist/components/input/input.component.js +9 -9
  109. package/dist/components/input/input.js +10 -10
  110. package/dist/components/menu/menu.component.js +2 -2
  111. package/dist/components/menu/menu.js +3 -3
  112. package/dist/components/menu-item/menu-item.component.js +8 -8
  113. package/dist/components/menu-item/menu-item.js +9 -9
  114. package/dist/components/menu-label/menu-label.component.js +3 -3
  115. package/dist/components/menu-label/menu-label.js +4 -4
  116. package/dist/components/nav-item/nav-item.component.js +3 -3
  117. package/dist/components/nav-item/nav-item.js +4 -4
  118. package/dist/components/optgroup/optgroup.component.js +3 -3
  119. package/dist/components/optgroup/optgroup.js +4 -4
  120. package/dist/components/option/option.component.js +7 -7
  121. package/dist/components/option/option.js +8 -8
  122. package/dist/components/popup/popup.component.js +2 -2
  123. package/dist/components/popup/popup.js +3 -3
  124. package/dist/components/prio-nav/prio-nav.component.js +13 -13
  125. package/dist/components/prio-nav/prio-nav.js +14 -14
  126. package/dist/components/progress-bar/progress-bar.component.d.ts +31 -0
  127. package/dist/components/progress-bar/progress-bar.component.js +13 -0
  128. package/dist/components/progress-bar/progress-bar.component.js.map +7 -0
  129. package/dist/components/progress-bar/progress-bar.custom.styles.d.ts +2 -0
  130. package/dist/components/progress-bar/progress-bar.custom.styles.js +8 -0
  131. package/dist/components/progress-bar/progress-bar.custom.styles.js.map +7 -0
  132. package/dist/components/progress-bar/progress-bar.d.ts +8 -0
  133. package/dist/components/progress-bar/progress-bar.js +14 -0
  134. package/dist/components/progress-bar/progress-bar.js.map +7 -0
  135. package/dist/components/progress-bar/progress-bar.styles.d.ts +2 -0
  136. package/dist/components/progress-bar/progress-bar.styles.js +8 -0
  137. package/dist/components/progress-bar/progress-bar.styles.js.map +7 -0
  138. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  139. package/dist/components/progress-ring/progress-ring.js +3 -3
  140. package/dist/components/radio/radio.component.js +5 -5
  141. package/dist/components/radio/radio.js +6 -6
  142. package/dist/components/radio-button/radio-button.component.js +2 -2
  143. package/dist/components/radio-button/radio-button.js +3 -3
  144. package/dist/components/radio-group/radio-group.component.js +4 -4
  145. package/dist/components/radio-group/radio-group.js +5 -5
  146. package/dist/components/select/select.component.js +12 -12
  147. package/dist/components/select/select.js +13 -13
  148. package/dist/components/side-nav/side-nav.component.js +13 -13
  149. package/dist/components/side-nav/side-nav.js +14 -14
  150. package/dist/components/spinner/spinner.component.js +2 -2
  151. package/dist/components/switch/switch.component.js +2 -2
  152. package/dist/components/switch/switch.js +3 -3
  153. package/dist/components/tag/tag.component.js +7 -7
  154. package/dist/components/tag/tag.js +8 -8
  155. package/dist/components/textarea/textarea.component.js +2 -2
  156. package/dist/components/textarea/textarea.js +3 -3
  157. package/dist/custom-elements.json +403 -1
  158. package/dist/internal/test/data-testid-helpers.d.ts +12 -0
  159. package/dist/synergy.d.ts +2 -0
  160. package/dist/synergy.js +117 -103
  161. package/dist/themes/utility.css +1 -1
  162. package/dist/vscode.html-custom-data.json +65 -0
  163. package/package.json +3 -3
  164. /package/dist/chunks/{chunk.MU2UKMFS.js.map → chunk.2HMAZW6A.js.map} +0 -0
  165. /package/dist/chunks/{chunk.XH3MA254.js.map → chunk.35WADEQD.js.map} +0 -0
  166. /package/dist/chunks/{chunk.ALJZ43KV.js.map → chunk.3NEF2ECB.js.map} +0 -0
  167. /package/dist/chunks/{chunk.RH56E6RP.js.map → chunk.3Z63ZDCN.js.map} +0 -0
  168. /package/dist/chunks/{chunk.IZUY7TUK.js.map → chunk.47JB5OS5.js.map} +0 -0
  169. /package/dist/chunks/{chunk.DP66NN4T.js.map → chunk.524IJCDT.js.map} +0 -0
  170. /package/dist/chunks/{chunk.FRDS4YDO.js.map → chunk.54HPCZLM.js.map} +0 -0
  171. /package/dist/chunks/{chunk.5G2YSQBG.js.map → chunk.5NSIAXSA.js.map} +0 -0
  172. /package/dist/chunks/{chunk.VJWNNZNH.js.map → chunk.A6AAFCG3.js.map} +0 -0
  173. /package/dist/chunks/{chunk.CFFJSWFS.js.map → chunk.AOQTVAEY.js.map} +0 -0
  174. /package/dist/chunks/{chunk.MR7U25T2.js.map → chunk.AQKOFOYX.js.map} +0 -0
  175. /package/dist/chunks/{chunk.NVEZ4QNM.js.map → chunk.AUURIE7A.js.map} +0 -0
  176. /package/dist/chunks/{chunk.ITVKE7NY.js.map → chunk.AWAHSLMZ.js.map} +0 -0
  177. /package/dist/chunks/{chunk.G34JOXVF.js.map → chunk.CKQLSMDO.js.map} +0 -0
  178. /package/dist/chunks/{chunk.O54BQSFI.js.map → chunk.CSXBPQFP.js.map} +0 -0
  179. /package/dist/chunks/{chunk.ENPKDAIZ.js.map → chunk.CWHSZ4BH.js.map} +0 -0
  180. /package/dist/chunks/{chunk.POVJ44KS.js.map → chunk.DHBMSKDO.js.map} +0 -0
  181. /package/dist/chunks/{chunk.QTL6QHN6.js.map → chunk.DKUZB46V.js.map} +0 -0
  182. /package/dist/chunks/{chunk.EWF2AO27.js.map → chunk.EPZGNWBV.js.map} +0 -0
  183. /package/dist/chunks/{chunk.S7GUBN44.js.map → chunk.EUKFLHGG.js.map} +0 -0
  184. /package/dist/chunks/{chunk.VFL2ABHB.js.map → chunk.EZDC4UMG.js.map} +0 -0
  185. /package/dist/chunks/{chunk.53VFVSIM.js.map → chunk.F4A2CST4.js.map} +0 -0
  186. /package/dist/chunks/{chunk.GBXK6QMT.js.map → chunk.FQFZOZEN.js.map} +0 -0
  187. /package/dist/chunks/{chunk.OPIYLV55.js.map → chunk.FTBYTDD5.js.map} +0 -0
  188. /package/dist/chunks/{chunk.KTX5YB4Z.js.map → chunk.FTG2II25.js.map} +0 -0
  189. /package/dist/chunks/{chunk.FJGYUKQB.js.map → chunk.GE3ZKSIL.js.map} +0 -0
  190. /package/dist/chunks/{chunk.K5FUJGJ7.js.map → chunk.HAOJSHHP.js.map} +0 -0
  191. /package/dist/chunks/{chunk.3MHH6ND2.js.map → chunk.HL7SBENS.js.map} +0 -0
  192. /package/dist/chunks/{chunk.TWTFELWJ.js.map → chunk.HXG34EFO.js.map} +0 -0
  193. /package/dist/chunks/{chunk.R7ZKZ6JE.js.map → chunk.I4HVPXQK.js.map} +0 -0
  194. /package/dist/chunks/{chunk.B4VL2R3N.js.map → chunk.IFBYW5FA.js.map} +0 -0
  195. /package/dist/chunks/{chunk.YJAGURE4.js.map → chunk.IGFBLFXD.js.map} +0 -0
  196. /package/dist/chunks/{chunk.6CUDSTFZ.js.map → chunk.JHY3MH4D.js.map} +0 -0
  197. /package/dist/chunks/{chunk.ORRBYZK7.js.map → chunk.L3ANONV5.js.map} +0 -0
  198. /package/dist/chunks/{chunk.WV7JKJPD.js.map → chunk.L55DODNB.js.map} +0 -0
  199. /package/dist/chunks/{chunk.XDKUBSEZ.js.map → chunk.LDN3IDWU.js.map} +0 -0
  200. /package/dist/chunks/{chunk.ZP62IDKA.js.map → chunk.LJJHFA3A.js.map} +0 -0
  201. /package/dist/chunks/{chunk.XALEH2Z2.js.map → chunk.LT2IOL3W.js.map} +0 -0
  202. /package/dist/chunks/{chunk.AMHVRA6L.js.map → chunk.NSW46LNB.js.map} +0 -0
  203. /package/dist/chunks/{chunk.XOEDYQWT.js.map → chunk.O63F2VQH.js.map} +0 -0
  204. /package/dist/chunks/{chunk.AYPU2CVS.js.map → chunk.PIGPCN4I.js.map} +0 -0
  205. /package/dist/chunks/{chunk.3NKRV5WI.js.map → chunk.RA4T4PSL.js.map} +0 -0
  206. /package/dist/chunks/{chunk.3WXUF3OF.js.map → chunk.RKLLBPDJ.js.map} +0 -0
  207. /package/dist/chunks/{chunk.XHHUDQGP.js.map → chunk.RWIYH2J5.js.map} +0 -0
  208. /package/dist/chunks/{chunk.QO53BVNG.js.map → chunk.SOA43S6O.js.map} +0 -0
  209. /package/dist/chunks/{chunk.T4CNSRSR.js.map → chunk.SW3IVEWX.js.map} +0 -0
  210. /package/dist/chunks/{chunk.ZSZ3RXHE.js.map → chunk.TGGCQSF3.js.map} +0 -0
  211. /package/dist/chunks/{chunk.LLS2ZY55.js.map → chunk.TLBRAHTC.js.map} +0 -0
  212. /package/dist/chunks/{chunk.VC3APXJ3.js.map → chunk.TVUPDAKK.js.map} +0 -0
  213. /package/dist/chunks/{chunk.HWDX5ZOJ.js.map → chunk.UEVDP3J5.js.map} +0 -0
  214. /package/dist/chunks/{chunk.MKYRLUII.js.map → chunk.VMECHIZN.js.map} +0 -0
  215. /package/dist/chunks/{chunk.JGXFT7JF.js.map → chunk.VWZE6BIA.js.map} +0 -0
  216. /package/dist/chunks/{chunk.YOBIFHIM.js.map → chunk.WQNQONGU.js.map} +0 -0
  217. /package/dist/chunks/{chunk.HSRG6R67.js.map → chunk.YLVTDJCD.js.map} +0 -0
  218. /package/dist/chunks/{chunk.I5UERUDK.js.map → chunk.YVG2RYSG.js.map} +0 -0
  219. /package/dist/chunks/{chunk.4LFIZT4V.js.map → chunk.YXI6WDAW.js.map} +0 -0
  220. /package/dist/chunks/{chunk.QV2W7HAY.js.map → chunk.ZGVJ3KBH.js.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  side_nav_styles_default
3
3
  } from "./chunk.GO3CCKC3.js";
4
- import {
5
- SynDivider
6
- } from "./chunk.XH3MA254.js";
7
4
  import {
8
5
  SynDrawer
9
- } from "./chunk.YJAGURE4.js";
6
+ } from "./chunk.IGFBLFXD.js";
10
7
  import {
11
8
  unlockBodyScrolling
12
9
  } from "./chunk.RIJKFEYZ.js";
10
+ import {
11
+ SynDivider
12
+ } from "./chunk.35WADEQD.js";
13
13
  import {
14
14
  waitForEvent
15
15
  } from "./chunk.7BEVGRQ2.js";
@@ -30,7 +30,7 @@ import {
30
30
  import {
31
31
  SynergyElement,
32
32
  component_styles_default
33
- } from "./chunk.3XSHKQTX.js";
33
+ } from "./chunk.32GEMZZV.js";
34
34
  import {
35
35
  __decorateClass
36
36
  } from "./chunk.QNDC5KWA.js";
@@ -283,4 +283,4 @@ setDefaultAnimation("sideNav.overlay.hide", {
283
283
  export {
284
284
  SynSideNav
285
285
  };
286
- //# sourceMappingURL=chunk.ZSZ3RXHE.js.map
286
+ //# sourceMappingURL=chunk.TGGCQSF3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynInput
3
- } from "./chunk.HSRG6R67.js";
3
+ } from "./chunk.YLVTDJCD.js";
4
4
 
5
5
  // src/components/input/input.ts
6
6
  var input_default = SynInput;
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
9
9
  export {
10
10
  input_default
11
11
  };
12
- //# sourceMappingURL=chunk.LLS2ZY55.js.map
12
+ //# sourceMappingURL=chunk.TLBRAHTC.js.map
@@ -1,18 +1,25 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.HWDX5ZOJ.js";
3
+ } from "./chunk.UEVDP3J5.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
- SynPopup
12
- } from "./chunk.OPIYLV55.js";
13
10
  import {
14
11
  scrollIntoView
15
12
  } from "./chunk.RIJKFEYZ.js";
13
+ import {
14
+ SynPopup
15
+ } from "./chunk.FTBYTDD5.js";
16
+ import {
17
+ defaultValue
18
+ } from "./chunk.WFAJR3FN.js";
19
+ import {
20
+ form_control_custom_styles_default,
21
+ form_control_styles_default
22
+ } from "./chunk.TTL762VF.js";
16
23
  import {
17
24
  animateTo,
18
25
  stopAnimations,
@@ -22,13 +29,6 @@ import {
22
29
  getAnimation,
23
30
  setDefaultAnimation
24
31
  } from "./chunk.QAUTITK3.js";
25
- import {
26
- defaultValue
27
- } from "./chunk.WFAJR3FN.js";
28
- import {
29
- form_control_custom_styles_default,
30
- form_control_styles_default
31
- } from "./chunk.TTL762VF.js";
32
32
  import {
33
33
  FormControlController
34
34
  } from "./chunk.JUJZBRXD.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk.66WXVGAW.js";
38
38
  import {
39
39
  SynIcon
40
- } from "./chunk.O54BQSFI.js";
40
+ } from "./chunk.CSXBPQFP.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.3XSHKQTX.js";
50
+ } from "./chunk.32GEMZZV.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.VC3APXJ3.js.map
767
+ //# sourceMappingURL=chunk.TVUPDAKK.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk.BGHK4NQA.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.3MHH6ND2.js";
9
+ } from "./chunk.HL7SBENS.js";
10
10
  import {
11
11
  LocalizeController
12
12
  } from "./chunk.GEHO4WRP.js";
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.3XSHKQTX.js";
16
+ } from "./chunk.32GEMZZV.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.QNDC5KWA.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynTag
78
78
  };
79
- //# sourceMappingURL=chunk.HWDX5ZOJ.js.map
79
+ //# sourceMappingURL=chunk.UEVDP3J5.js.map
@@ -0,0 +1,217 @@
1
+ import {
2
+ SynIconButton
3
+ } from "./chunk.HL7SBENS.js";
4
+ import {
5
+ animateTo,
6
+ stopAnimations,
7
+ waitForEvent
8
+ } from "./chunk.7BEVGRQ2.js";
9
+ import {
10
+ getAnimation,
11
+ setDefaultAnimation
12
+ } from "./chunk.QAUTITK3.js";
13
+ import {
14
+ alert_custom_styles_default
15
+ } from "./chunk.JRYXECAY.js";
16
+ import {
17
+ alert_styles_default
18
+ } from "./chunk.PS4UJFYT.js";
19
+ import {
20
+ HasSlotController
21
+ } from "./chunk.66WXVGAW.js";
22
+ import {
23
+ watch
24
+ } from "./chunk.AVTU2BGE.js";
25
+ import {
26
+ LocalizeController
27
+ } from "./chunk.GEHO4WRP.js";
28
+ import {
29
+ SynergyElement,
30
+ component_styles_default
31
+ } from "./chunk.32GEMZZV.js";
32
+ import {
33
+ __decorateClass
34
+ } from "./chunk.QNDC5KWA.js";
35
+
36
+ // src/components/alert/alert.component.ts
37
+ import { classMap } from "lit/directives/class-map.js";
38
+ import { html } from "lit";
39
+ import { property, query } from "lit/decorators.js";
40
+ var toastStack = Object.assign(document.createElement("div"), { className: "syn-toast-stack" });
41
+ var SynAlert = class extends SynergyElement {
42
+ constructor() {
43
+ super(...arguments);
44
+ this.hasSlotController = new HasSlotController(this, "icon", "suffix");
45
+ this.localize = new LocalizeController(this);
46
+ this.open = false;
47
+ this.closable = false;
48
+ this.variant = "primary";
49
+ this.duration = Infinity;
50
+ }
51
+ firstUpdated() {
52
+ this.base.hidden = !this.open;
53
+ }
54
+ restartAutoHide() {
55
+ clearTimeout(this.autoHideTimeout);
56
+ if (this.open && this.duration < Infinity) {
57
+ this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);
58
+ }
59
+ }
60
+ handleCloseClick() {
61
+ this.hide();
62
+ }
63
+ handleMouseMove() {
64
+ this.restartAutoHide();
65
+ }
66
+ async handleOpenChange() {
67
+ if (this.open) {
68
+ this.emit("syn-show");
69
+ if (this.duration < Infinity) {
70
+ this.restartAutoHide();
71
+ }
72
+ await stopAnimations(this.base);
73
+ this.base.hidden = false;
74
+ const { keyframes, options } = getAnimation(this, "alert.show", { dir: this.localize.dir() });
75
+ await animateTo(this.base, keyframes, options);
76
+ this.emit("syn-after-show");
77
+ } else {
78
+ this.emit("syn-hide");
79
+ clearTimeout(this.autoHideTimeout);
80
+ await stopAnimations(this.base);
81
+ const { keyframes, options } = getAnimation(this, "alert.hide", { dir: this.localize.dir() });
82
+ await animateTo(this.base, keyframes, options);
83
+ this.base.hidden = true;
84
+ this.emit("syn-after-hide");
85
+ }
86
+ }
87
+ handleDurationChange() {
88
+ this.restartAutoHide();
89
+ }
90
+ /** Shows the alert. */
91
+ async show() {
92
+ if (this.open) {
93
+ return void 0;
94
+ }
95
+ this.open = true;
96
+ return waitForEvent(this, "syn-after-show");
97
+ }
98
+ /** Hides the alert */
99
+ async hide() {
100
+ if (!this.open) {
101
+ return void 0;
102
+ }
103
+ this.open = false;
104
+ return waitForEvent(this, "syn-after-hide");
105
+ }
106
+ /**
107
+ * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
108
+ * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
109
+ * calling this method again. The returned promise will resolve after the alert is hidden.
110
+ */
111
+ async toast() {
112
+ return new Promise((resolve) => {
113
+ if (toastStack.parentElement === null) {
114
+ document.body.append(toastStack);
115
+ }
116
+ toastStack.appendChild(this);
117
+ requestAnimationFrame(() => {
118
+ this.clientWidth;
119
+ this.show();
120
+ });
121
+ this.addEventListener(
122
+ "syn-after-hide",
123
+ () => {
124
+ toastStack.removeChild(this);
125
+ resolve();
126
+ if (toastStack.querySelector("syn-alert") === null) {
127
+ toastStack.remove();
128
+ }
129
+ },
130
+ { once: true }
131
+ );
132
+ });
133
+ }
134
+ render() {
135
+ return html`
136
+ <div
137
+ part="base"
138
+ class=${classMap({
139
+ alert: true,
140
+ "alert--open": this.open,
141
+ "alert--closable": this.closable,
142
+ "alert--has-icon": this.hasSlotController.test("icon"),
143
+ "alert--primary": this.variant === "primary",
144
+ "alert--success": this.variant === "success",
145
+ "alert--neutral": this.variant === "neutral",
146
+ "alert--warning": this.variant === "warning",
147
+ "alert--danger": this.variant === "danger"
148
+ })}
149
+ role="alert"
150
+ aria-hidden=${this.open ? "false" : "true"}
151
+ @mousemove=${this.handleMouseMove}
152
+ >
153
+ <div part="icon" class="alert__icon">
154
+ <slot name="icon"></slot>
155
+ </div>
156
+
157
+ <div part="message" class="alert__message" aria-live="polite">
158
+ <slot></slot>
159
+ </div>
160
+
161
+ ${this.closable ? html`
162
+ <syn-icon-button
163
+ part="close-button"
164
+ exportparts="base:close-button__base"
165
+ class="alert__close-button"
166
+ name="x-lg"
167
+ library="system"
168
+ label=${this.localize.term("close")}
169
+ @click=${this.handleCloseClick}
170
+ ></syn-icon-button>
171
+ ` : ""}
172
+ </div>
173
+ `;
174
+ }
175
+ };
176
+ SynAlert.styles = [component_styles_default, alert_styles_default, alert_custom_styles_default];
177
+ SynAlert.dependencies = { "syn-icon-button": SynIconButton };
178
+ __decorateClass([
179
+ query('[part~="base"]')
180
+ ], SynAlert.prototype, "base", 2);
181
+ __decorateClass([
182
+ property({ type: Boolean, reflect: true })
183
+ ], SynAlert.prototype, "open", 2);
184
+ __decorateClass([
185
+ property({ type: Boolean, reflect: true })
186
+ ], SynAlert.prototype, "closable", 2);
187
+ __decorateClass([
188
+ property({ reflect: true })
189
+ ], SynAlert.prototype, "variant", 2);
190
+ __decorateClass([
191
+ property({ type: Number })
192
+ ], SynAlert.prototype, "duration", 2);
193
+ __decorateClass([
194
+ watch("open", { waitUntilFirstUpdate: true })
195
+ ], SynAlert.prototype, "handleOpenChange", 1);
196
+ __decorateClass([
197
+ watch("duration")
198
+ ], SynAlert.prototype, "handleDurationChange", 1);
199
+ setDefaultAnimation("alert.show", {
200
+ keyframes: [
201
+ { opacity: 0, scale: 0.8 },
202
+ { opacity: 1, scale: 1 }
203
+ ],
204
+ options: { duration: 250, easing: "ease" }
205
+ });
206
+ setDefaultAnimation("alert.hide", {
207
+ keyframes: [
208
+ { opacity: 1, scale: 1 },
209
+ { opacity: 0, scale: 0.8 }
210
+ ],
211
+ options: { duration: 250, easing: "ease" }
212
+ });
213
+
214
+ export {
215
+ SynAlert
216
+ };
217
+ //# sourceMappingURL=chunk.UINFNZLR.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/alert/alert.component.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 { 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 SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './alert.styles.js';\nimport customStyles from './alert.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nconst toastStack = Object.assign(document.createElement('div'), { className: 'syn-toast-stack' });\n\n/**\n * @summary Alerts are used to display important messages inline or as toast notifications.\n * @documentation https://synergy.style/components/alert\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The alert's main content.\n * @slot icon - An icon to show in the alert. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the alert opens.\n * @event syn-after-show - Emitted after the alert opens and all animations are complete.\n * @event syn-hide - Emitted when the alert closes.\n * @event syn-after-hide - Emitted after the alert closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The container that wraps the optional icon.\n * @csspart message - The container that wraps the alert's main content.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n *\n * @animation alert.show - The animation to use when showing the alert.\n * @animation alert.hide - The animation to use when hiding the alert.\n */\nexport default class SynAlert extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private autoHideTimeout: number;\n private readonly hasSlotController = new HasSlotController(this, 'icon', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n @query('[part~=\"base\"]') base: HTMLElement;\n\n /**\n * Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** Enables a close button that allows the user to dismiss the alert. */\n @property({ type: Boolean, reflect: true }) closable = false;\n\n /** The alert's theme variant. */\n @property({ reflect: true }) variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger' = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\n * the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\n * the alert will not close on its own.\n */\n @property({ type: Number }) duration = Infinity;\n\n firstUpdated() {\n this.base.hidden = !this.open;\n }\n\n private restartAutoHide() {\n clearTimeout(this.autoHideTimeout);\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n private handleCloseClick() {\n this.hide();\n }\n\n private handleMouseMove() {\n this.restartAutoHide();\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n\n if (this.duration < Infinity) {\n this.restartAutoHide();\n }\n\n await stopAnimations(this.base);\n this.base.hidden = false;\n const { keyframes, options } = getAnimation(this, 'alert.show', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n\n clearTimeout(this.autoHideTimeout);\n\n await stopAnimations(this.base);\n const { keyframes, options } = getAnimation(this, 'alert.hide', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n this.base.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Shows the alert. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the alert */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n */\n async toast() {\n return new Promise<void>(resolve => {\n if (toastStack.parentElement === null) {\n document.body.append(toastStack);\n }\n\n toastStack.appendChild(this);\n\n // Wait for the toast stack to render\n requestAnimationFrame(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- force a reflow for the initial transition\n this.clientWidth;\n this.show();\n });\n\n this.addEventListener(\n 'syn-after-hide',\n () => {\n toastStack.removeChild(this);\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (toastStack.querySelector('syn-alert') === null) {\n toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n alert: true,\n 'alert--open': this.open,\n 'alert--closable': this.closable,\n 'alert--has-icon': this.hasSlotController.test('icon'),\n 'alert--primary': this.variant === 'primary',\n 'alert--success': this.variant === 'success',\n 'alert--neutral': this.variant === 'neutral',\n 'alert--warning': this.variant === 'warning',\n 'alert--danger': this.variant === 'danger'\n })}\n role=\"alert\"\n aria-hidden=${this.open ? 'false' : 'true'}\n @mousemove=${this.handleMouseMove}\n >\n <div part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\"></slot>\n </div>\n\n <div part=\"message\" class=\"alert__message\" aria-live=\"polite\">\n <slot></slot>\n </div>\n\n ${this.closable\n ? html`\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"alert__close-button\"\n name=\"x-lg\"\n library=\"system\"\n label=${this.localize.term('close')}\n @click=${this.handleCloseClick}\n ></syn-icon-button>\n `\n : ''}\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('alert.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('alert.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButtonGroup
3
- } from "./chunk.S7GUBN44.js";
3
+ } from "./chunk.EUKFLHGG.js";
4
4
 
5
5
  // src/components/button-group/button-group.ts
6
6
  var button_group_default = SynButtonGroup;
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
9
9
  export {
10
10
  button_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.MKYRLUII.js.map
12
+ //# sourceMappingURL=chunk.VMECHIZN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuItem
3
- } from "./chunk.XALEH2Z2.js";
3
+ } from "./chunk.LT2IOL3W.js";
4
4
 
5
5
  // src/components/menu-item/menu-item.ts
6
6
  var menu_item_default = SynMenuItem;
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
9
9
  export {
10
10
  menu_item_default
11
11
  };
12
- //# sourceMappingURL=chunk.JGXFT7JF.js.map
12
+ //# sourceMappingURL=chunk.VWZE6BIA.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.3XSHKQTX.js";
13
+ } from "./chunk.32GEMZZV.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.QNDC5KWA.js";
@@ -74,4 +74,4 @@ __decorateClass([
74
74
  export {
75
75
  SynProgressRing
76
76
  };
77
- //# sourceMappingURL=chunk.YOBIFHIM.js.map
77
+ //# sourceMappingURL=chunk.WQNQONGU.js.map
@@ -0,0 +1,91 @@
1
+ // src/components/progress-bar/progress-bar.styles.ts
2
+ import { css } from "lit";
3
+ var progress_bar_styles_default = css`
4
+ /* stylelint-disable */
5
+ :host {
6
+ --height: 1rem;
7
+ --track-color: var(--syn-color-neutral-200);
8
+ --indicator-color: var(--syn-color-primary-600);
9
+ --label-color: var(--syn-color-neutral-0);
10
+
11
+ display: block;
12
+ }
13
+
14
+ .progress-bar {
15
+ position: relative;
16
+ background-color: var(--track-color);
17
+ height: var(--height);
18
+ border-radius: var(--syn-border-radius-pill);
19
+ box-shadow: inset var(--syn-shadow-small);
20
+ overflow: hidden;
21
+ }
22
+
23
+ .progress-bar__indicator {
24
+ height: 100%;
25
+ font-family: var(--syn-font-sans);
26
+ font-size: 12px;
27
+ font-weight: var(--syn-font-weight-normal);
28
+ background-color: var(--indicator-color);
29
+ color: var(--label-color);
30
+ text-align: center;
31
+ line-height: var(--height);
32
+ white-space: nowrap;
33
+ overflow: hidden;
34
+ transition:
35
+ 400ms width,
36
+ 400ms background-color;
37
+ user-select: none;
38
+ -webkit-user-select: none;
39
+ }
40
+
41
+ /* Indeterminate */
42
+ .progress-bar--indeterminate .progress-bar__indicator {
43
+ position: absolute;
44
+ animation: indeterminate 2.5s infinite cubic-bezier(0.37, 0, 0.63, 1);
45
+ }
46
+
47
+ .progress-bar--indeterminate.progress-bar--rtl .progress-bar__indicator {
48
+ animation-name: indeterminate-rtl;
49
+ }
50
+
51
+ @media (forced-colors: active) {
52
+ .progress-bar {
53
+ outline: solid 1px SelectedItem;
54
+ background-color: var(--syn-color-neutral-0);
55
+ }
56
+
57
+ .progress-bar__indicator {
58
+ outline: solid 1px SelectedItem;
59
+ background-color: SelectedItem;
60
+ }
61
+ }
62
+
63
+ @keyframes indeterminate {
64
+ 0% {
65
+ left: -50%;
66
+ width: 50%;
67
+ }
68
+ 75%,
69
+ 100% {
70
+ left: 100%;
71
+ width: 50%;
72
+ }
73
+ }
74
+
75
+ @keyframes indeterminate-rtl {
76
+ 0% {
77
+ right: -50%;
78
+ width: 50%;
79
+ }
80
+ 75%,
81
+ 100% {
82
+ right: 100%;
83
+ width: 50%;
84
+ }
85
+ }
86
+ `;
87
+
88
+ export {
89
+ progress_bar_styles_default
90
+ };
91
+ //# sourceMappingURL=chunk.XBUAZUNQ.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/progress-bar/progress-bar.styles.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 { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n --height: 1rem;\n --track-color: var(--syn-color-neutral-200);\n --indicator-color: var(--syn-color-primary-600);\n --label-color: var(--syn-color-neutral-0);\n\n display: block;\n }\n\n .progress-bar {\n position: relative;\n background-color: var(--track-color);\n height: var(--height);\n border-radius: var(--syn-border-radius-pill);\n box-shadow: inset var(--syn-shadow-small);\n overflow: hidden;\n }\n\n .progress-bar__indicator {\n height: 100%;\n font-family: var(--syn-font-sans);\n font-size: 12px;\n font-weight: var(--syn-font-weight-normal);\n background-color: var(--indicator-color);\n color: var(--label-color);\n text-align: center;\n line-height: var(--height);\n white-space: nowrap;\n overflow: hidden;\n transition:\n 400ms width,\n 400ms background-color;\n user-select: none;\n -webkit-user-select: none;\n }\n\n /* Indeterminate */\n .progress-bar--indeterminate .progress-bar__indicator {\n position: absolute;\n animation: indeterminate 2.5s infinite cubic-bezier(0.37, 0, 0.63, 1);\n }\n\n .progress-bar--indeterminate.progress-bar--rtl .progress-bar__indicator {\n animation-name: indeterminate-rtl;\n }\n\n @media (forced-colors: active) {\n .progress-bar {\n outline: solid 1px SelectedItem;\n background-color: var(--syn-color-neutral-0);\n }\n\n .progress-bar__indicator {\n outline: solid 1px SelectedItem;\n background-color: SelectedItem;\n }\n }\n\n @keyframes indeterminate {\n 0% {\n left: -50%;\n width: 50%;\n }\n 75%,\n 100% {\n left: 100%;\n width: 50%;\n }\n }\n\n @keyframes indeterminate-rtl {\n 0% {\n right: -50%;\n width: 50%;\n }\n 75%,\n 100% {\n right: 100%;\n width: 50%;\n }\n }\n`;\n"],
5
+ "mappings": ";AAMA,SAAS,WAAW;AAEpB,IAAO,8BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,12 @@
1
+ import {
2
+ SynProgressBar
3
+ } from "./chunk.RRCGUD4A.js";
4
+
5
+ // src/components/progress-bar/progress-bar.ts
6
+ var progress_bar_default = SynProgressBar;
7
+ SynProgressBar.define("syn-progress-bar");
8
+
9
+ export {
10
+ progress_bar_default
11
+ };
12
+ //# sourceMappingURL=chunk.XOYMSEKT.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/progress-bar/progress-bar.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 SynProgressBar from './progress-bar.component.js';\n\nexport * from './progress-bar.component.js';\nexport default SynProgressBar;\n\nSynProgressBar.define('syn-progress-bar');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-progress-bar': SynProgressBar;\n }\n}\n"],
5
+ "mappings": ";;;;;AASA,IAAO,uBAAQ;AAEf,eAAe,OAAO,kBAAkB;",
6
+ "names": []
7
+ }
@@ -4,9 +4,6 @@ import {
4
4
  import {
5
5
  input_styles_default
6
6
  } from "./chunk.AW2HNLNP.js";
7
- import {
8
- SynDivider
9
- } from "./chunk.XH3MA254.js";
10
7
  import {
11
8
  defaultValue
12
9
  } from "./chunk.WFAJR3FN.js";
@@ -14,6 +11,9 @@ import {
14
11
  form_control_custom_styles_default,
15
12
  form_control_styles_default
16
13
  } from "./chunk.TTL762VF.js";
14
+ import {
15
+ SynDivider
16
+ } from "./chunk.35WADEQD.js";
17
17
  import {
18
18
  FormControlController
19
19
  } from "./chunk.JUJZBRXD.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk.66WXVGAW.js";
23
23
  import {
24
24
  SynIcon
25
- } from "./chunk.O54BQSFI.js";
25
+ } from "./chunk.CSXBPQFP.js";
26
26
  import {
27
27
  watch
28
28
  } from "./chunk.AVTU2BGE.js";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  SynergyElement,
34
34
  component_styles_default
35
- } from "./chunk.3XSHKQTX.js";
35
+ } from "./chunk.32GEMZZV.js";
36
36
  import {
37
37
  __decorateClass,
38
38
  __spreadValues
@@ -642,4 +642,4 @@ __decorateClass([
642
642
  export {
643
643
  SynInput
644
644
  };
645
- //# sourceMappingURL=chunk.HSRG6R67.js.map
645
+ //# sourceMappingURL=chunk.YLVTDJCD.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SynergyElement,
9
9
  component_styles_default
10
- } from "./chunk.3XSHKQTX.js";
10
+ } from "./chunk.32GEMZZV.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.QNDC5KWA.js";
@@ -128,4 +128,4 @@ __decorateClass([
128
128
  export {
129
129
  SynMenu
130
130
  };
131
- //# sourceMappingURL=chunk.I5UERUDK.js.map
131
+ //# sourceMappingURL=chunk.YVG2RYSG.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.OPIYLV55.js";
3
+ } from "./chunk.FTBYTDD5.js";
4
+ import {
5
+ getTabbableBoundary
6
+ } from "./chunk.2QOQY4ZG.js";
4
7
  import {
5
8
  dropdown_custom_styles_default
6
9
  } from "./chunk.2KYFCKCK.js";
7
10
  import {
8
11
  dropdown_styles_default
9
12
  } 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.3XSHKQTX.js";
31
+ } from "./chunk.32GEMZZV.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.4LFIZT4V.js.map
371
+ //# sourceMappingURL=chunk.YXI6WDAW.js.map
@@ -1,9 +1,9 @@
1
- import {
2
- icon_default
3
- } from "./chunk.MU2UKMFS.js";
4
1
  import {
5
2
  header_styles_default
6
3
  } from "./chunk.AOKNP4QD.js";
4
+ import {
5
+ icon_default
6
+ } from "./chunk.2HMAZW6A.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.66WXVGAW.js";
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  SynergyElement,
18
18
  component_styles_default
19
- } from "./chunk.3XSHKQTX.js";
19
+ } from "./chunk.32GEMZZV.js";
20
20
  import {
21
21
  __decorateClass
22
22
  } from "./chunk.QNDC5KWA.js";
@@ -163,4 +163,4 @@ __decorateClass([
163
163
  export {
164
164
  SynHeader
165
165
  };
166
- //# sourceMappingURL=chunk.QV2W7HAY.js.map
166
+ //# sourceMappingURL=chunk.ZGVJ3KBH.js.map