@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.cjs
CHANGED
|
@@ -3142,7 +3142,7 @@ function WaitingRoom({
|
|
|
3142
3142
|
alt: "",
|
|
3143
3143
|
className: "size-10 rounded-lg object-cover"
|
|
3144
3144
|
}
|
|
3145
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-10 items-center justify-center rounded-lg bg-
|
|
3145
|
+
) : /* @__PURE__ */ jsxRuntime.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() }),
|
|
3146
3146
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3147
3147
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg font-semibold tracking-tight", children: title }),
|
|
3148
3148
|
organizationName ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-white/80", children: organizationName }) : null
|
|
@@ -5012,7 +5012,7 @@ function VideoPlayer({
|
|
|
5012
5012
|
{
|
|
5013
5013
|
type: "button",
|
|
5014
5014
|
onClick: retry,
|
|
5015
|
-
className: "inline-flex items-center gap-2 rounded-md bg-
|
|
5015
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary/15 px-3 py-1.5 text-sm hover:bg-primary/25",
|
|
5016
5016
|
children: [
|
|
5017
5017
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.RotateCw, { className: "size-4" }),
|
|
5018
5018
|
t.retry
|
|
@@ -5124,7 +5124,7 @@ function VideoPlayer({
|
|
|
5124
5124
|
{
|
|
5125
5125
|
type: "button",
|
|
5126
5126
|
onClick: goToLiveEdge,
|
|
5127
|
-
className: "ml-1 flex shrink-0 items-center gap-1 rounded bg-
|
|
5127
|
+
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",
|
|
5128
5128
|
children: [
|
|
5129
5129
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "size-1.5 rounded-full bg-red-500" }),
|
|
5130
5130
|
t.goLive
|
|
@@ -5309,7 +5309,7 @@ function VideoPlayer({
|
|
|
5309
5309
|
onSelect: () => setMorePane("quality")
|
|
5310
5310
|
}
|
|
5311
5311
|
),
|
|
5312
|
-
(mode === "vod" || showQuality) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 h-px bg-
|
|
5312
|
+
(mode === "vod" || showQuality) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 h-px bg-primary/15" }),
|
|
5313
5313
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5314
5314
|
MenuAction,
|
|
5315
5315
|
{
|
|
@@ -5365,7 +5365,7 @@ function ControlButton({
|
|
|
5365
5365
|
"aria-label": label,
|
|
5366
5366
|
title: label,
|
|
5367
5367
|
onClick,
|
|
5368
|
-
className: "flex size-8 items-center justify-center rounded-md text-white/90 outline-none hover:bg-
|
|
5368
|
+
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",
|
|
5369
5369
|
children
|
|
5370
5370
|
}
|
|
5371
5371
|
);
|
|
@@ -5388,7 +5388,7 @@ function MenuControl({
|
|
|
5388
5388
|
"aria-expanded": open,
|
|
5389
5389
|
title: label,
|
|
5390
5390
|
onClick: () => onOpenChange(!open),
|
|
5391
|
-
className: "flex h-8 items-center gap-1 rounded-md px-1.5 text-white/90 outline-none hover:bg-
|
|
5391
|
+
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",
|
|
5392
5392
|
children: [
|
|
5393
5393
|
trigger,
|
|
5394
5394
|
triggerBadge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-medium", children: triggerBadge })
|
|
@@ -5417,7 +5417,7 @@ function MenuItem({
|
|
|
5417
5417
|
role: "menuitemradio",
|
|
5418
5418
|
"aria-checked": selected,
|
|
5419
5419
|
onClick: onSelect,
|
|
5420
|
-
className: "flex w-full items-center justify-between gap-3 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5420
|
+
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",
|
|
5421
5421
|
children: [
|
|
5422
5422
|
children,
|
|
5423
5423
|
selected && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "size-4" })
|
|
@@ -5438,7 +5438,7 @@ function MenuNavRow({
|
|
|
5438
5438
|
role: "menuitem",
|
|
5439
5439
|
"aria-label": `${label}, ${value}`,
|
|
5440
5440
|
onClick: onSelect,
|
|
5441
|
-
className: "flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5441
|
+
className: "flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5442
5442
|
children: [
|
|
5443
5443
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-white/70", children: icon }),
|
|
5444
5444
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: label }),
|
|
@@ -5460,7 +5460,7 @@ function MenuBack({
|
|
|
5460
5460
|
role: "menuitem",
|
|
5461
5461
|
"aria-label": label,
|
|
5462
5462
|
onClick: onSelect,
|
|
5463
|
-
className: "flex w-full items-center gap-2 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5463
|
+
className: "flex w-full items-center gap-2 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5464
5464
|
children: [
|
|
5465
5465
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "size-4" }),
|
|
5466
5466
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: title })
|
|
@@ -5481,7 +5481,7 @@ function MenuAction({
|
|
|
5481
5481
|
role: "menuitem",
|
|
5482
5482
|
onClick: onSelect,
|
|
5483
5483
|
className: cn(
|
|
5484
|
-
"flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-
|
|
5484
|
+
"flex w-full items-center gap-2.5 rounded px-2 py-2.5 text-left text-white/90 hover:bg-primary/15",
|
|
5485
5485
|
active && "text-primary"
|
|
5486
5486
|
),
|
|
5487
5487
|
children: [
|