@instructure/quiz-core 17.19.3-rc.0 → 17.20.1-rc.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 CHANGED
@@ -3,6 +3,17 @@
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
+ # [17.20.0](https://gerrit.instructure.com/quizzes-ui/compare/v17.19.2...v17.20.0) (2021-12-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * **partialMatching:** allow partial credit for matching items ([da5db25](https://gerrit.instructure.com/quizzes-ui/commits/da5db2596aecd9088289e7aef8c74a9cbc627321))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [17.19.2](https://gerrit.instructure.com/quizzes-ui/compare/v17.19.1...v17.19.2) (2021-12-01)
7
18
 
8
19
  **Note:** Version bump only for package @instructure/quiz-core
@@ -33,6 +33,7 @@ export function mapStateToProps(state, props) {
33
33
  oneQuestionAtATime: isActiveQuizWorkingInstanceOneQuestionAtATime(state),
34
34
  outcomesEndpoint: state.getIn(['outcomes', 'outcomesEndpoint']),
35
35
  outcomesToken: state.getIn(['outcomes', 'outcomesToken']),
36
+ partialDeepScoringEnabled: featureOn('partial_deep_scoring'),
36
37
  partialScoringEnabled: featureOn('partial_scoring'),
37
38
  quizId: getActiveQuizId(state),
38
39
  showCalculator: featureOn('calculator_per_question')
@@ -171,6 +171,7 @@ ItemEdit.propTypes = {
171
171
  openImportModal: PropTypes.func.isRequired,
172
172
  parentId: PropTypes.string.isRequired,
173
173
  parentType: PropTypes.string.isRequired,
174
+ partialDeepScoringEnabled: PropTypes.bool,
174
175
  partialScoringEnabled: PropTypes.bool,
175
176
  quizId: PropTypes.string.isRequired,
176
177
  screenreaderNotification: PropTypes.func.isRequired,
@@ -191,6 +192,7 @@ ItemEdit.defaultProps = {
191
192
  errorsAreShowing: false,
192
193
  outcomesEndpoint: null,
193
194
  outcomesToken: null,
195
+ partialDeepScoringEnabled: false,
194
196
  partialScoringEnabled: false,
195
197
  initialFocusId: null,
196
198
  showCalculator: false,
@@ -53,6 +53,7 @@ export var propsForInteractionEdit = function propsForInteractionEdit(props, add
53
53
  oneQuestionAtATime: props.oneQuestionAtATime,
54
54
  openImportModal: props.openImportModal,
55
55
  parentType: props.parentType,
56
+ partialDeepScoringEnabled: props.partialDeepScoringEnabled,
56
57
  partialScoringEnabled: props.partialScoringEnabled,
57
58
  pointsChange: props.handleQuizEntryPointsChange,
58
59
  properties: item.properties,
@@ -61,6 +61,7 @@ function mapStateToProps(state, props) {
61
61
  oneQuestionAtATime: (0, _quizzes2.isActiveQuizWorkingInstanceOneQuestionAtATime)(state),
62
62
  outcomesEndpoint: state.getIn(['outcomes', 'outcomesEndpoint']),
63
63
  outcomesToken: state.getIn(['outcomes', 'outcomesToken']),
64
+ partialDeepScoringEnabled: (0, _featureCheck.featureOn)('partial_deep_scoring'),
64
65
  partialScoringEnabled: (0, _featureCheck.featureOn)('partial_scoring'),
65
66
  quizId: (0, _quizzes2.getActiveQuizId)(state),
66
67
  showCalculator: (0, _featureCheck.featureOn)('calculator_per_question')
@@ -202,6 +202,7 @@ ItemEdit.propTypes = {
202
202
  openImportModal: _propTypes.default.func.isRequired,
203
203
  parentId: _propTypes.default.string.isRequired,
204
204
  parentType: _propTypes.default.string.isRequired,
205
+ partialDeepScoringEnabled: _propTypes.default.bool,
205
206
  partialScoringEnabled: _propTypes.default.bool,
206
207
  quizId: _propTypes.default.string.isRequired,
207
208
  screenreaderNotification: _propTypes.default.func.isRequired,
@@ -222,6 +223,7 @@ ItemEdit.defaultProps = {
222
223
  errorsAreShowing: false,
223
224
  outcomesEndpoint: null,
224
225
  outcomesToken: null,
226
+ partialDeepScoringEnabled: false,
225
227
  partialScoringEnabled: false,
226
228
  initialFocusId: null,
227
229
  showCalculator: false,
@@ -64,6 +64,7 @@ var propsForInteractionEdit = function propsForInteractionEdit(props, additional
64
64
  oneQuestionAtATime: props.oneQuestionAtATime,
65
65
  openImportModal: props.openImportModal,
66
66
  parentType: props.parentType,
67
+ partialDeepScoringEnabled: props.partialDeepScoringEnabled,
67
68
  partialScoringEnabled: props.partialScoringEnabled,
68
69
  pointsChange: props.handleQuizEntryPointsChange,
69
70
  properties: item.properties,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.19.3-rc.0+c94c7b0eb",
3
+ "version": "17.20.1-rc.0+b0f1dc0a8",
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.19.3-rc.0+c94c7b0eb",
45
- "@instructure/quiz-i18n": "17.19.3-rc.0+c94c7b0eb",
46
- "@instructure/quiz-interactions": "17.19.3-rc.0+c94c7b0eb",
47
- "@instructure/quiz-number-input": "17.19.3-rc.0+c94c7b0eb",
48
- "@instructure/quiz-rce": "17.19.3-rc.0+c94c7b0eb",
44
+ "@instructure/quiz-common": "17.20.1-rc.0+b0f1dc0a8",
45
+ "@instructure/quiz-i18n": "17.20.1-rc.0+b0f1dc0a8",
46
+ "@instructure/quiz-interactions": "17.20.1-rc.0+b0f1dc0a8",
47
+ "@instructure/quiz-number-input": "17.20.1-rc.0+b0f1dc0a8",
48
+ "@instructure/quiz-rce": "17.20.1-rc.0+b0f1dc0a8",
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.19.3-rc.0+c94c7b0eb",
109
+ "instructure-validations": "17.20.1-rc.0+b0f1dc0a8",
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.19.3-rc.0+c94c7b0eb",
140
+ "@instructure/quiz-scripts": "17.20.1-rc.0+b0f1dc0a8",
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.19.3-rc.0+c94c7b0eb",
159
+ "quiz-presets": "17.20.1-rc.0+b0f1dc0a8",
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": "c94c7b0eb90b46f8a6792f86f5e09dbe15535439"
175
+ "gitHead": "b0f1dc0a85febe84f2fac7d73b2dc48591e69b0e"
176
176
  }