@livo-tv/blocks 1.21.0 → 1.22.0
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 +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3116,7 +3116,7 @@ function WaitingRoom({
|
|
|
3116
3116
|
alt: "",
|
|
3117
3117
|
className: "size-10 rounded-lg object-cover"
|
|
3118
3118
|
}
|
|
3119
|
-
) : /* @__PURE__ */ jsx("div", { className: "flex size-10 items-center justify-center rounded-lg bg-
|
|
3119
|
+
) : /* @__PURE__ */ jsx("div", { className: "flex size-10 items-center justify-center rounded-lg bg-primary/15 text-sm font-semibold", children: (organizationName ?? title).slice(0, 1).toUpperCase() }),
|
|
3120
3120
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
3121
3121
|
/* @__PURE__ */ jsx("p", { className: "text-lg font-semibold tracking-tight", children: title }),
|
|
3122
3122
|
organizationName ? /* @__PURE__ */ jsx("p", { className: "text-sm text-white/80", children: organizationName }) : null
|
|
@@ -4986,7 +4986,7 @@ function VideoPlayer({
|
|
|
4986
4986
|
{
|
|
4987
4987
|
type: "button",
|
|
4988
4988
|
onClick: retry,
|
|
4989
|
-
className: "inline-flex items-center gap-2 rounded-md bg-
|
|
4989
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary/15 px-3 py-1.5 text-sm hover:bg-primary/25",
|
|
4990
4990
|
children: [
|
|
4991
4991
|
/* @__PURE__ */ jsx(RotateCw, { className: "size-4" }),
|
|
4992
4992
|
t.retry
|
|
@@ -5098,7 +5098,7 @@ function VideoPlayer({
|
|
|
5098
5098
|
{
|
|
5099
5099
|
type: "button",
|
|
5100
5100
|
onClick: goToLiveEdge,
|
|
5101
|
-
className: "ml-1 flex shrink-0 items-center gap-1 rounded bg-
|
|
5101
|
+
className: "ml-1 flex shrink-0 items-center gap-1 rounded bg-primary/15 px-2 py-0.5 text-xs hover:bg-primary/25",
|
|
5102
5102
|
children: [
|
|
5103
5103
|
/* @__PURE__ */ jsx("span", { className: "size-1.5 rounded-full bg-red-500" }),
|
|
5104
5104
|
t.goLive
|
|
@@ -5283,7 +5283,7 @@ function VideoPlayer({
|
|
|
5283
5283
|
onSelect: () => setMorePane("quality")
|
|
5284
5284
|
}
|
|
5285
5285
|
),
|
|
5286
|
-
(mode === "vod" || showQuality) && /* @__PURE__ */ jsx("div", { className: "my-1 h-px bg-
|
|
5286
|
+
(mode === "vod" || showQuality) && /* @__PURE__ */ jsx("div", { className: "my-1 h-px bg-primary/15" }),
|
|
5287
5287
|
/* @__PURE__ */ jsx(
|
|
5288
5288
|
MenuAction,
|
|
5289
5289
|
{
|
|
@@ -5339,7 +5339,7 @@ function ControlButton({
|
|
|
5339
5339
|
"aria-label": label,
|
|
5340
5340
|
title: label,
|
|
5341
5341
|
onClick,
|
|
5342
|
-
className: "flex size-8 items-center justify-center rounded-md text-white/90 outline-none hover:bg-
|
|
5342
|
+
className: "flex size-8 items-center justify-center rounded-md text-white/90 outline-none hover:bg-primary/15 hover:text-white focus-visible:ring-2 focus-visible:ring-white/60",
|
|
5343
5343
|
children
|
|
5344
5344
|
}
|
|
5345
5345
|
);
|
|
@@ -5362,7 +5362,7 @@ function MenuControl({
|
|
|
5362
5362
|
"aria-expanded": open,
|
|
5363
5363
|
title: label,
|
|
5364
5364
|
onClick: () => onOpenChange(!open),
|
|
5365
|
-
className: "flex h-8 items-center gap-1 rounded-md px-1.5 text-white/90 outline-none hover:bg-
|
|
5365
|
+
className: "flex h-8 items-center gap-1 rounded-md px-1.5 text-white/90 outline-none hover:bg-primary/15 hover:text-white focus-visible:ring-2 focus-visible:ring-white/60",
|
|
5366
5366
|
children: [
|
|
5367
5367
|
trigger,
|
|
5368
5368
|
triggerBadge && /* @__PURE__ */ jsx("span", { className: "text-[10px] font-medium", children: triggerBadge })
|
|
@@ -5391,7 +5391,7 @@ function MenuItem({
|
|
|
5391
5391
|
role: "menuitemradio",
|
|
5392
5392
|
"aria-checked": selected,
|
|
5393
5393
|
onClick: onSelect,
|
|
5394
|
-
className: "flex w-full items-center justify-between gap-3 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5394
|
+
className: "flex w-full items-center justify-between gap-3 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5395
5395
|
children: [
|
|
5396
5396
|
children,
|
|
5397
5397
|
selected && /* @__PURE__ */ jsx(Check, { className: "size-4" })
|
|
@@ -5412,7 +5412,7 @@ function MenuNavRow({
|
|
|
5412
5412
|
role: "menuitem",
|
|
5413
5413
|
"aria-label": `${label}, ${value}`,
|
|
5414
5414
|
onClick: onSelect,
|
|
5415
|
-
className: "flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5415
|
+
className: "flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5416
5416
|
children: [
|
|
5417
5417
|
/* @__PURE__ */ jsx("span", { className: "text-white/70", children: icon }),
|
|
5418
5418
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: label }),
|
|
@@ -5434,7 +5434,7 @@ function MenuBack({
|
|
|
5434
5434
|
role: "menuitem",
|
|
5435
5435
|
"aria-label": label,
|
|
5436
5436
|
onClick: onSelect,
|
|
5437
|
-
className: "flex w-full items-center gap-2 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5437
|
+
className: "flex w-full items-center gap-2 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5438
5438
|
children: [
|
|
5439
5439
|
/* @__PURE__ */ jsx(ChevronLeft, { className: "size-4" }),
|
|
5440
5440
|
/* @__PURE__ */ jsx("span", { className: "font-medium", children: title })
|
|
@@ -5455,7 +5455,7 @@ function MenuAction({
|
|
|
5455
5455
|
role: "menuitem",
|
|
5456
5456
|
onClick: onSelect,
|
|
5457
5457
|
className: cn(
|
|
5458
|
-
"flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5458
|
+
"flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5459
5459
|
active && "text-primary"
|
|
5460
5460
|
),
|
|
5461
5461
|
children: [
|