@superdispatch/ui-lab 0.14.0 → 0.16.0-alpha.1

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.
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
6
 
7
- var icons = require('@material-ui/icons');
8
- var lab = require('@material-ui/lab');
7
+ var iconsMaterial = require('@mui/icons-material');
8
+ var lab = require('@mui/lab');
9
9
  var ui = require('@superdispatch/ui');
10
10
  var react = require('react');
11
11
  var styled = require('styled-components');
@@ -13,7 +13,8 @@ var styled__default = _interopDefault(styled);
13
13
  var jsxRuntime = require('react/jsx-runtime');
14
14
  var _objectSpread = _interopDefault(require('@babel/runtime/helpers/objectSpread2'));
15
15
  var _objectWithoutProperties = _interopDefault(require('@babel/runtime/helpers/objectWithoutProperties'));
16
- var core = require('@material-ui/core');
16
+ var reactTransitionGroup = require('react-transition-group');
17
+ var material = require('@mui/material');
17
18
  var js = require('@mdi/js');
18
19
  var Dropzone = _interopDefault(require('react-dropzone'));
19
20
 
@@ -31,9 +32,9 @@ function toMaterialSeverity(severity) {
31
32
  }
32
33
 
33
34
  var iconMapping = {
34
- success: /*#__PURE__*/jsxRuntime.jsx(icons.CheckCircle, {}),
35
- info: /*#__PURE__*/jsxRuntime.jsx(icons.Info, {}),
36
- error: /*#__PURE__*/jsxRuntime.jsx(icons.Error, {})
35
+ success: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.CheckCircle, {}),
36
+ info: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Info, {}),
37
+ error: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Error, {})
37
38
  };
