@streamlayer/react-ui 1.2.1 → 1.3.0

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.
Files changed (142) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +2 -1
  2. package/lib/app/app/Advertisement/index.js +73 -61
  3. package/lib/app/app/Features/FeatureProvider.d.ts +0 -1
  4. package/lib/app/app/Features/Gamification/Leaderboard.d.ts +0 -1
  5. package/lib/app/app/Features/Gamification/Question.d.ts +3 -1
  6. package/lib/app/app/Features/Gamification/Question.js +45 -41
  7. package/lib/app/app/Features/Gamification/QuestionsList.d.ts +0 -1
  8. package/lib/app/app/Features/Gamification/Tabs.d.ts +0 -1
  9. package/lib/app/app/Features/Gamification/UserSummary.d.ts +0 -1
  10. package/lib/app/app/Features/Gamification/gamification-feature.d.ts +0 -1
  11. package/lib/app/app/Features/Gamification/index.d.ts +0 -1
  12. package/lib/app/app/Features/index.d.ts +0 -1
  13. package/lib/app/app/Insight/index.d.ts +18 -0
  14. package/lib/app/app/Insight/index.js +62 -0
  15. package/lib/app/app/Navigation/index.d.ts +0 -1
  16. package/lib/app/app/Navigation/index.js +39 -31
  17. package/lib/app/app/Notifications/Onboarding/Notification/index.d.ts +0 -1
  18. package/lib/app/app/Notifications/Onboarding/index.d.ts +0 -1
  19. package/lib/app/app/Notifications/index.d.ts +0 -1
  20. package/lib/app/app/Notifications/styles.d.ts +1 -1
  21. package/lib/app/app/Points/index.d.ts +0 -1
  22. package/lib/app/app/index.d.ts +0 -1
  23. package/lib/app/app/story/index.d.ts +2 -10
  24. package/lib/app/app/story/index.js +44 -89
  25. package/lib/app/app/story/insight/index.d.ts +8 -0
  26. package/lib/app/app/story/insight/index.js +57 -0
  27. package/lib/app/app/story/insight/styles.d.ts +6 -0
  28. package/lib/app/app/story/insight/styles.js +30 -0
  29. package/lib/app/app/story/insight/video.d.ts +4 -0
  30. package/lib/app/app/story/insight/video.js +30 -0
  31. package/lib/app/app/story/promotion/content.d.ts +3 -0
  32. package/lib/app/app/story/{content.js → promotion/content.js} +22 -18
  33. package/lib/app/app/story/promotion/index.d.ts +9 -0
  34. package/lib/app/app/story/promotion/index.js +54 -0
  35. package/lib/app/app/story/promotion/styles.d.ts +6 -0
  36. package/lib/app/app/story/promotion/styles.js +35 -0
  37. package/lib/app/app/story/promotion/video.d.ts +8 -0
  38. package/lib/app/app/story/promotion/video.js +98 -0
  39. package/lib/app/app/story/settings/index.d.ts +1 -0
  40. package/lib/app/app/story/settings/index.js +14 -0
  41. package/lib/app/app/story/styles.d.ts +1 -6
  42. package/lib/app/app/story/styles.js +9 -34
  43. package/lib/app/app/story/video.d.ts +1 -10
  44. package/lib/app/app/story/video.js +35 -62
  45. package/lib/app/app/useApp.d.ts +0 -1
  46. package/lib/app/app/useAppContext.d.ts +0 -1
  47. package/lib/app/login/demo.d.ts +0 -1
  48. package/lib/app/login/demo.js +23 -9
  49. package/lib/app/masters/Features/FeatureProvider.d.ts +0 -1
  50. package/lib/app/masters/Features/Gamification/Leaderboard.d.ts +0 -1
  51. package/lib/app/masters/Features/Gamification/Question.d.ts +0 -1
  52. package/lib/app/masters/Features/Gamification/QuestionsList.d.ts +0 -1
  53. package/lib/app/masters/Features/Gamification/Tabs.d.ts +0 -1
  54. package/lib/app/masters/Features/Gamification/UserSummary.d.ts +0 -1
  55. package/lib/app/masters/Features/Gamification/gamification-feature.d.ts +0 -1
  56. package/lib/app/masters/Features/Gamification/index.d.ts +0 -1
  57. package/lib/app/masters/Features/index.d.ts +0 -1
  58. package/lib/app/masters/Navigation/MastersNavigation/index.d.ts +0 -1
  59. package/lib/app/masters/Notifications/Onboarding/Notification/index.d.ts +0 -1
  60. package/lib/app/masters/Notifications/Onboarding/index.d.ts +0 -1
  61. package/lib/app/masters/Notifications/index.d.ts +0 -1
  62. package/lib/app/masters/Notifications/styles.d.ts +1 -1
  63. package/lib/app/masters/Points/index.d.ts +0 -1
  64. package/lib/app/masters/masters.d.ts +0 -1
  65. package/lib/app/masters/useMastersApp.d.ts +0 -1
  66. package/lib/app/masters/useMastersContext.d.ts +0 -1
  67. package/lib/app/styles.d.ts +3 -3
  68. package/lib/app/useClipboardCopy.d.ts +0 -1
  69. package/lib/app/useSdkFeature.d.ts +0 -1
  70. package/lib/app/useSdkResponsive.d.ts +0 -1
  71. package/lib/app/useSdkScroll.d.ts +0 -1
  72. package/lib/assets/style.css +1 -1
  73. package/lib/ui/advertisement/banner/index.d.ts +1 -2
  74. package/lib/ui/advertisement/banner/index.js +16 -28
  75. package/lib/ui/advertisement/banner/styles.d.ts +3 -0
  76. package/lib/ui/advertisement/banner/styles.js +20 -0
  77. package/lib/ui/advertisement/index.d.ts +0 -1
  78. package/lib/ui/advertisement/index.js +13 -12
  79. package/lib/ui/advertisement/mock.d.ts +0 -1
  80. package/lib/ui/advertisement/overlay/index.d.ts +2 -1
  81. package/lib/ui/advertisement/overlay/index.js +61 -58
  82. package/lib/ui/advertisement/overlay/styles.d.ts +8 -4
  83. package/lib/ui/advertisement/overlay/styles.js +70 -62
  84. package/lib/ui/animated-counter/index.d.ts +0 -1
  85. package/lib/ui/gamification/constants.d.ts +0 -1
  86. package/lib/ui/gamification/detail/header/index.d.ts +0 -1
  87. package/lib/ui/gamification/insight/index.d.ts +0 -1
  88. package/lib/ui/gamification/insight-list/index.d.ts +0 -1
  89. package/lib/ui/gamification/leaderboard/index.d.ts +0 -1
  90. package/lib/ui/gamification/leaderboard/list-item/index.d.ts +0 -1
  91. package/lib/ui/gamification/leaderboard/static.d.ts +0 -1
  92. package/lib/ui/gamification/onboarding/index.d.ts +0 -1
  93. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +0 -1
  94. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +0 -1
  95. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +0 -1
  96. package/lib/ui/gamification/question/index.d.ts +0 -1
  97. package/lib/ui/gamification/question/insight/index.d.ts +0 -1
  98. package/lib/ui/gamification/question/list/index.d.ts +0 -1
  99. package/lib/ui/gamification/question/notification/index.d.ts +0 -1
  100. package/lib/ui/gamification/question/notification/insight/index.d.ts +0 -1
  101. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +14 -14
  102. package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +0 -1
  103. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +1 -1
  104. package/lib/ui/gamification/question/notification/tweet/index.d.ts +0 -1
  105. package/lib/ui/gamification/question/twitter/index.d.ts +0 -1
  106. package/lib/ui/gamification/vote/alert/index.d.ts +0 -1
  107. package/lib/ui/gamification/vote/feedback/index.d.ts +0 -1
  108. package/lib/ui/gamification/vote/index.d.ts +0 -1
  109. package/lib/ui/gamification/vote/insight-details/index.d.ts +0 -1
  110. package/lib/ui/gamification/vote/insight-details/index.js +7 -8
  111. package/lib/ui/gamification/vote/insight-details/styles.d.ts +1 -0
  112. package/lib/ui/gamification/vote/insight-details/styles.js +10 -4
  113. package/lib/ui/gamification/vote/twitter-details/index.d.ts +0 -1
  114. package/lib/ui/gamification/vote/vote-option/index.d.ts +0 -1
  115. package/lib/ui/gamification/vote/vote-option/styles.d.ts +2 -2
  116. package/lib/ui/gamification/vote/win-bar/index.d.ts +0 -1
  117. package/lib/ui/link/index.d.ts +1 -0
  118. package/lib/ui/link/index.js +9 -0
  119. package/lib/ui/navigation/button/Channels.d.ts +0 -1
  120. package/lib/ui/navigation/button/FeaturedGroups.d.ts +0 -1
  121. package/lib/ui/navigation/button/LeaderBoard.d.ts +0 -1
  122. package/lib/ui/navigation/button/index.d.ts +0 -1
  123. package/lib/ui/navigation/index.d.ts +0 -1
  124. package/lib/ui/questions/insight/index.d.ts +0 -1
  125. package/lib/ui/questions/twitter/index.d.ts +0 -1
  126. package/lib/ui/questions/twitter/styles.d.ts +2 -2
  127. package/lib/ui/show-in/index.d.ts +0 -1
  128. package/lib/ui/theme/breakpoints.d.ts +0 -1
  129. package/lib/ui/theme/index.d.ts +1 -0
  130. package/lib/ui/theme/index.js +4 -3
  131. package/lib/ui/theme/masters-theme.d.ts +0 -1
  132. package/lib/ui/theme/theme.js +42 -16
  133. package/lib/ui/timer/index.d.ts +0 -1
  134. package/lib/ui/video-player/index.d.ts +1 -0
  135. package/lib/ui/video-player/index.js +43 -43
  136. package/lib/utils/debug/index.js +45 -19
  137. package/package.json +26 -26
  138. package/lib/app/app/story/content.d.ts +0 -4
  139. package/lib/app/app/story/useResponsive.d.ts +0 -1
  140. package/lib/app/app/story/useResponsive.js +0 -15
  141. /package/lib/app/app/story/{login.d.ts → settings/login.d.ts} +0 -0
  142. /package/lib/app/app/story/{login.js → settings/login.js} +0 -0
