@pikas-ui/icons
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -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 }; } 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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
12909
63
2
0
+ Added@iconify/types@2.0.0(transitive)
+ Added@pikas-ui/styles@2.2.0(transitive)
+ Addediconify-icon@1.0.0-beta.2(transitive)
- Removed@iconify/types@1.1.0(transitive)
- Removed@pikas-ui/styles@2.1.7(transitive)
- Removediconify-icon@0.0.6(transitive)
Updated@pikas-ui/styles@2.2.0
Updatediconify-icon@1.0.0-beta.2