@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/components/data-explorer/index.d.mts +3 -3
- package/dist/components/data-explorer/index.d.ts +3 -3
- package/dist/components/data-explorer/index.js +5 -4
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +5 -4
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/components/navigation-sidebar/index.d.mts +1 -1
- package/dist/components/navigation-sidebar/index.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/dist/provider/index.d.mts +1 -1
- package/dist/provider/index.d.ts +1 -1
- package/dist/{theme-8ac532230cbe.d.ts → theme-88ae309f0f83.d.ts} +2 -2
- package/dist/{theme-ead39252edef.d.mts → theme-a44623472b15.d.mts} +2 -2
- package/dist/{types-b89faf386a96.d.mts → types-c3e072f57261.d.mts} +4 -1
- package/dist/{types-b89faf386a96.d.ts → types-c3e072f57261.d.ts} +4 -1
- package/package.json +1 -1
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,
|