@pie-element/math-inline 5.6.4-next.827 → 5.6.4-next.829

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.
@@ -11,10 +11,10 @@
11
11
  "@material-ui/icons": "^3.0.1",
12
12
  "@pie-framework/mathquill": "^1.1.0",
13
13
  "@pie-framework/pie-configure-events": "^1.2.0",
14
- "@pie-lib/config-ui": "^10.12.0",
15
- "@pie-lib/editable-html": "^7.22.0",
14
+ "@pie-lib/config-ui": "^10.12.1",
15
+ "@pie-lib/editable-html": "^7.22.1",
16
16
  "@pie-lib/math-input": "^6.6.9",
17
- "@pie-lib/math-toolbar": "^1.9.0",
17
+ "@pie-lib/math-toolbar": "^1.9.1",
18
18
  "classnames": "^2.2.5",
19
19
  "debug": "^3.1.0",
20
20
  "prop-types": "^15.6.2",
@@ -1,7 +1,7 @@
1
- import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.12/module/index.js";
2
- import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.1.1/module/index.js";
3
- import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.4.0/module/index.js";
4
- import {_dll_pie_lib__math_toolbar, _dll_pie_framework__mathquill} from "../../../@pie-lib/math-edit-module@^1.1.33/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.13/module/index.js";
2
+ import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.2.0/module/index.js";
3
+ import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.5.0/module/index.js";
4
+ import {_dll_pie_lib__math_toolbar, _dll_pie_framework__mathquill} from "../../../@pie-lib/math-edit-module@^1.2.0/module/index.js";
5
5
  const React$3 = _dll_react;
6
6
  const PropTypes$2 = _dll_prop_types;
7
7
  const {Card: Card} = _dll_material_ui__core;
package/module/element.js CHANGED
@@ -1,6 +1,6 @@
1
- import {_dll_react, _dll_debug, _dll_prop_types, _dll_classnames, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__icons, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.12/module/index.js";
2
- import {_dll_pie_lib__math_input, _dll_pie_framework__mathquill} from "../../../@pie-lib/math-edit-module@^1.1.33/module/index.js";
3
- import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.0/module/index.js";
1
+ import {_dll_react, _dll_debug, _dll_prop_types, _dll_classnames, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__icons, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.13/module/index.js";
2
+ import {_dll_pie_lib__math_input, _dll_pie_framework__mathquill} from "../../../@pie-lib/math-edit-module@^1.2.0/module/index.js";
3
+ import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.1/module/index.js";
4
4
  const ResponseTypes$1 = {
5
5
  advanced: 'Advanced Multi',
6
6
  simple: 'Simple'
@@ -300,12 +300,12 @@ class EditorAndPad extends React$6.Component {
300
300
  }
301
301
  }, React$6.createElement(mq$3.Input, {
302
302
  onFocus: () => {
303
- onFocus();
303
+ onFocus && onFocus();
304
304
  this.updateDisable(false);
305
305
  },
306
306
  onBlur: () => {
307
307
  this.updateDisable(false);
308
- onBlur();
308
+ onBlur && onBlur();
309
309
  },
310
310
  className: cx$3(classes.mathEditor, classNames.editor, !controlledKeypadMode ? classes.longMathEditor : ''),
311
311
  innerRef: r => this.input = r,
@@ -4,15 +4,15 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/shared-module",
7
- "version": "^1.4.12"
7
+ "version": "^1.4.13"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/math-rendering-module",
11
- "version": "^1.1.0"
11
+ "version": "^1.1.1"
12
12
  },
13
13
  {
14
14
  "name": "@pie-lib/math-edit-module",
15
- "version": "^1.1.33"
15
+ "version": "^1.2.0"
16
16
  }
17
17
  ]
18
18
  }
package/module/print.js CHANGED
@@ -1,6 +1,6 @@
1
- import {_dll_react, _dll_debug, _dll_prop_types, _dll_classnames, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__icons, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.12/module/index.js";
2
- import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.0/module/index.js";
3
- import {_dll_pie_lib__math_input, _dll_pie_framework__mathquill} from "../../../@pie-lib/math-edit-module@^1.1.33/module/index.js";
1
+ import {_dll_react, _dll_debug, _dll_prop_types, _dll_classnames, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__icons, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.13/module/index.js";
2
+ import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.1/module/index.js";
3
+ import {_dll_pie_lib__math_input, _dll_pie_framework__mathquill} from "../../../@pie-lib/math-edit-module@^1.2.0/module/index.js";
4
4
  const ResponseTypes = {
5
5
  advanced: 'Advanced Multi',
6
6
  simple: 'Simple'
@@ -300,12 +300,12 @@ class EditorAndPad extends React$6.Component {
300
300
  }
301
301
  }, React$6.createElement(mq$3.Input, {
302
302
  onFocus: () => {
303
- onFocus();
303
+ onFocus && onFocus();
304
304
  this.updateDisable(false);
305
305
  },
306
306
  onBlur: () => {
307
307
  this.updateDisable(false);
308
- onBlur();
308
+ onBlur && onBlur();
309
309
  },
310
310
  className: cx$3(classes.mathEditor, classNames.editor, !controlledKeypadMode ? classes.longMathEditor : ''),
311
311
  innerRef: r => this.input = r,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "5.6.4-next.827+68ef0893f",
7
+ "version": "5.6.4-next.829+5dd91c01e",
8
8
  "main": "lib/index.js",
9
9
  "description": "",
10
10
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "@pie-framework/pie-player-events": "^0.1.0",
18
18
  "@pie-lib/correct-answer-toggle": "^2.3.36",
19
19
  "@pie-lib/math-input": "^6.6.9",
20
- "@pie-lib/math-toolbar": "^1.9.0",
20
+ "@pie-lib/math-toolbar": "^1.9.1",
21
21
  "@pie-lib/render-ui": "^4.12.6",
22
22
  "classnames": "^2.2.5",
23
23
  "debug": "^4.1.1",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "author": "",
30
30
  "license": "ISC",
31
- "gitHead": "68ef0893f52ca49900b5929755eafe890fa108fd",
31
+ "gitHead": "5dd91c01ea0fe14918edb281276b0ae0c388700f",
32
32
  "module": "src/index.js",
33
33
  "exports": {
34
34
  ".": "./src/index.js",