karsten-design-system 1.0.8 → 1.0.9
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 +16 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,9 +16,15 @@ yarn add karsten-design-system
|
|
|
16
16
|
|
|
17
17
|
## Configuração do Tailwind
|
|
18
18
|
|
|
19
|
+
Inicialize o tailwind
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx tailwindcss init -p
|
|
23
|
+
```
|
|
24
|
+
|
|
19
25
|
Adicione ao seu tailwind.config.js:
|
|
20
26
|
|
|
21
|
-
|
|
27
|
+
```js
|
|
22
28
|
/** @type {import('tailwindcss').Config} */
|
|
23
29
|
module.exports = {
|
|
24
30
|
content: [
|
|
@@ -30,16 +36,23 @@ module.exports = {
|
|
|
30
36
|
},
|
|
31
37
|
plugins: [],
|
|
32
38
|
}
|
|
33
|
-
|
|
39
|
+
```
|
|
34
40
|
|
|
35
41
|
## Pré-requisitos
|
|
36
42
|
|
|
37
43
|
Esta biblioteca requer as seguintes dependências:
|
|
38
44
|
|
|
39
45
|
- React 18 ou superior
|
|
40
|
-
- PrimeReact 10 ou superior
|
|
41
46
|
- React DOM 18 ou superior
|
|
42
47
|
- Tailwind 3.4.0 ou superior
|
|
48
|
+
- @types/date-fns 2 ou superior
|
|
49
|
+
- Chart.js 4 ou superior
|
|
50
|
+
- clsx 2 ou superior
|
|
51
|
+
- Data-fns 1 ou superior
|
|
52
|
+
- Primeicons 7 ou superior
|
|
53
|
+
- Primereact 10 ou superior
|
|
54
|
+
- Postcss 8 ou superior
|
|
55
|
+
- Autoprefixer 10 ou superior
|
|
43
56
|
|
|
44
57
|
## Como usar
|
|
45
58
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "karsten-design-system",
|
|
3
3
|
"description": "Karsten Design System Components",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"import": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
15
|
+
"types": "./dist/types/index.d.ts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|