@pie-element/math-templated 3.4.1-next.22 → 3.4.1-next.5

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.
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "2.9.0",
11
+ "@pie-lib/pie-toolbox": "2.8.0",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "prop-types": "^15.6.2",
@@ -7,7 +7,7 @@
7
7
  "module": "src/index.js",
8
8
  "dependencies": {
9
9
  "@pie-framework/math-validation": "^1.2.3",
10
- "@pie-lib/pie-toolbox": "2.9.0",
10
+ "@pie-lib/pie-toolbox": "2.8.0",
11
11
  "debug": "^3.1.0",
12
12
  "lodash": "^4.17.15"
13
13
  },
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@5.9.0/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.1.1/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@5.8.1/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
5
5
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -3838,11 +3838,10 @@ var _default = {
3838
3838
  primaryCorrectWithAlternates: 'Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.'
3839
3839
  },
3840
3840
  multipleChoice: {
3841
- minSelections: 'Select at least {{minSelections}}.',
3841
+ minSelections_one: 'This question requires at least {{minSelections}} answer.',
3842
+ minSelections_other: 'This question requires at least {{minSelections}} answers.',
3842
3843
  maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
3843
- maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
3844
- minmaxSelections_equal: 'Select {{minSelections}}.',
3845
- minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.'
3844
+ maxSelections_other: 'Only {{maxSelections}} answers are allowed.'
3846
3845
  },
