ctc-component-library 0.0.2
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 +37 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +732 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +28 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/src/commons/colors.d.ts +47 -0
- package/dist/src/components/atoms/Button/Button.d.ts +15 -0
- package/dist/src/components/atoms/Icon/Icon.d.ts +6 -0
- package/dist/src/vite-env.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +86 -0
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# ctc-component-library
|
|
2
|
+
|
|
3
|
+
## Requirements
|
|
4
|
+
```bash
|
|
5
|
+
node v18.19.1 or above
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install --save @ctc-component-library
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Run local
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
- npm install
|
|
19
|
+
- npm run storybook
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## To publish
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
- Increase the version on package.json
|
|
26
|
+
- Push to main branch, the actions to publish and deploy will be run
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Material Symbols demo
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
- Here you can preview all the icons
|
|
33
|
+
https://marella.me/material-symbols/demo/
|
|
34
|
+
|
|
35
|
+
- Usage
|
|
36
|
+
https://github.com/marella/material-symbols/tree/main/material-symbols#usage
|
|
37
|
+
```
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * as colorTokens from "./src/foundationTokens/colors.scss";
|
|
2
|
+
export * as shapeTokens from "./src/foundationTokens/shapes.scss";
|
|
3
|
+
export * as spacingTokens from "./src/foundationTokens/spacing.scss";
|
|
4
|
+
export { colors } from "./src/commons/colors";
|
|
5
|
+
export { Button } from "./src/components/atoms/Button/Button";
|