@streamlayer/react-ui 0.57.0 → 0.58.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 (50) hide show
  1. package/lib/ui/app/Features/Gamification/Tabs.js +5 -5
  2. package/lib/ui/app/Features/Gamification/UserSummary.d.ts +1 -1
  3. package/lib/ui/app/Features/Gamification/UserSummary.js +8 -7
  4. package/lib/ui/app/Notifications/Onboarding/index.d.ts +12 -0
  5. package/lib/ui/app/Notifications/Onboarding/index.js +301894 -0
  6. package/lib/ui/app/Notifications/index.js +35 -7
  7. package/lib/ui/app/masters.js +21 -8
  8. package/lib/ui/app/styles.js +4 -3
  9. package/lib/ui/button/index.d.ts +2 -0
  10. package/lib/ui/button/index.js +3 -3
  11. package/lib/ui/gamification/onboarding/index.d.ts +7 -11
  12. package/lib/ui/gamification/onboarding/index.js +55 -49
  13. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +12 -0
  14. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.js +19 -0
  15. package/lib/ui/gamification/onboarding/{components/onboarding-slides → slides}/onboarding-instructions/styles.d.ts +3 -1
  16. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +47 -0
  17. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +15 -0
  18. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +39 -0
  19. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +15 -0
  20. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +104 -0
  21. package/lib/ui/gamification/onboarding/{components/onboarding-slides → slides}/onboarding-rules/index.d.ts +6 -1
  22. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.js +18 -0
  23. package/lib/ui/gamification/onboarding/{components/onboarding-slides → slides}/onboarding-rules/styles.d.ts +3 -1
  24. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.js +82 -0
  25. package/lib/ui/gamification/onboarding/styles.d.ts +3 -6
  26. package/lib/ui/gamification/onboarding/styles.js +36 -52
  27. package/lib/ui/icons/index.d.ts +7 -2
  28. package/lib/ui/icons/index.js +39 -34
  29. package/lib/ui/login/demo.d.ts +5 -0
  30. package/lib/ui/login/demo.js +26 -0
  31. package/lib/ui/show-in/index.js +7 -7
  32. package/package.json +12 -11
  33. package/lib/icon-exit-d3f9fc80.js +0 -4
  34. package/lib/ui/gamification/common-header/index.d.ts +0 -8
  35. package/lib/ui/gamification/common-header/index.js +0 -14
  36. package/lib/ui/gamification/common-header/styles.d.ts +0 -4
  37. package/lib/ui/gamification/common-header/styles.js +0 -31
  38. package/lib/ui/gamification/detailed-insight/index.d.ts +0 -13
  39. package/lib/ui/gamification/detailed-insight/index.js +0 -30
  40. package/lib/ui/gamification/detailed-insight/styles.d.ts +0 -8
  41. package/lib/ui/gamification/detailed-insight/styles.js +0 -62
  42. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.d.ts +0 -7
  43. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/index.js +0 -10
  44. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-instructions/styles.js +0 -30
  45. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.d.ts +0 -8
  46. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/index.js +0 -17
  47. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/styles.d.ts +0 -8
  48. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-invite-card/styles.js +0 -55
  49. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-rules/index.js +0 -13
  50. package/lib/ui/gamification/onboarding/components/onboarding-slides/onboarding-rules/styles.js +0 -43
@@ -0,0 +1,26 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { useStore as m } from "@nanostores/react";
3
+ import "@streamlayer/sdk-web-anonymous-auth";
4
+ import { Login as n } from "./index.js";
5
+ import "react";
6
+ import "react-auth-code-input";
7
+ import "react-phone-number-input";
8
+ import "../timer/index.js";
9
+ import "@linaria/react";
10
+ import "react-countdown-circle-timer";
11
+ import "../theme/constants.js";
12
+ import "../../utils/login.js";
13
+ import "@connectrpc/connect";
14
+ import "@connectrpc/connect-web";
15
+ import "@streamlayer/sl-eslib/users/users_connect";
16
+ import "./styles.js";
17
+ const j = ({ sdk: o }) => m(o.getUserStore()).data ? /* @__PURE__ */ r("button", { onClick: o.logout, children: "logout" }) : /* @__PURE__ */ r(n, { login: async (i) => {
18
+ try {
19
+ await o.authorizationBypass("streamlayer:streamlayer", i);
20
+ } catch (t) {
21
+ throw console.log("login err", t), t;
22
+ }
23
+ }, anonymousLogin: o.anonymousAuthorization, host: o.host });
24
+ export {
25
+ j as LoginComponent
26
+ };
@@ -6,7 +6,7 @@ const s = m.div`
6
6
  width: 100%;
7
7
  transform: scale(1);
8
8
  opacity: 1;
9
- max-height: 500px;
9
+ max-height: 2500px;
10
10
 
11
11
  animation: containerShowIn ease-out;
12
12
  animation-duration: var(--animation-duration);
@@ -20,16 +20,16 @@ const s = m.div`
20
20
  80% {
21
21
  opacity: 0;
22
22
  transform: scale(0.9);
23
- max-height: 500px;
23
+ max-height: 2500px;
24
24
  }
25
25
  85% {
26
26
  transform: scale(0.9);
27
- max-height: 500px;
27
+ max-height: 2500px;
28
28
  }
29
29
  100% {
30
30
  transform: scale(1);
31
31
  opacity: 1;
32
- max-height: 500px;
32
+ max-height: 2500px;
33
33
  }
34
34
  }
35
35
  `, c = r`
@@ -47,16 +47,16 @@ const s = m.div`
47
47
  80% {
48
48
  opacity: 0;
49
49
  transform: scale(0.9);
50
- max-height: 500px;
50
+ max-height: 2500px;
51
51
  }
52
52
  85% {
53
53
  transform: scale(0.9);
54
- max-height: 500px;
54
+ max-height: 2500px;
55
55
  }
56
56
  100% {
57
57
  transform: scale(1);
58
58
  opacity: 1;
59
- max-height: 500px;
59
+ max-height: 2500px;
60
60
  }
61
61
  }
62
62
  `, f = ({ children: a, style: i, className: t, hiding: o }) => /* @__PURE__ */ n(s, { style: i, className: e(t, o && c), children: a });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -35,16 +35,16 @@
35
35
  "react-virtualized-auto-sizer": "^1.0.20",
36
36
  "react-window": "^1.8.9",
37
37
  "react-window-infinite-loader": "^1.0.9",
38
- "@streamlayer/feature-gamification": "^0.22.0",
39
- "@streamlayer/sdk-web": "^0.28.17",
40
- "@streamlayer/sdk-web-anonymous-auth": "^0.11.12",
38
+ "@streamlayer/feature-gamification": "^0.23.0",
39
+ "@streamlayer/sdk-web": "^0.28.18",
40
+ "@streamlayer/sdk-web-anonymous-auth": "^0.11.13",
41
41
  "@streamlayer/sdk-web-api": "^0.0.1",
42
- "@streamlayer/sdk-web-core": "^0.17.6",
43
- "@streamlayer/sdk-web-features": "^0.10.20",
44
- "@streamlayer/sdk-web-interfaces": "^0.18.13",
45
- "@streamlayer/sdk-web-notifications": "^0.11.0",
46
- "@streamlayer/sdk-web-storage": "^0.0.2",
47
- "@streamlayer/sdk-web-types": "^0.19.0"
42
+ "@streamlayer/sdk-web-core": "^0.17.7",
43
+ "@streamlayer/sdk-web-features": "^0.10.21",
44
+ "@streamlayer/sdk-web-notifications": "^0.12.0",
45
+ "@streamlayer/sdk-web-interfaces": "^0.18.14",
46
+ "@streamlayer/sdk-web-storage": "^0.0.3",
47
+ "@streamlayer/sdk-web-types": "^0.20.0"
48
48
  },
49
49
  "nx": {
50
50
  "implicitDependencies": [
@@ -72,6 +72,7 @@
72
72
  "@types/react-window-infinite-loader": "^1.0.9",
73
73
  "esbuild-plugin-babel": "^0.2.3",
74
74
  "glob": "^10.3.10",
75
+ "lottie-react": "^2.4.0",
75
76
  "react": "18.2.0",
76
77
  "react-auth-code-input": "^3.2.1",
77
78
  "react-countdown-circle-timer": "^3.2.1",
@@ -83,6 +84,6 @@
83
84
  "vite-plugin-svgr": "^4.1.0",
84
85
  "vite-svg-loader": "^4.0.0",
85
86
  "vite-tsconfig-paths": "^4.2.1",
86
- "@streamlayer/react": "^0.28.1"
87
+ "@streamlayer/react": "^0.28.2"
87
88
  }
88
89
  }
@@ -1,4 +0,0 @@
1
- const I = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
2
- export {
3
- I as c
4
- };
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- type CommonHeaderProps = {
3
- icon?: string;
4
- comeBack?: () => void;
5
- close?: () => void;
6
- };
7
- export declare const CommonHeader: React.FC<CommonHeaderProps>;
8
- export {};
@@ -1,14 +0,0 @@
1
- import { jsxs as j, jsx as M } from "react/jsx-runtime";
2
- import { c as A } from "../../../icon-exit-d3f9fc80.js";
3
- import { Container as z, Button as g, HeaderIcon as i } from "./sty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Tg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", y = ({ icon: N, comeBack: D, close: I }) => /* @__PURE__ */ j(z, { children: [
6
- /* @__PURE__ */ j("div", { children: [
7
- D && /* @__PURE__ */ M(g, { onClick: D, children: /* @__PURE__ */ M("img", { alt: "header-back-icon", src: x }) }),
8
- N && /* @__PURE__ */ M(i, { alt: "header-icon", src: N })
9
- ] }),
10
- /* @__PURE__ */ M("div", { children: I && /* @__PURE__ */ M(g, { onClick: I, children: /* @__PURE__ */ M("img", { alt: "header-close-icon", src: A }) }) })
11
- ] });
12
- export {
13
- y as CommonHeader
14
- };
@@ -1,4 +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 Button: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
4
- export declare const HeaderIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
@@ -1,31 +0,0 @@
1
- import { styled as t } from "@linaria/react";
2
- const o = t.div`
3
- box-sizing: border-box;
4
- min-height: 35px;
5
- display: flex;
6
- justify-content: space-between;
7
- width: 100%;
8
- align-items: center;
9
- border-top-left-radius: 8px;
10
- border-bottom-left-radius: 8px;
11
- border-bottom: 1px solid #22262b;
12
- margin-bottom: 20px;
13
- `, n = t.button`
14
- border: none;
15
- outline: none;
16
- background-color: transparent;
17
- cursor: pointer;
18
- padding: 5px;
19
- display: flex;
20
- justify-content: center;
21
- align-items: center;
22
- border-radius: 50%;
23
- `, r = t.img`
24
- width: 24px;
25
- height: 24px;
26
- `;
27
- export {
28
- n as Button,
29
- o as Container,
30
- r as HeaderIcon
31
- };
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- type DetailedInsightProps = {
3
- image?: string;
4
- title?: string;
5
- description?: string;
6
- webLinkLabel?: string;
7
- webLink?: string;
8
- closeHighlights: () => void;
9
- closeInsight: () => void;
10
- className?: string;
11
- };
12
- export declare const DetailedInsight: React.FC<DetailedInsightProps>;
13
- export {};
@@ -1,30 +0,0 @@
1
- import { jsxs as I, jsx as M } from "react/jsx-runtime";
2
- import { CommonHeader as g } from "../common-header/index.js";
3
- import { Container as l, Image as o, AdditionalContent as n, Title as d, Description as r, AdditionalBtn as a, LinkIcon as u } from "./styles.js";
4
- import "../../../icon-exit-d3f9fc80.js";
5
- import "../common-header/styles.js";
6
- import "@linaria/react";
7
- const b = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", L = ({
8
- image: i,
9
- title: j,
10
- description: m,
11
- webLinkLabel: z,
12
- webLink: c,
13
- closeHighlights: t,
14
- closeInsight: N,
15
- className: Z
16
- }) => /* @__PURE__ */ I(l, { className: Z, children: [
17
- /* @__PURE__ */ M(g, { close: t, comeBack: N }),
18
- i && /* @__PURE__ */ M(o, { alt: "detail-insight-image", src: i }),
19
- /* @__PURE__ */ I(n, { children: [
20
- j && /* @__PURE__ */ M(d, { children: j }),
21
- m && /* @__PURE__ */ M(r, { children: m })
22
- ] }),
23
- c && z && /* @__PURE__ */ I(a, { href: c, target: "_blank", children: [
24
- z,
25
- /* @__PURE__ */ M(u, { alt: "link-icon", src: b })
26
- ] })
27
- ] });
28
- export {
29
- L as DetailedInsight
30
- };
@@ -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
- };
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- type OnboardingInstructionsProps = {
3
- graphic: string;
4
- headline: string;
5
- };
6
- export declare const OnboardingInstructions: React.FC<OnboardingInstructionsProps>;
7
- export {};
@@ -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
- };
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- type OnboardingInviteCardProps = {
3
- inviteCardTitle?: string;
4
- inviteCardSubtext?: string;
5
- primaryColor?: string;
6
- };
7
- export declare const OnboardingInviteCard: React.FC<OnboardingInviteCardProps>;
8
- export {};
@@ -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,PHN2ZyB3aW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ii8+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>>;
@@ -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
- };
@@ -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
- };
@@ -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
- };