@magmamath/students-features 1.3.4-rc.3 → 1.3.5-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 (516) hide show
  1. package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js +2 -1
  2. package/dist/commonjs/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js +2 -1
  4. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  5. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +1 -1
  6. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
  7. package/dist/commonjs/features/pmProgress/PmProgress.js +41 -0
  8. package/dist/commonjs/features/pmProgress/PmProgress.js.map +1 -0
  9. package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js +24 -0
  10. package/dist/commonjs/features/pmProgress/components/chart/chart.helpers.js.map +1 -0
  11. package/dist/commonjs/features/pmProgress/components/chart/chart.types.js +2 -0
  12. package/dist/commonjs/features/pmProgress/components/chart/chart.types.js.map +1 -0
  13. package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +44 -0
  14. package/dist/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +1 -0
  15. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js +26 -0
  16. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +1 -0
  17. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +91 -0
  18. package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -0
  19. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +38 -0
  20. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +1 -0
  21. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +21 -0
  22. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +1 -0
  23. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js +55 -0
  24. package/dist/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +1 -0
  25. package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js +49 -0
  26. package/dist/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +1 -0
  27. package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js +23 -0
  28. package/dist/commonjs/features/pmProgress/components/chart/model/PieChartManager.js.map +1 -0
  29. package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js +79 -0
  30. package/dist/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +1 -0
  31. package/dist/commonjs/features/pmProgress/components/content/PmContent.js +48 -0
  32. package/dist/commonjs/features/pmProgress/components/content/PmContent.js.map +1 -0
  33. package/dist/commonjs/features/pmProgress/components/header/NextUp.js +127 -0
  34. package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -0
  35. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +133 -0
  36. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -0
  37. package/dist/commonjs/features/pmProgress/components/header/StartButton.js +126 -0
  38. package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -0
  39. package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +71 -0
  40. package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js.map +1 -0
  41. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +102 -0
  42. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -0
  43. package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js +72 -0
  44. package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js.map +1 -0
  45. package/dist/commonjs/features/pmProgress/components/list/Fluency.js +82 -0
  46. package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -0
  47. package/dist/commonjs/features/pmProgress/components/list/ListCard.js +207 -0
  48. package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +1 -0
  49. package/dist/commonjs/features/pmProgress/components/list/ListItem.js +141 -0
  50. package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +1 -0
  51. package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +97 -0
  52. package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +1 -0
  53. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +101 -0
  54. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -0
  55. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +135 -0
  56. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -0
  57. package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +203 -0
  58. package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js.map +1 -0
  59. package/dist/commonjs/features/pmProgress/context/PmProgressContext.js +18 -0
  60. package/dist/commonjs/features/pmProgress/context/PmProgressContext.js.map +1 -0
  61. package/dist/commonjs/features/pmProgress/index.js +64 -0
  62. package/dist/commonjs/features/pmProgress/index.js.map +1 -0
  63. package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js +15 -0
  64. package/dist/commonjs/features/pmProgress/model/PmHighlightModel.js.map +1 -0
  65. package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js +22 -0
  66. package/dist/commonjs/features/pmProgress/model/PmInsightsModel.js.map +1 -0
  67. package/dist/commonjs/features/pmProgress/model/PmProgressApi.js +18 -0
  68. package/dist/commonjs/features/pmProgress/model/PmProgressApi.js.map +1 -0
  69. package/dist/commonjs/features/pmProgress/model/PmProgressModel.js +43 -0
  70. package/dist/commonjs/features/pmProgress/model/PmProgressModel.js.map +1 -0
  71. package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js +47 -0
  72. package/dist/commonjs/features/pmProgress/model/PmRecommendationsModel.js.map +1 -0
  73. package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js +104 -0
  74. package/dist/commonjs/features/pmProgress/model/PmSolvingFlowModel.js.map +1 -0
  75. package/dist/commonjs/features/pmProgress/model/PmTreeModel.js +176 -0
  76. package/dist/commonjs/features/pmProgress/model/PmTreeModel.js.map +1 -0
  77. package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js +52 -0
  78. package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js.map +1 -0
  79. package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +65 -0
  80. package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js.map +1 -0
  81. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +234 -0
  82. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -0
  83. package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js +12 -0
  84. package/dist/commonjs/features/pmProgress/shared/pmProgress.types.js.map +1 -0
  85. package/dist/commonjs/features/voice/constants.js +3 -15
  86. package/dist/commonjs/features/voice/constants.js.map +1 -1
  87. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js +5 -19
  88. package/dist/commonjs/features/voice/recording/components/VoiceRecord.js.map +1 -1
  89. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +26 -81
  90. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  91. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  92. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
  93. package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  94. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +0 -5
  95. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  96. package/dist/commonjs/features/voice/types.js +0 -6
  97. package/dist/commonjs/features/voice/types.js.map +1 -1
  98. package/dist/commonjs/index.js +15 -3
  99. package/dist/commonjs/index.js.map +1 -1
  100. package/dist/commonjs/shared/icons/MenuIcon.js +30 -0
  101. package/dist/commonjs/shared/icons/MenuIcon.js.map +1 -0
  102. package/dist/commonjs/shared/icons/PentagonIcon.js +29 -0
  103. package/dist/commonjs/shared/icons/PentagonIcon.js.map +1 -0
  104. package/dist/commonjs/shared/icons/SketchArrowRight.js +33 -0
  105. package/dist/commonjs/shared/icons/SketchArrowRight.js.map +1 -0
  106. package/dist/commonjs/shared/icons/SliceDiamondIcon.js +29 -0
  107. package/dist/commonjs/shared/icons/SliceDiamondIcon.js.map +1 -0
  108. package/dist/commonjs/shared/icons/StarIcon.js +32 -0
  109. package/dist/commonjs/shared/icons/StarIcon.js.map +1 -0
  110. package/dist/commonjs/shared/icons/TimerIcon.js +35 -0
  111. package/dist/commonjs/shared/icons/TimerIcon.js.map +1 -0
  112. package/dist/commonjs/shared/translation/localization/ca.json +24 -0
  113. package/dist/commonjs/shared/translation/localization/de.json +24 -0
  114. package/dist/commonjs/shared/translation/localization/en.json +24 -0
  115. package/dist/commonjs/shared/translation/localization/gb.json +24 -0
  116. package/dist/commonjs/shared/translation/localization/sct.json +24 -0
  117. package/dist/commonjs/shared/translation/localization/sw.json +24 -0
  118. package/dist/module/features/chatbot/components/ChatInput/ChatInput.js +2 -1
  119. package/dist/module/features/chatbot/components/ChatInput/ChatInput.js.map +1 -1
  120. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js +2 -1
  121. package/dist/module/features/chatbot/components/ChatMessage/MessageContent.js.map +1 -1
  122. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +2 -2
  123. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
  124. package/dist/module/features/pmProgress/PmProgress.js +35 -0
  125. package/dist/module/features/pmProgress/PmProgress.js.map +1 -0
  126. package/dist/module/features/pmProgress/components/chart/chart.helpers.js +17 -0
  127. package/dist/module/features/pmProgress/components/chart/chart.helpers.js.map +1 -0
  128. package/dist/module/features/pmProgress/components/chart/chart.types.js +2 -0
  129. package/dist/module/features/pmProgress/components/chart/chart.types.js.map +1 -0
  130. package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js +38 -0
  131. package/dist/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.js.map +1 -0
  132. package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js +20 -0
  133. package/dist/module/features/pmProgress/components/chart/components/SlicesClipPaths.js.map +1 -0
  134. package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js +85 -0
  135. package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -0
  136. package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js +32 -0
  137. package/dist/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.js.map +1 -0
  138. package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js +15 -0
  139. package/dist/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.js.map +1 -0
  140. package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js +49 -0
  141. package/dist/module/features/pmProgress/components/chart/components/layers/SliceFillColor.js.map +1 -0
  142. package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js +44 -0
  143. package/dist/module/features/pmProgress/components/chart/model/ArcPatternGenerator.js.map +1 -0
  144. package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js +18 -0
  145. package/dist/module/features/pmProgress/components/chart/model/PieChartManager.js.map +1 -0
  146. package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js +74 -0
  147. package/dist/module/features/pmProgress/components/chart/model/SliceShapeGenerator.js.map +1 -0
  148. package/dist/module/features/pmProgress/components/content/PmContent.js +42 -0
  149. package/dist/module/features/pmProgress/components/content/PmContent.js.map +1 -0
  150. package/dist/module/features/pmProgress/components/header/NextUp.js +121 -0
  151. package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -0
  152. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +126 -0
  153. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -0
  154. package/dist/module/features/pmProgress/components/header/StartButton.js +119 -0
  155. package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -0
  156. package/dist/module/features/pmProgress/components/insights/PmInsights.js +64 -0
  157. package/dist/module/features/pmProgress/components/insights/PmInsights.js.map +1 -0
  158. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +97 -0
  159. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -0
  160. package/dist/module/features/pmProgress/components/insights/StatsCard.js +66 -0
  161. package/dist/module/features/pmProgress/components/insights/StatsCard.js.map +1 -0
  162. package/dist/module/features/pmProgress/components/list/Fluency.js +76 -0
  163. package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -0
  164. package/dist/module/features/pmProgress/components/list/ListCard.js +200 -0
  165. package/dist/module/features/pmProgress/components/list/ListCard.js.map +1 -0
  166. package/dist/module/features/pmProgress/components/list/ListItem.js +134 -0
  167. package/dist/module/features/pmProgress/components/list/ListItem.js.map +1 -0
  168. package/dist/module/features/pmProgress/components/list/PmDomainList.js +91 -0
  169. package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +1 -0
  170. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +95 -0
  171. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -0
  172. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +129 -0
  173. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -0
  174. package/dist/module/features/pmProgress/components/standard/StandardTag.js +197 -0
  175. package/dist/module/features/pmProgress/components/standard/StandardTag.js.map +1 -0
  176. package/dist/module/features/pmProgress/context/PmProgressContext.js +13 -0
  177. package/dist/module/features/pmProgress/context/PmProgressContext.js.map +1 -0
  178. package/dist/module/features/pmProgress/index.js +9 -0
  179. package/dist/module/features/pmProgress/index.js.map +1 -0
  180. package/dist/module/features/pmProgress/model/PmHighlightModel.js +10 -0
  181. package/dist/module/features/pmProgress/model/PmHighlightModel.js.map +1 -0
  182. package/dist/module/features/pmProgress/model/PmInsightsModel.js +17 -0
  183. package/dist/module/features/pmProgress/model/PmInsightsModel.js.map +1 -0
  184. package/dist/module/features/pmProgress/model/PmProgressApi.js +13 -0
  185. package/dist/module/features/pmProgress/model/PmProgressApi.js.map +1 -0
  186. package/dist/module/features/pmProgress/model/PmProgressModel.js +38 -0
  187. package/dist/module/features/pmProgress/model/PmProgressModel.js.map +1 -0
  188. package/dist/module/features/pmProgress/model/PmRecommendationsModel.js +42 -0
  189. package/dist/module/features/pmProgress/model/PmRecommendationsModel.js.map +1 -0
  190. package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js +99 -0
  191. package/dist/module/features/pmProgress/model/PmSolvingFlowModel.js.map +1 -0
  192. package/dist/module/features/pmProgress/model/PmTreeModel.js +171 -0
  193. package/dist/module/features/pmProgress/model/PmTreeModel.js.map +1 -0
  194. package/dist/module/features/pmProgress/shared/TreeNormalizer.js +47 -0
  195. package/dist/module/features/pmProgress/shared/TreeNormalizer.js.map +1 -0
  196. package/dist/module/features/pmProgress/shared/pmProgress.constants.js +62 -0
  197. package/dist/module/features/pmProgress/shared/pmProgress.constants.js.map +1 -0
  198. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +214 -0
  199. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -0
  200. package/dist/module/features/pmProgress/shared/pmProgress.types.js +8 -0
  201. package/dist/module/features/pmProgress/shared/pmProgress.types.js.map +1 -0
  202. package/dist/module/features/voice/constants.js +2 -14
  203. package/dist/module/features/voice/constants.js.map +1 -1
  204. package/dist/module/features/voice/recording/components/VoiceRecord.js +6 -20
  205. package/dist/module/features/voice/recording/components/VoiceRecord.js.map +1 -1
  206. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +28 -83
  207. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  208. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
  209. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
  210. package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
  211. package/dist/module/features/voice/recording/model/VoiceRecord.model.js +0 -5
  212. package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  213. package/dist/module/features/voice/types.js +1 -5
  214. package/dist/module/features/voice/types.js.map +1 -1
  215. package/dist/module/index.js +1 -0
  216. package/dist/module/index.js.map +1 -1
  217. package/dist/module/shared/icons/MenuIcon.js +22 -0
  218. package/dist/module/shared/icons/MenuIcon.js.map +1 -0
  219. package/dist/module/shared/icons/PentagonIcon.js +21 -0
  220. package/dist/module/shared/icons/PentagonIcon.js.map +1 -0
  221. package/dist/module/shared/icons/SketchArrowRight.js +25 -0
  222. package/dist/module/shared/icons/SketchArrowRight.js.map +1 -0
  223. package/dist/module/shared/icons/SliceDiamondIcon.js +21 -0
  224. package/dist/module/shared/icons/SliceDiamondIcon.js.map +1 -0
  225. package/dist/module/shared/icons/StarIcon.js +24 -0
  226. package/dist/module/shared/icons/StarIcon.js.map +1 -0
  227. package/dist/module/shared/icons/TimerIcon.js +27 -0
  228. package/dist/module/shared/icons/TimerIcon.js.map +1 -0
  229. package/dist/module/shared/translation/localization/ca.json +24 -0
  230. package/dist/module/shared/translation/localization/de.json +24 -0
  231. package/dist/module/shared/translation/localization/en.json +24 -0
  232. package/dist/module/shared/translation/localization/gb.json +24 -0
  233. package/dist/module/shared/translation/localization/sct.json +24 -0
  234. package/dist/module/shared/translation/localization/sw.json +24 -0
  235. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
  236. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  237. package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts +9 -0
  238. package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts.map +1 -0
  239. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts +4 -0
  240. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.helpers.d.ts.map +1 -0
  241. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts +36 -0
  242. package/dist/typescript/commonjs/features/pmProgress/components/chart/chart.types.d.ts.map +1 -0
  243. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +9 -0
  244. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +1 -0
  245. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +10 -0
  246. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +1 -0
  247. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts +11 -0
  248. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +1 -0
  249. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +12 -0
  250. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +1 -0
  251. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +8 -0
  252. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +1 -0
  253. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +14 -0
  254. package/dist/typescript/commonjs/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +1 -0
  255. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +12 -0
  256. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +1 -0
  257. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts +14 -0
  258. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +1 -0
  259. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +17 -0
  260. package/dist/typescript/commonjs/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +1 -0
  261. package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts +3 -0
  262. package/dist/typescript/commonjs/features/pmProgress/components/content/PmContent.d.ts.map +1 -0
  263. package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts +3 -0
  264. package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts.map +1 -0
  265. package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts +3 -0
  266. package/dist/typescript/commonjs/features/pmProgress/components/header/PmProgressHeader.d.ts.map +1 -0
  267. package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts +11 -0
  268. package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts.map +1 -0
  269. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts +3 -0
  270. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmInsights.d.ts.map +1 -0
  271. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts +3 -0
  272. package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +1 -0
  273. package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts +12 -0
  274. package/dist/typescript/commonjs/features/pmProgress/components/insights/StatsCard.d.ts.map +1 -0
  275. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts +8 -0
  276. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +1 -0
  277. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts +31 -0
  278. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +1 -0
  279. package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts +12 -0
  280. package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts.map +1 -0
  281. package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts +3 -0
  282. package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts.map +1 -0
  283. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts +8 -0
  284. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -0
  285. package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts +3 -0
  286. package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -0
  287. package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts +9 -0
  288. package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -0
  289. package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts +15 -0
  290. package/dist/typescript/commonjs/features/pmProgress/context/PmProgressContext.d.ts.map +1 -0
  291. package/dist/typescript/commonjs/features/pmProgress/index.d.ts +7 -0
  292. package/dist/typescript/commonjs/features/pmProgress/index.d.ts.map +1 -0
  293. package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts +7 -0
  294. package/dist/typescript/commonjs/features/pmProgress/model/PmHighlightModel.d.ts.map +1 -0
  295. package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts +14 -0
  296. package/dist/typescript/commonjs/features/pmProgress/model/PmInsightsModel.d.ts.map +1 -0
  297. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts +17 -0
  298. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressApi.d.ts.map +1 -0
  299. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts +23 -0
  300. package/dist/typescript/commonjs/features/pmProgress/model/PmProgressModel.d.ts.map +1 -0
  301. package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts +102 -0
  302. package/dist/typescript/commonjs/features/pmProgress/model/PmRecommendationsModel.d.ts.map +1 -0
  303. package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts +22 -0
  304. package/dist/typescript/commonjs/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +1 -0
  305. package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts +25 -0
  306. package/dist/typescript/commonjs/features/pmProgress/model/PmTreeModel.d.ts.map +1 -0
  307. package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts +17 -0
  308. package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts.map +1 -0
  309. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +49 -0
  310. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -0
  311. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +73 -0
  312. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -0
  313. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts +193 -0
  314. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.types.d.ts.map +1 -0
  315. package/dist/typescript/commonjs/features/voice/constants.d.ts +2 -12
  316. package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
  317. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  318. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts +3 -1
  319. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  320. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +1 -2
  321. package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  322. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts +1 -3
  323. package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  324. package/dist/typescript/commonjs/features/voice/types.d.ts +0 -4
  325. package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
  326. package/dist/typescript/commonjs/index.d.ts +1 -0
  327. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  328. package/dist/typescript/commonjs/shared/icons/MenuIcon.d.ts +4 -0
  329. package/dist/typescript/commonjs/shared/icons/MenuIcon.d.ts.map +1 -0
  330. package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts +4 -0
  331. package/dist/typescript/commonjs/shared/icons/PentagonIcon.d.ts.map +1 -0
  332. package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts +4 -0
  333. package/dist/typescript/commonjs/shared/icons/SketchArrowRight.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts +4 -0
  335. package/dist/typescript/commonjs/shared/icons/SliceDiamondIcon.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts +4 -0
  337. package/dist/typescript/commonjs/shared/icons/StarIcon.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts +4 -0
  339. package/dist/typescript/commonjs/shared/icons/TimerIcon.d.ts.map +1 -0
  340. package/dist/typescript/commonjs/shared/translation/constants.d.ts +144 -0
  341. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  342. package/dist/typescript/commonjs/shared/translation/model.d.ts +48 -0
  343. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  344. package/dist/typescript/module/features/chatbot/components/ChatInput/ChatInput.d.ts.map +1 -1
  345. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageContent.d.ts.map +1 -1
  346. package/dist/typescript/module/features/pmProgress/PmProgress.d.ts +9 -0
  347. package/dist/typescript/module/features/pmProgress/PmProgress.d.ts.map +1 -0
  348. package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts +4 -0
  349. package/dist/typescript/module/features/pmProgress/components/chart/chart.helpers.d.ts.map +1 -0
  350. package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts +36 -0
  351. package/dist/typescript/module/features/pmProgress/components/chart/chart.types.d.ts.map +1 -0
  352. package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts +9 -0
  353. package/dist/typescript/module/features/pmProgress/components/chart/components/PracticeProgressPieChart.d.ts.map +1 -0
  354. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts +10 -0
  355. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesClipPaths.d.ts.map +1 -0
  356. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts +11 -0
  357. package/dist/typescript/module/features/pmProgress/components/chart/components/SlicesPaths.d.ts.map +1 -0
  358. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts +12 -0
  359. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceArcPattern.d.ts.map +1 -0
  360. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts +8 -0
  361. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.d.ts.map +1 -0
  362. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts +14 -0
  363. package/dist/typescript/module/features/pmProgress/components/chart/components/layers/SliceFillColor.d.ts.map +1 -0
  364. package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts +12 -0
  365. package/dist/typescript/module/features/pmProgress/components/chart/model/ArcPatternGenerator.d.ts.map +1 -0
  366. package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts +14 -0
  367. package/dist/typescript/module/features/pmProgress/components/chart/model/PieChartManager.d.ts.map +1 -0
  368. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts +17 -0
  369. package/dist/typescript/module/features/pmProgress/components/chart/model/SliceShapeGenerator.d.ts.map +1 -0
  370. package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts +3 -0
  371. package/dist/typescript/module/features/pmProgress/components/content/PmContent.d.ts.map +1 -0
  372. package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts +3 -0
  373. package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts.map +1 -0
  374. package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts +3 -0
  375. package/dist/typescript/module/features/pmProgress/components/header/PmProgressHeader.d.ts.map +1 -0
  376. package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts +11 -0
  377. package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts.map +1 -0
  378. package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts +3 -0
  379. package/dist/typescript/module/features/pmProgress/components/insights/PmInsights.d.ts.map +1 -0
  380. package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts +3 -0
  381. package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +1 -0
  382. package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts +12 -0
  383. package/dist/typescript/module/features/pmProgress/components/insights/StatsCard.d.ts.map +1 -0
  384. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts +8 -0
  385. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +1 -0
  386. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts +31 -0
  387. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +1 -0
  388. package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts +12 -0
  389. package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts.map +1 -0
  390. package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts +3 -0
  391. package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts.map +1 -0
  392. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts +8 -0
  393. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -0
  394. package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts +3 -0
  395. package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -0
  396. package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts +9 -0
  397. package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -0
  398. package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts +15 -0
  399. package/dist/typescript/module/features/pmProgress/context/PmProgressContext.d.ts.map +1 -0
  400. package/dist/typescript/module/features/pmProgress/index.d.ts +7 -0
  401. package/dist/typescript/module/features/pmProgress/index.d.ts.map +1 -0
  402. package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts +7 -0
  403. package/dist/typescript/module/features/pmProgress/model/PmHighlightModel.d.ts.map +1 -0
  404. package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts +14 -0
  405. package/dist/typescript/module/features/pmProgress/model/PmInsightsModel.d.ts.map +1 -0
  406. package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts +17 -0
  407. package/dist/typescript/module/features/pmProgress/model/PmProgressApi.d.ts.map +1 -0
  408. package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts +23 -0
  409. package/dist/typescript/module/features/pmProgress/model/PmProgressModel.d.ts.map +1 -0
  410. package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts +102 -0
  411. package/dist/typescript/module/features/pmProgress/model/PmRecommendationsModel.d.ts.map +1 -0
  412. package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts +22 -0
  413. package/dist/typescript/module/features/pmProgress/model/PmSolvingFlowModel.d.ts.map +1 -0
  414. package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts +25 -0
  415. package/dist/typescript/module/features/pmProgress/model/PmTreeModel.d.ts.map +1 -0
  416. package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts +17 -0
  417. package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts.map +1 -0
  418. package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +49 -0
  419. package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -0
  420. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +73 -0
  421. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -0
  422. package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts +193 -0
  423. package/dist/typescript/module/features/pmProgress/shared/pmProgress.types.d.ts.map +1 -0
  424. package/dist/typescript/module/features/voice/constants.d.ts +2 -12
  425. package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
  426. package/dist/typescript/module/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
  427. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts +3 -1
  428. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  429. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +1 -2
  430. package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
  431. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts +1 -3
  432. package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
  433. package/dist/typescript/module/features/voice/types.d.ts +0 -4
  434. package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
  435. package/dist/typescript/module/index.d.ts +1 -0
  436. package/dist/typescript/module/index.d.ts.map +1 -1
  437. package/dist/typescript/module/shared/icons/MenuIcon.d.ts +4 -0
  438. package/dist/typescript/module/shared/icons/MenuIcon.d.ts.map +1 -0
  439. package/dist/typescript/module/shared/icons/PentagonIcon.d.ts +4 -0
  440. package/dist/typescript/module/shared/icons/PentagonIcon.d.ts.map +1 -0
  441. package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts +4 -0
  442. package/dist/typescript/module/shared/icons/SketchArrowRight.d.ts.map +1 -0
  443. package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts +4 -0
  444. package/dist/typescript/module/shared/icons/SliceDiamondIcon.d.ts.map +1 -0
  445. package/dist/typescript/module/shared/icons/StarIcon.d.ts +4 -0
  446. package/dist/typescript/module/shared/icons/StarIcon.d.ts.map +1 -0
  447. package/dist/typescript/module/shared/icons/TimerIcon.d.ts +4 -0
  448. package/dist/typescript/module/shared/icons/TimerIcon.d.ts.map +1 -0
  449. package/dist/typescript/module/shared/translation/constants.d.ts +144 -0
  450. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  451. package/dist/typescript/module/shared/translation/model.d.ts +48 -0
  452. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  453. package/package.json +21 -13
  454. package/src/features/chatbot/components/ChatInput/ChatInput.tsx +2 -1
  455. package/src/features/chatbot/components/ChatMessage/MessageContent.tsx +2 -1
  456. package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +2 -2
  457. package/src/features/pmProgress/PmProgress.tsx +29 -0
  458. package/src/features/pmProgress/__tests__/.keep +0 -0
  459. package/src/features/pmProgress/components/chart/chart.helpers.ts +16 -0
  460. package/src/features/pmProgress/components/chart/chart.types.ts +37 -0
  461. package/src/features/pmProgress/components/chart/components/PracticeProgressPieChart.tsx +32 -0
  462. package/src/features/pmProgress/components/chart/components/SlicesClipPaths.tsx +22 -0
  463. package/src/features/pmProgress/components/chart/components/SlicesPaths.tsx +90 -0
  464. package/src/features/pmProgress/components/chart/components/layers/SliceArcPattern.tsx +44 -0
  465. package/src/features/pmProgress/components/chart/components/layers/SliceBackgroundColor.tsx +11 -0
  466. package/src/features/pmProgress/components/chart/components/layers/SliceFillColor.tsx +60 -0
  467. package/src/features/pmProgress/components/chart/model/ArcPatternGenerator.ts +48 -0
  468. package/src/features/pmProgress/components/chart/model/PieChartManager.ts +17 -0
  469. package/src/features/pmProgress/components/chart/model/SliceShapeGenerator.ts +90 -0
  470. package/src/features/pmProgress/components/content/PmContent.tsx +42 -0
  471. package/src/features/pmProgress/components/header/NextUp.tsx +109 -0
  472. package/src/features/pmProgress/components/header/PmProgressHeader.tsx +135 -0
  473. package/src/features/pmProgress/components/header/StartButton.tsx +160 -0
  474. package/src/features/pmProgress/components/insights/PmInsights.tsx +66 -0
  475. package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +94 -0
  476. package/src/features/pmProgress/components/insights/StatsCard.tsx +54 -0
  477. package/src/features/pmProgress/components/list/Fluency.tsx +72 -0
  478. package/src/features/pmProgress/components/list/ListCard.tsx +231 -0
  479. package/src/features/pmProgress/components/list/ListItem.tsx +167 -0
  480. package/src/features/pmProgress/components/list/PmDomainList.tsx +77 -0
  481. package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +101 -0
  482. package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +129 -0
  483. package/src/features/pmProgress/components/standard/StandardTag.tsx +181 -0
  484. package/src/features/pmProgress/context/PmProgressContext.tsx +26 -0
  485. package/src/features/pmProgress/index.ts +6 -0
  486. package/src/features/pmProgress/model/PmHighlightModel.ts +11 -0
  487. package/src/features/pmProgress/model/PmInsightsModel.ts +23 -0
  488. package/src/features/pmProgress/model/PmProgressApi.ts +34 -0
  489. package/src/features/pmProgress/model/PmProgressModel.ts +48 -0
  490. package/src/features/pmProgress/model/PmRecommendationsModel.ts +47 -0
  491. package/src/features/pmProgress/model/PmSolvingFlowModel.ts +140 -0
  492. package/src/features/pmProgress/model/PmTreeModel.ts +171 -0
  493. package/src/features/pmProgress/shared/TreeNormalizer.ts +64 -0
  494. package/src/features/pmProgress/shared/pmProgress.constants.ts +100 -0
  495. package/src/features/pmProgress/shared/pmProgress.helpers.ts +307 -0
  496. package/src/features/pmProgress/shared/pmProgress.types.ts +217 -0
  497. package/src/features/voice/constants.ts +2 -14
  498. package/src/features/voice/recording/components/VoiceRecord.tsx +5 -28
  499. package/src/features/voice/recording/components/VoiceRecordButton.tsx +30 -114
  500. package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -2
  501. package/src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts +4 -8
  502. package/src/features/voice/recording/model/VoiceRecord.model.ts +0 -7
  503. package/src/features/voice/types.ts +0 -5
  504. package/src/index.ts +1 -0
  505. package/src/shared/icons/MenuIcon.tsx +15 -0
  506. package/src/shared/icons/PentagonIcon.tsx +14 -0
  507. package/src/shared/icons/SketchArrowRight.tsx +18 -0
  508. package/src/shared/icons/SliceDiamondIcon.tsx +14 -0
  509. package/src/shared/icons/StarIcon.tsx +17 -0
  510. package/src/shared/icons/TimerIcon.tsx +21 -0
  511. package/src/shared/translation/localization/ca.json +24 -0
  512. package/src/shared/translation/localization/de.json +24 -0
  513. package/src/shared/translation/localization/en.json +24 -0
  514. package/src/shared/translation/localization/gb.json +24 -0
  515. package/src/shared/translation/localization/sct.json +24 -0
  516. package/src/shared/translation/localization/sw.json +24 -0
