@khanacademy/math-input 21.1.5 → 21.1.6

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.
@@ -1,4 +1,3 @@
1
- /// <reference path="../../../types/aphrodite.d.ts" />
2
1
  import type { StyleType } from "@khanacademy/wonder-blocks-core";
3
2
  import type { CSSProperties } from "aphrodite";
4
3
  export type AnimationStyles = {
@@ -4,114 +4,5 @@
4
4
  import type Key from "./keys";
5
5
  import type { MathInputStrings } from "../strings";
6
6
  import type { KeyConfig } from "../types";
7
- declare const KeyConfigs: (strings: MathInputStrings) => {
8
- x: KeyConfig;
9
- y: KeyConfig;
10
- a: KeyConfig;
11
- b: KeyConfig;
12
- i: KeyConfig;
13
- p: KeyConfig;
14
- q: KeyConfig;
15
- s: KeyConfig;
16
- u: KeyConfig;
17
- g: KeyConfig;
18
- PLUS: KeyConfig;
19
- MINUS: KeyConfig;
20
- NEGATIVE: KeyConfig;
21
- TIMES: KeyConfig;
22
- DIVIDE: KeyConfig;
23
- DECIMAL: KeyConfig;
24
- PERIOD: KeyConfig;
25
- PERCENT: KeyConfig;
26
- CDOT: KeyConfig;
27
- EQUAL: KeyConfig;
28
- NEQ: KeyConfig;
29
- GT: KeyConfig;
30
- LT: KeyConfig;
31
- GEQ: KeyConfig;
32
- LEQ: KeyConfig;
33
- FRAC_INCLUSIVE: KeyConfig;
34
- FRAC_EXCLUSIVE: KeyConfig;
35
- FRAC: KeyConfig;
36
- EXP: KeyConfig;
37
- EXP_2: KeyConfig;
38
- EXP_3: KeyConfig;
39
- SQRT: KeyConfig;
40
- CUBE_ROOT: KeyConfig;
41
- RADICAL: KeyConfig;
42
- LEFT_PAREN: KeyConfig;
43
- RIGHT_PAREN: KeyConfig;
44
- LN: KeyConfig;
45
- LOG: KeyConfig;
46
- LOG_N: KeyConfig;
47
- SIN: KeyConfig;
48
- COS: KeyConfig;
49
- TAN: KeyConfig;
50
- PI: KeyConfig;
51
- THETA: KeyConfig;
52
- UP: KeyConfig;
53
- RIGHT: KeyConfig;
54
- DOWN: KeyConfig;
55
- LEFT: KeyConfig;
56
- BACKSPACE: KeyConfig;
57
- DISMISS: KeyConfig;
58
- JUMP_OUT_PARENTHESES: KeyConfig;
59
- JUMP_OUT_EXPONENT: KeyConfig;
60
- JUMP_OUT_BASE: KeyConfig;
61
- JUMP_INTO_NUMERATOR: KeyConfig;
62
- JUMP_OUT_NUMERATOR: KeyConfig;
63
- JUMP_OUT_DENOMINATOR: KeyConfig;
64
- NUM_0: KeyConfig;
65
- NUM_1: KeyConfig;
66
- NUM_2: KeyConfig;
67
- NUM_3: KeyConfig;
68
- NUM_4: KeyConfig;
69
- NUM_5: KeyConfig;
70
- NUM_6: KeyConfig;
71
- NUM_7: KeyConfig;
72
- NUM_8: KeyConfig;
73
- NUM_9: KeyConfig;
74
- c: KeyConfig;
75
- d: KeyConfig;
76
- e: KeyConfig;
77
- f: KeyConfig;
78
- h: KeyConfig;
79
- j: KeyConfig;
80
- k: KeyConfig;
81
- l: KeyConfig;
82
- m: KeyConfig;
83
- n: KeyConfig;
84
- o: KeyConfig;
85
- r: KeyConfig;
86
- t: KeyConfig;
87
- v: KeyConfig;
88
- w: KeyConfig;
89
- z: KeyConfig;
90
- A: KeyConfig;
91
- B: KeyConfig;
92
- C: KeyConfig;
93
- D: KeyConfig;
94
- E: KeyConfig;
95
- F: KeyConfig;
96
- G: KeyConfig;
97
- H: KeyConfig;
98
- I: KeyConfig;
99
- J: KeyConfig;
100
- K: KeyConfig;
101
- L: KeyConfig;
102
- M: KeyConfig;
103
- N: KeyConfig;
104
- O: KeyConfig;
105
- P: KeyConfig;
106
- Q: KeyConfig;
107
- R: KeyConfig;
108
- S: KeyConfig;
109
- T: KeyConfig;
110
- U: KeyConfig;
111
- V: KeyConfig;
112
- W: KeyConfig;
113
- X: KeyConfig;
114
- Y: KeyConfig;
115
- Z: KeyConfig;
116
- };
7
+ declare const KeyConfigs: (strings: MathInputStrings) => { [key in Key]: KeyConfig; };
117
8
  export default KeyConfigs;
package/dist/es/index.js CHANGED
@@ -16,7 +16,7 @@ import PropTypes from 'prop-types';
16
16
 
17
17
  // This file is processed by a Rollup plugin (replace) to inject the production
18
18
  const libName = "@khanacademy/math-input";
19
- const libVersion = "21.1.5";
19
+ const libVersion = "21.1.6";
20
20
  addLibraryVersionToPerseusDebug(libName, libVersion);
21
21
 
22
22
  function _extends() {
@@ -1,4 +1,3 @@
1
- /// <reference path="../../types/aphrodite.d.ts" />
2
1
  import * as React from "react";
3
2
  import type { StyleType } from "@khanacademy/wonder-blocks-core";
4
3
  import type { CSSProperties } from "aphrodite";
package/dist/index.js CHANGED
@@ -45,7 +45,7 @@ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
45
45
 
46
46
  // This file is processed by a Rollup plugin (replace) to inject the production
47
47
  const libName = "@khanacademy/math-input";
48
- const libVersion = "21.1.5";
48
+ const libVersion = "21.1.6";
49
49
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
50
50
 
51
51
  function _extends() {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Khan Academy's new expression editor for the mobile web.",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "21.1.5",
6
+ "version": "21.1.6",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },