@superdispatch/ui 0.41.0 → 0.43.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
- import { Button as Button$1, CircularProgress, ButtonGroup, Popover, MenuList, Toolbar, Grid, MenuItem, Typography, Menu, Divider, ButtonBase, Avatar, FormHelperText as FormHelperText$4, FormControlLabel as FormControlLabel$1, Checkbox, FormControl as FormControl$2, FormLabel as FormLabel$2, FormGroup, useMediaQuery, Tooltip, SvgIcon, AppBar, List, useTheme, Card as Card$1, CardContent, IconButton, TextField, Radio, RadioGroup, SnackbarContent as SnackbarContent$1, Portal, Snackbar as Snackbar$1, Slide, alpha, CssBaseline, createTheme as createTheme$1, createGenerateClassName } from '@material-ui/core';
4
- import { MoreHoriz, Info, Close, Error, CheckCircle } from '@material-ui/icons';
3
+ import { Button as Button$1, CircularProgress, ButtonGroup, Popover, MenuList, Toolbar, Grid, MenuItem, Typography, Menu, Divider, AppBar, Drawer, IconButton, ButtonBase, Avatar, FormHelperText as FormHelperText$4, FormControlLabel as FormControlLabel$1, Checkbox, FormControl as FormControl$2, FormLabel as FormLabel$2, FormGroup, useMediaQuery, Tooltip, SvgIcon, List, useTheme, Card as Card$1, CardContent, TextField, Radio, RadioGroup, SnackbarContent as SnackbarContent$1, Portal, Snackbar as Snackbar$1, Slide, alpha, CssBaseline, createTheme as createTheme$1, createGenerateClassName } from '@material-ui/core';
4
+ import { MoreHoriz, ArrowBack, Close, Info, Error, CheckCircle } from '@material-ui/icons';
5
5
  import { makeStyles, StylesProvider, ThemeProvider as ThemeProvider$1 } from '@material-ui/styles';
6
6
  import { forwardRef, useState, useRef, useLayoutEffect, cloneElement, useMemo, useContext, createContext, Children, useCallback, useEffect } from 'react';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
  import styled, { css, createGlobalStyle, ThemeProvider as ThemeProvider$3 } from 'styled-components';
9
9
  import { ResizeObserver } from '@juggle/resize-observer';
10
- import { useEventHandler, useDeepEqualValue, useValueObserver, useDeepEqualMemo } from '@superdispatch/hooks';
11
- import clsx from 'clsx';
10
+ import { useEventHandler, useValueObserver, useDeepEqualValue, useDeepEqualMemo } from '@superdispatch/hooks';
11
+ import { clsx } from 'clsx';
12
12
  import flattenChildren from 'react-keyed-flatten-children';
13
13
  import { renderChildren as renderChildren$1 } from '@superdispatch/ui';
14
14
  import { NumericFormat, PatternFormat } from 'react-number-format';
@@ -677,9 +677,340 @@ function isColorPropDark(name) {
677
677
  return typeof name == 'string' && Object.prototype.hasOwnProperty.call(ColorDark, name);
678
678
  }
679
679
 