@@ -0,0 +1,66 @@
1
+ import React, { useMemo, useState } from 'react'
2
+ import { useStoreMap } from 'effector-react'
3
+ import { LayoutChangeEvent, StyleSheet, View } from 'react-native'
4
+ import { BORDER_RADIUS, COLORS, SHADOWS, SPACING } from '@magmamath/react-native-ui'
5
+ import { PracticeProgressPieChart } from '../chart/components/PracticeProgressPieChart'
6
+ import { PmTimeframeStats } from './PmTimeframeStats'
7
+ import { usePmProgress } from '../../context/PmProgressContext'
8
+ import { createChartConfig } from '../../shared/pmProgress.helpers'
9
+ import {
10
+ EMPTY_PIE_CHART_DATA,
11
+ MAX_PIE_CHART_SIZE,
12
+ STATS_MAX_HEIGHT,
13
+ } from '../../shared/pmProgress.constants'
14
+
15
+ export const PmInsights = () => {
16
+ const { model } = usePmProgress()
17
+ const [chartSize, setChartSize] = useState(MAX_PIE_CHART_SIZE)
18
+ const chartData = useStoreMap(model.tree.$domains, (domains) =>
19
+ domains.map((domain) => ({
20
+ value: 1,
21
+ fillPercent: Math.round(domain.scorePercentage),
22
+ fillColor: domain.color,
23
+ borderColor: domain.borderColor,
24
+ backgroundColor: domain.backgroundColor,
25
+ })),
26
+ )
27
+
28
+ const chartConfig = useMemo(() => {
29
+ const size = Math.max(0, chartSize - SPACING[400])
30
+ return createChartConfig(size)
31
+ }, [chartSize])
32
+
33
+ const measureLayout = (event: LayoutChangeEvent) => {
34
+ const height = event.nativeEvent.layout.height
35
+ const size = Math.min(height - STATS_MAX_HEIGHT - SPACING[800], MAX_PIE_CHART_SIZE)
36
+ setChartSize(size)
37
+ }
38
+
39
+ return (
40
+ <View style={styles.container} onLayout={measureLayout}>
41
+ <View style={[styles.chart, { width: chartSize, height: chartSize }]}>
42
+ <PracticeProgressPieChart
43
+ data={chartData.length > 0 ? chartData : EMPTY_PIE_CHART_DATA}
44
+ config={chartConfig}
45
+ />
46
+ </View>
47
+ <PmTimeframeStats />
48
+ </View>
49
+ )
50
+ }
51
+
52
+ const styles = StyleSheet.create({
53
+ container: {
54
+ height: '100%',
55
+ },
56
+ chart: {
57
+ alignItems: 'center',
58
+ justifyContent: 'center',
59
+ backgroundColor: COLORS.NEUTRAL_1,
60
+ borderRadius: BORDER_RADIUS[250],
61
+ padding: SPACING[400],
62
+ marginBottom: SPACING[400],
63
+ marginTop: SPACING[400],
64
+ ...SHADOWS['1'],
65
+ },
66
+ })
@@ -0,0 +1,94 @@
1
+ import React from 'react'
2
+ import { StyleSheet, View } from 'react-native'
3
+ import {
4
+ COLORS,
5
+ FONT_FAMILY,
6
+ SelectGroup,
7
+ SelectOptionColor,
8
+ SelectOptionProps,
9
+ SHADOWS,
10
+ SPACING,
11
+ } from '@magmamath/react-native-ui'
12
+ import { StatsCard } from './StatsCard'
13
+ import { StarIcon } from '../../../../shared/icons/StarIcon'
14
+ import { TimerIcon } from '../../../../shared/icons/TimerIcon'
15
+ import { BORDER_RADIUS } from '@magmamath/react-native-ui'
16
+ import { useText } from '../../../../shared/translation'
17
+ import { useUnit } from 'effector-react'
18
+ import { formatTime } from '../../shared/pmProgress.helpers'
19
+ import { InsightsTimeframe, STATS_MAX_HEIGHT } from '../../shared/pmProgress.constants'
20
+ import { usePmProgress } from '../../context/PmProgressContext'
21
+
22
+ const optionStyle: SelectOptionProps['style'] = {
23
+ text: {
24
+ fontSize: 13,
25
+ fontFamily: FONT_FAMILY.buenosAires,
26
+ color: COLORS.NEUTRAL_9,
27
+ },
28
+ }
29
+
30
+ export const PmTimeframeStats = () => {
31
+ const t = useText()
32
+ const { model } = usePmProgress()
33
+ const timeframe = useUnit(model.insights.$timeframe)
34
+ const insights = useUnit(model.insights.$insights)
35
+
36
+ const OPTIONS: SelectOptionProps[] = [
37
+ { key: InsightsTimeframe.WEEK, title: t('pmProgress.thisWeek'), style: optionStyle },
38
+ { key: InsightsTimeframe.LAST_WEEK, title: t('pmProgress.lastWeek'), style: optionStyle },
39
+ { key: InsightsTimeframe.ALL, title: t('pmProgress.allTime'), style: optionStyle },
40
+ ]
41
+
42
+ return (
43
+ <View style={styles.container}>
44
+ <View style={styles.content}>
45
+ <View style={styles.cards}>
46
+ <StatsCard
47
+ value={insights?.numberOfStars ?? 0}
48
+ label={t('pmProgress.stars')}
49
+ color={COLORS.PRIMARY_YELLOW}
50
+ icon={<StarIcon />}
51
+ />
52
+ <StatsCard
53
+ value={formatTime(insights?.timeInPracticeMs ?? 0)}
54
+ label={t('pmProgress.time')}
55
+ color={COLORS.PRIMARY_PURPLE}
56
+ iconStyle={styles.timeIcon}
57
+ icon={<TimerIcon />}
58
+ />
59
+ </View>
60
+
61
+ <SelectGroup
62
+ color={SelectOptionColor.GREY}
63
+ options={OPTIONS}
64
+ selectedOptions={OPTIONS.filter(({ key }) => key === timeframe)}
65
+ onOptionChange={({ key }) => model.insights.setTimeframe(key as InsightsTimeframe)}
66
+ />
67
+ </View>
68
+ </View>
69
+ )
70
+ }
71
+
72
+ const styles = StyleSheet.create({
73
+ container: {
74
+ maxHeight: STATS_MAX_HEIGHT,
75
+ height: '100%',
76
+ padding: SPACING[200],
77
+ backgroundColor: COLORS.NEUTRAL_1,
78
+ borderRadius: BORDER_RADIUS[300],
79
+ ...SHADOWS['1'],
80
+ },
81
+ content: {
82
+ gap: SPACING[100],
83
+ marginBottom: 4,
84
+ },
85
+ cards: {
86
+ flexDirection: 'row',
87
+ justifyContent: 'space-between',
88
+ gap: SPACING[300],
89
+ },
90
+ timeIcon: {
91
+ paddingBottom: 2,
92
+ paddingLeft: 2,
93
+ },
94
+ })
@@ -0,0 +1,54 @@
1
+ import React, { ReactNode } from 'react'
2
+ import { View, StyleSheet, Text, ViewStyle } from 'react-native'
3
+ import { BORDER_RADIUS, COLORS, FONT_FAMILY, SPACING } from '@magmamath/react-native-ui'
4
+
5
+ type StatsCardProps = {
6
+ value: number | string
7
+ label: string
8
+ color: string
9
+ icon: ReactNode
10
+ iconStyle?: ViewStyle
11
+ }
12
+
13
+ export const StatsCard = ({ value, label, color, icon, iconStyle }: StatsCardProps) => {
14
+ return (
15
+ <View style={[styles.card, { borderColor: color }]}>
16
+ <View style={[styles.iconContainer, { backgroundColor: color }, iconStyle]}>{icon}</View>
17
+ <View>
18
+ <Text style={[styles.value, { color }]}>{value}</Text>
19
+ <Text style={styles.label}>{label}</Text>
20
+ </View>
21
+ </View>
22
+ )
23
+ }
24
+
25
+ const styles = StyleSheet.create({
26
+ card: {
27
+ flex: 1,
28
+ height: 65,
29
+ alignItems: 'center',
30
+ flexDirection: 'row',
31
+ borderRadius: BORDER_RADIUS[300],
32
+ borderWidth: 4,
33
+ padding: SPACING[200],
34
+ gap: SPACING[200],
35
+ },
36
+ iconContainer: {
37
+ width: 42,
38
+ height: 42,
39
+ alignItems: 'center',
40
+ justifyContent: 'center',
41
+ borderRadius: 100,
42
+ },
43
+ value: {
44
+ fontSize: 32,
45
+ fontWeight: '700',
46
+ fontFamily: FONT_FAMILY.buenosAires,
47
+ },
48
+ label: {
49
+ color: COLORS.NEUTRAL_8,
50
+ fontSize: 12,
51
+ fontFamily: FONT_FAMILY.buenosAires,
52
+ top: -6,
53
+ },
54
+ })
@@ -0,0 +1,72 @@
1
+ import React from 'react'
2
+ import { StyleSheet, View } from 'react-native'
3
+ import { ListCard } from './ListCard'
4
+ import { COLORS, SPACING } from '@magmamath/react-native-ui'
5
+ import { SliceDiamondIcon } from '../../../../shared/icons/SliceDiamondIcon'
6
+ import { useText } from '../../../../shared/translation'
7
+ import { useUnit } from 'effector-react'
8
+ import { SolvingFlow } from '../../shared/pmProgress.constants'
9
+ import { Domain } from '../../shared/pmProgress.types'
10
+ import { usePmProgress } from '../../context/PmProgressContext'
11
+
12
+ type FluencyProps = {
13
+ data: Domain | undefined
14
+ }
15
+
16
+ export const Fluency = ({ data }: FluencyProps) => {
17
+ const t = useText()
18
+ const { model, onStandardPress } = usePmProgress()
19
+ const expandedId = useUnit(model.highlight.$expandedId)
20
+ const hoveredId = useUnit(model.highlight.$hoveredId)
21
+ const loaderOpeningId = useUnit(model.solving.$loaderOpeningId)
22
+
23
+ if (!data) return null
24
+
25
+ const isExpanded = expandedId === data.domainId
26
+ const isHighlighted = hoveredId === data.domainId || isExpanded
27
+
28
+ return (
29
+ <View style={styles.container}>
30
+ <View style={styles.separator} />
31
+ <ListCard
32
+ title={t('pmProgress.fluency')}
33
+ items={data.standards.map((standard) => ({ ...standard, id: standard.standardId }))}
34
+ progress={data.scorePercentage}
35
+ color={COLORS.PRIMARY_ORANGE}
36
+ onPress={() => model.highlight.expand(data.domainId)}
37
+ onHoverIn={() => model.highlight.hover(data.domainId)}
38
+ onHoverOut={() => model.highlight.hover(null)}
39
+ onItemPress={async (item) => {
40
+ try {
41
+ model.solving.setLoaderOpeningId(item.id)
42
+ const skill = await model.solving.start({
43
+ type: SolvingFlow.STANDARD,
44
+ standardId: item.standardId,
45
+ })
46
+ await onStandardPress?.(skill)
47
+ } finally {
48
+ model.solving.setLoaderOpeningId(null)
49
+ }
50
+ }}
51
+ loadingItemId={loaderOpeningId}
52
+ isFirst
53
+ isLast
54
+ isExpanded={isExpanded}
55
+ isHighlighted={isHighlighted}
56
+ icon={<SliceDiamondIcon color={COLORS.PRIMARY_ORANGE} />}
57
+ />
58
+ </View>
59
+ )
60
+ }
61
+
62
+ const styles = StyleSheet.create({
63
+ container: {
64
+ marginBottom: SPACING[800],
65
+ },
66
+ separator: {
67
+ height: 1,
68
+ marginHorizontal: SPACING[100],
69
+ marginVertical: SPACING[200],
70
+ backgroundColor: COLORS.NEUTRAL_4,
71
+ },
72
+ })
@@ -0,0 +1,231 @@
1
+ import React, { useState } from 'react'
2
+ import { Pressable, View, StyleSheet, Platform, ViewStyle } from 'react-native'
3
+ import {
4
+ BORDER_RADIUS,
5
+ CaretDownIcon,
6
+ CaretRightIcon,
7
+ COLORS,
8
+ HeadingVariants,
9
+ SPACING,
10
+ Typography,
11
+ } from '@magmamath/react-native-ui'
12
+ import { ListItem } from './ListItem'
13
+ import { useText } from '../../../../shared/translation'
14
+ const HEADER_HEIGHT = 60
15
+ const PROGRESS_BAR_WIDTH = 50
16
+ const PROGRESS_BAR_HEIGHT = 10
17
+
18
+ export type ListCardItem = {
19
+ id: string
20
+ title: string
21
+ subtitle: string
22
+ isCompleted: boolean
23
+ skillsLeft: number
24
+ }
25
+
26
+ function getVisibleItems<T>(items: T[], maxItems?: number) {
27
+ const visible = maxItems != null ? items.slice(0, maxItems) : items
28
+ const remainingCount = maxItems != null ? Math.max(0, items.length - maxItems) : 0
29
+ return { visible, remainingCount }
30
+ }
31
+
32
+ type ListCardProps<T extends ListCardItem> = {
33
+ title: string
34
+ icon: React.ReactElement
35
+ color: string
36
+ items: T[]
37
+ onItemPress?: (item: T) => void
38
+ isExpanded?: boolean
39
+ onPress?: () => void
40
+ onHoverIn?: () => void
41
+ onHoverOut?: () => void
42
+ progress?: number
43
+ rightContent?: React.ReactNode
44
+ isFirst?: boolean
45
+ isLast?: boolean
46
+ maxItems?: number
47
+ expandedColor?: string
48
+ isSkillsLeftHidden?: boolean
49
+ isHighlighted?: boolean
50
+ loadingItemId?: string | null
51
+ }
52
+
53
+ export const ListCard = <T extends ListCardItem>({
54
+ title,
55
+ icon,
56
+ color,
57
+ items,
58
+ isExpanded = false,
59
+ isHighlighted = false,
60
+ onPress,
61
+ onHoverIn,
62
+ onHoverOut,
63
+ onItemPress,
64
+ progress = 0,
65
+ rightContent,
66
+ isFirst,
67
+ isLast,
68
+ maxItems,
69
+ expandedColor = COLORS.NEUTRAL_3,
70
+ isSkillsLeftHidden = false,
71
+ loadingItemId = null,
72
+ }: ListCardProps<T>) => {
73
+ const t = useText()
74
+ const [isHovered, setIsHovered] = useState(false)
75
+
76
+ const { visible: standards, remainingCount } = getVisibleItems(items, maxItems)
77
+ const withHighlight = isHovered || isExpanded || isHighlighted
78
+
79
+ const Caret = isExpanded ? CaretDownIcon : CaretRightIcon
80
+
81
+ return (
82
+ <View
83
+ style={[
84
+ styles.container,
85
+ !isFirst && styles.containerCollapsed,
86
+ isFirst && styles.containerFirst,
87
+ isLast && styles.containerLast,
88
+ withHighlight && { backgroundColor: expandedColor },
89
+ ]}
90
+ >
91
+ <Pressable
92
+ style={[
93
+ styles.header,
94
+ isFirst && styles.headerFirst,
95
+ isLast && !isExpanded && styles.headerLast,
96
+ withHighlight && { backgroundColor: expandedColor },
97
+ ]}
98
+ onPress={onPress}
99
+ onHoverIn={() => {
100
+ setIsHovered(true)
101
+ onHoverIn?.()
102
+ }}
103
+ onHoverOut={() => {
104
+ setIsHovered(false)
105
+ onHoverOut?.()
106
+ }}
107
+ >
108
+ <View>{icon}</View>
109
+
110
+ <View style={styles.caret}>
111
+ <Caret color={COLORS.NEUTRAL_9} />
112
+ </View>
113
+ <Typography variant={HeadingVariants.H6} style={styles.title}>
114
+ {title}
115
+ </Typography>
116
+ {rightContent ?? (
117
+ <View style={styles.progress}>
118
+ <Typography variant={HeadingVariants.H7} style={[styles.percentage, { color }]}>
119
+ {Math.round(progress)}%
120
+ </Typography>
121
+ <View style={styles.track}>
122
+ <View
123
+ style={[styles.fill, { width: `${Math.round(progress)}%`, backgroundColor: color }]}
124
+ />
125
+ </View>
126
+ </View>
127
+ )}
128
+ </Pressable>
129
+ {isExpanded && (
130
+ <View style={[styles.items, isLast && styles.itemsLast]}>
131
+ {standards.map((standard) => (
132
+ <ListItem
133
+ key={standard.id}
134
+ title={standard.title}
135
+ skillsLeft={standard.skillsLeft}
136
+ subtitle={standard.subtitle}
137
+ isFinished={standard.isCompleted}
138
+ isLoading={loadingItemId === standard.id}
139
+ isSkillsLeftHidden={isSkillsLeftHidden}
140
+ onPress={() => onItemPress?.(standard)}
141
+ />
142
+ ))}
143
+ {remainingCount > 0 && (
144
+ <Typography variant={HeadingVariants.H8} style={styles.moreText}>
145
+ {t('pmProgress.andMore', { count: `${remainingCount}` })}
146
+ </Typography>
147
+ )}
148
+ </View>
149
+ )}
150
+ </View>
151
+ )
152
+ }
153
+
154
+ const styles = StyleSheet.create({
155
+ container: {
156
+ justifyContent: 'center',
157
+ backgroundColor: COLORS.NEUTRAL_2,
158
+ overflow: 'hidden',
159
+ ...Platform.select({ web: { cursor: 'pointer' } as ViewStyle }),
160
+ },
161
+ containerCollapsed: {
162
+ marginTop: -1,
163
+ },
164
+ containerFirst: {
165
+ borderTopLeftRadius: BORDER_RADIUS[200],
166
+ borderTopRightRadius: BORDER_RADIUS[200],
167
+ },
168
+ containerLast: {
169
+ borderBottomLeftRadius: BORDER_RADIUS[200],
170
+ borderBottomRightRadius: BORDER_RADIUS[200],
171
+ },
172
+ header: {
173
+ flexDirection: 'row',
174
+ alignItems: 'center',
175
+ height: HEADER_HEIGHT,
176
+ padding: SPACING[400],
177
+ backgroundColor: COLORS.NEUTRAL_2,
178
+ borderWidth: 1,
179
+ borderColor: COLORS.NEUTRAL_4,
180
+ ...Platform.select({ web: { cursor: 'pointer' } as ViewStyle }),
181
+ },
182
+ headerFirst: {
183
+ borderTopLeftRadius: BORDER_RADIUS[200],
184
+ borderTopRightRadius: BORDER_RADIUS[200],
185
+ },
186
+ headerLast: {
187
+ borderBottomLeftRadius: BORDER_RADIUS[200],
188
+ borderBottomRightRadius: BORDER_RADIUS[200],
189
+ },
190
+ caret: {
191
+ marginLeft: SPACING[400],
192
+ },
193
+ title: {
194
+ color: COLORS.NEUTRAL_9,
195
+ marginLeft: SPACING[200],
196
+ flex: 1,
197
+ },
198
+ progress: {
199
+ flexDirection: 'row',
200
+ alignItems: 'center',
201
+ gap: SPACING[200],
202
+ },
203
+ percentage: {
204
+ textAlign: 'right',
205
+ },
206
+ track: {
207
+ width: PROGRESS_BAR_WIDTH,
208
+ height: PROGRESS_BAR_HEIGHT,
209
+ backgroundColor: COLORS.NEUTRAL_4,
210
+ borderRadius: BORDER_RADIUS[200],
211
+ overflow: 'hidden',
212
+ },
213
+ fill: {
214
+ height: '100%',
215
+ borderRadius: BORDER_RADIUS[200],
216
+ },
217
+ items: {
218
+ gap: SPACING[200],
219
+ padding: SPACING[200],
220
+ backgroundColor: COLORS.NEUTRAL_1,
221
+ },
222
+ itemsLast: {
223
+ borderBottomLeftRadius: BORDER_RADIUS[200],
224
+ borderBottomRightRadius: BORDER_RADIUS[200],
225
+ },
226
+ moreText: {
227
+ textAlign: 'center',
228
+ color: COLORS.NEUTRAL_7,
229
+ marginVertical: SPACING[200],
230
+ },
231
+ })
@@ -0,0 +1,167 @@
1
+ import React, { useState } from 'react'
2
+ import { ActivityIndicator, View, Pressable, StyleSheet, Text } from 'react-native'
3
+ import {
4
+ ArrowRightIcon,
5
+ BORDER_RADIUS,
6
+ CheckIcon,
7
+ COLORS,
8
+ FONT_FAMILY,
9
+ HeadingVariants,
10
+ SHADOWS,
11
+ SPACING,
12
+ Typography,
13
+ } from '@magmamath/react-native-ui'
14
+ import { useText } from '../../../../shared/translation'
15
+
16
+ const CARD_HEIGHT = 52
17
+ const ICON_SIZE = 25
18
+ const SUBTITLE_FONT_SIZE = 10
19
+ const SUBTITLE_LINE_HEIGHT = 14
20
+
21
+ export type ListItemProps = {
22
+ title: string
23
+ subtitle: string
24
+ skillsLeft: number
25
+ isFinished?: boolean
26
+ isLoading?: boolean
27
+ onPress?: () => void
28
+ isSkillsLeftHidden?: boolean
29
+ }
30
+
31
+ export const ListItem = ({
32
+ title,
33
+ subtitle,
34
+ skillsLeft,
35
+ isFinished = false,
36
+ isLoading = false,
37
+ onPress,
38
+ isSkillsLeftHidden = false,
39
+ }: ListItemProps) => {
40
+ const t = useText()
41
+ const [isHovered, setIsHovered] = useState(false)
42
+ const isSkillsLeftVisible = skillsLeft > 0 && !isFinished && !isSkillsLeftHidden
43
+ const hasDistinctSubtitle = title !== subtitle
44
+
45
+ return (
46
+ <Pressable
47
+ onPress={onPress}
48
+ disabled={isLoading}
49
+ style={[
50
+ styles.card,
51
+ isFinished && styles.finished,
52
+ isHovered && styles.hovered,
53
+ isHovered && isFinished && styles.hoveredFinished,
54
+ isLoading && styles.loading,
55
+ ]}
56
+ onHoverIn={() => setIsHovered(true)}
57
+ onHoverOut={() => setIsHovered(false)}
58
+ >
59
+ <View style={styles.content}>
60
+ <Typography
61
+ variant={HeadingVariants.H10}
62
+ style={[styles.title, isFinished && styles.titleFinished]}
63
+ numberOfLines={1}
64
+ >
65
+ {title}
66
+ </Typography>
67
+ {hasDistinctSubtitle && (
68
+ <Typography
69
+ style={[styles.subtitle, isFinished && styles.subtitleFinished]}
70
+ numberOfLines={1}
71
+ >
72
+ {subtitle}
73
+ </Typography>
74
+ )}
75
+ </View>
76
+ <View style={styles.trailing}>
77
+ {isLoading ? (
78
+ <View style={styles.loadingIndicator}>
79
+ <Text>{t('pmProgress.loading')} </Text>
80
+ <ActivityIndicator size="small" color={COLORS.NEUTRAL_7} />
81
+ </View>
82
+ ) : (
83
+ <>
84
+ {isSkillsLeftVisible && (
85
+ <Typography variant={HeadingVariants.H10} style={styles.skills}>
86
+ {skillsLeft}{' '}
87
+ {skillsLeft === 1 ? t('pmProgress.skillLeft') : t('pmProgress.skillsLeft')}
88
+ </Typography>
89
+ )}
90
+ <View style={styles.icon}>
91
+ {isFinished ? (
92
+ <CheckIcon color={COLORS.PRIMARY_GREEN} />
93
+ ) : (
94
+ <ArrowRightIcon color={COLORS.NEUTRAL_9} />
95
+ )}
96
+ </View>
97
+ </>
98
+ )}
99
+ </View>
100
+ </Pressable>
101
+ )
102
+ }
103
+
104
+ const styles = StyleSheet.create({
105
+ card: {
106
+ flexDirection: 'row',
107
+ alignItems: 'center',
108
+ height: CARD_HEIGHT,
109
+ paddingLeft: SPACING[800],
110
+ paddingRight: SPACING[400],
111
+ backgroundColor: COLORS.NEUTRAL_1,
112
+ borderRadius: BORDER_RADIUS[300],
113
+ gap: SPACING[200],
114
+ ...SHADOWS['2'],
115
+ },
116
+ finished: {
117
+ backgroundColor: COLORS.GREEN_1,
118
+ ...SHADOWS['2'],
119
+ },
120
+ hovered: {
121
+ backgroundColor: COLORS.NEUTRAL_2,
122
+ ...SHADOWS['3'],
123
+ },
124
+ hoveredFinished: {
125
+ backgroundColor: COLORS.GREEN_2,
126
+ ...SHADOWS['3'],
127
+ },
128
+ content: {
129
+ flex: 1,
130
+ },
131
+ title: {
132
+ color: COLORS.NEUTRAL_9,
133
+ },
134
+ titleFinished: {
135
+ color: COLORS.GREEN_7,
136
+ },
137
+ subtitle: {
138
+ color: COLORS.NEUTRAL_7,
139
+ fontSize: SUBTITLE_FONT_SIZE,
140
+ fontFamily: FONT_FAMILY.buenosAires,
141
+ lineHeight: SUBTITLE_LINE_HEIGHT,
142
+ },
143
+ subtitleFinished: {
144
+ color: COLORS.GREEN_6,
145
+ },
146
+ trailing: {
147
+ flexDirection: 'row',
148
+ alignItems: 'center',
149
+ gap: 8,
150
+ },
151
+ skills: {
152
+ color: COLORS.NEUTRAL_9,
153
+ },
154
+ icon: {
155
+ width: ICON_SIZE,
156
+ height: ICON_SIZE,
157
+ justifyContent: 'center',
158
+ alignItems: 'center',
159
+ },
160
+ loading: {
161
+ opacity: 0.5,
162
+ },
163
+ loadingIndicator: {
164
+ flexDirection: 'row',
165
+ gap: SPACING[200],
166
+ },
167
+ })