@okta/odyssey-react-mui 0.15.0 → 0.15.2

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 (176) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +33 -9
  3. package/dist/components/Icon/Add.d.ts +1 -1
  4. package/dist/components/Icon/Add.js.map +1 -1
  5. package/dist/components/Icon/AddCircle.d.ts +1 -1
  6. package/dist/components/Icon/AddCircle.js.map +1 -1
  7. package/dist/components/Icon/AlertCircle.d.ts +1 -1
  8. package/dist/components/Icon/AlertCircle.js.map +1 -1
  9. package/dist/components/Icon/AlertCircleFilled.d.ts +1 -1
  10. package/dist/components/Icon/AlertCircleFilled.js.map +1 -1
  11. package/dist/components/Icon/AlertTriangleFilled.d.ts +1 -1
  12. package/dist/components/Icon/AlertTriangleFilled.js.map +1 -1
  13. package/dist/components/Icon/Anchor.d.ts +1 -1
  14. package/dist/components/Icon/Anchor.js.map +1 -1
  15. package/dist/components/Icon/ArrowDown.d.ts +1 -1
  16. package/dist/components/Icon/ArrowDown.js.map +1 -1
  17. package/dist/components/Icon/ArrowLeft.d.ts +1 -1
  18. package/dist/components/Icon/ArrowLeft.js.map +1 -1
  19. package/dist/components/Icon/ArrowRight.d.ts +1 -1
  20. package/dist/components/Icon/ArrowRight.js.map +1 -1
  21. package/dist/components/Icon/ArrowUp.d.ts +1 -1
  22. package/dist/components/Icon/ArrowUp.js.map +1 -1
  23. package/dist/components/Icon/ArrowUpDown.d.ts +16 -0
  24. package/dist/components/Icon/ArrowUpDown.d.ts.map +1 -0
  25. package/dist/components/Icon/ArrowUpDown.js +34 -0
  26. package/dist/components/Icon/ArrowUpDown.js.map +1 -0
  27. package/dist/components/Icon/Calendar.d.ts +1 -1
  28. package/dist/components/Icon/Calendar.js.map +1 -1
  29. package/dist/components/Icon/Check.d.ts +1 -1
  30. package/dist/components/Icon/Check.js.map +1 -1
  31. package/dist/components/Icon/CheckCircleFilled.d.ts +1 -1
  32. package/dist/components/Icon/CheckCircleFilled.js.map +1 -1
  33. package/dist/components/Icon/ChevronDown.d.ts +1 -1
  34. package/dist/components/Icon/ChevronDown.js.map +1 -1
  35. package/dist/components/Icon/ChevronUp.d.ts +1 -1
  36. package/dist/components/Icon/ChevronUp.js.map +1 -1
  37. package/dist/components/Icon/Close.d.ts +1 -1
  38. package/dist/components/Icon/Close.js.map +1 -1
  39. package/dist/components/Icon/CloseCircleFilled.d.ts +1 -1
  40. package/dist/components/Icon/CloseCircleFilled.js.map +1 -1
  41. package/dist/components/Icon/Copy.d.ts +1 -1
  42. package/dist/components/Icon/Copy.js.map +1 -1
  43. package/dist/components/Icon/Delete.d.ts +1 -1
  44. package/dist/components/Icon/Delete.js.map +1 -1
  45. package/dist/components/Icon/Download.d.ts +1 -1
  46. package/dist/components/Icon/Download.js.map +1 -1
  47. package/dist/components/Icon/DragHandle.d.ts +1 -1
  48. package/dist/components/Icon/DragHandle.js.map +1 -1
  49. package/dist/components/Icon/Edit.d.ts +1 -1
  50. package/dist/components/Icon/Edit.js.map +1 -1
  51. package/dist/components/Icon/ExternalLink.d.ts +1 -1
  52. package/dist/components/Icon/ExternalLink.js.map +1 -1
  53. package/dist/components/Icon/Eye.d.ts +1 -1
  54. package/dist/components/Icon/Eye.js.map +1 -1
  55. package/dist/components/Icon/EyeOff.d.ts +1 -1
  56. package/dist/components/Icon/EyeOff.js.map +1 -1
  57. package/dist/components/Icon/Filter.d.ts +1 -1
  58. package/dist/components/Icon/Filter.js.map +1 -1
  59. package/dist/components/Icon/Globe.d.ts +1 -1
  60. package/dist/components/Icon/Globe.js.map +1 -1
  61. package/dist/components/Icon/Home.d.ts +1 -1
  62. package/dist/components/Icon/Home.js.map +1 -1
  63. package/dist/components/Icon/Icon.d.ts +1 -1
  64. package/dist/components/Icon/Icon.js +6 -5
  65. package/dist/components/Icon/Icon.js.map +1 -1
  66. package/dist/components/Icon/InformationCircle.d.ts +1 -1
  67. package/dist/components/Icon/InformationCircle.js.map +1 -1
  68. package/dist/components/Icon/InformationCircleFilled.d.ts +1 -1
  69. package/dist/components/Icon/InformationCircleFilled.js.map +1 -1
  70. package/dist/components/Icon/Notification.d.ts +1 -1
  71. package/dist/components/Icon/Notification.js.map +1 -1
  72. package/dist/components/Icon/OverflowVertical.d.ts +1 -1
  73. package/dist/components/Icon/OverflowVertical.js.map +1 -1
  74. package/dist/components/Icon/QuestionCircle.d.ts +1 -1
  75. package/dist/components/Icon/QuestionCircle.js.map +1 -1
  76. package/dist/components/Icon/QuestionCircleFilled.d.ts +1 -1
  77. package/dist/components/Icon/QuestionCircleFilled.js.map +1 -1
  78. package/dist/components/Icon/Search.d.ts +1 -1
  79. package/dist/components/Icon/Search.js.map +1 -1
  80. package/dist/components/Icon/Settings.d.ts +1 -1
  81. package/dist/components/Icon/Settings.js.map +1 -1
  82. package/dist/components/Icon/Subtract.d.ts +1 -1
  83. package/dist/components/Icon/Subtract.js.map +1 -1
  84. package/dist/components/Icon/SvgIcon.js.map +1 -1
  85. package/dist/components/Icon/User.d.ts +1 -1
  86. package/dist/components/Icon/User.js.map +1 -1
  87. package/dist/components/Icon/UserGroup.d.ts +1 -1
  88. package/dist/components/Icon/UserGroup.js.map +1 -1
  89. package/dist/components/Icon/index.d.ts +41 -39
  90. package/dist/components/Icon/index.d.ts.map +1 -1
  91. package/dist/components/Icon/index.js +3 -0
  92. package/dist/components/Icon/index.js.map +1 -1
  93. package/dist/components/Icon/types.js.map +1 -1
  94. package/dist/components/Link/Link.d.ts +1 -1
  95. package/dist/components/Link/Link.js +1 -1
  96. package/dist/components/Link/Link.js.map +1 -1
  97. package/dist/components/Link/index.js.map +1 -1
  98. package/dist/components/PasswordInput/PasswordInput.d.ts +1 -1
  99. package/dist/components/PasswordInput/PasswordInput.js +5 -7
  100. package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
  101. package/dist/components/PasswordInput/index.js.map +1 -1
  102. package/dist/components/ThemeProvider/ThemeProvider.d.ts +16 -0
  103. package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  104. package/dist/components/ThemeProvider/ThemeProvider.js +24 -0
  105. package/dist/components/ThemeProvider/ThemeProvider.js.map +1 -0
  106. package/dist/components/ThemeProvider/index.d.ts +13 -0
  107. package/dist/components/ThemeProvider/index.d.ts.map +1 -0
  108. package/dist/components/ThemeProvider/index.js +13 -0
  109. package/dist/components/ThemeProvider/index.js.map +1 -0
  110. package/dist/components/index.d.ts +3 -2
  111. package/dist/components/index.d.ts.map +1 -1
  112. package/dist/components/index.js +3 -2
  113. package/dist/components/index.js.map +1 -1
  114. package/dist/index.d.ts +7 -0
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +5 -0
  117. package/dist/index.js.map +1 -1
  118. package/dist/themes/index.js.map +1 -1
  119. package/dist/themes/odyssey/components.d.ts.map +1 -1
  120. package/dist/themes/odyssey/components.js +1068 -600
  121. package/dist/themes/odyssey/components.js.map +1 -1
  122. package/dist/themes/odyssey/components.types.d.ts +15 -1
  123. package/dist/themes/odyssey/components.types.d.ts.map +1 -1
  124. package/dist/themes/odyssey/components.types.js.map +1 -1
  125. package/dist/themes/odyssey/index.js.map +1 -1
  126. package/dist/themes/odyssey/mixins.js.map +1 -1
  127. package/dist/themes/odyssey/mixins.types.js.map +1 -1
  128. package/dist/themes/odyssey/palette.js.map +1 -1
  129. package/dist/themes/odyssey/palette.types.js.map +1 -1
  130. package/dist/themes/odyssey/shape.d.ts.map +1 -1
  131. package/dist/themes/odyssey/shape.js +2 -1
  132. package/dist/themes/odyssey/shape.js.map +1 -1
  133. package/dist/themes/odyssey/spacing.js.map +1 -1
  134. package/dist/themes/odyssey/theme.d.ts +2 -2
  135. package/dist/themes/odyssey/theme.d.ts.map +1 -1
  136. package/dist/themes/odyssey/theme.js +8 -8
  137. package/dist/themes/odyssey/theme.js.map +1 -1
  138. package/dist/themes/odyssey/typography.js +6 -6
  139. package/dist/themes/odyssey/typography.js.map +1 -1
  140. package/dist/themes/odyssey/typography.types.d.ts +0 -1
  141. package/dist/themes/odyssey/typography.types.d.ts.map +1 -1
  142. package/dist/themes/odyssey/typography.types.js.map +1 -1
  143. package/dist/utils/{oid.d.ts → createUniqueId.d.ts} +3 -4
  144. package/dist/utils/createUniqueId.d.ts.map +1 -0
  145. package/dist/utils/{oid.js → createUniqueId.js} +3 -9
  146. package/dist/utils/createUniqueId.js.map +1 -0
  147. package/dist/utils/index.d.ts +2 -1
  148. package/dist/utils/index.d.ts.map +1 -1
  149. package/dist/utils/index.js +2 -1
  150. package/dist/utils/index.js.map +1 -1
  151. package/dist/utils/useUniqueId.d.ts +13 -0
  152. package/dist/utils/useUniqueId.d.ts.map +1 -0
  153. package/dist/utils/useUniqueId.js +18 -0
  154. package/dist/utils/useUniqueId.js.map +1 -0
  155. package/jest.config.cjs +1 -0
  156. package/package.json +8 -5
  157. package/src/components/Icon/ArrowUpDown.tsx +44 -0
  158. package/src/components/Icon/index.tsx +4 -0
  159. package/src/components/Link/Link.tsx +1 -1
  160. package/src/components/PasswordInput/PasswordInput.tsx +4 -4
  161. package/src/components/ThemeProvider/ThemeProvider.tsx +20 -0
  162. package/src/components/ThemeProvider/index.ts +13 -0
  163. package/src/components/index.ts +3 -2
  164. package/src/index.ts +80 -0
  165. package/src/themes/odyssey/components.tsx +362 -10
  166. package/src/themes/odyssey/components.types.ts +17 -1
  167. package/src/themes/odyssey/shape.ts +7 -1
  168. package/src/themes/odyssey/theme.ts +7 -7
  169. package/src/themes/odyssey/typography.ts +6 -6
  170. package/src/themes/odyssey/typography.types.ts +4 -5
  171. package/src/utils/{oid.test.ts → createUniqueId.test.ts} +5 -4
  172. package/src/utils/{oid.ts → createUniqueId.ts} +4 -9
  173. package/src/utils/index.ts +2 -1
  174. package/src/utils/useUniqueId.ts +21 -0
  175. package/dist/utils/oid.d.ts.map +0 -1
  176. package/dist/utils/oid.js.map +0 -1
