@solfacil/girassol 0.1.10 → 0.1.11

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.
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ id: string;
3
+ title?: string | undefined;
4
+ invert?: boolean | undefined;
5
+ disabled?: boolean | undefined;
6
+ }>, {
7
+ title: string;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ id: string;
10
+ title?: string | undefined;
11
+ invert?: boolean | undefined;
12
+ disabled?: boolean | undefined;
13
+ }>, {
14
+ title: string;
15
+ }>>>, {
16
+ title: string;
17
+ }>;
18
+ export default _default;
19
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ declare type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
30
+ default: D[K];
31
+ } : P[K];
32
+ };
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,2 @@
1
+ import SolAccordion from './Accordion.vue';
2
+ export { SolAccordion, };
@@ -28,8 +28,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
28
  direction: string;
29
29
  hideTitle: boolean;
30
30
  }>>> & {
31
- "onUpdate:modelValue"?: ((a: any) => any) | undefined;
32
31
  onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((a: any) => any) | undefined;
33
33
  }, {
34
34
  direction: 'row' | 'column';
35
35
  hideTitle: boolean;
@@ -28,8 +28,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
28
  direction: string;
29
29
  hideTitle: boolean;
30
30
  }>>> & {
31
- "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
32
31
  onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
33
33
  }, {
34
34
  direction: 'row' | 'column';
35
35
  hideTitle: boolean;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
29
29
  }>>> & {
30
30
  "onUpdate:modelValue"?: ((event: string) => any) | undefined;
31
31
  }, {
32
- modelValue: string;
33
32
  label: string;
33
+ modelValue: string;
34
34
  resize: 'both' | 'horizontal' | 'vertical' | 'none';
35
35
  }>;
36
36
  export default _default;
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  }>>> & {
26
26
  "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
27
27
  }, {
28
- modelValue: string | number;
29
28
  label: string;
29
+ modelValue: string | number;
30
30
  }>;
31
31
  export default _default;
32
32
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -9,6 +9,7 @@ import { SolSwitch } from './components/forms/switch';
9
9
  import { SolDropdown } from './components/dropdown/';
10
10
  import { SolSelect } from './components/forms/select';
11
11
  import { SolChip } from './components/informations/chip';
12
+ import { SolAccordion } from './components/accordion/';
12
13
  import 'virtual:windi-base.css';
13
14
  import 'virtual:windi-components.css';
14
15
  import 'virtual:windi-utilities.css';
@@ -102,15 +103,10 @@ export declare const components: {
102
103
  type: import("vue").PropType<string>;
103
104
  required: true;
104
105
  };
105
- modelValue: {
106
- type: import("vue").PropType<string>;
107
- } & {
108
- default: string;
109
- };
110
106
  invert: {
111
107
  type: import("vue").PropType<boolean>;
112
108
  };
