@khanacademy/perseus 6.0.0 → 6.1.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,25 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 6.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e86cc72f: Keypad API: Button sets on keypad switched to optional booleans. Added all designed button sets as props, but not all are yet implemented.
8
+
9
+ ### Patch Changes
10
+
11
+ - ec37eb3d: Export v2 keypad, rename v1 keypad to ProvidedKeypad
12
+ - Updated dependencies [46417c53]
13
+ - Updated dependencies [97438065]
14
+ - Updated dependencies [85d9132a]
15
+ - Updated dependencies [42297993]
16
+ - Updated dependencies [1ffbe3ef]
17
+ - Updated dependencies [e86cc72f]
18
+ - Updated dependencies [ec37eb3d]
19
+ - Updated dependencies [c0a15907]
20
+ - Updated dependencies [d9759ea6]
21
+ - @khanacademy/math-input@3.0.0
22
+
3
23
  ## 6.0.0
4
24
 
5
25
  ### Major Changes
package/dist/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as KAS from '@khanacademy/kas';
2
- import { KeypadInput, KeypadType, keypadElementPropType, Keypad } from '@khanacademy/math-input';
2
+ import { KeypadInput, KeypadType, keypadElementPropType, LegacyKeypad } from '@khanacademy/math-input';
3
3
  import * as PerseusLinter from '@khanacademy/perseus-linter';
4
4
  import { linterContextDefault, Rule, linterContextProps } from '@khanacademy/perseus-linter';
5
5
  import * as i18n from '@khanacademy/wonder-blocks-i18n';
@@ -43996,7 +43996,7 @@ const ProvideKeypad = {
43996
43996
  _this._keypadContainer = document.createElement("div");
43997
43997
  // @ts-expect-error [FEI-5003] - TS2339 - Property '_keypadContainer' does not exist on type '{ readonly propTypes: { readonly apiOptions: React.PropType<{ customKeypad?: boolean | undefined; nativeKeypadProxy?: ((...a: readonly any[]) => unknown) | undefined; }>; readonly keypadStyle: Requireable<any>; }; readonly getInitialState: () => { ...; }; readonly componentDidMount: () => void; readonly componentWil...'.
43998
43998
  (_document$body = document.body) == null ? void 0 : _document$body.appendChild(_this._keypadContainer);
43999
- render( /*#__PURE__*/React.createElement(Keypad, {
43999
+ render( /*#__PURE__*/React.createElement(LegacyKeypad, {
44000
44000
  onElementMounted: element => {
44001
44001
  // NOTE(kevinb): The reason why this setState works is
44002
44002
  // b/c we're calling it manually from item-renderer.jsx