@opencxh/ui-kit 3.87.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 +7 -6
- 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
|
),
|
|
@@ -2837,7 +2839,6 @@ function Mt({
|
|
|
2837
2839
|
{
|
|
2838
2840
|
size: s,
|
|
2839
2841
|
fullWidth: !0,
|
|
2840
|
-
disabled: n,
|
|
2841
2842
|
value: f.folderId ?? "",
|
|
2842
2843
|
options: x.map((l) => ({ value: l.id, label: l.name })),
|
|
2843
2844
|
placeholder: o ?? "Select a folder",
|
|
@@ -2848,7 +2849,7 @@ function Mt({
|
|
|
2848
2849
|
ue,
|
|
2849
2850
|
{
|
|
2850
2851
|
size: s,
|
|
2851
|
-
disabled: n,
|
|
2852
|
+
disabled: n ?? !1,
|
|
2852
2853
|
value: f.pathTemplate ?? "",
|
|
2853
2854
|
placeholder: u ?? "Sub-path e.g. {yyyy}/{mm}/{dd} (optional)",
|
|
2854
2855
|
onChange: (l) => a?.({ ...f, pathTemplate: l.target.value })
|