@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.cjs CHANGED
@@ -2538,7 +2538,7 @@ function SideNavItem({
2538
2538
  }
2539
2539
 
2540
2540
  // mds-cssmod:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped
2541
- 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" };
2541
+ 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" };
2542
2542
  function MediaPlaceholder({
2543
2543
  aspect,
2544
2544
  src,
@@ -2554,13 +2554,13 @@ function MediaPlaceholder({
2554
2554
  const [failed, setFailed] = react.useState();
2555
2555
  const picture = src !== void 0 && failed !== src;
2556
2556
  const vars = aspect === void 0 ? {} : { "--media-aspect": aspect };
2557
- return /* @__PURE__ */ jsxRuntime.jsxs(
2557
+ return /* @__PURE__ */ jsxRuntime.jsx(
2558
2558
  "div",
2559
2559
  {
2560
2560
  className: cx(MediaPlaceholder_module_default.media, blurred && MediaPlaceholder_module_default.blurred, className),
2561
2561
  style: { ...vars, ...style },
2562
2562
  ...rest,
2563
- children: [
2563
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: MediaPlaceholder_module_default.frame, children: [
2564
2564
  picture ? /* @__PURE__ */ jsxRuntime.jsx(
2565
2565
  "img",
2566
2566
  {
@@ -2577,7 +2577,7 @@ function MediaPlaceholder({
2577
2577
  ] }),
2578
2578
  picture && caption !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(Text, { variant: "meta", tone: "on-media", className: MediaPlaceholder_module_default.caption, children: caption }),
2579
2579
  cover !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: MediaPlaceholder_module_default.cover, children: cover })
2580
- ]
2580
+ ] })
2581
2581
  }
2582
2582
  );
2583
2583
  }