@instructure/quiz-core 17.66.2-rc.0 → 17.66.2-rc.2

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.
@@ -104,7 +104,7 @@ export var QuintileDistribution = (_dec = themeable(theme, styles), _dec(_class
104
104
  key: "".concat(label, ":").concat(count)
105
105
  /* eslint-disable-line react/jsx-no-literals */
106
106
 
107
- }, /*#__PURE__*/React.createElement(Table.Cell, null, label), /*#__PURE__*/React.createElement(Table.Cell, null, count));
107
+ }, /*#__PURE__*/React.createElement(Table.RowHeader, null, label), /*#__PURE__*/React.createElement(Table.Cell, null, count));
108
108
  });
109
109
  }
110
110
  }, {
@@ -65,6 +65,7 @@ export var ScoreDistribution = (_dec = themeable(theme, styles), _dec(_class = (
65
65
  visualDistribution: this.props.decileDistribution || [],
66
66
  calculateLabelForColumn: this.calculateLabelForColumn
67
67
  }), /*#__PURE__*/React.createElement("div", {
68
+ "aria-hidden": "true",
68
69
  className: styles.chartLabel
69
70
  }, /*#__PURE__*/React.createElement(Text, {
70
71
  size: "small"
@@ -89,7 +89,7 @@ var noBacktrackingNextQuestion = function noBacktrackingNextQuestion(quizSession
89
89
 
90
90
  var responseCb = function responseCb(nextItem) {
91
91
  if (nextItem) {
92
- dispatch([handleSessionItemsResponse([nextItem], quizSessionId), setCurrentSessionItemPosition(nextItem.position)]);
92
+ dispatch([handleSessionItemsResponse([nextItem], quizSessionId), setCurrentSessionItemPosition(nextItem.position), getResumeData(quizSessionId)]);
93
93
  } else {
94
94
  submit();
95
95
  }
@@ -125,7 +125,7 @@ var QuintileDistribution = (_dec = (0, _uiThemeable.themeable)(_theme.default, s
125
125
  key: "".concat(label, ":").concat(count)
126
126
  /* eslint-disable-line react/jsx-no-literals */
127
127
 
128
- }, /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, null, label), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, null, count));
128
+ }, /*#__PURE__*/_react.default.createElement(_uiTable.Table.RowHeader, null, label), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, null, count));
129
129
  });
130
130
  }
131
131
  }, {
@@ -87,6 +87,7 @@ var ScoreDistribution = (_dec = (0, _uiThemeable.themeable)(_theme.default, styl
87
87
  visualDistribution: this.props.decileDistribution || [],
88
88
  calculateLabelForColumn: this.calculateLabelForColumn
89
89
  }), /*#__PURE__*/_react.default.createElement("div", {
90
+ "aria-hidden": "true",
90
91
  className: styles.chartLabel
91
92
  }, /*#__PURE__*/_react.default.createElement(_uiText.Text, {
92
93
  size: "small"
@@ -134,7 +134,7 @@ var noBacktrackingNextQuestion = function noBacktrackingNextQuestion(quizSession
134
134
 
135
135
  var responseCb = function responseCb(nextItem) {
136
136
  if (nextItem) {
137
- dispatch([(0, _callHandlers.handleSessionItemsResponse)([nextItem], quizSessionId), (0, _taking.setCurrentSessionItemPosition)(nextItem.position)]);
137
+ dispatch([(0, _callHandlers.handleSessionItemsResponse)([nextItem], quizSessionId), (0, _taking.setCurrentSessionItemPosition)(nextItem.position), getResumeData(quizSessionId)]);
138
138
  } else {
139
139
  submit();
140
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.66.2-rc.0+e739b35f6",
3
+ "version": "17.66.2-rc.2+8a687c680",
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.0+e739b35f6",
46
- "@instructure/quiz-i18n": "17.66.2-rc.0+e739b35f6",
47
- "@instructure/quiz-interactions": "17.66.2-rc.0+e739b35f6",
48
- "@instructure/quiz-number-input": "17.66.2-rc.0+e739b35f6",
49
- "@instructure/quiz-rce": "17.66.2-rc.0+e739b35f6",
45
+ "@instructure/quiz-common": "17.66.2-rc.2+8a687c680",
46
+ "@instructure/quiz-i18n": "17.66.2-rc.2+8a687c680",
47
+ "@instructure/quiz-interactions": "17.66.2-rc.2+8a687c680",
48
+ "@instructure/quiz-number-input": "17.66.2-rc.2+8a687c680",
49
+ "@instructure/quiz-rce": "17.66.2-rc.2+8a687c680",
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.0+e739b35f6",
110
+ "instructure-validations": "17.66.2-rc.2+8a687c680",
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.0+e739b35f6",
161
+ "quiz-presets": "17.66.2-rc.2+8a687c680",
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": "e739b35f67dee29083242e448bb42a4992f5f070"
177
+ "gitHead": "8a687c6805b0035f52e19f6c4d0bec048fe4dc99"
178
178
  }