@cuemath/leap 3.2.11-j3 → 3.2.11-m
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 +0 -5
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +0 -10
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +25 -26
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +14 -20
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/resend-otp/resend-otp.js +47 -54
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +17 -29
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +10 -22
- 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/comps/user-list/user-item/user-item.js +31 -30
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +34 -35
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +15 -14
- package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +7 -6
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
- package/dist/features/auth/login/login-styled.js +9 -8
- package/dist/features/auth/login/login-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +98 -121
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +28 -29
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +42 -43
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial.js +35 -43
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +24 -26
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/constants.js +1 -3
- package/dist/features/circle-games/sign-up/constants.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
- package/dist/features/hooks/use-viewport/use-viewport.js +22 -0
- package/dist/features/hooks/use-viewport/use-viewport.js.map +1 -0
- package/dist/features/journey/comps/coachmark/coachmark.js +17 -18
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/stickers/sticker-data.js +228 -0
- package/dist/features/stickers/sticker-data.js.map +1 -0
- package/dist/features/{ui/sticker-grid/sticker-grid-styles.js → stickers/sticker-selector/sticker-selector-styles.js} +1 -1
- package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js +25 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -0
- package/dist/features/{ui/sticker-grid → stickers/sticker-selector}/sticker.js +9 -9
- package/dist/features/stickers/sticker-selector/sticker.js.map +1 -0
- package/dist/features/{ui/stickers/stickers-effects.js → stickers/stickers-effects/effects.js} +6 -6
- package/dist/features/stickers/stickers-effects/effects.js.map +1 -0
- package/dist/features/{ui/stickers/stickers-styled.js → stickers/stickers-effects/stickers-effects-styled.js} +2 -2
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +1 -0
- package/dist/features/{ui/stickers/stickers-utils.js → stickers/stickers-effects/stickers-effects-utils.js} +6 -6
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js +39 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +1 -0
- package/dist/features/ui/error/error.js +27 -65
- package/dist/features/ui/error/error.js.map +1 -1
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +58 -34
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +14 -40
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
- package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
- package/dist/features/ui/streak-icon/streak-icon.js +15 -17
- package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
- package/dist/features/ui/text/text.js +36 -40
- 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/features/ui/theme/constants.js +2 -4
- package/dist/features/ui/theme/constants.js.map +1 -1
- package/dist/features/ui/theme/get-device.js +3 -3
- package/dist/features/ui/theme/get-device.js.map +1 -1
- package/dist/features/worksheet/worksheet/constants.js +13 -12
- package/dist/features/worksheet/worksheet/constants.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +260 -246
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +28 -37
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +164 -166
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/index.d.ts +49 -137
- package/dist/index.js +434 -456
- package/dist/index.js.map +1 -1
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/package.json +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +0 -34
- package/dist/assets/line-icons/icons/after-noon.js.map +0 -1
- package/dist/assets/line-icons/icons/apple-icon-white.js +0 -42
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +0 -1
- package/dist/assets/line-icons/icons/evening.js +0 -35
- package/dist/assets/line-icons/icons/evening.js.map +0 -1
- package/dist/assets/line-icons/icons/morning.js +0 -35
- package/dist/assets/line-icons/icons/morning.js.map +0 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +0 -9
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +0 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +0 -52
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +0 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +0 -93
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +0 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js +0 -10
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js.map +0 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js +0 -17
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js.map +0 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +0 -12
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +0 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +0 -34
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +0 -1
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +0 -22
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +0 -1
- package/dist/features/auth/comps/otp-input/otp-input.js +0 -51
- package/dist/features/auth/comps/otp-input/otp-input.js.map +0 -1
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +0 -44
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +0 -1
- package/dist/features/auth/comps/pill-button/pill-button.js +0 -75
- package/dist/features/auth/comps/pill-button/pill-button.js.map +0 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +0 -17
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +0 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +0 -67
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +0 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +0 -19
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +0 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +0 -32
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +0 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +0 -44
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +0 -1
- package/dist/features/auth/signup-v2/signup-header/signup-header.js +0 -54
- package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +0 -1
- package/dist/features/auth/signup-v2/signup-options/signup-options.js +0 -83
- package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker-grid.js +0 -24
- package/dist/features/ui/sticker-grid/sticker-grid.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker.js.map +0 -1
- package/dist/features/ui/stickers/constants.js +0 -6
- package/dist/features/ui/stickers/constants.js.map +0 -1
- package/dist/features/ui/stickers/stickers-effects.js.map +0 -1
- package/dist/features/ui/stickers/stickers-styled.js.map +0 -1
- package/dist/features/ui/stickers/stickers-utils.js.map +0 -1
- package/dist/features/ui/stickers/stickers.js +0 -40
- package/dist/features/ui/stickers/stickers.js.map +0 -1
- package/dist/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
- package/dist/static/animated-avatar.1ad58b1d.json +0 -1
- package/dist/static/animated-avatar.69b07505.json +0 -1
- package/dist/static/animated-avatar.9c560b46.json +0 -1
- package/dist/static/calendar-purple.1a840b41.svg +0 -1
- package/dist/static/flying-disk.c7f6ed39.json +0 -1
- package/dist/static/graduation-cap.3be3340a.json +0 -1
- package/dist/static/handshake.287e7dfb.svg +0 -1
- package/dist/static/light-bulb.c6db0b23.json +0 -1
- package/dist/static/money.332aacf1.svg +0 -1
- package/dist/static/muscle.9bcfb8a7.json +0 -1
- package/dist/static/parent-avatar.822c7b9b.svg +0 -1
- package/dist/static/pencil.23df9da0.json +0 -1
- package/dist/static/plus-sign.de6af957.json +0 -1
- package/dist/static/racing-car.2cbf864e.json +0 -1
- package/dist/static/rocket.0a3ccab0.json +0 -1
- package/dist/static/shovel.abeec04c.json +0 -1
- package/dist/static/trustpilot.bd3d79e1.svg +0 -1
- /package/dist/node_modules/{decode-uri-component → query-string/node_modules/decode-uri-component}/index.js +0 -0
package/dist/index.d.ts
CHANGED
@@ -52,14 +52,10 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
52
52
|
|
53
53
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
54
54
|
|
55
|
-
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
56
|
-
|
57
55
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
58
56
|
|
59
57
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
60
58
|
|
61
|
-
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
62
|
-
|
63
59
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
64
60
|
|
65
61
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
@@ -355,15 +351,6 @@ export declare enum EClassTimeAlertLevel {
|
|
355
351
|
FIFTEEN_MIN = "15min"
|
356
352
|
}
|
357
353
|
|
358
|
-
export declare enum EDeviceType {
|
359
|
-
MOBILE = 0,
|
360
|
-
TABLET = 1,
|
361
|
-
SMALL_DESKTOP = 2,
|
362
|
-
DESKTOP = 3,
|
363
|
-
LARGE_DEVICE = 4,
|
364
|
-
XLARGE_DEVICE = 5
|
365
|
-
}
|
366
|
-
|
367
354
|
export declare const Edit2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
368
355
|
|
369
356
|
export declare const EditIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -420,8 +407,6 @@ declare interface ErrorProps {
|
|
420
407
|
handleClick: () => void;
|
421
408
|
}
|
422
409
|
|
423
|
-
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
424
|
-
|
425
410
|
export declare const EVENTS: {
|
426
411
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
427
412
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -532,7 +517,7 @@ declare const getCheckboxConfig: IGetCheckboxConfig;
|
|
532
517
|
|
533
518
|
declare function getColors(): TColorsMap;
|
534
519
|
|
535
|
-
declare const getDevice: (width: number) =>
|
520
|
+
declare const getDevice: (width: number) => TDeviceType;
|
536
521
|
|
537
522
|
declare const getInputConfig: IGetInputConfig;
|
538
523
|
|
@@ -644,20 +629,6 @@ declare interface IAnimatedArcProps {
|
|
644
629
|
showAnimatedRainbowArc?: boolean;
|
645
630
|
}
|
646
631
|
|
647
|
-
declare interface IAnimatedAvatarMessageProps {
|
648
|
-
message: string;
|
649
|
-
onShowContent: (show: boolean) => void;
|
650
|
-
confirmationFrames: [number, number];
|
651
|
-
confirmationMessage?: string;
|
652
|
-
isConfirmationVisible?: boolean;
|
653
|
-
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
654
|
-
}
|
655
|
-
|
656
|
-
export declare type IAnimatedAvatarMessageRef = {
|
657
|
-
fadeOutMessage: () => Promise<void>;
|
658
|
-
playConfirmationFrames: () => Promise<void>;
|
659
|
-
};
|
660
|
-
|
661
632
|
declare interface IAppLoaderProps {
|
662
633
|
width?: string | number;
|
663
634
|
height?: string | number;
|
@@ -702,7 +673,6 @@ declare interface IAuthPageLayoutProps {
|
|
702
673
|
leftBlock: ReactElement;
|
703
674
|
rightBlock?: ReactElement;
|
704
675
|
isFullWidth?: boolean;
|
705
|
-
rightBlockBg?: TColorNames;
|
706
676
|
}
|
707
677
|
|
708
678
|
declare interface IAuthStaticPanelProps {
|
@@ -1397,7 +1367,6 @@ declare interface IErrorProps {
|
|
1397
1367
|
theme?: 'light' | 'dark';
|
1398
1368
|
title?: string;
|
1399
1369
|
description?: string;
|
1400
|
-
size?: 'compact' | 'full';
|
1401
1370
|
}
|
1402
1371
|
|
1403
1372
|
declare interface IExpandableHeaderProps {
|
@@ -1618,7 +1587,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1618
1587
|
}
|
1619
1588
|
|
1620
1589
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1621
|
-
withLoader
|
1590
|
+
withLoader: boolean;
|
1622
1591
|
borderRadius?: number;
|
1623
1592
|
borderColor?: TColorNames;
|
1624
1593
|
}
|
@@ -1991,14 +1960,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
1991
1960
|
targetQuestions: number;
|
1992
1961
|
}
|
1993
1962
|
|
1994
|
-
declare interface ILinearProgressBarProps {
|
1995
|
-
percentage: number;
|
1996
|
-
height?: number;
|
1997
|
-
backgroundColor?: TColorNames;
|
1998
|
-
fillColor?: TColorNames;
|
1999
|
-
borderRadius?: number;
|
2000
|
-
}
|
2001
|
-
|
2002
1963
|
export declare const ILLUSTRATIONS: {
|
2003
1964
|
ALARM_CLOCK_ORANGE: string;
|
2004
1965
|
ALARM_CLOCK_PURPLE: string;
|
@@ -2015,7 +1976,6 @@ export declare const ILLUSTRATIONS: {
|
|
2015
1976
|
CALENDAR_BLUE: string;
|
2016
1977
|
CALENDAR_GRAY: string;
|
2017
1978
|
CALENDAR_GREEN: string;
|
2018
|
-
CALENDAR_PURPLE: string;
|
2019
1979
|
CAUTION: string;
|
2020
1980
|
CHAPTER_10: string;
|
2021
1981
|
CHAPTER_1: string;
|
@@ -2055,7 +2015,6 @@ export declare const ILLUSTRATIONS: {
|
|
2055
2015
|
GRADUATE_PINK_FILLED_BG: string;
|
2056
2016
|
GREEN_BALLOON: string;
|
2057
2017
|
GREEN_FACE: string;
|
2058
|
-
HANDSHAKE: string;
|
2059
2018
|
LEARNED_SHIELD_GRAY: string;
|
2060
2019
|
LEARNED_SHIELD_GREEN: string;
|
2061
2020
|
LEARNT: string;
|
@@ -2074,7 +2033,6 @@ export declare const ILLUSTRATIONS: {
|
|
2074
2033
|
MILESTONE_INTRO_2: string;
|
2075
2034
|
MILESTONE_INTRO_3: string;
|
2076
2035
|
MISTAKE: string;
|
2077
|
-
MONEY: string;
|
2078
2036
|
NODE_ACTIVITY_BG: string;
|
2079
2037
|
NODE_CUSTOM_TEST_BG: string;
|
2080
2038
|
NODE_DOWNLOAD_BG: string;
|
@@ -2092,7 +2050,6 @@ export declare const ILLUSTRATIONS: {
|
|
2092
2050
|
NUMBER_4_ORANGE: string;
|
2093
2051
|
ONE_STAR_FILLED: string;
|
2094
2052
|
ORANGE_FACE: string;
|
2095
|
-
PARENT_AVATAR: string;
|
2096
2053
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2097
2054
|
PLAY: string;
|
2098
2055
|
PLAY_ICON: string;
|
@@ -2129,7 +2086,6 @@ export declare const ILLUSTRATIONS: {
|
|
2129
2086
|
TROPHY_BLUE_FILLED: string;
|
2130
2087
|
TROPHY_CIRCLE: string;
|
2131
2088
|
TROPHY_GREEN: string;
|
2132
|
-
TRUSTPILOT: string;
|
2133
2089
|
TWO_STARS_FILLED: string;
|
2134
2090
|
UP_ARROW: string;
|
2135
2091
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2485,7 +2441,7 @@ export declare interface IModal {
|
|
2485
2441
|
/** Content to display inside the modal */
|
2486
2442
|
element: ReactElement;
|
2487
2443
|
/** Rendering style of the modal */
|
2488
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2444
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'fullscreen-transparent';
|
2489
2445
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2490
2446
|
isDismissable?: boolean;
|
2491
2447
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2662,14 +2618,6 @@ declare interface IOpenImageReviewModalProps {
|
|
2662
2618
|
image?: string;
|
2663
2619
|
}
|
2664
2620
|
|
2665
|
-
declare interface IOTPInputProps {
|
2666
|
-
length?: number;
|
2667
|
-
value: string;
|
2668
|
-
onChange: (val: string) => void;
|
2669
|
-
error?: string;
|
2670
|
-
isBusy?: boolean;
|
2671
|
-
}
|
2672
|
-
|
2673
2621
|
declare interface IOTPResendProps {
|
2674
2622
|
onResendOTP: () => void;
|
2675
2623
|
onResendVoiceOTP?: () => void;
|
@@ -2678,8 +2626,6 @@ declare interface IOTPResendProps {
|
|
2678
2626
|
disabled?: boolean;
|
2679
2627
|
renderAs?: 'submit' | 'text';
|
2680
2628
|
width?: number | string;
|
2681
|
-
textButtonColor?: TColorNames;
|
2682
|
-
size?: 'small' | 'xsmall';
|
2683
2629
|
}
|
2684
2630
|
|
2685
2631
|
declare interface IOutcomeConfig {
|
@@ -2717,18 +2663,6 @@ declare interface IPerfectHitsProps {
|
|
2717
2663
|
value: number;
|
2718
2664
|
}
|
2719
2665
|
|
2720
|
-
declare interface IPillButtonProps {
|
2721
|
-
id: string;
|
2722
|
-
label: string;
|
2723
|
-
selected?: boolean;
|
2724
|
-
disabled?: boolean;
|
2725
|
-
animatedLabel?: string;
|
2726
|
-
icon?: string;
|
2727
|
-
onClick: (val: string) => void;
|
2728
|
-
tooltip?: string;
|
2729
|
-
width?: number | string;
|
2730
|
-
}
|
2731
|
-
|
2732
2666
|
declare interface IPlaceholder {
|
2733
2667
|
text?: string;
|
2734
2668
|
marks?: string;
|
@@ -3107,15 +3041,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3107
3041
|
data: Section[];
|
3108
3042
|
}
|
3109
3043
|
|
3110
|
-
declare interface ISelectableInfoCardProps {
|
3111
|
-
id: string;
|
3112
|
-
title: string;
|
3113
|
-
description: string;
|
3114
|
-
icon: string;
|
3115
|
-
selected: boolean;
|
3116
|
-
onClick: (val: string) => void;
|
3117
|
-
}
|
3118
|
-
|
3119
3044
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3120
3045
|
}
|
3121
3046
|
|
@@ -3250,15 +3175,6 @@ declare interface ISignupMethodsProps {
|
|
3250
3175
|
loadingProvider: TSocialAuthProvider | null;
|
3251
3176
|
}
|
3252
3177
|
|
3253
|
-
declare interface ISignupOptionsProps {
|
3254
|
-
onEmailSignup: () => void;
|
3255
|
-
onGoogleSignup: () => void;
|
3256
|
-
onAppleSignup: () => void;
|
3257
|
-
onGoToLogin: () => void;
|
3258
|
-
loadingProvider: TSocialAuthProvider | null;
|
3259
|
-
title?: string;
|
3260
|
-
}
|
3261
|
-
|
3262
3178
|
export declare interface ISignUpProps {
|
3263
3179
|
circleOnLeapSignedUp: boolean;
|
3264
3180
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3318,14 +3234,14 @@ declare interface IStepperProps {
|
|
3318
3234
|
currentStep: number;
|
3319
3235
|
}
|
3320
3236
|
|
3321
|
-
declare interface IStickerData {
|
3237
|
+
export declare interface IStickerData {
|
3322
3238
|
id: string;
|
3323
3239
|
emoji: string;
|
3324
3240
|
lottieUrl?: string;
|
3325
|
-
name
|
3241
|
+
name: string;
|
3326
3242
|
}
|
3327
3243
|
|
3328
|
-
declare interface IStickerGridProps {
|
3244
|
+
export declare interface IStickerGridProps {
|
3329
3245
|
stickers: IStickerData[];
|
3330
3246
|
columns?: number;
|
3331
3247
|
gap?: number;
|
@@ -3333,10 +3249,24 @@ declare interface IStickerGridProps {
|
|
3333
3249
|
onStickerClick?: (sticker: IStickerData) => void;
|
3334
3250
|
}
|
3335
3251
|
|
3252
|
+
export declare interface IStickerProps {
|
3253
|
+
emoji: string;
|
3254
|
+
lottieUrl?: string;
|
3255
|
+
size?: number | string;
|
3256
|
+
onClick?: () => void;
|
3257
|
+
disabled?: boolean;
|
3258
|
+
}
|
3259
|
+
|
3260
|
+
export declare interface IStickersProps {
|
3261
|
+
stickers: string[];
|
3262
|
+
effect: TStickerEffect;
|
3263
|
+
count: number;
|
3264
|
+
duration: number;
|
3265
|
+
}
|
3266
|
+
|
3336
3267
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3337
3268
|
value: number;
|
3338
3269
|
blink?: boolean;
|
3339
|
-
isInteractive?: boolean;
|
3340
3270
|
}
|
3341
3271
|
|
3342
3272
|
export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
|
@@ -3414,8 +3344,6 @@ declare interface ISyncableWebGameProps {
|
|
3414
3344
|
declare interface ITabItem {
|
3415
3345
|
id: string;
|
3416
3346
|
label: string;
|
3417
|
-
iconPosition?: 'left' | 'right';
|
3418
|
-
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3419
3347
|
}
|
3420
3348
|
|
3421
3349
|
export declare interface ITable {
|
@@ -3487,7 +3415,6 @@ declare interface ITabsProps {
|
|
3487
3415
|
selectedTab: string;
|
3488
3416
|
onChange: (tab: string) => void;
|
3489
3417
|
tabs: ITabItem[];
|
3490
|
-
background?: TColorNames;
|
3491
3418
|
}
|
3492
3419
|
|
3493
3420
|
export declare interface ITabVariantConfig {
|
@@ -3892,6 +3819,12 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3892
3819
|
};
|
3893
3820
|
}
|
3894
3821
|
|
3822
|
+
declare interface IUseViewportReturn {
|
3823
|
+
isCompact: boolean;
|
3824
|
+
isMobile: boolean;
|
3825
|
+
isDesktop: boolean;
|
3826
|
+
}
|
3827
|
+
|
3895
3828
|
declare interface IUseWorksheetLayout {
|
3896
3829
|
(options: {
|
3897
3830
|
userType: TUserTypes;
|
@@ -4281,8 +4214,6 @@ declare const LESSON_TAG_TYPE: {
|
|
4281
4214
|
readonly DEFAULT: "DEFAULT";
|
4282
4215
|
};
|
4283
4216
|
|
4284
|
-
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4285
|
-
|
4286
4217
|
export declare const loadScript: ILoadScript;
|
4287
4218
|
|
4288
4219
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4297,7 +4228,6 @@ export declare const LOTTIE: {
|
|
4297
4228
|
ACTIVITY: string;
|
4298
4229
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4299
4230
|
ALL_DONE: string;
|
4300
|
-
ANIMATED_AVATAR: string;
|
4301
4231
|
AVATAR_SELECTED: string;
|
4302
4232
|
BEGINNER1X: string;
|
4303
4233
|
BRONZE_1: string;
|
@@ -4329,14 +4259,12 @@ export declare const LOTTIE: {
|
|
4329
4259
|
FAMILIAR1X: string;
|
4330
4260
|
FIFTEEN_MIN_CLOCK: string;
|
4331
4261
|
FIVE_MIN_CLOCK: string;
|
4332
|
-
FLYING_DISK: string;
|
4333
4262
|
GIFT: string;
|
4334
4263
|
GOLD_1: string;
|
4335
4264
|
GOLD_2: string;
|
4336
4265
|
GOLD_3: string;
|
4337
4266
|
GOLF: string;
|
4338
4267
|
GRADE: string;
|
4339
|
-
GRADUATION_CAP: string;
|
4340
4268
|
HIGH_SCORE_CONFETTI: string;
|
4341
4269
|
HIGH_SCORE_TEXT: string;
|
4342
4270
|
INFINITE_BUTTON_BG: string;
|
@@ -4347,21 +4275,17 @@ export declare const LOTTIE: {
|
|
4347
4275
|
LEVELUP_RINGS: string;
|
4348
4276
|
LEVEL_1_ALLSTAR: string;
|
4349
4277
|
LIGHTNING: string;
|
4350
|
-
LIGHT_BULB: string;
|
4351
4278
|
MAGICWAND: string;
|
4352
4279
|
MAIL: string;
|
4353
4280
|
MECHANICAL_ARM: string;
|
4354
4281
|
MEDAL: string;
|
4355
4282
|
MEDIUM: string;
|
4356
|
-
MUSCLE: string;
|
4357
4283
|
NUDGE_TAP: string;
|
4358
4284
|
OTP: string;
|
4359
4285
|
PARENT_AVATAR: string;
|
4360
4286
|
PARTY_BALL: string;
|
4361
4287
|
PARTY_POPPER: string;
|
4362
|
-
PENCIL: string;
|
4363
4288
|
PHONE_NUMBER: string;
|
4364
|
-
PLUS_SIGN: string;
|
4365
4289
|
POINT100: string;
|
4366
4290
|
POINT10: string;
|
4367
4291
|
POINT15: string;
|
@@ -4382,12 +4306,9 @@ export declare const LOTTIE: {
|
|
4382
4306
|
PROFICIENT1X: string;
|
4383
4307
|
PROJECT: string;
|
4384
4308
|
PUZZLE: string;
|
4385
|
-
RACING_CAR: string;
|
4386
4309
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4387
4310
|
RECAP: string;
|
4388
|
-
ROCKET: string;
|
4389
4311
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4390
|
-
SHOVEL: string;
|
4391
4312
|
SILVER_1: string;
|
4392
4313
|
SILVER_2: string;
|
4393
4314
|
SILVER_3: string;
|
@@ -4450,8 +4371,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4450
4371
|
|
4451
4372
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4452
4373
|
|
4453
|
-
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4454
|
-
|
4455
4374
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4456
4375
|
|
4457
4376
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4605,12 +4524,8 @@ declare interface NumRangeInputProps {
|
|
4605
4524
|
endPlaceholder?: string;
|
4606
4525
|
}
|
4607
4526
|
|
4608
|
-
export declare const OnboardingGuide: () => JSX.Element;
|
4609
|
-
|
4610
4527
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4611
4528
|
|
4612
|
-
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4613
|
-
|
4614
4529
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4615
4530
|
|
4616
4531
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4623,8 +4538,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4623
4538
|
|
4624
4539
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4625
4540
|
|
4626
|
-
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4627
|
-
|
4628
4541
|
/**
|
4629
4542
|
** Global/Platform specific events that needs to be tracked goes here
|
4630
4543
|
** Naming convention needs to be snake_case
|
@@ -4804,8 +4717,6 @@ declare enum SECTION_CODE {
|
|
4804
4717
|
|
4805
4718
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4806
4719
|
|
4807
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4808
|
-
|
4809
4720
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4810
4721
|
|
4811
4722
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4861,12 +4772,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4861
4772
|
|
4862
4773
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4863
4774
|
|
4864
|
-
export declare const SignupHeader: () => JSX.Element;
|
4865
|
-
|
4866
4775
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4867
4776
|
|
4868
|
-
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4869
|
-
|
4870
4777
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4871
4778
|
export { SketchIcon as ScribbleIcon }
|
4872
4779
|
export { SketchIcon }
|
@@ -4920,16 +4827,7 @@ declare const STICKER_BADGE: {
|
|
4920
4827
|
AWESOME: string;
|
4921
4828
|
};
|
4922
4829
|
|
4923
|
-
declare
|
4924
|
-
|
4925
|
-
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
4926
|
-
|
4927
|
-
declare interface StickersProps {
|
4928
|
-
stickers: string[];
|
4929
|
-
effect: StickerEffect;
|
4930
|
-
count: number;
|
4931
|
-
duration: number;
|
4932
|
-
}
|
4830
|
+
export declare const Stickers: React_2.NamedExoticComponent<IStickersProps>;
|
4933
4831
|
|
4934
4832
|
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
4935
4833
|
|
@@ -4961,7 +4859,7 @@ declare const TAB_CODES: {
|
|
4961
4859
|
|
4962
4860
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4963
4861
|
|
4964
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs
|
4862
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4965
4863
|
|
4966
4864
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4967
4865
|
|
@@ -5050,7 +4948,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5050
4948
|
|
5051
4949
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5052
4950
|
|
5053
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark'
|
4951
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5054
4952
|
|
5055
4953
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5056
4954
|
|
@@ -5171,6 +5069,8 @@ declare type TCueProgramData = {
|
|
5171
5069
|
|
5172
5070
|
declare type TDefaultSection = Record<string, unknown>;
|
5173
5071
|
|
5072
|
+
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5073
|
+
|
5174
5074
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5175
5075
|
|
5176
5076
|
declare type TEnglishSectionSummary = {
|
@@ -5182,7 +5082,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5182
5082
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5183
5083
|
|
5184
5084
|
/**
|
5185
|
-
* @param $renderAs
|
5085
|
+
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5186
5086
|
*/
|
5187
5087
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5188
5088
|
export { Text_2 as Text }
|
@@ -5204,8 +5104,6 @@ declare interface TextProps {
|
|
5204
5104
|
$inline?: boolean;
|
5205
5105
|
$textDecoration?: string;
|
5206
5106
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5207
|
-
$renderOnMobileAs?: TTextVariants;
|
5208
|
-
$renderOnTabletAs?: TTextVariants;
|
5209
5107
|
}
|
5210
5108
|
|
5211
5109
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5849,7 +5747,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
|
|
5849
5747
|
declare type TRewardHomeData = {
|
5850
5748
|
user_badges: TBadgeData[] | [];
|
5851
5749
|
user_rewards: TRewardsData[] | [];
|
5852
|
-
user_stickers:
|
5750
|
+
user_stickers: TStickerData_2[] | [];
|
5853
5751
|
};
|
5854
5752
|
|
5855
5753
|
declare type TRewardsData = {
|
@@ -5977,7 +5875,17 @@ export declare type TSkillStatus = 'pending' | 'completed';
|
|
5977
5875
|
|
5978
5876
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
5979
5877
|
|
5980
|
-
declare type TStickerData = {
|
5878
|
+
export declare type TStickerData = {
|
5879
|
+
id: number;
|
5880
|
+
sticker: string;
|
5881
|
+
x: number;
|
5882
|
+
y: number;
|
5883
|
+
size: number;
|
5884
|
+
fromX?: string;
|
5885
|
+
fromY?: string;
|
5886
|
+
};
|
5887
|
+
|
5888
|
+
declare type TStickerData_2 = {
|
5981
5889
|
actor_id: string;
|
5982
5890
|
badge_id: string;
|
5983
5891
|
badge_type: string;
|
@@ -5990,6 +5898,8 @@ declare type TStickerData = {
|
|
5990
5898
|
user_type: string;
|
5991
5899
|
};
|
5992
5900
|
|
5901
|
+
export declare type TStickerEffect = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
|
5902
|
+
|
5993
5903
|
export declare type TStreakStatus = 'pending' | 'completed';
|
5994
5904
|
|
5995
5905
|
declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
|
@@ -6305,6 +6215,8 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6305
6215
|
|
6306
6216
|
export declare const useUIContext: () => UIContextProps;
|
6307
6217
|
|
6218
|
+
export declare const useViewport: () => IUseViewportReturn;
|
6219
|
+
|
6308
6220
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6309
6221
|
|
6310
6222
|
export declare const useZoomDisable: () => void;
|