@khanacademy/perseus-core 5.2.0 → 5.3.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/data-schema.d.ts +0 -8
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/data-schema.d.ts
CHANGED
|
@@ -323,7 +323,6 @@ export type PerseusImageBackground = {
|
|
|
323
323
|
* - none: shows no markings
|
|
324
324
|
*/
|
|
325
325
|
export type MarkingsType = "axes" | "graph" | "grid" | "none";
|
|
326
|
-
export type AxisLabelLocation = "onAxis" | "alongEdge";
|
|
327
326
|
export type PerseusCategorizerWidgetOptions = {
|
|
328
327
|
items: ReadonlyArray<string>;
|
|
329
328
|
categories: ReadonlyArray<string>;
|
|
@@ -477,13 +476,6 @@ export type PerseusInteractiveGraphWidgetOptions = {
|
|
|
477
476
|
*/
|
|
478
477
|
markings: MarkingsType;
|
|
479
478
|
labels?: ReadonlyArray<string>;
|
|
480
|
-
/**
|
|
481
|
-
* Specifies the location of the labels on the graph. default: "onAxis".
|
|
482
|
-
* - "onAxis": Labels are positioned on the axis at the right (x) and top (y) of the graph.
|
|
483
|
-
* - "alongEdge": Labels are centered along the bottom (x) and left (y) edges of the graph.
|
|
484
|
-
* The y label is rotated. Typically used when the range min is near 0 with longer labels.
|
|
485
|
-
*/
|
|
486
|
-
labelLocation?: AxisLabelLocation;
|
|
487
479
|
showProtractor: boolean;
|
|
488
480
|
/**
|
|
489
481
|
* Whether to show the Ruler tool overlayed on top of the graph.
|
package/dist/es/index.js
CHANGED
|
@@ -2844,7 +2844,7 @@ const addLibraryVersionToPerseusDebug = (libraryName, libraryVersion) => {
|
|
|
2844
2844
|
|
|
2845
2845
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
2846
2846
|
const libName = "@khanacademy/perseus-core";
|
|
2847
|
-
const libVersion = "5.
|
|
2847
|
+
const libVersion = "5.3.0";
|
|
2848
2848
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
2849
2849
|
|
|
2850
2850
|
/**
|