@solfacil/girassol 0.6.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.
Files changed (44) hide show
  1. package/dist/components.d.ts +3 -1
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +2362 -2130
  4. package/dist/girassol.umd.js +6 -6
  5. package/dist/style.css +1 -1
  6. package/dist/theme/solfacil/index.d.ts +1 -0
  7. package/dist/theme/solfacil/utilities.d.ts +1 -0
  8. package/dist/types/components/{informations/chip/Chip.vue.d.ts → filters/chip/removable-chip/RemovableChip.vue.d.ts} +37 -37
  9. package/dist/types/components/filters/chip/removable-chip/index.d.ts +2 -0
  10. package/dist/types/components/{informations/chip/chip.spec.d.ts → filters/chip/removable-chip/removable-chip.spec.d.ts} +0 -0
  11. package/dist/types/components/filters/chip/removable-chip/types.d.ts +4 -0
  12. package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +125 -0
  13. package/dist/types/components/filters/chip/selectable-chip/index.d.ts +2 -0
  14. package/dist/types/components/filters/chip/selectable-chip/selectable-chip.spec.d.ts +1 -0
  15. package/dist/types/components/filters/chip/selectable-chip/types.d.ts +5 -0
  16. package/dist/types/components/filters/chip/types.d.ts +6 -0
  17. package/dist/types/components/forms/button/button/Button.vue.d.ts +4 -4
  18. package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +81 -13
  19. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +4 -20
  20. package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +91 -15
  21. package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +107 -21
  22. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +121 -33
  23. package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +78 -12
  24. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +4 -20
  25. package/dist/types/components/forms/select/ListOption.vue.d.ts +16 -60
  26. package/dist/types/components/forms/select/Select.vue.d.ts +26 -24
  27. package/dist/types/components/forms/select/types.d.ts +2 -2
  28. package/dist/types/components/forms/switch/Switch.vue.d.ts +107 -20
  29. package/dist/types/components/loader/CircleLoader.vue.d.ts +72 -10
  30. package/dist/types/components/modal/Modal.vue.d.ts +4 -4
  31. package/dist/types/components/pagination/Pagination.vue.d.ts +190 -0
  32. package/dist/types/components/pagination/index.d.ts +2 -0
  33. package/dist/types/components/pagination/pagination.spec.d.ts +1 -0
  34. package/dist/types/components/pagination/types.d.ts +14 -0
  35. package/dist/types/composables/use-filters/index.d.ts +8 -0
  36. package/dist/types/composables/use-filters/use-filters.spec.d.ts +1 -0
  37. package/dist/types/composables/use-validate-field/index.d.ts +3 -3
  38. package/dist/types/composables/use-validate-field/types.d.ts +4 -8
  39. package/dist/types/index.d.ts +2060 -971
  40. package/package.json +24 -18
  41. package/theme/solfacil/index.ts +2 -1
  42. package/theme/solfacil/utilities.ts +26 -1
  43. package/windi.config.ts +1 -14
  44. package/dist/types/components/informations/chip/index.d.ts +0 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.6.0",
4
+ "version": "0.7.0-beta-pagination.1",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -55,13 +55,14 @@
55
55
  "cli:build": "yarn cli:clean-build && yarn cli:compile && yarn cli:copy-templates",
56
56
  "prepare": "husky install",
57
57
  "commit": "cz",
58
- "pre-commit": "./.husky/run-staged-tests.js"
58
+ "pre-commit": "./.husky/run-staged-tests.js",
59
+ "semantic-release": "semantic-release"
59
60
  },
60
61
  "dependencies": {
61
62
  "@vueuse/core": "^9.3.0",
62
63
  "gluegun": "latest",
63
64
  "maska": "^1.5.0",
64
- "vee-validate": "^4.6.6",
65
+ "vee-validate": "^4.7.0",
65
66
  "vue": "^3.2.40"
66
67
  },
