@superdispatch/ui 0.21.5-alpha.4 → 0.21.6

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 (57) hide show
  1. package/dist-node/index.js +1357 -1441
  2. package/dist-node/index.js.map +1 -1
  3. package/dist-src/adaptive-toolbar/AdaptiveToolbar.js +12 -14
  4. package/dist-src/adaptive-vertical-toolbar/AdaptiveVerticalToolbar.js +3 -3
  5. package/dist-src/app-bar/AppBarOverrides.js +4 -6
  6. package/dist-src/autocomplete/AutocompleteOverrides.js +18 -14
  7. package/dist-src/avatar/AvatarOverrides.js +12 -14
  8. package/dist-src/avatar-button/AvatarButton.js +92 -80
  9. package/dist-src/button/Button.js +15 -11
  10. package/dist-src/button/ButtonOverrides.js +149 -147
  11. package/dist-src/card/CardOverrides.js +6 -10
  12. package/dist-src/card-button/CardButton.js +75 -78
  13. package/dist-src/checkbox/CheckboxField.js +1 -1
  14. package/dist-src/checkbox/CheckboxGroudField.js +1 -1
  15. package/dist-src/checkbox/CheckboxOverrides.js +50 -60
  16. package/dist-src/chip/ChipOverrides.js +85 -88
  17. package/dist-src/description-list/DescriptionList.js +55 -58
  18. package/dist-src/dialog/DialogOverrides.js +25 -31
  19. package/dist-src/drawer/DrawerActions.js +34 -32
  20. package/dist-src/drawer/DrawerContent.js +26 -10
  21. package/dist-src/drawer/DrawerList.js +27 -8
  22. package/dist-src/drawer/DrawerOverrides.js +10 -12
  23. package/dist-src/drawer/DrawerTitle.js +40 -46
  24. package/dist-src/dropdown-button/DropdownButton.js +1 -1
  25. package/dist-src/grid/GridStack.js +1 -1
  26. package/dist-src/grid/InlineGrid.js +2 -2
  27. package/dist-src/icon-button/IconButtonOverrides.js +32 -48
  28. package/dist-src/info-card/InfoCard.js +37 -27
  29. package/dist-src/link/LinkOverrides.js +26 -29
  30. package/dist-src/list/ListOverrides.js +7 -10
  31. package/dist-src/menu/MenuOverrides.js +14 -28
  32. package/dist-src/number-field/NumberField.js +1 -1
  33. package/dist-src/overflow-text/OverflowText.js +34 -35
  34. package/dist-src/pagination/PaginationOverrides.js +32 -27
  35. package/dist-src/paper/PaperOverrides.js +6 -8
  36. package/dist-src/radio/RadioField.js +1 -1
  37. package/dist-src/radio/RadioGroupField.js +1 -1
  38. package/dist-src/radio/RadioOverrides.js +36 -38
  39. package/dist-src/responsive/ResponsiveContext.js +1 -1
  40. package/dist-src/snackbar/Snackbar.js +1 -1
  41. package/dist-src/snackbar/SnackbarContent.js +3 -3
  42. package/dist-src/snackbar/SnackbarOverrides.js +18 -28
  43. package/dist-src/svg-icon/SvgIconOverrides.js +18 -28
  44. package/dist-src/switch/SwitchOverrides.js +71 -72
  45. package/dist-src/tabs/TabsOverrides.js +30 -34
  46. package/dist-src/tag/Tag.js +2 -2
  47. package/dist-src/text-field/TextFieldOverrides.js +137 -158
  48. package/dist-src/theme/ThemeProvider.js +28 -25
  49. package/dist-src/tiles/Tiles.js +3 -4
  50. package/dist-src/toolbar/ToolbarOverrides.js +8 -10
  51. package/dist-src/tooltip/TooltipOverrides.js +30 -33
  52. package/dist-src/typography/TypographyOverrides.js +2 -12
  53. package/dist-types/index.d.ts +381 -385
  54. package/dist-web/index.js +1289 -1373
  55. package/dist-web/index.js.map +1 -1
  56. package/package.json +39 -39
  57. package/dist-src/theme/CssBaselineOverrides.js +0 -8
@@ -6,44 +6,46 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
6
6
 
7
7
  var _objectSpread = _interopDefault(require('@babel/runtime/helpers/objectSpread2'));
8
8
  var _objectWithoutProperties = _interopDefault(require('@babel/runtime/helpers/objectWithoutProperties'));
9
- var iconsMaterial = require('@mui/icons-material');
10
- var material = require('@mui/material');
9
+ var core = require('@material-ui/core');
10
+ var icons = require('@material-ui/icons');
11
+ var styles = require('@material-ui/styles');
11
12
  var React = require('react');
12
- var lab = require('@mui/lab');
13
13
  var jsxRuntime = require('react/jsx-runtime');
14
14
  var styled = require('styled-components');
15
15
  var styled__default = _interopDefault(styled);
16
16
  var resizeObserver = require('@juggle/resize-observer');
17
17
  var hooks = require('@superdispatch/hooks');
18
- var styles = require('@mui/styles');
18
+ var clsx = _interopDefault(require('clsx'));
19
19
  var flattenChildren = _interopDefault(require('react-keyed-flatten-children'));
20
20
  var NumberFormat = _interopDefault(require('react-number-format'));
21
- var clsx = _interopDefault(require('clsx'));
22
- var system = require('@mui/system');
21
+ var createBreakpoints = _interopDefault(require('@material-ui/core/styles/createBreakpoints'));
23
22
 
24
- var _excluded = ["size", "children", "isActive", "isLoading", "color"];
23
+ var _excluded = ["size", "children", "disabled", "isActive", "isLoading", "color"];
25
24
  var Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {
26
25
  var {
27
26
  size,
28
27
  children,
28
+ disabled,
29
29
  isActive,
30
30
  isLoading,
31
31
  color = 'primary'
32
32
  } = _ref,
33
33
  props = _objectWithoutProperties(_ref, _excluded);
34
34
 
35
- return /*#__PURE__*/jsxRuntime.jsx(lab.LoadingButton, _objectSpread(_objectSpread({}, props), {}, {
35
+ return /*#__PURE__*/jsxRuntime.jsx(core.Button, _objectSpread(_objectSpread({}, props), {}, {
36
36
  ref: ref,
37
37
  size: size,
38
38
  "data-color": color,
39
- loading: isLoading,
39
+ "aria-busy": isLoading,
40
40
  "aria-expanded": isActive,
41
- color: color === 'primary' ? color : 'inherit',
42
- loadingIndicator: /*#__PURE__*/jsxRuntime.jsx(material.CircularProgress, {
43
- size: "1em",
44
- color: "inherit"
45
- }),
46
- children: children
41
+ disabled: disabled || isLoading,
42
+ color: color === 'primary' ? color : 'default',
43
+ children: !isLoading ? children : /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
44
+ children: [children, /*#__PURE__*/jsxRuntime.jsx(core.CircularProgress, {
45
+ size: "1em",
46
+ color: "inherit"
47
+ })]
48
+ })
47
49
  }));
48
50
  });
49
51
  if (process.env.NODE_ENV !== "production") Button.displayName = "Button";
@@ -106,7 +108,7 @@ var DropdownButton = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
106
108
  }
107
109
 
108
110
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
109
- children: [/*#__PURE__*/jsxRuntime.jsxs(material.ButtonGroup, _objectSpread(_objectSpread({}, ButtonGroupProps), {}, {
111
+ children: [/*#__PURE__*/jsxRuntime.jsxs(core.ButtonGroup, _objectSpread(_objectSpread({}, ButtonGroupProps), {}, {
110
112
  ref: mergeRefs(ButtonGroupProps === null || ButtonGroupProps === void 0 ? void 0 : ButtonGroupProps.ref, anchorRef),
111
113
  fullWidth: (ButtonGroupProps === null || ButtonGroupProps === void 0 ? void 0 : ButtonGroupProps.fullWidth) || buttonProps.fullWidth,
112
114
  children: [/*#__PURE__*/jsxRuntime.jsx(Button, _objectSpread(_objectSpread({
@@ -126,7 +128,7 @@ var DropdownButton = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
126
128
  "aria-expanded": open ? 'true' : undefined,
127
129
  children: /*#__PURE__*/jsxRuntime.jsx(CaretDownIcon, {})
128
130
  })]
129
- })), /*#__PURE__*/jsxRuntime.jsx(material.Popover, {
131
+ })), /*#__PURE__*/jsxRuntime.jsx(core.Popover, {
130
132
  open: open,
131
133
  onClose: handleClose,
132
134
  anchorEl: anchorRef.current,
@@ -138,7 +140,7 @@ var DropdownButton = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
138
140
  style: {
139
141
  minWidth: (_anchorRef$current2 = anchorRef.current) === null || _anchorRef$current2 === void 0 ? void 0 : _anchorRef$current2.clientWidth
140
142
  },
141
- children: /*#__PURE__*/jsxRuntime.jsx(material.MenuList, _objectSpread(_objectSpread({}, MenuListProps), {}, {
143
+ children: /*#__PURE__*/jsxRuntime.jsx(core.MenuList, _objectSpread(_objectSpread({}, MenuListProps), {}, {
142
144
  id: uid,
143
145
  onClick: () => {
144
146
  setOpen(false);
@@ -170,12 +172,12 @@ function useResizeObserver(node, observer) {
170
172
  }
171
173
 
172
174
  var _excluded$2 = ["items"];
173
- var GridActionsItem = /*#__PURE__*/material.styled(material.Grid, {
174
- name: 'SD-AdaptiveToolbar'
175
- })(() => {
176
- return {
175
+ var useStyles = /*#__PURE__*/styles.makeStyles({
176
+ actions: {
177
177
  overflow: 'hidden'
178
- };
178
+ }
179
+ }, {
180
+ name: 'SD-AdaptiveToolbar'
179
181
  });
180
182
  var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
181
183
  var {
@@ -183,6 +185,7 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
183
185
  } = _ref,
184
186
  props = _objectWithoutProperties(_ref, _excluded$2);
185
187
 
188
+ var styles = useStyles();
186
189
  var itemNodes = React.useRef([]);
187
190
  var optionsButtonRef = React.useRef(null);
188
191
  var [firstHiddenIdx, setFirstHiddenIdx] = React.useState(-1);
@@ -218,20 +221,21 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
218
221
 
219
222
  setFirstHiddenIdx(hiddenIdx);
220
223
  });
221
- return /*#__PURE__*/jsxRuntime.jsx(material.Toolbar, _objectSpread(_objectSpread({}, props), {}, {
224
+ return /*#__PURE__*/jsxRuntime.jsx(core.Toolbar, _objectSpread(_objectSpread({}, props), {}, {
222
225
  ref: ref,
223
- children: /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
226
+ children: /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
224
227
  container: true,
225
228
  spacing: 1,
226
229
  ref: setRootNode,
227
- children: [/*#__PURE__*/jsxRuntime.jsx(GridActionsItem, {
230
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.Grid, {
228
231
  item: true,
229
- children: /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
232
+ className: styles.actions,
233
+ children: /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
230
234
  container: true,
231
235
  spacing: 1,
232
236
  wrap: "nowrap",
233
237
  component: "div",
234
- children: items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
238
+ children: items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
235
239
  item: true,
236
240
  ref: node => {
237
241
  itemNodes.current[idx] = node;
@@ -241,17 +245,15 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
241
245
  onClick: item.onClick,
242
246
  label: item.label
243
247
  }, item.ButtonProps), {}, {
244
- children: item.dropdown.map(dropdownItem => /*#__PURE__*/jsxRuntime.jsx(material.MenuItem, {
248
+ children: item.dropdown.map(dropdownItem => /*#__PURE__*/jsxRuntime.jsx(core.MenuItem, {
245
249
  onClick: dropdownItem.onClick,
246
250
  children: dropdownItem.label
247
251
  }, dropdownItem.key))
248
252
  })) : /*#__PURE__*/jsxRuntime.jsx(Button, _objectSpread(_objectSpread({
249
253
  type: "button",
250
- color: "primary",
251
- variant: "outlined",
252
254
  onClick: item.onClick
253
255
  }, item.ButtonProps), {}, {
254
- children: /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
256
+ children: /*#__PURE__*/jsxRuntime.jsx(core.Typography, {
255
257
  noWrap: true,
256
258
  variant: "inherit",
257
259
  children: item.label
@@ -259,21 +261,20 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
259
261
  }))
260
262
  }, item.key))
261
263
  })
262
- }), menuItems.length > 0 && /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
264
+ }), menuItems.length > 0 && /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
263
265
  item: true,
264
266
  ref: optionsButtonRef,
265
267
  component: "div",
266
268
  children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
267
269
  type: "button",
268
- variant: "outlined",
269
270
  onClick: _ref2 => {
270
271
  var {
271
272
  currentTarget
272
273
  } = _ref2;
273
274
  setMenuButtonRef(currentTarget);
274
275
  },
275
- children: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.MoreHoriz, {})
276
- }), /*#__PURE__*/jsxRuntime.jsx(material.Menu, {
276
+ children: /*#__PURE__*/jsxRuntime.jsx(icons.MoreHoriz, {})
277
+ }), /*#__PURE__*/jsxRuntime.jsx(core.Menu, {
277
278
  open: !!menuButtonNode,
278
279
  anchorEl: menuButtonNode,
279
280
  onClose: () => {
@@ -284,7 +285,7 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
284
285
 
285
286
  var next = arr[index + 1];
286
287
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
287
- children: [/*#__PURE__*/jsxRuntime.jsx(material.MenuItem, {
288
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.MenuItem, {
288
289
  onClick: event => {
289
290
  var _item$onClick;
290
291
 
@@ -292,7 +293,7 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
292
293
  setMenuButtonRef(undefined);
293
294
  },
294
295
  children: item.label
295
- }, item.key), (_item$dropdown = item.dropdown) === null || _item$dropdown === void 0 ? void 0 : _item$dropdown.map(dropdownItem => /*#__PURE__*/jsxRuntime.jsx(material.MenuItem, {
296
+ }, item.key), (_item$dropdown = item.dropdown) === null || _item$dropdown === void 0 ? void 0 : _item$dropdown.map(dropdownItem => /*#__PURE__*/jsxRuntime.jsx(core.MenuItem, {
296
297
  onClick: event => {
297
298
  var _dropdownItem$onClick;
298
299
 
@@ -300,7 +301,7 @@ var AdaptiveToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
300
301
  setMenuButtonRef(undefined);
301
302
  },
302
303
  children: dropdownItem.label
303
- }, dropdownItem.key)), next && item.groupKey !== next.groupKey && /*#__PURE__*/jsxRuntime.jsx(material.Divider, {})]
304
+ }, dropdownItem.key)), next && item.groupKey !== next.groupKey && /*#__PURE__*/jsxRuntime.jsx(core.Divider, {})]
304
305
  });
305
306
  })
306
307
  })]
@@ -331,7 +332,7 @@ function assignRef(ref, value) {
331
332
  }
332
333
  }
333
334
 
334
- var useStyles = /*#__PURE__*/styles.makeStyles({
335
+ var useStyles$1 = /*#__PURE__*/styles.makeStyles({
335
336
  root: {
336
337
  overflow: 'hidden',
337
338
  height: '100%'
@@ -342,7 +343,7 @@ var useStyles = /*#__PURE__*/styles.makeStyles({
342
343
 
343
344
  var defaultMoreElement = /*#__PURE__*/jsxRuntime.jsx(Button, {
344
345
  type: "button",
345
- children: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.MoreHoriz, {})
346
+ children: /*#__PURE__*/jsxRuntime.jsx(icons.MoreHoriz, {})
346
347
  });
347
348
 
348
349
  var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -353,7 +354,7 @@ var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
353
354
  renderItem = item => item.label,
354
355
  renderMenuItem = item => item.label
355
356
  } = _ref;
356
- var styles = useStyles();
357
+ var styles = useStyles$1();
357
358
  var itemNodes = React.useRef([]);
358
359
  var optionsButtonRef = React.useRef(null);
359
360
  var [firstHiddenIdx, setFirstHiddenIdx] = React.useState(-1);
@@ -388,7 +389,7 @@ var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
388
389
 
389
390
  setFirstHiddenIdx(hiddenIdx);
390
391
  });
391
- return /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
392
+ return /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
392
393
  direction: "column",
393
394
  container: true,
394
395
  wrap: "nowrap",
@@ -397,13 +398,13 @@ var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
397
398
  ref: mergeRefs(ref, node => {
398
399
  setRootNode(node);
399
400
  }),
400
- children: [items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
401
+ children: [items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
401
402
  item: true,
402
403
  ref: node => {
403
404
  itemNodes.current[idx] = node;
404
405
  },
405
406
  children: renderItem(item)
406
- }, item.key)), menuItems.length > 0 && /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
407
+ }, item.key)), menuItems.length > 0 && /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
407
408
  item: true,
408
409
  ref: optionsButtonRef,
409
410
  component: "div",
@@ -414,7 +415,7 @@ var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
414
415
  } = _ref2;
415
416
  setMenuButtonRef(currentTarget);
416
417
  }
417
- }), /*#__PURE__*/jsxRuntime.jsx(material.Menu, {
418
+ }), /*#__PURE__*/jsxRuntime.jsx(core.Menu, {
418
419
  open: !!menuButtonNode,
419
420
  anchorEl: menuButtonNode,
420
421
  onClose: () => {
@@ -422,7 +423,7 @@ var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
422
423
  },
423
424
  children: menuItems.flatMap((item, index, arr) => {
424
425
  var next = arr[index + 1];
425
- return [/*#__PURE__*/jsxRuntime.jsx(material.MenuItem, {
426
+ return [/*#__PURE__*/jsxRuntime.jsx(core.MenuItem, {
426
427
  onClick: event => {
427
428
  var _item$onClick;
428
429
 
@@ -430,7 +431,7 @@ var AdaptiveVerticalToolbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
430
431
  setMenuButtonRef(undefined);
431
432
  },
432
433
  children: renderMenuItem(item)
433
- }, item.key), next && next.menuGroupKey !== item.menuGroupKey && /*#__PURE__*/jsxRuntime.jsx(material.Divider, {}, "".concat(item.key, "-divider"))];
434
+ }, item.key), next && next.menuGroupKey !== item.menuGroupKey && /*#__PURE__*/jsxRuntime.jsx(core.Divider, {}, "".concat(item.key, "-divider"))];
434
435
  })
435
436
  })]
436
437
  })]
@@ -514,81 +515,66 @@ function isColorProp(name) {
514
515
  return typeof name == 'string' && Object.prototype.hasOwnProperty.call(exports.Color, name);
515
516
  }
516
517
 
517
- var _excluded$3 = ["size", "icon", "isLoading", "disabled", "avatarRef", "alt", "imgProps", "sizes", "src", "srcSet", "variant", "children"];
518
- var Overlay = /*#__PURE__*/material.styled('div')(_ref => {
519
- var {
520
- theme
521
- } = _ref;
522
- var sm = theme.breakpoints.up('sm');
523
- return {
524
- top: 0,
525
- left: 0,
526
- right: 0,
527
- bottom: 0,
528
- position: 'absolute',
529
- display: 'flex',
530
- alignItems: 'center',
531
- justifyContent: 'center',
532
- borderRadius: '50%',
533
- backgroundColor: exports.Color.Transparent,
534
- transition: theme.transitions.create('background-color'),
535
- '& > svg': {
536
- opacity: 0,
537
- color: exports.Color.White,
538
- transition: theme.transitions.create('opacity'),
539
- fontSize: theme.spacing(3),
540
- [sm]: {
541
- fontSize: theme.spacing(2)
542
- }
543
- }
544
- };
545
- });
546
- var StyledProgress = /*#__PURE__*/material.styled(material.CircularProgress)(props => {
547
- var {
548
- theme
549
- } = props;
550
- var sm = theme.breakpoints.up('sm');
551
- return {
552
- top: 0,
553
- left: 0,
554
- position: 'absolute',
555
- fontSize: theme.spacing(5),
556
- [sm]: {
557
- fontSize: theme.spacing(4)
558
- }
559
- };
560
- }); // eslint-disable-next-line @typescript-eslint/ban-ts-comment
561
- // @ts-ignore
562
-
563
- var StyledButton = /*#__PURE__*/material.styled(material.ButtonBase, {
564
- name: 'SD-AvatarButton'
565
- })(_ref2 => {
566
- var {
567
- theme
568
- } = _ref2;
518
+ var _excluded$3 = ["size", "icon", "isLoading", "classes", "disabled", "avatarRef", "className", "alt", "imgProps", "sizes", "src", "srcSet", "variant", "children"],
519
+ _excluded2 = ["button", "overlay", "progress", "withIcon", "sizeLarge"];
520
+ var useStyles$2 = /*#__PURE__*/styles.makeStyles(theme => {
569
521
  var sm = theme.breakpoints.up('sm');
570
522
  return {
571
- borderRadius: '50%',
572
- '&[disabled], &[aria-busy="true"]': {
573
- ["& > ".concat(Overlay.toString())]: {
574
- backgroundColor: exports.Color.White50
523
+ button: {
524
+ borderRadius: '50%',
525
+ '&[disabled], &[aria-busy="true"]': {
526
+ '& > $overlay': {
527
+ backgroundColor: exports.Color.White50
528
+ }
529
+ },
530
+ '&:not([disabled])[aria-busy="false"]': {
531
+ '&:hover, &:focus': {
532
+ '&$withIcon > $overlay': {
533
+ backgroundColor: exports.Color.Black50,
534
+ '& > svg': {
535
+ opacity: 1
536
+ }
537
+ },
538
+ '&:not($withIcon) > $overlay': {
539
+ backgroundColor: exports.Color.Black20
540
+ }
541
+ }
575
542
  }
576
543
  },
577
- '&:not([disabled])[aria-busy="false"]': {
578
- '&:hover, &:focus': {
579
- ["&[data-with-icon=\"true\"] > ".concat(Overlay.toString())]: {
580
- backgroundColor: exports.Color.Black50,
581
- '& > svg': {
582
- opacity: 1
583
- }
584
- },
585
- ["&:not([data-with-icon=\"true\"]) > ".concat(Overlay.toString())]: {
586
- backgroundColor: exports.Color.Black20
544
+ overlay: {
545
+ top: 0,
546
+ left: 0,
547
+ right: 0,
548
+ bottom: 0,
549
+ position: 'absolute',
550
+ display: 'flex',
551
+ alignItems: 'center',
552
+ justifyContent: 'center',
553
+ borderRadius: '50%',
554
+ backgroundColor: exports.Color.Transparent,
555
+ transition: theme.transitions.create('background-color'),
556
+ '& > svg': {
557
+ opacity: 0,
558
+ color: exports.Color.White,
559
+ transition: theme.transitions.create('opacity'),
560
+ fontSize: theme.spacing(3),
561
+ [sm]: {
562
+ fontSize: theme.spacing(2)
587
563
  }
588
564
  }
589
565
  },
590
- '&[data-size-large="true"]': {
591
- '& > .MuiAvatar-root': _objectSpread(_objectSpread({}, theme.typography.h2), {}, {
566
+ progress: {
567
+ top: 0,
568
+ left: 0,
569
+ position: 'absolute',
570
+ fontSize: theme.spacing(5),
571
+ [sm]: {
572
+ fontSize: theme.spacing(4)
573
+ }
574
+ },
575
+ withIcon: {},
576
+ sizeLarge: {
577
+ '& > $root': _objectSpread(_objectSpread({}, theme.typography.h2), {}, {
592
578
  width: theme.spacing(7),
593
579
  height: theme.spacing(7),
594
580
  [sm]: {
@@ -596,8 +582,8 @@ var StyledButton = /*#__PURE__*/material.styled(material.ButtonBase, {
596
582
  height: theme.spacing(8)
597
583
  }
598
584
  }),
599
- ["& > ".concat(Overlay.toString())]: {
600
- ["& > ".concat(StyledProgress.toString())]: {
585
+ '& > $overlay': {
586
+ '& > $progress': {
601
587
  fontSize: theme.spacing(7),
602
588
  [sm]: {
603
589
  fontSize: theme.spacing(8)
@@ -610,16 +596,27 @@ var StyledButton = /*#__PURE__*/material.styled(material.ButtonBase, {
610
596
  }
611
597
  }
612
598
  }
613
- }
599
+ },
600
+ root: {},
601
+ colorDefault: {},
602
+ circular: {},
603
+ rounded: {},
604
+ square: {},
605
+ img: {},
606
+ fallback: {}
614
607
  };
608
+ }, {
609
+ name: 'SD-AvatarButton'
615
610
  });
616
- var AvatarButton = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
611
+ var AvatarButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
617
612
  var {
618
613
  size,
619
614
  icon,
620
615
  isLoading = false,
616
+ classes,
621
617
  disabled = false,
622
618
  avatarRef,
619
+ className,
623
620
  alt,
624
621
  imgProps,
625
622
  sizes,
@@ -627,18 +624,30 @@ var AvatarButton = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
627
624
  srcSet,
628
625
  variant,
629
626
  children
630
- } = _ref3,
631
- props = _objectWithoutProperties(_ref3, _excluded$3);
627
+ } = _ref,
628
+ props = _objectWithoutProperties(_ref, _excluded$3);
629
+
630
+ var _useStyles = useStyles$2({
631
+ classes
632
+ }),
633
+ {
634
+ button: buttonClassName,
635
+ overlay: overlayClassName,
636
+ progress: progressClassName,
637
+ withIcon: withIconClassName,
638
+ sizeLarge: sizeLargeClassName
639
+ } = _useStyles,
640
+ avatarClasses = _objectWithoutProperties(_useStyles, _excluded2);
632
641
 
633
- return /*#__PURE__*/jsxRuntime.jsxs(StyledButton, _objectSpread(_objectSpread({}, props), {}, {
642
+ return /*#__PURE__*/jsxRuntime.jsxs(core.ButtonBase, _objectSpread(_objectSpread({}, props), {}, {
634
643
  ref: ref,
635
644
  "aria-busy": isLoading,
636
645
  "aria-disabled": disabled,
637
646
  disabled: disabled || isLoading,
638
- "data-with-icon": !!icon,
639
- "data-size-large": size === 'large',
640
- children: [/*#__PURE__*/jsxRuntime.jsx(material.Avatar, {
647
+ className: clsx(className, buttonClassName, !!icon && withIconClassName, size === 'large' && sizeLargeClassName),
648
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.Avatar, {
641
649
  ref: avatarRef,
650
+ classes: avatarClasses,
642
651
  variant: variant,
643
652
  alt: alt,
644
653
  src: src,
@@ -646,9 +655,11 @@ var AvatarButton = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
646
655
  srcSet: srcSet,
647
656
  imgProps: imgProps,
648
657
  children: children
649
- }), /*#__PURE__*/jsxRuntime.jsxs(Overlay, {
650
- children: [icon, isLoading && /*#__PURE__*/jsxRuntime.jsx(StyledProgress, {
658
+ }), /*#__PURE__*/jsxRuntime.jsxs("div", {
659
+ className: overlayClassName,
660
+ children: [icon, isLoading && /*#__PURE__*/jsxRuntime.jsx(core.CircularProgress, {
651
661
  size: "1em",
662
+ className: progressClassName,
652
663
  thickness: size === 'large' ? 2.5 : 1.5
653
664
  })]
654
665
  })]
@@ -657,11 +668,8 @@ var AvatarButton = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
657
668
  if (process.env.NODE_ENV !== "production") AvatarButton.displayName = "AvatarButton";
658
669
 
659
670
  var _excluded$4 = ["hint", "size", "error", "classes", "className", "children", "endIcon", "startIcon", "disabled"];
660
- var StyledButton$1 = /*#__PURE__*/material.styled(material.ButtonBase)(_ref => {
661
- var {
662
- theme
663
- } = _ref;
664
- return {
671
+ var useStyles$3 = /*#__PURE__*/styles.makeStyles(theme => ({
672
+ root: {
665
673
  width: '100%',
666
674
  display: 'flex',
667
675
  alignItems: 'center',
@@ -672,74 +680,66 @@ var StyledButton$1 = /*#__PURE__*/material.styled(material.ButtonBase)(_ref => {
672
680
  borderRadius: theme.spacing(0.5),
673
681
  padding: theme.spacing(1.5),
674
682
  minHeight: theme.spacing(13),
675
- transition: theme.transitions.create(['color', 'box-shadow', 'border-color', 'background-color']),
676
- '&[data-disabled="true"]': {
677
- color: exports.Color.Dark200,
678
- borderColor: exports.Color.Silver500,
679
- backgroundColor: exports.Color.Silver100
680
- },
681
- '&[data-primary="true"]': {
682
- color: exports.Color.Blue300,
683
- borderColor: exports.Color.Silver500,
684
- '&:focus': {
685
- backgroundColor: exports.Color.Blue50
686
- },
687
- '&:hover, &:active': {
688
- borderColor: exports.Color.Blue300,
689
- backgroundColor: exports.Color.Blue50
690
- }
691
- },
692
- '&[data-error="true"]': {
693
- color: exports.Color.Red300,
694
- borderColor: exports.Color.Red300,
695
- backgroundColor: exports.Color.Red50,
696
- '&:focus': {
697
- backgroundColor: exports.Color.Red75
698
- }
699
- },
700
- '&[data-size="small"]': {
701
- minHeight: theme.spacing(6)
683
+ transition: theme.transitions.create(['color', 'box-shadow', 'border-color', 'background-color'])
684
+ },
685
+ disabled: {
686
+ color: exports.Color.Dark200,
687
+ borderColor: exports.Color.Silver500,
688
+ backgroundColor: exports.Color.Silver100
689
+ },
690
+ error: {
691
+ color: exports.Color.Red300,
692
+ borderColor: exports.Color.Red300,
693
+ backgroundColor: exports.Color.Red50,
694
+ '&:focus': {
695
+ backgroundColor: exports.Color.Red75
696
+ }
697
+ },
698
+ primary: {
699
+ color: exports.Color.Blue300,
700
+ borderColor: exports.Color.Silver500,
701
+ '&:focus': {
702
+ backgroundColor: exports.Color.Blue50
702
703
  },
703
- '&[data-size="large"]': {
704
- minHeight: theme.spacing(17.5)
704
+ '&:hover, &:active': {
705
+ borderColor: exports.Color.Blue300,
706
+ backgroundColor: exports.Color.Blue50
705
707
  }
706
- };
707
- });
708
- var Label = /*#__PURE__*/material.styled(material.Typography)({
709
- display: 'flex',
710
- alignItems: 'center'
711
- });
712
- var Hint = /*#__PURE__*/material.styled(material.Typography)(_ref2 => {
713
- var {
714
- theme
715
- } = _ref2;
716
- return {
717
- marginTop: theme.spacing(0.5)
718
- };
719
- });
720
- var Icon = /*#__PURE__*/material.styled('span')(_ref3 => {
721
- var {
722
- theme
723
- } = _ref3;
724
- return {
708
+ },
709
+ sizeSmall: {
710
+ minHeight: theme.spacing(6)
711
+ },
712
+ sizeLarge: {
713
+ minHeight: theme.spacing(17.5)
714
+ },
715
+ label: {
716
+ display: 'flex',
717
+ alignItems: 'center'
718
+ },
719
+ icon: {
725
720
  display: 'flex',
726
721
  '& svg': {
727
722
  fontSize: theme.spacing(3),
728
723
  [theme.breakpoints.up('sm')]: {
729
724
  fontSize: theme.spacing(2.5)
730
725
  }
731
- },
732
- '&[data-placement="start"]': {
733
- marginRight: theme.spacing(1),
734
- marginLeft: theme.spacing(-0.5)
735
- },
736
- '&[data-placement="end"]': {
737
- marginLeft: theme.spacing(1),
738
- marginRight: theme.spacing(-0.5)
739
726
  }
740
- };
727
+ },
728
+ startIcon: {
729
+ marginRight: theme.spacing(1),
730
+ marginLeft: theme.spacing(-0.5)
731
+ },
732
+ endIcon: {
733
+ marginLeft: theme.spacing(1),
734
+ marginRight: theme.spacing(-0.5)
735
+ },
736
+ hint: {
737
+ marginTop: theme.spacing(0.5)
738
+ }
739
+ }), {
740
+ name: 'SD-CardButton'
741
741
  });
742
- var CardButton = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
742
+ var CardButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
743
743
  var {
744
744
  hint,
745
745
  size,
@@ -750,33 +750,39 @@ var CardButton = /*#__PURE__*/React.forwardRef((_ref4, ref) => {
750
750
  endIcon,
751
751
  startIcon,
752
752
  disabled
753
- } = _ref4,
754
- props = _objectWithoutProperties(_ref4, _excluded$4);
753
+ } = _ref,
754
+ props = _objectWithoutProperties(_ref, _excluded$4);
755
755
 
756
- return /*#__PURE__*/jsxRuntime.jsx(StyledButton$1, _objectSpread(_objectSpread({}, props), {}, {
756
+ var styles = useStyles$3({
757
+ classes
758
+ });
759
+ return /*#__PURE__*/jsxRuntime.jsx(core.ButtonBase, _objectSpread(_objectSpread({}, props), {}, {
757
760
  ref: ref,
758
761
  disabled: disabled,
759
- "data-size": size,
760
- "data-disabled": !!disabled,
761
- "data-error": !disabled && !!error,
762
- "data-primary": !disabled && !error,
763
- children: error ? /*#__PURE__*/jsxRuntime.jsx(Label, {
762
+ className: clsx(styles.root, className, disabled ? styles.disabled : error ? styles.error : styles.primary, {
763
+ 'small': styles.sizeSmall,
764
+ 'large': styles.sizeLarge
765
+ }[size]),
766
+ children: error ? /*#__PURE__*/jsxRuntime.jsx(core.Typography, {
764
767
  variant: "h4",
765
768
  color: "inherit",
769
+ className: styles.label,
766
770
  children: error
767
771
  }) : /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
768
- children: [/*#__PURE__*/jsxRuntime.jsxs(Label, {
772
+ children: [/*#__PURE__*/jsxRuntime.jsxs(core.Typography, {
769
773
  variant: "h4",
770
774
  color: "inherit",
771
- children: [!!startIcon && /*#__PURE__*/jsxRuntime.jsx(Icon, {
772
- "data-placement": "start",
775
+ className: styles.label,
776
+ children: [!!startIcon && /*#__PURE__*/jsxRuntime.jsx("span", {
777
+ className: clsx(styles.icon, styles.startIcon),
773
778
  children: startIcon
774
- }), children, !!endIcon && /*#__PURE__*/jsxRuntime.jsx(Icon, {
775
- "data-placement": "end",
779
+ }), children, !!endIcon && /*#__PURE__*/jsxRuntime.jsx("span", {
780
+ className: clsx(styles.icon, styles.endIcon),
776
781
  children: endIcon
777
782
  })]
778
- }), !!hint && /*#__PURE__*/jsxRuntime.jsx(Hint, {
783
+ }), !!hint && /*#__PURE__*/jsxRuntime.jsx(core.Typography, {
779
784
  color: "textSecondary",
785
+ className: styles.hint,
780
786
  children: hint
781
787
  })]
782
788
  })
@@ -797,19 +803,19 @@ var CheckboxField = /*#__PURE__*/React.forwardRef((_ref, ref) => {
797
803
  } = _ref,
798
804
  props = _objectWithoutProperties(_ref, _excluded$5);
799
805
 
800
- return /*#__PURE__*/jsxRuntime.jsxs(material.FormControl, {
806
+ return /*#__PURE__*/jsxRuntime.jsxs(core.FormControl, {
801
807
  error: error,
802
- children: [/*#__PURE__*/jsxRuntime.jsx(material.FormControlLabel, _objectSpread(_objectSpread({}, formControlLabelProps), {}, {
808
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.FormControlLabel, _objectSpread(_objectSpread({}, formControlLabelProps), {}, {
803
809
  label: label,
804
810
  checked: checked,
805
811
  onBlur: onBlur,
806
812
  onChange: onChange,
807
- control: /*#__PURE__*/jsxRuntime.jsx(material.Checkbox, _objectSpread({
813
+ control: /*#__PURE__*/jsxRuntime.jsx(core.Checkbox, _objectSpread({
808
814
  ref: ref,
809
815
  color: "primary",
810
816
  disableRipple: true
811
817
  }, props))
812
- })), helperText && /*#__PURE__*/jsxRuntime.jsx(material.FormHelperText, {
818
+ })), helperText && /*#__PURE__*/jsxRuntime.jsx(core.FormHelperText, {
813
819
  children: helperText
814
820
  })]
815
821
  });
@@ -828,15 +834,15 @@ var CheckboxGroupField = /*#__PURE__*/React.forwardRef((_ref, ref) => {
828
834
  } = _ref,
829
835
  formControlProps = _objectWithoutProperties(_ref, _excluded$6);
830
836
 
831
- return /*#__PURE__*/jsxRuntime.jsxs(material.FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
837
+ return /*#__PURE__*/jsxRuntime.jsxs(core.FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
832
838
  hiddenLabel: !label,
833
- children: [!!label && /*#__PURE__*/jsxRuntime.jsx(material.FormLabel, _objectSpread(_objectSpread({}, formLabelProps), {}, {
839
+ children: [!!label && /*#__PURE__*/jsxRuntime.jsx(core.FormLabel, _objectSpread(_objectSpread({}, formLabelProps), {}, {
834
840
  children: label
835
- })), /*#__PURE__*/jsxRuntime.jsx(material.FormGroup, _objectSpread(_objectSpread({
841
+ })), /*#__PURE__*/jsxRuntime.jsx(core.FormGroup, _objectSpread(_objectSpread({
836
842
  ref: ref
837
843
  }, formGroupProps), {}, {
838
844
  children: children
839
- })), !!helperText && /*#__PURE__*/jsxRuntime.jsx(material.FormHelperText, _objectSpread(_objectSpread({}, formHelperTextProps), {}, {
845
+ })), !!helperText && /*#__PURE__*/jsxRuntime.jsx(core.FormHelperText, _objectSpread(_objectSpread({}, formHelperTextProps), {}, {
840
846
  children: helperText
841
847
  }))]
842
848
  }));
@@ -846,7 +852,7 @@ if (process.env.NODE_ENV !== "production") CheckboxGroupField.displayName = "Che
846
852
  var Context = /*#__PURE__*/React.createContext({});
847
853
 
848
854
  function useBreakpoint(breakpoint) {
849
- return material.useMediaQuery(theme => theme.breakpoints.only(breakpoint));
855
+ return core.useMediaQuery(theme => theme.breakpoints.only(breakpoint));
850
856
  }
851
857
 
852
858
  function ResponsiveContextProvider(_ref) {
@@ -1116,54 +1122,50 @@ function VisibilityObserver(_ref2) {
1116
1122
  }
1117
1123
 
1118
1124
  var _excluded$8 = ["title", "enterDelay"],
1119
- _excluded2 = ["onClick", "children", "disableUnderline", "TooltipProps"];
1120
- var Root = /*#__PURE__*/material.styled(material.Typography, {
1121
- name: 'SD-OverflowText',
1122
- shouldForwardProp: prop => prop !== 'truncated'
1123
- })(_ref => {
1124
- var {
1125
- truncated,
1126
- theme
1127
- } = _ref;
1128
- return _objectSpread({
1125
+ _excluded2$1 = ["onClick", "children", "className", "disableUnderline", "TooltipProps"];
1126
+ var useStyles$4 = /*#__PURE__*/styles.makeStyles(theme => ({
1127
+ root: {
1129
1128
  marginBottom: -1,
1130
1129
  borderBottom: '1px dashed transparent',
1131
- transition: theme.transitions.create('border')
1132
- }, truncated && {
1133
- cursor: 'pointer',
1134
- borderBottomColor: exports.Color.Silver500
1135
- });
1136
- });
1137
- var Sential = /*#__PURE__*/material.styled('span', {
1138
- name: 'SD-OverflowText',
1139
- slot: 'Sential'
1140
- })({
1141
- width: 1,
1142
- height: '100%',
1143
- display: 'inline-block'
1130
+ transition: theme.transitions.create('border'),
1131
+ '&$truncated': {
1132
+ cursor: 'pointer',
1133
+ borderBottomColor: exports.Color.Silver500
1134
+ }
1135
+ },
1136
+ truncated: {},
1137
+ sentinel: {
1138
+ width: 1,
1139
+ height: '100%',
1140
+ display: 'inline-block'
1141
+ }
1142
+ }), {
1143
+ name: 'SD-OverflowText'
1144
1144
  });
1145
- var OverflowText = /*#__PURE__*/React.forwardRef((_ref2, rootRef) => {
1145
+ var OverflowText = /*#__PURE__*/React.forwardRef((_ref, rootRef) => {
1146
1146
  var {
1147
1147
  onClick: _onClick,
1148
1148
  children,
1149
+ className,
1149
1150
  disableUnderline,
1150
1151
  TooltipProps: {
1151
1152
  title = children,
1152
1153
  enterDelay = 1000
1153
1154
  } = {}
1154
- } = _ref2,
1155
- tooltipProps = _objectWithoutProperties(_ref2.TooltipProps, _excluded$8),
1156
- props = _objectWithoutProperties(_ref2, _excluded2);
1155
+ } = _ref,
1156
+ tooltipProps = _objectWithoutProperties(_ref.TooltipProps, _excluded$8),
1157
+ props = _objectWithoutProperties(_ref, _excluded2$1);
1157
1158
 
1158
1159
  var [isOpen, setIsOpen] = React.useState(false);
1160
+ var styles = useStyles$4();
1159
1161
  return /*#__PURE__*/jsxRuntime.jsx(VisibilityObserver, {
1160
- render: _ref3 => {
1162
+ render: _ref2 => {
1161
1163
  var {
1162
1164
  ref,
1163
1165
  visibility
1164
- } = _ref3;
1166
+ } = _ref2;
1165
1167
  var isTooltipEnabled = !!children && visibility === 'invisible';
1166
- return /*#__PURE__*/jsxRuntime.jsx(material.Tooltip, _objectSpread(_objectSpread({}, tooltipProps), {}, {
1168
+ return /*#__PURE__*/jsxRuntime.jsx(core.Tooltip, _objectSpread(_objectSpread({}, tooltipProps), {}, {
1167
1169
  enterDelay: 1000,
1168
1170
  title: title || '',
1169
1171
  disableFocusListener: true,
@@ -1174,16 +1176,17 @@ var OverflowText = /*#__PURE__*/React.forwardRef((_ref2, rootRef) => {
1174
1176
  onClose: () => {
1175
1177
  setIsOpen(false);
1176
1178
  },
1177
- children: /*#__PURE__*/jsxRuntime.jsxs(Root, _objectSpread(_objectSpread({}, props), {}, {
1179
+ children: /*#__PURE__*/jsxRuntime.jsxs(core.Typography, _objectSpread(_objectSpread({}, props), {}, {
1178
1180
  ref: rootRef,
1179
1181
  noWrap: true,
1180
- truncated: !disableUnderline && visibility === 'invisible',
1181
1182
  onClick: event => {
1182
1183
  setIsOpen(true);
1183
1184
  _onClick === null || _onClick === void 0 ? void 0 : _onClick(event);
1184
1185
  },
1185
- children: [children, !!children && /*#__PURE__*/jsxRuntime.jsx(Sential, {
1186
- ref: ref
1186
+ className: clsx(styles.root, className, !disableUnderline && visibility === 'invisible' && styles.truncated),
1187
+ children: [children, !!children && /*#__PURE__*/jsxRuntime.jsx("span", {
1188
+ ref: ref,
1189
+ className: styles.sentinel
1187
1190
  })]
1188
1191
  }))
1189
1192
  }));
@@ -1203,18 +1206,29 @@ function useUID(defaultID) {
1203
1206
  }
1204
1207
 
1205
1208
  var _excluded$9 = ["size"];
1206
- var DescriptionListItemRoot = /*#__PURE__*/material.styled('div', {
1207
- name: 'SD-DescriptionListItem',
1208
- slot: 'Root'
1209
- })({
1210
- display: 'flex',
1211
- alignItems: 'center'
1212
- });
1213
- var DescriptionListItemIcon = /*#__PURE__*/material.styled('div')(_ref => {
1214
- var {
1215
- theme
1216
- } = _ref;
1209
+
1210
+ function sizeVariant(theme, mobileSpacing, desktopSpacing) {
1217
1211
  return {
1212
+ '& > $list, & > $item': {
1213
+ '&:not(:last-child)': {
1214
+ paddingBottom: theme.spacing(mobileSpacing),
1215
+ [theme.breakpoints.up('sm')]: {
1216
+ paddingBottom: theme.spacing(desktopSpacing)
1217
+ }
1218
+ }
1219
+ }
1220
+ };
1221
+ }
1222
+
1223
+ var useStyles$5 = /*#__PURE__*/styles.makeStyles(theme => ({
1224
+ list: sizeVariant(theme, 2, 1),
1225
+ listSmall: sizeVariant(theme, 1, 0.5),
1226
+ listLarge: sizeVariant(theme, 3, 2),
1227
+ item: {
1228
+ display: 'flex',
1229
+ alignItems: 'center'
1230
+ },
1231
+ icon: {
1218
1232
  display: 'inline-flex',
1219
1233
  marginRight: theme.spacing(1),
1220
1234
  '& > .MuiSvgIcon-root': {
@@ -1224,29 +1238,54 @@ var DescriptionListItemIcon = /*#__PURE__*/material.styled('div')(_ref => {
1224
1238
  fontSize: theme.spacing(2)
1225
1239
  }
1226
1240
  }
1227
- };
1241
+ }
1242
+ }), {
1243
+ name: 'SD-DescriptionList'
1244
+ }); //
1245
+ // DescriptionList
1246
+ //
1247
+
1248
+ var DescriptionList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1249
+ var {
1250
+ size
1251
+ } = _ref,
1252
+ props = _objectWithoutProperties(_ref, _excluded$9);
1253
+
1254
+ var styles = useStyles$5();
1255
+ return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread(_objectSpread({}, props), {}, {
1256
+ ref: ref,
1257
+ "data-size": size,
1258
+ className: clsx(styles.list, {
1259
+ 'small': styles.listSmall,
1260
+ 'large': styles.listLarge
1261
+ }[size])
1262
+ }));
1228
1263
  }); //
1229
1264
  // DescriptionListItem
1230
1265
  //
1231
1266
 
1267
+ if (process.env.NODE_ENV !== "production") DescriptionList.displayName = "DescriptionList";
1232
1268
  var DescriptionListItem = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
1233
1269
  var _ref3, _contentTypographyPro, _contentTypographyPro2;
1234
1270
 
1235
1271
  var {
1236
1272
  inset,
1237
- icon = inset ? /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, {}) : null,
1273
+ icon = inset ? /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, {}) : null,
1238
1274
  label,
1239
1275
  labelTypographyProps,
1240
1276
  content,
1241
1277
  contentTypographyProps,
1242
1278
  fallback
1243
1279
  } = _ref2;
1280
+ var styles = useStyles$5();
1244
1281
  var labelID = useUID(labelTypographyProps === null || labelTypographyProps === void 0 ? void 0 : labelTypographyProps.id);
1245
1282
  var shouldRenderFallback = isEmptyReactNode(content);
1246
- return /*#__PURE__*/jsxRuntime.jsxs(DescriptionListItemRoot, {
1283
+ return /*#__PURE__*/jsxRuntime.jsxs("div", {
1247
1284
  ref: ref,
1285
+ className: styles.item,
1248
1286
  "aria-labelledby": label != null ? labelID : undefined,
1249
- children: [!!icon && /*#__PURE__*/jsxRuntime.jsx(DescriptionListItemIcon, {
1287
+ children: [!!icon && /*#__PURE__*/jsxRuntime.jsx("div", {
1288
+ className: styles.icon,
1250
1289
  children: icon
1251
1290
  }), /*#__PURE__*/jsxRuntime.jsxs(OverflowText, _objectSpread(_objectSpread({}, contentTypographyProps), {}, {
1252
1291
  component: "span",
@@ -1254,7 +1293,7 @@ var DescriptionListItem = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
1254
1293
  TooltipProps: _objectSpread(_objectSpread({}, contentTypographyProps === null || contentTypographyProps === void 0 ? void 0 : contentTypographyProps.TooltipProps), {}, {
1255
1294
  title: (_ref3 = (_contentTypographyPro = contentTypographyProps === null || contentTypographyProps === void 0 ? void 0 : (_contentTypographyPro2 = contentTypographyProps.TooltipProps) === null || _contentTypographyPro2 === void 0 ? void 0 : _contentTypographyPro2.title) !== null && _contentTypographyPro !== void 0 ? _contentTypographyPro : content) !== null && _ref3 !== void 0 ? _ref3 : undefined
1256
1295
  }),
1257
- children: [label != null && /*#__PURE__*/jsxRuntime.jsx(material.Typography, _objectSpread(_objectSpread({}, labelTypographyProps), {}, {
1296
+ children: [label != null && /*#__PURE__*/jsxRuntime.jsx(core.Typography, _objectSpread(_objectSpread({}, labelTypographyProps), {}, {
1258
1297
  id: labelID,
1259
1298
  variant: "body2",
1260
1299
  component: "span",
@@ -1263,72 +1302,26 @@ var DescriptionListItem = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
1263
1302
  })), label != null && ' ', !shouldRenderFallback ? content : fallback]
1264
1303
  }))]
1265
1304
  });
1266
- }); //
1267
- // DescriptionList
1268
- //
1269
-
1270
- if (process.env.NODE_ENV !== "production") DescriptionListItem.displayName = "DescriptionListItem";
1271
- var DescriptionListRoot = /*#__PURE__*/material.styled('div', {
1272
- name: 'SD-DescriptionList',
1273
- slot: 'Root'
1274
- })(_ref4 => {
1275
- var {
1276
- theme
1277
- } = _ref4;
1278
- return _objectSpread(_objectSpread({}, sizeVariant(theme, 2, 1)), {}, {
1279
- '&[data-size="small"]': sizeVariant(theme, 1, 0.5),
1280
- '&[data-size="large"]': sizeVariant(theme, 3, 2)
1281
- });
1282
1305
  });
1306
+ if (process.env.NODE_ENV !== "production") DescriptionListItem.displayName = "DescriptionListItem";
1283
1307
 
1284
- function sizeVariant(theme, mobileSpacing, desktopSpacing) {
1285
- return {
1286
- ["& > ".concat(DescriptionListRoot.toString(), ", & > ").concat(DescriptionListItemRoot.toString())]: {
1287
- '&:not(:last-child)': {
1288
- paddingBottom: theme.spacing(mobileSpacing),
1289
- [theme.breakpoints.up('sm')]: {
1290
- paddingBottom: theme.spacing(desktopSpacing)
1291
- }
1308
+ var _excluded$a = ["children", "className"];
1309
+ var useStyles$6 = /*#__PURE__*/styles.makeStyles(theme => ({
1310
+ appBar: {
1311
+ '&&': {
1312
+ bottom: 0,
1313
+ top: 'auto',
1314
+ borderLeft: 'none',
1315
+ borderRight: 'none',
1316
+ borderBottom: 'none',
1317
+ transition: theme.transitions.create(['border-color']),
1318
+ '&:not($appBarSticky)': {
1319
+ borderTopColor: exports.Color.Transparent
1292
1320
  }
1293
1321
  }
1294
- };
1295
- }
1296
-
1297
- var DescriptionList = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
1298
- var {
1299
- size
1300
- } = _ref5,
1301
- props = _objectWithoutProperties(_ref5, _excluded$9);
1302
-
1303
- return /*#__PURE__*/jsxRuntime.jsx(DescriptionListRoot, _objectSpread(_objectSpread({}, props), {}, {
1304
- ref: ref,
1305
- "data-size": size
1306
- }));
1307
- });
1308
- if (process.env.NODE_ENV !== "production") DescriptionList.displayName = "DescriptionList";
1309
-
1310
- var _excluded$a = ["children"];
1311
- var StyledAppBar = /*#__PURE__*/material.styled(material.AppBar)(_ref => {
1312
- var {
1313
- theme
1314
- } = _ref;
1315
- return {
1316
- bottom: 0,
1317
- top: 'auto',
1318
- borderLeft: 'none',
1319
- borderRight: 'none',
1320
- borderBottom: 'none',
1321
- transition: theme.transitions.create(['border-color']),
1322
- '&[data-sticky="false"]': {
1323
- borderTopColor: exports.Color.Transparent
1324
- }
1325
- };
1326
- });
1327
- var StyledToolbar = /*#__PURE__*/material.styled(material.Toolbar)(_ref2 => {
1328
- var {
1329
- theme
1330
- } = _ref2;
1331
- return {
1322
+ },
1323
+ appBarSticky: {},
1324
+ toolbar: {
1332
1325
  '&.MuiToolbar-gutters': {
1333
1326
  paddingLeft: theme.spacing(3),
1334
1327
  paddingRight: theme.spacing(3),
@@ -1337,26 +1330,31 @@ var StyledToolbar = /*#__PURE__*/material.styled(material.Toolbar)(_ref2 => {
1337
1330
  paddingRight: theme.spacing(4)
1338
1331
  }
1339
1332
  }
1340
- };
1333
+ }
1334
+ }), {
1335
+ name: 'SD-DrawerActions'
1341
1336
  });
1342
- var DrawerActions = /*#__PURE__*/React.forwardRef((_ref3, appBarRef) => {
1337
+ var DrawerActions = /*#__PURE__*/React.forwardRef((_ref, appBarRef) => {
1343
1338
  var {
1344
- children
1345
- } = _ref3,
1346
- props = _objectWithoutProperties(_ref3, _excluded$a);
1339
+ children,
1340
+ className
1341
+ } = _ref,
1342
+ props = _objectWithoutProperties(_ref, _excluded$a);
1347
1343
 
1344
+ var styles = useStyles$6();
1348
1345
  return /*#__PURE__*/jsxRuntime.jsx(VisibilityObserver, {
1349
- render: _ref4 => {
1346
+ render: _ref2 => {
1350
1347
  var {
1351
1348
  ref,
1352
1349
  visibility
1353
- } = _ref4;
1350
+ } = _ref2;
1354
1351
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1355
- children: [/*#__PURE__*/jsxRuntime.jsx(StyledAppBar, _objectSpread(_objectSpread({}, props), {}, {
1352
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.AppBar, _objectSpread(_objectSpread({}, props), {}, {
1356
1353
  ref: appBarRef,
1357
1354
  position: "sticky",
1358
- "data-sticky": visibility === 'invisible',
1359
- children: /*#__PURE__*/jsxRuntime.jsx(StyledToolbar, {
1355
+ className: clsx(className, styles.appBar, visibility === 'invisible' && styles.appBarSticky),
1356
+ children: /*#__PURE__*/jsxRuntime.jsx(core.Toolbar, {
1357
+ className: styles.toolbar,
1360
1358
  children: children
1361
1359
  })
1362
1360
  })), /*#__PURE__*/jsxRuntime.jsx("div", {
@@ -1368,20 +1366,33 @@ var DrawerActions = /*#__PURE__*/React.forwardRef((_ref3, appBarRef) => {
1368
1366
  });
1369
1367
  if (process.env.NODE_ENV !== "production") DrawerActions.displayName = "DrawerActions";
1370
1368
 
1371
- var DrawerContent = /*#__PURE__*/material.styled('div', {
1372
- name: 'SD-DrawerContent'
1373
- })(_ref => {
1374
- var {
1375
- theme
1376
- } = _ref;
1377
- return {
1369
+ var _excluded$b = ["className"];
1370
+ var useStyles$7 = /*#__PURE__*/styles.makeStyles(theme => ({
1371
+ root: {
1378
1372
  maxWidth: '100%',
1379
1373
  padding: theme.spacing(2, 3),
1380
1374
  [theme.breakpoints.up('md')]: {
1381
1375
  padding: theme.spacing(2, 4)
1382
1376
  }
1383
- };
1377
+ }
1378
+ }), {
1379
+ name: 'SD-DrawerContent'
1380
+ });
1381
+ var DrawerContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1382
+ var {
1383
+ className
1384
+ } = _ref,
1385
+ props = _objectWithoutProperties(_ref, _excluded$b);
1386
+
1387
+ var styles = useStyles$7();
1388
+ return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread(_objectSpread({}, props), {}, {
1389
+ ref: ref,
1390
+ className: clsx(styles.root, className)
1391
+ }));
1384
1392
  });
1393
+ if (process.env.NODE_ENV !== "production") DrawerContent.displayName = "DrawerContent";
1394
+
1395
+ var _excluded$c = ["className"];
1385
1396
 
1386
1397
  function listItemMixins(theme, space) {
1387
1398
  return {
@@ -1401,37 +1412,45 @@ function listItemMixins(theme, space) {
1401
1412
  };
1402
1413
  }
1403
1414
 
1404
- var DrawerList = /*#__PURE__*/material.styled(material.List)(_ref => {
1405
- var {
1406
- theme
1407
- } = _ref;
1408
- return _objectSpread(_objectSpread({
1415
+ var useStyles$8 = /*#__PURE__*/styles.makeStyles(theme => ({
1416
+ root: _objectSpread(_objectSpread({
1409
1417
  maxWidth: '100%'
1410
1418
  }, listItemMixins(theme, 3)), {}, {
1411
1419
  [theme.breakpoints.up('md')]: _objectSpread({}, listItemMixins(theme, 4))
1412
- });
1420
+ })
1421
+ }), {
1422
+ name: 'SD-DrawerList'
1413
1423
  });
1414
-
1415
- var _excluded$b = ["title", "titleTypographyProps", "subtitle", "subtitleTypographyProps", "startAction", "endAction"];
1416
- var StyledAppBar$1 = /*#__PURE__*/material.styled(material.AppBar)(_ref => {
1424
+ var DrawerList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1417
1425
  var {
1418
- theme
1419
- } = _ref;
1420
- return {
1421
- borderTop: 'none',
1422
- borderLeft: 'none',
1423
- borderRight: 'none',
1424
- transition: theme.transitions.create(['border-color']),
1425
- '&[data-sticky="false"]': {
1426
- borderBottomColor: exports.Color.Transparent
1427
- }
1428
- };
1426
+ className
1427
+ } = _ref,
1428
+ props = _objectWithoutProperties(_ref, _excluded$c);
1429
+
1430
+ var styles = useStyles$8();
1431
+ return /*#__PURE__*/jsxRuntime.jsx(core.List, _objectSpread(_objectSpread({}, props), {}, {
1432
+ ref: ref,
1433
+ component: "div",
1434
+ className: clsx(className, styles.root)
1435
+ }));
1429
1436
  });
1430
- var StyledToolbar$1 = /*#__PURE__*/material.styled(material.Toolbar)(_ref2 => {
1431
- var {
1432
- theme
1433
- } = _ref2;
1434
- return {
1437
+ if (process.env.NODE_ENV !== "production") DrawerList.displayName = "DrawerList";
1438
+
1439
+ var _excluded$d = ["title", "titleTypographyProps", "subtitle", "subtitleTypographyProps", "startAction", "endAction", "className"];
1440
+ var useStyles$9 = /*#__PURE__*/styles.makeStyles(theme => ({
1441
+ appBar: {
1442
+ '&&': {
1443
+ borderTop: 'none',
1444
+ borderLeft: 'none',
1445
+ borderRight: 'none',
1446
+ transition: theme.transitions.create(['border-color']),
1447
+ '&:not($appBarSticky)': {
1448
+ borderBottomColor: exports.Color.Transparent
1449
+ }
1450
+ }
1451
+ },
1452
+ appBarSticky: {},
1453
+ toolbar: {
1435
1454
  '&.MuiToolbar-gutters': {
1436
1455
  paddingLeft: theme.spacing(3),
1437
1456
  paddingRight: theme.spacing(3),
@@ -1440,78 +1459,75 @@ var StyledToolbar$1 = /*#__PURE__*/material.styled(material.Toolbar)(_ref2 => {
1440
1459
  paddingRight: theme.spacing(4)
1441
1460
  }
1442
1461
  }
1443
- };
1444
- });
1445
- var StartAction = /*#__PURE__*/material.styled(material.Grid)(_ref3 => {
1446
- var {
1447
- theme
1448
- } = _ref3;
1449
- return {
1462
+ },
1463
+ startAction: {
1450
1464
  marginRight: theme.spacing(0.5),
1451
1465
  '& .MuiIconButton-edgeStart': {
1452
1466
  marginLeft: theme.spacing(-2)
1453
1467
  }
1454
- };
1455
- });
1456
- var EndAction = /*#__PURE__*/material.styled(material.Grid)(_ref4 => {
1457
- var {
1458
- theme
1459
- } = _ref4;
1460
- return {
1468
+ },
1469
+ endAction: {
1461
1470
  marginLeft: theme.spacing(0.5),
1462
1471
  '& .MuiIconButton-edgeEnd': {
1463
1472
  marginRight: theme.spacing(-2)
1464
1473
  }
1465
- };
1474
+ }
1475
+ }), {
1476
+ name: 'SD-DrawerTitle'
1466
1477
  });
1467
- var DrawerTitle = /*#__PURE__*/React.forwardRef((_ref5, appBarRef) => {
1478
+ var DrawerTitle = /*#__PURE__*/React.forwardRef((_ref, appBarRef) => {
1468
1479
  var {
1469
1480
  title,
1470
1481
  titleTypographyProps,
1471
1482
  subtitle,
1472
1483
  subtitleTypographyProps,
1473
1484
  startAction,
1474
- endAction
1475
- } = _ref5,
1476
- props = _objectWithoutProperties(_ref5, _excluded$b);
1485
+ endAction,
1486
+ className
1487
+ } = _ref,
1488
+ props = _objectWithoutProperties(_ref, _excluded$d);
1477
1489
 
1490
+ var styles = useStyles$9();
1478
1491
  return /*#__PURE__*/jsxRuntime.jsx(VisibilityObserver, {
1479
- render: _ref6 => {
1492
+ render: _ref2 => {
1480
1493
  var {
1481
1494
  ref,
1482
1495
  visibility
1483
- } = _ref6;
1496
+ } = _ref2;
1484
1497
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1485
1498
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
1486
1499
  ref: ref
1487
- }), /*#__PURE__*/jsxRuntime.jsx(StyledAppBar$1, _objectSpread(_objectSpread({}, props), {}, {
1500
+ }), /*#__PURE__*/jsxRuntime.jsx(core.AppBar, _objectSpread(_objectSpread({}, props), {}, {
1488
1501
  ref: appBarRef,
1489
1502
  position: "sticky",
1490
- "data-sticky": visibility === 'invisible',
1491
- children: /*#__PURE__*/jsxRuntime.jsx(StyledToolbar$1, {
1492
- children: /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
1503
+ className: clsx(styles.appBar, className, visibility === 'invisible' && styles.appBarSticky),
1504
+ children: /*#__PURE__*/jsxRuntime.jsx(core.Toolbar, {
1505
+ className: styles.toolbar,
1506
+ children: /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
1493
1507
  container: true,
1494
1508
  alignItems: "center",
1495
- children: [!!startAction && /*#__PURE__*/jsxRuntime.jsx(StartAction, {
1509
+ children: [!!startAction && /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
1496
1510
  item: true,
1511
+ className: styles.startAction,
1497
1512
  children: startAction
1498
- }), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
1513
+ }), /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
1499
1514
  item: true,
1500
1515
  xs: true,
1501
1516
  zeroMinWidth: true,
1502
- children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, _objectSpread(_objectSpread({
1517
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.Typography, _objectSpread(_objectSpread({
1503
1518
  variant: "h3",
1504
1519
  noWrap: true
1505
1520
  }, titleTypographyProps), {}, {
1506
1521
  children: title
1507
- })), !!subtitle && /*#__PURE__*/jsxRuntime.jsx(material.Typography, _objectSpread(_objectSpread({
1522
+ })), !!subtitle && /*#__PURE__*/jsxRuntime.jsx(core.Typography, _objectSpread(_objectSpread({
1508
1523
  variant: "body2",
1509
1524
  noWrap: true
1510
1525
  }, subtitleTypographyProps), {}, {
1511
1526
  children: subtitle
1512
1527
  }))]
1513
- }), !!endAction && /*#__PURE__*/jsxRuntime.jsx(EndAction, {
1528
+ }), !!endAction && /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
1514
1529
  item: true,
1530
+ className: styles.endAction,
1515
1531
  children: endAction
1516
1532
  })]
1517
1533
  })
@@ -1523,7 +1539,7 @@ var DrawerTitle = /*#__PURE__*/React.forwardRef((_ref5, appBarRef) => {
1523
1539
  });
1524
1540
  if (process.env.NODE_ENV !== "production") DrawerTitle.displayName = "DrawerTitle";
1525
1541
 
1526
- var _excluded$c = ["children", "alignItems"];
1542
+ var _excluded$e = ["children", "alignItems"];
1527
1543
  /**
1528
1544
  * @deprecated in favor of `Stack`.
1529
1545
  */
@@ -1533,16 +1549,16 @@ var GridStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1533
1549
  children,
1534
1550
  alignItems = 'stretch'
1535
1551
  } = _ref,
1536
- props = _objectWithoutProperties(_ref, _excluded$c);
1552
+ props = _objectWithoutProperties(_ref, _excluded$e);
1537
1553
 
1538
1554
  var items = React.Children.toArray(children);
1539
- return /*#__PURE__*/jsxRuntime.jsx(material.Grid, _objectSpread(_objectSpread({}, props), {}, {
1555
+ return /*#__PURE__*/jsxRuntime.jsx(core.Grid, _objectSpread(_objectSpread({}, props), {}, {
1540
1556
  ref: ref,
1541
1557
  container: true,
1542
1558
  wrap: "nowrap",
1543
1559
  direction: "column",
1544
1560
  alignItems: alignItems,
1545
- children: items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1561
+ children: items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
1546
1562
  item: true,
1547
1563
  zeroMinWidth: true,
1548
1564
  xs: alignItems === 'stretch' ? 12 : undefined,
@@ -1552,7 +1568,7 @@ var GridStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1552
1568
  });
1553
1569
  if (process.env.NODE_ENV !== "production") GridStack.displayName = "GridStack";
1554
1570
 
1555
- var _excluded$d = ["children", "wrap", "justify", "alignItems"];
1571
+ var _excluded$f = ["children", "wrap", "justify", "alignItems"];
1556
1572
  /**
1557
1573
  * @deprecated in favor of `Inline` component.
1558
1574
  */
@@ -1564,16 +1580,16 @@ var InlineGrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1564
1580
  justify = 'flex-start',
1565
1581
  alignItems = 'flex-start'
1566
1582
  } = _ref,
1567
- props = _objectWithoutProperties(_ref, _excluded$d);
1583
+ props = _objectWithoutProperties(_ref, _excluded$f);
1568
1584
 
1569
1585
  var items = React.Children.toArray(children);
1570
- return /*#__PURE__*/jsxRuntime.jsx(material.Grid, _objectSpread(_objectSpread({}, props), {}, {
1586
+ return /*#__PURE__*/jsxRuntime.jsx(core.Grid, _objectSpread(_objectSpread({}, props), {}, {
1571
1587
  ref: ref,
1572
1588
  wrap: wrap,
1573
1589
  container: true,
1574
- justifyContent: justify,
1590
+ justify: justify,
1575
1591
  alignItems: alignItems,
1576
- children: items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1592
+ children: items.map((item, idx) => /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
1577
1593
  item: true,
1578
1594
  zeroMinWidth: true,
1579
1595
  children: item
@@ -1582,33 +1598,30 @@ var InlineGrid = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1582
1598
  });
1583
1599
  if (process.env.NODE_ENV !== "production") InlineGrid.displayName = "InlineGrid";
1584
1600
 
1585
- var _excluded$e = ["size", "square", "classes", "children", "className", "CardContentProps"];
1586
- var StyledCardContent = /*#__PURE__*/material.styled(material.CardContent)(_ref => {
1587
- var {
1588
- theme
1589
- } = _ref;
1590
- return {
1591
- padding: theme.spacing(2)
1592
- };
1593
- });
1594
- var StyledCard = /*#__PURE__*/material.styled(material.Card)(_ref2 => {
1595
- var {
1596
- theme
1597
- } = _ref2;
1598
- return {
1599
- '&[data-full-width="true"]': {
1601
+ var _excluded$g = ["size", "square", "classes", "children", "className", "CardContentProps"],
1602
+ _excluded2$2 = ["content", "sizeLarge", "fullWidth"];
1603
+ var useStyles$a = /*#__PURE__*/styles.makeStyles(theme => ({
1604
+ root: {
1605
+ '&$fullWidth': {
1600
1606
  borderRadius: 0,
1601
1607
  borderLeftWidth: 0,
1602
1608
  borderRightWidth: 0
1603
- },
1604
- ["&[data-size=\"large\"] > ".concat(StyledCardContent.toString())]: {
1609
+ }
1610
+ },
1611
+ fullWidth: {},
1612
+ sizeLarge: {},
1613
+ content: {
1614
+ padding: theme.spacing(2),
1615
+ '$sizeLarge > &': {
1605
1616
  [theme.breakpoints.up('sm')]: {
1606
1617
  padding: theme.spacing(3)
1607
1618
  }
1608
1619
  }
1609
- };
1620
+ }
1621
+ }), {
1622
+ name: 'SD-InfoCard'
1610
1623
  });
1611
- var InfoCard = /*#__PURE__*/React.forwardRef((_ref3, _ref4) => {
1624
+ var InfoCard = /*#__PURE__*/React.forwardRef((_ref, _ref2) => {
1612
1625
  var {
1613
1626
  size,
1614
1627
  square,
@@ -1616,20 +1629,31 @@ var InfoCard = /*#__PURE__*/React.forwardRef((_ref3, _ref4) => {
1616
1629
  children,
1617
1630
  className,
1618
1631
  CardContentProps: cardContentProps = {}
1619
- } = _ref3,
1620
- props = _objectWithoutProperties(_ref3, _excluded$e);
1632
+ } = _ref,
1633
+ props = _objectWithoutProperties(_ref, _excluded$g);
1634
+
1635
+ var _useStyles = useStyles$a({
1636
+ classes
1637
+ }),
1638
+ {
1639
+ content: contentClassName,
1640
+ sizeLarge: sizeLargeClassName,
1641
+ fullWidth: fullWidthClassName
1642
+ } = _useStyles,
1643
+ styles = _objectWithoutProperties(_useStyles, _excluded2$2);
1621
1644
 
1622
1645
  var [rootNode, setRootNode] = React.useState(null);
1623
1646
  var clientRect = rootNode === null || rootNode === void 0 ? void 0 : rootNode.getBoundingClientRect();
1624
1647
  var isFullWidth = (clientRect === null || clientRect === void 0 ? void 0 : clientRect.width) === window.innerWidth;
1625
- return /*#__PURE__*/jsxRuntime.jsx(StyledCard, _objectSpread(_objectSpread({}, props), {}, {
1648
+ return /*#__PURE__*/jsxRuntime.jsx(core.Card, _objectSpread(_objectSpread({}, props), {}, {
1626
1649
  ref: node => {
1627
- assignRef(_ref4, node);
1650
+ assignRef(_ref2, node);
1628
1651
  setRootNode(node);
1629
1652
  },
1630
- "data-size": size,
1631
- "data-full-width": isFullWidth,
1632
- children: /*#__PURE__*/jsxRuntime.jsx(StyledCardContent, _objectSpread(_objectSpread({}, cardContentProps), {}, {
1653
+ classes: styles,
1654
+ className: clsx(className, isFullWidth && fullWidthClassName, size === 'large' && sizeLargeClassName),
1655
+ children: /*#__PURE__*/jsxRuntime.jsx(core.CardContent, _objectSpread(_objectSpread({}, cardContentProps), {}, {
1656
+ className: clsx(cardContentProps.className, contentClassName),
1633
1657
  children: children
1634
1658
  }))
1635
1659
  }));
@@ -1685,8 +1709,8 @@ var Inline = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
1685
1709
  });
1686
1710
  if (process.env.NODE_ENV !== "production") Inline.displayName = "Inline";
1687
1711
 
1688
- var _excluded$f = ["value", "inputRef", "onChange", "isNumericString", "thousandSeparator", "disableValueParsing"],
1689
- _excluded2$1 = ["id", "InputProps"];
1712
+ var _excluded$h = ["value", "inputRef", "onChange", "isNumericString", "thousandSeparator", "disableValueParsing"],
1713
+ _excluded2$3 = ["id", "InputProps"];
1690
1714
 
1691
1715
  function NumberInputComponent(_ref) {
1692
1716
  var {
@@ -1697,7 +1721,7 @@ function NumberInputComponent(_ref) {
1697
1721
  thousandSeparator = true,
1698
1722
  disableValueParsing
1699
1723
  } = _ref,
1700
- props = _objectWithoutProperties(_ref, _excluded$f);
1724
+ props = _objectWithoutProperties(_ref, _excluded$h);
1701
1725
 
1702
1726
  return /*#__PURE__*/jsxRuntime.jsx(NumberFormat, _objectSpread(_objectSpread({}, props), {}, {
1703
1727
  value: value !== null && value !== void 0 ? value : '',
@@ -1723,10 +1747,10 @@ var NumberField = /*#__PURE__*/React.forwardRef(_ref2 => {
1723
1747
  id,
1724
1748
  InputProps
1725
1749
  } = _ref2,
1726
- props = _objectWithoutProperties(_ref2, _excluded2$1);
1750
+ props = _objectWithoutProperties(_ref2, _excluded2$3);
1727
1751
 
1728
1752
  var uid = useUID(id);
1729
- return /*#__PURE__*/jsxRuntime.jsx(material.TextField, _objectSpread(_objectSpread({}, props), {}, {
1753
+ return /*#__PURE__*/jsxRuntime.jsx(core.TextField, _objectSpread(_objectSpread({}, props), {}, {
1730
1754
  id: uid,
1731
1755
  InputProps: _objectSpread(_objectSpread({}, InputProps), {}, {
1732
1756
  inputComponent: NumberInputComponent
@@ -1736,7 +1760,7 @@ var NumberField = /*#__PURE__*/React.forwardRef(_ref2 => {
1736
1760
  if (process.env.NODE_ENV !== "production") NumberField.displayName = "NumberField";
1737
1761
  NumberField.displayName = 'NumberField';
1738
1762
 
1739
- var _excluded$g = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
1763
+ var _excluded$i = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
1740
1764
  var RadioField = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1741
1765
  var {
1742
1766
  label,
@@ -1747,27 +1771,27 @@ var RadioField = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1747
1771
  helperText,
1748
1772
  FormControlLabelProps: formControlLabelProps
1749
1773
  } = _ref,
1750
- props = _objectWithoutProperties(_ref, _excluded$g);
1774
+ props = _objectWithoutProperties(_ref, _excluded$i);
1751
1775
 
1752
- return /*#__PURE__*/jsxRuntime.jsxs(material.FormControl, {
1776
+ return /*#__PURE__*/jsxRuntime.jsxs(core.FormControl, {
1753
1777
  error: error,
1754
- children: [/*#__PURE__*/jsxRuntime.jsx(material.FormControlLabel, _objectSpread(_objectSpread({}, formControlLabelProps), {}, {
1778
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.FormControlLabel, _objectSpread(_objectSpread({}, formControlLabelProps), {}, {
1755
1779
  label: label,
1756
1780
  checked: checked,
1757
1781
  onBlur: onBlur,
1758
1782
  onChange: onChange,
1759
- control: /*#__PURE__*/jsxRuntime.jsx(material.Radio, _objectSpread({
1783
+ control: /*#__PURE__*/jsxRuntime.jsx(core.Radio, _objectSpread({
1760
1784
  ref: ref,
1761
1785
  color: "primary"
1762
1786
  }, props))
1763
- })), helperText && /*#__PURE__*/jsxRuntime.jsx(material.FormHelperText, {
1787
+ })), helperText && /*#__PURE__*/jsxRuntime.jsx(core.FormHelperText, {
1764
1788
  children: helperText
1765
1789
  })]
1766
1790
  });
1767
1791
  });
1768
1792
  if (process.env.NODE_ENV !== "production") RadioField.displayName = "RadioField";
1769
1793
 
1770
- var _excluded$h = ["name", "value", "onChange", "RadioGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1794
+ var _excluded$j = ["name", "value", "onChange", "RadioGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1771
1795
  var RadioGroupField = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1772
1796
  var {
1773
1797
  name,
@@ -1780,20 +1804,20 @@ var RadioGroupField = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1780
1804
  FormHelperTextProps: formHelperTextProps,
1781
1805
  children
1782
1806
  } = _ref,
1783
- formControlProps = _objectWithoutProperties(_ref, _excluded$h);
1807
+ formControlProps = _objectWithoutProperties(_ref, _excluded$j);
1784
1808
 
1785
- return /*#__PURE__*/jsxRuntime.jsxs(material.FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
1809
+ return /*#__PURE__*/jsxRuntime.jsxs(core.FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
1786
1810
  hiddenLabel: !label,
1787
- children: [!!label && /*#__PURE__*/jsxRuntime.jsx(material.FormLabel, _objectSpread(_objectSpread({}, formLabelProps), {}, {
1811
+ children: [!!label && /*#__PURE__*/jsxRuntime.jsx(core.FormLabel, _objectSpread(_objectSpread({}, formLabelProps), {}, {
1788
1812
  children: label
1789
- })), /*#__PURE__*/jsxRuntime.jsx(material.RadioGroup, _objectSpread(_objectSpread({
1813
+ })), /*#__PURE__*/jsxRuntime.jsx(core.RadioGroup, _objectSpread(_objectSpread({
1790
1814
  ref: ref
1791
1815
  }, radioGroupProps), {}, {
1792
1816
  name: name,
1793
1817
  value: value,
1794
1818
  onChange: onChange,
1795
1819
  children: children
1796
- })), !!helperText && /*#__PURE__*/jsxRuntime.jsx(material.FormHelperText, _objectSpread(_objectSpread({}, formHelperTextProps), {}, {
1820
+ })), !!helperText && /*#__PURE__*/jsxRuntime.jsx(core.FormHelperText, _objectSpread(_objectSpread({}, formHelperTextProps), {}, {
1797
1821
  children: helperText
1798
1822
  }))]
1799
1823
  }));
@@ -1830,9 +1854,9 @@ function useMinBreakpoint(minBreakpoint) {
1830
1854
  return minBreakpointIDX < breakpointIDX;
1831
1855
  }
1832
1856
 
1833
- var _excluded$i = ["action", "children", "onClose", "className", "classes", "variant"],
1834
- _excluded2$2 = ["icon", "closeButton", "variantError", "variantSuccess"];
1835
- var useStyles$1 = /*#__PURE__*/styles.makeStyles(theme => ({
1857
+ var _excluded$k = ["action", "children", "onClose", "className", "classes", "variant"],
1858
+ _excluded2$4 = ["icon", "closeButton", "variantError", "variantSuccess"];
1859
+ var useStyles$b = /*#__PURE__*/styles.makeStyles(theme => ({
1836
1860
  root: {
1837
1861
  color: exports.Color.White,
1838
1862
  backgroundColor: exports.Color.Dark500,
@@ -1875,9 +1899,9 @@ var SnackbarContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1875
1899
  classes,
1876
1900
  variant = 'default'
1877
1901
  } = _ref,
1878
- props = _objectWithoutProperties(_ref, _excluded$i);
1902
+ props = _objectWithoutProperties(_ref, _excluded$k);
1879
1903
 
1880
- var _useStyles = useStyles$1({
1904
+ var _useStyles = useStyles$b({
1881
1905
  classes
1882
1906
  }),
1883
1907
  {
@@ -1886,10 +1910,10 @@ var SnackbarContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1886
1910
  variantError,
1887
1911
  variantSuccess
1888
1912
  } = _useStyles,
1889
- styles = _objectWithoutProperties(_useStyles, _excluded2$2);
1913
+ styles = _objectWithoutProperties(_useStyles, _excluded2$4);
1890
1914
 
1891
- var Icon = variant === 'error' ? iconsMaterial.Warning : variant === 'success' ? iconsMaterial.CheckCircle : undefined;
1892
- return /*#__PURE__*/jsxRuntime.jsx(material.SnackbarContent, _objectSpread(_objectSpread({}, props), {}, {
1915
+ var Icon = variant === 'error' ? icons.Warning : variant === 'success' ? icons.CheckCircle : undefined;
1916
+ return /*#__PURE__*/jsxRuntime.jsx(core.SnackbarContent, _objectSpread(_objectSpread({}, props), {}, {
1893
1917
  ref: ref,
1894
1918
  classes: styles,
1895
1919
  className: clsx(className, {
@@ -1901,21 +1925,21 @@ var SnackbarContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1901
1925
  className: icon
1902
1926
  }), children]
1903
1927
  }),
1904
- action: !action && !onClose ? null : /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
1928
+ action: !action && !onClose ? null : /*#__PURE__*/jsxRuntime.jsxs(core.Grid, {
1905
1929
  container: true,
1906
1930
  spacing: 1,
1907
1931
  alignItems: "center",
1908
1932
  wrap: "nowrap",
1909
- children: [!!action && /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1933
+ children: [!!action && /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
1910
1934
  item: true,
1911
1935
  children: action
1912
- }), onClose && /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
1936
+ }), onClose && /*#__PURE__*/jsxRuntime.jsx(core.Grid, {
1913
1937
  item: true,
1914
- children: /*#__PURE__*/jsxRuntime.jsx(material.IconButton, {
1938
+ children: /*#__PURE__*/jsxRuntime.jsx(core.IconButton, {
1915
1939
  "aria-label": "close",
1916
1940
  onClick: onClose,
1917
1941
  className: closeButton,
1918
- children: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Close, {
1942
+ children: /*#__PURE__*/jsxRuntime.jsx(icons.Close, {
1919
1943
  fontSize: "small"
1920
1944
  })
1921
1945
  })
@@ -1925,10 +1949,10 @@ var SnackbarContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1925
1949
  });
1926
1950
  if (process.env.NODE_ENV !== "production") SnackbarContent.displayName = "SnackbarContent";
1927
1951
 
1928
- var _excluded$j = ["open", "action", "variant", "onClose", "children", "ContentProps", "hasCloseButton", "TransitionComponent"];
1952
+ var _excluded$l = ["open", "action", "variant", "onClose", "children", "ContentProps", "hasCloseButton", "TransitionComponent"];
1929
1953
 
1930
1954
  function SlideTransition(props) {
1931
- return /*#__PURE__*/jsxRuntime.jsx(material.Slide, _objectSpread(_objectSpread({}, props), {}, {
1955
+ return /*#__PURE__*/jsxRuntime.jsx(core.Slide, _objectSpread(_objectSpread({}, props), {}, {
1932
1956
  direction: "up"
1933
1957
  }));
1934
1958
  }
@@ -1944,7 +1968,7 @@ var Snackbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1944
1968
  hasCloseButton = onClose != null,
1945
1969
  TransitionComponent = SlideTransition
1946
1970
  } = _ref,
1947
- props = _objectWithoutProperties(_ref, _excluded$j);
1971
+ props = _objectWithoutProperties(_ref, _excluded$l);
1948
1972
 
1949
1973
  function handleClose(reason) {
1950
1974
  if (reason !== 'clickaway') {
@@ -1952,8 +1976,8 @@ var Snackbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1952
1976
  }
1953
1977
  }
1954
1978
 
1955
- return /*#__PURE__*/jsxRuntime.jsx(material.Portal, {
1956
- children: /*#__PURE__*/jsxRuntime.jsx(material.Snackbar, _objectSpread(_objectSpread({}, props), {}, {
1979
+ return /*#__PURE__*/jsxRuntime.jsx(core.Portal, {
1980
+ children: /*#__PURE__*/jsxRuntime.jsx(core.Snackbar, _objectSpread(_objectSpread({}, props), {}, {
1957
1981
  ref: ref,
1958
1982
  open: open,
1959
1983
  TransitionComponent: TransitionComponent,
@@ -1973,7 +1997,7 @@ var Snackbar = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1973
1997
  });
1974
1998
  if (process.env.NODE_ENV !== "production") Snackbar.displayName = "Snackbar";
1975
1999
 
1976
- var _excluded$k = ["onClose", "variant", "key", "id", "autoHideDuration"];
2000
+ var _excluded$m = ["onClose", "variant", "key", "id", "autoHideDuration"];
1977
2001
 
1978
2002
  function warnContext() {
1979
2003
  // eslint-disable-next-line no-console
@@ -2019,7 +2043,7 @@ function SnackbarStackProvider(_ref2) {
2019
2043
  id = String(key),
2020
2044
  autoHideDuration = 5000
2021
2045
  } = _ref3,
2022
- props = _objectWithoutProperties(_ref3, _excluded$k);
2046
+ props = _objectWithoutProperties(_ref3, _excluded$m);
2023
2047
 
2024
2048
  function removeSnackbar() {
2025
2049
  setStack(prev => {
@@ -2116,8 +2140,8 @@ var Stack = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
2116
2140
  });
2117
2141
  if (process.env.NODE_ENV !== "production") Stack.displayName = "Stack";
2118
2142
 
2119
- var _excluded$l = ["color", "variant", "children", "classes", "className", "noWrap", "fontWeight", "component"];
2120
- var useStyles$2 = /*#__PURE__*/styles.makeStyles(theme => ({
2143
+ var _excluded$n = ["color", "variant", "children", "classes", "className", "noWrap", "fontWeight", "component"];
2144
+ var useStyles$c = /*#__PURE__*/styles.makeStyles(theme => ({
2121
2145
  root: {
2122
2146
  maxWidth: '100%',
2123
2147
  alignItems: 'center',
@@ -2200,12 +2224,12 @@ var Tag = /*#__PURE__*/React.forwardRef((_ref, ref) => {
2200
2224
  fontWeight = 'bold',
2201
2225
  component = 'div'
2202
2226
  } = _ref,
2203
- props = _objectWithoutProperties(_ref, _excluded$l);
2227
+ props = _objectWithoutProperties(_ref, _excluded$n);
2204
2228
 
2205
- var styles = useStyles$2({
2229
+ var styles = useStyles$c({
2206
2230
  classes
2207
2231
  });
2208
- return /*#__PURE__*/jsxRuntime.jsx(material.Typography, _objectSpread(_objectSpread({}, props), {}, {
2232
+ return /*#__PURE__*/jsxRuntime.jsx(core.Typography, _objectSpread(_objectSpread({}, props), {}, {
2209
2233
  ref: ref,
2210
2234
  noWrap: noWrap,
2211
2235
  component: component,
@@ -2228,28 +2252,29 @@ var Tag = /*#__PURE__*/React.forwardRef((_ref, ref) => {
2228
2252
  if (process.env.NODE_ENV !== "production") Tag.displayName = "Tag";
2229
2253
 
2230
2254
  function overrideAppBar(theme) {
2231
- theme.components.MuiAppBar = {
2232
- defaultProps: {
2233
- elevation: 0,
2234
- color: 'inherit',
2235
- position: 'static'
2236
- }
2255
+ theme.props.MuiAppBar = {
2256
+ elevation: 0,
2257
+ color: 'inherit',
2258
+ position: 'static'
2237
2259
  };
2238
2260
  }
2239
2261
 
2240
2262
  function overrideAutocomplete(theme) {
2241
- var sm = theme.breakpoints.up('sm');
2242
- theme.components.MuiAutocomplete = {
2243
- defaultProps: {
2244
- popupIcon: /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, {
2263
+ var sm = theme.breakpoints.up('sm'); // Remove `Object.assign` after official release of `Autocomplete`.
2264
+
2265
+ Object.assign(theme.props, {
2266
+ MuiAutocomplete: {
2267
+ popupIcon: /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, {
2245
2268
  children: /*#__PURE__*/jsxRuntime.jsx("path", {
2246
2269
  d: "M12 16.5L6 9h12l-6 7.5z",
2247
2270
  fill: "currentColor"
2248
2271
  })
2249
2272
  })
2250
- },
2251
- styleOverrides: {
2252
- // paper: { ...theme.typography.body2 },
2273
+ }
2274
+ });
2275
+ Object.assign(theme.overrides, {
2276
+ MuiAutocomplete: {
2277
+ paper: _objectSpread({}, theme.typography.body2),
2253
2278
  tag: {
2254
2279
  margin: '4px',
2255
2280
  [sm]: {
@@ -2273,47 +2298,45 @@ function overrideAutocomplete(theme) {
2273
2298
  inputRoot: {
2274
2299
  '&[class*="MuiOutlinedInput-root"]': {
2275
2300
  padding: '6px 8px',
2276
- ["& .".concat(material.autocompleteClasses.input)]: {
2301
+ '& $input': {
2277
2302
  width: '144px',
2278
2303
  padding: '4px'
2279
2304
  },
2280
- ["& .".concat(material.autocompleteClasses.input, ":first-child")]: {
2281
- paddingLeft: 'unset'
2305
+ '& $input:first-child': {
2306
+ paddingLeft: undefined
2282
2307
  },
2283
- ["& .".concat(material.autocompleteClasses.endAdornment)]: {
2308
+ '& $endAdornment': {
2284
2309
  right: '12px'
2285
2310
  },
2286
2311
  [sm]: {
2287
2312
  padding: theme.spacing(0.5, 0.75),
2288
- ["& .".concat(material.autocompleteClasses.input)]: {
2313
+ '& $input': {
2289
2314
  padding: '2px'
2290
2315
  },
2291
- ["& .".concat(material.autocompleteClasses.endAdornment)]: {
2316
+ '& $endAdornment': {
2292
2317
  right: '8px'
2293
2318
  }
2294
2319
  }
2295
2320
  }
2296
2321
  }
2297
2322
  }
2298
- };
2323
+ });
2299
2324
  }
2300
2325
 
2301
2326
  function overrideAvatar(theme) {
2302
- theme.components.MuiAvatar = {
2303
- styleOverrides: {
2304
- root: _objectSpread(_objectSpread({}, theme.typography.h5), {}, {
2305
- textTransform: 'uppercase',
2306
- width: theme.spacing(5),
2307
- height: theme.spacing(5),
2308
- [theme.breakpoints.up('sm')]: {
2309
- width: theme.spacing(4),
2310
- height: theme.spacing(4)
2311
- }
2312
- }),
2313
- colorDefault: {
2314
- color: exports.Color.Dark300,
2315
- backgroundColor: exports.Color.Silver300
2327
+ theme.overrides.MuiAvatar = {
2328
+ root: _objectSpread(_objectSpread({}, theme.typography.h5), {}, {
2329
+ textTransform: 'uppercase',
2330
+ width: theme.spacing(5),
2331
+ height: theme.spacing(5),
2332
+ [theme.breakpoints.up('sm')]: {
2333
+ width: theme.spacing(4),
2334
+ height: theme.spacing(4)
2316
2335
  }
2336
+ }),
2337
+ colorDefault: {
2338
+ color: exports.Color.Dark300,
2339
+ backgroundColor: exports.Color.Silver300
2317
2340
  }
2318
2341
  };
2319
2342
  }
@@ -2326,11 +2349,9 @@ function outlineShadow() {
2326
2349
 
2327
2350
  function textVariant(text, outline, background, progress) {
2328
2351
  return {
2329
- '&': {
2330
- color: text,
2331
- boxShadow: outlineShadow(),
2332
- backgroundColor: exports.Color.Transparent
2333
- },
2352
+ color: text,
2353
+ boxShadow: outlineShadow(),
2354
+ backgroundColor: exports.Color.Transparent,
2334
2355
  '&:hover': {
2335
2356
  backgroundColor: background
2336
2357
  },
@@ -2341,13 +2362,13 @@ function textVariant(text, outline, background, progress) {
2341
2362
  backgroundColor: background,
2342
2363
  boxShadow: outlineShadow(2, outline)
2343
2364
  },
2344
- ["&.".concat(material.buttonClasses.disabled)]: {
2365
+ '&$disabled': {
2345
2366
  color: outline,
2346
2367
  boxShadow: outlineShadow(),
2347
- backgroundColor: exports.Color.Transparent,
2348
- ["& .".concat(lab.loadingButtonClasses.loadingIndicator)]: {
2349
- color: progress
2350
- }
2368
+ backgroundColor: exports.Color.Transparent
2369
+ },
2370
+ '&$disabled[aria-busy="true"]': {
2371
+ color: progress
2351
2372
  }
2352
2373
  };
2353
2374
  }
@@ -2361,11 +2382,11 @@ function outlinedVariant(staleText, staleBorder, disabledText, disabledBorder, a
2361
2382
  return {
2362
2383
  backgroundColor,
2363
2384
  color: staleText,
2364
- border: 0,
2385
+ border: undefined,
2365
2386
  boxShadow: outlinedBorder(staleBorder),
2366
2387
  '&:hover': {
2367
2388
  color: activeText,
2368
- border: 0,
2389
+ border: undefined,
2369
2390
  backgroundColor: activeBackground,
2370
2391
  boxShadow: outlinedBorder(activeBorder)
2371
2392
  },
@@ -2377,13 +2398,13 @@ function outlinedVariant(staleText, staleBorder, disabledText, disabledBorder, a
2377
2398
  '&:focus': {
2378
2399
  boxShadow: outlinedBorder(activeBorder, activeOutline)
2379
2400
  },
2380
- ["&.".concat(material.buttonClasses.disabled)]: {
2401
+ '&$disabled': {
2381
2402
  backgroundColor,
2382
2403
  color: disabledText,
2383
- boxShadow: outlinedBorder(disabledBorder),
2384
- ["& .".concat(lab.loadingButtonClasses.loadingIndicator)]: {
2385
- color: progress
2386
- }
2404
+ boxShadow: outlinedBorder(disabledBorder)
2405
+ },
2406
+ '&$disabled[aria-busy="true"]': {
2407
+ color: progress
2387
2408
  }
2388
2409
  };
2389
2410
  }
@@ -2402,236 +2423,229 @@ function containedVariant(text, backgroundColor, outline, active, disabledText,
2402
2423
  '&:focus': {
2403
2424
  boxShadow: outlineShadow(3, outline)
2404
2425
  },
2405
- ["&.".concat(material.buttonClasses.disabled)]: {
2426
+ '&$disabled': {
2406
2427
  color: disabledText,
2407
2428
  boxShadow: outlineShadow(),
2408
- backgroundColor: disabledBackground,
2409
- ["& .".concat(lab.loadingButtonClasses.loadingIndicator)]: {
2410
- color: disabledText
2411
- }
2429
+ backgroundColor: disabledBackground
2412
2430
  }
2413
2431
  };
2414
2432
  }
2415
2433
 
2416
- function sizeSmall(theme) {
2417
- var sm = theme.breakpoints.up('sm');
2418
- return _objectSpread(_objectSpread({}, theme.typography.button), {}, {
2419
- padding: theme.spacing(0.5, 3),
2420
- [sm]: {
2421
- padding: theme.spacing(0.25, 2)
2422
- }
2423
- });
2424
- }
2425
-
2426
- function sizeLarge(theme) {
2427
- var sm = theme.breakpoints.up('sm');
2428
- return _objectSpread(_objectSpread({}, theme.typography.button), {}, {
2429
- fontSize: '18px',
2430
- lineHeight: '28px',
2431
- padding: theme.spacing(1.75, 8),
2432
- [sm]: {
2433
- fontSize: '16px',
2434
- lineHeight: '24px',
2435
- padding: theme.spacing(1, 4)
2436
- }
2437
- });
2438
- }
2439
-
2440
2434
  function overrideButton(theme) {
2441
2435
  var sm = theme.breakpoints.up('sm');
2442
- theme.components.MuiLoadingButton = {
2443
- defaultProps: {
2444
- variant: 'outlined'
2445
- },
2446
- styleOverrides: {
2447
- loadingIndicator: {
2448
- color: 'inherit',
2449
- fontSize: theme.spacing(2),
2450
- [".".concat(material.buttonClasses.sizeLarge, " &")]: {
2451
- fontSize: theme.spacing(3)
2436
+ theme.props.MuiButton = {
2437
+ color: 'primary',
2438
+ variant: 'outlined',
2439
+ disableFocusRipple: true
2440
+ };
2441
+ theme.overrides.MuiButton = {
2442
+ root: {
2443
+ color: undefined,
2444
+ minWidth: theme.spacing(6),
2445
+ transition: theme.transitions.create(['color', 'border', 'box-shadow', 'background-color']),
2446
+ padding: theme.spacing(1.25, 3),
2447
+ [sm]: {
2448
+ padding: theme.spacing(0.75, 2)
2449
+ },
2450
+ '&:hover': {
2451
+ backgroundColor: undefined,
2452
+ '&$disabled': {
2453
+ backgroundColor: undefined
2454
+ },
2455
+ '@media (hover: none)': {
2456
+ backgroundColor: undefined
2457
+ }
2458
+ },
2459
+ '&$disabled': {
2460
+ color: undefined
2461
+ },
2462
+ '&[aria-busy="true"]': {
2463
+ '& $label': {
2464
+ visibility: 'hidden',
2465
+ '& > [role="progressbar"]': {
2466
+ position: 'absolute',
2467
+ visibility: 'visible',
2468
+ top: 'calc(50% - 0.5em)',
2469
+ left: 'calc(50% - 0.5em)',
2470
+ fontSize: theme.spacing(2),
2471
+ '$sizeLarge &': {
2472
+ fontSize: theme.spacing(3)
2473
+ }
2474
+ }
2452
2475
  }
2453
2476
  }
2454
- }
2455
- };
2456
- theme.components.MuiButton = {
2457
- defaultProps: {
2458
- color: 'primary',
2459
- variant: 'outlined',
2460
- disableFocusRipple: true
2461
- },
2462
- styleOverrides: {
2463
- root: {
2464
- minWidth: theme.spacing(6),
2465
- transition: theme.transitions.create(['color', 'border', 'box-shadow', 'background-color']),
2466
- padding: theme.spacing(1.25, 3),
2477
+ },
2478
+ label: {
2479
+ '& > .MuiSvgIcon-root': {
2480
+ fontSize: '24px',
2467
2481
  [sm]: {
2468
- padding: theme.spacing(0.75, 2)
2482
+ fontSize: '20px'
2469
2483
  },
2470
- '&:hover': {
2471
- backgroundColor: 'initial',
2472
- ["&.".concat(material.buttonClasses.disabled)]: {
2473
- backgroundColor: 'initial'
2474
- },
2475
- '@media (hover: none)': {
2476
- backgroundColor: 'initial'
2477
- }
2478
- },
2479
- ["&.".concat(material.buttonClasses.disabled)]: {
2480
- color: 'initial'
2481
- },
2482
- '& > .MuiSvgIcon-root': {
2483
- fontSize: '24px',
2484
+ '$sizeLarge &': {
2485
+ fontSize: '28px',
2484
2486
  [sm]: {
2485
- fontSize: '20px'
2486
- },
2487
- [".".concat(material.buttonClasses.sizeLarge, "&")]: {
2488
- fontSize: '28px',
2489
- [sm]: {
2490
- fontSize: '24px'
2491
- }
2487
+ fontSize: '24px'
2492
2488
  }
2493
2489
  }
2490
+ }
2491
+ },
2492
+ sizeSmall: {
2493
+ padding: theme.spacing(0.5, 3),
2494
+ [sm]: {
2495
+ padding: theme.spacing(0.25, 2)
2496
+ }
2497
+ },
2498
+ sizeLarge: {
2499
+ fontSize: '18px',
2500
+ lineHeight: '28px',
2501
+ padding: theme.spacing(1.75, 8),
2502
+ [sm]: {
2503
+ fontSize: '16px',
2504
+ lineHeight: '24px',
2505
+ padding: theme.spacing(1, 4)
2506
+ }
2507
+ },
2508
+ text: {
2509
+ padding: undefined,
2510
+ '&[data-color="error"]': textVariant(exports.Color.Red300, exports.Color.Red100, exports.Color.Red50, exports.Color.Red200),
2511
+ '&[data-color="success"]': textVariant(exports.Color.Green300, exports.Color.Green100, exports.Color.Green50, exports.Color.Green200),
2512
+ '&[data-color="white"]': textVariant(exports.Color.White, exports.Color.White50, exports.Color.White10, exports.Color.White50)
2513
+ },
2514
+ textPrimary: textVariant(exports.Color.Blue300, exports.Color.Blue100, exports.Color.Blue50, exports.Color.Blue200),
2515
+ textSizeSmall: {
2516
+ padding: undefined,
2517
+ fontSize: undefined
2518
+ },
2519
+ textSizeLarge: {
2520
+ padding: undefined,
2521
+ fontSize: undefined
2522
+ },
2523
+ outlined: {
2524
+ border: undefined,
2525
+ padding: undefined,
2526
+ '&$disabled': {
2527
+ border: undefined
2528
+ },
2529
+ '&[data-color="error"]': outlinedVariant(exports.Color.Red300, exports.Color.Red300, exports.Color.Red100, exports.Color.Red100, exports.Color.Red300, exports.Color.Red300, exports.Color.Red100, exports.Color.Red50, exports.Color.Red300, exports.Color.White),
2530
+ '&[data-color="success"]': outlinedVariant(exports.Color.Green300, exports.Color.Green300, exports.Color.Green100, exports.Color.Green100, exports.Color.Green300, exports.Color.Green300, exports.Color.Green100, exports.Color.Green50, exports.Color.Green300, exports.Color.White),
2531
+ '&[data-color="white"]': outlinedVariant(exports.Color.White, exports.Color.White50, exports.Color.White50, exports.Color.White40, exports.Color.White, exports.Color.White50, exports.Color.White40, exports.Color.White10, exports.Color.White50, exports.Color.Transparent)
2532
+ },
2533
+ outlinedPrimary: outlinedVariant(exports.Color.Dark500, exports.Color.Silver500, exports.Color.Silver500, exports.Color.Silver400, exports.Color.Blue300, exports.Color.Blue300, exports.Color.Blue100, exports.Color.Blue50, exports.Color.Dark200, exports.Color.White),
2534
+ outlinedSizeSmall: {
2535
+ padding: undefined,
2536
+ fontSize: undefined
2537
+ },
2538
+ outlinedSizeLarge: {
2539
+ padding: undefined,
2540
+ fontSize: undefined
2541
+ },
2542
+ contained: {
2543
+ boxShadow: undefined,
2544
+ backgroundColor: undefined,
2545
+ '&:hover': {
2546
+ boxShadow: undefined,
2547
+ backgroundColor: undefined,
2548
+ '&$disabled': {
2549
+ backgroundColor: undefined
2550
+ },
2551
+ '@media (hover: none)': {
2552
+ boxShadow: undefined,
2553
+ backgroundColor: undefined
2554
+ }
2494
2555
  },
2495
- sizeSmall: sizeSmall(theme),
2496
- sizeLarge: sizeLarge(theme),
2497
- text: {
2498
- padding: 'initial',
2499
- '&[data-color="error"]': textVariant(exports.Color.Red300, exports.Color.Red100, exports.Color.Red50, exports.Color.Red200),
2500
- '&[data-color="success"]': textVariant(exports.Color.Green300, exports.Color.Green100, exports.Color.Green50, exports.Color.Green200),
2501
- '&[data-color="white"]': textVariant(exports.Color.White, exports.Color.White50, exports.Color.White10, exports.Color.White50)
2556
+ '&:active': {
2557
+ boxShadow: undefined
2502
2558
  },
2503
- textPrimary: textVariant(exports.Color.Blue300, exports.Color.Blue100, exports.Color.Blue50, exports.Color.Blue200),
2504
- textSizeSmall: sizeSmall(theme),
2505
- textSizeLarge: sizeLarge(theme),
2506
- outlined: {
2507
- border: 'none',
2508
- padding: 'initial',
2509
- ["&.".concat(material.buttonClasses.disabled)]: {
2510
- border: 'none'
2511
- },
2512
- '&[data-color="error"]': outlinedVariant(exports.Color.Red300, exports.Color.Red300, exports.Color.Red100, exports.Color.Red100, exports.Color.Red300, exports.Color.Red300, exports.Color.Red100, exports.Color.Red50, exports.Color.Red300, exports.Color.White),
2513
- '&[data-color="success"]': outlinedVariant(exports.Color.Green300, exports.Color.Green300, exports.Color.Green100, exports.Color.Green100, exports.Color.Green300, exports.Color.Green300, exports.Color.Green100, exports.Color.Green50, exports.Color.Green300, exports.Color.White),
2514
- '&[data-color="white"]': outlinedVariant(exports.Color.White, exports.Color.White50, exports.Color.White50, exports.Color.White40, exports.Color.White, exports.Color.White50, exports.Color.White40, exports.Color.White10, exports.Color.White50, exports.Color.Transparent)
2559
+ '&$focusVisible': {
2560
+ boxShadow: undefined
2515
2561
  },
2516
- outlinedPrimary: outlinedVariant(exports.Color.Dark500, exports.Color.Silver500, exports.Color.Silver500, exports.Color.Silver400, exports.Color.Blue300, exports.Color.Blue300, exports.Color.Blue100, exports.Color.Blue50, exports.Color.Dark200, exports.Color.White),
2517
- outlinedSizeSmall: sizeSmall(theme),
2518
- outlinedSizeLarge: sizeLarge(theme),
2519
- contained: {
2520
- boxShadow: 'none',
2521
- backgroundColor: 'initial',
2522
- '&:hover': {
2523
- boxShadow: 'none',
2524
- backgroundColor: 'initial',
2525
- ["&.".concat(material.buttonClasses.disabled)]: {
2526
- backgroundColor: 'none'
2527
- },
2528
- '@media (hover: none)': {
2529
- boxShadow: 'none',
2530
- backgroundColor: 'none'
2531
- }
2532
- },
2533
- '&:active': {
2534
- boxShadow: 'none'
2535
- },
2536
- ["&.".concat(material.buttonClasses.focusVisible)]: {
2537
- boxShadow: 'none'
2538
- },
2539
- ["&.".concat(material.buttonClasses.disabled)]: {
2540
- color: 'initial',
2541
- boxShadow: 'none',
2542
- backgroundColor: 'initial'
2543
- },
2544
- '&[data-color="error"]': containedVariant(exports.Color.White, exports.Color.Red300, exports.Color.Red100, exports.Color.Red500, exports.Color.White, exports.Color.Red100),
2545
- '&[data-color="success"]': containedVariant(exports.Color.White, exports.Color.Green300, exports.Color.Green100, exports.Color.Green500, exports.Color.White, exports.Color.Green100),
2546
- '&[data-color="white"]': containedVariant(exports.Color.White, exports.Color.White20, exports.Color.White40, exports.Color.White40, exports.Color.White50, exports.Color.White08)
2562
+ '&$disabled': {
2563
+ color: undefined,
2564
+ boxShadow: undefined,
2565
+ backgroundColor: undefined
2547
2566
  },
2548
- containedPrimary: containedVariant(exports.Color.White, exports.Color.Blue300, exports.Color.Blue100, exports.Color.Blue500, exports.Color.White, exports.Color.Blue100),
2549
- containedSizeSmall: sizeSmall(theme),
2550
- containedSizeLarge: sizeLarge(theme)
2567
+ '&[data-color="error"]': containedVariant(exports.Color.White, exports.Color.Red300, exports.Color.Red100, exports.Color.Red500, exports.Color.White, exports.Color.Red100),
2568
+ '&[data-color="success"]': containedVariant(exports.Color.White, exports.Color.Green300, exports.Color.Green100, exports.Color.Green500, exports.Color.White, exports.Color.Green100),
2569
+ '&[data-color="white"]': containedVariant(exports.Color.White, exports.Color.White20, exports.Color.White40, exports.Color.White40, exports.Color.White50, exports.Color.White08)
2570
+ },
2571
+ containedPrimary: containedVariant(exports.Color.White, exports.Color.Blue300, exports.Color.Blue100, exports.Color.Blue500, exports.Color.White, exports.Color.Blue100),
2572
+ containedSizeSmall: {
2573
+ padding: undefined,
2574
+ fontSize: undefined
2575
+ },
2576
+ containedSizeLarge: {
2577
+ padding: undefined,
2578
+ fontSize: undefined
2551
2579
  }
2552
2580
  };
2553
2581
  }
2554
2582
 
2555
2583
  function overrideCard(theme) {
2556
- theme.components.MuiCard = {
2557
- defaultProps: {
2558
- variant: 'outlined'
2559
- }
2584
+ theme.props.MuiCard = {
2585
+ variant: 'outlined'
2560
2586
  };
2561
- theme.components.MuiCardContent = {
2562
- styleOverrides: {
2563
- root: {
2564
- '&:last-child': {
2565
- paddingBottom: '16px'
2566
- }
2587
+ theme.overrides.MuiCardContent = {
2588
+ root: {
2589
+ '&:last-child': {
2590
+ paddingBottom: undefined
2567
2591
  }
2568
2592
  }
2569
2593
  };
2570
2594
  }
2571
2595
 
2572
2596
  function overrideCheckbox(theme) {
2573
- theme.components.MuiCheckbox = {
2574
- defaultProps: {
2575
- color: 'primary',
2576
- icon: /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, {
2577
- children: /*#__PURE__*/jsxRuntime.jsx("rect", {
2578
- width: "17",
2579
- height: "17",
2580
- x: "3.5",
2581
- y: "3.5",
2582
- fill: exports.Color.White,
2583
- stroke: "currentColor",
2584
- rx: "1.5"
2585
- })
2586
- }),
2587
- checkedIcon: /*#__PURE__*/jsxRuntime.jsxs(material.SvgIcon, {
2588
- children: [/*#__PURE__*/jsxRuntime.jsx("rect", {
2589
- width: "18",
2590
- height: "18",
2591
- x: "3",
2592
- y: "3",
2593
- fill: "currentColor",
2594
- rx: "2"
2595
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
2596
- fill: exports.Color.White,
2597
- d: "M15.73 8l-.63.63c-1.43 1.43-2.94 3.05-4.37 4.5l-1.9-1.57-.7-.57L7 12.38l.7.57 2.53 2.09.63.52.58-.58c1.6-1.62 3.35-3.5 4.93-5.08l.63-.63L15.73 8z"
2598
- })]
2599
- }),
2600
- indeterminateIcon: /*#__PURE__*/jsxRuntime.jsxs(material.SvgIcon, {
2601
- children: [/*#__PURE__*/jsxRuntime.jsx("rect", {
2602
- width: "18",
2603
- height: "18",
2604
- x: "3",
2605
- y: "3",
2606
- fill: "currentIcon",
2607
- rx: "2"
2608
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
2609
- fill: exports.Color.White,
2610
- d: "M7 11h10v2H7v-2z"
2611
- })]
2597
+ theme.props.MuiCheckbox = {
2598
+ color: 'primary',
2599
+ icon: /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, {
2600
+ children: /*#__PURE__*/jsxRuntime.jsx("rect", {
2601
+ width: "17",
2602
+ height: "17",
2603
+ x: "3.5",
2604
+ y: "3.5",
2605
+ fill: exports.Color.White,
2606
+ stroke: "currentColor",
2607
+ rx: "1.5"
2612
2608
  })
2609
+ }),
2610
+ checkedIcon: /*#__PURE__*/jsxRuntime.jsxs(core.SvgIcon, {
2611
+ children: [/*#__PURE__*/jsxRuntime.jsx("rect", {
2612
+ width: "18",
2613
+ height: "18",
2614
+ x: "3",
2615
+ y: "3",
2616
+ fill: "currentColor",
2617
+ rx: "2"
2618
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
2619
+ fill: exports.Color.White,
2620
+ d: "M15.73 8l-.63.63c-1.43 1.43-2.94 3.05-4.37 4.5l-1.9-1.57-.7-.57L7 12.38l.7.57 2.53 2.09.63.52.58-.58c1.6-1.62 3.35-3.5 4.93-5.08l.63-.63L15.73 8z"
2621
+ })]
2622
+ }),
2623
+ indeterminateIcon: /*#__PURE__*/jsxRuntime.jsxs(core.SvgIcon, {
2624
+ children: [/*#__PURE__*/jsxRuntime.jsx("rect", {
2625
+ width: "18",
2626
+ height: "18",
2627
+ x: "3",
2628
+ y: "3",
2629
+ fill: "currentIcon",
2630
+ rx: "2"
2631
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
2632
+ fill: exports.Color.White,
2633
+ d: "M7 11h10v2H7v-2z"
2634
+ })]
2635
+ })
2636
+ };
2637
+ theme.overrides.MuiCheckbox = {
2638
+ root: {
2639
+ color: exports.Color.Dark100,
2640
+ marginTop: theme.spacing(-0.625),
2641
+ marginBottom: theme.spacing(-0.625)
2613
2642
  },
2614
- styleOverrides: {
2615
- root: {
2616
- color: exports.Color.Dark100,
2617
- marginTop: theme.spacing(-0.625),
2618
- marginBottom: theme.spacing(-0.625)
2619
- },
2620
- indeterminate: {
2621
- ["&:not(.".concat(material.checkboxClasses.checked, ")")]: {
2622
- color: exports.Color.Dark100
2623
- },
2624
- ["&.".concat(material.checkboxClasses.disabled)]: {
2625
- color: exports.Color.Silver400
2626
- }
2643
+ colorPrimary: {
2644
+ '&$checked$disabled': {
2645
+ color: exports.Color.Silver500
2627
2646
  },
2628
- colorPrimary: {
2629
- ["&.".concat(material.checkboxClasses.checked, ".").concat(material.checkboxClasses.disabled)]: {
2630
- color: exports.Color.Silver500
2631
- },
2632
- ["&:hover:not(.".concat(material.checkboxClasses.checked, ")")]: {
2633
- color: exports.Color.Dark100
2634
- }
2647
+ '&:hover:not($checked)': {
2648
+ color: exports.Color.Dark100
2635
2649
  }
2636
2650
  }
2637
2651
  };
@@ -2639,223 +2653,197 @@ function overrideCheckbox(theme) {
2639
2653
 
2640
2654
  function overrideChip(theme) {
2641
2655
  var sm = theme.breakpoints.up('sm');
2642
- theme.components.MuiChip = {
2643
- defaultProps: {
2644
- size: 'small',
2645
- deleteIcon: /*#__PURE__*/jsxRuntime.jsx("div", {
2646
- children: /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, {
2647
- children: /*#__PURE__*/jsxRuntime.jsx("path", {
2648
- fillRule: "evenodd",
2649
- clipRule: "evenodd",
2650
- d: "M13.239 12L17 8.239 15.761 7 12 10.761 8.239 7 7 8.239 10.761 12 7 15.761 8.239 17 12 13.239 15.761 17 17 15.761 13.239 12z",
2651
- fill: "currentColor"
2652
- })
2656
+ theme.props.MuiChip = {
2657
+ size: 'small',
2658
+ deleteIcon: /*#__PURE__*/jsxRuntime.jsx("div", {
2659
+ children: /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, {
2660
+ children: /*#__PURE__*/jsxRuntime.jsx("path", {
2661
+ fillRule: "evenodd",
2662
+ clipRule: "evenodd",
2663
+ d: "M13.239 12L17 8.239 15.761 7 12 10.761 8.239 7 7 8.239 10.761 12 7 15.761 8.239 17 12 13.239 15.761 17 17 15.761 13.239 12z",
2664
+ fill: "currentColor"
2653
2665
  })
2654
2666
  })
2667
+ })
2668
+ };
2669
+ theme.overrides.MuiChip = {
2670
+ root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
2671
+ color: undefined,
2672
+ height: undefined,
2673
+ borderRadius: 4,
2674
+ backgroundColor: exports.Color.Silver200,
2675
+ '&$disabled': {
2676
+ opacity: undefined,
2677
+ color: exports.Color.Dark100
2678
+ }
2679
+ }),
2680
+ sizeSmall: {
2681
+ height: undefined
2655
2682
  },
2656
- styleOverrides: {
2657
- root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
2658
- color: 'unset',
2659
- height: 'unset',
2660
- borderRadius: 4,
2661
- backgroundColor: exports.Color.Silver200,
2662
- ["&.".concat(material.chipClasses.disabled)]: {
2663
- opacity: 1,
2664
- color: exports.Color.Dark100
2665
- }
2666
- }),
2667
- sizeSmall: {
2668
- height: 'unset'
2669
- },
2670
- labelSmall: {
2671
- paddingLeft: 6,
2672
- paddingRight: 6,
2673
- [sm]: {
2674
- paddingLeft: 4,
2675
- paddingRight: 4
2676
- }
2683
+ labelSmall: {
2684
+ paddingLeft: 6,
2685
+ paddingRight: 6,
2686
+ [sm]: {
2687
+ paddingLeft: 4,
2688
+ paddingRight: 4
2689
+ }
2690
+ },
2691
+ clickable: {
2692
+ '&:hover, &:focus': {
2693
+ backgroundColor: undefined
2677
2694
  },
2678
- clickable: {
2679
- '&:hover, &:focus': {
2680
- backgroundColor: exports.Color.Silver200
2681
- },
2682
- '&:active': {
2683
- boxShadow: 'unset'
2684
- },
2685
- '&:focus': {
2686
- boxShadow: "0 0 0 2px ".concat(exports.Color.Silver300)
2687
- },
2688
- '&:active, &:hover': {
2689
- backgroundColor: exports.Color.Silver300
2690
- }
2695
+ '&:active': {
2696
+ boxShadow: undefined
2691
2697
  },
2692
- deletable: {
2693
- '&:focus': {
2694
- backgroundColor: exports.Color.Silver200,
2695
- boxShadow: "0 0 0 2px ".concat(exports.Color.Silver300)
2696
- }
2698
+ '&:focus': {
2699
+ boxShadow: "0 0 0 2px ".concat(exports.Color.Silver300)
2697
2700
  },
2698
- deleteIcon: {
2699
- width: 'unset',
2700
- height: 'unset',
2701
- display: 'flex',
2702
- fontSize: 14,
2703
- transition: theme.transitions.create('background-color'),
2704
- '&:active, &:hover, &:focus': {
2705
- '& > svg': {
2706
- backgroundColor: exports.Color.Silver400
2707
- }
2708
- },
2701
+ '&:active, &:hover': {
2702
+ backgroundColor: exports.Color.Silver300
2703
+ }
2704
+ },
2705
+ deletable: {
2706
+ '&:focus': {
2707
+ backgroundColor: undefined,
2708
+ boxShadow: "0 0 0 2px ".concat(exports.Color.Silver300)
2709
+ }
2710
+ },
2711
+ deleteIcon: {
2712
+ width: undefined,
2713
+ height: undefined,
2714
+ display: 'flex',
2715
+ transition: theme.transitions.create('background-color'),
2716
+ '&:active, &:hover, &:focus': {
2709
2717
  '& > svg': {
2710
- borderRadius: '50%',
2711
- color: exports.Color.Dark200,
2712
- fontSize: '1em'
2713
- }
2714
- },
2715
- deleteIconSmall: {
2716
- width: 'unset',
2717
- height: 'unset',
2718
- padding: theme.spacing(0.5),
2719
- marginLeft: theme.spacing(-0.5),
2720
- marginRight: theme.spacing(0.25),
2721
- [sm]: {
2722
- marginRight: 0
2718
+ backgroundColor: exports.Color.Silver400
2723
2719
  }
2724
2720
  },
2725
- icon: {
2726
- color: exports.Color.Dark100,
2727
- fontSize: '1em',
2728
- marginRight: 'unset'
2729
- },
2730
- iconSmall: {
2731
- width: 'unset',
2732
- height: 'unset',
2733
- marginLeft: 8,
2734
- marginRight: 'unset',
2735
- [sm]: {
2736
- marginLeft: 4
2737
- }
2721
+ '& > svg': {
2722
+ borderRadius: '50%',
2723
+ color: exports.Color.Dark200,
2724
+ fontSize: '1em'
2725
+ }
2726
+ },
2727
+ deleteIconSmall: {
2728
+ width: undefined,
2729
+ height: undefined,
2730
+ padding: theme.spacing(0.5),
2731
+ marginLeft: theme.spacing(-0.5),
2732
+ marginRight: theme.spacing(0.25),
2733
+ [sm]: {
2734
+ marginRight: 0
2735
+ }
2736
+ },
2737
+ icon: {
2738
+ color: exports.Color.Dark100,
2739
+ fontSize: '1em',
2740
+ marginRight: undefined
2741
+ },
2742
+ iconSmall: {
2743
+ width: undefined,
2744
+ height: undefined,
2745
+ marginLeft: 8,
2746
+ marginRight: undefined,
2747
+ [sm]: {
2748
+ marginLeft: 4
2738
2749
  }
2739
2750
  }
2740
2751
  };
2741
2752
  }
2742
2753
 
2743
2754
  function overrideDialog(theme) {
2744
- theme.components.MuiDialog = {
2745
- styleOverrides: {
2746
- paper: {
2747
- margin: theme.spacing(3)
2748
- },
2749
- paperWidthXs: {
2750
- maxWidth: Math.max(theme.breakpoints.values.xs, 360),
2751
- ["&.".concat(material.dialogClasses.paperScrollBody)]: {
2752
- [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 360) + 32 * 2)]: {
2753
- maxWidth: 'calc(100% - 64px)'
2754
- }
2755
+ theme.props.MuiDialogTitle = {
2756
+ disableTypography: true
2757
+ };
2758
+ theme.overrides.MuiDialog = {
2759
+ paper: {
2760
+ margin: theme.spacing(3)
2761
+ },
2762
+ paperWidthXs: {
2763
+ maxWidth: Math.max(theme.breakpoints.values.xs, 360),
2764
+ '&$paperScrollBody': {
2765
+ [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 360) + 32 * 2)]: {
2766
+ maxWidth: 'calc(100% - 64px)'
2755
2767
  }
2756
2768
  }
2757
2769
  }
2758
2770
  };
2759
- theme.components.MuiDialogTitle = {
2760
- defaultProps: {
2761
- // @ts-expect-error DialogTitleProps has missing type def
2762
- variant: 'h3'
2763
- }
2771
+ theme.overrides.MuiDialogTitle = {
2772
+ root: _objectSpread({}, theme.typography.h3)
2764
2773
  };
2765
- theme.components.MuiDialogContent = {
2766
- styleOverrides: {
2767
- root: {
2768
- padding: theme.spacing(0, 3)
2769
- }
2774
+ theme.overrides.MuiDialogContent = {
2775
+ root: {
2776
+ padding: theme.spacing(0, 3)
2770
2777
  }
2771
2778
  };
2772
- theme.components.MuiDialogActions = {
2773
- styleOverrides: {
2774
- root: {
2775
- padding: theme.spacing(3)
2776
- },
2777
- spacing: {
2778
- '& > :not(:first-child)': {
2779
- marginLeft: theme.spacing(2)
2780
- }
2779
+ theme.overrides.MuiDialogActions = {
2780
+ root: {
2781
+ padding: theme.spacing(3)
2782
+ },
2783
+ spacing: {
2784
+ '& > :not(:first-child)': {
2785
+ marginLeft: theme.spacing(2)
2781
2786
  }
2782
2787
  }
2783
2788
  };
2784
2789
  }
2785
2790
 
2786
2791
  function overrideDrawer(theme) {
2787
- theme.components.MuiDrawer = {
2788
- defaultProps: {
2789
- anchor: 'right'
2790
- },
2791
- styleOverrides: {
2792
- paper: {
2793
- maxWidth: '100%',
2794
- minWidth: '100%',
2795
- [theme.breakpoints.up('sm')]: {
2796
- minWidth: theme.spacing(54),
2797
- maxWidth: theme.breakpoints.values.sm
2798
- }
2792
+ theme.props.MuiDrawer = {
2793
+ anchor: 'right'
2794
+ };
2795
+ theme.overrides.MuiDrawer = {
2796
+ paper: {
2797
+ maxWidth: '100%',
2798
+ minWidth: '100%',
2799
+ [theme.breakpoints.up('sm')]: {
2800
+ minWidth: theme.spacing(54),
2801
+ maxWidth: theme.breakpoints.values.sm
2799
2802
  }
2800
2803
  }
2801
2804
  };
2802
2805
  }
2803
2806
 
2804
2807
  function overrideIconButton(theme) {
2805
- theme.components.MuiIconButton = {
2806
- styleOverrides: {
2807
- root: {
2808
- // no selector for default color
2809
- ["&:not(.".concat(material.iconButtonClasses.colorInherit, "):not(.").concat(material.iconButtonClasses.colorPrimary, "):not(.").concat(material.iconButtonClasses.colorSecondary, "):not(.").concat(material.iconButtonClasses.disabled, ")")]: {
2810
- color: exports.Color.Dark100
2811
- },
2812
- backgroundColor: exports.Color.Transparent,
2813
- transition: theme.transitions.create(['color', 'background-color'], {
2814
- duration: theme.transitions.duration.short
2815
- }),
2816
- '&:hover': {
2817
- backgroundColor: exports.Color.Transparent
2818
- },
2819
- '&:active': {
2820
- color: exports.Color.Dark500
2821
- },
2822
- '&:hover ': {
2823
- color: exports.Color.Dark300
2824
- },
2825
- '&:focus': {
2826
- backgroundColor: exports.Color.Silver400
2827
- },
2828
- ["&.".concat(material.iconButtonClasses.disabled)]: {
2829
- color: exports.Color.Silver500
2830
- }
2808
+ theme.overrides.MuiIconButton = {
2809
+ root: {
2810
+ color: exports.Color.Dark100,
2811
+ backgroundColor: exports.Color.Transparent,
2812
+ transition: theme.transitions.create(['color', 'background-color'], {
2813
+ duration: theme.transitions.duration.short
2814
+ }),
2815
+ '&:hover': {
2816
+ backgroundColor: exports.Color.Transparent
2831
2817
  },
2832
- colorPrimary: {
2833
- '&:active': {
2834
- color: exports.Color.Blue500
2835
- },
2836
- '&:hover ': {
2837
- color: exports.Color.Blue300
2838
- },
2839
- '&:focus': {
2840
- backgroundColor: exports.Color.Blue50
2841
- }
2818
+ '&:active': {
2819
+ color: exports.Color.Dark500
2842
2820
  },
2843
- edgeEnd: {
2844
- marginRight: theme.spacing(-1)
2821
+ '&:hover ': {
2822
+ color: exports.Color.Dark300
2845
2823
  },
2846
- edgeStart: {
2847
- marginLeft: theme.spacing(-1)
2824
+ '&:focus': {
2825
+ backgroundColor: exports.Color.Silver400
2848
2826
  },
2849
- sizeSmall: {
2850
- padding: 3,
2851
- fontSize: theme.typography.pxToRem(18)
2827
+ '&$disabled': {
2828
+ color: exports.Color.Silver500
2829
+ }
2830
+ },
2831
+ colorPrimary: {
2832
+ '&:active': {
2833
+ color: exports.Color.Blue500
2852
2834
  },
2853
- sizeMedium: {
2854
- padding: 12,
2855
- fontSize: theme.typography.pxToRem(24)
2835
+ '&:hover ': {
2836
+ color: exports.Color.Blue300
2856
2837
  },
2857
- sizeLarge: {// todo declare large size
2838
+ '&:focus': {
2839
+ backgroundColor: exports.Color.Blue50
2858
2840
  }
2841
+ },
2842
+ edgeEnd: {
2843
+ marginRight: theme.spacing(-1)
2844
+ },
2845
+ edgeStart: {
2846
+ marginLeft: theme.spacing(-1)
2859
2847
  }
2860
2848
  };
2861
2849
  }
@@ -2865,389 +2853,350 @@ function line(color) {
2865
2853
  }
2866
2854
 
2867
2855
  function overrideLink(theme) {
2868
- theme.components.MuiLink = {
2869
- defaultProps: {
2870
- underline: 'none',
2871
- color: 'textPrimary'
2872
- },
2873
- styleOverrides: {
2874
- root: {
2875
- backgroundSize: '100% 1px',
2876
- backgroundRepeat: 'repeat-x',
2877
- backgroundPosition: '0 100%',
2878
- backgroundColor: exports.Color.Transparent,
2879
- '&:focus': {
2880
- outline: 'none'
2881
- },
2882
- '&:hover, &:active': {
2883
- backgroundImage: line('currentColor')
2884
- }
2856
+ theme.props.MuiLink = {
2857
+ underline: 'none',
2858
+ color: 'textPrimary'
2859
+ };
2860
+ theme.overrides.MuiLink = {
2861
+ root: {
2862
+ backgroundSize: '100% 1px',
2863
+ backgroundRepeat: 'repeat-x',
2864
+ backgroundPosition: '0 100%',
2865
+ backgroundColor: exports.Color.Transparent,
2866
+ '&:focus': {
2867
+ outline: 'none'
2868
+ },
2869
+ '&:hover, &:active': {
2870
+ backgroundImage: line('currentColor')
2885
2871
  },
2886
- // @ts-expect-error type def need in patch-package
2887
- colorTextPrimary: {
2872
+ '&.MuiTypography-colorTextPrimary': {
2888
2873
  backgroundImage: line(exports.Color.Silver500),
2889
2874
  '&:focus, &:hover, &:active': {
2890
2875
  color: exports.Color.Blue300,
2891
2876
  backgroundImage: line(exports.Color.Blue300)
2892
2877
  }
2893
- },
2894
- button: {
2895
- // Reset button styles.
2896
- backgroundColor: 'unset',
2897
- // Override browser defaults.
2898
- fontSize: 'inherit',
2899
- textAlign: 'inherit',
2900
- lineHeight: 'inherit',
2901
- userSelect: 'inherit',
2902
- verticalAlign: 'inherit'
2903
2878
  }
2879
+ },
2880
+ button: {
2881
+ // Reset button styles.
2882
+ backgroundColor: undefined,
2883
+ // Override browser defaults.
2884
+ fontSize: 'inherit',
2885
+ textAlign: 'inherit',
2886
+ lineHeight: 'inherit',
2887
+ userSelect: 'inherit',
2888
+ verticalAlign: 'inherit'
2904
2889
  }
2905
2890
  };
2906
2891
  }
2907
2892
 
2908
2893
  function overrideList(theme) {
2909
- theme.components.MuiListItem = {
2910
- styleOverrides: {
2911
- root: {
2912
- ["&.".concat(material.listItemClasses.selected, ", &.").concat(material.listItemClasses.selected, ":hover")]: {
2913
- backgroundColor: exports.Color.Blue50
2914
- },
2915
- '& .MuiTouchRipple-root': {
2916
- color: exports.Color.Blue100
2917
- }
2894
+ theme.overrides.MuiListItem = {
2895
+ root: {
2896
+ '&$selected, &$selected:hover': {
2897
+ backgroundColor: exports.Color.Blue50
2898
+ },
2899
+ '& .MuiTouchRipple-root': {
2900
+ color: exports.Color.Blue100
2918
2901
  }
2919
2902
  }
2920
2903
  };
2921
2904
  }
2922
2905
 
2923
2906
  function overrideMenu(theme) {
2924
- theme.components.MuiMenu = {
2925
- defaultProps: {
2926
- anchorOrigin: {
2927
- vertical: 'bottom',
2928
- horizontal: 'left'
2929
- },
2930
- transformOrigin: {
2931
- vertical: 'top',
2932
- horizontal: 'left'
2933
- }
2907
+ theme.props.MuiMenu = {
2908
+ getContentAnchorEl: null,
2909
+ anchorOrigin: {
2910
+ vertical: 'bottom',
2911
+ horizontal: 'left'
2912
+ },
2913
+ transformOrigin: {
2914
+ vertical: 'top',
2915
+ horizontal: 'left'
2934
2916
  }
2935
2917
  };
2936
- theme.components.MuiMenuItem = {
2937
- styleOverrides: {
2938
- root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
2939
- paddingTop: theme.spacing(1),
2940
- paddingBottom: theme.spacing(1),
2941
- '& .MuiTouchRipple-root': {
2942
- color: exports.Color.Blue100
2943
- },
2944
- ["&.".concat(material.menuItemClasses.selected, ", &.").concat(material.menuItemClasses.selected, ":hover")]: {
2945
- backgroundColor: exports.Color.Blue50,
2946
- ["&.".concat(material.menuItemClasses.focusVisible)]: {
2947
- backgroundColor: exports.Color.Blue50
2948
- }
2949
- }
2950
- })
2951
- }
2918
+ theme.overrides.MuiMenuItem = {
2919
+ root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
2920
+ paddingTop: theme.spacing(1),
2921
+ paddingBottom: theme.spacing(1)
2922
+ })
2952
2923
  };
2953
2924
  }
2954
2925
 
2955
2926
  function overridePagination(theme) {
2956
- theme.components.MuiPaginationItem = {
2957
- styleOverrides: {
2958
- root: {
2959
- color: exports.Color.Dark400
2927
+ var props = {};
2928
+ var overrides = {
2929
+ root: {
2930
+ color: exports.Color.Dark400
2931
+ },
2932
+ page: {
2933
+ '&:hover': {
2934
+ backgroundColor: exports.Color.Silver200
2960
2935
  },
2961
- page: {
2962
- '&:hover': {
2963
- backgroundColor: exports.Color.Silver200
2964
- },
2965
- ["&.".concat(material.paginationItemClasses.focusVisible)]: {
2966
- borderRadius: 4,
2967
- backgroundColor: exports.Color.White,
2968
- border: "1px solid ".concat(exports.Color.Blue100)
2969
- },
2970
- ["&.".concat(material.paginationItemClasses.selected)]: {
2971
- backgroundColor: exports.Color.Silver400,
2972
- ["&:hover, &.".concat(material.paginationItemClasses.focusVisible)]: {
2973
- backgroundColor: exports.Color.Silver400
2974
- },
2975
- ["&.".concat(material.paginationItemClasses.disabled)]: {
2976
- color: exports.Color.Dark100,
2977
- backgroundColor: exports.Color.Silver400
2978
- }
2936
+ '&$focusVisible': {
2937
+ borderRadius: 4,
2938
+ backgroundColor: exports.Color.White,
2939
+ border: "1px solid ".concat(exports.Color.Blue100)
2940
+ },
2941
+ '&$selected': {
2942
+ backgroundColor: exports.Color.Silver400,
2943
+ '&:hover, &$focusVisible': {
2944
+ backgroundColor: exports.Color.Silver400
2979
2945
  },
2980
- ["&.".concat(material.paginationItemClasses.disabled)]: {
2981
- opacity: 1,
2982
- color: exports.Color.Dark100
2946
+ '&$disabled': {
2947
+ color: exports.Color.Dark100,
2948
+ backgroundColor: exports.Color.Silver400
2983
2949
  }
2950
+ },
2951
+ '&$disabled': {
2952
+ opacity: undefined,
2953
+ color: exports.Color.Dark100
2984
2954
  }
2985
2955
  }
2986
- };
2956
+ }; // Remove `Object.assign` after official release of `PaginationItem`.
2957
+
2958
+ Object.assign(theme.props, {
2959
+ MuiPaginationItem: props
2960
+ });
2961
+ Object.assign(theme.overrides, {
2962
+ MuiPaginationItem: overrides
2963
+ });
2987
2964
  }
2988
2965
 
2989
2966
  function overridePaper(theme) {
2990
- theme.components.MuiPaper = {
2991
- defaultProps: {
2992
- elevation: 0
2993
- },
2994
- styleOverrides: {
2995
- elevation0: {
2996
- border: "1px solid ".concat(exports.Color.Silver400)
2997
- }
2967
+ theme.props.MuiPaper = {
2968
+ elevation: 0
2969
+ };
2970
+ theme.overrides.MuiPaper = {
2971
+ elevation0: {
2972
+ border: "1px solid ".concat(exports.Color.Silver400)
2998
2973
  }
2999
2974
  };
3000
2975
  }
3001
2976
 
3002
2977
  function overrideRadio(theme) {
3003
- theme.components.MuiRadio = {
3004
- defaultProps: {
3005
- color: 'primary',
3006
- icon: /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, {
3007
- children: /*#__PURE__*/jsxRuntime.jsx("circle", {
3008
- cx: "12",
3009
- cy: "12",
3010
- r: "8.5",
3011
- fill: exports.Color.White,
3012
- stroke: "currentColor"
3013
- })
3014
- }),
3015
- checkedIcon: /*#__PURE__*/jsxRuntime.jsxs(material.SvgIcon, {
3016
- children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
3017
- cx: "12",
3018
- cy: "12",
3019
- r: "8.5",
3020
- fill: "currentColor",
3021
- stroke: "currentColor"
3022
- }), /*#__PURE__*/jsxRuntime.jsx("circle", {
3023
- cx: "12",
3024
- cy: "12",
3025
- r: "4",
3026
- fill: exports.Color.White
3027
- })]
2978
+ theme.props.MuiRadio = {
2979
+ color: 'primary',
2980
+ icon: /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, {
2981
+ children: /*#__PURE__*/jsxRuntime.jsx("circle", {
2982
+ cx: "12",
2983
+ cy: "12",
2984
+ r: "8.5",
2985
+ fill: exports.Color.White,
2986
+ stroke: "currentColor"
3028
2987
  })
2988
+ }),
2989
+ checkedIcon: /*#__PURE__*/jsxRuntime.jsxs(core.SvgIcon, {
2990
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
2991
+ cx: "12",
2992
+ cy: "12",
2993
+ r: "8.5",
2994
+ fill: "currentColor",
2995
+ stroke: "currentColor"
2996
+ }), /*#__PURE__*/jsxRuntime.jsx("circle", {
2997
+ cx: "12",
2998
+ cy: "12",
2999
+ r: "4",
3000
+ fill: exports.Color.White
3001
+ })]
3002
+ })
3003
+ };
3004
+ theme.overrides.MuiRadio = {
3005
+ root: {
3006
+ color: exports.Color.Dark100,
3007
+ marginTop: theme.spacing(-0.625),
3008
+ marginBottom: theme.spacing(-0.625)
3029
3009
  },
3030
- styleOverrides: {
3031
- root: {
3032
- color: exports.Color.Dark100,
3033
- marginTop: theme.spacing(-0.625),
3034
- marginBottom: theme.spacing(-0.625)
3010
+ colorPrimary: {
3011
+ '&$checked$disabled': {
3012
+ color: exports.Color.Silver500
3035
3013
  },
3036
- colorPrimary: {
3037
- ["&.".concat(material.radioClasses.disabled, ".").concat(material.radioClasses.checked)]: {
3038
- color: exports.Color.Silver500
3039
- },
3040
- ["&:hover:not(.".concat(material.radioClasses.checked, ")")]: {
3041
- color: exports.Color.Dark100
3042
- }
3014
+ '&:hover:not($checked)': {
3015
+ color: exports.Color.Dark100
3043
3016
  }
3044
3017
  }
3045
3018
  };
3046
3019
  }
3047
3020
 
3048
3021
  function overrideSnackbar(theme) {
3049
- theme.components.MuiSnackbar = {
3050
- defaultProps: {
3051
- anchorOrigin: {
3052
- vertical: 'bottom',
3053
- horizontal: 'center'
3054
- }
3055
- },
3056
- styleOverrides: {
3057
- anchorOriginBottomCenter: {
3058
- left: 0,
3059
- right: 0,
3060
- bottom: 0
3061
- }
3022
+ theme.overrides.MuiSnackbar = {
3023
+ anchorOriginBottomCenter: {
3024
+ left: 0,
3025
+ right: 0,
3026
+ bottom: 0
3062
3027
  }
3063
3028
  };
3064
- theme.components.MuiSnackbarContent = {
3065
- styleOverrides: {
3066
- root: {
3067
- width: '100%',
3068
- borderRadius: 0,
3069
- minHeight: theme.spacing(7.5),
3070
- [theme.breakpoints.up('sm')]: {
3071
- width: theme.spacing(54),
3072
- maxWidth: theme.spacing(54),
3073
- borderRadius: theme.spacing(0.5)
3074
- }
3075
- },
3076
- message: {
3077
- flex: 1,
3078
- display: 'flex'
3029
+ theme.overrides.MuiSnackbarContent = {
3030
+ root: {
3031
+ width: '100%',
3032
+ borderRadius: 0,
3033
+ minHeight: theme.spacing(7.5),
3034
+ [theme.breakpoints.up('sm')]: {
3035
+ width: theme.spacing(54),
3036
+ maxWidth: theme.spacing(54),
3037
+ borderRadius: theme.spacing(0.5)
3079
3038
  }
3039
+ },
3040
+ message: {
3041
+ flex: 1,
3042
+ display: 'flex'
3080
3043
  }
3081
3044
  };
3082
3045
  }
3083
3046
 
3084
3047
  function overrideSvgIcon(theme) {
3085
3048
  var sm = theme.breakpoints.up('sm');
3086
- theme.components.MuiSvgIcon = {
3087
- styleOverrides: {
3088
- root: {
3089
- display: 'inherit',
3090
- fontSize: 'var(--mui-svg-icon-size, 32px)',
3091
- [sm]: {
3092
- fontSize: 'var(--mui-svg-icon-size, 24px)'
3093
- }
3094
- },
3095
- fontSizeInherit: {
3096
- fontSize: 'inherit',
3097
- [sm]: {
3098
- fontSize: 'inherit'
3099
- }
3100
- },
3101
- fontSizeSmall: {
3102
- fontSize: 'var(--mui-svg-icon-size, 24px)',
3103
- [sm]: {
3104
- fontSize: 'var(--mui-svg-icon-size, 16px)'
3105
- }
3106
- },
3107
- fontSizeLarge: {
3108
- '&': {
3109
- fontSize: 'var(--mui-svg-icon-size, 32px)'
3110
- }
3111
- },
3112
- colorAction: {
3113
- color: exports.Color.Dark100
3049
+ theme.overrides.MuiSvgIcon = {
3050
+ root: {
3051
+ display: 'inherit',
3052
+ fontSize: 'var(--mui-svg-icon-size, 32px)',
3053
+ [sm]: {
3054
+ fontSize: 'var(--mui-svg-icon-size, 24px)'
3055
+ }
3056
+ },
3057
+ fontSizeSmall: {
3058
+ fontSize: 'var(--mui-svg-icon-size, 24px)',
3059
+ [sm]: {
3060
+ fontSize: 'var(--mui-svg-icon-size, 16px)'
3114
3061
  }
3062
+ },
3063
+ fontSizeLarge: {
3064
+ fontSize: 'var(--mui-svg-icon-size, 32px)'
3065
+ },
3066
+ colorAction: {
3067
+ color: exports.Color.Dark100
3115
3068
  }
3116
3069
  };
3117
3070
  }
3118
3071
 
3119
3072
  function overrideSwitch(theme) {
3120
3073
  var sm = theme.breakpoints.up('sm');
3121
- theme.components.MuiSwitch = {
3122
- defaultProps: {
3123
- color: 'primary',
3124
- disableRipple: true,
3125
- disableFocusRipple: true
3126
- },
3127
- styleOverrides: {
3128
- root: {
3129
- width: theme.spacing(9.5),
3130
- height: theme.spacing(5.5),
3131
- padding: theme.spacing(0.75, 1.5),
3132
- [sm]: {
3133
- width: theme.spacing(8),
3134
- height: theme.spacing(4),
3135
- padding: theme.spacing(0.5, 1.5)
3136
- }
3074
+ theme.props.MuiSwitch = {
3075
+ color: 'primary',
3076
+ disableRipple: true,
3077
+ disableFocusRipple: true
3078
+ };
3079
+ theme.overrides.MuiSwitch = {
3080
+ root: {
3081
+ width: theme.spacing(9.5),
3082
+ height: theme.spacing(5.5),
3083
+ padding: theme.spacing(0.75, 1.5),
3084
+ [sm]: {
3085
+ width: theme.spacing(8),
3086
+ height: theme.spacing(4),
3087
+ padding: theme.spacing(0.5, 1.5)
3088
+ }
3089
+ },
3090
+ track: {
3091
+ opacity: undefined,
3092
+ boxShadow: "0 0 0 0 ".concat(exports.Color.Transparent),
3093
+ transition: theme.transitions.create(['box-shadow', 'background-color'], {
3094
+ duration: theme.transitions.duration.shortest
3095
+ }),
3096
+ borderRadius: theme.spacing(2),
3097
+ [sm]: {
3098
+ borderRadius: theme.spacing(1.625)
3099
+ }
3100
+ },
3101
+ thumb: {
3102
+ color: exports.Color.White,
3103
+ boxShadow: undefined,
3104
+ width: theme.spacing(3),
3105
+ height: theme.spacing(3),
3106
+ [sm]: {
3107
+ width: theme.spacing(2),
3108
+ height: theme.spacing(2)
3109
+ }
3110
+ },
3111
+ switchBase: {
3112
+ left: theme.spacing(1),
3113
+ padding: theme.spacing(1.25, 1),
3114
+ [sm]: {
3115
+ padding: theme.spacing(1)
3137
3116
  },
3138
- track: {
3139
- opacity: 1,
3140
- boxShadow: "0 0 0 0 ".concat(exports.Color.Transparent),
3141
- transition: theme.transitions.create(['box-shadow', 'background-color'], {
3142
- duration: theme.transitions.duration.shortest
3143
- }),
3144
- borderRadius: theme.spacing(2),
3117
+ '&$checked': {
3118
+ transform: "translateX(".concat(theme.spacing(2.5), "px)"),
3145
3119
  [sm]: {
3146
- borderRadius: theme.spacing(1.625)
3120
+ transform: "translateX(".concat(theme.spacing(2), "px)")
3147
3121
  }
3148
3122
  },
3149
- thumb: {
3150
- color: exports.Color.White,
3151
- boxShadow: 'none',
3152
- width: theme.spacing(3),
3153
- height: theme.spacing(3),
3154
- [sm]: {
3155
- width: theme.spacing(2),
3156
- height: theme.spacing(2)
3157
- }
3123
+ '&$checked + $track': {
3124
+ opacity: undefined
3158
3125
  },
3159
- switchBase: {
3160
- left: theme.spacing(1),
3161
- padding: theme.spacing(1.25, 1),
3162
- [sm]: {
3163
- padding: theme.spacing(1)
3164
- },
3165
- ["&.".concat(material.switchClasses.checked)]: {
3166
- transform: "translateX(".concat(theme.spacing(2.5), ")"),
3167
- [sm]: {
3168
- transform: "translateX(".concat(theme.spacing(2), ")")
3126
+ '&$disabled + $track': {
3127
+ opacity: undefined
3128
+ }
3129
+ },
3130
+ colorPrimary: {
3131
+ '&$checked': {
3132
+ color: undefined,
3133
+ '&:hover': {
3134
+ backgroundColor: undefined,
3135
+ '& + $track': {
3136
+ backgroundColor: exports.Color.Blue400
3169
3137
  }
3170
- },
3171
- ["&.".concat(material.switchClasses.checked, " + .").concat(material.switchClasses.track)]: {
3172
- opacity: 1
3173
- },
3174
- ["&.".concat(material.switchClasses.disabled, " + .").concat(material.switchClasses.track)]: {
3175
- opacity: 1
3176
3138
  }
3177
3139
  },
3178
- colorPrimary: {
3179
- ["&.".concat(material.switchClasses.checked)]: {
3180
- '&:hover': {
3181
- ["& + .".concat(material.switchClasses.track)]: {
3182
- backgroundColor: exports.Color.Blue400
3183
- }
3184
- }
3185
- },
3186
- ["& + .".concat(material.switchClasses.track)]: {
3187
- backgroundColor: exports.Color.Silver500
3188
- },
3189
- ["&.".concat(material.switchClasses.disabled, " + .").concat(material.switchClasses.track)]: {
3190
- backgroundColor: exports.Color.Silver300
3191
- },
3192
- ["&.".concat(material.switchClasses.checked, ".").concat(material.switchClasses.disabled, " + .").concat(material.switchClasses.track)]: {
3193
- backgroundColor: exports.Color.Blue100
3194
- },
3195
- ["&:hover + .".concat(material.switchClasses.track)]: {
3196
- backgroundColor: exports.Color.Dark100
3197
- },
3198
- ["&.Mui-focusVisible + .".concat(material.switchClasses.track)]: {
3199
- boxShadow: "0 0 0 3px ".concat(exports.Color.Blue100)
3200
- }
3140
+ '& + $track': {
3141
+ backgroundColor: exports.Color.Silver500
3142
+ },
3143
+ '&$disabled + $track': {
3144
+ backgroundColor: exports.Color.Silver300
3145
+ },
3146
+ '&$checked$disabled + $track': {
3147
+ backgroundColor: exports.Color.Blue100
3148
+ },
3149
+ '&:hover + $track': {
3150
+ backgroundColor: exports.Color.Dark100
3151
+ },
3152
+ '&.Mui-focusVisible + $track': {
3153
+ boxShadow: "0 0 0 3px ".concat(exports.Color.Blue100)
3201
3154
  }
3202
3155
  }
3203
3156
  };
3204
3157
  }
3205
3158
 
3206
3159
  function overrideTabs(theme) {
3207
- theme.components.MuiTabs = {
3208
- defaultProps: {
3209
- variant: 'scrollable',
3210
- textColor: 'primary',
3211
- indicatorColor: 'primary'
3212
- },
3213
- styleOverrides: {
3214
- root: {
3215
- minHeight: theme.spacing(6)
3216
- },
3217
- scrollButtons: {
3218
- opacity: 1,
3219
- color: exports.Color.Dark100,
3220
- width: theme.spacing(4),
3221
- transition: theme.transitions.create('opacity', {
3222
- duration: theme.transitions.duration.short
3223
- })
3224
- }
3160
+ theme.props.MuiTabs = {
3161
+ variant: 'scrollable',
3162
+ textColor: 'primary',
3163
+ indicatorColor: 'primary'
3164
+ };
3165
+ theme.overrides.MuiTabs = {
3166
+ root: {
3167
+ minHeight: theme.spacing(6)
3168
+ },
3169
+ scrollButtons: {
3170
+ opacity: 1,
3171
+ color: exports.Color.Dark100,
3172
+ width: theme.spacing(4),
3173
+ transition: theme.transitions.create('opacity', {
3174
+ duration: theme.transitions.duration.short
3175
+ })
3225
3176
  }
3226
3177
  };
3227
- theme.components.MuiTab = {
3228
- styleOverrides: {
3229
- root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3230
- minHeight: theme.spacing(6),
3231
- transition: theme.transitions.create(['color'], {
3232
- duration: theme.transitions.duration.short
3233
- }),
3234
- [theme.breakpoints.up('sm')]: {
3235
- minWidth: 'unset',
3236
- fontSize: 'unset',
3237
- padding: theme.spacing(0.75, 3)
3238
- }
3178
+ theme.overrides.MuiTab = {
3179
+ root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3180
+ minHeight: theme.spacing(6),
3181
+ transition: theme.transitions.create(['color'], {
3182
+ duration: theme.transitions.duration.short
3239
3183
  }),
3240
- textColorPrimary: {
3241
- color: exports.Color.Dark500,
3242
- '&:hover, &:focus': {
3243
- color: exports.Color.Blue300
3244
- }
3184
+ [theme.breakpoints.up('sm')]: {
3185
+ minWidth: undefined,
3186
+ fontSize: undefined,
3187
+ padding: theme.spacing(0.75, 3)
3188
+ }
3189
+ }),
3190
+ textColorPrimary: {
3191
+ color: exports.Color.Dark500,
3192
+ '&:hover, &:focus': {
3193
+ color: exports.Color.Blue300
3245
3194
  }
3246
3195
  }
3247
3196
  };
3248
3197
  }
3249
3198
 
3250
- var SelectIcon = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, _objectSpread(_objectSpread({
3199
+ var SelectIcon = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, _objectSpread(_objectSpread({
3251
3200
  ref: ref
3252
3201
  }, props), {}, {
3253
3202
  children: /*#__PURE__*/jsxRuntime.jsx("path", {
@@ -3258,248 +3207,223 @@ var SelectIcon = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/jsxR
3258
3207
  if (process.env.NODE_ENV !== "production") SelectIcon.displayName = "SelectIcon";
3259
3208
  function overrideTextField(theme) {
3260
3209
  var sm = theme.breakpoints.up('sm');
3261
- theme.components.MuiTextField = {
3262
- defaultProps: {
3263
- minRows: 4,
3264
- maxRows: 4,
3265
- variant: 'outlined'
3266
- }
3210
+ theme.props.MuiTextField = {
3211
+ minRows: 4,
3212
+ maxRows: 4,
3213
+ variant: 'outlined'
3267
3214
  };
3268
- theme.components.MuiFormLabel = {
3269
- styleOverrides: {
3270
- root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3271
- color: exports.Color.Dark400,
3272
- ["&.".concat(material.formLabelClasses.error)]: {
3273
- color: exports.Color.Dark400
3274
- },
3275
- ["&.".concat(material.formLabelClasses.focused)]: {
3276
- color: exports.Color.Dark400
3277
- },
3278
- ["&.".concat(material.formLabelClasses.disabled)]: {
3279
- color: exports.Color.Dark400
3280
- }
3281
- })
3282
- }
3283
- };
3284
- theme.components.MuiInputBase = {
3285
- styleOverrides: {
3286
- root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3287
- ["&.".concat(material.inputBaseClasses.disabled)]: {
3288
- backgroundColor: exports.Color.Silver100
3289
- }
3290
- }),
3291
- input: {
3292
- textOverflow: 'ellipsis',
3293
- height: theme.spacing(3),
3294
- [sm]: {
3295
- height: theme.spacing(2.5)
3296
- }
3215
+ theme.overrides.MuiFormLabel = {
3216
+ root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3217
+ color: exports.Color.Dark400,
3218
+ '&$error': {
3219
+ color: undefined
3297
3220
  },
3298
- inputMultiline: {
3299
- resize: 'vertical'
3221
+ '&$focused': {
3222
+ color: undefined
3223
+ },
3224
+ '&$disabled': {
3225
+ color: undefined
3300
3226
  }
3227
+ })
3228
+ };
3229
+ theme.overrides.MuiInputBase = {
3230
+ root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3231
+ '&$disabled': {
3232
+ backgroundColor: exports.Color.Silver100
3233
+ }
3234
+ }),
3235
+ input: {
3236
+ textOverflow: 'ellipsis',
3237
+ height: theme.spacing(3),
3238
+ [sm]: {
3239
+ height: theme.spacing(2.5)
3240
+ }
3241
+ },
3242
+ inputMultiline: {
3243
+ resize: 'vertical'
3301
3244
  }
3302
3245
  };
3303
- theme.components.MuiInputLabel = {
3304
- defaultProps: {
3305
- shrink: true
3306
- },
3307
- styleOverrides: {
3308
- root: {
3309
- marginBottom: theme.spacing(0.5),
3310
- transformOrigin: 'unset'
3311
- },
3312
- formControl: {
3313
- top: 'unset',
3314
- left: 'unset',
3315
- position: 'unset',
3316
- transform: 'unset'
3317
- },
3318
- shrink: {
3319
- transform: 'unset',
3320
- transformOrigin: 'unset'
3321
- },
3322
- outlined: {
3323
- zIndex: 'unset',
3324
- transform: 'unset',
3325
- pointerEvents: 'unset'
3246
+ theme.props.MuiInputLabel = {
3247
+ shrink: true
3248
+ };
3249
+ theme.overrides.MuiInputLabel = {
3250
+ root: {
3251
+ marginBottom: theme.spacing(0.5),
3252
+ transformOrigin: undefined
3253
+ },
3254
+ formControl: {
3255
+ top: undefined,
3256
+ left: undefined,
3257
+ position: undefined,
3258
+ transform: undefined
3259
+ },
3260
+ shrink: {
3261
+ transform: undefined,
3262
+ transformOrigin: undefined
3263
+ },
3264
+ outlined: {
3265
+ zIndex: undefined,
3266
+ transform: undefined,
3267
+ pointerEvents: undefined,
3268
+ '&$shrink': {
3269
+ transform: undefined
3326
3270
  }
3327
3271
  }
3328
3272
  };
3329
- theme.components.MuiOutlinedInput = {
3330
- defaultProps: {
3331
- notched: false
3332
- },
3333
- styleOverrides: {
3334
- root: {
3335
- ["&:hover .".concat(material.outlinedInputClasses.notchedOutline)]: {
3336
- borderColor: exports.Color.Silver500
3337
- }
3338
- },
3339
- input: {
3340
- padding: theme.spacing(1.25, 1.5),
3341
- [sm]: {
3342
- padding: theme.spacing(0.75, 1)
3343
- },
3344
- '&.MuiInputBase-inputAdornedStart': {
3345
- paddingLeft: 0
3346
- },
3347
- '&.MuiInputBase-inputAdornedEnd': {
3348
- paddingRight: 0
3349
- }
3350
- },
3351
- inputMultiline: {
3352
- padding: 0,
3353
- [sm]: {
3354
- padding: 0
3355
- }
3356
- },
3357
- multiline: {
3273
+ theme.props.MuiOutlinedInput = {
3274
+ notched: false
3275
+ };
3276
+ theme.overrides.MuiOutlinedInput = {
3277
+ root: {
3278
+ '&:hover $notchedOutline': {
3279
+ borderColor: undefined
3280
+ }
3281
+ },
3282
+ input: {
3283
+ padding: theme.spacing(1.25, 1.5),
3284
+ [sm]: {
3358
3285
  padding: theme.spacing(0.75, 1)
3359
- },
3360
- adornedStart: {
3361
- paddingLeft: theme.spacing(1)
3362
- },
3363
- adornedEnd: {
3364
- paddingRight: theme.spacing(1)
3365
- },
3366
- notchedOutline: {
3367
- top: 0,
3368
- borderColor: exports.Color.Silver500,
3369
- '& legend': {
3370
- display: 'none'
3371
- }
3286
+ }
3287
+ },
3288
+ multiline: {
3289
+ padding: theme.spacing(0.75, 1)
3290
+ },
3291
+ adornedStart: {
3292
+ paddingLeft: theme.spacing(1)
3293
+ },
3294
+ adornedEnd: {
3295
+ paddingRight: theme.spacing(1)
3296
+ },
3297
+ notchedOutline: {
3298
+ top: 0,
3299
+ borderColor: exports.Color.Silver500,
3300
+ '& legend': {
3301
+ display: 'none'
3372
3302
  }
3373
3303
  }
3374
3304
  };
3375
- theme.components.MuiSelect = {
3376
- defaultProps: {
3377
- IconComponent: SelectIcon
3378
- },
3379
- styleOverrides: {
3380
- icon: {
3381
- top: 'calc(50% - 0.5em)',
3382
- '$disabled &': {
3383
- color: exports.Color.Dark100
3384
- },
3385
- fontSize: theme.spacing(3),
3386
- [sm]: {
3387
- fontSize: theme.spacing(2)
3388
- }
3389
- },
3390
- iconOutlined: {
3391
- right: theme.spacing(1.5),
3392
- [sm]: {
3393
- right: theme.spacing(1)
3394
- }
3305
+ theme.props.MuiSelect = {
3306
+ IconComponent: SelectIcon
3307
+ };
3308
+ theme.overrides.MuiSelect = {
3309
+ icon: {
3310
+ top: 'calc(50% - 0.5em)',
3311
+ '$disabled &': {
3312
+ color: exports.Color.Dark100
3395
3313
  },
3396
- select: {
3314
+ fontSize: theme.spacing(3),
3315
+ [sm]: {
3316
+ fontSize: theme.spacing(2)
3317
+ }
3318
+ },
3319
+ iconOutlined: {
3320
+ right: theme.spacing(1.5),
3321
+ [sm]: {
3322
+ right: theme.spacing(1)
3323
+ }
3324
+ },
3325
+ select: {
3326
+ '&:focus': {
3327
+ backgroundColor: undefined
3328
+ }
3329
+ },
3330
+ selectMenu: {
3331
+ '&&': {
3397
3332
  paddingRight: theme.spacing(4.5),
3398
3333
  [sm]: {
3399
3334
  right: theme.spacing(4)
3400
- },
3401
- '&:focus': {
3402
- backgroundColor: 'unset'
3403
3335
  }
3404
3336
  }
3405
3337
  }
3406
3338
  };
3407
- theme.components.MuiInputAdornment = {
3408
- styleOverrides: {
3409
- root: {
3410
- '& .MuiSvgIcon-root:not(.MuiSvgIcon-fontSizeSmall)': {
3411
- fontSize: theme.spacing(3),
3412
- [sm]: {
3413
- fontSize: theme.spacing(2.5)
3414
- }
3415
- },
3416
- '& .MuiIconButton-root': {
3417
- padding: theme.spacing(1)
3339
+ theme.overrides.MuiInputAdornment = {
3340
+ root: {
3341
+ '& .MuiSvgIcon-root:not(.MuiSvgIcon-fontSizeSmall)': {
3342
+ fontSize: theme.spacing(3),
3343
+ [sm]: {
3344
+ fontSize: theme.spacing(2.5)
3418
3345
  }
3419
3346
  },
3420
- positionStart: {
3421
- '& .MuiIconButton-root': {
3422
- marginLeft: theme.spacing(-0.5),
3423
- [sm]: {
3424
- marginLeft: theme.spacing(-0.75)
3425
- }
3347
+ '& .MuiIconButton-root': {
3348
+ padding: theme.spacing(1)
3349
+ }
3350
+ },
3351
+ positionStart: {
3352
+ '& .MuiIconButton-root': {
3353
+ marginLeft: theme.spacing(-0.5),
3354
+ [sm]: {
3355
+ marginLeft: theme.spacing(-0.75)
3426
3356
  }
3427
- },
3428
- positionEnd: {
3429
- '& .MuiIconButton-root': {
3430
- marginRight: theme.spacing(-0.5),
3431
- [sm]: {
3432
- marginRight: theme.spacing(-0.75)
3433
- }
3357
+ }
3358
+ },
3359
+ positionEnd: {
3360
+ '& .MuiIconButton-root': {
3361
+ marginRight: theme.spacing(-0.5),
3362
+ [sm]: {
3363
+ marginRight: theme.spacing(-0.75)
3434
3364
  }
3435
3365
  }
3436
3366
  }
3437
3367
  };
3438
- theme.components.MuiFormHelperText = {
3439
- styleOverrides: {
3440
- root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3441
- marginTop: theme.spacing(0.5)
3442
- }),
3443
- contained: {
3444
- marginLeft: 'unset',
3445
- marginRight: 'unset'
3446
- }
3368
+ theme.overrides.MuiFormHelperText = {
3369
+ root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3370
+ marginTop: theme.spacing(0.5)
3371
+ }),
3372
+ contained: {
3373
+ marginLeft: undefined,
3374
+ marginRight: undefined
3447
3375
  }
3448
3376
  };
3449
3377
  }
3450
3378
 
3451
3379
  function overrideToolbar(theme) {
3452
- theme.components.MuiToolbar = {
3453
- styleOverrides: {
3454
- regular: {
3455
- minHeight: theme.spacing(8)
3456
- },
3457
- gutters: {
3458
- [theme.breakpoints.up('sm')]: {
3459
- paddingLeft: theme.spacing(2),
3460
- paddingRight: theme.spacing(2)
3461
- }
3380
+ theme.overrides.MuiToolbar = {
3381
+ regular: {
3382
+ minHeight: theme.spacing(8)
3383
+ },
3384
+ gutters: {
3385
+ [theme.breakpoints.up('sm')]: {
3386
+ paddingLeft: theme.spacing(2),
3387
+ paddingRight: theme.spacing(2)
3462
3388
  }
3463
3389
  }
3464
3390
  };
3465
3391
  }
3466
3392
 
3467
3393
  function overrideTooltip(theme) {
3468
- theme.components.MuiTooltip = {
3469
- defaultProps: {
3470
- arrow: true
3471
- },
3472
- styleOverrides: {
3473
- tooltip: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3474
- padding: theme.spacing(1, 1.5),
3475
- backgroundColor: exports.Color.Dark400
3476
- }),
3477
- popperArrow: {
3478
- ["&[data-popper-placement*=\"top\"] .".concat(material.tooltipClasses.arrow)]: {
3479
- '&::before': {
3480
- borderBottomRightRadius: 2
3481
- }
3482
- },
3483
- ["&[data-popper-placement*=\"left\"] .".concat(material.tooltipClasses.arrow)]: {
3484
- '&::before': {
3485
- borderTopRightRadius: 2
3486
- }
3487
- },
3488
- ["&[data-popper-placement*=\"right\"] .".concat(material.tooltipClasses.arrow)]: {
3489
- '&::before': {
3490
- borderBottomLeftRadius: 2
3491
- }
3492
- },
3493
- ["&[data-popper-placement*=\"bottom\"] .".concat(material.tooltipClasses.arrow)]: {
3494
- '&::before': {
3495
- borderTopLeftRadius: 2
3496
- }
3394
+ theme.props.MuiTooltip = {
3395
+ arrow: true
3396
+ };
3397
+ theme.overrides.MuiTooltip = {
3398
+ tooltip: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3399
+ padding: theme.spacing(1, 1.5),
3400
+ backgroundColor: exports.Color.Dark400
3401
+ }),
3402
+ popperArrow: {
3403
+ '&[x-placement*="top"] $arrow': {
3404
+ '&::before': {
3405
+ borderBottomRightRadius: 2
3406
+ }
3407
+ },
3408
+ '&[x-placement*="left"] $arrow': {
3409
+ '&::before': {
3410
+ borderTopRightRadius: 2
3411
+ }
3412
+ },
3413
+ '&[x-placement*="right"] $arrow': {
3414
+ '&::before': {
3415
+ borderBottomLeftRadius: 2
3497
3416
  }
3498
3417
  },
3499
- arrow: {
3500
- color: exports.Color.Dark400,
3501
- fontSize: theme.spacing(1)
3418
+ '&[x-placement*="bottom"] $arrow': {
3419
+ '&::before': {
3420
+ borderTopLeftRadius: 2
3421
+ }
3502
3422
  }
3423
+ },
3424
+ arrow: {
3425
+ color: exports.Color.Dark400,
3426
+ fontSize: theme.spacing(1)
3503
3427
  }
3504
3428
  };
3505
3429
  }
@@ -3609,24 +3533,14 @@ function createTypographyOptions(breakpoints) {
3609
3533
  };
3610
3534
  }
3611
3535
  function overrideTypography(theme) {
3612
- theme.components.MuiTypography = {
3613
- defaultProps: {
3614
- variant: 'body2'
3615
- }
3616
- };
3617
- }
3618
-
3619
- function overrideCssBaseline(theme) {
3620
- theme.components.MuiCssBaseline = {
3621
- styleOverrides: {
3622
- body: _objectSpread({}, theme.typography.body2)
3623
- }
3536
+ theme.props.MuiTypography = {
3537
+ variant: 'body2'
3624
3538
  };
3625
3539
  }
3626
3540
 
3627
3541
  function createSuperDispatchTheme() {
3628
- var breakpoints = system.createBreakpoints({});
3629
- var theme = material.createTheme({
3542
+ var breakpoints = createBreakpoints({});
3543
+ var theme = core.createTheme({
3630
3544
  breakpoints,
3631
3545
  palette: {
3632
3546
  primary: {
@@ -3643,43 +3557,43 @@ function createSuperDispatchTheme() {
3643
3557
  text: {
3644
3558
  primary: exports.Color.Dark500,
3645
3559
  secondary: exports.Color.Dark200,
3646
- // hint: Color.Dark100, todo
3560
+ hint: exports.Color.Dark100,
3647
3561
  disabled: exports.Color.Dark100
3648
3562
  },
3649
3563
  divider: exports.Color.Silver400
3650
3564
  },
3651
3565
  typography: createTypographyOptions(breakpoints),
3652
- components: {}
3566
+ props: {},
3567
+ overrides: {}
3653
3568
  });
3654
- overrideCard(theme);
3655
- overrideButton(theme);
3656
3569
  overrideAppBar(theme);
3657
- overridePaper(theme);
3658
- overrideTooltip(theme);
3659
- overrideSvgIcon(theme);
3660
- overrideToolbar(theme);
3661
- overrideIconButton(theme);
3662
- overrideTypography(theme);
3663
- overrideMenu(theme);
3664
- overrideAvatar(theme);
3665
- overrideTextField(theme);
3666
3570
  overrideAutocomplete(theme);
3667
- overrideCssBaseline(theme);
3571
+ overrideAvatar(theme);
3572
+ overrideButton(theme);
3573
+ overrideCard(theme);
3668
3574
  overrideCheckbox(theme);
3669
- overrideRadio(theme);
3670
- overrideSwitch(theme);
3671
3575
  overrideChip(theme);
3672
3576
  overrideDialog(theme);
3673
3577
  overrideDrawer(theme);
3674
- overridePagination(theme);
3675
- overrideList(theme);
3578
+ overrideIconButton(theme);
3676
3579
  overrideLink(theme);
3580
+ overrideList(theme);
3581
+ overrideMenu(theme);
3582
+ overridePaper(theme);
3583
+ overrideRadio(theme);
3677
3584
  overrideSnackbar(theme);
3585
+ overrideSvgIcon(theme);
3586
+ overrideSwitch(theme);
3678
3587
  overrideTabs(theme);
3588
+ overrideTextField(theme);
3589
+ overrideToolbar(theme);
3590
+ overrideTooltip(theme);
3591
+ overrideTypography(theme);
3592
+ overridePagination(theme);
3679
3593
  return theme;
3680
3594
  }
3681
3595
 
3682
- var generateMaterialClassName = /*#__PURE__*/styles.createGenerateClassName();
3596
+ var generateMaterialClassName = /*#__PURE__*/core.createGenerateClassName();
3683
3597
 
3684
3598
  function generateClassName(rule, sheet) {
3685
3599
  var {
@@ -3721,11 +3635,14 @@ function ThemeProvider(_ref) {
3721
3635
  return /*#__PURE__*/jsxRuntime.jsx(styles.StylesProvider, {
3722
3636
  injectFirst: injectFirst,
3723
3637
  generateClassName: generateClassName,
3724
- children: /*#__PURE__*/jsxRuntime.jsxs(material.ThemeProvider, {
3638
+ children: /*#__PURE__*/jsxRuntime.jsxs(styles.ThemeProvider, {
3725
3639
  theme: theme,
3726
- children: [/*#__PURE__*/jsxRuntime.jsx(material.CssBaseline, {}), /*#__PURE__*/jsxRuntime.jsx(ResponsiveContextProvider, {
3727
- children: /*#__PURE__*/jsxRuntime.jsx(SnackbarStackProvider, {
3728
- children: children
3640
+ children: [/*#__PURE__*/jsxRuntime.jsx(core.CssBaseline, {}), /*#__PURE__*/jsxRuntime.jsx(styled.ThemeProvider, {
3641
+ theme: theme,
3642
+ children: /*#__PURE__*/jsxRuntime.jsx(ResponsiveContextProvider, {
3643
+ children: /*#__PURE__*/jsxRuntime.jsx(SnackbarStackProvider, {
3644
+ children: children
3645
+ })
3729
3646
  })
3730
3647
  })]
3731
3648
  })
@@ -3736,13 +3653,12 @@ var PREVENT_COLLAPSE = 1;
3736
3653
 
3737
3654
  function spaceVariant(theme, space) {
3738
3655
  var gap = theme.spacing(space);
3739
- var parsedGap = parseInt(gap);
3740
3656
  return {
3741
3657
  '&:before': {
3742
- marginTop: -parsedGap - PREVENT_COLLAPSE
3658
+ marginTop: -gap - PREVENT_COLLAPSE
3743
3659
  },
3744
3660
  '& > $container': {
3745
- marginLeft: -parsedGap,
3661
+ marginLeft: -gap,
3746
3662
  '& > $child > $childContainer': {
3747
3663
  marginTop: gap,
3748
3664
  marginLeft: gap
@@ -3757,7 +3673,7 @@ function columnVariant(columns) {
3757
3673
  };
3758
3674
  }
3759
3675
 
3760
- var useStyles$3 = /*#__PURE__*/styles.makeStyles(theme => ({
3676
+ var useStyles$d = /*#__PURE__*/styles.makeStyles(theme => ({
3761
3677
  root: {
3762
3678
  paddingTop: PREVENT_COLLAPSE,
3763
3679
  '&:before': {
@@ -3801,7 +3717,7 @@ var Tiles = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3801
3717
  space: spaceProp = 1,
3802
3718
  columns: columnsProp = 1
3803
3719
  } = _ref;
3804
- var styles = useStyles$3({});
3720
+ var styles = useStyles$d({});
3805
3721
  var space = useResponsivePropRecord(spaceProp);
3806
3722
  var columns = useResponsivePropRecord(columnsProp);
3807
3723
  return /*#__PURE__*/jsxRuntime.jsx("div", {