@synergy-design-system/components 1.17.2 → 1.19.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 (212) hide show
  1. package/dist/chunks/{chunk.HIEYZW3Q.js → chunk.2DDDCRJ3.js} +3 -3
  2. package/dist/chunks/{chunk.4P4J6DEC.js → chunk.2JOZWWOE.js} +3 -3
  3. package/dist/chunks/{chunk.DFUERSKG.js → chunk.2UY7COPU.js} +2 -2
  4. package/dist/chunks/chunk.2V3HGTTL.js +22 -0
  5. package/dist/chunks/chunk.2V3HGTTL.js.map +7 -0
  6. package/dist/chunks/{chunk.JURMMYO2.js → chunk.3JD6SIIU.js} +5 -5
  7. package/dist/chunks/chunk.45VEGVRJ.js +74 -0
  8. package/dist/chunks/chunk.45VEGVRJ.js.map +7 -0
  9. package/dist/chunks/{chunk.JL2M6QGE.js → chunk.4I5SYBN7.js} +2 -2
  10. package/dist/chunks/{chunk.GWU7M2NS.js → chunk.4J7Z64K2.js} +2 -2
  11. package/dist/chunks/{chunk.TGULUE3O.js → chunk.5L2JI5UY.js} +2 -2
  12. package/dist/chunks/{chunk.ZHZF5E34.js → chunk.5LG6OZVL.js} +2 -2
  13. package/dist/chunks/{chunk.ASAMT3UI.js → chunk.5ZXK3DHG.js} +2 -2
  14. package/dist/chunks/{chunk.354KNEFV.js → chunk.6HSRAAQU.js} +2 -2
  15. package/dist/chunks/{chunk.MOIKULXW.js → chunk.A47EKSQ4.js} +3 -3
  16. package/dist/chunks/chunk.AMAK44YX.js +27 -0
  17. package/dist/chunks/chunk.AMAK44YX.js.map +7 -0
  18. package/dist/chunks/{chunk.7JDLEWDH.js → chunk.API7KARX.js} +2 -2
  19. package/dist/chunks/{chunk.ZRWDONNK.js → chunk.AQHCB5J4.js} +6 -6
  20. package/dist/chunks/{chunk.R56L7XI5.js → chunk.ARMOGDBS.js} +2 -2
  21. package/dist/chunks/{chunk.55P725B2.js → chunk.BLEAPCEP.js} +3 -3
  22. package/dist/chunks/{chunk.V34ZEOY7.js → chunk.BPHDK3CI.js} +2 -2
  23. package/dist/chunks/{chunk.ESAGOXZY.js → chunk.BZBSIR5N.js} +2 -2
  24. package/dist/chunks/{chunk.VJGCWBVN.js → chunk.CZ6WRNZU.js} +2 -2
  25. package/dist/chunks/{chunk.IMLBNWVK.js → chunk.DEGXHPWD.js} +2 -2
  26. package/dist/chunks/{chunk.JRBLHBNP.js → chunk.DUNJ5BV6.js} +2 -2
  27. package/dist/chunks/{chunk.UT6FUVX5.js → chunk.DZ7S4RJY.js} +2 -2
  28. package/dist/chunks/{chunk.OU72DRLK.js → chunk.EMKKKKFU.js} +2 -2
  29. package/dist/chunks/chunk.ET6X3DLL.js +77 -0
  30. package/dist/chunks/chunk.ET6X3DLL.js.map +7 -0
  31. package/dist/chunks/{chunk.CYOLWNNK.js → chunk.G5P3WTL3.js} +2 -2
  32. package/dist/chunks/chunk.GJ6H2WYF.js +12 -0
  33. package/dist/chunks/chunk.GJ6H2WYF.js.map +7 -0
  34. package/dist/chunks/{chunk.U2MZCGBJ.js → chunk.KJORV2US.js} +2 -2
  35. package/dist/chunks/{chunk.J7TDFUXZ.js → chunk.KPYNOAQ6.js} +3 -3
  36. package/dist/chunks/{chunk.2AE3ADBX.js → chunk.KUWSMYGR.js} +2 -2
  37. package/dist/chunks/{chunk.UZNZKSEG.js → chunk.L7WWNO6T.js} +2 -2
  38. package/dist/chunks/{chunk.6OHCTJDU.js → chunk.LECQCB4C.js} +2 -2
  39. package/dist/chunks/chunk.LPAMBMOA.js +69 -0
  40. package/dist/chunks/chunk.LPAMBMOA.js.map +7 -0
  41. package/dist/chunks/{chunk.FWPBOC4P.js → chunk.LVQ53WA2.js} +2 -2
  42. package/dist/chunks/{chunk.FWPBOC4P.js.map → chunk.LVQ53WA2.js.map} +1 -1
  43. package/dist/chunks/{chunk.B6TPJHW3.js → chunk.MCRJOP4B.js} +2 -2
  44. package/dist/chunks/chunk.N5F4YN7J.js +12 -0
  45. package/dist/chunks/chunk.N5F4YN7J.js.map +7 -0
  46. package/dist/chunks/{chunk.RAEGIE77.js → chunk.NGEQ7HRH.js} +5 -5
  47. package/dist/chunks/{chunk.37A673UJ.js → chunk.NGJRG6XB.js} +2 -2
  48. package/dist/chunks/{chunk.ECPDDABH.js → chunk.NH3IR2C2.js} +2 -2
  49. package/dist/chunks/{chunk.N6YEG2QO.js → chunk.O2XQWYYG.js} +2 -2
  50. package/dist/chunks/{chunk.PVY5TCIP.js → chunk.P6H4IUOO.js} +2 -2
  51. package/dist/chunks/{chunk.UGFGZEJP.js → chunk.Q5FGJTK5.js} +3 -3
  52. package/dist/chunks/{chunk.OIZ7KHCE.js → chunk.QAZDNT7V.js} +3 -3
  53. package/dist/chunks/{chunk.6D2I2DZR.js → chunk.QMBZGUIN.js} +2 -2
  54. package/dist/chunks/{chunk.JCPXLB2E.js → chunk.QY3NFYFU.js} +4 -4
  55. package/dist/chunks/{chunk.VWX6KYMT.js → chunk.RURN5UFR.js} +3 -3
  56. package/dist/chunks/{chunk.6F642XLH.js → chunk.RZE2HSE2.js} +2 -2
  57. package/dist/chunks/{chunk.XSRDHGYV.js → chunk.SRUKBLUF.js} +2 -2
  58. package/dist/chunks/{chunk.6HOISIQO.js → chunk.T46C67Z2.js} +2 -2
  59. package/dist/chunks/{chunk.IGOGYLSA.js → chunk.TDPC64DK.js} +4 -4
  60. package/dist/chunks/{chunk.DXQX7H3H.js → chunk.TJIIZ7CR.js} +2 -2
  61. package/dist/chunks/{chunk.YVKT4YBV.js → chunk.UGPXRN6M.js} +2 -2
  62. package/dist/chunks/{chunk.KPMZ3LIJ.js → chunk.UHGLUAVY.js} +2 -2
  63. package/dist/chunks/{chunk.H7B7A6CW.js → chunk.UN5IHLKM.js} +2 -2
  64. package/dist/chunks/{chunk.7BKZQX6V.js → chunk.V2LC4HXQ.js} +2 -2
  65. package/dist/chunks/{chunk.VGP76PTE.js → chunk.VELRTLV7.js} +2 -2
  66. package/dist/chunks/{chunk.JW2XLOIY.js → chunk.W5NCYA3D.js} +3 -3
  67. package/dist/chunks/{chunk.RVSBLUK4.js → chunk.W7PLVOS3.js} +4 -4
  68. package/dist/chunks/{chunk.JC5GSV43.js → chunk.WJQ6ZWWB.js} +2 -2
  69. package/dist/chunks/{chunk.PZANVPZA.js → chunk.X4X2RMYJ.js} +3 -3
  70. package/dist/chunks/chunk.XBUAZUNQ.js +91 -0
  71. package/dist/chunks/chunk.XBUAZUNQ.js.map +7 -0
  72. package/dist/chunks/{chunk.WH4VWBVX.js → chunk.XHI2F52K.js} +3 -3
  73. package/dist/chunks/{chunk.4K2TSR4V.js → chunk.Z3NQ3OCM.js} +3 -3
  74. package/dist/components/badge/badge.component.js +2 -2
  75. package/dist/components/badge/badge.js +3 -3
  76. package/dist/components/button/button.component.js +4 -4
  77. package/dist/components/button/button.js +5 -5
  78. package/dist/components/button-group/button-group.component.js +2 -2
  79. package/dist/components/button-group/button-group.js +3 -3
  80. package/dist/components/checkbox/checkbox.component.js +3 -3
  81. package/dist/components/checkbox/checkbox.js +4 -4
  82. package/dist/components/divider/divider.component.js +2 -2
  83. package/dist/components/divider/divider.js +3 -3
  84. package/dist/components/drawer/drawer.component.js +4 -4
  85. package/dist/components/drawer/drawer.js +5 -5
  86. package/dist/components/dropdown/dropdown.component.js +3 -3
  87. package/dist/components/dropdown/dropdown.js +4 -4
  88. package/dist/components/header/header.component.js +4 -4
  89. package/dist/components/header/header.js +5 -5
  90. package/dist/components/icon/icon.component.js +2 -2
  91. package/dist/components/icon/icon.js +3 -3
  92. package/dist/components/icon-button/icon-button.component.js +3 -3
  93. package/dist/components/icon-button/icon-button.js +4 -4
  94. package/dist/components/input/input.component.js +4 -4
  95. package/dist/components/input/input.js +5 -5
  96. package/dist/components/menu/menu.component.js +2 -2
  97. package/dist/components/menu/menu.js +3 -3
  98. package/dist/components/menu-item/menu-item.component.js +5 -5
  99. package/dist/components/menu-item/menu-item.js +6 -6
  100. package/dist/components/menu-label/menu-label.component.js +3 -3
  101. package/dist/components/menu-label/menu-label.js +4 -4
  102. package/dist/components/nav-item/nav-item.component.js +3 -3
  103. package/dist/components/nav-item/nav-item.js +4 -4
  104. package/dist/components/optgroup/optgroup.component.js +3 -3
  105. package/dist/components/optgroup/optgroup.js +4 -4
  106. package/dist/components/option/option.component.js +3 -3
  107. package/dist/components/option/option.js +4 -4
  108. package/dist/components/popup/popup.component.js +2 -2
  109. package/dist/components/popup/popup.js +3 -3
  110. package/dist/components/prio-nav/prio-nav.component.js +8 -8
  111. package/dist/components/prio-nav/prio-nav.js +9 -9
  112. package/dist/components/progress-bar/progress-bar.component.d.ts +31 -0
  113. package/dist/components/progress-bar/progress-bar.component.js +13 -0
  114. package/dist/components/progress-bar/progress-bar.component.js.map +7 -0
  115. package/dist/components/progress-bar/progress-bar.custom.styles.d.ts +2 -0
  116. package/dist/components/progress-bar/progress-bar.custom.styles.js +8 -0
  117. package/dist/components/progress-bar/progress-bar.custom.styles.js.map +7 -0
  118. package/dist/components/progress-bar/progress-bar.d.ts +8 -0
  119. package/dist/components/progress-bar/progress-bar.js +14 -0
  120. package/dist/components/progress-bar/progress-bar.js.map +7 -0
  121. package/dist/components/progress-bar/progress-bar.styles.d.ts +2 -0
  122. package/dist/components/progress-bar/progress-bar.styles.js +8 -0
  123. package/dist/components/progress-bar/progress-bar.styles.js.map +7 -0
  124. package/dist/components/progress-ring/progress-ring.component.d.ts +32 -0
  125. package/dist/components/progress-ring/progress-ring.component.js +13 -0
  126. package/dist/components/progress-ring/progress-ring.component.js.map +7 -0
  127. package/dist/components/progress-ring/progress-ring.custom.styles.d.ts +2 -0
  128. package/dist/components/progress-ring/progress-ring.custom.styles.js +8 -0
  129. package/dist/components/progress-ring/progress-ring.custom.styles.js.map +7 -0
  130. package/dist/components/progress-ring/progress-ring.d.ts +8 -0
  131. package/dist/components/progress-ring/progress-ring.js +14 -0
  132. package/dist/components/progress-ring/progress-ring.js.map +7 -0
  133. package/dist/components/progress-ring/progress-ring.styles.d.ts +2 -0
  134. package/dist/components/progress-ring/progress-ring.styles.js +8 -0
  135. package/dist/components/progress-ring/progress-ring.styles.js.map +7 -0
  136. package/dist/components/radio/radio.component.js +3 -3
  137. package/dist/components/radio/radio.js +4 -4
  138. package/dist/components/radio-button/radio-button.component.js +2 -2
  139. package/dist/components/radio-button/radio-button.js +3 -3
  140. package/dist/components/radio-group/radio-group.component.js +3 -3
  141. package/dist/components/radio-group/radio-group.js +4 -4
  142. package/dist/components/select/select.component.js +6 -6
  143. package/dist/components/select/select.js +7 -7
  144. package/dist/components/side-nav/side-nav.component.js +6 -6
  145. package/dist/components/side-nav/side-nav.js +7 -7
  146. package/dist/components/spinner/spinner.component.js +2 -2
  147. package/dist/components/switch/switch.component.js +2 -2
  148. package/dist/components/switch/switch.js +3 -3
  149. package/dist/components/tag/tag.component.js +4 -4
  150. package/dist/components/tag/tag.js +5 -5
  151. package/dist/components/textarea/textarea.component.js +2 -2
  152. package/dist/components/textarea/textarea.js +3 -3
  153. package/dist/custom-elements.json +437 -153
  154. package/dist/synergy.d.ts +2 -0
  155. package/dist/synergy.js +72 -58
  156. package/dist/vscode.html-custom-data.json +66 -17
  157. package/package.json +4 -4
  158. /package/dist/chunks/{chunk.HIEYZW3Q.js.map → chunk.2DDDCRJ3.js.map} +0 -0
  159. /package/dist/chunks/{chunk.4P4J6DEC.js.map → chunk.2JOZWWOE.js.map} +0 -0
  160. /package/dist/chunks/{chunk.DFUERSKG.js.map → chunk.2UY7COPU.js.map} +0 -0
  161. /package/dist/chunks/{chunk.JURMMYO2.js.map → chunk.3JD6SIIU.js.map} +0 -0
  162. /package/dist/chunks/{chunk.JL2M6QGE.js.map → chunk.4I5SYBN7.js.map} +0 -0
  163. /package/dist/chunks/{chunk.GWU7M2NS.js.map → chunk.4J7Z64K2.js.map} +0 -0
  164. /package/dist/chunks/{chunk.TGULUE3O.js.map → chunk.5L2JI5UY.js.map} +0 -0
  165. /package/dist/chunks/{chunk.ZHZF5E34.js.map → chunk.5LG6OZVL.js.map} +0 -0
  166. /package/dist/chunks/{chunk.ASAMT3UI.js.map → chunk.5ZXK3DHG.js.map} +0 -0
  167. /package/dist/chunks/{chunk.354KNEFV.js.map → chunk.6HSRAAQU.js.map} +0 -0
  168. /package/dist/chunks/{chunk.MOIKULXW.js.map → chunk.A47EKSQ4.js.map} +0 -0
  169. /package/dist/chunks/{chunk.7JDLEWDH.js.map → chunk.API7KARX.js.map} +0 -0
  170. /package/dist/chunks/{chunk.ZRWDONNK.js.map → chunk.AQHCB5J4.js.map} +0 -0
  171. /package/dist/chunks/{chunk.R56L7XI5.js.map → chunk.ARMOGDBS.js.map} +0 -0
  172. /package/dist/chunks/{chunk.55P725B2.js.map → chunk.BLEAPCEP.js.map} +0 -0
  173. /package/dist/chunks/{chunk.V34ZEOY7.js.map → chunk.BPHDK3CI.js.map} +0 -0
  174. /package/dist/chunks/{chunk.ESAGOXZY.js.map → chunk.BZBSIR5N.js.map} +0 -0
  175. /package/dist/chunks/{chunk.VJGCWBVN.js.map → chunk.CZ6WRNZU.js.map} +0 -0
  176. /package/dist/chunks/{chunk.IMLBNWVK.js.map → chunk.DEGXHPWD.js.map} +0 -0
  177. /package/dist/chunks/{chunk.JRBLHBNP.js.map → chunk.DUNJ5BV6.js.map} +0 -0
  178. /package/dist/chunks/{chunk.UT6FUVX5.js.map → chunk.DZ7S4RJY.js.map} +0 -0
  179. /package/dist/chunks/{chunk.OU72DRLK.js.map → chunk.EMKKKKFU.js.map} +0 -0
  180. /package/dist/chunks/{chunk.CYOLWNNK.js.map → chunk.G5P3WTL3.js.map} +0 -0
  181. /package/dist/chunks/{chunk.U2MZCGBJ.js.map → chunk.KJORV2US.js.map} +0 -0
  182. /package/dist/chunks/{chunk.J7TDFUXZ.js.map → chunk.KPYNOAQ6.js.map} +0 -0
  183. /package/dist/chunks/{chunk.2AE3ADBX.js.map → chunk.KUWSMYGR.js.map} +0 -0
  184. /package/dist/chunks/{chunk.UZNZKSEG.js.map → chunk.L7WWNO6T.js.map} +0 -0
  185. /package/dist/chunks/{chunk.6OHCTJDU.js.map → chunk.LECQCB4C.js.map} +0 -0
  186. /package/dist/chunks/{chunk.B6TPJHW3.js.map → chunk.MCRJOP4B.js.map} +0 -0
  187. /package/dist/chunks/{chunk.RAEGIE77.js.map → chunk.NGEQ7HRH.js.map} +0 -0
  188. /package/dist/chunks/{chunk.37A673UJ.js.map → chunk.NGJRG6XB.js.map} +0 -0
  189. /package/dist/chunks/{chunk.ECPDDABH.js.map → chunk.NH3IR2C2.js.map} +0 -0
  190. /package/dist/chunks/{chunk.N6YEG2QO.js.map → chunk.O2XQWYYG.js.map} +0 -0
  191. /package/dist/chunks/{chunk.PVY5TCIP.js.map → chunk.P6H4IUOO.js.map} +0 -0
  192. /package/dist/chunks/{chunk.UGFGZEJP.js.map → chunk.Q5FGJTK5.js.map} +0 -0
  193. /package/dist/chunks/{chunk.OIZ7KHCE.js.map → chunk.QAZDNT7V.js.map} +0 -0
  194. /package/dist/chunks/{chunk.6D2I2DZR.js.map → chunk.QMBZGUIN.js.map} +0 -0
  195. /package/dist/chunks/{chunk.JCPXLB2E.js.map → chunk.QY3NFYFU.js.map} +0 -0
  196. /package/dist/chunks/{chunk.VWX6KYMT.js.map → chunk.RURN5UFR.js.map} +0 -0
  197. /package/dist/chunks/{chunk.6F642XLH.js.map → chunk.RZE2HSE2.js.map} +0 -0
  198. /package/dist/chunks/{chunk.XSRDHGYV.js.map → chunk.SRUKBLUF.js.map} +0 -0
  199. /package/dist/chunks/{chunk.6HOISIQO.js.map → chunk.T46C67Z2.js.map} +0 -0
  200. /package/dist/chunks/{chunk.IGOGYLSA.js.map → chunk.TDPC64DK.js.map} +0 -0
  201. /package/dist/chunks/{chunk.DXQX7H3H.js.map → chunk.TJIIZ7CR.js.map} +0 -0
  202. /package/dist/chunks/{chunk.YVKT4YBV.js.map → chunk.UGPXRN6M.js.map} +0 -0
  203. /package/dist/chunks/{chunk.KPMZ3LIJ.js.map → chunk.UHGLUAVY.js.map} +0 -0
  204. /package/dist/chunks/{chunk.H7B7A6CW.js.map → chunk.UN5IHLKM.js.map} +0 -0
  205. /package/dist/chunks/{chunk.7BKZQX6V.js.map → chunk.V2LC4HXQ.js.map} +0 -0
  206. /package/dist/chunks/{chunk.VGP76PTE.js.map → chunk.VELRTLV7.js.map} +0 -0
  207. /package/dist/chunks/{chunk.JW2XLOIY.js.map → chunk.W5NCYA3D.js.map} +0 -0
  208. /package/dist/chunks/{chunk.RVSBLUK4.js.map → chunk.W7PLVOS3.js.map} +0 -0
  209. /package/dist/chunks/{chunk.JC5GSV43.js.map → chunk.WJQ6ZWWB.js.map} +0 -0
  210. /package/dist/chunks/{chunk.PZANVPZA.js.map → chunk.X4X2RMYJ.js.map} +0 -0
  211. /package/dist/chunks/{chunk.WH4VWBVX.js.map → chunk.XHI2F52K.js.map} +0 -0
  212. /package/dist/chunks/{chunk.4K2TSR4V.js.map → chunk.Z3NQ3OCM.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.RIJKFEYZ.js";
5
5
  import {
6
6
  SynIconButton
7
- } from "./chunk.OIZ7KHCE.js";
7
+ } from "./chunk.QAZDNT7V.js";
8
8
  import {
9
9
  getTabbableElements
10
10
  } from "./chunk.2QOQY4ZG.js";
