@khanacademy/wonder-blocks-icon
Advanced tools
Comparing version 1.0.11 to 1.0.12
// @flow | ||
import React from "react"; | ||
import * as React from "react"; | ||
import {StyleSheet} from "aphrodite"; | ||
@@ -38,3 +38,3 @@ | ||
const StyledSVG = addStyle("svg"); | ||
const StyledSVG = addStyle<"svg">("svg"); | ||
@@ -41,0 +41,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import { createElement, PureComponent } from 'react'; | ||
import { StyleSheet } from 'aphrodite'; | ||
@@ -218,3 +218,3 @@ import { addStyle } from '@khanacademy/wonder-blocks-core'; | ||
var viewboxPixelSize = viewportPixelsForSize(assetSize); | ||
return React.createElement(StyledSVG, { | ||
return createElement(StyledSVG, { | ||
style: [styles.svg, style], | ||
@@ -225,3 +225,3 @@ width: pixelSize, | ||
viewBox: "0 0 ".concat(viewboxPixelSize, " ").concat(viewboxPixelSize) | ||
}, React.createElement("path", { | ||
}, createElement("path", { | ||
fill: color, | ||
@@ -234,3 +234,3 @@ d: path | ||
return Icon; | ||
}(React.PureComponent); | ||
}(PureComponent); | ||
@@ -237,0 +237,0 @@ _defineProperty(Icon, "defaultProps", { |
@@ -115,3 +115,2 @@ module.exports = | ||
var external_react_ = __webpack_require__(0); | ||
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_); | ||
@@ -278,3 +277,3 @@ // EXTERNAL MODULE: external "aphrodite" | ||
var viewboxPixelSize = viewportPixelsForSize(assetSize); | ||
return external_react_default.a.createElement(StyledSVG, { | ||
return external_react_["createElement"](StyledSVG, { | ||
style: [styles.svg, style], | ||
@@ -285,3 +284,3 @@ width: pixelSize, | ||
viewBox: "0 0 ".concat(viewboxPixelSize, " ").concat(viewboxPixelSize) | ||
}, external_react_default.a.createElement("path", { | ||
}, external_react_["createElement"]("path", { | ||
fill: color, | ||
@@ -294,3 +293,3 @@ d: path | ||
return Icon; | ||
}(external_react_default.a.PureComponent); | ||
}(external_react_["PureComponent"]); | ||
@@ -297,0 +296,0 @@ _defineProperty(icon_Icon, "defaultProps", { |
{ | ||
"name": "@khanacademy/wonder-blocks-icon", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"design": "v1", | ||
@@ -18,6 +18,6 @@ "publishConfig": { | ||
"dependencies": { | ||
"@khanacademy/wonder-blocks-core": "^1.2.6" | ||
"@khanacademy/wonder-blocks-core": "^1.2.7" | ||
}, | ||
"devDependencies": { | ||
"@khanacademy/wonder-blocks-color": "^1.0.13", | ||
"@khanacademy/wonder-blocks-color": "^1.0.14", | ||
"wb-dev-build-settings": "^0.0.2" | ||
@@ -24,0 +24,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
92128
1439