@streamlayer/react-ui 0.89.7 → 0.91.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 (96) hide show
  1. package/lib/assets/style.css +1 -1
  2. package/lib/index-uEuzH3jr.js +118 -0
  3. package/lib/ui/app/Features/Gamification/Friends.d.ts +1 -0
  4. package/lib/ui/app/Features/Gamification/Friends.js +12 -7
  5. package/lib/ui/app/Features/Gamification/Leaderboard.d.ts +2 -1
  6. package/lib/ui/app/Features/Gamification/Leaderboard.js +32 -36
  7. package/lib/ui/app/Features/Gamification/Tabs.d.ts +2 -1
  8. package/lib/ui/app/Features/Gamification/Tabs.js +35 -23
  9. package/lib/ui/app/Features/Gamification/gamification-feature.js +6 -4
  10. package/lib/ui/app/Features/Gamification/index.d.ts +1 -1
  11. package/lib/ui/app/Features/Gamification/index.js +17 -14
  12. package/lib/ui/app/Features/index.d.ts +1 -1
  13. package/lib/ui/app/Navigation/MastersNavigation/index.js +3 -3
  14. package/lib/ui/app/Navigation/index.d.ts +1 -1
  15. package/lib/ui/app/Navigation/index.js +1 -1
  16. package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +2 -2
  17. package/lib/ui/app/Notifications/Onboarding/index.js +71 -70
  18. package/lib/ui/app/Notifications/index.d.ts +1 -1
  19. package/lib/ui/app/Notifications/index.js +46 -45
  20. package/lib/ui/app/Notifications/styles.d.ts +3 -0
  21. package/lib/ui/app/Notifications/styles.js +17 -12
  22. package/lib/ui/app/Points/index.js +15 -15
  23. package/lib/ui/app/masters.js +10 -8
  24. package/lib/ui/app/styles.d.ts +6 -6
  25. package/lib/ui/app/styles.js +7 -7
  26. package/lib/ui/app/useClipboardCopy.d.ts +2 -0
  27. package/lib/ui/app/useClipboardCopy.js +11 -0
  28. package/lib/ui/app/useMastersApp.js +3 -3
  29. package/lib/ui/app/useSdkFeature.d.ts +1 -1
  30. package/lib/ui/app/useSdkFeature.js +1 -1
  31. package/lib/ui/app/useSdkScroll.js +5 -5
  32. package/lib/ui/gamification/copyNotification/styles.js +4 -4
  33. package/lib/ui/gamification/insight/index.js +17 -17
  34. package/lib/ui/gamification/insight/styles.js +4 -4
  35. package/lib/ui/gamification/insight-list/styles.js +4 -4
  36. package/lib/ui/gamification/invite-link/index.js +9 -9
  37. package/lib/ui/gamification/leaderboard/index.d.ts +1 -1
  38. package/lib/ui/gamification/leaderboard/index.js +1 -1
  39. package/lib/ui/gamification/leaderboard/static.d.ts +1 -1
  40. package/lib/ui/gamification/leaderboard/static.js +8 -8
  41. package/lib/ui/gamification/leaderboard/styles.js +1 -1
  42. package/lib/ui/gamification/onboarding/index.js +25 -21
  43. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +4 -4
  44. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +1 -0
  45. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +37 -35
  46. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +6 -6
  47. package/lib/ui/gamification/points/styles.js +4 -4
  48. package/lib/ui/gamification/question/insight/styles.js +2 -2
  49. package/lib/ui/gamification/question/list/styles.js +2 -2
  50. package/lib/ui/gamification/question/notification/insight/styles.js +2 -2
  51. package/lib/ui/gamification/question/notification/pill/styles.js +4 -4
  52. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +28 -28
  53. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.js +14 -14
  54. package/lib/ui/gamification/question/notification/prediction-result/index.js +61 -61
  55. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +2 -2
  56. package/lib/ui/gamification/question/notification/prediction-result/styles.js +6 -6
  57. package/lib/ui/gamification/question/notification/tweet/styles.js +4 -4
  58. package/lib/ui/gamification/question/twitter/styles.js +5 -5
  59. package/lib/ui/gamification/tabs/styles.js +2 -2
  60. package/lib/ui/gamification/user-statistics/components/rank/styles.js +6 -6
  61. package/lib/ui/gamification/user-statistics/components/statistic/styles.js +2 -2
  62. package/lib/ui/gamification/user-statistics/index.js +42 -42
  63. package/lib/ui/gamification/vote/expired-alert/styles.js +4 -4
  64. package/lib/ui/gamification/vote/feedback/index.js +15 -15
  65. package/lib/ui/gamification/vote/feedback/styles.js +4 -4
  66. package/lib/ui/gamification/vote/insight-details/styles.js +2 -2
  67. package/lib/ui/gamification/vote/styles.js +2 -2
  68. package/lib/ui/gamification/vote/twitter-details/styles.js +4 -4
  69. package/lib/ui/gamification/vote/vote-option/styles.d.ts +4 -4
  70. package/lib/ui/gamification/vote/win-bar/styles.js +10 -10
  71. package/lib/ui/icons/index.js +1 -2
  72. package/lib/ui/login/styles.js +6 -6
  73. package/lib/ui/navigation/button/Channels.js +7 -7
  74. package/lib/ui/navigation/button/FeaturedGroups.js +3 -3
  75. package/lib/ui/navigation/button/LeaderBoard.js +1 -1
  76. package/lib/ui/navigation/index.js +1 -1
  77. package/lib/ui/navigation/masters.d.ts +1 -1
  78. package/lib/ui/navigation/masters.js +2 -2
  79. package/lib/ui/questions/insight/styles.js +8 -8
  80. package/lib/ui/questions/twitter/styles.js +4 -4
  81. package/lib/ui/show-in/index.js +8 -8
  82. package/lib/ui/timer/index.js +20 -20
  83. package/lib/ui/video-player/styles.js +8 -8
  84. package/lib/{index-ba93b6b2.js → useClipboardCopy-E5rEe6It.js} +1545 -1521
  85. package/lib/utils/debug/components/bypassLogin.js +14 -14
  86. package/lib/utils/debug/components/developer.js +18 -18
  87. package/lib/utils/debug/components/envToggle.js +9 -9
  88. package/lib/utils/debug/components/styles.js +2 -2
  89. package/lib/utils/debug/storage.js +14 -32
  90. package/lib/utils/storage.js +14 -32
  91. package/package.json +32 -33
  92. package/lib/index-39a0b9b6.js +0 -1168
  93. /package/lib/{LeaderBoard_16p26hz-4ed993c7.js → LeaderBoard_fzzlxb-w40geAFS.js} +0 -0
  94. /package/lib/{index_4nhkck-4ed993c7.js → index_ej4hfx-w40geAFS.js} +0 -0
  95. /package/lib/{masters_1wv7w2k-4ed993c7.js → masters_m6itlr-w40geAFS.js} +0 -0
  96. /package/lib/{styles_hxnaic-4ed993c7.js → styles_z07sl8-w40geAFS.js} +0 -0
