@solfacil/girassol 0.5.0 → 0.6.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.
Files changed (40) hide show
  1. package/README.md +32 -13
  2. package/dist/components.d.ts +1 -0
  3. package/dist/components.json +1 -1
  4. package/dist/girassol.es.js +2013 -1766
  5. package/dist/girassol.umd.js +5 -5
  6. package/dist/style.css +1 -1
  7. package/dist/theme/solfacil/borders.d.ts +0 -1
  8. package/dist/theme/solfacil/screens.d.ts +17 -5
  9. package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +30 -7
  10. package/dist/types/components/forms/switch/Switch.vue.d.ts +3 -0
  11. package/dist/types/components/modal/Modal.vue.d.ts +209 -0
  12. package/dist/types/components/modal/index.d.ts +2 -0
  13. package/dist/types/components/modal/modal.spec.d.ts +1 -0
  14. package/dist/types/components/modal/types.d.ts +16 -0
  15. package/dist/types/components/overlay/Overlay.vue.d.ts +2 -0
  16. package/dist/types/composables/use-modal/index.d.ts +4 -0
  17. package/dist/types/index.d.ts +304 -5
  18. package/package.json +9 -4
  19. package/theme/solfacil/borders.ts +0 -1
  20. package/theme/solfacil/effects.ts +4 -4
  21. package/theme/solfacil/screens.ts +16 -5
  22. package/vite.config.ts +5 -0
  23. package/cli/build/cli.js +0 -68
  24. package/cli/build/commands/create:component.js +0 -124
  25. package/cli/build/commands/generate:plugin.js +0 -89
  26. package/cli/build/commands/generate:types.js +0 -76
  27. package/cli/build/commands/girassol-cli.js +0 -52
  28. package/cli/build/extensions/cli-extension.js +0 -17
  29. package/cli/build/templates/components.d.ts.ejs +0 -1
  30. package/cli/build/templates/nuxt-plugin.ejs +0 -8
  31. package/cli/build/templates/vue-plugin.ejs +0 -5
  32. package/cli/build/templates/windi.config.ts.ejs +0 -3
  33. package/cli/build/types/cli.d.ts +0 -1
  34. package/cli/build/types/commands/create:component.d.ts +0 -1
  35. package/cli/build/types/commands/generate:plugin.d.ts +0 -1
  36. package/cli/build/types/commands/generate:types.d.ts +0 -7
  37. package/cli/build/types/commands/girassol-cli.d.ts +0 -1
  38. package/cli/build/types/extensions/cli-extension.d.ts +0 -1
  39. package/cli/build/types/types.d.ts +0 -0
  40. package/cli/build/types.js +0 -2
package/README.md CHANGED
@@ -1,19 +1,12 @@
1
1
  <div align="center">
2
- <img src="http://girassol.solfacil.tech/public/girassol.svg" />
2
+ <img style="width: 300px" src="http://girassol.solfacil.tech/public/girassol.svg" />
3
3
  </div>
4
4
 
5
5
 
