@ethora/chat-component 26.9.2 → 26.9.3
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/{ChatProfileModal-DJu41Pd7.js → ChatProfileModal-wdMf1tVj.js} +3 -3
- package/dist/{FilePreviewModal-C9LtTRwf.js → FilePreviewModal-BifoD54Z.js} +1 -1
- package/dist/{ManageDataModal-W7YjmIsd.js → ManageDataModal-BGdihBMC.js} +2 -2
- package/dist/{MarkdownBody-k4RvO7v6.js → MarkdownBody-Db6gZcuF.js} +1 -1
- package/dist/{SideDrawer-DTXPBfJl.js → SideDrawer-CnVgnZIX.js} +1 -1
- package/dist/{UserProfileModal-CyUJ-rFm.js → UserProfileModal-DVytNCrY.js} +3 -3
- package/dist/{UserSettingsModal-DJYdx8X3.js → UserSettingsModal-UM53d5E1.js} +2 -2
- package/dist/{VideoCallOverlay-C7flkkQ5.js → VideoCallOverlay-ClWTSpa_.js} +1 -1
- package/dist/{VisibilityModal-Dq_1oMwl.js → VisibilityModal-udrXrQIY.js} +2 -2
- package/dist/{handleCopyClick-Cv8OCQA-.js → handleCopyClick-CmDA5eIr.js} +1 -1
- package/dist/{main-DaxJ3rMp.js → main-RnS3xaV2.js} +28 -10
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as E, jsxs as j, Fragment as gt } from "react/jsx-runtime";
|
|
2
2
|
import ke, { useRef as yt, useState as ee, useMemo as se } from "react";
|
|
3
|
-
import { S as bt, f as qt, b as Tt, D as he, a as pe, e as Ft, g as zt, h as Fe, i as Qt, j as Ht, k as Yt, l as ze } from "./SideDrawer-
|
|
4
|
-
import { h as Wt, P as Gt, a as Kt, c as Xt, D as Jt, d as Vt, e as Qe, f as He } from "./handleCopyClick-
|
|
5
|
-
import { o as Zt, b as Et, p as de, a4 as er, B as te, x as W, a as Ne, u as fe, a5 as $e, F as Ct, y as wt, a6 as Rt, a7 as Pt, a8 as xt, a9 as tr, aa as Be, ab as rr, ac as nr, a2 as or, J as _t, Z as ar, ad as ir, ae as Ie, af as sr, ag as ye, ah as St, P as Mt, W as At, w as lr, ai as ur, aj as cr, ak as fr, al as dr, am as hr, q as Ye, an as pr, ao as vr, ap as mr, aq as gr, ar as yr, as as We, at as br, au as Tr, X as Er, av as Cr, aw as wr, M as Rr, K as Pr, ax as Ge } from "./main-
|
|
3
|
+
import { S as bt, f as qt, b as Tt, D as he, a as pe, e as Ft, g as zt, h as Fe, i as Qt, j as Ht, k as Yt, l as ze } from "./SideDrawer-CnVgnZIX.js";
|
|
4
|
+
import { h as Wt, P as Gt, a as Kt, c as Xt, D as Jt, d as Vt, e as Qe, f as He } from "./handleCopyClick-CmDA5eIr.js";
|
|
5
|
+
import { o as Zt, b as Et, p as de, a4 as er, B as te, x as W, a as Ne, u as fe, a5 as $e, F as Ct, y as wt, a6 as Rt, a7 as Pt, a8 as xt, a9 as tr, aa as Be, ab as rr, ac as nr, a2 as or, J as _t, Z as ar, ad as ir, ae as Ie, af as sr, ag as ye, ah as St, P as Mt, W as At, w as lr, ai as ur, aj as cr, ak as fr, al as dr, am as hr, q as Ye, an as pr, ao as vr, ap as mr, aq as gr, ar as yr, as as We, at as br, au as Tr, X as Er, av as Cr, aw as wr, M as Rr, K as Pr, ax as Ge } from "./main-RnS3xaV2.js";
|
|
6
6
|
var le = {}, ve = { exports: {} }, me = { exports: {} }, k = {};
|
|
7
7
|
var Ke;
|
|
8
8
|
function xr() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l, jsxs as B } from "react/jsx-runtime";
|
|
2
2
|
import te, { useState as H, useRef as z, useEffect as O, useMemo as $, useCallback as k } from "react";
|
|
3
|
-
import { p as le, b as pe, aN as we, ae as ve, x as X, B as V, aO as xe, aP as be, ay as ye, aQ as Ee, aR as Le, aS as ue, aT as ne, a as Ce, aJ as Re, u as q, a5 as Me, aU as re, as as Pe, ao as J, aV as ke, aW as Se, aX as Te, aY as Ae, aZ as Ie, a_ as Xe, a$ as Ye, b0 as ze, b1 as Oe, az as De, b2 as Fe, b3 as Ne, ax as Be, b4 as He, w as Ue } from "./main-
|
|
3
|
+
import { p as le, b as pe, aN as we, ae as ve, x as X, B as V, aO as xe, aP as be, ay as ye, aQ as Ee, aR as Le, aS as ue, aT as ne, a as Ce, aJ as Re, u as q, a5 as Me, aU as re, as as Pe, ao as J, aV as ke, aW as Se, aX as Te, aY as Ae, aZ as Ie, a_ as Xe, a$ as Ye, b0 as ze, b1 as Oe, az as De, b2 as Fe, b3 as Ne, ax as Be, b4 as He, w as Ue } from "./main-RnS3xaV2.js";
|
|
4
4
|
function oe(t, i) {
|
|
5
5
|
let o;
|
|
6
6
|
return (...E) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as T, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useCallback as M } from "react";
|
|
3
|
-
import { ay as B, x as t, az as I, aA as w, B as j, u as z, p as E, J as F, aB as R, L as U, w as x, aC as A, aD as $, aE as O, aF as H } from "./main-
|
|
4
|
-
import { S as J, D as f, a as u, b as D, e as v, f as b } from "./SideDrawer-
|
|
3
|
+
import { ay as B, x as t, az as I, aA as w, B as j, u as z, p as E, J as F, aB as R, L as U, w as x, aC as A, aD as $, aE as O, aF as H } from "./main-RnS3xaV2.js";
|
|
4
|
+
import { S as J, D as f, a as u, b as D, e as v, f as b } from "./SideDrawer-CnVgnZIX.js";
|
|
5
5
|
t(I)`
|
|
6
6
|
display: flex;
|
|
7
7
|
box-sizing: border-box;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as fs, jsx as ie, Fragment as hs } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { o as ei } from "./main-
|
|
3
|
+
import { o as ei } from "./main-RnS3xaV2.js";
|
|
4
4
|
function zr(e) {
|
|
5
5
|
const t = [], n = String(e || "");
|
|
6
6
|
let r = n.indexOf(","), u = 0, i = !1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useId as f, useRef as v } from "react";
|
|
3
|
-
import { p as u, y as g, aI as m, aJ as w, B as b, aK as y, x as e, aL as D, aM as k } from "./main-
|
|
3
|
+
import { p as u, y as g, aI as m, aJ as w, B as b, aK as y, x as e, aL as D, aM as k } from "./main-RnS3xaV2.js";
|
|
4
4
|
const c = 767, R = `${c}px`, z = e.div`
|
|
5
5
|
position: relative;
|
|
6
6
|
pointer-events: auto;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as $, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ge, useState as I, useCallback as y, useImperativeHandle as ve, useRef as ae, useMemo as M } from "react";
|
|
3
|
-
import { a as be, p as J, t as ye, v as xe, w as we, P as re, I as H, x as D, y as Ce, z as Se, C as Ie, D as te, E as De, F as Ne, G as ke, J as Ue, u as Q, K as Fe, L as Pe, N as Ae, O as Re, Q as Y, q as Z, R as ze, S as je, T as Be, s as $e, B as X, U as Ee, W as Oe, X as Te, Y as ee, Z as R, _ as Le, $ as Me, V as He, A as Xe, a0 as We, a1 as Je, a2 as Ke, a3 as Ve } from "./main-
|
|
4
|
-
import { D as E, a as W, b as Ge, e as qe, f as _e, S as Qe } from "./SideDrawer-
|
|
5
|
-
import { P as ne, a as Ye, D as Ze, b as eo, h as oo } from "./handleCopyClick-
|
|
3
|
+
import { a as be, p as J, t as ye, v as xe, w as we, P as re, I as H, x as D, y as Ce, z as Se, C as Ie, D as te, E as De, F as Ne, G as ke, J as Ue, u as Q, K as Fe, L as Pe, N as Ae, O as Re, Q as Y, q as Z, R as ze, S as je, T as Be, s as $e, B as X, U as Ee, W as Oe, X as Te, Y as ee, Z as R, _ as Le, $ as Me, V as He, A as Xe, a0 as We, a1 as Je, a2 as Ke, a3 as Ve } from "./main-RnS3xaV2.js";
|
|
4
|
+
import { D as E, a as W, b as Ge, e as qe, f as _e, S as Qe } from "./SideDrawer-CnVgnZIX.js";
|
|
5
|
+
import { P as ne, a as Ye, D as Ze, b as eo, h as oo } from "./handleCopyClick-CmDA5eIr.js";
|
|
6
6
|
const ao = (c, i) => {
|
|
7
7
|
const l = atob(c.split(",")[1]), g = new ArrayBuffer(l.length), e = new Uint8Array(g);
|
|
8
8
|
for (let r = 0; r < l.length; r++)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import m, { useCallback as D, useMemo as h } from "react";
|
|
3
|
-
import { p, a as g, q as w, M as l } from "./main-
|
|
4
|
-
import { S as b, D as u, a as k, b as y, c as S, d as f } from "./SideDrawer-
|
|
3
|
+
import { p, a as g, q as w, M as l } from "./main-RnS3xaV2.js";
|
|
4
|
+
import { S as b, D as u, a as k, b as y, c as S, d as f } from "./SideDrawer-CnVgnZIX.js";
|
|
5
5
|
const T = ({
|
|
6
6
|
handleCloseModal: n
|
|
7
7
|
}) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as K, jsx as x, Fragment as Hr } from "react/jsx-runtime";
|
|
2
2
|
import * as F from "react";
|
|
3
3
|
import { useState as Yt, useRef as ke, useEffect as be, useMemo as Wt, useCallback as mi } from "react";
|
|
4
|
-
import { u as Xi, P as Kn, H as xi, a as Hd, b as zd, c as Kd, d as Gd, s as po, e as Jd, f as Yd, g as fo, h as $d, i as Xd, j as mo, k as Qd, l as Zd, r as go, m as eu, n as tu, A as vo, V as bo, B as nu } from "./main-
|
|
4
|
+
import { u as Xi, P as Kn, H as xi, a as Hd, b as zd, c as Kd, d as Gd, s as po, e as Jd, f as Yd, g as fo, h as $d, i as Xd, j as mo, k as Qd, l as Zd, r as go, m as eu, n as tu, A as vo, V as bo, B as nu } from "./main-RnS3xaV2.js";
|
|
5
5
|
function iu(n, e) {
|
|
6
6
|
return e.forEach(function(t) {
|
|
7
7
|
t && typeof t != "string" && !Array.isArray(t) && Object.keys(t).forEach(function(i) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as b, useEffect as x } from "react";
|
|
3
|
-
import { x as o, a as L, p as P, u as z, aG as D, aH as I } from "./main-
|
|
4
|
-
import { S as N, D as C, a as $, b as k, e as w, f as p } from "./SideDrawer-
|
|
3
|
+
import { x as o, a as L, p as P, u as z, aG as D, aH as I } from "./main-RnS3xaV2.js";
|
|
4
|
+
import { S as N, D as C, a as $, b as k, e as w, f as p } from "./SideDrawer-CnVgnZIX.js";
|
|
5
5
|
o.div``;
|
|
6
6
|
o.div`
|
|
7
7
|
font-size: 16px;
|
|
@@ -22109,7 +22109,7 @@ class V4 extends Te.Component {
|
|
|
22109
22109
|
}
|
|
22110
22110
|
}
|
|
22111
22111
|
const PP = Te.lazy(
|
|
22112
|
-
() => import("./VideoCallOverlay-
|
|
22112
|
+
() => import("./VideoCallOverlay-ClWTSpa_.js").then((e) => ({
|
|
22113
22113
|
default: e.VideoCallOverlay
|
|
22114
22114
|
}))
|
|
22115
22115
|
), q4 = Zn(null), AP = ({ pushNotifications: e }) => (s4({
|
|
@@ -25592,7 +25592,7 @@ const h3 = [], P_ = () => new Promise((e) => {
|
|
|
25592
25592
|
)}">${g3(s)}</mention>${a}`;
|
|
25593
25593
|
}
|
|
25594
25594
|
return n;
|
|
25595
|
-
}, j_ = Te.lazy(() => import("./MarkdownBody-
|
|
25595
|
+
}, j_ = Te.lazy(() => import("./MarkdownBody-Db6gZcuF.js")), U_ = {
|
|
25596
25596
|
fontFamily: 'var(--ethora-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif)',
|
|
25597
25597
|
fontSize: "var(--ethora-font-size, 16px)",
|
|
25598
25598
|
// Same token MarkdownBody resolves to, so the pre-load text does not
|
|
@@ -30201,8 +30201,16 @@ const N3 = ({
|
|
|
30201
30201
|
display: flex;
|
|
30202
30202
|
align-items: center;
|
|
30203
30203
|
justify-content: space-between;
|
|
30204
|
-
|
|
30205
|
-
|
|
30204
|
+
/* Fixed, not a 56-64px range. The second line ("N users · M online") is
|
|
30205
|
+
empty until the room's member count is known, and with a range the bar
|
|
30206
|
+
sat at 56px while history loaded and grew to 64px the moment the count
|
|
30207
|
+
arrived - the whole conversation below shifted by 8px, and the title,
|
|
30208
|
+
centred vertically, jumped with it.
|
|
30209
|
+
flex-shrink matters as much as the height: the header is a flex item in
|
|
30210
|
+
the chat pane's column, and a long message list squeezed it below any
|
|
30211
|
+
declared height (measured at 58.9px with height: 64px alone). */
|
|
30212
|
+
height: 64px;
|
|
30213
|
+
flex-shrink: 0;
|
|
30206
30214
|
padding: 8px 16px;
|
|
30207
30215
|
box-sizing: border-box;
|
|
30208
30216
|
background-color: var(--ethora-color-bg, #fff);
|
|
@@ -30242,6 +30250,16 @@ const N3 = ({
|
|
|
30242
30250
|
`, jD = M.div`
|
|
30243
30251
|
color: var(--ethora-color-text-secondary, #5a5f66);
|
|
30244
30252
|
font-size: 14px;
|
|
30253
|
+
line-height: 20px;
|
|
30254
|
+
/* Holds its line even while it has nothing to say (member count not
|
|
30255
|
+
loaded yet, or nobody typing), so the title above it never moves. An
|
|
30256
|
+
empty div collapses to 0px, which is what made the title re-centre.
|
|
30257
|
+
A fixed height rather than a minimum: the online-users popover trigger
|
|
30258
|
+
sits a fraction taller than the line (measured 20.6px), which still
|
|
30259
|
+
nudged the title by 0.4px whenever the count appeared.
|
|
30260
|
+
Deliberately NOT overflow: hidden - the online-users popover hangs off
|
|
30261
|
+
this line (position: absolute, top: 100%) and would be clipped away. */
|
|
30262
|
+
height: 20px;
|
|
30245
30263
|
`, UD = M.span`
|
|
30246
30264
|
color: var(--ethora-color-online, #12b76a);
|
|
30247
30265
|
`, zD = M.div`
|
|
@@ -34389,22 +34407,22 @@ const dL = M.span`
|
|
|
34389
34407
|
}
|
|
34390
34408
|
`, vL = {
|
|
34391
34409
|
[Be.SETTINGS]: an(
|
|
34392
|
-
() => import("./UserSettingsModal-
|
|
34410
|
+
() => import("./UserSettingsModal-UM53d5E1.js")
|
|
34393
34411
|
),
|
|
34394
34412
|
[Be.PROFILE]: an(
|
|
34395
|
-
() => import("./UserProfileModal-
|
|
34413
|
+
() => import("./UserProfileModal-DVytNCrY.js")
|
|
34396
34414
|
),
|
|
34397
34415
|
[Be.CHAT_PROFILE]: an(
|
|
34398
|
-
() => import("./ChatProfileModal-
|
|
34416
|
+
() => import("./ChatProfileModal-wdMf1tVj.js")
|
|
34399
34417
|
),
|
|
34400
34418
|
[Be.MANAGE_DATA]: an(
|
|
34401
|
-
() => import("./ManageDataModal-
|
|
34419
|
+
() => import("./ManageDataModal-BGdihBMC.js")
|
|
34402
34420
|
),
|
|
34403
34421
|
[Be.VISIBILITY]: an(
|
|
34404
|
-
() => import("./VisibilityModal-
|
|
34422
|
+
() => import("./VisibilityModal-udrXrQIY.js")
|
|
34405
34423
|
),
|
|
34406
34424
|
[Be.FILE_PREVIEW]: an(
|
|
34407
|
-
() => import("./FilePreviewModal-
|
|
34425
|
+
() => import("./FilePreviewModal-BifoD54Z.js")
|
|
34408
34426
|
)
|
|
34409
34427
|
}, Q3 = ({ modal: e, setOpenModal: t }) => {
|
|
34410
34428
|
const r = Ae(), n = () => t(), o = () => r(rt(Be.SETTINGS)), i = M3.includes(e), s = G(null), a = G(0);
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b5 as a, b6 as r, b7 as b, b8 as o, b9 as t, ba as i, bb as p, bc as u, bd as h, be as n, bf as l, bg as d, bh as f, L as m, bi as T, bj as g, bk as y, bl as I, bm as R, bn as c, bo as k, bp as C, bq as A, ak as E, al as Q, br as F, bs as M } from "./main-
|
|
1
|
+
import { b5 as a, b6 as r, b7 as b, b8 as o, b9 as t, ba as i, bb as p, bc as u, bd as h, be as n, bf as l, bg as d, bh as f, L as m, bi as T, bj as g, bk as y, bl as I, bm as R, bn as c, bo as k, bp as C, bq as A, ak as E, al as Q, br as F, bs as M } from "./main-RnS3xaV2.js";
|
|
2
2
|
export {
|
|
3
3
|
a as AuthTestIds,
|
|
4
4
|
r as Chat,
|