@instructure/quiz-core 22.5.1-rc.8 → 22.5.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.
@@ -610,7 +610,7 @@ export var BankEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
610
610
  useBankTags = _this$props3.useBankTags;
611
611
  var props = this.editProps(entry);
612
612
  var propsFunc = this.isItemEntry() ? propsForItemVersioningWrapper : propsForStimulusVersioningWrapper;
613
- var versioningProps = propsFunc(entry.isImmutable(), this.props.shouldClone, this.props.setShouldClone, this.navigateToBank, true);
613
+ var versioningProps = propsFunc(entry.isImmutable(), this.props.shouldClone, this.props.setShouldClone, this.navigateToBank, true, 'warning', this.isPassageEntry());
614
614
  var canEdit = !entry.isImmutable() || this.props.shouldClone;
615
615
  var ItemComponent = canEdit ? ItemEdit : ItemShow;
616
616
  var StimulusComponent = canEdit ? StimulusEditInfo : StimulusShowInfo;
@@ -617,7 +617,7 @@ var BankEntry = exports.BankEntry = (_dec = (0, _quizCommon.withStyleOverrides)(
617
617
  useBankTags = _this$props3.useBankTags;
618
618
  var props = this.editProps(entry);
619
619
  var propsFunc = this.isItemEntry() ? _warningHelpers.propsForItemVersioningWrapper : _warningHelpers.propsForStimulusVersioningWrapper;
620
- var versioningProps = propsFunc(entry.isImmutable(), this.props.shouldClone, this.props.setShouldClone, this.navigateToBank, true);
620
+ var versioningProps = propsFunc(entry.isImmutable(), this.props.shouldClone, this.props.setShouldClone, this.navigateToBank, true, 'warning', this.isPassageEntry());
621
621
  var canEdit = !entry.isImmutable() || this.props.shouldClone;
622
622
  var ItemComponent = canEdit ? _ItemEdit["default"] : _ItemShow["default"];
623
623
  var StimulusComponent = canEdit ? _StimulusEditInfo["default"] : _StimulusShowInfo["default"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "22.5.1-rc.8+f36d4de46",
3
+ "version": "22.5.1-rc.9+1737286f2",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -46,11 +46,11 @@
46
46
  "@instructure/emotion": "10.14.0",
47
47
  "@instructure/grading-utils": "^1.0.0",
48
48
  "@instructure/outcomes-ui": "3.2.3",
49
- "@instructure/quiz-common": "22.5.1-rc.8+f36d4de46",
50
- "@instructure/quiz-i18n": "22.5.1-rc.8+f36d4de46",
51
- "@instructure/quiz-interactions": "22.5.1-rc.8+f36d4de46",
52
- "@instructure/quiz-number-input": "22.5.1-rc.8+f36d4de46",
53
- "@instructure/quiz-rce": "22.5.1-rc.8+f36d4de46",
49
+ "@instructure/quiz-common": "22.5.1-rc.9+1737286f2",
50
+ "@instructure/quiz-i18n": "22.5.1-rc.9+1737286f2",
51
+ "@instructure/quiz-interactions": "22.5.1-rc.9+1737286f2",
52
+ "@instructure/quiz-number-input": "22.5.1-rc.9+1737286f2",
53
+ "@instructure/quiz-rce": "22.5.1-rc.9+1737286f2",
54
54
  "@instructure/ui-a11y-content": "10.14.0",
55
55
  "@instructure/ui-alerts": "10.14.0",
56
56
  "@instructure/ui-avatar": "10.14.0",
@@ -109,7 +109,7 @@
109
109
  "file-saver": "~2.0.5",
110
110
  "humps": "^2.0.0",
111
111
  "immutable": "^3.8.1",
112
- "instructure-validations": "22.5.1-rc.8+f36d4de46",
112
+ "instructure-validations": "22.5.1-rc.9+1737286f2",
113
113
  "ipaddr.js": "^1.5.4",
114
114
  "isomorphic-fetch": "^2.2.0",
115
115
  "isuuid": "^0.1.0",
@@ -158,7 +158,7 @@
158
158
  "jquery": "^2.2.3",
159
159
  "karma-junit-reporter": "^2.0.1",
160
160
  "most-subject": "^5.3.0",
161
- "quiz-presets": "22.5.1-rc.8+f36d4de46",
161
+ "quiz-presets": "22.5.1-rc.9+1737286f2",
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": "f36d4de4668d25603bb032c66817d53c0974b7d3"
177
+ "gitHead": "1737286f28fa3aa9359079ea3fed7e493550d06b"
178
178
  }