@instructure/quiz-core 20.37.1 → 21.0.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 (127) hide show
  1. package/es/banks/components/BankSearch/presenter.js +1 -2
  2. package/es/banks/components/CreateBankModal/presenter.js +22 -24
  3. package/es/banks/components/EditBankModal/presenter.js +24 -22
  4. package/es/banks/components/SharingModal/presenter.js +0 -4
  5. package/es/building/api/stimuli.js +2 -1
  6. package/es/building/components/resources/DeleteStimulusModal/presenter.js +14 -7
  7. package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +11 -4
  8. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +1 -2
  9. package/es/common/actions/modifications.js +3 -2
  10. package/es/common/components/ConfirmationModal/presenter.js +10 -7
  11. package/es/common/components/layout/Page/styles.js +13 -1
  12. package/es/common/components/layout/Page/theme.js +1 -2
  13. package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +13 -32
  14. package/es/common/components/layout/navbar/index.js +0 -3
  15. package/es/common/components/layout/sidebar/Sidebar/index.js +26 -4
  16. package/es/common/components/layout/sidebar/SidebarItem/presenter.js +13 -7
  17. package/es/common/components/layout/sidebar/Stimulus/presenter.js +14 -7
  18. package/es/common/components/resources/item/ItemEdit/presenter.js +0 -5
  19. package/es/common/components/resources/quiz/AddContent/Body/presenter.js +2 -2
  20. package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +0 -4
  21. package/es/common/components/resources/quiz/instructions/styles.js +5 -2
  22. package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +1 -1
  23. package/es/common/components/resources/stimulus/Stimulus/presenter.js +11 -4
  24. package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +28 -10
  25. package/es/common/components/resources/stimulus/StimulusEdit/styles.js +1 -5
  26. package/es/common/components/resources/stimulus/StimulusEdit/theme.js +0 -2
  27. package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +48 -30
  28. package/es/common/components/resources/stimulus/StimulusShow/index.js +10 -4
  29. package/es/common/components/resources/stimulus/StimulusShow/styles.js +0 -7
  30. package/es/common/components/resources/stimulus/StimulusShow/theme.js +0 -3
  31. package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +7 -5
  32. package/es/common/components/shared/InteractionTypes/index.js +4 -1
  33. package/es/common/components/shared/InteractionTypes/presenter.js +38 -15
  34. package/es/common/components/shared/PrintTrigger/presenter.js +0 -5
  35. package/es/common/components/shared/TimeUnitsInput/index.js +9 -8
  36. package/es/common/components/shared/drag_and_drop/dragAndDropUtils.js +3 -0
  37. package/es/common/records/QuizEntry.js +5 -0
  38. package/es/common/reducers/modifications.js +6 -3
  39. package/es/common/util/warningHelpers.js +15 -5
  40. package/es/moderating/components/resources/ModerateTable/presenter.js +1 -2
  41. package/es/moderating/components/sidebar/ModerateTray/presenter.js +1 -2
  42. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +1 -2
  43. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +1 -1
  44. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +1 -2
  45. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +1 -2
  46. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +1 -2
  47. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +1 -2
  48. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +1 -2
  49. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +1 -2
  50. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +1 -2
  51. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +1 -2
  52. package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +1 -2
  53. package/es/reporting/components/resources/OutcomeAnalysis/presenter.js +1 -11
  54. package/es/reporting/components/resources/ReportCard/index.js +1 -2
  55. package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +1 -2
  56. package/es/reporting/components/resources/common/AnalysisUpdateDate/index.js +1 -1
  57. package/es/taking/api/taking.js +4 -0
  58. package/lib/banks/components/BankSearch/presenter.js +3 -4
  59. package/lib/banks/components/CreateBankModal/presenter.js +23 -24
  60. package/lib/banks/components/EditBankModal/presenter.js +25 -22
  61. package/lib/banks/components/SharingModal/presenter.js +0 -4
  62. package/lib/building/api/stimuli.js +2 -1
  63. package/lib/building/components/resources/DeleteStimulusModal/presenter.js +14 -7
  64. package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +11 -4
  65. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +3 -4
  66. package/lib/common/actions/modifications.js +3 -2
  67. package/lib/common/components/ConfirmationModal/presenter.js +10 -7
  68. package/lib/common/components/layout/Page/styles.js +13 -1
  69. package/lib/common/components/layout/Page/theme.js +1 -2
  70. package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +13 -32
  71. package/lib/common/components/layout/navbar/index.js +0 -3
  72. package/lib/common/components/layout/sidebar/Sidebar/index.js +25 -3
  73. package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +15 -9
  74. package/lib/common/components/layout/sidebar/Stimulus/presenter.js +16 -9
  75. package/lib/common/components/resources/item/ItemEdit/presenter.js +0 -5
  76. package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +2 -2
  77. package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +0 -4
  78. package/lib/common/components/resources/quiz/instructions/styles.js +5 -2
  79. package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +1 -1
  80. package/lib/common/components/resources/stimulus/Stimulus/presenter.js +11 -4
  81. package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +28 -10
  82. package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +1 -5
  83. package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +0 -2
  84. package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +48 -30
  85. package/lib/common/components/resources/stimulus/StimulusShow/index.js +9 -3
  86. package/lib/common/components/resources/stimulus/StimulusShow/styles.js +0 -7
  87. package/lib/common/components/resources/stimulus/StimulusShow/theme.js +0 -3
  88. package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +7 -5
  89. package/lib/common/components/shared/InteractionTypes/index.js +4 -1
  90. package/lib/common/components/shared/InteractionTypes/presenter.js +38 -15
  91. package/lib/common/components/shared/PrintTrigger/presenter.js +0 -5
  92. package/lib/common/components/shared/TimeUnitsInput/index.js +10 -9
  93. package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +3 -0
  94. package/lib/common/records/QuizEntry.js +5 -0
  95. package/lib/common/reducers/modifications.js +6 -3
  96. package/lib/common/util/warningHelpers.js +15 -5
  97. package/lib/moderating/components/resources/ModerateTable/presenter.js +3 -4
  98. package/lib/moderating/components/sidebar/ModerateTray/presenter.js +5 -6
  99. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +6 -7
  100. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +9 -9
  101. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +2 -3
  102. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +5 -6
  103. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +4 -5
  104. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -4
  105. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +3 -4
  106. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +8 -9
  107. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +20 -21
  108. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +9 -10
  109. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +20 -21
  110. package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +1 -11
  111. package/lib/reporting/components/resources/ReportCard/index.js +1 -2
  112. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +9 -10
  113. package/lib/reporting/components/resources/common/AnalysisUpdateDate/index.js +2 -2
  114. package/lib/taking/api/taking.js +4 -0
  115. package/package.json +57 -62
  116. package/es/banks/components/CreateBankModal/styles.js +0 -15
  117. package/es/banks/components/CreateBankModal/theme.js +0 -10
  118. package/es/banks/components/EditBankModal/styles.js +0 -12
  119. package/es/banks/components/EditBankModal/theme.js +0 -9
  120. package/es/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -9
  121. package/es/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -10
  122. package/lib/banks/components/CreateBankModal/styles.js +0 -22
  123. package/lib/banks/components/CreateBankModal/theme.js +0 -17
  124. package/lib/banks/components/EditBankModal/styles.js +0 -19
  125. package/lib/banks/components/EditBankModal/theme.js +0 -16
  126. package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -16
  127. package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.37.1",
