@bobbykim/mcl-cards 0.9.0 → 0.9.2
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/index.d.ts +102 -164
- package/dist/mcl-cards.js +1628 -224
- package/dist/mcl-cards.umd.cjs +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -9,66 +9,10 @@ import { OpacityRange } from '@bobbykim/manguito-theme';
|
|
|
9
9
|
import { PublicProps } from 'vue';
|
|
10
10
|
import { Range as Range_2 } from '@bobbykim/manguito-theme';
|
|
11
11
|
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
-
title: string;
|
|
14
|
-
titleSize?: HeadingSize;
|
|
15
|
-
titleColor?: ColorPalette;
|
|
16
|
-
borderColor?: ColorPalette;
|
|
17
|
-
bgColor?: ColorPalette;
|
|
18
|
-
fullWidth?: boolean;
|
|
19
|
-
glass?: boolean;
|
|
20
|
-
glassBlur?: BodyText;
|
|
21
|
-
glassOpacity?: OpacityRange;
|
|
22
|
-
displayImage?: boolean;
|
|
23
|
-
imageSource?: string;
|
|
24
|
-
imageAlt?: string;
|
|
25
|
-
displayCta?: boolean;
|
|
26
|
-
ctaAsLink?: boolean;
|
|
27
|
-
ctaText?: string;
|
|
28
|
-
ctaColor?: ColorPalette;
|
|
29
|
-
ctaLink?: string;
|
|
30
|
-
ctaTarget?: CtaTarget;
|
|
31
|
-
displayLabel?: boolean;
|
|
32
|
-
labelText?: string;
|
|
33
|
-
labelTextColor?: ColorPalette;
|
|
34
|
-
labelColor?: ColorPalette;
|
|
35
|
-
enlargeOnHover?: boolean;
|
|
36
|
-
displayHighlight?: boolean;
|
|
37
|
-
highlightColor?: ColorPalette;
|
|
38
|
-
rounded?: boolean;
|
|
39
|
-
displayShadow?: boolean;
|
|
40
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
41
13
|
"card-click": (event: Event, item: CardClickEvent) => any;
|
|
42
14
|
"card-btn-click": (event: Event, item: CardClickEvent) => any;
|
|
43
|
-
}, string, PublicProps, Readonly<{
|
|
44
|
-
title: string;
|
|
45
|
-
titleSize?: HeadingSize;
|
|
46
|
-
titleColor?: ColorPalette;
|
|
47
|
-
borderColor?: ColorPalette;
|
|
48
|
-
bgColor?: ColorPalette;
|
|
49
|
-
fullWidth?: boolean;
|
|
50
|
-
glass?: boolean;
|
|
51
|
-
glassBlur?: BodyText;
|
|
52
|
-
glassOpacity?: OpacityRange;
|
|
53
|
-
displayImage?: boolean;
|
|
54
|
-
imageSource?: string;
|
|
55
|
-
imageAlt?: string;
|
|
56
|
-
displayCta?: boolean;
|
|
57
|
-
ctaAsLink?: boolean;
|
|
58
|
-
ctaText?: string;
|
|
59
|
-
ctaColor?: ColorPalette;
|
|
60
|
-
ctaLink?: string;
|
|
61
|
-
ctaTarget?: CtaTarget;
|
|
62
|
-
displayLabel?: boolean;
|
|
63
|
-
labelText?: string;
|
|
64
|
-
labelTextColor?: ColorPalette;
|
|
65
|
-
labelColor?: ColorPalette;
|
|
66
|
-
enlargeOnHover?: boolean;
|
|
67
|
-
displayHighlight?: boolean;
|
|
68
|
-
highlightColor?: ColorPalette;
|
|
69
|
-
rounded?: boolean;
|
|
70
|
-
displayShadow?: boolean;
|
|
71
|
-
}> & Readonly<{
|
|
15
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
72
16
|
"onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
73
17
|
"onCard-btn-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
74
18
|
}>, {
|
|
@@ -96,37 +40,11 @@ displayHighlight: boolean;
|
|
|
96
40
|
highlightColor: ColorPalette;
|
|
97
41
|
rounded: boolean;
|
|
98
42
|
displayShadow: boolean;
|
|
99
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
43
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
100
44
|
|
|
101
|
-
declare const __VLS_component_2: DefineComponent<
|
|
102
|
-
title: string;
|
|
103
|
-
titleSize?: HeadingSize;
|
|
104
|
-
titleColor?: ColorPalette;
|
|
105
|
-
titleBlockColor?: ColorPalette;
|
|
106
|
-
borderColor?: ColorPalette;
|
|
107
|
-
imageSource?: string;
|
|
108
|
-
imageAlt?: string;
|
|
109
|
-
displayGrayScale?: boolean;
|
|
110
|
-
ctaAsLink?: boolean;
|
|
111
|
-
ctaLink?: string;
|
|
112
|
-
ctaTarget?: CtaTarget;
|
|
113
|
-
rounded?: boolean;
|
|
114
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
45
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
115
46
|
"card-click": (event: Event, item: CardClickEvent) => any;
|
|
116
|
-
}, string, PublicProps, Readonly<{
|
|
117
|
-
title: string;
|
|
118
|
-
titleSize?: HeadingSize;
|
|
119
|
-
titleColor?: ColorPalette;
|
|
120
|
-
titleBlockColor?: ColorPalette;
|
|
121
|
-
borderColor?: ColorPalette;
|
|
122
|
-
imageSource?: string;
|
|
123
|
-
imageAlt?: string;
|
|
124
|
-
displayGrayScale?: boolean;
|
|
125
|
-
ctaAsLink?: boolean;
|
|
126
|
-
ctaLink?: string;
|
|
127
|
-
ctaTarget?: CtaTarget;
|
|
128
|
-
rounded?: boolean;
|
|
129
|
-
}> & Readonly<{
|
|
47
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
130
48
|
"onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
131
49
|
}>, {
|
|
132
50
|
titleSize: HeadingSize;
|
|
@@ -138,33 +56,11 @@ ctaTarget: CtaTarget;
|
|
|
138
56
|
rounded: boolean;
|
|
139
57
|
titleBlockColor: ColorPalette;
|
|
140
58
|
displayGrayScale: boolean;
|
|
141
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
59
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
142
60
|
|
|
143
|
-
declare const __VLS_component_3: DefineComponent<
|
|
144
|
-
imageSource: string;
|
|
145
|
-
imageAlt?: string;
|
|
146
|
-
title?: string;
|
|
147
|
-
titleSize?: HeadingSize;
|
|
148
|
-
titleColor?: ColorPalette;
|
|
149
|
-
displayHighlight?: boolean;
|
|
150
|
-
highlightColor?: ColorPalette;
|
|
151
|
-
highlightOpacity?: OpacityRange;
|
|
152
|
-
displayTitle?: boolean;
|
|
153
|
-
cardColor?: ColorPalette;
|
|
154
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
61
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
155
62
|
"card-click": (event: Event) => any;
|
|
156
|
-
}, string, PublicProps, Readonly<{
|
|
157
|
-
imageSource: string;
|
|
158
|
-
imageAlt?: string;
|
|
159
|
-
title?: string;
|
|
160
|
-
titleSize?: HeadingSize;
|
|
161
|
-
titleColor?: ColorPalette;
|
|
162
|
-
displayHighlight?: boolean;
|
|
163
|
-
highlightColor?: ColorPalette;
|
|
164
|
-
highlightOpacity?: OpacityRange;
|
|
165
|
-
displayTitle?: boolean;
|
|
166
|
-
cardColor?: ColorPalette;
|
|
167
|
-
}> & Readonly<{
|
|
63
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
168
64
|
"onCard-click"?: ((event: Event) => any) | undefined;
|
|
169
65
|
}>, {
|
|
170
66
|
titleSize: HeadingSize;
|
|
@@ -174,55 +70,11 @@ highlightColor: ColorPalette;
|
|
|
174
70
|
highlightOpacity: OpacityRange;
|
|
175
71
|
displayTitle: boolean;
|
|
176
72
|
cardColor: ColorPalette;
|
|
177
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
73
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
178
74
|
|
|
179
|
-
declare const __VLS_component_4: DefineComponent<
|
|
180
|
-
displayImage?: boolean;
|
|
181
|
-
imageSource?: string;
|
|
182
|
-
imageAlt?: string;
|
|
183
|
-
title: string;
|
|
184
|
-
titleSize?: HeadingSize;
|
|
185
|
-
titleColor?: ColorPalette;
|
|
186
|
-
bgColor?: ColorPalette;
|
|
187
|
-
displayHighlight?: boolean;
|
|
188
|
-
highlightColor?: ColorPalette;
|
|
189
|
-
ctaText?: string;
|
|
190
|
-
ctaLink: string;
|
|
191
|
-
ctaLinkTarget?: CtaTarget;
|
|
192
|
-
ctaAsLink?: boolean;
|
|
193
|
-
ctaButton?: boolean;
|
|
194
|
-
ctaButtonColor?: ColorPalette;
|
|
195
|
-
ctaButtonBlock?: boolean;
|
|
196
|
-
borderWidth?: Range_2<1, 10>;
|
|
197
|
-
borderColor?: ColorPalette;
|
|
198
|
-
gradient1?: ColorPalette;
|
|
199
|
-
gradient2?: ColorPalette;
|
|
200
|
-
customColor?: ColorMap;
|
|
201
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
75
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
202
76
|
"card-click": (event: Event, item: CardClickEvent) => any;
|
|
203
|
-
}, string, PublicProps, Readonly<{
|
|
204
|
-
displayImage?: boolean;
|
|
205
|
-
imageSource?: string;
|
|
206
|
-
imageAlt?: string;
|
|
207
|
-
title: string;
|
|
208
|
-
titleSize?: HeadingSize;
|
|
209
|
-
titleColor?: ColorPalette;
|
|
210
|
-
bgColor?: ColorPalette;
|
|
211
|
-
displayHighlight?: boolean;
|
|
212
|
-
highlightColor?: ColorPalette;
|
|
213
|
-
ctaText?: string;
|
|
214
|
-
ctaLink: string;
|
|
215
|
-
ctaLinkTarget?: CtaTarget;
|
|
216
|
-
ctaAsLink?: boolean;
|
|
217
|
-
ctaButton?: boolean;
|
|
218
|
-
ctaButtonColor?: ColorPalette;
|
|
219
|
-
ctaButtonBlock?: boolean;
|
|
220
|
-
borderWidth?: Range_2<1, 10>;
|
|
221
|
-
borderColor?: ColorPalette;
|
|
222
|
-
gradient1?: ColorPalette;
|
|
223
|
-
gradient2?: ColorPalette;
|
|
224
|
-
customColor?: ColorMap;
|
|
225
|
-
}> & Readonly<{
|
|
77
|
+
}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
226
78
|
"onCard-click"?: ((event: Event, item: CardClickEvent) => any) | undefined;
|
|
227
79
|
}>, {
|
|
228
80
|
titleSize: HeadingSize;
|
|
@@ -242,46 +94,132 @@ ctaButtonBlock: boolean;
|
|
|
242
94
|
borderWidth: Range_2<1, 10>;
|
|
243
95
|
gradient1: ColorPalette;
|
|
244
96
|
gradient2: ColorPalette;
|
|
245
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
97
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
98
|
+
|
|
99
|
+
declare type __VLS_Props = {
|
|
100
|
+
title: string;
|
|
101
|
+
titleSize?: HeadingSize;
|
|
102
|
+
titleColor?: ColorPalette;
|
|
103
|
+
borderColor?: ColorPalette;
|
|
104
|
+
bgColor?: ColorPalette;
|
|
105
|
+
fullWidth?: boolean;
|
|
106
|
+
glass?: boolean;
|
|
107
|
+
glassBlur?: BodyText;
|
|
108
|
+
glassOpacity?: OpacityRange;
|
|
109
|
+
displayImage?: boolean;
|
|
110
|
+
imageSource?: string;
|
|
111
|
+
imageAlt?: string;
|
|
112
|
+
displayCta?: boolean;
|
|
113
|
+
ctaAsLink?: boolean;
|
|
114
|
+
ctaText?: string;
|
|
115
|
+
ctaColor?: ColorPalette;
|
|
116
|
+
ctaLink?: string;
|
|
117
|
+
ctaTarget?: CtaTarget;
|
|
118
|
+
displayLabel?: boolean;
|
|
119
|
+
labelText?: string;
|
|
120
|
+
labelTextColor?: ColorPalette;
|
|
121
|
+
labelColor?: ColorPalette;
|
|
122
|
+
enlargeOnHover?: boolean;
|
|
123
|
+
displayHighlight?: boolean;
|
|
124
|
+
highlightColor?: ColorPalette;
|
|
125
|
+
rounded?: boolean;
|
|
126
|
+
displayShadow?: boolean;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
declare type __VLS_Props_2 = {
|
|
130
|
+
title: string;
|
|
131
|
+
titleSize?: HeadingSize;
|
|
132
|
+
titleColor?: ColorPalette;
|
|
133
|
+
titleBlockColor?: ColorPalette;
|
|
134
|
+
borderColor?: ColorPalette;
|
|
135
|
+
imageSource?: string;
|
|
136
|
+
imageAlt?: string;
|
|
137
|
+
displayGrayScale?: boolean;
|
|
138
|
+
ctaAsLink?: boolean;
|
|
139
|
+
ctaLink?: string;
|
|
140
|
+
ctaTarget?: CtaTarget;
|
|
141
|
+
rounded?: boolean;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
declare type __VLS_Props_3 = {
|
|
145
|
+
imageSource: string;
|
|
146
|
+
imageAlt?: string;
|
|
147
|
+
title?: string;
|
|
148
|
+
titleSize?: HeadingSize;
|
|
149
|
+
titleColor?: ColorPalette;
|
|
150
|
+
displayHighlight?: boolean;
|
|
151
|
+
highlightColor?: ColorPalette;
|
|
152
|
+
highlightOpacity?: OpacityRange;
|
|
153
|
+
displayTitle?: boolean;
|
|
154
|
+
cardColor?: ColorPalette;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
declare type __VLS_Props_4 = {
|
|
158
|
+
displayImage?: boolean;
|
|
159
|
+
imageSource?: string;
|
|
160
|
+
imageAlt?: string;
|
|
161
|
+
title: string;
|
|
162
|
+
titleSize?: HeadingSize;
|
|
163
|
+
titleColor?: ColorPalette;
|
|
164
|
+
bgColor?: ColorPalette;
|
|
165
|
+
displayHighlight?: boolean;
|
|
166
|
+
highlightColor?: ColorPalette;
|
|
167
|
+
ctaText?: string;
|
|
168
|
+
ctaLink: string;
|
|
169
|
+
ctaLinkTarget?: CtaTarget;
|
|
170
|
+
ctaAsLink?: boolean;
|
|
171
|
+
ctaButton?: boolean;
|
|
172
|
+
ctaButtonColor?: ColorPalette;
|
|
173
|
+
ctaButtonBlock?: boolean;
|
|
174
|
+
borderWidth?: Range_2<1, 10>;
|
|
175
|
+
borderColor?: ColorPalette;
|
|
176
|
+
gradient1?: ColorPalette;
|
|
177
|
+
gradient2?: ColorPalette;
|
|
178
|
+
customColor?: ColorMap;
|
|
179
|
+
};
|
|
246
180
|
|
|
247
181
|
declare function __VLS_template(): {
|
|
182
|
+
attrs: Partial<{}>;
|
|
248
183
|
slots: Readonly<{
|
|
249
184
|
default: any;
|
|
250
185
|
}> & {
|
|
251
186
|
default: any;
|
|
252
187
|
};
|
|
253
188
|
refs: {};
|
|
254
|
-
|
|
189
|
+
rootEl: HTMLDivElement;
|
|
255
190
|
};
|
|
256
191
|
|
|
257
192
|
declare function __VLS_template_2(): {
|
|
193
|
+
attrs: Partial<{}>;
|
|
258
194
|
slots: Readonly<{
|
|
259
195
|
default: any;
|
|
260
196
|
}> & {
|
|
261
197
|
default: any;
|
|
262
198
|
};
|
|
263
199
|
refs: {};
|
|
264
|
-
|
|
200
|
+
rootEl: HTMLDivElement;
|
|
265
201
|
};
|
|
266
202
|
|
|
267
203
|
declare function __VLS_template_3(): {
|
|
204
|
+
attrs: Partial<{}>;
|
|
268
205
|
slots: Readonly<{
|
|
269
206
|
'card-body': any;
|
|
270
207
|
}> & {
|
|
271
208
|
'card-body': any;
|
|
272
209
|
};
|
|
273
210
|
refs: {};
|
|
274
|
-
|
|
211
|
+
rootEl: HTMLDivElement;
|
|
275
212
|
};
|
|
276
213
|
|
|
277
214
|
declare function __VLS_template_4(): {
|
|
215
|
+
attrs: Partial<{}>;
|
|
278
216
|
slots: Readonly<{
|
|
279
217
|
default: any;
|
|
280
218
|
}> & {
|
|
281
219
|
default: any;
|
|
282
220
|
};
|
|
283
221
|
refs: {};
|
|
284
|
-
|
|
222
|
+
rootEl: HTMLDivElement;
|
|
285
223
|
};
|
|
286
224
|
|
|
287
225
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|