@magmamath/students-features 1.8.0-rc.0-fluency-visuals → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/dist/commonjs/features/fluency/components/FluencySolving.js +2 -2
  2. package/dist/commonjs/features/fluency/components/FluencySolving.js.map +1 -1
  3. package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js +8 -9
  4. package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -1
  5. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +1 -3
  6. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -1
  7. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +10 -63
  8. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -1
  9. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js +0 -10
  10. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -1
  11. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +2 -0
  12. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -1
  13. package/dist/commonjs/features/fluency/index.js +0 -20
  14. package/dist/commonjs/features/fluency/index.js.map +1 -1
  15. package/dist/commonjs/features/fluency-teacher/assets/{SortDefaultIcon.js → DivisionIcon.js} +11 -8
  16. package/dist/commonjs/features/fluency-teacher/assets/DivisionIcon.js.map +1 -0
  17. package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js +4 -3
  18. package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js.map +1 -1
  19. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js +48 -43
  20. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -1
  21. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js +11 -28
  22. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -1
  23. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +27 -44
  24. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -1
  25. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +47 -40
  26. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -1
  27. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js +14 -24
  28. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -1
  29. package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +6 -6
  30. package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -1
  31. package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -1
  32. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js +2 -16
  33. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -1
  34. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.js +83 -0
  35. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.js.map +1 -0
  36. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js +1 -2
  37. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -1
  38. package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js +15 -41
  39. package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -1
  40. package/dist/commonjs/features/fluency-teacher/components/table/AverageCell.js +55 -0
  41. package/dist/commonjs/features/fluency-teacher/components/table/AverageCell.js.map +1 -0
  42. package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js +6 -62
  43. package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -1
  44. package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +42 -40
  45. package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -1
  46. package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js +25 -16
  47. package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -1
  48. package/dist/commonjs/features/fluency-teacher/components/table/SortOrderCarets.js +40 -0
  49. package/dist/commonjs/features/fluency-teacher/components/table/SortOrderCarets.js.map +1 -0
  50. package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js +30 -40
  51. package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -1
  52. package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js +59 -72
  53. package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js.map +1 -1
  54. package/dist/commonjs/features/fluency-teacher/components/table/tableCell.styles.js +45 -0
  55. package/dist/commonjs/features/fluency-teacher/components/table/tableCell.styles.js.map +1 -0
  56. package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -1
  57. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js +103 -38
  58. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -1
  59. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js +52 -10
  60. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -1
  61. package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js +3 -2
  62. package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -1
  63. package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -1
  64. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +2 -1
  65. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -1
  66. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js +9 -0
  67. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -1
  68. package/dist/module/features/fluency/components/FluencySolving.js +2 -2
  69. package/dist/module/features/fluency/components/FluencySolving.js.map +1 -1
  70. package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js +8 -9
  71. package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -1
  72. package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +1 -3
  73. package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -1
  74. package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +11 -64
  75. package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -1
  76. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js +0 -10
  77. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -1
  78. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +2 -0
  79. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -1
  80. package/dist/module/features/fluency/index.js +0 -2
  81. package/dist/module/features/fluency/index.js.map +1 -1
  82. package/dist/module/features/fluency-teacher/assets/DivisionIcon.js +26 -0
  83. package/dist/module/features/fluency-teacher/assets/DivisionIcon.js.map +1 -0
  84. package/dist/module/features/fluency-teacher/components/FluencyTeacher.js +4 -3
  85. package/dist/module/features/fluency-teacher/components/FluencyTeacher.js.map +1 -1
  86. package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js +49 -44
  87. package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -1
  88. package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js +14 -31
  89. package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -1
  90. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +28 -45
  91. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -1
  92. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +48 -41
  93. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -1
  94. package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js +17 -27
  95. package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -1
  96. package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +6 -6
  97. package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -1
  98. package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -1
  99. package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js +3 -17
  100. package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -1
  101. package/dist/module/features/fluency-teacher/components/matrix/MatrixLegend.js +77 -0
  102. package/dist/module/features/fluency-teacher/components/matrix/MatrixLegend.js.map +1 -0
  103. package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js +1 -2
  104. package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -1
  105. package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js +16 -42
  106. package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -1
  107. package/dist/module/features/fluency-teacher/components/table/AverageCell.js +49 -0
  108. package/dist/module/features/fluency-teacher/components/table/AverageCell.js.map +1 -0
  109. package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js +7 -63
  110. package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -1
  111. package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +44 -42
  112. package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -1
  113. package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js +25 -16
  114. package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -1
  115. package/dist/module/features/fluency-teacher/components/table/SortOrderCarets.js +34 -0
  116. package/dist/module/features/fluency-teacher/components/table/SortOrderCarets.js.map +1 -0
  117. package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js +32 -42
  118. package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -1
  119. package/dist/module/features/fluency-teacher/components/table/TableRow.js +62 -75
  120. package/dist/module/features/fluency-teacher/components/table/TableRow.js.map +1 -1
  121. package/dist/module/features/fluency-teacher/components/table/tableCell.styles.js +42 -0
  122. package/dist/module/features/fluency-teacher/components/table/tableCell.styles.js.map +1 -0
  123. package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -1
  124. package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js +102 -37
  125. package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -1
  126. package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js +43 -8
  127. package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -1
  128. package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js +3 -2
  129. package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -1
  130. package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -1
  131. package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +2 -1
  132. package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -1
  133. package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js +9 -0
  134. package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -1
  135. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -1
  136. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -1
  137. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +1 -2
  138. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -1
  139. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -1
  140. package/dist/typescript/commonjs/features/fluency/index.d.ts +0 -2
  141. package/dist/typescript/commonjs/features/fluency/index.d.ts.map +1 -1
  142. package/dist/typescript/commonjs/features/fluency-teacher/assets/DivisionIcon.d.ts +4 -0
  143. package/dist/typescript/commonjs/features/fluency-teacher/assets/DivisionIcon.d.ts.map +1 -0
  144. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -1
  145. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -1
  146. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +1 -4
  147. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -1
  148. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +6 -4
  149. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -1
  150. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -1
  151. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -1
  152. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +3 -2
  153. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -1
  154. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts +6 -5
  155. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -1
  156. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +2 -1
  157. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -1
  158. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.d.ts +10 -0
  159. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.d.ts.map +1 -0
  160. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts +5 -3
  161. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -1
  162. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -1
  163. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageCell.d.ts +9 -0
  164. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageCell.d.ts.map +1 -0
  165. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts +2 -1
  166. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -1
  167. package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -1
  168. package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts +5 -4
  169. package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -1
  170. package/dist/typescript/commonjs/features/fluency-teacher/components/table/SortOrderCarets.d.ts +9 -0
  171. package/dist/typescript/commonjs/features/fluency-teacher/components/table/SortOrderCarets.d.ts.map +1 -0
  172. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +7 -6
  173. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -1
  174. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts +4 -3
  175. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -1
  176. package/dist/typescript/commonjs/features/fluency-teacher/components/table/tableCell.styles.d.ts +35 -0
  177. package/dist/typescript/commonjs/features/fluency-teacher/components/table/tableCell.styles.d.ts.map +1 -0
  178. package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts +1 -0
  179. package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -1
  180. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts +16 -3
  181. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -1
  182. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts +11 -4
  183. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -1
  184. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts +35 -6
  185. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -1
  186. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts +1 -12
  187. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -1
  188. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +3 -3
  189. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -1
  190. package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +1 -0
  191. package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -1
  192. package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -1
  193. package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -1
  194. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -1
  195. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +1 -2
  196. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -1
  197. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -1
  198. package/dist/typescript/module/features/fluency/index.d.ts +0 -2
  199. package/dist/typescript/module/features/fluency/index.d.ts.map +1 -1
  200. package/dist/typescript/module/features/fluency-teacher/assets/DivisionIcon.d.ts +4 -0
  201. package/dist/typescript/module/features/fluency-teacher/assets/DivisionIcon.d.ts.map +1 -0
  202. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -1
  203. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -1
  204. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +1 -4
  205. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -1
  206. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +6 -4
  207. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -1
  208. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -1
  209. package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -1
  210. package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +3 -2
  211. package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -1
  212. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts +6 -5
  213. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -1
  214. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +2 -1
  215. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -1
  216. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixLegend.d.ts +10 -0
  217. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixLegend.d.ts.map +1 -0
  218. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts +5 -3
  219. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -1
  220. package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -1
  221. package/dist/typescript/module/features/fluency-teacher/components/table/AverageCell.d.ts +9 -0
  222. package/dist/typescript/module/features/fluency-teacher/components/table/AverageCell.d.ts.map +1 -0
  223. package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts +2 -1
  224. package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -1
  225. package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -1
  226. package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts +5 -4
  227. package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -1
  228. package/dist/typescript/module/features/fluency-teacher/components/table/SortOrderCarets.d.ts +9 -0
  229. package/dist/typescript/module/features/fluency-teacher/components/table/SortOrderCarets.d.ts.map +1 -0
  230. package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +7 -6
  231. package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -1
  232. package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts +4 -3
  233. package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -1
  234. package/dist/typescript/module/features/fluency-teacher/components/table/tableCell.styles.d.ts +35 -0
  235. package/dist/typescript/module/features/fluency-teacher/components/table/tableCell.styles.d.ts.map +1 -0
  236. package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts +1 -0
  237. package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -1
  238. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts +16 -3
  239. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -1
  240. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts +11 -4
  241. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -1
  242. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts +35 -6
  243. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -1
  244. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts +1 -12
  245. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -1
  246. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +3 -3
  247. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -1
  248. package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +1 -0
  249. package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -1
  250. package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -1
  251. package/package.json +1 -1
  252. package/src/features/fluency/components/FluencySolving.tsx +2 -2
  253. package/src/features/fluency/components/fluency-solving/components/EquationContent.tsx +8 -12
  254. package/src/features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx +1 -6
  255. package/src/features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx +11 -63
  256. package/src/features/fluency/components/fluency-solving/components/FluencySolvingHeader.tsx +0 -9
  257. package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgress.tsx +2 -0
  258. package/src/features/fluency/index.ts +0 -2
  259. package/src/features/fluency-teacher/assets/DivisionIcon.tsx +20 -0
  260. package/src/features/fluency-teacher/components/FluencyTeacher.tsx +3 -3
  261. package/src/features/fluency-teacher/components/drawer/DrawerHeader.tsx +37 -35
  262. package/src/features/fluency-teacher/components/drawer/DrawerMatrixes.tsx +13 -32
  263. package/src/features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx +20 -40
  264. package/src/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.tsx +35 -35
  265. package/src/features/fluency-teacher/components/drawer/DrawerStats.tsx +16 -28
  266. package/src/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx +4 -5
  267. package/src/features/fluency-teacher/components/matrix/DrawerMatrix.tsx +3 -2
  268. package/src/features/fluency-teacher/components/matrix/MatrixCell.tsx +7 -16
  269. package/src/features/fluency-teacher/components/matrix/MatrixHeaderRow.tsx +1 -1
  270. package/src/features/fluency-teacher/components/matrix/MatrixLegend.tsx +81 -0
  271. package/src/features/fluency-teacher/components/matrix/MatrixRow.tsx +4 -4
  272. package/src/features/fluency-teacher/components/table/AllPupilsTableRow.tsx +13 -40
  273. package/src/features/fluency-teacher/components/table/AverageCell.tsx +45 -0
  274. package/src/features/fluency-teacher/components/table/AverageSortButton.tsx +8 -62
  275. package/src/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.tsx +49 -35
  276. package/src/features/fluency-teacher/components/table/OperatorBadge.tsx +18 -11
  277. package/src/features/fluency-teacher/components/table/SortOrderCarets.tsx +37 -0
  278. package/src/features/fluency-teacher/components/table/TableColumnSortButton.tsx +28 -49
  279. package/src/features/fluency-teacher/components/table/TableRow.tsx +65 -64
  280. package/src/features/fluency-teacher/components/table/tableCell.styles.ts +39 -0
  281. package/src/features/fluency-teacher/context/TeacherFluencyContext.ts +1 -0
  282. package/src/features/fluency-teacher/fluencyTeacher.constants.ts +138 -40
  283. package/src/features/fluency-teacher/fluencyTeacher.helpers.ts +82 -10
  284. package/src/features/fluency-teacher/fluencyTeacher.types.ts +39 -6
  285. package/src/features/fluency-teacher/hooks/useDrawerGrid.ts +4 -7
  286. package/src/features/fluency-teacher/hooks/useDrawerMatrix.ts +4 -3
  287. package/src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts +8 -5
  288. package/src/features/fluency-teacher/model/TeacherFluencyModel.ts +8 -0
  289. package/dist/commonjs/features/fluency/components/FluencyVisualPlayground.js +0 -386
  290. package/dist/commonjs/features/fluency/components/FluencyVisualPlayground.js.map +0 -1
  291. package/dist/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js +0 -48
  292. package/dist/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js.map +0 -1
  293. package/dist/commonjs/features/fluency/visual-scaffolding/adapter.js +0 -36
  294. package/dist/commonjs/features/fluency/visual-scaffolding/adapter.js.map +0 -1
  295. package/dist/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js +0 -232
  296. package/dist/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js.map +0 -1
  297. package/dist/commonjs/features/fluency/visual-scaffolding/components/Dot.js +0 -51
  298. package/dist/commonjs/features/fluency/visual-scaffolding/components/Dot.js.map +0 -1
  299. package/dist/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.js +0 -104
  300. package/dist/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.js.map +0 -1
  301. package/dist/commonjs/features/fluency/visual-scaffolding/components/FactVisual.js +0 -75
  302. package/dist/commonjs/features/fluency/visual-scaffolding/components/FactVisual.js.map +0 -1
  303. package/dist/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.js +0 -91
  304. package/dist/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.js.map +0 -1
  305. package/dist/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.js +0 -279
  306. package/dist/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.js.map +0 -1
  307. package/dist/commonjs/features/fluency/visual-scaffolding/components/visualColors.js +0 -44
  308. package/dist/commonjs/features/fluency/visual-scaffolding/components/visualColors.js.map +0 -1
  309. package/dist/commonjs/features/fluency/visual-scaffolding/index.js +0 -73
  310. package/dist/commonjs/features/fluency/visual-scaffolding/index.js.map +0 -1
  311. package/dist/commonjs/features/fluency/visual-scaffolding/renderFact.js +0 -276
  312. package/dist/commonjs/features/fluency/visual-scaffolding/renderFact.js.map +0 -1
  313. package/dist/commonjs/features/fluency/visual-scaffolding/types.js +0 -2
  314. package/dist/commonjs/features/fluency/visual-scaffolding/types.js.map +0 -1
  315. package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js.map +0 -1
  316. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +0 -80
  317. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +0 -1
  318. package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js +0 -71
  319. package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +0 -1
  320. package/dist/module/features/fluency/components/FluencyVisualPlayground.js +0 -379
  321. package/dist/module/features/fluency/components/FluencyVisualPlayground.js.map +0 -1
  322. package/dist/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js +0 -43
  323. package/dist/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js.map +0 -1
  324. package/dist/module/features/fluency/visual-scaffolding/adapter.js +0 -31
  325. package/dist/module/features/fluency/visual-scaffolding/adapter.js.map +0 -1
  326. package/dist/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js +0 -225
  327. package/dist/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js.map +0 -1
  328. package/dist/module/features/fluency/visual-scaffolding/components/Dot.js +0 -45
  329. package/dist/module/features/fluency/visual-scaffolding/components/Dot.js.map +0 -1
  330. package/dist/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.js +0 -96
  331. package/dist/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.js.map +0 -1
  332. package/dist/module/features/fluency/visual-scaffolding/components/FactVisual.js +0 -69
  333. package/dist/module/features/fluency/visual-scaffolding/components/FactVisual.js.map +0 -1
  334. package/dist/module/features/fluency/visual-scaffolding/components/QuotativeBars.js +0 -83
  335. package/dist/module/features/fluency/visual-scaffolding/components/QuotativeBars.js.map +0 -1
  336. package/dist/module/features/fluency/visual-scaffolding/components/RelationalBlock.js +0 -272
  337. package/dist/module/features/fluency/visual-scaffolding/components/RelationalBlock.js.map +0 -1
  338. package/dist/module/features/fluency/visual-scaffolding/components/visualColors.js +0 -41
  339. package/dist/module/features/fluency/visual-scaffolding/components/visualColors.js.map +0 -1
  340. package/dist/module/features/fluency/visual-scaffolding/index.js +0 -8
  341. package/dist/module/features/fluency/visual-scaffolding/index.js.map +0 -1
  342. package/dist/module/features/fluency/visual-scaffolding/renderFact.js +0 -269
  343. package/dist/module/features/fluency/visual-scaffolding/renderFact.js.map +0 -1
  344. package/dist/module/features/fluency/visual-scaffolding/types.js +0 -2
  345. package/dist/module/features/fluency/visual-scaffolding/types.js.map +0 -1
  346. package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js +0 -23
  347. package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js.map +0 -1
  348. package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +0 -74
  349. package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +0 -1
  350. package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js +0 -65
  351. package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +0 -1
  352. package/dist/typescript/commonjs/features/fluency/components/FluencyVisualPlayground.d.ts +0 -8
  353. package/dist/typescript/commonjs/features/fluency/components/FluencyVisualPlayground.d.ts.map +0 -1
  354. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts +0 -3
  355. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts.map +0 -1
  356. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts +0 -2
  357. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts.map +0 -1
  358. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/adapter.d.ts +0 -4
  359. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/adapter.d.ts.map +0 -1
  360. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts +0 -10
  361. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts.map +0 -1
  362. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/Dot.d.ts +0 -10
  363. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/Dot.d.ts.map +0 -1
  364. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts +0 -10
  365. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts.map +0 -1
  366. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/FactVisual.d.ts +0 -10
  367. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/FactVisual.d.ts.map +0 -1
  368. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts +0 -10
  369. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts.map +0 -1
  370. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts +0 -10
  371. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts.map +0 -1
  372. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/visualColors.d.ts +0 -16
  373. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/visualColors.d.ts.map +0 -1
  374. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/index.d.ts +0 -6
  375. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/index.d.ts.map +0 -1
  376. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/renderFact.d.ts +0 -23
  377. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/renderFact.d.ts.map +0 -1
  378. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/types.d.ts +0 -103
  379. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/types.d.ts.map +0 -1
  380. package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts +0 -4
  381. package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +0 -1
  382. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +0 -3
  383. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +0 -1
  384. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +0 -7
  385. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +0 -1
  386. package/dist/typescript/module/features/fluency/components/FluencyVisualPlayground.d.ts +0 -8
  387. package/dist/typescript/module/features/fluency/components/FluencyVisualPlayground.d.ts.map +0 -1
  388. package/dist/typescript/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts +0 -3
  389. package/dist/typescript/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts.map +0 -1
  390. package/dist/typescript/module/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts +0 -2
  391. package/dist/typescript/module/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts.map +0 -1
  392. package/dist/typescript/module/features/fluency/visual-scaffolding/adapter.d.ts +0 -4
  393. package/dist/typescript/module/features/fluency/visual-scaffolding/adapter.d.ts.map +0 -1
  394. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts +0 -10
  395. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts.map +0 -1
  396. package/dist/typescript/module/features/fluency/visual-scaffolding/components/Dot.d.ts +0 -10
  397. package/dist/typescript/module/features/fluency/visual-scaffolding/components/Dot.d.ts.map +0 -1
  398. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts +0 -10
  399. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts.map +0 -1
  400. package/dist/typescript/module/features/fluency/visual-scaffolding/components/FactVisual.d.ts +0 -10
  401. package/dist/typescript/module/features/fluency/visual-scaffolding/components/FactVisual.d.ts.map +0 -1
  402. package/dist/typescript/module/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts +0 -10
  403. package/dist/typescript/module/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts.map +0 -1
  404. package/dist/typescript/module/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts +0 -10
  405. package/dist/typescript/module/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts.map +0 -1
  406. package/dist/typescript/module/features/fluency/visual-scaffolding/components/visualColors.d.ts +0 -16
  407. package/dist/typescript/module/features/fluency/visual-scaffolding/components/visualColors.d.ts.map +0 -1
  408. package/dist/typescript/module/features/fluency/visual-scaffolding/index.d.ts +0 -6
  409. package/dist/typescript/module/features/fluency/visual-scaffolding/index.d.ts.map +0 -1
  410. package/dist/typescript/module/features/fluency/visual-scaffolding/renderFact.d.ts +0 -23
  411. package/dist/typescript/module/features/fluency/visual-scaffolding/renderFact.d.ts.map +0 -1
  412. package/dist/typescript/module/features/fluency/visual-scaffolding/types.d.ts +0 -103
  413. package/dist/typescript/module/features/fluency/visual-scaffolding/types.d.ts.map +0 -1
  414. package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts +0 -4
  415. package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +0 -1
  416. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +0 -3
  417. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +0 -1
  418. package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +0 -7
  419. package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +0 -1
  420. package/src/features/fluency/components/FluencyVisualPlayground.tsx +0 -272
  421. package/src/features/fluency/components/fluency-solving/components/DebugBoxIndicator.tsx +0 -40
  422. package/src/features/fluency/visual-scaffolding/__tests__/__snapshots__/renderFact.test.ts.snap +0 -64
  423. package/src/features/fluency/visual-scaffolding/__tests__/renderFact.test.ts +0 -192
  424. package/src/features/fluency/visual-scaffolding/adapter.ts +0 -33
  425. package/src/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.tsx +0 -222
  426. package/src/features/fluency/visual-scaffolding/components/Dot.tsx +0 -36
  427. package/src/features/fluency/visual-scaffolding/components/DynamicNumberLine.tsx +0 -98
  428. package/src/features/fluency/visual-scaffolding/components/FactVisual.tsx +0 -61
  429. package/src/features/fluency/visual-scaffolding/components/QuotativeBars.tsx +0 -92
  430. package/src/features/fluency/visual-scaffolding/components/RelationalBlock.tsx +0 -225
  431. package/src/features/fluency/visual-scaffolding/components/visualColors.ts +0 -45
  432. package/src/features/fluency/visual-scaffolding/index.ts +0 -5
  433. package/src/features/fluency/visual-scaffolding/renderFact.ts +0 -219
  434. package/src/features/fluency/visual-scaffolding/types.ts +0 -108
  435. package/src/features/fluency-teacher/assets/SortDefaultIcon.tsx +0 -10
  436. package/src/features/fluency-teacher/components/drawer/DrawerMasteryLegend.tsx +0 -63
  437. package/src/features/fluency-teacher/components/table/TableRowAverageProgress.tsx +0 -65
