@takecasper/acuity-design-system 1.3.2 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +23 -9
- package/dist/index.es.js +2448 -1115
- package/dist/index.es.js.map +1 -1
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -31,6 +31,12 @@ Then run:
|
|
|
31
31
|
|
|
32
32
|
`npm install @takecasper/acuity-design-system`
|
|
33
33
|
|
|
34
|
+
## Using the library
|
|
35
|
+
|
|
36
|
+
To use a component within your project, you can use a component like this:
|
|
37
|
+
|
|
38
|
+
`import { Button } from '@takecasper/acuity-design-system';`
|
|
39
|
+
|
|
34
40
|
## IDE Setup
|
|
35
41
|
|
|
36
42
|
### Quick Start
|
|
@@ -39,7 +45,8 @@ Then run:
|
|
|
39
45
|
2. To start storybook as a standalone service you can simply navigate to the root project directory and run the command `docker-compose up`
|
|
40
46
|
3. Storybook can then be accessed via `localhost:6006`
|
|
41
47
|
4. Access the prompt shell from the container, you can use the following command: `docker exec -it storybook-app bash`
|
|
42
|
-
|
|
48
|
+
> [!NOTE]
|
|
49
|
+
> if you commit code changes without storybook Docker container running in the background, pre-commit validation will execute from your host environment. In that case, you may require to perform `npm i` to ensure the package dependencies are setup locally. Alternatively, you can simply make sure the docker instance is up and running while commit.
|
|
43
50
|
|
|
44
51
|
### 1. Install Dependencies
|
|
45
52
|
|