@muenchen/muc-patternlab-vue 1.8.0-beta.3 → 1.8.0
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.
|
@@ -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
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, computed as l, openBlock as o, createElementBlock as r, createElementVNode as t, normalizeClass as y, renderSlot as i, createCommentVNode as g, toDisplayString as m, pushScopeId as B, popScopeId as E, useSlots as L, createTextVNode as h, Fragment as M, renderList as S, createBlock as O, unref as P, createSlots as T, withCtx as f } from "vue";
|
|
2
2
|
const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PURE__ */ t("svg", { class: "icon" }, [
|
|
3
3
|
/* @__PURE__ */ t("use", { href: "#icon-information" })
|
|
4
|
-
], -1), H = /* @__PURE__ */
|
|
4
|
+
], -1), H = /* @__PURE__ */ p({
|
|
5
5
|
__name: "MucBanner",
|
|
6
6
|
props: {
|
|
7
7
|
type: { default: "info" }
|
|
@@ -41,7 +41,7 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
41
41
|
return "Information";
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
return (
|
|
44
|
+
return (u, _) => (o(), r("div", null, [
|
|
45
45
|
t("div", null, [
|
|
46
46
|
t("div", {
|
|
47
47
|
class: y(["m-banner", s.value]),
|
|
@@ -51,7 +51,7 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
51
51
|
t("div", R, [
|
|
52
52
|
A,
|
|
53
53
|
t("p", null, [
|
|
54
|
-
|
|
54
|
+
i(u.$slots, "default")
|
|
55
55
|
])
|
|
56
56
|
])
|
|
57
57
|
], 10, D)
|
|
@@ -62,7 +62,7 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
62
62
|
key: 0,
|
|
63
63
|
"aria-hidden": "true",
|
|
64
64
|
class: "m-button__icon"
|
|
65
|
-
}, F = ["xlink:href"], N = /* @__PURE__ */
|
|
65
|
+
}, F = ["xlink:href"], N = /* @__PURE__ */ p({
|
|
66
66
|
__name: "MucButton",
|
|
67
67
|
props: {
|
|
68
68
|
variant: { default: "primary" },
|
|
@@ -80,17 +80,17 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
80
80
|
default:
|
|
81
81
|
return "m-button--primary";
|
|
82
82
|
}
|
|
83
|
-
}),
|
|
83
|
+
}), u = () => {
|
|
84
84
|
n("click");
|
|
85
85
|
};
|
|
86
|
-
return (_,
|
|
87
|
-
onClick:
|
|
86
|
+
return (_, d) => (o(), r("button", {
|
|
87
|
+
onClick: u,
|
|
88
88
|
disabled: _.disabled,
|
|
89
89
|
class: y(["m-button m-button--animated-right", c.value])
|
|
90
90
|
}, [
|
|
91
91
|
t("span", null, [
|
|
92
|
-
|
|
93
|
-
_.icon ? (o(),
|
|
92
|
+
i(_.$slots, "default"),
|
|
93
|
+
_.icon ? (o(), r("svg", j, [
|
|
94
94
|
t("use", {
|
|
95
95
|
"xlink:href": "#icon-" + _.icon
|
|
96
96
|
}, null, 8, F)
|
|
@@ -98,10 +98,10 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
98
98
|
])
|
|
99
99
|
], 10, W));
|
|
100
100
|
}
|
|
101
|
-
}), V = ["aria-label"],
|
|
101
|
+
}), V = ["aria-label"], x = { class: "m-callout__inner" }, z = { class: "m-callout__icon" }, U = {
|
|
102
102
|
"aria-hidden": "true",
|
|
103
103
|
class: "icon"
|
|
104
|
-
},
|
|
104
|
+
}, X = ["xlink:href"], q = { class: "m-callout__body" }, G = { class: "m-callout__body__inner" }, J = { class: "m-callout__headline" }, K = { class: "m-callout__content" }, Q = /* @__PURE__ */ p({
|
|
105
105
|
__name: "MucCallout",
|
|
106
106
|
props: {
|
|
107
107
|
type: { default: "info" }
|
|
@@ -139,28 +139,28 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
139
139
|
return "Information";
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
|
-
return (
|
|
142
|
+
return (u, _) => (o(), r("div", {
|
|
143
143
|
class: y(["m-callout", n.value]),
|
|
144
144
|
"aria-label": c.value
|
|
145
145
|
}, [
|
|
146
|
-
t("div",
|
|
147
|
-
t("div",
|
|
148
|
-
|
|
149
|
-
(o(),
|
|
146
|
+
t("div", x, [
|
|
147
|
+
t("div", z, [
|
|
148
|
+
i(u.$slots, "icon", {}, () => [
|
|
149
|
+
(o(), r("svg", U, [
|
|
150
150
|
t("use", {
|
|
151
151
|
"xlink:href": `#icon-${s.value}`
|
|
152
|
-
}, null, 8,
|
|
152
|
+
}, null, 8, X)
|
|
153
153
|
]))
|
|
154
154
|
], !0)
|
|
155
155
|
]),
|
|
156
|
-
t("div",
|
|
156
|
+
t("div", q, [
|
|
157
157
|
t("div", G, [
|
|
158
158
|
t("div", J, [
|
|
159
|
-
|
|
159
|
+
i(u.$slots, "header", {}, void 0, !0)
|
|
160
160
|
]),
|
|
161
161
|
t("div", K, [
|
|
162
162
|
t("p", null, [
|
|
163
|
-
|
|
163
|
+
i(u.$slots, "content", { class: "m-callout__content" }, void 0, !0)
|
|
164
164
|
])
|
|
165
165
|
])
|
|
166
166
|
])
|
|
@@ -176,7 +176,7 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
176
176
|
}, Y = /* @__PURE__ */ b(Q, [["__scopeId", "data-v-efad4956"]]), Z = (a) => (B("data-v-acf0a1dd"), a = a(), E(), a), tt = { class: "card-content" }, et = { class: "card-header" }, nt = {
|
|
177
177
|
key: 0,
|
|
178
178
|
class: "card-tagline"
|
|
179
|
-
}, st = /* @__PURE__ */ Z(() => /* @__PURE__ */ t("div", { class: "muc-divider" }, null, -1)), at = /* @__PURE__ */
|
|
179
|
+
}, st = /* @__PURE__ */ Z(() => /* @__PURE__ */ t("div", { class: "muc-divider" }, null, -1)), at = /* @__PURE__ */ p({
|
|
180
180
|
__name: "MucCard",
|
|
181
181
|
props: {
|
|
182
182
|
title: {},
|
|
@@ -185,33 +185,33 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
185
185
|
emits: ["click"],
|
|
186
186
|
setup(a, { emit: e }) {
|
|
187
187
|
const s = e;
|
|
188
|
-
return (n, c) => (o(),
|
|
188
|
+
return (n, c) => (o(), r("div", {
|
|
189
189
|
class: "card",
|
|
190
|
-
onClick: c[0] || (c[0] = (
|
|
190
|
+
onClick: c[0] || (c[0] = (u) => s("click", u))
|
|
191
191
|
}, [
|
|
192
192
|
t("div", tt, [
|
|
193
193
|
t("div", et, [
|
|
194
|
-
|
|
194
|
+
i(n.$slots, "headerPrefix", {}, void 0, !0),
|
|
195
195
|
t("div", null, [
|
|
196
|
-
n.tagline ? (o(),
|
|
196
|
+
n.tagline ? (o(), r("div", nt, m(n.tagline), 1)) : g("", !0),
|
|
197
197
|
t("div", null, [
|
|
198
198
|
t("h3", null, m(n.title), 1)
|
|
199
199
|
])
|
|
200
200
|
])
|
|
201
201
|
]),
|
|
202
202
|
st,
|
|
203
|
-
|
|
203
|
+
i(n.$slots, "content", {}, void 0, !0)
|
|
204
204
|
])
|
|
205
205
|
]));
|
|
206
206
|
}
|
|
207
|
-
}), ot = /* @__PURE__ */ b(at, [["__scopeId", "data-v-acf0a1dd"]]),
|
|
207
|
+
}), ot = /* @__PURE__ */ b(at, [["__scopeId", "data-v-acf0a1dd"]]), rt = { class: "container card-container" }, it = /* @__PURE__ */ p({
|
|
208
208
|
__name: "MucCardContainer",
|
|
209
209
|
setup(a) {
|
|
210
|
-
return (e, s) => (o(),
|
|
211
|
-
|
|
210
|
+
return (e, s) => (o(), r("div", rt, [
|
|
211
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
212
212
|
]));
|
|
213
213
|
}
|
|
214
|
-
}), ct = /* @__PURE__ */ b(
|
|
214
|
+
}), ct = /* @__PURE__ */ b(it, [["__scopeId", "data-v-256852e7"]]), lt = { class: "m-comment__head" }, ut = { class: "m-comment__initials" }, dt = { class: "m-comment__info" }, _t = { class: "m-comment__author" }, mt = { key: 0 }, ht = { class: "m-comment__author" }, pt = { class: "m-comment__date" }, vt = ["aria-label"], ft = /* @__PURE__ */ t("svg", {
|
|
215
215
|
"aria-hidden": "true",
|
|
216
216
|
class: "icon"
|
|
217
217
|
}, [
|
|
@@ -235,74 +235,74 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
235
235
|
/* @__PURE__ */ t("use", { "xlink:href": "#icon-solid-star" })
|
|
236
236
|
], -1), Ct = [
|
|
237
237
|
kt
|
|
238
|
-
], Mt = { class: "m-star-rating__numeric" }, St = { class: "m-comment__body" }, wt = { class: "m-comment__headline" }, It = { class: "m-comment__text" }, Bt = "de-DE", Et = 0.2, Lt = 0.8, $ = 5, I = /* @__PURE__ */
|
|
238
|
+
], Mt = { class: "m-star-rating__numeric" }, St = { class: "m-comment__body" }, wt = { class: "m-comment__headline" }, It = { class: "m-comment__text" }, Bt = "de-DE", Et = 0.2, Lt = 0.8, $ = 5, I = /* @__PURE__ */ p({
|
|
239
239
|
__name: "MucComment",
|
|
240
240
|
props: {
|
|
241
241
|
rating: {},
|
|
242
242
|
variant: { default: "listing" }
|
|
243
243
|
},
|
|
244
244
|
setup(a) {
|
|
245
|
-
const e = L(), s = a, n = l(() => !!e.date), c = l(() => s.variant === "slider" ? "m-comment--slider" : "m-comment--listing"),
|
|
245
|
+
const e = L(), s = a, n = l(() => !!e.date), c = l(() => s.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), u = l(() => s.rating.toLocaleString(Bt.valueOf(), {
|
|
246
246
|
minimumFractionDigits: 1
|
|
247
247
|
})), _ = l(() => {
|
|
248
|
-
const
|
|
249
|
-
let k = Math.min(Math.floor(s.rating), $),
|
|
250
|
-
return s.rating !== 0 && s.rating !== $ && (
|
|
248
|
+
const d = +(s.rating % 1).toFixed(1);
|
|
249
|
+
let k = Math.min(Math.floor(s.rating), $), v = Math.floor($ - s.rating), C = !1;
|
|
250
|
+
return s.rating !== 0 && s.rating !== $ && (d <= Et ? v++ : d >= Lt ? k++ : C = !0), {
|
|
251
251
|
fullStars: k,
|
|
252
|
-
emptyStars:
|
|
252
|
+
emptyStars: v,
|
|
253
253
|
isHalfStar: C
|
|
254
254
|
};
|
|
255
255
|
});
|
|
256
|
-
return (
|
|
256
|
+
return (d, k) => (o(), r("div", {
|
|
257
257
|
class: y(["m-comment", c.value])
|
|
258
258
|
}, [
|
|
259
259
|
t("div", lt, [
|
|
260
|
-
t("div", dt, [
|
|
261
|
-
r(u.$slots, "initials")
|
|
262
|
-
]),
|
|
263
260
|
t("div", ut, [
|
|
261
|
+
i(d.$slots, "initials")
|
|
262
|
+
]),
|
|
263
|
+
t("div", dt, [
|
|
264
264
|
t("span", _t, [
|
|
265
|
-
|
|
265
|
+
i(d.$slots, "author")
|
|
266
266
|
]),
|
|
267
|
-
n.value ? (o(),
|
|
267
|
+
n.value ? (o(), r("span", mt, [
|
|
268
268
|
t("span", ht, [
|
|
269
269
|
h(" "),
|
|
270
|
-
|
|
270
|
+
i(d.$slots, "datePrefix")
|
|
271
271
|
]),
|
|
272
|
-
t("span",
|
|
272
|
+
t("span", pt, [
|
|
273
273
|
h(" "),
|
|
274
|
-
|
|
274
|
+
i(d.$slots, "date")
|
|
275
275
|
])
|
|
276
276
|
])) : g("", !0),
|
|
277
277
|
t("div", {
|
|
278
278
|
class: "m-star-rating",
|
|
279
279
|
role: "img",
|
|
280
|
-
"aria-label": `Bewertung: ${
|
|
280
|
+
"aria-label": `Bewertung: ${d.rating} von ${$} Sternen`
|
|
281
281
|
}, [
|
|
282
|
-
(o(!0),
|
|
283
|
-
key:
|
|
282
|
+
(o(!0), r(M, null, S(_.value.fullStars, (v) => (o(), r("div", {
|
|
283
|
+
key: v,
|
|
284
284
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
285
285
|
}, gt))), 128)),
|
|
286
|
-
_.value.isHalfStar ? (o(),
|
|
287
|
-
(o(!0),
|
|
288
|
-
key:
|
|
286
|
+
_.value.isHalfStar ? (o(), r("div", $t, bt)) : g("", !0),
|
|
287
|
+
(o(!0), r(M, null, S(_.value.emptyStars, (v) => (o(), r("div", {
|
|
288
|
+
key: v,
|
|
289
289
|
class: "m-star-rating__item"
|
|
290
290
|
}, Ct))), 128)),
|
|
291
|
-
t("div", Mt, m(
|
|
292
|
-
], 8,
|
|
291
|
+
t("div", Mt, m(u.value), 1)
|
|
292
|
+
], 8, vt)
|
|
293
293
|
])
|
|
294
294
|
]),
|
|
295
295
|
t("div", St, [
|
|
296
296
|
t("div", wt, [
|
|
297
|
-
|
|
297
|
+
i(d.$slots, "headline")
|
|
298
298
|
]),
|
|
299
299
|
t("div", It, [
|
|
300
|
-
|
|
300
|
+
i(d.$slots, "text")
|
|
301
301
|
])
|
|
302
302
|
])
|
|
303
303
|
], 2));
|
|
304
304
|
}
|
|
305
|
-
}), Ot = /* @__PURE__ */
|
|
305
|
+
}), Ot = /* @__PURE__ */ p({
|
|
306
306
|
__name: "MucCommentText",
|
|
307
307
|
props: {
|
|
308
308
|
datePrefix: { default: "am" },
|
|
@@ -346,13 +346,16 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
346
346
|
} : void 0
|
|
347
347
|
]), 1032, ["rating", "variant"]));
|
|
348
348
|
}
|
|
349
|
-
}), Pt = {
|
|
349
|
+
}), Pt = {
|
|
350
|
+
class: "m-intro m-intro-static-image",
|
|
351
|
+
style: { "background-color": "var(--color-neutrals-blue-xlight)" }
|
|
352
|
+
}, Tt = { class: "container" }, Dt = { style: { width: "66.6%" } }, Rt = {
|
|
350
353
|
key: 0,
|
|
351
354
|
class: "m-intro-vertical__tagline"
|
|
352
|
-
},
|
|
353
|
-
key:
|
|
355
|
+
}, At = { class: "m-intro-vertical__title" }, Ht = {
|
|
356
|
+
key: 0,
|
|
354
357
|
class: "muc-divider"
|
|
355
|
-
},
|
|
358
|
+
}, Wt = { class: "m-intro-vertical__content" }, jt = { style: { "padding-bottom": "32px" } }, Ft = /* @__PURE__ */ p({
|
|
356
359
|
__name: "MucIntro",
|
|
357
360
|
props: {
|
|
358
361
|
title: {},
|
|
@@ -360,26 +363,24 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
360
363
|
divider: { type: Boolean }
|
|
361
364
|
},
|
|
362
365
|
setup(a) {
|
|
363
|
-
return (e, s) => (o(),
|
|
366
|
+
return (e, s) => (o(), r("div", Pt, [
|
|
364
367
|
t("div", Tt, [
|
|
365
368
|
t("div", Dt, [
|
|
366
|
-
t("div",
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
])
|
|
375
|
-
])
|
|
369
|
+
t("div", null, [
|
|
370
|
+
e.tagline ? (o(), r("p", Rt, m(e.tagline), 1)) : g("", !0),
|
|
371
|
+
t("h1", At, m(e.title), 1)
|
|
372
|
+
]),
|
|
373
|
+
e.divider ? (o(), r("div", Ht)) : g("", !0),
|
|
374
|
+
t("div", Wt, [
|
|
375
|
+
t("p", jt, [
|
|
376
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
376
377
|
])
|
|
377
378
|
])
|
|
378
379
|
])
|
|
379
380
|
])
|
|
380
381
|
]));
|
|
381
382
|
}
|
|
382
|
-
}),
|
|
383
|
+
}), Nt = /* @__PURE__ */ b(Ft, [["__scopeId", "data-v-75c8321c"]]), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
383
384
|
__proto__: null,
|
|
384
385
|
MucBanner: H,
|
|
385
386
|
MucButton: N,
|
|
@@ -388,13 +389,13 @@ const D = ["role", "aria-label"], R = { class: "container-fluid" }, A = /* @__PU
|
|
|
388
389
|
MucCardContainer: ct,
|
|
389
390
|
MucComment: I,
|
|
390
391
|
MucCommentText: Ot,
|
|
391
|
-
MucIntro:
|
|
392
|
+
MucIntro: Nt
|
|
392
393
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
393
|
-
function
|
|
394
|
+
function Vt(a) {
|
|
394
395
|
for (const e in w)
|
|
395
396
|
a.component(e, w[e]);
|
|
396
397
|
}
|
|
397
|
-
const
|
|
398
|
+
const zt = { install: Vt };
|
|
398
399
|
export {
|
|
399
400
|
H as MucBanner,
|
|
400
401
|
N as MucButton,
|
|
@@ -403,6 +404,6 @@ export {
|
|
|
403
404
|
ct as MucCardContainer,
|
|
404
405
|
I as MucComment,
|
|
405
406
|
Ot as MucCommentText,
|
|
406
|
-
|
|
407
|
-
|
|
407
|
+
Nt as MucIntro,
|
|
408
|
+
zt as default
|
|
408
409
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-callout--success[data-v-efad4956]{background-color:#f1f6f3;border-color:#95b9a2}.m-callout--success .m-callout__icon[data-v-efad4956]{background-color:#3a7f53;box-shadow:0 .3125rem .625rem #005a9f33}.m-callout--error[data-v-efad4956]{background-color:#f8f2f2;border-color:#c79a9b}.m-callout--error .m-callout__icon[data-v-efad4956]{background-color:#984447;box-shadow:0 .3125rem .625rem #005a9f33}.card[data-v-acf0a1dd]{cursor:pointer;border:solid 1px var(--color-neutrals-blue);border-bottom:solid 5px var(--color-brand-main-blue);transition:background-color ease-in .15s}.card[data-v-acf0a1dd]:hover{background-color:#f1f1f1}.card-content[data-v-acf0a1dd]{padding:32px 24px}.card-header[data-v-acf0a1dd]{display:flex}.card-tagline[data-v-acf0a1dd]{font-size:16px;font-family:Open Sans,sans-serif;color:#005a9f;font-weight:700;line-height:24px;word-wrap:break-word;padding-bottom:4px}.muc-divider[data-v-acf0a1dd]{margin-top:16px;margin-bottom:16px}@media all and (min-width: 992px){.card-container[data-v-256852e7]{padding-left:0;padding-right:0;display:grid;grid-template-columns:repeat(auto-fit,384px);grid-column-gap:32px;grid-row-gap:32px}}@media all and (max-width: 992px){.card-container[data-v-256852e7]{padding-left:0;padding-right:0;display:inline-grid;grid-template-columns:1fr;grid-row-gap:32px}}.muc-divider[data-v-
|
|
1
|
+
.m-callout--success[data-v-efad4956]{background-color:#f1f6f3;border-color:#95b9a2}.m-callout--success .m-callout__icon[data-v-efad4956]{background-color:#3a7f53;box-shadow:0 .3125rem .625rem #005a9f33}.m-callout--error[data-v-efad4956]{background-color:#f8f2f2;border-color:#c79a9b}.m-callout--error .m-callout__icon[data-v-efad4956]{background-color:#984447;box-shadow:0 .3125rem .625rem #005a9f33}.card[data-v-acf0a1dd]{cursor:pointer;border:solid 1px var(--color-neutrals-blue);border-bottom:solid 5px var(--color-brand-main-blue);transition:background-color ease-in .15s}.card[data-v-acf0a1dd]:hover{background-color:#f1f1f1}.card-content[data-v-acf0a1dd]{padding:32px 24px}.card-header[data-v-acf0a1dd]{display:flex}.card-tagline[data-v-acf0a1dd]{font-size:16px;font-family:Open Sans,sans-serif;color:#005a9f;font-weight:700;line-height:24px;word-wrap:break-word;padding-bottom:4px}.muc-divider[data-v-acf0a1dd]{margin-top:16px;margin-bottom:16px}@media all and (min-width: 992px){.card-container[data-v-256852e7]{padding-left:0;padding-right:0;display:grid;grid-template-columns:repeat(auto-fit,384px);grid-column-gap:32px;grid-row-gap:32px}}@media all and (max-width: 992px){.card-container[data-v-256852e7]{padding-left:0;padding-right:0;display:inline-grid;grid-template-columns:1fr;grid-row-gap:32px}}.muc-divider[data-v-75c8321c]{margin-top:8px;margin-bottom:16px}
|
|
@@ -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
|
}>;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "FabianWilms",
|
|
4
4
|
"description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.8.0
|
|
6
|
+
"version": "1.8.0",
|
|
7
7
|
"private": false,
|
|
8
8
|
"module": "./dist/muc-patternlab-vue.es.js",
|
|
9
9
|
"types": "./dist/types/index.d.ts",
|
|
@@ -16,40 +16,39 @@ defineProps<{
|
|
|
16
16
|
|
|
17
17
|
defineSlots<{
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Body of the Intro.
|
|
20
20
|
*/
|
|
21
21
|
default(): any;
|
|
22
22
|
}>();
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<template>
|
|
26
|
-
<div class="m-intro m-intro-
|
|
27
|
-
<div
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
<div class="m-intro m-intro-static-image" style="background-color: var(--color-neutrals-blue-xlight);">
|
|
27
|
+
<div
|
|
28
|
+
class="container"
|
|
29
|
+
>
|
|
30
|
+
<div style="width: 66.6%">
|
|
31
|
+
<div>
|
|
32
|
+
<p
|
|
32
33
|
v-if="tagline"
|
|
33
34
|
class="m-intro-vertical__tagline"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
>
|
|
36
|
+
{{ tagline }}
|
|
37
|
+
</p>
|
|
38
|
+
<h1 class="m-intro-vertical__title">
|
|
39
|
+
{{ title }}
|
|
40
|
+
</h1>
|
|
41
|
+
</div>
|
|
41
42
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
<div
|
|
44
|
+
v-if="divider"
|
|
45
|
+
class="muc-divider"
|
|
46
|
+
></div>
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
48
|
+
<div class="m-intro-vertical__content">
|
|
49
|
+
<p style="padding-bottom: 32px;">
|
|
50
|
+
<slot></slot>
|
|
51
|
+
</p>
|
|
53
52
|
</div>
|
|
54
53
|
</div>
|
|
55
54
|
</div>
|