@@ -35,7 +35,7 @@ import {
35
35
  import {
36
36
  SynergyElement,
37
37
  component_styles_default
38
- } from "./chunk.FWPBOC4P.js";
38
+ } from "./chunk.LVQ53WA2.js";
39
39
  import {
40
40
  __decorateClass,
41
41
  __yieldStar
@@ -518,4 +518,4 @@ setDefaultAnimation("drawer.overlay.hide", {
518
518
  export {
519
519
  SynDrawer
520
520
  };
521
- //# sourceMappingURL=chunk.HIEYZW3Q.js.map
521
+ //# sourceMappingURL=chunk.2DDDCRJ3.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk.BGHK4NQA.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.OIZ7KHCE.js";
9
+ } from "./chunk.QAZDNT7V.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.FWPBOC4P.js";
16
+ } from "./chunk.LVQ53WA2.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.4P4J6DEC.js.map
79
+ //# sourceMappingURL=chunk.2JOZWWOE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIcon
3
- } from "./chunk.6D2I2DZR.js";
3
+ } from "./chunk.QMBZGUIN.js";
4
4
 
5
5
  // src/components/icon/icon.ts
6
6
  var icon_default = SynIcon;
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
9
9
  export {
10
10
  icon_default
11
11
  };
12
- //# sourceMappingURL=chunk.DFUERSKG.js.map
12
+ //# sourceMappingURL=chunk.2UY7COPU.js.map
@@ -0,0 +1,22 @@
1
+ // src/components/progress-ring/progress-ring.custom.styles.ts
2
+ import { css } from "lit";
3
+ var progress_ring_custom_styles_default = css`
4
+ :host {
5
+ --size: 120px;
6
+ --track-width: var(--syn-spacing-x-small);
7
+ }
8
+
9
+ .progress-ring__indicator {
10
+ stroke-linecap: initial;
11
+ }
12
+
13
+ .progress-ring__label {
14
+ color: var(--syn-typography-color-text);
15
+ font: var(--syn-heading-x-large);
16
+ }
17
+ `;
18
+
19
+ export {
20
+ progress_ring_custom_styles_default
21
+ };
22
+ //# sourceMappingURL=chunk.2V3HGTTL.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/progress-ring/progress-ring.custom.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n --size: 120px;\n --track-width: var(--syn-spacing-x-small);\n }\n\n .progress-ring__indicator {\n stroke-linecap: initial;\n }\n\n .progress-ring__label {\n color: var(--syn-typography-color-text);\n font: var(--syn-heading-x-large);\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,sCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.4P4J6DEC.js";
3
+ } from "./chunk.2JOZWWOE.js";
4
4
  import {
5
5
  select_custom_styles_default
6
6
  } from "./chunk.OWMT6OL2.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.QNQNR3RY.js";
10
10
  import {
11
11
  SynPopup
12
- } from "./chunk.V34ZEOY7.js";
12
+ } from "./chunk.BPHDK3CI.js";
13
13
  import {
14
14
  scrollIntoView
15
15
  } from "./chunk.RIJKFEYZ.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk.66WXVGAW.js";
38
38
  import {
39
39
  SynIcon
40
- } from "./chunk.6D2I2DZR.js";
40
+ } from "./chunk.QMBZGUIN.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.FWPBOC4P.js";
50
+ } from "./chunk.LVQ53WA2.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.JURMMYO2.js.map
767
+ //# sourceMappingURL=chunk.3JD6SIIU.js.map
@@ -0,0 +1,74 @@
1
+ // src/components/progress-ring/progress-ring.styles.ts
2
+ import { css } from "lit";
3
+ var progress_ring_styles_default = css`
4
+ /* stylelint-disable */
5
+ :host {
6
+ --size: 128px;
7
+ --track-width: 4px;
8
+ --track-color: var(--syn-color-neutral-200);
9
+ --indicator-width: var(--track-width);
10
+ --indicator-color: var(--syn-color-primary-600);
11
+ --indicator-transition-duration: 0.35s;
12
+
13
+ display: inline-flex;
14
+ }
15
+
16
+ .progress-ring {
17
+ display: inline-flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ position: relative;
21
+ }
22
+
23
+ .progress-ring__image {
24
+ width: var(--size);
25
+ height: var(--size);
26
+ rotate: -90deg;
27
+ transform-origin: 50% 50%;
28
+ }
29
+
30
+ .progress-ring__track,
31
+ .progress-ring__indicator {
32
+ --radius: calc(var(--size) / 2 - max(var(--track-width), var(--indicator-width)) * 0.5);
33
+ --circumference: calc(var(--radius) * 2 * 3.141592654);
34
+
35
+ fill: none;
36
+ r: var(--radius);
37
+ cx: calc(var(--size) / 2);
38
+ cy: calc(var(--size) / 2);
39
+ }
40
+
41
+ .progress-ring__track {
42
+ stroke: var(--track-color);
43
+ stroke-width: var(--track-width);
44
+ }
45
+
46
+ .progress-ring__indicator {
47
+ stroke: var(--indicator-color);
48
+ stroke-width: var(--indicator-width);
49
+ stroke-linecap: round;
50
+ transition-property: stroke-dashoffset;
51
+ transition-duration: var(--indicator-transition-duration);
52
+ stroke-dasharray: var(--circumference) var(--circumference);
53
+ stroke-dashoffset: calc(var(--circumference) - var(--percentage) * var(--circumference));
54
+ }
55
+
56
+ .progress-ring__label {
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ position: absolute;
61
+ top: 0;
62
+ left: 0;
63
+ width: 100%;
64
+ height: 100%;
65
+ text-align: center;
66
+ user-select: none;
67
+ -webkit-user-select: none;
68
+ }
69
+ `;
70
+
71
+ export {
72
+ progress_ring_styles_default
73
+ };
74
+ //# sourceMappingURL=chunk.45VEGVRJ.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/progress-ring/progress-ring.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 --size: 128px;\n --track-width: 4px;\n --track-color: var(--syn-color-neutral-200);\n --indicator-width: var(--track-width);\n --indicator-color: var(--syn-color-primary-600);\n --indicator-transition-duration: 0.35s;\n\n display: inline-flex;\n }\n\n .progress-ring {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n }\n\n .progress-ring__image {\n width: var(--size);\n height: var(--size);\n rotate: -90deg;\n transform-origin: 50% 50%;\n }\n\n .progress-ring__track,\n .progress-ring__indicator {\n --radius: calc(var(--size) / 2 - max(var(--track-width), var(--indicator-width)) * 0.5);\n --circumference: calc(var(--radius) * 2 * 3.141592654);\n\n fill: none;\n r: var(--radius);\n cx: calc(var(--size) / 2);\n cy: calc(var(--size) / 2);\n }\n\n .progress-ring__track {\n stroke: var(--track-color);\n stroke-width: var(--track-width);\n }\n\n .progress-ring__indicator {\n stroke: var(--indicator-color);\n stroke-width: var(--indicator-width);\n stroke-linecap: round;\n transition-property: stroke-dashoffset;\n transition-duration: var(--indicator-transition-duration);\n stroke-dasharray: var(--circumference) var(--circumference);\n stroke-dashoffset: calc(var(--circumference) - var(--percentage) * var(--circumference));\n }\n\n .progress-ring__label {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n user-select: none;\n -webkit-user-select: none;\n }\n`;\n"],
5
+ "mappings": ";AAMA,SAAS,WAAW;AAEpB,IAAO,+BAAQ;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
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.WH4VWBVX.js";
3
+ } from "./chunk.XHI2F52K.js";
4
4
 
