0.7.1 • Published 17 days ago

@indigoai/indigo-design-system v0.7.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
17 days ago

Indigo Design System

Usage

All you need to do is install the package @indigoai/indigo-design-system from npm

$ yarn add @indigoai/indigo-design-system
# or
$ npm install --save @indigoai/indigo-design-system

And import style.css in your global stylesheet file or in App.tsx:

import "@indigoai/indigo-design-system/style.css"

If you need to import some icons, you can add this package @indigoai/indigo-icons from npm

import { YourSolidIcon } from '@indigoai/indigo-icons/dist/solid';
import { YourOutlineIcon } from '@indigoai/indigo-icons/dist/outline';

Dev environment

This package uses a Docker container as a local development environment.\ Yalc can be used to publish the package locally and test it in a different project.

You can start the development environment by running:

docker compose up

You can update the dependencies by running:

docker compose exec frontend yarn

You can publish the package locally by running:

docker compose exec frontend ./publish_local.sh

Using a local version of the icons

You can use yalc to publish a local version of the icons package and try it out in the design system before publishing it to npm.\ To install it without modifying the package.json file, run:

docker compose exec frontend yalc link @indigoai/indigo-icons

Due to how Storybook works, you will need to delete the cache and restart the container:

docker compose exec frontend rm -rf /app/node_modules/.cache/storybook

Publishing the package to NPM

You should have an NPM account and be logged in to publish the package.

Bump the package version, manually or using one of the npm commands: npm version patch, npm version minor, npm version major. Then run:

docker compose exec frontend ./publish.sh

warning: after running this command, the package.json file will be reverted to its previous state.\ Remember to commit the changes to it before running the command.

0.7.1

17 days ago

0.7.0

1 month ago

0.6.20

2 months ago

0.6.19

4 months ago

0.6.18

5 months ago

0.6.17

5 months ago

0.6.16

5 months ago

0.6.15

5 months ago

0.6.14

5 months ago

0.6.7

7 months ago

0.6.6

7 months ago

0.6.9

7 months ago

0.6.8

7 months ago

0.6.10

6 months ago

0.6.12

5 months ago

0.6.11

6 months ago

0.2.13

9 months ago

0.2.12

9 months ago

0.6.13

5 months ago

0.2.11

9 months ago

0.2.10

9 months ago

0.3.0

9 months ago

0.1.8

10 months ago

0.5.3

7 months ago

0.1.7

10 months ago

0.1.9

10 months ago

0.5.0

7 months ago

0.3.2

8 months ago

0.3.1

8 months ago

0.5.2

7 months ago

0.1.6

10 months ago

0.5.1

7 months ago

0.3.3

8 months ago

0.1.5

10 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.6.3

7 months ago

0.2.7

9 months ago

0.6.2

7 months ago

0.4.4

7 months ago

0.2.6

9 months ago

0.6.5

7 months ago

0.2.9

9 months ago

0.6.4

7 months ago

0.2.8

9 months ago

0.4.1

7 months ago

0.2.3

9 months ago

0.4.0

7 months ago

0.2.2

9 months ago

0.6.1

7 months ago

0.4.3

7 months ago

0.2.5

9 months ago

0.6.0

7 months ago

0.4.2

7 months ago

0.2.4

9 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

12 months ago

0.1.0

12 months ago