@@ -1,49 +1,24 @@
1
1
  import { styled as s } from "@linaria/react";
2
- const n = /* @__PURE__ */ s("div")({
2
+ const o = /* @__PURE__ */ s("div")({
3
3
  name: "PointsContainer",
4
4
  class: "p10yam33",
5
5
  propsAsIs: !1
6
- }), o = /* @__PURE__ */ s("div")({
6
+ }), e = /* @__PURE__ */ s("div")({
7
7
  name: "VideoPlayerWrap",
8
8
  class: "v13be41a",
9
9
  propsAsIs: !1
10
- }), e = /* @__PURE__ */ s("div")({
10
+ }), n = /* @__PURE__ */ s("div")({
11
11
  name: "VideoFrame",
12
12
  class: "v18d3gas",
13
13
  propsAsIs: !1
14
- }), t = /* @__PURE__ */ s("div")({
15
- name: "LoginContainer",
14
+ }), i = /* @__PURE__ */ s("a")({
15
+ name: "LinkToLogin",
16
16
  class: "l1aq3x2u",
17
17
  propsAsIs: !1
18
- }), r = /* @__PURE__ */ s("button")({
19
- name: "FullscreenButton",
20
- class: "f6hlblg",
21
- propsAsIs: !1
22
- }), l = /* @__PURE__ */ s("div")({
23
- name: "AdvSidebar",
24
- class: "a1ir4g01",
25
- propsAsIs: !1
26
- }), p = /* @__PURE__ */ s("div")({
27
- name: "AdvContent",
28
- class: "aq35lm3",
29
- propsAsIs: !1
30
- }), i = /* @__PURE__ */ s("div")({
31
- name: "AdvBanner",
32
- class: "a1trv37l",
33
- propsAsIs: !1
34
- }), d = /* @__PURE__ */ s("button")({
35
- name: "PromoButton",
36
- class: "plx7e50",
37
- propsAsIs: !1
38
18
  });
39
19
  export {
40
- i as AdvBanner,
41
- p as AdvContent,
42
- l as AdvSidebar,
43
- r as FullscreenButton,
44
- t as LoginContainer,
45
- n as PointsContainer,
46
- d as PromoButton,
47
- e as VideoFrame,
48
- o as VideoPlayerWrap
20
+ i as LinkToLogin,
21
+ o as PointsContainer,
22
+ n as VideoFrame,
23
+ e as VideoPlayerWrap
49
24
  };
@@ -1,10 +1 @@
1
- export declare const Video: React.FC<{
2
- sidebar: 'left' | 'right';
3
- banner: 'top' | 'bottom';
4
- layoutMode: 'cover' | 'side-by-side';
5
- hidePoints?: boolean;
6
- fullscreen?: boolean;
7
- hideLogin?: boolean;
8
- event?: string;
9
- promotionId?: string;
10
- }>;
1
+ export declare const Video: React.FC;
@@ -1,67 +1,40 @@
1
- import { jsxs as m, Fragment as C, jsx as r } from "react/jsx-runtime";
2
- import { useState as P, useCallback as L, useEffect as V } from "react";
3
- import { useStreamLayer as b } from "@streamlayer/react";
4
- import { StreamLayerSDKAdvertisement as s } from "../Advertisement/index.js";
5
- import { StreamLayerSDKPoints as A } from "../Points/index.js";
6
- import { StreamLayerThemeProvider as t } from "../../../ui/theme/index.js";
7
- import { AppLogin as F } from "./login.js";
8
- import { VideoFrame as w, PointsContainer as x, AdvSidebar as B, LoginContainer as j, VideoPlayerWrap as D, AdvBanner as K, PromoButton as R, FullscreenButton as T, AdvContent as E } from "./styles.js";
9
- import { useResponsive as G } from "./useResponsive.js";
10
- const Q = ({ toggleFullscreen: p, fullscreen: h, hideLogin: u, hidePoints: f, sidebar: i, banner: a, event: n, promotionId: c, layoutMode: o }) => {
11
- const e = b(), [g, y] = P(!0), d = G(), l = L(({ muted: S }) => {
12
- y(S);
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import { useState as n, useCallback as m, useEffect as s } from "react";
3
+ import { useStreamLayer as d } from "@streamlayer/react";
4
+ import { StreamLayerSDKPoints as p } from "../Points/index.js";
5
+ import { StreamLayerThemeProvider as u } from "../../../ui/theme/index.js";
6
+ import { VideoFrame as c, PointsContainer as h, VideoPlayerWrap as f, LinkToLogin as y } from "./styles.js";
7
+ const S = () => {
8
+ const e = d(), [t, i] = n(!0), o = m(({ muted: a }) => {
9
+ i(a);
13
10
  }, []);
14
- V(() => (e == null || e.addVideoPlayerController(l), () => {
15
- e == null || e.removeVideoPlayerController(l);
16
- }), [e, l]);
17
- const v = () => {
18
- e == null || e.getFeature(12).background.advertisement.show(c, !0);
19
- };
20
- return /* @__PURE__ */ m(C, { children: [
21
- /* @__PURE__ */ m(w, { "data-testid": "video-frame", style: h ? { position: "fixed", inset: 0 } : {}, children: [
22
- e && /* @__PURE__ */ r(t, { children: !f && /* @__PURE__ */ r(x, { children: /* @__PURE__ */ r(A, { sdk: e }) }) }),
23
- !d && /* @__PURE__ */ r(
24
- B,
25
- {
26
- style: {
27
- ...o === "cover" ? { position: "absolute" } : {},
28
- ...i === "left" ? { left: 0 } : { right: 0, order: 3 }
29
- },
30
- children: e && /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(s, { event: n, sdk: e, sidebar: i, layoutMode: o }) })
31
- }
32
- ),
33
- !u && /* @__PURE__ */ r(j, { children: /* @__PURE__ */ r(F, {}) }),
34
- /* @__PURE__ */ m(D, { children: [
35
- /* @__PURE__ */ r(
36
- "video",
37
- {
38
- src: "https://storage.googleapis.com/cdn.streamlayer.io/assets/sdk-web/Own%20The%20Game%201080p%20RF18.mp4",
39
- muted: g,
40
- width: "100%",
41
- height: "100%",
42
- autoplay: "autoplay",
43
- loop: !0,
44
- playsInline: !0,
45
- playing: !0
46
- }
47
- ),
48
- /* @__PURE__ */ r(
49
- K,
50
- {
51
- style: {
52
- ...o === "cover" ? { position: "absolute" } : {},
53
- ...a === "top" ? { top: 0, order: -1 } : { bottom: 0 }
54
- },
55
- children: e && /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(s, { event: n, sdk: e, banner: a, layoutMode: o }) })
56
- }
57
- )
58
- ] }),
59
- c && /* @__PURE__ */ r(R, { onClick: v, children: "open promotion" }),
60
- /* @__PURE__ */ r(T, { onClick: p, children: "fullscreen" })
61
- ] }),
62
- d && /* @__PURE__ */ r(E, { children: e && /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(s, { event: n, sdk: e, sidebar: i, layoutMode: o }) }) })
11
+ return s(() => (e == null || e.addVideoPlayerController(o), () => {
12
+ e == null || e.removeVideoPlayerController(o);
13
+ }), [e, o]), /* @__PURE__ */ l(c, { "data-testid": "video-frame", children: [
14
+ e && /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(p, { sdk: e }) }) }),
15
+ /* @__PURE__ */ r(f, { children: /* @__PURE__ */ r(
16
+ "video",
17
+ {
18
+ src: "https://storage.googleapis.com/cdn.streamlayer.io/assets/sdk-web/Own%20The%20Game%201080p%20RF18.mp4",
19
+ muted: t,
20
+ width: "100%",
21
+ height: "100%",
22
+ autoplay: "autoplay",
23
+ loop: !0,
24
+ playsInline: !0,
25
+ playing: !0
26
+ }
27
+ ) }),
28
+ /* @__PURE__ */ r(
29
+ y,
30
+ {
31
+ href: "./iframe.html?args=&globals=viewport:appDesktop&id=app-login--login&viewMode=story",
32
+ rel: "noreferrer",
33
+ children: "login"
34
+ }
35
+ )
63
36
  ] });