5
5
  // src/components/radio-group/radio-group.ts
6
6
  var radio_group_default = SynRadioGroup;
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
9
9
  export {
10
10
  radio_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.JL2M6QGE.js.map
12
+ //# sourceMappingURL=chunk.4I5SYBN7.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.FWPBOC4P.js";
13
+ } from "./chunk.LVQ53WA2.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.QNDC5KWA.js";
@@ -41,4 +41,4 @@ __decorateClass([
41
41
  export {
42
42
  SynDivider
43
43
  };
44
- //# sourceMappingURL=chunk.GWU7M2NS.js.map
44
+ //# sourceMappingURL=chunk.4J7Z64K2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynHeader
3
- } from "./chunk.55P725B2.js";
3
+ } from "./chunk.BLEAPCEP.js";
4
4
 
5
5
  // src/components/header/header.ts
6
6
  var header_default = SynHeader;
@@ -9,4 +9,4 @@ SynHeader.define("syn-header");
9
9
  export {
10
10
  header_default
11
11
  };
12
- //# sourceMappingURL=chunk.TGULUE3O.js.map
12
+ //# sourceMappingURL=chunk.5L2JI5UY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.PVY5TCIP.js";
3
+ } from "./chunk.P6H4IUOO.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.ZHZF5E34.js.map
12
+ //# sourceMappingURL=chunk.5LG6OZVL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBadge
3
- } from "./chunk.B6TPJHW3.js";
3
+ } from "./chunk.MCRJOP4B.js";
4
4
 