@@ -1,19 +1,21 @@
1
- import { jsxs as h, Fragment as S, jsx as s } from "react/jsx-runtime";
2
- import { useStore as b } from "@nanostores/react";
3
- import { useState as a, useMemo as T, useEffect as d, useRef as x, useCallback as v } from "react";
4
- import { r as D } from "../../../index-ba93b6b2.js";
1
+ import { jsxs as h, Fragment as v, jsx as m } from "react/jsx-runtime";
2
+ import { useStore as O } from "@nanostores/react";
3
+ import { useState as a, useMemo as S, useEffect as g, useRef as T, useCallback as R } from "react";
4
+ import { r as C } from "../../../useClipboardCopy-E5rEe6It.js";
5
5
  import { NotificationType as c } from "@streamlayer/sdk-web-notifications";
6
- import { QuestionTypeData as E } from "../../gamification/constants.js";
7
- import { Notification as O } from "../../gamification/question/notification/index.js";
8
- import { PredictionResult as P } from "../../gamification/question/notification/prediction-result/index.js";
9
- import { Onboarding as C } from "./Onboarding/index.js";
10
- import { Pill as I, InnerContainer as R, Container as q, NotificationRefreshing as B } from "./styles.js";
11
- import "../../../index-39a0b9b6.js";
6
+ import { QuestionTypeData as D } from "../../gamification/constants.js";
7
+ import { Notification as b } from "../../gamification/question/notification/index.js";
8
+ import { PredictionResult as E } from "../../gamification/question/notification/prediction-result/index.js";
9
+ import { Onboarding as P } from "./Onboarding/index.js";
10
+ import { Pill as x, HiddenContainer as I, Container as B, InnerContainer as H, NotificationRefreshing as q } from "./styles.js";
11
+ import "../../../index-uEuzH3jr.js";
12
+ import "../../gamification/copyNotification/index.js";
13
+ import "../../icons/index.js";
14
+ import "@linaria/react";
15
+ import "../../gamification/copyNotification/styles.js";
12
16
  import "@streamlayer/sdk-web-types";
13
17
  import "../../gamification/question/notification/insight/index.js";
14
18
  import "../../video-player/index.js";
15
- import "../../icons/index.js";
16
- import "@linaria/react";
17
19
  import "../../video-player/styles.js";
18
20
  import "../../gamification/question/notification/insight/styles.js";
19
21
  import "../../gamification/question/notification/styles.js";
@@ -44,78 +46,77 @@ import "./Onboarding/Notification/styles.js";
44
46
  import "../../gamification/question/notification/pill/index.js";
45
47
  import "../../gamification/question/notification/pill/styles.js";
