@sysvale/cuida 3.0.0-beta.6 → 3.0.0-beta.60
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 +14 -29
- package/dist/@sysvale/cuida.es.js +18408 -17130
- package/dist/@sysvale/cuida.umd.js +23 -23
- package/dist/@sysvale/tokens.scss +16 -1
- package/dist/style.css +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://sysvale.github.io/cuida">
|
|
3
|
-
<img src="https://
|
|
3
|
+
<img src="https://framerusercontent.com/images/xz7CrU73qctPY2Vm79XMnTAVM.svg" alt="Cuida logo" width="250" />
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
@@ -14,35 +14,20 @@
|
|
|
14
14
|
- O Cuida pode ser instalado com o npm:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
|
|
17
|
+
npm i @sysvale/cuida;
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Usando
|
|
21
21
|
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
$ npm i @sysvale/cuida;
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
- Para usar o bootstrap-vue, importe a biblioteca no seu entry point, provavelmente vai ser seu main.js ou app.js:
|
|
29
|
-
|
|
30
|
-
```js
|
|
31
|
-
import BootstrapVue from "bootstrap-vue";
|
|
32
|
-
import "bootstrap/dist/css/bootstrap.css";
|
|
33
|
-
import "bootstrap-vue/dist/bootstrap-vue.css";
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
- Instale o bootstrap-vue com:
|
|
22
|
+
- Para usar o cuida, importe a biblioteca no seu entry point, provavelmente vai ser seu main.js ou app.js:
|
|
37
23
|
|
|
38
24
|
```js
|
|
39
|
-
|
|
25
|
+
import Cuida from "@sysvale/cuida";
|
|
40
26
|
```
|
|
41
27
|
|
|
42
|
-
-
|
|
43
|
-
|
|
28
|
+
- Importe os estilos do Cuida:
|
|
44
29
|
```js
|
|
45
|
-
import
|
|
30
|
+
import '@sysvale/cuida/dist/style.css';
|
|
46
31
|
```
|
|
47
32
|
|
|
48
33
|
- E instale o Cuida:
|
|
@@ -74,13 +59,13 @@ Vue.use(Cuida);
|
|
|
74
59
|
- Clone o repositório:
|
|
75
60
|
|
|
76
61
|
```bash
|
|
77
|
-
|
|
62
|
+
git clone https://github.com/Sysvale/cuida.git
|
|
78
63
|
```
|
|
79
64
|
|
|
80
65
|
- Instale as dependências e suba o container docker:
|
|
81
66
|
|
|
82
67
|
```bash
|
|
83
|
-
|
|
68
|
+
docker-compose up -d
|
|
84
69
|
```
|
|
85
70
|
|
|
86
71
|
A aplicação estará disponível na porta `6006`, em [http://localhost:6006/](http://localhost:6006).
|
|
@@ -88,7 +73,7 @@ A aplicação estará disponível na porta `6006`, em [http://localhost:6006/](h
|
|
|
88
73
|
- Caso não queira usar docker, instale as dependências com:
|
|
89
74
|
|
|
90
75
|
```bash
|
|
91
|
-
|
|
76
|
+
npm i
|
|
92
77
|
```
|
|
93
78
|
|
|
94
79
|
### Executando o Cuida
|
|
@@ -98,7 +83,7 @@ $ npm i
|
|
|
98
83
|
- Ou alternativamente, sem o docker, rode apenas:
|
|
99
84
|
|
|
100
85
|
```bash
|
|
101
|
-
|
|
86
|
+
npm run storybook
|
|
102
87
|
```
|
|
103
88
|
|
|
104
89
|
### Testando-o
|
|
@@ -106,21 +91,21 @@ $ npm run storybook
|
|
|
106
91
|
- Utilizando o docker:
|
|
107
92
|
|
|
108
93
|
```bash
|
|
109
|
-
|
|
94
|
+
docker-compose exec cuida npm run test
|
|
110
95
|
```
|
|
111
96
|
|
|
112
97
|
ou
|
|
113
98
|
|
|
114
99
|
```bash
|
|
115
|
-
|
|
100
|
+
./on-server.sh npm run test
|
|
116
101
|
```
|
|
117
102
|
|
|
118
103
|
- Sem o docker:
|
|
119
104
|
|
|
120
105
|
```bash
|
|
121
|
-
|
|
106
|
+
npm run test
|
|
122
107
|
```
|
|
123
108
|
|
|
124
109
|
## Contribuindo
|
|
125
110
|
|
|
126
|
-
Para informações sobre como contribuir com o projeto, acesse o [CONTRIBUTING.MD](https://github.com/Sysvale/cuida/blob/
|
|
111
|
+
Para informações sobre como contribuir com o projeto, acesse o [CONTRIBUTING.MD](https://github.com/Sysvale/cuida/blob/main/CONTRIBUTING.md)
|