@instructure/quiz-core 22.7.1-rc.4 → 22.7.1-rc.6
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.
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +6 -1
- package/es/common/components/resources/item/ItemEdit/presenter.js +5 -1
- package/es/common/util/interactionTypePropsHelper.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +6 -1
- package/lib/common/components/resources/item/ItemEdit/presenter.js +5 -1
- package/lib/common/util/interactionTypePropsHelper.js +2 -1
- package/package.json +9 -9
|
@@ -150,7 +150,8 @@ export var QuizEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
150
150
|
title: item.title,
|
|
151
151
|
initialFocusId: this.props.initialFocusId,
|
|
152
152
|
validationErrorsFromApi: this.props.validationErrorsFromApi,
|
|
153
|
-
clearValidationErrorsFromApi: this.props.clearValidationErrorsFromApi
|
|
153
|
+
clearValidationErrorsFromApi: this.props.clearValidationErrorsFromApi,
|
|
154
|
+
separatorConfig: this.props.separatorConfig
|
|
154
155
|
};
|
|
155
156
|
}
|
|
156
157
|
}, {
|
|
@@ -364,6 +365,10 @@ export var QuizEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
364
365
|
text: PropTypes.string
|
|
365
366
|
}))),
|
|
366
367
|
stimulusOrientation: PropTypes.string,
|
|
368
|
+
separatorConfig: PropTypes.shape({
|
|
369
|
+
decimalSeparator: PropTypes.string,
|
|
370
|
+
thousandSeparator: PropTypes.string
|
|
371
|
+
}),
|
|
367
372
|
styles: PropTypes.object
|
|
368
373
|
}), _defineProperty(_QuizEntry, "defaultProps", {
|
|
369
374
|
childEntries: List(),
|
|
@@ -180,7 +180,11 @@ _defineProperty(ItemEdit, "propTypes", {
|
|
|
180
180
|
root_account_name: PropTypes.string
|
|
181
181
|
}),
|
|
182
182
|
rootAccountUuid: PropTypes.string,
|
|
183
|
-
showCalculatorOption: PropTypes.bool
|
|
183
|
+
showCalculatorOption: PropTypes.bool,
|
|
184
|
+
separatorConfig: PropTypes.shape({
|
|
185
|
+
decimalSeparator: PropTypes.string,
|
|
186
|
+
thousandSeparator: PropTypes.string
|
|
187
|
+
})
|
|
184
188
|
});
|
|
185
189
|
_defineProperty(ItemEdit, "defaultProps", {
|
|
186
190
|
additionalOptions: [],
|
|
@@ -61,7 +61,8 @@ export var propsForInteractionEdit = function propsForInteractionEdit(props, add
|
|
|
61
61
|
initialFocusId: props.initialFocusId,
|
|
62
62
|
calculatorType: item.calculatorType,
|
|
63
63
|
multipleHotSpotEnabled: featureOn('multiple_hotspot_selections'),
|
|
64
|
-
showCalculatorOption: props.showCalculatorOption
|
|
64
|
+
showCalculatorOption: props.showCalculatorOption,
|
|
65
|
+
separatorConfig: props.separatorConfig
|
|
65
66
|
};
|
|
66
67
|
};
|
|
67
68
|
export var propsForInteractionShow = function propsForInteractionShow(item) {
|
|
@@ -157,7 +157,8 @@ var QuizEntry = exports.QuizEntry = (_dec = (0, _quizCommon.withStyleOverrides)(
|
|
|
157
157
|
title: item.title,
|
|
158
158
|
initialFocusId: this.props.initialFocusId,
|
|
159
159
|
validationErrorsFromApi: this.props.validationErrorsFromApi,
|
|
160
|
-
clearValidationErrorsFromApi: this.props.clearValidationErrorsFromApi
|
|
160
|
+
clearValidationErrorsFromApi: this.props.clearValidationErrorsFromApi,
|
|
161
|
+
separatorConfig: this.props.separatorConfig
|
|
161
162
|
};
|
|
162
163
|
}
|
|
163
164
|
}, {
|
|
@@ -371,6 +372,10 @@ var QuizEntry = exports.QuizEntry = (_dec = (0, _quizCommon.withStyleOverrides)(
|
|
|
371
372
|
text: _propTypes["default"].string
|
|
372
373
|
}))),
|
|
373
374
|
stimulusOrientation: _propTypes["default"].string,
|
|
375
|
+
separatorConfig: _propTypes["default"].shape({
|
|
376
|
+
decimalSeparator: _propTypes["default"].string,
|
|
377
|
+
thousandSeparator: _propTypes["default"].string
|
|
378
|
+
}),
|
|
374
379
|
styles: _propTypes["default"].object
|
|
375
380
|
}), (0, _defineProperty2["default"])(_QuizEntry, "defaultProps", {
|
|
376
381
|
childEntries: (0, _immutable.List)(),
|
|
@@ -189,7 +189,11 @@ var ItemEdit = exports.ItemEdit = /*#__PURE__*/function (_Component) {
|
|
|
189
189
|
root_account_name: _propTypes["default"].string
|
|
190
190
|
}),
|
|
191
191
|
rootAccountUuid: _propTypes["default"].string,
|
|
192
|
-
showCalculatorOption: _propTypes["default"].bool
|
|
192
|
+
showCalculatorOption: _propTypes["default"].bool,
|
|
193
|
+
separatorConfig: _propTypes["default"].shape({
|
|
194
|
+
decimalSeparator: _propTypes["default"].string,
|
|
195
|
+
thousandSeparator: _propTypes["default"].string
|
|
196
|
+
})
|
|
193
197
|
});
|
|
194
198
|
(0, _defineProperty2["default"])(ItemEdit, "defaultProps", {
|
|
195
199
|
additionalOptions: [],
|
|
@@ -68,7 +68,8 @@ var propsForInteractionEdit = exports.propsForInteractionEdit = function propsFo
|
|
|
68
68
|
initialFocusId: props.initialFocusId,
|
|
69
69
|
calculatorType: item.calculatorType,
|
|
70
70
|
multipleHotSpotEnabled: (0, _featureCheck.featureOn)('multiple_hotspot_selections'),
|
|
71
|
-
showCalculatorOption: props.showCalculatorOption
|
|
71
|
+
showCalculatorOption: props.showCalculatorOption,
|
|
72
|
+
separatorConfig: props.separatorConfig
|
|
72
73
|
};
|
|
73
74
|
};
|
|
74
75
|
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": "22.7.1-rc.
|
|
3
|
+
"version": "22.7.1-rc.6+8b070bf79",
|
|
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.7.1-rc.
|
|
50
|
-
"@instructure/quiz-i18n": "22.7.1-rc.
|
|
51
|
-
"@instructure/quiz-interactions": "22.7.1-rc.
|
|
52
|
-
"@instructure/quiz-number-input": "22.7.1-rc.
|
|
53
|
-
"@instructure/quiz-rce": "22.7.1-rc.
|
|
49
|
+
"@instructure/quiz-common": "22.7.1-rc.6+8b070bf79",
|
|
50
|
+
"@instructure/quiz-i18n": "22.7.1-rc.6+8b070bf79",
|
|
51
|
+
"@instructure/quiz-interactions": "22.7.1-rc.6+8b070bf79",
|
|
52
|
+
"@instructure/quiz-number-input": "22.7.1-rc.6+8b070bf79",
|
|
53
|
+
"@instructure/quiz-rce": "22.7.1-rc.6+8b070bf79",
|
|
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.7.1-rc.
|
|
112
|
+
"instructure-validations": "22.7.1-rc.6+8b070bf79",
|
|
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.7.1-rc.
|
|
161
|
+
"quiz-presets": "22.7.1-rc.6+8b070bf79",
|
|
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": "
|
|
177
|
+
"gitHead": "8b070bf799d597a5e859e341930a92ceedc83722"
|
|
178
178
|
}
|