@instructure/quiz-core 18.5.0 → 18.5.1-rc.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.
@@ -33,7 +33,7 @@ export var AnalysisUpdateDate = /*#__PURE__*/function (_Component) {
33
33
  }, /*#__PURE__*/React.createElement(Flex, {
34
34
  direction: multiline ? 'column' : 'row',
35
35
  alignItems: "start"
36
- }, /*#__PURE__*/React.createElement("b", null, t('Data Last Updated:'), "\xA0"), /*#__PURE__*/React.createElement("span", null, displayDateAndTimeInTimezone(date, timezone, locale))));
36
+ }, /*#__PURE__*/React.createElement("span", null, t('Data Last Updated:'), "\xA0"), /*#__PURE__*/React.createElement("span", null, displayDateAndTimeInTimezone(date, timezone, locale))));
37
37
  }
38
38
  }]);
39
39
 
@@ -122,17 +122,19 @@ export var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component)
122
122
  width: "auto",
123
123
  margin: "auto",
124
124
  direction: "row"
125
- }, /*#__PURE__*/React.createElement(Flex.Item, null, _this.renderHeader()), /*#__PURE__*/React.createElement(Flex.Item, null, /*#__PURE__*/React.createElement(Flex, {
125
+ }, /*#__PURE__*/React.createElement(Flex.Item, null, _this.renderHeader()), /*#__PURE__*/React.createElement(Flex.Item, {
126
+ margin: "0 0 0 auto"
127
+ }, /*#__PURE__*/React.createElement(Flex, {
126
128
  alignItems: "center",
129
+ justifyItems: "end",
127
130
  width: "auto",
128
- margin: "auto",
129
- direction: "row"
130
- }, /*#__PURE__*/React.createElement(Flex.Item, {
131
- margin: "small"
132
- }, /*#__PURE__*/React.createElement(AnalysisUpdateDate, {
131
+ direction: "row",
132
+ wrap: "wrap-reverse"
133
+ }, /*#__PURE__*/React.createElement(Flex.Item, null, /*#__PURE__*/React.createElement(AnalysisUpdateDate, {
133
134
  date: quizAnalysis === null || quizAnalysis === void 0 ? void 0 : quizAnalysis.created_timestamp
134
135
  })), /*#__PURE__*/React.createElement(Flex.Item, {
135
- overflowY: "visible"
136
+ overflowY: "visible",
137
+ margin: "0 0 0 small"
136
138
  }, _this.renderGenerationButton()), /*#__PURE__*/React.createElement(Flex.Item, null, shouldShowError && /*#__PURE__*/React.createElement(Text, {
137
139
  size: "x-small",
138
140
  weight: "bold",
@@ -167,7 +169,7 @@ export var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component)
167
169
 
168
170
  _this.renderStartGenerationButton = function () {
169
171
  return /*#__PURE__*/React.createElement(Button, {
170
- color: "primary-inverse",
172
+ color: "secondary",
171
173
  margin: "0 0 x-small 0",
172
174
  onClick: _this.handleGeneration,
173
175
  theme: {
@@ -53,7 +53,7 @@ var AnalysisUpdateDate = /*#__PURE__*/function (_Component) {
53
53
  }, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex, {
54
54
  direction: multiline ? 'column' : 'row',
55
55
  alignItems: "start"
56
- }, /*#__PURE__*/_react.default.createElement("b", null, (0, _formatMessage.default)('Data Last Updated:'), "\xA0"), /*#__PURE__*/_react.default.createElement("span", null, (0, _formatTimespan.displayDateAndTimeInTimezone)(date, timezone, locale))));
56
+ }, /*#__PURE__*/_react.default.createElement("span", null, (0, _formatMessage.default)('Data Last Updated:'), "\xA0"), /*#__PURE__*/_react.default.createElement("span", null, (0, _formatTimespan.displayDateAndTimeInTimezone)(date, timezone, locale))));
57
57
  }
58
58
  }]);
59
59
  AnalysisUpdateDate.displayName = "AnalysisUpdateDate";
@@ -153,17 +153,19 @@ var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component) {
153
153
  width: "auto",
154
154
  margin: "auto",
155
155
  direction: "row"
156
- }, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, _this.renderHeader()), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex, {
156
+ }, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, _this.renderHeader()), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
157
+ margin: "0 0 0 auto"
158
+ }, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex, {
157
159
  alignItems: "center",
160
+ justifyItems: "end",
158
161
  width: "auto",
159
- margin: "auto",
160
- direction: "row"
161
- }, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
162
- margin: "small"
163
- }, /*#__PURE__*/_react.default.createElement(_index3.AnalysisUpdateDate, {
162
+ direction: "row",
163
+ wrap: "wrap-reverse"
164
+ }, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, /*#__PURE__*/_react.default.createElement(_index3.AnalysisUpdateDate, {
164
165
  date: quizAnalysis === null || quizAnalysis === void 0 ? void 0 : quizAnalysis.created_timestamp
165
166
  })), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
