@cuemath/leap 3.2.15-link.0 → 3.2.15
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 -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 +1 -11
- package/dist/assets/lottie/lottie.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 +7 -7
- package/dist/features/chapters-v2/utils/node-card-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/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/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/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/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/worksheet-question/learnosity-question.js +24 -24
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/index.d.ts +38 -151
- package/dist/index.js +516 -530
- package/dist/index.js.map +1 -1
- package/dist/static/nudge-tap.0591aef4.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,17 +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
|
-
accordionData: Array<{
|
42
|
-
accordionQuestion: string;
|
43
|
-
accordionAnswer: React.ReactNode | string;
|
44
|
-
}>;
|
45
|
-
}
|
46
|
-
|
47
36
|
/**
|
48
37
|
* AccordionSection component.
|
49
38
|
*
|
@@ -52,8 +41,6 @@ declare interface AccordionProps {
|
|
52
41
|
*/
|
53
42
|
export declare const AccordionSection: FC<IAccordionSectionProps>;
|
54
43
|
|
55
|
-
declare type AccordionTheme = 'light' | 'dark';
|
56
|
-
|
57
44
|
export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
|
58
45
|
|
59
46
|
export declare const ACHIEVEMENT_ACTIONS: {
|
@@ -65,21 +52,17 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
65
52
|
|
66
53
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
67
54
|
|
68
|
-
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
69
|
-
|
70
55
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
71
56
|
|
72
57
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
73
58
|
|
74
|
-
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
75
|
-
|
76
59
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
77
60
|
|
78
61
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
79
62
|
children?: ReactNode | undefined;
|
80
63
|
} & RefAttributes<HTMLDivElement>>;
|
81
64
|
|
82
|
-
export declare const ArrowTooltip:
|
65
|
+
export declare const ArrowTooltip: NamedExoticComponent<IArrowTooltipProps>;
|
83
66
|
|
84
67
|
export declare const AUTH_TABS: IAuthTab[];
|
85
68
|
|
@@ -113,8 +96,6 @@ export declare const BackgroundImage: ({ img }: {
|
|
113
96
|
|
114
97
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
115
98
|
|
116
|
-
export declare const BaseInput: React_2.FC<IBaseInputProps>;
|
117
|
-
|
118
99
|
declare interface BaseProject {
|
119
100
|
id: string;
|
120
101
|
name: string;
|
@@ -330,6 +311,10 @@ declare const COURSE_STREAMS: {
|
|
330
311
|
|
331
312
|
export declare const CrossIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
332
313
|
|
314
|
+
export declare const CueBoardFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
315
|
+
|
316
|
+
export declare const CueBoardIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
317
|
+
|
333
318
|
export declare const CueCanvas: React_2.FC<ICueCanvas>;
|
334
319
|
|
335
320
|
export declare const CueCanvasController: React_2.FC<IToolbarProps>;
|
@@ -435,8 +420,6 @@ declare interface ErrorProps {
|
|
435
420
|
handleClick: () => void;
|
436
421
|
}
|
437
422
|
|
438
|
-
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
439
|
-
|
440
423
|
export declare const EVENTS: {
|
441
424
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
442
425
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -594,6 +577,8 @@ export declare const HelpIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
594
577
|
|
595
578
|
export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
596
579
|
|
580
|
+
export declare const HintFillIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
581
|
+
|
597
582
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
598
583
|
|
599
584
|
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
@@ -659,20 +644,6 @@ declare interface IAnimatedArcProps {
|
|
659
644
|
showAnimatedRainbowArc?: boolean;
|
660
645
|
}
|
661
646
|
|
662
|
-
declare interface IAnimatedAvatarMessageProps {
|
663
|
-
message: string;
|
664
|
-
onShowContent: (show: boolean) => void;
|
665
|
-
confirmationFrames: [number, number];
|
666
|
-
confirmationMessage?: string;
|
667
|
-
isConfirmationVisible?: boolean;
|
668
|
-
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
669
|
-
}
|
670
|
-
|
671
|
-
export declare type IAnimatedAvatarMessageRef = {
|
672
|
-
fadeOutMessage: () => Promise<void>;
|
673
|
-
playConfirmationFrames: () => Promise<void>;
|
674
|
-
};
|
675
|
-
|
676
647
|
declare interface IAppLoaderProps {
|
677
648
|
width?: string | number;
|
678
649
|
height?: string | number;
|
@@ -706,6 +677,7 @@ export declare interface IArrowTooltipProps {
|
|
706
677
|
widthX?: number;
|
707
678
|
zIndex?: number;
|
708
679
|
parentWidth?: number | string;
|
680
|
+
isBlocking?: boolean;
|
709
681
|
}
|
710
682
|
|
711
683
|
declare interface IAttempt {
|
@@ -717,7 +689,6 @@ declare interface IAuthPageLayoutProps {
|
|
717
689
|
leftBlock: ReactElement;
|
718
690
|
rightBlock?: ReactElement;
|
719
691
|
isFullWidth?: boolean;
|
720
|
-
rightBlockBg?: TColorNames;
|
721
692
|
}
|
722
693
|
|
723
694
|
declare interface IAuthStaticPanelProps {
|
@@ -1633,7 +1604,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1633
1604
|
}
|
1634
1605
|
|
1635
1606
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1636
|
-
withLoader
|
1607
|
+
withLoader: boolean;
|
1637
1608
|
borderRadius?: number;
|
1638
1609
|
borderColor?: TColorNames;
|
1639
1610
|
}
|
@@ -1715,8 +1686,9 @@ export declare interface IJourneyContext {
|
|
1715
1686
|
* @param scrollableContainerRef - Optional ref to a journey which has a scrollable container, it will make the entire page
|
1716
1687
|
* uninteractable by adding an overlay - Required since we cannot determine the height of the scrollable container because
|
1717
1688
|
* provider is at root level and from there we cannot access the scrollable container's height.
|
1689
|
+
* @param isBlocking - If `true`, the journey will block user interaction with the page until completed. True by default.
|
1718
1690
|
*/
|
1719
|
-
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null
|
1691
|
+
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>, isBlocking?: boolean) => void;
|
1720
1692
|
/**
|
1721
1693
|
* Clears the current journey, removing all coachmarks.
|
1722
1694
|
* Should be called inside useEffect to ensure cleanup.
|
@@ -2006,14 +1978,6 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
2006
1978
|
targetQuestions: number;
|
2007
1979
|
}
|
2008
1980
|
|
2009
|
-
declare interface ILinearProgressBarProps {
|
2010
|
-
percentage: number;
|
2011
|
-
height?: number;
|
2012
|
-
backgroundColor?: TColorNames;
|
2013
|
-
fillColor?: TColorNames;
|
2014
|
-
borderRadius?: number;
|
2015
|
-
}
|
2016
|
-
|
2017
1981
|
export declare const ILLUSTRATIONS: {
|
2018
1982
|
ALARM_CLOCK_ORANGE: string;
|
2019
1983
|
ALARM_CLOCK_PURPLE: string;
|
@@ -2030,7 +1994,6 @@ export declare const ILLUSTRATIONS: {
|
|
2030
1994
|
CALENDAR_BLUE: string;
|
2031
1995
|
CALENDAR_GRAY: string;
|
2032
1996
|
CALENDAR_GREEN: string;
|
2033
|
-
CALENDAR_PURPLE: string;
|
2034
1997
|
CAUTION: string;
|
2035
1998
|
CHAPTER_10: string;
|
2036
1999
|
CHAPTER_1: string;
|
@@ -2070,7 +2033,6 @@ export declare const ILLUSTRATIONS: {
|
|
2070
2033
|
GRADUATE_PINK_FILLED_BG: string;
|
2071
2034
|
GREEN_BALLOON: string;
|
2072
2035
|
GREEN_FACE: string;
|
2073
|
-
HANDSHAKE: string;
|
2074
2036
|
LEARNED_SHIELD_GRAY: string;
|
2075
2037
|
LEARNED_SHIELD_GREEN: string;
|
2076
2038
|
LEARNT: string;
|
@@ -2089,7 +2051,6 @@ export declare const ILLUSTRATIONS: {
|
|
2089
2051
|
MILESTONE_INTRO_2: string;
|
2090
2052
|
MILESTONE_INTRO_3: string;
|
2091
2053
|
MISTAKE: string;
|
2092
|
-
MONEY: string;
|
2093
2054
|
NODE_ACTIVITY_BG: string;
|
2094
2055
|
NODE_CUSTOM_TEST_BG: string;
|
2095
2056
|
NODE_DOWNLOAD_BG: string;
|
@@ -2107,7 +2068,6 @@ export declare const ILLUSTRATIONS: {
|
|
2107
2068
|
NUMBER_4_ORANGE: string;
|
2108
2069
|
ONE_STAR_FILLED: string;
|
2109
2070
|
ORANGE_FACE: string;
|
2110
|
-
PARENT_AVATAR: string;
|
2111
2071
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2112
2072
|
PLAY: string;
|
2113
2073
|
PLAY_ICON: string;
|
@@ -2135,7 +2095,6 @@ export declare const ILLUSTRATIONS: {
|
|
2135
2095
|
STAR_WITH_GREEN_FILL: string;
|
2136
2096
|
STREAK_GREEN: string;
|
2137
2097
|
STREAK_WHITE: string;
|
2138
|
-
STRIPE_BLURPLE: string;
|
2139
2098
|
TEST_DIFFICULTY_EASY: string;
|
2140
2099
|
TEST_DIFFICULTY_HARD: string;
|
2141
2100
|
TEST_DIFFICULTY_MEDIUM: string;
|
@@ -2145,7 +2104,6 @@ export declare const ILLUSTRATIONS: {
|
|
2145
2104
|
TROPHY_BLUE_FILLED: string;
|
2146
2105
|
TROPHY_CIRCLE: string;
|
2147
2106
|
TROPHY_GREEN: string;
|
2148
|
-
TRUSTPILOT: string;
|
2149
2107
|
TWO_STARS_FILLED: string;
|
2150
2108
|
UP_ARROW: string;
|
2151
2109
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2501,7 +2459,7 @@ export declare interface IModal {
|
|
2501
2459
|
/** Content to display inside the modal */
|
2502
2460
|
element: ReactElement;
|
2503
2461
|
/** Rendering style of the modal */
|
2504
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight'
|
2462
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2505
2463
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2506
2464
|
isDismissable?: boolean;
|
2507
2465
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2678,14 +2636,6 @@ declare interface IOpenImageReviewModalProps {
|
|
2678
2636
|
image?: string;
|
2679
2637
|
}
|
2680
2638
|
|
2681
|
-
declare interface IOTPInputProps {
|
2682
|
-
length?: number;
|
2683
|
-
value: string;
|
2684
|
-
onChange: (val: string) => void;
|
2685
|
-
error?: string;
|
2686
|
-
isBusy?: boolean;
|
2687
|
-
}
|
2688
|
-
|
2689
2639
|
declare interface IOTPResendProps {
|
2690
2640
|
onResendOTP: () => void;
|
2691
2641
|
onResendVoiceOTP?: () => void;
|
@@ -2694,8 +2644,6 @@ declare interface IOTPResendProps {
|
|
2694
2644
|
disabled?: boolean;
|
2695
2645
|
renderAs?: 'submit' | 'text';
|
2696
2646
|
width?: number | string;
|
2697
|
-
textButtonColor?: TColorNames;
|
2698
|
-
size?: 'small' | 'xsmall';
|
2699
2647
|
}
|
2700
2648
|
|
2701
2649
|
declare interface IOutcomeConfig {
|
@@ -2733,18 +2681,6 @@ declare interface IPerfectHitsProps {
|
|
2733
2681
|
value: number;
|
2734
2682
|
}
|
2735
2683
|
|
2736
|
-
declare interface IPillButtonProps {
|
2737
|
-
id: string;
|
2738
|
-
label: string;
|
2739
|
-
selected?: boolean;
|
2740
|
-
disabled?: boolean;
|
2741
|
-
animatedLabel?: string;
|
2742
|
-
icon?: string;
|
2743
|
-
onClick: (val: string) => void;
|
2744
|
-
tooltip?: string;
|
2745
|
-
width?: number | string;
|
2746
|
-
}
|
2747
|
-
|
2748
2684
|
declare interface IPlaceholder {
|
2749
2685
|
text?: string;
|
2750
2686
|
marks?: string;
|
@@ -2908,6 +2844,14 @@ declare interface IPuzzle extends IBaseProject {
|
|
2908
2844
|
solved: boolean;
|
2909
2845
|
}
|
2910
2846
|
|
2847
|
+
declare interface IPuzzleAppProps {
|
2848
|
+
itemRef: string;
|
2849
|
+
title: string;
|
2850
|
+
imageHue: THueNames;
|
2851
|
+
feedbackComments?: string;
|
2852
|
+
tip?: string;
|
2853
|
+
}
|
2854
|
+
|
2911
2855
|
export declare interface IPuzzleCard {
|
2912
2856
|
sheetData: TLPARSheetData;
|
2913
2857
|
blockStatus?: TPuzzleCardBlockStatus | null;
|
@@ -3077,6 +3021,7 @@ export declare interface IReviewWorksheetModel {
|
|
3077
3021
|
title?: string;
|
3078
3022
|
worksheet_id?: string;
|
3079
3023
|
node_type: TNodeTypes;
|
3024
|
+
items?: TWorksheetItems[];
|
3080
3025
|
}
|
3081
3026
|
|
3082
3027
|
declare interface ISATSheetItemCallbacks {
|
@@ -3123,15 +3068,6 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3123
3068
|
data: Section[];
|
3124
3069
|
}
|
3125
3070
|
|
3126
|
-
declare interface ISelectableInfoCardProps {
|
3127
|
-
id: string;
|
3128
|
-
title: string;
|
3129
|
-
description: string;
|
3130
|
-
icon: string;
|
3131
|
-
selected: boolean;
|
3132
|
-
onClick: (val: string) => void;
|
3133
|
-
}
|
3134
|
-
|
3135
3071
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3136
3072
|
}
|
3137
3073
|
|
@@ -3266,15 +3202,6 @@ declare interface ISignupMethodsProps {
|
|
3266
3202
|
loadingProvider: TSocialAuthProvider | null;
|
3267
3203
|
}
|
3268
3204
|
|
3269
|
-
declare interface ISignupOptionsProps {
|
3270
|
-
onEmailSignup: () => void;
|
3271
|
-
onGoogleSignup: () => void;
|
3272
|
-
onAppleSignup: () => void;
|
3273
|
-
onGoToLogin: () => void;
|
3274
|
-
loadingProvider: TSocialAuthProvider | null;
|
3275
|
-
title?: string;
|
3276
|
-
}
|
3277
|
-
|
3278
3205
|
export declare interface ISignUpProps {
|
3279
3206
|
circleOnLeapSignedUp: boolean;
|
3280
3207
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3430,8 +3357,6 @@ declare interface ISyncableWebGameProps {
|
|
3430
3357
|
declare interface ITabItem {
|
3431
3358
|
id: string;
|
3432
3359
|
label: string;
|
3433
|
-
iconPosition?: 'left' | 'right';
|
3434
|
-
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3435
3360
|
}
|
3436
3361
|
|
3437
3362
|
export declare interface ITable {
|
@@ -3503,7 +3428,6 @@ declare interface ITabsProps {
|
|
3503
3428
|
selectedTab: string;
|
3504
3429
|
onChange: (tab: string) => void;
|
3505
3430
|
tabs: ITabItem[];
|
3506
|
-
background?: TColorNames;
|
3507
3431
|
}
|
3508
3432
|
|
3509
3433
|
export declare interface ITabVariantConfig {
|
@@ -3562,20 +3486,6 @@ declare interface ITalkMeterProps extends ITalkMeter {
|
|
3562
3486
|
animated?: boolean;
|
3563
3487
|
}
|
3564
3488
|
|
3565
|
-
declare interface ITeacherProfileDetails {
|
3566
|
-
lower_grade: string;
|
3567
|
-
higher_grade: string;
|
3568
|
-
header_image: string;
|
3569
|
-
years_of_experience: number;
|
3570
|
-
number_of_students_taught: number;
|
3571
|
-
countries: string[];
|
3572
|
-
degree: TDegreeInformation;
|
3573
|
-
}
|
3574
|
-
|
3575
|
-
declare interface ITeacherProfileProps {
|
3576
|
-
teacherProfile?: ITeacherProfileDetails;
|
3577
|
-
}
|
3578
|
-
|
3579
3489
|
declare interface ITeacherReview {
|
3580
3490
|
reviewComment?: string;
|
3581
3491
|
images?: string[];
|
@@ -4279,7 +4189,6 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4279
4189
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
4280
4190
|
CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
|
4281
4191
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
4282
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4283
4192
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4284
4193
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4285
4194
|
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
@@ -4311,8 +4220,6 @@ declare const LESSON_TAG_TYPE: {
|
|
4311
4220
|
readonly DEFAULT: "DEFAULT";
|
4312
4221
|
};
|
4313
4222
|
|
4314
|
-
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4315
|
-
|
4316
4223
|
export declare const loadScript: ILoadScript;
|
4317
4224
|
|
4318
4225
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4327,7 +4234,6 @@ export declare const LOTTIE: {
|
|
4327
4234
|
ACTIVITY: string;
|
4328
4235
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4329
4236
|
ALL_DONE: string;
|
4330
|
-
ANIMATED_AVATAR: string;
|
4331
4237
|
AVATAR_SELECTED: string;
|
4332
4238
|
BEGINNER1X: string;
|
4333
4239
|
BRONZE_1: string;
|
@@ -4359,14 +4265,12 @@ export declare const LOTTIE: {
|
|
4359
4265
|
FAMILIAR1X: string;
|
4360
4266
|
FIFTEEN_MIN_CLOCK: string;
|
4361
4267
|
FIVE_MIN_CLOCK: string;
|
4362
|
-
FLYING_DISK: string;
|
4363
4268
|
GIFT: string;
|
4364
4269
|
GOLD_1: string;
|
4365
4270
|
GOLD_2: string;
|
4366
4271
|
GOLD_3: string;
|
4367
4272
|
GOLF: string;
|
4368
4273
|
GRADE: string;
|
4369
|
-
GRADUATION_CAP: string;
|
4370
4274
|
HIGH_SCORE_CONFETTI: string;
|
4371
4275
|
HIGH_SCORE_TEXT: string;
|
4372
4276
|
INFINITE_BUTTON_BG: string;
|
@@ -4377,21 +4281,17 @@ export declare const LOTTIE: {
|
|
4377
4281
|
LEVELUP_RINGS: string;
|
4378
4282
|
LEVEL_1_ALLSTAR: string;
|
4379
4283
|
LIGHTNING: string;
|
4380
|
-
LIGHT_BULB: string;
|
4381
4284
|
MAGICWAND: string;
|
4382
4285
|
MAIL: string;
|
4383
4286
|
MECHANICAL_ARM: string;
|
4384
4287
|
MEDAL: string;
|
4385
4288
|
MEDIUM: string;
|
4386
|
-
MUSCLE: string;
|
4387
4289
|
NUDGE_TAP: string;
|
4388
4290
|
OTP: string;
|
4389
4291
|
PARENT_AVATAR: string;
|
4390
4292
|
PARTY_BALL: string;
|
4391
4293
|
PARTY_POPPER: string;
|
4392
|
-
PENCIL: string;
|
4393
4294
|
PHONE_NUMBER: string;
|
4394
|
-
PLUS_SIGN: string;
|
4395
4295
|
POINT100: string;
|
4396
4296
|
POINT10: string;
|
4397
4297
|
POINT15: string;
|
@@ -4412,12 +4312,9 @@ export declare const LOTTIE: {
|
|
4412
4312
|
PROFICIENT1X: string;
|
4413
4313
|
PROJECT: string;
|
4414
4314
|
PUZZLE: string;
|
4415
|
-
RACING_CAR: string;
|
4416
4315
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4417
4316
|
RECAP: string;
|
4418
|
-
ROCKET: string;
|
4419
4317
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4420
|
-
SHOVEL: string;
|
4421
4318
|
SILVER_1: string;
|
4422
4319
|
SILVER_2: string;
|
4423
4320
|
SILVER_3: string;
|
@@ -4480,8 +4377,6 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4480
4377
|
|
4481
4378
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4482
4379
|
|
4483
|
-
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4484
|
-
|
4485
4380
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4486
4381
|
|
4487
4382
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4614,7 +4509,7 @@ export declare enum NODE_TYPES {
|
|
4614
4509
|
'PUZZLE_CARD' = "PUZZLE_CARD"
|
4615
4510
|
}
|
4616
4511
|
|
4617
|
-
export declare const Nudge: React_2.
|
4512
|
+
export declare const Nudge: React_2.NamedExoticComponent<INudgeProps>;
|
4618
4513
|
|
4619
4514
|
export declare const NumRangeInput: React.FC<NumRangeInputProps>;
|
4620
4515
|
|
@@ -4635,12 +4530,8 @@ declare interface NumRangeInputProps {
|
|
4635
4530
|
endPlaceholder?: string;
|
4636
4531
|
}
|
4637
4532
|
|
4638
|
-
export declare const OnboardingGuide: () => JSX.Element;
|
4639
|
-
|
4640
4533
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4641
4534
|
|
4642
|
-
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4643
|
-
|
4644
4535
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4645
4536
|
|
4646
4537
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4653,8 +4544,6 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4653
4544
|
|
4654
4545
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4655
4546
|
|
4656
|
-
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4657
|
-
|
4658
4547
|
/**
|
4659
4548
|
** Global/Platform specific events that needs to be tracked goes here
|
4660
4549
|
** Naming convention needs to be snake_case
|
@@ -4753,6 +4642,8 @@ declare const PUZZLE_CARD_STATE: {
|
|
4753
4642
|
|
4754
4643
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4755
4644
|
|
4645
|
+
export declare const PuzzleApp: NamedExoticComponent<IPuzzleAppProps>;
|
4646
|
+
|
4756
4647
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4757
4648
|
|
4758
4649
|
export declare const PuzzleFeedbackCelebration: FC;
|
@@ -4816,6 +4707,10 @@ declare const SAT_NODE_TYPE: {
|
|
4816
4707
|
|
4817
4708
|
export declare const SATSheetSummary: FC<ISATSheetSummary>;
|
4818
4709
|
|
4710
|
+
export declare const ScreenGrabFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4711
|
+
|
4712
|
+
export declare const ScreenGrabIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4713
|
+
|
4819
4714
|
export declare const SearchableSelectInput: <IDType extends string | number>(props: ISearchableSelectInputProps<IDType>) => ReactElement;
|
4820
4715
|
|
4821
4716
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4834,8 +4729,6 @@ declare enum SECTION_CODE {
|
|
4834
4729
|
|
4835
4730
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4836
4731
|
|
4837
|
-
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4838
|
-
|
4839
4732
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4840
4733
|
|
4841
4734
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4891,12 +4784,8 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4891
4784
|
|
4892
4785
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4893
4786
|
|
4894
|
-
export declare const SignupHeader: () => JSX.Element;
|
4895
|
-
|
4896
4787
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4897
4788
|
|
4898
|
-
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4899
|
-
|
4900
4789
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4901
4790
|
export { SketchIcon as ScribbleIcon }
|
4902
4791
|
export { SketchIcon }
|
@@ -4923,8 +4812,6 @@ export declare const STAGES: {
|
|
4923
4812
|
|
4924
4813
|
export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4925
4814
|
|
4926
|
-
export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4927
|
-
|
4928
4815
|
export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4929
4816
|
|
4930
4817
|
export declare enum State {
|
@@ -4954,6 +4841,10 @@ declare const STICKER_BADGE: {
|
|
4954
4841
|
|
4955
4842
|
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
4956
4843
|
|
4844
|
+
export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4845
|
+
|
4846
|
+
export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4847
|
+
|
4957
4848
|
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
4958
4849
|
|
4959
4850
|
declare interface StickersProps {
|
@@ -4993,7 +4884,7 @@ declare const TAB_CODES: {
|
|
4993
4884
|
|
4994
4885
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4995
4886
|
|
4996
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs
|
4887
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4997
4888
|
|
4998
4889
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4999
4890
|
|
@@ -5082,7 +4973,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5082
4973
|
|
5083
4974
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5084
4975
|
|
5085
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark'
|
4976
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5086
4977
|
|
5087
4978
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5088
4979
|
|
@@ -5203,15 +5094,8 @@ declare type TCueProgramData = {
|
|
5203
5094
|
|
5204
5095
|
declare type TDefaultSection = Record<string, unknown>;
|
5205
5096
|
|
5206
|
-
declare type TDegreeInformation = {
|
5207
|
-
degree_name?: string;
|
5208
|
-
field_of_study?: string;
|
5209
|
-
};
|
5210
|
-
|
5211
5097
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5212
5098
|
|
5213
|
-
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
5214
|
-
|
5215
5099
|
declare type TEnglishSectionSummary = {
|
5216
5100
|
section_code: 'READING & WRITING';
|
5217
5101
|
} & TSectionSummary;
|
@@ -5245,7 +5129,6 @@ declare interface TextProps {
|
|
5245
5129
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5246
5130
|
$renderOnMobileAs?: TTextVariants;
|
5247
5131
|
$renderOnTabletAs?: TTextVariants;
|
5248
|
-
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
5249
5132
|
}
|
5250
5133
|
|
5251
5134
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -6118,6 +6001,10 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
6118
6001
|
|
6119
6002
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
6120
6003
|
|
6004
|
+
declare type TWorksheetItems = {
|
6005
|
+
ref: string;
|
6006
|
+
};
|
6007
|
+
|
6121
6008
|
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
6122
6009
|
|
6123
6010
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|