@superinterface/react 3.10.0 → 3.10.1
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 +19 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10766,7 +10766,7 @@ import { c as _c56 } from "react-compiler-runtime";
|
|
|
10766
10766
|
import { Flex as Flex35, Card as Card5, Inset as Inset3 } from "@radix-ui/themes";
|
|
10767
10767
|
import { jsx as _jsx93 } from "react/jsx-runtime";
|
|
10768
10768
|
var Content9 = function(t0) {
|
|
10769
|
-
var $ = _c56(
|
|
10769
|
+
var $ = _c56(5);
|
|
10770
10770
|
var fileId = t0.fileId;
|
|
10771
10771
|
var superinterfaceContext = useSuperinterfaceContext();
|
|
10772
10772
|
var nextSearchParams = new URLSearchParams(superinterfaceContext.variables);
|
|
@@ -10792,8 +10792,18 @@ var Content9 = function(t0) {
|
|
|
10792
10792
|
}
|
|
10793
10793
|
var t3 = "".concat(superinterfaceContext.baseUrl, "/files/").concat(fileId, "/contents?").concat(nextSearchParams);
|
|
10794
10794
|
var t4;
|
|
10795
|
-
if ($[2]
|
|
10796
|
-
t4 =
|
|
10795
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
10796
|
+
t4 = {
|
|
10797
|
+
width: "100%",
|
|
10798
|
+
height: "100%"
|
|
10799
|
+
};
|
|
10800
|
+
$[2] = t4;
|
|
10801
|
+
} else {
|
|
10802
|
+
t4 = $[2];
|
|
10803
|
+
}
|
|
10804
|
+
var t5;
|
|
10805
|
+
if ($[3] !== t3) {
|
|
10806
|
+
t5 = /* @__PURE__ */ _jsx93(Flex35, {
|
|
10797
10807
|
direction: "column",
|
|
10798
10808
|
flexGrow: "1",
|
|
10799
10809
|
gap: "3",
|
|
@@ -10804,20 +10814,20 @@ var Content9 = function(t0) {
|
|
|
10804
10814
|
style: t2,
|
|
10805
10815
|
children: /* @__PURE__ */ _jsx93(Flex35, {
|
|
10806
10816
|
flexGrow: "1",
|
|
10807
|
-
position: "relative",
|
|
10808
10817
|
children: /* @__PURE__ */ _jsx93("embed", {
|
|
10809
|
-
src: t3
|
|
10818
|
+
src: t3,
|
|
10819
|
+
style: t4
|
|
10810
10820
|
})
|
|
10811
10821
|
})
|
|
10812
10822
|
})
|
|
10813
10823
|
})
|
|
10814
10824
|
});
|
|
10815
|
-
$[
|
|
10816
|
-
$[
|
|
10825
|
+
$[3] = t3;
|
|
10826
|
+
$[4] = t5;
|
|
10817
10827
|
} else {
|
|
10818
|
-
|
|
10828
|
+
t5 = $[4];
|
|
10819
10829
|
}
|
|
10820
|
-
return
|
|
10830
|
+
return t5;
|
|
10821
10831
|
};
|
|
10822
10832
|
// src/components/annotations/SourceAnnotation/FileCitation/index.tsx
|
|
10823
10833
|
import { jsx as _jsx94, jsxs as _jsxs37, Fragment as _Fragment4 } from "react/jsx-runtime";
|