@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
@@ -0,0 +1,25 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npx tsc:*)",
5
+ "Bash(find /Users/alesiaskarakhod/Work/students-features -name rn-draw-area -o -name *draw*area*)",
6
+ "Bash(grep:*)",
7
+ "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools -type f -name \"*.ts*\" ! -path \"*/node_modules/*\" ! -path \"*/.next/*\" ! -path \"*/dist/*\" -exec grep -l \"convertLatexToBrackets\\\\|convertBracketsToLatex\" {})",
8
+ "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools -type f \\\\\\(-name *.test.ts* -o -name *.spec.ts* \\\\\\))",
9
+ "Bash(ls jest.config* vitest.config* tsconfig*)",
10
+ "Bash(npm ls:*)",
11
+ "Read(//Users/alesiaskarakhod/node_modules/.bin/**)",
12
+ "Bash(yarn add:*)",
13
+ "Bash(npx jest:*)",
14
+ "Bash(node:*)",
15
+ "Bash(npx ts-node:*)",
16
+ "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools/packages -name jest.config.* -o -name *.test.ts -o -name *.test.js -o -name *.spec.ts)",
17
+ "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools/packages -maxdepth 3 -type f \\\\\\(-name *.test.ts -o -name *.spec.ts -o -name *.test.tsx -o -name *.spec.tsx \\\\\\))",
18
+ "Bash(find /Users/alesiaskarakhod/Work/magmamath-tools -type f \\\\\\(-name *.test.ts -o -name *.test.tsx -o -name *.spec.ts -o -name *.spec.tsx \\\\\\))",
19
+ "Bash(yarn test:*)",
20
+ "Bash(npx vitest:*)",
21
+ "Bash(npx tsup:*)",
22
+ "Bash(find /Users/alesiaskarakhod/Work/react-native/node_modules/@magmamath/frontend-config -name *.d.ts -o -name *.js)"
23
+ ]
24
+ }
25
+ }
package/.editorconfig ADDED
@@ -0,0 +1,15 @@
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
4
+
5
+ root = true
6
+
7
+ [*]
8
+
9
+ indent_style = space
10
+ indent_size = 2
11
+
12
+ end_of_line = lf
13
+ charset = utf-8
14
+ trim_trailing_whitespace = true
15
+ insert_final_newline = true
package/.eslintignore ADDED
@@ -0,0 +1,2 @@
1
+ node_modules/
2
+ ./lib/
package/.eslintrc ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2020": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended",
9
+ "plugin:react-hooks/recommended",
10
+ "plugin:storybook/recommended",
11
+ "prettier"
12
+ ],
13
+ "parser": "@typescript-eslint/parser",
14
+ "parserOptions": {
15
+ "ecmaVersion": "latest",
16
+ "sourceType": "module"
17
+ },
18
+ "plugins": ["react-refresh"],
19
+ "rules": {
20
+ "react-refresh/only-export-components": "warn"
21
+ }
22
+ }
package/.gitattributes ADDED
@@ -0,0 +1,3 @@
1
+ *.pbxproj -text
2
+ # specific for windows script files
3
+ *.bat text eol=crlf
@@ -0,0 +1,37 @@
1
+ name: Setup
2
+ description: Setup Node.js and install dependencies
3
+
4
+ inputs:
5
+ npmrc-auth-token:
6
+ required: true
7
+
8
+ runs:
9
+ using: composite
10
+ steps:
11
+ - name: Setup Node.js
12
+ uses: actions/setup-node@v3
13
+ with:
14
+ node-version-file: .nvmrc
15
+
16
+ - name: Create .npmrc
17
+ shell: bash
18
+ run: |
19
+ echo "registry=https://registry.npmjs.org" > .npmrc
20
+ echo "//registry.npmjs.org/:_authToken=${{ inputs.npmrc-auth-token }}" >> .npmrc
21
+
22
+ - name: Cache dependencies
23
+ id: yarn-cache
24
+ uses: actions/cache@v3
25
+ with:
26
+ path: |
27
+ **/node_modules
28
+ .yarn/install-state.gz
29
+ key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
30
+ restore-keys: |
31
+ ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
32
+ ${{ runner.os }}-yarn-
33
+
34
+ - name: Install dependencies
35
+ if: steps.yarn-cache.outputs.cache-hit != 'true'
36
+ run: yarn install --immutable
37
+ shell: bash
@@ -0,0 +1,73 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+ merge_group:
11
+ types:
12
+ - checks_requested
13
+
14
+ jobs:
15
+ lint:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v3
20
+
21
+ - name: Setup
22
+ uses: ./.github/actions/setup
23
+ with:
24
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
25
+
26
+ - name: Lint files
27
+ run: yarn lint
28
+
29
+ - name: Typecheck files
30
+ run: yarn typecheck
31
+
32
+ test:
33
+ runs-on: ubuntu-latest
34
+ steps:
35
+ - name: Checkout
36
+ uses: actions/checkout@v3
37
+
38
+ - name: Setup
39
+ uses: ./.github/actions/setup
40
+ with:
41
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
42
+
43
+ - name: Run unit tests
44
+ run: yarn test --maxWorkers=2 --coverage
45
+
46
+ build-library:
47
+ runs-on: ubuntu-latest
48
+ steps:
49
+ - name: Checkout
50
+ uses: actions/checkout@v3
51
+
52
+ - name: Setup
53
+ uses: ./.github/actions/setup
54
+ with:
55
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
56
+
57
+ - name: Build package
58
+ run: yarn prepare
59
+
60
+ build-web:
61
+ runs-on: ubuntu-latest
62
+ steps:
63
+ - name: Checkout
64
+ uses: actions/checkout@v3
65
+
66
+ - name: Setup
67
+ uses: ./.github/actions/setup
68
+ with:
69
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
70
+
71
+ - name: Build example for Web
72
+ run: |
73
+ yarn example expo export --platform web
package/.gitignore ADDED
@@ -0,0 +1,84 @@
1
+ # OSX
2
+ #
3
+ .DS_Store
4
+
5
+ # XDE
6
+ .expo/
7
+
8
+ # VSCode
9
+ .vscode/
10
+ jsconfig.json
11
+
12
+ # Xcode
13
+ #
14
+ build/
15
+ *.pbxuser
16
+ !default.pbxuser
17
+ *.mode1v3
18
+ !default.mode1v3
19
+ *.mode2v3
20
+ !default.mode2v3
21
+ *.perspectivev3
22
+ !default.perspectivev3
23
+ xcuserdata
24
+ *.xccheckout
25
+ *.moved-aside
26
+ DerivedData
27
+ *.hmap
28
+ *.ipa
29
+ *.xcuserstate
30
+ project.xcworkspace
31
+
32
+ # Android/IJ
33
+ #
34
+ .classpath
35
+ .cxx
36
+ .gradle
37
+ .idea
38
+ .project
39
+ .settings
40
+ local.properties
41
+ android.iml
42
+
43
+ # Cocoapods
44
+ #
45
+ example/ios/Pods
46
+
47
+ # Ruby
48
+ example/vendor/
49
+
50
+ # node.js
51
+ #
52
+ node_modules/
53
+ npm-debug.log
54
+ yarn-debug.log
55
+ yarn-error.log
56
+
57
+ # BUCK
58
+ buck-out/
59
+ \.buckd/
60
+ android/app/libs
61
+ android/keystores/debug.keystore
62
+
63
+ # Yarn
64
+ .yarn/*
65
+ !.yarn/patches
66
+ !.yarn/plugins
67
+ !.yarn/releases
68
+ !.yarn/sdks
69
+ !.yarn/versions
70
+
71
+ # Expo
72
+ .expo/
73
+
74
+ # Turborepo
75
+ .turbo/
76
+
77
+ # generated by bob
78
+ dist/
79
+ !src/lib/
80
+
81
+ # React Native Codegen
82
+ ios/generated
83
+ android/generated
84
+ .npmrc
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,62 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <code_scheme name="Project" version="173">
3
+ <option name="LINE_SEPARATOR" value="&#10;" />
4
+ <HTMLCodeStyleSettings>
5
+ <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
6
+ </HTMLCodeStyleSettings>
7
+ <JSCodeStyleSettings version="0">
8
+ <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
9
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
10
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
11
+ <option name="USE_DOUBLE_QUOTES" value="false" />
12
+ <option name="FORCE_QUOTE_STYlE" value="true" />
13
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
14
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
15
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
16
+ </JSCodeStyleSettings>
17
+ <TypeScriptCodeStyleSettings version="0">
18
+ <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
19
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
20
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
21
+ <option name="USE_DOUBLE_QUOTES" value="false" />
22
+ <option name="FORCE_QUOTE_STYlE" value="true" />
23
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
24
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
25
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
26
+ </TypeScriptCodeStyleSettings>
27
+ <VueCodeStyleSettings>
28
+ <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
29
+ <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
30
+ </VueCodeStyleSettings>
31
+ <codeStyleSettings language="HTML">
32
+ <option name="SOFT_MARGINS" value="100" />
33
+ <indentOptions>
34
+ <option name="INDENT_SIZE" value="2" />
35
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
36
+ <option name="TAB_SIZE" value="2" />
37
+ </indentOptions>
38
+ </codeStyleSettings>
39
+ <codeStyleSettings language="JavaScript">
40
+ <option name="SOFT_MARGINS" value="100" />
41
+ <indentOptions>
42
+ <option name="INDENT_SIZE" value="2" />
43
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
44
+ <option name="TAB_SIZE" value="2" />
45
+ </indentOptions>
46
+ </codeStyleSettings>
47
+ <codeStyleSettings language="TypeScript">
48
+ <option name="SOFT_MARGINS" value="100" />
49
+ <indentOptions>
50
+ <option name="INDENT_SIZE" value="2" />
51
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
52
+ <option name="TAB_SIZE" value="2" />
53
+ </indentOptions>
54
+ </codeStyleSettings>
55
+ <codeStyleSettings language="Vue">
56
+ <option name="SOFT_MARGINS" value="100" />
57
+ <indentOptions>
58
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
59
+ </indentOptions>
60
+ </codeStyleSettings>
61
+ </code_scheme>
62
+ </component>
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AskMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EditMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="EditorConfigUnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
6
+ <inspection_tool class="UnusedDefine" enabled="true" level="WARNING" enabled_by_default="true" />
7
+ </profile>
8
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EslintConfiguration">
4
+ <option name="fix-on-save" value="true" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/students-features.iml" filepath="$PROJECT_DIR$/.idea/students-features.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myConfigurationMode" value="AUTOMATIC" />
5
+ <option name="myRunOnSave" value="true" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>