@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.mjs
CHANGED
|
@@ -527,6 +527,10 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
527
527
|
.text-\\[10px\\] {
|
|
528
528
|
font-size: 10px;
|
|
529
529
|
}
|
|
530
|
+
.leading-none {
|
|
531
|
+
--tw-leading: 1;
|
|
532
|
+
line-height: 1;
|
|
533
|
+
}
|
|
530
534
|
.font-bold {
|
|
531
535
|
--tw-font-weight: var(--font-weight-bold);
|
|
532
536
|
font-weight: var(--font-weight-bold);
|
|
@@ -1034,6 +1038,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
1034
1038
|
@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
|
|
1035
1039
|
@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
|
|
1036
1040
|
@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
|
|
1041
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
1037
1042
|
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1038
1043
|
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
1039
1044
|
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
@@ -1096,6 +1101,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
1096
1101
|
--tw-gradient-from-position: 0%;
|
|
1097
1102
|
--tw-gradient-via-position: 50%;
|
|
1098
1103
|
--tw-gradient-to-position: 100%;
|
|
1104
|
+
--tw-leading: initial;
|
|
1099
1105
|
--tw-font-weight: initial;
|
|
1100
1106
|
--tw-tracking: initial;
|
|
1101
1107
|
--tw-shadow: 0 0 #0000;
|
|
@@ -1195,7 +1201,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1195
1201
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1196
1202
|
|
|
1197
1203
|
// package.json
|
|
1198
|
-
var version = "1.0.1-rc.
|
|
1204
|
+
var version = "1.0.1-rc.69";
|
|
1199
1205
|
|
|
1200
1206
|
// src/utils/licenseCache.ts
|
|
1201
1207
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -3159,6 +3165,10 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
3159
3165
|
.text-\\[10px\\] {
|
|
3160
3166
|
font-size: 10px;
|
|
3161
3167
|
}
|
|
3168
|
+
.leading-none {
|
|
3169
|
+
--tw-leading: 1;
|
|
3170
|
+
line-height: 1;
|
|
3171
|
+
}
|
|
3162
3172
|
.font-bold {
|
|
3163
3173
|
--tw-font-weight: var(--font-weight-bold);
|
|
3164
3174
|
font-weight: var(--font-weight-bold);
|
|
@@ -3666,6 +3676,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
3666
3676
|
@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
|
|
3667
3677
|
@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
|
|
3668
3678
|
@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
|
|
3679
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
3669
3680
|
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
3670
3681
|
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
3671
3682
|
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
@@ -3728,6 +3739,7 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
|
|
|
3728
3739
|
--tw-gradient-from-position: 0%;
|
|
3729
3740
|
--tw-gradient-via-position: 50%;
|
|
3730
3741
|
--tw-gradient-to-position: 100%;
|
|
3742
|
+
--tw-leading: initial;
|
|
3731
3743
|
--tw-font-weight: initial;
|
|
3732
3744
|
--tw-tracking: initial;
|
|
3733
3745
|
--tw-shadow: 0 0 #0000;
|
|
@@ -4895,7 +4907,7 @@ var Event = ({
|
|
|
4895
4907
|
events.onEmptyPlaylists();
|
|
4896
4908
|
}
|
|
4897
4909
|
if (loadingPlaylist) {
|
|
4898
|
-
return /* @__PURE__ */ jsx10("div", { className: twMerge4("", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full
|
|
4910
|
+
return /* @__PURE__ */ jsx10("div", { className: twMerge4("", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full aspect-video bg-[#151515]", children: /* @__PURE__ */ jsx10(Loading, {}) }) });
|
|
4899
4911
|
}
|
|
4900
4912
|
if (activePlaylist && activeVideoId && videosData) {
|
|
4901
4913
|
const activeVideo = videosData.find((video) => video.id === activeVideoId);
|
|
@@ -4972,7 +4984,7 @@ function PreEvent({
|
|
|
4972
4984
|
const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
|
|
4973
4985
|
return /* @__PURE__ */ jsxs8("div", { className: "grid grid-flow-col gap-1 md:gap-5 text-center auto-cols-max", children: [
|
|
4974
4986
|
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
|
|
4975
|
-
/* @__PURE__ */ jsx10("span", { className: "font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx10(
|
|
4987
|
+
/* @__PURE__ */ jsx10("span", { className: "font-mono text-lg md:text-5xl leading-none", children: /* @__PURE__ */ jsx10(
|
|
4976
4988
|
"span",
|
|
4977
4989
|
{
|
|
4978
4990
|
"aria-live": "polite",
|
|
@@ -5239,7 +5251,7 @@ var CreativeWork = ({
|
|
|
5239
5251
|
events
|
|
5240
5252
|
]);
|
|
5241
5253
|
if (isCreativeWorkLoading || videosIsLoading || loadingApisState) {
|
|
5242
|
-
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full
|
|
5254
|
+
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full aspect-video bg-[#151515]", children: /* @__PURE__ */ jsx11(Loading, {}) }) });
|
|
5243
5255
|
}
|
|
5244
5256
|
if (showCountDown && creativeWorkData) {
|
|
5245
5257
|
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full bg-base-200 text-base-content flex justify-center items-center flex-col", children: /* @__PURE__ */ jsx11(
|
|
@@ -5284,7 +5296,7 @@ var CreativeWork = ({
|
|
|
5284
5296
|
] }) });
|
|
5285
5297
|
}
|
|
5286
5298
|
if (loadingPlaylist) {
|
|
5287
|
-
return /* @__PURE__ */ jsx11(Loading, {});
|
|
5299
|
+
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full aspect-video bg-[#151515]", children: /* @__PURE__ */ jsx11(Loading, {}) }) });
|
|
5288
5300
|
}
|
|
5289
5301
|
return null;
|
|
5290
5302
|
};
|