@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.
- package/.claude/settings.local.json +25 -0
- package/.editorconfig +15 -0
- package/.eslintignore +2 -0
- package/.eslintrc +22 -0
- package/.gitattributes +3 -0
- package/.github/actions/setup/action.yml +37 -0
- package/.github/workflows/ci.yml +73 -0
- package/.gitignore +84 -0
- package/.idea/.gitignore +8 -0
- package/.idea/codeStyles/Project.xml +62 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/inspectionProfiles/Project_Default.xml +8 -0
- package/.idea/jsLinters/eslint.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +7 -0
- package/.idea/students-features.iml +12 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +672 -0
- package/.nvmrc +1 -0
- package/.prettierrc +11 -0
- package/.release-it.json +17 -0
- package/.watchmanconfig +1 -0
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
- package/.yarn/releases/yarn-3.6.1.cjs +874 -0
- package/babel.config.js +5 -0
- package/bob.config.js +25 -0
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js +0 -2
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +0 -2
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +0 -2
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +1 -4
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +0 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +0 -2
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +0 -2
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +0 -2
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +0 -2
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +0 -3
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +0 -2
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +0 -2
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +0 -2
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +11 -15
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +0 -2
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +0 -2
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
- package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +0 -2
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +0 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +0 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +1 -5
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -4
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -4
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/commonjs/index.js +0 -8
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/shared/components/PlayButton.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/Chat.js +0 -2
- package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js +0 -2
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/CloseButton.js +0 -2
- package/dist/module/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +0 -2
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -4
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js +0 -2
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/components/QuestionSection.js +0 -2
- package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/module/features/exampleSolution/components/SolutionSection.js +0 -2
- package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +0 -2
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/components/ListCardCommentsCount.js +0 -2
- package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js +0 -3
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js +0 -2
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js +0 -2
- package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +0 -2
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +12 -16
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +0 -2
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +0 -2
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +0 -2
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
- package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +0 -2
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js +0 -2
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -2
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js +0 -2
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -5
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -4
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -4
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/module/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/shared/components/PlayButton.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/EmptyComment.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -3
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +0 -1
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/components/PlayButton.d.ts +0 -1
- package/dist/typescript/commonjs/shared/components/PlayButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/EmptyComment.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
- package/dist/typescript/module/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
- package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -3
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/VoiceRecordUndoModal.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +0 -1
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/components/PlayButton.d.ts +0 -1
- package/dist/typescript/module/shared/components/PlayButton.d.ts.map +1 -1
- package/example/.expo/README.md +8 -0
- package/example/.expo/devices.json +3 -0
- package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
- package/example/app.json +30 -0
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash-icon.png +0 -0
- package/example/babel.config.js +28 -0
- package/example/index.js +8 -0
- package/example/metro.config.js +18 -0
- package/example/package.json +25 -0
- package/example/src/App.tsx +8 -0
- package/example/tsconfig.json +6 -0
- package/package.json +1 -1
- package/src/features/chatbot/components/Chat/Chat.tsx +1 -2
- package/src/features/chatbot/components/Chat/ChatIcon.tsx +1 -2
- package/src/features/chatbot/components/Chat/CloseButton.tsx +0 -2
- package/src/features/chatbot/components/ChatControls/ChatControls.tsx +0 -2
- package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +0 -2
- package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -2
- package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +0 -2
- package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +0 -2
- package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +2 -3
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +0 -2
- package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +1 -2
- package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +0 -2
- package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +0 -2
- package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +1 -3
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +0 -2
- package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +1 -3
- package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +1 -3
- package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +1 -3
- package/src/features/endOfAssignment/components/Modal/Modal.tsx +1 -6
- package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +1 -6
- package/src/features/endOfAssignment/ui/PracticeButton.tsx +0 -2
- package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +0 -2
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +0 -2
- package/src/features/exampleSolution/components/QuestionSection.tsx +1 -2
- package/src/features/exampleSolution/components/SolutionSection.tsx +1 -5
- package/src/features/feedback/components/EmptyComment.tsx +1 -2
- package/src/features/feedback/components/ListCardCommentsCount.tsx +1 -2
- package/src/features/feedback/components/TeacherFeedbackButton.tsx +0 -3
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +1 -2
- package/src/features/feedback/components/UnreadMessagesBadge.tsx +0 -2
- package/src/features/formulaSheet/components/FormulaSheet.tsx +0 -2
- package/src/features/formulaSheet/components/FormulaSheetModal.tsx +1 -2
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +1 -2
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -5
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +13 -16
- package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +1 -2
- package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +1 -2
- package/src/features/keyboard/components/Keyboard.tsx +0 -2
- package/src/features/keyboard/components/MainLayout/MainLayout.tsx +1 -5
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -2
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +1 -9
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -2
- package/src/features/openEnded/components/OpenEndedAttemptsLimit.tsx +1 -2
- package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +1 -2
- package/src/features/problemSelector/components/ProblemSelectorButton.tsx +0 -2
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +0 -2
- package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +1 -2
- package/src/features/voice/recording/components/VoiceRecordTimer.tsx +1 -2
- package/src/features/voice/recording/modal/ModalFooterButtons.tsx +0 -6
- package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +0 -4
- package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +0 -4
- package/src/index.ts +0 -1
- package/src/shared/components/PlayButton.tsx +0 -1
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +34 -0
- package/yarn.lock +10984 -0
- package/dist/commonjs/config/dataTestIDs.js +0 -66
- package/dist/commonjs/config/dataTestIDs.js.map +0 -1
- package/dist/module/config/dataTestIDs.js +0 -63
- package/dist/module/config/dataTestIDs.js.map +0 -1
- package/dist/typescript/commonjs/config/dataTestIDs.d.ts +0 -61
- package/dist/typescript/commonjs/config/dataTestIDs.d.ts.map +0 -1
- package/dist/typescript/module/config/dataTestIDs.d.ts +0 -61
- package/dist/typescript/module/config/dataTestIDs.d.ts.map +0 -1
- 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
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,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
|
package/.idea/.gitignore
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
+
<code_scheme name="Project" version="173">
|
|
3
|
+
<option name="LINE_SEPARATOR" value=" " />
|
|
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,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,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,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>
|