{"_id":"0xshm-uikit-v2","name":"0xshm-uikit-v2","dist-tags":{"latest":"0.10.0"},"versions":{"0.10.0":{"name":"0xshm-uikit-v2","version":"0.10.0","description":"Set of UI components for pancake projects","main":"dist/index.cjs.js","module":"dist/index.esm.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-uikit.git"},"license":"MIT","scripts":{"build":"rm -rf ./dist && rollup -c && tsc -d --emitDeclarationOnly --declarationDir dist","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","format":"prettier --write 'src/**/*.{js,jsx,ts,tsx}'","storybook":"start-storybook -p 6006","build-storybook":"build-storybook","test":"jest","release":"yarn build && np"},"husky":{"hooks":{"pre-commit":"yarn format","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"jest":{"setupFilesAfterEnv":["<rootDir>/src/setupTests.js"]},"devDependencies":{"@babel/core":"^7.12.1","@babel/preset-env":"^7.12.1","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@pancakeswap-libs/eslint-config-pancake":"0.1.0","@rollup/plugin-typescript":"^8.1.1","@storybook/addon-a11y":"^6.1.16","@storybook/addon-actions":"^6.1.16","@storybook/addon-essentials":"^6.1.16","@storybook/addon-links":"^6.1.16","@storybook/react":"^6.1.16","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.5","@types/react":"^17.0.1","@types/react-router-dom":"^5.1.6","@types/react-transition-group":"^4.4.0","@types/styled-components":"^5.1.4","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","babel-loader":"^8.1.0","babel-plugin-styled-components":"^1.11.1","eslint":"^7.19.0","husky":"^4.3.0","jest":"^26.6.3","jest-styled-components":"^7.0.3","np":"^7.2.0","prettier":"^2.1.2","react":"^17.0.1","react-dom":"^17.0.1","react-is":"^17.0.1","react-router-dom":"^5.2.0","rollup":"^2.38.4","styled-components":"^5.2.0","themeprovider-storybook":"^1.6.4","ts-jest":"^26.5.0","tslib":"^2.0.3","typescript":"^4.0.3"},"peerDependencies":{"react":"^17.0.1","react-dom":"^16.14.0","react-router-dom":"^5.2.0","styled-components":"^5.2.0"},"dependencies":{"@types/lodash":"^4.14.162","@types/styled-system":"^5.1.10","lodash":"^4.17.20","react-transition-group":"^4.4.1","styled-system":"^5.1.5"},"gitHead":"f2edf8f686dc5a5eeef536fe6e7b53c7832088e8","bugs":{"url":"https://github.com/pancakeswap/pancake-uikit/issues"},"homepage":"https://github.com/pancakeswap/pancake-uikit#readme","_id":"0xshm-uikit-v2@0.10.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-oZx2wxD4ULeXp5JXTIH+UyP9sh53kNxRv1gpu/ellK2AQ0n5lVlnQNJA5QT/FqfewePblhtZUcBlUgzACYJUXQ==","shasum":"0a5ed00979c0e158eff98d93d1ec5142521c0e03","tarball":"https://registry.npmjs.org/0xshm-uikit-v2/-/0xshm-uikit-v2-0.10.0.tgz","fileCount":219,"unpackedSize":734514,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHwtAu+d5i/Go4iE5VSPFj3kuBTY9vsrZH2eWHLDism0CIQCWFj5Pc/Ut9wkisDeKc/0TJ1xS/M6XPG8VFp0UTaKAUA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil05rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTEA/9HeEtSr8a1h/KlKYzvET9MAdmtgV/B0BMEw0Tnk/fpi+sRz/K\r\n8XIqysfyQOUZWqSLVfOAqx43zVZGlfxONaFieGx8f8Exv0UpoVTuTP6nQIwj\r\nwQ959PPGT1Gqp7H+89XP0l4hLWhLRmLs7jDuNCo8AZY/fdYzsR+RW+xtbxxJ\r\n1bGK8lM90JJR9s0yDDxYfDdNEjSkp4FxTSQosVuZvFpkpVBrJQgg+gfx4ruz\r\nitZjla1HrxD38b7TSZJ/RDZeMCxNXBpuifcccgzMgiQNS8dNdzN9HewkHHP6\r\nTDBApiHiwuc6mIVAr/Wj6FqKXifJt/DYKr4ES1dpXDYwqRSZi/yJhMMZunlt\r\nlfCT8Lldj5UF3dlKZGE8DdjZ/p2B0z5WopDqAdgGnqdi3QremzhO2CGpExor\r\nexLXsitvZNeLl5TIUeQ/DOw6FDNPx536ij8MAKFGj4dOmS6C1JIv61vUxYl5\r\nFGIE3CKt3c60OGPFcMFRRRsZa9on8Ll+UOQQMWPsp6SqA+O8ddlT+Evj8yv6\r\nIjKnhkp007nDDCn5MrK6ffOo/tco+iw8KFWjh+XCP5SoA8sVKqTPMfFm8Mgz\r\nhBr3tnyh989xtxVSBNV20K0zMl7tWXiFSnf3CQ7ygXPXNEdtnZUK0GEbVwce\r\nb/v45vZ5xJCzt9SiyUJMjZJPa7jdxpZoaE4=\r\n=hw/9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"saurabhburade","email":"sburade3@gmail.com"},"directories":{},"maintainers":[{"name":"saurabhburade","email":"sburade3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0xshm-uikit-v2_0.10.0_1654083178848_0.31204298061362956"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-01T11:32:58.848Z","0.10.0":"2022-06-01T11:32:59.114Z","modified":"2022-06-01T11:32:59.317Z"},"maintainers":[{"name":"saurabhburade","email":"sburade3@gmail.com"}],"description":"Set of UI components for pancake projects","homepage":"https://github.com/pancakeswap/pancake-uikit#readme","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-uikit.git"},"bugs":{"url":"https://github.com/pancakeswap/pancake-uikit/issues"},"license":"MIT","readme":"# 🥞 Pancake UIkit\n\n[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)\n\nPancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.\n\n## Install\n\n`yarn add @pancakeswap-libs/uikit`\n\n## Setup\n\n### Theme\n\nBefore using Pancake UIkit, you need to provide the theme file to styled-component.\n\n```\nimport { ThemeProvider } from 'styled-components'\nimport { light, dark } from '@pancakeswap-libs/uikit'\n...\n<ThemeProvider theme={isDark}>...</ThemeProvider>\n```\n\n### Reset\n\nA reset CSS is available as a global styled component.\n\n```\nimport { ResetCSS } from '@pancakeswap-libs/uikit'\n...\n<ResetCSS />\n```\n\n### Types\n\nThis project is built with Typescript and export all the relevant types.\n\n## How to use the UIkit\n\nIf you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)\n","readmeFilename":"README.md"}