@mirweb/mir-web-components 1.7.1 → 1.7.3

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.
@@ -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-bdaf11f9"), e = e(), H(), e), Aa = { class: "flashcard-side flashcard-front" }, La = {
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/22x21/23d87eccc4/icon_reverse_blue.svg"
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: {
@@ -1121,7 +1121,7 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
1121
1121
  ]);
1122
1122
  };
1123
1123
  }
1124
- }), be = /* @__PURE__ */ f(Ra, [["__scopeId", "data-v-bdaf11f9"]]), Na = { class: "text__wrapper" }, Ea = { class: "text__headline" }, ja = { class: "text__paragraph" }, Ka = /* @__PURE__ */ g({
1124
+ }), be = /* @__PURE__ */ f(Ra, [["__scopeId", "data-v-93ee37aa"]]), Na = { class: "text__wrapper" }, Ea = { class: "text__headline" }, ja = { class: "text__paragraph" }, Ka = /* @__PURE__ */ g({
1125
1125
  __name: "text-card",
1126
1126
  props: {
1127
1127
  label: {
@@ -1407,6 +1407,7 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
1407
1407
  props: {
1408
1408
  headline: {},
1409
1409
  body: {},
1410
+ bgColor: {},
1410
1411
  flashcards: {}
1411
1412
  },
1412
1413
  setup(e) {
@@ -1415,55 +1416,59 @@ const Le = ["aria-label"], De = /* @__PURE__ */ g({
1415
1416
  const l = (_ = a.flashcards) == null ? void 0 : _.length;
1416
1417
  return l === 4 || l === 5 ? "sm" : l === 6 || l === 3 ? "md" : l === 2 ? "lg" : "sm";
1417
1418
  });
1418
- return (l, _) => (s(), i("div", Po, [
1419
- t("div", {
1420
- class: p([
1421
- { "no-bodytext": !r.value },
1422
- "flashcard-wrapper__top-section"
1423
- ])
1424
- }, [
1425
- l.headline ? (s(), i("h2", Fo, d(l.headline), 1)) : h("", !0),
1426
- l.body ? (s(), i("div", Mo, [
1427
- c(l.$slots, "flashcard-wrapper-body", {}, void 0, !0)
1428
- ])) : h("", !0)
1429
- ], 2),
1430
- t("div", {
1431
- class: p(["flashcard-wrapper__teaser-list", {
1432
- sm: o.value === "sm",
1433
- md: o.value === "md",
1434
- lg: o.value === "lg"
1435
- }])
1436
- }, [
1437
- (s(!0), i(P, null, F(l.flashcards, (n) => (s(), T(I(be), {
1438
- key: n._uid,
1439
- name: n.name,
1440
- bodytext: n.bodytext,
1441
- image: n.image,
1442
- namebackside: n.namebackside ? n.namebackside : "",
1443
- bodytextbackside: n.bodytextbackside,
1444
- imagebackside: n.imagebackside ? n.imagebackside : { filename: "", alt: "" },
1445
- size: o.value,
1446
- "image-fit": n.imageFit,
1447
- "image-fit-back": n.imageFitBack
1448
- }, {
1449
- "flashcard-front-body": y(({ bodytext: u }) => [
1450
- c(l.$slots, "flashcard-front-body", C(L({ bodytext: u })), void 0, !0)
1451
- ]),
1452
- "flashcard-front-image": y(({ src: u, alt: b }) => [
1453
- c(l.$slots, "flashcard-front-image", C(L({ src: u, alt: b })), void 0, !0)
1454
- ]),
1455
- "flashcard-back-body": y(({ bodytextbackside: u }) => [
1456
- c(l.$slots, "flashcard-back-body", C(L({ bodytextbackside: u })), void 0, !0)
1457
- ]),
1458
- "flashcard-back-image": y(({ src: u, alt: b }) => [
1459
- c(l.$slots, "flashcard-back-image", C(L({ src: u, alt: b })), void 0, !0)
1460
- ]),
1461
- _: 2
1462
- }, 1032, ["name", "bodytext", "image", "namebackside", "bodytextbackside", "imagebackside", "size", "image-fit", "image-fit-back"]))), 128))
1463
- ], 2)
1464
- ]));
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));
1465
1470
  }
1466
- }), Oo = /* @__PURE__ */ f(zo, [["__scopeId", "data-v-6dc1e767"]]), 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({
1471
+ }), Oo = /* @__PURE__ */ f(zo, [["__scopeId", "data-v-de3c8751"]]), 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({
1467
1472
  __name: "form-script",
1468
1473
  props: {
1469
1474
  headline: {