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

funky-library

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

funky-library - npm Package Compare versions

Comparing version 1.2.10 to 2.0.0

dist/esm/types/components/Button/Button.d.ts

4

dist/esm/index.js

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

export * from "./components";
//# sourceMappingURL=index.js.map
import"react";import n from"styled-components";var r,e,o;"function"==typeof SuppressedError&&SuppressedError,n.button(o||(r=["\n border: 0;\n line-height: 1;\n font-size: 15px;\n cursor: pointer;\n //font-weight: 700;\n font-weight: bold;\n border-radius: 3px;\n display: inline-block;\n padding: ",";\n color: ",";\n background-color: ",";\n opacity: ",";\n &:hover {\n background-color: ",";\n }\n &:active {\n border: solid 2px #1b116e;\n padding: ",";\n }\n"],e=["\n border: 0;\n line-height: 1;\n font-size: 15px;\n cursor: pointer;\n //font-weight: 700;\n font-weight: bold;\n border-radius: 3px;\n display: inline-block;\n padding: ",";\n color: ",";\n background-color: ",";\n opacity: ",";\n &:hover {\n background-color: ",";\n }\n &:active {\n border: solid 2px #1b116e;\n padding: ",";\n }\n"],Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,o=r),(function(n){return"small"===n.size?"7px 25px 8px":"medium"===n.size?"9px 30px 11px":"14px 30px 16px"}),(function(n){return n.primary?"#1b116e":"#ffffff"}),(function(n){return n.primary?"#6bedb5":"#1b116e"}),(function(n){return n.disabled?.5:1}),(function(n){return n.primary?"#55bd90":"#6bedb5"}),(function(n){return"small"===n.size?"5px 23px 6px":"medium"===n.size?"7px 28px 9px":"12px 28px 14px"}));
//# sourceMappingURL=index.js.map
{
"name": "funky-library",
"version": "1.2.10",
"description": "Cyberpunk style of component library",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist/ && npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module CommonJS --outDir dist/cjs",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o docs/",
"build-storybook-doc": "rm -rf docs/ && build-storybook --docs -o docs/",
"publish": "npm version patch"
},
"author": "LZ",
"license": "MIT",
"keywords": [
"Cyberpunk"
],
"repository": "https://github.com/LastStranger/funky-library",
"devDependencies": {
"@babel/core": "^7.16.12",
"@storybook/addon-actions": "^6.4.14",
"@storybook/addon-essentials": "^6.4.14",
"@storybook/addon-links": "^6.4.14",
"@storybook/react": "^6.4.14",
"@types/node": "^17.0.10",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/styled-components": "^5.1.20",
"babel-loader": "^8.2.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.5.4"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"styled-components": "^5.3.3"
}
"name": "funky-library",
"version": "2.0.0",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"files": ["dist"],
"type": "module",
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"build": "rollup -c",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"styled-components": "^6.0.1"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@storybook/addon-actions": "^7.0.24",
"@storybook/addon-essentials": "^7.0.24",
"@storybook/addon-links": "^7.0.24",
"@storybook/addon-mdx-gfm": "^7.0.24",
"@storybook/react": "^7.0.24",
"@storybook/react-webpack5": "^7.0.24",
"@types/react": "^18.2.14",
"@types/styled-components": "^5.1.26",
"babel-loader": "^8.3.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.26.0",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"storybook": "^7.0.24",
"styled-components": "^6.0.1",
"typescript": "^5.1.6"
},
"peerDependencies": {
"react": "^18.2.0"
}
}

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