@instructure/quiz-core 19.2.0 → 19.2.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/es/banks/components/Bank/presenter.js +34 -42
- package/es/banks/components/Bank/styles.js +36 -0
- package/es/banks/components/Bank/theme.js +4 -2
- package/es/banks/components/BankEntriesList/presenter.js +13 -16
- package/es/banks/components/BankEntriesList/styles.js +9 -0
- package/es/banks/components/BankEntriesList/theme.js +4 -2
- package/lib/banks/components/Bank/presenter.js +33 -41
- package/lib/banks/components/Bank/styles.js +47 -0
- package/lib/banks/components/Bank/theme.js +6 -3
- package/lib/banks/components/BankEntriesList/presenter.js +12 -17
- package/lib/banks/components/BankEntriesList/styles.js +17 -0
- package/lib/banks/components/BankEntriesList/theme.js +6 -3
- package/package.json +10 -10
|
@@ -8,7 +8,8 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
|
8
8
|
|
|
9
9
|
var _dec, _class, _class2, _temp;
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
/** @jsx jsx */
|
|
12
|
+
import { Component } from 'react';
|
|
12
13
|
import * as immutable from 'immutable';
|
|
13
14
|
import debounce from 'lodash/debounce';
|
|
14
15
|
import PropTypes from 'prop-types';
|
|
@@ -19,7 +20,7 @@ import { BreadcrumbLink } from '@instructure/ui-breadcrumb';
|
|
|
19
20
|
import { Button } from '@instructure/ui-buttons';
|
|
20
21
|
import { Heading } from '@instructure/ui-heading';
|
|
21
22
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
22
|
-
import {
|
|
23
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
23
24
|
import { Checkbox } from '@instructure/ui-checkbox';
|
|
24
25
|
import { View } from '@instructure/ui-view';
|
|
25
26
|
import BankRecord from "../../../common/records/Bank.js";
|
|
@@ -34,20 +35,9 @@ import BankSearch from "../../../banks/components/BankSearch/index.js";
|
|
|
34
35
|
import HeaderMenu from "../../../banks/components/HeaderMenu/index.js";
|
|
35
36
|
import NavWrapper from "../NavWrapper/index.js";
|
|
36
37
|
import { ADD_BANK_ENTRY_MODAL, BANKS_BANK_ENTRY_PAGINATION, CAN_EDIT, REMOVED_ACCESS, READ_ONLY } from '@instructure/quiz-common';
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return "\n\n.fWUWr_caGd{background-color:".concat(theme.contentBackgroundColor || 'inherit', ";padding:").concat(theme.contentPaddingTopBottom || 'inherit', " ").concat(theme.contentPaddingLeftRight || 'inherit', "}\n\n.fWUWr_bXVg,.fWUWr_fDcJ,.fWUWr_dGfM{align-items:center;display:flex;flex-direction:row}\n\n.fWUWr_bXVg{flex:50%}\n\n.fWUWr_dGfM{flex:50%;justify-content:flex-end}\n\n.fWUWr_cfIL{padding:0 0 ").concat(theme.bankNamePaddingBottom || 'inherit', " 0}\n\n.fWUWr_etkf{padding-top:0.25rem;width:2rem}\n\n@media screen and (--phoneBreakPoint){.fWUWr_caGd{padding:").concat(theme.phoneContentPadding || 'inherit', " 0}}");
|
|
41
|
-
},
|
|
42
|
-
'content': 'fWUWr_caGd',
|
|
43
|
-
'topLeftMenu': 'fWUWr_bXVg',
|
|
44
|
-
'topMenu': 'fWUWr_fDcJ',
|
|
45
|
-
'topRightMenu': 'fWUWr_dGfM',
|
|
46
|
-
'bankName': 'fWUWr_cfIL',
|
|
47
|
-
'loading': 'fWUWr_etkf'
|
|
48
|
-
};
|
|
49
|
-
import theme from "./theme.js";
|
|
50
|
-
export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
38
|
+
import generateStyle from "./styles.js";
|
|
39
|
+
import generateComponentTheme from "./theme.js";
|
|
40
|
+
export var Bank = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
51
41
|
_inherits(Bank, _Component);
|
|
52
42
|
|
|
53
43
|
var _super = _createSuper(Bank);
|
|
@@ -75,7 +65,7 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
75
65
|
|
|
76
66
|
_this.renderHeaderMenu = function () {
|
|
77
67
|
if (!_this.props.isCompact) {
|
|
78
|
-
return
|
|
68
|
+
return jsx(HeaderMenu, {
|
|
79
69
|
bank: _this.props.bank
|
|
80
70
|
});
|
|
81
71
|
}
|
|
@@ -167,14 +157,14 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
167
157
|
};
|
|
168
158
|
|
|
169
159
|
_this.renderTopLeftMenu = function () {
|
|
170
|
-
return
|
|
171
|
-
|
|
160
|
+
return jsx("div", {
|
|
161
|
+
css: _this.props.styles.topLeftMenu
|
|
172
162
|
}, _this.renderMultiAdd());
|
|
173
163
|
};
|
|
174
164
|
|
|
175
165
|
_this.renderTopRightMenu = function () {
|
|
176
|
-
return
|
|
177
|
-
|
|
166
|
+
return jsx("div", {
|
|
167
|
+
css: _this.props.styles.topRightMenu
|
|
178
168
|
}, _this.renderNewBankEntryButton());
|
|
179
169
|
};
|
|
180
170
|
|
|
@@ -232,7 +222,7 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
232
222
|
|
|
233
223
|
_this.renderRecords = function (recordIds) {
|
|
234
224
|
var addEntryFunc = _this.props.isCompact && _this.props.addEntryToQuiz || null;
|
|
235
|
-
return
|
|
225
|
+
return jsx(BankEntriesList, {
|
|
236
226
|
addEntryToQuiz: addEntryFunc,
|
|
237
227
|
bank: _this.props.bank,
|
|
238
228
|
navigateToBankEntry: _this.props.navigateToBankEntry,
|
|
@@ -314,23 +304,23 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
314
304
|
navigateToBuild = _this$props3.navigateToBuild,
|
|
315
305
|
returnToUrl = _this$props3.returnToUrl;
|
|
316
306
|
var isScopeEmpty = !Object.keys(scope).length;
|
|
317
|
-
return
|
|
307
|
+
return jsx(NavWrapper, {
|
|
318
308
|
closeTray: closeTray,
|
|
319
309
|
navigateToBanks: navigateToBanks,
|
|
320
310
|
navigateToBuild: navigateToBuild,
|
|
321
311
|
renderHeaderMenu: this.renderHeaderMenu,
|
|
322
312
|
returnToUrl: isScopeEmpty ? null : returnToUrl,
|
|
323
313
|
canvasReferrerLinkText: isScopeEmpty ? null : scope.title
|
|
324
|
-
},
|
|
314
|
+
}, jsx(BreadcrumbLink, {
|
|
325
315
|
key: "bank"
|
|
326
316
|
}, this.props.bank.title));
|
|
327
317
|
}
|
|
328
318
|
}, {
|
|
329
319
|
key: "renderName",
|
|
330
320
|
value: function renderName() {
|
|
331
|
-
return
|
|
332
|
-
|
|
333
|
-
},
|
|
321
|
+
return jsx("div", {
|
|
322
|
+
css: this.props.styles.bankName
|
|
323
|
+
}, jsx(Heading, {
|
|
334
324
|
level: "h1"
|
|
335
325
|
}, this.props.bank.title || t('Bank')));
|
|
336
326
|
}
|
|
@@ -338,7 +328,7 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
338
328
|
key: "renderAddBankEntryModal",
|
|
339
329
|
value: function renderAddBankEntryModal() {
|
|
340
330
|
if (!this.props.isCompact) {
|
|
341
|
-
return
|
|
331
|
+
return jsx(AddBankEntryModal, {
|
|
342
332
|
bankId: this.props.bankId,
|
|
343
333
|
navigateToBankEntry: this.props.navigateToBankEntry
|
|
344
334
|
});
|
|
@@ -378,10 +368,10 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
378
368
|
var label = t('Share with { courseName }', {
|
|
379
369
|
courseName: this.props.scope.title
|
|
380
370
|
});
|
|
381
|
-
return
|
|
371
|
+
return jsx(View, {
|
|
382
372
|
margin: "small 0",
|
|
383
373
|
as: "div"
|
|
384
|
-
},
|
|
374
|
+
}, jsx(Checkbox, {
|
|
385
375
|
checked: this.state.sharedWithCourse,
|
|
386
376
|
label: label,
|
|
387
377
|
onChange: this.toggleCheckbox,
|
|
@@ -391,20 +381,20 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
391
381
|
}, {
|
|
392
382
|
key: "renderModals",
|
|
393
383
|
value: function renderModals() {
|
|
394
|
-
return
|
|
384
|
+
return jsx("div", null, this.renderAddBankEntryModal());
|
|
395
385
|
}
|
|
396
386
|
}, {
|
|
397
387
|
key: "renderNewBankEntryButton",
|
|
398
388
|
value: function renderNewBankEntryButton() {
|
|
399
389
|
if (!this.props.isCompact && this.props.bank.canEdit()) {
|
|
400
|
-
return
|
|
390
|
+
return jsx(Button, {
|
|
401
391
|
margin: "small none",
|
|
402
392
|
ref: this.storeCreateBankEntryButtonRef,
|
|
403
393
|
color: "primary",
|
|
404
394
|
onClick: this.openAddBankEntryModal,
|
|
405
395
|
"data-automation": "sdk-new-bank-entry-button",
|
|
406
396
|
renderIcon: IconPlusLine
|
|
407
|
-
},
|
|
397
|
+
}, jsx(AccessibleContent, {
|
|
408
398
|
alt: t('Create Bank Entry')
|
|
409
399
|
}, t('New')));
|
|
410
400
|
}
|
|
@@ -415,11 +405,11 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
415
405
|
var isEmpty = this.props.bank.itemEntryCount === 0;
|
|
416
406
|
|
|
417
407
|
if (this.props.isCompact && !this.props.isQuizContentLocked && !isEmpty) {
|
|
418
|
-
return
|
|
408
|
+
return jsx(Button, {
|
|
419
409
|
onClick: this.addBankToQuiz,
|
|
420
410
|
margin: "small none",
|
|
421
411
|
renderIcon: IconPlusLine
|
|
422
|
-
},
|
|
412
|
+
}, jsx(AccessibleContent, {
|
|
423
413
|
alt: t('Add this bank to quiz')
|
|
424
414
|
}, t('All / Random')));
|
|
425
415
|
}
|
|
@@ -435,7 +425,7 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
435
425
|
if (this.props.bank.filters !== null && this.props.useBankSearch) {
|
|
436
426
|
var its = this.props.bank.filters.interaction_types;
|
|
437
427
|
var tags = this.props.bank.filters.tags;
|
|
438
|
-
return
|
|
428
|
+
return jsx(BankSearch, {
|
|
439
429
|
interactionTypes: its,
|
|
440
430
|
tags: tags,
|
|
441
431
|
pageStateKey: this.stateKey(),
|
|
@@ -461,11 +451,11 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
461
451
|
}, {
|
|
462
452
|
key: "render",
|
|
463
453
|
value: function render() {
|
|
464
|
-
return
|
|
465
|
-
|
|
466
|
-
}, this.renderName(), this.renderCheckbox(),
|
|
467
|
-
|
|
468
|
-
}, this.renderTopLeftMenu(), this.renderTopRightMenu()), this.renderSearch(),
|
|
454
|
+
return jsx(Page, null, this.renderModals(), this.renderNav(), jsx("div", {
|
|
455
|
+
css: this.props.styles.content
|
|
456
|
+
}, this.renderName(), this.renderCheckbox(), jsx("div", {
|
|
457
|
+
css: this.props.styles.topMenu
|
|
458
|
+
}, this.renderTopLeftMenu(), this.renderTopRightMenu()), this.renderSearch(), jsx(PaginatedCollection, {
|
|
469
459
|
empty: this.emptyLoadText(),
|
|
470
460
|
params: this.props.search,
|
|
471
461
|
getPage: this.getPageDebounced,
|
|
@@ -514,7 +504,9 @@ export var Bank = (_dec = themeable(theme, styles), _dec(_class = (_temp = _clas
|
|
|
514
504
|
stimulusId: PropTypes.string,
|
|
515
505
|
showShareBankFromTray: PropTypes.bool,
|
|
516
506
|
updateSharedBankPermission: PropTypes.func.isRequired,
|
|
517
|
-
withConfirm: PropTypes.func.isRequired
|
|
507
|
+
withConfirm: PropTypes.func.isRequired,
|
|
508
|
+
// eslint-disable-next-line react/require-default-props,react/forbid-prop-types
|
|
509
|
+
styles: PropTypes.object
|
|
518
510
|
}, _class2.defaultProps = {
|
|
519
511
|
activeQuizId: null,
|
|
520
512
|
addEntryToQuiz: null,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
|
+
|
|
4
|
+
var generateStyle = function generateStyle(componentTheme) {
|
|
5
|
+
var menuStyles = {
|
|
6
|
+
display: 'flex',
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
alignItems: 'center'
|
|
9
|
+
};
|
|
10
|
+
var mq = "@media screen and (".concat(componentTheme.phoneBreakPoint, ")");
|
|
11
|
+
return {
|
|
12
|
+
content: _defineProperty({
|
|
13
|
+
padding: "".concat(componentTheme.contentPaddingTopBottom, " ").concat(componentTheme.contentPaddingLeftRight),
|
|
14
|
+
backgroundColor: componentTheme.contentBackgroundColor
|
|
15
|
+
}, mq, {
|
|
16
|
+
padding: "".concat(componentTheme.phoneContentPadding, " 0")
|
|
17
|
+
}),
|
|
18
|
+
topMenu: menuStyles,
|
|
19
|
+
topLeftMenu: _objectSpread(_objectSpread({}, menuStyles), {}, {
|
|
20
|
+
flex: '50%'
|
|
21
|
+
}),
|
|
22
|
+
topRightMenu: _objectSpread(_objectSpread({}, menuStyles), {}, {
|
|
23
|
+
justifyContent: 'flex-end',
|
|
24
|
+
flex: '50%'
|
|
25
|
+
}),
|
|
26
|
+
bankName: {
|
|
27
|
+
padding: "0 0 ".concat(componentTheme.bankNamePaddingBottom, " 0")
|
|
28
|
+
},
|
|
29
|
+
loading: {
|
|
30
|
+
width: '2rem',
|
|
31
|
+
paddingTop: '0.25rem'
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default generateStyle;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
2
2
|
var spacing = _ref.spacing,
|
|
3
3
|
colors = _ref.colors,
|
|
4
4
|
breakpoints = _ref.breakpoints;
|
|
@@ -11,4 +11,6 @@ export default function generator(_ref) {
|
|
|
11
11
|
phoneContentPadding: spacing.small,
|
|
12
12
|
filtersMarginTop: spacing.large
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default generateComponentTheme;
|
|
@@ -5,21 +5,16 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
|
5
5
|
|
|
6
6
|
var _dec, _class, _class2, _temp;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
/** @jsx jsx */
|
|
9
|
+
import { Component } from 'react';
|
|
9
10
|
import PropTypes from 'prop-types';
|
|
10
11
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
11
|
-
import {
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
13
|
import Card from "../../../common/components/shared/Card/index.js";
|
|
13
14
|
import BankEntryRow from "../BankEntryRow/index.js";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return "\n\n.dibqR_blfJ{margin-bottom:".concat(theme.entryRowMargin || 'inherit', "}");
|
|
18
|
-
},
|
|
19
|
-
'entryRow': 'dibqR_blfJ'
|
|
20
|
-
};
|
|
21
|
-
import theme from "./theme.js";
|
|
22
|
-
export var BankEntriesList = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
15
|
+
import generateStyle from "./styles.js";
|
|
16
|
+
import generateComponentTheme from "./theme.js";
|
|
17
|
+
export var BankEntriesList = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
23
18
|
_inherits(BankEntriesList, _Component);
|
|
24
19
|
|
|
25
20
|
var _super = _createSuper(BankEntriesList);
|
|
@@ -37,10 +32,10 @@ export var BankEntriesList = (_dec = themeable(theme, styles), _dec(_class = (_t
|
|
|
37
32
|
|
|
38
33
|
_this.renderEntry = function (entry) {
|
|
39
34
|
var entryId = entry.get('id');
|
|
40
|
-
return
|
|
35
|
+
return jsx(Card, {
|
|
41
36
|
key: entryId,
|
|
42
|
-
|
|
43
|
-
},
|
|
37
|
+
css: _this.props.styles.entryRow
|
|
38
|
+
}, jsx(BankEntryRow, {
|
|
44
39
|
bankEntry: entry,
|
|
45
40
|
bank: _this.props.bank,
|
|
46
41
|
navigateToBankEntry: _this.props.navigateToBankEntry,
|
|
@@ -55,7 +50,7 @@ export var BankEntriesList = (_dec = themeable(theme, styles), _dec(_class = (_t
|
|
|
55
50
|
_createClass(BankEntriesList, [{
|
|
56
51
|
key: "render",
|
|
57
52
|
value: function render() {
|
|
58
|
-
return
|
|
53
|
+
return jsx("div", null, this.props.bankEntries.toArray().map(this.renderEntry));
|
|
59
54
|
}
|
|
60
55
|
}]);
|
|
61
56
|
|
|
@@ -66,7 +61,9 @@ export var BankEntriesList = (_dec = themeable(theme, styles), _dec(_class = (_t
|
|
|
66
61
|
bank: ImmutablePropTypes.record.isRequired,
|
|
67
62
|
bankEntries: ImmutablePropTypes.list.isRequired,
|
|
68
63
|
navigateToBankEntry: PropTypes.func.isRequired,
|
|
69
|
-
isQuizContentLocked: PropTypes.bool.isRequired
|
|
64
|
+
isQuizContentLocked: PropTypes.bool.isRequired,
|
|
65
|
+
// eslint-disable-next-line react/require-default-props,react/forbid-prop-types
|
|
66
|
+
styles: PropTypes.object
|
|
70
67
|
}, _class2.defaultProps = {
|
|
71
68
|
addEntryToQuiz: null,
|
|
72
69
|
isQuizContentLocked: false
|
|
@@ -23,7 +23,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
23
23
|
|
|
24
24
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
25
25
|
|
|
26
|
-
var _react =
|
|
26
|
+
var _react = require("react");
|
|
27
27
|
|
|
28
28
|
var immutable = _interopRequireWildcard(require("immutable"));
|
|
29
29
|
|
|
@@ -45,7 +45,7 @@ var _uiHeading = require("@instructure/ui-heading");
|
|
|
45
45
|
|
|
46
46
|
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _emotion = require("@instructure/emotion");
|
|
49
49
|
|
|
50
50
|
var _uiCheckbox = require("@instructure/ui-checkbox");
|
|
51
51
|
|
|
@@ -75,23 +75,13 @@ var _index7 = _interopRequireDefault(require("../NavWrapper/index.js"));
|
|
|
75
75
|
|
|
76
76
|
var _quizCommon = require("@instructure/quiz-common");
|
|
77
77
|
|
|
78
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
79
|
+
|
|
78
80
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
79
81
|
|
|
80
82
|
var _dec, _class, _class2, _temp;
|
|
81
83
|
|
|
82
|
-
var
|
|
83
|
-
componentId: 'fWUWr',
|
|
84
|
-
template: function template(theme) {
|
|
85
|
-
return "\n\n.fWUWr_caGd{background-color:".concat(theme.contentBackgroundColor || 'inherit', ";padding:").concat(theme.contentPaddingTopBottom || 'inherit', " ").concat(theme.contentPaddingLeftRight || 'inherit', "}\n\n.fWUWr_bXVg,.fWUWr_fDcJ,.fWUWr_dGfM{align-items:center;display:flex;flex-direction:row}\n\n.fWUWr_bXVg{flex:50%}\n\n.fWUWr_dGfM{flex:50%;justify-content:flex-end}\n\n.fWUWr_cfIL{padding:0 0 ").concat(theme.bankNamePaddingBottom || 'inherit', " 0}\n\n.fWUWr_etkf{padding-top:0.25rem;width:2rem}\n\n@media screen and (--phoneBreakPoint){.fWUWr_caGd{padding:").concat(theme.phoneContentPadding || 'inherit', " 0}}");
|
|
86
|
-
},
|
|
87
|
-
'content': 'fWUWr_caGd',
|
|
88
|
-
'topLeftMenu': 'fWUWr_bXVg',
|
|
89
|
-
'topMenu': 'fWUWr_fDcJ',
|
|
90
|
-
'topRightMenu': 'fWUWr_dGfM',
|
|
91
|
-
'bankName': 'fWUWr_cfIL',
|
|
92
|
-
'loading': 'fWUWr_etkf'
|
|
93
|
-
};
|
|
94
|
-
var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
84
|
+
var Bank = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
95
85
|
(0, _inherits2.default)(Bank, _Component);
|
|
96
86
|
|
|
97
87
|
var _super = (0, _createSuper2.default)(Bank);
|
|
@@ -119,7 +109,7 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
119
109
|
|
|
120
110
|
_this.renderHeaderMenu = function () {
|
|
121
111
|
if (!_this.props.isCompact) {
|
|
122
|
-
return
|
|
112
|
+
return (0, _emotion.jsx)(_index6.default, {
|
|
123
113
|
bank: _this.props.bank
|
|
124
114
|
});
|
|
125
115
|
}
|
|
@@ -211,14 +201,14 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
211
201
|
};
|
|
212
202
|
|
|
213
203
|
_this.renderTopLeftMenu = function () {
|
|
214
|
-
return
|
|
215
|
-
|
|
204
|
+
return (0, _emotion.jsx)("div", {
|
|
205
|
+
css: _this.props.styles.topLeftMenu
|
|
216
206
|
}, _this.renderMultiAdd());
|
|
217
207
|
};
|
|
218
208
|
|
|
219
209
|
_this.renderTopRightMenu = function () {
|
|
220
|
-
return
|
|
221
|
-
|
|
210
|
+
return (0, _emotion.jsx)("div", {
|
|
211
|
+
css: _this.props.styles.topRightMenu
|
|
222
212
|
}, _this.renderNewBankEntryButton());
|
|
223
213
|
};
|
|
224
214
|
|
|
@@ -276,7 +266,7 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
276
266
|
|
|
277
267
|
_this.renderRecords = function (recordIds) {
|
|
278
268
|
var addEntryFunc = _this.props.isCompact && _this.props.addEntryToQuiz || null;
|
|
279
|
-
return
|
|
269
|
+
return (0, _emotion.jsx)(_index4.default, {
|
|
280
270
|
addEntryToQuiz: addEntryFunc,
|
|
281
271
|
bank: _this.props.bank,
|
|
282
272
|
navigateToBankEntry: _this.props.navigateToBankEntry,
|
|
@@ -358,23 +348,23 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
358
348
|
navigateToBuild = _this$props3.navigateToBuild,
|
|
359
349
|
returnToUrl = _this$props3.returnToUrl;
|
|
360
350
|
var isScopeEmpty = !Object.keys(scope).length;
|
|
361
|
-
return
|
|
351
|
+
return (0, _emotion.jsx)(_index7.default, {
|
|
362
352
|
closeTray: closeTray,
|
|
363
353
|
navigateToBanks: navigateToBanks,
|
|
364
354
|
navigateToBuild: navigateToBuild,
|
|
365
355
|
renderHeaderMenu: this.renderHeaderMenu,
|
|
366
356
|
returnToUrl: isScopeEmpty ? null : returnToUrl,
|
|
367
357
|
canvasReferrerLinkText: isScopeEmpty ? null : scope.title
|
|
368
|
-
},
|
|
358
|
+
}, (0, _emotion.jsx)(_uiBreadcrumb.BreadcrumbLink, {
|
|
369
359
|
key: "bank"
|
|
370
360
|
}, this.props.bank.title));
|
|
371
361
|
}
|
|
372
362
|
}, {
|
|
373
363
|
key: "renderName",
|
|
374
364
|
value: function renderName() {
|
|
375
|
-
return
|
|
376
|
-
|
|
377
|
-
},
|
|
365
|
+
return (0, _emotion.jsx)("div", {
|
|
366
|
+
css: this.props.styles.bankName
|
|
367
|
+
}, (0, _emotion.jsx)(_uiHeading.Heading, {
|
|
378
368
|
level: "h1"
|
|
379
369
|
}, this.props.bank.title || (0, _formatMessage.default)('Bank')));
|
|
380
370
|
}
|
|
@@ -382,7 +372,7 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
382
372
|
key: "renderAddBankEntryModal",
|
|
383
373
|
value: function renderAddBankEntryModal() {
|
|
384
374
|
if (!this.props.isCompact) {
|
|
385
|
-
return
|
|
375
|
+
return (0, _emotion.jsx)(_index3.default, {
|
|
386
376
|
bankId: this.props.bankId,
|
|
387
377
|
navigateToBankEntry: this.props.navigateToBankEntry
|
|
388
378
|
});
|
|
@@ -422,10 +412,10 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
422
412
|
var label = (0, _formatMessage.default)('Share with { courseName }', {
|
|
423
413
|
courseName: this.props.scope.title
|
|
424
414
|
});
|
|
425
|
-
return
|
|
415
|
+
return (0, _emotion.jsx)(_uiView.View, {
|
|
426
416
|
margin: "small 0",
|
|
427
417
|
as: "div"
|
|
428
|
-
},
|
|
418
|
+
}, (0, _emotion.jsx)(_uiCheckbox.Checkbox, {
|
|
429
419
|
checked: this.state.sharedWithCourse,
|
|
430
420
|
label: label,
|
|
431
421
|
onChange: this.toggleCheckbox,
|
|
@@ -435,20 +425,20 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
435
425
|
}, {
|
|
436
426
|
key: "renderModals",
|
|
437
427
|
value: function renderModals() {
|
|
438
|
-
return
|
|
428
|
+
return (0, _emotion.jsx)("div", null, this.renderAddBankEntryModal());
|
|
439
429
|
}
|
|
440
430
|
}, {
|
|
441
431
|
key: "renderNewBankEntryButton",
|
|
442
432
|
value: function renderNewBankEntryButton() {
|
|
443
433
|
if (!this.props.isCompact && this.props.bank.canEdit()) {
|
|
444
|
-
return
|
|
434
|
+
return (0, _emotion.jsx)(_uiButtons.Button, {
|
|
445
435
|
margin: "small none",
|
|
446
436
|
ref: this.storeCreateBankEntryButtonRef,
|
|
447
437
|
color: "primary",
|
|
448
438
|
onClick: this.openAddBankEntryModal,
|
|
449
439
|
"data-automation": "sdk-new-bank-entry-button",
|
|
450
440
|
renderIcon: _uiIcons.IconPlusLine
|
|
451
|
-
},
|
|
441
|
+
}, (0, _emotion.jsx)(_uiA11yContent.AccessibleContent, {
|
|
452
442
|
alt: (0, _formatMessage.default)('Create Bank Entry')
|
|
453
443
|
}, (0, _formatMessage.default)('New')));
|
|
454
444
|
}
|
|
@@ -459,11 +449,11 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
459
449
|
var isEmpty = this.props.bank.itemEntryCount === 0;
|
|
460
450
|
|
|
461
451
|
if (this.props.isCompact && !this.props.isQuizContentLocked && !isEmpty) {
|
|
462
|
-
return
|
|
452
|
+
return (0, _emotion.jsx)(_uiButtons.Button, {
|
|
463
453
|
onClick: this.addBankToQuiz,
|
|
464
454
|
margin: "small none",
|
|
465
455
|
renderIcon: _uiIcons.IconPlusLine
|
|
466
|
-
},
|
|
456
|
+
}, (0, _emotion.jsx)(_uiA11yContent.AccessibleContent, {
|
|
467
457
|
alt: (0, _formatMessage.default)('Add this bank to quiz')
|
|
468
458
|
}, (0, _formatMessage.default)('All / Random')));
|
|
469
459
|
}
|
|
@@ -479,7 +469,7 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
479
469
|
if (this.props.bank.filters !== null && this.props.useBankSearch) {
|
|
480
470
|
var its = this.props.bank.filters.interaction_types;
|
|
481
471
|
var tags = this.props.bank.filters.tags;
|
|
482
|
-
return
|
|
472
|
+
return (0, _emotion.jsx)(_index5.default, {
|
|
483
473
|
interactionTypes: its,
|
|
484
474
|
tags: tags,
|
|
485
475
|
pageStateKey: this.stateKey(),
|
|
@@ -505,11 +495,11 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
505
495
|
}, {
|
|
506
496
|
key: "render",
|
|
507
497
|
value: function render() {
|
|
508
|
-
return
|
|
509
|
-
|
|
510
|
-
}, this.renderName(), this.renderCheckbox(),
|
|
511
|
-
|
|
512
|
-
}, this.renderTopLeftMenu(), this.renderTopRightMenu()), this.renderSearch(),
|
|
498
|
+
return (0, _emotion.jsx)(_index.default, null, this.renderModals(), this.renderNav(), (0, _emotion.jsx)("div", {
|
|
499
|
+
css: this.props.styles.content
|
|
500
|
+
}, this.renderName(), this.renderCheckbox(), (0, _emotion.jsx)("div", {
|
|
501
|
+
css: this.props.styles.topMenu
|
|
502
|
+
}, this.renderTopLeftMenu(), this.renderTopRightMenu()), this.renderSearch(), (0, _emotion.jsx)(_index2.default, {
|
|
513
503
|
empty: this.emptyLoadText(),
|
|
514
504
|
params: this.props.search,
|
|
515
505
|
getPage: this.getPageDebounced,
|
|
@@ -557,7 +547,9 @@ var Bank = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_cl
|
|
|
557
547
|
stimulusId: _propTypes.default.string,
|
|
558
548
|
showShareBankFromTray: _propTypes.default.bool,
|
|
559
549
|
updateSharedBankPermission: _propTypes.default.func.isRequired,
|
|
560
|
-
withConfirm: _propTypes.default.func.isRequired
|
|
550
|
+
withConfirm: _propTypes.default.func.isRequired,
|
|
551
|
+
// eslint-disable-next-line react/require-default-props,react/forbid-prop-types
|
|
552
|
+
styles: _propTypes.default.object
|
|
561
553
|
}, _class2.defaultProps = {
|
|
562
554
|
activeQuizId: null,
|
|
563
555
|
addEntryToQuiz: null,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
11
|
+
|
|
12
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
+
|
|
14
|
+
var generateStyle = function generateStyle(componentTheme) {
|
|
15
|
+
var menuStyles = {
|
|
16
|
+
display: 'flex',
|
|
17
|
+
flexDirection: 'row',
|
|
18
|
+
alignItems: 'center'
|
|
19
|
+
};
|
|
20
|
+
var mq = "@media screen and (".concat(componentTheme.phoneBreakPoint, ")");
|
|
21
|
+
return {
|
|
22
|
+
content: (0, _defineProperty2.default)({
|
|
23
|
+
padding: "".concat(componentTheme.contentPaddingTopBottom, " ").concat(componentTheme.contentPaddingLeftRight),
|
|
24
|
+
backgroundColor: componentTheme.contentBackgroundColor
|
|
25
|
+
}, mq, {
|
|
26
|
+
padding: "".concat(componentTheme.phoneContentPadding, " 0")
|
|
27
|
+
}),
|
|
28
|
+
topMenu: menuStyles,
|
|
29
|
+
topLeftMenu: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, menuStyles), {}, {
|
|
30
|
+
flex: '50%'
|
|
31
|
+
}),
|
|
32
|
+
topRightMenu: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, menuStyles), {}, {
|
|
33
|
+
justifyContent: 'flex-end',
|
|
34
|
+
flex: '50%'
|
|
35
|
+
}),
|
|
36
|
+
bankName: {
|
|
37
|
+
padding: "0 0 ".concat(componentTheme.bankNamePaddingBottom, " 0")
|
|
38
|
+
},
|
|
39
|
+
loading: {
|
|
40
|
+
width: '2rem',
|
|
41
|
+
paddingTop: '0.25rem'
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
var _default = generateStyle;
|
|
47
|
+
exports.default = _default;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default =
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
function
|
|
8
|
+
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
9
9
|
var spacing = _ref.spacing,
|
|
10
10
|
colors = _ref.colors,
|
|
11
11
|
breakpoints = _ref.breakpoints;
|
|
@@ -18,4 +18,7 @@ function generator(_ref) {
|
|
|
18
18
|
phoneContentPadding: spacing.small,
|
|
19
19
|
filtersMarginTop: spacing.large
|
|
20
20
|
};
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
var _default = generateComponentTheme;
|
|
24
|
+
exports.default = _default;
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
6
|
-
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
@@ -17,30 +15,25 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
17
15
|
|
|
18
16
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
19
17
|
|
|
20
|
-
var _react =
|
|
18
|
+
var _react = require("react");
|
|
21
19
|
|
|
22
20
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
23
21
|
|
|
24
22
|
var _reactImmutableProptypes = _interopRequireDefault(require("react-immutable-proptypes"));
|
|
25
23
|
|
|
26
|
-
var
|
|
24
|
+
var _emotion = require("@instructure/emotion");
|
|
27
25
|
|
|
28
26
|
var _index = _interopRequireDefault(require("../../../common/components/shared/Card/index.js"));
|
|
29
27
|
|
|
30
28
|
var _index2 = _interopRequireDefault(require("../BankEntryRow/index.js"));
|
|
31
29
|
|
|
30
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
31
|
+
|
|
32
32
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
33
33
|
|
|
34
34
|
var _dec, _class, _class2, _temp;
|
|
35
35
|
|
|
36
|
-
var
|
|
37
|
-
componentId: 'dibqR',
|
|
38
|
-
template: function template(theme) {
|
|
39
|
-
return "\n\n.dibqR_blfJ{margin-bottom:".concat(theme.entryRowMargin || 'inherit', "}");
|
|
40
|
-
},
|
|
41
|
-
'entryRow': 'dibqR_blfJ'
|
|
42
|
-
};
|
|
43
|
-
var BankEntriesList = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
36
|
+
var BankEntriesList = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
44
37
|
(0, _inherits2.default)(BankEntriesList, _Component);
|
|
45
38
|
|
|
46
39
|
var _super = (0, _createSuper2.default)(BankEntriesList);
|
|
@@ -58,10 +51,10 @@ var BankEntriesList = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles
|
|
|
58
51
|
|
|
59
52
|
_this.renderEntry = function (entry) {
|
|
60
53
|
var entryId = entry.get('id');
|
|
61
|
-
return
|
|
54
|
+
return (0, _emotion.jsx)(_index.default, {
|
|
62
55
|
key: entryId,
|
|
63
|
-
|
|
64
|
-
},
|
|
56
|
+
css: _this.props.styles.entryRow
|
|
57
|
+
}, (0, _emotion.jsx)(_index2.default, {
|
|
65
58
|
bankEntry: entry,
|
|
66
59
|
bank: _this.props.bank,
|
|
67
60
|
navigateToBankEntry: _this.props.navigateToBankEntry,
|
|
@@ -76,7 +69,7 @@ var BankEntriesList = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles
|
|
|
76
69
|
(0, _createClass2.default)(BankEntriesList, [{
|
|
77
70
|
key: "render",
|
|
78
71
|
value: function render() {
|
|
79
|
-
return
|
|
72
|
+
return (0, _emotion.jsx)("div", null, this.props.bankEntries.toArray().map(this.renderEntry));
|
|
80
73
|
}
|
|
81
74
|
}]);
|
|
82
75
|
BankEntriesList.displayName = "BankEntriesList";
|
|
@@ -86,7 +79,9 @@ var BankEntriesList = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles
|
|
|
86
79
|
bank: _reactImmutableProptypes.default.record.isRequired,
|
|
87
80
|
bankEntries: _reactImmutableProptypes.default.list.isRequired,
|
|
88
81
|
navigateToBankEntry: _propTypes.default.func.isRequired,
|
|
89
|
-
isQuizContentLocked: _propTypes.default.bool.isRequired
|
|
82
|
+
isQuizContentLocked: _propTypes.default.bool.isRequired,
|
|
83
|
+
// eslint-disable-next-line react/require-default-props,react/forbid-prop-types
|
|
84
|
+
styles: _propTypes.default.object
|
|
90
85
|
}, _class2.defaultProps = {
|
|
91
86
|
addEntryToQuiz: null,
|
|
92
87
|
isQuizContentLocked: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var generateStyle = function generateStyle(componentTheme) {
|
|
9
|
+
return {
|
|
10
|
+
entryRow: {
|
|
11
|
+
marginBottom: componentTheme.entryRowMargin
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
var _default = generateStyle;
|
|
17
|
+
exports.default = _default;
|
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default =
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
|
-
function
|
|
8
|
+
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
9
9
|
var spacing = _ref.spacing;
|
|
10
10
|
return {
|
|
11
11
|
entryRowMargin: spacing.small
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
var _default = generateComponentTheme;
|
|
16
|
+
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "19.2.0",
|
|
3
|
+
"version": "19.2.1-rc.0+32b5a6922",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@instructure/emotion": "^8.48.3",
|
|
45
45
|
"@instructure/grading-utils": "^1.0.0",
|
|
46
46
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
47
|
-
"@instructure/quiz-common": "
|
|
48
|
-
"@instructure/quiz-i18n": "
|
|
49
|
-
"@instructure/quiz-interactions": "
|
|
50
|
-
"@instructure/quiz-number-input": "
|
|
51
|
-
"@instructure/quiz-rce": "
|
|
47
|
+
"@instructure/quiz-common": "19.2.1-rc.0+32b5a6922",
|
|
48
|
+
"@instructure/quiz-i18n": "19.2.1-rc.0+32b5a6922",
|
|
49
|
+
"@instructure/quiz-interactions": "19.2.1-rc.0+32b5a6922",
|
|
50
|
+
"@instructure/quiz-number-input": "19.2.1-rc.0+32b5a6922",
|
|
51
|
+
"@instructure/quiz-rce": "19.2.1-rc.0+32b5a6922",
|
|
52
52
|
"@instructure/ui-a11y-content": "^8.48.3",
|
|
53
53
|
"@instructure/ui-alerts": "^8.48.3",
|
|
54
54
|
"@instructure/ui-avatar": "^8.48.3",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"file-saver": "~2.0.5",
|
|
111
111
|
"humps": "^2.0.0",
|
|
112
112
|
"immutable": "^3.8.1",
|
|
113
|
-
"instructure-validations": "
|
|
113
|
+
"instructure-validations": "19.2.1-rc.0+32b5a6922",
|
|
114
114
|
"ipaddr.js": "^1.5.4",
|
|
115
115
|
"isomorphic-fetch": "^2.2.0",
|
|
116
116
|
"isuuid": "^0.1.0",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"uuid": "^3.2.1"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
|
-
"@instructure/quiz-scripts": "
|
|
145
|
+
"@instructure/quiz-scripts": "19.2.0",
|
|
146
146
|
"@instructure/ui-axe-check": "^8.48.3",
|
|
147
147
|
"@instructure/ui-babel-preset": "^7.22.1",
|
|
148
148
|
"@instructure/ui-karma-config": "^7.22.1",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"intl": "^1.2.4",
|
|
163
163
|
"jquery": "^2.2.3",
|
|
164
164
|
"most-subject": "^5.3.0",
|
|
165
|
-
"quiz-presets": "
|
|
165
|
+
"quiz-presets": "19.2.1-rc.0+32b5a6922",
|
|
166
166
|
"react": "^16.8.6",
|
|
167
167
|
"react-addons-test-utils": "^15.6.2",
|
|
168
168
|
"react-dom": "^16.8.6",
|
|
@@ -178,5 +178,5 @@
|
|
|
178
178
|
"publishConfig": {
|
|
179
179
|
"access": "public"
|
|
180
180
|
},
|
|
181
|
-
"gitHead": "
|
|
181
|
+
"gitHead": "32b5a6922f69aa232e305c01f88984b6183164c9"
|
|
182
182
|
}
|