{"_id":"@battlefi/uikit","_rev":"3-8faafb3d15683c1cb88b630d69c86b5d","name":"@battlefi/uikit","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@battlefi/uikit","version":"1.0.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":"git+https://github.com/pancakeswap/pancake-toolkit.git#master"},"license":"MIT","scripts":{"start":"yarn storybook","build":"rm -rf ./dist && rollup -c && tsc -d --emitDeclarationOnly --declarationDir dist","watch":"rollup -c -w","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/lodash":"^4.14.168","@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","styled-components":"^5.2.3"},"dependencies":{"@popperjs/core":"^2.9.2","@types/styled-system":"^5.1.10","lodash":"^4.17.20","react-popper":"^2.2.5","styled-system":"^5.1.5"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/pancakeswap/pancake-toolkit/issues"},"homepage":"https://github.com/pancakeswap/pancake-toolkit/tree/master#readme","author":{"name":"richard.pham202@gmail.com"},"gitHead":"12c4a317b91ecdc8ab001e3c7087b7494e12058e","_id":"@battlefi/uikit@1.0.1","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+arm64 (darwin)","dist":{"integrity":"sha512-2fkfGp8bK7yem0mDwW55mEhJEswi6n0PiIdO2jY/IZp8ZCB5b1D9HffFS3jqduBk2AYA/PP0PPmK5njaReUgPQ==","shasum":"1263dde28078c90e39ce1d3f19bfed09baa3143e","tarball":"https://registry.npmjs.org/@battlefi/uikit/-/uikit-1.0.1.tgz","fileCount":408,"unpackedSize":1329463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuOAGk3qcUmoIxCj8iB0ZNSjRP+D6qHgzJOwHpEw6qvAiAVlzrqtnbRl6/kGid5B3KhOeOgLyHAQ16gRcuJINMvTw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVrR/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVYg//WDWHHykllsxT9LkCxJTg6cT+czst6EMppDmvXfdostzTwNQK\r\nQyuNeXYCPRVu1Hx5NInucArKnrwKzTaGUlPP2jIeezRsgNKgm6K44GOQrwjS\r\ndLRvmvpNc+kktmQbg4HQSgPFeZMi9nwr9TlswqJmuKqoztlUdbkEw6LXCvxg\r\nGpQsKuIaUGNXOFLo4YfwfHxmTOf9F77MACimFhpUsYW7DnmlwwcUpksoIPo+\r\nWn9iPIxWFpzYJ+dxUBwwINi7AuEC0HboWkbrpnphi3n//6yKvc81yNrG74ip\r\ngyxJLTMyX0izxLXgXLlryzYv6DhKD0A7WCgJspWTj4pafn4HV6vZ115X4Apl\r\n9qOhnqP7QU/XkB53AzOYBmBW/SWlyrbtCXxALEkOBia10fTg4Kvnlo2Td9s+\r\nArKzp4Sjfueu+FKWZ/zpGZ9WP+ybGS6WtB+/+IBlVppbSsI512tIxDT6aczt\r\nd2g0R6AZkOo0SNGK0h9te37UZ2LtW+VTv3nJcpPEQQx54atwH76cNykOCMVi\r\nj7l86vC8QC4ItiWCKDzxOKCCZdZ+zB5m2dzWhxIuQzTeLlXg+eyKbEIUdQQF\r\nc6pUHxKWOWqeNa6DyqyPFyGCwJ2Mm+NPFY89/22z9PxAROpqACq/dICmJFCB\r\n/gd1eC45FPdZnx6SGvJLWsZO9KHjAvQ7B64=\r\n=XfAC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"phamlegiabao","email":"phamlegiabao96@gmail.com"},"directories":{},"maintainers":[{"name":"minhlee","email":"minh.nguyenle1809@gmail.com"},{"name":"phamlegiabao","email":"phamlegiabao96@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uikit_1.0.1_1649849471014_0.9360266802388126"},"_hasShrinkwrap":false},"1.0.2":{"name":"@battlefi/uikit","version":"1.0.2","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-toolkit.git#master"},"license":"MIT","scripts":{"start":"yarn storybook","build":"rm -rf ./dist && rollup -c && tsc -d --emitDeclarationOnly --declarationDir dist","watch":"rollup -c -w","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/lodash":"^4.14.168","@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","styled-components":"^5.2.3"},"dependencies":{"@popperjs/core":"^2.9.2","@types/styled-system":"^5.1.10","lodash":"^4.17.20","react-popper":"^2.2.5","styled-system":"^5.1.5"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/pancakeswap/pancake-toolkit/issues"},"homepage":"https://github.com/pancakeswap/pancake-toolkit/tree/master#readme","author":{"name":"richard.pham202@gmail.com"},"gitHead":"23e79029d02491d311d5c80c681184ab0efda3e5","_id":"@battlefi/uikit@1.0.2","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+arm64 (darwin)","dist":{"integrity":"sha512-bGrym4m05T/t9Ti67YHBxiXSeZutfZiHL1/U47LHUGI8UkcjQCTeeHmYW4pPkhvTIkWYKo/pkoLqp7NB5XUamQ==","shasum":"d82c7d595f25044fa8ebe7de88e6b7d19bd59beb","tarball":"https://registry.npmjs.org/@battlefi/uikit/-/uikit-1.0.2.tgz","fileCount":408,"unpackedSize":1329271,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlOQpp1zxQ79U8nAB72fzxn9+30BZMTC1usBlDITfsvAiEAl2flyMgTXxj9YpK4b6qw0NF5SZgTMbbaSovEIFvRvfg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVrdFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIgA/+LM8wMWlSnR5bTEnUn4D05w98xXPFH1WMXaZEUl9jJc0Q/meF\r\nImSZofnrFiqKn39WAgz7t+lGTv/h6+D9a1hwTh+vaE+aYH3UTh1NiIBG/nXq\r\nPjFRrJbVGq7ep+uP433nHcdZP3QKbj4B1cOs5PwlJ6nypu02WWy3u5bMopW4\r\n2HYnu+jqZFcv6tB7czT+57hZozLO7Mrf2eAai4xRHQ4b31iwZyPsS8LzLS/9\r\neiBhUydOvbFy7kjODCuHUS9D317OEp0t636YFsDg05IvSZHanrTSFI8MivPW\r\nDaG6XJM0KYhsP7Wa2pp0wIc94u5KUGsuCZNviSzLt47N7vqFz4k9Nm1sEplQ\r\nrK01m7p6FiIRxAUq4at3pa7rVfLkQDd4nnCQWqt+nQgmEoTlz5m2fF26gv/h\r\n+6eZqsSgoCtrMfO1XvbYPCyndI2VoZ30fUeZc2h0aTqgf9a7zcKDVJP/w4h3\r\nhPeYCa6/fDszsSZPBZImk4KYjMNiPMMghaHbxCyV+46xlx9HEoWN+DNKmFZM\r\nOmS6Zl9Mwh7/5QfrT2bRxFsHC/aZQap3TOXmZIK5Sma/DgqB6TKHh4n+81TK\r\nnLNfteFdWXL0eLtUsSjISRl2Nx1Kcdg7bGdOHmUFxma+qIy/kQMLFDDWe3uK\r\nZYUq7jfgMexdal9jYu4sNoxZNrX2nsVe1m8=\r\n=WFnp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"phamlegiabao","email":"phamlegiabao96@gmail.com"},"directories":{},"maintainers":[{"name":"minhlee","email":"minh.nguyenle1809@gmail.com"},{"name":"phamlegiabao","email":"phamlegiabao96@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uikit_1.0.2_1649850181404_0.8983902357180085"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-13T11:31:10.935Z","1.0.1":"2022-04-13T11:31:11.300Z","modified":"2022-04-25T07:46:10.660Z","1.0.2":"2022-04-13T11:43:01.634Z"},"maintainers":[{"email":"rintran720@gmail.com","name":"rintran720"},{"email":"huynvn97@gmail.com","name":"huynvn97"},{"email":"minh.nguyenle1809@gmail.com","name":"minhlee"},{"email":"phamlegiabao96@gmail.com","name":"phamlegiabao"}],"description":"Set of UI components for pancake projects","homepage":"https://github.com/pancakeswap/pancake-toolkit/tree/master#readme","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancake-toolkit.git#master"},"author":{"name":"richard.pham202@gmail.com"},"bugs":{"url":"https://github.com/pancakeswap/pancake-toolkit/issues"},"license":"MIT","readme":"# 🥞 BattleFI UIkit\n\n[![Version](https://img.shields.io/npm/v/@battlefi/uikit)](https://www.npmjs.com/package/@battlefi/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap/uikit)](https://www.npmjs.com/package/@battlefi/uikit)\n\nBattleFI UIkit is a set of React components and hooks used to build pages on BattleFI's apps. It also contains a theme file for dark and light mode.\n\n## Install\n\n`yarn add @battlefi/uikit`\n\n## Setup\n\n### Theme\n\nBefore using BattleFI UIkit, you need to provide the theme file to styled-component.\n\n```\nimport { ThemeProvider } from 'styled-components'\nimport { light, dark } from '@battlefi/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 '@battlefi/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\n<!-- If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/) -->\n","readmeFilename":"README.md"}