diff --git a/components/progress/__tests__/__snapshots__/demo.test.js.snap b/components/progress/__tests__/__snapshots__/demo.test.js.snap index 044691c72..c94027d22 100644 --- a/components/progress/__tests__/__snapshots__/demo.test.js.snap +++ b/components/progress/__tests__/__snapshots__/demo.test.js.snap @@ -3,34 +3,15 @@ exports[`renders ./antdv-demo/docs/progress/demo/circle.md correctly 1`] = `
-
+
+ - 75%
-
-
-
- - -
-
-
-
- - -
+ 75%
`; @@ -38,50 +19,54 @@ exports[`renders ./antdv-demo/docs/progress/demo/circle.md correctly 1`] = ` exports[`renders ./antdv-demo/docs/progress/demo/circle-dynamic.md correctly 1`] = `
-
+
+ - 0%
+ 0%
-
+
`; exports[`renders ./antdv-demo/docs/progress/demo/circle-mini.md correctly 1`] = `
-
+
+ - 30%
+ 30%
-
+
+ -
+
-
+
+ -
+
`; @@ -89,14 +74,15 @@ exports[`renders ./antdv-demo/docs/progress/demo/circle-mini.md correctly 1`] = exports[`renders ./antdv-demo/docs/progress/demo/dashboard.md correctly 1`] = `
-
+
+ - 75%
+ 75%
`; @@ -108,38 +94,42 @@ exports[`renders ./antdv-demo/docs/progress/demo/dynamic.md correctly 1`] = `
+
-
0% + 0% -
+
`; exports[`renders ./antdv-demo/docs/progress/demo/format.md correctly 1`] = `
-
+
+ - 75 Days
+ 75 Days
-
+
+ - Done
+ Done
-
+
+ @@ -158,8 +148,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/gradient-line.md correctly 1`]
+
-
99.9% +
99.9%
@@ -167,14 +158,15 @@ exports[`renders ./antdv-demo/docs/progress/demo/gradient-line.md correctly 1`]
+
-
99.9% +
99.9%
-
+
- + @@ -184,13 +176,13 @@ exports[`renders ./antdv-demo/docs/progress/demo/gradient-line.md correctly 1`] a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke: #f3f3f3; stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> - 90%
+ a 47,47 0 1 1 0,-94" stroke="url(#ant-progress-gradient-9)" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: [object Object]; stroke-dasharray: 265.77873849369655px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> + 90%
-
+
- + @@ -200,8 +192,8 @@ exports[`renders ./antdv-demo/docs/progress/demo/gradient-line.md correctly 1`] a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke: #f3f3f3; stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> -
+ a 47,47 0 1 1 0,-94" stroke="url(#ant-progress-gradient-10)" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: [object Object]; stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> +
`; @@ -213,8 +205,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line.md correctly 1`] = `
+
-
30% + 30%
@@ -222,8 +215,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line.md correctly 1`] = `
+
-
50% +
50%
@@ -231,8 +225,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line.md correctly 1`] = `
+
-
+
@@ -240,8 +235,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line.md correctly 1`] = `
+
-
+
@@ -249,8 +245,10 @@ exports[`renders ./antdv-demo/docs/progress/demo/line.md correctly 1`] = `
+
+
@@ -263,8 +261,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line-mini.md correctly 1`] = `
+
-
30% + 30%
@@ -272,8 +271,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line-mini.md correctly 1`] = `
+
-
50% +
50%
@@ -281,8 +281,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line-mini.md correctly 1`] = `
+
-
+
@@ -290,8 +291,9 @@ exports[`renders ./antdv-demo/docs/progress/demo/line-mini.md correctly 1`] = `
+
-
+
@@ -304,35 +306,39 @@ exports[`renders ./antdv-demo/docs/progress/demo/linecap.md correctly 1`] = `
+
-
75% + 75%
-
+
+ - 75%
+ 75%
-
+
+ - 75%
+ 75%
`; exports[`renders ./antdv-demo/docs/progress/demo/segment.md correctly 1`] = `
+
@@ -340,11 +346,13 @@ exports[`renders ./antdv-demo/docs/progress/demo/segment.md correctly 1`] = `
-
60% +
60%
+
-
+
+ @@ -354,10 +362,12 @@ exports[`renders ./antdv-demo/docs/progress/demo/segment.md correctly 1`] = ` - 60%
+ 60%
+
-
+
+ @@ -367,7 +377,7 @@ exports[`renders ./antdv-demo/docs/progress/demo/segment.md correctly 1`] = ` - 60%
+ 60%
`; diff --git a/examples/App.vue b/examples/App.vue index d0e397178..dcf8a537b 100644 --- a/examples/App.vue +++ b/examples/App.vue @@ -4,7 +4,7 @@