@streamlayer/react-ui 0.65.3 → 0.67.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 (83) hide show
  1. package/lib/LeaderBoard_p8tnz3-4ed993c7.js +1 -0
  2. package/lib/assets/style.css +1 -0
  3. package/lib/index.js +4 -5
  4. package/lib/index_1ujx5m0-4ed993c7.js +1 -0
  5. package/lib/masters_18kvgvj-4ed993c7.js +1 -0
  6. package/lib/ui/app/Features/Gamification/Question.js +48 -26
  7. package/lib/ui/app/Features/Gamification/index.js +54 -38
  8. package/lib/ui/app/Navigation/MastersNavigation/index.js +13 -10
  9. package/lib/ui/app/Navigation/index.js +3 -2
  10. package/lib/ui/app/Notifications/Onboarding/Notification/index.d.ts +8 -0
  11. package/lib/ui/app/Notifications/Onboarding/Notification/index.js +21 -0
  12. package/lib/ui/app/Notifications/Onboarding/Notification/styles.d.ts +10 -0
  13. package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +52 -0
  14. package/lib/ui/app/Notifications/Onboarding/index.js +96 -74
  15. package/lib/ui/app/Notifications/index.js +37 -13
  16. package/lib/ui/app/Notifications/styles.js +8 -13
  17. package/lib/ui/app/masters.js +32 -13
  18. package/lib/ui/app/styles.js +21 -36
  19. package/lib/ui/app/useMastersApp.js +4 -4
  20. package/lib/ui/button/styles.js +12 -42
  21. package/lib/ui/gamification/detail/header/styles.js +33 -55
  22. package/lib/ui/gamification/detail/sponsor/index.js +19 -12
  23. package/lib/ui/gamification/insight/styles.js +42 -63
  24. package/lib/ui/gamification/insight-list/styles.js +12 -18
  25. package/lib/ui/gamification/invite-link/styles.js +31 -45
  26. package/lib/ui/gamification/leaderboard/list-item/styles.js +40 -62
  27. package/lib/ui/gamification/onboarding/index.js +37 -37
  28. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +32 -45
  29. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +70 -97
  30. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.js +40 -79
  31. package/lib/ui/gamification/onboarding/styles.js +39 -49
  32. package/lib/ui/gamification/points/index.js +4 -6
  33. package/lib/ui/gamification/points/styles.js +31 -80
  34. package/lib/ui/gamification/question/insight/styles.js +11 -51
  35. package/lib/ui/gamification/question/list/styles.js +7 -9
  36. package/lib/ui/gamification/question/notification/insight/styles.js +26 -63
  37. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.js +82 -163
  38. package/lib/ui/gamification/question/notification/prediction-result/styles.js +53 -128
  39. package/lib/ui/gamification/question/notification/styles.js +43 -83
  40. package/lib/ui/gamification/question/notification/tweet/styles.js +36 -65
  41. package/lib/ui/gamification/question/styles.js +66 -92
  42. package/lib/ui/gamification/question/twitter/styles.js +13 -23
  43. package/lib/ui/gamification/tabs/styles.js +22 -65
  44. package/lib/ui/gamification/user-statistics/components/rank/styles.js +17 -23
  45. package/lib/ui/gamification/user-statistics/components/statistic/styles.js +16 -20
  46. package/lib/ui/gamification/user-statistics/styles.js +84 -119
  47. package/lib/ui/gamification/vote/expired-alert/index.d.ts +7 -0
  48. package/lib/ui/gamification/vote/expired-alert/index.js +13 -0
  49. package/lib/ui/gamification/vote/expired-alert/styles.d.ts +4 -0
  50. package/lib/ui/gamification/vote/expired-alert/styles.js +19 -0
  51. package/lib/ui/gamification/vote/feedback/styles.js +36 -64
  52. package/lib/ui/gamification/vote/index.d.ts +1 -0
  53. package/lib/ui/gamification/vote/index.js +48 -36
  54. package/lib/ui/gamification/vote/insight-details/styles.js +12 -23
  55. package/lib/ui/gamification/vote/styles.js +22 -28
  56. package/lib/ui/gamification/vote/twitter-details/styles.js +6 -8
  57. package/lib/ui/gamification/vote/vote-option/styles.js +63 -147
  58. package/lib/ui/gamification/vote/win-bar/styles.js +37 -45
  59. package/lib/ui/icons/index.d.ts +1 -0
  60. package/lib/ui/icons/index.js +71 -55
  61. package/lib/ui/login/styles.js +36 -68
  62. package/lib/ui/navigation/button/Channels.js +18 -26
  63. package/lib/ui/navigation/button/FeaturedGroups.js +19 -27
  64. package/lib/ui/navigation/button/LeaderBoard.js +22 -23
  65. package/lib/ui/navigation/button/styles.js +16 -56
  66. package/lib/ui/navigation/index.js +13 -7
  67. package/lib/ui/navigation/masters.js +8 -32
  68. package/lib/ui/questions/insight/styles.js +26 -30
  69. package/lib/ui/questions/twitter/account/styles.js +30 -35
  70. package/lib/ui/questions/twitter/styles.js +31 -42
  71. package/lib/ui/show-in/index.js +18 -63
  72. package/lib/ui/theme/index.js +3 -4
  73. package/lib/ui/theme/masters.js +2 -9
  74. package/lib/ui/theme/theme.js +31 -27
  75. package/lib/ui/timer/index.js +38 -34
  76. package/lib/ui/video-player/styles.js +21 -26
  77. package/lib/utils/debug/components/bypassLogin.js +44 -60
  78. package/lib/utils/debug/components/developer.js +55 -87
  79. package/lib/utils/debug/components/envToggle.js +33 -58
  80. package/lib/utils/debug/components/styles.js +7 -49
  81. package/lib/utils/decorators/container.js +3 -4
  82. package/lib/utils/decorators/styles.js +7 -21
  83. package/package.json +6 -2
@@ -1,124 +1,89 @@
1
- import { styled as e } from "@linaria/react";
2
- const o = e.div`
3
- padding: 12px;
4
- font-weight: var(--font-weight-default);
5
- background-color: var(--color-primary-green1);
6
- border-radius: 12px;
7
- `, i = e.div`
8
- margin-bottom: 12px;
9
- display: flex;
10
- align-items: center;
11
- justify-content: space-between;
12
- column-gap: 8px;
13
- `, n = e.div`
14
- display: flex;
15
- flex-direction: column;
16
- row-gap: 8px;
17
- `, r = e.div`
18
- display: flex;
19
- column-gap: 8px;
20
- flex: 1;
21
- overflow: hidden;
22
- `, a = e.img`
23
- width: 48px;
24
- height: 48px;
25
- border-radius: 50%;
26
- object-fit: cover;
27
- object-position: center;
28
- flex-shrink: 0;
29
- `, s = e.div`
30
- display: flex;
31
- flex-direction: column;
32
- row-gap: 6px;
33
- overflow: hidden;
34
- `, c = e.div`
35
- color: var(--color-white);
36
- font-size: 16px;
37
- font-weight: 400;
38
- line-height: 24px;
39
- overflow: hidden;
40
- text-overflow: ellipsis;
41
- white-space: nowrap;
42
- `, p = e.div`
43
- display: flex;
44
- align-items: center;
45
- column-gap: 8px;
46
- height: 14px;
47
- color: var(--color-neutrals-white);
48
- font-size: 14px;
49
- text-transform: uppercase;
50
- `, l = e.img`
51
- width: 15px;
52
- height: 15px;
53
- `, d = e.div`
54
- display: flex;
55
- align-items: center;
56
- column-gap: 4px;
57
- `, x = e.div`
58
- display: flex;
59
- align-items: baseline;
60
- column-gap: 4px;
61
- `, f = e.div`
62
- font-size: 9px;
63
- opacity: 0.8;
64
- `, g = e.div`
65
- width: 1px;
66
- height: 10px;
67
- background-color: var(--color-white);
68
- opacity: 0.2;
69
- `, h = e.div`
70
- display: flex;
71
- column-gap: 8px;
72
- `, u = e.div`
73
- display: flex;
74
- justify-content: space-between;
75
- padding: 8px 12px;
76
- border-radius: 4px;
77
- background-color: var(--color-primary-green2);
78
- `, m = e.div`
79
- background: #2d6ffd;
80
- border-radius: 50%;
81
- width: 48px;
82
- height: 48px;
83
- text-align: center;
84
- text-transform: uppercase;
85
- display: flex;
86
- align-items: center;
87
- justify-content: center;
88
- color: #fff;
89
- font-size: 18px;
90
- flex-shrink: 0;
91
- `, v = e.button`
92
- border: none;
93
- outline: none;
94
- background-color: transparent;
95
- cursor: pointer;
96
- padding: 0px;
97
- display: flex;
98
- justify-content: center;
99
- align-items: center;
100
- border-radius: 50%;
101
- width: 100%;
102
- height: 100%;
103
- max-width: 48px;
104
- max-height: 48px;
105
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const o = /* @__PURE__ */ s("div")({
3
+ name: "Container",
4
+ class: "Container_c1yrpn9o",
5
+ propsAsIs: !1
6
+ }), t = /* @__PURE__ */ s("div")({
7
+ name: "TopInfo",
8
+ class: "TopInfo_t17fwahh",
9
+ propsAsIs: !1
10
+ }), e = /* @__PURE__ */ s("div")({
11
+ name: "BottomInfo",
12
+ class: "BottomInfo_by6w7e9",
13
+ propsAsIs: !1
14
+ }), n = /* @__PURE__ */ s("div")({
15
+ name: "User",
16
+ class: "User_u1g7arbm",
17
+ propsAsIs: !1
18
+ }), r = /* @__PURE__ */ s("img")({
19
+ name: "Avatar",
20
+ class: "Avatar_a1ldeata",
21
+ propsAsIs: !1
22
+ }), c = /* @__PURE__ */ s("div")({
23
+ name: "UserInfo",
24
+ class: "UserInfo_u10d4koz",
25
+ propsAsIs: !1
26
+ }), l = /* @__PURE__ */ s("div")({
27
+ name: "UserName",
28
+ class: "UserName_u1q6roj0",
29
+ propsAsIs: !1
30
+ }), p = /* @__PURE__ */ s("div")({
31
+ name: "UserRating",
32
+ class: "UserRating_ui0m425",
33
+ propsAsIs: !1
34
+ }), i = /* @__PURE__ */ s("img")({
35
+ name: "TrophyIcon",
36
+ class: "TrophyIcon_t1el3mrn",
37
+ propsAsIs: !1
38
+ }), I = /* @__PURE__ */ s("div")({
39
+ name: "Rts",
40
+ class: "Rts_r2vgnxv",
41
+ propsAsIs: !1
42
+ }), m = /* @__PURE__ */ s("div")({
43
+ name: "RtsIndicator",
44
+ class: "RtsIndicator_roqn06j",
45
+ propsAsIs: !1
46
+ }), f = /* @__PURE__ */ s("div")({
47
+ name: "RtsLabel",
48
+ class: "RtsLabel_r15adx7c",
49
+ propsAsIs: !1
50
+ }), d = /* @__PURE__ */ s("div")({
51
+ name: "Divider",
52
+ class: "Divider_dv59lta",
53
+ propsAsIs: !1
54
+ }), v = /* @__PURE__ */ s("div")({
55
+ name: "Ranks",
56
+ class: "Ranks_r55lotb",
57
+ propsAsIs: !1
58
+ }), A = /* @__PURE__ */ s("div")({
59
+ name: "Statistics",
60
+ class: "Statistics_s1knfgqt",
61
+ propsAsIs: !1
62
+ }), _ = /* @__PURE__ */ s("div")({
63
+ name: "AvatarPlaceholder",
64
+ class: "AvatarPlaceholder_a1mqo824",
65
+ propsAsIs: !1
66
+ }), R = /* @__PURE__ */ s("button")({
67
+ name: "UserAccountBtn",
68
+ class: "UserAccountBtn_uxareh6",
69
+ propsAsIs: !1
70
+ });
106
71
  export {
107
- a as Avatar,
108
- m as AvatarPlaceholder,
109
- n as BottomInfo,
72
+ r as Avatar,
73
+ _ as AvatarPlaceholder,
74
+ e as BottomInfo,
110
75
  o as Container,
111
- g as Divider,
112
- h as Ranks,
113
- d as Rts,
114
- x as RtsIndicator,
76
+ d as Divider,
77
+ v as Ranks,
78
+ I as Rts,
79
+ m as RtsIndicator,
115
80
  f as RtsLabel,
116
- u as Statistics,
117
- i as TopInfo,
118
- l as TrophyIcon,
119
- r as User,
120
- v as UserAccountBtn,
121
- s as UserInfo,
122
- c as UserName,
81
+ A as Statistics,
82
+ t as TopInfo,
83
+ i as TrophyIcon,
84
+ n as User,
85
+ R as UserAccountBtn,
86
+ c as UserInfo,
87
+ l as UserName,
123
88
  p as UserRating
124
89
  };
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type ExpiredAlertProps = {
3
+ title: string;
4
+ description: string;
5
+ };
6
+ export declare const ExpiredAlert: React.FC<ExpiredAlertProps>;
7
+ export {};
@@ -0,0 +1,13 @@
1
+ import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
+ import { SvgIcon as t } from "../../../icons/index.js";
3
+ import { Container as c, Title as n, Description as m } from "./styles.js";
4
+ import "@linaria/react";
5
+ import "react";
6
+ const x = ({ title: i, description: o }) => /* @__PURE__ */ e(c, { children: [
7
+ /* @__PURE__ */ r(t, { name: "icon-check-circle" }),
8
+ /* @__PURE__ */ r(n, { children: i }),
9
+ /* @__PURE__ */ r(m, { children: o })
10
+ ] });
11
+ export {
12
+ x as ExpiredAlert
13
+ };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -0,0 +1,19 @@
1
+ import { styled as s } from "@linaria/react";
2
+ const t = /* @__PURE__ */ s("div")({
3
+ name: "Container",
4
+ class: "Container_c38csyt",
5
+ propsAsIs: !1
6
+ }), o = /* @__PURE__ */ s("div")({
7
+ name: "Title",
8
+ class: "Title_ty221rx",
9
+ propsAsIs: !1
10
+ }), i = /* @__PURE__ */ s("div")({
11
+ name: "Description",
12
+ class: "Description_dlaj9xp",
13
+ propsAsIs: !1
14
+ });
15
+ export {
16
+ t as Container,
17
+ i as Description,
18
+ o as Title
19
+ };
@@ -1,70 +1,42 @@
1
- import { styled as r } from "@linaria/react";
2
- import { SvgIcon as e } from "../../../icons/index.js";
1
+ import { styled as e } from "@linaria/react";
2
+ import { SvgIcon as s } from "../../../icons/index.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
- const c = r.div`
6
- width: 100%;
7
- padding: 8px 0px;
8
- display: flex;
9
- align-items: center;
10
- margin-bottom: 16px;
11
- font-size: 14px;
12
-
13
- &[data-isPrediction='true'] {
14
- align-items: flex-start;
15
- }
16
- `, n = r(e)`
17
- min-width: 24px;
18
- width: 24px;
19
- height: 24px;
20
- margin-right: 14px;
21
- margin-left: 12px;
22
-
23
- g > path {
24
- fill: var(--color-primary-green1);
25
- fill-opacity: 1;
26
- }
27
- `, d = r.div`
28
- min-width: 32px;
29
- width: 32px;
30
- height: 32px;
31
- border-radius: 50%;
32
- display: flex;
33
- align-items: center;
34
- justify-content: center;
35
- margin-right: 16px;
36
-
37
- &[data-feedbackType='correct'] {
38
- background-color: var(--color-primary-green1);
39
- }
40
-
41
- &[data-feedbackType='incorrect'] {
42
- background-color: var(--color-secondary-red1);
43
- }
44
- `, p = r.div`
45
- font-weight: var(--font-weight-default);
46
- `, l = r.span`
47
- margin-right: 5px;
48
-
49
- &[data-feedbackType='correct'] {
50
- color: var(--color-primary-green1);
51
- }
52
-
53
- &[data-feedbackType='incorrect'] {
54
- color: var(--color-secondary-red1);
55
- }
56
- `, g = r.span`
57
- color: var(--color-neutrals-gray9);
58
- `, s = r.div`
59
- font-weight: 400;
60
- margin-top: 10px;
61
- `;
5
+ const r = /* @__PURE__ */ e("div")({
6
+ name: "Container",
7
+ class: "Container_c16sbdnm",
8
+ propsAsIs: !1
9
+ }), a = () => s, p = /* @__PURE__ */ e(a())({
10
+ name: "IconPrediction",
11
+ class: "IconPrediction_ibhorgl",
12
+ propsAsIs: !0
13
+ }), d = /* @__PURE__ */ e("div")({
14
+ name: "FeedbackIconWrap",
15
+ class: "FeedbackIconWrap_f1g20ja7",
16
+ propsAsIs: !1
17
+ }), i = /* @__PURE__ */ e("div")({
18
+ name: "FeedbackHeader",
19
+ class: "FeedbackHeader_f455ozj",
20
+ propsAsIs: !1
21
+ }), l = /* @__PURE__ */ e("span")({
22
+ name: "FeedbackTitle",
23
+ class: "FeedbackTitle_f1913njx",
24
+ propsAsIs: !1
25
+ }), b = /* @__PURE__ */ e("span")({
26
+ name: "FeedbackDescription",
27
+ class: "FeedbackDescription_fzfk69z",
28
+ propsAsIs: !1
29
+ }), f = /* @__PURE__ */ e("div")({
30
+ name: "FeedbackText",
31
+ class: "FeedbackText_fx87qaj",
32
+ propsAsIs: !1
33
+ });
62
34
  export {
63
- c as Container,
64
- g as FeedbackDescription,
65
- p as FeedbackHeader,
35
+ r as Container,
36
+ b as FeedbackDescription,
37
+ i as FeedbackHeader,
66
38
  d as FeedbackIconWrap,
67
- s as FeedbackText,
39
+ f as FeedbackText,
68
40
  l as FeedbackTitle,
69
- n as IconPrediction
41
+ p as IconPrediction
70
42
  };
@@ -3,6 +3,7 @@ import { ExtendedQuestion } from '@streamlayer/sdk-web-types';
3
3
  interface VoteProps {
4
4
  openedQuestion: ExtendedQuestion;
5
5
  vote: (questionId: string, answerId: string) => void;
6
+ close: () => void;
6
7
  }
7
8
  export declare const Vote: React.FC<VoteProps>;
8
9
  export {};
@@ -1,72 +1,84 @@
1
- import { jsx as i, jsxs as S } from "react/jsx-runtime";
2
- import { useState as l, useCallback as g, useMemo as e } from "react";
3
- import { SDKScrollContainer as u } from "../../app/styles.js";
4
- import { Feedback as A } from "./feedback/index.js";
5
- import { Container as b, Content as E, Title as j, Options as k } from "./styles.js";
6
- import { VotingOption as O } from "./vote-option/index.js";
7
- import { WinBar as I } from "./win-bar/index.js";
1
+ import { jsx as i, jsxs as v, Fragment as E } from "react/jsx-runtime";
2
+ import { useState as m, useCallback as V, useMemo as n } from "react";
3
+ import { SDKScrollContainer as b } from "../../app/styles.js";
4
+ import { ExpiredAlert as j } from "./expired-alert/index.js";
5
+ import { Feedback as k } from "./feedback/index.js";
6
+ import { Container as M, Content as O, Title as F, Options as I } from "./styles.js";
7
+ import { VotingOption as L } from "./vote-option/index.js";
8
+ import { WinBar as W } from "./win-bar/index.js";
8
9
  import "@linaria/react";
9
- import "@streamlayer/sdk-web-types";
10
10
  import "../../icons/index.js";
11
+ import "./expired-alert/styles.js";
12
+ import "@streamlayer/sdk-web-types";
11
13
  import "./feedback/styles.js";
12
14
  import "./vote-option/styles.js";
13
15
  import "../../timer/index.js";
14
16
  import "react-countdown-circle-timer";
15
17
  import "../../theme/constants.js";
16
18
  import "./win-bar/styles.js";
17
- const Y = ({ openedQuestion: t, vote: f }) => {
18
- var p;
19
- const V = t.subject, d = t.type, a = (p = t.options) == null ? void 0 : p.options, [c, v] = l(!1), [n, w] = l(!1), [q, T] = l(""), o = t == null ? void 0 : t.id, y = g(
19
+ const rt = ({ openedQuestion: t, vote: l, close: f }) => {
20
+ var q;
21
+ const g = t.subject, u = t.type, c = (q = t.options) == null ? void 0 : q.options, [a, A] = m(!1), [d, p] = m(!1), [w, h] = m(""), o = t == null ? void 0 : t.id, T = V(
20
22
  async (r) => {
21
23
  if (o) {
22
- const x = r.currentTarget.value;
23
- T(x), w(!0), await f(o, x), w(!1);
24
+ const y = r.currentTarget.value;
25
+ h(y), p(!0), await l(o, y), p(!1);
24
26
  }
25
27
  },
26
- [o, T, f]
27
- ), s = e(
28
+ [o, h, l]
29
+ ), C = V(() => {
30
+ A(!0), setTimeout(f, 3e3);
31
+ }, [f]), s = n(
28
32
  () => t == null ? void 0 : t.answers.find((r) => r.youVoted === !0),
29
33
  [t]
30
- ), m = e(
34
+ ), e = n(
31
35
  () => !!(t != null && t.answers.find((r) => r.correct === !0)),
32
36
  [t]
33
- ), C = e(() => t ? t.answers.map((r) => ({
37
+ ), S = n(() => t ? t.answers.map((r) => ({
34
38
  ...r,
35
39
  questionVoted: !!s,
36
- youSelected: q === r.id,
37
- isLoading: n,
38
- hasCorrectAnswer: m,
40
+ youSelected: w === r.id,
41
+ isLoading: d,
42
+ hasCorrectAnswer: e,
39
43
  questionType: t.type,
40
- answerTimeExpired: c,
44
+ answerTimeExpired: a,
41
45
  questionStatus: t.status,
42
46
  // ToDo: Figure out why imageMode is not in the response
43
- onVote: y
44
- })) : [], [m, c, n, t, s, y, q]), h = a && (a.case === "trivia" || a.case === "prediction") ? a.value : void 0;
45
- return /* @__PURE__ */ i(u, { "data-question-header": "true", children: /* @__PURE__ */ i(b, { children: /* @__PURE__ */ S(E, { children: [
46
- h && /* @__PURE__ */ i(
47
- A,
47
+ onVote: T
48
+ })) : [], [e, a, d, t, s, T, w]), x = c && (c.case === "trivia" || c.case === "prediction") ? c.value : void 0;
49
+ return /* @__PURE__ */ i(b, { "data-question-header": "true", children: /* @__PURE__ */ i(M, { children: /* @__PURE__ */ v(O, { children: [
50
+ x && /* @__PURE__ */ i(
51
+ k,
48
52
  {
49
- feedbackMessages: h,
53
+ feedbackMessages: x,
50
54
  questionVoted: !!s,
51
55
  questionVotedCorrectly: s == null ? void 0 : s.correct,
52
- questionType: d,
53
- hasCorrectAnswer: m,
56
+ questionType: u,
57
+ hasCorrectAnswer: e,
54
58
  questionStatus: t.status
55
59
  }
56
60
  ),
57
61
  /* @__PURE__ */ i(
58
- I,
62
+ W,
59
63
  {
60
- title: c ? "Expired" : "To win",
61
- points: c ? void 0 : 100,
62
- onTimerExpired: () => v(!0),
64
+ title: a ? "Time expired" : "To win",
65
+ points: a ? void 0 : 100,
66
+ onTimerExpired: C,
63
67
  isTimer: !0
64
68
  }
65
69
  ),
66
- /* @__PURE__ */ i(j, { children: V }),
67
- /* @__PURE__ */ i(k, { children: C.map((r) => /* @__PURE__ */ i(O, { ...r }, r.id)) })
70
+ a ? /* @__PURE__ */ i(
71
+ j,
72
+ {
73
+ title: "More to come...",
74
+ description: "Watch for additional enhanced stream interactive experience."
75
+ }
76
+ ) : /* @__PURE__ */ v(E, { children: [
77
+ /* @__PURE__ */ i(F, { children: g }),
78
+ /* @__PURE__ */ i(I, { children: S.map((r) => /* @__PURE__ */ i(L, { ...r }, r.id)) })
79
+ ] })
68
80
  ] }) }) });
69
81
  };
70
82
  export {
71
- Y as Vote
83
+ rt as Vote
72
84
  };
@@ -1,25 +1,14 @@
1
- import { styled as r } from "@linaria/react";
2
- const o = r.div`
3
- display: flex;
4
- flex-direction: column;
5
- row-gap: 12px;
6
- padding: var(--container-padding);
7
- background-color: var(--color-neutrals-white);
8
- `, n = r.a`
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- column-gap: 10px;
13
- padding: 11px 16px;
14
- color: var(--color-primary-green1);
15
- font-size: 14px;
16
- font-weight: var(--font-weight-default);
17
- line-height: 20px;
18
- border-radius: 40px;
19
- border: 1px solid var(--color-primary-green1);
20
- text-decoration: none;
21
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const e = /* @__PURE__ */ s("div")({
3
+ name: "Container",
4
+ class: "Container_c1euiow",
5
+ propsAsIs: !1
6
+ }), t = /* @__PURE__ */ s("a")({
7
+ name: "WebLinkBtn",
8
+ class: "WebLinkBtn_w19zie3h",
9
+ propsAsIs: !1
10
+ });
22
11
  export {
23
- o as Container,
24
- n as WebLinkBtn
12
+ e as Container,
13
+ t as WebLinkBtn
25
14
  };
