@cuemath/leap 3.2.19-beta-0.1 → 3.2.19-link.1
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 +6 -6
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/star3.js +32 -0
- package/dist/assets/line-icons/icons/star3.js.map +1 -0
- 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/chapters-v2/utils/node-card-utils.js +2 -2
- package/dist/features/chapters-v2/utils/node-card-utils.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 +48 -54
- 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/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 +1 -1
- 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/app/puzzle-app-styled.js +6 -10
- package/dist/features/puzzles/app/puzzle-app-styled.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 -79
- 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 +107 -100
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.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/trial-session/comps/student-profile/student-profile.js +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js +7 -50
- 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 +15 -69
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +49 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +64 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js +28 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +83 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +1 -0
- package/dist/features/ui/accordion/accordion.js +62 -0
- package/dist/features/ui/accordion/accordion.js.map +1 -0
- 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 +19 -18
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +42 -8
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +37 -27
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/text/text.js +31 -29
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/clrs.js +2 -0
- package/dist/features/ui/theme/clrs.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 +12 -16
- 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 -101
- 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 +71 -89
- package/dist/index.js +626 -626
- package/dist/static/puzzle-pattern-blue.f4bea1ee.svg +1 -0
- package/dist/static/puzzle-pattern-green.c9f84bbc.svg +1 -0
- package/dist/static/puzzle-pattern-orange.3da09665.svg +1 -0
- package/dist/static/puzzle-pattern-purple.5fb5a319.svg +1 -0
- package/dist/static/puzzle-pattern-yellow.aadbf457.svg +1 -0
- package/dist/static/stripe-blurple.6abf422f.svg +1 -0
- package/package.json +1 -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-pattern-blue.abff0164.svg +0 -1
- package/dist/static/puzzle-pattern-green.b8ba1840.svg +0 -1
- package/dist/static/puzzle-pattern-orange.3f5a17ff.svg +0 -1
- package/dist/static/puzzle-pattern-purple.14b09759.svg +0 -1
- package/dist/static/puzzle-pattern-yellow.50917fab.svg +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
@@ -33,6 +33,18 @@ 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
|
+
|
36
48
|
/**
|
37
49
|
* AccordionSection component.
|
38
50
|
*
|
@@ -41,6 +53,8 @@ import { Substitute } from 'styled-components/dist/types';
|
|
41
53
|
*/
|
42
54
|
export declare const AccordionSection: FC<IAccordionSectionProps>;
|
43
55
|
|
56
|
+
declare type AccordionTheme = 'light' | 'dark';
|
57
|
+
|
44
58
|
export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
|
45
59
|
|
46
60
|
export declare const ACHIEVEMENT_ACTIONS: {
|
@@ -100,6 +114,8 @@ export declare const BackgroundImage: ({ img }: {
|
|
100
114
|
|
101
115
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
102
116
|
|
117
|
+
export declare const BaseInput: React_2.FC<IBaseInputProps>;
|
118
|
+
|
103
119
|
declare interface BaseProject {
|
104
120
|
id: string;
|
105
121
|
name: string;
|
@@ -429,9 +445,6 @@ declare interface ErrorProps {
|
|
429
445
|
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
430
446
|
|
431
447
|
export declare const EVENTS: {
|
432
|
-
PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
|
433
|
-
PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
|
434
|
-
PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
|
435
448
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
436
449
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
437
450
|
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
@@ -564,6 +577,30 @@ export declare const getTheme: () => DefaultTheme;
|
|
564
577
|
|
565
578
|
declare function getZIndexConfig(): TZIndexMap;
|
566
579
|
|
580
|
+
export declare const GIF: {
|
581
|
+
BOBWAVE: string;
|
582
|
+
EASY_RESCHEDULING: string;
|
583
|
+
ENRICHMENT: string;
|
584
|
+
ENRICHMENT_MINI: string;
|
585
|
+
GAMES: string;
|
586
|
+
JIGII_WAVE: string;
|
587
|
+
LEARNING_SESSION: string;
|
588
|
+
MAX_WAVE: string;
|
589
|
+
PUZZLES: string;
|
590
|
+
SCHOOL_SUCCESS: string;
|
591
|
+
SCHOOL_SUCCESS_MINI: string;
|
592
|
+
SKILLS: string;
|
593
|
+
SPECKIE_WAVE: string;
|
594
|
+
STAY_CONNECTED: string;
|
595
|
+
TERA_WAVE: string;
|
596
|
+
TEST_PREP: string;
|
597
|
+
TEST_PREP_MINI: string;
|
598
|
+
TRACK_PROGRESS: string;
|
599
|
+
VINNIE_WAVE: string;
|
600
|
+
WAY_FORWARD: string;
|
601
|
+
YOUR_GOALS: string;
|
602
|
+
};
|
603
|
+
|
567
604
|
declare const GOAL_CATEGORY: {
|
568
605
|
readonly SCHOOL_SUCCESS: "SCHOOL_SUCCESS";
|
569
606
|
readonly TEST_PREP: "TEST_PREP";
|
@@ -606,7 +643,6 @@ declare interface HWCardListProps extends INodeCardCallbacks {
|
|
606
643
|
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
607
644
|
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
608
645
|
canStartJourney?: boolean;
|
609
|
-
canStartPuzzleAssignedJourney?: boolean;
|
610
646
|
}
|
611
647
|
|
612
648
|
declare interface IAccordionSectionProps {
|
@@ -2131,7 +2167,6 @@ export declare const ILLUSTRATIONS: {
|
|
2131
2167
|
PROFICIENT_BADGE: string;
|
2132
2168
|
PROFILE_BOARD: string;
|
2133
2169
|
PUZZLE: string;
|
2134
|
-
PUZZLE_DASHBOARD_BANNER: string;
|
2135
2170
|
PUZZLE_PATTERN_BLUE: string;
|
2136
2171
|
PUZZLE_PATTERN_GREEN: string;
|
2137
2172
|
PUZZLE_PATTERN_ORANGE: string;
|
@@ -2150,6 +2185,7 @@ export declare const ILLUSTRATIONS: {
|
|
2150
2185
|
STAR_WITH_GREEN_FILL: string;
|
2151
2186
|
STREAK_GREEN: string;
|
2152
2187
|
STREAK_WHITE: string;
|
2188
|
+
STRIPE_BLURPLE: string;
|
2153
2189
|
TEST_DIFFICULTY_EASY: string;
|
2154
2190
|
TEST_DIFFICULTY_HARD: string;
|
2155
2191
|
TEST_DIFFICULTY_MEDIUM: string;
|
@@ -2515,7 +2551,7 @@ export declare interface IModal {
|
|
2515
2551
|
/** Content to display inside the modal */
|
2516
2552
|
element: ReactElement;
|
2517
2553
|
/** Rendering style of the modal */
|
2518
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2554
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
|
2519
2555
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2520
2556
|
isDismissable?: boolean;
|
2521
2557
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2872,7 +2908,6 @@ declare interface IPreviewWorksheetProps {
|
|
2872
2908
|
items?: string[];
|
2873
2909
|
onWorksheetLoaded?: (loaded: boolean) => void;
|
2874
2910
|
onUnassign?: () => void;
|
2875
|
-
canStartUnassignJourney?: boolean;
|
2876
2911
|
}
|
2877
2912
|
|
2878
2913
|
export declare interface IProject<T> {
|
@@ -2972,9 +3007,6 @@ export declare interface IPuzzleCardAssignData {
|
|
2972
3007
|
node_type: TNodeTypes;
|
2973
3008
|
node_id: string;
|
2974
3009
|
user_node_id: string | null;
|
2975
|
-
rewards?: TPuzzleRewards[];
|
2976
|
-
student_elo_rating: number | null;
|
2977
|
-
current_elo_rating: number | null;
|
2978
3010
|
}
|
2979
3011
|
|
2980
3012
|
declare interface IPuzzleCardContainerProps {
|
@@ -2985,12 +3017,7 @@ declare interface IPuzzleCardContainerProps {
|
|
2985
3017
|
studentId: string;
|
2986
3018
|
onFullyHidden?: () => void;
|
2987
3019
|
onPuzzleClick: () => void;
|
2988
|
-
|
2989
|
-
|
2990
|
-
declare interface IPuzzleDashboardProps {
|
2991
|
-
studentId: string;
|
2992
|
-
onBackCLick?: () => void;
|
2993
|
-
onCardClick: (userNodeId: string) => void;
|
3020
|
+
onPuzzleAssign?: () => void;
|
2994
3021
|
}
|
2995
3022
|
|
2996
3023
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
@@ -3596,6 +3623,20 @@ declare interface ITalkMeterProps extends ITalkMeter {
|
|
3596
3623
|
animated?: boolean;
|
3597
3624
|
}
|
3598
3625
|
|
3626
|
+
declare interface ITeacherProfileDetails {
|
3627
|
+
lower_grade: string;
|
3628
|
+
higher_grade: string;
|
3629
|
+
header_image: string;
|
3630
|
+
years_of_experience: number;
|
3631
|
+
number_of_students_taught: number;
|
3632
|
+
countries: string[];
|
3633
|
+
degree: TDegreeInformation;
|
3634
|
+
}
|
3635
|
+
|
3636
|
+
declare interface ITeacherProfileProps {
|
3637
|
+
teacherProfile?: ITeacherProfileDetails;
|
3638
|
+
}
|
3639
|
+
|
3599
3640
|
declare interface ITeacherReview {
|
3600
3641
|
reviewComment?: string;
|
3601
3642
|
images?: string[];
|
@@ -3890,10 +3931,6 @@ declare interface IusePointerSyncProps {
|
|
3890
3931
|
targetUserId?: string;
|
3891
3932
|
}
|
3892
3933
|
|
3893
|
-
declare interface IUsePuzzleIntroJourney {
|
3894
|
-
onJourneyComplete: () => void;
|
3895
|
-
}
|
3896
|
-
|
3897
3934
|
export declare interface IUserChapterData {
|
3898
3935
|
chapter_code: string;
|
3899
3936
|
chapter_id: string;
|
@@ -4094,14 +4131,6 @@ export declare interface IWorksheetBehavior {
|
|
4094
4131
|
* For teacher we don't show review cta.
|
4095
4132
|
*/
|
4096
4133
|
canTeacherValidate: boolean;
|
4097
|
-
/**
|
4098
|
-
* * In case of puzzle worksheet for teacher
|
4099
|
-
* * If true,
|
4100
|
-
* Teacher validation button will be disabled.
|
4101
|
-
* * If false,
|
4102
|
-
* Teacher validation button will be active.
|
4103
|
-
*/
|
4104
|
-
canTeacherValidateDisabled?: boolean;
|
4105
4134
|
/**
|
4106
4135
|
* If true, questions will be validated and feedback will be shown.
|
4107
4136
|
*/
|
@@ -4153,10 +4182,6 @@ export declare interface IWorksheetBehavior {
|
|
4153
4182
|
* If true, the user can unassign the sheet.
|
4154
4183
|
*/
|
4155
4184
|
canUnAssign?: boolean;
|
4156
|
-
/**
|
4157
|
-
* If true, journey will be started.
|
4158
|
-
*/
|
4159
|
-
canStartJourney?: boolean;
|
4160
4185
|
}
|
4161
4186
|
|
4162
4187
|
declare interface IWorksheetCallbackProps {
|
@@ -4319,21 +4344,13 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4319
4344
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
4320
4345
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4321
4346
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4322
|
-
|
4323
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4324
|
-
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
4325
|
-
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
4347
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4326
4348
|
}
|
4327
4349
|
|
4328
4350
|
export declare enum JOURNEY_ID_TEACHER {
|
4329
4351
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4330
4352
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4331
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4332
|
-
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
4333
|
-
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
4334
|
-
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
4335
|
-
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
4336
|
-
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
4353
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4337
4354
|
}
|
4338
4355
|
|
4339
4356
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -4457,11 +4474,6 @@ export declare const LOTTIE: {
|
|
4457
4474
|
PROFICIENT1X: string;
|
4458
4475
|
PROJECT: string;
|
4459
4476
|
PUZZLE: string;
|
4460
|
-
PUZZLE_BLUE_LOTTIE: string;
|
4461
|
-
PUZZLE_GREEN_LOTTIE: string;
|
4462
|
-
PUZZLE_ORANGE_LOTTIE: string;
|
4463
|
-
PUZZLE_PURPLE_LOTTIE: string;
|
4464
|
-
PUZZLE_YELLOW_LOTTIE: string;
|
4465
4477
|
RACING_CAR: string;
|
4466
4478
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4467
4479
|
RECAP: string;
|
@@ -4714,7 +4726,6 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
4714
4726
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
4715
4727
|
HOMEWORK_COMPLETED = "homework_completed",
|
4716
4728
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
4717
|
-
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
4718
4729
|
ACTIVITY_STARTED = "activity_started",
|
4719
4730
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
4720
4731
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4731,9 +4742,7 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
4731
4742
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
4732
4743
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
4733
4744
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
4734
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4735
|
-
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
4736
|
-
PUZZLE_REVIEWED = "puzzle_reviewed"
|
4745
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4737
4746
|
}
|
4738
4747
|
|
4739
4748
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4810,8 +4819,6 @@ export declare const PuzzleApp: NamedExoticComponent<IPuzzleAppProps>;
|
|
4810
4819
|
|
4811
4820
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4812
4821
|
|
4813
|
-
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
4814
|
-
|
4815
4822
|
export declare const PuzzleFeedbackCelebration: FC;
|
4816
4823
|
|
4817
4824
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4984,6 +4991,8 @@ export declare const STAGES: {
|
|
4984
4991
|
|
4985
4992
|
export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4986
4993
|
|
4994
|
+
export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4995
|
+
|
4987
4996
|
export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4988
4997
|
|
4989
4998
|
export declare enum State {
|
@@ -5207,7 +5216,7 @@ export declare type TCheckboxVariants = 'black' | 'black-dark';
|
|
5207
5216
|
*/
|
5208
5217
|
export declare type TCoachmarkJourneyProps = Omit<ICoachmarkProps, 'isActive'>;
|
5209
5218
|
|
5210
|
-
export declare type TColorNames = `${THueNames}_${'1' | '2' | '3' | '4' | '5' | '6'}` | `${'BLACK' | 'WHITE'}_${'1' | '2' | '3' | '4' | '5'}` | `${'GREY'}_${'1' | '2' | '3' | '4'}` | `${'BLACK_T'}_${'02' | '04' | '08' | '15' | '20' | '38' | '60' | '87'}` | `${'WHITE_T'}_${'03' | '05' | '10' | '15' | '38' | '60' | '87'}` | 'BLACK' | `${'BLACK'}_${'50' | '65' | '75' | '10'}` | 'REAL_BLACK' | `${'REAL_BLACK'}_${'10' | '15' | '30' | '50' | '60'}` | 'WHITE' | `${'WHITE'}_${'10' | '20' | '30' | '70'}` | 'RED' | 'TRANSPARENT' | 'FLOWER'
|
5219
|
+
export declare type TColorNames = `${THueNames}_${'1' | '2' | '3' | '4' | '5' | '6'}` | `${'BLACK' | 'WHITE'}_${'1' | '2' | '3' | '4' | '5'}` | `${'GREY'}_${'1' | '2' | '3' | '4'}` | `${'BLACK_T'}_${'02' | '04' | '08' | '15' | '20' | '38' | '60' | '87'}` | `${'WHITE_T'}_${'03' | '05' | '10' | '15' | '38' | '60' | '87'}` | 'BLACK' | `${'BLACK'}_${'50' | '65' | '75' | '10'}` | 'REAL_BLACK' | `${'REAL_BLACK'}_${'10' | '15' | '30' | '50' | '60'}` | 'WHITE' | `${'WHITE'}_${'10' | '20' | '30' | '70'}` | 'RED' | 'TRANSPARENT' | 'FLOWER' | `${'GREEN' | 'PURPLE'}_20`;
|
5211
5220
|
|
5212
5221
|
export declare type TColorsMap = Record<TColorNames, string>;
|
5213
5222
|
|
@@ -5266,8 +5275,15 @@ declare type TCueProgramData = {
|
|
5266
5275
|
|
5267
5276
|
declare type TDefaultSection = Record<string, unknown>;
|
5268
5277
|
|
5278
|
+
declare type TDegreeInformation = {
|
5279
|
+
degree_name?: string;
|
5280
|
+
field_of_study?: string;
|
5281
|
+
};
|
5282
|
+
|
5269
5283
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5270
5284
|
|
5285
|
+
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
5286
|
+
|
5271
5287
|
declare type TEnglishSectionSummary = {
|
5272
5288
|
section_code: 'READING & WRITING';
|
5273
5289
|
} & TSectionSummary;
|
@@ -5301,6 +5317,7 @@ declare interface TextProps {
|
|
5301
5317
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5302
5318
|
$renderOnMobileAs?: TTextVariants;
|
5303
5319
|
$renderOnTabletAs?: TTextVariants;
|
5320
|
+
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
5304
5321
|
}
|
5305
5322
|
|
5306
5323
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5555,21 +5572,6 @@ export declare type TInclassMessage = {
|
|
5555
5572
|
eventPayload: {
|
5556
5573
|
chapterId: string;
|
5557
5574
|
};
|
5558
|
-
} | {
|
5559
|
-
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
5560
|
-
eventPayload: {
|
5561
|
-
puzzleId: string;
|
5562
|
-
};
|
5563
|
-
} | {
|
5564
|
-
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
5565
|
-
eventPayload: {
|
5566
|
-
puzzleId?: string;
|
5567
|
-
};
|
5568
|
-
} | {
|
5569
|
-
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
5570
|
-
eventPayload: {
|
5571
|
-
puzzleId: string;
|
5572
|
-
};
|
5573
5575
|
} | {
|
5574
5576
|
eventName: 'TEACHER_BADGE';
|
5575
5577
|
eventPayload: {
|
@@ -6399,21 +6401,6 @@ export declare const useModalParams: IUseModalParams;
|
|
6399
6401
|
|
6400
6402
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
6401
6403
|
|
6402
|
-
export declare const usePuzzleDashboardJourney: () => {
|
6403
|
-
puzzleProfileRef: RefObject<HTMLDivElement>;
|
6404
|
-
startJourney: (avatar: IAvatarLayer[]) => void;
|
6405
|
-
};
|
6406
|
-
|
6407
|
-
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
6408
|
-
puzzleIconRef: RefObject<HTMLDivElement>;
|
6409
|
-
startJourney: () => void;
|
6410
|
-
};
|
6411
|
-
|
6412
|
-
export declare const usePuzzleProgressJourney: () => {
|
6413
|
-
puzzleProgressRef: RefObject<HTMLDivElement>;
|
6414
|
-
startJourney: () => void;
|
6415
|
-
};
|
6416
|
-
|
6417
6404
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
6418
6405
|
|
6419
6406
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -6424,11 +6411,6 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
6424
6411
|
|
6425
6412
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
6426
6413
|
|
6427
|
-
export declare const useTeacherPuzzleAssignedJourney: () => {
|
6428
|
-
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
6429
|
-
startJourney: () => void;
|
6430
|
-
};
|
6431
|
-
|
6432
6414
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
6433
6415
|
onClick: TTrackCTA;
|
6434
6416
|
onResponse: TTrackInput;
|