@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.
- 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 +48 -26
- package/lib/ui/app/Features/Gamification/index.js +54 -38
- 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/index.js +37 -37
- 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/index.d.ts +7 -0
- package/lib/ui/gamification/vote/expired-alert/index.js +13 -0
- package/lib/ui/gamification/vote/expired-alert/styles.d.ts +4 -0
- package/lib/ui/gamification/vote/expired-alert/styles.js +19 -0
- package/lib/ui/gamification/vote/feedback/styles.js +36 -64
- package/lib/ui/gamification/vote/index.d.ts +1 -0
- package/lib/ui/gamification/vote/index.js +48 -36
- package/lib/ui/gamification/vote/insight-details/styles.js +12 -23
- package/lib/ui/gamification/vote/styles.js +22 -28
- 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.d.ts +1 -0
- package/lib/ui/icons/index.js +71 -55
- 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 +6 -2
|
@@ -1,34 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { styled as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { styled as e } from "@linaria/react";
|
|
3
3
|
import { SvgIcon as n } from "../../icons/index.js";
|
|
4
|
-
import { Button as
|
|
4
|
+
import { Button as s } from "./index.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "./styles.js";
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
&:nth-child(2) {
|
|
14
|
-
fill: #fff;
|
|
15
|
-
stroke: #107d57;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
`, p = "featuredGroups", l = (t) => {
|
|
7
|
+
const u = () => n, c = /* @__PURE__ */ e(u())({
|
|
8
|
+
name: "ButtonIcon",
|
|
9
|
+
class: "ButtonIcon_b11des7c",
|
|
10
|
+
propsAsIs: !0
|
|
11
|
+
}), l = "featuredGroups", B = (t) => {
|
|
20
12
|
var o;
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
);
|
|
13
|
+
return /* @__PURE__ */ r(s, {
|
|
14
|
+
...t,
|
|
15
|
+
label: "FG+",
|
|
16
|
+
id: "featuredGroups",
|
|
17
|
+
icon: /* @__PURE__ */ r(c, {
|
|
18
|
+
name: "icon-btn-feature-groups",
|
|
19
|
+
"data-selected": (o = t.active) == null ? void 0 : o.toString()
|
|
20
|
+
})
|
|
21
|
+
});
|
|
30
22
|
};
|
|
31
23
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
B as FeaturedGroupsButton,
|
|
25
|
+
l as FeaturedGroupsButtonId
|
|
34
26
|
};
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { styled as
|
|
3
|
-
import { SvgIcon as
|
|
4
|
-
import { Button as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { styled as e } from "@linaria/react";
|
|
3
|
+
import { SvgIcon as n } from "../../icons/index.js";
|
|
4
|
+
import { Button as a } from "./index.js";
|
|
5
|
+
import "../../../LeaderBoard_p8tnz3-4ed993c7.js";
|
|
5
6
|
import "react";
|
|
6
7
|
import "./styles.js";
|
|
7
|
-
const n =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
);
|
|
8
|
+
const d = () => n, c = /* @__PURE__ */ e(d())({
|
|
9
|
+
name: "ButtonIcon",
|
|
10
|
+
class: "ButtonIcon_b180jd7l",
|
|
11
|
+
propsAsIs: !0
|
|
12
|
+
}), b = "leaderboard", I = (o) => {
|
|
13
|
+
var t;
|
|
14
|
+
return /* @__PURE__ */ r(a, {
|
|
15
|
+
...o,
|
|
16
|
+
label: "Leader Board",
|
|
17
|
+
id: "leaderboard",
|
|
18
|
+
icon: /* @__PURE__ */ r(c, {
|
|
19
|
+
name: "icon-btn-leaderboard",
|
|
20
|
+
"data-selected": (t = o.active) == null ? void 0 : t.toString()
|
|
21
|
+
})
|
|
22
|
+
});
|
|
24
23
|
};
|
|
25
24
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
I as LeaderBoardButton,
|
|
26
|
+
b as LeaderBoardButtonId
|
|
28
27
|
};
|
|
@@ -1,59 +1,19 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
letter-spacing: -0.5px;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
border-color: var(--color-primary-green1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&[data-selected='true'] {
|
|
23
|
-
color: var(--color-white);
|
|
24
|
-
background-color: var(--color-primary-green1);
|
|
25
|
-
border-color: var(--color-primary-green1);
|
|
26
|
-
|
|
27
|
-
&:hover {
|
|
28
|
-
cursor: default;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:disabled {
|
|
32
|
-
&:hover {
|
|
33
|
-
border-color: var(--color-primary-green1);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&:disabled {
|
|
39
|
-
opacity: 0.5;
|
|
40
|
-
cursor: default;
|
|
41
|
-
|
|
42
|
-
&:hover {
|
|
43
|
-
cursor: default;
|
|
44
|
-
border-color: var(--color-neutrals-gray3);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
`, t = r.span`
|
|
48
|
-
display: flex;
|
|
49
|
-
width: 22px;
|
|
50
|
-
height: 22px;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
margin-right: 5px;
|
|
54
|
-
`, a = r.span``;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const n = /* @__PURE__ */ s("button")({
|
|
3
|
+
name: "SButton",
|
|
4
|
+
class: "SButton_sxxa0c",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), o = /* @__PURE__ */ s("span")({
|
|
7
|
+
name: "ButtonIcon",
|
|
8
|
+
class: "ButtonIcon_b193dcyu",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
}), a = /* @__PURE__ */ s("span")({
|
|
11
|
+
name: "ButtonLabel",
|
|
12
|
+
class: "ButtonLabel_b40tuix",
|
|
13
|
+
propsAsIs: !1
|
|
14
|
+
});
|
|
55
15
|
export {
|
|
56
|
-
|
|
16
|
+
o as ButtonIcon,
|
|
57
17
|
a as ButtonLabel,
|
|
58
|
-
|
|
18
|
+
n as SButton
|
|
59
19
|
};
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { styled as r } from "@linaria/react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
import "../../index_1ujx5m0-4ed993c7.js";
|
|
4
|
+
const n = /* @__PURE__ */ r("div")({
|
|
5
|
+
name: "Buttons",
|
|
6
|
+
class: "Buttons_b6tbwuy",
|
|
7
|
+
propsAsIs: !1
|
|
8
|
+
}), a = ({
|
|
9
|
+
children: t,
|
|
10
|
+
className: o
|
|
11
|
+
}) => /* @__PURE__ */ s(n, {
|
|
12
|
+
className: o,
|
|
13
|
+
children: t
|
|
14
|
+
});
|
|
9
15
|
export {
|
|
10
16
|
a as Navigation
|
|
11
17
|
};
|
|
@@ -1,37 +1,13 @@
|
|
|
1
1
|
import { styled as o } from "@linaria/react";
|
|
2
2
|
import { Navigation as i } from "./index.js";
|
|
3
|
+
import "../../masters_18kvgvj-4ed993c7.js";
|
|
3
4
|
import "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
opacity: 0;
|
|
13
|
-
|
|
14
|
-
animation: show-nav 0.5s ease;
|
|
15
|
-
animation-fill-mode: forwards;
|
|
16
|
-
|
|
17
|
-
padding: var(--container-padding);
|
|
18
|
-
border-bottom: 1px solid var(--color-neutrals-gray3);
|
|
19
|
-
|
|
20
|
-
& > button:not(:last-child) {
|
|
21
|
-
margin-right: 8px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@keyframes show-nav {
|
|
25
|
-
90% {
|
|
26
|
-
opacity: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
100% {
|
|
30
|
-
height: 68px;
|
|
31
|
-
opacity: 1;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
5
|
+
import "../../index_1ujx5m0-4ed993c7.js";
|
|
6
|
+
const t = () => i, m = /* @__PURE__ */ o(t())({
|
|
7
|
+
name: "Navigation",
|
|
8
|
+
class: "Navigation_n19lpak2",
|
|
9
|
+
propsAsIs: !0
|
|
10
|
+
});
|
|
35
11
|
export {
|
|
36
|
-
|
|
12
|
+
m as Navigation
|
|
37
13
|
};
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const e =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
font-size: 12px;
|
|
24
|
-
font-weight: var(--font-weight-default);
|
|
25
|
-
line-height: 18px;
|
|
26
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const e = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "Container",
|
|
4
|
+
class: "Container_cgn5uen",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), n = /* @__PURE__ */ s("div")({
|
|
7
|
+
name: "Content",
|
|
8
|
+
class: "Content_c1px8nt6",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
}), a = /* @__PURE__ */ s("h3")({
|
|
11
|
+
name: "Title",
|
|
12
|
+
class: "Title_t5et2jt",
|
|
13
|
+
propsAsIs: !1
|
|
14
|
+
}), o = /* @__PURE__ */ s("div")({
|
|
15
|
+
name: "Description",
|
|
16
|
+
class: "Description_d1i2kpk2",
|
|
17
|
+
propsAsIs: !1
|
|
18
|
+
}), p = /* @__PURE__ */ s("div")({
|
|
19
|
+
name: "DateWrap",
|
|
20
|
+
class: "DateWrap_dd3lh3p",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
});
|
|
27
23
|
export {
|
|
28
24
|
e as Container,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
n as Content,
|
|
26
|
+
p as DateWrap,
|
|
27
|
+
o as Description,
|
|
28
|
+
a as Title
|
|
33
29
|
};
|
|
@@ -1,39 +1,34 @@
|
|
|
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
|
-
font-family: var(--font-serif);
|
|
28
|
-
`, l = e.div`
|
|
29
|
-
font-size: 12px;
|
|
30
|
-
line-height: 20px;
|
|
31
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const e = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "Container",
|
|
4
|
+
class: "Container_cjq447q",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), n = /* @__PURE__ */ s("div")({
|
|
7
|
+
name: "ImageContainer",
|
|
8
|
+
class: "ImageContainer_i14egogb",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
}), o = /* @__PURE__ */ s("img")({
|
|
11
|
+
name: "Image",
|
|
12
|
+
class: "Image_i2g9g4l",
|
|
13
|
+
propsAsIs: !1
|
|
14
|
+
}), m = /* @__PURE__ */ s("div")({
|
|
15
|
+
name: "Details",
|
|
16
|
+
class: "Details_d1c454nm",
|
|
17
|
+
propsAsIs: !1
|
|
18
|
+
}), t = /* @__PURE__ */ s("div")({
|
|
19
|
+
name: "Name",
|
|
20
|
+
class: "Name_n11nigc3",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
}), i = /* @__PURE__ */ s("div")({
|
|
23
|
+
name: "UserName",
|
|
24
|
+
class: "UserName_urxa4k8",
|
|
25
|
+
propsAsIs: !1
|
|
26
|
+
});
|
|
32
27
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
e as Container,
|
|
29
|
+
m as Details,
|
|
35
30
|
o as Image,
|
|
36
31
|
n as ImageContainer,
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
t as Name,
|
|
33
|
+
i as UserName
|
|
39
34
|
};
|
|
@@ -1,45 +1,34 @@
|
|
|
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
|
-
flex-direction: column;
|
|
28
|
-
row-gap: 12px;
|
|
29
|
-
`, a = o.div`
|
|
30
|
-
color: var(--color-neutrals-gray9);
|
|
31
|
-
font-size: 12px;
|
|
32
|
-
font-weight: var(--font-weight-default);
|
|
33
|
-
line-height: 18px;
|
|
34
|
-
`, l = o.img`
|
|
35
|
-
max-width: 100%;
|
|
36
|
-
border-radius: 8px;
|
|
37
|
-
`;
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
const a = /* @__PURE__ */ s("div")({
|
|
3
|
+
name: "Container",
|
|
4
|
+
class: "Container_c1kzqw87",
|
|
5
|
+
propsAsIs: !1
|
|
6
|
+
}), o = /* @__PURE__ */ s("div")({
|
|
7
|
+
name: "DateTime",
|
|
8
|
+
class: "DateTime_d9r1hf9",
|
|
9
|
+
propsAsIs: !1
|
|
10
|
+
}), t = /* @__PURE__ */ s("blockquote")({
|
|
11
|
+
name: "Quote",
|
|
12
|
+
class: "Quote_qezygt5",
|
|
13
|
+
propsAsIs: !1
|
|
14
|
+
}), n = /* @__PURE__ */ s("div")({
|
|
15
|
+
name: "Details",
|
|
16
|
+
class: "Details_d1y8f7ym",
|
|
17
|
+
propsAsIs: !1
|
|
18
|
+
}), l = /* @__PURE__ */ s("div")({
|
|
19
|
+
name: "Body",
|
|
20
|
+
class: "Body_b18gwonx",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
}), i = /* @__PURE__ */ s("img")({
|
|
23
|
+
name: "Image",
|
|
24
|
+
class: "Image_i3g0xjd",
|
|
25
|
+
propsAsIs: !1
|
|
26
|
+
});
|
|
38
27
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
28
|
+
l as Body,
|
|
29
|
+
a as Container,
|
|
30
|
+
o as DateTime,
|
|
42
31
|
n as Details,
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
i as Image,
|
|
33
|
+
t as Quote
|
|
45
34
|
};
|
package/lib/ui/show-in/index.js
CHANGED
|
@@ -1,65 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import { styled as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
max-height: 0;
|
|
19
|
-
}
|
|
20
|
-
80% {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
transform: scale(0.9);
|
|
23
|
-
max-height: 2500px;
|
|
24
|
-
}
|
|
25
|
-
85% {
|
|
26
|
-
transform: scale(0.9);
|
|
27
|
-
max-height: 2500px;
|
|
28
|
-
}
|
|
29
|
-
100% {
|
|
30
|
-
transform: scale(1);
|
|
31
|
-
opacity: 1;
|
|
32
|
-
max-height: 2500px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
`, c = r`
|
|
36
|
-
animation: containerHide ease-out;
|
|
37
|
-
animation-duration: var(--animation-duration);
|
|
38
|
-
animation-direction: reverse;
|
|
39
|
-
animation-fill-mode: forwards;
|
|
40
|
-
|
|
41
|
-
@keyframes containerHide {
|
|
42
|
-
0% {
|
|
43
|
-
transform: scale(0);
|
|
44
|
-
opacity: 0;
|
|
45
|
-
max-height: 0;
|
|
46
|
-
}
|
|
47
|
-
80% {
|
|
48
|
-
opacity: 0;
|
|
49
|
-
transform: scale(0.9);
|
|
50
|
-
max-height: 2500px;
|
|
51
|
-
}
|
|
52
|
-
85% {
|
|
53
|
-
transform: scale(0.9);
|
|
54
|
-
max-height: 2500px;
|
|
55
|
-
}
|
|
56
|
-
100% {
|
|
57
|
-
transform: scale(1);
|
|
58
|
-
opacity: 1;
|
|
59
|
-
max-height: 2500px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
`, f = ({ children: a, style: i, className: t, hiding: o }) => /* @__PURE__ */ n(s, { style: i, className: e(t, o && c), children: a });
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { cx as r } from "@linaria/core";
|
|
3
|
+
import { styled as a } from "@linaria/react";
|
|
4
|
+
const e = /* @__PURE__ */ a("div")({
|
|
5
|
+
name: "Container",
|
|
6
|
+
class: "Container_c1pgyo67",
|
|
7
|
+
propsAsIs: !1
|
|
8
|
+
}), m = "HidingAnimation_hx17qu6", x = ({
|
|
9
|
+
children: n,
|
|
10
|
+
style: o,
|
|
11
|
+
className: i,
|
|
12
|
+
hiding: t
|
|
13
|
+
}) => /* @__PURE__ */ s(e, {
|
|
14
|
+
style: o,
|
|
15
|
+
className: r(i, t && m),
|
|
16
|
+
children: n
|
|
17
|
+
});
|
|
63
18
|
export {
|
|
64
|
-
|
|
19
|
+
x as ShowIn
|
|
65
20
|
};
|
package/lib/ui/theme/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { theme as
|
|
3
|
-
import "@linaria/core";
|
|
2
|
+
import { theme as a } from "./theme.js";
|
|
4
3
|
import "./constants.js";
|
|
5
|
-
const
|
|
4
|
+
const s = ({ children: r, style: m }) => /* @__PURE__ */ e("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ e("div", { className: a, style: m, children: r }) });
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
s as StreamLayerThemeProvider
|
|
8
7
|
};
|
package/lib/ui/theme/masters.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const i = a`
|
|
3
|
-
--header-height: 68px;
|
|
4
|
-
--question-headers-height: 117px;
|
|
5
|
-
--animation-duration: 0.5s;
|
|
6
|
-
--animation-function: ease;
|
|
7
|
-
--container-padding: 16px;
|
|
8
|
-
`;
|
|
1
|
+
const s = "mastersVariables_m17a8r9z";
|
|
9
2
|
export {
|
|
10
|
-
|
|
3
|
+
s as mastersVariables
|
|
11
4
|
};
|
package/lib/ui/theme/theme.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
${l}
|
|
2
|
+
import { colors as h, FONT as t } from "./constants.js";
|
|
3
|
+
const d = `
|
|
4
|
+
${h}
|
|
6
5
|
--font-family: ${t.REGULAR};
|
|
7
6
|
--font-regular: ${t.REGULAR};
|
|
8
7
|
--font-color: ${t.COLOR};
|
|
@@ -14,28 +13,33 @@ const i = `
|
|
|
14
13
|
--animation-function: ease;
|
|
15
14
|
--container-padding: 16px;
|
|
16
15
|
--border-radius: 8px;
|
|
17
|
-
`,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
16
|
+
`, c = "StreamLayerCSSReset", m = "theme_ttkj0ah", f = () => /* @__PURE__ */ e("table", {
|
|
17
|
+
children: /* @__PURE__ */ r("table", {
|
|
18
|
+
children: [/* @__PURE__ */ e("thead", {
|
|
19
|
+
children: /* @__PURE__ */ r("tr", {
|
|
20
|
+
children: [/* @__PURE__ */ e("th", {
|
|
21
|
+
children: "name"
|
|
22
|
+
}), /* @__PURE__ */ e("th", {
|
|
23
|
+
children: "value"
|
|
24
|
+
})]
|
|
25
|
+
})
|
|
26
|
+
}), /* @__PURE__ */ e("tbody", {
|
|
27
|
+
children: d.split(";").map((i) => {
|
|
28
|
+
const n = i.trim(), [o, a] = n.split(":");
|
|
29
|
+
return /* @__PURE__ */ r("tr", {
|
|
30
|
+
children: [/* @__PURE__ */ e("td", {
|
|
31
|
+
children: o
|
|
32
|
+
}), /* @__PURE__ */ e("td", {
|
|
33
|
+
children: a
|
|
34
|
+
})]
|
|
35
|
+
}, n);
|
|
36
|
+
})
|
|
37
|
+
})]
|
|
38
|
+
})
|
|
39
|
+
});
|
|
36
40
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
f as ThemeVariables,
|
|
42
|
+
c as resetCss,
|
|
43
|
+
m as theme,
|
|
44
|
+
d as themeStr
|
|
41
45
|
};
|