@sanity/code-input
7.2.67.2.7
dist/index.js~
dist/index.jsModified+2−2
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -1,5 +1,5 @@
-import { t as CodeInputConfigContext } from "./CodeModeContext.js";
+import { t as CodeInputConfigContext } from "./_chunks-es/CodeModeContext.js";
import { CodeBlockIcon } from "@sanity/icons/CodeBlock";
import { MemberField, definePlugin, defineType, set, setIfMissing, unset } from "sanity";
import { c } from "react/compiler-runtime";
import { Box, Button, Card, Flex, Label, Layer, Portal, Select, Stack, Text, Tooltip } from "@sanity/ui";
@@ -167,9 +167,9 @@
children: [toggleButton, children({ isFullscreen: showFullscreen })]
}) }) })] }) : /* @__PURE__ */ jsxs(Fragment, { children: [toggleButton, children({ isFullscreen: showFullscreen })] })
}), $[19] = children, $[20] = fullscreenStyle, $[21] = placeholderHeight, $[22] = showFullscreen, $[23] = toggleButton, $[24] = t11) : t11 = $[24], t11;
}
-const CodeMirrorProxy = lazy(() => import("./CodeMirrorProxy.js"));
+const CodeMirrorProxy = lazy(() => import("./_chunks-es/CodeMirrorProxy.js"));
function useMounted() {
let $ = c(2), [mounted, setMounted] = useState(!1), t0, t1;
return $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => {
requestAnimationFrame(() => startTransition(() => setMounted(!0)));