@superdispatch/ui-lab 0.20.3 → 0.21.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.
@@ -33,14 +33,15 @@ export function Navbar(_ref) {
33
33
  var matches = useMediaQuery(theme.breakpoints.up('md'), {
34
34
  noSsr: true
35
35
  });
36
- var [isExpanded, setIsExpanded] = useState(matches);
36
+ var [isMenuExpanded, setMenuExpanded] = useState(matches);
37
37
  var hasBadge = hasExtraBadge || items.some(item => item.badge);
38
38
  var ctx = useMemo(() => ({
39
39
  isDrawerOpen,
40
- isExpanded,
41
- setIsExpanded,
42
- setDrawerOpen
43
- }), [isDrawerOpen, isExpanded, setIsExpanded, setDrawerOpen]);
40
+ isMenuExpanded,
41
+ setDrawerOpen,
42
+ setMenuExpanded,
43
+ isNavbarExpanded: isMenuExpanded || isDrawerOpen
44
+ }), [isDrawerOpen, isMenuExpanded, setMenuExpanded, setDrawerOpen]);
44
45
  return /*#__PURE__*/_jsx(NavbarContext.Provider, {
45
46
  value: ctx,
46
47
  children: /*#__PURE__*/_jsxs("div", {
@@ -25,7 +25,7 @@ var NavbarAccordionRoot = /*#__PURE__*/styled(Accordion).withConfig({
25
25
  var NavbarAccordionSummary = /*#__PURE__*/styled(AccordionSummary).withConfig({
26
26
  displayName: "NavbarAccordion__NavbarAccordionSummary",
27
27
  componentId: "SD__sc-1s7g3kw-2"
28
- })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&:hover,&[data-active='true']{background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], Color.Blue300);
28
+ })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&.MuiAccordionSummary-content{align-items:center;}&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], Color.White, Color.Blue300);
29
29
  var IconWrapper = /*#__PURE__*/styled.div.withConfig({
30
30
  displayName: "NavbarAccordion__IconWrapper",
31
31
  componentId: "SD__sc-1s7g3kw-3"
@@ -40,45 +40,46 @@ export function NavbarAccordion(_ref2) {
40
40
  } = _ref2;
41
41
  var uid = useUID();
42
42
  var {
43
- isExpanded: isMenuExpanded,
44
- isDrawerOpen,
45
- setDrawerOpen
43
+ setDrawerOpen,
44
+ isNavbarExpanded
46
45
  } = useNavbarContext();
47
- var [isExpanded, setExpanded] = useState(false);
46
+ var [isExpanded, setExpanded] = useState(true); // sync accordion state with Desktop menu state
47
+
48
48
  useEffect(() => {
49
- if (!isMenuExpanded) {
50
- setExpanded(false);
51
- }
52
- }, [isMenuExpanded]);
49
+ setExpanded(isNavbarExpanded);
50
+ }, [isNavbarExpanded]);
53
51
  return /*#__PURE__*/_jsxs(NavbarAccordionRoot, {
54
- "aria-labelledby": uid,
52
+ square: true,
55
53
  gutter: !!gutter,
54
+ "aria-labelledby": uid,
56
55
  expanded: isExpanded,
57
56
  onClick: event => {
58
- if (isMenuExpanded || isDrawerOpen) {
57
+ _onClick === null || _onClick === void 0 ? void 0 : _onClick(event);
58
+
59
+ if (isNavbarExpanded) {
59
60
  setExpanded(!isExpanded);
60
61
  }
61
-
62
- _onClick(event);
63
62
  },
64
- square: true,
65
63
  children: [/*#__PURE__*/_jsxs(NavbarAccordionSummary, {
66
64
  "data-active": !isExpanded && items.some(item => item.active),
67
- "data-expanded": isMenuExpanded || isDrawerOpen,
65
+ "data-expanded": isNavbarExpanded,
68
66
  expandIcon: /*#__PURE__*/_jsx(ExpandMore, {}),
69
67
  children: [/*#__PURE__*/_jsx(IconWrapper, {
70
68
  children: icon
71
69
  }), /*#__PURE__*/_jsx(NavbarAccordionLabel, {
72
70
  id: uid,
73
- "data-expanded": isMenuExpanded || isDrawerOpen,
71
+ "data-expanded": isNavbarExpanded,
74
72
  children: label
75
73
  })]
76
74
  }), items.map(item => {
77
75
  var index = items.indexOf(item);
78
76
  var prev = items[index - 1];
77
+ var {
78
+ ident = 0
79
+ } = item;
79
80
  return /*#__PURE__*/_createElement(NavbarItem, _objectSpread(_objectSpread({}, item), {}, {
80
81
  key: item.key,
81
- ident: 1,
82
+ ident: ident,
82
83
  active: item.active,
83
84
  gutter: prev && prev.groupKey !== item.groupKey,
84
85
  onClick: event => {
@@ -20,35 +20,34 @@ export function NavbarAvatar(_ref) {
20
20
  props = _objectWithoutProperties(_ref, _excluded);
21
21
 
22
22
  var {
23
- isExpanded,
24
- isDrawerOpen
23
+ isNavbarExpanded
25
24
  } = useNavbarContext();
26
25
 
27
- if (isExpanded || isDrawerOpen) {
28
- return /*#__PURE__*/_jsxs(Columns, {
29
- space: "xsmall",
30
- align: "center",
31
- children: [/*#__PURE__*/_jsx(Column, {
32
- width: "content",
33
- children: /*#__PURE__*/_jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
34
- children: children
35
- }))
36
- }), /*#__PURE__*/_jsx(Column, {
37
- children: /*#__PURE__*/_jsxs(Stack, {
38
- space: "none",
39
- children: [/*#__PURE__*/_jsx(StyledTypography, {
40
- variant: "caption",
41
- children: title
42
- }), /*#__PURE__*/_jsx(StyledTypography, {
43
- variant: "caption",
44
- children: subtitle
45
- })]
46
- })
47
- })]
48
- });
26
+ if (!isNavbarExpanded) {
27
+ return /*#__PURE__*/_jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
28
+ children: children
29
+ }));
49
30
  }
50
31
 
51
- return /*#__PURE__*/_jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
52
- children: children
53
- }));
32
+ return /*#__PURE__*/_jsxs(Columns, {
33
+ space: "xsmall",
34
+ align: "center",
35
+ children: [/*#__PURE__*/_jsx(Column, {
36
+ width: "content",
37
+ children: /*#__PURE__*/_jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
38
+ children: children
39
+ }))
40
+ }), /*#__PURE__*/_jsx(Column, {
41
+ children: /*#__PURE__*/_jsxs(Stack, {
42
+ space: "none",
43
+ children: [/*#__PURE__*/_jsx(StyledTypography, {
44
+ variant: "caption",
45
+ children: title
46
+ }), /*#__PURE__*/_jsx(StyledTypography, {
47
+ variant: "caption",
48
+ children: subtitle
49
+ })]
50
+ })
51
+ })]
52
+ });
54
53
  }