3
+ "version": "21.0.0",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -22,63 +22,53 @@
22
22
  "lib"
23
23
  ],
24
24
  "dependencies": {
25
- "@instructure/emotion": "^8.56.3",
25
+ "@instructure/emotion": "^9.11.1",
26
26
  "@instructure/grading-utils": "^1.0.0",
27
27
  "@instructure/outcomes-ui": "^3.2.2",
28
- "@instructure/quiz-common": "^20.37.1",
29
- "@instructure/quiz-i18n": "^20.37.1",
30
- "@instructure/quiz-interactions": "^20.37.1",
31
- "@instructure/quiz-number-input": "^20.37.1",
32
- "@instructure/quiz-rce": "^20.37.1",
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-flex": "^8.56.3",
44
- "@instructure/ui-focusable": "^8.56.3",
45
- "@instructure/ui-form-field": "^8.56.3",
46
- "@instructure/ui-grid": "^8.56.3",
47
- "@instructure/ui-heading": "^8.56.3",
48
- "@instructure/ui-i18n": "^7.22.1",
49
- "@instructure/ui-icons": "^8.56.3",
50
- "@instructure/ui-img": "^8.56.3",
51
- "@instructure/ui-link": "^8.56.3",
52
- "@instructure/ui-list": "^8.56.3",
53
- "@instructure/ui-menu": "^8.56.3",
54
- "@instructure/ui-metric": "^8.56.3",
55
- "@instructure/ui-modal": "^8.56.3",
56
- "@instructure/ui-motion": "^8.56.3",
57
- "@instructure/ui-number-input": "^8.56.3",
58
- "@instructure/ui-overlays": "^8.56.3",
59
- "@instructure/ui-pagination": "^8.56.3",
60
- "@instructure/ui-popover": "^8.56.3",
61
- "@instructure/ui-portal": "^8.56.3",
62
- "@instructure/ui-progress": "^8.56.3",
63
- "@instructure/ui-prop-types": "^8.56.3",
64
- "@instructure/ui-radio-input": "^8.56.3",
65
- "@instructure/ui-react-utils": "^8.56.3",
66
- "@instructure/ui-select": "^8.56.3",
67
- "@instructure/ui-simple-select": "^8.56.3",
68
- "@instructure/ui-spinner": "^8.56.3",
69
- "@instructure/ui-table": "^8.56.3",
70
- "@instructure/ui-tabs": "^8.56.3",
71
- "@instructure/ui-tag": "^8.56.3",
72
- "@instructure/ui-text": "^8.56.3",
73
- "@instructure/ui-text-input": "^8.56.3",
74
- "@instructure/ui-themes": "^8.56.3",
75
- "@instructure/ui-toggle-details": "^8.56.3",
76
- "@instructure/ui-tooltip": "^8.56.3",
77
- "@instructure/ui-top-nav-bar": "^8.55.0",
78
- "@instructure/ui-tray": "8.55.1",
79
- "@instructure/ui-truncate-text": "^8.56.3",
80
- "@instructure/ui-utils": "^8.56.3",
81
- "@instructure/ui-view": "^8.56.3",
28
+ "@instructure/ui-a11y-content": "^9.11.1",
29
+ "@instructure/ui-alerts": "^9.11.1",
30
+ "@instructure/ui-avatar": "^9.11.1",
31
+ "@instructure/ui-billboard": "^9.11.1",
32
+ "@instructure/ui-breadcrumb": "^9.11.1",
33
+ "@instructure/ui-buttons": "^9.11.1",
34
+ "@instructure/ui-checkbox": "^9.11.1",
35
+ "@instructure/ui-color-utils": "^9.11.1",
36
+ "@instructure/ui-dialog": "^9.11.1",
37
+ "@instructure/ui-drilldown": "^9.11.1",
38
+ "@instructure/ui-focusable": "^9.11.1",
39
+ "@instructure/ui-grid": "^9.11.1",
40
+ "@instructure/ui-heading": "^9.11.1",
41
+ "@instructure/ui-i18n": "^9.11.1",
42
+ "@instructure/ui-icons": "^9.11.1",
43
+ "@instructure/ui-img": "^9.11.1",
44
+ "@instructure/ui-link": "^9.11.1",
45
+ "@instructure/ui-list": "^9.11.1",
46
+ "@instructure/ui-menu": "^9.11.1",
47
+ "@instructure/ui-metric": "^9.11.1",
48
+ "@instructure/ui-modal": "^9.11.1",
49
+ "@instructure/ui-motion": "^9.11.1",
50
+ "@instructure/ui-number-input": "^9.11.1",
51
+ "@instructure/ui-overlays": "^9.11.1",
52
+ "@instructure/ui-pagination": "^9.11.1",
53
+ "@instructure/ui-popover": "^9.11.1",
54
+ "@instructure/ui-portal": "^9.11.1",
55
+ "@instructure/ui-progress": "^9.11.1",
56
+ "@instructure/ui-prop-types": "^9.11.1",
57
+ "@instructure/ui-radio-input": "^9.11.1",
58
+ "@instructure/ui-react-utils": "^9.11.1",
59
+ "@instructure/ui-select": "^9.11.1",
60
+ "@instructure/ui-spinner": "^9.11.1",
61
+ "@instructure/ui-table": "^9.11.1",
62
+ "@instructure/ui-tabs": "^9.11.1",
63
+ "@instructure/ui-tag": "^9.11.1",
64
+ "@instructure/ui-text": "^9.11.1",
65
+ "@instructure/ui-themes": "^9.11.1",
66
+ "@instructure/ui-toggle-details": "^9.11.1",
67
+ "@instructure/ui-tooltip": "^9.11.1",
68
+ "@instructure/ui-top-nav-bar": "^9.11.1",
69
+ "@instructure/ui-tray": "9.11.1",
70
+ "@instructure/ui-truncate-text": "^9.11.1",
71
+ "@instructure/ui-view": "^9.11.1",
82
72
  "aws-sdk": "^2.3.2",
83
73
  "aws4fetch": "^1.0.20",
84
74
  "classnames": "^2.2.5",
@@ -93,7 +83,6 @@
93
83
  "file-saver": "~2.0.5",
94
84
  "humps": "^2.0.0",
95
85
  "immutable": "^3.8.1",
96
- "instructure-validations": "^20.37.1",
97
86
  "ipaddr.js": "^1.5.4",
98
87
  "isomorphic-fetch": "^2.2.0",
99
88
  "isuuid": "^0.1.0",
@@ -121,11 +110,16 @@
121
110
  "scriptjs": "^2.5.8",
122
111
  "store": "^1.3.20",
123
112
  "striptags": "^2.0.0",
124
- "uuid": "^3.2.1"
113
+ "uuid": "^3.2.1",
114
+ "@instructure/quiz-common": "21.0.0",
115
+ "@instructure/quiz-interactions": "21.0.0",
116
+ "@instructure/quiz-i18n": "21.0.0",
117
+ "@instructure/quiz-rce": "21.0.0",
118
+ "instructure-validations": "21.0.0",
119
+ "@instructure/quiz-number-input": "21.0.0"
125
120
  },