@@ -1,15 +1,4 @@
1
1
  import { FluencyOperator } from '../fluencyTeacher.constants';
2
- export type DrawerGridCell = {
3
- box: number | null;
4
- isEmpty: boolean;
5
- };
6
- export type DrawerGridRow = {
7
- label: number;
8
- cells: DrawerGridCell[];
9
- };
10
- export type DrawerGrid = {
11
- colLabels: number[];
12
- rows: DrawerGridRow[];
13
- };
2
+ import type { DrawerGrid } from '../fluencyTeacher.types';
14
3
  export declare const useDrawerGrid: (operator: FluencyOperator) => DrawerGrid | null;
15
4
  //# sourceMappingURL=useDrawerGrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDrawerGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/hooks/useDrawerGrid.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE7D,MAAM,MAAM,cAAc,GAAG;IAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAA;AACrE,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,cAAc,EAAE,CAAA;CAAE,CAAA;AACtE,MAAM,MAAM,UAAU,GAAG;IAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,aAAa,EAAE,CAAA;CAAE,CAAA;AAEvE,eAAO,MAAM,aAAa,aAAc,eAAe,KAAG,UAAU,GAAG,IAgDtE,CAAA"}
1
+ {"version":3,"file":"useDrawerGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/hooks/useDrawerGrid.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEzD,eAAO,MAAM,aAAa,aAAc,eAAe,KAAG,UAAU,GAAG,IA+CtE,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import type { LayoutChangeEvent } from 'react-native';
2
- import { FluencyOperator } from '../fluencyTeacher.constants';
3
- import { type DrawerGrid } from './useDrawerGrid';
2
+ import { FluencyOperator, MasteryLevel } from '../fluencyTeacher.constants';
3
+ import type { DrawerGrid } from '../fluencyTeacher.types';
4
4
  type DrawerMatrixLayout = {
5
5
  grid: DrawerGrid | null;
6
6
  cellSize: number;
7
7
  fontSize: number;
8
8
  borderRadius: number;
9
- cellColorMap: Record<number, string>;
9
+ cellColorMap: Record<MasteryLevel, string>;
10
10
  onLayout: (e: LayoutChangeEvent) => void;
11
11
  };
12
12
  export declare const useDrawerMatrix: (operator: FluencyOperator) => DrawerMatrixLayout;
@@ -1 +1 @@
1
- {"version":3,"file":"useDrawerMatrix.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/hooks/useDrawerMatrix.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,eAAe,EAAsB,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAIhE,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,UAAU,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,eAAe,aAAc,eAAe,KAAG,kBA2B3D,CAAA"}
1
+ {"version":3,"file":"useDrawerMatrix.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/hooks/useDrawerMatrix.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAsB,MAAM,6BAA6B,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAKzD,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,UAAU,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;IAC1C,QAAQ,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,eAAe,aAAc,eAAe,KAAG,kBA2B3D,CAAA"}
@@ -4,6 +4,7 @@ export declare class TeacherFluencyFiltersModel {
4
4
  readonly setSearch: import("effector").EventCallable<string>;
5
5
  readonly $search: import("effector").StoreWritable<string>;
6
6
  readonly toggleSort: import("effector").EventCallable<FluencyTableColumn>;
7
+ readonly resetSort: import("effector").EventCallable<void>;
7
8
  readonly $sort: import("effector").StoreWritable<SortState>;
8
9
  }
9
10
  //# sourceMappingURL=TeacherFluencyFiltersModel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TeacherFluencyFiltersModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEhE,qBAAa,0BAA0B;IACrC,SAAgB,SAAS,2CAAwB;IACjD,SAAgB,OAAO,2CAA8B;IAErD,SAAgB,UAAU,uDAAoC;IAC9D,SAAgB,KAAK,8CAQnB;CACH"}
1
+ {"version":3,"file":"TeacherFluencyFiltersModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEhE,qBAAa,0BAA0B;IACrC,SAAgB,SAAS,2CAAwB;IACjD,SAAgB,OAAO,2CAA8B;IAErD,SAAgB,UAAU,uDAAoC;IAC9D,SAAgB,SAAS,yCAAgB;IACzC,SAAgB,KAAK,8CAUjB;CACL"}
@@ -1 +1 @@
1
- {"version":3,"file":"TeacherFluencyModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/model/TeacherFluencyModel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAEhG,qBAAa,mBAAmB;IAC9B,SAAgB,IAAI,yDAAwC;IAE5D,SAAgB,GAAG,EAAE,sBAAsB,CAAA;IAC3C,SAAgB,OAAO,EAAE,0BAA0B,CAAA;IACnD,SAAgB,KAAK,EAAE,wBAAwB,CAAA;gBAEnC,EAAE,GAAG,EAAE,EAAE,wBAAwB;IAO7C,OAAO,CAAC,IAAI;CAuBb"}
1
+ {"version":3,"file":"TeacherFluencyModel.d.ts","sourceRoot":"","sources":["../../../../../../src/features/fluency-teacher/model/TeacherFluencyModel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAErE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAEhG,qBAAa,mBAAmB;IAC9B,SAAgB,IAAI,yDAAwC;IAE5D,SAAgB,GAAG,EAAE,sBAAsB,CAAA;IAC3C,SAAgB,OAAO,EAAE,0BAA0B,CAAA;IACnD,SAAgB,KAAK,EAAE,wBAAwB,CAAA;gBAEnC,EAAE,GAAG,EAAE,EAAE,wBAAwB;IAO7C,OAAO,CAAC,IAAI;CA8Bb"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmamath/students-features",
3
- "version": "1.8.0-rc.0-fluency-visuals",
3
+ "version": "1.8.0",
4
4
  "description": "Magmamath features library",
5
5
  "source": "src/index.ts",
6
6
  "main": "src/index.ts",
@@ -3,8 +3,8 @@ import { View, StyleSheet } from 'react-native'
3
3
  import { COLORS } from '@magmamath/react-native-ui'
4
4
  import { FluencyProvider } from '../context/FluencyContext'
5
5
  import { FluencySolvingHeader } from './fluency-solving/components/FluencySolvingHeader'
6
+ import { FluencySolvingProgress } from './fluency-solving/components/FluencySolvingProgress'
6
7
  import { FluencySolvingCard } from './fluency-solving/components/FluencySolvingCard'
7
- import { DebugBoxIndicator } from './fluency-solving/components/DebugBoxIndicator'
8
8
  import { FluencySessionResults } from './session-results/FluencySessionResults'
9
9
  import { usePreventPageLeave } from '../hooks/usePreventPageLeave'
10
10
  import type { FluencyModel } from '../model/FluencyModel'
@@ -22,8 +22,8 @@ export const FluencySolving = ({ model, onClosePress, onEndModalPress }: Fluency
22
22
  <FluencyProvider value={{ model }}>
23
23
  <View style={styles.container}>
24
24
  <FluencySolvingHeader onClosePress={onClosePress} />
25
+ <FluencySolvingProgress />
25
26
  <FluencySolvingCard />
26
- <DebugBoxIndicator />
27
27
  </View>
28
28
 
29
29
  <FluencySessionResults onClosePress={onClosePress} onEndModalPress={onEndModalPress} />
@@ -53,6 +53,10 @@ export const EquationContent = ({
53
53
  }: EquationContentProps) => {
54
54
  const t = useText()
55
55
  const modePreset = useFluencySolvingPreset({ mode })
56
+ const labelColor = status ? STATUS_COLOR[status] : COLORS.NEUTRAL_7
57
+ const labelText = status
58
+ ? t(STATUS_LABELS[status], { answer: correctAnswer })
59
+ : t('student.fluency.typeYourAnswer')
56
60
  const answerAreaColor =
57
61
  status === AttemptStatus.INCORRECT ? COLORS.PRIMARY_RED : modePreset.colors.accent
58
62
 
@@ -61,14 +65,9 @@ export const EquationContent = ({
61
65
 
62
66
  return (
63
67
  <>
64
- {status && (
65
- <Typography
66
- variant={HeadingVariants.H9}
67
- style={[styles.cardLabel, { color: STATUS_COLOR[status] }]}
68
- >
69
- {t(STATUS_LABELS[status], { answer: correctAnswer })}
70
- </Typography>
71
- )}
68
+ <Typography variant={HeadingVariants.H9} style={[styles.cardLabel, { color: labelColor }]}>
69
+ {labelText}
70
+ </Typography>
72
71
  <View style={styles.equationRow}>
73
72
  <Typography style={styles.number}>{leftOperand}</Typography>
74
73
  <Typography style={[styles.number, { color: modePreset.colors.accent }]}>
@@ -108,10 +107,7 @@ const styles = StyleSheet.create({
108
107
  flexDirection: 'row',
109
108
  alignItems: 'center',
110
109
  gap: SPACING[300],
111
- // The answer input hangs ~16px below the number row; counting that here
112
- // makes the row's measured box match its visual extent, so the parent
113
- // centers the equation accurately at any card height (visual or mastered).
114
- paddingBottom: SPACING[400],
110
+ marginTop: SPACING[600],
115
111
  },
116
112
  number: {
117
113
  fontSize: 75,
@@ -45,11 +45,7 @@ export const FluencyCardDeck = ({
45
45
  <Animated.View style={[styles.card, styles.cardMid, snapStyles.mid]} />
46
46
 
47
47
  <Animated.View style={[styles.card, styles.cardNear, snapStyles.near]}>
48
- <FluencyEquationCard
49
- cardContent={backingCardContent}
50
- readOnly
51
- showVisual={!!exitingCardContent}
52
- />
48
+ <FluencyEquationCard cardContent={backingCardContent} readOnly />
53
49
  </Animated.View>
54
50
 
55
51
  {!exitingCardContent && (
@@ -96,7 +92,6 @@ const styles = StyleSheet.create({
96
92
  height: 260,
97
93
  borderRadius: BORDER_RADIUS[400],
98
94
  backgroundColor: COLORS.NEUTRAL_1,
99
- overflow: 'hidden',
100
95
  ...SHADOWS[5],
101
96
  },
102
97
  cardFar: {
@@ -1,9 +1,6 @@
1
1
  import React from 'react'
2
- import { View, StyleSheet } from 'react-native'
3
- import { SPACING } from '@magmamath/react-native-ui'
4
2
 
5
3
  import { EquationContent } from './EquationContent'
6
- import { FactVisual, renderFact, toFactPresentation, VISUAL_COLORS } from '../../../visual-scaffolding'
7
4
  import type { FluencyCardDisplayContent, SolvingFact } from '../../../shared/fluencySolving.types'
8
5
  import type { AttemptStatus, FluencyMode } from '../../../shared/fluency.constants'
9
6
 
@@ -17,10 +14,6 @@ type FluencyEquationCardProps = {
17
14
  cardContent: FluencyCardDisplayContent
18
15
  readOnly?: boolean
19
16
  status?: AttemptStatus
20
- // Whether to render the visual. The deck enables it on the active card, the
21
- // exiting card, and the backing card *while it steps up*, so the visual is
22
- // present as fast as the equation (no pop-in after the swipe).
23
- showVisual?: boolean
24
17
  onAnswerChange?: (text: string) => void
25
18
  }
26
19
 
@@ -39,65 +32,20 @@ export const FluencyEquationCard = ({
39
32
  cardContent,
40
33
  readOnly = false,
41
34
  status,
42
- showVisual = true,
43
35
  onAnswerChange,
44
36
  }: FluencyEquationCardProps) => {
45
- const { fact } = cardContent
46
- const equation = getDisplayedEquation(fact)
47
-
48
- const presentation = fact && showVisual ? toFactPresentation(fact) : null
49
- const spec = presentation ? renderFact(presentation) : null
50
- const colors = presentation ? VISUAL_COLORS[presentation.operation] : null
51
- // Narrow away the "none" variant (L4/L5 → no visual).
52
- const visualSpec = spec && spec.kind !== 'none' ? spec : null
37
+ const equation = getDisplayedEquation(cardContent.fact)
53
38
 
54
39
  return (
55
- <View style={styles.body}>
56
- {visualSpec && colors && (
57
- <View style={[styles.visualZone, { backgroundColor: colors.bg }]}>
58
- <FactVisual spec={visualSpec} colors={colors} />
59
- </View>
60
- )}
61
- <View style={styles.eqZone}>
62
- <EquationContent
63
- leftOperand={equation.leftOperand}
64
- rightOperand={equation.rightOperand}
65
- mode={equation.mode}
66
- value={cardContent.answer}
67
- readOnly={readOnly}
68
- status={status}
69
- correctAnswer={fact?.answer}
70
- onChange={onAnswerChange}
71
- />
72
- </View>
73
- </View>
40
+ <EquationContent
41
+ leftOperand={equation.leftOperand}
42
+ rightOperand={equation.rightOperand}
43
+ mode={equation.mode}
44
+ value={cardContent.answer}
45
+ readOnly={readOnly}
46
+ status={status}
47
+ correctAnswer={cardContent.fact?.answer}
48
+ onChange={onAnswerChange}
49
+ />
74
50
  )
75
51
  }
76
-
77
- const styles = StyleSheet.create({
78
- body: {
79
- flex: 1,
80
- alignSelf: 'stretch',
81
- },
82
- // Tinted top zone (background set per operation), ~40% of the card height.
83
- // Clips oversized visuals so the fixed-size card never grows.
84
- visualZone: {
85
- flex: 4,
86
- alignSelf: 'stretch',
87
- alignItems: 'center',
88
- justifyContent: 'center',
89
- overflow: 'hidden',
90
- paddingVertical: SPACING[200],
91
- paddingHorizontal: SPACING[400],
92
- },
93
- // White equation zone, ~60% of the card height. The equation is centered so
94
- // it keeps whitespace above and below (and clears the negative-margin answer
95
- // input under the card's overflow:hidden clip).
96
- eqZone: {
97
- flex: 6,
98
- alignSelf: 'stretch',
99
- alignItems: 'center',
100
- justifyContent: 'center',
101
- paddingHorizontal: SPACING[400],
102
- },
103
- })
@@ -13,7 +13,6 @@ import {
13
13
  Typography,
14
14
  } from '@magmamath/react-native-ui'
15
15
  import { useFluencySolvingPreset } from '../../../hooks/useFluencySolvingPreset'
16
- import { FluencySolvingProgress } from './FluencySolvingProgress'
17
16
  import { XCloseIcon } from '../../../../../shared/icons/XCloseIcon'
18
17
 
19
18
  type FluencySolvingHeaderProps = {
@@ -40,9 +39,6 @@ export const FluencySolvingHeader = ({ onClosePress }: FluencySolvingHeaderProps
40
39
  <Typography variant={HeadingVariants.H4} style={styles.title}>
41
40
  {modePreset.label}
42
41
  </Typography>
43
- <View style={styles.progress} pointerEvents="none">
44
- <FluencySolvingProgress />
45
- </View>
46
42
  </View>
47
43
  )
48
44
  }
@@ -58,11 +54,6 @@ const styles = StyleSheet.create({
58
54
  backgroundColor: COLORS.NEUTRAL_1,
59
55
  ...SHADOWS[1],
60
56
  },
61
- progress: {
62
- ...StyleSheet.absoluteFillObject,
63
- alignItems: 'center',
64
- justifyContent: 'center',
65
- },
66
57
  operatorBadge: {
67
58
  width: 32,
68
59
  height: 32,
@@ -50,6 +50,8 @@ const styles = StyleSheet.create({
50
50
  container: {
51
51
  flexDirection: 'row',
52
52
  gap: SPACING[500],
53
+ paddingHorizontal: SPACING[600],
54
+ paddingVertical: 14,
53
55
  justifyContent: 'center',
54
56
  alignItems: 'center',
55
57
  },
@@ -1,8 +1,6 @@
1
1
  export * from './shared/fluency.constants'
2
2
  export * from './shared/fluency.types'
3
3
  export * from './shared/fluency.helpers'
4
- export * from './visual-scaffolding'
5
4
  export { Fluency } from './components/Fluency'
6
5
  export { FluencySolving } from './components/FluencySolving'
7
- export { FluencyVisualPlayground } from './components/FluencyVisualPlayground'
8
6
  export { FluencyModel } from './model/FluencyModel'
@@ -0,0 +1,20 @@
1
+ import React from 'react'
2
+ import Svg, { Path } from 'react-native-svg'
3
+ import { COLORS, IconProps } from '@magmamath/react-native-ui'
4
+
5
+ export const DivisionIcon = ({ color = COLORS.NEUTRAL_9, size = 16 }: IconProps) => (
6
+ <Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
7
+ <Path
8
+ d="M8.0002 10.7996C8.82854 10.7996 9.50006 11.4713 9.5002 12.2996C9.5002 13.128 8.82862 13.7996 8.0002 13.7996C7.17177 13.7996 6.5002 13.128 6.5002 12.2996C6.50033 11.4713 7.17185 10.7996 8.0002 10.7996Z"
9
+ fill={color}
10
+ />
11
+ <Path
12
+ d="M14.4006 7.2C14.8423 7.20019 15.2004 7.55809 15.2004 7.9998C15.2004 8.4415 14.8422 8.79942 14.4006 8.79961H1.59981C1.15819 8.79937 0.800026 8.44146 0.8 7.9998C0.8 7.55812 1.15818 7.20024 1.5998 7.2H14.4006Z"
13
+ fill={color}
14
+ />
15
+ <Path
16
+ d="M8.0002 2.2C8.82862 2.2 9.5002 2.87157 9.5002 3.7C9.50006 4.52831 8.82854 5.2 8.0002 5.2C7.17185 5.2 6.50033 4.52831 6.5002 3.7C6.5002 2.87157 7.17177 2.2 8.0002 2.2Z"
17
+ fill={color}
18
+ />
19
+ </Svg>
20
+ )
@@ -4,10 +4,10 @@ import { View, StyleSheet } from 'react-native'
4
4
  import { SPACING } from '@magmamath/react-native-ui'
5
5
  import { TeacherFluencyModel } from '../model/TeacherFluencyModel'
6
6
  import { FluencyTeacherStudentsTable } from './table/FluencyTeacherStudentsTable'
7
+ import { FluencyTeacherFooter } from './FluencyTeacherFooter'
7
8
  import { FluencyTeacherFilters } from './table/FluencyTeacherFilters'
8
9
  import { FluencyTeacherHeader } from './header/FluencyTeacherHeader'
9
10
  import { FluencyTeacherDrawer } from './drawer/FluencyTeacherDrawer'
10
- import { FluencyTeacherFooter } from './FluencyTeacherFooter'
11
11
  import { FluencyStudent } from '../fluencyTeacher.types'
12
12
  import { TeacherFluencyProvider } from '../context/TeacherFluencyContext'
13
13
 
@@ -21,13 +21,13 @@ export const FluencyTeacher = ({ model, students, grade }: FluencyTeacherProps)
21
21
  useGate(model.gate, { students, grade })
22
22
 
23
23
  return (
24
- <TeacherFluencyProvider value={{ model }}>
24
+ <TeacherFluencyProvider value={{ model, grade }}>
25
25
  <View style={styles.container}>
26
26
  <FluencyTeacherHeader />
27
27
  <FluencyTeacherFilters />
28
28
  <FluencyTeacherStudentsTable />
29
- <FluencyTeacherDrawer />
30
29
  <FluencyTeacherFooter />
30
+ <FluencyTeacherDrawer />
31
31
  </View>
32
32
  </TeacherFluencyProvider>
33
33
  )
@@ -7,11 +7,10 @@ import {
7
7
  COLORS,
8
8
  CrossIcon,
9
9
  FONT_FAMILY,
10
- HeadingVariants,
11
10
  SPACING,
12
- Typography,
13
11
  } from '@magmamath/react-native-ui'
14
12
  import { useText } from '../../../../i18n/i18n'
13
+ import { AverageCell } from '../table/AverageCell'
15
14
 
16
15
  import type { StudentResult } from '../../fluencyTeacher.types'
17
16
 
@@ -24,20 +23,24 @@ export const DrawerHeader = ({ student, onClose }: DrawerHeaderProps) => {
24
23
  const t = useText()
25
24
  return (
26
25
  <View style={styles.container}>
27
- <View style={styles.left}>
28
- <Typography variant={HeadingVariants.H9} style={styles.label}>
29
- {t('teacher.fluency.studentFluency')}
30
- </Typography>
31
- <Text style={styles.name}>{student.name}</Text>
32
- </View>
33
- <View style={styles.right}>
34
- <Text style={styles.masteryLabel}>{t('teacher.fluency.overallMastery')}</Text>
35
- <Text style={styles.masteryValue}>{student.averagePercent}%</Text>
26
+ <Text style={styles.name} numberOfLines={1}>
27
+ {student.name}
28
+ </Text>
29
+ <View style={styles.mastery}>
30
+ <View style={styles.masteryRow}>
31
+ <Text style={styles.masteryLabel} numberOfLines={1}>
32
+ {t('teacher.fluency.overallMastery')}
33
+ </Text>
34
+ <Text style={styles.masteryValue}>{student.averagePercent}%</Text>
35
+ </View>
36
+ <View style={styles.masteryBar}>
37
+ <AverageCell percent={student.averagePercent} height={22} showPercent={false} />
38
+ </View>
36
39
  </View>
37
40
  <Button
38
- variant={ButtonVariant.SECONDARY}
41
+ variant={ButtonVariant.TERTIARY}
39
42
  colorScheme={ButtonColor.WHITE}
40
- icon={<CrossIcon size={18} color={COLORS.NEUTRAL_7} />}
43
+ icon={<CrossIcon size={18} color={COLORS.NEUTRAL_9} />}
41
44
  onPress={onClose}
42
45
  style={{ container: styles.closeButton }}
43
46
  />
@@ -49,44 +52,43 @@ const styles = StyleSheet.create({
49
52
  container: {
50
53
  flexDirection: 'row',
51
54
  alignItems: 'center',
52
- paddingVertical: SPACING[500],
53
- paddingHorizontal: SPACING[700],
54
- borderTopWidth: 1,
55
+ gap: SPACING[400],
56
+ padding: SPACING[400],
55
57
  borderBottomWidth: 1,
56
58
  borderColor: COLORS.NEUTRAL_4,
57
59
  },
58
- left: {
59
- marginLeft: 48,
60
- },
61
- label: {
62
- color: COLORS.GREEN_7,
60
+ name: {
61
+ flex: 1,
63
62
  fontFamily: FONT_FAMILY.buenosAiresSemiBold,
64
63
  fontWeight: '600',
65
- },
66
- name: {
67
- fontFamily: FONT_FAMILY.buenosAiresBold,
68
- fontWeight: '700',
69
- fontSize: 22,
64
+ fontSize: 24,
70
65
  color: COLORS.NEUTRAL_10,
71
66
  },
72
- right: {
67
+ mastery: {
73
68
  alignItems: 'flex-end',
74
- marginLeft: 'auto',
69
+ },
70
+ masteryBar: {
71
+ width: 150,
72
+ },
73
+ masteryRow: {
74
+ flexDirection: 'row',
75
+ alignItems: 'flex-end',
76
+ gap: SPACING[100],
75
77
  },
76
78
  masteryLabel: {
77
- fontFamily: FONT_FAMILY.buenosAiresBold,
78
- fontWeight: '700',
79
+ fontFamily: FONT_FAMILY.buenosAires,
80
+ fontWeight: '400',
79
81
  fontSize: 13,
82
+ lineHeight: 26,
80
83
  color: COLORS.NEUTRAL_7,
81
84
  },
82
85
  masteryValue: {
83
- fontFamily: FONT_FAMILY.buenosAiresBold,
84
- fontWeight: '700',
85
- fontSize: 28,
86
- color: COLORS.GREEN_7,
86
+ fontFamily: FONT_FAMILY.buenosAiresSemiBold,
87
+ fontWeight: '600',
88
+ fontSize: 24,
89
+ color: COLORS.PRIMARY_YELLOW,
87
90
  },
88
91
  closeButton: {
89
92
  alignSelf: 'center',
90
- marginLeft: SPACING[600],
91
93
  },
92
94
  })
@@ -1,42 +1,24 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, View } from 'react-native'
3
- import { COLORS, SPACING } from '@magmamath/react-native-ui'
3
+ import { SPACING } from '@magmamath/react-native-ui'
4
4
  import { useText } from '../../../../i18n/i18n'
5
+ import { useTeacherFluency } from '../../context/TeacherFluencyContext'
5
6
  import { DrawerOperatorBox } from './DrawerOperatorBox'
6
- import { FluencyMathOperatorSymbol, FluencyOperator } from '../../fluencyTeacher.constants'
7
+ import { OPERATOR_CARD_CONFIG } from '../../fluencyTeacher.constants'
8
+ import { getOperatorsForGrade } from '../../fluencyTeacher.helpers'
7
9
 
8
10
  export const DrawerMatrixes = () => {
9
11
  const t = useText()
12
+ const { grade } = useTeacherFluency()
10
13
  return (
11
14
  <View style={styles.grid}>
12
- <DrawerOperatorBox
13
- title={t('student.fluency.addition')}
14
- symbol={FluencyMathOperatorSymbol.ADDITION}
15
- iconBg={COLORS.GREEN_1}
16
- iconColor={COLORS.GREEN_7}
17
- operator={FluencyOperator.ADDITION}
18
- />
19
- <DrawerOperatorBox
20
- title={t('student.fluency.subtraction')}
21
- symbol={FluencyMathOperatorSymbol.SUBTRACTION}
22
- iconBg={COLORS.ORANGE_1}
23
- iconColor={COLORS.ORANGE_7}
24
- operator={FluencyOperator.SUBTRACTION}
25
- />
26
- <DrawerOperatorBox
27
- title={t('student.fluency.multiplication')}
28
- symbol={FluencyMathOperatorSymbol.MULTIPLICATION}
29
- iconBg={COLORS.BLUE_1}
30
- iconColor={COLORS.BLUE_7}
31
- operator={FluencyOperator.MULTIPLICATION}
32
- />
33
- <DrawerOperatorBox
34
- title={t('student.fluency.division')}
35
- symbol={FluencyMathOperatorSymbol.DIVISION}
36
- iconBg={COLORS.PURPLE_1}
37
- iconColor={COLORS.PURPLE_7}
38
- operator={FluencyOperator.DIVISION}
39
- />
15
+ {getOperatorsForGrade(grade).map((operator) => (
16
+ <DrawerOperatorBox
17
+ key={operator}
18
+ title={t(OPERATOR_CARD_CONFIG[operator].labelKey)}
19
+ operator={operator}
20
+ />
21
+ ))}
40
22
  </View>
41
23
  )
42
24
  }
@@ -45,8 +27,7 @@ const styles = StyleSheet.create({
45
27
  grid: {
46
28
  flexDirection: 'row',
47
29
  flexWrap: 'wrap',
48
- gap: SPACING[300],
49
- marginTop: SPACING[300],
30
+ gap: SPACING[400],
50
31
  marginBottom: SPACING[600],
51
32
  },
52
33
  })
@@ -5,25 +5,17 @@ import { BORDER_RADIUS, COLORS, FONT_FAMILY, SPACING } from '@magmamath/react-na
5
5
  import { useText } from '../../../../i18n/i18n'
6
6
  import { useDrawerMatrix } from '../../hooks/useDrawerMatrix'
7
7
  import { DrawerMatrix } from '../matrix/DrawerMatrix'
8
+ import { MatrixLegend } from '../matrix/MatrixLegend'
8
9
  import { useTeacherFluency } from '../../context/TeacherFluencyContext'
9
10
 
10
- import { FluencyOperator } from '../../fluencyTeacher.constants'
11
+ import { FluencyOperator, OPERATOR_PALETTES } from '../../fluencyTeacher.constants'
11
12
 
12
13
  type DrawerOperatorBoxProps = {
13
14
  title: string
14
- symbol: string
15
- iconBg: string
16
- iconColor: string
17
15
  operator: FluencyOperator
18
16
  }
19
17
 
20
- export const DrawerOperatorBox = ({
21
- title,
22
- symbol,
23
- iconBg,
24
- iconColor,
25
- operator,
26
- }: DrawerOperatorBoxProps) => {
18
+ export const DrawerOperatorBox = ({ title, operator }: DrawerOperatorBoxProps) => {
27
19
  const t = useText()
28
20
  const { model } = useTeacherFluency()
29
21
  const isLoading = useUnit(model.api.getStudentDetailsFx.pending)
@@ -36,13 +28,9 @@ export const DrawerOperatorBox = ({
36
28
  : ''
37
29
 
38
30
  return (
39
- <View style={styles.container}>
31
+ <View style={[styles.container, { borderColor: OPERATOR_PALETTES[operator].boxBorder }]}>
40
32
  <View style={styles.header}>
41
- <View style={[styles.iconBox, { backgroundColor: iconBg }]}>
42
- <Text style={[styles.symbol, { color: iconColor }]}>{symbol}</Text>
43
- </View>
44
33
  <Text style={styles.title}>{title}</Text>
45
- <View style={styles.spacer} />
46
34
  <Text style={styles.factsLabel}>{factsLabel}</Text>
47
35
  </View>
48
36
  <View style={styles.content}>
@@ -51,7 +39,10 @@ export const DrawerOperatorBox = ({
51
39
  <ActivityIndicator size="large" color={COLORS.PRIMARY_BLUE} />
52
40
  </View>
53
41
  ) : (
54
- <DrawerMatrix {...matrixProps} />
42
+ <>
43
+ <DrawerMatrix {...matrixProps} />
44
+ {matrixProps.grid && <MatrixLegend operator={operator} grid={matrixProps.grid} />}
45
+ </>
55
46
  )}
56
47
  </View>
57
48
  </View>
@@ -60,48 +51,37 @@ export const DrawerOperatorBox = ({
60
51
 
61
52
  const styles = StyleSheet.create({
62
53
  container: {
63
- width: 315,
64
- height: 315,
54
+ flexGrow: 1,
55
+ flexBasis: '45%',
65
56
  borderWidth: 1,
66
- borderColor: COLORS.NEUTRAL_4,
67
57
  borderRadius: BORDER_RADIUS[300],
58
+ backgroundColor: COLORS.NEUTRAL_1,
68
59
  padding: SPACING[400],
60
+ gap: SPACING[300],
69
61
  },
70
62
  header: {
71
63
  flexDirection: 'row',
72
64
  alignItems: 'center',
73
65
  gap: SPACING[200],
74
- marginBottom: SPACING[300],
75
- },
76
- iconBox: {
77
- width: 24,
78
- height: 24,
79
- borderRadius: 6,
80
- alignItems: 'center',
81
- justifyContent: 'center',
82
- },
83
- symbol: {
84
- fontFamily: FONT_FAMILY.buenosAiresBold,
85
- fontSize: 20,
86
- marginBottom: 2,
87
66
  },
88
67
  title: {
89
- fontFamily: FONT_FAMILY.buenosAiresSemiBold,
90
- fontWeight: '700',
91
- fontSize: 15,
92
- color: COLORS.NEUTRAL_10,
93
- },
94
- spacer: {
95
68
  flex: 1,
69
+ fontFamily: FONT_FAMILY.buenosAires,
70
+ fontWeight: '400',
71
+ fontSize: 16,
72
+ color: COLORS.NEUTRAL_10,
96
73
  },
97
74
  factsLabel: {
98
75
  fontFamily: FONT_FAMILY.buenosAiresSemiBold,
99
76
  fontSize: 13,
100
77
  fontWeight: '600',
78
+ textTransform: 'uppercase',
101
79
  color: COLORS.NEUTRAL_7,
102
80
  },
103
81
  content: {
104
- flex: 1,
82
+ height: 210,
83
+ flexDirection: 'row',
84
+ gap: SPACING[200],
105
85
  },
106
86
  loader: {
107
87
  flex: 1,