@streamlayer/react-ui 0.42.1 → 0.44.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 (72) hide show
  1. package/lib/{icon-exit-6a55bb8f.js → icon-exit-d3f9fc80.js} +1 -1
  2. package/lib/{index-7045fbb2.js → index-7f3361f2.js} +1 -1
  3. package/lib/index.js +36 -41
  4. package/lib/ui/app/Features/Gamification/Leaderboard.js +11 -19
  5. package/lib/ui/app/Features/Gamification/Question.js +32 -27
  6. package/lib/ui/app/Features/Gamification/Tabs.js +15 -17
  7. package/lib/ui/app/Features/Gamification/index.js +20 -17
  8. package/lib/ui/app/Features/Highlights/Insight.js +1 -1
  9. package/lib/ui/app/Features/Highlights/index.js +1 -1
  10. package/lib/ui/app/Features/index.js +20 -17
  11. package/lib/ui/app/Notifications/index.js +1 -1
  12. package/lib/ui/app/masters.js +19 -17
  13. package/lib/ui/demo/Gamification.js +30 -35
  14. package/lib/ui/demo/Highlights.js +8 -12
  15. package/lib/ui/demo/Login.js +4 -5
  16. package/lib/ui/demo/components/Insight.js +1 -1
  17. package/lib/ui/demo/components/Leaderboard.js +11 -19
  18. package/lib/ui/demo/components/Question.js +49 -64
  19. package/lib/ui/demo/components/index.js +20 -25
  20. package/lib/ui/demo/index.js +8 -13
  21. package/lib/ui/gamification/common-header/index.js +8 -8
  22. package/lib/ui/gamification/detailed-insight/index.js +1 -1
  23. package/lib/ui/gamification/invite-link/index.d.ts +8 -0
  24. package/lib/ui/gamification/invite-link/index.js +14 -0
  25. package/lib/ui/gamification/{leaderboard-invite-link → invite-link}/styles.d.ts +0 -1
  26. package/lib/ui/gamification/invite-link/styles.js +48 -0
  27. package/lib/ui/gamification/leaderboard-item-detail/index.d.ts +1 -2
  28. package/lib/ui/gamification/leaderboard-item-detail/index.js +6 -16
  29. package/lib/ui/gamification/leaderboard-list/index.js +4 -10
  30. package/lib/ui/gamification/onboarding/index.js +19 -19
  31. package/lib/ui/gamification/user-statistics/index.js +31 -31
  32. package/lib/ui/gamification/vote/index.js +42 -35
  33. package/lib/ui/gamification/vote/styles.js +7 -7
  34. package/lib/ui/gamification/vote/{components/voting-option → vote-option}/index.js +1 -1
  35. package/lib/ui/gamification/vote/win-bar/index.d.ts +10 -0
  36. package/lib/ui/gamification/vote/win-bar/index.js +24 -0
  37. package/lib/ui/gamification/vote/win-bar/styles.d.ts +8 -0
  38. package/lib/ui/gamification/vote/win-bar/styles.js +50 -0
  39. package/lib/ui/icons/index.d.ts +0 -1
  40. package/lib/ui/icons/index.js +22 -23
  41. package/lib/ui/login/index.js +15 -17
  42. package/lib/ui/notifications/decorator.js +1 -1
  43. package/lib/ui/notifications/index.js +1 -1
  44. package/lib/ui/notifications/notification/index.js +1 -1
  45. package/lib/ui/notifications/notification/question-inapp/index.js +8 -8
  46. package/lib/ui/theme/constants.d.ts +4 -0
  47. package/lib/ui/theme/constants.js +2 -0
  48. package/lib/ui/timer/index.d.ts +9 -0
  49. package/lib/ui/timer/index.js +37 -0
  50. package/package.json +2 -2
  51. package/lib/ui/gamification/leaderboard-invite-link/index.d.ts +0 -8
  52. package/lib/ui/gamification/leaderboard-invite-link/index.js +0 -15
  53. package/lib/ui/gamification/leaderboard-invite-link/styles.js +0 -59
  54. package/lib/ui/gamification/vote/components/voting-header/components/points/index.d.ts +0 -6
  55. package/lib/ui/gamification/vote/components/voting-header/components/points/index.js +0 -13
  56. package/lib/ui/gamification/vote/components/voting-header/components/points/styles.d.ts +0 -6
  57. package/lib/ui/gamification/vote/components/voting-header/components/points/styles.js +0 -32
  58. package/lib/ui/gamification/vote/components/voting-header/components/timer/index.d.ts +0 -8
  59. package/lib/ui/gamification/vote/components/voting-header/components/timer/index.js +0 -28
  60. package/lib/ui/gamification/vote/components/voting-header/components/timer/styles.d.ts +0 -2
  61. package/lib/ui/gamification/vote/components/voting-header/components/timer/styles.js +0 -8
  62. package/lib/ui/gamification/vote/components/voting-header/index.d.ts +0 -12
  63. package/lib/ui/gamification/vote/components/voting-header/index.js +0 -44
  64. package/lib/ui/gamification/vote/components/voting-header/styles.d.ts +0 -11
  65. package/lib/ui/gamification/vote/components/voting-header/styles.js +0 -57
  66. /package/lib/ui/gamification/vote/{vote-header → header}/index.d.ts +0 -0
  67. /package/lib/ui/gamification/vote/{vote-header → header}/index.js +0 -0
  68. /package/lib/ui/gamification/vote/{vote-header → header}/styles.d.ts +0 -0
  69. /package/lib/ui/gamification/vote/{vote-header → header}/styles.js +0 -0
  70. /package/lib/ui/gamification/vote/{components/voting-option → vote-option}/index.d.ts +0 -0
  71. /package/lib/ui/gamification/vote/{components/voting-option → vote-option}/styles.d.ts +0 -0
  72. /package/lib/ui/gamification/vote/{components/voting-option → vote-option}/styles.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as s, Fragment as z } from "react/jsx-runtime";