113
- error: {
109
+ class: {
114
110
  type: import("vue").PropType<string>;
115
111
  };
116
112
  label: {
@@ -118,7 +114,12 @@ export declare const components: {
118
114
  } & {
119
115
  default: string;
120
116
  };
121
- class: {
117
+ modelValue: {
118
+ type: import("vue").PropType<string>;
119
+ } & {
120
+ default: string;
121
+ };
122
+ error: {
122
123
  type: import("vue").PropType<string>;
123
124
  };
124
125
  resize: {
@@ -136,15 +137,10 @@ export declare const components: {
136
137
  type: import("vue").PropType<string>;
137
138
  required: true;
138
139
  };
139
- modelValue: {
140
- type: import("vue").PropType<string>;
141
- } & {
142
- default: string;
143
- };
144
140
  invert: {
145
141
  type: import("vue").PropType<boolean>;
146
142
  };
147
- error: {
143
+ class: {
148
144
  type: import("vue").PropType<string>;
149
145
  };
150
146
  label: {
@@ -152,7 +148,12 @@ export declare const components: {
152
148
  } & {
153
149
  default: string;
154
150
  };
155
- class: {
151
+ modelValue: {
152
+ type: import("vue").PropType<string>;
153
+ } & {
154
+ default: string;
155
+ };
156
+ error: {
156
157
  type: import("vue").PropType<string>;
157
158
  };
158
159
  resize: {
@@ -166,8 +167,8 @@ export declare const components: {
166
167
  }>> & {
167
168
  "onUpdate:modelValue"?: ((event: string) => any) | undefined;
168
169
  }, {
169
- modelValue: string;
170
170
  label: string;
171
+ modelValue: string;
171
172
  resize: "both" | "horizontal" | "vertical" | "none";
172
173
  }>;
173
174
  SolTextfield: import("vue").DefineComponent<{
@@ -175,15 +176,10 @@ export declare const components: {
175
176
  type: import("vue").PropType<string>;
176
177
  required: true;
177
178
  };
178
- modelValue: {
179
- type: import("vue").PropType<string | number>;
180
- } & {
181
- default: string;
182
- };
183
179
  invert: {
184
180
  type: import("vue").PropType<boolean>;
185
181
  };
186
- error: {
182
+ class: {
187
183
  type: import("vue").PropType<string>;
188
184
  };
189
185
  label: {
@@ -191,7 +187,12 @@ export declare const components: {
191
187
  } & {
192
188
  default: string;
193
189
  };
194
- class: {
190
+ modelValue: {
191
+ type: import("vue").PropType<string | number>;
192
+ } & {
193
+ default: string;
194
+ };
195
+ error: {
195
196
  type: import("vue").PropType<string>;
196
197
  };
197
198
  hint: {
@@ -204,15 +205,10 @@ export declare const components: {
204
205
  type: import("vue").PropType<string>;
205
206
  required: true;
206
207
  };
207
- modelValue: {
208
- type: import("vue").PropType<string | number>;
209
- } & {
210
- default: string;
211
- };
212
208
  invert: {
213
209
  type: import("vue").PropType<boolean>;
214
210
  };
215
- error: {
211
+ class: {
216
212
  type: import("vue").PropType<string>;
217
213
  };
218
214
  label: {
@@ -220,7 +216,12 @@ export declare const components: {
220
216
  } & {
221
217
  default: string;
222
218
  };
223
- class: {
219
+ modelValue: {
220
+ type: import("vue").PropType<string | number>;
221
+ } & {
222
+ default: string;
223
+ };
224
+ error: {
224
225
  type: import("vue").PropType<string>;
225
226
  };
226
227
  hint: {
@@ -229,8 +230,8 @@ export declare const components: {
229
230
  }>> & {
230
231
  "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
231
232
  }, {
232
- modelValue: string | number;
233
233
  label: string;
234
+ modelValue: string | number;
234
235
  }>;
235
236
  SolTextfieldPassword: import("vue").DefineComponent<{
236
237
  id: {
@@ -316,6 +317,10 @@ export declare const components: {
316
317
  type: import("vue").PropType<string>;
317
318
  required: true;
318
319
  };
320
+ title: {
321
+ type: import("vue").PropType<string>;
322
+ required: true;
323
+ };
319
324
  modelValue: {
320
325
  type: import("vue").PropType<import("./components/forms/radio/radio-type").RadioValue>;
321
326
  required: true;
@@ -323,10 +328,6 @@ export declare const components: {
323
328
  error: {
324
329
  type: import("vue").PropType<string>;
325
330
  };
326
- title: {
327
- type: import("vue").PropType<string>;
328
- required: true;
329
- };
330
331
  direction: {
331
332
  type: import("vue").PropType<"row" | "column">;
332
333
  } & {
@@ -353,6 +354,10 @@ export declare const components: {
353
354
  type: import("vue").PropType<string>;
354
355
  required: true;
355
356
  };
357
+ title: {
358
+ type: import("vue").PropType<string>;
359
+ required: true;
360
+ };
356
361
  modelValue: {
357
362
  type: import("vue").PropType<import("./components/forms/radio/radio-type").RadioValue>;
358
363
  required: true;
@@ -360,10 +365,6 @@ export declare const components: {
360
365
  error: {
361
366
  type: import("vue").PropType<string>;
362
367
  };
363
- title: {
364
- type: import("vue").PropType<string>;
365
- required: true;
366
- };
367
368
  direction: {
368
369
  type: import("vue").PropType<"row" | "column">;
369
370
  } & {
@@ -382,8 +383,8 @@ export declare const components: {
382
383
  required: true;
383
384
  };
384
385
  }>> & {
385
- "onUpdate:modelValue"?: ((value: import("./components/forms/radio/radio-type").RadioValue) => any) | undefined;
386
386
  onChange?: ((value: import("./components/forms/radio/radio-type").RadioValue) => any) | undefined;
387
+ "onUpdate:modelValue"?: ((value: import("./components/forms/radio/radio-type").RadioValue) => any) | undefined;
387
388
  }, {
388
389
  direction: "row" | "column";
389
390
  hideTitle: boolean;
@@ -444,16 +445,16 @@ export declare const components: {
444
445
  type: import("vue").PropType<string>;
445
446
  required: true;
446
447
  };
448
+ title: {
449
+ type: import("vue").PropType<string>;
450
+ required: true;
451
+ };
447
452
  modelValue: {
448
453
  type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").CheckboxValue[]>;
449
454
  };
450
455
  error: {
451
456
  type: import("vue").PropType<string>;
452
457
  };
453
- title: {
454
- type: import("vue").PropType<string>;
455
- required: true;
456
- };
457
458
  direction: {
458
459
  type: import("vue").PropType<"row" | "column">;
459
460
  } & {
@@ -480,16 +481,16 @@ export declare const components: {
480
481
  type: import("vue").PropType<string>;
481
482
  required: true;
482
483
  };
484
+ title: {
485
+ type: import("vue").PropType<string>;
486
+ required: true;
487
+ };
483
488
  modelValue: {
484
489
  type: import("vue").PropType<import("./components/forms/checkbox/checkbox-type").CheckboxValue[]>;
485
490
  };
486
491
  error: {
487
492
  type: import("vue").PropType<string>;
488
493
  };
489
- title: {
490
- type: import("vue").PropType<string>;
491
- required: true;
492
- };
493
494
  direction: {
494
495
  type: import("vue").PropType<"row" | "column">;
495
496
  } & {
@@ -508,8 +509,8 @@ export declare const components: {
508
509
  required: true;
509
510
  };
510
511
  }>> & {
511
- "onUpdate:modelValue"?: ((a: any) => any) | undefined;
512
512
  onChange?: ((value: import("./components/forms/checkbox/checkbox-type").CheckboxValue) => any) | undefined;
513
+ "onUpdate:modelValue"?: ((a: any) => any) | undefined;
513
514
  }, {
514
515
  direction: "row" | "column";
515
516
  hideTitle: boolean;
@@ -582,6 +583,9 @@ export declare const components: {
582
583
  type: import("vue").PropType<string>;
583
584
  required: true;
584
585
  };
586
+ disabled: {
587
+ type: import("vue").PropType<boolean>;
588
+ };
585
589
  label: {
586
590
  type: import("vue").PropType<string>;
587
591
  };
@@ -591,9 +595,6 @@ export declare const components: {
591
595
  smallerWidth: {
592
596
  type: import("vue").PropType<boolean>;
593
597
  };
594
- disabled: {
595
- type: import("vue").PropType<boolean>;
596
- };
597
598
  loading: {
598
599
  type: import("vue").PropType<boolean>;
599
600
  } & {
@@ -643,6 +644,9 @@ export declare const components: {
643
644
  type: import("vue").PropType<string>;
644
645
  required: true;
645
646
  };
647
+ disabled: {
648
+ type: import("vue").PropType<boolean>;
649
+ };
646
650
  label: {
647
651
  type: import("vue").PropType<string>;
648
652
  };
@@ -652,9 +656,6 @@ export declare const components: {
652
656
  smallerWidth: {
653
657
  type: import("vue").PropType<boolean>;
654
658
  };
655
- disabled: {
656
- type: import("vue").PropType<boolean>;
657
- };
658
659
  loading: {
659
660
  type: import("vue").PropType<boolean>;
660
661
  } & {
@@ -712,6 +713,12 @@ export declare const components: {
712
713
  type: import("vue").PropType<string>;
713
714
  required: true;
714
715
  };
716
+ disabled: {
717
+ type: import("vue").PropType<boolean>;
718
+ };
719
+ label: {
720
+ type: import("vue").PropType<string>;
721
+ };
715
722
  modelValue: {
716
723
  type: import("vue").PropType<string | string[]>;
717
724
  required: true;
@@ -719,18 +726,12 @@ export declare const components: {
719
726
  error: {
720
727
  type: import("vue").PropType<string>;
721
728
  };
722
- label: {
723
- type: import("vue").PropType<string>;
724
- };
725
729
  ariaLabel: {
726
730
  type: import("vue").PropType<string>;
727
731
  };
728
732
  smallerWidth: {
729
733
  type: import("vue").PropType<boolean>;
730
734
  };
731
- disabled: {
732
- type: import("vue").PropType<boolean>;
733
- };
734
735
  searchable: {
735
736
  type: import("vue").PropType<boolean>;
736
737
  };
@@ -759,6 +760,12 @@ export declare const components: {
759
760
  type: import("vue").PropType<string>;
760
761
  required: true;
761
762
  };
763
+ disabled: {
764
+ type: import("vue").PropType<boolean>;
765
+ };
766
+ label: {
767
+ type: import("vue").PropType<string>;
768
+ };
762
769
  modelValue: {
763
770
  type: import("vue").PropType<string | string[]>;
764
771
  required: true;
@@ -766,18 +773,12 @@ export declare const components: {
766
773
  error: {
767
774
  type: import("vue").PropType<string>;
768
775
  };
769
- label: {
770
- type: import("vue").PropType<string>;
771
- };
772
776
  ariaLabel: {
773
777
  type: import("vue").PropType<string>;
774
778
  };
775
779
  smallerWidth: {
776
780
  type: import("vue").PropType<boolean>;
777
781
  };
778
- disabled: {
779
- type: import("vue").PropType<boolean>;
780
- };
781
782
  searchable: {
782
783
  type: import("vue").PropType<boolean>;
783
784
  };
@@ -809,12 +810,12 @@ export declare const components: {
809
810
  type: import("vue").PropType<string>;
810
811
  required: true;
811
812
  };
812
- label: {
813
- type: import("vue").PropType<string>;
814
- };
815
813
  disabled: {
816
814
  type: import("vue").PropType<boolean>;
817
815
  };
816
+ label: {
817
+ type: import("vue").PropType<string>;
818
+ };
818
819
  selected: {
819
820
  type: import("vue").PropType<boolean>;
820
821
  };
@@ -832,12 +833,12 @@ export declare const components: {
832
833
  type: import("vue").PropType<string>;
833
834
  required: true;
834
835
  };
835
- label: {
836
- type: import("vue").PropType<string>;
837
- };
838
836
  disabled: {
839
837
  type: import("vue").PropType<boolean>;
840
838
  };
839
+ label: {
840
+ type: import("vue").PropType<string>;
841
+ };
841
842
  selected: {
842
843
  type: import("vue").PropType<boolean>;
843
844
  };
@@ -852,6 +853,41 @@ export declare const components: {
852
853
  }, {
853
854
  removable: boolean;
854
855
  }>;
856
+ SolAccordion: import("vue").DefineComponent<{
857
+ id: {
858
+ type: import("vue").PropType<string>;
859
+ required: true;
860
+ };
861
+ title: {
862
+ type: import("vue").PropType<string>;
863
+ } & {
864
+ default: string;
865
+ };
866
+ invert: {
867
+ type: import("vue").PropType<boolean>;
868
+ };
869
+ disabled: {
870
+ type: import("vue").PropType<boolean>;
871
+ };
872
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
873
+ id: {
874
+ type: import("vue").PropType<string>;
875
+ required: true;
876
+ };
877
+ title: {
878
+ type: import("vue").PropType<string>;
879
+ } & {
880
+ default: string;
881
+ };
882
+ invert: {
883
+ type: import("vue").PropType<boolean>;
884
+ };
885
+ disabled: {
886
+ type: import("vue").PropType<boolean>;
887
+ };
888
+ }>>, {
889
+ title: string;
890
+ }>;
855
891
  };
856
892
  export declare function install(App: App): void;
857
- export { SolButton, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, };
893
+ export { SolButton, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, };
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.10",
4
+ "version": "0.1.11",
5
5
  "authors": [
6
6
  {
7
7
  "name": "Kevin Martin",
@@ -62,26 +62,26 @@
62
62
  "vue": "^3.2.37"
63
63
  },
64
64
  "devDependencies": {
65
- "@antfu/eslint-config": "^0.23.1",
65
+ "@antfu/eslint-config": "^0.25.1",
66
66
  "@babel/core": "^7.18.2",
67
67
  "@babel/preset-env": "^7.18.2",
68
68
  "@commitlint/cli": "^17.0.2",
69
69
  "@commitlint/config-conventional": "^17.0.2",
70
- "@iconify/json": "^2.1.57",
71
- "@storybook/addon-a11y": "^6.5.5",
72
- "@storybook/addon-actions": "^6.5.5",
73
- "@storybook/addon-essentials": "^6.5.5",
74
- "@storybook/addon-links": "^6.5.5",
75
- "@storybook/builder-vite": "^0.1.35",
76
- "@storybook/theming": "^6.5.5",
77
- "@storybook/vue3": "^6.5.5",
70
+ "@iconify/json": "^2.1.58",
71
+ "@storybook/addon-a11y": "^6.5.8",
72
+ "@storybook/addon-actions": "^6.5.8",
73
+ "@storybook/addon-essentials": "^6.5.8",
74
+ "@storybook/addon-links": "^6.5.8",
75
+ "@storybook/builder-vite": "^0.1.36",
76
+ "@storybook/theming": "^6.5.8",
77
+ "@storybook/vue3": "^6.5.8",
78
78
  "@testing-library/jest-dom": "^5.16.4",
79
79
  "@testing-library/user-event": "^14.2.0",
80
- "@testing-library/vue": "^6.5.1",
80
+ "@testing-library/vue": "^6.6.0",
81
81
  "@types/jest-axe": "^3.5.3",
82
- "@types/node": "^17.0.35",
83
- "@typescript-eslint/eslint-plugin": "^5.26.0",
84
- "@typescript-eslint/parser": "^5.26.0",
82
+ "@types/node": "^17.0.41",
83
+ "@typescript-eslint/eslint-plugin": "^5.27.1",
84
+ "@typescript-eslint/parser": "^5.27.1",
85
85
  "@vitejs/plugin-vue": "^2.3.3",
86
86
  "babel-loader": "^8.2.5",
87
87
  "c8": "^7.11.3",
@@ -89,28 +89,28 @@
89
89
  "commitizen": "^4.2.4",
90
90
  "copyfiles": "^2.4.1",
91
91
  "critters": "^0.0.16",
92
- "eslint": "^8.14.0",
92
+ "eslint": "^8.17.0",
93
93
  "eslint-config-prettier": "^8.5.0",
94
94
  "eslint-plugin-html": "^6.2.0",
95
95
  "eslint-plugin-prettier": "^4.0.0",
96
96
  "eslint-plugin-vue": "^8.7.1",
97
- "eslint-plugin-vuejs-accessibility": "^1.1.1",
97
+ "eslint-plugin-vuejs-accessibility": "^1.2.0",
98
98
  "husky": "^8.0.1",
99
99
  "jest-axe": "^5.0.1",
100
100
  "jsdom": "^19.0.0",
101
101
  "sass": "^1.50.0",
102
102
  "storybook-addon-designs": "^6.2.1",
103
- "stylelint": "^14.8.2",
103
+ "stylelint": "^14.9.0",
104
104
  "stylelint-config-prettier": "^9.0.3",
105
105
  "stylelint-config-property-sort-order-smacss": "^9.0.0",
106
106
  "stylelint-order": "^5.0.0",
107
107
  "ts-node": "^10.8.1",
108
108
  "typescript": "^4.6.3",
109
109
  "unplugin-icons": "^0.14.3",
110
- "vite": "^2.9.9",
110
+ "vite": "^2.9.13",
111
111
  "vite-plugin-inspect": "^0.5.0",
112
112
  "vite-plugin-windicss": "^1.8.4",
113
- "vitest": "^0.12.9",
113
+ "vitest": "^0.16.0",
114
114
  "vue-loader": "^17.0.0",
115
115
  "vue-tsc": "^0.34.15",
116
116
  "windicss": "^3.5.4"