@cuemath/leap 3.2.11-j4 → 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 -149
- package/dist/index.js +442 -466
- 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/drawer/drawer-styled.js +0 -34
- package/dist/features/ui/drawer/drawer-styled.js.map +0 -1
- package/dist/features/ui/drawer/drawer.js +0 -42
- package/dist/features/ui/drawer/drawer.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 & {
|
@@ -348,8 +344,6 @@ export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
348
344
|
|
349
345
|
export declare const DragIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
350
346
|
|
351
|
-
export declare const Drawer: FC<IDrawerProps>;
|
352
|
-
|
353
347
|
export declare const DynamicPreviewWorksheet: FC<IDynamicWorksheetPreview>;
|
354
348
|
|
355
349
|
export declare enum EClassTimeAlertLevel {
|
@@ -357,15 +351,6 @@ export declare enum EClassTimeAlertLevel {
|
|
357
351
|
FIFTEEN_MIN = "15min"
|
358
352
|
}
|
359
353
|
|
360
|
-
export declare enum EDeviceType {
|
361
|
-
MOBILE = 0,
|
362
|
-
TABLET = 1,
|
363
|
-
SMALL_DESKTOP = 2,
|
364
|
-
DESKTOP = 3,
|
365
|
-
LARGE_DEVICE = 4,
|
366
|
-
XLARGE_DEVICE = 5
|
367
|
-
}
|
368
|
-
|
369
354
|
export declare const Edit2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
370
355
|
|
371
356
|
export declare const EditIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -422,8 +407,6 @@ declare interface ErrorProps {
|
|
422
407
|
handleClick: () => void;
|
423
408
|
}
|
424
409
|
|
425
|
-
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
426
|
-
|
427
410
|
export declare const EVENTS: {
|
428
411
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
429
412
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -534,7 +517,7 @@ declare const getCheckboxConfig: IGetCheckboxConfig;
|
|
534
517
|
|
535
518
|
declare function getColors(): TColorsMap;
|
536
519
|
|
537
|
-
declare const getDevice: (width: number) =>
|
520
|
+
declare const getDevice: (width: number) => TDeviceType;
|
538
521
|
|
539
522
|
declare const getInputConfig: IGetInputConfig;
|
540
523
|
|
@@ -646,20 +629,6 @@ declare interface IAnimatedArcProps {
|
|
646
629
|
showAnimatedRainbowArc?: boolean;
|
647
630
|
}
|
648
631
|
|
649
|
-
declare interface IAnimatedAvatarMessageProps {
|
650
|
-
message: string;
|
651
|
-
onShowContent: (show: boolean) => void;
|
652
|
-
confirmationFrames: [number, number];
|
653
|
-
confirmationMessage?: string;
|
654
|
-
isConfirmationVisible?: boolean;
|
655
|
-
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
656
|
-
}
|
657
|
-
|
658
|
-
export declare type IAnimatedAvatarMessageRef = {
|
659
|
-
fadeOutMessage: () => Promise<void>;
|
660
|
-
playConfirmationFrames: () => Promise<void>;
|
661
|
-
};
|
662
|
-
|
663
632
|
declare interface IAppLoaderProps {
|
664
633
|
width?: string | number;
|
665
634
|
height?: string | number;
|
@@ -704,7 +673,6 @@ declare interface IAuthPageLayoutProps {
|
|
704
673
|
leftBlock: ReactElement;
|
705
674
|
rightBlock?: ReactElement;
|
706
675
|
isFullWidth?: boolean;
|
707
|
-
rightBlockBg?: TColorNames;
|
708
676
|
}
|
709
677
|
|
710
678
|
declare interface IAuthStaticPanelProps {
|
@@ -1361,16 +1329,6 @@ declare interface IDigitalMeterProps {
|
|
1361
1329
|
actAsTimer?: boolean;
|
1362
1330
|
}
|
1363
1331
|
|
1364
|
-
declare interface IDrawerProps {
|
1365
|
-
isOpen: boolean;
|
1366
|
-
onClose?: () => void;
|
1367
|
-
children: ReactNode;
|
1368
|
-
drawerWidth?: number | string;
|
1369
|
-
position?: 'left' | 'right';
|
1370
|
-
zIndex?: number;
|
1371
|
-
theme: 'light' | 'dark';
|
1372
|
-
}
|
1373
|
-
|
1374
1332
|
declare interface IDynamicWorksheetPreview {
|
1375
1333
|
studentId: string;
|
1376
1334
|
userNodeId: string;
|
@@ -1409,7 +1367,6 @@ declare interface IErrorProps {
|
|
1409
1367
|
theme?: 'light' | 'dark';
|
1410
1368
|
title?: string;
|
1411
1369
|
description?: string;
|
1412
|
-
size?: 'compact' | 'full';
|
1413
1370
|
}
|
1414
1371
|
|
1415
1372
|
declare interface IExpandableHeaderProps {
|
@@ -1630,7 +1587,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1630
1587
|
}
|
1631
1588
|
|
1632
1589
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1633
|
-
withLoader
|
1590
|
+
withLoader: boolean;
|
1634
1591
|
borderRadius?: number;
|
1635
1592
|
borderColor?: TColorNames;
|
1636
1593
|
}
|
@@ -2003,14 +1960,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
2003
1960
|
targetQuestions: number;
|
2004
1961
|
}
|
2005
1962
|
|
2006
|
-
declare interface ILinearProgressBarProps {
|
2007
|
-
percentage: number;
|
2008
|
-
height?: number;
|
2009
|
-
backgroundColor?: TColorNames;
|
2010
|
-
fillColor?: TColorNames;
|
2011
|
-
borderRadius?: number;
|
2012
|
-
}
|
2013
|
-
|
2014
1963
|
export declare const ILLUSTRATIONS: {
|
2015
1964
|
ALARM_CLOCK_ORANGE: string;
|
2016
1965
|
ALARM_CLOCK_PURPLE: string;
|
@@ -2027,7 +1976,6 @@ export declare const ILLUSTRATIONS: {
|
|
2027
1976
|
CALENDAR_BLUE: string;
|
2028
1977
|
CALENDAR_GRAY: string;
|
2029
1978
|
CALENDAR_GREEN: string;
|
2030
|
-
CALENDAR_PURPLE: string;
|
2031
1979
|
CAUTION: string;
|
2032
1980
|
CHAPTER_10: string;
|
2033
1981
|
CHAPTER_1: string;
|
@@ -2067,7 +2015,6 @@ export declare const ILLUSTRATIONS: {
|
|
2067
2015
|
GRADUATE_PINK_FILLED_BG: string;
|
2068
2016
|
GREEN_BALLOON: string;
|
2069
2017
|
GREEN_FACE: string;
|
2070
|
-
HANDSHAKE: string;
|
2071
2018
|
LEARNED_SHIELD_GRAY: string;
|
2072
2019
|
LEARNED_SHIELD_GREEN: string;
|
2073
2020
|
LEARNT: string;
|
@@ -2086,7 +2033,6 @@ export declare const ILLUSTRATIONS: {
|
|
2086
2033
|
MILESTONE_INTRO_2: string;
|
2087
2034
|
MILESTONE_INTRO_3: string;
|
2088
2035
|
MISTAKE: string;
|
2089
|
-
MONEY: string;
|
2090
2036
|
NODE_ACTIVITY_BG: string;
|
2091
2037
|
NODE_CUSTOM_TEST_BG: string;
|
2092
2038
|
NODE_DOWNLOAD_BG: string;
|
@@ -2104,7 +2050,6 @@ export declare const ILLUSTRATIONS: {
|
|
2104
2050
|
NUMBER_4_ORANGE: string;
|
2105
2051
|
ONE_STAR_FILLED: string;
|
2106
2052
|
ORANGE_FACE: string;
|
2107
|
-
PARENT_AVATAR: string;
|
2108
2053
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2109
2054
|
PLAY: string;
|
2110
2055
|
PLAY_ICON: string;
|
@@ -2141,7 +2086,6 @@ export declare const ILLUSTRATIONS: {
|
|
2141
2086
|
TROPHY_BLUE_FILLED: string;
|
2142
2087
|
TROPHY_CIRCLE: string;
|
2143
2088
|
TROPHY_GREEN: string;
|
2144
|
-
TRUSTPILOT: string;
|
2145
2089
|
TWO_STARS_FILLED: string;
|
2146
2090
|
UP_ARROW: string;
|
2147
2091
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2497,7 +2441,7 @@ export declare interface IModal {
|
|
2497
2441
|
/** Content to display inside the modal */
|
2498
2442
|
element: ReactElement;
|
2499
2443
|
/** Rendering style of the modal */
|
2500
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2444
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'fullscreen-transparent';
|
2501
2445
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2502
2446
|
isDismissable?: boolean;
|
2503
2447
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2674,14 +2618,6 @@ declare interface IOpenImageReviewModalProps {
|
|
2674
2618
|
image?: string;
|
2675
2619
|
}
|
2676
2620
|
|
2677
|
-
declare interface IOTPInputProps {
|
2678
|
-
length?: number;
|
2679
|
-
value: string;
|
2680
|
-
onChange: (val: string) => void;
|
2681
|
-
error?: string;
|
2682
|
-
isBusy?: boolean;
|
2683
|
-
}
|
2684
|
-
|
2685
2621
|
declare interface IOTPResendProps {
|
2686
2622
|
onResendOTP: () => void;
|
2687
2623
|
onResendVoiceOTP?: () => void;
|
@@ -2690,8 +2626,6 @@ declare interface IOTPResendProps {
|
|
2690
2626
|
disabled?: boolean;
|
2691
2627
|
renderAs?: 'submit' | 'text';
|
2692
2628
|
width?: number | string;
|
2693
|
-
textButtonColor?: TColorNames;
|
2694
|
-
size?: 'small' | 'xsmall';
|
2695
2629
|
}
|
2696
2630
|
|
2697
2631
|
declare interface IOutcomeConfig {
|
@@ -2729,18 +2663,6 @@ declare interface IPerfectHitsProps {
|
|
2729
2663
|
value: number;
|
2730
2664
|
}
|
2731
2665
|
|
2732
|
-
declare interface IPillButtonProps {
|
2733
|
-
id: string;
|
2734
|
-
label: string;
|
2735
|
-
selected?: boolean;
|
2736
|
-
disabled?: boolean;
|
2737
|
-
animatedLabel?: string;
|
2738
|
-
icon?: string;
|
2739
|
-
onClick: (val: string) => void;
|
2740
|
-
tooltip?: string;
|
2741
|
-
width?: number | string;
|
2742
|
-
}
|
2743
|
-
|
2744
2666
|
declare interface IPlaceholder {
|
2745
2667
|
text?: string;
|
2746
2668
|
marks?: string;
|
@@ -3119,15 +3041,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3119
3041
|
data: Section[];
|
3120
3042
|
}
|
3121
3043
|
|
3122
|
-
declare interface ISelectableInfoCardProps {
|
3123
|
-
id: string;
|
3124
|
-
title: string;
|
3125
|
-
description: string;
|
3126
|
-
icon: string;
|
3127
|
-
selected: boolean;
|
3128
|
-
onClick: (val: string) => void;
|
3129
|
-
}
|
3130
|
-
|
3131
3044
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3132
3045
|
}
|
3133
3046
|
|
@@ -3262,15 +3175,6 @@ declare interface ISignupMethodsProps {
|
|
3262
3175
|
loadingProvider: TSocialAuthProvider | null;
|
3263
3176
|
}
|
3264
3177
|
|
3265
|
-
declare interface ISignupOptionsProps {
|
3266
|
-
onEmailSignup: () => void;
|
3267
|
-
onGoogleSignup: () => void;
|
3268
|
-
onAppleSignup: () => void;
|
3269
|
-
onGoToLogin: () => void;
|
3270
|
-
loadingProvider: TSocialAuthProvider | null;
|
3271
|
-
title?: string;
|
3272
|
-
}
|
3273
|
-
|
3274
3178
|
export declare interface ISignUpProps {
|
3275
3179
|
circleOnLeapSignedUp: boolean;
|
3276
3180
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3330,14 +3234,14 @@ declare interface IStepperProps {
|
|
3330
3234
|
currentStep: number;
|
3331
3235
|
}
|
3332
3236
|
|
3333
|
-
declare interface IStickerData {
|
3237
|
+
export declare interface IStickerData {
|
3334
3238
|
id: string;
|
3335
3239
|
emoji: string;
|
3336
3240
|
lottieUrl?: string;
|
3337
|
-
name
|
3241
|
+
name: string;
|
3338
3242
|
}
|
3339
3243
|
|
3340
|
-
declare interface IStickerGridProps {
|
3244
|
+
export declare interface IStickerGridProps {
|
3341
3245
|
stickers: IStickerData[];
|
3342
3246
|
columns?: number;
|
3343
3247
|
gap?: number;
|
@@ -3345,10 +3249,24 @@ declare interface IStickerGridProps {
|
|
3345
3249
|
onStickerClick?: (sticker: IStickerData) => void;
|
3346
3250
|
}
|
3347
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
|
+
|
3348
3267
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3349
3268
|
value: number;
|
3350
3269
|
blink?: boolean;
|
3351
|
-
isInteractive?: boolean;
|
3352
3270
|
}
|
3353
3271
|
|
3354
3272
|
export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
|
@@ -3426,8 +3344,6 @@ declare interface ISyncableWebGameProps {
|
|
3426
3344
|
declare interface ITabItem {
|
3427
3345
|
id: string;
|
3428
3346
|
label: string;
|
3429
|
-
iconPosition?: 'left' | 'right';
|
3430
|
-
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3431
3347
|
}
|
3432
3348
|
|
3433
3349
|
export declare interface ITable {
|
@@ -3499,7 +3415,6 @@ declare interface ITabsProps {
|
|
3499
3415
|
selectedTab: string;
|
3500
3416
|
onChange: (tab: string) => void;
|
3501
3417
|
tabs: ITabItem[];
|
3502
|
-
background?: TColorNames;
|
3503
3418
|
}
|
3504
3419
|
|
3505
3420
|
export declare interface ITabVariantConfig {
|
@@ -3904,6 +3819,12 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3904
3819
|
};
|
3905
3820
|
}
|
3906
3821
|
|
3822
|
+
declare interface IUseViewportReturn {
|
3823
|
+
isCompact: boolean;
|
3824
|
+
isMobile: boolean;
|
3825
|
+
isDesktop: boolean;
|
3826
|
+
}
|
3827
|
+
|
3907
3828
|
declare interface IUseWorksheetLayout {
|
3908
3829
|
(options: {
|
3909
3830
|
userType: TUserTypes;
|
@@ -4293,8 +4214,6 @@ declare const LESSON_TAG_TYPE: {
|
|
4293
4214
|
readonly DEFAULT: "DEFAULT";
|
4294
4215
|
};
|
4295
4216
|
|
4296
|
-
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4297
|
-
|
4298
4217
|
export declare const loadScript: ILoadScript;
|
4299
4218
|
|
4300
4219
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4309,7 +4228,6 @@ export declare const LOTTIE: {
|
|
4309
4228
|
ACTIVITY: string;
|
4310
4229
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4311
4230
|
ALL_DONE: string;
|
4312
|
-
ANIMATED_AVATAR: string;
|
4313
4231
|
AVATAR_SELECTED: string;
|
4314
4232
|
BEGINNER1X: string;
|
4315
4233
|
BRONZE_1: string;
|
@@ -4341,14 +4259,12 @@ export declare const LOTTIE: {
|
|
4341
4259
|
FAMILIAR1X: string;
|
4342
4260
|
FIFTEEN_MIN_CLOCK: string;
|
4343
4261
|
FIVE_MIN_CLOCK: string;
|
4344
|
-
FLYING_DISK: string;
|
4345
4262
|
GIFT: string;
|
4346
4263
|
GOLD_1: string;
|
4347
4264
|
GOLD_2: string;
|
4348
4265
|
GOLD_3: string;
|
4349
4266
|
GOLF: string;
|
4350
4267
|
GRADE: string;
|
4351
|
-
GRADUATION_CAP: string;
|
4352
4268
|
HIGH_SCORE_CONFETTI: string;
|
4353
4269
|
HIGH_SCORE_TEXT: string;
|
4354
4270
|
INFINITE_BUTTON_BG: string;
|
@@ -4359,21 +4275,17 @@ export declare const LOTTIE: {
|
|
4359
4275
|
LEVELUP_RINGS: string;
|
4360
4276
|
LEVEL_1_ALLSTAR: string;
|
4361
4277
|
LIGHTNING: string;
|
4362
|
-
LIGHT_BULB: string;
|
4363
4278
|
MAGICWAND: string;
|
4364
4279
|
MAIL: string;
|
4365
4280
|
MECHANICAL_ARM: string;
|
4366
4281
|
MEDAL: string;
|
4367
4282
|
MEDIUM: string;
|
4368
|
-
MUSCLE: string;
|
4369
4283
|
NUDGE_TAP: string;
|
4370
4284
|
OTP: string;
|
4371
4285
|
PARENT_AVATAR: string;
|
4372
4286
|
PARTY_BALL: string;
|
4373
4287
|
PARTY_POPPER: string;
|
4374
|
-
PENCIL: string;
|
4375
4288
|
PHONE_NUMBER: string;
|
4376
|
-
PLUS_SIGN: string;
|
4377
4289
|
POINT100: string;
|
4378
4290
|
POINT10: string;
|
4379
4291
|
POINT15: string;
|
@@ -4394,12 +4306,9 @@ export declare const LOTTIE: {
|
|
4394
4306
|
PROFICIENT1X: string;
|
4395
4307
|
PROJECT: string;
|
4396
4308
|
PUZZLE: string;
|
4397
|
-
RACING_CAR: string;
|
4398
4309
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4399
4310
|
RECAP: string;
|
4400
|
-
ROCKET: string;
|
4401
4311
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4402
|
-
SHOVEL: string;
|
4403
4312
|
SILVER_1: string;
|
4404
4313
|
SILVER_2: string;
|
4405
4314
|
SILVER_3: string;
|
@@ -4462,8 +4371,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4462
4371
|
|
4463
4372
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4464
4373
|
|
4465
|
-
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4466
|
-
|
4467
4374
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4468
4375
|
|
4469
4376
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4617,12 +4524,8 @@ declare interface NumRangeInputProps {
|
|
4617
4524
|
endPlaceholder?: string;
|
4618
4525
|
}
|
4619
4526
|
|
4620
|
-
export declare const OnboardingGuide: () => JSX.Element;
|
4621
|
-
|
4622
4527
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4623
4528
|
|
4624
|
-
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4625
|
-
|
4626
4529
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4627
4530
|
|
4628
4531
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4635,8 +4538,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4635
4538
|
|
4636
4539
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4637
4540
|
|
4638
|
-
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4639
|
-
|
4640
4541
|
/**
|
4641
4542
|
** Global/Platform specific events that needs to be tracked goes here
|
4642
4543
|
** Naming convention needs to be snake_case
|
@@ -4816,8 +4717,6 @@ declare enum SECTION_CODE {
|
|
4816
4717
|
|
4817
4718
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4818
4719
|
|
4819
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4820
|
-
|
4821
4720
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4822
4721
|
|
4823
4722
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4873,12 +4772,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4873
4772
|
|
4874
4773
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4875
4774
|
|
4876
|
-
export declare const SignupHeader: () => JSX.Element;
|
4877
|
-
|
4878
4775
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4879
4776
|
|
4880
|
-
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4881
|
-
|
4882
4777
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4883
4778
|
export { SketchIcon as ScribbleIcon }
|
4884
4779
|
export { SketchIcon }
|
@@ -4932,16 +4827,7 @@ declare const STICKER_BADGE: {
|
|
4932
4827
|
AWESOME: string;
|
4933
4828
|
};
|
4934
4829
|
|
4935
|
-
declare
|
4936
|
-
|
4937
|
-
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
4938
|
-
|
4939
|
-
declare interface StickersProps {
|
4940
|
-
stickers: string[];
|
4941
|
-
effect: StickerEffect;
|
4942
|
-
count: number;
|
4943
|
-
duration: number;
|
4944
|
-
}
|
4830
|
+
export declare const Stickers: React_2.NamedExoticComponent<IStickersProps>;
|
4945
4831
|
|
4946
4832
|
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
4947
4833
|
|
@@ -4973,7 +4859,7 @@ declare const TAB_CODES: {
|
|
4973
4859
|
|
4974
4860
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4975
4861
|
|
4976
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs
|
4862
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4977
4863
|
|
4978
4864
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4979
4865
|
|
@@ -5062,7 +4948,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5062
4948
|
|
5063
4949
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5064
4950
|
|
5065
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark'
|
4951
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5066
4952
|
|
5067
4953
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5068
4954
|
|
@@ -5183,6 +5069,8 @@ declare type TCueProgramData = {
|
|
5183
5069
|
|
5184
5070
|
declare type TDefaultSection = Record<string, unknown>;
|
5185
5071
|
|
5072
|
+
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5073
|
+
|
5186
5074
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5187
5075
|
|
5188
5076
|
declare type TEnglishSectionSummary = {
|
@@ -5194,7 +5082,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5194
5082
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5195
5083
|
|
5196
5084
|
/**
|
5197
|
-
* @param $renderAs
|
5085
|
+
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5198
5086
|
*/
|
5199
5087
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5200
5088
|
export { Text_2 as Text }
|
@@ -5216,8 +5104,6 @@ declare interface TextProps {
|
|
5216
5104
|
$inline?: boolean;
|
5217
5105
|
$textDecoration?: string;
|
5218
5106
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5219
|
-
$renderOnMobileAs?: TTextVariants;
|
5220
|
-
$renderOnTabletAs?: TTextVariants;
|
5221
5107
|
}
|
5222
5108
|
|
5223
5109
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5861,7 +5747,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
|
|
5861
5747
|
declare type TRewardHomeData = {
|
5862
5748
|
user_badges: TBadgeData[] | [];
|
5863
5749
|
user_rewards: TRewardsData[] | [];
|
5864
|
-
user_stickers:
|
5750
|
+
user_stickers: TStickerData_2[] | [];
|
5865
5751
|
};
|
5866
5752
|
|
5867
5753
|
declare type TRewardsData = {
|
@@ -5989,7 +5875,17 @@ export declare type TSkillStatus = 'pending' | 'completed';
|
|
5989
5875
|
|
5990
5876
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
5991
5877
|
|
5992
|
-
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 = {
|
5993
5889
|
actor_id: string;
|
5994
5890
|
badge_id: string;
|
5995
5891
|
badge_type: string;
|
@@ -6002,6 +5898,8 @@ declare type TStickerData = {
|
|
6002
5898
|
user_type: string;
|
6003
5899
|
};
|
6004
5900
|
|
5901
|
+
export declare type TStickerEffect = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
|
5902
|
+
|
6005
5903
|
export declare type TStreakStatus = 'pending' | 'completed';
|
6006
5904
|
|
6007
5905
|
declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
|
@@ -6317,6 +6215,8 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6317
6215
|
|
6318
6216
|
export declare const useUIContext: () => UIContextProps;
|
6319
6217
|
|
6218
|
+
export declare const useViewport: () => IUseViewportReturn;
|
6219
|
+
|
6320
6220
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6321
6221
|
|
6322
6222
|
export declare const useZoomDisable: () => void;
|