@khanacademy/perseus 11.4.0 → 11.5.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 11.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 609aeb0a: Ensured that the multiplication symbol in our keypad matches the selected symbol from content.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [91f88d0b]
12
+ - Updated dependencies [609aeb0a]
13
+ - Updated dependencies [4aac71b3]
14
+ - @khanacademy/math-input@13.0.0
15
+
3
16
  ## 11.4.0
4
17
 
5
18
  ### Minor Changes
package/dist/es/index.js CHANGED
@@ -2899,19 +2899,18 @@ const keypadConfigurationForProps = widgetOptions => {
2899
2899
 
2900
2900
  // TODO(charlie): Alert the keypad as to which of these symbols should be
2901
2901
  // treated as functions.
2902
- const extraVariables = Object.keys(uniqueExtraVariables);
2903
- extraVariables.sort();
2904
- const extraConstants = Object.keys(uniqueExtraConstants);
2905
- extraConstants.sort();
2906
- const extraKeys = [...extraVariables, ...extraConstants];
2902
+ const extraVariables = Object.keys(uniqueExtraVariables).sort();
2903
+ const extraConstants = Object.keys(uniqueExtraConstants).sort();
2904
+ let extraKeys = [...extraVariables, ...extraConstants];
2907
2905
  if (!extraKeys.length) {
2908
2906
  // If there are no extra symbols available, we include Pi anyway, so
2909
2907
  // that the "extra symbols" button doesn't appear empty.
2910
- extraKeys.push("PI");
2908
+ extraKeys = ["PI"];
2911
2909
  }
2912
2910
  return {
2913
2911
  keypadType,
2914
- extraKeys
2912
+ extraKeys,
2913
+ times: widgetOptions.times
2915
2914
  };
2916
2915
  };
2917
2916
  const propUpgrades$2 = {