@khanacademy/perseus 59.0.0 → 59.1.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/dist/components/number-input.d.ts +0 -3
- package/dist/es/index.js +1667 -43600
- package/dist/es/index.js.map +1 -1
- package/dist/es/strings.js +1 -730
- package/dist/es/strings.js.map +1 -1
- package/dist/index.js +1686 -44174
- package/dist/index.js.map +1 -1
- package/dist/strings.js +1 -964
- package/dist/strings.js.map +1 -1
- package/dist/util.d.ts +1 -2
- package/dist/widgets/interactive-graphs/backgrounds/axis-labels.d.ts +1 -0
- package/package.json +47 -47
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { PerseusI18nContext } from "./i18n-context";
|
|
3
2
|
import type { MathFormat } from "@khanacademy/perseus-core";
|
|
4
3
|
/**
|
|
5
4
|
* An input box that accepts only numeric strings
|
|
@@ -21,8 +20,6 @@ import type { MathFormat } from "@khanacademy/perseus-core";
|
|
|
21
20
|
* Optionally takes a `size` (`"mini"`, `"small"`,` `"normal"`)
|
|
22
21
|
*/
|
|
23
22
|
declare class NumberInput extends React.Component<any, any> {
|
|
24
|
-
static contextType: React.Context<import("./i18n-context").I18nContextType>;
|
|
25
|
-
context: React.ContextType<typeof PerseusI18nContext>;
|
|
26
23
|
inputRef: React.RefObject<HTMLInputElement>;
|
|
27
24
|
static propTypes: {
|
|
28
25
|
value: any;
|