@cuemath/leap 3.2.9-pzd-0.4 → 3.2.10
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 +26 -25
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +15 -14
- 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 -93
- 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 -99
- 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,9 +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
|
-
student_elo_rating: number | null;
|
2879
|
-
current_elo_rating: number | null;
|
2880
2880
|
}
|
2881
2881
|
|
2882
2882
|
declare interface IPuzzleCardContainerProps {
|
@@ -2887,12 +2887,7 @@ declare interface IPuzzleCardContainerProps {
|
|
2887
2887
|
studentId: string;
|
2888
2888
|
onFullyHidden?: () => void;
|
2889
2889
|
onPuzzleClick: () => void;
|
2890
|
-
|
2891
|
-
|
2892
|
-
declare interface IPuzzleDashboardProps {
|
2893
|
-
studentId: string;
|
2894
|
-
onBackCLick?: () => void;
|
2895
|
-
onCardClick: (userNodeId: string) => void;
|
2890
|
+
onPuzzleAssign?: () => void;
|
2896
2891
|
}
|
2897
2892
|
|
2898
2893
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
@@ -3249,6 +3244,21 @@ declare interface IStepperProps {
|
|
3249
3244
|
currentStep: number;
|
3250
3245
|
}
|
3251
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
|
+
|
3252
3262
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3253
3263
|
value: number;
|
3254
3264
|
blink?: boolean;
|
@@ -3751,10 +3761,6 @@ declare interface IusePointerSyncProps {
|
|
3751
3761
|
targetUserId?: string;
|
3752
3762
|
}
|
3753
3763
|
|
3754
|
-
declare interface IUsePuzzleIntroJourney {
|
3755
|
-
onJourneyComplete: () => void;
|
3756
|
-
}
|
3757
|
-
|
3758
3764
|
export declare interface IUserChapterData {
|
3759
3765
|
chapter_code: string;
|
3760
3766
|
chapter_id: string;
|
@@ -3809,12 +3815,6 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3809
3815
|
};
|
3810
3816
|
}
|
3811
3817
|
|
3812
|
-
declare interface IUseViewportReturn {
|
3813
|
-
isCompact: boolean;
|
3814
|
-
isMobile: boolean;
|
3815
|
-
isDesktop: boolean;
|
3816
|
-
}
|
3817
|
-
|
3818
3818
|
declare interface IUseWorksheetLayout {
|
3819
3819
|
(options: {
|
3820
3820
|
userType: TUserTypes;
|
@@ -3961,14 +3961,6 @@ export declare interface IWorksheetBehavior {
|
|
3961
3961
|
* For teacher we don't show review cta.
|
3962
3962
|
*/
|
3963
3963
|
canTeacherValidate: boolean;
|
3964
|
-
/**
|
3965
|
-
* * In case of puzzle worksheet for teacher
|
3966
|
-
* * If true,
|
3967
|
-
* Teacher validation button will be disabled.
|
3968
|
-
* * If false,
|
3969
|
-
* Teacher validation button will be active.
|
3970
|
-
*/
|
3971
|
-
canTeacherValidateDisabled?: boolean;
|
3972
3964
|
/**
|
3973
3965
|
* If true, questions will be validated and feedback will be shown.
|
3974
3966
|
*/
|
@@ -4020,10 +4012,6 @@ export declare interface IWorksheetBehavior {
|
|
4020
4012
|
* If true, the user can unassign the sheet.
|
4021
4013
|
*/
|
4022
4014
|
canUnAssign?: boolean;
|
4023
|
-
/**
|
4024
|
-
* If true, journey will be started.
|
4025
|
-
*/
|
4026
|
-
canStartJourney?: boolean;
|
4027
4015
|
}
|
4028
4016
|
|
4029
4017
|
declare interface IWorksheetCallbackProps {
|
@@ -4187,21 +4175,13 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4187
4175
|
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4188
4176
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4189
4177
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4190
|
-
|
4191
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4192
|
-
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
4193
|
-
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
4178
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4194
4179
|
}
|
4195
4180
|
|
4196
4181
|
export declare enum JOURNEY_ID_TEACHER {
|
4197
4182
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4198
4183
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4199
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4200
|
-
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
4201
|
-
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
4202
|
-
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
4203
|
-
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
4204
|
-
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
4184
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4205
4185
|
}
|
4206
4186
|
|
4207
4187
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -4316,11 +4296,6 @@ export declare const LOTTIE: {
|
|
4316
4296
|
PROFICIENT1X: string;
|
4317
4297
|
PROJECT: string;
|
4318
4298
|
PUZZLE: string;
|
4319
|
-
PUZZLE_BLUE_LOTTIE: string;
|
4320
|
-
PUZZLE_GREEN_LOTTIE: string;
|
4321
|
-
PUZZLE_ORANGE_LOTTIE: string;
|
4322
|
-
PUZZLE_PURPLE_LOTTIE: string;
|
4323
|
-
PUZZLE_YELLOW_LOTTIE: string;
|
4324
4299
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4325
4300
|
RECAP: string;
|
4326
4301
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
@@ -4562,7 +4537,6 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
4562
4537
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
4563
4538
|
HOMEWORK_COMPLETED = "homework_completed",
|
4564
4539
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
4565
|
-
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
4566
4540
|
ACTIVITY_STARTED = "activity_started",
|
4567
4541
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
4568
4542
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4579,9 +4553,7 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
4579
4553
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
4580
4554
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
4581
4555
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
4582
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4583
|
-
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
4584
|
-
PUZZLE_REVIEWED = "puzzle_reviewed"
|
4556
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4585
4557
|
}
|
4586
4558
|
|
4587
4559
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4656,8 +4628,6 @@ declare const PUZZLE_CARDS: "puzzle_cards";
|
|
4656
4628
|
|
4657
4629
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4658
4630
|
|
4659
|
-
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
4660
|
-
|
4661
4631
|
export declare const PuzzleFeedbackCelebration: FC;
|
4662
4632
|
|
4663
4633
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4847,6 +4817,19 @@ declare const STICKER_BADGE: {
|
|
4847
4817
|
AWESOME: string;
|
4848
4818
|
};
|
4849
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
|
+
|
4850
4833
|
export declare const StreakIcon: React_2.FC<IStreakIconProps>;
|
4851
4834
|
|
4852
4835
|
export declare class StreakReductionLocalStorageUtil {
|
@@ -5085,8 +5068,6 @@ declare type TCueProgramData = {
|
|
5085
5068
|
|
5086
5069
|
declare type TDefaultSection = Record<string, unknown>;
|
5087
5070
|
|
5088
|
-
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5089
|
-
|
5090
5071
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5091
5072
|
|
5092
5073
|
declare type TEnglishSectionSummary = {
|
@@ -5098,7 +5079,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5098
5079
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5099
5080
|
|
5100
5081
|
/**
|
5101
|
-
* @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
|
5102
5083
|
*/
|
5103
5084
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5104
5085
|
export { Text_2 as Text }
|
@@ -5120,6 +5101,8 @@ declare interface TextProps {
|
|
5120
5101
|
$inline?: boolean;
|
5121
5102
|
$textDecoration?: string;
|
5122
5103
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5104
|
+
$renderOnMobileAs?: TTextVariants;
|
5105
|
+
$renderOnTabletAs?: TTextVariants;
|
5123
5106
|
}
|
5124
5107
|
|
5125
5108
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5374,21 +5357,6 @@ export declare type TInclassMessage = {
|
|
5374
5357
|
eventPayload: {
|
5375
5358
|
chapterId: string;
|
5376
5359
|
};
|
5377
|
-
} | {
|
5378
|
-
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
5379
|
-
eventPayload: {
|
5380
|
-
puzzleId: string;
|
5381
|
-
};
|
5382
|
-
} | {
|
5383
|
-
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
5384
|
-
eventPayload: {
|
5385
|
-
puzzleId?: string;
|
5386
|
-
};
|
5387
|
-
} | {
|
5388
|
-
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
5389
|
-
eventPayload: {
|
5390
|
-
puzzleId: string;
|
5391
|
-
};
|
5392
5360
|
} | {
|
5393
5361
|
eventName: 'TEACHER_BADGE';
|
5394
5362
|
eventPayload: {
|
@@ -6214,21 +6182,6 @@ export declare const useModalParams: IUseModalParams;
|
|
6214
6182
|
|
6215
6183
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
6216
6184
|
|
6217
|
-
export declare const usePuzzleDashboardJourney: () => {
|
6218
|
-
puzzleProfileRef: RefObject<HTMLDivElement>;
|
6219
|
-
startJourney: (avatar: IAvatarLayer[]) => void;
|
6220
|
-
};
|
6221
|
-
|
6222
|
-
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
6223
|
-
puzzleIconRef: RefObject<HTMLDivElement>;
|
6224
|
-
startJourney: () => void;
|
6225
|
-
};
|
6226
|
-
|
6227
|
-
export declare const usePuzzleProgressJourney: () => {
|
6228
|
-
puzzleProgressRef: RefObject<HTMLDivElement>;
|
6229
|
-
startJourney: () => void;
|
6230
|
-
};
|
6231
|
-
|
6232
6185
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
6233
6186
|
|
6234
6187
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -6239,11 +6192,6 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
6239
6192
|
|
6240
6193
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
6241
6194
|
|
6242
|
-
export declare const useTeacherPuzzleAssignedJourney: () => {
|
6243
|
-
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
6244
|
-
startJourney: () => void;
|
6245
|
-
};
|
6246
|
-
|
6247
6195
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
6248
6196
|
onClick: TTrackCTA;
|
6249
6197
|
onResponse: TTrackInput;
|
@@ -6254,8 +6202,6 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6254
6202
|
|
6255
6203
|
export declare const useUIContext: () => UIContextProps;
|
6256
6204
|
|
6257
|
-
export declare const useViewport: () => IUseViewportReturn;
|
6258
|
-
|
6259
6205
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6260
6206
|
|
6261
6207
|
export declare const useZoomDisable: () => void;
|