@sanity/vision 6.8.1-next.4 → 6.9.0-next.6

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.
@@ -1075,7 +1075,7 @@ function QueryRecall(t0) {
1075
1075
  paddingX: 3,
1076
1076
  paddingBottom: 2,
1077
1077
  children: /* @__PURE__ */ jsxs(TabList, {
1078
- space: 1,
1078
+ gap: 1,
1079
1079
  children: [
1080
1080
  t27,
1081
1081
  t31,
@@ -1083,7 +1083,7 @@ function QueryRecall(t0) {
1083
1083
  ]
1084
1084
  })
1085
1085
  }), $[109] = t27, $[110] = t31, $[111] = t35, $[112] = t36) : t36 = $[112], $[113] !== t20 || $[114] !== t23 || $[115] !== t36 ? (t14 = /* @__PURE__ */ jsxs(FixedHeader, {
1086
- space: 3,
1086
+ gap: 3,
1087
1087
  children: [
1088
1088
  t20,
1089
1089
  t23,
@@ -1109,7 +1109,7 @@ function QueryRecall(t0) {
1109
1109
  cursor: "pointer"
1110
1110
  },
1111
1111
  children: /* @__PURE__ */ jsxs(Stack, {
1112
- space: compactMode ? 2 : 3,
1112
+ gap: compactMode ? 2 : 3,
1113
1113
  children: [
1114
1114
  /* @__PURE__ */ jsxs(Flex, {
1115
1115
  justify: "space-between",
@@ -1226,7 +1226,7 @@ function QueryRecall(t0) {
1226
1226
  })
1227
1227
  }) : /* @__PURE__ */ jsx(Code, {}),
1228
1228
  compactMode ? /* @__PURE__ */ jsxs(Stack, {
1229
- space: 1,
1229
+ gap: 1,
1230
1230
  style: {
1231
1231
  paddingTop: 0,
1232
1232
  minHeight: "30px"
@@ -1258,7 +1258,6 @@ function QueryRecall(t0) {
1258
1258
  children: /* @__PURE__ */ jsx(LockIcon, {})
1259
1259
  })
1260
1260
  }), /* @__PURE__ */ jsx(Badge, {
1261
- mode: "outline",
1262
1261
  tone: q_5.shared ? "primary" : "default",
1263
1262
  style: {
1264
1263
  whiteSpace: "nowrap",
@@ -1304,7 +1303,6 @@ function QueryRecall(t0) {
1304
1303
  })
1305
1304
  }),
1306
1305
  /* @__PURE__ */ jsx(Badge, {
1307
- mode: "outline",
1308
1306
  tone: q_5.shared ? "primary" : "default",
1309
1307
  style: {
1310
1308
  whiteSpace: "nowrap",
@@ -1548,7 +1546,7 @@ function PerspectivePopover() {
1548
1546
  $[3] === t ? t3 = $[4] : (t3 = t("settings.perspectives.title"), $[3] = t, $[4] = t3);
1549
1547
  let t4;
1550
1548
  $[5] === t3 ? t4 = $[6] : (t4 = /* @__PURE__ */ jsx(Inline, {
1551
- space: 2,
1549
+ gap: 2,
1552
1550
  children: /* @__PURE__ */ jsx(Text, {
1553
1551
  weight: "medium",
1554
1552
  children: t3
@@ -1578,7 +1576,7 @@ function PerspectivePopover() {
1578
1576
  }), $[15] = t, $[16] = t9);
1579
1577
  let t10;
1580
1578
  $[17] !== t8 || $[18] !== t9 ? (t10 = /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(Stack, {
1581
- space: 2,
1579
+ gap: 2,
1582
1580
  children: [t8, t9]
1583
1581
  }) }), $[17] = t8, $[18] = t9, $[19] = t10) : t10 = $[19];
1584
1582
  let t11;
@@ -1594,7 +1592,7 @@ function PerspectivePopover() {
1594
1592
  }) }) }), $[24] = t12, $[25] = t13);
1595
1593
  let t14;
1596
1594
  $[26] !== t10 || $[27] !== t11 || $[28] !== t13 || $[29] !== t4 || $[30] !== t6 ? (t14 = /* @__PURE__ */ jsx(PerspectivePopoverContent, { children: /* @__PURE__ */ jsxs(Stack, {
1597
- space: 4,
1595
+ gap: 4,
1598
1596
  children: [
1599
1597
  t4,
1600
1598
  t6,
@@ -1684,7 +1682,7 @@ function VisionGuiHeader(t0) {
1684
1682
  let t8;
1685
1683
  $[13] !== t5 || $[14] !== t7 ? (t8 = /* @__PURE__ */ jsx(Box, {
1686
1684
  padding: 1,
1687
- column: t3,
1685
+ gridColumn: t3,
1688
1686
  children: /* @__PURE__ */ jsxs(Stack, { children: [t5, t7] })
1689
1687
  }), $[13] = t5, $[14] = t7, $[15] = t8) : t8 = $[15];
1690
1688
  let t9;
@@ -1716,13 +1714,13 @@ function VisionGuiHeader(t0) {
1716
1714
  let t17;
1717
1715
  $[30] !== t11 || $[31] !== t16 ? (t17 = /* @__PURE__ */ jsx(Box, {
1718
1716
  padding: 1,
1719
- column: t9,
1717
+ gridColumn: t9,
1720
1718
  children: /* @__PURE__ */ jsxs(Stack, { children: [t11, t16] })
1721
1719
  }), $[30] = t11, $[31] = t16, $[32] = t17) : t17 = $[32];
1722
1720
  let t18;
1723
1721
  $[33] !== customApiVersion || $[34] !== customApiVersionElementRef || $[35] !== isValidApiVersion || $[36] !== onCustomApiVersionChange || $[37] !== t ? (t18 = customApiVersion !== !1 && /* @__PURE__ */ jsx(Box, {
1724
1722
  padding: 1,
1725
- column: [1, 2],
1723
+ gridColumn: [1, 2],
1726
1724
  children: /* @__PURE__ */ jsxs(Stack, { children: [/* @__PURE__ */ jsx(Card, {
1727
1725
  paddingTop: 2,
1728
1726
  paddingBottom: 3,
@@ -1750,7 +1748,7 @@ function VisionGuiHeader(t0) {
1750
1748
  $[45] === t21 ? t23 = $[46] : (t23 = /* @__PURE__ */ jsx(Card, {
1751
1749
  paddingBottom: 1,
1752
1750
  children: /* @__PURE__ */ jsxs(Inline, {
1753
- space: 1,
1751
+ gap: 1,
1754
1752
  children: [t21, t22]
1755
1753
  })
1756
1754
  }), $[45] = t21, $[46] = t23);
@@ -1778,14 +1776,14 @@ function VisionGuiHeader(t0) {
1778
1776
  let t27;
1779
1777
  $[55] !== t23 || $[56] !== t26 ? (t27 = /* @__PURE__ */ jsx(Box, {
1780
1778
  padding: 1,
1781
- column: t19,
1779
+ gridColumn: t19,
1782
1780
  children: /* @__PURE__ */ jsxs(Stack, { children: [t23, t26] })
1783
1781
  }), $[55] = t23, $[56] = t26, $[57] = t27) : t27 = $[57];
1784
1782
  let t28;
1785
1783
  $[58] !== customApiVersion || $[59] !== t || $[60] !== url ? (t28 = typeof url == "string" ? /* @__PURE__ */ jsx(Box, {
1786
1784
  padding: 1,
1787
1785
  flex: 1,
1788
- column: [1, customApiVersion === !1 ? 6 : 4],
1786
+ gridColumn: [1, customApiVersion === !1 ? 6 : 4],
1789
1787
  children: /* @__PURE__ */ jsxs(Stack, { children: [/* @__PURE__ */ jsx(Card, {
1790
1788
  paddingTop: 2,
1791
1789
  paddingBottom: 3,
@@ -1832,7 +1830,7 @@ function VisionGuiHeader(t0) {
1832
1830
  paddingX: 3,
1833
1831
  paddingY: 2,
1834
1832
  children: /* @__PURE__ */ jsxs(Grid, {
1835
- columns: t2,
1833
+ gridTemplateColumns: t2,
1836
1834
  children: [
1837
1835
  t8,
1838
1836
  t17,
@@ -1935,7 +1933,7 @@ function QueryErrorDialog(props) {
1935
1933
  $[2] === props.error ? t1 = $[3] : (t1 = /* @__PURE__ */ jsx(QueryErrorDetails, { error: props.error }), $[2] = props.error, $[3] = t1);
1936
1934
  let t2;
1937
1935
  return $[4] !== t0 || $[5] !== t1 ? (t2 = /* @__PURE__ */ jsxs(Stack, {
1938
- space: 5,
1936
+ gap: 5,
1939
1937
  marginTop: 2,
1940
1938
  children: [t0, t1]
1941
1939
  }), $[4] = t0, $[5] = t1, $[6] = t2) : t2 = $[6], t2;
@@ -2724,7 +2722,7 @@ var VisionErrorBoundary = class extends Component {
2724
2722
  children: /* @__PURE__ */ jsx(Container, {
2725
2723
  width: 3,
2726
2724
  children: /* @__PURE__ */ jsxs(Stack, {
2727
- space: 4,
2725
+ gap: 4,
2728
2726
  children: [
2729
2727
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, {
2730
2728
  onClick: withCacheClear ? this.handleRetryWithCacheClear : this.handleRetryRender,
@@ -2739,7 +2737,7 @@ var VisionErrorBoundary = class extends Component {
2739
2737
  padding: 4,
2740
2738
  tone: "inherit",
2741
2739
  children: /* @__PURE__ */ jsx(Stack, {
2742
- space: 4,
2740
+ gap: 4,
2743
2741
  children: message && /* @__PURE__ */ jsx(Code, {
2744
2742
  size: 1,
2745
2743
  children: /* @__PURE__ */ jsxs("strong", { children: ["Error: ", message] })
@@ -2768,4 +2766,4 @@ function SanityVision(props) {
2768
2766
  }
2769
2767
  export { SanityVision as default };
2770
2768
 
2771
- //# sourceMappingURL=SanityVision-DHdFKqJn.js.map
2769
+ //# sourceMappingURL=SanityVision-MCdLivbU.js.map