680
- var _excluded$3 = ["size", "icon", "isLoading", "classes", "disabled", "avatarRef", "className", "alt", "imgProps", "sizes", "src", "srcSet", "variant", "children"],
680
+ function renderChildren(node) {
681
+ if (node == null || typeof node == 'boolean') {
682
+ return null;
683
+ }
684
+
685
+ // Workaround for https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18051
686
+ return node;
687
+ }
688
+
689
+ var _excluded$3 = ["render", "onChange"];
690
+ function useVisibilityObserver(node) {
691
+ var {
692
+ threshold = 0,
693
+ marginTop = '0px',
694
+ marginLeft = '0px',
695
+ marginRight = '0px',
696
+ marginBottom = '0px'
697
+ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
698
+ var [state, setState] = useState('undetermined');
699
+ var rootMargin = "".concat(marginTop, " ").concat(marginRight, " ").concat(marginBottom, " ").concat(marginLeft);
700
+ useLayoutEffect(() => {
701
+ if (!node || !('IntersectionObserver' in window)) {
702
+ setState('undetermined');
703
+ return;
704
+ }
705
+ var observer = new IntersectionObserver(_ref => {
706
+ var [entry] = _ref;
707
+ setState(entry !== null && entry !== void 0 && entry.isIntersecting && document.visibilityState === 'visible' ? 'visible' : 'invisible');
708
+ }, {
709
+ rootMargin,
710
+ threshold
711
+ });
712
+ observer.observe(node);
713
+ return () => {
714
+ observer.disconnect();
715
+ };
716
+ }, [node, threshold, rootMargin]);
717
+ return state;
718
+ }
719
+ function VisibilityObserver(_ref2) {
720
+ var {
721
+ render,
722
+ onChange
723
+ } = _ref2,
724
+ options = _objectWithoutProperties(_ref2, _excluded$3);
725
+ var [node, setNode] = useState(null);
726
+ var visibility = useVisibilityObserver(node, options);
727
+ var children = render({
728
+ ref: setNode,
729
+ visibility
730
+ });
731
+ useValueObserver(visibility, () => {
732
+ onChange === null || onChange === void 0 ? void 0 : onChange(visibility);
733
+ });
734
+ return renderChildren(children);
735
+ }
736
+
737
+ var _excluded$4 = ["children", "className"];
738
+ var useStyles$2 = /*#__PURE__*/makeStyles(theme => ({
739
+ appBar: {
740
+ '&&': {
741
+ bottom: 0,
742
+ top: 'auto',
743
+ borderLeft: 'none',
744
+ borderRight: 'none',
745
+ borderBottom: 'none',
746
+ transition: theme.transitions.create(['border-color']),
747
+ '&:not($appBarSticky)': {
748
+ borderTopColor: ColorDynamic.Transparent
749
+ }
750
+ }
751
+ },
752
+ appBarSticky: {},
753
+ toolbar: {
754
+ '&.MuiToolbar-gutters': {
755
+ paddingLeft: theme.spacing(3),
756
+ paddingRight: theme.spacing(3),
757
+ [theme.breakpoints.up('md')]: {
758
+ paddingLeft: theme.spacing(4),
759
+ paddingRight: theme.spacing(4)
760
+ }
761
+ }
762
+ }
763
+ }), {
764
+ name: 'SD-DrawerActions'
765
+ });
766
+ /** @deprecated Use `<AppDrawer>` instead. */
767
+ var DrawerActions = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
768
+ var {
769
+ children,
770
+ className
771
+ } = _ref,
772
+ props = _objectWithoutProperties(_ref, _excluded$4);
773
+ var styles = useStyles$2();
774
+ return /*#__PURE__*/jsx(VisibilityObserver, {
775
+ render: _ref2 => {
776
+ var {
777
+ ref,
778
+ visibility
779
+ } = _ref2;
780
+ return /*#__PURE__*/jsxs(Fragment, {
781
+ children: [/*#__PURE__*/jsx(AppBar, _objectSpread(_objectSpread({}, props), {}, {
782
+ ref: appBarRef,
783
+ position: "sticky",
784
+ className: clsx(className, styles.appBar, {
785
+ [styles.appBarSticky]: visibility === 'invisible'
786
+ }),
787
+ children: /*#__PURE__*/jsx(Toolbar, {
788
+ className: styles.toolbar,
789
+ children: children
790
+ })
791
+ })), /*#__PURE__*/jsx("div", {
792
+ ref: ref
793
+ })]
794
+ });
795
+ }
796
+ });
797
+ });
798
+ if (process.env.NODE_ENV !== "production") DrawerActions.displayName = "DrawerActions";
799
+
800
+ var _excluded$5 = ["className"];
801
+ var useStyles$3 = /*#__PURE__*/makeStyles(theme => ({
802
+ root: {
803
+ maxWidth: '100%',
804
+ padding: theme.spacing(2, 3),
805
+ [theme.breakpoints.up('md')]: {
806
+ padding: theme.spacing(2, 4)
807
+ }
808
+ }
809
+ }), {
810
+ name: 'SD-DrawerContent'
811
+ });
812
+ /** @deprecated Use `<AppDrawer>` instead. */
813
+ var DrawerContent = /*#__PURE__*/forwardRef((_ref, ref) => {
814
+ var {
815
+ className
816
+ } = _ref,
817
+ props = _objectWithoutProperties(_ref, _excluded$5);
818
+ var styles = useStyles$3();
819
+ return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({}, props), {}, {
820
+ ref: ref,
821
+ className: clsx(styles.root, className)
822
+ }));
823
+ });
824
+ if (process.env.NODE_ENV !== "production") DrawerContent.displayName = "DrawerContent";
825
+
826
+ var _excluded$6 = ["title", "titleTypographyProps", "subtitle", "subtitleTypographyProps", "startAction", "endAction", "className"];
827
+ var useStyles$4 = /*#__PURE__*/makeStyles(theme => ({
828
+ appBar: {
829
+ '&&': {
830
+ borderTop: 'none',
831
+ borderLeft: 'none',
832
+ borderRight: 'none',
833
+ transition: theme.transitions.create(['border-color']),
834
+ '&:not($appBarSticky)': {
835
+ borderBottomColor: ColorDynamic.Transparent
836
+ }
837
+ }
838
+ },
839
+ appBarSticky: {},
840
+ toolbar: {
841
+ '&.MuiToolbar-gutters': {
842
+ paddingLeft: theme.spacing(3),
843
+ paddingRight: theme.spacing(3),
844
+ [theme.breakpoints.up('md')]: {
845
+ paddingLeft: theme.spacing(4),
846
+ paddingRight: theme.spacing(4)
847
+ }
848
+ }
849
+ },
850
+ startAction: {
851
+ marginRight: theme.spacing(0.5),
852
+ '& .MuiIconButton-edgeStart': {
853
+ marginLeft: theme.spacing(-2)
854
+ }
855
+ },
856
+ endAction: {
857
+ marginLeft: theme.spacing(0.5),
858
+ '& .MuiIconButton-edgeEnd': {
859
+ marginRight: theme.spacing(-2)
860
+ }
861
+ }
862
+ }), {
863
+ name: 'SD-DrawerTitle'
864
+ });
865
+ /** @deprecated Use `<AppDrawer>` instead. */
866
+ var DrawerTitle = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
867
+ var {
868
+ title,
869
+ titleTypographyProps,
870
+ subtitle,
871
+ subtitleTypographyProps,
872
+ startAction,
873
+ endAction,
874
+ className
875
+ } = _ref,
876
+ props = _objectWithoutProperties(_ref, _excluded$6);
877
+ var styles = useStyles$4();
878
+ return /*#__PURE__*/jsx(VisibilityObserver, {
879
+ render: _ref2 => {
880
+ var {
881
+ ref,
882
+ visibility
883
+ } = _ref2;
884
+ return /*#__PURE__*/jsxs(Fragment, {
885
+ children: [/*#__PURE__*/jsx("div", {
886
+ ref: ref
887
+ }), /*#__PURE__*/jsx(AppBar, _objectSpread(_objectSpread({}, props), {}, {
888
+ ref: appBarRef,
889
+ position: "sticky",
890
+ className: clsx(styles.appBar, className, {
891
+ [styles.appBarSticky]: visibility === 'invisible'
892
+ }),
893
+ children: /*#__PURE__*/jsx(Toolbar, {
894
+ className: styles.toolbar,
895
+ children: /*#__PURE__*/jsxs(Grid, {
896
+ container: true,
897
+ direction: "column",
898
+ children: [/*#__PURE__*/jsx(Grid, {
899
+ item: true,
900
+ children: /*#__PURE__*/jsxs(Grid, {
901
+ container: true,
902
+ alignItems: "center",
903
+ children: [!!startAction && /*#__PURE__*/jsx(Grid, {
904
+ item: true,
905
+ className: styles.startAction,
906
+ children: startAction
907
+ }), /*#__PURE__*/jsx(Grid, {
908
+ item: true,
909
+ xs: true,
910
+ zeroMinWidth: true,
911
+ children: /*#__PURE__*/jsx(Typography, _objectSpread(_objectSpread({
912
+ variant: "h3",
913
+ noWrap: true
914
+ }, titleTypographyProps), {}, {
915
+ children: title
916
+ }))
917
+ }), !!endAction && /*#__PURE__*/jsx(Grid, {
918
+ item: true,
919
+ className: styles.endAction,
920
+ children: endAction
921
+ })]
922
+ })
923
+ }), /*#__PURE__*/jsx(Grid, {
924
+ item: true,
925
+ children: !!subtitle && /*#__PURE__*/jsx(Typography, _objectSpread(_objectSpread({
926
+ variant: "body2",
927
+ noWrap: true
928
+ }, subtitleTypographyProps), {}, {
929
+ children: subtitle
930
+ }))
931
+ })]
932
+ })
933
+ })
934
+ }))]
935
+ });
936
+ }
937
+ });
938
+ });
939
+ if (process.env.NODE_ENV !== "production") DrawerTitle.displayName = "DrawerTitle";
940
+
941
+ var StyledActionsLayout = /*#__PURE__*/styled.div.withConfig({
942
+ displayName: "AppDrawer__StyledActionsLayout",
943
+ componentId: "SD__sc-1ivw8lf-0"
944
+ })(["display:flex;gap:16px;"]);
945
+ var sizeToMaxWidthMap = {
946
+ md: '432px',
947
+ lg: '600px',
948
+ xl: '746px',
949
+ xxl: '900px'
950
+ };
951
+ function AppDrawer(_ref) {
952
+ var {
953
+ title,
954
+ subtitle,
955
+ children,
956
+ open,
957
+ onClose,
958
+ onBack,
959
+ primaryAction,
960
+ secondaryAction,
961
+ disableContentPadding = false,
962
+ disableCloseButton = false,
963
+ size = 'md'
964
+ } = _ref;
965
+ return /*#__PURE__*/jsxs(Drawer, {
966
+ open: open,
967
+ onClose: onClose,
968
+ anchor: "right",
969
+ PaperProps: {
970
+ style: {
971
+ width: '100%',
972
+ maxWidth: sizeToMaxWidthMap[size]
973
+ }
974
+ },
975
+ children: [/*#__PURE__*/jsx(DrawerTitle, {
976
+ title: title,
977
+ subtitle: subtitle,
978
+ startAction: onBack && /*#__PURE__*/jsx(IconButton, {
979
+ onClick: onBack,
980
+ edge: "start",
981
+ children: /*#__PURE__*/jsx(ArrowBack, {
982
+ color: "action"
983
+ })
984
+ }),
985
+ endAction: !disableCloseButton && /*#__PURE__*/jsx(IconButton, {
986
+ onClick: onClose,
987
+ children: /*#__PURE__*/jsx(Close, {
988
+ color: "action"
989
+ })
990
+ })
991
+ }), disableContentPadding ? children : /*#__PURE__*/jsx(DrawerContent, {
992
+ children: children
993
+ }), (primaryAction || secondaryAction) && /*#__PURE__*/jsx(DrawerActions, {
994
+ children: /*#__PURE__*/jsxs(StyledActionsLayout, {
995
+ children: [primaryAction && /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
996
+ type: "button",
997
+ variant: "contained"
998
+ }, primaryAction), {}, {
999
+ children: primaryAction.label
1000
+ })), secondaryAction && /*#__PURE__*/jsx(Button, _objectSpread(_objectSpread({
1001
+ type: "button",
1002
+ variant: "outlined"
1003
+ }, secondaryAction), {}, {
1004
+ children: secondaryAction.label
1005
+ }))]
1006
+ })
1007
+ })]
1008
+ });
1009
+ }
1010
+
1011
+ var _excluded$7 = ["size", "icon", "isLoading", "classes", "disabled", "avatarRef", "className", "alt", "imgProps", "sizes", "src", "srcSet", "variant", "children"],
681
1012
  _excluded2 = ["button", "overlay", "progress", "withIcon", "sizeLarge"];
