@cuemath/leap 3.2.15-link.3 → 3.2.15-mb
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 -6
- 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/trial-session/comps/student-profile/student-profile.js +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js +50 -7
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js +69 -15
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.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/inputs/base-input/base-input.js +11 -11
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +18 -19
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +58 -69
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +14 -50
- 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 +38 -44
- 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 -212
- package/dist/index.js +583 -615
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- 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/assets/line-icons/icons/star3.js +0 -32
- package/dist/assets/line-icons/icons/star3.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/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +0 -49
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +0 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +0 -64
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +0 -1
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js +0 -28
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js.map +0 -1
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +0 -83
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +0 -1
- package/dist/features/ui/accordion/accordion.js +0 -62
- package/dist/features/ui/accordion/accordion.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/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/stripe-blurple.6abf422f.svg +0 -1
- package/dist/static/trustpilot.bd3d79e1.svg +0 -1
package/dist/index.d.ts
CHANGED
@@ -33,18 +33,6 @@ import { ResourceModel } from '@cuemath/rest-api';
|
|
33
33
|
import type { SetStateAction } from 'react';
|
34
34
|
import { Substitute } from 'styled-components/dist/types';
|
35
35
|
|
36
|
-
export declare const Accordion: NamedExoticComponent<AccordionProps>;
|
37
|
-
|
38
|
-
declare interface AccordionProps {
|
39
|
-
theme?: AccordionTheme;
|
40
|
-
visibleBuffer: number;
|
41
|
-
defaultOpenElement?: number;
|
42
|
-
accordionData: Array<{
|
43
|
-
accordionQuestion: string;
|
44
|
-
accordionAnswer: React.ReactNode | string;
|
45
|
-
}>;
|
46
|
-
}
|
47
|
-
|
48
36
|
/**
|
49
37
|
* AccordionSection component.
|
50
38
|
*
|
@@ -53,8 +41,6 @@ declare interface AccordionProps {
|
|
53
41
|
*/
|
54
42
|
export declare const AccordionSection: FC<IAccordionSectionProps>;
|
55
43
|
|
56
|
-
declare type AccordionTheme = 'light' | 'dark';
|
57
|
-
|
58
44
|
export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
|
59
45
|
|
60
46
|
export declare const ACHIEVEMENT_ACTIONS: {
|
@@ -66,14 +52,10 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
66
52
|
|
67
53
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
68
54
|
|
69
|
-
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
70
|
-
|
71
55
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
72
56
|
|
73
57
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
74
58
|
|
75
|
-
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
76
|
-
|
77
59
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
78
60
|
|
79
61
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
@@ -114,8 +96,6 @@ export declare const BackgroundImage: ({ img }: {
|
|
114
96
|
|
115
97
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
116
98
|
|
117
|
-
export declare const BaseInput: React_2.FC<IBaseInputProps>;
|
118
|
-
|
119
99
|
declare interface BaseProject {
|
120
100
|
id: string;
|
121
101
|
name: string;
|
@@ -364,8 +344,6 @@ export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
364
344
|
|
365
345
|
export declare const DragIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
366
346
|
|
367
|
-
export declare const Drawer: FC<IDrawerProps>;
|
368
|
-
|
369
347
|
export declare const DynamicPreviewWorksheet: FC<IDynamicWorksheetPreview>;
|
370
348
|
|
371
349
|
export declare enum EClassTimeAlertLevel {
|
@@ -373,15 +351,6 @@ export declare enum EClassTimeAlertLevel {
|
|
373
351
|
FIFTEEN_MIN = "15min"
|
374
352
|
}
|
375
353
|
|
376
|
-
export declare enum EDeviceType {
|
377
|
-
MOBILE = 0,
|
378
|
-
TABLET = 1,
|
379
|
-
SMALL_DESKTOP = 2,
|
380
|
-
DESKTOP = 3,
|
381
|
-
LARGE_DEVICE = 4,
|
382
|
-
XLARGE_DEVICE = 5
|
383
|
-
}
|
384
|
-
|
385
354
|
export declare const Edit2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
386
355
|
|
387
356
|
export declare const EditIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -438,8 +407,6 @@ declare interface ErrorProps {
|
|
438
407
|
handleClick: () => void;
|
439
408
|
}
|
440
409
|
|
441
|
-
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
442
|
-
|
443
410
|
export declare const EVENTS: {
|
444
411
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
445
412
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -550,7 +517,7 @@ declare const getCheckboxConfig: IGetCheckboxConfig;
|
|
550
517
|
|
551
518
|
declare function getColors(): TColorsMap;
|
552
519
|
|
553
|
-
declare const getDevice: (width: number) =>
|
520
|
+
declare const getDevice: (width: number) => TDeviceType;
|
554
521
|
|
555
522
|
declare const getInputConfig: IGetInputConfig;
|
556
523
|
|
@@ -573,30 +540,6 @@ export declare const getTheme: () => DefaultTheme;
|
|
573
540
|
|
574
541
|
declare function getZIndexConfig(): TZIndexMap;
|
575
542
|
|
576
|
-
export declare const GIF: {
|
577
|
-
BOBWAVE: string;
|
578
|
-
EASY_RESCHEDULING: string;
|
579
|
-
ENRICHMENT: string;
|
580
|
-
ENRICHMENT_MINI: string;
|
581
|
-
GAMES: string;
|
582
|
-
JIGII_WAVE: string;
|
583
|
-
LEARNING_SESSION: string;
|
584
|
-
MAX_WAVE: string;
|
585
|
-
PUZZLES: string;
|
586
|
-
SCHOOL_SUCCESS: string;
|
587
|
-
SCHOOL_SUCCESS_MINI: string;
|
588
|
-
SKILLS: string;
|
589
|
-
SPECKIE_WAVE: string;
|
590
|
-
STAY_CONNECTED: string;
|
591
|
-
TERA_WAVE: string;
|
592
|
-
TEST_PREP: string;
|
593
|
-
TEST_PREP_MINI: string;
|
594
|
-
TRACK_PROGRESS: string;
|
595
|
-
VINNIE_WAVE: string;
|
596
|
-
WAY_FORWARD: string;
|
597
|
-
YOUR_GOALS: string;
|
598
|
-
};
|
599
|
-
|
600
543
|
declare const GOAL_CATEGORY: {
|
601
544
|
readonly SCHOOL_SUCCESS: "SCHOOL_SUCCESS";
|
602
545
|
readonly TEST_PREP: "TEST_PREP";
|
@@ -686,20 +629,6 @@ declare interface IAnimatedArcProps {
|
|
686
629
|
showAnimatedRainbowArc?: boolean;
|
687
630
|
}
|
688
631
|
|
689
|
-
declare interface IAnimatedAvatarMessageProps {
|
690
|
-
message: string;
|
691
|
-
onShowContent: (show: boolean) => void;
|
692
|
-
confirmationFrames: [number, number];
|
693
|
-
confirmationMessage?: string;
|
694
|
-
isConfirmationVisible?: boolean;
|
695
|
-
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
696
|
-
}
|
697
|
-
|
698
|
-
export declare type IAnimatedAvatarMessageRef = {
|
699
|
-
fadeOutMessage: () => Promise<void>;
|
700
|
-
playConfirmationFrames: () => Promise<void>;
|
701
|
-
};
|
702
|
-
|
703
632
|
declare interface IAppLoaderProps {
|
704
633
|
width?: string | number;
|
705
634
|
height?: string | number;
|
@@ -744,7 +673,6 @@ declare interface IAuthPageLayoutProps {
|
|
744
673
|
leftBlock: ReactElement;
|
745
674
|
rightBlock?: ReactElement;
|
746
675
|
isFullWidth?: boolean;
|
747
|
-
rightBlockBg?: TColorNames;
|
748
676
|
}
|
749
677
|
|
750
678
|
declare interface IAuthStaticPanelProps {
|
@@ -1401,16 +1329,6 @@ declare interface IDigitalMeterProps {
|
|
1401
1329
|
actAsTimer?: boolean;
|
1402
1330
|
}
|
1403
1331
|
|
1404
|
-
declare interface IDrawerProps {
|
1405
|
-
isOpen: boolean;
|
1406
|
-
onClose?: () => void;
|
1407
|
-
children: ReactNode;
|
1408
|
-
drawerWidth?: number | string;
|
1409
|
-
position?: 'left' | 'right';
|
1410
|
-
zIndex?: number;
|
1411
|
-
theme: 'light' | 'dark';
|
1412
|
-
}
|
1413
|
-
|
1414
1332
|
declare interface IDynamicWorksheetPreview {
|
1415
1333
|
studentId: string;
|
1416
1334
|
userNodeId: string;
|
@@ -1449,7 +1367,6 @@ declare interface IErrorProps {
|
|
1449
1367
|
theme?: 'light' | 'dark';
|
1450
1368
|
title?: string;
|
1451
1369
|
description?: string;
|
1452
|
-
size?: 'compact' | 'full';
|
1453
1370
|
}
|
1454
1371
|
|
1455
1372
|
declare interface IExpandableHeaderProps {
|
@@ -1670,7 +1587,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1670
1587
|
}
|
1671
1588
|
|
1672
1589
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1673
|
-
withLoader
|
1590
|
+
withLoader: boolean;
|
1674
1591
|
borderRadius?: number;
|
1675
1592
|
borderColor?: TColorNames;
|
1676
1593
|
}
|
@@ -2043,14 +1960,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
2043
1960
|
targetQuestions: number;
|
2044
1961
|
}
|
2045
1962
|
|
2046
|
-
declare interface ILinearProgressBarProps {
|
2047
|
-
percentage: number;
|
2048
|
-
height?: number;
|
2049
|
-
backgroundColor?: TColorNames;
|
2050
|
-
fillColor?: TColorNames;
|
2051
|
-
borderRadius?: number;
|
2052
|
-
}
|
2053
|
-
|
2054
1963
|
export declare const ILLUSTRATIONS: {
|
2055
1964
|
ALARM_CLOCK_ORANGE: string;
|
2056
1965
|
ALARM_CLOCK_PURPLE: string;
|
@@ -2067,7 +1976,6 @@ export declare const ILLUSTRATIONS: {
|
|
2067
1976
|
CALENDAR_BLUE: string;
|
2068
1977
|
CALENDAR_GRAY: string;
|
2069
1978
|
CALENDAR_GREEN: string;
|
2070
|
-
CALENDAR_PURPLE: string;
|
2071
1979
|
CAUTION: string;
|
2072
1980
|
CHAPTER_10: string;
|
2073
1981
|
CHAPTER_1: string;
|
@@ -2107,7 +2015,6 @@ export declare const ILLUSTRATIONS: {
|
|
2107
2015
|
GRADUATE_PINK_FILLED_BG: string;
|
2108
2016
|
GREEN_BALLOON: string;
|
2109
2017
|
GREEN_FACE: string;
|
2110
|
-
HANDSHAKE: string;
|
2111
2018
|
LEARNED_SHIELD_GRAY: string;
|
2112
2019
|
LEARNED_SHIELD_GREEN: string;
|
2113
2020
|
LEARNT: string;
|
@@ -2126,7 +2033,6 @@ export declare const ILLUSTRATIONS: {
|
|
2126
2033
|
MILESTONE_INTRO_2: string;
|
2127
2034
|
MILESTONE_INTRO_3: string;
|
2128
2035
|
MISTAKE: string;
|
2129
|
-
MONEY: string;
|
2130
2036
|
NODE_ACTIVITY_BG: string;
|
2131
2037
|
NODE_CUSTOM_TEST_BG: string;
|
2132
2038
|
NODE_DOWNLOAD_BG: string;
|
@@ -2144,7 +2050,6 @@ export declare const ILLUSTRATIONS: {
|
|
2144
2050
|
NUMBER_4_ORANGE: string;
|
2145
2051
|
ONE_STAR_FILLED: string;
|
2146
2052
|
ORANGE_FACE: string;
|
2147
|
-
PARENT_AVATAR: string;
|
2148
2053
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2149
2054
|
PLAY: string;
|
2150
2055
|
PLAY_ICON: string;
|
@@ -2172,7 +2077,6 @@ export declare const ILLUSTRATIONS: {
|
|
2172
2077
|
STAR_WITH_GREEN_FILL: string;
|
2173
2078
|
STREAK_GREEN: string;
|
2174
2079
|
STREAK_WHITE: string;
|
2175
|
-
STRIPE_BLURPLE: string;
|
2176
2080
|
TEST_DIFFICULTY_EASY: string;
|
2177
2081
|
TEST_DIFFICULTY_HARD: string;
|
2178
2082
|
TEST_DIFFICULTY_MEDIUM: string;
|
@@ -2182,7 +2086,6 @@ export declare const ILLUSTRATIONS: {
|
|
2182
2086
|
TROPHY_BLUE_FILLED: string;
|
2183
2087
|
TROPHY_CIRCLE: string;
|
2184
2088
|
TROPHY_GREEN: string;
|
2185
|
-
TRUSTPILOT: string;
|
2186
2089
|
TWO_STARS_FILLED: string;
|
2187
2090
|
UP_ARROW: string;
|
2188
2091
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2538,7 +2441,7 @@ export declare interface IModal {
|
|
2538
2441
|
/** Content to display inside the modal */
|
2539
2442
|
element: ReactElement;
|
2540
2443
|
/** Rendering style of the modal */
|
2541
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | '
|
2444
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'fullscreen-transparent';
|
2542
2445
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2543
2446
|
isDismissable?: boolean;
|
2544
2447
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2715,14 +2618,6 @@ declare interface IOpenImageReviewModalProps {
|
|
2715
2618
|
image?: string;
|
2716
2619
|
}
|
2717
2620
|
|
2718
|
-
declare interface IOTPInputProps {
|
2719
|
-
length?: number;
|
2720
|
-
value: string;
|
2721
|
-
onChange: (val: string) => void;
|
2722
|
-
error?: string;
|
2723
|
-
isBusy?: boolean;
|
2724
|
-
}
|
2725
|
-
|
2726
2621
|
declare interface IOTPResendProps {
|
2727
2622
|
onResendOTP: () => void;
|
2728
2623
|
onResendVoiceOTP?: () => void;
|
@@ -2731,8 +2626,6 @@ declare interface IOTPResendProps {
|
|
2731
2626
|
disabled?: boolean;
|
2732
2627
|
renderAs?: 'submit' | 'text';
|
2733
2628
|
width?: number | string;
|
2734
|
-
textButtonColor?: TColorNames;
|
2735
|
-
size?: 'small' | 'xsmall';
|
2736
2629
|
}
|
2737
2630
|
|
2738
2631
|
declare interface IOutcomeConfig {
|
@@ -2770,18 +2663,6 @@ declare interface IPerfectHitsProps {
|
|
2770
2663
|
value: number;
|
2771
2664
|
}
|
2772
2665
|
|
2773
|
-
declare interface IPillButtonProps {
|
2774
|
-
id: string;
|
2775
|
-
label: string;
|
2776
|
-
selected?: boolean;
|
2777
|
-
disabled?: boolean;
|
2778
|
-
animatedLabel?: string;
|
2779
|
-
icon?: string;
|
2780
|
-
onClick: (val: string) => void;
|
2781
|
-
tooltip?: string;
|
2782
|
-
width?: number | string;
|
2783
|
-
}
|
2784
|
-
|
2785
2666
|
declare interface IPlaceholder {
|
2786
2667
|
text?: string;
|
2787
2668
|
marks?: string;
|
@@ -3160,15 +3041,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3160
3041
|
data: Section[];
|
3161
3042
|
}
|
3162
3043
|
|
3163
|
-
declare interface ISelectableInfoCardProps {
|
3164
|
-
id: string;
|
3165
|
-
title: string;
|
3166
|
-
description: string;
|
3167
|
-
icon: string;
|
3168
|
-
selected: boolean;
|
3169
|
-
onClick: (val: string) => void;
|
3170
|
-
}
|
3171
|
-
|
3172
3044
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3173
3045
|
}
|
3174
3046
|
|
@@ -3303,15 +3175,6 @@ declare interface ISignupMethodsProps {
|
|
3303
3175
|
loadingProvider: TSocialAuthProvider | null;
|
3304
3176
|
}
|
3305
3177
|
|
3306
|
-
declare interface ISignupOptionsProps {
|
3307
|
-
onEmailSignup: () => void;
|
3308
|
-
onGoogleSignup: () => void;
|
3309
|
-
onAppleSignup: () => void;
|
3310
|
-
onGoToLogin: () => void;
|
3311
|
-
loadingProvider: TSocialAuthProvider | null;
|
3312
|
-
title?: string;
|
3313
|
-
}
|
3314
|
-
|
3315
3178
|
export declare interface ISignUpProps {
|
3316
3179
|
circleOnLeapSignedUp: boolean;
|
3317
3180
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3371,14 +3234,14 @@ declare interface IStepperProps {
|
|
3371
3234
|
currentStep: number;
|
3372
3235
|
}
|
3373
3236
|
|
3374
|
-
declare interface IStickerData {
|
3237
|
+
export declare interface IStickerData {
|
3375
3238
|
id: string;
|
3376
3239
|
emoji: string;
|
3377
3240
|
lottieUrl?: string;
|
3378
|
-
name
|
3241
|
+
name: string;
|
3379
3242
|
}
|
3380
3243
|
|
3381
|
-
declare interface IStickerGridProps {
|
3244
|
+
export declare interface IStickerGridProps {
|
3382
3245
|
stickers: IStickerData[];
|
3383
3246
|
columns?: number;
|
3384
3247
|
gap?: number;
|
@@ -3386,10 +3249,24 @@ declare interface IStickerGridProps {
|
|
3386
3249
|
onStickerClick?: (sticker: IStickerData) => void;
|
3387
3250
|
}
|
3388
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
|
+
|
3389
3267
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3390
3268
|
value: number;
|
3391
3269
|
blink?: boolean;
|
3392
|
-
isInteractive?: boolean;
|
3393
3270
|
}
|
3394
3271
|
|
3395
3272
|
export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
|
@@ -3467,8 +3344,6 @@ declare interface ISyncableWebGameProps {
|
|
3467
3344
|
declare interface ITabItem {
|
3468
3345
|
id: string;
|
3469
3346
|
label: string;
|
3470
|
-
iconPosition?: 'left' | 'right';
|
3471
|
-
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3472
3347
|
}
|
3473
3348
|
|
3474
3349
|
export declare interface ITable {
|
@@ -3540,7 +3415,6 @@ declare interface ITabsProps {
|
|
3540
3415
|
selectedTab: string;
|
3541
3416
|
onChange: (tab: string) => void;
|
3542
3417
|
tabs: ITabItem[];
|
3543
|
-
background?: TColorNames;
|
3544
3418
|
}
|
3545
3419
|
|
3546
3420
|
export declare interface ITabVariantConfig {
|
@@ -3599,20 +3473,6 @@ declare interface ITalkMeterProps extends ITalkMeter {
|
|
3599
3473
|
animated?: boolean;
|
3600
3474
|
}
|
3601
3475
|
|
3602
|
-
declare interface ITeacherProfileDetails {
|
3603
|
-
lower_grade: string;
|
3604
|
-
higher_grade: string;
|
3605
|
-
header_image: string;
|
3606
|
-
years_of_experience: number;
|
3607
|
-
number_of_students_taught: number;
|
3608
|
-
countries: string[];
|
3609
|
-
degree: TDegreeInformation;
|
3610
|
-
}
|
3611
|
-
|
3612
|
-
declare interface ITeacherProfileProps {
|
3613
|
-
teacherProfile?: ITeacherProfileDetails;
|
3614
|
-
}
|
3615
|
-
|
3616
3476
|
declare interface ITeacherReview {
|
3617
3477
|
reviewComment?: string;
|
3618
3478
|
images?: string[];
|
@@ -3959,6 +3819,12 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3959
3819
|
};
|
3960
3820
|
}
|
3961
3821
|
|
3822
|
+
declare interface IUseViewportReturn {
|
3823
|
+
isCompact: boolean;
|
3824
|
+
isMobile: boolean;
|
3825
|
+
isDesktop: boolean;
|
3826
|
+
}
|
3827
|
+
|
3962
3828
|
declare interface IUseWorksheetLayout {
|
3963
3829
|
(options: {
|
3964
3830
|
userType: TUserTypes;
|
@@ -4348,8 +4214,6 @@ declare const LESSON_TAG_TYPE: {
|
|
4348
4214
|
readonly DEFAULT: "DEFAULT";
|
4349
4215
|
};
|
4350
4216
|
|
4351
|
-
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4352
|
-
|
4353
4217
|
export declare const loadScript: ILoadScript;
|
4354
4218
|
|
4355
4219
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4364,7 +4228,6 @@ export declare const LOTTIE: {
|
|
4364
4228
|
ACTIVITY: string;
|
4365
4229
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4366
4230
|
ALL_DONE: string;
|
4367
|
-
ANIMATED_AVATAR: string;
|
4368
4231
|
AVATAR_SELECTED: string;
|
4369
4232
|
BEGINNER1X: string;
|
4370
4233
|
BRONZE_1: string;
|
@@ -4396,14 +4259,12 @@ export declare const LOTTIE: {
|
|
4396
4259
|
FAMILIAR1X: string;
|
4397
4260
|
FIFTEEN_MIN_CLOCK: string;
|
4398
4261
|
FIVE_MIN_CLOCK: string;
|
4399
|
-
FLYING_DISK: string;
|
4400
4262
|
GIFT: string;
|
4401
4263
|
GOLD_1: string;
|
4402
4264
|
GOLD_2: string;
|
4403
4265
|
GOLD_3: string;
|
4404
4266
|
GOLF: string;
|
4405
4267
|
GRADE: string;
|
4406
|
-
GRADUATION_CAP: string;
|
4407
4268
|
HIGH_SCORE_CONFETTI: string;
|
4408
4269
|
HIGH_SCORE_TEXT: string;
|
4409
4270
|
INFINITE_BUTTON_BG: string;
|
@@ -4414,21 +4275,17 @@ export declare const LOTTIE: {
|
|
4414
4275
|
LEVELUP_RINGS: string;
|
4415
4276
|
LEVEL_1_ALLSTAR: string;
|
4416
4277
|
LIGHTNING: string;
|
4417
|
-
LIGHT_BULB: string;
|
4418
4278
|
MAGICWAND: string;
|
4419
4279
|
MAIL: string;
|
4420
4280
|
MECHANICAL_ARM: string;
|
4421
4281
|
MEDAL: string;
|
4422
4282
|
MEDIUM: string;
|
4423
|
-
MUSCLE: string;
|
4424
4283
|
NUDGE_TAP: string;
|
4425
4284
|
OTP: string;
|
4426
4285
|
PARENT_AVATAR: string;
|
4427
4286
|
PARTY_BALL: string;
|
4428
4287
|
PARTY_POPPER: string;
|
4429
|
-
PENCIL: string;
|
4430
4288
|
PHONE_NUMBER: string;
|
4431
|
-
PLUS_SIGN: string;
|
4432
4289
|
POINT100: string;
|
4433
4290
|
POINT10: string;
|
4434
4291
|
POINT15: string;
|
@@ -4449,12 +4306,9 @@ export declare const LOTTIE: {
|
|
4449
4306
|
PROFICIENT1X: string;
|
4450
4307
|
PROJECT: string;
|
4451
4308
|
PUZZLE: string;
|
4452
|
-
RACING_CAR: string;
|
4453
4309
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4454
4310
|
RECAP: string;
|
4455
|
-
ROCKET: string;
|
4456
4311
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4457
|
-
SHOVEL: string;
|
4458
4312
|
SILVER_1: string;
|
4459
4313
|
SILVER_2: string;
|
4460
4314
|
SILVER_3: string;
|
@@ -4517,8 +4371,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4517
4371
|
|
4518
4372
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4519
4373
|
|
4520
|
-
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4521
|
-
|
4522
4374
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4523
4375
|
|
4524
4376
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4672,12 +4524,8 @@ declare interface NumRangeInputProps {
|
|
4672
4524
|
endPlaceholder?: string;
|
4673
4525
|
}
|
4674
4526
|
|
4675
|
-
export declare const OnboardingGuide: () => JSX.Element;
|
4676
|
-
|
4677
4527
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4678
4528
|
|
4679
|
-
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4680
|
-
|
4681
4529
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4682
4530
|
|
4683
4531
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4690,8 +4538,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4690
4538
|
|
4691
4539
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4692
4540
|
|
4693
|
-
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4694
|
-
|
4695
4541
|
/**
|
4696
4542
|
** Global/Platform specific events that needs to be tracked goes here
|
4697
4543
|
** Naming convention needs to be snake_case
|
@@ -4871,8 +4717,6 @@ declare enum SECTION_CODE {
|
|
4871
4717
|
|
4872
4718
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4873
4719
|
|
4874
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4875
|
-
|
4876
4720
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4877
4721
|
|
4878
4722
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4928,12 +4772,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4928
4772
|
|
4929
4773
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4930
4774
|
|
4931
|
-
export declare const SignupHeader: () => JSX.Element;
|
4932
|
-
|
4933
4775
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4934
4776
|
|
4935
|
-
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4936
|
-
|
4937
4777
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4938
4778
|
export { SketchIcon as ScribbleIcon }
|
4939
4779
|
export { SketchIcon }
|
@@ -4960,8 +4800,6 @@ export declare const STAGES: {
|
|
4960
4800
|
|
4961
4801
|
export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4962
4802
|
|
4963
|
-
export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4964
|
-
|
4965
4803
|
export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4966
4804
|
|
4967
4805
|
export declare enum State {
|
@@ -4989,16 +4827,9 @@ declare const STICKER_BADGE: {
|
|
4989
4827
|
AWESOME: string;
|
4990
4828
|
};
|
4991
4829
|
|
4992
|
-
declare
|
4830
|
+
export declare const stickerData: IStickerData[];
|
4993
4831
|
|
4994
|
-
export declare const
|
4995
|
-
|
4996
|
-
declare interface StickersProps {
|
4997
|
-
stickers: string[];
|
4998
|
-
effect: StickerEffect;
|
4999
|
-
count: number;
|
5000
|
-
duration: number;
|
5001
|
-
}
|
4832
|
+
export declare const StickersEffects: React_2.NamedExoticComponent<IStickersProps>;
|
5002
4833
|
|
5003
4834
|
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
5004
4835
|
|
@@ -5030,7 +4861,7 @@ declare const TAB_CODES: {
|
|
5030
4861
|
|
5031
4862
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
5032
4863
|
|
5033
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs
|
4864
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
5034
4865
|
|
5035
4866
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
5036
4867
|
|
@@ -5119,7 +4950,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5119
4950
|
|
5120
4951
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5121
4952
|
|
5122
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark'
|
4953
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5123
4954
|
|
5124
4955
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5125
4956
|
|
@@ -5240,15 +5071,10 @@ declare type TCueProgramData = {
|
|
5240
5071
|
|
5241
5072
|
declare type TDefaultSection = Record<string, unknown>;
|
5242
5073
|
|
5243
|
-
declare type
|
5244
|
-
degree_name?: string;
|
5245
|
-
field_of_study?: string;
|
5246
|
-
};
|
5074
|
+
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5247
5075
|
|
5248
5076
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5249
5077
|
|
5250
|
-
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
5251
|
-
|
5252
5078
|
declare type TEnglishSectionSummary = {
|
5253
5079
|
section_code: 'READING & WRITING';
|
5254
5080
|
} & TSectionSummary;
|
@@ -5258,7 +5084,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5258
5084
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5259
5085
|
|
5260
5086
|
/**
|
5261
|
-
* @param $renderAs
|
5087
|
+
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5262
5088
|
*/
|
5263
5089
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5264
5090
|
export { Text_2 as Text }
|
@@ -5280,9 +5106,6 @@ declare interface TextProps {
|
|
5280
5106
|
$inline?: boolean;
|
5281
5107
|
$textDecoration?: string;
|
5282
5108
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5283
|
-
$renderOnMobileAs?: TTextVariants;
|
5284
|
-
$renderOnTabletAs?: TTextVariants;
|
5285
|
-
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
5286
5109
|
}
|
5287
5110
|
|
5288
5111
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5926,7 +5749,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
|
|
5926
5749
|
declare type TRewardHomeData = {
|
5927
5750
|
user_badges: TBadgeData[] | [];
|
5928
5751
|
user_rewards: TRewardsData[] | [];
|
5929
|
-
user_stickers:
|
5752
|
+
user_stickers: TStickerData_2[] | [];
|
5930
5753
|
};
|
5931
5754
|
|
5932
5755
|
declare type TRewardsData = {
|
@@ -6054,7 +5877,17 @@ export declare type TSkillStatus = 'pending' | 'completed';
|
|
6054
5877
|
|
6055
5878
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
6056
5879
|
|
6057
|
-
declare type TStickerData = {
|
5880
|
+
export declare type TStickerData = {
|
5881
|
+
id: number;
|
5882
|
+
sticker: string;
|
5883
|
+
x: number;
|
5884
|
+
y: number;
|
5885
|
+
size: number;
|
5886
|
+
fromX?: string;
|
5887
|
+
fromY?: string;
|
5888
|
+
};
|
5889
|
+
|
5890
|
+
declare type TStickerData_2 = {
|
6058
5891
|
actor_id: string;
|
6059
5892
|
badge_id: string;
|
6060
5893
|
badge_type: string;
|
@@ -6067,6 +5900,8 @@ declare type TStickerData = {
|
|
6067
5900
|
user_type: string;
|
6068
5901
|
};
|
6069
5902
|
|
5903
|
+
export declare type TStickerEffect = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
|
5904
|
+
|
6070
5905
|
export declare type TStreakStatus = 'pending' | 'completed';
|
6071
5906
|
|
6072
5907
|
declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
|
@@ -6382,6 +6217,8 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6382
6217
|
|
6383
6218
|
export declare const useUIContext: () => UIContextProps;
|
6384
6219
|
|
6220
|
+
export declare const useViewport: () => IUseViewportReturn;
|
6221
|
+
|
6385
6222
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6386
6223
|
|
6387
6224
|
export declare const useZoomDisable: () => void;
|