@cuemath/leap 3.2.18-mb → 3.2.19-beta-0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +11 -5
- 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 +16 -1
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +2 -1
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +6 -4
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +10 -8
- package/dist/features/analytics-events/whitelist-events.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 +9 -9
- 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/communication/pub-sub/constants.js +7 -4
- package/dist/features/communication/pub-sub/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/homework/homework-card-view.js +85 -97
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +44 -42
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +31 -29
- 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 +54 -48
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +33 -27
- package/dist/features/homework/utils.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/hooks/use-home-page-journey/tooltip-item.js +17 -11
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +72 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +63 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +67 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +70 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +59 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +70 -0
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +1 -0
- 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/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.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/api/puzzle-dashboard.js +10 -0
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +1 -0
- package/dist/features/puzzles/app/puzzle-app-styled.js +85 -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/puzzles/comps/puzzle-card-styled.js +24 -69
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +79 -30
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/constants/puzzle-container.js +8 -0
- package/dist/features/puzzles/constants/puzzle-container.js.map +1 -0
- package/dist/features/puzzles/puzzle-analytics-events.js +11 -0
- package/dist/features/puzzles/puzzle-analytics-events.js.map +1 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +55 -25
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +55 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +1 -0
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +100 -107
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +37 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +1 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +110 -0
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +1 -0
- 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 +28 -13
- package/dist/features/puzzles/utils/puzzle-pattern.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/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/hooks/use-worksheet-journey.js +28 -0
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +20 -19
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +29 -25
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +101 -47
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +244 -255
- 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 +242 -207
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +45 -36
- 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 +321 -325
- 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 +44 -35
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +281 -61
- package/dist/index.js +585 -537
- 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/puzzle-blue-lottie.7017e2e8.json +1 -0
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +12760 -0
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +1 -0
- package/dist/static/puzzle-green-lottie.1da90698.json +1 -0
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +1 -0
- package/dist/static/puzzle-pattern-blue.abff0164.svg +1 -0
- package/dist/static/puzzle-pattern-green.b8ba1840.svg +1 -0
- package/dist/static/puzzle-pattern-orange.3f5a17ff.svg +1 -0
- package/dist/static/puzzle-pattern-purple.14b09759.svg +1 -0
- package/dist/static/puzzle-pattern-yellow.50917fab.svg +1 -0
- package/dist/static/puzzle-purple-lottie.e70de110.json +9860 -0
- package/dist/static/puzzle-yellow-lottie.275b5cf4.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/static/puzzle-pattern-blue.f4bea1ee.svg +0 -1
- package/dist/static/puzzle-pattern-green.c9f84bbc.svg +0 -1
- package/dist/static/puzzle-pattern-orange.3da09665.svg +0 -1
- package/dist/static/puzzle-pattern-purple.5fb5a319.svg +0 -1
- package/dist/static/puzzle-pattern-yellow.aadbf457.svg +0 -1
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,7 +426,12 @@ 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: {
|
432
|
+
PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
|
433
|
+
PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
|
434
|
+
PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
|
411
435
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
412
436
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
413
437
|
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
@@ -517,7 +541,7 @@ declare const getCheckboxConfig: IGetCheckboxConfig;
|
|
517
541
|
|
518
542
|
declare function getColors(): TColorsMap;
|
519
543
|
|
520
|
-
declare const getDevice: (width: number) =>
|
544
|
+
declare const getDevice: (width: number) => EDeviceType;
|
521
545
|
|
522
546
|
declare const getInputConfig: IGetInputConfig;
|
523
547
|
|
@@ -556,7 +580,7 @@ export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlaces
|
|
556
580
|
|
557
581
|
export declare const GradeInput: NamedExoticComponent<ICustomInputFieldProps>;
|
558
582
|
|
559
|
-
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): ReactElement;
|
583
|
+
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, sizeOnMobile, sizeOnTablet, layoutAlignment, }: IGradeSelectorProps): ReactElement;
|
560
584
|
|
561
585
|
export declare const HandIcon: React_2.FC;
|
562
586
|
|
@@ -564,6 +588,8 @@ export declare const HelpIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
564
588
|
|
565
589
|
export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
566
590
|
|
591
|
+
export declare const HintFillIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
592
|
+
|
567
593
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
568
594
|
|
569
595
|
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
@@ -580,6 +606,7 @@ declare interface HWCardListProps extends INodeCardCallbacks {
|
|
580
606
|
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
581
607
|
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
582
608
|
canStartJourney?: boolean;
|
609
|
+
canStartPuzzleAssignedJourney?: boolean;
|
583
610
|
}
|
584
611
|
|
585
612
|
declare interface IAccordionSectionProps {
|
@@ -629,6 +656,21 @@ declare interface IAnimatedArcProps {
|
|
629
656
|
showAnimatedRainbowArc?: boolean;
|
630
657
|
}
|
631
658
|
|
659
|
+
declare interface IAnimatedAvatarMessageProps {
|
660
|
+
message: string;
|
661
|
+
onShowContent: (show: boolean) => void;
|
662
|
+
confirmationFrames: [number, number];
|
663
|
+
confirmationMessage?: string;
|
664
|
+
isConfirmationVisible?: boolean;
|
665
|
+
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
666
|
+
height?: string | number;
|
667
|
+
}
|
668
|
+
|
669
|
+
export declare type IAnimatedAvatarMessageRef = {
|
670
|
+
fadeOutMessage: () => Promise<void>;
|
671
|
+
playConfirmationFrames: () => Promise<void>;
|
672
|
+
};
|
673
|
+
|
632
674
|
declare interface IAppLoaderProps {
|
633
675
|
width?: string | number;
|
634
676
|
height?: string | number;
|
@@ -662,6 +704,7 @@ export declare interface IArrowTooltipProps {
|
|
662
704
|
widthX?: number;
|
663
705
|
zIndex?: number;
|
664
706
|
parentWidth?: number | string;
|
707
|
+
isBlocking?: boolean;
|
665
708
|
}
|
666
709
|
|
667
710
|
declare interface IAttempt {
|
@@ -673,6 +716,7 @@ declare interface IAuthPageLayoutProps {
|
|
673
716
|
leftBlock: ReactElement;
|
674
717
|
rightBlock?: ReactElement;
|
675
718
|
isFullWidth?: boolean;
|
719
|
+
rightBlockBg?: TColorNames;
|
676
720
|
}
|
677
721
|
|
678
722
|
declare interface IAuthStaticPanelProps {
|
@@ -795,6 +839,8 @@ declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
|
795
839
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
796
840
|
label: string;
|
797
841
|
renderAs: TButtonVariants;
|
842
|
+
sizeOnMobile?: TButtonSizes;
|
843
|
+
sizeOnTablet?: TButtonSizes;
|
798
844
|
size?: TButtonSizes;
|
799
845
|
shape?: 'curved' | 'square';
|
800
846
|
disabled?: boolean;
|
@@ -1329,6 +1375,16 @@ declare interface IDigitalMeterProps {
|
|
1329
1375
|
actAsTimer?: boolean;
|
1330
1376
|
}
|
1331
1377
|
|
1378
|
+
declare interface IDrawerProps {
|
1379
|
+
isOpen: boolean;
|
1380
|
+
onClose?: () => void;
|
1381
|
+
children: ReactNode;
|
1382
|
+
drawerWidth?: number | string;
|
1383
|
+
position?: 'left' | 'right';
|
1384
|
+
zIndex?: number;
|
1385
|
+
theme: 'light' | 'dark';
|
1386
|
+
}
|
1387
|
+
|
1332
1388
|
declare interface IDynamicWorksheetPreview {
|
1333
1389
|
studentId: string;
|
1334
1390
|
userNodeId: string;
|
@@ -1367,6 +1423,7 @@ declare interface IErrorProps {
|
|
1367
1423
|
theme?: 'light' | 'dark';
|
1368
1424
|
title?: string;
|
1369
1425
|
description?: string;
|
1426
|
+
size?: 'compact' | 'full';
|
1370
1427
|
}
|
1371
1428
|
|
1372
1429
|
declare interface IExpandableHeaderProps {
|
@@ -1524,6 +1581,8 @@ declare interface IGradeSelectorProps {
|
|
1524
1581
|
width?: number;
|
1525
1582
|
renderAs?: TTabVariants;
|
1526
1583
|
size?: TTabSizes;
|
1584
|
+
sizeOnMobile?: TTabSizes;
|
1585
|
+
sizeOnTablet?: TTabSizes;
|
1527
1586
|
onSelect: (grade: string) => void;
|
1528
1587
|
grades: string[];
|
1529
1588
|
layoutAlignment?: 'center' | 'auto';
|
@@ -1587,7 +1646,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1587
1646
|
}
|
1588
1647
|
|
1589
1648
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1590
|
-
withLoader
|
1649
|
+
withLoader?: boolean;
|
1591
1650
|
borderRadius?: number;
|
1592
1651
|
borderColor?: TColorNames;
|
1593
1652
|
}
|
@@ -1669,8 +1728,9 @@ export declare interface IJourneyContext {
|
|
1669
1728
|
* @param scrollableContainerRef - Optional ref to a journey which has a scrollable container, it will make the entire page
|
1670
1729
|
* uninteractable by adding an overlay - Required since we cannot determine the height of the scrollable container because
|
1671
1730
|
* provider is at root level and from there we cannot access the scrollable container's height.
|
1731
|
+
* @param isBlocking - If `true`, the journey will block user interaction with the page until completed. True by default.
|
1672
1732
|
*/
|
1673
|
-
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null
|
1733
|
+
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>, isBlocking?: boolean) => void;
|
1674
1734
|
/**
|
1675
1735
|
* Clears the current journey, removing all coachmarks.
|
1676
1736
|
* Should be called inside useEffect to ensure cleanup.
|
@@ -1960,6 +2020,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
1960
2020
|
targetQuestions: number;
|
1961
2021
|
}
|
1962
2022
|
|
2023
|
+
declare interface ILinearProgressBarProps {
|
2024
|
+
percentage: number;
|
2025
|
+
height?: number;
|
2026
|
+
backgroundColor?: TColorNames;
|
2027
|
+
fillColor?: TColorNames;
|
2028
|
+
borderRadius?: number;
|
2029
|
+
}
|
2030
|
+
|
1963
2031
|
export declare const ILLUSTRATIONS: {
|
1964
2032
|
ALARM_CLOCK_ORANGE: string;
|
1965
2033
|
ALARM_CLOCK_PURPLE: string;
|
@@ -1976,6 +2044,7 @@ export declare const ILLUSTRATIONS: {
|
|
1976
2044
|
CALENDAR_BLUE: string;
|
1977
2045
|
CALENDAR_GRAY: string;
|
1978
2046
|
CALENDAR_GREEN: string;
|
2047
|
+
CALENDAR_PURPLE: string;
|
1979
2048
|
CAUTION: string;
|
1980
2049
|
CHAPTER_10: string;
|
1981
2050
|
CHAPTER_1: string;
|
@@ -2015,6 +2084,7 @@ export declare const ILLUSTRATIONS: {
|
|
2015
2084
|
GRADUATE_PINK_FILLED_BG: string;
|
2016
2085
|
GREEN_BALLOON: string;
|
2017
2086
|
GREEN_FACE: string;
|
2087
|
+
HANDSHAKE: string;
|
2018
2088
|
LEARNED_SHIELD_GRAY: string;
|
2019
2089
|
LEARNED_SHIELD_GREEN: string;
|
2020
2090
|
LEARNT: string;
|
@@ -2033,6 +2103,7 @@ export declare const ILLUSTRATIONS: {
|
|
2033
2103
|
MILESTONE_INTRO_2: string;
|
2034
2104
|
MILESTONE_INTRO_3: string;
|
2035
2105
|
MISTAKE: string;
|
2106
|
+
MONEY: string;
|
2036
2107
|
NODE_ACTIVITY_BG: string;
|
2037
2108
|
NODE_CUSTOM_TEST_BG: string;
|
2038
2109
|
NODE_DOWNLOAD_BG: string;
|
@@ -2050,6 +2121,7 @@ export declare const ILLUSTRATIONS: {
|
|
2050
2121
|
NUMBER_4_ORANGE: string;
|
2051
2122
|
ONE_STAR_FILLED: string;
|
2052
2123
|
ORANGE_FACE: string;
|
2124
|
+
PARENT_AVATAR: string;
|
2053
2125
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2054
2126
|
PLAY: string;
|
2055
2127
|
PLAY_ICON: string;
|
@@ -2059,6 +2131,7 @@ export declare const ILLUSTRATIONS: {
|
|
2059
2131
|
PROFICIENT_BADGE: string;
|
2060
2132
|
PROFILE_BOARD: string;
|
2061
2133
|
PUZZLE: string;
|
2134
|
+
PUZZLE_DASHBOARD_BANNER: string;
|
2062
2135
|
PUZZLE_PATTERN_BLUE: string;
|
2063
2136
|
PUZZLE_PATTERN_GREEN: string;
|
2064
2137
|
PUZZLE_PATTERN_ORANGE: string;
|
@@ -2086,6 +2159,7 @@ export declare const ILLUSTRATIONS: {
|
|
2086
2159
|
TROPHY_BLUE_FILLED: string;
|
2087
2160
|
TROPHY_CIRCLE: string;
|
2088
2161
|
TROPHY_GREEN: string;
|
2162
|
+
TRUSTPILOT: string;
|
2089
2163
|
TWO_STARS_FILLED: string;
|
2090
2164
|
UP_ARROW: string;
|
2091
2165
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2441,7 +2515,7 @@ export declare interface IModal {
|
|
2441
2515
|
/** Content to display inside the modal */
|
2442
2516
|
element: ReactElement;
|
2443
2517
|
/** Rendering style of the modal */
|
2444
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight'
|
2518
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2445
2519
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2446
2520
|
isDismissable?: boolean;
|
2447
2521
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2618,6 +2692,14 @@ declare interface IOpenImageReviewModalProps {
|
|
2618
2692
|
image?: string;
|
2619
2693
|
}
|
2620
2694
|
|
2695
|
+
declare interface IOTPInputProps {
|
2696
|
+
length?: number;
|
2697
|
+
value: string;
|
2698
|
+
onChange: (val: string) => void;
|
2699
|
+
error?: string;
|
2700
|
+
isBusy?: boolean;
|
2701
|
+
}
|
2702
|
+
|
2621
2703
|
declare interface IOTPResendProps {
|
2622
2704
|
onResendOTP: () => void;
|
2623
2705
|
onResendVoiceOTP?: () => void;
|
@@ -2626,6 +2708,8 @@ declare interface IOTPResendProps {
|
|
2626
2708
|
disabled?: boolean;
|
2627
2709
|
renderAs?: 'submit' | 'text';
|
2628
2710
|
width?: number | string;
|
2711
|
+
textButtonColor?: TColorNames;
|
2712
|
+
size?: 'small' | 'xsmall';
|
2629
2713
|
}
|
2630
2714
|
|
2631
2715
|
declare interface IOutcomeConfig {
|
@@ -2663,6 +2747,18 @@ declare interface IPerfectHitsProps {
|
|
2663
2747
|
value: number;
|
2664
2748
|
}
|
2665
2749
|
|
2750
|
+
declare interface IPillButtonProps {
|
2751
|
+
id: string;
|
2752
|
+
label: string;
|
2753
|
+
selected?: boolean;
|
2754
|
+
disabled?: boolean;
|
2755
|
+
animatedLabel?: string;
|
2756
|
+
icon?: string;
|
2757
|
+
onClick: (val: string) => void;
|
2758
|
+
tooltip?: string;
|
2759
|
+
width?: number | string;
|
2760
|
+
}
|
2761
|
+
|
2666
2762
|
declare interface IPlaceholder {
|
2667
2763
|
text?: string;
|
2668
2764
|
marks?: string;
|
@@ -2776,6 +2872,7 @@ declare interface IPreviewWorksheetProps {
|
|
2776
2872
|
items?: string[];
|
2777
2873
|
onWorksheetLoaded?: (loaded: boolean) => void;
|
2778
2874
|
onUnassign?: () => void;
|
2875
|
+
canStartUnassignJourney?: boolean;
|
2779
2876
|
}
|
2780
2877
|
|
2781
2878
|
export declare interface IProject<T> {
|
@@ -2826,6 +2923,14 @@ declare interface IPuzzle extends IBaseProject {
|
|
2826
2923
|
solved: boolean;
|
2827
2924
|
}
|
2828
2925
|
|
2926
|
+
declare interface IPuzzleAppProps {
|
2927
|
+
itemRef: string;
|
2928
|
+
title: string;
|
2929
|
+
imageHue: THueNames;
|
2930
|
+
feedbackComments?: string;
|
2931
|
+
tip?: string;
|
2932
|
+
}
|
2933
|
+
|
2829
2934
|
export declare interface IPuzzleCard {
|
2830
2935
|
sheetData: TLPARSheetData;
|
2831
2936
|
blockStatus?: TPuzzleCardBlockStatus | null;
|
@@ -2867,6 +2972,9 @@ export declare interface IPuzzleCardAssignData {
|
|
2867
2972
|
node_type: TNodeTypes;
|
2868
2973
|
node_id: string;
|
2869
2974
|
user_node_id: string | null;
|
2975
|
+
rewards?: TPuzzleRewards[];
|
2976
|
+
student_elo_rating: number | null;
|
2977
|
+
current_elo_rating: number | null;
|
2870
2978
|
}
|
2871
2979
|
|
2872
2980
|
declare interface IPuzzleCardContainerProps {
|
@@ -2877,7 +2985,12 @@ declare interface IPuzzleCardContainerProps {
|
|
2877
2985
|
studentId: string;
|
2878
2986
|
onFullyHidden?: () => void;
|
2879
2987
|
onPuzzleClick: () => void;
|
2880
|
-
|
2988
|
+
}
|
2989
|
+
|
2990
|
+
declare interface IPuzzleDashboardProps {
|
2991
|
+
studentId: string;
|
2992
|
+
onBackCLick?: () => void;
|
2993
|
+
onCardClick: (userNodeId: string) => void;
|
2881
2994
|
}
|
2882
2995
|
|
2883
2996
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
@@ -2995,6 +3108,7 @@ export declare interface IReviewWorksheetModel {
|
|
2995
3108
|
title?: string;
|
2996
3109
|
worksheet_id?: string;
|
2997
3110
|
node_type: TNodeTypes;
|
3111
|
+
items?: TWorksheetItems[];
|
2998
3112
|
}
|
2999
3113
|
|
3000
3114
|
declare interface ISATSheetItemCallbacks {
|
@@ -3041,6 +3155,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3041
3155
|
data: Section[];
|
3042
3156
|
}
|
3043
3157
|
|
3158
|
+
declare interface ISelectableInfoCardProps {
|
3159
|
+
id: string;
|
3160
|
+
title: string;
|
3161
|
+
description: string;
|
3162
|
+
icon: string;
|
3163
|
+
selected: boolean;
|
3164
|
+
onClick: (val: string) => void;
|
3165
|
+
}
|
3166
|
+
|
3044
3167
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3045
3168
|
}
|
3046
3169
|
|
@@ -3175,6 +3298,15 @@ declare interface ISignupMethodsProps {
|
|
3175
3298
|
loadingProvider: TSocialAuthProvider | null;
|
3176
3299
|
}
|
3177
3300
|
|
3301
|
+
declare interface ISignupOptionsProps {
|
3302
|
+
onEmailSignup: () => void;
|
3303
|
+
onGoogleSignup: () => void;
|
3304
|
+
onAppleSignup: () => void;
|
3305
|
+
onGoToLogin: () => void;
|
3306
|
+
loadingProvider: TSocialAuthProvider | null;
|
3307
|
+
title?: string;
|
3308
|
+
}
|
3309
|
+
|
3178
3310
|
export declare interface ISignUpProps {
|
3179
3311
|
circleOnLeapSignedUp: boolean;
|
3180
3312
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3234,22 +3366,14 @@ declare interface IStepperProps {
|
|
3234
3366
|
currentStep: number;
|
3235
3367
|
}
|
3236
3368
|
|
3237
|
-
|
3369
|
+
declare interface IStickerData {
|
3238
3370
|
id: string;
|
3239
3371
|
emoji: string;
|
3240
3372
|
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;
|
3373
|
+
name?: string;
|
3250
3374
|
}
|
3251
3375
|
|
3252
|
-
|
3376
|
+
declare interface IStickerGridProps {
|
3253
3377
|
stickers: IStickerData[];
|
3254
3378
|
columns?: number;
|
3255
3379
|
gap?: number;
|
@@ -3257,16 +3381,10 @@ export declare interface IStickerSelectorProps {
|
|
3257
3381
|
onStickerClick?: (sticker: IStickerData) => void;
|
3258
3382
|
}
|
3259
3383
|
|
3260
|
-
export declare interface IStickersProps {
|
3261
|
-
stickers: string[];
|
3262
|
-
effect: TStickerEffects;
|
3263
|
-
count: number;
|
3264
|
-
duration: number;
|
3265
|
-
}
|
3266
|
-
|
3267
3384
|
declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
|
3268
3385
|
value: number;
|
3269
3386
|
blink?: boolean;
|
3387
|
+
isInteractive?: boolean;
|
3270
3388
|
}
|
3271
3389
|
|
3272
3390
|
export declare interface IStreakLeaderboardDetails extends IBaseLeaderboardDetails {
|
@@ -3344,6 +3462,8 @@ declare interface ISyncableWebGameProps {
|
|
3344
3462
|
declare interface ITabItem {
|
3345
3463
|
id: string;
|
3346
3464
|
label: string;
|
3465
|
+
iconPosition?: 'left' | 'right';
|
3466
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3347
3467
|
}
|
3348
3468
|
|
3349
3469
|
export declare interface ITable {
|
@@ -3399,6 +3519,8 @@ declare interface ITabProps {
|
|
3399
3519
|
$width?: number | string;
|
3400
3520
|
$renderAs?: TTabVariants;
|
3401
3521
|
$size?: TTabSizes;
|
3522
|
+
$sizeOnMobile?: TTabSizes;
|
3523
|
+
$sizeOnTablet?: TTabSizes;
|
3402
3524
|
$disabled?: boolean;
|
3403
3525
|
onClick: () => void;
|
3404
3526
|
shape?: 'curved' | 'square';
|
@@ -3415,6 +3537,7 @@ declare interface ITabsProps {
|
|
3415
3537
|
selectedTab: string;
|
3416
3538
|
onChange: (tab: string) => void;
|
3417
3539
|
tabs: ITabItem[];
|
3540
|
+
background?: TColorNames;
|
3418
3541
|
}
|
3419
3542
|
|
3420
3543
|
export declare interface ITabVariantConfig {
|
@@ -3512,6 +3635,8 @@ declare interface ITestsListProps {
|
|
3512
3635
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
3513
3636
|
label: string;
|
3514
3637
|
size?: TTextButtonSizes;
|
3638
|
+
sizeOnMobile?: TTextButtonSizes;
|
3639
|
+
sizeOnTablet?: TTextButtonSizes;
|
3515
3640
|
disabled?: boolean;
|
3516
3641
|
onClick?: () => void;
|
3517
3642
|
color?: TColorNames;
|
@@ -3765,6 +3890,10 @@ declare interface IusePointerSyncProps {
|
|
3765
3890
|
targetUserId?: string;
|
3766
3891
|
}
|
3767
3892
|
|
3893
|
+
declare interface IUsePuzzleIntroJourney {
|
3894
|
+
onJourneyComplete: () => void;
|
3895
|
+
}
|
3896
|
+
|
3768
3897
|
export declare interface IUserChapterData {
|
3769
3898
|
chapter_code: string;
|
3770
3899
|
chapter_id: string;
|
@@ -3819,12 +3948,6 @@ declare interface IUseTrialSessionMessageBroker {
|
|
3819
3948
|
};
|
3820
3949
|
}
|
3821
3950
|
|
3822
|
-
declare interface IUseViewportReturn {
|
3823
|
-
isCompact: boolean;
|
3824
|
-
isMobile: boolean;
|
3825
|
-
isDesktop: boolean;
|
3826
|
-
}
|
3827
|
-
|
3828
3951
|
declare interface IUseWorksheetLayout {
|
3829
3952
|
(options: {
|
3830
3953
|
userType: TUserTypes;
|
@@ -3971,6 +4094,14 @@ export declare interface IWorksheetBehavior {
|
|
3971
4094
|
* For teacher we don't show review cta.
|
3972
4095
|
*/
|
3973
4096
|
canTeacherValidate: boolean;
|
4097
|
+
/**
|
4098
|
+
* * In case of puzzle worksheet for teacher
|
4099
|
+
* * If true,
|
4100
|
+
* Teacher validation button will be disabled.
|
4101
|
+
* * If false,
|
4102
|
+
* Teacher validation button will be active.
|
4103
|
+
*/
|
4104
|
+
canTeacherValidateDisabled?: boolean;
|
3974
4105
|
/**
|
3975
4106
|
* If true, questions will be validated and feedback will be shown.
|
3976
4107
|
*/
|
@@ -4022,6 +4153,10 @@ export declare interface IWorksheetBehavior {
|
|
4022
4153
|
* If true, the user can unassign the sheet.
|
4023
4154
|
*/
|
4024
4155
|
canUnAssign?: boolean;
|
4156
|
+
/**
|
4157
|
+
* If true, journey will be started.
|
4158
|
+
*/
|
4159
|
+
canStartJourney?: boolean;
|
4025
4160
|
}
|
4026
4161
|
|
4027
4162
|
declare interface IWorksheetCallbackProps {
|
@@ -4182,16 +4317,23 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4182
4317
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
4183
4318
|
CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
|
4184
4319
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
4185
|
-
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4186
4320
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4187
4321
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4188
|
-
|
4322
|
+
PUZZLE_ATTEMPT_JOURNEY = "PUZZLE_ATTEMPT_JOURNEY",
|
4323
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4324
|
+
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
4325
|
+
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
4189
4326
|
}
|
4190
4327
|
|
4191
4328
|
export declare enum JOURNEY_ID_TEACHER {
|
4192
4329
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4193
4330
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4194
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4331
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4332
|
+
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
4333
|
+
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
4334
|
+
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
4335
|
+
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
4336
|
+
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
4195
4337
|
}
|
4196
4338
|
|
4197
4339
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -4214,6 +4356,8 @@ declare const LESSON_TAG_TYPE: {
|
|
4214
4356
|
readonly DEFAULT: "DEFAULT";
|
4215
4357
|
};
|
4216
4358
|
|
4359
|
+
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4360
|
+
|
4217
4361
|
export declare const loadScript: ILoadScript;
|
4218
4362
|
|
4219
4363
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4228,6 +4372,7 @@ export declare const LOTTIE: {
|
|
4228
4372
|
ACTIVITY: string;
|
4229
4373
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4230
4374
|
ALL_DONE: string;
|
4375
|
+
ANIMATED_AVATAR: string;
|
4231
4376
|
AVATAR_SELECTED: string;
|
4232
4377
|
BEGINNER1X: string;
|
4233
4378
|
BRONZE_1: string;
|
@@ -4259,12 +4404,14 @@ export declare const LOTTIE: {
|
|
4259
4404
|
FAMILIAR1X: string;
|
4260
4405
|
FIFTEEN_MIN_CLOCK: string;
|
4261
4406
|
FIVE_MIN_CLOCK: string;
|
4407
|
+
FLYING_DISK: string;
|
4262
4408
|
GIFT: string;
|
4263
4409
|
GOLD_1: string;
|
4264
4410
|
GOLD_2: string;
|
4265
4411
|
GOLD_3: string;
|
4266
4412
|
GOLF: string;
|
4267
4413
|
GRADE: string;
|
4414
|
+
GRADUATION_CAP: string;
|
4268
4415
|
HIGH_SCORE_CONFETTI: string;
|
4269
4416
|
HIGH_SCORE_TEXT: string;
|
4270
4417
|
INFINITE_BUTTON_BG: string;
|
@@ -4275,17 +4422,21 @@ export declare const LOTTIE: {
|
|
4275
4422
|
LEVELUP_RINGS: string;
|
4276
4423
|
LEVEL_1_ALLSTAR: string;
|
4277
4424
|
LIGHTNING: string;
|
4425
|
+
LIGHT_BULB: string;
|
4278
4426
|
MAGICWAND: string;
|
4279
4427
|
MAIL: string;
|
4280
4428
|
MECHANICAL_ARM: string;
|
4281
4429
|
MEDAL: string;
|
4282
4430
|
MEDIUM: string;
|
4431
|
+
MUSCLE: string;
|
4283
4432
|
NUDGE_TAP: string;
|
4284
4433
|
OTP: string;
|
4285
4434
|
PARENT_AVATAR: string;
|
4286
4435
|
PARTY_BALL: string;
|
4287
4436
|
PARTY_POPPER: string;
|
4437
|
+
PENCIL: string;
|
4288
4438
|
PHONE_NUMBER: string;
|
4439
|
+
PLUS_SIGN: string;
|
4289
4440
|
POINT100: string;
|
4290
4441
|
POINT10: string;
|
4291
4442
|
POINT15: string;
|
@@ -4306,9 +4457,17 @@ export declare const LOTTIE: {
|
|
4306
4457
|
PROFICIENT1X: string;
|
4307
4458
|
PROJECT: string;
|
4308
4459
|
PUZZLE: string;
|
4460
|
+
PUZZLE_BLUE_LOTTIE: string;
|
4461
|
+
PUZZLE_GREEN_LOTTIE: string;
|
4462
|
+
PUZZLE_ORANGE_LOTTIE: string;
|
4463
|
+
PUZZLE_PURPLE_LOTTIE: string;
|
4464
|
+
PUZZLE_YELLOW_LOTTIE: string;
|
4465
|
+
RACING_CAR: string;
|
4309
4466
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4310
4467
|
RECAP: string;
|
4468
|
+
ROCKET: string;
|
4311
4469
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4470
|
+
SHOVEL: string;
|
4312
4471
|
SILVER_1: string;
|
4313
4472
|
SILVER_2: string;
|
4314
4473
|
SILVER_3: string;
|
@@ -4371,6 +4530,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4371
4530
|
|
4372
4531
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4373
4532
|
|
4533
|
+
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4534
|
+
|
4374
4535
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4375
4536
|
|
4376
4537
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4503,7 +4664,7 @@ export declare enum NODE_TYPES {
|
|
4503
4664
|
'PUZZLE_CARD' = "PUZZLE_CARD"
|
4504
4665
|
}
|
4505
4666
|
|
4506
|
-
export declare const Nudge: React_2.
|
4667
|
+
export declare const Nudge: React_2.NamedExoticComponent<INudgeProps>;
|
4507
4668
|
|
4508
4669
|
export declare const NumRangeInput: React.FC<NumRangeInputProps>;
|
4509
4670
|
|
@@ -4524,8 +4685,12 @@ declare interface NumRangeInputProps {
|
|
4524
4685
|
endPlaceholder?: string;
|
4525
4686
|
}
|
4526
4687
|
|
4688
|
+
export declare const OnboardingGuide: () => JSX.Element;
|
4689
|
+
|
4527
4690
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4528
4691
|
|
4692
|
+
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4693
|
+
|
4529
4694
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4530
4695
|
|
4531
4696
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4538,6 +4703,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4538
4703
|
|
4539
4704
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4540
4705
|
|
4706
|
+
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4707
|
+
|
4541
4708
|
/**
|
4542
4709
|
** Global/Platform specific events that needs to be tracked goes here
|
4543
4710
|
** Naming convention needs to be snake_case
|
@@ -4547,6 +4714,7 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
4547
4714
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
4548
4715
|
HOMEWORK_COMPLETED = "homework_completed",
|
4549
4716
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
4717
|
+
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
4550
4718
|
ACTIVITY_STARTED = "activity_started",
|
4551
4719
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
4552
4720
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4563,7 +4731,9 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
4563
4731
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
4564
4732
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
4565
4733
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
4566
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4734
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next",
|
4735
|
+
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
4736
|
+
PUZZLE_REVIEWED = "puzzle_reviewed"
|
4567
4737
|
}
|
4568
4738
|
|
4569
4739
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4636,8 +4806,12 @@ declare const PUZZLE_CARD_STATE: {
|
|
4636
4806
|
|
4637
4807
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4638
4808
|
|
4809
|
+
export declare const PuzzleApp: NamedExoticComponent<IPuzzleAppProps>;
|
4810
|
+
|
4639
4811
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4640
4812
|
|
4813
|
+
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
4814
|
+
|
4641
4815
|
export declare const PuzzleFeedbackCelebration: FC;
|
4642
4816
|
|
4643
4817
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4699,6 +4873,10 @@ declare const SAT_NODE_TYPE: {
|
|
4699
4873
|
|
4700
4874
|
export declare const SATSheetSummary: FC<ISATSheetSummary>;
|
4701
4875
|
|
4876
|
+
export declare const ScreenGrabFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4877
|
+
|
4878
|
+
export declare const ScreenGrabIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4879
|
+
|
4702
4880
|
export declare const SearchableSelectInput: <IDType extends string | number>(props: ISearchableSelectInputProps<IDType>) => ReactElement;
|
4703
4881
|
|
4704
4882
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4717,6 +4895,8 @@ declare enum SECTION_CODE {
|
|
4717
4895
|
|
4718
4896
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4719
4897
|
|
4898
|
+
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4899
|
+
|
4720
4900
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4721
4901
|
|
4722
4902
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4772,8 +4952,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4772
4952
|
|
4773
4953
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4774
4954
|
|
4955
|
+
export declare const SignupHeader: () => JSX.Element;
|
4956
|
+
|
4775
4957
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4776
4958
|
|
4959
|
+
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4960
|
+
|
4777
4961
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4778
4962
|
export { SketchIcon as ScribbleIcon }
|
4779
4963
|
export { SketchIcon }
|
@@ -4827,11 +5011,22 @@ declare const STICKER_BADGE: {
|
|
4827
5011
|
AWESOME: string;
|
4828
5012
|
};
|
4829
5013
|
|
4830
|
-
|
5014
|
+
declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
|
4831
5015
|
|
4832
|
-
export declare const
|
5016
|
+
export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5017
|
+
|
5018
|
+
export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5019
|
+
|
5020
|
+
export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
|
5021
|
+
|
5022
|
+
declare interface StickersProps {
|
5023
|
+
stickers: string[];
|
5024
|
+
effect: StickerEffect;
|
5025
|
+
count: number;
|
5026
|
+
duration: number;
|
5027
|
+
}
|
4833
5028
|
|
4834
|
-
export declare const StickersSelector: React_2.NamedExoticComponent<
|
5029
|
+
export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
|
4835
5030
|
|
4836
5031
|
export declare const StreakIcon: React_2.FC<IStreakIconProps>;
|
4837
5032
|
|
@@ -4861,7 +5056,7 @@ declare const TAB_CODES: {
|
|
4861
5056
|
|
4862
5057
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4863
5058
|
|
4864
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
5059
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
|
4865
5060
|
|
4866
5061
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4867
5062
|
|
@@ -4950,7 +5145,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
4950
5145
|
|
4951
5146
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4952
5147
|
|
4953
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5148
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
|
4954
5149
|
|
4955
5150
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4956
5151
|
|
@@ -5071,8 +5266,6 @@ declare type TCueProgramData = {
|
|
5071
5266
|
|
5072
5267
|
declare type TDefaultSection = Record<string, unknown>;
|
5073
5268
|
|
5074
|
-
export declare type TDeviceType = 'mobile' | 'tablet' | 'small-desktop' | 'desktop' | 'large-device' | 'xlarge-device';
|
5075
|
-
|
5076
5269
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5077
5270
|
|
5078
5271
|
declare type TEnglishSectionSummary = {
|
@@ -5084,7 +5277,7 @@ declare type TEnrollmentTypes = (typeof ENROLLMENT_TYPES)[keyof typeof ENROLLMEN
|
|
5084
5277
|
export declare const TestsCreation: FC<ITestsCreationProps>;
|
5085
5278
|
|
5086
5279
|
/**
|
5087
|
-
* @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated
|
5280
|
+
* @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
5281
|
*/
|
5089
5282
|
declare const Text_2: IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TextProps>>;
|
5090
5283
|
export { Text_2 as Text }
|
@@ -5106,6 +5299,8 @@ declare interface TextProps {
|
|
5106
5299
|
$inline?: boolean;
|
5107
5300
|
$textDecoration?: string;
|
5108
5301
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5302
|
+
$renderOnMobileAs?: TTextVariants;
|
5303
|
+
$renderOnTabletAs?: TTextVariants;
|
5109
5304
|
}
|
5110
5305
|
|
5111
5306
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5360,6 +5555,21 @@ export declare type TInclassMessage = {
|
|
5360
5555
|
eventPayload: {
|
5361
5556
|
chapterId: string;
|
5362
5557
|
};
|
5558
|
+
} | {
|
5559
|
+
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
5560
|
+
eventPayload: {
|
5561
|
+
puzzleId: string;
|
5562
|
+
};
|
5563
|
+
} | {
|
5564
|
+
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
5565
|
+
eventPayload: {
|
5566
|
+
puzzleId?: string;
|
5567
|
+
};
|
5568
|
+
} | {
|
5569
|
+
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
5570
|
+
eventPayload: {
|
5571
|
+
puzzleId: string;
|
5572
|
+
};
|
5363
5573
|
} | {
|
5364
5574
|
eventName: 'TEACHER_BADGE';
|
5365
5575
|
eventPayload: {
|
@@ -5749,7 +5959,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
|
|
5749
5959
|
declare type TRewardHomeData = {
|
5750
5960
|
user_badges: TBadgeData[] | [];
|
5751
5961
|
user_rewards: TRewardsData[] | [];
|
5752
|
-
user_stickers:
|
5962
|
+
user_stickers: TStickerData[] | [];
|
5753
5963
|
};
|
5754
5964
|
|
5755
5965
|
declare type TRewardsData = {
|
@@ -5877,17 +6087,7 @@ export declare type TSkillStatus = 'pending' | 'completed';
|
|
5877
6087
|
|
5878
6088
|
export declare type TSocialAuthProvider = 'google' | 'apple';
|
5879
6089
|
|
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 = {
|
6090
|
+
declare type TStickerData = {
|
5891
6091
|
actor_id: string;
|
5892
6092
|
badge_id: string;
|
5893
6093
|
badge_type: string;
|
@@ -5900,8 +6100,6 @@ declare type TStickerData_2 = {
|
|
5900
6100
|
user_type: string;
|
5901
6101
|
};
|
5902
6102
|
|
5903
|
-
export declare type TStickerEffects = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
|
5904
|
-
|
5905
6103
|
export declare type TStreakStatus = 'pending' | 'completed';
|
5906
6104
|
|
5907
6105
|
declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
|
@@ -5990,6 +6188,10 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
5990
6188
|
|
5991
6189
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
5992
6190
|
|
6191
|
+
declare type TWorksheetItems = {
|
6192
|
+
ref: string;
|
6193
|
+
};
|
6194
|
+
|
5993
6195
|
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
5994
6196
|
|
5995
6197
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|
@@ -6197,6 +6399,21 @@ export declare const useModalParams: IUseModalParams;
|
|
6197
6399
|
|
6198
6400
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
6199
6401
|
|
6402
|
+
export declare const usePuzzleDashboardJourney: () => {
|
6403
|
+
puzzleProfileRef: RefObject<HTMLDivElement>;
|
6404
|
+
startJourney: (avatar: IAvatarLayer[]) => void;
|
6405
|
+
};
|
6406
|
+
|
6407
|
+
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
6408
|
+
puzzleIconRef: RefObject<HTMLDivElement>;
|
6409
|
+
startJourney: () => void;
|
6410
|
+
};
|
6411
|
+
|
6412
|
+
export declare const usePuzzleProgressJourney: () => {
|
6413
|
+
puzzleProgressRef: RefObject<HTMLDivElement>;
|
6414
|
+
startJourney: () => void;
|
6415
|
+
};
|
6416
|
+
|
6200
6417
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
6201
6418
|
|
6202
6419
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -6207,6 +6424,11 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
6207
6424
|
|
6208
6425
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
6209
6426
|
|
6427
|
+
export declare const useTeacherPuzzleAssignedJourney: () => {
|
6428
|
+
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
6429
|
+
startJourney: () => void;
|
6430
|
+
};
|
6431
|
+
|
6210
6432
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
6211
6433
|
onClick: TTrackCTA;
|
6212
6434
|
onResponse: TTrackInput;
|
@@ -6217,8 +6439,6 @@ export declare const useTrialSessionMessageBroker: IUseTrialSessionMessageBroker
|
|
6217
6439
|
|
6218
6440
|
export declare const useUIContext: () => UIContextProps;
|
6219
6441
|
|
6220
|
-
export declare const useViewport: () => IUseViewportReturn;
|
6221
|
-
|
6222
6442
|
export declare const useWorksheetLayout: IUseWorksheetLayout;
|
6223
6443
|
|
6224
6444
|
export declare const useZoomDisable: () => void;
|