@khanacademy/perseus 13.1.0 → 13.2.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 +21 -0
- package/dist/es/index.css +0 -7
- package/dist/es/index.js +2 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +0 -7
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/renderer.d.ts +2 -2
- package/dist/widgets/matcher.d.ts +1 -1
- package/package.json +35 -35
- package/src/__stories__/hints-renderer.stories.tsx +41 -44
- package/src/__tests__/__snapshots__/renderer.test.tsx.snap +9 -33
- package/src/__tests__/renderer-api.test.tsx +35 -52
- package/src/renderer.tsx +2 -2
- package/src/styles/khan-exercise.css +0 -2
- package/src/styles/perseus-renderer.less +0 -7
- package/src/widgets/__tests__/__snapshots__/dropdown.test.ts.snap +6 -22
- package/src/widgets/__tests__/__snapshots__/graded-group-set-jipt.test.ts.snap +3 -3
- package/src/widgets/__tests__/__snapshots__/graded-group-set.test.ts.snap +1 -1
- package/src/widgets/__tests__/__snapshots__/graded-group.test.ts.snap +1 -1
- package/src/widgets/__tests__/__snapshots__/radio.test.ts.snap +4 -4
- package/src/widgets/__tests__/matcher.test.tsx +1 -1
- package/src/widgets/matcher.tsx +1 -1
- package/src/widgets/radio/choice.tsx +1 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @khanacademy/perseus
|
|
2
2
|
|
|
3
|
+
## 13.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#797](https://github.com/Khan/perseus/pull/797) [`021f9462`](https://github.com/Khan/perseus/commit/021f946255f423de8df13f6872b0664f79408484) Thanks [@nixterrimus](https://github.com/nixterrimus)! - Change the rational color in radio widget
|
|
8
|
+
|
|
9
|
+
* [#811](https://github.com/Khan/perseus/pull/811) [`bca527ab`](https://github.com/Khan/perseus/commit/bca527abc4d8b29942efec12509f9cf8be401e75) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Bump all Wonder Blocks dependencies to latest
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#808](https://github.com/Khan/perseus/pull/808) [`8358da80`](https://github.com/Khan/perseus/commit/8358da8010dcb8976d8cfb542afa7e303ce4971a) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Removing unnecessary conflicting CSS for #problemarea.
|
|
14
|
+
|
|
15
|
+
* [#813](https://github.com/Khan/perseus/pull/813) [`691d29b4`](https://github.com/Khan/perseus/commit/691d29b4224a523a3dd8d53a7aab28c80118e7ac) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Removing unused CSS from #problemarea.
|
|
16
|
+
|
|
17
|
+
- [#812](https://github.com/Khan/perseus/pull/812) [`6d31e044`](https://github.com/Khan/perseus/commit/6d31e044d6f5b304e63602795e9bbd7ba443dac5) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Fix 'focus' parameter on Renderer's setInputValue function to be optional.
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c), [`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c), [`bca527ab`](https://github.com/Khan/perseus/commit/bca527abc4d8b29942efec12509f9cf8be401e75)]:
|
|
20
|
+
- @khanacademy/simple-markdown@0.11.0
|
|
21
|
+
- @khanacademy/math-input@15.1.0
|
|
22
|
+
- @khanacademy/pure-markdown@0.2.11
|
|
23
|
+
|
|
3
24
|
## 13.1.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/dist/es/index.css
CHANGED
|
@@ -130,8 +130,6 @@ div.definition {
|
|
|
130
130
|
|
|
131
131
|
#problemarea {
|
|
132
132
|
font-size: 14px;
|
|
133
|
-
width: 70%;
|
|
134
|
-
min-height: 378px;
|
|
135
133
|
position: relative;
|
|
136
134
|
float: left;
|
|
137
135
|
padding-bottom: 38px;
|
|
@@ -2366,11 +2364,6 @@ img.zoom-img {
|
|
|
2366
2364
|
.framework-perseus.perseus-mobile .perseus-input-right-align .keypad-input {
|
|
2367
2365
|
text-align: right;
|
|
2368
2366
|
}
|
|
2369
|
-
.framework-perseus #problemarea input,
|
|
2370
|
-
.framework-perseus #problemarea button {
|
|
2371
|
-
position: relative;
|
|
2372
|
-
z-index: 3;
|
|
2373
|
-
}
|
|
2374
2367
|
.framework-perseus div.paragraph {
|
|
2375
2368
|
font-family: "Lato", sans-serif;
|
|
2376
2369
|
font-weight: 400;
|
package/dist/es/index.js
CHANGED
|
@@ -22900,6 +22900,7 @@ const styles$r = StyleSheet.create({
|
|
|
22900
22900
|
padding: intermediateCheckboxPadding,
|
|
22901
22901
|
paddingTop: 0,
|
|
22902
22902
|
marginLeft: 54,
|
|
22903
|
+
color: Color.offBlack64,
|
|
22903
22904
|
[mediaQueries.smOrSmaller]: {
|
|
22904
22905
|
padding: intermediateCheckboxPaddingPhone,
|
|
22905
22906
|
paddingTop: 0
|
|
@@ -44082,7 +44083,7 @@ const init = function init(options) {
|
|
|
44082
44083
|
|
|
44083
44084
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
44084
44085
|
const libName = "@khanacademy/perseus";
|
|
44085
|
-
const libVersion = "13.
|
|
44086
|
+
const libVersion = "13.2.0";
|
|
44086
44087
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
44087
44088
|
|
|
44088
44089
|
const apiVersion = {
|