1.0.24 • Published 1 year ago

@tyb-u/tyb-ui-components v1.0.24

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

🧱 tyb-ui-components

npm version

TYB's React component library. Visit the our storybook to learn more.

  • ✅ React
  • ✅ Styled components
  • ✅ TypeScript
  • ✅ Storybook
  • ✅ Jest and React Testing Library
  • ✅ CLI tool for creating new components

Additional support for:

  • ✅ JSON
  • ✅ images
  • ✅ Code splitting

⚠️ Prerequisites

  • Node (v14.1.16) + NPM

🎉 Getting Started

Clone the repo and cd into the directory. Once there run npm install to download all the node dependencies.

Testing

npm run test

Building

npm run build

Storybook

npm run storybook

Generating New Components

npm run generate YourComponentName

🚀 Deployment

Hosting via NPM

Commits pushed to the main branch are automatically published to npm registry by Github Actions if all tests pass and a bigger package version is found in the package.json file.

Chromatic Storybook

Commits pushed to the main branch triggers a chromatic Storybook update. The chromatic storybook is published here:

💻 Usage

npm i --save @tyb-u/tyb-ui-components

Usage of the component (after the library installed as a dependency into another project) will be:

import React from "react";
import { Box, Text } from "@tyb-u/tyb-ui-components";

const Component = () => (
  <Box>
    <Text>Hello I'm consuming the component library</Text>
  </Box>
);

export default Component;

More examples to be added

🤝 Contributing

Project

Issues

1.0.22

1 year ago

1.0.21

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.20

2 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago