sanity 5.28.1-next.1 → 5.28.1-next.3
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/lib/_chunks-es/version.js +2 -2
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +13 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var version = "5.28.1-next.
|
|
1
|
+
var version = "5.28.1-next.3+2273ad6c4b";
|
|
2
2
|
let buildVersion;
|
|
3
3
|
try {
|
|
4
4
|
buildVersion = process.env.PKG_BUILD_VERSION;
|
|
@@ -7,7 +7,7 @@ try {
|
|
|
7
7
|
try {
|
|
8
8
|
buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
|
|
9
9
|
// and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
|
|
10
|
-
"5.28.1-next.
|
|
10
|
+
"5.28.1-next.3+2273ad6c4b";
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
const SANITY_VERSION = buildVersion || `${version}-dev`;
|
package/lib/index.js
CHANGED
|
@@ -62236,7 +62236,7 @@ function useDocumentForm(options) {
|
|
|
62236
62236
|
subscription.unsubscribe();
|
|
62237
62237
|
};
|
|
62238
62238
|
}, t14 = [presenceStore, value._id], $[35] = presenceStore, $[36] = value._id, $[37] = t13, $[38] = t14) : (t13 = $[37], t14 = $[38]), useEffect(t13, t14);
|
|
62239
|
-
const [openPath, onSetOpenPath] = useState(EMPTY_ARRAY$y), [fieldGroupState, onSetFieldGroupState] = useState(), [collapsedPaths, onSetCollapsedPath] = useState(), [collapsedFieldSets, onSetCollapsedFieldSets] = useState();
|
|
62239
|
+
const [openPath, onSetOpenPath] = useState(initialFocusPath || EMPTY_ARRAY$y), [fieldGroupState, onSetFieldGroupState] = useState(), [collapsedPaths, onSetCollapsedPath] = useState(), [collapsedFieldSets, onSetCollapsedFieldSets] = useState();
|
|
62240
62240
|
let t15;
|
|
62241
62241
|
$[39] !== onSetCollapsedPath ? (t15 = (path, collapsed) => {
|
|
62242
62242
|
onSetCollapsedPath((prevState) => setAtPath(prevState, path, collapsed));
|