@cuemath/leap 3.2.11-j4 → 3.2.11-mb-v2
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/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 +16 -162
- package/dist/index.js +440 -468
- 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 +0 -86
- 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 +0 -57
- 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 +0 -64
- package/dist/features/ui/stickers/stickers-effects.js.map +0 -1
- package/dist/features/ui/stickers/stickers-styled.js +0 -29
- package/dist/features/ui/stickers/stickers-styled.js.map +0 -1
- package/dist/features/ui/stickers/stickers-utils.js +0 -91
- 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,25 +3234,9 @@ declare interface IStepperProps {
|
|
3330
3234
|
currentStep: number;
|
3331
3235
|
}
|
3332
3236
|
|
3333
|
-
declare interface IStickerData {
|
3334
|
-
id: string;
|
3335
|
-
emoji: string;
|
3336
|
-
lottieUrl?: string;
|
3337
|
-
name?: string;
|
3338
|
-
}
|
3339
|
-
|
3340
|
-
declare interface IStickerGridProps {
|
3341
|
-
stickers: IStickerData[];
|
3342
|
-
columns?: number;
|
3343
|
-
gap?: number;
|
3344
|
-
stickerSize?: number | string;
|
3345
|
-
onStickerClick?: (sticker: IStickerData) => void;
|
3346
|
-
}
|
3347
|
-
|
3348
3237
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3349
3238
|
value: number;
|
3350
3239
|
blink?: boolean;
|
3351
|
-
isInteractive?: boolean;
|
3352
3240
|
}
|
3353
3241
|
|
3354
3242
|
export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
|
@@ -3426,8 +3314,6 @@ declare interface ISyncableWebGameProps {
|
|
3426
3314
|
declare interface ITabItem {
|
3427
3315
|
id: string;
|
3428
3316
|
label: string;
|
3429
|
-
iconPosition?: 'left' | 'right';
|
3430
|
-
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3431
3317
|
}
|
3432
3318
|
|
3433
3319
|
export declare interface ITable {
|
@@ -3499,7 +3385,6 @@ declare interface ITabsProps {
|
|
3499
3385
|
selectedTab: string;
|
3500
3386
|
onChange: (tab: string) => void;
|
3501
3387
|
tabs: ITabItem[];
|
3502
|
-
background?: TColorNames;
|
3503
3388
|
}
|
3504
3389
|
|
3505
3390
|
export declare interface ITabVariantConfig {
|
@@ -3904,6 +3789,12 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3904
3789
|
};
|
3905
3790
|
}
|
3906
3791
|
|
3792
|
+
declare interface IUseViewportReturn {
|
3793
|
+
isCompact: boolean;
|
3794
|
+
isMobile: boolean;
|
3795
|
+
isDesktop: boolean;
|
3796
|
+
}
|
3797
|
+
|
3907
3798
|
declare interface IUseWorksheetLayout {
|
3908
3799
|
(options: {
|
3909
3800
|
userType: TUserTypes;
|
@@ -4293,8 +4184,6 @@ declare const LESSON_TAG_TYPE: {
|
|
4293
4184
|
readonly DEFAULT: "DEFAULT";
|
4294
4185
|
};
|
4295
4186
|
|
4296
|
-
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4297
|
-
|
4298
4187
|
export declare const loadScript: ILoadScript;
|
4299
4188
|
|
4300
4189
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4309,7 +4198,6 @@ export declare const LOTTIE: {
|
|
4309
4198
|
ACTIVITY: string;
|
4310
4199
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4311
4200
|
ALL_DONE: string;
|
4312
|
-
ANIMATED_AVATAR: string;
|
4313
4201
|
AVATAR_SELECTED: string;
|
4314
4202
|
BEGINNER1X: string;
|
4315
4203
|
BRONZE_1: string;
|
@@ -4341,14 +4229,12 @@ export declare const LOTTIE: {
|
|
4341
4229
|
FAMILIAR1X: string;
|
4342
4230
|
FIFTEEN_MIN_CLOCK: string;
|
4343
4231
|
FIVE_MIN_CLOCK: string;
|
4344
|
-
FLYING_DISK: string;
|
4345
4232
|
GIFT: string;
|
4346
4233
|
GOLD_1: string;
|
4347
4234
|
GOLD_2: string;
|
4348
4235
|
GOLD_3: string;
|
4349
4236
|
GOLF: string;
|
4350
4237
|
GRADE: string;
|
4351
|
-
GRADUATION_CAP: string;
|
4352
4238
|
HIGH_SCORE_CONFETTI: string;
|
4353
4239
|
HIGH_SCORE_TEXT: string;
|
4354
4240
|
INFINITE_BUTTON_BG: string;
|
@@ -4359,21 +4245,17 @@ export declare const LOTTIE: {
|
|
4359
4245
|
LEVELUP_RINGS: string;
|
4360
4246
|
LEVEL_1_ALLSTAR: string;
|
4361
4247
|
LIGHTNING: string;
|
4362
|
-
LIGHT_BULB: string;
|
4363
4248
|
MAGICWAND: string;
|
4364
4249
|
MAIL: string;
|
4365
4250
|
MECHANICAL_ARM: string;
|
4366
4251
|
MEDAL: string;
|
4367
4252
|
MEDIUM: string;
|
4368
|
-
MUSCLE: string;
|
4369
4253
|
NUDGE_TAP: string;
|
4370
4254
|
OTP: string;
|
4371
4255
|
PARENT_AVATAR: string;
|
4372
4256
|
PARTY_BALL: string;
|
4373
4257
|
PARTY_POPPER: string;
|
4374
|
-
PENCIL: string;
|
4375
4258
|
PHONE_NUMBER: string;
|
4376
|
-
PLUS_SIGN: string;
|
4377
4259
|
POINT100: string;
|
4378
4260
|
POINT10: string;
|
4379
4261
|
POINT15: string;
|
@@ -4394,12 +4276,9 @@ export declare const LOTTIE: {
|
|
4394
4276
|
PROFICIENT1X: string;
|
4395
4277
|
PROJECT: string;
|
4396
4278
|
PUZZLE: string;
|
4397
|
-
RACING_CAR: string;
|
4398
4279
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4399
4280
|
RECAP: string;
|
4400
|
-
ROCKET: string;
|
4401
4281
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4402
|
-
SHOVEL: string;
|
4403
4282
|
SILVER_1: string;
|
4404
4283
|
SILVER_2: string;
|
4405
4284
|
SILVER_3: string;
|
@@ -4462,8 +4341,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4462
4341
|
|
4463
4342
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4464
4343
|
|
4465
|
-
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4466
|
-
|
4467
4344
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4468
4345
|
|
4469
4346
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4617,12 +4494,8 @@ declare interface NumRangeInputProps {
|
|
4617
4494
|
endPlaceholder?: string;
|
4618
4495
|
}
|
4619
4496
|
|
4620
|
-
export declare const OnboardingGuide: () => JSX.Element;
|
4621
|
-
|
4622
4497
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4623
4498
|
|
4624
|
-
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4625
|
-
|
4626
4499
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4627
4500
|
|
4628
4501
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4635,8 +4508,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4635
4508
|
|
4636
4509
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4637
4510
|
|
4638
|
-
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4639
|
-
|
4640
4511
|
/**
|
4641
4512
|
** Global/Platform specific events that needs to be tracked goes here
|
4642
4513
|
** Naming convention needs to be snake_case
|
@@ -4816,8 +4687,6 @@ declare enum SECTION_CODE {
|
|
4816
4687
|
|
4817
4688
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4818
4689
|
|
4819
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4820
|
-
|
4821
4690
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4822
4691
|
|
4823
4692
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4873,12 +4742,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4873
4742
|
|
4874
4743
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4875
4744
|
|
4876
|
-
export declare const SignupHeader: () => JSX.Element;
|
4877
|
-
|
4878
4745
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4879
4746
|
|
4880
|
-
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4881
|
-
|
4882
4747
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4883
4748
|
export { SketchIcon as ScribbleIcon }
|
4884
4749
|
export { SketchIcon }
|
@@ -4932,19 +4797,6 @@ declare const STICKER_BADGE: {
|
|
4932
4797
|
AWESOME: string;
|
4933
4798
|
};
|
4934
4799
|
|
4935
|
-
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
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
|
-
}
|
4945
|
-
|
4946
|
-
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
4947
|
-
|
4948
4800
|
export declare const StreakIcon: React_2.FC<IStreakIconProps>;
|
4949
4801
|
|
4950
4802
|
export declare class StreakReductionLocalStorageUtil {
|
@@ -4973,7 +4825,7 @@ declare const TAB_CODES: {
|
|
4973
4825
|
|
4974
4826
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4975
4827
|
|
4976
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs
|
4828
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4977
4829
|
|
4978
4830
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4979
4831
|
|
@@ -5062,7 +4914,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5062
4914
|
|
5063
4915
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5064
4916
|
|
5065
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark'
|
4917
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5066
4918
|
|
5067
4919
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5068
4920
|
|
@@ -5183,6 +5035,8 @@ declare type TCueProgramData = {
|
|
5183
5035
|
|
5184
5036
|
declare type TDefaultSection = Record<string, unknown>;
|
5185
5037
|
|
5038
|
+
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5039
|
+
|
5186
5040
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5187
5041
|
|
5188
5042
|
declare type TEnglishSectionSummary = {
|
@@ -5194,7 +5048,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5194
5048
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5195
5049
|
|
5196
5050
|
/**
|
5197
|
-
* @param $renderAs
|
5051
|
+
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5198
5052
|
*/
|
5199
5053
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5200
5054
|
export { Text_2 as Text }
|
@@ -5216,8 +5070,6 @@ declare interface TextProps {
|
|
5216
5070
|
$inline?: boolean;
|
5217
5071
|
$textDecoration?: string;
|
5218
5072
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5219
|
-
$renderOnMobileAs?: TTextVariants;
|
5220
|
-
$renderOnTabletAs?: TTextVariants;
|
5221
5073
|
}
|
5222
5074
|
|
5223
5075
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -6317,6 +6169,8 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6317
6169
|
|
6318
6170
|
export declare const useUIContext: () => UIContextProps;
|
6319
6171
|
|
6172
|
+
export declare const useViewport: () => IUseViewportReturn;
|
6173
|
+
|
6320
6174
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6321
6175
|
|
6322
6176
|
export declare const useZoomDisable: () => void;
|