@pie-element/complex-rubric 3.3.3-next.0 → 3.3.3-next.17

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.
@@ -7,7 +7,7 @@
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-lib/pie-toolbox": "2.4.0",
10
+ "@pie-lib/pie-toolbox": "2.4.1",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -1,6 +1,6 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.3.0/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.4.0/module/index.js";
2
2
  import RubricConfigure from '@pie-element/rubric/configure/lib';
3
- import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.2.1/module/index.js";
3
+ import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.4.0/module/index.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function (e) {
6
6
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -64186,9 +64186,10 @@ const require$$4$1f = _dll_react;
64186
64186
  var handleTouchMove = (0, _react.useCallback)(function (event) {
64187
64187
  if (event.touches.length > 0) {
64188
64188
  var touch = event.touches[0];
64189
+ var touchOffset = 1;
64189
64190
  setTouchPosition({
64190
- x: touch.clientX / zoomLevel,
64191
- y: touch.clientY / zoomLevel
64191
+ x: (touch.clientX + touchOffset) / zoomLevel,
64192
+ y: (touch.clientY + touchOffset) / zoomLevel
64192
64193
  });
64193
64194
  }
64194
64195
  }, [zoomLevel]);
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.3.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.2.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.4.0/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.4.0/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
5
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -98431,9 +98431,10 @@ const require$$4$O = _dll_react;
98431
98431
  var handleTouchMove = (0, _react.useCallback)(function (event) {
98432
98432
  if (event.touches.length > 0) {
98433
98433
  var touch = event.touches[0];
98434
+ var touchOffset = 1;
98434
98435
  setTouchPosition({
98435
- x: touch.clientX / zoomLevel,
98436
- y: touch.clientY / zoomLevel
98436
+ x: (touch.clientX + touchOffset) / zoomLevel,
98437
+ y: (touch.clientY + touchOffset) / zoomLevel
98437
98438
  });
98438
98439
  }
98439
98440
  }, [zoomLevel]);
@@ -4,11 +4,11 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "2.3.0"
7
+ "version": "2.4.0"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "5.2.1"
11
+ "version": "5.4.0"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.3.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.2.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.4.0/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.4.0/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
5
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -98431,9 +98431,10 @@ const require$$4$O = _dll_react;
98431
98431
  var handleTouchMove = (0, _react.useCallback)(function (event) {
98432
98432
  if (event.touches.length > 0) {
98433
98433
  var touch = event.touches[0];
98434
+ var touchOffset = 1;
98434
98435
  setTouchPosition({
98435
- x: touch.clientX / zoomLevel,
98436
- y: touch.clientY / zoomLevel
98436
+ x: (touch.clientX + touchOffset) / zoomLevel,
98437
+ y: (touch.clientY + touchOffset) / zoomLevel
98437
98438
  });
98438
98439
  }
98439
98440
  }, [zoomLevel]);
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@pie-element/complex-rubric",
3
3
  "repository": "pie-framework/pie-elements",
4
- "version": "3.3.3-next.0+c8a5ec494",
4
+ "version": "3.3.3-next.17+0e7dad48f",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
- "@pie-element/multi-trait-rubric": "^4.2.5-next.0+c8a5ec494",
11
- "@pie-element/rubric": "^4.3.3-next.0+c8a5ec494",
10
+ "@pie-element/multi-trait-rubric": "^4.2.5-next.17+0e7dad48f",
11
+ "@pie-element/rubric": "^4.3.3-next.17+0e7dad48f",
12
12
  "@pie-framework/pie-player-events": "^0.1.0",
13
13
  "classnames": "^2.2.5",
14
14
  "debug": "^4.1.1",
15
15
  "lodash": "^4.17.11",
16
16
  "prop-types": "^15.7.2"
17
17
  },
18
- "gitHead": "c8a5ec494017a289b458cc2203760273767ef328",
18
+ "gitHead": "0e7dad48f541e7c5c10212e58c6ae846c60be93c",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },