@superdispatch/ui-lab 0.43.0 → 0.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,33 @@
1
+ import { ColorDynamic } from '@superdispatch/ui';
2
+ import { forwardRef } from 'react';
3
+ import styled from 'styled-components';
4
+ import { jsxs as _jsxs } from "react/jsx-runtime";
5
+ var FlagListHeader = /*#__PURE__*/styled.div.withConfig({
6
+ displayName: "FlagList__FlagListHeader",
7
+ componentId: "SD__sc-te7hyy-0"
8
+ })(["display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:12px 16px;background:", ";border:1px solid ", ";border-bottom:none;border-radius:4px 4px 0 0;", "{flex-direction:column;align-items:flex-start;}"], ColorDynamic.Silver200, ColorDynamic.Silver400, _ref => {
9
+ var {
10
+ theme
11
+ } = _ref;
12
+ return theme.breakpoints.down('xs');
13
+ });
14
+ var FlagListContainer = /*#__PURE__*/styled.div.withConfig({
15
+ displayName: "FlagList__FlagListContainer",
16
+ componentId: "SD__sc-te7hyy-1"
17
+ })(["display:flex;flex-direction:column;"]);
18
+ export var FlagList = /*#__PURE__*/forwardRef((_ref2, ref) => {
19
+ var {
20
+ isStandalone = false,
21
+ title,
22
+ endAction,
23
+ children
24
+ } = _ref2;
25
+ return /*#__PURE__*/_jsxs(FlagListContainer, {
26
+ "data-variant": isStandalone ? 'standalone' : 'with-header',
27
+ ref: ref,
28
+ children: [(title || endAction) && /*#__PURE__*/_jsxs(FlagListHeader, {
29
+ children: [title, endAction]
30
+ }), children]
31
+ });
32
+ });
33
+ if (process.env.NODE_ENV !== "production") FlagList.displayName = "FlagList";
@@ -0,0 +1,83 @@
1
+ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["variant", "showHelpIcon", "endAction", "children"];
4
+ import { Error, Flag, Help, Warning } from '@material-ui/icons';
5
+ import { ColorDynamic } from '@superdispatch/ui';
6
+ import { forwardRef } from 'react';
7
+ import styled, { css } from 'styled-components';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ var IconContainer = /*#__PURE__*/styled.div.withConfig({
10
+ displayName: "FlagListItem__IconContainer",
11
+ componentId: "SD__sc-o5bqru-0"
12
+ })(["padding:4px;border-radius:50%;background:", ";color:", ";transition:", ";& .MuiSvgIcon-root{font-size:16px;}"], ColorDynamic.Silver200, ColorDynamic.Blue300, _ref => {
13
+ var {
14
+ theme
15
+ } = _ref;
16
+ return theme.transitions.create(['color', 'background-color']);
17
+ });
18
+ var Content = /*#__PURE__*/styled.div.withConfig({
19
+ displayName: "FlagListItem__Content",
20
+ componentId: "SD__sc-o5bqru-1"
21
+ })(["display:flex;align-items:center;width:100%;gap:8px;"]);
22
+ var HelpIcon = /*#__PURE__*/styled.div.withConfig({
23
+ displayName: "FlagListItem__HelpIcon",
24
+ componentId: "SD__sc-o5bqru-2"
25
+ })(["margin-left:auto;& > svg{font-size:16px;color:", ";}"], ColorDynamic.Dark500);
26
+ var EndActions = /*#__PURE__*/styled.div.withConfig({
27
+ displayName: "FlagListItem__EndActions",
28
+ componentId: "SD__sc-o5bqru-3"
29
+ })(["display:flex;align-items:center;margin-left:auto;gap:8px;", "{margin-left:0;width:100%;}"], _ref2 => {
30
+ var {
31
+ theme
32
+ } = _ref2;
33
+ return theme.breakpoints.down('xs');
34
+ });
35
+ var BannerListItemDanger = /*#__PURE__*/css(["& ", "{background:", ";color:", ";}&:hover{background:", ";}"], IconContainer, ColorDynamic.Red50, ColorDynamic.Red300, ColorDynamic.Red50);
36
+ var BannerListItemStandalone = /*#__PURE__*/css(["background:", ";"], ColorDynamic.Silver200);
37
+ var BannerListContainer = /*#__PURE__*/styled.div.withConfig({
38
+ displayName: "FlagListItem__BannerListContainer",
39
+ componentId: "SD__sc-o5bqru-4"
40
+ })(["display:flex;align-items:center;gap:8px;padding:8px 16px 8px 12px;border:1px solid ", ";background:", ";cursor:default;transition:", ";& + &{border-top:none;}&:last-child{border-radius:0 0 4px 4px;}&:hover{background:", ";& ", "{background:", ";}& ", " > svg{color:", ";}}[data-variant='standalone'] &:not(:hover){", "}", " ", "{flex-direction:column;align-items:flex-start;}"], ColorDynamic.Silver400, ColorDynamic.White, _ref3 => {
41
+ var {
42
+ theme
43
+ } = _ref3;
44
+ return theme.transitions.create(['color', 'background-color']);
45
+ }, ColorDynamic.Blue50, IconContainer, ColorDynamic.White, HelpIcon, _ref4 => {
46
+ var {
47
+ $variant
48
+ } = _ref4;
49
+ return $variant === 'danger' ? ColorDynamic.Red300 : ColorDynamic.Blue300;
50
+ }, BannerListItemStandalone, _ref5 => {
51
+ var {
52
+ $variant
53
+ } = _ref5;
54
+ return $variant === 'danger' ? BannerListItemDanger : null;
55
+ }, _ref6 => {
56
+ var {
57
+ theme
58
+ } = _ref6;
59
+ return theme.breakpoints.down('xs');
60
+ });
61
+ export var FlagListItem = /*#__PURE__*/forwardRef((_ref7, ref) => {
62
+ var {
63
+ variant = 'primary',
64
+ showHelpIcon,
65
+ endAction,
66
+ children
67
+ } = _ref7,
68
+ rest = _objectWithoutProperties(_ref7, _excluded);
69
+ return /*#__PURE__*/_jsxs(BannerListContainer, _objectSpread(_objectSpread({}, rest), {}, {
70
+ ref: ref,
71
+ $variant: variant,
72
+ children: [/*#__PURE__*/_jsxs(Content, {
73
+ children: [/*#__PURE__*/_jsx(IconContainer, {
74
+ children: variant === 'danger' ? /*#__PURE__*/_jsx(Error, {}) : variant === 'warning' ? /*#__PURE__*/_jsx(Warning, {}) : /*#__PURE__*/_jsx(Flag, {})
75
+ }), children, /*#__PURE__*/_jsx(HelpIcon, {
76
+ children: showHelpIcon && /*#__PURE__*/_jsx(Help, {})
77
+ })]
78
+ }), endAction && /*#__PURE__*/_jsx(EndActions, {
79
+ children: endAction
80
+ })]
81
+ }));
82
+ });
83
+ if (process.env.NODE_ENV !== "production") FlagListItem.displayName = "FlagListItem";
package/dist-src/index.js CHANGED
@@ -10,6 +10,8 @@ export * from "./description-item/DescriptionItem.js";
10
10
  export * from "./description-line-item/DescriptionLineItem.js";
