@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.
@@ -6157,6 +6157,7 @@ function DataExplorerMediaPreview({
6157
6157
  empty = "No preview available",
6158
6158
  error = "Preview is unavailable right now.",
6159
6159
  className,
6160
+ style,
6160
6161
  classNames,
6161
6162
  mediaAttributes,
6162
6163
  onLoad,
@@ -6181,7 +6182,7 @@ function DataExplorerMediaPreview({
6181
6182
  }
6182
6183
  );
6183
6184
  if (loading) {
6184
- return /* @__PURE__ */ jsx("div", { className: cn("min-w-0 overflow-hidden", classNames?.root, className), "aria-busy": "true", children: /* @__PURE__ */ jsxs(
6185
+ return /* @__PURE__ */ jsx("div", { className: cn("min-w-0 overflow-hidden", classNames?.root, className), style, "aria-busy": "true", children: /* @__PURE__ */ jsxs(
6185
6186
  "div",
6186
6187
  {
6187
6188
  className: cn(
@@ -6196,7 +6197,7 @@ function DataExplorerMediaPreview({
6196
6197
  ) });
6197
6198
  }
6198
6199
  if (!resolvedSrc || hasError) {
6199
- return /* @__PURE__ */ jsx("div", { className: cn("min-w-0 overflow-hidden", classNames?.root, className), children: renderPlaceholder(
6200
+ return /* @__PURE__ */ jsx("div", { className: cn("min-w-0 overflow-hidden", classNames?.root, className), style, children: renderPlaceholder(
6200
6201
  /* @__PURE__ */ jsxs(Fragment, { children: [
6201
6202
  /* @__PURE__ */ jsx(PreviewIcon, { kind }),
6202
6203
  /* @__PURE__ */ jsx("span", { className: cn("max-w-full truncate", hasError ? classNames?.error : void 0), children: hasError ? error : empty }),
@@ -6251,9 +6252,9 @@ function DataExplorerMediaPreview({
6251
6252
  ] })
6252
6253
  );
6253
6254
  if (kind === "image") {
6254
- return /* @__PURE__ */ jsx(MediaPreviewFrame, { aspectRatio, className: cn(classNames?.root, className), children: media });
6255
+ return /* @__PURE__ */ jsx(MediaPreviewFrame, { aspectRatio, className: cn(classNames?.root, className), style, children: media });
6255
6256
  }
6256
- return /* @__PURE__ */ jsx("div", { className: cn("min-w-0 overflow-hidden", classNames?.root, className), children: media });
6257
+ return /* @__PURE__ */ jsx("div", { className: cn("min-w-0 overflow-hidden", classNames?.root, className), style, children: media });
6257
6258
  }
6258
6259
  function DataExplorerPage({
6259
6260
  sidebar,