@streamlayer/web-os 0.9.1 → 0.9.2

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/lib/es/index2.js CHANGED
@@ -3,7 +3,6 @@ import * as C from "react";
3
3
  import Xt, { forwardRef as Xi, createElement as Qa, useRef as Ce, useCallback as we, useEffect as ie, useState as ce, useContext as Ji, useMemo as gt, createContext as m0, useLayoutEffect as k5, memo as J5, Component as x5 } from "react";
4
4
  import { useFocusable as p0, updateAllLayouts as M5, init as Q5 } from "@noriginmedia/norigin-spatial-navigation";
5
5
  import z5 from "lodash.throttle";
6
- import "@storybook/blocks";
7
6
  import { CountdownCircleTimer as g0 } from "react-countdown-circle-timer";
8
7
  let Vr = 0, za = [];
9
8
  function K5() {
@@ -20238,23 +20237,11 @@ const $V = (t) => /* @__PURE__ */ C.createElement("svg", { width: 24, height: 24
20238
20237
  mastersLogoWhite: DR,
20239
20238
  loader: HR,
20240
20239
  fgIcon: sR
20241
- }, ue = ({
20242
- name: t,
20243
- style: e,
20244
- className: n,
20245
- ...i
20246
- }) => {
20240
+ }, ue = ({ name: t, style: e, className: n, ...i }) => {
20247
20241
  if (!Ed[t])
20248
- return /* @__PURE__ */ f("span", {
20249
- children: t
20250
- });
20242
+ return /* @__PURE__ */ f("span", { children: t });
20251
20243
  const s = Ed[t];
20252
- return /* @__PURE__ */ f(s, {
20253
- "data-testid": "svg-icon",
20254
- style: e,
20255
- className: n,
20256
- ...i
20257
- });
20244
+ return /* @__PURE__ */ f(s, { "data-testid": "svg-icon", style: e, className: n, ...i });
20258
20245
  };
20259
20246
  var xn = {}, Lo = { exports: {} }, ko, yd;
20260
20247
  function uE() {
@@ -26131,7 +26118,7 @@ const h0 = new eN(), d0 = async (t, e = {}) => {
26131
26118
  n.current && e.removeVideoPlayerController(n.current);
26132
26119
  };
26133
26120
  }, [e]), null;
26134
- }, jN = ({
26121
+ }, _N = ({
26135
26122
  children: t,
26136
26123
  videoPlayerController: e,
26137
26124
  ...n
@@ -26158,10 +26145,10 @@ const h0 = new eN(), d0 = async (t, e = {}) => {
26158
26145
  }, [t]), null), oN = ({ persistent: t, notification: e, banner: n, sdk: i }) => {
26159
26146
  const s = _e(i.uiState);
26160
26147
  return s.exposedPauseAd ? null : n ? s.promotionBanner || s.appBanner ? /* @__PURE__ */ f(ti, { sdk: i, persistent: t, banner: "bottom" }) : null : e ? s.promotionNotification ? /* @__PURE__ */ f(ti, { sdk: i, notification: !0, persistent: t }) : s.onboardingNotification || s.appNotification ? /* @__PURE__ */ f(_s, { sdk: i, notification: !0, persistent: t }) : null : s.promotionSidebar ? /* @__PURE__ */ f(ti, { sdk: i, persistent: t, sidebar: "right" }) : s.app || s.appSidebar ? /* @__PURE__ */ f(_s, { sdk: i, persistent: t }) : null;
26161
- }, $N = (t) => {
26148
+ }, jN = (t) => {
26162
26149
  const e = _i(), n = Sa();
26163
26150
  return e ? /* @__PURE__ */ f("div", { className: "StreamLayerSDK StreamLayerSDKTvContent", children: /* @__PURE__ */ f(Kl, { customTheme: n.theme, themeMode: n.themeMode, children: /* @__PURE__ */ f(oN, { sdk: e, ...t }) }) }) : null;
26164
- }, qN = ({
26151
+ }, $N = ({
26165
26152
  videoPlayerController: t,
26166
26153
  ...e
26167
26154
  }) => {
@@ -26170,7 +26157,7 @@ const h0 = new eN(), d0 = async (t, e = {}) => {
26170
26157
  /* @__PURE__ */ f(Kl, { customTheme: i.theme, themeMode: i.themeMode, children: /* @__PURE__ */ f(i5, { ...e, sdk: n, isDesktop: !1 }) }),
26171
26158
  t && /* @__PURE__ */ f(L5, { videoPlayerController: t })
26172
26159
  ] }) : null;
26173
- }, eF = ({
26160
+ }, qN = ({
26174
26161
  persistent: t,
26175
26162
  children: e,
26176
26163
  showPauseAd: n,
@@ -26204,12 +26191,12 @@ const h0 = new eN(), d0 = async (t, e = {}) => {
26204
26191
  ] }) }) : e;
26205
26192
  };
26206
26193
  export {
26207
- jN as S,
26194
+ _N as S,
26208
26195
  _i as Y,
26209
26196
  Sa as _,
26210
- eF as a,
26211
- $N as b,
26212
- qN as c,
26197
+ qN as a,
26198
+ jN as b,
26199
+ $N as c,
26213
26200
  O8 as q,
26214
26201
  K4 as u
26215
26202
  };