@muenchen/muc-patternlab-vue 1.6.0 → 1.7.1
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 +5 -2
- package/dist/assets/temporary/custom-style.css +52 -0
- package/dist/components/Card/MucCard.stories.d.ts +165 -0
- package/dist/components/Card/MucCard.vue.d.ts +44 -0
- package/dist/components/Card/MucCardContainer.stories.d.ts +148 -0
- package/dist/components/Card/MucCardContainer.vue.d.ts +17 -0
- package/dist/components/Card/index.d.ts +4 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/muc-patternlab-vue.es.js +197 -155
- package/dist/style.css +1 -1
- package/dist/types/components/Card/MucCard.stories.d.ts +165 -0
- package/dist/types/components/Card/MucCard.vue.d.ts +44 -0
- package/dist/types/components/Card/MucCardContainer.stories.d.ts +148 -0
- package/dist/types/components/Card/MucCardContainer.vue.d.ts +17 -0
- package/dist/types/components/Card/index.d.ts +3 -0
- package/dist/types/components/index.d.ts +2 -1
- package/package.json +1 -1
- package/src/components/Card/MucCard.stories.ts +55 -0
- package/src/components/Card/MucCard.vue +92 -0
- package/src/components/Card/MucCardContainer.stories.ts +43 -0
- package/src/components/Card/MucCardContainer.vue +37 -0
- package/src/components/Card/index.ts +4 -0
- package/src/components/Intro/MucIntro.vue +10 -8
- package/src/components/index.ts +3 -0
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img height="140" src="docs/images/muc-patternlab.png" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
<p>
|
|
5
|
+
<p align="center">
|
|
4
6
|
<a href="https://github.com/it-at-m/muc-patternlab-vue/actions/workflows/build.yaml?query=branch%3Amain">
|
|
5
7
|
<img src="https://img.shields.io/github/actions/workflow/status/it-at-m/muc-patternlab-vue/build.yaml"
|
|
6
8
|
alt="Build Status">
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
|
|
18
20
|
# muc-patternlab-vue
|
|
19
21
|
|
|
22
|
+
|
|
20
23
|
This repository contains a ready-to-use Vue-Components-Library based
|
|
21
24
|
on [munich.de's MDE5 Patternlab](https://patternlab.muenchen.space/).
|
|
22
25
|
|
|
@@ -16,4 +16,56 @@
|
|
|
16
16
|
background-color: #fff;
|
|
17
17
|
-webkit-text-size-adjust: 100%;
|
|
18
18
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
h1 {
|
|
22
|
+
font-family: "Roboto Condensed",Arial,sans-serif;
|
|
23
|
+
font-size: 1.875rem;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
line-height: 1.25;
|
|
26
|
+
}
|
|
27
|
+
h2 {
|
|
28
|
+
font-family: "Roboto Condensed",Arial,sans-serif;
|
|
29
|
+
font-size: 1.5rem;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
line-height: 1.25;
|
|
32
|
+
}
|
|
33
|
+
h3 {
|
|
34
|
+
font-family: "Roboto Condensed",Arial,sans-serif;
|
|
35
|
+
font-size: 1.25rem;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
line-height: 1.25;
|
|
38
|
+
}
|
|
39
|
+
h4 {
|
|
40
|
+
font-family: "Roboto Condensed",Arial,sans-serif;
|
|
41
|
+
font-size: 1.125rem;
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
line-height: 1.25;
|
|
44
|
+
}
|
|
45
|
+
h5 {
|
|
46
|
+
font-family: "Roboto Condensed",Arial,sans-serif;
|
|
47
|
+
font-size: 1rem;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
line-height: 1.5;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media all and (min-width:1200px) {
|
|
53
|
+
h1 {
|
|
54
|
+
font-size: 2.375rem;
|
|
55
|
+
}
|
|
56
|
+
h2 {
|
|
57
|
+
font-size: 1.75rem;
|
|
58
|
+
}
|
|
59
|
+
h3 {
|
|
60
|
+
font-size: 1.5rem;
|
|
61
|
+
}
|
|
62
|
+
h4 {
|
|
63
|
+
font-size: 1.25rem;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.muc-divider {
|
|
68
|
+
align-self: stretch;
|
|
69
|
+
height: 0;
|
|
70
|
+
border: 1px var(--color-neutrals-blue) solid;
|
|
19
71
|
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
title: {
|
|
5
|
+
type: import('vue').PropType<string>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
tagline: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & {
|
|
13
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
click: (click: Event) => void;
|
|
16
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
title: {
|
|
18
|
+
type: import('vue').PropType<string>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
tagline: {
|
|
22
|
+
type: import('vue').PropType<string>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
27
|
+
}, {}, true, {}, {}, {
|
|
28
|
+
P: {};
|
|
29
|
+
B: {};
|
|
30
|
+
D: {};
|
|
31
|
+
C: {};
|
|
32
|
+
M: {};
|
|
33
|
+
Defaults: {};
|
|
34
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
title: {
|
|
36
|
+
type: import('vue').PropType<string>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
tagline: {
|
|
40
|
+
type: import('vue').PropType<string>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
45
|
+
}, {}, {}, {}, {}, {}>;
|
|
46
|
+
__isFragment?: undefined;
|
|
47
|
+
__isTeleport?: undefined;
|
|
48
|
+
__isSuspense?: undefined;
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
title: {
|
|
51
|
+
type: import('vue').PropType<string>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
tagline: {
|
|
55
|
+
type: import('vue').PropType<string>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
}>> & {
|
|
59
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
60
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
+
click: (click: Event) => void;
|
|
62
|
+
}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
63
|
+
$slots: Readonly<{
|
|
64
|
+
headerPrefix(): any;
|
|
65
|
+
content(): any;
|
|
66
|
+
}> & {
|
|
67
|
+
headerPrefix(): any;
|
|
68
|
+
content(): any;
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
title: string;
|
|
72
|
+
tags: string[];
|
|
73
|
+
args: {
|
|
74
|
+
onClick: import('@vitest/spy').Mock<any, any>;
|
|
75
|
+
};
|
|
76
|
+
parameters: {
|
|
77
|
+
docs: {
|
|
78
|
+
description: {
|
|
79
|
+
component: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export default _default;
|
|
85
|
+
export declare const Default: {
|
|
86
|
+
args: {
|
|
87
|
+
title: string;
|
|
88
|
+
tagline: string;
|
|
89
|
+
content: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export declare const WithHeaderPrefix: () => {
|
|
93
|
+
components: {
|
|
94
|
+
MucCard: {
|
|
95
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
title: {
|
|
97
|
+
type: import('vue').PropType<string>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
tagline: {
|
|
101
|
+
type: import('vue').PropType<string>;
|
|
102
|
+
required: true;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
106
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
107
|
+
click: (click: Event) => void;
|
|
108
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
109
|
+
title: {
|
|
110
|
+
type: import('vue').PropType<string>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
tagline: {
|
|
114
|
+
type: import('vue').PropType<string>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
}>> & {
|
|
118
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
119
|
+
}, {}, true, {}, {}, {
|
|
120
|
+
P: {};
|
|
121
|
+
B: {};
|
|
122
|
+
D: {};
|
|
123
|
+
C: {};
|
|
124
|
+
M: {};
|
|
125
|
+
Defaults: {};
|
|
126
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
127
|
+
title: {
|
|
128
|
+
type: import('vue').PropType<string>;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
tagline: {
|
|
132
|
+
type: import('vue').PropType<string>;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
}>> & {
|
|
136
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
137
|
+
}, {}, {}, {}, {}, {}>;
|
|
138
|
+
__isFragment?: undefined;
|
|
139
|
+
__isTeleport?: undefined;
|
|
140
|
+
__isSuspense?: undefined;
|
|
141
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
142
|
+
title: {
|
|
143
|
+
type: import('vue').PropType<string>;
|
|
144
|
+
required: true;
|
|
145
|
+
};
|
|
146
|
+
tagline: {
|
|
147
|
+
type: import('vue').PropType<string>;
|
|
148
|
+
required: true;
|
|
149
|
+
};
|
|
150
|
+
}>> & {
|
|
151
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
152
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
153
|
+
click: (click: Event) => void;
|
|
154
|
+
}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
155
|
+
$slots: Readonly<{
|
|
156
|
+
headerPrefix(): any;
|
|
157
|
+
content(): any;
|
|
158
|
+
}> & {
|
|
159
|
+
headerPrefix(): any;
|
|
160
|
+
content(): any;
|
|
161
|
+
};
|
|
162
|
+
});
|
|
163
|
+
};
|
|
164
|
+
template: string;
|
|
165
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title: string;
|
|
3
|
+
tagline: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
click: (click: Event) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
title: string;
|
|
8
|
+
tagline: string;
|
|
9
|
+
}>>> & {
|
|
10
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
11
|
+
}, {}, {}>, Readonly<{
|
|
12
|
+
/**
|
|
13
|
+
* Icon shown above the callout. Defaults to icons matching the type.
|
|
14
|
+
*/
|
|
15
|
+
headerPrefix(): any;
|
|
16
|
+
/**
|
|
17
|
+
* Content beneath the heading shown as text.
|
|
18
|
+
*/
|
|
19
|
+
content(): any;
|
|
20
|
+
}> & {
|
|
21
|
+
/**
|
|
22
|
+
* Icon shown above the callout. Defaults to icons matching the type.
|
|
23
|
+
*/
|
|
24
|
+
headerPrefix(): any;
|
|
25
|
+
/**
|
|
26
|
+
* Content beneath the heading shown as text.
|
|
27
|
+
*/
|
|
28
|
+
content(): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
components: {
|
|
3
|
+
MucCardContainer: {
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
5
|
+
P: {};
|
|
6
|
+
B: {};
|
|
7
|
+
D: {};
|
|
8
|
+
C: {};
|
|
9
|
+
M: {};
|
|
10
|
+
Defaults: {};
|
|
11
|
+
}, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
12
|
+
__isFragment?: undefined;
|
|
13
|
+
__isTeleport?: undefined;
|
|
14
|
+
__isSuspense?: undefined;
|
|
15
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
16
|
+
$slots: Readonly<{
|
|
17
|
+
default(): any;
|
|
18
|
+
}> & {
|
|
19
|
+
default(): any;
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
component: {
|
|
24
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
32
|
+
__isFragment?: undefined;
|
|
33
|
+
__isTeleport?: undefined;
|
|
34
|
+
__isSuspense?: undefined;
|
|
35
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
36
|
+
$slots: Readonly<{
|
|
37
|
+
default(): any;
|
|
38
|
+
}> & {
|
|
39
|
+
default(): any;
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
title: string;
|
|
43
|
+
tags: string[];
|
|
44
|
+
args: {
|
|
45
|
+
onClick: import('@vitest/spy').Mock<any, any>;
|
|
46
|
+
};
|
|
47
|
+
parameters: {
|
|
48
|
+
docs: {
|
|
49
|
+
description: {
|
|
50
|
+
component: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export default _default;
|
|
56
|
+
export declare const Template: () => {
|
|
57
|
+
components: {
|
|
58
|
+
MucCardContainer: {
|
|
59
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
60
|
+
P: {};
|
|
61
|
+
B: {};
|
|
62
|
+
D: {};
|
|
63
|
+
C: {};
|
|
64
|
+
M: {};
|
|
65
|
+
Defaults: {};
|
|
66
|
+
}, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
67
|
+
__isFragment?: undefined;
|
|
68
|
+
__isTeleport?: undefined;
|
|
69
|
+
__isSuspense?: undefined;
|
|
70
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
71
|
+
$slots: Readonly<{
|
|
72
|
+
default(): any;
|
|
73
|
+
}> & {
|
|
74
|
+
default(): any;
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
MucCard: {
|
|
78
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
title: {
|
|
80
|
+
type: import('vue').PropType<string>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
tagline: {
|
|
84
|
+
type: import('vue').PropType<string>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
}>> & {
|
|
88
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
89
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
90
|
+
click: (click: Event) => void;
|
|
91
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
92
|
+
title: {
|
|
93
|
+
type: import('vue').PropType<string>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
tagline: {
|
|
97
|
+
type: import('vue').PropType<string>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
}>> & {
|
|
101
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
102
|
+
}, {}, true, {}, {}, {
|
|
103
|
+
P: {};
|
|
104
|
+
B: {};
|
|
105
|
+
D: {};
|
|
106
|
+
C: {};
|
|
107
|
+
M: {};
|
|
108
|
+
Defaults: {};
|
|
109
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
110
|
+
title: {
|
|
111
|
+
type: import('vue').PropType<string>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
tagline: {
|
|
115
|
+
type: import('vue').PropType<string>;
|
|
116
|
+
required: true;
|
|
117
|
+
};
|
|
118
|
+
}>> & {
|
|
119
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
120
|
+
}, {}, {}, {}, {}, {}>;
|
|
121
|
+
__isFragment?: undefined;
|
|
122
|
+
__isTeleport?: undefined;
|
|
123
|
+
__isSuspense?: undefined;
|
|
124
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
125
|
+
title: {
|
|
126
|
+
type: import('vue').PropType<string>;
|
|
127
|
+
required: true;
|
|
128
|
+
};
|
|
129
|
+
tagline: {
|
|
130
|
+
type: import('vue').PropType<string>;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
}>> & {
|
|
134
|
+
onClick?: ((click: Event) => any) | undefined;
|
|
135
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
136
|
+
click: (click: Event) => void;
|
|
137
|
+
}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
138
|
+
$slots: Readonly<{
|
|
139
|
+
headerPrefix(): any;
|
|
140
|
+
content(): any;
|
|
141
|
+
}> & {
|
|
142
|
+
headerPrefix(): any;
|
|
143
|
+
content(): any;
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
template: string;
|
|
148
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, Readonly<{
|
|
2
|
+
/**
|
|
3
|
+
* MucCards can be put into this slot.
|
|
4
|
+
*/
|
|
5
|
+
default(): any;
|
|
6
|
+
}> & {
|
|
7
|
+
/**
|
|
8
|
+
* MucCards can be put into this slot.
|
|
9
|
+
*/
|
|
10
|
+
default(): any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { MucBanner } from './Banner';
|
|
2
2
|
import { MucButton } from './Button';
|
|
3
3
|
import { MucCallout } from './Callout';
|
|
4
|
+
import { MucCard, MucCardContainer } from './Card';
|
|
4
5
|
import { MucComment, MucCommentText } from './Comment/';
|
|
5
6
|
import { MucIntro } from './Intro';
|
|
6
7
|
|
|
7
|
-
export { MucButton, MucBanner, MucIntro, MucCallout, MucComment, MucCommentText, };
|
|
8
|
+
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, };
|