@@ -2,8 +2,9 @@ import { noop } from 'lodash';
2
2
  import { createContext, useContext } from 'react';
3
3
  export var NavbarContext = /*#__PURE__*/createContext({
4
4
  isDrawerOpen: false,
5
- isExpanded: false,
6
- setIsExpanded: noop,
5
+ isMenuExpanded: false,
6
+ isNavbarExpanded: false,
7
+ setMenuExpanded: noop,
7
8
  setDrawerOpen: noop
8
9
  });
9
10
  export function useNavbarContext() {
@@ -13,7 +13,7 @@ export var NavbarLabel = /*#__PURE__*/styled.span.withConfig({
13
13
  var NavbarItemRoot = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "NavbarItem__NavbarItemRoot",
15
15
  componentId: "SD__sc-1pvzq3w-2"
16
- })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current]{background-color:#2f394a;color:", ";border-left-color:", ";}&[data-active='true']{background-color:#2f394a;border-left-color:", ";}"], Color.White, Color.Blue300, Color.Blue300);
16
+ })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}"], Color.White, Color.Blue300);
17
17
  var IconWrapper = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "NavbarItem__IconWrapper",
19
19
  componentId: "SD__sc-1pvzq3w-3"
@@ -77,12 +77,12 @@ export function NavbarList(_ref5) {
77
77
  var platform = useResponsiveValue('mobile', 'tablet', 'desktop');
78
78
  var isMobile = platform === 'mobile';
79
79
  var {
80
- isExpanded,
80
+ isMenuExpanded,
81
81
  isDrawerOpen,
82
82
  setDrawerOpen,
83
- setIsExpanded
83
+ setMenuExpanded
84
84
  } = useNavbarContext();
85
- var isSidebarOpened = isMobile ? isDrawerOpen : isExpanded;
85
+ var isSidebarOpened = isMobile ? isDrawerOpen : isMenuExpanded;
86
86
  var filteredItems = useMemo(() => items.filter(item => {
87
87
  return !item.hide && (isSidebarOpened || !!item.icon);
88
88
  }).map(item => _objectSpread(_objectSpread({}, item), {}, {
@@ -94,13 +94,13 @@ export function NavbarList(_ref5) {
94
94
  children: [/*#__PURE__*/_jsxs(Header, {
95
95
  children: [isSidebarOpened && header, !isMobile && /*#__PURE__*/_jsx(ExpandIconButton, {
96
96
  disableRipple: true,
97
- style: isExpanded ? {
97
+ style: isMenuExpanded ? {
98
98
  paddingRight: 0
99
99
  } : {},
100
100
  onClick: () => {
101
- setIsExpanded(!isExpanded);
101
+ setMenuExpanded(!isMenuExpanded);
102
102
  },
103
- children: isExpanded ? /*#__PURE__*/_jsx(MenuOpen, {}) : /*#__PURE__*/_jsx(MenuIcon, {})
103
+ children: isMenuExpanded ? /*#__PURE__*/_jsx(MenuOpen, {}) : /*#__PURE__*/_jsx(MenuIcon, {})
104
104
  })]
105
105
  }), /*#__PURE__*/_jsx(Content, {
106
106
  "aria-expanded": isSidebarOpened,
@@ -197,8 +197,8 @@ interface NavbarAccordionProps {
197
197
  label: ReactNode;
198
198
  icon?: ReactNode;
199
199
  gutter?: boolean;
200
- items: NavbarItemOptions[];
201
- onClick: (event: MouseEvent<HTMLDivElement>) => void;
200
+ items: Array<Omit<NavbarItemOptions, 'icon'>>;
201
+ onClick?: (event: MouseEvent<HTMLDivElement>) => void;
202
202
  }
203
203
 
204
204
  declare const NavbarBadge: StyledComponent<"span", DefaultTheme, {}, never>;
@@ -261,9 +261,10 @@ declare function NavbarAvatar({ title, subtitle, children, ...props }: NavbarAva
261
261
 
262
262
  interface NavbarContextType {
263
263
  isDrawerOpen: boolean;
264
- isExpanded: boolean;
265
- setIsExpanded: (value: boolean) => void;
264
+ isMenuExpanded: boolean;
265
+ isNavbarExpanded: boolean;
266
266
  setDrawerOpen: (value: boolean) => void;
267
+ setMenuExpanded: (value: boolean) => void;
267
268
  }
268
269
  declare function useNavbarContext(): NavbarContextType;
269
270
 
package/dist-web/index.js CHANGED
@@ -1054,8 +1054,9 @@ MultilineText.displayName = 'MultilineText';
1054
1054
 
1055
1055
  var NavbarContext = /*#__PURE__*/createContext({
1056
1056
  isDrawerOpen: false,
1057
- isExpanded: false,
1058
- setIsExpanded: noop,
1057
+ isMenuExpanded: false,
1058
+ isNavbarExpanded: false,
1059
+ setMenuExpanded: noop,
1059
1060
  setDrawerOpen: noop
1060
1061
  });
1061
1062
  function useNavbarContext() {
@@ -1130,7 +1131,7 @@ var NavbarLabel = /*#__PURE__*/styled.span.withConfig({
1130
1131
  var NavbarItemRoot = /*#__PURE__*/styled.div.withConfig({
1131
1132
  displayName: "NavbarItem__NavbarItemRoot",
1132
1133
  componentId: "SD__sc-1pvzq3w-2"
1133
- })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current]{background-color:#2f394a;color:", ";border-left-color:", ";}&[data-active='true']{background-color:#2f394a;border-left-color:", ";}"], Color.White, Color.Blue300, Color.Blue300);
1134
+ })(["width:100%;display:flex;align-items:center;color:#c2c4c9;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;outline:none;cursor:pointer;padding:8px 16px;border-left:4px solid transparent;&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}"], Color.White, Color.Blue300);
1134
1135
  var IconWrapper$1 = /*#__PURE__*/styled.div.withConfig({
1135
1136
  displayName: "NavbarItem__IconWrapper",
1136
1137
  componentId: "SD__sc-1pvzq3w-3"
@@ -1185,7 +1186,7 @@ var NavbarAccordionRoot = /*#__PURE__*/styled(Accordion).withConfig({
1185
1186
  var NavbarAccordionSummary = /*#__PURE__*/styled(AccordionSummary).withConfig({
1186
1187
  displayName: "NavbarAccordion__NavbarAccordionSummary",
1187
1188
  componentId: "SD__sc-1s7g3kw-2"
1188
- })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&:hover,&[data-active='true']{background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], Color.Blue300);
1189
+ })(["border-left:4px solid transparent;padding-left:20px;&.MuiAccordionSummary-root{max-height:40px;min-height:40px;}&.MuiAccordionSummary-content{align-items:center;}&:hover,&[aria-current],&[data-active='true']{color:", ";background-color:#2f394a;border-left-color:", ";}&[data-expanded='false']{.MuiAccordionSummary-expandIcon{display:none;}}"], Color.White, Color.Blue300);
1189
1190
  var IconWrapper$2 = /*#__PURE__*/styled.div.withConfig({
1190
1191
  displayName: "NavbarAccordion__IconWrapper",
1191
1192
  componentId: "SD__sc-1s7g3kw-3"
@@ -1200,45 +1201,46 @@ function NavbarAccordion(_ref2) {
1200
1201
  } = _ref2;
1201
1202
  var uid = useUID();
1202
1203
  var {
1203
- isExpanded: isMenuExpanded,
1204
- isDrawerOpen,
1205
- setDrawerOpen
1204
+ setDrawerOpen,
1205
+ isNavbarExpanded
1206
1206
  } = useNavbarContext();
1207
- var [isExpanded, setExpanded] = useState(false);
1207
+ var [isExpanded, setExpanded] = useState(true); // sync accordion state with Desktop menu state
1208
+
1208
1209
  useEffect(() => {
1209
- if (!isMenuExpanded) {
1210
- setExpanded(false);
1211
- }
1212
- }, [isMenuExpanded]);
1210
+ setExpanded(isNavbarExpanded);
1211
+ }, [isNavbarExpanded]);
1213
1212
  return /*#__PURE__*/jsxs(NavbarAccordionRoot, {
1214
- "aria-labelledby": uid,
1213
+ square: true,
1215
1214
  gutter: !!gutter,
1215
+ "aria-labelledby": uid,
1216
1216
  expanded: isExpanded,
1217
1217
  onClick: event => {
1218
- if (isMenuExpanded || isDrawerOpen) {
1218
+ _onClick === null || _onClick === void 0 ? void 0 : _onClick(event);
1219
+
1220
+ if (isNavbarExpanded) {
1219
1221
  setExpanded(!isExpanded);
1220
1222
  }
1221
-
1222
- _onClick(event);
1223
1223
  },
1224
- square: true,
1225
1224
  children: [/*#__PURE__*/jsxs(NavbarAccordionSummary, {
1226
1225
  "data-active": !isExpanded && items.some(item => item.active),
1227
- "data-expanded": isMenuExpanded || isDrawerOpen,
1226
+ "data-expanded": isNavbarExpanded,
1228
1227
  expandIcon: /*#__PURE__*/jsx(ExpandMore, {}),
1229
1228
  children: [/*#__PURE__*/jsx(IconWrapper$2, {
1230
1229
  children: icon
1231
1230
  }), /*#__PURE__*/jsx(NavbarAccordionLabel, {
1232
1231
  id: uid,
1233
- "data-expanded": isMenuExpanded || isDrawerOpen,
1232
+ "data-expanded": isNavbarExpanded,
1234
1233
  children: label
1235
1234
  })]
1236
1235
  }), items.map(item => {
1237
1236
  var index = items.indexOf(item);
1238
1237
  var prev = items[index - 1];
1238
+ var {
1239
+ ident = 0
1240
+ } = item;
1239
1241
  return /*#__PURE__*/createElement(NavbarItem, _objectSpread(_objectSpread({}, item), {}, {
1240
1242
  key: item.key,
1241
- ident: 1,
1243
+ ident: ident,
1242
1244
  active: item.active,
1243
1245
  gutter: prev && prev.groupKey !== item.groupKey,
1244
1246
  onClick: event => {
@@ -1323,12 +1325,12 @@ function NavbarList(_ref5) {
1323
1325
  var platform = useResponsiveValue('mobile', 'tablet', 'desktop');
1324
1326
  var isMobile = platform === 'mobile';
1325
1327
  var {
1326
- isExpanded,
1328
+ isMenuExpanded,
1327
1329
  isDrawerOpen,
1328
1330
  setDrawerOpen,
1329
- setIsExpanded
1331
+ setMenuExpanded
1330
1332
  } = useNavbarContext();
1331
- var isSidebarOpened = isMobile ? isDrawerOpen : isExpanded;
1333
+ var isSidebarOpened = isMobile ? isDrawerOpen : isMenuExpanded;
1332
1334
  var filteredItems = useMemo(() => items.filter(item => {
1333
1335
  return !item.hide && (isSidebarOpened || !!item.icon);
1334
1336
  }).map(item => _objectSpread(_objectSpread({}, item), {}, {
@@ -1340,13 +1342,13 @@ function NavbarList(_ref5) {
1340
1342
  children: [/*#__PURE__*/jsxs(Header, {
1341
1343
  children: [isSidebarOpened && header, !isMobile && /*#__PURE__*/jsx(ExpandIconButton, {
1342
1344
  disableRipple: true,
1343
- style: isExpanded ? {
1345
+ style: isMenuExpanded ? {
1344
1346
  paddingRight: 0
1345
1347
  } : {},
1346
1348
  onClick: () => {
1347
- setIsExpanded(!isExpanded);
1349
+ setMenuExpanded(!isMenuExpanded);
1348
1350
  },
1349
- children: isExpanded ? /*#__PURE__*/jsx(MenuOpen, {}) : /*#__PURE__*/jsx(Menu, {})
1351
+ children: isMenuExpanded ? /*#__PURE__*/jsx(MenuOpen, {}) : /*#__PURE__*/jsx(Menu, {})
1350
1352
  })]
1351
1353
  }), /*#__PURE__*/jsx(Content, {
1352
1354
  "aria-expanded": isSidebarOpened,
@@ -1407,14 +1409,15 @@ function Navbar(_ref) {
1407
1409
  var matches = useMediaQuery(theme.breakpoints.up('md'), {
1408
1410
  noSsr: true
1409
1411
  });
1410
- var [isExpanded, setIsExpanded] = useState(matches);
1412
+ var [isMenuExpanded, setMenuExpanded] = useState(matches);
1411
1413
  var hasBadge = hasExtraBadge || items.some(item => item.badge);
1412
1414
  var ctx = useMemo(() => ({
1413
1415
  isDrawerOpen,
1414
- isExpanded,
1415
- setIsExpanded,
1416
- setDrawerOpen
1417
- }), [isDrawerOpen, isExpanded, setIsExpanded, setDrawerOpen]);
1416
+ isMenuExpanded,
1417
+ setDrawerOpen,
1418
+ setMenuExpanded,
1419
+ isNavbarExpanded: isMenuExpanded || isDrawerOpen
1420
+ }), [isDrawerOpen, isMenuExpanded, setMenuExpanded, setDrawerOpen]);
1418
1421
  return /*#__PURE__*/jsx(NavbarContext.Provider, {
1419
1422
  value: ctx,
1420
1423
  children: /*#__PURE__*/jsxs("div", {
@@ -1470,37 +1473,36 @@ function NavbarAvatar(_ref) {
1470
1473
  props = _objectWithoutProperties(_ref, _excluded$7);
1471
1474
 
1472
1475
  var {
1473
- isExpanded,
1474
- isDrawerOpen
1476
+ isNavbarExpanded
1475
1477
  } = useNavbarContext();
1476
1478
 
1477
- if (isExpanded || isDrawerOpen) {
1478
- return /*#__PURE__*/jsxs(Columns, {
1479
- space: "xsmall",
1480
- align: "center",
1481
- children: [/*#__PURE__*/jsx(Column, {
1482
- width: "content",
1483
- children: /*#__PURE__*/jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
1484
- children: children
1485
- }))
1486
- }), /*#__PURE__*/jsx(Column, {
1487
- children: /*#__PURE__*/jsxs(Stack, {
1488
- space: "none",
1489
- children: [/*#__PURE__*/jsx(StyledTypography, {
1490
- variant: "caption",
1491
- children: title
1492
- }), /*#__PURE__*/jsx(StyledTypography, {
1493
- variant: "caption",
1494
- children: subtitle
1495
- })]
1496
- })
1497
- })]
1498
- });
1479
+ if (!isNavbarExpanded) {
1480
+ return /*#__PURE__*/jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
1481
+ children: children
1482
+ }));
1499
1483
  }
1500
1484
 
1501
- return /*#__PURE__*/jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
1502
- children: children
1503
- }));
1485
+ return /*#__PURE__*/jsxs(Columns, {
1486
+ space: "xsmall",
1487
+ align: "center",
1488
+ children: [/*#__PURE__*/jsx(Column, {
1489
+ width: "content",
1490
+ children: /*#__PURE__*/jsx(Avatar, _objectSpread(_objectSpread({}, props), {}, {
1491
+ children: children
1492
+ }))
1493
+ }), /*#__PURE__*/jsx(Column, {
1494
+ children: /*#__PURE__*/jsxs(Stack, {
1495
+ space: "none",
1496
+ children: [/*#__PURE__*/jsx(StyledTypography, {
1497
+ variant: "caption",
1498
+ children: title
1499
+ }), /*#__PURE__*/jsx(StyledTypography, {
1500
+ variant: "caption",
1501
+ children: subtitle
1502
+ })]
1503
+ })
1504
+ })]
1505
+ });
1504
1506
  }
1505
1507
 
1506
1508
  var Divider = /*#__PURE__*/styled.div.withConfig({