@unsource/ui 1.1.0 → 1.3.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/dist/module.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
direction?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
|
|
3
|
-
customClass?: Record<'main' | 'body' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
|
|
3
|
+
customClass?: Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
|
|
4
4
|
item: {
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
@@ -15,23 +15,27 @@ type __VLS_Props = {
|
|
|
15
15
|
};
|
|
16
16
|
to?: string;
|
|
17
17
|
};
|
|
18
|
-
declare var
|
|
18
|
+
declare var __VLS_33: {
|
|
19
19
|
item: any;
|
|
20
|
-
},
|
|
20
|
+
}, __VLS_40: {
|
|
21
21
|
item: any;
|
|
22
|
-
},
|
|
22
|
+
}, __VLS_42: {
|
|
23
23
|
item: any;
|
|
24
|
-
},
|
|
24
|
+
}, __VLS_44: {
|
|
25
|
+
item: any;
|
|
26
|
+
}, __VLS_46: {
|
|
25
27
|
item: any;
|
|
26
28
|
};
|
|
27
29
|
type __VLS_Slots = {} & {
|
|
28
|
-
|
|
30
|
+
bodyStart?: (props: typeof __VLS_33) => any;
|
|
31
|
+
} & {
|
|
32
|
+
bodyEnd?: (props: typeof __VLS_40) => any;
|
|
29
33
|
} & {
|
|
30
|
-
header?: (props: typeof
|
|
34
|
+
header?: (props: typeof __VLS_42) => any;
|
|
31
35
|
} & {
|
|
32
|
-
footerStart?: (props: typeof
|
|
36
|
+
footerStart?: (props: typeof __VLS_44) => any;
|
|
33
37
|
} & {
|
|
34
|
-
footerEnd?: (props: typeof
|
|
38
|
+
footerEnd?: (props: typeof __VLS_46) => any;
|
|
35
39
|
};
|
|
36
40
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -52,21 +52,42 @@
|
|
|
52
52
|
icon-type="img"
|
|
53
53
|
class="!object-cover shrink-0 w-14 h-14 aspect-square rounded-full border-(2 solid primary-500)"
|
|
54
54
|
/>
|
|
55
|
-
<div class="flex justify-start flex-col gap-1 grow-1">
|
|
55
|
+
<div class="flex justify-start flex-col gap-1 grow-1" :class="customClass.inside">
|
|
56
|
+
<div class="flex gap-2 items-center" :class="customClass.logoName">
|
|
57
|
+
<UnNuxtIcon
|
|
58
|
+
v-if="item.logo"
|
|
59
|
+
:class="customClass.logo"
|
|
60
|
+
:name="item.logo"
|
|
61
|
+
icon-type="img"
|
|
62
|
+
class="!object-cover shrink-0 w-14 h-14 aspect-square rounded-full border-(2 solid primary-500)"
|
|
63
|
+
/>
|
|
64
|
+
<div class="flex flex-col">
|
|
65
|
+
<h3
|
|
66
|
+
v-if="item.name"
|
|
67
|
+
:class="customClass.name"
|
|
68
|
+
class="text-(lg gray-600) font-medium"
|
|
69
|
+
>{{ item.name }}</h3>
|
|
70
|
+
<p
|
|
71
|
+
v-if="item.desc"
|
|
72
|
+
:class="customClass.desc"
|
|
73
|
+
class="text-(base gray-500)"
|
|
74
|
+
>{{ item.desc }}</p>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<slot
|
|
78
|
+
name="bodyStart"
|
|
79
|
+
:item="item"
|
|
80
|
+
/>
|
|
56
81
|
<h3
|
|
57
82
|
v-if="item.title"
|
|
58
83
|
:class="customClass.title"
|
|
59
84
|
class="text-(lg gray-600) font-medium"
|
|
60
85
|
>{{ item.title }}</h3>
|
|
61
|
-
<
|
|
86
|
+
<p
|
|
62
87
|
v-if="item.description"
|
|
63
88
|
:class="customClass.description"
|
|
64
89
|
class="text-(base gray-500)"
|
|
65
|
-
>{{ item.description }}</
|
|
66
|
-
<slot
|
|
67
|
-
name="body"
|
|
68
|
-
:item="item"
|
|
69
|
-
/>
|
|
90
|
+
>{{ item.description }}</p>
|
|
70
91
|
<div
|
|
71
92
|
v-if="item.tags?.length"
|
|
72
93
|
:class="customClass.tags"
|
|
@@ -83,6 +104,10 @@
|
|
|
83
104
|
class="!px-1"
|
|
84
105
|
/>
|
|
85
106
|
</div>
|
|
107
|
+
<slot
|
|
108
|
+
name="bodyEnd"
|
|
109
|
+
:item="item"
|
|
110
|
+
/>
|
|
86
111
|
</div>
|
|
87
112
|
<slot
|
|
88
113
|
name="header"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
direction?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
|
|
3
|
-
customClass?: Record<'main' | 'body' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
|
|
3
|
+
customClass?: Record<'main' | 'inside' | 'logoName' | 'name' | 'desc' | 'body' | 'logo' | 'slider' | 'sliderWrapper' | 'sliderSlides' | 'title' | 'tags' | 'tag' | 'description' | 'footer' | 'image' | 'avatar', string>;
|
|
4
4
|
item: {
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
@@ -15,23 +15,27 @@ type __VLS_Props = {
|
|
|
15
15
|
};
|
|
16
16
|
to?: string;
|
|
17
17
|
};
|
|
18
|
-
declare var
|
|
18
|
+
declare var __VLS_33: {
|
|
19
19
|
item: any;
|
|
20
|
-
},
|
|
20
|
+
}, __VLS_40: {
|
|
21
21
|
item: any;
|
|
22
|
-
},
|
|
22
|
+
}, __VLS_42: {
|
|
23
23
|
item: any;
|
|
24
|
-
},
|
|
24
|
+
}, __VLS_44: {
|
|
25
|
+
item: any;
|
|
26
|
+
}, __VLS_46: {
|
|
25
27
|
item: any;
|
|
26
28
|
};
|
|
27
29
|
type __VLS_Slots = {} & {
|
|
28
|
-
|
|
30
|
+
bodyStart?: (props: typeof __VLS_33) => any;
|
|
31
|
+
} & {
|
|
32
|
+
bodyEnd?: (props: typeof __VLS_40) => any;
|
|
29
33
|
} & {
|
|
30
|
-
header?: (props: typeof
|
|
34
|
+
header?: (props: typeof __VLS_42) => any;
|
|
31
35
|
} & {
|
|
32
|
-
footerStart?: (props: typeof
|
|
36
|
+
footerStart?: (props: typeof __VLS_44) => any;
|
|
33
37
|
} & {
|
|
34
|
-
footerEnd?: (props: typeof
|
|
38
|
+
footerEnd?: (props: typeof __VLS_46) => any;
|
|
35
39
|
};
|
|
36
40
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|