@muenchen/muc-patternlab-vue 1.7.1 → 1.8.0-beta.10
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/assets/temporary/custom-icons.svg +7 -0
- package/dist/assets/temporary/custom-style.css +1 -1
- package/dist/assets/temporary/muc-icons.svg +1 -1
- package/dist/components/BuisnessHours/BusinessHourType.d.ts +25 -0
- package/dist/components/BuisnessHours/BusinessHours.stories.d.ts +116 -0
- package/dist/components/Button/MucButton.stories.d.ts +26 -0
- package/dist/components/Button/MucButton.vue.d.ts +15 -0
- package/dist/components/Comment/MucCommentText.stories.d.ts +93 -0
- package/dist/components/Comment/MucCommentText.vue.d.ts +2 -2
- 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/Intro/MucIntro.vue.d.ts +2 -2
- package/dist/components/index.d.ts +2 -1
- package/dist/muc-patternlab-vue.es.js +172 -149
- package/dist/style.css +1 -1
- package/package.json +9 -7
- package/src/components/BuisnessHours/BusinessHourType.ts +28 -0
- package/src/components/BuisnessHours/BusinessHours.stories.ts +108 -0
- package/src/components/BuisnessHours/MucBusinessHours.vue +166 -0
- package/src/components/Button/MucButton.stories.ts +8 -0
- package/src/components/Button/MucButton.vue +14 -3
- package/src/components/Card/MucCard.stories.ts +1 -1
- package/src/components/Card/MucCardContainer.stories.ts +1 -1
- package/src/components/Card/MucCardContainer.vue +1 -1
- package/src/components/Comment/MucComment.stories.ts +2 -3
- package/src/components/Comment/MucCommentText.stories.ts +38 -0
- package/src/components/Comment/MucCommentText.vue +15 -7
- 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/Intro/MucIntro.vue +26 -26
- package/src/components/index.ts +2 -0
- package/src/index.ts +0 -2
- 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/Button/MucButton.stories.d.ts +0 -132
- package/dist/types/components/Button/MucButton.vue.d.ts +0 -78
- 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.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 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!-- todo include in muc-patternlab-vue -->
|
|
2
|
+
<svg style="display: none;">
|
|
3
|
+
<symbol viewBox="0 0 24 24" id="icon-pencil"><path d="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"/></symbol>
|
|
4
|
+
<symbol viewBox="0 0 24 24" id="icon-dots-vertical"><path d="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" /></symbol>
|
|
5
|
+
<symbol viewBox="0 0 24 24" id="icon-circle-off-outline"><path d="M22.11 21.46L2.39 1.73L1.11 3L4.06 5.95C2.78 7.63 2 9.72 2 12C2 17.5 6.5 22 12 22C14.28 22 16.37 21.23 18.05 19.94L20.84 22.73L22.11 21.46M12 20C7.58 20 4 16.42 4 12C4 10.27 4.56 8.68 5.5 7.38L16.62 18.5C15.32 19.45 13.73 20 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2C17.5 2 22 6.5 22 12C22 13.94 21.44 15.75 20.5 17.28L19.03 15.83C19.65 14.69 20 13.39 20 12C20 7.58 16.42 4 12 4C10.61 4 9.31 4.35 8.17 4.97Z"/></symbol>
|
|
6
|
+
<symbol viewBox="0 0 24 24" id="icon-account"><path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"/></symbol>
|
|
7
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg style="display: none;">
|
|
2
2
|
<symbol viewBox="0 0 100 100" id="icon-accessibility"><path d="M54.167 8.333a8.333 8.333 0 000 16.666 8.333 8.333 0 000-16.666zm25 45.834v-8.333a22.851 22.851 0 01-16.64-8.022l-.026-.032v-.279a8.333 8.333 0 00-16.666 0v25a8.333 8.333 0 008.333 8.333h16.667v20.833h8.333V70.834a8.333 8.333 0 00-8.333-8.333h-8.333V48.822c4.631 3.333 10.414 5.334 16.664 5.346h.003z"></path><path d="M53.4 75c-1.762 4.88-6.344 8.31-11.731 8.333h-.003c-6.904 0-12.5-5.596-12.5-12.5s5.596-12.5 12.5-12.5V50c-11.5.014-20.819 9.333-20.833 20.832v.001c.014 11.5 9.333 20.819 20.832 20.833h.001c10.027-.013 18.397-7.096 20.393-16.53l.024-.136z"></path></symbol>
|
|
3
3
|
<symbol viewBox="0 0 100 100" id="icon-accessibility-alt"><path d="M58.333 16.667a8.333 8.333 0 11-16.666 0 8.333 8.333 0 0116.666 0z"></path><path d="M84.375 26.471l-5.417-6.404c-8.235 5.454-18.281 8.81-29.092 9.098l-.075.002h-.896c-10.492-.11-20.185-3.444-28.158-9.056l.158.106-5.371 6.383c5.522 3.98 11.982 7.084 18.953 8.937l.41.093c.871.225 1.796.417 2.738.629a7.892 7.892 0 00-.125 1.232v54.177h8.333v-25h8.333v25h8.333V37.501a8.406 8.406 0 00-.167-1.608l.009.053c8.36-2.019 15.717-5.284 22.292-9.636l-.259.161z"></path></symbol>
|
|
4
4
|
<symbol viewBox="0 0 100 100" id="icon-lock"><path d="M77.558 41.667h-6.725v-12.5c0-11.506-9.327-20.833-20.833-20.833-11.506 0-20.833 9.327-20.833 20.833v12.5h-6.726a5.75 5.75 0 00-4.082 1.692 5.753 5.753 0 00-1.692 4.082v38.452a5.75 5.75 0 001.692 4.082 5.753 5.753 0 004.082 1.692H77.56a5.75 5.75 0 004.082-1.692 5.753 5.753 0 001.692-4.082V47.441a5.75 5.75 0 00-1.692-4.082 5.753 5.753 0 00-4.082-1.692h-.001zM37.5 29.167c0-6.904 5.596-12.5 12.5-12.5s12.5 5.596 12.5 12.5v12.5h-25zM75 83.333H25V50h50z"></path><path d="M58.333 66.667a8.333 8.333 0 11-16.666 0 8.333 8.333 0 0116.666 0z"></path></symbol>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shorthand notation of all seven days in german.
|
|
3
|
+
*
|
|
4
|
+
* @typedef {"Mo" | "Di" | "Mi" | "Do" | "Fr" | "Sa" | "So"} WeekDays
|
|
5
|
+
*/
|
|
6
|
+
type WeekDays = "Mo" | "Di" | "Mi" | "Do" | "Fr" | "Sa" | "So";
|
|
7
|
+
/**
|
|
8
|
+
* @typedef {Object} OpeningHour
|
|
9
|
+
* @property {string} from - The start time of the opening period (in 'HH:mm' format).
|
|
10
|
+
* @property {string} to - The end time of the opening period (in 'HH:mm' format).
|
|
11
|
+
*/
|
|
12
|
+
type OpeningHour = {
|
|
13
|
+
from: string;
|
|
14
|
+
to: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {Object} BusinessHourType
|
|
18
|
+
* @property {WeekDays} weekDay - The day of the week for which the opening hours apply.
|
|
19
|
+
* @property {OpeningHour[]} openingHours - A list of opening hours for the specified day of the week.
|
|
20
|
+
*/
|
|
21
|
+
type BusinessHourType = {
|
|
22
|
+
weekDay: WeekDays;
|
|
23
|
+
openingHours: OpeningHour[];
|
|
24
|
+
};
|
|
25
|
+
export type { BusinessHourType, OpeningHour, WeekDays };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
icon: {
|
|
5
|
+
type: import('vue').PropType<string>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
businessHours: {
|
|
9
|
+
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
toggleable: {
|
|
13
|
+
type: import('vue').PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
icon: {
|
|
18
|
+
type: import('vue').PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
businessHours: {
|
|
22
|
+
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
toggleable: {
|
|
26
|
+
type: import('vue').PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>>, {
|
|
30
|
+
icon: string;
|
|
31
|
+
toggleable: boolean;
|
|
32
|
+
}, true, {}, {}, {
|
|
33
|
+
P: {};
|
|
34
|
+
B: {};
|
|
35
|
+
D: {};
|
|
36
|
+
C: {};
|
|
37
|
+
M: {};
|
|
38
|
+
Defaults: {};
|
|
39
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
icon: {
|
|
41
|
+
type: import('vue').PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
businessHours: {
|
|
45
|
+
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
toggleable: {
|
|
49
|
+
type: import('vue').PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>>, {}, {}, {}, {}, {
|
|
53
|
+
icon: string;
|
|
54
|
+
toggleable: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
__isFragment?: undefined;
|
|
57
|
+
__isTeleport?: undefined;
|
|
58
|
+
__isSuspense?: undefined;
|
|
59
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
60
|
+
icon: {
|
|
61
|
+
type: import('vue').PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
businessHours: {
|
|
65
|
+
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
toggleable: {
|
|
69
|
+
type: import('vue').PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
73
|
+
icon: string;
|
|
74
|
+
toggleable: boolean;
|
|
75
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
76
|
+
$slots: Readonly<{
|
|
77
|
+
hint(): any;
|
|
78
|
+
}> & {
|
|
79
|
+
hint(): any;
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
title: string;
|
|
83
|
+
tags: string[];
|
|
84
|
+
parameters: {
|
|
85
|
+
docs: {
|
|
86
|
+
description: {
|
|
87
|
+
component: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export default _default;
|
|
93
|
+
export declare const Default: {
|
|
94
|
+
args: {
|
|
95
|
+
businessHours: {
|
|
96
|
+
weekDay: string;
|
|
97
|
+
openingHours: {
|
|
98
|
+
from: string;
|
|
99
|
+
to: string;
|
|
100
|
+
}[];
|
|
101
|
+
}[];
|
|
102
|
+
toggleable: boolean;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export declare const Fixed: {
|
|
106
|
+
args: {
|
|
107
|
+
toggleable: boolean;
|
|
108
|
+
businessHours: {
|
|
109
|
+
weekDay: string;
|
|
110
|
+
openingHours: {
|
|
111
|
+
from: string;
|
|
112
|
+
to: string;
|
|
113
|
+
}[];
|
|
114
|
+
}[];
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -12,6 +12,10 @@ declare const _default: {
|
|
|
12
12
|
type: import('vue').PropType<boolean>;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
iconAnimated: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
}>> & {
|
|
16
20
|
onClick?: (() => any) | undefined;
|
|
17
21
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -28,11 +32,16 @@ declare const _default: {
|
|
|
28
32
|
type: import('vue').PropType<boolean>;
|
|
29
33
|
default: boolean;
|
|
30
34
|
};
|
|
35
|
+
iconAnimated: {
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
31
39
|
}>> & {
|
|
32
40
|
onClick?: (() => any) | undefined;
|
|
33
41
|
}, {
|
|
34
42
|
variant: "primary" | "secondary" | "ghost";
|
|
35
43
|
disabled: boolean;
|
|
44
|
+
iconAnimated: boolean;
|
|
36
45
|
}, true, {}, {}, {
|
|
37
46
|
P: {};
|
|
38
47
|
B: {};
|
|
@@ -52,11 +61,16 @@ declare const _default: {
|
|
|
52
61
|
type: import('vue').PropType<boolean>;
|
|
53
62
|
default: boolean;
|
|
54
63
|
};
|
|
64
|
+
iconAnimated: {
|
|
65
|
+
type: import('vue').PropType<boolean>;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
55
68
|
}>> & {
|
|
56
69
|
onClick?: (() => any) | undefined;
|
|
57
70
|
}, {}, {}, {}, {}, {
|
|
58
71
|
variant: "primary" | "secondary" | "ghost";
|
|
59
72
|
disabled: boolean;
|
|
73
|
+
iconAnimated: boolean;
|
|
60
74
|
}>;
|
|
61
75
|
__isFragment?: undefined;
|
|
62
76
|
__isTeleport?: undefined;
|
|
@@ -73,6 +87,10 @@ declare const _default: {
|
|
|
73
87
|
type: import('vue').PropType<boolean>;
|
|
74
88
|
default: boolean;
|
|
75
89
|
};
|
|
90
|
+
iconAnimated: {
|
|
91
|
+
type: import('vue').PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
76
94
|
}>> & {
|
|
77
95
|
onClick?: (() => any) | undefined;
|
|
78
96
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -80,6 +98,7 @@ declare const _default: {
|
|
|
80
98
|
}, string, {
|
|
81
99
|
variant: "primary" | "secondary" | "ghost";
|
|
82
100
|
disabled: boolean;
|
|
101
|
+
iconAnimated: boolean;
|
|
83
102
|
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
84
103
|
$slots: Readonly<{
|
|
85
104
|
default(): any;
|
|
@@ -130,3 +149,10 @@ export declare const Icon: {
|
|
|
130
149
|
icon: string;
|
|
131
150
|
};
|
|
132
151
|
};
|
|
152
|
+
export declare const IconAnimated: {
|
|
153
|
+
args: {
|
|
154
|
+
default: string;
|
|
155
|
+
icon: string;
|
|
156
|
+
iconAnimated: boolean;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
@@ -14,9 +14,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
14
14
|
* Choose an icon to be appended behind the slot. No icon will be placed if the prop is left empty.
|
|
15
15
|
*/
|
|
16
16
|
icon?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Wether the Icon should be animated on hover (slide-right) or not.
|
|
19
|
+
*
|
|
20
|
+
* Default is `false`
|
|
21
|
+
*/
|
|
22
|
+
iconAnimated?: boolean | undefined;
|
|
17
23
|
}>, {
|
|
18
24
|
variant: string;
|
|
19
25
|
disabled: boolean;
|
|
26
|
+
iconAnimated: boolean;
|
|
20
27
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
28
|
click: () => void;
|
|
22
29
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -34,14 +41,22 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
34
41
|
* Choose an icon to be appended behind the slot. No icon will be placed if the prop is left empty.
|
|
35
42
|
*/
|
|
36
43
|
icon?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Wether the Icon should be animated on hover (slide-right) or not.
|
|
46
|
+
*
|
|
47
|
+
* Default is `false`
|
|
48
|
+
*/
|
|
49
|
+
iconAnimated?: boolean | undefined;
|
|
37
50
|
}>, {
|
|
38
51
|
variant: string;
|
|
39
52
|
disabled: boolean;
|
|
53
|
+
iconAnimated: boolean;
|
|
40
54
|
}>>> & {
|
|
41
55
|
onClick?: (() => any) | undefined;
|
|
42
56
|
}, {
|
|
43
57
|
variant: buttonType;
|
|
44
58
|
disabled: boolean;
|
|
59
|
+
iconAnimated: boolean;
|
|
45
60
|
}, {}>, Readonly<{
|
|
46
61
|
/**
|
|
47
62
|
* Display content inside the button.
|
|
@@ -0,0 +1,93 @@
|
|
|
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').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').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').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
|
+
};
|
|
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
8
8
|
headline?: string | undefined;
|
|
9
9
|
text: string;
|
|
10
10
|
rating: number;
|
|
11
|
-
variant
|
|
11
|
+
variant?: CommentType | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
datePrefix: string;
|
|
14
14
|
variant: string;
|
|
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
20
|
headline?: string | undefined;
|
|
21
21
|
text: string;
|
|
22
22
|
rating: number;
|
|
23
|
-
variant
|
|
23
|
+
variant?: CommentType | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
datePrefix: string;
|
|
26
26
|
variant: string;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import('vue').DefineComponent<{
|
|
3
|
+
icon: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
color: {
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
icon: {
|
|
12
|
+
type: import('vue').PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
type: import('vue').PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
}>>, {}, {}>;
|
|
19
|
+
title: string;
|
|
20
|
+
tags: string[];
|
|
21
|
+
args: {
|
|
22
|
+
onClick: import('@vitest/spy').Mock<any, any>;
|
|
23
|
+
};
|
|
24
|
+
parameters: {
|
|
25
|
+
docs: {
|
|
26
|
+
description: {
|
|
27
|
+
component: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
export declare const Weather: {
|
|
34
|
+
args: {
|
|
35
|
+
icon: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const Youtube: {
|
|
39
|
+
args: {
|
|
40
|
+
icon: string;
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
/**
|
|
3
|
+
* String of the icon to be displayed.
|
|
4
|
+
*/
|
|
5
|
+
icon: string;
|
|
6
|
+
/**
|
|
7
|
+
* Optional css-color for the icon.
|
|
8
|
+
*/
|
|
9
|
+
color?: string | undefined;
|
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
/**
|
|
12
|
+
* String of the icon to be displayed.
|
|
13
|
+
*/
|
|
14
|
+
icon: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional css-color for the icon.
|
|
17
|
+
*/
|
|
18
|
+
color?: string | undefined;
|
|
19
|
+
}>>>, {}, {}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -26,12 +26,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
26
26
|
divider: boolean;
|
|
27
27
|
}>>>, {}, {}>, Readonly<{
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Body of the Intro.
|
|
30
30
|
*/
|
|
31
31
|
default(): any;
|
|
32
32
|
}> & {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Body of the Intro.
|
|
35
35
|
*/
|
|
36
36
|
default(): any;
|
|
37
37
|
}>;
|
|
@@ -3,6 +3,7 @@ import { MucButton } from './Button';
|
|
|
3
3
|
import { MucCallout } from './Callout';
|
|
4
4
|
import { MucCard, MucCardContainer } from './Card';
|
|
5
5
|
import { MucComment, MucCommentText } from './Comment/';
|
|
6
|
+
import { MucIcon } from './Icon';
|
|
6
7
|
import { MucIntro } from './Intro';
|
|
7
8
|
|
|
8
|
-
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, };
|
|
9
|
+
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, MucIcon, };
|