@khanacademy/math-input 20.0.3 → 20.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/dist/types.d.ts CHANGED
@@ -7,17 +7,12 @@ import type ReactDOM from "react-dom";
7
7
  export type IconConfig = {
8
8
  data: string;
9
9
  };
10
- export type NonManyKeyConfig = {
10
+ export type KeyConfig = {
11
11
  id: Key;
12
- type: Exclude<KeyType, "MANY">;
12
+ type: KeyType;
13
13
  icon: IconConfig;
14
14
  ariaLabel: string;
15
15
  };
16
- export type ManyKeyConfig = Omit<NonManyKeyConfig, "type"> & {
17
- type: Extract<KeyType, "MANY">;
18
- childKeyIds: ReadonlyArray<string>;
19
- };
20
- export type KeyConfig = NonManyKeyConfig | ManyKeyConfig;
21
16
  export type KeypadConfiguration = {
22
17
  keypadType: KeypadType;
23
18
  extraKeys?: ReadonlyArray<Key>;
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": "20.0.3",
6
+ "version": "20.1.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -44,7 +44,7 @@
44
44
  "@khanacademy/mathjax-renderer": "^2.0.1",
45
45
  "@khanacademy/wonder-blocks-clickable": "4.2.1",
46
46
  "@khanacademy/wonder-blocks-core": "6.4.0",
47
- "@khanacademy/wonder-blocks-popover": "3.2.9",
47
+ "@khanacademy/wonder-blocks-popover": "3.2.11",
48
48
  "@khanacademy/wonder-blocks-timing": "5.0.0",
49
49
  "@khanacademy/wonder-blocks-tokens": "1.3.0",
50
50
  "@khanacademy/wonder-stuff-core": "1.5.2",
@@ -64,7 +64,7 @@
64
64
  "@khanacademy/mathjax-renderer": "^2.0.1",
65
65
  "@khanacademy/wonder-blocks-clickable": "4.2.1",
66
66
  "@khanacademy/wonder-blocks-core": "6.4.0",
67
- "@khanacademy/wonder-blocks-popover": "3.2.9",
67
+ "@khanacademy/wonder-blocks-popover": "3.2.11",
68
68
  "@khanacademy/wonder-blocks-timing": "5.0.0",
69
69
  "@khanacademy/wonder-blocks-tokens": "1.3.0",
70
70
  "@khanacademy/wonder-stuff-core": "1.5.2",