@pie-element/select-text 8.10.1-next.4 → 8.10.1

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
+ ## [8.10.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text@8.10.0...@pie-element/select-text@8.10.1) (2024-04-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-3644, PD-3673 ([5e28ce0](https://github.com/pie-framework/pie-elements/commit/5e28ce0dab4a7ecd93ef7bba45ddb20f768b450b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [8.10.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text@8.9.1...@pie-element/select-text@8.10.0) (2024-04-18)
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.9.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@7.9.0...@pie-element/select-text-configure@7.9.1) (2024-04-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-3644, PD-3673 ([5e28ce0](https://github.com/pie-framework/pie-elements/commit/5e28ce0dab4a7ecd93ef7bba45ddb20f768b450b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.9.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@7.8.1...@pie-element/select-text-configure@7.9.0) (2024-04-18)
7
18
 
8
19
 
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/select-text-configure",
3
3
  "private": true,
4
- "version": "7.9.0",
4
+ "version": "7.9.1",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
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": "1.15.0",
11
+ "@pie-lib/pie-toolbox": "1.15.1",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "prop-types": "^15.6.2",
@@ -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.8.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-controller@5.8.0...@pie-element/select-text-controller@5.8.1) (2024-04-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-3644, PD-3673 ([5e28ce0](https://github.com/pie-framework/pie-elements/commit/5e28ce0dab4a7ecd93ef7bba45ddb20f768b450b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [5.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-controller@5.7.1...@pie-element/select-text-controller@5.8.0) (2024-04-18)
7
18
 
8
19
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pie-element/select-text-controller",
3
3
  "private": true,
4
- "version": "5.8.0",
4
+ "version": "5.8.1",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "dependencies": {
9
- "@pie-lib/pie-toolbox": "1.15.0",
9
+ "@pie-lib/pie-toolbox": "1.15.1",
10
10
  "debug": "^3.1.0",
11
11
  "lodash": "^4.17.15"
12
12
  },
@@ -103703,6 +103703,7 @@ getDefaultExportFromCjs(mathRendering);
103703
103703
  };
103704
103704
  var renderMath = function renderMath(el, renderOpts) {
103705
103705
  renderOpts = renderOpts || defaultOpts();
103706
+ var _renderOpts = renderOpts, skipWaitForMathRenderingLib = _renderOpts.skipWaitForMathRenderingLib;
103706
103707
  var isString = typeof el === 'string';
103707
103708
  var executeOn = document.body;
103708
103709
  if (isString) {
@@ -103712,7 +103713,7 @@ getDefaultExportFromCjs(mathRendering);
103712
103713
  }
103713
103714
  var unprocessedMathElements = executeOn.querySelectorAll('[data-latex]:not([data-math-handled="true"])');
103714
103715
  unprocessedMathElements.forEach(createPlaceholder);
103715
- waitForMathRenderingLib(function () {
103716
+ var mathRenderingCallback = function mathRenderingCallback() {
103716
103717
  fixMathElements(executeOn);
103717
103718
  adjustMathMLStyle(executeOn);
103718
103719
  if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
@@ -103720,7 +103721,7 @@ getDefaultExportFromCjs(mathRendering);
103720
103721
  mr.renderMath(el);
103721
103722
  return;
103722
103723
  }
103723
- if (!window.MathJax && !window.mathjaxLoadedP) {
103724
+ if (!window.MathJax && !window.mathjaxLoadedP || window.MathJax && !window.hasOwnProperty('@pie-lib/math-rendering-accessible@1')) {
103724
103725
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
103725
103726
  }
103726
103727
  if (isString && window.MathJax && window.mathjaxLoadedP) {
@@ -103767,7 +103768,12 @@ getDefaultExportFromCjs(mathRendering);
103767
103768
  console.error('Error in initializing MathJax:', error);
103768
103769
  });
103769
103770
  }
103770
- });
103771
+ };
103772
+ if (skipWaitForMathRenderingLib) {
103773
+ return mathRenderingCallback();
103774
+ } else {
103775
+ waitForMathRenderingLib(mathRenderingCallback);
103776
+ }
103771
103777
  };
103772
103778
  var _default = renderMath;
103773
103779
  exports["default"] = _default;
package/module/element.js CHANGED
@@ -100531,6 +100531,7 @@ getDefaultExportFromCjs(mathRendering);
100531
100531
  };
100532
100532
  var renderMath = function renderMath(el, renderOpts) {
100533
100533
  renderOpts = renderOpts || defaultOpts();
100534
+ var _renderOpts = renderOpts, skipWaitForMathRenderingLib = _renderOpts.skipWaitForMathRenderingLib;
100534
100535
  var isString = typeof el === 'string';
100535
100536
  var executeOn = document.body;
100536
100537
  if (isString) {
@@ -100540,7 +100541,7 @@ getDefaultExportFromCjs(mathRendering);
100540
100541
  }
100541
100542
  var unprocessedMathElements = executeOn.querySelectorAll('[data-latex]:not([data-math-handled="true"])');
100542
100543
  unprocessedMathElements.forEach(createPlaceholder);
100543
- waitForMathRenderingLib(function () {
100544
+ var mathRenderingCallback = function mathRenderingCallback() {
100544
100545
  fixMathElements(executeOn);
100545
100546
  adjustMathMLStyle(executeOn);
100546
100547
  if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
@@ -100548,7 +100549,7 @@ getDefaultExportFromCjs(mathRendering);
100548
100549
  mr.renderMath(el);
100549
100550
  return;
100550
100551
  }
100551
- if (!window.MathJax && !window.mathjaxLoadedP) {
100552
+ if (!window.MathJax && !window.mathjaxLoadedP || window.MathJax && !window.hasOwnProperty('@pie-lib/math-rendering-accessible@1')) {
100552
100553
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
100553
100554
  }
100554
100555
  if (isString && window.MathJax && window.mathjaxLoadedP) {
@@ -100595,7 +100596,12 @@ getDefaultExportFromCjs(mathRendering);
100595
100596
  console.error('Error in initializing MathJax:', error);
100596
100597
  });
100597
100598
  }
100598
- });
100599
+ };
100600
+ if (skipWaitForMathRenderingLib) {
100601
+ return mathRenderingCallback();
100602
+ } else {
100603
+ waitForMathRenderingLib(mathRenderingCallback);
100604
+ }
100599
100605
  };
100600
100606
  var _default = renderMath;
100601
100607
  exports["default"] = _default;
package/module/print.js CHANGED
@@ -100494,6 +100494,7 @@ getDefaultExportFromCjs(mathRendering);
100494
100494
  };
100495
100495
  var renderMath = function renderMath(el, renderOpts) {
100496
100496
  renderOpts = renderOpts || defaultOpts();
100497
+ var _renderOpts = renderOpts, skipWaitForMathRenderingLib = _renderOpts.skipWaitForMathRenderingLib;
100497
100498
  var isString = typeof el === 'string';
100498
100499
  var executeOn = document.body;
100499
100500
  if (isString) {
@@ -100503,7 +100504,7 @@ getDefaultExportFromCjs(mathRendering);
100503
100504
  }
100504
100505
  var unprocessedMathElements = executeOn.querySelectorAll('[data-latex]:not([data-math-handled="true"])');
100505
100506
  unprocessedMathElements.forEach(createPlaceholder);
100506
- waitForMathRenderingLib(function () {
100507
+ var mathRenderingCallback = function mathRenderingCallback() {
100507
100508
  fixMathElements(executeOn);
100508
100509
  adjustMathMLStyle(executeOn);
100509
100510
  if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
@@ -100511,7 +100512,7 @@ getDefaultExportFromCjs(mathRendering);
100511
100512
  mr.renderMath(el);
100512
100513
  return;
100513
100514
  }
100514
- if (!window.MathJax && !window.mathjaxLoadedP) {
100515
+ if (!window.MathJax && !window.mathjaxLoadedP || window.MathJax && !window.hasOwnProperty('@pie-lib/math-rendering-accessible@1')) {
100515
100516
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
100516
100517
  }
100517
100518
  if (isString && window.MathJax && window.mathjaxLoadedP) {
@@ -100558,7 +100559,12 @@ getDefaultExportFromCjs(mathRendering);
100558
100559
  console.error('Error in initializing MathJax:', error);
100559
100560
  });
100560
100561
  }
100561
- });
100562
+ };
100563
+ if (skipWaitForMathRenderingLib) {
100564
+ return mathRenderingCallback();
100565
+ } else {
100566
+ waitForMathRenderingLib(mathRenderingCallback);
100567
+ }
100562
100568
  };
100563
100569
  var _default = renderMath;
100564
100570
  exports["default"] = _default;
package/package.json CHANGED
@@ -4,19 +4,19 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "8.10.1-next.4+6e2584f69",
7
+ "version": "8.10.1",
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": "1.15.0",
12
+ "@pie-lib/pie-toolbox": "1.15.1",
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": "6e2584f690a90e30a54d01d2aece0cff542a1c75",
19
+ "gitHead": "92284f6b73608127d5fe595524d0ff431e5a71e5",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },