@instructure/quiz-core 17.44.1-rc.6 → 17.44.1-rc.8
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/building/components/resources/quiz/instructions/Instructions/presenter.js +1 -1
- package/es/building/components/resources/quiz/title/Title/presenter.js +1 -1
- package/es/common/components/shared/functionality/makeScrollable.js +1 -1
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +1 -1
- package/lib/building/components/resources/quiz/title/Title/presenter.js +1 -1
- package/lib/common/components/shared/functionality/makeScrollable.js +1 -1
- package/package.json +9 -9
|
@@ -166,7 +166,7 @@ export var QuizInstructions = (_dec = themeable(theme, styles), _dec(_class = (_
|
|
|
166
166
|
instructions: this.props.quiz.instructions,
|
|
167
167
|
switchOnEditing: this.props.switchOnEditing,
|
|
168
168
|
contentLocked: this.isContentLocked(),
|
|
169
|
-
scrollKey: contentLocked ? this.props.scrollKey :
|
|
169
|
+
scrollKey: contentLocked ? this.props.scrollKey : void 0
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
}, {
|
|
@@ -150,7 +150,7 @@ export var QuizTitlePresenter = (_dec = themeable(theme, styles), _dec(_class =
|
|
|
150
150
|
switchOnEditing: this.props.switchOnEditing,
|
|
151
151
|
defaultTitle: this.workingTitle(),
|
|
152
152
|
contentLocked: this.isContentLocked(),
|
|
153
|
-
scrollKey: this.isContentLocked() ? this.props.scrollKey :
|
|
153
|
+
scrollKey: this.isContentLocked() ? this.props.scrollKey : void 0
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
}, {
|
|
@@ -90,7 +90,7 @@ var unconnectedMakeScrollable = function unconnectedMakeScrollable(ComposedCompo
|
|
|
90
90
|
scrollKey = _this$props.scrollKey,
|
|
91
91
|
scrollingActions = _this$props.scrollingActions;
|
|
92
92
|
|
|
93
|
-
if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey === scrollKey) {
|
|
93
|
+
if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey && scrollKey && scrolledComponentKey === scrollKey) {
|
|
94
94
|
this.scrollIntoView(scrollingFocus);
|
|
95
95
|
scrollingActions.clearsScrolledComponentKey();
|
|
96
96
|
}
|
|
@@ -190,7 +190,7 @@ var QuizInstructions = (_dec = (0, _uiThemeable.themeable)(_theme.default, style
|
|
|
190
190
|
instructions: this.props.quiz.instructions,
|
|
191
191
|
switchOnEditing: this.props.switchOnEditing,
|
|
192
192
|
contentLocked: this.isContentLocked(),
|
|
193
|
-
scrollKey: contentLocked ? this.props.scrollKey :
|
|
193
|
+
scrollKey: contentLocked ? this.props.scrollKey : void 0
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
}, {
|
|
@@ -175,7 +175,7 @@ var QuizTitlePresenter = (_dec = (0, _uiThemeable.themeable)(_theme.default, sty
|
|
|
175
175
|
switchOnEditing: this.props.switchOnEditing,
|
|
176
176
|
defaultTitle: this.workingTitle(),
|
|
177
177
|
contentLocked: this.isContentLocked(),
|
|
178
|
-
scrollKey: this.isContentLocked() ? this.props.scrollKey :
|
|
178
|
+
scrollKey: this.isContentLocked() ? this.props.scrollKey : void 0
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
}, {
|
|
@@ -115,7 +115,7 @@ var unconnectedMakeScrollable = function unconnectedMakeScrollable(ComposedCompo
|
|
|
115
115
|
scrollKey = _this$props.scrollKey,
|
|
116
116
|
scrollingActions = _this$props.scrollingActions;
|
|
117
117
|
|
|
118
|
-
if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey === scrollKey) {
|
|
118
|
+
if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey && scrollKey && scrolledComponentKey === scrollKey) {
|
|
119
119
|
this.scrollIntoView(scrollingFocus);
|
|
120
120
|
scrollingActions.clearsScrolledComponentKey();
|
|
121
121
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.44.1-rc.
|
|
3
|
+
"version": "17.44.1-rc.8+0dcec06cd",
|
|
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.44.1-rc.
|
|
45
|
-
"@instructure/quiz-i18n": "17.44.1-rc.
|
|
46
|
-
"@instructure/quiz-interactions": "17.44.1-rc.
|
|
47
|
-
"@instructure/quiz-number-input": "17.44.1-rc.
|
|
48
|
-
"@instructure/quiz-rce": "17.44.1-rc.
|
|
44
|
+
"@instructure/quiz-common": "17.44.1-rc.8+0dcec06cd",
|
|
45
|
+
"@instructure/quiz-i18n": "17.44.1-rc.8+0dcec06cd",
|
|
46
|
+
"@instructure/quiz-interactions": "17.44.1-rc.8+0dcec06cd",
|
|
47
|
+
"@instructure/quiz-number-input": "17.44.1-rc.8+0dcec06cd",
|
|
48
|
+
"@instructure/quiz-rce": "17.44.1-rc.8+0dcec06cd",
|
|
49
49
|
"@instructure/ui-a11y-content": "^7.20.0",
|
|
50
50
|
"@instructure/ui-alerts": "^7.20.0",
|
|
51
51
|
"@instructure/ui-avatar": "^7.20.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.44.1-rc.
|
|
109
|
+
"instructure-validations": "17.44.1-rc.8+0dcec06cd",
|
|
110
110
|
"ipaddr.js": "^1.5.4",
|
|
111
111
|
"isomorphic-fetch": "^2.2.0",
|
|
112
112
|
"isuuid": "^0.1.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.44.1-rc.
|
|
159
|
+
"quiz-presets": "17.44.1-rc.8+0dcec06cd",
|
|
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": "0dcec06cde3a1bee42e6d87b9c010e968e1bbda6"
|
|
176
176
|
}
|