{"_id":"@blockchain-swap/uikit","_rev":"1-98a03a832b9e259ca60418766ec3aea6","name":"@blockchain-swap/uikit","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@blockchain-swap/uikit","version":"0.1.1","description":"Set of UI components for panther projects","main":"dist/index.cjs.js","module":"dist/index.esm.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/tontheonelove/smoking-ukit.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.16","@babel/preset-env":"^7.12.16","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@pancakeswap-libs/eslint-config-pancake":"0.1.0","@rollup/plugin-typescript":"^8.2.0","@storybook/addon-a11y":"^6.1.18","@storybook/addon-actions":"^6.1.18","@storybook/addon-essentials":"^6.1.18","@storybook/addon-links":"^6.1.18","@storybook/react":"^6.1.18","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.5","@types/react":"^17.0.2","@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.15.0","@typescript-eslint/parser":"^4.15.0","babel-loader":"^8.1.0","babel-plugin-styled-components":"^1.11.1","eslint":"^7.20.0","husky":"4.3.5","jest":"^26.6.3","jest-styled-components":"^7.0.3","np":"^7.4.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.39.0","styled-components":"^5.2.0","themeprovider-storybook":"^1.6.4","ts-jest":"^26.5.1","tslib":"^2.0.3","typescript":"^4.1.5"},"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"},"bugs":{"url":"https://github.com/tontheonelove/smoking-ukit/issues"},"homepage":"https://github.com/tontheonelove/smoking-ukit#readme","keywords":["smokingswap"],"author":"","gitHead":"92d6755ae7b47ddab02bb809effd601b280ed8ed","_id":"@blockchain-swap/uikit@0.1.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-J5mkdTbKGaTzwj1uKwisqO8Q4ZtHPbD04CdQc215llZ4DZ2LWzWSBB+nqoV32YS+/KYfeWBoKV+fYkWaoMItRg==","shasum":"890ada799aea89464041ac1fc3d1f4cfdb9dc623","tarball":"https://registry.npmjs.org/@blockchain-swap/uikit/-/uikit-0.1.1.tgz","fileCount":2,"unpackedSize":3606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQFjJCRA9TVsSAnZWagAAoYQP/A287+yS04dog3Uxv2/j\nSwM1hTEOv8eV8U5PkFe7s+2H2p0oT8Ok3N3+1YTwZX/KWTdo6bCflkhiHx5E\nrjiYQ9fd5IjuBRiwdRADdqR02gaEEa/3BxJnQt5h6hyh9dO0v+jzg0l0juOR\nFPkIsKNT/hDN7Q3wOq39Wv6GuCRV5qFAyMOFlthOjOopJb2kOspzIChkjmq4\nMnKz5Y49u6Deu0aIgwWzpmkkbhEXflh31F6luUw6kfDJfxw5FUKrRI7lAZYh\nuiVsl3P3W6T9GbpW/4OWPL203qodqY/hegKIgxoEO1lvmhHqmvMKNNEMETMy\nzU6oaWo0RgbdArDV0LMqrYDRW5SNnmc9qrrY0Ob6fBKzfj0wMmK5TLMHJtyd\nBGAj4WlgJioyQupBqFgEUuHdaFyz+OPbB7FYCNLb2/iVqhsi6XjGHQ0qju6P\nsIHXKNBRi4V6sFsfvkT03GWl7Xb6GUzMw91tXhy2M/dt8aRUJMfPbn/qEina\nMTxL9eNHnIIXpo6aqZAlJnDHL1DC5R9JEBARdqPGU2RElcoKCuFCS4mW55m9\nfOPt1HgQ5B3V4F2lWGHLAYA0tac5+DSw1cSLO8W6e9+ZSDwuXTLni8Wp7k2T\nrkXDpSr+yvhDLm1N8TfJ3G+5KVCeuPbS+jYCZAOI6u8GvV02tD2oturujZI/\nXuue\r\n=5vh8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8xI2KG9/ui0AHiAxF73sdOM0usBN3sMlXI2k57BhO4AiADCZGgMIapDGeSPSu1YPDnADn/EKRo2pUKl5Kkk1K+mw=="}]},"_npmUser":{"name":"tontheonelove","email":"tonlove5233@gmail.com"},"directories":{},"maintainers":[{"name":"tontheonelove","email":"tonlove5233@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uikit_0.1.1_1631606985325_0.811483096643929"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-14T08:09:45.264Z","0.1.1":"2021-09-14T08:09:45.466Z","modified":"2022-04-04T19:36:58.835Z"},"maintainers":[{"name":"tontheonelove","email":"tonlove5233@gmail.com"}],"description":"Set of UI components for panther projects","homepage":"https://github.com/tontheonelove/smoking-ukit#readme","keywords":["smokingswap"],"repository":{"type":"git","url":"git+https://github.com/tontheonelove/smoking-ukit.git"},"bugs":{"url":"https://github.com/tontheonelove/smoking-ukit/issues"},"license":"MIT","readme":"# Panther UIkit\r\n\r\nPanther UIkit is a set of React components and hooks used to build pages on Panther's apps. It also contains a theme file for dark and light mode.\r\n\r\n## Install\r\n\r\n`yarn add @pantherswap-libs/uikit`\r\n\r\n## Setup\r\n\r\n### Theme\r\n\r\nBefore using Panther UIkit, you need to provide the theme file to styled-component.\r\n\r\n```\r\nimport { ThemeProvider } from 'styled-components'\r\nimport { light, dark } from '@pantherswap-libs/uikit'\r\n...\r\n<ThemeProvider theme={isDark}>...</ThemeProvider>\r\n```\r\n\r\n### Reset\r\n\r\nA reset CSS is available as a global styled component.\r\n\r\n```\r\nimport { ResetCSS } from '@pantherswap-libs/uikit'\r\n...\r\n<ResetCSS />\r\n```\r\n\r\n### Types\r\n\r\nThis project is built with Typescript and export all the relevant types.\r\n","readmeFilename":"README.md"}