@@ -10,7 +10,13 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import { outlinedInputClasses } from "@mui/material/OutlinedInput";
13
- import { AlertTriangleFilledIcon, CheckCircleFilledIcon, InformationCircleFilledIcon } from "../../components/Icon/index.js";
13
+ import { tableBodyClasses } from "@mui/material/TableBody";
14
+ import { tableCellClasses } from "@mui/material/TableCell";
15
+ import { tableHeadClasses } from "@mui/material/TableHead";
16
+ import { tableRowClasses } from "@mui/material/TableRow";
17
+ import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
18
+ import { tooltipClasses } from "@mui/material/Tooltip";
19
+ import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, InformationCircleFilledIcon } from "../../components/Icon/index.js";
14
20
  import { jsx as _jsx } from "react/jsx-runtime";
15
21
  export const components = {
16
22
  MuiAlert: {
@@ -23,247 +29,288 @@ export const components = {
23
29
  }
24
30
  },
25
31
  styleOverrides: {
26
- root: ({
27
- ownerState,
28
- theme
29
- }) => ({
30
- padding: theme.spacing(4),
31
- gap: theme.spacing(4),
32
- color: theme.palette.text.primary,
33
- ...(ownerState.severity && {
34
- backgroundColor: theme.palette[ownerState.severity].lighter,
35
- borderColor: theme.palette[ownerState.severity].light
36
- }),
37
- ...(ownerState.variant === "banner" && {
38
- position: "relative",
39
- justifyContent: "center",
40
- alignItems: "center",
41
- borderWidth: 0
42
- }),
43
- ...(ownerState.variant === "infobox" && {
44
- borderStyle: "solid",
45
- borderWidth: 1,
46
- "&:not(:last-child)": {
47
- marginBottom: theme.spacing(4)
48
- }
49
- }),
50
- ...(ownerState.variant === "toast" && {
51
- maxWidth: theme.mixins.maxWidth,
52
- borderStyle: "solid",
53
- borderWidth: 1,
54
- position: "relative",
55
- alignItems: "start"
56
- })
57
- }),
58
- action: ({
59
- ownerState,
60
- theme
61
- }) => ({ ...(ownerState.variant === "banner" && {
62
- padding: 0,
32
+ root: _ref => {
33
+ let {
34
+ ownerState,
35
+ theme
36
+ } = _ref;
37
+ return {
38
+ padding: theme.spacing(4),
39
+ gap: theme.spacing(4),
40
+ color: theme.palette.text.primary,
41
+ ...(ownerState.severity && {
42
+ backgroundColor: theme.palette[ownerState.severity].lighter,
43
+ borderColor: theme.palette[ownerState.severity].light
44
+ }),
45
+ ...(ownerState.variant === "banner" && {
46
+ position: "relative",
47
+ justifyContent: "center",
48
+ alignItems: "center",
49
+ borderWidth: 0,
50
+ borderRadius: 0
51
+ }),
52
+ ...(ownerState.variant === "infobox" && {
53
+ borderStyle: theme.mixins.borderStyle,
54
+ borderWidth: theme.mixins.borderWidth,
55
+ borderRadius: theme.mixins.borderRadius,
56
+ "&:not(:last-child)": {
57
+ marginBottom: theme.spacing(4)
58
+ }
59
+ }),
60
+ ...(ownerState.variant === "toast" && {
61
+ maxWidth: theme.mixins.maxWidth,
62
+ borderStyle: theme.mixins.borderStyle,
63
+ borderWidth: theme.mixins.borderWidth,
64
+ borderRadius: theme.mixins.borderRadius,
65
+ position: "relative",
66
+ alignItems: "start"
67
+ })
68
+ };
69
+ },
70
+ action: _ref2 => {
71
+ let {
72
+ ownerState,
73
+ theme
74
+ } = _ref2;
75
+ return { ...(ownerState.variant === "banner" && {
76
+ padding: 0,
77
+ marginRight: 0,
78
+ top: "50%",
79
+ right: theme.spacing(4),
80
+ position: "absolute",
81
+ transform: "translateY(-50%)"
82
+ }),
83
+ ...(ownerState.variant === "toast" && {
84
+ position: "absolute",
85
+ top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
86
+ right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
87
+ padding: 0,
88
+ marginLeft: 0,
89
+ marginRight: 0
90
+ })
91
+ };
92
+ },
93
+ icon: _ref3 => {
94
+ let {
95
+ ownerState,
96
+ theme
97
+ } = _ref3;
98
+ return {
63
99
  marginRight: 0,
64
- top: "50%",
65
- right: theme.spacing(4),
66
- position: "absolute",
67
- transform: "translateY(-50%)"
68
- }),
69
- ...(ownerState.variant === "toast" && {
70
- position: "absolute",
71
- top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
72
- right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
73
100
  padding: 0,
74
- marginLeft: 0,
75
- marginRight: 0
76
- })
77
- }),
78
- icon: ({
79
- ownerState,
80
- theme
81
- }) => ({
82
- marginRight: 0,
83
- padding: 0,
84
- fontSize: "1.429rem",
85
- opacity: 1,
86
- ...(ownerState.severity && {
87
- color: theme.palette[ownerState.severity].main
88
- }),
89
- ...(ownerState.severity === "warning" && {
90
- color: theme.palette[ownerState.severity].dark
91
- })
92
- }),
93
- message: ({
94
- ownerState,
95
- theme
96
- }) => ({
97
- padding: 0,
98
- lineHeight: theme.typography.body1.lineHeight,
99
- ...(ownerState.variant === "banner" && {
100
- display: "flex",
101
- justifyContent: "space-between",
102
- gap: theme.spacing(4)
103
- }),
104
- ...(ownerState.variant === "toast" && {
105
- flexGrow: 1
106
- })
107
- })
101
+ fontSize: "1.429rem",
102
+ opacity: 1,
103
+ ...(ownerState.severity && {
104
+ color: theme.palette[ownerState.severity].main
105
+ }),
106
+ ...(ownerState.severity === "warning" && {
107
+ color: theme.palette[ownerState.severity].dark
108
+ })
109
+ };
110
+ },
111
+ message: _ref4 => {
112
+ let {
113
+ ownerState,
114
+ theme
115
+ } = _ref4;
116
+ return {
117
+ padding: 0,
118
+ lineHeight: theme.typography.body1.lineHeight,
119
+ overflow: "visible",
120
+ ...(ownerState.variant === "banner" && {
121
+ display: "flex",
122
+ justifyContent: "space-between",
123
+ gap: theme.spacing(4)
124
+ }),
125
+ ...(ownerState.variant === "toast" && {
126
+ flexGrow: 1
127
+ })
128
+ };
129
+ }
108
130
  }
109
131
  },
