@superdispatch/ui 0.12.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-web/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import { ResizeObserver } from '@juggle/resize-observer';
4
- import { Button as Button$1, CircularProgress, Toolbar, Grid, Typography, Menu, MenuItem, ButtonBase, Avatar, FormControl, FormControlLabel, Checkbox, FormHelperText, FormLabel, FormGroup, useMediaQuery, Tooltip, SvgIcon, AppBar, List, Card, CardContent, Radio, RadioGroup, SnackbarContent as SnackbarContent$1, IconButton, Portal, Snackbar as Snackbar$1, Slide, CssBaseline, createTheme, createGenerateClassName } from '@material-ui/core';
4
+ import { Button as Button$1, CircularProgress, ButtonGroup, Popover, MenuList, Toolbar, Grid, MenuItem, Typography, Menu, Divider, ButtonBase, Avatar, FormControl, FormControlLabel, Checkbox, FormHelperText, FormLabel, FormGroup, useMediaQuery, Tooltip, SvgIcon, AppBar, List, Card, CardContent, Radio, RadioGroup, SnackbarContent as SnackbarContent$1, IconButton, Portal, Snackbar as Snackbar$1, Slide, CssBaseline, createTheme, createGenerateClassName } from '@material-ui/core';
5
5
  import { MoreHoriz, Close, Warning, CheckCircle } from '@material-ui/icons';
6
6
  import { makeStyles, StylesProvider, ThemeProvider as ThemeProvider$1 } from '@material-ui/styles';
7
7
  import { useEventHandler, useDeepEqualValue, useValueObserver, useDeepEqualMemo, useConstant } from '@superdispatch/hooks';
8
- import { forwardRef, useRef, useState, useLayoutEffect, useMemo, useContext, createContext, Children, useCallback } from 'react';
8
+ import { forwardRef, useState, useRef, useLayoutEffect, useMemo, useContext, createContext, Children, useCallback } from 'react';
9
9
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
10
- import clsx from 'clsx';
11
10
  import styled, { css, ThemeProvider as ThemeProvider$2 } from 'styled-components';
11
+ import clsx from 'clsx';
12
12
  import flattenChildren from 'react-keyed-flatten-children';
13
13
  import createBreakpoints from '@material-ui/core/styles/createBreakpoints';
14
14
 
@@ -42,7 +42,110 @@ var Button = /*#__PURE__*/forwardRef((_ref, ref) => {
42
42
  });
43
43
  if (process.env.NODE_ENV !== "production") Button.displayName = "Button";
44
44
 
45
- var _excluded$1 = ["items"];
45
+ var _excluded$1 = ["MenuListProps", "ButtonGroupProps", "children", "isLoading", "onClick", "label"];
46
+
47
+ function CaretDownIcon() {
48
+ return /*#__PURE__*/jsx("svg", {
49
+ viewBox: "0 0 8 4",
50
+ children: /*#__PURE__*/jsx("path", {
51
+ fill: "currentColor",
52
+ d: "M0.666687 0.666656L4.00002 3.99999L7.33335 0.666656H0.666687Z"
53
+ })
54
+ });
55
+ }
56
+
57
+ var CaretButton = /*#__PURE__*/styled(Button).withConfig({
58
+ displayName: "DropdownButton__CaretButton",
59
+ componentId: "SD__sc-8l84jm-0"
60
+ })(["width:auto;", ";"], _ref => {
61
+ var {
62
+ variant
63
+ } = _ref;
64
+ return variant === 'contained' && "border-left: 1px solid ".concat(Color.Blue500);
65
+ });
66
+ var DropdownButton = /*#__PURE__*/forwardRef((_ref2, ref) => {
67
+ var _anchorRef$current2;
68
+
69
+ var {
70
+ MenuListProps,
71
+ ButtonGroupProps,
72
+ children,
73
+ isLoading,
74
+ onClick,
75
+ label
76
+ } = _ref2,
77
+ buttonProps = _objectWithoutProperties(_ref2, _excluded$1);
78
+
79
+ var uid = useUID();
80
+ var [open, setOpen] = useState(false);
81
+ var anchorRef = useRef(null);
82
+
83
+ function handleClick(event) {
84
+ setOpen(false);
85
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
86
+ }
87
+
88
+ function handleToggle() {
89
+ setOpen(prevOpen => !prevOpen);
90
+ }
91
+
92
+ function handleClose(event) {
93
+ var _anchorRef$current;
94
+
95
+ if ((_anchorRef$current = anchorRef.current) !== null && _anchorRef$current !== void 0 && _anchorRef$current.contains(event.currentTarget)) {
96
+ return;
97
+ }
98
+
99
+ setOpen(false);
100
+ }
101
+
102
+ return /*#__PURE__*/jsxs(Fragment, {
103
+ children: [/*#__PURE__*/jsxs(ButtonGroup, _objectSpread(_objectSpread({}, ButtonGroupProps), {}, {
104
+ ref: mergeRefs(ButtonGroupProps === null || ButtonGroupProps === void 0 ? void 0 : ButtonGroupProps.ref, anchorRef),
105
+ fullWidth: (ButtonGroupProps === null || ButtonGroupProps === void 0 ? void 0 : ButtonGroupProps.fullWidth) || buttonProps.fullWidth,
106
+ children: [/*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
107
+ ref: ref,
108
+ onClick: handleClick,
109
+ disabled: isLoading,
110
+ isLoading: isLoading
111
+ }, buttonProps), {}, {
112
+ children: label
113
+ })), /*#__PURE__*/jsx(CaretButton, {
114
+ onClick: handleToggle,
115
+ disabled: isLoading,
116
+ color: buttonProps.color,
117
+ variant: buttonProps.variant,
118
+ "aria-haspopup": "menu",
119
+ "aria-controls": open ? uid : undefined,
120
+ "aria-expanded": open ? 'true' : undefined,
121
+ children: /*#__PURE__*/jsx(CaretDownIcon, {})
122
+ })]
123
+ })), /*#__PURE__*/jsx(Popover, {
124
+ open: open,
125
+ onClose: handleClose,
126
+ anchorEl: anchorRef.current,
127
+ anchorOrigin: {
128
+ vertical: 'bottom',
129
+ horizontal: 'left'
130
+ },
131
+ children: /*#__PURE__*/jsx("div", {
132
+ style: {
133
+ minWidth: (_anchorRef$current2 = anchorRef.current) === null || _anchorRef$current2 === void 0 ? void 0 : _anchorRef$current2.clientWidth
134
+ },
135
+ children: /*#__PURE__*/jsx(MenuList, _objectSpread(_objectSpread({}, MenuListProps), {}, {
136
+ id: uid,
137
+ onClick: () => {
138
+ setOpen(false);
139
+ },
140
+ children: children
141
+ }))
142
+ })
143
+ })]
144
+ });
145
+ });
146
+ if (process.env.NODE_ENV !== "production") DropdownButton.displayName = "DropdownButton";
147
+
148
+ var _excluded$2 = ["items"];
46
149
 
