{"_id":"@defaswap/uikit","_rev":"1-b53d8cedd0925db11b6462e6b990f7d1","name":"@defaswap/uikit","dist-tags":{"latest":"0.59.0"},"versions":{"0.59.0":{"name":"@defaswap/uikit","version":"0.59.0","description":"Set of UI components for defa projects","main":"dist/index.cjs.js","module":"dist/index.esm.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/defaswap/defa-toolkit.git"},"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/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"},"gitHead":"f98b94c06d819969326b8ed18ccf77efbbd99c68","bugs":{"url":"https://github.com/defaswap/defa-toolkit/issues"},"homepage":"https://github.com/defaswap/defa-toolkit#readme","_id":"@defaswap/uikit@0.59.0","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-sjV+yjho3hcfeqCQxaYs2w5K//sZagY8xIDhuuvj9RQIaJmvVhVu8QYeaBTstU4q7LJronKwp46ct49GA9cqmw==","shasum":"4787a95f81ffa304814b09e45224cf96f95615fd","tarball":"https://registry.npmjs.org/@defaswap/uikit/-/uikit-0.59.0.tgz","fileCount":400,"unpackedSize":1241169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2xEJCRA9TVsSAnZWagAAciEP/0AkDPI+uZilKsFgepC9\nhMEEfRFGB0u6fPwjA+64PYKpf2QM0t3/IsUQddpgrjkaLSCygZ7s2MzcY1aA\nF8Ez9GTYd4hFW9PX9cfn6xpUsIcYSGoDhHhpf9zj9WKZTh0sQv5zIjbNYPVY\nUZNfBGRG1Hh9Vc4RzKCPXmFX0Jhox/XS1riR1TEqM8LpJBHZnMa30ukJBCcr\nOaigMxY9yRykag8IRAqaLcDThWy8GMCtr7Q/OXCoT/zqfDHK62MMr81ph1XI\n4wE8YIXrqNur/CM7BLA87QA1B1rdsbQAHVwmwZ577TWqbeDmz8v1H8ph+sme\n5AY0AEhi26YKbSpKmy06egcJK4HIbenwIS95rbGf3Ad5lRPyQdgl4IacSYtB\nEnC7dcOOHJ7M5uDcxB2Jm7ZvyBZakNKDZmk/z7HfPcUifwsmUZP9SEYIOs0y\nWcgJE8WUjzhs4wgbuRFccc/XQV+lj6sC+VVO3L9zzwlkU/zGwg2kXb6jEGSC\n0Jj8BcEihaWxS7wWb/LlGQTfBrEWGpuuPUBevhTbP45ZPhC1XTOv3k204L1k\n/aZIxcEOqiHH5haoAyErnXOwoLao7D0HzO3y3+LtkeKgb3w3fNSUX5Cb/eWt\nLi5pW26dbafgKGP1F47aem8OhXsHEk29FUqFQW4rvWBwSCgYqIAqTM9syWoD\nTJrP\r\n=1Ax9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtIOpDc2xJBWGfrrjNIfOYaPM7ub5KfrqO8LT3sJIJgAiBpcUptXSwjLiG8c4CLnbbbcxdHb0n3II9n4I+LwRfiEQ=="}]},"_npmUser":{"name":"defaswap","email":"info@defa.finance"},"directories":{},"maintainers":[{"name":"defaswap","email":"info@defa.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uikit_0.59.0_1641746697455_0.8331057726559923"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-09T16:44:57.394Z","0.59.0":"2022-01-09T16:44:57.766Z","modified":"2022-04-05T03:37:46.181Z"},"maintainers":[{"name":"defaswap","email":"info@defa.finance"}],"description":"Set of UI components for defa projects","homepage":"https://github.com/defaswap/defa-toolkit#readme","repository":{"type":"git","url":"git+https://github.com/defaswap/defa-toolkit.git"},"bugs":{"url":"https://github.com/defaswap/defa-toolkit/issues"},"license":"MIT","readme":"# DeFa UIkit\n\nDeFa UIkit is a set of React components and hooks used to build pages on DeFa's apps. It also contains a theme file for dark and light mode.\n\n## Install\n\n`yarn add @defaswap-libs/uikit`\n\n## Setup\n\n### Theme\n\nBefore using DeFa UIkit, you need to provide the theme file to styled-component.\n\n```\nimport { ThemeProvider } from 'styled-components'\nimport { light, dark } from '@defaswap-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 '@defaswap-libs/uikit'\n...\n<ResetCSS />\n```\n\n### Types\n\nThis project is built with Typescript and export all the relevant types.\n","readmeFilename":"README.md"}