@mond-design-system/react 6.2.1 → 6.2.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.
package/dist/index.js CHANGED
@@ -2536,7 +2536,7 @@ function SideNavItem({
2536
2536
  }
2537
2537
 
2538
2538
  // mds-cssmod:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped
2539
- var MediaPlaceholder_module_default = { "media": "mds-MediaPlaceholder__media", "fill": "mds-MediaPlaceholder__fill", "image": "mds-MediaPlaceholder__image", "caption": "mds-MediaPlaceholder__caption", "cover": "mds-MediaPlaceholder__cover", "blurred": "mds-MediaPlaceholder__blurred" };
2539
+ var MediaPlaceholder_module_default = { "media": "mds-MediaPlaceholder__media", "frame": "mds-MediaPlaceholder__frame", "fill": "mds-MediaPlaceholder__fill", "image": "mds-MediaPlaceholder__image", "caption": "mds-MediaPlaceholder__caption", "cover": "mds-MediaPlaceholder__cover", "blurred": "mds-MediaPlaceholder__blurred" };
2540
2540
  function MediaPlaceholder({
2541
2541
  aspect,
2542
2542
  src,
@@ -2552,13 +2552,13 @@ function MediaPlaceholder({
2552
2552
  const [failed, setFailed] = useState();
2553
2553
  const picture = src !== void 0 && failed !== src;
2554
2554
  const vars = aspect === void 0 ? {} : { "--media-aspect": aspect };
2555
- return /* @__PURE__ */ jsxs(
2555
+ return /* @__PURE__ */ jsx(
2556
2556
  "div",
2557
2557
  {
2558
2558
  className: cx(MediaPlaceholder_module_default.media, blurred && MediaPlaceholder_module_default.blurred, className),
2559
2559
  style: { ...vars, ...style },
2560
2560
  ...rest,
2561
- children: [
2561
+ children: /* @__PURE__ */ jsxs("div", { className: MediaPlaceholder_module_default.frame, children: [
2562
2562
  picture ? /* @__PURE__ */ jsx(
2563
2563
  "img",
2564
2564
  {
@@ -2575,7 +2575,7 @@ function MediaPlaceholder({
2575
2575
  ] }),
2576
2576
  picture && caption !== void 0 && /* @__PURE__ */ jsx(Text, { variant: "meta", tone: "on-media", className: MediaPlaceholder_module_default.caption, children: caption }),
2577
2577
  cover !== void 0 && /* @__PURE__ */ jsx("div", { className: MediaPlaceholder_module_default.cover, children: cover })
2578
- ]
2578
+ ] })
2579
2579
  }
2580
2580
  );
2581
2581
  }