@cuemath/leap 3.2.4 → 3.2.5-j2

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 (86) hide show
  1. package/dist/assets/illustrations/illustrations.js +5 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/after-noon.js +34 -0
  4. package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
  5. package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
  6. package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
  7. package/dist/assets/line-icons/icons/evening.js +35 -0
  8. package/dist/assets/line-icons/icons/evening.js.map +1 -0
  9. package/dist/assets/line-icons/icons/morning.js +35 -0
  10. package/dist/assets/line-icons/icons/morning.js.map +1 -0
  11. package/dist/assets/lottie/lottie.js +9 -0
  12. package/dist/assets/lottie/lottie.js.map +1 -1
  13. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +17 -12
  14. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  15. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
  16. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
  17. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +33 -0
  18. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
  19. package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
  20. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
  21. package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
  22. package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
  23. package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
  24. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
  25. package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
  26. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
  27. package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
  28. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  29. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
  30. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
  31. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
  32. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
  33. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
  34. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  35. package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
  36. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  37. package/dist/features/auth/comps/tabs/tabs.js +5 -5
  38. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  39. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
  40. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
  41. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +22 -0
  42. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
  43. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +18 -0
  44. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
  45. package/dist/features/auth/signup-v2/signup-header/signup-header.js +25 -0
  46. package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
  47. package/dist/features/auth/signup-v2/signup-options/signup-options.js +71 -0
  48. package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +1 -0
  49. package/dist/features/ui/image/image.js +1 -1
  50. package/dist/features/ui/image/image.js.map +1 -1
  51. package/dist/features/ui/theme/button.js +78 -78
  52. package/dist/features/ui/theme/button.js.map +1 -1
  53. package/dist/index.d.ts +89 -3
  54. package/dist/index.js +454 -434
  55. package/dist/index.js.map +1 -1
  56. package/dist/node_modules/decode-uri-component/index.js.map +1 -0
  57. package/dist/node_modules/query-string/base.js +1 -1
  58. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  59. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  60. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  61. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  62. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  63. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  64. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  65. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  66. package/dist/static/calendar-purple.1a840b41.svg +1 -0
  67. package/dist/static/flying-disk.c7f6ed39.json +1 -0
  68. package/dist/static/graduation-cap.3be3340a.json +1 -0
  69. package/dist/static/handshake.287e7dfb.svg +1 -0
  70. package/dist/static/light-bulb.c6db0b23.json +1 -0
  71. package/dist/static/money.332aacf1.svg +1 -0
  72. package/dist/static/muscle.9bcfb8a7.json +1 -0
  73. package/dist/static/parent-avatar.822c7b9b.svg +1 -0
  74. package/dist/static/pencil.23df9da0.json +1 -0
  75. package/dist/static/plus-sign.de6af957.json +1 -0
  76. package/dist/static/racing-car.2cbf864e.json +1 -0
  77. package/dist/static/rocket.0a3ccab0.json +1 -0
  78. package/dist/static/shovel.abeec04c.json +1 -0
  79. package/dist/static/trustpilot.bd3d79e1.svg +1 -0
  80. package/package.json +1 -1
  81. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
  82. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  83. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  84. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  85. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  86. /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
