@solfacil/girassol 0.2.6 → 0.2.7
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/dist/components.d.ts +1 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +920 -822
- package/dist/girassol.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/theme/solfacil/screens.d.ts +0 -1
- package/dist/types/components/informations/chip/Chip.vue.d.ts +1 -1
- package/dist/types/components/{menu → menus/menu}/Menu.vue.d.ts +10 -8
- package/dist/types/components/{menu → menus/menu}/index.d.ts +0 -0
- package/dist/types/components/{menu → menus/menu}/menu.spec.d.ts +0 -0
- package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +88 -0
- package/dist/types/components/{menu-item → menus/menu-item/menu-item-link}/index.d.ts +0 -0
- package/dist/types/components/menus/menu-item/menu-item-link/types.d.ts +6 -0
- package/dist/types/components/{menu-item/MenuItemLink.vue.d.ts → menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts} +12 -16
- package/dist/types/components/menus/menu-navigation-links/index.d.ts +2 -0
- package/dist/types/index.d.ts +143 -36
- package/package.json +11 -11
- package/theme/solfacil/screens.ts +1 -1
- package/theme/solfacil/utilities.ts +11 -0
- package/vite.config.ts +2 -1
|
File without changes
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import type { LinkData } from '@components/menus/menu-item/menu-item-link/types';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
new (...args: any[]): {
|
|
3
4
|
$: import("vue").ComponentInternalInstance;
|
|
4
5
|
$data: {};
|
|
5
6
|
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
7
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
active?: boolean | undefined;
|
|
10
|
-
external?: boolean | undefined;
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
linkItems: LinkData[];
|
|
11
10
|
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
12
11
|
$attrs: {
|
|
13
12
|
[x: string]: unknown;
|
|
@@ -24,10 +23,8 @@ declare const _default: {
|
|
|
24
23
|
$el: any;
|
|
25
24
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
26
25
|
id: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
active?: boolean | undefined;
|
|
30
|
-
external?: boolean | undefined;
|
|
26
|
+
label?: string | undefined;
|
|
27
|
+
linkItems: LinkData[];
|
|
31
28
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
32
29
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
33
30
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -50,22 +47,21 @@ declare const _default: {
|
|
|
50
47
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
51
48
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
52
49
|
id: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
active?: boolean | undefined;
|
|
56
|
-
external?: boolean | undefined;
|
|
50
|
+
label?: string | undefined;
|
|
51
|
+
linkItems: LinkData[];
|
|
57
52
|
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
58
53
|
__isFragment?: undefined;
|
|
59
54
|
__isTeleport?: undefined;
|
|
60
55
|
__isSuspense?: undefined;
|
|
61
56
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
62
57
|
id: string;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
active?: boolean | undefined;
|
|
66
|
-
external?: boolean | undefined;
|
|
58
|
+
label?: string | undefined;
|
|
59
|
+
linkItems: LinkData[];
|
|
67
60
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
68
61
|
$slots: {
|
|
62
|
+
label: (_: {
|
|
63
|
+
isOpen: boolean;
|
|
64
|
+
}) => any;
|
|
69
65
|
default: (_: {
|
|
70
66
|
id: string;
|
|
71
67
|
active: boolean | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,8 +10,9 @@ import { SolDropdown } from './components/dropdown/';
|
|
|
10
10
|
import { SolSelect } from './components/forms/select';
|
|
11
11
|
import { SolChip } from './components/informations/chip';
|
|
12
12
|
import { SolAccordion } from './components/accordion/';
|
|
13
|
-
import { SolMenu } from './components/menu
|
|
14
|
-
import { SolMenuItemLink } from './components/menu-item';
|
|
13
|
+
import { SolMenu } from './components/menus/menu';
|
|
14
|
+
import { SolMenuItemLink } from './components/menus/menu-item/menu-item-link/';
|
|
15
|
+
import { SolMenuNavigationLinks } from './components/menus/menu-navigation-links';
|
|
15
16
|
import 'virtual:windi-base.css';
|
|
16
17
|
import 'virtual:windi-components.css';
|
|
17
18
|
import 'virtual:windi-utilities.css';
|
|
@@ -415,9 +416,6 @@ export declare const components: {
|
|
|
415
416
|
} & {
|
|
416
417
|
default: string;
|
|
417
418
|
};
|
|
418
|
-
class: {
|
|
419
|
-
type: import("vue").PropType<string>;
|
|
420
|
-
};
|
|
421
419
|
id: {
|
|
422
420
|
type: import("vue").PropType<string>;
|
|
423
421
|
required: true;
|
|
@@ -425,6 +423,9 @@ export declare const components: {
|
|
|
425
423
|
invert: {
|
|
426
424
|
type: import("vue").PropType<boolean>;
|
|
427
425
|
};
|
|
426
|
+
class: {
|
|
427
|
+
type: import("vue").PropType<string>;
|
|
428
|
+
};
|
|
428
429
|
modelValue: {
|
|
429
430
|
type: import("vue").PropType<string>;
|
|
430
431
|
} & {
|
|
@@ -463,9 +464,6 @@ export declare const components: {
|
|
|
463
464
|
} & {
|
|
464
465
|
default: string;
|
|
465
466
|
};
|
|
466
|
-
class: {
|
|
467
|
-
type: import("vue").PropType<string>;
|
|
468
|
-
};
|
|
469
467
|
id: {
|
|
470
468
|
type: import("vue").PropType<string>;
|
|
471
469
|
required: true;
|
|
@@ -473,6 +471,9 @@ export declare const components: {
|
|
|
473
471
|
invert: {
|
|
474
472
|
type: import("vue").PropType<boolean>;
|
|
475
473
|
};
|
|
474
|
+
class: {
|
|
475
|
+
type: import("vue").PropType<string>;
|
|
476
|
+
};
|
|
476
477
|
modelValue: {
|
|
477
478
|
type: import("vue").PropType<string>;
|
|
478
479
|
} & {
|
|
@@ -523,9 +524,6 @@ export declare const components: {
|
|
|
523
524
|
} & {
|
|
524
525
|
default: string;
|
|
525
526
|
};
|
|
526
|
-
class: {
|
|
527
|
-
type: import("vue").PropType<string>;
|
|
528
|
-
};
|
|
529
527
|
id: {
|
|
530
528
|
type: import("vue").PropType<string>;
|
|
531
529
|
required: true;
|
|
@@ -533,6 +531,9 @@ export declare const components: {
|
|
|
533
531
|
invert: {
|
|
534
532
|
type: import("vue").PropType<boolean>;
|
|
535
533
|
};
|
|
534
|
+
class: {
|
|
535
|
+
type: import("vue").PropType<string>;
|
|
536
|
+
};
|
|
536
537
|
modelValue: {
|
|
537
538
|
type: import("vue").PropType<string>;
|
|
538
539
|
} & {
|
|
@@ -561,9 +562,6 @@ export declare const components: {
|
|
|
561
562
|
} & {
|
|
562
563
|
default: string;
|
|
563
564
|
};
|
|
564
|
-
class: {
|
|
565
|
-
type: import("vue").PropType<string>;
|
|
566
|
-
};
|
|
567
565
|
id: {
|
|
568
566
|
type: import("vue").PropType<string>;
|
|
569
567
|
required: true;
|
|
@@ -571,6 +569,9 @@ export declare const components: {
|
|
|
571
569
|
invert: {
|
|
572
570
|
type: import("vue").PropType<boolean>;
|
|
573
571
|
};
|
|
572
|
+
class: {
|
|
573
|
+
type: import("vue").PropType<string>;
|
|
574
|
+
};
|
|
574
575
|
modelValue: {
|
|
575
576
|
type: import("vue").PropType<string>;
|
|
576
577
|
} & {
|
|
@@ -614,9 +615,6 @@ export declare const components: {
|
|
|
614
615
|
} & {
|
|
615
616
|
default: string;
|
|
616
617
|
};
|
|
617
|
-
class: {
|
|
618
|
-
type: import("vue").PropType<string>;
|
|
619
|
-
};
|
|
620
618
|
id: {
|
|
621
619
|
type: import("vue").PropType<string>;
|
|
622
620
|
required: true;
|
|
@@ -624,6 +622,9 @@ export declare const components: {
|
|
|
624
622
|
invert: {
|
|
625
623
|
type: import("vue").PropType<boolean>;
|
|
626
624
|
};
|
|
625
|
+
class: {
|
|
626
|
+
type: import("vue").PropType<string>;
|
|
627
|
+
};
|
|
627
628
|
modelValue: {
|
|
628
629
|
type: import("vue").PropType<string | number>;
|
|
629
630
|
} & {
|
|
@@ -657,9 +658,6 @@ export declare const components: {
|
|
|
657
658
|
} & {
|
|
658
659
|
default: string;
|
|
659
660
|
};
|
|
660
|
-
class: {
|
|
661
|
-
type: import("vue").PropType<string>;
|
|
662
|
-
};
|
|
663
661
|
id: {
|
|
664
662
|
type: import("vue").PropType<string>;
|
|
665
663
|
required: true;
|
|
@@ -667,6 +665,9 @@ export declare const components: {
|
|
|
667
665
|
invert: {
|
|
668
666
|
type: import("vue").PropType<boolean>;
|
|
669
667
|
};
|
|
668
|
+
class: {
|
|
669
|
+
type: import("vue").PropType<string>;
|
|
670
|
+
};
|
|
670
671
|
modelValue: {
|
|
671
672
|
type: import("vue").PropType<string | number>;
|
|
672
673
|
} & {
|
|
@@ -711,9 +712,6 @@ export declare const components: {
|
|
|
711
712
|
} & {
|
|
712
713
|
default: string;
|
|
713
714
|
};
|
|
714
|
-
class: {
|
|
715
|
-
type: import("vue").PropType<string>;
|
|
716
|
-
};
|
|
717
715
|
id: {
|
|
718
716
|
type: import("vue").PropType<string>;
|
|
719
717
|
required: true;
|
|
@@ -721,6 +719,9 @@ export declare const components: {
|
|
|
721
719
|
invert: {
|
|
722
720
|
type: import("vue").PropType<boolean>;
|
|
723
721
|
};
|
|
722
|
+
class: {
|
|
723
|
+
type: import("vue").PropType<string>;
|
|
724
|
+
};
|
|
724
725
|
modelValue: {
|
|
725
726
|
type: import("vue").PropType<string | number>;
|
|
726
727
|
} & {
|
|
@@ -744,9 +745,6 @@ export declare const components: {
|
|
|
744
745
|
} & {
|
|
745
746
|
default: string;
|
|
746
747
|
};
|
|
747
|
-
class: {
|
|
748
|
-
type: import("vue").PropType<string>;
|
|
749
|
-
};
|
|
750
748
|
id: {
|
|
751
749
|
type: import("vue").PropType<string>;
|
|
752
750
|
required: true;
|
|
@@ -754,6 +752,9 @@ export declare const components: {
|
|
|
754
752
|
invert: {
|
|
755
753
|
type: import("vue").PropType<boolean>;
|
|
756
754
|
};
|
|
755
|
+
class: {
|
|
756
|
+
type: import("vue").PropType<string>;
|
|
757
|
+
};
|
|
757
758
|
modelValue: {
|
|
758
759
|
type: import("vue").PropType<string | number>;
|
|
759
760
|
} & {
|
|
@@ -2629,7 +2630,7 @@ export declare const components: {
|
|
|
2629
2630
|
}>;
|
|
2630
2631
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2631
2632
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2632
|
-
$emit: ((event: "
|
|
2633
|
+
$emit: ((event: "update:selected") => void) & ((event: "close") => void);
|
|
2633
2634
|
$el: any;
|
|
2634
2635
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2635
2636
|
label: {
|
|
@@ -2862,7 +2863,7 @@ export declare const components: {
|
|
|
2862
2863
|
$data: {};
|
|
2863
2864
|
$props: Partial<{
|
|
2864
2865
|
label: string;
|
|
2865
|
-
position: ("
|
|
2866
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
2866
2867
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2867
2868
|
label: {
|
|
2868
2869
|
type: import("vue").PropType<string>;
|
|
@@ -2874,7 +2875,7 @@ export declare const components: {
|
|
|
2874
2875
|
required: true;
|
|
2875
2876
|
};
|
|
2876
2877
|
position: {
|
|
2877
|
-
type: import("vue").PropType<("
|
|
2878
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2878
2879
|
} & {
|
|
2879
2880
|
default: string;
|
|
2880
2881
|
};
|
|
@@ -2905,7 +2906,7 @@ export declare const components: {
|
|
|
2905
2906
|
required: true;
|
|
2906
2907
|
};
|
|
2907
2908
|
position: {
|
|
2908
|
-
type: import("vue").PropType<("
|
|
2909
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2909
2910
|
} & {
|
|
2910
2911
|
default: string;
|
|
2911
2912
|
};
|
|
@@ -2915,7 +2916,7 @@ export declare const components: {
|
|
|
2915
2916
|
change: (value: string) => void;
|
|
2916
2917
|
}, string, {
|
|
2917
2918
|
label: string;
|
|
2918
|
-
position: ("
|
|
2919
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
2919
2920
|
}> & {
|
|
2920
2921
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2921
2922
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2947,7 +2948,7 @@ export declare const components: {
|
|
|
2947
2948
|
required: true;
|
|
2948
2949
|
};
|
|
2949
2950
|
position: {
|
|
2950
|
-
type: import("vue").PropType<("
|
|
2951
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2951
2952
|
} & {
|
|
2952
2953
|
default: string;
|
|
2953
2954
|
};
|
|
@@ -2968,7 +2969,7 @@ export declare const components: {
|
|
|
2968
2969
|
required: true;
|
|
2969
2970
|
};
|
|
2970
2971
|
position: {
|
|
2971
|
-
type: import("vue").PropType<("
|
|
2972
|
+
type: import("vue").PropType<("bottom" | "top") | ("right" | "left")>;
|
|
2972
2973
|
} & {
|
|
2973
2974
|
default: string;
|
|
2974
2975
|
};
|
|
@@ -2978,10 +2979,12 @@ export declare const components: {
|
|
|
2978
2979
|
change: (value: string) => void;
|
|
2979
2980
|
}, string, {
|
|
2980
2981
|
label: string;
|
|
2981
|
-
position: ("
|
|
2982
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
2982
2983
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
2983
2984
|
$slots: {
|
|
2984
|
-
label: (_: {
|
|
2985
|
+
label: (_: {
|
|
2986
|
+
isOpen: boolean;
|
|
2987
|
+
}) => any;
|
|
2985
2988
|
default: (_: {}) => any;
|
|
2986
2989
|
};
|
|
2987
2990
|
});
|
|
@@ -3106,6 +3109,110 @@ export declare const components: {
|
|
|
3106
3109
|
}) => any;
|
|
3107
3110
|
};
|
|
3108
3111
|
});
|
|
3112
|
+
SolMenuNavigationLinks: {
|
|
3113
|
+
new (...args: any[]): {
|
|
3114
|
+
$: import("vue").ComponentInternalInstance;
|
|
3115
|
+
$data: {};
|
|
3116
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
3117
|
+
id: {
|
|
3118
|
+
type: import("vue").PropType<string>;
|
|
3119
|
+
required: true;
|
|
3120
|
+
};
|
|
3121
|
+
label: {
|
|
3122
|
+
type: import("vue").PropType<string>;
|
|
3123
|
+
};
|
|
3124
|
+
linkItems: {
|
|
3125
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3126
|
+
required: true;
|
|
3127
|
+
};
|
|
3128
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
3129
|
+
$attrs: {
|
|
3130
|
+
[x: string]: unknown;
|
|
3131
|
+
};
|
|
3132
|
+
$refs: {
|
|
3133
|
+
[x: string]: unknown;
|
|
3134
|
+
};
|
|
3135
|
+
$slots: Readonly<{
|
|
3136
|
+
[name: string]: import("vue").Slot | undefined;
|
|
3137
|
+
}>;
|
|
3138
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3139
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3140
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3141
|
+
$el: any;
|
|
3142
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3143
|
+
id: {
|
|
3144
|
+
type: import("vue").PropType<string>;
|
|
3145
|
+
required: true;
|
|
3146
|
+
};
|
|
3147
|
+
label: {
|
|
3148
|
+
type: import("vue").PropType<string>;
|
|
3149
|
+
};
|
|
3150
|
+
linkItems: {
|
|
3151
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3152
|
+
required: true;
|
|
3153
|
+
};
|
|
3154
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
3155
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
3156
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
3157
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
3158
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3159
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
3160
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
3161
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
3162
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
3163
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
3164
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
3165
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
3166
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3167
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3168
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3169
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
3170
|
+
};
|
|
3171
|
+
$forceUpdate: () => void;
|
|
3172
|
+
$nextTick: typeof import("vue").nextTick;
|
|
3173
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
3174
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
3175
|
+
id: {
|
|
3176
|
+
type: import("vue").PropType<string>;
|
|
3177
|
+
required: true;
|
|
3178
|
+
};
|
|
3179
|
+
label: {
|
|
3180
|
+
type: import("vue").PropType<string>;
|
|
3181
|
+
};
|
|
3182
|
+
linkItems: {
|
|
3183
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3184
|
+
required: true;
|
|
3185
|
+
};
|
|
3186
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
3187
|
+
__isFragment?: undefined;
|
|
3188
|
+
__isTeleport?: undefined;
|
|
3189
|
+
__isSuspense?: undefined;
|
|
3190
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3191
|
+
id: {
|
|
3192
|
+
type: import("vue").PropType<string>;
|
|
3193
|
+
required: true;
|
|
3194
|
+
};
|
|
3195
|
+
label: {
|
|
3196
|
+
type: import("vue").PropType<string>;
|
|
3197
|
+
};
|
|
3198
|
+
linkItems: {
|
|
3199
|
+
type: import("vue").PropType<import("./components/menus/menu-item/menu-item-link/types").LinkData[]>;
|
|
3200
|
+
required: true;
|
|
3201
|
+
};
|
|
3202
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
3203
|
+
$slots: {
|
|
3204
|
+
label: (_: {
|
|
3205
|
+
isOpen: boolean;
|
|
3206
|
+
}) => any;
|
|
3207
|
+
default: (_: {
|
|
3208
|
+
id: string;
|
|
3209
|
+
active: boolean | undefined;
|
|
3210
|
+
link: string | undefined;
|
|
3211
|
+
text: string | undefined;
|
|
3212
|
+
external: boolean | undefined;
|
|
3213
|
+
}) => any;
|
|
3214
|
+
};
|
|
3215
|
+
});
|
|
3109
3216
|
};
|
|
3110
3217
|
export declare function install(App: App): void;
|
|
3111
|
-
export { SolButton, SolButtonDestructive, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, SolMenu, SolMenuItemLink, };
|
|
3218
|
+
export { SolButton, SolButtonDestructive, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, SolMenu, SolMenuItemLink, SolMenuNavigationLinks, };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solfacil/girassol",
|
|
3
3
|
"description": "Girassol design system",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.7",
|
|
5
5
|
"authors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Kevin Martin",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"pre-commit": "./.husky/run-staged-tests.js"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@vueuse/core": "^9.
|
|
60
|
+
"@vueuse/core": "^9.1.0",
|
|
61
61
|
"gluegun": "latest",
|
|
62
62
|
"vue": "^3.2.37"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@antfu/eslint-config": "^0.
|
|
66
|
-
"@babel/core": "^7.18.
|
|
67
|
-
"@babel/preset-env": "^7.18.
|
|
65
|
+
"@antfu/eslint-config": "^0.26.1",
|
|
66
|
+
"@babel/core": "^7.18.10",
|
|
67
|
+
"@babel/preset-env": "^7.18.10",
|
|
68
68
|
"@commitlint/cli": "^17.0.3",
|
|
69
69
|
"@commitlint/config-conventional": "^17.0.3",
|
|
70
|
-
"@iconify/json": "^2.1.
|
|
70
|
+
"@iconify/json": "^2.1.89",
|
|
71
71
|
"@storybook/addon-a11y": "^6.5.9",
|
|
72
72
|
"@storybook/addon-actions": "^6.5.9",
|
|
73
73
|
"@storybook/addon-essentials": "^6.5.9",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"@storybook/vue3": "^6.5.9",
|
|
78
78
|
"@testing-library/jest-dom": "^5.16.4",
|
|
79
79
|
"@testing-library/user-event": "^14.2.1",
|
|
80
|
-
"@testing-library/vue": "^6.6.
|
|
80
|
+
"@testing-library/vue": "^6.6.1",
|
|
81
81
|
"@types/jest-axe": "^3.5.4",
|
|
82
82
|
"@types/node": "^17.0.41",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
84
84
|
"@typescript-eslint/parser": "^5.30.0",
|
|
85
85
|
"@vitejs/plugin-vue": "^3.0.1",
|
|
86
86
|
"babel-loader": "^8.2.5",
|
|
87
|
-
"c8": "^7.
|
|
87
|
+
"c8": "^7.12.0",
|
|
88
88
|
"cli-spinner": "^0.2.10",
|
|
89
89
|
"commitizen": "^4.2.4",
|
|
90
90
|
"copyfiles": "^2.4.1",
|
|
@@ -107,12 +107,12 @@
|
|
|
107
107
|
"ts-node": "^10.8.1",
|
|
108
108
|
"typescript": "^4.7.4",
|
|
109
109
|
"unplugin-icons": "^0.14.7",
|
|
110
|
-
"vite": "^3.0.
|
|
110
|
+
"vite": "^3.0.5",
|
|
111
111
|
"vite-plugin-inspect": "^0.5.1",
|
|
112
112
|
"vite-plugin-windicss": "^1.8.7",
|
|
113
|
-
"vitest": "^0.
|
|
113
|
+
"vitest": "^0.21.1",
|
|
114
114
|
"vue-loader": "^17.0.0",
|
|
115
|
-
"vue-tsc": "^0.
|
|
115
|
+
"vue-tsc": "^0.40.0",
|
|
116
116
|
"windicss": "^3.5.6"
|
|
117
117
|
},
|
|
118
118
|
"repository": {
|
|
@@ -112,6 +112,17 @@ export const componentTypos = plugin(({ addUtilities, theme }) => {
|
|
|
112
112
|
lineHeight: wrapperThemeType('lineHeight.xs'),
|
|
113
113
|
}
|
|
114
114
|
const body = {
|
|
115
|
+
'.fonts-body-x-large-regular': {
|
|
116
|
+
...bodyCommons,
|
|
117
|
+
fontSize: wrapperThemeType('fontSize.xs'),
|
|
118
|
+
fontWeight: wrapperThemeType('fontWeight.regular'),
|
|
119
|
+
},
|
|
120
|
+
'.fonts-body-x-large-bold': {
|
|
121
|
+
...bodyCommons,
|
|
122
|
+
fontSize: wrapperThemeType('fontSize.xs'),
|
|
123
|
+
fontWeight: wrapperThemeType('fontWeight.bold'),
|
|
124
|
+
},
|
|
125
|
+
|
|
115
126
|
'.fonts-body-large-regular': {
|
|
116
127
|
...bodyCommons,
|
|
117
128
|
fontSize: wrapperThemeType('fontSize.2xs'),
|
package/vite.config.ts
CHANGED
|
@@ -33,6 +33,7 @@ export default defineConfig({
|
|
|
33
33
|
alias: {
|
|
34
34
|
'@': path.resolve(currentPath, './src'),
|
|
35
35
|
'@assets': path.resolve(currentPath, './src/assets'),
|
|
36
|
+
'@composables': path.resolve(currentPath, './src/composables'),
|
|
36
37
|
'@components': path.resolve(currentPath, './src/components'),
|
|
37
38
|
'@forms': path.resolve(currentPath, './src/components/forms'),
|
|
38
39
|
'@themes': path.resolve(currentPath, 'theme'),
|
|
@@ -42,7 +43,7 @@ export default defineConfig({
|
|
|
42
43
|
plugins: [
|
|
43
44
|
vue({
|
|
44
45
|
include: [/\.vue$/],
|
|
45
|
-
}),
|
|
46
|
+
}) as any,
|
|
46
47
|
|
|
47
48
|
WindiCSS(),
|
|
48
49
|
|