2
2
  import { FeatureStatus as J } from "@streamlayer/sdk-web-interfaces";
3
- import { useStore as p } from "@nanostores/react";
3
+ import { useStore as n } from "@nanostores/react";
4
4
  import { useState as K } from "react";
5
5
  import { ActivePages as a, Tabs as N } from "../gamification/tabs/index.js";
6
6
  import { UserSummary as V } from "./components/UserSummary.js";
@@ -13,7 +13,7 @@ import "../gamification/insight-list/styles.js";
13
13
  import "../gamification/common-header/styles.js";
14
14
  import "../gamification/detailed-insight/styles.js";
15
15
  import { Leaderboard as Z } from "./components/Leaderboard.js";
16
- import { DemoContainer as m, UserStatisticsContainer as _, QuestionsContainer as $ } from "./styles.js";
16
+ import { DemoContainer as p, UserStatisticsContainer as _, QuestionsContainer as $ } from "./styles.js";
17
17
  import "../gamification/tabs/styles.js";
18
18
  import "@linaria/react";
19
19
  import "../gamification/user-statistics/index.js";
@@ -32,18 +32,15 @@ import "../gamification/question/styles.js";
32
32
  import "../icons/index.js";
33
33
  import "../gamification/question/list/styles.js";
34
34
  import "../gamification/vote/index.js";
35
- import "../../index-7045fbb2.js";
36
- import "../gamification/vote/components/voting-option/styles.js";
35
+ import "../../index-7f3361f2.js";
36
+ import "../gamification/vote/vote-option/styles.js";
37
37
  import "../gamification/vote/styles.js";
38
- import "../gamification/vote/components/voting-header/index.js";
39
- import "../../icon-exit-6a55bb8f.js";
40
- import "../gamification/vote/components/voting-header/components/points/index.js";
41
- import "../gamification/vote/components/voting-header/components/points/styles.js";
42
- import "../gamification/vote/components/voting-header/components/timer/index.js";
38
+ import "../gamification/vote/win-bar/index.js";
39
+ import "../timer/index.js";
43
40
  import "react-countdown-circle-timer";
44
41
  import "../theme/constants.js";
45
- import "../gamification/vote/components/voting-header/components/timer/styles.js";
46
- import "../gamification/vote/components/voting-header/styles.js";
42
+ import "../gamification/vote/win-bar/styles.js";
43
+ import "../../icon-exit-d3f9fc80.js";
47
44
  import "../gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.js";
48
45
  import "../gamification/onboarding/components/onboarding-slides/onboarding-instructions/styles.js";
49
46
  import "../gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.js";
@@ -55,39 +52,37 @@ import "../gamification/leaderboard-item-detail/index.js";
55
52
  import "../gamification/common-header/index.js";
56
53
  import "../gamification/leaderboard-item-detail/styles.js";
57
54
  import "../gamification/leaderboard-list/index.js";
58
- import "../gamification/leaderboard-invite-link/index.js";
59
- import "../gamification/leaderboard-invite-link/styles.js";
60
55
  import "../gamification/leaderboard-item/index.js";
61
56
  import "../gamification/leaderboard-item/styles.js";
62
57
  import "../gamification/leaderboard-list/styles.js";
63
- const st = ({
58
+ const ot = ({
64
59
  gamification: r,
65
60
  sdk: u
66
61
  }) => {
67
62
  var d, v, c, b, y, g, S, h, C, G, L, Q, A, E, f, w, x, P, F, O, B, D, R;
68
- const T = p(r.status), j = p(r.onboardingStatus), l = p(r.openedQuestion), { slStreamId: e } = p(u.sdkStore), o = p(r.featureSettings), [n, q] = K(a.HOME);
63
+ const T = n(r.status), j = n(r.onboardingStatus), l = n(r.openedQuestion), { slStreamId: o } = n(u.sdkStore), e = n(r.featureSettings), [m, q] = K(a.HOME);
69
64
  if (T !== J.Ready)
70
65
  return /* @__PURE__ */ t("div", { children: "wait..." });
71
- if (e != null && e.loading)
72
- return /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t("div", { children: "Event is loading" }) });
73
- if (!(e != null && e.data))
74
- return /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t("div", { children: "Event is forbidden" }) });
66
+ if (o != null && o.loading)
67
+ return /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t("div", { children: "Event is loading" }) });
68
+ if (!(o != null && o.data))
69
+ return /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t("div", { children: "Event is forbidden" }) });
75
70
  if (!j)
