@instructure/quiz-core 17.40.0 → 17.40.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.
- package/es/banks/components/NavWrapper/presenter.js +4 -4
- package/es/building/components/resources/ActionButtons/presenter.js +5 -5
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +8 -8
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +3 -3
- package/es/common/components/layout/sidebar/Sidebar/index.js +15 -15
- package/es/common/components/resources/positionBox/PositionBox.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +5 -5
- package/es/common/components/shared/overlay/Overlay.js +4 -4
- package/es/moderating/components/resources/ModerateTableRow/presenter.js +1 -0
- package/lib/banks/components/NavWrapper/presenter.js +4 -4
- package/lib/building/components/resources/ActionButtons/presenter.js +5 -5
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +8 -8
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +3 -3
- package/lib/common/components/layout/sidebar/Sidebar/index.js +15 -15
- package/lib/common/components/resources/positionBox/PositionBox.js +4 -4
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +5 -5
- package/lib/common/components/shared/overlay/Overlay.js +4 -4
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +1 -0
- package/package.json +10 -10
|
@@ -17,12 +17,12 @@ import { View } from '@instructure/ui-view';
|
|
|
17
17
|
import { themeable } from '@instructure/ui-themeable';
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
19
|
var styles = {
|
|
20
|
-
componentId: '
|
|
20
|
+
componentId: 'fooBc',
|
|
21
21
|
template: function template(theme) {
|
|
22
|
-
return "\n\n.
|
|
22
|
+
return "\n\n.fooBc_diTj{align-items:center;background-color:".concat(theme.navBackgroundColor || 'inherit', ";border-bottom:").concat(theme.navBorderWidth || 'inherit', " solid ").concat(theme.navBorderColor || 'inherit', ";box-sizing:border-box;display:flex;flex-direction:row;padding:").concat(theme.navPaddingTopBottom || 'inherit', " ").concat(theme.navPaddingLeftRight || 'inherit', ";position:sticky;top:0;width:100%;z-index:4444}\n\nbody.tox-fullscreen .fooBc_diTj{display:none}\n\n@supports (-ms-ime-align:auto){.fooBc_diTj{position:relative}}\n\n.fooBc_ZXRE{flex:1}");
|
|
23
23
|
},
|
|
24
|
-
'nav': '
|
|
25
|
-
'crumbs': '
|
|
24
|
+
'nav': 'fooBc_diTj',
|
|
25
|
+
'crumbs': 'fooBc_ZXRE'
|
|
26
26
|
};
|
|
27
27
|
import theme from "./theme.js";
|
|
28
28
|
|
|
@@ -19,13 +19,13 @@ import makeScrollable from "../../../../common/components/shared/functionality/m
|
|
|
19
19
|
import noop from "../../../../common/util/noop.js";
|
|
20
20
|
import { EDIT, REMOVE, COPY } from '@instructure/quiz-common';
|
|
21
21
|
var styles = {
|
|
22
|
-
componentId: '
|
|
22
|
+
componentId: 'gEXZO',
|
|
23
23
|
template: function template(theme) {
|
|
24
|
-
return "\n\n.
|
|
24
|
+
return "\n\n.gEXZO_exDh{color:".concat(theme.buttonsColor || 'inherit', ";display:inline-flex;flex:0 0 auto;font-size:1.1rem;padding:0 ").concat(theme.buttonsPadding || 'inherit', ";text-align:right;z-index:").concat(theme.buttonsZIndex || 'inherit', "}\n\n[dir=ltr] .gEXZO_exDh,[dir=rtl] .gEXZO_exDh{text-align:right}\n\n.gEXZO_fwKS.gEXZO_bBLs,body.tox-fullscreen .gEXZO_exDh{display:none}\n\n@media print{.gEXZO_exDh{display:none}}");
|
|
25
25
|
},
|
|
26
|
-
'buttons': '
|
|
27
|
-
'edit': '
|
|
28
|
-
'hide': '
|
|
26
|
+
'buttons': 'gEXZO_exDh',
|
|
27
|
+
'edit': 'gEXZO_fwKS',
|
|
28
|
+
'hide': 'gEXZO_bBLs'
|
|
29
29
|
};
|
|
30
30
|
import theme from "./theme.js";
|
|
31
31
|
var ScrollTargetButton = makeScrollable(Button);
|
|
@@ -23,16 +23,16 @@ import Item from "../../../../../../common/records/Item.js";
|
|
|
23
23
|
import ActionButtons from "../../../ActionButtons/index.js";
|
|
24
24
|
import { DELETED_QUIZ_ENTRY, API_INPUT_VALIDATION_ERROR } from '@instructure/quiz-common';
|
|
25
25
|
var styles = {
|
|
26
|
-
componentId: '
|
|
26
|
+
componentId: 'cCKjK',
|
|
27
27
|
template: function template(theme) {
|
|
28
|
-
return "\n\n.
|
|
28
|
+
return "\n\n.cCKjK_fsuY{align-items:center;background-color:".concat(theme.headerBackgroundColor || 'inherit', ";color:").concat(theme.headerColor || 'inherit', ";display:flex;justify-content:space-between;padding:").concat(theme.headerPadding || 'inherit', ";vertical-align:middle}\n\n.cCKjK_cKlw{align-items:center;display:inline-flex;flex:8 0 0;flex-wrap:nowrap;width:100%}\n\nbody.tox-fullscreen .cCKjK_cKlw{display:none}\n\n.cCKjK_ecuB{font-size:").concat(theme.interactionTypeFontSize || 'inherit', ";margin-left:").concat(theme.interactionTypeLeftMargin || 'inherit', ";margin-right:").concat(theme.interactionTypeRightMargin || 'inherit', "}\n\n.cCKjK_epFc{border-left:").concat(theme.dividingLineLeftBorder || 'inherit', ";width:0}\n\n.cCKjK_dFsQ{display:flex;flex:1 1 auto}\n\n.cCKjK_eGPC{flex:1 1 auto;font-size:").concat(theme.titleInputFontSize || 'inherit', ";text-overflow:ellipsis;white-space:nowrap}");
|
|
29
29
|
},
|
|
30
|
-
'header': '
|
|
31
|
-
'leftHeader': '
|
|
32
|
-
'interactionType': '
|
|
33
|
-
'dividingLine': '
|
|
34
|
-
'titleHolder': '
|
|
35
|
-
'titleInput': '
|
|
30
|
+
'header': 'cCKjK_fsuY',
|
|
31
|
+
'leftHeader': 'cCKjK_cKlw',
|
|
32
|
+
'interactionType': 'cCKjK_ecuB',
|
|
33
|
+
'dividingLine': 'cCKjK_epFc',
|
|
34
|
+
'titleHolder': 'cCKjK_dFsQ',
|
|
35
|
+
'titleInput': 'cCKjK_eGPC'
|
|
36
36
|
};
|
|
37
37
|
import theme from "./theme.js";
|
|
38
38
|
|
|
@@ -25,11 +25,11 @@ import QuizEntryEditFooter from "./Footer/index.js";
|
|
|
25
25
|
import { SHOULD_CLONE_ITEM, TEMPORARY_ITEM_ID, DELETED_QUIZ_ENTRY, API_INPUT_VALIDATION_ERROR, CLEAR_ALL_INPUT_VALIDATION_ERRORS, PARENT_TYPE_ADDING_TO_BANK } from '@instructure/quiz-common';
|
|
26
26
|
import { ItemTypes, dragSource, collectDrag } from "../../../../../common/components/shared/drag_and_drop/dragAndDropUtils.js";
|
|
27
27
|
var styles = {
|
|
28
|
-
componentId: '
|
|
28
|
+
componentId: 'bZuQH',
|
|
29
29
|
template: function template(theme) {
|
|
30
|
-
return "\n\n.
|
|
30
|
+
return "\n\n.bZuQH_qRLg{font-size:".concat(theme.quizEntryEditFontSize || 'inherit', ";margin:").concat(theme.quizEntryEditMargin || 'inherit', " 0;position:relative;transform:translateZ(0);z-index:3333}\n\nbody.tox-fullscreen .bZuQH_qRLg{transform:none;z-index:6666}");
|
|
31
31
|
},
|
|
32
|
-
'quizEntryEdit': '
|
|
32
|
+
'quizEntryEdit': 'bZuQH_qRLg'
|
|
33
33
|
};
|
|
34
34
|
import theme from "./theme.js";
|
|
35
35
|
var QuizEntryEdit = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
@@ -27,23 +27,23 @@ import { SIDEBAR_NAV_ID } from '@instructure/quiz-common';
|
|
|
27
27
|
import noop from "../../../../util/noop.js";
|
|
28
28
|
import Pin from "./Pin.js";
|
|
29
29
|
var styles = {
|
|
30
|
-
componentId: '
|
|
30
|
+
componentId: 'cVcMH',
|
|
31
31
|
template: function template(theme) {
|
|
32
|
-
return "\n\n.
|
|
32
|
+
return "\n\n.cVcMH_bObp{background-color:".concat(theme.sidebarBackgroundColor || 'inherit', ";border:").concat(theme.sidebarBorderWidth || 'inherit', " solid ").concat(theme.sidebarBorderColor || 'inherit', ";box-sizing:border-box;color:").concat(theme.sidebarColor || 'inherit', ";height:100%;overflow:hidden;position:relative;transition:").concat(theme.sidebarTransitionDuration || 'inherit', " ease;width:").concat(theme.sidebarWidthClosed || 'inherit', ";z-index:").concat(theme.sidebarZIndex || 'inherit', "}\n\nbody.tox-fullscreen .cVcMH_bObp{z-index:0}\n\n.cVcMH_crKy{display:flex;flex-direction:column;height:100%}\n\n.cVcMH_eYGv{overflow-x:hidden;overflow-y:auto}\n\n.cVcMH_eeTU{border-bottom:").concat(theme.sidebarHeaderBorderWidth || 'inherit', " solid ").concat(theme.sidebarHeaderBorderColor || 'inherit', ";border-right:").concat(theme.actionableInfoBorderWidth || 'inherit', " solid ").concat(theme.sidebarBackgroundColor || 'inherit', ";text-align:center}\n\n[dir=ltr] .cVcMH_eeTU,[dir=rtl] .cVcMH_eeTU{text-align:center}\n\n.cVcMH_eeTU:hover{border-right:").concat(theme.actionableInfoBorderWidth || 'inherit', " solid ").concat(theme.actionableInfoHoverBorderColor || 'inherit', "}\n\n.cVcMH_difO{color:").concat(theme.descriptionFontColor || 'inherit', ";display:none;font-size:").concat(theme.descriptionFontSize || 'inherit', "}\n\n.cVcMH_cjDf{display:flex;flex-direction:row;flex-shrink:0;padding:").concat(theme.headerSpacingPadding || 'inherit', "}\n\n.cVcMH_cjDf h2{padding-top:0.3em}\n\n.cVcMH_fuFE{border-bottom:solid ").concat(theme.sidebarHeaderBorderWidth || 'inherit', ";border-color:").concat(theme.sidebarHeaderBorderColor || 'inherit', "}\n\n.cVcMH_cvRx{margin-left:auto}\n\n.cVcMH_fwEb{background-color:").concat(theme.pinnedSectionBackgroundColor || 'inherit', ";width:100%}\n\n.cVcMH_fwEb .cVcMH_cjDf{flex-grow:1}\n\n.cVcMH_ftzv{padding-top:").concat(theme.questionNavigatorPadding || 'inherit', "}\n\n.cVcMH_bObp.cVcMH_eNNp{opacity:1;transition:").concat(theme.sidebarTransitionDuration || 'inherit', " ease;width:").concat(theme.sidebarWidthOpen || 'inherit', "}\n\n.cVcMH_eNNp .cVcMH_difO{cursor:pointer;display:inline-block}\n\n.cVcMH_eNNp .cVcMH_eeTU,[dir=ltr] .cVcMH_eNNp .cVcMH_eeTU,[dir=rtl] .cVcMH_eNNp .cVcMH_eeTU{text-align:inherit}\n\n.cVcMH_eQGE{display:none}\n\n.cVcMH_eQGE.cVcMH_cvRx{display:block;margin:auto}\n\n.cVcMH_eYHq{height:100%}\n\n@media screen and (--phoneBreakPoint){.cVcMH_eYHq{position:relative}.cVcMH_bObp{position:absolute;width:0}.cVcMH_bObp,.cVcMH_bObp.cVcMH_eNNp{transition:").concat(theme.sidebarTransitionDuration || 'inherit', " ease}.cVcMH_bObp.cVcMH_eNNp{display:inline;max-width:100vw;width:100vw}}\n\n@media print{.cVcMH_eYHq{display:none}}");
|
|
33
33
|
},
|
|
34
|
-
'sidebar': '
|
|
35
|
-
'sidebarWrapper': '
|
|
36
|
-
'sidebarContent': '
|
|
37
|
-
'actionableInfo': '
|
|
38
|
-
'description': '
|
|
39
|
-
'headerSpacing': '
|
|
40
|
-
'headerBottomBorder': '
|
|
41
|
-
'iconWrapper': '
|
|
42
|
-
'pinnedSection': '
|
|
43
|
-
'questionNavigatorPadding': '
|
|
44
|
-
'sidebarIsOpen': '
|
|
45
|
-
'sidebarClosed': '
|
|
46
|
-
'commonContainer': '
|
|
34
|
+
'sidebar': 'cVcMH_bObp',
|
|
35
|
+
'sidebarWrapper': 'cVcMH_crKy',
|
|
36
|
+
'sidebarContent': 'cVcMH_eYGv',
|
|
37
|
+
'actionableInfo': 'cVcMH_eeTU',
|
|
38
|
+
'description': 'cVcMH_difO',
|
|
39
|
+
'headerSpacing': 'cVcMH_cjDf',
|
|
40
|
+
'headerBottomBorder': 'cVcMH_fuFE',
|
|
41
|
+
'iconWrapper': 'cVcMH_cvRx',
|
|
42
|
+
'pinnedSection': 'cVcMH_fwEb',
|
|
43
|
+
'questionNavigatorPadding': 'cVcMH_ftzv',
|
|
44
|
+
'sidebarIsOpen': 'cVcMH_eNNp',
|
|
45
|
+
'sidebarClosed': 'cVcMH_eQGE',
|
|
46
|
+
'commonContainer': 'cVcMH_eYHq'
|
|
47
47
|
};
|
|
48
48
|
import theme from "./theme.js";
|
|
49
49
|
|
|
@@ -11,12 +11,12 @@ import { Heading } from '@instructure/ui-heading';
|
|
|
11
11
|
import { ScreenReaderContent, PresentationContent } from '@instructure/ui-a11y-content';
|
|
12
12
|
import { themeable } from '@instructure/ui-themeable';
|
|
13
13
|
var styles = {
|
|
14
|
-
componentId: '
|
|
14
|
+
componentId: 'kJotW',
|
|
15
15
|
template: function template(theme) {
|
|
16
|
-
return "\n\n.
|
|
16
|
+
return "\n\n.kJotW_cESy{align-items:center;background-color:".concat(theme.positionBackgroundColor || 'inherit', ";display:flex;height:").concat(theme.positionDimension || 'inherit', ";justify-content:center;margin-left:-1.2rem;margin-right:").concat(theme.positionMargin || 'inherit', ";min-width:").concat(theme.positionDimension || 'inherit', ";padding:0 ").concat(theme.positionPadding || 'inherit', ";z-index:").concat(theme.positionZIndex || 'inherit', "}\n\nbody.tox-fullscreen .kJotW_cESy{z-index:0}\n\n.kJotW_bUkG{color:").concat(theme.positionTextColor || 'inherit', ";font-size:").concat(theme.positionTextFontSize || 'inherit', "}\n\n@media print{.kJotW_cESy{-webkit-print-color-adjust:exact;color-adjust:exact}}");
|
|
17
17
|
},
|
|
18
|
-
'position': '
|
|
19
|
-
'positionText': '
|
|
18
|
+
'position': 'kJotW_cESy',
|
|
19
|
+
'positionText': 'kJotW_bUkG'
|
|
20
20
|
};
|
|
21
21
|
import theme from "./theme.js";
|
|
22
22
|
export var PositionBox = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
@@ -16,13 +16,13 @@ import AddContentButton from "../Button/index.js";
|
|
|
16
16
|
import AddContentBody from "../Body/index.js";
|
|
17
17
|
import { DELETED_QUIZ_ENTRY } from '@instructure/quiz-common';
|
|
18
18
|
var styles = {
|
|
19
|
-
componentId: '
|
|
19
|
+
componentId: 'bgZYv',
|
|
20
20
|
template: function template(theme) {
|
|
21
|
-
return "\n\n.
|
|
21
|
+
return "\n\n.bgZYv_NbWo{height:1px;position:relative}\n\n.bgZYv_NbWo,.bgZYv_ljGg{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;width:100%}\n\nbody.tox-fullscreen .bgZYv_NbWo,body.tox-fullscreen .bgZYv_ljGg{z-index:0}\n\n.bgZYv_bRWN{border-bottom:solid ".concat(theme.borderLineBorderWidth || 'inherit', " ").concat(theme.borderLineBorderColor || 'inherit', ";top:0;width:100%}");
|
|
22
22
|
},
|
|
23
|
-
'addContentContainer': '
|
|
24
|
-
'attachQuestionContainer': '
|
|
25
|
-
'borderLine': '
|
|
23
|
+
'addContentContainer': 'bgZYv_NbWo',
|
|
24
|
+
'attachQuestionContainer': 'bgZYv_ljGg',
|
|
25
|
+
'borderLine': 'bgZYv_bRWN'
|
|
26
26
|
};
|
|
27
27
|
import theme from "./theme.js";
|
|
28
28
|
export var AddContentPopover = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
@@ -18,12 +18,12 @@ import classNames from 'classnames';
|
|
|
18
18
|
|
|
19
19
|
import { themeable } from '@instructure/ui-themeable';
|
|
20
20
|
var styles = {
|
|
21
|
-
componentId: '
|
|
21
|
+
componentId: 'PuSJn',
|
|
22
22
|
template: function template(theme) {
|
|
23
|
-
return "\n\n.
|
|
23
|
+
return "\n\n.PuSJn_bGBk{align-self:center;position:relative}\n\n.PuSJn_cYkL{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%;z-index:".concat(theme.overlayZIndex || 'inherit', "}\n\n.PuSJn_cYkL:hover{border-left:").concat(theme.overlayBarSize || 'inherit', " solid ").concat(theme.overlayBarColor || 'inherit', ";box-sizing:border-box}\n\nbody.tox-fullscreen .PuSJn_cYkL{z-index:0}\n\n@media print{.PuSJn_cYkL:hover{border-left:none}}");
|
|
24
24
|
},
|
|
25
|
-
'root': '
|
|
26
|
-
'overlay': '
|
|
25
|
+
'root': 'PuSJn_bGBk',
|
|
26
|
+
'overlay': 'PuSJn_cYkL'
|
|
27
27
|
};
|
|
28
28
|
import theme from "./theme.js";
|
|
29
29
|
var Overlay = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
@@ -303,6 +303,7 @@ export var ModerateTableRow = (_dec = themeable(theme, styles), _dec(_class = (_
|
|
|
303
303
|
direction: "row-reverse",
|
|
304
304
|
justifyItems: "end"
|
|
305
305
|
}, /*#__PURE__*/React.createElement(Flex.Item, {
|
|
306
|
+
shouldShrink: true,
|
|
306
307
|
"data-automation": "sdk-moderate-accommodations-text"
|
|
307
308
|
}, displayContent), /*#__PURE__*/React.createElement(Flex.Item, null, /*#__PURE__*/React.createElement(Button, {
|
|
308
309
|
variant: "icon",
|
|
@@ -44,12 +44,12 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
44
44
|
var _dec, _class, _class2, _temp;
|
|
45
45
|
|
|
46
46
|
var styles = {
|
|
47
|
-
componentId: '
|
|
47
|
+
componentId: 'fooBc',
|
|
48
48
|
template: function template(theme) {
|
|
49
|
-
return "\n\n.
|
|
49
|
+
return "\n\n.fooBc_diTj{align-items:center;background-color:".concat(theme.navBackgroundColor || 'inherit', ";border-bottom:").concat(theme.navBorderWidth || 'inherit', " solid ").concat(theme.navBorderColor || 'inherit', ";box-sizing:border-box;display:flex;flex-direction:row;padding:").concat(theme.navPaddingTopBottom || 'inherit', " ").concat(theme.navPaddingLeftRight || 'inherit', ";position:sticky;top:0;width:100%;z-index:4444}\n\nbody.tox-fullscreen .fooBc_diTj{display:none}\n\n@supports (-ms-ime-align:auto){.fooBc_diTj{position:relative}}\n\n.fooBc_ZXRE{flex:1}");
|
|
50
50
|
},
|
|
51
|
-
'nav': '
|
|
52
|
-
'crumbs': '
|
|
51
|
+
'nav': 'fooBc_diTj',
|
|
52
|
+
'crumbs': 'fooBc_ZXRE'
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
var _ref = /*#__PURE__*/_react.default.createElement(_uiIcons.IconBankLine, {
|
|
@@ -48,13 +48,13 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
48
48
|
var _dec, _class, _class2, _temp;
|
|
49
49
|
|
|
50
50
|
var styles = {
|
|
51
|
-
componentId: '
|
|
51
|
+
componentId: 'gEXZO',
|
|
52
52
|
template: function template(theme) {
|
|
53
|
-
return "\n\n.
|
|
53
|
+
return "\n\n.gEXZO_exDh{color:".concat(theme.buttonsColor || 'inherit', ";display:inline-flex;flex:0 0 auto;font-size:1.1rem;padding:0 ").concat(theme.buttonsPadding || 'inherit', ";text-align:right;z-index:").concat(theme.buttonsZIndex || 'inherit', "}\n\n[dir=ltr] .gEXZO_exDh,[dir=rtl] .gEXZO_exDh{text-align:right}\n\n.gEXZO_fwKS.gEXZO_bBLs,body.tox-fullscreen .gEXZO_exDh{display:none}\n\n@media print{.gEXZO_exDh{display:none}}");
|
|
54
54
|
},
|
|
55
|
-
'buttons': '
|
|
56
|
-
'edit': '
|
|
57
|
-
'hide': '
|
|
55
|
+
'buttons': 'gEXZO_exDh',
|
|
56
|
+
'edit': 'gEXZO_fwKS',
|
|
57
|
+
'hide': 'gEXZO_bBLs'
|
|
58
58
|
};
|
|
59
59
|
var ScrollTargetButton = (0, _makeScrollable.default)(_uiButtons.Button);
|
|
60
60
|
var ActionButtons = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
@@ -56,16 +56,16 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
56
56
|
var _dec, _class, _class2, _temp;
|
|
57
57
|
|
|
58
58
|
var styles = {
|
|
59
|
-
componentId: '
|
|
59
|
+
componentId: 'cCKjK',
|
|
60
60
|
template: function template(theme) {
|
|
61
|
-
return "\n\n.
|
|
61
|
+
return "\n\n.cCKjK_fsuY{align-items:center;background-color:".concat(theme.headerBackgroundColor || 'inherit', ";color:").concat(theme.headerColor || 'inherit', ";display:flex;justify-content:space-between;padding:").concat(theme.headerPadding || 'inherit', ";vertical-align:middle}\n\n.cCKjK_cKlw{align-items:center;display:inline-flex;flex:8 0 0;flex-wrap:nowrap;width:100%}\n\nbody.tox-fullscreen .cCKjK_cKlw{display:none}\n\n.cCKjK_ecuB{font-size:").concat(theme.interactionTypeFontSize || 'inherit', ";margin-left:").concat(theme.interactionTypeLeftMargin || 'inherit', ";margin-right:").concat(theme.interactionTypeRightMargin || 'inherit', "}\n\n.cCKjK_epFc{border-left:").concat(theme.dividingLineLeftBorder || 'inherit', ";width:0}\n\n.cCKjK_dFsQ{display:flex;flex:1 1 auto}\n\n.cCKjK_eGPC{flex:1 1 auto;font-size:").concat(theme.titleInputFontSize || 'inherit', ";text-overflow:ellipsis;white-space:nowrap}");
|
|
62
62
|
},
|
|
63
|
-
'header': '
|
|
64
|
-
'leftHeader': '
|
|
65
|
-
'interactionType': '
|
|
66
|
-
'dividingLine': '
|
|
67
|
-
'titleHolder': '
|
|
68
|
-
'titleInput': '
|
|
63
|
+
'header': 'cCKjK_fsuY',
|
|
64
|
+
'leftHeader': 'cCKjK_cKlw',
|
|
65
|
+
'interactionType': 'cCKjK_ecuB',
|
|
66
|
+
'dividingLine': 'cCKjK_epFc',
|
|
67
|
+
'titleHolder': 'cCKjK_dFsQ',
|
|
68
|
+
'titleInput': 'cCKjK_eGPC'
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
var _ref2 = /*#__PURE__*/_react.default.createElement(_uiIcons.IconBankLine, null);
|
|
@@ -60,11 +60,11 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
60
60
|
var _dec, _class, _class2, _temp;
|
|
61
61
|
|
|
62
62
|
var styles = {
|
|
63
|
-
componentId: '
|
|
63
|
+
componentId: 'bZuQH',
|
|
64
64
|
template: function template(theme) {
|
|
65
|
-
return "\n\n.
|
|
65
|
+
return "\n\n.bZuQH_qRLg{font-size:".concat(theme.quizEntryEditFontSize || 'inherit', ";margin:").concat(theme.quizEntryEditMargin || 'inherit', " 0;position:relative;transform:translateZ(0);z-index:3333}\n\nbody.tox-fullscreen .bZuQH_qRLg{transform:none;z-index:6666}");
|
|
66
66
|
},
|
|
67
|
-
'quizEntryEdit': '
|
|
67
|
+
'quizEntryEdit': 'bZuQH_qRLg'
|
|
68
68
|
};
|
|
69
69
|
var QuizEntryEdit = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
70
70
|
(0, _inherits2.default)(QuizEntryEdit, _Component);
|
|
@@ -62,23 +62,23 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
62
62
|
var _dec, _class, _class2, _temp;
|
|
63
63
|
|
|
64
64
|
var styles = {
|
|
65
|
-
componentId: '
|
|
65
|
+
componentId: 'cVcMH',
|
|
66
66
|
template: function template(theme) {
|
|
67
|
-
return "\n\n.
|
|
67
|
+
return "\n\n.cVcMH_bObp{background-color:".concat(theme.sidebarBackgroundColor || 'inherit', ";border:").concat(theme.sidebarBorderWidth || 'inherit', " solid ").concat(theme.sidebarBorderColor || 'inherit', ";box-sizing:border-box;color:").concat(theme.sidebarColor || 'inherit', ";height:100%;overflow:hidden;position:relative;transition:").concat(theme.sidebarTransitionDuration || 'inherit', " ease;width:").concat(theme.sidebarWidthClosed || 'inherit', ";z-index:").concat(theme.sidebarZIndex || 'inherit', "}\n\nbody.tox-fullscreen .cVcMH_bObp{z-index:0}\n\n.cVcMH_crKy{display:flex;flex-direction:column;height:100%}\n\n.cVcMH_eYGv{overflow-x:hidden;overflow-y:auto}\n\n.cVcMH_eeTU{border-bottom:").concat(theme.sidebarHeaderBorderWidth || 'inherit', " solid ").concat(theme.sidebarHeaderBorderColor || 'inherit', ";border-right:").concat(theme.actionableInfoBorderWidth || 'inherit', " solid ").concat(theme.sidebarBackgroundColor || 'inherit', ";text-align:center}\n\n[dir=ltr] .cVcMH_eeTU,[dir=rtl] .cVcMH_eeTU{text-align:center}\n\n.cVcMH_eeTU:hover{border-right:").concat(theme.actionableInfoBorderWidth || 'inherit', " solid ").concat(theme.actionableInfoHoverBorderColor || 'inherit', "}\n\n.cVcMH_difO{color:").concat(theme.descriptionFontColor || 'inherit', ";display:none;font-size:").concat(theme.descriptionFontSize || 'inherit', "}\n\n.cVcMH_cjDf{display:flex;flex-direction:row;flex-shrink:0;padding:").concat(theme.headerSpacingPadding || 'inherit', "}\n\n.cVcMH_cjDf h2{padding-top:0.3em}\n\n.cVcMH_fuFE{border-bottom:solid ").concat(theme.sidebarHeaderBorderWidth || 'inherit', ";border-color:").concat(theme.sidebarHeaderBorderColor || 'inherit', "}\n\n.cVcMH_cvRx{margin-left:auto}\n\n.cVcMH_fwEb{background-color:").concat(theme.pinnedSectionBackgroundColor || 'inherit', ";width:100%}\n\n.cVcMH_fwEb .cVcMH_cjDf{flex-grow:1}\n\n.cVcMH_ftzv{padding-top:").concat(theme.questionNavigatorPadding || 'inherit', "}\n\n.cVcMH_bObp.cVcMH_eNNp{opacity:1;transition:").concat(theme.sidebarTransitionDuration || 'inherit', " ease;width:").concat(theme.sidebarWidthOpen || 'inherit', "}\n\n.cVcMH_eNNp .cVcMH_difO{cursor:pointer;display:inline-block}\n\n.cVcMH_eNNp .cVcMH_eeTU,[dir=ltr] .cVcMH_eNNp .cVcMH_eeTU,[dir=rtl] .cVcMH_eNNp .cVcMH_eeTU{text-align:inherit}\n\n.cVcMH_eQGE{display:none}\n\n.cVcMH_eQGE.cVcMH_cvRx{display:block;margin:auto}\n\n.cVcMH_eYHq{height:100%}\n\n@media screen and (--phoneBreakPoint){.cVcMH_eYHq{position:relative}.cVcMH_bObp{position:absolute;width:0}.cVcMH_bObp,.cVcMH_bObp.cVcMH_eNNp{transition:").concat(theme.sidebarTransitionDuration || 'inherit', " ease}.cVcMH_bObp.cVcMH_eNNp{display:inline;max-width:100vw;width:100vw}}\n\n@media print{.cVcMH_eYHq{display:none}}");
|
|
68
68
|
},
|
|
69
|
-
'sidebar': '
|
|
70
|
-
'sidebarWrapper': '
|
|
71
|
-
'sidebarContent': '
|
|
72
|
-
'actionableInfo': '
|
|
73
|
-
'description': '
|
|
74
|
-
'headerSpacing': '
|
|
75
|
-
'headerBottomBorder': '
|
|
76
|
-
'iconWrapper': '
|
|
77
|
-
'pinnedSection': '
|
|
78
|
-
'questionNavigatorPadding': '
|
|
79
|
-
'sidebarIsOpen': '
|
|
80
|
-
'sidebarClosed': '
|
|
81
|
-
'commonContainer': '
|
|
69
|
+
'sidebar': 'cVcMH_bObp',
|
|
70
|
+
'sidebarWrapper': 'cVcMH_crKy',
|
|
71
|
+
'sidebarContent': 'cVcMH_eYGv',
|
|
72
|
+
'actionableInfo': 'cVcMH_eeTU',
|
|
73
|
+
'description': 'cVcMH_difO',
|
|
74
|
+
'headerSpacing': 'cVcMH_cjDf',
|
|
75
|
+
'headerBottomBorder': 'cVcMH_fuFE',
|
|
76
|
+
'iconWrapper': 'cVcMH_cvRx',
|
|
77
|
+
'pinnedSection': 'cVcMH_fwEb',
|
|
78
|
+
'questionNavigatorPadding': 'cVcMH_ftzv',
|
|
79
|
+
'sidebarIsOpen': 'cVcMH_eNNp',
|
|
80
|
+
'sidebarClosed': 'cVcMH_eQGE',
|
|
81
|
+
'commonContainer': 'cVcMH_eYHq'
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
var _ref = /*#__PURE__*/_react.default.createElement(_uiIcons.IconQuizTitleLine, {
|
|
@@ -32,12 +32,12 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
32
32
|
var _dec, _class, _class2, _temp;
|
|
33
33
|
|
|
34
34
|
var styles = {
|
|
35
|
-
componentId: '
|
|
35
|
+
componentId: 'kJotW',
|
|
36
36
|
template: function template(theme) {
|
|
37
|
-
return "\n\n.
|
|
37
|
+
return "\n\n.kJotW_cESy{align-items:center;background-color:".concat(theme.positionBackgroundColor || 'inherit', ";display:flex;height:").concat(theme.positionDimension || 'inherit', ";justify-content:center;margin-left:-1.2rem;margin-right:").concat(theme.positionMargin || 'inherit', ";min-width:").concat(theme.positionDimension || 'inherit', ";padding:0 ").concat(theme.positionPadding || 'inherit', ";z-index:").concat(theme.positionZIndex || 'inherit', "}\n\nbody.tox-fullscreen .kJotW_cESy{z-index:0}\n\n.kJotW_bUkG{color:").concat(theme.positionTextColor || 'inherit', ";font-size:").concat(theme.positionTextFontSize || 'inherit', "}\n\n@media print{.kJotW_cESy{-webkit-print-color-adjust:exact;color-adjust:exact}}");
|
|
38
38
|
},
|
|
39
|
-
'position': '
|
|
40
|
-
'positionText': '
|
|
39
|
+
'position': 'kJotW_cESy',
|
|
40
|
+
'positionText': 'kJotW_bUkG'
|
|
41
41
|
};
|
|
42
42
|
var PositionBox = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
43
43
|
(0, _inherits2.default)(PositionBox, _Component);
|
|
@@ -42,13 +42,13 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
42
42
|
var _dec, _class, _class2, _temp;
|
|
43
43
|
|
|
44
44
|
var styles = {
|
|
45
|
-
componentId: '
|
|
45
|
+
componentId: 'bgZYv',
|
|
46
46
|
template: function template(theme) {
|
|
47
|
-
return "\n\n.
|
|
47
|
+
return "\n\n.bgZYv_NbWo{height:1px;position:relative}\n\n.bgZYv_NbWo,.bgZYv_ljGg{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;width:100%}\n\nbody.tox-fullscreen .bgZYv_NbWo,body.tox-fullscreen .bgZYv_ljGg{z-index:0}\n\n.bgZYv_bRWN{border-bottom:solid ".concat(theme.borderLineBorderWidth || 'inherit', " ").concat(theme.borderLineBorderColor || 'inherit', ";top:0;width:100%}");
|
|
48
48
|
},
|
|
49
|
-
'addContentContainer': '
|
|
50
|
-
'attachQuestionContainer': '
|
|
51
|
-
'borderLine': '
|
|
49
|
+
'addContentContainer': 'bgZYv_NbWo',
|
|
50
|
+
'attachQuestionContainer': 'bgZYv_ljGg',
|
|
51
|
+
'borderLine': 'bgZYv_bRWN'
|
|
52
52
|
};
|
|
53
53
|
var AddContentPopover = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
54
54
|
(0, _inherits2.default)(AddContentPopover, _Component);
|
|
@@ -30,12 +30,12 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
30
30
|
var _dec, _class, _class2, _temp;
|
|
31
31
|
|
|
32
32
|
var styles = {
|
|
33
|
-
componentId: '
|
|
33
|
+
componentId: 'PuSJn',
|
|
34
34
|
template: function template(theme) {
|
|
35
|
-
return "\n\n.
|
|
35
|
+
return "\n\n.PuSJn_bGBk{align-self:center;position:relative}\n\n.PuSJn_cYkL{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%;z-index:".concat(theme.overlayZIndex || 'inherit', "}\n\n.PuSJn_cYkL:hover{border-left:").concat(theme.overlayBarSize || 'inherit', " solid ").concat(theme.overlayBarColor || 'inherit', ";box-sizing:border-box}\n\nbody.tox-fullscreen .PuSJn_cYkL{z-index:0}\n\n@media print{.PuSJn_cYkL:hover{border-left:none}}");
|
|
36
36
|
},
|
|
37
|
-
'root': '
|
|
38
|
-
'overlay': '
|
|
37
|
+
'root': 'PuSJn_bGBk',
|
|
38
|
+
'overlay': 'PuSJn_cYkL'
|
|
39
39
|
};
|
|
40
40
|
var Overlay = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
41
41
|
(0, _inherits2.default)(Overlay, _Component);
|
|
@@ -335,6 +335,7 @@ var ModerateTableRow = (_dec = (0, _uiThemeable.themeable)(_theme.default, style
|
|
|
335
335
|
direction: "row-reverse",
|
|
336
336
|
justifyItems: "end"
|
|
337
337
|
}, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
|
|
338
|
+
shouldShrink: true,
|
|
338
339
|
"data-automation": "sdk-moderate-accommodations-text"
|
|
339
340
|
}, displayContent), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, null, /*#__PURE__*/_react.default.createElement(_uiButtons.Button, {
|
|
340
341
|
variant: "icon",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.40.
|
|
3
|
+
"version": "17.40.1-rc.1+bb1f07cf2",
|
|
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.1.2",
|
|
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.40.1-rc.1+bb1f07cf2",
|
|
45
|
+
"@instructure/quiz-i18n": "17.40.1-rc.1+bb1f07cf2",
|
|
46
|
+
"@instructure/quiz-interactions": "17.40.1-rc.1+bb1f07cf2",
|
|
47
|
+
"@instructure/quiz-number-input": "17.40.1-rc.1+bb1f07cf2",
|
|
48
|
+
"@instructure/quiz-rce": "17.40.1-rc.1+bb1f07cf2",
|
|
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.40.1-rc.1+bb1f07cf2",
|
|
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.40.1-rc.1+bb1f07cf2",
|
|
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.40.1-rc.1+bb1f07cf2",
|
|
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": "bb1f07cf2eb6c0400ccd6865552d01ed03929267"
|
|
176
176
|
}
|