@pluno/product-agent-web 0.1.35 → 0.1.36
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/product-agent-widget.js +55 -46
- package/package.json +1 -1
|
@@ -265,7 +265,7 @@ function st(e, t, n) {
|
|
|
265
265
|
async function yn(e) {
|
|
266
266
|
return await (await fetch(e)).blob();
|
|
267
267
|
}
|
|
268
|
-
const Cn = "https://app.pluno.ai", En = "/api/product-agent/embed/active-users",
|
|
268
|
+
const Cn = "https://app.pluno.ai", En = "/api/product-agent/embed/active-users", kn = 1800, Sn = 15e3, Ln = 250, Pn = 1e3, An = 3e4;
|
|
269
269
|
function Tn(e, t = {}) {
|
|
270
270
|
let n = !1, o = null, a = null, i = null;
|
|
271
271
|
const l = () => {
|
|
@@ -285,8 +285,8 @@ function Tn(e, t = {}) {
|
|
|
285
285
|
l();
|
|
286
286
|
return;
|
|
287
287
|
}
|
|
288
|
-
const
|
|
289
|
-
o = Math.round(f + (s - f) * Mn(
|
|
288
|
+
const S = Math.min(1, (performance.now() - C) / kn);
|
|
289
|
+
o = Math.round(f + (s - f) * Mn(S)), e(o), S >= 1 && (o = s, e(s), l());
|
|
290
290
|
}, Ln);
|
|
291
291
|
}, d = async () => {
|
|
292
292
|
try {
|
|
@@ -295,7 +295,7 @@ function Tn(e, t = {}) {
|
|
|
295
295
|
return;
|
|
296
296
|
c(s.count), p(s.refreshAfterMs);
|
|
297
297
|
} catch {
|
|
298
|
-
p(
|
|
298
|
+
p(Sn);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
return d(), () => {
|
|
@@ -399,13 +399,13 @@ async function lo(e = {}) {
|
|
|
399
399
|
fontFamily: t.fontFamily,
|
|
400
400
|
cssAccent: a.style.getPropertyValue("--pluno-pa-accent")
|
|
401
401
|
});
|
|
402
|
-
const c = a.querySelector(".pluno-pa-widget__launcher"), d = a.querySelector(".pluno-pa-widget__launcher-drag-handle"), s = a.querySelector(".pluno-pa-widget__launcher-input"), f = a.querySelector(".pluno-pa-widget__panel"), C = a.querySelector(".pluno-pa-widget__close"),
|
|
403
|
-
if (!c || !s || !f || !C || !
|
|
402
|
+
const c = a.querySelector(".pluno-pa-widget__launcher"), d = a.querySelector(".pluno-pa-widget__launcher-drag-handle"), s = a.querySelector(".pluno-pa-widget__launcher-input"), f = a.querySelector(".pluno-pa-widget__panel"), C = a.querySelector(".pluno-pa-widget__close"), S = a.querySelector(".pluno-pa-widget__composer"), x = a.querySelector(".pluno-pa-widget__attachment-error"), R = a.querySelector(".pluno-pa-widget__billing-status"), v = a.querySelector(".pluno-pa-widget__attachments"), y = a.querySelector(".pluno-pa-widget__attachment-input"), h = a.querySelector(".pluno-pa-widget__attach"), g = a.querySelector(".pluno-pa-widget__input"), _ = a.querySelector(".pluno-pa-widget__send"), N = a.querySelector(".pluno-pa-widget__new-chat"), Z = a.querySelector(".pluno-pa-widget__timeline-jump"), de = a.querySelector(".pluno-pa-widget__active-users-counter"), E = a.querySelector(".pluno-pa-widget__timeline"), b = a.querySelector(".pluno-pa-widget__timeline-bottom-sentinel");
|
|
403
|
+
if (!c || !s || !f || !C || !S || !x || !R || !v || !y || !h || !g || !_ || !N || !Z || !de || !E || !b)
|
|
404
404
|
throw new Error("Failed to mount Pluno widget");
|
|
405
405
|
if (t.movableLauncher && !d)
|
|
406
406
|
throw new Error("Failed to mount Pluno widget drag handle");
|
|
407
407
|
_t(s), _t(g);
|
|
408
|
-
let m = [],
|
|
408
|
+
let m = [], k = null;
|
|
409
409
|
const P = () => {
|
|
410
410
|
Oo(v, m, (r) => {
|
|
411
411
|
m = m.filter((u, T) => T !== r), P(), O(w.getState()), U();
|
|
@@ -443,7 +443,7 @@ async function lo(e = {}) {
|
|
|
443
443
|
autoConnect: t.loginRequired ? !1 : void 0
|
|
444
444
|
});
|
|
445
445
|
const J = ha(t), Ee = new Set(J.openToolGroupKeys), ae = new Set(J.seenShareCandidateIds), fe = new Set(ae);
|
|
446
|
-
let
|
|
446
|
+
let ke = J.sharePromptsDisabled || await ma(t), G = t.movableLauncher ? J.launcherPosition : null, qe = G !== null, q = null, Se = !1, Q = !1, ee = {
|
|
447
447
|
enabled: !0
|
|
448
448
|
}, te = 0, Ke = "";
|
|
449
449
|
const H = (r, u) => {
|
|
@@ -455,7 +455,7 @@ async function lo(e = {}) {
|
|
|
455
455
|
}, tn = (r = "jump") => {
|
|
456
456
|
H(!0, r), W(), he(E, () => ee.enabled), te = E.scrollTop;
|
|
457
457
|
}, nn = () => {
|
|
458
|
-
|
|
458
|
+
Se || typeof document > "u" || (Lt(o, t.accentColor), n.isConnected || p.body?.appendChild(n));
|
|
459
459
|
}, Ye = new MutationObserver(nn);
|
|
460
460
|
Ye.observe(p.documentElement, { childList: !0, subtree: !0 });
|
|
461
461
|
const Le = (r = !0) => {
|
|
@@ -472,7 +472,7 @@ async function lo(e = {}) {
|
|
|
472
472
|
openToolGroupKeys: [...Ee],
|
|
473
473
|
launcherPosition: qe ? G : null,
|
|
474
474
|
seenShareCandidateIds: [...ae].slice(-Mt),
|
|
475
|
-
sharePromptsDisabled:
|
|
475
|
+
sharePromptsDisabled: ke
|
|
476
476
|
});
|
|
477
477
|
}, ne = (r, u = {}) => {
|
|
478
478
|
_o(r, {
|
|
@@ -585,7 +585,7 @@ async function lo(e = {}) {
|
|
|
585
585
|
const U = () => {
|
|
586
586
|
_.disabled = $(t.billingStatus) || !w.getState().isThinking && g.value.trim().length === 0 && m.length === 0, h.disabled = t.loginRequired || $(t.billingStatus);
|
|
587
587
|
};
|
|
588
|
-
t.loginRequired && (s.readOnly = !0, s.placeholder = t.loginButtonLabel, g.placeholder = t.loginButtonLabel,
|
|
588
|
+
t.loginRequired && (s.readOnly = !0, s.placeholder = t.loginButtonLabel, g.placeholder = t.loginButtonLabel, S.hidden = !0), S.addEventListener("submit", (r) => {
|
|
589
589
|
if (r.preventDefault(), t.loginRequired) {
|
|
590
590
|
t.onLoginClick?.();
|
|
591
591
|
return;
|
|
@@ -596,11 +596,11 @@ async function lo(e = {}) {
|
|
|
596
596
|
const an = () => {
|
|
597
597
|
ce = 0, a.classList.remove("pluno-pa-widget--drag-over");
|
|
598
598
|
}, tt = (r) => {
|
|
599
|
-
|
|
600
|
-
x.textContent = "", x.hidden = !0,
|
|
599
|
+
k !== null && window.clearTimeout(k), x.textContent = r, x.hidden = !1, k = window.setTimeout(() => {
|
|
600
|
+
x.textContent = "", x.hidden = !0, k = null;
|
|
601
601
|
}, 3e3);
|
|
602
602
|
}, rn = () => {
|
|
603
|
-
|
|
603
|
+
k !== null && (window.clearTimeout(k), k = null), x.textContent = "", x.hidden = !0;
|
|
604
604
|
}, nt = async (r) => {
|
|
605
605
|
if (r.length === 0)
|
|
606
606
|
return;
|
|
@@ -685,7 +685,7 @@ async function lo(e = {}) {
|
|
|
685
685
|
(M) => {
|
|
686
686
|
Q = !0, H(!0, "send"), W(), w.sendMessage(M);
|
|
687
687
|
},
|
|
688
|
-
ln && !
|
|
688
|
+
ln && !ke ? {
|
|
689
689
|
dismissedCandidateIds: fe,
|
|
690
690
|
draftingCandidateId: we,
|
|
691
691
|
error: ue,
|
|
@@ -699,13 +699,13 @@ async function lo(e = {}) {
|
|
|
699
699
|
ae.add(M.id), fe.add(M.id), F(), ue = null, O(w.getState());
|
|
700
700
|
},
|
|
701
701
|
onDisable: (M) => {
|
|
702
|
-
|
|
702
|
+
ke = !0, ae.add(M.id), fe.add(M.id), F(), fa(t, !0), ue = null, O(w.getState());
|
|
703
703
|
}
|
|
704
704
|
} : void 0
|
|
705
705
|
), K ? (te = E.scrollTop, W()) : T && vo(r) && en();
|
|
706
706
|
};
|
|
707
707
|
return it = Tn((r) => {
|
|
708
|
-
Te = r, !
|
|
708
|
+
Te = r, !Se && Ct(w.getState(), g.value.trim().length > 0 || m.length > 0) && O(w.getState());
|
|
709
709
|
}, { backendUrl: t.backendUrl, fetcher: A, loader: t.activeUsersLoader }), w.on("state", (r) => {
|
|
710
710
|
const u = at && !r.isThinking;
|
|
711
711
|
at = r.isThinking, r.appearance ? (Ae = !0, Y("web-sdk.widget", "Agent state supplied appearance", {
|
|
@@ -732,7 +732,7 @@ async function lo(e = {}) {
|
|
|
732
732
|
oe(g.value, !1);
|
|
733
733
|
},
|
|
734
734
|
destroy: () => {
|
|
735
|
-
|
|
735
|
+
Se = !0, Ye.disconnect(), et?.disconnect(), window.removeEventListener("resize", Ze), Je(), k !== null && window.clearTimeout(k), it(), ie?.remove(), w.destroy(), n.remove();
|
|
736
736
|
}
|
|
737
737
|
};
|
|
738
738
|
async function pn(r) {
|
|
@@ -834,7 +834,7 @@ function go({
|
|
|
834
834
|
l = null, p = null, c = null, d = !1, e.classList.remove("pluno-pa-widget--dragging");
|
|
835
835
|
}, C = (h) => {
|
|
836
836
|
e.classList.contains("pluno-pa-widget--open") || e.classList.contains("pluno-pa-widget--closing") || (h.preventDefault(), h.stopPropagation(), l = h.pointerId, p = { x: h.clientX, y: h.clientY }, c = o(), d = !1, t.setPointerCapture?.(h.pointerId));
|
|
837
|
-
},
|
|
837
|
+
}, S = (h) => {
|
|
838
838
|
if (l !== h.pointerId || !p || !c)
|
|
839
839
|
return;
|
|
840
840
|
h.preventDefault();
|
|
@@ -856,8 +856,8 @@ function go({
|
|
|
856
856
|
let N = null;
|
|
857
857
|
h.key === "ArrowUp" ? N = { x: _.x, y: _.y - g } : h.key === "ArrowDown" ? N = { x: _.x, y: _.y + g } : h.key === "ArrowLeft" ? N = { x: _.x - g, y: _.y } : h.key === "ArrowRight" && (N = { x: _.x + g, y: _.y }), N && (h.preventDefault(), h.stopPropagation(), a(N), i());
|
|
858
858
|
};
|
|
859
|
-
return t.addEventListener("pointerdown", C), t.addEventListener("pointermove",
|
|
860
|
-
t.removeEventListener("pointerdown", C), t.removeEventListener("pointermove",
|
|
859
|
+
return t.addEventListener("pointerdown", C), t.addEventListener("pointermove", S), t.addEventListener("pointerup", x), t.addEventListener("pointercancel", R), t.addEventListener("click", v, !0), n.addEventListener("keydown", y), () => {
|
|
860
|
+
t.removeEventListener("pointerdown", C), t.removeEventListener("pointermove", S), t.removeEventListener("pointerup", x), t.removeEventListener("pointercancel", R), t.removeEventListener("click", v, !0), n.removeEventListener("keydown", y);
|
|
861
861
|
};
|
|
862
862
|
}
|
|
863
863
|
function Ge(e, t = !0) {
|
|
@@ -1013,15 +1013,15 @@ function Eo(e) {
|
|
|
1013
1013
|
const n = document.createElement("div");
|
|
1014
1014
|
n.className = "pluno-pa-widget__timeline-wrap";
|
|
1015
1015
|
const o = document.createElement("main");
|
|
1016
|
-
o.className = "pluno-pa-widget__timeline", o.appendChild(
|
|
1016
|
+
o.className = "pluno-pa-widget__timeline", o.appendChild(So(e));
|
|
1017
1017
|
const a = document.createElement("div");
|
|
1018
1018
|
a.className = "pluno-pa-widget__timeline-bottom-sentinel", a.setAttribute("aria-hidden", "true"), o.appendChild(a), n.appendChild(o);
|
|
1019
1019
|
const i = document.createElement("div");
|
|
1020
1020
|
i.className = "pluno-pa-widget__active-users-counter", i.hidden = !0, n.appendChild(i);
|
|
1021
1021
|
const l = document.createElement("button");
|
|
1022
|
-
return l.type = "button", l.className = "pluno-pa-widget__timeline-jump", l.textContent = "New messages ↓", l.hidden = !0, n.appendChild(l), n.appendChild(Wt("pluno-pa-widget__new-chat", "New chat", To(), !0)), t.appendChild(n), t.appendChild(
|
|
1022
|
+
return l.type = "button", l.className = "pluno-pa-widget__timeline-jump", l.textContent = "New messages ↓", l.hidden = !0, n.appendChild(l), n.appendChild(Wt("pluno-pa-widget__new-chat", "New chat", To(), !0)), t.appendChild(n), t.appendChild(ko()), t;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function ko() {
|
|
1025
1025
|
const e = document.createElement("form");
|
|
1026
1026
|
e.className = "pluno-pa-widget__composer";
|
|
1027
1027
|
const t = document.createElement("div");
|
|
@@ -1047,7 +1047,7 @@ function So() {
|
|
|
1047
1047
|
const f = document.createElement("span");
|
|
1048
1048
|
return f.className = "pluno-pa-widget__ai-disclaimer", f.textContent = "AI can make mistakes. Verify outputs.", d.appendChild(f), e.appendChild(d), e;
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function So(e) {
|
|
1051
1051
|
const t = document.createElement("div");
|
|
1052
1052
|
return t.className = "pluno-pa-widget__empty-state", t.appendChild(Ht("pluno-pa-widget__character--empty", e)), t.appendChild(Gt()), t;
|
|
1053
1053
|
}
|
|
@@ -1353,7 +1353,12 @@ function Kt(e, t, n) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
function yt(e, t) {
|
|
1355
1355
|
const n = document.createElement("button");
|
|
1356
|
-
|
|
1356
|
+
if (n.type = "button", e === "Earn credits") {
|
|
1357
|
+
const o = document.createElement("span");
|
|
1358
|
+
o.className = "pluno-pa-widget__billing-action-card-earn-credits-label", o.textContent = e, n.appendChild(o);
|
|
1359
|
+
} else
|
|
1360
|
+
n.textContent = e;
|
|
1361
|
+
return n.disabled = t.trim().length === 0, n.addEventListener("click", () => {
|
|
1357
1362
|
t.trim().length !== 0 && window.open(t, "_blank", "noopener,noreferrer");
|
|
1358
1363
|
}), n;
|
|
1359
1364
|
}
|
|
@@ -1388,7 +1393,7 @@ function Zo(e) {
|
|
|
1388
1393
|
function Ct(e, t) {
|
|
1389
1394
|
return e.messages.filter((o) => !Yt(o)).length === 0 && !e.assistantDraft && !e.lastError && !e.isThinking && !t;
|
|
1390
1395
|
}
|
|
1391
|
-
function Jo(e, t, n, o, a, i, l, p, c, d, s, f, C,
|
|
1396
|
+
function Jo(e, t, n, o, a, i, l, p, c, d, s, f, C, S, x) {
|
|
1392
1397
|
const R = [...i.messages], v = R.filter((b) => !Yt(b)), y = e.scrollTop;
|
|
1393
1398
|
e.replaceChildren(), Zt(n, i.isThinking), a.hidden = !p, p && l !== null && Lo(a, l);
|
|
1394
1399
|
const h = v.length > 0 || !!i.assistantDraft || i.isThinking;
|
|
@@ -1397,14 +1402,14 @@ function Jo(e, t, n, o, a, i, l, p, c, d, s, f, C, k, x) {
|
|
|
1397
1402
|
b.className = "pluno-pa-widget__empty-state pluno-pa-widget__empty-state--starter";
|
|
1398
1403
|
const m = document.createElement("div");
|
|
1399
1404
|
m.className = "pluno-pa-widget__empty-hero";
|
|
1400
|
-
const
|
|
1401
|
-
|
|
1405
|
+
const k = document.createElement("img");
|
|
1406
|
+
k.className = "pluno-pa-widget__character pluno-pa-widget__character--empty", k.src = C(), k.alt = "", k.setAttribute("aria-hidden", "true"), m.appendChild(k), b.appendChild(m), b.appendChild(Gt());
|
|
1402
1407
|
const P = document.createElement("div");
|
|
1403
1408
|
if (P.className = i.starterPrompts.length > 0 ? "pluno-pa-widget__starter-prompts" : "pluno-pa-widget__starter-prompts pluno-pa-widget__starter-prompts--empty", i.starterPrompts.length === 0 && P.setAttribute("aria-hidden", "true"), i.starterPrompts.length > 0)
|
|
1404
1409
|
for (const I of i.starterPrompts) {
|
|
1405
1410
|
const A = document.createElement("button");
|
|
1406
1411
|
A.type = "button", A.className = "pluno-pa-widget__starter-prompt", A.textContent = `"${I}"`, A.addEventListener("click", () => {
|
|
1407
|
-
|
|
1412
|
+
S(I);
|
|
1408
1413
|
}), P.appendChild(A);
|
|
1409
1414
|
}
|
|
1410
1415
|
else
|
|
@@ -1430,13 +1435,13 @@ function Jo(e, t, n, o, a, i, l, p, c, d, s, f, C, k, x) {
|
|
|
1430
1435
|
}
|
|
1431
1436
|
if (m.role === "system")
|
|
1432
1437
|
continue;
|
|
1433
|
-
const
|
|
1434
|
-
if (m.role === "assistant" && !
|
|
1438
|
+
const k = Z(), P = kt(m.content);
|
|
1439
|
+
if (m.role === "assistant" && !k) {
|
|
1435
1440
|
const w = We(C());
|
|
1436
1441
|
e.appendChild(w), g = null, _ = w;
|
|
1437
1442
|
}
|
|
1438
1443
|
const I = document.createElement("div");
|
|
1439
|
-
I.className = `pluno-pa-widget__message pluno-pa-widget__message--${m.role}`, m.role === "assistant" ?
|
|
1444
|
+
I.className = `pluno-pa-widget__message pluno-pa-widget__message--${m.role}`, m.role === "assistant" ? St(I, P) : I.textContent = P, m.role === "user" && m.attachments?.length && I.appendChild(ea(m.attachments));
|
|
1440
1445
|
const A = document.createElement("div");
|
|
1441
1446
|
A.className = "pluno-pa-widget__message-actions", A.appendChild(Et(P)), I.appendChild(A), e.appendChild(I), g = I, _ = null;
|
|
1442
1447
|
}
|
|
@@ -1446,10 +1451,10 @@ function Jo(e, t, n, o, a, i, l, p, c, d, s, f, C, k, x) {
|
|
|
1446
1451
|
const P = We(C());
|
|
1447
1452
|
e.appendChild(P), g = null, _ = P;
|
|
1448
1453
|
}
|
|
1449
|
-
const b =
|
|
1450
|
-
m.className = "pluno-pa-widget__message pluno-pa-widget__message--assistant",
|
|
1451
|
-
const
|
|
1452
|
-
|
|
1454
|
+
const b = kt(i.assistantDraft), m = document.createElement("div");
|
|
1455
|
+
m.className = "pluno-pa-widget__message pluno-pa-widget__message--assistant", St(m, b);
|
|
1456
|
+
const k = document.createElement("div");
|
|
1457
|
+
k.className = "pluno-pa-widget__message-actions", k.appendChild(Et(b)), m.appendChild(k), e.appendChild(m), g = m, _ = null;
|
|
1453
1458
|
}
|
|
1454
1459
|
if (i.isThinking && !i.assistantDraft)
|
|
1455
1460
|
if (de) {
|
|
@@ -1571,8 +1576,8 @@ function na(e, t) {
|
|
|
1571
1576
|
o.appendChild(c), o.appendChild(p);
|
|
1572
1577
|
const C = document.createElement("div");
|
|
1573
1578
|
C.className = "pluno-pa-widget__share-dialog-step";
|
|
1574
|
-
const
|
|
1575
|
-
|
|
1579
|
+
const S = document.createElement("strong");
|
|
1580
|
+
S.className = "pluno-pa-widget__share-dialog-step-title", S.textContent = "2) Share on", C.appendChild(S);
|
|
1576
1581
|
const x = document.createElement("p");
|
|
1577
1582
|
x.className = "pluno-pa-widget__share-dialog-hint", x.textContent = "Post draft opens prefilled on supported platforms.", C.appendChild(x);
|
|
1578
1583
|
const R = document.createElement("footer");
|
|
@@ -1632,7 +1637,7 @@ function ra() {
|
|
|
1632
1637
|
function Yt(e) {
|
|
1633
1638
|
return e.role === "tool" && e.toolName === Dt;
|
|
1634
1639
|
}
|
|
1635
|
-
function
|
|
1640
|
+
function kt(e) {
|
|
1636
1641
|
return e.replace(/\uE200[^\uE201]*(?:\uE201|$)/g, "");
|
|
1637
1642
|
}
|
|
1638
1643
|
function la(e, t, n, o) {
|
|
@@ -1651,10 +1656,10 @@ function la(e, t, n, o) {
|
|
|
1651
1656
|
const f = document.createElement("div");
|
|
1652
1657
|
f.className = "pluno-pa-widget__tool-lines";
|
|
1653
1658
|
for (const C of e) {
|
|
1654
|
-
const
|
|
1655
|
-
|
|
1659
|
+
const S = document.createElement("div");
|
|
1660
|
+
S.className = "pluno-pa-widget__tool-line", C.loading && S.appendChild(je());
|
|
1656
1661
|
const x = document.createElement("span");
|
|
1657
|
-
x.textContent = C.content || "Run tool",
|
|
1662
|
+
x.textContent = C.content || "Run tool", S.appendChild(x), f.appendChild(S);
|
|
1658
1663
|
}
|
|
1659
1664
|
l.appendChild(f);
|
|
1660
1665
|
}
|
|
@@ -1688,7 +1693,7 @@ function je() {
|
|
|
1688
1693
|
function Zt(e, t) {
|
|
1689
1694
|
e.setAttribute("aria-label", t ? "Stop" : "Send"), e.classList.toggle("pluno-pa-widget__send--stop", t), e.replaceChildren(t ? Do() : jt());
|
|
1690
1695
|
}
|
|
1691
|
-
function
|
|
1696
|
+
function St(e, t) {
|
|
1692
1697
|
const n = t.replace(/\r\n/g, `
|
|
1693
1698
|
`).split(`
|
|
1694
1699
|
`);
|
|
@@ -2803,7 +2808,7 @@ function Lt(e, t) {
|
|
|
2803
2808
|
}
|
|
2804
2809
|
.pluno-pa-widget__billing-action-card {
|
|
2805
2810
|
display: grid;
|
|
2806
|
-
gap:
|
|
2811
|
+
gap: 7px;
|
|
2807
2812
|
padding: 10px;
|
|
2808
2813
|
border: 1px solid color-mix(in srgb, var(--pluno-pa-accent) 24%, var(--pluno-pa-divider));
|
|
2809
2814
|
border-radius: 8px;
|
|
@@ -2842,6 +2847,10 @@ function Lt(e, t) {
|
|
|
2842
2847
|
cursor: pointer;
|
|
2843
2848
|
white-space: nowrap;
|
|
2844
2849
|
}
|
|
2850
|
+
.pluno-pa-widget__billing-action-card-earn-credits-label {
|
|
2851
|
+
display: inline-block;
|
|
2852
|
+
transform: translateY(1px);
|
|
2853
|
+
}
|
|
2845
2854
|
.pluno-pa-widget__billing-action-card-actions button:first-child {
|
|
2846
2855
|
border-color: var(--pluno-pa-text);
|
|
2847
2856
|
background: var(--pluno-pa-text);
|
|
@@ -3117,7 +3126,7 @@ function Lt(e, t) {
|
|
|
3117
3126
|
}
|
|
3118
3127
|
.pluno-pa-widget__active-users-counter {
|
|
3119
3128
|
position: absolute;
|
|
3120
|
-
top:
|
|
3129
|
+
top: 22px;
|
|
3121
3130
|
left: 50%;
|
|
3122
3131
|
z-index: 2;
|
|
3123
3132
|
display: inline-flex;
|
package/package.json
CHANGED