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

@pikas-ui/icons

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pikas-ui/icons - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

2

dist/Icon.js

@@ -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"
}
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