@muenchen/muc-patternlab-vue 1.8.0-beta.6 → 1.8.0-beta.8

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.
@@ -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
+ };
@@ -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
+ };
@@ -0,0 +1,3 @@
1
+ import { default as MucIcon } from './MucIcon.vue';
2
+
3
+ export { MucIcon };
@@ -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, };