@mottosports/motto-video-player 1.0.1-rc.54 → 1.0.1-rc.56
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 +19 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ function styleInject(css, { insertAt } = {}) {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// src/index.css
|
|
29
|
-
styleInject(`/*! tailwindcss v4.1.
|
|
29
|
+
styleInject(`/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
|
|
30
30
|
@layer properties;
|
|
31
31
|
@layer theme, base, components, utilities;
|
|
32
32
|
@layer theme {
|
|
@@ -253,6 +253,9 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
253
253
|
::-webkit-datetime-edit-meridiem-field {
|
|
254
254
|
padding-block: 0;
|
|
255
255
|
}
|
|
256
|
+
::-webkit-calendar-picker-indicator {
|
|
257
|
+
line-height: 1;
|
|
258
|
+
}
|
|
256
259
|
:-moz-ui-invalid {
|
|
257
260
|
box-shadow: none;
|
|
258
261
|
}
|
|
@@ -283,7 +286,7 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
283
286
|
padding: 0;
|
|
284
287
|
margin: -1px;
|
|
285
288
|
overflow: hidden;
|
|
286
|
-
clip:
|
|
289
|
+
clip-path: inset(50%);
|
|
287
290
|
white-space: nowrap;
|
|
288
291
|
border-width: 0;
|
|
289
292
|
}
|
|
@@ -1170,7 +1173,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1170
1173
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1171
1174
|
|
|
1172
1175
|
// package.json
|
|
1173
|
-
var version = "1.0.1-rc.
|
|
1176
|
+
var version = "1.0.1-rc.56";
|
|
1174
1177
|
|
|
1175
1178
|
// src/utils/licenseCache.ts
|
|
1176
1179
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -2475,7 +2478,7 @@ var LiveBadge = ({
|
|
|
2475
2478
|
};
|
|
2476
2479
|
|
|
2477
2480
|
// src/styles.css
|
|
2478
|
-
styleInject(`/*! tailwindcss v4.1.
|
|
2481
|
+
styleInject(`/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
|
|
2479
2482
|
@layer properties;
|
|
2480
2483
|
@layer theme, base, components, utilities;
|
|
2481
2484
|
@layer theme {
|
|
@@ -2702,6 +2705,9 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
2702
2705
|
::-webkit-datetime-edit-meridiem-field {
|
|
2703
2706
|
padding-block: 0;
|
|
2704
2707
|
}
|
|
2708
|
+
::-webkit-calendar-picker-indicator {
|
|
2709
|
+
line-height: 1;
|
|
2710
|
+
}
|
|
2705
2711
|
:-moz-ui-invalid {
|
|
2706
2712
|
box-shadow: none;
|
|
2707
2713
|
}
|
|
@@ -2732,7 +2738,7 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
2732
2738
|
padding: 0;
|
|
2733
2739
|
margin: -1px;
|
|
2734
2740
|
overflow: hidden;
|
|
2735
|
-
clip:
|
|
2741
|
+
clip-path: inset(50%);
|
|
2736
2742
|
white-space: nowrap;
|
|
2737
2743
|
border-width: 0;
|
|
2738
2744
|
}
|
|
@@ -3902,7 +3908,7 @@ var Player = forwardRef(
|
|
|
3902
3908
|
getMuxMonitor: () => null
|
|
3903
3909
|
}), [getAvailableQualities, setQuality, skipBack, skipForward, updateMuxData]);
|
|
3904
3910
|
const isResponsive = !width && !height;
|
|
3905
|
-
const containerClasses = twMerge2(containerClassName, "motto-video-container bg-black
|
|
3911
|
+
const containerClasses = twMerge2(containerClassName, "motto-video-container bg-black ");
|
|
3906
3912
|
const containerStyle = isResponsive ? {
|
|
3907
3913
|
aspectRatio: aspectRatio.toString()
|
|
3908
3914
|
} : { width, height };
|
|
@@ -4648,17 +4654,17 @@ var Event = ({
|
|
|
4648
4654
|
events.onEmptyPlaylists();
|
|
4649
4655
|
}
|
|
4650
4656
|
if (loadingPlaylist) {
|
|
4651
|
-
return /* @__PURE__ */ jsx10("div", { className: twMerge4("
|
|
4657
|
+
return /* @__PURE__ */ jsx10("div", { className: twMerge4("", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full bg-[#151515]", children: /* @__PURE__ */ jsx10(Loading, {}) }) });
|
|
4652
4658
|
}
|
|
4653
4659
|
if (activePlaylist && activeVideoId && videosData) {
|
|
4654
4660
|
const activeVideo = videosData.find((video) => video.id === activeVideoId);
|
|
4655
|
-
return /* @__PURE__ */ jsxs8("div", { className: twMerge4("
|
|
4661
|
+
return /* @__PURE__ */ jsxs8("div", { className: twMerge4("", className), children: [
|
|
4656
4662
|
/* @__PURE__ */ jsx10("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx10(
|
|
4657
4663
|
Player,
|
|
4658
4664
|
{
|
|
4659
4665
|
...props,
|
|
4660
4666
|
src: activePlaylist,
|
|
4661
|
-
className: twMerge4(className, "peer"),
|
|
4667
|
+
className: twMerge4(className, "peer aspect-video"),
|
|
4662
4668
|
events,
|
|
4663
4669
|
locale,
|
|
4664
4670
|
containerClassName: "w-full h-full"
|
|
@@ -4676,7 +4682,7 @@ var Event = ({
|
|
|
4676
4682
|
] });
|
|
4677
4683
|
}
|
|
4678
4684
|
if (eventData) {
|
|
4679
|
-
return /* @__PURE__ */ jsx10("div", { className: twMerge4("
|
|
4685
|
+
return /* @__PURE__ */ jsx10("div", { className: twMerge4("", className), children: /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx10(
|
|
4680
4686
|
PreEvent,
|
|
4681
4687
|
{
|
|
4682
4688
|
event: eventData,
|
|
@@ -4960,7 +4966,7 @@ var CreativeWork = ({
|
|
|
4960
4966
|
if (error) {
|
|
4961
4967
|
const title = t(error.message)?.length ? t(error.message) : t("DEFAULT_ERROR");
|
|
4962
4968
|
const description = t(`${error.message}_DESCRIPTION`)?.length ? t(`${error.message}_DESCRIPTION`) : t("DEFAULT_ERROR_DESCRIPTION");
|
|
4963
|
-
return /* @__PURE__ */ jsx11("div", { className: twMerge5("
|
|
4969
|
+
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx11(
|
|
4964
4970
|
ErrorScreen,
|
|
4965
4971
|
{
|
|
4966
4972
|
title,
|
|
@@ -4990,10 +4996,10 @@ var CreativeWork = ({
|
|
|
4990
4996
|
events
|
|
4991
4997
|
]);
|
|
4992
4998
|
if (isCreativeWorkLoading || videosIsLoading || loadingApisState) {
|
|
4993
|
-
return /* @__PURE__ */ jsx11("div", { className: twMerge5("
|
|
4999
|
+
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsx11("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx11(Loading, {}) }) });
|
|
4994
5000
|
}
|
|
4995
5001
|
if (showCountDown && creativeWorkData) {
|
|
4996
|
-
return /* @__PURE__ */ jsx11("div", { className: twMerge5("
|
|
5002
|
+
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(
|
|
4997
5003
|
PreCreativeWork,
|
|
4998
5004
|
{
|
|
4999
5005
|
creativeWork: creativeWorkData,
|