@magmamath/students-features 1.5.0 → 1.5.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/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +6 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/fluency/assets/FlameIcon.js +30 -0
- package/dist/commonjs/features/fluency/assets/FlameIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/FlashIcon.js +30 -0
- package/dist/commonjs/features/fluency/assets/FlashIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/SnurrisnurrBg.js +232 -0
- package/dist/commonjs/features/fluency/assets/SnurrisnurrBg.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/SparkleIcon.js +30 -0
- package/dist/commonjs/features/fluency/assets/SparkleIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js +31 -0
- package/dist/commonjs/features/fluency/assets/StarFillIcon.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/TrophyBg.js +41 -0
- package/dist/commonjs/features/fluency/assets/TrophyBg.js.map +1 -0
- package/dist/commonjs/features/fluency/assets/success.mp3 +0 -0
- package/dist/commonjs/features/fluency/components/Fluency.js +92 -0
- package/dist/commonjs/features/fluency/components/Fluency.js.map +1 -0
- package/dist/commonjs/features/fluency/components/FluencySolving.js +46 -0
- package/dist/commonjs/features/fluency/components/FluencySolving.js.map +1 -0
- package/dist/commonjs/features/fluency/components/FluencyStatusOverlay.js +101 -0
- package/dist/commonjs/features/fluency/components/FluencyStatusOverlay.js.map +1 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js +96 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js +62 -0
- package/dist/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js +148 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +113 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +39 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.js +62 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.js +80 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js +73 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +93 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js +69 -0
- package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js +35 -0
- package/dist/commonjs/features/fluency/components/matrix/FluencyMatrix.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/CellTooltip.js +56 -0
- package/dist/commonjs/features/fluency/components/matrix/components/CellTooltip.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js +118 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixCell.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js +52 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixFill.js.map +1 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js +104 -0
- package/dist/commonjs/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -0
- package/dist/commonjs/features/fluency/components/mobile-menu/MobileMenu.js +37 -0
- package/dist/commonjs/features/fluency/components/mobile-menu/MobileMenu.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.js +43 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js +86 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.js +117 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.js.map +1 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js +81 -0
- package/dist/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -0
- package/dist/commonjs/features/fluency/components/session-results/FluencySessionResults.js +206 -0
- package/dist/commonjs/features/fluency/components/session-results/FluencySessionResults.js.map +1 -0
- package/dist/commonjs/features/fluency/components/session-results/SessionStatCard.js +77 -0
- package/dist/commonjs/features/fluency/components/session-results/SessionStatCard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/session-results/SkillProgressionRow.js +113 -0
- package/dist/commonjs/features/fluency/components/session-results/SkillProgressionRow.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js +80 -0
- package/dist/commonjs/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js +74 -0
- package/dist/commonjs/features/fluency/components/start-banner/MathFlashcard.js.map +1 -0
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js +132 -0
- package/dist/commonjs/features/fluency/components/start-banner/StartBanner.js.map +1 -0
- package/dist/commonjs/features/fluency/context/FluencyContext.js +16 -0
- package/dist/commonjs/features/fluency/context/FluencyContext.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js +157 -0
- package/dist/commonjs/features/fluency/hooks/useCardSnapAnimation.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.js +44 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js +51 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyModePreset.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyNumpad.js +170 -0
- package/dist/commonjs/features/fluency/hooks/useFluencyNumpad.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useFluencySolvingPreset.js +57 -0
- package/dist/commonjs/features/fluency/hooks/useFluencySolvingPreset.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/usePreventPageLeave.js +18 -0
- package/dist/commonjs/features/fluency/hooks/usePreventPageLeave.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/usePreventWebKeys.js +26 -0
- package/dist/commonjs/features/fluency/hooks/usePreventWebKeys.js.map +1 -0
- package/dist/commonjs/features/fluency/hooks/useSuccessSound.js +27 -0
- package/dist/commonjs/features/fluency/hooks/useSuccessSound.js.map +1 -0
- package/dist/commonjs/features/fluency/index.js +68 -0
- package/dist/commonjs/features/fluency/index.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js +16 -0
- package/dist/commonjs/features/fluency/model/FluencyApiModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js +16 -0
- package/dist/commonjs/features/fluency/model/FluencyDaysStreakModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js +23 -0
- package/dist/commonjs/features/fluency/model/FluencyMatrixModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js +85 -0
- package/dist/commonjs/features/fluency/model/FluencyModel.js.map +1 -0
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js +153 -0
- package/dist/commonjs/features/fluency/model/FluencySolvingModel.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluency.constants.js +110 -0
- package/dist/commonjs/features/fluency/shared/fluency.constants.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluency.helpers.js +133 -0
- package/dist/commonjs/features/fluency/shared/fluency.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluency.types.js +6 -0
- package/dist/commonjs/features/fluency/shared/fluency.types.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.constants.js +29 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.constants.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.helpers.js +86 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.types.js +6 -0
- package/dist/commonjs/features/fluency/shared/fluencySolving.types.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/assets/PersonIcon.js +32 -0
- package/dist/commonjs/features/fluency-teacher/assets/PersonIcon.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js +31 -0
- package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js +45 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.js +47 -0
- package/dist/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js +99 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +80 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js +56 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +123 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +77 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js +52 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +114 -0
- package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.js +139 -0
- package/dist/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.js +40 -0
- package/dist/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/HardestFact.js +102 -0
- package/dist/commonjs/features/fluency-teacher/components/header/HardestFact.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/header/TopHardestFacts.js +101 -0
- package/dist/commonjs/features/fluency-teacher/components/header/TopHardestFacts.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js +64 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js +48 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.js +53 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js +59 -0
- package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js +112 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js +82 -0
- package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.js +37 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +165 -0
- package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js +40 -0
- package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js +85 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js +128 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js +71 -0
- package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js +16 -0
- package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js +82 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js +75 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.types.js +6 -0
- package/dist/commonjs/features/fluency-teacher/fluencyTeacher.types.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js +60 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js +37 -0
- package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/index.js +20 -0
- package/dist/commonjs/features/fluency-teacher/index.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.js +15 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +30 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js +48 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.js +62 -0
- package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.js.map +1 -0
- package/dist/commonjs/features/pmProgress/components/content/PmContent.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +3 -3
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +1 -2
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js.map +1 -1
- package/dist/commonjs/index.js +25 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/components/GradientView.js +55 -0
- package/dist/commonjs/lib/components/GradientView.js.map +1 -0
- package/dist/commonjs/lib/constants.js +1 -0
- package/dist/commonjs/lib/constants.js.map +1 -1
- package/dist/commonjs/shared/common.constants.js +7 -1
- package/dist/commonjs/shared/common.constants.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +7 -2
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/fluency/assets/FlameIcon.js +22 -0
- package/dist/module/features/fluency/assets/FlameIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/FlashIcon.js +22 -0
- package/dist/module/features/fluency/assets/FlashIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/SnurrisnurrBg.js +224 -0
- package/dist/module/features/fluency/assets/SnurrisnurrBg.js.map +1 -0
- package/dist/module/features/fluency/assets/SparkleIcon.js +22 -0
- package/dist/module/features/fluency/assets/SparkleIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js +23 -0
- package/dist/module/features/fluency/assets/StarFillIcon.js.map +1 -0
- package/dist/module/features/fluency/assets/TrophyBg.js +33 -0
- package/dist/module/features/fluency/assets/TrophyBg.js.map +1 -0
- package/dist/module/features/fluency/assets/success.mp3 +0 -0
- package/dist/module/features/fluency/components/Fluency.js +86 -0
- package/dist/module/features/fluency/components/Fluency.js.map +1 -0
- package/dist/module/features/fluency/components/FluencySolving.js +40 -0
- package/dist/module/features/fluency/components/FluencySolving.js.map +1 -0
- package/dist/module/features/fluency/components/FluencyStatusOverlay.js +95 -0
- package/dist/module/features/fluency/components/FluencyStatusOverlay.js.map +1 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js +90 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreak.js.map +1 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js +56 -0
- package/dist/module/features/fluency/components/day-streak-counter/DayStreakCounter.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js +141 -0
- package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +107 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +33 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js +56 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js +74 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js +67 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +87 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js +62 -0
- package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js +29 -0
- package/dist/module/features/fluency/components/matrix/FluencyMatrix.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/CellTooltip.js +50 -0
- package/dist/module/features/fluency/components/matrix/components/CellTooltip.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js +111 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixCell.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js +46 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixFill.js.map +1 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js +98 -0
- package/dist/module/features/fluency/components/matrix/components/MatrixLegend.js.map +1 -0
- package/dist/module/features/fluency/components/mobile-menu/MobileMenu.js +31 -0
- package/dist/module/features/fluency/components/mobile-menu/MobileMenu.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/MathOperatorRow.js +37 -0
- package/dist/module/features/fluency/components/select-math-operator/MathOperatorRow.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js +80 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBar.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBarSparkles.js +110 -0
- package/dist/module/features/fluency/components/select-math-operator/ProgressBarSparkles.js.map +1 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js +75 -0
- package/dist/module/features/fluency/components/select-math-operator/SelectMathOperator.js.map +1 -0
- package/dist/module/features/fluency/components/session-results/FluencySessionResults.js +199 -0
- package/dist/module/features/fluency/components/session-results/FluencySessionResults.js.map +1 -0
- package/dist/module/features/fluency/components/session-results/SessionStatCard.js +71 -0
- package/dist/module/features/fluency/components/session-results/SessionStatCard.js.map +1 -0
- package/dist/module/features/fluency/components/session-results/SkillProgressionRow.js +107 -0
- package/dist/module/features/fluency/components/session-results/SkillProgressionRow.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js +74 -0
- package/dist/module/features/fluency/components/start-banner/BannerFlashcards.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js +68 -0
- package/dist/module/features/fluency/components/start-banner/MathFlashcard.js.map +1 -0
- package/dist/module/features/fluency/components/start-banner/StartBanner.js +126 -0
- package/dist/module/features/fluency/components/start-banner/StartBanner.js.map +1 -0
- package/dist/module/features/fluency/context/FluencyContext.js +11 -0
- package/dist/module/features/fluency/context/FluencyContext.js.map +1 -0
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js +152 -0
- package/dist/module/features/fluency/hooks/useCardSnapAnimation.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencyCardDeckAnimation.js +39 -0
- package/dist/module/features/fluency/hooks/useFluencyCardDeckAnimation.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js +46 -0
- package/dist/module/features/fluency/hooks/useFluencyModePreset.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencyNumpad.js +164 -0
- package/dist/module/features/fluency/hooks/useFluencyNumpad.js.map +1 -0
- package/dist/module/features/fluency/hooks/useFluencySolvingPreset.js +52 -0
- package/dist/module/features/fluency/hooks/useFluencySolvingPreset.js.map +1 -0
- package/dist/module/features/fluency/hooks/usePreventPageLeave.js +13 -0
- package/dist/module/features/fluency/hooks/usePreventPageLeave.js.map +1 -0
- package/dist/module/features/fluency/hooks/usePreventWebKeys.js +21 -0
- package/dist/module/features/fluency/hooks/usePreventWebKeys.js.map +1 -0
- package/dist/module/features/fluency/hooks/useSuccessSound.js +21 -0
- package/dist/module/features/fluency/hooks/useSuccessSound.js.map +1 -0
- package/dist/module/features/fluency/index.js +9 -0
- package/dist/module/features/fluency/index.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyApiModel.js +11 -0
- package/dist/module/features/fluency/model/FluencyApiModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js +11 -0
- package/dist/module/features/fluency/model/FluencyDaysStreakModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js +18 -0
- package/dist/module/features/fluency/model/FluencyMatrixModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencyModel.js +80 -0
- package/dist/module/features/fluency/model/FluencyModel.js.map +1 -0
- package/dist/module/features/fluency/model/FluencySolvingModel.js +148 -0
- package/dist/module/features/fluency/model/FluencySolvingModel.js.map +1 -0
- package/dist/module/features/fluency/shared/fluency.constants.js +105 -0
- package/dist/module/features/fluency/shared/fluency.constants.js.map +1 -0
- package/dist/module/features/fluency/shared/fluency.helpers.js +125 -0
- package/dist/module/features/fluency/shared/fluency.helpers.js.map +1 -0
- package/dist/module/features/fluency/shared/fluency.types.js +4 -0
- package/dist/module/features/fluency/shared/fluency.types.js.map +1 -0
- package/dist/module/features/fluency/shared/fluencySolving.constants.js +25 -0
- package/dist/module/features/fluency/shared/fluencySolving.constants.js.map +1 -0
- package/dist/module/features/fluency/shared/fluencySolving.helpers.js +76 -0
- package/dist/module/features/fluency/shared/fluencySolving.helpers.js.map +1 -0
- package/dist/module/features/fluency/shared/fluencySolving.types.js +4 -0
- package/dist/module/features/fluency/shared/fluencySolving.types.js.map +1 -0
- package/dist/module/features/fluency-teacher/assets/PersonIcon.js +24 -0
- package/dist/module/features/fluency-teacher/assets/PersonIcon.js.map +1 -0
- package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js +23 -0
- package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js +39 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacher.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacherFooter.js +41 -0
- package/dist/module/features/fluency-teacher/components/FluencyTeacherFooter.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js +93 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +74 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js +50 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +117 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +71 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js +46 -0
- package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +107 -0
- package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/AverageTimePerStudent.js +133 -0
- package/dist/module/features/fluency-teacher/components/header/AverageTimePerStudent.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/FluencyTeacherHeader.js +33 -0
- package/dist/module/features/fluency-teacher/components/header/FluencyTeacherHeader.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/HardestFact.js +96 -0
- package/dist/module/features/fluency-teacher/components/header/HardestFact.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/header/TopHardestFacts.js +95 -0
- package/dist/module/features/fluency-teacher/components/header/TopHardestFacts.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js +58 -0
- package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js +42 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.js +47 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js +53 -0
- package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js +106 -0
- package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js +76 -0
- package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherFilters.js +31 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherFilters.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +159 -0
- package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js +34 -0
- package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js +79 -0
- package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableRow.js +121 -0
- package/dist/module/features/fluency-teacher/components/table/TableRow.js.map +1 -0
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js +65 -0
- package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +1 -0
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js +11 -0
- package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js +78 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js +67 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.types.js +4 -0
- package/dist/module/features/fluency-teacher/fluencyTeacher.types.js.map +1 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js +55 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js +32 -0
- package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -0
- package/dist/module/features/fluency-teacher/index.js +5 -0
- package/dist/module/features/fluency-teacher/index.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyApiModel.js +10 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyApiModel.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +25 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js +43 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyTableModel.js +57 -0
- package/dist/module/features/fluency-teacher/model/TeacherFluencyTableModel.js.map +1 -0
- package/dist/module/features/pmProgress/components/content/PmContent.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +2 -2
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js +0 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/components/GradientView.js +49 -0
- package/dist/module/lib/components/GradientView.js.map +1 -0
- package/dist/module/lib/constants.js +1 -0
- package/dist/module/lib/constants.js.map +1 -1
- package/dist/module/shared/common.constants.js +6 -0
- package/dist/module/shared/common.constants.js.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/fluency/assets/FlameIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/assets/FlameIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/FlashIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/assets/FlashIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/SnurrisnurrBg.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/assets/SnurrisnurrBg.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/SparkleIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/assets/SparkleIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/assets/StarFillIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/assets/TrophyBg.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/assets/TrophyBg.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency/components/Fluency.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencySolving.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencyStatusOverlay.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/FluencyStatusOverlay.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/FluencyMatrix.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/CellTooltip.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/CellTooltip.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/mobile-menu/MobileMenu.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/components/mobile-menu/MobileMenu.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/MathOperatorRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts +6 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/FluencySessionResults.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/FluencySessionResults.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SessionStatCard.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SessionStatCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SkillProgressionRow.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency/components/session-results/SkillProgressionRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts +10 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/context/FluencyContext.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts +19 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts +16 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts +22 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts +53 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencySolvingPreset.d.ts +25 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useFluencySolvingPreset.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventPageLeave.d.ts +2 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventPageLeave.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventWebKeys.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/hooks/usePreventWebKeys.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useSuccessSound.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency/hooks/useSuccessSound.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/index.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts +19 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencyModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts +31 -0
- package/dist/typescript/commonjs/features/fluency/model/FluencySolvingModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.constants.d.ts +47 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.helpers.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.types.d.ts +125 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluency.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.constants.d.ts +5 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.helpers.d.ts +17 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.types.d.ts +34 -0
- package/dist/typescript/commonjs/features/fluency/shared/fluencySolving.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/PersonIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/PersonIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts +4 -0
- package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacher.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacher.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/FluencyTeacherFooter.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/HardestFact.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/HardestFact.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/TopHardestFacts.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/header/TopHardestFacts.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts +11 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +7 -0
- package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts +25 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts +12 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts +99 -0
- package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts +15 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +14 -0
- package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/index.d.ts +3 -0
- package/dist/typescript/commonjs/features/fluency-teacher/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts +8 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +9 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts +13 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts +19 -0
- package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +0 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +2 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/components/GradientView.d.ts +18 -0
- package/dist/typescript/commonjs/lib/components/GradientView.d.ts.map +1 -0
- package/dist/typescript/commonjs/lib/constants.d.ts +2 -1
- package/dist/typescript/commonjs/lib/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/common.constants.d.ts +5 -0
- package/dist/typescript/commonjs/shared/common.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
- package/dist/typescript/module/features/fluency/assets/FlameIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency/assets/FlameIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/FlashIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency/assets/FlashIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/SnurrisnurrBg.d.ts +3 -0
- package/dist/typescript/module/features/fluency/assets/SnurrisnurrBg.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/SparkleIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency/assets/SparkleIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts +7 -0
- package/dist/typescript/module/features/fluency/assets/StarFillIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/assets/TrophyBg.d.ts +3 -0
- package/dist/typescript/module/features/fluency/assets/TrophyBg.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts +15 -0
- package/dist/typescript/module/features/fluency/components/Fluency.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts +10 -0
- package/dist/typescript/module/features/fluency/components/FluencySolving.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/FluencyStatusOverlay.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/FluencyStatusOverlay.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts +9 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreak.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/day-streak-counter/DayStreakCounter.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts +15 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts +14 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +12 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/FluencyMatrix.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/FluencyMatrix.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/CellTooltip.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/CellTooltip.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts +11 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixFill.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/matrix/components/MatrixLegend.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/mobile-menu/MobileMenu.d.ts +7 -0
- package/dist/typescript/module/features/fluency/components/mobile-menu/MobileMenu.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/MathOperatorRow.d.ts +13 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/MathOperatorRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts +6 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/ProgressBarSparkles.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/select-math-operator/SelectMathOperator.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/session-results/FluencySessionResults.d.ts +8 -0
- package/dist/typescript/module/features/fluency/components/session-results/FluencySessionResults.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/session-results/SessionStatCard.d.ts +10 -0
- package/dist/typescript/module/features/fluency/components/session-results/SessionStatCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/session-results/SkillProgressionRow.d.ts +15 -0
- package/dist/typescript/module/features/fluency/components/session-results/SkillProgressionRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts +11 -0
- package/dist/typescript/module/features/fluency/components/start-banner/BannerFlashcards.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts +10 -0
- package/dist/typescript/module/features/fluency/components/start-banner/MathFlashcard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts +3 -0
- package/dist/typescript/module/features/fluency/components/start-banner/StartBanner.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts +11 -0
- package/dist/typescript/module/features/fluency/context/FluencyContext.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts +19 -0
- package/dist/typescript/module/features/fluency/hooks/useCardSnapAnimation.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts +16 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyCardDeckAnimation.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts +22 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyModePreset.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts +53 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencyNumpad.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencySolvingPreset.d.ts +25 -0
- package/dist/typescript/module/features/fluency/hooks/useFluencySolvingPreset.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventPageLeave.d.ts +2 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventPageLeave.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventWebKeys.d.ts +9 -0
- package/dist/typescript/module/features/fluency/hooks/usePreventWebKeys.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/hooks/useSuccessSound.d.ts +4 -0
- package/dist/typescript/module/features/fluency/hooks/useSuccessSound.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/index.d.ts +7 -0
- package/dist/typescript/module/features/fluency/index.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts +9 -0
- package/dist/typescript/module/features/fluency/model/FluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts +8 -0
- package/dist/typescript/module/features/fluency/model/FluencyDaysStreakModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts +11 -0
- package/dist/typescript/module/features/fluency/model/FluencyMatrixModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts +19 -0
- package/dist/typescript/module/features/fluency/model/FluencyModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts +31 -0
- package/dist/typescript/module/features/fluency/model/FluencySolvingModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluency.constants.d.ts +47 -0
- package/dist/typescript/module/features/fluency/shared/fluency.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluency.helpers.d.ts +15 -0
- package/dist/typescript/module/features/fluency/shared/fluency.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluency.types.d.ts +125 -0
- package/dist/typescript/module/features/fluency/shared/fluency.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.constants.d.ts +5 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.helpers.d.ts +17 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.types.d.ts +34 -0
- package/dist/typescript/module/features/fluency/shared/fluencySolving.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/assets/PersonIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency-teacher/assets/PersonIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts +4 -0
- package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacher.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacher.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacherFooter.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/FluencyTeacherFooter.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +12 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/AverageTimePerStudent.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/FluencyTeacherHeader.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/HardestFact.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/HardestFact.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/TopHardestFacts.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/header/TopHardestFacts.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +14 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts +12 -0
- package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherFilters.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +13 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts +11 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +7 -0
- package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts +25 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts +12 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts +99 -0
- package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts +15 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +14 -0
- package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/index.d.ts +3 -0
- package/dist/typescript/module/features/fluency-teacher/index.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts +8 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyApiModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +9 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts +13 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts +19 -0
- package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyTableModel.d.ts.map +1 -0
- package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +0 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +2 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/lib/components/GradientView.d.ts +18 -0
- package/dist/typescript/module/lib/components/GradientView.d.ts.map +1 -0
- package/dist/typescript/module/lib/constants.d.ts +2 -1
- package/dist/typescript/module/lib/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/common.constants.d.ts +5 -0
- package/dist/typescript/module/shared/common.constants.d.ts.map +1 -1
- package/package.json +12 -4
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +9 -2
- package/src/features/fluency/assets/FlameIcon.tsx +14 -0
- package/src/features/fluency/assets/FlashIcon.tsx +14 -0
- package/src/features/fluency/assets/SnurrisnurrBg.tsx +193 -0
- package/src/features/fluency/assets/SparkleIcon.tsx +14 -0
- package/src/features/fluency/assets/StarFillIcon.tsx +20 -0
- package/src/features/fluency/assets/TrophyBg.tsx +32 -0
- package/src/features/fluency/assets/success.mp3 +0 -0
- package/src/features/fluency/components/Fluency.tsx +90 -0
- package/src/features/fluency/components/FluencySolving.tsx +39 -0
- package/src/features/fluency/components/FluencyStatusOverlay.tsx +101 -0
- package/src/features/fluency/components/day-streak-counter/DayStreak.tsx +86 -0
- package/src/features/fluency/components/day-streak-counter/DayStreakCounter.tsx +67 -0
- package/src/features/fluency/components/fluency-solving/components/EquationContent.tsx +141 -0
- package/src/features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx +131 -0
- package/src/features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx +51 -0
- package/src/features/fluency/components/fluency-solving/components/FluencyNumpad.tsx +54 -0
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingCard.tsx +71 -0
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingHeader.tsx +75 -0
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgress.tsx +87 -0
- package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.tsx +71 -0
- package/src/features/fluency/components/matrix/FluencyMatrix.tsx +29 -0
- package/src/features/fluency/components/matrix/components/CellTooltip.tsx +46 -0
- package/src/features/fluency/components/matrix/components/MatrixCell.tsx +119 -0
- package/src/features/fluency/components/matrix/components/MatrixFill.tsx +52 -0
- package/src/features/fluency/components/matrix/components/MatrixLegend.tsx +101 -0
- package/src/features/fluency/components/mobile-menu/MobileMenu.tsx +28 -0
- package/src/features/fluency/components/select-math-operator/MathOperatorRow.tsx +38 -0
- package/src/features/fluency/components/select-math-operator/ProgressBar.tsx +81 -0
- package/src/features/fluency/components/select-math-operator/ProgressBarSparkles.tsx +142 -0
- package/src/features/fluency/components/select-math-operator/SelectMathOperator.tsx +81 -0
- package/src/features/fluency/components/session-results/FluencySessionResults.tsx +191 -0
- package/src/features/fluency/components/session-results/SessionStatCard.tsx +58 -0
- package/src/features/fluency/components/session-results/SkillProgressionRow.tsx +100 -0
- package/src/features/fluency/components/start-banner/BannerFlashcards.tsx +46 -0
- package/src/features/fluency/components/start-banner/MathFlashcard.tsx +67 -0
- package/src/features/fluency/components/start-banner/StartBanner.tsx +121 -0
- package/src/features/fluency/context/FluencyContext.ts +20 -0
- package/src/features/fluency/hooks/useCardSnapAnimation.ts +170 -0
- package/src/features/fluency/hooks/useFluencyCardDeckAnimation.ts +49 -0
- package/src/features/fluency/hooks/useFluencyModePreset.ts +58 -0
- package/src/features/fluency/hooks/useFluencyNumpad.tsx +141 -0
- package/src/features/fluency/hooks/useFluencySolvingPreset.ts +71 -0
- package/src/features/fluency/hooks/usePreventPageLeave.ts +11 -0
- package/src/features/fluency/hooks/usePreventWebKeys.ts +24 -0
- package/src/features/fluency/hooks/useSuccessSound.ts +20 -0
- package/src/features/fluency/index.ts +6 -0
- package/src/features/fluency/model/FluencyApiModel.ts +20 -0
- package/src/features/fluency/model/FluencyDaysStreakModel.ts +11 -0
- package/src/features/fluency/model/FluencyMatrixModel.ts +20 -0
- package/src/features/fluency/model/FluencyModel.ts +90 -0
- package/src/features/fluency/model/FluencySolvingModel.ts +183 -0
- package/src/features/fluency/shared/fluency.constants.ts +113 -0
- package/src/features/fluency/shared/fluency.helpers.ts +137 -0
- package/src/features/fluency/shared/fluency.types.ts +132 -0
- package/src/features/fluency/shared/fluencySolving.constants.ts +25 -0
- package/src/features/fluency/shared/fluencySolving.helpers.ts +102 -0
- package/src/features/fluency/shared/fluencySolving.types.ts +37 -0
- package/src/features/fluency-teacher/assets/PersonIcon.tsx +16 -0
- package/src/features/fluency-teacher/assets/SortDefaultIcon.tsx +10 -0
- package/src/features/fluency-teacher/components/FluencyTeacher.tsx +41 -0
- package/src/features/fluency-teacher/components/FluencyTeacherFooter.tsx +42 -0
- package/src/features/fluency-teacher/components/drawer/DrawerHeader.tsx +92 -0
- package/src/features/fluency-teacher/components/drawer/DrawerMasteryLegend.tsx +63 -0
- package/src/features/fluency-teacher/components/drawer/DrawerMatrixes.tsx +52 -0
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx +111 -0
- package/src/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.tsx +65 -0
- package/src/features/fluency-teacher/components/drawer/DrawerStats.tsx +52 -0
- package/src/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx +89 -0
- package/src/features/fluency-teacher/components/header/AverageTimePerStudent.tsx +122 -0
- package/src/features/fluency-teacher/components/header/FluencyTeacherHeader.tsx +33 -0
- package/src/features/fluency-teacher/components/header/HardestFact.tsx +98 -0
- package/src/features/fluency-teacher/components/header/TopHardestFacts.tsx +100 -0
- package/src/features/fluency-teacher/components/matrix/DrawerMatrix.tsx +69 -0
- package/src/features/fluency-teacher/components/matrix/MatrixCell.tsx +38 -0
- package/src/features/fluency-teacher/components/matrix/MatrixHeaderRow.tsx +37 -0
- package/src/features/fluency-teacher/components/matrix/MatrixRow.tsx +57 -0
- package/src/features/fluency-teacher/components/table/AllPupilsTableRow.tsx +103 -0
- package/src/features/fluency-teacher/components/table/AverageSortButton.tsx +76 -0
- package/src/features/fluency-teacher/components/table/FluencyTeacherFilters.tsx +29 -0
- package/src/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.tsx +159 -0
- package/src/features/fluency-teacher/components/table/OperatorBadge.tsx +29 -0
- package/src/features/fluency-teacher/components/table/TableColumnSortButton.tsx +87 -0
- package/src/features/fluency-teacher/components/table/TableRow.tsx +114 -0
- package/src/features/fluency-teacher/components/table/TableRowAverageProgress.tsx +65 -0
- package/src/features/fluency-teacher/context/TeacherFluencyContext.ts +16 -0
- package/src/features/fluency-teacher/fluencyTeacher.constants.ts +86 -0
- package/src/features/fluency-teacher/fluencyTeacher.helpers.ts +81 -0
- package/src/features/fluency-teacher/fluencyTeacher.types.ts +117 -0
- package/src/features/fluency-teacher/hooks/useDrawerGrid.ts +58 -0
- package/src/features/fluency-teacher/hooks/useDrawerMatrix.ts +44 -0
- package/src/features/fluency-teacher/index.ts +2 -0
- package/src/features/fluency-teacher/model/TeacherFluencyApiModel.ts +18 -0
- package/src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts +20 -0
- package/src/features/fluency-teacher/model/TeacherFluencyModel.ts +45 -0
- package/src/features/fluency-teacher/model/TeacherFluencyTableModel.ts +70 -0
- package/src/features/pmProgress/components/content/PmContent.tsx +0 -1
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +2 -2
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +8 -1
- package/src/features/pmProgress/components/standard/StandardTag.tsx +1 -1
- package/src/features/pmProgress/context/PmProgressContext.tsx +1 -1
- package/src/features/pmProgress/shared/pmProgress.constants.ts +0 -1
- package/src/i18n/.generated/schema.json +32 -1
- package/src/index.ts +2 -0
- package/src/lib/components/GradientView.tsx +71 -0
- package/src/lib/constants.ts +3 -2
- package/src/shared/common.constants.ts +7 -0
- package/src/types/types.d.ts +5 -0
package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","Animated","BORDER_RADIUS","COLORS","SHADOWS","GradientView","FluencyEquationCard","AttemptStatus","jsx","_jsx","jsxs","_jsxs","CARD_GRADIENT_COLORS","CORRECT","INCORRECT","hideAnswer","cardContent","answer","FluencyCardDeck","currentCardContent","exitingCardContent","exitingCardStatus","snapStyles","onAnswerChange","backingCardContent","style","styles","stack","children","card","cardFar","far","cardMid","mid","cardNear","near","readOnly","cardFront","front","cardIncorrect","cardCorrect","colors","absoluteFill","borderRadius","pointerEvents","status","undefined","create","width","maxWidth","height","backgroundColor","NEUTRAL_1","position","top","left","right","opacity","alignItems","justifyContent","borderWidth","borderColor","PRIMARY_GREEN","PRIMARY_RED"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx"],"mappings":"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","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { EquationContent } from "./EquationContent.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
const getDisplayedEquation = fact => {
|
|
7
|
+
const left = fact?.numbers[0] ?? 0;
|
|
8
|
+
const right = fact?.numbers[1] ?? 0;
|
|
9
|
+
return {
|
|
10
|
+
leftOperand: left,
|
|
11
|
+
rightOperand: right,
|
|
12
|
+
mode: fact?.mode
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export const FluencyEquationCard = ({
|
|
16
|
+
cardContent,
|
|
17
|
+
readOnly = false,
|
|
18
|
+
status,
|
|
19
|
+
onAnswerChange
|
|
20
|
+
}) => {
|
|
21
|
+
const equation = getDisplayedEquation(cardContent.fact);
|
|
22
|
+
return /*#__PURE__*/_jsx(EquationContent, {
|
|
23
|
+
leftOperand: equation.leftOperand,
|
|
24
|
+
rightOperand: equation.rightOperand,
|
|
25
|
+
mode: equation.mode,
|
|
26
|
+
value: cardContent.answer,
|
|
27
|
+
readOnly: readOnly,
|
|
28
|
+
status: status,
|
|
29
|
+
correctAnswer: cardContent.fact?.answer,
|
|
30
|
+
onChange: onAnswerChange
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=FluencyEquationCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","EquationContent","jsx","_jsx","getDisplayedEquation","fact","left","numbers","right","leftOperand","rightOperand","mode","FluencyEquationCard","cardContent","readOnly","status","onAnswerChange","equation","value","answer","correctAnswer","onChange"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,eAAe,QAAQ,sBAAmB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAiBnD,MAAMC,oBAAoB,GAAIC,IAAwB,IAAwB;EAC5E,MAAMC,IAAI,GAAGD,IAAI,EAAEE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;EAClC,MAAMC,KAAK,GAAGH,IAAI,EAAEE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC;EAEnC,OAAO;IACLE,WAAW,EAAEH,IAAI;IACjBI,YAAY,EAAEF,KAAK;IACnBG,IAAI,EAAEN,IAAI,EAAEM;EACd,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,QAAQ,GAAG,KAAK;EAChBC,MAAM;EACNC;AACwB,CAAC,KAAK;EAC9B,MAAMC,QAAQ,GAAGb,oBAAoB,CAACS,WAAW,CAACR,IAAI,CAAC;EAEvD,oBACEF,IAAA,CAACF,eAAe;IACdQ,WAAW,EAAEQ,QAAQ,CAACR,WAAY;IAClCC,YAAY,EAAEO,QAAQ,CAACP,YAAa;IACpCC,IAAI,EAAEM,QAAQ,CAACN,IAAK;IACpBO,KAAK,EAAEL,WAAW,CAACM,MAAO;IAC1BL,QAAQ,EAAEA,QAAS;IACnBC,MAAM,EAAEA,MAAO;IACfK,aAAa,EAAEP,WAAW,CAACR,IAAI,EAAEc,MAAO;IACxCE,QAAQ,EAAEL;EAAe,CAC1B,CAAC;AAEN,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { FONT_FAMILY, SelectGroup, SelectOptionColor, SelectOptionSize, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useFluencyNumpad } from "../../../hooks/useFluencyNumpad.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const FluencyNumpad = ({
|
|
9
|
+
onSubmit
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
options
|
|
13
|
+
} = useFluencyNumpad({
|
|
14
|
+
onSubmit
|
|
15
|
+
});
|
|
16
|
+
return /*#__PURE__*/_jsx(View, {
|
|
17
|
+
style: styles.container,
|
|
18
|
+
children: /*#__PURE__*/_jsx(SelectGroup, {
|
|
19
|
+
numOfRows: 4,
|
|
20
|
+
color: SelectOptionColor.GREY,
|
|
21
|
+
size: SelectOptionSize.SMALL,
|
|
22
|
+
options: options,
|
|
23
|
+
style: {
|
|
24
|
+
container: styles.grid,
|
|
25
|
+
row: styles.row,
|
|
26
|
+
option: {
|
|
27
|
+
button: styles.optionButton,
|
|
28
|
+
text: styles.optionText
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
const styles = StyleSheet.create({
|
|
35
|
+
container: {
|
|
36
|
+
alignItems: 'center',
|
|
37
|
+
paddingVertical: SPACING[400],
|
|
38
|
+
marginTop: SPACING[200]
|
|
39
|
+
},
|
|
40
|
+
grid: {
|
|
41
|
+
width: 360,
|
|
42
|
+
gap: SPACING[200]
|
|
43
|
+
},
|
|
44
|
+
row: {
|
|
45
|
+
gap: SPACING[200]
|
|
46
|
+
},
|
|
47
|
+
optionButton: {
|
|
48
|
+
height: 60
|
|
49
|
+
},
|
|
50
|
+
optionText: {
|
|
51
|
+
fontSize: 24,
|
|
52
|
+
fontWeight: '700',
|
|
53
|
+
fontFamily: FONT_FAMILY.buenosAires
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=FluencyNumpad.js.map
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencyNumpad.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","FONT_FAMILY","SelectGroup","SelectOptionColor","SelectOptionSize","SPACING","useFluencyNumpad","jsx","_jsx","FluencyNumpad","onSubmit","options","style","styles","container","children","numOfRows","color","GREY","size","SMALL","grid","row","option","button","optionButton","text","optionText","create","alignItems","paddingVertical","marginTop","width","gap","height","fontSize","fontWeight","fontFamily","buenosAires"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencyNumpad.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,WAAW,EAAEC,WAAW,EAAEC,iBAAiB,EAAEC,gBAAgB,EAAEC,OAAO,QAAQ,4BAA4B;AACnH,SAASC,gBAAgB,QAAQ,oCAAiC;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMlE,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC;AAA6B,CAAC,KAAK;EACjE,MAAM;IAAEC;EAAQ,CAAC,GAAGL,gBAAgB,CAAC;IAAEI;EAAS,CAAC,CAAC;EAElD,oBACEF,IAAA,CAACR,IAAI;IAACY,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC5BP,IAAA,CAACN,WAAW;MACVc,SAAS,EAAE,CAAE;MACbC,KAAK,EAAEd,iBAAiB,CAACe,IAAK;MAC9BC,IAAI,EAAEf,gBAAgB,CAACgB,KAAM;MAC7BT,OAAO,EAAEA,OAAQ;MACjBC,KAAK,EAAE;QACLE,SAAS,EAAED,MAAM,CAACQ,IAAI;QACtBC,GAAG,EAAET,MAAM,CAACS,GAAG;QACfC,MAAM,EAAE;UACNC,MAAM,EAAEX,MAAM,CAACY,YAAY;UAC3BC,IAAI,EAAEb,MAAM,CAACc;QACf;MACF;IAAE,CACH;EAAC,CACE,CAAC;AAEX,CAAC;AAED,MAAMd,MAAM,GAAGd,UAAU,CAAC6B,MAAM,CAAC;EAC/Bd,SAAS,EAAE;IACTe,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAEzB,OAAO,CAAC,GAAG,CAAC;IAC7B0B,SAAS,EAAE1B,OAAO,CAAC,GAAG;EACxB,CAAC;EACDgB,IAAI,EAAE;IACJW,KAAK,EAAE,GAAG;IACVC,GAAG,EAAE5B,OAAO,CAAC,GAAG;EAClB,CAAC;EACDiB,GAAG,EAAE;IACHW,GAAG,EAAE5B,OAAO,CAAC,GAAG;EAClB,CAAC;EACDoB,YAAY,EAAE;IACZS,MAAM,EAAE;EACV,CAAC;EACDP,UAAU,EAAE;IACVQ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAEpC,WAAW,CAACqC;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { useUnit } from 'effector-react/effector-react.mjs';
|
|
6
|
+
import { SPACING } from '@magmamath/react-native-ui';
|
|
7
|
+
import { FluencyNumpad } from "./FluencyNumpad.js";
|
|
8
|
+
import { FluencyCardDeck } from "./FluencyCardDeck.js";
|
|
9
|
+
import { useFluency } from "../../../context/FluencyContext.js";
|
|
10
|
+
import { useFluencyCardDeckAnimation } from "../../../hooks/useFluencyCardDeckAnimation.js";
|
|
11
|
+
import { useSuccessSound } from "../../../hooks/useSuccessSound.js";
|
|
12
|
+
import { AttemptStatus } from "../../../shared/fluency.constants.js";
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
export const FluencySolvingCard = () => {
|
|
15
|
+
const {
|
|
16
|
+
model
|
|
17
|
+
} = useFluency();
|
|
18
|
+
const {
|
|
19
|
+
currentAnswer,
|
|
20
|
+
currentFact
|
|
21
|
+
} = useUnit({
|
|
22
|
+
currentAnswer: model.solving.$answer,
|
|
23
|
+
currentFact: model.solving.$current
|
|
24
|
+
});
|
|
25
|
+
const cardDeckAnimation = useFluencyCardDeckAnimation();
|
|
26
|
+
const successSound = useSuccessSound();
|
|
27
|
+
const currentCardContent = {
|
|
28
|
+
fact: currentFact,
|
|
29
|
+
answer: currentAnswer ?? ''
|
|
30
|
+
};
|
|
31
|
+
const updateAnswer = text => {
|
|
32
|
+
const digits = text.replace(/\D/g, '');
|
|
33
|
+
model.solving.setAnswer(digits || null);
|
|
34
|
+
};
|
|
35
|
+
const submit = () => {
|
|
36
|
+
if (!currentFact) return;
|
|
37
|
+
if (currentAnswer === null) return;
|
|
38
|
+
const isCorrect = Number(currentAnswer) === currentFact.answer;
|
|
39
|
+
const direction = isCorrect ? 'right' : 'left';
|
|
40
|
+
const status = isCorrect ? AttemptStatus.CORRECT : AttemptStatus.INCORRECT;
|
|
41
|
+
if (!cardDeckAnimation.startCardExit({
|
|
42
|
+
cardContent: currentCardContent,
|
|
43
|
+
direction,
|
|
44
|
+
status
|
|
45
|
+
})) return;
|
|
46
|
+
if (isCorrect) {
|
|
47
|
+
successSound.play();
|
|
48
|
+
}
|
|
49
|
+
model.solving.submit();
|
|
50
|
+
};
|
|
51
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
52
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
53
|
+
style: styles.wrapper,
|
|
54
|
+
children: /*#__PURE__*/_jsx(FluencyCardDeck, {
|
|
55
|
+
currentCardContent: currentCardContent,
|
|
56
|
+
exitingCardContent: cardDeckAnimation.exitingCardContent,
|
|
57
|
+
exitingCardStatus: cardDeckAnimation.exitingCardStatus,
|
|
58
|
+
snapStyles: cardDeckAnimation.snapStyles,
|
|
59
|
+
onAnswerChange: updateAnswer
|
|
60
|
+
})
|
|
61
|
+
}), /*#__PURE__*/_jsx(FluencyNumpad, {
|
|
62
|
+
onSubmit: submit
|
|
63
|
+
})]
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
const styles = StyleSheet.create({
|
|
67
|
+
wrapper: {
|
|
68
|
+
alignItems: 'center',
|
|
69
|
+
paddingVertical: SPACING[400],
|
|
70
|
+
paddingHorizontal: SPACING[600],
|
|
71
|
+
marginTop: SPACING[300]
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//# sourceMappingURL=FluencySolvingCard.js.map
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingCard.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","useUnit","SPACING","FluencyNumpad","FluencyCardDeck","useFluency","useFluencyCardDeckAnimation","useSuccessSound","AttemptStatus","jsx","_jsx","jsxs","_jsxs","FluencySolvingCard","model","currentAnswer","currentFact","solving","$answer","$current","cardDeckAnimation","successSound","currentCardContent","fact","answer","updateAnswer","text","digits","replace","setAnswer","submit","isCorrect","Number","direction","status","CORRECT","INCORRECT","startCardExit","cardContent","play","children","style","styles","wrapper","exitingCardContent","exitingCardStatus","snapStyles","onAnswerChange","onSubmit","create","alignItems","paddingVertical","paddingHorizontal","marginTop"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencySolvingCard.tsx"],"mappings":"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","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, Button, ButtonColor, ButtonSize, ButtonVariant, COLORS, HeadingVariants, SHADOWS, SPACING, Typography } from '@magmamath/react-native-ui';
|
|
6
|
+
import { useFluencySolvingPreset } from "../../../hooks/useFluencySolvingPreset.js";
|
|
7
|
+
import { XCloseIcon } from "../../../../../shared/icons/XCloseIcon.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export const FluencySolvingHeader = ({
|
|
10
|
+
onClosePress
|
|
11
|
+
}) => {
|
|
12
|
+
const modePreset = useFluencySolvingPreset();
|
|
13
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
14
|
+
style: styles.container,
|
|
15
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
16
|
+
variant: ButtonVariant.SECONDARY,
|
|
17
|
+
size: ButtonSize.LARGE,
|
|
18
|
+
colorScheme: ButtonColor.WHITE,
|
|
19
|
+
icon: /*#__PURE__*/_jsx(XCloseIcon, {}),
|
|
20
|
+
onPress: onClosePress
|
|
21
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
22
|
+
style: [styles.operatorBadge, {
|
|
23
|
+
backgroundColor: modePreset.colors.accent
|
|
24
|
+
}],
|
|
25
|
+
children: /*#__PURE__*/_jsx(Typography, {
|
|
26
|
+
variant: HeadingVariants.H7,
|
|
27
|
+
style: styles.symbol,
|
|
28
|
+
children: modePreset.symbol
|
|
29
|
+
})
|
|
30
|
+
}), /*#__PURE__*/_jsx(Typography, {
|
|
31
|
+
variant: HeadingVariants.H4,
|
|
32
|
+
style: styles.title,
|
|
33
|
+
children: modePreset.label
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
const styles = StyleSheet.create({
|
|
38
|
+
container: {
|
|
39
|
+
height: 76,
|
|
40
|
+
flexDirection: 'row',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
gap: 14,
|
|
43
|
+
paddingVertical: SPACING[400],
|
|
44
|
+
paddingHorizontal: SPACING[600],
|
|
45
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
46
|
+
...SHADOWS[1]
|
|
47
|
+
},
|
|
48
|
+
operatorBadge: {
|
|
49
|
+
width: 32,
|
|
50
|
+
height: 32,
|
|
51
|
+
borderRadius: BORDER_RADIUS[200],
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
justifyContent: 'center',
|
|
54
|
+
...SHADOWS[1]
|
|
55
|
+
},
|
|
56
|
+
title: {
|
|
57
|
+
color: COLORS.NEUTRAL_10,
|
|
58
|
+
fontWeight: '700'
|
|
59
|
+
},
|
|
60
|
+
symbol: {
|
|
61
|
+
fontSize: 32,
|
|
62
|
+
fontWeight: '100',
|
|
63
|
+
marginBottom: 2,
|
|
64
|
+
color: COLORS.NEUTRAL_1
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=FluencySolvingHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","BORDER_RADIUS","Button","ButtonColor","ButtonSize","ButtonVariant","COLORS","HeadingVariants","SHADOWS","SPACING","Typography","useFluencySolvingPreset","XCloseIcon","jsx","_jsx","jsxs","_jsxs","FluencySolvingHeader","onClosePress","modePreset","style","styles","container","children","variant","SECONDARY","size","LARGE","colorScheme","WHITE","icon","onPress","operatorBadge","backgroundColor","colors","accent","H7","symbol","H4","title","label","create","height","flexDirection","alignItems","gap","paddingVertical","paddingHorizontal","NEUTRAL_1","width","borderRadius","justifyContent","color","NEUTRAL_10","fontWeight","fontSize","marginBottom"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencySolvingHeader.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SACEC,aAAa,EACbC,MAAM,EACNC,WAAW,EACXC,UAAU,EACVC,aAAa,EACbC,MAAM,EACNC,eAAe,EACfC,OAAO,EACPC,OAAO,EACPC,UAAU,QACL,4BAA4B;AACnC,SAASC,uBAAuB,QAAQ,2CAAwC;AAChF,SAASC,UAAU,QAAQ,2CAAwC;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMnE,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EAAEC;AAAwC,CAAC,KAAK;EACnF,MAAMC,UAAU,GAAGR,uBAAuB,CAAC,CAAC;EAE5C,oBACEK,KAAA,CAACjB,IAAI;IAACqB,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBAC5BT,IAAA,CAACZ,MAAM;MACLsB,OAAO,EAAEnB,aAAa,CAACoB,SAAU;MACjCC,IAAI,EAAEtB,UAAU,CAACuB,KAAM;MACvBC,WAAW,EAAEzB,WAAW,CAAC0B,KAAM;MAC/BC,IAAI,eAAEhB,IAAA,CAACF,UAAU,IAAE,CAAE;MACrBmB,OAAO,EAAEb;IAAa,CACvB,CAAC,eACFJ,IAAA,CAACf,IAAI;MAACqB,KAAK,EAAE,CAACC,MAAM,CAACW,aAAa,EAAE;QAAEC,eAAe,EAAEd,UAAU,CAACe,MAAM,CAACC;MAAO,CAAC,CAAE;MAAAZ,QAAA,eACjFT,IAAA,CAACJ,UAAU;QAACc,OAAO,EAAEjB,eAAe,CAAC6B,EAAG;QAAChB,KAAK,EAAEC,MAAM,CAACgB,MAAO;QAAAd,QAAA,EAC3DJ,UAAU,CAACkB;MAAM,CACR;IAAC,CACT,CAAC,eACPvB,IAAA,CAACJ,UAAU;MAACc,OAAO,EAAEjB,eAAe,CAAC+B,EAAG;MAAClB,KAAK,EAAEC,MAAM,CAACkB,KAAM;MAAAhB,QAAA,EAC1DJ,UAAU,CAACqB;IAAK,CACP,CAAC;EAAA,CACT,CAAC;AAEX,CAAC;AAED,MAAMnB,MAAM,GAAGrB,UAAU,CAACyC,MAAM,CAAC;EAC/BnB,SAAS,EAAE;IACToB,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE,EAAE;IACPC,eAAe,EAAErC,OAAO,CAAC,GAAG,CAAC;IAC7BsC,iBAAiB,EAAEtC,OAAO,CAAC,GAAG,CAAC;IAC/BwB,eAAe,EAAE3B,MAAM,CAAC0C,SAAS;IACjC,GAAGxC,OAAO,CAAC,CAAC;EACd,CAAC;EACDwB,aAAa,EAAE;IACbiB,KAAK,EAAE,EAAE;IACTP,MAAM,EAAE,EAAE;IACVQ,YAAY,EAAEjD,aAAa,CAAC,GAAG,CAAC;IAChC2C,UAAU,EAAE,QAAQ;IACpBO,cAAc,EAAE,QAAQ;IACxB,GAAG3C,OAAO,CAAC,CAAC;EACd,CAAC;EACD+B,KAAK,EAAE;IACLa,KAAK,EAAE9C,MAAM,CAAC+C,UAAU;IACxBC,UAAU,EAAE;EACd,CAAC;EACDjB,MAAM,EAAE;IACNkB,QAAQ,EAAE,EAAE;IACZD,UAAU,EAAE,KAAK;IACjBE,YAAY,EAAE,CAAC;IACfJ,KAAK,EAAE9C,MAAM,CAAC0C;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { COLORS, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { AttemptStatus, SESSION_LENGTH } from "../../../shared/fluency.constants.js";
|
|
7
|
+
import { FluencySolvingProgressDot } from "./FluencySolvingProgressDot.js";
|
|
8
|
+
import { useFluency } from "../../../context/FluencyContext.js";
|
|
9
|
+
import { useUnit } from 'effector-react';
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
const GROUP_SIZE = 5;
|
|
12
|
+
const ProgressDot = ({
|
|
13
|
+
index,
|
|
14
|
+
activeIndex,
|
|
15
|
+
outcome
|
|
16
|
+
}) => {
|
|
17
|
+
if (index === activeIndex) return /*#__PURE__*/_jsx(FluencySolvingProgressDot, {});
|
|
18
|
+
if (index < activeIndex && outcome) return /*#__PURE__*/_jsx(View, {
|
|
19
|
+
style: DOT_STYLE_BY_OUTCOME[outcome.status]
|
|
20
|
+
});
|
|
21
|
+
return /*#__PURE__*/_jsx(View, {
|
|
22
|
+
style: styles.dot
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
export const FluencySolvingProgress = () => {
|
|
26
|
+
const {
|
|
27
|
+
model
|
|
28
|
+
} = useFluency();
|
|
29
|
+
const outcomes = useUnit(model.solving.$outcomes);
|
|
30
|
+
return /*#__PURE__*/_jsx(View, {
|
|
31
|
+
style: styles.container,
|
|
32
|
+
children: Array.from({
|
|
33
|
+
length: SESSION_LENGTH / GROUP_SIZE
|
|
34
|
+
}, (_, groupIndex) => /*#__PURE__*/_jsx(View, {
|
|
35
|
+
style: styles.group,
|
|
36
|
+
children: Array.from({
|
|
37
|
+
length: GROUP_SIZE
|
|
38
|
+
}, (_, dotIndex) => {
|
|
39
|
+
const index = groupIndex * GROUP_SIZE + dotIndex;
|
|
40
|
+
return /*#__PURE__*/_jsx(ProgressDot, {
|
|
41
|
+
index: index,
|
|
42
|
+
activeIndex: outcomes.length,
|
|
43
|
+
outcome: outcomes[index]
|
|
44
|
+
}, index);
|
|
45
|
+
})
|
|
46
|
+
}, groupIndex))
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
const styles = StyleSheet.create({
|
|
50
|
+
container: {
|
|
51
|
+
flexDirection: 'row',
|
|
52
|
+
gap: SPACING[500],
|
|
53
|
+
paddingHorizontal: SPACING[600],
|
|
54
|
+
paddingVertical: 14,
|
|
55
|
+
justifyContent: 'center',
|
|
56
|
+
alignItems: 'center'
|
|
57
|
+
},
|
|
58
|
+
group: {
|
|
59
|
+
flexDirection: 'row',
|
|
60
|
+
gap: 8,
|
|
61
|
+
alignItems: 'center'
|
|
62
|
+
},
|
|
63
|
+
dot: {
|
|
64
|
+
width: 10,
|
|
65
|
+
height: 10,
|
|
66
|
+
borderRadius: 5,
|
|
67
|
+
backgroundColor: COLORS.NEUTRAL_4
|
|
68
|
+
},
|
|
69
|
+
dotCorrect: {
|
|
70
|
+
width: 10,
|
|
71
|
+
height: 10,
|
|
72
|
+
borderRadius: 5,
|
|
73
|
+
backgroundColor: COLORS.PRIMARY_GREEN
|
|
74
|
+
},
|
|
75
|
+
dotWrong: {
|
|
76
|
+
width: 10,
|
|
77
|
+
height: 10,
|
|
78
|
+
borderRadius: 5,
|
|
79
|
+
backgroundColor: COLORS.PRIMARY_RED
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
const DOT_STYLE_BY_OUTCOME = {
|
|
83
|
+
[AttemptStatus.CORRECT]: styles.dotCorrect,
|
|
84
|
+
[AttemptStatus.INCORRECT]: styles.dotWrong,
|
|
85
|
+
[AttemptStatus.SKIPPED]: styles.dot
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=FluencySolvingProgress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","COLORS","SPACING","AttemptStatus","SESSION_LENGTH","FluencySolvingProgressDot","useFluency","useUnit","jsx","_jsx","GROUP_SIZE","ProgressDot","index","activeIndex","outcome","style","DOT_STYLE_BY_OUTCOME","status","styles","dot","FluencySolvingProgress","model","outcomes","solving","$outcomes","container","children","Array","from","length","_","groupIndex","group","dotIndex","create","flexDirection","gap","paddingHorizontal","paddingVertical","justifyContent","alignItems","width","height","borderRadius","backgroundColor","NEUTRAL_4","dotCorrect","PRIMARY_GREEN","dotWrong","PRIMARY_RED","CORRECT","INCORRECT","SKIPPED"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencySolvingProgress.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect } from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import Animated, { cancelAnimation, Easing, interpolate, useAnimatedStyle, useSharedValue, withRepeat, withSequence, withTiming } from 'react-native-reanimated';
|
|
6
|
+
import { COLORS } from '@magmamath/react-native-ui';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
const DOT_SIZE = 16;
|
|
9
|
+
const RING_SPREAD_MIN = 4;
|
|
10
|
+
const RING_SPREAD_MAX = 8;
|
|
11
|
+
const RING_SIZE = DOT_SIZE + RING_SPREAD_MAX * 2;
|
|
12
|
+
const RING_SCALE_MIN = (DOT_SIZE + RING_SPREAD_MIN * 2) / RING_SIZE;
|
|
13
|
+
const RING_OPACITY_MIN = 0.06;
|
|
14
|
+
const RING_OPACITY_MAX = 0.12;
|
|
15
|
+
const PULSE_DURATION_MS = 800;
|
|
16
|
+
export const FluencySolvingProgressDot = () => {
|
|
17
|
+
const progress = useSharedValue(0);
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
progress.value = withRepeat(withSequence(withTiming(1, {
|
|
20
|
+
duration: PULSE_DURATION_MS,
|
|
21
|
+
easing: Easing.inOut(Easing.ease)
|
|
22
|
+
}), withTiming(0, {
|
|
23
|
+
duration: PULSE_DURATION_MS,
|
|
24
|
+
easing: Easing.inOut(Easing.ease)
|
|
25
|
+
})), -1, false);
|
|
26
|
+
return () => cancelAnimation(progress);
|
|
27
|
+
}, [progress]);
|
|
28
|
+
const ringStyle = useAnimatedStyle(() => {
|
|
29
|
+
const scale = interpolate(progress.value, [0, 1], [RING_SCALE_MIN, 1]);
|
|
30
|
+
const opacity = interpolate(progress.value, [0, 1], [RING_OPACITY_MAX, RING_OPACITY_MIN]);
|
|
31
|
+
return {
|
|
32
|
+
opacity,
|
|
33
|
+
transform: [{
|
|
34
|
+
scale
|
|
35
|
+
}]
|
|
36
|
+
};
|
|
37
|
+
}, [progress]);
|
|
38
|
+
return /*#__PURE__*/_jsx(View, {
|
|
39
|
+
style: styles.dot,
|
|
40
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
41
|
+
style: [styles.ring, ringStyle]
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
const styles = StyleSheet.create({
|
|
46
|
+
dot: {
|
|
47
|
+
width: DOT_SIZE,
|
|
48
|
+
height: DOT_SIZE,
|
|
49
|
+
borderRadius: DOT_SIZE / 2,
|
|
50
|
+
backgroundColor: COLORS.NEUTRAL_10
|
|
51
|
+
},
|
|
52
|
+
ring: {
|
|
53
|
+
position: 'absolute',
|
|
54
|
+
top: -RING_SPREAD_MAX,
|
|
55
|
+
left: -RING_SPREAD_MAX,
|
|
56
|
+
width: RING_SIZE,
|
|
57
|
+
height: RING_SIZE,
|
|
58
|
+
borderRadius: RING_SIZE / 2,
|
|
59
|
+
backgroundColor: COLORS.NEUTRAL_10
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=FluencySolvingProgressDot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","View","StyleSheet","Animated","cancelAnimation","Easing","interpolate","useAnimatedStyle","useSharedValue","withRepeat","withSequence","withTiming","COLORS","jsx","_jsx","DOT_SIZE","RING_SPREAD_MIN","RING_SPREAD_MAX","RING_SIZE","RING_SCALE_MIN","RING_OPACITY_MIN","RING_OPACITY_MAX","PULSE_DURATION_MS","FluencySolvingProgressDot","progress","value","duration","easing","inOut","ease","ringStyle","scale","opacity","transform","style","styles","dot","children","ring","create","width","height","borderRadius","backgroundColor","NEUTRAL_10","position","top","left"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/fluency-solving/components/FluencySolvingProgressDot.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,OAAOC,QAAQ,IACbC,eAAe,EACfC,MAAM,EACNC,WAAW,EACXC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,EACVC,YAAY,EACZC,UAAU,QACL,yBAAyB;AAChC,SAASC,MAAM,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAEnD,MAAMC,QAAQ,GAAG,EAAE;AACnB,MAAMC,eAAe,GAAG,CAAC;AACzB,MAAMC,eAAe,GAAG,CAAC;AACzB,MAAMC,SAAS,GAAGH,QAAQ,GAAGE,eAAe,GAAG,CAAC;AAChD,MAAME,cAAc,GAAG,CAACJ,QAAQ,GAAGC,eAAe,GAAG,CAAC,IAAIE,SAAS;AACnE,MAAME,gBAAgB,GAAG,IAAI;AAC7B,MAAMC,gBAAgB,GAAG,IAAI;AAC7B,MAAMC,iBAAiB,GAAG,GAAG;AAE7B,OAAO,MAAMC,yBAAyB,GAAGA,CAAA,KAAM;EAC7C,MAAMC,QAAQ,GAAGhB,cAAc,CAAC,CAAC,CAAC;EAElCR,SAAS,CAAC,MAAM;IACdwB,QAAQ,CAACC,KAAK,GAAGhB,UAAU,CACzBC,YAAY,CACVC,UAAU,CAAC,CAAC,EAAE;MAAEe,QAAQ,EAAEJ,iBAAiB;MAAEK,MAAM,EAAEtB,MAAM,CAACuB,KAAK,CAACvB,MAAM,CAACwB,IAAI;IAAE,CAAC,CAAC,EACjFlB,UAAU,CAAC,CAAC,EAAE;MAAEe,QAAQ,EAAEJ,iBAAiB;MAAEK,MAAM,EAAEtB,MAAM,CAACuB,KAAK,CAACvB,MAAM,CAACwB,IAAI;IAAE,CAAC,CAClF,CAAC,EACD,CAAC,CAAC,EACF,KACF,CAAC;IACD,OAAO,MAAMzB,eAAe,CAACoB,QAAQ,CAAC;EACxC,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAEd,MAAMM,SAAS,GAAGvB,gBAAgB,CAAC,MAAM;IACvC,MAAMwB,KAAK,GAAGzB,WAAW,CAACkB,QAAQ,CAACC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAACN,cAAc,EAAE,CAAC,CAAC,CAAC;IACtE,MAAMa,OAAO,GAAG1B,WAAW,CAACkB,QAAQ,CAACC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAACJ,gBAAgB,EAAED,gBAAgB,CAAC,CAAC;IACzF,OAAO;MACLY,OAAO;MACPC,SAAS,EAAE,CAAC;QAAEF;MAAM,CAAC;IACvB,CAAC;EACH,CAAC,EAAE,CAACP,QAAQ,CAAC,CAAC;EAEd,oBACEV,IAAA,CAACb,IAAI;IAACiC,KAAK,EAAEC,MAAM,CAACC,GAAI;IAAAC,QAAA,eACtBvB,IAAA,CAACX,QAAQ,CAACF,IAAI;MAACiC,KAAK,EAAE,CAACC,MAAM,CAACG,IAAI,EAAER,SAAS;IAAE,CAAE;EAAC,CAC9C,CAAC;AAEX,CAAC;AAED,MAAMK,MAAM,GAAGjC,UAAU,CAACqC,MAAM,CAAC;EAC/BH,GAAG,EAAE;IACHI,KAAK,EAAEzB,QAAQ;IACf0B,MAAM,EAAE1B,QAAQ;IAChB2B,YAAY,EAAE3B,QAAQ,GAAG,CAAC;IAC1B4B,eAAe,EAAE/B,MAAM,CAACgC;EAC1B,CAAC;EACDN,IAAI,EAAE;IACJO,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC7B,eAAe;IACrB8B,IAAI,EAAE,CAAC9B,eAAe;IACtBuB,KAAK,EAAEtB,SAAS;IAChBuB,MAAM,EAAEvB,SAAS;IACjBwB,YAAY,EAAExB,SAAS,GAAG,CAAC;IAC3ByB,eAAe,EAAE/B,MAAM,CAACgC;EAC1B;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, COLORS, SHADOWS, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { MatrixLegend } from "./components/MatrixLegend.js";
|
|
7
|
+
import { MatrixFill } from "./components/MatrixFill.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export const FluencyMatrix = () => /*#__PURE__*/_jsxs(View, {
|
|
10
|
+
style: styles.container,
|
|
11
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
12
|
+
style: styles.matrixFillContainer,
|
|
13
|
+
children: /*#__PURE__*/_jsx(MatrixFill, {})
|
|
14
|
+
}), /*#__PURE__*/_jsx(MatrixLegend, {})]
|
|
15
|
+
});
|
|
16
|
+
const styles = StyleSheet.create({
|
|
17
|
+
container: {
|
|
18
|
+
flex: 1,
|
|
19
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
20
|
+
borderRadius: BORDER_RADIUS[400],
|
|
21
|
+
overflow: 'hidden',
|
|
22
|
+
...SHADOWS[1]
|
|
23
|
+
},
|
|
24
|
+
matrixFillContainer: {
|
|
25
|
+
flex: 1,
|
|
26
|
+
padding: SPACING[300]
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=FluencyMatrix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","BORDER_RADIUS","COLORS","SHADOWS","SPACING","MatrixLegend","MatrixFill","jsx","_jsx","jsxs","_jsxs","FluencyMatrix","style","styles","container","children","matrixFillContainer","create","flex","backgroundColor","NEUTRAL_1","borderRadius","overflow","padding"],"sourceRoot":"../../../../../../src","sources":["features/fluency/components/matrix/FluencyMatrix.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,aAAa,EAAEC,MAAM,EAAEC,OAAO,EAAEC,OAAO,QAAQ,4BAA4B;AACpF,SAASC,YAAY,QAAQ,8BAA2B;AACxD,SAASC,UAAU,QAAQ,4BAAyB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEpD,OAAO,MAAMC,aAAa,GAAGA,CAAA,kBAC3BD,KAAA,CAACX,IAAI;EAACa,KAAK,EAAEC,MAAM,CAACC,SAAU;EAAAC,QAAA,gBAC5BP,IAAA,CAACT,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACG,mBAAoB;IAAAD,QAAA,eACtCP,IAAA,CAACF,UAAU,IAAE;EAAC,CACV,CAAC,eAEPE,IAAA,CAACH,YAAY,IAAE,CAAC;AAAA,CACZ,CACP;AAED,MAAMQ,MAAM,GAAGb,UAAU,CAACiB,MAAM,CAAC;EAC/BH,SAAS,EAAE;IACTI,IAAI,EAAE,CAAC;IACPC,eAAe,EAAEjB,MAAM,CAACkB,SAAS;IACjCC,YAAY,EAAEpB,aAAa,CAAC,GAAG,CAAC;IAChCqB,QAAQ,EAAE,QAAQ;IAClB,GAAGnB,OAAO,CAAC,CAAC;EACd,CAAC;EACDa,mBAAmB,EAAE;IACnBE,IAAI,EAAE,CAAC;IACPK,OAAO,EAAEnB,OAAO,CAAC,GAAG;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Text, StyleSheet } from 'react-native';
|
|
5
|
+
import { BORDER_RADIUS, COLORS, SHADOWS, SPACING } from '@magmamath/react-native-ui';
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
export const CellTooltip = ({
|
|
8
|
+
label
|
|
9
|
+
}) => /*#__PURE__*/_jsxs(View, {
|
|
10
|
+
style: styles.container,
|
|
11
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
12
|
+
style: styles.bubble,
|
|
13
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
14
|
+
style: styles.label,
|
|
15
|
+
children: label
|
|
16
|
+
})
|
|
17
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
18
|
+
style: styles.arrow
|
|
19
|
+
})]
|
|
20
|
+
});
|
|
21
|
+
const styles = StyleSheet.create({
|
|
22
|
+
container: {
|
|
23
|
+
alignItems: 'center'
|
|
24
|
+
},
|
|
25
|
+
bubble: {
|
|
26
|
+
backgroundColor: COLORS.NEUTRAL_1,
|
|
27
|
+
borderRadius: BORDER_RADIUS[150],
|
|
28
|
+
paddingHorizontal: SPACING[200],
|
|
29
|
+
paddingVertical: SPACING[100],
|
|
30
|
+
...SHADOWS[4]
|
|
31
|
+
},
|
|
32
|
+
label: {
|
|
33
|
+
fontSize: 13,
|
|
34
|
+
color: COLORS.NEUTRAL_9,
|
|
35
|
+
textAlign: 'center'
|
|
36
|
+
},
|
|
37
|
+
arrow: {
|
|
38
|
+
width: 0,
|
|
39
|
+
height: 0,
|
|
40
|
+
marginTop: -4,
|
|
41
|
+
borderLeftWidth: 9,
|
|
42
|
+
borderRightWidth: 9,
|
|
43
|
+
borderTopWidth: 12,
|
|
44
|
+
borderStyle: 'solid',
|
|
45
|
+
borderLeftColor: 'transparent',
|
|
46
|
+
borderRightColor: 'transparent',
|
|
47
|
+
borderTopColor: COLORS.NEUTRAL_1
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=CellTooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","StyleSheet","BORDER_RADIUS","COLORS","SHADOWS","SPACING","jsx","_jsx","jsxs","_jsxs","CellTooltip","label","style","styles","container","children","bubble","arrow","create","alignItems","backgroundColor","NEUTRAL_1","borderRadius","paddingHorizontal","paddingVertical","fontSize","color","NEUTRAL_9","textAlign","width","height","marginTop","borderLeftWidth","borderRightWidth","borderTopWidth","borderStyle","borderLeftColor","borderRightColor","borderTopColor"],"sourceRoot":"../../../../../../../src","sources":["features/fluency/components/matrix/components/CellTooltip.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AACrD,SAASC,aAAa,EAAEC,MAAM,EAAEC,OAAO,EAAEC,OAAO,QAAQ,4BAA4B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMpF,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC;AAAwB,CAAC,kBACrDF,KAAA,CAACV,IAAI;EAACa,KAAK,EAAEC,MAAM,CAACC,SAAU;EAAAC,QAAA,gBAC5BR,IAAA,CAACR,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACG,MAAO;IAAAD,QAAA,eACzBR,IAAA,CAACP,IAAI;MAACY,KAAK,EAAEC,MAAM,CAACF,KAAM;MAAAI,QAAA,EAAEJ;IAAK,CAAO;EAAC,CACrC,CAAC,eACPJ,IAAA,CAACR,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACI;EAAM,CAAE,CAAC;AAAA,CACzB,CACP;AAED,MAAMJ,MAAM,GAAGZ,UAAU,CAACiB,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,UAAU,EAAE;EACd,CAAC;EACDH,MAAM,EAAE;IACNI,eAAe,EAAEjB,MAAM,CAACkB,SAAS;IACjCC,YAAY,EAAEpB,aAAa,CAAC,GAAG,CAAC;IAChCqB,iBAAiB,EAAElB,OAAO,CAAC,GAAG,CAAC;IAC/BmB,eAAe,EAAEnB,OAAO,CAAC,GAAG,CAAC;IAC7B,GAAGD,OAAO,CAAC,CAAC;EACd,CAAC;EACDO,KAAK,EAAE;IACLc,QAAQ,EAAE,EAAE;IACZC,KAAK,EAAEvB,MAAM,CAACwB,SAAS;IACvBC,SAAS,EAAE;EACb,CAAC;EACDX,KAAK,EAAE;IACLY,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,SAAS,EAAE,CAAC,CAAC;IACbC,eAAe,EAAE,CAAC;IAClBC,gBAAgB,EAAE,CAAC;IACnBC,cAAc,EAAE,EAAE;IAClBC,WAAW,EAAE,OAAO;IACpBC,eAAe,EAAE,aAAa;IAC9BC,gBAAgB,EAAE,aAAa;IAC/BC,cAAc,EAAEnC,MAAM,CAACkB;EACzB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
import { Pressable, View, Text, StyleSheet } from 'react-native';
|
|
5
|
+
import Animated, { FadeIn, FadeOut } from 'react-native-reanimated';
|
|
6
|
+
import { BORDER_RADIUS, COLORS, FONT_FAMILY, SPACING } from '@magmamath/react-native-ui';
|
|
7
|
+
import { FluencyMasteryLevel } from "../../../shared/fluency.constants.js";
|
|
8
|
+
import { StarFillIcon } from "../../../assets/StarFillIcon.js";
|
|
9
|
+
import { CellTooltip } from "./CellTooltip.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const MatrixCell = ({
|
|
12
|
+
label,
|
|
13
|
+
box,
|
|
14
|
+
isHeader,
|
|
15
|
+
isEmpty,
|
|
16
|
+
levelColors,
|
|
17
|
+
tooltipLabel
|
|
18
|
+
}) => {
|
|
19
|
+
const [isActive, setIsActive] = useState(false);
|
|
20
|
+
const masteryLevel = box || null;
|
|
21
|
+
const isMastered = masteryLevel === FluencyMasteryLevel.MASTERED;
|
|
22
|
+
const bgColor = (() => {
|
|
23
|
+
if (masteryLevel) return levelColors[masteryLevel];
|
|
24
|
+
if (isHeader) return COLORS.NEUTRAL_5;
|
|
25
|
+
return COLORS.NEUTRAL_2;
|
|
26
|
+
})();
|
|
27
|
+
const showTooltip = isActive && !!tooltipLabel;
|
|
28
|
+
const activate = () => setIsActive(true);
|
|
29
|
+
const deactivate = () => setIsActive(false);
|
|
30
|
+
if (isEmpty) {
|
|
31
|
+
return /*#__PURE__*/_jsx(View, {
|
|
32
|
+
style: styles.wrapper,
|
|
33
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
34
|
+
style: [styles.cell, styles.emptyCell],
|
|
35
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
36
|
+
style: styles.emptyCellText,
|
|
37
|
+
children: "\u2212"
|
|
38
|
+
})
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
43
|
+
style: [styles.wrapper, showTooltip && styles.wrapperActive],
|
|
44
|
+
children: [showTooltip && /*#__PURE__*/_jsx(Animated.View, {
|
|
45
|
+
entering: FadeIn.duration(200),
|
|
46
|
+
exiting: FadeOut.duration(200),
|
|
47
|
+
style: [styles.tooltipContainer, {
|
|
48
|
+
pointerEvents: 'none'
|
|
49
|
+
}],
|
|
50
|
+
children: /*#__PURE__*/_jsx(CellTooltip, {
|
|
51
|
+
label: tooltipLabel
|
|
52
|
+
})
|
|
53
|
+
}), /*#__PURE__*/_jsxs(Pressable, {
|
|
54
|
+
style: [styles.cell, {
|
|
55
|
+
backgroundColor: bgColor
|
|
56
|
+
}],
|
|
57
|
+
onHoverIn: activate,
|
|
58
|
+
onHoverOut: deactivate,
|
|
59
|
+
onPressIn: activate,
|
|
60
|
+
onPressOut: deactivate,
|
|
61
|
+
children: [isMastered && /*#__PURE__*/_jsx(StarFillIcon, {
|
|
62
|
+
color: isActive ? COLORS.PRIMARY_YELLOW : undefined
|
|
63
|
+
}), label !== null && /*#__PURE__*/_jsx(Text, {
|
|
64
|
+
style: typeof label === 'string' ? styles.symbolText : styles.headerText,
|
|
65
|
+
children: label
|
|
66
|
+
})]
|
|
67
|
+
})]
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
const styles = StyleSheet.create({
|
|
71
|
+
wrapper: {
|
|
72
|
+
flex: 1
|
|
73
|
+
},
|
|
74
|
+
wrapperActive: {
|
|
75
|
+
zIndex: 1
|
|
76
|
+
},
|
|
77
|
+
cell: {
|
|
78
|
+
flex: 1,
|
|
79
|
+
borderRadius: BORDER_RADIUS[100],
|
|
80
|
+
alignItems: 'center',
|
|
81
|
+
justifyContent: 'center'
|
|
82
|
+
},
|
|
83
|
+
tooltipContainer: {
|
|
84
|
+
position: 'absolute',
|
|
85
|
+
bottom: '80%',
|
|
86
|
+
left: 0,
|
|
87
|
+
right: 0,
|
|
88
|
+
alignItems: 'center',
|
|
89
|
+
paddingBottom: SPACING[50],
|
|
90
|
+
zIndex: 1
|
|
91
|
+
},
|
|
92
|
+
emptyCell: {
|
|
93
|
+
backgroundColor: COLORS.NEUTRAL_2
|
|
94
|
+
},
|
|
95
|
+
emptyCellText: {
|
|
96
|
+
fontSize: 12,
|
|
97
|
+
color: COLORS.NEUTRAL_5,
|
|
98
|
+
fontFamily: FONT_FAMILY.buenosAires
|
|
99
|
+
},
|
|
100
|
+
headerText: {
|
|
101
|
+
fontSize: 12,
|
|
102
|
+
fontWeight: '600',
|
|
103
|
+
color: COLORS.NEUTRAL_2,
|
|
104
|
+
fontFamily: FONT_FAMILY.buenosAires
|
|
105
|
+
},
|
|
106
|
+
symbolText: {
|
|
107
|
+
fontSize: 24,
|
|
108
|
+
color: COLORS.NEUTRAL_7
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
//# sourceMappingURL=MatrixCell.js.map
|