5
5
  // src/components/badge/badge.ts
6
6
  var badge_default = SynBadge;
@@ -9,4 +9,4 @@ SynBadge.define("syn-badge");
9
9
  export {
10
10
  badge_default
11
11
  };
12
- //# sourceMappingURL=chunk.ASAMT3UI.js.map
12
+ //# sourceMappingURL=chunk.5ZXK3DHG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDropdown
3
- } from "./chunk.UGFGZEJP.js";
3
+ } from "./chunk.Q5FGJTK5.js";
4
4
 
5
5
  // src/components/dropdown/dropdown.ts
6
6
  var dropdown_default = SynDropdown;
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
9
9
  export {
10
10
  dropdown_default
11
11
  };
12
- //# sourceMappingURL=chunk.354KNEFV.js.map
12
+ //# sourceMappingURL=chunk.6HSRAAQU.js.map
@@ -19,14 +19,14 @@ import {
19
19
  } from "./chunk.66WXVGAW.js";
20
20
  import {
21
21
  SynIcon
22
- } from "./chunk.6D2I2DZR.js";
22
+ } from "./chunk.QMBZGUIN.js";
23
23
  import {
24
24
  watch
25
25
  } from "./chunk.AVTU2BGE.js";
26
26
  import {
27
27
  SynergyElement,
28
28
  component_styles_default
29
- } from "./chunk.FWPBOC4P.js";
29
+ } from "./chunk.LVQ53WA2.js";
30
30
  import {
31
31
  __decorateClass
32
32
  } from "./chunk.QNDC5KWA.js";
