labsense-ui-kit 1.3.60 → 1.3.62

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,4 @@
1
+ import React from 'react';
2
+ import { SVGProps } from '..';
3
+ declare const Unlock: React.FC<SVGProps>;
4
+ export default Unlock;
@@ -241,6 +241,7 @@ export { default as Traffic } from './Traffic';
241
241
  export { default as Translate } from './Translate';
242
242
  export { default as TriangularFilledWarning } from './TriangularFilledWarning';
243
243
  export { default as TruckSpeed } from './TruckSpeed';
244
+ export { default as Unlock } from './Unlock';
244
245
  export { default as UnPinned } from './UnPinned';
245
246
  export { default as UpArrow } from './UpArrow';
246
247
  export { default as UploadFile } from './UploadFile';
@@ -10,7 +10,7 @@ export interface SVGProps {
10
10
  color: string;
11
11
  weight: string;
12
12
  }
13
- export declare type IconNames = 'Action' | 'ActiveWorkflow' | 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Brain' | 'AI_License' | 'AI_Web' | 'Analytics' | 'App' | 'Arrow_Up_Down_Left_Right' | 'ArrowDown' | 'ArrowUp' | 'Ascending' | 'Attach' | 'Back' | 'Bag' | 'Bank' | 'Bell' | 'BookmarkAdd' | 'Bookmarks' | 'BookmarkSaved' | 'Bin' | 'BrainNetworking' | 'Building' | 'Bulb' | 'Bus' | 'Business' | 'Calendar' | 'Car' | 'Cart_check' | 'CCTV_1' | 'CCTV_2' | 'Certificate_1' | 'Circle' | 'Check' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Close' | 'CloseCircle_2' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Copy_2' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Dashboard' | 'Data_search' | 'Deactivated' | 'Decrease' | 'Descending' | 'Detach' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'Document' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Drag_Indicator' | 'Email' | 'ExitFullScreen' | 'Expired' | 'FaceRecognition_2' | 'FaceRecognition' | 'FastDelivery' | 'File' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Flow' | 'FootStep' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Hammer' | 'Handshake' | 'Hazard' | 'Help' | 'History' | 'Home_2' | 'Home' | 'Hospital' | 'ImageNormalizer' | 'ImageResizer' | 'ImageSplitter' | 'Increase' | 'Hexagon' | 'Highway' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'Large_building' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'License' | 'Linkedin' | 'Licenses' | 'Line' | 'Live' | 'Loader' | 'Location' | 'Lock' | 'Logout' | 'Mail' | 'Management' | 'Manufacturing' | 'Maps_2' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Network' | 'Menu' | 'MeterUp' | 'NetworkStorage' | 'NFS_Directory' | 'No_Data' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'Out' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PoliceBadge' | 'Polygon' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'QR' | 'Recording_1' | 'Recording_2' | 'Recording_3' | 'Rectangle' | 'Restaurant' | 'Retail' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'Rhombus' | 'RightArrow' | 'Ringing_Bell' | 'Rocket' | 'ROI' | 'RunAway' | 'Rupee' | 'SandTimer' | 'Scalable' | 'School' | 'Search' | 'Searching_Data' | 'SecureSystem' | 'Security' | 'SelectedCircle' | 'Send' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'ShoppingCart' | 'Sink' | 'SlantLine' | 'Small_building' | 'Sort_2' | 'Sort' | 'Source' | 'SquareEdit' | 'SquareTick' | 'Star_2' | 'Star' | 'StorageDisks' | 'Tag' | 'Team' | 'Team_2' | 'Technology' | 'ThreeDots' | 'ThumbsUp_2' | 'ThumbsUp' | 'Thunder' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'Tools_2' | 'Traffic' | 'Translate' | 'TriangularFilledWarning' | 'TruckSpeed' | 'UnPinned' | 'UpArrow' | 'UploadFile' | 'VehicleNumber' | 'Video' | 'FullVolume_2' | 'FullVolume' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper' | 'Zoom';
13
+ export declare type IconNames = 'Action' | 'ActiveWorkflow' | 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Brain' | 'AI_License' | 'AI_Web' | 'Analytics' | 'App' | 'Arrow_Up_Down_Left_Right' | 'ArrowDown' | 'ArrowUp' | 'Ascending' | 'Attach' | 'Back' | 'Bag' | 'Bank' | 'Bell' | 'BookmarkAdd' | 'Bookmarks' | 'BookmarkSaved' | 'Bin' | 'BrainNetworking' | 'Building' | 'Bulb' | 'Bus' | 'Business' | 'Calendar' | 'Car' | 'Cart_check' | 'CCTV_1' | 'CCTV_2' | 'Certificate_1' | 'Circle' | 'Check' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Close' | 'CloseCircle_2' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Copy_2' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Dashboard' | 'Data_search' | 'Deactivated' | 'Decrease' | 'Descending' | 'Detach' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'Document' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Drag_Indicator' | 'Email' | 'ExitFullScreen' | 'Expired' | 'FaceRecognition_2' | 'FaceRecognition' | 'FastDelivery' | 'File' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Flow' | 'FootStep' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Hammer' | 'Handshake' | 'Hazard' | 'Help' | 'History' | 'Home_2' | 'Home' | 'Hospital' | 'ImageNormalizer' | 'ImageResizer' | 'ImageSplitter' | 'Increase' | 'Hexagon' | 'Highway' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'Large_building' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'License' | 'Linkedin' | 'Licenses' | 'Line' | 'Live' | 'Loader' | 'Location' | 'Lock' | 'Logout' | 'Mail' | 'Management' | 'Manufacturing' | 'Maps_2' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Network' | 'Menu' | 'MeterUp' | 'NetworkStorage' | 'NFS_Directory' | 'No_Data' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'Out' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PoliceBadge' | 'Polygon' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'QR' | 'Recording_1' | 'Recording_2' | 'Recording_3' | 'Rectangle' | 'Restaurant' | 'Retail' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'Rhombus' | 'RightArrow' | 'Ringing_Bell' | 'Rocket' | 'ROI' | 'RunAway' | 'Rupee' | 'SandTimer' | 'Scalable' | 'School' | 'Search' | 'Searching_Data' | 'SecureSystem' | 'Security' | 'SelectedCircle' | 'Send' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'ShoppingCart' | 'Sink' | 'SlantLine' | 'Small_building' | 'Sort_2' | 'Sort' | 'Source' | 'SquareEdit' | 'SquareTick' | 'Star_2' | 'Star' | 'StorageDisks' | 'Tag' | 'Team' | 'Team_2' | 'Technology' | 'ThreeDots' | 'ThumbsUp_2' | 'ThumbsUp' | 'Thunder' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'Tools_2' | 'Traffic' | 'Translate' | 'TriangularFilledWarning' | 'TruckSpeed' | 'Unlock' | 'UnPinned' | 'UpArrow' | 'UploadFile' | 'VehicleNumber' | 'Video' | 'FullVolume_2' | 'FullVolume' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper' | 'Zoom';
14
14
  export interface IconProps {
15
15
  icon: IconNames;
16
16
  size?: number;
package/dist/index.js CHANGED
@@ -5815,6 +5815,26 @@ var TruckSpeed = function TruckSpeed(_ref) {
5815
5815
  }));
