@pie-element/explicit-constructed-response 7.3.1-next.7 → 7.3.2-next.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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.3.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@7.3.0...@pie-element/explicit-constructed-response@7.3.1) (2025-02-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-4753, PD-4618, PD-4641 ([f73f2be](https://github.com/pie-framework/pie-elements/commit/f73f2bec76321a677fff71e575d19c0f2e5b1d9c))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@7.2.10...@pie-element/explicit-constructed-response@7.3.0) (2025-01-27)
7
18
 
8
19
 
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@7.2.0...@pie-element/explicit-constructed-response-configure@7.2.1) (2025-02-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-4753, PD-4618, PD-4641 ([f73f2be](https://github.com/pie-framework/pie-elements/commit/f73f2bec76321a677fff71e575d19c0f2e5b1d9c))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@7.1.10...@pie-element/explicit-constructed-response-configure@7.2.0) (2025-01-27)
7
18
 
8
19
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-configure",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "private": true,
5
5
  "main": "lib/index.js",
6
6
  "modue": "src/index.js",
@@ -8,7 +8,7 @@
8
8
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "2.8.0",
11
+ "@pie-lib/pie-toolbox": "2.9.0",
12
12
  "classnames": "^2.2.6",
13
13
  "debug": "^3.1.0",
14
14
  "lodash": "^4.17.15",
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.1.12](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@5.1.11...@pie-element/explicit-constructed-response-controller@5.1.12) (2025-02-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-4753, PD-4618, PD-4641 ([f73f2be](https://github.com/pie-framework/pie-elements/commit/f73f2bec76321a677fff71e575d19c0f2e5b1d9c))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [5.1.11](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@5.1.10...@pie-element/explicit-constructed-response-controller@5.1.11) (2025-01-27)
7
18
 
8
19
 
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-controller",
3
3
  "private": true,
4
- "version": "5.1.11",
4
+ "version": "5.1.12",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "@pie-lib/pie-toolbox": "2.8.0",
11
+ "@pie-lib/pie-toolbox": "2.9.0",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.1.1/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.8.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.2.0/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.9.0/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;
@@ -24422,10 +24422,11 @@ var _default = {
24422
24422
  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.'
24423
24423
  },
24424
24424
  multipleChoice: {
24425
- minSelections_one: 'This question requires at least {{minSelections}} answer.',
24426
- minSelections_other: 'This question requires at least {{minSelections}} answers.',
24425
+ minSelections: 'Select at least {{minSelections}}.',
24427
24426
  maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
24428
- maxSelections_other: 'Only {{maxSelections}} answers are allowed.'
24427
+ maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
24428
+ minmaxSelections_equal: 'Select {{minSelections}}.',
24429
+ minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.'
24429
24430
  },
24430
24431
  selectText: {
24431
24432
  correctAnswerSelected: 'Correct answer selected',
@@ -24518,10 +24519,11 @@ var _default = {
24518
24519
  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.'
24519
24520
  },
24520
24521
  multipleChoice: {
24521
- minSelections_one: 'Esta pregunta requiere al menos {{minSelections}} respuesta.',
24522
- minSelections_other: 'Esta pregunta requiere al menos {{minSelections}} respuestas.',
24522
+ minSelections: 'Seleccione al menos {{minSelections}}.',
24523
24523
  maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
24524
- maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.'
24524
+ maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
24525
+ minmaxSelections_equal: 'Seleccione {{minSelections}}.',
24526
+ minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.'
24525
24527
  },
24526
24528
  selectText: {
24527
24529
  correctAnswerSelected: 'Respuesta correcta seleccionada',
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _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_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.8.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _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_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.9.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) {
@@ -144515,6 +144515,9 @@ const require$$13$6 = _dll_react_dom;
144515
144515
  '& img': {
144516
144516
  display: 'block',
144517
144517
  padding: '2px 0'
144518
+ },
144519
+ '& mjx-frac': {
144520
+ fontSize: '120% !important'
144518
144521
  }
144519
144522
  },
144520
144523
  disabled: {
@@ -144795,6 +144798,9 @@ const require$$18$3 = _dll_classnames;
144795
144798
  '& p': {
144796
144799
  marginTop: '0',
144797
144800
  marginBottom: '0'
144801
+ },
144802
+ '& mjx-frac': {
144803
+ fontSize: '120% !important'
144798
144804
  }
144799
144805
  },
144800
144806
  hidden: {
@@ -175035,7 +175041,10 @@ const require$$16$1 = _dll_classnames;
175035
175041
  var useStyles = (0, _styles.withStyles)(function (theme) {
175036
175042
  return {
175037
175043
  content: {
175038
- border: ("solid 0px ").concat(theme.palette.primary.main)
175044
+ border: ("solid 0px ").concat(theme.palette.primary.main),
175045
+ '& mjx-frac': {
175046
+ fontSize: '120% !important'
175047
+ }
175039
175048
  },
175040
175049
  chip: {
175041
175050
  minWidth: '90px'
@@ -179567,7 +179576,7 @@ const require$$21 = _dll_debug;
179567
179576
  if (typeof v === 'string') {
179568
179577
  if (v.endsWith('%')) {
179569
179578
  return undefined;
179570
- } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.match(calcRegex)) {
179579
+ } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.endsWith('em') || v.match(calcRegex)) {
179571
179580
  return v;
179572
179581
  } else {
179573
179582
  var value = parseInt(v, 10);
@@ -180546,7 +180555,7 @@ const require$$6 = _dll_classnames;
180546
180555
  language: 'spanish'
180547
180556
  }],
180548
180557
  spellCheck: spellCheck,
180549
- width: ("calc(").concat(width, "ch + 42px)"),
180558
+ width: ("calc(").concat(width, "em + 42px)"),
180550
180559
  onKeyDown: handleKeyDown,
180551
180560
  autoWidthToolbar: true,
180552
180561
  toolbarOpts: {
@@ -184100,10 +184109,11 @@ var en = {};
184100
184109
  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.'
184101
184110
  },
184102
184111
  multipleChoice: {
184103
- minSelections_one: 'This question requires at least {{minSelections}} answer.',
184104
- minSelections_other: 'This question requires at least {{minSelections}} answers.',
184112
+ minSelections: 'Select at least {{minSelections}}.',
184105
184113
  maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
184106
- maxSelections_other: 'Only {{maxSelections}} answers are allowed.'
184114
+ maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
184115
+ minmaxSelections_equal: 'Select {{minSelections}}.',
184116
+ minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.'
184107
184117
  },
184108
184118
  selectText: {
184109
184119
  correctAnswerSelected: 'Correct answer selected',
@@ -184193,10 +184203,11 @@ var es = {};
184193
184203
  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.'
184194
184204
  },
184195
184205
  multipleChoice: {
184196
- minSelections_one: 'Esta pregunta requiere al menos {{minSelections}} respuesta.',
184197
- minSelections_other: 'Esta pregunta requiere al menos {{minSelections}} respuestas.',
184206
+ minSelections: 'Seleccione al menos {{minSelections}}.',
184198
184207
  maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
184199
- maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.'
184208
+ maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
184209
+ minmaxSelections_equal: 'Seleccione {{minSelections}}.',
184210
+ minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.'
184200
184211
  },
184201
184212
  selectText: {
184202
184213
  correctAnswerSelected: 'Respuesta correcta seleccionada',
package/module/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/explicit-constructed-response@7.3.0</title>
5
+ <title>@pie-element/explicit-constructed-response@7.3.1</title>
6
6
  <script
7
7
  type="module"
8
8
  src="https://cdn.jsdelivr.net/npm/@pslb/demo-el@^1.0.0/dist/demo-el/demo-el.esm.js"></script>
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "3.1.1"
7
+ "version": "3.2.0"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "5.8.1"
11
+ "version": "5.9.0"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/explicit-constructed-response@7.3.0</title>
5
+ <title>@pie-element/explicit-constructed-response@7.3.1</title>
6
6
  <link
7
7
  href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
8
8
  rel="stylesheet"
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _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_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.8.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _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_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.9.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) {
@@ -144478,6 +144478,9 @@ const require$$13$6 = _dll_react_dom;
144478
144478
  '& img': {
144479
144479
  display: 'block',
144480
144480
  padding: '2px 0'
144481
+ },
144482
+ '& mjx-frac': {
144483
+ fontSize: '120% !important'
144481
144484
  }
144482
144485
  },
144483
144486
  disabled: {
@@ -144758,6 +144761,9 @@ const require$$18$3 = _dll_classnames;
144758
144761
  '& p': {
144759
144762
  marginTop: '0',
144760
144763
  marginBottom: '0'
144764
+ },
144765
+ '& mjx-frac': {
144766
+ fontSize: '120% !important'
144761
144767
  }
144762
144768
  },
144763
144769
  hidden: {
@@ -174998,7 +175004,10 @@ const require$$16$1 = _dll_classnames;
174998
175004
  var useStyles = (0, _styles.withStyles)(function (theme) {
174999
175005
  return {
175000
175006
  content: {
175001
- border: ("solid 0px ").concat(theme.palette.primary.main)
175007
+ border: ("solid 0px ").concat(theme.palette.primary.main),
175008
+ '& mjx-frac': {
175009
+ fontSize: '120% !important'
175010
+ }
175002
175011
  },
175003
175012
  chip: {
175004
175013
  minWidth: '90px'
@@ -179530,7 +179539,7 @@ const require$$21 = _dll_debug;
179530
179539
  if (typeof v === 'string') {
179531
179540
  if (v.endsWith('%')) {
179532
179541
  return undefined;
179533
- } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.match(calcRegex)) {
179542
+ } else if (v.endsWith('px') || v.endsWith('vh') || v.endsWith('vw') || v.endsWith('ch') || v.endsWith('em') || v.match(calcRegex)) {
179534
179543
  return v;
179535
179544
  } else {
179536
179545
  var value = parseInt(v, 10);
@@ -180509,7 +180518,7 @@ const require$$6 = _dll_classnames;
180509
180518
  language: 'spanish'
180510
180519
  }],
180511
180520
  spellCheck: spellCheck,
180512
- width: ("calc(").concat(width, "ch + 42px)"),
180521
+ width: ("calc(").concat(width, "em + 42px)"),
180513
180522
  onKeyDown: handleKeyDown,
180514
180523
  autoWidthToolbar: true,
180515
180524
  toolbarOpts: {
@@ -184063,10 +184072,11 @@ var en = {};
184063
184072
  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.'
184064
184073
  },
184065
184074
  multipleChoice: {
184066
- minSelections_one: 'This question requires at least {{minSelections}} answer.',
184067
- minSelections_other: 'This question requires at least {{minSelections}} answers.',
184075
+ minSelections: 'Select at least {{minSelections}}.',
184068
184076
  maxSelections_one: 'Only {{maxSelections}} answer is allowed.',
184069
- maxSelections_other: 'Only {{maxSelections}} answers are allowed.'
184077
+ maxSelections_other: 'Only {{maxSelections}} answers are allowed.',
184078
+ minmaxSelections_equal: 'Select {{minSelections}}.',
184079
+ minmaxSelections_range: 'Select between {{minSelections}} and {{maxSelections}}.'
184070
184080
  },
184071
184081
  selectText: {
184072
184082
  correctAnswerSelected: 'Correct answer selected',
@@ -184156,10 +184166,11 @@ var es = {};
184156
184166
  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.'
184157
184167
  },
184158
184168
  multipleChoice: {
184159
- minSelections_one: 'Esta pregunta requiere al menos {{minSelections}} respuesta.',
184160
- minSelections_other: 'Esta pregunta requiere al menos {{minSelections}} respuestas.',
184169
+ minSelections: 'Seleccione al menos {{minSelections}}.',
184161
184170
  maxSelections_one: 'Sólo se permite {{maxSelections}} respuesta.',
184162
- maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.'
184171
+ maxSelections_other: 'Sólo se permiten {{maxSelections}} respuestas.',
184172
+ minmaxSelections_equal: 'Seleccione {{minSelections}}.',
184173
+ minmaxSelections_range: 'Seleccione entre {{minSelections}} y {{maxSelections}}.'
184163
184174
  },
184164
184175
  selectText: {
184165
184176
  correctAnswerSelected: 'Respuesta correcta seleccionada',
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "7.3.1-next.7+313c6ad33",
7
+ "version": "7.3.2-next.0+222649200",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@material-ui/core": "^3.9.2",
14
14
  "@pie-framework/pie-player-events": "^0.1.0",
15
- "@pie-lib/pie-toolbox": "2.8.0",
15
+ "@pie-lib/pie-toolbox": "2.9.0",
16
16
  "classnames": "^2.2.5",
17
17
  "lodash": "^4.17.10",
18
18
  "prop-types": "^15.6.1",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "author": "",
23
23
  "license": "ISC",
24
- "gitHead": "313c6ad337831e7960342ce6aaa26bb36233c7bb",
24
+ "gitHead": "22264920035c004ecee9a90c99eb2863e3ce6c60",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {