sanity 4.4.0-next.26 → 4.4.0-next.28
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-cjs/PresentationToolGrantsCheck.js +6 -13
- package/lib/_chunks-cjs/PresentationToolGrantsCheck.js.map +1 -1
- package/lib/_chunks-cjs/pane.js +4 -1
- package/lib/_chunks-cjs/pane.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/PresentationToolGrantsCheck.mjs +6 -13
- package/lib/_chunks-es/PresentationToolGrantsCheck.mjs.map +1 -1
- package/lib/_chunks-es/pane.mjs +4 -1
- package/lib/_chunks-es/pane.mjs.map +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/package.json +15 -15
@@ -628,7 +628,7 @@ const BackLink = forwardRef(function(props, ref) {
|
|
628
628
|
return $[7] !== ref || $[8] !== restProps || $[9] !== t1 ? (t2 = /* @__PURE__ */ jsx(StateLink, { ...restProps, ref, state: t1, title: void 0 }), $[7] = ref, $[8] = restProps, $[9] = t1, $[10] = t2) : t2 = $[10], t2;
|
629
629
|
});
|
630
630
|
function PresentationPaneRouterProvider(props) {
|
631
|
-
const $ = c(
|
631
|
+
const $ = c(28), {
|
632
632
|
children,
|
633
633
|
onEditReference,
|
634
634
|
onStructureParams,
|
@@ -694,14 +694,7 @@ function PresentationPaneRouterProvider(props) {
|
|
694
694
|
});
|
695
695
|
}, $[15] = onEditReference, $[16] = t9) : t9 = $[16];
|
696
696
|
let t10;
|
697
|
-
$[17] !== onStructureParams ? (t10 =
|
698
|
-
onStructureParams({
|
699
|
-
...nextParams_0,
|
700
|
-
inspect: nextParams_0.inspect ?? void 0
|
701
|
-
});
|
702
|
-
}, $[17] = onStructureParams, $[18] = t10) : t10 = $[18];
|
703
|
-
let t11;
|
704
|
-
$[19] !== createPathWithParams || $[20] !== t10 || $[21] !== t4 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 || $[25] !== t9 ? (t11 = {
|
697
|
+
$[17] !== createPathWithParams || $[18] !== onStructureParams || $[19] !== t4 || $[20] !== t6 || $[21] !== t7 || $[22] !== t8 || $[23] !== t9 ? (t10 = {
|
705
698
|
index: 0,
|
706
699
|
groupIndex: 0,
|
707
700
|
siblingIndex: 0,
|
@@ -720,14 +713,14 @@ function PresentationPaneRouterProvider(props) {
|
|
720
713
|
closeCurrent: _temp4$2,
|
721
714
|
duplicateCurrent: _temp5$2,
|
722
715
|
setView: _temp6$1,
|
723
|
-
setParams:
|
716
|
+
setParams: onStructureParams,
|
724
717
|
setPayload: _temp7$1,
|
725
718
|
navigateIntent: _temp8,
|
726
719
|
createPathWithParams
|
727
|
-
}, $[
|
720
|
+
}, $[17] = createPathWithParams, $[18] = onStructureParams, $[19] = t4, $[20] = t6, $[21] = t7, $[22] = t8, $[23] = t9, $[24] = t10) : t10 = $[24], t2 = t10;
|
728
721
|
const context = t2;
|
729
|
-
let
|
730
|
-
return $[
|
722
|
+
let t11;
|
723
|
+
return $[25] !== children || $[26] !== context ? (t11 = /* @__PURE__ */ jsx(PaneRouterContext.Provider, { value: context, children }), $[25] = children, $[26] = context, $[27] = t11) : t11 = $[27], t11;
|
731
724
|
}
|
732
725
|
function _temp8(intentName, intentParams, options_0) {
|
733
726
|
console.warn("navigateIntent", intentName, intentParams, options_0);
|