@cuemath/leap 2.8.40-link.1 → 2.8.40
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 -2
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +6 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode-styled.js +3 -3
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js +29 -35
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/constants.js +6 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/constants.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star-styled.js +25 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js +57 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star-styled.js +27 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star-styled.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js +37 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js.map +1 -0
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +35 -42
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card-styled.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +221 -212
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js +8 -7
- package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js +25 -24
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- package/dist/features/circle-games/games/web-view/web-view-types.js.map +1 -1
- package/dist/features/circle-games/hooks/use-circle-sounds/constants.js +8 -3
- package/dist/features/circle-games/hooks/use-circle-sounds/constants.js.map +1 -1
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js +2 -2
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js.map +1 -1
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js +22 -17
- package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js.map +1 -1
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js +17 -0
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc-styled.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js +50 -0
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/animated-arc.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js +6 -0
- package/dist/features/post-game-stats/digital-meter/comp/animated-arc/constants.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/constants.js +18 -0
- package/dist/features/post-game-stats/digital-meter/constants.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js +87 -0
- package/dist/features/post-game-stats/digital-meter/digital-meter-styled.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/digital-meter.js +191 -0
- package/dist/features/post-game-stats/digital-meter/digital-meter.js.map +1 -0
- package/dist/features/post-game-stats/digital-meter/helper.js +33 -0
- package/dist/features/post-game-stats/digital-meter/helper.js.map +1 -0
- package/dist/features/post-game-stats/enums/post-game-stats-enum.js +1 -1
- package/dist/features/post-game-stats/enums/post-game-stats-enum.js.map +1 -1
- package/dist/features/post-game-stats/number-count-animation/number-count-animation.js +27 -0
- package/dist/features/post-game-stats/number-count-animation/number-count-animation.js.map +1 -0
- package/dist/features/post-game-stats/points/points.js +27 -18
- package/dist/features/post-game-stats/points/points.js.map +1 -1
- package/dist/features/post-game-stats/post-game-stats.js +88 -61
- package/dist/features/post-game-stats/post-game-stats.js.map +1 -1
- package/dist/index.d.ts +52 -45
- package/dist/index.js +100 -100
- package/dist/static/point2.7cec6e24.json +1 -0
- package/dist/static/point3.f96fe7aa.json +1 -0
- package/dist/static/point4.fe04fb83.json +1 -0
- package/dist/static/table-mode-star.b8a1d762.json +1 -0
- package/dist/static/table-segment-star.78e851d6.json +1 -0
- package/dist/static/target-achieved-text.053bd142.json +2830 -0
- package/dist/static/target-achieved-text.10db8475.json +1 -0
- package/package.json +3 -2
- package/dist/assets/sounds/sounds.js +0 -7
- package/dist/assets/sounds/sounds.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star-styled.js +0 -11
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star-styled.js.map +0 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star.js +0 -16
- package/dist/features/circle-games/game-launcher/comps/tables-card/table-star/table-star.js.map +0 -1
- package/dist/features/talk-meter/helper.js +0 -11
- package/dist/features/talk-meter/helper.js.map +0 -1
- package/dist/features/talk-meter/hooks/use-talk-meter.js +0 -123
- package/dist/features/talk-meter/hooks/use-talk-meter.js.map +0 -1
- package/dist/features/talk-meter/ripple/index.js +0 -62
- package/dist/features/talk-meter/ripple/index.js.map +0 -1
- package/dist/features/talk-meter/talk-meter-styled.js +0 -89
- package/dist/features/talk-meter/talk-meter-styled.js.map +0 -1
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view-styled.js +0 -22
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view-styled.js.map +0 -1
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view.js +0 -101
- package/dist/features/talk-meter/talk-meter-view/talk-meter-view.js.map +0 -1
- package/dist/features/talk-meter/talk-meter.js +0 -75
- package/dist/features/talk-meter/talk-meter.js.map +0 -1
- package/dist/static/female-avatar.b8cd1012.svg +0 -1
- package/dist/static/male-avatar.2febc9eb.svg +0 -1
package/dist/index.d.ts
CHANGED
@@ -194,7 +194,12 @@ export declare enum CircleSoundKey {
|
|
194
194
|
ACCURACY_IN = "accuracy-in",
|
195
195
|
ACCURACY_OUT = "accuracy-out",
|
196
196
|
STREAK_IN = "streak-in",
|
197
|
-
STREAK_OUT = "streak-out"
|
197
|
+
STREAK_OUT = "streak-out",
|
198
|
+
ACCURACY_INTRO = "accuracy-intro",
|
199
|
+
ACCURACY_TARGET = "accuracy-target",
|
200
|
+
TIME_INTRO = "time-intro",
|
201
|
+
TIME_TARGET = "time-target",
|
202
|
+
METER_FILL = "meter-fill"
|
198
203
|
}
|
199
204
|
|
200
205
|
export declare const CircularLoader: () => JSX_2.Element;
|
@@ -253,6 +258,8 @@ export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
253
258
|
|
254
259
|
export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
255
260
|
|
261
|
+
export declare const DigitalMeter: FC<IDigitalMeterProps>;
|
262
|
+
|
256
263
|
export declare const DownIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
257
264
|
|
258
265
|
export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -296,7 +303,8 @@ export declare enum EPostGameStat {
|
|
296
303
|
STREAK = "streak",
|
297
304
|
ACCURACY = "accuracy",
|
298
305
|
CLOCK = "clock",
|
299
|
-
POINT = "point"
|
306
|
+
POINT = "point",
|
307
|
+
DIGITAL_METER = "digital-meter"
|
300
308
|
}
|
301
309
|
|
302
310
|
export declare const EPResourceAssign: FC<IEPResourceAssign>;
|
@@ -404,12 +412,6 @@ export declare const GameIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
404
412
|
|
405
413
|
export declare const GameLauncher: FC<IGameLauncherProps>;
|
406
414
|
|
407
|
-
declare enum GENDER {
|
408
|
-
MALE = "MALE",
|
409
|
-
FEMALE = "FEMALE",
|
410
|
-
OTHER = "OTHER"
|
411
|
-
}
|
412
|
-
|
413
415
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
414
416
|
|
415
417
|
declare const getButtonConfig: IGetButtonConfig;
|
@@ -1013,6 +1015,19 @@ declare interface IDesmosCalculatorProps {
|
|
1013
1015
|
};
|
1014
1016
|
}
|
1015
1017
|
|
1018
|
+
declare interface IDigitalMeterProps {
|
1019
|
+
show: boolean;
|
1020
|
+
value: number;
|
1021
|
+
maxValue: number;
|
1022
|
+
targetValue?: number;
|
1023
|
+
displayText: string;
|
1024
|
+
progressType: 'stepper' | 'linear';
|
1025
|
+
helperTextPrimary: string;
|
1026
|
+
helperTextSecondary: string;
|
1027
|
+
onComplete: () => void;
|
1028
|
+
actAsTimer?: boolean;
|
1029
|
+
}
|
1030
|
+
|
1016
1031
|
declare interface IEditMilestoneModalProps extends IMilestoneEditProps {
|
1017
1032
|
studentId: string;
|
1018
1033
|
isUsingAlternateCurriculum: boolean;
|
@@ -1085,7 +1100,7 @@ declare interface IGame extends IBaseProject {
|
|
1085
1100
|
declare interface IGameLauncherProps {
|
1086
1101
|
onSegmentClick: (projectDetail: Game | Puzzle | Lesson | ITableDetails, projectType: ProjectType) => void;
|
1087
1102
|
isLoading?: boolean;
|
1088
|
-
data:
|
1103
|
+
data: IProjectData | null;
|
1089
1104
|
defaultIndex?: number;
|
1090
1105
|
journeyId?: TJourneyId;
|
1091
1106
|
onJourneyComplete: (journeyId: TJourneyId) => void;
|
@@ -1568,7 +1583,6 @@ export declare const ILLUSTRATIONS: {
|
|
1568
1583
|
DURATION_60MIN_GRAY: string;
|
1569
1584
|
DURATION_90MIN_GRAY: string;
|
1570
1585
|
EARTH_GREEN: string;
|
1571
|
-
FEMALE_AVATAR: string;
|
1572
1586
|
GAME_PLAY: string;
|
1573
1587
|
GLOBE_WITH_BLUE_FILL: string;
|
1574
1588
|
GRADE_GRID_BACKGROUND: string;
|
@@ -1586,7 +1600,6 @@ export declare const ILLUSTRATIONS: {
|
|
1586
1600
|
LOADER_1: string;
|
1587
1601
|
LOCKED: string;
|
1588
1602
|
MAINTENANCE: string;
|
1589
|
-
MALE_AVATAR: string;
|
1590
1603
|
MASTERED_BADGE: string;
|
1591
1604
|
MASTERED_SHIELD_GRAY: string;
|
1592
1605
|
MASTERED_SHIELD_GREEN: string;
|
@@ -2065,6 +2078,9 @@ export declare interface IPlayerStats {
|
|
2065
2078
|
errorCode: IStatsToAwardErrorCode;
|
2066
2079
|
outcome: ProjectOutcome;
|
2067
2080
|
value: string;
|
2081
|
+
starEligibleTime?: number;
|
2082
|
+
starEligibleAccuracy?: number;
|
2083
|
+
starRewarded?: boolean;
|
2068
2084
|
}
|
2069
2085
|
|
2070
2086
|
declare interface IPointerData extends Record<string, unknown> {
|
@@ -2101,6 +2117,12 @@ export declare interface IPostGameStat {
|
|
2101
2117
|
onComplete?: () => void;
|
2102
2118
|
helperText?: ReactNode;
|
2103
2119
|
stopAtEnd?: boolean;
|
2120
|
+
targetValue?: number;
|
2121
|
+
maxValue?: number;
|
2122
|
+
helperTextPrimary?: string;
|
2123
|
+
helperTextSecondary?: string;
|
2124
|
+
progressType?: 'linear' | 'stepper';
|
2125
|
+
displayText?: string;
|
2104
2126
|
}
|
2105
2127
|
|
2106
2128
|
export declare interface IPostGameStatsProps {
|
@@ -2155,6 +2177,10 @@ export declare interface IProject<T> {
|
|
2155
2177
|
initialProgressValue?: number;
|
2156
2178
|
}
|
2157
2179
|
|
2180
|
+
export declare interface IProjectData extends IProjects {
|
2181
|
+
tables?: ITablesData;
|
2182
|
+
}
|
2183
|
+
|
2158
2184
|
export declare interface IProjects {
|
2159
2185
|
games: IProject<Game>;
|
2160
2186
|
puzzles: IProject<Puzzle>;
|
@@ -2615,6 +2641,7 @@ export declare interface ITableDetails {
|
|
2615
2641
|
mode: TTableMode;
|
2616
2642
|
tableNumber?: number;
|
2617
2643
|
infiniteModeHighScore?: number;
|
2644
|
+
isStarRewarded?: boolean;
|
2618
2645
|
}
|
2619
2646
|
|
2620
2647
|
export declare interface ITableInfo {
|
@@ -2627,7 +2654,7 @@ declare interface ITableInfo_2 {
|
|
2627
2654
|
stars: ('advance' | 'random' | 'sequence')[];
|
2628
2655
|
}
|
2629
2656
|
|
2630
|
-
declare interface ITables {
|
2657
|
+
export declare interface ITables {
|
2631
2658
|
type: ProjectType;
|
2632
2659
|
label: string;
|
2633
2660
|
data: ITable;
|
@@ -2638,6 +2665,13 @@ declare interface ITables_2 {
|
|
2638
2665
|
infinite_mode_high_score: number;
|
2639
2666
|
}
|
2640
2667
|
|
2668
|
+
export declare interface ITablesData extends ITables {
|
2669
|
+
openModesOfTable?: {
|
2670
|
+
tableNumber: number;
|
2671
|
+
rewardStars?: TTableMode[];
|
2672
|
+
};
|
2673
|
+
}
|
2674
|
+
|
2641
2675
|
export declare interface ITableWebGameProps extends IBaseWebGameProps {
|
2642
2676
|
tableNumber: number;
|
2643
2677
|
infiniteModeHighScore?: number;
|
@@ -2694,29 +2728,6 @@ declare interface ITagProps {
|
|
2694
2728
|
textColor?: TColorNames;
|
2695
2729
|
}
|
2696
2730
|
|
2697
|
-
declare interface ITalkMeter {
|
2698
|
-
userType: TUserTypes;
|
2699
|
-
studentId: string;
|
2700
|
-
teacherId: string;
|
2701
|
-
classDuration?: number;
|
2702
|
-
classStartTime?: Date;
|
2703
|
-
avPackageEnabled?: boolean;
|
2704
|
-
teacherClassroomId: string;
|
2705
|
-
teacherTalkTime: number;
|
2706
|
-
studentTalkTime: number;
|
2707
|
-
lastBatchReceivedNo: number;
|
2708
|
-
canDisplayBatch: boolean;
|
2709
|
-
onMessageReceive: (data: TMessageData) => void;
|
2710
|
-
onDismissMeter: () => void;
|
2711
|
-
}
|
2712
|
-
|
2713
|
-
declare interface ITalkMeterProps extends ITalkMeter {
|
2714
|
-
studentName?: string;
|
2715
|
-
teacherName?: string;
|
2716
|
-
teacherGender: GENDER;
|
2717
|
-
animated?: boolean;
|
2718
|
-
}
|
2719
|
-
|
2720
2731
|
declare interface ITeacherReview {
|
2721
2732
|
reviewComment?: string;
|
2722
2733
|
images?: string[];
|
@@ -3407,10 +3418,13 @@ export declare const LOTTIE: {
|
|
3407
3418
|
POINT1: string;
|
3408
3419
|
POINT20: string;
|
3409
3420
|
POINT25: string;
|
3421
|
+
POINT2: string;
|
3410
3422
|
POINT30: string;
|
3411
3423
|
POINT35: string;
|
3424
|
+
POINT3: string;
|
3412
3425
|
POINT40: string;
|
3413
3426
|
POINT45: string;
|
3427
|
+
POINT4: string;
|
3414
3428
|
POINT50: string;
|
3415
3429
|
POINT5: string;
|
3416
3430
|
POINT60: string;
|
@@ -3425,6 +3439,9 @@ export declare const LOTTIE: {
|
|
3425
3439
|
SPLASH_SCREEN: string;
|
3426
3440
|
STAY_CONNECTED_LOTTIE: string;
|
3427
3441
|
TABLE_MODE_REVEAL: string;
|
3442
|
+
TABLE_MODE_STAR: string;
|
3443
|
+
TABLE_SEGMENT_STAR: string;
|
3444
|
+
TARGET_ACHIEVED_TEXT: string;
|
3428
3445
|
TEACHER_VALIDATION: string;
|
3429
3446
|
TOTAL_STREAK: string;
|
3430
3447
|
TOTAL_TIME: string;
|
@@ -3873,8 +3890,6 @@ declare type TAggregateForRewardsData = {
|
|
3873
3890
|
|
3874
3891
|
declare type TAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch';
|
3875
3892
|
|
3876
|
-
export declare const TalkMeter: FC<ITalkMeterProps>;
|
3877
|
-
|
3878
3893
|
export declare type TArrowTooltipConfig = {
|
3879
3894
|
backgroundColorName: TColorNames;
|
3880
3895
|
textColorName: TColorNames;
|
@@ -4500,14 +4515,6 @@ declare type TMathSectionSummary = {
|
|
4500
4515
|
section_code: 'MATH';
|
4501
4516
|
} & TSectionSummary;
|
4502
4517
|
|
4503
|
-
declare type TMessageData = {
|
4504
|
-
teacher_classroom_id: string;
|
4505
|
-
student_classroom_id: string;
|
4506
|
-
teacher_speech_time?: number;
|
4507
|
-
student_speech_time?: number;
|
4508
|
-
batch_no: number;
|
4509
|
-
};
|
4510
|
-
|
4511
4518
|
declare type TMilestoneChapterBlockData = {
|
4512
4519
|
block_id: string;
|
4513
4520
|
block_type: TBlockType;
|