@magmamath/students-features 1.3.2-rc-0 → 1.3.2-rc.0
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/helpers.js +1 -5
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +85 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js +41 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js +12 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +11 -0
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js +11 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +2 -0
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +8 -2
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +83 -1
- 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/types/types.js +1 -0
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/shared/icons/GeometryIcon.js +32 -0
- package/dist/commonjs/shared/icons/GeometryIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +2 -2
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +10 -7
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +9 -5
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +10 -7
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +41 -0
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +31 -0
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +1 -0
- package/dist/module/features/chatbot/helpers.js +1 -5
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +78 -0
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/GeometryLayout/helpers.js +36 -0
- package/dist/module/features/keyboard/components/GeometryLayout/helpers.js.map +1 -0
- package/dist/module/features/keyboard/components/GeometryLayout/types.js +8 -0
- package/dist/module/features/keyboard/components/GeometryLayout/types.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js +7 -0
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +3 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +8 -2
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js +83 -1
- 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/types/types.js +1 -0
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/module/shared/icons/GeometryIcon.js +24 -0
- package/dist/module/shared/icons/GeometryIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/AngleIcon.js +2 -2
- package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +11 -8
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterAIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterBIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterCIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +10 -6
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +11 -8
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js +33 -0
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/TriangleIcon.js +23 -0
- package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +6 -8
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts +15 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts +5 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.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 +5 -0
- 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/types/types.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
- 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/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +6 -8
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts +15 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts +5 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.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 +5 -0
- 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/types/types.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
- 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/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/features/chatbot/helpers.ts +0 -2
- package/src/features/chatbot/index.ts +1 -9
- package/src/features/chatbot/model/ChatBotModel.ts +8 -7
- package/src/features/chatbot/types/api.types.ts +6 -11
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +77 -0
- package/src/features/keyboard/components/GeometryLayout/helpers.tsx +52 -0
- package/src/features/keyboard/components/GeometryLayout/types.ts +4 -0
- package/src/features/keyboard/constants/groups/geometry.constants.ts +25 -0
- package/src/features/keyboard/constants/groups/index.ts +1 -0
- package/src/features/keyboard/constants/keyboard.helpers.ts +3 -0
- package/src/features/keyboard/constants/keyboardLayouts.ts +8 -2
- package/src/features/keyboard/constants/keys/geometry.constants.tsx +58 -1
- package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
- package/src/features/keyboard/types/types.ts +1 -0
- package/src/shared/icons/GeometryIcon.tsx +18 -0
- package/src/shared/icons/keyboard/AngleIcon.tsx +2 -2
- package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +4 -9
- package/src/shared/icons/keyboard/ImpliesIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterAIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterBIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterCIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LineSegmentIcon.tsx +4 -7
- package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +4 -9
- package/src/shared/icons/keyboard/ThereforeIcon.tsx +13 -0
- package/src/shared/icons/keyboard/TriangleIcon.tsx +16 -0
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from './basic.constants'
|
|
|
3
3
|
export * from './basicPlus.constants'
|
|
4
4
|
export * from './basicPlusPlus.constants'
|
|
5
5
|
export * from './currency.constants'
|
|
6
|
+
export * from './geometry.constants'
|
|
6
7
|
export * from './numpad.constants'
|
|
7
8
|
export * from './time.constants'
|
|
8
9
|
export * from './underlined.constants'
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
KEYBOARD_BASIC_PLUS,
|
|
19
19
|
KEYBOARD_BASIC_PLUS_PLUS,
|
|
20
20
|
KEYBOARD_CURRENCY,
|
|
21
|
+
KEYBOARD_GEOMETRY,
|
|
21
22
|
KEYBOARD_LENGTH,
|
|
22
23
|
KEYBOARD_NUMPAD,
|
|
23
24
|
KEYBOARD_TIME,
|
|
@@ -44,6 +45,7 @@ const PRESET_DOT_MIXED: KeyboardPresetConfig = {
|
|
|
44
45
|
[KeyboardType.BasicPlusPlusMobile]: KEYBOARD_BASIC_PLUS_PLUS.MOBILE_DOT,
|
|
45
46
|
[KeyboardType.BasicUnits]: { keys: KEYBOARD_LENGTH.MIXED.keys[0] },
|
|
46
47
|
[KeyboardType.AlgebraAdvanced]: KEYBOARD_ALGEBRA,
|
|
48
|
+
[KeyboardType.Geometry]: KEYBOARD_GEOMETRY,
|
|
47
49
|
[KeyboardType.Numpad]: KEYBOARD_NUMPAD.DOT,
|
|
48
50
|
[KeyboardType.Underlined]: KEYBOARD_UNDERLINED,
|
|
49
51
|
},
|
|
@@ -65,6 +67,7 @@ const PRESET_COMMA_METRIC: KeyboardPresetConfig = {
|
|
|
65
67
|
[KeyboardType.BasicPlusPlusMobile]: KEYBOARD_BASIC_PLUS_PLUS.MOBILE_COMMA,
|
|
66
68
|
[KeyboardType.BasicUnits]: { keys: KEYBOARD_LENGTH.METRIC.keys[0] },
|
|
67
69
|
[KeyboardType.AlgebraAdvanced]: KEYBOARD_ALGEBRA,
|
|
70
|
+
[KeyboardType.Geometry]: KEYBOARD_GEOMETRY,
|
|
68
71
|
[KeyboardType.Numpad]: KEYBOARD_NUMPAD.COMMA,
|
|
69
72
|
[KeyboardType.Underlined]: KEYBOARD_UNDERLINED,
|
|
70
73
|
},
|
|
@@ -5,6 +5,7 @@ import { TimeBasicLayout } from '../components/BasicLayout/TimeBasicLayout'
|
|
|
5
5
|
import { CurrencyBasicLayout } from '../components/BasicLayout/CurrencyBasicLayout'
|
|
6
6
|
import { UnitsLayout } from '../components/UnitsLayout/UnitsLayout'
|
|
7
7
|
import { BasicPlusPlusLayout } from '../components/BasicPlusPlusLayout/BasicPlusPlusLayout'
|
|
8
|
+
import { GeometryLayout } from '../components/GeometryLayout/GeometryLayout'
|
|
8
9
|
import { MyScriptMathCharacterTypes } from '../../../types/characterTypes'
|
|
9
10
|
import { MOBILE_LAYOUT_WIDTH } from './keyboard.constants'
|
|
10
11
|
import { KeyboardType } from '../types/types'
|
|
@@ -55,11 +56,16 @@ export const KEYBOARD_LAYOUTS = {
|
|
|
55
56
|
},
|
|
56
57
|
[KeyboardType.BasicPlusPlus]: {
|
|
57
58
|
Component: BasicPlusPlusLayout,
|
|
59
|
+
characterTypes: [] as MyScriptMathCharacterTypes[],
|
|
60
|
+
mobileBreakpoint: 1220,
|
|
61
|
+
},
|
|
62
|
+
[KeyboardType.Geometry]: {
|
|
63
|
+
Component: GeometryLayout,
|
|
58
64
|
characterTypes: [
|
|
59
65
|
MyScriptMathCharacterTypes.GEOM_ANGLES,
|
|
60
66
|
MyScriptMathCharacterTypes.GEOM_COORDINATE,
|
|
61
67
|
],
|
|
62
|
-
mobileBreakpoint:
|
|
68
|
+
mobileBreakpoint: 1300,
|
|
63
69
|
},
|
|
64
70
|
}
|
|
65
71
|
|
|
@@ -95,7 +101,7 @@ export function isBasicPlusPlusLayout(charType?: number) {
|
|
|
95
101
|
}
|
|
96
102
|
|
|
97
103
|
return (
|
|
98
|
-
KEYBOARD_LAYOUTS[KeyboardType.
|
|
104
|
+
KEYBOARD_LAYOUTS[KeyboardType.Geometry].characterTypes.includes(charType) ||
|
|
99
105
|
KEYBOARD_LAYOUTS[KeyboardType.AlgebraAdvanced].characterTypes.includes(charType)
|
|
100
106
|
)
|
|
101
107
|
}
|
|
@@ -5,6 +5,15 @@ import { DegreeIcon } from '../../../../shared/icons/keyboard/DegreeIcon'
|
|
|
5
5
|
import { AngleIcon } from '../../../../shared/icons/keyboard/AngleIcon'
|
|
6
6
|
import { ParallelIcon } from '../../../../shared/icons/keyboard/ParallelIcon'
|
|
7
7
|
import { PerpendicularIcon } from '../../../../shared/icons/keyboard/PerpendicularIcon'
|
|
8
|
+
import { TriangleIcon } from '../../../../shared/icons/keyboard/TriangleIcon'
|
|
9
|
+
import { ThereforeIcon } from '../../../../shared/icons/keyboard/ThereforeIcon'
|
|
10
|
+
import { ImpliesIcon } from '../../../../shared/icons/keyboard/ImpliesIcon'
|
|
11
|
+
import { LineSegmentIcon } from '../../../../shared/icons/keyboard/LineSegmentIcon'
|
|
12
|
+
import { RightDirectedSegmentIcon } from '../../../../shared/icons/keyboard/RightDirectedSegmentIcon'
|
|
13
|
+
import { BidirectionalSegmentIcon } from '../../../../shared/icons/keyboard/BidirectionalSegmentIcon'
|
|
14
|
+
import { LetterAIcon } from '../../../../shared/icons/keyboard/LetterAIcon'
|
|
15
|
+
import { LetterBIcon } from '../../../../shared/icons/keyboard/LetterBIcon'
|
|
16
|
+
import { LetterCIcon } from '../../../../shared/icons/keyboard/LetterCIcon'
|
|
8
17
|
import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
|
|
9
18
|
|
|
10
19
|
export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
|
|
@@ -14,7 +23,7 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
|
|
|
14
23
|
katexValue: '°',
|
|
15
24
|
},
|
|
16
25
|
ANGLE: {
|
|
17
|
-
icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
26
|
+
icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
18
27
|
mathliveValue: '\\angle',
|
|
19
28
|
katexValue: '∠',
|
|
20
29
|
},
|
|
@@ -45,4 +54,52 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
|
|
|
45
54
|
},
|
|
46
55
|
},
|
|
47
56
|
},
|
|
57
|
+
TRIANGLE: {
|
|
58
|
+
icon: <TriangleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
59
|
+
mathliveValue: '\\triangle',
|
|
60
|
+
katexValue: '△',
|
|
61
|
+
},
|
|
62
|
+
THEREFORE: {
|
|
63
|
+
icon: <ThereforeIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
64
|
+
mathliveValue: '\\therefore',
|
|
65
|
+
katexValue: '∴',
|
|
66
|
+
},
|
|
67
|
+
IMPLIES: {
|
|
68
|
+
icon: <ImpliesIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
69
|
+
mathliveValue: '\\Rightarrow',
|
|
70
|
+
katexValue: '⇒',
|
|
71
|
+
},
|
|
72
|
+
LINE_SEGMENT: {
|
|
73
|
+
icon: <LineSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
74
|
+
mathliveValue: '\\overline{\\placeholder{}}',
|
|
75
|
+
katexValue: 'LINE_SEGMENT',
|
|
76
|
+
isSpecialSymbol: true,
|
|
77
|
+
},
|
|
78
|
+
RIGHT_DIRECTED_SEGMENT: {
|
|
79
|
+
icon: <RightDirectedSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
80
|
+
mathliveValue: '\\overrightarrow{\\placeholder{}}',
|
|
81
|
+
katexValue: 'RIGHT_DIRECTED_SEGMENT',
|
|
82
|
+
isSpecialSymbol: true,
|
|
83
|
+
},
|
|
84
|
+
BIDIRECTIONAL_SEGMENT: {
|
|
85
|
+
icon: <BidirectionalSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
86
|
+
mathliveValue: '\\overleftrightarrow{\\placeholder{}}',
|
|
87
|
+
katexValue: 'BIDIRECTIONAL_SEGMENT',
|
|
88
|
+
isSpecialSymbol: true,
|
|
89
|
+
},
|
|
90
|
+
A: {
|
|
91
|
+
icon: <LetterAIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
92
|
+
mathliveValue: 'A',
|
|
93
|
+
katexValue: 'A',
|
|
94
|
+
},
|
|
95
|
+
B: {
|
|
96
|
+
icon: <LetterBIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
97
|
+
mathliveValue: 'B',
|
|
98
|
+
katexValue: 'B',
|
|
99
|
+
},
|
|
100
|
+
C: {
|
|
101
|
+
icon: <LetterCIcon {...DEFAULT_KEY_ICON_PROPS} />,
|
|
102
|
+
mathliveValue: 'C',
|
|
103
|
+
katexValue: 'C',
|
|
104
|
+
},
|
|
48
105
|
} as const
|
|
@@ -7,19 +7,19 @@ import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
|
|
|
7
7
|
|
|
8
8
|
export const MATH_TEXT_SYMBOLS: MathOperatorsGroup = {
|
|
9
9
|
A: {
|
|
10
|
-
label: '
|
|
11
|
-
mathliveValue: '
|
|
12
|
-
katexValue: '
|
|
10
|
+
label: 'A',
|
|
11
|
+
mathliveValue: 'A',
|
|
12
|
+
katexValue: 'A',
|
|
13
13
|
},
|
|
14
14
|
B: {
|
|
15
|
-
label: '
|
|
16
|
-
mathliveValue: '
|
|
17
|
-
katexValue: '
|
|
15
|
+
label: 'B',
|
|
16
|
+
mathliveValue: 'B',
|
|
17
|
+
katexValue: 'B',
|
|
18
18
|
},
|
|
19
19
|
C: {
|
|
20
|
-
label: '
|
|
21
|
-
mathliveValue: '
|
|
22
|
-
katexValue: '
|
|
20
|
+
label: 'C',
|
|
21
|
+
mathliveValue: 'C',
|
|
22
|
+
katexValue: 'C',
|
|
23
23
|
},
|
|
24
24
|
F: {
|
|
25
25
|
label: 'f',
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -4,9 +4,9 @@ import Svg, { Path } from 'react-native-svg'
|
|
|
4
4
|
|
|
5
5
|
export const AngleIcon = ({ size = 20, color }: IconProps) => {
|
|
6
6
|
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 20 18" fill="none">
|
|
8
8
|
<Path
|
|
9
|
-
d="
|
|
9
|
+
d="M11.841 3.87043C12.1077 3.5183 12.6099 3.44943 12.962 3.71614C13.3142 3.98288 13.384 4.48502 13.1173 4.83723L7.17238 12.6866C7.12249 12.7525 7.16947 12.847 7.25209 12.847H14.5587C15.0004 12.8471 15.3584 13.2051 15.3585 13.6468C15.3585 14.0885 15.0004 14.4465 14.5587 14.4466H5.44154C5.13785 14.4466 4.85992 14.2752 4.72474 14.0032C4.58961 13.7314 4.62065 13.4065 4.80384 13.1644L11.841 3.87043Z"
|
|
10
10
|
fill={color}
|
|
11
11
|
/>
|
|
12
12
|
</Svg>
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 21
|
|
3
|
+
import Svg, { Path, Rect } from 'react-native-svg'
|
|
6
4
|
|
|
7
5
|
export const BidirectionalSegmentIcon = ({ size = 20, color }: IconProps) => {
|
|
8
6
|
return (
|
|
9
|
-
<Svg width={size
|
|
10
|
-
<Path
|
|
11
|
-
d="M16.6464 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.4179 2.22482C19.5461 2.4189 19.5243 2.68286 19.3535 2.85372L17.3535 4.85372C17.1582 5.04899 16.8417 5.04899 16.6464 4.85372C16.4512 4.65846 16.4512 4.34195 16.6464 4.14669L17.7929 3.00021H2.20699L3.35348 4.14669L3.41793 4.22482C3.5461 4.4189 3.52434 4.68286 3.35348 4.85372C3.18261 5.02459 2.91865 5.04634 2.72457 4.91818L2.64645 4.85372L0.646447 2.85372C0.451184 2.65846 0.451184 2.34195 0.646447 2.14669L2.64645 0.146692L2.72457 0.0822385C2.91865 -0.0459256 3.18261 -0.0241721 3.35348 0.146692C3.52434 0.317555 3.5461 0.581519 3.41793 0.775598L3.35348 0.853723L2.20699 2.00021H17.7929L16.6464 0.853723L16.582 0.775598C16.4538 0.581519 16.4756 0.317555 16.6464 0.146692Z"
|
|
12
|
-
fill={color}
|
|
13
|
-
/>
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 19 20" fill="none">
|
|
14
8
|
<Path
|
|
15
|
-
d="
|
|
9
|
+
d="M16.1464 1.52657C16.3173 1.35571 16.5813 1.33396 16.7754 1.46212L16.8535 1.52657L18.8535 3.52657L18.9179 3.6047C19.0461 3.79878 19.0243 4.06274 18.8535 4.23361L16.8535 6.23361C16.6582 6.42887 16.3417 6.42887 16.1464 6.23361C15.9512 6.03834 15.9512 5.72184 16.1464 5.52657L17.2929 4.38009H1.70699L2.85348 5.52657L2.91793 5.6047C3.0461 5.79878 3.02434 6.06274 2.85348 6.23361C2.68261 6.40447 2.41865 6.42622 2.22457 6.29806L2.14645 6.23361L0.146447 4.23361C-0.0488155 4.03834 -0.0488155 3.72184 0.146447 3.52657L2.14645 1.52657L2.22457 1.46212C2.41865 1.33396 2.68261 1.35571 2.85348 1.52657C3.02434 1.69744 3.0461 1.9614 2.91793 2.15548L2.85348 2.23361L1.70699 3.38009H17.2929L16.1464 2.23361L16.082 2.15548C15.9538 1.9614 15.9756 1.69744 16.1464 1.52657Z"
|
|
16
10
|
fill={color}
|
|
17
11
|
/>
|
|
12
|
+
<Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
|
|
18
13
|
</Svg>
|
|
19
14
|
)
|
|
20
15
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { IconProps } from './icon.types'
|
|
3
|
+
import Svg, { Path } from 'react-native-svg'
|
|
4
|
+
|
|
5
|
+
export const ImpliesIcon = ({ size = 20, color }: IconProps) => {
|
|
6
|
+
return (
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 20 18" fill="none">
|
|
8
|
+
<Path
|
|
9
|
+
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"
|
|
10
|
+
fill={color}
|
|
11
|
+
/>
|
|
12
|
+
</Svg>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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,18 +1,15 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
3
|
+
import Svg, { Path, Rect } from 'react-native-svg'
|
|
4
4
|
|
|
5
5
|
export const LineSegmentIcon = ({ size = 20, color }: IconProps) => {
|
|
6
6
|
return (
|
|
7
|
-
<Svg width={size} height={size} viewBox="0 0
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 19 20" fill="none">
|
|
8
8
|
<Path
|
|
9
|
-
d="
|
|
10
|
-
fill={color}
|
|
11
|
-
/>
|
|
12
|
-
<Path
|
|
13
|
-
d="M8.07948 16L7.70148 13.55H3.52948L2.01748 16H0.407484L6.55348 6.2H7.91149L9.52148 16H8.07948ZM4.32748 12.22H7.51948L6.87548 8.09L4.32748 12.22ZM16.4822 6.2C18.0922 6.2 18.8762 7.236 18.8762 8.342C18.8762 9.434 18.1762 10.54 16.8322 10.82C17.9662 11.128 18.4842 11.996 18.4842 12.906C18.4842 14.432 17.1402 16 14.8162 16H11.0502L13.3182 6.2H16.4822ZM12.7582 14.698H14.9842C16.3842 14.698 17.0562 13.788 17.0562 12.906C17.0562 12.164 16.4822 11.506 15.4042 11.506H13.5002L12.7582 14.698ZM13.7522 10.358H15.5722C16.7762 10.358 17.4482 9.49 17.4482 8.692C17.4482 7.95 16.9862 7.502 16.0202 7.502H14.4102L13.7522 10.358Z"
|
|
9
|
+
d="M18.5 3.37988C18.7761 3.37988 19 3.60374 19 3.87988C19 4.15603 18.7761 4.37988 18.5 4.37988H0.5C0.223858 4.37988 0 4.15603 0 3.87988C0 3.60374 0.223858 3.37988 0.5 3.37988H18.5Z"
|
|
14
10
|
fill={color}
|
|
15
11
|
/>
|
|
12
|
+
<Rect x="4.88" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
|
|
16
13
|
</Svg>
|
|
17
14
|
)
|
|
18
15
|
}
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { IconProps } from './icon.types'
|
|
3
|
-
import Svg, { Path } from 'react-native-svg'
|
|
4
|
-
|
|
5
|
-
const ASPECT_RATIO = 20 / 21
|
|
3
|
+
import Svg, { Path, Rect } from 'react-native-svg'
|
|
6
4
|
|
|
7
5
|
export const RightDirectedSegmentIcon = ({ size = 20, color }: IconProps) => {
|
|
8
6
|
return (
|
|
9
|
-
<Svg width={size
|
|
10
|
-
<Path
|
|
11
|
-
d="M16.6465 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.418 2.22482C19.5461 2.4189 19.5244 2.68286 19.3535 2.85372L17.3535 4.85372C17.1583 5.04899 16.8417 5.04899 16.6465 4.85372C16.4512 4.65846 16.4512 4.34195 16.6465 4.14669L17.793 3.00021H1C0.723858 3.00021 0.5 2.77635 0.5 2.50021C0.5 2.22406 0.723858 2.00021 1 2.00021H17.793L16.6465 0.853723L16.582 0.775598C16.4539 0.581519 16.4756 0.317555 16.6465 0.146692Z"
|
|
12
|
-
fill={color}
|
|
13
|
-
/>
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 19 20" fill="none">
|
|
14
8
|
<Path
|
|
15
|
-
d="
|
|
9
|
+
d="M16.1465 1.52657C16.3173 1.35571 16.5813 1.33396 16.7754 1.46212L16.8535 1.52657L18.8535 3.52657L18.918 3.6047C19.0461 3.79878 19.0244 4.06274 18.8535 4.23361L16.8535 6.23361C16.6583 6.42887 16.3417 6.42887 16.1465 6.23361C15.9512 6.03834 15.9512 5.72184 16.1465 5.52657L17.293 4.38009H0.5C0.223858 4.38009 0 4.15623 0 3.88009C0 3.60395 0.223858 3.38009 0.5 3.38009H17.293L16.1465 2.23361L16.082 2.15548C15.9539 1.9614 15.9756 1.69744 16.1465 1.52657Z"
|
|
16
10
|
fill={color}
|
|
17
11
|
/>
|
|
12
|
+
<Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
|
|
18
13
|
</Svg>
|
|
19
14
|
)
|
|
20
15
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { IconProps } from './icon.types'
|
|
3
|
+
import Svg, { Circle } from 'react-native-svg'
|
|
4
|
+
|
|
5
|
+
export const ThereforeIcon = ({ size = 20, color }: IconProps) => {
|
|
6
|
+
return (
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 20 18" fill="none">
|
|
8
|
+
<Circle cx="7.07972" cy="11.6398" r="1.8" fill={color} />
|
|
9
|
+
<Circle cx="12.9203" cy="11.6398" r="1.8" fill={color} />
|
|
10
|
+
<Circle cx="10" cy="6.36006" r="1.8" fill={color} />
|
|
11
|
+
</Svg>
|
|
12
|
+
)
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { IconProps } from './icon.types'
|
|
3
|
+
import Svg, { Path } from 'react-native-svg'
|
|
4
|
+
|
|
5
|
+
export const TriangleIcon = ({ size = 20, color }: IconProps) => {
|
|
6
|
+
return (
|
|
7
|
+
<Svg width={size} height={size} viewBox="0 0 20 18" fill="none">
|
|
8
|
+
<Path
|
|
9
|
+
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"
|
|
10
|
+
stroke={color}
|
|
11
|
+
strokeWidth="1.6"
|
|
12
|
+
strokeLinejoin="round"
|
|
13
|
+
/>
|
|
14
|
+
</Svg>
|
|
15
|
+
)
|
|
16
|
+
}
|