@@ -0,0 +1,44 @@
1
+ import n, { css as a } from "styled-components";
2
+ import e from "../../../ui/layout/flex-view.js";
3
+ import $ from "../../../ui/text/text.js";
4
+ const T = n.button`
5
+ ${({ selected: o, disabled: r, width: i, height: l, borderColor: s, theme: t }) => {
6
+ const c = r ? t.colors.WHITE_T_10 : o ? t.colors.WHITE_1 : t.colors.BLACK_1, p = r ? t.colors.WHITE_T_15 : s;
7
+ return a`
8
+ position: relative;
9
+ display: inline-flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ cursor: ${r ? "not-allowed" : "pointer"};
13
+ transition: all 0.3s ease;
14
+ padding: 7.5px 16px;
15
+ border-radius: 40px;
16
+ border: 1px solid ${p};
17
+ width: ${i ? `${i}px` : "auto"};
18
+ height: ${l ? `${l}px` : "auto"};
19
+ background-color: ${c};
20
+ &:hover {
21
+ background-color: ${!o && !r ? t.colors.WHITE_T_10 : void 0};
22
+ }
23
+ `;
24
+ }}
25
+ `, d = n(e)`
26
+ visibility: ${({ $showLottie: o }) => o ? "visible" : "hidden"};
27
+ `, f = n($)`
28
+ transition: all 0.3s ease-in-out;
29
+ position: relative;
30
+
31
+ ${({ shouldOffsetLabel: o }) => `
32
+ left: ${o ? "0" : "-10px"};
33
+ `};
34
+
35
+ ${({ selected: o, disabled: r, theme: i, textColor: l }) => `
36
+ color: ${r ? i.colors.WHITE_T_38 : o ? i.colors.BLACK_1 : l};
37
+ `};
38
+ `;
39
+ export {
40
+ d as IconWrapper,
41
+ f as Label,
42
+ T as Wrapper
43
+ };
44
+ //# sourceMappingURL=pill-button-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pill-button-styled.js","sources":["../../../../../src/features/auth/comps/pill-button/pill-button-styled.tsx"],"sourcesContent":["import styled, { css } from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\n\nexport const Wrapper = styled.button<{\n selected: boolean;\n disabled: boolean;\n width?: number;\n height?: number;\n borderColor?: string;\n}>`\n ${({ selected, disabled, width, height, borderColor, theme }) => {\n const defaultBgColor = disabled\n ? theme.colors.WHITE_T_10\n : selected\n ? theme.colors.WHITE_1\n : theme.colors.BLACK_1;\n\n const borderColorVal = disabled ? theme.colors.WHITE_T_15 : borderColor;\n\n return css`\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: ${disabled ? 'not-allowed' : 'pointer'};\n transition: all 0.3s ease;\n padding: 7.5px 16px;\n border-radius: 40px;\n border: 1px solid ${borderColorVal};\n width: ${width ? `${width}px` : 'auto'};\n height: ${height ? `${height}px` : 'auto'};\n background-color: ${defaultBgColor};\n &:hover {\n background-color: ${!selected && !disabled ? theme.colors.WHITE_T_10 : undefined};\n }\n `;\n }}\n`;\n\nexport const IconWrapper = styled(FlexView)<{\n $showLottie: boolean;\n}>`\n visibility: ${({ $showLottie }) => ($showLottie ? 'visible' : 'hidden')};\n`;\n\nexport const Label = styled(Text)<{\n selected: boolean;\n disabled: boolean;\n shouldOffsetLabel: boolean;\n textColor: string;\n}>`\n transition: all 0.3s ease-in-out;\n position: relative;\n\n ${({ shouldOffsetLabel }) => `\n left: ${shouldOffsetLabel ? '0' : '-10px'};\n `};\n\n ${({ selected, disabled, theme, textColor }) => `\n color: ${disabled ? theme.colors.WHITE_T_38 : selected ? theme.colors.BLACK_1 : textColor};\n `};\n`;\n"],"names":["Wrapper","styled","selected","disabled","width","height","borderColor","theme","defaultBgColor","borderColorVal","css","IconWrapper","FlexView","$showLottie","Label","Text","shouldOffsetLabel","textColor"],"mappings":";;;AAKO,MAAMA,IAAUC,EAAO;AAAA,IAO1B,CAAC,EAAE,UAAAC,GAAU,UAAAC,GAAU,OAAAC,GAAO,QAAAC,GAAQ,aAAAC,GAAa,OAAAC,QAAY;AACzD,QAAAC,IAAiBL,IACnBI,EAAM,OAAO,aACbL,IACEK,EAAM,OAAO,UACbA,EAAM,OAAO,SAEbE,IAAiBN,IAAWI,EAAM,OAAO,aAAaD;AAErD,SAAAI;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKKP,IAAW,gBAAgB,SAAS;AAAA;AAAA;AAAA;AAAA,0BAI1BM,CAAc;AAAA,eACzBL,IAAQ,GAAGA,CAAK,OAAO,MAAM;AAAA,gBAC5BC,IAAS,GAAGA,CAAM,OAAO,MAAM;AAAA,0BACrBG,CAAc;AAAA;AAAA,4BAEZ,CAACN,KAAY,CAACC,IAAWI,EAAM,OAAO,aAAa,MAAS;AAAA;AAAA;AAGtF,CAAC;AAAA,GAGUI,IAAcV,EAAOW,CAAQ;AAAA,gBAG1B,CAAC,EAAE,aAAAC,EAAA,MAAmBA,IAAc,YAAY,QAAS;AAAA,GAG5DC,IAAQb,EAAOc,CAAI;AAAA;AAAA;AAAA;AAAA,IAS5B,CAAC,EAAE,mBAAAC,EAAA,MAAwB;AAAA,YACnBA,IAAoB,MAAM,OAAO;AAAA,GAC1C;AAAA;AAAA,IAEC,CAAC,EAAE,UAAAd,GAAU,UAAAC,GAAU,OAAAI,GAAO,WAAAU,EAAgB,MAAA;AAAA,aACrCd,IAAWI,EAAM,OAAO,aAAaL,IAAWK,EAAM,OAAO,UAAUU,CAAS;AAAA,GAC1F;AAAA;"}
@@ -0,0 +1,75 @@
1
+ import { jsx as o, jsxs as H } from "react/jsx-runtime";
2
+ import { useState as x, useCallback as l, useEffect as M } from "react";
3
+ import { useTheme as P } from "styled-components";
4
+ import _ from "../../../ui/arrow-tooltip/arrow-tooltip.js";
5
+ import j from "../../../ui/layout/flex-view.js";
6
+ import y from "../../../ui/lottie-animation/lottie-animation.js";
7
+ import { Wrapper as B, IconWrapper as O, Label as R } from "./pill-button-styled.js";
8
+ const X = {
9
+ autoplay: !0,
10
+ loop: !0,
11
+ renderer: "canvas"
12
+ }, k = ({
13
+ id: i,
14
+ label: d,
15
+ selected: t = !1,
16
+ disabled: e = !1,
17
+ animatedLabel: u = "",
18
+ icon: r,
19
+ onClick: a,
20
+ tooltip: c,
21
+ width: g
22
+ }) => {
23
+ const [$, h] = x(!1), [n, v] = x(!1), { colors: f } = P(), s = !!u, A = l(() => {
24
+ a(i);
25
+ }, [i, a]);
26
+ M(() => {
27
+ if (!s || e) return;
28
+ const T = setInterval(() => {
29
+ v((W) => !W);
30
+ }, 1e3);
31
+ return () => clearInterval(T);
32
+ }, [e, s]);
33
+ const w = l(() => h(!0), []), C = l(() => h(!1), []), m = !!r && !e && (s || t || $), E = f[n ? "YELLOW_4" : "WHITE_1"], I = f[n && !t ? "YELLOW_4" : "WHITE_1"], p = n ? u : d, b = n ? t ? "ub3-bold" : "ub3" : t ? "ub2-bold" : "ub2", L = /* @__PURE__ */ o(
34
+ B,
35
+ {
36
+ selected: t,
37
+ disabled: e,
38
+ onClick: A,
39
+ onMouseEnter: w,
40
+ onMouseLeave: C,
41
+ height: 36,
42
+ width: Number(g),
43
+ borderColor: E,
44
+ children: /* @__PURE__ */ H(
45
+ j,
46
+ {
47
+ $flexDirection: "row",
48
+ $alignItems: "center",
49
+ $justifyContent: "center",
50
+ $flexColumnGapX: 0.25,
51
+ children: [
52
+ r && /* @__PURE__ */ o(O, { $widthX: 1, $heightX: 1, $showLottie: m, children: /* @__PURE__ */ o(y, { src: r, settings: X }) }),
53
+ /* @__PURE__ */ o(
54
+ R,
55
+ {
56
+ shouldOffsetLabel: m || !r,
57
+ selected: t,
58
+ disabled: e,
59
+ $renderAs: b,
60
+ textColor: I,
61
+ children: p
62
+ },
63
+ p
64
+ )
65
+ ]
66
+ }
67
+ )
68
+ }
69
+ );
70
+ return e && c ? /* @__PURE__ */ o(_, { renderAs: "primary", tooltipItem: c, position: "top", children: L }) : L;
71
+ }, z = k;
72
+ export {
73
+ z as default
74
+ };
75
+ //# sourceMappingURL=pill-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pill-button.js","sources":["../../../../../src/features/auth/comps/pill-button/pill-button.tsx"],"sourcesContent":["import type { IPillButtonProps } from './pill-button-types';\n\nimport { useCallback, useEffect, useState, type FC } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport ArrowTooltip from '../../../ui/arrow-tooltip/arrow-tooltip';\nimport FlexView from '../../../ui/layout/flex-view';\nimport LottieAnimation from '../../../ui/lottie-animation/lottie-animation';\nimport * as Styled from './pill-button-styled';\n\nconst lottieSettings = {\n autoplay: true,\n loop: true,\n renderer: 'canvas',\n};\n\nconst PillButton: FC<IPillButtonProps> = ({\n id,\n label,\n selected = false,\n disabled = false,\n animatedLabel = '',\n icon,\n onClick,\n tooltip,\n width,\n}) => {\n const [isHovered, setHovered] = useState(false);\n const [highlightPhase, setHighlightPhase] = useState(false);\n const { colors } = useTheme();\n const shouldAnimate = !!animatedLabel;\n\n const handleClick = useCallback(() => {\n onClick(id);\n }, [id, onClick]);\n\n useEffect(() => {\n if (!shouldAnimate || disabled) return;\n\n const interval = setInterval(() => {\n setHighlightPhase(prev => !prev);\n }, 1000);\n\n return () => clearInterval(interval);\n }, [disabled, shouldAnimate]);\n\n const handleMouseEnter = useCallback(() => setHovered(true), []);\n const handleMouseLeave = useCallback(() => setHovered(false), []);\n\n const showLottie = !!icon && !disabled && (shouldAnimate || selected || isHovered);\n\n const borderColor = colors[highlightPhase ? 'YELLOW_4' : 'WHITE_1'];\n const textColor = colors[highlightPhase && !selected ? 'YELLOW_4' : 'WHITE_1'];\n const currentLabel = highlightPhase ? animatedLabel : label;\n const defaultTextRenderAs = selected ? 'ub2-bold' : 'ub2';\n const textRenderAs = highlightPhase ? (selected ? 'ub3-bold' : 'ub3') : defaultTextRenderAs;\n\n const ButtonContent = (\n <Styled.Wrapper\n selected={selected}\n disabled={disabled}\n onClick={handleClick}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n height={36}\n width={Number(width)}\n borderColor={borderColor}\n >\n <FlexView\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $flexColumnGapX={0.25}\n >\n {icon && (\n <Styled.IconWrapper $widthX={1} $heightX={1} $showLottie={showLottie}>\n <LottieAnimation src={icon} settings={lottieSettings} />\n </Styled.IconWrapper>\n )}\n <Styled.Label\n key={currentLabel}\n shouldOffsetLabel={showLottie || !icon}\n selected={selected}\n disabled={disabled}\n $renderAs={textRenderAs}\n textColor={textColor}\n >\n {currentLabel}\n </Styled.Label>\n </FlexView>\n </Styled.Wrapper>\n );\n\n return disabled && tooltip ? (\n <ArrowTooltip renderAs=\"primary\" tooltipItem={tooltip} position=\"top\">\n {ButtonContent}\n </ArrowTooltip>\n ) : (\n ButtonContent\n );\n};\n\nexport default PillButton;\n"],"names":["lottieSettings","PillButton","id","label","selected","disabled","animatedLabel","icon","onClick","tooltip","width","isHovered","setHovered","useState","highlightPhase","setHighlightPhase","colors","useTheme","shouldAnimate","handleClick","useCallback","useEffect","interval","prev","handleMouseEnter","handleMouseLeave","showLottie","borderColor","textColor","currentLabel","textRenderAs","ButtonContent","jsx","Styled.Wrapper","jsxs","FlexView","Styled.IconWrapper","LottieAnimation","Styled.Label","ArrowTooltip","PillButton$1"],"mappings":";;;;;;;AAUA,MAAMA,IAAiB;AAAA,EACrB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AACZ,GAEMC,IAAmC,CAAC;AAAA,EACxC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,UAAAC,IAAW;AAAA,EACX,eAAAC,IAAgB;AAAA,EAChB,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AACF,MAAM;AACJ,QAAM,CAACC,GAAWC,CAAU,IAAIC,EAAS,EAAK,GACxC,CAACC,GAAgBC,CAAiB,IAAIF,EAAS,EAAK,GACpD,EAAE,QAAAG,MAAWC,KACbC,IAAgB,CAAC,CAACZ,GAElBa,IAAcC,EAAY,MAAM;AACpC,IAAAZ,EAAQN,CAAE;AAAA,EAAA,GACT,CAACA,GAAIM,CAAO,CAAC;AAEhB,EAAAa,EAAU,MAAM;AACV,QAAA,CAACH,KAAiBb,EAAU;AAE1B,UAAAiB,IAAW,YAAY,MAAM;AACf,MAAAP,EAAA,CAAAQ,MAAQ,CAACA,CAAI;AAAA,OAC9B,GAAI;AAEA,WAAA,MAAM,cAAcD,CAAQ;AAAA,EAAA,GAClC,CAACjB,GAAUa,CAAa,CAAC;AAE5B,QAAMM,IAAmBJ,EAAY,MAAMR,EAAW,EAAI,GAAG,CAAA,CAAE,GACzDa,IAAmBL,EAAY,MAAMR,EAAW,EAAK,GAAG,CAAA,CAAE,GAE1Dc,IAAa,CAAC,CAACnB,KAAQ,CAACF,MAAaa,KAAiBd,KAAYO,IAElEgB,IAAcX,EAAOF,IAAiB,aAAa,SAAS,GAC5Dc,IAAYZ,EAAOF,KAAkB,CAACV,IAAW,aAAa,SAAS,GACvEyB,IAAef,IAAiBR,IAAgBH,GAEhD2B,IAAehB,IAAkBV,IAAW,aAAa,QADnCA,IAAW,aAAa,OAG9C2B,IACJ,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,UAAA7B;AAAA,MACA,UAAAC;AAAA,MACA,SAASc;AAAA,MACT,cAAcK;AAAA,MACd,cAAcC;AAAA,MACd,QAAQ;AAAA,MACR,OAAO,OAAOf,CAAK;AAAA,MACnB,aAAAiB;AAAA,MAEA,UAAA,gBAAAO;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,gBAAe;AAAA,UACf,aAAY;AAAA,UACZ,iBAAgB;AAAA,UAChB,iBAAiB;AAAA,UAEhB,UAAA;AAAA,YAAA5B,uBACE6B,GAAA,EAAmB,SAAS,GAAG,UAAU,GAAG,aAAaV,GACxD,4BAACW,GAAgB,EAAA,KAAK9B,GAAM,UAAUP,EAAgB,CAAA,GACxD;AAAA,YAEF,gBAAAgC;AAAA,cAACM;AAAAA,cAAA;AAAA,gBAEC,mBAAmBZ,KAAc,CAACnB;AAAA,gBAClC,UAAAH;AAAA,gBACA,UAAAC;AAAA,gBACA,WAAWyB;AAAA,gBACX,WAAAF;AAAA,gBAEC,UAAAC;AAAA,cAAA;AAAA,cAPIA;AAAA,YAQP;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAIG,SAAAxB,KAAYI,IACjB,gBAAAuB,EAACO,GAAa,EAAA,UAAS,WAAU,aAAa9B,GAAS,UAAS,OAC7D,UAAAsB,EAAA,CACH,IAEAA;AAEJ,GAEAS,IAAevC;"}
@@ -1,65 +1,72 @@
1
- import { jsx as e, jsxs as n, Fragment as _ } from "react/jsx-runtime";
2
- import { memo as x, useCallback as a } from "react";
3
- import k from "../../../ui/buttons/button/button.js";
4
- import u from "../../../ui/buttons/text-button/text-button.js";
5
- import i from "../../../ui/layout/flex-view.js";
6
- import c from "../../../ui/text/text.js";
7
- import { useResendTimer as C } from "./hooks/use-resend-timer.js";
1
+ import { jsx as r, jsxs as n, Fragment as C } from "react/jsx-runtime";
2
+ import { memo as g, useCallback as f } from "react";
3
+ import w from "../../../ui/buttons/button/button.js";
4
+ import $ from "../../../ui/buttons/text-button/text-button.js";
5
+ import m from "../../../ui/layout/flex-view.js";
6
+ import a from "../../../ui/text/text.js";
7
+ import { useResendTimer as A } from "./hooks/use-resend-timer.js";
8
8
  const I = ({
9
- onResendOTP: r,
10
- onResendVoiceOTP: l,
11
- timerSeconds: f = 15,
12
- showVoiceOTP: $ = !1,
13
- disabled: m,
14
- renderAs: h = "text",
15
- width: p
9
+ onResendOTP: l,
10
+ onResendVoiceOTP: i,
11
+ timerSeconds: h = 15,
12
+ showVoiceOTP: p = !1,
13
+ disabled: o,
14
+ renderAs: x = "text",
15
+ width: k,
16
+ textButtonColor: s = "WHITE_T_60",
17
+ size: d = "small"
16
18
  }) => {
17
- const { canResend: o, resetTimer: t, timeLeft: s } = C({
18
- initialSeconds: f
19
- }), d = a(() => {
20
- r == null || r(), t();
21
- }, [r, t]), b = a(() => {
19
+ const { canResend: c, resetTimer: t, timeLeft: u } = A({
20
+ initialSeconds: h
21
+ }), b = f(() => {
22
22
  l == null || l(), t();
23
- }, [l, t]);
24
- return h === "submit" ? /* @__PURE__ */ e(
25
- k,
26
- {
27
- size: "small",
28
- renderAs: "secondary-dark",
29
- type: "submit",
30
- label: o ? "Resend" : `Resend in ${s}`,
31
- width: p,
32
- onClick: d,
33
- disabled: !o || m
34
- }
35
- ) : /* @__PURE__ */ e(i, { children: o ? /* @__PURE__ */ n(i, { $flexDirection: "row", $alignItems: "center", $flexColumnGapX: 0.5, children: [
36
- /* @__PURE__ */ e(
37
- u,
23
+ }, [l, t]), _ = f(() => {
24
+ i == null || i(), t();
25
+ }, [i, t]);
26
+ if (x === "submit")
27
+ return /* @__PURE__ */ r(
28
+ w,
38
29
  {
39
- disabled: m,
30
+ size: d,
31
+ renderAs: "secondary-dark",
32
+ type: "submit",
33
+ label: c ? "Resend" : `Resend in ${u}`,
34
+ width: k,
35
+ onClick: b,
36
+ disabled: !c || o
37
+ }
38
+ );
39
+ const e = d === "xsmall";
40
+ return /* @__PURE__ */ r(m, { children: c ? /* @__PURE__ */ n(m, { $flexDirection: "row", $alignItems: "center", $flexColumnGapX: 0.5, children: [
41
+ /* @__PURE__ */ r(
42
+ $,
43
+ {
44
+ disabled: o,
40
45
  label: "Resend",
41
- color: "WHITE_T_60",
42
- onClick: d
46
+ size: e ? "small" : "regular",
47
+ color: s,
48
+ onClick: b
43
49
  }
44
50
  ),
45
- $ && /* @__PURE__ */ n(_, { children: [
46
- /* @__PURE__ */ e(c, { $renderAs: "ub2", $color: "WHITE_T_60", children: "or" }),
47
- /* @__PURE__ */ e(i, { $width: 116, children: /* @__PURE__ */ e(
48
- u,
51
+ p && /* @__PURE__ */ n(C, { children: [
52
+ /* @__PURE__ */ r(a, { $renderAs: e ? "ub3" : "ub2", $color: s, children: "or" }),
53
+ /* @__PURE__ */ r(m, { $width: 116, children: /* @__PURE__ */ r(
54
+ $,
49
55
  {
50
56
  label: "Get code via call",
51
- color: "WHITE_T_60",
52
- onClick: b
57
+ size: e ? "small" : "regular",
58
+ color: s,
59
+ onClick: _
53
60
  }
54
61
  ) })
55
62
  ] })
56
- ] }) : /* @__PURE__ */ e(i, { $width: 105, children: /* @__PURE__ */ n(c, { $renderAs: "ub2", $color: "WHITE_T_60", children: [
63
+ ] }) : /* @__PURE__ */ r(m, { $width: 105, children: /* @__PURE__ */ n(a, { $renderAs: e ? "ub3" : "ub2", $color: "WHITE_T_60", children: [
57
64
  "Resend in",
58
65
  " ",
59
- /* @__PURE__ */ e(c, { $renderAs: "ub2-bold", $inline: !0, $color: "WHITE_T_60", children: s })
66
+ /* @__PURE__ */ r(a, { $renderAs: e ? "ub3-bold" : "ub2-bold", $inline: !0, $color: "WHITE_T_60", children: u })
60
67
  ] }) }) });
61
- }, j = x(I);
68
+ }, F = g(I);
62
69
  export {
63
- j as default
70
+ F as default
64
71
  };
65
72
  //# sourceMappingURL=resend-otp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resend-otp.js","sources":["../../../../../src/features/auth/comps/resend-otp/resend-otp.tsx"],"sourcesContent":["import type { IOTPResendProps } from './resend-otp-types';\n\nimport { useCallback, memo } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\nimport { useResendTimer } from './hooks/use-resend-timer';\n\nconst ResendOTP: React.FC<IOTPResendProps> = ({\n onResendOTP,\n onResendVoiceOTP,\n timerSeconds = 15,\n showVoiceOTP = false,\n disabled,\n renderAs = 'text',\n width,\n}) => {\n const { canResend, resetTimer, timeLeft } = useResendTimer({\n initialSeconds: timerSeconds,\n });\n\n const handleResendClick = useCallback(() => {\n onResendOTP?.();\n resetTimer();\n }, [onResendOTP, resetTimer]);\n\n const handleVoiceResendClick = useCallback(() => {\n onResendVoiceOTP?.();\n resetTimer();\n }, [onResendVoiceOTP, resetTimer]);\n\n if (renderAs === 'submit') {\n return (\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={canResend ? 'Resend' : `Resend in ${timeLeft}`}\n width={width}\n onClick={handleResendClick}\n disabled={!canResend || disabled}\n />\n );\n }\n\n return (\n <FlexView>\n {!canResend ? (\n <FlexView $width={105}>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\">\n Resend in{' '}\n <Text $renderAs=\"ub2-bold\" $inline $color=\"WHITE_T_60\">\n {timeLeft}\n </Text>\n </Text>\n </FlexView>\n ) : (\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $flexColumnGapX={0.5}>\n <TextButton\n disabled={disabled}\n label=\"Resend\"\n color=\"WHITE_T_60\"\n onClick={handleResendClick}\n />\n {showVoiceOTP && (\n <>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\">\n or\n </Text>\n <FlexView $width={116}>\n <TextButton\n label=\"Get code via call\"\n color=\"WHITE_T_60\"\n onClick={handleVoiceResendClick}\n />\n </FlexView>\n </>\n )}\n </FlexView>\n )}\n </FlexView>\n );\n};\n\nexport default memo(ResendOTP);\n"],"names":["ResendOTP","onResendOTP","onResendVoiceOTP","timerSeconds","showVoiceOTP","disabled","renderAs","width","canResend","resetTimer","timeLeft","useResendTimer","handleResendClick","useCallback","handleVoiceResendClick","jsx","Button","FlexView","jsxs","TextButton","Fragment","Text","ResendOtp","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAAuC,CAAC;AAAA,EAC5C,aAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,cAAAC,IAAe;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,OAAAC;AACF,MAAM;AACJ,QAAM,EAAE,WAAAC,GAAW,YAAAC,GAAY,UAAAC,EAAA,IAAaC,EAAe;AAAA,IACzD,gBAAgBR;AAAA,EAAA,CACjB,GAEKS,IAAoBC,EAAY,MAAM;AAC5B,IAAAZ,KAAA,QAAAA,KACHQ;EAAA,GACV,CAACR,GAAaQ,CAAU,CAAC,GAEtBK,IAAyBD,EAAY,MAAM;AAC5B,IAAAX,KAAA,QAAAA,KACRO;EAAA,GACV,CAACP,GAAkBO,CAAU,CAAC;AAEjC,SAAIH,MAAa,WAEb,gBAAAS;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,MAAK;AAAA,MACL,OAAOR,IAAY,WAAW,aAAaE,CAAQ;AAAA,MACnD,OAAAH;AAAA,MACA,SAASK;AAAA,MACT,UAAU,CAACJ,KAAaH;AAAA,IAAA;AAAA,EAAA,IAM3B,gBAAAU,EAAAE,GAAA,EACE,UAACT,IAUC,gBAAAU,EAAAD,GAAA,EAAS,gBAAe,OAAM,aAAY,UAAS,iBAAiB,KACnE,UAAA;AAAA,IAAA,gBAAAF;AAAA,MAACI;AAAA,MAAA;AAAA,QACC,UAAAd;AAAA,QACA,OAAM;AAAA,QACN,OAAM;AAAA,QACN,SAASO;AAAA,MAAA;AAAA,IACX;AAAA,IACCR,KAEG,gBAAAc,EAAAE,GAAA,EAAA,UAAA;AAAA,MAAA,gBAAAL,EAACM,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,UAE1C,MAAA;AAAA,MACA,gBAAAN,EAACE,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAF;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,OAAM;AAAA,UACN,OAAM;AAAA,UACN,SAASL;AAAA,QAAA;AAAA,MAAA,GAEb;AAAA,IAAA,GACF;AAAA,EAAA,EAEJ,CAAA,IA9BC,gBAAAC,EAAAE,GAAA,EAAS,QAAQ,KAChB,UAAC,gBAAAC,EAAAG,GAAA,EAAK,WAAU,OAAM,QAAO,cAAa,UAAA;AAAA,IAAA;AAAA,IAC9B;AAAA,IACV,gBAAAN,EAACM,KAAK,WAAU,YAAW,SAAO,IAAC,QAAO,cACvC,UACHX,EAAA,CAAA;AAAA,EACF,EAAA,CAAA,EACF,CAAA,EAyBJ,CAAA;AAEJ,GAEeY,IAAAC,EAAKvB,CAAS;"}
1
+ {"version":3,"file":"resend-otp.js","sources":["../../../../../src/features/auth/comps/resend-otp/resend-otp.tsx"],"sourcesContent":["import type { IOTPResendProps } from './resend-otp-types';\n\nimport { useCallback, memo } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\nimport { useResendTimer } from './hooks/use-resend-timer';\n\nconst ResendOTP: React.FC<IOTPResendProps> = ({\n onResendOTP,\n onResendVoiceOTP,\n timerSeconds = 15,\n showVoiceOTP = false,\n disabled,\n renderAs = 'text',\n width,\n textButtonColor = 'WHITE_T_60',\n size = 'small',\n}) => {\n const { canResend, resetTimer, timeLeft } = useResendTimer({\n initialSeconds: timerSeconds,\n });\n\n const handleResendClick = useCallback(() => {\n onResendOTP?.();\n resetTimer();\n }, [onResendOTP, resetTimer]);\n\n const handleVoiceResendClick = useCallback(() => {\n onResendVoiceOTP?.();\n resetTimer();\n }, [onResendVoiceOTP, resetTimer]);\n\n if (renderAs === 'submit') {\n return (\n <Button\n size={size}\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={canResend ? 'Resend' : `Resend in ${timeLeft}`}\n width={width}\n onClick={handleResendClick}\n disabled={!canResend || disabled}\n />\n );\n }\n\n const isXSmallSize = size === 'xsmall';\n\n return (\n <FlexView>\n {!canResend ? (\n <FlexView $width={105}>\n <Text $renderAs={isXSmallSize ? 'ub3' : 'ub2'} $color=\"WHITE_T_60\">\n Resend in{' '}\n <Text $renderAs={isXSmallSize ? 'ub3-bold' : 'ub2-bold'} $inline $color=\"WHITE_T_60\">\n {timeLeft}\n </Text>\n </Text>\n </FlexView>\n ) : (\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $flexColumnGapX={0.5}>\n <TextButton\n disabled={disabled}\n label=\"Resend\"\n size={isXSmallSize ? 'small' : 'regular'}\n color={textButtonColor}\n onClick={handleResendClick}\n />\n {showVoiceOTP && (\n <>\n <Text $renderAs={isXSmallSize ? 'ub3' : 'ub2'} $color={textButtonColor}>\n or\n </Text>\n <FlexView $width={116}>\n <TextButton\n label=\"Get code via call\"\n size={isXSmallSize ? 'small' : 'regular'}\n color={textButtonColor}\n onClick={handleVoiceResendClick}\n />\n </FlexView>\n </>\n )}\n </FlexView>\n )}\n </FlexView>\n );\n};\n\nexport default memo(ResendOTP);\n"],"names":["ResendOTP","onResendOTP","onResendVoiceOTP","timerSeconds","showVoiceOTP","disabled","renderAs","width","textButtonColor","size","canResend","resetTimer","timeLeft","useResendTimer","handleResendClick","useCallback","handleVoiceResendClick","jsx","Button","isXSmallSize","FlexView","jsxs","TextButton","Fragment","Text","ResendOtp","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAAuC,CAAC;AAAA,EAC5C,aAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,cAAAC,IAAe;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,OAAAC;AAAA,EACA,iBAAAC,IAAkB;AAAA,EAClB,MAAAC,IAAO;AACT,MAAM;AACJ,QAAM,EAAE,WAAAC,GAAW,YAAAC,GAAY,UAAAC,EAAA,IAAaC,EAAe;AAAA,IACzD,gBAAgBV;AAAA,EAAA,CACjB,GAEKW,IAAoBC,EAAY,MAAM;AAC5B,IAAAd,KAAA,QAAAA,KACHU;EAAA,GACV,CAACV,GAAaU,CAAU,CAAC,GAEtBK,IAAyBD,EAAY,MAAM;AAC5B,IAAAb,KAAA,QAAAA,KACRS;EAAA,GACV,CAACT,GAAkBS,CAAU,CAAC;AAEjC,MAAIL,MAAa;AAEb,WAAA,gBAAAW;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,MAAAT;AAAA,QACA,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAOC,IAAY,WAAW,aAAaE,CAAQ;AAAA,QACnD,OAAAL;AAAA,QACA,SAASO;AAAA,QACT,UAAU,CAACJ,KAAaL;AAAA,MAAA;AAAA,IAAA;AAK9B,QAAMc,IAAeV,MAAS;AAE9B,SACG,gBAAAQ,EAAAG,GAAA,EACE,UAACV,IAUC,gBAAAW,EAAAD,GAAA,EAAS,gBAAe,OAAM,aAAY,UAAS,iBAAiB,KACnE,UAAA;AAAA,IAAA,gBAAAH;AAAA,MAACK;AAAA,MAAA;AAAA,QACC,UAAAjB;AAAA,QACA,OAAM;AAAA,QACN,MAAMc,IAAe,UAAU;AAAA,QAC/B,OAAOX;AAAA,QACP,SAASM;AAAA,MAAA;AAAA,IACX;AAAA,IACCV,KAEG,gBAAAiB,EAAAE,GAAA,EAAA,UAAA;AAAA,MAAA,gBAAAN,EAACO,KAAK,WAAWL,IAAe,QAAQ,OAAO,QAAQX,GAAiB,UAExE,KAAA,CAAA;AAAA,MACA,gBAAAS,EAACG,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAH;AAAA,QAACK;AAAA,QAAA;AAAA,UACC,OAAM;AAAA,UACN,MAAMH,IAAe,UAAU;AAAA,UAC/B,OAAOX;AAAA,UACP,SAASQ;AAAA,QAAA;AAAA,MAAA,GAEb;AAAA,IAAA,GACF;AAAA,EAAA,EAEJ,CAAA,sBAhCCI,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAC,EAACG,KAAK,WAAWL,IAAe,QAAQ,OAAO,QAAO,cAAa,UAAA;AAAA,IAAA;AAAA,IACvD;AAAA,IACV,gBAAAF,EAACO,GAAK,EAAA,WAAWL,IAAe,aAAa,YAAY,SAAO,IAAC,QAAO,cACrE,UACHP,EAAA,CAAA;AAAA,EACF,EAAA,CAAA,EACF,CAAA,EA2BJ,CAAA;AAEJ,GAEea,IAAAC,EAAK1B,CAAS;"}
@@ -0,0 +1,17 @@
1
+ import e from "styled-components";
2
+ import t from "../../../ui/layout/flex-view.js";
3
+ const s = e(t)`
4
+ ${({ selected: r, theme: o }) => `
5
+ cursor: pointer;
6
+ transition: all 0.3s ease;
7
+ border-width: 2px;
8
+
9
+ &:hover {
10
+ background-color: ${r ? void 0 : o.colors.BLACK_5};
11
+ }
12
+ `}
13
+ `;
14
+ export {
15
+ s as Wrapper
16
+ };
17
+ //# sourceMappingURL=selectable-info-card-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectable-info-card-styled.js","sources":["../../../../../src/features/auth/comps/selectable-info-card/selectable-info-card-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Wrapper = styled(FlexView)<{ selected: boolean }>`\n ${({ selected, theme }) => {\n return `\n cursor: pointer;\n transition: all 0.3s ease;\n border-width: 2px;\n\n &:hover {\n background-color: ${!selected ? theme.colors.BLACK_5 : undefined};\n }\n `;\n }}\n`;\n"],"names":["Wrapper","styled","FlexView","selected","theme"],"mappings":";;AAIa,MAAAA,IAAUC,EAAOC,CAAQ;AAAA,IAClC,CAAC,EAAE,UAAAC,GAAU,OAAAC,QACN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAMkBD,IAAkC,SAAvBC,EAAM,OAAO,OAAmB;AAAA;AAAA,GAGrE;AAAA;"}
@@ -0,0 +1,67 @@
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import { useRef as d, useCallback as t, useMemo as C } from "react";
3
+ import b from "../../../ui/layout/flex-view.js";
4
+ import g from "../../../ui/lottie-animation/lottie-animation.js";
5
+ import u from "../../../ui/text/text.js";
6
+ import { Wrapper as x } from "./selectable-info-card-styled.js";
7
+ const I = ({
8
+ id: a,
9
+ title: m,
10
+ description: c,
11
+ icon: i,
12
+ selected: r,
13
+ onClick: l
14
+ }) => {
15
+ const n = d(null), f = t(() => {
16
+ l(a);
17
+ }, [a, l]), p = t(() => {
18
+ var o;
19
+ (o = n.current) == null || o.play();
20
+ }, []), $ = t(() => {
21
+ var o;
22
+ r || (o = n.current) == null || o.stop();
23
+ }, [r]), h = C(
24
+ () => ({
25
+ autoplay: r,
26
+ loop: !0,
27
+ renderer: "canvas"
28
+ }),
29
+ [r]
30
+ );
31
+ return /* @__PURE__ */ s(
32
+ x,
33
+ {
34
+ $gutterX: 1,
35
+ $gapX: 1,
36
+ $borderColor: "WHITE",
37
+ $flexDirection: "row",
38
+ $background: r ? "WHITE_1" : "BLACK_1",
39
+ onMouseEnter: p,
40
+ onMouseLeave: $,
41
+ onClick: f,
42
+ $flexColumnGapX: 0.5,
43
+ selected: r,
44
+ $alignItems: "center",
45
+ children: [
46
+ i && /* @__PURE__ */ e(
47
+ g,
48
+ {
49
+ src: i,
50
+ ref: n,
51
+ settings: h,
52
+ width: 40,
53
+ height: 40
54
+ }
55
+ ),
56
+ /* @__PURE__ */ s(b, { children: [
57
+ /* @__PURE__ */ e(u, { $renderAs: "ab3", $color: r ? "BLACK_1" : "WHITE", children: m }),
58
+ /* @__PURE__ */ e(u, { $renderAs: "ub3", $color: r ? "BLACK_T_60" : "WHITE_T_60", children: c })
59
+ ] })
60
+ ]
61
+ }
62
+ );
63
+ }, W = I;
64
+ export {
65
+ W as default
66
+ };
67
+ //# sourceMappingURL=selectable-info-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectable-info-card.js","sources":["../../../../../src/features/auth/comps/selectable-info-card/selectable-info-card.tsx"],"sourcesContent":["import type { ILottieAnimationRef } from '../../../ui/lottie-animation/types';\nimport type { ISelectableInfoCardProps } from './selectable-info-card-types';\n\nimport { useCallback, useMemo, useRef } from 'react';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport LottieAnimation from '../../../ui/lottie-animation/lottie-animation';\nimport Text from '../../../ui/text/text';\nimport * as Styled from './selectable-info-card-styled';\n\nconst SelectableInfoCard = ({\n id,\n title,\n description,\n icon,\n selected,\n onClick,\n}: ISelectableInfoCardProps) => {\n const animationRef = useRef<ILottieAnimationRef | null>(null);\n\n const handleClick = useCallback(() => {\n onClick(id);\n }, [id, onClick]);\n\n const handleOnMouseEnter = useCallback(() => {\n animationRef.current?.play();\n }, []);\n\n const handleOnMouseLeave = useCallback(() => {\n if (selected) return;\n animationRef.current?.stop();\n }, [selected]);\n\n const renderSettings = useMemo(\n () => ({\n autoplay: selected,\n loop: true,\n renderer: 'canvas',\n }),\n [selected],\n );\n\n return (\n <Styled.Wrapper\n $gutterX={1}\n $gapX={1}\n $borderColor=\"WHITE\"\n $flexDirection=\"row\"\n $background={selected ? 'WHITE_1' : 'BLACK_1'}\n onMouseEnter={handleOnMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n onClick={handleClick}\n $flexColumnGapX={0.5}\n selected={selected}\n $alignItems=\"center\"\n >\n {icon && (\n <LottieAnimation\n src={icon}\n ref={animationRef}\n settings={renderSettings}\n width={40}\n height={40}\n />\n )}\n\n <FlexView>\n <Text $renderAs=\"ab3\" $color={selected ? 'BLACK_1' : 'WHITE'}>\n {title}\n </Text>\n <Text $renderAs=\"ub3\" $color={selected ? 'BLACK_T_60' : 'WHITE_T_60'}>\n {description}\n </Text>\n </FlexView>\n </Styled.Wrapper>\n );\n};\n\nexport default SelectableInfoCard;\n"],"names":["SelectableInfoCard","id","title","description","icon","selected","onClick","animationRef","useRef","handleClick","useCallback","handleOnMouseEnter","_a","handleOnMouseLeave","renderSettings","useMemo","jsxs","Styled.Wrapper","jsx","LottieAnimation","FlexView","Text","SelectableInfoCard$1"],"mappings":";;;;;;AAUA,MAAMA,IAAqB,CAAC;AAAA,EAC1B,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AACF,MAAgC;AACxB,QAAAC,IAAeC,EAAmC,IAAI,GAEtDC,IAAcC,EAAY,MAAM;AACpC,IAAAJ,EAAQL,CAAE;AAAA,EAAA,GACT,CAACA,GAAIK,CAAO,CAAC,GAEVK,IAAqBD,EAAY,MAAM;;AAC3C,KAAAE,IAAAL,EAAa,YAAb,QAAAK,EAAsB;AAAA,EACxB,GAAG,CAAE,CAAA,GAECC,IAAqBH,EAAY,MAAM;;AAC3C,IAAIL,MACJO,IAAAL,EAAa,YAAb,QAAAK,EAAsB;AAAA,EAAK,GAC1B,CAACP,CAAQ,CAAC,GAEPS,IAAiBC;AAAA,IACrB,OAAO;AAAA,MACL,UAAUV;AAAA,MACV,MAAM;AAAA,MACN,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACA,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAW;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,cAAa;AAAA,MACb,gBAAe;AAAA,MACf,aAAaZ,IAAW,YAAY;AAAA,MACpC,cAAcM;AAAA,MACd,cAAcE;AAAA,MACd,SAASJ;AAAA,MACT,iBAAiB;AAAA,MACjB,UAAAJ;AAAA,MACA,aAAY;AAAA,MAEX,UAAA;AAAA,QACCD,KAAA,gBAAAc;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,KAAKf;AAAA,YACL,KAAKG;AAAA,YACL,UAAUO;AAAA,YACV,OAAO;AAAA,YACP,QAAQ;AAAA,UAAA;AAAA,QACV;AAAA,0BAGDM,GACC,EAAA,UAAA;AAAA,UAAA,gBAAAF,EAACG,KAAK,WAAU,OAAM,QAAQhB,IAAW,YAAY,SAClD,UACHH,EAAA,CAAA;AAAA,UACA,gBAAAgB,EAACG,KAAK,WAAU,OAAM,QAAQhB,IAAW,eAAe,cACrD,UACHF,EAAA,CAAA;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAmB,IAAetB;"}
@@ -1,23 +1,35 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { memo as m, useCallback as c } from "react";
3
- import { TabsText as i } from "../tabs-styled.js";
4
- const n = ({ tab: e, isSelected: o, onChange: r }) => {
5
- const l = c(() => {
6
- r(e.id);
7
- }, [e.id, r]);
8
- return /* @__PURE__ */ t(
9
- i,
1
+ import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
+ import { memo as s, useCallback as m } from "react";
3
+ import $ from "../../../../ui/text/text.js";
4
+ import { TabWrapper as d, Icon as a } from "../tabs-styled.js";
5
+ const f = ({ tab: o, isSelected: e, onChange: r }) => {
6
+ const { Icon: t, iconPosition: i = "left" } = o, c = m(() => {
7
+ r(o.id);
8
+ }, [o.id, r]);
9
+ return /* @__PURE__ */ l(
10
+ d,
10
11
  {
11
- $renderAs: o ? "ub2-bold" : "ub2",
12
- $align: "center",
13
- $selected: o,
14
- onClick: l,
15
- $color: "WHITE",
16
- children: e.label
12
+ $selected: e,
13
+ $flexDirection: "row",
14
+ $alignItems: "center",
15
+ $justifyContent: "center",
16
+ children: [
17
+ t ? /* @__PURE__ */ n(a, { $selected: e, $iconPosition: i, children: /* @__PURE__ */ n(t, {}) }) : void 0,
18
+ /* @__PURE__ */ n(
19
+ $,
20
+ {
21
+ $renderAs: e ? "ub2-bold" : "ub2",
22
+ $align: "center",
23
+ onClick: c,
24
+ $color: "WHITE",
25
+ children: o.label
26
+ }
27
+ )
28
+ ]
17
29
  }
18
30
  );
19
- }, b = m(n);
31
+ }, x = s(f);
20
32
  export {
21
- b as default
33
+ x as default
22
34
  };
23
35
  //# sourceMappingURL=tab-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab-item.js","sources":["../../../../../../src/features/auth/comps/tabs/tab-tem/tab-item.tsx"],"sourcesContent":["import type { ITabItemProps } from '../tabs-types';\n\nimport { memo, useCallback } from 'react';\n\nimport * as Styled from '../tabs-styled';\n\nconst TabItem = ({ tab, isSelected, onChange }: ITabItemProps) => {\n const handleClick = useCallback(() => {\n onChange(tab.id);\n }, [tab.id, onChange]);\n\n return (\n <Styled.TabsText\n $renderAs={isSelected ? 'ub2-bold' : 'ub2'}\n $align=\"center\"\n $selected={isSelected}\n onClick={handleClick}\n $color=\"WHITE\"\n >\n {tab.label}\n </Styled.TabsText>\n );\n};\n\nexport default memo(TabItem);\n"],"names":["TabItem","tab","isSelected","onChange","handleClick","useCallback","jsx","Styled.TabsText","TabItem$1","memo"],"mappings":";;;AAMA,MAAMA,IAAU,CAAC,EAAE,KAAAC,GAAK,YAAAC,GAAY,UAAAC,QAA8B;AAC1D,QAAAC,IAAcC,EAAY,MAAM;AACpC,IAAAF,EAASF,EAAI,EAAE;AAAA,EACd,GAAA,CAACA,EAAI,IAAIE,CAAQ,CAAC;AAGnB,SAAA,gBAAAG;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWL,IAAa,aAAa;AAAA,MACrC,QAAO;AAAA,MACP,WAAWA;AAAA,MACX,SAASE;AAAA,MACT,QAAO;AAAA,MAEN,UAAIH,EAAA;AAAA,IAAA;AAAA,EAAA;AAGX,GAEeO,IAAAC,EAAKT,CAAO;"}
1
+ {"version":3,"file":"tab-item.js","sources":["../../../../../../src/features/auth/comps/tabs/tab-tem/tab-item.tsx"],"sourcesContent":["import type { ITabItemProps } from '../tabs-types';\n\nimport { memo, useCallback } from 'react';\n\nimport Text from '../../../../ui/text/text';\nimport * as Styled from '../tabs-styled';\n\nconst TabItem = ({ tab, isSelected, onChange }: ITabItemProps) => {\n const { Icon, iconPosition = 'left' } = tab;\n\n const handleClick = useCallback(() => {\n onChange(tab.id);\n }, [tab.id, onChange]);\n\n return (\n <Styled.TabWrapper\n $selected={isSelected}\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n {Icon ? (\n <Styled.Icon $selected={isSelected} $iconPosition={iconPosition}>\n <Icon />\n </Styled.Icon>\n ) : undefined}\n <Text\n $renderAs={isSelected ? 'ub2-bold' : 'ub2'}\n $align=\"center\"\n onClick={handleClick}\n $color=\"WHITE\"\n >\n {tab.label}\n </Text>\n </Styled.TabWrapper>\n );\n};\n\nexport default memo(TabItem);\n"],"names":["TabItem","tab","isSelected","onChange","Icon","iconPosition","handleClick","useCallback","jsxs","Styled.TabWrapper","jsx","Styled.Icon","Text","TabItem$1","memo"],"mappings":";;;;AAOA,MAAMA,IAAU,CAAC,EAAE,KAAAC,GAAK,YAAAC,GAAY,UAAAC,QAA8B;AAChE,QAAM,EAAEC,MAAAA,GAAM,cAAAC,IAAe,OAAA,IAAWJ,GAElCK,IAAcC,EAAY,MAAM;AACpC,IAAAJ,EAASF,EAAI,EAAE;AAAA,EACd,GAAA,CAACA,EAAI,IAAIE,CAAQ,CAAC;AAGnB,SAAA,gBAAAK;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWP;AAAA,MACX,gBAAe;AAAA,MACf,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAEf,UAAA;AAAA,QACCE,IAAA,gBAAAM,EAACC,GAAA,EAAY,WAAWT,GAAY,eAAeG,GACjD,UAAA,gBAAAK,EAACN,GAAK,CAAA,CAAA,EACR,CAAA,IACE;AAAA,QACJ,gBAAAM;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,WAAWV,IAAa,aAAa;AAAA,YACrC,QAAO;AAAA,YACP,SAASI;AAAA,YACT,QAAO;AAAA,YAEN,UAAIL,EAAA;AAAA,UAAA;AAAA,QACP;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeY,IAAAC,EAAKd,CAAO;"}
@@ -1,23 +1,35 @@
1
1
  import s from "styled-components";
2
- import p from "../../../ui/text/text.js";
3
- const d = s.div(({ theme: r, $tabsCount: o }) => {
4
- const { colors: t } = r;
2
+ import i from "../../../ui/layout/flex-view.js";
3
+ const d = s.div(({ theme: o, $tabsCount: r, $background: t }) => {
4
+ const { colors: e } = o;
5
5
  return `
6
6
  display: grid;
7
- background: ${t.BLACK_4};
8
- grid-template-columns: repeat(${o}, 1fr);
7
+ background: ${e[t]};
8
+ grid-template-columns: repeat(${r}, 1fr);
9
9
  `;
10
- }), l = s(p)(({ theme: r, $selected: o }) => {
11
- const { layout: t, colors: e } = r, { WHITE_T_15: n, WHITE: a } = e;
10
+ }), c = s(i)(({ theme: o, $selected: r }) => {
11
+ const { layout: t, colors: e } = o, { WHITE_T_15: n, WHITE: p } = e;
12
12
  return `
13
13
  cursor: pointer;
14
14
  padding: ${t.gutter * 0.875}px 0;
15
- border-bottom: 1.5px solid ${o ? a : n};
15
+ border-bottom: 1.5px solid ${r ? p : n};
16
16
  transition: all 0.3s ease;
17
17
  `;
18
- });
18
+ }), g = s.div(({ theme: o, $iconPosition: r, $selected: t }) => `
19
+ ${r === "left" ? "padding-right" : "padding-left"}: 4px;
20
+ order: ${r === "left" ? -1 : 1};
21
+
22
+ & svg {
23
+ display: ${t ? "block" : "none"};
24
+ width: 16px;
25
+ height: 16px;
26
+ color: ${o.colors.WHITE_1};
27
+ transition: color 0.2s ease-in-out;
28
+ }
29
+ `);
19
30
  export {
20
- l as TabsText,
31
+ g as Icon,
32
+ c as TabWrapper,
21
33
  d as TabsWrapper
22
34
  };
23
35
  //# sourceMappingURL=tabs-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-styled.js","sources":["../../../../../src/features/auth/comps/tabs/tabs-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Text from '../../../ui/text/text';\n\ninterface TabsWrapperProps {\n $tabsCount: number;\n}\n\nconst TabsWrapper = styled.div<TabsWrapperProps>(({ theme, $tabsCount }) => {\n const { colors } = theme;\n\n return `\n display: grid;\n background: ${colors.BLACK_4};\n grid-template-columns: repeat(${$tabsCount}, 1fr);\n `;\n});\n\ninterface ITabsText {\n $selected?: boolean;\n}\n\nconst TabsText = styled(Text)<ITabsText>(({ theme, $selected }) => {\n const { layout, colors } = theme;\n const { WHITE_T_15, WHITE } = colors;\n\n return `\n cursor: pointer;\n padding: ${layout.gutter * 0.875}px 0;\n border-bottom: 1.5px solid ${$selected ? WHITE : WHITE_T_15};\n transition: all 0.3s ease;\n `;\n});\n\nexport { TabsWrapper, TabsText };\n"],"names":["TabsWrapper","styled","theme","$tabsCount","colors","TabsText","Text","$selected","layout","WHITE_T_15","WHITE"],"mappings":";;AAQA,MAAMA,IAAcC,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,YAAAC,QAAiB;AACpE,QAAA,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA;AAAA,kBAESE,EAAO,OAAO;AAAA,oCACID,CAAU;AAAA;AAE9C,CAAC,GAMKE,IAAWJ,EAAOK,CAAI,EAAa,CAAC,EAAE,OAAAJ,GAAO,WAAAK,QAAgB;AAC3D,QAAA,EAAE,QAAAC,GAAQ,QAAAJ,EAAW,IAAAF,GACrB,EAAE,YAAAO,GAAY,OAAAC,EAAU,IAAAN;AAEvB,SAAA;AAAA;AAAA,eAEMI,EAAO,SAAS,KAAK;AAAA,iCACHD,IAAYG,IAAQD,CAAU;AAAA;AAAA;AAG/D,CAAC;"}
1
+ {"version":3,"file":"tabs-styled.js","sources":["../../../../../src/features/auth/comps/tabs/tabs-styled.tsx"],"sourcesContent":["import type { TColorNames } from '../../../ui/types';\nimport type { ITabItem } from './tabs-types';\n\nimport styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\ninterface TabsWrapperProps {\n $tabsCount: number;\n $background: TColorNames;\n}\n\nconst TabsWrapper = styled.div<TabsWrapperProps>(({ theme, $tabsCount, $background }) => {\n const { colors } = theme;\n\n return `\n display: grid;\n background: ${colors[$background]};\n grid-template-columns: repeat(${$tabsCount}, 1fr);\n `;\n});\n\ninterface ITabsText {\n $selected?: boolean;\n}\n\nconst TabWrapper = styled(FlexView)<ITabsText>(({ theme, $selected }) => {\n const { layout, colors } = theme;\n const { WHITE_T_15, WHITE } = colors;\n\n return `\n cursor: pointer;\n padding: ${layout.gutter * 0.875}px 0;\n border-bottom: 1.5px solid ${$selected ? WHITE : WHITE_T_15};\n transition: all 0.3s ease;\n `;\n});\n\ninterface IStyledIconProps {\n $iconPosition: NonNullable<ITabItem['iconPosition']>;\n $selected: boolean;\n}\n\nconst Icon = styled.div<IStyledIconProps>(({ theme, $iconPosition, $selected }) => {\n return `\n ${$iconPosition === 'left' ? 'padding-right' : 'padding-left'}: 4px;\n order: ${$iconPosition === 'left' ? -1 : 1};\n \n & svg {\n display: ${$selected ? 'block' : 'none'};\n width: 16px;\n height: 16px;\n color: ${theme.colors.WHITE_1};\n transition: color 0.2s ease-in-out;\n }\n `;\n});\n\nexport { TabsWrapper, Icon, TabWrapper };\n"],"names":["TabsWrapper","styled","theme","$tabsCount","$background","colors","TabWrapper","FlexView","$selected","layout","WHITE_T_15","WHITE","Icon","$iconPosition"],"mappings":";;AAYM,MAAAA,IAAcC,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,YAAAC,GAAY,aAAAC,QAAkB;AACjF,QAAA,EAAE,QAAAC,EAAW,IAAAH;AAEZ,SAAA;AAAA;AAAA,kBAESG,EAAOD,CAAW,CAAC;AAAA,oCACDD,CAAU;AAAA;AAE9C,CAAC,GAMKG,IAAaL,EAAOM,CAAQ,EAAa,CAAC,EAAE,OAAAL,GAAO,WAAAM,QAAgB;AACjE,QAAA,EAAE,QAAAC,GAAQ,QAAAJ,EAAW,IAAAH,GACrB,EAAE,YAAAQ,GAAY,OAAAC,EAAU,IAAAN;AAEvB,SAAA;AAAA;AAAA,eAEMI,EAAO,SAAS,KAAK;AAAA,iCACHD,IAAYG,IAAQD,CAAU;AAAA;AAAA;AAG/D,CAAC,GAOKE,IAAOX,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,eAAAW,GAAe,WAAAL,QAC1D;AAAA,MACHK,MAAkB,SAAS,kBAAkB,cAAc;AAAA,aACpDA,MAAkB,SAAS,KAAK,CAAC;AAAA;AAAA;AAAA,iBAG7BL,IAAY,UAAU,MAAM;AAAA;AAAA;AAAA,eAG9BN,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,OAIlC;"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { memo as i } from "react";
3
- import p from "./tab-tem/tab-item.js";
4
- import { TabsWrapper as s } from "./tabs-styled.js";
5
- const a = ({ selectedTab: t, onChange: e, tabs: o }) => /* @__PURE__ */ m(s, { $tabsCount: o.length, children: o.map((r) => /* @__PURE__ */ m(p, { tab: r, isSelected: r.id === t, onChange: e }, r.id)) }), l = i(a);
2
+ import { memo as p } from "react";
3
+ import s from "./tab-tem/tab-item.js";
4
+ import { TabsWrapper as a } from "./tabs-styled.js";
5
+ const n = ({ selectedTab: t, onChange: e, tabs: o, background: i = "BLACK_4" }) => /* @__PURE__ */ m(a, { $tabsCount: o.length, $background: i, children: o.map((r) => /* @__PURE__ */ m(s, { tab: r, isSelected: r.id === t, onChange: e }, r.id)) }), u = p(n);
6
6
  export {
7
- l as default
7
+ u as default
8
8
  };
9
9
  //# sourceMappingURL=tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","sources":["../../../../../src/features/auth/comps/tabs/tabs.tsx"],"sourcesContent":["import type { ITabsProps } from './tabs-types';\n\nimport { memo } from 'react';\n\nimport TabItem from './tab-tem/tab-item';\nimport * as Styled from './tabs-styled';\n\nconst Tabs = ({ selectedTab, onChange, tabs }: ITabsProps) => {\n return (\n <Styled.TabsWrapper $tabsCount={tabs.length}>\n {tabs.map(tab => (\n <TabItem key={tab.id} tab={tab} isSelected={tab.id === selectedTab} onChange={onChange} />\n ))}\n </Styled.TabsWrapper>\n );\n};\n\nexport default memo(Tabs);\n"],"names":["Tabs","selectedTab","onChange","tabs","jsx","Styled.TabsWrapper","tab","TabItem","memo"],"mappings":";;;;AAOA,MAAMA,IAAO,CAAC,EAAE,aAAAC,GAAa,UAAAC,GAAU,MAAAC,QAEnC,gBAAAC,EAACC,GAAA,EAAmB,YAAYF,EAAK,QAClC,YAAK,IAAI,CAAAG,wBACPC,GAAqB,EAAA,KAAAD,GAAU,YAAYA,EAAI,OAAOL,GAAa,UAAAC,EAAtD,GAAAI,EAAI,EAAsE,CACzF,EACH,CAAA,GAIWH,IAAAK,EAAKR,CAAI;"}
1
+ {"version":3,"file":"tabs.js","sources":["../../../../../src/features/auth/comps/tabs/tabs.tsx"],"sourcesContent":["import type { ITabsProps } from './tabs-types';\n\nimport { memo } from 'react';\n\nimport TabItem from './tab-tem/tab-item';\nimport * as Styled from './tabs-styled';\n\nconst Tabs = ({ selectedTab, onChange, tabs, background = 'BLACK_4' }: ITabsProps) => {\n return (\n <Styled.TabsWrapper $tabsCount={tabs.length} $background={background}>\n {tabs.map(tab => (\n <TabItem key={tab.id} tab={tab} isSelected={tab.id === selectedTab} onChange={onChange} />\n ))}\n </Styled.TabsWrapper>\n );\n};\n\nexport default memo(Tabs);\n"],"names":["Tabs","selectedTab","onChange","tabs","background","jsx","Styled.TabsWrapper","TabItem","tab","memo"],"mappings":";;;;AAOA,MAAMA,IAAO,CAAC,EAAE,aAAAC,GAAa,UAAAC,GAAU,MAAAC,GAAM,YAAAC,IAAa,gBAEtD,gBAAAC,EAACC,GAAA,EAAmB,YAAYH,EAAK,QAAQ,aAAaC,GACvD,UAAKD,EAAA,IAAI,OACP,gBAAAE,EAAAE,GAAA,EAAqB,KAAAC,GAAU,YAAYA,EAAI,OAAOP,GAAa,UAAAC,EAAtD,GAAAM,EAAI,EAAsE,CACzF,EACH,CAAA,GAIWL,IAAAM,EAAKT,CAAI;"}
@@ -0,0 +1,19 @@
1
+ import { ILLUSTRATIONS as t } from "../../../../assets/illustrations/illustrations.js";
2
+ const e = [
3
+ {
4
+ icon: t.HANDSHAKE,
5
+ title: "Find the perfect tutor match for your child's goals"
6
+ },
7
+ {
8
+ icon: t.CALENDAR_PURPLE,
9
+ title: "Schedule your FREE class with the tutor"
10
+ },
11
+ {
12
+ icon: t.MONEY,
13
+ title: "Pay and continue with our flexible classes"
14
+ }
15
+ ];
16
+ export {
17
+ e as onboardingGuideSteps
18
+ };
19
+ //# sourceMappingURL=onboarding-guide-constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-guide-constants.js","sources":["../../../../../src/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.ts"],"sourcesContent":["import { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\n\nexport const onboardingGuideSteps = [\n {\n icon: ILLUSTRATIONS.HANDSHAKE,\n title: `Find the perfect tutor match for your child's goals`,\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 and 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;"}
@@ -0,0 +1,22 @@
1
+ import o from "styled-components";
2
+ import i from "../../../ui/layout/flex-view.js";
3
+ const l = o(i)`
4
+ margin-bottom: 48px;
5
+ position: relative;
6
+ &:not(:last-child)::after {
7
+ content: '';
8
+ position: absolute;
9
+ left: 28px;
10
+ bottom: -36px;
11
+ width: 2px;
12
+ height: 24px;
13
+ background-color: ${({ theme: t }) => t.colors.WHITE_T_15};
14
+ }
15
+ &:last-child {
16
+ margin-bottom: 0;
17
+ }
18
+ `;
19
+ export {
20
+ l as StepItem
21
+ };
22
+ //# sourceMappingURL=onboarding-guide-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-guide-styled.js","sources":["../../../../../src/features/auth/signup-v2/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)`\n margin-bottom: 48px;\n position: relative;\n &:not(:last-child)::after {\n content: '';\n position: absolute;\n left: 28px;\n bottom: -36px;\n width: 2px;\n height: 24px;\n background-color: ${({ theme }) => theme.colors.WHITE_T_15};\n }\n &:last-child {\n margin-bottom: 0;\n }\n`;\n"],"names":["StepItem","styled","FlexView","theme"],"mappings":";;AAIa,MAAAA,IAAWC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAUf,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -0,0 +1,18 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import r from "../../../ui/layout/flex-view.js";
3
+ import l from "../../../ui/separator/separator.js";
4
+ import n from "../../../ui/text/text.js";
5
+ import { onboardingGuideSteps as a } from "./onboarding-guide-constants.js";
6
+ import { StepItem as c } from "./onboarding-guide-styled.js";
7
+ const d = () => /* @__PURE__ */ o(r, { $flex: 1, $alignItems: "center", $justifyContent: "center", $gutterX: 2, children: [
8
+ /* @__PURE__ */ e(n, { $whiteSpace: "pre-line", $renderAs: "ah4", $color: "WHITE", children: "Get started in 3 easy steps!" }),
9
+ /* @__PURE__ */ e(l, { heightX: 2.75 }),
10
+ a.map((t, i) => /* @__PURE__ */ e(c, { children: /* @__PURE__ */ o(r, { $flexDirection: "row", $flexColumnGapX: 1.5, children: [
11
+ /* @__PURE__ */ e("img", { src: t.icon, alt: `Step ${i + 1}`, width: 56, height: 56 }),
12
+ /* @__PURE__ */ e(r, { $width: 210, children: /* @__PURE__ */ e(n, { $whiteSpace: "pre-line", $renderAs: "ab2", $color: "WHITE", children: t.title }) })
13
+ ] }) }, i))
14
+ ] }), g = d;
15
+ export {
16
+ g as default
17
+ };
18
+ //# sourceMappingURL=onboarding-guide.js.map