@khanacademy/perseus-core 3.7.0 → 5.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/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics";
2
- export type { KEScore, KeypadContextRendererInterface, RendererInterface, MarkerType, InteractiveMarkerType, Relationship, Alignment, } from "./types";
2
+ export type { KEScore, RendererInterface, MarkerType, InteractiveMarkerType, Relationship, Alignment, } from "./types";
3
+ export type { KeypadKey, KeypadConfiguration, KeypadContextRendererInterface, } from "./keypad";
3
4
  export type { ErrorKind } from "./error/errors";
4
5
  export type { FunctionTypeMappingKeys } from "./utils/grapher-util";
5
6
  export type { Coords } from "./utils/grapher-types";
6
- export { addLibraryVersionToPerseusDebug } from "./utils/add-library-version-to-perseus-debug";
7
7
  export { default as getMatrixSize } from "./utils/get-matrix-size";
8
8
  export { default as getDecimalSeparator } from "./utils/get-decimal-separator";
9
9
  export { approximateEqual, approximateDeepEqual } from "./utils/equality";
@@ -29,6 +29,7 @@ export { default as explanationLogic } from "./widgets/explanation";
29
29
  export type { ExplanationDefaultWidgetOptions } from "./widgets/explanation";
30
30
  export { default as expressionLogic } from "./widgets/expression";
31
31
  export type { ExpressionDefaultWidgetOptions } from "./widgets/expression";
32
+ export { default as deriveExtraKeys } from "./widgets/expression/derive-extra-keys";
32
33
  export { default as gradedGroupLogic } from "./widgets/graded-group";
33
34
  export type { GradedGroupDefaultWidgetOptions } from "./widgets/graded-group";
34
35
  export { default as gradedGroupSetLogic } from "./widgets/graded-group-set";
@@ -75,6 +76,7 @@ export { default as pythonProgramLogic } from "./widgets/python-program";
75
76
  export type { PythonProgramDefaultWidgetOptions } from "./widgets/python-program";
76
77
  export { default as radioLogic } from "./widgets/radio";
77
78
  export type { RadioDefaultWidgetOptions } from "./widgets/radio";
79
+ export { usesNumCorrect } from "./widgets/radio/radio-util";
78
80
  export { default as sorterLogic } from "./widgets/sorter";
79
81
  export type { SorterDefaultWidgetOptions } from "./widgets/sorter";
80
82
  export { default as tableLogic } from "./widgets/table";
@@ -89,14 +91,17 @@ export { default as getOrdererPublicWidgetOptions } from "./widgets/orderer/orde
89
91
  export { default as getCategorizerPublicWidgetOptions } from "./widgets/categorizer/categorizer-util";
90
92
  export { default as getCSProgramPublicWidgetOptions } from "./widgets/cs-program/cs-program-util";
91
93
  export { default as getExpressionPublicWidgetOptions } from "./widgets/expression/expression-util";
94
+ export type { ExpressionPublicWidgetOptions } from "./widgets/expression/expression-util";
92
95
  export { default as getGrapherPublicWidgetOptions } from "./widgets/grapher/grapher-util";
93
- export { default as getInteractiveGraphPublicWidgetOptions } from "./widgets/interactive-graph/interactive-graph-util";
96
+ export { default as getInteractiveGraphPublicWidgetOptions, type InteractiveGraphPublicWidgetOptions, } from "./widgets/interactive-graph/interactive-graph-util";
94
97
  export { default as getLabelImagePublicWidgetOptions } from "./widgets/label-image/label-image-util";
95
98
  export { default as getSorterPublicWidgetOptions } from "./widgets/sorter/sorter-util";
96
99
  export { default as getDropdownPublicWidgetOptions } from "./widgets/dropdown/dropdown-util";
100
+ export type { DropdownPublicWidgetOptions } from "./widgets/dropdown/dropdown-util";
97
101
  export { default as getNumericInputPublicWidgetOptions } from "./widgets/numeric-input/numeric-input-util";
98
102
  export { default as getNumberLinePublicWidgetOptions } from "./widgets/number-line/number-line-util";
99
103
  export { default as getRadioPublicWidgetOptions } from "./widgets/radio/radio-util";
104
+ export { deriveNumCorrect } from "./widgets/radio/radio-upgrade";
100
105
  export { default as getTablePublicWidgetOptions } from "./widgets/table/table-util";
101
106
  export { default as getIFramePublicWidgetOptions } from "./widgets/iframe/iframe-util";
102
107
  export { default as getMatrixPublicWidgetOptions } from "./widgets/matrix/matrix-util";