rc-progress
Advanced tools
Comparing version 3.1.3 to 3.1.4
import * as React from 'react'; | ||
import { ProgressProps } from './interface'; | ||
import type { ProgressProps } from './interface'; | ||
declare const Circle: React.FC<ProgressProps>; | ||
export default Circle; |
@@ -52,6 +52,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
var pathStyle = { | ||
stroke: strokeColor, | ||
stroke: typeof strokeColor === 'string' ? strokeColor : undefined, | ||
strokeDasharray: "".concat(percent / 100 * (len - gapDegree), "px ").concat(len, "px"), | ||
strokeDashoffset: "-".concat(gapDegree / 2 + offset / 100 * (len - gapDegree), "px"), | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s' | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s' // eslint-disable-line | ||
}; | ||
@@ -58,0 +59,0 @@ return { |
import * as React from 'react'; | ||
import { ProgressProps } from './interface'; | ||
import type { ProgressProps } from './interface'; | ||
declare const Circle: React.FC<ProgressProps>; | ||
export default Circle; |
@@ -69,6 +69,7 @@ "use strict"; | ||
var pathStyle = { | ||
stroke: strokeColor, | ||
stroke: typeof strokeColor === 'string' ? strokeColor : undefined, | ||
strokeDasharray: "".concat(percent / 100 * (len - gapDegree), "px ").concat(len, "px"), | ||
strokeDashoffset: "-".concat(gapDegree / 2 + offset / 100 * (len - gapDegree), "px"), | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s' | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s' // eslint-disable-line | ||
}; | ||
@@ -75,0 +76,0 @@ return { |
{ | ||
"name": "rc-progress", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "progress ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34269
0