0.0.21-alpha • Published 5 months ago

@ybot1122/toby-ui v0.0.21-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

toby-ui

Collection of Reusable React Components. Please refer to package.json peerDependencies to see which libraries this component library relies on. This package is zero-dependency.

Install

  1. Install toby-ui as a Node package:

npm i @ybot1122/toby-ui

  1. Add toby-ui to tailwind.config.js:
module.exports = {
  //...
  content: [
    // ...
    "node_modules/@ybot1122/toby-ui/dist/**/*.js",
  ],
}

Adding a new Component

  1. Create its directory under src/components.
  2. Add its implementation file, and storybook file into that directory. You can copy paste the files from HelloWorld as starter template.
  3. In package.json add the entry for it in exports array.
  4. In rollup.config.mjs add the path as a file for input.
  5. In src/index.ts put any type definitions you will use for the new component.

Publish and Release

  1. Make a PR and merge to bump the version in package.json
  2. In GitHub, create release.
  3. npm login
  4. npm publish
0.0.20-alpha

6 months ago

0.0.21-alpha

5 months ago

0.0.19-alpha

6 months ago

0.0.18-alpha

6 months ago

0.0.15-alpha

6 months ago

0.0.17-alpha

6 months ago

0.0.16-alpha

6 months ago

0.0.14-alpha

6 months ago

0.0.13-alpha

6 months ago

0.0.10-alpha

7 months ago

0.0.11-alpha

7 months ago

0.0.9-alpha

7 months ago

0.0.5-alpha

7 months ago

0.0.12-alpha

7 months ago

0.0.10-alpha.2

7 months ago

0.0.10-alpha.1

7 months ago

0.0.6-alpha

7 months ago

0.0.7-alpha

7 months ago

0.0.8-alpha

7 months ago

0.0.4-alpha

7 months ago

0.0.3-alpha

8 months ago

0.0.2-alpha

8 months ago

0.0.1-alpha

8 months ago