@khanacademy/perseus-editor 5.0.0 → 5.0.2

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.
@@ -3652,6 +3652,7 @@ type Props = {
3652
3652
  showRuler: boolean;
3653
3653
  /**
3654
3654
  * Whether to show tooltips on the graph.
3655
+ * (Currently not used, but will be in the future.)
3655
3656
  */
3656
3657
  showTooltips: boolean;
3657
3658
  /**
@@ -3663,7 +3664,13 @@ type Props = {
3663
3664
  */
3664
3665
  rulerTicks: number;
3665
3666
  /**
3666
- * The data for checking if an answer is correct.
3667
+ * The current correct answer for the graph. Updated by this component
3668
+ * when the graph is changed.
3669
+ *
3670
+ * Note that the "Correct answer:" textbox is not an interactive
3671
+ * element. Instead, it is a representation of the correct answer based
3672
+ * on the state of the interactive graph previewed at the bottom of the
3673
+ * editor page.
3667
3674
  */
3668
3675
  correct: any;
3669
3676
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "5.0.0",
6
+ "version": "5.0.2",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -27,13 +27,13 @@
27
27
  "dependencies": {
28
28
  "@khanacademy/kas": "^0.3.8",
29
29
  "@khanacademy/kmath": "^0.1.12",
30
- "@khanacademy/math-input": "^17.2.3",
31
- "@khanacademy/perseus": "^20.0.0",
30
+ "@khanacademy/math-input": "^17.3.0",
31
+ "@khanacademy/perseus": "^20.0.2",
32
32
  "@khanacademy/perseus-core": "1.4.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@khanacademy/wonder-blocks-button": "^6.2.5",
36
- "@khanacademy/wonder-blocks-clickable": "^4.0.12",
35
+ "@khanacademy/wonder-blocks-button": "^6.2.8",
36
+ "@khanacademy/wonder-blocks-clickable": "^4.1.0",
37
37
  "@khanacademy/wonder-blocks-color": "^3.0.0",
38
38
  "@khanacademy/wonder-blocks-core": "^6.3.1",
39
39
  "@khanacademy/wonder-blocks-i18n": "^2.0.2",
@@ -54,8 +54,8 @@
54
54
  "underscore": "^1.4.4"
55
55
  },
56
56
  "peerDependencies": {
57
- "@khanacademy/wonder-blocks-button": "^6.2.5",
58
- "@khanacademy/wonder-blocks-clickable": "^4.0.12",
57
+ "@khanacademy/wonder-blocks-button": "^6.2.8",
58
+ "@khanacademy/wonder-blocks-clickable": "^4.1.0",
59
59
  "@khanacademy/wonder-blocks-color": "^3.0.0",
60
60
  "@khanacademy/wonder-blocks-core": "^6.3.1",
61
61
  "@khanacademy/wonder-blocks-i18n": "^2.0.2",