@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 CHANGED
@@ -67,7 +67,7 @@ function styleInject(css, { insertAt } = {}) {
67
67
  }
68
68
 
69
69
  // src/index.css
70
- styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
70
+ styleInject(`/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
71
71
  @layer properties;
72
72
  @layer theme, base, components, utilities;
73
73
  @layer theme {
@@ -294,6 +294,9 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
294
294
  ::-webkit-datetime-edit-meridiem-field {
295
295
  padding-block: 0;
296
296
  }
297
+ ::-webkit-calendar-picker-indicator {
298
+ line-height: 1;
299
+ }
297
300
  :-moz-ui-invalid {
298
301
  box-shadow: none;
299
302
  }
@@ -324,7 +327,7 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
324
327
  padding: 0;
325
328
  margin: -1px;
326
329
  overflow: hidden;
327
- clip: rect(0, 0, 0, 0);
330
+ clip-path: inset(50%);
328
331
  white-space: nowrap;
329
332
  border-width: 0;
330
333
  }
@@ -1211,7 +1214,7 @@ var supportsWidevinePersistentLicenses = () => {
1211
1214
  var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
1212
1215
 
1213
1216
  // package.json
1214
- var version = "1.0.1-rc.54";
1217
+ var version = "1.0.1-rc.56";
1215
1218
 
1216
1219
  // src/utils/licenseCache.ts
1217
1220
  var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
@@ -2516,7 +2519,7 @@ var LiveBadge = ({
2516
2519
  };
2517
2520
 
2518
2521
  // src/styles.css
2519
- styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
2522
+ styleInject(`/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
2520
2523
  @layer properties;
2521
2524
  @layer theme, base, components, utilities;
2522
2525
  @layer theme {
@@ -2743,6 +2746,9 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
2743
2746
  ::-webkit-datetime-edit-meridiem-field {
2744
2747
  padding-block: 0;
2745
2748
  }
2749
+ ::-webkit-calendar-picker-indicator {
2750
+ line-height: 1;
2751
+ }
2746
2752
  :-moz-ui-invalid {
2747
2753
  box-shadow: none;
2748
2754
  }
@@ -2773,7 +2779,7 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
2773
2779
  padding: 0;
2774
2780
  margin: -1px;
2775
2781
  overflow: hidden;
2776
- clip: rect(0, 0, 0, 0);
2782
+ clip-path: inset(50%);
2777
2783
  white-space: nowrap;
2778
2784
  border-width: 0;
2779
2785
  }
@@ -3943,7 +3949,7 @@ var Player = (0, import_react12.forwardRef)(
3943
3949
  getMuxMonitor: () => null
3944
3950
  }), [getAvailableQualities, setQuality, skipBack, skipForward, updateMuxData]);
3945
3951
  const isResponsive = !width && !height;
3946
- const containerClasses = (0, import_tailwind_merge2.twMerge)(containerClassName, "motto-video-container bg-black overflow-hidden md:rounded-2xl");
3952
+ const containerClasses = (0, import_tailwind_merge2.twMerge)(containerClassName, "motto-video-container bg-black ");
3947
3953
  const containerStyle = isResponsive ? {
3948
3954
  aspectRatio: aspectRatio.toString()
3949
3955
  } : { width, height };
@@ -4689,17 +4695,17 @@ var Event = ({
4689
4695
  events.onEmptyPlaylists();
4690
4696
  }
4691
4697
  if (loadingPlaylist) {
4692
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: (0, import_tailwind_merge4.twMerge)("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "relative w-full h-full bg-[#151515]", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Loading, {}) }) });
4698
+ 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 h-full bg-[#151515]", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Loading, {}) }) });
4693
4699
  }
4694
4700
  if (activePlaylist && activeVideoId && videosData) {
4695
4701
  const activeVideo = videosData.find((video) => video.id === activeVideoId);
4696
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: (0, import_tailwind_merge4.twMerge)("md:rounded-2xl overflow-hidden aspect-video", className), children: [
4702
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: (0, import_tailwind_merge4.twMerge)("", className), children: [
4697
4703
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "relative w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4698
4704
  Player,
4699
4705
  {
4700
4706
  ...props,
4701
4707
  src: activePlaylist,
4702
- className: (0, import_tailwind_merge4.twMerge)(className, "peer"),
4708
+ className: (0, import_tailwind_merge4.twMerge)(className, "peer aspect-video"),
4703
4709
  events,
4704
4710
  locale,
4705
4711
  containerClassName: "w-full h-full"
@@ -4717,7 +4723,7 @@ var Event = ({
4717
4723
  ] });
4718
4724
  }
4719
4725
  if (eventData) {
4720
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: (0, import_tailwind_merge4.twMerge)("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "relative w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4726
+ 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 h-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4721
4727
  PreEvent,
4722
4728
  {
4723
4729
  event: eventData,
@@ -5001,7 +5007,7 @@ var CreativeWork = ({
5001
5007
  if (error) {
5002
5008
  const title = t(error.message)?.length ? t(error.message) : t("DEFAULT_ERROR");
5003
5009
  const description = t(`${error.message}_DESCRIPTION`)?.length ? t(`${error.message}_DESCRIPTION`) : t("DEFAULT_ERROR_DESCRIPTION");
5004
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "relative w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
5010
+ 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", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
5005
5011
  ErrorScreen,
5006
5012
  {
5007
5013
  title,
@@ -5031,10 +5037,10 @@ var CreativeWork = ({
5031
5037
  events
5032
5038
  ]);
5033
5039
  if (isCreativeWorkLoading || videosIsLoading || loadingApisState) {
5034
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "relative w-full h-full", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Loading, {}) }) });
5040
+ 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", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Loading, {}) }) });
5035
5041
  }
5036
5042
  if (showCountDown && creativeWorkData) {
5037
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("md:rounded-2xl overflow-hidden aspect-video", 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)(
5043
+ 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)(
5038
5044
  PreCreativeWork,
5039
5045
  {
5040
5046
  creativeWork: creativeWorkData,