@khanacademy/wonder-blocks-icon
Advanced tools
Comparing version 2.0.5 to 2.0.6
# @khanacademy/wonder-blocks-icon | ||
## 2.0.6 | ||
### Patch Changes | ||
- c20f48f3: Don't transpile classes when building bundles | ||
- Updated dependencies [c20f48f3] | ||
- @khanacademy/wonder-blocks-core@5.0.4 | ||
## 2.0.5 | ||
@@ -4,0 +12,0 @@ |
@@ -33,16 +33,2 @@ import * as React from 'react'; | ||
function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
return o; | ||
}; | ||
return _setPrototypeOf(o, p); | ||
} | ||
function _inheritsLoose(subClass, superClass) { | ||
subClass.prototype = Object.create(superClass.prototype); | ||
subClass.prototype.constructor = subClass; | ||
_setPrototypeOf(subClass, superClass); | ||
} | ||
const viewportPixelsForSize = size => ({ | ||
@@ -83,9 +69,4 @@ small: 16, | ||
const StyledSVG = addStyle("svg"); | ||
let Icon = function (_React$PureComponent) { | ||
_inheritsLoose(Icon, _React$PureComponent); | ||
function Icon() { | ||
return _React$PureComponent.apply(this, arguments) || this; | ||
} | ||
var _proto = Icon.prototype; | ||
_proto.render = function render() { | ||
class Icon extends React.PureComponent { | ||
render() { | ||
const _this$props = this.props, | ||
@@ -116,5 +97,4 @@ { | ||
})); | ||
}; | ||
return Icon; | ||
}(React.PureComponent); | ||
} | ||
} | ||
Icon.defaultProps = { | ||
@@ -121,0 +101,0 @@ color: "currentColor", |
@@ -57,16 +57,2 @@ 'use strict'; | ||
function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
return o; | ||
}; | ||
return _setPrototypeOf(o, p); | ||
} | ||
function _inheritsLoose(subClass, superClass) { | ||
subClass.prototype = Object.create(superClass.prototype); | ||
subClass.prototype.constructor = subClass; | ||
_setPrototypeOf(subClass, superClass); | ||
} | ||
const viewportPixelsForSize = size => ({ | ||
@@ -107,9 +93,4 @@ small: 16, | ||
const StyledSVG = wonderBlocksCore.addStyle("svg"); | ||
let Icon = function (_React$PureComponent) { | ||
_inheritsLoose(Icon, _React$PureComponent); | ||
function Icon() { | ||
return _React$PureComponent.apply(this, arguments) || this; | ||
} | ||
var _proto = Icon.prototype; | ||
_proto.render = function render() { | ||
class Icon extends React__namespace.PureComponent { | ||
render() { | ||
const _this$props = this.props, | ||
@@ -140,5 +121,4 @@ { | ||
})); | ||
}; | ||
return Icon; | ||
}(React__namespace.PureComponent); | ||
} | ||
} | ||
Icon.defaultProps = { | ||
@@ -145,0 +125,0 @@ color: "currentColor", |
{ | ||
"name": "@khanacademy/wonder-blocks-icon", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"design": "v1", | ||
@@ -19,7 +19,7 @@ "publishConfig": { | ||
"@babel/runtime": "^7.18.6", | ||
"@khanacademy/wonder-blocks-core": "^5.0.3" | ||
"@khanacademy/wonder-blocks-core": "^5.0.4" | ||
}, | ||
"devDependencies": { | ||
"@khanacademy/wonder-stuff-core": "^1.2.2", | ||
"wb-dev-build-settings": "^0.9.4" | ||
"wb-dev-build-settings": "^0.9.5" | ||
}, | ||
@@ -26,0 +26,0 @@ "peerDependencies": { |
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
101059
1164