@instructure/quiz-core 20.38.0 → 21.0.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/es/banks/components/Bank/theme.js +1 -1
  2. package/es/banks/components/BankEntry/theme.js +5 -5
  3. package/es/banks/components/BankEntryRow/styles.js +0 -1
  4. package/es/banks/components/BankEntryRow/theme.js +4 -4
  5. package/es/banks/components/Banks/theme.js +2 -2
  6. package/es/banks/components/BanksList/theme.js +4 -4
  7. package/es/banks/components/CreateBankModal/presenter.js +22 -24
  8. package/es/banks/components/EditBankModal/presenter.js +24 -22
  9. package/es/banks/components/NavWrapper/theme.js +3 -3
  10. package/es/banks/components/SharingModal/presenter.js +0 -4
  11. package/es/banks/components/SharingModal/theme.js +1 -1
  12. package/es/building/components/resources/ActionButtons/theme.js +1 -1
  13. package/es/building/components/resources/AddToBankOptions/theme.js +2 -2
  14. package/es/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
  15. package/es/building/components/resources/quiz/title/Edit/theme.js +1 -1
  16. package/es/building/components/resources/quiz/title/Title/theme.js +3 -3
  17. package/es/building/components/resources/quizEntry/QuizEntry/theme.js +1 -1
  18. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -3
  19. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -2
  20. package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -2
  21. package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
  22. package/es/common/components/ConfirmationModal/presenter.js +10 -7
  23. package/es/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
  24. package/es/common/components/PrintFontSizeModal/theme.js +1 -1
  25. package/es/common/components/layout/header/HeaderMenuButton/theme.js +1 -1
  26. package/es/common/components/layout/header/Timer/theme.js +3 -3
  27. package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +13 -32
  28. package/es/common/components/layout/navbar/index.js +0 -3
  29. package/es/common/components/layout/navbar/theme.js +1 -1
  30. package/es/common/components/layout/sidebar/PositionSummary/theme.js +2 -2
  31. package/es/common/components/layout/sidebar/Sidebar/theme.js +10 -10
  32. package/es/common/components/layout/sidebar/SidebarItem/theme.js +5 -5
  33. package/es/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -1
  34. package/es/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -2
  35. package/es/common/components/layout/sidebar/Stimulus/theme.js +4 -4
  36. package/es/common/components/resources/WarningWrapper/theme.js +1 -1
  37. package/es/common/components/resources/item/ItemEdit/presenter.js +0 -5
  38. package/es/common/components/resources/positionBox/theme.js +2 -2
  39. package/es/common/components/resources/quiz/AddContent/Body/theme.js +1 -1
  40. package/es/common/components/resources/quiz/AddContent/Button/theme.js +4 -4
  41. package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +0 -4
  42. package/es/common/components/resources/quiz/AddContent/Popover/theme.js +1 -1
  43. package/es/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -4
  44. package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +1 -1
  45. package/es/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -4
  46. package/es/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -1
  47. package/es/common/components/resources/stimulus/Stimulus/presenter.js +11 -5
  48. package/es/common/components/resources/stimulus/Stimulus/theme.js +1 -1
  49. package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +17 -9
  50. package/es/common/components/resources/stimulus/StimulusEdit/theme.js +1 -1
  51. package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +2 -1
  52. package/es/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -1
  53. package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +7 -5
  54. package/es/common/components/shared/Card/CardContent/theme.js +2 -2
  55. package/es/common/components/shared/InteractionTypes/theme.js +1 -1
  56. package/es/common/components/shared/PaginatedCollection/theme.js +1 -1
  57. package/es/common/components/shared/PrintTrigger/presenter.js +0 -5
  58. package/es/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +5 -5
  59. package/es/common/components/shared/errors/theme.js +1 -1
  60. package/es/common/components/shared/file_selector/theme.js +2 -2
  61. package/es/common/components/shared/overlay/theme.js +1 -1
  62. package/es/moderating/components/events/theme.js +1 -1
  63. package/es/moderating/components/resources/ModerateTable/theme.js +1 -1
  64. package/es/reporting/components/charts/Distribution/theme.js +2 -2
  65. package/es/reporting/components/charts/Legend/theme.js +2 -2
  66. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +8 -8
  67. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -4
  68. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -1
  69. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +5 -5
  70. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -2
  71. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -1
  72. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -1
  73. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -1
  74. package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -2
  75. package/es/reporting/components/resources/OutcomeAnalysis/presenter.js +1 -11
  76. package/es/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -1
  77. package/es/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
  78. package/lib/banks/components/Bank/theme.js +1 -1
  79. package/lib/banks/components/BankEntry/theme.js +5 -5
  80. package/lib/banks/components/BankEntryRow/styles.js +0 -1
  81. package/lib/banks/components/BankEntryRow/theme.js +4 -4
  82. package/lib/banks/components/Banks/theme.js +2 -2
  83. package/lib/banks/components/BanksList/theme.js +4 -4
  84. package/lib/banks/components/CreateBankModal/presenter.js +23 -24
  85. package/lib/banks/components/EditBankModal/presenter.js +25 -22
  86. package/lib/banks/components/NavWrapper/theme.js +3 -3
  87. package/lib/banks/components/SharingModal/presenter.js +0 -4
  88. package/lib/banks/components/SharingModal/theme.js +1 -1
  89. package/lib/building/components/resources/ActionButtons/theme.js +1 -1
  90. package/lib/building/components/resources/AddToBankOptions/theme.js +2 -2
  91. package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
  92. package/lib/building/components/resources/quiz/title/Edit/theme.js +1 -1
  93. package/lib/building/components/resources/quiz/title/Title/theme.js +3 -3
  94. package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +1 -1
  95. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -3
  96. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -2
  97. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -2
  98. package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
  99. package/lib/common/components/ConfirmationModal/presenter.js +10 -7
  100. package/lib/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
  101. package/lib/common/components/PrintFontSizeModal/theme.js +1 -1
  102. package/lib/common/components/layout/header/HeaderMenuButton/theme.js +1 -1
  103. package/lib/common/components/layout/header/Timer/theme.js +3 -3
  104. package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +13 -32
  105. package/lib/common/components/layout/navbar/index.js +0 -3
  106. package/lib/common/components/layout/navbar/theme.js +1 -1
  107. package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -2
  108. package/lib/common/components/layout/sidebar/Sidebar/theme.js +10 -10
  109. package/lib/common/components/layout/sidebar/SidebarItem/theme.js +5 -5
  110. package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -1
  111. package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -2
  112. package/lib/common/components/layout/sidebar/Stimulus/theme.js +4 -4
  113. package/lib/common/components/resources/WarningWrapper/theme.js +1 -1
  114. package/lib/common/components/resources/item/ItemEdit/presenter.js +0 -5
  115. package/lib/common/components/resources/positionBox/theme.js +2 -2
  116. package/lib/common/components/resources/quiz/AddContent/Body/theme.js +1 -1
  117. package/lib/common/components/resources/quiz/AddContent/Button/theme.js +4 -4
  118. package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +0 -4
  119. package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +1 -1
  120. package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -4
  121. package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +1 -1
  122. package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -4
  123. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -1
  124. package/lib/common/components/resources/stimulus/Stimulus/presenter.js +11 -5
  125. package/lib/common/components/resources/stimulus/Stimulus/theme.js +1 -1
  126. package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +17 -9
  127. package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +1 -1
  128. package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +2 -1
  129. package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -1
  130. package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +7 -5
  131. package/lib/common/components/shared/Card/CardContent/theme.js +2 -2
  132. package/lib/common/components/shared/InteractionTypes/theme.js +1 -1
  133. package/lib/common/components/shared/PaginatedCollection/theme.js +1 -1
  134. package/lib/common/components/shared/PrintTrigger/presenter.js +0 -5
  135. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +5 -5
  136. package/lib/common/components/shared/errors/theme.js +1 -1
  137. package/lib/common/components/shared/file_selector/theme.js +2 -2
  138. package/lib/common/components/shared/overlay/theme.js +1 -1
  139. package/lib/moderating/components/events/theme.js +1 -1
  140. package/lib/moderating/components/resources/ModerateTable/theme.js +1 -1
  141. package/lib/reporting/components/charts/Distribution/theme.js +2 -2
  142. package/lib/reporting/components/charts/Legend/theme.js +2 -2
  143. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +8 -8
  144. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -4
  145. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -1
  146. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +5 -5
  147. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -2
  148. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -1
  149. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -1
  150. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -1
  151. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -2
  152. package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +1 -11
  153. package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -1
  154. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
  155. package/package.json +78 -78
  156. package/es/banks/components/CreateBankModal/styles.js +0 -15
  157. package/es/banks/components/CreateBankModal/theme.js +0 -10
  158. package/es/banks/components/EditBankModal/styles.js +0 -12
  159. package/es/banks/components/EditBankModal/theme.js +0 -9
  160. package/es/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -9
  161. package/es/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -10
  162. package/lib/banks/components/CreateBankModal/styles.js +0 -22
  163. package/lib/banks/components/CreateBankModal/theme.js +0 -17
  164. package/lib/banks/components/EditBankModal/styles.js +0 -19
  165. package/lib/banks/components/EditBankModal/theme.js +0 -16
  166. package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -16
  167. package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -17