6
- ![Dev](https://github.com/solfacil/girassol/actions/workflows/dev.yml/badge.svg)
7
-
8
6
  ![Release](https://github.com/solfacil/girassol/actions/workflows/release.yml/badge.svg)
9
7
 
10
8
  ![Production](https://github.com/solfacil/girassol/actions/workflows/production.yml/badge.svg)
11
9
 
12
- [![Figma](https://img.shields.io/badge/figma-%23F24E1E.svg?style=for-the-badge&logo=figma&logoColor=white)](https://www.figma.com/files/project/36537446/Girassol-DS?fuid=1062384639428950233)
13
-
14
-
15
-
16
- # <a href="http://girassol.solfacil.tech/?path=/docs/introdu%C3%A7%C3%A3o-introdu%C3%A7%C3%A3o--page" target="_blank">Documentação</a>
17
10
 
18
11
  <div style="flex">
19
12
  <a href="https://npm.im/@solfacil/girassol" target="_blank">
@@ -25,7 +18,7 @@
25
18
  </a>
26
19
 
27
20
  <a href="https://npm.im/@solfacil/girassol" target="_blank">
28
- <img src="https://badgen.net/badge/node/v16.14/74b758?icon=npm" />
21
+ <img src="https://badgen.net/badge/node/v16.17/74b758?icon=npm" />
29
22
  </a>
30
23
 
31
24
  <a href="https://npm.im/@solfacil/girassol" target="_blank">
@@ -33,7 +26,7 @@
33
26
  </a>
34
27
 
35
28
  <a href="https://npm.im/@solfacil/girassol" target="_blank">
36
- <img src="https://badgen.net/badge/vue.js/v3.2.36/42b883" />
29
+ <img src="https://badgen.net/badge/vue.js/v3.2.40/42b883" />
37
30
  </a>
38
31
 
39
32
  <a href="https://bundlephobia.com/result?p=@solfacil/girassol" target="_blank">
@@ -49,7 +42,23 @@
49
42
  </a>
50
43
  </div>
51
44
 
52
- # Instalação
45
+ # 📝 Documentação
46
+
47
+ Para compreender melhor o design system e para saber quais features e componentes estão disponíveis, acesse a **<a href="http://girassol.solfacil.tech/?path=/docs/introdu%C3%A7%C3%A3o-introdu%C3%A7%C3%A3o--page" target="_blank">Documentação oficial do Girassol</a>**
48
+
49
+
50
+ ## 🔨 Tecnologias
51
+
52
+ As seguintes ferramentas foram usadas na construção do projeto:
53
+
54
+ - [Vue 3](https://vuejs.org/)
55
+ - [TypeScript](https://www.typescriptlang.org/docs/handbook/2/basic-types.html)
56
+ - [VueUse](https://vueuse.org/)
57
+ - [WindiCSS](https://windicss.org/)
58
+ - [Vitest](https://vitest.dev/)
59
+ - [Testing library](https://testing-library.com/docs/)
60
+
61
+ # 📦️ Instalação
53
62
 
54
63
  Basta executar:
55
64
  ```bash dark
@@ -59,11 +68,21 @@ yarn add @solfacil/girassol
59
68
  e colocar no `scripts` dentro do `package.json` para ter acesso ao nosso CLI:
60
69
 
61
70
  ```json dark
62
- "girassol-cli": "girassol-cli"
71
+ {
72
+ "scripts": {
73
+ "girassol-cli": "girassol-cli"
74
+ }
75
+ }
63
76
  ```
64
77
 
78
+ # 👷 Como usar
79
+
80
+ Após fazer o processo de instalação, você deve executar `yarn girassol-cli generate:plugin`.
81
+
82
+ Isto irá configura o plugin no seu projeto e estará pronto para usar, sem a necessidade de importar os componentes, só necessitando importar os composables com a necessidade.
83
+
65
84
  # Licença
66
85
 
67
86
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/npm/l/buefy.svg?logo=github" /></a>
68
87
 
69
- Released under the MIT [License](https://opensource.org/licenses/MIT). Copyright (c) Solfácil.
88
+ Released under the MIT [License](https://opensource.org/licenses/MIT). Copyright (c) Solfácil.
@@ -20,6 +20,7 @@ import '@vue/runtime-core'
20
20
  SolMenu: typeof import('@solfacil/girassol')['SolMenu']
21
21
  SolMenuItemLink: typeof import('@solfacil/girassol')['SolMenuItemLink']
22
22
  SolMenuNavigationLinks: typeof import('@solfacil/girassol')['SolMenuNavigationLinks']
23
+ SolModal: typeof import('@solfacil/girassol')['SolModal']
23
24
  }
24
25
  }
25
26
 
@@ -1 +1 @@
1
- {"components":["SolButton","SolButtonDestructive","SolInputTextarea","SolInputText","SolInputTextPassword","SolRadio","SolRadioGroup","SolCheckbox","SolCheckboxGroup","SolSwitch","SolSelect","SolChip","SolTag","SolAlert","SolAccordion","SolList","SolMenu","SolMenuItemLink","SolMenuNavigationLinks"]}
1
+ {"components":["SolButton","SolButtonDestructive","SolInputTextarea","SolInputText","SolInputTextPassword","SolRadio","SolRadioGroup","SolCheckbox","SolCheckboxGroup","SolSwitch","SolSelect","SolChip","SolTag","SolAlert","SolAccordion","SolList","SolMenu","SolMenuItemLink","SolMenuNavigationLinks","SolModal"]}