@cuemath/leap 2.9.5-j11 → 2.9.5-j13
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/features/auth/comps/input-status-icon/input-status-icon.js +13 -13
- package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +12 -0
- package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -0
- package/dist/features/auth/forgot-password/identifier-form/identifier-form.js +59 -0
- package/dist/features/auth/forgot-password/identifier-form/identifier-form.js.map +1 -0
- package/dist/features/auth/forgot-password/otp-form/otp-form.js +71 -0
- package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -0
- package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +88 -0
- package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -0
- package/dist/features/auth/forgot-password/username-form/username-form.js +60 -0
- package/dist/features/auth/forgot-password/username-form/username-form.js.map +1 -0
- package/dist/features/auth/login/login-constants.js +12 -0
- package/dist/features/auth/login/login-constants.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/constants.js +10 -9
- package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +15 -16
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/digital-meter.js +88 -87
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/helper.js +3 -13
- package/dist/features/post-game-stats/digital-meter/helper.js.map +1 -1
- package/dist/features/ui/animated-arc/animated-arc-constants.js +5 -0
- package/dist/features/ui/animated-arc/animated-arc-constants.js.map +1 -0
- package/dist/features/ui/animated-arc/animated-arc-styled.js +25 -13
- package/dist/features/ui/animated-arc/animated-arc-styled.js.map +1 -1
- package/dist/features/ui/animated-arc/animated-arc.js +13 -13
- package/dist/features/ui/animated-arc/animated-arc.js.map +1 -1
- package/dist/index.d.ts +26 -3
- package/dist/index.js +362 -352
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js +0 -17
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js +0 -50
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js.map +0 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js +0 -6
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -7,6 +7,7 @@ import type { DefaultTheme } from 'styled-components';
|
|
7
7
|
import { DetailedHTMLProps } from 'react';
|
8
8
|
import type { Dispatch } from 'react';
|
9
9
|
import { FC } from 'react';
|
10
|
+
import type { FormEvent } from 'react';
|
10
11
|
import { ForwardRefExoticComponent } from 'react';
|
11
12
|
import { HTMLAttributes } from 'react';
|
12
13
|
import { IChannelMessage } from '@cuemath/cue-message-broker';
|
@@ -61,6 +62,8 @@ export declare const ArcButton: MemoExoticComponent<ForwardRefExoticComponent<IA
|
|
61
62
|
|
62
63
|
export declare const ArrowTooltip: FC<IArrowTooltipProps>;
|
63
64
|
|
65
|
+
export declare const AUTH_TABS: ITabConfig<TAuthTabKeys>;
|
66
|
+
|
64
67
|
export declare const AuthPageLayout: FC<IAuthPageLayoutProps>;
|
65
68
|
|
66
69
|
export declare const AuthStaticPanel: FC<IAuthStaticPanelProps>;
|
@@ -1106,6 +1109,8 @@ declare interface IDatePickerInputProps extends Omit<ICustomInputProps, 'value'
|
|
1106
1109
|
onChange: (date: Date | null) => void;
|
1107
1110
|
}
|
1108
1111
|
|
1112
|
+
export declare const IdentifierForm: ({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IFormProps) => JSX_2.Element;
|
1113
|
+
|
1109
1114
|
declare interface IDesmosCalculatorProps {
|
1110
1115
|
onClose: () => void;
|
1111
1116
|
height?: string | number;
|
@@ -1195,6 +1200,16 @@ declare interface IFile {
|
|
1195
1200
|
url: string;
|
1196
1201
|
}
|
1197
1202
|
|
1203
|
+
declare interface IFormProps {
|
1204
|
+
onSubmit: (e?: FormEvent<HTMLFormElement>) => void;
|
1205
|
+
onChange: (key: string, value: string) => void;
|
1206
|
+
formData: Record<string, string>;
|
1207
|
+
errors: Record<string, string>;
|
1208
|
+
isProcessing: boolean;
|
1209
|
+
isSubmitDisabled: boolean;
|
1210
|
+
isValid?: boolean;
|
1211
|
+
}
|
1212
|
+
|
1198
1213
|
declare interface IGame extends IBaseProject {
|
1199
1214
|
played: boolean;
|
1200
1215
|
}
|
@@ -1351,9 +1366,9 @@ export declare interface IInputSizeConfig {
|
|
1351
1366
|
}
|
1352
1367
|
|
1353
1368
|
declare interface IInputStatusIconProps {
|
1354
|
-
isLoading
|
1355
|
-
isValid
|
1356
|
-
isError
|
1369
|
+
isLoading?: boolean;
|
1370
|
+
isValid?: boolean;
|
1371
|
+
isError?: boolean;
|
1357
1372
|
size?: number;
|
1358
1373
|
successColor?: TColorNames;
|
1359
1374
|
errorColor?: TColorNames;
|
@@ -3878,6 +3893,8 @@ declare interface NumRangeInputProps {
|
|
3878
3893
|
endPlaceholder?: string;
|
3879
3894
|
}
|
3880
3895
|
|
3896
|
+
export declare const OTPForm: ({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IFormProps) => JSX_2.Element;
|
3897
|
+
|
3881
3898
|
export declare const OTPInput: FC<IOTPInputProps>;
|
3882
3899
|
|
3883
3900
|
export declare type OutcomeStage = keyof typeof STAGES;
|
@@ -4016,6 +4033,8 @@ export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onP
|
|
4016
4033
|
|
4017
4034
|
export declare const ResendOTP: React.FC<IOTPResendProps>;
|
4018
4035
|
|
4036
|
+
export declare const ResetPasswordForm: ({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IFormProps) => JSX_2.Element;
|
4037
|
+
|
4019
4038
|
export declare const REWARDS_LIST: string[];
|
4020
4039
|
|
4021
4040
|
export declare const RightIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4202,6 +4221,8 @@ export declare type TArrowTooltipVariants = 'primary' | 'secondary';
|
|
4202
4221
|
|
4203
4222
|
export declare type TAuthProvider = 'email' | 'phone';
|
4204
4223
|
|
4224
|
+
export declare type TAuthTabKeys = 'identifier' | 'username';
|
4225
|
+
|
4205
4226
|
export declare type TAuthUserType = 'student' | 'parent';
|
4206
4227
|
|
4207
4228
|
declare type TBadgeData = {
|
@@ -5314,6 +5335,8 @@ export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5314
5335
|
|
5315
5336
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5316
5337
|
|
5338
|
+
export declare const UsernameForm: ({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IFormProps) => JSX_2.Element;
|
5339
|
+
|
5317
5340
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
5318
5341
|
|
5319
5342
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|