@cuemath/leap 3.2.31 → 3.2.32-m
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 +5 -6
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +1 -6
- 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 +16 -20
- package/dist/features/analytics-events/whitelist-events.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +52 -54
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +1 -2
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +8 -8
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +60 -82
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button.js +38 -41
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
- package/dist/features/auth/comps/resend-otp/resend-otp.js +14 -18
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +26 -32
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -1
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +10 -2
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item-styled.js +3 -9
- package/dist/features/auth/comps/user-list/user-item/user-item-styled.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +15 -14
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/pla-signup/signup-options/signup-options.js +35 -42
- package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js +43 -43
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.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/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js +53 -68
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +46 -48
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +38 -39
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +41 -43
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +59 -61
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js +89 -91
- package/dist/features/milestone/milestone-list-container/milestone-list-container.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/stickers/sticker-data.js +234 -0
- package/dist/features/stickers/sticker-data.js.map +1 -0
- package/dist/features/{ui/sticker-grid/sticker-grid-styles.js → stickers/sticker-selector/sticker-selector-styles.js} +23 -31
- package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js +39 -0
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -0
- package/dist/features/stickers/sticker-selector/sticker.js +59 -0
- package/dist/features/stickers/sticker-selector/sticker.js.map +1 -0
- package/dist/features/stickers/stickers-effects/effects.js +82 -0
- package/dist/features/stickers/stickers-effects/effects.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-cache.js +19 -0
- package/dist/features/stickers/stickers-effects/stickers-cache.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-helper.js +105 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-helper.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js +36 -0
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +1 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js +55 -0
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +1 -0
- package/dist/features/trial-session/comps/learning-plan/index.js +18 -19
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +8 -3
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +40 -40
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js +88 -75
- package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +45 -43
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +48 -15
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +43 -35
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/theme/layout.js +3 -3
- package/dist/features/ui/theme/layout.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 +163 -166
- 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 +34 -34
- 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 +430 -375
- 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 +86 -151
- package/dist/index.js +418 -430
- package/dist/index.js.map +1 -1
- package/dist/static/animated-avatar.1ad58b1d.json +1 -0
- package/dist/static/animated-avatar.69b07505.json +1 -0
- package/dist/static/animated-avatar.9c560b46.json +1 -0
- package/dist/static/cuemath-app-qr-code.4beefe48.svg +1 -0
- package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +1 -0
- package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
- package/dist/static/otp.2d08f874.json +1 -0
- package/dist/static/phone-number.84f55562.json +1 -0
- 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/target-achieved-text.053bd142.json +2830 -0
- package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +1 -0
- package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +1 -0
- package/package.json +3 -2
- package/dist/features/auth/pla-signup/pla-analytics-events.js +0 -23
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +0 -72
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +0 -63
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +0 -67
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +0 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +0 -10
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +0 -1
- package/dist/features/puzzles/constants/puzzle-container.js +0 -8
- package/dist/features/puzzles/constants/puzzle-container.js.map +0 -1
- package/dist/features/puzzles/puzzle-analytics-events.js +0 -11
- package/dist/features/puzzles/puzzle-analytics-events.js.map +0 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +0 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +0 -37
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +0 -107
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker-grid.js +0 -24
- package/dist/features/ui/sticker-grid/sticker-grid.js.map +0 -1
- package/dist/features/ui/sticker-grid/sticker.js +0 -57
- package/dist/features/ui/sticker-grid/sticker.js.map +0 -1
- package/dist/features/ui/stickers/constants.js +0 -6
- package/dist/features/ui/stickers/constants.js.map +0 -1
- package/dist/features/ui/stickers/stickers-effects.js +0 -64
- package/dist/features/ui/stickers/stickers-effects.js.map +0 -1
- package/dist/features/ui/stickers/stickers-styled.js +0 -29
- package/dist/features/ui/stickers/stickers-styled.js.map +0 -1
- package/dist/features/ui/stickers/stickers-utils.js +0 -91
- package/dist/features/ui/stickers/stickers-utils.js.map +0 -1
- package/dist/features/ui/stickers/stickers.js +0 -40
- package/dist/features/ui/stickers/stickers.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/animated-avatar.c3a0fa98.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.0a105c42.json +0 -21206
- 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
|
@@ -4,6 +4,7 @@ import { ChannelStatus } from '@cuemath/cue-message-broker';
|
|
|
4
4
|
import { ComponentType } from 'react';
|
|
5
5
|
import type { Config } from '@lottiefiles/dotlottie-web';
|
|
6
6
|
import { Context } from 'react';
|
|
7
|
+
import type { Data } from '@lottiefiles/dotlottie-web';
|
|
7
8
|
import type { DefaultTheme } from 'styled-components';
|
|
8
9
|
import { DetailedHTMLProps } from 'react';
|
|
9
10
|
import type { Dispatch } from 'react';
|
|
@@ -398,7 +399,7 @@ export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
|
|
|
398
399
|
|
|
399
400
|
export declare const DigitalMeter: FC<IDigitalMeterProps>;
|
|
400
401
|
|
|
401
|
-
export declare const DotLottieAnimation: NamedExoticComponent<
|
|
402
|
+
export declare const DotLottieAnimation: NamedExoticComponent<IDotLottieAnimationProps & RefAttributes<IDotLottieAnimationRef>>;
|
|
402
403
|
|
|
403
404
|
export declare const DownIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
404
405
|
|
|
@@ -483,9 +484,6 @@ declare interface ErrorProps {
|
|
|
483
484
|
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
484
485
|
|
|
485
486
|
export declare const EVENTS: {
|
|
486
|
-
PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
|
|
487
|
-
PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
|
|
488
|
-
PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
|
|
489
487
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
|
490
488
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
|
491
489
|
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
|
@@ -587,8 +585,6 @@ declare enum GENDER {
|
|
|
587
585
|
OTHER = "OTHER"
|
|
588
586
|
}
|
|
589
587
|
|
|
590
|
-
export declare const getActiveSATSheet: (sheets: TLPARSheetData[]) => TLPARSheetData | undefined;
|
|
591
|
-
|
|
592
588
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
|
593
589
|
|
|
594
590
|
declare const getButtonConfig: IGetButtonConfig;
|
|
@@ -686,7 +682,6 @@ declare interface HWCardListProps extends INodeCardCallbacks {
|
|
|
686
682
|
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
|
687
683
|
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
|
688
684
|
canStartJourney?: boolean;
|
|
689
|
-
canStartPuzzleAssignedJourney?: boolean;
|
|
690
685
|
}
|
|
691
686
|
|
|
692
687
|
declare interface IAccordionSectionProps {
|
|
@@ -740,17 +735,15 @@ declare interface IAnimatedAvatarMessageProps {
|
|
|
740
735
|
message: string;
|
|
741
736
|
onShowContent: (show: boolean) => void;
|
|
742
737
|
confirmationFrames: [number, number];
|
|
743
|
-
completionFrames?: [number, number];
|
|
744
738
|
confirmationMessage?: string;
|
|
745
739
|
isConfirmationVisible?: boolean;
|
|
746
740
|
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
|
747
741
|
height?: string | number;
|
|
748
|
-
idleFrames?: [number, number];
|
|
749
742
|
}
|
|
750
743
|
|
|
751
744
|
export declare type IAnimatedAvatarMessageRef = {
|
|
752
|
-
|
|
753
|
-
playConfirmationFrames: (
|
|
745
|
+
fadeOutMessage: () => Promise<void>;
|
|
746
|
+
playConfirmationFrames: () => Promise<void>;
|
|
754
747
|
};
|
|
755
748
|
|
|
756
749
|
declare interface IAppLoaderProps {
|
|
@@ -1458,6 +1451,15 @@ declare interface IDigitalMeterProps {
|
|
|
1458
1451
|
actAsTimer?: boolean;
|
|
1459
1452
|
}
|
|
1460
1453
|
|
|
1454
|
+
declare type IDotLottieAnimationProps = XOR<WithSrc, WithData> & SharedProps;
|
|
1455
|
+
|
|
1456
|
+
declare interface IDotLottieAnimationRef {
|
|
1457
|
+
play: () => void;
|
|
1458
|
+
pause: () => void;
|
|
1459
|
+
playSegments: (segments: AnimationSegment) => void;
|
|
1460
|
+
setFrame: (frame: number) => void;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1461
1463
|
declare interface IDrawerProps {
|
|
1462
1464
|
isOpen: boolean;
|
|
1463
1465
|
onClose?: () => void;
|
|
@@ -2214,7 +2216,6 @@ export declare const ILLUSTRATIONS: {
|
|
|
2214
2216
|
PROFICIENT_BADGE: string;
|
|
2215
2217
|
PROFILE_BOARD: string;
|
|
2216
2218
|
PUZZLE: string;
|
|
2217
|
-
PUZZLE_DASHBOARD_BANNER: string;
|
|
2218
2219
|
PUZZLE_PATTERN_BLUE: string;
|
|
2219
2220
|
PUZZLE_PATTERN_GREEN: string;
|
|
2220
2221
|
PUZZLE_PATTERN_ORANGE: string;
|
|
@@ -2263,23 +2264,6 @@ declare interface ILogger {
|
|
|
2263
2264
|
(eventName: string, data?: Record<string, unknown>): void;
|
|
2264
2265
|
}
|
|
2265
2266
|
|
|
2266
|
-
declare interface ILottieAnimationProps {
|
|
2267
|
-
src: string;
|
|
2268
|
-
width?: string | number;
|
|
2269
|
-
height?: string | number;
|
|
2270
|
-
settings?: Partial<LottieSettings>;
|
|
2271
|
-
eventListeners?: {
|
|
2272
|
-
name: EventType;
|
|
2273
|
-
callback: EventListener_2<EventType>;
|
|
2274
|
-
}[];
|
|
2275
|
-
onRender?: () => void;
|
|
2276
|
-
onError?: () => void;
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
declare interface ILottieAnimationRef {
|
|
2280
|
-
playSegments: (segments: AnimationSegment, forceFlag?: boolean) => void;
|
|
2281
|
-
}
|
|
2282
|
-
|
|
2283
2267
|
declare interface ILPARChapterProps extends ILPARSheetCallbacks {
|
|
2284
2268
|
userType: TUserTypes;
|
|
2285
2269
|
chapterData: TLPARChapterData;
|
|
@@ -2427,7 +2411,6 @@ declare interface IMilestoneContainerProps extends Omit<IMilestoneWidgetResource
|
|
|
2427
2411
|
courseStream: TCourseStream;
|
|
2428
2412
|
activeMilestoneId?: string;
|
|
2429
2413
|
activeTabId?: string;
|
|
2430
|
-
isTrialSession?: boolean;
|
|
2431
2414
|
onWidgetTabSelection?: IMilestoneTabsProps['onWidgetTabSelection'];
|
|
2432
2415
|
}
|
|
2433
2416
|
|
|
@@ -2606,7 +2589,6 @@ declare interface IMilestoneWidgetResourcesProps extends INodeCardCallbacks {
|
|
|
2606
2589
|
isMilestoneActive: boolean;
|
|
2607
2590
|
isDraftMilestone?: boolean;
|
|
2608
2591
|
canUpdatePlan?: boolean;
|
|
2609
|
-
isTrialSession?: boolean;
|
|
2610
2592
|
}
|
|
2611
2593
|
|
|
2612
2594
|
/**
|
|
@@ -2618,11 +2600,13 @@ export declare interface IModal {
|
|
|
2618
2600
|
/** Content to display inside the modal */
|
|
2619
2601
|
element: ReactElement;
|
|
2620
2602
|
/** Rendering style of the modal */
|
|
2621
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
|
|
2603
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet' | 'fullscreen-transparent';
|
|
2622
2604
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
|
2623
2605
|
isDismissable?: boolean;
|
|
2624
2606
|
/** Whether the modal requires authentication to view (default: true) */
|
|
2625
2607
|
isPrivate?: boolean;
|
|
2608
|
+
/** If true, disables interaction behind modal (default: true) */
|
|
2609
|
+
blocking?: boolean;
|
|
2626
2610
|
/** Width of the modal in CSS units (e.g., '500px', '80vw') */
|
|
2627
2611
|
modalWidth: string;
|
|
2628
2612
|
}
|
|
@@ -2803,7 +2787,7 @@ declare interface IOTPInputProps {
|
|
|
2803
2787
|
isBusy?: boolean;
|
|
2804
2788
|
}
|
|
2805
2789
|
|
|
2806
|
-
declare interface IOTPResendProps
|
|
2790
|
+
declare interface IOTPResendProps {
|
|
2807
2791
|
onResendOTP: () => void;
|
|
2808
2792
|
onResendVoiceOTP?: () => void;
|
|
2809
2793
|
timerSeconds?: number;
|
|
@@ -2850,7 +2834,7 @@ declare interface IPerfectHitsProps {
|
|
|
2850
2834
|
value: number;
|
|
2851
2835
|
}
|
|
2852
2836
|
|
|
2853
|
-
declare interface IPillButtonProps
|
|
2837
|
+
declare interface IPillButtonProps {
|
|
2854
2838
|
id: string;
|
|
2855
2839
|
label: string;
|
|
2856
2840
|
selected?: boolean;
|
|
@@ -2975,7 +2959,6 @@ declare interface IPreviewWorksheetProps {
|
|
|
2975
2959
|
items?: string[];
|
|
2976
2960
|
onWorksheetLoaded?: (loaded: boolean) => void;
|
|
2977
2961
|
onUnassign?: () => void;
|
|
2978
|
-
canStartUnassignJourney?: boolean;
|
|
2979
2962
|
}
|
|
2980
2963
|
|
|
2981
2964
|
export declare interface IProject<T> {
|
|
@@ -3075,9 +3058,6 @@ export declare interface IPuzzleCardAssignData {
|
|
|
3075
3058
|
node_type: TNodeTypes;
|
|
3076
3059
|
node_id: string;
|
|
3077
3060
|
user_node_id: string | null;
|
|
3078
|
-
rewards?: TPuzzleRewards[];
|
|
3079
|
-
student_elo_rating: number | null;
|
|
3080
|
-
current_elo_rating: number | null;
|
|
3081
3061
|
}
|
|
3082
3062
|
|
|
3083
3063
|
declare interface IPuzzleCardContainerProps {
|
|
@@ -3088,12 +3068,7 @@ declare interface IPuzzleCardContainerProps {
|
|
|
3088
3068
|
studentId: string;
|
|
3089
3069
|
onFullyHidden?: () => void;
|
|
3090
3070
|
onPuzzleClick: () => void;
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
declare interface IPuzzleDashboardProps {
|
|
3094
|
-
studentId: string;
|
|
3095
|
-
onBackCLick?: () => void;
|
|
3096
|
-
onCardClick: (userNodeId: string) => void;
|
|
3071
|
+
onPuzzleAssign?: () => void;
|
|
3097
3072
|
}
|
|
3098
3073
|
|
|
3099
3074
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
|
@@ -3258,7 +3233,7 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
|
3258
3233
|
data: Section[];
|
|
3259
3234
|
}
|
|
3260
3235
|
|
|
3261
|
-
declare interface ISelectableInfoCardProps
|
|
3236
|
+
declare interface ISelectableInfoCardProps {
|
|
3262
3237
|
id: string;
|
|
3263
3238
|
title: string;
|
|
3264
3239
|
description: string;
|
|
@@ -3469,14 +3444,22 @@ declare interface IStepperProps {
|
|
|
3469
3444
|
currentStep: number;
|
|
3470
3445
|
}
|
|
3471
3446
|
|
|
3472
|
-
declare interface IStickerData {
|
|
3447
|
+
export declare interface IStickerData {
|
|
3473
3448
|
id: string;
|
|
3474
3449
|
emoji: string;
|
|
3475
3450
|
lottieUrl?: string;
|
|
3476
|
-
name
|
|
3451
|
+
name: string;
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
export declare interface IStickerProps {
|
|
3455
|
+
emoji: string;
|
|
3456
|
+
lottieUrl?: string;
|
|
3457
|
+
size?: number | string;
|
|
3458
|
+
onClick?: () => void;
|
|
3459
|
+
disabled?: boolean;
|
|
3477
3460
|
}
|
|
3478
3461
|
|
|
3479
|
-
declare interface
|
|
3462
|
+
export declare interface IStickerSelectorProps {
|
|
3480
3463
|
stickers: IStickerData[];
|
|
3481
3464
|
columns?: number;
|
|
3482
3465
|
gap?: number;
|
|
@@ -3484,6 +3467,13 @@ declare interface IStickerGridProps {
|
|
|
3484
3467
|
onStickerClick?: (sticker: IStickerData) => void;
|
|
3485
3468
|
}
|
|
3486
3469
|
|
|
3470
|
+
export declare interface IStickersProps {
|
|
3471
|
+
stickers: string[];
|
|
3472
|
+
effect: TStickerEffects;
|
|
3473
|
+
count: number;
|
|
3474
|
+
duration: number;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3487
3477
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
|
3488
3478
|
value: number;
|
|
3489
3479
|
blink?: boolean;
|
|
@@ -4007,10 +3997,6 @@ declare interface IusePointerSyncProps {
|
|
|
4007
3997
|
targetUserId?: string;
|
|
4008
3998
|
}
|
|
4009
3999
|
|
|
4010
|
-
declare interface IUsePuzzleIntroJourney {
|
|
4011
|
-
onJourneyComplete: () => void;
|
|
4012
|
-
}
|
|
4013
|
-
|
|
4014
4000
|
export declare interface IUserChapterData {
|
|
4015
4001
|
chapter_code: string;
|
|
4016
4002
|
chapter_id: string;
|
|
@@ -4151,7 +4137,6 @@ export declare interface IWorksheetAttemptModel {
|
|
|
4151
4137
|
canvas_data?: Array<IChannelMessage>;
|
|
4152
4138
|
image_hue?: THueNames | null;
|
|
4153
4139
|
feedback_comments?: string | null;
|
|
4154
|
-
user_block_id?: string | null;
|
|
4155
4140
|
}
|
|
4156
4141
|
|
|
4157
4142
|
export declare interface IWorksheetBehavior {
|
|
@@ -4212,14 +4197,6 @@ export declare interface IWorksheetBehavior {
|
|
|
4212
4197
|
* For teacher we don't show review cta.
|
|
4213
4198
|
*/
|
|
4214
4199
|
canTeacherValidate: boolean;
|
|
4215
|
-
/**
|
|
4216
|
-
* * In case of puzzle worksheet for teacher
|
|
4217
|
-
* * If true,
|
|
4218
|
-
* Teacher validation button will be disabled.
|
|
4219
|
-
* * If false,
|
|
4220
|
-
* Teacher validation button will be active.
|
|
4221
|
-
*/
|
|
4222
|
-
canTeacherValidateDisabled?: boolean;
|
|
4223
4200
|
/**
|
|
4224
4201
|
* If true, questions will be validated and feedback will be shown.
|
|
4225
4202
|
*/
|
|
@@ -4271,10 +4248,6 @@ export declare interface IWorksheetBehavior {
|
|
|
4271
4248
|
* If true, the user can unassign the sheet.
|
|
4272
4249
|
*/
|
|
4273
4250
|
canUnAssign?: boolean;
|
|
4274
|
-
/**
|
|
4275
|
-
* If true, journey will be started.
|
|
4276
|
-
*/
|
|
4277
|
-
canStartJourney?: boolean;
|
|
4278
4251
|
}
|
|
4279
4252
|
|
|
4280
4253
|
declare interface IWorksheetCallbackProps {
|
|
@@ -4437,21 +4410,13 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
|
4437
4410
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
|
4438
4411
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
|
4439
4412
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
|
4440
|
-
|
|
4441
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
|
4442
|
-
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
|
4443
|
-
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
|
4413
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
|
4444
4414
|
}
|
|
4445
4415
|
|
|
4446
4416
|
export declare enum JOURNEY_ID_TEACHER {
|
|
4447
4417
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
|
4448
4418
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
|
4449
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
|
4450
|
-
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
|
4451
|
-
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
|
4452
|
-
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
|
4453
|
-
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
|
4454
|
-
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
|
4419
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
|
4455
4420
|
}
|
|
4456
4421
|
|
|
4457
4422
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
|
@@ -4575,11 +4540,6 @@ export declare const LOTTIE: {
|
|
|
4575
4540
|
PROFICIENT1X: string;
|
|
4576
4541
|
PROJECT: string;
|
|
4577
4542
|
PUZZLE: string;
|
|
4578
|
-
PUZZLE_BLUE_LOTTIE: string;
|
|
4579
|
-
PUZZLE_GREEN_LOTTIE: string;
|
|
4580
|
-
PUZZLE_ORANGE_LOTTIE: string;
|
|
4581
|
-
PUZZLE_PURPLE_LOTTIE: string;
|
|
4582
|
-
PUZZLE_YELLOW_LOTTIE: string;
|
|
4583
4543
|
RACING_CAR: string;
|
|
4584
4544
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
|
4585
4545
|
RECAP: string;
|
|
@@ -4848,23 +4808,6 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
|
|
4848
4808
|
|
|
4849
4809
|
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
|
4850
4810
|
|
|
4851
|
-
export declare enum PLA_ANALYTICS_EVENTS {
|
|
4852
|
-
START_SIGNUP_CTA_CLICKED = "start_signup_cta_clicked",
|
|
4853
|
-
ECNA_STEP_VIEWED = "ecna_step_viewed",
|
|
4854
|
-
ECNA_RESPONSE_RECORDED_DEBUG = "ecna_response_recorded_debug",
|
|
4855
|
-
PARENT_SIGNUP_CTA_CLICKED = "parent_signup_cta_clicked",
|
|
4856
|
-
PARENT_SIGNUP_SUCCESSFUL = "parent_signup_successful",
|
|
4857
|
-
PARENT_SIGNUP_FAILED = "parent_signup_failed",
|
|
4858
|
-
STUDENT_SIGNUP_SUCCESSFUL = "signup_successful",
|
|
4859
|
-
STUDENT_SIGNUP_FAILED = "signup_failed",
|
|
4860
|
-
SIGNUP_OTP_ENTERED = "signup_otp_entered",
|
|
4861
|
-
SIGNUP_OTP_VERIFIED = "signup_otp_verified",
|
|
4862
|
-
SIGNUP_OTP_FAILED = "signup_otp_failed",
|
|
4863
|
-
SLOTS_SHOWN = "slots_shown",
|
|
4864
|
-
SLOT_DATE_SELECTED = "slot_date_selected",
|
|
4865
|
-
SLOT_TIME_SELECTED = "slot_time_selected"
|
|
4866
|
-
}
|
|
4867
|
-
|
|
4868
4811
|
/**
|
|
4869
4812
|
** Global/Platform specific events that needs to be tracked goes here
|
|
4870
4813
|
** Naming convention needs to be snake_case
|
|
@@ -4874,7 +4817,6 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
|
4874
4817
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
|
4875
4818
|
HOMEWORK_COMPLETED = "homework_completed",
|
|
4876
4819
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
|
4877
|
-
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
|
4878
4820
|
ACTIVITY_STARTED = "activity_started",
|
|
4879
4821
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
|
4880
4822
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
|
@@ -4891,9 +4833,7 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
|
4891
4833
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
|
4892
4834
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
|
4893
4835
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
|
4894
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
|
4895
|
-
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
|
4896
|
-
PUZZLE_REVIEWED = "puzzle_reviewed"
|
|
4836
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
|
4897
4837
|
}
|
|
4898
4838
|
|
|
4899
4839
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
@@ -4972,8 +4912,6 @@ export declare const PuzzleApp: NamedExoticComponent<IPuzzleAppProps>;
|
|
|
4972
4912
|
|
|
4973
4913
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
|
4974
4914
|
|
|
4975
|
-
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
|
4976
|
-
|
|
4977
4915
|
export declare const PuzzleFeedbackCelebration: FC;
|
|
4978
4916
|
|
|
4979
4917
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
@@ -5057,7 +4995,7 @@ declare enum SECTION_CODE {
|
|
|
5057
4995
|
|
|
5058
4996
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
|
5059
4997
|
|
|
5060
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick,
|
|
4998
|
+
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
|
5061
4999
|
|
|
5062
5000
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
|
5063
5001
|
|
|
@@ -5069,6 +5007,18 @@ export declare const SENTRY_IGNORED_ERRORS: Array<string | RegExp>;
|
|
|
5069
5007
|
|
|
5070
5008
|
export declare const Separator: React_2.FC<ISeparatorProps>;
|
|
5071
5009
|
|
|
5010
|
+
declare type SharedProps = {
|
|
5011
|
+
width?: string | number;
|
|
5012
|
+
height?: string | number;
|
|
5013
|
+
settings?: Partial<LottieSettings>;
|
|
5014
|
+
eventListeners?: {
|
|
5015
|
+
name: EventType;
|
|
5016
|
+
callback: EventListener_2<EventType>;
|
|
5017
|
+
}[];
|
|
5018
|
+
onRender?: () => void;
|
|
5019
|
+
onError?: () => void;
|
|
5020
|
+
};
|
|
5021
|
+
|
|
5072
5022
|
export declare const SHEET_ACTIONS: {
|
|
5073
5023
|
readonly START: "START";
|
|
5074
5024
|
readonly RESUME: "RESUME";
|
|
@@ -5175,22 +5125,15 @@ declare const STICKER_BADGE: {
|
|
|
5175
5125
|
AWESOME: string;
|
|
5176
5126
|
};
|
|
5177
5127
|
|
|
5178
|
-
declare
|
|
5128
|
+
export declare const stickerData: IStickerData[];
|
|
5179
5129
|
|
|
5180
5130
|
export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5181
5131
|
|
|
5182
5132
|
export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5183
5133
|
|
|
5184
|
-
export declare const
|
|
5185
|
-
|
|
5186
|
-
declare interface StickersProps {
|
|
5187
|
-
stickers: string[];
|
|
5188
|
-
effect: StickerEffect;
|
|
5189
|
-
count: number;
|
|
5190
|
-
duration: number;
|
|
5191
|
-
}
|
|
5134
|
+
export declare const StickersEffects: React_2.NamedExoticComponent<IStickersProps>;
|
|
5192
5135
|
|
|
5193
|
-
export declare const StickersSelector: React_2.NamedExoticComponent<
|
|
5136
|
+
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerSelectorProps>;
|
|
5194
5137
|
|
|
5195
5138
|
export declare const StreakIcon: React_2.FC<IStreakIconProps>;
|
|
5196
5139
|
|
|
@@ -5727,21 +5670,6 @@ export declare type TInclassMessage = {
|
|
|
5727
5670
|
eventPayload: {
|
|
5728
5671
|
chapterId: string;
|
|
5729
5672
|
};
|
|
5730
|
-
} | {
|
|
5731
|
-
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
|
5732
|
-
eventPayload: {
|
|
5733
|
-
puzzleId: string;
|
|
5734
|
-
};
|
|
5735
|
-
} | {
|
|
5736
|
-
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
|
5737
|
-
eventPayload: {
|
|
5738
|
-
puzzleId?: string;
|
|
5739
|
-
};
|
|
5740
|
-
} | {
|
|
5741
|
-
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
|
5742
|
-
eventPayload: {
|
|
5743
|
-
puzzleId: string;
|
|
5744
|
-
};
|
|
5745
5673
|
} | {
|
|
5746
5674
|
eventName: 'TEACHER_BADGE';
|
|
5747
5675
|
eventPayload: {
|
|
@@ -6131,7 +6059,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
|
|
|
6131
6059
|
declare type TRewardHomeData = {
|
|
6132
6060
|
user_badges: TBadgeData[] | [];
|
|
6133
6061
|
user_rewards: TRewardsData[] | [];
|
|
6134
|
-
user_stickers:
|
|
6062
|
+
user_stickers: TStickerData_2[] | [];
|
|
6135
6063
|
};
|
|
6136
6064
|
|
|
6137
6065
|
declare type TRewardsData = {
|
|
@@ -6259,7 +6187,18 @@ export declare type TSkillStatus = 'pending' | 'completed';
|
|
|
6259
6187
|
|
|
6260
6188
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
|
6261
6189
|
|
|
6262
|
-
declare type TStickerData = {
|
|
6190
|
+
export declare type TStickerData = {
|
|
6191
|
+
id: string;
|
|
6192
|
+
sticker: string;
|
|
6193
|
+
lottie?: string;
|
|
6194
|
+
x: number;
|
|
6195
|
+
y: number;
|
|
6196
|
+
size: number;
|
|
6197
|
+
fromX?: string;
|
|
6198
|
+
fromY?: string;
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
declare type TStickerData_2 = {
|
|
6263
6202
|
actor_id: string;
|
|
6264
6203
|
badge_id: string;
|
|
6265
6204
|
badge_type: string;
|
|
@@ -6272,6 +6211,8 @@ declare type TStickerData = {
|
|
|
6272
6211
|
user_type: string;
|
|
6273
6212
|
};
|
|
6274
6213
|
|
|
6214
|
+
export declare type TStickerEffects = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
|
|
6215
|
+
|
|
6275
6216
|
export declare type TStreakStatus = 'pending' | 'completed';
|
|
6276
6217
|
|
|
6277
6218
|
declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
|
|
@@ -6571,21 +6512,6 @@ export declare const useModalParams: IUseModalParams;
|
|
|
6571
6512
|
|
|
6572
6513
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
|
6573
6514
|
|
|
6574
|
-
export declare const usePuzzleDashboardJourney: () => {
|
|
6575
|
-
puzzleProfileRef: RefObject<HTMLDivElement>;
|
|
6576
|
-
startJourney: (avatar: IAvatarLayer[]) => void;
|
|
6577
|
-
};
|
|
6578
|
-
|
|
6579
|
-
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
|
6580
|
-
puzzleIconRef: RefObject<HTMLDivElement>;
|
|
6581
|
-
startJourney: () => void;
|
|
6582
|
-
};
|
|
6583
|
-
|
|
6584
|
-
export declare const usePuzzleProgressJourney: () => {
|
|
6585
|
-
puzzleProgressRef: RefObject<HTMLDivElement>;
|
|
6586
|
-
startJourney: () => void;
|
|
6587
|
-
};
|
|
6588
|
-
|
|
6589
6515
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
6590
6516
|
|
|
6591
6517
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
@@ -6596,11 +6522,6 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
|
6596
6522
|
|
|
6597
6523
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
|
6598
6524
|
|
|
6599
|
-
export declare const useTeacherPuzzleAssignedJourney: () => {
|
|
6600
|
-
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
|
6601
|
-
startJourney: () => void;
|
|
6602
|
-
};
|
|
6603
|
-
|
|
6604
6525
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
|
6605
6526
|
onClick: TTrackCTA;
|
|
6606
6527
|
onResponse: TTrackInput;
|
|
@@ -6652,6 +6573,18 @@ export declare enum WebViewEvent {
|
|
|
6652
6573
|
*/
|
|
6653
6574
|
export declare const WHITELIST_EVENTS: Record<string, PLUGIN_NAME[]>;
|
|
6654
6575
|
|
|
6576
|
+
declare type WithData = {
|
|
6577
|
+
data: Data;
|
|
6578
|
+
};
|
|
6579
|
+
|
|
6580
|
+
declare type Without<T, K extends keyof any> = {
|
|
6581
|
+
[P in Exclude<keyof T, K>]?: never;
|
|
6582
|
+
};
|
|
6583
|
+
|
|
6584
|
+
declare type WithSrc = {
|
|
6585
|
+
src: string;
|
|
6586
|
+
};
|
|
6587
|
+
|
|
6655
6588
|
export declare const Worksheet: NamedExoticComponent<IWorksheetContainerProps & RefAttributes<IWorksheetRef>>;
|
|
6656
6589
|
|
|
6657
6590
|
export declare const WORKSHEET_ACTION_BAR_HEIGHT = 56;
|
|
@@ -6664,6 +6597,8 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
|
|
|
6664
6597
|
|
|
6665
6598
|
export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
|
|
6666
6599
|
|
|
6600
|
+
declare type XOR<T, U> = (T & Without<U, keyof T>) | (U & Without<T, keyof U>);
|
|
6601
|
+
|
|
6667
6602
|
declare const ZINDEX: {
|
|
6668
6603
|
readonly CHAPTER_CROWN_ICON: 4;
|
|
6669
6604
|
readonly CHAPTER_PLUS_ICON: 2;
|