@khanacademy/wonder-blocks-progress-spinner
Advanced tools
Comparing version 1.1.28 to 1.1.29
@@ -1,4 +0,4 @@ | ||
import { Component, createElement } from 'react'; | ||
import * as React from 'react'; | ||
import { StyleSheet } from 'aphrodite'; | ||
import { View, addStyle } from '@khanacademy/wonder-blocks-core'; | ||
import { addStyle, View } from '@khanacademy/wonder-blocks-core'; | ||
import Color from '@khanacademy/wonder-blocks-color'; | ||
@@ -28,3 +28,3 @@ | ||
*/ | ||
class CircularSpinner extends Component { | ||
class CircularSpinner extends React.Component { | ||
render() { | ||
@@ -39,3 +39,3 @@ const { | ||
const color = light ? colors.light : colors.dark; | ||
const svg = /*#__PURE__*/createElement("svg", { | ||
const svg = /*#__PURE__*/React.createElement("svg", { | ||
xmlns: "http://www.w3.org/2000/svg", | ||
@@ -45,3 +45,3 @@ width: height, | ||
viewBox: `0 0 ${height} ${height}` | ||
}, /*#__PURE__*/createElement(StyledPath, { | ||
}, /*#__PURE__*/React.createElement(StyledPath, { | ||
style: [styles.loadingSpinner, { | ||
@@ -53,3 +53,3 @@ fill: color | ||
})); | ||
return /*#__PURE__*/createElement(View, { | ||
return /*#__PURE__*/React.createElement(View, { | ||
style: [styles.spinnerContainer, style] | ||
@@ -56,0 +56,0 @@ }, svg); |
{ | ||
"name": "@khanacademy/wonder-blocks-progress-spinner", | ||
"version": "1.1.28", | ||
"version": "1.1.29", | ||
"design": "v1", | ||
@@ -20,3 +20,3 @@ "publishConfig": { | ||
"@khanacademy/wonder-blocks-color": "^1.1.20", | ||
"@khanacademy/wonder-blocks-core": "^4.0.0", | ||
"@khanacademy/wonder-blocks-core": "^4.2.1", | ||
"@khanacademy/wonder-blocks-spacing": "^3.0.5" | ||
@@ -29,5 +29,4 @@ }, | ||
"devDependencies": { | ||
"wb-dev-build-settings": "^0.2.0" | ||
}, | ||
"gitHead": "9ebea88533e702011165072f090a377e02fa3f0f" | ||
"wb-dev-build-settings": "^0.3.0" | ||
} | ||
} |
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
51118