@solfacil/girassol 0.6.0 → 0.7.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 (27) hide show
  1. package/dist/components.d.ts +2 -1
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +1378 -1274
  4. package/dist/girassol.umd.js +4 -4
  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/select/Select.vue.d.ts +4 -4
  19. package/dist/types/components/modal/Modal.vue.d.ts +4 -4
  20. package/dist/types/composables/use-filters/index.d.ts +8 -0
  21. package/dist/types/composables/use-filters/use-filters.spec.d.ts +1 -0
  22. package/dist/types/index.d.ts +406 -233
  23. package/package.json +1 -1
  24. package/theme/solfacil/index.ts +2 -1
  25. package/theme/solfacil/utilities.ts +26 -1
  26. package/windi.config.ts +1 -14
  27. 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",
5
5
  "license": "MIT",
6
6
  "authors": [
7
7
  {
@@ -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, };