{"_id":"@beaverswap/uikit","_rev":"1-d48778f8d04bdae5f7669ec6df8ad673","name":"@beaverswap/uikit","dist-tags":{"latest":"0.50.1"},"versions":{"0.50.1":{"name":"@beaverswap/uikit","version":"0.50.1","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":"https://github.com/pancakeswap/pancake-toolkit/tree/master/packages/pancake-uikit"},"license":"MIT","scripts":{"start":"yarn storybook","build":"rm -rf ./dist && rollup -c && tsc -d --emitDeclarationOnly --declarationDir dist","lint":"eslint 'src/**/*.{js,jsx,ts,tsx}'","format:check":"prettier --check --loglevel error 'src/**/*.{js,jsx,ts,tsx}'","format:write":"prettier --write 'src/**/*.{js,jsx,ts,tsx}'","storybook":"start-storybook -p 6006","storybook:build":"build-storybook","test":"jest","prepublishOnly":"yarn build"},"jest":{"setupFilesAfterEnv":["<rootDir>/src/setupTests.js"]},"devDependencies":{"@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.5","@types/react-dom":"^17.0.5","jest-styled-components":"^7.0.3","react":"^17.0.1","react-dom":"^17.0.1","react-router-dom":"^5.2.0","styled-components":"^5.2.0"},"peerDependencies":{"react":"^17.0.2","react-dom":"^17.0.2","react-router-dom":"^5.2.0","styled-components":"^5.2.3"},"dependencies":{"@popperjs/core":"^2.9.2","@types/lodash":"^4.14.168","@types/styled-system":"^5.1.10","lodash":"^4.17.20","react-popper":"^2.2.5","styled-system":"^5.1.5"},"publishConfig":{"access":"public"},"_id":"@beaverswap/uikit@0.50.1","dist":{"shasum":"4b60e949d14980ec5325502ac064ab83b3e30574","integrity":"sha512-MTlKRRgQpVvgqeuEIj0xPtlU/ptrX2Hl0uR13Sld3Pvj1RLlJltEjp7GesRhkfg/ySqGO4DO8UVZWAbfHilq2A==","tarball":"https://registry.npmjs.org/@beaverswap/uikit/-/uikit-0.50.1.tgz","fileCount":380,"unpackedSize":1212466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvHgjCRA9TVsSAnZWagAA3NMP/i60/uCxU6h682Tl0yPa\nHKYazRD5kUgd3aXyOiJKMoLIAYdXOg37N7RwPCpj0AzdLpD7dnthlJyvdbUn\nHwT9PAjLcLMcSByE+YXg/g5q5V2csaFTKWT3SX+871aGo9AbH1HMy2pCgdiQ\nTamdrWlTaMkncZa+WOv9IbNnFCK+sufMk+yGnaxC0neK2vCQ8MXAvQr5Zz26\noN2BwZnYxhQVXcwOLqVEkPYNUpDb+lFPPVJlPj/hMSWBK+KJ/720hOkd8TRZ\n7UJNLKh7MZzLap3qIL8S5W4aaRu038gKpsHNZbQ5D5iJQgZdzBdNsTQeEyt0\ntYTAiZoa/cf4TC5Vt2FdcGDaseWJE2qmLcDfcLW5YLF2FNxpQXBd6TtKDix/\njg/De9eovC4THBYbRuDjyHLZnQnC1qiEVmrg8JKbJpfQlr8nvU0R626suZ4c\n2dDO3sKxIHKxrpgR1cjUxN9pJuWA6Ry15u9+fTl18sq1bSMdrqS+pey6A67H\nCPS8kcWMgGTGMJRaEvw0EBEIxhG4cQw7jdQI+0WJ4m5rluDJgDDoNwFDO8JL\njpOnbZsdoD7JuXFCLKortl1cVM5Dp2sHYKKNU5fh7+77ECySYAYIFMI8wq2S\nWnkIywGwDxugWcegl1trWb/H/mH0wcMELvHx5j3JTTbLJejNOhGUibGGsYMj\nfxXu\r\n=IVQn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjP5tZpG42BG+2IRFpXbEwuAqxIURoV4saUVaOj0IDPwIhANljb34JCsOoq+zVPdNP3/9t2TRfCSZnKL3E+h8D2FGf"}]},"_npmUser":{"name":"topdev","email":"riguang102@gmail.com"},"directories":{},"maintainers":[{"name":"topdev","email":"riguang102@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uikit_0.50.1_1639741475686_0.5843798667886828"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-17T11:44:35.644Z","0.50.1":"2021-12-17T11:44:35.955Z","modified":"2022-04-04T18:07:39.489Z"},"maintainers":[{"name":"topdev","email":"riguang102@gmail.com"}],"description":"Set of UI components for pancake projects","repository":{"type":"git","url":"https://github.com/pancakeswap/pancake-toolkit/tree/master/packages/pancake-uikit"},"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"}