sanity 5.2.0-next.61 → 5.2.0-next.63

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.2.0-next.61+57c5a29ffa", peerDependencies = {
1
+ var version = "5.2.0-next.63+a8977ac71b", peerDependencies = {
2
2
  "styled-components": "^6.1.15"
3
3
  };
4
4
  export {
@@ -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.2.0-next.61+57c5a29ffa";
10
+ "5.2.0-next.63+a8977ac71b";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;
package/lib/index.js CHANGED
@@ -80760,7 +80760,7 @@ function _temp$w(g) {
80760
80760
  return g.name === GRANT_NAME;
80761
80761
  }
80762
80762
  function ManageMenu$1(t0) {
80763
- const $ = c(35), {
80763
+ const $ = c(30), {
80764
80764
  multipleWorkspaces
80765
80765
  } = t0, {
80766
80766
  projectId
@@ -80792,33 +80792,25 @@ function ManageMenu$1(t0) {
80792
80792
  let t9;
80793
80793
  $[12] !== t ? (t9 = t("user-menu.action.manage-project-aria-label"), $[12] = t, $[13] = t9) : t9 = $[13];
80794
80794
  let t10;
80795
- $[14] !== t9 ? (t10 = {
80796
- content: t9
80797
- }, $[14] = t9, $[15] = t10) : t10 = $[15];
80795
+ $[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t10 = {
80796
+ "--card-border-color": "unset"
80797
+ }, $[14] = t10) : t10 = $[14];
80798
80798
  let t11;
80799
- $[16] !== t ? (t11 = t("user-menu.action.manage-project-aria-label"), $[16] = t, $[17] = t11) : t11 = $[17];
80799
+ $[15] !== t8 || $[16] !== t9 ? (t11 = /* @__PURE__ */ jsx(Button, { mode: "bleed", as: "a", href: t8, target: "_blank", icon: CogIcon, text: t9, style: t10 }), $[15] = t8, $[16] = t9, $[17] = t11) : t11 = $[17];
80800
80800
  let t12;
80801
- $[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t12 = {
80801
+ $[18] !== canInviteMembers || $[19] !== envAwareWebsiteUrl || $[20] !== projectId || $[21] !== t ? (t12 = canInviteMembers && /* @__PURE__ */ jsx(Button, { mode: "bleed", as: "a", href: `${envAwareWebsiteUrl}/manage/project/${projectId}/members?invite=true`, target: "_blank", icon: AddUserIcon, text: t("user-menu.action.invite-members"), style: {
80802
80802
  "--card-border-color": "unset"
80803
- }, $[18] = t12) : t12 = $[18];
80803
+ } }), $[18] = canInviteMembers, $[19] = envAwareWebsiteUrl, $[20] = projectId, $[21] = t, $[22] = t12) : t12 = $[22];
80804
80804
  let t13;
80805
- $[19] !== t10 || $[20] !== t11 || $[21] !== t8 ? (t13 = /* @__PURE__ */ jsx(Button, { mode: "bleed", as: "a", href: t8, target: "_blank", icon: CogIcon, tooltipProps: t10, text: t11, style: t12 }), $[19] = t10, $[20] = t11, $[21] = t8, $[22] = t13) : t13 = $[22];
80805
+ $[23] !== t11 || $[24] !== t12 ? (t13 = /* @__PURE__ */ jsxs(Flex, { justify: "flex-start", gap: 3, paddingTop: 4, children: [
80806
+ t11,
80807
+ t12
80808
+ ] }), $[23] = t11, $[24] = t12, $[25] = t13) : t13 = $[25];
80806
80809
  let t14;
80807
- $[23] !== canInviteMembers || $[24] !== envAwareWebsiteUrl || $[25] !== projectId || $[26] !== t ? (t14 = canInviteMembers && /* @__PURE__ */ jsx(Button, { mode: "bleed", as: "a", href: `${envAwareWebsiteUrl}/manage/project/${projectId}/members?invite=true`, target: "_blank", icon: AddUserIcon, tooltipProps: {
80808
- content: t("user-menu.action.invite-members")
80809
- }, text: t("user-menu.action.invite-members"), style: {
80810
- "--card-border-color": "unset"
80811
- } }), $[23] = canInviteMembers, $[24] = envAwareWebsiteUrl, $[25] = projectId, $[26] = t, $[27] = t14) : t14 = $[27];
80812
- let t15;
80813
- $[28] !== t13 || $[29] !== t14 ? (t15 = /* @__PURE__ */ jsxs(Flex, { justify: "flex-start", gap: 3, paddingTop: 4, children: [
80814
- t13,
80815
- t14
80816
- ] }), $[28] = t13, $[29] = t14, $[30] = t15) : t15 = $[30];
80817
- let t16;
80818
- return $[31] !== t1 || $[32] !== t15 || $[33] !== t7 ? (t16 = /* @__PURE__ */ jsxs(Stack, { paddingX: 4, paddingTop: 4, paddingBottom: t1, children: [
80810
+ return $[26] !== t1 || $[27] !== t13 || $[28] !== t7 ? (t14 = /* @__PURE__ */ jsxs(Stack, { paddingX: 4, paddingTop: 4, paddingBottom: t1, children: [
80819
80811
  t7,
80820
- t15
80821
- ] }), $[31] = t1, $[32] = t15, $[33] = t7, $[34] = t16) : t16 = $[34], t16;
80812
+ t13
80813
+ ] }), $[26] = t1, $[27] = t13, $[28] = t7, $[29] = t14) : t14 = $[29], t14;
80822
80814
  }
80823
80815
  const POPOVER_PROPS = {
80824
80816
  constrainSize: !0,