labsense-ui-kit 1.1.68 → 1.1.70

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 InformationFilled: React.FC<SVGProps>;
4
+ export default InformationFilled;
@@ -54,6 +54,7 @@ export { default as Hazard } from './Hazard';
54
54
  export { default as History } from './History';
55
55
  export { default as Hexagon } from './Hexagon';
56
56
  export { default as Information } from './Information';
57
+ export { default as InformationFilled } from './InformationFilled';
57
58
  export { default as IP } from './IP';
58
59
  export { default as Key } from './Key';
59
60
  export { default as KeyDown } from './KeyDown';
@@ -9,7 +9,7 @@ export interface SVGProps {
9
9
  color: string;
10
10
  weight: string;
11
11
  }
12
- export declare type IconNames = 'Add_1' | 'Add_2' | 'AddProfile' | 'AI_Web' | 'App' | 'Back' | 'Bin' | 'Bulb' | 'Business' | 'Calendar' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'Client' | 'Close' | 'CloseCircle' | 'CloseEye' | 'Copy' | 'CPU' | 'Cube3D' | 'Cyber' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DocumentBadge' | 'DownArrow' | 'Download' | 'Email' | 'ExitFullScreen' | 'FaceRecognition' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hazard' | 'History' | 'Hexagon' | 'Information' | 'IP' | 'Key' | 'KeyDown' | 'KnobController' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'Live' | 'Lock' | 'Logout' | 'Maps' | 'Media' | 'Monitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Menu' | 'NetworkStorage' | 'NFS_Directory' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'Recording_1' | 'Recording_2' | 'Rectangle' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'RightArrow' | 'ROI' | 'RunAway' | 'SandTimer' | 'Search' | 'Settings' | 'Shield' | 'SlantLine' | 'SquareEdit' | 'SquareTick' | 'StorageDisks' | 'Tag' | 'Team' | 'ThreeDots' | 'ThumbsUp' | 'Tick' | 'Tools' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'Video' | 'FullVolume' | 'Wallet' | 'Web' | 'WiFiCam' | 'Zapper';
12
+ export declare type IconNames = 'Add_1' | 'Add_2' | 'AddProfile' | 'AI_Web' | 'App' | 'Back' | 'Bin' | 'Bulb' | 'Business' | 'Calendar' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'Client' | 'Close' | 'CloseCircle' | 'CloseEye' | 'Copy' | 'CPU' | 'Cube3D' | 'Cyber' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DocumentBadge' | 'DownArrow' | 'Download' | 'Email' | 'ExitFullScreen' | 'FaceRecognition' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hazard' | 'History' | 'Hexagon' | 'Information' | 'InformationFilled' | 'IP' | 'Key' | 'KeyDown' | 'KnobController' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'Live' | 'Lock' | 'Logout' | 'Maps' | 'Media' | 'Monitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Menu' | 'NetworkStorage' | 'NFS_Directory' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'Recording_1' | 'Recording_2' | 'Rectangle' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'RightArrow' | 'ROI' | 'RunAway' | 'SandTimer' | 'Search' | 'Settings' | 'Shield' | 'SlantLine' | 'SquareEdit' | 'SquareTick' | 'StorageDisks' | 'Tag' | 'Team' | 'ThreeDots' | 'ThumbsUp' | 'Tick' | 'Tools' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'Video' | 'FullVolume' | 'Wallet' | 'Web' | 'WiFiCam' | 'Zapper';
13
13
  export interface IconProps {
14
14
  icon: IconNames;
15
15
  size?: number;
@@ -19,6 +19,10 @@ interface TabProps {
19
19
  gap?: string;
20
20
  overflow?: string;
21
21
  bordeBottom?: string;
22
+ tabRightNode?: {
23
+ gap: string;
24
+ node: React.ReactNode;
25
+ };
22
26
  }
23
27
  declare const Tabs: React.FC<TabProps>;
24
28
  export default Tabs;
package/dist/index.js CHANGED
@@ -1701,6 +1701,23 @@ var Information = function Information(_ref) {
1701
1701
  }));
1702
1702
  };
1703
1703
 
