@khanacademy/perseus 17.2.0 → 17.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/CHANGELOG.md +10 -0
- package/dist/es/index.js +22 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -1
- package/dist/index.js.map +1 -1
- package/dist/perseus-types.d.ts +2 -8
- package/package.json +1 -1
- package/src/__testdata__/graphie.testdata.ts +8 -8
- package/src/__testdata__/server-item-renderer.testdata.ts +10 -12
- package/src/__tests__/mock-asset-loading-widget.tsx +5 -8
- package/src/index.ts +2 -0
- package/src/perseus-types.ts +18 -11
- package/src/widgets/__testdata__/expression.testdata.ts +13 -15
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @khanacademy/perseus
|
|
2
2
|
|
|
3
|
+
## 17.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#867](https://github.com/Khan/perseus/pull/867) [`378294da`](https://github.com/Khan/perseus/commit/378294da3d207839a861333175920b562773ee97) Thanks [@nedredmond](https://github.com/nedredmond)! - Update and export PerseusAnswerArea type
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#869](https://github.com/Khan/perseus/pull/869) [`57eeec68`](https://github.com/Khan/perseus/commit/57eeec681072591c64b633527833f3ab9f6e3f1a) Thanks [@nedredmond](https://github.com/nedredmond)! - Remove new unused field from PerseusAnswerArea API
|
|
12
|
+
|
|
3
13
|
## 17.2.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/es/index.js
CHANGED
|
@@ -44185,7 +44185,7 @@ const init = function init(options) {
|
|
|
44185
44185
|
|
|
44186
44186
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
44187
44187
|
const libName = "@khanacademy/perseus";
|
|
44188
|
-
const libVersion = "17.
|
|
44188
|
+
const libVersion = "17.3.0";
|
|
44189
44189
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
44190
44190
|
|
|
44191
44191
|
const apiVersion = {
|
|
@@ -45517,6 +45517,26 @@ var constants = /*#__PURE__*/Object.freeze({
|
|
|
45517
45517
|
|
|
45518
45518
|
// TODO(FEI-5054): Figure out how to get global .d.ts files working with monorepos
|
|
45519
45519
|
|
|
45520
|
+
const ItemExtras = [
|
|
45521
|
+
// The user might benefit from using a Scientific Calculator. Provided on Khan Academy when true
|
|
45522
|
+
"calculator",
|
|
45523
|
+
// The user might benefit from using a statistics Chi Squared Table like https://people.richland.edu/james/lecture/m170/tbl-chi.html
|
|
45524
|
+
"chi2Table",
|
|
45525
|
+
// The user might benefit from a monthly payments calculator. Provided on Khan Academy when true
|
|
45526
|
+
"financialCalculatorMonthlyPayment",
|
|
45527
|
+
// The user might benefit from a total amount calculator. Provided on Khan Academy when true
|
|
45528
|
+
"financialCalculatorTotalAmount",
|
|
45529
|
+
// The user might benefit from a time to pay off calculator. Provided on Khan Academy when true
|
|
45530
|
+
"financialCalculatorTimeToPayOff",
|
|
45531
|
+
// The user might benefit from using a Periodic Table of Elements. Provided on Khan Academy when true
|
|
45532
|
+
"periodicTable",
|
|
45533
|
+
// The user might benefit from using a Periodic Table of Elements with key. Provided on Khan Academy when true
|
|
45534
|
+
"periodicTableWithKey",
|
|
45535
|
+
// The user might benefit from using a statistics T Table like https://www.statisticshowto.com/tables/t-distribution-table/
|
|
45536
|
+
"tTable",
|
|
45537
|
+
// The user might benefit from using a statistics Z Table like https://www.ztable.net/
|
|
45538
|
+
"zTable"];
|
|
45539
|
+
|
|
45520
45540
|
// prettier-ignore
|
|
45521
45541
|
|
|
45522
45542
|
// prettier-ignore
|
|
@@ -46737,5 +46757,5 @@ const EditorJsonify = {
|
|
|
46737
46757
|
}
|
|
46738
46758
|
};
|
|
46739
46759
|
|
|
46740
|
-
export { ApiOptions, ArrowPicker, ArticleRenderer, BaseRadio, Categorizer$1 as Categorizer, changeable as Changeable, ClassNames, ColorPicker, DashPicker, dependencies as Dependencies, EditorJsonify, ElementContainer, Errors, Expression, util as GrapherUtil, Grapher$1 as GrapherWidget, HintRenderer, HintsRenderer, InputNumber$1 as InputNumber, InteractiveGraph$1 as InteractiveGraphWidget, JiptParagraphs, KhanColors, KhanMath, context as LoadingContext, Log, Matrix$1 as MatrixWidget, MultiItems, NumericInput$1 as NumericInput, PerseusError, PerseusExpressionAnswerFormConsidered, PerseusMarkdown, Plotter$1 as PlotterWidget, Radio, Renderer, ref as ServerItemRenderer, sizingUtils as SizingUtils, Table$1 as TableWidget, Transformer$1 as TransformerWidget, Util, denylist as WIDGET_PROP_DENYLIST, WidgetJsonifyDeprecated, widgets$1 as Widgets, apiVersion, buildEmptyItemTreeForShape, buildMapper, components, constants, displaySigFigs, globalConstants, globalStyles, iconPaths as icons, init, interactiveSizes$1 as interactiveSizes, isItemRenderableByVersion, itemDataVersion, itemToTree, ItemVersion as itemVersion, libVersion, mediaQueries, plotterPlotTypes, preprocessTex, registerAllWidgetsForTesting, shapes, traverse, violatingWidgets, allWidgets as widgets };
|
|
46760
|
+
export { ApiOptions, ArrowPicker, ArticleRenderer, BaseRadio, Categorizer$1 as Categorizer, changeable as Changeable, ClassNames, ColorPicker, DashPicker, dependencies as Dependencies, EditorJsonify, ElementContainer, Errors, Expression, util as GrapherUtil, Grapher$1 as GrapherWidget, HintRenderer, HintsRenderer, InputNumber$1 as InputNumber, InteractiveGraph$1 as InteractiveGraphWidget, ItemExtras, JiptParagraphs, KhanColors, KhanMath, context as LoadingContext, Log, Matrix$1 as MatrixWidget, MultiItems, NumericInput$1 as NumericInput, PerseusError, PerseusExpressionAnswerFormConsidered, PerseusMarkdown, Plotter$1 as PlotterWidget, Radio, Renderer, ref as ServerItemRenderer, sizingUtils as SizingUtils, Table$1 as TableWidget, Transformer$1 as TransformerWidget, Util, denylist as WIDGET_PROP_DENYLIST, WidgetJsonifyDeprecated, widgets$1 as Widgets, apiVersion, buildEmptyItemTreeForShape, buildMapper, components, constants, displaySigFigs, globalConstants, globalStyles, iconPaths as icons, init, interactiveSizes$1 as interactiveSizes, isItemRenderableByVersion, itemDataVersion, itemToTree, ItemVersion as itemVersion, libVersion, mediaQueries, plotterPlotTypes, preprocessTex, registerAllWidgetsForTesting, shapes, traverse, violatingWidgets, allWidgets as widgets };
|
|
46741
46761
|
//# sourceMappingURL=index.js.map
|