{"_id":"@27works/ui-components","name":"@27works/ui-components","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@27works/ui-components","version":"0.1.0","description":"[![npm version](https://badge.fury.io/js/%4027works%2Fui-components.svg)](https://badge.fury.io/js/%4027works%2Fui-components)","main":"dist/index.js","repository":{"type":"git","url":"git://github.com/27Works/ui-components.git"},"bugs":{"url":"https://github.com/27Works/ui-components/issues"},"homepage":"https://github.com/27Works/ui-components","scripts":{"build":"webpack --mode production","test":"echo \"Error: no test specified\" && exit 1","start":"start-storybook","storybook":"storybook dev -p 6006","build-storybook":"storybook build"},"keywords":[],"author":"","license":"ISC","dependencies":{"prop-types":"^15.8.1","react":"^18.2.0","react-dom":"^18.2.0","swiper":"^9.4.1"},"devDependencies":{"@babel/core":"^7.22.5","@babel/preset-env":"^7.22.5","@babel/preset-react":"^7.22.5","@storybook/addon-essentials":"^7.0.21","@storybook/addon-interactions":"^7.0.21","@storybook/addon-knobs":"^7.0.2","@storybook/addon-links":"^7.0.21","@storybook/addon-styling":"^1.3.0","@storybook/blocks":"^7.0.21","@storybook/react":"^7.0.21","@storybook/react-webpack5":"^7.0.21","@storybook/testing-library":"^0.0.14-next.2","autoprefixer":"^10.4.14","babel-loader":"^9.1.2","clean-webpack-plugin":"^4.0.0","node-sass":"^9.0.0","path":"^0.12.7","postcss":"^8.4.24","sass-loader":"^13.3.2","storybook":"^7.0.21","tailwindcss":"^3.3.2","webpack":"^5.87.0","webpack-cli":"^5.1.4","webpack-node-externals":"^3.0.0"},"gitHead":"7571d327ce085f2248648835782f270e8984d289","_id":"@27works/ui-components@0.1.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-9r7sqmHmylu5mlEoSLgiepP4C+Jdnvx93pF/7xeCQ3Ja/Ou6SVUHFmnYAwMkYoDZ7NpZ5LMPOS5KPJk2xlwuVA==","shasum":"2667b890c6e44f98445c3dc8dcacd9a6886b4e49","tarball":"https://registry.npmjs.org/@27works/ui-components/-/ui-components-0.1.0.tgz","fileCount":33,"unpackedSize":46198,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgqTfjY0Jot9O4KcoOvfzNAiSszyqrLwPMK+RPODSrZAIgdKV1YXXC62kTx101DMtSCX5on84y293LGhM36Gb+xRs="}]},"_npmUser":{"name":"jimlambie","email":"jameslambie@gmail.com"},"directories":{},"maintainers":[{"name":"woogz","email":"jayraydon@gmail.com"},{"name":"jimlambie","email":"jameslambie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-components_0.1.0_1687154437180_0.04277734385048859"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-19T06:00:37.119Z","0.1.0":"2023-06-19T06:00:37.332Z","modified":"2023-06-19T06:00:37.510Z"},"maintainers":[{"name":"woogz","email":"jayraydon@gmail.com"},{"name":"jimlambie","email":"jameslambie@gmail.com"}],"description":"[![npm version](https://badge.fury.io/js/%4027works%2Fui-components.svg)](https://badge.fury.io/js/%4027works%2Fui-components)","homepage":"https://github.com/27Works/ui-components","keywords":[],"repository":{"type":"git","url":"git://github.com/27Works/ui-components.git"},"bugs":{"url":"https://github.com/27Works/ui-components/issues"},"license":"ISC","readme":"# 27Works UI Components\n\n[![npm version](https://badge.fury.io/js/%4027works%2Fui-components.svg)](https://badge.fury.io/js/%4027works%2Fui-components)\n\n## Install\n\n```bash\nnpm install @27works/ui-components\nyarn add @27works/ui-components\n```\n\n## Components\n\n### Carousel\n\n```jsx\nimport React from 'react'\nimport { Carousel, Slide } from '@27works/ui-components'\n\nconst App = () => {\n  return (\n    <Carousel>\n      <Slide>\n        <div>\n          <h1>Slide 1</h1>\n        </div>\n      </Slide>\n      <Slide>\n        <div>\n          <h1>Slide 2</h1>\n        </div>\n      </Slide>\n    </Carousel>\n  )\n}\n\nexport default App\n```\n\n## Development\n\n```bash\nyarn install\nyarn storybook\n```\n\n## Testing within a project\n\nTo test the UI components in a project without having to publish a new version, use `yarn link`:\n\n```bash\ncd ui-components\nyarn link\n\ncd ../my-project\nyarn link @27works/ui-components\n```\n","readmeFilename":"README.md"}