@instructure/quiz-core 21.0.0 → 21.0.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/banks/components/Bank/theme.js +1 -1
- package/es/banks/components/BankEntry/theme.js +5 -5
- package/es/banks/components/BankEntryRow/styles.js +0 -1
- package/es/banks/components/BankEntryRow/theme.js +4 -4
- package/es/banks/components/Banks/theme.js +2 -2
- package/es/banks/components/BanksList/theme.js +4 -4
- package/es/banks/components/NavWrapper/theme.js +3 -3
- package/es/banks/components/SharingModal/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/Header/theme.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
- package/es/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
- package/es/common/components/PrintFontSizeModal/theme.js +1 -1
- 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/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/theme.js +1 -1
- package/es/common/components/shared/Card/CardContent/theme.js +2 -2
- package/es/common/components/shared/InteractionTypes/theme.js +1 -1
- package/es/common/components/shared/PaginatedCollection/theme.js +1 -1
- 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/overlay/theme.js +1 -1
- package/es/moderating/components/events/theme.js +1 -1
- package/es/moderating/components/resources/ModerateTable/theme.js +1 -1
- 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/theme.js +1 -1
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
- package/lib/banks/components/Bank/theme.js +1 -1
- package/lib/banks/components/BankEntry/theme.js +5 -5
- package/lib/banks/components/BankEntryRow/styles.js +0 -1
- package/lib/banks/components/BankEntryRow/theme.js +4 -4
- package/lib/banks/components/Banks/theme.js +2 -2
- package/lib/banks/components/BanksList/theme.js +4 -4
- package/lib/banks/components/NavWrapper/theme.js +3 -3
- package/lib/banks/components/SharingModal/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/Header/theme.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
- package/lib/common/components/PrintFontSizeModal/theme.js +1 -1
- 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/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/theme.js +1 -1
- package/lib/common/components/shared/Card/CardContent/theme.js +2 -2
- package/lib/common/components/shared/InteractionTypes/theme.js +1 -1
- package/lib/common/components/shared/PaginatedCollection/theme.js +1 -1
- 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/overlay/theme.js +1 -1
- package/lib/moderating/components/events/theme.js +1 -1
- package/lib/moderating/components/resources/ModerateTable/theme.js +1 -1
- 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/theme.js +1 -1
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
- package/package.json +80 -79
|
@@ -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.contrasts.grey1111,
|
|
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.contrasts.grey125125,
|
|
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.contrasts.grey125125
|
|
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.contrasts.white1010,
|
|
19
19
|
sidebarBorderWidth: borders.widthSmall,
|
|
20
|
-
sidebarBorderColor: colors.
|
|
21
|
-
sidebarColor: colors.
|
|
20
|
+
sidebarBorderColor: colors.contrasts.grey1214,
|
|
21
|
+
sidebarColor: colors.contrasts.grey100100,
|
|
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.contrasts.grey1214,
|
|
27
27
|
infoHolderPadding: spacing.small,
|
|
28
|
-
actionableInfoHoverBorderColor: colors.
|
|
28
|
+
actionableInfoHoverBorderColor: colors.contrasts.blue4570,
|
|
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.contrasts.grey1111,
|
|
33
33
|
pinnedQuestionSpacing: spacing.small,
|
|
34
34
|
pinnedQuestionFontSize: typography.fontSizeSmall,
|
|
35
35
|
sidebarHeaderBorderWidth: borders.widthSmall,
|
|
36
|
-
sidebarHeaderBorderColor: colors.
|
|
36
|
+
sidebarHeaderBorderColor: colors.contrasts.grey1214,
|
|
37
37
|
descriptionFontSize: typography.fontSizeXSmall,
|
|
38
|
-
descriptionFontColor: colors.
|
|
38
|
+
descriptionFontColor: colors.contrasts.grey4570,
|
|
39
39
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
40
|
-
focusBorderColor: colors.
|
|
41
|
-
focusOutlineColor: (0, _uiColorUtils.alpha)(colors.
|
|
40
|
+
focusBorderColor: colors.contrasts.blue4570,
|
|
41
|
+
focusOutlineColor: (0, _uiColorUtils.alpha)(colors.contrasts.blue4570, 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.contrasts.white1010,
|
|
14
|
+
bottomBorderColor: colors.contrasts.grey1214,
|
|
15
15
|
bottomBorderWidth: borders.widthSmall,
|
|
16
|
-
darkTextColor: colors.
|
|
17
|
-
hoverBorderColor: colors.
|
|
16
|
+
darkTextColor: colors.contrasts.grey125125,
|
|
17
|
+
hoverBorderColor: colors.contrasts.blue4570,
|
|
18
18
|
hoverBorderWidth: borders.widthLarge,
|
|
19
|
-
infoHeaderColor: colors.
|
|
19
|
+
infoHeaderColor: colors.contrasts.grey4570,
|
|
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.contrasts.grey4570,
|
|
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.contrasts.grey125125,
|
|
13
13
|
itemContainerPadding: spacing.xSmall,
|
|
14
14
|
itemContainerBorderWidth: borders.widthSmall,
|
|
15
|
-
itemContainerBorderColor: colors.
|
|
15
|
+
itemContainerBorderColor: colors.contrasts.grey125125,
|
|
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.contrasts.white1010,
|
|
14
|
+
hoverBorderColor: colors.contrasts.blue4570,
|
|
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.contrasts.grey1214,
|
|
20
20
|
sidebarIsOpenInfoHeaderFontSize: typography.fontSizeXSmall,
|
|
21
21
|
sidebarIsOpenInfoHeaderPadding: spacing.xSmall,
|
|
22
22
|
sidebarIsOpenInfoHeaderMargin: spacing.xSmall,
|
|
23
|
-
sidebarIsOpenInfoHeaderColor: colors.
|
|
23
|
+
sidebarIsOpenInfoHeaderColor: colors.contrasts.grey4570
|
|
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.contrasts.grey1111,
|
|
16
16
|
disabledChildrenOpacity: '0.6',
|
|
17
17
|
disabledChildrenZIndex: '7777'
|
|
18
18
|
};
|
|
@@ -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.contrasts.grey125125,
|
|
15
15
|
positionZIndex: '3333',
|
|
16
16
|
positionDimension: '2em',
|
|
17
|
-
positionTextColor: colors.
|
|
17
|
+
positionTextColor: colors.contrasts.grey1111,
|
|
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.contrasts.grey1214
|
|
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.contrasts.blue4570,
|
|
18
18
|
newItemButtonBorderRadius: spacing.large,
|
|
19
|
-
newItemButtonColor: colors.
|
|
20
|
-
newItemButtonFocusOutline: "2px solid ".concat(colors.
|
|
19
|
+
newItemButtonColor: colors.contrasts.white1010,
|
|
20
|
+
newItemButtonFocusOutline: "2px solid ".concat(colors.contrasts.blue4570),
|
|
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.contrasts.red4570,
|
|
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.contrasts.grey1111
|
|
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.contrasts.grey1111,
|
|
16
16
|
instructionsPaddingTopBottom: spacing.medium,
|
|
17
17
|
instructionsPaddingLeftRight: spacing.large,
|
|
18
18
|
instructionsBorderWidth: borders.widthSmall,
|
|
19
|
-
instructionsBorderColor: colors.
|
|
19
|
+
instructionsBorderColor: colors.contrasts.grey1111,
|
|
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.contrasts.grey1111,
|
|
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.contrasts.grey1214,
|
|
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.contrasts.grey1214,
|
|
16
16
|
resultMargin: spacing.small,
|
|
17
|
-
pointsColor: colors.
|
|
17
|
+
pointsColor: colors.contrasts.grey4570,
|
|
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.contrasts.grey1214,
|
|
27
27
|
itemFeedbackWrapperStyle: borders.style,
|
|
28
|
-
itemFeedbackLabelColor: colors.
|
|
28
|
+
itemFeedbackLabelColor: colors.contrasts.grey100100,
|
|
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.contrasts.grey1214,
|
|
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.contrasts.grey1214,
|
|
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.contrasts.grey100100,
|
|
19
19
|
stimulusButtonsZIndex: '3333'
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -10,7 +10,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
colors = _ref.colors;
|
|
11
11
|
return {
|
|
12
12
|
sectionPadding: spacing.small,
|
|
13
|
-
optionalLabelColor: colors.
|
|
13
|
+
optionalLabelColor: colors.contrasts.grey4570,
|
|
14
14
|
optionalLabelFontSize: typography.fontSizeXSmall,
|
|
15
15
|
urlLabelMargin: spacing.xSmall
|
|
16
16
|
};
|
|
@@ -12,13 +12,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
transitions = _ref.transitions;
|
|
13
13
|
return {
|
|
14
14
|
contentTransitionDuration: transitions.duration,
|
|
15
|
-
contentBackgroundColor: colors.
|
|
15
|
+
contentBackgroundColor: colors.contrasts.white1010,
|
|
16
16
|
contentMaxWidth: '79.5rem',
|
|
17
17
|
contentMargin: spacing.medium,
|
|
18
18
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
19
19
|
phoneContentMargin: spacing.xSmall,
|
|
20
20
|
contentBoxShadow: shadows.depth1,
|
|
21
|
-
contentBorderColor: colors.
|
|
21
|
+
contentBorderColor: colors.contrasts.grey1214,
|
|
22
22
|
contentBorderRadius: '4px'
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -10,7 +10,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
spacing = _ref.spacing;
|
|
11
11
|
return {
|
|
12
12
|
stimulusDividerBorderWidth: borders.widthSmall,
|
|
13
|
-
stimulusDividerBorderColor: colors.
|
|
13
|
+
stimulusDividerBorderColor: colors.contrasts.grey4570,
|
|
14
14
|
stimulusDividerMarginTop: spacing.xSmall,
|
|
15
15
|
stimulusDividerMarginBottom: spacing.small
|
|
16
16
|
};
|
|
@@ -11,7 +11,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
return {
|
|
12
12
|
emptyPadding: spacing.small,
|
|
13
13
|
emptyFontSize: typography.fontSizeLarge,
|
|
14
|
-
emptyColor: colors.
|
|
14
|
+
emptyColor: colors.contrasts.grey4570
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
var _default = generateComponentTheme;
|
|
@@ -10,16 +10,16 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
borders = _ref.borders;
|
|
11
11
|
return {
|
|
12
12
|
DnDZoneBorderWidth: borders.widthSmall,
|
|
13
|
-
DnDZoneBorderColor: colors.
|
|
14
|
-
DnDZoneBackgroundColor: colors.
|
|
13
|
+
DnDZoneBorderColor: colors.contrasts.grey1214,
|
|
14
|
+
DnDZoneBackgroundColor: colors.contrasts.grey1111,
|
|
15
15
|
DnDZonePadding: spacing.medium,
|
|
16
16
|
// sidebar:
|
|
17
17
|
sidebarDnDZoneBorderWidth: borders.widthSmall,
|
|
18
|
-
sidebarDnDZoneBorderColor: colors.
|
|
19
|
-
sidebarDnDZoneBackgroundColor: colors.
|
|
18
|
+
sidebarDnDZoneBorderColor: colors.contrasts.grey100100,
|
|
19
|
+
sidebarDnDZoneBackgroundColor: colors.contrasts.grey1111,
|
|
20
20
|
sidebarDnDZonePadding: spacing.small,
|
|
21
21
|
sidebarDnDZoneMargin: spacing.xSmall,
|
|
22
|
-
sidebarDnDZoneColor: colors.
|
|
22
|
+
sidebarDnDZoneColor: colors.contrasts.grey125125
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
var _default = generateComponentTheme;
|
|
@@ -10,7 +10,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
return {
|
|
11
11
|
errorFontFamily: typography.fontFamily,
|
|
12
12
|
errorFontSize: typography.fontSizeSmall,
|
|
13
|
-
errorColor: colors.
|
|
13
|
+
errorColor: colors.contrasts.red4570
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
var _default = generateComponentTheme;
|
|
@@ -9,9 +9,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
spacing = _ref.spacing,
|
|
10
10
|
borders = _ref.borders;
|
|
11
11
|
return {
|
|
12
|
-
dropzoneBackgroundColor: colors.
|
|
12
|
+
dropzoneBackgroundColor: colors.contrasts.grey1111,
|
|
13
13
|
dropzoneBorderWidth: borders.widthSmall,
|
|
14
|
-
dropzoneBorderColor: colors.
|
|
14
|
+
dropzoneBorderColor: colors.contrasts.grey4570,
|
|
15
15
|
dropzonePadding: spacing.medium
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -12,7 +12,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
embeddedImageMargin: spacing.xSmall,
|
|
13
13
|
embeddedImagePadding: spacing.small,
|
|
14
14
|
mediaToggleMargin: spacing.xSmall,
|
|
15
|
-
mediaToggleColor: colors.
|
|
15
|
+
mediaToggleColor: colors.contrasts.grey1214
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
var _default = generateComponentTheme;
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors;
|
|
10
10
|
return {
|
|
11
11
|
emptyTextMargin: spacing.small,
|
|
12
|
-
pageBackgroundColor: colors.
|
|
12
|
+
pageBackgroundColor: colors.contrasts.white1010
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
var _default = generateComponentTheme;
|
|
@@ -8,8 +8,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
8
8
|
var colors = _ref.colors,
|
|
9
9
|
typography = _ref.typography;
|
|
10
10
|
return {
|
|
11
|
-
barFillColor: colors.
|
|
12
|
-
barStarFillColor: colors.
|
|
11
|
+
barFillColor: colors.contrasts.blue4570,
|
|
12
|
+
barStarFillColor: colors.contrasts.orange4570,
|
|
13
13
|
barLabelColor: colors.textDarkest,
|
|
14
14
|
barLabelFontFamily: typography.fontFamily,
|
|
15
15
|
barLabelFontSize: typography.fontSizeSmall,
|
|
@@ -11,11 +11,11 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
typography = _ref.typography;
|
|
12
12
|
return {
|
|
13
13
|
containerBorderWidth: borders.widthSmall,
|
|
14
|
-
containerBorderColor: colors.
|
|
14
|
+
containerBorderColor: colors.contrasts.grey1214,
|
|
15
15
|
seriesContainerMargin: spacing.small,
|
|
16
16
|
seriesContainerRowMargin: spacing.medium,
|
|
17
17
|
seriesSwatchMargin: spacing.small,
|
|
18
|
-
seriesSwatchBackgroundColor: colors.
|
|
18
|
+
seriesSwatchBackgroundColor: colors.contrasts.blue4570,
|
|
19
19
|
seriesLabelFontFamily: typography.fontFamily,
|
|
20
20
|
seriesLabelFontSize: typography.fontSizeXSmall,
|
|
21
21
|
seriesLabelColor: colors.textDarkest
|
|
@@ -12,20 +12,20 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
borders = _ref.borders,
|
|
13
13
|
transitions = _ref.transitions;
|
|
14
14
|
return {
|
|
15
|
-
contentCellBorderColor: colors.
|
|
15
|
+
contentCellBorderColor: colors.contrasts.grey1214,
|
|
16
16
|
answerRowCellPadding: spacing.xSmall,
|
|
17
|
-
answerRowCorrectBackgroundColor: colors.
|
|
18
|
-
answerRowAnswerIconColor: colors.
|
|
17
|
+
answerRowCorrectBackgroundColor: colors.contrasts.white1010,
|
|
18
|
+
answerRowAnswerIconColor: colors.contrasts.green4570,
|
|
19
19
|
answerRowCorrectTextFieldFontWeight: typography.fontWeightBold,
|
|
20
|
-
answerRowCorrectBarBackgroundColor: colors.
|
|
20
|
+
answerRowCorrectBarBackgroundColor: colors.contrasts.green4570,
|
|
21
21
|
answerIconFontSize: typography.fontSizeXSmall,
|
|
22
|
-
answerIconColor: colors.
|
|
22
|
+
answerIconColor: colors.contrasts.grey4570,
|
|
23
23
|
answerTextfieldFontWeight: typography.fontWeightNormal,
|
|
24
|
-
respondentLinkColor: colors.
|
|
25
|
-
respondentLinkPresentColor: colors.
|
|
24
|
+
respondentLinkColor: colors.contrasts.grey4570,
|
|
25
|
+
respondentLinkPresentColor: colors.contrasts.blue4570,
|
|
26
26
|
answerRatioPaddingLeft: spacing.small,
|
|
27
27
|
barMinWidth: borders.widthSmall,
|
|
28
|
-
barBackgroundColor: colors.
|
|
28
|
+
barBackgroundColor: colors.contrasts.grey125125,
|
|
29
29
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
30
30
|
barTransition: "width ".concat(transitions.duration)
|
|
31
31
|
};
|
|
@@ -12,20 +12,20 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
return {
|
|
13
13
|
itemAnalysisRowPadding: spacing.small,
|
|
14
14
|
itemAnalysisRowMargin: spacing.small,
|
|
15
|
-
headerTextColor: colors.
|
|
15
|
+
headerTextColor: colors.contrasts.grey4570,
|
|
16
16
|
headerTextFontSize: typography.fontSizeXSmall,
|
|
17
17
|
metricNoteFontSize: typography.fontSizeMedium,
|
|
18
|
-
metricNoteColor: colors.
|
|
18
|
+
metricNoteColor: colors.contrasts.grey4570,
|
|
19
19
|
metricsRowLowerPadding: spacing.large,
|
|
20
20
|
stemFontSize: typography.fontSizeXSmall,
|
|
21
21
|
stemLineHeight: typography.lineHeight,
|
|
22
22
|
stemMargin: spacing.small,
|
|
23
23
|
emptyTextPadding: spacing.small,
|
|
24
|
-
emptyTextColor: colors.
|
|
24
|
+
emptyTextColor: colors.contrasts.grey4570,
|
|
25
25
|
answerDistributionPadding: spacing.small,
|
|
26
26
|
answerDistributionChartPadding: spacing.small,
|
|
27
27
|
answerDistributionLegendPadding: spacing.small,
|
|
28
|
-
answerDistributionSwatchColor: colors.
|
|
28
|
+
answerDistributionSwatchColor: colors.contrasts.blue4570,
|
|
29
29
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium)
|
|
30
30
|
};
|
|
31
31
|
};
|
|
@@ -7,11 +7,11 @@ exports.default = void 0;
|
|
|
7
7
|
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
8
8
|
var colors = _ref.colors;
|
|
9
9
|
return {
|
|
10
|
-
colorGreen: colors.
|
|
11
|
-
colorBlue: colors.
|
|
12
|
-
colorRed: colors.
|
|
13
|
-
colorGrey: colors.
|
|
14
|
-
colorHeaderBottomBorder: colors.
|
|
10
|
+
colorGreen: colors.contrasts.green4570,
|
|
11
|
+
colorBlue: colors.contrasts.blue4570,
|
|
12
|
+
colorRed: colors.contrasts.red4570,
|
|
13
|
+
colorGrey: colors.contrasts.grey4570,
|
|
14
|
+
colorHeaderBottomBorder: colors.contrasts.grey1214,
|
|
15
15
|
cellPadding: '13.5px 13.5px;'
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -9,8 +9,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors;
|
|
10
10
|
return {
|
|
11
11
|
tableBottomPadding: spacing.medium,
|
|
12
|
-
colorGreen: colors.
|
|
13
|
-
colorGray: colors.
|
|
12
|
+
colorGreen: colors.contrasts.green4570,
|
|
13
|
+
colorGray: colors.contrasts.grey1214,
|
|
14
14
|
cellPadding: '0.75rem 0.75rem'
|
|
15
15
|
};
|
|
16
16
|
};
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
8
8
|
var colors = _ref.colors;
|
|
9
9
|
return {
|
|
10
|
-
blankBorderColor: colors.
|
|
10
|
+
blankBorderColor: colors.contrasts.grey1214,
|
|
11
11
|
blankBorderRadius: '14px',
|
|
12
12
|
blankMinWidth: '20px',
|
|
13
13
|
blankHeight: '20px'
|
|
@@ -15,7 +15,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
15
15
|
viewPaddingRight: spacing.xxSmall,
|
|
16
16
|
metricNumberContextFontSize: typography.fontSizeMedium,
|
|
17
17
|
metricNumberContextFontWeight: typography.fontWeightNormal,
|
|
18
|
-
blankBorderColor: colors.
|
|
18
|
+
blankBorderColor: colors.contrasts.grey1214,
|
|
19
19
|
blankBorderRadius: '14px',
|
|
20
20
|
blankMinWidth: '20px',
|
|
21
21
|
blankHeight: '20px'
|
|
@@ -13,7 +13,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
13
13
|
cardWidth: '19.5rem',
|
|
14
14
|
cardPadding: spacing.medium,
|
|
15
15
|
cardMargin: spacing.xSmall,
|
|
16
|
-
quizSummaryBorderBottomColor: colors.
|
|
16
|
+
quizSummaryBorderBottomColor: colors.contrasts.grey1214
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
var _default = generateComponentTheme;
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js
CHANGED
|
@@ -9,9 +9,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
spacing = _ref.spacing,
|
|
10
10
|
typography = _ref.typography;
|
|
11
11
|
return {
|
|
12
|
-
legendRectFillColor: colors.
|
|
12
|
+
legendRectFillColor: colors.contrasts.blue4570,
|
|
13
13
|
legendPadding: spacing.small,
|
|
14
|
-
legendBorderColor: colors.
|
|
14
|
+
legendBorderColor: colors.contrasts.grey4570,
|
|
15
15
|
legendFontSize: typography.fontSizeXSmall,
|
|
16
16
|
legendMargin: spacing.medium
|
|
17
17
|
};
|
|
@@ -14,7 +14,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
14
14
|
titleMarginBottom: spacing.xSmall,
|
|
15
15
|
emptyTextPadding: spacing.small,
|
|
16
16
|
emptyTextFontSize: typography.fontSizeLarge,
|
|
17
|
-
emptyTextColor: colors.
|
|
17
|
+
emptyTextColor: colors.contrasts.grey4570
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
var _default = generateComponentTheme;
|
|
@@ -15,7 +15,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
15
15
|
cardWidth: '19.5rem',
|
|
16
16
|
cardPadding: spacing.medium,
|
|
17
17
|
cardMargin: spacing.xSmall,
|
|
18
|
-
quizSummaryBorderBottomColor: colors.
|
|
18
|
+
quizSummaryBorderBottomColor: colors.contrasts.grey1214
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
exports.generateComponentTheme = generateComponentTheme;
|