@khanacademy/wonder-blocks-progress-spinner
Advanced tools
Comparing version 1.1.40 to 1.1.41
# @khanacademy/wonder-blocks-progress-spinner | ||
## 1.1.41 | ||
### Patch Changes | ||
- d816af08: Update build and test configs use TypeScript | ||
- 3891f544: Update babel config to include plugins that Storybook needed | ||
- 0d28bb1c: Configured TypeScript | ||
- 3d05f764: Fix HOCs and other type errors | ||
- c2ec4902: Update eslint configuration, fix lint | ||
- 2983c05b: Include 'types' field in package.json | ||
- 77ff6a66: Generate Flow types from TypeScript types | ||
- ec8d4b7f: Fix miscellaneous TypeScript errors | ||
- Updated dependencies [d816af08] | ||
- Updated dependencies [3891f544] | ||
- Updated dependencies [0d28bb1c] | ||
- Updated dependencies [873f4a14] | ||
- Updated dependencies [3d05f764] | ||
- Updated dependencies [c2ec4902] | ||
- Updated dependencies [2983c05b] | ||
- Updated dependencies [77ff6a66] | ||
- Updated dependencies [ec8d4b7f] | ||
- @khanacademy/wonder-blocks-color@1.2.2 | ||
- @khanacademy/wonder-blocks-core@4.8.0 | ||
## 1.1.40 | ||
@@ -4,0 +28,0 @@ |
@@ -6,2 +6,16 @@ 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 heights = { | ||
@@ -24,4 +38,9 @@ xsmall: 16, | ||
const StyledPath = addStyle("path"); | ||
class CircularSpinner extends React.Component { | ||
render() { | ||
let CircularSpinner = function (_React$Component) { | ||
_inheritsLoose(CircularSpinner, _React$Component); | ||
function CircularSpinner() { | ||
return _React$Component.apply(this, arguments) || this; | ||
} | ||
var _proto = CircularSpinner.prototype; | ||
_proto.render = function render() { | ||
const { | ||
@@ -52,5 +71,5 @@ size, | ||
}, svg); | ||
} | ||
} | ||
}; | ||
return CircularSpinner; | ||
}(React.Component); | ||
CircularSpinner.defaultProps = { | ||
@@ -57,0 +76,0 @@ size: "large", |
@@ -13,17 +13,17 @@ 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { return e[k]; } | ||
}); | ||
} | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { return e[k]; } | ||
}); | ||
} | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
} | ||
}); | ||
} | ||
n["default"] = e; | ||
return Object.freeze(n); | ||
} | ||
@@ -34,2 +34,16 @@ | ||
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 heights = { | ||
@@ -52,4 +66,9 @@ xsmall: 16, | ||
const StyledPath = wonderBlocksCore.addStyle("path"); | ||
class CircularSpinner extends React__namespace.Component { | ||
render() { | ||
let CircularSpinner = function (_React$Component) { | ||
_inheritsLoose(CircularSpinner, _React$Component); | ||
function CircularSpinner() { | ||
return _React$Component.apply(this, arguments) || this; | ||
} | ||
var _proto = CircularSpinner.prototype; | ||
_proto.render = function render() { | ||
const { | ||
@@ -80,5 +99,5 @@ size, | ||
}, svg); | ||
} | ||
} | ||
}; | ||
return CircularSpinner; | ||
}(React__namespace.Component); | ||
CircularSpinner.defaultProps = { | ||
@@ -85,0 +104,0 @@ size: "large", |
{ | ||
"name": "@khanacademy/wonder-blocks-progress-spinner", | ||
"version": "1.1.40", | ||
"version": "1.1.41", | ||
"design": "v1", | ||
@@ -11,3 +11,3 @@ "publishConfig": { | ||
"module": "dist/es/index.js", | ||
"source": "src/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
@@ -20,4 +20,4 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"@babel/runtime": "^7.18.6", | ||
"@khanacademy/wonder-blocks-color": "^1.2.1", | ||
"@khanacademy/wonder-blocks-core": "^4.7.0" | ||
"@khanacademy/wonder-blocks-color": "^1.2.2", | ||
"@khanacademy/wonder-blocks-core": "^4.8.0" | ||
}, | ||
@@ -29,4 +29,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"wb-dev-build-settings": "^0.7.1" | ||
"wb-dev-build-settings": "^0.7.2" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
57946
12
386
1