@solfacil/girassol 0.1.6 → 0.1.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/.vscode/settings.json +1 -0
- package/README.md +46 -3
- package/cli/src/commands/create:component.ts +2 -0
- package/cli/src/templates/components/component.vue.ejs +11 -11
- package/dist/girassol.es.js +276 -183
- package/dist/girassol.umd.js +5 -5
- package/dist/style.css +1 -1
- package/dist/types/components/dropdown/Dropdown.vue.d.ts +4 -0
- package/dist/types/components/forms/button/Button.vue.d.ts +1 -1
- package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/select/Select.vue.d.ts +6 -5
- package/dist/types/components/forms/textarea/Textarea.vue.d.ts +1 -1
- package/dist/types/components/forms/textfield/Textfield.vue.d.ts +5 -5
- package/dist/types/components/informations/chip/Chip.vue.d.ts +41 -0
- package/dist/types/components/informations/chip/chip.spec.d.ts +1 -0
- package/dist/types/components/informations/chip/index.d.ts +2 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/vite.config.d.ts +1 -1
- package/package.json +35 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,11 +8,12 @@ import { SolCheckbox, SolCheckboxGroup } from './components/forms/checkbox';
|
|
|
8
8
|
import { SolSwitch } from './components/forms/switch';
|
|
9
9
|
import { SolDropdown } from './components/dropdown/';
|
|
10
10
|
import { SolSelect } from './components/forms/select';
|
|
11
|
+
import { SolChip } from './components/informations/chip';
|
|
11
12
|
import 'virtual:windi-base.css';
|
|
12
13
|
import 'virtual:windi-components.css';
|
|
13
14
|
import 'virtual:windi-utilities.css';
|
|
14
15
|
import '@/assets/style.css';
|
|
15
16
|
export { useToast } from './composables/use-toast';
|
|
16
17
|
export declare function install(App: App): void;
|
|
17
|
-
export { SolButton, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, };
|
|
18
|
+
export { SolButton, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, };
|
|
18
19
|
export declare const componentsNames: string[];
|
package/dist/vite.config.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vitest/dist/config").
|
|
1
|
+
declare const _default: import("vitest/dist/config").UserConfigExport;
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solfacil/girassol",
|
|
3
3
|
"description": "Girassol design system",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.9",
|
|
5
5
|
"authors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Kevin Martin",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"types": "./dist/types/index.d.ts",
|
|
34
34
|
"scripts": {
|
|
35
35
|
"dev": "vite --port 3333 --host",
|
|
36
|
+
"build:cli": "cd cli/ && yarn build",
|
|
36
37
|
"build:lib": "vue-tsc --noEmit && vite build",
|
|
37
38
|
"build:lib:ts": "vite build && vue-tsc --emitDeclarationOnly && mv dist/src dist/types",
|
|
38
39
|
"preview": "vite preview",
|
|
@@ -43,33 +44,41 @@
|
|
|
43
44
|
"test:w": "vitest watch --silent ",
|
|
44
45
|
"test:coverage": "vitest run --silent --coverage",
|
|
45
46
|
"storybook": "start-storybook -p 6006 --ci",
|
|
47
|
+
"prepare": "husky install",
|
|
48
|
+
"commit": "cz",
|
|
49
|
+
"pre-commit": "./.husky/run-staged-tests.js",
|
|
46
50
|
"build-storybook": "build-storybook"
|
|
47
51
|
},
|
|
48
52
|
"dependencies": {
|
|
49
53
|
"@vueuse/core": "^8.5.0",
|
|
50
|
-
"vue": "^3.2.
|
|
54
|
+
"vue": "^3.2.36"
|
|
51
55
|
},
|
|
52
56
|
"devDependencies": {
|
|
53
57
|
"@antfu/eslint-config": "^0.23.1",
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@babel/preset-env": "^7.
|
|
58
|
+
"@babel/core": "^7.18.2",
|
|
59
|
+
"@babel/preset-env": "^7.18.2",
|
|
60
|
+
"@commitlint/cli": "^17.0.1",
|
|
61
|
+
"@commitlint/config-conventional": "^17.0.0",
|
|
56
62
|
"@iconify/json": "^2.1.28",
|
|
57
|
-
"@storybook/addon-a11y": "^6.
|
|
58
|
-
"@storybook/addon-actions": "^6.
|
|
59
|
-
"@storybook/addon-essentials": "^6.
|
|
60
|
-
"@storybook/addon-links": "^6.
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/
|
|
63
|
+
"@storybook/addon-a11y": "^6.5.5",
|
|
64
|
+
"@storybook/addon-actions": "^6.5.5",
|
|
65
|
+
"@storybook/addon-essentials": "^6.5.5",
|
|
66
|
+
"@storybook/addon-links": "^6.5.5",
|
|
67
|
+
"@storybook/builder-vite": "^0.1.35",
|
|
68
|
+
"@storybook/theming": "^6.5.5",
|
|
69
|
+
"@storybook/vue3": "^6.5.5",
|
|
63
70
|
"@testing-library/jest-dom": "^5.16.4",
|
|
64
71
|
"@testing-library/user-event": "^14.2.0",
|
|
65
72
|
"@testing-library/vue": "^6.5.1",
|
|
66
73
|
"@types/jest-axe": "^3.5.3",
|
|
67
|
-
"@types/node": "^17.0.
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
69
|
-
"@typescript-eslint/parser": "^5.
|
|
70
|
-
"@vitejs/plugin-vue": "^2.3.
|
|
71
|
-
"babel-loader": "^8.2.
|
|
72
|
-
"c8": "^7.11.
|
|
74
|
+
"@types/node": "^17.0.35",
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
76
|
+
"@typescript-eslint/parser": "^5.26.0",
|
|
77
|
+
"@vitejs/plugin-vue": "^2.3.3",
|
|
78
|
+
"babel-loader": "^8.2.5",
|
|
79
|
+
"c8": "^7.11.3",
|
|
80
|
+
"cli-spinner": "^0.2.10",
|
|
81
|
+
"commitizen": "^4.2.4",
|
|
73
82
|
"critters": "^0.0.16",
|
|
74
83
|
"eslint": "^8.14.0",
|
|
75
84
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -77,21 +86,21 @@
|
|
|
77
86
|
"eslint-plugin-prettier": "^4.0.0",
|
|
78
87
|
"eslint-plugin-vue": "^8.7.1",
|
|
79
88
|
"eslint-plugin-vuejs-accessibility": "^1.1.1",
|
|
89
|
+
"husky": "^8.0.1",
|
|
80
90
|
"jest-axe": "^5.0.1",
|
|
81
91
|
"jsdom": "^19.0.0",
|
|
82
92
|
"sass": "^1.50.0",
|
|
83
93
|
"storybook-addon-designs": "^6.2.1",
|
|
84
|
-
"storybook-builder-vite": "^0.1.23",
|
|
85
94
|
"stylelint": "^14.8.2",
|
|
86
95
|
"stylelint-config-prettier": "^9.0.3",
|
|
87
96
|
"stylelint-config-property-sort-order-smacss": "^9.0.0",
|
|
88
97
|
"stylelint-order": "^5.0.0",
|
|
89
98
|
"typescript": "^4.6.3",
|
|
90
|
-
"unplugin-icons": "^0.14.
|
|
99
|
+
"unplugin-icons": "^0.14.3",
|
|
91
100
|
"vite": "^2.9.9",
|
|
92
|
-
"vite-plugin-inspect": "^0.
|
|
101
|
+
"vite-plugin-inspect": "^0.5.0",
|
|
93
102
|
"vite-plugin-windicss": "^1.8.4",
|
|
94
|
-
"vitest": "^0.12.
|
|
103
|
+
"vitest": "^0.12.9",
|
|
95
104
|
"vue-loader": "^17.0.0",
|
|
96
105
|
"vue-tsc": "^0.34.15",
|
|
97
106
|
"windicss": "^3.5.4"
|
|
@@ -111,5 +120,10 @@
|
|
|
111
120
|
"vue.js",
|
|
112
121
|
"nuxt",
|
|
113
122
|
"nuxt 3"
|
|
114
|
-
]
|
|
123
|
+
],
|
|
124
|
+
"config": {
|
|
125
|
+
"commitizen": {
|
|
126
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
115
129
|
}
|