@superinterface/react 3.10.0 → 3.10.2

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
@@ -3573,7 +3573,7 @@ Suggestions.Item = Item;
3573
3573
  // src/contexts/markdown/MarkdownContext/lib/components/Code.tsx
3574
3574
  var import_jsx_runtime30 = require("react/jsx-runtime");
3575
3575
  var Code3 = function(t0) {
3576
- var $ = (0, import_react_compiler_runtime14.c)(4);
3576
+ var $ = (0, import_react_compiler_runtime14.c)(5);
3577
3577
  var children = t0.children, className = t0.className;
3578
3578
  if (className === "language-suggestions") {
3579
3579
  var _t;
@@ -3589,16 +3589,26 @@ var Code3 = function(t0) {
3589
3589
  return _t;
3590
3590
  }
3591
3591
  var t1;
3592
- if ($[2] !== children) {
3593
- t1 = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes21.Code, {
3592
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
3593
+ t1 = {
3594
+ wordBreak: "break-word"
3595
+ };
3596
+ $[2] = t1;
3597
+ } else {
3598
+ t1 = $[2];
3599
+ }
3600
+ var t2;
3601
+ if ($[3] !== children) {
3602
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_themes21.Code, {
3603
+ style: t1,
3594
3604
  children: children
3595
3605
  });
3596
- $[2] = children;
3597
- $[3] = t1;
3606
+ $[3] = children;
3607
+ $[4] = t2;
3598
3608
  } else {
3599
- t1 = $[3];
3609
+ t2 = $[4];
3600
3610
  }
3601
- return t1;
3611
+ return t2;
3602
3612
  };
3603
3613
  // src/contexts/markdown/MarkdownContext/lib/components/Img/index.tsx
3604
3614
  var import_react_compiler_runtime19 = require("react-compiler-runtime");
@@ -10925,7 +10935,7 @@ var import_react_compiler_runtime56 = require("react-compiler-runtime");
10925
10935
  var import_themes64 = require("@radix-ui/themes");
10926
10936
  var import_jsx_runtime93 = require("react/jsx-runtime");
10927
10937
  var Content9 = function(t0) {
10928
- var $ = (0, import_react_compiler_runtime56.c)(4);
10938
+ var $ = (0, import_react_compiler_runtime56.c)(5);
10929
10939
  var fileId = t0.fileId;
10930
10940
  var superinterfaceContext = useSuperinterfaceContext();
10931
10941
  var nextSearchParams = new URLSearchParams(superinterfaceContext.variables);
@@ -10951,8 +10961,18 @@ var Content9 = function(t0) {
10951
10961
  }
10952
10962
  var t3 = "".concat(superinterfaceContext.baseUrl, "/files/").concat(fileId, "/contents?").concat(nextSearchParams);
10953
10963
  var t4;
10954
- if ($[2] !== t3) {
10955
- t4 = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10964
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
10965
+ t4 = {
10966
+ width: "100%",
10967
+ height: "100%"
10968
+ };
10969
+ $[2] = t4;
10970
+ } else {
10971
+ t4 = $[2];
10972
+ }
10973
+ var t5;
10974
+ if ($[3] !== t3) {
10975
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10956
10976
  direction: "column",
10957
10977
  flexGrow: "1",
10958
10978
  gap: "3",
@@ -10963,20 +10983,20 @@ var Content9 = function(t0) {
10963
10983
  style: t2,
10964
10984
  children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10965
10985
  flexGrow: "1",
10966
- position: "relative",
10967
10986
  children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("embed", {
10968
- src: t3
10987
+ src: t3,
10988
+ style: t4
10969
10989
  })
10970
10990
  })
10971
10991
  })
10972
10992
  })
10973
10993
  });
10974
- $[2] = t3;
10975
- $[3] = t4;
10994
+ $[3] = t3;
10995
+ $[4] = t5;
10976
10996
  } else {
10977
- t4 = $[3];
10997
+ t5 = $[4];
10978
10998
  }
10979
- return t4;
10999
+ return t5;
10980
11000
  };
10981
11001
  // src/components/annotations/SourceAnnotation/FileCitation/index.tsx
10982
11002
  var import_jsx_runtime94 = require("react/jsx-runtime");