@khanacademy/perseus 24.3.0 → 25.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/index.d.ts CHANGED
@@ -44,8 +44,7 @@ export * as globalStyles from "./styles/global-styles";
44
44
  export * as globalConstants from "./styles/global-constants";
45
45
  export * as icons from "./icon-paths";
46
46
  export * as Dependencies from "./dependencies";
47
- export { Errors, Log } from "./logging/log";
48
- export { PerseusError } from "./perseus-error";
47
+ export { Log } from "./logging/log";
49
48
  export { default as JiptParagraphs } from "./jipt-paragraphs";
50
49
  export { default as KhanMath } from "./util/math";
51
50
  export { default as LoadingContext } from "./loading-context";
@@ -72,6 +71,7 @@ export { generateTestPerseusItem, genericPerseusItemData, generateTestRadioWidge
72
71
  export { getWidgetTypeByWidgetId, contentHasWidgetType, getWidgetIdsFromContent, getWidgetIdsFromContentByType, getWidgetsMapFromItemData, getWidgetFromWidgetMap, getWidgetsFromWidgetMap, } from "./widget-type-utils";
73
72
  export { convertWidgetNameToEnum } from "./util/widget-enum-utils";
74
73
  export { addWidget, QUESTION_WIDGETS } from "./util/snowman-utils";
74
+ export { getLineCoords } from "./widgets/interactive-graphs/reducer/initialize-graph-state";
75
75
  /**
76
76
  * Mixins
77
77
  */
@@ -83,7 +83,7 @@ export { default as WIDGET_PROP_DENYLIST } from "./mixins/widget-prop-denylist";
83
83
  * Types
84
84
  */
85
85
  export type { PerseusOptions } from "./init";
86
- export type { ILogger, LogErrorOptions, ErrorKind } from "./logging/log";
86
+ export type { ILogger, LogErrorOptions } from "./logging/log";
87
87
  export type { ServerItemRenderer as ServerItemRendererComponent } from "./server-item-renderer";
88
88
  export type { Alignment, APIOptions, APIOptionsWithDefaults, ChangeHandler, DeviceType, DomInsertCheckFn, EditorMode, FocusPath, Hint, ImageDict, ImageUploader, JiptLabelStore, JiptRenderer, PerseusDependencies, PerseusScore, Version, VideoData, VideoKind, WidgetDict, WidgetExports, } from "./types";
89
89
  export type { ParsedValue } from "./util";