38
39
  var Alert = /*#__PURE__*/react.forwardRef((_ref, ref) => {
39
40
  var {
@@ -54,6 +55,60 @@ var Alert = /*#__PURE__*/react.forwardRef((_ref, ref) => {
54
55
  });
55
56
  if (process.env.NODE_ENV !== "production") Alert.displayName = "Alert";
56
57
 
58
+ var _excluded = ["children"],
59
+ _excluded2 = ["in"];
60
+
61
+ function enterMixin(border) {
62
+ return styled.css(["min-height:56px;color:", ";background-color:", ";border-", ":1px #dfe3e8 solid;"], ui.Color.Dark500, ui.Color.White, border);
63
+ }
64
+
65
+ function enterAnimation(border) {
66
+ return styled.keyframes(["0%{min-height:0;color:", ";background-color:", ";}50%{min-height:56px;color:", ";background-color:", ";}70%{min-height:56px;color:", ";background-color:", ";}100%{", "}"], ui.Color.White, ui.Color.Dark500, ui.Color.White, ui.Color.Dark500, ui.Color.White, ui.Color.Dark500, enterMixin(border));
67
+ }
68
+
69
+ var CustomTransition = /*#__PURE__*/react.forwardRef((_ref, ref) => {
70
+ var {
71
+ children
72
+ } = _ref,
73
+ props = _objectWithoutProperties(_ref, _excluded);
74
+
75
+ return /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, _objectSpread(_objectSpread({}, props), {}, {
76
+ ref: ref,
77
+ timeout: 3000,
78
+ classNames: props.className,
79
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
80
+ children: children
81
+ })
82
+ }));
83
+ });
84
+ if (process.env.NODE_ENV !== "production") CustomTransition.displayName = "CustomTransition";
85
+ var BannerContent = /*#__PURE__*/styled__default(CustomTransition).withConfig({
86
+ displayName: "Banner__BannerContent",
87
+ componentId: "SD__sc-9kw31n-0"
88
+ })(_ref2 => {
89
+ var {
90
+ border = 'bottom'
91
+ } = _ref2;
92
+ return styled.css(["height:0;width:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;color:", ";background-color:", ";&-enter-active{animation:", " 2s 1s forwards;}&-enter-done{", ";}&-exit{", ";}&-exit-active{min-height:0;transition:min-height 2s 1s;}"], ui.Color.White, ui.Color.White, enterAnimation(border), enterMixin(border), enterMixin(border));
93
+ });
94
+ var Banner = /*#__PURE__*/react.forwardRef((_ref3, ref) => {
95
+ var {
96
+ in: inProp
97
+ } = _ref3,
98
+ props = _objectWithoutProperties(_ref3, _excluded2);
99
+
100
+ var [isIn, setIn] = react.useState(false); // transition is not triggered on initial render with `in: true`
101
+
102
+ react.useEffect(() => {
103
+ setIn(!!inProp);
104
+ }, [inProp]);
105
+ return /*#__PURE__*/jsxRuntime.jsx(BannerContent, _objectSpread({
106
+ ref: ref,
107
+ in: isIn
108
+ }, props));
109
+ });
110
+ if (process.env.NODE_ENV !== "production") Banner.displayName = "Banner";
111
+
57
112
  function createRuleNormalizer(rules) {
58
113
  return input => {
59
114
  if (typeof input == 'string') {
@@ -216,8 +271,8 @@ var Box = /*#__PURE__*/styled__default.div.withConfig({
216
271
  return styles;
217
272
  });
218
273
 
219
- var _excluded = ["icon", "children", "variant", "active", "disabled", "fullWidth"];
220
- var ButtonRoot = /*#__PURE__*/styled__default(core.ButtonBase).withConfig({
274
+ var _excluded$1 = ["icon", "children", "variant", "active", "disabled", "fullWidth"];
275
+ var ButtonRoot = /*#__PURE__*/styled__default(material.ButtonBase).withConfig({
221
276
  displayName: "ButtonArea__ButtonRoot",
222
277
  componentId: "SD__sc-1czum63-0"
223
278
  })(["padding:12px 32px;border-width:1px;border-radius:4px;border-style:solid;border-color:", ";color:", ";background-color:", ";& svg{color:inherit;font-size:24px;}&[data-full-width='true']{width:100%;}&[data-disabled='true']{color:", ";border-color:", ";}&[data-variant='success']{&:hover{color:", ";box-shadow:0 0 0 2px ", ";border-color:", ";}&[data-active='true']{color:", ";border-color:", ";background-color:", ";}}&[data-variant='danger']{&:hover{color:", ";box-shadow:0 0 0 2px ", ";border-color:", ";}&[data-active='true']{color:", ";border-color:", ";background-color:", ";}}"], ui.Color.Silver500, ui.Color.Dark100, ui.Color.White, ui.Color.Silver500, ui.Color.Silver400, ui.Color.Green300, ui.Color.Green100, ui.Color.Green300, ui.Color.Green300, ui.Color.Green300, ui.Color.Green50, ui.Color.Red300, ui.Color.Red100, ui.Color.Red300, ui.Color.Red300, ui.Color.Red300, ui.Color.Red50);
@@ -230,7 +285,7 @@ var ButtonArea = /*#__PURE__*/react.forwardRef((_ref, ref) => {
230
285
  disabled,
231
286
  fullWidth
232
287
  } = _ref,
233
- props = _objectWithoutProperties(_ref, _excluded);
288
+ props = _objectWithoutProperties(_ref, _excluded$1);
234
289
 
235
290
  return /*#__PURE__*/jsxRuntime.jsx(ButtonRoot, _objectSpread(_objectSpread({
236
291
  ref: ref,
@@ -243,7 +298,7 @@ var ButtonArea = /*#__PURE__*/react.forwardRef((_ref, ref) => {
243
298
  children: /*#__PURE__*/jsxRuntime.jsxs(ui.Stack, {
244
299
  align: "center",
245
300
  space: "xxsmall",
246
- children: [icon, /*#__PURE__*/jsxRuntime.jsx(core.Typography, {
301
+ children: [icon, /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
247
302
  variant: "h4",
248
303
  color: disabled ? 'inherit' : 'textPrimary',
249
304
  children: children
@@ -253,8 +308,8 @@ var ButtonArea = /*#__PURE__*/react.forwardRef((_ref, ref) => {
253
308
  });
254
309
  if (process.env.NODE_ENV !== "production") ButtonArea.displayName = "ButtonArea";
255
310
 
256
- var _excluded$1 = ["children", "endIcon", "startIcon", "tabIndex", "active", "pending", "disabled", "size", "fullWidth", "variant"],
257
- _excluded2 = ["type"],
311
+ var _excluded$2 = ["children", "endIcon", "startIcon", "tabIndex", "active", "pending", "disabled", "size", "fullWidth", "variant"],
312
+ _excluded2$1 = ["type"],
258
313
  _excluded3 = ["href", "target"];
259
314
 
260
315
  function createButtonVariables(size, _ref) {
@@ -413,7 +468,7 @@ function useButtonProps(_ref3) {
413
468
  fullWidth = false,
414
469
  variant = 'default'
415
470
  } = _ref3,
416
- props = _objectWithoutProperties(_ref3, _excluded$1);
471
+ props = _objectWithoutProperties(_ref3, _excluded$2);
417
472
 
418
473
  var disabled = pending || disabledProp;
419
474
  var tabIndex = disabled ? -1 : tabIndexProp;
@@ -432,7 +487,7 @@ function useButtonProps(_ref3) {
432
487
  }), children, !!endIcon && /*#__PURE__*/jsxRuntime.jsx(ButtonEndIcon, {
433
488
  children: endIcon
434
489
  }), pending && /*#__PURE__*/jsxRuntime.jsx(ButtonPendingIndicator, {
435
- children: /*#__PURE__*/jsxRuntime.jsx(core.CircularProgress, {
490
+ children: /*#__PURE__*/jsxRuntime.jsx(material.CircularProgress, {
436
491
  size: "1em",
437
492
  color: "inherit"
438
493
  })
@@ -445,7 +500,7 @@ var Button = /*#__PURE__*/react.forwardRef((_ref4, ref) => {
445
500
  var {
446
501
  type = 'button'
447
502
  } = _ref4,
448
- props = _objectWithoutProperties(_ref4, _excluded2);
503
+ props = _objectWithoutProperties(_ref4, _excluded2$1);
449
504
 
450
505
  var buttonProps = useButtonProps(props);
451
506
  return /*#__PURE__*/jsxRuntime.jsx(ButtonRoot$1, _objectSpread(_objectSpread({}, buttonProps), {}, {
@@ -498,7 +553,7 @@ function mergeStyles(styles) {
498
553
  return styles;
499
554
  }
500
555
 
501
- var _excluded$2 = ["variant", "as", "align", "color", "display", "noWrap", "wrapOverflow"];
556
+ var _excluded$3 = ["variant", "as", "align", "color", "display", "noWrap", "wrapOverflow"];
502
557
  var normalizeTextColor = /*#__PURE__*/createRuleNormalizer({
503
558
  inherit: 'inherit',
504
559
  primary: ui.Color.Dark500,
@@ -600,7 +655,7 @@ var TextBox = /*#__PURE__*/react.forwardRef((_ref3, ref) => {
600
655
  noWrap = false,
601
656
  wrapOverflow = false
602
657
  } = _ref3,
603
- props = _objectWithoutProperties(_ref3, _excluded$2);
658
+ props = _objectWithoutProperties(_ref3, _excluded$3);
604
659
 
605
660
  var $align = ui.parseResponsiveProp(align);
606
661
  var $color = ui.parseResponsiveProp(color);
@@ -681,7 +736,7 @@ var DescriptionItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
681
736
  });
682
737
  if (process.env.NODE_ENV !== "production") DescriptionItem.displayName = "DescriptionItem";
683
738
 
684
- var _excluded$3 = ["disabled", "children", "hintText", "startIcon", "fallback", "accept", "maxSize", "maxFiles", "onDropRejected", "onDropAccepted"];
739
+ var _excluded$4 = ["disabled", "children", "hintText", "startIcon", "fallback", "accept", "maxSize", "maxFiles", "onDropRejected", "onDropAccepted"];
685
740
  function toBytes(input, unit) {
686
741
  if (unit === 'gb') return input * (1 << 30);
687
742
  if (unit === 'mb') return input * (1 << 20);
@@ -718,7 +773,7 @@ function UploadRejection(_ref2) {
718
773
  align: "center",
719
774
  children: [/*#__PURE__*/jsxRuntime.jsx(ui.Column, {
720
775
  width: "content",
721
- children: /*#__PURE__*/jsxRuntime.jsx(icons.Error, {})
776
+ children: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Error, {})
722
777
  }), /*#__PURE__*/jsxRuntime.jsx(ui.Column, {
723
778
  children: error.code === 'file-too-large' ? maxSize == null ? 'Attachment size is too large' : "Attachment size should be less than ".concat(formatBytes(maxSize)) : error.message
724
779
  })]
@@ -731,7 +786,7 @@ var FileDropZone = /*#__PURE__*/react.forwardRef((props, ref) => {
731
786
  disabled = false,
732
787
  children: _children = 'Upload Attachments',
733
788
  hintText = 'or Drag & Drop files',
734
- startIcon = /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, {
789
+ startIcon = /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, {
735
790
  children: /*#__PURE__*/jsxRuntime.jsx("path", {
736
791
  d: js.mdiUpload
737
792
  })
@@ -739,7 +794,7 @@ var FileDropZone = /*#__PURE__*/react.forwardRef((props, ref) => {
739
794
  fallback = /*#__PURE__*/jsxRuntime.jsx(ui.CardButton, {
740
795
  ref: ref,
741
796
  disabled: true,
742
- startIcon: /*#__PURE__*/jsxRuntime.jsx(core.CircularProgress, {
797
+ startIcon: /*#__PURE__*/jsxRuntime.jsx(material.CircularProgress, {
743
798
  size: "1em",
744
799
  color: "inherit"
745
800
  }),
@@ -752,7 +807,7 @@ var FileDropZone = /*#__PURE__*/react.forwardRef((props, ref) => {
752
807
  onDropRejected: _onDropRejected,
753
808
  onDropAccepted: _onDropAccepted
754
809
  } = props,
755
- dropzoneProps = _objectWithoutProperties(props, _excluded$3);
810
+ dropzoneProps = _objectWithoutProperties(props, _excluded$4);
756
811
 
757
812
  return /*#__PURE__*/jsxRuntime.jsx(react.Suspense, {
758
813
  fallback: fallback,
@@ -800,7 +855,7 @@ var FileListItemName = /*#__PURE__*/styled__default.div.withConfig({
800
855
  displayName: "FileListItem__FileListItemName",
801
856
  componentId: "SD__sc-hxbsiy-0"
802
857
  })(["overflow:hidden;line-height:22px;white-space:nowrap;text-overflow:ellipsis;"]);
803
- var FileListItemProgress = /*#__PURE__*/styled__default(core.CircularProgress).withConfig({
858
+ var FileListItemProgress = /*#__PURE__*/styled__default(material.CircularProgress).withConfig({
804
859
  displayName: "FileListItem__FileListItemProgress",
805
860
  componentId: "SD__sc-hxbsiy-1"
806
861
  })(["font-size:24px;", "{font-size:14px;}"], _ref => {
@@ -809,12 +864,12 @@ var FileListItemProgress = /*#__PURE__*/styled__default(core.CircularProgress).w
809
864
  } = _ref;
810
865
  return theme.breakpoints.up('sm');
811
866
  });
812
- var PdfIcon = /*#__PURE__*/react.memo(props => /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
867
+ var PdfIcon = /*#__PURE__*/react.memo(props => /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
813
868
  children: /*#__PURE__*/jsxRuntime.jsx("path", {
814
869
  d: js.mdiFilePdfBox
815
870
  })
816
871
  })));
817
- var TextBoxIcon = /*#__PURE__*/react.memo(props => /*#__PURE__*/jsxRuntime.jsx(core.SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
872
+ var TextBoxIcon = /*#__PURE__*/react.memo(props => /*#__PURE__*/jsxRuntime.jsx(material.SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
818
873
  children: /*#__PURE__*/jsxRuntime.jsx("path", {
819
874
  d: js.mdiTextBox
820
875
  })
@@ -853,13 +908,13 @@ var FileListItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
853
908
  space: "xsmall",
854
909
  children: [/*#__PURE__*/jsxRuntime.jsx(ui.Column, {
855
910
  width: "content",
856
- children: status === 'error' ? /*#__PURE__*/jsxRuntime.jsx(icons.Error, {
911
+ children: status === 'error' ? /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Error, {
857
912
  color: "error",
858
913
  fontSize: "small"
859
914
  }) : fileType === 'pdf' ? /*#__PURE__*/jsxRuntime.jsx(PdfIcon, {
860
915
  color: "action",
861
916
  fontSize: "small"
862
- }) : fileType === 'image' ? /*#__PURE__*/jsxRuntime.jsx(icons.Image, {
917
+ }) : fileType === 'image' ? /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Image, {
863
918
  color: "action",
864
919
  fontSize: "small"
865
920
  }) : /*#__PURE__*/jsxRuntime.jsx(TextBoxIcon, {
@@ -870,7 +925,7 @@ var FileListItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
870
925
  width: "fluid",
871
926
  children: /*#__PURE__*/jsxRuntime.jsx(FileListItemName, {
872
927
  id: uid,
873
- children: !url ? name : /*#__PURE__*/jsxRuntime.jsx(core.Link, {
928
+ children: !url ? name : /*#__PURE__*/jsxRuntime.jsx(material.Link, {
874
929
  href: url,
875
930
  noWrap: true,
876
931
  target: "_blank",
@@ -880,33 +935,33 @@ var FileListItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
880
935
  })
881
936
  }), status === 'error' && /*#__PURE__*/jsxRuntime.jsx(ui.Column, {
882
937
  width: "content",
883
- children: /*#__PURE__*/jsxRuntime.jsx(core.Tooltip, {
938
+ children: /*#__PURE__*/jsxRuntime.jsx(material.Tooltip, {
884
939
  title: "Retry",
885
- children: /*#__PURE__*/jsxRuntime.jsx(core.IconButton, {
940
+ children: /*#__PURE__*/jsxRuntime.jsx(material.IconButton, {
886
941
  size: "small",
887
942
  onClick: onRetry,
888
- children: /*#__PURE__*/jsxRuntime.jsx(icons.Refresh, {
943
+ children: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Refresh, {
889
944
  fontSize: "small"
890
945
  })
891
946
  })
892
947
  })
893
948
  }), /*#__PURE__*/jsxRuntime.jsx(ui.Column, {
894
949
  width: "content",
895
- children: status === 'loading' ? /*#__PURE__*/jsxRuntime.jsx(core.IconButton, {
950
+ children: status === 'loading' ? /*#__PURE__*/jsxRuntime.jsx(material.IconButton, {
896
951
  size: "small",
897
952
  disabled: true,
898
953
  children: /*#__PURE__*/jsxRuntime.jsx(FileListItemProgress, {
899
954
  size: "1em"
900
955
  })
901
- }) : /*#__PURE__*/jsxRuntime.jsx(core.Tooltip, {
956
+ }) : /*#__PURE__*/jsxRuntime.jsx(material.Tooltip, {
902
957
  title: "Delete",
903
- children: /*#__PURE__*/jsxRuntime.jsx(core.IconButton, {
958
+ children: /*#__PURE__*/jsxRuntime.jsx(material.IconButton, {
904
959
  size: "small",
905
960
  onClick: onDelete,
906
- children: !isHovered && status === 'success' ? /*#__PURE__*/jsxRuntime.jsx(icons.CheckCircle, {
961
+ children: !isHovered && status === 'success' ? /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.CheckCircle, {
907
962
  fontSize: "small",
908
963
  htmlColor: ui.Color.Green300
909
- }) : /*#__PURE__*/jsxRuntime.jsx(icons.Delete, {
964
+ }) : /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Delete, {
910
965
  fontSize: "small"
911
966
  })
912
967
  })
@@ -1001,7 +1056,7 @@ var SidebarDividerRoot = /*#__PURE__*/styled__default.div.withConfig({
1001
1056
  var SidebarDivider = /*#__PURE__*/react.forwardRef((_, ref) => {
1002
1057
  return /*#__PURE__*/jsxRuntime.jsx(SidebarDividerRoot, {
1003
1058
  ref: ref,
1004
- children: /*#__PURE__*/jsxRuntime.jsx(core.Divider, {})
1059
+ children: /*#__PURE__*/jsxRuntime.jsx(material.Divider, {})
1005
1060
  });
1006
1061
  });
1007
1062
  if (process.env.NODE_ENV !== "production") SidebarDivider.displayName = "SidebarDivider";
@@ -1074,7 +1129,7 @@ var SidebarMenuItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
1074
1129
  onMouseLeave: () => {
1075
1130
  setHovered(false);
1076
1131
  },
1077
- children: [/*#__PURE__*/jsxRuntime.jsx(core.ButtonBase, {
1132
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.ButtonBase, {
1078
1133
  onClick: onClick,
1079
1134
  disabled: disabled,
1080
1135
  "aria-current": selected,
@@ -1106,7 +1161,7 @@ var SidebarMenuItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
1106
1161
  })
1107
1162
  }), external && /*#__PURE__*/jsxRuntime.jsx(ui.Column, {
1108
1163
  width: "content",
1109
- children: /*#__PURE__*/jsxRuntime.jsx(icons.OpenInNew, {
1164
+ children: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.OpenInNew, {
1110
1165
  color: "action",
1111
1166
  fontSize: "small"
1112
1167
  })
@@ -1136,7 +1191,7 @@ var SidebarMenuItem = /*#__PURE__*/react.forwardRef((_ref2, ref) => {
1136
1191
  });
1137
1192
  if (process.env.NODE_ENV !== "production") SidebarMenuItem.displayName = "SidebarMenuItem";
1138
1193
 
1139
- var SidebarMenuItemActionRoot = /*#__PURE__*/styled__default(core.IconButton).withConfig({
1194
+ var SidebarMenuItemActionRoot = /*#__PURE__*/styled__default(material.IconButton).withConfig({
1140
1195
  displayName: "SidebarMenuItemAction__SidebarMenuItemActionRoot",
1141
1196
  componentId: "SD__sc-1n50gmv-0"
1142
1197
  })(["& .MuiSvgIcon-root{font-size:16px;}"]);
@@ -1146,7 +1201,7 @@ var SidebarMenuItemAction = /*#__PURE__*/react.forwardRef((_ref, ref) => {
1146
1201
  placement,
1147
1202
  children
1148
1203
  } = _ref;
1149
- return /*#__PURE__*/jsxRuntime.jsx(core.Tooltip, {
1204
+ return /*#__PURE__*/jsxRuntime.jsx(material.Tooltip, {
1150
1205
  title: title,
1151
1206
  placement: placement,
1152
1207
  children: /*#__PURE__*/jsxRuntime.jsx(SidebarMenuItemActionRoot, {
@@ -1186,7 +1241,7 @@ var SidebarMenuItemAvatar = /*#__PURE__*/react.forwardRef((_ref, ref) => {
1186
1241
 
1187
1242
  if (value === true || hovered && value != null) {
1188
1243
  return /*#__PURE__*/jsxRuntime.jsx(SidebarMenuItemAvatarCheckbox, {
1189
- children: /*#__PURE__*/jsxRuntime.jsx(core.Checkbox, {
1244
+ children: /*#__PURE__*/jsxRuntime.jsx(material.Checkbox, {
1190
1245
  color: "primary",
1191
1246
  checked: value,
1192
1247
  disabled: disabled,
@@ -1199,7 +1254,7 @@ var SidebarMenuItemAvatar = /*#__PURE__*/react.forwardRef((_ref, ref) => {
1199
1254
  });
1200
1255
  }
1201
1256
 
1202
- return /*#__PURE__*/jsxRuntime.jsx(core.Avatar, {
1257
+ return /*#__PURE__*/jsxRuntime.jsx(material.Avatar, {
1203
1258
  ref: ref,
1204
1259
  "aria-hidden": true,
1205
1260
  children: initials
@@ -1241,6 +1296,7 @@ if (process.env.NODE_ENV !== "production") SidebarSubheader.displayName = "Sideb
1241
1296
 
1242
1297
  exports.Alert = Alert;
1243
1298
  exports.AnchorButton = AnchorButton;
1299
+ exports.Banner = Banner;
1244
1300
  exports.Box = Box;
1245
1301
  exports.Button = Button;
1246
1302
  exports.ButtonArea = ButtonArea;