@instructure/quiz-core 17.17.4-rc.5 → 17.19.1-rc.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.
- package/CHANGELOG.md +23 -0
- package/es/building/components/resources/ItemFeedbackModal/presenter.js +1 -3
- package/es/building/components/resources/quiz/instructions/Edit/presenter.js +1 -3
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +1 -3
- package/es/index.js +1 -2
- package/package.json +10 -10
- package/es/common/util/rceChecker.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [17.19.0](https://gerrit.instructure.com/quizzes-ui/compare/v17.18.0...v17.19.0) (2021-10-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **quizzes-ui:** Allow TinyMCE v5 to load based on a feature flag - REVERT ([2f0b79e](https://gerrit.instructure.com/quizzes-ui/commits/2f0b79e5bdb7572ea37721e2c83079907cc2deb2))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [17.18.0](https://gerrit.instructure.com/quizzes-ui/compare/v17.17.3...v17.18.0) (2021-10-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **quizzes-ui:** Allow TinyMCE v5 to load based on a feature flag ([69c6404](https://gerrit.instructure.com/quizzes-ui/commits/69c640439f2946526130db088977691b976d410f))
|
|
23
|
+
* **stimulusOrientation:** allow setting stimulus orientation ([d5ed951](https://gerrit.instructure.com/quizzes-ui/commits/d5ed95176b1e3520103d86ccb6593f6d1b192c72))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
## [17.17.3](https://gerrit.instructure.com/quizzes-ui/compare/v17.17.2...v17.17.3) (2021-10-06)
|
|
7
30
|
|
|
8
31
|
**Note:** Version bump only for package @instructure/quiz-core
|
|
@@ -12,7 +12,6 @@ import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
|
12
12
|
import { Heading } from '@instructure/ui-heading';
|
|
13
13
|
import { themeable } from '@instructure/ui-themeable';
|
|
14
14
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
15
|
-
import { isNewRCEEnabled } from "../../../../common/util/rceChecker.js";
|
|
16
15
|
import RichContentInput from "../../../../common/components/RichContentInput/index.js";
|
|
17
16
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
18
17
|
import { Modal, ModalHeader, ModalBody, ModalFooter, ITEM_FEEDBACK_MODAL, ITEM_FEEDBACK_MODAL_FEEDBACK, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
@@ -104,8 +103,7 @@ export var ItemFeedbackModal = (_dec = themeable(theme, styles), _dec(_class = (
|
|
|
104
103
|
onChange: this.onFeedbackChange,
|
|
105
104
|
parentType: this.props.parentType,
|
|
106
105
|
parentId: this.props.parentId,
|
|
107
|
-
importModalCloseOverride: this.returnToFeedback
|
|
108
|
-
useNewRce: isNewRCEEnabled()
|
|
106
|
+
importModalCloseOverride: this.returnToFeedback
|
|
109
107
|
}));
|
|
110
108
|
}
|
|
111
109
|
}, {
|
|
@@ -11,7 +11,6 @@ import { Button } from '@instructure/ui-buttons';
|
|
|
11
11
|
import { themeable } from '@instructure/ui-themeable';
|
|
12
12
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
13
13
|
import RichContentInput from "../../../../../../common/components/RichContentInput/index.js";
|
|
14
|
-
import { isNewRCEEnabled } from "../../../../../../common/util/rceChecker.js";
|
|
15
14
|
import wrapWithOutsideClick from "../../../../../../common/components/shared/functionality/componentWithOutsideClick.js";
|
|
16
15
|
import CustomPropTypes from "../../../../../../common/util/CustomPropTypes.js";
|
|
17
16
|
import elementsForSelectors from "../../../../../../common/util/ElementsForSelectors.js";
|
|
@@ -89,8 +88,7 @@ var QuizInstructionsEdit = (_dec = themeable(theme, styles), _dec(_class = (_tem
|
|
|
89
88
|
onKeyUp: this.props.onInputChange,
|
|
90
89
|
onChange: this.props.onInputChange,
|
|
91
90
|
parentType: PARENT_TYPE_QUIZ,
|
|
92
|
-
parentId: this.props.quizId
|
|
93
|
-
useNewRce: isNewRCEEnabled()
|
|
91
|
+
parentId: this.props.quizId
|
|
94
92
|
}), /*#__PURE__*/React.createElement("div", {
|
|
95
93
|
className: styles.footer
|
|
96
94
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -16,7 +16,6 @@ import { themeable } from '@instructure/ui-themeable';
|
|
|
16
16
|
import { Heading } from '@instructure/ui-heading';
|
|
17
17
|
import RichContentInput from "../../../RichContentInput/index.js";
|
|
18
18
|
import { toErrors } from "../../../../util/instUIMessages.js";
|
|
19
|
-
import { isNewRCEEnabled } from "../../../../util/rceChecker.js";
|
|
20
19
|
import Errors from "../../../shared/errors/Errors.js";
|
|
21
20
|
import { SimpleSelect } from '@instructure/ui-simple-select';
|
|
22
21
|
import { IconUpdownLine } from '@instructure/ui-icons';
|
|
@@ -175,8 +174,7 @@ export var StimulusEditInfo = (_dec = themeable(theme, styles), _dec(_class = (_
|
|
|
175
174
|
defaultContent: stimulus.get('body'),
|
|
176
175
|
onKeyUp: this.onBodyChange,
|
|
177
176
|
onBlur: this.onBodyChange,
|
|
178
|
-
uploadPath: this.fileUploadUrl()
|
|
179
|
-
useNewRce: isNewRCEEnabled()
|
|
177
|
+
uploadPath: this.fileUploadUrl()
|
|
180
178
|
}), /*#__PURE__*/React.createElement(Errors, {
|
|
181
179
|
errorList: this.errorsList('body')
|
|
182
180
|
})), /*#__PURE__*/React.createElement("div", {
|
package/es/index.js
CHANGED
|
@@ -89,8 +89,7 @@ export { formatTime } from "./common/util/formatTimespan.js";
|
|
|
89
89
|
export { connect } from "./common/react-redux.js";
|
|
90
90
|
export { breakdownSeconds, HOUR_IN_SECONDS } from "./common/components/shared/FormattedDuration/index.js";
|
|
91
91
|
export { sessionStore } from "./common/util/sessionStore.js";
|
|
92
|
-
export { printWithCss, ensureImagesLoaded } from "./common/util/printUtils.js";
|
|
93
|
-
export { isNewRCEEnabled } from "./common/util/rceChecker.js"; // APIs
|
|
92
|
+
export { printWithCss, ensureImagesLoaded } from "./common/util/printUtils.js"; // APIs
|
|
94
93
|
|
|
95
94
|
export { createQuizEntryRegrade } from "./grading/api/quizEntryRegrades.js";
|
|
96
95
|
export { getQuizEntry } from "./building/api/quizEntries.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.19.1-rc.0+b76592503",
|
|
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.0.0",
|
|
44
|
-
"@instructure/quiz-common": "17.
|
|
45
|
-
"@instructure/quiz-i18n": "17.
|
|
46
|
-
"@instructure/quiz-interactions": "17.
|
|
47
|
-
"@instructure/quiz-number-input": "17.
|
|
48
|
-
"@instructure/quiz-rce": "17.
|
|
44
|
+
"@instructure/quiz-common": "17.19.1-rc.0+b76592503",
|
|
45
|
+
"@instructure/quiz-i18n": "17.19.1-rc.0+b76592503",
|
|
46
|
+
"@instructure/quiz-interactions": "17.19.1-rc.0+b76592503",
|
|
47
|
+
"@instructure/quiz-number-input": "17.19.1-rc.0+b76592503",
|
|
48
|
+
"@instructure/quiz-rce": "17.19.1-rc.0+b76592503",
|
|
49
49
|
"@instructure/ui-a11y-content": "^7.11.0",
|
|
50
50
|
"@instructure/ui-alerts": "^7.11.0",
|
|
51
51
|
"@instructure/ui-avatar": "^7.11.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.
|
|
109
|
+
"instructure-validations": "17.19.1-rc.0+b76592503",
|
|
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.
|
|
140
|
+
"@instructure/quiz-scripts": "17.19.1-rc.0+b76592503",
|
|
141
141
|
"@instructure/ui-axe-check": "^7.11.0",
|
|
142
142
|
"@instructure/ui-babel-preset": "^7.11.0",
|
|
143
143
|
"@instructure/ui-karma-config": "^7.11.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.
|
|
159
|
+
"quiz-presets": "17.19.1-rc.0+b76592503",
|
|
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": "
|
|
175
|
+
"gitHead": "b7659250369c809753316eef0525845cd581ffbf"
|
|
176
176
|
}
|