46
48
  const w = (p) => {
47
- const [t, o] = a(0), e = x(null), m = v((i) => {
49
+ const [t, o] = a(0), e = T(null), s = R((i) => {
48
50
  e.current = i;
49
51
  }, []);
50
- d(() => {
52
+ g(() => {
51
53
  var n;
52
54
  const i = (n = e.current) == null ? void 0 : n.getBoundingClientRect();
53
55
  i && o(i.height);
54
56
  }, [p]);
55
- const r = v((i) => {
57
+ const r = R((i) => {
56
58
  o(i);
57
59
  }, []);
58
- return [m, t, r];
59
- }, H = ({
60
+ return [s, t, r];
61
+ }, Q = ({
60
62
  sdk: p,
61
63
  notification: t,
62
64
  appNode: o
63
65
  }) => {
64
66
  var i, n;
65
- const [e, m, r] = w(t.id);
66
- return t.type === c.QUESTION ? /* @__PURE__ */ h(S, {
67
- children: [/* @__PURE__ */ s(R, {
67
+ const [e, s, r] = w(t.id);
68
+ return t.type === c.QUESTION ? /* @__PURE__ */ h(v, {
69
+ children: [/* @__PURE__ */ m(I, {
68
70
  ref: e,
69
71
  style: {
70
- position: "absolute",
71
- visibility: "hidden"
72
+ position: "absolute"
72
73
  },
73
- children: /* @__PURE__ */ s(O, {
74
+ children: /* @__PURE__ */ m(b, {
74
75
  ...t
75
76
  })
76
- }), /* @__PURE__ */ h(q, {
77
+ }), /* @__PURE__ */ h(B, {
77
78
  style: {
78
- height: t.hiding ? 0 : m
79
+ height: t.hiding ? 0 : s
79
80
  },
80
81
  hiding: t.hiding,
81
- children: [/* @__PURE__ */ s(R, {
82
+ children: [/* @__PURE__ */ m(H, {
82
83
  style: {
83
84
  height: "100%"
84
85
  },
85
- children: /* @__PURE__ */ s(O, {
86
+ children: /* @__PURE__ */ m(b, {
86
87
  ...t
87
88
  })
88
- }), /* @__PURE__ */ s(B, {}, t.id)]
89
+ }), /* @__PURE__ */ m(q, {}, t.id)]
89
90
  })]
90
- }) : t.type === c.QUESTION_RESOLVED && ((n = (i = t.data) == null ? void 0 : i.question) != null && n.predictionResult) ? /* @__PURE__ */ s(P, {
91
+ }) : t.type === c.QUESTION_RESOLVED && ((n = (i = t.data) == null ? void 0 : i.question) != null && n.predictionResult) ? /* @__PURE__ */ m(E, {
91
92
  style: {
92
- height: t.hiding ? 0 : m
93
+ height: t.hiding ? 0 : s
93
94
  },
94
95
  saveHeight: r,
95
96
  close: t.close,
96
97
  hiding: t.hiding,
97
98
  ...t.data.question
98
- }) : t.type === c.ONBOARDING && o.current ? /* @__PURE__ */ s(C, {
99
+ }) : t.type === c.ONBOARDING && o.current ? /* @__PURE__ */ m(P, {
99
100
  style: {
100
- height: t.hiding ? 0 : m
101
+ height: t.hiding ? 0 : s
101
102
  },
102
103
  saveHeight: r,
103
104
  sdk: p,
104
105
  notification: t,
105
106
  appNode: o
106
107
  }) : null;
107
- }, Dt = ({
108
+ }, xt = ({
108
109
  sdk: p,
109
110
  scrollNode: t,
110
111
  appNode: o,
111
112
  scrollStore: e
112
113
  }) => {
113
114
  var f, y;
114
- const [m] = a(p.getNotificationsStore()), r = b(m), {
115
+ const [s] = a(p.getNotificationsStore()), r = O(s), {
115
116
  tabsShown: i
116
- } = b(e, {
117
+ } = O(e, {
117
118
  keys: ["tabsShown"]
118
- }), [n, g] = a(null), l = T(() => {
119
+ }), [n, d] = a(null), l = S(() => {
119
120
  if (!(r != null && r.size))
120
121
  return null;
121
122
  for (const N of r.values())
@@ -123,17 +124,17 @@ const w = (p) => {
123
124
  return N;
124
125
  return r.values().next().value;
125
126
  }, [r]);
126
- return d(() => {
127
- l && e.get().scrollPosition > 0 && g(l);
128
- }, [l, e]), d(() => e.listen((u) => {
129
- u.scrollPosition === 0 && g(null);
130
- }), [e]), /* @__PURE__ */ h(S, {
131
- children: [!n && l && /* @__PURE__ */ s(H, {
127
+ return g(() => {
128
+ l && e.get().scrollPosition > 0 && d(l);
129
+ }, [l, e]), g(() => e.listen((u) => {
130
+ u.scrollPosition === 0 && d(null);
131
+ }), [e]), /* @__PURE__ */ h(v, {
132
+ children: [!n && l && /* @__PURE__ */ m(Q, {
132
133
  appNode: o,
133
134
  sdk: p,
134
135
  notification: l
135
- }), n && o.current && D.createPortal(/* @__PURE__ */ s(I, {
136
- title: `New ${((y = E[(f = n.data) == null ? void 0 : f.questionType]) == null ? void 0 : y.label) || "notification"}`,
136
+ }), n && o.current && C.createPortal(/* @__PURE__ */ m(x, {
137
+ title: `New ${((y = D[(f = n.data) == null ? void 0 : f.questionType]) == null ? void 0 : y.label) || "notification"}`,
137
138
  onClick: () => {
138
139
  var u;
139
140
  (u = t.current) == null || u.scrollTo({
@@ -146,5 +147,5 @@ const w = (p) => {
146
147
  });
147
148
  };
148
149
  export {
149
- Dt as SDKNotifications
150
+ xt as SDKNotifications
150
151
  };
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: any;
3
3
  export declare const InnerContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const HiddenContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ }>;
4
7
  export declare const NotificationRefreshing: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
8
  export declare const Pill: any;
@@ -1,31 +1,36 @@
1
1
  import { styled as s } from "@linaria/react";
2
- import { Pill as o } from "../../gamification/question/notification/pill/index.js";
3
- import { ShowIn as n } from "../../show-in/index.js";
2
+ import { Pill as n } from "../../gamification/question/notification/pill/index.js";
3
+ import { ShowIn as o } from "../../show-in/index.js";
4
4
  import "react/jsx-runtime";
5
5
  import "../../icons/index.js";
6
6
  import "react";
7
7
  import "../../gamification/question/notification/pill/styles.js";
8
8
  import "@linaria/core";
9
- const r = () => n, I = /* @__PURE__ */ s(r())({
9
+ const i = () => o, h = /* @__PURE__ */ s(i())({
10
10
  name: "Container",
11
11
  class: "ctckejh",
12
12
  propsAsIs: !0
13
- }), h = /* @__PURE__ */ s("div")({
13
+ }), r = /* @__PURE__ */ s("div")({
14
14
  name: "InnerContainer",
15
15
  class: "i1ri7tzr",
16
16
  propsAsIs: !1
17
- }), A = /* @__PURE__ */ s("div")({
17
+ }), t = () => r, C = /* @__PURE__ */ s(t())({
18
+ name: "HiddenContainer",
19
+ class: "h1ng1qh5",
20
+ propsAsIs: !0
21
+ }), u = /* @__PURE__ */ s("div")({
18
22
  name: "NotificationRefreshing",
19
- class: "n1ng1qh5",
23
+ class: "nruq6ik",
20
24
  propsAsIs: !1
21
- }), t = () => o, C = /* @__PURE__ */ s(t())({
25
+ }), e = () => n, A = /* @__PURE__ */ s(e())({
22
26
  name: "Pill",
23
- class: "pruq6ik",
27
+ class: "pj6uyys",
24
28
  propsAsIs: !0
25
29
  });
26
30
  export {
27
- I as Container,
28
- h as InnerContainer,
29
- A as NotificationRefreshing,
30
- C as Pill
31
+ h as Container,
32
+ C as HiddenContainer,
33
+ r as InnerContainer,
34
+ u as NotificationRefreshing,
35
+ A as Pill
31
36
  };
@@ -1,8 +1,10 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { useStore as u } from "@nanostores/react";
3
- import { useState as a, useEffect as p } from "react";
4
- import { FeatureType as c } from "@streamlayer/sdk-web-types";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { useState as p, useEffect as u } from "react";
3
+ import { FeatureType as a } from "@streamlayer/sdk-web-types";
4
+ import { useSdkFeature as c } from "../useSdkFeature.js";
5
5
  import { Points as f } from "../../gamification/points/index.js";
6
+ import "@nanostores/react";
7
+ import "@streamlayer/sdk-web-interfaces";
6
8
  import "../../animated-counter/index.js";
7
9
  import "react-countup";
8
10
  import "../../theme/theme.js";
@@ -11,22 +13,20 @@ import "../../gamification/points/styles.js";
11
13
  import "@linaria/react";
12
14
  import "../../icons/index.js";
13
15
  const S = ({ userSummary: t }) => {
14
- const [o, r] = a(0);
15
- return p(() => {
16
+ const [o, r] = p(0);
17
+ return u(() => {
16
18
  const n = t.subscribe((e) => {
17
- var s, i;
18
- (i = (s = e.data) == null ? void 0 : s.summary) != null && i.points && r(e.data.summary.points);
19
+ var i, m;
20
+ (m = (i = e.data) == null ? void 0 : i.summary) != null && m.points && r(e.data.summary.points);
19
21
  });
20
22
  return () => {
21
23
  n();
22
24
  };
23
- }, [t]), /* @__PURE__ */ m(f, { points: o });
24
- }, j = ({ sdk: t }) => {
25
- if (u(t.sdkStore.status) !== "ready")
26
- return null;
27
- const r = t.getFeature(c.GAMES);
28
- return r ? /* @__PURE__ */ m(S, { userSummary: r.userSummary.getStore() }) : null;
25
+ }, [t]), /* @__PURE__ */ s(f, { points: o });
26
+ }, k = ({ sdk: t }) => {
27
+ const [o, r] = c(t);
28
+ return o !== a.GAMES || !r ? null : /* @__PURE__ */ s(S, { userSummary: r.userSummary.getStore() });
29
29
  };
30
30
  export {
31
- j as StreamLayerSDKPoints
31
+ k as StreamLayerSDKPoints
32
32
  };
@@ -19,16 +19,18 @@ import "@streamlayer/sdk-web-interfaces";
19
19
  import "../navigation/masters.js";
20
20
  import "@linaria/react";
21
21
  import "../navigation/index.js";
22
- import "../../index_4nhkck-4ed993c7.js";
23
- import "../../masters_1wv7w2k-4ed993c7.js";
24
- import "../../index-ba93b6b2.js";
25
- import "../../index-39a0b9b6.js";
22
+ import "../../index_ej4hfx-w40geAFS.js";
23
+ import "../../masters_m6itlr-w40geAFS.js";
24
+ import "../../useClipboardCopy-E5rEe6It.js";
25
+ import "../../index-uEuzH3jr.js";
26
+ import "../gamification/copyNotification/index.js";
27
+ import "../icons/index.js";
28
+ import "../gamification/copyNotification/styles.js";
26
29
  import "@streamlayer/sdk-web-notifications";
27
30
  import "../gamification/constants.js";
28
31
  import "../gamification/question/notification/index.js";
29
32
  import "../gamification/question/notification/insight/index.js";
30
33
  import "../video-player/index.js";
31
- import "../icons/index.js";
32
34
  import "../video-player/styles.js";
33
35
  import "../gamification/question/notification/insight/styles.js";
34
36
  import "../gamification/question/notification/styles.js";
@@ -62,7 +64,7 @@ import "./Notifications/styles.js";
62
64
  import "../gamification/question/notification/pill/index.js";
63
65
  import "../gamification/question/notification/pill/styles.js";
64
66
  import "../navigation/button/styles.js";
65
- import "../../LeaderBoard_16p26hz-4ed993c7.js";
67
+ import "../../LeaderBoard_fzzlxb-w40geAFS.js";
66
68
  import "../navigation/button/index.js";
67
69
  import "lodash.throttle";
68
70
  const K = ({ sdk: t, className: p, scrollStore: e, appNode: r, scrollNode: a }) => {
@@ -78,7 +80,7 @@ const K = ({ sdk: t, className: p, scrollStore: e, appNode: r, scrollNode: a })
78
80
  sdk: t
79
81
  }
80
82
  );
81
- }, Jt = ({ sdk: t, overlays: p, children: e }) => {
83
+ }, Qt = ({ sdk: t, overlays: p, children: e }) => {
82
84
  const [r, a] = F(), o = g(null), { sdkEnabled: s, sdkReady: n, activeOverlay: i, activateAndLoadOverlay: l, activateEventWithId: f, deactivate: u, isLogged: v } = x(t);
83
85
  return h(() => {
84
86
  import("./Features/Gamification/gamification-feature.js");
@@ -111,5 +113,5 @@ const K = ({ sdk: t, className: p, scrollStore: e, appNode: r, scrollNode: a })
111
113
  ] });
112
114
  };
113
115
  export {
114
- Jt as MastersApp
116
+ Qt as MastersApp
115
117
  };
@@ -2,13 +2,13 @@
2
2
  export declare const SDKContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
3
  export declare const SDKScrollContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
4
  export declare const SDKContentContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const SDKWhiteContainer: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
6
- as?: import("react").ElementType<any> | undefined;
5
+ export declare const SDKWhiteContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  }>;
8
8
  export declare const TabsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const LeaderboardContainer: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
10
- as?: import("react").ElementType<any> | undefined;
9
+ export declare const LeaderboardContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
10
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
11
  }>;
12
- export declare const TabsNavContainer: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
13
- as?: import("react").ElementType<any> | undefined;
12
+ export declare const TabsNavContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
13
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
14
  }>;
@@ -1,17 +1,17 @@
1
1
  import { styled as s } from "@linaria/react";
2
- const c = /* @__PURE__ */ s("div")({
2
+ const i = /* @__PURE__ */ s("div")({
3
3
  name: "SDKContainer",
4
4
  class: "stu11h7",
5
5
  propsAsIs: !1
6
- }), i = /* @__PURE__ */ s("div")({
6
+ }), c = /* @__PURE__ */ s("div")({
7
7
  name: "SDKScrollContainer",
8
8
  class: "s1ucohr1",
9
9
  propsAsIs: !1
10
- }), e = /* @__PURE__ */ s("div")({
10
+ }), a = /* @__PURE__ */ s("div")({
11
11
  name: "SDKContentContainer",
12
12
  class: "s1el4wvm",
13
13
  propsAsIs: !1
14
- }), a = () => e, n = /* @__PURE__ */ s(a())({
14
+ }), e = () => a, n = /* @__PURE__ */ s(e())({
15
15
  name: "SDKWhiteContainer",
16
16
  class: "s1oe3036",
17
17
  propsAsIs: !0
@@ -30,9 +30,9 @@ const c = /* @__PURE__ */ s("div")({
30
30
  });
31
31
  export {
32
32
  l as LeaderboardContainer,
33
- c as SDKContainer,
34
- e as SDKContentContainer,
35
- i as SDKScrollContainer,
33
+ i as SDKContainer,
34
+ a as SDKContentContainer,
35
+ c as SDKScrollContainer,
36
36
  n as SDKWhiteContainer,
37
37
  p as TabsContainer,
38
38
  C as TabsNavContainer
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const useClipboardCopy: (appNode: React.MutableRefObject<HTMLDivElement | null>) => [(link: string | undefined) => Promise<void>, import("react").ReactPortal | null];
@@ -0,0 +1,11 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { u } from "../../useClipboardCopy-E5rEe6It.js";
4
+ import "../gamification/copyNotification/index.js";
5
+ import "../../index-uEuzH3jr.js";
6
+ import "../icons/index.js";
7
+ import "@linaria/react";
8
+ import "../gamification/copyNotification/styles.js";
9
+ export {
10
+ u as useClipboardCopy
11
+ };
@@ -7,9 +7,9 @@ import { FeaturedGroupsButtonId as n } from "../navigation/button/FeaturedGroups
7
7
  import "@linaria/react";
8
8
  import "../icons/index.js";
9
9
  import "../navigation/button/styles.js";
10
- import "../../LeaderBoard_16p26hz-4ed993c7.js";
11
- import "../../index_4nhkck-4ed993c7.js";
12
- import "../../masters_1wv7w2k-4ed993c7.js";
10
+ import "../../LeaderBoard_fzzlxb-w40geAFS.js";
11
+ import "../../index_ej4hfx-w40geAFS.js";
12
+ import "../../masters_m6itlr-w40geAFS.js";
13
13
  import "../navigation/button/index.js";
14
14
  const U = (t) => {
15
15
  const a = h(""), [f, l] = d(!1), A = m(t.status), r = m(t.userId()), i = A === "ready", [s, u] = d(n), p = F(
@@ -6,4 +6,4 @@ import { FeatureType } from '@streamlayer/sdk-web-types';
6
6
  * @param sdk - The StreamLayerSDK instance to manage the feature for.
7
7
  * @returns A tuple containing the active feature type and the active feature instance, or null if there is no active feature.
8
8
  */
9
- export declare const useSdkFeature: (sdk: StreamLayerSDK) => [FeatureType, Features | null];
9
+ export declare const useSdkFeature: (sdk: StreamLayerSDK) => [FeatureType | undefined, Features | null];
@@ -7,7 +7,7 @@ const d = (r) => {
7
7
  const u = r.getFeatures();
8
8
  if (s)
9
9
  for (const [e, t] of u)
10
- e === s ? t.status.get() === a.Suspended && (t.enable(), f(t)) : t.status.get() === a.Ready && t.disable();
10
+ e === s ? (t.status.get() === a.Suspended && t.enable(), f(t)) : t.status.get() === a.Ready && t.disable();
11
11
  else {
12
12
  for (const [, e] of u)
13
13
  e.status.get() === a.Ready && e.disable();
@@ -1,6 +1,6 @@
1
1
  import a from "lodash.throttle";
2
- import { useRef as f, useState as v, useCallback as d, useEffect as p } from "react";
3
- import { d as m } from "../../index-39a0b9b6.js";
2
+ import { useRef as f, useState as v, useCallback as p, useEffect as d } from "react";
3
+ import { p as m } from "../../index-uEuzH3jr.js";
4
4
  let h = Symbol("clean"), n = [], b = (i, r) => {
5
5
  let l = [], e = {
6
6
  get() {
@@ -52,7 +52,7 @@ let h = Symbol("clean"), n = [], b = (i, r) => {
52
52
  },
53
53
  value: i
54
54
  };
55
- return m.process.env.NODE_ENV !== "production" && (e[h] = () => {
55
+ return m.env.NODE_ENV !== "production" && (e[h] = () => {
56
56
  l = [], e.lc = 0, e.off();
57
57
  }), e;
58
58
  }, g = (i = {}) => {
@@ -70,7 +70,7 @@ const w = () => {
70
70
  scrollPosition: 0,
71
71
  scrollDirection: "forward"
72
72
  })
73
- ), e = d(
73
+ ), e = p(
74
74
  a((o) => {
75
75
  const s = o.target;
76
76
  if (!s)
@@ -80,7 +80,7 @@ const w = () => {
80
80
  }, 200),
81
81
  []
82
82
  );
83
- return p(() => {
83
+ return d(() => {
84
84
  const o = i.current;
85
85
  return o ? (o.addEventListener("scroll", e), () => {
86
86
  o.removeEventListener("scroll", e);
@@ -3,17 +3,17 @@ const n = /* @__PURE__ */ s("button")({
3
3
  name: "Container",
4
4
  class: "cpjnajb",
5
5
  propsAsIs: !1
6
- }), e = /* @__PURE__ */ s("div")({
6
+ }), a = /* @__PURE__ */ s("div")({
7
7
  name: "Content",
8
8
  class: "c4m6kaz",
9
9
  propsAsIs: !1
10
- }), o = /* @__PURE__ */ s("span")({
10
+ }), e = /* @__PURE__ */ s("span")({
11
11
  name: "Title",
12
12
  class: "t1h8t9cc",
13
13
  propsAsIs: !1
14
14
  });
15
15
  export {
16
16
  n as Container,
17
- e as Content,
18
- o as Title
17
+ a as Content,
18
+ e as Title
19
19
  };
@@ -1,25 +1,25 @@
1
- import { jsxs as g, jsx as D } from "react/jsx-runtime";
2
- import { QuestionImages as N } from "@streamlayer/sdk-web-types";
3
- import { Container as n, Graphic as z, Content as T, Title as E, NextIcon as u, InsightIconDefault as A, InsightIconAbsolute as x, InsightIconCircle as t } from "./styles.js";
1
+ import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
+ import { QuestionImages as c } from "@streamlayer/sdk-web-types";
3
+ import { Container as h, Graphic as l, Content as C, Title as g, NextIcon as a, InsightIconDefault as I, InsightIconAbsolute as d, InsightIconCircle as u } from "./styles.js";
4
4
  import "@linaria/react";
5
- const y = "data:image/svg+xml;base64,PH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ljg0ODQ2QzExLjk3NjggNy45NDc4NCAxMS45OTkxIDguMDU1NzYgMTIgOC4xNzIyMloiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", O = (I, M) => {
6
- switch (I) {
7
- case N.ROUNDED:
8
- return /* @__PURE__ */ D(t, { alt: "insight-icon", src: M });
9
- case N.TRANSPARENT:
10
- return /* @__PURE__ */ D(x, { alt: "insight-icon", src: M });
11
- case N.CENTERED:
12
- return /* @__PURE__ */ D(A, { alt: "insight-icon", src: M });
5
+ const m = "data:image/svg+xml,%3csvg%20width='16'%20height='17'%20viewBox='0%200%2016%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Chevron'%3e%3cpath%20id='Chevron_2'%20d='M12%208.17222C12%208.28783%2011.9781%208.39553%2011.9342%208.49533C11.8903%208.59513%2011.822%208.68992%2011.7292%208.7797L6.36949%2013.9439C6.21462%2014.0965%206.02742%2014.1729%205.80787%2014.1729C5.65752%2014.1729%205.52191%2014.1379%205.40104%2014.0679C5.28016%2013.998%205.1831%2013.9039%205.10986%2013.7856C5.03662%2013.6673%205%2013.5345%205%2013.3873C5%2013.1721%205.08288%2012.9818%205.24863%2012.8164L10.0807%208.17095L5.24863%203.52799C5.08288%203.36425%205%203.17439%205%202.95841C5%202.81118%205.03662%202.67842%205.10986%202.56013C5.1831%202.44183%205.28016%202.34771%205.40104%202.27777C5.52191%202.20782%205.65752%202.17285%205.80787%202.17285C6.02742%202.17285%206.21462%202.24731%206.36949%202.39624L11.7292%207.56473C11.8211%207.65451%2011.889%207.74909%2011.9329%207.84846C11.9768%207.94784%2011.9991%208.05576%2012%208.17222Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3c/svg%3e", p = (i, n) => {
6
+ switch (i) {
7
+ case c.ROUNDED:
8
+ return /* @__PURE__ */ t(u, { alt: "insight-icon", src: n });
9
+ case c.TRANSPARENT:
10
+ return /* @__PURE__ */ t(d, { alt: "insight-icon", src: n });
11
+ case c.CENTERED:
12
+ return /* @__PURE__ */ t(I, { alt: "insight-icon", src: n });
13
13
  default:
14
14
  return null;
15
15
  }
16
- }, e = ({ title: I, image: M, questionId: j, imageMode: i, openInsight: c }) => /* @__PURE__ */ g(n, { onClick: () => c(j), children: [
17
- /* @__PURE__ */ D(z, { children: M && O(i, M) }),
18
- /* @__PURE__ */ g(T, { children: [
19
- /* @__PURE__ */ D(E, { children: I || "" }),
20
- /* @__PURE__ */ D(u, { alt: "next-icon", src: y })
16
+ }, F = ({ title: i, image: n, questionId: r, imageMode: o, openInsight: s }) => /* @__PURE__ */ e(h, { onClick: () => s(r), children: [
17
+ /* @__PURE__ */ t(l, { children: n && p(o, n) }),
18
+ /* @__PURE__ */ e(C, { children: [
19
+ /* @__PURE__ */ t(g, { children: i || "" }),
20
+ /* @__PURE__ */ t(a, { alt: "next-icon", src: m })
21
21
  ] })
22
22
  ] });
23
23
  export {
24
- e as Insight
24
+ F as Insight
25
25
  };
@@ -7,11 +7,11 @@ const e = /* @__PURE__ */ s("div")({
7
7
  name: "Content",
8
8
  class: "c71yvf9",
9
9
  propsAsIs: !1
10
- }), t = /* @__PURE__ */ s("div")({
10
+ }), a = /* @__PURE__ */ s("div")({
11
11
  name: "Graphic",
12
12
  class: "gao3b2f",
13
13
  propsAsIs: !1
14
- }), a = /* @__PURE__ */ s("img")({
14
+ }), t = /* @__PURE__ */ s("img")({
15
15
  name: "InsightIconDefault",
16
16
  class: "i1k4eec3",
17
17
  propsAsIs: !1
@@ -35,10 +35,10 @@ const e = /* @__PURE__ */ s("div")({
35
35
  export {
36
36
  e as Container,
37
37
  o as Content,
38
- t as Graphic,
38
+ a as Graphic,
39
39
  i as InsightIconAbsolute,
40
40
  c as InsightIconCircle,
41
- a as InsightIconDefault,
41
+ t as InsightIconDefault,
42
42
  p as NextIcon,
43
43
  l as Title
44
44
  };
@@ -1,14 +1,14 @@
1
1
  import { styled as s } from "@linaria/react";
2
- const e = /* @__PURE__ */ s("div")({
2
+ const n = /* @__PURE__ */ s("div")({
3
3
  name: "Container",
4
4
  class: "cddmj9e",
5
5
  propsAsIs: !1
6
- }), n = /* @__PURE__ */ s("div")({
6
+ }), t = /* @__PURE__ */ s("div")({
7
7
  name: "ItemsContainer",
8
8
  class: "i16t83sg",
9
9
  propsAsIs: !1
10
10
  });
11
11
  export {
12
- e as Container,
13
- n as ItemsContainer
12
+ n as Container,
13
+ t as ItemsContainer
14
14
  };
@@ -1,16 +1,16 @@
1
- import { jsxs as N, jsx as M } from "react/jsx-runtime";
2
- import { Container as g, FriendsIcon as x, Content as E, Title as A, Description as z, ArrowInviteIcon as O } from "./styles.js";
1
+ import { jsxs as i, jsx as C } from "react/jsx-runtime";
2
+ import { Container as o, FriendsIcon as c, Content as l, Title as s, Description as h, ArrowInviteIcon as d } from "./styles.js";
3
3
  import "@linaria/react";
4
4
  import "../../icons/index.js";
5
5
  import "react";
6
- const L = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMC40NjE1IDEyLjY4NzVDOS40NDIzMSAxMi42ODc1IDguNjE1MzggMTMuNDY2NSA4LjYxNTM4IDE0LjQyNjZDOC42MTUzOCAxNS4zODY4IDkuNDQyMzEgMTYuMTY1OCAxMC40NjE1IDE2LjE2NThDMTEuNDgwOCAxNi4xNjU4IDEyLjMwNzcgMTUuMzg2OCAxMi4zMDc3IDE0LjQyNjZDMTIuMzA3NyAxMy40NjY1IDExLjQ4MDggMTIuNjg3NSAxMC40NjE1IDEyLjY4NzVaTTEwLjQ2MTUgMTYuMTY1OEM5LjEwODE3IDE2LjE2NTggOCAxNy4yMDk3IDggMTguNDg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NzUgMjAuNTY3MiAxMS44NjE2IDIwLjU2NzIgMTAuODQzN0MyMC41NjcyIDkuODI1ODQgMTkuNjkwNSA5IDE4LjYxIDlaTTE4LjYxIDEyLjY4NzVDMTcuNjMxNCAxMi42ODc1IDE2Ljc4MjggMTMuMTc5NiAxNi4zMjY2IDEzLjkxNjZDMTcuMzA1MiAxNC4wMzkxIDE4LjE0ODcgMTQuNTI0IDE4LjY3MTIgMTUuMjYxQzE4LjY3MTIgMTUuMDE2MSAxOC42MSAxNC43NzYxIDE4LjYxIDE0LjUzMTJDMTguNjEgMTMuODU0MiAxOC44MDg4IDEzLjIzNzIgMTkuMjAxMiAxMi43NDUxQzE5LjAwNSAxMi42ODI3IDE4LjgwNjIgMTIuNjg3NSAxOC42MSAxMi42ODc1WiIgZmlsbD0iIzEwN0Q1NyIvPgo8L3N2Zz4K", Q = ({ title: D, description: j, onClick: I, className: T }) => /* @__PURE__ */ N(g, { onClick: I, className: T, children: [
7
- /* @__PURE__ */ M(x, { alt: "friends-icon", src: L }),
8
- /* @__PURE__ */ N(E, { children: [
9
- /* @__PURE__ */ M(A, { children: D }),
10
- /* @__PURE__ */ M(z, { children: j })
6
+ const p = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='white'/%3e%3cpath%20d='M10.4615%2012.6875C9.44231%2012.6875%208.61538%2013.4665%208.61538%2014.4266C8.61538%2015.3868%209.44231%2016.1658%2010.4615%2016.1658C11.4808%2016.1658%2012.3077%2015.3868%2012.3077%2014.4266C12.3077%2013.4665%2011.4808%2012.6875%2010.4615%2012.6875ZM10.4615%2016.1658C9.10817%2016.1658%208%2017.2097%208%2018.4846V19.7527C8%2019.7527%208.61538%2020.2237%2010.4615%2020.2237C12.3077%2020.2237%2012.9231%2019.7527%2012.9231%2019.7527V18.4846C12.9231%2017.2097%2011.8149%2016.1658%2010.4615%2016.1658ZM21.5385%2012.6875C20.5192%2012.6875%2019.6923%2013.4665%2019.6923%2014.4266C19.6923%2015.3868%2020.5192%2016.1658%2021.5385%2016.1658C22.5577%2016.1658%2023.3846%2015.3868%2023.3846%2014.4266C23.3846%2013.4665%2022.5577%2012.6875%2021.5385%2012.6875ZM21.5385%2016.1658C20.1851%2016.1658%2019.0769%2017.2097%2019.0769%2018.4846V19.7527C19.0769%2019.7527%2019.6923%2020.2237%2021.5385%2020.2237C23.3846%2020.2237%2024%2019.7527%2024%2019.7527V18.4846C24%2017.2097%2022.8918%2016.1658%2021.5385%2016.1658ZM16%2015.0063C14.9808%2015.0063%2014.1538%2015.7853%2014.1538%2016.7455C14.1538%2017.7056%2014.9808%2018.4846%2016%2018.4846C17.0192%2018.4846%2017.8462%2017.7056%2017.8462%2016.7455C17.8462%2015.7853%2017.0192%2015.0063%2016%2015.0063ZM16%2018.4846C14.6466%2018.4846%2013.5385%2019.5285%2013.5385%2020.8034V22.0715C13.5385%2022.0715%2014.1538%2022.5425%2016%2022.5425C17.8462%2022.5425%2018.4615%2022.0715%2018.4615%2022.0715V20.8034C18.4615%2019.5285%2017.3534%2018.4846%2016%2018.4846Z'%20fill='%23107D57'/%3e%3cpath%20opacity='0.5'%20d='M13.3908%209C12.3103%209%2011.4336%209.82584%2011.4336%2010.8437C11.4336%2011.8616%2012.3103%2012.6875%2013.3908%2012.6875C14.4713%2012.6875%2015.348%2011.8616%2015.348%2010.8437C15.348%209.82584%2014.4713%209%2013.3908%209ZM13.3908%2012.6875C13.1946%2012.6875%2012.9958%2012.6827%2012.7996%2012.7451C13.192%2013.2372%2013.3908%2013.8542%2013.3908%2014.5312C13.3908%2014.7761%2013.3296%2015.0161%2013.3296%2015.261C13.8521%2014.524%2014.6956%2014.0391%2015.6742%2013.9166C15.218%2013.1796%2014.3694%2012.6875%2013.3908%2012.6875ZM18.61%209C17.5295%209%2016.6528%209.82584%2016.6528%2010.8437C16.6528%2011.8616%2017.5295%2012.6875%2018.61%2012.6875C19.6905%2012.6875%2020.5672%2011.8616%2020.5672%2010.8437C20.5672%209.82584%2019.6905%209%2018.61%209ZM18.61%2012.6875C17.6314%2012.6875%2016.7828%2013.1796%2016.3266%2013.9166C17.3052%2014.0391%2018.1487%2014.524%2018.6712%2015.261C18.6712%2015.0161%2018.61%2014.7761%2018.61%2014.5312C18.61%2013.8542%2018.8088%2013.2372%2019.2012%2012.7451C19.005%2012.6827%2018.8062%2012.6875%2018.61%2012.6875Z'%20fill='%23107D57'/%3e%3c/svg%3e", f = ({ title: t, description: e, onClick: n, className: r }) => /* @__PURE__ */ i(o, { onClick: n, className: r, children: [
7
+ /* @__PURE__ */ C(c, { alt: "friends-icon", src: p }),
8
+ /* @__PURE__ */ i(l, { children: [
9
+ /* @__PURE__ */ C(s, { children: t }),
10
+ /* @__PURE__ */ C(h, { children: e })
11
11
  ] }),
12
- /* @__PURE__ */ M(O, { name: "icon-copy" })
12
+ /* @__PURE__ */ C(d, { name: "icon-copy" })
13
13
  ] });
14
14
  export {
15
- Q as InviteLink
15
+ f as InviteLink
16
16
  };