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 2.0.9 to 2.0.10

LICENSE

0

dist/customIcon/CustomIcon.d.ts

@@ -0,0 +0,0 @@ import React from 'react';

2

dist/customIcon/CustomIcon.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; }"use strict";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.CustomIcon =({children:n,className:r,color:t,colorHex:c,onClick:s,size:o,styles:e})=>_react2.default.createElement(a,{onClick:s,className:r,css:{..._optionalChain([e, 'optionalAccess', _ => _.container]),svg:{width:o,height:o,color:(t?`$${t}`:void 0)||c,..._optionalChain([e, 'optionalAccess', _2 => _2.svg])}}},n);exports.CustomIcon = 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"}),C= exports.CustomIcon =({children:n,className:r,color:t,colorHex:c,onClick:s,size:o,styles:e})=>_react2.default.createElement(a,{onClick:s,className:r,css:{..._optionalChain([e, 'optionalAccess', _ => _.container]),svg:{width:o,height:o,color:(t?`$${t}`:void 0)||c,..._optionalChain([e, 'optionalAccess', _2 => _2.svg])}}},n);exports.CustomIcon = C;
//# sourceMappingURL=CustomIcon.js.map

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }"use strict";var _CustomIconjs = require('./CustomIcon.js'); _createStarExport(_CustomIconjs);
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _CustomIconjs = require('./CustomIcon.js'); _createStarExport(_CustomIconjs);
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ import React from 'react';

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use strict";var _react = require('@iconify/react');var _react3 = require('react'); var _react4 = _interopRequireDefault(_react3);var _customIcon = require('../customIcon');const s=({name:r,...n})=>_react4.default.createElement(_customIcon.CustomIcon,{...n},_react4.default.createElement(_react.Icon,{icon:r}));exports.IconByName = s;
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _react = require('@iconify/react');var _react3 = require('react'); var _react4 = _interopRequireDefault(_react3);var _customIcon = require('../customIcon');const s=({name:r,...n})=>_react4.default.createElement(_customIcon.CustomIcon,{...n},_react4.default.createElement(_react.Icon,{icon:r}));exports.IconByName = s;
//# sourceMappingURL=IconByName.js.map

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }"use strict";var _IconByNamejs = require('./IconByName.js'); _createStarExport(_IconByNamejs);
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _IconByNamejs = require('./IconByName.js'); _createStarExport(_IconByNamejs);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }"use strict";var _indexjs = require('./customIcon/index.js'); _createStarExport(_indexjs);var _indexjs3 = require('./iconByName/index.js'); _createStarExport(_indexjs3);var _typesjs = require('./types.js'); _createStarExport(_typesjs);
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }var _indexjs = require('./customIcon/index.js'); _createStarExport(_indexjs);var _indexjs3 = require('./iconByName/index.js'); _createStarExport(_indexjs3);var _typesjs = require('./types.js'); _createStarExport(_typesjs);
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ import { CSS, ColorsType } from '@pikas-ui/styles';

@@ -1,2 +0,1 @@

"use strict";"use strict";
//# sourceMappingURL=types.js.map
"use strict";//# sourceMappingURL=types.js.map
{
"name": "@pikas-ui/icons",
"version": "2.0.9",
"version": "2.0.10",
"private": false,

@@ -13,9 +13,2 @@ "description": "",

],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"lint": "cross-env TIMING=1 eslint src --fix",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"repository": {

@@ -35,4 +28,4 @@ "type": "git",

"@iconify/react": "^3.2.2",
"@pikas-ui/styles": "2.1.7",
"iconify-icon": "^0.0.6",
"@pikas-ui/styles": "2.2.0",
"iconify-icon": "1.0.0-beta.2",
"react": "^18.2.0",

@@ -42,12 +35,19 @@ "react-dom": "^18.2.0"

"devDependencies": {
"@pikas-ui/config": "workspace:*",
"@pikas-ui/tsconfig": "workspace:*",
"@types/node": "^18.0.0",
"@types/react": "^18.0.10",
"@types/react-dom": "^18.0.5",
"eslint": "^8.18.0",
"tsup": "^6.0.1",
"@pikas-ui/config": "0.0.0",
"@pikas-ui/tsconfig": "0.0.0",
"@types/node": "^18.0.3",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"eslint": "^8.19.0",
"tsup": "^6.1.3",
"typescript": "4.7.4"
},
"node": "12.20.0 || 14.13.1 || >=16.0.0"
}
"node": "12.20.0 || 14.13.1 || >=16.0.0",
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"lint": "cross-env TIMING=1 eslint src --fix",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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