@streamlayer/react-ui 0.38.0 → 0.40.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/index.js +35 -34
- package/lib/ui/app/Features/Gamification/Leaderboard.js +2 -2
- package/lib/ui/app/Features/Gamification/QuestionsList.js +9 -6
- package/lib/ui/app/Features/Gamification/Tabs.js +20 -17
- package/lib/ui/app/Features/Gamification/UserSummary.js +2 -2
- package/lib/ui/app/Features/Gamification/index.js +8 -5
- package/lib/ui/app/Features/Highlights/Insights.js +4 -5
- package/lib/ui/app/Features/Highlights/index.js +6 -7
- package/lib/ui/app/Features/index.js +8 -5
- package/lib/ui/app/masters.js +7 -6
- package/lib/ui/app/styles.d.ts +4 -0
- package/lib/ui/app/styles.js +15 -6
- package/lib/ui/button/index.d.ts +8 -0
- package/lib/ui/button/index.js +7 -0
- package/lib/ui/button/styles.d.ts +3 -0
- package/lib/ui/button/styles.js +44 -0
- package/lib/ui/demo/Gamification.js +20 -18
- package/lib/ui/demo/Highlights.js +6 -4
- package/lib/ui/demo/components/Insights.js +4 -5
- package/lib/ui/demo/components/Leaderboard.js +2 -2
- package/lib/ui/demo/components/QuestionsList.js +9 -6
- package/lib/ui/demo/components/UserSummary.js +2 -2
- package/lib/ui/demo/components/index.js +20 -18
- package/lib/ui/demo/index.js +7 -5
- package/lib/ui/gamification/insight/index.js +17 -18
- package/lib/ui/gamification/insight-list/index.js +3 -4
- package/lib/ui/gamification/leaderboard-item-detail/index.js +2 -2
- package/lib/ui/gamification/question/index.js +40 -31
- package/lib/ui/gamification/question/styles.d.ts +7 -5
- package/lib/ui/gamification/question/styles.js +58 -42
- package/lib/ui/gamification/question-list/index.js +10 -10
- package/lib/ui/gamification/question-list/styles.d.ts +1 -3
- package/lib/ui/gamification/question-list/styles.js +3 -19
- package/lib/ui/gamification/tabs/styles.js +6 -9
- package/lib/ui/gamification/user-statistics/components/rank/styles.js +14 -11
- package/lib/ui/gamification/user-statistics/components/statistic/index.d.ts +7 -0
- package/lib/ui/gamification/user-statistics/components/statistic/index.js +10 -0
- package/lib/ui/gamification/user-statistics/components/{statistics → statistic}/styles.d.ts +1 -0
- package/lib/ui/gamification/user-statistics/components/statistic/styles.js +23 -0
- package/lib/ui/gamification/user-statistics/index.js +38 -35
- package/lib/ui/gamification/user-statistics/styles.d.ts +3 -1
- package/lib/ui/gamification/user-statistics/styles.js +63 -52
- package/lib/ui/icons/index.d.ts +3 -1
- package/lib/ui/icons/index.js +37 -35
- package/lib/ui/navigation/index.js +5 -4
- package/lib/ui/navigation/masters.js +4 -3
- package/lib/ui/theme/constants.d.ts +0 -2
- package/lib/ui/theme/constants.js +4 -6
- package/lib/ui/theme/masters.d.ts +1 -0
- package/lib/ui/theme/theme.js +17 -11
- package/lib/utils/common.js +3 -2
- package/package.json +3 -3
- package/lib/icon-chevron-138a557c.js +0 -4
- package/lib/ui/gamification/user-statistics/components/statistics/index.d.ts +0 -7
- package/lib/ui/gamification/user-statistics/components/statistics/index.js +0 -10
- package/lib/ui/gamification/user-statistics/components/statistics/styles.js +0 -16
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { styled as e } from "@linaria/react";
|
|
2
2
|
const t = e.div`
|
|
3
3
|
display: flex;
|
|
4
|
-
justify-content: flex-end;
|
|
5
4
|
align-items: center;
|
|
6
|
-
|
|
5
|
+
flex: 1;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
padding: 9px 8px;
|
|
8
|
+
color: var(--color-neutrals-white);
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
background-color: var(--color-primary-green2);
|
|
7
11
|
overflow: hidden;
|
|
12
|
+
`, r = e.div`
|
|
13
|
+
font-size: 9px;
|
|
14
|
+
line-height: 14px;
|
|
15
|
+
text-transform: uppercase;
|
|
16
|
+
opacity: 0.8;
|
|
8
17
|
`, i = e.div`
|
|
9
|
-
width: 75px;
|
|
10
|
-
`, n = e.div`
|
|
11
18
|
font-size: 14px;
|
|
12
|
-
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
text-overflow: ellipsis;
|
|
15
|
-
white-space: nowrap;
|
|
16
|
-
width: 25px;
|
|
19
|
+
line-height: 16px;
|
|
17
20
|
`;
|
|
18
21
|
export {
|
|
19
22
|
t as Container,
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
i as Indicator,
|
|
24
|
+
r as Title
|
|
22
25
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsxs as o, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Container as n, Indicator as c, Title as e } from "./styles.js";
|
|
3
|
+
import "@linaria/react";
|
|
4
|
+
const l = ({ indicator: r, title: t }) => /* @__PURE__ */ o(n, { children: [
|
|
5
|
+
/* @__PURE__ */ i(c, { children: r }),
|
|
6
|
+
/* @__PURE__ */ i(e, { children: t })
|
|
7
|
+
] });
|
|
8
|
+
export {
|
|
9
|
+
l as Statistic
|
|
10
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
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
3
|
export declare const Indicator: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { styled as t } from "@linaria/react";
|
|
2
|
+
const i = t.div`
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
row-gap: 4px;
|
|
7
|
+
padding-top: 2px;
|
|
8
|
+
color: var(--color-neutrals-white);
|
|
9
|
+
text-align: center;
|
|
10
|
+
`, o = t.div`
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
line-height: 16px;
|
|
13
|
+
`, n = t.div`
|
|
14
|
+
font-size: 9px;
|
|
15
|
+
line-height: 14px;
|
|
16
|
+
text-transform: uppercase;
|
|
17
|
+
opacity: 0.8;
|
|
18
|
+
`;
|
|
19
|
+
export {
|
|
20
|
+
i as Container,
|
|
21
|
+
o as Indicator,
|
|
22
|
+
n as Title
|
|
23
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as N, jsx as M } from "react/jsx-runtime";
|
|
2
|
-
import { abbreviate as
|
|
2
|
+
import { abbreviate as y, formatDecimals as x } from "../../../utils/common.js";
|
|
3
3
|
import { Rank as A } from "./components/rank/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import { Container as
|
|
4
|
+
import { Statistic as D } from "./components/statistic/index.js";
|
|
5
|
+
import { Container as U, TopInfo as w, User as k, UserAccountBtn as r, Avatar as t, AvatarPlaceholder as S, UserInfo as E, UserName as Q, UserRating as C, Rts as Y, TrophyIcon as n, RtsIndicator as e, RtsLabel as o, Divider as l, BottomInfo as a, Ranks as d, Statistics as s } from "./styles.js";
|
|
6
6
|
import "./components/rank/styles.js";
|
|
7
7
|
import "@linaria/react";
|
|
8
|
-
import "./components/
|
|
9
|
-
const
|
|
8
|
+
import "./components/statistic/styles.js";
|
|
9
|
+
const m = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yLjc2OTE2IDMuNTAwMDJDMi43NjkxNiA0LjQ5Nzg2IDIuOTQ3MDUgNS4zOD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IDkuNjUxNjlDNi45OTYzOSA5LjQ3NTA0IDYuOTIzMDggOS4yNTc4MSA2LjkyMzA4IDlDNi45MjMwOCA4Ljc1NjUxIDYuOTU3OTMgOC41NDI4NiA3LjAyNzY0IDguMzU5MDVDNy4wOTczNiA4LjE3NTI0IDcuMjIzNTYgOC4wMDIxNyA3LjQwNjI1IDcuODM5ODRDNy42NjEwNiA3LjY0NDEgNy44ODk0MiA3LjQxNzMyIDguMDkxMzUgNy4xNTk1MUM4LjYzNDYyIDcuMTM1NjMgOS4xNTI2NCA3LjAyOTQxIDkuNjQ1NDMgNi44NDA4MkMxMC4xMzgyIDYuNjUyMjMgMTAuNTU0MSA2LjQxOTQ5IDEwLjg5MyA2LjE0MjU4QzExLjIzMiA1Ljg2NTY3IDExLjUwMTIgNS41NTUzNCAxMS43MDA3IDUuMjExNTlDMTEuOTAwMiA0Ljg2Nzg0IDEyIDQuNTI2NDggMTIgNC4xODc1Wk01LjA3MDMzIDUuMzg0OTFMNi4wMzgzIDQuODc1MDNMNy4wMDYyNyA1LjM4NDkxTDYuODIxNCA0LjMwNDk3TDcuNjA0NTEgMy41NDAxNkw2LjUyMjI4IDMuMzgyNkw2LjAzODMgMi40MDAwM0w1LjU1NDMxIDMuMzgyNkw0LjQ3MjA5IDMuNTQwMTZMNS4yNTUxOSA0LjMwNDk3TDUuMDcwMzMgNS4zODQ5MVoiIGZpbGw9IiNGMkM5NEMiLz4KPC9nPgo8L3N2Zz4K", W = ({
|
|
10
10
|
avatar: j,
|
|
11
11
|
name: I,
|
|
12
12
|
points: g,
|
|
@@ -16,42 +16,45 @@ const a = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXd
|
|
|
16
16
|
correct: i,
|
|
17
17
|
incorrect: u,
|
|
18
18
|
inTop: L,
|
|
19
|
-
average:
|
|
20
|
-
}) => /* @__PURE__ */ N(
|
|
21
|
-
/* @__PURE__ */ N(
|
|
22
|
-
/* @__PURE__ */ N(
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
/* @__PURE__ */ N(
|
|
30
|
-
/* @__PURE__ */ M(
|
|
31
|
-
/* @__PURE__ */ N(
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
] }),
|
|
35
|
-
/* @__PURE__ */ N(n, { children: [
|
|
36
|
-
"TOP ",
|
|
37
|
-
L || 0,
|
|
38
|
-
"%"
|
|
19
|
+
average: c
|
|
20
|
+
}) => /* @__PURE__ */ N(U, { children: [
|
|
21
|
+
/* @__PURE__ */ M(w, { children: /* @__PURE__ */ N(k, { children: [
|
|
22
|
+
/* @__PURE__ */ N(r, { children: [
|
|
23
|
+
j && /* @__PURE__ */ M(t, { alt: "avatar", src: j }),
|
|
24
|
+
!j && /* @__PURE__ */ M(S, { children: y(I || "") })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ N(E, { children: [
|
|
27
|
+
/* @__PURE__ */ M(Q, { children: I }),
|
|
28
|
+
/* @__PURE__ */ N(C, { children: [
|
|
29
|
+
/* @__PURE__ */ N(Y, { children: [
|
|
30
|
+
/* @__PURE__ */ M(n, { alt: "rank-icon", src: m }),
|
|
31
|
+
/* @__PURE__ */ N(e, { children: [
|
|
32
|
+
x(g),
|
|
33
|
+
/* @__PURE__ */ M(o, { children: "PTS" })
|
|
39
34
|
] })
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ M(l, {}),
|
|
37
|
+
/* @__PURE__ */ N("div", { children: [
|
|
38
|
+
"TOP ",
|
|
39
|
+
L || 0,
|
|
40
|
+
"%"
|
|
40
41
|
] })
|
|
41
42
|
] })
|
|
43
|
+
] })
|
|
44
|
+
] }) }),
|
|
45
|
+
/* @__PURE__ */ N(a, { children: [
|
|
46
|
+
/* @__PURE__ */ N(d, { children: [
|
|
47
|
+
/* @__PURE__ */ M(A, { indicator: T || 0, title: "Friends rank" }),
|
|
48
|
+
/* @__PURE__ */ M(A, { indicator: z || 0, title: "Global rank" })
|
|
42
49
|
] }),
|
|
43
|
-
/* @__PURE__ */ N(
|
|
44
|
-
/* @__PURE__ */ M(
|
|
45
|
-
/* @__PURE__ */ M(
|
|
50
|
+
/* @__PURE__ */ N(s, { children: [
|
|
51
|
+
/* @__PURE__ */ M(D, { indicator: O || 0, title: "Win streak" }),
|
|
52
|
+
/* @__PURE__ */ M(D, { indicator: i || 0, title: "Correct" }),
|
|
53
|
+
/* @__PURE__ */ M(D, { indicator: u || 0, title: "Incorrect" }),
|
|
54
|
+
/* @__PURE__ */ M(D, { indicator: `${c || 0}%`, title: "Succ. rate" })
|
|
46
55
|
] })
|
|
47
|
-
] }),
|
|
48
|
-
/* @__PURE__ */ N(l, { children: [
|
|
49
|
-
/* @__PURE__ */ M(D, { indicator: O || 0, title: "Win streak" }),
|
|
50
|
-
/* @__PURE__ */ M(D, { indicator: i || 0, title: "Correct" }),
|
|
51
|
-
/* @__PURE__ */ M(D, { indicator: u || 0, title: "Incorrect" }),
|
|
52
|
-
/* @__PURE__ */ M(D, { indicator: `${y || 0}%`, title: "Success rate" })
|
|
53
56
|
] })
|
|
54
57
|
] });
|
|
55
58
|
export {
|
|
56
|
-
|
|
59
|
+
W as UserStatistics
|
|
57
60
|
};
|
|
@@ -10,7 +10,9 @@ export declare const UserRating: import("@linaria/react").StyledComponent<import
|
|
|
10
10
|
export declare const TrophyIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
11
11
|
export declare const Rts: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
12
12
|
export declare const RtsIndicator: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const RtsLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
14
|
+
export declare const Divider: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
14
15
|
export declare const Ranks: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
16
|
+
export declare const Statistics: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
15
17
|
export declare const AvatarPlaceholder: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
16
18
|
export declare const UserAccountBtn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
@@ -1,72 +1,81 @@
|
|
|
1
1
|
import { styled as e } from "@linaria/react";
|
|
2
|
-
const
|
|
3
|
-
background-color: var(--color-transparent-user-container);
|
|
4
|
-
border-radius: 12px;
|
|
5
|
-
color: var(--color-grey-primary);
|
|
6
|
-
font-size: 10px;
|
|
7
|
-
font-weight: 600;
|
|
8
|
-
`, r = e.div`
|
|
2
|
+
const o = e.div`
|
|
9
3
|
padding: 12px;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
align-items: center;
|
|
14
|
-
column-gap: 5px;
|
|
4
|
+
font-weight: var(--font-weight-default);
|
|
5
|
+
background-color: var(--color-primary-green1);
|
|
6
|
+
border-radius: 12px;
|
|
15
7
|
`, i = e.div`
|
|
16
|
-
|
|
17
|
-
text-transform: uppercase;
|
|
8
|
+
margin-bottom: 12px;
|
|
18
9
|
display: flex;
|
|
10
|
+
align-items: center;
|
|
19
11
|
justify-content: space-between;
|
|
20
|
-
column-gap:
|
|
12
|
+
column-gap: 8px;
|
|
21
13
|
`, n = e.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
row-gap: 8px;
|
|
17
|
+
`, r = e.div`
|
|
22
18
|
display: flex;
|
|
23
19
|
column-gap: 8px;
|
|
24
20
|
flex: 1;
|
|
25
21
|
overflow: hidden;
|
|
26
|
-
`,
|
|
22
|
+
`, a = e.img`
|
|
27
23
|
width: 48px;
|
|
28
24
|
height: 48px;
|
|
29
25
|
border-radius: 50%;
|
|
30
26
|
object-fit: cover;
|
|
31
27
|
object-position: center;
|
|
32
28
|
flex-shrink: 0;
|
|
33
|
-
`,
|
|
34
|
-
padding-top: 4px;
|
|
29
|
+
`, s = e.div`
|
|
35
30
|
display: flex;
|
|
36
31
|
flex-direction: column;
|
|
37
|
-
row-gap:
|
|
32
|
+
row-gap: 6px;
|
|
38
33
|
overflow: hidden;
|
|
39
|
-
`,
|
|
40
|
-
font-size: 18px;
|
|
34
|
+
`, c = e.div`
|
|
41
35
|
color: var(--color-white);
|
|
36
|
+
font-size: 16px;
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
line-height: 24px;
|
|
42
39
|
overflow: hidden;
|
|
43
40
|
text-overflow: ellipsis;
|
|
44
41
|
white-space: nowrap;
|
|
45
|
-
`,
|
|
46
|
-
text-transform: uppercase;
|
|
42
|
+
`, p = e.div`
|
|
47
43
|
display: flex;
|
|
48
44
|
align-items: center;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
column-gap: 4px;
|
|
57
|
-
border-right: 1px solid var(--color-divider-color-secondary);
|
|
58
|
-
padding-right: 5px;
|
|
59
57
|
`, x = e.div`
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: baseline;
|
|
60
|
+
column-gap: 4px;
|
|
62
61
|
`, f = e.div`
|
|
63
|
-
|
|
62
|
+
font-size: 9px;
|
|
63
|
+
opacity: 0.8;
|
|
64
64
|
`, g = e.div`
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
width: 1px;
|
|
66
|
+
height: 10px;
|
|
67
|
+
background-color: var(--color-white);
|
|
68
|
+
opacity: 0.2;
|
|
69
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`
|
|
70
79
|
background: #2d6ffd;
|
|
71
80
|
border-radius: 50%;
|
|
72
81
|
width: 48px;
|
|
@@ -79,7 +88,7 @@ const t = e.div`
|
|
|
79
88
|
color: #fff;
|
|
80
89
|
font-size: 18px;
|
|
81
90
|
flex-shrink: 0;
|
|
82
|
-
`,
|
|
91
|
+
`, v = e.button`
|
|
83
92
|
border: none;
|
|
84
93
|
outline: none;
|
|
85
94
|
background-color: transparent;
|
|
@@ -95,19 +104,21 @@ const t = e.div`
|
|
|
95
104
|
max-height: 48px;
|
|
96
105
|
`;
|
|
97
106
|
export {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
g as
|
|
103
|
-
|
|
107
|
+
a as Avatar,
|
|
108
|
+
m as AvatarPlaceholder,
|
|
109
|
+
n as BottomInfo,
|
|
110
|
+
o as Container,
|
|
111
|
+
g as Divider,
|
|
112
|
+
h as Ranks,
|
|
113
|
+
d as Rts,
|
|
104
114
|
x as RtsIndicator,
|
|
105
|
-
f as
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
s as
|
|
112
|
-
|
|
115
|
+
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,
|
|
123
|
+
p as UserRating
|
|
113
124
|
};
|
package/lib/ui/icons/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const icons: {
|
|
|
7
7
|
'icon-thumb-down': any;
|
|
8
8
|
'icon-star': any;
|
|
9
9
|
'icon-prediction': any;
|
|
10
|
+
'icon-insight': any;
|
|
10
11
|
'icon-poll': any;
|
|
11
12
|
'icon-masters-logo': any;
|
|
12
13
|
'icon-logout': any;
|
|
@@ -23,12 +24,13 @@ export declare const icons: {
|
|
|
23
24
|
'icon-chevron': any;
|
|
24
25
|
'icon-chevron-white-left': any;
|
|
25
26
|
'icon-chevron-left': any;
|
|
26
|
-
'icon-check': any;
|
|
27
27
|
'icon-check-white': any;
|
|
28
28
|
'icon-check-green': any;
|
|
29
29
|
'icon-btn-channels': any;
|
|
30
30
|
'icon-btn-feature-groups': any;
|
|
31
31
|
'icon-btn-leaderboard': any;
|
|
32
|
+
'icon-check': any;
|
|
33
|
+
'icon-arrow': any;
|
|
32
34
|
fedex: any;
|
|
33
35
|
};
|
|
34
36
|
export declare const Icon: React.FC<{
|