@streamlayer/react-ui 0.66.0 → 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.
- package/lib/LeaderBoard_p8tnz3-4ed993c7.js +1 -0
- package/lib/assets/style.css +1 -0
- package/lib/index.js +4 -5
- package/lib/index_1ujx5m0-4ed993c7.js +1 -0
- package/lib/masters_18kvgvj-4ed993c7.js +1 -0
- package/lib/ui/app/Features/Gamification/Question.js +47 -34
- package/lib/ui/app/Features/Gamification/index.js +51 -37
- package/lib/ui/app/Navigation/MastersNavigation/index.js +13 -10
- package/lib/ui/app/Navigation/index.js +3 -2
- package/lib/ui/app/Notifications/Onboarding/Notification/index.d.ts +8 -0
- package/lib/ui/app/Notifications/Onboarding/Notification/index.js +21 -0
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.d.ts +10 -0
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +52 -0
- package/lib/ui/app/Notifications/Onboarding/index.js +96 -74
- package/lib/ui/app/Notifications/index.js +37 -13
- package/lib/ui/app/Notifications/styles.js +8 -13
- package/lib/ui/app/masters.js +32 -13
- package/lib/ui/app/styles.js +21 -36
- package/lib/ui/app/useMastersApp.js +4 -4
- package/lib/ui/button/styles.js +12 -42
- package/lib/ui/gamification/detail/header/styles.js +33 -55
- package/lib/ui/gamification/detail/sponsor/index.js +19 -12
- package/lib/ui/gamification/insight/styles.js +42 -63
- package/lib/ui/gamification/insight-list/styles.js +12 -18
- package/lib/ui/gamification/invite-link/styles.js +31 -45
- package/lib/ui/gamification/leaderboard/list-item/styles.js +40 -62
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +32 -45
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +70 -97
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.js +40 -79
- package/lib/ui/gamification/onboarding/styles.js +39 -49
- package/lib/ui/gamification/points/index.js +4 -6
- package/lib/ui/gamification/points/styles.js +31 -80
- package/lib/ui/gamification/question/insight/styles.js +11 -51
- package/lib/ui/gamification/question/list/styles.js +7 -9
- package/lib/ui/gamification/question/notification/insight/styles.js +26 -63
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.js +82 -163
- package/lib/ui/gamification/question/notification/prediction-result/styles.js +53 -128
- package/lib/ui/gamification/question/notification/styles.js +43 -83
- package/lib/ui/gamification/question/notification/tweet/styles.js +36 -65
- package/lib/ui/gamification/question/styles.js +66 -92
- package/lib/ui/gamification/question/twitter/styles.js +13 -23
- package/lib/ui/gamification/tabs/styles.js +22 -65
- package/lib/ui/gamification/user-statistics/components/rank/styles.js +17 -23
- package/lib/ui/gamification/user-statistics/components/statistic/styles.js +16 -20
- package/lib/ui/gamification/user-statistics/styles.js +84 -119
- package/lib/ui/gamification/vote/expired-alert/styles.js +17 -27
- package/lib/ui/gamification/vote/feedback/styles.js +36 -64
- package/lib/ui/gamification/vote/insight-details/styles.js +12 -23
- package/lib/ui/gamification/vote/styles.js +21 -30
- package/lib/ui/gamification/vote/twitter-details/styles.js +6 -8
- package/lib/ui/gamification/vote/vote-option/styles.js +63 -147
- package/lib/ui/gamification/vote/win-bar/styles.js +37 -45
- package/lib/ui/icons/index.js +35 -20
- package/lib/ui/login/styles.js +36 -68
- package/lib/ui/navigation/button/Channels.js +18 -26
- package/lib/ui/navigation/button/FeaturedGroups.js +19 -27
- package/lib/ui/navigation/button/LeaderBoard.js +22 -23
- package/lib/ui/navigation/button/styles.js +16 -56
- package/lib/ui/navigation/index.js +13 -7
- package/lib/ui/navigation/masters.js +8 -32
- package/lib/ui/questions/insight/styles.js +26 -30
- package/lib/ui/questions/twitter/account/styles.js +30 -35
- package/lib/ui/questions/twitter/styles.js +31 -42
- package/lib/ui/show-in/index.js +18 -63
- package/lib/ui/theme/index.js +3 -4
- package/lib/ui/theme/masters.js +2 -9
- package/lib/ui/theme/theme.js +31 -27
- package/lib/ui/timer/index.js +38 -34
- package/lib/ui/video-player/styles.js +21 -26
- package/lib/utils/debug/components/bypassLogin.js +44 -60
- package/lib/utils/debug/components/developer.js +55 -87
- package/lib/utils/debug/components/envToggle.js +33 -58
- package/lib/utils/debug/components/styles.js +7 -49
- package/lib/utils/decorators/container.js +3 -4
- package/lib/utils/decorators/styles.js +7 -21
- package/package.json +7 -3
|
@@ -1,83 +1,44 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
width: 36px;
|
|
36
|
-
height: 36px;
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
background-color: var(--color-primary-green1);
|
|
39
|
-
|
|
40
|
-
& [data-icon='icon-trophy'] {
|
|
41
|
-
width: 18px;
|
|
42
|
-
height: 18px;
|
|
43
|
-
|
|
44
|
-
path {
|
|
45
|
-
fill: var(--color-neutrals-white);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
& [data-icon='icon-btn-feature-groups'] path {
|
|
50
|
-
&:first-child {
|
|
51
|
-
stroke: var(--color-neutrals-white);
|
|
52
|
-
}
|
|
53
|
-
&:not(:first-child) {
|
|
54
|
-
fill: var(--color-neutrals-white);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
`, c = t.div`
|
|
58
|
-
font-size: 14px;
|
|
59
|
-
font-weight: var(--font-weight-default);
|
|
60
|
-
line-height: 18px;
|
|
61
|
-
letter-spacing: -0.154px;
|
|
62
|
-
`, p = t.button`
|
|
63
|
-
margin: 0 auto;
|
|
64
|
-
padding: 8px 16px;
|
|
65
|
-
color: var(--color-primary-green1);
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
font-weight: 400;
|
|
68
|
-
line-height: 16px;
|
|
69
|
-
border: initial;
|
|
70
|
-
background: initial;
|
|
71
|
-
outline: initial;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const t = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "Container",
|
|
4
|
+
class: "Container_cm0bev",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), n = /* @__PURE__ */ s("div")({
|
|
7
|
+
name: "Content",
|
|
8
|
+
class: "Content_ce7x737",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
}), l = /* @__PURE__ */ s("div")({
|
|
11
|
+
name: "Title",
|
|
12
|
+
class: "Title_tc2tor6",
|
|
13
|
+
propsAsIs: !1
|
|
14
|
+
}), o = /* @__PURE__ */ s("div")({
|
|
15
|
+
name: "RulesList",
|
|
16
|
+
class: "RulesList_r1k5klql",
|
|
17
|
+
propsAsIs: !1
|
|
18
|
+
}), a = /* @__PURE__ */ s("div")({
|
|
19
|
+
name: "RulesItem",
|
|
20
|
+
class: "RulesItem_r1tf3ft2",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
}), c = /* @__PURE__ */ s("div")({
|
|
23
|
+
name: "RuleIcon",
|
|
24
|
+
class: "RuleIcon_rwpvg1k",
|
|
25
|
+
propsAsIs: !1
|
|
26
|
+
}), r = /* @__PURE__ */ s("div")({
|
|
27
|
+
name: "RuleText",
|
|
28
|
+
class: "RuleText_rbxiag0",
|
|
29
|
+
propsAsIs: !1
|
|
30
|
+
}), p = /* @__PURE__ */ s("button")({
|
|
31
|
+
name: "TermsButton",
|
|
32
|
+
class: "TermsButton_t6cyrry",
|
|
33
|
+
propsAsIs: !1
|
|
34
|
+
});
|
|
74
35
|
export {
|
|
75
|
-
|
|
36
|
+
t as Container,
|
|
76
37
|
n as Content,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
38
|
+
c as RuleIcon,
|
|
39
|
+
r as RuleText,
|
|
40
|
+
a as RulesItem,
|
|
41
|
+
o as RulesList,
|
|
81
42
|
p as TermsButton,
|
|
82
|
-
|
|
43
|
+
l as Title
|
|
83
44
|
};
|
|
@@ -1,54 +1,44 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import { Button as
|
|
3
|
-
import { SvgIcon as
|
|
1
|
+
import { styled as o } from "@linaria/react";
|
|
2
|
+
import { Button as n } from "../../button/index.js";
|
|
3
|
+
import { SvgIcon as s } from "../../icons/index.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "../../button/styles.js";
|
|
6
6
|
import "react";
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
display: flex;
|
|
37
|
-
padding: 0 16px 16px 16px;
|
|
38
|
-
`, m = n(o)`
|
|
39
|
-
flex-grow: 1;
|
|
40
|
-
padding: 0 16px;
|
|
41
|
-
height: 44px;
|
|
42
|
-
font-size: 14px;
|
|
43
|
-
line-height: 20px;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
`;
|
|
7
|
+
const d = /* @__PURE__ */ o("div")({
|
|
8
|
+
name: "Container",
|
|
9
|
+
class: "Container_c18uddbs",
|
|
10
|
+
propsAsIs: !1
|
|
11
|
+
}), m = /* @__PURE__ */ o("div")({
|
|
12
|
+
name: "Content",
|
|
13
|
+
class: "Content_cvcfjf6",
|
|
14
|
+
propsAsIs: !1
|
|
15
|
+
}), f = /* @__PURE__ */ o("div")({
|
|
16
|
+
name: "OnboardingHeader",
|
|
17
|
+
class: "OnboardingHeader_o1ie27lw",
|
|
18
|
+
propsAsIs: !1
|
|
19
|
+
}), C = /* @__PURE__ */ o("button")({
|
|
20
|
+
name: "CloseBtn",
|
|
21
|
+
class: "CloseBtn_c15cjkwi",
|
|
22
|
+
propsAsIs: !1
|
|
23
|
+
}), t = () => s, b = /* @__PURE__ */ o(t())({
|
|
24
|
+
name: "IconClose",
|
|
25
|
+
class: "IconClose_i1mavjt2",
|
|
26
|
+
propsAsIs: !0
|
|
27
|
+
}), g = /* @__PURE__ */ o("div")({
|
|
28
|
+
name: "OnboardingFooter",
|
|
29
|
+
class: "OnboardingFooter_o1x0dyzv",
|
|
30
|
+
propsAsIs: !1
|
|
31
|
+
}), e = () => n, I = /* @__PURE__ */ o(e())({
|
|
32
|
+
name: "OnboardingActionBtn",
|
|
33
|
+
class: "OnboardingActionBtn_o1jfi9c3",
|
|
34
|
+
propsAsIs: !0
|
|
35
|
+
});
|
|
46
36
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
C as CloseBtn,
|
|
38
|
+
d as Container,
|
|
39
|
+
m as Content,
|
|
40
|
+
b as IconClose,
|
|
41
|
+
I as OnboardingActionBtn,
|
|
42
|
+
g as OnboardingFooter,
|
|
43
|
+
f as OnboardingHeader
|
|
54
44
|
};
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { resetCss as r } from "../../theme/theme.js";
|
|
3
3
|
import { formatDecimals as n } from "../../../utils/common.js";
|
|
4
|
-
import { PointsContainer as
|
|
5
|
-
import "@linaria/core";
|
|
4
|
+
import { PointsContainer as s, PointsIcon as m, PointsSvg as e, PointsBody as p, PointsTitle as c, PointsValue as l } from "./styles.js";
|
|
6
5
|
import "../../theme/constants.js";
|
|
7
6
|
import "@linaria/react";
|
|
8
7
|
import "../../icons/index.js";
|
|
9
8
|
import "react";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/* @__PURE__ */ o(s, { children: /* @__PURE__ */ o(e, { name: "icon-trophy" }) }),
|
|
9
|
+
const y = ({ points: t }) => /* @__PURE__ */ i(s, { className: r, children: [
|
|
10
|
+
/* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(e, { name: "icon-trophy" }) }),
|
|
13
11
|
/* @__PURE__ */ i(p, { children: [
|
|
14
12
|
/* @__PURE__ */ o(c, { children: "Total points" }),
|
|
15
13
|
/* @__PURE__ */ o(l, { children: n(t) })
|
|
16
14
|
] })
|
|
17
15
|
] });
|
|
18
16
|
export {
|
|
19
|
-
|
|
17
|
+
y as Points
|
|
20
18
|
};
|
|
@@ -1,86 +1,37 @@
|
|
|
1
|
-
import { styled as
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
2
|
import { SvgIcon as o } from "../../icons/index.js";
|
|
3
|
-
import { breakpoints as i } from "../../theme/breakpoints.js";
|
|
4
3
|
import "react/jsx-runtime";
|
|
5
4
|
import "react";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
`, a = t.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-shrink: 0;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
width: 40px;
|
|
37
|
-
height: 40px;
|
|
38
|
-
border-radius: 50%;
|
|
39
|
-
background: var(--color-primary-green2);
|
|
40
|
-
|
|
41
|
-
${i.down("md")`
|
|
42
|
-
width: 28px;
|
|
43
|
-
height: 28px;
|
|
44
|
-
`}
|
|
45
|
-
`, x = t(o)`
|
|
46
|
-
width: 20px;
|
|
47
|
-
height: 20px;
|
|
48
|
-
|
|
49
|
-
path {
|
|
50
|
-
fill: var(--color-neutrals-white);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
${i.down("md")`
|
|
54
|
-
width: 14px;
|
|
55
|
-
height: 14px;
|
|
56
|
-
`}
|
|
57
|
-
`, h = t.div`
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
color: var(--color-neutrals-white);
|
|
61
|
-
font-weight: var(--font-weight-default);
|
|
62
|
-
`, c = t.div`
|
|
63
|
-
margin-bottom: 1px;
|
|
64
|
-
font-size: 9px;
|
|
65
|
-
text-transform: uppercase;
|
|
66
|
-
|
|
67
|
-
${i.down("md")`
|
|
68
|
-
display: none;
|
|
69
|
-
`}
|
|
70
|
-
`, m = t.div`
|
|
71
|
-
font-size: 18px;
|
|
72
|
-
line-height: 20px;
|
|
73
|
-
|
|
74
|
-
${i.down("md")`
|
|
75
|
-
font-size: 14px;
|
|
76
|
-
line-height: 22px;
|
|
77
|
-
`}
|
|
78
|
-
`;
|
|
5
|
+
const a = /* @__PURE__ */ s("div")({
|
|
6
|
+
name: "PointsContainer",
|
|
7
|
+
class: "PointsContainer_psiob9b",
|
|
8
|
+
propsAsIs: !1
|
|
9
|
+
}), l = /* @__PURE__ */ s("div")({
|
|
10
|
+
name: "PointsIcon",
|
|
11
|
+
class: "PointsIcon_p1gqe4lh",
|
|
12
|
+
propsAsIs: !1
|
|
13
|
+
}), n = () => o, c = /* @__PURE__ */ s(n())({
|
|
14
|
+
name: "PointsSvg",
|
|
15
|
+
class: "PointsSvg_p15syg2y",
|
|
16
|
+
propsAsIs: !0
|
|
17
|
+
}), r = /* @__PURE__ */ s("div")({
|
|
18
|
+
name: "PointsBody",
|
|
19
|
+
class: "PointsBody_p12n4f2h",
|
|
20
|
+
propsAsIs: !1
|
|
21
|
+
}), P = /* @__PURE__ */ s("div")({
|
|
22
|
+
name: "PointsTitle",
|
|
23
|
+
class: "PointsTitle_poqmx89",
|
|
24
|
+
propsAsIs: !1
|
|
25
|
+
}), m = /* @__PURE__ */ s("div")({
|
|
26
|
+
name: "PointsValue",
|
|
27
|
+
class: "PointsValue_prj9b3v",
|
|
28
|
+
propsAsIs: !1
|
|
29
|
+
});
|
|
79
30
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
31
|
+
r as PointsBody,
|
|
32
|
+
a as PointsContainer,
|
|
33
|
+
l as PointsIcon,
|
|
34
|
+
c as PointsSvg,
|
|
35
|
+
P as PointsTitle,
|
|
85
36
|
m as PointsValue
|
|
86
37
|
};
|
|
@@ -1,54 +1,14 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
&:hover {
|
|
13
|
-
border-color: var(--color-neutrals-gray4);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
${o} {
|
|
17
|
-
font-weight: 400;
|
|
18
|
-
line-height: 24px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
${e} {
|
|
22
|
-
display: -webkit-box;
|
|
23
|
-
font-size: 12px;
|
|
24
|
-
line-height: 18px;
|
|
25
|
-
text-overflow: ellipsis;
|
|
26
|
-
word-break: break-all;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
-webkit-box-orient: vertical;
|
|
29
|
-
-webkit-line-clamp: 2;
|
|
30
|
-
}
|
|
31
|
-
`, l = r.button`
|
|
32
|
-
border: none;
|
|
33
|
-
outline: none;
|
|
34
|
-
background-color: var(--color-primary-green1);
|
|
35
|
-
color: var(--color-white);
|
|
36
|
-
border-radius: 40px;
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
font-weight: 550;
|
|
42
|
-
width: 100%;
|
|
43
|
-
padding: 0px 16px;
|
|
44
|
-
height: 44px;
|
|
45
|
-
|
|
46
|
-
&:hover {
|
|
47
|
-
background-color: var(--color-primary-green2);
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
}
|
|
50
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const n = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "Container",
|
|
4
|
+
class: "Container_cll3md7",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), o = /* @__PURE__ */ s("button")({
|
|
7
|
+
name: "ActionBtn",
|
|
8
|
+
class: "ActionBtn_a10g1iik",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
});
|
|
51
11
|
export {
|
|
52
|
-
|
|
12
|
+
o as ActionBtn,
|
|
53
13
|
n as Container
|
|
54
14
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
gap: 8px;
|
|
8
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const n = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "QuestionsContainer",
|
|
4
|
+
class: "QuestionsContainer_qvghv3l",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
});
|
|
9
7
|
export {
|
|
10
|
-
|
|
8
|
+
n as QuestionsContainer
|
|
11
9
|
};
|
|
@@ -1,66 +1,29 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-webkit-line-clamp: 2;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
word-break: break-all;
|
|
26
|
-
text-overflow: ellipsis;
|
|
27
|
-
max-height: 50px;
|
|
28
|
-
`, n = o.div`
|
|
29
|
-
color: var(--color-neutrals-gray9);
|
|
30
|
-
font-size: 12px;
|
|
31
|
-
line-height: 24px;
|
|
32
|
-
font-weight: var(--font-weight-default);
|
|
33
|
-
display: -webkit-box;
|
|
34
|
-
-webkit-box-orient: vertical;
|
|
35
|
-
-webkit-line-clamp: 2;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
word-break: break-all;
|
|
38
|
-
text-overflow: ellipsis;
|
|
39
|
-
max-height: 50px;
|
|
40
|
-
`, l = o.button`
|
|
41
|
-
border: none;
|
|
42
|
-
outline: none;
|
|
43
|
-
background-color: var(--color-primary-green1);
|
|
44
|
-
color: var(--color-white);
|
|
45
|
-
border-radius: 40px;
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
align-items: center;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
font-weight: 550;
|
|
51
|
-
width: 100%;
|
|
52
|
-
padding: 0px 16px;
|
|
53
|
-
height: 44px;
|
|
54
|
-
|
|
55
|
-
&:hover {
|
|
56
|
-
background-color: var(--color-primary-green2);
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
}
|
|
59
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const n = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "InsightContainer",
|
|
4
|
+
class: "InsightContainer_i1pqqgpo",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), i = /* @__PURE__ */ s("div")({
|
|
7
|
+
name: "InsightContent",
|
|
8
|
+
class: "InsightContent_igj7luu",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
}), o = /* @__PURE__ */ s("h3")({
|
|
11
|
+
name: "Title",
|
|
12
|
+
class: "Title_t1qne9g6",
|
|
13
|
+
propsAsIs: !1
|
|
14
|
+
}), e = /* @__PURE__ */ s("div")({
|
|
15
|
+
name: "Description",
|
|
16
|
+
class: "Description_dtpr98r",
|
|
17
|
+
propsAsIs: !1
|
|
18
|
+
}), a = /* @__PURE__ */ s("button")({
|
|
19
|
+
name: "ActionBtn",
|
|
20
|
+
class: "ActionBtn_a17iaqp8",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
});
|
|
60
23
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
24
|
+
a as ActionBtn,
|
|
25
|
+
e as Description,
|
|
26
|
+
n as InsightContainer,
|
|
64
27
|
i as InsightContent,
|
|
65
|
-
|
|
28
|
+
o as Title
|
|
66
29
|
};
|