@khanacademy/perseus 23.5.0 → 23.6.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.
@@ -3,7 +3,6 @@ import { PerseusI18nContext } from "./i18n-context";
3
3
  import type { LinterContextProps } from "@khanacademy/perseus-linter";
4
4
  import type { StyleType } from "@khanacademy/wonder-blocks-core";
5
5
  type Props = {
6
- type: "math" | "text" | "tex";
7
6
  value: string;
8
7
  onChange: any;
9
8
  className: string;
@@ -21,7 +20,6 @@ type Props = {
21
20
  linterContext: LinterContextProps;
22
21
  };
23
22
  type DefaultProps = {
24
- type: Props["type"];
25
23
  shouldShowExamples: Props["shouldShowExamples"];
26
24
  onFocus: Props["onFocus"];
27
25
  onBlur: Props["onBlur"];
@@ -43,8 +41,6 @@ declare class InputWithExamples extends React.Component<Props, State> {
43
41
  state: State;
44
42
  _getUniqueId: () => string;
45
43
  _getInputClassName: () => string;
46
- _getPropsForInputType: () => any;
47
- _getComponentForInputType: () => any;
48
44
  _renderInput: () => any;
49
45
  render(): React.ReactNode;
50
46
  _handleFocus: () => void;
package/dist/es/index.css CHANGED
@@ -2430,17 +2430,6 @@ img.zoom-img {
2430
2430
  .framework-perseus .number-input.normal {
2431
2431
  width: 80px;
2432
2432
  }
2433
- .framework-perseus .math-output {
2434
- display: inline-block;
2435
- min-width: 80px;
2436
- min-height: 36px;
2437
- border-radius: 5px;
2438
- padding: 0;
2439
- margin-top: 4px;
2440
- margin-bottom: 4px;
2441
- background: white;
2442
- border: 1px solid #a4a4a4;
2443
- }
2444
2433
  .framework-perseus .graph-settings .graph-settings-axis-label {
2445
2434
  border: 1px solid #ccc;
2446
2435
  border-radius: 5px;
@@ -2943,12 +2932,6 @@ body.mobile .perseus-matrix .matrix-row {
2943
2932
  body.mobile .perseus-matrix .matrix-input-field {
2944
2933
  display: table-cell;
2945
2934
  }
2946
- body.mobile .perseus-matrix .math-output {
2947
- margin: 4px 4px 2px 4px;
2948
- max-height: 36px;
2949
- max-width: 80px;
2950
- overflow: hidden;
2951
- }
2952
2935
  .perseus-matrix-editor .perseus-single-editor {
2953
2936
  width: 338px;
2954
2937
  }