126
121
  "devDependencies": {
127
- "@instructure/quiz-scripts": "^20.35.0",
128
- "@instructure/ui-axe-check": "^8.56.3",
122
+ "@instructure/ui-axe-check": "^9.11.1",
129
123
  "@instructure/ui-babel-preset": "^7.22.1",
130
124
  "@instructure/ui-test-utils": "^7.22.1",
131
125
  "@testing-library/react": "^12.1.5",
@@ -143,7 +137,6 @@
143
137
  "jquery": "^2.2.3",
144
138
  "karma-junit-reporter": "^2.0.1",
145
139
  "most-subject": "^5.3.0",
146
- "quiz-presets": "^20.37.1",
147
140
  "react": "^16.8.6",
148
141
  "react-addons-test-utils": "^15.6.2",
149
142
  "react-dom": "^16.8.6",
@@ -151,7 +144,9 @@
151
144
  "redux-mock-store": "^1.3.0",
152
145
  "request": "^2.74.0",
153
146
  "sinon": "^6.1.3",
154
- "sinon-chai": "^3.3.0"
147
+ "sinon-chai": "^3.3.0",
148
+ "@instructure/quiz-scripts": "21.0.0",
149
+ "quiz-presets": "21.0.0"
155
150
  },
156
151
  "peerDependencies": {
157
152
  "react": "^15 || ^16"
@@ -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;