5816
5816
  };
5817
5817
 
5818
+ var Unlock = function Unlock(_ref) {
5819
+ var size = _ref.size,
5820
+ color = _ref.color,
5821
+ weight = _ref.weight;
5822
+ return React__default.createElement("svg", {
5823
+ width: size,
5824
+ height: size,
5825
+ strokeWidth: weight,
5826
+ viewBox: '0 0 14 15',
5827
+ fill: 'none',
5828
+ xmlns: 'http://www.w3.org/2000/svg'
5829
+ }, React__default.createElement("path", {
5830
+ d: "M7.25 8.75C7.25 9.159 7.0535 9.522 6.75 9.75V11.5C6.75 11.6989 6.67098 11.8897 6.53033 12.0303C6.38968 12.171 6.19891 12.25 6 12.25C5.80109 12.25 5.61032 12.171 5.46967 12.0303C5.32902 11.8897 5.25 11.6989 5.25 11.5V9.75C5.07954 9.62216 4.9446 9.45287 4.85797 9.2582C4.77134 9.06353 4.73592 8.84995 4.75505 8.63774C4.77419 8.42553 4.84725 8.22174 4.9673 8.04571C5.08735 7.86968 5.25041 7.72725 5.44098 7.63197C5.63156 7.53668 5.84333 7.49169 6.05619 7.50126C6.26904 7.51084 6.47592 7.57467 6.65716 7.68669C6.83841 7.7987 6.98802 7.95519 7.09178 8.14129C7.19554 8.3274 7.25 8.53693 7.25 8.75Z",
5831
+ fill: color
5832
+ }), React__default.createElement("path", {
5833
+ d: "M7.75 3C7.75 2.20435 8.06607 1.44129 8.62868 0.87868C9.19129 0.316071 9.95435 0 10.75 0C11.5456 0 12.3087 0.316071 12.8713 0.87868C13.4339 1.44129 13.75 2.20435 13.75 3V3.875C13.75 4.04076 13.6842 4.19973 13.5669 4.31694C13.4497 4.43415 13.2908 4.5 13.125 4.5C12.9592 4.5 12.8003 4.43415 12.6831 4.31694C12.5658 4.19973 12.5 4.04076 12.5 3.875V3C12.5 2.53587 12.3156 2.09075 11.9874 1.76256C11.6592 1.43437 11.2141 1.25 10.75 1.25C10.2859 1.25 9.84075 1.43437 9.51256 1.76256C9.18437 2.09075 9 2.53587 9 3V4.5H10C10.5304 4.5 11.0391 4.71071 11.4142 5.08579C11.7893 5.46086 12 5.96957 12 6.5V13C12 13.5304 11.7893 14.0391 11.4142 14.4142C11.0391 14.7893 10.5304 15 10 15H2C1.46957 15 0.960859 14.7893 0.585786 14.4142C0.210714 14.0391 0 13.5304 0 13V6.5C0 5.96957 0.210714 5.46086 0.585786 5.08579C0.960859 4.71071 1.46957 4.5 2 4.5H7.75V3ZM2 5.5C1.73478 5.5 1.48043 5.60536 1.29289 5.79289C1.10536 5.98043 1 6.23478 1 6.5V13C1 13.2652 1.10536 13.5196 1.29289 13.7071C1.48043 13.8946 1.73478 14 2 14H10C10.2652 14 10.5196 13.8946 10.7071 13.7071C10.8946 13.5196 11 13.2652 11 13V6.5C11 6.23478 10.8946 5.98043 10.7071 5.79289C10.5196 5.60536 10.2652 5.5 10 5.5H2Z",
5834
+ fill: color
5835
+ }));
5836
+ };
5837
+
5818
5838
  var UnPinned = function UnPinned(_ref) {
5819
5839
  var size = _ref.size,
5820
5840
  color = _ref.color,
@@ -6356,6 +6376,7 @@ var IconSVGs = {
6356
6376
  Translate: Translate,
6357
6377
  TriangularFilledWarning: TriangularFilledWarning,
6358
6378
  TruckSpeed: TruckSpeed,
6379
+ Unlock: Unlock,
6359
6380
  UnPinned: UnPinned,
6360
6381
  UpArrow: UpArrow,
6361
6382
  UploadFile: UploadFile,
@@ -10258,7 +10279,7 @@ var Pagination = function Pagination(_ref4) {
10258
10279
  }, React__default.createElement(Span, {
10259
10280
  "$fontWeight": '400',
10260
10281
  "$fontSize": '14px'
10261
- }, t('Item_Per_Page')), React__default.createElement(Container, null, React__default.createElement(SelectOption, {
10282
+ }, t('Items_Per_Page')), React__default.createElement(Container, null, React__default.createElement(SelectOption, {
10262
10283
  width: '54px',
10263
10284
  size: 'small',
10264
10285
  value: itemsPerPage.toString(),
@@ -10448,36 +10469,45 @@ var IconWrapper$2 = styled__default.div(_templateObject3$c || (_templateObject3$
10448
10469
  theme = _ref10.theme;
10449
10470
  return $selected ? theme.vms["default"].primary : theme.vms["default"].tertiary;
10450
10471
  });
10451
- var StyledContainer = styled__default(Container)(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n transition: none;\n \n &:hover {\n svg {\n color: ", " !important;\n transition: none;\n }\n }\n \n &.active {\n svg {\n color: ", " !important;\n transition: none;\n }\n }\n"])), function (_ref11) {
10472
+ var StyledContainer = styled__default(Container)(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n transition: none;\n\n svg {\n transition: none;\n }\n\n /* Parent hover / active */\n &:hover,\n &.active {\n svg {\n color: ", " !important;\n }\n }\n\n /* 2nd child reacts ONLY when parent is hovered */\n &:hover > div:nth-child(2) {\n svg {\n color: ", " !important;\n\n path {\n stroke: ", " !important;\n }\n }\n }\n\n /* Default state for 2nd child */\n > div:nth-child(2) {\n svg {\n color: ", " !important;\n\n path {\n stroke: ", " !important;\n }\n }\n }\n"])), function (_ref11) {
10452
10473
  var theme = _ref11.theme;
10453
10474
  return theme.vms.text.white;
10454
10475
  }, function (_ref12) {
10455
10476
  var theme = _ref12.theme;
10456
10477
  return theme.vms.text.white;
10478
+ }, function (_ref13) {
10479
+ var theme = _ref13.theme;
10480
+ return theme.vms.text.white;
10481
+ }, function (_ref14) {
10482
+ var theme = _ref14.theme;
10483
+ return theme.vms.text.white;
10484
+ }, function (_ref15) {
10485
+ var theme = _ref15.theme;
10486
+ return theme.vms.text.medium;
10457
10487
  });
10458
10488
  var Logo = styled__default.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n transition: none;\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: center;\n gap: 10px;\n"])));
10459
- var TextContainer = styled__default.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n transform: translateX(-10px);\n transition: all 0.3s ease;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n\n ", ":hover & {\n opacity: 1;\n visibility: visible;\n transform: translateX(0);\n }\n"])), function (_ref13) {
10460
- var $padding = _ref13.$padding;
10489
+ var TextContainer = styled__default.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n transform: translateX(-10px);\n transition: all 0.3s ease;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n\n ", ":hover & {\n opacity: 1;\n visibility: visible;\n transform: translateX(0);\n }\n"])), function (_ref16) {
10490
+ var $padding = _ref16.$padding;
10461
10491
  return $padding;
10462
- }, function (_ref14) {
10463
- var $fontSize = _ref14.$fontSize;
10492
+ }, function (_ref17) {
10493
+ var $fontSize = _ref17.$fontSize;
10464
10494
  return $fontSize || '20px';
10465
- }, function (_ref15) {
10466
- var $fontWeight = _ref15.$fontWeight;
10495
+ }, function (_ref18) {
10496
+ var $fontWeight = _ref18.$fontWeight;
10467
10497
  return $fontWeight || '500';
10468
10498
  }, SidebarContainer);
10469
- var NotificationBadge = styled__default.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n position: ", ";\n // top: -4px;\n // right: 4px;\n background: red;\n color: white;\n font-size: 10px;\n font-weight: bold;\n border-radius: 50%;\n padding: 2px 5px;\n min-width: 16px;\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 100;\n width: max-content;\n"])), function (_ref16) {
10470
- var $position = _ref16.$position;
10499
+ var NotificationBadge = styled__default.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n position: ", ";\n // top: -4px;\n // right: 4px;\n background: red;\n color: white;\n font-size: 10px;\n font-weight: bold;\n border-radius: 50%;\n padding: 2px 5px;\n min-width: 16px;\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 100;\n width: max-content;\n"])), function (_ref19) {
10500
+ var $position = _ref19.$position;
10471
10501
  return $position || 'absolute';
10472
10502
  });
10473
- var Sidebar = function Sidebar(_ref17) {
10474
- var logo = _ref17.logo,
10475
- content = _ref17.content,
10476
- background = _ref17.background,
10477
- ProfileContent = _ref17.ProfileContent,
10478
- _ref17$isExpanded = _ref17.isExpanded,
10479
- isExpanded = _ref17$isExpanded === void 0 ? false : _ref17$isExpanded,
10480
- setIsExpanded = _ref17.setIsExpanded;
10503
+ var Sidebar = function Sidebar(_ref20) {
10504
+ var logo = _ref20.logo,
10505
+ content = _ref20.content,
10506
+ background = _ref20.background,
10507
+ ProfileContent = _ref20.ProfileContent,
10508
+ _ref20$isExpanded = _ref20.isExpanded,
10509
+ isExpanded = _ref20$isExpanded === void 0 ? false : _ref20$isExpanded,
10510
+ setIsExpanded = _ref20.setIsExpanded;
10481
10511
  var location = reactRouterDom.useLocation();
10482
10512
  var _useState = React.useState({}),
10483
10513
  openMenus = _useState[0],
@@ -10502,9 +10532,9 @@ var Sidebar = function Sidebar(_ref17) {
10502
10532
  }, [isExpanded]);
10503
10533
  var toggleMenu = function toggleMenu(id) {
10504
10534
  setOpenMenus(function (prev) {
10505
- var _ref18;
10535
+ var _ref21;
10506
10536
  var isCurrentlyOpen = !!prev[id];
10507
- return isCurrentlyOpen ? {} : (_ref18 = {}, _ref18[id] = true, _ref18);
10537
+ return isCurrentlyOpen ? {} : (_ref21 = {}, _ref21[id] = true, _ref21);
10508
10538
  });
10509
10539
  };
10510
10540
  var getTotalNotifications = React.useCallback(function (item) {
@@ -10529,8 +10559,8 @@ var Sidebar = function Sidebar(_ref17) {
10529
10559
  return currentBase === getBasePath(child.activeUrl) || currentBase === getBasePath(child.url);
10530
10560
  }));
10531
10561
  };
10532
- var ChildLink = React__default.memo(function (_ref19) {
10533
- var child = _ref19.child;
10562
+ var ChildLink = React__default.memo(function (_ref22) {
10563
+ var child = _ref22.child;
10534
10564
  var themeColors = styled.useTheme();
10535
10565
  var location = reactRouterDom.useLocation();
10536
10566
  var active = getBasePath(location.pathname) === getBasePath(child.activeUrl) || getBasePath(location.pathname) === getBasePath(child.url);
@@ -10576,14 +10606,14 @@ var Sidebar = function Sidebar(_ref17) {
10576
10606
  });
10577
10607
  }));
10578
10608
  };
10579
- var SidebarItem = React__default.memo(function (_ref20) {
10580
- var item = _ref20.item,
10581
- isActive = _ref20.isActive,
10582
- isOpen = _ref20.isOpen,
10583
- hasChildren = _ref20.hasChildren,
10584
- isExpanded = _ref20.isExpanded,
10585
- onToggle = _ref20.onToggle,
10586
- renderChildLinks = _ref20.renderChildLinks;
10609
+ var SidebarItem = React__default.memo(function (_ref23) {
10610
+ var item = _ref23.item,
10611
+ isActive = _ref23.isActive,
10612
+ isOpen = _ref23.isOpen,
10613
+ hasChildren = _ref23.hasChildren,
10614
+ isExpanded = _ref23.isExpanded,
10615
+ onToggle = _ref23.onToggle,
10616
+ renderChildLinks = _ref23.renderChildLinks;
10587
10617
  var themeColors = styled.useTheme();
10588
10618
  var activeClass = isActive ? 'active' : '';
10589
10619
  var handleClick = React.useCallback(function () {