@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 CHANGED
@@ -10925,7 +10925,7 @@ var import_react_compiler_runtime56 = require("react-compiler-runtime");
10925
10925
  var import_themes64 = require("@radix-ui/themes");
10926
10926
  var import_jsx_runtime93 = require("react/jsx-runtime");
10927
10927
  var Content9 = function(t0) {
10928
- var $ = (0, import_react_compiler_runtime56.c)(4);
10928
+ var $ = (0, import_react_compiler_runtime56.c)(5);
10929
10929
  var fileId = t0.fileId;
10930
10930
  var superinterfaceContext = useSuperinterfaceContext();
10931
10931
  var nextSearchParams = new URLSearchParams(superinterfaceContext.variables);
@@ -10951,8 +10951,18 @@ var Content9 = function(t0) {
10951
10951
  }
10952
10952
  var t3 = "".concat(superinterfaceContext.baseUrl, "/files/").concat(fileId, "/contents?").concat(nextSearchParams);
10953
10953
  var t4;
10954
- if ($[2] !== t3) {
10955
- t4 = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10954
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
10955
+ t4 = {
10956
+ width: "100%",
10957
+ height: "100%"
10958
+ };
10959
+ $[2] = t4;
10960
+ } else {
10961
+ t4 = $[2];
10962
+ }
10963
+ var t5;
10964
+ if ($[3] !== t3) {
10965
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10956
10966
  direction: "column",
10957
10967
  flexGrow: "1",
10958
10968
  gap: "3",
@@ -10963,20 +10973,20 @@ var Content9 = function(t0) {
10963
10973
  style: t2,
10964
10974
  children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10965
10975
  flexGrow: "1",
10966
- position: "relative",
10967
10976
  children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("embed", {
10968
- src: t3
10977
+ src: t3,
10978
+ style: t4
10969
10979
  })
10970
10980
  })
10971
10981
  })
10972
10982
  })
10973
10983
  });
10974
- $[2] = t3;
10975
- $[3] = t4;
10984
+ $[3] = t3;
10985
+ $[4] = t5;
10976
10986
  } else {
10977
- t4 = $[3];
10987
+ t5 = $[4];
10978
10988
  }
10979
- return t4;
10989
+ return t5;
10980
10990
  };
10981
10991
  // src/components/annotations/SourceAnnotation/FileCitation/index.tsx
10982
10992
  var import_jsx_runtime94 = require("react/jsx-runtime");