labsense-ui-kit 1.1.16 → 1.1.18
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/Icons/SVGs/Directory.d.ts +4 -0
- package/dist/Icons/SVGs/NFS_Directory.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +2 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/Tabs/Tabs.d.ts +1 -0
- package/dist/index.js +74 -23
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +74 -23
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export { default as Copy } from './Copy';
|
|
|
21
21
|
export { default as CPU } from './CPU';
|
|
22
22
|
export { default as Cube3D } from './Cube3D';
|
|
23
23
|
export { default as Cyber } from './Cyber';
|
|
24
|
+
export { default as Directory } from './Directory';
|
|
24
25
|
export { default as DocumentBadge } from './DocumentBadge';
|
|
25
26
|
export { default as DownArrow } from './DownArrow';
|
|
26
27
|
export { default as Download } from './Download';
|
|
@@ -61,6 +62,7 @@ export { default as Menu } from './Menu';
|
|
|
61
62
|
export { default as Mute } from './Mute';
|
|
62
63
|
export { default as MuteVolume } from './MuteVolume';
|
|
63
64
|
export { default as NetworkStorage } from './NetworkStorage';
|
|
65
|
+
export { default as NFS_Directory } from './NFS_Directory';
|
|
64
66
|
export { default as NoCam } from './NoCam';
|
|
65
67
|
export { default as NoStorage } from './NoStorage';
|
|
66
68
|
export { default as Notifications } from './Notifications';
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface SVGProps {
|
|
|
9
9
|
color: string;
|
|
10
10
|
weight: string;
|
|
11
11
|
}
|
|
12
|
-
export declare type IconNames = 'Add' | 'AddProfile' | 'Back' | 'Bin' | 'Bulb' | 'Business' | 'Calendar' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'Client' | 'Close' | 'CloseCircle' | 'CloseEye' | 'Copy' | 'CPU' | 'Cube3D' | 'Cyber' | 'DocumentBadge' | 'DownArrow' | 'Download' | 'Email' | 'ExitFullScreen' | 'FaceRecognition' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | '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' | 'Key' | 'KeyDown' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'Live' | 'Lock' | 'Logout' | 'Maps' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Menu' | 'NetworkStorage' | 'NoCam' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'Recording' | 'Rectangle' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'RightArrow' | 'ROI' | 'RunAway' | 'SandTimer' | 'Search' | 'Settings' | 'Shield' | 'SlantLine' | 'SquareEdit' | 'SquareTick' | 'StorageDisks' | 'Tag' | 'Team' | 'ThreeDots' | 'ThumbsUp' | 'Tick' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'Video' | 'FullVolume' | 'Wallet' | 'WiFiCam' | 'Zapper';
|
|
12
|
+
export declare type IconNames = 'Add' | 'AddProfile' | 'Back' | 'Bin' | 'Bulb' | 'Business' | 'Calendar' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'Client' | 'Close' | 'CloseCircle' | 'CloseEye' | 'Copy' | 'CPU' | 'Cube3D' | 'Cyber' | 'Directory' | 'DocumentBadge' | 'DownArrow' | 'Download' | 'Email' | 'ExitFullScreen' | 'FaceRecognition' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | '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' | 'Key' | 'KeyDown' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'Live' | 'Lock' | 'Logout' | 'Maps' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Menu' | 'NetworkStorage' | 'NFS_Directory' | 'NoCam' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'Recording' | 'Rectangle' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'RightArrow' | 'ROI' | 'RunAway' | 'SandTimer' | 'Search' | 'Settings' | 'Shield' | 'SlantLine' | 'SquareEdit' | 'SquareTick' | 'StorageDisks' | 'Tag' | 'Team' | 'ThreeDots' | 'ThumbsUp' | 'Tick' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'Video' | 'FullVolume' | 'Wallet' | 'WiFiCam' | 'Zapper';
|
|
13
13
|
export interface IconProps {
|
|
14
14
|
icon: IconNames;
|
|
15
15
|
size?: number;
|
package/dist/Tabs/Tabs.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -705,6 +705,23 @@ var Cyber = function Cyber(_ref) {
|
|
|
705
705
|
}));
|
|
706
706
|
};
|
|
707
707
|
|
|
708
|
+
var Directory = function Directory(_ref) {
|
|
709
|
+
var size = _ref.size,
|
|
710
|
+
color = _ref.color,
|
|
711
|
+
weight = _ref.weight;
|
|
712
|
+
return React__default.createElement("svg", {
|
|
713
|
+
width: size,
|
|
714
|
+
height: size,
|
|
715
|
+
strokeWidth: weight,
|
|
716
|
+
viewBox: "0 0 34 26",
|
|
717
|
+
fill: "none",
|
|
718
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
719
|
+
}, React__default.createElement("path", {
|
|
720
|
+
d: "M28.6667 4.45898H18.67C18.0167 4.45898 17.3917 4.14565 17.0017 3.62232L15.7333 1.92398C14.8717 0.772318 13.5 0.0839844 12.0617 0.0839844H5.33333C2.805 0.0839844 0.75 2.13898 0.75 4.66732V21.334C0.75 23.8623 2.805 25.9173 5.33333 25.9173H28.6667C31.195 25.9173 33.25 23.8623 33.25 21.334V9.04232C33.25 6.51398 31.195 4.45898 28.6667 4.45898ZM30.75 21.334C30.75 22.4823 29.815 23.4173 28.6667 23.4173H5.33333C4.185 23.4173 3.25 22.4823 3.25 21.334V4.66732C3.25 3.51898 4.185 2.58398 5.33333 2.58398H12.0617C12.715 2.58398 13.34 2.89732 13.73 3.42065L14.9983 5.11898C15.86 6.27065 17.2317 6.95898 18.67 6.95898H28.6667C29.815 6.95898 30.75 7.89398 30.75 9.04232V21.334Z",
|
|
721
|
+
fill: color
|
|
722
|
+
}));
|
|
723
|
+
};
|
|
724
|
+
|
|
708
725
|
var DocumentBadge = function DocumentBadge(_ref) {
|
|
709
726
|
var size = _ref.size,
|
|
710
727
|
color = _ref.color,
|
|
@@ -1796,6 +1813,32 @@ var NetworkStorage = function NetworkStorage(_ref) {
|
|
|
1796
1813
|
}));
|
|
1797
1814
|
};
|
|
1798
1815
|
|
|
1816
|
+
var NFS_Directory = function NFS_Directory(_ref) {
|
|
1817
|
+
var size = _ref.size,
|
|
1818
|
+
color = _ref.color,
|
|
1819
|
+
weight = _ref.weight;
|
|
1820
|
+
return React__default.createElement("svg", {
|
|
1821
|
+
width: size,
|
|
1822
|
+
height: size,
|
|
1823
|
+
strokeWidth: weight,
|
|
1824
|
+
viewBox: "0 0 32 28",
|
|
1825
|
+
fill: "none",
|
|
1826
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1827
|
+
}, React__default.createElement("path", {
|
|
1828
|
+
d: "M19.4846 24.8098H2.92935C1.34308 24.8098 0.0527344 23.5193 0.0527344 21.9332V3.81021C0.0527344 2.22394 1.34328 0.933594 2.92935 0.933594H7.47741C8.64676 0.933594 9.69055 1.6321 10.1365 2.7131L10.717 4.11986H26.0599C27.6462 4.11986 28.9365 5.41041 28.9365 6.99648V11.8659C28.9365 12.4154 28.4909 12.861 27.9415 12.861C27.392 12.861 26.9465 12.4154 26.9465 11.8659V6.99648C26.9465 6.50752 26.5487 6.10991 26.0599 6.10991H10.6239C9.87144 6.10991 9.2 5.66056 8.91303 4.96504L8.29711 3.4721C8.1596 3.13897 7.83801 2.92364 7.47761 2.92364H2.92955C2.44059 2.92364 2.04298 3.32145 2.04298 3.81021V21.9332C2.04298 22.4222 2.44079 22.8198 2.92955 22.8198H19.4848C20.0342 22.8198 20.4798 23.2653 20.4798 23.8148C20.4798 24.3642 20.0342 24.8098 19.4848 24.8098H19.4846Z",
|
|
1829
|
+
fill: color
|
|
1830
|
+
}), React__default.createElement("path", {
|
|
1831
|
+
d: "M27.2037 20.2793C27.0394 20.2793 26.8752 20.2388 26.7267 20.1576L23.1755 18.2177C22.8571 18.0437 22.6587 17.7104 22.6575 17.3476C22.6563 16.9848 22.8527 16.6503 23.1699 16.4744L26.7868 14.4686C27.0826 14.3046 27.4412 14.302 27.7393 14.4616L31.4221 16.4346C31.7466 16.6085 31.9486 16.9472 31.9472 17.3154C31.9458 17.6835 31.7415 18.0208 31.4157 18.1922L27.6672 20.1651C27.5222 20.2415 27.3629 20.2795 27.2037 20.2795V20.2793ZM25.716 17.3379L27.2123 18.1554L28.8304 17.3038L27.2776 16.472L25.716 17.3381V17.3379Z",
|
|
1832
|
+
fill: color
|
|
1833
|
+
}), React__default.createElement("path", {
|
|
1834
|
+
d: "M27.2037 23.6508C27.0393 23.6508 26.8751 23.6102 26.7267 23.529L23.1754 21.5889C22.6932 21.3254 22.5157 20.7208 22.7792 20.2386C23.0427 19.7564 23.6473 19.5789 24.1295 19.8424L27.2124 21.5266L30.4887 19.8022C30.9748 19.5463 31.5766 19.733 31.8325 20.2193C32.0885 20.7057 31.9018 21.3073 31.4154 21.5632L27.667 23.5361C27.5219 23.6126 27.3627 23.6506 27.2035 23.6506L27.2037 23.6508Z",
|
|
1835
|
+
fill: color
|
|
1836
|
+
}), React__default.createElement("path", {
|
|
1837
|
+
d: "M27.2037 27.0666C27.0393 27.0666 26.8751 27.026 26.7267 26.9448L23.1754 25.0049C22.6932 24.7414 22.5157 24.1368 22.7792 23.6546C23.0427 23.1725 23.6473 22.9949 24.1295 23.2584L27.2124 24.9426L30.4887 23.2182C30.9748 22.9623 31.5766 23.149 31.8325 23.6353C32.0885 24.1217 31.9018 24.7233 31.4154 24.9792L27.667 26.9522C27.5219 27.0286 27.3627 27.0666 27.2035 27.0666H27.2037Z",
|
|
1838
|
+
fill: color
|
|
1839
|
+
}));
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1799
1842
|
var NoCam = function NoCam(_ref) {
|
|
1800
1843
|
var size = _ref.size,
|
|
1801
1844
|
color = _ref.color,
|
|
@@ -2814,6 +2857,7 @@ var IconSVGs = {
|
|
|
2814
2857
|
CPU: CPU,
|
|
2815
2858
|
Cube3D: Cube3D,
|
|
2816
2859
|
Cyber: Cyber,
|
|
2860
|
+
Directory: Directory,
|
|
2817
2861
|
DocumentBadge: DocumentBadge,
|
|
2818
2862
|
DownArrow: DownArrow,
|
|
2819
2863
|
Download: Download,
|
|
@@ -2854,6 +2898,7 @@ var IconSVGs = {
|
|
|
2854
2898
|
MuteVolume: MuteVolume,
|
|
2855
2899
|
Menu: Menu,
|
|
2856
2900
|
NetworkStorage: NetworkStorage,
|
|
2901
|
+
NFS_Directory: NFS_Directory,
|
|
2857
2902
|
NoCam: NoCam,
|
|
2858
2903
|
NoStorage: NoStorage,
|
|
2859
2904
|
Notifications: Notifications,
|
|
@@ -4680,7 +4725,7 @@ var DropdownMenu$1 = styled__default.div(_templateObject7$2 || (_templateObject7
|
|
|
4680
4725
|
var $bottom = _ref26.$bottom;
|
|
4681
4726
|
return $bottom && "bottom: " + $bottom + ";";
|
|
4682
4727
|
});
|
|
4683
|
-
var OptionsWrapper = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n max-height: 150px; \n overflow-y: auto
|
|
4728
|
+
var OptionsWrapper = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
4684
4729
|
var SearchContainer$1 = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: 1px solid ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref27) {
|
|
4685
4730
|
var $background = _ref27.$background;
|
|
4686
4731
|
return $background || colorVariables.accent.extraLight;
|
|
@@ -6292,29 +6337,32 @@ var Table = function Table(_ref) {
|
|
|
6292
6337
|
};
|
|
6293
6338
|
|
|
6294
6339
|
var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
6295
|
-
var Container$4 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap:
|
|
6296
|
-
var $
|
|
6340
|
+
var Container$4 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
6341
|
+
var $gap = _ref.$gap;
|
|
6342
|
+
return $gap;
|
|
6343
|
+
}, function (_ref2) {
|
|
6344
|
+
var $border = _ref2.$border;
|
|
6297
6345
|
return $border;
|
|
6298
6346
|
});
|
|
6299
|
-
var FirstContainer = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables.border.light, function (
|
|
6300
|
-
var $headerPadding =
|
|
6347
|
+
var FirstContainer = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables.border.light, function (_ref3) {
|
|
6348
|
+
var $headerPadding = _ref3.$headerPadding;
|
|
6301
6349
|
return $headerPadding ? $headerPadding : '0px';
|
|
6302
6350
|
});
|
|
6303
|
-
var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (
|
|
6304
|
-
var $disabled = _ref3.$disabled;
|
|
6305
|
-
return $disabled ? 'not-allowed' : 'pointer';
|
|
6306
|
-
}, function (_ref4) {
|
|
6351
|
+
var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
|
|
6307
6352
|
var $disabled = _ref4.$disabled;
|
|
6353
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
6354
|
+
}, function (_ref5) {
|
|
6355
|
+
var $disabled = _ref5.$disabled;
|
|
6308
6356
|
return $disabled ? '0.6' : '1';
|
|
6309
|
-
}, colorVariables.text.medium, function (
|
|
6310
|
-
var $headerHeight =
|
|
6357
|
+
}, colorVariables.text.medium, function (_ref6) {
|
|
6358
|
+
var $headerHeight = _ref6.$headerHeight;
|
|
6311
6359
|
return $headerHeight ? $headerHeight : '34px';
|
|
6312
|
-
}, function (
|
|
6313
|
-
var $disabled =
|
|
6360
|
+
}, function (_ref7) {
|
|
6361
|
+
var $disabled = _ref7.$disabled;
|
|
6314
6362
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
6315
6363
|
});
|
|
6316
|
-
var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (
|
|
6317
|
-
var $headerHeight =
|
|
6364
|
+
var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
|
|
6365
|
+
var $headerHeight = _ref8.$headerHeight;
|
|
6318
6366
|
return $headerHeight ? $headerHeight : '34px';
|
|
6319
6367
|
}, function (props) {
|
|
6320
6368
|
return props.$active ? 'block' : 'none';
|
|
@@ -6322,15 +6370,18 @@ var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObjec
|
|
|
6322
6370
|
var DetailsFirstContainer = styled__default.div(_templateObject5$9 || (_templateObject5$9 = _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) {
|
|
6323
6371
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
6324
6372
|
});
|
|
6325
|
-
var Tabs = function Tabs(
|
|
6326
|
-
var tabItems =
|
|
6327
|
-
|
|
6328
|
-
disabled =
|
|
6329
|
-
headerHeight =
|
|
6330
|
-
headerPadding =
|
|
6331
|
-
activeTab =
|
|
6332
|
-
border =
|
|
6373
|
+
var Tabs = function Tabs(_ref9) {
|
|
6374
|
+
var tabItems = _ref9.tabItems,
|
|
6375
|
+
_ref9$disabled = _ref9.disabled,
|
|
6376
|
+
disabled = _ref9$disabled === void 0 ? false : _ref9$disabled,
|
|
6377
|
+
headerHeight = _ref9.headerHeight,
|
|
6378
|
+
headerPadding = _ref9.headerPadding,
|
|
6379
|
+
activeTab = _ref9.activeTab,
|
|
6380
|
+
border = _ref9.border,
|
|
6381
|
+
_ref9$gap = _ref9.gap,
|
|
6382
|
+
gap = _ref9$gap === void 0 ? '24px' : _ref9$gap;
|
|
6333
6383
|
return React__default.createElement(Container$4, {
|
|
6384
|
+
"$gap": gap,
|
|
6334
6385
|
"$border": border
|
|
6335
6386
|
}, React__default.createElement(FirstContainer, {
|
|
6336
6387
|
"$headerPadding": headerPadding
|