@@ -259,4 +259,4 @@ __decorateClass([
259
259
  export {
260
260
  SynCheckbox
261
261
  };
262
- //# sourceMappingURL=chunk.MOIKULXW.js.map
262
+ //# sourceMappingURL=chunk.A47EKSQ4.js.map
@@ -0,0 +1,27 @@
1
+ // src/components/progress-bar/progress-bar.custom.styles.ts
2
+ import { css } from "lit";
3
+ var progress_bar_custom_styles_default = css`
4
+ :host {
5
+ --height: var(--syn-font-size-medium);
6
+ --speed: 2.5s;
7
+ }
8
+
9
+ .progress-bar {
10
+ border-radius: var(--syn-border-radius-none);
11
+ box-shadow: none;
12
+ }
13
+
14
+ .progress-bar__indicator {
15
+ font: var(--syn-body-x-small-bold);
16
+ }
17
+
18
+ /* Indeterminate */
19
+ .progress-bar--indeterminate .progress-bar__indicator {
20
+ animation-duration: var(--speed);
21
+ }
22
+ `;
23
+
24
+ export {
25
+ progress_bar_custom_styles_default
26
+ };
27
+ //# sourceMappingURL=chunk.AMAK44YX.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/progress-bar/progress-bar.custom.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n --height: var(--syn-font-size-medium);\n --speed: 2.5s;\n }\n\n .progress-bar {\n border-radius: var(--syn-border-radius-none);\n box-shadow: none;\n }\n\n .progress-bar__indicator {\n font: var(--syn-body-x-small-bold);\n }\n\n /* Indeterminate */\n .progress-bar--indeterminate .progress-bar__indicator {\n animation-duration: var(--speed);\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,qCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIconButton
3
- } from "./chunk.OIZ7KHCE.js";
3
+ } from "./chunk.QAZDNT7V.js";
4
4
 
5
5
  // src/components/icon-button/icon-button.ts
6
6
  var icon_button_default = SynIconButton;
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
9
9
  export {
10
10
  icon_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.7JDLEWDH.js.map
12
+ //# sourceMappingURL=chunk.API7KARX.js.map
@@ -7,20 +7,20 @@ import {
7
7
  } from "./chunk.XNP4OTUB.js";
8
8
  import {
9
9
  SynNavItem
10
- } from "./chunk.J7TDFUXZ.js";
10
+ } from "./chunk.KPYNOAQ6.js";
11
11
  import {
12
12
  SynMenu
13
- } from "./chunk.7BKZQX6V.js";
13
+ } from "./chunk.V2LC4HXQ.js";
14
14
  import {
15
15
  SynDropdown
16
- } from "./chunk.UGFGZEJP.js";
16
+ } from "./chunk.Q5FGJTK5.js";
17
17
  import {
18
18
  SynIcon
19
- } from "./chunk.6D2I2DZR.js";
19
+ } from "./chunk.QMBZGUIN.js";
20
20
  import {
21
21
  SynergyElement,
22
22
  component_styles_default
23
- } from "./chunk.FWPBOC4P.js";
23
+ } from "./chunk.LVQ53WA2.js";
24
24
  import {
25
25
  __decorateClass
26
26
  } from "./chunk.QNDC5KWA.js";
