@inf-monkeys-tech/monkeys-design 1.0.101 → 1.0.102

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.mjs CHANGED
@@ -24816,6 +24816,7 @@ function DataExplorerMediaPreview({
24816
24816
  empty = "No preview available",
24817
24817
  error = "Preview is unavailable right now.",
24818
24818
  className,
24819
+ style,
24819
24820
  classNames,
24820
24821
  mediaAttributes,
24821
24822
  onLoad,
@@ -24840,7 +24841,7 @@ function DataExplorerMediaPreview({
24840
24841
  }
24841
24842
  );
24842
24843
  if (loading) {
24843
- return /* @__PURE__ */ jsx("div", { className: cn3("min-w-0 overflow-hidden", classNames?.root, className), "aria-busy": "true", children: /* @__PURE__ */ jsxs(
24844
+ return /* @__PURE__ */ jsx("div", { className: cn3("min-w-0 overflow-hidden", classNames?.root, className), style, "aria-busy": "true", children: /* @__PURE__ */ jsxs(
24844
24845
  "div",
24845
24846
  {
24846
24847
  className: cn3(
@@ -24855,7 +24856,7 @@ function DataExplorerMediaPreview({
24855
24856
  ) });
24856
24857
  }
24857
24858
  if (!resolvedSrc || hasError) {
24858
- return /* @__PURE__ */ jsx("div", { className: cn3("min-w-0 overflow-hidden", classNames?.root, className), children: renderPlaceholder(
24859
+ return /* @__PURE__ */ jsx("div", { className: cn3("min-w-0 overflow-hidden", classNames?.root, className), style, children: renderPlaceholder(
24859
24860
  /* @__PURE__ */ jsxs(Fragment, { children: [
24860
24861
  /* @__PURE__ */ jsx(PreviewIcon, { kind }),
24861
24862
  /* @__PURE__ */ jsx("span", { className: cn3("max-w-full truncate", hasError ? classNames?.error : void 0), children: hasError ? error : empty }),
@@ -24910,9 +24911,9 @@ function DataExplorerMediaPreview({
24910
24911
  ] })
24911
24912
  );
24912
24913
  if (kind === "image") {
24913
- return /* @__PURE__ */ jsx(MediaPreviewFrame, { aspectRatio, className: cn3(classNames?.root, className), children: media });
24914
+ return /* @__PURE__ */ jsx(MediaPreviewFrame, { aspectRatio, className: cn3(classNames?.root, className), style, children: media });
24914
24915
  }
24915
- return /* @__PURE__ */ jsx("div", { className: cn3("min-w-0 overflow-hidden", classNames?.root, className), children: media });
24916
+ return /* @__PURE__ */ jsx("div", { className: cn3("min-w-0 overflow-hidden", classNames?.root, className), style, children: media });
24916
24917
  }
24917
24918
  function DataExplorerPage({
24918
24919
  sidebar,