@instructure/quiz-core 17.30.1-rc.3 → 17.30.1-rc.6
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.
|
@@ -127,8 +127,8 @@ export var ItemEdit = /*#__PURE__*/function (_Component) {
|
|
|
127
127
|
key: "render",
|
|
128
128
|
value: function render() {
|
|
129
129
|
var item = this.props.entry;
|
|
130
|
-
var interactionType = item.getInteractionType()
|
|
131
|
-
var Interaction = componentForItem(interactionType, COMPONENT_EDIT);
|
|
130
|
+
var interactionType = item.getInteractionType();
|
|
131
|
+
var Interaction = componentForItem(interactionType.slug, COMPONENT_EDIT);
|
|
132
132
|
var propsForInteraction = propsForInteractionEdit(this.props, this.additionalEditOptions());
|
|
133
133
|
return /*#__PURE__*/React.createElement(FormFieldGroup, {
|
|
134
134
|
messages: this.getError('onSelf'),
|
|
@@ -136,6 +136,7 @@ export var ItemEdit = /*#__PURE__*/function (_Component) {
|
|
|
136
136
|
name: "edit_item_".concat(this.props.guid) // eslint-disable-line react/jsx-no-literals
|
|
137
137
|
|
|
138
138
|
}, /*#__PURE__*/React.createElement(Interaction, Object.assign({}, propsForInteraction, {
|
|
139
|
+
interactionType: interactionType,
|
|
139
140
|
itemId: this.props.guid,
|
|
140
141
|
renderImportModal: this.renderImportModal
|
|
141
142
|
})));
|
|
@@ -157,8 +157,8 @@ var ItemEdit = /*#__PURE__*/function (_Component) {
|
|
|
157
157
|
key: "render",
|
|
158
158
|
value: function render() {
|
|
159
159
|
var item = this.props.entry;
|
|
160
|
-
var interactionType = item.getInteractionType()
|
|
161
|
-
var Interaction = (0, _componentForItem.default)(interactionType, _quizCommon.COMPONENT_EDIT);
|
|
160
|
+
var interactionType = item.getInteractionType();
|
|
161
|
+
var Interaction = (0, _componentForItem.default)(interactionType.slug, _quizCommon.COMPONENT_EDIT);
|
|
162
162
|
var propsForInteraction = (0, _interactionTypePropsHelper.propsForInteractionEdit)(this.props, this.additionalEditOptions());
|
|
163
163
|
return /*#__PURE__*/_react.default.createElement(_uiFormField.FormFieldGroup, {
|
|
164
164
|
messages: this.getError('onSelf'),
|
|
@@ -166,6 +166,7 @@ var ItemEdit = /*#__PURE__*/function (_Component) {
|
|
|
166
166
|
name: "edit_item_".concat(this.props.guid) // eslint-disable-line react/jsx-no-literals
|
|
167
167
|
|
|
168
168
|
}, /*#__PURE__*/_react.default.createElement(Interaction, Object.assign({}, propsForInteraction, {
|
|
169
|
+
interactionType: interactionType,
|
|
169
170
|
itemId: this.props.guid,
|
|
170
171
|
renderImportModal: this.renderImportModal
|
|
171
172
|
})));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.30.1-rc.
|
|
3
|
+
"version": "17.30.1-rc.6+a8ccf648a",
|
|
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.30.1-rc.
|
|
45
|
-
"@instructure/quiz-i18n": "17.30.1-rc.
|
|
46
|
-
"@instructure/quiz-interactions": "17.30.1-rc.
|
|
47
|
-
"@instructure/quiz-number-input": "17.30.1-rc.
|
|
48
|
-
"@instructure/quiz-rce": "17.30.1-rc.
|
|
44
|
+
"@instructure/quiz-common": "17.30.1-rc.6+a8ccf648a",
|
|
45
|
+
"@instructure/quiz-i18n": "17.30.1-rc.6+a8ccf648a",
|
|
46
|
+
"@instructure/quiz-interactions": "17.30.1-rc.6+a8ccf648a",
|
|
47
|
+
"@instructure/quiz-number-input": "17.30.1-rc.6+a8ccf648a",
|
|
48
|
+
"@instructure/quiz-rce": "17.30.1-rc.6+a8ccf648a",
|
|
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.30.1-rc.
|
|
109
|
+
"instructure-validations": "17.30.1-rc.6+a8ccf648a",
|
|
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.30.1-rc.
|
|
140
|
+
"@instructure/quiz-scripts": "17.30.1-rc.6+a8ccf648a",
|
|
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.30.1-rc.
|
|
159
|
+
"quiz-presets": "17.30.1-rc.6+a8ccf648a",
|
|
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": "a8ccf648a1eae83ecf895a1960592241072af797"
|
|
176
176
|
}
|