@instructure/quiz-core 17.54.0 → 17.54.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.
|
@@ -27,6 +27,7 @@ import { BANKS_BANK_FILTERS, BANKS_BANK_PAGINATION, CREATE_BANK_MODAL } from '@i
|
|
|
27
27
|
import BanksList from "../../../banks/components/BanksList/index.js";
|
|
28
28
|
import CreateBankModal from "../../../banks/components/CreateBankModal/index.js";
|
|
29
29
|
import NavWrapper from "../NavWrapper/index.js";
|
|
30
|
+
import noResults from '../noResults.svg';
|
|
30
31
|
var styles = {
|
|
31
32
|
componentId: 'cYUUC',
|
|
32
33
|
template: function template(theme) {
|
|
@@ -44,6 +45,11 @@ var sortOrderIcons = {
|
|
|
44
45
|
ASC: IconArrowUpLine,
|
|
45
46
|
DESC: IconArrowDownLine
|
|
46
47
|
};
|
|
48
|
+
|
|
49
|
+
var _ref4 = /*#__PURE__*/React.createElement(Img, {
|
|
50
|
+
src: noResults
|
|
51
|
+
});
|
|
52
|
+
|
|
47
53
|
export var Banks = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
48
54
|
_inherits(Banks, _Component);
|
|
49
55
|
|
|
@@ -174,8 +180,6 @@ export var Banks = (_dec = themeable(theme, styles), _dec(_class = (_temp = _cla
|
|
|
174
180
|
|
|
175
181
|
_this.emptyPage = function () {
|
|
176
182
|
if (_this.props.searchTerms) {
|
|
177
|
-
var noResultsImg = require('./noResults.svg');
|
|
178
|
-
|
|
179
183
|
var message;
|
|
180
184
|
|
|
181
185
|
if (_this.props.scopeType === 'course') {
|
|
@@ -188,9 +192,7 @@ export var Banks = (_dec = themeable(theme, styles), _dec(_class = (_temp = _cla
|
|
|
188
192
|
size: "medium",
|
|
189
193
|
heading: t('No Results Found'),
|
|
190
194
|
message: message,
|
|
191
|
-
hero:
|
|
192
|
-
src: noResultsImg
|
|
193
|
-
})
|
|
195
|
+
hero: _ref4
|
|
194
196
|
});
|
|
195
197
|
}
|
|
196
198
|
|
|
@@ -61,6 +61,8 @@ var _index4 = _interopRequireDefault(require("../../../banks/components/CreateBa
|
|
|
61
61
|
|
|
62
62
|
var _index5 = _interopRequireDefault(require("../NavWrapper/index.js"));
|
|
63
63
|
|
|
64
|
+
var _noResults = _interopRequireDefault(require("../noResults.svg"));
|
|
65
|
+
|
|
64
66
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
65
67
|
|
|
66
68
|
var _dec, _class, _class2, _temp;
|
|
@@ -81,6 +83,11 @@ var sortOrderIcons = {
|
|
|
81
83
|
ASC: _uiIcons.IconArrowUpLine,
|
|
82
84
|
DESC: _uiIcons.IconArrowDownLine
|
|
83
85
|
};
|
|
86
|
+
|
|
87
|
+
var _ref4 = /*#__PURE__*/_react.default.createElement(_uiImg.Img, {
|
|
88
|
+
src: _noResults.default
|
|
89
|
+
});
|
|
90
|
+
|
|
84
91
|
var Banks = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
85
92
|
(0, _inherits2.default)(Banks, _Component);
|
|
86
93
|
|
|
@@ -210,8 +217,6 @@ var Banks = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_c
|
|
|
210
217
|
|
|
211
218
|
_this.emptyPage = function () {
|
|
212
219
|
if (_this.props.searchTerms) {
|
|
213
|
-
var noResultsImg = require('./noResults.svg');
|
|
214
|
-
|
|
215
220
|
var message;
|
|
216
221
|
|
|
217
222
|
if (_this.props.scopeType === 'course') {
|
|
@@ -224,9 +229,7 @@ var Banks = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_c
|
|
|
224
229
|
size: "medium",
|
|
225
230
|
heading: (0, _formatMessage.default)('No Results Found'),
|
|
226
231
|
message: message,
|
|
227
|
-
hero:
|
|
228
|
-
src: noResultsImg
|
|
229
|
-
})
|
|
232
|
+
hero: _ref4
|
|
230
233
|
});
|
|
231
234
|
}
|
|
232
235
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.54.0",
|
|
3
|
+
"version": "17.54.1-rc.0+7f9669334",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test:karma": "ui-test",
|
|
26
26
|
"test:watch": "ui-test --watch",
|
|
27
27
|
"snyk:monitor": "snyk monitor",
|
|
28
|
-
"postbuild": "cp src/banks/components/
|
|
28
|
+
"postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/",
|
|
29
29
|
"postbuild:all": "yarn postbuild"
|
|
30
30
|
},
|
|
31
31
|
"keywords": [
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@instructure/outcomes-ui": "^2.1.7",
|
|
44
|
-
"@instructure/quiz-common": "
|
|
45
|
-
"@instructure/quiz-i18n": "
|
|
46
|
-
"@instructure/quiz-interactions": "
|
|
47
|
-
"@instructure/quiz-number-input": "
|
|
48
|
-
"@instructure/quiz-rce": "
|
|
44
|
+
"@instructure/quiz-common": "17.54.1-rc.0+7f9669334",
|
|
45
|
+
"@instructure/quiz-i18n": "17.54.1-rc.0+7f9669334",
|
|
46
|
+
"@instructure/quiz-interactions": "17.54.1-rc.0+7f9669334",
|
|
47
|
+
"@instructure/quiz-number-input": "17.54.1-rc.0+7f9669334",
|
|
48
|
+
"@instructure/quiz-rce": "17.54.1-rc.0+7f9669334",
|
|
49
49
|
"@instructure/ui-a11y-content": "^7.20.0",
|
|
50
50
|
"@instructure/ui-alerts": "^7.20.0",
|
|
51
51
|
"@instructure/ui-avatar": "^7.20.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": "
|
|
109
|
+
"instructure-validations": "17.54.1-rc.0+7f9669334",
|
|
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": "
|
|
140
|
+
"@instructure/quiz-scripts": "17.54.0",
|
|
141
141
|
"@instructure/ui-axe-check": "^7.20.0",
|
|
142
142
|
"@instructure/ui-babel-preset": "^7.20.0",
|
|
143
143
|
"@instructure/ui-karma-config": "^7.20.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": "
|
|
159
|
+
"quiz-presets": "17.54.1-rc.0+7f9669334",
|
|
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": "7f9669334639f3f98a4005ac0575429d19ee3f62"
|
|
176
176
|
}
|
|
File without changes
|
|
File without changes
|