labsense-ui-kit 1.3.73 → 1.3.74
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.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10586,7 +10586,7 @@ var Pagination = function Pagination(_ref4) {
|
|
|
10586
10586
|
"$fontWeight": '400',
|
|
10587
10587
|
"$fontSize": '14px'
|
|
10588
10588
|
}, t('Items_Per_Page')), React__default.createElement(Container, null, React__default.createElement(SelectOption, {
|
|
10589
|
-
width: '
|
|
10589
|
+
width: 'max-content',
|
|
10590
10590
|
size: 'small',
|
|
10591
10591
|
value: itemsPerPage.toString(),
|
|
10592
10592
|
onChange: function onChange(e) {
|
|
@@ -10865,7 +10865,7 @@ var Sidebar = function Sidebar(_ref20) {
|
|
|
10865
10865
|
return currentBase === getBasePath(child.activeUrl) || currentBase === getBasePath(child.url);
|
|
10866
10866
|
}));
|
|
10867
10867
|
};
|
|
10868
|
-
var ChildLink =
|
|
10868
|
+
var ChildLink = function ChildLink(_ref22) {
|
|
10869
10869
|
var child = _ref22.child;
|
|
10870
10870
|
var themeColors = styled.useTheme();
|
|
10871
10871
|
var location = reactRouterDom.useLocation();
|
|
@@ -10898,7 +10898,7 @@ var Sidebar = function Sidebar(_ref20) {
|
|
|
10898
10898
|
}, child.label), getTotalNotifications(child) > 0 && React__default.createElement(NotificationBadge, {
|
|
10899
10899
|
"$position": 'unset'
|
|
10900
10900
|
}, getTotalNotifications(child) > 99 ? '99+' : getTotalNotifications(child))));
|
|
10901
|
-
}
|
|
10901
|
+
};
|
|
10902
10902
|
var renderChildLinks = function renderChildLinks(children) {
|
|
10903
10903
|
return React__default.createElement(Container, {
|
|
10904
10904
|
"$padding": '0px 0px 0px 16px',
|
|
@@ -10912,7 +10912,7 @@ var Sidebar = function Sidebar(_ref20) {
|
|
|
10912
10912
|
});
|
|
10913
10913
|
}));
|
|
10914
10914
|
};
|
|
10915
|
-
var SidebarItem =
|
|
10915
|
+
var SidebarItem = function SidebarItem(_ref23) {
|
|
10916
10916
|
var item = _ref23.item,
|
|
10917
10917
|
isActive = _ref23.isActive,
|
|
10918
10918
|
isOpen = _ref23.isOpen,
|
|
@@ -11005,7 +11005,7 @@ var Sidebar = function Sidebar(_ref20) {
|
|
|
11005
11005
|
"$hoverColor": themeColors.vms.text.white,
|
|
11006
11006
|
"$width": '100%'
|
|
11007
11007
|
}, ContentLayout), hasChildren && isExpanded && isOpen && renderChildLinks && React__default.createElement(Container, null, renderChildLinks(item.children)));
|
|
11008
|
-
}
|
|
11008
|
+
};
|
|
11009
11009
|
var handleSidebarExpansion = React.useCallback(function (expanded) {
|
|
11010
11010
|
if (isExpandedRef.current !== expanded) {
|
|
11011
11011
|
setIsExpanded(expanded);
|