@cuemath/leap 3.2.18-mb → 3.2.18
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 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +34 -0
- package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
- 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/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.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/morning.js +35 -0
- package/dist/assets/line-icons/icons/morning.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 +11 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +26 -25
- 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 +9 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +52 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +93 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js +10 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js +17 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +20 -14
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +26 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input.js +50 -0
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button.js +74 -0
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
- 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/auth/comps/user-list/user-item/user-item.js +30 -31
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +35 -34
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +14 -15
- package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +6 -7
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
- package/dist/features/auth/login/login-styled.js +8 -9
- package/dist/features/auth/login/login-styled.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +32 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +44 -0
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/pla-signup/signup-header/signup-header.js +54 -0
- package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/pla-signup/signup-options/signup-options.js +83 -0
- package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -0
- 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/circle-games/game-launcher/comps/tables-card/tables-card-styled.js +4 -4
- 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 +85 -85
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +121 -98
- package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +29 -28
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +43 -42
- package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/games/tutorial/tutorial.js +43 -35
- package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
- package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +26 -24
- package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
- package/dist/features/circle-games/sign-up/constants.js +3 -1
- package/dist/features/circle-games/sign-up/constants.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
- package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +29 -27
- 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/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/buttons/button/button.js +41 -38
- package/dist/features/ui/buttons/button/button.js.map +1 -1
- package/dist/features/ui/buttons/icon-button/icon-button.js +31 -27
- package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
- package/dist/features/ui/buttons/text-button/text-button.js +26 -22
- package/dist/features/ui/buttons/text-button/text-button.js.map +1 -1
- package/dist/features/ui/drawer/drawer-styled.js +34 -0
- package/dist/features/ui/drawer/drawer-styled.js.map +1 -0
- package/dist/features/ui/drawer/drawer.js +42 -0
- package/dist/features/ui/drawer/drawer.js.map +1 -0
- package/dist/features/ui/error/error.js +65 -27
- package/dist/features/ui/error/error.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-selector.js +33 -27
- package/dist/features/ui/grade-selector/grade-selector.js.map +1 -1
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +25 -29
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +34 -58
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +40 -14
- 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/{stickers/sticker-selector/sticker-selector-styles.js → ui/sticker-grid/sticker-grid-styles.js} +3 -4
- package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
- package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
- package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
- package/dist/features/ui/sticker-grid/sticker.js +57 -0
- package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
- package/dist/features/ui/stickers/constants.js +6 -0
- package/dist/features/ui/stickers/constants.js.map +1 -0
- package/dist/features/{stickers/stickers-effects/effects.js → ui/stickers/stickers-effects.js} +6 -6
- package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
- package/dist/features/{stickers/stickers-effects/stickers-effects-styled.js → ui/stickers/stickers-styled.js} +2 -2
- package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
- package/dist/features/ui/stickers/stickers-utils.js +91 -0
- package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
- package/dist/features/ui/stickers/stickers.js +40 -0
- package/dist/features/ui/stickers/stickers.js.map +1 -0
- package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
- package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
- package/dist/features/ui/streak-icon/streak-icon.js +17 -15
- package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
- package/dist/features/ui/tab/tab.js +30 -26
- package/dist/features/ui/tab/tab.js.map +1 -1
- package/dist/features/ui/text/text.js +40 -36
- 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/ui/theme/constants.js +4 -2
- package/dist/features/ui/theme/constants.js.map +1 -1
- package/dist/features/ui/theme/get-device.js +3 -3
- package/dist/features/ui/theme/get-device.js.map +1 -1
- package/dist/features/worksheet/worksheet/constants.js +12 -13
- package/dist/features/worksheet/worksheet/constants.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/features/worksheet/worksheet/worksheet-question/worksheet-question.js +246 -260
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +37 -28
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +166 -164
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/index.d.ts +194 -57
- package/dist/index.js +579 -541
- 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/calendar-purple.1a840b41.svg +1 -0
- package/dist/static/flying-disk.c7f6ed39.json +1 -0
- package/dist/static/graduation-cap.3be3340a.json +1 -0
- package/dist/static/handshake.287e7dfb.svg +1 -0
- package/dist/static/light-bulb.c6db0b23.json +1 -0
- package/dist/static/money.332aacf1.svg +1 -0
- package/dist/static/muscle.9bcfb8a7.json +1 -0
- package/dist/static/nudge-tap.0591aef4.json +1 -0
- package/dist/static/parent-avatar.822c7b9b.svg +1 -0
- package/dist/static/pencil.23df9da0.json +1 -0
- package/dist/static/plus-sign.de6af957.json +1 -0
- package/dist/static/racing-car.2cbf864e.json +1 -0
- package/dist/static/rocket.0a3ccab0.json +1 -0
- package/dist/static/shovel.abeec04c.json +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +1 -1
- package/dist/features/hooks/use-viewport/use-viewport.js +0 -22
- package/dist/features/hooks/use-viewport/use-viewport.js.map +0 -1
- package/dist/features/stickers/sticker-data.js +0 -234
- package/dist/features/stickers/sticker-data.js.map +0 -1
- package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +0 -1
- package/dist/features/stickers/sticker-selector/sticker-selector.js +0 -25
- package/dist/features/stickers/sticker-selector/sticker-selector.js.map +0 -1
- package/dist/features/stickers/sticker-selector/sticker.js +0 -57
- package/dist/features/stickers/sticker-selector/sticker.js.map +0 -1
- package/dist/features/stickers/stickers-effects/effects.js.map +0 -1
- package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +0 -1
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js +0 -93
- package/dist/features/stickers/stickers-effects/stickers-effects-utils.js.map +0 -1
- package/dist/features/stickers/stickers-effects/stickers-effects.js +0 -39
- package/dist/features/stickers/stickers-effects/stickers-effects.js.map +0 -1
- package/dist/static/nudge-tap.5cb30093.json +0 -1057
package/dist/index.d.ts
CHANGED
@@ -25,7 +25,7 @@ import type { PLUGIN_NAME } from '@cuemath/analytics-v2/dist/constants';
|
|
25
25
|
import { PropsWithChildren } from 'react';
|
26
26
|
import { default as React_2 } from 'react';
|
27
27
|
import * as React_3 from 'react';
|
28
|
-
import
|
28
|
+
import { ReactElement } from 'react';
|
29
29
|
import { ReactNode } from 'react';
|
30
30
|
import { RefAttributes } from 'react';
|
31
31
|
import { RefObject } from 'react';
|
@@ -52,17 +52,21 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
52
52
|
|
53
53
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
54
54
|
|
55
|
+
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
56
|
+
|
55
57
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
56
58
|
|
57
59
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
58
60
|
|
61
|
+
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
62
|
+
|
59
63
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
60
64
|
|
61
65
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
62
66
|
children?: ReactNode | undefined;
|
63
67
|
} & RefAttributes<HTMLDivElement>>;
|
64
68
|
|
65
|
-
export declare const ArrowTooltip:
|
69
|
+
export declare const ArrowTooltip: NamedExoticComponent<IArrowTooltipProps>;
|
66
70
|
|
67
71
|
export declare const AUTH_TABS: IAuthTab[];
|
68
72
|
|
@@ -311,6 +315,10 @@ declare const COURSE_STREAMS: {
|
|
311
315
|
|
312
316
|
export declare const CrossIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
313
317
|
|
318
|
+
export declare const CueBoardFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
319
|
+
|
320
|
+
export declare const CueBoardIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
321
|
+
|
314
322
|
export declare const CueCanvas: React_2.FC<ICueCanvas>;
|
315
323
|
|
316
324
|
export declare const CueCanvasController: React_2.FC<IToolbarProps>;
|
@@ -344,6 +352,8 @@ export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
344
352
|
|
345
353
|
export declare const DragIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
346
354
|
|
355
|
+
export declare const Drawer: FC<IDrawerProps>;
|
356
|
+
|
347
357
|
export declare const DynamicPreviewWorksheet: FC<IDynamicWorksheetPreview>;
|
348
358
|
|
349
359
|
export declare enum EClassTimeAlertLevel {
|
@@ -351,6 +361,15 @@ export declare enum EClassTimeAlertLevel {
|
|
351
361
|
FIFTEEN_MIN = "15min"
|
352
362
|
}
|
353
363
|
|
364
|
+
export declare enum EDeviceType {
|
365
|
+
MOBILE = 0,
|
366
|
+
TABLET = 1,
|
367
|
+
SMALL_DESKTOP = 2,
|
368
|
+
DESKTOP = 3,
|
369
|
+
LARGE_DEVICE = 4,
|
370
|
+
XLARGE_DEVICE = 5
|
371
|
+
}
|
372
|
+
|
354
373
|
export declare const Edit2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
355
374
|
|
356
375
|
export declare const EditIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -407,6 +426,8 @@ declare interface ErrorProps {
|
|
407
426
|
handleClick: () => void;
|
408
427
|
}
|
409
428
|
|
429
|
+
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
430
|
+
|
410
431
|
export declare const EVENTS: {
|
411
432
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
412
433
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -517,7 +538,7 @@ declare const getCheckboxConfig: IGetCheckboxConfig;
|
|
517
538
|
|
518
539
|
declare function getColors(): TColorsMap;
|
519
540
|
|
520
|
-
declare const getDevice: (width: number) =>
|
541
|
+
declare const getDevice: (width: number) => EDeviceType;
|
521
542
|
|
522
543
|
declare const getInputConfig: IGetInputConfig;
|
523
544
|
|
@@ -556,7 +577,7 @@ export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlaces
|
|
556
577
|
|
557
578
|
export declare const GradeInput: NamedExoticComponent<ICustomInputFieldProps>;
|
558
579
|
|
559
|
-
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): ReactElement;
|
580
|
+
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, sizeOnMobile, sizeOnTablet, layoutAlignment, }: IGradeSelectorProps): ReactElement;
|
560
581
|
|
561
582
|
export declare const HandIcon: React_2.FC;
|
562
583
|
|
@@ -564,6 +585,8 @@ export declare const HelpIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
564
585
|
|
565
586
|
export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
566
587
|
|
588
|
+
export declare const HintFillIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
589
|
+
|
567
590
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
568
591
|
|
569
592
|
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
@@ -629,6 +652,21 @@ declare interface IAnimatedArcProps {
|
|
629
652
|
showAnimatedRainbowArc?: boolean;
|
630
653
|
}
|
631
654
|
|
655
|
+
declare interface IAnimatedAvatarMessageProps {
|
656
|
+
message: string;
|
657
|
+
onShowContent: (show: boolean) => void;
|
658
|
+
confirmationFrames: [number, number];
|
659
|
+
confirmationMessage?: string;
|
660
|
+
isConfirmationVisible?: boolean;
|
661
|
+
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
662
|
+
height?: string | number;
|
663
|
+
}
|
664
|
+
|
665
|
+
export declare type IAnimatedAvatarMessageRef = {
|
666
|
+
fadeOutMessage: () => Promise<void>;
|
667
|
+
playConfirmationFrames: () => Promise<void>;
|
668
|
+
};
|
669
|
+
|
632
670
|
declare interface IAppLoaderProps {
|
633
671
|
width?: string | number;
|
634
672
|
height?: string | number;
|
@@ -662,6 +700,7 @@ export declare interface IArrowTooltipProps {
|
|
662
700
|
widthX?: number;
|
663
701
|
zIndex?: number;
|
664
702
|
parentWidth?: number | string;
|
703
|
+
isBlocking?: boolean;
|
665
704
|
}
|
666
705
|
|
667
706
|
declare interface IAttempt {
|
@@ -673,6 +712,7 @@ declare interface IAuthPageLayoutProps {
|
|
673
712
|
leftBlock: ReactElement;
|
674
713
|
rightBlock?: ReactElement;
|
675
714
|
isFullWidth?: boolean;
|
715
|
+
rightBlockBg?: TColorNames;
|
676
716
|
}
|
677
717
|
|
678
718
|
declare interface IAuthStaticPanelProps {
|
@@ -795,6 +835,8 @@ declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
|
795
835
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
796
836
|
label: string;
|
797
837
|
renderAs: TButtonVariants;
|
838
|
+
sizeOnMobile?: TButtonSizes;
|
839
|
+
sizeOnTablet?: TButtonSizes;
|
798
840
|
size?: TButtonSizes;
|
799
841
|
shape?: 'curved' | 'square';
|
800
842
|
disabled?: boolean;
|
@@ -1329,6 +1371,16 @@ declare interface IDigitalMeterProps {
|
|
1329
1371
|
actAsTimer?: boolean;
|
1330
1372
|
}
|
1331
1373
|
|
1374
|
+
declare interface IDrawerProps {
|
1375
|
+
isOpen: boolean;
|
1376
|
+
onClose?: () => void;
|
1377
|
+
children: ReactNode;
|
1378
|
+
drawerWidth?: number | string;
|
1379
|
+
position?: 'left' | 'right';
|
1380
|
+
zIndex?: number;
|
1381
|
+
theme: 'light' | 'dark';
|
1382
|
+
}
|
1383
|
+
|
1332
1384
|
declare interface IDynamicWorksheetPreview {
|
1333
1385
|
studentId: string;
|
1334
1386
|
userNodeId: string;
|
@@ -1367,6 +1419,7 @@ declare interface IErrorProps {
|
|
1367
1419
|
theme?: 'light' | 'dark';
|
1368
1420
|
title?: string;
|
1369
1421
|
description?: string;
|
1422
|
+
size?: 'compact' | 'full';
|
1370
1423
|
}
|
1371
1424
|
|
1372
1425
|
declare interface IExpandableHeaderProps {
|
@@ -1524,6 +1577,8 @@ declare interface IGradeSelectorProps {
|
|
1524
1577
|
width?: number;
|
1525
1578
|
renderAs?: TTabVariants;
|
1526
1579
|
size?: TTabSizes;
|
1580
|
+
sizeOnMobile?: TTabSizes;
|
1581
|
+
sizeOnTablet?: TTabSizes;
|
1527
1582
|
onSelect: (grade: string) => void;
|
1528
1583
|
grades: string[];
|
1529
1584
|
layoutAlignment?: 'center' | 'auto';
|
@@ -1587,7 +1642,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1587
1642
|
}
|
1588
1643
|
|
1589
1644
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1590
|
-
withLoader
|
1645
|
+
withLoader?: boolean;
|
1591
1646
|
borderRadius?: number;
|
1592
1647
|
borderColor?: TColorNames;
|
1593
1648
|
}
|
@@ -1669,8 +1724,9 @@ export declare interface IJourneyContext {
|
|
1669
1724
|
* @param scrollableContainerRef - Optional ref to a journey which has a scrollable container, it will make the entire page
|
1670
1725
|
* uninteractable by adding an overlay - Required since we cannot determine the height of the scrollable container because
|
1671
1726
|
* provider is at root level and from there we cannot access the scrollable container's height.
|
1727
|
+
* @param isBlocking - If `true`, the journey will block user interaction with the page until completed. True by default.
|
1672
1728
|
*/
|
1673
|
-
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null
|
1729
|
+
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>, isBlocking?: boolean) => void;
|
1674
1730
|
/**
|
1675
1731
|
* Clears the current journey, removing all coachmarks.
|
1676
1732
|
* Should be called inside useEffect to ensure cleanup.
|
@@ -1960,6 +2016,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
1960
2016
|
targetQuestions: number;
|
1961
2017
|
}
|
1962
2018
|
|
2019
|
+
declare interface ILinearProgressBarProps {
|
2020
|
+
percentage: number;
|
2021
|
+
height?: number;
|
2022
|
+
backgroundColor?: TColorNames;
|
2023
|
+
fillColor?: TColorNames;
|
2024
|
+
borderRadius?: number;
|
2025
|
+
}
|
2026
|
+
|
1963
2027
|
export declare const ILLUSTRATIONS: {
|
1964
2028
|
ALARM_CLOCK_ORANGE: string;
|
1965
2029
|
ALARM_CLOCK_PURPLE: string;
|
@@ -1976,6 +2040,7 @@ export declare const ILLUSTRATIONS: {
|
|
1976
2040
|
CALENDAR_BLUE: string;
|
1977
2041
|
CALENDAR_GRAY: string;
|
1978
2042
|
CALENDAR_GREEN: string;
|
2043
|
+
CALENDAR_PURPLE: string;
|
1979
2044
|
CAUTION: string;
|
1980
2045
|
CHAPTER_10: string;
|
1981
2046
|
CHAPTER_1: string;
|
@@ -2015,6 +2080,7 @@ export declare const ILLUSTRATIONS: {
|
|
2015
2080
|
GRADUATE_PINK_FILLED_BG: string;
|
2016
2081
|
GREEN_BALLOON: string;
|
2017
2082
|
GREEN_FACE: string;
|
2083
|
+
HANDSHAKE: string;
|
2018
2084
|
LEARNED_SHIELD_GRAY: string;
|
2019
2085
|
LEARNED_SHIELD_GREEN: string;
|
2020
2086
|
LEARNT: string;
|
@@ -2033,6 +2099,7 @@ export declare const ILLUSTRATIONS: {
|
|
2033
2099
|
MILESTONE_INTRO_2: string;
|
2034
2100
|
MILESTONE_INTRO_3: string;
|
2035
2101
|
MISTAKE: string;
|
2102
|
+
MONEY: string;
|
2036
2103
|
NODE_ACTIVITY_BG: string;
|
2037
2104
|
NODE_CUSTOM_TEST_BG: string;
|
2038
2105
|
NODE_DOWNLOAD_BG: string;
|
@@ -2050,6 +2117,7 @@ export declare const ILLUSTRATIONS: {
|
|
2050
2117
|
NUMBER_4_ORANGE: string;
|
2051
2118
|
ONE_STAR_FILLED: string;
|
2052
2119
|
ORANGE_FACE: string;
|
2120
|
+
PARENT_AVATAR: string;
|
2053
2121
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2054
2122
|
PLAY: string;
|
2055
2123
|
PLAY_ICON: string;
|
@@ -2086,6 +2154,7 @@ export declare const ILLUSTRATIONS: {
|
|
2086
2154
|
TROPHY_BLUE_FILLED: string;
|
2087
2155
|
TROPHY_CIRCLE: string;
|
2088
2156
|
TROPHY_GREEN: string;
|
2157
|
+
TRUSTPILOT: string;
|
2089
2158
|
TWO_STARS_FILLED: string;
|
2090
2159
|
UP_ARROW: string;
|
2091
2160
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2441,7 +2510,7 @@ export declare interface IModal {
|
|
2441
2510
|
/** Content to display inside the modal */
|
2442
2511
|
element: ReactElement;
|
2443
2512
|
/** Rendering style of the modal */
|
2444
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight'
|
2513
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2445
2514
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2446
2515
|
isDismissable?: boolean;
|
2447
2516
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2618,6 +2687,14 @@ declare interface IOpenImageReviewModalProps {
|
|
2618
2687
|
image?: string;
|
2619
2688
|
}
|
2620
2689
|
|
2690
|
+
declare interface IOTPInputProps {
|
2691
|
+
length?: number;
|
2692
|
+
value: string;
|
2693
|
+
onChange: (val: string) => void;
|
2694
|
+
error?: string;
|
2695
|
+
isBusy?: boolean;
|
2696
|
+
}
|
2697
|
+
|
2621
2698
|
declare interface IOTPResendProps {
|
2622
2699
|
onResendOTP: () => void;
|
2623
2700
|
onResendVoiceOTP?: () => void;
|
@@ -2626,6 +2703,8 @@ declare interface IOTPResendProps {
|
|
2626
2703
|
disabled?: boolean;
|
2627
2704
|
renderAs?: 'submit' | 'text';
|
2628
2705
|
width?: number | string;
|
2706
|
+
textButtonColor?: TColorNames;
|
2707
|
+
size?: 'small' | 'xsmall';
|
2629
2708
|
}
|
2630
2709
|
|
2631
2710
|
declare interface IOutcomeConfig {
|
@@ -2663,6 +2742,18 @@ declare interface IPerfectHitsProps {
|
|
2663
2742
|
value: number;
|
2664
2743
|
}
|
2665
2744
|
|
2745
|
+
declare interface IPillButtonProps {
|
2746
|
+
id: string;
|
2747
|
+
label: string;
|
2748
|
+
selected?: boolean;
|
2749
|
+
disabled?: boolean;
|
2750
|
+
animatedLabel?: string;
|
2751
|
+
icon?: string;
|
2752
|
+
onClick: (val: string) => void;
|
2753
|
+
tooltip?: string;
|
2754
|
+
width?: number | string;
|
2755
|
+
}
|
2756
|
+
|
2666
2757
|
declare interface IPlaceholder {
|
2667
2758
|
text?: string;
|
2668
2759
|
marks?: string;
|
@@ -2826,6 +2917,14 @@ declare interface IPuzzle extends IBaseProject {
|
|
2826
2917
|
solved: boolean;
|
2827
2918
|
}
|
2828
2919
|
|
2920
|
+
declare interface IPuzzleAppProps {
|
2921
|
+
itemRef: string;
|
2922
|
+
title: string;
|
2923
|
+
imageHue: THueNames;
|
2924
|
+
feedbackComments?: string;
|
2925
|
+
tip?: string;
|
2926
|
+
}
|
2927
|
+
|
2829
2928
|
export declare interface IPuzzleCard {
|
2830
2929
|
sheetData: TLPARSheetData;
|
2831
2930
|
blockStatus?: TPuzzleCardBlockStatus | null;
|
@@ -2995,6 +3094,7 @@ export declare interface IReviewWorksheetModel {
|
|
2995
3094
|
title?: string;
|
2996
3095
|
worksheet_id?: string;
|
2997
3096
|
node_type: TNodeTypes;
|
3097
|
+
items?: TWorksheetItems[];
|
2998
3098
|
}
|
2999
3099
|
|
3000
3100
|
declare interface ISATSheetItemCallbacks {
|
@@ -3041,6 +3141,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3041
3141
|
data: Section[];
|
3042
3142
|
}
|
3043
3143
|
|
3144
|
+
declare interface ISelectableInfoCardProps {
|
3145
|
+
id: string;
|
3146
|
+
title: string;
|
3147
|
+
description: string;
|
3148
|
+
icon: string;
|
3149
|
+
selected: boolean;
|
3150
|
+
onClick: (val: string) => void;
|
3151
|
+
}
|
3152
|
+
|
3044
3153
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3045
3154
|
}
|
3046
3155
|
|
@@ -3175,6 +3284,15 @@ declare interface ISignupMethodsProps {
|
|
3175
3284
|
loadingProvider: TSocialAuthProvider | null;
|
3176
3285
|
}
|
3177
3286
|
|
3287
|
+
declare interface ISignupOptionsProps {
|
3288
|
+
onEmailSignup: () => void;
|
3289
|
+
onGoogleSignup: () => void;
|
3290
|
+
onAppleSignup: () => void;
|
3291
|
+
onGoToLogin: () => void;
|
3292
|
+
loadingProvider: TSocialAuthProvider | null;
|
3293
|
+
title?: string;
|
3294
|
+
}
|
3295
|
+
|
3178
3296
|
export declare interface ISignUpProps {
|
3179
3297
|
circleOnLeapSignedUp: boolean;
|
3180
3298
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3234,22 +3352,14 @@ declare interface IStepperProps {
|
|
3234
3352
|
currentStep: number;
|
3235
3353
|
}
|
3236
3354
|
|
3237
|
-
|
3355
|
+
declare interface IStickerData {
|
3238
3356
|
id: string;
|
3239
3357
|
emoji: string;
|
3240
3358
|
lottieUrl?: string;
|
3241
|
-
name
|
3242
|
-
}
|
3243
|
-
|
3244
|
-
export declare interface IStickerProps {
|
3245
|
-
emoji: string;
|
3246
|
-
lottieUrl?: string;
|
3247
|
-
size?: number | string;
|
3248
|
-
onClick?: () => void;
|
3249
|
-
disabled?: boolean;
|
3359
|
+
name?: string;
|
3250
3360
|
}
|
3251
3361
|
|
3252
|
-
|
3362
|
+
declare interface IStickerGridProps {
|
3253
3363
|
stickers: IStickerData[];
|
3254
3364
|
columns?: number;
|
3255
3365
|
gap?: number;
|
@@ -3257,16 +3367,10 @@ export declare interface IStickerSelectorProps {
|
|
3257
3367
|
onStickerClick?: (sticker: IStickerData) => void;
|
3258
3368
|
}
|
3259
3369
|
|
3260
|
-
export declare interface IStickersProps {
|
3261
|
-
stickers: string[];
|
3262
|
-
effect: TStickerEffects;
|
3263
|
-
count: number;
|
3264
|
-
duration: number;
|
3265
|
-
}
|
3266
|
-
|
3267
3370
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3268
3371
|
value: number;
|
3269
3372
|
blink?: boolean;
|
3373
|
+
isInteractive?: boolean;
|
3270
3374
|
}
|
3271
3375
|
|
3272
3376
|
export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
|
@@ -3344,6 +3448,8 @@ declare interface ISyncableWebGameProps {
|
|
3344
3448
|
declare interface ITabItem {
|
3345
3449
|
id: string;
|
3346
3450
|
label: string;
|
3451
|
+
iconPosition?: 'left' | 'right';
|
3452
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3347
3453
|
}
|
3348
3454
|
|
3349
3455
|
export declare interface ITable {
|
@@ -3399,6 +3505,8 @@ declare interface ITabProps {
|
|
3399
3505
|
$width?: number | string;
|
3400
3506
|
$renderAs?: TTabVariants;
|
3401
3507
|
$size?: TTabSizes;
|
3508
|
+
$sizeOnMobile?: TTabSizes;
|
3509
|
+
$sizeOnTablet?: TTabSizes;
|
3402
3510
|
$disabled?: boolean;
|
3403
3511
|
onClick: () => void;
|
3404
3512
|
shape?: 'curved' | 'square';
|
@@ -3415,6 +3523,7 @@ declare interface ITabsProps {
|
|
3415
3523
|
selectedTab: string;
|
3416
3524
|
onChange: (tab: string) => void;
|
3417
3525
|
tabs: ITabItem[];
|
3526
|
+
background?: TColorNames;
|
3418
3527
|
}
|
3419
3528
|
|
3420
3529
|
export declare interface ITabVariantConfig {
|
@@ -3512,6 +3621,8 @@ declare interface ITestsListProps {
|
|
3512
3621
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
3513
3622
|
label: string;
|
3514
3623
|
size?: TTextButtonSizes;
|
3624
|
+
sizeOnMobile?: TTextButtonSizes;
|
3625
|
+
sizeOnTablet?: TTextButtonSizes;
|
3515
3626
|
disabled?: boolean;
|
3516
3627
|
onClick?: () => void;
|
3517
3628
|
color?: TColorNames;
|
@@ -3819,12 +3930,6 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3819
3930
|
};
|
3820
3931
|
}
|
3821
3932
|
|
3822
|
-
declare interface IUseViewportReturn {
|
3823
|
-
isCompact: boolean;
|
3824
|
-
isMobile: boolean;
|
3825
|
-
isDesktop: boolean;
|
3826
|
-
}
|
3827
|
-
|
3828
3933
|
declare interface IUseWorksheetLayout {
|
3829
3934
|
(options: {
|
3830
3935
|
userType: TUserTypes;
|
@@ -4182,7 +4287,6 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4182
4287
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
4183
4288
|
CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
|
4184
4289
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
4185
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4186
4290
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4187
4291
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4188
4292
|
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
@@ -4214,6 +4318,8 @@ declare const LESSON_TAG_TYPE: {
|
|
4214
4318
|
readonly DEFAULT: "DEFAULT";
|
4215
4319
|
};
|
4216
4320
|
|
4321
|
+
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4322
|
+
|
4217
4323
|
export declare const loadScript: ILoadScript;
|
4218
4324
|
|
4219
4325
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4228,6 +4334,7 @@ export declare const LOTTIE: {
|
|
4228
4334
|
ACTIVITY: string;
|
4229
4335
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4230
4336
|
ALL_DONE: string;
|
4337
|
+
ANIMATED_AVATAR: string;
|
4231
4338
|
AVATAR_SELECTED: string;
|
4232
4339
|
BEGINNER1X: string;
|
4233
4340
|
BRONZE_1: string;
|
@@ -4259,12 +4366,14 @@ export declare const LOTTIE: {
|
|
4259
4366
|
FAMILIAR1X: string;
|
4260
4367
|
FIFTEEN_MIN_CLOCK: string;
|
4261
4368
|
FIVE_MIN_CLOCK: string;
|
4369
|
+
FLYING_DISK: string;
|
4262
4370
|
GIFT: string;
|
4263
4371
|
GOLD_1: string;
|
4264
4372
|
GOLD_2: string;
|
4265
4373
|
GOLD_3: string;
|
4266
4374
|
GOLF: string;
|
4267
4375
|
GRADE: string;
|
4376
|
+
GRADUATION_CAP: string;
|
4268
4377
|
HIGH_SCORE_CONFETTI: string;
|
4269
4378
|
HIGH_SCORE_TEXT: string;
|
4270
4379
|
INFINITE_BUTTON_BG: string;
|
@@ -4275,17 +4384,21 @@ export declare const LOTTIE: {
|
|
4275
4384
|
LEVELUP_RINGS: string;
|
4276
4385
|
LEVEL_1_ALLSTAR: string;
|
4277
4386
|
LIGHTNING: string;
|
4387
|
+
LIGHT_BULB: string;
|
4278
4388
|
MAGICWAND: string;
|
4279
4389
|
MAIL: string;
|
4280
4390
|
MECHANICAL_ARM: string;
|
4281
4391
|
MEDAL: string;
|
4282
4392
|
MEDIUM: string;
|
4393
|
+
MUSCLE: string;
|
4283
4394
|
NUDGE_TAP: string;
|
4284
4395
|
OTP: string;
|
4285
4396
|
PARENT_AVATAR: string;
|
4286
4397
|
PARTY_BALL: string;
|
4287
4398
|
PARTY_POPPER: string;
|
4399
|
+
PENCIL: string;
|
4288
4400
|
PHONE_NUMBER: string;
|
4401
|
+
PLUS_SIGN: string;
|
4289
4402
|
POINT100: string;
|
4290
4403
|
POINT10: string;
|
4291
4404
|
POINT15: string;
|
@@ -4306,9 +4419,12 @@ export declare const LOTTIE: {
|
|
4306
4419
|
PROFICIENT1X: string;
|
4307
4420
|
PROJECT: string;
|
4308
4421
|
PUZZLE: string;
|
4422
|
+
RACING_CAR: string;
|
4309
4423
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4310
4424
|
RECAP: string;
|
4425
|
+
ROCKET: string;
|
4311
4426
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4427
|
+
SHOVEL: string;
|
4312
4428
|
SILVER_1: string;
|
4313
4429
|
SILVER_2: string;
|
4314
4430
|
SILVER_3: string;
|
@@ -4371,6 +4487,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4371
4487
|
|
4372
4488
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4373
4489
|
|
4490
|
+
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4491
|
+
|
4374
4492
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4375
4493
|
|
4376
4494
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4503,7 +4621,7 @@ export declare enum NODE_TYPES {
|
|
4503
4621
|
'PUZZLE_CARD' = "PUZZLE_CARD"
|
4504
4622
|
}
|
4505
4623
|
|
4506
|
-
export declare const Nudge: React_2.
|
4624
|
+
export declare const Nudge: React_2.NamedExoticComponent<INudgeProps>;
|
4507
4625
|
|
4508
4626
|
export declare const NumRangeInput: React.FC<NumRangeInputProps>;
|
4509
4627
|
|
@@ -4524,8 +4642,12 @@ declare interface NumRangeInputProps {
|
|
4524
4642
|
endPlaceholder?: string;
|
4525
4643
|
}
|
4526
4644
|
|
4645
|
+
export declare const OnboardingGuide: () => JSX.Element;
|
4646
|
+
|
4527
4647
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4528
4648
|
|
4649
|
+
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4650
|
+
|
4529
4651
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4530
4652
|
|
4531
4653
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4538,6 +4660,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4538
4660
|
|
4539
4661
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4540
4662
|
|
4663
|
+
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4664
|
+
|
4541
4665
|
/**
|
4542
4666
|
** Global/Platform specific events that needs to be tracked goes here
|
4543
4667
|
** Naming convention needs to be snake_case
|
@@ -4636,6 +4760,8 @@ declare const PUZZLE_CARD_STATE: {
|
|
4636
4760
|
|
4637
4761
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4638
4762
|
|
4763
|
+
export declare const PuzzleApp: NamedExoticComponent<IPuzzleAppProps>;
|
4764
|
+
|
4639
4765
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4640
4766
|
|
4641
4767
|
export declare const PuzzleFeedbackCelebration: FC;
|
@@ -4699,6 +4825,10 @@ declare const SAT_NODE_TYPE: {
|
|
4699
4825
|
|
4700
4826
|
export declare const SATSheetSummary: FC<ISATSheetSummary>;
|
4701
4827
|
|
4828
|
+
export declare const ScreenGrabFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4829
|
+
|
4830
|
+
export declare const ScreenGrabIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4831
|
+
|
4702
4832
|
export declare const SearchableSelectInput: <IDType extends string | number>(props: ISearchableSelectInputProps<IDType>) => ReactElement;
|
4703
4833
|
|
4704
4834
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4717,6 +4847,8 @@ declare enum SECTION_CODE {
|
|
4717
4847
|
|
4718
4848
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4719
4849
|
|
4850
|
+
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4851
|
+
|
4720
4852
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4721
4853
|
|
4722
4854
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4772,8 +4904,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4772
4904
|
|
4773
4905
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4774
4906
|
|
4907
|
+
export declare const SignupHeader: () => JSX.Element;
|
4908
|
+
|
4775
4909
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4776
4910
|
|
4911
|
+
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4912
|
+
|
4777
4913
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4778
4914
|
export { SketchIcon as ScribbleIcon }
|
4779
4915
|
export { SketchIcon }
|
@@ -4827,11 +4963,22 @@ declare const STICKER_BADGE: {
|
|
4827
4963
|
AWESOME: string;
|
4828
4964
|
};
|
4829
4965
|
|
4830
|
-
|
4966
|
+
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
4967
|
+
|
4968
|
+
export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4831
4969
|
|
4832
|
-
export declare const
|
4970
|
+
export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4971
|
+
|
4972
|
+
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
4973
|
+
|
4974
|
+
declare interface StickersProps {
|
4975
|
+
stickers: string[];
|
4976
|
+
effect: StickerEffect;
|
4977
|
+
count: number;
|
4978
|
+
duration: number;
|
4979
|
+
}
|
4833
4980
|
|
4834
|
-
export declare const StickersSelector: React_2.NamedExoticComponent<
|
4981
|
+
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
4835
4982
|
|
4836
4983
|
export declare const StreakIcon: React_2.FC<IStreakIconProps>;
|
4837
4984
|
|
@@ -4861,7 +5008,7 @@ declare const TAB_CODES: {
|
|
4861
5008
|
|
4862
5009
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4863
5010
|
|
4864
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
5011
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
|
4865
5012
|
|
4866
5013
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4867
5014
|
|
@@ -4950,7 +5097,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
4950
5097
|
|
4951
5098
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4952
5099
|
|
4953
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5100
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
|
4954
5101
|
|
4955
5102
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4956
5103
|
|
@@ -5071,8 +5218,6 @@ declare type TCueProgramData = {
|
|
5071
5218
|
|
5072
5219
|
declare type TDefaultSection = Record<string, unknown>;
|
5073
5220
|
|
5074
|
-
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5075
|
-
|
5076
5221
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5077
5222
|
|
5078
5223
|
declare type TEnglishSectionSummary = {
|
@@ -5084,7 +5229,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5084
5229
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5085
5230
|
|
5086
5231
|
/**
|
5087
|
-
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5232
|
+
* @param $renderAs (fallback for any device), @param $renderOnMobileAs, @param $renderOnTabletAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5088
5233
|
*/
|
5089
5234
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5090
5235
|
export { Text_2 as Text }
|
@@ -5106,6 +5251,8 @@ declare interface TextProps {
|
|
5106
5251
|
$inline?: boolean;
|
5107
5252
|
$textDecoration?: string;
|
5108
5253
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5254
|
+
$renderOnMobileAs?: TTextVariants;
|
5255
|
+
$renderOnTabletAs?: TTextVariants;
|
5109
5256
|
}
|
5110
5257
|
|
5111
5258
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5749,7 +5896,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
|
|
5749
5896
|
declare type TRewardHomeData = {
|
5750
5897
|
user_badges: TBadgeData[] | [];
|
5751
5898
|
user_rewards: TRewardsData[] | [];
|
5752
|
-
user_stickers:
|
5899
|
+
user_stickers: TStickerData[] | [];
|
5753
5900
|
};
|
5754
5901
|
|
5755
5902
|
declare type TRewardsData = {
|
@@ -5877,17 +6024,7 @@ export declare type TSkillStatus = 'pending' | 'completed';
|
|
5877
6024
|
|
5878
6025
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
5879
6026
|
|
5880
|
-
|
5881
|
-
id: number;
|
5882
|
-
sticker: string;
|
5883
|
-
x: number;
|
5884
|
-
y: number;
|
5885
|
-
size: number;
|
5886
|
-
fromX?: string;
|
5887
|
-
fromY?: string;
|
5888
|
-
};
|
5889
|
-
|
5890
|
-
declare type TStickerData_2 = {
|
6027
|
+
declare type TStickerData = {
|
5891
6028
|
actor_id: string;
|
5892
6029
|
badge_id: string;
|
5893
6030
|
badge_type: string;
|
@@ -5900,8 +6037,6 @@ declare type TStickerData_2 = {
|
|
5900
6037
|
user_type: string;
|
5901
6038
|
};
|
5902
6039
|
|
5903
|
-
export declare type TStickerEffects = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
|
5904
|
-
|
5905
6040
|
export declare type TStreakStatus = 'pending' | 'completed';
|
5906
6041
|
|
5907
6042
|
declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
|
@@ -5990,6 +6125,10 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
5990
6125
|
|
5991
6126
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
5992
6127
|
|
6128
|
+
declare type TWorksheetItems = {
|
6129
|
+
ref: string;
|
6130
|
+
};
|
6131
|
+
|
5993
6132
|
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
5994
6133
|
|
5995
6134
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|
@@ -6217,8 +6356,6 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6217
6356
|
|
6218
6357
|
export declare const useUIContext: () => UIContextProps;
|
6219
6358
|
|
6220
|
-
export declare const useViewport: () => IUseViewportReturn;
|
6221
|
-
|
6222
6359
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6223
6360
|
|
6224
6361
|
export declare const useZoomDisable: () => void;
|