76
- return /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t(
71
+ return /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(
77
72
  Y,
78
73
  {
79
74
  closeFeature: u.closeFeature,
80
75
  gamification: r,
81
- steps: (v = (d = o.inplayGame) == null ? void 0 : d.onboarding) == null ? void 0 : v.steps,
82
- gameIcon: (y = (b = (c = o.inplayGame) == null ? void 0 : c.overview) == null ? void 0 : b.media) == null ? void 0 : y.gameIcon,
83
- sponsorLogo: (h = (S = (g = o.inplayGame) == null ? void 0 : g.overview) == null ? void 0 : S.media) == null ? void 0 : h.sponsorLogo,
84
- rules: (G = (C = o.inplayGame) == null ? void 0 : C.rules) == null ? void 0 : G.rules,
85
- rulesBtnLabel: (Q = (L = o.inplayGame) == null ? void 0 : L.rules) == null ? void 0 : Q.buttonLabel,
86
- rulesTitle: (E = (A = o.inplayGame) == null ? void 0 : A.rules) == null ? void 0 : E.heading,
87
- primaryColor: (x = (w = (f = o.inplayGame) == null ? void 0 : f.overview) == null ? void 0 : w.appearance) == null ? void 0 : x.primaryColor,
88
- inviteCardTitle: (F = (P = o.inplayGame) == null ? void 0 : P.inviteCard) == null ? void 0 : F.heading,
89
- inviteCardSubtext: (B = (O = o.inplayGame) == null ? void 0 : O.inviteCard) == null ? void 0 : B.subtext,
90
- inviteCardBtnLabel: (R = (D = o.inplayGame) == null ? void 0 : D.inviteCard) == null ? void 0 : R.buttonLabel
76
+ steps: (v = (d = e.inplayGame) == null ? void 0 : d.onboarding) == null ? void 0 : v.steps,
77
+ gameIcon: (y = (b = (c = e.inplayGame) == null ? void 0 : c.overview) == null ? void 0 : b.media) == null ? void 0 : y.gameIcon,
78
+ sponsorLogo: (h = (S = (g = e.inplayGame) == null ? void 0 : g.overview) == null ? void 0 : S.media) == null ? void 0 : h.sponsorLogo,
79
+ rules: (G = (C = e.inplayGame) == null ? void 0 : C.rules) == null ? void 0 : G.rules,
80
+ rulesBtnLabel: (Q = (L = e.inplayGame) == null ? void 0 : L.rules) == null ? void 0 : Q.buttonLabel,
81
+ rulesTitle: (E = (A = e.inplayGame) == null ? void 0 : A.rules) == null ? void 0 : E.heading,
82
+ primaryColor: (x = (w = (f = e.inplayGame) == null ? void 0 : f.overview) == null ? void 0 : w.appearance) == null ? void 0 : x.primaryColor,
83
+ inviteCardTitle: (F = (P = e.inplayGame) == null ? void 0 : P.inviteCard) == null ? void 0 : F.heading,
84
+ inviteCardSubtext: (B = (O = e.inplayGame) == null ? void 0 : O.inviteCard) == null ? void 0 : B.subtext,
85
+ inviteCardBtnLabel: (R = (D = e.inplayGame) == null ? void 0 : D.inviteCard) == null ? void 0 : R.buttonLabel
91
86
  }
92
87
  ) });
