@pie-element/explicit-constructed-response 6.3.3-next.9 → 6.4.1-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
+ # [6.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.3.2...@pie-element/explicit-constructed-response@6.4.0) (2024-03-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * update pie-lib/pie-toolbox version PD-1870 and PD-3501 ([8df1d8d](https://github.com/pie-framework/pie-elements/commit/8df1d8d281a0d6023d5a9c0e6fdd29fea71b6ac1))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.3.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.3.1...@pie-element/explicit-constructed-response@6.3.2) (2024-02-20)
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
+ # [6.4.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.3.2...@pie-element/explicit-constructed-response-configure@6.4.0) (2024-03-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * update pie-lib/pie-toolbox version PD-1870 and PD-3501 ([8df1d8d](https://github.com/pie-framework/pie-elements/commit/8df1d8d281a0d6023d5a9c0e6fdd29fea71b6ac1))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.3.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.3.1...@pie-element/explicit-constructed-response-configure@6.3.2) (2024-02-20)
7
18
 
8
19
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-configure",
3
- "version": "6.3.2",
3
+ "version": "6.4.0",
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": "1.7.4",
11
+ "@pie-lib/pie-toolbox": "1.8.1",
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
+ # [4.3.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.2.2...@pie-element/explicit-constructed-response-controller@4.3.0) (2024-03-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * update pie-lib/pie-toolbox version PD-1870 and PD-3501 ([8df1d8d](https://github.com/pie-framework/pie-elements/commit/8df1d8d281a0d6023d5a9c0e6fdd29fea71b6ac1))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.2.1...@pie-element/explicit-constructed-response-controller@4.2.2) (2024-02-20)
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": "4.2.2",
4
+ "version": "4.3.0",
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": "1.7.4",
11
+ "@pie-lib/pie-toolbox": "1.8.1",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
@@ -1,4 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui, _dll_debug} from "../../../@pie-lib/pie-toolbox-module@2.0.0/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@1.1.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@4.0.0/module/index.js";
2
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
3
4
  function getDefaultExportFromCjs(x) {
4
5
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -16215,9 +16216,9 @@ const {cloneDeep: require$$11$1} = _dll_lodash;
16215
16216
  const {isEmpty: require$$12$1} = _dll_lodash;
16216
16217
  const {pick: require$$13$1} = _dll_lodash;
16217
16218
  const {throttle: require$$14} = _dll_lodash;
16219
+ const require$$25 = _dll_classnames;
16218
16220
  const require$$15 = _dll_pie_lib__pie_toolbox_editable_html;
16219
16221
  const require$$16 = _dll_pie_lib__pie_toolbox_config_ui;
16220
- const require$$25 = _dll_classnames;
16221
16222
  (function (exports) {
16222
16223
  var _interopRequireDefault = interopRequireDefault.exports;
16223
16224
  Object.defineProperty(exports, "__esModule", {
package/module/element.js CHANGED
@@ -1,4 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-module@2.0.0/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_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.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@4.0.0/module/index.js";
2
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
3
4
  function getDefaultExportFromCjs(x) {
4
5
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -69854,6 +69855,10 @@ const require$$12$a = _dll_debug;
69854
69855
  };
69855
69856
  };
69856
69857
  var renderMath = function renderMath(el, renderOpts) {
69858
+ var _getGlobal$instance, _getGlobal$instance2;
69859
+ if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
69860
+ return;
69861
+ }
69857
69862
  var isString = typeof el === 'string';
69858
69863
  var executeOn = document.body;
69859
69864
  if (isString) {
@@ -69882,12 +69887,12 @@ const require$$12$a = _dll_debug;
69882
69887
  log('el is undefined');
69883
69888
  return;
69884
69889
  }
69885
- if (el instanceof Element && getGlobal().instance) {
69890
+ if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
69886
69891
  getGlobal().instance.Typeset(el);
69887
- } else if (el.length && getGlobal().instance) {
69888
- var _getGlobal$instance;
69892
+ } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
69893
+ var _getGlobal$instance3;
69889
69894
  var arr = Array.from(el);
69890
- (_getGlobal$instance = getGlobal().instance).Typeset.apply(_getGlobal$instance, (0, _toConsumableArray2["default"])(arr));
69895
+ (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
69891
69896
  }
69892
69897
  };
69893
69898
  _mspace.CHTMLmspace.styles = {
@@ -128273,12 +128278,12 @@ const PropTypes = _dll_prop_types;
128273
128278
  const {debounce: debounce} = _dll_lodash;
128274
128279
  const {isEmpty: isEmpty} = _dll_lodash;
128275
128280
  const {isEqual: isEqual} = _dll_lodash;
128281
+ const classNames = _dll_classnames;
128276
128282
  const {CorrectAnswerToggle: CorrectAnswerToggle} = _dll_pie_lib__pie_toolbox_correct_answer_toggle;
128277
128283
  const {color: color} = _dll_pie_lib__pie_toolbox_render_ui;
128278
128284
  const {Collapsible: Collapsible} = _dll_pie_lib__pie_toolbox_render_ui;
128279
128285
  const {hasText: hasText} = _dll_pie_lib__pie_toolbox_render_ui;
128280
128286
  const {PreviewPrompt: PreviewPrompt} = _dll_pie_lib__pie_toolbox_render_ui;
128281
- const classNames = _dll_classnames;
128282
128287
  const _jsxFileName = "/home/circleci/repo/packages/explicit-constructed-response/src/main.js";
128283
128288
  const {translator} = Translator;
128284
128289
  class Main extends React$1.Component {
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@6.3.2</title>
5
+ <title>@pie-element/explicit-constructed-response@6.4.0</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,10 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response",
3
- "version": "6.3.2",
3
+ "version": "6.4.0",
4
4
  "modules": [
5
+ {
6
+ "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
+ "version": "1.1.0"
8
+ },
5
9
  {
6
10
  "name": "@pie-lib/pie-toolbox-module",
7
- "version": "2.0.0"
11
+ "version": "4.0.0"
8
12
  }
9
13
  ]
10
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@6.3.2</title>
5
+ <title>@pie-element/explicit-constructed-response@6.4.0</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,4 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-module@2.0.0/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_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.1.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@4.0.0/module/index.js";
2
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
3
4
  function getDefaultExportFromCjs(x) {
4
5
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -69817,6 +69818,10 @@ const require$$12$a = _dll_debug;
69817
69818
  };
69818
69819
  };
69819
69820
  var renderMath = function renderMath(el, renderOpts) {
69821
+ var _getGlobal$instance, _getGlobal$instance2;
69822
+ if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
69823
+ return;
69824
+ }
69820
69825
  var isString = typeof el === 'string';
69821
69826
  var executeOn = document.body;
69822
69827
  if (isString) {
@@ -69845,12 +69850,12 @@ const require$$12$a = _dll_debug;
69845
69850
  log('el is undefined');
69846
69851
  return;
69847
69852
  }
69848
- if (el instanceof Element && getGlobal().instance) {
69853
+ if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
69849
69854
  getGlobal().instance.Typeset(el);
69850
- } else if (el.length && getGlobal().instance) {
69851
- var _getGlobal$instance;
69855
+ } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
69856
+ var _getGlobal$instance3;
69852
69857
  var arr = Array.from(el);
69853
- (_getGlobal$instance = getGlobal().instance).Typeset.apply(_getGlobal$instance, (0, _toConsumableArray2["default"])(arr));
69858
+ (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
69854
69859
  }
69855
69860
  };
69856
69861
  _mspace.CHTMLmspace.styles = {
@@ -128236,12 +128241,12 @@ const PropTypes = _dll_prop_types;
128236
128241
  const {debounce: debounce$1} = _dll_lodash;
128237
128242
  const {isEmpty: isEmpty} = _dll_lodash;
128238
128243
  const {isEqual: isEqual} = _dll_lodash;
128244
+ const classNames = _dll_classnames;
128239
128245
  const {CorrectAnswerToggle: CorrectAnswerToggle} = _dll_pie_lib__pie_toolbox_correct_answer_toggle;
128240
128246
  const {color: color} = _dll_pie_lib__pie_toolbox_render_ui;
128241
128247
  const {Collapsible: Collapsible} = _dll_pie_lib__pie_toolbox_render_ui;
128242
128248
  const {hasText: hasText} = _dll_pie_lib__pie_toolbox_render_ui;
128243
128249
  const {PreviewPrompt: PreviewPrompt} = _dll_pie_lib__pie_toolbox_render_ui;
128244
- const classNames = _dll_classnames;
128245
128250
  const _jsxFileName = "/home/circleci/repo/packages/explicit-constructed-response/src/main.js";
128246
128251
  const {translator} = Translator;
128247
128252
  class Main extends React$1.Component {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "6.3.3-next.9+0e3bad244",
7
+ "version": "6.4.1-next.0+6142ef5c9",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "@material-ui/core": "^3.9.2",
15
15
  "@pie-framework/pie-player-events": "^0.1.0",
16
- "@pie-lib/pie-toolbox": "1.7.4",
16
+ "@pie-lib/pie-toolbox": "1.8.1",
17
17
  "classnames": "^2.2.5",
18
18
  "lodash": "^4.17.10",
19
19
  "prop-types": "^15.6.1",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "author": "",
24
24
  "license": "ISC",
25
- "gitHead": "0e3bad2448efb7228818808395371d5c4df6fca1",
25
+ "gitHead": "6142ef5c90d80fe9f0c50572e8a99693f6420731",
26
26
  "main": "lib/index.js",
27
27
  "module": "src/index.js",
28
28
  "exports": {