@@ -1,30 +1,24 @@
1
- import { styled as t } from "@linaria/react";
2
- const o = t.div`
3
- width: 100%;
4
- height: 100%;
5
-
6
- & > div:not(:last-child) {
7
- margin-bottom: 16px;
8
- }
9
- `, n = t.div`
10
- width: 100%;
11
- padding: 16px 16px 0px 16px;
12
- `, p = t.div`
13
- font-family: var(--font-serif);
14
- font-size: 16px;
15
- color: var(--color-primary-green2);
16
- font-weight: 400;
17
- margin: 16px 0px;
18
- margin-bottom: 16px;
19
- `, r = t.div`
20
- position: relative;
21
- gap: 8px;
22
- display: flex;
23
- flex-direction: column;
24
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const n = /* @__PURE__ */ s("div")({
3
+ name: "Container",
4
+ class: "Container_c14ielyq",
5
+ propsAsIs: !1
6
+ }), o = /* @__PURE__ */ s("div")({
7
+ name: "Content",
8
+ class: "Content_c1tlqx57",
9
+ propsAsIs: !1
10
+ }), e = /* @__PURE__ */ s("div")({
11
+ name: "Title",
12
+ class: "Title_t1hq58md",
13
+ propsAsIs: !1
14
+ }), a = /* @__PURE__ */ s("div")({
15
+ name: "Options",
16
+ class: "Options_o1c8nxcx",
17
+ propsAsIs: !1
18
+ });
25
19
  export {
26
- o as Container,
27
- n as Content,
28
- r as Options,
29
- p as Title
20
+ n as Container,
21
+ o as Content,
22
+ a as Options,
23
+ e as Title
30
24
  };
@@ -1,11 +1,9 @@
1
- import { styled as o } from "@linaria/react";
2
- const n = o.div`
3
- display: flex;
4
- flex-direction: column;
5
- row-gap: 12px;
6
- padding: var(--container-padding);
7
- background-color: var(--color-neutrals-white);
8
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const n = /* @__PURE__ */ s("div")({
3
+ name: "Container",
4
+ class: "Container_c1dcxmvf",
5
+ propsAsIs: !1
6
+ });
9
7
  export {
10
8
  n as Container
11
9
  };