react-circular-progressbar
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -0,1 +1,5 @@ | ||
## 2.0.2 | ||
- Import react with "\* as React" to prevent the need to use allowSyntheticDefaultExports/esModuleInterop in consumers (issue #110) #112 | ||
## 2.0.1 | ||
@@ -2,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
import React__default, { createElement, Component } from 'react'; | ||
import { createElement, Component } from 'react'; | ||
@@ -61,3 +61,3 @@ /*! ***************************************************************************** | ||
var className = _a.className, counterClockwise = _a.counterClockwise, dashRatio = _a.dashRatio, pathRadius = _a.pathRadius, strokeWidth = _a.strokeWidth, style = _a.style; | ||
return (React__default.createElement("path", { className: className, style: Object.assign({}, style, getDashStyle({ pathRadius: pathRadius, dashRatio: dashRatio, counterClockwise: counterClockwise })), d: getPathDescription({ | ||
return (createElement("path", { className: className, style: Object.assign({}, style, getDashStyle({ pathRadius: pathRadius, dashRatio: dashRatio, counterClockwise: counterClockwise })), d: getPathDescription({ | ||
pathRadius: pathRadius, | ||
@@ -64,0 +64,0 @@ counterClockwise: counterClockwise, |
@@ -5,6 +5,3 @@ 'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var React = require('react'); | ||
var React__default = _interopDefault(React); | ||
@@ -69,3 +66,3 @@ /*! ***************************************************************************** | ||
var className = _a.className, counterClockwise = _a.counterClockwise, dashRatio = _a.dashRatio, pathRadius = _a.pathRadius, strokeWidth = _a.strokeWidth, style = _a.style; | ||
return (React__default.createElement("path", { className: className, style: Object.assign({}, style, getDashStyle({ pathRadius: pathRadius, dashRatio: dashRatio, counterClockwise: counterClockwise })), d: getPathDescription({ | ||
return (React.createElement("path", { className: className, style: Object.assign({}, style, getDashStyle({ pathRadius: pathRadius, dashRatio: dashRatio, counterClockwise: counterClockwise })), d: getPathDescription({ | ||
pathRadius: pathRadius, | ||
@@ -72,0 +69,0 @@ counterClockwise: counterClockwise, |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
export declare type CircularProgressbarStyles = { | ||
@@ -3,0 +3,0 @@ root?: React.CSSProperties; |
{ | ||
"name": "react-circular-progressbar", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A circular progress indicator component", | ||
@@ -5,0 +5,0 @@ "author": "Kevin Qi <iqnivek@gmail.com>", |
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
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
71999
525