@magmamath/students-features 1.10.0-rc.0 → 1.10.0-rc.2
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/AIAvatar.js +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/AIAvatar.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +1 -1
- package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +10 -0
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatLauncher.js +2 -1
- package/dist/commonjs/features/chatbot/components/ChatControls/ChatLauncher.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +10 -5
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +7 -6
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +6 -4
- package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +4 -3
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +3 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +2 -1
- package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/commonjs/features/chatbot/constants.js +8 -7
- package/dist/commonjs/features/chatbot/constants.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +5 -4
- package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +5 -4
- package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +6 -5
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +5 -4
- package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +4 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +4 -3
- package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +5 -4
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js +10 -8
- package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +5 -4
- package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/commonjs/features/endOfAssignment/ui/EOABadge.js +3 -2
- package/dist/commonjs/features/endOfAssignment/ui/EOABadge.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +6 -5
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +6 -4
- package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +3 -2
- package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +9 -8
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js +4 -3
- package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js.map +1 -1
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +6 -5
- package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +4 -3
- package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/commonjs/features/gifCelebrations/components/Gif.js +4 -3
- package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
- package/dist/commonjs/features/gifCelebrations/components/Progress.js +5 -4
- package/dist/commonjs/features/gifCelebrations/components/Progress.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +16 -14
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +16 -14
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Keyboard.js +7 -5
- package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/MainLayout/constants.js +10 -8
- package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +4 -3
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +4 -3
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +8 -5
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +4 -3
- package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/helpers.js +2 -9
- package/dist/commonjs/features/keyboard/helpers.js.map +1 -1
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +7 -5
- package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/commonjs/features/openEnded/oe.helpers.js +3 -3
- package/dist/commonjs/features/openEnded/oe.helpers.js.map +1 -1
- package/dist/commonjs/features/pmProgress/PmProgress.js +9 -3
- package/dist/commonjs/features/pmProgress/PmProgress.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js +1 -1
- package/dist/commonjs/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js +13 -5
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +7 -5
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js +6 -4
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js +12 -7
- package/dist/commonjs/features/pmProgress/components/insights/PmInsights.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +10 -7
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js +12 -4
- package/dist/commonjs/features/pmProgress/components/insights/StatsCard.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/DomainCard.js +16 -6
- package/dist/commonjs/features/pmProgress/components/list/DomainCard.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js +7 -5
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js +7 -3
- package/dist/commonjs/features/pmProgress/components/list/PmDomainList.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/StandardItem.js +6 -6
- package/dist/commonjs/features/pmProgress/components/list/StandardItem.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +7 -7
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +6 -5
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js +70 -68
- package/dist/commonjs/features/pmProgress/components/standard/StandardTag.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js +5 -1
- package/dist/commonjs/features/pmProgress/shared/TreeNormalizer.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.js +13 -9
- package/dist/commonjs/features/pmProgress/shared/pmProgress.constants.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/profile/Profile.js +104 -0
- package/dist/commonjs/features/profile/Profile.js.map +1 -0
- package/dist/commonjs/features/profile/components/actions/ProfileActions.js +97 -0
- package/dist/commonjs/features/profile/components/actions/ProfileActions.js.map +1 -0
- package/dist/commonjs/features/profile/components/cards/ProfileCard.js +66 -0
- package/dist/commonjs/features/profile/components/cards/ProfileCard.js.map +1 -0
- package/dist/commonjs/features/profile/components/info/AccountInfoCard.js +96 -0
- package/dist/commonjs/features/profile/components/info/AccountInfoCard.js.map +1 -0
- package/dist/commonjs/features/profile/components/modals/JoinClassModal.js +199 -0
- package/dist/commonjs/features/profile/components/modals/JoinClassModal.js.map +1 -0
- package/dist/commonjs/features/profile/components/modals/LogoutConfirmModal.js +61 -0
- package/dist/commonjs/features/profile/components/modals/LogoutConfirmModal.js.map +1 -0
- package/dist/commonjs/features/profile/components/modals/TranslationLanguageModal.js +143 -0
- package/dist/commonjs/features/profile/components/modals/TranslationLanguageModal.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/LanguageSettingsCard.js +22 -0
- package/dist/commonjs/features/profile/components/settings/LanguageSettingsCard.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/PreferencesCard.js +108 -0
- package/dist/commonjs/features/profile/components/settings/PreferencesCard.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/SettingRow.js +51 -0
- package/dist/commonjs/features/profile/components/settings/SettingRow.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/TextSettingsCard.js +79 -0
- package/dist/commonjs/features/profile/components/settings/TextSettingsCard.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/TextSizeSlider.js +120 -0
- package/dist/commonjs/features/profile/components/settings/TextSizeSlider.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/TextToSpeechRow.js +38 -0
- package/dist/commonjs/features/profile/components/settings/TextToSpeechRow.js.map +1 -0
- package/dist/commonjs/features/profile/components/settings/TranslationLanguageRow.js +63 -0
- package/dist/commonjs/features/profile/components/settings/TranslationLanguageRow.js.map +1 -0
- package/dist/commonjs/features/profile/context/ProfileContext.js +18 -0
- package/dist/commonjs/features/profile/context/ProfileContext.js.map +1 -0
- package/dist/commonjs/features/profile/index.js +80 -0
- package/dist/commonjs/features/profile/index.js.map +1 -0
- package/dist/commonjs/features/profile/model/ProfileApi.js +15 -0
- package/dist/commonjs/features/profile/model/ProfileApi.js.map +1 -0
- package/dist/commonjs/features/profile/model/ProfileJoinClassModel.js +59 -0
- package/dist/commonjs/features/profile/model/ProfileJoinClassModel.js.map +1 -0
- package/dist/commonjs/features/profile/model/ProfileLanguageModel.js +27 -0
- package/dist/commonjs/features/profile/model/ProfileLanguageModel.js.map +1 -0
- package/dist/commonjs/features/profile/model/ProfileModel.js +66 -0
- package/dist/commonjs/features/profile/model/ProfileModel.js.map +1 -0
- package/dist/commonjs/features/profile/model/profileModal.types.js +6 -0
- package/dist/commonjs/features/profile/model/profileModal.types.js.map +1 -0
- package/dist/commonjs/features/profile/shared/JoinClassError.js +16 -0
- package/dist/commonjs/features/profile/shared/JoinClassError.js.map +1 -0
- package/dist/commonjs/features/profile/shared/profile.constants.js +29 -0
- package/dist/commonjs/features/profile/shared/profile.constants.js.map +1 -0
- package/dist/commonjs/features/profile/shared/profile.helpers.js +40 -0
- package/dist/commonjs/features/profile/shared/profile.helpers.js.map +1 -0
- package/dist/commonjs/features/profile/shared/profile.types.js +6 -0
- package/dist/commonjs/features/profile/shared/profile.types.js.map +1 -0
- package/dist/commonjs/features/voice/playing/components/VoiceIcon.js +6 -4
- package/dist/commonjs/features/voice/playing/components/VoiceIcon.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptContent.js +4 -3
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptContent.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscription.js +5 -4
- package/dist/commonjs/features/voice/playing/components/VoiceTranscription.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionHeaderActions.js +3 -2
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionHeaderActions.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDivider.js +4 -3
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDivider.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +6 -5
- package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/shared/common.constants.js +6 -1
- package/dist/commonjs/shared/common.constants.js.map +1 -1
- package/dist/commonjs/shared/hooks/useKeyboardOffset.js +58 -0
- package/dist/commonjs/shared/hooks/useKeyboardOffset.js.map +1 -0
- package/dist/module/features/chatbot/components/Chat/AIAvatar.js +1 -1
- package/dist/module/features/chatbot/components/Chat/AIAvatar.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 +11 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatControls/ChatLauncher.js +3 -2
- package/dist/module/features/chatbot/components/ChatControls/ChatLauncher.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +12 -7
- package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +10 -9
- package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +8 -6
- package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +6 -5
- package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +4 -2
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +4 -3
- package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
- package/dist/module/features/chatbot/constants.js +6 -6
- package/dist/module/features/chatbot/constants.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +7 -6
- package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +7 -6
- package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js +8 -7
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +7 -6
- package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +6 -5
- package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +6 -5
- package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +7 -6
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js +12 -10
- package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +7 -6
- package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
- package/dist/module/features/endOfAssignment/ui/EOABadge.js +4 -3
- package/dist/module/features/endOfAssignment/ui/EOABadge.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +8 -7
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/components/ListCardCommentsCount.js +8 -6
- package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js +4 -3
- package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +11 -10
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js +6 -5
- package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.js.map +1 -1
- package/dist/module/features/feedback/components/UnreadMessagesBadge.js +8 -7
- 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 +6 -5
- package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
- package/dist/module/features/gifCelebrations/components/Gif.js +6 -5
- package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
- package/dist/module/features/gifCelebrations/components/Progress.js +7 -6
- package/dist/module/features/gifCelebrations/components/Progress.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +15 -14
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +15 -14
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/Keyboard.js +9 -7
- package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
- package/dist/module/features/keyboard/components/MainLayout/constants.js +9 -8
- package/dist/module/features/keyboard/components/MainLayout/constants.js.map +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +6 -5
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +6 -5
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +10 -7
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +5 -4
- package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
- package/dist/module/features/keyboard/helpers.js +2 -9
- package/dist/module/features/keyboard/helpers.js.map +1 -1
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +9 -7
- package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
- package/dist/module/features/openEnded/oe.helpers.js +3 -3
- package/dist/module/features/openEnded/oe.helpers.js.map +1 -1
- package/dist/module/features/pmProgress/PmProgress.js +10 -4
- package/dist/module/features/pmProgress/PmProgress.js.map +1 -1
- package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js +1 -1
- package/dist/module/features/pmProgress/components/chart/components/SlicesPaths.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js +14 -6
- package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +9 -7
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js +8 -6
- package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/PmInsights.js +13 -8
- package/dist/module/features/pmProgress/components/insights/PmInsights.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +10 -7
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/StatsCard.js +14 -6
- package/dist/module/features/pmProgress/components/insights/StatsCard.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/DomainCard.js +17 -7
- package/dist/module/features/pmProgress/components/list/DomainCard.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js +9 -7
- package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/PmDomainList.js +9 -5
- package/dist/module/features/pmProgress/components/list/PmDomainList.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/StandardItem.js +7 -7
- package/dist/module/features/pmProgress/components/list/StandardItem.js.map +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +8 -8
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +7 -6
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/module/features/pmProgress/components/standard/StandardTag.js +72 -70
- package/dist/module/features/pmProgress/components/standard/StandardTag.js.map +1 -1
- package/dist/module/features/pmProgress/shared/TreeNormalizer.js +5 -1
- package/dist/module/features/pmProgress/shared/TreeNormalizer.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.constants.js +14 -10
- package/dist/module/features/pmProgress/shared/pmProgress.constants.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/profile/Profile.js +98 -0
- package/dist/module/features/profile/Profile.js.map +1 -0
- package/dist/module/features/profile/components/actions/ProfileActions.js +91 -0
- package/dist/module/features/profile/components/actions/ProfileActions.js.map +1 -0
- package/dist/module/features/profile/components/cards/ProfileCard.js +60 -0
- package/dist/module/features/profile/components/cards/ProfileCard.js.map +1 -0
- package/dist/module/features/profile/components/info/AccountInfoCard.js +90 -0
- package/dist/module/features/profile/components/info/AccountInfoCard.js.map +1 -0
- package/dist/module/features/profile/components/modals/JoinClassModal.js +192 -0
- package/dist/module/features/profile/components/modals/JoinClassModal.js.map +1 -0
- package/dist/module/features/profile/components/modals/LogoutConfirmModal.js +55 -0
- package/dist/module/features/profile/components/modals/LogoutConfirmModal.js.map +1 -0
- package/dist/module/features/profile/components/modals/TranslationLanguageModal.js +137 -0
- package/dist/module/features/profile/components/modals/TranslationLanguageModal.js.map +1 -0
- package/dist/module/features/profile/components/settings/LanguageSettingsCard.js +16 -0
- package/dist/module/features/profile/components/settings/LanguageSettingsCard.js.map +1 -0
- package/dist/module/features/profile/components/settings/PreferencesCard.js +102 -0
- package/dist/module/features/profile/components/settings/PreferencesCard.js.map +1 -0
- package/dist/module/features/profile/components/settings/SettingRow.js +45 -0
- package/dist/module/features/profile/components/settings/SettingRow.js.map +1 -0
- package/dist/module/features/profile/components/settings/TextSettingsCard.js +73 -0
- package/dist/module/features/profile/components/settings/TextSettingsCard.js.map +1 -0
- package/dist/module/features/profile/components/settings/TextSizeSlider.js +113 -0
- package/dist/module/features/profile/components/settings/TextSizeSlider.js.map +1 -0
- package/dist/module/features/profile/components/settings/TextToSpeechRow.js +32 -0
- package/dist/module/features/profile/components/settings/TextToSpeechRow.js.map +1 -0
- package/dist/module/features/profile/components/settings/TranslationLanguageRow.js +57 -0
- package/dist/module/features/profile/components/settings/TranslationLanguageRow.js.map +1 -0
- package/dist/module/features/profile/context/ProfileContext.js +13 -0
- package/dist/module/features/profile/context/ProfileContext.js.map +1 -0
- package/dist/module/features/profile/index.js +11 -0
- package/dist/module/features/profile/index.js.map +1 -0
- package/dist/module/features/profile/model/ProfileApi.js +10 -0
- package/dist/module/features/profile/model/ProfileApi.js.map +1 -0
- package/dist/module/features/profile/model/ProfileJoinClassModel.js +54 -0
- package/dist/module/features/profile/model/ProfileJoinClassModel.js.map +1 -0
- package/dist/module/features/profile/model/ProfileLanguageModel.js +22 -0
- package/dist/module/features/profile/model/ProfileLanguageModel.js.map +1 -0
- package/dist/module/features/profile/model/ProfileModel.js +61 -0
- package/dist/module/features/profile/model/ProfileModel.js.map +1 -0
- package/dist/module/features/profile/model/profileModal.types.js +4 -0
- package/dist/module/features/profile/model/profileModal.types.js.map +1 -0
- package/dist/module/features/profile/shared/JoinClassError.js +11 -0
- package/dist/module/features/profile/shared/JoinClassError.js.map +1 -0
- package/dist/module/features/profile/shared/profile.constants.js +25 -0
- package/dist/module/features/profile/shared/profile.constants.js.map +1 -0
- package/dist/module/features/profile/shared/profile.helpers.js +32 -0
- package/dist/module/features/profile/shared/profile.helpers.js.map +1 -0
- package/dist/module/features/profile/shared/profile.types.js +4 -0
- package/dist/module/features/profile/shared/profile.types.js.map +1 -0
- package/dist/module/features/voice/playing/components/VoiceIcon.js +8 -6
- package/dist/module/features/voice/playing/components/VoiceIcon.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptContent.js +6 -5
- package/dist/module/features/voice/playing/components/VoiceTranscriptContent.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscription.js +7 -6
- package/dist/module/features/voice/playing/components/VoiceTranscription.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.js +4 -3
- package/dist/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.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 +3 -2
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDivider.js +6 -5
- package/dist/module/features/voice/recording/components/VoiceRecordDivider.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js +8 -7
- package/dist/module/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/shared/common.constants.js +5 -0
- package/dist/module/shared/common.constants.js.map +1 -1
- package/dist/module/shared/hooks/useKeyboardOffset.js +53 -0
- package/dist/module/shared/hooks/useKeyboardOffset.js.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatLauncher.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/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/SentMessage.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/constants.d.ts +2 -1
- package/dist/typescript/commonjs/features/chatbot/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.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/AnimatedCard.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/ExamSubmit/ExamSubmitContent.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/EOABadge.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/TeacherFeedbackComments/TeacherFeedbackComments.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/FormulaSheetModal.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/gifCelebrations/components/Gif.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/gifCelebrations/components/Progress.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.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/constants.d.ts +3 -2
- package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +3 -1
- package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/openEnded/oe.helpers.d.ts +2 -1
- package/dist/typescript/commonjs/features/openEnded/oe.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/PmProgress.d.ts.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/PmProgressHeader.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/PmInsights.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/insights/StatsCard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/DomainCard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/PmDomainList.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/StandardItem.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts +4 -0
- package/dist/typescript/commonjs/features/pmProgress/shared/TreeNormalizer.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts +3 -3
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +2 -2
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/profile/Profile.d.ts +7 -0
- package/dist/typescript/commonjs/features/profile/Profile.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/__tests__/ProfileModel.test.d.ts +2 -0
- package/dist/typescript/commonjs/features/profile/__tests__/ProfileModel.test.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/__tests__/profile.helpers.test.d.ts +2 -0
- package/dist/typescript/commonjs/features/profile/__tests__/profile.helpers.test.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/actions/ProfileActions.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/actions/ProfileActions.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/cards/ProfileCard.d.ts +10 -0
- package/dist/typescript/commonjs/features/profile/components/cards/ProfileCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/info/AccountInfoCard.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/info/AccountInfoCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/modals/JoinClassModal.d.ts +4 -0
- package/dist/typescript/commonjs/features/profile/components/modals/JoinClassModal.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/modals/LogoutConfirmModal.d.ts +4 -0
- package/dist/typescript/commonjs/features/profile/components/modals/LogoutConfirmModal.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/modals/TranslationLanguageModal.d.ts +4 -0
- package/dist/typescript/commonjs/features/profile/components/modals/TranslationLanguageModal.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/LanguageSettingsCard.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/settings/LanguageSettingsCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/PreferencesCard.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/settings/PreferencesCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/SettingRow.d.ts +11 -0
- package/dist/typescript/commonjs/features/profile/components/settings/SettingRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TextSettingsCard.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TextSettingsCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TextSizeSlider.d.ts +8 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TextSizeSlider.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TextToSpeechRow.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TextToSpeechRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TranslationLanguageRow.d.ts +3 -0
- package/dist/typescript/commonjs/features/profile/components/settings/TranslationLanguageRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/context/ProfileContext.d.ts +13 -0
- package/dist/typescript/commonjs/features/profile/context/ProfileContext.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/index.d.ts +12 -0
- package/dist/typescript/commonjs/features/profile/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileApi.d.ts +11 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileApi.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileJoinClassModel.d.ts +14 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileJoinClassModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileLanguageModel.d.ts +12 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileLanguageModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileModel.d.ts +24 -0
- package/dist/typescript/commonjs/features/profile/model/ProfileModel.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/model/profileModal.types.d.ts +14 -0
- package/dist/typescript/commonjs/features/profile/model/profileModal.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/shared/JoinClassError.d.ts +5 -0
- package/dist/typescript/commonjs/features/profile/shared/JoinClassError.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/shared/profile.constants.d.ts +20 -0
- package/dist/typescript/commonjs/features/profile/shared/profile.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/shared/profile.helpers.d.ts +6 -0
- package/dist/typescript/commonjs/features/profile/shared/profile.helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/profile/shared/profile.types.d.ts +31 -0
- package/dist/typescript/commonjs/features/profile/shared/profile.types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceTranscriptContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceTranscription.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceTranscriptionHeaderActions.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/VoiceRecordDivider.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/common.constants.d.ts +1 -0
- package/dist/typescript/commonjs/shared/common.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/hooks/useKeyboardOffset.d.ts +13 -0
- package/dist/typescript/commonjs/shared/hooks/useKeyboardOffset.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/components/ChatControls/ChatLauncher.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/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/SentMessage.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/constants.d.ts +2 -1
- package/dist/typescript/module/features/chatbot/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.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/AnimatedCard.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/ExamSubmit/ExamSubmitContent.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/EOABadge.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/TeacherFeedbackComments/TeacherFeedbackComments.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/FormulaSheetModal.d.ts.map +1 -1
- package/dist/typescript/module/features/gifCelebrations/components/Gif.d.ts.map +1 -1
- package/dist/typescript/module/features/gifCelebrations/components/Progress.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.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/constants.d.ts +3 -2
- package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +3 -1
- package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
- package/dist/typescript/module/features/openEnded/oe.helpers.d.ts +2 -1
- package/dist/typescript/module/features/openEnded/oe.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/PmProgress.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/PmProgressHeader.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/PmInsights.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/insights/StatsCard.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/DomainCard.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/PmDomainList.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/StandardItem.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/recs/PmTeacherRecs.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/standard/StandardTag.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts +4 -0
- package/dist/typescript/module/features/pmProgress/shared/TreeNormalizer.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts +3 -3
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +2 -2
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/profile/Profile.d.ts +7 -0
- package/dist/typescript/module/features/profile/Profile.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/__tests__/ProfileModel.test.d.ts +2 -0
- package/dist/typescript/module/features/profile/__tests__/ProfileModel.test.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/__tests__/profile.helpers.test.d.ts +2 -0
- package/dist/typescript/module/features/profile/__tests__/profile.helpers.test.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/actions/ProfileActions.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/actions/ProfileActions.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/cards/ProfileCard.d.ts +10 -0
- package/dist/typescript/module/features/profile/components/cards/ProfileCard.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/info/AccountInfoCard.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/info/AccountInfoCard.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/modals/JoinClassModal.d.ts +4 -0
- package/dist/typescript/module/features/profile/components/modals/JoinClassModal.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/modals/LogoutConfirmModal.d.ts +4 -0
- package/dist/typescript/module/features/profile/components/modals/LogoutConfirmModal.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/modals/TranslationLanguageModal.d.ts +4 -0
- package/dist/typescript/module/features/profile/components/modals/TranslationLanguageModal.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/LanguageSettingsCard.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/settings/LanguageSettingsCard.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/PreferencesCard.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/settings/PreferencesCard.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/SettingRow.d.ts +11 -0
- package/dist/typescript/module/features/profile/components/settings/SettingRow.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/TextSettingsCard.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/settings/TextSettingsCard.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/TextSizeSlider.d.ts +8 -0
- package/dist/typescript/module/features/profile/components/settings/TextSizeSlider.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/TextToSpeechRow.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/settings/TextToSpeechRow.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/components/settings/TranslationLanguageRow.d.ts +3 -0
- package/dist/typescript/module/features/profile/components/settings/TranslationLanguageRow.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/context/ProfileContext.d.ts +13 -0
- package/dist/typescript/module/features/profile/context/ProfileContext.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/index.d.ts +12 -0
- package/dist/typescript/module/features/profile/index.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/model/ProfileApi.d.ts +11 -0
- package/dist/typescript/module/features/profile/model/ProfileApi.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/model/ProfileJoinClassModel.d.ts +14 -0
- package/dist/typescript/module/features/profile/model/ProfileJoinClassModel.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/model/ProfileLanguageModel.d.ts +12 -0
- package/dist/typescript/module/features/profile/model/ProfileLanguageModel.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/model/ProfileModel.d.ts +24 -0
- package/dist/typescript/module/features/profile/model/ProfileModel.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/model/profileModal.types.d.ts +14 -0
- package/dist/typescript/module/features/profile/model/profileModal.types.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/shared/JoinClassError.d.ts +5 -0
- package/dist/typescript/module/features/profile/shared/JoinClassError.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/shared/profile.constants.d.ts +20 -0
- package/dist/typescript/module/features/profile/shared/profile.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/shared/profile.helpers.d.ts +6 -0
- package/dist/typescript/module/features/profile/shared/profile.helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/profile/shared/profile.types.d.ts +31 -0
- package/dist/typescript/module/features/profile/shared/profile.types.d.ts.map +1 -0
- package/dist/typescript/module/features/voice/playing/components/VoiceIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/playing/components/VoiceTranscriptContent.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/playing/components/VoiceTranscription.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.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/VoiceRecordDivider.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/common.constants.d.ts +1 -0
- package/dist/typescript/module/shared/common.constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/hooks/useKeyboardOffset.d.ts +13 -0
- package/dist/typescript/module/shared/hooks/useKeyboardOffset.d.ts.map +1 -0
- package/package.json +4 -2
- package/src/features/chatbot/components/Chat/AIAvatar.tsx +1 -1
- package/src/features/chatbot/components/Chat/CloseButton.tsx +1 -1
- package/src/features/chatbot/components/ChatControls/ChatControls.tsx +20 -1
- package/src/features/chatbot/components/ChatControls/ChatLauncher.tsx +3 -1
- package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +9 -14
- package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +12 -9
- package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +9 -6
- package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +7 -5
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +4 -2
- package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +7 -3
- package/src/features/chatbot/constants.ts +7 -7
- package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +14 -6
- package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +8 -6
- package/src/features/endOfAssignment/components/CorrectAnswer/AnimatedCard.tsx +15 -7
- package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +13 -6
- package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +6 -5
- package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +6 -5
- package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +7 -6
- package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmitContent.tsx +20 -10
- package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +7 -6
- package/src/features/endOfAssignment/ui/EOABadge.tsx +5 -3
- package/src/features/feedback/components/EmptyComment.tsx +8 -7
- package/src/features/feedback/components/ListCardCommentsCount.tsx +8 -6
- package/src/features/feedback/components/TeacherFeedbackButton.tsx +4 -3
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +11 -10
- package/src/features/feedback/components/TeacherFeedbackComments/TeacherFeedbackComments.tsx +6 -5
- package/src/features/feedback/components/UnreadMessagesBadge.tsx +8 -7
- package/src/features/formulaSheet/components/FormulaSheet.tsx +1 -1
- package/src/features/formulaSheet/components/FormulaSheetModal.tsx +7 -5
- package/src/features/gifCelebrations/components/Gif.tsx +6 -5
- package/src/features/gifCelebrations/components/Progress.tsx +7 -5
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +17 -18
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +17 -18
- package/src/features/keyboard/components/Keyboard.tsx +17 -8
- package/src/features/keyboard/components/MainLayout/constants.ts +19 -12
- package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +6 -5
- package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +12 -5
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +15 -6
- package/src/features/keyboard/components/UnitsLayout/helpers.tsx +5 -3
- package/src/features/keyboard/helpers.ts +2 -9
- package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +10 -7
- package/src/features/openEnded/oe.helpers.ts +7 -7
- package/src/features/pmProgress/PmProgress.tsx +6 -3
- package/src/features/pmProgress/components/chart/components/SlicesPaths.tsx +1 -1
- package/src/features/pmProgress/components/header/NextUp.tsx +8 -5
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +10 -7
- package/src/features/pmProgress/components/header/StartButton.tsx +9 -6
- package/src/features/pmProgress/components/insights/PmInsights.tsx +17 -12
- package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +7 -8
- package/src/features/pmProgress/components/insights/StatsCard.tsx +8 -5
- package/src/features/pmProgress/components/list/DomainCard.tsx +8 -6
- package/src/features/pmProgress/components/list/Fluency.tsx +9 -7
- package/src/features/pmProgress/components/list/PmDomainList.tsx +6 -5
- package/src/features/pmProgress/components/list/StandardItem.tsx +6 -7
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +8 -8
- package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +7 -6
- package/src/features/pmProgress/components/standard/StandardTag.tsx +77 -66
- package/src/features/pmProgress/shared/TreeNormalizer.ts +5 -1
- package/src/features/pmProgress/shared/pmProgress.constants.ts +8 -4
- package/src/features/pmProgress/shared/pmProgress.helpers.ts +3 -3
- package/src/features/profile/Profile.tsx +88 -0
- package/src/features/profile/__tests__/ProfileModel.test.ts +105 -0
- package/src/features/profile/__tests__/profile.helpers.test.ts +57 -0
- package/src/features/profile/components/actions/ProfileActions.tsx +99 -0
- package/src/features/profile/components/cards/ProfileCard.tsx +57 -0
- package/src/features/profile/components/info/AccountInfoCard.tsx +87 -0
- package/src/features/profile/components/modals/JoinClassModal.tsx +193 -0
- package/src/features/profile/components/modals/LogoutConfirmModal.tsx +64 -0
- package/src/features/profile/components/modals/TranslationLanguageModal.tsx +132 -0
- package/src/features/profile/components/settings/LanguageSettingsCard.tsx +16 -0
- package/src/features/profile/components/settings/PreferencesCard.tsx +113 -0
- package/src/features/profile/components/settings/SettingRow.tsx +46 -0
- package/src/features/profile/components/settings/TextSettingsCard.tsx +66 -0
- package/src/features/profile/components/settings/TextSizeSlider.tsx +118 -0
- package/src/features/profile/components/settings/TextToSpeechRow.tsx +30 -0
- package/src/features/profile/components/settings/TranslationLanguageRow.tsx +63 -0
- package/src/features/profile/context/ProfileContext.tsx +24 -0
- package/src/features/profile/index.ts +11 -0
- package/src/features/profile/model/ProfileApi.ts +22 -0
- package/src/features/profile/model/ProfileJoinClassModel.ts +57 -0
- package/src/features/profile/model/ProfileLanguageModel.ts +22 -0
- package/src/features/profile/model/ProfileModel.ts +66 -0
- package/src/features/profile/model/profileModal.types.ts +16 -0
- package/src/features/profile/shared/JoinClassError.ts +7 -0
- package/src/features/profile/shared/profile.constants.ts +23 -0
- package/src/features/profile/shared/profile.helpers.ts +36 -0
- package/src/features/profile/shared/profile.types.ts +39 -0
- package/src/features/voice/playing/components/VoiceIcon.tsx +9 -6
- package/src/features/voice/playing/components/VoiceTranscriptContent.tsx +7 -5
- package/src/features/voice/playing/components/VoiceTranscription.tsx +7 -6
- package/src/features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx +4 -3
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +1 -1
- package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +4 -2
- package/src/features/voice/recording/components/VoiceRecordDivider.tsx +7 -5
- package/src/features/voice/recording/components/VoiceRecordTimer.tsx +8 -7
- package/src/i18n/.generated/schema.json +37 -1
- package/src/index.ts +1 -0
- package/src/shared/common.constants.ts +8 -0
- package/src/shared/hooks/useKeyboardOffset.ts +62 -0
|
@@ -27,7 +27,7 @@ const useStyles = (0, _reactNativeUi.createStyles)(theme => ({
|
|
|
27
27
|
container: {
|
|
28
28
|
backgroundColor: {
|
|
29
29
|
light: theme.NEUTRAL_1,
|
|
30
|
-
dark: theme.
|
|
30
|
+
dark: theme.NEUTRAL_3
|
|
31
31
|
},
|
|
32
32
|
padding: _reactNativeUi.SPACING['300'],
|
|
33
33
|
borderRadius: _constants.AI_AVATAR_BORDER_RADIUS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_constants","_jsxRuntime","e","__esModule","default","AIAvatar","size","AI_ICON_SIZE","styles","useStyles","jsx","View","style","container","children","SparkIcon","color","COLORS","PRIMARY_ORANGE","exports","createStyles","theme","backgroundColor","light","NEUTRAL_1","dark","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_constants","_jsxRuntime","e","__esModule","default","AIAvatar","size","AI_ICON_SIZE","styles","useStyles","jsx","View","style","container","children","SparkIcon","color","COLORS","PRIMARY_ORANGE","exports","createStyles","theme","backgroundColor","light","NEUTRAL_1","dark","NEUTRAL_3","padding","SPACING","borderRadius","AI_AVATAR_BORDER_RADIUS","SHADOWS"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/AIAvatar.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAuE,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGhE,MAAMG,QAAQ,GAAGA,CAAC;EAAEC,IAAI,GAAGC;AAA0B,CAAC,KAAK;EAChE,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAE1B,oBACE,IAAAR,WAAA,CAAAS,GAAA,EAACZ,YAAA,CAAAa,IAAI;IAACC,KAAK,EAAEJ,MAAM,CAACK,SAAU;IAAAC,QAAA,eAC5B,IAAAb,WAAA,CAAAS,GAAA,EAACX,cAAA,CAAAgB,SAAS;MAACC,KAAK,EAAEC,qBAAM,CAACC,cAAe;MAACZ,IAAI,EAAEA;IAAK,CAAE;EAAC,CACnD,CAAC;AAEX,CAAC;AAAAa,OAAA,CAAAd,QAAA,GAAAA,QAAA;AAED,MAAMI,SAAS,GAAG,IAAAW,2BAAY,EAAEC,KAAK,KAAM;EACzCR,SAAS,EAAE;IACTS,eAAe,EAAE;MAAEC,KAAK,EAAEF,KAAK,CAACG,SAAS;MAAEC,IAAI,EAAEJ,KAAK,CAACK;IAAU,CAAC;IAClEC,OAAO,EAAEC,sBAAO,CAAC,KAAK,CAAC;IACvBC,YAAY,EAAEC,kCAAuB;IACrC,GAAGC,sBAAO,CAAC,GAAG;EAChB;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_CloseIcon","_studentsQa","_jsxRuntime","e","__esModule","default","CloseButton","onPress","styles","useStyles","colors","useTheme","jsx","Button","style","button","variant","ButtonVariant","PRIMARY","size","ButtonSize","MEDIUM","colorScheme","ButtonColor","WHITE","raiseLevel","testID","TEST_IDS","CHAT_CLOSE_BUTTON","children","CloseIcon","width","height","color","NEUTRAL_9","exports","createStyles","theme","borderRadius","borderColor","NEUTRAL_5","backgroundColor","light","NEUTRAL_1","dark","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_CloseIcon","_studentsQa","_jsxRuntime","e","__esModule","default","CloseButton","onPress","styles","useStyles","colors","useTheme","jsx","Button","style","button","variant","ButtonVariant","PRIMARY","size","ButtonSize","MEDIUM","colorScheme","ButtonColor","WHITE","raiseLevel","testID","TEST_IDS","CHAT_CLOSE_BUTTON","children","CloseIcon","width","height","color","NEUTRAL_9","exports","createStyles","theme","borderRadius","borderColor","NEUTRAL_5","backgroundColor","light","NEUTRAL_1","dark","NEUTRAL_3"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/Chat/CloseButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AAQA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAAiD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAM1C,MAAMG,WAAW,GAAGA,CAAC;EAAEC;AAA0B,CAAC,KAAK;EAC5D,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAMC,MAAM,GAAG,IAAAC,uBAAQ,EAAC,CAAC;EAEzB,oBACE,IAAAT,WAAA,CAAAU,GAAA,EAACb,cAAA,CAAAc,MAAM;IACLN,OAAO,EAAEA,OAAQ;IACjBO,KAAK,EAAE;MAAEC,MAAM,EAAEP,MAAM,CAACO;IAAO,CAAE;IACjCC,OAAO,EAAEC,4BAAa,CAACC,OAAQ;IAC/BC,IAAI,EAAEC,yBAAU,CAACC,MAAO;IACxBC,WAAW,EAAEC,0BAAW,CAACC,KAAM;IAC/BC,UAAU,EAAE,CAAE;IACdC,MAAM,EAAEC,oBAAQ,CAACC,iBAAkB;IAAAC,QAAA,eAEnC,IAAA3B,WAAA,CAAAU,GAAA,EAACZ,UAAA,CAAA8B,SAAS;MAACC,KAAK,EAAE,EAAG;MAACC,MAAM,EAAE,EAAG;MAACC,KAAK,EAAEvB,MAAM,CAACwB;IAAU,CAAE;EAAC,CACvD,CAAC;AAEb,CAAC;AAAAC,OAAA,CAAA7B,WAAA,GAAAA,WAAA;AAED,MAAMG,SAAS,GAAG,IAAA2B,2BAAY,EAAEC,KAAK,KAAM;EACzCtB,MAAM,EAAE;IACNgB,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVM,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAEF,KAAK,CAACG,SAAS;IAC5BC,eAAe,EAAE;MAAEC,KAAK,EAAEL,KAAK,CAACM,SAAS;MAAEC,IAAI,EAAEP,KAAK,CAACQ;IAAU;EACnE;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -22,6 +22,8 @@ const ChatControls = ({
|
|
|
22
22
|
chatbotIconSize = 70,
|
|
23
23
|
chatbotVariant = _constants.ChatbotVariant.LAVA
|
|
24
24
|
}) => {
|
|
25
|
+
const colors = (0, _reactNativeUi.useTheme)();
|
|
26
|
+
const isDark = (0, _reactNativeUi.useIsDarkMode)();
|
|
25
27
|
const isOpen = (0, _effectorReact.useUnit)(model.$isOpen);
|
|
26
28
|
const isTranslated = (0, _effectorReact.useUnit)(model.translation.$isTranslated);
|
|
27
29
|
const getHint = model.textManager.messages.getHint;
|
|
@@ -36,6 +38,14 @@ const ChatControls = ({
|
|
|
36
38
|
children: [withQuickActionButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
37
39
|
variant: _reactNativeUi.ButtonVariant.PRIMARY,
|
|
38
40
|
colorScheme: _reactNativeUi.ButtonColor.WHITE,
|
|
41
|
+
customColorScheme: {
|
|
42
|
+
[_reactNativeUi.ButtonStates.DEFAULT]: {
|
|
43
|
+
backgroundColor: isDark ? colors.NEUTRAL_3 : colors.NEUTRAL_1,
|
|
44
|
+
borderColor: colors.NEUTRAL_4,
|
|
45
|
+
raiseColor: colors.NEUTRAL_4,
|
|
46
|
+
color: colors.NEUTRAL_7
|
|
47
|
+
}
|
|
48
|
+
},
|
|
39
49
|
size: _reactNativeUi.ButtonSize.MEDIUM,
|
|
40
50
|
onPress: onPressQuickAction,
|
|
41
51
|
style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_studentsQa","_reactNativeUi","_effectorReact","_constants","_ChatLauncher","_jsxRuntime","e","__esModule","default","ChatControls","model","onPressChatLauncher","onPressQuickAction","withQuickActionButton","ButtonWrapper","React","Fragment","chatbotIconSize","chatbotVariant","ChatbotVariant","LAVA","isOpen","useUnit","$isOpen","isTranslated","translation","$isTranslated","getHint","textManager","messages","jsx","View","style","styles","container","children","jsxs","buttonsRow","Button","variant","ButtonVariant","PRIMARY","colorScheme","ButtonColor","WHITE","size","ButtonSize","MEDIUM","onPress","text","helpButtonText","testID","TEST_IDS","CHAT_GET_A_HINT_BUTTON","translatedText","ChatLauncher","iconSize","exports","StyleSheet","create","alignItems","justifyContent","flexDirection","maxHeight","gap","paddingBottom","SPACING","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatControls/ChatControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_studentsQa","_reactNativeUi","_effectorReact","_constants","_ChatLauncher","_jsxRuntime","e","__esModule","default","ChatControls","model","onPressChatLauncher","onPressQuickAction","withQuickActionButton","ButtonWrapper","React","Fragment","chatbotIconSize","chatbotVariant","ChatbotVariant","LAVA","colors","useTheme","isDark","useIsDarkMode","isOpen","useUnit","$isOpen","isTranslated","translation","$isTranslated","getHint","textManager","messages","jsx","View","style","styles","container","children","jsxs","buttonsRow","Button","variant","ButtonVariant","PRIMARY","colorScheme","ButtonColor","WHITE","customColorScheme","ButtonStates","DEFAULT","backgroundColor","NEUTRAL_3","NEUTRAL_1","borderColor","NEUTRAL_4","raiseColor","color","NEUTRAL_7","size","ButtonSize","MEDIUM","onPress","text","helpButtonText","testID","TEST_IDS","CHAT_GET_A_HINT_BUTTON","translatedText","ChatLauncher","iconSize","exports","StyleSheet","create","alignItems","justifyContent","flexDirection","maxHeight","gap","paddingBottom","SPACING","textTransform"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatControls/ChatControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAUA,IAAAI,cAAA,GAAAJ,OAAA;AAGA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAA6C,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAYtC,MAAMG,YAAY,GAAGA,CAAC;EAC3BC,KAAK;EACLC,mBAAmB;EACnBC,kBAAkB;EAClBC,qBAAqB,GAAG,KAAK;EA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ACFC,IAAI,EAAEC,yBAAU,CAACC,MAAO;UACxBC,OAAO,EAAEnD,kBAAmB;UAC5BwB,KAAK,EAAE;YAAE4B,IAAI,EAAE3B,MAAM,CAAC4B;UAAe,CAAE;UACvCC,MAAM,EAAEC,oBAAQ,CAACC,sBAAuB;UAAA7B,QAAA,EAEtCX,YAAY,IAAIG,OAAO,CAACsC,cAAc,IAAKtC,OAAO,CAACiC;QAAI,CACnD,CACT,eAED,IAAA3D,WAAA,CAAA6B,GAAA,EAAC9B,aAAA,CAAAkE,YAAY;UACXP,OAAO,EAAEpD,mBAAoB;UAC7B4D,QAAQ,EAAEtD,eAAgB;UAC1B0B,OAAO,EAAEzB;QAAe,CACzB,CAAC;MAAA,CACE;IAAC,CACM;EAAC,CACZ,CAAC;AAEX,CAAC;AAAAsD,OAAA,CAAA/D,YAAA,GAAAA,YAAA;AAED,MAAM4B,MAAM,GAAGoC,uBAAU,CAACC,MAAM,CAAC;EAC/BpC,SAAS,EAAE;IACTqC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,UAAU;IAC1BC,aAAa,EAAE,KAAK;IACpBC,SAAS,EAAE,GAAG;IACdC,GAAG,EAAE,CAAC;IACNC,aAAa,EAAE;EACjB,CAAC;EACDvC,UAAU,EAAE;IACVoC,aAAa,EAAE,KAAK;IACpBF,UAAU,EAAE,UAAU;IACtBI,GAAG,EAAEE,sBAAO,CAAC,KAAK;EACpB,CAAC;EACDhB,cAAc,EAAE;IACdiB,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -18,13 +18,14 @@ const ChatLauncher = ({
|
|
|
18
18
|
iconSize = 20
|
|
19
19
|
}) => {
|
|
20
20
|
const colors = (0, _reactNativeUi.useTheme)();
|
|
21
|
+
const isDark = (0, _reactNativeUi.useIsDarkMode)();
|
|
21
22
|
if (variant === _constants.ChatbotVariant.AI) {
|
|
22
23
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
23
24
|
variant: _reactNativeUi.ButtonVariant.PRIMARY,
|
|
24
25
|
colorScheme: _reactNativeUi.ButtonColor.WHITE,
|
|
25
26
|
customColorScheme: {
|
|
26
27
|
[_reactNativeUi.ButtonStates.DEFAULT]: {
|
|
27
|
-
backgroundColor: colors.NEUTRAL_1,
|
|
28
|
+
backgroundColor: isDark ? colors.NEUTRAL_3 : colors.NEUTRAL_1,
|
|
28
29
|
borderColor: colors.NEUTRAL_4,
|
|
29
30
|
raiseColor: colors.NEUTRAL_4,
|
|
30
31
|
color: colors.NEUTRAL_7
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_studentsQa","_index","_constants","_jsxRuntime","e","__esModule","default","ChatLauncher","onPress","variant","iconSize","colors","useTheme","ChatbotVariant","AI","jsx","Button","ButtonVariant","PRIMARY","colorScheme","ButtonColor","WHITE","customColorScheme","ButtonStates","DEFAULT","backgroundColor","NEUTRAL_1","borderColor","NEUTRAL_4","raiseColor","color","NEUTRAL_7","size","ButtonSize","LARGE","raiseLevel","icon","SparkIcon","COLORS","PRIMARY_ORANGE","accessibilityRole","testID","TEST_IDS","CHAT_LAUNCHER_BUTTON","Pressable","children","LavaIcon","exports"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatControls/ChatLauncher.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_studentsQa","_index","_constants","_jsxRuntime","e","__esModule","default","ChatLauncher","onPress","variant","iconSize","colors","useTheme","isDark","useIsDarkMode","ChatbotVariant","AI","jsx","Button","ButtonVariant","PRIMARY","colorScheme","ButtonColor","WHITE","customColorScheme","ButtonStates","DEFAULT","backgroundColor","NEUTRAL_3","NEUTRAL_1","borderColor","NEUTRAL_4","raiseColor","color","NEUTRAL_7","size","ButtonSize","LARGE","raiseLevel","icon","SparkIcon","COLORS","PRIMARY_ORANGE","accessibilityRole","testID","TEST_IDS","CHAT_LAUNCHER_BUTTON","Pressable","children","LavaIcon","exports"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatControls/ChatLauncher.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAWA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAQzC,MAAMG,YAAY,GAAGA,CAAC;EAAEC,OAAO;EAAEC,OAAO;EAAEC,QAAQ,GAAG;AAAsB,CAAC,KAAK;EACtF,MAAMC,MAAM,GAAG,IAAAC,uBAAQ,EAAC,CAAC;EACzB,MAAMC,MAAM,GAAG,IAAAC,4BAAa,EAAC,CAAC;EAE9B,IAAIL,OAAO,KAAKM,yBAAc,CAACC,EAAE,EAAE;IACjC,oBACE,IAAAb,WAAA,CAAAc,GAAA,EAAClB,cAAA,CAAAmB,MAAM;MACLT,OAAO,EAAEU,4BAAa,CAACC,OAAQ;MAC/BC,WAAW,EAAEC,0BAAW,CAACC,KAAM;MAC/BC,iBAAiB,EAAE;QACjB,CAACC,2BAAY,CAACC,OAAO,GAAG;UACtBC,eAAe,EAAEd,MAAM,GAAGF,MAAM,CAACiB,SAAS,GAAGjB,MAAM,CAACkB,SAAS;UAC7DC,WAAW,EAAEnB,MAAM,CAACoB,SAAS;UAC7BC,UAAU,EAAErB,MAAM,CAACoB,SAAS;UAC5BE,KAAK,EAAEtB,MAAM,CAACuB;QAChB;MACF,CAAE;MACFC,IAAI,EAAEC,yBAAU,CAACC,KAAM;MACvBC,UAAU,EAAE,CAAE;MACd9B,OAAO,EAAEA,OAAQ;MACjB+B,IAAI,eAAE,IAAApC,WAAA,CAAAc,GAAA,EAAClB,cAAA,CAAAyC,SAAS;QAACP,KAAK,EAAEQ,qBAAM,CAACC,cAAe;QAACP,IAAI,EAAEzB;MAAS,CAAE,CAAE;MAClEiC,iBAAiB,EAAC,QAAQ;MAC1BC,MAAM,EAAEC,oBAAQ,CAACC;IAAqB,CACvC,CAAC;EAEN;EAEA,oBACE,IAAA3C,WAAA,CAAAc,GAAA,EAACnB,YAAA,CAAAiD,SAAS;IAACvC,OAAO,EAAEA,OAAQ;IAACmC,iBAAiB,EAAC,QAAQ;IAACC,MAAM,EAAEC,oBAAQ,CAACC,oBAAqB;IAAAE,QAAA,eAC5F,IAAA7C,WAAA,CAAAc,GAAA,EAAChB,MAAA,CAAAgD,QAAQ;MAACd,IAAI,EAAEzB;IAAS,CAAE;EAAC,CACnB,CAAC;AAEhB,CAAC;AAAAwC,OAAA,CAAA3C,YAAA,GAAAA,YAAA","ignoreList":[]}
|
|
@@ -30,6 +30,8 @@ const ChatTextInput = ({
|
|
|
30
30
|
colorScheme = _studentsFeatures.ColorScheme.Blue,
|
|
31
31
|
placeholder
|
|
32
32
|
}) => {
|
|
33
|
+
const styles = useStyles();
|
|
34
|
+
const colors = (0, _reactNativeUi.useTheme)();
|
|
33
35
|
const inputRef = (0, _react.useRef)(null);
|
|
34
36
|
const [isFocused, setIsFocused] = (0, _react.useState)(false);
|
|
35
37
|
const widthSv = (0, _reactNativeReanimated.useSharedValue)(value ? FULL_WIDTH : COMPACT_WIDTH);
|
|
@@ -86,7 +88,7 @@ const ChatTextInput = ({
|
|
|
86
88
|
onBlur: handleOnBlur,
|
|
87
89
|
onFocus: handleOnFocus,
|
|
88
90
|
placeholder: placeholder,
|
|
89
|
-
placeholderTextColor:
|
|
91
|
+
placeholderTextColor: colors.NEUTRAL_5,
|
|
90
92
|
style: styles.input,
|
|
91
93
|
testID: _studentsQa.TEST_IDS.OPEN_CHAT_TEXT_INPUT
|
|
92
94
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SendMessageButton.SendMessageButton, {
|
|
@@ -97,7 +99,7 @@ const ChatTextInput = ({
|
|
|
97
99
|
});
|
|
98
100
|
};
|
|
99
101
|
exports.ChatTextInput = ChatTextInput;
|
|
100
|
-
const
|
|
102
|
+
const useStyles = (0, _reactNativeUi.createStyles)(theme => ({
|
|
101
103
|
container: {
|
|
102
104
|
position: 'relative',
|
|
103
105
|
width: '100%',
|
|
@@ -111,9 +113,12 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
111
113
|
left: 0,
|
|
112
114
|
flexDirection: 'row',
|
|
113
115
|
borderWidth: 1,
|
|
114
|
-
borderColor:
|
|
116
|
+
borderColor: theme.NEUTRAL_5,
|
|
115
117
|
borderRadius: 200,
|
|
116
|
-
backgroundColor:
|
|
118
|
+
backgroundColor: {
|
|
119
|
+
light: theme.NEUTRAL_1,
|
|
120
|
+
dark: theme.NEUTRAL_3
|
|
121
|
+
},
|
|
117
122
|
paddingHorizontal: _reactNativeUi.SPACING[100],
|
|
118
123
|
paddingVertical: _reactNativeUi.SPACING[100],
|
|
119
124
|
elevation: 3,
|
|
@@ -141,5 +146,5 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
141
146
|
arrowWrapper: {
|
|
142
147
|
marginLeft: _reactNativeUi.SPACING[200]
|
|
143
148
|
}
|
|
144
|
-
});
|
|
149
|
+
}));
|
|
145
150
|
//# sourceMappingURL=ChatTextInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeReanimated","_reactNative","_reactNativeUi","_studentsFeatures","_useKeyboard","_constants","_SendMessageButton","_studentsQa","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","MAX_AVAILABLE_MESSAGE_LENGTH","COMPACT_WIDTH","FULL_WIDTH","IS_WEB","ANIMATION_DURATION","ChatTextInput","value","submitDisabled","onSubmit","onChangeText","onBlur","onFocus","colorScheme","ColorScheme","Blue","placeholder","inputRef","useRef","isFocused","setIsFocused","useState","widthSv","useSharedValue","animatedStyle","useAnimatedStyle","width","handleInputChange","text","length","hasText","trim","isExpanded","shouldCollapseInput","shouldExpandInput","withTiming","duration","handleSendMessage","current","focus","handleOnFocus","handleOnBlur","useKeyBoard","enabled","callback","event","key","KeyboardKeys","ENTER","jsxs","View","style","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNativeReanimated","_reactNative","_reactNativeUi","_studentsFeatures","_useKeyboard","_constants","_SendMessageButton","_studentsQa","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","MAX_AVAILABLE_MESSAGE_LENGTH","COMPACT_WIDTH","FULL_WIDTH","IS_WEB","ANIMATION_DURATION","ChatTextInput","value","submitDisabled","onSubmit","onChangeText","onBlur","onFocus","colorScheme","ColorScheme","Blue","placeholder","styles","useStyles","colors","useTheme","inputRef","useRef","isFocused","setIsFocused","useState","widthSv","useSharedValue","animatedStyle","useAnimatedStyle","width","handleInputChange","text","length","hasText","trim","isExpanded","shouldCollapseInput","shouldExpandInput","withTiming","duration","handleSendMessage","current","focus","handleOnFocus","handleOnBlur","useKeyBoard","enabled","callback","event","key","KeyboardKeys","ENTER","jsxs","View","style","inputWrapper","children","jsx","TextInput","ref","placeholderTextColor","NEUTRAL_5","input","testID","TEST_IDS","OPEN_CHAT_TEXT_INPUT","SendMessageButton","onPress","disabled","exports","createStyles","theme","container","position","alignItems","justifyContent","height","zIndex","left","flexDirection","borderWidth","borderColor","borderRadius","backgroundColor","light","NEUTRAL_1","dark","NEUTRAL_3","paddingHorizontal","SPACING","paddingVertical","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","flex","fontSize","minWidth","minHeight","fontWeight","fontFamily","FONT_FAMILY","buenosAires","Platform","OS","outlineStyle","arrowWrapper","marginLeft"],"sourceRoot":"../../../../../../../src","sources":["features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAF,uBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAEA,IAAAO,kBAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AAAiD,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAZ,wBAAAY,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAA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;IACVH,QAAQ,EAAE,UAAU;IACpBI,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,aAAa,EAAE,KAAK;IACpBC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAEV,KAAK,CAACV,SAAS;IAC5BqB,YAAY,EAAE,GAAG;IACjBC,eAAe,EAAE;MAAEC,KAAK,EAAEb,KAAK,CAACc,SAAS;MAAEC,IAAI,EAAEf,KAAK,CAACgB;IAAU,CAAC;IAClEC,iBAAiB,EAAEC,sBAAO,CAAC,GAAG,CAAC;IAC/BC,eAAe,EAAED,sBAAO,CAAC,GAAG,CAAC;IAC7BE,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MAAEhE,KAAK,EAAE,CAAC;MAAE+C,MAAM,EAAE;IAAE,CAAC;IACrCkB,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDjC,KAAK,EAAE;IACLkC,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,EAAE;IACZC,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,EAAE;IACbC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAEC,0BAAW,CAACC,WAAW;IACnCf,iBAAiB,EAAEC,sBAAO,CAAC,GAAG,CAAC;IAC/BC,eAAe,EAAED,sBAAO,CAAC,GAAG,CAAC;IAC7B,IAAIe,qBAAQ,CAACC,EAAE,KAAK,KAAK,IAAI;MAAEC,YAAY,EAAE;IAAO,CAAC;EACvD,CAAC;EACDC,YAAY,EAAE;IACZC,UAAU,EAAEnB,sBAAO,CAAC,GAAG;EACzB;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -22,6 +22,7 @@ const SendMessageButton = ({
|
|
|
22
22
|
}) => {
|
|
23
23
|
const hoverSv = (0, _reactNativeReanimated.useSharedValue)(0);
|
|
24
24
|
const colors = (0, _reactNativeUi.useTheme)();
|
|
25
|
+
const styles = useStyles();
|
|
25
26
|
const onHoverIn = () => {
|
|
26
27
|
if (!disabled) hoverSv.value = (0, _reactNativeReanimated.withTiming)(1, {
|
|
27
28
|
duration: 200
|
|
@@ -33,11 +34,11 @@ const SendMessageButton = ({
|
|
|
33
34
|
});
|
|
34
35
|
};
|
|
35
36
|
const animatedIconStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
36
|
-
const backgroundColor = (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [colors.NEUTRAL_1, _constants.
|
|
37
|
+
const backgroundColor = (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [colors.NEUTRAL_1, (0, _constants.getMessageColorsMap)(colors)[colorScheme].sent.border]);
|
|
37
38
|
const color = (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [colors.NEUTRAL_10, colors.NEUTRAL_1]);
|
|
38
39
|
return {
|
|
39
40
|
backgroundColor: disabled ? colors.NEUTRAL_2 : backgroundColor,
|
|
40
|
-
borderColor: disabled ? colors.NEUTRAL_5 : _constants.
|
|
41
|
+
borderColor: disabled ? colors.NEUTRAL_5 : (0, _constants.getMessageColorsMap)(colors)[colorScheme].sent.border,
|
|
41
42
|
color: disabled ? colors.NEUTRAL_5 : color
|
|
42
43
|
};
|
|
43
44
|
}, [hoverSv, disabled, colors]);
|
|
@@ -56,7 +57,7 @@ const SendMessageButton = ({
|
|
|
56
57
|
testID: _studentsQa.TEST_IDS.OPEN_CHAT_SEND_MESSAGE_BUTTON,
|
|
57
58
|
children: _reactNativeUi.IS_MOBILE ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
58
59
|
style: [styles.iconContainer, animatedIconStyle, {
|
|
59
|
-
borderColor: disabled ?
|
|
60
|
+
borderColor: disabled ? colors.NEUTRAL_5 : (0, _constants.getMessageColorsMap)(colors)[colorScheme].sent.border
|
|
60
61
|
}],
|
|
61
62
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.ArrowUpIcon, {
|
|
62
63
|
color: 'currentColor',
|
|
@@ -72,7 +73,7 @@ const SendMessageButton = ({
|
|
|
72
73
|
});
|
|
73
74
|
};
|
|
74
75
|
exports.SendMessageButton = SendMessageButton;
|
|
75
|
-
const
|
|
76
|
+
const useStyles = (0, _reactNativeUi.createStyles)(theme => ({
|
|
76
77
|
button: {
|
|
77
78
|
flexDirection: 'row',
|
|
78
79
|
justifyContent: 'flex-end',
|
|
@@ -102,8 +103,8 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
102
103
|
},
|
|
103
104
|
shadowOpacity: 0.25,
|
|
104
105
|
shadowRadius: 3,
|
|
105
|
-
backgroundColor:
|
|
106
|
+
backgroundColor: theme.NEUTRAL_1,
|
|
106
107
|
borderColor: _reactNativeUi.COLORS.PRIMARY_BLUE
|
|
107
108
|
}
|
|
108
|
-
});
|
|
109
|
+
}));
|
|
109
110
|
//# sourceMappingURL=SendMessageButton.js.map
|
package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_reactNativeUi","_studentsFeatures","_constants","_studentsQa","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","SendMessageButton","onPress","disabled","colorScheme","ColorScheme","Blue","hoverSv","useSharedValue","colors","useTheme","onHoverIn","value","withTiming","duration","onHoverOut","animatedIconStyle","useAnimatedStyle","backgroundColor","interpolateColor","NEUTRAL_1","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_reactNativeUi","_studentsFeatures","_constants","_studentsQa","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","SendMessageButton","onPress","disabled","colorScheme","ColorScheme","Blue","hoverSv","useSharedValue","colors","useTheme","styles","useStyles","onHoverIn","value","withTiming","duration","onHoverOut","animatedIconStyle","useAnimatedStyle","backgroundColor","interpolateColor","NEUTRAL_1","getMessageColorsMap","sent","border","color","NEUTRAL_10","NEUTRAL_2","borderColor","NEUTRAL_5","jsx","Pressable","style","button","cursor","accessibilityState","accessibilityRole","testID","TEST_IDS","OPEN_CHAT_SEND_MESSAGE_BUTTON","children","IS_MOBILE","View","iconContainer","ArrowUpIcon","size","Text","webIconContainer","exports","createStyles","theme","flexDirection","justifyContent","height","width","alignItems","padding","borderRadius","borderWidth","flex","paddingHorizontal","paddingVertical","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","COLORS","PRIMARY_BLUE"],"sourceRoot":"../../../../../../../src","sources":["features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAC,uBAAA,CAAAH,OAAA;AAMA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AAAiD,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,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;IACVC,KAAK,EAAE;EACT,CAAC;EACDX,aAAa,EAAE;IACbS,cAAc,EAAE,QAAQ;IACxBG,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE,EAAE;IACXC,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAE;EACf,CAAC;EACDX,gBAAgB,EAAE;IAChBY,IAAI,EAAE,CAAC;IACPR,aAAa,EAAE,KAAK;IACpBI,UAAU,EAAE,QAAQ;IACpBK,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,EAAE;IACnBH,WAAW,EAAE,CAAC;IACdD,YAAY,EAAE,EAAE;IAChBK,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MAAEV,KAAK,EAAE,CAAC;MAAED,MAAM,EAAE;IAAE,CAAC;IACrCY,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACf/C,eAAe,EAAE+B,KAAK,CAAC7B,SAAS;IAChCO,WAAW,EAAEuC,qBAAM,CAACC;EACtB;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -38,6 +38,8 @@ const RequestHintButton = exports.RequestHintButton = /*#__PURE__*/(0, _react.me
|
|
|
38
38
|
variant = HintButtonVariant.DEFAULT
|
|
39
39
|
}) => {
|
|
40
40
|
const colors = (0, _reactNativeUi.useTheme)();
|
|
41
|
+
const isDark = (0, _reactNativeUi.useIsDarkMode)();
|
|
42
|
+
const restingBg = isDark ? colors.NEUTRAL_3 : colors.NEUTRAL_1;
|
|
41
43
|
const styles = useStyles();
|
|
42
44
|
const hoverSv = (0, _reactNativeReanimated.useSharedValue)(0);
|
|
43
45
|
const onHoverIn = () => {
|
|
@@ -57,12 +59,12 @@ const RequestHintButton = exports.RequestHintButton = /*#__PURE__*/(0, _react.me
|
|
|
57
59
|
borderColor: colors.NEUTRAL_5
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
|
-
const defaultBorderColor = variant === HintButtonVariant.DEFAULT ?
|
|
62
|
+
const defaultBorderColor = variant === HintButtonVariant.DEFAULT ? restingBg : (0, _constants.getMessageColorsMap)(colors)[colorScheme].sent.border;
|
|
61
63
|
return {
|
|
62
|
-
backgroundColor: (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [
|
|
63
|
-
borderColor: (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [defaultBorderColor, _constants.
|
|
64
|
+
backgroundColor: (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [restingBg, (0, _constants.getMessageColorsMap)(colors)[colorScheme].sent.background]),
|
|
65
|
+
borderColor: (0, _reactNativeReanimated.interpolateColor)(hoverSv.value, [0, 1], [defaultBorderColor, (0, _constants.getMessageColorsMap)(colors)[colorScheme].sent.border])
|
|
64
66
|
};
|
|
65
|
-
}, [hoverSv, disabled, colorScheme, colors]);
|
|
67
|
+
}, [hoverSv, disabled, colorScheme, colors, restingBg]);
|
|
66
68
|
const animatedTextStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
|
|
67
69
|
if (disabled) return {
|
|
68
70
|
color: colors.NEUTRAL_5
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_react","_interopRequireWildcard","_reactNativeReanimated","_reactNativeUi","_studentsFeatures","_studentsQa","_constants","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HintButtonVariant","exports","HOVER_ANIMATION_DURATION","REQUEST_HINT_BUTTON","DEFAULT","width","INPUT_WIDTH","fontSize","SHORT","RequestHintButton","memo","onPress","label","disabled","colorScheme","ColorScheme","Blue","variant","colors","useTheme","styles","useStyles","hoverSv","useSharedValue","onHoverIn","value","withTiming","duration","onHoverOut","animatedTextContainerStyle","useAnimatedStyle","backgroundColor","NEUTRAL_2","borderColor","NEUTRAL_5","defaultBorderColor","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_react","_interopRequireWildcard","_reactNativeReanimated","_reactNativeUi","_studentsFeatures","_studentsQa","_constants","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HintButtonVariant","exports","HOVER_ANIMATION_DURATION","REQUEST_HINT_BUTTON","DEFAULT","width","INPUT_WIDTH","fontSize","SHORT","RequestHintButton","memo","onPress","label","disabled","colorScheme","ColorScheme","Blue","variant","colors","useTheme","isDark","useIsDarkMode","restingBg","NEUTRAL_3","NEUTRAL_1","styles","useStyles","hoverSv","useSharedValue","onHoverIn","value","withTiming","duration","onHoverOut","animatedTextContainerStyle","useAnimatedStyle","backgroundColor","NEUTRAL_2","borderColor","NEUTRAL_5","defaultBorderColor","getMessageColorsMap","sent","border","interpolateColor","background","animatedTextStyle","color","NEUTRAL_10","iconColor","jsx","Pressable","style","button","cursor","accessibilityState","accessibilityRole","testID","TEST_IDS","CHAT_NEED_A_HINT_BUTTON","children","jsxs","View","content","Text","numberOfLines","text","iconWrapper","ArrowRightIcon","size","ArrowUpIcon","createStyles","theme","flexDirection","justifyContent","fontWeight","fontFamily","FONT_FAMILY","buenosAires","height","flex","alignItems","paddingHorizontal","SPACING","borderWidth","borderRadius","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","COLORS","PRIMARY_BLUE","top"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatInput/RequestHintButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAD,uBAAA,CAAAF,OAAA;AAMA,IAAAI,cAAA,GAAAJ,OAAA;AAUA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAAkE,IAAAQ,WAAA,GAAAR,OAAA;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B,KAAK,EAAEE,SAAU;UAACoB,IAAI,EAAE;QAAG,CAAE,CAAC,gBAE9C,IAAA1F,WAAA,CAAAuE,GAAA,EAAC3E,cAAA,CAAA+F,WAAW;UAACvB,KAAK,EAAEE,SAAU;UAACoB,IAAI,EAAE;QAAG,CAAE;MAC3C,CACY,CAAC;IAAA,CACH;EAAC,CACP,CAAC;AAEhB,CACF,CAAC;AAED,MAAM3C,SAAS,GAAG,IAAA6C,2BAAY,EAAEC,KAAK,KAAM;EACzCnB,MAAM,EAAE;IACNoB,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDR,IAAI,EAAE;IACJS,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAEC,0BAAW,CAACC,WAAW;IACnC/B,KAAK,EAAEyB,KAAK,CAACxB;EACf,CAAC;EACDe,OAAO,EAAE;IACPgB,MAAM,EAAE,EAAE;IACVC,IAAI,EAAE,CAAC;IACPP,aAAa,EAAE,KAAK;IACpBQ,UAAU,EAAE,QAAQ;IACpBP,cAAc,EAAE,eAAe;IAC/BQ,iBAAiB,EAAEC,sBAAO,CAAC,GAAG,CAAC;IAC/BC,WAAW,EAAE,CAAC;IACdC,YAAY,EAAE,EAAE;IAChBC,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MAAEnF,KAAK,EAAE,CAAC;MAAE0E,MAAM,EAAE;IAAE,CAAC;IACrCU,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACftD,eAAe,EAAEuD,qBAAM,CAACC,YAAY;IACpCtD,WAAW,EAAEqD,qBAAM,CAACC;EACtB,CAAC;EACDzB,WAAW,EAAE;IACX0B,GAAG,EAAE;EACP;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -13,6 +13,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
13
13
|
const MessageLoader = ({
|
|
14
14
|
isLoading
|
|
15
15
|
}) => {
|
|
16
|
+
const styles = useStyles();
|
|
16
17
|
if (!isLoading) return null;
|
|
17
18
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
18
19
|
style: styles.loader,
|
|
@@ -23,7 +24,7 @@ const MessageLoader = ({
|
|
|
23
24
|
});
|
|
24
25
|
};
|
|
25
26
|
exports.MessageLoader = MessageLoader;
|
|
26
|
-
const
|
|
27
|
+
const useStyles = (0, _reactNativeUi.createStyles)(theme => ({
|
|
27
28
|
loader: {
|
|
28
29
|
marginLeft: 65,
|
|
29
30
|
alignSelf: 'flex-start',
|
|
@@ -43,7 +44,7 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
43
44
|
elevation: 3,
|
|
44
45
|
borderRadius: _reactNativeUi.BORDER_RADIUS['300'],
|
|
45
46
|
borderBottomLeftRadius: 0,
|
|
46
|
-
backgroundColor:
|
|
47
|
+
backgroundColor: theme.NEUTRAL_3
|
|
47
48
|
}
|
|
48
|
-
});
|
|
49
|
+
}));
|
|
49
50
|
//# sourceMappingURL=MessageLoader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_studentsQa","_jsxRuntime","e","__esModule","default","MessageLoader","isLoading","jsx","View","style","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_studentsQa","_jsxRuntime","e","__esModule","default","MessageLoader","isLoading","styles","useStyles","jsx","View","style","loader","testID","TEST_IDS","CHAT_MESSAGE_LOADER","children","Loader","color","LoaderColor","GRAY","exports","createStyles","theme","marginLeft","alignSelf","marginTop","SPACING","flexDirection","alignItems","justifyContent","maxWidth","padding","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","borderRadius","BORDER_RADIUS","borderBottomLeftRadius","backgroundColor","NEUTRAL_3"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/MessageLoader.tsx"],"mappings":";;;;;;AAAA,IAAA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IACZC,YAAY,EAAEC,4BAAa,CAAC,KAAK,CAAC;IAClCC,sBAAsB,EAAE,CAAC;IACzBC,eAAe,EAAEpB,KAAK,CAACqB;EACzB;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ var _PlayButton = require("../../../../shared/components/PlayButton.js");
|
|
|
10
10
|
var _styleTypes = require("../../types/style.types.js");
|
|
11
11
|
var _constants = require("../../constants.js");
|
|
12
12
|
var _studentsQa = require("@magmamath/students-qa");
|
|
13
|
+
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
16
|
const MessageTextToSpeech = ({
|
|
@@ -19,6 +20,7 @@ const MessageTextToSpeech = ({
|
|
|
19
20
|
colorScheme = _styleTypes.ColorScheme.Blue
|
|
20
21
|
}) => {
|
|
21
22
|
const model = (0, _ChatBotModelContext.useChatModel)();
|
|
23
|
+
const theme = (0, _reactNativeUi.useTheme)();
|
|
22
24
|
const play = () => {
|
|
23
25
|
void model.t2s.play({
|
|
24
26
|
isTranslated: model.translation.$isTranslated.getState(),
|
|
@@ -26,7 +28,7 @@ const MessageTextToSpeech = ({
|
|
|
26
28
|
});
|
|
27
29
|
};
|
|
28
30
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PlayButton.PlayButton, {
|
|
29
|
-
colorScheme: _constants.
|
|
31
|
+
colorScheme: (0, _constants.getMessageColorsMap)(theme)[colorScheme][variant].icon,
|
|
30
32
|
state: state,
|
|
31
33
|
onPress: play,
|
|
32
34
|
testID: _studentsQa.TEST_IDS.CHAT_TTS_BUTTON
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_ChatBotModelContext","_PlayButton","_styleTypes","_constants","_studentsQa","_jsxRuntime","e","__esModule","default","MessageTextToSpeech","state","variant","message","colorScheme","ColorScheme","Blue","model","useChatModel","play","t2s","isTranslated","translation","$isTranslated","getState","jsx","PlayButton","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_ChatBotModelContext","_PlayButton","_styleTypes","_constants","_studentsQa","_reactNativeUi","_jsxRuntime","e","__esModule","default","MessageTextToSpeech","state","variant","message","colorScheme","ColorScheme","Blue","model","useChatModel","theme","useTheme","play","t2s","isTranslated","translation","$isTranslated","getState","jsx","PlayButton","getMessageColorsMap","icon","onPress","testID","TEST_IDS","CHAT_TTS_BUTTON","exports"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAIA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AAAqD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAS9C,MAAMG,mBAAmB,GAAGA,CAAC;EAClCC,KAAK;EACLC,OAAO;EACPC,OAAO;EACPC,WAAW,GAAGC,uBAAW,CAACC;AACF,CAAC,KAAK;EAC9B,MAAMC,KAAK,GAAG,IAAAC,iCAAY,EAAC,CAAC;EAC5B,MAAMC,KAAK,GAAG,IAAAC,uBAAQ,EAAC,CAAC;EAExB,MAAMC,IAAI,GAAGA,CAAA,KAAM;IACjB,KAAKJ,KAAK,CAACK,GAAG,CAACD,IAAI,CAAC;MAClBE,YAAY,EAAEN,KAAK,CAACO,WAAW,CAACC,aAAa,CAACC,QAAQ,CAAC,CAAC;MACxDb;IACF,CAAC,CAAC;EACJ,CAAC;EAED,oBACE,IAAAP,WAAA,CAAAqB,GAAA,EAAC1B,WAAA,CAAA2B,UAAU;IACTd,WAAW,EAAE,IAAAe,8BAAmB,EAACV,KAAK,CAAC,CAACL,WAAW,CAAC,CAACF,OAAO,CAAC,CAACkB,IAAK;IACnEnB,KAAK,EAAEA,KAAM;IACboB,OAAO,EAAEV,IAAK;IACdW,MAAM,EAAEC,oBAAQ,CAACC;EAAgB,CAClC,CAAC;AAEN,CAAC;AAAAC,OAAA,CAAAzB,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -18,11 +18,12 @@ const SentMessage = exports.SentMessage = /*#__PURE__*/_react.default.memo(({
|
|
|
18
18
|
isTranslated,
|
|
19
19
|
colorScheme = _styleTypes.ColorScheme.Blue
|
|
20
20
|
}) => {
|
|
21
|
+
const theme = (0, _reactNativeUi.useTheme)();
|
|
21
22
|
const text = isTranslated ? message.translatedMessage : message.message;
|
|
22
23
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
23
24
|
testID: _studentsQa.TEST_IDS.CHAT_MESSAGE_SENT,
|
|
24
25
|
style: [styles.container, {
|
|
25
|
-
backgroundColor: _constants.
|
|
26
|
+
backgroundColor: (0, _constants.getMessageColorsMap)(theme)[colorScheme][_modelTypes.MessageVariant.SENT].background
|
|
26
27
|
}],
|
|
27
28
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
28
29
|
style: styles.text,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_constants","_styleTypes","_modelTypes","_studentsQa","_jsxRuntime","e","__esModule","default","SentMessage","exports","React","memo","message","isTranslated","colorScheme","ColorScheme","Blue","text","translatedMessage","jsx","View","testID","TEST_IDS","CHAT_MESSAGE_SENT","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeUi","_constants","_styleTypes","_modelTypes","_studentsQa","_jsxRuntime","e","__esModule","default","SentMessage","exports","React","memo","message","isTranslated","colorScheme","ColorScheme","Blue","theme","useTheme","text","translatedMessage","jsx","View","testID","TEST_IDS","CHAT_MESSAGE_SENT","style","styles","container","backgroundColor","getMessageColorsMap","MessageVariant","SENT","background","children","Text","StyleSheet","create","alignSelf","maxWidth","MESSAGE_WIDTH","padding","SPACING","borderRadius","BORDER_RADIUS","borderBottomRightRadius","Platform","select","web","backfaceVisibility","fontSize","fontWeight","fontFamily","FONT_FAMILY","buenosAires","color","COLORS","NEUTRAL_1"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/SentMessage.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAIA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAAiD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1C,MAAMG,WAAW,GAAAC,OAAA,CAAAD,WAAA,gBAAGE,cAAK,CAACC,IAAI,CACnC,CAAC;EAAEC,OAAO;EAAEC,YAAY;EAAEC,WAAW,GAAGC,uBAAW,CAACC;AAAmB,CAAC,KAAK;EAC3E,MAAMC,KAAK,GAAG,IAAAC,uBAAQ,EAAC,CAAC;EACxB,MAAMC,IAAI,GAAGN,YAAY,GAAGD,OAAO,CAACQ,iBAAiB,GAAGR,OAAO,CAACA,OAAO;EAEvE,oBACE,IAAAR,WAAA,CAAAiB,GAAA,EAACvB,YAAA,CAAAwB,IAAI;IACHC,MAAM,EAAEC,oBAAQ,CAACC,iBAAkB;IACnCC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MACEC,eAAe,EACb,IAAAC,8BAAmB,EAACb,KAAK,CAAC,CAACH,WAAW,CAAC,CAACiB,0BAAc,CAACC,IAAI,CAAC,CAACC;IACjE,CAAC,CACD;IAAAC,QAAA,eAEF,IAAA9B,WAAA,CAAAiB,GAAA,EAACvB,YAAA,CAAAqC,IAAI;MAACT,KAAK,EAAEC,MAAM,CAACR,IAAK;MAAAe,QAAA,EAAEf;IAAI,CAAO;EAAC,CACnC,CAAC;AAEX,CACF,CAAC;AAED,MAAMQ,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,SAAS,EAAE,UAAU;IACrBC,QAAQ,EAAEC,wBAAa;IACvBC,OAAO,EAAEC,sBAAO,CAAC,GAAG,CAAC;IACrBC,YAAY,EAAEC,4BAAa,CAAC,GAAG,CAAC;IAChCC,uBAAuB,EAAE,CAAC;IAC1B,GAAGC,qBAAQ,CAACC,MAAM,CAAC;MAAEC,GAAG,EAAE;QAAEC,kBAAkB,EAAE;MAAS;IAAE,CAAC;EAC9D,CAAC;EACD9B,IAAI,EAAE;IACJ+B,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,GAAG;IACfC,UAAU,EAAEC,0BAAW,CAACC,WAAW;IACnCC,KAAK,EAAEC,qBAAM,CAACC;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.getMessageColorsMap = exports.WORD_MARK_REGEX = exports.TEXT_TO_SPEECH_CONFIG = exports.SCROLL_BOTTOM_THRESHOLD = exports.MESSAGE_WIDTH = exports.LAVA_ICON_SIZE = exports.KATEX_REPLACEMENTS_REVERSE = exports.KATEX_REPLACEMENTS = exports.INPUT_WIDTH = exports.HOVER_ANIMATION_DURATION = exports.FLOATING_AVATAR_BOTTOM = exports.DEFAULT_VOICE = exports.ChatbotVariant = exports.ChatbotAvatarVariant = exports.CONTROLS_COLORS_MAP = exports.CHAT_CONTAINER_WIDTH = exports.AUDIO_CONFIG = exports.AI_ICON_SIZE = exports.AI_AVATAR_CONTAINER_WIDTH = exports.AI_AVATAR_BORDER_RADIUS = void 0;
|
|
7
7
|
var _reactNativeUi = require("@magmamath/react-native-ui");
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _modelTypes = require("./types/model.types.js");
|
|
@@ -40,11 +40,11 @@ const KATEX_REPLACEMENTS = exports.KATEX_REPLACEMENTS = {
|
|
|
40
40
|
const KATEX_REPLACEMENTS_REVERSE = exports.KATEX_REPLACEMENTS_REVERSE = {
|
|
41
41
|
__KATEX_DOLLAR_SYMBOL__: '$'
|
|
42
42
|
};
|
|
43
|
-
const
|
|
43
|
+
const getMessageColorsMap = theme => ({
|
|
44
44
|
[_styleTypes.ColorScheme.Blue]: {
|
|
45
45
|
[_modelTypes.MessageVariant.RECEIVED]: {
|
|
46
|
-
background:
|
|
47
|
-
border:
|
|
46
|
+
background: theme.NEUTRAL_3,
|
|
47
|
+
border: theme.NEUTRAL_3,
|
|
48
48
|
icon: _styleTypes.ColorScheme.Blue
|
|
49
49
|
},
|
|
50
50
|
[_modelTypes.MessageVariant.SENT]: {
|
|
@@ -55,8 +55,8 @@ const MESSAGE_COLORS_MAP = exports.MESSAGE_COLORS_MAP = {
|
|
|
55
55
|
},
|
|
56
56
|
[_styleTypes.ColorScheme.Yellow]: {
|
|
57
57
|
[_modelTypes.MessageVariant.RECEIVED]: {
|
|
58
|
-
background:
|
|
59
|
-
border:
|
|
58
|
+
background: theme.NEUTRAL_3,
|
|
59
|
+
border: theme.NEUTRAL_3,
|
|
60
60
|
icon: _styleTypes.ColorScheme.Yellow
|
|
61
61
|
},
|
|
62
62
|
[_modelTypes.MessageVariant.SENT]: {
|
|
@@ -65,7 +65,8 @@ const MESSAGE_COLORS_MAP = exports.MESSAGE_COLORS_MAP = {
|
|
|
65
65
|
icon: _styleTypes.ColorScheme.Yellow
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
};
|
|
68
|
+
});
|
|
69
|
+
exports.getMessageColorsMap = getMessageColorsMap;
|
|
69
70
|
const CONTROLS_COLORS_MAP = exports.CONTROLS_COLORS_MAP = {
|
|
70
71
|
[_styleTypes.ColorScheme.Blue]: {
|
|
71
72
|
hover: _reactNativeUi.COLORS.PRIMARY_BLUE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeUi","require","_reactNative","_modelTypes","_styleTypes","AUDIO_CONFIG","exports","audioEncoding","pitch","speakingRate","DEFAULT_VOICE","languageCode","name","TEXT_TO_SPEECH_CONFIG","Platform","select","ios","audioConfig","voice","default","KATEX_REPLACEMENTS","KATEX_REPLACEMENTS_REVERSE","__KATEX_DOLLAR_SYMBOL__","
|
|
1
|
+
{"version":3,"names":["_reactNativeUi","require","_reactNative","_modelTypes","_styleTypes","AUDIO_CONFIG","exports","audioEncoding","pitch","speakingRate","DEFAULT_VOICE","languageCode","name","TEXT_TO_SPEECH_CONFIG","Platform","select","ios","audioConfig","voice","default","KATEX_REPLACEMENTS","KATEX_REPLACEMENTS_REVERSE","__KATEX_DOLLAR_SYMBOL__","getMessageColorsMap","theme","ColorScheme","Blue","MessageVariant","RECEIVED","background","NEUTRAL_3","border","icon","SENT","COLORS","PRIMARY_BLUE","Yellow","PRIMARY_YELLOW","CONTROLS_COLORS_MAP","hover","HOVER_ANIMATION_DURATION","WORD_MARK_REGEX","SCROLL_BOTTOM_THRESHOLD","MESSAGE_WIDTH","INPUT_WIDTH","IS_WEB","CHAT_CONTAINER_WIDTH","LAVA_ICON_SIZE","AI_ICON_SIZE","AI_AVATAR_BORDER_RADIUS","AI_AVATAR_CONTAINER_WIDTH","FLOATING_AVATAR_BOTTOM","ChatbotVariant","ChatbotAvatarVariant"],"sourceRoot":"../../../../src","sources":["features/chatbot/constants.ts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