@pie-element/explicit-constructed-response 6.12.2-next.6 → 6.12.2
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 +11 -0
- package/configure/CHANGELOG.md +11 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +11 -0
- package/controller/package.json +2 -2
- package/module/configure.js +2 -2
- package/module/element.js +18 -5
- package/module/manifest.json +2 -2
- package/module/print.js +18 -5
- package/package.json +3 -3
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.12.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.12.1...@pie-element/explicit-constructed-response@6.12.2) (2024-05-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-3537, PD-3538, PD-3539, PD-3540,PD-3680 ([d9cb471](https://github.com/pie-framework/pie-elements/commit/d9cb47148a8fec71d5de29f2cf2b92ec7b479470))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [6.12.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.12.0...@pie-element/explicit-constructed-response@6.12.1) (2024-04-29)
|
|
7
18
|
|
|
8
19
|
|
package/configure/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.11.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.11.1...@pie-element/explicit-constructed-response-configure@6.11.2) (2024-05-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-3537, PD-3538, PD-3539, PD-3540,PD-3680 ([d9cb471](https://github.com/pie-framework/pie-elements/commit/d9cb47148a8fec71d5de29f2cf2b92ec7b479470))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [6.11.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.11.0...@pie-element/explicit-constructed-response-configure@6.11.1) (2024-04-29)
|
|
7
18
|
|
|
8
19
|
|
package/configure/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response-configure",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.2",
|
|
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.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.17.1",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/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
|
+
## [4.10.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.10.1...@pie-element/explicit-constructed-response-controller@4.10.2) (2024-05-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox PD-3537, PD-3538, PD-3539, PD-3540,PD-3680 ([d9cb471](https://github.com/pie-framework/pie-elements/commit/d9cb47148a8fec71d5de29f2cf2b92ec7b479470))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [4.10.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.10.0...@pie-element/explicit-constructed-response-controller@4.10.1) (2024-04-29)
|
|
7
18
|
|
|
8
19
|
|
package/controller/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response-controller",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "4.10.
|
|
4
|
+
"version": "4.10.2",
|
|
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.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.17.1",
|
|
12
12
|
"debug": "^3.1.0",
|
|
13
13
|
"lodash": "^4.17.15",
|
|
14
14
|
"type-of": "^2.0.1"
|
package/module/configure.js
CHANGED
|
@@ -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@1.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@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.10.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.12.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;
|
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_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@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_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.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.12.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;
|
|
@@ -84128,7 +84128,7 @@ const require$$4$e = _dll_prop_types;
|
|
|
84128
84128
|
var _propTypes = _interopRequireDefault(require$$4$e);
|
|
84129
84129
|
var _grey = _interopRequireDefault(grey$1);
|
|
84130
84130
|
var PlaceHolder = function PlaceHolder(props) {
|
|
84131
|
-
var children = props.children, classes = props.classes, className = props.className, isOver = props.isOver, type = props.type, grid = props.grid, disabled = props.disabled, choiceBoard = props.choiceBoard;
|
|
84131
|
+
var children = props.children, classes = props.classes, className = props.className, isOver = props.isOver, type = props.type, grid = props.grid, disabled = props.disabled, choiceBoard = props.choiceBoard, isCategorize = props.isCategorize;
|
|
84132
84132
|
var names = (0, _classnames["default"])(classes.placeholder, disabled && classes.disabled, isOver && classes.over, classes[type], className);
|
|
84133
84133
|
var style = {};
|
|
84134
84134
|
if (grid && grid.columns) {
|
|
@@ -84138,9 +84138,10 @@ const require$$4$e = _dll_prop_types;
|
|
|
84138
84138
|
var repeatValue = grid.rowsRepeatValue || '1fr';
|
|
84139
84139
|
style.gridTemplateRows = ("repeat(").concat(grid.rows, ", ").concat(repeatValue, ")");
|
|
84140
84140
|
}
|
|
84141
|
+
var boardStyle = isCategorize ? classes.categorizeBoard : classes.board;
|
|
84141
84142
|
return _react["default"].createElement("div", {
|
|
84142
84143
|
style: style,
|
|
84143
|
-
className: choiceBoard ?
|
|
84144
|
+
className: choiceBoard ? boardStyle : names
|
|
84144
84145
|
}, children);
|
|
84145
84146
|
};
|
|
84146
84147
|
exports.PlaceHolder = PlaceHolder;
|
|
@@ -84157,7 +84158,8 @@ const require$$4$e = _dll_prop_types;
|
|
|
84157
84158
|
isOver: _propTypes["default"].bool,
|
|
84158
84159
|
index: _propTypes["default"].number,
|
|
84159
84160
|
type: _propTypes["default"].string,
|
|
84160
|
-
disabled: _propTypes["default"].bool
|
|
84161
|
+
disabled: _propTypes["default"].bool,
|
|
84162
|
+
isCategorize: _propTypes["default"].bool
|
|
84161
84163
|
};
|
|
84162
84164
|
var styles = function styles(theme) {
|
|
84163
84165
|
return {
|
|
@@ -84191,6 +84193,17 @@ const require$$4$e = _dll_prop_types;
|
|
|
84191
84193
|
justifyContent: 'center',
|
|
84192
84194
|
overflow: 'hidden',
|
|
84193
84195
|
touchAction: 'none'
|
|
84196
|
+
},
|
|
84197
|
+
categorizeBoard: {
|
|
84198
|
+
border: '1px solid #D1D1D1',
|
|
84199
|
+
padding: theme.spacing.unit / 2,
|
|
84200
|
+
display: 'flex',
|
|
84201
|
+
flexWrap: 'wrap',
|
|
84202
|
+
alignItems: 'center',
|
|
84203
|
+
minHeight: '100px',
|
|
84204
|
+
justifyContent: 'center',
|
|
84205
|
+
overflow: 'hidden',
|
|
84206
|
+
touchAction: 'none'
|
|
84194
84207
|
}
|
|
84195
84208
|
};
|
|
84196
84209
|
};
|
package/module/manifest.json
CHANGED
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_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@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_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.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.12.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;
|
|
@@ -84091,7 +84091,7 @@ const require$$4$e = _dll_prop_types;
|
|
|
84091
84091
|
var _propTypes = _interopRequireDefault(require$$4$e);
|
|
84092
84092
|
var _grey = _interopRequireDefault(grey$1);
|
|
84093
84093
|
var PlaceHolder = function PlaceHolder(props) {
|
|
84094
|
-
var children = props.children, classes = props.classes, className = props.className, isOver = props.isOver, type = props.type, grid = props.grid, disabled = props.disabled, choiceBoard = props.choiceBoard;
|
|
84094
|
+
var children = props.children, classes = props.classes, className = props.className, isOver = props.isOver, type = props.type, grid = props.grid, disabled = props.disabled, choiceBoard = props.choiceBoard, isCategorize = props.isCategorize;
|
|
84095
84095
|
var names = (0, _classnames["default"])(classes.placeholder, disabled && classes.disabled, isOver && classes.over, classes[type], className);
|
|
84096
84096
|
var style = {};
|
|
84097
84097
|
if (grid && grid.columns) {
|
|
@@ -84101,9 +84101,10 @@ const require$$4$e = _dll_prop_types;
|
|
|
84101
84101
|
var repeatValue = grid.rowsRepeatValue || '1fr';
|
|
84102
84102
|
style.gridTemplateRows = ("repeat(").concat(grid.rows, ", ").concat(repeatValue, ")");
|
|
84103
84103
|
}
|
|
84104
|
+
var boardStyle = isCategorize ? classes.categorizeBoard : classes.board;
|
|
84104
84105
|
return _react["default"].createElement("div", {
|
|
84105
84106
|
style: style,
|
|
84106
|
-
className: choiceBoard ?
|
|
84107
|
+
className: choiceBoard ? boardStyle : names
|
|
84107
84108
|
}, children);
|
|
84108
84109
|
};
|
|
84109
84110
|
exports.PlaceHolder = PlaceHolder;
|
|
@@ -84120,7 +84121,8 @@ const require$$4$e = _dll_prop_types;
|
|
|
84120
84121
|
isOver: _propTypes["default"].bool,
|
|
84121
84122
|
index: _propTypes["default"].number,
|
|
84122
84123
|
type: _propTypes["default"].string,
|
|
84123
|
-
disabled: _propTypes["default"].bool
|
|
84124
|
+
disabled: _propTypes["default"].bool,
|
|
84125
|
+
isCategorize: _propTypes["default"].bool
|
|
84124
84126
|
};
|
|
84125
84127
|
var styles = function styles(theme) {
|
|
84126
84128
|
return {
|
|
@@ -84154,6 +84156,17 @@ const require$$4$e = _dll_prop_types;
|
|
|
84154
84156
|
justifyContent: 'center',
|
|
84155
84157
|
overflow: 'hidden',
|
|
84156
84158
|
touchAction: 'none'
|
|
84159
|
+
},
|
|
84160
|
+
categorizeBoard: {
|
|
84161
|
+
border: '1px solid #D1D1D1',
|
|
84162
|
+
padding: theme.spacing.unit / 2,
|
|
84163
|
+
display: 'flex',
|
|
84164
|
+
flexWrap: 'wrap',
|
|
84165
|
+
alignItems: 'center',
|
|
84166
|
+
minHeight: '100px',
|
|
84167
|
+
justifyContent: 'center',
|
|
84168
|
+
overflow: 'hidden',
|
|
84169
|
+
touchAction: 'none'
|
|
84157
84170
|
}
|
|
84158
84171
|
};
|
|
84159
84172
|
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.12.2
|
|
7
|
+
"version": "6.12.2",
|
|
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": "1.
|
|
15
|
+
"@pie-lib/pie-toolbox": "1.17.1",
|
|
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": "
|
|
24
|
+
"gitHead": "e36060353a9a0203a362c8f42780002a072cebdb",
|
|
25
25
|
"main": "lib/index.js",
|
|
26
26
|
"module": "src/index.js",
|
|
27
27
|
"exports": {
|