@streamlayer/react-ui 0.57.0 → 0.59.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/ui/app/Features/Gamification/Tabs.js +5 -5
- package/lib/ui/app/Features/Gamification/UserSummary.d.ts +1 -1
- package/lib/ui/app/Features/Gamification/UserSummary.js +8 -7
- package/lib/ui/app/Notifications/Onboarding/index.d.ts +12 -0
- package/lib/ui/app/Notifications/Onboarding/index.js +301894 -0
- package/lib/ui/app/Notifications/index.js +35 -7
- package/lib/ui/app/masters.js +21 -8
- package/lib/ui/app/styles.js +4 -3
- package/lib/ui/button/index.d.ts +2 -0
- package/lib/ui/button/index.js +3 -3
- package/lib/ui/gamification/onboarding/index.d.ts +7 -11
- package/lib/ui/gamification/onboarding/index.js +55 -49
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +12 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.js +19 -0
- package/lib/ui/gamification/onboarding/{components/onboarding-slides → slides}/onboarding-instructions/styles.d.ts +3 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +48 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +15 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +39 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +15 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +104 -0
- package/lib/ui/gamification/onboarding/{components/onboarding-slides → slides}/onboarding-rules/index.d.ts +6 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.js +18 -0
- package/lib/ui/gamification/onboarding/{components/onboarding-slides → slides}/onboarding-rules/styles.d.ts +3 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.js +83 -0
- package/lib/ui/gamification/onboarding/styles.d.ts +3 -6
- package/lib/ui/gamification/onboarding/styles.js +37 -52
- package/lib/ui/gamification/question/twitter/account/index.d.ts +8 -0
- package/lib/ui/gamification/question/twitter/account/index.js +19 -0
- package/lib/ui/gamification/question/twitter/account/styles.d.ts +7 -0
- package/lib/ui/gamification/question/twitter/account/styles.js +39 -0
- package/lib/ui/gamification/question/twitter/index.d.ts +10 -0
- package/lib/ui/gamification/question/twitter/index.js +22 -0
- package/lib/ui/gamification/question/twitter/styles.d.ts +9 -0
- package/lib/ui/gamification/question/twitter/styles.js +64 -0
- package/lib/ui/icons/index.d.ts +8 -2
- package/lib/ui/icons/index.js +40 -34
- package/lib/ui/login/demo.d.ts +5 -0
- package/lib/ui/login/demo.js +26 -0
- package/lib/ui/show-in/index.js +7 -7
- package/package.json +12 -11
- package/lib/icon-exit-d3f9fc80.js +0 -4
- package/lib/ui/gamification/common-header/index.d.ts +0 -8
- package/lib/ui/gamification/common-header/index.js +0 -14
- package/lib/ui/gamification/common-header/styles.d.ts +0 -4
- package/lib/ui/gamification/common-header/styles.js +0 -31
- package/lib/ui/gamification/detailed-insight/index.d.ts +0 -13
- package/lib/ui/gamification/detailed-insight/index.js +0 -30
- package/lib/ui/gamification/detailed-insight/styles.d.ts +0 -8
- package/lib/ui/gamification/detailed-insight/styles.js +0 -62
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.d.ts +0 -7
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.js +0 -10
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/styles.js +0 -30
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.d.ts +0 -8
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.js +0 -17
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/styles.d.ts +0 -8
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/styles.js +0 -55
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-rules/index.js +0 -13
- package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-rules/styles.js +0 -43
|
@@ -1,8 +0,0 @@
|
|
|
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 Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
4
|
-
export declare const AdditionalContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
-
export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
6
|
-
export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
-
export declare const AdditionalBtn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLAnchorElement> & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & Record<never, unknown>>;
|
|
8
|
-
export declare const LinkIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { styled as o } from "@linaria/react";
|
|
2
|
-
const t = o.div`
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
font-size: 14px;
|
|
5
|
-
color: var(--color-white);
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
padding: 16px 12px;
|
|
11
|
-
`, e = o.img`
|
|
12
|
-
border-radius: 50%;
|
|
13
|
-
width: 130px;
|
|
14
|
-
height: 130px;
|
|
15
|
-
border: 1px solid #7e7e7f;
|
|
16
|
-
margin-bottom: 8px;
|
|
17
|
-
`, n = o.div`
|
|
18
|
-
width: 100%;
|
|
19
|
-
margin-bottom: 8px;
|
|
20
|
-
`, r = o.div`
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
margin-bottom: 8px;
|
|
23
|
-
`, d = o.div`
|
|
24
|
-
font-weight: 400;
|
|
25
|
-
`, c = o.a`
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
text-decoration: none;
|
|
28
|
-
color: var(--color-white);
|
|
29
|
-
font-size: 13px;
|
|
30
|
-
font-weight: 600;
|
|
31
|
-
background-color: var(--color-blue-question-action-btn);
|
|
32
|
-
padding: 10px 5px;
|
|
33
|
-
border-radius: 6px;
|
|
34
|
-
width: 100%;
|
|
35
|
-
display: inline-block;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
text-overflow: ellipsis;
|
|
39
|
-
white-space: nowrap;
|
|
40
|
-
text-align: center;
|
|
41
|
-
|
|
42
|
-
&:active,
|
|
43
|
-
&:hover,
|
|
44
|
-
&:visited {
|
|
45
|
-
text-decoration: none;
|
|
46
|
-
color: var(--color-white);
|
|
47
|
-
}
|
|
48
|
-
`, l = o.img`
|
|
49
|
-
width: 17px;
|
|
50
|
-
height: 16px;
|
|
51
|
-
vertical-align: middle;
|
|
52
|
-
margin-left: 10px;
|
|
53
|
-
`;
|
|
54
|
-
export {
|
|
55
|
-
c as AdditionalBtn,
|
|
56
|
-
n as AdditionalContent,
|
|
57
|
-
t as Container,
|
|
58
|
-
d as Description,
|
|
59
|
-
e as Image,
|
|
60
|
-
l as LinkIcon,
|
|
61
|
-
r as Title
|
|
62
|
-
};
|
package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { Container as o, Content as c, Graphic as e, Headline as s } from "./styles.js";
|
|
3
|
-
import "@linaria/react";
|
|
4
|
-
const d = ({ graphic: n, headline: i }) => /* @__PURE__ */ r(o, { children: /* @__PURE__ */ t(c, { children: [
|
|
5
|
-
/* @__PURE__ */ r(e, { alt: "graphic-img-instructions", src: n }),
|
|
6
|
-
/* @__PURE__ */ r(s, { children: i })
|
|
7
|
-
] }) });
|
|
8
|
-
export {
|
|
9
|
-
d as OnboardingInstructions
|
|
10
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { styled as t } from "@linaria/react";
|
|
2
|
-
const i = t.div`
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
`, n = t.div`
|
|
9
|
-
width: 80%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
align-items: center;
|
|
15
|
-
`, o = t.img`
|
|
16
|
-
margin-bottom: 24px;
|
|
17
|
-
width: 100%;
|
|
18
|
-
`, d = t.div`
|
|
19
|
-
word-break: break-word;
|
|
20
|
-
font-weight: 600;
|
|
21
|
-
font-size: 17px;
|
|
22
|
-
padding: 0px 20px;
|
|
23
|
-
text-align: center;
|
|
24
|
-
`;
|
|
25
|
-
export {
|
|
26
|
-
i as Container,
|
|
27
|
-
n as Content,
|
|
28
|
-
o as Graphic,
|
|
29
|
-
d as Headline
|
|
30
|
-
};
|
package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as M, jsxs as I } from "react/jsx-runtime";
|
|
2
|
-
import { Container as z, Content as g, InviteGameIconWrap as A, InviteGameIcon as T, Heading as x, Subtext as E, InviteBtn as L } from "./styles.js";
|
|
3
|
-
import "@linaria/react";
|
|
4
|
-
const u = "data:image/svg+xml;base64,PHN2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0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", c = ({
|
|
5
|
-
inviteCardTitle: j,
|
|
6
|
-
inviteCardSubtext: D,
|
|
7
|
-
primaryColor: N
|
|
8
|
-
}) => /* @__PURE__ */ M(z, { children: /* @__PURE__ */ I(g, { children: [
|
|
9
|
-
/* @__PURE__ */ M(A, { style: { backgroundColor: N }, children: /* @__PURE__ */ M(T, { alt: "invite-game-icon", src: u }) }),
|
|
10
|
-
/* @__PURE__ */ M(x, { children: j || "" }),
|
|
11
|
-
/* @__PURE__ */ M(E, { children: D || "" }),
|
|
12
|
-
/* @__PURE__ */ M(L, { onClick: () => {
|
|
13
|
-
}, style: { backgroundColor: N }, children: "Invite friends!" })
|
|
14
|
-
] }) });
|
|
15
|
-
export {
|
|
16
|
-
c as OnboardingInviteCard
|
|
17
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
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 Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
-
export declare const InviteGameIconWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
-
export declare const InviteGameIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
6
|
-
export declare const Heading: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
-
export declare const Subtext: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
8
|
-
export declare const InviteBtn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/styles.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { styled as t } from "@linaria/react";
|
|
2
|
-
const e = t.div`
|
|
3
|
-
width: 100%;
|
|
4
|
-
flex: 1;
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
`, o = t.div`
|
|
9
|
-
color: #fff;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
align-items: center;
|
|
13
|
-
`, i = t.div`
|
|
14
|
-
width: 48px;
|
|
15
|
-
height: 48px;
|
|
16
|
-
border-radius: 50%;
|
|
17
|
-
margin-bottom: 24px;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
background-color: var(--color-green-primary-btn);
|
|
22
|
-
`, r = t.img`
|
|
23
|
-
width: 24px;
|
|
24
|
-
height: 24px;
|
|
25
|
-
`, c = t.div`
|
|
26
|
-
font-size: 20px;
|
|
27
|
-
font-weight: 600;
|
|
28
|
-
text-align: center;
|
|
29
|
-
margin-bottom: 8px;
|
|
30
|
-
`, a = t.div`
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
font-weight: 400;
|
|
33
|
-
text-align: center;
|
|
34
|
-
`, p = t.button`
|
|
35
|
-
border: none;
|
|
36
|
-
outline: none;
|
|
37
|
-
background-color: transparent;
|
|
38
|
-
border: 2px solid var(--color-green-primary-btn);
|
|
39
|
-
padding: 12px 16px;
|
|
40
|
-
color: #fff;
|
|
41
|
-
font-size: 16px;
|
|
42
|
-
font-weight: 600;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
border-radius: 6px;
|
|
45
|
-
margin-top: 24px;
|
|
46
|
-
`;
|
|
47
|
-
export {
|
|
48
|
-
e as Container,
|
|
49
|
-
o as Content,
|
|
50
|
-
c as Heading,
|
|
51
|
-
p as InviteBtn,
|
|
52
|
-
r as InviteGameIcon,
|
|
53
|
-
i as InviteGameIconWrap,
|
|
54
|
-
a as Subtext
|
|
55
|
-
};
|
package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-rules/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Container as c, Title as m, RulesList as d, RulesItem as h, RuleNumber as p, RuleText as s } from "./styles.js";
|
|
3
|
-
import "@linaria/react";
|
|
4
|
-
const b = ({ rules: e, rulesTitle: o, primaryColor: t }) => /* @__PURE__ */ n(c, { children: [
|
|
5
|
-
/* @__PURE__ */ r(m, { children: o }),
|
|
6
|
-
/* @__PURE__ */ r(d, { children: e == null ? void 0 : e.map((l, i) => /* @__PURE__ */ n(h, { children: [
|
|
7
|
-
/* @__PURE__ */ r(p, { style: { backgroundColor: t }, children: i + 1 }),
|
|
8
|
-
/* @__PURE__ */ r(s, { children: l })
|
|
9
|
-
] }, i)) })
|
|
10
|
-
] });
|
|
11
|
-
export {
|
|
12
|
-
b as OnboardingRules
|
|
13
|
-
};
|
package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-rules/styles.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { styled as e } from "@linaria/react";
|
|
2
|
-
const t = e.div`
|
|
3
|
-
width: 100%;
|
|
4
|
-
flex: 1;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
color: #fff;
|
|
9
|
-
padding: 0px 8px;
|
|
10
|
-
`, o = e.div`
|
|
11
|
-
font-size: 20px;
|
|
12
|
-
font-weight: 700;
|
|
13
|
-
`, r = e.div`
|
|
14
|
-
max-height: 190px;
|
|
15
|
-
overflow: auto;
|
|
16
|
-
`, n = e.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
max-width: 100%;
|
|
19
|
-
margin-top: 24px;
|
|
20
|
-
`, d = e.div`
|
|
21
|
-
background-color: var(--color-green-primary-btn);
|
|
22
|
-
margin-right: 16px;
|
|
23
|
-
width: 36px;
|
|
24
|
-
height: 36px;
|
|
25
|
-
border-radius: 50%;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
`, l = e.div`
|
|
30
|
-
word-break: break-word;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
padding-right: 30px;
|
|
33
|
-
flex: 1;
|
|
34
|
-
max-height: 39px;
|
|
35
|
-
`;
|
|
36
|
-
export {
|
|
37
|
-
t as Container,
|
|
38
|
-
d as RuleNumber,
|
|
39
|
-
l as RuleText,
|
|
40
|
-
n as RulesItem,
|
|
41
|
-
r as RulesList,
|
|
42
|
-
o as Title
|
|
43
|
-
};
|