labsense-ui-kit 1.1.66 → 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.
@@ -3157,6 +3157,35 @@ var Wallet = function Wallet(_ref) {
3157
3157
  }));
3158
3158
  };
3159
3159
 
3160
+ var Web = function Web(_ref) {
3161
+ var size = _ref.size,
3162
+ color = _ref.color,
3163
+ weight = _ref.weight;
3164
+ return React.createElement("svg", {
3165
+ width: size,
3166
+ height: size,
3167
+ strokeWidth: weight,
3168
+ viewBox: "0 0 29 30",
3169
+ fill: "none",
3170
+ xmlns: "http://www.w3.org/2000/svg"
3171
+ }, React.createElement("path", {
3172
+ d: "M14.4992 7.16221C11.7642 7.16221 9.03024 6.84721 6.37624 6.22521C6.10724 6.16221 5.94024 5.89421 6.00324 5.62421C6.06624 5.35621 6.32824 5.18921 6.60524 5.25121C12.3982 6.60921 18.5552 6.43821 24.2832 4.75321C24.5532 4.67721 24.8272 4.82621 24.9042 5.09121C24.9822 5.35721 24.8312 5.63421 24.5662 5.71221C21.2952 6.67421 17.9082 7.16221 14.4992 7.16221ZM24.4242 24.3622C24.3772 24.3622 24.3302 24.3552 24.2822 24.3412C17.9232 22.4702 11.0752 22.4702 4.71624 24.3412C4.44724 24.4162 4.17224 24.2682 4.09524 24.0032C4.01724 23.7372 4.16824 23.4602 4.43324 23.3822C10.9782 21.4562 18.0212 21.4562 24.5662 23.3822C24.8312 23.4602 24.9822 23.7372 24.9042 24.0032C24.8402 24.2222 24.6402 24.3622 24.4242 24.3622Z",
3173
+ fill: color
3174
+ }), React.createElement("path", {
3175
+ d: "M13.8878 28.6392C13.7898 28.6392 13.6928 28.6112 13.6058 28.5522C8.93883 25.3672 6.15283 20.1302 6.15283 14.5432C6.15283 10.0162 7.93383 5.75515 11.1698 2.54515C11.3668 2.34815 11.6838 2.35215 11.8768 2.54715C12.0718 2.74315 12.0698 3.06015 11.8748 3.25415C8.82983 6.27516 7.15283 10.2842 7.15283 14.5432C7.15283 19.7992 9.77583 24.7282 14.1708 27.7262C14.3988 27.8812 14.4568 28.1932 14.3018 28.4212C14.2038 28.5632 14.0468 28.6392 13.8878 28.6392ZM15.1528 28.6392C14.9938 28.6392 14.8368 28.5632 14.7398 28.4212C14.5848 28.1922 14.6428 27.8812 14.8708 27.7262C19.2658 24.7282 21.8888 19.7992 21.8888 14.5432C21.8888 9.28715 19.2658 4.35815 14.8708 1.36015C14.6428 1.20515 14.5848 0.893155 14.7398 0.665155C14.8958 0.437155 15.2078 0.381155 15.4348 0.534155C20.1018 3.71915 22.8878 8.95615 22.8878 14.5432C22.8878 20.1302 20.1018 25.3672 15.4348 28.5522C15.3488 28.6102 15.2508 28.6392 15.1528 28.6392Z",
3176
+ fill: color
3177
+ }), React.createElement("path", {
3178
+ d: "M14.499 28.4897C14.223 28.4897 13.999 28.2657 13.999 27.9897V1.0957C13.999 0.819703 14.223 0.595703 14.499 0.595703C14.775 0.595703 14.999 0.819703 14.999 1.0957V27.9897C14.999 28.2667 14.775 28.4897 14.499 28.4897Z",
3179
+ fill: color
3180
+ }), React.createElement("path", {
3181
+ d: "M28.4458 15.043H2.55176C2.27576 15.043 2.05176 14.819 2.05176 14.543C2.05176 14.267 2.27576 14.043 2.55176 14.043H28.4468C28.7228 14.043 28.9468 14.267 28.9468 14.543C28.9468 14.819 28.7228 15.043 28.4458 15.043Z",
3182
+ fill: color
3183
+ }), React.createElement("path", {
3184
+ d: "M14.499 29.043C6.50402 29.043 -0.000976562 22.538 -0.000976562 14.543C-0.000976562 11.022 1.27702 7.62397 3.59902 4.97797C3.78102 4.76997 4.09602 4.74997 4.30502 4.93197C4.51202 5.11397 4.53202 5.42997 4.35102 5.63797C2.19002 8.10097 0.999024 11.264 0.999024 14.543C0.999024 21.987 7.05502 28.043 14.499 28.043C21.943 28.043 27.999 21.987 27.999 14.543C27.999 7.09897 21.943 1.04297 14.499 1.04297C11.421 1.04297 8.52302 2.05097 6.12002 3.95797C5.90402 4.12997 5.59002 4.09497 5.41802 3.87697C5.24602 3.66097 5.28202 3.34697 5.49902 3.17497C8.08002 1.12597 11.192 0.0429688 14.499 0.0429688C22.494 0.0429688 28.999 6.54797 28.999 14.543C28.999 22.538 22.494 29.043 14.499 29.043Z",
3185
+ fill: color
3186
+ }));
3187
+ };
3188
+
3160
3189
  var WiFiCam = function WiFiCam(_ref) {
3161
3190
  var size = _ref.size,
3162
3191
  color = _ref.color,
@@ -3329,6 +3358,7 @@ var IconSVGs = {
3329
3358
  UpArrow: UpArrow,
3330
3359
  Video: Video,
3331
3360
  Wallet: Wallet,
3361
+ Web: Web,
3332
3362
  WiFiCam: WiFiCam,
3333
3363
  Zapper: Zapper
3334
3364
  };
@@ -6799,15 +6829,18 @@ var TableData = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTe
6799
6829
  var $isLegends = _ref.$isLegends;
6800
6830
  return $isLegends ? 'calc(100% - 56px)' : 'calc(100% - 36px)';
6801
6831
  });
