@instructure/quiz-core 20.31.1-snapshot.3 → 20.31.1

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.
@@ -1,6 +1,5 @@
1
1
  import { RichContentInput } from '@instructure/quiz-rce';
2
2
  import t from '@instructure/quiz-i18n/es/format-message';
3
- import { featureOn } from "./featureCheck.js";
4
3
  export var propsForInteractionEdit = function propsForInteractionEdit(props, additionalOptions) {
5
4
  var item = props.workingItem.toJS();
6
5
  var changeItemState = function changeItemState(newState, inputId) {
@@ -62,8 +61,7 @@ export var propsForInteractionEdit = function propsForInteractionEdit(props, add
62
61
  setOneQuestionAtATime: setOneQuestionAtATime,
63
62
  stemErrors: props.workingItem.errorsFor('itemBody').toJS(),
64
63
  initialFocusId: props.initialFocusId,
65
- calculatorType: item.calculatorType,
66
- multipleHotSpotEnabled: featureOn('multiple_hotspot_selections')
64
+ calculatorType: item.calculatorType
67
65
  };
68
66
  };
69
67
  export var propsForInteractionShow = function propsForInteractionShow(item) {
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.propsForInteractionShow = exports.propsForInteractionEdit = void 0;
8
8
  var _quizRce = require("@instructure/quiz-rce");
9
9
  var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
10
- var _featureCheck = require("./featureCheck.js");
11
10
  var propsForInteractionEdit = exports.propsForInteractionEdit = function propsForInteractionEdit(props, additionalOptions) {
12
11
  var item = props.workingItem.toJS();
13
12
  var changeItemState = function changeItemState(newState, inputId) {
@@ -69,8 +68,7 @@ var propsForInteractionEdit = exports.propsForInteractionEdit = function propsFo
69
68
  setOneQuestionAtATime: setOneQuestionAtATime,
70
69
  stemErrors: props.workingItem.errorsFor('itemBody').toJS(),
71
70
  initialFocusId: props.initialFocusId,
72
- calculatorType: item.calculatorType,
73
- multipleHotSpotEnabled: (0, _featureCheck.featureOn)('multiple_hotspot_selections')
71
+ calculatorType: item.calculatorType
74
72
  };
75
73
  };
76
74
  var propsForInteractionShow = exports.propsForInteractionShow = function propsForInteractionShow(item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.31.1-snapshot.3+ef620535c",
3
+ "version": "20.31.1",
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": "^8.51.0",
47
47
  "@instructure/grading-utils": "^1.0.0",
48
48
  "@instructure/outcomes-ui": "^3.2.2",
49
- "@instructure/quiz-common": "20.31.1-snapshot.3+ef620535c",
50
- "@instructure/quiz-i18n": "20.31.1-snapshot.3+ef620535c",
51
- "@instructure/quiz-interactions": "20.31.1-snapshot.3+ef620535c",
52
- "@instructure/quiz-number-input": "20.31.1-snapshot.3+ef620535c",
53
- "@instructure/quiz-rce": "20.31.1-snapshot.3+ef620535c",
49
+ "@instructure/quiz-common": "^20.31.1",
50
+ "@instructure/quiz-i18n": "^20.31.1",
51
+ "@instructure/quiz-interactions": "^20.31.1",
52
+ "@instructure/quiz-number-input": "^20.31.1",
53
+ "@instructure/quiz-rce": "^20.31.1",
54
54
  "@instructure/ui-a11y-content": "^8.51.0",
55
55
  "@instructure/ui-alerts": "^8.51.0",
56
56
  "@instructure/ui-avatar": "^8.51.0",
@@ -114,7 +114,7 @@
114
114
  "file-saver": "~2.0.5",
115
115
  "humps": "^2.0.0",
116
116
  "immutable": "^3.8.1",
117
- "instructure-validations": "20.31.1-snapshot.3+ef620535c",
117
+ "instructure-validations": "^20.31.1",
118
118
  "ipaddr.js": "^1.5.4",
119
119
  "isomorphic-fetch": "^2.2.0",
120
120
  "isuuid": "^0.1.0",
@@ -145,7 +145,7 @@
145
145
  "uuid": "^3.2.1"
146
146
  },
147
147
  "devDependencies": {
148
- "@instructure/quiz-scripts": "20.31.1",
148
+ "@instructure/quiz-scripts": "^20.31.1",
149
149
  "@instructure/ui-axe-check": "^8.51.0",
150
150
  "@instructure/ui-babel-preset": "^7.22.1",
151
151
  "@instructure/ui-test-utils": "^7.22.1",
@@ -163,7 +163,7 @@
163
163
  "jquery": "^2.2.3",
164
164
  "karma-junit-reporter": "^2.0.1",
165
165
  "most-subject": "^5.3.0",
166
- "quiz-presets": "20.31.1-snapshot.3+ef620535c",
166
+ "quiz-presets": "^20.31.1",
167
167
  "react": "^16.8.6",
168
168
  "react-addons-test-utils": "^15.6.2",
169
169
  "react-dom": "^16.8.6",
@@ -178,6 +178,5 @@
178
178
  },
179
179
  "publishConfig": {
180
180
  "access": "public"
181
- },
182
- "gitHead": "ef620535cfe9138379e6829fb6b759d212449f6a"
181
+ }
183
182
  }