@decentnetwork/beagle 0.1.16 → 0.1.17
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/dist/desktop/app.js +10 -3
- package/package.json +1 -1
package/dist/desktop/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
window.__DK_UI_VERSION="0.1.
|
|
1
|
+
window.__DK_UI_VERSION="0.1.16";
|
|
2
2
|
const ICON_PATHS = {
|
|
3
3
|
// ---- tab bar (the four must feel like one set) ----
|
|
4
4
|
users: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',
|
|
@@ -1591,7 +1591,14 @@ function DkGroupSender({ grp, T, avatar }) {
|
|
|
1591
1591
|
setBusy(true);
|
|
1592
1592
|
fetch("/api/add", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ address: grp.senderId }) }).then((r) => r.json()).then((r) => setDone(r.ok ? T && T.addSent || "request sent" : r.error || "failed")).catch((e) => setDone(String(e && e.message || e))).finally(() => setBusy(false));
|
|
1593
1593
|
};
|
|
1594
|
-
return /* @__PURE__ */ React.createElement("span", { style: {
|
|
1594
|
+
return /* @__PURE__ */ React.createElement("span", { style: {
|
|
1595
|
+
position: "relative",
|
|
1596
|
+
display: "inline-flex",
|
|
1597
|
+
alignItems: "center",
|
|
1598
|
+
gap: 5,
|
|
1599
|
+
margin: avatar ? 0 : "0 3px 2px",
|
|
1600
|
+
alignSelf: avatar ? "flex-start" : void 0
|
|
1601
|
+
} }, /* @__PURE__ */ React.createElement(
|
|
1595
1602
|
"button",
|
|
1596
1603
|
{
|
|
1597
1604
|
onClick: () => setOpen((v) => !v),
|
|
@@ -1602,7 +1609,7 @@ function DkGroupSender({ grp, T, avatar }) {
|
|
|
1602
1609
|
), open && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { onClick: () => setOpen(false), style: { position: "fixed", inset: 0, zIndex: 40 } }), /* @__PURE__ */ React.createElement("span", { style: {
|
|
1603
1610
|
position: "absolute",
|
|
1604
1611
|
left: 0,
|
|
1605
|
-
|
|
1612
|
+
top: avatar ? 28 : 20,
|
|
1606
1613
|
zIndex: 50,
|
|
1607
1614
|
width: 240,
|
|
1608
1615
|
padding: 12,
|
package/package.json
CHANGED