labsense-ui-kit 1.1.67 → 1.1.68

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.
@@ -6829,15 +6829,18 @@ var TableData = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTe
6829
6829
  var $isLegends = _ref.$isLegends;
6830
6830
  return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
6831
6831
  });
6832
- var LegendDivider = styled.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
6832
+ var LegendDivider = styled.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background: ", ";\n margin-right: ", ";\n"])), colorVariables.border.extraLight, function (_ref2) {
6833
+ var $marginRight = _ref2.$marginRight;
6834
+ return $marginRight != null ? $marginRight : '0px';
6835
+ });
6833
6836
  var Divider = styled.div(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
6834
- var Table = function Table(_ref2) {
6835
- var tableObject = _ref2.tableObject,
6836
- _ref2$filter = _ref2.filter,
6837
- filter = _ref2$filter === void 0 ? false : _ref2$filter,
6838
- loading = _ref2.loading,
6839
- _ref2$noDataText = _ref2.noDataText,
6840
- noDataText = _ref2$noDataText === void 0 ? 'No Data Found!' : _ref2$noDataText;
6837
+ var Table = function Table(_ref3) {
6838
+ var tableObject = _ref3.tableObject,
6839
+ _ref3$filter = _ref3.filter,
6840
+ filter = _ref3$filter === void 0 ? false : _ref3$filter,
6841
+ loading = _ref3.loading,
6842
+ _ref3$noDataText = _ref3.noDataText,
6843
+ noDataText = _ref3$noDataText === void 0 ? 'No Data Found!' : _ref3$noDataText;
6841
6844
  var rowconfig = tableObject.rowconfig,
6842
6845
  tableheaderconfig = tableObject.tableheaderconfig;
6843
6846
  var _useState = useState(new Set()),
@@ -6899,7 +6902,7 @@ var Table = function Table(_ref2) {
6899
6902
  onChange: toggleSelectAll,
6900
6903
  "$borderSize": 2
6901
6904
  })), tableheaderconfig.headerdata.map(function (columndata, index, allCols) {
6902
- var _columndata$maintext;
6905
+ var _allCols, _columndata$maintext;
6903
6906
  var currentGroupTitle = columndata.groupTitle || '';
6904
6907
  var prevGroupTitle = index > 0 ? allCols[index - 1].groupTitle || '' : '';
6905
6908
  var isFirstOfGroup = currentGroupTitle && currentGroupTitle !== prevGroupTitle;
@@ -6914,12 +6917,20 @@ var Table = function Table(_ref2) {
6914
6917
  }) && React.createElement(Container, {
6915
6918
  "$alignItems": 'center',
6916
6919
  "$height": '16px'
6917
- }, isInLegendGroup ? React.createElement(Container, null, isFirstOfGroup ? React.createElement(Container, null, React.createElement(Span, {
6920
+ }, isInLegendGroup ? React.createElement(Container, {
6921
+ "$width": '100%'
6922
+ }, isFirstOfGroup ? React.createElement(Container, {
6923
+ "$width": '100%',
6924
+ "$alignItems": 'center',
6925
+ "$gap": '4px'
6926
+ }, React.createElement(Span, {
6918
6927
  "$fontSize": '12px',
6919
6928
  "$fontWeight": '400',
6920
6929
  "$width": 'max-content',
6921
6930
  "$lineHeight": 'normal'
6922
- }, currentGroupTitle), React.createElement(LegendDivider, null)) : React.createElement(LegendDivider, null)) : null), React.createElement(TableCell, {
6931
+ }, currentGroupTitle), React.createElement(LegendDivider, null)) : React.createElement(LegendDivider, {
6932
+ "$marginRight": currentGroupTitle !== (((_allCols = allCols[index + 1]) === null || _allCols === void 0 ? void 0 : _allCols.groupTitle) || '') ? '8px' : '0px'
6933
+ })) : null), React.createElement(TableCell, {
6923
6934
  maintext: (_columndata$maintext = columndata.maintext) != null ? _columndata$maintext : '',
6924
6935
  width: columndata.width,
6925
6936
  alignment: columndata.alignment
@@ -6940,9 +6951,9 @@ var Table = function Table(_ref2) {
6940
6951
  "$isLegends": tableheaderconfig.headerdata.some(function (col) {
6941
6952
  return !!col.groupTitle;
6942
6953
  })
6943
- }, Object.entries(roleGroups).map(function (_ref3) {
6944
- var role = _ref3[0],
6945
- rows = _ref3[1];
6954
+ }, Object.entries(roleGroups).map(function (_ref4) {
6955
+ var role = _ref4[0],
6956
+ rows = _ref4[1];
6946
6957
  return React.createElement(React.Fragment, {
6947
6958
  key: role
6948
6959
  }, React.createElement(Container, {