64
37
  };
65
38
  export {
66
- Q as Video
39
+ S as Video
67
40
  };
@@ -1,5 +1,4 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
-
3
2
  /**
4
3
  * A hook that provides functionality for managing the StreamLayerSDK in the App app.
5
4
  * - On activate FG+ button, the SDK is initialized and the FG+ overlay is opened.
@@ -1,5 +1,4 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
-
3
2
  export declare const AppContext: import('react').Context<{
4
3
  sdk: StreamLayerSDK | null;
5
4
  }>;
@@ -1,5 +1,4 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
-
3
2
  export declare const LoginComponent: React.FC<{
4
3
  sdk: StreamLayerSDK;
5
4
  }>;
@@ -1,14 +1,28 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { useStore as e } from "@nanostores/react";
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useStore as a } from "@nanostores/react";
3
3
  import "@streamlayer/sdk-web-anonymous-auth";
4
- import { Login as i } from "./index.js";
5
- const c = ({ sdk: o }) => e(o.getUserStore()).data ? /* @__PURE__ */ r("button", { onClick: o.logout, children: "logout" }) : /* @__PURE__ */ r(i, { login: async (n) => {
4
+ import { Login as s } from "./index.js";
5
+ const y = ({ sdk: o }) => a(o.getUserStore()).data ? /* @__PURE__ */ i("div", { children: [
6
+ /* @__PURE__ */ t(
7
+ "a",
8
+ {
9
+ href: "#",
10
+ onClick: () => {
11
+ window.history.go(-1);
12
+ },
13
+ children: "go back"
14
+ }
15
+ ),
16
+ /* @__PURE__ */ t("button", { onClick: o.logout, children: "logout" })
17
+ ] }) : /* @__PURE__ */ t(s, { login: async (r) => {
6
18
  try {
7
- await o.authorizationBypass("streamlayer:streamlayer", n);
8
- } catch (t) {
9
- throw console.log("login err", t), t;
19
+ await o.authorizationBypass("streamlayer:streamlayer", r), window.history.go(-1);
20
+ } catch (n) {
21
+ throw console.log("login err", n), n;
10
22
  }
11
- }, anonymousLogin: o.anonymousAuthorization, host: o.host });
23
+ }, anonymousLogin: async () => {
24
+ await o.anonymousAuthorization(), window.history.go(-1);
25
+ }, host: o.host });
12
26
  export {
13
- c as LoginComponent
27
+ y as LoginComponent
14
28
  };