@@ -205,4 +205,4 @@ __decorateClass([
205
205
  export {
206
206
  SynPrioNav
207
207
  };
208
- //# sourceMappingURL=chunk.ZRWDONNK.js.map
208
+ //# sourceMappingURL=chunk.AQHCB5J4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButton
3
- } from "./chunk.JCPXLB2E.js";
3
+ } from "./chunk.QY3NFYFU.js";
4
4
 
5
5
  // src/components/button/button.ts
6
6
  var button_default = SynButton;
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
9
9
  export {
10
10
  button_default
11
11
  };
12
- //# sourceMappingURL=chunk.R56L7XI5.js.map
12
+ //# sourceMappingURL=chunk.ARMOGDBS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "./chunk.DFUERSKG.js";
3
+ } from "./chunk.2UY7COPU.js";
4
4
  import {
5
5
  header_styles_default
6
6
  } from "./chunk.AOKNP4QD.js";
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  SynergyElement,
18
18
  component_styles_default
19
- } from "./chunk.FWPBOC4P.js";
19
+ } from "./chunk.LVQ53WA2.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.55P725B2.js.map
166
+ //# sourceMappingURL=chunk.BLEAPCEP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  SynergyElement,
6
6
  component_styles_default
7
- } from "./chunk.FWPBOC4P.js";
7
+ } from "./chunk.LVQ53WA2.js";
8
8
  import {
9
9
  __decorateClass,
10
10
  __spreadProps,
@@ -409,4 +409,4 @@ __decorateClass([
409
409
  export {
410
410
  SynPopup
411
411
  };
412
- //# sourceMappingURL=chunk.V34ZEOY7.js.map
412
+ //# sourceMappingURL=chunk.BPHDK3CI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynNavItem
3
- } from "./chunk.J7TDFUXZ.js";
3
+ } from "./chunk.KPYNOAQ6.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.ESAGOXZY.js.map
12
+ //# sourceMappingURL=chunk.BZBSIR5N.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuLabel
3
- } from "./chunk.PZANVPZA.js";
3
+ } from "./chunk.X4X2RMYJ.js";
4
4
 
5
5
  // src/components/menu-label/menu-label.ts
6
6
  var menu_label_default = SynMenuLabel;
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
9
9
  export {
10
10
  menu_label_default
11
11
  };
12
- //# sourceMappingURL=chunk.VJGCWBVN.js.map
12
+ //# sourceMappingURL=chunk.CZ6WRNZU.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SynergyElement,
9
9
  component_styles_default
10
- } from "./chunk.FWPBOC4P.js";
10
+ } from "./chunk.LVQ53WA2.js";
11
11
 
12
12
  // src/components/spinner/spinner.component.ts
13
13
  import { html } from "lit";
@@ -30,4 +30,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default];
30
30
  export {
31
31
  SynSpinner
32
32
  };
33
- //# sourceMappingURL=chunk.IMLBNWVK.js.map
33
+ //# sourceMappingURL=chunk.DEGXHPWD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadio
3
- } from "./chunk.VWX6KYMT.js";
3
+ } from "./chunk.RURN5UFR.js";
4
4
 
5
5
  // src/components/radio/radio.ts
6
6
  var radio_default = SynRadio;
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
9
9
  export {
10
10
  radio_default
11
11
  };
12
- //# sourceMappingURL=chunk.JRBLHBNP.js.map
12
+ //# sourceMappingURL=chunk.DUNJ5BV6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioButton
3
- } from "./chunk.6OHCTJDU.js";
3
+ } from "./chunk.LECQCB4C.js";
4
4
 
5
5
  // src/components/radio-button/radio-button.ts
6
6
  var radio_button_default = SynRadioButton;
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
9
9
  export {
10
10
  radio_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.UT6FUVX5.js.map
12
+ //# sourceMappingURL=chunk.DZ7S4RJY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.4P4J6DEC.js";
3
+ } from "./chunk.2JOZWWOE.js";
4
4
 
5
5
  // src/components/tag/tag.ts
6
6
  var tag_default = SynTag;
@@ -9,4 +9,4 @@ SynTag.define("syn-tag");
9
9
  export {
10
10
  tag_default
11
11
  };
