@magmamath/students-features 1.8.0 → 1.8.1-rc.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 (428) 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/DebugBoxIndicator.js +48 -0
  4. package/dist/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js.map +1 -0
  5. package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js +9 -8
  6. package/dist/commonjs/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -1
  7. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +3 -1
  8. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -1
  9. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +63 -10
  10. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -1
  11. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js +10 -0
  12. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -1
  13. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +0 -2
  14. package/dist/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -1
  15. package/dist/commonjs/features/fluency/index.js +12 -0
  16. package/dist/commonjs/features/fluency/index.js.map +1 -1
  17. package/dist/commonjs/features/fluency/visual-scaffolding/adapter.js +36 -0
  18. package/dist/commonjs/features/fluency/visual-scaffolding/adapter.js.map +1 -0
  19. package/dist/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js +232 -0
  20. package/dist/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js.map +1 -0
  21. package/dist/commonjs/features/fluency/visual-scaffolding/components/Dot.js +51 -0
  22. package/dist/commonjs/features/fluency/visual-scaffolding/components/Dot.js.map +1 -0
  23. package/dist/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.js +104 -0
  24. package/dist/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.js.map +1 -0
  25. package/dist/commonjs/features/fluency/visual-scaffolding/components/FactVisual.js +75 -0
  26. package/dist/commonjs/features/fluency/visual-scaffolding/components/FactVisual.js.map +1 -0
  27. package/dist/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.js +91 -0
  28. package/dist/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.js.map +1 -0
  29. package/dist/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.js +279 -0
  30. package/dist/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.js.map +1 -0
  31. package/dist/commonjs/features/fluency/visual-scaffolding/components/visualColors.js +44 -0
  32. package/dist/commonjs/features/fluency/visual-scaffolding/components/visualColors.js.map +1 -0
  33. package/dist/commonjs/features/fluency/visual-scaffolding/index.js +73 -0
  34. package/dist/commonjs/features/fluency/visual-scaffolding/index.js.map +1 -0
  35. package/dist/commonjs/features/fluency/visual-scaffolding/renderFact.js +276 -0
  36. package/dist/commonjs/features/fluency/visual-scaffolding/renderFact.js.map +1 -0
  37. package/dist/commonjs/features/fluency/visual-scaffolding/types.js +2 -0
  38. package/dist/commonjs/features/fluency/visual-scaffolding/types.js.map +1 -0
  39. package/dist/commonjs/features/fluency-teacher/assets/{DivisionIcon.js → SortDefaultIcon.js} +8 -11
  40. package/dist/commonjs/features/fluency-teacher/assets/SortDefaultIcon.js.map +1 -0
  41. package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js +3 -4
  42. package/dist/commonjs/features/fluency-teacher/components/FluencyTeacher.js.map +1 -1
  43. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js +43 -48
  44. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -1
  45. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +80 -0
  46. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +1 -0
  47. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js +28 -11
  48. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -1
  49. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +44 -27
  50. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -1
  51. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +40 -47
  52. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -1
  53. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js +24 -14
  54. package/dist/commonjs/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -1
  55. package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +6 -6
  56. package/dist/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -1
  57. package/dist/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -1
  58. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js +16 -2
  59. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -1
  60. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js +2 -1
  61. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -1
  62. package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js +41 -15
  63. package/dist/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -1
  64. package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js +62 -6
  65. package/dist/commonjs/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -1
  66. package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +40 -42
  67. package/dist/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -1
  68. package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js +16 -25
  69. package/dist/commonjs/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -1
  70. package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js +40 -30
  71. package/dist/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -1
  72. package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js +72 -59
  73. package/dist/commonjs/features/fluency-teacher/components/table/TableRow.js.map +1 -1
  74. package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js +71 -0
  75. package/dist/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +1 -0
  76. package/dist/commonjs/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -1
  77. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js +38 -103
  78. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -1
  79. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js +10 -52
  80. package/dist/commonjs/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -1
  81. package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js +2 -3
  82. package/dist/commonjs/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -1
  83. package/dist/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -1
  84. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +1 -2
  85. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -1
  86. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js +0 -9
  87. package/dist/commonjs/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -1
  88. package/dist/module/features/fluency/components/FluencySolving.js +2 -2
  89. package/dist/module/features/fluency/components/FluencySolving.js.map +1 -1
  90. package/dist/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js +43 -0
  91. package/dist/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.js.map +1 -0
  92. package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js +9 -8
  93. package/dist/module/features/fluency/components/fluency-solving/components/EquationContent.js.map +1 -1
  94. package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js +3 -1
  95. package/dist/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.js.map +1 -1
  96. package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js +64 -11
  97. package/dist/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.js.map +1 -1
  98. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js +10 -0
  99. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.js.map +1 -1
  100. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js +0 -2
  101. package/dist/module/features/fluency/components/fluency-solving/components/FluencySolvingProgress.js.map +1 -1
  102. package/dist/module/features/fluency/index.js +1 -0
  103. package/dist/module/features/fluency/index.js.map +1 -1
  104. package/dist/module/features/fluency/visual-scaffolding/adapter.js +31 -0
  105. package/dist/module/features/fluency/visual-scaffolding/adapter.js.map +1 -0
  106. package/dist/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js +225 -0
  107. package/dist/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.js.map +1 -0
  108. package/dist/module/features/fluency/visual-scaffolding/components/Dot.js +45 -0
  109. package/dist/module/features/fluency/visual-scaffolding/components/Dot.js.map +1 -0
  110. package/dist/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.js +96 -0
  111. package/dist/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.js.map +1 -0
  112. package/dist/module/features/fluency/visual-scaffolding/components/FactVisual.js +69 -0
  113. package/dist/module/features/fluency/visual-scaffolding/components/FactVisual.js.map +1 -0
  114. package/dist/module/features/fluency/visual-scaffolding/components/QuotativeBars.js +83 -0
  115. package/dist/module/features/fluency/visual-scaffolding/components/QuotativeBars.js.map +1 -0
  116. package/dist/module/features/fluency/visual-scaffolding/components/RelationalBlock.js +272 -0
  117. package/dist/module/features/fluency/visual-scaffolding/components/RelationalBlock.js.map +1 -0
  118. package/dist/module/features/fluency/visual-scaffolding/components/visualColors.js +41 -0
  119. package/dist/module/features/fluency/visual-scaffolding/components/visualColors.js.map +1 -0
  120. package/dist/module/features/fluency/visual-scaffolding/index.js +8 -0
  121. package/dist/module/features/fluency/visual-scaffolding/index.js.map +1 -0
  122. package/dist/module/features/fluency/visual-scaffolding/renderFact.js +269 -0
  123. package/dist/module/features/fluency/visual-scaffolding/renderFact.js.map +1 -0
  124. package/dist/module/features/fluency/visual-scaffolding/types.js +2 -0
  125. package/dist/module/features/fluency/visual-scaffolding/types.js.map +1 -0
  126. package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js +23 -0
  127. package/dist/module/features/fluency-teacher/assets/SortDefaultIcon.js.map +1 -0
  128. package/dist/module/features/fluency-teacher/components/FluencyTeacher.js +3 -4
  129. package/dist/module/features/fluency-teacher/components/FluencyTeacher.js.map +1 -1
  130. package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js +44 -49
  131. package/dist/module/features/fluency-teacher/components/drawer/DrawerHeader.js.map +1 -1
  132. package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js +74 -0
  133. package/dist/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.js.map +1 -0
  134. package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js +31 -14
  135. package/dist/module/features/fluency-teacher/components/drawer/DrawerMatrixes.js.map +1 -1
  136. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js +45 -28
  137. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.js.map +1 -1
  138. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js +41 -48
  139. package/dist/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.js.map +1 -1
  140. package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js +27 -17
  141. package/dist/module/features/fluency-teacher/components/drawer/DrawerStats.js.map +1 -1
  142. package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js +6 -6
  143. package/dist/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.js.map +1 -1
  144. package/dist/module/features/fluency-teacher/components/matrix/DrawerMatrix.js.map +1 -1
  145. package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js +17 -3
  146. package/dist/module/features/fluency-teacher/components/matrix/MatrixCell.js.map +1 -1
  147. package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js +2 -1
  148. package/dist/module/features/fluency-teacher/components/matrix/MatrixRow.js.map +1 -1
  149. package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js +42 -16
  150. package/dist/module/features/fluency-teacher/components/table/AllPupilsTableRow.js.map +1 -1
  151. package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js +63 -7
  152. package/dist/module/features/fluency-teacher/components/table/AverageSortButton.js.map +1 -1
  153. package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js +42 -44
  154. package/dist/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.js.map +1 -1
  155. package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js +16 -25
  156. package/dist/module/features/fluency-teacher/components/table/OperatorBadge.js.map +1 -1
  157. package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js +42 -32
  158. package/dist/module/features/fluency-teacher/components/table/TableColumnSortButton.js.map +1 -1
  159. package/dist/module/features/fluency-teacher/components/table/TableRow.js +75 -62
  160. package/dist/module/features/fluency-teacher/components/table/TableRow.js.map +1 -1
  161. package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js +65 -0
  162. package/dist/module/features/fluency-teacher/components/table/TableRowAverageProgress.js.map +1 -0
  163. package/dist/module/features/fluency-teacher/context/TeacherFluencyContext.js.map +1 -1
  164. package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js +37 -102
  165. package/dist/module/features/fluency-teacher/fluencyTeacher.constants.js.map +1 -1
  166. package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js +8 -43
  167. package/dist/module/features/fluency-teacher/fluencyTeacher.helpers.js.map +1 -1
  168. package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js +2 -3
  169. package/dist/module/features/fluency-teacher/hooks/useDrawerGrid.js.map +1 -1
  170. package/dist/module/features/fluency-teacher/hooks/useDrawerMatrix.js.map +1 -1
  171. package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js +1 -2
  172. package/dist/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.js.map +1 -1
  173. package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js +0 -9
  174. package/dist/module/features/fluency-teacher/model/TeacherFluencyModel.js.map +1 -1
  175. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts +3 -0
  176. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts.map +1 -0
  177. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -1
  178. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -1
  179. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +2 -1
  180. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -1
  181. package/dist/typescript/commonjs/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -1
  182. package/dist/typescript/commonjs/features/fluency/index.d.ts +1 -0
  183. package/dist/typescript/commonjs/features/fluency/index.d.ts.map +1 -1
  184. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts +2 -0
  185. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts.map +1 -0
  186. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/adapter.d.ts +4 -0
  187. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/adapter.d.ts.map +1 -0
  188. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts +10 -0
  189. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts.map +1 -0
  190. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/Dot.d.ts +10 -0
  191. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/Dot.d.ts.map +1 -0
  192. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts +10 -0
  193. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts.map +1 -0
  194. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/FactVisual.d.ts +10 -0
  195. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/FactVisual.d.ts.map +1 -0
  196. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts +10 -0
  197. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts.map +1 -0
  198. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts +10 -0
  199. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts.map +1 -0
  200. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/visualColors.d.ts +16 -0
  201. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/components/visualColors.d.ts.map +1 -0
  202. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/index.d.ts +6 -0
  203. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/index.d.ts.map +1 -0
  204. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/renderFact.d.ts +23 -0
  205. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/renderFact.d.ts.map +1 -0
  206. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/types.d.ts +103 -0
  207. package/dist/typescript/commonjs/features/fluency/visual-scaffolding/types.d.ts.map +1 -0
  208. package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts +4 -0
  209. package/dist/typescript/commonjs/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +1 -0
  210. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -1
  211. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +3 -0
  212. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +1 -0
  213. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -1
  214. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +4 -1
  215. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -1
  216. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +4 -6
  217. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -1
  218. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -1
  219. package/dist/typescript/commonjs/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -1
  220. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +2 -3
  221. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -1
  222. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts +5 -6
  223. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -1
  224. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +1 -2
  225. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -1
  226. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts +3 -5
  227. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -1
  228. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -1
  229. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts +1 -2
  230. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -1
  231. package/dist/typescript/commonjs/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -1
  232. package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts +4 -5
  233. package/dist/typescript/commonjs/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -1
  234. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +6 -7
  235. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -1
  236. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts +3 -4
  237. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -1
  238. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +7 -0
  239. package/dist/typescript/commonjs/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +1 -0
  240. package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts +0 -1
  241. package/dist/typescript/commonjs/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -1
  242. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts +3 -16
  243. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -1
  244. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts +4 -11
  245. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -1
  246. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts +6 -35
  247. package/dist/typescript/commonjs/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -1
  248. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts +12 -1
  249. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -1
  250. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +3 -3
  251. package/dist/typescript/commonjs/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -1
  252. package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +0 -1
  253. package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -1
  254. package/dist/typescript/commonjs/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -1
  255. package/dist/typescript/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts +3 -0
  256. package/dist/typescript/module/features/fluency/components/fluency-solving/components/DebugBoxIndicator.d.ts.map +1 -0
  257. package/dist/typescript/module/features/fluency/components/fluency-solving/components/EquationContent.d.ts.map +1 -1
  258. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyCardDeck.d.ts.map +1 -1
  259. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts +2 -1
  260. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencyEquationCard.d.ts.map +1 -1
  261. package/dist/typescript/module/features/fluency/components/fluency-solving/components/FluencySolvingHeader.d.ts.map +1 -1
  262. package/dist/typescript/module/features/fluency/index.d.ts +1 -0
  263. package/dist/typescript/module/features/fluency/index.d.ts.map +1 -1
  264. package/dist/typescript/module/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts +2 -0
  265. package/dist/typescript/module/features/fluency/visual-scaffolding/__tests__/renderFact.test.d.ts.map +1 -0
  266. package/dist/typescript/module/features/fluency/visual-scaffolding/adapter.d.ts +4 -0
  267. package/dist/typescript/module/features/fluency/visual-scaffolding/adapter.d.ts.map +1 -0
  268. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts +10 -0
  269. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.d.ts.map +1 -0
  270. package/dist/typescript/module/features/fluency/visual-scaffolding/components/Dot.d.ts +10 -0
  271. package/dist/typescript/module/features/fluency/visual-scaffolding/components/Dot.d.ts.map +1 -0
  272. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts +10 -0
  273. package/dist/typescript/module/features/fluency/visual-scaffolding/components/DynamicNumberLine.d.ts.map +1 -0
  274. package/dist/typescript/module/features/fluency/visual-scaffolding/components/FactVisual.d.ts +10 -0
  275. package/dist/typescript/module/features/fluency/visual-scaffolding/components/FactVisual.d.ts.map +1 -0
  276. package/dist/typescript/module/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts +10 -0
  277. package/dist/typescript/module/features/fluency/visual-scaffolding/components/QuotativeBars.d.ts.map +1 -0
  278. package/dist/typescript/module/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts +10 -0
  279. package/dist/typescript/module/features/fluency/visual-scaffolding/components/RelationalBlock.d.ts.map +1 -0
  280. package/dist/typescript/module/features/fluency/visual-scaffolding/components/visualColors.d.ts +16 -0
  281. package/dist/typescript/module/features/fluency/visual-scaffolding/components/visualColors.d.ts.map +1 -0
  282. package/dist/typescript/module/features/fluency/visual-scaffolding/index.d.ts +6 -0
  283. package/dist/typescript/module/features/fluency/visual-scaffolding/index.d.ts.map +1 -0
  284. package/dist/typescript/module/features/fluency/visual-scaffolding/renderFact.d.ts +23 -0
  285. package/dist/typescript/module/features/fluency/visual-scaffolding/renderFact.d.ts.map +1 -0
  286. package/dist/typescript/module/features/fluency/visual-scaffolding/types.d.ts +103 -0
  287. package/dist/typescript/module/features/fluency/visual-scaffolding/types.d.ts.map +1 -0
  288. package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts +4 -0
  289. package/dist/typescript/module/features/fluency-teacher/assets/SortDefaultIcon.d.ts.map +1 -0
  290. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerHeader.d.ts.map +1 -1
  291. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts +3 -0
  292. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMasteryLegend.d.ts.map +1 -0
  293. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerMatrixes.d.ts.map +1 -1
  294. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts +4 -1
  295. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorBox.d.ts.map +1 -1
  296. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts +4 -6
  297. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.d.ts.map +1 -1
  298. package/dist/typescript/module/features/fluency-teacher/components/drawer/DrawerStats.d.ts.map +1 -1
  299. package/dist/typescript/module/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.d.ts.map +1 -1
  300. package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts +2 -3
  301. package/dist/typescript/module/features/fluency-teacher/components/matrix/DrawerMatrix.d.ts.map +1 -1
  302. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts +5 -6
  303. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixCell.d.ts.map +1 -1
  304. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts +1 -2
  305. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixHeaderRow.d.ts.map +1 -1
  306. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts +3 -5
  307. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixRow.d.ts.map +1 -1
  308. package/dist/typescript/module/features/fluency-teacher/components/table/AllPupilsTableRow.d.ts.map +1 -1
  309. package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts +1 -2
  310. package/dist/typescript/module/features/fluency-teacher/components/table/AverageSortButton.d.ts.map +1 -1
  311. package/dist/typescript/module/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.d.ts.map +1 -1
  312. package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts +4 -5
  313. package/dist/typescript/module/features/fluency-teacher/components/table/OperatorBadge.d.ts.map +1 -1
  314. package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts +6 -7
  315. package/dist/typescript/module/features/fluency-teacher/components/table/TableColumnSortButton.d.ts.map +1 -1
  316. package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts +3 -4
  317. package/dist/typescript/module/features/fluency-teacher/components/table/TableRow.d.ts.map +1 -1
  318. package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts +7 -0
  319. package/dist/typescript/module/features/fluency-teacher/components/table/TableRowAverageProgress.d.ts.map +1 -0
  320. package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts +0 -1
  321. package/dist/typescript/module/features/fluency-teacher/context/TeacherFluencyContext.d.ts.map +1 -1
  322. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts +3 -16
  323. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.constants.d.ts.map +1 -1
  324. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts +4 -11
  325. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.helpers.d.ts.map +1 -1
  326. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts +6 -35
  327. package/dist/typescript/module/features/fluency-teacher/fluencyTeacher.types.d.ts.map +1 -1
  328. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts +12 -1
  329. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerGrid.d.ts.map +1 -1
  330. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts +3 -3
  331. package/dist/typescript/module/features/fluency-teacher/hooks/useDrawerMatrix.d.ts.map +1 -1
  332. package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts +0 -1
  333. package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyFiltersModel.d.ts.map +1 -1
  334. package/dist/typescript/module/features/fluency-teacher/model/TeacherFluencyModel.d.ts.map +1 -1
  335. package/package.json +1 -1
  336. package/src/features/fluency/components/FluencySolving.tsx +2 -2
  337. package/src/features/fluency/components/fluency-solving/components/DebugBoxIndicator.tsx +40 -0
  338. package/src/features/fluency/components/fluency-solving/components/EquationContent.tsx +12 -8
  339. package/src/features/fluency/components/fluency-solving/components/FluencyCardDeck.tsx +6 -1
  340. package/src/features/fluency/components/fluency-solving/components/FluencyEquationCard.tsx +63 -11
  341. package/src/features/fluency/components/fluency-solving/components/FluencySolvingHeader.tsx +9 -0
  342. package/src/features/fluency/components/fluency-solving/components/FluencySolvingProgress.tsx +0 -2
  343. package/src/features/fluency/index.ts +1 -0
  344. package/src/features/fluency/visual-scaffolding/__tests__/__snapshots__/renderFact.test.ts.snap +64 -0
  345. package/src/features/fluency/visual-scaffolding/__tests__/renderFact.test.ts +192 -0
  346. package/src/features/fluency/visual-scaffolding/adapter.ts +33 -0
  347. package/src/features/fluency/visual-scaffolding/components/DiscreteCounterGrid.tsx +222 -0
  348. package/src/features/fluency/visual-scaffolding/components/Dot.tsx +36 -0
  349. package/src/features/fluency/visual-scaffolding/components/DynamicNumberLine.tsx +98 -0
  350. package/src/features/fluency/visual-scaffolding/components/FactVisual.tsx +61 -0
  351. package/src/features/fluency/visual-scaffolding/components/QuotativeBars.tsx +92 -0
  352. package/src/features/fluency/visual-scaffolding/components/RelationalBlock.tsx +225 -0
  353. package/src/features/fluency/visual-scaffolding/components/visualColors.ts +45 -0
  354. package/src/features/fluency/visual-scaffolding/index.ts +5 -0
  355. package/src/features/fluency/visual-scaffolding/renderFact.ts +219 -0
  356. package/src/features/fluency/visual-scaffolding/types.ts +108 -0
  357. package/src/features/fluency-teacher/assets/SortDefaultIcon.tsx +10 -0
  358. package/src/features/fluency-teacher/components/FluencyTeacher.tsx +3 -3
  359. package/src/features/fluency-teacher/components/drawer/DrawerHeader.tsx +35 -37
  360. package/src/features/fluency-teacher/components/drawer/DrawerMasteryLegend.tsx +63 -0
  361. package/src/features/fluency-teacher/components/drawer/DrawerMatrixes.tsx +32 -13
  362. package/src/features/fluency-teacher/components/drawer/DrawerOperatorBox.tsx +40 -20
  363. package/src/features/fluency-teacher/components/drawer/DrawerOperatorStatCard.tsx +35 -35
  364. package/src/features/fluency-teacher/components/drawer/DrawerStats.tsx +28 -16
  365. package/src/features/fluency-teacher/components/drawer/FluencyTeacherDrawer.tsx +5 -4
  366. package/src/features/fluency-teacher/components/matrix/DrawerMatrix.tsx +2 -3
  367. package/src/features/fluency-teacher/components/matrix/MatrixCell.tsx +16 -7
  368. package/src/features/fluency-teacher/components/matrix/MatrixHeaderRow.tsx +1 -1
  369. package/src/features/fluency-teacher/components/matrix/MatrixRow.tsx +4 -4
  370. package/src/features/fluency-teacher/components/table/AllPupilsTableRow.tsx +40 -13
  371. package/src/features/fluency-teacher/components/table/AverageSortButton.tsx +62 -8
  372. package/src/features/fluency-teacher/components/table/FluencyTeacherStudentsTable.tsx +35 -49
  373. package/src/features/fluency-teacher/components/table/OperatorBadge.tsx +11 -18
  374. package/src/features/fluency-teacher/components/table/TableColumnSortButton.tsx +49 -28
  375. package/src/features/fluency-teacher/components/table/TableRow.tsx +64 -65
  376. package/src/features/fluency-teacher/components/table/TableRowAverageProgress.tsx +65 -0
  377. package/src/features/fluency-teacher/context/TeacherFluencyContext.ts +0 -1
  378. package/src/features/fluency-teacher/fluencyTeacher.constants.ts +40 -138
  379. package/src/features/fluency-teacher/fluencyTeacher.helpers.ts +10 -82
  380. package/src/features/fluency-teacher/fluencyTeacher.types.ts +6 -39
  381. package/src/features/fluency-teacher/hooks/useDrawerGrid.ts +7 -4
  382. package/src/features/fluency-teacher/hooks/useDrawerMatrix.ts +3 -4
  383. package/src/features/fluency-teacher/model/TeacherFluencyFiltersModel.ts +5 -8
  384. package/src/features/fluency-teacher/model/TeacherFluencyModel.ts +0 -8
  385. package/dist/commonjs/features/fluency-teacher/assets/DivisionIcon.js.map +0 -1
  386. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.js +0 -83
  387. package/dist/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.js.map +0 -1
  388. package/dist/commonjs/features/fluency-teacher/components/table/AverageCell.js +0 -55
  389. package/dist/commonjs/features/fluency-teacher/components/table/AverageCell.js.map +0 -1
  390. package/dist/commonjs/features/fluency-teacher/components/table/SortOrderCarets.js +0 -40
  391. package/dist/commonjs/features/fluency-teacher/components/table/SortOrderCarets.js.map +0 -1
  392. package/dist/commonjs/features/fluency-teacher/components/table/tableCell.styles.js +0 -45
  393. package/dist/commonjs/features/fluency-teacher/components/table/tableCell.styles.js.map +0 -1
  394. package/dist/module/features/fluency-teacher/assets/DivisionIcon.js +0 -26
  395. package/dist/module/features/fluency-teacher/assets/DivisionIcon.js.map +0 -1
  396. package/dist/module/features/fluency-teacher/components/matrix/MatrixLegend.js +0 -77
  397. package/dist/module/features/fluency-teacher/components/matrix/MatrixLegend.js.map +0 -1
  398. package/dist/module/features/fluency-teacher/components/table/AverageCell.js +0 -49
  399. package/dist/module/features/fluency-teacher/components/table/AverageCell.js.map +0 -1
  400. package/dist/module/features/fluency-teacher/components/table/SortOrderCarets.js +0 -34
  401. package/dist/module/features/fluency-teacher/components/table/SortOrderCarets.js.map +0 -1
  402. package/dist/module/features/fluency-teacher/components/table/tableCell.styles.js +0 -42
  403. package/dist/module/features/fluency-teacher/components/table/tableCell.styles.js.map +0 -1
  404. package/dist/typescript/commonjs/features/fluency-teacher/assets/DivisionIcon.d.ts +0 -4
  405. package/dist/typescript/commonjs/features/fluency-teacher/assets/DivisionIcon.d.ts.map +0 -1
  406. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.d.ts +0 -10
  407. package/dist/typescript/commonjs/features/fluency-teacher/components/matrix/MatrixLegend.d.ts.map +0 -1
  408. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageCell.d.ts +0 -9
  409. package/dist/typescript/commonjs/features/fluency-teacher/components/table/AverageCell.d.ts.map +0 -1
  410. package/dist/typescript/commonjs/features/fluency-teacher/components/table/SortOrderCarets.d.ts +0 -9
  411. package/dist/typescript/commonjs/features/fluency-teacher/components/table/SortOrderCarets.d.ts.map +0 -1
  412. package/dist/typescript/commonjs/features/fluency-teacher/components/table/tableCell.styles.d.ts +0 -35
  413. package/dist/typescript/commonjs/features/fluency-teacher/components/table/tableCell.styles.d.ts.map +0 -1
  414. package/dist/typescript/module/features/fluency-teacher/assets/DivisionIcon.d.ts +0 -4
  415. package/dist/typescript/module/features/fluency-teacher/assets/DivisionIcon.d.ts.map +0 -1
  416. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixLegend.d.ts +0 -10
  417. package/dist/typescript/module/features/fluency-teacher/components/matrix/MatrixLegend.d.ts.map +0 -1
  418. package/dist/typescript/module/features/fluency-teacher/components/table/AverageCell.d.ts +0 -9
  419. package/dist/typescript/module/features/fluency-teacher/components/table/AverageCell.d.ts.map +0 -1
  420. package/dist/typescript/module/features/fluency-teacher/components/table/SortOrderCarets.d.ts +0 -9
  421. package/dist/typescript/module/features/fluency-teacher/components/table/SortOrderCarets.d.ts.map +0 -1
  422. package/dist/typescript/module/features/fluency-teacher/components/table/tableCell.styles.d.ts +0 -35
  423. package/dist/typescript/module/features/fluency-teacher/components/table/tableCell.styles.d.ts.map +0 -1
  424. package/src/features/fluency-teacher/assets/DivisionIcon.tsx +0 -20
  425. package/src/features/fluency-teacher/components/matrix/MatrixLegend.tsx +0 -81
  426. package/src/features/fluency-teacher/components/table/AverageCell.tsx +0 -45
  427. package/src/features/fluency-teacher/components/table/SortOrderCarets.tsx +0 -37
  428. package/src/features/fluency-teacher/components/table/tableCell.styles.ts +0 -39
@@ -7,10 +7,11 @@ import {
7
7
  COLORS,
8
8
  CrossIcon,
9
9
  FONT_FAMILY,
10
+ HeadingVariants,
10
11
  SPACING,
12
+ Typography,
11
13
  } from '@magmamath/react-native-ui'
12
14
  import { useText } from '../../../../i18n/i18n'
13
- import { AverageCell } from '../table/AverageCell'
14
15
 
15
16
  import type { StudentResult } from '../../fluencyTeacher.types'
16
17
 
@@ -23,24 +24,20 @@ export const DrawerHeader = ({ student, onClose }: DrawerHeaderProps) => {
23
24
  const t = useText()
24
25
  return (
25
26
  <View style={styles.container}>
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>
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>
39
36
  </View>
40
37
  <Button
41
- variant={ButtonVariant.TERTIARY}
38
+ variant={ButtonVariant.SECONDARY}
42
39
  colorScheme={ButtonColor.WHITE}
43
- icon={<CrossIcon size={18} color={COLORS.NEUTRAL_9} />}
40
+ icon={<CrossIcon size={18} color={COLORS.NEUTRAL_7} />}
44
41
  onPress={onClose}
45
42
  style={{ container: styles.closeButton }}
46
43
  />
@@ -52,43 +49,44 @@ const styles = StyleSheet.create({
52
49
  container: {
53
50
  flexDirection: 'row',
54
51
  alignItems: 'center',
55
- gap: SPACING[400],
56
- padding: SPACING[400],
52
+ paddingVertical: SPACING[500],
53
+ paddingHorizontal: SPACING[700],
54
+ borderTopWidth: 1,
57
55
  borderBottomWidth: 1,
58
56
  borderColor: COLORS.NEUTRAL_4,
59
57
  },
60
- name: {
61
- flex: 1,
58
+ left: {
59
+ marginLeft: 48,
60
+ },
61
+ label: {
62
+ color: COLORS.GREEN_7,
62
63
  fontFamily: FONT_FAMILY.buenosAiresSemiBold,
63
64
  fontWeight: '600',
64
- fontSize: 24,
65
- color: COLORS.NEUTRAL_10,
66
- },
67
- mastery: {
68
- alignItems: 'flex-end',
69
65
  },
70
- masteryBar: {
71
- width: 150,
66
+ name: {
67
+ fontFamily: FONT_FAMILY.buenosAiresBold,
68
+ fontWeight: '700',
69
+ fontSize: 22,
70
+ color: COLORS.NEUTRAL_10,
72
71
  },
73
- masteryRow: {
74
- flexDirection: 'row',
72
+ right: {
75
73
  alignItems: 'flex-end',
76
- gap: SPACING[100],
74
+ marginLeft: 'auto',
77
75
  },
78
76
  masteryLabel: {
79
- fontFamily: FONT_FAMILY.buenosAires,
80
- fontWeight: '400',
77
+ fontFamily: FONT_FAMILY.buenosAiresBold,
78
+ fontWeight: '700',
81
79
  fontSize: 13,
82
- lineHeight: 26,
83
80
  color: COLORS.NEUTRAL_7,
84
81
  },
85
82
  masteryValue: {
86
- fontFamily: FONT_FAMILY.buenosAiresSemiBold,
87
- fontWeight: '600',
88
- fontSize: 24,
89
- color: COLORS.PRIMARY_YELLOW,
83
+ fontFamily: FONT_FAMILY.buenosAiresBold,
84
+ fontWeight: '700',
85
+ fontSize: 28,
86
+ color: COLORS.GREEN_7,
90
87
  },
91
88
  closeButton: {
92
89
  alignSelf: 'center',
90
+ marginLeft: SPACING[600],
93
91
  },
94
92
  })
@@ -0,0 +1,63 @@
1
+ import React from 'react'
2
+ import { StyleSheet, Text, View } from 'react-native'
3
+ import { COLORS, FONT_FAMILY, SPACING } from '@magmamath/react-native-ui'
4
+ import { useText } from '../../../../i18n/i18n'
5
+ import type { TranslationKey } from '../../../../i18n/i18n'
6
+
7
+ type MasteryLevelConfig = {
8
+ labelKey: TranslationKey
9
+ color: string
10
+ }
11
+
12
+ const MASTERY_LEVEL_CONFIG: MasteryLevelConfig[] = [
13
+ { labelKey: 'student.fluency.notStarted', color: COLORS.NEUTRAL_3 },
14
+ { labelKey: 'student.fluency.masteryLearning', color: COLORS.GREEN_2 },
15
+ { labelKey: 'student.fluency.masteryGrowing', color: COLORS.GREEN_3 },
16
+ { labelKey: 'student.fluency.masteryStrong', color: COLORS.GREEN_4 },
17
+ { labelKey: 'student.fluency.masteryMastered', color: COLORS.GREEN_7 },
18
+ ]
19
+
20
+ export const DrawerMasteryLegend = () => {
21
+ const t = useText()
22
+ return (
23
+ <View style={styles.container}>
24
+ {MASTERY_LEVEL_CONFIG.map(({ labelKey, color }) => (
25
+ <View key={labelKey} style={styles.item}>
26
+ <View style={[styles.swatch, { backgroundColor: color }]} />
27
+ <Text style={styles.label}>{t(labelKey)}</Text>
28
+ </View>
29
+ ))}
30
+ </View>
31
+ )
32
+ }
33
+
34
+ const styles = StyleSheet.create({
35
+ container: {
36
+ flexDirection: 'row',
37
+ alignItems: 'center',
38
+ gap: SPACING[300],
39
+ paddingVertical: SPACING[150],
40
+ paddingHorizontal: SPACING[300],
41
+ borderRadius: 999,
42
+ backgroundColor: COLORS.NEUTRAL_1,
43
+ borderWidth: 1,
44
+ borderColor: COLORS.NEUTRAL_4,
45
+ alignSelf: 'center',
46
+ },
47
+ item: {
48
+ flexDirection: 'row',
49
+ alignItems: 'center',
50
+ gap: SPACING[150],
51
+ },
52
+ swatch: {
53
+ width: 14,
54
+ height: 14,
55
+ borderRadius: 4,
56
+ },
57
+ label: {
58
+ fontFamily: FONT_FAMILY.buenosAiresSemiBold,
59
+ fontSize: 12,
60
+ fontWeight: '600',
61
+ color: COLORS.NEUTRAL_8,
62
+ },
63
+ })
@@ -1,24 +1,42 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, View } from 'react-native'
3
- import { SPACING } from '@magmamath/react-native-ui'
3
+ import { COLORS, SPACING } from '@magmamath/react-native-ui'
4
4
  import { useText } from '../../../../i18n/i18n'
5
- import { useTeacherFluency } from '../../context/TeacherFluencyContext'
6
5
  import { DrawerOperatorBox } from './DrawerOperatorBox'
7
- import { OPERATOR_CARD_CONFIG } from '../../fluencyTeacher.constants'
8
- import { getOperatorsForGrade } from '../../fluencyTeacher.helpers'
6
+ import { FluencyMathOperatorSymbol, FluencyOperator } from '../../fluencyTeacher.constants'
9
7
 
10
8
  export const DrawerMatrixes = () => {
11
9
  const t = useText()
12
- const { grade } = useTeacherFluency()
13
10
  return (
14
11
  <View style={styles.grid}>
15
- {getOperatorsForGrade(grade).map((operator) => (
16
- <DrawerOperatorBox
17
- key={operator}
18
- title={t(OPERATOR_CARD_CONFIG[operator].labelKey)}
19
- operator={operator}
20
- />
21
- ))}
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
+ />
22
40
  </View>
23
41
  )
24
42
  }
@@ -27,7 +45,8 @@ const styles = StyleSheet.create({
27
45
  grid: {
28
46
  flexDirection: 'row',
29
47
  flexWrap: 'wrap',
30
- gap: SPACING[400],
48
+ gap: SPACING[300],
49
+ marginTop: SPACING[300],
31
50
  marginBottom: SPACING[600],
32
51
  },
33
52
  })
@@ -5,17 +5,25 @@ 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'
9
8
  import { useTeacherFluency } from '../../context/TeacherFluencyContext'
10
9
 
11
- import { FluencyOperator, OPERATOR_PALETTES } from '../../fluencyTeacher.constants'
10
+ import { FluencyOperator } from '../../fluencyTeacher.constants'
12
11
 
13
12
  type DrawerOperatorBoxProps = {
14
13
  title: string
14
+ symbol: string
15
+ iconBg: string
16
+ iconColor: string
15
17
  operator: FluencyOperator
16
18
  }
17
19
 
18
- export const DrawerOperatorBox = ({ title, operator }: DrawerOperatorBoxProps) => {
20
+ export const DrawerOperatorBox = ({
21
+ title,
22
+ symbol,
23
+ iconBg,
24
+ iconColor,
25
+ operator,
26
+ }: DrawerOperatorBoxProps) => {
19
27
  const t = useText()
20
28
  const { model } = useTeacherFluency()
21
29
  const isLoading = useUnit(model.api.getStudentDetailsFx.pending)
@@ -28,9 +36,13 @@ export const DrawerOperatorBox = ({ title, operator }: DrawerOperatorBoxProps) =
28
36
  : ''
29
37
 
30
38
  return (
31
- <View style={[styles.container, { borderColor: OPERATOR_PALETTES[operator].boxBorder }]}>
39
+ <View style={styles.container}>
32
40
  <View style={styles.header}>
41
+ <View style={[styles.iconBox, { backgroundColor: iconBg }]}>
42
+ <Text style={[styles.symbol, { color: iconColor }]}>{symbol}</Text>
43
+ </View>
33
44
  <Text style={styles.title}>{title}</Text>
45
+ <View style={styles.spacer} />
34
46
  <Text style={styles.factsLabel}>{factsLabel}</Text>
35
47
  </View>
36
48
  <View style={styles.content}>
@@ -39,10 +51,7 @@ export const DrawerOperatorBox = ({ title, operator }: DrawerOperatorBoxProps) =
39
51
  <ActivityIndicator size="large" color={COLORS.PRIMARY_BLUE} />
40
52
  </View>
41
53
  ) : (
42
- <>
43
- <DrawerMatrix {...matrixProps} />
44
- {matrixProps.grid && <MatrixLegend operator={operator} grid={matrixProps.grid} />}
45
- </>
54
+ <DrawerMatrix {...matrixProps} />
46
55
  )}
47
56
  </View>
48
57
  </View>
@@ -51,37 +60,48 @@ export const DrawerOperatorBox = ({ title, operator }: DrawerOperatorBoxProps) =
51
60
 
52
61
  const styles = StyleSheet.create({
53
62
  container: {
54
- flexGrow: 1,
55
- flexBasis: '45%',
63
+ width: 315,
64
+ height: 315,
56
65
  borderWidth: 1,
66
+ borderColor: COLORS.NEUTRAL_4,
57
67
  borderRadius: BORDER_RADIUS[300],
58
- backgroundColor: COLORS.NEUTRAL_1,
59
68
  padding: SPACING[400],
60
- gap: SPACING[300],
61
69
  },
62
70
  header: {
63
71
  flexDirection: 'row',
64
72
  alignItems: 'center',
65
73
  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,
66
87
  },
67
88
  title: {
68
- flex: 1,
69
- fontFamily: FONT_FAMILY.buenosAires,
70
- fontWeight: '400',
71
- fontSize: 16,
89
+ fontFamily: FONT_FAMILY.buenosAiresSemiBold,
90
+ fontWeight: '700',
91
+ fontSize: 15,
72
92
  color: COLORS.NEUTRAL_10,
73
93
  },
94
+ spacer: {
95
+ flex: 1,
96
+ },
74
97
  factsLabel: {
75
98
  fontFamily: FONT_FAMILY.buenosAiresSemiBold,
76
99
  fontSize: 13,
77
100
  fontWeight: '600',
78
- textTransform: 'uppercase',
79
101
  color: COLORS.NEUTRAL_7,
80
102
  },
81
103
  content: {
82
- height: 210,
83
- flexDirection: 'row',
84
- gap: SPACING[200],
104
+ flex: 1,
85
105
  },
86
106
  loader: {
87
107
  flex: 1,
@@ -1,65 +1,65 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, Text, View } from 'react-native'
3
- import { BORDER_RADIUS, FONT_FAMILY, SPACING } from '@magmamath/react-native-ui'
4
- import { getOperatorBandColors } from '../../fluencyTeacher.helpers'
5
- import { FluencyOperator } from '../../fluencyTeacher.constants'
3
+ import { COLORS, FONT_FAMILY, SPACING } from '@magmamath/react-native-ui'
6
4
 
7
- type DrawerOperatorStatCardProps = {
5
+ export type DrawerOperatorStatCardProps = {
8
6
  title: string
9
- value: number
7
+ value: number | string
10
8
  symbol: string
11
- operator: FluencyOperator
9
+ color: string
12
10
  }
13
11
 
14
12
  export const DrawerOperatorStatCard = ({
15
13
  title,
16
14
  value,
17
15
  symbol,
18
- operator,
19
- }: DrawerOperatorStatCardProps) => {
20
- const { background, border, text } = getOperatorBandColors(operator, value)
21
- return (
22
- <View style={[styles.container, { backgroundColor: background, borderColor: border }]}>
23
- <View style={styles.titleRow}>
24
- <Text style={[styles.symbol, { color: text }]}>{symbol}</Text>
25
- <Text style={[styles.title, { color: text }]} numberOfLines={1}>
26
- {title}
27
- </Text>
28
- </View>
29
- <Text style={[styles.value, { color: text }]}>{value}%</Text>
16
+ color,
17
+ }: DrawerOperatorStatCardProps) => (
18
+ <View style={styles.container}>
19
+ <View style={[styles.iconContainer, { backgroundColor: color + '26' }]}>
20
+ <Text style={[styles.symbol, { color }]}>{symbol}</Text>
30
21
  </View>
31
- )
32
- }
22
+ <View>
23
+ <Text style={styles.title}>{title}</Text>
24
+ <Text style={styles.value}>{value}%</Text>
25
+ </View>
26
+ </View>
27
+ )
33
28
 
34
29
  const styles = StyleSheet.create({
35
30
  container: {
36
31
  flex: 1,
37
- justifyContent: 'center',
38
- gap: SPACING[100],
39
- padding: SPACING[200],
40
- borderRadius: BORDER_RADIUS[200],
32
+ flexDirection: 'row',
33
+ alignItems: 'center',
34
+ gap: SPACING[300],
35
+ padding: SPACING[300],
36
+ borderRadius: SPACING[300],
41
37
  borderWidth: 1,
38
+ borderColor: COLORS.NEUTRAL_4,
39
+ backgroundColor: COLORS.NEUTRAL_2,
42
40
  },
43
- titleRow: {
44
- flexDirection: 'row',
41
+ iconContainer: {
42
+ width: 32,
43
+ height: 32,
44
+ borderRadius: SPACING[200],
45
45
  alignItems: 'center',
46
- gap: SPACING[100],
46
+ justifyContent: 'center',
47
47
  },
48
48
  symbol: {
49
- width: 16,
50
49
  fontFamily: FONT_FAMILY.buenosAiresBold,
51
- fontSize: 16,
52
- textAlign: 'center',
50
+ fontSize: 28,
51
+ marginBottom: 2,
53
52
  },
54
53
  title: {
55
- flexShrink: 1,
56
54
  fontFamily: FONT_FAMILY.buenosAires,
57
55
  fontWeight: '400',
58
- fontSize: 16,
56
+ fontSize: 12,
57
+ color: COLORS.NEUTRAL_7,
59
58
  },
60
59
  value: {
61
- fontFamily: FONT_FAMILY.buenosAiresSemiBold,
62
- fontWeight: '600',
63
- fontSize: 24,
60
+ fontFamily: FONT_FAMILY.buenosAiresBold,
61
+ fontWeight: '700',
62
+ fontSize: 18,
63
+ color: COLORS.NEUTRAL_10,
64
64
  },
65
65
  })
@@ -1,13 +1,11 @@
1
1
  import React from 'react'
2
2
  import { StyleSheet, View } from 'react-native'
3
- import { SPACING } from '@magmamath/react-native-ui'
3
+ import { COLORS, SPACING } from '@magmamath/react-native-ui'
4
4
  import { useText } from '../../../../i18n/i18n'
5
- import { useTeacherFluency } from '../../context/TeacherFluencyContext'
6
5
  import { DrawerOperatorStatCard } from './DrawerOperatorStatCard'
7
6
  import type { StudentOperatorScores } from '../../fluencyTeacher.types'
8
7
 
9
- import { OPERATOR_CARD_CONFIG, OPERATOR_TO_COLUMN } from '../../fluencyTeacher.constants'
10
- import { getOperatorsForGrade } from '../../fluencyTeacher.helpers'
8
+ import { FluencyMathOperatorSymbol } from '../../fluencyTeacher.constants'
11
9
 
12
10
  type DrawerStatsProps = {
13
11
  scores: StudentOperatorScores
@@ -15,18 +13,32 @@ type DrawerStatsProps = {
15
13
 
16
14
  export const DrawerStats = ({ scores }: DrawerStatsProps) => {
17
15
  const t = useText()
18
- const { grade } = useTeacherFluency()
19
16
  return (
20
17
  <View style={styles.container}>
21
- {getOperatorsForGrade(grade).map((operator) => (
22
- <DrawerOperatorStatCard
23
- key={operator}
24
- title={t(OPERATOR_CARD_CONFIG[operator].labelKey)}
25
- symbol={OPERATOR_CARD_CONFIG[operator].symbol}
26
- operator={operator}
27
- value={scores[OPERATOR_TO_COLUMN[operator]]}
28
- />
29
- ))}
18
+ <DrawerOperatorStatCard
19
+ title={t('student.fluency.addition')}
20
+ symbol={FluencyMathOperatorSymbol.ADDITION}
21
+ color={COLORS.PRIMARY_GREEN}
22
+ value={scores.addition}
23
+ />
24
+ <DrawerOperatorStatCard
25
+ title={t('student.fluency.subtraction')}
26
+ symbol={FluencyMathOperatorSymbol.SUBTRACTION}
27
+ color={COLORS.PRIMARY_ORANGE}
28
+ value={scores.subtraction}
29
+ />
30
+ <DrawerOperatorStatCard
31
+ title={t('student.fluency.multiplication')}
32
+ symbol={FluencyMathOperatorSymbol.MULTIPLICATION}
33
+ color={COLORS.PRIMARY_BLUE}
34
+ value={scores.multiplication}
35
+ />
36
+ <DrawerOperatorStatCard
37
+ title={t('student.fluency.division')}
38
+ symbol={FluencyMathOperatorSymbol.DIVISION}
39
+ color={COLORS.PRIMARY_PURPLE}
40
+ value={scores.division}
41
+ />
30
42
  </View>
31
43
  )
32
44
  }
@@ -34,7 +46,7 @@ export const DrawerStats = ({ scores }: DrawerStatsProps) => {
34
46
  const styles = StyleSheet.create({
35
47
  container: {
36
48
  flexDirection: 'row',
37
- gap: SPACING[400],
38
- paddingBottom: SPACING[400],
49
+ gap: SPACING[300],
50
+ paddingBottom: SPACING[300],
39
51
  },
40
52
  })
@@ -7,8 +7,9 @@ import { DrawerHeader } from './DrawerHeader'
7
7
  import { DrawerStats } from './DrawerStats'
8
8
  import { DrawerMatrixes } from './DrawerMatrixes'
9
9
  import { useTeacherFluency } from '../../context/TeacherFluencyContext'
10
+ import { DrawerMasteryLegend } from './DrawerMasteryLegend'
10
11
 
11
- const DRAWER_WIDTH = 815
12
+ const DRAWER_WIDTH = 700
12
13
  const BACKDROP_COLOR = 'rgba(0, 0, 0, 0.2)'
13
14
 
14
15
  const backdropOpacity = new Animated.Value(0)
@@ -54,6 +55,7 @@ export const FluencyTeacherDrawer = () => {
54
55
  <DrawerStats scores={student.scores} />
55
56
  <ScrollView showsVerticalScrollIndicator={false}>
56
57
  <DrawerMatrixes />
58
+ <DrawerMasteryLegend />
57
59
  </ScrollView>
58
60
  </View>
59
61
  </Animated.View>
@@ -76,13 +78,12 @@ const styles = StyleSheet.create({
76
78
  right: 0,
77
79
  bottom: 0,
78
80
  width: DRAWER_WIDTH,
79
- maxWidth: '100%',
80
81
  backgroundColor: COLORS.NEUTRAL_1,
81
82
  ...SHADOWS[3],
82
83
  },
83
84
  content: {
84
85
  flex: 1,
85
- paddingVertical: SPACING[200],
86
- paddingHorizontal: SPACING[400],
86
+ paddingVertical: SPACING[500],
87
+ paddingHorizontal: SPACING[700],
87
88
  },
88
89
  })
@@ -5,15 +5,14 @@ import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui'
5
5
  import { useText } from '../../../../i18n/i18n'
6
6
  import { MatrixHeaderRow } from './MatrixHeaderRow'
7
7
  import { MatrixRow } from './MatrixRow'
8
- import { MasteryLevel } from '../../fluencyTeacher.constants'
9
- import type { DrawerGrid } from '../../fluencyTeacher.types'
8
+ import type { DrawerGrid } from '../../hooks/useDrawerGrid'
10
9
 
11
10
  type DrawerMatrixProps = {
12
11
  grid: DrawerGrid | null
13
12
  cellSize: number
14
13
  fontSize: number
15
14
  borderRadius: number
16
- cellColorMap: Record<MasteryLevel, string>
15
+ cellColorMap: Record<number, string>
17
16
  onLayout: (e: LayoutChangeEvent) => void
18
17
  }
19
18
 
@@ -1,24 +1,27 @@
1
1
  import React from 'react'
2
- import { StyleSheet, View } from 'react-native'
2
+ import { StyleSheet, Text, View } from 'react-native'
3
+ import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui'
3
4
  import { getCellColor } from '../../fluencyTeacher.helpers'
4
- import { MasteryLevel } from '../../fluencyTeacher.constants'
5
5
 
6
- type MatrixCellProps = {
7
- box: MasteryLevel | null
6
+ export type MatrixCellProps = {
7
+ box: number | null
8
8
  isEmpty: boolean
9
9
  cellSize: number
10
10
  borderRadius: number
11
- colorMap: Record<MasteryLevel, string>
11
+ colorMap: Record<number, string>
12
+ fontSize: number
12
13
  }
13
14
 
14
- export const MatrixCell = ({ box, isEmpty, cellSize, borderRadius, colorMap }: MatrixCellProps) => (
15
+ export const MatrixCell = ({ box, isEmpty, cellSize, borderRadius, colorMap, fontSize }: MatrixCellProps) => (
15
16
  <View
16
17
  style={[
17
18
  styles.cell,
18
19
  { width: cellSize, height: cellSize, borderRadius },
19
20
  { backgroundColor: isEmpty ? 'transparent' : getCellColor(box, colorMap) },
20
21
  ]}
21
- />
22
+ >
23
+ {isEmpty && <Text style={[styles.label, { fontSize }]}>-</Text>}
24
+ </View>
22
25
  )
23
26
 
24
27
  const styles = StyleSheet.create({
@@ -26,4 +29,10 @@ const styles = StyleSheet.create({
26
29
  alignItems: 'center',
27
30
  justifyContent: 'center',
28
31
  },
32
+ label: {
33
+ color: COLORS.NEUTRAL_7,
34
+ fontFamily: FONT_FAMILY.buenosAires,
35
+ fontWeight: '600',
36
+ textAlign: 'center',
37
+ },
29
38
  })
@@ -2,7 +2,7 @@ import React from 'react'
2
2
  import { StyleSheet, Text, View } from 'react-native'
3
3
  import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui'
4
4
 
5
- type MatrixHeaderRowProps = {
5
+ export type MatrixHeaderRowProps = {
6
6
  colLabels: number[]
7
7
  cellSize: number
8
8
  fontSize: number
@@ -2,15 +2,14 @@ import React from 'react'
2
2
  import { StyleSheet, Text, View } from 'react-native'
3
3
  import { COLORS, FONT_FAMILY } from '@magmamath/react-native-ui'
4
4
  import { MatrixCell } from './MatrixCell'
5
- import { MasteryLevel } from '../../fluencyTeacher.constants'
6
- import type { DrawerGridCell } from '../../fluencyTeacher.types'
5
+ import type { DrawerGridCell } from '../../hooks/useDrawerGrid'
7
6
 
8
- type MatrixRowProps = {
7
+ export type MatrixRowProps = {
9
8
  label: number
10
9
  cells: DrawerGridCell[]
11
10
  cellSize: number
12
11
  borderRadius: number
13
- colorMap: Record<MasteryLevel, string>
12
+ colorMap: Record<number, string>
14
13
  fontSize: number
15
14
  }
16
15
 
@@ -34,6 +33,7 @@ export const MatrixRow = ({
34
33
  cellSize={cellSize}
35
34
  borderRadius={borderRadius}
36
35
  colorMap={colorMap}
36
+ fontSize={fontSize}
37
37
  />
38
38
  ))}
39
39
  </View>