@solfacil/girassol 0.2.6 → 0.2.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/README.md +1 -1
- package/dist/components.d.ts +1 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +988 -894
- package/dist/girassol.umd.js +4 -4
- package/dist/main.css +29 -29
- package/dist/style.css +1 -1
- package/dist/theme/solfacil/screens.d.ts +0 -1
- package/dist/theme/solfacil/typography.d.ts +0 -1
- package/dist/types/components/accordion/Accordion.vue.d.ts +5 -4
- package/dist/types/components/forms/button/Button.vue.d.ts +4 -4
- package/dist/types/components/informations/chip/Chip.vue.d.ts +1 -1
- package/dist/types/components/{menu → menus/menu}/Menu.vue.d.ts +18 -26
- 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 +100 -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 +212 -102
- package/package.json +11 -11
- package/public/main.css +29 -29
- package/theme/solfacil/screens.ts +1 -1
- package/theme/solfacil/typography.ts +1 -2
- package/theme/solfacil/utilities.ts +15 -8
- package/vite.config.ts +2 -1
- package/dist/fonts/lato/Lato-Bold.ttf +0 -0
- package/dist/fonts/lato/Lato-Medium.ttf +0 -0
- package/dist/fonts/lato/Lato-Regular.ttf +0 -0
- package/dist/fonts/roboto-slab/RobotoSlab.ttf +0 -0
- package/dist/fonts/rubik/Rubik-Bold.ttf +0 -0
- package/dist/fonts/rubik/Rubik-Medium.ttf +0 -0
- package/dist/fonts/rubik/Rubik-Regular.ttf +0 -0
- package/public/fonts/lato/Lato-Bold.ttf +0 -0
- package/public/fonts/lato/Lato-Medium.ttf +0 -0
- package/public/fonts/lato/Lato-Regular.ttf +0 -0
- package/public/fonts/roboto-slab/RobotoSlab.ttf +0 -0
- package/public/fonts/rubik/Rubik-Bold.ttf +0 -0
- package/public/fonts/rubik/Rubik-Medium.ttf +0 -0
- package/public/fonts/rubik/Rubik-Regular.ttf +0 -0
|
@@ -4,17 +4,15 @@ declare const _default: {
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
label: string;
|
|
7
|
-
position: ("
|
|
7
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
8
8
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
id: string;
|
|
10
10
|
label?: string | undefined;
|
|
11
|
-
position?: (("
|
|
11
|
+
position?: (("bottom" | "top") | ("right" | "left")) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
label: string;
|
|
14
14
|
position: string;
|
|
15
|
-
}>>> &
|
|
16
|
-
onChange?: ((value: string) => any) | undefined;
|
|
17
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
|
|
15
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
|
|
18
16
|
$attrs: {
|
|
19
17
|
[x: string]: unknown;
|
|
20
18
|
};
|
|
@@ -26,22 +24,18 @@ declare const _default: {
|
|
|
26
24
|
}>;
|
|
27
25
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
26
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
-
$emit: (event:
|
|
27
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
30
28
|
$el: any;
|
|
31
29
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
32
30
|
id: string;
|
|
33
31
|
label?: string | undefined;
|
|
34
|
-
position?: (("
|
|
32
|
+
position?: (("bottom" | "top") | ("right" | "left")) | undefined;
|
|
35
33
|
}>, {
|
|
36
34
|
label: string;
|
|
37
35
|
position: string;
|
|
38
|
-
}
|
|
39
|
-
onChange?: ((value: string) => any) | undefined;
|
|
40
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
-
change: (value: string) => void;
|
|
42
|
-
}, string, {
|
|
36
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
43
37
|
label: string;
|
|
44
|
-
position: ("
|
|
38
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
45
39
|
}> & {
|
|
46
40
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
47
41
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -65,34 +59,32 @@ declare const _default: {
|
|
|
65
59
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
66
60
|
id: string;
|
|
67
61
|
label?: string | undefined;
|
|
68
|
-
position?: (("
|
|
62
|
+
position?: (("bottom" | "top") | ("right" | "left")) | undefined;
|
|
69
63
|
}>, {
|
|
70
64
|
label: string;
|
|
71
65
|
position: string;
|
|
72
|
-
}>>> & {
|
|
73
|
-
onChange?: ((value: string) => any) | undefined;
|
|
74
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
66
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
75
67
|
__isFragment?: undefined;
|
|
76
68
|
__isTeleport?: undefined;
|
|
77
69
|
__isSuspense?: undefined;
|
|
78
70
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
79
71
|
id: string;
|
|
80
72
|
label?: string | undefined;
|
|
81
|
-
position?: (("
|
|
73
|
+
position?: (("bottom" | "top") | ("right" | "left")) | undefined;
|
|
82
74
|
}>, {
|
|
83
75
|
label: string;
|
|
84
76
|
position: string;
|
|
85
|
-
}
|
|
86
|
-
onChange?: ((value: string) => any) | undefined;
|
|
87
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
|
-
change: (value: string) => void;
|
|
89
|
-
}, string, {
|
|
77
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
90
78
|
label: string;
|
|
91
|
-
position: ("
|
|
79
|
+
position: ("bottom" | "top") | ("right" | "left");
|
|
92
80
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
93
81
|
$slots: {
|
|
94
|
-
label: (_: {
|
|
95
|
-
|
|
82
|
+
label: (_: {
|
|
83
|
+
isOpen: boolean;
|
|
84
|
+
}) => any;
|
|
85
|
+
default: (_: {
|
|
86
|
+
close: () => void;
|
|
87
|
+
}) => any;
|
|
96
88
|
};
|
|
97
89
|
});
|
|
98
90
|
export default _default;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { LinkData } from './types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
id: string;
|
|
8
|
+
text?: LinkData['text'];
|
|
9
|
+
link?: LinkData['link'];
|
|
10
|
+
active?: LinkData['active'];
|
|
11
|
+
external?: LinkData['external'];
|
|
12
|
+
}>>> & {
|
|
13
|
+
onClicked?: (() => any) | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
15
|
+
$attrs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$refs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$slots: Readonly<{
|
|
22
|
+
[name: string]: import("vue").Slot | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
25
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
26
|
+
$emit: (event: "clicked") => void;
|
|
27
|
+
$el: any;
|
|
28
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
id: string;
|
|
30
|
+
text?: LinkData['text'];
|
|
31
|
+
link?: LinkData['link'];
|
|
32
|
+
active?: LinkData['active'];
|
|
33
|
+
external?: LinkData['external'];
|
|
34
|
+
}>>> & {
|
|
35
|
+
onClicked?: (() => any) | undefined;
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
clicked: () => void;
|
|
38
|
+
}, string, {}> & {
|
|
39
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
52
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
53
|
+
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;
|
|
54
|
+
};
|
|
55
|
+
$forceUpdate: () => void;
|
|
56
|
+
$nextTick: typeof import("vue").nextTick;
|
|
57
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
58
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
59
|
+
id: string;
|
|
60
|
+
text?: LinkData['text'];
|
|
61
|
+
link?: LinkData['link'];
|
|
62
|
+
active?: LinkData['active'];
|
|
63
|
+
external?: LinkData['external'];
|
|
64
|
+
}>>> & {
|
|
65
|
+
onClicked?: (() => any) | undefined;
|
|
66
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
67
|
+
__isFragment?: undefined;
|
|
68
|
+
__isTeleport?: undefined;
|
|
69
|
+
__isSuspense?: undefined;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
71
|
+
id: string;
|
|
72
|
+
text?: LinkData['text'];
|
|
73
|
+
link?: LinkData['link'];
|
|
74
|
+
active?: LinkData['active'];
|
|
75
|
+
external?: LinkData['external'];
|
|
76
|
+
}>>> & {
|
|
77
|
+
onClicked?: (() => any) | undefined;
|
|
78
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
|
+
clicked: () => void;
|
|
80
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
81
|
+
$slots: {
|
|
82
|
+
default: (_: {
|
|
83
|
+
id: string;
|
|
84
|
+
active: boolean | undefined;
|
|
85
|
+
link: string | undefined;
|
|
86
|
+
text: string | undefined;
|
|
87
|
+
external: boolean | undefined;
|
|
88
|
+
}) => any;
|
|
89
|
+
};
|
|
90
|
+
});
|
|
91
|
+
export default _default;
|
|
92
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
94
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
95
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
96
|
+
} : {
|
|
97
|
+
type: import('vue').PropType<T[K]>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
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;
|