11
11
  export * from "./file-drop-zone/FileDropZone.js";
12
12
  export * from "./file-list-item/FileListItem.js";
13
+ export * from "./flag-list/FlagList.js";
14
+ export * from "./flag-list/FlagListItem.js";
13
15
  export * from "./linked-text/LinkedText.js";
14
16
  export * from "./multiline-text/MultilineText.js";
15
17
  export * from "./navbar/Navbar.js";
@@ -194,6 +194,23 @@ interface FileListItemProps {
194
194
  }
195
195
  declare const FileListItem: ForwardRefExoticComponent<FileListItemProps & RefAttributes<HTMLDivElement>>;
196
196
 
197
+ interface BannerListProps {
198
+ isStandalone?: boolean;
199
+ title?: ReactNode;
200
+ endAction?: ReactNode;
201
+ children: ReactNode;
202
+ }
203
+ declare const FlagList: ForwardRefExoticComponent<BannerListProps & RefAttributes<HTMLDivElement>>;
204
+
205
+ declare type Variant = 'primary' | 'warning' | 'danger';
206
+ interface BannerItemProps {
207
+ variant?: Variant;
208
+ showHelpIcon?: boolean;
209
+ endAction?: ReactNode;
210
+ children?: ReactNode;
211
+ }
212
+ declare const FlagListItem: ForwardRefExoticComponent<BannerItemProps & RefAttributes<HTMLDivElement>>;
213
+
197
214
  declare type LinkComponentProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {
198
215
  href: string;
199
216
  truncate?: number;
@@ -402,4 +419,4 @@ interface TextBoxProps {
402
419
  }
403
420
  declare const TextBox: ForwardRefExoticComponent<TextBoxProps & RefAttributes<HTMLElement>>;
404
421
 
405
- export { Alert, AlertProps, AlertSeverityProp, AnchorButton, AnchorButtonProps, Banner, BorderRadiusProp, BorderWidthProp, Box, BoxProps, Button, ButtonArea, ButtonAreaProps, ButtonProps, ButtonSizeProp, ButtonVariantProp, Chat, ChatMessage, Container, ContainerProps, DescriptionItem, DescriptionItemProps, DescriptionLineItem, DottedLine, FileDropZone, FileDropZoneProps, FileListItem, FileListItemProps, LinkComponentProps, LinkedText, LinkedTextProps, MarginProp, MultilineText, MultilineTextProps, Navbar, NavbarAccordionOptions, NavbarAvatar, NavbarBadge, NavbarBottomBar, NavbarBottomBarItem, NavbarItem, NavbarItemOptions, NavbarItemProps, NavbarLabel, NavbarList, NavbarMenu, NavbarMenuItem, NavbarMenuItemOption, Sidebar, SidebarBackButton, SidebarContainer, SidebarContainerProps, SidebarContent, SidebarContentProps, SidebarDivider, SidebarMenuItem, SidebarMenuItemAction, SidebarMenuItemActionProps, SidebarMenuItemAvatar, SidebarMenuItemAvatarProps, SidebarMenuItemProps, SidebarProps, SidebarSubheader, SidebarSubheaderProps, TextAlignProp, TextBox, TextBoxProps, TextColorProp, TextDisplayProp, TextVariantProp, formatBytes, toBytes, useNavbarContext, useSidebarContext };
422
+ export { Alert, AlertProps, AlertSeverityProp, AnchorButton, AnchorButtonProps, Banner, BorderRadiusProp, BorderWidthProp, Box, BoxProps, Button, ButtonArea, ButtonAreaProps, ButtonProps, ButtonSizeProp, ButtonVariantProp, Chat, ChatMessage, Container, ContainerProps, DescriptionItem, DescriptionItemProps, DescriptionLineItem, DottedLine, FileDropZone, FileDropZoneProps, FileListItem, FileListItemProps, FlagList, FlagListItem, LinkComponentProps, LinkedText, LinkedTextProps, MarginProp, MultilineText, MultilineTextProps, Navbar, NavbarAccordionOptions, NavbarAvatar, NavbarBadge, NavbarBottomBar, NavbarBottomBarItem, NavbarItem, NavbarItemOptions, NavbarItemProps, NavbarLabel, NavbarList, NavbarMenu, NavbarMenuItem, NavbarMenuItemOption, Sidebar, SidebarBackButton, SidebarContainer, SidebarContainerProps, SidebarContent, SidebarContentProps, SidebarDivider, SidebarMenuItem, SidebarMenuItemAction, SidebarMenuItemActionProps, SidebarMenuItemAvatar, SidebarMenuItemAvatarProps, SidebarMenuItemProps, SidebarProps, SidebarSubheader, SidebarSubheaderProps, TextAlignProp, TextBox, TextBoxProps, TextColorProp, TextDisplayProp, TextVariantProp, formatBytes, toBytes, useNavbarContext, useSidebarContext };
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { CheckCircle, Info, Error as Error$1, WarningRounded, Image, Refresh, Delete, Menu, ExpandMore, MenuOpen, ArrowBack, OpenInNew } from '@material-ui/icons';
1
+ import { CheckCircle, Info, Error as Error$1, WarningRounded, Image, Refresh, Delete, Warning, Flag, Help, Menu, ExpandMore, MenuOpen, ArrowBack, OpenInNew } from '@material-ui/icons';
2
2
  import { Alert as Alert$1 } from '@material-ui/lab';
3
3
  import { ColorDynamic, parseResponsiveProp, isColorDynamicProp, parseSpaceProp, Stack, Color, Inline, mergeRefs, useUID, isEmptyReactNode, Columns, Column, CardButton, useResponsiveValue, ColorDark, useCollapseBreakpoint } from '@superdispatch/ui';
4
4
  import { forwardRef, useState, useEffect, Children, useRef, useLayoutEffect, Suspense, memo, useContext, createContext, useMemo, createElement } from 'react';
@@ -1095,7 +1095,114 @@ var FileListItem = /*#__PURE__*/forwardRef((_ref2, ref) => {
1095
1095
  });
1096
1096
  if (process.env.NODE_ENV !== "production") FileListItem.displayName = "FileListItem";
1097
1097
 
1098
- var _excluded$6 = ["color", "target", "rel"],
1098
+ var FlagListHeader = /*#__PURE__*/styled.div.withConfig({
1099
+ displayName: "FlagList__FlagListHeader",
1100
+ componentId: "SD__sc-te7hyy-0"
1101
+ })(["display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:12px 16px;background:", ";border:1px solid ", ";border-bottom:none;border-radius:4px 4px 0 0;", "{flex-direction:column;align-items:flex-start;}"], ColorDynamic.Silver200, ColorDynamic.Silver400, _ref => {
1102
+ var {
1103
+ theme
1104
+ } = _ref;
1105
+ return theme.breakpoints.down('xs');
1106
+ });
1107
+ var FlagListContainer = /*#__PURE__*/styled.div.withConfig({
1108
+ displayName: "FlagList__FlagListContainer",
1109
+ componentId: "SD__sc-te7hyy-1"
1110
+ })(["display:flex;flex-direction:column;"]);
1111
+ var FlagList = /*#__PURE__*/forwardRef((_ref2, ref) => {
1112
+ var {
1113
+ isStandalone = false,
1114
+ title,
1115
+ endAction,
1116
+ children
1117
+ } = _ref2;
1118
+ return /*#__PURE__*/jsxs(FlagListContainer, {
1119
+ "data-variant": isStandalone ? 'standalone' : 'with-header',
1120
+ ref: ref,
1121
+ children: [(title || endAction) && /*#__PURE__*/jsxs(FlagListHeader, {
1122
+ children: [title, endAction]
1123
+ }), children]
1124
+ });
1125
+ });
1126
+ if (process.env.NODE_ENV !== "production") FlagList.displayName = "FlagList";
1127
+
1128
+ var _excluded$6 = ["variant", "showHelpIcon", "endAction", "children"];
1129
+ var IconContainer = /*#__PURE__*/styled.div.withConfig({
1130
+ displayName: "FlagListItem__IconContainer",
1131
+ componentId: "SD__sc-o5bqru-0"
1132
+ })(["padding:4px;border-radius:50%;background:", ";color:", ";transition:", ";& .MuiSvgIcon-root{font-size:16px;}"], ColorDynamic.Silver200, ColorDynamic.Blue300, _ref => {
1133
+ var {
1134
+ theme
1135
+ } = _ref;
1136
+ return theme.transitions.create(['color', 'background-color']);
1137
+ });
1138
+ var Content = /*#__PURE__*/styled.div.withConfig({
1139
+ displayName: "FlagListItem__Content",
1140
+ componentId: "SD__sc-o5bqru-1"
1141
+ })(["display:flex;align-items:center;width:100%;gap:8px;"]);
1142
+ var HelpIcon = /*#__PURE__*/styled.div.withConfig({
1143
+ displayName: "FlagListItem__HelpIcon",
1144
+ componentId: "SD__sc-o5bqru-2"
1145
+ })(["margin-left:auto;& > svg{font-size:16px;color:", ";}"], ColorDynamic.Dark500);
1146
+ var EndActions = /*#__PURE__*/styled.div.withConfig({
1147
+ displayName: "FlagListItem__EndActions",
1148
+ componentId: "SD__sc-o5bqru-3"
1149
+ })(["display:flex;align-items:center;margin-left:auto;gap:8px;", "{margin-left:0;width:100%;}"], _ref2 => {
1150
+ var {
1151
+ theme
1152
+ } = _ref2;
1153
+ return theme.breakpoints.down('xs');
1154
+ });
1155
+ var BannerListItemDanger = /*#__PURE__*/css(["& ", "{background:", ";color:", ";}&:hover{background:", ";}"], IconContainer, ColorDynamic.Red50, ColorDynamic.Red300, ColorDynamic.Red50);
1156
+ var BannerListItemStandalone = /*#__PURE__*/css(["background:", ";"], ColorDynamic.Silver200);
1157
+ var BannerListContainer = /*#__PURE__*/styled.div.withConfig({
1158
+ displayName: "FlagListItem__BannerListContainer",
1159
+ componentId: "SD__sc-o5bqru-4"
1160
+ })(["display:flex;align-items:center;gap:8px;padding:8px 16px 8px 12px;border:1px solid ", ";background:", ";cursor:default;transition:", ";& + &{border-top:none;}&:last-child{border-radius:0 0 4px 4px;}&:hover{background:", ";& ", "{background:", ";}& ", " > svg{color:", ";}}[data-variant='standalone'] &:not(:hover){", "}", " ", "{flex-direction:column;align-items:flex-start;}"], ColorDynamic.Silver400, ColorDynamic.White, _ref3 => {
1161
+ var {
1162
+ theme
1163
+ } = _ref3;
1164
+ return theme.transitions.create(['color', 'background-color']);
1165
+ }, ColorDynamic.Blue50, IconContainer, ColorDynamic.White, HelpIcon, _ref4 => {
1166
+ var {
1167
+ $variant
1168
+ } = _ref4;
1169
+ return $variant === 'danger' ? ColorDynamic.Red300 : ColorDynamic.Blue300;
1170
+ }, BannerListItemStandalone, _ref5 => {
1171
+ var {
1172
+ $variant
1173
+ } = _ref5;
1174
+ return $variant === 'danger' ? BannerListItemDanger : null;
1175
+ }, _ref6 => {
1176
+ var {
1177
+ theme
1178
+ } = _ref6;
1179
+ return theme.breakpoints.down('xs');
1180
+ });
1181
+ var FlagListItem = /*#__PURE__*/forwardRef((_ref7, ref) => {
1182
+ var {
1183
+ variant = 'primary',
1184
+ showHelpIcon,
1185
+ endAction,
1186
+ children
1187
+ } = _ref7,
1188
+ rest = _objectWithoutProperties(_ref7, _excluded$6);
1189
+ return /*#__PURE__*/jsxs(BannerListContainer, _objectSpread(_objectSpread({}, rest), {}, {
1190
+ ref: ref,
1191
+ $variant: variant,
1192
+ children: [/*#__PURE__*/jsxs(Content, {
1193
+ children: [/*#__PURE__*/jsx(IconContainer, {
1194
+ children: variant === 'danger' ? /*#__PURE__*/jsx(Error$1, {}) : variant === 'warning' ? /*#__PURE__*/jsx(Warning, {}) : /*#__PURE__*/jsx(Flag, {})
1195
+ }), children, /*#__PURE__*/jsx(HelpIcon, {
1196
+ children: showHelpIcon && /*#__PURE__*/jsx(Help, {})
1197
+ })]
1198
+ }), endAction && /*#__PURE__*/jsx(EndActions, {
1199
+ children: endAction
1200
+ })]
1201
+ }));
1202
+ });
1203
+ if (process.env.NODE_ENV !== "production") FlagListItem.displayName = "FlagListItem";
1204
+
1205
+ var _excluded$7 = ["color", "target", "rel"],
1099
1206
  _excluded2$2 = ["children", "linkComponent"];
1100
1207
  var DefaultLinkComponent = /*#__PURE__*/forwardRef((_ref, ref) => {
1101
1208
  var {
@@ -1103,7 +1210,7 @@ var DefaultLinkComponent = /*#__PURE__*/forwardRef((_ref, ref) => {
1103
1210
  target = '_blank',
1104
1211
  rel = 'noreferrer noopener'
1105
1212
  } = _ref,
1106
- props = _objectWithoutProperties(_ref, _excluded$6);
1213
+ props = _objectWithoutProperties(_ref, _excluded$7);
1107
1214
  return /*#__PURE__*/jsx(Link, _objectSpread(_objectSpread({}, props), {}, {
1108
1215
  ref: ref,
1109
1216
  rel: rel,
@@ -1149,7 +1256,7 @@ function useNavbarContext() {
1149
1256
  return useContext(NavbarContext);
1150
1257
  }
1151
1258
 
1152
- var _excluded$7 = ["active", "hasBadge"];
1259
+ var _excluded$8 = ["active", "hasBadge"];
1153
1260
  var StyledBottomNavigation = /*#__PURE__*/styled(BottomNavigation).withConfig({
1154
1261
  displayName: "NavbarBottomBar__StyledBottomNavigation",
1155
1262
  componentId: "SD__sc-9z6v3k-0"
@@ -1193,7 +1300,7 @@ function NavbarBottomBar(_ref) {
1193
1300
  active,
1194
1301
  hasBadge
1195
1302
  } = _ref2,
1196
- item = _objectWithoutProperties(_ref2, _excluded$7);
1303
+ item = _objectWithoutProperties(_ref2, _excluded$8);
1197
1304
  return /*#__PURE__*/createElement(StyledBottomNavigationAction, _objectSpread(_objectSpread({}, item), {}, {
1198
1305
  key: item.value,
1199
1306
  icon: hasBadge ? /*#__PURE__*/jsxs(IconWrapper, {
@@ -1410,7 +1517,7 @@ function NavbarMenuItem(_ref5) {
1410
1517
  })
1411
1518
  });
1412
1519
  }
1413
- var Content = /*#__PURE__*/styled.div.withConfig({
1520
+ var Content$1 = /*#__PURE__*/styled.div.withConfig({
1414
1521
  displayName: "NavbarList__Content",
1415
1522
  componentId: "SD__sc-19zrmxc-5"
1416
1523
  })(["height:100%;min-height:50px;overflow-y:auto;overflow-x:hidden;&[aria-expanded='false']{", ",", "{display:none;}}&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:100vw;margin-bottom:100px;}"], NavbarBadge, NavbarLabel, ColorDark.Silver500);
@@ -1448,7 +1555,7 @@ function NavbarList(_ref6) {
1448
1555
  },
1449
1556
  children: isMenuExpanded ? /*#__PURE__*/jsx(MenuOpen, {}) : /*#__PURE__*/jsx(Menu, {})
1450
1557
  })]
1451
- }), /*#__PURE__*/jsx(Content, {
1558
+ }), /*#__PURE__*/jsx(Content$1, {
1452
1559
  "aria-expanded": isSidebarOpened,
1453
1560
  children: filteredItems.map(item => {
1454
1561
  var index = filteredItems.indexOf(item);
@@ -1553,7 +1660,7 @@ function Navbar(_ref) {
1553
1660
  });
1554
1661
  }
1555
1662
 
1556
- var _excluded$8 = ["title", "subtitle", "children"];
1663
+ var _excluded$9 = ["title", "subtitle", "children"];
1557
1664
  var StyledTypography = /*#__PURE__*/styled(Typography).withConfig({
1558
1665
  displayName: "NavbarAvatar__StyledTypography",
1559
1666
  componentId: "SD__sc-19q2zd0-0"
@@ -1564,7 +1671,7 @@ function NavbarAvatar(_ref) {
1564
1671
  subtitle,
1565
1672
  children
1566
1673
  } = _ref,
1567
- props = _objectWithoutProperties(_ref, _excluded$8);
1674
+ props = _objectWithoutProperties(_ref, _excluded$9);
1568
1675
  var {
1569
1676
  isNavbarExpanded
1570
1677
  } = useNavbarContext();
@@ -1774,7 +1881,7 @@ var SidebarContainer = /*#__PURE__*/forwardRef((_ref, ref) => {
1774
1881
  });
1775
1882
  if (process.env.NODE_ENV !== "production") SidebarContainer.displayName = "SidebarContainer";
1776
1883
 
1777
- var _excluded$9 = ["onClick", "children"];
1884
+ var _excluded$a = ["onClick", "children"];
1778
1885
  function SidebarBackButton(_ref) {
1779
1886
  var {
1780
1887
  onClick: _onClick,
@@ -1782,7 +1889,7 @@ function SidebarBackButton(_ref) {
1782
1889
  fontSize: "small"
1783
1890
  })
1784
1891
  } = _ref,
1785
- props = _objectWithoutProperties(_ref, _excluded$9);
1892
+ props = _objectWithoutProperties(_ref, _excluded$a);
1786
1893
  var isCollapsed = useCollapseBreakpoint('sm');
1787
1894
  var {
1788
1895
  openSidebar
@@ -2148,5 +2255,5 @@ var SidebarSubheader = /*#__PURE__*/forwardRef((_ref, ref) => {
2148
2255
  });
2149
2256
  if (process.env.NODE_ENV !== "production") SidebarSubheader.displayName = "SidebarSubheader";
2150
2257
 
2151
- export { Alert, AnchorButton, Banner, Box, Button, ButtonArea, Chat, ChatMessage, Container, DescriptionItem, DescriptionLineItem, DottedLine, FileDropZone, FileListItem, LinkedText, MultilineText, Navbar, NavbarAvatar, NavbarBadge, NavbarBottomBar, NavbarItem, NavbarLabel, NavbarList, NavbarMenu, NavbarMenuItem, Sidebar, SidebarBackButton, SidebarContainer, SidebarContent, SidebarDivider, SidebarMenuItem, SidebarMenuItemAction, SidebarMenuItemAvatar, SidebarSubheader, TextBox, formatBytes, toBytes, useNavbarContext, useSidebarContext };
2258
+ export { Alert, AnchorButton, Banner, Box, Button, ButtonArea, Chat, ChatMessage, Container, DescriptionItem, DescriptionLineItem, DottedLine, FileDropZone, FileListItem, FlagList, FlagListItem, LinkedText, MultilineText, Navbar, NavbarAvatar, NavbarBadge, NavbarBottomBar, NavbarItem, NavbarLabel, NavbarList, NavbarMenu, NavbarMenuItem, Sidebar, SidebarBackButton, SidebarContainer, SidebarContent, SidebarDivider, SidebarMenuItem, SidebarMenuItemAction, SidebarMenuItemAvatar, SidebarSubheader, TextBox, formatBytes, toBytes, useNavbarContext, useSidebarContext };
2152
2259
  //# sourceMappingURL=index.js.map