@cuemath/leap 3.2.15-link.1 → 3.2.16-pzd-beta-0.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 +1 -6
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/cue-board-filled.js +33 -0
- package/dist/assets/line-icons/icons/cue-board-filled.js.map +1 -0
- package/dist/assets/line-icons/icons/cue-board.js +23 -0
- package/dist/assets/line-icons/icons/cue-board.js.map +1 -0
- package/dist/assets/line-icons/icons/hint-fill.js +35 -0
- package/dist/assets/line-icons/icons/hint-fill.js.map +1 -0
- package/dist/assets/line-icons/icons/screen-grab-filled.js +35 -0
- package/dist/assets/line-icons/icons/screen-grab-filled.js.map +1 -0
- package/dist/assets/line-icons/icons/screen-grab.js +23 -0
- package/dist/assets/line-icons/icons/screen-grab.js.map +1 -0
- package/dist/assets/line-icons/icons/sticker-filled.js +64 -0
- package/dist/assets/line-icons/icons/sticker-filled.js.map +1 -0
- package/dist/assets/line-icons/icons/sticker.js +46 -0
- package/dist/assets/line-icons/icons/sticker.js.map +1 -0
- package/dist/assets/lottie/lottie.js +6 -11
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +2 -1
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +6 -4
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +10 -8
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +13 -18
- 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/chapters-v2/utils/node-card-utils.js +9 -9
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
- package/dist/features/communication/pub-sub/constants.js +7 -4
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/homework/homework-card-view.js +85 -97
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +44 -42
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +31 -29
- 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 +57 -50
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +33 -27
- package/dist/features/homework/utils.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +29 -28
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +17 -11
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +72 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +63 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +67 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +70 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +70 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +1 -0
- 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/journey/use-journey/journey-context-provider.js +73 -72
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +6 -4
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +10 -0
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app-styled.js +81 -0
- package/dist/features/puzzles/app/puzzle-app-styled.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app-view.js +120 -0
- package/dist/features/puzzles/app/puzzle-app-view.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app.js +62 -0
- package/dist/features/puzzles/app/puzzle-app.js.map +1 -0
- package/dist/features/puzzles/comps/puzzle-card-styled.js +24 -69
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +64 -30
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/constants/puzzle-container.js +8 -0
- package/dist/features/puzzles/constants/puzzle-container.js.map +1 -0
- package/dist/features/puzzles/puzzle-analytics-events.js +11 -0
- package/dist/features/puzzles/puzzle-analytics-events.js.map +1 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +55 -25
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +55 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +1 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +100 -107
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +37 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +1 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +110 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +1 -0
- package/dist/features/puzzles/utils/puzzle-pattern.js +28 -13
- package/dist/features/puzzles/utils/puzzle-pattern.js.map +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/arrow-tooltip/arrow-tooltip-constants.js +6 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +12 -60
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +72 -77
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +63 -0
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +21 -0
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +1 -0
- 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 +8 -43
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +27 -37
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/nudge/nudge-styled.js +14 -7
- package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +13 -12
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- package/dist/features/ui/text/text.js +29 -31
- 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/worksheet/worksheet/hooks/use-worksheet-journey.js +28 -0
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +20 -19
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +29 -25
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +101 -47
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +149 -146
- 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 +242 -207
- 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 +307 -313
- 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 +44 -35
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +125 -156
- package/dist/index.js +520 -524
- package/dist/index.js.map +1 -1
- package/dist/static/nudge-tap.0591aef4.json +1 -0
- package/dist/static/puzzle-blue-lottie.7017e2e8.json +1 -0
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +12760 -0
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +1 -0
- package/dist/static/puzzle-green-lottie.1da90698.json +1 -0
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +1 -0
- package/dist/static/puzzle-purple-lottie.e70de110.json +9860 -0
- package/dist/static/puzzle-yellow-lottie.275b5cf4.json +1 -0
- 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 -65
- 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 -92
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.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/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/nudge-tap.5cb30093.json +0 -1057
- 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,21 +52,17 @@ 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 & {
|
80
62
|
children?: ReactNode | undefined;
|
81
63
|
} & RefAttributes<HTMLDivElement>>;
|
82
64
|
|
83
|
-
export declare const ArrowTooltip:
|
65
|
+
export declare const ArrowTooltip: NamedExoticComponent<IArrowTooltipProps>;
|
84
66
|
|
85
67
|
export declare const AUTH_TABS: IAuthTab[];
|
86
68
|
|
@@ -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;
|
@@ -331,6 +311,10 @@ declare const COURSE_STREAMS: {
|
|
331
311
|
|
332
312
|
export declare const CrossIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
333
313
|
|
314
|
+
export declare const CueBoardFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
315
|
+
|
316
|
+
export declare const CueBoardIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
317
|
+
|
334
318
|
export declare const CueCanvas: React_2.FC<ICueCanvas>;
|
335
319
|
|
336
320
|
export declare const CueCanvasController: React_2.FC<IToolbarProps>;
|
@@ -436,9 +420,10 @@ declare interface ErrorProps {
|
|
436
420
|
handleClick: () => void;
|
437
421
|
}
|
438
422
|
|
439
|
-
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
440
|
-
|
441
423
|
export declare const EVENTS: {
|
424
|
+
PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
|
425
|
+
PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
|
426
|
+
PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
|
442
427
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
443
428
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
444
429
|
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
@@ -595,6 +580,8 @@ export declare const HelpIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
595
580
|
|
596
581
|
export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
597
582
|
|
583
|
+
export declare const HintFillIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
584
|
+
|
598
585
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
599
586
|
|
600
587
|
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
@@ -611,6 +598,7 @@ declare interface HWCardListProps extends INodeCardCallbacks {
|
|
611
598
|
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
612
599
|
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
613
600
|
canStartJourney?: boolean;
|
601
|
+
canStartPuzzleAssignedJourney?: boolean;
|
614
602
|
}
|
615
603
|
|
616
604
|
declare interface IAccordionSectionProps {
|
@@ -660,20 +648,6 @@ declare interface IAnimatedArcProps {
|
|
660
648
|
showAnimatedRainbowArc?: boolean;
|
661
649
|
}
|
662
650
|
|
663
|
-
declare interface IAnimatedAvatarMessageProps {
|
664
|
-
message: string;
|
665
|
-
onShowContent: (show: boolean) => void;
|
666
|
-
confirmationFrames: [number, number];
|
667
|
-
confirmationMessage?: string;
|
668
|
-
isConfirmationVisible?: boolean;
|
669
|
-
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
670
|
-
}
|
671
|
-
|
672
|
-
export declare type IAnimatedAvatarMessageRef = {
|
673
|
-
fadeOutMessage: () => Promise<void>;
|
674
|
-
playConfirmationFrames: () => Promise<void>;
|
675
|
-
};
|
676
|
-
|
677
651
|
declare interface IAppLoaderProps {
|
678
652
|
width?: string | number;
|
679
653
|
height?: string | number;
|
@@ -707,6 +681,7 @@ export declare interface IArrowTooltipProps {
|
|
707
681
|
widthX?: number;
|
708
682
|
zIndex?: number;
|
709
683
|
parentWidth?: number | string;
|
684
|
+
isBlocking?: boolean;
|
710
685
|
}
|
711
686
|
|
712
687
|
declare interface IAttempt {
|
@@ -718,7 +693,6 @@ declare interface IAuthPageLayoutProps {
|
|
718
693
|
leftBlock: ReactElement;
|
719
694
|
rightBlock?: ReactElement;
|
720
695
|
isFullWidth?: boolean;
|
721
|
-
rightBlockBg?: TColorNames;
|
722
696
|
}
|
723
697
|
|
724
698
|
declare interface IAuthStaticPanelProps {
|
@@ -1634,7 +1608,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1634
1608
|
}
|
1635
1609
|
|
1636
1610
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1637
|
-
withLoader
|
1611
|
+
withLoader: boolean;
|
1638
1612
|
borderRadius?: number;
|
1639
1613
|
borderColor?: TColorNames;
|
1640
1614
|
}
|
@@ -1716,8 +1690,9 @@ export declare interface IJourneyContext {
|
|
1716
1690
|
* @param scrollableContainerRef - Optional ref to a journey which has a scrollable container, it will make the entire page
|
1717
1691
|
* uninteractable by adding an overlay - Required since we cannot determine the height of the scrollable container because
|
1718
1692
|
* provider is at root level and from there we cannot access the scrollable container's height.
|
1693
|
+
* @param isBlocking - If `true`, the journey will block user interaction with the page until completed. True by default.
|
1719
1694
|
*/
|
1720
|
-
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null
|
1695
|
+
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>, isBlocking?: boolean) => void;
|
1721
1696
|
/**
|
1722
1697
|
* Clears the current journey, removing all coachmarks.
|
1723
1698
|
* Should be called inside useEffect to ensure cleanup.
|
@@ -2007,14 +1982,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
2007
1982
|
targetQuestions: number;
|
2008
1983
|
}
|
2009
1984
|
|
2010
|
-
declare interface ILinearProgressBarProps {
|
2011
|
-
percentage: number;
|
2012
|
-
height?: number;
|
2013
|
-
backgroundColor?: TColorNames;
|
2014
|
-
fillColor?: TColorNames;
|
2015
|
-
borderRadius?: number;
|
2016
|
-
}
|
2017
|
-
|
2018
1985
|
export declare const ILLUSTRATIONS: {
|
2019
1986
|
ALARM_CLOCK_ORANGE: string;
|
2020
1987
|
ALARM_CLOCK_PURPLE: string;
|
@@ -2031,7 +1998,6 @@ export declare const ILLUSTRATIONS: {
|
|
2031
1998
|
CALENDAR_BLUE: string;
|
2032
1999
|
CALENDAR_GRAY: string;
|
2033
2000
|
CALENDAR_GREEN: string;
|
2034
|
-
CALENDAR_PURPLE: string;
|
2035
2001
|
CAUTION: string;
|
2036
2002
|
CHAPTER_10: string;
|
2037
2003
|
CHAPTER_1: string;
|
@@ -2071,7 +2037,6 @@ export declare const ILLUSTRATIONS: {
|
|
2071
2037
|
GRADUATE_PINK_FILLED_BG: string;
|
2072
2038
|
GREEN_BALLOON: string;
|
2073
2039
|
GREEN_FACE: string;
|
2074
|
-
HANDSHAKE: string;
|
2075
2040
|
LEARNED_SHIELD_GRAY: string;
|
2076
2041
|
LEARNED_SHIELD_GREEN: string;
|
2077
2042
|
LEARNT: string;
|
@@ -2090,7 +2055,6 @@ export declare const ILLUSTRATIONS: {
|
|
2090
2055
|
MILESTONE_INTRO_2: string;
|
2091
2056
|
MILESTONE_INTRO_3: string;
|
2092
2057
|
MISTAKE: string;
|
2093
|
-
MONEY: string;
|
2094
2058
|
NODE_ACTIVITY_BG: string;
|
2095
2059
|
NODE_CUSTOM_TEST_BG: string;
|
2096
2060
|
NODE_DOWNLOAD_BG: string;
|
@@ -2108,7 +2072,6 @@ export declare const ILLUSTRATIONS: {
|
|
2108
2072
|
NUMBER_4_ORANGE: string;
|
2109
2073
|
ONE_STAR_FILLED: string;
|
2110
2074
|
ORANGE_FACE: string;
|
2111
|
-
PARENT_AVATAR: string;
|
2112
2075
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2113
2076
|
PLAY: string;
|
2114
2077
|
PLAY_ICON: string;
|
@@ -2118,6 +2081,7 @@ export declare const ILLUSTRATIONS: {
|
|
2118
2081
|
PROFICIENT_BADGE: string;
|
2119
2082
|
PROFILE_BOARD: string;
|
2120
2083
|
PUZZLE: string;
|
2084
|
+
PUZZLE_DASHBOARD_BANNER: string;
|
2121
2085
|
PUZZLE_PATTERN_BLUE: string;
|
2122
2086
|
PUZZLE_PATTERN_GREEN: string;
|
2123
2087
|
PUZZLE_PATTERN_ORANGE: string;
|
@@ -2136,7 +2100,6 @@ export declare const ILLUSTRATIONS: {
|
|
2136
2100
|
STAR_WITH_GREEN_FILL: string;
|
2137
2101
|
STREAK_GREEN: string;
|
2138
2102
|
STREAK_WHITE: string;
|
2139
|
-
STRIPE_BLURPLE: string;
|
2140
2103
|
TEST_DIFFICULTY_EASY: string;
|
2141
2104
|
TEST_DIFFICULTY_HARD: string;
|
2142
2105
|
TEST_DIFFICULTY_MEDIUM: string;
|
@@ -2146,7 +2109,6 @@ export declare const ILLUSTRATIONS: {
|
|
2146
2109
|
TROPHY_BLUE_FILLED: string;
|
2147
2110
|
TROPHY_CIRCLE: string;
|
2148
2111
|
TROPHY_GREEN: string;
|
2149
|
-
TRUSTPILOT: string;
|
2150
2112
|
TWO_STARS_FILLED: string;
|
2151
2113
|
UP_ARROW: string;
|
2152
2114
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2502,7 +2464,7 @@ export declare interface IModal {
|
|
2502
2464
|
/** Content to display inside the modal */
|
2503
2465
|
element: ReactElement;
|
2504
2466
|
/** Rendering style of the modal */
|
2505
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight'
|
2467
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2506
2468
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2507
2469
|
isDismissable?: boolean;
|
2508
2470
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2679,14 +2641,6 @@ declare interface IOpenImageReviewModalProps {
|
|
2679
2641
|
image?: string;
|
2680
2642
|
}
|
2681
2643
|
|
2682
|
-
declare interface IOTPInputProps {
|
2683
|
-
length?: number;
|
2684
|
-
value: string;
|
2685
|
-
onChange: (val: string) => void;
|
2686
|
-
error?: string;
|
2687
|
-
isBusy?: boolean;
|
2688
|
-
}
|
2689
|
-
|
2690
2644
|
declare interface IOTPResendProps {
|
2691
2645
|
onResendOTP: () => void;
|
2692
2646
|
onResendVoiceOTP?: () => void;
|
@@ -2695,8 +2649,6 @@ declare interface IOTPResendProps {
|
|
2695
2649
|
disabled?: boolean;
|
2696
2650
|
renderAs?: 'submit' | 'text';
|
2697
2651
|
width?: number | string;
|
2698
|
-
textButtonColor?: TColorNames;
|
2699
|
-
size?: 'small' | 'xsmall';
|
2700
2652
|
}
|
2701
2653
|
|
2702
2654
|
declare interface IOutcomeConfig {
|
@@ -2734,18 +2686,6 @@ declare interface IPerfectHitsProps {
|
|
2734
2686
|
value: number;
|
2735
2687
|
}
|
2736
2688
|
|
2737
|
-
declare interface IPillButtonProps {
|
2738
|
-
id: string;
|
2739
|
-
label: string;
|
2740
|
-
selected?: boolean;
|
2741
|
-
disabled?: boolean;
|
2742
|
-
animatedLabel?: string;
|
2743
|
-
icon?: string;
|
2744
|
-
onClick: (val: string) => void;
|
2745
|
-
tooltip?: string;
|
2746
|
-
width?: number | string;
|
2747
|
-
}
|
2748
|
-
|
2749
2689
|
declare interface IPlaceholder {
|
2750
2690
|
text?: string;
|
2751
2691
|
marks?: string;
|
@@ -2859,6 +2799,7 @@ declare interface IPreviewWorksheetProps {
|
|
2859
2799
|
items?: string[];
|
2860
2800
|
onWorksheetLoaded?: (loaded: boolean) => void;
|
2861
2801
|
onUnassign?: () => void;
|
2802
|
+
canStartUnassignJourney?: boolean;
|
2862
2803
|
}
|
2863
2804
|
|
2864
2805
|
export declare interface IProject<T> {
|
@@ -2909,6 +2850,14 @@ declare interface IPuzzle extends IBaseProject {
|
|
2909
2850
|
solved: boolean;
|
2910
2851
|
}
|
2911
2852
|
|
2853
|
+
declare interface IPuzzleAppProps {
|
2854
|
+
itemRef: string;
|
2855
|
+
title: string;
|
2856
|
+
imageHue: THueNames;
|
2857
|
+
feedbackComments?: string;
|
2858
|
+
tip?: string;
|
2859
|
+
}
|
2860
|
+
|
2912
2861
|
export declare interface IPuzzleCard {
|
2913
2862
|
sheetData: TLPARSheetData;
|
2914
2863
|
blockStatus?: TPuzzleCardBlockStatus | null;
|
@@ -2950,6 +2899,9 @@ export declare interface IPuzzleCardAssignData {
|
|
2950
2899
|
node_type: TNodeTypes;
|
2951
2900
|
node_id: string;
|
2952
2901
|
user_node_id: string | null;
|
2902
|
+
rewards?: TPuzzleRewards[];
|
2903
|
+
student_elo_rating: number | null;
|
2904
|
+
current_elo_rating: number | null;
|
2953
2905
|
}
|
2954
2906
|
|
2955
2907
|
declare interface IPuzzleCardContainerProps {
|
@@ -2960,7 +2912,12 @@ declare interface IPuzzleCardContainerProps {
|
|
2960
2912
|
studentId: string;
|
2961
2913
|
onFullyHidden?: () => void;
|
2962
2914
|
onPuzzleClick: () => void;
|
2963
|
-
|
2915
|
+
}
|
2916
|
+
|
2917
|
+
declare interface IPuzzleDashboardProps {
|
2918
|
+
studentId: string;
|
2919
|
+
onBackCLick?: () => void;
|
2920
|
+
onCardClick: (userNodeId: string) => void;
|
2964
2921
|
}
|
2965
2922
|
|
2966
2923
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
@@ -3078,6 +3035,7 @@ export declare interface IReviewWorksheetModel {
|
|
3078
3035
|
title?: string;
|
3079
3036
|
worksheet_id?: string;
|
3080
3037
|
node_type: TNodeTypes;
|
3038
|
+
items?: TWorksheetItems[];
|
3081
3039
|
}
|
3082
3040
|
|
3083
3041
|
declare interface ISATSheetItemCallbacks {
|
@@ -3124,15 +3082,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3124
3082
|
data: Section[];
|
3125
3083
|
}
|
3126
3084
|
|
3127
|
-
declare interface ISelectableInfoCardProps {
|
3128
|
-
id: string;
|
3129
|
-
title: string;
|
3130
|
-
description: string;
|
3131
|
-
icon: string;
|
3132
|
-
selected: boolean;
|
3133
|
-
onClick: (val: string) => void;
|
3134
|
-
}
|
3135
|
-
|
3136
3085
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3137
3086
|
}
|
3138
3087
|
|
@@ -3267,15 +3216,6 @@ declare interface ISignupMethodsProps {
|
|
3267
3216
|
loadingProvider: TSocialAuthProvider | null;
|
3268
3217
|
}
|
3269
3218
|
|
3270
|
-
declare interface ISignupOptionsProps {
|
3271
|
-
onEmailSignup: () => void;
|
3272
|
-
onGoogleSignup: () => void;
|
3273
|
-
onAppleSignup: () => void;
|
3274
|
-
onGoToLogin: () => void;
|
3275
|
-
loadingProvider: TSocialAuthProvider | null;
|
3276
|
-
title?: string;
|
3277
|
-
}
|
3278
|
-
|
3279
3219
|
export declare interface ISignUpProps {
|
3280
3220
|
circleOnLeapSignedUp: boolean;
|
3281
3221
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3431,8 +3371,6 @@ declare interface ISyncableWebGameProps {
|
|
3431
3371
|
declare interface ITabItem {
|
3432
3372
|
id: string;
|
3433
3373
|
label: string;
|
3434
|
-
iconPosition?: 'left' | 'right';
|
3435
|
-
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3436
3374
|
}
|
3437
3375
|
|
3438
3376
|
export declare interface ITable {
|
@@ -3504,7 +3442,6 @@ declare interface ITabsProps {
|
|
3504
3442
|
selectedTab: string;
|
3505
3443
|
onChange: (tab: string) => void;
|
3506
3444
|
tabs: ITabItem[];
|
3507
|
-
background?: TColorNames;
|
3508
3445
|
}
|
3509
3446
|
|
3510
3447
|
export declare interface ITabVariantConfig {
|
@@ -3563,20 +3500,6 @@ declare interface ITalkMeterProps extends ITalkMeter {
|
|
3563
3500
|
animated?: boolean;
|
3564
3501
|
}
|
3565
3502
|
|
3566
|
-
declare interface ITeacherProfileDetails {
|
3567
|
-
lower_grade: string;
|
3568
|
-
higher_grade: string;
|
3569
|
-
header_image: string;
|
3570
|
-
years_of_experience: number;
|
3571
|
-
number_of_students_taught: number;
|
3572
|
-
countries: string[];
|
3573
|
-
degree: TDegreeInformation;
|
3574
|
-
}
|
3575
|
-
|
3576
|
-
declare interface ITeacherProfileProps {
|
3577
|
-
teacherProfile?: ITeacherProfileDetails;
|
3578
|
-
}
|
3579
|
-
|
3580
3503
|
declare interface ITeacherReview {
|
3581
3504
|
reviewComment?: string;
|
3582
3505
|
images?: string[];
|
@@ -3869,6 +3792,10 @@ declare interface IusePointerSyncProps {
|
|
3869
3792
|
targetUserId?: string;
|
3870
3793
|
}
|
3871
3794
|
|
3795
|
+
declare interface IUsePuzzleIntroJourney {
|
3796
|
+
onJourneyComplete: () => void;
|
3797
|
+
}
|
3798
|
+
|
3872
3799
|
export declare interface IUserChapterData {
|
3873
3800
|
chapter_code: string;
|
3874
3801
|
chapter_id: string;
|
@@ -4069,6 +3996,14 @@ export declare interface IWorksheetBehavior {
|
|
4069
3996
|
* For teacher we don't show review cta.
|
4070
3997
|
*/
|
4071
3998
|
canTeacherValidate: boolean;
|
3999
|
+
/**
|
4000
|
+
* * In case of puzzle worksheet for teacher
|
4001
|
+
* * If true,
|
4002
|
+
* Teacher validation button will be disabled.
|
4003
|
+
* * If false,
|
4004
|
+
* Teacher validation button will be active.
|
4005
|
+
*/
|
4006
|
+
canTeacherValidateDisabled?: boolean;
|
4072
4007
|
/**
|
4073
4008
|
* If true, questions will be validated and feedback will be shown.
|
4074
4009
|
*/
|
@@ -4120,6 +4055,10 @@ export declare interface IWorksheetBehavior {
|
|
4120
4055
|
* If true, the user can unassign the sheet.
|
4121
4056
|
*/
|
4122
4057
|
canUnAssign?: boolean;
|
4058
|
+
/**
|
4059
|
+
* If true, journey will be started.
|
4060
|
+
*/
|
4061
|
+
canStartJourney?: boolean;
|
4123
4062
|
}
|
4124
4063
|
|
4125
4064
|
declare interface IWorksheetCallbackProps {
|
@@ -4280,16 +4219,23 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4280
4219
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
4281
4220
|
CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
|
4282
4221
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
4283
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4284
4222
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4285
4223
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4286
|
-
|
4224
|
+
PUZZLE_ATTEMPT_JOURNEY = "PUZZLE_ATTEMPT_JOURNEY",
|
4225
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4226
|
+
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
4227
|
+
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
4287
4228
|
}
|
4288
4229
|
|
4289
4230
|
export declare enum JOURNEY_ID_TEACHER {
|
4290
4231
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4291
4232
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4292
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4233
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4234
|
+
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
4235
|
+
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
4236
|
+
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
4237
|
+
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
4238
|
+
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
4293
4239
|
}
|
4294
4240
|
|
4295
4241
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -4312,8 +4258,6 @@ declare const LESSON_TAG_TYPE: {
|
|
4312
4258
|
readonly DEFAULT: "DEFAULT";
|
4313
4259
|
};
|
4314
4260
|
|
4315
|
-
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4316
|
-
|
4317
4261
|
export declare const loadScript: ILoadScript;
|
4318
4262
|
|
4319
4263
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4328,7 +4272,6 @@ export declare const LOTTIE: {
|
|
4328
4272
|
ACTIVITY: string;
|
4329
4273
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4330
4274
|
ALL_DONE: string;
|
4331
|
-
ANIMATED_AVATAR: string;
|
4332
4275
|
AVATAR_SELECTED: string;
|
4333
4276
|
BEGINNER1X: string;
|
4334
4277
|
BRONZE_1: string;
|
@@ -4360,14 +4303,12 @@ export declare const LOTTIE: {
|
|
4360
4303
|
FAMILIAR1X: string;
|
4361
4304
|
FIFTEEN_MIN_CLOCK: string;
|
4362
4305
|
FIVE_MIN_CLOCK: string;
|
4363
|
-
FLYING_DISK: string;
|
4364
4306
|
GIFT: string;
|
4365
4307
|
GOLD_1: string;
|
4366
4308
|
GOLD_2: string;
|
4367
4309
|
GOLD_3: string;
|
4368
4310
|
GOLF: string;
|
4369
4311
|
GRADE: string;
|
4370
|
-
GRADUATION_CAP: string;
|
4371
4312
|
HIGH_SCORE_CONFETTI: string;
|
4372
4313
|
HIGH_SCORE_TEXT: string;
|
4373
4314
|
INFINITE_BUTTON_BG: string;
|
@@ -4378,21 +4319,17 @@ export declare const LOTTIE: {
|
|
4378
4319
|
LEVELUP_RINGS: string;
|
4379
4320
|
LEVEL_1_ALLSTAR: string;
|
4380
4321
|
LIGHTNING: string;
|
4381
|
-
LIGHT_BULB: string;
|
4382
4322
|
MAGICWAND: string;
|
4383
4323
|
MAIL: string;
|
4384
4324
|
MECHANICAL_ARM: string;
|
4385
4325
|
MEDAL: string;
|
4386
4326
|
MEDIUM: string;
|
4387
|
-
MUSCLE: string;
|
4388
4327
|
NUDGE_TAP: string;
|
4389
4328
|
OTP: string;
|
4390
4329
|
PARENT_AVATAR: string;
|
4391
4330
|
PARTY_BALL: string;
|
4392
4331
|
PARTY_POPPER: string;
|
4393
|
-
PENCIL: string;
|
4394
4332
|
PHONE_NUMBER: string;
|
4395
|
-
PLUS_SIGN: string;
|
4396
4333
|
POINT100: string;
|
4397
4334
|
POINT10: string;
|
4398
4335
|
POINT15: string;
|
@@ -4413,12 +4350,14 @@ export declare const LOTTIE: {
|
|
4413
4350
|
PROFICIENT1X: string;
|
4414
4351
|
PROJECT: string;
|
4415
4352
|
PUZZLE: string;
|
4416
|
-
|
4353
|
+
PUZZLE_BLUE_LOTTIE: string;
|
4354
|
+
PUZZLE_GREEN_LOTTIE: string;
|
4355
|
+
PUZZLE_ORANGE_LOTTIE: string;
|
4356
|
+
PUZZLE_PURPLE_LOTTIE: string;
|
4357
|
+
PUZZLE_YELLOW_LOTTIE: string;
|
4417
4358
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4418
4359
|
RECAP: string;
|
4419
|
-
ROCKET: string;
|
4420
4360
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4421
|
-
SHOVEL: string;
|
4422
4361
|
SILVER_1: string;
|
4423
4362
|
SILVER_2: string;
|
4424
4363
|
SILVER_3: string;
|
@@ -4481,8 +4420,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4481
4420
|
|
4482
4421
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4483
4422
|
|
4484
|
-
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4485
|
-
|
4486
4423
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4487
4424
|
|
4488
4425
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4615,7 +4552,7 @@ export declare enum NODE_TYPES {
|
|
4615
4552
|
'PUZZLE_CARD' = "PUZZLE_CARD"
|
4616
4553
|
}
|
4617
4554
|
|
4618
|
-
export declare const Nudge: React_2.
|
4555
|
+
export declare const Nudge: React_2.NamedExoticComponent<INudgeProps>;
|
4619
4556
|
|
4620
4557
|
export declare const NumRangeInput: React.FC<NumRangeInputProps>;
|
4621
4558
|
|
@@ -4636,12 +4573,8 @@ declare interface NumRangeInputProps {
|
|
4636
4573
|
endPlaceholder?: string;
|
4637
4574
|
}
|
4638
4575
|
|
4639
|
-
export declare const OnboardingGuide: () => JSX.Element;
|
4640
|
-
|
4641
4576
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4642
4577
|
|
4643
|
-
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4644
|
-
|
4645
4578
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4646
4579
|
|
4647
4580
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4654,8 +4587,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4654
4587
|
|
4655
4588
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4656
4589
|
|
4657
|
-
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4658
|
-
|
4659
4590
|
/**
|
4660
4591
|
** Global/Platform specific events that needs to be tracked goes here
|
4661
4592
|
** Naming convention needs to be snake_case
|
@@ -4665,6 +4596,7 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
4665
4596
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
4666
4597
|
HOMEWORK_COMPLETED = "homework_completed",
|
4667
4598
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
4599
|
+
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
4668
4600
|
ACTIVITY_STARTED = "activity_started",
|
4669
4601
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
4670
4602
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4681,7 +4613,9 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
4681
4613
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
4682
4614
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
4683
4615
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
4684
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4616
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next",
|
4617
|
+
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
4618
|
+
PUZZLE_REVIEWED = "puzzle_reviewed"
|
4685
4619
|
}
|
4686
4620
|
|
4687
4621
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4754,8 +4688,12 @@ declare const PUZZLE_CARD_STATE: {
|
|
4754
4688
|
|
4755
4689
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4756
4690
|
|
4691
|
+
export declare const PuzzleApp: NamedExoticComponent<IPuzzleAppProps>;
|
4692
|
+
|
4757
4693
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4758
4694
|
|
4695
|
+
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
4696
|
+
|
4759
4697
|
export declare const PuzzleFeedbackCelebration: FC;
|
4760
4698
|
|
4761
4699
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4817,6 +4755,10 @@ declare const SAT_NODE_TYPE: {
|
|
4817
4755
|
|
4818
4756
|
export declare const SATSheetSummary: FC<ISATSheetSummary>;
|
4819
4757
|
|
4758
|
+
export declare const ScreenGrabFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4759
|
+
|
4760
|
+
export declare const ScreenGrabIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4761
|
+
|
4820
4762
|
export declare const SearchableSelectInput: <IDType extends string | number>(props: ISearchableSelectInputProps<IDType>) => ReactElement;
|
4821
4763
|
|
4822
4764
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4835,8 +4777,6 @@ declare enum SECTION_CODE {
|
|
4835
4777
|
|
4836
4778
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4837
4779
|
|
4838
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4839
|
-
|
4840
4780
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4841
4781
|
|
4842
4782
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4892,12 +4832,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4892
4832
|
|
4893
4833
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4894
4834
|
|
4895
|
-
export declare const SignupHeader: () => JSX.Element;
|
4896
|
-
|
4897
4835
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4898
4836
|
|
4899
|
-
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4900
|
-
|
4901
4837
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4902
4838
|
export { SketchIcon as ScribbleIcon }
|
4903
4839
|
export { SketchIcon }
|
@@ -4924,8 +4860,6 @@ export declare const STAGES: {
|
|
4924
4860
|
|
4925
4861
|
export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4926
4862
|
|
4927
|
-
export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4928
|
-
|
4929
4863
|
export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4930
4864
|
|
4931
4865
|
export declare enum State {
|
@@ -4955,6 +4889,10 @@ declare const STICKER_BADGE: {
|
|
4955
4889
|
|
4956
4890
|
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
4957
4891
|
|
4892
|
+
export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4893
|
+
|
4894
|
+
export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4895
|
+
|
4958
4896
|
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
4959
4897
|
|
4960
4898
|
declare interface StickersProps {
|
@@ -4994,7 +4932,7 @@ declare const TAB_CODES: {
|
|
4994
4932
|
|
4995
4933
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4996
4934
|
|
4997
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs
|
4935
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4998
4936
|
|
4999
4937
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
5000
4938
|
|
@@ -5083,7 +5021,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5083
5021
|
|
5084
5022
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5085
5023
|
|
5086
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark'
|
5024
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5087
5025
|
|
5088
5026
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5089
5027
|
|
@@ -5204,15 +5142,8 @@ declare type TCueProgramData = {
|
|
5204
5142
|
|
5205
5143
|
declare type TDefaultSection = Record<string, unknown>;
|
5206
5144
|
|
5207
|
-
declare type TDegreeInformation = {
|
5208
|
-
degree_name?: string;
|
5209
|
-
field_of_study?: string;
|
5210
|
-
};
|
5211
|
-
|
5212
5145
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5213
5146
|
|
5214
|
-
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
5215
|
-
|
5216
5147
|
declare type TEnglishSectionSummary = {
|
5217
5148
|
section_code: 'READING & WRITING';
|
5218
5149
|
} & TSectionSummary;
|
@@ -5246,7 +5177,6 @@ declare interface TextProps {
|
|
5246
5177
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5247
5178
|
$renderOnMobileAs?: TTextVariants;
|
5248
5179
|
$renderOnTabletAs?: TTextVariants;
|
5249
|
-
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
5250
5180
|
}
|
5251
5181
|
|
5252
5182
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5501,6 +5431,21 @@ export declare type TInclassMessage = {
|
|
5501
5431
|
eventPayload: {
|
5502
5432
|
chapterId: string;
|
5503
5433
|
};
|
5434
|
+
} | {
|
5435
|
+
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
5436
|
+
eventPayload: {
|
5437
|
+
puzzleId: string;
|
5438
|
+
};
|
5439
|
+
} | {
|
5440
|
+
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
5441
|
+
eventPayload: {
|
5442
|
+
puzzleId?: string;
|
5443
|
+
};
|
5444
|
+
} | {
|
5445
|
+
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
5446
|
+
eventPayload: {
|
5447
|
+
puzzleId: string;
|
5448
|
+
};
|
5504
5449
|
} | {
|
5505
5450
|
eventName: 'TEACHER_BADGE';
|
5506
5451
|
eventPayload: {
|
@@ -6119,6 +6064,10 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
6119
6064
|
|
6120
6065
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
6121
6066
|
|
6067
|
+
declare type TWorksheetItems = {
|
6068
|
+
ref: string;
|
6069
|
+
};
|
6070
|
+
|
6122
6071
|
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
6123
6072
|
|
6124
6073
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|
@@ -6326,6 +6275,21 @@ export declare const useModalParams: IUseModalParams;
|
|
6326
6275
|
|
6327
6276
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
6328
6277
|
|
6278
|
+
export declare const usePuzzleDashboardJourney: () => {
|
6279
|
+
puzzleProfileRef: RefObject<HTMLDivElement>;
|
6280
|
+
startJourney: (avatar: IAvatarLayer[]) => void;
|
6281
|
+
};
|
6282
|
+
|
6283
|
+
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
6284
|
+
puzzleIconRef: RefObject<HTMLDivElement>;
|
6285
|
+
startJourney: () => void;
|
6286
|
+
};
|
6287
|
+
|
6288
|
+
export declare const usePuzzleProgressJourney: () => {
|
6289
|
+
puzzleProgressRef: RefObject<HTMLDivElement>;
|
6290
|
+
startJourney: () => void;
|
6291
|
+
};
|
6292
|
+
|
6329
6293
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
6330
6294
|
|
6331
6295
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -6336,6 +6300,11 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
6336
6300
|
|
6337
6301
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
6338
6302
|
|
6303
|
+
export declare const useTeacherPuzzleAssignedJourney: () => {
|
6304
|
+
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
6305
|
+
startJourney: () => void;
|
6306
|
+
};
|
6307
|
+
|
6339
6308
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
6340
6309
|
onClick: TTrackCTA;
|
6341
6310
|
onResponse: TTrackInput;
|