@cuemath/leap 2.9.5-j5 → 2.9.5-j7
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/lottie/lottie.js +1 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +19 -22
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +1 -1
- package/dist/features/auth/comps/resend-otp/resend-otp.js +12 -12
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +46 -0
- package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -0
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +7 -7
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js +22 -22
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input/student-username/student-username.js +22 -22
- package/dist/features/auth/signup/custom-input/student-username/student-username.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input-styled.js +61 -60
- package/dist/features/ui/inputs/base-input/base-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input.js +38 -35
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input-styled.js +22 -20
- package/dist/features/ui/inputs/text-input/text-input-styled.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +35 -32
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/theme/input.js +84 -11
- package/dist/features/ui/theme/input.js.map +1 -1
- package/dist/index.d.ts +19 -6
- package/dist/index.js +339 -337
- package/dist/index.js.map +1 -1
- package/dist/static/error.cbe1ddde.json +1 -0
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
const n = (a) => {
|
2
|
-
const
|
2
|
+
const o = {
|
3
3
|
regular: {
|
4
4
|
height: a * 2.75,
|
5
5
|
// height of input
|
@@ -51,7 +51,7 @@ const n = (a) => {
|
|
51
51
|
iconPadding: a * 0.5
|
52
52
|
// padding between left of icon and input
|
53
53
|
}
|
54
|
-
},
|
54
|
+
}, e = {
|
55
55
|
valueColorName: {
|
56
56
|
inactive: "BLACK",
|
57
57
|
active: "BLACK",
|
@@ -76,8 +76,8 @@ const n = (a) => {
|
|
76
76
|
disabled: 0.5,
|
77
77
|
enabled: 1
|
78
78
|
}
|
79
|
-
},
|
80
|
-
...
|
79
|
+
}, l = {
|
80
|
+
...e,
|
81
81
|
backgroundColorName: "GREY_1",
|
82
82
|
optionHoverColorName: "WHITE",
|
83
83
|
borderColorName: {
|
@@ -86,11 +86,11 @@ const n = (a) => {
|
|
86
86
|
disabled: "TRANSPARENT"
|
87
87
|
}
|
88
88
|
}, d = {
|
89
|
-
primary:
|
90
|
-
secondary:
|
89
|
+
primary: e,
|
90
|
+
secondary: l,
|
91
91
|
success: {
|
92
|
-
opacity:
|
93
|
-
valueColorName:
|
92
|
+
opacity: e.opacity,
|
93
|
+
valueColorName: e.valueColorName,
|
94
94
|
borderColorName: {
|
95
95
|
inactive: "GREEN_5",
|
96
96
|
active: "GREEN_5",
|
@@ -108,8 +108,8 @@ const n = (a) => {
|
|
108
108
|
}
|
109
109
|
},
|
110
110
|
error: {
|
111
|
-
opacity:
|
112
|
-
valueColorName:
|
111
|
+
opacity: e.opacity,
|
112
|
+
valueColorName: e.valueColorName,
|
113
113
|
borderColorName: {
|
114
114
|
inactive: "RED",
|
115
115
|
active: "RED",
|
@@ -126,8 +126,81 @@ const n = (a) => {
|
|
126
126
|
disabled: "RED"
|
127
127
|
}
|
128
128
|
}
|
129
|
+
}, i = {
|
130
|
+
...e,
|
131
|
+
labelBackgroundColorName: "TRANSPARENT",
|
132
|
+
backgroundColorName: "TRANSPARENT",
|
133
|
+
valueColorName: {
|
134
|
+
inactive: "WHITE",
|
135
|
+
active: "WHITE",
|
136
|
+
disabled: "WHITE_T_10"
|
137
|
+
},
|
138
|
+
borderColorName: {
|
139
|
+
inactive: "WHITE_T_15",
|
140
|
+
active: "WHITE",
|
141
|
+
disabled: "WHITE_T_15"
|
142
|
+
},
|
143
|
+
labelColorName: {
|
144
|
+
inactive: "WHITE_T_60",
|
145
|
+
active: "WHITE_T_60",
|
146
|
+
disabled: "WHITE_T_15"
|
147
|
+
}
|
148
|
+
}, r = {
|
149
|
+
...i,
|
150
|
+
backgroundColorName: "WHITE_T_60",
|
151
|
+
optionHoverColorName: "WHITE",
|
152
|
+
borderColorName: {
|
153
|
+
active: "TRANSPARENT",
|
154
|
+
inactive: "TRANSPARENT",
|
155
|
+
disabled: "TRANSPARENT"
|
156
|
+
}
|
157
|
+
}, N = {
|
158
|
+
primary: i,
|
159
|
+
secondary: r,
|
160
|
+
success: {
|
161
|
+
labelBackgroundColorName: "TRANSPARENT",
|
162
|
+
backgroundColorName: "TRANSPARENT",
|
163
|
+
opacity: i.opacity,
|
164
|
+
valueColorName: i.valueColorName,
|
165
|
+
borderColorName: {
|
166
|
+
inactive: "GREEN_4",
|
167
|
+
active: "GREEN_4",
|
168
|
+
disabled: "GREEN_4"
|
169
|
+
},
|
170
|
+
labelColorName: {
|
171
|
+
inactive: "GREEN_4",
|
172
|
+
active: "GREEN_4",
|
173
|
+
disabled: "GREEN_4"
|
174
|
+
},
|
175
|
+
messageColorName: {
|
176
|
+
inactive: "GREEN_4",
|
177
|
+
active: "GREEN_4",
|
178
|
+
disabled: "GREEN_4"
|
179
|
+
}
|
180
|
+
},
|
181
|
+
error: {
|
182
|
+
labelBackgroundColorName: "TRANSPARENT",
|
183
|
+
backgroundColorName: "TRANSPARENT",
|
184
|
+
opacity: i.opacity,
|
185
|
+
valueColorName: i.valueColorName,
|
186
|
+
borderColorName: {
|
187
|
+
inactive: "ORANGE_4",
|
188
|
+
active: "ORANGE_4",
|
189
|
+
disabled: "ORANGE_4"
|
190
|
+
},
|
191
|
+
labelColorName: {
|
192
|
+
inactive: "ORANGE_4",
|
193
|
+
active: "ORANGE_4",
|
194
|
+
disabled: "ORANGE_4"
|
195
|
+
},
|
196
|
+
messageColorName: {
|
197
|
+
inactive: "ORANGE_4",
|
198
|
+
active: "ORANGE_4",
|
199
|
+
disabled: "ORANGE_4"
|
200
|
+
}
|
201
|
+
}
|
129
202
|
};
|
130
|
-
return { sizes:
|
203
|
+
return { sizes: o, variants: d, darkVariants: N };
|
131
204
|
};
|
132
205
|
export {
|
133
206
|
n as default
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"input.js","sources":["../../../../src/features/ui/theme/input.ts"],"sourcesContent":["import type { IInputSizeConfig, IInputVariantConfig, TInputSizes, TInputVariants } from '../types';\n\ninterface IGetInputConfig {\n (gutter: number): {\n sizes: Record<TInputSizes, IInputSizeConfig>;\n variants: Record<TInputVariants, IInputVariantConfig>;\n };\n}\nconst getInputConfig: IGetInputConfig = gutter => {\n const sizes: Record<TInputSizes, IInputSizeConfig> = {\n regular: {\n height: gutter * 2.75, // height of input\n marginTop: gutter * 0.5, // extra space when label is on top of input\n marginBottom: gutter * 1.5, // extra space for message comes on bottom of input\n paddingLeft: gutter,\n paddingRight: gutter * 0.75,\n borderRadius: gutter * 0.5,\n inputTextVariant: 'body1',\n labelTextVariant: 'body1',\n messageTextVariant: 'body3',\n iconsize: gutter * 1.5,\n iconPadding: gutter, // padding between left of icon and input\n },\n small: {\n height: gutter * 2.125, // height of input\n marginTop: gutter * 0.5, // extra space when label is on top of input\n marginBottom: 0, // extra space for message comes on bottom of input\n paddingLeft: gutter * 0.5,\n paddingRight: gutter * 0.5,\n borderRadius: gutter * 0.5,\n inputTextVariant: 'body3',\n labelTextVariant: 'body3',\n messageTextVariant: 'body3',\n iconsize: gutter * 1.25,\n iconPadding: gutter * 0.5, // padding between left of icon and input\n },\n xsmall: {\n height: gutter * 1.75, // height of input\n marginTop: 0, // extra space when label is on top of input\n marginBottom: 0, // extra space for message comes on bottom of input\n paddingLeft: gutter * 0.75,\n paddingRight: gutter * 0.5,\n borderRadius: gutter * 0.5,\n inputTextVariant: 'body3',\n labelTextVariant: 'body3',\n messageTextVariant: 'body3',\n iconsize: gutter,\n iconPadding: gutter * 0.5, // padding between left of icon and input\n },\n };\n const primaryVariant: IInputVariantConfig = {\n valueColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK_50',\n },\n borderColorName: {\n inactive: 'BLACK_T_15',\n active: 'BLACK_T_87',\n disabled: 'BLACK_T_15',\n },\n labelColorName: {\n inactive: 'BLACK_75',\n active: 'BLACK',\n disabled: 'BLACK_50',\n },\n messageColorName: {\n inactive: 'BLACK_75',\n active: 'BLACK_75',\n disabled: 'BLACK_50',\n },\n opacity: {\n disabled: 0.5,\n enabled: 1,\n },\n };\n\n const secondaryVariant: IInputVariantConfig = {\n ...primaryVariant,\n backgroundColorName: 'GREY_1',\n optionHoverColorName: 'WHITE',\n borderColorName: {\n active: 'TRANSPARENT',\n inactive: 'TRANSPARENT',\n disabled: 'TRANSPARENT',\n },\n };\n\n const variants: Record<TInputVariants, IInputVariantConfig> = {\n primary: primaryVariant,\n secondary: secondaryVariant,\n success: {\n opacity: primaryVariant.opacity,\n valueColorName: primaryVariant.valueColorName,\n borderColorName: {\n inactive: 'GREEN_5',\n active: 'GREEN_5',\n disabled: 'GREEN_5',\n },\n labelColorName: {\n inactive: 'GREEN_5',\n active: 'GREEN_5',\n disabled: 'GREEN_5',\n },\n messageColorName: {\n inactive: 'GREEN_5',\n active: 'GREEN_5',\n disabled: 'GREEN_5',\n },\n },\n error: {\n opacity: primaryVariant.opacity,\n valueColorName: primaryVariant.valueColorName,\n borderColorName: {\n inactive: 'RED',\n active: 'RED',\n disabled: 'RED',\n },\n labelColorName: {\n inactive: 'RED',\n active: 'RED',\n disabled: 'RED',\n },\n messageColorName: {\n inactive: 'RED',\n active: 'RED',\n disabled: 'RED',\n },\n },\n };\n\n return { sizes, variants };\n};\n\nexport default getInputConfig;\n"],"names":["getInputConfig","gutter","sizes","primaryVariant","secondaryVariant","variants"],"mappings":"
|
1
|
+
{"version":3,"file":"input.js","sources":["../../../../src/features/ui/theme/input.ts"],"sourcesContent":["import type { IInputSizeConfig, IInputVariantConfig, TInputSizes, TInputVariants } from '../types';\n\ninterface IGetInputConfig {\n (gutter: number): {\n sizes: Record<TInputSizes, IInputSizeConfig>;\n variants: Record<TInputVariants, IInputVariantConfig>;\n darkVariants: Record<TInputVariants, IInputVariantConfig>;\n };\n}\nconst getInputConfig: IGetInputConfig = gutter => {\n const sizes: Record<TInputSizes, IInputSizeConfig> = {\n regular: {\n height: gutter * 2.75, // height of input\n marginTop: gutter * 0.5, // extra space when label is on top of input\n marginBottom: gutter * 1.5, // extra space for message comes on bottom of input\n paddingLeft: gutter,\n paddingRight: gutter * 0.75,\n borderRadius: gutter * 0.5,\n inputTextVariant: 'body1',\n labelTextVariant: 'body1',\n messageTextVariant: 'body3',\n iconsize: gutter * 1.5,\n iconPadding: gutter, // padding between left of icon and input\n },\n small: {\n height: gutter * 2.125, // height of input\n marginTop: gutter * 0.5, // extra space when label is on top of input\n marginBottom: 0, // extra space for message comes on bottom of input\n paddingLeft: gutter * 0.5,\n paddingRight: gutter * 0.5,\n borderRadius: gutter * 0.5,\n inputTextVariant: 'body3',\n labelTextVariant: 'body3',\n messageTextVariant: 'body3',\n iconsize: gutter * 1.25,\n iconPadding: gutter * 0.5, // padding between left of icon and input\n },\n xsmall: {\n height: gutter * 1.75, // height of input\n marginTop: 0, // extra space when label is on top of input\n marginBottom: 0, // extra space for message comes on bottom of input\n paddingLeft: gutter * 0.75,\n paddingRight: gutter * 0.5,\n borderRadius: gutter * 0.5,\n inputTextVariant: 'body3',\n labelTextVariant: 'body3',\n messageTextVariant: 'body3',\n iconsize: gutter,\n iconPadding: gutter * 0.5, // padding between left of icon and input\n },\n };\n const primaryVariant: IInputVariantConfig = {\n valueColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK_50',\n },\n borderColorName: {\n inactive: 'BLACK_T_15',\n active: 'BLACK_T_87',\n disabled: 'BLACK_T_15',\n },\n labelColorName: {\n inactive: 'BLACK_75',\n active: 'BLACK',\n disabled: 'BLACK_50',\n },\n messageColorName: {\n inactive: 'BLACK_75',\n active: 'BLACK_75',\n disabled: 'BLACK_50',\n },\n opacity: {\n disabled: 0.5,\n enabled: 1,\n },\n };\n\n const secondaryVariant: IInputVariantConfig = {\n ...primaryVariant,\n backgroundColorName: 'GREY_1',\n optionHoverColorName: 'WHITE',\n borderColorName: {\n active: 'TRANSPARENT',\n inactive: 'TRANSPARENT',\n disabled: 'TRANSPARENT',\n },\n };\n\n const variants: Record<TInputVariants, IInputVariantConfig> = {\n primary: primaryVariant,\n secondary: secondaryVariant,\n success: {\n opacity: primaryVariant.opacity,\n valueColorName: primaryVariant.valueColorName,\n borderColorName: {\n inactive: 'GREEN_5',\n active: 'GREEN_5',\n disabled: 'GREEN_5',\n },\n labelColorName: {\n inactive: 'GREEN_5',\n active: 'GREEN_5',\n disabled: 'GREEN_5',\n },\n messageColorName: {\n inactive: 'GREEN_5',\n active: 'GREEN_5',\n disabled: 'GREEN_5',\n },\n },\n error: {\n opacity: primaryVariant.opacity,\n valueColorName: primaryVariant.valueColorName,\n borderColorName: {\n inactive: 'RED',\n active: 'RED',\n disabled: 'RED',\n },\n labelColorName: {\n inactive: 'RED',\n active: 'RED',\n disabled: 'RED',\n },\n messageColorName: {\n inactive: 'RED',\n active: 'RED',\n disabled: 'RED',\n },\n },\n };\n\n const primaryDarkVariant: IInputVariantConfig = {\n ...primaryVariant,\n labelBackgroundColorName: 'TRANSPARENT',\n backgroundColorName: 'TRANSPARENT',\n valueColorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE_T_15',\n active: 'WHITE',\n disabled: 'WHITE_T_15',\n },\n labelColorName: {\n inactive: 'WHITE_T_60',\n active: 'WHITE_T_60',\n disabled: 'WHITE_T_15',\n },\n };\n\n const secondaryDarkVariant: IInputVariantConfig = {\n ...primaryDarkVariant,\n backgroundColorName: 'WHITE_T_60',\n optionHoverColorName: 'WHITE',\n borderColorName: {\n active: 'TRANSPARENT',\n inactive: 'TRANSPARENT',\n disabled: 'TRANSPARENT',\n },\n };\n\n const darkVariants: Record<TInputVariants, IInputVariantConfig> = {\n primary: primaryDarkVariant,\n secondary: secondaryDarkVariant,\n success: {\n labelBackgroundColorName: 'TRANSPARENT',\n backgroundColorName: 'TRANSPARENT',\n opacity: primaryDarkVariant.opacity,\n valueColorName: primaryDarkVariant.valueColorName,\n borderColorName: {\n inactive: 'GREEN_4',\n active: 'GREEN_4',\n disabled: 'GREEN_4',\n },\n labelColorName: {\n inactive: 'GREEN_4',\n active: 'GREEN_4',\n disabled: 'GREEN_4',\n },\n messageColorName: {\n inactive: 'GREEN_4',\n active: 'GREEN_4',\n disabled: 'GREEN_4',\n },\n },\n error: {\n labelBackgroundColorName: 'TRANSPARENT',\n backgroundColorName: 'TRANSPARENT',\n opacity: primaryDarkVariant.opacity,\n valueColorName: primaryDarkVariant.valueColorName,\n borderColorName: {\n inactive: 'ORANGE_4',\n active: 'ORANGE_4',\n disabled: 'ORANGE_4',\n },\n labelColorName: {\n inactive: 'ORANGE_4',\n active: 'ORANGE_4',\n disabled: 'ORANGE_4',\n },\n messageColorName: {\n inactive: 'ORANGE_4',\n active: 'ORANGE_4',\n disabled: 'ORANGE_4',\n },\n },\n };\n\n return { sizes, variants, darkVariants };\n};\n\nexport default getInputConfig;\n"],"names":["getInputConfig","gutter","sizes","primaryVariant","secondaryVariant","variants","primaryDarkVariant","secondaryDarkVariant","darkVariants"],"mappings":"AASA,MAAMA,IAAkC,CAAUC,MAAA;AAChD,QAAMC,IAA+C;AAAA,IACnD,SAAS;AAAA,MACP,QAAQD,IAAS;AAAA;AAAA,MACjB,WAAWA,IAAS;AAAA;AAA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AAAA,IACZ;AAAA,EAAA,GAGII,IAA4C;AAAA,IAChD,GAAGD;AAAA,IACH,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,iBAAiB;AAAA,MACf,QAAQ;AAAA,MACR,UAAU;AAAA,MACV,UAAU;AAAA,IACZ;AAAA,EAAA,GAGIE,IAA4D;AAAA,IAChE,SAASF;AAAA,IACT,WAAWC;AAAA,IACX,SAAS;AAAA,MACP,0BAA0B;AAAA,MAC1B,qBAAqB;AAAA,MACrB,SAASD,EAAmB;AAAA,MAC5B,gBAAgBA,EAAmB;AAAA,MACnC,iBAAiB;AAAA,QACf,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,MACA,gBAAgB;AAAA,QACd,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,MACA,kBAAkB;AAAA,QAChB,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,0BAA0B;AAAA,MAC1B,qBAAqB;AAAA,MACrB,SAASA,EAAmB;AAAA,MAC5B,gBAAgBA,EAAmB;AAAA,MACnC,iBAAiB;AAAA,QACf,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,MACA,gBAAgB;AAAA,QACd,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,MACA,kBAAkB;AAAA,QAChB,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EAAA;AAGK,SAAA,EAAE,OAAAJ,GAAO,UAAAG,GAAU,cAAAG;AAC5B;"}
|
package/dist/index.d.ts
CHANGED
@@ -607,6 +607,7 @@ declare interface IBaseInputProps {
|
|
607
607
|
mandatory?: boolean;
|
608
608
|
shape?: TInputShapes;
|
609
609
|
isTransparent?: boolean;
|
610
|
+
colorTheme?: 'light' | 'dark';
|
610
611
|
}
|
611
612
|
|
612
613
|
declare interface IBaseLeaderboardDetails {
|
@@ -912,15 +913,15 @@ declare interface ICircularStepsProps {
|
|
912
913
|
|
913
914
|
declare interface ICircularStepWrapperProps {
|
914
915
|
children: ReactNode;
|
915
|
-
onGoBack?: () => void;
|
916
|
-
onNext?: () => void;
|
917
|
-
label?: string;
|
918
|
-
showNext: boolean;
|
919
|
-
showPrevious: boolean;
|
920
916
|
animation: string;
|
921
917
|
introFrames: [number, number];
|
922
918
|
outroFrames: [number, number];
|
923
|
-
|
919
|
+
onGoBack?: () => void;
|
920
|
+
onNext?: () => void;
|
921
|
+
label?: string;
|
922
|
+
showNext?: boolean;
|
923
|
+
showPrevious?: boolean;
|
924
|
+
isNextLoading?: boolean;
|
924
925
|
}
|
925
926
|
|
926
927
|
declare interface IClaimUserAccountProps {
|
@@ -1089,6 +1090,7 @@ declare interface ICustomInputProps {
|
|
1089
1090
|
helperText?: string;
|
1090
1091
|
actionElement?: ReactNode;
|
1091
1092
|
isLoading?: boolean;
|
1093
|
+
isValid?: boolean;
|
1092
1094
|
}
|
1093
1095
|
|
1094
1096
|
declare interface ICustomVideoProps extends React_2.DetailedHTMLProps<React_2.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement> {
|
@@ -1248,6 +1250,7 @@ declare interface IGetInputConfig {
|
|
1248
1250
|
(gutter: number): {
|
1249
1251
|
sizes: Record<TInputSizes, IInputSizeConfig>;
|
1250
1252
|
variants: Record<TInputVariants, IInputVariantConfig>;
|
1253
|
+
darkVariants: Record<TInputVariants, IInputVariantConfig>;
|
1251
1254
|
};
|
1252
1255
|
}
|
1253
1256
|
|
@@ -1373,6 +1376,7 @@ export declare interface IInputVariantConfig {
|
|
1373
1376
|
};
|
1374
1377
|
backgroundColorName?: TColorNames;
|
1375
1378
|
optionHoverColorName?: TColorNames;
|
1379
|
+
labelBackgroundColorName?: TColorNames;
|
1376
1380
|
}
|
1377
1381
|
|
1378
1382
|
declare interface IIsOkayTypeQuestion {
|
@@ -2713,6 +2717,12 @@ export declare interface ISignUpProps {
|
|
2713
2717
|
onSignupStepsComplete: (data: IUpdateUserPayloadDal | ICreateUserResponseDal | null) => void;
|
2714
2718
|
}
|
2715
2719
|
|
2720
|
+
declare interface ISocialAccountNotFoundProps {
|
2721
|
+
provider: TSocialAuthProvider;
|
2722
|
+
onRetryLogin: () => void;
|
2723
|
+
onGoToSignup: () => void;
|
2724
|
+
}
|
2725
|
+
|
2716
2726
|
declare interface ISocialLoginMethodsProps {
|
2717
2727
|
onGoogleLogin: () => void;
|
2718
2728
|
onAppleLogin: () => void;
|
@@ -3621,6 +3631,7 @@ export declare const LOTTIE: {
|
|
3621
3631
|
DOB: string;
|
3622
3632
|
EASY: string;
|
3623
3633
|
ELITE_CIRCLE: string;
|
3634
|
+
ERROR: string;
|
3624
3635
|
ERROR_LOTTIE: string;
|
3625
3636
|
FAMILIAR1X: string;
|
3626
3637
|
FIFTEEN_MIN_CLOCK: string;
|
@@ -4064,6 +4075,8 @@ export declare const Skip2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4064
4075
|
|
4065
4076
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4066
4077
|
|
4078
|
+
export declare const SocialAccountNotFound: ({ provider, onRetryLogin, onGoToSignup, }: ISocialAccountNotFoundProps) => JSX_2.Element;
|
4079
|
+
|
4067
4080
|
export declare const SocialLoginMethods: FC<ISocialLoginMethodsProps>;
|
4068
4081
|
|
4069
4082
|
export declare const SplashScreen: ({ animationCompleted }: {
|