@magmamath/students-features 1.3.19-rc.0 → 1.3.20
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/dist/commonjs/features/chatbot/components/Chat/Chat.js +2 -2
- package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +2 -2
- package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +2 -2
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -2
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +3 -3
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +2 -2
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +4 -4
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +3 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +3 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +3 -3
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +5 -5
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +2 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -2
- package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +2 -2
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +2 -2
- package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +2 -2
- package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -2
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +2 -2
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +3 -3
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +2 -2
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +2 -2
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +2 -2
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +2 -2
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +2 -2
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -2
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -2
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js +2 -2
- package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +2 -2
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js +2 -2
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +4 -4
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js +3 -12
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +6 -6
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/{DomainCard.js → ListCard.js} +28 -16
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +1 -0
- package/dist/commonjs/features/pmProgress/components/list/{StandardItem.js → ListItem.js} +5 -5
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +1 -0
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +5 -5
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +8 -11
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +2 -2
- package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +2 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +2 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +4 -4
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +4 -4
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/Chat.js +1 -1
- package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js +1 -1
- package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
- package/dist/module/features/chatbot/components/Chat/CloseButton.js +1 -1
- package/dist/module/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +1 -1
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +1 -1
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +1 -1
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +1 -1
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +1 -1
- package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/components/QuestionSection.js +1 -1
- package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -1
- package/dist/module/features/exampleSolution/components/SolutionSection.js +1 -1
- package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/components/ListCardCommentsCount.js +1 -1
- package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +1 -1
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +1 -1
- package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +1 -1
- package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +1 -1
- package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js +1 -1
- package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +1 -1
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js +1 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js +2 -11
- package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +1 -1
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js +2 -2
- package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/{DomainCard.js → ListCard.js} +26 -14
- package/dist/module/features/pmProgress/components/list/ListCard.js.map +1 -0
- package/dist/module/features/pmProgress/components/list/{StandardItem.js → ListItem.js} +3 -3
- package/dist/module/features/pmProgress/components/list/ListItem.js.map +1 -0
- package/dist/module/features/pmProgress/components/list/PmDomainList.js +3 -3
- package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +1 -1
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +5 -8
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +1 -1
- package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/header/NextUp.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/header/StartButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/{DomainCard.d.ts → ListCard.d.ts} +5 -5
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts +13 -0
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListItem.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/header/NextUp.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/header/StartButton.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/insights/PmTimeframeStats.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/{DomainCard.d.ts → ListCard.d.ts} +5 -5
- package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +1 -0
- package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts +13 -0
- package/dist/typescript/module/features/pmProgress/components/list/ListItem.d.ts.map +1 -0
- package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/chatbot/components/Chat/Chat.tsx +1 -1
- package/src/features/chatbot/components/Chat/ChatIcon.tsx +1 -1
- package/src/features/chatbot/components/Chat/CloseButton.tsx +1 -1
- package/src/features/chatbot/components/ChatControls/ChatControls.tsx +1 -1
- package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +1 -1
- package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -1
- package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +1 -1
- package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +1 -1
- package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +1 -1
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +1 -1
- package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +1 -1
- package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +1 -1
- package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +1 -1
- package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +1 -1
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +1 -1
- package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +1 -1
- package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +1 -1
- package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +1 -1
- package/src/features/endOfAssignment/components/Modal/Modal.tsx +1 -1
- package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +1 -1
- package/src/features/endOfAssignment/ui/PracticeButton.tsx +1 -1
- package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +1 -1
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +1 -1
- package/src/features/exampleSolution/components/QuestionSection.tsx +1 -1
- package/src/features/exampleSolution/components/SolutionSection.tsx +1 -1
- package/src/features/feedback/components/EmptyComment.tsx +1 -1
- package/src/features/feedback/components/ListCardCommentsCount.tsx +1 -1
- package/src/features/feedback/components/TeacherFeedbackButton.tsx +1 -1
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +1 -1
- package/src/features/feedback/components/UnreadMessagesBadge.tsx +1 -1
- package/src/features/formulaSheet/components/FormulaSheet.tsx +1 -1
- package/src/features/formulaSheet/components/FormulaSheetModal.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +1 -1
- package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +1 -1
- package/src/features/keyboard/components/Keyboard.tsx +1 -1
- package/src/features/keyboard/components/MainLayout/MainLayout.tsx +1 -1
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
- package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +1 -1
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -1
- package/src/features/openEnded/components/OpenEndedAttemptsLimit.tsx +1 -1
- package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +1 -1
- package/src/features/pmProgress/components/header/NextUp.tsx +6 -2
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +1 -1
- package/src/features/pmProgress/components/header/StartButton.tsx +2 -12
- package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +19 -4
- package/src/features/pmProgress/components/list/Fluency.tsx +2 -2
- package/src/features/pmProgress/components/list/{DomainCard.tsx → ListCard.tsx} +26 -19
- package/src/features/pmProgress/components/list/{StandardItem.tsx → ListItem.tsx} +4 -4
- package/src/features/pmProgress/components/list/PmDomainList.tsx +3 -3
- package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +5 -9
- package/src/features/pmProgress/shared/pmProgress.helpers.ts +2 -1
- package/src/features/problemSelector/components/ProblemSelectorButton.tsx +1 -1
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +1 -1
- package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +7 -2
- package/src/features/voice/recording/components/VoiceRecordTimer.tsx +1 -1
- package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +1 -1
- package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +1 -1
- package/dist/commonjs/features/pmProgress/components/list/DomainCard.js.map +0 -1
- package/dist/commonjs/features/pmProgress/components/list/StandardItem.js.map +0 -1
- package/dist/module/features/pmProgress/components/list/DomainCard.js.map +0 -1
- package/dist/module/features/pmProgress/components/list/StandardItem.js.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/DomainCard.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/StandardItem.d.ts +0 -13
- package/dist/typescript/commonjs/features/pmProgress/components/list/StandardItem.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/list/DomainCard.d.ts.map +0 -1
- package/dist/typescript/module/features/pmProgress/components/list/StandardItem.d.ts +0 -13
- package/dist/typescript/module/features/pmProgress/components/list/StandardItem.d.ts.map +0 -1
|
@@ -6,7 +6,7 @@ import { HintButtonVariant, RequestHintButton } from '../RequestHintButton'
|
|
|
6
6
|
import { useChatModel } from '../../../context/ChatBotModelContext'
|
|
7
7
|
import { getText as t } from '../../../../../i18n/i18n'
|
|
8
8
|
import { ChatTextInput } from './ChatTextInput'
|
|
9
|
-
import { TEST_IDS } from '
|
|
9
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
10
10
|
|
|
11
11
|
type FreeTextInputBlockProps = {
|
|
12
12
|
optionLabel: string
|
|
@@ -9,7 +9,7 @@ import Animated, {
|
|
|
9
9
|
import { ArrowUpIcon, COLORS, IS_MOBILE } from '@magmamath/react-native-ui'
|
|
10
10
|
import { ColorScheme } from '@magmamath/students-features'
|
|
11
11
|
import { MESSAGE_COLORS_MAP } from '../../../constants'
|
|
12
|
-
import { TEST_IDS } from '
|
|
12
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
13
13
|
|
|
14
14
|
type SendMessageButtonProps = {
|
|
15
15
|
onPress: () => void
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
SPACING,
|
|
15
15
|
} from '@magmamath/react-native-ui'
|
|
16
16
|
import { ColorScheme } from '@magmamath/students-features'
|
|
17
|
-
import { TEST_IDS } from '
|
|
17
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
18
18
|
import { INPUT_WIDTH, MESSAGE_COLORS_MAP } from '../../constants'
|
|
19
19
|
|
|
20
20
|
export enum HintButtonVariant {
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
3
|
import { BORDER_RADIUS, COLORS, Loader, LoaderColor } from '@magmamath/react-native-ui'
|
|
4
4
|
import { SPACING } from '@magmamath/react-native-ui'
|
|
5
|
-
import { TEST_IDS } from '
|
|
5
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
6
6
|
|
|
7
7
|
type MessageLoaderProps = {
|
|
8
8
|
isLoading?: boolean
|
|
@@ -6,7 +6,7 @@ import { ConversationMessage } from '../../types/units.types'
|
|
|
6
6
|
import { MessageVariant } from '../../types/model.types'
|
|
7
7
|
import { ColorScheme } from '../../types/style.types'
|
|
8
8
|
import { MESSAGE_COLORS_MAP } from '../../constants'
|
|
9
|
-
import { TEST_IDS } from '
|
|
9
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
10
10
|
|
|
11
11
|
type MessageTextToSpeechProps = {
|
|
12
12
|
state: T2SState
|
|
@@ -7,7 +7,7 @@ import { ColorScheme } from '../../types/style.types'
|
|
|
7
7
|
import { MessageVariant } from '../../types/model.types'
|
|
8
8
|
import { VariantProps } from './ChatMessage'
|
|
9
9
|
import { MessageContent } from './MessageContent'
|
|
10
|
-
import { TEST_IDS } from '
|
|
10
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
11
11
|
|
|
12
12
|
export const ReceivedMessage = ({
|
|
13
13
|
message,
|
|
@@ -7,7 +7,7 @@ import { VariantProps } from './ChatMessage'
|
|
|
7
7
|
import { MESSAGE_COLORS_MAP } from '../../constants'
|
|
8
8
|
import { ColorScheme } from '../../types/style.types'
|
|
9
9
|
import { MessageVariant } from '../../types/model.types'
|
|
10
|
-
import { TEST_IDS } from '
|
|
10
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
11
11
|
|
|
12
12
|
export const SentMessage = React.memo(
|
|
13
13
|
({ message, isTranslated, colorScheme = ColorScheme.Blue }: VariantProps) => {
|
|
@@ -5,7 +5,7 @@ import { useStoreMap, useUnit } from 'effector-react'
|
|
|
5
5
|
import { StyleSheet } from 'react-native'
|
|
6
6
|
import { HighlighterIcon } from '../../../shared/icons/HighlighterIcon'
|
|
7
7
|
import { ConversationMessage } from '../types/units.types'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
import { useText } from '../../../i18n/i18n'
|
|
10
10
|
|
|
11
11
|
type ErrorSpottingButtonProps = {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import { EOAModalContentProps } from '../../types'
|
|
14
14
|
import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
15
15
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
16
|
-
import { TEST_IDS } from '
|
|
16
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
17
17
|
|
|
18
18
|
export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
|
|
19
19
|
useKeyBoard({
|
|
@@ -12,7 +12,7 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
|
12
12
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
13
13
|
import { getEoaButtonColor } from '../../helpers'
|
|
14
14
|
import { AssessmentScoreCard } from '../AssessmentScoreCard/AssessmentScoreCard'
|
|
15
|
-
import { TEST_IDS } from '
|
|
15
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
16
16
|
|
|
17
17
|
export const CorrectAnswer = ({ textContent, model, onPracticePress }: EOAModalContentProps) => {
|
|
18
18
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import { EOAModalContentProps } from '../../types'
|
|
14
14
|
import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
15
15
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
16
|
-
import { TEST_IDS } from '
|
|
16
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
17
17
|
|
|
18
18
|
export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
|
|
19
19
|
const handleDismiss = () => model.hidePopUp()
|
|
@@ -15,7 +15,7 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
|
15
15
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
16
16
|
import { getEoaButtonColor } from '../../helpers'
|
|
17
17
|
import { useUnit } from 'effector-react'
|
|
18
|
-
import { TEST_IDS } from '
|
|
18
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
19
19
|
|
|
20
20
|
export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
|
|
21
21
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -18,7 +18,7 @@ import { PracticeButton } from '../../ui/PracticeButton'
|
|
|
18
18
|
import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
19
19
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
20
20
|
import { getEoaButtonColor } from '../../helpers'
|
|
21
|
-
import { TEST_IDS } from '
|
|
21
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
22
22
|
|
|
23
23
|
export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalContentProps) => {
|
|
24
24
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
|
|
24
24
|
import { ModalModel } from './model'
|
|
25
25
|
import { ModalBackground } from './ModalBackground'
|
|
26
|
-
import { TEST_IDS } from '
|
|
26
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
27
27
|
|
|
28
28
|
const stopPropagation = {
|
|
29
29
|
onTouchStart: (event: GestureResponderEvent) => {
|
|
@@ -18,7 +18,7 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
|
|
|
18
18
|
import { KeyboardKeys } from '../../../../lib/constants'
|
|
19
19
|
import { getEoaButtonColor } from '../../helpers'
|
|
20
20
|
import { AssessmentScoreCard } from '../AssessmentScoreCard/AssessmentScoreCard'
|
|
21
|
-
import { TEST_IDS } from '
|
|
21
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
22
22
|
|
|
23
23
|
export const NoAnswer = ({ model, textContent, onPracticePress }: EOAModalContentProps) => {
|
|
24
24
|
const popUpData = useUnit(model.$popUpData)
|
|
@@ -11,7 +11,7 @@ import Animated, {
|
|
|
11
11
|
import { ButtonVariant, SPACING, Button, ButtonSize, ButtonColor } from '@magmamath/react-native-ui'
|
|
12
12
|
|
|
13
13
|
import { PracticeButton } from './PracticeButton'
|
|
14
|
-
import { TEST_IDS } from '
|
|
14
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
15
15
|
|
|
16
16
|
type PracticeButtonGroupProps = {
|
|
17
17
|
textContent: { leftButtonText?: string; rightButtonText?: string }
|
|
@@ -5,7 +5,7 @@ import { ExampleSolutionModalParams } from '../types'
|
|
|
5
5
|
import { QuestionSection } from './QuestionSection'
|
|
6
6
|
import { SolutionSection } from './SolutionSection'
|
|
7
7
|
import { useExampleSolution } from '../hooks/useExampleSolution'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
import { useText } from '../../../i18n/i18n'
|
|
10
10
|
|
|
11
11
|
type ExampleSolutionModalContentProps = {
|
|
@@ -3,7 +3,7 @@ import React from 'react'
|
|
|
3
3
|
import { COLORS, Loader, LoaderColor, SPACING } from '@magmamath/react-native-ui'
|
|
4
4
|
import Animated, { FadeOut } from 'react-native-reanimated'
|
|
5
5
|
import { ExampleSolutionStatuses } from '../constants'
|
|
6
|
-
import { TEST_IDS } from '
|
|
6
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
7
7
|
|
|
8
8
|
type QuestionSectionProps = {
|
|
9
9
|
question?: string
|
|
@@ -11,7 +11,7 @@ import { COLORS, IS_WEB, SPACING } from '@magmamath/react-native-ui'
|
|
|
11
11
|
import Animated, { FadeIn } from 'react-native-reanimated'
|
|
12
12
|
import { ExampleSolutionStatuses } from '../constants'
|
|
13
13
|
import gridImage from '../assets/grid.webp'
|
|
14
|
-
import { TEST_IDS } from '
|
|
14
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
15
15
|
|
|
16
16
|
type SolutionSectionProps = {
|
|
17
17
|
answer?: string
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native'
|
|
3
3
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
4
|
import { BUENOS_AIRES_FONT } from '../constants'
|
|
5
|
-
import { TEST_IDS } from '
|
|
5
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
6
6
|
import { useText } from '../../../i18n/i18n'
|
|
7
7
|
|
|
8
8
|
export const EmptyComment = () => {
|
|
@@ -3,7 +3,7 @@ import { Text, View, StyleSheet } from 'react-native'
|
|
|
3
3
|
import { MessageBubbleIcon } from '../../../shared/icons/MessageBubbleIcon'
|
|
4
4
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
5
5
|
import { BUENOS_AIRES_FONT } from '../constants'
|
|
6
|
-
import { TEST_IDS } from '
|
|
6
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
7
7
|
|
|
8
8
|
type ListCardCommentsCountProps = {
|
|
9
9
|
count: number
|
|
@@ -5,7 +5,7 @@ import { UnreadMessagesBadge } from './UnreadMessagesBadge'
|
|
|
5
5
|
import { MessageBubbleIcon } from '../../../shared/icons/MessageBubbleIcon'
|
|
6
6
|
import { XCloseIcon } from '../../../shared/icons/XCloseIcon'
|
|
7
7
|
import { FeedbackButtonSize, TEACHER_FEEDBACK_BUTTON_ID } from '../constants'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
|
|
10
10
|
const ICON_SIZES = {
|
|
11
11
|
[FeedbackButtonSize.LARGE]: 37,
|
|
@@ -4,7 +4,7 @@ import { COLORS } from '@magmamath/react-native-ui'
|
|
|
4
4
|
import { BUENOS_AIRES_FONT } from '../../constants'
|
|
5
5
|
import { getRelativeTimeText } from '../../../../lib/helpers/helpers'
|
|
6
6
|
import { TeacherComment as TeacherCommentEntity } from '../../types'
|
|
7
|
-
import { TEST_IDS } from '
|
|
7
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
8
8
|
|
|
9
9
|
type TeacherCommentProps = {
|
|
10
10
|
comment: TeacherCommentEntity
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { Text, View, StyleSheet, Platform, StyleProp, ViewStyle, TextStyle } from 'react-native'
|
|
3
3
|
import { COLORS } from '@magmamath/react-native-ui'
|
|
4
|
-
import { TEST_IDS } from '
|
|
4
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
5
5
|
|
|
6
6
|
type UnreadMessagesBadgeProps = {
|
|
7
7
|
badgeContent?: number
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from '@magmamath/react-native-ui'
|
|
14
14
|
import { FormulaSheetModel } from '../model/model'
|
|
15
15
|
import { FormulaSheetModal } from './FormulaSheetModal'
|
|
16
|
-
import { TEST_IDS } from '
|
|
16
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
17
17
|
|
|
18
18
|
type FormulaSheetProps = {
|
|
19
19
|
model: FormulaSheetModel
|
|
@@ -5,7 +5,7 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
|
5
5
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
6
6
|
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
7
7
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
|
|
10
10
|
export const BasicLayout = ({ keys, ...props }: KeyboardLayoutProps & PropsWithChildren) => {
|
|
11
11
|
const keysByLocale = getMainKeyboardGroup(keys, KeyboardType.Basic)
|
|
@@ -4,7 +4,7 @@ import { KeysList } from '../KeysList/KeysList'
|
|
|
4
4
|
import { BasicLayout } from './BasicLayout'
|
|
5
5
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
7
|
-
import { TEST_IDS } from '
|
|
7
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
8
8
|
|
|
9
9
|
export const CurrencyBasicLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
10
10
|
const keysGroup = getMainKeyboardGroup(keys, KeyboardType.BasicCurrency)
|
|
@@ -5,7 +5,7 @@ import { BasicLayout } from './BasicLayout'
|
|
|
5
5
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
7
7
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
|
|
10
10
|
export const TimeBasicLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
11
11
|
const keysGroup = getMainKeyboardGroup(keys, KeyboardType.BasicTime)
|
|
@@ -5,7 +5,7 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
|
5
5
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
6
6
|
import { MOBILE_LAYOUT_WIDTH } from '../../constants/keyboard.constants'
|
|
7
7
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
|
|
10
10
|
export const BasicPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
11
11
|
const { width } = useWindowDimensions()
|
|
@@ -5,7 +5,7 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
|
5
5
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
6
6
|
import { IS_MOBILE } from '@magmamath/react-native-ui'
|
|
7
7
|
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
|
|
10
10
|
export const BasicPlusPlusLayout = ({ keys, ...props }: KeyboardLayoutProps) => {
|
|
11
11
|
const { width } = useWindowDimensions()
|
|
@@ -12,7 +12,7 @@ import { isMobileWidth } from '../helpers'
|
|
|
12
12
|
import { KeyboardConfig } from '@magmamath/frontend-config'
|
|
13
13
|
import { KeyboardKey, KeyboardKeyValue } from '../types/types'
|
|
14
14
|
import { resolveKeyboard } from '../constants/keyboard.helpers'
|
|
15
|
-
import { TEST_IDS } from '
|
|
15
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
16
16
|
|
|
17
17
|
type KeyboardProps = {
|
|
18
18
|
onKeyPress: (key: KeyboardKeyValue) => void
|
|
@@ -4,7 +4,7 @@ import { IS_MOBILE, IS_WEB, SelectOptionColor } from '@magmamath/react-native-ui
|
|
|
4
4
|
import { getLayoutByCharType, isBasicPlusPlusLayout } from '../../constants/keyboardLayouts'
|
|
5
5
|
import { UnderlinedLayout } from '../UnderlinedLayout/UnderlinedLayout'
|
|
6
6
|
import { KeyboardKey, KeyboardKeyValue, ResolvedKeyboard } from '../../types/types'
|
|
7
|
-
import { TEST_IDS } from '
|
|
7
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
8
8
|
|
|
9
9
|
type LayoutProps = {
|
|
10
10
|
keys: ResolvedKeyboard
|
|
@@ -5,7 +5,7 @@ import { SPACING } from '@magmamath/react-native-ui'
|
|
|
5
5
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { useText } from '../../../../i18n/i18n'
|
|
7
7
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
8
|
-
import { TEST_IDS } from '
|
|
8
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
9
9
|
|
|
10
10
|
type NumpadProps = {
|
|
11
11
|
style?: StyleProp<ViewStyle>
|
|
@@ -3,7 +3,7 @@ import { View } from 'react-native'
|
|
|
3
3
|
import { KeysList } from '../KeysList/KeysList'
|
|
4
4
|
import { KeyboardLayoutProps, KeyboardType, ResolvedKeyboard } from '../../types/types'
|
|
5
5
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
6
|
-
import { TEST_IDS } from '
|
|
6
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
7
7
|
|
|
8
8
|
type UnderlinedLayoutProps = {
|
|
9
9
|
keys: ResolvedKeyboard
|
|
@@ -9,7 +9,7 @@ import { useUnitTabs } from './hooks/useUnitTabs'
|
|
|
9
9
|
import { getMainKeyboardGroup } from '../../helpers'
|
|
10
10
|
import { KeyboardUnitsGroupType, SelectedLayout } from './types'
|
|
11
11
|
import { getSelectOptions } from './helpers'
|
|
12
|
-
import { TEST_IDS } from '
|
|
12
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
13
13
|
|
|
14
14
|
export const UnitsLayout = ({ onLayoutChange, keys, ...props }: KeyboardLayoutProps) => {
|
|
15
15
|
const { width } = useWindowDimensions()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { View, StyleSheet, Text } from 'react-native'
|
|
3
3
|
import { SPACING, BORDER_RADIUS, COLORS } from '@magmamath/react-native-ui'
|
|
4
|
-
import { TEST_IDS } from '
|
|
4
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
5
5
|
|
|
6
6
|
type OEAttemptsLimitProps = {
|
|
7
7
|
text: string
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import { getScoreLabelColor } from '../oe.helpers'
|
|
11
11
|
import { OpenEndedScoreLabelVariant } from '../oe.types'
|
|
12
12
|
import { isWeb } from '../../../shared/common.constants'
|
|
13
|
-
import { TEST_IDS } from '
|
|
13
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
14
14
|
|
|
15
15
|
type OpenEndedScoreLabelProps = {
|
|
16
16
|
label: string
|
|
@@ -3,7 +3,7 @@ import { StyleSheet, View } from 'react-native'
|
|
|
3
3
|
import { COLORS, HeadingVariants, SPACING, Typography } from '@magmamath/react-native-ui'
|
|
4
4
|
import { SketchArrowRight } from '../../../../shared/icons/SketchArrowRight'
|
|
5
5
|
import { SliceDiamondIcon } from '../../../../shared/icons/SliceDiamondIcon'
|
|
6
|
-
import { TEST_IDS } from '
|
|
6
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
7
7
|
import { useUnit } from 'effector-react'
|
|
8
8
|
import { usePmProgress } from '../../context/PmProgressContext'
|
|
9
9
|
import { OpeningLoaderId, SolvingFlow } from '../../shared/pmProgress.constants'
|
|
@@ -33,7 +33,11 @@ export const NextUp = () => {
|
|
|
33
33
|
</Typography>
|
|
34
34
|
</View>
|
|
35
35
|
<View style={[styles.row, styles.tilted]}>
|
|
36
|
-
<Typography
|
|
36
|
+
<Typography
|
|
37
|
+
variant={HeadingVariants.H7}
|
|
38
|
+
style={styles.muted}
|
|
39
|
+
testID={TEST_IDS.PM_PROGRESS_NEXT_UP_DOMAIN_NAME}
|
|
40
|
+
>
|
|
37
41
|
{nextUp.domain.title}
|
|
38
42
|
</Typography>
|
|
39
43
|
<View style={styles.diamond}>
|
|
@@ -18,7 +18,7 @@ import { useStoreMap, useUnit } from 'effector-react'
|
|
|
18
18
|
import { usePmProgress } from '../../context/PmProgressContext'
|
|
19
19
|
import { formatGradeLabel } from '../../shared/pmProgress.helpers'
|
|
20
20
|
import { MenuIcon } from '../../../../shared/icons/MenuIcon'
|
|
21
|
-
import { TEST_IDS } from '
|
|
21
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
22
22
|
import { NextUp } from './NextUp'
|
|
23
23
|
import { BURGER_MENU_BREAKPOINT, MENU_MAX_HEIGHT } from '@magmamath/students-features'
|
|
24
24
|
import { useText } from '../../../../i18n/i18n'
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
SPACING,
|
|
12
12
|
Typography,
|
|
13
13
|
} from '@magmamath/react-native-ui'
|
|
14
|
-
import { TEST_IDS } from '
|
|
14
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
15
15
|
import { useText } from '../../../../i18n/i18n'
|
|
16
16
|
|
|
17
17
|
const PULSATION_COLOR = '#FFBE4E66'
|
|
@@ -66,18 +66,8 @@ export const StartButton = ({
|
|
|
66
66
|
useNativeDriver: true,
|
|
67
67
|
})
|
|
68
68
|
|
|
69
|
-
const resetAnimations = Animated.parallel([
|
|
70
|
-
Animated.timing(scaleAnimValue, { toValue: 0, duration: 0, useNativeDriver: true }),
|
|
71
|
-
Animated.timing(fadeAnimValue, { toValue: 1, duration: 0, useNativeDriver: true }),
|
|
72
|
-
])
|
|
73
|
-
|
|
74
69
|
const pulsation = Animated.loop(
|
|
75
|
-
Animated.sequence([
|
|
76
|
-
resetAnimations,
|
|
77
|
-
scaleAnimation,
|
|
78
|
-
Animated.delay(PULSE_DELAY),
|
|
79
|
-
fadeOutAnimation,
|
|
80
|
-
]),
|
|
70
|
+
Animated.sequence([scaleAnimation, Animated.delay(PULSE_DELAY), fadeOutAnimation]),
|
|
81
71
|
)
|
|
82
72
|
|
|
83
73
|
pulsation.start()
|
|
@@ -17,7 +17,7 @@ import { useUnit } from 'effector-react'
|
|
|
17
17
|
import { formatTime } from '../../shared/pmProgress.helpers'
|
|
18
18
|
import { InsightsTimeframe, STATS_MAX_HEIGHT } from '../../shared/pmProgress.constants'
|
|
19
19
|
import { usePmProgress } from '../../context/PmProgressContext'
|
|
20
|
-
import { TEST_IDS } from '
|
|
20
|
+
import { TEST_IDS } from '@magmamath/students-qa'
|
|
21
21
|
import { useText } from '../../../../i18n/i18n'
|
|
22
22
|
|
|
23
23
|
const optionStyle: SelectOptionProps['style'] = {
|
|
@@ -35,9 +35,24 @@ export const PmTimeframeStats = () => {
|
|
|
35
35
|
const insights = useUnit(model.insights.$insights)
|
|
36
36
|
|
|
37
37
|
const OPTIONS: SelectOptionProps[] = [
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
{
|
|
39
|
+
key: InsightsTimeframe.WEEK,
|
|
40
|
+
title: t('pmProgress.thisWeek'),
|
|
41
|
+
style: optionStyle,
|
|
42
|
+
testID: TEST_IDS.PM_PROGRESS_TIMEFRAME_TAB(InsightsTimeframe.WEEK),
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: InsightsTimeframe.LAST_WEEK,
|
|
46
|
+
title: t('pmProgress.lastWeek'),
|
|
47
|
+
style: optionStyle,
|
|
48
|
+
testID: TEST_IDS.PM_PROGRESS_TIMEFRAME_TAB(InsightsTimeframe.LAST_WEEK),
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
key: InsightsTimeframe.ALL,
|
|
52
|
+
title: t('pmProgress.allTime'),
|
|
53
|
+
style: optionStyle,
|
|
54
|
+
testID: TEST_IDS.PM_PROGRESS_TIMEFRAME_TAB(InsightsTimeframe.ALL),
|
|
55
|
+
},
|
|
41
56
|
]
|
|
42
57
|
|
|
43
58
|
return (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { StyleSheet, View } from 'react-native'
|
|
3
|
-
import {
|
|
3
|
+
import { ListCard } from './ListCard'
|
|
4
4
|
import { COLORS, SPACING } from '@magmamath/react-native-ui'
|
|
5
5
|
import { SliceDiamondIcon } from '../../../../shared/icons/SliceDiamondIcon'
|
|
6
6
|
import { useUnit } from 'effector-react'
|
|
@@ -28,7 +28,7 @@ export const Fluency = ({ data }: FluencyProps) => {
|
|
|
28
28
|
return (
|
|
29
29
|
<View style={styles.container}>
|
|
30
30
|
<View style={styles.separator} />
|
|
31
|
-
<
|
|
31
|
+
<ListCard
|
|
32
32
|
title={t('pmProgress.fluency')}
|
|
33
33
|
items={data.standards.map((standard) => ({ ...standard, id: standard.standardId }))}
|
|
34
34
|
progress={data.scorePercentage}
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
SPACING,
|
|
10
10
|
Typography,
|
|
11
11
|
} from '@magmamath/react-native-ui'
|
|
12
|
-
import {
|
|
12
|
+
import { ListItem } from './ListItem'
|
|
13
13
|
import { useText } from '../../../../i18n/i18n'
|
|
14
14
|
|
|
15
15
|
const HEADER_HEIGHT = 60
|
|
16
16
|
const PROGRESS_BAR_WIDTH = 50
|
|
17
17
|
const PROGRESS_BAR_HEIGHT = 10
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type ListCardItem = {
|
|
20
20
|
id: string
|
|
21
21
|
title: string
|
|
22
22
|
subtitle: string
|
|
@@ -25,7 +25,13 @@ export type DomainCardItem = {
|
|
|
25
25
|
testID?: string
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
function getVisibleItems<T>(items: T[], maxItems?: number) {
|
|
29
|
+
const visible = maxItems != null ? items.slice(0, maxItems) : items
|
|
30
|
+
const remainingCount = maxItems != null ? Math.max(0, items.length - maxItems) : 0
|
|
31
|
+
return { visible, remainingCount }
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type ListCardProps<T extends ListCardItem> = {
|
|
29
35
|
title: string
|
|
30
36
|
icon: React.ReactElement
|
|
31
37
|
color: string
|
|
@@ -39,15 +45,15 @@ type DomainCardProps<T extends DomainCardItem> = {
|
|
|
39
45
|
rightContent?: React.ReactNode
|
|
40
46
|
isFirst?: boolean
|
|
41
47
|
isLast?: boolean
|
|
48
|
+
maxItems?: number
|
|
42
49
|
expandedColor?: string
|
|
43
50
|
isSkillsLeftHidden?: boolean
|
|
44
51
|
isHighlighted?: boolean
|
|
45
52
|
loadingItemId?: string | null
|
|
46
|
-
remainingItemsCount?: number
|
|
47
53
|
testID?: string
|
|
48
54
|
}
|
|
49
55
|
|
|
50
|
-
export const
|
|
56
|
+
export const ListCard = <T extends ListCardItem>({
|
|
51
57
|
title,
|
|
52
58
|
icon,
|
|
53
59
|
color,
|
|
@@ -62,15 +68,16 @@ export const DomainCard = <T extends DomainCardItem>({
|
|
|
62
68
|
rightContent,
|
|
63
69
|
isFirst,
|
|
64
70
|
isLast,
|
|
71
|
+
maxItems,
|
|
65
72
|
expandedColor = COLORS.NEUTRAL_3,
|
|
66
73
|
isSkillsLeftHidden = false,
|
|
67
74
|
loadingItemId = null,
|
|
68
|
-
remainingItemsCount = 0,
|
|
69
75
|
testID,
|
|
70
|
-
}:
|
|
76
|
+
}: ListCardProps<T>) => {
|
|
71
77
|
const t = useText()
|
|
72
78
|
const [isHovered, setIsHovered] = useState(false)
|
|
73
79
|
|
|
80
|
+
const { visible: standards, remainingCount } = getVisibleItems(items, maxItems)
|
|
74
81
|
const withHighlight = isHovered || isExpanded || isHighlighted
|
|
75
82
|
|
|
76
83
|
const Caret = isExpanded ? CaretDownIcon : CaretRightIcon
|
|
@@ -126,22 +133,22 @@ export const DomainCard = <T extends DomainCardItem>({
|
|
|
126
133
|
</Pressable>
|
|
127
134
|
{isExpanded && (
|
|
128
135
|
<View style={[styles.items, isLast && styles.itemsLast]}>
|
|
129
|
-
{
|
|
130
|
-
<
|
|
131
|
-
key={
|
|
132
|
-
title={
|
|
133
|
-
skillsLeft={
|
|
134
|
-
subtitle={
|
|
135
|
-
isFinished={
|
|
136
|
-
isLoading={loadingItemId ===
|
|
136
|
+
{standards.map((standard) => (
|
|
137
|
+
<ListItem
|
|
138
|
+
key={standard.id}
|
|
139
|
+
title={standard.title}
|
|
140
|
+
skillsLeft={standard.skillsLeft}
|
|
141
|
+
subtitle={standard.subtitle}
|
|
142
|
+
isFinished={standard.isCompleted}
|
|
143
|
+
isLoading={loadingItemId === standard.id}
|
|
137
144
|
isSkillsLeftHidden={isSkillsLeftHidden}
|
|
138
|
-
testID={
|
|
139
|
-
onPress={() => onItemPress?.(
|
|
145
|
+
testID={standard.testID}
|
|
146
|
+
onPress={() => onItemPress?.(standard)}
|
|
140
147
|
/>
|
|
141
148
|
))}
|
|
142
|
-
{
|
|
149
|
+
{remainingCount > 0 && (
|
|
143
150
|
<Typography variant={HeadingVariants.H8} style={styles.moreText}>
|
|
144
|
-
{t('pmProgress.andMore', { count: `${
|
|
151
|
+
{t('pmProgress.andMore', { count: `${remainingCount}` })}
|
|
145
152
|
</Typography>
|
|
146
153
|
)}
|
|
147
154
|
</View>
|