@khanacademy/perseus 90.2.0 → 91.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/{chunk-register-all-widgets-for-testing-BOJFm0ap.js → chunk-register-all-widgets-for-testing-CWjQ_I3u.js} +56 -55
- package/dist/chunk-register-all-widgets-for-testing-CWjQ_I3u.js.map +1 -0
- package/dist/components/math-input.d.ts +2 -0
- package/dist/components/text-input.d.ts +1 -0
- package/dist/index.css +2 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/testing/debug-accordion-ui.d.ts +2 -1
- package/dist/testing/server-item-renderer-with-debug-ui.d.ts +2 -1
- package/dist/testing.js +1 -2
- package/dist/testing.js.map +1 -1
- package/dist/types.d.ts +0 -1
- package/dist/widgets/interactive-graphs/mafs-graph.d.ts +5 -0
- package/dist/widgets/interactive-graphs/stateful-mafs-graph.d.ts +1 -0
- package/dist/widgets/label-image/answer-choices.d.ts +1 -0
- package/dist/widgets/label-image/marker.d.ts +0 -4
- package/dist/widgets/label-image/pill.d.ts +22 -0
- package/dist/widgets/mock-widgets/mock-asset-loading-widget.d.ts +6 -12
- package/dist/widgets/numeric-input/input-with-examples.d.ts +1 -0
- package/package.json +8 -10
- package/dist/chunk-register-all-widgets-for-testing-BOJFm0ap.js.map +0 -1
|
@@ -4,10 +4,11 @@ type DebugAccordionUIProps = {
|
|
|
4
4
|
score: PerseusScore | undefined;
|
|
5
5
|
userInput: UserInputMap | undefined;
|
|
6
6
|
perseusItem: PerseusItem;
|
|
7
|
+
expanded?: boolean;
|
|
7
8
|
updateJson: (json: string) => boolean;
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
10
11
|
* A component that renders the debug accordion UI for Perseus items
|
|
11
12
|
*/
|
|
12
|
-
export declare const DebugAccordionUI: ({ score, userInput, perseusItem, updateJson, }: DebugAccordionUIProps) => React.ReactElement;
|
|
13
|
+
export declare const DebugAccordionUI: ({ score, userInput, perseusItem, expanded, updateJson, }: DebugAccordionUIProps) => React.ReactElement;
|
|
13
14
|
export {};
|
|
@@ -8,9 +8,10 @@ type Props = {
|
|
|
8
8
|
linterContext?: LinterContextProps;
|
|
9
9
|
reviewMode?: boolean;
|
|
10
10
|
showSolutions?: ShowSolutions;
|
|
11
|
+
expanded?: boolean;
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
13
14
|
* ServerItemRendererWithDebugUI is a component that renders a Perseus item with debug UI controls
|
|
14
15
|
*/
|
|
15
|
-
export declare const ServerItemRendererWithDebugUI: ({ item, apiOptions, linterContext, reviewMode, showSolutions, }: Props) => React.ReactElement;
|
|
16
|
+
export declare const ServerItemRendererWithDebugUI: ({ item, apiOptions, linterContext, reviewMode, showSolutions, expanded, }: Props) => React.ReactElement;
|
|
16
17
|
export {};
|
package/dist/testing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as registerAllWidgetsForTesting, j as jsxRuntimeExports } from './chunk-register-all-widgets-for-testing-
|
|
1
|
+
import { a7 as registerAllWidgetsForTesting, j as jsxRuntimeExports } from './chunk-register-all-widgets-for-testing-CWjQ_I3u.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { View } from '@khanacademy/wonder-blocks-core';
|
|
4
4
|
import { spacing } from '@khanacademy/wonder-blocks-tokens';
|
|
@@ -57,7 +57,6 @@ import '@phosphor-icons/core/bold/info-bold.svg';
|
|
|
57
57
|
import '@phosphor-icons/core/fill/pause-fill.svg';
|
|
58
58
|
import '@phosphor-icons/core/fill/play-fill.svg';
|
|
59
59
|
import '@khanacademy/wonder-blocks-switch';
|
|
60
|
-
import '@khanacademy/wonder-blocks-pill';
|
|
61
60
|
import 'react-popper';
|
|
62
61
|
import '@phosphor-icons/core/regular/arrow-square-out.svg';
|
|
63
62
|
import '@phosphor-icons/core/regular/corners-out.svg';
|