@muenchen/muc-patternlab-vue 1.8.0-beta.7 → 1.8.0-beta.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/dist/components/Icon/MucIcon.stories.d.ts +43 -0
- package/dist/components/Icon/MucIcon.vue.d.ts +29 -0
- package/dist/components/Icon/index.d.ts +3 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/muc-patternlab-vue.es.js +136 -115
- package/package.json +4 -5
- package/src/components/Button/MucButton.vue +3 -1
- package/src/components/Icon/MucIcon.stories.ts +35 -0
- package/src/components/Icon/MucIcon.vue +23 -0
- package/src/components/Icon/index.ts +3 -0
- package/src/components/index.ts +2 -0
- package/dist/types/components/Banner/MucBanner.stories.d.ts +0 -76
- package/dist/types/components/Banner/MucBanner.vue.d.ts +0 -52
- package/dist/types/components/Banner/index.d.ts +0 -2
- package/dist/types/components/BuisnessHours/BusinessHourType.d.ts +0 -25
- package/dist/types/components/BuisnessHours/BusinessHours.stories.d.ts +0 -116
- package/dist/types/components/BuisnessHours/MucBusinessHours.vue.d.ts +0 -72
- package/dist/types/components/Button/MucButton.stories.d.ts +0 -158
- package/dist/types/components/Button/MucButton.vue.d.ts +0 -93
- package/dist/types/components/Button/index.d.ts +0 -2
- package/dist/types/components/Callout/MucCallout.stories.d.ts +0 -89
- package/dist/types/components/Callout/MucCallout.vue.d.ts +0 -71
- package/dist/types/components/Callout/index.d.ts +0 -2
- package/dist/types/components/Card/MucCard.stories.d.ts +0 -165
- package/dist/types/components/Card/MucCard.vue.d.ts +0 -44
- package/dist/types/components/Card/MucCardContainer.stories.d.ts +0 -148
- package/dist/types/components/Card/MucCardContainer.vue.d.ts +0 -17
- package/dist/types/components/Card/index.d.ts +0 -3
- package/dist/types/components/Comment/CommentType.d.ts +0 -2
- package/dist/types/components/Comment/MucComment.stories.d.ts +0 -106
- package/dist/types/components/Comment/MucComment.vue.d.ts +0 -103
- package/dist/types/components/Comment/MucCommentText.stories.d.ts +0 -93
- package/dist/types/components/Comment/MucCommentText.vue.d.ts +0 -47
- package/dist/types/components/Comment/index.d.ts +0 -3
- package/dist/types/components/Intro/MucIntro.stories.d.ts +0 -97
- package/dist/types/components/Intro/MucIntro.vue.d.ts +0 -52
- package/dist/types/components/Intro/index.d.ts +0 -2
- package/dist/types/components/index.d.ts +0 -7
- package/dist/types/index.d.ts +0 -7
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import CommentType from "./CommentType";
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
-
/**
|
|
4
|
-
* Number of stars to be displayed.
|
|
5
|
-
*/
|
|
6
|
-
rating: number;
|
|
7
|
-
/**
|
|
8
|
-
* Choose the variant of the comment. Default is `listing`.
|
|
9
|
-
*
|
|
10
|
-
* This can be either `slider` oder `listing`.
|
|
11
|
-
*/
|
|
12
|
-
variant?: CommentType | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
variant: string;
|
|
15
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
-
/**
|
|
17
|
-
* Number of stars to be displayed.
|
|
18
|
-
*/
|
|
19
|
-
rating: number;
|
|
20
|
-
/**
|
|
21
|
-
* Choose the variant of the comment. Default is `listing`.
|
|
22
|
-
*
|
|
23
|
-
* This can be either `slider` oder `listing`.
|
|
24
|
-
*/
|
|
25
|
-
variant?: CommentType | undefined;
|
|
26
|
-
}>, {
|
|
27
|
-
variant: string;
|
|
28
|
-
}>>>, {
|
|
29
|
-
variant: CommentType;
|
|
30
|
-
}, {}>, Readonly<{
|
|
31
|
-
/**
|
|
32
|
-
* Slot for the commenter's initials or avatar.
|
|
33
|
-
*/
|
|
34
|
-
initials(): any;
|
|
35
|
-
/**
|
|
36
|
-
* Slot for the author's name or username.
|
|
37
|
-
*/
|
|
38
|
-
author(): any;
|
|
39
|
-
/**
|
|
40
|
-
* Prefix for the date (e.g., "am").
|
|
41
|
-
*/
|
|
42
|
-
datePrefix(): any;
|
|
43
|
-
/**
|
|
44
|
-
* Slot for the comment's date.
|
|
45
|
-
*/
|
|
46
|
-
date(): any;
|
|
47
|
-
/**
|
|
48
|
-
* Slot for the comment's headline or title.
|
|
49
|
-
*/
|
|
50
|
-
headline(): any;
|
|
51
|
-
/**
|
|
52
|
-
* Slot for the main text content of the comment.
|
|
53
|
-
*/
|
|
54
|
-
text(): any;
|
|
55
|
-
}> & {
|
|
56
|
-
/**
|
|
57
|
-
* Slot for the commenter's initials or avatar.
|
|
58
|
-
*/
|
|
59
|
-
initials(): any;
|
|
60
|
-
/**
|
|
61
|
-
* Slot for the author's name or username.
|
|
62
|
-
*/
|
|
63
|
-
author(): any;
|
|
64
|
-
/**
|
|
65
|
-
* Prefix for the date (e.g., "am").
|
|
66
|
-
*/
|
|
67
|
-
datePrefix(): any;
|
|
68
|
-
/**
|
|
69
|
-
* Slot for the comment's date.
|
|
70
|
-
*/
|
|
71
|
-
date(): any;
|
|
72
|
-
/**
|
|
73
|
-
* Slot for the comment's headline or title.
|
|
74
|
-
*/
|
|
75
|
-
headline(): any;
|
|
76
|
-
/**
|
|
77
|
-
* Slot for the main text content of the comment.
|
|
78
|
-
*/
|
|
79
|
-
text(): any;
|
|
80
|
-
}>;
|
|
81
|
-
export default _default;
|
|
82
|
-
type __VLS_WithDefaults<P, D> = {
|
|
83
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
84
|
-
default: D[K];
|
|
85
|
-
}> : P[K];
|
|
86
|
-
};
|
|
87
|
-
type __VLS_Prettify<T> = {
|
|
88
|
-
[K in keyof T]: T[K];
|
|
89
|
-
} & {};
|
|
90
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
91
|
-
new (): {
|
|
92
|
-
$slots: S;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
96
|
-
type __VLS_TypePropsToOption<T> = {
|
|
97
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
98
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
99
|
-
} : {
|
|
100
|
-
type: import('vue').PropType<T[K]>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: import("vue").DefineComponent<{
|
|
3
|
-
text: {
|
|
4
|
-
type: import("vue").PropType<string>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
variant: {
|
|
8
|
-
type: import("vue").PropType<import("./CommentType.js").default>;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
rating: {
|
|
12
|
-
type: import("vue").PropType<number>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
date: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
};
|
|
18
|
-
initials: {
|
|
19
|
-
type: import("vue").PropType<string>;
|
|
20
|
-
};
|
|
21
|
-
author: {
|
|
22
|
-
type: import("vue").PropType<string>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
datePrefix: {
|
|
26
|
-
type: import("vue").PropType<string>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
headline: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
text: {
|
|
34
|
-
type: import("vue").PropType<string>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
variant: {
|
|
38
|
-
type: import("vue").PropType<import("./CommentType.js").default>;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
rating: {
|
|
42
|
-
type: import("vue").PropType<number>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
date: {
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
initials: {
|
|
49
|
-
type: import("vue").PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
author: {
|
|
52
|
-
type: import("vue").PropType<string>;
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
datePrefix: {
|
|
56
|
-
type: import("vue").PropType<string>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
headline: {
|
|
60
|
-
type: import("vue").PropType<string>;
|
|
61
|
-
};
|
|
62
|
-
}>>, {
|
|
63
|
-
variant: import("./CommentType.js").default;
|
|
64
|
-
datePrefix: string;
|
|
65
|
-
}, {}>;
|
|
66
|
-
title: string;
|
|
67
|
-
tags: string[];
|
|
68
|
-
parameters: {
|
|
69
|
-
docs: {
|
|
70
|
-
description: {
|
|
71
|
-
component: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
export default _default;
|
|
77
|
-
export declare const Default: {
|
|
78
|
-
args: {
|
|
79
|
-
rating: number;
|
|
80
|
-
author: string;
|
|
81
|
-
headline: string;
|
|
82
|
-
text: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
export declare const Slider: {
|
|
86
|
-
args: {
|
|
87
|
-
rating: number;
|
|
88
|
-
author: string;
|
|
89
|
-
headline: string;
|
|
90
|
-
variant: string;
|
|
91
|
-
text: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import CommentType from "./CommentType";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
-
datePrefix?: string | undefined;
|
|
4
|
-
initials?: string | undefined;
|
|
5
|
-
author: string;
|
|
6
|
-
date?: string | undefined;
|
|
7
|
-
headline?: string | undefined;
|
|
8
|
-
text: string;
|
|
9
|
-
rating: number;
|
|
10
|
-
variant?: CommentType | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
datePrefix: string;
|
|
13
|
-
variant: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
15
|
-
datePrefix?: string | undefined;
|
|
16
|
-
initials?: string | undefined;
|
|
17
|
-
author: string;
|
|
18
|
-
date?: string | undefined;
|
|
19
|
-
headline?: string | undefined;
|
|
20
|
-
text: string;
|
|
21
|
-
rating: number;
|
|
22
|
-
variant?: CommentType | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
datePrefix: string;
|
|
25
|
-
variant: string;
|
|
26
|
-
}>>>, {
|
|
27
|
-
variant: CommentType;
|
|
28
|
-
datePrefix: string;
|
|
29
|
-
}, {}>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
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
|
-
divider: {
|
|
13
|
-
type: import("vue").PropType<boolean>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, 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
|
-
divider: {
|
|
26
|
-
type: import("vue").PropType<boolean>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
}>>, {}, true, {}, {}, {
|
|
30
|
-
P: {};
|
|
31
|
-
B: {};
|
|
32
|
-
D: {};
|
|
33
|
-
C: {};
|
|
34
|
-
M: {};
|
|
35
|
-
Defaults: {};
|
|
36
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
title: {
|
|
38
|
-
type: import("vue").PropType<string>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
tagline: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
divider: {
|
|
46
|
-
type: import("vue").PropType<boolean>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
50
|
-
__isFragment?: undefined;
|
|
51
|
-
__isTeleport?: undefined;
|
|
52
|
-
__isSuspense?: undefined;
|
|
53
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
title: {
|
|
55
|
-
type: import("vue").PropType<string>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
tagline: {
|
|
59
|
-
type: import("vue").PropType<string>;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
divider: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
67
|
-
$slots: Readonly<{
|
|
68
|
-
default(): any;
|
|
69
|
-
}> & {
|
|
70
|
-
default(): any;
|
|
71
|
-
};
|
|
72
|
-
});
|
|
73
|
-
title: string;
|
|
74
|
-
tags: string[];
|
|
75
|
-
parameters: {
|
|
76
|
-
docs: {
|
|
77
|
-
description: {
|
|
78
|
-
component: string;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export default _default;
|
|
84
|
-
export declare const Default: {
|
|
85
|
-
args: {
|
|
86
|
-
tagline: string;
|
|
87
|
-
title: string;
|
|
88
|
-
divider: boolean;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
export declare const Minimal: {
|
|
93
|
-
args: {
|
|
94
|
-
title: string;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
-
/**
|
|
3
|
-
* Title of the Intro
|
|
4
|
-
*/
|
|
5
|
-
title: string;
|
|
6
|
-
/**
|
|
7
|
-
* Tagline of the Intro (above the title)
|
|
8
|
-
*/
|
|
9
|
-
tagline: string;
|
|
10
|
-
/**
|
|
11
|
-
* Toggle to show a divider between title and body
|
|
12
|
-
*/
|
|
13
|
-
divider: boolean;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
15
|
-
/**
|
|
16
|
-
* Title of the Intro
|
|
17
|
-
*/
|
|
18
|
-
title: string;
|
|
19
|
-
/**
|
|
20
|
-
* Tagline of the Intro (above the title)
|
|
21
|
-
*/
|
|
22
|
-
tagline: string;
|
|
23
|
-
/**
|
|
24
|
-
* Toggle to show a divider between title and body
|
|
25
|
-
*/
|
|
26
|
-
divider: boolean;
|
|
27
|
-
}>>>, {}, {}>, Readonly<{
|
|
28
|
-
/**
|
|
29
|
-
* Body of the Intro.
|
|
30
|
-
*/
|
|
31
|
-
default(): any;
|
|
32
|
-
}> & {
|
|
33
|
-
/**
|
|
34
|
-
* Body of the Intro.
|
|
35
|
-
*/
|
|
36
|
-
default(): any;
|
|
37
|
-
}>;
|
|
38
|
-
export default _default;
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
-
new (): {
|
|
41
|
-
$slots: S;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToOption<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MucBanner } from "./Banner";
|
|
2
|
-
import { MucButton } from "./Button";
|
|
3
|
-
import { MucCallout } from "./Callout";
|
|
4
|
-
import { MucCard, MucCardContainer } from "./Card";
|
|
5
|
-
import { MucComment, MucCommentText } from "./Comment/";
|
|
6
|
-
import { MucIntro } from "./Intro";
|
|
7
|
-
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, };
|