@magmamath/students-features 1.3.3 → 1.3.4-rc.1
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/keyboard/components/AlgebraLayout/AlgebraLayout.js +72 -20
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +41 -0
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/{SwitchableLayout → AlgebraLayout}/types.js +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/types.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js +0 -11
- package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js +1 -6
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +0 -2
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +8 -18
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +1 -86
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +1 -2
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/types.js +0 -1
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/features/voice/constants.js +13 -3
- package/dist/commonjs/features/voice/constants.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecord.js +19 -5
- package/dist/commonjs/features/voice/recording/components/VoiceRecord.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +71 -20
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
- package/dist/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +5 -0
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/commonjs/features/voice/types.js +6 -0
- package/dist/commonjs/features/voice/types.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +3 -4
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +8 -12
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +6 -11
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +8 -12
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +72 -21
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +36 -0
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +1 -0
- package/dist/module/features/keyboard/components/{SwitchableLayout → AlgebraLayout}/types.js +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/types.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js +0 -1
- package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.constants.js +0 -5
- package/dist/module/features/keyboard/constants/keyboard.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -3
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +9 -19
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js +1 -86
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/module/features/keyboard/constants/keys/units.constants.js +1 -2
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/keyboard/types/types.js +0 -1
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/module/features/voice/constants.js +12 -2
- package/dist/module/features/voice/constants.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecord.js +20 -6
- package/dist/module/features/voice/recording/components/VoiceRecord.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js +73 -22
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +2 -2
- package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js +3 -3
- package/dist/module/features/voice/recording/hooks/useVoiceRecorderAnimation.js.map +1 -1
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js +5 -0
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/module/features/voice/types.js +5 -1
- package/dist/module/features/voice/types.js.map +1 -1
- package/dist/module/shared/icons/keyboard/AngleIcon.js +3 -4
- package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +9 -13
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +7 -12
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +9 -13
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +15 -0
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts +5 -0
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +4 -13
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +0 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/constants.d.ts +12 -2
- package/dist/typescript/commonjs/features/voice/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
- package/dist/typescript/commonjs/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
- package/dist/typescript/commonjs/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/types.d.ts +4 -0
- package/dist/typescript/commonjs/features/voice/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +15 -0
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts +5 -0
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +4 -13
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +0 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/constants.d.ts +12 -2
- package/dist/typescript/module/features/voice/constants.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecord.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts +1 -3
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts +2 -1
- package/dist/typescript/module/features/voice/recording/hooks/useVoiceRecorderAnimation.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts +3 -1
- package/dist/typescript/module/features/voice/recording/model/VoiceRecord.model.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/types.d.ts +4 -0
- package/dist/typescript/module/features/voice/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +73 -17
- package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +52 -0
- package/src/features/keyboard/components/AlgebraLayout/types.ts +4 -0
- package/src/features/keyboard/constants/groups/index.ts +0 -1
- package/src/features/keyboard/constants/keyboard.constants.ts +0 -6
- package/src/features/keyboard/constants/keyboard.helpers.ts +0 -3
- package/src/features/keyboard/constants/keyboardLayouts.ts +5 -15
- package/src/features/keyboard/constants/keys/geometry.constants.tsx +1 -61
- package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
- package/src/features/keyboard/constants/keys/units.constants.tsx +0 -1
- package/src/features/keyboard/types/types.ts +0 -1
- package/src/features/voice/constants.ts +13 -2
- package/src/features/voice/recording/components/VoiceRecord.tsx +28 -5
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +99 -30
- package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +2 -2
- package/src/features/voice/recording/hooks/useVoiceRecorderAnimation.ts +8 -4
- package/src/features/voice/recording/model/VoiceRecord.model.ts +7 -0
- package/src/features/voice/types.ts +5 -0
- package/src/shared/icons/keyboard/AngleIcon.tsx +2 -4
- package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +8 -5
- package/src/shared/icons/keyboard/LineSegmentIcon.tsx +7 -6
- package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +8 -5
- package/.claude/settings.local.json +0 -25
- package/.editorconfig +0 -15
- package/.eslintignore +0 -2
- package/.eslintrc +0 -22
- package/.gitattributes +0 -3
- package/.github/actions/setup/action.yml +0 -37
- package/.github/workflows/ci.yml +0 -73
- package/.gitignore +0 -84
- package/.idea/.gitignore +0 -8
- package/.idea/codeStyles/Project.xml +0 -62
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/copilot.data.migration.agent.xml +0 -6
- package/.idea/copilot.data.migration.ask.xml +0 -6
- package/.idea/copilot.data.migration.ask2agent.xml +0 -6
- package/.idea/copilot.data.migration.edit.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -8
- package/.idea/jsLinters/eslint.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -7
- package/.idea/students-features.iml +0 -12
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -667
- package/.nvmrc +0 -1
- package/.prettierrc +0 -11
- package/.release-it.json +0 -17
- package/.watchmanconfig +0 -1
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
- package/.yarn/releases/yarn-3.6.1.cjs +0 -874
- package/babel.config.js +0 -5
- package/bob.config.js +0 -25
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -33
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +0 -94
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +0 -25
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/types.js.map +0 -1
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +0 -11
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
- package/dist/commonjs/shared/icons/GeometryIcon.js +0 -32
- package/dist/commonjs/shared/icons/GeometryIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +0 -30
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +0 -29
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +0 -42
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +0 -32
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +0 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -27
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +0 -87
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +0 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +0 -21
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +0 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/types.js.map +0 -1
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js +0 -7
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
- package/dist/module/shared/icons/GeometryIcon.js +0 -24
- package/dist/module/shared/icons/GeometryIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js +0 -22
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterAIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterBIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/LetterCIcon.js +0 -21
- package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js +0 -34
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
- package/dist/module/shared/icons/keyboard/TriangleIcon.js +0 -24
- package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +0 -4
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts +0 -12
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +0 -21
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +0 -4
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts +0 -12
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +0 -21
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
- package/example/.expo/README.md +0 -8
- package/example/.expo/devices.json +0 -3
- package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
- package/example/app.json +0 -30
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash-icon.png +0 -0
- package/example/babel.config.js +0 -28
- package/example/index.js +0 -8
- package/example/metro.config.js +0 -18
- package/example/package.json +0 -25
- package/example/src/App.tsx +0 -8
- package/example/tsconfig.json +0 -6
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +0 -21
- package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +0 -100
- package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +0 -31
- package/src/features/keyboard/components/SwitchableLayout/types.ts +0 -24
- package/src/features/keyboard/constants/groups/geometry.constants.ts +0 -25
- package/src/shared/icons/GeometryIcon.tsx +0 -18
- package/src/shared/icons/keyboard/ImpliesIcon.tsx +0 -16
- package/src/shared/icons/keyboard/LetterAIcon.tsx +0 -14
- package/src/shared/icons/keyboard/LetterBIcon.tsx +0 -14
- package/src/shared/icons/keyboard/LetterCIcon.tsx +0 -14
- package/src/shared/icons/keyboard/ThereforeIcon.tsx +0 -15
- package/src/shared/icons/keyboard/TriangleIcon.tsx +0 -18
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -34
- package/yarn.lock +0 -10957
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LetterBIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterBIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LetterCIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/LetterCIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,WAAW,oBAA0B,SAAS,sBAS1D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThereforeIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/ThereforeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,aAAa,oBAA0B,SAAS,sBAQ5D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriangleIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/icons/keyboard/TriangleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,eAAO,MAAM,YAAY,oBAA0B,SAAS,sBAW3D,CAAA"}
|
package/example/.expo/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
> Why do I have a folder named ".expo" in my project?
|
|
2
|
-
The ".expo" folder is created when an Expo project is started using "expo start" command.
|
|
3
|
-
> What do the files contain?
|
|
4
|
-
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
|
|
5
|
-
- "settings.json": contains the server configuration that is used to serve the application manifest.
|
|
6
|
-
> Should I commit the ".expo" folder?
|
|
7
|
-
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
|
|
8
|
-
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
|
|
Binary file
|
package/example/app.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"expo": {
|
|
3
|
-
"name": "example",
|
|
4
|
-
"slug": "example",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"orientation": "portrait",
|
|
7
|
-
"icon": "./assets/icon.png",
|
|
8
|
-
"userInterfaceStyle": "light",
|
|
9
|
-
"newArchEnabled": true,
|
|
10
|
-
"splash": {
|
|
11
|
-
"image": "./assets/splash-icon.png",
|
|
12
|
-
"resizeMode": "contain",
|
|
13
|
-
"backgroundColor": "#ffffff"
|
|
14
|
-
},
|
|
15
|
-
"ios": {
|
|
16
|
-
"supportsTablet": true,
|
|
17
|
-
"bundleIdentifier": "magmamath.features.example"
|
|
18
|
-
},
|
|
19
|
-
"android": {
|
|
20
|
-
"adaptiveIcon": {
|
|
21
|
-
"foregroundImage": "./assets/adaptive-icon.png",
|
|
22
|
-
"backgroundColor": "#ffffff"
|
|
23
|
-
},
|
|
24
|
-
"package": "magmamath.features.example"
|
|
25
|
-
},
|
|
26
|
-
"web": {
|
|
27
|
-
"favicon": "./assets/favicon.png"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
Binary file
|
|
Binary file
|
package/example/assets/icon.png
DELETED
|
Binary file
|
|
Binary file
|
package/example/babel.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const path = require('path')
|
|
2
|
-
const { getConfig } = require('react-native-builder-bob/babel-config')
|
|
3
|
-
const pkg = require('../package.json')
|
|
4
|
-
|
|
5
|
-
const root = path.resolve(__dirname, '..')
|
|
6
|
-
|
|
7
|
-
module.exports = function (api) {
|
|
8
|
-
api.cache(true)
|
|
9
|
-
|
|
10
|
-
return getConfig(
|
|
11
|
-
{
|
|
12
|
-
presets: ['babel-preset-expo'],
|
|
13
|
-
plugins: [
|
|
14
|
-
[
|
|
15
|
-
'module-resolver',
|
|
16
|
-
{
|
|
17
|
-
extensions: ['.tsx', '.ts', '.js', '.json'],
|
|
18
|
-
alias: {
|
|
19
|
-
[pkg.name]: path.join(__dirname, '../', pkg.source),
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
['@babel/plugin-transform-private-methods', { loose: true }],
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
{ root, pkg },
|
|
27
|
-
)
|
|
28
|
-
}
|
package/example/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { registerRootComponent } from 'expo';
|
|
2
|
-
|
|
3
|
-
import App from './src/App';
|
|
4
|
-
|
|
5
|
-
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
6
|
-
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
7
|
-
// the environment is set up appropriately
|
|
8
|
-
registerRootComponent(App);
|
package/example/metro.config.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const { getDefaultConfig } = require('@expo/metro-config');
|
|
3
|
-
const { getConfig } = require('react-native-builder-bob/metro-config');
|
|
4
|
-
const pkg = require('../package.json');
|
|
5
|
-
|
|
6
|
-
const root = path.resolve(__dirname, '..');
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Metro configuration
|
|
10
|
-
* https://facebook.github.io/metro/docs/configuration
|
|
11
|
-
*
|
|
12
|
-
* @type {import('metro-config').MetroConfig}
|
|
13
|
-
*/
|
|
14
|
-
module.exports = getConfig(getDefaultConfig(__dirname), {
|
|
15
|
-
root,
|
|
16
|
-
pkg,
|
|
17
|
-
project: __dirname,
|
|
18
|
-
});
|
package/example/package.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@magmamath/students-features-example",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"start": "expo start",
|
|
7
|
-
"android": "expo start --android",
|
|
8
|
-
"ios": "expo start --ios",
|
|
9
|
-
"web": "expo start --web"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@expo/metro-runtime": "~4.0.0",
|
|
13
|
-
"expo": "~52.0.11",
|
|
14
|
-
"expo-status-bar": "~2.0.0",
|
|
15
|
-
"react": "18.3.1",
|
|
16
|
-
"react-dom": "18.3.1",
|
|
17
|
-
"react-native": "0.76.3",
|
|
18
|
-
"react-native-web": "~0.19.13"
|
|
19
|
-
},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@babel/core": "^7.20.0",
|
|
22
|
-
"react-native-builder-bob": "^0.33.3"
|
|
23
|
-
},
|
|
24
|
-
"private": true
|
|
25
|
-
}
|
package/example/src/App.tsx
DELETED
package/example/tsconfig.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { COLORS } from '@magmamath/react-native-ui'
|
|
3
|
-
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
4
|
-
import { AlgebraIcon } from '../../../../shared/icons/AlgebraIcon'
|
|
5
|
-
import { GeometryIcon } from '../../../../shared/icons/GeometryIcon'
|
|
6
|
-
import { SwitchableLayout } from '../SwitchableLayout/SwitchableLayout'
|
|
7
|
-
import { SwitchableLayoutConfig } from '../SwitchableLayout/types'
|
|
8
|
-
|
|
9
|
-
const GEOMETRY_CONFIG: SwitchableLayoutConfig = {
|
|
10
|
-
secondaryKeyboardType: KeyboardType.Geometry,
|
|
11
|
-
BasicIcon: (isSelected) => (
|
|
12
|
-
<AlgebraIcon color={isSelected ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9} size={22} />
|
|
13
|
-
),
|
|
14
|
-
SecondaryIcon: (isSelected) => (
|
|
15
|
-
<GeometryIcon color={isSelected ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9} size={16} />
|
|
16
|
-
),
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const GeometryLayout = (props: KeyboardLayoutProps) => {
|
|
20
|
-
return <SwitchableLayout {...props} config={GEOMETRY_CONFIG} />
|
|
21
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import React, { useMemo, useState } from 'react'
|
|
2
|
-
import { KeysList } from '../KeysList/KeysList'
|
|
3
|
-
import { StyleSheet, useWindowDimensions, View } from 'react-native'
|
|
4
|
-
import {
|
|
5
|
-
COLORS,
|
|
6
|
-
IS_MOBILE,
|
|
7
|
-
SelectGroup,
|
|
8
|
-
SelectOptionSize,
|
|
9
|
-
SPACING,
|
|
10
|
-
} from '@magmamath/react-native-ui'
|
|
11
|
-
import { KeyboardType } from '../../types/types'
|
|
12
|
-
import { SelectedLayout, SwitchableLayoutProps } from './types'
|
|
13
|
-
import { getMainKeyboardGroup } from '../../helpers'
|
|
14
|
-
import { getSelectOptions } from './helpers'
|
|
15
|
-
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
16
|
-
|
|
17
|
-
export const SwitchableLayout = ({
|
|
18
|
-
onLayoutChange,
|
|
19
|
-
keys,
|
|
20
|
-
config,
|
|
21
|
-
...props
|
|
22
|
-
}: SwitchableLayoutProps) => {
|
|
23
|
-
const [selectedLayout, setSelectedLayout] = useState<SelectedLayout>(SelectedLayout.BASIC)
|
|
24
|
-
const { width } = useWindowDimensions()
|
|
25
|
-
const selectOptions = getSelectOptions({
|
|
26
|
-
selectedLayout,
|
|
27
|
-
onBasicPressIn: () => {
|
|
28
|
-
setSelectedLayout(SelectedLayout.BASIC)
|
|
29
|
-
onLayoutChange?.(false)
|
|
30
|
-
},
|
|
31
|
-
onSecondaryPressIn: () => {
|
|
32
|
-
setSelectedLayout(SelectedLayout.SECONDARY)
|
|
33
|
-
onLayoutChange?.(true)
|
|
34
|
-
},
|
|
35
|
-
BasicIcon: config.BasicIcon,
|
|
36
|
-
SecondaryIcon: config.SecondaryIcon,
|
|
37
|
-
})
|
|
38
|
-
const isDesktop =
|
|
39
|
-
width > KEYBOARD_LAYOUTS[config.secondaryKeyboardType].mobileBreakpoint && !IS_MOBILE
|
|
40
|
-
|
|
41
|
-
const keyboardGroups = useMemo(() => {
|
|
42
|
-
const secondary = getMainKeyboardGroup(keys, config.secondaryKeyboardType)
|
|
43
|
-
const basic = getMainKeyboardGroup(
|
|
44
|
-
keys,
|
|
45
|
-
isDesktop ? KeyboardType.BasicPlusPlus : KeyboardType.BasicPlusPlusMobile,
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
return new Map([
|
|
49
|
-
[SelectedLayout.BASIC, basic],
|
|
50
|
-
[SelectedLayout.SECONDARY, secondary],
|
|
51
|
-
])
|
|
52
|
-
}, [isDesktop, keys, config.secondaryKeyboardType])
|
|
53
|
-
|
|
54
|
-
const currentKeys = keyboardGroups.get(selectedLayout)?.keys ?? []
|
|
55
|
-
|
|
56
|
-
return (
|
|
57
|
-
<View style={styles.container}>
|
|
58
|
-
{isDesktop && (
|
|
59
|
-
<SelectGroup
|
|
60
|
-
numOfRows={2}
|
|
61
|
-
options={selectOptions}
|
|
62
|
-
size={SelectOptionSize.SMALL}
|
|
63
|
-
style={{
|
|
64
|
-
container: styles.optionContainer,
|
|
65
|
-
option: { container: styles.option },
|
|
66
|
-
}}
|
|
67
|
-
color={props.color}
|
|
68
|
-
selectedOptions={[
|
|
69
|
-
selectedLayout === SelectedLayout.BASIC ? selectOptions[0] : selectOptions[1],
|
|
70
|
-
]}
|
|
71
|
-
/>
|
|
72
|
-
)}
|
|
73
|
-
<KeysList keys={currentKeys} numOfRows={3} {...props} />
|
|
74
|
-
</View>
|
|
75
|
-
)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
const styles = StyleSheet.create({
|
|
79
|
-
container: {
|
|
80
|
-
display: 'flex',
|
|
81
|
-
flexDirection: 'row',
|
|
82
|
-
gap: SPACING[400],
|
|
83
|
-
paddingRight: SPACING[400],
|
|
84
|
-
},
|
|
85
|
-
optionContainer: {
|
|
86
|
-
flexGrow: 0,
|
|
87
|
-
flexShrink: 0,
|
|
88
|
-
flexBasis: IS_MOBILE ? 60 : 'auto',
|
|
89
|
-
width: 'auto',
|
|
90
|
-
paddingRight: 18,
|
|
91
|
-
borderRightWidth: 1,
|
|
92
|
-
borderRightColor: COLORS.NEUTRAL_3,
|
|
93
|
-
maxWidth: 65,
|
|
94
|
-
gap: 9,
|
|
95
|
-
},
|
|
96
|
-
option: {
|
|
97
|
-
flexBasis: 45,
|
|
98
|
-
width: 44,
|
|
99
|
-
},
|
|
100
|
-
})
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react'
|
|
2
|
-
import { SelectedLayout, LayoutOption } from './types'
|
|
3
|
-
|
|
4
|
-
type GetSelectOptionsProps = {
|
|
5
|
-
selectedLayout: SelectedLayout
|
|
6
|
-
onBasicPressIn: () => void
|
|
7
|
-
onSecondaryPressIn: () => void
|
|
8
|
-
BasicIcon: (isSelected: boolean) => ReactNode
|
|
9
|
-
SecondaryIcon: (isSelected: boolean) => ReactNode
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export function getSelectOptions({
|
|
13
|
-
selectedLayout,
|
|
14
|
-
onBasicPressIn,
|
|
15
|
-
onSecondaryPressIn,
|
|
16
|
-
BasicIcon,
|
|
17
|
-
SecondaryIcon,
|
|
18
|
-
}: GetSelectOptionsProps): LayoutOption[] {
|
|
19
|
-
return [
|
|
20
|
-
{
|
|
21
|
-
key: SelectedLayout.BASIC,
|
|
22
|
-
title: BasicIcon(selectedLayout === SelectedLayout.BASIC),
|
|
23
|
-
onPressIn: onBasicPressIn,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
key: SelectedLayout.SECONDARY,
|
|
27
|
-
title: SecondaryIcon(selectedLayout === SelectedLayout.SECONDARY),
|
|
28
|
-
onPressIn: onSecondaryPressIn,
|
|
29
|
-
},
|
|
30
|
-
]
|
|
31
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react'
|
|
2
|
-
import { KeyboardLayoutProps } from '../../types/types'
|
|
3
|
-
import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
|
|
4
|
-
|
|
5
|
-
export enum SelectedLayout {
|
|
6
|
-
BASIC = 'basic',
|
|
7
|
-
SECONDARY = 'secondary',
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type LayoutOption = {
|
|
11
|
-
key: SelectedLayout
|
|
12
|
-
title: ReactNode
|
|
13
|
-
onPressIn: () => void
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type SwitchableLayoutConfig = {
|
|
17
|
-
secondaryKeyboardType: keyof typeof KEYBOARD_LAYOUTS
|
|
18
|
-
BasicIcon: (isSelected: boolean) => ReactNode
|
|
19
|
-
SecondaryIcon: (isSelected: boolean) => ReactNode
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type SwitchableLayoutProps = KeyboardLayoutProps & {
|
|
23
|
-
config: SwitchableLayoutConfig
|
|
24
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MATH_BASIC_OPERATORS,
|
|
3
|
-
MATH_GEOMETRY_SYMBOLS,
|
|
4
|
-
} from '../keys'
|
|
5
|
-
import { KeyboardGroup } from '../../types/types'
|
|
6
|
-
|
|
7
|
-
export const KEYBOARD_GEOMETRY: KeyboardGroup = {
|
|
8
|
-
keys: [
|
|
9
|
-
MATH_GEOMETRY_SYMBOLS.ANGLE,
|
|
10
|
-
MATH_GEOMETRY_SYMBOLS.TRIANGLE,
|
|
11
|
-
MATH_GEOMETRY_SYMBOLS.THEREFORE,
|
|
12
|
-
MATH_GEOMETRY_SYMBOLS.IMPLIES,
|
|
13
|
-
MATH_BASIC_OPERATORS.SIMILARITY,
|
|
14
|
-
MATH_GEOMETRY_SYMBOLS.LINE_SEGMENT,
|
|
15
|
-
MATH_GEOMETRY_SYMBOLS.RIGHT_DIRECTED_SEGMENT,
|
|
16
|
-
MATH_GEOMETRY_SYMBOLS.BIDIRECTIONAL_SEGMENT,
|
|
17
|
-
MATH_GEOMETRY_SYMBOLS.PERPENDICULAR,
|
|
18
|
-
MATH_BASIC_OPERATORS.APPROXIMATELY_EQUAL,
|
|
19
|
-
MATH_GEOMETRY_SYMBOLS.A,
|
|
20
|
-
MATH_GEOMETRY_SYMBOLS.B,
|
|
21
|
-
MATH_GEOMETRY_SYMBOLS.C,
|
|
22
|
-
MATH_GEOMETRY_SYMBOLS.PARALLEL,
|
|
23
|
-
MATH_BASIC_OPERATORS.CONGRUENT,
|
|
24
|
-
],
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './keyboard/icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const GeometryIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
d="M15.499 16.0009H14.998L15.499 15.4999V16.0009ZM0.399414 15.9902C0.204051 15.9502 0.0497107 15.7968 0.00976562 15.6015L0 15.5009V0.500901C9.37645e-05 0.0555518 0.538555 -0.167482 0.853516 0.147385L15.8525 15.1474C16.1674 15.4624 15.9444 16.0009 15.499 16.0009V15.4999L14.998 16.0009H0.5L0.399414 15.9902ZM1.59961 14.4003H12.8428L1.59961 3.15715V14.4003Z"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
<Path
|
|
13
|
-
d="M5.09541 10.7012C5.20587 10.7012 5.29541 10.7907 5.29541 10.9012V13.5055C5.29541 13.616 5.20587 13.7055 5.09541 13.7055H4.20604C4.09558 13.7055 4.00604 13.616 4.00604 13.5055V12.1898C4.00604 12.0793 3.9165 11.9898 3.80604 11.9898H2.49108C2.38062 11.9898 2.29108 11.9002 2.29108 11.7898V10.9012C2.29108 10.7907 2.38062 10.7012 2.49108 10.7012H5.09541Z"
|
|
14
|
-
fill={color}
|
|
15
|
-
/>
|
|
16
|
-
</Svg>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
|
-
export const ImpliesIcon = ({ size = 20, color }: IconProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
|
|
10
|
-
<Path
|
|
11
|
-
d="M11.1808 4.25566C11.4933 3.94351 12.0004 3.94333 12.3127 4.25566L16.4904 8.43438C16.8025 8.74673 16.8025 9.25289 16.4904 9.56524L12.3127 13.7439C12.0004 14.0563 11.4933 14.0561 11.1808 13.7439C10.8684 13.4315 10.8684 12.9245 11.1808 12.6121L11.5441 12.2488H4.07538C3.63366 12.2487 3.27557 11.8908 3.27557 11.449C3.27573 11.0074 3.63376 10.6494 4.07538 10.6492H12.9781C13.0841 10.6492 13.1859 10.6071 13.2609 10.5321L14.7224 9.07052C14.7615 9.03146 14.7615 8.96815 14.7224 8.92909L13.2599 7.46657C13.1849 7.39156 13.0832 7.34941 12.9771 7.34941H4.07538C3.63366 7.34928 3.27557 6.99136 3.27557 6.54961C3.27573 6.108 3.63376 5.74994 4.07538 5.74981H11.5432L11.1808 5.3875C10.8685 5.07514 10.8686 4.5681 11.1808 4.25566Z"
|
|
12
|
-
fill={color}
|
|
13
|
-
/>
|
|
14
|
-
</Svg>
|
|
15
|
-
)
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const LetterAIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
d="M10.352 14L9.92 11.2H5.152L3.424 14H1.584L8.608 2.8H10.16L12 14H10.352ZM6.064 9.68H9.712L8.976 4.96L6.064 9.68Z"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
</Svg>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const LetterBIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
d="M9.752 2.8C11.592 2.8 12.488 3.984 12.488 5.248C12.488 6.496 11.688 7.76 10.152 8.08C11.448 8.432 12.04 9.424 12.04 10.464C12.04 12.208 10.504 14 7.848 14H3.544L6.136 2.8H9.752ZM5.496 12.512H8.04C9.64 12.512 10.408 11.472 10.408 10.464C10.408 9.616 9.752 8.864 8.52 8.864H6.344L5.496 12.512ZM6.632 7.552H8.712C10.088 7.552 10.856 6.56 10.856 5.648C10.856 4.8 10.328 4.288 9.224 4.288H7.384L6.632 7.552Z"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
</Svg>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
export const LetterCIcon = ({ size = 16, color }: IconProps) => {
|
|
6
|
-
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
8
|
-
<Path
|
|
9
|
-
d="M7.98 12.688C9.596 12.688 10.716 11.808 11.516 10.272L12.86 11.024C11.692 13.232 10.012 14.256 7.82 14.256C4.444 14.256 2.732 11.808 2.732 9.024C2.732 5.68 5.148 2.544 8.94 2.544C10.876 2.544 12.348 3.376 13.324 4.88L11.996 5.856C11.356 4.752 10.316 4.096 8.796 4.096C5.948 4.096 4.38 6.464 4.38 8.816C4.38 10.896 5.612 12.688 7.98 12.688Z"
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
</Svg>
|
|
13
|
-
)
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Circle } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
|
-
export const ThereforeIcon = ({ size = 20, color }: IconProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
|
|
10
|
-
<Circle cx="7.07972" cy="11.6398" r="1.8" fill={color} />
|
|
11
|
-
<Circle cx="12.9203" cy="11.6398" r="1.8" fill={color} />
|
|
12
|
-
<Circle cx="10" cy="6.36006" r="1.8" fill={color} />
|
|
13
|
-
</Svg>
|
|
14
|
-
)
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 18
|
|
6
|
-
|
|
7
|
-
export const TriangleIcon = ({ size = 20, color }: IconProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
|
|
10
|
-
<Path
|
|
11
|
-
d="M9.82983 3.56494C9.9081 3.43933 10.0913 3.43941 10.1697 3.56494L16.2488 13.3228C16.3317 13.4559 16.2366 13.6281 16.0798 13.6284H3.92065C3.76376 13.6284 3.66791 13.456 3.75073 13.3228L9.82983 3.56494Z"
|
|
12
|
-
stroke={color}
|
|
13
|
-
strokeWidth="1.6"
|
|
14
|
-
strokeLinejoin="round"
|
|
15
|
-
/>
|
|
16
|
-
</Svg>
|
|
17
|
-
)
|
|
18
|
-
}
|
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"paths": {
|
|
4
|
-
"@magmamath/students-features": ["./src/index"]
|
|
5
|
-
},
|
|
6
|
-
"target": "esnext",
|
|
7
|
-
"baseUrl": "./",
|
|
8
|
-
"lib": [
|
|
9
|
-
"dom",
|
|
10
|
-
"dom.iterable",
|
|
11
|
-
"esnext"
|
|
12
|
-
],
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"allowJs": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"esModuleInterop": true,
|
|
17
|
-
"allowSyntheticDefaultImports": true,
|
|
18
|
-
"strict": true,
|
|
19
|
-
"forceConsistentCasingInFileNames": true,
|
|
20
|
-
"module": "esnext",
|
|
21
|
-
"moduleResolution": "node",
|
|
22
|
-
"resolveJsonModule": true,
|
|
23
|
-
"isolatedModules": true,
|
|
24
|
-
"jsx": "react",
|
|
25
|
-
"experimentalDecorators": true
|
|
26
|
-
},
|
|
27
|
-
"include": [
|
|
28
|
-
"src"
|
|
29
|
-
],
|
|
30
|
-
"exclude": [
|
|
31
|
-
"node_modules",
|
|
32
|
-
"example"
|
|
33
|
-
]
|
|
34
|
-
}
|