@dxos/shell 0.4.7-main.65109e8 → 0.4.7-main.6a8321e

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.
@@ -66067,7 +66067,7 @@ var Mp = [
66067
66067
  Symbol.dispose ?? (Symbol.dispose = Symbol("Symbol.dispose"));
66068
66068
  Symbol.asyncDispose ?? (Symbol.asyncDispose = Symbol("Symbol.asyncDispose"));
66069
66069
  const qy = ie(({ identity: e, presence: n, onClick: t, classNames: i, ...r }, a) => {
66070
- var l, d, u;
66070
+ var l, d, u, h, p;
66071
66071
  const o = Hy(e.identityKey), s = Nn("identityListItem__label"), f = ((l = e.profile) == null ? void 0 : l.displayName) ?? dl(e.identityKey.toHex());
66072
66072
  return /* @__PURE__ */ _.createElement(
66073
66073
  pc.Root,
@@ -66084,9 +66084,9 @@ const qy = ie(({ identity: e, presence: n, onClick: t, classNames: i, ...r }, a)
66084
66084
  {
66085
66085
  status: n === U_.PresenceState.ONLINE ? "active" : "inactive",
66086
66086
  labelId: s,
66087
- hue: ((d = e.profile) == null ? void 0 : d.hue) || o.hue
66087
+ hue: ((u = (d = e.profile) == null ? void 0 : d.data) == null ? void 0 : u.hue) || o.hue
66088
66088
  },
66089
- /* @__PURE__ */ _.createElement(Wn.Frame, { classNames: "place-self-center" }, /* @__PURE__ */ _.createElement(Wn.Fallback, { text: ((u = e.profile) == null ? void 0 : u.emoji) || o.emoji })),
66089
+ /* @__PURE__ */ _.createElement(Wn.Frame, { classNames: "place-self-center" }, /* @__PURE__ */ _.createElement(Wn.Fallback, { text: ((p = (h = e.profile) == null ? void 0 : h.data) == null ? void 0 : p.emoji) || o.emoji })),
66090
66090
  /* @__PURE__ */ _.createElement(Wn.Label, { classNames: "text-sm truncate pli-2" }, f)
66091
66091
  )
66092
66092
  );
@@ -76543,11 +76543,11 @@ const qB = vh(
76543
76543
  };
76544
76544
  return /* @__PURE__ */ _.createElement(QB, { ...e, onUpdateProfile: a, validationMessage: i });
76545
76545
  }, V1 = (e) => {
76546
- var n;
76547
- return ((n = e == null ? void 0 : e.profile) == null ? void 0 : n.hue) || PR((e == null ? void 0 : e.identityKey.toHex()) ?? "0");
76546
+ var n, t;
76547
+ return ((t = (n = e == null ? void 0 : e.profile) == null ? void 0 : n.data) == null ? void 0 : t.hue) || PR((e == null ? void 0 : e.identityKey.toHex()) ?? "0");
76548
76548
  }, q1 = (e) => {
76549
- var n;
76550
- return ((n = e == null ? void 0 : e.profile) == null ? void 0 : n.emoji) || Ko((e == null ? void 0 : e.identityKey.toHex()) ?? "0");
76549
+ var n, t;
76550
+ return ((t = (n = e == null ? void 0 : e.profile) == null ? void 0 : n.data) == null ? void 0 : t.emoji) || Ko((e == null ? void 0 : e.identityKey.toHex()) ?? "0");
76551
76551
  }, QB = (e) => {
76552
76552
  const { active: n, identity: t, send: i, onUpdateProfile: r, validationMessage: a } = e, o = t == null ? void 0 : t.profile, s = !n, { t: f } = un("os"), [l, d] = Ee((o == null ? void 0 : o.displayName) ?? ""), [u, h] = Ee(V1(t)), [p, m] = Ee(q1(t)), { textValue: g, setTextValue: y } = Nu(), w = t == null ? void 0 : t.identityKey.toHex(), k = g === w;
76553
76553
  return /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ _.createElement(
@@ -76602,7 +76602,7 @@ const qB = vh(
76602
76602
  {
76603
76603
  variant: "primary",
76604
76604
  disabled: s,
76605
- onClick: () => r == null ? void 0 : r({ displayName: l, emoji: p, hue: u }),
76605
+ onClick: () => r == null ? void 0 : r({ displayName: l, data: { emoji: p, hue: u } }),
76606
76606
  "data-testid": "update-profile-form-continue"
76607
76607
  },
76608
76608
  f("done label")
@@ -77892,9 +77892,9 @@ const vj = /* @__PURE__ */ new Map([
77892
77892
  e ?? "never"
77893
77893
  ), /* @__PURE__ */ _.createElement(ED, null, /* @__PURE__ */ _.createElement(Ic, { text: u }))), /* @__PURE__ */ _.createElement("span", { id: f, className: "sr-only" }, s("qr label")), /* @__PURE__ */ _.createElement($P, { variant: "ghost", value: e ?? "never" })), /* @__PURE__ */ _.createElement(Wd, { id: "showing auth code" }, /* @__PURE__ */ _.createElement($1, null, s("auth code message")), /* @__PURE__ */ _.createElement(Bw, { code: a, large: !0, classNames: "text-black dark:text-white" }), /* @__PURE__ */ _.createElement($1, null, "Be sure the other device is showing this symbol:"), u && /* @__PURE__ */ _.createElement(Ic, { text: u })), /* @__PURE__ */ _.createElement(Wd, { id: "showing final" }, l > 0 ? /* @__PURE__ */ _.createElement(Bo, { className: ce("m-1.5", Ye(6)) }) : /* @__PURE__ */ _.createElement(So, { className: ce("m-1.5", Ye(6)) })))), /* @__PURE__ */ _.createElement(pt, { classNames: "mbs-4" }, /* @__PURE__ */ _.createElement(gn, { disabled: !n, onClick: () => t == null ? void 0 : t({ type: "deselectInvitation" }) }, s("back label"))));
77894
77894
  }, ia = "pbs-1 pbe-3 pli-3", pj = ({ titleId: e, title: n, identity: t, onDone: i }) => {
77895
- var a, o, s;
77895
+ var a, o, s, f, l;
77896
77896
  const r = Hy(t.identityKey);
77897
- return /* @__PURE__ */ _.createElement(ah, { titleId: e, title: n, corner: /* @__PURE__ */ _.createElement(jw, { onDone: i }) }, /* @__PURE__ */ _.createElement(Wn.Root, { size: 12, variant: "circle", status: "active", hue: ((a = t.profile) == null ? void 0 : a.hue) || r.hue }, /* @__PURE__ */ _.createElement(Wn.Frame, { classNames: "block mbs-4 mbe-2 mli-auto chromatic-ignore" }, /* @__PURE__ */ _.createElement(Wn.Fallback, { text: ((o = t.profile) == null ? void 0 : o.emoji) || r.emoji })), /* @__PURE__ */ _.createElement(Wn.Label, { classNames: "block text-center font-light text-xl", "data-testid": "identityHeading.displayName" }, ((s = t.profile) == null ? void 0 : s.displayName) ?? dl(t.identityKey.toHex()))));
77897
+ return /* @__PURE__ */ _.createElement(ah, { titleId: e, title: n, corner: /* @__PURE__ */ _.createElement(jw, { onDone: i }) }, /* @__PURE__ */ _.createElement(Wn.Root, { size: 12, variant: "circle", status: "active", hue: ((o = (a = t.profile) == null ? void 0 : a.data) == null ? void 0 : o.hue) || r.hue }, /* @__PURE__ */ _.createElement(Wn.Frame, { classNames: "block mbs-4 mbe-2 mli-auto chromatic-ignore" }, /* @__PURE__ */ _.createElement(Wn.Fallback, { text: ((f = (s = t.profile) == null ? void 0 : s.data) == null ? void 0 : f.emoji) || r.emoji })), /* @__PURE__ */ _.createElement(Wn.Label, { classNames: "block text-center font-light text-xl", "data-testid": "identityHeading.displayName" }, ((l = t.profile) == null ? void 0 : l.displayName) ?? dl(t.identityKey.toHex()))));
77898
77898
  }, S_ = (e) => {
77899
77899
  const {
77900
77900
  identity: n,
@@ -78375,7 +78375,7 @@ const vj = /* @__PURE__ */ new Map([
78375
78375
  i("recover identity label")
78376
78376
  )));
78377
78377
  }, kj = (e) => {
78378
- var m, g, y, w;
78378
+ var m, g, y, w, k, E;
78379
78379
  const { mode: n, addedIdentity: t, active: i, send: r, onDone: a, doneActionParent: o } = e, s = !i, { t: f } = un("os"), l = (t == null ? void 0 : t.identityKey.toHex()) ?? "0", d = Vy(l), u = Nn("identityListItem__label"), h = ((m = t == null ? void 0 : t.profile) == null ? void 0 : m.displayName) ?? (t && dl(l)), p = /* @__PURE__ */ _.createElement(
78380
78380
  gn,
78381
78381
  {
@@ -78386,7 +78386,7 @@ const vj = /* @__PURE__ */ new Map([
78386
78386
  },
78387
78387
  /* @__PURE__ */ _.createElement("span", null, f("done label"))
78388
78388
  );
78389
- return /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(Tt, null, f("identity added label")), /* @__PURE__ */ _.createElement("div", { role: "none", className: "grow flex flex-col items-center justify-center text-center gap-2" }, /* @__PURE__ */ _.createElement(Wn.Root, { status: "active", labelId: u, hue: ((g = t == null ? void 0 : t.profile) == null ? void 0 : g.hue) || d.hue }, /* @__PURE__ */ _.createElement(Wn.Frame, null, /* @__PURE__ */ _.createElement(Wn.Fallback, { text: ((y = t == null ? void 0 : t.profile) == null ? void 0 : y.emoji) || d.emoji })), /* @__PURE__ */ _.createElement(Wn.Label, { classNames: ce("text-lg truncate", !((w = t == null ? void 0 : t.profile) != null && w.displayName) && "font-mono") }, h))), /* @__PURE__ */ _.createElement(pt, null, n === "halo-only" ? o ? jt(o, {}, p) : p : /* @__PURE__ */ _.createElement(
78389
+ return /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement(Tt, null, f("identity added label")), /* @__PURE__ */ _.createElement("div", { role: "none", className: "grow flex flex-col items-center justify-center text-center gap-2" }, /* @__PURE__ */ _.createElement(Wn.Root, { status: "active", labelId: u, hue: ((y = (g = t == null ? void 0 : t.profile) == null ? void 0 : g.data) == null ? void 0 : y.hue) || d.hue }, /* @__PURE__ */ _.createElement(Wn.Frame, null, /* @__PURE__ */ _.createElement(Wn.Fallback, { text: ((k = (w = t == null ? void 0 : t.profile) == null ? void 0 : w.data) == null ? void 0 : k.emoji) || d.emoji })), /* @__PURE__ */ _.createElement(Wn.Label, { classNames: ce("text-lg truncate", !((E = t == null ? void 0 : t.profile) != null && E.displayName) && "font-mono") }, h))), /* @__PURE__ */ _.createElement(pt, null, n === "halo-only" ? o ? jt(o, {}, p) : p : /* @__PURE__ */ _.createElement(
78390
78390
  gn,
78391
78391
  {
78392
78392
  variant: "primary",