@instructure/quiz-core 17.39.1-rc.7 → 17.39.1-rc.9

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.
@@ -290,8 +290,8 @@ export var QuizEntry = (_dec = withStateCache(function () {
290
290
 
291
291
  var type;
292
292
 
293
- if (this.isStimulus || this.isBank) {
294
- type = this.isStimulus ? t('Stimulus') : t('Bank');
293
+ if (this.hasStimulus || this.isBank) {
294
+ type = this.hasStimulus ? t('Stimulus') : t('Bank');
295
295
 
296
296
  if (this.numItems > 1) {
297
297
  var opts = {
@@ -326,7 +326,7 @@ export var QuizEntry = (_dec = withStateCache(function () {
326
326
  }[verb];
327
327
  }
328
328
  } else {
329
- type = this.isBankEntry ? t('Bank Entry') : t('Question');
329
+ type = t('Question');
330
330
  var _opts3 = {
331
331
  verb: verb,
332
332
  type: type,
@@ -320,8 +320,8 @@ var QuizEntry = (_dec = (0, _withStateCache.default)(function () {
320
320
 
321
321
  var type;
322
322
 
323
- if (this.isStimulus || this.isBank) {
324
- type = this.isStimulus ? (0, _formatMessage.default)('Stimulus') : (0, _formatMessage.default)('Bank');
323
+ if (this.hasStimulus || this.isBank) {
324
+ type = this.hasStimulus ? (0, _formatMessage.default)('Stimulus') : (0, _formatMessage.default)('Bank');
325
325
 
326
326
  if (this.numItems > 1) {
327
327
  var opts = {
@@ -356,7 +356,7 @@ var QuizEntry = (_dec = (0, _withStateCache.default)(function () {
356
356
  }[verb];
357
357
  }
358
358
  } else {
359
- type = this.isBankEntry ? (0, _formatMessage.default)('Bank Entry') : (0, _formatMessage.default)('Question');
359
+ type = (0, _formatMessage.default)('Question');
360
360
  var _opts3 = {
361
361
  verb: verb,
362
362
  type: type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.39.1-rc.7+abaa19088",
3
+ "version": "17.39.1-rc.9+6d152040e",
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.39.1-rc.7+abaa19088",
45
- "@instructure/quiz-i18n": "17.39.1-rc.7+abaa19088",
46
- "@instructure/quiz-interactions": "17.39.1-rc.7+abaa19088",
47
- "@instructure/quiz-number-input": "17.39.1-rc.7+abaa19088",
48
- "@instructure/quiz-rce": "17.39.1-rc.7+abaa19088",
44
+ "@instructure/quiz-common": "17.39.1-rc.9+6d152040e",
45
+ "@instructure/quiz-i18n": "17.39.1-rc.9+6d152040e",
46
+ "@instructure/quiz-interactions": "17.39.1-rc.9+6d152040e",
47
+ "@instructure/quiz-number-input": "17.39.1-rc.9+6d152040e",
48
+ "@instructure/quiz-rce": "17.39.1-rc.9+6d152040e",
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.39.1-rc.7+abaa19088",
109
+ "instructure-validations": "17.39.1-rc.9+6d152040e",
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.39.1-rc.7+abaa19088",
140
+ "@instructure/quiz-scripts": "17.39.1-rc.9+6d152040e",
141
141
  "@instructure/ui-axe-check": "^7.20.0",
142
142
  "@instructure/ui-babel-preset": "^7.20.0",
143
143
  "@instructure/ui-karma-config": "^7.20.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.39.1-rc.7+abaa19088",
159
+ "quiz-presets": "17.39.1-rc.9+6d152040e",
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": "abaa190882e81eaee02880695b10c8b847600e12"
175
+ "gitHead": "6d152040e48e2f9a935202b078d91980db653c70"
176
176
  }