@khanacademy/perseus-core
Advanced tools
Comparing version 0.0.0-PR2209-20250207221642 to 0.0.0-PR2209-20250213230547
@@ -1,2 +0,2 @@ | ||
export type VirtualKeypadVersion = "MATH_INPUT_KEYPAD_V2" | "REACT_NATIVE_KEYPAD"; | ||
type VirtualKeypadVersion = "MATH_INPUT_KEYPAD_V2" | "REACT_NATIVE_KEYPAD"; | ||
/** | ||
@@ -18,6 +18,18 @@ * A type union of all the events that any package in the Perseus ecosystem can | ||
payload: { | ||
widgetSubType: string; | ||
widgetType: string; | ||
widgetId: string; | ||
message: string; | ||
userAgent: string; | ||
}; | ||
} | { | ||
type: "perseus:widget-rendering-error:ti"; | ||
payload: { | ||
widgetSubType: string; | ||
widgetType: string; | ||
widgetId: string; | ||
message: string; | ||
userAgent: string; | ||
}; | ||
} | { | ||
type: "perseus:interactive-graph-widget:rendered"; | ||
@@ -30,2 +42,9 @@ payload: { | ||
} | { | ||
type: "perseus:widget:rendered:ti"; | ||
payload: { | ||
widgetSubType: string; | ||
widgetType: string; | ||
widgetId: string; | ||
}; | ||
} | { | ||
type: "perseus:label-image:toggle-answers-hidden"; | ||
@@ -40,2 +59,11 @@ payload: null; | ||
} | { | ||
type: "perseus:label-image:toggle-answers-hidden:ti"; | ||
payload: null; | ||
} | { | ||
type: "perseus:label-image:marker-interacted-with:ti"; | ||
payload: null; | ||
} | { | ||
type: "perseus:label-image:choiced-interacted-with:ti"; | ||
payload: null; | ||
} | { | ||
type: "math-input:keypad-closed"; | ||
@@ -53,1 +81,2 @@ payload: { | ||
export type AnalyticsEventHandlerFn = (event: PerseusAnalyticsEvent) => Promise<void>; | ||
export {}; |
@@ -563,3 +563,3 @@ /** | ||
directionalAxis: "x" | "y"; | ||
domain?: Interval; | ||
domain?: [min: number | null, max: number | null]; | ||
labels?: LockedLabelType[]; | ||
@@ -651,3 +651,3 @@ ariaLabel?: string; | ||
allowReflexAngles: boolean; | ||
match: "congruent"; | ||
match?: "congruent"; | ||
coords: [Coord, Coord, Coord]; | ||
@@ -654,0 +654,0 @@ }; |
@@ -13,3 +13,3 @@ export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics"; | ||
export * as GrapherUtil from "./utils/grapher-util"; | ||
export { parsePerseusItem, parseAndMigratePerseusItem, parseAndMigratePerseusArticle, } from "./parse-perseus-json"; | ||
export { parsePerseusItem, parseAndMigratePerseusItem, parseAndMigratePerseusArticle, type ParseFailureDetail, } from "./parse-perseus-json"; | ||
export { isSuccess, isFailure, type Result, type Success, type Failure, } from "./parse-perseus-json/result"; | ||
@@ -16,0 +16,0 @@ export { libVersion } from "./version"; |
@@ -17,2 +17,1 @@ export * from "./any"; | ||
export * from "./union"; | ||
export * from "./unknown"; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.0-PR2209-20250207221642", | ||
"version": "0.0.0-PR2209-20250213230547", | ||
"publishConfig": { | ||
@@ -9,0 +9,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1541490
12855
154