@instructure/quiz-core 21.0.1-rc.0 → 21.0.1-rc.11
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/theme.js +1 -1
- package/es/banks/components/BankEntry/presenter.js +2 -2
- package/es/banks/components/BankEntry/theme.js +5 -5
- package/es/banks/components/BankEntryRow/styles.js +1 -0
- package/es/banks/components/BankEntryRow/theme.js +4 -4
- package/es/banks/components/Banks/theme.js +2 -2
- package/es/banks/components/BanksList/presenter.js +1 -1
- package/es/banks/components/BanksList/theme.js +4 -4
- package/es/banks/components/NavWrapper/theme.js +3 -3
- package/es/banks/components/SharingModal/presenter.js +2 -2
- package/es/banks/components/SharingModal/theme.js +1 -1
- package/es/building/components/layout/header/BuildingButtons/theme.js +1 -1
- package/es/building/components/resources/ActionButtons/theme.js +1 -1
- package/es/building/components/resources/AddToBankOptions/theme.js +2 -2
- package/es/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
- package/es/building/components/resources/quiz/title/Edit/theme.js +1 -1
- package/es/building/components/resources/quiz/title/Title/theme.js +3 -3
- package/es/building/components/resources/quizEntry/QuizEntry/theme.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -3
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
- package/es/common/actions/taking.js +3 -2
- package/es/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
- package/es/common/components/PrintFontSizeModal/presenter.js +2 -2
- package/es/common/components/PrintFontSizeModal/theme.js +1 -1
- package/es/common/components/SDKApp/index.js +4 -4
- package/es/common/components/layout/header/HeaderMenuButton/theme.js +1 -1
- package/es/common/components/layout/header/Timer/theme.js +3 -3
- package/es/common/components/layout/navbar/theme.js +1 -1
- package/es/common/components/layout/sidebar/PositionSummary/theme.js +2 -2
- package/es/common/components/layout/sidebar/Sidebar/theme.js +10 -10
- package/es/common/components/layout/sidebar/SidebarItem/theme.js +5 -5
- package/es/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -1
- package/es/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -2
- package/es/common/components/layout/sidebar/Stimulus/theme.js +4 -4
- package/es/common/components/resources/WarningWrapper/theme.js +1 -1
- package/es/common/components/resources/entry/EntrySave/presenter.js +2 -2
- package/es/common/components/resources/positionBox/theme.js +2 -2
- package/es/common/components/resources/quiz/AddContent/Body/theme.js +1 -1
- package/es/common/components/resources/quiz/AddContent/Button/theme.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Popover/theme.js +1 -1
- package/es/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -1
- package/es/common/components/resources/stimulus/Stimulus/theme.js +1 -1
- package/es/common/components/resources/stimulus/StimulusEdit/theme.js +1 -1
- package/es/common/components/resources/stimulus/StimulusEditInfo/index.js +5 -1
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +15 -2
- package/es/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -1
- package/es/common/components/resources/stimulus/StimulusShow/index.js +1 -1
- package/es/common/components/shared/Card/CardContent/theme.js +2 -2
- package/es/common/components/shared/Card/CardWrapper/theme.js +1 -1
- package/es/common/components/shared/InteractionTypes/theme.js +1 -1
- package/es/common/components/shared/PaginatedCollection/presenter.js +2 -2
- package/es/common/components/shared/PaginatedCollection/theme.js +1 -1
- package/es/common/components/shared/TimeUnitsInput/index.js +2 -2
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +5 -5
- package/es/common/components/shared/errors/theme.js +1 -1
- package/es/common/components/shared/file_selector/theme.js +2 -2
- package/es/common/components/shared/functionality/makeEditable.js +2 -2
- package/es/common/components/shared/overlay/theme.js +1 -1
- package/es/common/reducers/taking.js +5 -1
- package/es/common/selectors/taking.js +3 -0
- package/es/common/util/getClientIpAddress.js +35 -0
- package/es/common/util/serializeEvent.js +4 -2
- package/es/index.js +2 -3
- package/es/moderating/components/events/Event.js +27 -10
- package/es/moderating/components/events/ResponseEvent.js +24 -7
- package/es/moderating/components/events/SessionStartEvent.js +16 -15
- package/es/moderating/components/events/SessionSubmitEvent.js +42 -0
- package/es/moderating/components/events/theme.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +2 -2
- package/es/moderating/components/resources/EventDetails.js +43 -0
- package/es/moderating/components/resources/ModerateTable/theme.js +1 -1
- package/es/moderating/components/resources/SessionBreachAlert.js +10 -0
- package/es/moderating/components/resources/util/checkIsBreach.js +28 -0
- package/es/moderating/components/resources/util/extractSessionData.js +20 -0
- package/es/reporting/components/charts/Distribution/theme.js +2 -2
- package/es/reporting/components/charts/Legend/theme.js +2 -2
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +8 -8
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +5 -5
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -2
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
- package/es/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -1
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
- package/es/reporting/components/resources/common/propTypes.js +14 -0
- package/es/taking/api/taking.js +26 -3
- package/lib/banks/components/Bank/theme.js +1 -1
- package/lib/banks/components/BankEntry/presenter.js +2 -2
- package/lib/banks/components/BankEntry/theme.js +5 -5
- package/lib/banks/components/BankEntryRow/styles.js +1 -0
- package/lib/banks/components/BankEntryRow/theme.js +4 -4
- package/lib/banks/components/Banks/theme.js +2 -2
- package/lib/banks/components/BanksList/presenter.js +1 -1
- package/lib/banks/components/BanksList/theme.js +4 -4
- package/lib/banks/components/NavWrapper/theme.js +3 -3
- package/lib/banks/components/SharingModal/presenter.js +2 -2
- package/lib/banks/components/SharingModal/theme.js +1 -1
- package/lib/building/components/layout/header/BuildingButtons/theme.js +1 -1
- package/lib/building/components/resources/ActionButtons/theme.js +1 -1
- package/lib/building/components/resources/AddToBankOptions/theme.js +2 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
- package/lib/building/components/resources/quiz/title/Edit/theme.js +1 -1
- package/lib/building/components/resources/quiz/title/Title/theme.js +3 -3
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -3
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
- package/lib/common/actions/taking.js +3 -2
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
- package/lib/common/components/PrintFontSizeModal/presenter.js +2 -2
- package/lib/common/components/PrintFontSizeModal/theme.js +1 -1
- package/lib/common/components/SDKApp/index.js +4 -4
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +1 -1
- package/lib/common/components/layout/header/Timer/theme.js +3 -3
- package/lib/common/components/layout/navbar/theme.js +1 -1
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -2
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +10 -10
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +5 -5
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -2
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +4 -4
- package/lib/common/components/resources/WarningWrapper/theme.js +1 -1
- package/lib/common/components/resources/entry/EntrySave/presenter.js +2 -2
- package/lib/common/components/resources/positionBox/theme.js +2 -2
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +1 -1
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +4 -4
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +1 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -1
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +5 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +15 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +1 -1
- package/lib/common/components/shared/Card/CardContent/theme.js +2 -2
- package/lib/common/components/shared/Card/CardWrapper/theme.js +1 -1
- package/lib/common/components/shared/InteractionTypes/theme.js +1 -1
- package/lib/common/components/shared/PaginatedCollection/presenter.js +2 -2
- package/lib/common/components/shared/PaginatedCollection/theme.js +1 -1
- package/lib/common/components/shared/TimeUnitsInput/index.js +2 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +5 -5
- package/lib/common/components/shared/errors/theme.js +1 -1
- package/lib/common/components/shared/file_selector/theme.js +2 -2
- package/lib/common/components/shared/functionality/makeEditable.js +2 -2
- package/lib/common/components/shared/overlay/theme.js +1 -1
- package/lib/common/reducers/taking.js +5 -1
- package/lib/common/selectors/taking.js +5 -1
- package/lib/common/util/getClientIpAddress.js +43 -0
- package/lib/common/util/serializeEvent.js +3 -1
- package/lib/index.js +15 -0
- package/lib/moderating/components/events/Event.js +26 -9
- package/lib/moderating/components/events/ResponseEvent.js +25 -7
- package/lib/moderating/components/events/SessionStartEvent.js +16 -15
- package/lib/moderating/components/events/SessionSubmitEvent.js +52 -0
- package/lib/moderating/components/events/theme.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +2 -2
- package/lib/moderating/components/resources/EventDetails.js +51 -0
- package/lib/moderating/components/resources/ModerateTable/theme.js +1 -1
- package/lib/moderating/components/resources/SessionBreachAlert.js +18 -0
- package/lib/moderating/components/resources/util/checkIsBreach.js +36 -0
- package/lib/moderating/components/resources/util/extractSessionData.js +28 -0
- package/lib/reporting/components/charts/Distribution/theme.js +2 -2
- package/lib/reporting/components/charts/Legend/theme.js +2 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +8 -8
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +5 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -1
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
- package/lib/reporting/components/resources/common/propTypes.js +18 -2
- package/lib/taking/api/taking.js +26 -3
- package/package.json +55 -55
|
@@ -14,9 +14,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
14
14
|
navPaddingTopBottom: spacing.small,
|
|
15
15
|
navPaddingLeftRight: spacing.xLarge,
|
|
16
16
|
navBorderWidth: borders.widthSmall,
|
|
17
|
-
navBorderColor: colors.
|
|
18
|
-
navBackgroundColor: colors.
|
|
19
|
-
bankIconColor: colors.
|
|
17
|
+
navBorderColor: colors.tiara,
|
|
18
|
+
navBackgroundColor: colors.white,
|
|
19
|
+
bankIconColor: colors.electric,
|
|
20
20
|
bankIconFontSize: typography.fontSizeLarge,
|
|
21
21
|
bankIconPadding: spacing.xSmall
|
|
22
22
|
};
|
|
@@ -337,8 +337,8 @@ var SharingModalPresenter = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.
|
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
}, {
|
|
340
|
-
key: "
|
|
341
|
-
value: function
|
|
340
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
341
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
342
342
|
this.setState({
|
|
343
343
|
accountPermission: nextProps.bank.accountPermission,
|
|
344
344
|
shares: nextProps.sharedBanks
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
borders = _ref.borders,
|
|
10
10
|
spacing = _ref.spacing;
|
|
11
11
|
return {
|
|
12
|
-
separatorColor: colors.
|
|
12
|
+
separatorColor: colors.tiara,
|
|
13
13
|
separatorBorderWidth: borders.widthSmall,
|
|
14
14
|
separatorMargin: spacing.medium
|
|
15
15
|
};
|
|
@@ -11,7 +11,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
return {
|
|
12
12
|
quizSavingColor: colors.lightGray,
|
|
13
13
|
quizSavingMargin: spacing.large,
|
|
14
|
-
buttonsHolderMargin: spacing.
|
|
14
|
+
buttonsHolderMargin: spacing.mediumSmall,
|
|
15
15
|
menuIconMargin: spacing.xSmall,
|
|
16
16
|
menuIconFontSize: typography.fontSizeLarge
|
|
17
17
|
};
|
|
@@ -8,8 +8,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
8
8
|
var spacing = _ref.spacing,
|
|
9
9
|
colors = _ref.colors;
|
|
10
10
|
return {
|
|
11
|
-
addToBankBackgroundColor: colors.
|
|
12
|
-
addToBankBorderColor: colors.
|
|
11
|
+
addToBankBackgroundColor: colors.porcelain,
|
|
12
|
+
addToBankBorderColor: colors.oxford
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
var _default = generateComponentTheme;
|
|
@@ -13,7 +13,7 @@ function generator(_ref) {
|
|
|
13
13
|
labelLeftPadding: spacing.large,
|
|
14
14
|
labelBottomPadding: spacing.xxSmall,
|
|
15
15
|
labelFontSize: typography.fontSizeSmall,
|
|
16
|
-
labelColor: colors.
|
|
16
|
+
labelColor: colors.slate,
|
|
17
17
|
editButtonWrapperRightMargin: spacing.large
|
|
18
18
|
};
|
|
19
19
|
}
|
|
@@ -16,7 +16,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
16
16
|
titleEditInputFontSize: typography.fontSizeXLarge,
|
|
17
17
|
errorBorderMargin: spacing.xxSmall,
|
|
18
18
|
errorBorderPadding: spacing.xxSmall,
|
|
19
|
-
errorBorderColor: colors.
|
|
19
|
+
errorBorderColor: colors.crimson,
|
|
20
20
|
errorBorderBorderRadius: borders.radiusSmall
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -14,10 +14,10 @@ function generator(_ref) {
|
|
|
14
14
|
labelLeftPadding: spacing.large,
|
|
15
15
|
labelBottomPadding: spacing.xxSmall,
|
|
16
16
|
labelFontSize: typography.fontSizeSmall,
|
|
17
|
-
labelColor: colors.
|
|
17
|
+
labelColor: colors.slate,
|
|
18
18
|
editButtonWrapperRightMargin: spacing.large,
|
|
19
|
-
titleShowWrapperBottomBorder: "".concat(borders.widthMedium, " ").concat(borders.style, " ").concat(colors.
|
|
19
|
+
titleShowWrapperBottomBorder: "".concat(borders.widthMedium, " ").concat(borders.style, " ").concat(colors.porcelain),
|
|
20
20
|
titleEditWrapperBorderWidth: borders.widthSmall,
|
|
21
|
-
titleEditWrapperBorderColor: colors.
|
|
21
|
+
titleEditWrapperBorderColor: colors.ash
|
|
22
22
|
};
|
|
23
23
|
}
|
|
@@ -12,7 +12,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
return {
|
|
13
13
|
footerPadding: spacing.small,
|
|
14
14
|
footerBorderWidth: borders.widthSmall,
|
|
15
|
-
footerBorderColor: colors.
|
|
15
|
+
footerBorderColor: colors.tiara,
|
|
16
16
|
footerFontSize: typography.fontSizeXSmall
|
|
17
17
|
};
|
|
18
18
|
};
|
package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js
CHANGED
|
@@ -11,9 +11,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
borders = _ref.borders;
|
|
12
12
|
return {
|
|
13
13
|
marginAddMargin: spacing.xSmall,
|
|
14
|
-
quizEntryBankEditBackgroundColor: colors.
|
|
14
|
+
quizEntryBankEditBackgroundColor: colors.white,
|
|
15
15
|
quizEntryBankEditBorderSize: borders.widthSmall,
|
|
16
|
-
quizEntryBankEditBorderColor: colors.
|
|
16
|
+
quizEntryBankEditBorderColor: colors.oxford,
|
|
17
17
|
quizEntryBankEditPadding: borders.small,
|
|
18
18
|
quizEntryBankEditMargin: spacing.medium,
|
|
19
19
|
numberInputFontSize: typography.fontSizeMedium,
|
|
@@ -22,7 +22,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
22
22
|
borderLineTopMargin: spacing.small,
|
|
23
23
|
borderLineBottomMargin: spacing.small,
|
|
24
24
|
borderLineBottomBorderSize: borders.widthSmall,
|
|
25
|
-
borderLineBottomBorderColor: colors.
|
|
25
|
+
borderLineBottomBorderColor: colors.ash
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
var _default = generateComponentTheme;
|
package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js
CHANGED
|
@@ -10,8 +10,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
typography = _ref.typography,
|
|
11
11
|
borders = _ref.borders;
|
|
12
12
|
return {
|
|
13
|
-
quizEntryBankBackgroundColor: colors.
|
|
14
|
-
quizEntryBankBorder: "".concat(borders.widthSmall, " dashed ").concat(colors.
|
|
13
|
+
quizEntryBankBackgroundColor: colors.white,
|
|
14
|
+
quizEntryBankBorder: "".concat(borders.widthSmall, " dashed ").concat(colors.oxford),
|
|
15
15
|
quizEntryBankPadding: "".concat(spacing.xxSmall, " ").concat(spacing.medium),
|
|
16
16
|
quizEntryBankTopMargin: spacing.small,
|
|
17
17
|
alertWrapperMargin: spacing.small
|
|
@@ -94,8 +94,8 @@ var QuizEntryEditFooter = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.de
|
|
|
94
94
|
return _this;
|
|
95
95
|
}
|
|
96
96
|
(0, _createClass2.default)(QuizEntryEditFooter, [{
|
|
97
|
-
key: "
|
|
98
|
-
value: function
|
|
97
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
98
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
99
99
|
var points = this.getPoints(nextProps);
|
|
100
100
|
this.setState({
|
|
101
101
|
points: points,
|
|
@@ -9,8 +9,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors,
|
|
10
10
|
typography = _ref.typography;
|
|
11
11
|
return {
|
|
12
|
-
headerBackgroundColor: colors.
|
|
13
|
-
headerColor: colors.
|
|
12
|
+
headerBackgroundColor: colors.porcelain,
|
|
13
|
+
headerColor: colors.oxford,
|
|
14
14
|
headerPadding: "".concat(spacing.xSmall, " ").concat(spacing.small)
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -284,8 +284,8 @@ var QuizEntryEdit = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default,
|
|
|
284
284
|
this.props.onEditQuizEntryToggle(this.props.quizEntry.id);
|
|
285
285
|
}
|
|
286
286
|
}, {
|
|
287
|
-
key: "
|
|
288
|
-
value: function
|
|
287
|
+
key: "UNSAFE_componentWillMount",
|
|
288
|
+
value: function UNSAFE_componentWillMount() {
|
|
289
289
|
this.props.setUi(_quizCommon.SHOULD_CLONE_ITEM, false);
|
|
290
290
|
}
|
|
291
291
|
}, {
|
|
@@ -12,13 +12,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
breakpoints = _ref.breakpoints;
|
|
13
13
|
return {
|
|
14
14
|
quizEntryShowPadding: "".concat(spacing.large, " ").concat(spacing.small),
|
|
15
|
-
quizEntryShowBackgroundColor: colors.
|
|
15
|
+
quizEntryShowBackgroundColor: colors.white,
|
|
16
16
|
headerHeight: '2rem',
|
|
17
17
|
headerRightPadding: spacing.xSmall,
|
|
18
|
-
dndBorder: "".concat(borders.style, " ").concat(borders.widthSmall, " ").concat(colors.
|
|
18
|
+
dndBorder: "".concat(borders.style, " ").concat(borders.widthSmall, " ").concat(colors.brand),
|
|
19
19
|
rightHeaderZIndex: '3333',
|
|
20
|
-
rightHeaderColor: colors.
|
|
21
|
-
titleInteractionTypeNamePointsColor: colors.
|
|
20
|
+
rightHeaderColor: colors.oxford,
|
|
21
|
+
titleInteractionTypeNamePointsColor: colors.slate,
|
|
22
22
|
titleInteractionTypeNamePointsFontSize: typography.fontSizeSmall,
|
|
23
23
|
titleInteractionTypeNamePointsLeftMargin: spacing.xSmall,
|
|
24
24
|
titleInteractionTypeNamePointsRightMargin: spacing.xSmall,
|
|
@@ -26,7 +26,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
26
26
|
optionsButtonDragDropHandleFontSize: typography.fontSizeMedium,
|
|
27
27
|
optionsButtonDragDropHandleMargin: spacing.xSmall,
|
|
28
28
|
phoneConnectingLinesBorderWidth: borders.widthSmall,
|
|
29
|
-
phoneConnectingLinesBorderColor: colors.
|
|
29
|
+
phoneConnectingLinesBorderColor: colors.ash,
|
|
30
30
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium)
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -122,12 +122,13 @@ var loadResumeData = function loadResumeData(resumeData) {
|
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
exports.loadResumeData = loadResumeData;
|
|
125
|
-
var sessionStartOrResumeEvent = function sessionStartOrResumeEvent(userAgent) {
|
|
125
|
+
var sessionStartOrResumeEvent = function sessionStartOrResumeEvent(userAgent, ipAddress) {
|
|
126
126
|
return {
|
|
127
127
|
type: _quizCommon.SESSION_STARTED_OR_RESUMED_EVENT,
|
|
128
128
|
payload: {
|
|
129
129
|
userAgent: userAgent,
|
|
130
|
-
browserSessionId: (0, _uuid.v4)()
|
|
130
|
+
browserSessionId: (0, _uuid.v4)(),
|
|
131
|
+
ipAddress: ipAddress
|
|
131
132
|
}
|
|
132
133
|
};
|
|
133
134
|
};
|
|
@@ -9,15 +9,15 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors,
|
|
10
10
|
typography = _ref.typography;
|
|
11
11
|
return {
|
|
12
|
-
uploadIconContainerColor: colors.
|
|
12
|
+
uploadIconContainerColor: colors.ash,
|
|
13
13
|
uploadIconContainerColorFontSize: typography.fontSizeXLarge,
|
|
14
14
|
checkIconContainerFontSize: typography.fontSizeXLarge,
|
|
15
|
-
checkIconContainerColor: colors.
|
|
15
|
+
checkIconContainerColor: colors.shamrock,
|
|
16
16
|
smallTextFontSize: typography.fontSizeXSmall,
|
|
17
|
-
smallTextColor: colors.
|
|
17
|
+
smallTextColor: colors.ash,
|
|
18
18
|
smallTextPadding: spacing.xSmall,
|
|
19
19
|
selectorMargin: spacing.xSmall,
|
|
20
|
-
fileListSuccessColor: colors.
|
|
20
|
+
fileListSuccessColor: colors.shamrock
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
var _default = generateComponentTheme;
|
|
@@ -92,8 +92,8 @@ var PrintFontSizeModal = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.def
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
}, {
|
|
95
|
-
key: "
|
|
96
|
-
value: function
|
|
95
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
96
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
97
97
|
this.setState({
|
|
98
98
|
selectedFontSize: nextProps.persistedPrintFontSize || this.state.selectedFontSize,
|
|
99
99
|
rememberTextSizeSetting: !!this.props.persistedPrintFontSize || this.state.rememberTextSizeSetting
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
borders = _ref.borders,
|
|
10
10
|
spacing = _ref.spacing;
|
|
11
11
|
return {
|
|
12
|
-
separatorColor: colors.
|
|
12
|
+
separatorColor: colors.tiara,
|
|
13
13
|
separatorBorderWidth: borders.widthSmall,
|
|
14
14
|
separatorMargin: spacing.medium
|
|
15
15
|
};
|
|
@@ -72,8 +72,8 @@ var SDKApp = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default, null),
|
|
|
72
72
|
return (0, _ui.set)('appContainer', selectors);
|
|
73
73
|
}
|
|
74
74
|
}, {
|
|
75
|
-
key: "
|
|
76
|
-
value: function
|
|
75
|
+
key: "UNSAFE_componentWillMount",
|
|
76
|
+
value: function UNSAFE_componentWillMount() {
|
|
77
77
|
var _this$props$rceConfig;
|
|
78
78
|
this.store.dispatch([(0, _config.setAPIEndpoint)(this.props.apiEndpoint), (0, _config.setCanvasOrigin)((_this$props$rceConfig = this.props.rceConfig) === null || _this$props$rceConfig === void 0 ? void 0 : _this$props$rceConfig.canvasOrigin), this.setAppContainer(this.props.appContainer), (0, _config.setUserToken)(this.props.userToken), (0, _outcomes.setOutcomesEndpoint)(this.props.outcomesEndpoint), (0, _outcomes.setOutcomesToken)(this.props.outcomesToken), (0, _outcomes.setContextUuid)(this.props.contextUuid), (0, _outcomes.setExternalAccountUuid)(this.props.externalAccountUuid)]);
|
|
79
79
|
if (this.props.itemBankSharingEnabled) {
|
|
@@ -91,8 +91,8 @@ var SDKApp = (_dec = (0, _quizCommon.withStyleOverrides)(_styles.default, null),
|
|
|
91
91
|
!this.props.disableAlertLiveRegion && (0, _renderAlerts.renderAlerts)(this.store);
|
|
92
92
|
}
|
|
93
93
|
}, {
|
|
94
|
-
key: "
|
|
95
|
-
value: function
|
|
94
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
95
|
+
value: function UNSAFE_componentWillReceiveProps(newProps) {
|
|
96
96
|
var _newProps$rceConfig, _this$props$rceConfig2;
|
|
97
97
|
if (newProps.apiEndpoint !== this.props.apiEndpoint) {
|
|
98
98
|
this.store.dispatch((0, _config.setAPIEndpoint)(newProps.apiEndpoint));
|
|
@@ -11,7 +11,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
return {
|
|
12
12
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
13
13
|
menuButtonFontSize: typography.fontSizeLarge,
|
|
14
|
-
menuButtonColor: colors.
|
|
14
|
+
menuButtonColor: colors.licorice,
|
|
15
15
|
menuButtonHoverOpacity: '0.6'
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -10,10 +10,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
colors = _ref.colors,
|
|
11
11
|
typography = _ref.typography;
|
|
12
12
|
return {
|
|
13
|
-
timerBackgroundColor: colors.
|
|
14
|
-
timerColor: colors.
|
|
13
|
+
timerBackgroundColor: colors.porcelain,
|
|
14
|
+
timerColor: colors.ash,
|
|
15
15
|
timerBorderWidth: borders.widthSmall,
|
|
16
|
-
timerBorderColor: colors.
|
|
16
|
+
timerBorderColor: colors.tiara,
|
|
17
17
|
timerBorderRadius: borders.radiusMedium,
|
|
18
18
|
timerFontSize: typography.fontSizeMedium,
|
|
19
19
|
timerPadding: spacing.xxSmall,
|
|
@@ -8,7 +8,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
8
8
|
var breakpoints = _ref.breakpoints,
|
|
9
9
|
colors = _ref.colors;
|
|
10
10
|
return {
|
|
11
|
-
backgroundColor: colors.
|
|
11
|
+
backgroundColor: colors.white,
|
|
12
12
|
phoneBreakPoint: breakpoints.medium
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -10,13 +10,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
borders = _ref.borders,
|
|
11
11
|
typography = _ref.typography;
|
|
12
12
|
return {
|
|
13
|
-
numberSummaryColor: colors.
|
|
13
|
+
numberSummaryColor: colors.licorice,
|
|
14
14
|
numberSummaryFontSize: typography.fontSizeMedium,
|
|
15
15
|
numberSummaryFontWeight: typography.fontWeightBold,
|
|
16
16
|
firstNumberSummaryPadding: spacing.xxSmall,
|
|
17
17
|
secondNumberSummaryPadding: spacing.xxSmall,
|
|
18
18
|
verticalDotsBorderWidth: borders.widthSmall,
|
|
19
|
-
verticalDotsBorderColor: colors.
|
|
19
|
+
verticalDotsBorderColor: colors.licorice
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
var _default = generateComponentTheme;
|
|
@@ -15,30 +15,30 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
15
15
|
return {
|
|
16
16
|
sidebarWidthClosed: spacing.xxLarge,
|
|
17
17
|
sidebarWidthOpen: '22rem',
|
|
18
|
-
sidebarBackgroundColor: colors.
|
|
18
|
+
sidebarBackgroundColor: colors.white,
|
|
19
19
|
sidebarBorderWidth: borders.widthSmall,
|
|
20
|
-
sidebarBorderColor: colors.
|
|
21
|
-
sidebarColor: colors.
|
|
20
|
+
sidebarBorderColor: colors.tiara,
|
|
21
|
+
sidebarColor: colors.oxford,
|
|
22
22
|
sidebarZIndex: '5555',
|
|
23
23
|
sidebarTransitionDuration: transitions.duration,
|
|
24
24
|
infoHolderFontSize: typography.fontSizeXSmall,
|
|
25
25
|
infoHolderBorderWidth: borders.widthSmall,
|
|
26
|
-
infoHolderBorderColor: colors.
|
|
26
|
+
infoHolderBorderColor: colors.tiara,
|
|
27
27
|
infoHolderPadding: spacing.small,
|
|
28
|
-
actionableInfoHoverBorderColor: colors.
|
|
28
|
+
actionableInfoHoverBorderColor: colors.electric,
|
|
29
29
|
actionableInfoBorderWidth: borders.widthLarge,
|
|
30
30
|
questionNavigatorPadding: spacing.xxxSmall,
|
|
31
31
|
headerSpacingPadding: "".concat(spacing.small, " ").concat(spacing.xSmall),
|
|
32
|
-
pinnedSectionBackgroundColor: colors.
|
|
32
|
+
pinnedSectionBackgroundColor: colors.porcelain,
|
|
33
33
|
pinnedQuestionSpacing: spacing.small,
|
|
34
34
|
pinnedQuestionFontSize: typography.fontSizeSmall,
|
|
35
35
|
sidebarHeaderBorderWidth: borders.widthSmall,
|
|
36
|
-
sidebarHeaderBorderColor: colors.
|
|
36
|
+
sidebarHeaderBorderColor: colors.tiara,
|
|
37
37
|
descriptionFontSize: typography.fontSizeXSmall,
|
|
38
|
-
descriptionFontColor: colors.
|
|
38
|
+
descriptionFontColor: colors.slate,
|
|
39
39
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
40
|
-
focusBorderColor: colors.
|
|
41
|
-
focusOutlineColor: (0, _uiColorUtils.alpha)(colors.
|
|
40
|
+
focusBorderColor: colors.brand,
|
|
41
|
+
focusOutlineColor: (0, _uiColorUtils.alpha)(colors.brand, 50)
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
var _default = generateComponentTheme;
|
|
@@ -10,13 +10,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
typography = _ref.typography,
|
|
11
11
|
spacing = _ref.spacing;
|
|
12
12
|
return {
|
|
13
|
-
borderColor: colors.
|
|
14
|
-
bottomBorderColor: colors.
|
|
13
|
+
borderColor: colors.white,
|
|
14
|
+
bottomBorderColor: colors.tiara,
|
|
15
15
|
bottomBorderWidth: borders.widthSmall,
|
|
16
|
-
darkTextColor: colors.
|
|
17
|
-
hoverBorderColor: colors.
|
|
16
|
+
darkTextColor: colors.licorice,
|
|
17
|
+
hoverBorderColor: colors.electric,
|
|
18
18
|
hoverBorderWidth: borders.widthLarge,
|
|
19
|
-
infoHeaderColor: colors.
|
|
19
|
+
infoHeaderColor: colors.slate,
|
|
20
20
|
infoHeaderFontSize: typography.fontSizeXSmall,
|
|
21
21
|
itemBodyFontSize: typography.fontSizeSmall,
|
|
22
22
|
itemBodyMarginTop: spacing.xxSmall,
|
|
@@ -10,7 +10,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
borders = _ref.borders;
|
|
11
11
|
return {
|
|
12
12
|
columnPadding: spacing.xSmall,
|
|
13
|
-
sidebarIsOpenBottomBorderColor: colors.
|
|
13
|
+
sidebarIsOpenBottomBorderColor: colors.slate,
|
|
14
14
|
sidebarIsOpenBottomBorderWidth: borders.widthSmall
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -9,10 +9,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
spacing = _ref.spacing,
|
|
10
10
|
borders = _ref.borders;
|
|
11
11
|
return {
|
|
12
|
-
itemContainerColor: colors.
|
|
12
|
+
itemContainerColor: colors.licorice,
|
|
13
13
|
itemContainerPadding: spacing.xSmall,
|
|
14
14
|
itemContainerBorderWidth: borders.widthSmall,
|
|
15
|
-
itemContainerBorderColor: colors.
|
|
15
|
+
itemContainerBorderColor: colors.licorice,
|
|
16
16
|
summaryMargin: spacing.small,
|
|
17
17
|
summaryMarginLeft: spacing.medium
|
|
18
18
|
};
|
|
@@ -10,17 +10,17 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
borders = _ref.borders,
|
|
11
11
|
typography = _ref.typography;
|
|
12
12
|
return {
|
|
13
|
-
borderColor: colors.
|
|
14
|
-
hoverBorderColor: colors.
|
|
13
|
+
borderColor: colors.white,
|
|
14
|
+
hoverBorderColor: colors.electric,
|
|
15
15
|
hoverBorderWidth: borders.widthLarge,
|
|
16
16
|
sidebarClosedButtonPadding: "".concat(spacing.xxSmall, " 0"),
|
|
17
17
|
sidebarHeaderPadding: spacing.small,
|
|
18
18
|
sidebarItemBorderWidth: borders.widthSmall,
|
|
19
|
-
sidebarItemBorderColor: colors.
|
|
19
|
+
sidebarItemBorderColor: colors.tiara,
|
|
20
20
|
sidebarIsOpenInfoHeaderFontSize: typography.fontSizeXSmall,
|
|
21
21
|
sidebarIsOpenInfoHeaderPadding: spacing.xSmall,
|
|
22
22
|
sidebarIsOpenInfoHeaderMargin: spacing.xSmall,
|
|
23
|
-
sidebarIsOpenInfoHeaderColor: colors.
|
|
23
|
+
sidebarIsOpenInfoHeaderColor: colors.ash
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
var _default = generateComponentTheme;
|
|
@@ -12,7 +12,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
alertPadding: spacing.medium,
|
|
13
13
|
alertZIndex: '8888',
|
|
14
14
|
containerPadding: spacing.medium,
|
|
15
|
-
disabledChildrenBackgroundColor: colors.
|
|
15
|
+
disabledChildrenBackgroundColor: colors.porcelain,
|
|
16
16
|
disabledChildrenOpacity: '0.6',
|
|
17
17
|
disabledChildrenZIndex: '7777'
|
|
18
18
|
};
|
|
@@ -93,8 +93,8 @@ var EntrySave = /*#__PURE__*/function (_Component) {
|
|
|
93
93
|
return _this;
|
|
94
94
|
}
|
|
95
95
|
(0, _createClass2.default)(EntrySave, [{
|
|
96
|
-
key: "
|
|
97
|
-
value: function
|
|
96
|
+
key: "UNSAFE_componentWillMount",
|
|
97
|
+
value: function UNSAFE_componentWillMount() {
|
|
98
98
|
this.props.switchOnEditing(this.props.initialFocusId);
|
|
99
99
|
}
|
|
100
100
|
}, {
|
|
@@ -11,10 +11,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
return {
|
|
12
12
|
positionMargin: spacing.xSmall,
|
|
13
13
|
positionPadding: spacing.xSmall,
|
|
14
|
-
positionBackgroundColor: colors.
|
|
14
|
+
positionBackgroundColor: colors.licorice,
|
|
15
15
|
positionZIndex: '3333',
|
|
16
16
|
positionDimension: '2em',
|
|
17
|
-
positionTextColor: colors.
|
|
17
|
+
positionTextColor: colors.porcelain,
|
|
18
18
|
positionTextFontSize: typography.fontSizeMedium
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -14,7 +14,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
14
14
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
15
15
|
popoverContentMargin: spacing.medium,
|
|
16
16
|
popoverHeaderBoxBorderWidth: borders.widthSmall,
|
|
17
|
-
popoverHeaderBoxBorderColor: colors.
|
|
17
|
+
popoverHeaderBoxBorderColor: colors.tiara
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
var _default = generateComponentTheme;
|
|
@@ -14,16 +14,16 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
14
14
|
attachQuestionButtonHolderZIndex: '2222',
|
|
15
15
|
newItemButtonMargin: spacing.xSmall,
|
|
16
16
|
newItemButtonPadding: spacing.xSmall,
|
|
17
|
-
newItemButtonBackgroundColor: colors.
|
|
17
|
+
newItemButtonBackgroundColor: colors.brand,
|
|
18
18
|
newItemButtonBorderRadius: spacing.large,
|
|
19
|
-
newItemButtonColor: colors.
|
|
20
|
-
newItemButtonFocusOutline: "2px solid ".concat(colors.
|
|
19
|
+
newItemButtonColor: colors.white,
|
|
20
|
+
newItemButtonFocusOutline: "2px solid ".concat(colors.brand),
|
|
21
21
|
newItemButtonFocusOutlineOffset: spacing.xxxSmall,
|
|
22
22
|
newItemButtonFontSize: typography.fontSizeMedium,
|
|
23
23
|
newItemButtonFontWeight: typography.fontWeightBold,
|
|
24
24
|
newItemButtonZIndex: '4444',
|
|
25
25
|
newItemButtonBoxShadow: '2px 2px 3px #ddd',
|
|
26
|
-
newItemButtonEditingBackgroundColor: colors.
|
|
26
|
+
newItemButtonEditingBackgroundColor: colors.crimson,
|
|
27
27
|
newItemButtonHolderZIndex: '2222',
|
|
28
28
|
newItemButtonTransition: "background-color ".concat(transitions.duration, " linear, transform ").concat(transitions.duration, " ease")
|
|
29
29
|
};
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
borders = _ref.borders;
|
|
10
10
|
return {
|
|
11
11
|
borderLineBorderWidth: borders.widthMedium,
|
|
12
|
-
borderLineBorderColor: colors.
|
|
12
|
+
borderLineBorderColor: colors.porcelain
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
var _default = generateComponentTheme;
|
|
@@ -12,16 +12,16 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
breakpoints = _ref.breakpoints;
|
|
13
13
|
return {
|
|
14
14
|
rootBorderWidth: borders.widthSmall,
|
|
15
|
-
rootBorderColor: colors.
|
|
15
|
+
rootBorderColor: colors.porcelain,
|
|
16
16
|
instructionsPaddingTopBottom: spacing.medium,
|
|
17
17
|
instructionsPaddingLeftRight: spacing.large,
|
|
18
18
|
instructionsBorderWidth: borders.widthSmall,
|
|
19
|
-
instructionsBorderColor: colors.
|
|
19
|
+
instructionsBorderColor: colors.porcelain,
|
|
20
20
|
instructionsHeaderPadding: spacing.xSmall,
|
|
21
21
|
instructionsHeaderFontWeight: typography.fontWeightBold,
|
|
22
22
|
infoPaddingTopBottom: spacing.small,
|
|
23
23
|
infoPaddingLeftRight: spacing.medium,
|
|
24
|
-
infoBackgroundColor: colors.
|
|
24
|
+
infoBackgroundColor: colors.porcelain,
|
|
25
25
|
headerPaddingTop: spacing.xSmall,
|
|
26
26
|
headerPaddingBottom: spacing.small,
|
|
27
27
|
titleFontSize: typography.fontSizeMedium,
|
|
@@ -32,7 +32,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
32
32
|
phoneInstructionsPaddingLeftRight: spacing.small,
|
|
33
33
|
phoneInfoPadding: spacing.small,
|
|
34
34
|
phoneConnectingLinesBorderWidth: borders.widthSmall,
|
|
35
|
-
phoneConnectingLinesBorderColor: colors.
|
|
35
|
+
phoneConnectingLinesBorderColor: colors.tiara,
|
|
36
36
|
phoneConnectingLinesMargin: spacing.small
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -12,9 +12,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
return {
|
|
13
13
|
sessionItemResultPadding: spacing.small,
|
|
14
14
|
topBorderWidth: borders.widthSmall,
|
|
15
|
-
topBorderColor: colors.
|
|
15
|
+
topBorderColor: colors.tiara,
|
|
16
16
|
resultMargin: spacing.small,
|
|
17
|
-
pointsColor: colors.
|
|
17
|
+
pointsColor: colors.ash,
|
|
18
18
|
pointFontSize: typography.fontSizeXSmall,
|
|
19
19
|
questionFontSize: typography.fontSizeMedium,
|
|
20
20
|
itemFeedbackWrapperMargin: spacing.small,
|
|
@@ -23,9 +23,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
23
23
|
itemFeedbackWrapperFontSize: typography.fontSizeSmall,
|
|
24
24
|
itemFeedbackWrapperBorderStyle: borders.borderStyle,
|
|
25
25
|
itemFeedbackWrapperBorderWidth: borders.widthSmall,
|
|
26
|
-
itemFeedbackWrapperBorderColor: colors.
|
|
26
|
+
itemFeedbackWrapperBorderColor: colors.tiara,
|
|
27
27
|
itemFeedbackWrapperStyle: borders.style,
|
|
28
|
-
itemFeedbackLabelColor: colors.
|
|
28
|
+
itemFeedbackLabelColor: colors.oxford,
|
|
29
29
|
itemFeedbackLabelFontSize: typography.fontSizeXSmall,
|
|
30
30
|
itemFeedbackMargin: spacing.xxSmall,
|
|
31
31
|
itemFeedbackTextSize: typography.fontSizeMedium,
|
|
@@ -14,7 +14,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
14
14
|
sessionItemResultsListHeaderWrapperMarginLeftRight: spacing.large,
|
|
15
15
|
sessionItemResultsListHeaderFontSize: typography.fontSizeXLarge,
|
|
16
16
|
sessionItemResultsListMargin: spacing.xSmall,
|
|
17
|
-
sessionItemResultsListBorderColor: colors.
|
|
17
|
+
sessionItemResultsListBorderColor: colors.tiara,
|
|
18
18
|
sessionItemResultsListBorderWidth: borders.widthSmall
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -12,7 +12,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
return {
|
|
13
13
|
leftPanelPadding: spacing.xxSmall,
|
|
14
14
|
leftPanelBorderWidth: borders.widthSmall,
|
|
15
|
-
leftPanelBorderColor: colors.
|
|
15
|
+
leftPanelBorderColor: colors.tiara,
|
|
16
16
|
rightPanelPadding: spacing.xSmall,
|
|
17
17
|
dragAndDropHandleZIndex: '3333',
|
|
18
18
|
dragAndDropHandleFontSize: typography.fontSizeMedium,
|
|
@@ -15,7 +15,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
15
15
|
optionPadding: spacing.small,
|
|
16
16
|
stimulusContentPadding: spacing.small,
|
|
17
17
|
stimulusContentPaddingBottom: spacing.small,
|
|
18
|
-
stimulusButtonsColor: colors.
|
|
18
|
+
stimulusButtonsColor: colors.oxford,
|
|
19
19
|
stimulusButtonsZIndex: '3333'
|
|
20
20
|
};
|
|
21
21
|
};
|