47
150
  function useResizeObserver(node, observer) {
48
151
  var handler = useEventHandler(observer);
@@ -73,7 +176,7 @@ var AdaptiveToolbar = /*#__PURE__*/forwardRef((_ref, ref) => {
73
176
  var {
74
177
  items
75
178
  } = _ref,
76
- props = _objectWithoutProperties(_ref, _excluded$1);
179
+ props = _objectWithoutProperties(_ref, _excluded$2);
77
180
 
78
181
  var styles = useStyles();
79
182
  var itemNodes = useRef([]);
@@ -116,7 +219,6 @@ var AdaptiveToolbar = /*#__PURE__*/forwardRef((_ref, ref) => {
116
219
  children: /*#__PURE__*/jsxs(Grid, {
117
220
  container: true,
118
221
  spacing: 1,
119
- wrap: "nowrap",
120
222
  ref: setRootNode,
121
223
  children: [/*#__PURE__*/jsx(Grid, {
122
224
  item: true,
@@ -131,7 +233,16 @@ var AdaptiveToolbar = /*#__PURE__*/forwardRef((_ref, ref) => {
131
233
  ref: node => {
132
234
  itemNodes.current[idx] = node;
133
235
  },
134
- children: /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
236
+ children: item.dropdown ? /*#__PURE__*/jsx(DropdownButton, _objectSpread(_objectSpread({
237
+ type: "button",
238
+ onClick: item.onClick,
239
+ label: item.label
240
+ }, item.ButtonProps), {}, {
241
+ children: item.dropdown.map(dropdownItem => /*#__PURE__*/jsx(MenuItem, {
242
+ onClick: dropdownItem.onClick,
243
+ children: dropdownItem.label
244
+ }, dropdownItem.key))
245
+ })) : /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
135
246
  type: "button",
136
247
  onClick: item.onClick
137
248
  }, item.ButtonProps), {}, {
@@ -162,15 +273,30 @@ var AdaptiveToolbar = /*#__PURE__*/forwardRef((_ref, ref) => {
162
273
  onClose: () => {
163
274
  setMenuButtonRef(undefined);
164
275
  },
165
- children: menuItems.map(item => /*#__PURE__*/jsx(MenuItem, {
166
- onClick: event => {
167
- var _item$onClick;
168
-
169
- (_item$onClick = item.onClick) === null || _item$onClick === void 0 ? void 0 : _item$onClick.call(item, event);
170
- setMenuButtonRef(undefined);
171
- },
172
- children: item.label
173
- }, item.key))
276
+ children: menuItems.map((item, index, arr) => {
277
+ var _item$dropdown;
278
+
279
+ var next = arr[index + 1];
280
+ return /*#__PURE__*/jsxs(Fragment, {
281
+ children: [/*#__PURE__*/jsx(MenuItem, {
282
+ onClick: event => {
283
+ var _item$onClick;
284
+
285
+ (_item$onClick = item.onClick) === null || _item$onClick === void 0 ? void 0 : _item$onClick.call(item, event);
286
+ setMenuButtonRef(undefined);
287
+ },
288
+ children: item.label
289
+ }, item.key), (_item$dropdown = item.dropdown) === null || _item$dropdown === void 0 ? void 0 : _item$dropdown.map(dropdownItem => /*#__PURE__*/jsx(MenuItem, {
290
+ onClick: event => {
291
+ var _dropdownItem$onClick;
292
+
293
+ (_dropdownItem$onClick = dropdownItem.onClick) === null || _dropdownItem$onClick === void 0 ? void 0 : _dropdownItem$onClick.call(dropdownItem, event);
294
+ setMenuButtonRef(undefined);
295
+ },
296
+ children: dropdownItem.label
297
+ }, dropdownItem.key)), next && item.groupKey !== next.groupKey && /*#__PURE__*/jsx(Divider, {})]
298
+ });
299
+ })
174
300
  })]
175
301
  })]
176
302
  })
@@ -197,6 +323,12 @@ var Color;
197
323
  Color["Grey400"] = "#323C4E";
198
324
  Color["Grey450"] = "#222F44";
199
325
  Color["Grey500"] = "#192334";
326
+ Color["Dark100"] = "#8F949E";
327
+ Color["Dark200"] = "#6A707C";
328
+ Color["Dark300"] = "#5B6371";
329
+ Color["Dark400"] = "#323C4E";
330
+ Color["Dark450"] = "#222F44";
331
+ Color["Dark500"] = "#192334";
200
332
  Color["Silver100"] = "#F6F7F8";
201
333
  Color["Silver200"] = "#F3F5F8";
202
334
  Color["Silver300"] = "#E8ECF0";
@@ -250,7 +382,7 @@ function isColorProp(name) {
250
382
  return typeof name == 'string' && Object.prototype.hasOwnProperty.call(Color, name);
251
383
  }
252
384
 
253
- var _excluded$2 = ["size", "icon", "isLoading", "classes", "disabled", "avatarRef", "className", "alt", "imgProps", "sizes", "src", "srcSet", "variant", "children"],
385
+ var _excluded$3 = ["size", "icon", "isLoading", "classes", "disabled", "avatarRef", "className", "alt", "imgProps", "sizes", "src", "srcSet", "variant", "children"],
254
386
  _excluded2 = ["button", "overlay", "progress", "withIcon", "sizeLarge"];
255
387
  var useStyles$1 = /*#__PURE__*/makeStyles(theme => {
256
388
  var sm = theme.breakpoints.up('sm');
@@ -360,7 +492,7 @@ var AvatarButton = /*#__PURE__*/forwardRef((_ref, ref) => {
360
492
  variant,
361
493
  children
362
494
  } = _ref,
363
- props = _objectWithoutProperties(_ref, _excluded$2);
495
+ props = _objectWithoutProperties(_ref, _excluded$3);
364
496
 
365
497
  var _useStyles = useStyles$1({
366
498
  classes
@@ -402,7 +534,7 @@ var AvatarButton = /*#__PURE__*/forwardRef((_ref, ref) => {
402
534
  });
403
535
  if (process.env.NODE_ENV !== "production") AvatarButton.displayName = "AvatarButton";
404
536
 
405
- var _excluded$3 = ["hint", "size", "error", "classes", "className", "children", "endIcon", "startIcon", "disabled"];
537
+ var _excluded$4 = ["hint", "size", "error", "classes", "className", "children", "endIcon", "startIcon", "disabled"];
406
538
  var useStyles$2 = /*#__PURE__*/makeStyles(theme => ({
407
539
  root: {
408
540
  width: '100%',
@@ -418,7 +550,7 @@ var useStyles$2 = /*#__PURE__*/makeStyles(theme => ({
418
550
  transition: theme.transitions.create(['color', 'box-shadow', 'border-color', 'background-color'])
419
551
  },
420
552
  disabled: {
421
- color: Color.Grey200,
553
+ color: Color.Dark200,
422
554
  borderColor: Color.Silver500,
423
555
  backgroundColor: Color.Silver100
424
556
  },
@@ -486,7 +618,7 @@ var CardButton = /*#__PURE__*/forwardRef((_ref, ref) => {
486
618
  startIcon,
487
619
  disabled
488
620
  } = _ref,
489
- props = _objectWithoutProperties(_ref, _excluded$3);
621
+ props = _objectWithoutProperties(_ref, _excluded$4);
490
622
 
491
623
  var styles = useStyles$2({
492
624
  classes
@@ -525,7 +657,7 @@ var CardButton = /*#__PURE__*/forwardRef((_ref, ref) => {
525
657
  });
526
658
  if (process.env.NODE_ENV !== "production") CardButton.displayName = "CardButton";
527
659
 
528
- var _excluded$4 = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
660
+ var _excluded$5 = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
529
661
  var CheckboxField = /*#__PURE__*/forwardRef((_ref, ref) => {
530
662
  var {
531
663
  label,
@@ -536,7 +668,7 @@ var CheckboxField = /*#__PURE__*/forwardRef((_ref, ref) => {
536
668
  helperText,
537
669
  FormControlLabelProps: formControlLabelProps
538
670
  } = _ref,
539
- props = _objectWithoutProperties(_ref, _excluded$4);
671
+ props = _objectWithoutProperties(_ref, _excluded$5);
540
672
 
541
673
  return /*#__PURE__*/jsxs(FormControl, {
542
674
  error: error,
@@ -557,7 +689,7 @@ var CheckboxField = /*#__PURE__*/forwardRef((_ref, ref) => {
557
689
  });
558
690
  if (process.env.NODE_ENV !== "production") CheckboxField.displayName = "CheckboxField";
559
691
 
560
- var _excluded$5 = ["FormGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
692
+ var _excluded$6 = ["FormGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
561
693
  var CheckboxGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
562
694
  var {
563
695
  FormGroupProps: formGroupProps,
@@ -567,7 +699,7 @@ var CheckboxGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
567
699
  FormHelperTextProps: formHelperTextProps,
568
700
  children
569
701
  } = _ref,
570
- formControlProps = _objectWithoutProperties(_ref, _excluded$5);
702
+ formControlProps = _objectWithoutProperties(_ref, _excluded$6);
571
703
 
572
704
  return /*#__PURE__*/jsxs(FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
573
705
  hiddenLabel: !label,
@@ -806,7 +938,7 @@ function renderChildren(node) {
806
938
  return node;
807
939
  }
808
940
 
809
- var _excluded$6 = ["render", "onChange"];
941
+ var _excluded$7 = ["render", "onChange"];
810
942
  function useVisibilityObserver(node) {
811
943
  var {
812
944
  threshold = 0,
@@ -842,7 +974,7 @@ function VisibilityObserver(_ref2) {
842
974
  render,
843
975
  onChange
844
976
  } = _ref2,
845
- options = _objectWithoutProperties(_ref2, _excluded$6);
977
+ options = _objectWithoutProperties(_ref2, _excluded$7);
846
978
 
847
979
  var [node, setNode] = useState(null);
848
980
  var visibility = useVisibilityObserver(node, options);
@@ -856,7 +988,7 @@ function VisibilityObserver(_ref2) {
856
988
  return renderChildren(children);
857
989
  }
858
990
 
859
- var _excluded$7 = ["title", "enterDelay"],
991
+ var _excluded$8 = ["title", "enterDelay"],
860
992
  _excluded2$1 = ["onClick", "children", "className", "disableUnderline", "TooltipProps"];
861
993
  var useStyles$3 = /*#__PURE__*/makeStyles(theme => ({
862
994
  root: {
@@ -888,7 +1020,7 @@ var OverflowText = /*#__PURE__*/forwardRef((_ref, rootRef) => {
888
1020
  enterDelay = 1000
889
1021
  } = {}
890
1022
  } = _ref,
891
- tooltipProps = _objectWithoutProperties(_ref.TooltipProps, _excluded$7),
1023
+ tooltipProps = _objectWithoutProperties(_ref.TooltipProps, _excluded$8),
892
1024
  props = _objectWithoutProperties(_ref, _excluded2$1);
893
1025
 
894
1026
  var [isOpen, setIsOpen] = useState(false);
@@ -940,7 +1072,7 @@ function useUID(defaultID) {
940
1072
  return defaultID || uid;
941
1073
  }
942
1074
 
943
- var _excluded$8 = ["size"];
1075
+ var _excluded$9 = ["size"];
944
1076
 
945
1077
  function sizeVariant(theme, mobileSpacing, desktopSpacing) {
946
1078
  return {
@@ -967,7 +1099,7 @@ var useStyles$4 = /*#__PURE__*/makeStyles(theme => ({
967
1099
  display: 'inline-flex',
968
1100
  marginRight: theme.spacing(1),
969
1101
  '& > .MuiSvgIcon-root': {
970
- color: Color.Grey100,
1102
+ color: Color.Dark100,
971
1103
  fontSize: theme.spacing(3),
972
1104
  [theme.breakpoints.up('sm')]: {
973
1105
  fontSize: theme.spacing(2)
@@ -984,7 +1116,7 @@ var DescriptionList = /*#__PURE__*/forwardRef((_ref, ref) => {
984
1116
  var {
985
1117
  size
986
1118
  } = _ref,
987
- props = _objectWithoutProperties(_ref, _excluded$8);
1119
+ props = _objectWithoutProperties(_ref, _excluded$9);
988
1120
 
989
1121
  var styles = useStyles$4();
990
1122
  return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({}, props), {}, {
@@ -1040,7 +1172,7 @@ var DescriptionListItem = /*#__PURE__*/forwardRef((_ref2, ref) => {
1040
1172
  });
1041
1173
  if (process.env.NODE_ENV !== "production") DescriptionListItem.displayName = "DescriptionListItem";
1042
1174
 
1043
- var _excluded$9 = ["children", "className"];
1175
+ var _excluded$a = ["children", "className"];
1044
1176
  var useStyles$5 = /*#__PURE__*/makeStyles(theme => ({
1045
1177
  appBar: {
1046
1178
  '&&': {
@@ -1074,7 +1206,7 @@ var DrawerActions = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
1074
1206
  children,
1075
1207
  className
1076
1208
  } = _ref,
1077
- props = _objectWithoutProperties(_ref, _excluded$9);
1209
+ props = _objectWithoutProperties(_ref, _excluded$a);
1078
1210
 
1079
1211
  var styles = useStyles$5();
1080
1212
  return /*#__PURE__*/jsx(VisibilityObserver, {
@@ -1101,7 +1233,7 @@ var DrawerActions = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
1101
1233
  });
1102
1234
  if (process.env.NODE_ENV !== "production") DrawerActions.displayName = "DrawerActions";
1103
1235
 
1104
- var _excluded$a = ["className"];
1236
+ var _excluded$b = ["className"];
1105
1237
  var useStyles$6 = /*#__PURE__*/makeStyles(theme => ({
1106
1238
  root: {
1107
1239
  maxWidth: '100%',
@@ -1117,7 +1249,7 @@ var DrawerContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1117
1249
  var {
1118
1250
  className
1119
1251
  } = _ref,
1120
- props = _objectWithoutProperties(_ref, _excluded$a);
1252
+ props = _objectWithoutProperties(_ref, _excluded$b);
1121
1253
 
1122
1254
  var styles = useStyles$6();
1123
1255
  return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({}, props), {}, {
@@ -1127,7 +1259,7 @@ var DrawerContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1127
1259
  });
1128
1260
  if (process.env.NODE_ENV !== "production") DrawerContent.displayName = "DrawerContent";
1129
1261
 
1130
- var _excluded$b = ["className"];
1262
+ var _excluded$c = ["className"];
1131
1263
 
1132
1264
  function listItemMixins(theme, space) {
1133
1265
  return {
@@ -1160,7 +1292,7 @@ var DrawerList = /*#__PURE__*/forwardRef((_ref, ref) => {
1160
1292
  var {
1161
1293
  className
1162
1294
  } = _ref,
1163
- props = _objectWithoutProperties(_ref, _excluded$b);
1295
+ props = _objectWithoutProperties(_ref, _excluded$c);
1164
1296
 
1165
1297
  var styles = useStyles$7();
1166
1298
  return /*#__PURE__*/jsx(List, _objectSpread(_objectSpread({}, props), {}, {
@@ -1171,7 +1303,7 @@ var DrawerList = /*#__PURE__*/forwardRef((_ref, ref) => {
1171
1303
  });
1172
1304
  if (process.env.NODE_ENV !== "production") DrawerList.displayName = "DrawerList";
1173
1305
 
1174
- var _excluded$c = ["title", "titleTypographyProps", "subtitle", "subtitleTypographyProps", "startAction", "endAction", "className"];
1306
+ var _excluded$d = ["title", "titleTypographyProps", "subtitle", "subtitleTypographyProps", "startAction", "endAction", "className"];
1175
1307
  var useStyles$8 = /*#__PURE__*/makeStyles(theme => ({
1176
1308
  appBar: {
1177
1309
  '&&': {
@@ -1220,7 +1352,7 @@ var DrawerTitle = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
1220
1352
  endAction,
1221
1353
  className
1222
1354
  } = _ref,
1223
- props = _objectWithoutProperties(_ref, _excluded$c);
1355
+ props = _objectWithoutProperties(_ref, _excluded$d);
1224
1356
 
1225
1357
  var styles = useStyles$8();
1226
1358
  return /*#__PURE__*/jsx(VisibilityObserver, {
@@ -1274,7 +1406,7 @@ var DrawerTitle = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
1274
1406
  });
1275
1407
  if (process.env.NODE_ENV !== "production") DrawerTitle.displayName = "DrawerTitle";
1276
1408
 
1277
- var _excluded$d = ["children", "alignItems"];
1409
+ var _excluded$e = ["children", "alignItems"];
1278
1410
 
1279
1411
  /**
1280
1412
  * @deprecated in favor of `Stack`.
@@ -1284,7 +1416,7 @@ var GridStack = /*#__PURE__*/forwardRef((_ref, ref) => {
1284
1416
  children,
1285
1417
  alignItems = 'stretch'
1286
1418
  } = _ref,
1287
- props = _objectWithoutProperties(_ref, _excluded$d);
1419
+ props = _objectWithoutProperties(_ref, _excluded$e);
1288
1420
 
1289
1421
  var items = Children.toArray(children);
1290
1422
  return /*#__PURE__*/jsx(Grid, _objectSpread(_objectSpread({}, props), {}, {
@@ -1303,7 +1435,7 @@ var GridStack = /*#__PURE__*/forwardRef((_ref, ref) => {
1303
1435
  });
1304
1436
  if (process.env.NODE_ENV !== "production") GridStack.displayName = "GridStack";
1305
1437
 
1306
- var _excluded$e = ["children", "wrap", "justify", "alignItems"];
1438
+ var _excluded$f = ["children", "wrap", "justify", "alignItems"];
1307
1439
 
1308
1440
  /**
1309
1441
  * @deprecated in favor of `Inline` component.
@@ -1315,7 +1447,7 @@ var InlineGrid = /*#__PURE__*/forwardRef((_ref, ref) => {
1315
1447
  justify = 'flex-start',
1316
1448
  alignItems = 'flex-start'
1317
1449
  } = _ref,
1318
- props = _objectWithoutProperties(_ref, _excluded$e);
1450
+ props = _objectWithoutProperties(_ref, _excluded$f);
1319
1451
 
1320
1452
  var items = Children.toArray(children);
1321
1453
  return /*#__PURE__*/jsx(Grid, _objectSpread(_objectSpread({}, props), {}, {
@@ -1333,19 +1465,29 @@ var InlineGrid = /*#__PURE__*/forwardRef((_ref, ref) => {
1333
1465
  });
1334
1466
  if (process.env.NODE_ENV !== "production") InlineGrid.displayName = "InlineGrid";
1335
1467
 
1336
- var _excluded$f = ["size", "square", "classes", "children", "className", "CardContentProps"],
1337
- _excluded2$2 = ["content", "sizeLarge", "fullWidth"];
1468
+ function mergeRefs() {
1469
+ for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
1470
+ refs[_key] = arguments[_key];
1471
+ }
1338
1472
 
1473
+ return node => {
1474
+ refs.forEach(ref => {
1475
+ assignRef(ref, node);
1476
+ });
1477
+ };
1478
+ }
1339
1479
  function assignRef(ref, value) {
1340
1480
  if (ref) {
1341
- if (typeof ref === 'object') {
1342
- ref.current = value;
1343
- } else {
1481
+ if (typeof ref === 'function') {
1344
1482
  ref(value);
1483
+ } else {
1484
+ ref.current = value;
1345
1485
  }
1346
1486
  }
1347
1487
  }
1348
1488
 
1489
+ var _excluded$g = ["size", "square", "classes", "children", "className", "CardContentProps"],
1490
+ _excluded2$2 = ["content", "sizeLarge", "fullWidth"];
1349
1491
  var useStyles$9 = /*#__PURE__*/makeStyles(theme => ({
1350
1492
  root: {
1351
1493
  '&$fullWidth': {
@@ -1376,7 +1518,7 @@ var InfoCard = /*#__PURE__*/forwardRef((_ref, _ref2) => {
1376
1518
  className,
1377
1519
  CardContentProps: cardContentProps = {}
1378
1520
  } = _ref,
1379
- props = _objectWithoutProperties(_ref, _excluded$f);
1521
+ props = _objectWithoutProperties(_ref, _excluded$g);
1380
1522
 
1381
1523
  var _useStyles = useStyles$9({
1382
1524
  classes
@@ -1455,7 +1597,7 @@ var Inline = /*#__PURE__*/forwardRef((_ref2, ref) => {
1455
1597
  });
1456
1598
  if (process.env.NODE_ENV !== "production") Inline.displayName = "Inline";
1457
1599
 
1458
- var _excluded$g = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
1600
+ var _excluded$h = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlLabelProps"];
1459
1601
  var RadioField = /*#__PURE__*/forwardRef((_ref, ref) => {
1460
1602
  var {
1461
1603
  label,
@@ -1466,7 +1608,7 @@ var RadioField = /*#__PURE__*/forwardRef((_ref, ref) => {
1466
1608
  helperText,
1467
1609
  FormControlLabelProps: formControlLabelProps
1468
1610
  } = _ref,
1469
- props = _objectWithoutProperties(_ref, _excluded$g);
1611
+ props = _objectWithoutProperties(_ref, _excluded$h);
1470
1612
 
1471
1613
  return /*#__PURE__*/jsxs(FormControl, {
1472
1614
  error: error,
@@ -1486,7 +1628,7 @@ var RadioField = /*#__PURE__*/forwardRef((_ref, ref) => {
1486
1628
  });
1487
1629
  if (process.env.NODE_ENV !== "production") RadioField.displayName = "RadioField";
1488
1630
 
1489
- var _excluded$h = ["name", "value", "onChange", "RadioGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1631
+ var _excluded$i = ["name", "value", "onChange", "RadioGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1490
1632
  var RadioGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
1491
1633
  var {
1492
1634
  name,
@@ -1499,7 +1641,7 @@ var RadioGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
1499
1641
  FormHelperTextProps: formHelperTextProps,
1500
1642
  children
1501
1643
  } = _ref,
1502
- formControlProps = _objectWithoutProperties(_ref, _excluded$h);
1644
+ formControlProps = _objectWithoutProperties(_ref, _excluded$i);
1503
1645
 
1504
1646
  return /*#__PURE__*/jsxs(FormControl, _objectSpread(_objectSpread({}, formControlProps), {}, {
1505
1647
  hiddenLabel: !label,
@@ -1534,12 +1676,12 @@ function useCollapseBreakpoint(collapseBreakpoint) {
1534
1676
  return breakpointIDX < collapseBreakpointIDX;
1535
1677
  }
1536
1678
 
1537
- var _excluded$i = ["action", "children", "onClose", "className", "classes", "variant"],
1679
+ var _excluded$j = ["action", "children", "onClose", "className", "classes", "variant"],
1538
1680
  _excluded2$3 = ["icon", "closeButton", "variantError", "variantSuccess"];
1539
1681
  var useStyles$a = /*#__PURE__*/makeStyles(theme => ({
1540
1682
  root: {
1541
1683
  color: Color.White,
1542
- backgroundColor: Color.Grey500,
1684
+ backgroundColor: Color.Dark500,
1543
1685
  '&$variantError': {
1544
1686
  color: Color.White,
1545
1687
  backgroundColor: Color.Red500
@@ -1579,7 +1721,7 @@ var SnackbarContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1579
1721
  classes,
1580
1722
  variant = 'default'
1581
1723
  } = _ref,
1582
- props = _objectWithoutProperties(_ref, _excluded$i);
1724
+ props = _objectWithoutProperties(_ref, _excluded$j);
1583
1725
 
1584
1726
  var _useStyles = useStyles$a({
1585
1727
  classes
@@ -1629,7 +1771,7 @@ var SnackbarContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1629
1771
  });
1630
1772
  if (process.env.NODE_ENV !== "production") SnackbarContent.displayName = "SnackbarContent";
1631
1773
 
1632
- var _excluded$j = ["open", "action", "variant", "onClose", "children", "ContentProps", "hasCloseButton", "TransitionComponent"];
1774
+ var _excluded$k = ["open", "action", "variant", "onClose", "children", "ContentProps", "hasCloseButton", "TransitionComponent"];
1633
1775
 
1634
1776
  function SlideTransition(props) {
1635
1777
  return /*#__PURE__*/jsx(Slide, _objectSpread(_objectSpread({}, props), {}, {
@@ -1648,7 +1790,7 @@ var Snackbar = /*#__PURE__*/forwardRef((_ref, ref) => {
1648
1790
  hasCloseButton = onClose != null,
1649
1791
  TransitionComponent = SlideTransition
1650
1792
  } = _ref,
1651
- props = _objectWithoutProperties(_ref, _excluded$j);
1793
+ props = _objectWithoutProperties(_ref, _excluded$k);
1652
1794
 
1653
1795
  function handleClose(reason) {
1654
1796
  if (reason !== 'clickaway') {
@@ -1677,7 +1819,7 @@ var Snackbar = /*#__PURE__*/forwardRef((_ref, ref) => {
1677
1819
  });
1678
1820
  if (process.env.NODE_ENV !== "production") Snackbar.displayName = "Snackbar";
1679
1821
 
1680
- var _excluded$k = ["onClose", "variant", "key", "id", "autoHideDuration"];
1822
+ var _excluded$l = ["onClose", "variant", "key", "id", "autoHideDuration"];
1681
1823
 
1682
1824
  function warnContext() {
1683
1825
  // eslint-disable-next-line no-console
@@ -1723,7 +1865,7 @@ function SnackbarStackProvider(_ref2) {
1723
1865
  id = String(key),
1724
1866
  autoHideDuration = 5000
1725
1867
  } = _ref3,
1726
- props = _objectWithoutProperties(_ref3, _excluded$k);
1868
+ props = _objectWithoutProperties(_ref3, _excluded$l);
1727
1869
 
1728
1870
  function removeSnackbar() {
1729
1871
  setStack(prev => {
@@ -1820,7 +1962,7 @@ var Stack = /*#__PURE__*/forwardRef((_ref2, ref) => {
1820
1962
  });
1821
1963
  if (process.env.NODE_ENV !== "production") Stack.displayName = "Stack";
1822
1964
 
1823
- var _excluded$l = ["color", "variant", "children", "classes", "className", "noWrap", "fontWeight", "component"];
1965
+ var _excluded$m = ["color", "variant", "children", "classes", "className", "noWrap", "fontWeight", "component"];
1824
1966
  var useStyles$b = /*#__PURE__*/makeStyles(theme => ({
1825
1967
  root: {
1826
1968
  maxWidth: '100%',
@@ -1831,7 +1973,7 @@ var useStyles$b = /*#__PURE__*/makeStyles(theme => ({
1831
1973
  },
1832
1974
  variantSubtle: {
1833
1975
  '&$colorGrey': {
1834
- color: Color.Grey300,
1976
+ color: Color.Dark300,
1835
1977
  backgroundColor: Color.Silver200
1836
1978
  },
1837
1979
  '&$colorBlue': {
@@ -1862,7 +2004,7 @@ var useStyles$b = /*#__PURE__*/makeStyles(theme => ({
1862
2004
  variantBold: {
1863
2005
  color: Color.White,
1864
2006
  '&$colorGrey': {
1865
- backgroundColor: Color.Grey300
2007
+ backgroundColor: Color.Dark300
1866
2008
  },
1867
2009
  '&$colorBlue': {
1868
2010
  backgroundColor: Color.Blue500
@@ -1904,7 +2046,7 @@ var Tag = /*#__PURE__*/forwardRef((_ref, ref) => {
1904
2046
  fontWeight = 'bold',
1905
2047
  component = 'div'
1906
2048
  } = _ref,
1907
- props = _objectWithoutProperties(_ref, _excluded$l);
2049
+ props = _objectWithoutProperties(_ref, _excluded$m);
1908
2050
 
1909
2051
  var styles = useStyles$b({
1910
2052
  classes
@@ -2015,7 +2157,7 @@ function overrideAvatar(theme) {
2015
2157
  }
2016
2158
  }),
2017
2159
  colorDefault: {
2018
- color: Color.Grey300,
2160
+ color: Color.Dark300,
2019
2161
  backgroundColor: Color.Silver300
2020
2162
  }
2021
2163
  };
@@ -2210,7 +2352,7 @@ function overrideButton(theme) {
2210
2352
  '&[data-color="success"]': outlinedVariant(Color.Green300, Color.Green300, Color.Green100, Color.Green100, Color.Green300, Color.Green300, Color.Green100, Color.Green50, Color.Green300, Color.White),
2211
2353
  '&[data-color="white"]': outlinedVariant(Color.White, Color.White50, Color.White50, Color.White40, Color.White, Color.White50, Color.White40, Color.White10, Color.White50, Color.Transparent)
2212
2354
  },
2213
- outlinedPrimary: outlinedVariant(Color.Grey500, Color.Silver500, Color.Silver500, Color.Silver400, Color.Blue300, Color.Blue300, Color.Blue100, Color.Blue50, Color.Grey200, Color.White),
2355
+ outlinedPrimary: outlinedVariant(Color.Dark500, Color.Silver500, Color.Silver500, Color.Silver400, Color.Blue300, Color.Blue300, Color.Blue100, Color.Blue50, Color.Dark200, Color.White),
2214
2356
  outlinedSizeSmall: {
2215
2357
  padding: undefined,
2216
2358
  fontSize: undefined
@@ -2316,7 +2458,7 @@ function overrideCheckbox(theme) {
2316
2458
  };
2317
2459
  theme.overrides.MuiCheckbox = {
2318
2460
  root: {
2319
- color: Color.Grey100,
2461
+ color: Color.Dark100,
2320
2462
  marginTop: theme.spacing(-0.625),
2321
2463
  marginBottom: theme.spacing(-0.625)
2322
2464
  },
@@ -2325,7 +2467,7 @@ function overrideCheckbox(theme) {
2325
2467
  color: Color.Silver500
2326
2468
  },
2327
2469
  '&:hover:not($checked)': {
2328
- color: Color.Grey100
2470
+ color: Color.Dark100
2329
2471
  }
2330
2472
  }
2331
2473
  };
@@ -2354,7 +2496,7 @@ function overrideChip(theme) {
2354
2496
  backgroundColor: Color.Silver200,
2355
2497
  '&$disabled': {
2356
2498
  opacity: undefined,
2357
- color: Color.Grey100
2499
+ color: Color.Dark100
2358
2500
  }
2359
2501
  }),
2360
2502
  sizeSmall: {
@@ -2400,7 +2542,7 @@ function overrideChip(theme) {
2400
2542
  },
2401
2543
  '& > svg': {
2402
2544
  borderRadius: '50%',
2403
- color: Color.Grey200,
2545
+ color: Color.Dark200,
2404
2546
  fontSize: '1em'
2405
2547
  }
2406
2548
  },
@@ -2415,7 +2557,7 @@ function overrideChip(theme) {
2415
2557
  }
2416
2558
  },
2417
2559
  icon: {
2418
- color: Color.Grey100,
2560
+ color: Color.Dark100,
2419
2561
  fontSize: '1em',
2420
2562
  marginRight: undefined
2421
2563
  },
@@ -2438,6 +2580,14 @@ function overrideDialog(theme) {
2438
2580
  theme.overrides.MuiDialog = {
2439
2581
  paper: {
2440
2582
  margin: theme.spacing(3)
2583
+ },
2584
+ paperWidthXs: {
2585
+ maxWidth: Math.max(theme.breakpoints.values.xs, 360),
2586
+ '&$paperScrollBody': {
2587
+ [theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 360) + 32 * 2)]: {
2588
+ maxWidth: 'calc(100% - 64px)'
2589
+ }
2590
+ }
2441
2591
  }
2442
2592
  };
2443
2593
  theme.overrides.MuiDialogTitle = {
@@ -2479,7 +2629,7 @@ function overrideDrawer(theme) {
2479
2629
  function overrideIconButton(theme) {
2480
2630
  theme.overrides.MuiIconButton = {
2481
2631
  root: {
2482
- color: Color.Grey100,
2632
+ color: Color.Dark100,
2483
2633
  backgroundColor: Color.Transparent,
2484
2634
  transition: theme.transitions.create(['color', 'background-color'], {
2485
2635
  duration: theme.transitions.duration.short
@@ -2488,10 +2638,10 @@ function overrideIconButton(theme) {
2488
2638
  backgroundColor: Color.Transparent
2489
2639
  },
2490
2640
  '&:active': {
2491
- color: Color.Grey500
2641
+ color: Color.Dark500
2492
2642
  },
2493
2643
  '&:hover ': {
2494
- color: Color.Grey300
2644
+ color: Color.Dark300
2495
2645
  },
2496
2646
  '&:focus': {
2497
2647
  backgroundColor: Color.Silver400
@@ -2599,7 +2749,7 @@ function overridePagination(theme) {
2599
2749
  var props = {};
2600
2750
  var overrides = {
2601
2751
  root: {
2602
- color: Color.Grey400
2752
+ color: Color.Dark400
2603
2753
  },
2604
2754
  page: {
2605
2755
  '&:hover': {
@@ -2616,13 +2766,13 @@ function overridePagination(theme) {
2616
2766
  backgroundColor: Color.Silver400
2617
2767
  },
2618
2768
  '&$disabled': {
2619
- color: Color.Grey100,
2769
+ color: Color.Dark100,
2620
2770
  backgroundColor: Color.Silver400
2621
2771
  }
2622
2772
  },
2623
2773
  '&$disabled': {
2624
2774
  opacity: undefined,
2625
- color: Color.Grey100
2775
+ color: Color.Dark100
2626
2776
  }
2627
2777
  }
2628
2778
  }; // Remove `Object.assign` after official release of `PaginationItem`.
@@ -2675,7 +2825,7 @@ function overrideRadio(theme) {
2675
2825
  };
2676
2826
  theme.overrides.MuiRadio = {
2677
2827
  root: {
2678
- color: Color.Grey100,
2828
+ color: Color.Dark100,
2679
2829
  marginTop: theme.spacing(-0.625),
2680
2830
  marginBottom: theme.spacing(-0.625)
2681
2831
  },
@@ -2684,7 +2834,7 @@ function overrideRadio(theme) {
2684
2834
  color: Color.Silver500
2685
2835
  },
2686
2836
  '&:hover:not($checked)': {
2687
- color: Color.Grey100
2837
+ color: Color.Dark100
2688
2838
  }
2689
2839
  }
2690
2840
  };
@@ -2736,7 +2886,7 @@ function overrideSvgIcon(theme) {
2736
2886
  fontSize: 'var(--mui-svg-icon-size, 32px)'
2737
2887
  },
2738
2888
  colorAction: {
2739
- color: Color.Grey100
2889
+ color: Color.Dark100
2740
2890
  }
2741
2891
  };
2742
2892
  }
@@ -2819,7 +2969,7 @@ function overrideSwitch(theme) {
2819
2969
  backgroundColor: Color.Blue100
2820
2970
  },
2821
2971
  '&:hover + $track': {
2822
- backgroundColor: Color.Grey100
2972
+ backgroundColor: Color.Dark100
2823
2973
  },
2824
2974
  '&.Mui-focusVisible + $track': {
2825
2975
  boxShadow: "0 0 0 3px ".concat(Color.Blue100)
@@ -2840,7 +2990,7 @@ function overrideTabs(theme) {
2840
2990
  },
2841
2991
  scrollButtons: {
2842
2992
  opacity: 1,
2843
- color: Color.Grey100,
2993
+ color: Color.Dark100,
2844
2994
  width: theme.spacing(4),
2845
2995
  transition: theme.transitions.create('opacity', {
2846
2996
  duration: theme.transitions.duration.short
@@ -2860,7 +3010,7 @@ function overrideTabs(theme) {
2860
3010
  }
2861
3011
  }),
2862
3012
  textColorPrimary: {
2863
- color: Color.Grey500,
3013
+ color: Color.Dark500,
2864
3014
  '&:hover, &:focus': {
2865
3015
  color: Color.Blue300
2866
3016
  }
@@ -2886,7 +3036,7 @@ function overrideTextField(theme) {
2886
3036
  };
2887
3037
  theme.overrides.MuiFormLabel = {
2888
3038
  root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
2889
- color: Color.Grey400,
3039
+ color: Color.Dark400,
2890
3040
  '&$error': {
2891
3041
  color: undefined
2892
3042
  },
@@ -2981,7 +3131,7 @@ function overrideTextField(theme) {
2981
3131
  icon: {
2982
3132
  top: 'calc(50% - 0.5em)',
2983
3133
  '$disabled &': {
2984
- color: Color.Grey100
3134
+ color: Color.Dark100
2985
3135
  },
2986
3136
  fontSize: theme.spacing(3),
2987
3137
  [sm]: {
@@ -3069,7 +3219,7 @@ function overrideTooltip(theme) {
3069
3219
  theme.overrides.MuiTooltip = {
3070
3220
  tooltip: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
3071
3221
  padding: theme.spacing(1, 1.5),
3072
- backgroundColor: Color.Grey400
3222
+ backgroundColor: Color.Dark400
3073
3223
  }),
3074
3224
  popperArrow: {
3075
3225
  '&[x-placement*="top"] $arrow': {
@@ -3094,7 +3244,7 @@ function overrideTooltip(theme) {
3094
3244
  }
3095
3245
  },
3096
3246
  arrow: {
3097
- color: Color.Grey400,
3247
+ color: Color.Dark400,
3098
3248
  fontSize: theme.spacing(1)
3099
3249
  }
3100
3250
  };
@@ -3227,10 +3377,10 @@ function createSuperDispatchTheme() {
3227
3377
  disabled: Color.Silver400
3228
3378
  },
3229
3379
  text: {
3230
- primary: Color.Grey500,
3231
- secondary: Color.Grey200,
3232
- hint: Color.Grey100,
3233
- disabled: Color.Grey100
3380
+ primary: Color.Dark500,
3381
+ secondary: Color.Dark200,
3382
+ hint: Color.Dark100,
3383
+ disabled: Color.Dark100
3234
3384
  },
3235
3385
  divider: Color.Silver400
3236
3386
  },
@@ -3409,23 +3559,5 @@ var Tiles = /*#__PURE__*/forwardRef((_ref, ref) => {
3409
3559
  });
3410
3560
  if (process.env.NODE_ENV !== "production") Tiles.displayName = "Tiles";
3411
3561
 
3412
- function mergeRefs() {
3413
- for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
3414
- refs[_key] = arguments[_key];
3415
- }
3416
-
3417
- return node => {
3418
- refs.forEach(ref => {
3419
- if (ref) {
3420
- if (typeof ref === 'function') {
3421
- ref(node);
3422
- } else {
3423
- ref.current = node;
3424
- }
3425
- }
3426
- });
3427
- };
3428
- }
3429
-
3430
- export { AdaptiveToolbar, AvatarButton, Button, CardButton, CheckboxField, CheckboxGroupField, Color, Column, Columns, DescriptionList, DescriptionListItem, DrawerActions, DrawerContent, DrawerList, DrawerTitle, GridStack, InfoCard, Inline, InlineGrid, OverflowText, RadioField, RadioGroupField, ResponsiveContextProvider, Snackbar, SnackbarContent, SnackbarStackConsumer, SnackbarStackProvider, Stack, Tag, ThemeProvider, Tiles, VisibilityObserver, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
3562
+ export { AdaptiveToolbar, AvatarButton, Button, CardButton, CheckboxField, CheckboxGroupField, Color, Column, Columns, DescriptionList, DescriptionListItem, DrawerActions, DrawerContent, DrawerList, DrawerTitle, DropdownButton, GridStack, InfoCard, Inline, InlineGrid, OverflowText, RadioField, RadioGroupField, ResponsiveContextProvider, Snackbar, SnackbarContent, SnackbarStackConsumer, SnackbarStackProvider, Stack, Tag, ThemeProvider, Tiles, VisibilityObserver, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
3431
3563
  //# sourceMappingURL=index.js.map