@opencxh/ui-kit 3.88.0 → 3.93.1
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/src/meeting/ParticipantTile.d.ts +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13,8 +13,8 @@ function tr(t) {
|
|
|
13
13
|
}
|
|
14
14
|
function rr({ tiles: t, pinned: a, className: r }) {
|
|
15
15
|
if (a)
|
|
16
|
-
return /* @__PURE__ */ d("div", { className: p("flex flex-col md:flex-row gap-2 h-full", r), children: [
|
|
17
|
-
/* @__PURE__ */ e("div", { className: "flex-1 min-h-
|
|
16
|
+
return /* @__PURE__ */ d("div", { className: p("flex flex-col md:flex-row gap-2 h-full min-h-0", r), children: [
|
|
17
|
+
/* @__PURE__ */ e("div", { className: "flex-1 min-h-0", children: a }),
|
|
18
18
|
t.length > 0 && /* @__PURE__ */ e("div", { className: "flex md:flex-col gap-2 md:w-48 overflow-auto", children: t.map((s, o) => /* @__PURE__ */ e("div", { className: "min-w-[160px] md:min-w-0", children: s }, o)) })
|
|
19
19
|
] });
|
|
20
20
|
const n = t.length <= 1 ? "grid-cols-1" : t.length <= 4 ? "grid-cols-2" : t.length <= 9 ? "grid-cols-3" : "grid-cols-4";
|
|
@@ -27,13 +27,15 @@ function nr({
|
|
|
27
27
|
speaking: n,
|
|
28
28
|
hasVideo: s,
|
|
29
29
|
videoSlot: o,
|
|
30
|
-
className: u
|
|
30
|
+
className: u,
|
|
31
|
+
fill: b
|
|
31
32
|
}) {
|
|
32
33
|
return /* @__PURE__ */ d(
|
|
33
34
|
"div",
|
|
34
35
|
{
|
|
35
36
|
className: p(
|
|
36
|
-
"relative rounded-lg overflow-hidden bg-gray-800
|
|
37
|
+
"relative rounded-lg overflow-hidden bg-gray-800 flex items-center justify-center",
|
|
38
|
+
b ? "h-full w-full" : "aspect-video",
|
|
37
39
|
n && "ring-2 ring-emerald-400",
|
|
38
40
|
u
|
|
39
41
|
),
|