@mirweb/mir-web-components 1.7.0 → 1.7.2
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/blocks/flashcards/flashcards.vue.d.ts +1 -1
- package/dist/components/molecules/flashcard/flashcard.vue.d.ts +1 -1
- package/dist/mir-web-components.cjs.js +1 -1
- package/dist/mir-web-components.css +1 -1
- package/dist/mir-web-components.es.js +60 -54
- package/dist/mir-web-components.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1020,7 +1020,7 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
|
|
|
1020
1020
|
t("div", Ia, d(e.exhibitor), 1)
|
|
1021
1021
|
]));
|
|
1022
1022
|
}
|
|
1023
|
-
}), Ca = /* @__PURE__ */ f(qa, [["__scopeId", "data-v-2c394add"]]), le = (e) => (O("data-v-
|
|
1023
|
+
}), Ca = /* @__PURE__ */ f(qa, [["__scopeId", "data-v-2c394add"]]), le = (e) => (O("data-v-93ee37aa"), e = e(), H(), e), Aa = { class: "flashcard-side flashcard-front" }, La = {
|
|
1024
1024
|
key: 0,
|
|
1025
1025
|
class: "content"
|
|
1026
1026
|
}, Da = { key: 0 }, Ta = {
|
|
@@ -1043,7 +1043,7 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
|
|
|
1043
1043
|
src: "https://a.storyblok.com/f/230581/22x22/50edea5341/icon_reverse_white.svg"
|
|
1044
1044
|
}, null, -1)), Ha = /* @__PURE__ */ le(() => /* @__PURE__ */ t("img", {
|
|
1045
1045
|
class: "flip-icon",
|
|
1046
|
-
src: "https://a.storyblok.com/f/230581/
|
|
1046
|
+
src: "https://a.storyblok.com/f/230581/22x22/50edea5341/icon_reverse_white.svg"
|
|
1047
1047
|
}, null, -1)), Ra = /* @__PURE__ */ g({
|
|
1048
1048
|
__name: "flashcard",
|
|
1049
1049
|
props: {
|
|
@@ -1095,9 +1095,10 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
|
|
|
1095
1095
|
], 2))
|
|
1096
1096
|
]),
|
|
1097
1097
|
t("div", {
|
|
1098
|
-
class: p([
|
|
1099
|
-
"flashcard-back
|
|
1100
|
-
|
|
1098
|
+
class: p([
|
|
1099
|
+
"flashcard-side flashcard-back",
|
|
1100
|
+
(b = o.imagebackside) != null && b.filename ? "flashcard-back--image" : "flashcard-back--no-image"
|
|
1101
|
+
])
|
|
1101
1102
|
}, [
|
|
1102
1103
|
o.namebackside || o.bodytextbackside.length > 0 ? (s(), i("div", Fa, [
|
|
1103
1104
|
o.namebackside ? (s(), i("h3", Ma, d(o.namebackside), 1)) : h("", !0),
|
|
@@ -1120,7 +1121,7 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
|
|
|
1120
1121
|
]);
|
|
1121
1122
|
};
|
|
1122
1123
|
}
|
|
1123
|
-
}), be = /* @__PURE__ */ f(Ra, [["__scopeId", "data-v-
|
|
1124
|
+
}), be = /* @__PURE__ */ f(Ra, [["__scopeId", "data-v-93ee37aa"]]), Na = { class: "text__wrapper" }, Ea = { class: "text__headline" }, ja = { class: "text__paragraph" }, Ka = /* @__PURE__ */ g({
|
|
1124
1125
|
__name: "text-card",
|
|
1125
1126
|
props: {
|
|
1126
1127
|
label: {
|
|
@@ -1406,6 +1407,7 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
|
|
|
1406
1407
|
props: {
|
|
1407
1408
|
headline: {},
|
|
1408
1409
|
body: {},
|
|
1410
|
+
bgColor: {},
|
|
1409
1411
|
flashcards: {}
|
|
1410
1412
|
},
|
|
1411
1413
|
setup(e) {
|
|
@@ -1414,55 +1416,59 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
|
|
|
1414
1416
|
const l = (_ = a.flashcards) == null ? void 0 : _.length;
|
|
1415
1417
|
return l === 4 || l === 5 ? "sm" : l === 6 || l === 3 ? "md" : l === 2 ? "lg" : "sm";
|
|
1416
1418
|
});
|
|
1417
|
-
return (l, _) => (s(), i("div",
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1419
|
+
return (l, _) => (s(), i("div", {
|
|
1420
|
+
class: p(["flashcards", l.bgColor === "light" ? "flashcards--light" : "flashcards--white"])
|
|
1421
|
+
}, [
|
|
1422
|
+
t("div", Po, [
|
|
1423
|
+
t("div", {
|
|
1424
|
+
class: p([
|
|
1425
|
+
{ "no-bodytext": !r.value },
|
|
1426
|
+
"flashcard-wrapper__top-section"
|
|
1427
|
+
])
|
|
1428
|
+
}, [
|
|
1429
|
+
l.headline ? (s(), i("h2", Fo, d(l.headline), 1)) : h("", !0),
|
|
1430
|
+
l.body ? (s(), i("div", Mo, [
|
|
1431
|
+
c(l.$slots, "flashcard-wrapper-body", {}, void 0, !0)
|
|
1432
|
+
])) : h("", !0)
|
|
1433
|
+
], 2),
|
|
1434
|
+
t("div", {
|
|
1435
|
+
class: p(["flashcard-wrapper__teaser-list", {
|
|
1436
|
+
sm: o.value === "sm",
|
|
1437
|
+
md: o.value === "md",
|
|
1438
|
+
lg: o.value === "lg"
|
|
1439
|
+
}])
|
|
1440
|
+
}, [
|
|
1441
|
+
(s(!0), i(P, null, F(l.flashcards, (n) => (s(), T(I(be), {
|
|
1442
|
+
key: n._uid,
|
|
1443
|
+
name: n.name,
|
|
1444
|
+
bodytext: n.bodytext,
|
|
1445
|
+
image: n.image,
|
|
1446
|
+
namebackside: n.namebackside ? n.namebackside : "",
|
|
1447
|
+
bodytextbackside: n.bodytextbackside,
|
|
1448
|
+
imagebackside: n.imagebackside ? n.imagebackside : { filename: "", alt: "" },
|
|
1449
|
+
size: o.value,
|
|
1450
|
+
"image-fit": n.imageFit,
|
|
1451
|
+
"image-fit-back": n.imageFitBack
|
|
1452
|
+
}, {
|
|
1453
|
+
"flashcard-front-body": y(({ bodytext: u }) => [
|
|
1454
|
+
c(l.$slots, "flashcard-front-body", C(L({ bodytext: u })), void 0, !0)
|
|
1455
|
+
]),
|
|
1456
|
+
"flashcard-front-image": y(({ src: u, alt: b }) => [
|
|
1457
|
+
c(l.$slots, "flashcard-front-image", C(L({ src: u, alt: b })), void 0, !0)
|
|
1458
|
+
]),
|
|
1459
|
+
"flashcard-back-body": y(({ bodytextbackside: u }) => [
|
|
1460
|
+
c(l.$slots, "flashcard-back-body", C(L({ bodytextbackside: u })), void 0, !0)
|
|
1461
|
+
]),
|
|
1462
|
+
"flashcard-back-image": y(({ src: u, alt: b }) => [
|
|
1463
|
+
c(l.$slots, "flashcard-back-image", C(L({ src: u, alt: b })), void 0, !0)
|
|
1464
|
+
]),
|
|
1465
|
+
_: 2
|
|
1466
|
+
}, 1032, ["name", "bodytext", "image", "namebackside", "bodytextbackside", "imagebackside", "size", "image-fit", "image-fit-back"]))), 128))
|
|
1467
|
+
], 2)
|
|
1468
|
+
])
|
|
1469
|
+
], 2));
|
|
1464
1470
|
}
|
|
1465
|
-
}), Oo = /* @__PURE__ */ f(zo, [["__scopeId", "data-v-
|
|
1471
|
+
}), Oo = /* @__PURE__ */ f(zo, [["__scopeId", "data-v-6ed31309"]]), Ho = { class: "form__wrapper" }, Ro = { class: "form__content" }, No = { class: "form__information" }, Eo = { class: "form__headline" }, jo = { class: "form__body" }, Ko = { class: "form__script" }, Uo = /* @__PURE__ */ g({
|
|
1466
1472
|
__name: "form-script",
|
|
1467
1473
|
props: {
|
|
1468
1474
|
headline: {
|