@xelto.npm/xc2-lib 0.0.76 → 0.0.77

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.cjs.js CHANGED
@@ -29947,7 +29947,6 @@ var SvgUpdateIcon = function SvgUpdateIcon(props) {
29947
29947
  id: "icon_sp_warning",
29948
29948
  transform: "translate(7.813)"
29949
29949
  }, /*#__PURE__*/React__namespace.createElement("g", {
29950
- id: "color-1",
29951
29950
  transform: "translate(-0.448 -0.448)"
29952
29951
  }, /*#__PURE__*/React__namespace.createElement("g", {
29953
29952
  id: "Group_47569",
@@ -30356,7 +30355,11 @@ var StyledAutocomplete$1 = styled$1(Autocomplete$1)(function (_ref) {
30356
30355
  }
30357
30356
  };
30358
30357
  });
30359
- var StyledWrapper$1 = styled$1('div')(function (_ref2) {
30358
+ var StyledWrapper$1 = styled$1('div', {
30359
+ shouldForwardProp: function shouldForwardProp(prop) {
30360
+ return prop !== 'fluid';
30361
+ }
30362
+ })(function (_ref2) {
30360
30363
  var fluid = _ref2.fluid;
30361
30364
  return {
30362
30365
  display: 'flex',
@@ -30478,7 +30481,7 @@ Select.propTypes = {
30478
30481
  disabled: propTypes.exports.bool,
30479
30482
  label: propTypes.exports.string,
30480
30483
  options: propTypes.exports.arrayOf(propTypes.exports.shape({
30481
- id: propTypes.exports.string.isRequired,
30484
+ id: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.number]).isRequired,
30482
30485
  label: propTypes.exports.string.isRequired
30483
30486
  })),
30484
30487
  value: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.shape({
@@ -30711,7 +30714,11 @@ var Checkbox = /*#__PURE__*/Object.freeze({
30711
30714
  });
30712
30715
 
30713
30716
  var _excluded$V = ["id", "value", "onChange", "label", "disabled", "placeholder", "fluid", "options", "limitTags", "noOptionsText", "forwardedRef"];
30714
- var StyledAutocomplete = styled$1(Autocomplete$1)(function (_ref) {
30717
+ var StyledAutocomplete = styled$1(Autocomplete$1, {
30718
+ shouldForwardProp: function shouldForwardProp(prop) {
30719
+ return prop !== 'fluid';
30720
+ }
30721
+ })(function (_ref) {
30715
30722
  var fluid = _ref.fluid;
30716
30723
  return {
30717
30724
  width: fluid ? '100%' : 'min(100%, calc(268px * 2))',
@@ -30972,7 +30979,7 @@ MultiSelect.propTypes = {
30972
30979
  placeholder: propTypes.exports.string,
30973
30980
  limitTags: propTypes.exports.number,
30974
30981
  options: propTypes.exports.arrayOf(propTypes.exports.shape({
30975
- id: propTypes.exports.string.isRequired,
30982
+ id: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.number]).isRequired,
30976
30983
  label: propTypes.exports.string.isRequired
30977
30984
  })),
30978
30985
  value: propTypes.exports.arrayOf(propTypes.exports.shape({
@@ -52929,7 +52936,11 @@ process.env.NODE_ENV !== "production" ? DatePicker$1.propTypes = {
52929
52936
  } : void 0;
52930
52937
 
52931
52938
  var _excluded$b = ["value", "onChange", "label", "fluid", "disabled", "forwardedRef"];
52932
- var StyledDatePicker = styled$1(DatePicker$1)(function (_ref) {
52939
+ var StyledDatePicker = styled$1(DatePicker$1, {
52940
+ shouldForwardProp: function shouldForwardProp(prop) {
52941
+ return prop !== 'fluid';
52942
+ }
52943
+ })(function (_ref) {
52933
52944
  var fluid = _ref.fluid;
52934
52945
  return {
52935
52946
  width: fluid ? '100%' : 'min(100%, 368px)',
@@ -53176,7 +53187,11 @@ DatePicker.propTypes = {
53176
53187
  };
53177
53188
 
53178
53189
  var _excluded$a = ["label", "error", "icon", "disabled", "fluid", "type", "min", "max", "small", "helperText", "value", "onChange", "onBlur", "forwardedRef", "endAdornment"];
53179
- var StyledTextField = styled$1(MuiTextField)(function (_ref) {
53190
+ var StyledTextField = styled$1(MuiTextField, {
53191
+ shouldForwardProp: function shouldForwardProp(prop) {
53192
+ return prop !== 'fluid' || prop !== 'small';
53193
+ }
53194
+ })(function (_ref) {
53180
53195
  var fluid = _ref.fluid,
53181
53196
  small = _ref.small;
53182
53197
  return {
@@ -53614,7 +53629,11 @@ AppTileComponent.propTypes = {
53614
53629
  };
53615
53630
 
53616
53631
  var _excluded$8 = ["type", "text", "size", "fluid", "color", "onClick", "disabled", "forwardedRef"];
53617
- var CustomButton = styled$1(Button$2)(function (_ref) {
53632
+ var CustomButton = styled$1(Button$2, {
53633
+ shouldForwardProp: function shouldForwardProp(prop) {
53634
+ return prop !== 'fluid';
53635
+ }
53636
+ })(function (_ref) {
53618
53637
  var fluid = _ref.fluid;
53619
53638
  return {
53620
53639
  width: fluid ? '100%' : 'auto',
@@ -53871,9 +53890,16 @@ CustomButtonComponent.propTypes = {
53871
53890
  };
53872
53891
 
53873
53892
  var _excluded$7 = ["color", "disabled", "fluid", "forwardedRef", "icon", "onClick", "text", "type"];
53874
- var CustomIconButton = styled$1(Button$2)(function (_ref) {
53893
+ var CustomIconButton = styled$1(Button$2, {
53894
+ shouldForwardProp: function shouldForwardProp(prop) {
53895
+ return prop !== 'fluid';
53896
+ }
53897
+ })(function (_ref) {
53875
53898
  var fluid = _ref.fluid;
53876
53899
  return {
53900
+ minWidth: 0,
53901
+ display: 'flex',
53902
+ columnGap: '8px',
53877
53903
  width: fluid ? '100%' : 'auto',
53878
53904
  borderRadius: '24px',
53879
53905
  fontWeight: 'bold',
@@ -53881,11 +53907,10 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
53881
53907
  border: '2px solid #293072',
53882
53908
  textTransform: 'uppercase',
53883
53909
  fontFamily: ['"Barlow", sans-serif'],
53884
- padding: '4px 25px 4px 21px',
53910
+ padding: '4px 21px',
53885
53911
  fontSize: '16px',
53886
53912
  lineHeight: '15px',
53887
53913
  '@media(min-width: 1024px)': {
53888
- padding: '4px 25px 3px 21px',
53889
53914
  fontSize: '12px',
53890
53915
  lineHeight: '16px',
53891
53916
  borderRadius: '24px'
@@ -53896,6 +53921,9 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
53896
53921
  opacity: 0.7
53897
53922
  }
53898
53923
  },
53924
+ span: {
53925
+ margin: 0
53926
+ },
53899
53927
  '&.primary': {
53900
53928
  '&.navy-blue': {
53901
53929
  backgroundColor: theme.mainPallete.primary.blue,
@@ -73407,7 +73435,11 @@ var StyledInfoBar = styled$1('div')(function (_ref) {
73407
73435
  zIndex: 100
73408
73436
  };
73409
73437
  });
73410
- var StyledInfoRow = styled$1('div')(function (_ref2) {
73438
+ var StyledInfoRow = styled$1('div', {
73439
+ shouldForwardProp: function shouldForwardProp(prop) {
73440
+ return prop !== 'noLogo';
73441
+ }
73442
+ })(function (_ref2) {
73411
73443
  var noLogo = _ref2.noLogo;
73412
73444
  return {
73413
73445
  boxSizing: 'border-box',
@@ -73638,7 +73670,11 @@ CheckboxComponent.propTypes = {
73638
73670
  };
73639
73671
 
73640
73672
  var _excluded$3 = ["fluid", "placeholder", "onSearch", "onBlur", "searchText", "onChange", "onChangeSearchText", "forwardedRef"];
73641
- var StyledSearchBarWrapper = styled$1(Box$1)(function (_ref) {
73673
+ var StyledSearchBarWrapper = styled$1(Box$1, {
73674
+ shouldForwardProp: function shouldForwardProp(prop) {
73675
+ return prop !== 'fluid';
73676
+ }
73677
+ })(function (_ref) {
73642
73678
  var fluid = _ref.fluid;
73643
73679
  return {
73644
73680
  boxSizing: 'border-box',
@@ -74031,7 +74067,11 @@ var StyledNoRows = styled$1('tr')(function () {
74031
74067
  padding: '15px'
74032
74068
  };
74033
74069
  });
74034
- var StyledCellContent = styled$1('div')(function (_ref) {
74070
+ var StyledCellContent = styled$1('div', {
74071
+ shouldForwardProp: function shouldForwardProp(prop) {
74072
+ return prop !== 'align';
74073
+ }
74074
+ })(function (_ref) {
74035
74075
  var align = _ref.align;
74036
74076
  return {
74037
74077
  flexDirection: align === 'right' ? 'row-reverse' : '',
@@ -74259,7 +74299,7 @@ var Table = function Table(props) {
74259
74299
  }
74260
74300
  })));
74261
74301
  }));
74262
- }), rows.length === 0 && /*#__PURE__*/React.createElement(StyledNoRows, null, labelNoRows)))), /*#__PURE__*/React.createElement(TablePagination, {
74302
+ }), rows.length === 0 ? /*#__PURE__*/React.createElement(StyledNoRows, null, labelNoRows) : null))), /*#__PURE__*/React.createElement(TablePagination, {
74263
74303
  count: rows.length,
74264
74304
  page: page,
74265
74305
  rowsPerPage: rowsPerPage,
@@ -96879,7 +96919,11 @@ var StyledModalContainer = styled$1(Box$1)(function (_ref) {
96879
96919
  }
96880
96920
  };
96881
96921
  });
96882
- var StyledModalWrapper = styled$1(Modal$1)(function (_ref2) {
96922
+ var StyledModalWrapper = styled$1(Modal$1, {
96923
+ shouldForwardProp: function shouldForwardProp(prop) {
96924
+ return prop !== 'isBottomTextButton';
96925
+ }
96926
+ })(function (_ref2) {
96883
96927
  var isBottomTextButton = _ref2.isBottomTextButton;
96884
96928
  return {
96885
96929
  '&.MuiModal-root': {
@@ -97063,7 +97107,11 @@ CustomModal.propTypes = {
97063
97107
  type: propTypes.exports.string
97064
97108
  };
97065
97109
 
97066
- var StyledModuleTileWrapper = styled$1(Box$1)(function (_ref) {
97110
+ var StyledModuleTileWrapper = styled$1(Box$1, {
97111
+ shouldForwardProp: function shouldForwardProp(prop) {
97112
+ return prop !== 'fluid';
97113
+ }
97114
+ })(function (_ref) {
97067
97115
  var fluid = _ref.fluid;
97068
97116
  return {
97069
97117
  boxSizing: 'border-box',
@@ -97158,6 +97206,10 @@ var StyledLabelAndIconWrapper = styled$1(Box$1)(function () {
97158
97206
  });
97159
97207
  var StyledStepper = styled$1(function (props) {
97160
97208
  return /*#__PURE__*/React.createElement(Stepper$1, props);
97209
+ }, {
97210
+ shouldForwardProp: function shouldForwardProp(prop) {
97211
+ return prop !== 'numberOfSteps';
97212
+ }
97161
97213
  })(function (_ref2) {
97162
97214
  var numberOfSteps = _ref2.numberOfSteps;
97163
97215
  return {
@@ -97451,7 +97503,11 @@ RadioGroupComponent.propTypes = {
97451
97503
  value: propTypes.exports.string
97452
97504
  };
97453
97505
 
97454
- var StyledMenu = styled$1('div')(function (_ref) {
97506
+ var StyledMenu = styled$1('div', {
97507
+ shouldForwardProp: function shouldForwardProp(prop) {
97508
+ return prop !== 'variant';
97509
+ }
97510
+ })(function (_ref) {
97455
97511
  var variant = _ref.variant;
97456
97512
  return {
97457
97513
  boxSizing: 'border-box',
@@ -97681,7 +97737,24 @@ Tooltip.propTypes = {
97681
97737
 
97682
97738
  var _excluded = ["modalbgcolor", "modaltextcolor"],
97683
97739
  _excluded2 = ["onBackArrowClick", "onLogoClick", "clientLogo", "breadcrumbData", "userData", "menuData", "updateText", "updateAvailable"];
97684
- var StyledTopbar = styled$1('div')(function (_ref) {
97740
+ var StyledTopbar = styled$1('div', {
97741
+ shouldForwardProp: function shouldForwardProp(prop) {
97742
+ switch (prop) {
97743
+ case 'noBreadcrumb':
97744
+ return false;
97745
+ case 'noMenu':
97746
+ return false;
97747
+ case 'fixedTop':
97748
+ return false;
97749
+ case 'menuOpen':
97750
+ return false;
97751
+ case 'variant':
97752
+ return false;
97753
+ default:
97754
+ return true;
97755
+ }
97756
+ }
97757
+ })(function (_ref) {
97685
97758
  var noBreadcrumb = _ref.noBreadcrumb,
97686
97759
  noMenu = _ref.noMenu,
97687
97760
  fixedTop = _ref.fixedTop,
@@ -97757,7 +97830,11 @@ var StyledBreadcrumb = styled$1('div')(function () {
97757
97830
  }
97758
97831
  };
97759
97832
  });
97760
- var StyledBreadcrumbItem = styled$1('div')(function (_ref2) {
97833
+ var StyledBreadcrumbItem = styled$1('div', {
97834
+ shouldForwardProp: function shouldForwardProp(prop) {
97835
+ return prop !== 'variant';
97836
+ }
97837
+ })(function (_ref2) {
97761
97838
  var variant = _ref2.variant;
97762
97839
  return {
97763
97840
  'div': {
@@ -97796,7 +97873,11 @@ var StyledBreadcrumbItem = styled$1('div')(function (_ref2) {
97796
97873
  }
97797
97874
  };
97798
97875
  });
97799
- var StyledClientLogo = styled$1('div')(function (_ref3) {
97876
+ var StyledClientLogo = styled$1('div', {
97877
+ shouldForwardProp: function shouldForwardProp(prop) {
97878
+ return prop !== 'variant';
97879
+ }
97880
+ })(function (_ref3) {
97800
97881
  var variant = _ref3.variant;
97801
97882
  return {
97802
97883
  backgroundColor: variant === 'white' ? theme.mainPallete.primary.white : theme.mainPallete.primary.blue,
@@ -97868,7 +97949,8 @@ var CustomTopbar = function CustomTopbar(_ref5) {
97868
97949
  iconName: "icon_ui_chevron_left",
97869
97950
  color: props.variant === 'white' ? 'blue' : 'white',
97870
97951
  style: {
97871
- cursor: 'pointer'
97952
+ cursor: 'pointer',
97953
+ display: 'flex'
97872
97954
  },
97873
97955
  onClick: onBackArrowClick && typeof onBackArrowClick === "function" ? onBackArrowClick : null
97874
97956
  }) : clientLogo ? /*#__PURE__*/React__namespace.createElement("img", {
package/dist/index.esm.js CHANGED
@@ -29927,7 +29927,6 @@ var SvgUpdateIcon = function SvgUpdateIcon(props) {
29927
29927
  id: "icon_sp_warning",
29928
29928
  transform: "translate(7.813)"
29929
29929
  }, /*#__PURE__*/React.createElement("g", {
29930
- id: "color-1",
29931
29930
  transform: "translate(-0.448 -0.448)"
29932
29931
  }, /*#__PURE__*/React.createElement("g", {
29933
29932
  id: "Group_47569",
@@ -30336,7 +30335,11 @@ var StyledAutocomplete$1 = styled$1(Autocomplete$1)(function (_ref) {
30336
30335
  }
30337
30336
  };
30338
30337
  });
30339
- var StyledWrapper$1 = styled$1('div')(function (_ref2) {
30338
+ var StyledWrapper$1 = styled$1('div', {
30339
+ shouldForwardProp: function shouldForwardProp(prop) {
30340
+ return prop !== 'fluid';
30341
+ }
30342
+ })(function (_ref2) {
30340
30343
  var fluid = _ref2.fluid;
30341
30344
  return {
30342
30345
  display: 'flex',
@@ -30458,7 +30461,7 @@ Select.propTypes = {
30458
30461
  disabled: propTypes.exports.bool,
30459
30462
  label: propTypes.exports.string,
30460
30463
  options: propTypes.exports.arrayOf(propTypes.exports.shape({
30461
- id: propTypes.exports.string.isRequired,
30464
+ id: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.number]).isRequired,
30462
30465
  label: propTypes.exports.string.isRequired
30463
30466
  })),
30464
30467
  value: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.shape({
@@ -30691,7 +30694,11 @@ var Checkbox = /*#__PURE__*/Object.freeze({
30691
30694
  });
30692
30695
 
30693
30696
  var _excluded$V = ["id", "value", "onChange", "label", "disabled", "placeholder", "fluid", "options", "limitTags", "noOptionsText", "forwardedRef"];
30694
- var StyledAutocomplete = styled$1(Autocomplete$1)(function (_ref) {
30697
+ var StyledAutocomplete = styled$1(Autocomplete$1, {
30698
+ shouldForwardProp: function shouldForwardProp(prop) {
30699
+ return prop !== 'fluid';
30700
+ }
30701
+ })(function (_ref) {
30695
30702
  var fluid = _ref.fluid;
30696
30703
  return {
30697
30704
  width: fluid ? '100%' : 'min(100%, calc(268px * 2))',
@@ -30952,7 +30959,7 @@ MultiSelect.propTypes = {
30952
30959
  placeholder: propTypes.exports.string,
30953
30960
  limitTags: propTypes.exports.number,
30954
30961
  options: propTypes.exports.arrayOf(propTypes.exports.shape({
30955
- id: propTypes.exports.string.isRequired,
30962
+ id: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.number]).isRequired,
30956
30963
  label: propTypes.exports.string.isRequired
30957
30964
  })),
30958
30965
  value: propTypes.exports.arrayOf(propTypes.exports.shape({
@@ -52909,7 +52916,11 @@ process.env.NODE_ENV !== "production" ? DatePicker$1.propTypes = {
52909
52916
  } : void 0;
52910
52917
 
52911
52918
  var _excluded$b = ["value", "onChange", "label", "fluid", "disabled", "forwardedRef"];
52912
- var StyledDatePicker = styled$1(DatePicker$1)(function (_ref) {
52919
+ var StyledDatePicker = styled$1(DatePicker$1, {
52920
+ shouldForwardProp: function shouldForwardProp(prop) {
52921
+ return prop !== 'fluid';
52922
+ }
52923
+ })(function (_ref) {
52913
52924
  var fluid = _ref.fluid;
52914
52925
  return {
52915
52926
  width: fluid ? '100%' : 'min(100%, 368px)',
@@ -53156,7 +53167,11 @@ DatePicker.propTypes = {
53156
53167
  };
53157
53168
 
53158
53169
  var _excluded$a = ["label", "error", "icon", "disabled", "fluid", "type", "min", "max", "small", "helperText", "value", "onChange", "onBlur", "forwardedRef", "endAdornment"];
53159
- var StyledTextField = styled$1(MuiTextField)(function (_ref) {
53170
+ var StyledTextField = styled$1(MuiTextField, {
53171
+ shouldForwardProp: function shouldForwardProp(prop) {
53172
+ return prop !== 'fluid' || prop !== 'small';
53173
+ }
53174
+ })(function (_ref) {
53160
53175
  var fluid = _ref.fluid,
53161
53176
  small = _ref.small;
53162
53177
  return {
@@ -53594,7 +53609,11 @@ AppTileComponent.propTypes = {
53594
53609
  };
53595
53610
 
53596
53611
  var _excluded$8 = ["type", "text", "size", "fluid", "color", "onClick", "disabled", "forwardedRef"];
53597
- var CustomButton = styled$1(Button$2)(function (_ref) {
53612
+ var CustomButton = styled$1(Button$2, {
53613
+ shouldForwardProp: function shouldForwardProp(prop) {
53614
+ return prop !== 'fluid';
53615
+ }
53616
+ })(function (_ref) {
53598
53617
  var fluid = _ref.fluid;
53599
53618
  return {
53600
53619
  width: fluid ? '100%' : 'auto',
@@ -53851,9 +53870,16 @@ CustomButtonComponent.propTypes = {
53851
53870
  };
53852
53871
 
53853
53872
  var _excluded$7 = ["color", "disabled", "fluid", "forwardedRef", "icon", "onClick", "text", "type"];
53854
- var CustomIconButton = styled$1(Button$2)(function (_ref) {
53873
+ var CustomIconButton = styled$1(Button$2, {
53874
+ shouldForwardProp: function shouldForwardProp(prop) {
53875
+ return prop !== 'fluid';
53876
+ }
53877
+ })(function (_ref) {
53855
53878
  var fluid = _ref.fluid;
53856
53879
  return {
53880
+ minWidth: 0,
53881
+ display: 'flex',
53882
+ columnGap: '8px',
53857
53883
  width: fluid ? '100%' : 'auto',
53858
53884
  borderRadius: '24px',
53859
53885
  fontWeight: 'bold',
@@ -53861,11 +53887,10 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
53861
53887
  border: '2px solid #293072',
53862
53888
  textTransform: 'uppercase',
53863
53889
  fontFamily: ['"Barlow", sans-serif'],
53864
- padding: '4px 25px 4px 21px',
53890
+ padding: '4px 21px',
53865
53891
  fontSize: '16px',
53866
53892
  lineHeight: '15px',
53867
53893
  '@media(min-width: 1024px)': {
53868
- padding: '4px 25px 3px 21px',
53869
53894
  fontSize: '12px',
53870
53895
  lineHeight: '16px',
53871
53896
  borderRadius: '24px'
@@ -53876,6 +53901,9 @@ var CustomIconButton = styled$1(Button$2)(function (_ref) {
53876
53901
  opacity: 0.7
53877
53902
  }
53878
53903
  },
53904
+ span: {
53905
+ margin: 0
53906
+ },
53879
53907
  '&.primary': {
53880
53908
  '&.navy-blue': {
53881
53909
  backgroundColor: theme.mainPallete.primary.blue,
@@ -73387,7 +73415,11 @@ var StyledInfoBar = styled$1('div')(function (_ref) {
73387
73415
  zIndex: 100
73388
73416
  };
73389
73417
  });
73390
- var StyledInfoRow = styled$1('div')(function (_ref2) {
73418
+ var StyledInfoRow = styled$1('div', {
73419
+ shouldForwardProp: function shouldForwardProp(prop) {
73420
+ return prop !== 'noLogo';
73421
+ }
73422
+ })(function (_ref2) {
73391
73423
  var noLogo = _ref2.noLogo;
73392
73424
  return {
73393
73425
  boxSizing: 'border-box',
@@ -73618,7 +73650,11 @@ CheckboxComponent.propTypes = {
73618
73650
  };
73619
73651
 
73620
73652
  var _excluded$3 = ["fluid", "placeholder", "onSearch", "onBlur", "searchText", "onChange", "onChangeSearchText", "forwardedRef"];
73621
- var StyledSearchBarWrapper = styled$1(Box$1)(function (_ref) {
73653
+ var StyledSearchBarWrapper = styled$1(Box$1, {
73654
+ shouldForwardProp: function shouldForwardProp(prop) {
73655
+ return prop !== 'fluid';
73656
+ }
73657
+ })(function (_ref) {
73622
73658
  var fluid = _ref.fluid;
73623
73659
  return {
73624
73660
  boxSizing: 'border-box',
@@ -74011,7 +74047,11 @@ var StyledNoRows = styled$1('tr')(function () {
74011
74047
  padding: '15px'
74012
74048
  };
74013
74049
  });
74014
- var StyledCellContent = styled$1('div')(function (_ref) {
74050
+ var StyledCellContent = styled$1('div', {
74051
+ shouldForwardProp: function shouldForwardProp(prop) {
74052
+ return prop !== 'align';
74053
+ }
74054
+ })(function (_ref) {
74015
74055
  var align = _ref.align;
74016
74056
  return {
74017
74057
  flexDirection: align === 'right' ? 'row-reverse' : '',
@@ -74239,7 +74279,7 @@ var Table = function Table(props) {
74239
74279
  }
74240
74280
  })));
74241
74281
  }));
74242
- }), rows.length === 0 && /*#__PURE__*/React__default.createElement(StyledNoRows, null, labelNoRows)))), /*#__PURE__*/React__default.createElement(TablePagination, {
74282
+ }), rows.length === 0 ? /*#__PURE__*/React__default.createElement(StyledNoRows, null, labelNoRows) : null))), /*#__PURE__*/React__default.createElement(TablePagination, {
74243
74283
  count: rows.length,
74244
74284
  page: page,
74245
74285
  rowsPerPage: rowsPerPage,
@@ -96859,7 +96899,11 @@ var StyledModalContainer = styled$1(Box$1)(function (_ref) {
96859
96899
  }
96860
96900
  };
96861
96901
  });
96862
- var StyledModalWrapper = styled$1(Modal$1)(function (_ref2) {
96902
+ var StyledModalWrapper = styled$1(Modal$1, {
96903
+ shouldForwardProp: function shouldForwardProp(prop) {
96904
+ return prop !== 'isBottomTextButton';
96905
+ }
96906
+ })(function (_ref2) {
96863
96907
  var isBottomTextButton = _ref2.isBottomTextButton;
96864
96908
  return {
96865
96909
  '&.MuiModal-root': {
@@ -97043,7 +97087,11 @@ CustomModal.propTypes = {
97043
97087
  type: propTypes.exports.string
97044
97088
  };
97045
97089
 
97046
- var StyledModuleTileWrapper = styled$1(Box$1)(function (_ref) {
97090
+ var StyledModuleTileWrapper = styled$1(Box$1, {
97091
+ shouldForwardProp: function shouldForwardProp(prop) {
97092
+ return prop !== 'fluid';
97093
+ }
97094
+ })(function (_ref) {
97047
97095
  var fluid = _ref.fluid;
97048
97096
  return {
97049
97097
  boxSizing: 'border-box',
@@ -97138,6 +97186,10 @@ var StyledLabelAndIconWrapper = styled$1(Box$1)(function () {
97138
97186
  });
97139
97187
  var StyledStepper = styled$1(function (props) {
97140
97188
  return /*#__PURE__*/React__default.createElement(Stepper$1, props);
97189
+ }, {
97190
+ shouldForwardProp: function shouldForwardProp(prop) {
97191
+ return prop !== 'numberOfSteps';
97192
+ }
97141
97193
  })(function (_ref2) {
97142
97194
  var numberOfSteps = _ref2.numberOfSteps;
97143
97195
  return {
@@ -97431,7 +97483,11 @@ RadioGroupComponent.propTypes = {
97431
97483
  value: propTypes.exports.string
97432
97484
  };
97433
97485
 
97434
- var StyledMenu = styled$1('div')(function (_ref) {
97486
+ var StyledMenu = styled$1('div', {
97487
+ shouldForwardProp: function shouldForwardProp(prop) {
97488
+ return prop !== 'variant';
97489
+ }
97490
+ })(function (_ref) {
97435
97491
  var variant = _ref.variant;
97436
97492
  return {
97437
97493
  boxSizing: 'border-box',
@@ -97661,7 +97717,24 @@ Tooltip.propTypes = {
97661
97717
 
97662
97718
  var _excluded = ["modalbgcolor", "modaltextcolor"],
97663
97719
  _excluded2 = ["onBackArrowClick", "onLogoClick", "clientLogo", "breadcrumbData", "userData", "menuData", "updateText", "updateAvailable"];
97664
- var StyledTopbar = styled$1('div')(function (_ref) {
97720
+ var StyledTopbar = styled$1('div', {
97721
+ shouldForwardProp: function shouldForwardProp(prop) {
97722
+ switch (prop) {
97723
+ case 'noBreadcrumb':
97724
+ return false;
97725
+ case 'noMenu':
97726
+ return false;
97727
+ case 'fixedTop':
97728
+ return false;
97729
+ case 'menuOpen':
97730
+ return false;
97731
+ case 'variant':
97732
+ return false;
97733
+ default:
97734
+ return true;
97735
+ }
97736
+ }
97737
+ })(function (_ref) {
97665
97738
  var noBreadcrumb = _ref.noBreadcrumb,
97666
97739
  noMenu = _ref.noMenu,
97667
97740
  fixedTop = _ref.fixedTop,
@@ -97737,7 +97810,11 @@ var StyledBreadcrumb = styled$1('div')(function () {
97737
97810
  }
97738
97811
  };
97739
97812
  });
97740
- var StyledBreadcrumbItem = styled$1('div')(function (_ref2) {
97813
+ var StyledBreadcrumbItem = styled$1('div', {
97814
+ shouldForwardProp: function shouldForwardProp(prop) {
97815
+ return prop !== 'variant';
97816
+ }
97817
+ })(function (_ref2) {
97741
97818
  var variant = _ref2.variant;
97742
97819
  return {
97743
97820
  'div': {
@@ -97776,7 +97853,11 @@ var StyledBreadcrumbItem = styled$1('div')(function (_ref2) {
97776
97853
  }
97777
97854
  };
97778
97855
  });
97779
- var StyledClientLogo = styled$1('div')(function (_ref3) {
97856
+ var StyledClientLogo = styled$1('div', {
97857
+ shouldForwardProp: function shouldForwardProp(prop) {
97858
+ return prop !== 'variant';
97859
+ }
97860
+ })(function (_ref3) {
97780
97861
  var variant = _ref3.variant;
97781
97862
  return {
97782
97863
  backgroundColor: variant === 'white' ? theme.mainPallete.primary.white : theme.mainPallete.primary.blue,
@@ -97848,7 +97929,8 @@ var CustomTopbar = function CustomTopbar(_ref5) {
97848
97929
  iconName: "icon_ui_chevron_left",
97849
97930
  color: props.variant === 'white' ? 'blue' : 'white',
97850
97931
  style: {
97851
- cursor: 'pointer'
97932
+ cursor: 'pointer',
97933
+ display: 'flex'
97852
97934
  },
97853
97935
  onClick: onBackArrowClick && typeof onBackArrowClick === "function" ? onBackArrowClick : null
97854
97936
  }) : clientLogo ? /*#__PURE__*/React.createElement("img", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",