@react-md/progress
Advanced tools
Comparing version 2.0.0-alpha.10 to 2.0.0-alpha.11
@@ -40,3 +40,3 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
return __assign({}, propSvgStyle, { WebkitTransform: transform, MozTransform: transform, transform: transform }); | ||
return __assign(__assign({}, propSvgStyle), { WebkitTransform: transform, MozTransform: transform, transform: transform }); | ||
}, [progress, maxRotation, propSvgStyle]); | ||
@@ -47,3 +47,3 @@ var circleStyle = useMemo(function () { | ||
} | ||
return __assign({}, propCircleStyle, { strokeDashoffset: dashoffset - dashoffset * progress }); | ||
return __assign(__assign({}, propCircleStyle), { strokeDashoffset: dashoffset - dashoffset * progress }); | ||
}, [progress, propCircleStyle, dashoffset]); | ||
@@ -50,0 +50,0 @@ var determinate = typeof progress === "number"; |
@@ -34,3 +34,3 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
return __assign({}, propStyle, { height: verticalHeight }); | ||
return __assign(__assign({}, propStyle), { height: verticalHeight }); | ||
}, [propStyle, vertical, verticalHeight]); | ||
@@ -44,3 +44,3 @@ var progress = getProgress(min, max, value); | ||
var key = vertical ? "height" : "width"; | ||
return __assign({}, propBarStyle, (_a = {}, _a[key] = progress * 100 + "%", _a)); | ||
return __assign(__assign({}, propBarStyle), (_a = {}, _a[key] = progress * 100 + "%", _a)); | ||
}, [progress, propBarStyle, vertical]); | ||
@@ -47,0 +47,0 @@ var determinate = typeof progress === "number"; |
@@ -52,3 +52,3 @@ "use strict"; | ||
} | ||
return __assign({}, propSvgStyle, { WebkitTransform: transform, MozTransform: transform, transform: transform }); | ||
return __assign(__assign({}, propSvgStyle), { WebkitTransform: transform, MozTransform: transform, transform: transform }); | ||
}, [progress, maxRotation, propSvgStyle]); | ||
@@ -59,3 +59,3 @@ var circleStyle = react_1.useMemo(function () { | ||
} | ||
return __assign({}, propCircleStyle, { strokeDashoffset: dashoffset - dashoffset * progress }); | ||
return __assign(__assign({}, propCircleStyle), { strokeDashoffset: dashoffset - dashoffset * progress }); | ||
}, [progress, propCircleStyle, dashoffset]); | ||
@@ -62,0 +62,0 @@ var determinate = typeof progress === "number"; |
@@ -46,3 +46,3 @@ "use strict"; | ||
} | ||
return __assign({}, propStyle, { height: verticalHeight }); | ||
return __assign(__assign({}, propStyle), { height: verticalHeight }); | ||
}, [propStyle, vertical, verticalHeight]); | ||
@@ -56,3 +56,3 @@ var progress = getProgress_1.default(min, max, value); | ||
var key = vertical ? "height" : "width"; | ||
return __assign({}, propBarStyle, (_a = {}, _a[key] = progress * 100 + "%", _a)); | ||
return __assign(__assign({}, propBarStyle), (_a = {}, _a[key] = progress * 100 + "%", _a)); | ||
}, [progress, propBarStyle, vertical]); | ||
@@ -59,0 +59,0 @@ var determinate = typeof progress === "number"; |
{ | ||
"name": "@react-md/progress", | ||
"version": "2.0.0-alpha.10", | ||
"version": "2.0.0-alpha.11", | ||
"description": "Create horizontal, vertical, and circular progress indicators", | ||
@@ -38,5 +38,5 @@ "scripts": { | ||
"dependencies": { | ||
"@react-md/theme": "^2.0.0-alpha.10", | ||
"@react-md/transition": "^2.0.0-alpha.10", | ||
"@react-md/utils": "^2.0.0-alpha.10", | ||
"@react-md/theme": "^2.0.0-alpha.11", | ||
"@react-md/transition": "^2.0.0-alpha.11", | ||
"@react-md/utils": "^2.0.0-alpha.11", | ||
"classnames": "^2.2.6" | ||
@@ -53,3 +53,3 @@ }, | ||
}, | ||
"gitHead": "d42497f9e2e5c6e7f37774e140a5bf80c644081d" | ||
"gitHead": "740017d534dece692a4520df98de74df4d2e55c7" | ||
} |
@@ -31,4 +31,2 @@ # @react-md/progress | ||
<!-- INCLUDING_STYLES --> | ||
## Usage | ||
@@ -35,0 +33,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
457583
60
89