@solfacil/girassol 0.7.0 → 0.8.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 (60) hide show
  1. package/cli/build/cli.js +68 -0
  2. package/cli/build/commands/create:component.js +136 -0
  3. package/cli/build/commands/generate:plugin.js +109 -0
  4. package/cli/build/commands/generate:types.js +76 -0
  5. package/cli/build/commands/girassol-cli.js +52 -0
  6. package/cli/build/extensions/cli-extension.js +17 -0
  7. package/cli/build/templates/components.d.ts.ejs +1 -0
  8. package/cli/build/templates/nuxt-plugin.ejs +8 -0
  9. package/cli/build/templates/vitesse-plugin.ejs +8 -0
  10. package/cli/build/templates/vue-plugin.ejs +5 -0
  11. package/cli/build/templates/windi.config.ts.ejs +3 -0
  12. package/cli/build/types/cli.d.ts +1 -0
  13. package/cli/build/types/commands/create:component.d.ts +1 -0
  14. package/cli/build/types/commands/generate:plugin.d.ts +1 -0
  15. package/cli/build/types/commands/generate:types.d.ts +7 -0
  16. package/cli/build/types/commands/girassol-cli.d.ts +1 -0
  17. package/cli/build/types/extensions/cli-extension.d.ts +1 -0
  18. package/cli/build/types/types.d.ts +0 -0
  19. package/cli/build/types.js +2 -0
  20. package/dist/components.d.ts +4 -0
  21. package/dist/components.json +1 -1
  22. package/dist/girassol.es.js +2953 -2628
  23. package/dist/girassol.umd.js +9 -9
  24. package/dist/style.css +1 -1
  25. package/dist/types/components/empty-state/EmptyState.vue.d.ts +97 -0
  26. package/dist/types/components/empty-state/empty-state.spec.d.ts +1 -0
  27. package/dist/types/components/empty-state/index.d.ts +2 -0
  28. package/dist/types/components/empty-state/types.d.ts +7 -0
  29. package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +4 -4
  30. package/dist/types/components/forms/button/button/Button.vue.d.ts +4 -4
  31. package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +81 -13
  32. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +4 -20
  33. package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +91 -15
  34. package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +107 -21
  35. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +121 -33
  36. package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +78 -12
  37. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +4 -20
  38. package/dist/types/components/forms/select/ListOption.vue.d.ts +16 -60
  39. package/dist/types/components/forms/select/Select.vue.d.ts +23 -21
  40. package/dist/types/components/forms/select/types.d.ts +2 -2
  41. package/dist/types/components/forms/switch/Switch.vue.d.ts +107 -20
  42. package/dist/types/components/informations/tag/Tag.vue.d.ts +4 -4
  43. package/dist/types/components/list/ListItem.vue.d.ts +17 -9
  44. package/dist/types/components/list/types.d.ts +2 -2
  45. package/dist/types/components/loader/CircleLoader.vue.d.ts +72 -10
  46. package/dist/types/components/pagination/Pagination.vue.d.ts +190 -0
  47. package/dist/types/components/pagination/index.d.ts +2 -0
  48. package/dist/types/components/pagination/pagination.spec.d.ts +1 -0
  49. package/dist/types/components/pagination/types.d.ts +14 -0
  50. package/dist/types/components/tabs/TabItem.vue.d.ts +83 -0
  51. package/dist/types/components/tabs/Tabs.vue.d.ts +133 -0
  52. package/dist/types/components/tabs/index.d.ts +2 -0
  53. package/dist/types/components/tabs/tabs.spec.d.ts +1 -0
  54. package/dist/types/components/tabs/types.d.ts +13 -0
  55. package/dist/types/composables/use-navigate/index.d.ts +3 -6
  56. package/dist/types/composables/use-navigate/types.d.ts +8 -0
  57. package/dist/types/composables/use-validate-field/index.d.ts +3 -3
  58. package/dist/types/composables/use-validate-field/types.d.ts +4 -8
  59. package/dist/types/index.d.ts +2119 -847
  60. package/package.json +41 -31
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.7.0",
4
+ "version": "0.8.0",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -37,6 +37,7 @@
37
37
  },
38
38
  "types": "./dist/types/index.d.ts",
39
39
  "scripts": {
40
+ "typecheck": "vue-tsc --noEmit",
40
41
  "dev": "vite --port 3333 --host",
41
42
  "build:lib": "vue-tsc --noEmit && vite build",
42
43
  "build:lib:ts": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types",
@@ -55,69 +56,75 @@
55
56
  "cli:build": "yarn cli:clean-build && yarn cli:compile && yarn cli:copy-templates",
56
57
  "prepare": "husky install",
57
58
  "commit": "cz",
58
- "pre-commit": "./.husky/run-staged-tests.js"
59
+ "pre-commit": "./.husky/run-staged-tests.js",
60
+ "semantic-release": "semantic-release"
59
61
  },
60
62
  "dependencies": {
61
- "@vueuse/core": "^9.3.0",
63
+ "@vueuse/core": "^9.4.0",
62
64
  "gluegun": "latest",
63
65
  "maska": "^1.5.0",
64
- "vee-validate": "^4.6.6",
65
- "vue": "^3.2.40"
66
+ "vee-validate": "^4.7.1",
67
+ "vue": "^3.2.41"
66
68
  },