93
88
  const H = (i) => {
@@ -97,20 +92,20 @@ const st = ({
97
92
  }, U = (i, k) => {
98
93
  r.submitAnswer(i, k);
99
94
  };
100
- return /* @__PURE__ */ s(m, { children: [
101
- /* @__PURE__ */ t(N, { activePage: n, toggleActivePage: (i) => {
95
+ return /* @__PURE__ */ s(p, { children: [
96
+ /* @__PURE__ */ t(N, { activePage: m, toggleActivePage: (i) => {
102
97
  q(i);
103
98
  } }),
104
- n === a.HOME && /* @__PURE__ */ s(z, { children: [
99
+ m === a.HOME && /* @__PURE__ */ s(z, { children: [
105
100
  /* @__PURE__ */ t(_, { children: r.userSummary && /* @__PURE__ */ t(V, { store: r.userSummary.getStore() }) }),
106
101
  /* @__PURE__ */ s($, { children: [
107
102
  r.questions && /* @__PURE__ */ t(W, { openQuestion: H, store: r.questions.getStore() }),
108
103
  l && /* @__PURE__ */ t(X, { closeQuestion: M, vote: U, openedQuestion: l })
109
104
  ] })
110
105
  ] }),
111
- n === a.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ t(Z, { store: r.leaderboardList.getStore() })
106
+ m === a.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ t(Z, { store: r.leaderboardList.getStore() })
112
107
  ] });
113
108
  };
114
109
  export {
115
- st as GamificationComponent
110
+ ot as GamificationComponent
116
111
  };
@@ -17,7 +17,6 @@ import { Insights as c } from "./components/Insights.js";
17
17
  import { Insight as f } from "./components/Insight.js";
18
18
  import "../gamification/common-header/styles.js";
19
19
  import "../gamification/leaderboard-item-detail/styles.js";
20
- import "../gamification/leaderboard-invite-link/styles.js";
21
20
  import "../gamification/leaderboard-item/styles.js";
22
21
  import "../gamification/leaderboard-list/styles.js";
23
22
  import "@linaria/react";
@@ -28,26 +27,23 @@ import "../gamification/constants.js";
28
27
  import "../gamification/question/styles.js";
29
28
  import "../icons/index.js";
30
29
  import "../gamification/vote/index.js";
31
- import "../../index-7045fbb2.js";
32
- import "../gamification/vote/components/voting-option/styles.js";
30
+ import "../../index-7f3361f2.js";
31
+ import "../gamification/vote/vote-option/styles.js";
33
32
  import "../gamification/vote/styles.js";
34
- import "../gamification/vote/components/voting-header/index.js";
35
- import "../../icon-exit-6a55bb8f.js";
36
- import "../gamification/vote/components/voting-header/components/points/index.js";
37
- import "../gamification/vote/components/voting-header/components/points/styles.js";
38
- import "../gamification/vote/components/voting-header/components/timer/index.js";
33
+ import "../gamification/vote/win-bar/index.js";
34
+ import "../timer/index.js";
39
35
  import "react-countdown-circle-timer";
40
36
  import "../theme/constants.js";
41
- import "../gamification/vote/components/voting-header/components/timer/styles.js";
42
- import "../gamification/vote/components/voting-header/styles.js";
37
+ import "../gamification/vote/win-bar/styles.js";
43
38
  import "../gamification/insight-list/index.js";
44
39
  import "../gamification/insight/index.js";
45
40
  import "../gamification/insight/styles.js";
46
41
  import "../gamification/insight-list/styles.js";
47
42
  import "../gamification/detailed-insight/index.js";
48
43
  import "../gamification/common-header/index.js";
44
+ import "../../icon-exit-d3f9fc80.js";
49
45
  import "../gamification/detailed-insight/styles.js";
50
- const nt = ({ highlights: i, sdk: e }) => {
46
+ const rt = ({ highlights: i, sdk: e }) => {
51
47
  const n = m(i.status), r = m(i.openedInsight), { slStreamId: o } = m(e.sdkStore);
52
48
  return n !== d.Ready ? /* @__PURE__ */ t("div", { children: "wait..." }) : o != null && o.loading ? /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t("div", { children: "Event is loading" }) }) : o != null && o.data ? i.insights === void 0 ? /* @__PURE__ */ t("div", { children: "wait insights..." }) : /* @__PURE__ */ s(p, { children: [
53
49
  !r && /* @__PURE__ */ t(c, { highlights: i, store: i.insights.getStore() }),
@@ -62,5 +58,5 @@ const nt = ({ highlights: i, sdk: e }) => {
62
58
  ] }) : /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t("div", { children: "Event is forbidden" }) });
63
59
  };
64
60
  export {
65
- nt as HighlightsComponent
61
+ rt as HighlightsComponent
66
62
  };
@@ -5,17 +5,16 @@ import { useStore as n } from "@nanostores/react";
5
5
  import "react";
6
6
  import "react-auth-code-input";
7
7
  import "react-phone-number-input";
8
- import "../gamification/vote/components/voting-header/components/timer/index.js";
8
+ import "../timer/index.js";
9
+ import "@linaria/react";
9
10
  import "react-countdown-circle-timer";
10
11
  import "../theme/constants.js";
11
- import "../gamification/vote/components/voting-header/components/timer/styles.js";
12
- import "@linaria/react";
13
12
  import "../../utils/login.js";
14
13
  import "@connectrpc/connect";
15
14
  import "@connectrpc/connect-web";
16
15
  import "@streamlayer/sl-eslib/users/users_connect";
17
16
  import "../login/styles.js";
18
- const A = ({ sdk: o }) => n(o.getUserStore()).data ? /* @__PURE__ */ r("button", { onClick: o.logout, children: "logout" }) : /* @__PURE__ */ r(m, { login: async (i) => {
17
+ const j = ({ sdk: o }) => n(o.getUserStore()).data ? /* @__PURE__ */ r("button", { onClick: o.logout, children: "logout" }) : /* @__PURE__ */ r(m, { login: async (i) => {
19
18
  try {
20
19
  await o.authorizationBypass("streamlayer:streamlayer", i);
21
20
  } catch (t) {
@@ -23,5 +22,5 @@ const A = ({ sdk: o }) => n(o.getUserStore()).data ? /* @__PURE__ */ r("button",
23
22
  }
24
23
  }, anonymousLogin: o.anonymousAuthorization, host: o.host });
25
24
  export {
26
- A as LoginComponent
25
+ j as LoginComponent
27
26
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { DetailedInsight as L } from "../../gamification/detailed-insight/index.js";
3
3
  import "../../gamification/common-header/index.js";
4
- import "../../../icon-exit-6a55bb8f.js";
4
+ import "../../../icon-exit-d3f9fc80.js";
5
5
  import "../../gamification/common-header/styles.js";
6
6
  import "@linaria/react";
7
7
  import "../../gamification/detailed-insight/styles.js";
@@ -1,40 +1,32 @@
1
- import { jsx as e, jsxs as c, Fragment as l } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as c, Fragment as l } from "react/jsx-runtime";
2
2
  import { useStore as u } from "@nanostores/react";
3
3
  import { useState as b } from "react";
4
4
  import { LeaderboardItemDetail as f } from "../../gamification/leaderboard-item-detail/index.js";
5
5
  import { LeaderboardList as I } from "../../gamification/leaderboard-list/index.js";
6
6
  import "../../gamification/common-header/index.js";
7
- import "../../../icon-exit-6a55bb8f.js";
7
+ import "../../../icon-exit-d3f9fc80.js";
8
8
  import "../../gamification/common-header/styles.js";
9
9
  import "@linaria/react";
10
- import "../../gamification/user-statistics/index.js";
11
- import "../../../utils/common.js";
12
- import "../../gamification/user-statistics/components/rank/index.js";
13
- import "../../gamification/user-statistics/components/rank/styles.js";
14
- import "../../gamification/user-statistics/components/statistic/index.js";
15
- import "../../gamification/user-statistics/components/statistic/styles.js";
16
- import "../../gamification/user-statistics/styles.js";
17
10
  import "../../gamification/leaderboard-item-detail/styles.js";
18
- import "../../gamification/leaderboard-invite-link/index.js";
19
- import "../../gamification/leaderboard-invite-link/styles.js";
20
11
  import "../../gamification/leaderboard-item/index.js";
12
+ import "../../../utils/common.js";
21
13
  import "../../gamification/leaderboard-item/styles.js";
22
14
  import "../../gamification/leaderboard-list/styles.js";
23
- const M = ({ store: p }) => {
24
- const { data: r } = u(p), [i, s] = b(void 0);
15
+ const y = ({ store: s }) => {
16
+ const { data: r } = u(s), [e, d] = b(void 0);
25
17
  if (!r)
26
- return /* @__PURE__ */ e("div", { children: "wait leader board..." });
18
+ return /* @__PURE__ */ i("div", { children: "wait leader board..." });
27
19
  const o = (t) => {
28
20
  var m;
29
- const d = (m = r.find((n) => {
21
+ const p = (m = r.find((n) => {
30
22
  var a;
31
23
  return ((a = n.attributes) == null ? void 0 : a.userId) === t;
32
24
  })) == null ? void 0 : m.attributes;
33
- s(d);
25
+ d(p);
34
26
  };
35
27
  return /* @__PURE__ */ c(l, { children: [
36
- i && /* @__PURE__ */ e(f, { comeBack: () => o(null), ...i }),
37
- !i && /* @__PURE__ */ e(
28
+ e && /* @__PURE__ */ i(f, { comeBack: () => o(null), ...e }),
29
+ !e && /* @__PURE__ */ i(
38
30
  I,
39
31
  {
40
32
  items: r.filter((t) => t.attributes).map((t) => t.attributes),
@@ -44,5 +36,5 @@ const M = ({ store: p }) => {
44
36
  ] });
45
37
  };
46
38
  export {
47
- M as Leaderboard
39
+ y as Leaderboard
48
40
  };
@@ -1,21 +1,18 @@
1
- import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
- import { styled as y } from "@linaria/react";
3
- import { useState as d, useCallback as x, useMemo as s } from "react";
4
- import { Vote as g } from "../../gamification/vote/index.js";
5
- import { VotingHeader as h } from "../../gamification/vote/components/voting-header/index.js";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { styled as f } from "@linaria/react";
3
+ import { useState as n, useCallback as d, useMemo as a } from "react";
4
+ import { Vote as p } from "../../gamification/vote/index.js";
6
5
  import "@streamlayer/sdk-web-types";
7
- import "../../../index-7045fbb2.js";
8
- import "../../gamification/vote/components/voting-option/styles.js";
6
+ import "../../../index-7f3361f2.js";
7
+ import "../../gamification/vote/vote-option/styles.js";
9
8
  import "../../gamification/vote/styles.js";
10
- import "../../../icon-exit-6a55bb8f.js";
11
- import "../../gamification/vote/components/voting-header/components/points/index.js";
12
- import "../../gamification/vote/components/voting-header/components/points/styles.js";
13
- import "../../gamification/vote/components/voting-header/components/timer/index.js";
9
+ import "../../gamification/vote/win-bar/index.js";
10
+ import "../../timer/index.js";
14
11
  import "react-countdown-circle-timer";
15
12
  import "../../theme/constants.js";
16
- import "../../gamification/vote/components/voting-header/components/timer/styles.js";
17
- import "../../gamification/vote/components/voting-header/styles.js";
18
- const b = y.div`
13
+ import "../../gamification/vote/win-bar/styles.js";
14
+ import "../../icons/index.js";
15
+ const y = f.div`
19
16
  position: absolute;
20
17
  top: 0;
21
18
  background: var(--color-transparent-item);
@@ -42,60 +39,48 @@ const b = y.div`
42
39
  transform: translateX(0);
43
40
  }
44
41
  }
45
- `, B = ({ openedQuestion: t, closeQuestion: a, vote: e }) => {
46
- var m;
47
- const [l, c] = d(!1), p = x(
48
- (i) => {
49
- c(i);
42
+ `, M = ({ openedQuestion: t, closeQuestion: h, vote: m }) => {
43
+ var c;
44
+ const [e, s] = n(!1);
45
+ d(
46
+ (r) => {
47
+ s(r);
50
48
  },
51
- [c]
52
- ), r = s(
53
- () => t == null ? void 0 : t.answers.find((i) => i.youVoted === !0),
49
+ [s]
50
+ );
51
+ const i = a(
52
+ () => t == null ? void 0 : t.answers.find((r) => r.youVoted === !0),
54
53
  [t]
55
- ), f = s(
56
- () => !!(t != null && t.answers.find((i) => i.correct === !0)),
54
+ ), l = a(
55
+ () => !!(t != null && t.answers.find((r) => r.correct === !0)),
57
56
  [t]
58
57
  );
59
- return t ? /* @__PURE__ */ o(b, { children: /* @__PURE__ */ n("div", { children: [
60
- /* @__PURE__ */ o(
61
- h,
62
- {
63
- points: (r == null ? void 0 : r.points) || 0,
64
- questionAnswered: !!r,
65
- questionAnsweredCorrectly: r == null ? void 0 : r.correct,
66
- logo: "",
67
- closeQuestion: a,
68
- setTimeToExpire: p,
69
- questionType: t.type
70
- }
71
- ),
72
- /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
73
- g,
74
- {
75
- title: t.subject,
76
- feedbackMessages: (m = t.options) == null ? void 0 : m.options.value,
77
- questionType: t.type,
78
- questionId: t.id,
79
- questionAnswered: !!r,
80
- questionAnsweredCorrectly: r == null ? void 0 : r.correct,
81
- options: t.answers.map((i) => ({
82
- id: i.id,
83
- title: i.text,
84
- icon: i.icon,
85
- type: t.type,
86
- correct: i.correct,
87
- percentage: i.percentage,
88
- answered: i.youVoted,
89
- disabled: !!r || t.marketClosed || l,
90
- questionAnswered: !!r,
91
- hasCorrectAnswer: f,
92
- points: i.points,
93
- onVote: e
94
- }))
95
- }
96
- ) })
97
- ] }) }) : null;
58
+ return t ? /* @__PURE__ */ o(y, { children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
59
+ p,
60
+ {
61
+ title: t.subject,
62
+ feedbackMessages: (c = t.options) == null ? void 0 : c.options.value,
63
+ questionType: t.type,
64
+ questionId: t.id,
65
+ questionAnswered: !!i,
66
+ questionAnsweredCorrectly: i == null ? void 0 : i.correct,
67
+ options: t.answers.map((r) => ({
68
+ id: r.id,
69
+ title: r.text,
70
+ icon: r.icon,
71
+ type: t.type,
72
+ correct: r.correct,
73
+ percentage: r.percentage,
74
+ answered: r.youVoted,
75
+ disabled: !!i || t.marketClosed || e,
76
+ questionAnswered: !!i,
77
+ hasCorrectAnswer: l,
78
+ points: r.points,
79
+ onVote: m
80
+ }))
81
+ }
82
+ ) }) }) }) : null;
98
83
  };
99
84
  export {
100
- B as Question
85
+ M as Question
101
86
  };
@@ -1,10 +1,10 @@
1
- import { UserSummary as pr } from "./UserSummary.js";
2
- import { QuestionsList as er } from "./QuestionsList.js";
3
- import { Question as fr } from "./Question.js";
4
- import { Onboarding as nr } from "../../gamification/onboarding/index.js";
5
- import { Insights as dr } from "./Insights.js";
6
- import { Insight as ur } from "./Insight.js";
7
- import { Leaderboard as hr } from "./Leaderboard.js";
1
+ import { UserSummary as $ } from "./UserSummary.js";
2
+ import { QuestionsList as or } from "./QuestionsList.js";
3
+ import { Question as mr } from "./Question.js";
4
+ import { Onboarding as ir } from "../../gamification/onboarding/index.js";
5
+ import { Insights as sr } from "./Insights.js";
6
+ import { Insight as xr } from "./Insight.js";
7
+ import { Leaderboard as ar } from "./Leaderboard.js";
8
8
  import "react/jsx-runtime";
9
9
  import "@nanostores/react";
10
10
  import "../../gamification/user-statistics/index.js";
@@ -26,18 +26,15 @@ import "../../icons/index.js";
26
26
  import "react";
27
27
  import "../../gamification/question/list/styles.js";
28
28
  import "../../gamification/vote/index.js";
29
- import "../../../index-7045fbb2.js";
30
- import "../../gamification/vote/components/voting-option/styles.js";
29
+ import "../../../index-7f3361f2.js";
30
+ import "../../gamification/vote/vote-option/styles.js";
31
31
  import "../../gamification/vote/styles.js";
32
- import "../../gamification/vote/components/voting-header/index.js";
33
- import "../../../icon-exit-6a55bb8f.js";
34
- import "../../gamification/vote/components/voting-header/components/points/index.js";
35
- import "../../gamification/vote/components/voting-header/components/points/styles.js";
36
- import "../../gamification/vote/components/voting-header/components/timer/index.js";
32
+ import "../../gamification/vote/win-bar/index.js";
33
+ import "../../timer/index.js";
37
34
  import "react-countdown-circle-timer";
38
35
  import "../../theme/constants.js";
39
- import "../../gamification/vote/components/voting-header/components/timer/styles.js";
40
- import "../../gamification/vote/components/voting-header/styles.js";
36
+ import "../../gamification/vote/win-bar/styles.js";
37
+ import "../../../icon-exit-d3f9fc80.js";
41
38
  import "../../gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.js";
42
39
  import "../../gamification/onboarding/components/onboarding-slides/onboarding-instructions/styles.js";
43
40
  import "../../gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.js";
@@ -56,17 +53,15 @@ import "../../gamification/detailed-insight/styles.js";
56
53
  import "../../gamification/leaderboard-item-detail/index.js";
57
54
  import "../../gamification/leaderboard-item-detail/styles.js";
58
55
  import "../../gamification/leaderboard-list/index.js";
59
- import "../../gamification/leaderboard-invite-link/index.js";
60
- import "../../gamification/leaderboard-invite-link/styles.js";
61
56
  import "../../gamification/leaderboard-item/index.js";
62
57
  import "../../gamification/leaderboard-item/styles.js";
63
58
  import "../../gamification/leaderboard-list/styles.js";
64
59
  export {
65
- ur as Insight,
66
- dr as Insights,
67
- hr as Leaderboard,
68
- nr as Onboarding,
69
- fr as Question,
70
- er as QuestionsList,
71
- pr as UserSummary
60
+ xr as Insight,
61
+ sr as Insights,
62
+ ar as Leaderboard,
63
+ ir as Onboarding,
64
+ mr as Question,
65
+ or as QuestionsList,
66
+ $ as UserSummary
72
67
  };
@@ -17,7 +17,7 @@ import "../notifications/notification/onboarding-inapp/index.js";
17
17
  import "../notifications/notification/onboarding-inapp/styles.js";
18
18
  import "@linaria/react";
19
19
  import "../notifications/notification/question-inapp/index.js";
20
- import "../../icon-exit-6a55bb8f.js";
20
+ import "../../icon-exit-d3f9fc80.js";
21
21
  import "../notifications/notification/question-inapp/styles.js";
22
22
  import "../notifications/notification/styles.js";
23
23
  import "../notifications/styles.js";
@@ -42,17 +42,14 @@ import "../icons/index.js";
42
42
  import "../gamification/question/list/styles.js";
43
43
  import "./components/Question.js";
44
44
  import "../gamification/vote/index.js";
45
- import "../../index-7045fbb2.js";
46
- import "../gamification/vote/components/voting-option/styles.js";
45
+ import "../../index-7f3361f2.js";
46
+ import "../gamification/vote/vote-option/styles.js";
47
47
  import "../gamification/vote/styles.js";
48
- import "../gamification/vote/components/voting-header/index.js";
49
- import "../gamification/vote/components/voting-header/components/points/index.js";
50
- import "../gamification/vote/components/voting-header/components/points/styles.js";
51
- import "../gamification/vote/components/voting-header/components/timer/index.js";
48
+ import "../gamification/vote/win-bar/index.js";
49
+ import "../timer/index.js";
52
50
  import "react-countdown-circle-timer";
53
51
  import "../theme/constants.js";
54
- import "../gamification/vote/components/voting-header/components/timer/styles.js";
55
- import "../gamification/vote/components/voting-header/styles.js";
52
+ import "../gamification/vote/win-bar/styles.js";
56
53
  import "../gamification/onboarding/index.js";
57
54
  import "../gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.js";
58
55
  import "../gamification/onboarding/components/onboarding-slides/onboarding-instructions/styles.js";
@@ -70,8 +67,6 @@ import "../gamification/leaderboard-item-detail/index.js";
70
67
  import "../gamification/common-header/index.js";
71
68
  import "../gamification/leaderboard-item-detail/styles.js";
72
69
  import "../gamification/leaderboard-list/index.js";
73
- import "../gamification/leaderboard-invite-link/index.js";
74
- import "../gamification/leaderboard-invite-link/styles.js";
75
70
  import "../gamification/leaderboard-item/index.js";
76
71
  import "../gamification/leaderboard-item/styles.js";
77
72
  import "../gamification/leaderboard-list/styles.js";
@@ -131,7 +126,7 @@ const A = ({ activeFeature: r, sdk: o }) => {
131
126
  ] }),
132
127
  d
133
128
  ] });
134
- }, fi = ({ sdk: r }) => {
129
+ }, pi = ({ sdk: r }) => {
135
130
  const o = c(r.organizationStore()), e = c(r.getUserStore()), n = c(r.getActiveFeature());
136
131
  return o.loading ? /* @__PURE__ */ i("div", { children: "authentication..." }) : o.data ? e.loading ? /* @__PURE__ */ i("div", { children: "authentication..." }) : e.data ? /* @__PURE__ */ f(v, { children: [
137
132
  /* @__PURE__ */ i(F, { notificationsStore: r.getNotificationsStore() }),
@@ -139,5 +134,5 @@ const A = ({ activeFeature: r, sdk: o }) => {
139
134
  ] }) : /* @__PURE__ */ i(H, { sdk: r }) : /* @__PURE__ */ i("div", { children: "wrong sdk key..." });
140
135
  };
141
136
  export {
142
- fi as Demo
137
+ pi as Demo
143
138
  };
@@ -1,14 +1,14 @@
1
- import { jsxs as I, jsx as M } from "react/jsx-runtime";
2
- import { i } from "../../../icon-exit-6a55bb8f.js";
3
- import { Container as A, Button as g, HeaderIcon as z } from "./styles.js";
1
+ import { jsxs as j, jsx as M } from "react/jsx-runtime";
2
+ import { c as A } from "../../../icon-exit-d3f9fc80.js";
3
+ import { Container as z, Button as g, HeaderIcon as i } from "./styles.js";
4
4
  import "@linaria/react";
5
- const x = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDc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zNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", y = ({ icon: N, comeBack: D, close: I }) => /* @__PURE__ */ j(z, { children: [
6
+ /* @__PURE__ */ j("div", { children: [
7
7
  D && /* @__PURE__ */ M(g, { onClick: D, children: /* @__PURE__ */ M("img", { alt: "header-back-icon", src: x }) }),
8
- N && /* @__PURE__ */ M(z, { alt: "header-icon", src: N })
8
+ N && /* @__PURE__ */ M(i, { alt: "header-icon", src: N })
9
9
  ] }),
10
- /* @__PURE__ */ M("div", { children: j && /* @__PURE__ */ M(g, { onClick: j, children: /* @__PURE__ */ M("img", { alt: "header-close-icon", src: i }) }) })
10
+ /* @__PURE__ */ M("div", { children: I && /* @__PURE__ */ M(g, { onClick: I, children: /* @__PURE__ */ M("img", { alt: "header-close-icon", src: A }) }) })
11
11
  ] });
12
12
  export {
13
- E as CommonHeader
13
+ y as CommonHeader
14
14
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as I, jsx as M } from "react/jsx-runtime";
2
2
  import { CommonHeader as Z } from "../common-header/index.js";
3
3
  import { Container as g, Image as l, AdditionalContent as o, Title as n, Description as d, AdditionalBtn as r, LinkIcon as a } from "./styles.js";
4
- import "../../../icon-exit-6a55bb8f.js";
4
+ import "../../../icon-exit-d3f9fc80.js";
5
5
  import "../common-header/styles.js";
6
6
  import "@linaria/react";
7
7
  const u = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", C = ({
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ type InviteLinkProps = {
3
+ title?: string;
4
+ description?: string;
5
+ onClick?: () => void;
6
+ };
7
+ export declare const InviteLink: React.FC<InviteLinkProps>;
8
+ export {};
@@ -0,0 +1,14 @@
1
+ import { jsxs as N, jsx as M } from "react/jsx-runtime";
2
+ import { Container as T, FriendsIcon as g, Content as x, Title as E, Description as A, ArrowInviteIcon as z } from "./styles.js";
3
+ import "@linaria/react";
4
+ const O = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMC40NjE1IDEyLjY4NzVDOS40NDIzMSAxMi42ODc1IDguNjE1MzggMTMuNDY2NSA4LjYxNTM4IDE0LjQyNjZDOC42MTUzOCAxNS4zODY4IDkuNDQyMzEgMTYuMTY1OCAxMC40NjE1IDE2LjE2NThDMTEuNDgwOCAxNi4xNjU4IDEyLjMwNzcgMTUuMzg2OCAxMi4zMDc3IDE0LjQyNjZDMTIuMzA3NyAxMy40NjY1IDExLjQ4MDggMTIuNjg3NSAxMC40NjE1IDEyLjY4NzVaTTEwLjQ2MTUgMTYuMTY1OEM5LjEwODE3IDE2LjE2NTggOCAxNy4yMDk3IDggMTguNDg0NlYxOS43NTI3QzggMTkuNzUyNyA4LjYxNTM4IDIwLjIyMzcgMTAuNDYxNSAyMC4yMjM3QzEyLjMwNzcgMjAuMjIzNyAxMi45MjMxIDE5Ljc1MjcgMTIuOTIzMSAxOS43NTI3VjE4LjQ4NDZDMTIuOTIzMSAxNy4yMDk3IDExLjgxNDkgMTYuMTY1OCAxMC40NjE1IDE2LjE2NThaTTIxLjUzODUgMTIuNjg3NUMyMC41MTkyIDEyLjY4NzUgMTkuNjkyMyAxMy40NjY1IDE5LjY5MjMgMTQuNDI2NkMxOS42OT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EgMTMuODU0MiAxOC44MDg4IDEzLjIzNzIgMTkuMjAxMiAxMi43NDUxQzE5LjAwNSAxMi42ODI3IDE4LjgwNjIgMTIuNjg3NSAxOC42MSAxMi42ODc1WiIgZmlsbD0iIzEwN0Q1NyIvPgo8L3N2Zz4K", L = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlNoYXJlIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTExIDQuOTY1VjEuMTI1TDE4IDcuODQ1TDExIDE0LjU2NVYxMC42MjlDNiAxMC42MjkgMi41IDEyLjE2NSAwIDE1LjUyNUMxIDEwLjcyNSA0IDUuOTI1IDExIDQuOTY1WiIgZmlsbD0id2hpdGUiLz4KPC9nPgo8L3N2Zz4K", Y = ({ title: I, description: D, onClick: j }) => /* @__PURE__ */ N(T, { onClick: j, children: [
5
+ /* @__PURE__ */ M(g, { alt: "friends-icon", src: O }),
6
+ /* @__PURE__ */ N(x, { children: [
7
+ /* @__PURE__ */ M(E, { children: I }),
8
+ /* @__PURE__ */ M(A, { children: D })
9
+ ] }),
10
+ /* @__PURE__ */ M(z, { alt: "arrow-invite-icon", src: L })
11
+ ] });
12
+ export {
13
+ Y as InviteLink
14
+ };
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const IconLink: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
3
  export declare const FriendsIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
5
4
  export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
5
  export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;