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