67
68
  "devDependencies": {
@@ -70,7 +71,11 @@
70
71
  "@babel/preset-env": "^7.18.10",
71
72
  "@commitlint/cli": "^17.0.3",
72
73
  "@commitlint/config-conventional": "^17.0.3",
73
- "@iconify/json": "^2.1.101",
74
+ "@iconify/json": "^2.1.119",
75
+ "@semantic-release/changelog": "^6.0.1",
76
+ "@semantic-release/git": "^10.0.1",
77
+ "@semantic-release/npm": "^9.0.1",
78
+ "@semantic-release/release-notes-generator": "^10.0.3",
74
79
  "@storybook/addon-a11y": "^6.5.10",
75
80
  "@storybook/addon-actions": "^6.5.10",
76
81
  "@storybook/addon-essentials": "^6.5.10",
@@ -81,20 +86,20 @@
81
86
  "@testing-library/jest-dom": "^5.16.5",
82
87
  "@testing-library/user-event": "^14.4.3",
83
88
  "@testing-library/vue": "^6.6.1",
84
- "@types/jest-axe": "^3.5.4",
85
- "@types/node": "^17.0.41",
89
+ "@types/jest-axe": "^3.5.5",
90
+ "@types/node": "18.8.0",
86
91
  "@typescript-eslint/eslint-plugin": "^5.30.0",
87
92
  "@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",
93
+ "@vitejs/plugin-vue": "^3.1.2",
94
+ "@vitest/coverage-c8": "^0.24.0",
95
+ "@vitest/ui": "^0.24.0",
91
96
  "babel-loader": "^8.2.5",
92
97
  "c8": "^7.12.0",
93
98
  "cli-spinner": "^0.2.10",
94
99
  "commitizen": "^4.2.4",
95
100
  "copyfiles": "^2.4.1",
96
101
  "critters": "^0.0.16",
97
- "eslint": "^8.18.0",
102
+ "eslint": "^8.25.0",
98
103
  "eslint-config-prettier": "^8.5.0",
99
104
  "eslint-plugin-html": "^6.2.0",
100
105
  "eslint-plugin-prettier": "^4.2.1",
@@ -102,22 +107,23 @@
102
107
  "eslint-plugin-vuejs-accessibility": "^1.2.0",
103
108
  "husky": "^8.0.1",
104
109
  "jest-axe": "^5.0.1",
105
- "jsdom": "^20.0.0",
110
+ "jsdom": "^20.0.1",
106
111
  "sass": "^1.50.0",
112
+ "semantic-release": "^19.0.5",
107
113
  "storybook-addon-designs": "^6.3.1",
108
114
  "stylelint": "^14.10.0",
109
115
  "stylelint-config-prettier": "^9.0.3",
110
116
  "stylelint-config-property-sort-order-smacss": "^9.0.0",
111
117
  "stylelint-order": "^5.0.0",
112
118
  "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",
119
+ "typescript": "^4.8.4",
120
+ "unplugin-icons": "^0.14.11",
121
+ "vite": "^3.1.6",
122
+ "vite-plugin-inspect": "^0.7.5",
123
+ "vite-plugin-windicss": "^1.8.8",
124
+ "vitest": "^0.24.0",
119
125
  "vue-loader": "^17.0.0",
120
- "vue-tsc": "^0.40.13",
126
+ "vue-tsc": "^1.0.7",
121
127
  "windicss": "^3.5.6"
122
128
  },
123
129
  "resolutions": {
@@ -6,7 +6,7 @@ import effects from './effects'
6
6
  import misc from './miscs'
7
7
 
8
8
  import { screens } from './screens'
9
- import { componentTypos, debug, maxLines, outlinesForFocus, placeholder, scrollbarBase } from './utilities'
9
+ import { componentTypos, debug, iconSizes, maxLines, outlinesForFocus, placeholder, scrollbarBase } from './utilities'
10
10
 
11
11
 
12
12
  export {
@@ -26,4 +26,5 @@ export const utilities = {
26
26
  debug,
27
27
  placeholder,
28
28
  scrollbarBase,
29
+ iconSizes,
29
30
  }
@@ -213,7 +213,7 @@ export const outlinesForFocus = plugin(({ addUtilities }) => {
213
213
  addUtilities({
214
214
  '.outline-focused': {
215
215
  outline: '2px solid #8250DF',
216
- outlineOffset: '2px',
216
+ outlineOffset: '4px',
217
217
  outlineStyle: 'auto',
218
218
  },
219
219
  })
@@ -325,4 +325,29 @@ export const scrollbarBase = plugin(({ addBase }) => {
325
325
  'display': 'none',
326
326
  },
327
327
  })
328
+ })
329
+
330
+ export const iconSizes = plugin(({ addUtilities }) => {
331
+ addUtilities({
332
+ '.icon-size-small': {
333
+ height: '16px',
334
+ width: '16px',
335
+ },
336
+ '.icon-size-medium': {
337
+ height: '24px',
338
+ width: '24px',
339
+ },
340
+ '.icon-size-large': {
341
+ height: '32px',
342
+ width: '32px',
343
+ },
344
+ '.icon-size-x-large': {
345
+ height: '40px',
346
+ width: '40px',
347
+ },
348
+ '.icon-size-giga': {
349
+ height: '48px',
350
+ width: '48px',
351
+ },
352
+ })
328
353
  })
package/windi.config.ts CHANGED
@@ -4,10 +4,6 @@ import typography from 'windicss/plugin/typography'
4
4
 
5
5
  import { borders, colors, effects, misc, screens, spacing, typography as typos, utilities } from './theme/solfacil/'
6
6
 
7
- // import { sizings } from './theme/solfacil/spacing'
8
-
9
- // import { safelist } from './theme/safelist'
10
-
11
7
  export default defineConfig({
12
8
  darkMode: 'class',
13
9
  attributify: false,
@@ -15,16 +11,6 @@ export default defineConfig({
15
11
  include: ['index.html', 'src/**/*', '*.mdx', '*.vue'],
16
12
  },
17
13
 
18
- // safelist: [
19
- // ...safelist({
20
- // activeSafeList: true,
21
- // data: {
22
- // colors,
23
- // spacing: sizings,
24
- // },
25
- // }),
26
- // ],
27
-
28
14
  plugins: [
29
15
  typography(),
30
16
  utilities.outlinesForFocus,
@@ -33,6 +19,7 @@ export default defineConfig({
33
19
  utilities.placeholder,
34
20
  utilities.componentTypos,
35
21
  utilities.scrollbarBase,
22
+ utilities.iconSizes,
36
23
  ],
37
24
 
38
25
  theme: {
@@ -1,2 +0,0 @@
1
- import SolChip from './Chip.vue';
2
- export { SolChip, };