@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
|
@@ -3,7 +3,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
colors = _ref.colors,
|
|
4
4
|
breakpoints = _ref.breakpoints;
|
|
5
5
|
return {
|
|
6
|
-
contentBackgroundColor: colors.
|
|
6
|
+
contentBackgroundColor: colors.white,
|
|
7
7
|
contentPaddingTopBottom: spacing.medium,
|
|
8
8
|
contentPaddingLeftRight: spacing.medium,
|
|
9
9
|
breadCrumbMarginBottom: spacing.large,
|
|
@@ -212,8 +212,8 @@ export var BankEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
212
212
|
this.props.setShouldClone(false);
|
|
213
213
|
}
|
|
214
214
|
}, {
|
|
215
|
-
key: "
|
|
216
|
-
value: function
|
|
215
|
+
key: "UNSAFE_componentWillMount",
|
|
216
|
+
value: function UNSAFE_componentWillMount() {
|
|
217
217
|
this.props.setShouldClone(false);
|
|
218
218
|
}
|
|
219
219
|
}, {
|
|
@@ -4,17 +4,17 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
typography = _ref.typography,
|
|
5
5
|
borders = _ref.borders;
|
|
6
6
|
return {
|
|
7
|
-
contentBackgroundColor: colors.
|
|
7
|
+
contentBackgroundColor: colors.white,
|
|
8
8
|
contentPaddingTopBottom: 0,
|
|
9
9
|
contentPaddingLeftRight: 0,
|
|
10
10
|
breadCrumbMarginBottom: spacing.large,
|
|
11
11
|
entryRowMargin: spacing.small,
|
|
12
|
-
headerRowColor: colors.
|
|
12
|
+
headerRowColor: colors.ash,
|
|
13
13
|
headerRowPadding: spacing.small,
|
|
14
14
|
headerTextFontSize: typography.fontSizeSmall,
|
|
15
15
|
leftHeaderMargin: spacing.small,
|
|
16
|
-
headerBackgroundColor: colors.
|
|
17
|
-
headerColor: colors.
|
|
16
|
+
headerBackgroundColor: colors.porcelain,
|
|
17
|
+
headerColor: colors.licorice,
|
|
18
18
|
headerPaddingTopBottom: spacing.xSmall,
|
|
19
19
|
headerPaddingLeftRight: spacing.small,
|
|
20
20
|
footerPaddingBottom: spacing.xSmall,
|
|
@@ -22,7 +22,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
22
22
|
rightHeaderPaddingLeft: spacing.xSmall,
|
|
23
23
|
rightFooterPaddingLeftRight: spacing.small,
|
|
24
24
|
entryEditBorderWidth: borders.widthSmall,
|
|
25
|
-
entryEditBorderColor: colors.
|
|
25
|
+
entryEditBorderColor: colors.tiara
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
export default generateComponentTheme;
|
|
@@ -5,18 +5,18 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
typography = _ref.typography;
|
|
6
6
|
return {
|
|
7
7
|
entryDetailPadding: spacing.small,
|
|
8
|
-
headerRowColor: colors.
|
|
8
|
+
headerRowColor: colors.ash,
|
|
9
9
|
buttonsZIndex: '3333',
|
|
10
10
|
expandButtonContainerBorderWidth: borders.widthMedium,
|
|
11
|
-
expandButtonContainerBorderColor: colors.
|
|
11
|
+
expandButtonContainerBorderColor: colors.tiara,
|
|
12
12
|
addButtonMargin: spacing.small,
|
|
13
|
-
headerTextColor: colors.
|
|
13
|
+
headerTextColor: colors.ash,
|
|
14
14
|
headerTextFontSize: typography.fontSizeXSmall,
|
|
15
15
|
stemFontSize: typography.fontSizeMedium,
|
|
16
16
|
stemLineHeight: typography.lineHeight,
|
|
17
17
|
footerPadding: spacing.medium,
|
|
18
18
|
footerBorderWidth: borders.widthSmall,
|
|
19
|
-
footerBorderColor: colors.
|
|
19
|
+
footerBorderColor: colors.tiara,
|
|
20
20
|
footerFontSize: typography.fontSizeXSmall,
|
|
21
21
|
deletePrefaceMargin: spacing.xxSmall
|
|
22
22
|
};
|
|
@@ -3,13 +3,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
spacing = _ref.spacing,
|
|
4
4
|
borders = _ref.borders;
|
|
5
5
|
return {
|
|
6
|
-
contentBackgroundColor: colors.
|
|
6
|
+
contentBackgroundColor: colors.white,
|
|
7
7
|
contentPaddingTopBottom: spacing.medium,
|
|
8
8
|
contentPaddingLeftRight: spacing.xLarge,
|
|
9
9
|
breadCrumbMarginBottom: spacing.large,
|
|
10
10
|
headerPaddingBottom: spacing.large,
|
|
11
11
|
headerBorderWidth: borders.widthSmall,
|
|
12
|
-
headerBorderColor: colors.
|
|
12
|
+
headerBorderColor: colors.tiara
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export default generateComponentTheme;
|
|
@@ -446,7 +446,7 @@ export var BanksList = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
446
446
|
}, jsx(Table.Row, null, this.renderTableSortHeader('name', t('Name')), this.renderTableSortHeader('updated_at', t('Updated')), jsx(Table.ColHeader, {
|
|
447
447
|
id: "header-num-questions",
|
|
448
448
|
width: "1"
|
|
449
|
-
}, t('Questions')), this.renderTableSortHeader('last_used', t('Last Used')), this.renderTableSortHeader('created_at', t('Created')),
|
|
449
|
+
}, t('Questions')), this.renderTableSortHeader('last_used', t('Last Used')), this.renderTableSortHeader('created_at', t('Created')), jsx(Table.ColHeader, {
|
|
450
450
|
id: "header-option-links",
|
|
451
451
|
width: "1"
|
|
452
452
|
}, jsx(ScreenReaderContent, null, t('Bank option links'))))), jsx(Table.Body, null, (this.props.banks.toArray() || []).map(function (bank) {
|
|
@@ -5,13 +5,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
spacing = _ref.spacing;
|
|
6
6
|
return {
|
|
7
7
|
bankRowBorderWidth: borders.widthSmall,
|
|
8
|
-
bankRowBorderColor: colors.
|
|
8
|
+
bankRowBorderColor: colors.tiara,
|
|
9
9
|
bankInfoMargin: spacing.small,
|
|
10
10
|
bankTitleFontSize: typography.fontSizeSmall,
|
|
11
11
|
bankTitlePadding: spacing.xSmall,
|
|
12
|
-
bankTitleLinkColor: colors.
|
|
13
|
-
bankTitleLinkHoverColor: colors.
|
|
14
|
-
bankDetailsColor: colors.
|
|
12
|
+
bankTitleLinkColor: colors.licorice,
|
|
13
|
+
bankTitleLinkHoverColor: colors.licorice,
|
|
14
|
+
bankDetailsColor: colors.ash,
|
|
15
15
|
bankDetailsFontSize: typography.fontSizeXSmall,
|
|
16
16
|
bankOptionsMargin: spacing.small,
|
|
17
17
|
BankOptionIconMargin: spacing.xSmall,
|
|
@@ -8,9 +8,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
8
8
|
navPaddingTopBottom: spacing.small,
|
|
9
9
|
navPaddingLeftRight: spacing.xLarge,
|
|
10
10
|
navBorderWidth: borders.widthSmall,
|
|
11
|
-
navBorderColor: colors.
|
|
12
|
-
navBackgroundColor: colors.
|
|
13
|
-
bankIconColor: colors.
|
|
11
|
+
navBorderColor: colors.tiara,
|
|
12
|
+
navBackgroundColor: colors.white,
|
|
13
|
+
bankIconColor: colors.electric,
|
|
14
14
|
bankIconFontSize: typography.fontSizeLarge,
|
|
15
15
|
bankIconPadding: spacing.xSmall
|
|
16
16
|
};
|
|
@@ -329,8 +329,8 @@ export var SharingModalPresenter = (_dec = withStyleOverrides(generateStyle, gen
|
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
331
|
}, {
|
|
332
|
-
key: "
|
|
333
|
-
value: function
|
|
332
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
333
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
334
334
|
this.setState({
|
|
335
335
|
accountPermission: nextProps.bank.accountPermission,
|
|
336
336
|
shares: nextProps.sharedBanks
|
|
@@ -3,7 +3,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
borders = _ref.borders,
|
|
4
4
|
spacing = _ref.spacing;
|
|
5
5
|
return {
|
|
6
|
-
separatorColor: colors.
|
|
6
|
+
separatorColor: colors.tiara,
|
|
7
7
|
separatorBorderWidth: borders.widthSmall,
|
|
8
8
|
separatorMargin: spacing.medium
|
|
9
9
|
};
|
|
@@ -5,7 +5,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
return {
|
|
6
6
|
quizSavingColor: colors.lightGray,
|
|
7
7
|
quizSavingMargin: spacing.large,
|
|
8
|
-
buttonsHolderMargin: spacing.
|
|
8
|
+
buttonsHolderMargin: spacing.mediumSmall,
|
|
9
9
|
menuIconMargin: spacing.xSmall,
|
|
10
10
|
menuIconFontSize: typography.fontSizeLarge
|
|
11
11
|
};
|
|
@@ -2,8 +2,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
2
2
|
var spacing = _ref.spacing,
|
|
3
3
|
colors = _ref.colors;
|
|
4
4
|
return {
|
|
5
|
-
addToBankBackgroundColor: colors.
|
|
6
|
-
addToBankBorderColor: colors.
|
|
5
|
+
addToBankBackgroundColor: colors.porcelain,
|
|
6
|
+
addToBankBorderColor: colors.oxford
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
export default generateComponentTheme;
|
|
@@ -7,7 +7,7 @@ export default function generator(_ref) {
|
|
|
7
7
|
labelLeftPadding: spacing.large,
|
|
8
8
|
labelBottomPadding: spacing.xxSmall,
|
|
9
9
|
labelFontSize: typography.fontSizeSmall,
|
|
10
|
-
labelColor: colors.
|
|
10
|
+
labelColor: colors.slate,
|
|
11
11
|
editButtonWrapperRightMargin: spacing.large
|
|
12
12
|
};
|
|
13
13
|
}
|
|
@@ -10,7 +10,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
titleEditInputFontSize: typography.fontSizeXLarge,
|
|
11
11
|
errorBorderMargin: spacing.xxSmall,
|
|
12
12
|
errorBorderPadding: spacing.xxSmall,
|
|
13
|
-
errorBorderColor: colors.
|
|
13
|
+
errorBorderColor: colors.crimson,
|
|
14
14
|
errorBorderBorderRadius: borders.radiusSmall
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -8,10 +8,10 @@ export default function generator(_ref) {
|
|
|
8
8
|
labelLeftPadding: spacing.large,
|
|
9
9
|
labelBottomPadding: spacing.xxSmall,
|
|
10
10
|
labelFontSize: typography.fontSizeSmall,
|
|
11
|
-
labelColor: colors.
|
|
11
|
+
labelColor: colors.slate,
|
|
12
12
|
editButtonWrapperRightMargin: spacing.large,
|
|
13
|
-
titleShowWrapperBottomBorder: "".concat(borders.widthMedium, " ").concat(borders.style, " ").concat(colors.
|
|
13
|
+
titleShowWrapperBottomBorder: "".concat(borders.widthMedium, " ").concat(borders.style, " ").concat(colors.porcelain),
|
|
14
14
|
titleEditWrapperBorderWidth: borders.widthSmall,
|
|
15
|
-
titleEditWrapperBorderColor: colors.
|
|
15
|
+
titleEditWrapperBorderColor: colors.ash
|
|
16
16
|
};
|
|
17
17
|
}
|
|
@@ -6,7 +6,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
return {
|
|
7
7
|
footerPadding: spacing.small,
|
|
8
8
|
footerBorderWidth: borders.widthSmall,
|
|
9
|
-
footerBorderColor: colors.
|
|
9
|
+
footerBorderColor: colors.tiara,
|
|
10
10
|
footerFontSize: typography.fontSizeXSmall
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -5,9 +5,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
borders = _ref.borders;
|
|
6
6
|
return {
|
|
7
7
|
marginAddMargin: spacing.xSmall,
|
|
8
|
-
quizEntryBankEditBackgroundColor: colors.
|
|
8
|
+
quizEntryBankEditBackgroundColor: colors.white,
|
|
9
9
|
quizEntryBankEditBorderSize: borders.widthSmall,
|
|
10
|
-
quizEntryBankEditBorderColor: colors.
|
|
10
|
+
quizEntryBankEditBorderColor: colors.oxford,
|
|
11
11
|
quizEntryBankEditPadding: borders.small,
|
|
12
12
|
quizEntryBankEditMargin: spacing.medium,
|
|
13
13
|
numberInputFontSize: typography.fontSizeMedium,
|
|
@@ -16,7 +16,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
16
16
|
borderLineTopMargin: spacing.small,
|
|
17
17
|
borderLineBottomMargin: spacing.small,
|
|
18
18
|
borderLineBottomBorderSize: borders.widthSmall,
|
|
19
|
-
borderLineBottomBorderColor: colors.
|
|
19
|
+
borderLineBottomBorderColor: colors.ash
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export default generateComponentTheme;
|
|
@@ -4,8 +4,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
typography = _ref.typography,
|
|
5
5
|
borders = _ref.borders;
|
|
6
6
|
return {
|
|
7
|
-
quizEntryBankBackgroundColor: colors.
|
|
8
|
-
quizEntryBankBorder: "".concat(borders.widthSmall, " dashed ").concat(colors.
|
|
7
|
+
quizEntryBankBackgroundColor: colors.white,
|
|
8
|
+
quizEntryBankBorder: "".concat(borders.widthSmall, " dashed ").concat(colors.oxford),
|
|
9
9
|
quizEntryBankPadding: "".concat(spacing.xxSmall, " ").concat(spacing.medium),
|
|
10
10
|
quizEntryBankTopMargin: spacing.small,
|
|
11
11
|
alertWrapperMargin: spacing.small
|
|
@@ -87,8 +87,8 @@ export var QuizEntryEditFooter = (_dec = withStyleOverrides(generateStyle, gener
|
|
|
87
87
|
return _this;
|
|
88
88
|
}
|
|
89
89
|
_createClass(QuizEntryEditFooter, [{
|
|
90
|
-
key: "
|
|
91
|
-
value: function
|
|
90
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
91
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
92
92
|
var points = this.getPoints(nextProps);
|
|
93
93
|
this.setState({
|
|
94
94
|
points: points,
|
|
@@ -3,8 +3,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
colors = _ref.colors,
|
|
4
4
|
typography = _ref.typography;
|
|
5
5
|
return {
|
|
6
|
-
headerBackgroundColor: colors.
|
|
7
|
-
headerColor: colors.
|
|
6
|
+
headerBackgroundColor: colors.porcelain,
|
|
7
|
+
headerColor: colors.oxford,
|
|
8
8
|
headerPadding: "".concat(spacing.xSmall, " ").concat(spacing.small)
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -276,8 +276,8 @@ var QuizEntryEdit = (_dec = withStyleOverrides(generateStyle, generateComponentT
|
|
|
276
276
|
this.props.onEditQuizEntryToggle(this.props.quizEntry.id);
|
|
277
277
|
}
|
|
278
278
|
}, {
|
|
279
|
-
key: "
|
|
280
|
-
value: function
|
|
279
|
+
key: "UNSAFE_componentWillMount",
|
|
280
|
+
value: function UNSAFE_componentWillMount() {
|
|
281
281
|
this.props.setUi(SHOULD_CLONE_ITEM, false);
|
|
282
282
|
}
|
|
283
283
|
}, {
|
|
@@ -6,13 +6,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
breakpoints = _ref.breakpoints;
|
|
7
7
|
return {
|
|
8
8
|
quizEntryShowPadding: "".concat(spacing.large, " ").concat(spacing.small),
|
|
9
|
-
quizEntryShowBackgroundColor: colors.
|
|
9
|
+
quizEntryShowBackgroundColor: colors.white,
|
|
10
10
|
headerHeight: '2rem',
|
|
11
11
|
headerRightPadding: spacing.xSmall,
|
|
12
|
-
dndBorder: "".concat(borders.style, " ").concat(borders.widthSmall, " ").concat(colors.
|
|
12
|
+
dndBorder: "".concat(borders.style, " ").concat(borders.widthSmall, " ").concat(colors.brand),
|
|
13
13
|
rightHeaderZIndex: '3333',
|
|
14
|
-
rightHeaderColor: colors.
|
|
15
|
-
titleInteractionTypeNamePointsColor: colors.
|
|
14
|
+
rightHeaderColor: colors.oxford,
|
|
15
|
+
titleInteractionTypeNamePointsColor: colors.slate,
|
|
16
16
|
titleInteractionTypeNamePointsFontSize: typography.fontSizeSmall,
|
|
17
17
|
titleInteractionTypeNamePointsLeftMargin: spacing.xSmall,
|
|
18
18
|
titleInteractionTypeNamePointsRightMargin: spacing.xSmall,
|
|
@@ -20,7 +20,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
20
20
|
optionsButtonDragDropHandleFontSize: typography.fontSizeMedium,
|
|
21
21
|
optionsButtonDragDropHandleMargin: spacing.xSmall,
|
|
22
22
|
phoneConnectingLinesBorderWidth: borders.widthSmall,
|
|
23
|
-
phoneConnectingLinesBorderColor: colors.
|
|
23
|
+
phoneConnectingLinesBorderColor: colors.ash,
|
|
24
24
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium)
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -104,12 +104,13 @@ export var loadResumeData = function loadResumeData(resumeData) {
|
|
|
104
104
|
payload: resumeData
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
export var sessionStartOrResumeEvent = function sessionStartOrResumeEvent(userAgent) {
|
|
107
|
+
export var sessionStartOrResumeEvent = function sessionStartOrResumeEvent(userAgent, ipAddress) {
|
|
108
108
|
return {
|
|
109
109
|
type: SESSION_STARTED_OR_RESUMED_EVENT,
|
|
110
110
|
payload: {
|
|
111
111
|
userAgent: userAgent,
|
|
112
|
-
browserSessionId: uuid()
|
|
112
|
+
browserSessionId: uuid(),
|
|
113
|
+
ipAddress: ipAddress
|
|
113
114
|
}
|
|
114
115
|
};
|
|
115
116
|
};
|
|
@@ -3,15 +3,15 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
colors = _ref.colors,
|
|
4
4
|
typography = _ref.typography;
|
|
5
5
|
return {
|
|
6
|
-
uploadIconContainerColor: colors.
|
|
6
|
+
uploadIconContainerColor: colors.ash,
|
|
7
7
|
uploadIconContainerColorFontSize: typography.fontSizeXLarge,
|
|
8
8
|
checkIconContainerFontSize: typography.fontSizeXLarge,
|
|
9
|
-
checkIconContainerColor: colors.
|
|
9
|
+
checkIconContainerColor: colors.shamrock,
|
|
10
10
|
smallTextFontSize: typography.fontSizeXSmall,
|
|
11
|
-
smallTextColor: colors.
|
|
11
|
+
smallTextColor: colors.ash,
|
|
12
12
|
smallTextPadding: spacing.xSmall,
|
|
13
13
|
selectorMargin: spacing.xSmall,
|
|
14
|
-
fileListSuccessColor: colors.
|
|
14
|
+
fileListSuccessColor: colors.shamrock
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
export default generateComponentTheme;
|
|
@@ -85,8 +85,8 @@ export var PrintFontSizeModal = (_dec = withStyleOverrides(generateStyle, genera
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
}, {
|
|
88
|
-
key: "
|
|
89
|
-
value: function
|
|
88
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
89
|
+
value: function UNSAFE_componentWillReceiveProps(nextProps) {
|
|
90
90
|
this.setState({
|
|
91
91
|
selectedFontSize: nextProps.persistedPrintFontSize || this.state.selectedFontSize,
|
|
92
92
|
rememberTextSizeSetting: !!this.props.persistedPrintFontSize || this.state.rememberTextSizeSetting
|
|
@@ -3,7 +3,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
borders = _ref.borders,
|
|
4
4
|
spacing = _ref.spacing;
|
|
5
5
|
return {
|
|
6
|
-
separatorColor: colors.
|
|
6
|
+
separatorColor: colors.tiara,
|
|
7
7
|
separatorBorderWidth: borders.widthSmall,
|
|
8
8
|
separatorMargin: spacing.medium
|
|
9
9
|
};
|
|
@@ -65,8 +65,8 @@ export var SDKApp = (_dec = withStyleOverrides(generateStyle, null), _dec(_class
|
|
|
65
65
|
return set('appContainer', selectors);
|
|
66
66
|
}
|
|
67
67
|
}, {
|
|
68
|
-
key: "
|
|
69
|
-
value: function
|
|
68
|
+
key: "UNSAFE_componentWillMount",
|
|
69
|
+
value: function UNSAFE_componentWillMount() {
|
|
70
70
|
var _this$props$rceConfig;
|
|
71
71
|
this.store.dispatch([setAPIEndpoint(this.props.apiEndpoint), setCanvasOrigin((_this$props$rceConfig = this.props.rceConfig) === null || _this$props$rceConfig === void 0 ? void 0 : _this$props$rceConfig.canvasOrigin), this.setAppContainer(this.props.appContainer), setUserToken(this.props.userToken), setOutcomesEndpoint(this.props.outcomesEndpoint), setOutcomesToken(this.props.outcomesToken), setContextUuid(this.props.contextUuid), setExternalAccountUuid(this.props.externalAccountUuid)]);
|
|
72
72
|
if (this.props.itemBankSharingEnabled) {
|
|
@@ -84,8 +84,8 @@ export var SDKApp = (_dec = withStyleOverrides(generateStyle, null), _dec(_class
|
|
|
84
84
|
!this.props.disableAlertLiveRegion && renderAlerts(this.store);
|
|
85
85
|
}
|
|
86
86
|
}, {
|
|
87
|
-
key: "
|
|
88
|
-
value: function
|
|
87
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
88
|
+
value: function UNSAFE_componentWillReceiveProps(newProps) {
|
|
89
89
|
var _newProps$rceConfig, _this$props$rceConfig2;
|
|
90
90
|
if (newProps.apiEndpoint !== this.props.apiEndpoint) {
|
|
91
91
|
this.store.dispatch(setAPIEndpoint(newProps.apiEndpoint));
|
|
@@ -5,7 +5,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
return {
|
|
6
6
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
7
7
|
menuButtonFontSize: typography.fontSizeLarge,
|
|
8
|
-
menuButtonColor: colors.
|
|
8
|
+
menuButtonColor: colors.licorice,
|
|
9
9
|
menuButtonHoverOpacity: '0.6'
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -4,10 +4,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
colors = _ref.colors,
|
|
5
5
|
typography = _ref.typography;
|
|
6
6
|
return {
|
|
7
|
-
timerBackgroundColor: colors.
|
|
8
|
-
timerColor: colors.
|
|
7
|
+
timerBackgroundColor: colors.porcelain,
|
|
8
|
+
timerColor: colors.ash,
|
|
9
9
|
timerBorderWidth: borders.widthSmall,
|
|
10
|
-
timerBorderColor: colors.
|
|
10
|
+
timerBorderColor: colors.tiara,
|
|
11
11
|
timerBorderRadius: borders.radiusMedium,
|
|
12
12
|
timerFontSize: typography.fontSizeMedium,
|
|
13
13
|
timerPadding: spacing.xxSmall,
|
|
@@ -2,7 +2,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
2
2
|
var breakpoints = _ref.breakpoints,
|
|
3
3
|
colors = _ref.colors;
|
|
4
4
|
return {
|
|
5
|
-
backgroundColor: colors.
|
|
5
|
+
backgroundColor: colors.white,
|
|
6
6
|
phoneBreakPoint: breakpoints.medium
|
|
7
7
|
};
|
|
8
8
|
};
|
|
@@ -4,13 +4,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
borders = _ref.borders,
|
|
5
5
|
typography = _ref.typography;
|
|
6
6
|
return {
|
|
7
|
-
numberSummaryColor: colors.
|
|
7
|
+
numberSummaryColor: colors.licorice,
|
|
8
8
|
numberSummaryFontSize: typography.fontSizeMedium,
|
|
9
9
|
numberSummaryFontWeight: typography.fontWeightBold,
|
|
10
10
|
firstNumberSummaryPadding: spacing.xxSmall,
|
|
11
11
|
secondNumberSummaryPadding: spacing.xxSmall,
|
|
12
12
|
verticalDotsBorderWidth: borders.widthSmall,
|
|
13
|
-
verticalDotsBorderColor: colors.
|
|
13
|
+
verticalDotsBorderColor: colors.licorice
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export default generateComponentTheme;
|
|
@@ -9,30 +9,30 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
return {
|
|
10
10
|
sidebarWidthClosed: spacing.xxLarge,
|
|
11
11
|
sidebarWidthOpen: '22rem',
|
|
12
|
-
sidebarBackgroundColor: colors.
|
|
12
|
+
sidebarBackgroundColor: colors.white,
|
|
13
13
|
sidebarBorderWidth: borders.widthSmall,
|
|
14
|
-
sidebarBorderColor: colors.
|
|
15
|
-
sidebarColor: colors.
|
|
14
|
+
sidebarBorderColor: colors.tiara,
|
|
15
|
+
sidebarColor: colors.oxford,
|
|
16
16
|
sidebarZIndex: '5555',
|
|
17
17
|
sidebarTransitionDuration: transitions.duration,
|
|
18
18
|
infoHolderFontSize: typography.fontSizeXSmall,
|
|
19
19
|
infoHolderBorderWidth: borders.widthSmall,
|
|
20
|
-
infoHolderBorderColor: colors.
|
|
20
|
+
infoHolderBorderColor: colors.tiara,
|
|
21
21
|
infoHolderPadding: spacing.small,
|
|
22
|
-
actionableInfoHoverBorderColor: colors.
|
|
22
|
+
actionableInfoHoverBorderColor: colors.electric,
|
|
23
23
|
actionableInfoBorderWidth: borders.widthLarge,
|
|
24
24
|
questionNavigatorPadding: spacing.xxxSmall,
|
|
25
25
|
headerSpacingPadding: "".concat(spacing.small, " ").concat(spacing.xSmall),
|
|
26
|
-
pinnedSectionBackgroundColor: colors.
|
|
26
|
+
pinnedSectionBackgroundColor: colors.porcelain,
|
|
27
27
|
pinnedQuestionSpacing: spacing.small,
|
|
28
28
|
pinnedQuestionFontSize: typography.fontSizeSmall,
|
|
29
29
|
sidebarHeaderBorderWidth: borders.widthSmall,
|
|
30
|
-
sidebarHeaderBorderColor: colors.
|
|
30
|
+
sidebarHeaderBorderColor: colors.tiara,
|
|
31
31
|
descriptionFontSize: typography.fontSizeXSmall,
|
|
32
|
-
descriptionFontColor: colors.
|
|
32
|
+
descriptionFontColor: colors.slate,
|
|
33
33
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
34
|
-
focusBorderColor: colors.
|
|
35
|
-
focusOutlineColor: alpha(colors.
|
|
34
|
+
focusBorderColor: colors.brand,
|
|
35
|
+
focusOutlineColor: alpha(colors.brand, 50)
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
export default generateComponentTheme;
|
|
@@ -4,13 +4,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
typography = _ref.typography,
|
|
5
5
|
spacing = _ref.spacing;
|
|
6
6
|
return {
|
|
7
|
-
borderColor: colors.
|
|
8
|
-
bottomBorderColor: colors.
|
|
7
|
+
borderColor: colors.white,
|
|
8
|
+
bottomBorderColor: colors.tiara,
|
|
9
9
|
bottomBorderWidth: borders.widthSmall,
|
|
10
|
-
darkTextColor: colors.
|
|
11
|
-
hoverBorderColor: colors.
|
|
10
|
+
darkTextColor: colors.licorice,
|
|
11
|
+
hoverBorderColor: colors.electric,
|
|
12
12
|
hoverBorderWidth: borders.widthLarge,
|
|
13
|
-
infoHeaderColor: colors.
|
|
13
|
+
infoHeaderColor: colors.slate,
|
|
14
14
|
infoHeaderFontSize: typography.fontSizeXSmall,
|
|
15
15
|
itemBodyFontSize: typography.fontSizeSmall,
|
|
16
16
|
itemBodyMarginTop: spacing.xxSmall,
|
|
@@ -4,7 +4,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
borders = _ref.borders;
|
|
5
5
|
return {
|
|
6
6
|
columnPadding: spacing.xSmall,
|
|
7
|
-
sidebarIsOpenBottomBorderColor: colors.
|
|
7
|
+
sidebarIsOpenBottomBorderColor: colors.slate,
|
|
8
8
|
sidebarIsOpenBottomBorderWidth: borders.widthSmall
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -3,10 +3,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
spacing = _ref.spacing,
|
|
4
4
|
borders = _ref.borders;
|
|
5
5
|
return {
|
|
6
|
-
itemContainerColor: colors.
|
|
6
|
+
itemContainerColor: colors.licorice,
|
|
7
7
|
itemContainerPadding: spacing.xSmall,
|
|
8
8
|
itemContainerBorderWidth: borders.widthSmall,
|
|
9
|
-
itemContainerBorderColor: colors.
|
|
9
|
+
itemContainerBorderColor: colors.licorice,
|
|
10
10
|
summaryMargin: spacing.small,
|
|
11
11
|
summaryMarginLeft: spacing.medium
|
|
12
12
|
};
|
|
@@ -4,17 +4,17 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
borders = _ref.borders,
|
|
5
5
|
typography = _ref.typography;
|
|
6
6
|
return {
|
|
7
|
-
borderColor: colors.
|
|
8
|
-
hoverBorderColor: colors.
|
|
7
|
+
borderColor: colors.white,
|
|
8
|
+
hoverBorderColor: colors.electric,
|
|
9
9
|
hoverBorderWidth: borders.widthLarge,
|
|
10
10
|
sidebarClosedButtonPadding: "".concat(spacing.xxSmall, " 0"),
|
|
11
11
|
sidebarHeaderPadding: spacing.small,
|
|
12
12
|
sidebarItemBorderWidth: borders.widthSmall,
|
|
13
|
-
sidebarItemBorderColor: colors.
|
|
13
|
+
sidebarItemBorderColor: colors.tiara,
|
|
14
14
|
sidebarIsOpenInfoHeaderFontSize: typography.fontSizeXSmall,
|
|
15
15
|
sidebarIsOpenInfoHeaderPadding: spacing.xSmall,
|
|
16
16
|
sidebarIsOpenInfoHeaderMargin: spacing.xSmall,
|
|
17
|
-
sidebarIsOpenInfoHeaderColor: colors.
|
|
17
|
+
sidebarIsOpenInfoHeaderColor: colors.ash
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export default generateComponentTheme;
|
|
@@ -6,7 +6,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
alertPadding: spacing.medium,
|
|
7
7
|
alertZIndex: '8888',
|
|
8
8
|
containerPadding: spacing.medium,
|
|
9
|
-
disabledChildrenBackgroundColor: colors.
|
|
9
|
+
disabledChildrenBackgroundColor: colors.porcelain,
|
|
10
10
|
disabledChildrenOpacity: '0.6',
|
|
11
11
|
disabledChildrenZIndex: '7777'
|
|
12
12
|
};
|
|
@@ -85,8 +85,8 @@ export var EntrySave = /*#__PURE__*/function (_Component) {
|
|
|
85
85
|
return _this;
|
|
86
86
|
}
|
|
87
87
|
_createClass(EntrySave, [{
|
|
88
|
-
key: "
|
|
89
|
-
value: function
|
|
88
|
+
key: "UNSAFE_componentWillMount",
|
|
89
|
+
value: function UNSAFE_componentWillMount() {
|
|
90
90
|
this.props.switchOnEditing(this.props.initialFocusId);
|
|
91
91
|
}
|
|
92
92
|
}, {
|
|
@@ -5,10 +5,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
return {
|
|
6
6
|
positionMargin: spacing.xSmall,
|
|
7
7
|
positionPadding: spacing.xSmall,
|
|
8
|
-
positionBackgroundColor: colors.
|
|
8
|
+
positionBackgroundColor: colors.licorice,
|
|
9
9
|
positionZIndex: '3333',
|
|
10
10
|
positionDimension: '2em',
|
|
11
|
-
positionTextColor: colors.
|
|
11
|
+
positionTextColor: colors.porcelain,
|
|
12
12
|
positionTextFontSize: typography.fontSizeMedium
|
|
13
13
|
};
|
|
14
14
|
};
|