@mottosports/motto-video-player 1.0.1-rc.68 → 1.0.1-rc.69
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.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -568,6 +568,10 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
568
568
|
.text-\\[10px\\] {
|
|
569
569
|
font-size: 10px;
|
|
570
570
|
}
|
|
571
|
+
.leading-none {
|
|
572
|
+
--tw-leading: 1;
|
|
573
|
+
line-height: 1;
|
|
574
|
+
}
|
|
571
575
|
.font-bold {
|
|
572
576
|
--tw-font-weight: var(--font-weight-bold);
|
|
573
577
|
font-weight: var(--font-weight-bold);
|
|
@@ -1075,6 +1079,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
1075
1079
|
@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
|
|
1076
1080
|
@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
|
|
1077
1081
|
@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
|
|
1082
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
1078
1083
|
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1079
1084
|
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
1080
1085
|
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
@@ -1137,6 +1142,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
1137
1142
|
--tw-gradient-from-position: 0%;
|
|
1138
1143
|
--tw-gradient-via-position: 50%;
|
|
1139
1144
|
--tw-gradient-to-position: 100%;
|
|
1145
|
+
--tw-leading: initial;
|
|
1140
1146
|
--tw-font-weight: initial;
|
|
1141
1147
|
--tw-tracking: initial;
|
|
1142
1148
|
--tw-shadow: 0 0 #0000;
|
|
@@ -1236,7 +1242,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1236
1242
|
var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
|
|
1237
1243
|
|
|
1238
1244
|
// package.json
|
|
1239
|
-
var version = "1.0.1-rc.
|
|
1245
|
+
var version = "1.0.1-rc.69";
|
|
1240
1246
|
|
|
1241
1247
|
// src/utils/licenseCache.ts
|
|
1242
1248
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -3200,6 +3206,10 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
3200
3206
|
.text-\\[10px\\] {
|
|
3201
3207
|
font-size: 10px;
|
|
3202
3208
|
}
|
|
3209
|
+
.leading-none {
|
|
3210
|
+
--tw-leading: 1;
|
|
3211
|
+
line-height: 1;
|
|
3212
|
+
}
|
|
3203
3213
|
.font-bold {
|
|
3204
3214
|
--tw-font-weight: var(--font-weight-bold);
|
|
3205
3215
|
font-weight: var(--font-weight-bold);
|
|
@@ -3707,6 +3717,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
3707
3717
|
@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
|
|
3708
3718
|
@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
|
|
3709
3719
|
@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
|
|
3720
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
3710
3721
|
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
3711
3722
|
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
3712
3723
|
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
@@ -3769,6 +3780,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
3769
3780
|
--tw-gradient-from-position: 0%;
|
|
3770
3781
|
--tw-gradient-via-position: 50%;
|
|
3771
3782
|
--tw-gradient-to-position: 100%;
|
|
3783
|
+
--tw-leading: initial;
|
|
3772
3784
|
--tw-font-weight: initial;
|
|
3773
3785
|
--tw-tracking: initial;
|
|
3774
3786
|
--tw-shadow: 0 0 #0000;
|
|
@@ -4936,7 +4948,7 @@ var Event = ({
|
|
|
4936
4948
|
events.onEmptyPlaylists();
|
|
4937
4949
|
}
|
|
4938
4950
|
if (loadingPlaylist) {
|
|
4939
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: (0, import_tailwind_merge4.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "relative w-full
|
|
4951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: (0, import_tailwind_merge4.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "relative w-full aspect-video bg-[#151515]", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Loading, {}) }) });
|
|
4940
4952
|
}
|
|
4941
4953
|
if (activePlaylist && activeVideoId && videosData) {
|
|
4942
4954
|
const activeVideo = videosData.find((video) => video.id === activeVideoId);
|
|
@@ -5013,7 +5025,7 @@ function PreEvent({
|
|
|
5013
5025
|
const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
|
|
5014
5026
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "grid grid-flow-col gap-1 md:gap-5 text-center auto-cols-max", children: [
|
|
5015
5027
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
|
|
5016
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "font-mono text-lg md:text-5xl", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
5028
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "font-mono text-lg md:text-5xl leading-none", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
5017
5029
|
"span",
|
|
5018
5030
|
{
|
|
5019
5031
|
"aria-live": "polite",
|
|
@@ -5280,7 +5292,7 @@ var CreativeWork = ({
|
|
|
5280
5292
|
events
|
|
5281
5293
|
]);
|
|
5282
5294
|
if (isCreativeWorkLoading || videosIsLoading || loadingApisState) {
|
|
5283
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "relative w-full
|
|
5295
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "relative w-full aspect-video bg-[#151515]", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Loading, {}) }) });
|
|
5284
5296
|
}
|
|
5285
5297
|
if (showCountDown && creativeWorkData) {
|
|
5286
5298
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "relative w-full h-full bg-base-200 text-base-content flex justify-center items-center flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
@@ -5325,7 +5337,7 @@ var CreativeWork = ({
|
|
|
5325
5337
|
] }) });
|
|
5326
5338
|
}
|
|
5327
5339
|
if (loadingPlaylist) {
|
|
5328
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Loading, {});
|
|
5340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "relative w-full aspect-video bg-[#151515]", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Loading, {}) }) });
|
|
5329
5341
|
}
|
|
5330
5342
|
return null;
|
|
5331
5343
|
};
|