6802
- 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
+ });
6803
6836
  var Divider = styled.div(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
6804
- var Table = function Table(_ref2) {
6805
- var tableObject = _ref2.tableObject,
6806
- _ref2$filter = _ref2.filter,
6807
- filter = _ref2$filter === void 0 ? false : _ref2$filter,
6808
- loading = _ref2.loading,
6809
- _ref2$noDataText = _ref2.noDataText,
6810
- 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;
6811
6844
  var rowconfig = tableObject.rowconfig,
6812
6845
  tableheaderconfig = tableObject.tableheaderconfig;
6813
6846
  var _useState = useState(new Set()),
@@ -6869,7 +6902,7 @@ var Table = function Table(_ref2) {
6869
6902
  onChange: toggleSelectAll,
6870
6903
  "$borderSize": 2
6871
6904
  })), tableheaderconfig.headerdata.map(function (columndata, index, allCols) {
6872
- var _columndata$maintext;
6905
+ var _allCols, _columndata$maintext;
6873
6906
  var currentGroupTitle = columndata.groupTitle || '';
6874
6907
  var prevGroupTitle = index > 0 ? allCols[index - 1].groupTitle || '' : '';
6875
6908
  var isFirstOfGroup = currentGroupTitle && currentGroupTitle !== prevGroupTitle;
@@ -6884,12 +6917,20 @@ var Table = function Table(_ref2) {
6884
6917
  }) && React.createElement(Container, {
6885
6918
  "$alignItems": 'center',
6886
6919
  "$height": '16px'
6887
- }, 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, {
6888
6927
  "$fontSize": '12px',
6889
6928
  "$fontWeight": '400',
6890
6929
  "$width": 'max-content',
6891
6930
  "$lineHeight": 'normal'
6892
- }, 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, {
6893
6934
  maintext: (_columndata$maintext = columndata.maintext) != null ? _columndata$maintext : '',
6894
6935
  width: columndata.width,
6895
6936
  alignment: columndata.alignment
@@ -6910,9 +6951,9 @@ var Table = function Table(_ref2) {
6910
6951
  "$isLegends": tableheaderconfig.headerdata.some(function (col) {
6911
6952
  return !!col.groupTitle;
6912
6953
  })
6913
- }, Object.entries(roleGroups).map(function (_ref3) {
6914
- var role = _ref3[0],
6915
- rows = _ref3[1];
6954
+ }, Object.entries(roleGroups).map(function (_ref4) {
6955
+ var role = _ref4[0],
6956
+ rows = _ref4[1];
6916
6957
  return React.createElement(React.Fragment, {
6917
6958
  key: role
6918
6959
  }, React.createElement(Container, {