@solfacil/girassol 0.5.0 → 0.7.0-beta-pagination.1
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 +32 -13
- package/dist/components.d.ts +4 -1
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +2742 -2263
- package/dist/girassol.umd.js +6 -6
- package/dist/style.css +1 -1
- package/dist/theme/solfacil/borders.d.ts +0 -1
- package/dist/theme/solfacil/index.d.ts +1 -0
- package/dist/theme/solfacil/screens.d.ts +17 -5
- package/dist/theme/solfacil/utilities.d.ts +1 -0
- package/dist/types/components/{informations/chip/Chip.vue.d.ts → filters/chip/removable-chip/RemovableChip.vue.d.ts} +37 -37
- package/dist/types/components/filters/chip/removable-chip/index.d.ts +2 -0
- package/dist/types/components/{informations/chip/chip.spec.d.ts → filters/chip/removable-chip/removable-chip.spec.d.ts} +0 -0
- package/dist/types/components/filters/chip/removable-chip/types.d.ts +4 -0
- package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +125 -0
- package/dist/types/components/filters/chip/selectable-chip/index.d.ts +2 -0
- package/dist/types/components/filters/chip/selectable-chip/selectable-chip.spec.d.ts +1 -0
- package/dist/types/components/filters/chip/selectable-chip/types.d.ts +5 -0
- package/dist/types/components/filters/chip/types.d.ts +6 -0
- package/dist/types/components/forms/button/button/Button.vue.d.ts +4 -4
- package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +30 -7
- package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +81 -13
- package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +4 -20
- package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +91 -15
- package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +107 -21
- package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +121 -33
- package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +78 -12
- package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +4 -20
- package/dist/types/components/forms/select/ListOption.vue.d.ts +16 -60
- package/dist/types/components/forms/select/Select.vue.d.ts +26 -24
- package/dist/types/components/forms/select/types.d.ts +2 -2
- package/dist/types/components/forms/switch/Switch.vue.d.ts +108 -18
- package/dist/types/components/loader/CircleLoader.vue.d.ts +72 -10
- package/dist/types/components/modal/Modal.vue.d.ts +209 -0
- package/dist/types/components/modal/index.d.ts +2 -0
- package/dist/types/components/modal/modal.spec.d.ts +1 -0
- package/dist/types/components/modal/types.d.ts +16 -0
- package/dist/types/components/overlay/Overlay.vue.d.ts +2 -0
- package/dist/types/components/pagination/Pagination.vue.d.ts +190 -0
- package/dist/types/components/pagination/index.d.ts +2 -0
- package/dist/types/components/pagination/pagination.spec.d.ts +1 -0
- package/dist/types/components/pagination/types.d.ts +14 -0
- package/dist/types/composables/use-filters/index.d.ts +8 -0
- package/{cli/build/types/cli.d.ts → dist/types/composables/use-filters/use-filters.spec.d.ts} +0 -0
- package/dist/types/composables/use-modal/index.d.ts +4 -0
- package/dist/types/composables/use-validate-field/index.d.ts +3 -3
- package/dist/types/composables/use-validate-field/types.d.ts +4 -8
- package/dist/types/index.d.ts +2381 -993
- package/package.json +31 -20
- package/theme/solfacil/borders.ts +0 -1
- package/theme/solfacil/effects.ts +4 -4
- package/theme/solfacil/index.ts +2 -1
- package/theme/solfacil/screens.ts +16 -5
- package/theme/solfacil/utilities.ts +26 -1
- package/vite.config.ts +5 -0
- package/windi.config.ts +1 -14
- package/cli/build/cli.js +0 -68
- package/cli/build/commands/create:component.js +0 -124
- package/cli/build/commands/generate:plugin.js +0 -89
- package/cli/build/commands/generate:types.js +0 -76
- package/cli/build/commands/girassol-cli.js +0 -52
- package/cli/build/extensions/cli-extension.js +0 -17
- package/cli/build/templates/components.d.ts.ejs +0 -1
- package/cli/build/templates/nuxt-plugin.ejs +0 -8
- package/cli/build/templates/vue-plugin.ejs +0 -5
- package/cli/build/templates/windi.config.ts.ejs +0 -3
- package/cli/build/types/commands/create:component.d.ts +0 -1
- package/cli/build/types/commands/generate:plugin.d.ts +0 -1
- package/cli/build/types/commands/generate:types.d.ts +0 -7
- package/cli/build/types/commands/girassol-cli.d.ts +0 -1
- package/cli/build/types/extensions/cli-extension.d.ts +0 -1
- package/cli/build/types/types.d.ts +0 -0
- package/cli/build/types.js +0 -2
- package/dist/types/components/informations/chip/index.d.ts +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
|
-

|
|
7
|
-
|
|
8
6
|

|
|
9
7
|
|
|
10
8
|

|
|
11
9
|
|
|
12
|
-
[](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.
|
|
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.
|
|
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
|
-
#
|
|
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
|
-
|
|
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.
|
package/dist/components.d.ts
CHANGED
|
@@ -12,7 +12,8 @@ import '@vue/runtime-core'
|
|
|
12
12
|
SolCheckboxGroup: typeof import('@solfacil/girassol')['SolCheckboxGroup']
|
|
13
13
|
SolSwitch: typeof import('@solfacil/girassol')['SolSwitch']
|
|
14
14
|
SolSelect: typeof import('@solfacil/girassol')['SolSelect']
|
|
15
|
-
|
|
15
|
+
SolRemovableChip: typeof import('@solfacil/girassol')['SolRemovableChip']
|
|
16
|
+
SolSelectableChip: typeof import('@solfacil/girassol')['SolSelectableChip']
|
|
16
17
|
SolTag: typeof import('@solfacil/girassol')['SolTag']
|
|
17
18
|
SolAlert: typeof import('@solfacil/girassol')['SolAlert']
|
|
18
19
|
SolAccordion: typeof import('@solfacil/girassol')['SolAccordion']
|
|
@@ -20,6 +21,8 @@ import '@vue/runtime-core'
|
|
|
20
21
|
SolMenu: typeof import('@solfacil/girassol')['SolMenu']
|
|
21
22
|
SolMenuItemLink: typeof import('@solfacil/girassol')['SolMenuItemLink']
|
|
22
23
|
SolMenuNavigationLinks: typeof import('@solfacil/girassol')['SolMenuNavigationLinks']
|
|
24
|
+
SolModal: typeof import('@solfacil/girassol')['SolModal']
|
|
25
|
+
SolPagination: typeof import('@solfacil/girassol')['SolPagination']
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
|
package/dist/components.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"components":["SolButton","SolButtonDestructive","SolInputTextarea","SolInputText","SolInputTextPassword","SolRadio","SolRadioGroup","SolCheckbox","SolCheckboxGroup","SolSwitch","SolSelect","
|
|
1
|
+
{"components":["SolButton","SolButtonDestructive","SolInputTextarea","SolInputText","SolInputTextPassword","SolRadio","SolRadioGroup","SolCheckbox","SolCheckboxGroup","SolSwitch","SolSelect","SolRemovableChip","SolSelectableChip","SolTag","SolAlert","SolAccordion","SolList","SolMenu","SolMenuItemLink","SolMenuNavigationLinks","SolModal","SolPagination"]}
|