@pie-element/math-templated 2.11.2-next.7000 → 2.12.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 +37 -0
- package/configure/CHANGELOG.md +30 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +19 -0
- package/controller/package.json +2 -2
- package/module/configure.js +10 -1
- package/module/controller.js +49 -2
- package/module/element.js +10 -1
- package/module/print.js +10 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
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
|
+
# 2.12.0 (2024-06-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* don't reset session when Panel gets updated ([19edf14](https://github.com/pie-framework/pie-elements/commit/19edf1466b826bdabb9b5648f8c1a29c8429bc18))
|
|
12
|
+
* typo ([8e38039](https://github.com/pie-framework/pie-elements/commit/8e380395f61631acac4a00ba6becc0f6520862bc))
|
|
13
|
+
* wrap content ([fc97502](https://github.com/pie-framework/pie-elements/commit/fc9750254660cdd05df8eff3176a35faf02154f9))
|
|
14
|
+
* **math-templated:** allow trailing zeros and ignore order not working in response ([67ffebf](https://github.com/pie-framework/pie-elements/commit/67ffebf00c94d405d67e7cca9d8d427d04562063))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* add new Response Area Type: math-templated PD-632 ([d45574b](https://github.com/pie-framework/pie-elements/commit/d45574b31265aae82805511ec11be81abc1c29e8))
|
|
20
|
+
* add new Response Area Type: math-templated update pie-toolbox PD-632 ([a8c0544](https://github.com/pie-framework/pie-elements/commit/a8c054419ea5d5473eaab96236cd4a94d04c3e5f))
|
|
21
|
+
* add print module ([b1bdc18](https://github.com/pie-framework/pie-elements/commit/b1bdc18476a3b9d553e897362b242182bb135223))
|
|
22
|
+
* authoring - more design tweaks ([216500f](https://github.com/pie-framework/pie-elements/commit/216500f19cdd86406b13a54c5122f5005e6acc5c))
|
|
23
|
+
* PD-632 update model in generate ([ee55928](https://github.com/pie-framework/pie-elements/commit/ee55928dc4e1dd62b53fb4e525cc045212466b4f))
|
|
24
|
+
* render responses, add/delete response area ([891fda5](https://github.com/pie-framework/pie-elements/commit/891fda5fbb4d013eb7b94a1f9e2e644e6a5a87b7))
|
|
25
|
+
* show correctness, fix: update sessions according to model ([7f2eb24](https://github.com/pie-framework/pie-elements/commit/7f2eb241aa20dd8c909a638add93016071b84788))
|
|
26
|
+
* started on player, this is wip ([234e8ad](https://github.com/pie-framework/pie-elements/commit/234e8adcc9066db6aedde11b029204dc528c3d7c))
|
|
27
|
+
* started working on print ([f7ce5bf](https://github.com/pie-framework/pie-elements/commit/f7ce5bfdbcb73e7c9399db92842a6d995950eebe))
|
|
28
|
+
* update pie-lib/pie-toolbox PD-3733, PD-2455 ([a507dcb](https://github.com/pie-framework/pie-elements/commit/a507dcb30bf2de72614aaba8ee576edf0c953d05))
|
|
29
|
+
* use pie-toolbox that contains the customizable mask PD-632 ([5356e45](https://github.com/pie-framework/pie-elements/commit/5356e452e4d386ec54be6447a84544ce4d1bc8fa))
|
|
30
|
+
* Used the new customizable mask to render response areas PD-632 ([6869f8b](https://github.com/pie-framework/pie-elements/commit/6869f8bbebf119a46cbd6bf78ddb1097dacb2ac7))
|
|
31
|
+
* wip added note in player and controller ([d88557b](https://github.com/pie-framework/pie-elements/commit/d88557baf6d51cbe76fb1c4adfe9aa0edea352e2))
|
|
32
|
+
* wip controller refactor, feedback and score calculations PD-632 ([335e603](https://github.com/pie-framework/pie-elements/commit/335e6030cb97666378eae665cbb9730af319b00c))
|
|
33
|
+
* wip PD-632 ([3cb17f9](https://github.com/pie-framework/pie-elements/commit/3cb17f989db3b3ae87aacf8b67d834ade66ed38d))
|
|
34
|
+
* wip PD-632 ([f091a3a](https://github.com/pie-framework/pie-elements/commit/f091a3a1494b377e4937903a1dacceef6bf4ab9e))
|
|
35
|
+
* wip PD-632, refactored configure, changed titles, spaces, added delete icon. Added maxResponseArea support ([cd64cca](https://github.com/pie-framework/pie-elements/commit/cd64cca29df43e4b03b54ef9d613a5bb73829ee3))
|
|
36
|
+
* **math-templated:** created new item type, initial setup mapping components in authoring PD-632 ([f94dc33](https://github.com/pie-framework/pie-elements/commit/f94dc33d0b476df6cd1b287c73fde17bedf1e828))
|
|
37
|
+
* **math-templated:** wip implementing controller logic PD-632 ([59ba8e5](https://github.com/pie-framework/pie-elements/commit/59ba8e586cbb2d059295b9d052264aa796baa500))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
6
43
|
## [2.11.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/boilerplate-item-type@2.11.0...@pie-element/boilerplate-item-type@2.11.1) (2024-04-29)
|
|
7
44
|
|
|
8
45
|
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
# 1.1.0 (2024-06-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* don't reset session when Panel gets updated ([19edf14](https://github.com/pie-framework/pie-elements/commit/19edf1466b826bdabb9b5648f8c1a29c8429bc18))
|
|
12
|
+
* **math-templated:** allow trailing zeros and ignore order not working in response ([67ffebf](https://github.com/pie-framework/pie-elements/commit/67ffebf00c94d405d67e7cca9d8d427d04562063))
|
|
13
|
+
* typo ([8e38039](https://github.com/pie-framework/pie-elements/commit/8e380395f61631acac4a00ba6becc0f6520862bc))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add new Response Area Type: math-templated PD-632 ([d45574b](https://github.com/pie-framework/pie-elements/commit/d45574b31265aae82805511ec11be81abc1c29e8))
|
|
19
|
+
* add new Response Area Type: math-templated update pie-toolbox PD-632 ([a8c0544](https://github.com/pie-framework/pie-elements/commit/a8c054419ea5d5473eaab96236cd4a94d04c3e5f))
|
|
20
|
+
* authoring - more design tweaks ([216500f](https://github.com/pie-framework/pie-elements/commit/216500f19cdd86406b13a54c5122f5005e6acc5c))
|
|
21
|
+
* render responses, add/delete response area ([891fda5](https://github.com/pie-framework/pie-elements/commit/891fda5fbb4d013eb7b94a1f9e2e644e6a5a87b7))
|
|
22
|
+
* show correctness, fix: update sessions according to model ([7f2eb24](https://github.com/pie-framework/pie-elements/commit/7f2eb241aa20dd8c909a638add93016071b84788))
|
|
23
|
+
* started working on print ([f7ce5bf](https://github.com/pie-framework/pie-elements/commit/f7ce5bfdbcb73e7c9399db92842a6d995950eebe))
|
|
24
|
+
* update pie-lib/pie-toolbox PD-3733, PD-2455 ([a507dcb](https://github.com/pie-framework/pie-elements/commit/a507dcb30bf2de72614aaba8ee576edf0c953d05))
|
|
25
|
+
* use pie-toolbox that contains the customizable mask PD-632 ([5356e45](https://github.com/pie-framework/pie-elements/commit/5356e452e4d386ec54be6447a84544ce4d1bc8fa))
|
|
26
|
+
* wip controller refactor, feedback and score calculations PD-632 ([335e603](https://github.com/pie-framework/pie-elements/commit/335e6030cb97666378eae665cbb9730af319b00c))
|
|
27
|
+
* wip PD-632 ([3cb17f9](https://github.com/pie-framework/pie-elements/commit/3cb17f989db3b3ae87aacf8b67d834ade66ed38d))
|
|
28
|
+
* wip PD-632 ([f091a3a](https://github.com/pie-framework/pie-elements/commit/f091a3a1494b377e4937903a1dacceef6bf4ab9e))
|
|
29
|
+
* wip PD-632, refactored configure, changed titles, spaces, added delete icon. Added maxResponseArea support ([cd64cca](https://github.com/pie-framework/pie-elements/commit/cd64cca29df43e4b03b54ef9d613a5bb73829ee3))
|
|
30
|
+
* **math-templated:** created new item type, initial setup mapping components in authoring PD-632 ([f94dc33](https://github.com/pie-framework/pie-elements/commit/f94dc33d0b476df6cd1b287c73fde17bedf1e828))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [2.10.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/boilerplate-item-type-configure@2.10.0...@pie-element/boilerplate-item-type-configure@2.10.1) (2024-04-29)
|
|
7
37
|
|
|
8
38
|
|
package/configure/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/math-templated-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
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.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.21.0",
|
|
12
12
|
"debug": "^3.1.0",
|
|
13
13
|
"lodash": "^4.17.15",
|
|
14
14
|
"prop-types": "^15.6.2",
|
package/controller/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
# 2.10.0 (2024-06-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add new Response Area Type: math-templated update pie-toolbox PD-632 ([a8c0544](https://github.com/pie-framework/pie-elements/commit/a8c054419ea5d5473eaab96236cd4a94d04c3e5f))
|
|
12
|
+
* show correctness, fix: update sessions according to model ([7f2eb24](https://github.com/pie-framework/pie-elements/commit/7f2eb241aa20dd8c909a638add93016071b84788))
|
|
13
|
+
* started on player, this is wip ([234e8ad](https://github.com/pie-framework/pie-elements/commit/234e8adcc9066db6aedde11b029204dc528c3d7c))
|
|
14
|
+
* update pie-lib/pie-toolbox PD-3733, PD-2455 ([a507dcb](https://github.com/pie-framework/pie-elements/commit/a507dcb30bf2de72614aaba8ee576edf0c953d05))
|
|
15
|
+
* use pie-toolbox that contains the customizable mask PD-632 ([5356e45](https://github.com/pie-framework/pie-elements/commit/5356e452e4d386ec54be6447a84544ce4d1bc8fa))
|
|
16
|
+
* wip added note in player and controller ([d88557b](https://github.com/pie-framework/pie-elements/commit/d88557baf6d51cbe76fb1c4adfe9aa0edea352e2))
|
|
17
|
+
* wip controller refactor, feedback and score calculations PD-632 ([335e603](https://github.com/pie-framework/pie-elements/commit/335e6030cb97666378eae665cbb9730af319b00c))
|
|
18
|
+
* **math-templated:** created new item type, initial setup mapping components in authoring PD-632 ([f94dc33](https://github.com/pie-framework/pie-elements/commit/f94dc33d0b476df6cd1b287c73fde17bedf1e828))
|
|
19
|
+
* **math-templated:** wip implementing controller logic PD-632 ([59ba8e5](https://github.com/pie-framework/pie-elements/commit/59ba8e586cbb2d059295b9d052264aa796baa500))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.9.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/boilerplate-item-type-controller@2.9.0...@pie-element/boilerplate-item-type-controller@2.9.1) (2024-04-29)
|
|
7
26
|
|
|
8
27
|
|
package/controller/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/math-templated-controller",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.10.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@pie-lib/pie-toolbox": "1.19.0",
|
|
10
9
|
"@pie-framework/math-validation": "^1.2.2",
|
|
10
|
+
"@pie-lib/pie-toolbox": "1.21.0",
|
|
11
11
|
"debug": "^3.1.0",
|
|
12
12
|
"lodash": "^4.17.15"
|
|
13
13
|
},
|
package/module/configure.js
CHANGED
|
@@ -40520,7 +40520,7 @@ var _interopRequireDefault$s = interopRequireDefault.exports;
|
|
|
40520
40520
|
Object.defineProperty(color, "__esModule", {
|
|
40521
40521
|
value: true
|
|
40522
40522
|
});
|
|
40523
|
-
color.v = color.text = color.secondaryText = color.secondaryLight = color.secondaryDark = color.secondaryBackground = color.secondary = color.primaryText = color.primaryLight = color.primaryDark = color.primary = color.missing = color.incorrectSecondary = color.incorrect = color.disabled = color.defaults = color.correctSecondary = color.correct = color.background = void 0;
|
|
40523
|
+
color.v = color.text = color.secondaryText = color.secondaryLight = color.secondaryDark = color.secondaryBackground = color.secondary = color.primaryText = color.primaryLight = color.primaryDark = color.primary = color.missing = color.incorrectSecondary = color.incorrect = color.disabledSecondary = color.disabled = color.defaults = color.correctSecondary = color.correct = color.black = color.background = void 0;
|
|
40524
40524
|
var _green = _interopRequireDefault$s(green$1);
|
|
40525
40525
|
var _orange = _interopRequireDefault$s(orange$1);
|
|
40526
40526
|
var _pink = _interopRequireDefault$s(pink$1);
|
|
@@ -40529,6 +40529,7 @@ var _red = _interopRequireDefault$s(red$1);
|
|
|
40529
40529
|
var defaults$1 = {
|
|
40530
40530
|
TEXT: 'black',
|
|
40531
40531
|
DISABLED: 'grey',
|
|
40532
|
+
DISABLED_SECONDARY: '#ABABAB',
|
|
40532
40533
|
CORRECT: _green["default"][500],
|
|
40533
40534
|
CORRECT_SECONDARY: _green["default"][50],
|
|
40534
40535
|
INCORRECT: _orange["default"][500],
|
|
@@ -40567,6 +40568,10 @@ var disabled = function disabled() {
|
|
|
40567
40568
|
return pv('disabled', defaults$1.DISABLED);
|
|
40568
40569
|
};
|
|
40569
40570
|
color.disabled = disabled;
|
|
40571
|
+
var disabledSecondary = function disabledSecondary() {
|
|
40572
|
+
return pv('disabled-secondary', defaults$1.DISABLED_SECONDARY);
|
|
40573
|
+
};
|
|
40574
|
+
color.disabledSecondary = disabledSecondary;
|
|
40570
40575
|
var correct = function correct() {
|
|
40571
40576
|
return pv('correct', defaults$1.CORRECT);
|
|
40572
40577
|
};
|
|
@@ -40627,6 +40632,10 @@ var secondaryBackground = function secondaryBackground() {
|
|
|
40627
40632
|
return pv('secondary-background', defaults$1.SECONDARY_BACKGROUND);
|
|
40628
40633
|
};
|
|
40629
40634
|
color.secondaryBackground = secondaryBackground;
|
|
40635
|
+
var black = function black() {
|
|
40636
|
+
return pv('black', defaults$1.BLACK);
|
|
40637
|
+
};
|
|
40638
|
+
color.black = black;
|
|
40630
40639
|
const require$$9$8 = _dll_react;
|
|
40631
40640
|
const require$$11$7 = _dll_classnames;
|
|
40632
40641
|
const require$$12$5 = _dll_prop_types;
|
package/module/controller.js
CHANGED
|
@@ -4050,7 +4050,7 @@ var _interopRequireDefault$2 = interopRequireDefault.exports;
|
|
|
4050
4050
|
Object.defineProperty(feedback, "__esModule", {
|
|
4051
4051
|
value: true
|
|
4052
4052
|
});
|
|
4053
|
-
feedback.getFeedbackForCorrectness = feedback.getFeedback = feedback.defaults = void 0;
|
|
4053
|
+
feedback.getFeedbackForCorrectness = feedback.getFeedback = feedback.getActualFeedbackForCorrectness = feedback.getActualFeedback = feedback.defaults = void 0;
|
|
4054
4054
|
|
|
4055
4055
|
var _defineProperty2 = _interopRequireDefault$2(defineProperty$1.exports);
|
|
4056
4056
|
|
|
@@ -4141,10 +4141,45 @@ var getFeedback = function getFeedback(feedback, fallback) {
|
|
|
4141
4141
|
var out = feedback[feedback.type] || fallback;
|
|
4142
4142
|
resolve(out);
|
|
4143
4143
|
});
|
|
4144
|
-
};
|
|
4144
|
+
}; // TODO: should replace getFeedbackForCorrectness
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* Get feedback for correctness
|
|
4148
|
+
* @param {'correct'|'incorrect'|'partial'} correctness
|
|
4149
|
+
* @param {Feedback} feedback
|
|
4150
|
+
*/
|
|
4151
|
+
|
|
4145
4152
|
|
|
4146
4153
|
feedback.getFeedback = getFeedback;
|
|
4147
4154
|
|
|
4155
|
+
var getActualFeedbackForCorrectness = function getActualFeedbackForCorrectness(correctness, feedback) {
|
|
4156
|
+
feedback = _objectSpread(_objectSpread({}, defaults$1), feedback); // normalize correctness
|
|
4157
|
+
|
|
4158
|
+
correctness = correctness === 'partially-correct' ? 'partial' : correctness;
|
|
4159
|
+
var defaultFeedback = defaults$1[correctness] || {};
|
|
4160
|
+
var fb = feedback[correctness] || defaultFeedback;
|
|
4161
|
+
return getActualFeedback(fb, defaultFeedback[fb.type || 'default']);
|
|
4162
|
+
}; // TODO: should replace getFeedback
|
|
4163
|
+
|
|
4164
|
+
/**
|
|
4165
|
+
* Get the feedback from a {FeedbackConfig}
|
|
4166
|
+
* @param {FeedbackConfig} feedback
|
|
4167
|
+
* @param {string} fallback
|
|
4168
|
+
*/
|
|
4169
|
+
|
|
4170
|
+
|
|
4171
|
+
feedback.getActualFeedbackForCorrectness = getActualFeedbackForCorrectness;
|
|
4172
|
+
|
|
4173
|
+
var getActualFeedback = function getActualFeedback(feedback, fallback) {
|
|
4174
|
+
if (!feedback || feedback.type === 'none') {
|
|
4175
|
+
return undefined;
|
|
4176
|
+
}
|
|
4177
|
+
|
|
4178
|
+
return feedback[feedback.type] || fallback;
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
feedback.getActualFeedback = getActualFeedback;
|
|
4182
|
+
|
|
4148
4183
|
(function (exports) {
|
|
4149
4184
|
|
|
4150
4185
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4156,6 +4191,18 @@ Object.defineProperty(exports, "defaults", {
|
|
|
4156
4191
|
return _feedback.defaults;
|
|
4157
4192
|
}
|
|
4158
4193
|
});
|
|
4194
|
+
Object.defineProperty(exports, "getActualFeedback", {
|
|
4195
|
+
enumerable: true,
|
|
4196
|
+
get: function get() {
|
|
4197
|
+
return _feedback.getActualFeedback;
|
|
4198
|
+
}
|
|
4199
|
+
});
|
|
4200
|
+
Object.defineProperty(exports, "getActualFeedbackForCorrectness", {
|
|
4201
|
+
enumerable: true,
|
|
4202
|
+
get: function get() {
|
|
4203
|
+
return _feedback.getActualFeedbackForCorrectness;
|
|
4204
|
+
}
|
|
4205
|
+
});
|
|
4159
4206
|
Object.defineProperty(exports, "getFeedback", {
|
|
4160
4207
|
enumerable: true,
|
|
4161
4208
|
get: function get() {
|
package/module/element.js
CHANGED
|
@@ -118995,7 +118995,7 @@ var _interopRequireDefault$B = interopRequireDefault.exports;
|
|
|
118995
118995
|
Object.defineProperty(color$1, "__esModule", {
|
|
118996
118996
|
value: true
|
|
118997
118997
|
});
|
|
118998
|
-
color$1.v = color$1.text = color$1.secondaryText = color$1.secondaryLight = color$1.secondaryDark = color$1.secondaryBackground = color$1.secondary = color$1.primaryText = color$1.primaryLight = color$1.primaryDark = color$1.primary = color$1.missing = color$1.incorrectSecondary = color$1.incorrect = color$1.disabled = color$1.defaults = color$1.correctSecondary = color$1.correct = color$1.background = void 0;
|
|
118998
|
+
color$1.v = color$1.text = color$1.secondaryText = color$1.secondaryLight = color$1.secondaryDark = color$1.secondaryBackground = color$1.secondary = color$1.primaryText = color$1.primaryLight = color$1.primaryDark = color$1.primary = color$1.missing = color$1.incorrectSecondary = color$1.incorrect = color$1.disabledSecondary = color$1.disabled = color$1.defaults = color$1.correctSecondary = color$1.correct = color$1.black = color$1.background = void 0;
|
|
118999
118999
|
var _green = _interopRequireDefault$B(green$1);
|
|
119000
119000
|
var _orange = _interopRequireDefault$B(orange$1);
|
|
119001
119001
|
var _pink = _interopRequireDefault$B(pink$1);
|
|
@@ -119004,6 +119004,7 @@ var _red = _interopRequireDefault$B(red$1);
|
|
|
119004
119004
|
var defaults = {
|
|
119005
119005
|
TEXT: 'black',
|
|
119006
119006
|
DISABLED: 'grey',
|
|
119007
|
+
DISABLED_SECONDARY: '#ABABAB',
|
|
119007
119008
|
CORRECT: _green["default"][500],
|
|
119008
119009
|
CORRECT_SECONDARY: _green["default"][50],
|
|
119009
119010
|
INCORRECT: _orange["default"][500],
|
|
@@ -119042,6 +119043,10 @@ var disabled = function disabled() {
|
|
|
119042
119043
|
return pv('disabled', defaults.DISABLED);
|
|
119043
119044
|
};
|
|
119044
119045
|
color$1.disabled = disabled;
|
|
119046
|
+
var disabledSecondary = function disabledSecondary() {
|
|
119047
|
+
return pv('disabled-secondary', defaults.DISABLED_SECONDARY);
|
|
119048
|
+
};
|
|
119049
|
+
color$1.disabledSecondary = disabledSecondary;
|
|
119045
119050
|
var correct = function correct() {
|
|
119046
119051
|
return pv('correct', defaults.CORRECT);
|
|
119047
119052
|
};
|
|
@@ -119102,6 +119107,10 @@ var secondaryBackground = function secondaryBackground() {
|
|
|
119102
119107
|
return pv('secondary-background', defaults.SECONDARY_BACKGROUND);
|
|
119103
119108
|
};
|
|
119104
119109
|
color$1.secondaryBackground = secondaryBackground;
|
|
119110
|
+
var black = function black() {
|
|
119111
|
+
return pv('black', defaults.BLACK);
|
|
119112
|
+
};
|
|
119113
|
+
color$1.black = black;
|
|
119105
119114
|
const require$$9$g = _dll_react;
|
|
119106
119115
|
const require$$11$7 = _dll_classnames;
|
|
119107
119116
|
const require$$12$7 = _dll_prop_types;
|
package/module/print.js
CHANGED
|
@@ -118958,7 +118958,7 @@ var _interopRequireDefault$B = interopRequireDefault.exports;
|
|
|
118958
118958
|
Object.defineProperty(color$1, "__esModule", {
|
|
118959
118959
|
value: true
|
|
118960
118960
|
});
|
|
118961
|
-
color$1.v = color$1.text = color$1.secondaryText = color$1.secondaryLight = color$1.secondaryDark = color$1.secondaryBackground = color$1.secondary = color$1.primaryText = color$1.primaryLight = color$1.primaryDark = color$1.primary = color$1.missing = color$1.incorrectSecondary = color$1.incorrect = color$1.disabled = color$1.defaults = color$1.correctSecondary = color$1.correct = color$1.background = void 0;
|
|
118961
|
+
color$1.v = color$1.text = color$1.secondaryText = color$1.secondaryLight = color$1.secondaryDark = color$1.secondaryBackground = color$1.secondary = color$1.primaryText = color$1.primaryLight = color$1.primaryDark = color$1.primary = color$1.missing = color$1.incorrectSecondary = color$1.incorrect = color$1.disabledSecondary = color$1.disabled = color$1.defaults = color$1.correctSecondary = color$1.correct = color$1.black = color$1.background = void 0;
|
|
118962
118962
|
var _green = _interopRequireDefault$B(green$1);
|
|
118963
118963
|
var _orange = _interopRequireDefault$B(orange$1);
|
|
118964
118964
|
var _pink = _interopRequireDefault$B(pink$1);
|
|
@@ -118967,6 +118967,7 @@ var _red = _interopRequireDefault$B(red$1);
|
|
|
118967
118967
|
var defaults = {
|
|
118968
118968
|
TEXT: 'black',
|
|
118969
118969
|
DISABLED: 'grey',
|
|
118970
|
+
DISABLED_SECONDARY: '#ABABAB',
|
|
118970
118971
|
CORRECT: _green["default"][500],
|
|
118971
118972
|
CORRECT_SECONDARY: _green["default"][50],
|
|
118972
118973
|
INCORRECT: _orange["default"][500],
|
|
@@ -119005,6 +119006,10 @@ var disabled = function disabled() {
|
|
|
119005
119006
|
return pv('disabled', defaults.DISABLED);
|
|
119006
119007
|
};
|
|
119007
119008
|
color$1.disabled = disabled;
|
|
119009
|
+
var disabledSecondary = function disabledSecondary() {
|
|
119010
|
+
return pv('disabled-secondary', defaults.DISABLED_SECONDARY);
|
|
119011
|
+
};
|
|
119012
|
+
color$1.disabledSecondary = disabledSecondary;
|
|
119008
119013
|
var correct = function correct() {
|
|
119009
119014
|
return pv('correct', defaults.CORRECT);
|
|
119010
119015
|
};
|
|
@@ -119065,6 +119070,10 @@ var secondaryBackground = function secondaryBackground() {
|
|
|
119065
119070
|
return pv('secondary-background', defaults.SECONDARY_BACKGROUND);
|
|
119066
119071
|
};
|
|
119067
119072
|
color$1.secondaryBackground = secondaryBackground;
|
|
119073
|
+
var black = function black() {
|
|
119074
|
+
return pv('black', defaults.BLACK);
|
|
119075
|
+
};
|
|
119076
|
+
color$1.black = black;
|
|
119068
119077
|
const require$$9$g = _dll_react;
|
|
119069
119078
|
const require$$11$7 = _dll_classnames;
|
|
119070
119079
|
const require$$12$7 = _dll_prop_types;
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "2.
|
|
7
|
+
"version": "2.12.0",
|
|
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.
|
|
12
|
+
"@pie-lib/pie-toolbox": "1.21.0",
|
|
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": "
|
|
19
|
+
"gitHead": "c5ffa28f1f47824aec9dd5260ded070960cbcbf8",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|