@okta/odyssey-react-mui 0.16.1 → 0.18.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 (170) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/README.md +7 -19
  3. package/dist/Banner.d.ts +47 -0
  4. package/dist/Banner.d.ts.map +1 -0
  5. package/dist/Banner.js +41 -0
  6. package/dist/Banner.js.map +1 -0
  7. package/dist/Link.d.ts +1 -1
  8. package/dist/Link.d.ts.map +1 -1
  9. package/dist/Link.js +2 -1
  10. package/dist/Link.js.map +1 -1
  11. package/dist/OdysseyCacheProvider.d.ts +23 -0
  12. package/dist/OdysseyCacheProvider.d.ts.map +1 -0
  13. package/dist/OdysseyCacheProvider.js +36 -0
  14. package/dist/OdysseyCacheProvider.js.map +1 -0
  15. package/dist/OdysseyThemeProvider.d.ts +19 -0
  16. package/dist/OdysseyThemeProvider.d.ts.map +1 -0
  17. package/dist/OdysseyThemeProvider.js +32 -0
  18. package/dist/OdysseyThemeProvider.js.map +1 -0
  19. package/dist/PasswordInput.d.ts +1 -1
  20. package/dist/PasswordInput.d.ts.map +1 -1
  21. package/dist/Radio.d.ts +19 -0
  22. package/dist/Radio.d.ts.map +1 -0
  23. package/dist/Radio.js +32 -0
  24. package/dist/Radio.js.map +1 -0
  25. package/dist/RadioGroup.d.ts +47 -0
  26. package/dist/RadioGroup.d.ts.map +1 -0
  27. package/dist/RadioGroup.js +59 -0
  28. package/dist/RadioGroup.js.map +1 -0
  29. package/dist/Status.d.ts +23 -0
  30. package/dist/Status.d.ts.map +1 -0
  31. package/dist/Status.js +25 -0
  32. package/dist/Status.js.map +1 -0
  33. package/dist/TextField.d.ts +87 -0
  34. package/dist/TextField.d.ts.map +1 -0
  35. package/dist/TextField.js +100 -0
  36. package/dist/TextField.js.map +1 -0
  37. package/dist/ThemeProvider.d.ts +3 -2
  38. package/dist/ThemeProvider.d.ts.map +1 -1
  39. package/dist/ThemeProvider.js +12 -6
  40. package/dist/ThemeProvider.js.map +1 -1
  41. package/dist/createUniqueAlphabeticalId.d.ts +14 -0
  42. package/dist/createUniqueAlphabeticalId.d.ts.map +1 -0
  43. package/dist/createUniqueAlphabeticalId.js +14 -0
  44. package/dist/createUniqueAlphabeticalId.js.map +1 -0
  45. package/dist/createUniqueId.d.ts.map +1 -1
  46. package/dist/createUniqueId.js.map +1 -1
  47. package/dist/iconDictionary/Add.d.ts +1 -1
  48. package/dist/iconDictionary/Add.d.ts.map +1 -1
  49. package/dist/iconDictionary/AddCircle.d.ts +1 -1
  50. package/dist/iconDictionary/AddCircle.d.ts.map +1 -1
  51. package/dist/iconDictionary/AlertCircle.d.ts +1 -1
  52. package/dist/iconDictionary/AlertCircle.d.ts.map +1 -1
  53. package/dist/iconDictionary/AlertCircleFilled.d.ts +1 -1
  54. package/dist/iconDictionary/AlertCircleFilled.d.ts.map +1 -1
  55. package/dist/iconDictionary/AlertTriangleFilled.d.ts +1 -1
  56. package/dist/iconDictionary/AlertTriangleFilled.d.ts.map +1 -1
  57. package/dist/iconDictionary/Anchor.d.ts +1 -1
  58. package/dist/iconDictionary/Anchor.d.ts.map +1 -1
  59. package/dist/iconDictionary/ArrowDown.d.ts +1 -1
  60. package/dist/iconDictionary/ArrowDown.d.ts.map +1 -1
  61. package/dist/iconDictionary/ArrowLeft.d.ts +1 -1
  62. package/dist/iconDictionary/ArrowLeft.d.ts.map +1 -1
  63. package/dist/iconDictionary/ArrowRight.d.ts +1 -1
  64. package/dist/iconDictionary/ArrowRight.d.ts.map +1 -1
  65. package/dist/iconDictionary/ArrowUp.d.ts +1 -1
  66. package/dist/iconDictionary/ArrowUp.d.ts.map +1 -1
  67. package/dist/iconDictionary/ArrowUpDown.d.ts +1 -1
  68. package/dist/iconDictionary/ArrowUpDown.d.ts.map +1 -1
  69. package/dist/iconDictionary/Calendar.d.ts +1 -1
  70. package/dist/iconDictionary/Calendar.d.ts.map +1 -1
  71. package/dist/iconDictionary/Check.d.ts +1 -1
  72. package/dist/iconDictionary/Check.d.ts.map +1 -1
  73. package/dist/iconDictionary/CheckCircleFilled.d.ts +1 -1
  74. package/dist/iconDictionary/CheckCircleFilled.d.ts.map +1 -1
  75. package/dist/iconDictionary/ChevronDown.d.ts +1 -1
  76. package/dist/iconDictionary/ChevronDown.d.ts.map +1 -1
  77. package/dist/iconDictionary/ChevronUp.d.ts +1 -1
  78. package/dist/iconDictionary/ChevronUp.d.ts.map +1 -1
  79. package/dist/iconDictionary/Close.d.ts +1 -1
  80. package/dist/iconDictionary/Close.d.ts.map +1 -1
  81. package/dist/iconDictionary/CloseCircleFilled.d.ts +1 -1
  82. package/dist/iconDictionary/CloseCircleFilled.d.ts.map +1 -1
  83. package/dist/iconDictionary/Copy.d.ts +1 -1
  84. package/dist/iconDictionary/Copy.d.ts.map +1 -1
  85. package/dist/iconDictionary/Delete.d.ts +1 -1
  86. package/dist/iconDictionary/Delete.d.ts.map +1 -1
  87. package/dist/iconDictionary/Download.d.ts +1 -1
  88. package/dist/iconDictionary/Download.d.ts.map +1 -1
  89. package/dist/iconDictionary/DragHandle.d.ts +1 -1
  90. package/dist/iconDictionary/DragHandle.d.ts.map +1 -1
  91. package/dist/iconDictionary/Edit.d.ts +1 -1
  92. package/dist/iconDictionary/Edit.d.ts.map +1 -1
  93. package/dist/iconDictionary/ExternalLink.d.ts +1 -1
  94. package/dist/iconDictionary/ExternalLink.d.ts.map +1 -1
  95. package/dist/iconDictionary/Eye.d.ts +1 -1
  96. package/dist/iconDictionary/Eye.d.ts.map +1 -1
  97. package/dist/iconDictionary/EyeOff.d.ts +1 -1
  98. package/dist/iconDictionary/EyeOff.d.ts.map +1 -1
  99. package/dist/iconDictionary/Filter.d.ts +1 -1
  100. package/dist/iconDictionary/Filter.d.ts.map +1 -1
  101. package/dist/iconDictionary/Globe.d.ts +1 -1
  102. package/dist/iconDictionary/Globe.d.ts.map +1 -1
  103. package/dist/iconDictionary/Home.d.ts +1 -1
  104. package/dist/iconDictionary/Home.d.ts.map +1 -1
  105. package/dist/iconDictionary/InformationCircle.d.ts +1 -1
  106. package/dist/iconDictionary/InformationCircle.d.ts.map +1 -1
  107. package/dist/iconDictionary/InformationCircleFilled.d.ts +1 -1
  108. package/dist/iconDictionary/InformationCircleFilled.d.ts.map +1 -1
  109. package/dist/iconDictionary/Notification.d.ts +1 -1
  110. package/dist/iconDictionary/Notification.d.ts.map +1 -1
  111. package/dist/iconDictionary/OverflowVertical.d.ts +1 -1
  112. package/dist/iconDictionary/OverflowVertical.d.ts.map +1 -1
  113. package/dist/iconDictionary/QuestionCircle.d.ts +1 -1
  114. package/dist/iconDictionary/QuestionCircle.d.ts.map +1 -1
  115. package/dist/iconDictionary/QuestionCircleFilled.d.ts +1 -1
  116. package/dist/iconDictionary/QuestionCircleFilled.d.ts.map +1 -1
  117. package/dist/iconDictionary/Search.d.ts +1 -1
  118. package/dist/iconDictionary/Search.d.ts.map +1 -1
  119. package/dist/iconDictionary/Settings.d.ts +1 -1
  120. package/dist/iconDictionary/Settings.d.ts.map +1 -1
  121. package/dist/iconDictionary/Subtract.d.ts +1 -1
  122. package/dist/iconDictionary/Subtract.d.ts.map +1 -1
  123. package/dist/iconDictionary/User.d.ts +1 -1
  124. package/dist/iconDictionary/User.d.ts.map +1 -1
  125. package/dist/iconDictionary/UserGroup.d.ts +1 -1
  126. package/dist/iconDictionary/UserGroup.d.ts.map +1 -1
  127. package/dist/index.d.ts +13 -6
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/index.js +11 -4
  130. package/dist/index.js.map +1 -1
  131. package/dist/theme/components.d.ts.map +1 -1
  132. package/dist/theme/components.js +645 -174
  133. package/dist/theme/components.js.map +1 -1
  134. package/dist/theme/components.types.d.ts +5 -0
  135. package/dist/theme/components.types.d.ts.map +1 -1
  136. package/dist/theme/components.types.js.map +1 -1
  137. package/dist/theme/typography.d.ts.map +1 -1
  138. package/dist/theme/typography.js +6 -0
  139. package/dist/theme/typography.js.map +1 -1
  140. package/dist/theme/typography.types.d.ts +3 -3
  141. package/dist/theme/typography.types.d.ts.map +1 -1
  142. package/dist/theme/typography.types.js.map +1 -1
  143. package/dist/useUniqueAlphabeticalId.d.ts +13 -0
  144. package/dist/useUniqueAlphabeticalId.d.ts.map +1 -0
  145. package/dist/useUniqueAlphabeticalId.js +18 -0
  146. package/dist/useUniqueAlphabeticalId.js.map +1 -0
  147. package/dist/useUniqueId.d.ts.map +1 -1
  148. package/dist/useUniqueId.js +1 -1
  149. package/dist/useUniqueId.js.map +1 -1
  150. package/package.json +8 -7
  151. package/src/Banner.tsx +69 -0
  152. package/src/Link.tsx +21 -23
  153. package/src/OdysseyCacheProvider.test.tsx +38 -0
  154. package/src/OdysseyCacheProvider.tsx +48 -0
  155. package/src/OdysseyThemeProvider.tsx +44 -0
  156. package/src/Radio.tsx +28 -0
  157. package/src/RadioGroup.tsx +105 -0
  158. package/src/Status.tsx +29 -0
  159. package/src/TextField.tsx +220 -0
  160. package/src/ThemeProvider.tsx +11 -5
  161. package/src/createUniqueAlphabeticalId.test.ts +22 -0
  162. package/src/createUniqueAlphabeticalId.ts +19 -0
  163. package/src/createUniqueId.ts +1 -1
  164. package/src/index.ts +35 -14
  165. package/src/theme/components.tsx +585 -85
  166. package/src/theme/components.types.ts +7 -0
  167. package/src/theme/typography.ts +6 -0
  168. package/src/theme/typography.types.ts +3 -3
  169. package/src/useUniqueAlphabeticalId.ts +21 -0
  170. package/src/useUniqueId.ts +2 -2
@@ -9,15 +9,18 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
+ import { chipClasses } from "@mui/material/Chip";
12
13
  import { dialogActionsClasses } from "@mui/material/DialogActions";
14
+ import { inputAdornmentClasses } from "@mui/material/InputAdornment";
13
15
  import { inputBaseClasses } from "@mui/material/InputBase";
16
+ import { svgIconClasses } from "@mui/material/SvgIcon";
14
17
  import { tableBodyClasses } from "@mui/material/TableBody";
15
18
  import { tableCellClasses } from "@mui/material/TableCell";
16
19
  import { tableHeadClasses } from "@mui/material/TableHead";
17
20
  import { tableRowClasses } from "@mui/material/TableRow";
18
21
  import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
19
22
  import { tooltipClasses } from "@mui/material/Tooltip";
20
- import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, InformationCircleFilledIcon } from "../iconDictionary/index.js";
23
+ import { AlertTriangleFilledIcon, ArrowDownIcon, CheckCircleFilledIcon, ChevronDownIcon, CloseCircleFilledIcon, InformationCircleFilledIcon } from "../iconDictionary/index.js";
21
24
  import { jsx as _jsx } from "react/jsx-runtime";
22
25
  export const components = {
23
26
  MuiAlert: {
@@ -64,7 +67,7 @@ export const components = {
64
67
  borderWidth: theme.mixins.borderWidth,
65
68
  borderRadius: theme.mixins.borderRadius,
66
69
  position: "relative",
67
- alignItems: "start"
70
+ alignItems: "center"
68
71
  })
69
72
  };
70
73
  },
@@ -75,19 +78,16 @@ export const components = {
75
78
  } = _ref2;
76
79
  return { ...(ownerState.variant === "banner" && {
77
80
  padding: 0,
78
- marginRight: 0,
81
+ marginInlineEnd: 0,
79
82
  top: "50%",
80
83
  right: theme.spacing(4),
81
84
  position: "absolute",
82
85
  transform: "translateY(-50%)"
83
86
  }),
84
87
  ...(ownerState.variant === "toast" && {
85
- position: "absolute",
86
- top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
87
- right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
88
88
  padding: 0,
89
- marginLeft: 0,
90
- marginRight: 0
89
+ marginInlineStart: 0,
90
+ marginInlineEnd: 0
91
91
  })
92
92
  };
93
93
  },
@@ -97,16 +97,19 @@ export const components = {
97
97
  theme
98
98
  } = _ref3;
99
99
  return {
100
- marginRight: 0,
100
+ marginInlineEnd: 0,
101
101
  padding: 0,
102
- fontSize: "1.429rem",
102
+ fontSize: "inherit",
103
103
  opacity: 1,
104
104
  ...(ownerState.severity && {
105
105
  color: theme.palette[ownerState.severity].main
106
106
  }),
107
107
  ...(ownerState.severity === "warning" && {
108
108
  color: theme.palette[ownerState.severity].dark
109
- })
109
+ }),
110
+ [`& .${svgIconClasses.root}`]: {
111
+ fontSize: "1.429rem"
112
+ }
110
113
  };
111
114
  },
112
115
  message: _ref4 => {
@@ -141,15 +144,26 @@ export const components = {
141
144
  marginBottom: theme.spacing(1),
142
145
  lineHeight: theme.typography.h6.lineHeight,
143
146
  fontSize: theme.typography.h6.fontSize,
144
- fontWeight: theme.typography.fontWeightBold
147
+ fontWeight: theme.typography.fontWeightBold,
148
+ "&:last-child": {
149
+ marginBlockEnd: 0
150
+ }
145
151
  };
146
152
  }
147
153
  }
148
154
  },
149
155
  MuiBackdrop: {
150
156
  styleOverrides: {
151
- root: {
152
- backgroundColor: "rgba(29,29,33,0.75)"
157
+ root: _ref6 => {
158
+ let {
159
+ ownerState
160
+ } = _ref6;
161
+ return {
162
+ backgroundColor: "rgba(29,29,33,0.75)",
163
+ ...(ownerState.invisible === true && {
164
+ backgroundColor: "transparent"
165
+ })
166
+ };
153
167
  }
154
168
  }
155
169
  },
@@ -162,10 +176,10 @@ export const components = {
162
176
  props: {
163
177
  variant: "primary"
164
178
  },
165
- style: _ref6 => {
179
+ style: _ref7 => {
166
180
  let {
167
181
  theme
168
- } = _ref6;
182
+ } = _ref7;
169
183
  return {
170
184
  fontWeight: 600,
171
185
  color: theme.palette.common.white,
@@ -190,10 +204,10 @@ export const components = {
190
204
  props: {
191
205
  variant: "secondary"
192
206
  },
193
- style: _ref7 => {
207
+ style: _ref8 => {
194
208
  let {
195
209
  theme
196
- } = _ref7;
210
+ } = _ref8;
197
211
  return {
198
212
  backgroundColor: theme.palette.grey[50],
199
213
  borderColor: theme.palette.grey[200],
@@ -220,10 +234,10 @@ export const components = {
220
234
  props: {
221
235
  variant: "danger"
222
236
  },
223
- style: _ref8 => {
237
+ style: _ref9 => {
224
238
  let {
225
239
  theme
226
- } = _ref8;
240
+ } = _ref9;
227
241
  return {
228
242
  backgroundColor: theme.palette.error.main,
229
243
  color: theme.palette.common.white,
@@ -248,12 +262,12 @@ export const components = {
248
262
  props: {
249
263
  variant: "floating"
250
264
  },
251
- style: _ref9 => {
265
+ style: _ref10 => {
252
266
  let {
253
267
  theme
254
- } = _ref9;
268
+ } = _ref10;
255
269
  return {
256
- backgroundColor: theme.palette.common.white,
270
+ backgroundColor: "transparent",
257
271
  color: theme.palette.text.primary,
258
272
  borderColor: "transparent",
259
273
  "&:hover, &:focus-visible": {
@@ -278,13 +292,13 @@ export const components = {
278
292
  props: {
279
293
  size: "s"
280
294
  },
281
- style: _ref10 => {
295
+ style: _ref11 => {
282
296
  let {
283
297
  theme
284
- } = _ref10;
298
+ } = _ref11;
285
299
  return {
286
300
  paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
287
- paddingInline: `calc(${theme.spacing(3)} - 1px)`,
301
+ paddingInline: `calc(${theme.spacing(2)} - 1px)`,
288
302
  fontSize: "1rem"
289
303
  };
290
304
  }
@@ -292,10 +306,10 @@ export const components = {
292
306
  props: {
293
307
  size: "l"
294
308
  },
295
- style: _ref11 => {
309
+ style: _ref12 => {
296
310
  let {
297
311
  theme
298
- } = _ref11;
312
+ } = _ref12;
299
313
  return {
300
314
  paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
301
315
  paddingInline: `calc(${theme.spacing(4)} - 1px)`
@@ -305,10 +319,10 @@ export const components = {
305
319
  props: {
306
320
  fullWidth: true
307
321
  },
308
- style: _ref12 => {
322
+ style: _ref13 => {
309
323
  let {
310
324
  theme
311
- } = _ref12;
325
+ } = _ref13;
312
326
  return {
313
327
  display: "block",
314
328
  width: "100%",
@@ -331,15 +345,15 @@ export const components = {
331
345
  }
332
346
  }],
333
347
  styleOverrides: {
334
- root: _ref13 => {
348
+ root: _ref14 => {
335
349
  let {
336
350
  theme
337
- } = _ref13;
351
+ } = _ref14;
338
352
  return {
339
353
  fontWeight: 600,
340
354
  minWidth: "unset",
341
355
  padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
342
- display: "inline-block",
356
+ display: "inline-flex",
343
357
  position: "relative",
344
358
  marginBlock: "0",
345
359
  marginInline: "0",
@@ -352,7 +366,7 @@ export const components = {
352
366
  outlineColor: "transparent",
353
367
  outlineOffset: "0",
354
368
  fontSize: theme.typography.body1.fontSize,
355
- lineHeight: "1.14285714",
369
+ lineHeight: theme.typography.ui.lineHeight,
356
370
  whiteSpace: "nowrap",
357
371
  ".MuiButton-root + &": {
358
372
  marginInlineStart: theme.spacing(2)
@@ -367,7 +381,20 @@ export const components = {
367
381
  pointerEvents: "inherit"
368
382
  },
369
383
  ".MuiButton-startIcon > *:nth-of-type(1)": {
370
- fontSize: "inherit"
384
+ fontSize: `${theme.typography.ui.lineHeight}em`
385
+ }
386
+ };
387
+ },
388
+ startIcon: _ref15 => {
389
+ let {
390
+ theme
391
+ } = _ref15;
392
+ return {
393
+ display: "inline-flex",
394
+ margin: 0,
395
+ marginInlineEnd: theme.spacing(2),
396
+ "&:only-child": {
397
+ margin: 0
371
398
  }
372
399
  };
373
400
  }
@@ -378,22 +405,15 @@ export const components = {
378
405
  disableRipple: true
379
406
  }
380
407
  },
381
- MuiCssBaseline: {
382
- styleOverrides: {
383
- boxSizing: "border-box",
384
- fontFeatureSettings: "'lnum','pnum'",
385
- fontVariant: "normal"
386
- }
387
- },
388
408
  MuiCheckbox: {
389
409
  defaultProps: {
390
410
  size: "small"
391
411
  },
392
412
  styleOverrides: {
393
- root: _ref14 => {
413
+ root: _ref16 => {
394
414
  let {
395
415
  theme
396
- } = _ref14;
416
+ } = _ref16;
397
417
  return {
398
418
  borderRadius: "4px",
399
419
  "&:hover": {
@@ -421,6 +441,97 @@ export const components = {
421
441
  }
422
442
  }
423
443
  },
444
+ MuiChip: {
445
+ defaultProps: {
446
+ deleteIcon: _jsx(CloseCircleFilledIcon, {})
447
+ },
448
+ styleOverrides: {
449
+ root: _ref17 => {
450
+ let {
451
+ theme,
452
+ ownerState
453
+ } = _ref17;
454
+ return {
455
+ height: "auto",
456
+ paddingBlock: theme.spacing(2),
457
+ paddingInline: theme.spacing(3),
458
+ fontSize: theme.typography.body1.fontSize,
459
+ lineHeight: theme.typography.ui.lineHeight,
460
+ borderRadius: "1.5em",
461
+ backgroundColor: theme.palette.grey[100],
462
+ ...(ownerState.onDelete && {
463
+ paddingInlineEnd: theme.spacing(2)
464
+ }),
465
+ [`& .${chipClasses.deleteIcon}`]: {
466
+ WebkitTapHighlightColor: "transparent",
467
+ color: theme.palette.text.secondary,
468
+ fontSize: "1em",
469
+ cursor: "pointer",
470
+ margin: "0",
471
+ marginInlineStart: theme.spacing(2),
472
+ "&:hover": {
473
+ color: theme.palette.text.primary
474
+ }
475
+ },
476
+ [`&.${chipClasses.disabled}`]: {
477
+ opacity: 1,
478
+ pointerEvents: "none",
479
+ backgroundColor: theme.palette.grey[50],
480
+ color: theme.palette.text.secondary
481
+ },
482
+ ...(ownerState.clickable && {
483
+ "&:hover": {
484
+ backgroundColor: theme.palette.grey[200]
485
+ },
486
+ [`&.${chipClasses.focusVisible}`]: {
487
+ backgroundColor: theme.palette.grey[200],
488
+ outlineColor: theme.palette.primary.main,
489
+ outlineOffset: "2px",
490
+ outlineStyle: "solid",
491
+ outlineWidth: "2px"
492
+ },
493
+ "&:active": {
494
+ boxShadow: "none",
495
+ backgroundColor: theme.palette.grey[300]
496
+ }
497
+ }),
498
+ ...(ownerState.variant === "status" && {
499
+ paddingBlock: 0,
500
+ paddingInline: 0,
501
+ borderRadius: 0,
502
+ backgroundColor: "transparent",
503
+ color: theme.palette.text.primary,
504
+ "&::before": {
505
+ content: "''",
506
+ width: ".57em",
507
+ height: ".57em",
508
+ marginInlineEnd: theme.spacing(2),
509
+ borderRadius: "100%",
510
+ backgroundColor: theme.palette.text.secondary
511
+ },
512
+ [`&.${chipClasses.colorError}`]: {
513
+ "&::before": {
514
+ backgroundColor: theme.palette.error.main
515
+ }
516
+ },
517
+ [`&.${chipClasses.colorSuccess}`]: {
518
+ "&::before": {
519
+ backgroundColor: theme.palette.success.main
520
+ }
521
+ },
522
+ [`&.${chipClasses.colorWarning}`]: {
523
+ "&::before": {
524
+ backgroundColor: theme.palette.warning.main
525
+ }
526
+ }
527
+ })
528
+ };
529
+ },
530
+ label: {
531
+ padding: 0
532
+ }
533
+ }
534
+ },
424
535
  MuiCircularProgress: {
425
536
  defaultProps: {
426
537
  size: "1.14285714rem",
@@ -430,20 +541,20 @@ export const components = {
430
541
  variant: "indeterminate"
431
542
  },
432
543
  styleOverrides: {
433
- root: _ref15 => {
544
+ root: _ref18 => {
434
545
  let {
435
546
  theme,
436
547
  ownerState
437
- } = _ref15;
548
+ } = _ref18;
438
549
  return { ...(ownerState.color !== "inherit" && {
439
550
  color: theme.palette.primary.dark
440
551
  })
441
552
  };
442
553
  },
443
- circle: _ref16 => {
554
+ circle: _ref19 => {
444
555
  let {
445
556
  ownerState
446
- } = _ref16;
557
+ } = _ref19;
447
558
  return { ...(ownerState.variant === "indeterminate" && {
448
559
  strokeDasharray: "160%, 360%"
449
560
  })
@@ -451,15 +562,288 @@ export const components = {
451
562
  }
452
563
  }
453
564
  },
565
+ MuiCssBaseline: {
566
+ styleOverrides: themeParam => `
567
+ html {
568
+ font-size: calc((${themeParam.typography.fontSize} / 16) * 100%);
569
+ }
570
+ `
571
+ },
572
+ MuiScopedCssBaseline: {
573
+ styleOverrides: {
574
+ root: _ref20 => {
575
+ let {
576
+ theme
577
+ } = _ref20;
578
+ return {
579
+ abbr: {
580
+ borderBottomWidth: "1px",
581
+ borderBottomStyle: "dashed",
582
+ borderBottomColor: theme.palette.primary.dark,
583
+ textDecoration: "none"
584
+ },
585
+ address: {
586
+ maxWidth: theme.mixins.maxWidth,
587
+ marginBlockStart: 0,
588
+ marginBlockEnd: theme.spacing(4),
589
+ marginInline: 0,
590
+ "&:last-child": {
591
+ marginBlockEnd: 0
592
+ }
593
+ },
594
+ blockquote: {
595
+ maxWidth: theme.mixins.maxWidth,
596
+ marginBlockStart: 0,
597
+ marginBlockEnd: theme.spacing(4),
598
+ marginInline: 0,
599
+ paddingBlock: 0,
600
+ paddingInlineStart: theme.spacing(2),
601
+ paddingInlineEnd: 0,
602
+ borderInlineStartWidth: "3px",
603
+ borderInlineStartStyle: "solid",
604
+ borderInlineStartColor: theme.palette.grey[200],
605
+ "&:last-child": {
606
+ marginBlockEnd: 0
607
+ }
608
+ },
609
+ cite: {
610
+ fontStyle: "italic"
611
+ },
612
+ code: {
613
+ fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace"
614
+ },
615
+ del: {
616
+ display: "inline-block",
617
+ backgroundColor: theme.palette.error.light,
618
+ "&::before, &::after": {
619
+ clip: "rect(0 0 0 0)",
620
+ clipPath: "inset(50%)",
621
+ height: "1px",
622
+ overflow: "hidden",
623
+ position: "absolute",
624
+ whiteSpace: "nowrap",
625
+ width: "1px"
626
+ },
627
+ "&::before": {
628
+ content: "attr(data-a11y-start)"
629
+ },
630
+ "&::after": {
631
+ content: "attr(data-a11y-end)"
632
+ }
633
+ },
634
+ details: {
635
+ fontSize: theme.typography.body1.fontSize
636
+ },
637
+ dfn: {
638
+ fontStyle: "italic"
639
+ },
640
+ dl: {
641
+ display: "grid",
642
+ gridGap: `${theme.spacing(2)} ${theme.spacing(4)}`,
643
+ gridTemplateColumns: "repeat(2, minmax(min-content, max-content))",
644
+ maxWidth: theme.mixins.maxWidth,
645
+ marginBlockStart: 0,
646
+ marginBlockEnd: theme.spacing(4),
647
+ marginInline: 0,
648
+ padding: 0,
649
+ "&:last-child": {
650
+ marginBlockEnd: 0
651
+ },
652
+ dt: {
653
+ gridColumn: 1,
654
+ fontWeight: 600
655
+ },
656
+ dd: {
657
+ gridColumn: 2,
658
+ fontWeight: 400
659
+ }
660
+ },
661
+ em: {
662
+ fontStyle: "italic",
663
+ "& > em": {
664
+ textDecoration: "underline"
665
+ }
666
+ },
667
+ figure: {
668
+ display: "grid",
669
+ gridGap: theme.spacing(2),
670
+ gridTemplateColumns: "minmax(min-content, max-content)",
671
+ justifyContent: "start",
672
+ justifyItems: "start",
673
+ marginBlockStart: 0,
674
+ marginBlockEnd: theme.spacing(4),
675
+ marginInline: 0,
676
+ "&:last-child": {
677
+ marginBlockEnd: 0
678
+ }
679
+ },
680
+ "figcaption:not([class])": {
681
+ color: theme.palette.text.secondary,
682
+ fontSize: theme.typography.body1.fontSize
683
+ },
684
+ hr: {
685
+ marginBlock: theme.spacing(2),
686
+ marginInline: 0,
687
+ borderWidth: "1px",
688
+ borderStyle: "solid",
689
+ borderColor: theme.palette.grey[200]
690
+ },
691
+ ins: {
692
+ display: "inline-block",
693
+ backgroundColor: theme.palette.success.light,
694
+ "&::before, &::after": {
695
+ clip: "rect(0 0 0 0)",
696
+ clipPath: "inset(50%)",
697
+ height: "1px",
698
+ overflow: "hidden",
699
+ position: "absolute",
700
+ whiteSpace: "nowrap",
701
+ width: "1px"
702
+ },
703
+ "&::before": {
704
+ content: "attr(data-a11y-start)"
705
+ },
706
+ "&::after": {
707
+ content: "attr(data-a11y-end)"
708
+ }
709
+ },
710
+ kbd: {
711
+ display: "inline-block",
712
+ minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
713
+ borderStyle: theme.mixins.borderStyle,
714
+ borderWidth: theme.mixins.borderWidth,
715
+ borderRadius: theme.mixins.borderRadius,
716
+ borderColor: theme.palette.grey[200],
717
+ backgroundColor: theme.palette.grey[50],
718
+ padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
719
+ fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
720
+ fontSize: theme.typography.subtitle1.fontSize,
721
+ fontWeight: theme.typography.fontWeightRegular,
722
+ lineHeight: theme.typography.h5.lineHeight,
723
+ boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
724
+ },
725
+ mark: {
726
+ backgroundColor: theme.palette.warning.light,
727
+ "&::before, &::after": {
728
+ clip: "rect(0 0 0 0)",
729
+ clipPath: "inset(50%)",
730
+ height: "1px",
731
+ overflow: "hidden",
732
+ position: "absolute",
733
+ whiteSpace: "nowrap",
734
+ width: "1px"
735
+ },
736
+ "&::before": {
737
+ content: "attr(data-a11y-start)"
738
+ },
739
+ "&::after": {
740
+ content: "attr(data-a11y-end)"
741
+ }
742
+ },
743
+ p: {
744
+ maxWidth: theme.mixins.maxWidth,
745
+ marginBlockStart: 0,
746
+ marginBlockEnd: theme.spacing(4),
747
+ "&:last-child": {
748
+ marginBlockEnd: 0
749
+ }
750
+ },
751
+ pre: {
752
+ marginInline: 0,
753
+ marginBlockStart: 0,
754
+ marginBlockEnd: theme.spacing(4),
755
+ fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
756
+ whiteSpace: "pre-wrap",
757
+ tabSize: 2,
758
+ "&:last-child": {
759
+ marginBlockEnd: 0
760
+ }
761
+ },
762
+ "ul, ol": {
763
+ maxWidth: theme.mixins.maxWidth,
764
+ marginBlockStart: 0,
765
+ marginBlockEnd: theme.spacing(4),
766
+ paddingInlineStart: "2ch",
767
+ ol: {
768
+ listStyleType: "lower-alpha",
769
+ ol: {
770
+ listStyleType: "lower-roman"
771
+ }
772
+ },
773
+ "&:last-child": {
774
+ marginBlockEnd: 0
775
+ }
776
+ },
777
+ li: {
778
+ marginBlockEnd: theme.spacing(2),
779
+ paddingInlineStart: theme.spacing(1),
780
+ "ul, ol": {
781
+ marginBlockStart: theme.spacing(2),
782
+ marginInlineStart: `calc(${theme.spacing(6)} - 2ch)`
783
+ }
784
+ },
785
+ q: {
786
+ quotes: `'"' '"' "'" "'"`,
787
+ "&::before": {
788
+ content: "open-quote"
789
+ },
790
+ "&::after": {
791
+ content: "close-quote"
792
+ }
793
+ },
794
+ s: {
795
+ textDecoration: "line-through"
796
+ },
797
+ samp: {
798
+ padding: "0 0.5ch",
799
+ backgroundColor: theme.palette.grey[50],
800
+ boxShadow: `0 1px 0 ${theme.palette.grey[50]}`,
801
+ fontSize: theme.typography.body1.fontSize,
802
+ kbd: {
803
+ background: theme.palette.common.white
804
+ }
805
+ },
806
+ small: {
807
+ fontSize: theme.typography.caption.fontSize
808
+ },
809
+ sub: {
810
+ fontSize: theme.typography.caption.fontSize,
811
+ lineHeight: 1,
812
+ verticalAlign: "sub"
813
+ },
814
+ summary: {
815
+ fontSize: theme.typography.body1.fontSize,
816
+ fontWeight: theme.typography.fontWeightBold,
817
+ cursor: "default",
818
+ "&:focus-visible": {
819
+ outlineColor: theme.palette.primary.main,
820
+ outlineOffset: "2px",
821
+ outlineStyle: "solid",
822
+ outlineWidth: "2px"
823
+ }
824
+ },
825
+ sup: {
826
+ fontSize: theme.typography.caption.fontSize,
827
+ lineHeight: 1,
828
+ verticalAlign: "super"
829
+ },
830
+ var: {
831
+ fontStyle: "italic",
832
+ fontWeight: theme.typography.fontWeightBold
833
+ }
834
+ };
835
+ }
836
+ }
837
+ },
454
838
  MuiDialog: {
455
839
  defaultProps: {
456
840
  scroll: "paper"
457
841
  },
458
842
  styleOverrides: {
459
- paper: _ref17 => {
843
+ paper: _ref21 => {
460
844
  let {
461
845
  theme
462
- } = _ref17;
846
+ } = _ref21;
463
847
  return {
464
848
  maxWidth: `calc(${theme.mixins.maxWidth} + (${theme.spacing(6)} * 2))`,
465
849
  boxShadow: "none",
@@ -470,10 +854,10 @@ export const components = {
470
854
  },
471
855
  MuiDialogActions: {
472
856
  styleOverrides: {
473
- root: _ref18 => {
857
+ root: _ref22 => {
474
858
  let {
475
859
  theme
476
- } = _ref18;
860
+ } = _ref22;
477
861
  return {
478
862
  paddingBlockStart: theme.spacing(4),
479
863
  paddingBlockEnd: theme.spacing(6),
@@ -484,11 +868,11 @@ export const components = {
484
868
  },
485
869
  MuiDialogContent: {
486
870
  styleOverrides: {
487
- root: _ref19 => {
871
+ root: _ref23 => {
488
872
  let {
489
873
  theme,
490
874
  ownerState
491
- } = _ref19;
875
+ } = _ref23;
492
876
  return {
493
877
  padding: 0,
494
878
  paddingBlock: theme.spacing(4),
@@ -507,10 +891,10 @@ export const components = {
507
891
  color: "text.primary"
508
892
  },
509
893
  styleOverrides: {
510
- root: _ref20 => {
894
+ root: _ref24 => {
511
895
  let {
512
896
  theme
513
- } = _ref20;
897
+ } = _ref24;
514
898
  return {
515
899
  marginBlockEnd: theme.spacing(5),
516
900
  "&:last-child": {
@@ -526,10 +910,10 @@ export const components = {
526
910
  variant: "h5"
527
911
  },
528
912
  styleOverrides: {
529
- root: _ref21 => {
913
+ root: _ref25 => {
530
914
  let {
531
915
  theme
532
- } = _ref21;
916
+ } = _ref25;
533
917
  return {
534
918
  display: "flex",
535
919
  justifyContent: "space-between",
@@ -548,11 +932,11 @@ export const components = {
548
932
  margin: "normal"
549
933
  },
550
934
  styleOverrides: {
551
- root: _ref22 => {
935
+ root: _ref26 => {
552
936
  let {
553
937
  ownerState,
554
938
  theme
555
- } = _ref22;
939
+ } = _ref26;
556
940
  return {
557
941
  width: "100%",
558
942
  maxWidth: "32rem",
@@ -579,24 +963,24 @@ export const components = {
579
963
  },
580
964
  MuiFormControlLabel: {
581
965
  styleOverrides: {
582
- root: _ref23 => {
966
+ root: _ref27 => {
583
967
  let {
584
968
  theme,
585
969
  ownerState
586
- } = _ref23;
970
+ } = _ref27;
587
971
  return {
588
972
  gap: theme.spacing(2),
589
- marginLeft: 0,
590
- marginRight: 0,
973
+ marginInlineStart: 0,
974
+ marginInlineEnd: 0,
591
975
  ...(ownerState.labelPlacement === "start" && {
592
- marginLeft: 0,
593
- marginRight: 0
976
+ marginInlineStart: 0,
977
+ marginInlineEnd: 0
594
978
  }),
595
979
  ...(ownerState.labelPlacement === "top" && {
596
- marginLeft: 0
980
+ marginInlineStart: 0
597
981
  }),
598
982
  ...(ownerState.labelPlacement === "bottom" && {
599
- marginLeft: 0
983
+ marginInlineStart: 0
600
984
  }),
601
985
  "&:not(:last-child)": {
602
986
  marginBottom: theme.spacing(2)
@@ -625,10 +1009,10 @@ export const components = {
625
1009
  variant: "standard"
626
1010
  },
627
1011
  styleOverrides: {
628
- root: _ref24 => {
1012
+ root: _ref28 => {
629
1013
  let {
630
1014
  theme
631
- } = _ref24;
1015
+ } = _ref28;
632
1016
  return {
633
1017
  fontSize: theme.typography.subtitle1.fontSize,
634
1018
  lineHeight: "1.33333333",
@@ -640,20 +1024,21 @@ export const components = {
640
1024
  marginBottom: theme.spacing(2),
641
1025
  "&:last-child": {
642
1026
  marginBottom: 0
643
- }
1027
+ },
1028
+ textAlign: "start"
644
1029
  };
645
1030
  }
646
1031
  }
647
1032
  },
648
1033
  MuiFormLabel: {
649
1034
  styleOverrides: {
650
- root: _ref25 => {
1035
+ root: _ref29 => {
651
1036
  let {
652
1037
  theme
653
- } = _ref25;
1038
+ } = _ref29;
654
1039
  return {
655
1040
  color: theme.palette.text.primary,
656
- lineHeight: "1.14285714",
1041
+ lineHeight: theme.typography.ui.lineHeight,
657
1042
  fontSize: "1rem",
658
1043
  fontWeight: 600,
659
1044
  marginBottom: theme.spacing(2),
@@ -666,10 +1051,18 @@ export const components = {
666
1051
  },
667
1052
  MuiIconButton: {
668
1053
  styleOverrides: {
669
- root: _ref26 => {
1054
+ edgeEnd: _ref30 => {
670
1055
  let {
671
1056
  theme
672
- } = _ref26;
1057
+ } = _ref30;
1058
+ return {
1059
+ marginInlineEnd: theme.spacing(1)
1060
+ };
1061
+ },
1062
+ root: _ref31 => {
1063
+ let {
1064
+ theme
1065
+ } = _ref31;
673
1066
  return {
674
1067
  padding: theme.spacing(1),
675
1068
  fontSize: theme.typography.body1.fontSize,
@@ -714,23 +1107,24 @@ export const components = {
714
1107
  variant: "outlined"
715
1108
  },
716
1109
  styleOverrides: {
717
- root: _ref27 => {
1110
+ root: _ref32 => {
718
1111
  let {
719
1112
  theme,
720
1113
  ownerState
721
- } = _ref27;
1114
+ } = _ref32;
722
1115
  return {
723
1116
  display: "flex",
724
- minWidth: "1em",
1117
+ minWidth: "1.25em",
725
1118
  maxHeight: "unset",
1119
+ margin: 0,
726
1120
  alignItems: "center",
727
1121
  whiteSpace: "nowrap",
728
1122
  color: theme.palette.action.active,
729
1123
  ...(ownerState.position === "start" && {
730
- marginInlineEnd: theme.spacing(2)
1124
+ marginInlineStart: theme.spacing(2)
731
1125
  }),
732
1126
  ...(ownerState.position === "end" && {
733
- marginInlineStart: theme.spacing(2)
1127
+ marginInlineEnd: theme.spacing(2)
734
1128
  }),
735
1129
  ...(ownerState.disablePointerEvents === true && {
736
1130
  pointerEvents: "none"
@@ -745,30 +1139,20 @@ export const components = {
745
1139
  required: true
746
1140
  },
747
1141
  styleOverrides: {
748
- root: _ref28 => {
1142
+ root: _ref33 => {
749
1143
  let {
750
1144
  ownerState,
751
1145
  theme
752
- } = _ref28;
1146
+ } = _ref33;
753
1147
  return { ...theme.typography.body1,
754
1148
  flex: "1",
755
1149
  width: "auto",
756
1150
  color: theme.palette.text.primary,
757
- lineHeight: "1.14285714",
1151
+ lineHeight: theme.typography.ui.lineHeight,
758
1152
  borderWidth: theme.mixins.borderWidth,
759
1153
  borderStyle: theme.mixins.borderStyle,
760
1154
  borderRadius: theme.mixins.borderRadius,
761
1155
  borderColor: theme.palette.grey[500],
762
- paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
763
- paddingInline: theme.spacing(3),
764
- ...(ownerState.multiline && {
765
- paddingBlock: theme.spacing(3),
766
- paddingInline: theme.spacing(3),
767
- ...(ownerState.size === "small" && {
768
- paddingBlock: theme.spacing(3),
769
- paddingInline: theme.spacing(3)
770
- })
771
- }),
772
1156
  ...(ownerState.fullWidth && {
773
1157
  width: "100%"
774
1158
  }),
@@ -804,19 +1188,23 @@ export const components = {
804
1188
  }
805
1189
  };
806
1190
  },
807
- input: _ref29 => {
1191
+ input: _ref34 => {
808
1192
  let {
809
1193
  theme
810
- } = _ref29;
1194
+ } = _ref34;
811
1195
  return {
812
1196
  boxSizing: "border-box",
813
1197
  height: "auto",
814
- paddingBlock: 0,
815
- paddingInline: 0,
1198
+ paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
1199
+ paddingInline: theme.spacing(3),
1200
+ boxShadow: "none",
816
1201
  [`.${inputBaseClasses.disabled} &`]: {
817
1202
  pointerEvents: "auto",
818
1203
  cursor: "not-allowed"
819
1204
  },
1205
+ [`.${inputAdornmentClasses.root} + &`]: {
1206
+ paddingInlineStart: theme.spacing(2)
1207
+ },
820
1208
  [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
821
1209
  "&::placeholder": {
822
1210
  color: theme.palette.text.secondary,
@@ -833,10 +1221,10 @@ export const components = {
833
1221
  shrink: false
834
1222
  },
835
1223
  styleOverrides: {
836
- root: _ref30 => {
1224
+ root: _ref35 => {
837
1225
  let {
838
1226
  ownerState
839
- } = _ref30;
1227
+ } = _ref35;
840
1228
  return {
841
1229
  display: "flex",
842
1230
  justifyContent: "space-between",
@@ -858,15 +1246,15 @@ export const components = {
858
1246
  },
859
1247
  MuiLink: {
860
1248
  styleOverrides: {
861
- root: _ref31 => {
1249
+ root: _ref36 => {
862
1250
  let {
863
1251
  theme
864
- } = _ref31;
1252
+ } = _ref36;
865
1253
  return {
866
1254
  color: theme.palette.primary.main,
867
- textDecoration: "none",
1255
+ textDecoration: "underline",
868
1256
  "&:hover": {
869
- color: theme.palette.primary.main,
1257
+ color: theme.palette.primary.dark,
870
1258
  textDecoration: "underline"
871
1259
  },
872
1260
  "&:focus-visible": {
@@ -904,10 +1292,10 @@ export const components = {
904
1292
  props: {
905
1293
  variant: "monochrome"
906
1294
  },
907
- style: _ref32 => {
1295
+ style: _ref37 => {
908
1296
  let {
909
1297
  theme
910
- } = _ref32;
1298
+ } = _ref37;
911
1299
  return {
912
1300
  color: theme.palette.text.primary,
913
1301
  textDecoration: "underline",
@@ -927,30 +1315,92 @@ export const components = {
927
1315
  }
928
1316
  }]
929
1317
  },
1318
+ MuiListItem: {
1319
+ styleOverrides: {
1320
+ root: {
1321
+ textAlign: "start"
1322
+ }
1323
+ }
1324
+ },
1325
+ MuiListSubheader: {
1326
+ styleOverrides: {
1327
+ root: _ref38 => {
1328
+ let {
1329
+ theme
1330
+ } = _ref38;
1331
+ return {
1332
+ paddingBlock: theme.spacing(2),
1333
+ paddingInline: theme.spacing(4),
1334
+ fontSize: theme.typography.caption.fontSize,
1335
+ lineHeight: theme.typography.caption.lineHeight,
1336
+ color: theme.palette.text.secondary,
1337
+ textTransform: "uppercase"
1338
+ };
1339
+ }
1340
+ }
1341
+ },
1342
+ MuiMenuItem: {
1343
+ styleOverrides: {
1344
+ root: _ref39 => {
1345
+ let {
1346
+ theme
1347
+ } = _ref39;
1348
+ return {
1349
+ justifyContent: "space-between",
1350
+ gap: theme.spacing(2),
1351
+ "&.Mui-selected": {
1352
+ backgroundColor: "transparent",
1353
+ color: theme.palette.primary.main,
1354
+ "&:hover": {
1355
+ backgroundColor: theme.palette.primary.lighter
1356
+ }
1357
+ }
1358
+ };
1359
+ }
1360
+ }
1361
+ },
930
1362
  MuiNativeSelect: {
931
1363
  defaultProps: {
932
1364
  variant: "standard"
933
1365
  },
934
1366
  styleOverrides: {
935
- icon: _ref33 => {
1367
+ select: {
1368
+ "&:focus": {
1369
+ backgroundColor: "transparent"
1370
+ }
1371
+ },
1372
+ icon: _ref40 => {
936
1373
  let {
937
1374
  theme
938
- } = _ref33;
1375
+ } = _ref40;
939
1376
  return {
1377
+ insetInlineEnd: theme.spacing(3),
940
1378
  color: theme.palette.text.primary
941
1379
  };
942
1380
  }
943
1381
  }
944
1382
  },
1383
+ MuiPopover: {
1384
+ styleOverrides: {
1385
+ paper: _ref41 => {
1386
+ let {
1387
+ theme
1388
+ } = _ref41;
1389
+ return {
1390
+ marginBlockStart: theme.spacing(1)
1391
+ };
1392
+ }
1393
+ }
1394
+ },
945
1395
  MuiRadio: {
946
1396
  defaultProps: {
947
1397
  size: "small"
948
1398
  },
949
1399
  styleOverrides: {
950
- root: _ref34 => {
1400
+ root: _ref42 => {
951
1401
  let {
952
1402
  theme
953
- } = _ref34;
1403
+ } = _ref42;
954
1404
  return {
955
1405
  "&:hover": {
956
1406
  backgroundColor: "transparent"
@@ -982,14 +1432,35 @@ export const components = {
982
1432
  },
983
1433
  MuiSelect: {
984
1434
  defaultProps: {
985
- variant: "standard"
1435
+ variant: "standard",
1436
+ IconComponent: ChevronDownIcon
986
1437
  },
987
1438
  styleOverrides: {
988
- icon: _ref35 => {
1439
+ select: _ref43 => {
989
1440
  let {
990
1441
  theme
991
- } = _ref35;
1442
+ } = _ref43;
1443
+ return {
1444
+ paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
1445
+ paddingInline: theme.spacing(3),
1446
+ "&:focus": {
1447
+ backgroundColor: "transparent"
1448
+ },
1449
+ ".MuiBox-root": {
1450
+ display: "flex",
1451
+ flexWrap: "wrap",
1452
+ gap: theme.spacing(1),
1453
+ marginBlock: `-${theme.spacing(2)}`,
1454
+ marginInline: `-${theme.spacing(2)}`
1455
+ }
1456
+ };
1457
+ },
1458
+ icon: _ref44 => {
1459
+ let {
1460
+ theme
1461
+ } = _ref44;
992
1462
  return {
1463
+ insetInlineEnd: theme.spacing(3),
993
1464
  color: theme.palette.text.primary
994
1465
  };
995
1466
  }
@@ -999,6 +1470,16 @@ export const components = {
999
1470
  defaultProps: {
1000
1471
  fontSize: "inherit",
1001
1472
  color: "inherit"
1473
+ },
1474
+ styleOverrides: {
1475
+ root: _ref45 => {
1476
+ let {
1477
+ theme
1478
+ } = _ref45;
1479
+ return {
1480
+ fontSize: `${theme.typography.ui.lineHeight}rem`
1481
+ };
1482
+ }
1002
1483
  }
1003
1484
  },
1004
1485
  MuiTab: {
@@ -1006,11 +1487,11 @@ export const components = {
1006
1487
  iconPosition: "start"
1007
1488
  },
1008
1489
  styleOverrides: {
1009
- root: _ref36 => {
1490
+ root: _ref46 => {
1010
1491
  let {
1011
1492
  theme,
1012
1493
  ownerState
1013
- } = _ref36;
1494
+ } = _ref46;
1014
1495
  return {
1015
1496
  maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
1016
1497
  minWidth: "unset",
@@ -1071,11 +1552,11 @@ export const components = {
1071
1552
  },
1072
1553
  MuiTable: {
1073
1554
  styleOverrides: {
1074
- root: _ref37 => {
1555
+ root: _ref47 => {
1075
1556
  let {
1076
1557
  theme,
1077
1558
  ownerState
1078
- } = _ref37;
1559
+ } = _ref47;
1079
1560
  return {
1080
1561
  display: "table",
1081
1562
  width: "auto",
@@ -1085,24 +1566,33 @@ export const components = {
1085
1566
  borderRadius: theme.mixins.borderRadius,
1086
1567
  marginBlock: theme.spacing(0),
1087
1568
  marginInline: theme.spacing(0),
1088
- lineHeight: "1.14285714",
1569
+ lineHeight: theme.typography.ui.lineHeight,
1089
1570
  "&:only-child": {
1090
1571
  marginBlockEnd: 0
1091
1572
  },
1092
1573
  ...(ownerState.stickyHeader && {
1093
1574
  borderCollapse: "separate"
1094
- })
1575
+ }),
1576
+ caption: {
1577
+ clip: "rect(0 0 0 0)",
1578
+ clipPath: "inset(50%)",
1579
+ height: "1px",
1580
+ overflow: "hidden",
1581
+ position: "absolute",
1582
+ whiteSpace: "nowrap",
1583
+ width: "1px"
1584
+ }
1095
1585
  };
1096
1586
  }
1097
1587
  }
1098
1588
  },
1099
1589
  MuiTableCell: {
1100
1590
  styleOverrides: {
1101
- root: _ref38 => {
1591
+ root: _ref48 => {
1102
1592
  let {
1103
1593
  theme,
1104
1594
  ownerState
1105
- } = _ref38;
1595
+ } = _ref48;
1106
1596
  return { ...theme.typography.body1,
1107
1597
  maxWidth: theme.mixins.maxWidth,
1108
1598
  borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
@@ -1149,7 +1639,7 @@ export const components = {
1149
1639
  fontWeight: theme.typography.fontWeightBold
1150
1640
  }),
1151
1641
  ...(ownerState.variant === "number" && {
1152
- textAlign: "right",
1642
+ textAlign: "end",
1153
1643
  fontFeatureSettings: '"lnum", "tnum"'
1154
1644
  }),
1155
1645
  ...(ownerState.padding === "checkbox" && {
@@ -1160,13 +1650,13 @@ export const components = {
1160
1650
  padding: 0
1161
1651
  }),
1162
1652
  ...(ownerState.align === "left" && {
1163
- textAlign: "left"
1653
+ textAlign: "start"
1164
1654
  }),
1165
1655
  ...(ownerState.align === "center" && {
1166
1656
  textAlign: "center"
1167
1657
  }),
1168
1658
  ...(ownerState.align === "right" && {
1169
- textAlign: "right",
1659
+ textAlign: "end",
1170
1660
  flexDirection: "row-reverse"
1171
1661
  }),
1172
1662
  ...(ownerState.align === "justify" && {
@@ -1177,11 +1667,14 @@ export const components = {
1177
1667
  }
1178
1668
  },
1179
1669
  MuiTableContainer: {
1670
+ defaultProps: {
1671
+ component: "figure"
1672
+ },
1180
1673
  styleOverrides: {
1181
- root: _ref39 => {
1674
+ root: _ref49 => {
1182
1675
  let {
1183
1676
  theme
1184
- } = _ref39;
1677
+ } = _ref49;
1185
1678
  return {
1186
1679
  width: "unset",
1187
1680
  maxWidth: "100%",
@@ -1198,10 +1691,10 @@ export const components = {
1198
1691
  },
1199
1692
  MuiTableRow: {
1200
1693
  styleOverrides: {
1201
- root: _ref40 => {
1694
+ root: _ref50 => {
1202
1695
  let {
1203
1696
  theme
1204
- } = _ref40;
1697
+ } = _ref50;
1205
1698
  return {
1206
1699
  verticalAlign: "unset",
1207
1700
  [`&.${tableRowClasses.root}:hover`]: {
@@ -1222,10 +1715,10 @@ export const components = {
1222
1715
  IconComponent: ArrowDownIcon
1223
1716
  },
1224
1717
  styleOverrides: {
1225
- root: _ref41 => {
1718
+ root: _ref51 => {
1226
1719
  let {
1227
1720
  theme
1228
- } = _ref41;
1721
+ } = _ref51;
1229
1722
  return {
1230
1723
  cursor: "pointer",
1231
1724
  display: "inline-flex",
@@ -1254,15 +1747,15 @@ export const components = {
1254
1747
  }
1255
1748
  };
1256
1749
  },
1257
- icon: _ref42 => {
1750
+ icon: _ref52 => {
1258
1751
  let {
1259
1752
  theme,
1260
1753
  ownerState
1261
- } = _ref42;
1754
+ } = _ref52;
1262
1755
  return {
1263
1756
  fontSize: "inherit",
1264
- marginRight: 0,
1265
- marginLeft: 0,
1757
+ marginInlineEnd: 0,
1758
+ marginInlineStart: 0,
1266
1759
  opacity: 0,
1267
1760
  color: "inherit",
1268
1761
  transition: theme.transitions.create(["opacity", "transform"], {
@@ -1287,19 +1780,19 @@ export const components = {
1287
1780
  },
1288
1781
  MuiTabs: {
1289
1782
  styleOverrides: {
1290
- root: _ref43 => {
1783
+ root: _ref53 => {
1291
1784
  let {
1292
1785
  theme
1293
- } = _ref43;
1786
+ } = _ref53;
1294
1787
  return {
1295
1788
  minHeight: "unset",
1296
1789
  marginBottom: theme.spacing(5)
1297
1790
  };
1298
1791
  },
1299
- flexContainer: _ref44 => {
1792
+ flexContainer: _ref54 => {
1300
1793
  let {
1301
1794
  theme
1302
- } = _ref44;
1795
+ } = _ref54;
1303
1796
  return {
1304
1797
  gap: theme.spacing(5),
1305
1798
  borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`
@@ -1315,11 +1808,11 @@ export const components = {
1315
1808
  placement: "top"
1316
1809
  },
1317
1810
  styleOverrides: {
1318
- tooltip: _ref45 => {
1811
+ tooltip: _ref55 => {
1319
1812
  let {
1320
1813
  theme,
1321
1814
  ownerState
1322
- } = _ref45;
1815
+ } = _ref55;
1323
1816
  return {
1324
1817
  maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
1325
1818
  paddingBlock: theme.spacing(2),
@@ -1338,28 +1831,28 @@ export const components = {
1338
1831
  [`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
1339
1832
  transformOrigin: "right center",
1340
1833
  ...(ownerState.isRtl ? {
1341
- marginLeft: theme.spacing(3),
1834
+ marginInlineStart: theme.spacing(3),
1342
1835
  ...(ownerState.touch === true && {
1343
- marginLeft: theme.spacing(4)
1836
+ marginInlineStart: theme.spacing(4)
1344
1837
  })
1345
1838
  } : {
1346
- marginRight: theme.spacing(3),
1839
+ marginInlineEnd: theme.spacing(3),
1347
1840
  ...(ownerState.touch === true && {
1348
- marginRight: theme.spacing(4)
1841
+ marginInlineEnd: theme.spacing(4)
1349
1842
  })
1350
1843
  })
1351
1844
  },
1352
1845
  [`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
1353
1846
  transformOrigin: "left center",
1354
1847
  ...(ownerState.isRtl ? {
1355
- marginRight: theme.spacing(3),
1848
+ marginInlineEnd: theme.spacing(3),
1356
1849
  ...(ownerState.touch === true && {
1357
- marginRight: theme.spacing(4)
1850
+ marginInlineEnd: theme.spacing(4)
1358
1851
  })
1359
1852
  } : {
1360
- marginLeft: theme.spacing(3),
1853
+ marginInlineStart: theme.spacing(3),
1361
1854
  ...(ownerState.touch === true && {
1362
- marginLeft: theme.spacing(4)
1855
+ marginInlineStart: theme.spacing(4)
1363
1856
  })
1364
1857
  })
1365
1858
  },
@@ -1379,10 +1872,10 @@ export const components = {
1379
1872
  }
1380
1873
  };
1381
1874
  },
1382
- arrow: _ref46 => {
1875
+ arrow: _ref56 => {
1383
1876
  let {
1384
1877
  theme
1385
- } = _ref46;
1878
+ } = _ref56;
1386
1879
  return {
1387
1880
  color: theme.palette.grey[900],
1388
1881
  "&::before": {
@@ -1417,39 +1910,17 @@ export const components = {
1417
1910
  subtitle1: "p",
1418
1911
  body1: "p",
1419
1912
  inherit: "p",
1420
- kbd: "kbd",
1421
1913
  legend: "legend"
1422
1914
  }
1423
1915
  },
1424
1916
  styleOverrides: {
1425
- paragraph: _ref47 => {
1917
+ paragraph: _ref57 => {
1426
1918
  let {
1427
1919
  theme
1428
- } = _ref47;
1920
+ } = _ref57;
1429
1921
  return {
1430
1922
  marginBottom: theme.spacing(4)
1431
1923
  };
1432
- },
1433
- root: _ref48 => {
1434
- let {
1435
- theme,
1436
- ownerState
1437
- } = _ref48;
1438
- return { ...(ownerState.variant === "kbd" && {
1439
- display: "inline-block",
1440
- minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
1441
- borderStyle: theme.mixins.borderStyle,
1442
- borderWidth: theme.mixins.borderWidth,
1443
- borderRadius: theme.mixins.borderRadius,
1444
- borderColor: theme.palette.grey[200],
1445
- backgroundColor: theme.palette.grey[50],
1446
- padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
1447
- fontSize: theme.typography.subtitle1.fontSize,
1448
- fontWeight: theme.typography.fontWeightRegular,
1449
- lineHeight: theme.typography.h5.lineHeight,
1450
- boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
1451
- })
1452
- };
1453
1924
  }
1454
1925
  }
1455
1926
  }