@@ -9,8 +9,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
9
9
  colors = _ref.colors;
10
10
  return {
11
11
  tableBottomPadding: spacing.medium,
12
- colorGreen: colors.shamrock,
13
- colorGray: colors.tiara,
12
+ colorGreen: colors.contrasts.green4570,
13
+ colorGray: colors.contrasts.grey1214,
14
14
  cellPadding: '0.75rem 0.75rem'
15
15
  };
16
16
  };
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
  var generateComponentTheme = function generateComponentTheme(_ref) {
8
8
  var colors = _ref.colors;
9
9
  return {
10
- blankBorderColor: colors.tiara,
10
+ blankBorderColor: colors.contrasts.grey1214,
11
11
  blankBorderRadius: '14px',
12
12
  blankMinWidth: '20px',
13
13
  blankHeight: '20px'
@@ -15,7 +15,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
15
15
  viewPaddingRight: spacing.xxSmall,
16
16
  metricNumberContextFontSize: typography.fontSizeMedium,
17
17
  metricNumberContextFontWeight: typography.fontWeightNormal,
18
- blankBorderColor: colors.tiara,
18
+ blankBorderColor: colors.contrasts.grey1214,
19
19
  blankBorderRadius: '14px',
20
20
  blankMinWidth: '20px',
21
21
  blankHeight: '20px'
@@ -13,7 +13,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
13
13
  cardWidth: '19.5rem',
14
14
  cardPadding: spacing.medium,
15
15
  cardMargin: spacing.xSmall,
16
- quizSummaryBorderBottomColor: colors.tiara
16
+ quizSummaryBorderBottomColor: colors.contrasts.grey1214
17
17
  };
18
18
  };
