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.1.9 to 2.1.10

dist/customIcon/CustomIcon.mjs

2

dist/customIcon/CustomIcon.js

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

import{jsx as a}from"react/jsx-runtime";import{styled as i}from"@pikas-ui/styles";const p=i("div",{display:"flex",alignItems:"center",justifyContent:"center"}),f=({children:n,className:r,color:o,colorHex:c,onClick:s,size:t,styles:e})=>a(p,{onClick:s,className:r,css:{...e?.container,svg:{width:t,height:t,color:(o?`$${o}`:void 0)||c,...e?.svg}},children:n});export{f as CustomIcon};
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');const p=_styles.styled.call(void 0, "div",{display:"flex",alignItems:"center",justifyContent:"center"}),f= exports.CustomIcon =({children:n,className:r,color:o,colorHex:c,onClick:s,size:t,styles:e})=>_jsxruntime.jsx.call(void 0, p,{onClick:s,className:r,css:{..._optionalChain([e, 'optionalAccess', _ => _.container]),svg:{width:t,height:t,color:(o?`$${o}`:void 0)||c,..._optionalChain([e, 'optionalAccess', _2 => _2.svg])}},children:n});exports.CustomIcon = f;
//# sourceMappingURL=CustomIcon.js.map

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

export*from"./CustomIcon.js";
"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

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

import{jsx as o}from"react/jsx-runtime";import{Icon as t}from"@iconify/react";import{CustomIcon as c}from"../customIcon";const I=({name:r,...n})=>o(c,{...n,children:o(t,{icon:r})});export{I as IconByName};
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');var _react = require('@iconify/react');var _customIcon = require('../customIcon');const I=({name:r,...n})=>_jsxruntime.jsx.call(void 0, _customIcon.CustomIcon,{...n,children:_jsxruntime.jsx.call(void 0, _react.Icon,{icon:r})});exports.IconByName = I;
//# sourceMappingURL=IconByName.js.map

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

export*from"./IconByName.js";
"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 @@

export*from"./customIcon/index.js";export*from"./iconByName/index.js";export*from"./types.js";
"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

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

//# sourceMappingURL=types.js.map
"use strict";//# sourceMappingURL=types.js.map
{
"name": "@pikas-ui/icons",
"version": "2.1.9",
"version": "2.1.10",
"private": false,
"description": "",
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./dist/*": {
"import": "./dist/*.js",
"require": "./dist/*.cjs",
"import": "./dist/*.mjs",
"require": "./dist/*.js",
"types": "./dist/*.d.ts"

@@ -38,3 +37,3 @@ }

"@iconify/react": "^3.2.2",
"@pikas-ui/styles": "2.3.9",
"@pikas-ui/styles": "2.3.10",
"iconify-icon": "1.0.0-beta.3",

@@ -41,0 +40,0 @@ "react": "^18.2.0",

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