@khanacademy/math-input 16.0.0 → 16.1.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/CHANGELOG.md +29 -0
- package/README.md +1 -9
- package/dist/components/aphrodite-css-transition-group/util.d.ts +2 -1
- package/dist/components/input/cursor-styles.d.ts +5 -0
- package/dist/components/input/math-wrapper.d.ts +1 -1
- package/dist/components/input/scroll-into-view.d.ts +1 -0
- package/dist/data/key-configs.d.ts +1 -1
- package/dist/enums.d.ts +0 -29
- package/dist/es/index.css +0 -66
- package/dist/es/index.js +21 -49
- package/dist/es/index.js.map +1 -1
- package/dist/fake-react-native-web/view.d.ts +2 -1
- package/dist/index.css +0 -66
- package/dist/index.js +20 -45
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -40
- package/less/main.less +0 -3
- package/package.json +4 -8
- package/src/components/input/cursor-handle.tsx +1 -1
- package/src/components/input/cursor-styles.ts +10 -0
- package/src/components/input/math-input.tsx +6 -7
- package/src/components/input/math-wrapper.ts +2 -2
- package/src/components/input/scroll-into-view.ts +4 -1
- package/src/data/key-configs.ts +1 -10
- package/src/enums.ts +0 -43
- package/src/types.ts +1 -54
- package/tsconfig-build.tsbuildinfo +1 -1
- package/dist/components/common-style.d.ts +0 -21
- package/index.html +0 -21
- package/less/echo.less +0 -56
- package/less/popover.less +0 -22
- package/less/tabbar.less +0 -6
- package/src/components/common-style.ts +0 -46
- package/tools/svg-to-react/convert.py +0 -111
- package/tools/svg-to-react/icons/math-keypad-icon-0.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-1.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-2.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-3.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-4.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-5.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-6.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-7.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-8.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-9.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-addition.svg +0 -34
- package/tools/svg-to-react/icons/math-keypad-icon-cos.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-delete.svg +0 -36
- package/tools/svg-to-react/icons/math-keypad-icon-dismiss.svg +0 -36
- package/tools/svg-to-react/icons/math-keypad-icon-division.svg +0 -36
- package/tools/svg-to-react/icons/math-keypad-icon-equals-not.svg +0 -50
- package/tools/svg-to-react/icons/math-keypad-icon-equals.svg +0 -48
- package/tools/svg-to-react/icons/math-keypad-icon-exponent-2.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-exponent-3.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-exponent.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-fraction.svg +0 -42
- package/tools/svg-to-react/icons/math-keypad-icon-greater-than.svg +0 -46
- package/tools/svg-to-react/icons/math-keypad-icon-jump-out-base.svg +0 -44
- package/tools/svg-to-react/icons/math-keypad-icon-jump-out-denominator.svg +0 -48
- package/tools/svg-to-react/icons/math-keypad-icon-jump-out-exponent.svg +0 -44
- package/tools/svg-to-react/icons/math-keypad-icon-jump-out-parentheses.svg +0 -44
- package/tools/svg-to-react/icons/math-keypad-icon-less-than.svg +0 -46
- package/tools/svg-to-react/icons/math-keypad-icon-log-10.svg +0 -36
- package/tools/svg-to-react/icons/math-keypad-icon-log-e.svg +0 -36
- package/tools/svg-to-react/icons/math-keypad-icon-log.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-multiplication-cross.svg +0 -40
- package/tools/svg-to-react/icons/math-keypad-icon-multiplication-dot.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-percent.svg +0 -42
- package/tools/svg-to-react/icons/math-keypad-icon-radical-2.svg +0 -36
- package/tools/svg-to-react/icons/math-keypad-icon-radical-3.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-radical.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-radix-character.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-sin.svg +0 -38
- package/tools/svg-to-react/icons/math-keypad-icon-subtraction.svg +0 -32
- package/tools/svg-to-react/icons/math-keypad-icon-tan.svg +0 -38
- package/tools/svg-to-react/symbol_map.py +0 -41
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
filename_to_symbol = {
|
|
3
|
-
'addition': 'PLUS',
|
|
4
|
-
'subtraction': 'MINUS',
|
|
5
|
-
'cos': 'COS',
|
|
6
|
-
'sin': 'SIN',
|
|
7
|
-
'tan': 'TAN',
|
|
8
|
-
'delete': 'BACKSPACE',
|
|
9
|
-
'dismiss': 'DISMISS',
|
|
10
|
-
'division': 'DIVIDE',
|
|
11
|
-
'equals': 'EQUAL',
|
|
12
|
-
'equals-not': 'NEQ',
|
|
13
|
-
'exponent-2': 'EXP_2',
|
|
14
|
-
'exponent-3': 'EXP_3',
|
|
15
|
-
'exponent': 'EXP',
|
|
16
|
-
'fraction': 'FRAC_INCLUSIVE',
|
|
17
|
-
'fraction-mixed-number': 'FRAC_EXCLUSIVE',
|
|
18
|
-
'greater-than-not': 'GEQ',
|
|
19
|
-
'greater-than': 'GT',
|
|
20
|
-
'less-than-not': 'LEQ',
|
|
21
|
-
'less-than': 'LT',
|
|
22
|
-
'log-10': 'LOG',
|
|
23
|
-
'log-e': 'LN',
|
|
24
|
-
'log': 'LOG_N',
|
|
25
|
-
'move-backward': 'ARROW',
|
|
26
|
-
'parenthesis-left': 'LEFT_PAREN',
|
|
27
|
-
'parenthesis-right': 'RIGHT_PAREN',
|
|
28
|
-
'multiplication-cross': 'TIMES',
|
|
29
|
-
'multiplication-dot': 'CDOT',
|
|
30
|
-
'percent': 'PERCENT',
|
|
31
|
-
'radix-character': 'PERIOD',
|
|
32
|
-
'radical': 'RADICAL',
|
|
33
|
-
'radical-2': 'SQRT',
|
|
34
|
-
'radical-3': 'CUBE_ROOT',
|
|
35
|
-
'jump-out-numerator': 'JUMP_OUT_NUMERATOR',
|
|
36
|
-
'jump-out-base': 'JUMP_OUT_BASE',
|
|
37
|
-
'jump-out-exponent': 'JUMP_OUT_EXPONENT',
|
|
38
|
-
'jump-out-mixed-number-integer': 'JUMP_INTO_NUMERATOR',
|
|
39
|
-
'jump-out-denominator': 'JUMP_OUT_DENOMINATOR',
|
|
40
|
-
'jump-out-parentheses': 'JUMP_OUT_PARENTHESES'
|
|
41
|
-
}
|