@pikas-ui/icons
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _styles = require('@pikas-ui/styles');var _react = require('react'); var _react2 = _interopRequireDefault(_react);const a=_styles.styled.call(void 0, "div",{display:"flex",alignItems:"center",justifyContent:"center"}),C= exports.Icon =({children:i,className:s,color:e,onClick:o,size:t,styles:n})=>_react2.default.createElement(a,{onClick:o,className:s,css:{..._optionalChain([n, 'optionalAccess', _ => _.container]),svg:{fill:e?_optionalChain([e, 'optionalAccess', _2 => _2.includes, 'call', _3 => _3("#")])?e:`$${e}`:void 0,width:t,height:t,..._optionalChain([n, 'optionalAccess', _4 => _4.svg])}}},i);exports.Icon = C; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _styles = require('@pikas-ui/styles');var _react = require('react'); var _react2 = _interopRequireDefault(_react);const a=_styles.styled.call(void 0, "div",{display:"flex",alignItems:"center",justifyContent:"center"}),m= exports.Icon =({children:i,className:s,color:e,onClick:o,size:t,styles:n})=>_react2.default.createElement(a,{onClick:o,className:s,css:{..._optionalChain([n, 'optionalAccess', _ => _.container]),svg:{fill:e?_optionalChain([e, 'optionalAccess', _2 => _2.includes, 'call', _3 => _3("#")])?e:`$${e}`:void 0,width:t,height:t,..._optionalChain([n, 'optionalAccess', _4 => _4.svg])}}},i);exports.Icon = m; | ||
//# sourceMappingURL=Icon.js.map |
{ | ||
"name": "@pikas-ui/icons", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"private": false, | ||
@@ -33,3 +33,3 @@ "description": "", | ||
"dependencies": { | ||
"@pikas-ui/styles": "1.0.12", | ||
"@pikas-ui/styles": "1.0.13", | ||
"react": "^18.1.0", | ||
@@ -45,6 +45,6 @@ "react-dom": "^18.1.0" | ||
"eslint": "^8.16.0", | ||
"tsup": "^5.12.8", | ||
"typescript": "4.6.4" | ||
"tsup": "^6.0.1", | ||
"typescript": "4.7.2" | ||
}, | ||
"node": "12.20.0 || 14.13.1 || >=16.0.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
7305
+ Added@pikas-ui/styles@1.0.13(transitive)
- Removed@pikas-ui/styles@1.0.12(transitive)
Updated@pikas-ui/styles@1.0.13