Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/wonder-blocks-icon

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-icon - npm Package Compare versions

Comparing version 1.2.29 to 1.2.30

src/components/__docs__/icon.stories.js

7

CHANGELOG.md
# @khanacademy/wonder-blocks-icon
## 1.2.30
### Patch Changes
- Updated dependencies [6ee20af9]
- @khanacademy/wonder-blocks-core@4.4.0
## 1.2.29

@@ -4,0 +11,0 @@

62

dist/index.js

@@ -85,3 +85,3 @@ module.exports =

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 6);
/******/ return __webpack_require__(__webpack_require__.s = 7);
/******/ })

@@ -244,10 +244,11 @@ /************************************************************************/

/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Icon; });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(aphrodite__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _util_icon_util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1);
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5);
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(aphrodite__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _util_icon_util_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);

@@ -258,3 +259,3 @@

const StyledSVG = Object(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_2__["addStyle"])("svg");
const StyledSVG = Object(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3__["addStyle"])("svg");
/**

@@ -296,3 +297,3 @@ * An Icon displays a small informational or decorative image as an SVG.

class Icon extends react__WEBPACK_IMPORTED_MODULE_0__["PureComponent"] {
class Icon extends react__WEBPACK_IMPORTED_MODULE_1__["PureComponent"] {
render() {

@@ -310,6 +311,6 @@ const {

path
} = Object(_util_icon_util_js__WEBPACK_IMPORTED_MODULE_3__[/* getPathForIcon */ "a"])(icon, size);
const pixelSize = Object(_util_icon_util_js__WEBPACK_IMPORTED_MODULE_3__[/* viewportPixelsForSize */ "b"])(size);
const viewboxPixelSize = Object(_util_icon_util_js__WEBPACK_IMPORTED_MODULE_3__[/* viewportPixelsForSize */ "b"])(assetSize);
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createElement"](StyledSVG, _extends({}, sharedProps, {
} = Object(_util_icon_util_js__WEBPACK_IMPORTED_MODULE_4__[/* getPathForIcon */ "a"])(icon, size);
const pixelSize = Object(_util_icon_util_js__WEBPACK_IMPORTED_MODULE_4__[/* viewportPixelsForSize */ "b"])(size);
const viewboxPixelSize = Object(_util_icon_util_js__WEBPACK_IMPORTED_MODULE_4__[/* viewportPixelsForSize */ "b"])(assetSize);
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](StyledSVG, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, sharedProps, {
style: [styles.svg, style],

@@ -320,3 +321,3 @@ width: pixelSize,

"data-test-id": testId
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("path", {
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("path", {
fill: color,

@@ -332,3 +333,3 @@ d: path

};
const styles = aphrodite__WEBPACK_IMPORTED_MODULE_1__["StyleSheet"].create({
const styles = aphrodite__WEBPACK_IMPORTED_MODULE_2__["StyleSheet"].create({
svg: {

@@ -346,4 +347,21 @@ display: "inline-block",

module.exports = require("aphrodite");
function _extends() {
module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
return _extends.apply(this, arguments);
}
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),

@@ -353,6 +371,12 @@ /* 5 */

module.exports = require("aphrodite");
/***/ }),
/* 6 */
/***/ (function(module, exports) {
module.exports = require("@khanacademy/wonder-blocks-core");
/***/ }),
/* 6 */
/* 7 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -359,0 +383,0 @@

{
"name": "@khanacademy/wonder-blocks-icon",
"version": "1.2.29",
"version": "1.2.30",
"design": "v1",

@@ -18,4 +18,4 @@ "publishConfig": {

"dependencies": {
"@babel/runtime": "^7.16.3",
"@khanacademy/wonder-blocks-core": "^4.3.2"
"@babel/runtime": "^7.18.6",
"@khanacademy/wonder-blocks-core": "^4.4.0"
},

@@ -22,0 +22,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc