@sanity/vision 6.9.0-next.45 → 6.9.0-next.47
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as visionLocaleNamespace } from "./i18n-DWd7qwtK.js";
|
|
2
|
-
import { Component, Fragment, Suspense, forwardRef, use, useEffect,
|
|
2
|
+
import { Component, Fragment, Suspense, forwardRef, use, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
3
3
|
import { ContextMenuButton, Translate, UserAvatar, getReleaseIdFromReleaseDocumentId, isCardinalityOneRelease, sortReleases, useActiveReleases, useClient, useCurrentUser, useDataset, useDateTimeFormat, useKeyValueStore, usePerspective, useScheduledDraftsEnabled, useTranslation, useWorkspace } from "sanity";
|
|
4
4
|
import { IntentLink } from "sanity/router";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
@@ -9,6 +9,7 @@ import { SplitPane } from "@rexxars/react-split-pane";
|
|
|
9
9
|
import { ChevronLeftIcon } from "@sanity/icons/ChevronLeft";
|
|
10
10
|
import { ChevronRightIcon } from "@sanity/icons/ChevronRight";
|
|
11
11
|
import { isHotkey } from "is-hotkey-esm";
|
|
12
|
+
import { useEffectEvent } from "use-effect-event";
|
|
12
13
|
import { closeBrackets } from "@codemirror/autocomplete";
|
|
13
14
|
import { defaultKeymap, history, historyKeymap } from "@codemirror/commands";
|
|
14
15
|
import { javascriptLanguage } from "@codemirror/lang-javascript";
|
|
@@ -2767,4 +2768,4 @@ function SanityVision(props) {
|
|
|
2767
2768
|
}
|
|
2768
2769
|
export { SanityVision as default };
|
|
2769
2770
|
|
|
2770
|
-
//# sourceMappingURL=SanityVision-
|
|
2771
|
+
//# sourceMappingURL=SanityVision-CQ0yUM4l.js.map
|