@cuemath/leap 3.5.4-as3 → 3.5.4-mb-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 +0 -4
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/images/images.js +0 -12
- package/dist/assets/images/images.js.map +1 -1
- package/dist/features/stickers/hooks/use-handle-sticker-send/use-handle-sticker-send.js +46 -0
- package/dist/features/stickers/hooks/use-handle-sticker-send/use-handle-sticker-send.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js +57 -56
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -1
- package/dist/features/ui/theme/text.js +0 -15
- package/dist/features/ui/theme/text.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/question-guide.js +73 -47
- package/dist/features/worksheet/worksheet/worksheet-sidebar/question-guide.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/sidebar.js +19 -17
- package/dist/features/worksheet/worksheet/worksheet-sidebar/sidebar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +84 -82
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/index.d.ts +17 -31
- package/dist/index.js +239 -241
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/stickers/hooks/use-handle-sticker-send.js +0 -44
- package/dist/features/stickers/hooks/use-handle-sticker-send.js.map +0 -1
- package/dist/features/timeline/api/use-daily-timeline-get.js +0 -10
- package/dist/features/timeline/api/use-daily-timeline-get.js.map +0 -1
- package/dist/features/timeline/comps/accordion-item/accordion-item.js +0 -53
- package/dist/features/timeline/comps/accordion-item/accordion-item.js.map +0 -1
- package/dist/features/timeline/comps/accordion-item/utils.js +0 -66
- package/dist/features/timeline/comps/accordion-item/utils.js.map +0 -1
- package/dist/features/timeline/daily-timeline/daily-timeline-items/daily-timeline-items-styled.js +0 -13
- package/dist/features/timeline/daily-timeline/daily-timeline-items/daily-timeline-items-styled.js.map +0 -1
- package/dist/features/timeline/daily-timeline/daily-timeline-items/daily-timeline-items.js +0 -50
- package/dist/features/timeline/daily-timeline/daily-timeline-items/daily-timeline-items.js.map +0 -1
- package/dist/features/timeline/daily-timeline/daily-timeline-styled.js +0 -34
- package/dist/features/timeline/daily-timeline/daily-timeline-styled.js.map +0 -1
- package/dist/features/timeline/daily-timeline/daily-timeline.js +0 -119
- package/dist/features/timeline/daily-timeline/daily-timeline.js.map +0 -1
- package/dist/features/ui/simple-accordian/accordion-styled.js +0 -18
- package/dist/features/ui/simple-accordian/accordion-styled.js.map +0 -1
- package/dist/features/ui/simple-accordian/accordion.js +0 -59
- package/dist/features/ui/simple-accordian/accordion.js.map +0 -1
- package/dist/node_modules/date-fns/endOfDay.js +0 -10
- package/dist/node_modules/date-fns/endOfDay.js.map +0 -1
- package/dist/node_modules/date-fns/endOfMonth.js +0 -10
- package/dist/node_modules/date-fns/endOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/isLastDayOfMonth.js +0 -12
- package/dist/node_modules/date-fns/isLastDayOfMonth.js.map +0 -1
- package/dist/node_modules/date-fns/parseISO.js +0 -123
- package/dist/node_modules/date-fns/parseISO.js.map +0 -1
- package/dist/static/apr.09a50ff7.png +0 -0
- package/dist/static/aug.7179d37e.png +0 -0
- package/dist/static/circle-icon.1027df3c.svg +0 -1
- package/dist/static/cw-icon.c61f9779.svg +0 -1
- package/dist/static/dec.09f7e315.png +0 -0
- package/dist/static/feb.9e72504d.png +0 -0
- package/dist/static/hw-icon.6d78e885.svg +0 -1
- package/dist/static/jan.da91944a.png +0 -0
- package/dist/static/jul.5a1c4932.png +0 -0
- package/dist/static/jun.62639c2f.png +0 -0
- package/dist/static/mar.f51bcfa6.png +0 -0
- package/dist/static/may.7c542020.png +0 -0
- package/dist/static/no-activity.0451dcbb.svg +0 -1
- package/dist/static/nov.058343e7.png +0 -0
- package/dist/static/oct.573ee19d.png +0 -0
- package/dist/static/sep.3ccb6468.png +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -465,16 +465,6 @@ declare interface CurriculumMap {
|
|
|
465
465
|
|
|
466
466
|
export declare const CustomInputField: NamedExoticComponent<ICustomInputFieldProps>;
|
|
467
467
|
|
|
468
|
-
export declare const DailyTimeline: FC<DailyTimelineProps>;
|
|
469
|
-
|
|
470
|
-
declare interface DailyTimelineProps {
|
|
471
|
-
userType: TUserTypes;
|
|
472
|
-
studentId: string;
|
|
473
|
-
courseStreams: TCourseStream[];
|
|
474
|
-
onPuzzlesClick: (userNodeId: string) => void;
|
|
475
|
-
onReviewClick: (userNodeId: string) => void;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
468
|
export declare const DashArrowIcon: FC<SVGProps<SVGSVGElement>>;
|
|
479
469
|
|
|
480
470
|
export declare const DatePickerInput: NamedExoticComponent<IDatePickerInputProps>;
|
|
@@ -2328,7 +2318,6 @@ export declare const ILLUSTRATIONS: {
|
|
|
2328
2318
|
CHAPTER_HEADER_BG_2: string;
|
|
2329
2319
|
CIRCLE_CUEMATH_LOGO: string;
|
|
2330
2320
|
CIRCLE_CUEMATH_LOGO_WHITE: string;
|
|
2331
|
-
CIRCLE_ICON: string;
|
|
2332
2321
|
CIRCLE_OUTERCIRCLE_BG: string;
|
|
2333
2322
|
CLOCK_ORANGE: string;
|
|
2334
2323
|
COMMON: string;
|
|
@@ -2339,7 +2328,6 @@ export declare const ILLUSTRATIONS: {
|
|
|
2339
2328
|
CROWN_OVERLAY: string;
|
|
2340
2329
|
CUECOIN_GOLD: string;
|
|
2341
2330
|
CUEMATH_APP_QR_CODE: string;
|
|
2342
|
-
CW_ICON: string;
|
|
2343
2331
|
DESKTOP_WITH_PURPLE_FILL: string;
|
|
2344
2332
|
DURATION_30MIN_GRAY: string;
|
|
2345
2333
|
DURATION_45MIN_GRAY: string;
|
|
@@ -2361,7 +2349,6 @@ export declare const ILLUSTRATIONS: {
|
|
|
2361
2349
|
HANDSHAKE: string;
|
|
2362
2350
|
HANDSHAKE_GREEN: string;
|
|
2363
2351
|
HEART_OUTLINED: string;
|
|
2364
|
-
HW_ICON: string;
|
|
2365
2352
|
KNOWLEDGE_BLUE: string;
|
|
2366
2353
|
LEARNED_SHIELD_GRAY: string;
|
|
2367
2354
|
LEARNED_SHIELD_GREEN: string;
|
|
@@ -2397,7 +2384,6 @@ export declare const ILLUSTRATIONS: {
|
|
|
2397
2384
|
NODE_SUBJECTIVE_BG: string;
|
|
2398
2385
|
NODE_TEST_PREP_BG: string;
|
|
2399
2386
|
NODE_VIDEO_BG: string;
|
|
2400
|
-
NO_ACTIVITY: string;
|
|
2401
2387
|
NUMBER_1_ORANGE: string;
|
|
2402
2388
|
NUMBER_2_ORANGE: string;
|
|
2403
2389
|
NUMBER_3_ORANGE: string;
|
|
@@ -2517,9 +2503,7 @@ export declare const ImageIcon: FC<SVGProps<SVGSVGElement>>;
|
|
|
2517
2503
|
|
|
2518
2504
|
export declare const IMAGES: {
|
|
2519
2505
|
ACHIEVEMENT_BG: string;
|
|
2520
|
-
APR: string;
|
|
2521
2506
|
ASHTA: string;
|
|
2522
|
-
AUG: string;
|
|
2523
2507
|
AWESOME: string;
|
|
2524
2508
|
BADGE_SUCCESS: string;
|
|
2525
2509
|
BG_EMPTY_RESOURCES: string;
|
|
@@ -2530,28 +2514,19 @@ export declare const IMAGES: {
|
|
|
2530
2514
|
CONGRATS: string;
|
|
2531
2515
|
COOL: string;
|
|
2532
2516
|
COSA: string;
|
|
2533
|
-
DEC: string;
|
|
2534
2517
|
DEFAULT_CHAPTER: string;
|
|
2535
2518
|
DODA: string;
|
|
2536
2519
|
DVI: string;
|
|
2537
2520
|
EKA: string;
|
|
2538
2521
|
EMPTY_MIX_TESTS: string;
|
|
2539
|
-
FEB: string;
|
|
2540
2522
|
GREAT: string;
|
|
2541
2523
|
GREEN_BELT: string;
|
|
2542
2524
|
HEXO: string;
|
|
2543
|
-
JAN: string;
|
|
2544
|
-
JUL: string;
|
|
2545
|
-
JUN: string;
|
|
2546
2525
|
KUDOS: string;
|
|
2547
2526
|
LEARNING_PLAN: string;
|
|
2548
2527
|
LESSON_OVERVIEW_BANNER: string;
|
|
2549
|
-
MAR: string;
|
|
2550
2528
|
MASTERED_BADGE: string;
|
|
2551
|
-
MAY: string;
|
|
2552
|
-
NOV: string;
|
|
2553
2529
|
NO_INFO: string;
|
|
2554
|
-
OCT: string;
|
|
2555
2530
|
OCTO: string;
|
|
2556
2531
|
ORANGE_BELT: string;
|
|
2557
2532
|
PURPLE_BELT: string;
|
|
@@ -2559,7 +2534,6 @@ export declare const IMAGES: {
|
|
|
2559
2534
|
PUZZLE_CARD_HARD: string;
|
|
2560
2535
|
PUZZLE_CARD_MEDIUM: string;
|
|
2561
2536
|
RED_BELT: string;
|
|
2562
|
-
SEP: string;
|
|
2563
2537
|
SHARED: string;
|
|
2564
2538
|
SHEET_REFERENCE: string;
|
|
2565
2539
|
SPIRAL_PATTERN: string;
|
|
@@ -3797,7 +3771,8 @@ declare interface IStickerSelectorProps {
|
|
|
3797
3771
|
tooltipConfig: Omit<Partial<IArrowTooltipProps>, 'children' | 'tooltipItem' | 'hidden' | 'alwaysVisible'>;
|
|
3798
3772
|
visible: boolean;
|
|
3799
3773
|
onToggle: () => void;
|
|
3800
|
-
studentClassroomId
|
|
3774
|
+
studentClassroomId: string;
|
|
3775
|
+
metaData: TUseStickerSendMetaData;
|
|
3801
3776
|
}
|
|
3802
3777
|
|
|
3803
3778
|
declare interface IStickersProviderProps {
|
|
@@ -4677,7 +4652,7 @@ declare interface IWorksheetCallbackProps {
|
|
|
4677
4652
|
loggerRef: MutableRefObject<(eventName: string, data?: Record<string, unknown>) => void>;
|
|
4678
4653
|
}
|
|
4679
4654
|
|
|
4680
|
-
declare interface IWorksheetContainerProps extends Omit<IBaseWorksheetProps, 'behavior'>, IWorksheetCallbackProps, ICueCanvasProps, ICueCanvasCallbackProps, IPointerSyncCallbackProps {
|
|
4655
|
+
declare interface IWorksheetContainerProps extends Omit<IBaseWorksheetProps, 'behavior'>, IWorksheetCallbackProps, ICueCanvasProps, ICueCanvasCallbackProps, IPointerSyncCallbackProps, IWorksheetPlugins {
|
|
4681
4656
|
studentId: string;
|
|
4682
4657
|
attemptId?: string;
|
|
4683
4658
|
itemsSignedRequest: string;
|
|
@@ -4748,7 +4723,13 @@ declare interface IWorksheetPermissionV2 {
|
|
|
4748
4723
|
reason: string;
|
|
4749
4724
|
}
|
|
4750
4725
|
|
|
4751
|
-
|
|
4726
|
+
declare interface IWorksheetPlugins {
|
|
4727
|
+
plugins?: {
|
|
4728
|
+
stickers?: ReactNode;
|
|
4729
|
+
};
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4732
|
+
export declare interface IWorksheetProps extends IBaseWorksheetProps, IWorksheetCallbackProps, ICueCanvasProps, ICueCanvasCallbackProps, IPointerSyncCallbackProps, IWorksheetPlugins {
|
|
4752
4733
|
learnosityActivityRef?: string;
|
|
4753
4734
|
learnosityItems: ILearnosityItem[];
|
|
4754
4735
|
learnosityResponses?: Record<string, IWorksheetResponse>;
|
|
@@ -6846,7 +6827,7 @@ export declare type TTestType = 'standardized' | 'non-standardized' | 'no-test'
|
|
|
6846
6827
|
|
|
6847
6828
|
export declare type TTextButtonSizes = 'small' | 'regular' | 'medium';
|
|
6848
6829
|
|
|
6849
|
-
export declare type TTextVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'quote' | 'body1' | 'body1Medium' | 'body2' | 'body3' | 'eyebrow1' | 'eyebrow2' | 'cta1' | 'cta2' | 'cta3' | `${'ah1' | 'ah2' | 'ah3' | 'ah4' | 'ab1' | 'ab2' | 'ab3'
|
|
6830
|
+
export declare type TTextVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'quote' | 'body1' | 'body1Medium' | 'body2' | 'body3' | 'eyebrow1' | 'eyebrow2' | 'cta1' | 'cta2' | 'cta3' | `${'ah1' | 'ah2' | 'ah3' | 'ah4' | 'ab1' | 'ab2' | 'ab3'}${'' | '-bold' | '-black'}` | `${'ac1' | 'ac2' | 'ac3' | 'ac4'}${'' | '-black'}` | `${'ub1' | 'ub2' | 'ub3'}${'' | '-bold'}`;
|
|
6850
6831
|
|
|
6851
6832
|
declare type TTimeUnit = 'hours' | 'minutes' | 'days';
|
|
6852
6833
|
|
|
@@ -6911,6 +6892,11 @@ declare type TUserProgram = {
|
|
|
6911
6892
|
|
|
6912
6893
|
export declare type TUserTypes = 'TEACHER' | 'STUDENT';
|
|
6913
6894
|
|
|
6895
|
+
declare type TUseStickerSendMetaData = {
|
|
6896
|
+
teacherClassroomId: string;
|
|
6897
|
+
triggerType: "worksheet" | "default";
|
|
6898
|
+
};
|
|
6899
|
+
|
|
6914
6900
|
export declare const TutorChangeModal: MemoExoticComponent<() => JSX.Element>;
|
|
6915
6901
|
|
|
6916
6902
|
export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialPlayedOnce, isJourneyActive, }: ITutorialProps) => JSX.Element;
|
|
@@ -7144,7 +7130,7 @@ export declare const useGetTestHelpData: (initialId?: string, initialQuery?: voi
|
|
|
7144
7130
|
} & Record<string, unknown>) | undefined;
|
|
7145
7131
|
};
|
|
7146
7132
|
|
|
7147
|
-
export declare const useHandleStickerSend: (studentClassroomId
|
|
7133
|
+
export declare const useHandleStickerSend: (studentClassroomId: string, metaData: TUseStickerSendMetaData) => (sticker: IStickerData, effect: TStickerAnimationEffects) => void;
|
|
7148
7134
|
|
|
7149
7135
|
export declare const useHomePageJourney: () => {
|
|
7150
7136
|
homepageRef: RefObject<HTMLDivElement>;
|