12
- //# sourceMappingURL=chunk.OU72DRLK.js.map
12
+ //# sourceMappingURL=chunk.EMKKKKFU.js.map
@@ -0,0 +1,77 @@
1
+ import {
2
+ progress_ring_custom_styles_default
3
+ } from "./chunk.2V3HGTTL.js";
4
+ import {
5
+ progress_ring_styles_default
6
+ } from "./chunk.45VEGVRJ.js";
7
+ import {
8
+ LocalizeController
9
+ } from "./chunk.GEHO4WRP.js";
10
+ import {
11
+ SynergyElement,
12
+ component_styles_default
13
+ } from "./chunk.LVQ53WA2.js";
14
+ import {
15
+ __decorateClass
16
+ } from "./chunk.QNDC5KWA.js";
17
+
18
+ // src/components/progress-ring/progress-ring.component.ts
19
+ import { html } from "lit";
20
+ import { property, query, state } from "lit/decorators.js";
21
+ var SynProgressRing = class extends SynergyElement {
22
+ constructor() {
23
+ super(...arguments);
24
+ this.localize = new LocalizeController(this);
25
+ this.value = 0;
26
+ this.label = "";
27
+ }
28
+ updated(changedProps) {
29
+ super.updated(changedProps);
30
+ if (changedProps.has("value")) {
31
+ const radius = parseFloat(getComputedStyle(this.indicator).getPropertyValue("r"));
32
+ const circumference = 2 * Math.PI * radius;
33
+ const offset = circumference - this.value / 100 * circumference;
34
+ this.indicatorOffset = `${offset}px`;
35
+ }
36
+ }
37
+ render() {
38
+ return html`
39
+ <div
40
+ part="base"
41
+ class="progress-ring"
42
+ role="progressbar"
43
+ aria-label=${this.label.length > 0 ? this.label : this.localize.term("progress")}
44
+ aria-describedby="label"
45
+ aria-valuemin="0"
46
+ aria-valuemax="100"
47
+ aria-valuenow="${this.value}"
48
+ style="--percentage: ${this.value / 100}"
49
+ >
50
+ <svg class="progress-ring__image">
51
+ <circle class="progress-ring__track"></circle>
52
+ <circle class="progress-ring__indicator" style="stroke-dashoffset: ${this.indicatorOffset}"></circle>
53
+ </svg>
54
+
55
+ <slot id="label" part="label" class="progress-ring__label"></slot>
56
+ </div>
57
+ `;
58
+ }
59
+ };
60
+ SynProgressRing.styles = [component_styles_default, progress_ring_styles_default, progress_ring_custom_styles_default];
61
+ __decorateClass([
62
+ query(".progress-ring__indicator")
63
+ ], SynProgressRing.prototype, "indicator", 2);
64
+ __decorateClass([
65
+ state()
66
+ ], SynProgressRing.prototype, "indicatorOffset", 2);
67
+ __decorateClass([
68
+ property({ type: Number, reflect: true })
69
+ ], SynProgressRing.prototype, "value", 2);
70
+ __decorateClass([
71
+ property()
72
+ ], SynProgressRing.prototype, "label", 2);
73
+
74
+ export {
75
+ SynProgressRing
76
+ };
77
+ //# sourceMappingURL=chunk.ET6X3DLL.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/progress-ring/progress-ring.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 { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './progress-ring.styles.js';\nimport customStyles from './progress-ring.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.\n * @documentation https://synergy.style/components/progress-ring\n * @status stable\n * @since 2.0\n *\n * @slot - A label to show inside the ring.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The progress ring label.\n *\n * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).\n * @cssproperty --track-width - The width of the track.\n * @cssproperty --track-color - The color of the track.\n * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.\n * @cssproperty --indicator-color - The color of the indicator.\n * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.\n */\nexport default class SynProgressRing extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly localize = new LocalizeController(this);\n\n @query('.progress-ring__indicator') indicator: SVGCircleElement;\n\n @state() indicatorOffset: string;\n\n /** The current progress as a percentage, 0 to 100. */\n @property({ type: Number, reflect: true }) value = 0;\n\n /** A custom label for assistive devices. */\n @property() label = '';\n\n updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n //\n // This block is only required for Safari because it doesn't transition the circle when the custom properties\n // change, possibly because of a mix of pixel + unit-less values in the calc() function. It seems like a Safari bug,\n // but I couldn't pinpoint it so this works around the problem.\n //\n if (changedProps.has('value')) {\n const radius = parseFloat(getComputedStyle(this.indicator).getPropertyValue('r'));\n const circumference = 2 * Math.PI * radius;\n const offset = circumference - (this.value / 100) * circumference;\n\n this.indicatorOffset = `${offset}px`;\n }\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=\"progress-ring\"\n role=\"progressbar\"\n aria-label=${this.label.length > 0 ? this.label : this.localize.term('progress')}\n aria-describedby=\"label\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow=\"${this.value}\"\n style=\"--percentage: ${this.value / 100}\"\n >\n <svg class=\"progress-ring__image\">\n <circle class=\"progress-ring__track\"></circle>\n <circle class=\"progress-ring__indicator\" style=\"stroke-dashoffset: ${this.indicatorOffset}\"></circle>\n </svg>\n\n <slot id=\"label\" part=\"label\" class=\"progress-ring__label\"></slot>\n </div>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAMA,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AAyBvC,IAAqB,kBAArB,cAA6C,eAAe;AAAA,EAA5D;AAAA;AAGE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAOZ,iBAAQ;AAGvC,iBAAQ;AAAA;AAAA,EAEpB,QAAQ,cAAoC;AAC1C,UAAM,QAAQ,YAAY;AAO1B,QAAI,aAAa,IAAI,OAAO,GAAG;AAC7B,YAAM,SAAS,WAAW,iBAAiB,KAAK,SAAS,EAAE,iBAAiB,GAAG,CAAC;AAChF,YAAM,gBAAgB,IAAI,KAAK,KAAK;AACpC,YAAM,SAAS,gBAAiB,KAAK,QAAQ,MAAO;AAEpD,WAAK,kBAAkB,GAAG,MAAM;AAAA,IAClC;AAAA,EACF;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKU,KAAK,MAAM,SAAS,IAAI,KAAK,QAAQ,KAAK,SAAS,KAAK,UAAU,CAAC;AAAA;AAAA;AAAA;AAAA,yBAI/D,KAAK,KAAK;AAAA,+BACJ,KAAK,QAAQ,GAAG;AAAA;AAAA;AAAA;AAAA,+EAIgC,KAAK,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjG;AACF;AAtDqB,gBACZ,SAAyB,CAAC,0BAAiB,8BAAQ,mCAAY;AAIlC;AAAA,EAAnC,MAAM,2BAA2B;AAAA,GALf,gBAKiB;AAE3B;AAAA,EAAR,MAAM;AAAA,GAPY,gBAOV;AAGkC;AAAA,EAA1C,SAAS,EAAE,MAAM,QAAQ,SAAS,KAAK,CAAC;AAAA,GAVtB,gBAUwB;AAG/B;AAAA,EAAX,SAAS;AAAA,GAbS,gBAaP;",
6
+ "names": []
7
+ }