@pie-element/complex-rubric 3.6.6-next.29 → 3.6.6-next.31

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.15.0",
10
+ "@pie-lib/pie-toolbox": "2.16.0",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -1,6 +1,6 @@
1
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@3.9.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@6.1.2/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@6.2.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) {
@@ -180814,7 +180814,7 @@ const require$$21 = _dll_debug;
180814
180814
  exports.serialization = serialization$1;
180815
180815
  var _insertImageHandler = _interopRequireDefault(insertImageHandler);
180816
180816
  var _plugins = plugins;
180817
- var _excluded = ["customPlugins", "showParagraphs"];
180817
+ var _excluded = ["customPlugins", "showParagraphs", "separateParagraphs"];
180818
180818
  function _getRequireWildcardCache(nodeInterop) {
180819
180819
  if (typeof WeakMap !== "function") return null;
180820
180820
  var cacheBabelInterop = new WeakMap();
@@ -181670,7 +181670,7 @@ const require$$21 = _dll_debug;
181670
181670
  var placeholder = _this$props2.placeholder, pluginProps = _this$props2.pluginProps, onKeyDown = _this$props2.onKeyDown;
181671
181671
  var _ref4 = pluginProps || ({});
181672
181672
  _ref4.customPlugins;
181673
- var showParagraphs = _ref4.showParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
181673
+ var showParagraphs = _ref4.showParagraphs, separateParagraphs = _ref4.separateParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
181674
181674
  var _this$state4 = this.state, value = _this$state4.value, focusedNode = _this$state4.focusedNode, toolbarOpts = _this$state4.toolbarOpts, dialog = _this$state4.dialog, scheduled = _this$state4.scheduled;
181675
181675
  log('[render] value: ', value);
181676
181676
  var sizeStyle = this.buildSizeStyle();
@@ -181726,7 +181726,7 @@ const require$$21 = _dll_debug;
181726
181726
  readOnly: disabled,
181727
181727
  spellCheck: spellCheck,
181728
181728
  autoCorrect: spellCheck,
181729
- className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), _classNames2), classes.slateEditor),
181729
+ className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), (0, _defineProperty2["default"])(_classNames2, classes.separateParagraph, separateParagraphs && !separateParagraphs.disabled), _classNames2), classes.slateEditor),
181730
181730
  style: {
181731
181731
  minHeight: sizeStyle.minHeight,
181732
181732
  height: sizeStyle.height,
@@ -181881,9 +181881,15 @@ const require$$21 = _dll_debug;
181881
181881
  '& > div:has(+ div)::after': {
181882
181882
  display: 'block',
181883
181883
  content: '"¶"',
181884
+ fontSize: '1em',
181884
181885
  color: '#146EB3'
181885
181886
  }
181886
181887
  },
181888
+ separateParagraph: {
181889
+ '& > div:has(+ div)': {
181890
+ marginBottom: '1em'
181891
+ }
181892
+ },
181887
181893
  toolbarOnTop: {
181888
181894
  marginTop: '45px'
181889
181895
  },
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.1.2/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.2.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) {
@@ -178882,7 +178882,7 @@ const require$$21 = _dll_debug;
178882
178882
  exports.serialization = serialization$1;
178883
178883
  var _insertImageHandler = _interopRequireDefault(insertImageHandler);
178884
178884
  var _plugins = plugins;
178885
- var _excluded = ["customPlugins", "showParagraphs"];
178885
+ var _excluded = ["customPlugins", "showParagraphs", "separateParagraphs"];
178886
178886
  function _getRequireWildcardCache(nodeInterop) {
178887
178887
  if (typeof WeakMap !== "function") return null;
178888
178888
  var cacheBabelInterop = new WeakMap();
@@ -179738,7 +179738,7 @@ const require$$21 = _dll_debug;
179738
179738
  var placeholder = _this$props2.placeholder, pluginProps = _this$props2.pluginProps, onKeyDown = _this$props2.onKeyDown;
179739
179739
  var _ref4 = pluginProps || ({});
179740
179740
  _ref4.customPlugins;
179741
- var showParagraphs = _ref4.showParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
179741
+ var showParagraphs = _ref4.showParagraphs, separateParagraphs = _ref4.separateParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
179742
179742
  var _this$state4 = this.state, value = _this$state4.value, focusedNode = _this$state4.focusedNode, toolbarOpts = _this$state4.toolbarOpts, dialog = _this$state4.dialog, scheduled = _this$state4.scheduled;
179743
179743
  log('[render] value: ', value);
179744
179744
  var sizeStyle = this.buildSizeStyle();
@@ -179794,7 +179794,7 @@ const require$$21 = _dll_debug;
179794
179794
  readOnly: disabled,
179795
179795
  spellCheck: spellCheck,
179796
179796
  autoCorrect: spellCheck,
179797
- className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), _classNames2), classes.slateEditor),
179797
+ className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), (0, _defineProperty2["default"])(_classNames2, classes.separateParagraph, separateParagraphs && !separateParagraphs.disabled), _classNames2), classes.slateEditor),
179798
179798
  style: {
179799
179799
  minHeight: sizeStyle.minHeight,
179800
179800
  height: sizeStyle.height,
@@ -179949,9 +179949,15 @@ const require$$21 = _dll_debug;
179949
179949
  '& > div:has(+ div)::after': {
179950
179950
  display: 'block',
179951
179951
  content: '"¶"',
179952
+ fontSize: '1em',
179952
179953
  color: '#146EB3'
179953
179954
  }
179954
179955
  },
179956
+ separateParagraph: {
179957
+ '& > div:has(+ div)': {
179958
+ marginBottom: '1em'
179959
+ }
179960
+ },
179955
179961
  toolbarOnTop: {
179956
179962
  marginTop: '45px'
179957
179963
  },
@@ -8,7 +8,7 @@
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "6.1.2"
11
+ "version": "6.2.0"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.1.2/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@6.2.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) {
@@ -178882,7 +178882,7 @@ const require$$21 = _dll_debug;
178882
178882
  exports.serialization = serialization$1;
178883
178883
  var _insertImageHandler = _interopRequireDefault(insertImageHandler);
178884
178884
  var _plugins = plugins;
178885
- var _excluded = ["customPlugins", "showParagraphs"];
178885
+ var _excluded = ["customPlugins", "showParagraphs", "separateParagraphs"];
178886
178886
  function _getRequireWildcardCache(nodeInterop) {
178887
178887
  if (typeof WeakMap !== "function") return null;
178888
178888
  var cacheBabelInterop = new WeakMap();
@@ -179738,7 +179738,7 @@ const require$$21 = _dll_debug;
179738
179738
  var placeholder = _this$props2.placeholder, pluginProps = _this$props2.pluginProps, onKeyDown = _this$props2.onKeyDown;
179739
179739
  var _ref4 = pluginProps || ({});
179740
179740
  _ref4.customPlugins;
179741
- var showParagraphs = _ref4.showParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
179741
+ var showParagraphs = _ref4.showParagraphs, separateParagraphs = _ref4.separateParagraphs, otherPluginProps = (0, _objectWithoutProperties2["default"])(_ref4, _excluded);
179742
179742
  var _this$state4 = this.state, value = _this$state4.value, focusedNode = _this$state4.focusedNode, toolbarOpts = _this$state4.toolbarOpts, dialog = _this$state4.dialog, scheduled = _this$state4.scheduled;
179743
179743
  log('[render] value: ', value);
179744
179744
  var sizeStyle = this.buildSizeStyle();
@@ -179794,7 +179794,7 @@ const require$$21 = _dll_debug;
179794
179794
  readOnly: disabled,
179795
179795
  spellCheck: spellCheck,
179796
179796
  autoCorrect: spellCheck,
179797
- className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), _classNames2), classes.slateEditor),
179797
+ className: (0, _classnames["default"])((_classNames2 = {}, (0, _defineProperty2["default"])(_classNames2, classes.noPadding, toolbarOpts === null || toolbarOpts === void 0 ? void 0 : toolbarOpts.noPadding), (0, _defineProperty2["default"])(_classNames2, classes.showParagraph, showParagraphs && !showParagraphs.disabled), (0, _defineProperty2["default"])(_classNames2, classes.separateParagraph, separateParagraphs && !separateParagraphs.disabled), _classNames2), classes.slateEditor),
179798
179798
  style: {
179799
179799
  minHeight: sizeStyle.minHeight,
179800
179800
  height: sizeStyle.height,
@@ -179949,9 +179949,15 @@ const require$$21 = _dll_debug;
179949
179949
  '& > div:has(+ div)::after': {
179950
179950
  display: 'block',
179951
179951
  content: '"¶"',
179952
+ fontSize: '1em',
179952
179953
  color: '#146EB3'
179953
179954
  }
179954
179955
  },
179956
+ separateParagraph: {
179957
+ '& > div:has(+ div)': {
179958
+ marginBottom: '1em'
179959
+ }
179960
+ },
179955
179961
  toolbarOnTop: {
179956
179962
  marginTop: '45px'
179957
179963
  },
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.6.6-next.29+2a86f0aab",
4
+ "version": "3.6.6-next.31+61185c0df",
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.5.6-next.29+2a86f0aab",
11
- "@pie-element/rubric": "^4.7.1-next.29+2a86f0aab",
10
+ "@pie-element/multi-trait-rubric": "^4.5.6-next.31+61185c0df",
11
+ "@pie-element/rubric": "^4.7.1-next.31+61185c0df",
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": "2a86f0aab5e1914a03241a61fce4b9856879014a",
18
+ "gitHead": "61185c0df80f9a7cd71d58a04ac4701e2bf628fc",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },