@pie-element/explicit-constructed-response 6.4.2 → 6.4.3-next.18
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/configure/package.json +1 -1
- package/controller/package.json +1 -1
- package/module/configure.js +1 -1
- package/module/element.js +8 -4
- package/module/index.html +1 -1
- package/module/manifest.json +2 -2
- package/module/print.html +1 -1
- package/module/print.js +8 -4
- package/package.json +3 -3
package/configure/package.json
CHANGED
|
@@ -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.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.9.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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.
|
|
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.6/module/index.js";
|
|
2
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";
|
|
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) {
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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.
|
|
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.6/module/index.js";
|
|
2
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";
|
|
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) {
|
|
@@ -116786,7 +116786,8 @@ var defaults = {
|
|
|
116786
116786
|
SECONDARY_LIGHT: _pink["default"][200],
|
|
116787
116787
|
SECONDARY_DARK: _pink["default"][900],
|
|
116788
116788
|
BACKGROUND: 'rgba(255,255,255,0)',
|
|
116789
|
-
SECONDARY_BACKGROUND: 'rgba(241,241,241,1)'
|
|
116789
|
+
SECONDARY_BACKGROUND: 'rgba(241,241,241,1)',
|
|
116790
|
+
BLACK: '#000000'
|
|
116790
116791
|
};
|
|
116791
116792
|
color$1.defaults = defaults;
|
|
116792
116793
|
Object.freeze(defaults);
|
|
@@ -123104,8 +123105,11 @@ const require$$6$5 = _dll_classnames;
|
|
|
123104
123105
|
var correct = props.correct, charactersLimit = props.charactersLimit, classes = props.classes, disabled = props.disabled, isBox = props.isBox, isConstructedResponse = props.isConstructedResponse, width = props.width, spellCheck = props.spellCheck, rest = (0, _objectWithoutProperties2["default"])(props, _excluded);
|
|
123105
123106
|
var label = typeof correct === 'boolean' ? correct ? 'correct' : 'incorrect' : undefined;
|
|
123106
123107
|
var inputProps = charactersLimit ? {
|
|
123107
|
-
maxLength: charactersLimit
|
|
123108
|
-
|
|
123108
|
+
maxLength: charactersLimit,
|
|
123109
|
+
'aria-label': 'Enter answer'
|
|
123110
|
+
} : {
|
|
123111
|
+
'aria-label': 'Enter answer'
|
|
123112
|
+
};
|
|
123109
123113
|
if (width) {
|
|
123110
123114
|
inputProps.style = {
|
|
123111
123115
|
width: ("").concat(width + Math.round(width / 10) + 1, "ch")
|
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.4.
|
|
5
|
+
<title>@pie-element/explicit-constructed-response@6.4.2</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>
|
package/module/manifest.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.2",
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"name": "@pie-lib/pie-toolbox-math-rendering-module",
|
|
7
|
-
"version": "1.1.
|
|
7
|
+
"version": "1.1.6"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@pie-lib/pie-toolbox-module",
|
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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.
|
|
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.6/module/index.js";
|
|
2
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";
|
|
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) {
|
|
@@ -116749,7 +116749,8 @@ var defaults = {
|
|
|
116749
116749
|
SECONDARY_LIGHT: _pink["default"][200],
|
|
116750
116750
|
SECONDARY_DARK: _pink["default"][900],
|
|
116751
116751
|
BACKGROUND: 'rgba(255,255,255,0)',
|
|
116752
|
-
SECONDARY_BACKGROUND: 'rgba(241,241,241,1)'
|
|
116752
|
+
SECONDARY_BACKGROUND: 'rgba(241,241,241,1)',
|
|
116753
|
+
BLACK: '#000000'
|
|
116753
116754
|
};
|
|
116754
116755
|
color$1.defaults = defaults;
|
|
116755
116756
|
Object.freeze(defaults);
|
|
@@ -123067,8 +123068,11 @@ const require$$6$5 = _dll_classnames;
|
|
|
123067
123068
|
var correct = props.correct, charactersLimit = props.charactersLimit, classes = props.classes, disabled = props.disabled, isBox = props.isBox, isConstructedResponse = props.isConstructedResponse, width = props.width, spellCheck = props.spellCheck, rest = (0, _objectWithoutProperties2["default"])(props, _excluded);
|
|
123068
123069
|
var label = typeof correct === 'boolean' ? correct ? 'correct' : 'incorrect' : undefined;
|
|
123069
123070
|
var inputProps = charactersLimit ? {
|
|
123070
|
-
maxLength: charactersLimit
|
|
123071
|
-
|
|
123071
|
+
maxLength: charactersLimit,
|
|
123072
|
+
'aria-label': 'Enter answer'
|
|
123073
|
+
} : {
|
|
123074
|
+
'aria-label': 'Enter answer'
|
|
123075
|
+
};
|
|
123072
123076
|
if (width) {
|
|
123073
123077
|
inputProps.style = {
|
|
123074
123078
|
width: ("").concat(width + Math.round(width / 10) + 1, "ch")
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.4.
|
|
7
|
+
"version": "6.4.3-next.18+0986421db",
|
|
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.
|
|
16
|
+
"@pie-lib/pie-toolbox": "1.9.0",
|
|
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": "
|
|
25
|
+
"gitHead": "0986421dba862007848e69b09d68c2fdde82eb23",
|
|
26
26
|
"main": "lib/index.js",
|
|
27
27
|
"module": "src/index.js",
|
|
28
28
|
"exports": {
|