@magmamath/students-features 1.3.7-test-ids-rc.0 → 1.3.7

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 (433) hide show
  1. package/.claude/settings.local.json +25 -0
  2. package/.editorconfig +15 -0
  3. package/.eslintignore +2 -0
  4. package/.eslintrc +22 -0
  5. package/.gitattributes +3 -0
  6. package/.github/actions/setup/action.yml +37 -0
  7. package/.github/workflows/ci.yml +73 -0
  8. package/.gitignore +84 -0
  9. package/.idea/.gitignore +8 -0
  10. package/.idea/codeStyles/Project.xml +62 -0
  11. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  12. package/.idea/copilot.data.migration.agent.xml +6 -0
  13. package/.idea/copilot.data.migration.ask.xml +6 -0
  14. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  15. package/.idea/copilot.data.migration.edit.xml +6 -0
  16. package/.idea/inspectionProfiles/Project_Default.xml +8 -0
  17. package/.idea/jsLinters/eslint.xml +6 -0
  18. package/.idea/modules.xml +8 -0
  19. package/.idea/prettier.xml +7 -0
  20. package/.idea/students-features.iml +12 -0
  21. package/.idea/vcs.xml +6 -0
  22. package/.idea/workspace.xml +672 -0
  23. package/.nvmrc +1 -0
  24. package/.prettierrc +11 -0
  25. package/.release-it.json +17 -0
  26. package/.watchmanconfig +1 -0
  27. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
  28. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
  29. package/.yarn/releases/yarn-3.6.1.cjs +874 -0
  30. package/babel.config.js +5 -0
  31. package/bob.config.js +25 -0
  32. package/dist/commonjs/features/chatbot/components/Chat/Chat.js +0 -2
  33. package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
  34. package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +0 -2
  35. package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
  36. package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +0 -2
  37. package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
  38. package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +0 -2
  39. package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
  40. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
  41. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
  42. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
  43. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  44. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
  45. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
  46. package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
  47. package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
  48. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
  49. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  50. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
  51. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  52. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
  53. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  54. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
  55. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  56. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
  57. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  58. package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
  59. package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
  60. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
  61. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  62. package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
  63. package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
  64. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
  65. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  66. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
  67. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  68. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +1 -4
  69. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  70. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
  71. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  72. package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +0 -2
  73. package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
  74. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
  75. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  76. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
  77. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  78. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +0 -2
  79. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -1
  80. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +0 -2
  81. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -1
  82. package/dist/commonjs/features/feedback/components/EmptyComment.js +0 -2
  83. package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
  84. package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +0 -2
  85. package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
  86. package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +0 -3
  87. package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
  88. package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
  89. package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
  90. package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +0 -2
  91. package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
  92. package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +0 -2
  93. package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
  94. package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +0 -2
  95. package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
  96. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
  97. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  98. package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
  99. package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
  100. package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +11 -15
  101. package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
  102. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
  103. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
  104. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
  105. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  106. package/dist/commonjs/features/keyboard/components/Keyboard.js +0 -2
  107. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  108. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +0 -2
  109. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
  110. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +0 -2
  111. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  112. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
  113. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  114. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
  115. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  116. package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
  117. package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
  118. package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
  119. package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
  120. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +0 -2
  121. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  122. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +0 -2
  123. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  124. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -2
  125. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
  126. package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +0 -2
  127. package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
  128. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +1 -5
  129. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  130. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -4
  131. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  132. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -4
  133. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  134. package/dist/commonjs/index.js +0 -8
  135. package/dist/commonjs/index.js.map +1 -1
  136. package/dist/commonjs/shared/components/PlayButton.js.map +1 -1
  137. package/dist/module/features/chatbot/components/Chat/Chat.js +0 -2
  138. package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
  139. package/dist/module/features/chatbot/components/Chat/ChatIcon.js +0 -2
  140. package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
  141. package/dist/module/features/chatbot/components/Chat/CloseButton.js +0 -2
  142. package/dist/module/features/chatbot/components/Chat/CloseButton.js.map +1 -1
  143. package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +0 -2
  144. package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
  145. package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
  146. package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
  147. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
  148. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  149. package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
  150. package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
  151. package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
  152. package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
  153. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
  154. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  155. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
  156. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  157. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
  158. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  159. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
  160. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  161. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
  162. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  163. package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
  164. package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
  165. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
  166. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  167. package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
  168. package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
  169. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
  170. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  171. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
  172. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  173. package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -4
  174. package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  175. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
  176. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  177. package/dist/module/features/endOfAssignment/ui/PracticeButton.js +0 -2
  178. package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
  179. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
  180. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  181. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
  182. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  183. package/dist/module/features/exampleSolution/components/QuestionSection.js +0 -2
  184. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -1
  185. package/dist/module/features/exampleSolution/components/SolutionSection.js +0 -2
  186. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -1
  187. package/dist/module/features/feedback/components/EmptyComment.js +0 -2
  188. package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
  189. package/dist/module/features/feedback/components/ListCardCommentsCount.js +0 -2
  190. package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
  191. package/dist/module/features/feedback/components/TeacherFeedbackButton.js +0 -3
  192. package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
  193. package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
  194. package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
  195. package/dist/module/features/feedback/components/UnreadMessagesBadge.js +0 -2
  196. package/dist/module/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
  197. package/dist/module/features/formulaSheet/components/FormulaSheet.js +0 -2
  198. package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
  199. package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +0 -2
  200. package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
  201. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
  202. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  203. package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
  204. package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
  205. package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +12 -16
  206. package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
  207. package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
  208. package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
  209. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
  210. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  211. package/dist/module/features/keyboard/components/Keyboard.js +0 -2
  212. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  213. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +0 -2
  214. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
  215. package/dist/module/features/keyboard/components/Numpad/Numpad.js +0 -2
  216. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  217. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
  218. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  219. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
  220. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  221. package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
  222. package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
  223. package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
  224. package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
  225. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +0 -2
  226. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  227. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +0 -2
  228. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  229. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -2
  230. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
  231. package/dist/module/features/voice/recording/components/VoiceRecordTimer.js +0 -2
  232. package/dist/module/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
  233. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -5
  234. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  235. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -4
  236. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  237. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -4
  238. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  239. package/dist/module/index.js +0 -1
  240. package/dist/module/index.js.map +1 -1
  241. package/dist/module/shared/components/PlayButton.js.map +1 -1
  242. package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
  243. package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
  244. package/dist/typescript/commonjs/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
  245. package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
  246. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
  247. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
  248. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
  249. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
  250. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  251. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  252. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  253. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  254. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
  255. package/dist/typescript/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
  256. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  257. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
  258. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  259. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  261. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  262. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
  263. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  264. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  265. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
  266. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
  267. package/dist/typescript/commonjs/features/feedback/components/EmptyComment.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
  269. package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
  270. package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
  273. package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
  275. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
  277. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
  278. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  280. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  282. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  283. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  284. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
  286. package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  287. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  288. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
  289. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
  290. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -3
  291. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
  293. package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/index.d.ts +0 -1
  295. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  296. package/dist/typescript/commonjs/shared/components/PlayButton.d.ts +0 -1
  297. package/dist/typescript/commonjs/shared/components/PlayButton.d.ts.map +1 -1
  298. package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
  299. package/dist/typescript/module/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
  300. package/dist/typescript/module/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
  301. package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
  302. package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
  303. package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
  304. package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
  305. package/dist/typescript/module/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
  306. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  307. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  308. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  309. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  310. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
  311. package/dist/typescript/module/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
  312. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  313. package/dist/typescript/module/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
  314. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  315. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  316. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  317. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  318. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
  319. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  320. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  321. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
  322. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
  323. package/dist/typescript/module/features/feedback/components/EmptyComment.d.ts.map +1 -1
  324. package/dist/typescript/module/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
  325. package/dist/typescript/module/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
  326. package/dist/typescript/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
  327. package/dist/typescript/module/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
  328. package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
  329. package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
  330. package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
  331. package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
  332. package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
  333. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
  334. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  335. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  336. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
  337. package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  338. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  339. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  340. package/dist/typescript/module/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
  341. package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
  342. package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  343. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  344. package/dist/typescript/module/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
  345. package/dist/typescript/module/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
  346. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -3
  347. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  348. package/dist/typescript/module/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
  349. package/dist/typescript/module/features/voice/recording/modal/VoiceRecordUndoModal.d.ts.map +1 -1
  350. package/dist/typescript/module/index.d.ts +0 -1
  351. package/dist/typescript/module/index.d.ts.map +1 -1
  352. package/dist/typescript/module/shared/components/PlayButton.d.ts +0 -1
  353. package/dist/typescript/module/shared/components/PlayButton.d.ts.map +1 -1
  354. package/example/.expo/README.md +8 -0
  355. package/example/.expo/devices.json +3 -0
  356. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  357. package/example/app.json +30 -0
  358. package/example/assets/adaptive-icon.png +0 -0
  359. package/example/assets/favicon.png +0 -0
  360. package/example/assets/icon.png +0 -0
  361. package/example/assets/splash-icon.png +0 -0
  362. package/example/babel.config.js +28 -0
  363. package/example/index.js +8 -0
  364. package/example/metro.config.js +18 -0
  365. package/example/package.json +25 -0
  366. package/example/src/App.tsx +8 -0
  367. package/example/tsconfig.json +6 -0
  368. package/package.json +1 -1
  369. package/src/features/chatbot/components/Chat/Chat.tsx +1 -2
  370. package/src/features/chatbot/components/Chat/ChatIcon.tsx +1 -2
  371. package/src/features/chatbot/components/Chat/CloseButton.tsx +0 -2
  372. package/src/features/chatbot/components/ChatControls/ChatControls.tsx +0 -2
  373. package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +0 -2
  374. package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -2
  375. package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +0 -2
  376. package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +0 -2
  377. package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +2 -3
  378. package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +0 -2
  379. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +1 -2
  380. package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +0 -2
  381. package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +0 -2
  382. package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +1 -3
  383. package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +0 -2
  384. package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +1 -3
  385. package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +1 -3
  386. package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +1 -3
  387. package/src/features/endOfAssignment/components/Modal/Modal.tsx +1 -6
  388. package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +1 -6
  389. package/src/features/endOfAssignment/ui/PracticeButton.tsx +0 -2
  390. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +0 -2
  391. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +0 -2
  392. package/src/features/exampleSolution/components/QuestionSection.tsx +1 -2
  393. package/src/features/exampleSolution/components/SolutionSection.tsx +1 -5
  394. package/src/features/feedback/components/EmptyComment.tsx +1 -2
  395. package/src/features/feedback/components/ListCardCommentsCount.tsx +1 -2
  396. package/src/features/feedback/components/TeacherFeedbackButton.tsx +0 -3
  397. package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +1 -2
  398. package/src/features/feedback/components/UnreadMessagesBadge.tsx +0 -2
  399. package/src/features/formulaSheet/components/FormulaSheet.tsx +0 -2
  400. package/src/features/formulaSheet/components/FormulaSheetModal.tsx +1 -2
  401. package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +1 -2
  402. package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -5
  403. package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +13 -16
  404. package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +1 -2
  405. package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +1 -2
  406. package/src/features/keyboard/components/Keyboard.tsx +0 -2
  407. package/src/features/keyboard/components/MainLayout/MainLayout.tsx +1 -5
  408. package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -2
  409. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +1 -9
  410. package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -2
  411. package/src/features/openEnded/components/OpenEndedAttemptsLimit.tsx +1 -2
  412. package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +1 -2
  413. package/src/features/problemSelector/components/ProblemSelectorButton.tsx +0 -2
  414. package/src/features/voice/recording/components/VoiceRecordButton.tsx +0 -2
  415. package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +1 -2
  416. package/src/features/voice/recording/components/VoiceRecordTimer.tsx +1 -2
  417. package/src/features/voice/recording/modal/ModalFooterButtons.tsx +0 -6
  418. package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +0 -4
  419. package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +0 -4
  420. package/src/index.ts +0 -1
  421. package/src/shared/components/PlayButton.tsx +0 -1
  422. package/tsconfig.build.json +4 -0
  423. package/tsconfig.json +34 -0
  424. package/yarn.lock +10984 -0
  425. package/dist/commonjs/config/dataTestIDs.js +0 -66
  426. package/dist/commonjs/config/dataTestIDs.js.map +0 -1
  427. package/dist/module/config/dataTestIDs.js +0 -63
  428. package/dist/module/config/dataTestIDs.js.map +0 -1
  429. package/dist/typescript/commonjs/config/dataTestIDs.d.ts +0 -61
  430. package/dist/typescript/commonjs/config/dataTestIDs.d.ts.map +0 -1
  431. package/dist/typescript/module/config/dataTestIDs.d.ts +0 -61
  432. package/dist/typescript/module/config/dataTestIDs.d.ts.map +0 -1
  433. package/src/config/dataTestIDs.ts +0 -66
