@khanacademy/math-input 21.1.0 → 21.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
@@ -4,6 +4,12 @@ import type { KeyType, KeypadType } from "./enums";
4
4
  import type { KeypadContextRendererInterface } from "@khanacademy/perseus-core";
5
5
  import type * as React from "react";
6
6
  import type ReactDOM from "react-dom";
7
+ export declare enum MathFieldActionType {
8
+ WRITE = "write",
9
+ CMD = "cmd",
10
+ KEYSTROKE = "keystroke",
11
+ MQ_END = 0
12
+ }
7
13
  export type IconConfig = {
8
14
  data: string;
9
15
  };
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.0",
6
+ "version": "21.1.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -1,14 +0,0 @@
1
- /// <reference path="../../types/aphrodite.d.ts" />
2
- import * as React from "react";
3
- import type { StyleType } from "@khanacademy/wonder-blocks-core";
4
- import type { CSSProperties } from "aphrodite";
5
- type Props = {
6
- children: React.ReactNode;
7
- dynamicStyle?: CSSProperties;
8
- numberOfLines?: number;
9
- style?: StyleType;
10
- };
11
- declare class Text extends React.Component<Props> {
12
- render(): React.ReactNode;
13
- }
14
- export default Text;