@instructure/quiz-core 20.34.1-snapshot.9 → 20.34.1-test.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/banks/components/Bank/presenter.js +4 -4
- package/es/banks/components/BankEntriesList/presenter.js +3 -4
- package/es/banks/components/BankEntry/presenter.js +4 -4
- package/es/banks/components/BankEntryRow/presenter.js +4 -4
- package/es/banks/components/BankSearch/presenter.js +3 -4
- package/es/banks/components/Banks/presenter.js +4 -4
- package/es/banks/components/BanksList/presenter.js +4 -4
- package/es/banks/components/CreateBankModal/presenter.js +4 -4
- package/es/banks/components/EditBankModal/presenter.js +4 -4
- package/es/banks/components/HeaderMenu/presenter.js +4 -4
- package/es/banks/components/NavWrapper/presenter.js +3 -4
- package/es/banks/components/SharingModal/RootAccountSharing.js +4 -3
- package/es/banks/components/SharingModal/ShareList/index.js +4 -4
- package/es/banks/components/SharingModal/presenter.js +4 -4
- package/es/building/components/layout/Sidebar/SidebarItem/presenter.js +3 -4
- package/es/building/components/layout/Sidebar/Stimulus/presenter.js +3 -4
- package/es/building/components/layout/Sidebar/presenter.js +4 -4
- package/es/building/components/layout/header/BuildingButtons/presenter.js +4 -4
- package/es/building/components/resources/ActionButtons/presenter.js +4 -4
- package/es/building/components/resources/AddToBankOptions/index.js +4 -4
- package/es/building/components/resources/DeleteStimulusModal/presenter.js +4 -4
- package/es/building/components/resources/ItemFeedbackModal/presenter.js +4 -4
- package/es/building/components/resources/quiz/instructions/Edit/presenter.js +4 -4
- package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +3 -4
- package/es/building/components/resources/quiz/instructions/Show/index.js +3 -4
- package/es/building/components/resources/quiz/title/Edit/index.js +3 -4
- package/es/building/components/resources/quiz/title/Show/index.js +4 -9
- package/es/building/components/resources/quiz/title/Title/presenter.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +4 -4
- package/es/common/components/ImportModal/ImportFileSelector/index.js +3 -4
- package/es/common/components/ImportModal/presenter.js +4 -4
- package/es/common/components/PrintFontSizeModal/presenter.js +4 -4
- package/es/common/components/SDKApp/index.js +4 -4
- package/es/common/components/alerts/presenter.js +3 -4
- package/es/common/components/layout/Page/index.js +3 -4
- package/es/common/components/layout/header/HeaderMenuButton/presenter.js +3 -4
- package/es/common/components/layout/header/Timer/presenter.js +3 -4
- package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +3 -4
- package/es/common/components/layout/navbar/index.js +3 -4
- package/es/common/components/layout/sidebar/PositionSummary/index.js +3 -4
- package/es/common/components/layout/sidebar/Sidebar/index.js +4 -4
- package/es/common/components/layout/sidebar/SidebarItem/presenter.js +4 -4
- package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/Title/index.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/presenter.js +4 -4
- package/es/common/components/resources/WarningWrapper/index.js +3 -4
- package/es/common/components/resources/positionBox/PositionBox.js +3 -4
- package/es/common/components/resources/quiz/AddContent/Body/presenter.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Button/index.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +4 -4
- package/es/common/components/resources/quiz/instructions/Instructions.js +3 -4
- package/es/common/components/resources/quiz/title/Title.js +3 -4
- package/es/common/components/resources/quizSessionResult/Header/index.js +3 -4
- package/es/common/components/resources/quizSessionResult/Info/index.js +4 -4
- package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +3 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +3 -4
- package/es/common/components/resources/stimulus/Stimulus/presenter.js +4 -4
- package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +4 -4
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +4 -4
- package/es/common/components/resources/stimulus/StimulusShow/index.js +3 -4
- package/es/common/components/shared/Card/CardContent/index.js +3 -4
- package/es/common/components/shared/Card/CardWrapper/index.js +3 -4
- package/es/common/components/shared/ExpandButton/index.js +3 -4
- package/es/common/components/shared/InteractionTypes/presenter.js +3 -4
- package/es/common/components/shared/PaginatedCollection/presenter.js +3 -4
- package/es/common/components/shared/Paginator/index.js +3 -4
- package/es/common/components/shared/TagDisplay/index.js +3 -4
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +3 -4
- package/es/common/components/shared/errors/Errors.js +3 -4
- package/es/common/components/shared/file_selector/FileSelector.js +3 -4
- package/es/common/components/shared/overlay/index.js +4 -4
- package/es/common/components/shared/spinner/Spinner.js +3 -4
- package/es/index.js +1 -4
- package/es/moderating/components/events/Event.js +0 -3
- package/es/moderating/components/events/ResponseEvent.js +3 -4
- package/es/moderating/components/resources/ModerateTable/presenter.js +4 -4
- package/es/moderating/components/resources/ModerateTableRow/presenter.js +4 -4
- package/es/reporting/api/fetchStudentAnalyses.js +4 -9
- package/es/reporting/api/getAnalysesExport.js +4 -11
- package/es/reporting/api/getAnalysesStatus.js +4 -11
- package/es/reporting/components/Caption/index.js +3 -4
- package/es/reporting/components/MetricsListItem/index.js +3 -4
- package/es/reporting/components/charts/CentileDistribution/presenter.js +3 -4
- package/es/reporting/components/charts/Distribution/presenter.js +3 -4
- package/es/reporting/components/charts/Legend/index.js +3 -4
- package/es/reporting/components/charts/QuintileDistribution/presenter.js +3 -4
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +3 -4
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +4 -4
- package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +4 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -4
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +4 -4
- package/es/reporting/components/resources/ReportCard/index.js +3 -4
- package/es/reporting/components/resources/ReportList/index.js +3 -4
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +6 -8
- package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +1 -2
- package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +6 -19
- package/lib/banks/components/Bank/presenter.js +2 -2
- package/lib/banks/components/BankEntriesList/presenter.js +2 -3
- package/lib/banks/components/BankEntry/presenter.js +2 -2
- package/lib/banks/components/BankEntryRow/presenter.js +2 -2
- package/lib/banks/components/BankSearch/presenter.js +2 -3
- package/lib/banks/components/Banks/presenter.js +2 -2
- package/lib/banks/components/BanksList/presenter.js +2 -2
- package/lib/banks/components/CreateBankModal/presenter.js +2 -2
- package/lib/banks/components/EditBankModal/presenter.js +2 -2
- package/lib/banks/components/HeaderMenu/presenter.js +2 -2
- package/lib/banks/components/NavWrapper/presenter.js +2 -3
- package/lib/banks/components/SharingModal/RootAccountSharing.js +3 -2
- package/lib/banks/components/SharingModal/ShareList/index.js +2 -2
- package/lib/banks/components/SharingModal/presenter.js +2 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +2 -3
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +2 -3
- package/lib/building/components/layout/Sidebar/presenter.js +2 -2
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +2 -2
- package/lib/building/components/resources/ActionButtons/presenter.js +2 -2
- package/lib/building/components/resources/AddToBankOptions/index.js +2 -2
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +2 -2
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +2 -2
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +2 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +2 -3
- package/lib/building/components/resources/quiz/instructions/Show/index.js +2 -3
- package/lib/building/components/resources/quiz/title/Edit/index.js +2 -3
- package/lib/building/components/resources/quiz/title/Show/index.js +2 -3
- package/lib/building/components/resources/quiz/title/Title/presenter.js +2 -3
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +2 -3
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +2 -3
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +2 -2
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +2 -3
- package/lib/common/components/ImportModal/presenter.js +2 -2
- package/lib/common/components/PrintFontSizeModal/presenter.js +2 -2
- package/lib/common/components/SDKApp/index.js +2 -2
- package/lib/common/components/alerts/presenter.js +2 -3
- package/lib/common/components/layout/Page/index.js +2 -3
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +2 -3
- package/lib/common/components/layout/header/Timer/presenter.js +2 -3
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +2 -3
- package/lib/common/components/layout/navbar/index.js +2 -3
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +2 -3
- package/lib/common/components/layout/sidebar/Sidebar/index.js +2 -2
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +2 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +2 -2
- package/lib/common/components/resources/WarningWrapper/index.js +2 -3
- package/lib/common/components/resources/positionBox/PositionBox.js +2 -3
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +2 -2
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +2 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +2 -2
- package/lib/common/components/resources/quiz/instructions/Instructions.js +2 -3
- package/lib/common/components/resources/quiz/title/Title.js +2 -3
- package/lib/common/components/resources/quizSessionResult/Header/index.js +2 -3
- package/lib/common/components/resources/quizSessionResult/Info/index.js +2 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +2 -3
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +2 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +2 -3
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +2 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +2 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +2 -2
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +2 -3
- package/lib/common/components/shared/Card/CardContent/index.js +2 -3
- package/lib/common/components/shared/Card/CardWrapper/index.js +2 -3
- package/lib/common/components/shared/ExpandButton/index.js +2 -3
- package/lib/common/components/shared/InteractionTypes/presenter.js +2 -3
- package/lib/common/components/shared/PaginatedCollection/presenter.js +2 -3
- package/lib/common/components/shared/Paginator/index.js +2 -3
- package/lib/common/components/shared/TagDisplay/index.js +2 -3
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +2 -3
- package/lib/common/components/shared/errors/Errors.js +2 -3
- package/lib/common/components/shared/file_selector/FileSelector.js +2 -3
- package/lib/common/components/shared/overlay/index.js +2 -2
- package/lib/common/components/shared/spinner/Spinner.js +2 -3
- package/lib/index.js +0 -43
- package/lib/moderating/components/events/Event.js +1 -4
- package/lib/moderating/components/events/ResponseEvent.js +2 -3
- package/lib/moderating/components/resources/ModerateTable/presenter.js +2 -2
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +2 -2
- package/lib/reporting/api/fetchStudentAnalyses.js +4 -9
- package/lib/reporting/api/getAnalysesExport.js +4 -11
- package/lib/reporting/api/getAnalysesStatus.js +4 -11
- package/lib/reporting/components/Caption/index.js +2 -3
- package/lib/reporting/components/MetricsListItem/index.js +2 -3
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +2 -3
- package/lib/reporting/components/charts/Distribution/presenter.js +2 -3
- package/lib/reporting/components/charts/Legend/index.js +2 -3
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +2 -3
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +2 -3
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +2 -2
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +2 -3
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/ReportCard/index.js +2 -3
- package/lib/reporting/components/resources/ReportList/index.js +2 -3
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +5 -7
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +1 -2
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +6 -19
- package/package.json +9 -9
|
@@ -10,12 +10,11 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
10
10
|
import partial from 'lodash/partial';
|
|
11
11
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
12
12
|
import { Alert } from '@instructure/ui-alerts';
|
|
13
|
-
import { jsx } from '@instructure/emotion';
|
|
13
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
14
14
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
15
15
|
import generateStyle from "./styles.js";
|
|
16
16
|
import generateComponentTheme from "./theme.js";
|
|
17
|
-
|
|
18
|
-
export var Alerts = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Alerts = /*#__PURE__*/function (_Component) {
|
|
17
|
+
export var Alerts = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Alerts = /*#__PURE__*/function (_Component) {
|
|
19
18
|
_inherits(Alerts, _Component);
|
|
20
19
|
var _super = _createSuper(Alerts);
|
|
21
20
|
function Alerts() {
|
|
@@ -86,7 +85,7 @@ export var Alerts = (_dec = withStyleOverrides(generateStyle, generateComponentT
|
|
|
86
85
|
}]);
|
|
87
86
|
Alerts.displayName = "Alerts";
|
|
88
87
|
return Alerts;
|
|
89
|
-
}(Component), _Alerts.
|
|
88
|
+
}(Component), _Alerts.propTypes = {
|
|
90
89
|
removeAlert: PropTypes.func.isRequired,
|
|
91
90
|
alerts: ImmutablePropTypes.list.isRequired,
|
|
92
91
|
styles: PropTypes.object
|
|
@@ -6,12 +6,11 @@ var _dec, _class, _Page;
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import { jsx } from '@instructure/emotion';
|
|
9
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
10
10
|
import generateStyle from "./styles.js";
|
|
11
11
|
import generateComponentTheme from "./theme.js";
|
|
12
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
13
12
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
|
-
export var Page = (_dec =
|
|
13
|
+
export var Page = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Page = /*#__PURE__*/function (_Component) {
|
|
15
14
|
_inherits(Page, _Component);
|
|
16
15
|
var _super = _createSuper(Page);
|
|
17
16
|
function Page() {
|
|
@@ -59,7 +58,7 @@ export var Page = (_dec = withStyleOverrides(generateStyle, generateComponentThe
|
|
|
59
58
|
}]);
|
|
60
59
|
Page.displayName = "Page";
|
|
61
60
|
return Page;
|
|
62
|
-
}(Component), _Page.
|
|
61
|
+
}(Component), _Page.propTypes = {
|
|
63
62
|
children: PropTypes.node.isRequired,
|
|
64
63
|
childrenWrapperRef: PropTypes.func,
|
|
65
64
|
contentRole: PropTypes.string,
|
|
@@ -9,13 +9,12 @@ import { Component } from 'react';
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import { IconHamburgerLine } from '@instructure/ui-icons';
|
|
11
11
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
14
|
import generateStyle from "./styles.js";
|
|
15
15
|
import generateComponentTheme from "./theme.js";
|
|
16
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
17
16
|
var _ref = jsx(IconHamburgerLine, null);
|
|
18
|
-
export var HeaderMenuButton = (_dec =
|
|
17
|
+
export var HeaderMenuButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_HeaderMenuButton = /*#__PURE__*/function (_Component) {
|
|
19
18
|
_inherits(HeaderMenuButton, _Component);
|
|
20
19
|
var _super = _createSuper(HeaderMenuButton);
|
|
21
20
|
function HeaderMenuButton() {
|
|
@@ -53,7 +52,7 @@ export var HeaderMenuButton = (_dec = withStyleOverrides(generateStyle, generate
|
|
|
53
52
|
}]);
|
|
54
53
|
HeaderMenuButton.displayName = "HeaderMenuButton";
|
|
55
54
|
return HeaderMenuButton;
|
|
56
|
-
}(Component), _HeaderMenuButton.
|
|
55
|
+
}(Component), _HeaderMenuButton.propTypes = {
|
|
57
56
|
sidebarMenuClick: PropTypes.func.isRequired,
|
|
58
57
|
hidden: PropTypes.bool.isRequired,
|
|
59
58
|
sidebarOpen: PropTypes.bool.isRequired,
|
|
@@ -13,16 +13,15 @@ import * as platform from 'platform';
|
|
|
13
13
|
import { Button } from '@instructure/ui-buttons';
|
|
14
14
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
15
15
|
import { View } from '@instructure/ui-view';
|
|
16
|
-
import { jsx } from '@instructure/emotion';
|
|
16
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
17
17
|
import FormattedDuration from "../../../shared/FormattedDuration/index.js";
|
|
18
18
|
import { formatTime } from "../../../../util/formatTimespan.js";
|
|
19
19
|
import generateStyle from "./styles.js";
|
|
20
20
|
import generateComponentTheme from "./theme.js";
|
|
21
21
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
22
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
23
22
|
var _ref = jsx(IconClockLine, null);
|
|
24
23
|
var _ref2 = jsx(IconClockSolid, null);
|
|
25
|
-
export var Timer = (_dec =
|
|
24
|
+
export var Timer = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Timer = /*#__PURE__*/function (_Component) {
|
|
26
25
|
_inherits(Timer, _Component);
|
|
27
26
|
var _super = _createSuper(Timer);
|
|
28
27
|
function Timer() {
|
|
@@ -169,7 +168,7 @@ export var Timer = (_dec = withStyleOverrides(generateStyle, generateComponentTh
|
|
|
169
168
|
}]);
|
|
170
169
|
Timer.displayName = "Timer";
|
|
171
170
|
return Timer;
|
|
172
|
-
}(Component), _Timer.
|
|
171
|
+
}(Component), _Timer.propTypes = {
|
|
173
172
|
screenreaderNotification: PropTypes.func.isRequired,
|
|
174
173
|
showTimer: PropTypes.bool.isRequired,
|
|
175
174
|
timeLeftInSeconds: PropTypes.number,
|
|
@@ -7,12 +7,11 @@ var _dec, _class, _SecondaryNavBarButton;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
10
|
-
import { InstUISettingsProvider, jsx } from '@instructure/emotion';
|
|
10
|
+
import { InstUISettingsProvider, withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import { omitProps } from '@instructure/ui-react-utils';
|
|
12
12
|
import generateStyle from "./styles.js";
|
|
13
13
|
import generateComponentTheme from "./theme.js";
|
|
14
|
-
|
|
15
|
-
export var SecondaryNavBarButton = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_SecondaryNavBarButton = /*#__PURE__*/function (_Component) {
|
|
14
|
+
export var SecondaryNavBarButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_SecondaryNavBarButton = /*#__PURE__*/function (_Component) {
|
|
16
15
|
_inherits(SecondaryNavBarButton, _Component);
|
|
17
16
|
var _super = _createSuper(SecondaryNavBarButton);
|
|
18
17
|
function SecondaryNavBarButton() {
|
|
@@ -48,7 +47,7 @@ export var SecondaryNavBarButton = (_dec = withStyleOverrides(generateStyle, gen
|
|
|
48
47
|
}]);
|
|
49
48
|
SecondaryNavBarButton.displayName = "SecondaryNavBarButton";
|
|
50
49
|
return SecondaryNavBarButton;
|
|
51
|
-
}(Component), _SecondaryNavBarButton.displayName = 'TopNavBarItem', _SecondaryNavBarButton.
|
|
50
|
+
}(Component), _SecondaryNavBarButton.displayName = 'TopNavBarItem', _SecondaryNavBarButton.propTypes = {
|
|
52
51
|
children: PropTypes.string.isRequired,
|
|
53
52
|
styles: PropTypes.object,
|
|
54
53
|
makeStyles: PropTypes.func
|
|
@@ -10,15 +10,14 @@ import PropTypes from 'prop-types';
|
|
|
10
10
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
11
11
|
import { IconQuizLine } from '@instructure/ui-icons';
|
|
12
12
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
13
|
-
import { jsx } from '@instructure/emotion';
|
|
13
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
14
14
|
import generateStyle from "./styles.js";
|
|
15
15
|
import generateComponentTheme from "./theme.js";
|
|
16
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
17
16
|
var _ref = jsx(IconQuizLine, {
|
|
18
17
|
color: "primary",
|
|
19
18
|
size: "small"
|
|
20
19
|
});
|
|
21
|
-
export var NavBar = (_dec =
|
|
20
|
+
export var NavBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_NavBar = /*#__PURE__*/function (_Component) {
|
|
22
21
|
_inherits(NavBar, _Component);
|
|
23
22
|
var _super = _createSuper(NavBar);
|
|
24
23
|
function NavBar() {
|
|
@@ -101,7 +100,7 @@ export var NavBar = (_dec = withStyleOverrides(generateStyle, generateComponentT
|
|
|
101
100
|
}]);
|
|
102
101
|
NavBar.displayName = "NavBar";
|
|
103
102
|
return NavBar;
|
|
104
|
-
}(Component), _NavBar.
|
|
103
|
+
}(Component), _NavBar.propTypes = {
|
|
105
104
|
menuItems: PropTypes.arrayOf(PropTypes.shape({
|
|
106
105
|
path: PropTypes.string.isRequired,
|
|
107
106
|
text: PropTypes.string.isRequired
|
|
@@ -7,12 +7,11 @@ var _dec, _class, _PositionSummary;
|
|
|
7
7
|
/** @jsx jsx */
|
|
8
8
|
import { Component } from 'react';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import generateStyle from "./styles.js";
|
|
12
12
|
import generateComponentTheme from "./theme.js";
|
|
13
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
|
-
|
|
15
|
-
export var PositionSummary = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_PositionSummary = /*#__PURE__*/function (_Component) {
|
|
14
|
+
export var PositionSummary = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_PositionSummary = /*#__PURE__*/function (_Component) {
|
|
16
15
|
_inherits(PositionSummary, _Component);
|
|
17
16
|
var _super = _createSuper(PositionSummary);
|
|
18
17
|
function PositionSummary() {
|
|
@@ -39,7 +38,7 @@ export var PositionSummary = (_dec = withStyleOverrides(generateStyle, generateC
|
|
|
39
38
|
}]);
|
|
40
39
|
PositionSummary.displayName = "PositionSummary";
|
|
41
40
|
return PositionSummary;
|
|
42
|
-
}(Component), _PositionSummary.
|
|
41
|
+
}(Component), _PositionSummary.propTypes = {
|
|
43
42
|
firstPosition: PropTypes.number.isRequired,
|
|
44
43
|
lastPosition: PropTypes.number.isRequired,
|
|
45
44
|
styles: PropTypes.object
|
|
@@ -16,10 +16,10 @@ import { IconButton } from '@instructure/ui-buttons';
|
|
|
16
16
|
import { Link } from '@instructure/ui-link';
|
|
17
17
|
import { Text } from '@instructure/ui-text';
|
|
18
18
|
import { View } from '@instructure/ui-view';
|
|
19
|
-
import { jsx, Global } from '@instructure/emotion';
|
|
19
|
+
import { withStyle, jsx, Global } from '@instructure/emotion';
|
|
20
20
|
import { Heading } from '@instructure/ui-heading';
|
|
21
21
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
22
|
-
import { INSTRUCTIONS_SCROLL_KEY, RESULTS_SCROLL_KEY, SIDEBAR_NAV_ID, TITLE_SCROLL_KEY, END_EDITING_TRIGGER_CLASSNAME
|
|
22
|
+
import { INSTRUCTIONS_SCROLL_KEY, RESULTS_SCROLL_KEY, SIDEBAR_NAV_ID, TITLE_SCROLL_KEY, END_EDITING_TRIGGER_CLASSNAME } from '@instructure/quiz-common';
|
|
23
23
|
import { onPhone } from "../../../../util/windowChecks.js";
|
|
24
24
|
import CustomPropTypes from "../../../../util/CustomPropTypes.js";
|
|
25
25
|
import noop from "../../../../util/noop.js";
|
|
@@ -36,7 +36,7 @@ var _ref3 = jsx(IconQuizInstructionsLine, {
|
|
|
36
36
|
color: "primary"
|
|
37
37
|
});
|
|
38
38
|
var _ref4 = jsx(IconPinSolid, null);
|
|
39
|
-
export var Sidebar = (_dec =
|
|
39
|
+
export var Sidebar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Sidebar = /*#__PURE__*/function (_Component) {
|
|
40
40
|
_inherits(Sidebar, _Component);
|
|
41
41
|
var _super = _createSuper(Sidebar);
|
|
42
42
|
function Sidebar() {
|
|
@@ -299,7 +299,7 @@ export var Sidebar = (_dec = withStyleOverrides(generateStyle, generateComponent
|
|
|
299
299
|
}]);
|
|
300
300
|
Sidebar.displayName = "Sidebar";
|
|
301
301
|
return Sidebar;
|
|
302
|
-
}(Component), _Sidebar.
|
|
302
|
+
}(Component), _Sidebar.propTypes = {
|
|
303
303
|
children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element), PropTypes.node]).isRequired,
|
|
304
304
|
grading: PropTypes.bool,
|
|
305
305
|
taking: PropTypes.bool,
|
|
@@ -10,14 +10,14 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
10
10
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
11
11
|
import { Link } from '@instructure/ui-link';
|
|
12
12
|
import { Flex } from '@instructure/ui-flex';
|
|
13
|
-
import { jsx } from '@instructure/emotion';
|
|
13
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
14
14
|
import PositionSummary from "../PositionSummary/index.js";
|
|
15
15
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
16
16
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
|
-
import { END_EDITING_TRIGGER_CLASSNAME
|
|
20
|
-
export var SidebarItem = (_dec =
|
|
19
|
+
import { END_EDITING_TRIGGER_CLASSNAME } from '@instructure/quiz-common';
|
|
20
|
+
export var SidebarItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_SidebarItem = /*#__PURE__*/function (_Component) {
|
|
21
21
|
_inherits(SidebarItem, _Component);
|
|
22
22
|
var _super = _createSuper(SidebarItem);
|
|
23
23
|
function SidebarItem() {
|
|
@@ -160,7 +160,7 @@ export var SidebarItem = (_dec = withStyleOverrides(generateStyle, generateCompo
|
|
|
160
160
|
}]);
|
|
161
161
|
SidebarItem.displayName = "SidebarItem";
|
|
162
162
|
return SidebarItem;
|
|
163
|
-
}(Component), _SidebarItem.
|
|
163
|
+
}(Component), _SidebarItem.propTypes = {
|
|
164
164
|
// Passed in by Sidebar
|
|
165
165
|
children: PropTypes.element,
|
|
166
166
|
displayPosition: PropTypes.string.isRequired,
|
|
@@ -10,14 +10,13 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
10
10
|
import { IconArrowOpenDownLine, IconArrowOpenUpLine } from '@instructure/ui-icons';
|
|
11
11
|
import { Transition } from '@instructure/ui-motion';
|
|
12
12
|
import { IconButton } from '@instructure/ui-buttons';
|
|
13
|
-
import { jsx } from '@instructure/emotion';
|
|
13
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
14
14
|
import PositionSummary from "../../PositionSummary/index.js";
|
|
15
15
|
import { DISPLAY_AS_SUMMARY_LIMIT } from "../presenter.js";
|
|
16
16
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
|
-
|
|
20
|
-
export var Collection = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Collection = /*#__PURE__*/function (_Component) {
|
|
19
|
+
export var Collection = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Collection = /*#__PURE__*/function (_Component) {
|
|
21
20
|
_inherits(Collection, _Component);
|
|
22
21
|
var _super = _createSuper(Collection);
|
|
23
22
|
function Collection() {
|
|
@@ -127,7 +126,7 @@ export var Collection = (_dec = withStyleOverrides(generateStyle, generateCompon
|
|
|
127
126
|
}]);
|
|
128
127
|
Collection.displayName = "Collection";
|
|
129
128
|
return Collection;
|
|
130
|
-
}(Component), _Collection.
|
|
129
|
+
}(Component), _Collection.propTypes = {
|
|
131
130
|
// Passed in by Sidebar
|
|
132
131
|
firstPosition: PropTypes.number.isRequired,
|
|
133
132
|
isOver: PropTypes.bool.isRequired,
|
|
@@ -7,13 +7,12 @@ var _dec, _class, _Summary;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { Text } from '@instructure/ui-text';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import { DISPLAY_AS_SUMMARY_LIMIT } from "../presenter.js";
|
|
12
12
|
import generateStyle from "./styles.js";
|
|
13
13
|
import generateComponentTheme from "./theme.js";
|
|
14
14
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
15
|
-
|
|
16
|
-
export var Summary = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Summary = /*#__PURE__*/function (_Component) {
|
|
15
|
+
export var Summary = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Summary = /*#__PURE__*/function (_Component) {
|
|
17
16
|
_inherits(Summary, _Component);
|
|
18
17
|
var _super = _createSuper(Summary);
|
|
19
18
|
function Summary() {
|
|
@@ -116,7 +115,7 @@ export var Summary = (_dec = withStyleOverrides(generateStyle, generateComponent
|
|
|
116
115
|
}]);
|
|
117
116
|
Summary.displayName = "Summary";
|
|
118
117
|
return Summary;
|
|
119
|
-
}(Component), _Summary.
|
|
118
|
+
}(Component), _Summary.propTypes = {
|
|
120
119
|
// Passed in by parent
|
|
121
120
|
startPosition: PropTypes.number.isRequired,
|
|
122
121
|
/* This is used for when the stimulus is being dragged in build */
|
|
@@ -9,11 +9,10 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
10
10
|
import { Tooltip } from '@instructure/ui-tooltip';
|
|
11
11
|
import { Text } from '@instructure/ui-text';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
15
14
|
var DISPLAY_TOOLTIP_LIMIT = 80;
|
|
16
|
-
export var Title = (_dec =
|
|
15
|
+
export var Title = (_dec = withStyle(generateStyle, null), _dec(_class = (_Title = /*#__PURE__*/function (_Component) {
|
|
17
16
|
_inherits(Title, _Component);
|
|
18
17
|
var _super = _createSuper(Title);
|
|
19
18
|
function Title() {
|
|
@@ -48,7 +47,7 @@ export var Title = (_dec = withStyleOverrides(generateStyle, null), _dec(_class
|
|
|
48
47
|
}]);
|
|
49
48
|
Title.displayName = "Title";
|
|
50
49
|
return Title;
|
|
51
|
-
}(Component), _Title.
|
|
50
|
+
}(Component), _Title.propTypes = {
|
|
52
51
|
title: PropTypes.string.isRequired,
|
|
53
52
|
styles: PropTypes.object
|
|
54
53
|
}, _Title)) || _class);
|
|
@@ -8,7 +8,7 @@ import { Component } from 'react';
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { IconTextLeftLine } from '@instructure/ui-icons';
|
|
11
|
-
import { jsx } from '@instructure/emotion';
|
|
11
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
12
|
import { Link } from '@instructure/ui-link';
|
|
13
13
|
import { Flex } from '@instructure/ui-flex';
|
|
14
14
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
@@ -18,12 +18,12 @@ import Summary from "./Summary/index.js";
|
|
|
18
18
|
import generateStyle from "./styles.js";
|
|
19
19
|
import generateComponentTheme from "./theme.js";
|
|
20
20
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
21
|
-
import { END_EDITING_TRIGGER_CLASSNAME
|
|
21
|
+
import { END_EDITING_TRIGGER_CLASSNAME } from '@instructure/quiz-common';
|
|
22
22
|
export var DISPLAY_AS_SUMMARY_LIMIT = 5;
|
|
23
23
|
var _ref = jsx(IconTextLeftLine, {
|
|
24
24
|
color: "primary"
|
|
25
25
|
});
|
|
26
|
-
export var SidebarStimulus = (_dec =
|
|
26
|
+
export var SidebarStimulus = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_SidebarStimulus = /*#__PURE__*/function (_Component) {
|
|
27
27
|
_inherits(SidebarStimulus, _Component);
|
|
28
28
|
var _super = _createSuper(SidebarStimulus);
|
|
29
29
|
function SidebarStimulus() {
|
|
@@ -142,7 +142,7 @@ export var SidebarStimulus = (_dec = withStyleOverrides(generateStyle, generateC
|
|
|
142
142
|
}]);
|
|
143
143
|
SidebarStimulus.displayName = "SidebarStimulus";
|
|
144
144
|
return SidebarStimulus;
|
|
145
|
-
}(Component), _SidebarStimulus.
|
|
145
|
+
}(Component), _SidebarStimulus.propTypes = {
|
|
146
146
|
childEntries: ImmutablePropTypes.listOf(ImmutablePropTypes.record).isRequired,
|
|
147
147
|
// Passed in by Sidebar
|
|
148
148
|
children: PropTypes.element,
|
|
@@ -9,12 +9,11 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import { Alert } from '@instructure/ui-alerts';
|
|
10
10
|
import { Button } from '@instructure/ui-buttons';
|
|
11
11
|
import { Text } from '@instructure/ui-text';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
14
|
import generateStyle from "./styles.js";
|
|
15
15
|
import generateComponentTheme from "./theme.js";
|
|
16
|
-
|
|
17
|
-
export var WarningWrapper = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_WarningWrapper = /*#__PURE__*/function (_Component) {
|
|
16
|
+
export var WarningWrapper = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_WarningWrapper = /*#__PURE__*/function (_Component) {
|
|
18
17
|
_inherits(WarningWrapper, _Component);
|
|
19
18
|
var _super = _createSuper(WarningWrapper);
|
|
20
19
|
function WarningWrapper() {
|
|
@@ -98,7 +97,7 @@ export var WarningWrapper = (_dec = withStyleOverrides(generateStyle, generateCo
|
|
|
98
97
|
}]);
|
|
99
98
|
WarningWrapper.displayName = "WarningWrapper";
|
|
100
99
|
return WarningWrapper;
|
|
101
|
-
}(Component), _WarningWrapper.
|
|
100
|
+
}(Component), _WarningWrapper.propTypes = {
|
|
102
101
|
alertType: PropTypes.oneOf(['info', 'success', 'warning', 'error']),
|
|
103
102
|
cancelActionCallback: PropTypes.func,
|
|
104
103
|
cancelActionText: PropTypes.string,
|
|
@@ -8,11 +8,10 @@ import { Component } from 'react';
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { Heading } from '@instructure/ui-heading';
|
|
10
10
|
import { ScreenReaderContent, PresentationContent } from '@instructure/ui-a11y-content';
|
|
11
|
-
import { jsx } from '@instructure/emotion';
|
|
11
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
12
|
import generateStyle from "./styles.js";
|
|
13
13
|
import generateComponentTheme from "./theme.js";
|
|
14
|
-
|
|
15
|
-
export var PositionBox = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_PositionBox = /*#__PURE__*/function (_Component) {
|
|
14
|
+
export var PositionBox = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_PositionBox = /*#__PURE__*/function (_Component) {
|
|
16
15
|
_inherits(PositionBox, _Component);
|
|
17
16
|
var _super = _createSuper(PositionBox);
|
|
18
17
|
function PositionBox() {
|
|
@@ -36,7 +35,7 @@ export var PositionBox = (_dec = withStyleOverrides(generateStyle, generateCompo
|
|
|
36
35
|
}]);
|
|
37
36
|
PositionBox.displayName = "PositionBox";
|
|
38
37
|
return PositionBox;
|
|
39
|
-
}(Component), _PositionBox.
|
|
38
|
+
}(Component), _PositionBox.propTypes = {
|
|
40
39
|
headingText: PropTypes.string.isRequired,
|
|
41
40
|
headingLevel: PropTypes.string,
|
|
42
41
|
position: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
@@ -13,14 +13,14 @@ import { IconButton } from '@instructure/ui-buttons';
|
|
|
13
13
|
import { Grid } from '@instructure/ui-grid';
|
|
14
14
|
import { View } from '@instructure/ui-view';
|
|
15
15
|
import { Text } from '@instructure/ui-text';
|
|
16
|
-
import { jsx } from '@instructure/emotion';
|
|
16
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
17
17
|
import InteractionTypes from "../../../../shared/InteractionTypes/index.js";
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
|
-
import { BUILD_TRAY_OPEN, BUILD_TRAY_POSITION, BUILD_TRAY_STIMULUS_ID
|
|
19
|
+
import { BUILD_TRAY_OPEN, BUILD_TRAY_POSITION, BUILD_TRAY_STIMULUS_ID } from '@instructure/quiz-common';
|
|
20
20
|
import generateStyle from "./styles.js";
|
|
21
21
|
import generateComponentTheme from "./theme.js";
|
|
22
22
|
var _ref = jsx(IconBankLine, null);
|
|
23
|
-
export var AddContentBody = (_dec =
|
|
23
|
+
export var AddContentBody = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_AddContentBody = /*#__PURE__*/function (_Component) {
|
|
24
24
|
_inherits(AddContentBody, _Component);
|
|
25
25
|
var _super = _createSuper(AddContentBody);
|
|
26
26
|
function AddContentBody() {
|
|
@@ -125,7 +125,7 @@ export var AddContentBody = (_dec = withStyleOverrides(generateStyle, generateCo
|
|
|
125
125
|
}]);
|
|
126
126
|
AddContentBody.displayName = "AddContentBody";
|
|
127
127
|
return AddContentBody;
|
|
128
|
-
}(Component), _AddContentBody.
|
|
128
|
+
}(Component), _AddContentBody.propTypes = {
|
|
129
129
|
allowStimulusCreation: PropTypes.bool.isRequired,
|
|
130
130
|
createItem: PropTypes.func.isRequired,
|
|
131
131
|
createStimulus: PropTypes.func.isRequired,
|
|
@@ -9,12 +9,12 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import { IconPlusLine } from '@instructure/ui-icons';
|
|
10
10
|
import { PresentationContent, ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
11
11
|
import { Button } from '@instructure/ui-buttons';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
14
|
import generateStyle from "./styles.js";
|
|
15
15
|
import generateComponentTheme from "./theme.js";
|
|
16
|
-
import { END_EDITING_TRIGGER_CLASSNAME
|
|
17
|
-
export var AddContentButton = (_dec =
|
|
16
|
+
import { END_EDITING_TRIGGER_CLASSNAME } from '@instructure/quiz-common';
|
|
17
|
+
export var AddContentButton = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_AddContentButton = /*#__PURE__*/function (_Component) {
|
|
18
18
|
_inherits(AddContentButton, _Component);
|
|
19
19
|
var _super = _createSuper(AddContentButton);
|
|
20
20
|
function AddContentButton() {
|
|
@@ -82,7 +82,7 @@ export var AddContentButton = (_dec = withStyleOverrides(generateStyle, generate
|
|
|
82
82
|
}]);
|
|
83
83
|
AddContentButton.displayName = "AddContentButton";
|
|
84
84
|
return AddContentButton;
|
|
85
|
-
}(Component), _AddContentButton.
|
|
85
|
+
}(Component), _AddContentButton.propTypes = {
|
|
86
86
|
isEditing: PropTypes.bool.isRequired,
|
|
87
87
|
onClick: PropTypes.func,
|
|
88
88
|
position: PropTypes.number,
|
|
@@ -7,16 +7,16 @@ var _dec, _class, _AddContentPopover;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { Popover } from '@instructure/ui-popover';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import CustomPropTypes from "../../../../../util/CustomPropTypes.js";
|
|
12
12
|
import elementsForSelectors from "../../../../../util/ElementsForSelectors.js";
|
|
13
13
|
import { onPhone, onTablet } from "../../../../../util/windowChecks.js";
|
|
14
14
|
import AddContentButton from "../Button/index.js";
|
|
15
15
|
import AddContentBody from "../Body/index.js";
|
|
16
|
-
import { DELETED_QUIZ_ENTRY
|
|
16
|
+
import { DELETED_QUIZ_ENTRY } from '@instructure/quiz-common';
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
|
-
export var AddContentPopover = (_dec =
|
|
19
|
+
export var AddContentPopover = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_AddContentPopover = /*#__PURE__*/function (_Component) {
|
|
20
20
|
_inherits(AddContentPopover, _Component);
|
|
21
21
|
var _super = _createSuper(AddContentPopover);
|
|
22
22
|
function AddContentPopover() {
|
|
@@ -110,7 +110,7 @@ export var AddContentPopover = (_dec = withStyleOverrides(generateStyle, generat
|
|
|
110
110
|
}]);
|
|
111
111
|
AddContentPopover.displayName = "AddContentPopover";
|
|
112
112
|
return AddContentPopover;
|
|
113
|
-
}(Component), _AddContentPopover.
|
|
113
|
+
}(Component), _AddContentPopover.propTypes = {
|
|
114
114
|
appContainer: CustomPropTypes.selectors.isRequired,
|
|
115
115
|
allowStimulusCreation: PropTypes.bool,
|
|
116
116
|
clearUi: PropTypes.func.isRequired,
|
|
@@ -8,7 +8,7 @@ var _dec, _class, _QuizInstructions;
|
|
|
8
8
|
import { Component } from 'react';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
|
-
import { jsx } from '@instructure/emotion';
|
|
11
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
12
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
13
13
|
import makeScrollable from "../../../shared/functionality/makeScrollable.js"; // ================================
|
|
14
14
|
// renders the quiz instructions on
|
|
@@ -16,8 +16,7 @@ import makeScrollable from "../../../shared/functionality/makeScrollable.js"; //
|
|
|
16
16
|
// ================================
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
|
-
|
|
20
|
-
export var QuizInstructions = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_QuizInstructions = /*#__PURE__*/function (_Component) {
|
|
19
|
+
export var QuizInstructions = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizInstructions = /*#__PURE__*/function (_Component) {
|
|
21
20
|
_inherits(QuizInstructions, _Component);
|
|
22
21
|
var _super = _createSuper(QuizInstructions);
|
|
23
22
|
function QuizInstructions() {
|
|
@@ -41,7 +40,7 @@ export var QuizInstructions = (_dec = withStyleOverrides(generateStyle, generate
|
|
|
41
40
|
}]);
|
|
42
41
|
QuizInstructions.displayName = "QuizInstructions";
|
|
43
42
|
return QuizInstructions;
|
|
44
|
-
}(Component), _QuizInstructions.
|
|
43
|
+
}(Component), _QuizInstructions.propTypes = {
|
|
45
44
|
quiz: ImmutablePropTypes.record.isRequired,
|
|
46
45
|
styles: PropTypes.object
|
|
47
46
|
}, _QuizInstructions)) || _class);
|
|
@@ -8,15 +8,14 @@ import { Component } from 'react';
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { Heading } from '@instructure/ui-heading';
|
|
11
|
-
import { jsx } from '@instructure/emotion';
|
|
11
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
12
|
import makeScrollable from "../../../shared/functionality/makeScrollable.js"; // ==========================
|
|
13
13
|
// renders the quiz title on
|
|
14
14
|
// the Preview and Take pages
|
|
15
15
|
// ==========================
|
|
16
16
|
import generateStyle from "./styles.js";
|
|
17
17
|
import generateComponentTheme from "./theme.js";
|
|
18
|
-
|
|
19
|
-
export var QuizTitle = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_QuizTitle = /*#__PURE__*/function (_Component) {
|
|
18
|
+
export var QuizTitle = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizTitle = /*#__PURE__*/function (_Component) {
|
|
20
19
|
_inherits(QuizTitle, _Component);
|
|
21
20
|
var _super = _createSuper(QuizTitle);
|
|
22
21
|
function QuizTitle() {
|
|
@@ -39,7 +38,7 @@ export var QuizTitle = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
39
38
|
}]);
|
|
40
39
|
QuizTitle.displayName = "QuizTitle";
|
|
41
40
|
return QuizTitle;
|
|
42
|
-
}(Component), _QuizTitle.
|
|
41
|
+
}(Component), _QuizTitle.propTypes = {
|
|
43
42
|
quiz: ImmutablePropTypes.record.isRequired,
|
|
44
43
|
styles: PropTypes.object
|
|
45
44
|
}, _QuizTitle)) || _class);
|
|
@@ -9,12 +9,11 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { Heading } from '@instructure/ui-heading';
|
|
11
11
|
import { Alert } from '@instructure/ui-alerts';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
14
|
import generateStyle from "./styles.js";
|
|
15
15
|
import generateComponentTheme from "./theme.js";
|
|
16
|
-
|
|
17
|
-
export var QuizSessionResultHeader = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_QuizSessionResultHeader = /*#__PURE__*/function (_Component) {
|
|
16
|
+
export var QuizSessionResultHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizSessionResultHeader = /*#__PURE__*/function (_Component) {
|
|
18
17
|
_inherits(QuizSessionResultHeader, _Component);
|
|
19
18
|
var _super = _createSuper(QuizSessionResultHeader);
|
|
20
19
|
function QuizSessionResultHeader() {
|
|
@@ -66,7 +65,7 @@ export var QuizSessionResultHeader = (_dec = withStyleOverrides(generateStyle, g
|
|
|
66
65
|
}]);
|
|
67
66
|
QuizSessionResultHeader.displayName = "QuizSessionResultHeader";
|
|
68
67
|
return QuizSessionResultHeader;
|
|
69
|
-
}(Component), _QuizSessionResultHeader.
|
|
68
|
+
}(Component), _QuizSessionResultHeader.propTypes = {
|
|
70
69
|
quizSession: ImmutablePropTypes.record.isRequired,
|
|
71
70
|
regradedSessionItemResults: ImmutablePropTypes.list,
|
|
72
71
|
studentDescription: PropTypes.node,
|
|
@@ -14,16 +14,16 @@ import { Text } from '@instructure/ui-text';
|
|
|
14
14
|
import { ProgressCircle } from '@instructure/ui-progress';
|
|
15
15
|
import { Heading } from '@instructure/ui-heading';
|
|
16
16
|
import { View } from '@instructure/ui-view';
|
|
17
|
-
import { jsx } from '@instructure/emotion';
|
|
17
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
19
|
import { scoreToLetterGrade } from '@instructure/grading-utils';
|
|
20
|
-
import { withI18nSupport
|
|
20
|
+
import { withI18nSupport } from '@instructure/quiz-common';
|
|
21
21
|
import FormattedDuration from "../../../shared/FormattedDuration/index.js";
|
|
22
22
|
import { formatTime } from "../../../../util/formatTimespan.js";
|
|
23
23
|
import generateStyle from "./styles.js";
|
|
24
24
|
import generateComponentTheme from "./theme.js";
|
|
25
25
|
var unknownPercentageValue = 'UNKNOWN_PERCENTAGE';
|
|
26
|
-
export var Info = (_dec =
|
|
26
|
+
export var Info = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Info = /*#__PURE__*/function (_withI18nSupport) {
|
|
27
27
|
_inherits(Info, _withI18nSupport);
|
|
28
28
|
var _super = _createSuper(Info);
|
|
29
29
|
function Info(props) {
|
|
@@ -279,7 +279,7 @@ export var Info = (_dec = withStyleOverrides(generateStyle, generateComponentThe
|
|
|
279
279
|
}]);
|
|
280
280
|
Info.displayName = "Info";
|
|
281
281
|
return Info;
|
|
282
|
-
}(withI18nSupport(Component)), _Info.
|
|
282
|
+
}(withI18nSupport(Component)), _Info.propTypes = {
|
|
283
283
|
gradingScheme: PropTypes.arrayOf(PropTypes.shape({
|
|
284
284
|
name: PropTypes.string,
|
|
285
285
|
value: PropTypes.number
|
|
@@ -7,13 +7,12 @@ var _dec, _class, _ResultStimulus;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
12
12
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
14
|
import generateComponentTheme from "./theme.js";
|
|
15
|
-
|
|
16
|
-
export var ResultStimulus = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_ResultStimulus = /*#__PURE__*/function (_Component) {
|
|
15
|
+
export var ResultStimulus = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_ResultStimulus = /*#__PURE__*/function (_Component) {
|
|
17
16
|
_inherits(ResultStimulus, _Component);
|
|
18
17
|
var _super = _createSuper(ResultStimulus);
|
|
19
18
|
function ResultStimulus() {
|
|
@@ -80,7 +79,7 @@ export var ResultStimulus = (_dec = withStyleOverrides(generateStyle, generateCo
|
|
|
80
79
|
}]);
|
|
81
80
|
ResultStimulus.displayName = "ResultStimulus";
|
|
82
81
|
return ResultStimulus;
|
|
83
|
-
}(Component), _ResultStimulus.
|
|
82
|
+
}(Component), _ResultStimulus.propTypes = {
|
|
84
83
|
stimulus: ImmutablePropTypes.record.isRequired,
|
|
85
84
|
sessionItem: ImmutablePropTypes.record.isRequired,
|
|
86
85
|
renderItem: PropTypes.func.isRequired,
|