@magmamath/students-features 0.9.0-rc15 → 0.9.0-rc17
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 +13 -37
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js +0 -10
- package/dist/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js +0 -21
- package/dist/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +7 -23
- package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +0 -18
- package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +6 -11
- package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +13 -5
- package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +1 -8
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +7 -17
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +9 -23
- package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/geometry.js +7 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/geometry.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +24 -4
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.js +90 -12
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +520 -52
- package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +13 -37
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js +0 -10
- package/dist/module/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js +0 -21
- package/dist/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +7 -23
- package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +0 -18
- package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +6 -11
- package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/KeysList/KeysList.js +13 -5
- package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +2 -9
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +8 -18
- package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +10 -24
- package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/geometry.js +7 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/geometry.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +24 -4
- package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/trigonometric.js +90 -12
- package/dist/module/features/keyboard/types/MathKeysGroups/trigonometric.js.map +1 -1
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js +520 -52
- package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/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/types/MathKeysGroups/geometry.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +2 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.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/BasicExtendedLayout/BasicExtendedLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/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/types/MathKeysGroups/geometry.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/trigonometric.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +2 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +6 -34
- package/src/features/keyboard/components/BasicExtendedLayout/BasicExtendedLayout.tsx +1 -13
- package/src/features/keyboard/components/BasicExtendedPlusLayout/BasicExtendedPlusLayout.tsx +1 -24
- package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +7 -25
- package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -19
- package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +5 -10
- package/src/features/keyboard/components/KeysList/KeysList.tsx +12 -4
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -6
- package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +7 -12
- package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +5 -18
- package/src/features/keyboard/types/MathKeysGroups/geometry.tsx +6 -0
- package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +20 -0
- package/src/features/keyboard/types/MathKeysGroups/trigonometric.tsx +78 -0
- package/src/features/keyboard/types/MathKeysGroups/units.tsx +468 -0
- package/src/features/keyboard/types/types.ts +2 -1
|
@@ -36,10 +36,6 @@ export const KeysList = ({
|
|
|
36
36
|
style={{
|
|
37
37
|
container: [styles.container, style?.container],
|
|
38
38
|
row: styles.row,
|
|
39
|
-
option: {
|
|
40
|
-
container: styles.optionContainer,
|
|
41
|
-
...style?.option,
|
|
42
|
-
},
|
|
43
39
|
}}
|
|
44
40
|
numOfRows={numOfRows}
|
|
45
41
|
color={SelectOptionColor.GREY}
|
|
@@ -59,6 +55,11 @@ export const KeysList = ({
|
|
|
59
55
|
key: key.katexValue,
|
|
60
56
|
title: key.icon ? key.icon : key.label,
|
|
61
57
|
delayPressIn: 0,
|
|
58
|
+
style: {
|
|
59
|
+
container: [styles.optionContainer, key.style?.container, style?.option?.container],
|
|
60
|
+
button: [styles.optionButton, key.style?.button, style?.option?.button],
|
|
61
|
+
text: [styles.optionText, key.style?.text, style?.option?.text],
|
|
62
|
+
},
|
|
62
63
|
onPressIn: (e) => {
|
|
63
64
|
onKeyPress?.({
|
|
64
65
|
event: e,
|
|
@@ -92,4 +93,11 @@ const styles = StyleSheet.create({
|
|
|
92
93
|
flexShrink: 0,
|
|
93
94
|
flexBasis: 'auto',
|
|
94
95
|
},
|
|
96
|
+
optionButton: {
|
|
97
|
+
width: 40,
|
|
98
|
+
},
|
|
99
|
+
optionText: {
|
|
100
|
+
fontSize: 16,
|
|
101
|
+
fontWeight: 700,
|
|
102
|
+
},
|
|
95
103
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native'
|
|
4
|
-
import { SPACING
|
|
4
|
+
import { SPACING } from '@magmamath/react-native-ui'
|
|
5
5
|
import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
|
|
6
6
|
import { Locale, useText } from '../../../../shared/translation'
|
|
7
7
|
import { getKeyboardGroup } from '../../helpers'
|
|
@@ -21,11 +21,6 @@ export const Numpad = ({ style, ...props }: NumpadProps) => {
|
|
|
21
21
|
numOfRows={3}
|
|
22
22
|
style={{
|
|
23
23
|
container: styles.keysContainer,
|
|
24
|
-
option: {
|
|
25
|
-
text: styles.keyText,
|
|
26
|
-
button: styles.keyButton,
|
|
27
|
-
container: IS_MOBILE ? { flexBasis: 45 } : styles.optionContainer,
|
|
28
|
-
},
|
|
29
24
|
}}
|
|
30
25
|
{...props}
|
|
31
26
|
/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { KeysList } from '../KeysList/KeysList'
|
|
3
3
|
import { StyleSheet, View } from 'react-native'
|
|
4
|
-
import { COLORS, TabGroup, TabOptionProps, TabVariant
|
|
4
|
+
import { COLORS, TabGroup, TabOptionProps, TabVariant } from '@magmamath/react-native-ui'
|
|
5
5
|
import {
|
|
6
6
|
KEYBOARD_UNITS_GROUPS_BY_LOCALE,
|
|
7
7
|
KeyboardUnitsGroupType,
|
|
@@ -36,14 +36,12 @@ export const UnitTabs = ({ activeTab, tabs, onTabChange, ...props }: UnitTabsPro
|
|
|
36
36
|
<KeysList
|
|
37
37
|
keys={keyGroup}
|
|
38
38
|
numOfRows={1}
|
|
39
|
+
{...props}
|
|
39
40
|
style={{
|
|
40
41
|
option: {
|
|
41
|
-
|
|
42
|
-
text: styles.text,
|
|
43
|
-
...(IS_MOBILE && { container: { flexBasis: 58, maxWidth: 58 } }),
|
|
42
|
+
text: styles.keysText,
|
|
44
43
|
},
|
|
45
44
|
}}
|
|
46
|
-
{...props}
|
|
47
45
|
/>
|
|
48
46
|
))}
|
|
49
47
|
</View>
|
|
@@ -53,13 +51,6 @@ export const UnitTabs = ({ activeTab, tabs, onTabChange, ...props }: UnitTabsPro
|
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
const styles = StyleSheet.create({
|
|
56
|
-
option: {
|
|
57
|
-
minWidth: 42,
|
|
58
|
-
},
|
|
59
|
-
text: {
|
|
60
|
-
fontWeight: 700,
|
|
61
|
-
fontSize: 14,
|
|
62
|
-
},
|
|
63
54
|
optionContainer: {
|
|
64
55
|
flexGrow: 0,
|
|
65
56
|
flexShrink: 0,
|
|
@@ -82,4 +73,8 @@ const styles = StyleSheet.create({
|
|
|
82
73
|
keyGroupContainer: {
|
|
83
74
|
gap: 8,
|
|
84
75
|
},
|
|
76
|
+
keysText: {
|
|
77
|
+
fontSize: 14,
|
|
78
|
+
fontWeight: 700,
|
|
79
|
+
},
|
|
85
80
|
})
|
|
@@ -4,7 +4,6 @@ import { StyleSheet, useWindowDimensions, View } from 'react-native'
|
|
|
4
4
|
import {
|
|
5
5
|
COLORS,
|
|
6
6
|
FONT_FAMILY,
|
|
7
|
-
IS_MOBILE,
|
|
8
7
|
RulerIcon,
|
|
9
8
|
SelectGroup,
|
|
10
9
|
SelectOptionSize,
|
|
@@ -100,7 +99,7 @@ export const UnitsLayout = (props: KeyboardLayoutProps) => {
|
|
|
100
99
|
title: (
|
|
101
100
|
<AlgebraIcon
|
|
102
101
|
color={selectedLayout === SelectedLayout.ALGEBRA ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9}
|
|
103
|
-
size={
|
|
102
|
+
size={22}
|
|
104
103
|
/>
|
|
105
104
|
),
|
|
106
105
|
key: '1',
|
|
@@ -132,7 +131,7 @@ export const UnitsLayout = (props: KeyboardLayoutProps) => {
|
|
|
132
131
|
size={SelectOptionSize.SMALL}
|
|
133
132
|
style={{
|
|
134
133
|
container: styles.optionContainer,
|
|
135
|
-
option: {
|
|
134
|
+
option: { container: { flexBasis: 45, width: 44 } },
|
|
136
135
|
}}
|
|
137
136
|
color={props.color}
|
|
138
137
|
selectedOptions={[
|
|
@@ -150,17 +149,7 @@ export const UnitsLayout = (props: KeyboardLayoutProps) => {
|
|
|
150
149
|
{...props}
|
|
151
150
|
/>
|
|
152
151
|
) : (
|
|
153
|
-
<KeysList
|
|
154
|
-
keys={basicExtendedKeys.keys}
|
|
155
|
-
numOfRows={3}
|
|
156
|
-
{...props}
|
|
157
|
-
style={{
|
|
158
|
-
option: {
|
|
159
|
-
button: styles.key,
|
|
160
|
-
...(IS_MOBILE && { container: { flexBasis: 45, maxWidth: 45 } }),
|
|
161
|
-
},
|
|
162
|
-
}}
|
|
163
|
-
/>
|
|
152
|
+
<KeysList keys={basicExtendedKeys.keys} numOfRows={3} {...props} />
|
|
164
153
|
)}
|
|
165
154
|
</View>
|
|
166
155
|
)
|
|
@@ -181,12 +170,10 @@ const styles = StyleSheet.create({
|
|
|
181
170
|
flexShrink: 0,
|
|
182
171
|
flexBasis: 'auto',
|
|
183
172
|
width: 'auto',
|
|
184
|
-
paddingRight:
|
|
173
|
+
paddingRight: 18,
|
|
185
174
|
borderRightWidth: 1,
|
|
186
175
|
borderRightColor: COLORS.NEUTRAL_3,
|
|
187
176
|
maxWidth: 65,
|
|
188
|
-
|
|
189
|
-
key: {
|
|
190
|
-
width: 42,
|
|
177
|
+
gap: 9,
|
|
191
178
|
},
|
|
192
179
|
})
|
|
@@ -16,21 +16,41 @@ export const MATH_SPECIAL_OPERATORS: MathKeysGroup<typeof MathSpecialOperator> =
|
|
|
16
16
|
label: 'lim',
|
|
17
17
|
mathliveValue: '$\\lim_{\\placeholder{}}^{\\placeholder{}}$',
|
|
18
18
|
katexValue: 'lim',
|
|
19
|
+
style: {
|
|
20
|
+
text: {
|
|
21
|
+
fontSize: 11,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
19
24
|
},
|
|
20
25
|
[MathSpecialOperator.LN]: {
|
|
21
26
|
label: 'ln',
|
|
22
27
|
mathliveValue: '$\\ln(\\placeholder{})$',
|
|
23
28
|
katexValue: 'ln',
|
|
29
|
+
style: {
|
|
30
|
+
text: {
|
|
31
|
+
fontSize: 11,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
24
34
|
},
|
|
25
35
|
[MathSpecialOperator.LOG]: {
|
|
26
36
|
label: 'log',
|
|
27
37
|
mathliveValue: '$\\log_{\\placeholder{}}$',
|
|
28
38
|
katexValue: 'log',
|
|
39
|
+
style: {
|
|
40
|
+
text: {
|
|
41
|
+
fontSize: 11,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
29
44
|
},
|
|
30
45
|
[MathSpecialOperator.LOG10]: {
|
|
31
46
|
label: 'log10',
|
|
32
47
|
mathliveValue: '$\\log_{10}(\\placeholder{})$',
|
|
33
48
|
katexValue: 'log₁₀',
|
|
49
|
+
style: {
|
|
50
|
+
text: {
|
|
51
|
+
fontSize: 11,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
34
54
|
},
|
|
35
55
|
[MathSpecialOperator.BACKSPACE]: {
|
|
36
56
|
icon: <BackspaceIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
|
|
@@ -25,31 +25,61 @@ export const MATH_BASIC_TRIGONOMETRIC_FUNCTIONS: MathKeysGroup<
|
|
|
25
25
|
label: 'sin',
|
|
26
26
|
mathliveValue: '$\\sin(\\placeholder{})$',
|
|
27
27
|
katexValue: 'sin()',
|
|
28
|
+
style: {
|
|
29
|
+
text: {
|
|
30
|
+
fontSize: 11,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
28
33
|
},
|
|
29
34
|
[MathBasicTrigonometricFunction.COS]: {
|
|
30
35
|
label: 'cos',
|
|
31
36
|
mathliveValue: '$\\cos(\\placeholder{})$',
|
|
32
37
|
katexValue: 'cos',
|
|
38
|
+
style: {
|
|
39
|
+
text: {
|
|
40
|
+
fontSize: 11,
|
|
41
|
+
},
|
|
42
|
+
},
|
|
33
43
|
},
|
|
34
44
|
[MathBasicTrigonometricFunction.TAN]: {
|
|
35
45
|
label: 'tan',
|
|
36
46
|
mathliveValue: '$\\tan(\\placeholder{})$',
|
|
37
47
|
katexValue: 'tan',
|
|
48
|
+
style: {
|
|
49
|
+
text: {
|
|
50
|
+
fontSize: 11,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
38
53
|
},
|
|
39
54
|
[MathBasicTrigonometricFunction.COT]: {
|
|
40
55
|
label: 'cot',
|
|
41
56
|
mathliveValue: '$\\cot(\\placeholder{})$',
|
|
42
57
|
katexValue: 'cot',
|
|
58
|
+
style: {
|
|
59
|
+
text: {
|
|
60
|
+
fontSize: 11,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
43
63
|
},
|
|
44
64
|
[MathBasicTrigonometricFunction.SEC]: {
|
|
45
65
|
label: 'sec',
|
|
46
66
|
mathliveValue: '$\\sec(\\placeholder{})$',
|
|
47
67
|
katexValue: 'sec',
|
|
68
|
+
style: {
|
|
69
|
+
text: {
|
|
70
|
+
fontSize: 11,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
48
73
|
},
|
|
49
74
|
[MathBasicTrigonometricFunction.CSC]: {
|
|
50
75
|
label: 'csc',
|
|
51
76
|
mathliveValue: '$\\csc(\\placeholder{})$',
|
|
52
77
|
katexValue: 'csc',
|
|
78
|
+
style: {
|
|
79
|
+
text: {
|
|
80
|
+
fontSize: 11,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
53
83
|
},
|
|
54
84
|
}
|
|
55
85
|
|
|
@@ -60,30 +90,78 @@ export const MATH_INVERSE_TRIGONOMETRIC_FUNCTIONS: MathKeysGroup<
|
|
|
60
90
|
label: 'arcsin',
|
|
61
91
|
mathliveValue: '$\\arcsin(\\placeholder{})$',
|
|
62
92
|
katexValue: 'arcsin',
|
|
93
|
+
style: {
|
|
94
|
+
button: {
|
|
95
|
+
width: 58,
|
|
96
|
+
},
|
|
97
|
+
text: {
|
|
98
|
+
fontSize: 11,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
63
101
|
},
|
|
64
102
|
[MathInverseTrigonometricFunction.ARCCOS]: {
|
|
65
103
|
label: 'arccos',
|
|
66
104
|
mathliveValue: '$\\arccos(\\placeholder{})$',
|
|
67
105
|
katexValue: 'arccos',
|
|
106
|
+
style: {
|
|
107
|
+
button: {
|
|
108
|
+
width: 58,
|
|
109
|
+
},
|
|
110
|
+
text: {
|
|
111
|
+
fontSize: 11,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
68
114
|
},
|
|
69
115
|
[MathInverseTrigonometricFunction.ARCTAN]: {
|
|
70
116
|
label: 'arctan',
|
|
71
117
|
mathliveValue: '$\\arctan(\\placeholder{})$',
|
|
72
118
|
katexValue: 'arctan',
|
|
119
|
+
style: {
|
|
120
|
+
button: {
|
|
121
|
+
width: 58,
|
|
122
|
+
},
|
|
123
|
+
text: {
|
|
124
|
+
fontSize: 11,
|
|
125
|
+
},
|
|
126
|
+
},
|
|
73
127
|
},
|
|
74
128
|
[MathInverseTrigonometricFunction.ARCCOT]: {
|
|
75
129
|
label: 'arccot',
|
|
76
130
|
mathliveValue: '$\\operatorname{arccot}(\\placeholder{})$',
|
|
77
131
|
katexValue: 'arccot',
|
|
132
|
+
style: {
|
|
133
|
+
button: {
|
|
134
|
+
width: 58,
|
|
135
|
+
},
|
|
136
|
+
text: {
|
|
137
|
+
fontSize: 11,
|
|
138
|
+
},
|
|
139
|
+
},
|
|
78
140
|
},
|
|
79
141
|
[MathInverseTrigonometricFunction.ARCSEC]: {
|
|
80
142
|
label: 'arcsec',
|
|
81
143
|
mathliveValue: '$\\operatorname{arcsec}(\\placeholder{})$',
|
|
82
144
|
katexValue: 'arcsec',
|
|
145
|
+
style: {
|
|
146
|
+
button: {
|
|
147
|
+
width: 58,
|
|
148
|
+
},
|
|
149
|
+
text: {
|
|
150
|
+
fontSize: 11,
|
|
151
|
+
},
|
|
152
|
+
},
|
|
83
153
|
},
|
|
84
154
|
[MathInverseTrigonometricFunction.ARCCSC]: {
|
|
85
155
|
label: 'arccsc',
|
|
86
156
|
mathliveValue: '$\\operatorname{arccsc}(\\placeholder{})$',
|
|
87
157
|
katexValue: 'arccsc',
|
|
158
|
+
style: {
|
|
159
|
+
button: {
|
|
160
|
+
width: 58,
|
|
161
|
+
},
|
|
162
|
+
text: {
|
|
163
|
+
fontSize: 11,
|
|
164
|
+
},
|
|
165
|
+
},
|
|
88
166
|
},
|
|
89
167
|
}
|