@instructure/quiz-core 20.20.1-snapshot.3 → 20.21.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.
@@ -14,6 +14,7 @@ import { TruncateText } from '@instructure/ui-truncate-text';
14
14
  import { Modal } from '@instructure/ui-modal';
15
15
  import { liveRegion } from '@instructure/quiz-common';
16
16
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
17
+ import { featureOn } from "../../../../common/util/featureCheck.js";
17
18
  export var ModerateTray = /*#__PURE__*/function (_Component) {
18
19
  _inherits(ModerateTray, _Component);
19
20
  var _super = _createSuper(ModerateTray);
@@ -150,7 +151,7 @@ export var ModerateTray = /*#__PURE__*/function (_Component) {
150
151
  }, this.renderTitleAndCloseButton()), /*#__PURE__*/React.createElement(Flex.Item, {
151
152
  shouldGrow: true,
152
153
  padding: "0 medium"
153
- }, this.renderChildren()), /*#__PURE__*/React.createElement(Flex.Item, null, this.renderFooter())));
154
+ }, this.renderChildren()), featureOn('add_time_to_existing_quiz_sessions') && /*#__PURE__*/React.createElement(Flex.Item, null, this.renderFooter())));
154
155
  }
155
156
  }]);
156
157
  ModerateTray.displayName = "ModerateTray";
@@ -22,6 +22,7 @@ var _uiTruncateText = require("@instructure/ui-truncate-text");
22
22
  var _uiModal = require("@instructure/ui-modal");
23
23
  var _quizCommon = require("@instructure/quiz-common");
24
24
  var _uiA11yContent = require("@instructure/ui-a11y-content");
25
+ var _featureCheck = require("../../../../common/util/featureCheck.js");
25
26
  var ModerateTray = /*#__PURE__*/function (_Component) {
26
27
  (0, _inherits2.default)(ModerateTray, _Component);
27
28
  var _super = (0, _createSuper2.default)(ModerateTray);
@@ -158,7 +159,7 @@ var ModerateTray = /*#__PURE__*/function (_Component) {
158
159
  }, this.renderTitleAndCloseButton()), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
159
160
  shouldGrow: true,
160
161
  padding: "0 medium"
161
- }, this.renderChildren()), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, this.renderFooter())));
162
+ }, this.renderChildren()), (0, _featureCheck.featureOn)('add_time_to_existing_quiz_sessions') && /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, this.renderFooter())));
162
163
  }
163
164
  }]);
164
165
  ModerateTray.displayName = "ModerateTray";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.20.1-snapshot.3+5e4f10e06",
3
+ "version": "20.21.0",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -44,11 +44,11 @@
44
44
  "@instructure/emotion": "^8.51.0",
45
45
  "@instructure/grading-utils": "^1.0.0",
46
46
  "@instructure/outcomes-ui": "^3.2.2",
47
- "@instructure/quiz-common": "20.20.1-snapshot.3+5e4f10e06",
48
- "@instructure/quiz-i18n": "20.20.1-snapshot.3+5e4f10e06",
49
- "@instructure/quiz-interactions": "20.20.1-snapshot.3+5e4f10e06",
50
- "@instructure/quiz-number-input": "20.20.1-snapshot.3+5e4f10e06",
51
- "@instructure/quiz-rce": "20.20.1-snapshot.3+5e4f10e06",
47
+ "@instructure/quiz-common": "^20.21.0",
48
+ "@instructure/quiz-i18n": "^20.21.0",
49
+ "@instructure/quiz-interactions": "^20.21.0",
50
+ "@instructure/quiz-number-input": "^20.21.0",
51
+ "@instructure/quiz-rce": "^20.21.0",
52
52
  "@instructure/ui-a11y-content": "^8.51.0",
53
53
  "@instructure/ui-alerts": "^8.51.0",
54
54
  "@instructure/ui-avatar": "^8.51.0",
@@ -112,7 +112,7 @@
112
112
  "file-saver": "~2.0.5",
113
113
  "humps": "^2.0.0",
114
114
  "immutable": "^3.8.1",
115
- "instructure-validations": "20.20.1-snapshot.3+5e4f10e06",
115
+ "instructure-validations": "^20.21.0",
116
116
  "ipaddr.js": "^1.5.4",
117
117
  "isomorphic-fetch": "^2.2.0",
118
118
  "isuuid": "^0.1.0",
@@ -143,7 +143,7 @@
143
143
  "uuid": "^3.2.1"
144
144
  },
145
145
  "devDependencies": {
146
- "@instructure/quiz-scripts": "20.20.0",
146
+ "@instructure/quiz-scripts": "^20.21.0",
147
147
  "@instructure/ui-axe-check": "^8.51.0",
148
148
  "@instructure/ui-babel-preset": "^7.22.1",
149
149
  "@instructure/ui-test-utils": "^7.22.1",
@@ -161,7 +161,7 @@
161
161
  "jquery": "^2.2.3",
162
162
  "karma-junit-reporter": "^2.0.1",
163
163
  "most-subject": "^5.3.0",
164
- "quiz-presets": "20.20.1-snapshot.3+5e4f10e06",
164
+ "quiz-presets": "^20.21.0",
165
165
  "react": "^16.8.6",
166
166
  "react-addons-test-utils": "^15.6.2",
167
167
  "react-dom": "^16.8.6",
@@ -176,6 +176,5 @@
176
176
  },
177
177
  "publishConfig": {
178
178
  "access": "public"
179
- },
180
- "gitHead": "5e4f10e0603589e25fbc4a4c0a24c2b993bc3d69"
179
+ }
181
180
  }