@@ -1,6 +1,5 @@
1
1
  import { Features } from '@streamlayer/sdk-web-features';
2
2
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
-
4
3
  /** Here we check data, render loaders, load data and perform some side effects for the active feature */
5
4
  export declare const FeatureProvider: React.FC<{
6
5
  feature: Features;
@@ -1,7 +1,6 @@
1
1
  import { ScrollNodeRef } from '../../..';
2
2
  import { ScrollStore } from '../../../useSdkScroll';
3
3
  import { Gamification } from '@streamlayer/feature-gamification';
4
-
5
4
  export declare const Leaderboard: React.FC<{
6
5
  gamification: Gamification;
7
6
  scrollNode: ScrollNodeRef;
@@ -1,5 +1,4 @@
1
1
  import { Gamification } from '@streamlayer/feature-gamification';
2
-
3
2
  export declare const Question: React.FC<{
4
3
  gamification: Gamification;
5
4
  }>;
@@ -1,5 +1,4 @@
1
1
  import { Gamification } from '@streamlayer/feature-gamification';
2
-
3
2
  export declare const QuestionsList: React.FC<{
4
3
  store: ReturnType<Exclude<Gamification['feedList'], undefined>['getStore']>;
5
4
  openQuestion: (questionId: string) => void;
@@ -2,7 +2,6 @@ import { AppNodeRef, ScrollNodeRef } from '../../..';
2
2
  import { ResponsiveStore } from '../../../useSdkResponsive';
3
3
  import { ScrollStore } from '../../../useSdkScroll';
4
4
  import { Gamification } from '@streamlayer/feature-gamification';
5
-
6
5
  export declare const Tabs: React.FC<{
7
6
  appNode: AppNodeRef;
8
7
  gamification: Gamification;
@@ -1,5 +1,4 @@
1
1
  import { Gamification } from '@streamlayer/feature-gamification';
2
-
3
2
  export declare const UserSummary: React.FC<{
4
3
  userSummary: Exclude<Gamification['userSummary'], undefined>;
5
4
  }>;
@@ -1,3 +1,2 @@
1
1
  import { GamificationOverlay } from './';
2
-
3
2
  export default GamificationOverlay;
@@ -2,7 +2,6 @@ import { AppNodeRef, ScrollNodeRef } from '../../..';
2
2
  import { ResponsiveStore } from '../../../useSdkResponsive';
3
3
  import { ScrollStore } from '../../../useSdkScroll';
4
4
  import { Gamification as GamificationClass } from '@streamlayer/feature-gamification';
5
-
6
5
  export declare const GamificationOverlay: React.FC<{
7
6
  gamification: GamificationClass;
8
7
  className?: string;
@@ -3,7 +3,6 @@ import { ResponsiveStore } from '../../useSdkResponsive';
3
3
  import { ScrollStore } from '../../useSdkScroll';
4
4
  import { Features } from '@streamlayer/sdk-web-features';
5
5
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
6
-
7
6
  /** render feature by type */
8
7
  export declare const ActiveFeature: React.FC<{
9
8
  sdk: StreamLayerSDK;
@@ -2,7 +2,6 @@ import { ResponsiveStore } from '../../../useSdkResponsive';
2
2
  import { ChannelsButtonId } from '../../../../ui/navigation/button/Channels';
3
3
  import { FeaturedGroupsButtonId } from '../../../../ui/navigation/button/FeaturedGroups';
4
4
  import { LeaderBoardButtonId } from '../../../../ui/navigation/button/LeaderBoard';
5
-
6
5
  export { ChannelsButtonId, LeaderBoardButtonId, FeaturedGroupsButtonId };
7
6
  export type AvailableOverlays = typeof ChannelsButtonId | typeof LeaderBoardButtonId | typeof FeaturedGroupsButtonId;
8
7
  type MastersNavigationProps = {
@@ -1,6 +1,5 @@
1
1
  import { Notification } from '@streamlayer/sdk-web-notifications';
2
2
  import { GameSettings } from '@streamlayer/sdk-web-types';
3
-
4
3
  export declare const Onboarding: React.FC<{
5
4
  close: Notification['close'];
6
5
  action: Notification['action'];
@@ -2,7 +2,6 @@ import { AppNodeRef } from '../../..';
2
2
  import { ResponsiveStore } from '../../../useSdkResponsive';
3
3
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
4
4
  import { Notification } from '@streamlayer/sdk-web-notifications';
5
-
6
5
  export declare const Onboarding: React.FC<{
7
6
  sdk: StreamLayerSDK;
8
7
  notification: Notification;
@@ -2,7 +2,6 @@ import { AppNodeRef, ScrollNodeRef, HeaderNodeRef } from '../..';
2
2
  import { ResponsiveStore } from '../../useSdkResponsive';
3
3
  import { ScrollStore } from '../../useSdkScroll';
4
4
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
5
-
6
5
  export declare const SDKNotifications: React.FC<{
7
6
  sdk: StreamLayerSDK;
8
7
  scrollNode: ScrollNodeRef;
@@ -3,7 +3,7 @@ export declare const InnerContainer: import('@linaria/react').StyledComponent<im
3
3
  export declare const HiddenContainer: {
4
4
  __wyw_meta: unknown;
5
5
  } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
6
- as?: import('react').ElementType;
6
+ as?: React.ElementType;
7
7
  }>;
8
8
  export declare const NotificationRefreshing: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
9
  export declare const Pill: any;
@@ -1,5 +1,4 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
-
3
2
  export declare const StreamLayerSDKPoints: React.FC<{
4
3
  sdk: StreamLayerSDK;
5
4
  }>;
@@ -1,5 +1,4 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
-
3
2
  export { StreamLayerMastersThemeProvider } from '../../ui/theme/masters';
4
3
  export type Overlays = {};
5
4
  export type MastersAppChildrenProps = {
@@ -1,6 +1,5 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
2
  import { AvailableOverlays } from './Navigation/MastersNavigation';
3
-
4
3
  /**
5
4
  * A hook that provides functionality for managing the StreamLayerSDK in the Masters app.
6
5
  * - On activate FG+ button, the SDK is initialized and the FG+ overlay is opened.
@@ -1,5 +1,4 @@
1
1
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
2
-
3
2
  export declare const MastersContext: import('react').Context<{
4
3
  sdk: StreamLayerSDK | null;
5
4
  }>;
@@ -4,17 +4,17 @@ export declare const SDKContentContainer: import('@linaria/react').StyledCompone
4
4
  export declare const SDKWhiteContainer: {
5
5
  __wyw_meta: unknown;
6
6
  } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
7
- as?: import('react').ElementType;
7
+ as?: React.ElementType;
8
8
  }>;
9
9
  export declare const TabsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
10
  export declare const LeaderboardContainer: {
11
11
  __wyw_meta: unknown;
12
12
  } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
13
- as?: import('react').ElementType;
13
+ as?: React.ElementType;
14
14
  }>;
15
15
  export declare const TabsNavContainer: {
16
16
  __wyw_meta: unknown;
17
17
  } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
18
- as?: import('react').ElementType;
18
+ as?: React.ElementType;
19
19
  }>;
20
20
  export declare const UserSummaryContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,3 +1,2 @@
1
1
  import { HeaderNodeRef, AppNodeRef } from '.';
2
-
3
2
  export declare const useClipboardCopy: (renderToNode: AppNodeRef | HeaderNodeRef) => [(link: string | undefined) => Promise<void>, React.ReactPortal | null];
@@ -1,7 +1,6 @@
1
1
  import { Features } from '@streamlayer/sdk-web-features';
2
2
  import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
3
  import { FeatureType } from '@streamlayer/sdk-web-types';
4
-
5
4
  /**
6
5
  * A hook that manages the active feature of a StreamLayerSDK instance.
7
6
  * @param sdk - The StreamLayerSDK instance to manage the feature for.
@@ -1,7 +1,6 @@
1
1
  import { AppNodeRef } from '.';
2
2
  import { MapStore } from 'nanostores';
3
3
  import { BREAKPOINTS } from '../ui/theme/constants';
4
-
5
4
  type BREAKPOINTS_KEYS = keyof typeof BREAKPOINTS;
6
5
  type ResponsiveData = {
7
6
  screen: {
@@ -1,7 +1,6 @@
1
1
  import { ScrollNodeRef, AppNodeRef } from '.';
2
2
  import { MapStore } from 'nanostores';
3
3
  import { ResponsiveStore } from './useSdkResponsive';
4
-
5
4
  type ScrollData = {
6
5
  scrollPosition: number;
7
6
  tabsShown?: boolean;