682
- var useStyles$2 = /*#__PURE__*/makeStyles(theme => {
1013
+ var useStyles$5 = /*#__PURE__*/makeStyles(theme => {
683
1014
  var sm = theme.breakpoints.up('sm');
684
1015
  return {
685
1016
  button: {
@@ -788,8 +1119,8 @@ var AvatarButton = /*#__PURE__*/forwardRef((_ref, ref) => {
788
1119
  variant,
789
1120
  children
790
1121
  } = _ref,
791
- props = _objectWithoutProperties(_ref, _excluded$3);
792
- var _useStyles = useStyles$2({
1122
+ props = _objectWithoutProperties(_ref, _excluded$7);
1123
+ var _useStyles = useStyles$5({
793
1124
  classes
794
1125
  }),
795
1126
  {
@@ -805,7 +1136,10 @@ var AvatarButton = /*#__PURE__*/forwardRef((_ref, ref) => {
805
1136
  "aria-busy": isLoading,
806
1137
  "aria-disabled": disabled,
807
1138
  disabled: disabled || isLoading,
808
- className: clsx(className, buttonClassName, !!icon && withIconClassName, size === 'large' && sizeLargeClassName),
1139
+ className: clsx(className, buttonClassName, {
1140
+ [withIconClassName]: !!icon,
1141
+ [sizeLargeClassName]: size === 'large'
1142
+ }),
809
1143
  children: [/*#__PURE__*/jsx(Avatar, {
810
1144
  ref: avatarRef,
811
1145
  classes: avatarClasses,
@@ -828,8 +1162,8 @@ var AvatarButton = /*#__PURE__*/forwardRef((_ref, ref) => {
828
1162
  });
829
1163
  if (process.env.NODE_ENV !== "production") AvatarButton.displayName = "AvatarButton";
830
1164
 
831
- var _excluded$4 = ["hint", "size", "error", "classes", "className", "children", "endIcon", "startIcon", "disabled"];
832
- var useStyles$3 = /*#__PURE__*/makeStyles(theme => ({
1165
+ var _excluded$8 = ["hint", "size", "error", "classes", "className", "children", "endIcon", "startIcon", "disabled"];
1166
+ var useStyles$6 = /*#__PURE__*/makeStyles(theme => ({
833
1167
  root: {
834
1168
  width: '100%',
835
1169
  display: 'flex',
@@ -915,17 +1249,20 @@ var CardButton = /*#__PURE__*/forwardRef((_ref, ref) => {
915
1249
  startIcon,
916
1250
  disabled
917
1251
  } = _ref,
918
- props = _objectWithoutProperties(_ref, _excluded$4);
919
- var styles = useStyles$3({
1252
+ props = _objectWithoutProperties(_ref, _excluded$8);
1253
+ var styles = useStyles$6({
920
1254
  classes
921
1255
  });
922
1256
  return /*#__PURE__*/jsx(ButtonBase, _objectSpread(_objectSpread({}, props), {}, {
923
1257
  ref: ref,
924
1258
  disabled: disabled,
925
- className: clsx(styles.root, className, disabled ? styles.disabled : error ? styles.error : styles.primary, {
926
- 'small': styles.sizeSmall,
927
- 'large': styles.sizeLarge
928
- }[size]),
1259
+ className: clsx(styles.root, {
1260
+ [styles.disabled]: disabled,
1261
+ [styles.error]: !disabled && error,
1262
+ [styles.primary]: !disabled && !error,
1263
+ [styles.sizeSmall]: size === 'small',
1264
+ [styles.sizeLarge]: size === 'large'
1265
+ }, className),
929
1266
  children: error ? /*#__PURE__*/jsxs(Typography, {
930
1267
  variant: "h4",
931
1268
  color: "inherit",
@@ -957,7 +1294,7 @@ var CardButton = /*#__PURE__*/forwardRef((_ref, ref) => {
957
1294
  });
958
1295
  if (process.env.NODE_ENV !== "production") CardButton.displayName = "CardButton";
959
1296
 
960
- var _excluded$5 = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlProps", "FormControlLabelProps"];
1297
+ var _excluded$9 = ["label", "error", "checked", "onBlur", "onChange", "helperText", "FormControlProps", "FormControlLabelProps"];
961
1298
  var FormControl = /*#__PURE__*/styled(FormControl$2).withConfig({
962
1299
  displayName: "CheckboxField__FormControl",
963
1300
  componentId: "SD__sc-1wxu0g6-0"
@@ -977,7 +1314,7 @@ var CheckboxField = /*#__PURE__*/forwardRef((_ref, ref) => {
977
1314
  FormControlProps: formControlProps,
978
1315
  FormControlLabelProps: formControlLabelProps
979
1316
  } = _ref,
980
- props = _objectWithoutProperties(_ref, _excluded$5);
1317
+ props = _objectWithoutProperties(_ref, _excluded$9);
981
1318
  return /*#__PURE__*/jsxs(FormControl, _objectSpread(_objectSpread({
982
1319
  error: error
983
1320
  }, formControlProps), {}, {
@@ -997,7 +1334,7 @@ var CheckboxField = /*#__PURE__*/forwardRef((_ref, ref) => {
997
1334
  });
998
1335
  if (process.env.NODE_ENV !== "production") CheckboxField.displayName = "CheckboxField";
999
1336
 
1000
- var _excluded$6 = ["FormGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1337
+ var _excluded$a = ["FormGroupProps", "label", "FormLabelProps", "helperText", "FormHelperTextProps", "children"];
1001
1338
  var FormLabel = /*#__PURE__*/styled(FormLabel$2).withConfig({
1002
1339
  displayName: "CheckboxGroudField__FormLabel",
1003
1340
  componentId: "SD__sc-1lihyfy-0"
@@ -1015,7 +1352,7 @@ var CheckboxGroupField = /*#__PURE__*/forwardRef((_ref, ref) => {
1015
1352
  FormHelperTextProps: formHelperTextProps,
1016
1353
  children
1017
1354
  } = _ref,
1018
- formControlProps = _objectWithoutProperties(_ref, _excluded$6);
1355
+ formControlProps = _objectWithoutProperties(_ref, _excluded$a);
1019
1356
  return /*#__PURE__*/jsxs(FormControl$2, _objectSpread(_objectSpread({}, formControlProps), {}, {
1020
1357
  hiddenLabel: !label,
1021
1358
  children: [!!label && /*#__PURE__*/jsx(FormLabel, _objectSpread(_objectSpread({}, formLabelProps), {}, {
@@ -1186,101 +1523,44 @@ function parseSpaceProp(prop) {
1186
1523
  return 8;
1187
1524
  case 'small':
1188
1525
  return 16;
1189
- case 'medium':
1190
- return 24;
1191
- case 'large':
1192
- return 32;
1193
- case 'xlarge':
1194
- return 40;
1195
- case 'xxlarge':
1196
- return 48;
1197
- }
1198
- }
1199
-
1200
- function columnsRootMixin(align, horizontalAlign, spaceProp, isReversed, isCollapsed) {
1201
- var space = parseSpaceProp(spaceProp);
1202
- return css(["--column-space-left:", "px;--column-space-top:", "px;--column-space-bottom:", "px;align-items:", ";justify-content:", ";margin-left:", "px;width:", ";flex-direction:", ";"], isCollapsed ? 0 : space, isCollapsed && isReversed ? space : 0, isCollapsed && !isReversed ? space : 0, parseAlignProp(align), parseAlignProp(horizontalAlign), isCollapsed ? 0 : "-".concat(space), isCollapsed ? '100%' : "calc(100% + ".concat(space, "px)"), isCollapsed ? !isReversed ? 'column' : 'column-reverse' : !isReversed ? 'row' : 'row-reverse');
1203
- }
1204
- var Columns = /*#__PURE__*/styled.div.withConfig({
1205
- displayName: "Columns",
1206
- componentId: "SD__sc-1a73118-0"
1207
- })(_ref => {
1208
- var {
1209
- theme,
1210
- collapseBelow,
1211
- align: alignProp = 'top',
1212
- horizontalAlign: horizontalAlignProp = 'left',
1213
- space: spaceProp = 'none',
1214
- reverse: reverseProp = false
1215
- } = _ref;
1216
- var align = parseResponsiveProp(alignProp);
1217
- var horizontalAlign = parseResponsiveProp(horizontalAlignProp);
1218
- var space = parseResponsiveProp(spaceProp);
1219
- var reverse = parseResponsiveProp(reverseProp);
1220
- var collapsed = parseCollapsedBelow(collapseBelow);
1221
- return css(["width:100%;display:flex;", ";", "{", ";}", "{", ";}"], columnsRootMixin(align[0], horizontalAlign[0], space[0], reverse[0], collapsed[0]), theme.breakpoints.up('sm'), columnsRootMixin(align[1], horizontalAlign[1], space[1], reverse[1], collapsed[1]), theme.breakpoints.up('md'), columnsRootMixin(align[2], horizontalAlign[2], space[2], reverse[2], collapsed[2]));
1222
- });
1223
-
1224
- function renderChildren(node) {
1225
- if (node == null || typeof node == 'boolean') {
1226
- return null;
1227
- }
1228
-
1229
- // Workaround for https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18051
1230
- return node;
1231
- }
1232
-
1233
- var _excluded$7 = ["render", "onChange"];
1234
- function useVisibilityObserver(node) {
1235
- var {
1236
- threshold = 0,
1237
- marginTop = '0px',
1238
- marginLeft = '0px',
1239
- marginRight = '0px',
1240
- marginBottom = '0px'
1241
- } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1242
- var [state, setState] = useState('undetermined');
1243
- var rootMargin = "".concat(marginTop, " ").concat(marginRight, " ").concat(marginBottom, " ").concat(marginLeft);
1244
- useLayoutEffect(() => {
1245
- if (!node || !('IntersectionObserver' in window)) {
1246
- setState('undetermined');
1247
- return;
1248
- }
1249
- var observer = new IntersectionObserver(_ref => {
1250
- var [entry] = _ref;
1251
- setState(entry !== null && entry !== void 0 && entry.isIntersecting && document.visibilityState === 'visible' ? 'visible' : 'invisible');
1252
- }, {
1253
- rootMargin,
1254
- threshold
1255
- });
1256
- observer.observe(node);
1257
- return () => {
1258
- observer.disconnect();
1259
- };
1260
- }, [node, threshold, rootMargin]);
1261
- return state;
1526
+ case 'medium':
1527
+ return 24;
1528
+ case 'large':
1529
+ return 32;
1530
+ case 'xlarge':
1531
+ return 40;
1532
+ case 'xxlarge':
1533
+ return 48;
1534
+ }
1262
1535
  }
1263
- function VisibilityObserver(_ref2) {
1264
- var {
1265
- render,
1266
- onChange
1267
- } = _ref2,
1268
- options = _objectWithoutProperties(_ref2, _excluded$7);
1269
- var [node, setNode] = useState(null);
1270
- var visibility = useVisibilityObserver(node, options);
1271
- var children = render({
1272
- ref: setNode,
1273
- visibility
1274
- });
1275
- useValueObserver(visibility, () => {
1276
- onChange === null || onChange === void 0 ? void 0 : onChange(visibility);
1277
- });
1278
- return renderChildren(children);
1536
+
1537
+ function columnsRootMixin(align, horizontalAlign, spaceProp, isReversed, isCollapsed) {
1538
+ var space = parseSpaceProp(spaceProp);
1539
+ return css(["--column-space-left:", "px;--column-space-top:", "px;--column-space-bottom:", "px;align-items:", ";justify-content:", ";margin-left:", "px;width:", ";flex-direction:", ";"], isCollapsed ? 0 : space, isCollapsed && isReversed ? space : 0, isCollapsed && !isReversed ? space : 0, parseAlignProp(align), parseAlignProp(horizontalAlign), isCollapsed ? 0 : "-".concat(space), isCollapsed ? '100%' : "calc(100% + ".concat(space, "px)"), isCollapsed ? !isReversed ? 'column' : 'column-reverse' : !isReversed ? 'row' : 'row-reverse');
1279
1540
  }
1541
+ var Columns = /*#__PURE__*/styled.div.withConfig({
1542
+ displayName: "Columns",
1543
+ componentId: "SD__sc-1a73118-0"
1544
+ })(_ref => {
1545
+ var {
1546
+ theme,
1547
+ collapseBelow,
1548
+ align: alignProp = 'top',
1549
+ horizontalAlign: horizontalAlignProp = 'left',
1550
+ space: spaceProp = 'none',
1551
+ reverse: reverseProp = false
1552
+ } = _ref;
1553
+ var align = parseResponsiveProp(alignProp);
1554
+ var horizontalAlign = parseResponsiveProp(horizontalAlignProp);
1555
+ var space = parseResponsiveProp(spaceProp);
1556
+ var reverse = parseResponsiveProp(reverseProp);
1557
+ var collapsed = parseCollapsedBelow(collapseBelow);
1558
+ return css(["width:100%;display:flex;", ";", "{", ";}", "{", ";}"], columnsRootMixin(align[0], horizontalAlign[0], space[0], reverse[0], collapsed[0]), theme.breakpoints.up('sm'), columnsRootMixin(align[1], horizontalAlign[1], space[1], reverse[1], collapsed[1]), theme.breakpoints.up('md'), columnsRootMixin(align[2], horizontalAlign[2], space[2], reverse[2], collapsed[2]));
1559
+ });
1280
1560
 
1281
- var _excluded$8 = ["title", "enterDelay"],
1561
+ var _excluded$b = ["title", "enterDelay"],
1282
1562
  _excluded2$1 = ["onClick", "children", "className", "disableUnderline", "TooltipProps"];
1283
- var useStyles$4 = /*#__PURE__*/makeStyles(theme => ({
1563
+ var useStyles$7 = /*#__PURE__*/makeStyles(theme => ({
1284
1564
  root: {
1285
1565
  marginBottom: -1,
1286
1566
  borderBottom: '1px dashed transparent',
@@ -1310,10 +1590,10 @@ var OverflowText = /*#__PURE__*/forwardRef((_ref, rootRef) => {
1310
1590
  enterDelay = 1000
1311
1591
  } = {}
1312
1592
  } = _ref,
1313
- tooltipProps = _objectWithoutProperties(_ref.TooltipProps, _excluded$8),
1593
+ tooltipProps = _objectWithoutProperties(_ref.TooltipProps, _excluded$b),
1314
1594
  props = _objectWithoutProperties(_ref, _excluded2$1);
1315
1595
  var [isOpen, setIsOpen] = useState(false);
1316
- var styles = useStyles$4();
1596
+ var styles = useStyles$7();
1317
1597
  return /*#__PURE__*/jsx(VisibilityObserver, {
1318
1598
  render: _ref2 => {
1319
1599
  var {
@@ -1339,7 +1619,9 @@ var OverflowText = /*#__PURE__*/forwardRef((_ref, rootRef) => {
1339
1619
  setIsOpen(true);
1340
1620
  _onClick === null || _onClick === void 0 ? void 0 : _onClick(event);
1341
1621
  },
1342
- className: clsx(styles.root, className, !disableUnderline && visibility === 'invisible' && styles.truncated),
1622
+ className: clsx(styles.root, {
1623
+ [styles.truncated]: !disableUnderline && visibility === 'invisible'
1624
+ }, className),
1343
1625
  children: [children, !!children && /*#__PURE__*/jsx("span", {
1344
1626
  ref: ref,
1345
1627
  className: styles.sentinel
@@ -1361,7 +1643,7 @@ function useUID(defaultID) {
1361
1643
  return defaultID || uid;
1362
1644
  }
1363
1645
 
1364
- var _excluded$9 = ["size"];
1646
+ var _excluded$c = ["size"];
1365
1647
  function sizeVariant(theme, mobileSpacing, desktopSpacing) {
1366
1648
  return {
1367
1649
  '& > $list, & > $item': {
@@ -1374,7 +1656,7 @@ function sizeVariant(theme, mobileSpacing, desktopSpacing) {
1374
1656
  }
1375
1657
  };
1376
1658
  }
1377
- var useStyles$5 = /*#__PURE__*/makeStyles(theme => ({
1659
+ var useStyles$8 = /*#__PURE__*/makeStyles(theme => ({
1378
1660
  list: sizeVariant(theme, 2, 1),
1379
1661
  listSmall: sizeVariant(theme, 1, 0.5),
1380
1662
  listLarge: sizeVariant(theme, 3, 2),
@@ -1405,15 +1687,15 @@ var DescriptionList = /*#__PURE__*/forwardRef((_ref, ref) => {
1405
1687
  var {
1406
1688
  size
1407
1689
  } = _ref,
1408
- props = _objectWithoutProperties(_ref, _excluded$9);
1409
- var styles = useStyles$5();
1690
+ props = _objectWithoutProperties(_ref, _excluded$c);
1691
+ var styles = useStyles$8();
1410
1692
  return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({}, props), {}, {
1411
1693
  ref: ref,
1412
1694
  "data-size": size,
1413
1695
  className: clsx(styles.list, {
1414
- 'small': styles.listSmall,
1415
- 'large': styles.listLarge
1416
- }[size])
1696
+ [styles.listSmall]: size === 'small',
1697
+ [styles.listLarge]: size === 'large'
1698
+ })
1417
1699
  }));
1418
1700
  });
1419
1701
 
@@ -1432,7 +1714,7 @@ var DescriptionListItem = /*#__PURE__*/forwardRef((_ref2, ref) => {
1432
1714
  contentTypographyProps,
1433
1715
  fallback
1434
1716
  } = _ref2;
1435
- var styles = useStyles$5();
1717
+ var styles = useStyles$8();
1436
1718
  var labelID = useUID(labelTypographyProps === null || labelTypographyProps === void 0 ? void 0 : labelTypographyProps.id);
1437
1719
  var shouldRenderFallback = isEmptyReactNode(content);
1438
1720
  return /*#__PURE__*/jsxs("div", {
@@ -1460,92 +1742,7 @@ var DescriptionListItem = /*#__PURE__*/forwardRef((_ref2, ref) => {
1460
1742
  });
1461
1743
  if (process.env.NODE_ENV !== "production") DescriptionListItem.displayName = "DescriptionListItem";
1462
1744
 
1463
- var _excluded$a = ["children", "className"];
1464
- var useStyles$6 = /*#__PURE__*/makeStyles(theme => ({
1465
- appBar: {
1466
- '&&': {
1467
- bottom: 0,
1468
- top: 'auto',
1469
- borderLeft: 'none',
1470
- borderRight: 'none',
1471
- borderBottom: 'none',
1472
- transition: theme.transitions.create(['border-color']),
1473
- '&:not($appBarSticky)': {
1474
- borderTopColor: ColorDynamic.Transparent
1475
- }
1476
- }
1477
- },
1478
- appBarSticky: {},
1479
- toolbar: {
1480
- '&.MuiToolbar-gutters': {
1481
- paddingLeft: theme.spacing(3),
1482
- paddingRight: theme.spacing(3),
1483
- [theme.breakpoints.up('md')]: {
1484
- paddingLeft: theme.spacing(4),
1485
- paddingRight: theme.spacing(4)
1486
- }
1487
- }
1488
- }
1489
- }), {
1490
- name: 'SD-DrawerActions'
1491
- });
1492
- var DrawerActions = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
1493
- var {
1494
- children,
1495
- className
1496
- } = _ref,
1497
- props = _objectWithoutProperties(_ref, _excluded$a);
1498
- var styles = useStyles$6();
1499
- return /*#__PURE__*/jsx(VisibilityObserver, {
1500
- render: _ref2 => {
1501
- var {
1502
- ref,
1503
- visibility
1504
- } = _ref2;
1505
- return /*#__PURE__*/jsxs(Fragment, {
1506
- children: [/*#__PURE__*/jsx(AppBar, _objectSpread(_objectSpread({}, props), {}, {
1507
- ref: appBarRef,
1508
- position: "sticky",
1509
- className: clsx(className, styles.appBar, visibility === 'invisible' && styles.appBarSticky),
1510
- children: /*#__PURE__*/jsx(Toolbar, {
1511
- className: styles.toolbar,
1512
- children: children
1513
- })
1514
- })), /*#__PURE__*/jsx("div", {
1515
- ref: ref
1516
- })]
1517
- });
1518
- }
1519
- });
1520
- });
1521
- if (process.env.NODE_ENV !== "production") DrawerActions.displayName = "DrawerActions";
1522
-
1523
- var _excluded$b = ["className"];
1524
- var useStyles$7 = /*#__PURE__*/makeStyles(theme => ({
1525
- root: {
1526
- maxWidth: '100%',
1527
- padding: theme.spacing(2, 3),
1528
- [theme.breakpoints.up('md')]: {
1529
- padding: theme.spacing(2, 4)
1530
- }
1531
- }
1532
- }), {
1533
- name: 'SD-DrawerContent'
1534
- });
1535
- var DrawerContent = /*#__PURE__*/forwardRef((_ref, ref) => {
1536
- var {
1537
- className
1538
- } = _ref,
1539
- props = _objectWithoutProperties(_ref, _excluded$b);
1540
- var styles = useStyles$7();
1541
- return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({}, props), {}, {
1542
- ref: ref,
1543
- className: clsx(styles.root, className)
1544
- }));
1545
- });
1546
- if (process.env.NODE_ENV !== "production") DrawerContent.displayName = "DrawerContent";
1547
-
1548
- var _excluded$c = ["className"];
1745
+ var _excluded$d = ["className"];
1549
1746
  function listItemMixins(theme, space) {
1550
1747
  return {
1551
1748
  '& .MuiListItem-gutters': {
@@ -1563,7 +1760,7 @@ function listItemMixins(theme, space) {
1563
1760
  }
1564
1761
  };
1565
1762
  }
1566
- var useStyles$8 = /*#__PURE__*/makeStyles(theme => ({
1763
+ var useStyles$9 = /*#__PURE__*/makeStyles(theme => ({
1567
1764
  root: _objectSpread(_objectSpread({
1568
1765
  maxWidth: '100%'
1569
1766
  }, listItemMixins(theme, 3)), {}, {
@@ -1576,8 +1773,8 @@ var DrawerList = /*#__PURE__*/forwardRef((_ref, ref) => {
1576
1773
  var {
1577
1774
  className
1578
1775
  } = _ref,
1579
- props = _objectWithoutProperties(_ref, _excluded$c);
1580
- var styles = useStyles$8();
1776
+ props = _objectWithoutProperties(_ref, _excluded$d);
1777
+ var styles = useStyles$9();
1581
1778
  return /*#__PURE__*/jsx(List, _objectSpread(_objectSpread({}, props), {}, {
1582
1779
  ref: ref,
1583
1780
  component: "div",
@@ -1586,118 +1783,6 @@ var DrawerList = /*#__PURE__*/forwardRef((_ref, ref) => {
1586
1783
  });
1587
1784
  if (process.env.NODE_ENV !== "production") DrawerList.displayName = "DrawerList";
1588
1785
 
1589
- var _excluded$d = ["title", "titleTypographyProps", "subtitle", "subtitleTypographyProps", "startAction", "endAction", "className"];
1590
- var useStyles$9 = /*#__PURE__*/makeStyles(theme => ({
1591
- appBar: {
1592
- '&&': {
1593
- borderTop: 'none',
1594
- borderLeft: 'none',
1595
- borderRight: 'none',
1596
- transition: theme.transitions.create(['border-color']),
1597
- '&:not($appBarSticky)': {
1598
- borderBottomColor: ColorDynamic.Transparent
1599
- }
1600
- }
1601
- },
1602
- appBarSticky: {},
1603
- toolbar: {
1604
- '&.MuiToolbar-gutters': {
1605
- paddingLeft: theme.spacing(3),
1606
- paddingRight: theme.spacing(3),
1607
- [theme.breakpoints.up('md')]: {
1608
- paddingLeft: theme.spacing(4),
1609
- paddingRight: theme.spacing(4)
1610
- }
1611
- }
1612
- },
1613
- startAction: {
1614
- marginRight: theme.spacing(0.5),
1615
- '& .MuiIconButton-edgeStart': {
1616
- marginLeft: theme.spacing(-2)
1617
- }
1618
- },
1619
- endAction: {
1620
- marginLeft: theme.spacing(0.5),
1621
- '& .MuiIconButton-edgeEnd': {
1622
- marginRight: theme.spacing(-2)
1623
- }
1624
- }
1625
- }), {
1626
- name: 'SD-DrawerTitle'
1627
- });
1628
- var DrawerTitle = /*#__PURE__*/forwardRef((_ref, appBarRef) => {
1629
- var {
1630
- title,
1631
- titleTypographyProps,
1632
- subtitle,
1633
- subtitleTypographyProps,
1634
- startAction,
1635
- endAction,
1636
- className
1637
- } = _ref,
1638
- props = _objectWithoutProperties(_ref, _excluded$d);
1639
- var styles = useStyles$9();
1640
- return /*#__PURE__*/jsx(VisibilityObserver, {
1641
- render: _ref2 => {
1642
- var {
1643
- ref,
1644
- visibility
1645
- } = _ref2;
1646
- return /*#__PURE__*/jsxs(Fragment, {
1647
- children: [/*#__PURE__*/jsx("div", {
1648
- ref: ref
1649
- }), /*#__PURE__*/jsx(AppBar, _objectSpread(_objectSpread({}, props), {}, {
1650
- ref: appBarRef,
1651
- position: "sticky",
1652
- className: clsx(styles.appBar, className, visibility === 'invisible' && styles.appBarSticky),
1653
- children: /*#__PURE__*/jsx(Toolbar, {
1654
- className: styles.toolbar,
1655
- children: /*#__PURE__*/jsxs(Grid, {
1656
- container: true,
1657
- direction: "column",
1658
- children: [/*#__PURE__*/jsx(Grid, {
1659
- item: true,
1660
- children: /*#__PURE__*/jsxs(Grid, {
1661
- container: true,
1662
- alignItems: "center",
1663
- children: [!!startAction && /*#__PURE__*/jsx(Grid, {
1664
- item: true,
1665
- className: styles.startAction,
1666
- children: startAction
1667
- }), /*#__PURE__*/jsx(Grid, {
1668
- item: true,
1669
- xs: true,
1670
- zeroMinWidth: true,
1671
- children: /*#__PURE__*/jsx(Typography, _objectSpread(_objectSpread({
1672
- variant: "h3",
1673
- noWrap: true
1674
- }, titleTypographyProps), {}, {
1675
- children: title
1676
- }))
1677
- }), !!endAction && /*#__PURE__*/jsx(Grid, {
1678
- item: true,
1679
- className: styles.endAction,
1680
- children: endAction
1681
- })]
1682
- })
1683
- }), /*#__PURE__*/jsx(Grid, {
1684
- item: true,
1685
- children: !!subtitle && /*#__PURE__*/jsx(Typography, _objectSpread(_objectSpread({
1686
- variant: "body2",
1687
- noWrap: true
1688
- }, subtitleTypographyProps), {}, {
1689
- children: subtitle
1690
- }))
1691
- })]
1692
- })
1693
- })
1694
- }))]
1695
- });
1696
- }
1697
- });
1698
- });
1699
- if (process.env.NODE_ENV !== "production") DrawerTitle.displayName = "DrawerTitle";
1700
-
1701
1786
  var _excluded$e = ["children", "alignItems"];
1702
1787
  /**
1703
1788
  * @deprecated in favor of `Stack`.
@@ -1818,7 +1903,10 @@ var InfoCard = /*#__PURE__*/forwardRef((_ref, _ref2) => {
1818
1903
  setRootNode(node);
1819
1904
  },
1820
1905
  classes: styles,
1821
- className: clsx(className, isFullWidth && fullWidthClassName, size === 'large' && sizeLargeClassName),
1906
+ className: clsx(className, {
1907
+ [sizeLargeClassName]: size === 'large',
1908
+ [fullWidthClassName]: isFullWidth
1909
+ }),
1822
1910
  children: /*#__PURE__*/jsx(CardContent, _objectSpread(_objectSpread({}, cardContentProps), {}, {
1823
1911
  className: clsx(cardContentProps.className, contentClassName),
1824
1912
  children: children
@@ -2308,9 +2396,9 @@ var SnackbarContent = /*#__PURE__*/forwardRef((_ref, ref) => {
2308
2396
  ref: ref,
2309
2397
  classes: styles,
2310
2398
  className: clsx(className, {
2311
- 'error': variantError,
2312
- 'success': variantSuccess
2313
- }[variant]),
2399
+ [variantError]: variant === 'error',
2400
+ [variantSuccess]: variant === 'success'
2401
+ }),
2314
2402
  message: /*#__PURE__*/jsxs(Fragment, {
2315
2403
  children: [Icon && /*#__PURE__*/jsx(Icon, {
2316
2404
  className: icon
@@ -2625,19 +2713,7 @@ var Tag = /*#__PURE__*/forwardRef((_ref, ref) => {
2625
2713
  noWrap: noWrap,
2626
2714
  component: component,
2627
2715
  variant: fontWeight === 'bold' ? 'body1' : 'body2',
2628
- className: clsx(styles.root, className, {
2629
- 'grey': styles.colorGrey,
2630
- 'dark': styles.colorDark,
2631
- 'blue': styles.colorBlue,
2632
- 'green': styles.colorGreen,
2633
- 'purple': styles.colorPurple,
2634
- 'red': styles.colorRed,
2635
- 'teal': styles.colorTeal,
2636
- 'yellow': styles.colorYellow
2637
- }[color], {
2638
- 'subtle': styles.variantSubtle,
2639
- 'bold': styles.variantBold
2640
- }[variant]),
2716
+ className: clsx(styles.root, color === 'grey' && styles.colorGrey, color === 'dark' && styles.colorDark, color === 'blue' && styles.colorBlue, color === 'green' && styles.colorGreen, color === 'purple' && styles.colorPurple, color === 'red' && styles.colorRed, color === 'teal' && styles.colorTeal, color === 'yellow' && styles.colorYellow, variant === 'subtle' && styles.variantSubtle, variant === 'bold' && styles.variantBold, className),
2641
2717
  children: children
2642
2718
  }));
2643
2719
  });
@@ -3194,6 +3270,7 @@ function overrideDialog(theme) {
3194
3270
  };
3195
3271
  }
3196
3272
 
3273
+ /** @deprecated Use `<AppDrawer>` instead. */
3197
3274
  function overrideDrawer(theme) {
3198
3275
  theme.props.MuiDrawer = {
3199
3276
  anchor: 'right'
@@ -4325,11 +4402,29 @@ var Tiles = /*#__PURE__*/forwardRef((_ref, ref) => {
4325
4402
  var columns = useResponsivePropRecord(columnsProp);
4326
4403
  return /*#__PURE__*/jsx("div", {
4327
4404
  ref: ref,
4328
- className: clsx(styles.root, space === 1 && styles.space1, space === 2 && styles.space2, space === 3 && styles.space3, space === 4 && styles.space4, space === 5 && styles.space5, space === 6 && styles.space6, space === 7 && styles.space7, space === 8 && styles.space8, space === 9 && styles.space9, space === 10 && styles.space10),
4405
+ className: clsx(styles.root, {
4406
+ [styles.space1]: space === 1,
4407
+ [styles.space2]: space === 2,
4408
+ [styles.space3]: space === 3,
4409
+ [styles.space4]: space === 4,
4410
+ [styles.space5]: space === 5,
4411
+ [styles.space6]: space === 6,
4412
+ [styles.space7]: space === 7,
4413
+ [styles.space8]: space === 8,
4414
+ [styles.space9]: space === 9,
4415
+ [styles.space10]: space === 10
4416
+ }),
4329
4417
  children: /*#__PURE__*/jsx("div", {
4330
4418
  className: styles.container,
4331
4419
  children: flattenChildren(children).map((child, idx) => /*#__PURE__*/jsx("div", {
4332
- className: clsx(styles.child, columns === 1 && styles.columns1, columns === 2 && styles.columns2, columns === 3 && styles.columns3, columns === 4 && styles.columns4, columns === 5 && styles.columns5, columns === 6 && styles.columns6),
4420
+ className: clsx(styles.child, {
4421
+ [styles.columns1]: columns === 1,
4422
+ [styles.columns2]: columns === 2,
4423
+ [styles.columns3]: columns === 3,
4424
+ [styles.columns4]: columns === 4,
4425
+ [styles.columns5]: columns === 5,
4426
+ [styles.columns6]: columns === 6
4427
+ }),
4333
4428
  children: /*#__PURE__*/jsx("div", {
4334
4429
  className: styles.childContainer,
4335
4430
  children: child
@@ -4354,5 +4449,5 @@ function ExitTransitionPlaceholder(_ref) {
4354
4449
  return renderChildren(children);
4355
4450
  }
4356
4451
 
4357
- export { AdaptiveToolbar, AdaptiveVerticalToolbar, AvatarButton, Button, CardButton, CheckboxField, CheckboxGroupField, Color, ColorDark, ColorDynamic, Column, Columns, DescriptionList, DescriptionListItem, DrawerActions, DrawerContent, DrawerList, DrawerTitle, DropdownButton, ExitTransitionPlaceholder, GridStack, Image, InfoCard, InfoTooltip, Inline, InlineGrid, LightDark, NumberField, OverflowText, PatternField, RadioField, RadioFieldCard, RadioGroupField, ResponsiveContextProvider, Snackbar, SnackbarContent, SnackbarStackConsumer, SnackbarStackProvider, Stack, Tag, ThemeProvider, Tiles, VisibilityObserver, assignRef, isColorDynamicProp, isColorProp, isColorPropDark, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
4452
+ export { AdaptiveToolbar, AdaptiveVerticalToolbar, AppDrawer, AvatarButton, Button, CardButton, CheckboxField, CheckboxGroupField, Color, ColorDark, ColorDynamic, Column, Columns, DescriptionList, DescriptionListItem, DrawerActions, DrawerContent, DrawerList, DrawerTitle, DropdownButton, ExitTransitionPlaceholder, GridStack, Image, InfoCard, InfoTooltip, Inline, InlineGrid, LightDark, NumberField, OverflowText, PatternField, RadioField, RadioFieldCard, RadioGroupField, ResponsiveContextProvider, Snackbar, SnackbarContent, SnackbarStackConsumer, SnackbarStackProvider, Stack, Tag, ThemeProvider, Tiles, VisibilityObserver, assignRef, isColorDynamicProp, isColorProp, isColorPropDark, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
4358
4453
  //# sourceMappingURL=index.js.map