@khanacademy/math-input 6.0.2 → 7.0.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/CHANGELOG.md +21 -0
- package/dist/components/input/math-input.d.ts +2 -2
- package/dist/components/input/math-input.js.flow +2 -2
- package/dist/components/keypad/index.d.ts +2 -26
- package/dist/components/keypad/index.js.flow +2 -31
- package/dist/components/keypad/keypad.d.ts +26 -0
- package/dist/components/keypad/keypad.js.flow +37 -0
- package/dist/components/keypad/mobile-keypad.d.ts +39 -0
- package/dist/components/keypad/mobile-keypad.js.flow +57 -0
- package/dist/components/keypad/shared-keys.d.ts +1 -1
- package/dist/components/keypad/shared-keys.js.flow +1 -1
- package/dist/components/keypad-legacy/index.d.ts +1 -0
- package/dist/components/keypad-legacy/index.js.flow +7 -0
- package/dist/components/keypad-legacy/provided-keypad.d.ts +2 -2
- package/dist/components/keypad-legacy/provided-keypad.js.flow +10 -2
- package/dist/components/keypad-legacy/touchable-keypad-button.d.ts +1 -1
- package/dist/components/keypad-legacy/touchable-keypad-button.js.flow +1 -1
- package/dist/components/keypad-legacy/two-page-keypad.d.ts +1 -1
- package/dist/components/keypad-legacy/two-page-keypad.js.flow +1 -1
- package/dist/components/tabbar/index.d.ts +2 -0
- package/dist/components/tabbar/index.js.flow +8 -0
- package/dist/es/index.js +306 -173
- package/dist/es/index.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +322 -187
- package/dist/index.js.flow +9 -9
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.js.flow +12 -0
- package/package.json +2 -2
- package/src/components/input/math-input.tsx +4 -5
- package/src/components/keypad/index.tsx +2 -173
- package/src/components/keypad/keypad.stories.tsx +2 -1
- package/src/components/keypad/keypad.tsx +171 -0
- package/src/components/keypad/mobile-keypad.tsx +165 -0
- package/src/components/keypad/shared-keys.tsx +1 -1
- package/src/components/keypad-legacy/index.ts +1 -0
- package/src/components/keypad-legacy/provided-keypad.tsx +7 -2
- package/src/components/keypad-legacy/two-page-keypad.tsx +3 -2
- package/src/components/prop-types.js +0 -1
- package/src/components/tabbar/index.ts +2 -0
- package/src/full-math-input.stories.tsx +78 -0
- package/src/index.ts +28 -9
- package/src/types.ts +11 -0
- package/tsconfig-build.tsbuildinfo +1 -1
- package/src/math-input.stories.tsx +0 -67
package/dist/index.d.ts
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* A single entry-point for all of the external-facing functionality.
|
|
3
3
|
*/
|
|
4
4
|
import "../less/main.less";
|
|
5
|
-
export { CursorContext } from "./components/input/cursor-contexts";
|
|
6
5
|
export { default as KeypadInput } from "./components/input/math-input";
|
|
6
|
+
export { createMathField, mathQuillInstance, } from "./components/input/mathquill-instance";
|
|
7
|
+
export { type MathFieldInterface } from "./components/input/mathquill-types";
|
|
8
|
+
export { CursorContext } from "./components/input/cursor-contexts";
|
|
7
9
|
export { getCursorContext } from "./components/input/mathquill-helpers";
|
|
10
|
+
export { default as LegacyKeypad } from "./components/keypad-legacy";
|
|
11
|
+
export { default as Keypad, MobileKeypad } from "./components/keypad";
|
|
8
12
|
export { keypadElementPropType } from "./components/prop-types";
|
|
9
|
-
export { default as LegacyKeypad } from "./components/keypad-legacy/provided-keypad";
|
|
10
|
-
export { default as KeyConfigs } from "./data/key-configs";
|
|
11
13
|
export type { default as Keys } from "./data/keys";
|
|
14
|
+
export { default as KeyConfigs } from "./data/key-configs";
|
|
12
15
|
export { type KeyType, KeypadType } from "./enums";
|
|
13
|
-
export { default as Keypad } from "./components/keypad/index";
|
|
14
16
|
export { default as keyTranslator } from "./components/key-handlers/key-translator";
|
|
15
|
-
export { createMathField, mathQuillInstance, } from "./components/input/mathquill-instance";
|
|
16
|
-
export { type MathFieldInterface } from "./components/input/mathquill-types";
|