@cuemath/leap 3.2.9-pzd-0.3 → 3.2.10-hg1
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 -1
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +0 -5
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +1 -2
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +4 -6
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +8 -10
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +23 -22
- 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 -13
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +30 -31
- 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 +35 -34
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +14 -15
- 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 +6 -7
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
- package/dist/features/auth/login/login-styled.js +8 -9
- 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 +118 -95
- 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 +29 -28
- 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 +43 -42
- 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 +43 -35
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +26 -24
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +4 -7
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/homework/homework-card-view.js +97 -85
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +42 -44
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +29 -31
- package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list.js +50 -57
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +27 -33
- package/dist/features/homework/utils.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +18 -17
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +11 -17
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +2 -2
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card-styled.js +69 -24
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +30 -72
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +25 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +108 -89
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/utils/puzzle-pattern.js +13 -28
- package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js +86 -0
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
- package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
- package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
- package/dist/features/ui/sticker-grid/sticker.js +57 -0
- package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
- package/dist/features/ui/stickers/constants.js +6 -0
- package/dist/features/ui/stickers/constants.js.map +1 -0
- package/dist/features/ui/stickers/stickers-effects.js +64 -0
- package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
- package/dist/features/ui/stickers/stickers-styled.js +29 -0
- package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
- package/dist/features/ui/stickers/stickers-utils.js +91 -0
- package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
- package/dist/features/ui/stickers/stickers.js +40 -0
- package/dist/features/ui/stickers/stickers.js.map +1 -0
- package/dist/features/ui/text/text.js +40 -36
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/constants.js +4 -2
- 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/worksheet-helpers.js +19 -20
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +25 -29
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +47 -97
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +146 -149
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +207 -242
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +37 -37
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +313 -307
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +35 -44
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +45 -97
- package/dist/index.js +397 -403
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/hooks/use-viewport/use-viewport.js +0 -22
- package/dist/features/hooks/use-viewport/use-viewport.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +0 -72
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +0 -63
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +0 -67
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +0 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +0 -10
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +0 -1
- package/dist/features/puzzles/constants/puzzle-container.js +0 -8
- package/dist/features/puzzles/constants/puzzle-container.js.map +0 -1
- package/dist/features/puzzles/puzzle-analytics-events.js +0 -11
- package/dist/features/puzzles/puzzle-analytics-events.js.map +0 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +0 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +0 -37
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +0 -110
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
- package/dist/static/puzzle-blue-lottie.7017e2e8.json +0 -1
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +0 -12760
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +0 -1
- package/dist/static/puzzle-green-lottie.1da90698.json +0 -1
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +0 -1
- package/dist/static/puzzle-purple-lottie.e70de110.json +0 -9860
- package/dist/static/puzzle-yellow-lottie.275b5cf4.json +0 -1
package/dist/index.d.ts
CHANGED
@@ -351,6 +351,15 @@ export declare enum EClassTimeAlertLevel {
|
|
351
351
|
FIFTEEN_MIN = "15min"
|
352
352
|
}
|
353
353
|
|
354
|
+
export declare enum EDeviceType {
|
355
|
+
MOBILE = 0,
|
356
|
+
TABLET = 1,
|
357
|
+
SMALL_DESKTOP = 2,
|
358
|
+
DESKTOP = 3,
|
359
|
+
LARGE_DEVICE = 4,
|
360
|
+
XLARGE_DEVICE = 5
|
361
|
+
}
|
362
|
+
|
354
363
|
export declare const Edit2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
355
364
|
|
356
365
|
export declare const EditIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -408,9 +417,6 @@ declare interface ErrorProps {
|
|
408
417
|
}
|
409
418
|
|
410
419
|
export declare const EVENTS: {
|
411
|
-
PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
|
412
|
-
PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
|
413
|
-
PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
|
414
420
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
415
421
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
416
422
|
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
@@ -520,7 +526,7 @@ declare const getCheckboxConfig: IGetCheckboxConfig;
|
|
520
526
|
|
521
527
|
declare function getColors(): TColorsMap;
|
522
528
|
|
523
|
-
declare const getDevice: (width: number) =>
|
529
|
+
declare const getDevice: (width: number) => EDeviceType;
|
524
530
|
|
525
531
|
declare const getInputConfig: IGetInputConfig;
|
526
532
|
|
@@ -583,7 +589,6 @@ declare interface HWCardListProps extends INodeCardCallbacks {
|
|
583
589
|
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
584
590
|
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
585
591
|
canStartJourney?: boolean;
|
586
|
-
canStartPuzzleAssignedJourney?: boolean;
|
587
592
|
}
|
588
593
|
|
589
594
|
declare interface IAccordionSectionProps {
|
@@ -2064,7 +2069,6 @@ export declare const ILLUSTRATIONS: {
|
|
2064
2069
|
PROFICIENT_BADGE: string;
|
2065
2070
|
PROFILE_BOARD: string;
|
2066
2071
|
PUZZLE: string;
|
2067
|
-
PUZZLE_DASHBOARD_BANNER: string;
|
2068
2072
|
PUZZLE_PATTERN_BLUE: string;
|
2069
2073
|
PUZZLE_PATTERN_GREEN: string;
|
2070
2074
|
PUZZLE_PATTERN_ORANGE: string;
|
@@ -2782,7 +2786,6 @@ declare interface IPreviewWorksheetProps {
|
|
2782
2786
|
items?: string[];
|
2783
2787
|
onWorksheetLoaded?: (loaded: boolean) => void;
|
2784
2788
|
onUnassign?: () => void;
|
2785
|
-
canStartUnassignJourney?: boolean;
|
2786
2789
|
}
|
2787
2790
|
|
2788
2791
|
export declare interface IProject<T> {
|
@@ -2874,7 +2877,6 @@ export declare interface IPuzzleCardAssignData {
|
|
2874
2877
|
node_type: TNodeTypes;
|
2875
2878
|
node_id: string;
|
2876
2879
|
user_node_id: string | null;
|
2877
|
-
rewards?: TPuzzleRewards[];
|
2878
2880
|
}
|
2879
2881
|
|
2880
2882
|
declare interface IPuzzleCardContainerProps {
|
@@ -2885,12 +2887,7 @@ declare interface IPuzzleCardContainerProps {
|
|
2885
2887
|
studentId: string;
|
2886
2888
|
onFullyHidden?: () => void;
|
2887
2889
|
onPuzzleClick: () => void;
|
2888
|
-
|
2889
|
-
|
2890
|
-
declare interface IPuzzleDashboardProps {
|
2891
|
-
studentId: string;
|
2892
|
-
onBackCLick?: () => void;
|
2893
|
-
onCardClick: (userNodeId: string) => void;
|
2890
|
+
onPuzzleAssign?: () => void;
|
2894
2891
|
}
|
2895
2892
|
|
2896
2893
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
@@ -3247,6 +3244,21 @@ declare interface IStepperProps {
|
|
3247
3244
|
currentStep: number;
|
3248
3245
|
}
|
3249
3246
|
|
3247
|
+
declare interface IStickerData {
|
3248
|
+
id: string;
|
3249
|
+
emoji: string;
|
3250
|
+
lottieUrl?: string;
|
3251
|
+
name?: string;
|
3252
|
+
}
|
3253
|
+
|
3254
|
+
declare interface IStickerGridProps {
|
3255
|
+
stickers: IStickerData[];
|
3256
|
+
columns?: number;
|
3257
|
+
gap?: number;
|
3258
|
+
stickerSize?: number | string;
|
3259
|
+
onStickerClick?: (sticker: IStickerData) => void;
|
3260
|
+
}
|
3261
|
+
|
3250
3262
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3251
3263
|
value: number;
|
3252
3264
|
blink?: boolean;
|
@@ -3749,10 +3761,6 @@ declare interface IusePointerSyncProps {
|
|
3749
3761
|
targetUserId?: string;
|
3750
3762
|
}
|
3751
3763
|
|
3752
|
-
declare interface IUsePuzzleIntroJourney {
|
3753
|
-
onJourneyComplete: () => void;
|
3754
|
-
}
|
3755
|
-
|
3756
3764
|
export declare interface IUserChapterData {
|
3757
3765
|
chapter_code: string;
|
3758
3766
|
chapter_id: string;
|
@@ -3807,12 +3815,6 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3807
3815
|
};
|
3808
3816
|
}
|
3809
3817
|
|
3810
|
-
declare interface IUseViewportReturn {
|
3811
|
-
isCompact: boolean;
|
3812
|
-
isMobile: boolean;
|
3813
|
-
isDesktop: boolean;
|
3814
|
-
}
|
3815
|
-
|
3816
3818
|
declare interface IUseWorksheetLayout {
|
3817
3819
|
(options: {
|
3818
3820
|
userType: TUserTypes;
|
@@ -3959,14 +3961,6 @@ export declare interface IWorksheetBehavior {
|
|
3959
3961
|
* For teacher we don't show review cta.
|
3960
3962
|
*/
|
3961
3963
|
canTeacherValidate: boolean;
|
3962
|
-
/**
|
3963
|
-
* * In case of puzzle worksheet for teacher
|
3964
|
-
* * If true,
|
3965
|
-
* Teacher validation button will be disabled.
|
3966
|
-
* * If false,
|
3967
|
-
* Teacher validation button will be active.
|
3968
|
-
*/
|
3969
|
-
canTeacherValidateDisabled?: boolean;
|
3970
3964
|
/**
|
3971
3965
|
* If true, questions will be validated and feedback will be shown.
|
3972
3966
|
*/
|
@@ -4018,10 +4012,6 @@ export declare interface IWorksheetBehavior {
|
|
4018
4012
|
* If true, the user can unassign the sheet.
|
4019
4013
|
*/
|
4020
4014
|
canUnAssign?: boolean;
|
4021
|
-
/**
|
4022
|
-
* If true, journey will be started.
|
4023
|
-
*/
|
4024
|
-
canStartJourney?: boolean;
|
4025
4015
|
}
|
4026
4016
|
|
4027
4017
|
declare interface IWorksheetCallbackProps {
|
@@ -4185,21 +4175,13 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4185
4175
|
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4186
4176
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4187
4177
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4188
|
-
|
4189
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4190
|
-
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
4191
|
-
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
4178
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4192
4179
|
}
|
4193
4180
|
|
4194
4181
|
export declare enum JOURNEY_ID_TEACHER {
|
4195
4182
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4196
4183
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4197
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4198
|
-
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
4199
|
-
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
4200
|
-
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
4201
|
-
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
4202
|
-
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
4184
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4203
4185
|
}
|
4204
4186
|
|
4205
4187
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -4314,11 +4296,6 @@ export declare const LOTTIE: {
|
|
4314
4296
|
PROFICIENT1X: string;
|
4315
4297
|
PROJECT: string;
|
4316
4298
|
PUZZLE: string;
|
4317
|
-
PUZZLE_BLUE_LOTTIE: string;
|
4318
|
-
PUZZLE_GREEN_LOTTIE: string;
|
4319
|
-
PUZZLE_ORANGE_LOTTIE: string;
|
4320
|
-
PUZZLE_PURPLE_LOTTIE: string;
|
4321
|
-
PUZZLE_YELLOW_LOTTIE: string;
|
4322
4299
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4323
4300
|
RECAP: string;
|
4324
4301
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
@@ -4560,7 +4537,6 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
4560
4537
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
4561
4538
|
HOMEWORK_COMPLETED = "homework_completed",
|
4562
4539
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
4563
|
-
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
4564
4540
|
ACTIVITY_STARTED = "activity_started",
|
4565
4541
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
4566
4542
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4577,9 +4553,7 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
4577
4553
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
4578
4554
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
4579
4555
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
4580
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4581
|
-
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
4582
|
-
PUZZLE_REVIEWED = "puzzle_reviewed"
|
4556
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4583
4557
|
}
|
4584
4558
|
|
4585
4559
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4654,8 +4628,6 @@ declare const PUZZLE_CARDS: "puzzle_cards";
|
|
4654
4628
|
|
4655
4629
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4656
4630
|
|
4657
|
-
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
4658
|
-
|
4659
4631
|
export declare const PuzzleFeedbackCelebration: FC;
|
4660
4632
|
|
4661
4633
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4845,6 +4817,19 @@ declare const STICKER_BADGE: {
|
|
4845
4817
|
AWESOME: string;
|
4846
4818
|
};
|
4847
4819
|
|
4820
|
+
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
4821
|
+
|
4822
|
+
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
4823
|
+
|
4824
|
+
declare interface StickersProps {
|
4825
|
+
stickers: string[];
|
4826
|
+
effect: StickerEffect;
|
4827
|
+
count: number;
|
4828
|
+
duration: number;
|
4829
|
+
}
|
4830
|
+
|
4831
|
+
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
4832
|
+
|
4848
4833
|
export declare const StreakIcon: React_2.FC<IStreakIconProps>;
|
4849
4834
|
|
4850
4835
|
export declare class StreakReductionLocalStorageUtil {
|
@@ -5083,8 +5068,6 @@ declare type TCueProgramData = {
|
|
5083
5068
|
|
5084
5069
|
declare type TDefaultSection = Record<string, unknown>;
|
5085
5070
|
|
5086
|
-
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5087
|
-
|
5088
5071
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5089
5072
|
|
5090
5073
|
declare type TEnglishSectionSummary = {
|
@@ -5096,7 +5079,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5096
5079
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5097
5080
|
|
5098
5081
|
/**
|
5099
|
-
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5082
|
+
* @param $renderAs (fallback for any device), @param $renderOnMobileAs, @param $renderOnTabletAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5100
5083
|
*/
|
5101
5084
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5102
5085
|
export { Text_2 as Text }
|
@@ -5118,6 +5101,8 @@ declare interface TextProps {
|
|
5118
5101
|
$inline?: boolean;
|
5119
5102
|
$textDecoration?: string;
|
5120
5103
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5104
|
+
$renderOnMobileAs?: TTextVariants;
|
5105
|
+
$renderOnTabletAs?: TTextVariants;
|
5121
5106
|
}
|
5122
5107
|
|
5123
5108
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5372,21 +5357,6 @@ export declare type TInclassMessage = {
|
|
5372
5357
|
eventPayload: {
|
5373
5358
|
chapterId: string;
|
5374
5359
|
};
|
5375
|
-
} | {
|
5376
|
-
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
5377
|
-
eventPayload: {
|
5378
|
-
puzzleId: string;
|
5379
|
-
};
|
5380
|
-
} | {
|
5381
|
-
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
5382
|
-
eventPayload: {
|
5383
|
-
puzzleId?: string;
|
5384
|
-
};
|
5385
|
-
} | {
|
5386
|
-
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
5387
|
-
eventPayload: {
|
5388
|
-
puzzleId: string;
|
5389
|
-
};
|
5390
5360
|
} | {
|
5391
5361
|
eventName: 'TEACHER_BADGE';
|
5392
5362
|
eventPayload: {
|
@@ -6212,21 +6182,6 @@ export declare const useModalParams: IUseModalParams;
|
|
6212
6182
|
|
6213
6183
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
6214
6184
|
|
6215
|
-
export declare const usePuzzleDashboardJourney: () => {
|
6216
|
-
puzzleProfileRef: RefObject<HTMLDivElement>;
|
6217
|
-
startJourney: (avatar: IAvatarLayer[]) => void;
|
6218
|
-
};
|
6219
|
-
|
6220
|
-
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
6221
|
-
puzzleIconRef: RefObject<HTMLDivElement>;
|
6222
|
-
startJourney: () => void;
|
6223
|
-
};
|
6224
|
-
|
6225
|
-
export declare const usePuzzleProgressJourney: () => {
|
6226
|
-
puzzleProgressRef: RefObject<HTMLDivElement>;
|
6227
|
-
startJourney: () => void;
|
6228
|
-
};
|
6229
|
-
|
6230
6185
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
6231
6186
|
|
6232
6187
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -6237,11 +6192,6 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
6237
6192
|
|
6238
6193
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
6239
6194
|
|
6240
|
-
export declare const useTeacherPuzzleAssignedJourney: () => {
|
6241
|
-
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
6242
|
-
startJourney: () => void;
|
6243
|
-
};
|
6244
|
-
|
6245
6195
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
6246
6196
|
onClick: TTrackCTA;
|
6247
6197
|
onResponse: TTrackInput;
|
@@ -6252,8 +6202,6 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6252
6202
|
|
6253
6203
|
export declare const useUIContext: () => UIContextProps;
|
6254
6204
|
|
6255
|
-
export declare const useViewport: () => IUseViewportReturn;
|
6256
|
-
|
6257
6205
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6258
6206
|
|
6259
6207
|
export declare const useZoomDisable: () => void;
|