166
- overflowY: "visible"
167
+ overflowY: "visible",
168
+ margin: "0 0 0 small"
167
169
  }, _this.renderGenerationButton()), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, shouldShowError && /*#__PURE__*/_react.default.createElement(_uiText.Text, {
168
170
  size: "x-small",
169
171
  weight: "bold",
@@ -198,7 +200,7 @@ var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component) {
198
200
 
199
201
  _this.renderStartGenerationButton = function () {
200
202
  return /*#__PURE__*/_react.default.createElement(_uiButtons.Button, {
201
- color: "primary-inverse",
203
+ color: "secondary",
202
204
  margin: "0 0 x-small 0",
203
205
  onClick: _this.handleGeneration,
204
206
  theme: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "18.5.0",
3
+ "version": "18.5.1-rc.1+9f64fe102",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -43,11 +43,11 @@
43
43
  "dependencies": {
44
44
  "@instructure/grading-utils": "^1.0.0",
45
45
  "@instructure/outcomes-ui": "^2.1.9",
46
- "@instructure/quiz-common": "^18.5.0",
47
- "@instructure/quiz-i18n": "^18.5.0",
48
- "@instructure/quiz-interactions": "^18.5.0",
49
- "@instructure/quiz-number-input": "^18.5.0",
50
- "@instructure/quiz-rce": "^18.5.0",
46
+ "@instructure/quiz-common": "18.5.1-rc.1+9f64fe102",
47
+ "@instructure/quiz-i18n": "18.5.1-rc.1+9f64fe102",
48
+ "@instructure/quiz-interactions": "18.5.1-rc.1+9f64fe102",
49
+ "@instructure/quiz-number-input": "18.5.1-rc.1+9f64fe102",
50
+ "@instructure/quiz-rce": "18.5.1-rc.1+9f64fe102",
51
51
  "@instructure/ui-a11y-content": "^7.22.1",
52
52
  "@instructure/ui-alerts": "^7.22.1",
53
53
  "@instructure/ui-avatar": "^7.22.1",
@@ -108,7 +108,7 @@
108
108
  "eventemitter3": "^3.1.0",
109
109
  "humps": "^2.0.0",
110
110
  "immutable": "^3.8.1",
111
- "instructure-validations": "^18.5.0",
111
+ "instructure-validations": "18.5.1-rc.1+9f64fe102",
112
112
  "ipaddr.js": "^1.5.4",
113
113
  "isomorphic-fetch": "^2.2.0",
114
114
  "isuuid": "^0.1.0",
@@ -140,7 +140,7 @@
140
140
  "uuid": "^3.2.1"
141
141
  },
142
142
  "devDependencies": {
143
- "@instructure/quiz-scripts": "^18.5.0",
143
+ "@instructure/quiz-scripts": "18.5.0",
144
144
  "@instructure/ui-axe-check": "^7.22.1",
145
145
  "@instructure/ui-babel-preset": "^7.22.1",
146
146
  "@instructure/ui-karma-config": "^7.22.1",
@@ -159,7 +159,7 @@
159
159
  "intl": "^1.2.4",
160
160
  "jquery": "^2.2.3",
161
161
  "most-subject": "^5.3.0",
162
- "quiz-presets": "^18.5.0",
162
+ "quiz-presets": "18.5.1-rc.1+9f64fe102",
163
163
  "react": "^16.8.6",
164
164
  "react-addons-test-utils": "^15.6.2",
165
165
  "react-dom": "^16.8.6",
@@ -175,5 +175,5 @@
175
175
  "publishConfig": {
176
176
  "access": "public"
177
177
  },
178
- "gitHead": "858a53d21b5111021d4fb75d7392f15e6e60bcf3"
178
+ "gitHead": "9f64fe1029e0029cb999b0d8255369562691241f"
179
179
  }