@khanacademy/math-input 26.2.23 → 26.3.0

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/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": "26.2.23",
6
+ "version": "26.3.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -37,9 +37,9 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@khanacademy/keypad-context": "3.2.20",
41
- "@khanacademy/perseus-core": "20.4.0",
42
- "@khanacademy/perseus-utils": "2.1.4"
40
+ "@khanacademy/perseus-core": "20.4.1",
41
+ "@khanacademy/perseus-utils": "2.1.4",
42
+ "@khanacademy/keypad-context": "3.2.21"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@khanacademy/mathjax-renderer": "3.0.0",
@@ -1 +0,0 @@
1
- export { default } from "./tabbar";
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- import type { KeypadPageType } from "../../types";
3
- type ItemState = "active" | "inactive" | "disabled";
4
- type TabItemProps = {
5
- onClick: () => void;
6
- itemState: ItemState;
7
- itemType: KeypadPageType;
8
- focus?: boolean;
9
- role: "tab" | "button";
10
- };
11
- declare function TabbarItem(props: TabItemProps): React.ReactElement;
12
- export default TabbarItem;
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- import type { KeypadPageType } from "../../types";
3
- import type { StyleType } from "@khanacademy/wonder-blocks-core";
4
- type Props = {
5
- items: ReadonlyArray<KeypadPageType>;
6
- selectedItem: KeypadPageType;
7
- onClickClose?: () => void;
8
- onSelectItem: (item: KeypadPageType) => void;
9
- style?: StyleType;
10
- };
11
- declare function Tabbar(props: Props): React.ReactElement;
12
- export default Tabbar;
@@ -1,9 +0,0 @@
1
- /**
2
- * This file exports components View and Text which wrap <div> and <span>.
3
- * We do this so that someday in the future we can use these components with
4
- * React Native.
5
- *
6
- * Inspired by https://github.com/necolas/react-native-web. We use aphrodite
7
- * StyleSheets instead.
8
- */
9
- export { default as View } from "./view";
@@ -1,23 +0,0 @@
1
- import * as React from "react";
2
- import type { StyleType } from "@khanacademy/wonder-blocks-core";
3
- import type { CSSProperties } from "aphrodite";
4
- type Props = {
5
- ariaLabel?: string;
6
- children?: React.ReactNode;
7
- dynamicStyle?: CSSProperties;
8
- extraClassName?: string;
9
- numberOfLines?: number;
10
- onClick?: (arg1: React.SyntheticEvent<HTMLDivElement>) => void;
11
- onTouchCancel?: (arg1: React.TouchEvent<HTMLDivElement>) => void;
12
- onTouchEnd?: (arg1: React.TouchEvent<HTMLDivElement>) => void;
13
- onTouchMove?: (arg1: React.TouchEvent<HTMLDivElement>) => void;
14
- onTouchStart?: (arg1: React.TouchEvent<HTMLDivElement>) => void;
15
- role?: string;
16
- style?: StyleType;
17
- forwardRef?: React.RefObject<HTMLDivElement>;
18
- };
19
- declare class View extends React.Component<Props> {
20
- static styles: import("aphrodite").StyleDeclaration;
21
- render(): React.ReactNode;
22
- }
23
- export default View;