@khanacademy/perseus 12.3.0 → 13.0.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 +38 -0
- package/dist/es/index.css +3 -3
- package/dist/es/index.js +593 -223
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9698 -9446
- package/dist/index.js.map +1 -1
- package/dist/item-renderer.d.ts +3 -1
- package/dist/perseus-types.d.ts +4 -2
- package/dist/widgets/label-image/strings.d.ts +3 -0
- package/dist/widgets/plotter.d.ts +8 -22
- package/package.json +10 -8
- package/src/__tests__/item-renderer.test.tsx +41 -0
- package/src/__tests__/widget-container.test.tsx +126 -0
- package/src/error-boundary.tsx +1 -0
- package/src/index.ts +5 -1
- package/src/item-renderer.tsx +4 -2
- package/src/perseus-types.ts +11 -2
- package/src/styles/articles.less +3 -1
- package/src/styles/perseus-renderer.less +1 -1
- package/src/widget-container.tsx +2 -1
- package/src/widgets/__tests__/__snapshots__/graded-group-set.test.ts.snap +50 -19
- package/src/widgets/__tests__/plotter.test.tsx +11 -8
- package/src/widgets/graded-group-set.tsx +70 -25
- package/src/widgets/label-image/strings.ts +3 -0
- package/src/widgets/plotter.tsx +29 -50
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @khanacademy/perseus
|
|
2
2
|
|
|
3
|
+
## 13.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#786](https://github.com/Khan/perseus/pull/786) [`af4ebf37`](https://github.com/Khan/perseus/commit/af4ebf37dfed15ffd93a8cf2a20d0be464120dd7) Thanks [@handeyeco](https://github.com/handeyeco)! - Added a new required dep in Perseus and MathInput (required by WB)
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- [#670](https://github.com/Khan/perseus/pull/670) [`88616529`](https://github.com/Khan/perseus/commit/88616529c70f6c03529c26c2a4f04e5bb9f92b38) Thanks [@handeyeco](https://github.com/handeyeco)! - Update types for Plotter widget
|
|
12
|
+
|
|
13
|
+
* [#796](https://github.com/Khan/perseus/pull/796) [`c26fbdde`](https://github.com/Khan/perseus/commit/c26fbdde0d0bce0e7e88046eaddf88307f722eb9) Thanks [@nedredmond](https://github.com/nedredmond)! - Add option to show key on periodic table
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#799](https://github.com/Khan/perseus/pull/799) [`847b0568`](https://github.com/Khan/perseus/commit/847b0568bd5bb23ef08ddd8cbbe24f7158eeaaca) Thanks [@nedredmond](https://github.com/nedredmond)! - Add string for translation for label image changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`3eb0e158`](https://github.com/Khan/perseus/commit/3eb0e15860224cc595d5b7e78d2a5d60e808561c), [`af4ebf37`](https://github.com/Khan/perseus/commit/af4ebf37dfed15ffd93a8cf2a20d0be464120dd7)]:
|
|
20
|
+
- @khanacademy/math-input@15.0.0
|
|
21
|
+
|
|
22
|
+
## 12.4.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- [#784](https://github.com/Khan/perseus/pull/784) [`cfff6ad1`](https://github.com/Khan/perseus/commit/cfff6ad16a3923418a3c75816af7c99689b94da4) Thanks [@nedredmond](https://github.com/nedredmond)! - Graded Group Set indicator dots now have a 24x24 clickable area as well as hover/focus states. Stretching issue on mobile resolved as well.
|
|
27
|
+
|
|
28
|
+
* [#783](https://github.com/Khan/perseus/pull/783) [`79403e06`](https://github.com/Khan/perseus/commit/79403e06eedb597d7818d6c858bbba6f51ff3fe1) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Adds 'widgetId' to the 'perseus:widget-rendering-error' analytics event.
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [[`79403e06`](https://github.com/Khan/perseus/commit/79403e06eedb597d7818d6c858bbba6f51ff3fe1), [`ed00ee59`](https://github.com/Khan/perseus/commit/ed00ee59dcdeb20a66709c6b7d3474da55d58e4d)]:
|
|
33
|
+
- @khanacademy/perseus-core@1.3.0
|
|
34
|
+
- @khanacademy/math-input@14.2.2
|
|
35
|
+
- @khanacademy/kas@0.3.5
|
|
36
|
+
- @khanacademy/kmath@0.1.6
|
|
37
|
+
- @khanacademy/perseus-linter@0.3.8
|
|
38
|
+
- @khanacademy/pure-markdown@0.2.10
|
|
39
|
+
- @khanacademy/simple-markdown@0.10.4
|
|
40
|
+
|
|
3
41
|
## 12.3.0
|
|
4
42
|
|
|
5
43
|
### Minor Changes
|
package/dist/es/index.css
CHANGED
|
@@ -1742,11 +1742,11 @@ body.mobile ul.inequalities-one-line-radios > li {
|
|
|
1742
1742
|
.framework-perseus.perseus-mobile .clearfix > .perseus-renderer {
|
|
1743
1743
|
margin-bottom: 32px;
|
|
1744
1744
|
}
|
|
1745
|
-
.framework-perseus.perseus-mobile .perseus-renderer > .paragraph ul:not(.perseus-widget-radio) {
|
|
1745
|
+
.framework-perseus.perseus-mobile .perseus-renderer > .paragraph ul:not(.perseus-widget-radio, .indicatorContainer) {
|
|
1746
1746
|
margin: 0 0 0 1em;
|
|
1747
1747
|
padding: 0;
|
|
1748
1748
|
}
|
|
1749
|
-
.framework-perseus.perseus-mobile .perseus-renderer > .paragraph ul:not(.perseus-widget-radio) > li {
|
|
1749
|
+
.framework-perseus.perseus-mobile .perseus-renderer > .paragraph ul:not(.perseus-widget-radio, .indicatorContainer) > li {
|
|
1750
1750
|
padding-left: 10px;
|
|
1751
1751
|
margin-bottom: 24px;
|
|
1752
1752
|
}
|
|
@@ -2394,7 +2394,7 @@ img.zoom-img {
|
|
|
2394
2394
|
.framework-perseus .perseus-renderer > .paragraph > ol {
|
|
2395
2395
|
margin: -11px 0px 22px 0px;
|
|
2396
2396
|
}
|
|
2397
|
-
.framework-perseus .paragraph ul:not(.perseus-widget-radio) {
|
|
2397
|
+
.framework-perseus .paragraph ul:not(.perseus-widget-radio, .indicatorContainer) {
|
|
2398
2398
|
padding-left: 35px;
|
|
2399
2399
|
list-style-type: disc;
|
|
2400
2400
|
}
|