@instructure/quiz-core 20.34.1-undefined.0 → 20.35.1-rc.10
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/api/banks.js +6 -2
- package/es/banks/components/AddToBankModal/index.js +1 -5
- package/es/banks/components/AddToBankModal/presenter.js +11 -10
- package/es/banks/components/Bank/presenter.js +4 -4
- package/es/banks/components/BankEntriesList/presenter.js +4 -3
- 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 +4 -3
- package/es/banks/components/Banks/presenter.js +4 -4
- package/es/banks/components/BanksList/presenter.js +4 -4
- package/es/banks/components/CopyMoveBankEntryModal/index.js +1 -5
- package/es/banks/components/CopyMoveBankEntryModal/presenter.js +11 -11
- 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 +4 -3
- package/es/banks/components/SharingModal/RootAccountSharing.js +3 -4
- 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 +4 -3
- package/es/building/components/layout/Sidebar/Stimulus/presenter.js +4 -3
- 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 +4 -3
- package/es/building/components/resources/quiz/instructions/Show/index.js +4 -3
- package/es/building/components/resources/quiz/title/Edit/index.js +4 -3
- package/es/building/components/resources/quiz/title/Show/index.js +9 -4
- package/es/building/components/resources/quiz/title/Title/presenter.js +4 -3
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +6 -5
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +4 -3
- 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 +4 -3
- 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 +4 -3
- package/es/common/components/layout/Page/index.js +4 -3
- package/es/common/components/layout/header/HeaderMenuButton/presenter.js +4 -3
- package/es/common/components/layout/header/Timer/presenter.js +4 -3
- package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +4 -3
- package/es/common/components/layout/navbar/index.js +4 -3
- package/es/common/components/layout/sidebar/PositionSummary/index.js +4 -3
- 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 +4 -3
- package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +4 -3
- package/es/common/components/layout/sidebar/Stimulus/Title/index.js +4 -3
- package/es/common/components/layout/sidebar/Stimulus/presenter.js +4 -4
- package/es/common/components/resources/BankSelection/presenter.js +40 -142
- package/es/common/components/resources/WarningWrapper/index.js +4 -3
- package/es/common/components/resources/positionBox/PositionBox.js +4 -3
- 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 +4 -3
- package/es/common/components/resources/quiz/title/Title.js +4 -3
- package/es/common/components/resources/quizSessionResult/Header/index.js +4 -3
- package/es/common/components/resources/quizSessionResult/Info/index.js +4 -4
- package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +4 -3
- package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +4 -3
- 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 +4 -3
- package/es/common/components/shared/Card/CardContent/index.js +4 -3
- package/es/common/components/shared/Card/CardWrapper/index.js +4 -3
- package/es/common/components/shared/ExpandButton/index.js +4 -3
- package/es/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +178 -0
- package/es/common/components/shared/InteractionTypes/presenter.js +4 -3
- package/es/common/components/shared/PaginatedCollection/presenter.js +4 -3
- package/es/common/components/shared/Paginator/index.js +4 -3
- package/es/common/components/shared/TagDisplay/index.js +4 -3
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +4 -3
- package/es/common/components/shared/errors/Errors.js +4 -3
- package/es/common/components/shared/file_selector/FileSelector.js +4 -3
- package/es/common/components/shared/overlay/index.js +4 -4
- package/es/common/components/shared/spinner/Spinner.js +4 -3
- package/es/index.js +6 -2
- package/es/moderating/components/events/Event.js +3 -0
- package/es/moderating/components/events/ResponseEvent.js +4 -3
- 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 +9 -4
- package/es/reporting/api/getAnalysesExport.js +11 -4
- package/es/reporting/api/getAnalysesStatus.js +11 -4
- package/es/reporting/components/Caption/index.js +4 -3
- package/es/reporting/components/MetricsListItem/index.js +4 -3
- package/es/reporting/components/charts/CentileDistribution/presenter.js +4 -3
- package/es/reporting/components/charts/Distribution/presenter.js +4 -3
- package/es/reporting/components/charts/Legend/index.js +4 -3
- package/es/reporting/components/charts/QuintileDistribution/presenter.js +4 -3
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +4 -3
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +4 -4
- package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +4 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +4 -3
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +4 -4
- package/es/reporting/components/resources/ReportCard/index.js +4 -3
- package/es/reporting/components/resources/ReportList/index.js +4 -3
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +8 -6
- package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +2 -1
- package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +19 -6
- package/lib/banks/api/banks.js +8 -3
- package/lib/banks/components/AddToBankModal/index.js +0 -4
- package/lib/banks/components/AddToBankModal/presenter.js +11 -10
- package/lib/banks/components/Bank/presenter.js +2 -2
- package/lib/banks/components/BankEntriesList/presenter.js +3 -2
- 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 +3 -2
- package/lib/banks/components/Banks/presenter.js +2 -2
- package/lib/banks/components/BanksList/presenter.js +2 -2
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +0 -4
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +11 -11
- 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 +3 -2
- package/lib/banks/components/SharingModal/RootAccountSharing.js +2 -3
- 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 +3 -2
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +3 -2
- 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 +3 -2
- package/lib/building/components/resources/quiz/instructions/Show/index.js +3 -2
- package/lib/building/components/resources/quiz/title/Edit/index.js +3 -2
- package/lib/building/components/resources/quiz/title/Show/index.js +3 -2
- package/lib/building/components/resources/quiz/title/Title/presenter.js +3 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +6 -5
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +3 -2
- 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 +3 -2
- 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 +3 -2
- package/lib/common/components/layout/Page/index.js +3 -2
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +3 -2
- package/lib/common/components/layout/header/Timer/presenter.js +3 -2
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +3 -2
- package/lib/common/components/layout/navbar/index.js +3 -2
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +3 -2
- 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 +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +2 -2
- package/lib/common/components/resources/BankSelection/presenter.js +40 -142
- package/lib/common/components/resources/WarningWrapper/index.js +3 -2
- package/lib/common/components/resources/positionBox/PositionBox.js +3 -2
- 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 +3 -2
- package/lib/common/components/resources/quiz/title/Title.js +3 -2
- package/lib/common/components/resources/quizSessionResult/Header/index.js +3 -2
- package/lib/common/components/resources/quizSessionResult/Info/index.js +2 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +3 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +2 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +3 -2
- 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 +3 -2
- package/lib/common/components/shared/Card/CardContent/index.js +3 -2
- package/lib/common/components/shared/Card/CardWrapper/index.js +3 -2
- package/lib/common/components/shared/ExpandButton/index.js +3 -2
- package/lib/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +188 -0
- package/lib/common/components/shared/InteractionTypes/presenter.js +3 -2
- package/lib/common/components/shared/PaginatedCollection/presenter.js +3 -2
- package/lib/common/components/shared/Paginator/index.js +3 -2
- package/lib/common/components/shared/TagDisplay/index.js +3 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +3 -2
- package/lib/common/components/shared/errors/Errors.js +3 -2
- package/lib/common/components/shared/file_selector/FileSelector.js +3 -2
- package/lib/common/components/shared/overlay/index.js +2 -2
- package/lib/common/components/shared/spinner/Spinner.js +3 -2
- package/lib/index.js +51 -0
- package/lib/moderating/components/events/Event.js +4 -1
- package/lib/moderating/components/events/ResponseEvent.js +3 -2
- 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 +9 -4
- package/lib/reporting/api/getAnalysesExport.js +11 -4
- package/lib/reporting/api/getAnalysesStatus.js +11 -4
- package/lib/reporting/components/Caption/index.js +3 -2
- package/lib/reporting/components/MetricsListItem/index.js +3 -2
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +3 -2
- package/lib/reporting/components/charts/Distribution/presenter.js +3 -2
- package/lib/reporting/components/charts/Legend/index.js +3 -2
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +3 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +3 -2
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +2 -2
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/ReportCard/index.js +3 -2
- package/lib/reporting/components/resources/ReportList/index.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +7 -5
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +2 -1
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +19 -6
- package/package.json +10 -10
|
@@ -13,7 +13,7 @@ import partial from 'lodash/partial';
|
|
|
13
13
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
14
14
|
import { CondensedButton } from '@instructure/ui-buttons';
|
|
15
15
|
import { TextInput } from '@instructure/ui-text-input';
|
|
16
|
-
import {
|
|
16
|
+
import { jsx, Global } from '@instructure/emotion';
|
|
17
17
|
import { FillBlankInteractionType } from '@instructure/quiz-interactions';
|
|
18
18
|
import { IconBankLine } from '@instructure/ui-icons';
|
|
19
19
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
@@ -21,11 +21,11 @@ import { convertFITBtoRich } from "../../../../../../common/util/fitbCopyHelper.
|
|
|
21
21
|
import PositionBox from "../../../../../../common/components/resources/positionBox/PositionBox.js";
|
|
22
22
|
import Item from "../../../../../../common/records/Item.js";
|
|
23
23
|
import ActionButtons from "../../../ActionButtons/index.js";
|
|
24
|
-
import { DELETED_QUIZ_ENTRY, API_INPUT_VALIDATION_ERROR, BUILD_TRAY_OPEN } from '@instructure/quiz-common';
|
|
24
|
+
import { DELETED_QUIZ_ENTRY, API_INPUT_VALIDATION_ERROR, BUILD_TRAY_OPEN, withStyleOverrides } from '@instructure/quiz-common';
|
|
25
25
|
import generateStyle from "./styles.js";
|
|
26
26
|
import generateComponentTheme from "./theme.js";
|
|
27
27
|
var _ref2 = jsx(IconBankLine, null);
|
|
28
|
-
var QuizEntryHeader = (_dec =
|
|
28
|
+
var QuizEntryHeader = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntryHeader = /*#__PURE__*/function (_Component) {
|
|
29
29
|
_inherits(QuizEntryHeader, _Component);
|
|
30
30
|
var _super = _createSuper(QuizEntryHeader);
|
|
31
31
|
function QuizEntryHeader() {
|
|
@@ -270,7 +270,7 @@ var QuizEntryHeader = (_dec = withStyle(generateStyle, generateComponentTheme),
|
|
|
270
270
|
}]);
|
|
271
271
|
QuizEntryHeader.displayName = "QuizEntryHeader";
|
|
272
272
|
return QuizEntryHeader;
|
|
273
|
-
}(Component), _QuizEntryHeader.propTypes = {
|
|
273
|
+
}(Component), _QuizEntryHeader.displayName = 'QuizEntryHeader', _QuizEntryHeader.componentId = "Quizzes".concat(_QuizEntryHeader.displayName), _QuizEntryHeader.propTypes = {
|
|
274
274
|
changeItemTitle: PropTypes.func.isRequired,
|
|
275
275
|
// from connected component
|
|
276
276
|
clearModifications: PropTypes.func.isRequired,
|
|
@@ -12,7 +12,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
12
12
|
import { DragSource } from 'react-dnd';
|
|
13
13
|
import pick from 'lodash/pick';
|
|
14
14
|
import first from 'lodash/first';
|
|
15
|
-
import {
|
|
15
|
+
import { jsx, Global } from '@instructure/emotion';
|
|
16
16
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
17
17
|
import CustomPropTypes from "../../../../../common/util/CustomPropTypes.js";
|
|
18
18
|
import AddToBankModal from "../../../../../banks/components/AddToBankModal/index.js";
|
|
@@ -21,11 +21,11 @@ import wrapWithOutsideClickEmotion from "../../../../../common/components/shared
|
|
|
21
21
|
import { checkClickedNode } from "../../../../../common/util/clickHandlers.js";
|
|
22
22
|
import QuizEntryEditHeader from "./Header/index.js";
|
|
23
23
|
import QuizEntryEditFooter from "./Footer/index.js";
|
|
24
|
-
import { SHOULD_CLONE_ITEM, TEMPORARY_ITEM_ID, DELETED_QUIZ_ENTRY, API_INPUT_VALIDATION_ERROR, CLEAR_ALL_INPUT_VALIDATION_ERRORS, PARENT_TYPE_ADDING_TO_BANK } from '@instructure/quiz-common';
|
|
24
|
+
import { SHOULD_CLONE_ITEM, TEMPORARY_ITEM_ID, DELETED_QUIZ_ENTRY, API_INPUT_VALIDATION_ERROR, CLEAR_ALL_INPUT_VALIDATION_ERRORS, PARENT_TYPE_ADDING_TO_BANK, withStyleOverrides } from '@instructure/quiz-common';
|
|
25
25
|
import { ItemTypes, dragSource, collectDrag } from "../../../../../common/components/shared/drag_and_drop/dragAndDropUtils.js";
|
|
26
26
|
import generateStyle from "./styles.js";
|
|
27
27
|
import generateComponentTheme from "./theme.js";
|
|
28
|
-
var QuizEntryEdit = (_dec =
|
|
28
|
+
var QuizEntryEdit = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntryEdit = /*#__PURE__*/function (_Component) {
|
|
29
29
|
_inherits(QuizEntryEdit, _Component);
|
|
30
30
|
var _super = _createSuper(QuizEntryEdit);
|
|
31
31
|
function QuizEntryEdit() {
|
|
@@ -362,7 +362,7 @@ var QuizEntryEdit = (_dec = withStyle(generateStyle, generateComponentTheme), _d
|
|
|
362
362
|
}]);
|
|
363
363
|
QuizEntryEdit.displayName = "QuizEntryEdit";
|
|
364
364
|
return QuizEntryEdit;
|
|
365
|
-
}(Component), _QuizEntryEdit.propTypes = {
|
|
365
|
+
}(Component), _QuizEntryEdit.displayName = 'QuizEntryEdit', _QuizEntryEdit.componentId = "Quizzes".concat(_QuizEntryEdit.displayName), _QuizEntryEdit.propTypes = {
|
|
366
366
|
addContentPopoverOpen: PropTypes.bool.isRequired,
|
|
367
367
|
alternativeRightFooter: PropTypes.func,
|
|
368
368
|
appContainer: CustomPropTypes.selectors.isRequired,
|
|
@@ -11,9 +11,9 @@ import partial from 'lodash/partial';
|
|
|
11
11
|
import { DragSource } from 'react-dnd';
|
|
12
12
|
import { IconBankLine } from '@instructure/ui-icons';
|
|
13
13
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
14
|
-
import {
|
|
14
|
+
import { jsx } from '@instructure/emotion';
|
|
15
15
|
import { FillBlankInteractionType } from '@instructure/quiz-interactions';
|
|
16
|
-
import { TOP } from '@instructure/quiz-common';
|
|
16
|
+
import { TOP, withStyleOverrides } from '@instructure/quiz-common';
|
|
17
17
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
18
18
|
import { convertFITBtoRich } from "../../../../../common/util/fitbCopyHelper.js";
|
|
19
19
|
import Item from "../../../../../common/records/Item.js";
|
|
@@ -25,7 +25,7 @@ import DragAndDropZone from "../../../../../common/components/shared/drag_and_dr
|
|
|
25
25
|
import generateStyle from "./styles.js";
|
|
26
26
|
import generateComponentTheme from "./theme.js";
|
|
27
27
|
var _ref = jsx(IconBankLine, null);
|
|
28
|
-
var QuizEntryShow = (_dec =
|
|
28
|
+
var QuizEntryShow = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntryShow = /*#__PURE__*/function (_Component) {
|
|
29
29
|
_inherits(QuizEntryShow, _Component);
|
|
30
30
|
var _super = _createSuper(QuizEntryShow);
|
|
31
31
|
function QuizEntryShow() {
|
|
@@ -278,7 +278,7 @@ var QuizEntryShow = (_dec = withStyle(generateStyle, generateComponentTheme), _d
|
|
|
278
278
|
}]);
|
|
279
279
|
QuizEntryShow.displayName = "QuizEntryShow";
|
|
280
280
|
return QuizEntryShow;
|
|
281
|
-
}(Component), _QuizEntryShow.propTypes = {
|
|
281
|
+
}(Component), _QuizEntryShow.displayName = 'QuizEntryShow', _QuizEntryShow.componentId = "Quizzes".concat(_QuizEntryShow.displayName), _QuizEntryShow.propTypes = {
|
|
282
282
|
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
|
|
283
283
|
connectDragPreview: PropTypes.func.isRequired,
|
|
284
284
|
connectDragSource: PropTypes.func.isRequired,
|
|
@@ -9,15 +9,16 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { Button } from '@instructure/ui-buttons';
|
|
11
11
|
import { Grid } from '@instructure/ui-grid';
|
|
12
|
-
import {
|
|
12
|
+
import { jsx } from '@instructure/emotion';
|
|
13
13
|
import { IconUploadLine, IconCompleteLine } from '@instructure/ui-icons';
|
|
14
14
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
15
15
|
import FileSelector from "../../../../common/components/shared/file_selector/FileSelector.js";
|
|
16
16
|
import generateStyle from "./styles.js";
|
|
17
17
|
import generateComponentTheme from "./theme.js";
|
|
18
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
18
19
|
var _ref = jsx(IconUploadLine, null);
|
|
19
20
|
var _ref2 = jsx(IconCompleteLine, null);
|
|
20
|
-
export var ImportFileSelector = (_dec =
|
|
21
|
+
export var ImportFileSelector = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_ImportFileSelector = /*#__PURE__*/function (_Component) {
|
|
21
22
|
_inherits(ImportFileSelector, _Component);
|
|
22
23
|
var _super = _createSuper(ImportFileSelector);
|
|
23
24
|
function ImportFileSelector() {
|
|
@@ -121,7 +122,7 @@ export var ImportFileSelector = (_dec = withStyle(generateStyle, generateCompone
|
|
|
121
122
|
}]);
|
|
122
123
|
ImportFileSelector.displayName = "ImportFileSelector";
|
|
123
124
|
return ImportFileSelector;
|
|
124
|
-
}(Component), _ImportFileSelector.propTypes = {
|
|
125
|
+
}(Component), _ImportFileSelector.displayName = 'ImportFileSelector', _ImportFileSelector.componentId = "Quizzes".concat(_ImportFileSelector.displayName), _ImportFileSelector.propTypes = {
|
|
125
126
|
files: ImmutablePropTypes.list.isRequired,
|
|
126
127
|
receiveFile: PropTypes.func.isRequired,
|
|
127
128
|
acceptAttribute: PropTypes.string.isRequired,
|
|
@@ -15,13 +15,13 @@ import { Heading } from '@instructure/ui-heading';
|
|
|
15
15
|
import { Tabs } from '@instructure/ui-tabs';
|
|
16
16
|
import { ToggleDetails } from '@instructure/ui-toggle-details';
|
|
17
17
|
import { TextInput } from '@instructure/ui-text-input';
|
|
18
|
-
import {
|
|
19
|
-
import { ImportantModal, ModalHeader, ModalBody, ModalFooter, FILE_UPLOAD_SELECT, FILE_UPLOAD_IMPORTING, FILE_UPLOAD_SUCCESS, FILE_UPLOAD_FAILURE, FILE_UPLOAD_ERROR, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
18
|
+
import { jsx } from '@instructure/emotion';
|
|
19
|
+
import { ImportantModal, ModalHeader, ModalBody, ModalFooter, FILE_UPLOAD_SELECT, FILE_UPLOAD_IMPORTING, FILE_UPLOAD_SUCCESS, FILE_UPLOAD_FAILURE, FILE_UPLOAD_ERROR, XSMALL_SIDE_MARGIN, withStyleOverrides } from '@instructure/quiz-common';
|
|
20
20
|
import generateStyle from "./styles.js";
|
|
21
21
|
import generateComponentTheme from "./theme.js";
|
|
22
22
|
import ImportFileSelector from "./ImportFileSelector/index.js";
|
|
23
23
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
24
|
-
export var ImportModal = (_dec =
|
|
24
|
+
export var ImportModal = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_ImportModal = /*#__PURE__*/function (_Component) {
|
|
25
25
|
_inherits(ImportModal, _Component);
|
|
26
26
|
var _super = _createSuper(ImportModal);
|
|
27
27
|
function ImportModal() {
|
|
@@ -319,7 +319,7 @@ export var ImportModal = (_dec = withStyle(generateStyle, generateComponentTheme
|
|
|
319
319
|
}]);
|
|
320
320
|
ImportModal.displayName = "ImportModal";
|
|
321
321
|
return ImportModal;
|
|
322
|
-
}(Component), _ImportModal.propTypes = {
|
|
322
|
+
}(Component), _ImportModal.displayName = 'ImportModal', _ImportModal.componentId = "Quizzes".concat(_ImportModal.displayName), _ImportModal.propTypes = {
|
|
323
323
|
acceptFileType: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.shape({
|
|
324
324
|
fileType: PropTypes.string,
|
|
325
325
|
title: PropTypes.string
|
|
@@ -6,16 +6,16 @@ var _dec, _class, _PrintFontSizeModal;
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import { Modal, ModalHeader, ModalBody, ModalFooter } from '@instructure/quiz-common';
|
|
9
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, withStyleOverrides } from '@instructure/quiz-common';
|
|
10
10
|
import { Heading } from '@instructure/ui-heading';
|
|
11
11
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
12
|
-
import {
|
|
12
|
+
import { jsx } from '@instructure/emotion';
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
14
|
import generateComponentTheme from "./theme.js";
|
|
15
15
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
16
16
|
import { RadioInputGroup, RadioInput } from '@instructure/ui-radio-input';
|
|
17
17
|
import { Checkbox } from '@instructure/ui-checkbox';
|
|
18
|
-
export var PrintFontSizeModal = (_dec =
|
|
18
|
+
export var PrintFontSizeModal = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_PrintFontSizeModal = /*#__PURE__*/function (_Component) {
|
|
19
19
|
_inherits(PrintFontSizeModal, _Component);
|
|
20
20
|
var _super = _createSuper(PrintFontSizeModal);
|
|
21
21
|
function PrintFontSizeModal() {
|
|
@@ -152,7 +152,7 @@ export var PrintFontSizeModal = (_dec = withStyle(generateStyle, generateCompone
|
|
|
152
152
|
}]);
|
|
153
153
|
PrintFontSizeModal.displayName = "PrintFontSizeModal";
|
|
154
154
|
return PrintFontSizeModal;
|
|
155
|
-
}(Component), _PrintFontSizeModal.propTypes = {
|
|
155
|
+
}(Component), _PrintFontSizeModal.displayName = 'PrintFontSizeModal', _PrintFontSizeModal.componentId = "Quizzes".concat(_PrintFontSizeModal.displayName), _PrintFontSizeModal.propTypes = {
|
|
156
156
|
isOpen: PropTypes.bool,
|
|
157
157
|
persistedPrintFontSize: PropTypes.string,
|
|
158
158
|
onSubmit: PropTypes.func.isRequired,
|
|
@@ -10,11 +10,11 @@ import { Component } from 'react';
|
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import HTML5Backend from 'react-dnd-html5-backend';
|
|
12
12
|
import { DragDropContext } from 'react-dnd';
|
|
13
|
-
import {
|
|
13
|
+
import { jsx } from '@instructure/emotion';
|
|
14
14
|
import { ApplyLocale } from '@instructure/ui-i18n';
|
|
15
15
|
import { Provider } from "../../react-redux.js";
|
|
16
16
|
import store from "../../../reduxStore.js";
|
|
17
|
-
import { getLocale } from '@instructure/quiz-common';
|
|
17
|
+
import { getLocale, withStyleOverrides } from '@instructure/quiz-common';
|
|
18
18
|
import { set } from "../../actions/ui.js";
|
|
19
19
|
import { addAlert } from "../../actions/alerts.js";
|
|
20
20
|
import { setAPIEndpoint, setCanvasOrigin, setUserToken } from "../../actions/config.js";
|
|
@@ -29,7 +29,7 @@ import setupFormatMessage from '@instructure/quiz-i18n/es/util/setupFormatMessag
|
|
|
29
29
|
import RceConfigProvider from "../RceConfigProvider/index.js";
|
|
30
30
|
import { ApiFeatureFlagInitializer } from "../ApiFeatureFlagInitializer/index.js";
|
|
31
31
|
var _ref = jsx(ConfirmationModal, null);
|
|
32
|
-
export var SDKApp = (_dec =
|
|
32
|
+
export var SDKApp = (_dec = withStyleOverrides(generateStyle, null), _dec(_class = (_SDKApp = /*#__PURE__*/function (_Component) {
|
|
33
33
|
_inherits(SDKApp, _Component);
|
|
34
34
|
var _super = _createSuper(SDKApp);
|
|
35
35
|
function SDKApp(props) {
|
|
@@ -140,7 +140,7 @@ export var SDKApp = (_dec = withStyle(generateStyle, null), _dec(_class = (_SDKA
|
|
|
140
140
|
}]);
|
|
141
141
|
SDKApp.displayName = "SDKApp";
|
|
142
142
|
return SDKApp;
|
|
143
|
-
}(Component), _SDKApp.propTypes = {
|
|
143
|
+
}(Component), _SDKApp.displayName = 'SDKApp', _SDKApp.componentId = "Quizzes".concat(_SDKApp.displayName), _SDKApp.propTypes = {
|
|
144
144
|
apiEndpoint: PropTypes.string.isRequired,
|
|
145
145
|
appContainer: CustomPropTypes.selectors.isRequired,
|
|
146
146
|
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
|
|
@@ -10,11 +10,12 @@ 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 {
|
|
13
|
+
import { 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
|
-
|
|
17
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
18
|
+
export var Alerts = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Alerts = /*#__PURE__*/function (_Component) {
|
|
18
19
|
_inherits(Alerts, _Component);
|
|
19
20
|
var _super = _createSuper(Alerts);
|
|
20
21
|
function Alerts() {
|
|
@@ -85,7 +86,7 @@ export var Alerts = (_dec = withStyle(generateStyle, generateComponentTheme), _d
|
|
|
85
86
|
}]);
|
|
86
87
|
Alerts.displayName = "Alerts";
|
|
87
88
|
return Alerts;
|
|
88
|
-
}(Component), _Alerts.propTypes = {
|
|
89
|
+
}(Component), _Alerts.displayName = 'Alerts', _Alerts.componentId = "Quizzes".concat(_Alerts.displayName), _Alerts.propTypes = {
|
|
89
90
|
removeAlert: PropTypes.func.isRequired,
|
|
90
91
|
alerts: ImmutablePropTypes.list.isRequired,
|
|
91
92
|
styles: PropTypes.object
|
|
@@ -6,11 +6,12 @@ var _dec, _class, _Page;
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import {
|
|
9
|
+
import { 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';
|
|
12
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
13
|
-
export var Page = (_dec =
|
|
14
|
+
export var Page = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Page = /*#__PURE__*/function (_Component) {
|
|
14
15
|
_inherits(Page, _Component);
|
|
15
16
|
var _super = _createSuper(Page);
|
|
16
17
|
function Page() {
|
|
@@ -58,7 +59,7 @@ export var Page = (_dec = withStyle(generateStyle, generateComponentTheme), _dec
|
|
|
58
59
|
}]);
|
|
59
60
|
Page.displayName = "Page";
|
|
60
61
|
return Page;
|
|
61
|
-
}(Component), _Page.propTypes = {
|
|
62
|
+
}(Component), _Page.displayName = 'Page', _Page.componentId = "Quizzes".concat(_Page.displayName), _Page.propTypes = {
|
|
62
63
|
children: PropTypes.node.isRequired,
|
|
63
64
|
childrenWrapperRef: PropTypes.func,
|
|
64
65
|
contentRole: PropTypes.string,
|
|
@@ -9,12 +9,13 @@ 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 {
|
|
12
|
+
import { 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';
|
|
16
17
|
var _ref = jsx(IconHamburgerLine, null);
|
|
17
|
-
export var HeaderMenuButton = (_dec =
|
|
18
|
+
export var HeaderMenuButton = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_HeaderMenuButton = /*#__PURE__*/function (_Component) {
|
|
18
19
|
_inherits(HeaderMenuButton, _Component);
|
|
19
20
|
var _super = _createSuper(HeaderMenuButton);
|
|
20
21
|
function HeaderMenuButton() {
|
|
@@ -52,7 +53,7 @@ export var HeaderMenuButton = (_dec = withStyle(generateStyle, generateComponent
|
|
|
52
53
|
}]);
|
|
53
54
|
HeaderMenuButton.displayName = "HeaderMenuButton";
|
|
54
55
|
return HeaderMenuButton;
|
|
55
|
-
}(Component), _HeaderMenuButton.propTypes = {
|
|
56
|
+
}(Component), _HeaderMenuButton.displayName = 'HeaderMenuButton', _HeaderMenuButton.componentId = "Quizzes".concat(_HeaderMenuButton.displayName), _HeaderMenuButton.propTypes = {
|
|
56
57
|
sidebarMenuClick: PropTypes.func.isRequired,
|
|
57
58
|
hidden: PropTypes.bool.isRequired,
|
|
58
59
|
sidebarOpen: PropTypes.bool.isRequired,
|
|
@@ -13,15 +13,16 @@ 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 {
|
|
16
|
+
import { 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';
|
|
22
23
|
var _ref = jsx(IconClockLine, null);
|
|
23
24
|
var _ref2 = jsx(IconClockSolid, null);
|
|
24
|
-
export var Timer = (_dec =
|
|
25
|
+
export var Timer = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Timer = /*#__PURE__*/function (_Component) {
|
|
25
26
|
_inherits(Timer, _Component);
|
|
26
27
|
var _super = _createSuper(Timer);
|
|
27
28
|
function Timer() {
|
|
@@ -168,7 +169,7 @@ export var Timer = (_dec = withStyle(generateStyle, generateComponentTheme), _de
|
|
|
168
169
|
}]);
|
|
169
170
|
Timer.displayName = "Timer";
|
|
170
171
|
return Timer;
|
|
171
|
-
}(Component), _Timer.propTypes = {
|
|
172
|
+
}(Component), _Timer.displayName = 'Timer', _Timer.componentId = "Quizzes".concat(_Timer.displayName), _Timer.propTypes = {
|
|
172
173
|
screenreaderNotification: PropTypes.func.isRequired,
|
|
173
174
|
showTimer: PropTypes.bool.isRequired,
|
|
174
175
|
timeLeftInSeconds: PropTypes.number,
|
|
@@ -7,11 +7,12 @@ 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,
|
|
10
|
+
import { InstUISettingsProvider, 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
|
-
|
|
14
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
15
|
+
export var SecondaryNavBarButton = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_SecondaryNavBarButton = /*#__PURE__*/function (_Component) {
|
|
15
16
|
_inherits(SecondaryNavBarButton, _Component);
|
|
16
17
|
var _super = _createSuper(SecondaryNavBarButton);
|
|
17
18
|
function SecondaryNavBarButton() {
|
|
@@ -47,7 +48,7 @@ export var SecondaryNavBarButton = (_dec = withStyle(generateStyle, generateComp
|
|
|
47
48
|
}]);
|
|
48
49
|
SecondaryNavBarButton.displayName = "SecondaryNavBarButton";
|
|
49
50
|
return SecondaryNavBarButton;
|
|
50
|
-
}(Component), _SecondaryNavBarButton.displayName = 'TopNavBarItem', _SecondaryNavBarButton.propTypes = {
|
|
51
|
+
}(Component), _SecondaryNavBarButton.displayName = 'TopNavBarItem', _SecondaryNavBarButton.componentId = "Quizzes".concat(_SecondaryNavBarButton.displayName), _SecondaryNavBarButton.propTypes = {
|
|
51
52
|
children: PropTypes.string.isRequired,
|
|
52
53
|
styles: PropTypes.object,
|
|
53
54
|
makeStyles: PropTypes.func
|
|
@@ -10,14 +10,15 @@ 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 {
|
|
13
|
+
import { 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';
|
|
16
17
|
var _ref = jsx(IconQuizLine, {
|
|
17
18
|
color: "primary",
|
|
18
19
|
size: "small"
|
|
19
20
|
});
|
|
20
|
-
export var NavBar = (_dec =
|
|
21
|
+
export var NavBar = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_NavBar = /*#__PURE__*/function (_Component) {
|
|
21
22
|
_inherits(NavBar, _Component);
|
|
22
23
|
var _super = _createSuper(NavBar);
|
|
23
24
|
function NavBar() {
|
|
@@ -100,7 +101,7 @@ export var NavBar = (_dec = withStyle(generateStyle, generateComponentTheme), _d
|
|
|
100
101
|
}]);
|
|
101
102
|
NavBar.displayName = "NavBar";
|
|
102
103
|
return NavBar;
|
|
103
|
-
}(Component), _NavBar.propTypes = {
|
|
104
|
+
}(Component), _NavBar.displayName = 'NavBar', _NavBar.componentId = "Quizzes".concat(_NavBar.displayName), _NavBar.propTypes = {
|
|
104
105
|
menuItems: PropTypes.arrayOf(PropTypes.shape({
|
|
105
106
|
path: PropTypes.string.isRequired,
|
|
106
107
|
text: PropTypes.string.isRequired
|
|
@@ -7,11 +7,12 @@ var _dec, _class, _PositionSummary;
|
|
|
7
7
|
/** @jsx jsx */
|
|
8
8
|
import { Component } from 'react';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
|
-
import {
|
|
10
|
+
import { 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
|
-
|
|
14
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
15
|
+
export var PositionSummary = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_PositionSummary = /*#__PURE__*/function (_Component) {
|
|
15
16
|
_inherits(PositionSummary, _Component);
|
|
16
17
|
var _super = _createSuper(PositionSummary);
|
|
17
18
|
function PositionSummary() {
|
|
@@ -38,7 +39,7 @@ export var PositionSummary = (_dec = withStyle(generateStyle, generateComponentT
|
|
|
38
39
|
}]);
|
|
39
40
|
PositionSummary.displayName = "PositionSummary";
|
|
40
41
|
return PositionSummary;
|
|
41
|
-
}(Component), _PositionSummary.propTypes = {
|
|
42
|
+
}(Component), _PositionSummary.displayName = 'PositionSummary', _PositionSummary.componentId = "Quizzes".concat(_PositionSummary.displayName), _PositionSummary.propTypes = {
|
|
42
43
|
firstPosition: PropTypes.number.isRequired,
|
|
43
44
|
lastPosition: PropTypes.number.isRequired,
|
|
44
45
|
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 {
|
|
19
|
+
import { 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 } from '@instructure/quiz-common';
|
|
22
|
+
import { INSTRUCTIONS_SCROLL_KEY, RESULTS_SCROLL_KEY, SIDEBAR_NAV_ID, TITLE_SCROLL_KEY, END_EDITING_TRIGGER_CLASSNAME, withStyleOverrides } 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 = withStyleOverrides(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 = withStyle(generateStyle, generateComponentTheme), _
|
|
|
299
299
|
}]);
|
|
300
300
|
Sidebar.displayName = "Sidebar";
|
|
301
301
|
return Sidebar;
|
|
302
|
-
}(Component), _Sidebar.propTypes = {
|
|
302
|
+
}(Component), _Sidebar.displayName = 'Sidebar', _Sidebar.componentId = "Quizzes".concat(_Sidebar.displayName), _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 {
|
|
13
|
+
import { 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 } from '@instructure/quiz-common';
|
|
20
|
-
export var SidebarItem = (_dec =
|
|
19
|
+
import { END_EDITING_TRIGGER_CLASSNAME, withStyleOverrides } from '@instructure/quiz-common';
|
|
20
|
+
export var SidebarItem = (_dec = withStyleOverrides(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 = withStyle(generateStyle, generateComponentTheme
|
|
|
160
160
|
}]);
|
|
161
161
|
SidebarItem.displayName = "SidebarItem";
|
|
162
162
|
return SidebarItem;
|
|
163
|
-
}(Component), _SidebarItem.propTypes = {
|
|
163
|
+
}(Component), _SidebarItem.displayName = 'SidebarItem', _SidebarItem.componentId = "Quizzes".concat(_SidebarItem.displayName), _SidebarItem.propTypes = {
|
|
164
164
|
// Passed in by Sidebar
|
|
165
165
|
children: PropTypes.element,
|
|
166
166
|
displayPosition: PropTypes.string.isRequired,
|
|
@@ -10,13 +10,14 @@ 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 {
|
|
13
|
+
import { 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
|
-
|
|
19
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
20
|
+
export var Collection = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Collection = /*#__PURE__*/function (_Component) {
|
|
20
21
|
_inherits(Collection, _Component);
|
|
21
22
|
var _super = _createSuper(Collection);
|
|
22
23
|
function Collection() {
|
|
@@ -126,7 +127,7 @@ export var Collection = (_dec = withStyle(generateStyle, generateComponentTheme)
|
|
|
126
127
|
}]);
|
|
127
128
|
Collection.displayName = "Collection";
|
|
128
129
|
return Collection;
|
|
129
|
-
}(Component), _Collection.propTypes = {
|
|
130
|
+
}(Component), _Collection.displayName = 'Collection', _Collection.componentId = "Quizzes".concat(_Collection.displayName), _Collection.propTypes = {
|
|
130
131
|
// Passed in by Sidebar
|
|
131
132
|
firstPosition: PropTypes.number.isRequired,
|
|
132
133
|
isOver: PropTypes.bool.isRequired,
|
|
@@ -7,12 +7,13 @@ 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 {
|
|
10
|
+
import { 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
|
-
|
|
15
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
16
|
+
export var Summary = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Summary = /*#__PURE__*/function (_Component) {
|
|
16
17
|
_inherits(Summary, _Component);
|
|
17
18
|
var _super = _createSuper(Summary);
|
|
18
19
|
function Summary() {
|
|
@@ -115,7 +116,7 @@ export var Summary = (_dec = withStyle(generateStyle, generateComponentTheme), _
|
|
|
115
116
|
}]);
|
|
116
117
|
Summary.displayName = "Summary";
|
|
117
118
|
return Summary;
|
|
118
|
-
}(Component), _Summary.propTypes = {
|
|
119
|
+
}(Component), _Summary.displayName = 'Summary', _Summary.componentId = "Quizzes".concat(_Summary.displayName), _Summary.propTypes = {
|
|
119
120
|
// Passed in by parent
|
|
120
121
|
startPosition: PropTypes.number.isRequired,
|
|
121
122
|
/* This is used for when the stimulus is being dragged in build */
|
|
@@ -9,10 +9,11 @@ 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 {
|
|
12
|
+
import { jsx } from '@instructure/emotion';
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
|
+
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
14
15
|
var DISPLAY_TOOLTIP_LIMIT = 80;
|
|
15
|
-
export var Title = (_dec =
|
|
16
|
+
export var Title = (_dec = withStyleOverrides(generateStyle, null), _dec(_class = (_Title = /*#__PURE__*/function (_Component) {
|
|
16
17
|
_inherits(Title, _Component);
|
|
17
18
|
var _super = _createSuper(Title);
|
|
18
19
|
function Title() {
|
|
@@ -47,7 +48,7 @@ export var Title = (_dec = withStyle(generateStyle, null), _dec(_class = (_Title
|
|
|
47
48
|
}]);
|
|
48
49
|
Title.displayName = "Title";
|
|
49
50
|
return Title;
|
|
50
|
-
}(Component), _Title.propTypes = {
|
|
51
|
+
}(Component), _Title.displayName = 'Title', _Title.componentId = "Quizzes".concat(_Title.displayName), _Title.propTypes = {
|
|
51
52
|
title: PropTypes.string.isRequired,
|
|
52
53
|
styles: PropTypes.object
|
|
53
54
|
}, _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 {
|
|
11
|
+
import { 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 } from '@instructure/quiz-common';
|
|
21
|
+
import { END_EDITING_TRIGGER_CLASSNAME, withStyleOverrides } 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 = withStyleOverrides(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 = withStyle(generateStyle, generateComponentT
|
|
|
142
142
|
}]);
|
|
143
143
|
SidebarStimulus.displayName = "SidebarStimulus";
|
|
144
144
|
return SidebarStimulus;
|
|
145
|
-
}(Component), _SidebarStimulus.propTypes = {
|
|
145
|
+
}(Component), _SidebarStimulus.displayName = 'SidebarStimulus', _SidebarStimulus.componentId = "Quizzes".concat(_SidebarStimulus.displayName), _SidebarStimulus.propTypes = {
|
|
146
146
|
childEntries: ImmutablePropTypes.listOf(ImmutablePropTypes.record).isRequired,
|
|
147
147
|
// Passed in by Sidebar
|
|
148
148
|
children: PropTypes.element,
|