@@ -4,7 +4,6 @@ import { COLORS } from '@magmamath/react-native-ui'
4
4
  import { BUENOS_AIRES_FONT } from '../../constants'
5
5
  import { getRelativeTimeText } from '../../../../lib/helpers/helpers'
6
6
  import { TeacherComment as TeacherCommentEntity } from '../../types'
7
- import { TEST_IDS } from '../../../../config/dataTestIDs'
8
7
 
9
8
  type TeacherCommentProps = {
10
9
  comment: TeacherCommentEntity
@@ -13,7 +12,7 @@ type TeacherCommentProps = {
13
12
 
14
13
  export const TeacherComment = ({ comment, style }: TeacherCommentProps) => {
15
14
  return (
16
- <View style={style} testID={TEST_IDS.TEACHER_COMMENT}>
15
+ <View style={style}>
17
16
  <View style={styles.authorInfo}>
18
17
  <Text style={styles.teacherName} numberOfLines={1}>
19
18
  {comment.teacherName}
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
2
  import { Text, View, StyleSheet, Platform, StyleProp, ViewStyle, TextStyle } from 'react-native'
3
3
  import { COLORS } from '@magmamath/react-native-ui'
4
- import { TEST_IDS } from '../../../config/dataTestIDs'
5
4
 
6
5
  type UnreadMessagesBadgeProps = {
7
6
  badgeContent?: number
@@ -18,7 +17,6 @@ export const UnreadMessagesBadge = ({
18
17
  }: UnreadMessagesBadgeProps) => {
19
18
  return (
20
19
  <View
21
- testID={TEST_IDS.UNREAD_COMMENTS_BADGE}
22
20
  style={[
23
21
  styles.container,
24
22
  style,
@@ -13,7 +13,6 @@ import {
13
13
  } from '@magmamath/react-native-ui'
14
14
  import { FormulaSheetModel } from '../model/model'
15
15
  import { FormulaSheetModal } from './FormulaSheetModal'
16
- import { TEST_IDS } from '../../../config/dataTestIDs'
17
16
 
18
17
  type FormulaSheetProps = {
19
18
  model: FormulaSheetModel
@@ -57,7 +56,6 @@ export const FormulaSheet = forwardRef<ButtonRef | null, FormulaSheetProps>(
57
56
  <>
58
57
  <Button
59
58
  ref={ref}
60
- testID={TEST_IDS.FORMULA_SHEET_BUTTON}
61
59
  size={buttonSize}
62
60
  variant={ButtonVariant.SECONDARY}
63
61
  colorScheme={buttonColor}
@@ -10,7 +10,6 @@ import {
10
10
  LoaderType,
11
11
  SPACING,
12
12
  } from '@magmamath/react-native-ui'
13
- import { TEST_IDS } from '../../../config/dataTestIDs'
14
13
 
15
14
  type FormulaSheetModalProps = {
16
15
  isLoading: boolean
@@ -40,7 +39,7 @@ export const FormulaSheetModal = ({
40
39
  <TouchableWithoutFeedback onPress={onClose}>
41
40
  <View style={styles.container}>
42
41
  <TouchableWithoutFeedback onPress={(event) => event.stopPropagation()}>
43
- <View testID={TEST_IDS.FORMULA_SHEET_MODAL} style={styles.content}>
42
+ <View style={styles.content}>
44
43
  {isLoading ? (
45
44
  <Loader type={LoaderType.PRIMARY} color={loaderColor} size={LoaderSize.LARGE} />
46
45
  ) : (
@@ -5,7 +5,6 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
5
5
  import { IS_MOBILE } from '@magmamath/react-native-ui'
6
6
  import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
7
7
  import { getMainKeyboardGroup } from '../../helpers'
8
- import { TEST_IDS } from '../../../../config/dataTestIDs'
9
8
 
10
9
  export const BasicLayout = ({ keys, ...props }: KeyboardLayoutProps & PropsWithChildren) => {
11
10
  const keysByLocale = getMainKeyboardGroup(keys, KeyboardType.Basic)
@@ -19,7 +18,7 @@ export const BasicLayout = ({ keys, ...props }: KeyboardLayoutProps & PropsWithC
19
18
  }
20
19
 
21
20
  return (
22
- <View style={styles.container} testID={TEST_IDS.KEYBOARD_BASIC_LAYOUT}>
21
+ <View style={styles.container}>
23
22
  <KeysList keys={keysToShow} numOfRows={2} {...props} />
24
23
  {props.children || null}
25
24
  </View>
@@ -1,19 +1,15 @@
1
1
  import React from 'react'
2
- import { View } from 'react-native'
3
2
  import { KeysList } from '../KeysList/KeysList'
4
3
  import { BasicLayout } from './BasicLayout'
5
4
  import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
6
5
  import { getMainKeyboardGroup } from '../../helpers'
7
- import { TEST_IDS } from '../../../../config/dataTestIDs'
8
6
 
9
7
  export const CurrencyBasicLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
10
8
  const keysGroup = getMainKeyboardGroup(keys, KeyboardType.BasicCurrency)
11
9
 
12
10
  return (
13
11
  <BasicLayout keys={keys} {...props}>
14
- <View testID={TEST_IDS.KEYBOARD_CURRENCY_KEYS}>
15
- <KeysList keys={keysGroup.keys} numOfRows={keysGroup.keys.length} {...props} />
16
- </View>
12
+ <KeysList keys={keysGroup.keys} numOfRows={keysGroup.keys.length} {...props} />
17
13
  </BasicLayout>
18
14
  )
19
15
  }
@@ -1,31 +1,28 @@
1
1
  import React from 'react'
2
2
  import { KeysList } from '../KeysList/KeysList'
3
- import { StyleSheet, View } from 'react-native'
3
+ import { StyleSheet } from 'react-native'
4
4
  import { BasicLayout } from './BasicLayout'
5
5
  import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
6
6
  import { getMainKeyboardGroup } from '../../helpers'
7
7
  import { IS_MOBILE } from '@magmamath/react-native-ui'
8
- import { TEST_IDS } from '../../../../config/dataTestIDs'
9
8
 
10
9
  export const TimeBasicLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
11
10
  const keysGroup = getMainKeyboardGroup(keys, KeyboardType.BasicTime)
12
11
 
13
12
  return (
14
13
  <BasicLayout keys={keys} {...props}>
15
- <View testID={TEST_IDS.KEYBOARD_TIME_KEYS}>
16
- <KeysList
17
- keys={keysGroup.keys}
18
- numOfRows={keysGroup.numOfRows || keysGroup.keys.length}
19
- style={{
20
- option: {
21
- text: styles.text,
22
- button: styles.button,
23
- container: styles.container,
24
- },
25
- }}
26
- {...props}
27
- />
28
- </View>
14
+ <KeysList
15
+ keys={keysGroup.keys}
16
+ numOfRows={keysGroup.numOfRows || keysGroup.keys.length}
17
+ style={{
18
+ option: {
19
+ text: styles.text,
20
+ button: styles.button,
21
+ container: styles.container,
22
+ },
23
+ }}
24
+ {...props}
25
+ />
29
26
  </BasicLayout>
30
27
  )
31
28
  }
@@ -5,7 +5,6 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
5
5
  import { getMainKeyboardGroup } from '../../helpers'
6
6
  import { MOBILE_LAYOUT_WIDTH } from '../../constants/keyboard.constants'
7
7
  import { IS_MOBILE } from '@magmamath/react-native-ui'
8
- import { TEST_IDS } from '../../../../config/dataTestIDs'
9
8
 
10
9
  export const BasicPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
11
10
  const { width } = useWindowDimensions()
@@ -17,7 +16,7 @@ export const BasicPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
17
16
  )
18
17
 
19
18
  return (
20
- <View style={styles.container} testID={TEST_IDS.KEYBOARD_BASIC_PLUS_LAYOUT}>
19
+ <View style={styles.container}>
21
20
  <KeysList keys={keysGroup.keys} numOfRows={3} {...props} />
22
21
  </View>
23
22
  )
@@ -5,7 +5,6 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
5
5
  import { getMainKeyboardGroup } from '../../helpers'
6
6
  import { IS_MOBILE } from '@magmamath/react-native-ui'
7
7
  import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
8
- import { TEST_IDS } from '../../../../config/dataTestIDs'
9
8
 
10
9
  export const BasicPlusPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
11
10
  const { width } = useWindowDimensions()
@@ -19,7 +18,7 @@ export const BasicPlusPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) =>
19
18
  )
20
19
 
21
20
  return (
22
- <View style={styles.container} testID={TEST_IDS.KEYBOARD_BASIC_PLUS_PLUS_LAYOUT}>
21
+ <View style={styles.container}>
23
22
  <KeysList keys={keysGroup.keys} numOfRows={3} {...props} />
24
23
  </View>
25
24
  )
@@ -12,7 +12,6 @@ import { isMobileWidth } from '../helpers'
12
12
  import { KeyboardConfig } from '@magmamath/frontend-config'
13
13
  import { KeyboardKey, KeyboardKeyValue } from '../types/types'
14
14
  import { resolveKeyboard } from '../constants/keyboard.helpers'
15
- import { TEST_IDS } from '../../../config/dataTestIDs'
16
15
 
17
16
  type KeyboardProps = {
18
17
  onKeyPress: (key: KeyboardKeyValue) => void
@@ -57,7 +56,6 @@ export const Keyboard = ({
57
56
 
58
57
  return (
59
58
  <Animated.View
60
- testID={TEST_IDS.KEYBOARD}
61
59
  style={[
62
60
  styles.container,
63
61
  style,
@@ -4,7 +4,6 @@ import { IS_MOBILE, IS_WEB, SelectOptionColor } from '@magmamath/react-native-ui
4
4
  import { getLayoutByCharType, isBasicPlusPlusLayout } from '../../constants/keyboardLayouts'
5
5
  import { UnderlinedLayout } from '../UnderlinedLayout/UnderlinedLayout'
6
6
  import { KeyboardKey, KeyboardKeyValue, ResolvedKeyboard } from '../../types/types'
7
- import { TEST_IDS } from '../../../../config/dataTestIDs'
8
7
 
9
8
  type LayoutProps = {
10
9
  keys: ResolvedKeyboard
@@ -58,10 +57,7 @@ export const MainLayout = ({
58
57
  }, [showUnderlinedKeys, animateFade])
59
58
 
60
59
  return (
61
- <View
62
- style={[styles.container, IS_MOBILE && { flex: 1 }]}
63
- testID={TEST_IDS.KEYBOARD_MAIN_LAYOUT}
64
- >
60
+ <View style={[styles.container, IS_MOBILE && { flex: 1 }]}>
65
61
  <Layout {...props} onLayoutChange={setIsSecondaryLayoutSelected} />
66
62
  {isUnderlinedLayoutVisible && (
67
63
  <Animated.View style={{ opacity: fadeAnim }}>
@@ -5,7 +5,6 @@ import { SPACING } from '@magmamath/react-native-ui'
5
5
  import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
6
6
  import { useText } from '../../../../shared/translation'
7
7
  import { getMainKeyboardGroup } from '../../helpers'
8
- import { TEST_IDS } from '../../../../config/dataTestIDs'
9
8
 
10
9
  type NumpadProps = {
11
10
  style?: StyleProp<ViewStyle>
@@ -16,7 +15,7 @@ export const Numpad = ({ style, keys, ...props }: NumpadProps) => {
16
15
  const keyboardGroup = getMainKeyboardGroup(keys, KeyboardType.Numpad)
17
16
 
18
17
  return (
19
- <View style={[styles.container, style]} testID={TEST_IDS.KEYBOARD_NUMPAD}>
18
+ <View style={[styles.container, style]}>
20
19
  <KeysList keys={keyboardGroup.keys} numOfRows={3} {...props} />
21
20
  </View>
22
21
  )
@@ -1,9 +1,7 @@
1
1
  import React from 'react'
2
- import { View } from 'react-native'
3
2
  import { KeysList } from '../KeysList/KeysList'
4
3
  import { KeyboardLayoutProps, KeyboardType, ResolvedKeyboard } from '../../types/types'
5
4
  import { getMainKeyboardGroup } from '../../helpers'
6
- import { TEST_IDS } from '../../../../config/dataTestIDs'
7
5
 
8
6
  type UnderlinedLayoutProps = {
9
7
  keys: ResolvedKeyboard
@@ -15,12 +13,6 @@ export const UnderlinedLayout = ({ keys, ...props }: UnderlinedLayoutProps) => {
15
13
  const keysToShow = props.showSlashKey ? keysGroup.keys : keysGroup.keys.slice(0, -1)
16
14
 
17
15
  return (
18
- <View testID={TEST_IDS.KEYBOARD_UNDERLINED_LAYOUT}>
19
- <KeysList
20
- keys={keysToShow}
21
- numOfRows={props.showSlashKey ? 2 : keysToShow.length}
22
- {...props}
23
- />
24
- </View>
16
+ <KeysList keys={keysToShow} numOfRows={props.showSlashKey ? 2 : keysToShow.length} {...props} />
25
17
  )
26
18
  }
@@ -9,7 +9,6 @@ import { useUnitTabs } from './hooks/useUnitTabs'
9
9
  import { getMainKeyboardGroup } from '../../helpers'
10
10
  import { KeyboardUnitsGroupType, SelectedLayout } from './types'
11
11
  import { getSelectOptions } from './helpers'
12
- import { TEST_IDS } from '../../../../config/dataTestIDs'
13
12
 
14
13
  export const UnitsLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => {
15
14
  const { width } = useWindowDimensions()
@@ -43,7 +42,7 @@ export const UnitsLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutPr
43
42
  )
44
43
 
45
44
  return (
46
- <View style={styles.container} testID={TEST_IDS.KEYBOARD_UNITS_LAYOUT}>
45
+ <View style={styles.container}>
47
46
  {isDesktop && (
48
47
  <SelectGroup
49
48
  numOfRows={2}
@@ -1,14 +1,13 @@
1
1
  import React from 'react'
2
2
  import { View, StyleSheet, Text } from 'react-native'
3
3
  import { SPACING, BORDER_RADIUS, COLORS } from '@magmamath/react-native-ui'
4
- import { TEST_IDS } from '../../../config/dataTestIDs'
5
4
 
6
5
  type OEAttemptsLimitProps = {
7
6
  text: string
8
7
  }
9
8
 
10
9
  export const OpenEndedAttemptsLimit = ({ text }: OEAttemptsLimitProps) => (
11
- <View testID={TEST_IDS.OPEN_ENDED_ATTEMPTS_LIMIT} style={styles.container}>
10
+ <View style={styles.container}>
12
11
  <Text style={styles.text}>{text}</Text>
13
12
  </View>
14
13
  )
@@ -10,7 +10,6 @@ import {
10
10
  import { getScoreLabelColor } from '../oe.helpers'
11
11
  import { OpenEndedScoreLabelVariant } from '../oe.types'
12
12
  import { isWeb } from '../../../shared/common.constants'
13
- import { TEST_IDS } from '../../../config/dataTestIDs'
14
13
 
15
14
  type OpenEndedScoreLabelProps = {
16
15
  label: string
@@ -39,7 +38,7 @@ export const OpenEndedScoreLabel = ({
39
38
  score !== null && score >= 10 ? SCORE_WIDTH.LARGE : SCORE_WIDTH.DEFAULT
40
39
 
41
40
  return (
42
- <View testID={TEST_IDS.OPEN_ENDED_SCORE_LABEL} style={styles.container}>
41
+ <View style={styles.container}>
43
42
  <View style={[styles.score, { width: scoreContainerWidth }]}>
44
43
  <Typography
45
44
  variant={HeadingVariants.H3}
@@ -13,7 +13,6 @@ import {
13
13
  } from '@magmamath/react-native-ui'
14
14
 
15
15
  import { BADGE_COORDINATES, BUTTON_BORDER_WIDTH, BUTTON_SIZE, COLOR_SCHEME_MAP } from '../constants'
16
- import { TEST_IDS } from '../../../config/dataTestIDs'
17
16
 
18
17
  import { ProblemSelectorButtonProps } from '../types'
19
18
 
@@ -29,7 +28,6 @@ export const ProblemSelectorButton = ({
29
28
  return (
30
29
  <View style={styles.wrapper}>
31
30
  <Button
32
- testID={TEST_IDS.PROBLEM_SELECTOR_BUTTON(text)}
33
31
  variant={ButtonVariant.PRIMARY}
34
32
  size={ButtonSize.MEDIUM}
35
33
  customColorScheme={customColorScheme}
@@ -13,7 +13,6 @@ import { VoiceRecordModel } from '../model/VoiceRecord.model'
13
13
  import { useUnit } from 'effector-react'
14
14
  import { VoiceRecorderState } from '../../constants'
15
15
  import { useText } from '../../../../shared/translation'
16
- import { TEST_IDS } from '../../../../config/dataTestIDs'
17
16
 
18
17
  type VoiceRecordButtonProps = {
19
18
  style?: ButtonStyle
@@ -46,7 +45,6 @@ export const VoiceRecordButton = ({ style, model }: VoiceRecordButtonProps) => {
46
45
  pointerEvents={!availableInputs.length || isInitializing ? 'box-only' : 'auto'}
47
46
  >
48
47
  <Button
49
- testID={TEST_IDS.VOICE_RECORD_BUTTON}
50
48
  disabled={isButtonDisabled || !availableInputs.length}
51
49
  onPressIn={() => model.recorderButtonHandler()}
52
50
  style={combinedStyles}
@@ -1,7 +1,6 @@
1
1
  import { StyleSheet, TouchableOpacity } from 'react-native'
2
2
  import { COLORS, TrashcanIcon } from '@magmamath/react-native-ui'
3
3
  import React from 'react'
4
- import { TEST_IDS } from '../../../../config/dataTestIDs'
5
4
 
6
5
  type VoiceRecordDeleteProps = {
7
6
  onPress?: () => void
@@ -10,7 +9,7 @@ type VoiceRecordDeleteProps = {
10
9
 
11
10
  export const VoiceRecordDeleteButton = ({ onPress, isDisabled }: VoiceRecordDeleteProps) => {
12
11
  return (
13
- <TouchableOpacity testID={TEST_IDS.VOICE_RECORD_DELETE_BUTTON} style={styles.container} onPress={onPress} disabled={isDisabled}>
12
+ <TouchableOpacity style={styles.container} onPress={onPress} disabled={isDisabled}>
14
13
  <TrashcanIcon size={20} color={isDisabled ? COLORS.NEUTRAL_5 : COLORS.NEUTRAL_9} />
15
14
  </TouchableOpacity>
16
15
  )
@@ -4,7 +4,6 @@ import React from 'react'
4
4
  import { VoiceRecordModel } from '../model/VoiceRecord.model'
5
5
  import { useUnit } from 'effector-react'
6
6
  import { formatDuration } from '../../helpers'
7
- import { TEST_IDS } from '../../../../config/dataTestIDs'
8
7
 
9
8
  type VoiceRecordTimerProps = {
10
9
  style?: StyleProp<ViewStyle>
@@ -21,7 +20,7 @@ export const VoiceRecordTimer = ({
21
20
  const displayDurationMs = recordingFileDurationMs || savedAudioFileDurationMs
22
21
 
23
22
  return (
24
- <View testID={TEST_IDS.VOICE_RECORD_TIMER} style={[styles.container, style]}>
23
+ <View style={[styles.container, style]}>
25
24
  <Typography variant="h9" style={styles.text}>
26
25
  {displayDurationMs ? formatDuration(displayDurationMs) : '0:00'}
27
26
  </Typography>
@@ -9,8 +9,6 @@ type ModalFooterButtonsProps = {
9
9
  onConfirm: () => void
10
10
  confirmLabel: TranslationKeys
11
11
  confirmColor?: ButtonColor
12
- cancelTestID?: string
13
- confirmTestID?: string
14
12
  }
15
13
 
16
14
  export const ModalFooterButtons = ({
@@ -18,15 +16,12 @@ export const ModalFooterButtons = ({
18
16
  onConfirm,
19
17
  confirmLabel,
20
18
  confirmColor = ButtonColor.BLUE,
21
- cancelTestID,
22
- confirmTestID,
23
19
  }: ModalFooterButtonsProps) => {
24
20
  const t = useText()
25
21
 
26
22
  return (
27
23
  <View style={styles.container}>
28
24
  <Button
29
- testID={cancelTestID}
30
25
  style={{ text: styles.buttonLabel }}
31
26
  variant={ButtonVariant.TERTIARY}
32
27
  size={ButtonSize.LARGE}
@@ -35,7 +30,6 @@ export const ModalFooterButtons = ({
35
30
  {t('voice.cancel')}
36
31
  </Button>
37
32
  <Button
38
- testID={confirmTestID}
39
33
  colorScheme={confirmColor}
40
34
  variant={ButtonVariant.PRIMARY}
41
35
  size={ButtonSize.LARGE}
@@ -6,7 +6,6 @@ import { VoiceRecorderState } from '../../constants'
6
6
  import { useText } from '../../../../shared/translation'
7
7
  import { ModalFooterButtons } from './ModalFooterButtons'
8
8
  import { VoiceRecordModalParams } from '../../types'
9
- import { TEST_IDS } from '../../../../config/dataTestIDs'
10
9
 
11
10
  type VoiceRecordDeleteModalComponentProps = {
12
11
  modal: {
@@ -58,7 +57,6 @@ export const VoiceRecordDeleteModal = ({
58
57
 
59
58
  return (
60
59
  <BaseModal
61
- testID={TEST_IDS.VOICE_RECORD_DELETE_MODAL}
62
60
  style={{
63
61
  container: styles.modalContainer,
64
62
  }}
@@ -66,8 +64,6 @@ export const VoiceRecordDeleteModal = ({
66
64
  content={t('voice.youWontBeAbleToRecover')}
67
65
  footer={
68
66
  <ModalFooterButtons
69
- cancelTestID={TEST_IDS.VOICE_RECORD_DELETE_CANCEL_BUTTON}
70
- confirmTestID={TEST_IDS.VOICE_RECORD_DELETE_CONFIRM_BUTTON}
71
67
  onCancel={closeModal}
72
68
  onConfirm={handleDelete}
73
69
  confirmLabel="voice.delete"
@@ -4,7 +4,6 @@ import { StyleSheet } from 'react-native'
4
4
  import { useText } from '../../../../shared/translation'
5
5
  import { ModalFooterButtons } from './ModalFooterButtons'
6
6
  import { VoiceRecordModalParams } from '../../types'
7
- import { TEST_IDS } from '../../../../config/dataTestIDs'
8
7
 
9
8
  type VoiceRecordUndoModalProps = {
10
9
  modal: {
@@ -27,7 +26,6 @@ export const VoiceRecordUndoModal = ({
27
26
 
28
27
  return (
29
28
  <BaseModal
30
- testID={TEST_IDS.VOICE_RECORD_UNDO_MODAL}
31
29
  style={{
32
30
  container: styles.modalStyle,
33
31
  }}
@@ -35,8 +33,6 @@ export const VoiceRecordUndoModal = ({
35
33
  content={t('voice.thisWillRemoveRecording')}
36
34
  footer={
37
35
  <ModalFooterButtons
38
- cancelTestID={TEST_IDS.VOICE_RECORD_UNDO_CANCEL_BUTTON}
39
- confirmTestID={TEST_IDS.VOICE_RECORD_UNDO_CONFIRM_BUTTON}
40
36
  onCancel={closeModal}
41
37
  onConfirm={redoRecording}
42
38
  confirmLabel="voice.redo"
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- export { TEST_IDS as FEATURES_TEST_IDS } from './config/dataTestIDs'
2
1
  export { useFeaturesLocalization, setFeaturesLocalization } from './shared/translation'
3
2
  export { generateRandomId } from './lib/helpers/helpers'
4
3
  export * from './features/chatbot'
@@ -52,7 +52,6 @@ type MessageTextToSpeechProps = {
52
52
  activityIndicatorColor?: string
53
53
  colorScheme?: ColorScheme
54
54
  onPress?: () => void
55
- testID?: string
56
55
  }
57
56
 
58
57
  export const PlayButton = ({
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "./tsconfig",
3
+ "exclude": ["example", "dist"]
4
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "paths": {
4
+ "@magmamath/students-features": ["./src/index"]
5
+ },
6
+ "target": "esnext",
7
+ "baseUrl": "./",
8
+ "lib": [
9
+ "dom",
10
+ "dom.iterable",
11
+ "esnext"
12
+ ],
13
+ "declaration": true,
14
+ "allowJs": true,
15
+ "skipLibCheck": true,
16
+ "esModuleInterop": true,
17
+ "allowSyntheticDefaultImports": true,
18
+ "strict": true,
19
+ "forceConsistentCasingInFileNames": true,
20
+ "module": "esnext",
21
+ "moduleResolution": "node",
22
+ "resolveJsonModule": true,
23
+ "isolatedModules": true,
24
+ "jsx": "react",
25
+ "experimentalDecorators": true
26
+ },
27
+ "include": [
28
+ "src"
29
+ ],
30
+ "exclude": [
31
+ "node_modules",
32
+ "example"
33
+ ]
34
+ }