@muenchen/muc-patternlab-vue 1.0.1-beta.6 → 1.0.1-beta.7
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 +8 -30
- package/package.json +1 -1
- package/dist/assets/temporary/muc-icons.svg +0 -109
- package/dist/assets/temporary/muenchende-fontfaces.css +0 -47
- package/dist/assets/temporary/muenchende-style.css +0 -1
- package/dist/components/Banner/MucBanner.vue.d.ts +0 -24
- package/dist/components/Banner/index.d.ts +0 -46
- package/dist/components/Button/MucButton.vue.d.ts +0 -21
- package/dist/components/Button/index.d.ts +0 -3
- package/dist/components/Intro/MucIntro.vue.d.ts +0 -17
- package/dist/components/Intro/index.d.ts +0 -3
- package/dist/components/index.d.ts +0 -5
- package/dist/index.d.ts +0 -8
- package/dist/muc-patternlab-vue.es.js +0 -116
- package/dist/style.css +0 -1
- package/dist/types/components/Banner/MucBanner.vue.d.ts +0 -23
- package/dist/types/components/Banner/index.d.ts +0 -46
- package/dist/types/components/Button/MucButton.vue.d.ts +0 -21
- package/dist/types/components/Button/index.d.ts +0 -2
- package/dist/types/components/Intro/MucIntro.vue.d.ts +0 -17
- package/dist/types/components/Intro/index.d.ts +0 -2
- package/dist/types/components/index.d.ts +0 -4
- package/dist/types/index.d.ts +0 -8
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
type bannerType = "info" | "warning" | "emergency";
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
5
|
-
type: {
|
|
6
|
-
type: PropType<bannerType>;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
type: {
|
|
11
|
-
type: PropType<bannerType>;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}>>, {
|
|
15
|
-
type: bannerType;
|
|
16
|
-
}, {}>, {
|
|
17
|
-
default?(_: {}): any;
|
|
18
|
-
}>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
MucBanner: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
type: {
|
|
5
|
-
type: import("vue").PropType<"info" | "warning" | "emergency">;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
type: {
|
|
10
|
-
type: import("vue").PropType<"info" | "warning" | "emergency">;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}>>, {
|
|
14
|
-
type: "info" | "warning" | "emergency";
|
|
15
|
-
}, true, {}, {}, {
|
|
16
|
-
P: {};
|
|
17
|
-
B: {};
|
|
18
|
-
D: {};
|
|
19
|
-
C: {};
|
|
20
|
-
M: {};
|
|
21
|
-
Defaults: {};
|
|
22
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
type: {
|
|
24
|
-
type: import("vue").PropType<"info" | "warning" | "emergency">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
}>>, {}, {}, {}, {}, {
|
|
28
|
-
type: "info" | "warning" | "emergency";
|
|
29
|
-
}>;
|
|
30
|
-
__isFragment?: undefined;
|
|
31
|
-
__isTeleport?: undefined;
|
|
32
|
-
__isSuspense?: undefined;
|
|
33
|
-
} & import('vue').ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
-
type: {
|
|
35
|
-
type: import("vue").PropType<"info" | "warning" | "emergency">;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
39
|
-
type: "info" | "warning" | "emergency";
|
|
40
|
-
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
41
|
-
$slots: {
|
|
42
|
-
default?(_: {}): any;
|
|
43
|
-
};
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
-
expanded: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
expanded: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
}>>, {
|
|
12
|
-
expanded: boolean;
|
|
13
|
-
}, {}>, {
|
|
14
|
-
default?(_: {}): any;
|
|
15
|
-
}>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
-
title: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
};
|
|
5
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
-
title: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
}>>, {}, {}>, {
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, openBlock as a, createElementBlock as c, renderSlot as i, computed as o, createElementVNode as t, normalizeClass as d, toDisplayString as p } from "vue";
|
|
2
|
-
const f = { class: "m-button m-button--primary m-button--animated-right" }, y = /* @__PURE__ */ s({
|
|
3
|
-
__name: "MucButton",
|
|
4
|
-
props: {
|
|
5
|
-
expanded: {
|
|
6
|
-
type: Boolean,
|
|
7
|
-
default: !1
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup(n) {
|
|
11
|
-
return (e, r) => (a(), c("button", f, [
|
|
12
|
-
i(e.$slots, "default")
|
|
13
|
-
]));
|
|
14
|
-
}
|
|
15
|
-
}), g = ["role", "aria-label"], h = { class: "container-fluid" }, b = /* @__PURE__ */ t("svg", { class: "icon" }, [
|
|
16
|
-
/* @__PURE__ */ t("use", { href: "#icon-information" })
|
|
17
|
-
], -1), v = /* @__PURE__ */ s({
|
|
18
|
-
__name: "MucBanner",
|
|
19
|
-
props: {
|
|
20
|
-
type: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "info"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(n) {
|
|
26
|
-
const e = n, r = o(() => {
|
|
27
|
-
switch (e.type) {
|
|
28
|
-
case "info":
|
|
29
|
-
return "m-banner--info";
|
|
30
|
-
case "warning":
|
|
31
|
-
return "m-banner--emergency";
|
|
32
|
-
case "emergency":
|
|
33
|
-
return "m-banner--warning";
|
|
34
|
-
default:
|
|
35
|
-
return "m-banner--info";
|
|
36
|
-
}
|
|
37
|
-
}), u = o(() => {
|
|
38
|
-
switch (e.type) {
|
|
39
|
-
case "info":
|
|
40
|
-
return "dialog";
|
|
41
|
-
case "warning":
|
|
42
|
-
return "alert";
|
|
43
|
-
case "emergency":
|
|
44
|
-
return "alert";
|
|
45
|
-
default:
|
|
46
|
-
return "dialog";
|
|
47
|
-
}
|
|
48
|
-
}), m = o(() => {
|
|
49
|
-
switch (e.type) {
|
|
50
|
-
case "info":
|
|
51
|
-
return "Information";
|
|
52
|
-
case "warning":
|
|
53
|
-
return "Warnung";
|
|
54
|
-
case "emergency":
|
|
55
|
-
return "Emergency";
|
|
56
|
-
default:
|
|
57
|
-
return "Information";
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
return (_, C) => (a(), c("div", null, [
|
|
61
|
-
t("div", null, [
|
|
62
|
-
t("div", {
|
|
63
|
-
class: d(["m-banner", r.value]),
|
|
64
|
-
role: u.value,
|
|
65
|
-
"aria-label": m.value
|
|
66
|
-
}, [
|
|
67
|
-
t("div", h, [
|
|
68
|
-
b,
|
|
69
|
-
t("p", null, [
|
|
70
|
-
i(_.$slots, "default")
|
|
71
|
-
])
|
|
72
|
-
])
|
|
73
|
-
], 10, g)
|
|
74
|
-
])
|
|
75
|
-
]));
|
|
76
|
-
}
|
|
77
|
-
}), M = { class: "m-intro m-intro-summary-text" }, B = { class: "container" }, $ = { class: "m-intro-summary-text__body" }, x = { class: "m-intro-summary-text__grid" }, w = { class: "m-intro-summary-text__content" }, S = { class: "m-intro-summary-text__title" }, I = /* @__PURE__ */ s({
|
|
78
|
-
__name: "MucIntro",
|
|
79
|
-
props: {
|
|
80
|
-
title: {
|
|
81
|
-
type: String
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
setup(n) {
|
|
85
|
-
return (e, r) => (a(), c("div", M, [
|
|
86
|
-
t("div", B, [
|
|
87
|
-
t("div", $, [
|
|
88
|
-
t("div", x, [
|
|
89
|
-
t("div", w, [
|
|
90
|
-
t("h1", S, p(n.title), 1),
|
|
91
|
-
t("p", null, [
|
|
92
|
-
i(e.$slots, "default")
|
|
93
|
-
])
|
|
94
|
-
])
|
|
95
|
-
])
|
|
96
|
-
])
|
|
97
|
-
])
|
|
98
|
-
]));
|
|
99
|
-
}
|
|
100
|
-
}), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
101
|
-
__proto__: null,
|
|
102
|
-
MucBanner: v,
|
|
103
|
-
MucButton: y,
|
|
104
|
-
MucIntro: I
|
|
105
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
106
|
-
function k(n) {
|
|
107
|
-
for (const e in l)
|
|
108
|
-
n.component(e, l[e]);
|
|
109
|
-
}
|
|
110
|
-
const j = { install: k };
|
|
111
|
-
export {
|
|
112
|
-
v as MucBanner,
|
|
113
|
-
y as MucButton,
|
|
114
|
-
I as MucIntro,
|
|
115
|
-
j as default
|
|
116
|
-
};
|