1704
+ var InformationFilled = function InformationFilled(_ref) {
1705
+ var size = _ref.size,
1706
+ color = _ref.color,
1707
+ weight = _ref.weight;
1708
+ return React__default.createElement("svg", {
1709
+ width: size,
1710
+ height: size,
1711
+ strokeWidth: weight,
1712
+ viewBox: "0 0 18 18",
1713
+ fill: "none",
1714
+ xmlns: "http://www.w3.org/2000/svg"
1715
+ }, React__default.createElement("path", {
1716
+ d: "M8.99996 0.666687C4.39996 0.666687 0.666626 4.40002 0.666626 9.00002C0.666626 13.6 4.39996 17.3334 8.99996 17.3334C13.6 17.3334 17.3333 13.6 17.3333 9.00002C17.3333 4.40002 13.6 0.666687 8.99996 0.666687ZM8.99996 13.1667C8.54163 13.1667 8.16663 12.7917 8.16663 12.3334V9.00002C8.16663 8.54169 8.54163 8.16669 8.99996 8.16669C9.45829 8.16669 9.83329 8.54169 9.83329 9.00002V12.3334C9.83329 12.7917 9.45829 13.1667 8.99996 13.1667ZM9.83329 6.50002H8.16663V4.83335H9.83329V6.50002Z",
1717
+ fill: color
1718
+ }));
1719
+ };
1720
+
1704
1721
  var IP = function IP(_ref) {
1705
1722
  var size = _ref.size,
1706
1723
  color = _ref.color,
@@ -3295,6 +3312,7 @@ var IconSVGs = {
3295
3312
  History: History,
3296
3313
  Hexagon: Hexagon,
3297
3314
  Information: Information,
3315
+ InformationFilled: InformationFilled,
3298
3316
  IP: IP,
3299
3317
  Key: Key,
3300
3318
  KeyDown: KeyDown,
@@ -5595,7 +5613,7 @@ var useNotification = function useNotification() {
5595
5613
  };
5596
5614
 
5597
5615
  var _templateObject$e, _templateObject2$b;
5598
- var SearchContainer$2 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
5616
+ var SearchContainer$2 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n // cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
5599
5617
  var $background = _ref.$background;
5600
5618
  return $background || colorVariables["default"].tertiary;
5601
5619
  }, function (_ref2) {
@@ -7003,7 +7021,7 @@ var Table = function Table(_ref3) {
7003
7021
  }))));
7004
7022
  };
7005
7023
 
7006
- var _templateObject$q, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$a;
7024
+ var _templateObject$q, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
7007
7025
  var Container$4 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: ", ";\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
7008
7026
  var $overflow = _ref.$overflow;
7009
7027
  return $overflow || 'visible';
@@ -7014,7 +7032,7 @@ var Container$4 = styled__default.div(_templateObject$q || (_templateObject$q =
7014
7032
  var $border = _ref3.$border;
7015
7033
  return $border;
7016
7034
  });
7017
- var FirstContainer = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n"])), function (_ref4) {
7035
+ var FirstContainer = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: ", ";\n padding: ", ";\n justify-content: space-between;\n align-items: center;\n height: max-content;\n"])), function (_ref4) {
7018
7036
  var $bordeBottom = _ref4.$bordeBottom;
7019
7037
  return $bordeBottom != null ? $bordeBottom : "1px solid " + colorVariables.border.light;
7020
7038
  }, function (_ref5) {
@@ -7040,9 +7058,10 @@ var TabItemContainer = styled__default.div(_templateObject4$c || (_templateObjec
7040
7058
  }, function (props) {
7041
7059
  return props.$active ? 'block' : 'none';
7042
7060
  }, colorVariables["default"].primary);
7043
- var DetailsFirstContainer = styled__default.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
7061
+ var DetailsFirstContainer = styled__default.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n white-space: nowrap;\n"])), function (props) {
7044
7062
  return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
7045
7063
  });
7064
+ var TabItemsWrapper = styled__default.div(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 24px;\n // overflow-x: auto;\n scrollbar-width: thin;\n"])));
7046
7065
  var Tabs = function Tabs(_ref11) {
7047
7066
  var tabItems = _ref11.tabItems,
7048
7067
  _ref11$disabled = _ref11.disabled,
@@ -7054,7 +7073,8 @@ var Tabs = function Tabs(_ref11) {
7054
7073
  _ref11$gap = _ref11.gap,
7055
7074
  gap = _ref11$gap === void 0 ? '24px' : _ref11$gap,
7056
7075
  overflow = _ref11.overflow,
7057
- bordeBottom = _ref11.bordeBottom;
7076
+ bordeBottom = _ref11.bordeBottom,
7077
+ tabRightNode = _ref11.tabRightNode;
7058
7078
  return React__default.createElement(Container$4, {
7059
7079
  "$gap": gap,
7060
7080
  "$border": border,
@@ -7062,7 +7082,7 @@ var Tabs = function Tabs(_ref11) {
7062
7082
  }, React__default.createElement(FirstContainer, {
7063
7083
  "$headerPadding": headerPadding,
7064
7084
  "$bordeBottom": bordeBottom
7065
- }, tabItems.map(function (tab, index) {
7085
+ }, React__default.createElement(TabItemsWrapper, null, tabItems.map(function (tab, index) {
7066
7086
  return React__default.createElement(TabContainer, {
7067
7087
  key: index,
7068
7088
  onClick: function onClick() {
@@ -7081,7 +7101,7 @@ var Tabs = function Tabs(_ref11) {
7081
7101
  }), React__default.createElement(DetailsFirstContainer, {
7082
7102
  "$active": activeTab === tab.title
7083
7103
  }, tab.title)));
7084
- })), tabItems.map(function (tab, index) {
7104
+ })), tabRightNode === null || tabRightNode === void 0 ? void 0 : tabRightNode.node), tabItems.map(function (tab, index) {
7085
7105
  return activeTab === tab.title && React__default.createElement(Container$4, {
7086
7106
  key: index,
7087
7107
  "$overflow": overflow