19
19
  var _default = generateComponentTheme;
@@ -9,9 +9,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
9
9
  spacing = _ref.spacing,
10
10
  typography = _ref.typography;
11
11
  return {
12
- legendRectFillColor: colors.electric,
12
+ legendRectFillColor: colors.contrasts.blue4570,
13
13
  legendPadding: spacing.small,
14
- legendBorderColor: colors.ash,
14
+ legendBorderColor: colors.contrasts.grey4570,
15
15
  legendFontSize: typography.fontSizeXSmall,
16
16
  legendMargin: spacing.medium
17
17
  };
@@ -15,21 +15,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
15
15
  var _OutcomesPerStudentReport = _interopRequireDefault(require("@instructure/outcomes-ui/es/containers/OutcomesPerStudentReport"));
16
16
  var _quizCommon = require("@instructure/quiz-common");
17
17
  var _CustomPropTypes = _interopRequireDefault(require("../../../../common/util/CustomPropTypes.js"));
18
- var _ElementsForSelectors = _interopRequireDefault(require("../../../../common/util/ElementsForSelectors.js"));
19
18
  var OutcomeAnalysis = /*#__PURE__*/function (_Component) {
20
19
  (0, _inherits2.default)(OutcomeAnalysis, _Component);
21
20
  var _super = (0, _createSuper2.default)(OutcomeAnalysis);
22
21
  function OutcomeAnalysis() {
23
- var _this;
24
22
  (0, _classCallCheck2.default)(this, OutcomeAnalysis);
25
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
- args[_key] = arguments[_key];
27
- }
28
- _this = _super.call.apply(_super, [this].concat(args));
29
- _this.applicationElement = function () {
30
- return (0, _ElementsForSelectors.default)(_this.props.appContainer);
31
- };
32
- return _this;
23
+ return _super.apply(this, arguments);
33
24
  }
34
25
  (0, _createClass2.default)(OutcomeAnalysis, [{
35
26
  key: "render",
@@ -42,7 +33,6 @@ var OutcomeAnalysis = /*#__PURE__*/function (_Component) {
42
33
  loadUsersOverride = _this$props.loadUsersOverride,
43
34
  showRollups = _this$props.showRollups;
44
35
  return /*#__PURE__*/_react.default.createElement(_OutcomesPerStudentReport.default, {
45
- applicationElement: this.applicationElement,
46
36
  artifactType: "quizzes.quiz",
47
37
  artifactId: quizId,
48
38
  contextUuid: contextUuid,
@@ -14,7 +14,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
14
14
  titleMarginBottom: spacing.xSmall,
15
15
  emptyTextPadding: spacing.small,
16
16
  emptyTextFontSize: typography.fontSizeLarge,
17
- emptyTextColor: colors.ash
17
+ emptyTextColor: colors.contrasts.grey4570
18
18
  };
19
19
  };
20
20
  var _default = generateComponentTheme;
@@ -15,7 +15,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
15
15
  cardWidth: '19.5rem',
16
16
  cardPadding: spacing.medium,
17
17
  cardMargin: spacing.xSmall,
18
- quizSummaryBorderBottomColor: colors.tiara
18
+ quizSummaryBorderBottomColor: colors.contrasts.grey1214
19
19
  };
20
20
  };
21
21
  exports.generateComponentTheme = generateComponentTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.38.0",
3
+ "version": "21.0.1-rc.0+63469da90",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -10,6 +10,27 @@
10
10
  "type": "git",
11
11
  "url": "https://gerrit.instructure.com/quizzes-ui.git"
12
12
  },
13
+ "scripts": {
14
+ "clean": "ui-build --clean",
15
+ "build": "build-if-changed",
16
+ "build:all": "ui-build --modules es,cjs",
17
+ "build:watch": "ui-build --watch",
18
+ "extract": "extract-translations",
19
+ "lint": "ui-test --lint",
20
+ "lint:fix": "ui-test --lint --fix",
21
+ "eslint:fix": "eslint --fix .",
22
+ "prelint": "pnpm build",
23
+ "pretest": "pnpm build",
24
+ "test": "pnpm test:karma",
25
+ "test:karma": "ui-test",
26
+ "test:watch": "ui-test --watch",
27
+ "snyk:monitor": "snyk monitor",
28
+ "postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/; pnpm postbuild:errorImage",
29
+ "postbuild:all": "pnpm postbuild",
30
+ "postbuild:errorImage": "cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg es/reporting/components/resources/NewQuizAndItemAnalysis/; cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg lib/reporting/components/resources/NewQuizAndItemAnalysis/",
31
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
32
+ "typecheck": "tsc --noEmit"
33
+ },
13
34
  "keywords": [
14
35
  "react",
15
36
  "react-component",
@@ -22,59 +43,58 @@
22
43
  "lib"
23
44
  ],
24
45
  "dependencies": {
25
- "@instructure/emotion": "^8.56.3",
46
+ "@instructure/emotion": "^10.14.0",
26
47
  "@instructure/grading-utils": "^1.0.0",
27
48
  "@instructure/outcomes-ui": "^3.2.2",
28
- "@instructure/quiz-common": "^20.38.0",
29
- "@instructure/quiz-i18n": "^20.38.0",
30
- "@instructure/quiz-interactions": "^20.38.0",
31
- "@instructure/quiz-number-input": "^20.38.0",
32
- "@instructure/quiz-rce": "^20.38.0",
33
- "@instructure/ui-a11y-content": "^8.56.3",
34
- "@instructure/ui-alerts": "^8.56.3",
35
- "@instructure/ui-avatar": "^8.56.3",
36
- "@instructure/ui-billboard": "^8.56.3",
37
- "@instructure/ui-breadcrumb": "^8.56.3",
38
- "@instructure/ui-buttons": "^8.56.3",
39
- "@instructure/ui-checkbox": "^8.56.3",
40
- "@instructure/ui-color-utils": "^8.56.3",
41
- "@instructure/ui-dialog": "^8.56.3",
42
- "@instructure/ui-drilldown": "^8.56.3",
43
- "@instructure/ui-focusable": "^8.56.3",
44
- "@instructure/ui-grid": "^8.56.3",
45
- "@instructure/ui-heading": "^8.56.3",
46
- "@instructure/ui-i18n": "^7.22.1",
47
- "@instructure/ui-icons": "^8.56.3",
48
- "@instructure/ui-img": "^8.56.3",
49
- "@instructure/ui-link": "^8.56.3",
50
- "@instructure/ui-list": "^8.56.3",
51
- "@instructure/ui-menu": "^8.56.3",
52
- "@instructure/ui-metric": "^8.56.3",
53
- "@instructure/ui-modal": "^8.56.3",
54
- "@instructure/ui-motion": "^8.56.3",
55
- "@instructure/ui-number-input": "^8.56.3",
56
- "@instructure/ui-overlays": "^8.56.3",
57
- "@instructure/ui-pagination": "^8.56.3",
58
- "@instructure/ui-popover": "^8.56.3",
59
- "@instructure/ui-portal": "^8.56.3",
60
- "@instructure/ui-progress": "^8.56.3",
61
- "@instructure/ui-prop-types": "^8.56.3",
62
- "@instructure/ui-radio-input": "^8.56.3",
63
- "@instructure/ui-react-utils": "^8.56.3",
64
- "@instructure/ui-select": "^8.56.3",
65
- "@instructure/ui-spinner": "^8.56.3",
66
- "@instructure/ui-table": "^8.56.3",
67
- "@instructure/ui-tabs": "^8.56.3",
68
- "@instructure/ui-tag": "^8.56.3",
69
- "@instructure/ui-text": "^8.56.3",
70
- "@instructure/ui-themes": "^8.56.3",
71
- "@instructure/ui-toggle-details": "^8.56.3",
72
- "@instructure/ui-tooltip": "^8.56.3",
73
- "@instructure/ui-top-nav-bar": "^8.55.0",
74
- "@instructure/ui-tray": "8.55.1",
75
- "@instructure/ui-truncate-text": "^8.56.3",
76
- "@instructure/ui-utils": "^8.56.3",
77
- "@instructure/ui-view": "^8.56.3",
49
+ "@instructure/quiz-common": "21.0.1-rc.0+63469da90",
50
+ "@instructure/quiz-i18n": "21.0.1-rc.0+63469da90",
51
+ "@instructure/quiz-interactions": "21.0.1-rc.0+63469da90",
52
+ "@instructure/quiz-number-input": "21.0.1-rc.0+63469da90",
53
+ "@instructure/quiz-rce": "21.0.1-rc.0+63469da90",
54
+ "@instructure/ui-a11y-content": "^10.14.0",
55
+ "@instructure/ui-alerts": "^10.14.0",
56
+ "@instructure/ui-avatar": "^10.14.0",
57
+ "@instructure/ui-billboard": "^10.14.0",
58
+ "@instructure/ui-breadcrumb": "^10.14.0",
59
+ "@instructure/ui-buttons": "^10.14.0",
60
+ "@instructure/ui-checkbox": "^10.14.0",
61
+ "@instructure/ui-color-utils": "^10.14.0",
62
+ "@instructure/ui-dialog": "^10.14.0",
63
+ "@instructure/ui-drilldown": "^10.14.0",
64
+ "@instructure/ui-focusable": "^10.14.0",
65
+ "@instructure/ui-grid": "^10.14.0",
66
+ "@instructure/ui-heading": "^10.14.0",
67
+ "@instructure/ui-i18n": "^10.14.0",
68
+ "@instructure/ui-icons": "^10.14.0",
69
+ "@instructure/ui-img": "^10.14.0",
70
+ "@instructure/ui-link": "^10.14.0",
71
+ "@instructure/ui-list": "^10.14.0",
72
+ "@instructure/ui-menu": "^10.14.0",
73
+ "@instructure/ui-metric": "^10.14.0",
74
+ "@instructure/ui-modal": "^10.14.0",
75
+ "@instructure/ui-motion": "^10.14.0",
76
+ "@instructure/ui-number-input": "^10.14.0",
77
+ "@instructure/ui-overlays": "^10.14.0",
78
+ "@instructure/ui-pagination": "^10.14.0",
79
+ "@instructure/ui-popover": "^10.14.0",
80
+ "@instructure/ui-portal": "^10.14.0",
81
+ "@instructure/ui-progress": "^10.14.0",
82
+ "@instructure/ui-prop-types": "^10.14.0",
83
+ "@instructure/ui-radio-input": "^10.14.0",
84
+ "@instructure/ui-react-utils": "^10.14.0",
85
+ "@instructure/ui-select": "^10.14.0",
86
+ "@instructure/ui-spinner": "^10.14.0",
87
+ "@instructure/ui-table": "^10.14.0",
88
+ "@instructure/ui-tabs": "^10.14.0",
89
+ "@instructure/ui-tag": "^10.14.0",
90
+ "@instructure/ui-text": "^10.14.0",
91
+ "@instructure/ui-themes": "^10.14.0",
92
+ "@instructure/ui-toggle-details": "^10.14.0",
93
+ "@instructure/ui-tooltip": "^10.14.0",
94
+ "@instructure/ui-top-nav-bar": "^10.14.0",
95
+ "@instructure/ui-tray": "10.14.0",
96
+ "@instructure/ui-truncate-text": "^10.14.0",
97
+ "@instructure/ui-view": "^10.14.0",
78
98
  "aws-sdk": "^2.3.2",
79
99
  "aws4fetch": "^1.0.20",
80
100
  "classnames": "^2.2.5",
@@ -89,7 +109,7 @@
89
109
  "file-saver": "~2.0.5",
90
110
  "humps": "^2.0.0",
91
111
  "immutable": "^3.8.1",
92
- "instructure-validations": "^20.38.0",
112
+ "instructure-validations": "21.0.1-rc.0+63469da90",
93
113
  "ipaddr.js": "^1.5.4",
94
114
  "isomorphic-fetch": "^2.2.0",
95
115
  "isuuid": "^0.1.0",
@@ -120,8 +140,8 @@
120
140
  "uuid": "^3.2.1"
121
141
  },
122
142
  "devDependencies": {
123
- "@instructure/quiz-scripts": "^20.35.0",
124
- "@instructure/ui-axe-check": "^8.56.3",
143
+ "@instructure/quiz-scripts": "21.0.0",
144
+ "@instructure/ui-axe-check": "^10.14.0",
125
145
  "@instructure/ui-babel-preset": "^7.22.1",
126
146
  "@instructure/ui-test-utils": "^7.22.1",
127
147
  "@testing-library/react": "^12.1.5",
@@ -139,7 +159,7 @@
139
159
  "jquery": "^2.2.3",
140
160
  "karma-junit-reporter": "^2.0.1",
141
161
  "most-subject": "^5.3.0",
142
- "quiz-presets": "^20.38.0",
162
+ "quiz-presets": "21.0.1-rc.0+63469da90",
143
163
  "react": "^16.8.6",
144
164
  "react-addons-test-utils": "^15.6.2",
145
165
  "react-dom": "^16.8.6",
@@ -155,25 +175,5 @@
155
175
  "publishConfig": {
156
176
  "access": "public"
157
177
  },
158
- "scripts": {
159
- "clean": "ui-build --clean",
160
- "build": "build-if-changed",
161
- "build:all": "ui-build --modules es,cjs",
162
- "build:watch": "ui-build --watch",
163
- "extract": "extract-translations",
164
- "lint": "ui-test --lint",
165
- "lint:fix": "ui-test --lint --fix",
166
- "eslint:fix": "eslint --fix .",
167
- "prelint": "pnpm build",
168
- "pretest": "pnpm build",
169
- "test": "pnpm test:karma",
170
- "test:karma": "ui-test",
171
- "test:watch": "ui-test --watch",
172
- "snyk:monitor": "snyk monitor",
173
- "postbuild": "cp src/banks/components/noResults.svg lib/banks/components/; cp src/banks/components/noResults.svg es/banks/components/; pnpm postbuild:errorImage",
174
- "postbuild:all": "pnpm postbuild",
175
- "postbuild:errorImage": "cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg es/reporting/components/resources/NewQuizAndItemAnalysis/; cp src/reporting/components/resources/NewQuizAndItemAnalysis/downForRepair.svg lib/reporting/components/resources/NewQuizAndItemAnalysis/",
176
- "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
177
- "typecheck": "tsc --noEmit"
178
- }
179
- }
178
+ "gitHead": "63469da903949d76d761f2da2231b48a47df1230"
179
+ }
@@ -1,15 +0,0 @@
1
- var generateStyle = function generateStyle(componentTheme) {
2
- return {
3
- bankNameInput: {
4
- flex: '1 1 auto',
5
- fontSize: componentTheme.bankNameInputFontSize,
6
- whiteSpace: 'nowrap',
7
- textOverflow: 'ellipsis',
8
- padding: componentTheme.bankNamePadding
9
- },
10
- bankNameLabel: {
11
- padding: componentTheme.bankNameLabelPadding
12
- }
13
- };
14
- };
15
- export default generateStyle;
@@ -1,10 +0,0 @@
1
- var generateComponentTheme = function generateComponentTheme(_ref) {
2
- var typography = _ref.typography,
3
- spacing = _ref.spacing;
4
- return {
5
- bankNameInputFontSize: typography.fontSizeMedium,
6
- bankNamePadding: spacing.xSmall,
7
- bankNameLabelPadding: spacing.xSmall
8
- };
9
- };
10
- export default generateComponentTheme;
@@ -1,12 +0,0 @@
1
- var generateStyle = function generateStyle(componentTheme) {
2
- return {
3
- bankNameInput: {
4
- flex: '1 1 auto',
5
- fontSize: componentTheme.bankNameInputFontSize,
6
- whiteSpace: 'nowrap',
7
- textOverflow: 'ellipsis',
8
- padding: "0 ".concat(componentTheme.bankNameInputFontSize)
9
- }
10
- };
11
- };
12
- export default generateStyle;
@@ -1,9 +0,0 @@
1
- var generateComponentTheme = function generateComponentTheme(_ref) {
2
- var typography = _ref.typography,
3
- spacing = _ref.spacing;
4
- return {
5
- bankNameInputFontSize: typography.fontSizeMedium,
6
- bankNameInputPadding: spacing.xSmall
7
- };
8
- };
9
- export default generateComponentTheme;
@@ -1,9 +0,0 @@
1
- var generateStyle = function generateStyle(componentTheme) {
2
- return {
3
- textColor: componentTheme.textColor,
4
- backgroundColor: componentTheme.backgroundColor,
5
- backgroundHoverColor: componentTheme.backgroundHoverColor,
6
- borderColor: componentTheme.borderColor
7
- };
8
- };
9
- export default generateStyle;
@@ -1,10 +0,0 @@
1
- var generateComponentTheme = function generateComponentTheme(_ref) {
2
- var colors = _ref.colors;
3
- return {
4
- textColor: '#000',
5
- backgroundColor: colors.porcelain,
6
- backgroundHoverColor: '#d8d8d8',
7
- borderColor: '#d8d8d8'
8
- };
9
- };
10
- export default generateComponentTheme;
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var generateStyle = function generateStyle(componentTheme) {
8
- return {
9
- bankNameInput: {
10
- flex: '1 1 auto',
11
- fontSize: componentTheme.bankNameInputFontSize,
12
- whiteSpace: 'nowrap',
13
- textOverflow: 'ellipsis',
14
- padding: componentTheme.bankNamePadding
15
- },
16
- bankNameLabel: {
17
- padding: componentTheme.bankNameLabelPadding
18
- }
19
- };
20
- };
21
- var _default = generateStyle;
22
- exports.default = _default;
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var generateComponentTheme = function generateComponentTheme(_ref) {
8
- var typography = _ref.typography,
9
- spacing = _ref.spacing;
10
- return {
11
- bankNameInputFontSize: typography.fontSizeMedium,
12
- bankNamePadding: spacing.xSmall,
13
- bankNameLabelPadding: spacing.xSmall
14
- };
15
- };
16
- var _default = generateComponentTheme;
17
- exports.default = _default;
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var generateStyle = function generateStyle(componentTheme) {
8
- return {
9
- bankNameInput: {
10
- flex: '1 1 auto',
11
- fontSize: componentTheme.bankNameInputFontSize,
12
- whiteSpace: 'nowrap',
13
- textOverflow: 'ellipsis',
14
- padding: "0 ".concat(componentTheme.bankNameInputFontSize)
15
- }
16
- };
17
- };
18
- var _default = generateStyle;
19
- exports.default = _default;
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var generateComponentTheme = function generateComponentTheme(_ref) {
8
- var typography = _ref.typography,
9
- spacing = _ref.spacing;
10
- return {
11
- bankNameInputFontSize: typography.fontSizeMedium,
12
- bankNameInputPadding: spacing.xSmall
13
- };
14
- };
15
- var _default = generateComponentTheme;
16
- exports.default = _default;
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var generateStyle = function generateStyle(componentTheme) {
8
- return {
9
- textColor: componentTheme.textColor,
10
- backgroundColor: componentTheme.backgroundColor,
11
- backgroundHoverColor: componentTheme.backgroundHoverColor,
12
- borderColor: componentTheme.borderColor
13
- };
14
- };
15
- var _default = generateStyle;
16
- exports.default = _default;
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var generateComponentTheme = function generateComponentTheme(_ref) {
8
- var colors = _ref.colors;
9
- return {
10
- textColor: '#000',
11
- backgroundColor: colors.porcelain,
12
- backgroundHoverColor: '#d8d8d8',
13
- borderColor: '#d8d8d8'
14
- };
15
- };
16
- var _default = generateComponentTheme;
17
- exports.default = _default;