labsense-ui-kit 1.2.79 → 1.2.80
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/index.modern.js
CHANGED
|
@@ -1444,6 +1444,23 @@ var Download = function Download(_ref) {
|
|
|
1444
1444
|
}));
|
|
1445
1445
|
};
|
|
1446
1446
|
|
|
1447
|
+
var Drag_Indicator = function Drag_Indicator(_ref) {
|
|
1448
|
+
var size = _ref.size,
|
|
1449
|
+
color = _ref.color,
|
|
1450
|
+
weight = _ref.weight;
|
|
1451
|
+
return React.createElement("svg", {
|
|
1452
|
+
width: size,
|
|
1453
|
+
height: size,
|
|
1454
|
+
strokeWidth: weight,
|
|
1455
|
+
viewBox: '0 0 24 24',
|
|
1456
|
+
fill: 'none',
|
|
1457
|
+
xmlns: 'http://www.w3.org/2000/svg'
|
|
1458
|
+
}, React.createElement("path", {
|
|
1459
|
+
d: "M10,4A2,2,0,1,1,8,2,2,2,0,0,1,10,4ZM8,10a2,2,0,1,0,2,2A2,2,0,0,0,8,10Zm0,8a2,2,0,1,0,2,2A2,2,0,0,0,8,18ZM16,6a2,2,0,1,0-2-2A2,2,0,0,0,16,6Zm0,8a2,2,0,1,0-2-2A2,2,0,0,0,16,14Zm0,8a2,2,0,1,0-2-2A2,2,0,0,0,16,22Z",
|
|
1460
|
+
fill: color
|
|
1461
|
+
}));
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1447
1464
|
var Email = function Email(_ref) {
|
|
1448
1465
|
var size = _ref.size,
|
|
1449
1466
|
color = _ref.color,
|
|
@@ -5792,6 +5809,7 @@ var IconSVGs = {
|
|
|
5792
5809
|
DownArrow: DownArrow,
|
|
5793
5810
|
Download_2: Download_2,
|
|
5794
5811
|
Download: Download,
|
|
5812
|
+
Drag_Indicator: Drag_Indicator,
|
|
5795
5813
|
Email: Email,
|
|
5796
5814
|
ExitFullScreen: ExitFullScreen,
|
|
5797
5815
|
FaceRecognition_2: FaceRecognition_2,
|
|
@@ -9350,11 +9368,10 @@ var Sidebar = function Sidebar(_ref22) {
|
|
|
9350
9368
|
};
|
|
9351
9369
|
var isRouteActive = function isRouteActive(item) {
|
|
9352
9370
|
var _item$children2;
|
|
9353
|
-
if (!item.url || item.url === '#') return false;
|
|
9354
9371
|
var currentBase = getBasePath(location.pathname);
|
|
9355
9372
|
var itemBase = item.activeUrl ? getBasePath(item.activeUrl) : getBasePath(item.url);
|
|
9356
9373
|
return currentBase === itemBase || ((_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.some(function (child) {
|
|
9357
|
-
return
|
|
9374
|
+
return currentBase === getBasePath(child.activeUrl) || currentBase === getBasePath(child.url);
|
|
9358
9375
|
}));
|
|
9359
9376
|
};
|
|
9360
9377
|
var ChildLink = React.memo(function (_ref23) {
|