@cuemath/leap 3.2.15 → 3.2.16-link.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +6 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +34 -0
- package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
- package/dist/assets/line-icons/icons/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.js.map +1 -0
- package/dist/assets/line-icons/icons/morning.js +35 -0
- package/dist/assets/line-icons/icons/morning.js.map +1 -0
- package/dist/assets/line-icons/icons/star3.js +32 -0
- package/dist/assets/line-icons/icons/star3.js.map +1 -0
- package/dist/assets/lottie/lottie.js +10 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +52 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +93 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js +10 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js +17 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +18 -13
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
- package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs.js +5 -5
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +32 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +44 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js +54 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js +83 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js +7 -50
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js +15 -69
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +49 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +64 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js +28 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +83 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +1 -0
- package/dist/features/ui/accordion/accordion.js +62 -0
- package/dist/features/ui/accordion/accordion.js.map +1 -0
- package/dist/features/ui/drawer/drawer-styled.js +34 -0
- package/dist/features/ui/drawer/drawer-styled.js.map +1 -0
- package/dist/features/ui/drawer/drawer.js +42 -0
- package/dist/features/ui/drawer/drawer.js.map +1 -0
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/inputs/base-input/base-input.js +11 -11
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +19 -18
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +43 -8
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +37 -27
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/text/text.js +31 -29
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/button.js +78 -78
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +159 -4
- package/dist/index.js +523 -491
- package/dist/index.js.map +1 -1
- package/dist/static/animated-avatar.1ad58b1d.json +1 -0
- package/dist/static/animated-avatar.69b07505.json +1 -0
- package/dist/static/animated-avatar.9c560b46.json +1 -0
- package/dist/static/calendar-purple.1a840b41.svg +1 -0
- package/dist/static/flying-disk.c7f6ed39.json +1 -0
- package/dist/static/graduation-cap.3be3340a.json +1 -0
- package/dist/static/handshake.287e7dfb.svg +1 -0
- package/dist/static/light-bulb.c6db0b23.json +1 -0
- package/dist/static/money.332aacf1.svg +1 -0
- package/dist/static/muscle.9bcfb8a7.json +1 -0
- package/dist/static/parent-avatar.822c7b9b.svg +1 -0
- package/dist/static/pencil.23df9da0.json +1 -0
- package/dist/static/plus-sign.de6af957.json +1 -0
- package/dist/static/racing-car.2cbf864e.json +1 -0
- package/dist/static/rocket.0a3ccab0.json +1 -0
- package/dist/static/shovel.abeec04c.json +1 -0
- package/dist/static/stripe-blurple.6abf422f.svg +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
@@ -33,6 +33,17 @@ import { ResourceModel } from '@cuemath/rest-api';
|
|
33
33
|
import type { SetStateAction } from 'react';
|
34
34
|
import { Substitute } from 'styled-components/dist/types';
|
35
35
|
|
36
|
+
export declare const Accordion: NamedExoticComponent<AccordionProps>;
|
37
|
+
|
38
|
+
declare interface AccordionProps {
|
39
|
+
theme?: AccordionTheme;
|
40
|
+
visibleBuffer: number;
|
41
|
+
accordionData: Array<{
|
42
|
+
accordionQuestion: string;
|
43
|
+
accordionAnswer: React.ReactNode | string;
|
44
|
+
}>;
|
45
|
+
}
|
46
|
+
|
36
47
|
/**
|
37
48
|
* AccordionSection component.
|
38
49
|
*
|
@@ -41,6 +52,8 @@ import { Substitute } from 'styled-components/dist/types';
|
|
41
52
|
*/
|
42
53
|
export declare const AccordionSection: FC<IAccordionSectionProps>;
|
43
54
|
|
55
|
+
declare type AccordionTheme = 'light' | 'dark';
|
56
|
+
|
44
57
|
export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
|
45
58
|
|
46
59
|
export declare const ACHIEVEMENT_ACTIONS: {
|
@@ -52,10 +65,14 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
52
65
|
|
53
66
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
54
67
|
|
68
|
+
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
69
|
+
|
55
70
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
56
71
|
|
57
72
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
58
73
|
|
74
|
+
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
75
|
+
|
59
76
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
60
77
|
|
61
78
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
@@ -96,6 +113,8 @@ export declare const BackgroundImage: ({ img }: {
|
|
96
113
|
|
97
114
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
98
115
|
|
116
|
+
export declare const BaseInput: React_2.FC<IBaseInputProps>;
|
117
|
+
|
99
118
|
declare interface BaseProject {
|
100
119
|
id: string;
|
101
120
|
name: string;
|
@@ -348,6 +367,8 @@ export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
348
367
|
|
349
368
|
export declare const DragIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
350
369
|
|
370
|
+
export declare const Drawer: FC<IDrawerProps>;
|
371
|
+
|
351
372
|
export declare const DynamicPreviewWorksheet: FC<IDynamicWorksheetPreview>;
|
352
373
|
|
353
374
|
export declare enum EClassTimeAlertLevel {
|
@@ -420,6 +441,8 @@ declare interface ErrorProps {
|
|
420
441
|
handleClick: () => void;
|
421
442
|
}
|
422
443
|
|
444
|
+
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
445
|
+
|
423
446
|
export declare const EVENTS: {
|
424
447
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
425
448
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -644,6 +667,20 @@ declare interface IAnimatedArcProps {
|
|
644
667
|
showAnimatedRainbowArc?: boolean;
|
645
668
|
}
|
646
669
|
|
670
|
+
declare interface IAnimatedAvatarMessageProps {
|
671
|
+
message: string;
|
672
|
+
onShowContent: (show: boolean) => void;
|
673
|
+
confirmationFrames: [number, number];
|
674
|
+
confirmationMessage?: string;
|
675
|
+
isConfirmationVisible?: boolean;
|
676
|
+
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
677
|
+
}
|
678
|
+
|
679
|
+
export declare type IAnimatedAvatarMessageRef = {
|
680
|
+
fadeOutMessage: () => Promise<void>;
|
681
|
+
playConfirmationFrames: () => Promise<void>;
|
682
|
+
};
|
683
|
+
|
647
684
|
declare interface IAppLoaderProps {
|
648
685
|
width?: string | number;
|
649
686
|
height?: string | number;
|
@@ -689,6 +726,7 @@ declare interface IAuthPageLayoutProps {
|
|
689
726
|
leftBlock: ReactElement;
|
690
727
|
rightBlock?: ReactElement;
|
691
728
|
isFullWidth?: boolean;
|
729
|
+
rightBlockBg?: TColorNames;
|
692
730
|
}
|
693
731
|
|
694
732
|
declare interface IAuthStaticPanelProps {
|
@@ -1345,6 +1383,16 @@ declare interface IDigitalMeterProps {
|
|
1345
1383
|
actAsTimer?: boolean;
|
1346
1384
|
}
|
1347
1385
|
|
1386
|
+
declare interface IDrawerProps {
|
1387
|
+
isOpen: boolean;
|
1388
|
+
onClose?: () => void;
|
1389
|
+
children: ReactNode;
|
1390
|
+
drawerWidth?: number | string;
|
1391
|
+
position?: 'left' | 'right';
|
1392
|
+
zIndex?: number;
|
1393
|
+
theme: 'light' | 'dark';
|
1394
|
+
}
|
1395
|
+
|
1348
1396
|
declare interface IDynamicWorksheetPreview {
|
1349
1397
|
studentId: string;
|
1350
1398
|
userNodeId: string;
|
@@ -1604,7 +1652,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1604
1652
|
}
|
1605
1653
|
|
1606
1654
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1607
|
-
withLoader
|
1655
|
+
withLoader?: boolean;
|
1608
1656
|
borderRadius?: number;
|
1609
1657
|
borderColor?: TColorNames;
|
1610
1658
|
}
|
@@ -1978,6 +2026,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
1978
2026
|
targetQuestions: number;
|
1979
2027
|
}
|
1980
2028
|
|
2029
|
+
declare interface ILinearProgressBarProps {
|
2030
|
+
percentage: number;
|
2031
|
+
height?: number;
|
2032
|
+
backgroundColor?: TColorNames;
|
2033
|
+
fillColor?: TColorNames;
|
2034
|
+
borderRadius?: number;
|
2035
|
+
}
|
2036
|
+
|
1981
2037
|
export declare const ILLUSTRATIONS: {
|
1982
2038
|
ALARM_CLOCK_ORANGE: string;
|
1983
2039
|
ALARM_CLOCK_PURPLE: string;
|
@@ -1994,6 +2050,7 @@ export declare const ILLUSTRATIONS: {
|
|
1994
2050
|
CALENDAR_BLUE: string;
|
1995
2051
|
CALENDAR_GRAY: string;
|
1996
2052
|
CALENDAR_GREEN: string;
|
2053
|
+
CALENDAR_PURPLE: string;
|
1997
2054
|
CAUTION: string;
|
1998
2055
|
CHAPTER_10: string;
|
1999
2056
|
CHAPTER_1: string;
|
@@ -2033,6 +2090,7 @@ export declare const ILLUSTRATIONS: {
|
|
2033
2090
|
GRADUATE_PINK_FILLED_BG: string;
|
2034
2091
|
GREEN_BALLOON: string;
|
2035
2092
|
GREEN_FACE: string;
|
2093
|
+
HANDSHAKE: string;
|
2036
2094
|
LEARNED_SHIELD_GRAY: string;
|
2037
2095
|
LEARNED_SHIELD_GREEN: string;
|
2038
2096
|
LEARNT: string;
|
@@ -2051,6 +2109,7 @@ export declare const ILLUSTRATIONS: {
|
|
2051
2109
|
MILESTONE_INTRO_2: string;
|
2052
2110
|
MILESTONE_INTRO_3: string;
|
2053
2111
|
MISTAKE: string;
|
2112
|
+
MONEY: string;
|
2054
2113
|
NODE_ACTIVITY_BG: string;
|
2055
2114
|
NODE_CUSTOM_TEST_BG: string;
|
2056
2115
|
NODE_DOWNLOAD_BG: string;
|
@@ -2068,6 +2127,7 @@ export declare const ILLUSTRATIONS: {
|
|
2068
2127
|
NUMBER_4_ORANGE: string;
|
2069
2128
|
ONE_STAR_FILLED: string;
|
2070
2129
|
ORANGE_FACE: string;
|
2130
|
+
PARENT_AVATAR: string;
|
2071
2131
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2072
2132
|
PLAY: string;
|
2073
2133
|
PLAY_ICON: string;
|
@@ -2095,6 +2155,7 @@ export declare const ILLUSTRATIONS: {
|
|
2095
2155
|
STAR_WITH_GREEN_FILL: string;
|
2096
2156
|
STREAK_GREEN: string;
|
2097
2157
|
STREAK_WHITE: string;
|
2158
|
+
STRIPE_BLURPLE: string;
|
2098
2159
|
TEST_DIFFICULTY_EASY: string;
|
2099
2160
|
TEST_DIFFICULTY_HARD: string;
|
2100
2161
|
TEST_DIFFICULTY_MEDIUM: string;
|
@@ -2104,6 +2165,7 @@ export declare const ILLUSTRATIONS: {
|
|
2104
2165
|
TROPHY_BLUE_FILLED: string;
|
2105
2166
|
TROPHY_CIRCLE: string;
|
2106
2167
|
TROPHY_GREEN: string;
|
2168
|
+
TRUSTPILOT: string;
|
2107
2169
|
TWO_STARS_FILLED: string;
|
2108
2170
|
UP_ARROW: string;
|
2109
2171
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2459,7 +2521,7 @@ export declare interface IModal {
|
|
2459
2521
|
/** Content to display inside the modal */
|
2460
2522
|
element: ReactElement;
|
2461
2523
|
/** Rendering style of the modal */
|
2462
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2524
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
|
2463
2525
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2464
2526
|
isDismissable?: boolean;
|
2465
2527
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2636,6 +2698,14 @@ declare interface IOpenImageReviewModalProps {
|
|
2636
2698
|
image?: string;
|
2637
2699
|
}
|
2638
2700
|
|
2701
|
+
declare interface IOTPInputProps {
|
2702
|
+
length?: number;
|
2703
|
+
value: string;
|
2704
|
+
onChange: (val: string) => void;
|
2705
|
+
error?: string;
|
2706
|
+
isBusy?: boolean;
|
2707
|
+
}
|
2708
|
+
|
2639
2709
|
declare interface IOTPResendProps {
|
2640
2710
|
onResendOTP: () => void;
|
2641
2711
|
onResendVoiceOTP?: () => void;
|
@@ -2644,6 +2714,8 @@ declare interface IOTPResendProps {
|
|
2644
2714
|
disabled?: boolean;
|
2645
2715
|
renderAs?: 'submit' | 'text';
|
2646
2716
|
width?: number | string;
|
2717
|
+
textButtonColor?: TColorNames;
|
2718
|
+
size?: 'small' | 'xsmall';
|
2647
2719
|
}
|
2648
2720
|
|
2649
2721
|
declare interface IOutcomeConfig {
|
@@ -2681,6 +2753,18 @@ declare interface IPerfectHitsProps {
|
|
2681
2753
|
value: number;
|
2682
2754
|
}
|
2683
2755
|
|
2756
|
+
declare interface IPillButtonProps {
|
2757
|
+
id: string;
|
2758
|
+
label: string;
|
2759
|
+
selected?: boolean;
|
2760
|
+
disabled?: boolean;
|
2761
|
+
animatedLabel?: string;
|
2762
|
+
icon?: string;
|
2763
|
+
onClick: (val: string) => void;
|
2764
|
+
tooltip?: string;
|
2765
|
+
width?: number | string;
|
2766
|
+
}
|
2767
|
+
|
2684
2768
|
declare interface IPlaceholder {
|
2685
2769
|
text?: string;
|
2686
2770
|
marks?: string;
|
@@ -3068,6 +3152,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3068
3152
|
data: Section[];
|
3069
3153
|
}
|
3070
3154
|
|
3155
|
+
declare interface ISelectableInfoCardProps {
|
3156
|
+
id: string;
|
3157
|
+
title: string;
|
3158
|
+
description: string;
|
3159
|
+
icon: string;
|
3160
|
+
selected: boolean;
|
3161
|
+
onClick: (val: string) => void;
|
3162
|
+
}
|
3163
|
+
|
3071
3164
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3072
3165
|
}
|
3073
3166
|
|
@@ -3202,6 +3295,15 @@ declare interface ISignupMethodsProps {
|
|
3202
3295
|
loadingProvider: TSocialAuthProvider | null;
|
3203
3296
|
}
|
3204
3297
|
|
3298
|
+
declare interface ISignupOptionsProps {
|
3299
|
+
onEmailSignup: () => void;
|
3300
|
+
onGoogleSignup: () => void;
|
3301
|
+
onAppleSignup: () => void;
|
3302
|
+
onGoToLogin: () => void;
|
3303
|
+
loadingProvider: TSocialAuthProvider | null;
|
3304
|
+
title?: string;
|
3305
|
+
}
|
3306
|
+
|
3205
3307
|
export declare interface ISignUpProps {
|
3206
3308
|
circleOnLeapSignedUp: boolean;
|
3207
3309
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3357,6 +3459,8 @@ declare interface ISyncableWebGameProps {
|
|
3357
3459
|
declare interface ITabItem {
|
3358
3460
|
id: string;
|
3359
3461
|
label: string;
|
3462
|
+
iconPosition?: 'left' | 'right';
|
3463
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3360
3464
|
}
|
3361
3465
|
|
3362
3466
|
export declare interface ITable {
|
@@ -3428,6 +3532,7 @@ declare interface ITabsProps {
|
|
3428
3532
|
selectedTab: string;
|
3429
3533
|
onChange: (tab: string) => void;
|
3430
3534
|
tabs: ITabItem[];
|
3535
|
+
background?: TColorNames;
|
3431
3536
|
}
|
3432
3537
|
|
3433
3538
|
export declare interface ITabVariantConfig {
|
@@ -3486,6 +3591,20 @@ declare interface ITalkMeterProps extends ITalkMeter {
|
|
3486
3591
|
animated?: boolean;
|
3487
3592
|
}
|
3488
3593
|
|
3594
|
+
declare interface ITeacherProfileDetails {
|
3595
|
+
lower_grade: string;
|
3596
|
+
higher_grade: string;
|
3597
|
+
header_image: string;
|
3598
|
+
years_of_experience: number;
|
3599
|
+
number_of_students_taught: number;
|
3600
|
+
countries: string[];
|
3601
|
+
degree: TDegreeInformation;
|
3602
|
+
}
|
3603
|
+
|
3604
|
+
declare interface ITeacherProfileProps {
|
3605
|
+
teacherProfile?: ITeacherProfileDetails;
|
3606
|
+
}
|
3607
|
+
|
3489
3608
|
declare interface ITeacherReview {
|
3490
3609
|
reviewComment?: string;
|
3491
3610
|
images?: string[];
|
@@ -4220,6 +4339,8 @@ declare const LESSON_TAG_TYPE: {
|
|
4220
4339
|
readonly DEFAULT: "DEFAULT";
|
4221
4340
|
};
|
4222
4341
|
|
4342
|
+
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4343
|
+
|
4223
4344
|
export declare const loadScript: ILoadScript;
|
4224
4345
|
|
4225
4346
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4234,6 +4355,7 @@ export declare const LOTTIE: {
|
|
4234
4355
|
ACTIVITY: string;
|
4235
4356
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4236
4357
|
ALL_DONE: string;
|
4358
|
+
ANIMATED_AVATAR: string;
|
4237
4359
|
AVATAR_SELECTED: string;
|
4238
4360
|
BEGINNER1X: string;
|
4239
4361
|
BRONZE_1: string;
|
@@ -4265,12 +4387,14 @@ export declare const LOTTIE: {
|
|
4265
4387
|
FAMILIAR1X: string;
|
4266
4388
|
FIFTEEN_MIN_CLOCK: string;
|
4267
4389
|
FIVE_MIN_CLOCK: string;
|
4390
|
+
FLYING_DISK: string;
|
4268
4391
|
GIFT: string;
|
4269
4392
|
GOLD_1: string;
|
4270
4393
|
GOLD_2: string;
|
4271
4394
|
GOLD_3: string;
|
4272
4395
|
GOLF: string;
|
4273
4396
|
GRADE: string;
|
4397
|
+
GRADUATION_CAP: string;
|
4274
4398
|
HIGH_SCORE_CONFETTI: string;
|
4275
4399
|
HIGH_SCORE_TEXT: string;
|
4276
4400
|
INFINITE_BUTTON_BG: string;
|
@@ -4281,17 +4405,21 @@ export declare const LOTTIE: {
|
|
4281
4405
|
LEVELUP_RINGS: string;
|
4282
4406
|
LEVEL_1_ALLSTAR: string;
|
4283
4407
|
LIGHTNING: string;
|
4408
|
+
LIGHT_BULB: string;
|
4284
4409
|
MAGICWAND: string;
|
4285
4410
|
MAIL: string;
|
4286
4411
|
MECHANICAL_ARM: string;
|
4287
4412
|
MEDAL: string;
|
4288
4413
|
MEDIUM: string;
|
4414
|
+
MUSCLE: string;
|
4289
4415
|
NUDGE_TAP: string;
|
4290
4416
|
OTP: string;
|
4291
4417
|
PARENT_AVATAR: string;
|
4292
4418
|
PARTY_BALL: string;
|
4293
4419
|
PARTY_POPPER: string;
|
4420
|
+
PENCIL: string;
|
4294
4421
|
PHONE_NUMBER: string;
|
4422
|
+
PLUS_SIGN: string;
|
4295
4423
|
POINT100: string;
|
4296
4424
|
POINT10: string;
|
4297
4425
|
POINT15: string;
|
@@ -4312,9 +4440,12 @@ export declare const LOTTIE: {
|
|
4312
4440
|
PROFICIENT1X: string;
|
4313
4441
|
PROJECT: string;
|
4314
4442
|
PUZZLE: string;
|
4443
|
+
RACING_CAR: string;
|
4315
4444
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4316
4445
|
RECAP: string;
|
4446
|
+
ROCKET: string;
|
4317
4447
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4448
|
+
SHOVEL: string;
|
4318
4449
|
SILVER_1: string;
|
4319
4450
|
SILVER_2: string;
|
4320
4451
|
SILVER_3: string;
|
@@ -4377,6 +4508,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4377
4508
|
|
4378
4509
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4379
4510
|
|
4511
|
+
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4512
|
+
|
4380
4513
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4381
4514
|
|
4382
4515
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4530,8 +4663,12 @@ declare interface NumRangeInputProps {
|
|
4530
4663
|
endPlaceholder?: string;
|
4531
4664
|
}
|
4532
4665
|
|
4666
|
+
export declare const OnboardingGuide: () => JSX.Element;
|
4667
|
+
|
4533
4668
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4534
4669
|
|
4670
|
+
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4671
|
+
|
4535
4672
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4536
4673
|
|
4537
4674
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4544,6 +4681,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4544
4681
|
|
4545
4682
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4546
4683
|
|
4684
|
+
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4685
|
+
|
4547
4686
|
/**
|
4548
4687
|
** Global/Platform specific events that needs to be tracked goes here
|
4549
4688
|
** Naming convention needs to be snake_case
|
@@ -4729,6 +4868,8 @@ declare enum SECTION_CODE {
|
|
4729
4868
|
|
4730
4869
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4731
4870
|
|
4871
|
+
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4872
|
+
|
4732
4873
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4733
4874
|
|
4734
4875
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4784,8 +4925,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4784
4925
|
|
4785
4926
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4786
4927
|
|
4928
|
+
export declare const SignupHeader: () => JSX.Element;
|
4929
|
+
|
4787
4930
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4788
4931
|
|
4932
|
+
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4933
|
+
|
4789
4934
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4790
4935
|
export { SketchIcon as ScribbleIcon }
|
4791
4936
|
export { SketchIcon }
|
@@ -4812,6 +4957,8 @@ export declare const STAGES: {
|
|
4812
4957
|
|
4813
4958
|
export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4814
4959
|
|
4960
|
+
export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4961
|
+
|
4815
4962
|
export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4816
4963
|
|
4817
4964
|
export declare enum State {
|
@@ -4884,7 +5031,7 @@ declare const TAB_CODES: {
|
|
4884
5031
|
|
4885
5032
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4886
5033
|
|
4887
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
5034
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
|
4888
5035
|
|
4889
5036
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4890
5037
|
|
@@ -4973,7 +5120,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
4973
5120
|
|
4974
5121
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4975
5122
|
|
4976
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5123
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
|
4977
5124
|
|
4978
5125
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4979
5126
|
|
@@ -5094,8 +5241,15 @@ declare type TCueProgramData = {
|
|
5094
5241
|
|
5095
5242
|
declare type TDefaultSection = Record<string, unknown>;
|
5096
5243
|
|
5244
|
+
declare type TDegreeInformation = {
|
5245
|
+
degree_name?: string;
|
5246
|
+
field_of_study?: string;
|
5247
|
+
};
|
5248
|
+
|
5097
5249
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5098
5250
|
|
5251
|
+
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
5252
|
+
|
5099
5253
|
declare type TEnglishSectionSummary = {
|
5100
5254
|
section_code: 'READING & WRITING';
|
5101
5255
|
} & TSectionSummary;
|
@@ -5129,6 +5283,7 @@ declare interface TextProps {
|
|
5129
5283
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5130
5284
|
$renderOnMobileAs?: TTextVariants;
|
5131
5285
|
$renderOnTabletAs?: TTextVariants;
|
5286
|
+
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
5132
5287
|
}
|
5133
5288
|
|
5134
5289
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|