@khanacademy/perseus 11.5.1 → 11.6.1
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 +32 -0
- package/dist/es/index.css +6 -6
- package/dist/es/index.js +530 -515
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +6 -6
- package/dist/index.d.ts +2 -8
- package/dist/index.js +544 -528
- package/dist/index.js.map +1 -1
- package/dist/item-renderer.d.ts +3 -0
- package/dist/perseus-version.d.ts +8 -0
- package/dist/version.d.ts +1 -11
- package/dist/widgets/numeric-input.d.ts +1 -1
- package/package.json +9 -9
- package/src/__tests__/__snapshots__/server-item-renderer.test.tsx.snap +3 -3
- package/src/__tests__/item-renderer.test.tsx +24 -18
- package/src/components/__stories__/graphie.stories.tsx +2 -2
- package/src/hint-renderer.tsx +1 -0
- package/src/index.ts +2 -5
- package/src/item-renderer.tsx +3 -0
- package/src/item-version.ts +2 -2
- package/src/multi-items/__tests__/__snapshots__/multi-renderer.test.tsx.snap +1 -1
- package/src/perseus-types.ts +2 -1
- package/src/perseus-version.ts +9 -0
- package/src/styles/khan-exercise.css +6 -4
- package/src/styles/perseus-renderer.less +0 -1
- package/src/version.ts +9 -10
- package/src/widgets/__stories__/expression.stories.tsx +21 -10
- package/src/widgets/__stories__/test-keypad-context-wrapper.tsx +7 -21
- package/src/widgets/__tests__/expression-mobile.test.tsx +7 -20
- package/src/widgets/__tests__/numeric-input.test.ts +35 -0
- package/src/widgets/numeric-input.tsx +22 -10
- package/tsconfig-build.json +1 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/dist/index.css
CHANGED
|
@@ -10,6 +10,12 @@ var {
|
|
|
10
10
|
font-style: normal;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.hint.last-hint {
|
|
14
|
+
.paragraph {
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
13
19
|
.hint_blue {
|
|
14
20
|
color: #6495ed;
|
|
15
21
|
}
|
|
@@ -32,10 +38,6 @@ var {
|
|
|
32
38
|
color: #9d38bd;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
.last-hint {
|
|
36
|
-
font-weight: bold;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
41
|
div.subhint {
|
|
40
42
|
border: 1px solid #aaaaaa;
|
|
41
43
|
background: #f9f9f9;
|
|
@@ -2393,8 +2395,6 @@ img.zoom-img {
|
|
|
2393
2395
|
margin: -11px 0px 22px 0px;
|
|
2394
2396
|
}
|
|
2395
2397
|
.framework-perseus .paragraph ul:not(.perseus-widget-radio) {
|
|
2396
|
-
font-size: 14px;
|
|
2397
|
-
line-height: 19.6px;
|
|
2398
2398
|
padding-left: 35px;
|
|
2399
2399
|
list-style-type: disc;
|
|
2400
2400
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export { default as init } from "./init";
|
|
5
5
|
export { ApiOptions, ClassNames } from "./perseus-api";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
minor: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const itemDataVersion: {
|
|
11
|
-
major: number;
|
|
12
|
-
minor: number;
|
|
13
|
-
};
|
|
6
|
+
export { libVersion } from "./version";
|
|
7
|
+
export { apiVersion, itemDataVersion } from "./perseus-version";
|
|
14
8
|
export { default as itemVersion } from "./item-version";
|
|
15
9
|
/**
|
|
16
10
|
* Renderers
|