sanity 5.30.0 → 5.30.1-next.1

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,4 +1,4 @@
1
- var version = "5.30.0";
1
+ var version = "5.30.1-next.1+163d020a12";
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.30.0";
10
+ "5.30.1-next.1+163d020a12";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;
package/lib/index.js CHANGED
@@ -85791,6 +85791,18 @@ function WorkspaceAuthCard(t0) {
85791
85791
  let t7;
85792
85792
  return $[12] !== t2 || $[13] !== t6 ? (t7 = /* @__PURE__ */ jsx(Card, { as: "button", radius: 2, padding: 2, onClick: t2, children: t6 }), $[12] = t2, $[13] = t6, $[14] = t7) : t7 = $[14], t7;
85793
85793
  }
85794
+ const StyledContainer$1 = /* @__PURE__ */ styled(Container$3).withConfig({
85795
+ displayName: "StyledContainer",
85796
+ componentId: "sc-1fmg9eg-0"
85797
+ })((props2) => {
85798
+ const theme = getTheme_v2(props2.theme), {
85799
+ container
85800
+ } = theme;
85801
+ return {
85802
+ width: "auto",
85803
+ minWidth: rem(container[0])
85804
+ };
85805
+ });
85794
85806
  function WorkspaceAuth() {
85795
85807
  const $ = c(44), {
85796
85808
  visibleWorkspaces
@@ -85828,10 +85840,10 @@ function WorkspaceAuth() {
85828
85840
  let t82;
85829
85841
  $[21] !== t52 || $[22] !== t72 ? (t82 = /* @__PURE__ */ jsx(Layout, { header: t52, children: t72 }), $[21] = t52, $[22] = t72, $[23] = t82) : t82 = $[23];
85830
85842
  let t9;
85831
- return $[24] !== t32 || $[25] !== t82 ? (t9 = /* @__PURE__ */ jsxs(Stack, { space: 2, children: [
85843
+ return $[24] !== t32 || $[25] !== t82 ? (t9 = /* @__PURE__ */ jsx(Container$3, { width: 0, children: /* @__PURE__ */ jsxs(Stack, { space: 2, children: [
85832
85844
  t32,
85833
85845
  t82
85834
- ] }), $[24] = t32, $[25] = t82, $[26] = t9) : t9 = $[26], t9;
85846
+ ] }) }), $[24] = t32, $[25] = t82, $[26] = t9) : t9 = $[26], t9;
85835
85847
  }
85836
85848
  let t3;
85837
85849
  $[27] !== t ? (t3 = t("workspaces.choose-your-workspace-label"), $[27] = t, $[28] = t3) : t3 = $[28];
@@ -85848,7 +85860,7 @@ function WorkspaceAuth() {
85848
85860
  let t7;
85849
85861
  $[38] !== t6 ? (t7 = /* @__PURE__ */ jsx(Stack, { space: 1, paddingX: 1, paddingY: 2, children: t6 }), $[38] = t6, $[39] = t7) : t7 = $[39];
85850
85862
  let t8;
85851
- return $[40] !== t3 || $[41] !== t5 || $[42] !== t7 ? (t8 = /* @__PURE__ */ jsx(Layout, { header: t3, footer: t5, children: t7 }), $[40] = t3, $[41] = t5, $[42] = t7, $[43] = t8) : t8 = $[43], t8;
85863
+ return $[40] !== t3 || $[41] !== t5 || $[42] !== t7 ? (t8 = /* @__PURE__ */ jsx(StyledContainer$1, { width: 1, children: /* @__PURE__ */ jsx(Layout, { header: t3, footer: t5, children: t7 }) }), $[40] = t3, $[41] = t5, $[42] = t7, $[43] = t8) : t8 = $[43], t8;
85852
85864
  }
85853
85865
  const PERMISSION_NAME = "sanity.project.members", GRANT_NAME = "invite";
85854
85866
  function useCanInviteProjectMembers(opts) {
@@ -86032,7 +86044,7 @@ function _temp$A(workspace) {
86032
86044
  function AuthenticateScreen() {
86033
86045
  const $ = c(1);
86034
86046
  let t0;
86035
- return $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsx(Card, { height: "fill", overflow: "auto", paddingX: 4, children: /* @__PURE__ */ jsx(Flex, { height: "fill", direction: "column", align: "center", justify: "center", paddingTop: 4, children: /* @__PURE__ */ jsx(Container$3, { width: 0, children: /* @__PURE__ */ jsx(WorkspaceAuth, {}) }) }) }), $[0] = t0) : t0 = $[0], t0;
86047
+ return $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsx(Card, { height: "fill", overflow: "auto", paddingX: 4, children: /* @__PURE__ */ jsx(Flex, { height: "fill", direction: "column", align: "center", justify: "center", paddingTop: 4, children: /* @__PURE__ */ jsx(WorkspaceAuth, {}) }) }), $[0] = t0) : t0 = $[0], t0;
86036
86048
  }
86037
86049
  function ConfigErrorsScreen() {
86038
86050
  const $ = c(1);