@cuemath/leap 3.2.15-beta-0.1 → 3.2.15-link.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 +6 -1
- 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/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.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/star3.js +32 -0
- package/dist/assets/line-icons/icons/star3.js.map +1 -0
- package/dist/assets/lottie/lottie.js +11 -6
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/analytics-events/platform-events-student.js +1 -2
- package/dist/features/analytics-events/platform-events-student.js.map +1 -1
- package/dist/features/analytics-events/platform-events-teacher.js +4 -6
- package/dist/features/analytics-events/platform-events-teacher.js.map +1 -1
- package/dist/features/analytics-events/whitelist-events.js +8 -10
- package/dist/features/analytics-events/whitelist-events.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 +65 -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 +92 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +18 -13
- 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 +22 -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 +51 -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 +75 -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/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +32 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +44 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js +54 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js +83 -0
- package/dist/features/auth/signup-v2/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/communication/pub-sub/constants.js +4 -7
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/homework/homework-card-view.js +97 -85
- package/dist/features/homework/homework-card-view.js.map +1 -1
- package/dist/features/homework/homework-card.js +42 -44
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list-view.js +29 -31
- package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -1
- package/dist/features/homework/hw-card-list/hw-card-list.js +50 -57
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
- package/dist/features/homework/utils.js +27 -33
- package/dist/features/homework/utils.js.map +1 -1
- package/dist/features/journey/comps/coachmark/coachmark.js +28 -29
- package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +11 -17
- package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +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 +72 -73
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/journey/use-journey/journey-styled.js +4 -6
- package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card-styled.js +69 -24
- package/dist/features/puzzles/comps/puzzle-card-styled.js.map +1 -1
- package/dist/features/puzzles/comps/puzzle-card.js +30 -64
- package/dist/features/puzzles/comps/puzzle-card.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js +25 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-styled.js.map +1 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container.js +107 -100
- package/dist/features/puzzles/puzzle-container/puzzle-container.js.map +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js +1 -1
- package/dist/features/puzzles/puzzle-feedback-celebration/puzzle-feedback-celebration.js.map +1 -1
- package/dist/features/puzzles/utils/puzzle-pattern.js +13 -28
- package/dist/features/puzzles/utils/puzzle-pattern.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js +7 -50
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js +15 -69
- package/dist/features/trial-session/comps/teacher-intro/teacher-intro.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +49 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +64 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js +28 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items-styled.js.map +1 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js +83 -0
- package/dist/features/ui/accordion/accordion-items/accordion-items.js.map +1 -0
- package/dist/features/ui/accordion/accordion.js +62 -0
- package/dist/features/ui/accordion/accordion.js.map +1 -0
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js +60 -12
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-styled.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +77 -72
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.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/inputs/base-input/base-input.js +11 -11
- package/dist/features/ui/inputs/base-input/base-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js +21 -21
- package/dist/features/ui/inputs/checkbox-input/checkbox-input.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +5 -5
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input.js +19 -18
- package/dist/features/ui/inputs/text-input/text-input.js.map +1 -1
- package/dist/features/ui/modals/modal-styled.js +43 -8
- package/dist/features/ui/modals/modal-styled.js.map +1 -1
- package/dist/features/ui/modals/modal.js +37 -27
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/ui/nudge/nudge-styled.js +7 -14
- package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
- package/dist/features/ui/nudge/nudge.js +12 -13
- package/dist/features/ui/nudge/nudge.js.map +1 -1
- package/dist/features/ui/text/text.js +31 -29
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/button.js +78 -78
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-helpers.js +73 -75
- package/dist/features/worksheet/worksheet/worksheet-helpers.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js +25 -29
- package/dist/features/worksheet/worksheet/worksheet-question/learnosity-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js +47 -101
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +146 -149
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +207 -242
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +37 -37
- 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 +313 -307
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +35 -44
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +156 -105
- package/dist/index.js +536 -520
- 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.5cb30093.json +1057 -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/stripe-blurple.6abf422f.svg +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +2 -3
- package/dist/assets/line-icons/icons/hint-fill.js +0 -35
- package/dist/assets/line-icons/icons/hint-fill.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js +0 -72
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-assigned.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-attempt-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +0 -63
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js +0 -67
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-intro-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-progress-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-review-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js +0 -59
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-unassign-journey.js.map +0 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js +0 -70
- package/dist/features/journey/hooks/use-puzzles-journey/use-teacher-puzzle-assigned-journey.js.map +0 -1
- package/dist/features/puzzles/api/puzzle-dashboard.js +0 -10
- package/dist/features/puzzles/api/puzzle-dashboard.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app-styled.js +0 -81
- package/dist/features/puzzles/app/puzzle-app-styled.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app-view.js +0 -120
- package/dist/features/puzzles/app/puzzle-app-view.js.map +0 -1
- package/dist/features/puzzles/app/puzzle-app.js +0 -82
- package/dist/features/puzzles/app/puzzle-app.js.map +0 -1
- package/dist/features/puzzles/constants/puzzle-container.js +0 -8
- package/dist/features/puzzles/constants/puzzle-container.js.map +0 -1
- package/dist/features/puzzles/puzzle-analytics-events.js +0 -11
- package/dist/features/puzzles/puzzle-analytics-events.js.map +0 -1
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js +0 -55
- package/dist/features/puzzles/puzzle-container/puzzle-container-view.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js +0 -37
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard-styled.js.map +0 -1
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js +0 -110
- package/dist/features/puzzles/puzzle-dashboard/puzzle-dashboard.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js +0 -6
- package/dist/features/ui/arrow-tooltip/arrow-tooltip-constants.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js +0 -63
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body-styled.js.map +0 -1
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js +0 -21
- package/dist/features/ui/arrow-tooltip/comps/tooltip-body.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/activity.js +0 -6
- package/dist/features/worksheet/worksheet/mocks/activity.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/chapter_assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/diagnostic.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/diagnostic.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/dynamic.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/dynamic.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/extra_practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/extra_practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/index.js +0 -95
- package/dist/features/worksheet/worksheet/mocks/behaviors/index.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning-v3.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning-v3.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/learning.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/legacy.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/legacy.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/level2.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/level2.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/level3.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/level3.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/mastery.js +0 -41
- package/dist/features/worksheet/worksheet/mocks/behaviors/mastery.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle-card.js +0 -41
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle-card.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_easy.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_easy.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_hard.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_hard.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_medium.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/puzzle_medium.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/recap.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/recap.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/remedial.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/remedial.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/revision.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/revision.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat-math-assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat-math-assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_english_learning.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_english_learning.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_learning.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_learning.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_recap.js +0 -39
- package/dist/features/worksheet/worksheet/mocks/behaviors/sat_math_recap.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/target_practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/target_practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic-v2.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic-v2.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/trial-diagnostic.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_assessment.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_assessment.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_practice.js +0 -38
- package/dist/features/worksheet/worksheet/mocks/behaviors/turing_practice.js.map +0 -1
- package/dist/features/worksheet/worksheet/mocks/signed-requests.js +0 -5
- package/dist/features/worksheet/worksheet/mocks/signed-requests.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js +0 -57
- package/dist/features/worksheet/worksheet/stories/use-canvas-sync-broker-story.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js +0 -231
- package/dist/features/worksheet/worksheet/stories/worksheet-story-container.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/worksheet-student.js +0 -174
- package/dist/features/worksheet/worksheet/stories/worksheet-student.js.map +0 -1
- package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js +0 -255
- package/dist/features/worksheet/worksheet/stories/worksheet-teacher.js.map +0 -1
- package/dist/static/nudge-tap.0591aef4.json +0 -1
- package/dist/static/puzzle-blue-lottie.7017e2e8.json +0 -1
- package/dist/static/puzzle-blue-lottie.bf64ebc5.json +0 -12760
- package/dist/static/puzzle-dashboard-banner.b7956519.svg +0 -1
- package/dist/static/puzzle-green-lottie.1da90698.json +0 -1
- package/dist/static/puzzle-orange-lottie.cfcf3724.json +0 -1
- package/dist/static/puzzle-purple-lottie.e70de110.json +0 -9860
- package/dist/static/puzzle-yellow-lottie.275b5cf4.json +0 -1
- package/dist/types/models/worksheet.js +0 -5
- package/dist/types/models/worksheet.js.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -33,6 +33,18 @@ import { ResourceModel } from '@cuemath/rest-api';
|
|
33
33
|
import type { SetStateAction } from 'react';
|
34
34
|
import { Substitute } from 'styled-components/dist/types';
|
35
35
|
|
36
|
+
export declare const Accordion: NamedExoticComponent<AccordionProps>;
|
37
|
+
|
38
|
+
declare interface AccordionProps {
|
39
|
+
theme?: AccordionTheme;
|
40
|
+
visibleBuffer: number;
|
41
|
+
defaultOpenElement?: number;
|
42
|
+
accordionData: Array<{
|
43
|
+
accordionQuestion: string;
|
44
|
+
accordionAnswer: React.ReactNode | string;
|
45
|
+
}>;
|
46
|
+
}
|
47
|
+
|
36
48
|
/**
|
37
49
|
* AccordionSection component.
|
38
50
|
*
|
@@ -41,6 +53,8 @@ import { Substitute } from 'styled-components/dist/types';
|
|
41
53
|
*/
|
42
54
|
export declare const AccordionSection: FC<IAccordionSectionProps>;
|
43
55
|
|
56
|
+
declare type AccordionTheme = 'light' | 'dark';
|
57
|
+
|
44
58
|
export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
|
45
59
|
|
46
60
|
export declare const ACHIEVEMENT_ACTIONS: {
|
@@ -52,17 +66,21 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
52
66
|
|
53
67
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
54
68
|
|
69
|
+
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
70
|
+
|
55
71
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
56
72
|
|
57
73
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
58
74
|
|
75
|
+
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
76
|
+
|
59
77
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
60
78
|
|
61
79
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
62
80
|
children?: ReactNode | undefined;
|
63
81
|
} & RefAttributes<HTMLDivElement>>;
|
64
82
|
|
65
|
-
export declare const ArrowTooltip:
|
83
|
+
export declare const ArrowTooltip: FC<IArrowTooltipProps>;
|
66
84
|
|
67
85
|
export declare const AUTH_TABS: IAuthTab[];
|
68
86
|
|
@@ -96,6 +114,8 @@ export declare const BackgroundImage: ({ img }: {
|
|
96
114
|
|
97
115
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
98
116
|
|
117
|
+
export declare const BaseInput: React_2.FC<IBaseInputProps>;
|
118
|
+
|
99
119
|
declare interface BaseProject {
|
100
120
|
id: string;
|
101
121
|
name: string;
|
@@ -416,10 +436,9 @@ declare interface ErrorProps {
|
|
416
436
|
handleClick: () => void;
|
417
437
|
}
|
418
438
|
|
439
|
+
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
440
|
+
|
419
441
|
export declare const EVENTS: {
|
420
|
-
PUZZLE_ASSIGNED: "PUZZLE_ASSIGNED";
|
421
|
-
PUZZLE_UNASSIGNED: "PUZZLE_UNASSIGNED";
|
422
|
-
PUZZLE_REVIEWED: "PUZZLE_REVIEWED";
|
423
442
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
424
443
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
425
444
|
INVALIDATE_HOMEWORK: "INVALIDATE_HOMEWORK";
|
@@ -576,8 +595,6 @@ export declare const HelpIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
576
595
|
|
577
596
|
export declare const HighlighterIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
578
597
|
|
579
|
-
export declare const HintFillIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
580
|
-
|
581
598
|
export declare const HomeIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
582
599
|
|
583
600
|
export declare const HomeworkCardList: React_2.NamedExoticComponent<HWCardListProps>;
|
@@ -594,7 +611,6 @@ declare interface HWCardListProps extends INodeCardCallbacks {
|
|
594
611
|
homeworkRef?: React_2.RefObject<HTMLDivElement>;
|
595
612
|
startHomePageJourney?: ({ studentId, stream, userType }: IHomepageStartJourneyProps) => void;
|
596
613
|
canStartJourney?: boolean;
|
597
|
-
canStartPuzzleAssignedJourney?: boolean;
|
598
614
|
}
|
599
615
|
|
600
616
|
declare interface IAccordionSectionProps {
|
@@ -644,6 +660,20 @@ declare interface IAnimatedArcProps {
|
|
644
660
|
showAnimatedRainbowArc?: boolean;
|
645
661
|
}
|
646
662
|
|
663
|
+
declare interface IAnimatedAvatarMessageProps {
|
664
|
+
message: string;
|
665
|
+
onShowContent: (show: boolean) => void;
|
666
|
+
confirmationFrames: [number, number];
|
667
|
+
confirmationMessage?: string;
|
668
|
+
isConfirmationVisible?: boolean;
|
669
|
+
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
670
|
+
}
|
671
|
+
|
672
|
+
export declare type IAnimatedAvatarMessageRef = {
|
673
|
+
fadeOutMessage: () => Promise<void>;
|
674
|
+
playConfirmationFrames: () => Promise<void>;
|
675
|
+
};
|
676
|
+
|
647
677
|
declare interface IAppLoaderProps {
|
648
678
|
width?: string | number;
|
649
679
|
height?: string | number;
|
@@ -677,7 +707,6 @@ export declare interface IArrowTooltipProps {
|
|
677
707
|
widthX?: number;
|
678
708
|
zIndex?: number;
|
679
709
|
parentWidth?: number | string;
|
680
|
-
isBlocking?: boolean;
|
681
710
|
}
|
682
711
|
|
683
712
|
declare interface IAttempt {
|
@@ -689,6 +718,7 @@ declare interface IAuthPageLayoutProps {
|
|
689
718
|
leftBlock: ReactElement;
|
690
719
|
rightBlock?: ReactElement;
|
691
720
|
isFullWidth?: boolean;
|
721
|
+
rightBlockBg?: TColorNames;
|
692
722
|
}
|
693
723
|
|
694
724
|
declare interface IAuthStaticPanelProps {
|
@@ -1604,7 +1634,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1604
1634
|
}
|
1605
1635
|
|
1606
1636
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1607
|
-
withLoader
|
1637
|
+
withLoader?: boolean;
|
1608
1638
|
borderRadius?: number;
|
1609
1639
|
borderColor?: TColorNames;
|
1610
1640
|
}
|
@@ -1686,9 +1716,8 @@ export declare interface IJourneyContext {
|
|
1686
1716
|
* @param scrollableContainerRef - Optional ref to a journey which has a scrollable container, it will make the entire page
|
1687
1717
|
* uninteractable by adding an overlay - Required since we cannot determine the height of the scrollable container because
|
1688
1718
|
* provider is at root level and from there we cannot access the scrollable container's height.
|
1689
|
-
* @param isBlocking - If `true`, the journey will block user interaction with the page until completed. True by default.
|
1690
1719
|
*/
|
1691
|
-
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null
|
1720
|
+
setJourney: (id: TJourneyId, coachmark: TCoachmarkJourneyProps[], scrollableContainerRef?: RefObject<HTMLDivElement | null>) => void;
|
1692
1721
|
/**
|
1693
1722
|
* Clears the current journey, removing all coachmarks.
|
1694
1723
|
* Should be called inside useEffect to ensure cleanup.
|
@@ -1978,6 +2007,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
1978
2007
|
targetQuestions: number;
|
1979
2008
|
}
|
1980
2009
|
|
2010
|
+
declare interface ILinearProgressBarProps {
|
2011
|
+
percentage: number;
|
2012
|
+
height?: number;
|
2013
|
+
backgroundColor?: TColorNames;
|
2014
|
+
fillColor?: TColorNames;
|
2015
|
+
borderRadius?: number;
|
2016
|
+
}
|
2017
|
+
|
1981
2018
|
export declare const ILLUSTRATIONS: {
|
1982
2019
|
ALARM_CLOCK_ORANGE: string;
|
1983
2020
|
ALARM_CLOCK_PURPLE: string;
|
@@ -1994,6 +2031,7 @@ export declare const ILLUSTRATIONS: {
|
|
1994
2031
|
CALENDAR_BLUE: string;
|
1995
2032
|
CALENDAR_GRAY: string;
|
1996
2033
|
CALENDAR_GREEN: string;
|
2034
|
+
CALENDAR_PURPLE: string;
|
1997
2035
|
CAUTION: string;
|
1998
2036
|
CHAPTER_10: string;
|
1999
2037
|
CHAPTER_1: string;
|
@@ -2033,6 +2071,7 @@ export declare const ILLUSTRATIONS: {
|
|
2033
2071
|
GRADUATE_PINK_FILLED_BG: string;
|
2034
2072
|
GREEN_BALLOON: string;
|
2035
2073
|
GREEN_FACE: string;
|
2074
|
+
HANDSHAKE: string;
|
2036
2075
|
LEARNED_SHIELD_GRAY: string;
|
2037
2076
|
LEARNED_SHIELD_GREEN: string;
|
2038
2077
|
LEARNT: string;
|
@@ -2051,6 +2090,7 @@ export declare const ILLUSTRATIONS: {
|
|
2051
2090
|
MILESTONE_INTRO_2: string;
|
2052
2091
|
MILESTONE_INTRO_3: string;
|
2053
2092
|
MISTAKE: string;
|
2093
|
+
MONEY: string;
|
2054
2094
|
NODE_ACTIVITY_BG: string;
|
2055
2095
|
NODE_CUSTOM_TEST_BG: string;
|
2056
2096
|
NODE_DOWNLOAD_BG: string;
|
@@ -2068,6 +2108,7 @@ export declare const ILLUSTRATIONS: {
|
|
2068
2108
|
NUMBER_4_ORANGE: string;
|
2069
2109
|
ONE_STAR_FILLED: string;
|
2070
2110
|
ORANGE_FACE: string;
|
2111
|
+
PARENT_AVATAR: string;
|
2071
2112
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2072
2113
|
PLAY: string;
|
2073
2114
|
PLAY_ICON: string;
|
@@ -2077,7 +2118,6 @@ export declare const ILLUSTRATIONS: {
|
|
2077
2118
|
PROFICIENT_BADGE: string;
|
2078
2119
|
PROFILE_BOARD: string;
|
2079
2120
|
PUZZLE: string;
|
2080
|
-
PUZZLE_DASHBOARD_BANNER: string;
|
2081
2121
|
PUZZLE_PATTERN_BLUE: string;
|
2082
2122
|
PUZZLE_PATTERN_GREEN: string;
|
2083
2123
|
PUZZLE_PATTERN_ORANGE: string;
|
@@ -2096,6 +2136,7 @@ export declare const ILLUSTRATIONS: {
|
|
2096
2136
|
STAR_WITH_GREEN_FILL: string;
|
2097
2137
|
STREAK_GREEN: string;
|
2098
2138
|
STREAK_WHITE: string;
|
2139
|
+
STRIPE_BLURPLE: string;
|
2099
2140
|
TEST_DIFFICULTY_EASY: string;
|
2100
2141
|
TEST_DIFFICULTY_HARD: string;
|
2101
2142
|
TEST_DIFFICULTY_MEDIUM: string;
|
@@ -2105,6 +2146,7 @@ export declare const ILLUSTRATIONS: {
|
|
2105
2146
|
TROPHY_BLUE_FILLED: string;
|
2106
2147
|
TROPHY_CIRCLE: string;
|
2107
2148
|
TROPHY_GREEN: string;
|
2149
|
+
TRUSTPILOT: string;
|
2108
2150
|
TWO_STARS_FILLED: string;
|
2109
2151
|
UP_ARROW: string;
|
2110
2152
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2460,7 +2502,7 @@ export declare interface IModal {
|
|
2460
2502
|
/** Content to display inside the modal */
|
2461
2503
|
element: ReactElement;
|
2462
2504
|
/** Rendering style of the modal */
|
2463
|
-
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
2505
|
+
renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
|
2464
2506
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
2465
2507
|
isDismissable?: boolean;
|
2466
2508
|
/** Whether the modal requires authentication to view (default: true) */
|
@@ -2637,6 +2679,14 @@ declare interface IOpenImageReviewModalProps {
|
|
2637
2679
|
image?: string;
|
2638
2680
|
}
|
2639
2681
|
|
2682
|
+
declare interface IOTPInputProps {
|
2683
|
+
length?: number;
|
2684
|
+
value: string;
|
2685
|
+
onChange: (val: string) => void;
|
2686
|
+
error?: string;
|
2687
|
+
isBusy?: boolean;
|
2688
|
+
}
|
2689
|
+
|
2640
2690
|
declare interface IOTPResendProps {
|
2641
2691
|
onResendOTP: () => void;
|
2642
2692
|
onResendVoiceOTP?: () => void;
|
@@ -2645,6 +2695,8 @@ declare interface IOTPResendProps {
|
|
2645
2695
|
disabled?: boolean;
|
2646
2696
|
renderAs?: 'submit' | 'text';
|
2647
2697
|
width?: number | string;
|
2698
|
+
textButtonColor?: TColorNames;
|
2699
|
+
size?: 'small' | 'xsmall';
|
2648
2700
|
}
|
2649
2701
|
|
2650
2702
|
declare interface IOutcomeConfig {
|
@@ -2682,6 +2734,18 @@ declare interface IPerfectHitsProps {
|
|
2682
2734
|
value: number;
|
2683
2735
|
}
|
2684
2736
|
|
2737
|
+
declare interface IPillButtonProps {
|
2738
|
+
id: string;
|
2739
|
+
label: string;
|
2740
|
+
selected?: boolean;
|
2741
|
+
disabled?: boolean;
|
2742
|
+
animatedLabel?: string;
|
2743
|
+
icon?: string;
|
2744
|
+
onClick: (val: string) => void;
|
2745
|
+
tooltip?: string;
|
2746
|
+
width?: number | string;
|
2747
|
+
}
|
2748
|
+
|
2685
2749
|
declare interface IPlaceholder {
|
2686
2750
|
text?: string;
|
2687
2751
|
marks?: string;
|
@@ -2795,7 +2859,6 @@ declare interface IPreviewWorksheetProps {
|
|
2795
2859
|
items?: string[];
|
2796
2860
|
onWorksheetLoaded?: (loaded: boolean) => void;
|
2797
2861
|
onUnassign?: () => void;
|
2798
|
-
canStartUnassignJourney?: boolean;
|
2799
2862
|
}
|
2800
2863
|
|
2801
2864
|
export declare interface IProject<T> {
|
@@ -2887,9 +2950,6 @@ export declare interface IPuzzleCardAssignData {
|
|
2887
2950
|
node_type: TNodeTypes;
|
2888
2951
|
node_id: string;
|
2889
2952
|
user_node_id: string | null;
|
2890
|
-
rewards?: TPuzzleRewards[];
|
2891
|
-
student_elo_rating: number | null;
|
2892
|
-
current_elo_rating: number | null;
|
2893
2953
|
}
|
2894
2954
|
|
2895
2955
|
declare interface IPuzzleCardContainerProps {
|
@@ -2900,12 +2960,7 @@ declare interface IPuzzleCardContainerProps {
|
|
2900
2960
|
studentId: string;
|
2901
2961
|
onFullyHidden?: () => void;
|
2902
2962
|
onPuzzleClick: () => void;
|
2903
|
-
|
2904
|
-
|
2905
|
-
declare interface IPuzzleDashboardProps {
|
2906
|
-
studentId: string;
|
2907
|
-
onBackCLick?: () => void;
|
2908
|
-
onCardClick: (userNodeId: string) => void;
|
2963
|
+
onPuzzleAssign?: () => void;
|
2909
2964
|
}
|
2910
2965
|
|
2911
2966
|
export declare interface IPuzzleWebGameProps extends IBaseWebGameProps, ISyncableWebGameProps {
|
@@ -3023,7 +3078,6 @@ export declare interface IReviewWorksheetModel {
|
|
3023
3078
|
title?: string;
|
3024
3079
|
worksheet_id?: string;
|
3025
3080
|
node_type: TNodeTypes;
|
3026
|
-
items?: TWorksheetItems[];
|
3027
3081
|
}
|
3028
3082
|
|
3029
3083
|
declare interface ISATSheetItemCallbacks {
|
@@ -3070,6 +3124,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3070
3124
|
data: Section[];
|
3071
3125
|
}
|
3072
3126
|
|
3127
|
+
declare interface ISelectableInfoCardProps {
|
3128
|
+
id: string;
|
3129
|
+
title: string;
|
3130
|
+
description: string;
|
3131
|
+
icon: string;
|
3132
|
+
selected: boolean;
|
3133
|
+
onClick: (val: string) => void;
|
3134
|
+
}
|
3135
|
+
|
3073
3136
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3074
3137
|
}
|
3075
3138
|
|
@@ -3204,6 +3267,15 @@ declare interface ISignupMethodsProps {
|
|
3204
3267
|
loadingProvider: TSocialAuthProvider | null;
|
3205
3268
|
}
|
3206
3269
|
|
3270
|
+
declare interface ISignupOptionsProps {
|
3271
|
+
onEmailSignup: () => void;
|
3272
|
+
onGoogleSignup: () => void;
|
3273
|
+
onAppleSignup: () => void;
|
3274
|
+
onGoToLogin: () => void;
|
3275
|
+
loadingProvider: TSocialAuthProvider | null;
|
3276
|
+
title?: string;
|
3277
|
+
}
|
3278
|
+
|
3207
3279
|
export declare interface ISignUpProps {
|
3208
3280
|
circleOnLeapSignedUp: boolean;
|
3209
3281
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3359,6 +3431,8 @@ declare interface ISyncableWebGameProps {
|
|
3359
3431
|
declare interface ITabItem {
|
3360
3432
|
id: string;
|
3361
3433
|
label: string;
|
3434
|
+
iconPosition?: 'left' | 'right';
|
3435
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3362
3436
|
}
|
3363
3437
|
|
3364
3438
|
export declare interface ITable {
|
@@ -3430,6 +3504,7 @@ declare interface ITabsProps {
|
|
3430
3504
|
selectedTab: string;
|
3431
3505
|
onChange: (tab: string) => void;
|
3432
3506
|
tabs: ITabItem[];
|
3507
|
+
background?: TColorNames;
|
3433
3508
|
}
|
3434
3509
|
|
3435
3510
|
export declare interface ITabVariantConfig {
|
@@ -3488,6 +3563,20 @@ declare interface ITalkMeterProps extends ITalkMeter {
|
|
3488
3563
|
animated?: boolean;
|
3489
3564
|
}
|
3490
3565
|
|
3566
|
+
declare interface ITeacherProfileDetails {
|
3567
|
+
lower_grade: string;
|
3568
|
+
higher_grade: string;
|
3569
|
+
header_image: string;
|
3570
|
+
years_of_experience: number;
|
3571
|
+
number_of_students_taught: number;
|
3572
|
+
countries: string[];
|
3573
|
+
degree: TDegreeInformation;
|
3574
|
+
}
|
3575
|
+
|
3576
|
+
declare interface ITeacherProfileProps {
|
3577
|
+
teacherProfile?: ITeacherProfileDetails;
|
3578
|
+
}
|
3579
|
+
|
3491
3580
|
declare interface ITeacherReview {
|
3492
3581
|
reviewComment?: string;
|
3493
3582
|
images?: string[];
|
@@ -3780,10 +3869,6 @@ declare interface IusePointerSyncProps {
|
|
3780
3869
|
targetUserId?: string;
|
3781
3870
|
}
|
3782
3871
|
|
3783
|
-
declare interface IUsePuzzleIntroJourney {
|
3784
|
-
onJourneyComplete: () => void;
|
3785
|
-
}
|
3786
|
-
|
3787
3872
|
export declare interface IUserChapterData {
|
3788
3873
|
chapter_code: string;
|
3789
3874
|
chapter_id: string;
|
@@ -3984,14 +4069,6 @@ export declare interface IWorksheetBehavior {
|
|
3984
4069
|
* For teacher we don't show review cta.
|
3985
4070
|
*/
|
3986
4071
|
canTeacherValidate: boolean;
|
3987
|
-
/**
|
3988
|
-
* * In case of puzzle worksheet for teacher
|
3989
|
-
* * If true,
|
3990
|
-
* Teacher validation button will be disabled.
|
3991
|
-
* * If false,
|
3992
|
-
* Teacher validation button will be active.
|
3993
|
-
*/
|
3994
|
-
canTeacherValidateDisabled?: boolean;
|
3995
4072
|
/**
|
3996
4073
|
* If true, questions will be validated and feedback will be shown.
|
3997
4074
|
*/
|
@@ -4043,10 +4120,6 @@ export declare interface IWorksheetBehavior {
|
|
4043
4120
|
* If true, the user can unassign the sheet.
|
4044
4121
|
*/
|
4045
4122
|
canUnAssign?: boolean;
|
4046
|
-
/**
|
4047
|
-
* If true, journey will be started.
|
4048
|
-
*/
|
4049
|
-
canStartJourney?: boolean;
|
4050
4123
|
}
|
4051
4124
|
|
4052
4125
|
declare interface IWorksheetCallbackProps {
|
@@ -4207,23 +4280,16 @@ export declare enum JOURNEY_ID_STUDENT {
|
|
4207
4280
|
CIRCLE_TABLES_INTRO_JOURNEY = "CIRCLE_TABLES_INTRO_JOURNEY",
|
4208
4281
|
CIRCLE_TABLES_INFINTE_JOURNEY = "CIRCLE_TABLES_INFINITE_JOURNEY",
|
4209
4282
|
CIRCLE_LESSONS_K_1_INTRO_JOURNEY = "CIRCLE_LESSONS_K_1_INTRO_JOURNEY",
|
4283
|
+
CIRCLE_STREAK_REDUCTION_JOURNEY = "CIRCLE_STREAK_REDUCTION_JOURNEY",
|
4210
4284
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4211
4285
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4212
|
-
|
4213
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY",
|
4214
|
-
PUZZLE_ASSIGNED_JOURNEY = "PUZZLE_ASSIGNED_JOURNEY",
|
4215
|
-
PUZZLE_DASHBOARD_JOURNEY = "PUZZLE_DASHBOARD_JOURNEY"
|
4286
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4216
4287
|
}
|
4217
4288
|
|
4218
4289
|
export declare enum JOURNEY_ID_TEACHER {
|
4219
4290
|
HOMEPAGE_JOURNEY = "HOMEPAGE_JOURNEY",
|
4220
4291
|
CHAPTER_PAGE_JOURNEY = "CHAPTER_PAGE_JOURNEY",
|
4221
|
-
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4222
|
-
PUZZLE_ASSIGN_JOURNEY = "PUZZLE_ASSIGN_JOURNEY",
|
4223
|
-
PUZZLE_INTRO_JOURNEY = "PUZZLE_INTRO_JOURNEY",
|
4224
|
-
PUZZLE_REVIEW_JOURNEY = "PUZZLE_REVIEW_JOURNEY",
|
4225
|
-
PUZZLE_PROGRESS_JOURNEY = "PUZZLE_PROGRESS_JOURNEY",
|
4226
|
-
PUZZLE_UNASSIGN_JOURNEY = "PUZZLE_UNASSIGN_JOURNEY"
|
4292
|
+
CHALLENGE_ARENA_JOURNEY = "CHALLENGE_ARENA_JOURNEY"
|
4227
4293
|
}
|
4228
4294
|
|
4229
4295
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
@@ -4246,6 +4312,8 @@ declare const LESSON_TAG_TYPE: {
|
|
4246
4312
|
readonly DEFAULT: "DEFAULT";
|
4247
4313
|
};
|
4248
4314
|
|
4315
|
+
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4316
|
+
|
4249
4317
|
export declare const loadScript: ILoadScript;
|
4250
4318
|
|
4251
4319
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4260,6 +4328,7 @@ export declare const LOTTIE: {
|
|
4260
4328
|
ACTIVITY: string;
|
4261
4329
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4262
4330
|
ALL_DONE: string;
|
4331
|
+
ANIMATED_AVATAR: string;
|
4263
4332
|
AVATAR_SELECTED: string;
|
4264
4333
|
BEGINNER1X: string;
|
4265
4334
|
BRONZE_1: string;
|
@@ -4291,12 +4360,14 @@ export declare const LOTTIE: {
|
|
4291
4360
|
FAMILIAR1X: string;
|
4292
4361
|
FIFTEEN_MIN_CLOCK: string;
|
4293
4362
|
FIVE_MIN_CLOCK: string;
|
4363
|
+
FLYING_DISK: string;
|
4294
4364
|
GIFT: string;
|
4295
4365
|
GOLD_1: string;
|
4296
4366
|
GOLD_2: string;
|
4297
4367
|
GOLD_3: string;
|
4298
4368
|
GOLF: string;
|
4299
4369
|
GRADE: string;
|
4370
|
+
GRADUATION_CAP: string;
|
4300
4371
|
HIGH_SCORE_CONFETTI: string;
|
4301
4372
|
HIGH_SCORE_TEXT: string;
|
4302
4373
|
INFINITE_BUTTON_BG: string;
|
@@ -4307,17 +4378,21 @@ export declare const LOTTIE: {
|
|
4307
4378
|
LEVELUP_RINGS: string;
|
4308
4379
|
LEVEL_1_ALLSTAR: string;
|
4309
4380
|
LIGHTNING: string;
|
4381
|
+
LIGHT_BULB: string;
|
4310
4382
|
MAGICWAND: string;
|
4311
4383
|
MAIL: string;
|
4312
4384
|
MECHANICAL_ARM: string;
|
4313
4385
|
MEDAL: string;
|
4314
4386
|
MEDIUM: string;
|
4387
|
+
MUSCLE: string;
|
4315
4388
|
NUDGE_TAP: string;
|
4316
4389
|
OTP: string;
|
4317
4390
|
PARENT_AVATAR: string;
|
4318
4391
|
PARTY_BALL: string;
|
4319
4392
|
PARTY_POPPER: string;
|
4393
|
+
PENCIL: string;
|
4320
4394
|
PHONE_NUMBER: string;
|
4395
|
+
PLUS_SIGN: string;
|
4321
4396
|
POINT100: string;
|
4322
4397
|
POINT10: string;
|
4323
4398
|
POINT15: string;
|
@@ -4338,14 +4413,12 @@ export declare const LOTTIE: {
|
|
4338
4413
|
PROFICIENT1X: string;
|
4339
4414
|
PROJECT: string;
|
4340
4415
|
PUZZLE: string;
|
4341
|
-
|
4342
|
-
PUZZLE_GREEN_LOTTIE: string;
|
4343
|
-
PUZZLE_ORANGE_LOTTIE: string;
|
4344
|
-
PUZZLE_PURPLE_LOTTIE: string;
|
4345
|
-
PUZZLE_YELLOW_LOTTIE: string;
|
4416
|
+
RACING_CAR: string;
|
4346
4417
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4347
4418
|
RECAP: string;
|
4419
|
+
ROCKET: string;
|
4348
4420
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4421
|
+
SHOVEL: string;
|
4349
4422
|
SILVER_1: string;
|
4350
4423
|
SILVER_2: string;
|
4351
4424
|
SILVER_3: string;
|
@@ -4408,6 +4481,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4408
4481
|
|
4409
4482
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4410
4483
|
|
4484
|
+
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4485
|
+
|
4411
4486
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4412
4487
|
|
4413
4488
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4540,7 +4615,7 @@ export declare enum NODE_TYPES {
|
|
4540
4615
|
'PUZZLE_CARD' = "PUZZLE_CARD"
|
4541
4616
|
}
|
4542
4617
|
|
4543
|
-
export declare const Nudge: React_2.
|
4618
|
+
export declare const Nudge: React_2.FC<INudgeProps>;
|
4544
4619
|
|
4545
4620
|
export declare const NumRangeInput: React.FC<NumRangeInputProps>;
|
4546
4621
|
|
@@ -4561,8 +4636,12 @@ declare interface NumRangeInputProps {
|
|
4561
4636
|
endPlaceholder?: string;
|
4562
4637
|
}
|
4563
4638
|
|
4639
|
+
export declare const OnboardingGuide: () => JSX.Element;
|
4640
|
+
|
4564
4641
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4565
4642
|
|
4643
|
+
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4644
|
+
|
4566
4645
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4567
4646
|
|
4568
4647
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4575,6 +4654,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4575
4654
|
|
4576
4655
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4577
4656
|
|
4657
|
+
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4658
|
+
|
4578
4659
|
/**
|
4579
4660
|
** Global/Platform specific events that needs to be tracked goes here
|
4580
4661
|
** Naming convention needs to be snake_case
|
@@ -4584,7 +4665,6 @@ export declare enum PLATFORM_EVENTS_STUDENT {
|
|
4584
4665
|
CUSTOM_TEST_SUBMITTED = "custom_test_submitted",
|
4585
4666
|
HOMEWORK_COMPLETED = "homework_completed",
|
4586
4667
|
ERROR_VIA_AUTO_LOGIN_FROM_CUEMATH_APP = "error_via_auto_login_from_cuemath_app",
|
4587
|
-
PUZZLE_ATTEMPTED = "puzzle_attempted",
|
4588
4668
|
ACTIVITY_STARTED = "activity_started",
|
4589
4669
|
ACTIVITY_TUTORIAL_SEEN = "activity_tutorial_seen",
|
4590
4670
|
STREAK_ICON_CLICKED = "streak_icon_clicked",
|
@@ -4601,9 +4681,7 @@ export declare enum PLATFORM_EVENTS_TEACHER {
|
|
4601
4681
|
LESSON_FEEDBACK_NEGATIVE = "lesson_feedback_negative",
|
4602
4682
|
LESSON_FEEDBACK_BACK_BUTTON = "lesson_feedback_back_button",
|
4603
4683
|
LESSON_FEEDBACK_SUBMIT = "lesson_feedback_submit",
|
4604
|
-
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4605
|
-
PUZZLE_UNASSIGNED = "puzzle_unassigned",
|
4606
|
-
PUZZLE_REVIEWED = "puzzle_reviewed"
|
4684
|
+
LESSON_FEEDBACK_NEXT = "lesson_feedback_next"
|
4607
4685
|
}
|
4608
4686
|
|
4609
4687
|
export declare const Play2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4676,12 +4754,8 @@ declare const PUZZLE_CARD_STATE: {
|
|
4676
4754
|
|
4677
4755
|
declare const PUZZLE_CARDS: "puzzle_cards";
|
4678
4756
|
|
4679
|
-
export declare const PuzzleApp: NamedExoticComponent<{}>;
|
4680
|
-
|
4681
4757
|
export declare const PuzzleCard: FC<IPuzzleCardContainerProps>;
|
4682
4758
|
|
4683
|
-
export declare const PuzzleDashboard: FC<IPuzzleDashboardProps>;
|
4684
|
-
|
4685
4759
|
export declare const PuzzleFeedbackCelebration: FC;
|
4686
4760
|
|
4687
4761
|
export declare const PuzzleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4761,6 +4835,8 @@ declare enum SECTION_CODE {
|
|
4761
4835
|
|
4762
4836
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4763
4837
|
|
4838
|
+
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4839
|
+
|
4764
4840
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4765
4841
|
|
4766
4842
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4816,8 +4892,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4816
4892
|
|
4817
4893
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4818
4894
|
|
4895
|
+
export declare const SignupHeader: () => JSX.Element;
|
4896
|
+
|
4819
4897
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4820
4898
|
|
4899
|
+
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4900
|
+
|
4821
4901
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4822
4902
|
export { SketchIcon as ScribbleIcon }
|
4823
4903
|
export { SketchIcon }
|
@@ -4844,6 +4924,8 @@ export declare const STAGES: {
|
|
4844
4924
|
|
4845
4925
|
export declare const Star2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4846
4926
|
|
4927
|
+
export declare const Star3Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4928
|
+
|
4847
4929
|
export declare const StarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4848
4930
|
|
4849
4931
|
export declare enum State {
|
@@ -4912,7 +4994,7 @@ declare const TAB_CODES: {
|
|
4912
4994
|
|
4913
4995
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4914
4996
|
|
4915
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4997
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
|
4916
4998
|
|
4917
4999
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4918
5000
|
|
@@ -5001,7 +5083,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
5001
5083
|
|
5002
5084
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
5003
5085
|
|
5004
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5086
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
|
5005
5087
|
|
5006
5088
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
5007
5089
|
|
@@ -5122,8 +5204,15 @@ declare type TCueProgramData = {
|
|
5122
5204
|
|
5123
5205
|
declare type TDefaultSection = Record<string, unknown>;
|
5124
5206
|
|
5207
|
+
declare type TDegreeInformation = {
|
5208
|
+
degree_name?: string;
|
5209
|
+
field_of_study?: string;
|
5210
|
+
};
|
5211
|
+
|
5125
5212
|
declare type TDrawingData = ITile | IStroke | undefined;
|
5126
5213
|
|
5214
|
+
export declare const TeacherProfile: FC<ITeacherProfileProps>;
|
5215
|
+
|
5127
5216
|
declare type TEnglishSectionSummary = {
|
5128
5217
|
section_code: 'READING & WRITING';
|
5129
5218
|
} & TSectionSummary;
|
@@ -5157,6 +5246,7 @@ declare interface TextProps {
|
|
5157
5246
|
$whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';
|
5158
5247
|
$renderOnMobileAs?: TTextVariants;
|
5159
5248
|
$renderOnTabletAs?: TTextVariants;
|
5249
|
+
$cursor?: 'pointer' | 'default' | 'text' | 'not-allowed' | 'move' | 'help';
|
5160
5250
|
}
|
5161
5251
|
|
5162
5252
|
export declare type TFontFamilyNames = `${'Athletics'}-${'Light' | 'Regular' | 'Medium' | 'Bold' | 'Black'}` | `${'UntitledSans'}-${'Regular' | 'Medium'}`;
|
@@ -5411,21 +5501,6 @@ export declare type TInclassMessage = {
|
|
5411
5501
|
eventPayload: {
|
5412
5502
|
chapterId: string;
|
5413
5503
|
};
|
5414
|
-
} | {
|
5415
|
-
eventName: typeof EVENTS.PUZZLE_ASSIGNED;
|
5416
|
-
eventPayload: {
|
5417
|
-
puzzleId: string;
|
5418
|
-
};
|
5419
|
-
} | {
|
5420
|
-
eventName: typeof EVENTS.PUZZLE_UNASSIGNED;
|
5421
|
-
eventPayload: {
|
5422
|
-
puzzleId?: string;
|
5423
|
-
};
|
5424
|
-
} | {
|
5425
|
-
eventName: typeof EVENTS.PUZZLE_REVIEWED;
|
5426
|
-
eventPayload: {
|
5427
|
-
puzzleId: string;
|
5428
|
-
};
|
5429
5504
|
} | {
|
5430
5505
|
eventName: 'TEACHER_BADGE';
|
5431
5506
|
eventPayload: {
|
@@ -6044,10 +6119,6 @@ export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialP
|
|
6044
6119
|
|
6045
6120
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
6046
6121
|
|
6047
|
-
declare type TWorksheetItems = {
|
6048
|
-
ref: string;
|
6049
|
-
};
|
6050
|
-
|
6051
6122
|
declare type TWORKSHHET_QUESTION_MEDIA_TYPE = 'SIMULATION' | 'VIDEO' | 'AUDIO';
|
6052
6123
|
|
6053
6124
|
export declare type TZIndexMap = Record<keyof typeof ZINDEX, number>;
|
@@ -6255,21 +6326,6 @@ export declare const useModalParams: IUseModalParams;
|
|
6255
6326
|
|
6256
6327
|
export declare const usePointerSync: ({ userType, targetUserId, }: IusePointerSyncProps) => IusePointerSyncMethods;
|
6257
6328
|
|
6258
|
-
export declare const usePuzzleDashboardJourney: () => {
|
6259
|
-
puzzleProfileRef: RefObject<HTMLDivElement>;
|
6260
|
-
startJourney: (avatar: IAvatarLayer[]) => void;
|
6261
|
-
};
|
6262
|
-
|
6263
|
-
export declare const usePuzzleIntroJourney: ({ onJourneyComplete }: IUsePuzzleIntroJourney) => {
|
6264
|
-
puzzleIconRef: RefObject<HTMLDivElement>;
|
6265
|
-
startJourney: () => void;
|
6266
|
-
};
|
6267
|
-
|
6268
|
-
export declare const usePuzzleProgressJourney: () => {
|
6269
|
-
puzzleProgressRef: RefObject<HTMLDivElement>;
|
6270
|
-
startJourney: () => void;
|
6271
|
-
};
|
6272
|
-
|
6273
6329
|
export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
6274
6330
|
|
6275
6331
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -6280,11 +6336,6 @@ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswor
|
|
6280
6336
|
|
6281
6337
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
6282
6338
|
|
6283
|
-
export declare const useTeacherPuzzleAssignedJourney: () => {
|
6284
|
-
puzzleHomeTabRef: RefObject<HTMLDivElement>;
|
6285
|
-
startJourney: () => void;
|
6286
|
-
};
|
6287
|
-
|
6288
6339
|
export declare const useTrackingContext: (commonAnalyticsProps: Record<string, unknown>, overrides?: Record<string, unknown>) => {
|
6289
6340
|
onClick: TTrackCTA;
|
6290
6341
|
onResponse: TTrackInput;
|