@instructure/quiz-core 17.32.1-rc.3 → 17.32.1-rc.4
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/es/common/components/resources/item/ItemEdit/index.js +1 -0
- package/es/common/components/resources/item/ItemEdit/presenter.js +2 -0
- package/es/common/util/interactionTypePropsHelper.js +1 -0
- package/lib/common/components/resources/item/ItemEdit/index.js +1 -0
- package/lib/common/components/resources/item/ItemEdit/presenter.js +2 -0
- package/lib/common/util/interactionTypePropsHelper.js +1 -0
- package/package.json +10 -10
|
@@ -28,6 +28,7 @@ export function mapStateToProps(state, props) {
|
|
|
28
28
|
workingItem: workingItem,
|
|
29
29
|
isValid: isValid,
|
|
30
30
|
isEditing: true,
|
|
31
|
+
fitbCommonWordbankEnabled: featureOn('fitb_common_wordbank'),
|
|
31
32
|
editable: true,
|
|
32
33
|
contextUuid: contextUuid,
|
|
33
34
|
oneQuestionAtATime: isActiveQuizWorkingInstanceOneQuestionAtATime(state),
|
|
@@ -156,6 +156,7 @@ ItemEdit.propTypes = {
|
|
|
156
156
|
appContainer: CustomPropTypes.selectors.isRequired,
|
|
157
157
|
changeOutcomeAlignmentSetGuid: PropTypes.func.isRequired,
|
|
158
158
|
entry: ImmutablePropTypes.record.isRequired,
|
|
159
|
+
fitbCommonWordbankEnabled: PropTypes.bool,
|
|
159
160
|
guid: PropTypes.string.isRequired,
|
|
160
161
|
occludeQuizEntries: PropTypes.func.isRequired,
|
|
161
162
|
contextUuid: PropTypes.string,
|
|
@@ -191,6 +192,7 @@ ItemEdit.defaultProps = {
|
|
|
191
192
|
additionalOptions: [],
|
|
192
193
|
answerFeedbackEnabled: false,
|
|
193
194
|
contextUuid: null,
|
|
195
|
+
fitbCommonWordbankEnabled: false,
|
|
194
196
|
errorsAreShowing: false,
|
|
195
197
|
outcomesEndpoint: null,
|
|
196
198
|
outcomesToken: null,
|
|
@@ -38,6 +38,7 @@ export var propsForInteractionEdit = function propsForInteractionEdit(props, add
|
|
|
38
38
|
errors: props.workingItem.getErrors().toJS(),
|
|
39
39
|
validationErrorsFromApi: props.validationErrorsFromApi,
|
|
40
40
|
errorsAreShowing: props.errorsAreShowing,
|
|
41
|
+
fitbCommonWordbankEnabled: props.fitbCommonWordbankEnabled,
|
|
41
42
|
hiddenOptions: {
|
|
42
43
|
calculator: !props.showCalculator
|
|
43
44
|
},
|
|
@@ -56,6 +56,7 @@ function mapStateToProps(state, props) {
|
|
|
56
56
|
workingItem: workingItem,
|
|
57
57
|
isValid: isValid,
|
|
58
58
|
isEditing: true,
|
|
59
|
+
fitbCommonWordbankEnabled: (0, _featureCheck.featureOn)('fitb_common_wordbank'),
|
|
59
60
|
editable: true,
|
|
60
61
|
contextUuid: contextUuid,
|
|
61
62
|
oneQuestionAtATime: (0, _quizzes2.isActiveQuizWorkingInstanceOneQuestionAtATime)(state),
|
|
@@ -187,6 +187,7 @@ ItemEdit.propTypes = {
|
|
|
187
187
|
appContainer: _CustomPropTypes.default.selectors.isRequired,
|
|
188
188
|
changeOutcomeAlignmentSetGuid: _propTypes.default.func.isRequired,
|
|
189
189
|
entry: _reactImmutableProptypes.default.record.isRequired,
|
|
190
|
+
fitbCommonWordbankEnabled: _propTypes.default.bool,
|
|
190
191
|
guid: _propTypes.default.string.isRequired,
|
|
191
192
|
occludeQuizEntries: _propTypes.default.func.isRequired,
|
|
192
193
|
contextUuid: _propTypes.default.string,
|
|
@@ -222,6 +223,7 @@ ItemEdit.defaultProps = {
|
|
|
222
223
|
additionalOptions: [],
|
|
223
224
|
answerFeedbackEnabled: false,
|
|
224
225
|
contextUuid: null,
|
|
226
|
+
fitbCommonWordbankEnabled: false,
|
|
225
227
|
errorsAreShowing: false,
|
|
226
228
|
outcomesEndpoint: null,
|
|
227
229
|
outcomesToken: null,
|
|
@@ -50,6 +50,7 @@ var propsForInteractionEdit = function propsForInteractionEdit(props, additional
|
|
|
50
50
|
errors: props.workingItem.getErrors().toJS(),
|
|
51
51
|
validationErrorsFromApi: props.validationErrorsFromApi,
|
|
52
52
|
errorsAreShowing: props.errorsAreShowing,
|
|
53
|
+
fitbCommonWordbankEnabled: props.fitbCommonWordbankEnabled,
|
|
53
54
|
hiddenOptions: {
|
|
54
55
|
calculator: !props.showCalculator
|
|
55
56
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.32.1-rc.
|
|
3
|
+
"version": "17.32.1-rc.4+c9243e7d3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@instructure/outcomes-ui": "^2.1.2",
|
|
44
|
-
"@instructure/quiz-common": "17.32.1-rc.
|
|
45
|
-
"@instructure/quiz-i18n": "17.32.1-rc.
|
|
46
|
-
"@instructure/quiz-interactions": "17.32.1-rc.
|
|
47
|
-
"@instructure/quiz-number-input": "17.32.1-rc.
|
|
48
|
-
"@instructure/quiz-rce": "17.32.1-rc.
|
|
44
|
+
"@instructure/quiz-common": "17.32.1-rc.4+c9243e7d3",
|
|
45
|
+
"@instructure/quiz-i18n": "17.32.1-rc.4+c9243e7d3",
|
|
46
|
+
"@instructure/quiz-interactions": "17.32.1-rc.4+c9243e7d3",
|
|
47
|
+
"@instructure/quiz-number-input": "17.32.1-rc.4+c9243e7d3",
|
|
48
|
+
"@instructure/quiz-rce": "17.32.1-rc.4+c9243e7d3",
|
|
49
49
|
"@instructure/ui-a11y-content": "^7.11.0",
|
|
50
50
|
"@instructure/ui-alerts": "^7.11.0",
|
|
51
51
|
"@instructure/ui-avatar": "^7.11.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"eventemitter3": "^3.1.0",
|
|
107
107
|
"humps": "^2.0.0",
|
|
108
108
|
"immutable": "^3.8.1",
|
|
109
|
-
"instructure-validations": "17.32.1-rc.
|
|
109
|
+
"instructure-validations": "17.32.1-rc.4+c9243e7d3",
|
|
110
110
|
"ipaddr.js": "^1.5.4",
|
|
111
111
|
"isomorphic-fetch": "^2.2.0",
|
|
112
112
|
"isuuid": "^0.1.0",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"uuid": "^3.2.1"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
|
-
"@instructure/quiz-scripts": "17.32.1-rc.
|
|
140
|
+
"@instructure/quiz-scripts": "17.32.1-rc.4+c9243e7d3",
|
|
141
141
|
"@instructure/ui-axe-check": "^7.11.0",
|
|
142
142
|
"@instructure/ui-babel-preset": "^7.11.0",
|
|
143
143
|
"@instructure/ui-karma-config": "^7.11.0",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"intl": "^1.2.4",
|
|
157
157
|
"jquery": "^2.2.3",
|
|
158
158
|
"most-subject": "^5.3.0",
|
|
159
|
-
"quiz-presets": "17.32.1-rc.
|
|
159
|
+
"quiz-presets": "17.32.1-rc.4+c9243e7d3",
|
|
160
160
|
"react": "^16.8.6",
|
|
161
161
|
"react-addons-test-utils": "^15.6.2",
|
|
162
162
|
"react-dom": "^16.8.6",
|
|
@@ -172,5 +172,5 @@
|
|
|
172
172
|
"publishConfig": {
|
|
173
173
|
"access": "public"
|
|
174
174
|
},
|
|
175
|
-
"gitHead": "
|
|
175
|
+
"gitHead": "c9243e7d3213479e55472a6bb6959d1c393952f1"
|
|
176
176
|
}
|