3847
3846
  selectText: {
3848
3847
  correctAnswerSelected: 'Correct answer selected',
@@ -3935,11 +3934,10 @@ var _default = {
3935
3934
  primaryCorrectWithAlternates: 'Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.'
3936
3935
  },
3937
3936
  multipleChoice: {
3938
- minSelections: 'Seleccione al menos {{minSelections}}.',
3937
+ minSelections_one: 'Esta pregunta requiere al menos {{minSelections}} respuesta.',
3938
+ minSelections_other: 'Esta pregunta requiere al menos {{minSelections}} respuestas.',
3939
3939
  maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
3940
- maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
3941
- minmaxSelections_equal: 'Seleccione {{minSelections}}.',
3942
- minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.'
3940
+ maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.'
3943
3941
  },
3944
3942
  selectText: {
3945
3943
  correctAnswerSelected: 'Respuesta correcta seleccionada',
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.9.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, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.1.1/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.8.1/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) {
@@ -146277,9 +146277,6 @@ const require$$13$6 = _dll_react_dom;
146277
146277
  '& img': {
146278
146278
  display: 'block',
146279
146279
  padding: '2px 0'
146280
- },
146281
- '& mjx-frac': {
146282
- fontSize: '120% !important'
146283
146280
  }
146284
146281
  },
146285
146282
  disabled: {
@@ -146560,9 +146557,6 @@ const require$$18$3 = _dll_classnames;
146560
146557
  '& p': {
146561
146558
  marginTop: '0',
146562
146559
  marginBottom: '0'
146563
- },
146564
- '& mjx-frac': {
146565
- fontSize: '120% !important'
146566
146560
  }
146567
146561
  },
146568
146562
  hidden: {
@@ -175041,10 +175035,7 @@ const require$$16$1 = _dll_classnames;
175041
175035
  var useStyles = (0, _styles.withStyles)(function (theme) {
175042
175036
  return {
175043
175037
  content: {
175044
- border: ("solid 0px ").concat(theme.palette.primary.main),
175045
- '& mjx-frac': {
175046
- fontSize: '120% !important'
175047
- }
175038
+ border: ("solid 0px ").concat(theme.palette.primary.main)
175048
175039
  },
175049
175040
  chip: {
175050
175041
  minWidth: '90px'
@@ -179576,7 +179567,7 @@ const require$$21 = _dll_debug;
179576
179567
  if (typeof v === 'string') {
179577
179568
  if (v.endsWith('%')) {
179578
179569
  return undefined;
179579
- } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.endsWith('em') || v.match(calcRegex)) {
179570
+ } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.match(calcRegex)) {
179580
179571
  return v;
179581
179572
  } else {
179582
179573
  var value = parseInt(v, 10);
@@ -180555,7 +180546,7 @@ const require$$6 = _dll_classnames;
180555
180546
  language: 'spanish'
180556
180547
  }],
180557
180548
  spellCheck: spellCheck,
180558
- width: ("calc(").concat(width, "em + 42px)"),
180549
+ width: ("calc(").concat(width, "ch + 42px)"),
180559
180550
  onKeyDown: handleKeyDown,
180560
180551
  autoWidthToolbar: true,
180561
180552
  toolbarOpts: {
@@ -4,11 +4,11 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "3.2.0"
7
+ "version": "3.1.1"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "5.9.0"
11
+ "version": "5.8.1"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.9.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, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.1.1/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.8.1/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) {
@@ -146240,9 +146240,6 @@ const require$$13$6 = _dll_react_dom;
146240
146240
  '& img': {
146241
146241
  display: 'block',
146242
146242
  padding: '2px 0'
146243
- },
146244
- '& mjx-frac': {
146245
- fontSize: '120% !important'
146246
146243
  }
146247
146244
  },
146248
146245
  disabled: {
@@ -146523,9 +146520,6 @@ const require$$18$3 = _dll_classnames;
146523
146520
  '& p': {
146524
146521
  marginTop: '0',
146525
146522
  marginBottom: '0'
146526
- },
146527
- '& mjx-frac': {
146528
- fontSize: '120% !important'
146529
146523
  }
146530
146524
  },
146531
146525
  hidden: {
@@ -175004,10 +174998,7 @@ const require$$16$1 = _dll_classnames;
175004
174998
  var useStyles = (0, _styles.withStyles)(function (theme) {
175005
174999
  return {
175006
175000
  content: {
175007
- border: ("solid 0px ").concat(theme.palette.primary.main),
175008
- '& mjx-frac': {
175009
- fontSize: '120% !important'
175010
- }
175001
+ border: ("solid 0px ").concat(theme.palette.primary.main)
175011
175002
  },
175012
175003
  chip: {
175013
175004
  minWidth: '90px'
@@ -179539,7 +179530,7 @@ const require$$21 = _dll_debug;
179539
179530
  if (typeof v === 'string') {
179540
179531
  if (v.endsWith('%')) {
179541
179532
  return undefined;
179542
- } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.endsWith('em') || v.match(calcRegex)) {
179533
+ } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.match(calcRegex)) {
179543
179534
  return v;
179544
179535
  } else {
179545
179536
  var value = parseInt(v, 10);
@@ -180518,7 +180509,7 @@ const require$$6 = _dll_classnames;
180518
180509
  language: 'spanish'
180519
180510
  }],
180520
180511
  spellCheck: spellCheck,
180521
- width: ("calc(").concat(width, "em + 42px)"),
180512
+ width: ("calc(").concat(width, "ch + 42px)"),
180522
180513
  onKeyDown: handleKeyDown,
180523
180514
  autoWidthToolbar: true,
180524
180515
  toolbarOpts: {
package/package.json CHANGED
@@ -4,19 +4,19 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "3.4.1-next.22+87b282e00",
7
+ "version": "3.4.1-next.5+e1143f1fb",
8
8
  "description": "",
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
- "@pie-lib/pie-toolbox": "2.9.0",
12
+ "@pie-lib/pie-toolbox": "2.8.0",
13
13
  "prop-types": "^15.6.1",
14
14
  "react": "^16.8.1",
15
15
  "react-dom": "^16.8.1"
16
16
  },
17
17
  "author": "",
18
18
  "license": "ISC",
19
- "gitHead": "87b282e0032de66385a8d361264a31d2b18a72ae",
19
+ "gitHead": "e1143f1fbc95c5de63c62abdf0d0bc8231f80995",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },