@cuemath/leap 3.3.3-j1 → 3.3.3
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/dist/assets/illustrations/illustrations.js +1 -2
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +0 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +17 -17
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button.js +33 -35
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +30 -32
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +19 -20
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +9 -9
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +29 -58
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +41 -78
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +35 -37
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +71 -76
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +50 -55
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +25 -47
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
- package/dist/features/student-details/class-details/class-details-utils.js +6 -6
- package/dist/features/trial-session/comps/learning-plan/index.js +62 -88
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +42 -121
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +56 -174
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/index.d.ts +1 -81
- package/dist/index.js +365 -381
- package/dist/index.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/dist/static/{book-checked-green.0436b91e.svg → book-checked-green.c275dbd9.svg} +1 -1
- package/package.json +2 -3
- package/dist/constants/config.js +0 -5
- package/dist/constants/config.js.map +0 -1
- package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-constants.js +0 -25
- package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-styled.js +0 -15
- package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features.js +0 -90
- package/dist/features/trial-session/comps/pla/cuemath-app-features/cuemath-app-features.js.map +0 -1
- package/dist/features/trial-session/comps/pla/math-practice/math-practice-constants.js +0 -19
- package/dist/features/trial-session/comps/pla/math-practice/math-practice-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/math-practice/math-practice-styled.js +0 -32
- package/dist/features/trial-session/comps/pla/math-practice/math-practice-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/math-practice/math-practice.js +0 -67
- package/dist/features/trial-session/comps/pla/math-practice/math-practice.js.map +0 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js +0 -25
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js +0 -43
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +0 -49
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +0 -11
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +0 -19
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js +0 -17
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-status/session-status.js +0 -243
- package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +0 -52
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +0 -52
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js +0 -17
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +0 -56
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js +0 -5
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js +0 -17
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js +0 -5
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +0 -1
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +0 -96
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +0 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js +0 -12
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +0 -10
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +0 -9
- package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInSeconds.js +0 -11
- package/dist/node_modules/date-fns/differenceInSeconds.js.map +0 -1
- package/dist/node_modules/date-fns/fromUnixTime.js +0 -9
- package/dist/node_modules/date-fns/fromUnixTime.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
- package/dist/static/learning-puzzle-bot.6fe93cf6.svg +0 -1
- package/dist/static/username-responsive.787b5515.json +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ILLUSTRATIONS as
|
|
2
|
-
const
|
|
1
|
+
import { ILLUSTRATIONS as t } from "../../../../assets/illustrations/illustrations.js";
|
|
2
|
+
const o = [
|
|
3
3
|
{
|
|
4
|
-
icon:
|
|
5
|
-
title: "
|
|
4
|
+
icon: t.HANDSHAKE,
|
|
5
|
+
title: "Help us find the right tutor for your child"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
|
-
icon:
|
|
9
|
-
title: "Schedule your FREE
|
|
8
|
+
icon: t.CALENDAR_PURPLE,
|
|
9
|
+
title: "Schedule your FREE class with the tutor"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
icon:
|
|
13
|
-
title: "
|
|
12
|
+
icon: t.MONEY,
|
|
13
|
+
title: "Pay & continue with our flexible classes"
|
|
14
14
|
}
|
|
15
15
|
];
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
o as onboardingGuideSteps
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=onboarding-guide-constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-guide-constants.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.ts"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\n\nexport const onboardingGuideSteps = [\n {\n icon: ILLUSTRATIONS.HANDSHAKE,\n title: `
|
|
1
|
+
{"version":3,"file":"onboarding-guide-constants.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.ts"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\n\nexport const onboardingGuideSteps = [\n {\n icon: ILLUSTRATIONS.HANDSHAKE,\n title: `Help us find the right tutor for your child`,\n },\n {\n icon: ILLUSTRATIONS.CALENDAR_PURPLE,\n title: `Schedule your FREE class with the tutor`,\n },\n {\n icon: ILLUSTRATIONS.MONEY,\n title: `Pay & continue with our flexible classes`,\n },\n];\n"],"names":["onboardingGuideSteps","ILLUSTRATIONS"],"mappings":";AAEO,MAAMA,IAAuB;AAAA,EAClC;AAAA,IACE,MAAMC,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAMA,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAMA,EAAc;AAAA,IACpB,OAAO;AAAA,EACT;AACF;"}
|
|
@@ -1,68 +1,39 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "styled-components";
|
|
2
2
|
import o from "../../../ui/layout/flex-view.js";
|
|
3
|
-
const h =
|
|
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
|
-
&:last-child {
|
|
30
|
-
border-right: none;
|
|
31
|
-
&::after {
|
|
32
|
-
display: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
${e.minWidthSmallDesktop} {
|
|
37
|
-
${!i && `margin-bottom: 48px;
|
|
38
|
-
&::after {
|
|
39
|
-
content: '';
|
|
40
|
-
position: absolute;
|
|
41
|
-
width: 2px;
|
|
42
|
-
top: unset;
|
|
43
|
-
height: 24px;
|
|
44
|
-
bottom: -36px;
|
|
45
|
-
left: 28px;
|
|
46
|
-
background-color: ${t.WHITE_T_15};
|
|
47
|
-
}
|
|
48
|
-
`}
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
`), n = p(o)(({
|
|
52
|
-
theme: { mediaQueries: t },
|
|
53
|
-
isHorizontalLayout: e
|
|
54
|
-
}) => `
|
|
3
|
+
const h = e(o)(({ theme: { colors: t, mediaQueries: i } }) => `
|
|
4
|
+
position: relative;
|
|
5
|
+
&:not(:last-child)::after {
|
|
6
|
+
content: '';
|
|
7
|
+
width: 37px;
|
|
8
|
+
height: 2px;
|
|
9
|
+
right: -32px;
|
|
10
|
+
top: 25px;
|
|
11
|
+
position: absolute;
|
|
12
|
+
background-color: ${t.WHITE_T_15};
|
|
13
|
+
}
|
|
14
|
+
&:last-child {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
${i.minWidthSmallDesktop} {
|
|
18
|
+
margin-bottom: 48px;
|
|
19
|
+
&:not(:last-child)::after {
|
|
20
|
+
left: 28px;
|
|
21
|
+
bottom: -36px;
|
|
22
|
+
right: unset;
|
|
23
|
+
top: unset;
|
|
24
|
+
width: 2px;
|
|
25
|
+
height: 24px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`), m = e(o)(({ theme: { mediaQueries: t } }) => `
|
|
55
29
|
width: 100%;
|
|
56
30
|
max-width: 350px;
|
|
57
|
-
${t.minWidthTablet} {
|
|
58
|
-
max-width: ${e ? "100%" : "350px"};
|
|
59
|
-
}
|
|
60
31
|
${t.minWidthSmallDesktop} {
|
|
61
|
-
max-width:
|
|
32
|
+
max-width: unset;
|
|
62
33
|
}
|
|
63
34
|
`);
|
|
64
35
|
export {
|
|
65
36
|
h as StepItem,
|
|
66
|
-
|
|
37
|
+
m as StepWrapper
|
|
67
38
|
};
|
|
68
39
|
//# sourceMappingURL=onboarding-guide-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-guide-styled.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const StepItem = styled(FlexView)
|
|
1
|
+
{"version":3,"file":"onboarding-guide-styled.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const StepItem = styled(FlexView)(({ theme: { colors, mediaQueries } }) => {\n return `\n position: relative;\n &:not(:last-child)::after {\n content: '';\n width: 37px;\n height: 2px;\n right: -32px;\n top: 25px;\n position: absolute;\n background-color: ${colors.WHITE_T_15};\n }\n &:last-child {\n margin-bottom: 0;\n }\n ${mediaQueries.minWidthSmallDesktop} {\n margin-bottom: 48px;\n &:not(:last-child)::after {\n left: 28px;\n bottom: -36px;\n right: unset;\n top: unset;\n width: 2px;\n height: 24px;\n }\n }\n`;\n});\n\nexport const StepWrapper = styled(FlexView)(({ theme: { mediaQueries } }) => {\n return `\n width: 100%;\n max-width: 350px;\n ${mediaQueries.minWidthSmallDesktop} {\n max-width: unset;\n }\n`;\n});\n"],"names":["StepItem","styled","FlexView","colors","mediaQueries","StepWrapper"],"mappings":";;AAIa,MAAAA,IAAWC,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,QAAAC,GAAQ,cAAAC,EAAa,QACjE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBASeD,EAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKrCC,EAAa,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAYpC,GAEYC,IAAcJ,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,cAAAE,EAAa,QAC5D;AAAA;AAAA;AAAA,IAGLA,EAAa,oBAAoB;AAAA;AAAA;AAAA,CAIpC;"}
|
|
@@ -1,81 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
$flexDirection: i === "row" ? "column" : "row",
|
|
42
|
-
$flexColumnGapX: 1.5,
|
|
43
|
-
$flexRowGapX: 0.5,
|
|
44
|
-
$alignItems: e ? "flex-start" : "center",
|
|
45
|
-
isHorizontalLayout: e,
|
|
46
|
-
$gutterX: e ? 1 : 0,
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ r(
|
|
49
|
-
"img",
|
|
50
|
-
{
|
|
51
|
-
src: n.icon,
|
|
52
|
-
alt: `Step ${l + 1}`,
|
|
53
|
-
width: e ? 80 : 56,
|
|
54
|
-
height: e ? 80 : 56
|
|
55
|
-
}
|
|
56
|
-
),
|
|
57
|
-
/* @__PURE__ */ r(c, { children: /* @__PURE__ */ r(
|
|
58
|
-
m,
|
|
59
|
-
{
|
|
60
|
-
$whiteSpace: "pre-line",
|
|
61
|
-
$renderAs: "ab2",
|
|
62
|
-
$renderOnTabletAs: "ab3",
|
|
63
|
-
$color: "WHITE",
|
|
64
|
-
$align: t ? "center" : "left",
|
|
65
|
-
children: n.title
|
|
66
|
-
}
|
|
67
|
-
) })
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
l
|
|
71
|
-
))
|
|
72
|
-
}
|
|
73
|
-
)
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}, C = $(g);
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as c } from "styled-components";
|
|
3
|
+
import n from "../../../ui/layout/flex-view.js";
|
|
4
|
+
import m from "../../../ui/separator/separator.js";
|
|
5
|
+
import l from "../../../ui/text/text.js";
|
|
6
|
+
import { EDeviceType as p } from "../../../ui/theme/constants.js";
|
|
7
|
+
import { onboardingGuideSteps as s } from "./onboarding-guide-constants.js";
|
|
8
|
+
import { StepWrapper as $, StepItem as d } from "./onboarding-guide-styled.js";
|
|
9
|
+
const f = () => {
|
|
10
|
+
const { device: a } = c(), r = a <= p.TABLET;
|
|
11
|
+
return /* @__PURE__ */ o(n, { $flex: 1, $alignItems: "center", $justifyContent: "center", children: [
|
|
12
|
+
/* @__PURE__ */ e(l, { $whiteSpace: "pre-line", $renderAs: "ah4", $color: "WHITE", $renderOnTabletAs: "ab1", children: "Get started in 3 easy steps!" }),
|
|
13
|
+
/* @__PURE__ */ e(m, { heightX: r ? 1 : 2.75 }),
|
|
14
|
+
/* @__PURE__ */ e($, { $flexDirection: r ? "row" : "column", $flexColumnGapX: 1, children: s.map((t, i) => /* @__PURE__ */ o(
|
|
15
|
+
d,
|
|
16
|
+
{
|
|
17
|
+
$flex: 1,
|
|
18
|
+
$flexDirection: r ? "column" : "row",
|
|
19
|
+
$flexColumnGapX: 1.5,
|
|
20
|
+
$flexRowGapX: 0.5,
|
|
21
|
+
$alignItems: "center",
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ e("img", { src: t.icon, alt: `Step ${i + 1}`, width: 56, height: 56 }),
|
|
24
|
+
/* @__PURE__ */ e(n, { $width: r ? 101 : 210, children: /* @__PURE__ */ e(
|
|
25
|
+
l,
|
|
26
|
+
{
|
|
27
|
+
$whiteSpace: "pre-line",
|
|
28
|
+
$renderAs: "ab2",
|
|
29
|
+
$renderOnTabletAs: "ab3",
|
|
30
|
+
$color: "WHITE",
|
|
31
|
+
$align: r ? "center" : "left",
|
|
32
|
+
children: t.title
|
|
33
|
+
}
|
|
34
|
+
) })
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
i
|
|
38
|
+
)) })
|
|
39
|
+
] });
|
|
40
|
+
}, S = f;
|
|
78
41
|
export {
|
|
79
|
-
|
|
42
|
+
S as default
|
|
80
43
|
};
|
|
81
44
|
//# sourceMappingURL=onboarding-guide.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding-guide.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"onboarding-guide.js","sources":["../../../../../src/features/auth/pla-signup/onboarding-guide/onboarding-guide.tsx"],"sourcesContent":["import { useTheme } from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport { onboardingGuideSteps } from './onboarding-guide-constants';\nimport * as Styled from './onboarding-guide-styled';\n\nconst OnboardingGuide = () => {\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\">\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah4\" $color=\"WHITE\" $renderOnTabletAs=\"ab1\">\n Get started in 3 easy steps!\n </Text>\n <Separator heightX={isCompact ? 1 : 2.75} />\n <Styled.StepWrapper $flexDirection={isCompact ? 'row' : 'column'} $flexColumnGapX={1}>\n {onboardingGuideSteps.map((step, index) => (\n <Styled.StepItem\n key={index}\n $flex={1}\n $flexDirection={isCompact ? 'column' : 'row'}\n $flexColumnGapX={1.5}\n $flexRowGapX={0.5}\n $alignItems={'center'}\n >\n <img src={step.icon} alt={`Step ${index + 1}`} width={56} height={56} />\n <FlexView $width={isCompact ? 101 : 210}>\n <Text\n $whiteSpace=\"pre-line\"\n $renderAs=\"ab2\"\n $renderOnTabletAs=\"ab3\"\n $color=\"WHITE\"\n $align={isCompact ? 'center' : 'left'}\n >\n {step.title}\n </Text>\n </FlexView>\n </Styled.StepItem>\n ))}\n </Styled.StepWrapper>\n </FlexView>\n );\n};\n\nexport default OnboardingGuide;\n"],"names":["OnboardingGuide","device","useTheme","isCompact","EDeviceType","FlexView","jsx","Text","Separator","Styled.StepWrapper","onboardingGuideSteps","step","index","jsxs","Styled.StepItem","OnboardingGuide$1"],"mappings":";;;;;;;;AASA,MAAMA,IAAkB,MAAM;AACtB,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAYF,KAAUG,EAAY;AAExC,2BACGC,GAAS,EAAA,OAAO,GAAG,aAAY,UAAS,iBAAgB,UACvD,UAAA;AAAA,IAAC,gBAAAC,EAAAC,GAAA,EAAK,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,mBAAkB,OAAM,UAEpF,+BAAA,CAAA;AAAA,IACC,gBAAAD,EAAAE,GAAA,EAAU,SAASL,IAAY,IAAI,MAAM;AAAA,IACzC,gBAAAG,EAAAG,GAAA,EAAmB,gBAAgBN,IAAY,QAAQ,UAAU,iBAAiB,GAChF,UAAAO,EAAqB,IAAI,CAACC,GAAMC,MAC/B,gBAAAC;AAAA,MAACC;AAAAA,MAAA;AAAA,QAEC,OAAO;AAAA,QACP,gBAAgBX,IAAY,WAAW;AAAA,QACvC,iBAAiB;AAAA,QACjB,cAAc;AAAA,QACd,aAAa;AAAA,QAEb,UAAA;AAAA,UAAA,gBAAAG,EAAC,OAAI,EAAA,KAAKK,EAAK,MAAM,KAAK,QAAQC,IAAQ,CAAC,IAAI,OAAO,IAAI,QAAQ,IAAI;AAAA,UACrE,gBAAAN,EAAAD,GAAA,EAAS,QAAQF,IAAY,MAAM,KAClC,UAAA,gBAAAG;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,aAAY;AAAA,cACZ,WAAU;AAAA,cACV,mBAAkB;AAAA,cAClB,QAAO;AAAA,cACP,QAAQJ,IAAY,WAAW;AAAA,cAE9B,UAAKQ,EAAA;AAAA,YAAA;AAAA,UAAA,GAEV;AAAA,QAAA;AAAA,MAAA;AAAA,MAlBKC;AAAA,IAoBR,CAAA,GACH;AAAA,EACF,EAAA,CAAA;AAEJ,GAEAG,IAAef;"}
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import t from "styled-components";
|
|
2
|
-
import
|
|
3
|
-
const n = t(
|
|
2
|
+
import r from "../../../ui/layout/flex-view.js";
|
|
3
|
+
const n = t(r)`
|
|
4
4
|
position: relative;
|
|
5
|
-
`, s = t(
|
|
5
|
+
`, s = t(r)`
|
|
6
6
|
position: absolute;
|
|
7
7
|
border-radius: 100%;
|
|
8
8
|
top: 216px;
|
|
9
9
|
border: ${({ theme: o }) => `2px solid ${o.colors.BLACK_5}`};
|
|
10
|
-
`,
|
|
11
|
-
({
|
|
12
|
-
opacity: ${e ? 1 : 0};
|
|
10
|
+
`, p = t(r)`
|
|
11
|
+
opacity: ${({ $isVisible: o }) => o ? 1 : 0};
|
|
13
12
|
transition: opacity 0.5s ease-in-out;
|
|
13
|
+
`, a = t.div`
|
|
14
14
|
position: relative;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
top: 0;
|
|
18
|
-
}
|
|
19
|
-
`
|
|
20
|
-
), l = t.div`
|
|
15
|
+
`;
|
|
16
|
+
t(r)`
|
|
21
17
|
position: relative;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
background: ${({ theme: o }) => o.colors.BLACK_2};
|
|
20
|
+
border-radius: 100%;
|
|
21
|
+
flex-shrink: 0;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
color: ${({ theme: o }) => o.colors.WHITE};
|
|
22
26
|
`;
|
|
23
27
|
t.div`
|
|
24
28
|
position: absolute;
|
|
@@ -26,37 +30,31 @@ t.div`
|
|
|
26
30
|
height: 100%;
|
|
27
31
|
z-index: 2;
|
|
28
32
|
`;
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
${o.mediaQueries.minWidthTablet} {
|
|
35
|
-
top: 55%;
|
|
36
|
-
right: 24px;
|
|
37
|
-
}
|
|
38
|
-
`
|
|
39
|
-
), u = t(i)`
|
|
33
|
+
const l = t(r)`
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 55%;
|
|
36
|
+
right: 24px;
|
|
37
|
+
`, c = t(r)`
|
|
40
38
|
position: absolute;
|
|
41
39
|
top: 642px;
|
|
42
|
-
`,
|
|
43
|
-
({ theme: o }) => `
|
|
40
|
+
`, d = t(r)`
|
|
44
41
|
position: absolute;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
top: 55%;
|
|
43
|
+
left: 24px;
|
|
44
|
+
button {
|
|
45
|
+
background-color: ${({ theme: o }) => o.colors.BLACK_1};
|
|
46
|
+
svg {
|
|
47
|
+
color: ${({ theme: o }) => o.colors.WHITE};
|
|
48
|
+
}
|
|
50
49
|
}
|
|
51
|
-
|
|
52
|
-
);
|
|
50
|
+
`;
|
|
53
51
|
export {
|
|
54
52
|
s as CircularStepContainer,
|
|
55
53
|
n as Container,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
p as ContentWrapper,
|
|
55
|
+
c as FooterWrapper,
|
|
56
|
+
a as InputContainer,
|
|
57
|
+
l as NextButtonWrapper,
|
|
58
|
+
d as PrevButtonWrapper
|
|
61
59
|
};
|
|
62
60
|
//# sourceMappingURL=circular-step-wrapper-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"circular-step-wrapper-styled.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst Container = styled(FlexView)`\n position: relative;\n`;\n\nconst CircularStepContainer = styled(FlexView)`\n position: absolute;\n border-radius: 100%;\n top: 216px;\n border: ${({ theme }) => `2px solid ${theme.colors.BLACK_5}`};\n`;\n\nconst ContentWrapper = styled(FlexView)<{ $isVisible: boolean }
|
|
1
|
+
{"version":3,"file":"circular-step-wrapper-styled.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst Container = styled(FlexView)`\n position: relative;\n`;\n\nconst CircularStepContainer = styled(FlexView)`\n position: absolute;\n border-radius: 100%;\n top: 216px;\n border: ${({ theme }) => `2px solid ${theme.colors.BLACK_5}`};\n`;\n\nconst ContentWrapper = styled(FlexView)<{ $isVisible: boolean }>`\n opacity: ${({ $isVisible }) => ($isVisible ? 1 : 0)};\n transition: opacity 0.5s ease-in-out;\n`;\n\nconst InputContainer = styled.div`\n position: relative;\n`;\n\nconst CircularProgressContainer = styled(FlexView)<{\n isVerticallyCentered?: boolean;\n}>`\n position: relative;\n overflow: hidden;\n background: ${({ theme }) => theme.colors.BLACK_2};\n border-radius: 100%;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${({ theme }) => theme.colors.WHITE};\n`;\n\nexport const CircularProgress = styled.div`\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n`;\n\nconst NextButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n right: 24px;\n`;\n\nconst FooterWrapper = styled(FlexView)`\n position: absolute;\n top: 642px;\n`;\n\nconst PrevButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n left: 24px;\n button {\n background-color: ${({ theme }) => theme.colors.BLACK_1};\n svg {\n color: ${({ theme }) => theme.colors.WHITE};\n }\n }\n`;\n\nexport {\n NextButtonWrapper,\n PrevButtonWrapper,\n InputContainer,\n Container,\n CircularStepContainer,\n CircularProgressContainer,\n ContentWrapper,\n FooterWrapper,\n};\n"],"names":["Container","styled","FlexView","CircularStepContainer","theme","ContentWrapper","$isVisible","InputContainer","NextButtonWrapper","FooterWrapper","PrevButtonWrapper"],"mappings":";;AAIM,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAwBF,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,YAIjC,CAAC,EAAE,OAAAE,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,GAGxDC,IAAiBJ,EAAOC,CAAQ;AAAA,aACzB,CAAC,EAAE,YAAAI,EAAA,MAAkBA,IAAa,IAAI,CAAE;AAAA;AAAA,GAI/CC,IAAiBN,EAAO;AAAA;AAAA;AAIIA,EAAOC,CAAQ;AAAA;AAAA;AAAA,gBAKjC,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAGZH,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOjC,MAAAO,IAAoBP,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAMnCO,IAAgBR,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK/BQ,IAAoBT,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,wBAKjB,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA,eAE5C,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;"}
|
|
@@ -1,58 +1,54 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import y from "../../../ui/buttons/icon-button/icon-button.js";
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { memo as E, forwardRef as H, useRef as c, useState as g, useCallback as j, useEffect as B, useImperativeHandle as T, useLayoutEffect as F } from "react";
|
|
3
|
+
import P from "../../../../assets/line-icons/icons/back2.js";
|
|
4
|
+
import z from "../../../../assets/line-icons/icons/next2.js";
|
|
5
|
+
import M from "../../../ui/animated-arc/animated-arc.js";
|
|
6
|
+
import C from "../../../ui/buttons/icon-button/icon-button.js";
|
|
8
7
|
import N from "../../../ui/layout/flex-view.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const ne = {
|
|
8
|
+
import O from "../../../ui/lottie-animation/lottie-animation.js";
|
|
9
|
+
import V from "../../../ui/separator/separator.js";
|
|
10
|
+
import X from "../../../ui/text/text.js";
|
|
11
|
+
import { Container as D, CircularStepContainer as K, ContentWrapper as Y, InputContainer as _, FooterWrapper as q, PrevButtonWrapper as G, NextButtonWrapper as J } from "./circular-step-wrapper-styled.js";
|
|
12
|
+
const Q = {
|
|
15
13
|
autoplay: !1,
|
|
16
14
|
loop: !1,
|
|
17
15
|
renderer: "canvas",
|
|
18
16
|
rendererSettings: {
|
|
19
17
|
preserveAspectRatio: "xMidYMin slice"
|
|
20
18
|
}
|
|
21
|
-
},
|
|
19
|
+
}, U = H(
|
|
22
20
|
({
|
|
23
|
-
children:
|
|
24
|
-
onGoBack:
|
|
25
|
-
onNext:
|
|
26
|
-
label:
|
|
27
|
-
showNext:
|
|
28
|
-
showPrevious:
|
|
21
|
+
children: y,
|
|
22
|
+
onGoBack: I,
|
|
23
|
+
onNext: x,
|
|
24
|
+
label: a,
|
|
25
|
+
showNext: A,
|
|
26
|
+
showPrevious: S,
|
|
29
27
|
animation: r,
|
|
30
28
|
introFrames: w,
|
|
31
|
-
outroFrames:
|
|
32
|
-
isNextLoading:
|
|
33
|
-
progressAngle:
|
|
34
|
-
footerElement:
|
|
35
|
-
isNextDisabled: A,
|
|
36
|
-
animationSrcMobile: R
|
|
29
|
+
outroFrames: R,
|
|
30
|
+
isNextLoading: s,
|
|
31
|
+
progressAngle: l,
|
|
32
|
+
footerElement: u
|
|
37
33
|
}, W) => {
|
|
38
|
-
const t =
|
|
39
|
-
r && t.current && (t.current.playSegments(w, !0),
|
|
34
|
+
const t = c(null), o = c(null), [m, k] = g(), [v, d] = g(!1), i = c(null), L = j(() => {
|
|
35
|
+
r && t.current && (t.current.playSegments(w, !0), d(!0));
|
|
40
36
|
}, [r]);
|
|
41
|
-
return
|
|
42
|
-
|
|
43
|
-
}, [r]),
|
|
44
|
-
playOutroAndFadeOut: async () => new Promise((
|
|
45
|
-
var
|
|
46
|
-
const
|
|
47
|
-
var
|
|
48
|
-
|
|
37
|
+
return B(() => () => {
|
|
38
|
+
i.current && clearTimeout(i.current);
|
|
39
|
+
}, [r]), T(W, () => ({
|
|
40
|
+
playOutroAndFadeOut: async () => new Promise((b) => {
|
|
41
|
+
var f, h;
|
|
42
|
+
const p = () => {
|
|
43
|
+
var $;
|
|
44
|
+
b(), ($ = t.current) == null || $.removeEventListener("complete", p);
|
|
49
45
|
};
|
|
50
|
-
(
|
|
46
|
+
(f = t.current) == null || f.playSegments(R, !0), i.current = setTimeout(() => d(!1), 400), (h = t.current) == null || h.addEventListener("complete", p);
|
|
51
47
|
})
|
|
52
|
-
})),
|
|
53
|
-
|
|
54
|
-
}, []), /* @__PURE__ */
|
|
55
|
-
|
|
48
|
+
})), F(() => {
|
|
49
|
+
o.current && k(o.current.offsetHeight);
|
|
50
|
+
}, []), /* @__PURE__ */ n(
|
|
51
|
+
D,
|
|
56
52
|
{
|
|
57
53
|
$flex: 1,
|
|
58
54
|
$flexDirection: "column",
|
|
@@ -60,79 +56,78 @@ const ne = {
|
|
|
60
56
|
$justifyContent: "center",
|
|
61
57
|
$width: "100%",
|
|
62
58
|
$height: "100%",
|
|
63
|
-
ref:
|
|
59
|
+
ref: o,
|
|
64
60
|
children: [
|
|
65
|
-
|
|
66
|
-
|
|
61
|
+
m && /* @__PURE__ */ e(
|
|
62
|
+
O,
|
|
67
63
|
{
|
|
68
64
|
width: 1280,
|
|
69
|
-
height:
|
|
70
|
-
src:
|
|
65
|
+
height: m,
|
|
66
|
+
src: r,
|
|
71
67
|
ref: t,
|
|
72
|
-
onRender:
|
|
73
|
-
settings:
|
|
68
|
+
onRender: L,
|
|
69
|
+
settings: Q
|
|
74
70
|
}
|
|
75
71
|
),
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
|
|
72
|
+
/* @__PURE__ */ n(
|
|
73
|
+
K,
|
|
78
74
|
{
|
|
79
|
-
$width:
|
|
80
|
-
$height:
|
|
75
|
+
$width: 400,
|
|
76
|
+
$height: 400,
|
|
81
77
|
$background: "REAL_BLACK",
|
|
82
78
|
$alignItems: "center",
|
|
83
79
|
$justifyContent: "center",
|
|
84
80
|
children: [
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
l && /* @__PURE__ */ e(
|
|
82
|
+
M,
|
|
87
83
|
{
|
|
88
|
-
radius:
|
|
84
|
+
radius: 200,
|
|
89
85
|
strokeWidth: 2,
|
|
90
86
|
color: "WHITE",
|
|
91
|
-
targetAngle:
|
|
87
|
+
targetAngle: l,
|
|
92
88
|
mode: "fade",
|
|
93
89
|
duration: 1
|
|
94
90
|
}
|
|
95
91
|
),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
|
|
98
|
-
/* @__PURE__ */ e(
|
|
99
|
-
/* @__PURE__ */ e(
|
|
92
|
+
/* @__PURE__ */ n(Y, { $isVisible: v, $width: "100%", children: [
|
|
93
|
+
a && /* @__PURE__ */ n(N, { $gutterX: 3.5, children: [
|
|
94
|
+
/* @__PURE__ */ e(X, { $renderAs: "ab2", $color: "WHITE", $align: "center", children: a }),
|
|
95
|
+
/* @__PURE__ */ e(V, { heightX: 1 })
|
|
100
96
|
] }),
|
|
101
|
-
/* @__PURE__ */ e(
|
|
97
|
+
/* @__PURE__ */ e(_, { children: y })
|
|
102
98
|
] })
|
|
103
99
|
]
|
|
104
100
|
}
|
|
105
101
|
),
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
u && /* @__PURE__ */ e(q, { $alignItems: "center", $justifyContent: "center", children: u }),
|
|
103
|
+
S && /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
|
|
104
|
+
C,
|
|
109
105
|
{
|
|
110
|
-
Icon:
|
|
111
|
-
renderAs: "
|
|
106
|
+
Icon: P,
|
|
107
|
+
renderAs: "secondary-dark",
|
|
112
108
|
analyticsLabel: "Prev",
|
|
113
|
-
onClick:
|
|
114
|
-
disabled:
|
|
109
|
+
onClick: I,
|
|
110
|
+
disabled: s,
|
|
115
111
|
size: "small"
|
|
116
112
|
}
|
|
117
113
|
) }),
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
A && /* @__PURE__ */ e(J, { children: /* @__PURE__ */ e(
|
|
115
|
+
C,
|
|
120
116
|
{
|
|
121
117
|
size: "small",
|
|
122
|
-
Icon:
|
|
118
|
+
Icon: z,
|
|
123
119
|
renderAs: "secondary-dark",
|
|
124
120
|
analyticsLabel: "Next",
|
|
125
|
-
onClick:
|
|
126
|
-
busy:
|
|
127
|
-
disabled: i || A
|
|
121
|
+
onClick: x,
|
|
122
|
+
busy: s
|
|
128
123
|
}
|
|
129
124
|
) })
|
|
130
125
|
]
|
|
131
126
|
}
|
|
132
127
|
);
|
|
133
128
|
}
|
|
134
|
-
),
|
|
129
|
+
), ue = E(U);
|
|
135
130
|
export {
|
|
136
|
-
|
|
131
|
+
ue as default
|
|
137
132
|
};
|
|
138
133
|
//# sourceMappingURL=circular-step-wrapper.js.map
|