@solfacil/girassol 0.19.3 → 0.21.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.
- package/README.md +8 -4
- package/dist/components.d.ts +2 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +6313 -6147
- package/dist/girassol.umd.js +5 -5
- package/dist/logo.svg +28 -23
- package/dist/style.css +1 -1
- package/dist/types/components/alert/Alert.vue.d.ts +8 -3
- package/dist/types/components/divider/Divider.vue.d.ts +32 -0
- package/dist/types/components/divider/index.d.ts +2 -0
- package/dist/types/components/divider/types.d.ts +4 -0
- package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +2 -2
- package/dist/types/components/link/Link.vue.d.ts +52 -0
- package/dist/types/components/link/index.d.ts +2 -0
- package/dist/types/components/link/types.d.ts +19 -0
- package/dist/types/components/list/List.vue.d.ts +16 -10
- package/dist/types/components/list/ListItem.vue.d.ts +4 -4
- package/dist/types/components/menus/menu-item/MenuItemSeparator.vue.d.ts +1 -1
- package/dist/types/components/modals/onboarding/Onboarding.vue.d.ts +13 -2
- package/dist/types/components/overlay/Overlay.vue.d.ts +8 -1
- package/dist/types/components/tabs/Tabs.vue.d.ts +9 -2
- package/dist/types/components/tag/Tag.vue.d.ts +14 -13
- package/dist/types/components/tag/types.d.ts +9 -0
- package/dist/types/index.d.ts +659 -160
- package/package.json +11 -11
- package/public/logo.svg +28 -23
- package/theme/solfacil/index.ts +14 -12
- package/theme/solfacil/utilities.ts +32 -9
- package/windi.config.ts +1 -0
|
@@ -4,28 +4,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
text?: string | undefined;
|
|
5
5
|
feedback?: "success" | "warning" | "error" | "informative" | undefined;
|
|
6
6
|
action?: string | undefined;
|
|
7
|
+
closeButton?: boolean | undefined;
|
|
7
8
|
}>, {
|
|
8
|
-
title: string;
|
|
9
9
|
text: string;
|
|
10
10
|
feedback: string;
|
|
11
|
+
closeButton: boolean;
|
|
11
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
click: () => void;
|
|
14
|
+
} & {
|
|
15
|
+
close: () => void;
|
|
13
16
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
17
|
id: string;
|
|
15
18
|
title?: string | undefined;
|
|
16
19
|
text?: string | undefined;
|
|
17
20
|
feedback?: "success" | "warning" | "error" | "informative" | undefined;
|
|
18
21
|
action?: string | undefined;
|
|
22
|
+
closeButton?: boolean | undefined;
|
|
19
23
|
}>, {
|
|
20
|
-
title: string;
|
|
21
24
|
text: string;
|
|
22
25
|
feedback: string;
|
|
26
|
+
closeButton: boolean;
|
|
23
27
|
}>>> & {
|
|
24
28
|
onClick?: (() => any) | undefined;
|
|
29
|
+
onClose?: (() => any) | undefined;
|
|
25
30
|
}, {
|
|
26
|
-
title: string;
|
|
27
31
|
text: string;
|
|
28
32
|
feedback: 'success' | 'warning' | 'error' | 'informative';
|
|
33
|
+
closeButton: boolean;
|
|
29
34
|
}>, {
|
|
30
35
|
default: (_: {}) => any;
|
|
31
36
|
}>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Divider } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
orientation?: Divider['orientation'];
|
|
4
|
+
thickness?: Divider['thickness'];
|
|
5
|
+
}>, {
|
|
6
|
+
orientation: string;
|
|
7
|
+
thickness: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
orientation?: Divider['orientation'];
|
|
10
|
+
thickness?: Divider['thickness'];
|
|
11
|
+
}>, {
|
|
12
|
+
orientation: string;
|
|
13
|
+
thickness: string;
|
|
14
|
+
}>>>, {
|
|
15
|
+
orientation: "vertical" | "horizontal";
|
|
16
|
+
thickness: "small" | "large" | "medium" | "x-small";
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
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
|
+
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
|
+
};
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
label?: string | undefined;
|
|
6
6
|
required?: boolean | undefined;
|
|
7
7
|
helperText?: string | undefined;
|
|
8
|
-
resize?: "none" | "vertical" | "
|
|
8
|
+
resize?: "none" | "vertical" | "horizontal" | "both" | undefined;
|
|
9
9
|
size?: "small" | "medium" | undefined;
|
|
10
10
|
error?: string | null | undefined;
|
|
11
11
|
placeholder?: string | undefined;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
26
26
|
label?: string | undefined;
|
|
27
27
|
required?: boolean | undefined;
|
|
28
28
|
helperText?: string | undefined;
|
|
29
|
-
resize?: "none" | "vertical" | "
|
|
29
|
+
resize?: "none" | "vertical" | "horizontal" | "both" | undefined;
|
|
30
30
|
size?: "small" | "medium" | undefined;
|
|
31
31
|
error?: string | null | undefined;
|
|
32
32
|
placeholder?: string | undefined;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Link } from './types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
id: Link['id'];
|
|
4
|
+
text?: Link['text'];
|
|
5
|
+
to?: Link['to'];
|
|
6
|
+
component?: "a" | "router-link" | "nuxt-link" | undefined;
|
|
7
|
+
size?: "large" | "medium" | undefined;
|
|
8
|
+
onColor?: Link['onColor'];
|
|
9
|
+
external?: Link['external'];
|
|
10
|
+
}>, {
|
|
11
|
+
component: string;
|
|
12
|
+
text: string;
|
|
13
|
+
size: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
id: Link['id'];
|
|
16
|
+
text?: Link['text'];
|
|
17
|
+
to?: Link['to'];
|
|
18
|
+
component?: "a" | "router-link" | "nuxt-link" | undefined;
|
|
19
|
+
size?: "large" | "medium" | undefined;
|
|
20
|
+
onColor?: Link['onColor'];
|
|
21
|
+
external?: Link['external'];
|
|
22
|
+
}>, {
|
|
23
|
+
component: string;
|
|
24
|
+
text: string;
|
|
25
|
+
size: string;
|
|
26
|
+
}>>>, {
|
|
27
|
+
text: string;
|
|
28
|
+
size: Link['size'];
|
|
29
|
+
component: Link['component'];
|
|
30
|
+
}>, {
|
|
31
|
+
icon: (_: {}) => any;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
} : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface LinkTo {
|
|
2
|
+
path: string;
|
|
3
|
+
force?: boolean;
|
|
4
|
+
hash?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
params?: Record<string, string | number | null | undefined>;
|
|
7
|
+
query?: Record<string, string | number | null | undefined>;
|
|
8
|
+
replace?: false;
|
|
9
|
+
state?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface Link {
|
|
12
|
+
id: string;
|
|
13
|
+
component: 'router-link' | 'nuxt-link' | 'a';
|
|
14
|
+
text?: string;
|
|
15
|
+
to?: string | LinkTo;
|
|
16
|
+
external?: boolean;
|
|
17
|
+
size: 'medium' | 'large';
|
|
18
|
+
onColor?: boolean;
|
|
19
|
+
}
|
|
@@ -55,24 +55,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
55
55
|
ariaLabel: List['ariaLabel'];
|
|
56
56
|
fallbackValue: string;
|
|
57
57
|
dataIdentifier: import("./types").DataIdentifier;
|
|
58
|
-
}>, Record<string, {
|
|
59
|
-
data:
|
|
60
|
-
|
|
58
|
+
}>, Record<string, (_: {
|
|
59
|
+
data: {
|
|
60
|
+
key: string;
|
|
61
|
+
value: unknown;
|
|
62
|
+
};
|
|
63
|
+
index: number;
|
|
61
64
|
columnIndex: number;
|
|
62
65
|
renderHeader: (headerKey: string) => string;
|
|
63
66
|
headers: import("./types").Header | undefined;
|
|
64
|
-
}> & Record<string, {
|
|
67
|
+
}) => any> & Record<string, (_: {
|
|
65
68
|
data: any;
|
|
66
69
|
index: any;
|
|
67
70
|
columnIndex: any;
|
|
68
71
|
renderHeader: any;
|
|
69
72
|
headers: any;
|
|
70
|
-
}> & Record<string, {
|
|
71
|
-
data:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
}) => any> & Record<string, (_: {
|
|
74
|
+
data: {
|
|
75
|
+
key: string;
|
|
76
|
+
value: unknown;
|
|
77
|
+
};
|
|
78
|
+
index: number;
|
|
79
|
+
columnIndex: number;
|
|
80
|
+
isHighlight: (param: import("./types").IsHighlightParams) => boolean;
|
|
81
|
+
}) => any> & {
|
|
76
82
|
image: (_: {
|
|
77
83
|
data: Data;
|
|
78
84
|
}) => any;
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
sortPositions: ListItem['sortPositions'];
|
|
28
28
|
}>>> & {
|
|
29
29
|
"onListitem:click"?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {}>, Record<string, {
|
|
30
|
+
}, {}>, Record<string, (_: {
|
|
31
31
|
data: {
|
|
32
32
|
key: string;
|
|
33
33
|
value: unknown;
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
columnIndex: number;
|
|
37
37
|
renderHeader: (header: string) => string;
|
|
38
38
|
headers: import("./types").Header | undefined;
|
|
39
|
-
}> & Record<string, {
|
|
39
|
+
}) => any> & Record<string, (_: {
|
|
40
40
|
data: {
|
|
41
41
|
key: string;
|
|
42
42
|
value: unknown;
|
|
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
45
|
columnIndex: number;
|
|
46
46
|
renderHeader: (header: string) => string;
|
|
47
47
|
headers: import("./types").Header | undefined;
|
|
48
|
-
}> & Record<string, {
|
|
48
|
+
}) => any> & Record<string, (_: {
|
|
49
49
|
data: {
|
|
50
50
|
key: string;
|
|
51
51
|
value: unknown;
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
53
|
index: number;
|
|
54
54
|
columnIndex: number;
|
|
55
55
|
isHighlight: (param: import("./types").IsHighlightParams) => boolean;
|
|
56
|
-
}> & {
|
|
56
|
+
}) => any> & {
|
|
57
57
|
selectable: (_: {
|
|
58
58
|
data: import("./types").Data;
|
|
59
59
|
index: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Onboarding } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
id: Onboarding['id'];
|
|
4
4
|
sliders: Onboarding['sliders'];
|
|
5
5
|
isOpen?: Onboarding['isOpen'];
|
|
@@ -53,7 +53,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
53
53
|
target: string;
|
|
54
54
|
sliders: Onboarding['sliders'];
|
|
55
55
|
finalButtonText: string;
|
|
56
|
-
}
|
|
56
|
+
}>, Record<string, (_: {
|
|
57
|
+
image: string;
|
|
58
|
+
}) => any> & Record<string, (_: {
|
|
59
|
+
title: string;
|
|
60
|
+
}) => any> & Record<string, (_: {
|
|
61
|
+
content: string;
|
|
62
|
+
}) => any>>;
|
|
57
63
|
export default _default;
|
|
58
64
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
59
65
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -69,3 +75,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
69
75
|
default: D[K];
|
|
70
76
|
} : P[K];
|
|
71
77
|
};
|
|
78
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
default: (_: {}) => any;
|
|
3
|
+
}>;
|
|
2
4
|
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TabList, Tabs } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
id: Tabs['id'];
|
|
4
4
|
tabList?: TabList[] | undefined;
|
|
5
5
|
onlyLine?: Tabs['onlyLine'];
|
|
@@ -40,7 +40,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
40
40
|
"onTabitem:active"?: ((tab: TabList) => any) | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
tabList: Tabs['tabList'];
|
|
43
|
-
}
|
|
43
|
+
}>, Record<string, (_: {}) => any> & Record<string, (_: {
|
|
44
|
+
label: string;
|
|
45
|
+
}) => any> & Record<string, (_: {}) => any> & Record<string, (_: {}) => any>>;
|
|
44
46
|
export default _default;
|
|
45
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
48
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -56,3 +58,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
56
58
|
default: D[K];
|
|
57
59
|
} : P[K];
|
|
58
60
|
};
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
+
import type { Tag } from './types';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
id:
|
|
3
|
-
text?:
|
|
4
|
-
variant?:
|
|
5
|
-
size?:
|
|
6
|
-
type?:
|
|
3
|
+
id: Tag['id'];
|
|
4
|
+
text?: Tag['text'];
|
|
5
|
+
variant?: Tag['variant'];
|
|
6
|
+
size?: Tag['size'];
|
|
7
|
+
type?: Tag['type'];
|
|
7
8
|
}>, {
|
|
8
9
|
text: string;
|
|
9
10
|
variant: string;
|
|
10
11
|
size: string;
|
|
11
12
|
type: string;
|
|
12
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
id:
|
|
14
|
-
text?:
|
|
15
|
-
variant?:
|
|
16
|
-
size?:
|
|
17
|
-
type?:
|
|
14
|
+
id: Tag['id'];
|
|
15
|
+
text?: Tag['text'];
|
|
16
|
+
variant?: Tag['variant'];
|
|
17
|
+
size?: Tag['size'];
|
|
18
|
+
type?: Tag['type'];
|
|
18
19
|
}>, {
|
|
19
20
|
text: string;
|
|
20
21
|
variant: string;
|
|
21
22
|
size: string;
|
|
22
23
|
type: string;
|
|
23
24
|
}>>>, {
|
|
24
|
-
type:
|
|
25
|
+
type: import("./types").Type;
|
|
25
26
|
text: string;
|
|
26
|
-
size:
|
|
27
|
-
variant:
|
|
27
|
+
size: import("./types").Size;
|
|
28
|
+
variant: "fill" | "outline";
|
|
28
29
|
}>, {
|
|
29
30
|
default: (_: {}) => any;
|
|
30
31
|
}>;
|