67
69
  "devDependencies": {
68
- "@antfu/eslint-config": "^0.26.1",
69
- "@babel/core": "^7.18.10",
70
- "@babel/preset-env": "^7.18.10",
71
- "@commitlint/cli": "^17.0.3",
72
- "@commitlint/config-conventional": "^17.0.3",
73
- "@iconify/json": "^2.1.101",
70
+ "@antfu/eslint-config": "^0.27.0",
71
+ "@babel/core": "^7.19.6",
72
+ "@babel/preset-env": "^7.19.4",
73
+ "@commitlint/cli": "^17.1.2",
74
+ "@commitlint/config-conventional": "^17.1.0",
75
+ "@iconify/json": "^2.1.125",
76
+ "@semantic-release/changelog": "^6.0.1",
77
+ "@semantic-release/git": "^10.0.1",
78
+ "@semantic-release/npm": "^9.0.1",
79
+ "@semantic-release/release-notes-generator": "^10.0.3",
74
80
  "@storybook/addon-a11y": "^6.5.10",
75
81
  "@storybook/addon-actions": "^6.5.10",
76
82
  "@storybook/addon-essentials": "^6.5.10",
77
83
  "@storybook/addon-links": "^6.5.10",
78
- "@storybook/builder-vite": "^0.2.2",
84
+ "@storybook/builder-vite": "^0.2.4",
79
85
  "@storybook/theming": "^6.5.10",
80
86
  "@storybook/vue3": "^6.5.10",
81
87
  "@testing-library/jest-dom": "^5.16.5",
82
88
  "@testing-library/user-event": "^14.4.3",
83
89
  "@testing-library/vue": "^6.6.1",
84
- "@types/jest-axe": "^3.5.4",
85
- "@types/node": "^17.0.41",
86
- "@typescript-eslint/eslint-plugin": "^5.30.0",
87
- "@typescript-eslint/parser": "^5.30.0",
88
- "@vitejs/plugin-vue": "^3.0.3",
89
- "@vitest/coverage-c8": "^0.22.1",
90
- "@vitest/ui": "^0.22.1",
90
+ "@types/jest-axe": "^3.5.5",
91
+ "@types/node": "18.8.0",
92
+ "@typescript-eslint/eslint-plugin": "^5.40.1",
93
+ "@typescript-eslint/parser": "^5.40.1",
94
+ "@vitejs/plugin-vue": "^3.1.2",
95
+ "@vitest/coverage-c8": "^0.24.3",
96
+ "@vitest/ui": "^0.24.3",
91
97
  "babel-loader": "^8.2.5",
92
98
  "c8": "^7.12.0",
93
99
  "cli-spinner": "^0.2.10",
94
- "commitizen": "^4.2.4",
100
+ "commitizen": "^4.2.5",
95
101
  "copyfiles": "^2.4.1",
96
102
  "critters": "^0.0.16",
97
- "eslint": "^8.18.0",
103
+ "eslint": "^8.25.0",
98
104
  "eslint-config-prettier": "^8.5.0",
99
- "eslint-plugin-html": "^6.2.0",
105
+ "eslint-plugin-html": "^7.1.0",
100
106
  "eslint-plugin-prettier": "^4.2.1",
101
- "eslint-plugin-vue": "^8.7.1",
107
+ "eslint-plugin-vue": "^9.6.0",
102
108
  "eslint-plugin-vuejs-accessibility": "^1.2.0",
103
109
  "husky": "^8.0.1",
104
110
  "jest-axe": "^5.0.1",
105
- "jsdom": "^20.0.0",
111
+ "jsdom": "^20.0.1",
106
112
  "sass": "^1.50.0",
113
+ "semantic-release": "^19.0.5",
107
114
  "storybook-addon-designs": "^6.3.1",
108
115
  "stylelint": "^14.10.0",
109
116
  "stylelint-config-prettier": "^9.0.3",
110
117
  "stylelint-config-property-sort-order-smacss": "^9.0.0",
111
118
  "stylelint-order": "^5.0.0",
112
119
  "ts-node": "^10.9.1",
113
- "typescript": "^4.7.4",
114
- "unplugin-icons": "^0.14.8",
115
- "vite": "^3.0.9",
116
- "vite-plugin-inspect": "^0.6.0",
117
- "vite-plugin-windicss": "^1.8.7",
118
- "vitest": "^0.23.2",
120
+ "typescript": "^4.8.4",
121
+ "unplugin-icons": "^0.14.12",
122
+ "vite": "^3.1.8",
123
+ "vite-plugin-inspect": "^0.7.5",
124
+ "vite-plugin-windicss": "^1.8.8",
125
+ "vitest": "^0.24.3",
119
126
  "vue-loader": "^17.0.0",
120
- "vue-tsc": "^0.40.13",
127
+ "vue-tsc": "^1.0.9",
121
128
  "windicss": "^3.5.6"
122
129
  },
123
130
  "resolutions": {
@@ -144,5 +151,8 @@
144
151
  "commitizen": {
145
152
  "path": "./node_modules/cz-conventional-changelog"
146
153
  }
154
+ },
155
+ "publishConfig": {
156
+ "access": "public"
147
157
  }
148
158
  }