@instructure/quiz-core 17.66.2-rc.2 → 17.66.2-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/records/QuizSession.js +4 -2
- package/es/common/records/SessionItem.js +2 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +3 -2
- package/lib/common/records/QuizSession.js +4 -2
- package/lib/common/records/SessionItem.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +4 -2
- package/package.json +9 -9
|
@@ -192,7 +192,9 @@ export var QuizSession = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
192
192
|
status: '',
|
|
193
193
|
takingData: Map(),
|
|
194
194
|
timerMultiplier: null,
|
|
195
|
-
user: Map()
|
|
196
|
-
|
|
195
|
+
user: Map(),
|
|
196
|
+
// Good candidate for another Record - Still relevant?
|
|
197
|
+
bolaSessionItemsCount: null,
|
|
198
|
+
buildOnLastAttempt: null
|
|
197
199
|
}));
|
|
198
200
|
export default QuizSession;
|
package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js
CHANGED
|
@@ -7,6 +7,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
|
7
7
|
var _dec, _class, _class2, _temp;
|
|
8
8
|
|
|
9
9
|
import { Heading } from '@instructure/ui-heading';
|
|
10
|
+
import { PresentationContent } from '@instructure/ui-a11y-content';
|
|
10
11
|
import React, { Component } from 'react';
|
|
11
12
|
var styles = {
|
|
12
13
|
componentId: 'bQIMq',
|
|
@@ -126,11 +127,11 @@ export var NewItemAnalysis = (_dec = themeable(theme, styles), _dec(_class = (_t
|
|
|
126
127
|
margin: "none none none x-small"
|
|
127
128
|
}, /*#__PURE__*/React.createElement("div", {
|
|
128
129
|
className: styles.itemBodyToggleButtonWrapper
|
|
129
|
-
}, /*#__PURE__*/React.createElement(ExpandButton, {
|
|
130
|
+
}, /*#__PURE__*/React.createElement(PresentationContent, null, /*#__PURE__*/React.createElement(ExpandButton, {
|
|
130
131
|
onClick: _this.handleBodyToggle,
|
|
131
132
|
title: _this.state.bodyExpanded ? t('collapse question stem') : t('expand question stem'),
|
|
132
133
|
isExpanded: _this.state.bodyExpanded
|
|
133
|
-
}))));
|
|
134
|
+
})))));
|
|
134
135
|
};
|
|
135
136
|
|
|
136
137
|
_this.renderMetrics = function (scores, metricsClass) {
|
|
@@ -211,8 +211,10 @@ var QuizSession = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
211
211
|
status: '',
|
|
212
212
|
takingData: (0, _immutable.Map)(),
|
|
213
213
|
timerMultiplier: null,
|
|
214
|
-
user: (0, _immutable.Map)()
|
|
215
|
-
|
|
214
|
+
user: (0, _immutable.Map)(),
|
|
215
|
+
// Good candidate for another Record - Still relevant?
|
|
216
|
+
bolaSessionItemsCount: null,
|
|
217
|
+
buildOnLastAttempt: null
|
|
216
218
|
}));
|
|
217
219
|
|
|
218
220
|
exports.QuizSession = QuizSession;
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js
CHANGED
|
@@ -21,6 +21,8 @@ var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
21
21
|
|
|
22
22
|
var _uiHeading = require("@instructure/ui-heading");
|
|
23
23
|
|
|
24
|
+
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
25
|
+
|
|
24
26
|
var _react = _interopRequireWildcard(require("react"));
|
|
25
27
|
|
|
26
28
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
@@ -158,11 +160,11 @@ var NewItemAnalysis = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles
|
|
|
158
160
|
margin: "none none none x-small"
|
|
159
161
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
160
162
|
className: styles.itemBodyToggleButtonWrapper
|
|
161
|
-
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
163
|
+
}, /*#__PURE__*/_react.default.createElement(_uiA11yContent.PresentationContent, null, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
162
164
|
onClick: _this.handleBodyToggle,
|
|
163
165
|
title: _this.state.bodyExpanded ? (0, _formatMessage.default)('collapse question stem') : (0, _formatMessage.default)('expand question stem'),
|
|
164
166
|
isExpanded: _this.state.bodyExpanded
|
|
165
|
-
}))));
|
|
167
|
+
})))));
|
|
166
168
|
};
|
|
167
169
|
|
|
168
170
|
_this.renderMetrics = function (scores, metricsClass) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.66.2-rc.
|
|
3
|
+
"version": "17.66.2-rc.4+d5fd33f05",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@instructure/grading-utils": "^1.0.0",
|
|
44
44
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
45
|
-
"@instructure/quiz-common": "17.66.2-rc.
|
|
46
|
-
"@instructure/quiz-i18n": "17.66.2-rc.
|
|
47
|
-
"@instructure/quiz-interactions": "17.66.2-rc.
|
|
48
|
-
"@instructure/quiz-number-input": "17.66.2-rc.
|
|
49
|
-
"@instructure/quiz-rce": "17.66.2-rc.
|
|
45
|
+
"@instructure/quiz-common": "17.66.2-rc.4+d5fd33f05",
|
|
46
|
+
"@instructure/quiz-i18n": "17.66.2-rc.4+d5fd33f05",
|
|
47
|
+
"@instructure/quiz-interactions": "17.66.2-rc.4+d5fd33f05",
|
|
48
|
+
"@instructure/quiz-number-input": "17.66.2-rc.4+d5fd33f05",
|
|
49
|
+
"@instructure/quiz-rce": "17.66.2-rc.4+d5fd33f05",
|
|
50
50
|
"@instructure/ui-a11y-content": "^7.20.0",
|
|
51
51
|
"@instructure/ui-alerts": "^7.20.0",
|
|
52
52
|
"@instructure/ui-avatar": "^7.20.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"eventemitter3": "^3.1.0",
|
|
108
108
|
"humps": "^2.0.0",
|
|
109
109
|
"immutable": "^3.8.1",
|
|
110
|
-
"instructure-validations": "17.66.2-rc.
|
|
110
|
+
"instructure-validations": "17.66.2-rc.4+d5fd33f05",
|
|
111
111
|
"ipaddr.js": "^1.5.4",
|
|
112
112
|
"isomorphic-fetch": "^2.2.0",
|
|
113
113
|
"isuuid": "^0.1.0",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"intl": "^1.2.4",
|
|
159
159
|
"jquery": "^2.2.3",
|
|
160
160
|
"most-subject": "^5.3.0",
|
|
161
|
-
"quiz-presets": "17.66.2-rc.
|
|
161
|
+
"quiz-presets": "17.66.2-rc.4+d5fd33f05",
|
|
162
162
|
"react": "^16.8.6",
|
|
163
163
|
"react-addons-test-utils": "^15.6.2",
|
|
164
164
|
"react-dom": "^16.8.6",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"publishConfig": {
|
|
175
175
|
"access": "public"
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "d5fd33f05363579b68e0acdd8a968889b4cb61e1"
|
|
178
178
|
}
|