110
132
  MuiAlertTitle: {
111
133
  styleOverrides: {
112
- root: ({
113
- theme
114
- }) => ({
115
- marginTop: 0,
116
- marginBottom: theme.spacing(1),
117
- lineHeight: theme.typography.h6.lineHeight,
118
- fontSize: theme.typography.h6.fontSize,
119
- fontWeight: theme.typography.fontWeightBold
120
- })
134
+ root: _ref5 => {
135
+ let {
136
+ theme
137
+ } = _ref5;
138
+ return {
139
+ marginTop: 0,
140
+ marginBottom: theme.spacing(1),
141
+ lineHeight: theme.typography.h6.lineHeight,
142
+ fontSize: theme.typography.h6.fontSize,
143
+ fontWeight: theme.typography.fontWeightBold
144
+ };
145
+ }
121
146
  }
122
147
  },
123
148
  MuiButton: {
124
149
  defaultProps: {
150
+ variant: "primary",
125
151
  disableElevation: true
126
152
  },
127
153
  variants: [{
128
154
  props: {
129
155
  variant: "primary"
130
156
  },
131
- style: ({
132
- theme
133
- }) => ({
134
- fontWeight: 600,
135
- color: theme.palette.common.white,
136
- borderColor: "transparent",
137
- backgroundColor: theme.palette.primary.main,
138
- "&:hover, &:focus-visible": {
139
- backgroundColor: theme.palette.primary.dark
140
- },
141
- "&:focus-visible": {
142
- outlineColor: theme.palette.primary.main
143
- },
144
- "&:active": {
145
- backgroundColor: theme.palette.primary.main
146
- },
147
- "&:disabled": {
157
+ style: _ref6 => {
158
+ let {
159
+ theme
160
+ } = _ref6;
161
+ return {
162
+ fontWeight: 600,
148
163
  color: theme.palette.common.white,
149
- backgroundColor: theme.palette.primary.light
150
- }
151
- })
164
+ borderColor: "transparent",
165
+ backgroundColor: theme.palette.primary.main,
166
+ "&:hover, &:focus-visible": {
167
+ backgroundColor: theme.palette.primary.dark
168
+ },
169
+ "&:focus-visible": {
170
+ outlineColor: theme.palette.primary.main
171
+ },
172
+ "&:active": {
173
+ backgroundColor: theme.palette.primary.main
174
+ },
175
+ "&:disabled": {
176
+ color: theme.palette.common.white,
177
+ backgroundColor: theme.palette.primary.light
178
+ }
179
+ };
180
+ }
152
181
  }, {
153
182
  props: {
154
183
  variant: "secondary"
155
184
  },
156
- style: ({
157
- theme
158
- }) => ({
159
- backgroundColor: theme.palette.grey[50],
160
- borderColor: theme.palette.grey[200],
161
- color: theme.palette.text.primary,
162
- "&:hover, &:focus-visible": {
163
- backgroundColor: theme.palette.primary.lighter,
164
- borderColor: theme.palette.primary.light,
165
- color: theme.palette.primary.main
166
- },
167
- "&:focus-visible": {
168
- outlineColor: theme.palette.primary.main
169
- },
170
- "&:active": {
171
- borderColor: theme.palette.primary.main
172
- },
173
- "&:disabled": {
174
- borderColor: theme.palette.grey[100],
175
- backgroundColor: theme.palette.grey[100],
176
- color: theme.palette.grey[500]
177
- }
178
- })
185
+ style: _ref7 => {
186
+ let {
187
+ theme
188
+ } = _ref7;
189
+ return {
190
+ backgroundColor: theme.palette.grey[50],
191
+ borderColor: theme.palette.grey[200],
192
+ color: theme.palette.text.primary,
193
+ "&:hover, &:focus-visible": {
194
+ backgroundColor: theme.palette.primary.lighter,
195
+ borderColor: theme.palette.primary.light,
196
+ color: theme.palette.primary.main
197
+ },
198
+ "&:focus-visible": {
199
+ outlineColor: theme.palette.primary.main
200
+ },
201
+ "&:active": {
202
+ borderColor: theme.palette.primary.main
203
+ },
204
+ "&:disabled": {
205
+ borderColor: theme.palette.grey[100],
206
+ backgroundColor: theme.palette.grey[100],
207
+ color: theme.palette.grey[500]
208
+ }
209
+ };
210
+ }
179
211
  }, {
180
212
  props: {
181
213
  variant: "danger"
182
214
  },
183
- style: ({
184
- theme
185
- }) => ({
186
- backgroundColor: theme.palette.error.main,
187
- color: theme.palette.common.white,
188
- borderColor: "transparent",
189
- "&:hover": {
190
- backgroundColor: theme.palette.error.dark
191
- },
192
- "&:focus-visible": {
193
- outlineColor: theme.palette.error.main,
194
- backgroundColor: theme.palette.error.dark
195
- },
196
- "&:active": {
197
- backgroundColor: theme.palette.error.main
198
- },
199
- "&:disabled": {
215
+ style: _ref8 => {
216
+ let {
217
+ theme
218
+ } = _ref8;
219
+ return {
220
+ backgroundColor: theme.palette.error.main,
200
221
  color: theme.palette.common.white,
201
- backgroundColor: theme.palette.error.light
202
- }
203
- })
222
+ borderColor: "transparent",
223
+ "&:hover": {
224
+ backgroundColor: theme.palette.error.dark
225
+ },
226
+ "&:focus-visible": {
227
+ outlineColor: theme.palette.error.main,
228
+ backgroundColor: theme.palette.error.dark
229
+ },
230
+ "&:active": {
231
+ backgroundColor: theme.palette.error.main
232
+ },
233
+ "&:disabled": {
234
+ color: theme.palette.common.white,
235
+ backgroundColor: theme.palette.error.light
236
+ }
237
+ };
238
+ }
204
239
  }, {
205
240
  props: {
206
241
  variant: "floating"
207
242
  },
208
- style: ({
209
- theme
210
- }) => ({
211
- backgroundColor: theme.palette.common.white,
212
- color: theme.palette.text.primary,
213
- borderColor: "transparent",
214
- "&:hover, &:focus-visible": {
215
- backgroundColor: "rgba(29, 29, 33, 0.1)",
216
- borderColor: "transparent"
217
- },
218
- "&:focus-visible": {
219
- outlineColor: theme.palette.primary.main
220
- },
221
- "&:active": {
222
- backgroundColor: "rgba(29, 29, 33, 0.2)",
223
- borderColor: "transparent"
224
- },
225
- "&:disabled": {
226
- backgroundColor: "rgba(235, 235, 237, 0.6)",
227
- color: theme.palette.text.secondary,
228
- borderColor: "transparent"
229
- }
230
- })
243
+ style: _ref9 => {
244
+ let {
245
+ theme
246
+ } = _ref9;
247
+ return {
248
+ backgroundColor: theme.palette.common.white,
249
+ color: theme.palette.text.primary,
250
+ borderColor: "transparent",
251
+ "&:hover, &:focus-visible": {
252
+ backgroundColor: "rgba(29, 29, 33, 0.1)",
253
+ borderColor: "transparent"
254
+ },
255
+ "&:focus-visible": {
256
+ outlineColor: theme.palette.primary.main
257
+ },
258
+ "&:active": {
259
+ backgroundColor: "rgba(29, 29, 33, 0.2)",
260
+ borderColor: "transparent"
261
+ },
262
+ "&:disabled": {
263
+ backgroundColor: "rgba(235, 235, 237, 0.6)",
264
+ color: theme.palette.text.secondary,
265
+ borderColor: "transparent"
266
+ }
267
+ };
268
+ }
231
269
  }, {
232
270
  props: {
233
271
  size: "s"
234
272
  },
235
- style: ({
236
- theme
237
- }) => ({
238
- paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
239
- paddingInline: `calc(${theme.spacing(3)} - 1px)`,
240
- fontSize: "1rem"
241
- })
273
+ style: _ref10 => {
274
+ let {
275
+ theme
276
+ } = _ref10;
277
+ return {
278
+ paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
279
+ paddingInline: `calc(${theme.spacing(3)} - 1px)`,
280
+ fontSize: "1rem"
281
+ };
282
+ }
242
283
  }, {
243
284
  props: {
244
285
  size: "l"
245
286
  },
246
- style: ({
247
- theme
248
- }) => ({
249
- paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
250
- paddingInline: `calc(${theme.spacing(4)} - 1px)`
251
- })
287
+ style: _ref11 => {
288
+ let {
289
+ theme
290
+ } = _ref11;
291
+ return {
292
+ paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
293
+ paddingInline: `calc(${theme.spacing(4)} - 1px)`
294
+ };
295
+ }
252
296
  }, {
253
297
  props: {
254
298
  fullWidth: true
255
299
  },
256
- style: ({
257
- theme
258
- }) => ({
259
- display: "block",
260
- width: "100%",
261
- marginBlock: "0",
262
- marginInline: "0",
263
- "&:not(:last-child)": {
264
- marginBlockEnd: theme.spacing(4)
265
- }
266
- })
300
+ style: _ref12 => {
301
+ let {
302
+ theme
303
+ } = _ref12;
304
+ return {
305
+ display: "block",
306
+ width: "100%",
307
+ marginBlock: "0",
308
+ marginInline: "0",
309
+ "&:not(:last-child)": {
310
+ marginBlockEnd: theme.spacing(4)
311
+ }
312
+ };
313
+ }
267
314
  }, {
268
315
  props: {
269
316
  children: ""
@@ -276,41 +323,46 @@ export const components = {
276
323
  }
277
324
  }],
278
325
  styleOverrides: {
279
- root: ({
280
- theme
281
- }) => ({
282
- fontWeight: 600,
283
- padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
284
- display: "inline-block",
285
- position: "relative",
286
- marginBlock: "0",
287
- marginInline: "0",
288
- transitionProperty: "color, background-color, border-color, outline-offset, outline-color",
289
- transitionDuration: "100ms",
290
- transitionTimingFunction: "linear",
291
- borderWidth: "1px",
292
- borderStyle: "solid",
293
- outlineColor: "transparent",
294
- outlineOffset: "0",
295
- fontSize: "1rem",
296
- lineHeight: "1.14285714",
297
- whiteSpace: "nowrap",
298
- ".MuiButton-root + &": {
299
- marginInlineStart: theme.spacing(2)
300
- },
301
- "&:focus-visible": {
302
- outlineOffset: "2px",
303
- outlineStyle: "solid",
304
- outlineWidth: "2px"
305
- },
306
- "&:disabled": {
307
- cursor: "not-allowed",
308
- pointerEvents: "inherit"
309
- },
310
- ".MuiButton-startIcon > *:nth-of-type(1)": {
311
- fontSize: "inherit"
312
- }
313
- })
326
+ root: _ref13 => {
327
+ let {
328
+ theme
329
+ } = _ref13;
330
+ return {
331
+ fontWeight: 600,
332
+ minWidth: "unset",
333
+ padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
334
+ display: "inline-block",
335
+ position: "relative",
336
+ marginBlock: "0",
337
+ marginInline: "0",
338
+ transitionProperty: "color, background-color, border-color, outline-offset, outline-color",
339
+ transitionDuration: "100ms",
340
+ transitionTimingFunction: "linear",
341
+ borderWidth: theme.mixins.borderWidth,
342
+ borderStyle: theme.mixins.borderStyle,
343
+ borderRadius: theme.mixins.borderRadius,
344
+ outlineColor: "transparent",
345
+ outlineOffset: "0",
346
+ fontSize: theme.typography.body1.fontSize,
347
+ lineHeight: "1.14285714",
348
+ whiteSpace: "nowrap",
349
+ ".MuiButton-root + &": {
350
+ marginInlineStart: theme.spacing(2)
351
+ },
352
+ "&:focus-visible": {
353
+ outlineOffset: "2px",
354
+ outlineStyle: "solid",
355
+ outlineWidth: "2px"
356
+ },
357
+ "&:disabled": {
358
+ cursor: "not-allowed",
359
+ pointerEvents: "inherit"
360
+ },
361
+ ".MuiButton-startIcon > *:nth-of-type(1)": {
362
+ fontSize: "inherit"
363
+ }
364
+ };
365
+ }
314
366
  }
315
367
  },
316
368
  MuiButtonBase: {
@@ -330,32 +382,35 @@ export const components = {
330
382
  size: "small"
331
383
  },
332
384
  styleOverrides: {
333
- root: ({
334
- theme
335
- }) => ({
336
- borderRadius: "4px",
337
- "&:hover": {
338
- backgroundColor: "transparent"
339
- },
340
- padding: 0,
341
- ".Mui-error > &": {
342
- color: theme.palette.error.main,
343
- "&:hover": {
344
- color: theme.palette.error.dark
345
- }
346
- },
347
- ".Mui-error > &.Mui-checked": {
385
+ root: _ref14 => {
386
+ let {
387
+ theme
388
+ } = _ref14;
389
+ return {
390
+ borderRadius: "4px",
348
391
  "&:hover": {
349
- color: theme.palette.error.dark
392
+ backgroundColor: "transparent"
393
+ },
394
+ padding: 0,
395
+ ".Mui-error > &": {
396
+ color: theme.palette.error.main,
397
+ "&:hover": {
398
+ color: theme.palette.error.dark
399
+ }
400
+ },
401
+ ".Mui-error > &.Mui-checked": {
402
+ "&:hover": {
403
+ color: theme.palette.error.dark
404
+ }
405
+ },
406
+ "&.Mui-focusVisible": {
407
+ outlineColor: theme.palette.primary.main,
408
+ outlineOffset: 0,
409
+ outlineStyle: "solid",
410
+ outlineWidth: "2px"
350
411
  }
351
- },
352
- "&.Mui-focusVisible": {
353
- outlineColor: theme.palette.primary.main,
354
- outlineOffset: 0,
355
- outlineStyle: "solid",
356
- outlineWidth: "2px"
357
- }
358
- })
412
+ };
413
+ }
359
414
  }
360
415
  },
361
416
  MuiCircularProgress: {
@@ -367,19 +422,25 @@ export const components = {
367
422
  variant: "indeterminate"
368
423
  },
369
424
  styleOverrides: {
370
- root: ({
371
- theme,
372
- ownerState
373
- }) => ({ ...(ownerState.color !== "inherit" && {
374
- color: theme.palette.primary.dark
375
- })
376
- }),
377
- circle: ({
378
- ownerState
379
- }) => ({ ...(ownerState.variant === "indeterminate" && {
380
- strokeDasharray: "160%, 360%"
381
- })
382
- })
425
+ root: _ref15 => {
426
+ let {
427
+ theme,
428
+ ownerState
429
+ } = _ref15;
430
+ return { ...(ownerState.color !== "inherit" && {
431
+ color: theme.palette.primary.dark
432
+ })
433
+ };
434
+ },
435
+ circle: _ref16 => {
436
+ let {
437
+ ownerState
438
+ } = _ref16;
439
+ return { ...(ownerState.variant === "indeterminate" && {
440
+ strokeDasharray: "160%, 360%"
441
+ })
442
+ };
443
+ }
383
444
  }
384
445
  },
385
446
  MuiFormControl: {
@@ -387,70 +448,76 @@ export const components = {
387
448
  margin: "normal"
388
449
  },
389
450
  styleOverrides: {
390
- root: ({
391
- ownerState,
392
- theme
393
- }) => ({
394
- width: "100%",
395
- maxWidth: "32rem",
396
- ...(ownerState.margin === "normal" && {
397
- marginTop: 0,
398
- marginBottom: theme.spacing(5),
399
- "&:last-child": {
400
- marginBottom: 0
401
- }
402
- }),
403
- ...(ownerState.margin === "dense" && {
404
- marginTop: 0,
405
- marginBottom: theme.spacing(5),
406
- "&:last-child": {
407
- marginBottom: 0
408
- }
409
- }),
410
- ...(ownerState.fullWidth && {
411
- maxWidth: "100%"
412
- })
413
- })
451
+ root: _ref17 => {
452
+ let {
453
+ ownerState,
454
+ theme
455
+ } = _ref17;
456
+ return {
457
+ width: "100%",
458
+ maxWidth: "32rem",
459
+ ...(ownerState.margin === "normal" && {
460
+ marginTop: 0,
461
+ marginBottom: theme.spacing(5),
462
+ "&:last-child": {
463
+ marginBottom: 0
464
+ }
465
+ }),
466
+ ...(ownerState.margin === "dense" && {
467
+ marginTop: 0,
468
+ marginBottom: theme.spacing(5),
469
+ "&:last-child": {
470
+ marginBottom: 0
471
+ }
472
+ }),
473
+ ...(ownerState.fullWidth && {
474
+ maxWidth: "100%"
475
+ })
476
+ };
477
+ }
414
478
  }
415
479
  },
416
480
  MuiFormControlLabel: {
417
481
  styleOverrides: {
418
- root: ({
419
- theme,
420
- ownerState
421
- }) => ({
422
- gap: theme.spacing(2),
423
- marginLeft: 0,
424
- marginRight: 0,
425
- ...(ownerState.labelPlacement === "start" && {
482
+ root: _ref18 => {
483
+ let {
484
+ theme,
485
+ ownerState
486
+ } = _ref18;
487
+ return {
488
+ gap: theme.spacing(2),
426
489
  marginLeft: 0,
427
- marginRight: 0
428
- }),
429
- ...(ownerState.labelPlacement === "top" && {
430
- marginLeft: 0
431
- }),
432
- ...(ownerState.labelPlacement === "bottom" && {
433
- marginLeft: 0
434
- }),
435
- "&:not(:last-child)": {
436
- marginBottom: theme.spacing(2)
437
- },
438
- "&.Mui-disabled": {
439
- pointerEvents: "none"
440
- },
441
- "&:hover .MuiRadio-root, &:hover .MuiCheckbox-root": {
442
- color: theme.palette.text.primary
443
- },
444
- "&:hover .MuiRadio-root.Mui-checked, &:hover .MuiCheckbox-root.Mui-checked": {
445
- color: theme.palette.primary.dark
446
- },
447
- "&.Mui-error:hover .MuiRadio-root, &.Mui-error:hover .MuiCheckbox-root": {
448
- color: theme.palette.error.dark
449
- },
450
- "&.Mui-error:hover .MuiRadio-root.Mui-checked, &.Mui-error:hover .MuiCheckbox-root.Mui-checked": {
451
- color: theme.palette.error.dark
452
- }
453
- })
490
+ marginRight: 0,
491
+ ...(ownerState.labelPlacement === "start" && {
492
+ marginLeft: 0,
493
+ marginRight: 0
494
+ }),
495
+ ...(ownerState.labelPlacement === "top" && {
496
+ marginLeft: 0
497
+ }),
498
+ ...(ownerState.labelPlacement === "bottom" && {
499
+ marginLeft: 0
500
+ }),
501
+ "&:not(:last-child)": {
502
+ marginBottom: theme.spacing(2)
503
+ },
504
+ "&.Mui-disabled": {
505
+ pointerEvents: "none"
506
+ },
507
+ "&:hover .MuiRadio-root, &:hover .MuiCheckbox-root": {
508
+ color: theme.palette.text.primary
509
+ },
510
+ "&:hover .MuiRadio-root.Mui-checked, &:hover .MuiCheckbox-root.Mui-checked": {
511
+ color: theme.palette.primary.dark
512
+ },
513
+ "&.Mui-error:hover .MuiRadio-root, &.Mui-error:hover .MuiCheckbox-root": {
514
+ color: theme.palette.error.dark
515
+ },
516
+ "&.Mui-error:hover .MuiRadio-root.Mui-checked, &.Mui-error:hover .MuiCheckbox-root.Mui-checked": {
517
+ color: theme.palette.error.dark
518
+ }
519
+ };
520
+ }
454
521
  }
455
522
  },
456
523
  MuiFormHelperText: {
@@ -458,46 +525,75 @@ export const components = {
458
525
  variant: "standard"
459
526
  },
460
527
  styleOverrides: {
461
- root: ({
462
- theme
463
- }) => ({
464
- lineHeight: "1.33333333",
465
- marginTop: theme.spacing(2),
466
- ".MuiFormLabel-root + &": {
467
- marginTop: `-${theme.spacing(1)}`,
468
- color: theme.palette.text.secondary
469
- },
470
- marginBottom: theme.spacing(2),
471
- "&:last-child": {
472
- marginBottom: 0
473
- }
474
- })
528
+ root: _ref19 => {
529
+ let {
530
+ theme
531
+ } = _ref19;
532
+ return {
533
+ lineHeight: "1.33333333",
534
+ marginTop: theme.spacing(2),
535
+ ".MuiFormLabel-root + &": {
536
+ marginTop: `-${theme.spacing(1)}`,
537
+ color: theme.palette.text.secondary
538
+ },
539
+ marginBottom: theme.spacing(2),
540
+ "&:last-child": {
541
+ marginBottom: 0
542
+ }
543
+ };
544
+ }
475
545
  }
476
546
  },
477
547
  MuiFormLabel: {
478
548
  styleOverrides: {
479
- root: ({
480
- theme
481
- }) => ({
482
- color: theme.palette.text.primary,
483
- lineHeight: "1.14285714",
484
- fontSize: "1rem",
485
- fontWeight: 600,
486
- marginBottom: theme.spacing(2),
487
- "&.Mui-focused, &.Mui-error, &.Mui-disabled": {
488
- color: theme.palette.text.primary
489
- }
490
- })
549
+ root: _ref20 => {
550
+ let {
551
+ theme
552
+ } = _ref20;
553
+ return {
554
+ color: theme.palette.text.primary,
555
+ lineHeight: "1.14285714",
556
+ fontSize: "1rem",
557
+ fontWeight: 600,
558
+ marginBottom: theme.spacing(2),
559
+ "&.Mui-focused, &.Mui-error, &.Mui-disabled": {
560
+ color: theme.palette.text.primary
561
+ }
562
+ };
563
+ }
491
564
  }
492
565
  },
493
566
  MuiIconButton: {
494
567
  styleOverrides: {
495
- root: ({
496
- theme
497
- }) => ({
498
- padding: theme.spacing(1),
499
- fontSize: theme.typography.body1.fontSize
500
- })
568
+ root: _ref21 => {
569
+ let {
570
+ theme
571
+ } = _ref21;
572
+ return {
573
+ padding: theme.spacing(1),
574
+ fontSize: theme.typography.body1.fontSize,
575
+ backgroundColor: "transparent",
576
+ color: theme.palette.text.primary,
577
+ borderColor: "transparent",
578
+ borderRadius: theme.mixins.borderRadius,
579
+ "&:hover, &:focus-visible": {
580
+ backgroundColor: "rgba(29, 29, 33, 0.1)",
581
+ borderColor: "transparent"
582
+ },
583
+ "&:focus-visible": {
584
+ outlineColor: theme.palette.primary.main
585
+ },
586
+ "&:active": {
587
+ backgroundColor: "rgba(29, 29, 33, 0.2)",
588
+ borderColor: "transparent"
589
+ },
590
+ "&:disabled": {
591
+ backgroundColor: "rgba(235, 235, 237, 0.6)",
592
+ color: theme.palette.text.secondary,
593
+ borderColor: "transparent"
594
+ }
595
+ };
596
+ }
501
597
  }
502
598
  },
503
599
  MuiInputAdornment: {
@@ -505,23 +601,35 @@ export const components = {
505
601
  variant: "outlined"
506
602
  },
507
603
  styleOverrides: {
508
- root: ({
509
- ownerState
510
- }) => ({
511
- display: "flex",
512
- ...(ownerState.position === "start" && {
513
- marginRight: 0
514
- }),
515
- ...(ownerState.position === "end" && {
516
- marginLeft: 0
517
- })
518
- })
604
+ root: _ref22 => {
605
+ let {
606
+ ownerState
607
+ } = _ref22;
608
+ return {
609
+ display: "flex",
610
+ ...(ownerState.position === "start" && {
611
+ marginRight: 0
612
+ }),
613
+ ...(ownerState.position === "end" && {
614
+ marginLeft: 0
615
+ })
616
+ };
617
+ }
519
618
  }
520
619
  },
521
620
  MuiInputBase: {
522
621
  styleOverrides: {
523
- root: {
524
- lineHeight: "1.14285714"
622
+ root: _ref23 => {
623
+ let {
624
+ ownerState,
625
+ theme
626
+ } = _ref23;
627
+ return {
628
+ lineHeight: "1.14285714",
629
+ ...(ownerState.readOnly === true && {
630
+ backgroundColor: theme.palette.grey[50]
631
+ })
632
+ };
525
633
  },
526
634
  input: {
527
635
  boxSizing: "border-box",
@@ -535,86 +643,95 @@ export const components = {
535
643
  shrink: false
536
644
  },
537
645
  styleOverrides: {
538
- root: ({
539
- ownerState
540
- }) => ({ ...(ownerState.formControl && {
541
- position: "initial",
542
- transform: "none"
543
- }),
544
- ...(ownerState.variant === "outlined" && {
545
- pointerEvents: "initial",
546
- transform: "none",
547
- maxWidth: "100%",
548
- ...(ownerState.size === "small" && {
646
+ root: _ref24 => {
647
+ let {
648
+ ownerState
649
+ } = _ref24;
650
+ return { ...(ownerState.formControl && {
651
+ position: "initial",
549
652
  transform: "none"
653
+ }),
654
+ ...(ownerState.variant === "outlined" && {
655
+ pointerEvents: "initial",
656
+ transform: "none",
657
+ maxWidth: "100%",
658
+ ...(ownerState.size === "small" && {
659
+ transform: "none"
660
+ })
550
661
  })
551
- })
552
- })
662
+ };
663
+ }
553
664
  }
554
665
  },
555
666
  MuiLink: {
556
667
  styleOverrides: {
557
- root: ({
558
- theme
559
- }) => ({
560
- color: theme.palette.primary.main,
561
- textDecoration: "none",
562
- "&:hover": {
668
+ root: _ref25 => {
669
+ let {
670
+ theme
671
+ } = _ref25;
672
+ return {
563
673
  color: theme.palette.primary.main,
564
- textDecoration: "underline"
565
- },
566
- "&:focus-visible": {
567
- outlineColor: theme.palette.primary.main,
568
- outlineOffset: "2px",
569
- outlineStyle: "solid",
570
- outlineWidth: "1px"
571
- },
572
- "&:visited": {
573
- color: theme.palette.primary.main
574
- },
575
- ".Link-indicator, .Link-icon": {
576
- display: "inline-block",
577
- height: "1em",
578
- lineHeight: 1
579
- },
580
- ".Link-indicator": {
581
- marginInlineStart: theme.spacing(2)
582
- },
583
- ".Link-icon": {
584
- marginInlineEnd: theme.spacing(2)
585
- },
586
- svg: {
587
- fontSize: "1rem",
588
- height: "1em",
589
- position: "relative",
590
- top: "-0.0625em",
591
- verticalAlign: "middle",
592
- width: "1em"
593
- }
594
- })
674
+ textDecoration: "none",
675
+ "&:hover": {
676
+ color: theme.palette.primary.main,
677
+ textDecoration: "underline"
678
+ },
679
+ "&:focus-visible": {
680
+ outlineColor: theme.palette.primary.main,
681
+ outlineOffset: "2px",
682
+ outlineStyle: "solid",
683
+ outlineWidth: "1px"
684
+ },
685
+ "&:visited": {
686
+ color: theme.palette.primary.main
687
+ },
688
+ ".Link-indicator, .Link-icon": {
689
+ display: "inline-block",
690
+ height: "1em",
691
+ lineHeight: 1
692
+ },
693
+ ".Link-indicator": {
694
+ marginInlineStart: theme.spacing(2)
695
+ },
696
+ ".Link-icon": {
697
+ marginInlineEnd: theme.spacing(2)
698
+ },
699
+ svg: {
700
+ fontSize: "1rem",
701
+ height: "1em",
702
+ position: "relative",
703
+ top: "-0.0625em",
704
+ verticalAlign: "middle",
705
+ width: "1em"
706
+ }
707
+ };
708
+ }
595
709
  },
596
710
  variants: [{
597
711
  props: {
598
712
  variant: "monochrome"
599
713
  },
600
- style: ({
601
- theme
602
- }) => ({
603
- color: theme.palette.text.primary,
604
- textDecoration: "underline",
605
- "&:hover": {
606
- color: theme.palette.text.secondary
607
- },
608
- "&:focus-visible": {
609
- outlineColor: theme.palette.primary.main,
610
- outlineOffset: "2px",
611
- outlineStyle: "solid",
612
- outlineWidth: "1px"
613
- },
614
- "&:visited": {
615
- color: theme.palette.text.primary
616
- }
617
- })
714
+ style: _ref26 => {
715
+ let {
716
+ theme
717
+ } = _ref26;
718
+ return {
719
+ color: theme.palette.text.primary,
720
+ textDecoration: "underline",
721
+ "&:hover": {
722
+ color: theme.palette.text.secondary
723
+ },
724
+ "&:focus-visible": {
725
+ outlineColor: theme.palette.primary.main,
726
+ outlineOffset: "2px",
727
+ outlineStyle: "solid",
728
+ outlineWidth: "1px"
729
+ },
730
+ "&:visited": {
731
+ color: theme.palette.text.primary
732
+ }
733
+ };
734
+ }
618
735
  }]
619
736
  },
620
737
  MuiNativeSelect: {
@@ -622,11 +739,14 @@ export const components = {
622
739
  variant: "outlined"
623
740
  },
624
741
  styleOverrides: {
625
- icon: ({
626
- theme
627
- }) => ({
628
- color: theme.palette.text.primary
629
- })
742
+ icon: _ref27 => {
743
+ let {
744
+ theme
745
+ } = _ref27;
746
+ return {
747
+ color: theme.palette.text.primary
748
+ };
749
+ }
630
750
  }
631
751
  },
632
752
  MuiOutlinedInput: {
@@ -635,59 +755,69 @@ export const components = {
635
755
  minRows: 3
636
756
  },
637
757
  styleOverrides: {
638
- root: ({
639
- ownerState,
640
- theme
641
- }) => ({
642
- [`&:hover .${outlinedInputClasses.notchedOutline}`]: {
643
- borderColor: theme.palette.text.primary
644
- },
645
- [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
646
- borderColor: theme.palette.primary.main,
647
- borderWidth: 2
648
- },
649
- [`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {
650
- borderColor: theme.palette.error.main
651
- },
652
- [`&.${outlinedInputClasses.error}:hover .${outlinedInputClasses.notchedOutline}`]: {
653
- borderColor: theme.palette.error.dark
654
- },
655
- [`&.${outlinedInputClasses.error}.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
656
- borderColor: theme.palette.error.main
657
- },
658
- [`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {
659
- borderColor: theme.palette.action.disabled
660
- },
661
- [`&.${outlinedInputClasses.disabled}`]: {
662
- backgroundColor: theme.palette.grey[50],
663
- pointerEvents: "none"
664
- },
665
- ...(ownerState.startAdornment && {
666
- paddingLeft: theme.spacing(3)
667
- }),
668
- ...(ownerState.endAdornment && {
669
- paddingRight: theme.spacing(3)
670
- }),
671
- ...(ownerState.multiline && {
672
- padding: "0",
673
- ...(ownerState.size === "small" && {
674
- padding: "0"
758
+ root: _ref28 => {
759
+ let {
760
+ ownerState,
761
+ theme
762
+ } = _ref28;
763
+ return {
764
+ [`&:hover .${outlinedInputClasses.notchedOutline}`]: {
765
+ borderColor: theme.palette.text.primary
766
+ },
767
+ [`&.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
768
+ borderColor: theme.palette.primary.main,
769
+ borderWidth: 2
770
+ },
771
+ [`&.${outlinedInputClasses.error} .${outlinedInputClasses.notchedOutline}`]: {
772
+ borderColor: theme.palette.error.main
773
+ },
774
+ [`&.${outlinedInputClasses.error}:hover .${outlinedInputClasses.notchedOutline}`]: {
775
+ borderColor: theme.palette.error.dark
776
+ },
777
+ [`&.${outlinedInputClasses.error}.${outlinedInputClasses.focused} .${outlinedInputClasses.notchedOutline}`]: {
778
+ borderColor: theme.palette.error.main
779
+ },
780
+ [`&.${outlinedInputClasses.disabled} .${outlinedInputClasses.notchedOutline}`]: {
781
+ borderColor: theme.palette.action.disabled,
782
+ pointerEvents: "auto"
783
+ },
784
+ [`&.${outlinedInputClasses.disabled}`]: {
785
+ backgroundColor: theme.palette.grey[50],
786
+ cursor: "not-allowed"
787
+ },
788
+ ...(ownerState.startAdornment && {
789
+ paddingLeft: theme.spacing(3)
790
+ }),
791
+ ...(ownerState.endAdornment && {
792
+ paddingRight: theme.spacing(3)
793
+ }),
794
+ ...(ownerState.multiline && {
795
+ padding: "0",
796
+ ...(ownerState.size === "small" && {
797
+ padding: "0"
798
+ })
675
799
  })
676
- })
677
- }),
678
- input: ({
679
- theme
680
- }) => ({
681
- padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
682
- borderWidth: theme.mixins.borderWidth,
683
- borderStyle: theme.mixins.borderStyle,
684
- borderColor: "transparent"
685
- }),
686
- notchedOutline: ({
687
- theme
688
- }) => ({
689
- borderColor: theme.palette.grey[500]
690
- })
800
+ };
801
+ },
802
+ input: _ref29 => {
803
+ let {
804
+ theme
805
+ } = _ref29;
806
+ return {
807
+ padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
808
+ borderWidth: theme.mixins.borderWidth,
809
+ borderStyle: theme.mixins.borderStyle,
810
+ borderColor: "transparent"
811
+ };
812
+ },
813
+ notchedOutline: _ref30 => {
814
+ let {
815
+ theme
816
+ } = _ref30;
817
+ return {
818
+ borderColor: theme.palette.grey[500]
819
+ };
820
+ }
691
821
  }
692
822
  },
693
823
  MuiRadio: {
@@ -695,26 +825,29 @@ export const components = {
695
825
  size: "small"
696
826
  },
697
827
  styleOverrides: {
698
- root: ({
699
- theme
700
- }) => ({
701
- "&:hover": {
702
- backgroundColor: "transparent"
703
- },
704
- padding: 0,
705
- ".Mui-error > &": {
706
- color: theme.palette.error.main,
828
+ root: _ref31 => {
829
+ let {
830
+ theme
831
+ } = _ref31;
832
+ return {
707
833
  "&:hover": {
708
- color: theme.palette.error.dark
834
+ backgroundColor: "transparent"
835
+ },
836
+ padding: 0,
837
+ ".Mui-error > &": {
838
+ color: theme.palette.error.main,
839
+ "&:hover": {
840
+ color: theme.palette.error.dark
841
+ }
842
+ },
843
+ "&.Mui-focusVisible": {
844
+ outlineColor: theme.palette.primary.main,
845
+ outlineOffset: 0,
846
+ outlineStyle: "solid",
847
+ outlineWidth: "2px"
709
848
  }
710
- },
711
- "&.Mui-focusVisible": {
712
- outlineColor: theme.palette.primary.main,
713
- outlineOffset: 0,
714
- outlineStyle: "solid",
715
- outlineWidth: "2px"
716
- }
717
- })
849
+ };
850
+ }
718
851
  }
719
852
  },
720
853
  MuiSnackbar: {
@@ -736,73 +869,402 @@ export const components = {
736
869
  iconPosition: "start"
737
870
  },
738
871
  styleOverrides: {
739
- root: ({
740
- theme,
741
- ownerState
742
- }) => ({
743
- maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
744
- minWidth: "unset",
745
- minHeight: "unset",
746
- padding: `${theme.spacing(4)} 0`,
747
- lineHeight: theme.typography.body1.lineHeight,
748
- overflow: "visible",
749
- ...(ownerState.selected == true && {
750
- color: theme.palette.text.primary
751
- }),
752
- ...(ownerState.textColor === "inherit" && {
753
- color: "inherit",
754
- opacity: 1
755
- }),
756
- ...(ownerState.wrapped && {
757
- fontSize: theme.typography.subtitle1.fontSize,
758
- lineHeight: theme.typography.subtitle1.lineHeight
759
- }),
760
- "&:hover": {
761
- color: theme.palette.primary.main
762
- },
763
- "&:focus-visible::before, &.Mui-focusVisible::before": {
764
- content: "''",
765
- position: "absolute",
766
- top: theme.spacing(4),
767
- right: `calc(-1 * ${theme.spacing(2)})`,
768
- bottom: theme.spacing(4),
769
- left: `calc(-1 * ${theme.spacing(2)})`,
770
- borderWidth: theme.mixins.borderWidth,
771
- borderStyle: theme.mixins.borderStyle,
772
- borderColor: theme.palette.primary.main,
773
- borderRadius: theme.mixins.borderRadius
774
- },
775
- "&.Mui-selected": {
776
- color: theme.palette.text.primary,
777
- fontWeight: theme.typography.fontWeightBold,
872
+ root: _ref32 => {
873
+ let {
874
+ theme,
875
+ ownerState
876
+ } = _ref32;
877
+ return {
878
+ maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
879
+ minWidth: "unset",
880
+ minHeight: "unset",
881
+ padding: `${theme.spacing(4)} 0`,
882
+ lineHeight: theme.typography.body1.lineHeight,
883
+ overflow: "visible",
884
+ ...(ownerState.selected == true && {
885
+ color: theme.palette.text.primary
886
+ }),
887
+ ...(ownerState.textColor === "inherit" && {
888
+ color: "inherit",
889
+ opacity: 1
890
+ }),
891
+ ...(ownerState.wrapped && {
892
+ fontSize: theme.typography.subtitle1.fontSize,
893
+ lineHeight: theme.typography.subtitle1.lineHeight
894
+ }),
778
895
  "&:hover": {
779
896
  color: theme.palette.primary.main
897
+ },
898
+ "&:focus-visible::before, &.Mui-focusVisible::before": {
899
+ content: "''",
900
+ position: "absolute",
901
+ top: theme.spacing(4),
902
+ right: `calc(-1 * ${theme.spacing(2)})`,
903
+ bottom: theme.spacing(4),
904
+ left: `calc(-1 * ${theme.spacing(2)})`,
905
+ borderWidth: theme.mixins.borderWidth,
906
+ borderStyle: theme.mixins.borderStyle,
907
+ borderColor: theme.palette.primary.main,
908
+ borderRadius: theme.mixins.borderRadius
909
+ },
910
+ "&.Mui-selected": {
911
+ color: theme.palette.text.primary,
912
+ fontWeight: theme.typography.fontWeightBold,
913
+ "&:hover": {
914
+ color: theme.palette.primary.main
915
+ }
916
+ },
917
+ "&.Mui-disabled": {
918
+ cursor: "not-allowed",
919
+ pointerEvents: "unset",
920
+ "&:hover": {
921
+ color: theme.palette.text.disabled
922
+ }
780
923
  }
781
- },
782
- "&.Mui-disabled": {
783
- cursor: "not-allowed",
784
- pointerEvents: "unset",
924
+ };
925
+ }
926
+ }
927
+ },
928
+ MuiTabPanel: {
929
+ styleOverrides: {
930
+ root: {
931
+ padding: 0
932
+ }
933
+ }
934
+ },
935
+ MuiTable: {
936
+ styleOverrides: {
937
+ root: _ref33 => {
938
+ let {
939
+ theme,
940
+ ownerState
941
+ } = _ref33;
942
+ return {
943
+ display: "table",
944
+ width: "auto",
945
+ borderCollapse: "separate",
946
+ borderSpacing: 0,
947
+ border: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
948
+ borderRadius: theme.mixins.borderRadius,
949
+ marginBlock: theme.spacing(0),
950
+ marginInline: theme.spacing(0),
951
+ lineHeight: "1.14285714",
952
+ "&:only-child": {
953
+ marginBlockEnd: 0
954
+ },
955
+ ...(ownerState.stickyHeader && {
956
+ borderCollapse: "separate"
957
+ })
958
+ };
959
+ }
960
+ }
961
+ },
962
+ MuiTableCell: {
963
+ styleOverrides: {
964
+ root: _ref34 => {
965
+ let {
966
+ theme,
967
+ ownerState
968
+ } = _ref34;
969
+ return { ...theme.typography.body1,
970
+ maxWidth: theme.mixins.maxWidth,
971
+ borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
972
+ textAlign: "start",
973
+ verticalAlign: "baseline",
974
+ padding: "unset",
975
+ paddingBlock: theme.spacing(4),
976
+ paddingInline: theme.spacing(4),
977
+ overflowWrap: "break-word",
978
+ [`.${tableRowClasses.root}:hover &[rowspan]`]: {
979
+ backgroundColor: theme.palette.common.white
980
+ },
981
+ [`.${tableBodyClasses.root} .${tableRowClasses.root}:last-of-type &`]: {
982
+ borderBottom: 0
983
+ },
984
+ [`.${tableRowClasses.selected} &`]: {
985
+ borderBottomColor: theme.palette.primary.light
986
+ },
987
+ [`.${tableRowClasses.selected}:hover &`]: {
988
+ borderBottomColor: theme.palette.primary.main
989
+ },
990
+ ...(ownerState.variant === "action" && {
991
+ paddingBlock: 0
992
+ }),
993
+ ...(ownerState.variant === "body" && {
994
+ color: theme.palette.text.primary
995
+ }),
996
+ ...(ownerState.variant === "date" && {
997
+ whiteSpace: "nowrap"
998
+ }),
999
+ ...(ownerState.variant === "footer" && {
1000
+ color: theme.palette.text.secondary,
1001
+ lineHeight: theme.typography.body1.lineHeight,
1002
+ fontSize: theme.typography.body1.fontSize
1003
+ }),
1004
+ [`.${tableHeadClasses.root} &`]: {
1005
+ color: theme.palette.text.secondary,
1006
+ lineHeight: theme.typography.body1.lineHeight,
1007
+ fontWeight: theme.typography.fontWeightBold,
1008
+ backgroundColor: theme.palette.grey[50]
1009
+ },
1010
+ ...(ownerState.variant === "head" && {
1011
+ lineHeight: theme.typography.body1.lineHeight,
1012
+ fontWeight: theme.typography.fontWeightBold
1013
+ }),
1014
+ ...(ownerState.variant === "number" && {
1015
+ textAlign: "right",
1016
+ fontFeatureSettings: '"lnum", "tnum"'
1017
+ }),
1018
+ ...(ownerState.padding === "checkbox" && {
1019
+ width: 48,
1020
+ padding: "0 0 0 4px"
1021
+ }),
1022
+ ...(ownerState.padding === "none" && {
1023
+ padding: 0
1024
+ }),
1025
+ ...(ownerState.align === "left" && {
1026
+ textAlign: "left"
1027
+ }),
1028
+ ...(ownerState.align === "center" && {
1029
+ textAlign: "center"
1030
+ }),
1031
+ ...(ownerState.align === "right" && {
1032
+ textAlign: "right",
1033
+ flexDirection: "row-reverse"
1034
+ }),
1035
+ ...(ownerState.align === "justify" && {
1036
+ textAlign: "justify"
1037
+ })
1038
+ };
1039
+ }
1040
+ }
1041
+ },
1042
+ MuiTableContainer: {
1043
+ styleOverrides: {
1044
+ root: _ref35 => {
1045
+ let {
1046
+ theme
1047
+ } = _ref35;
1048
+ return {
1049
+ width: "unset",
1050
+ maxWidth: "100%",
1051
+ marginBlockStart: theme.spacing(0),
1052
+ marginBlockEnd: theme.spacing(4),
1053
+ marginInline: 0,
1054
+ overflowX: "auto",
1055
+ "&:last-child": {
1056
+ marginBlock: 0
1057
+ }
1058
+ };
1059
+ }
1060
+ }
1061
+ },
1062
+ MuiTableRow: {
1063
+ styleOverrides: {
1064
+ root: _ref36 => {
1065
+ let {
1066
+ theme
1067
+ } = _ref36;
1068
+ return {
1069
+ verticalAlign: "unset",
1070
+ [`&.${tableRowClasses.root}:hover`]: {
1071
+ backgroundColor: theme.palette.grey[50]
1072
+ },
1073
+ [`&.${tableRowClasses.selected}`]: {
1074
+ backgroundColor: theme.palette.primary.lighter,
1075
+ "&:hover": {
1076
+ backgroundColor: theme.palette.primary.lighter
1077
+ }
1078
+ }
1079
+ };
1080
+ }
1081
+ }
1082
+ },
1083
+ MuiTableSortLabel: {
1084
+ defaultProps: {
1085
+ IconComponent: ArrowDownIcon
1086
+ },
1087
+ styleOverrides: {
1088
+ root: _ref37 => {
1089
+ let {
1090
+ theme
1091
+ } = _ref37;
1092
+ return {
1093
+ cursor: "pointer",
1094
+ display: "inline-flex",
1095
+ justifyContent: "flex-start",
1096
+ flexDirection: "inherit",
1097
+ alignItems: "center",
1098
+ "&:focus-visible": {
1099
+ color: theme.palette.text.primary,
1100
+ outlineOffset: theme.spacing(4),
1101
+ outlineStyle: "solid",
1102
+ outlineWidth: "2px",
1103
+ outlineColor: theme.palette.primary.main
1104
+ },
785
1105
  "&:hover": {
786
- color: theme.palette.text.disabled
1106
+ color: theme.palette.text.primary,
1107
+ [`& .${tableSortLabelClasses.icon}`]: {
1108
+ opacity: 1
1109
+ }
1110
+ },
1111
+ [`&.${tableSortLabelClasses.active}`]: {
1112
+ color: theme.palette.text.secondary,
1113
+ [`& .${tableSortLabelClasses.icon}`]: {
1114
+ opacity: 1,
1115
+ color: "inherit"
1116
+ }
787
1117
  }
788
- }
789
- })
1118
+ };
1119
+ },
1120
+ icon: _ref38 => {
1121
+ let {
1122
+ theme,
1123
+ ownerState
1124
+ } = _ref38;
1125
+ return {
1126
+ fontSize: "inherit",
1127
+ marginRight: 0,
1128
+ marginLeft: 0,
1129
+ opacity: 0,
1130
+ color: "inherit",
1131
+ transition: theme.transitions.create(["opacity", "transform"], {
1132
+ duration: theme.transitions.duration.shorter
1133
+ }),
1134
+ userSelect: "none",
1135
+ [`.${tableCellClasses.alignRight} &`]: {
1136
+ marginInlineEnd: theme.spacing(2)
1137
+ },
1138
+ [`.${tableCellClasses.alignLeft} &`]: {
1139
+ marginInlineStart: theme.spacing(2)
1140
+ },
1141
+ ...(ownerState.direction === "desc" && {
1142
+ transform: "rotate(0deg)"
1143
+ }),
1144
+ ...(ownerState.direction === "asc" && {
1145
+ transform: "rotate(180deg)"
1146
+ })
1147
+ };
1148
+ }
790
1149
  }
791
1150
  },
792
1151
  MuiTabs: {
793
1152
  styleOverrides: {
794
- root: ({
795
- theme
796
- }) => ({
797
- minHeight: "unset",
798
- marginBottom: theme.spacing(5)
799
- }),
800
- flexContainer: ({
801
- theme
802
- }) => ({
803
- gap: theme.spacing(5),
804
- borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
805
- })
1153
+ root: _ref39 => {
1154
+ let {
1155
+ theme
1156
+ } = _ref39;
1157
+ return {
1158
+ minHeight: "unset",
1159
+ marginBottom: theme.spacing(5)
1160
+ };
1161
+ },
1162
+ flexContainer: _ref40 => {
1163
+ let {
1164
+ theme
1165
+ } = _ref40;
1166
+ return {
1167
+ gap: theme.spacing(5),
1168
+ borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
1169
+ };
1170
+ }
1171
+ }
1172
+ },
1173
+ MuiTooltip: {
1174
+ defaultProps: {
1175
+ arrow: true,
1176
+ enterDelay: 500,
1177
+ enterNextDelay: 250,
1178
+ placement: "top"
1179
+ },
1180
+ styleOverrides: {
1181
+ tooltip: _ref41 => {
1182
+ let {
1183
+ theme,
1184
+ ownerState
1185
+ } = _ref41;
1186
+ return {
1187
+ maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
1188
+ paddingBlock: theme.spacing(2),
1189
+ paddingInline: theme.spacing(3),
1190
+ backgroundColor: theme.palette.grey[900],
1191
+ color: theme.palette.common.white,
1192
+ fontSize: theme.typography.subtitle1.fontSize,
1193
+ lineHeight: theme.typography.subtitle1.lineHeight,
1194
+ ...(ownerState.touch === true && {
1195
+ paddingBlock: theme.spacing(2),
1196
+ paddingInline: theme.spacing(3),
1197
+ fontSize: theme.typography.subtitle1.fontSize,
1198
+ lineHeight: theme.typography.subtitle1.lineHeight,
1199
+ fontWeight: theme.typography.fontWeightRegular
1200
+ }),
1201
+ [`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
1202
+ transformOrigin: "right center",
1203
+ ...(ownerState.isRtl ? {
1204
+ marginLeft: theme.spacing(3),
1205
+ ...(ownerState.touch === true && {
1206
+ marginLeft: theme.spacing(4)
1207
+ })
1208
+ } : {
1209
+ marginRight: theme.spacing(3),
1210
+ ...(ownerState.touch === true && {
1211
+ marginRight: theme.spacing(4)
1212
+ })
1213
+ })
1214
+ },
1215
+ [`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
1216
+ transformOrigin: "left center",
1217
+ ...(ownerState.isRtl ? {
1218
+ marginRight: theme.spacing(3),
1219
+ ...(ownerState.touch === true && {
1220
+ marginRight: theme.spacing(4)
1221
+ })
1222
+ } : {
1223
+ marginLeft: theme.spacing(3),
1224
+ ...(ownerState.touch === true && {
1225
+ marginLeft: theme.spacing(4)
1226
+ })
1227
+ })
1228
+ },
1229
+ [`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]: {
1230
+ transformOrigin: "center bottom",
1231
+ marginBottom: theme.spacing(3),
1232
+ ...(ownerState.touch === true && {
1233
+ marginBottom: theme.spacing(4)
1234
+ })
1235
+ },
1236
+ [`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
1237
+ transformOrigin: "center top",
1238
+ marginTop: theme.spacing(3),
1239
+ ...(ownerState.touch === true && {
1240
+ marginTop: theme.spacing(4)
1241
+ })
1242
+ }
1243
+ };
1244
+ },
1245
+ arrow: _ref42 => {
1246
+ let {
1247
+ theme
1248
+ } = _ref42;
1249
+ return {
1250
+ color: theme.palette.grey[900],
1251
+ "&::before": {
1252
+ borderRadius: "0"
1253
+ },
1254
+ [`.${tooltipClasses.popper}[data-popper-placement*="top"] &::before`]: {
1255
+ borderRadius: `0 0 3px 0`
1256
+ },
1257
+ [`.${tooltipClasses.popper}[data-popper-placement*="right"] &::before`]: {
1258
+ borderRadius: `0 0 0 3px`
1259
+ },
1260
+ [`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &::before`]: {
1261
+ borderRadius: `3px 0 0 0`
1262
+ },
1263
+ [`.${tooltipClasses.popper}[data-popper-placement*="left"] &::before`]: {
1264
+ borderRadius: `0 3px 0 0`
1265
+ }
1266
+ };
1267
+ }
806
1268
  }
807
1269
  },
808
1270
  MuiTypography: {
@@ -823,29 +1285,35 @@ export const components = {
823
1285
  }
824
1286
  },
825
1287
  styleOverrides: {
826
- paragraph: ({
827
- theme
828
- }) => ({
829
- marginBottom: theme.spacing(4)
830
- }),
831
- root: ({
832
- theme,
833
- ownerState
834
- }) => ({ ...(ownerState.variant === "kbd" && {
835
- display: "inline-block",
836
- minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
837
- borderStyle: theme.mixins.borderStyle,
838
- borderWidth: theme.mixins.borderWidth,
839
- borderRadius: theme.mixins.borderRadius,
840
- borderColor: theme.palette.grey[200],
841
- backgroundColor: theme.palette.grey[50],
842
- padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
843
- fontSize: theme.typography.subtitle1.fontSize,
844
- fontWeight: theme.typography.fontWeightRegular,
845
- lineHeight: theme.typography.h5.lineHeight,
846
- boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
847
- })
848
- })
1288
+ paragraph: _ref43 => {
1289
+ let {
1290
+ theme
1291
+ } = _ref43;
1292
+ return {
1293
+ marginBottom: theme.spacing(4)
1294
+ };
1295
+ },
1296
+ root: _ref44 => {
1297
+ let {
1298
+ theme,
1299
+ ownerState
1300
+ } = _ref44;
1301
+ return { ...(ownerState.variant === "kbd" && {
1302
+ display: "inline-block",
1303
+ minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
1304
+ borderStyle: theme.mixins.borderStyle,
1305
+ borderWidth: theme.mixins.borderWidth,
1306
+ borderRadius: theme.mixins.borderRadius,
1307
+ borderColor: theme.palette.grey[200],
1308
+ backgroundColor: theme.palette.grey[50],
1309
+ padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
1310
+ fontSize: theme.typography.subtitle1.fontSize,
1311
+ fontWeight: theme.typography.fontWeightRegular,
1312
+ lineHeight: theme.typography.h5.lineHeight,
1313
+ boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
1314
+ })
1315
+ };
1316
+ }
849
1317
  }
850
1318
  }
851
1319
  };