@xelto.npm/xc2-lib 1.0.21 → 1.0.23

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
@@ -36680,39 +36680,44 @@ var _g$N;
36680
36680
  function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
36681
36681
  var SvgIconWfInfoV2 = function SvgIconWfInfoV2(props) {
36682
36682
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$P({
36683
- id: "icon_wf_info-v2",
36683
+ id: "icon_wf_info-v3",
36684
36684
  xmlns: "http://www.w3.org/2000/svg",
36685
- width: 45,
36686
- height: 45,
36687
- viewBox: "0 0 45 45"
36685
+ width: 46,
36686
+ height: 46,
36687
+ viewBox: "0 0 46 46"
36688
36688
  }, props), _g$N || (_g$N = /*#__PURE__*/React__namespace.createElement("g", {
36689
- id: "icon_wf_info_v2"
36690
- }, /*#__PURE__*/React__namespace.createElement("g", {
36691
- id: "Group_48011",
36692
- "data-name": "Group 48011"
36689
+ id: "_icon_wf_info-v3",
36690
+ "data-name": " icon_wf_info-v3"
36693
36691
  }, /*#__PURE__*/React__namespace.createElement("g", {
36694
36692
  id: "color-1",
36695
- transform: "translate(1.497 8.427)"
36693
+ transform: "translate(1.618 7.287)"
36696
36694
  }, /*#__PURE__*/React__namespace.createElement("path", {
36697
- id: "Path_85849",
36698
- "data-name": "Path 85849",
36699
- d: "M44.2,30.818c-6.618-8.186-13.529-12.353-20.584-12.4H23.4q-.461,0-.922.027C10.968,19.1,3.611,30.47,3.3,30.951l-.5.789.5.789c.307.486,7.665,11.854,19.171,12.5.116,0,.232,0,.352.009h.147c.178,0,.352.013.53.013h.116c.236,0,.472-.009.7-.027,6.8-.312,13.48-4.456,19.88-12.371l.749-.922-.749-.922Zm-10.557.922A10.3,10.3,0,0,1,24.137,42.1c-.053,0-.111.009-.165.009-.094,0-.183,0-.276.009-.254,0-.508,0-.762-.013a10.4,10.4,0,0,1-.013-20.726c.258-.009.517-.018.771-.013.1,0,.2,0,.3.009.036,0,.071,0,.1,0A10.29,10.29,0,0,1,33.647,31.74Zm-27.309,0a32.322,32.322,0,0,1,5.3-5.6,13.5,13.5,0,0,0,0,11.2,32.321,32.321,0,0,1-5.3-5.6Zm28.971,5.744a13.539,13.539,0,0,0,0-11.488,40.749,40.749,0,0,1,5.847,5.744,40.5,40.5,0,0,1-5.842,5.744Z",
36700
- transform: "translate(-2.8 -18.42)",
36695
+ id: "Path_85852",
36696
+ "data-name": "Path 85852",
36697
+ d: "M24.942,48.85c-.284,0-.565-.008-.849-.021C12.15,48.193,4.543,34.385,4.225,33.8l-.355-.657.355-.657c.318-.59,7.92-14.394,19.868-15.034,7.582-.406,15.029,4.613,22.109,14.908l.539.782-.539.782C39.386,43.831,32.239,48.85,24.942,48.85ZM7.04,33.139c1.614,2.655,8.18,12.458,17.208,12.934,6.373.335,12.809-4.015,19.132-12.934-6.093-8.6-12.295-12.951-18.446-12.951-.23,0-.456,0-.686.017C15.219,20.681,8.654,30.483,7.04,33.139Z",
36698
+ transform: "translate(-3.87 -17.426)",
36699
+ fill: "#293072"
36700
+ }), /*#__PURE__*/React__namespace.createElement("path", {
36701
+ id: "Path_85853",
36702
+ "data-name": "Path 85853",
36703
+ d: "M41.979,51.274a9.523,9.523,0,1,1,9.359-9.522A9.454,9.454,0,0,1,41.979,51.274Zm0-16.288a6.764,6.764,0,1,0,6.6,6.762A6.689,6.689,0,0,0,41.979,34.986Z",
36704
+ transform: "translate(-20.597 -26.039)",
36701
36705
  fill: "#293072"
36702
36706
  })), /*#__PURE__*/React__namespace.createElement("g", {
36703
- id: "color-2"
36707
+ id: "color-2",
36708
+ transform: "translate(1.618 7.287)"
36704
36709
  }, /*#__PURE__*/React__namespace.createElement("rect", {
36705
- id: "Rectangle_22941",
36706
- "data-name": "Rectangle 22941",
36707
- width: 2.968,
36708
- height: 2.968,
36709
- transform: "translate(20.717 19.982)",
36710
+ id: "Rectangle_22945",
36711
+ "data-name": "Rectangle 22945",
36712
+ width: 2.066,
36713
+ height: 2.066,
36714
+ transform: "translate(20.349 14.68)",
36710
36715
  fill: "#e42127"
36711
- }))), /*#__PURE__*/React__namespace.createElement("rect", {
36712
- id: "Rectangle_22942",
36713
- "data-name": "Rectangle 22942",
36714
- width: 45,
36715
- height: 45,
36716
+ })), /*#__PURE__*/React__namespace.createElement("rect", {
36717
+ id: "Rectangle_22946",
36718
+ "data-name": "Rectangle 22946",
36719
+ width: 46,
36720
+ height: 46,
36716
36721
  fill: "none"
36717
36722
  }))));
36718
36723
  };
@@ -37453,7 +37458,7 @@ var StyledAutocomplete$1 = styled$1(Autocomplete$1)({
37453
37458
  '& label': {
37454
37459
  zIndex: 0,
37455
37460
  color: theme.mainPallete.primary.placeholderText,
37456
- transform: 'translate(20px,15px) scale(1)',
37461
+ transform: 'translate(20px,13px) scale(1)',
37457
37462
  '&.Mui-focused, &[data-shrink="true"]': {
37458
37463
  color: theme.mainPallete.primary.blue,
37459
37464
  transform: 'translate(15px, -7px) scale(0.75)'
@@ -37463,13 +37468,16 @@ var StyledAutocomplete$1 = styled$1(Autocomplete$1)({
37463
37468
  }
37464
37469
  },
37465
37470
  '& label, .MuiOutlinedInput-root': {
37466
- fontSize: 13,
37471
+ fontSize: 15,
37467
37472
  fontWeight: theme.fontWeight.regular,
37468
37473
  fontFamily: theme.fontFamily
37469
37474
  },
37475
+ '& .MuiOutlinedInput-root': {
37476
+ fontWeight: theme.fontWeight.medium
37477
+ },
37470
37478
  '.MuiOutlinedInput-root': {
37471
37479
  color: theme.mainPallete.primary.blue,
37472
- padding: '7.5px 75px 7.5px 9px !important',
37480
+ padding: '6px 75px 6px 9px !important',
37473
37481
  borderRadius: 7,
37474
37482
  '&.Mui-focused': {
37475
37483
  '.MuiOutlinedInput-notchedOutline': {
@@ -37603,9 +37611,9 @@ var StyledPaper$1 = styled$1(Paper$2)({
37603
37611
  borderRadius: '7px !important',
37604
37612
  translate: '0 -1.5px',
37605
37613
  '.MuiAutocomplete-listbox': {
37606
- fontSize: 13,
37614
+ fontSize: 15,
37607
37615
  margin: '8px 8px !important',
37608
- fontWeight: theme.fontWeight.regular,
37616
+ fontWeight: theme.fontWeight.medium,
37609
37617
  fontFamily: theme.fontFamily,
37610
37618
  color: theme.mainPallete.primary.blue,
37611
37619
  padding: '0 !important',
@@ -37747,7 +37755,7 @@ var StyledAutocomplete = styled$1(Autocomplete$1, {
37747
37755
  '& label': {
37748
37756
  zIndex: 0,
37749
37757
  color: theme.mainPallete.primary.placeholderText,
37750
- transform: 'translate(20px,15px) scale(1)',
37758
+ transform: 'translate(20px,13px) scale(1)',
37751
37759
  '&.Mui-focused, &[data-shrink="true"]': {
37752
37760
  color: theme.mainPallete.primary.blue,
37753
37761
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -37757,13 +37765,16 @@ var StyledAutocomplete = styled$1(Autocomplete$1, {
37757
37765
  }
37758
37766
  },
37759
37767
  '& label, .MuiOutlinedInput-root': {
37760
- fontSize: 13,
37768
+ fontSize: 15,
37761
37769
  fontWeight: theme.fontWeight.regular,
37762
37770
  fontFamily: theme.fontFamily
37763
37771
  },
37772
+ '& .MuiOutlinedInput-root': {
37773
+ fontWeight: theme.fontWeight.medium
37774
+ },
37764
37775
  '.MuiOutlinedInput-root': {
37765
37776
  color: theme.mainPallete.primary.blue,
37766
- padding: '7.5px 0 7.5px 9px ',
37777
+ padding: '6px 0 6px 9px ',
37767
37778
  borderRadius: 7,
37768
37779
  '&.Mui-focused': {
37769
37780
  '.MuiOutlinedInput-notchedOutline': {
@@ -37795,7 +37806,7 @@ var StyledAutocomplete = styled$1(Autocomplete$1, {
37795
37806
  '.MuiChip-root': {
37796
37807
  backgroundColor: '#E7EAF3',
37797
37808
  color: theme.mainPallete.primary.blue,
37798
- fontSize: 11,
37809
+ fontSize: 13,
37799
37810
  height: 28,
37800
37811
  borderRadius: 16,
37801
37812
  'svg': {
@@ -37920,9 +37931,9 @@ var StyledPaper = styled$1(Paper$2)(function () {
37920
37931
  borderRadius: '7px !important',
37921
37932
  translate: '0 -1.5px',
37922
37933
  '.MuiAutocomplete-listbox': {
37923
- fontSize: 13,
37934
+ fontSize: 15,
37924
37935
  margin: '16px 8px !important',
37925
- fontWeight: theme.fontWeight.regular,
37936
+ fontWeight: theme.fontWeight.medium,
37926
37937
  fontFamily: theme.fontFamily,
37927
37938
  color: theme.mainPallete.primary.blue,
37928
37939
  padding: '0 !important',
@@ -55869,7 +55880,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
55869
55880
  label: {
55870
55881
  zIndex: 0,
55871
55882
  color: theme.mainPallete.primary.placeholderText,
55872
- transform: 'translate(20px,15px) scale(1)',
55883
+ transform: 'translate(20px,13.5px) scale(1)',
55873
55884
  '&.Mui-focused, &[data-shrink="true"]': {
55874
55885
  color: theme.mainPallete.primary.blue,
55875
55886
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -55879,16 +55890,19 @@ var StyledDatePicker = styled$1(DatePicker$1, {
55879
55890
  }
55880
55891
  },
55881
55892
  '& label, .MuiOutlinedInput-root': {
55882
- fontSize: 13,
55893
+ fontSize: 15,
55883
55894
  fontWeight: theme.fontWeight.regular,
55884
55895
  fontFamily: theme.fontFamily
55885
55896
  },
55897
+ '& .MuiOutlinedInput-root': {
55898
+ fontWeight: theme.fontWeight.medium
55899
+ },
55886
55900
  '.MuiOutlinedInput-root': {
55887
55901
  borderRadius: 7,
55888
55902
  color: theme.mainPallete.primary.blue,
55889
55903
  paddingRight: 15,
55890
55904
  input: {
55891
- padding: '15px 0 15px 20px'
55905
+ padding: '13.5px 0 13.5px 20px'
55892
55906
  },
55893
55907
  '&.Mui-focused': {
55894
55908
  '.MuiOutlinedInput-notchedOutline': {
@@ -56218,7 +56232,7 @@ var StyledTextField = styled$1(TextField$3, {
56218
56232
  color: theme.mainPallete.primary.placeholderText,
56219
56233
  fontWeight: theme.fontWeight.regular,
56220
56234
  zIndex: '1',
56221
- transform: small ? 'translate(20px,7px) scale(1)' : 'translate(20px,15px) scale(1)',
56235
+ transform: small ? 'translate(20px,6.1px) scale(1)' : 'translate(20px,13.5px) scale(1)',
56222
56236
  '&.Mui-focused, &.MuiFormLabel-filled': {
56223
56237
  color: theme.mainPallete.primary.blue,
56224
56238
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -56231,11 +56245,14 @@ var StyledTextField = styled$1(TextField$3, {
56231
56245
  }
56232
56246
  },
56233
56247
  '& label, .MuiOutlinedInput-root, .MuiTypography-root': {
56234
- fontSize: 13,
56248
+ fontSize: 15,
56235
56249
  fontWeight: theme.fontWeight.regular,
56236
56250
  fontFamily: theme.fontFamily,
56237
56251
  paddingRight: 15
56238
56252
  },
56253
+ '& .MuiOutlinedInput-root, .MuiTypography-root': {
56254
+ fontWeight: theme.fontWeight.medium
56255
+ },
56239
56256
  'div.MuiInputAdornment-root': {
56240
56257
  zIndex: 10,
56241
56258
  p: {
@@ -56246,7 +56263,7 @@ var StyledTextField = styled$1(TextField$3, {
56246
56263
  }
56247
56264
  },
56248
56265
  '.MuiOutlinedInput-input': {
56249
- padding: small ? '7.5px 0 7.5px 15px' : '15px 0 15px 15px',
56266
+ padding: small ? '6.1px 0 6.1px 15px' : '13.5px 0 13.5px 15px',
56250
56267
  transition: 'transform 0.3s ease-in-out',
56251
56268
  transform: isFocused ? 'translateX(-10px)' : 'translateX(0)',
56252
56269
  '&::-webkit-outer-spin-button,::-webkit-inner-spin-button': {
@@ -76547,14 +76564,14 @@ function uuid() {
76547
76564
 
76548
76565
  var uuid_1 = uuid;
76549
76566
 
76550
- var _excluded$6 = ["buttons", "top", "topAlign"];
76567
+ var _excluded$6 = ["buttons", "top", "topAlign", "position", "width"];
76551
76568
  var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76552
- _objectDestructuringEmpty(_ref);
76569
+ var $position = _ref.$position,
76570
+ $width = _ref.$width;
76553
76571
  return {
76554
76572
  boxSizing: 'border-box',
76555
- width: '100%',
76556
- // height: '53px',
76557
- minHeight: '53px',
76573
+ width: $width || '100vw',
76574
+ // minHeight: '53px',
76558
76575
  backgroundColor: theme.mainPallete.primary.white,
76559
76576
  boxShadow: '0 -3px 6px rgba(0,0,0,0.1)',
76560
76577
  display: 'flex',
@@ -76563,17 +76580,21 @@ var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76563
76580
  justifyContent: 'center',
76564
76581
  alignItems: 'center',
76565
76582
  padding: '0 18px',
76566
- position: 'fixed',
76583
+ position: $position || 'sticky',
76584
+ // top: '100%',
76567
76585
  bottom: 0,
76568
76586
  left: 0,
76569
76587
  zIndex: 5,
76588
+ marginTop: 'auto !important',
76589
+ '@media(max-height: 320px)': {
76590
+ position: 'relative'
76591
+ },
76570
76592
  '@media(max-width: 479px)': {
76571
76593
  padding: '0 8px'
76572
76594
  },
76573
- '@media(min-width: 480px)': {
76574
- // height: '80px',
76575
- minHeight: '80px'
76576
- },
76595
+ // '@media(min-width: 480px)': {
76596
+ // minHeight: '80px',
76597
+ // },
76577
76598
  'button': {
76578
76599
  minWidth: 'unset'
76579
76600
  }
@@ -76660,9 +76681,18 @@ var BottomBarComponent = function BottomBarComponent(_ref5) {
76660
76681
  top = _ref5.top,
76661
76682
  _ref5$topAlign = _ref5.topAlign,
76662
76683
  topAlign = _ref5$topAlign === void 0 ? 'center' : _ref5$topAlign,
76684
+ _ref5$position = _ref5.position,
76685
+ position = _ref5$position === void 0 ? 'sticky' : _ref5$position,
76686
+ _ref5$width = _ref5.width,
76687
+ width = _ref5$width === void 0 ? '100vw' : _ref5$width,
76663
76688
  props = _objectWithoutProperties$1(_ref5, _excluded$6);
76664
76689
  var isHelperElementString = typeof top === 'string';
76665
- return /*#__PURE__*/React.createElement(StyledBottomBarWrapper, props, /*#__PURE__*/React.createElement(StyledButtonsWrapper$1, null, buttons.map(function (item) {
76690
+ return /*#__PURE__*/React.createElement(StyledBottomBarWrapper, _extends$1k({
76691
+ className: "bottom-bar"
76692
+ }, props, {
76693
+ $position: position,
76694
+ $width: width
76695
+ }), /*#__PURE__*/React.createElement(StyledButtonsWrapper$1, null, buttons.map(function (item) {
76666
76696
  var disabled = (item === null || item === void 0 ? void 0 : item.disabled) || false;
76667
76697
  var fluid = (item === null || item === void 0 ? void 0 : item.fluid) !== undefined ? item.fluid : true;
76668
76698
  var onClick = (item === null || item === void 0 ? void 0 : item.onClick) || '';
@@ -76715,7 +76745,8 @@ BottomBarComponent.propTypes = {
76715
76745
  size: propTypesExports.string
76716
76746
  })),
76717
76747
  top: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.elementType]),
76718
- topAlign: propTypesExports.string
76748
+ topAlign: propTypesExports.string,
76749
+ position: propTypesExports.string
76719
76750
  };
76720
76751
 
76721
76752
  var StyledInfoBar = styled$1('div')(function (_ref) {
@@ -102396,7 +102427,7 @@ var StyledTimePicker = styled$1(MobileTimePicker, {
102396
102427
  label: {
102397
102428
  zIndex: 0,
102398
102429
  color: theme.mainPallete.primary.placeholderText,
102399
- transform: 'translate(20px,15px) scale(1)',
102430
+ transform: 'translate(20px,13.5px) scale(1)',
102400
102431
  '&.Mui-focused, &[data-shrink="true"]': {
102401
102432
  color: theme.mainPallete.primary.blue,
102402
102433
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -102406,10 +102437,13 @@ var StyledTimePicker = styled$1(MobileTimePicker, {
102406
102437
  }
102407
102438
  },
102408
102439
  '& label, .MuiOutlinedInput-root': {
102409
- fontSize: 13,
102440
+ fontSize: 15,
102410
102441
  fontWeight: theme.fontWeight.regular,
102411
102442
  fontFamily: theme.fontFamily
102412
102443
  },
102444
+ '& .MuiOutlinedInput-root': {
102445
+ fontWeight: theme.fontWeight.medium
102446
+ },
102413
102447
  '.MuiDialog-container': {
102414
102448
  backgroundColor: 'indigo'
102415
102449
  },
@@ -102418,7 +102452,7 @@ var StyledTimePicker = styled$1(MobileTimePicker, {
102418
102452
  color: theme.mainPallete.primary.blue,
102419
102453
  paddingRight: 20,
102420
102454
  input: {
102421
- padding: '15px 0 15px 20px'
102455
+ padding: '13.5px 0 13.5px 20px'
102422
102456
  },
102423
102457
  '&.Mui-focused': {
102424
102458
  '.MuiOutlinedInput-notchedOutline': {
package/dist/index.esm.js CHANGED
@@ -36660,39 +36660,44 @@ var _g$N;
36660
36660
  function _extends$P() { _extends$P = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
36661
36661
  var SvgIconWfInfoV2 = function SvgIconWfInfoV2(props) {
36662
36662
  return /*#__PURE__*/React.createElement("svg", _extends$P({
36663
- id: "icon_wf_info-v2",
36663
+ id: "icon_wf_info-v3",
36664
36664
  xmlns: "http://www.w3.org/2000/svg",
36665
- width: 45,
36666
- height: 45,
36667
- viewBox: "0 0 45 45"
36665
+ width: 46,
36666
+ height: 46,
36667
+ viewBox: "0 0 46 46"
36668
36668
  }, props), _g$N || (_g$N = /*#__PURE__*/React.createElement("g", {
36669
- id: "icon_wf_info_v2"
36670
- }, /*#__PURE__*/React.createElement("g", {
36671
- id: "Group_48011",
36672
- "data-name": "Group 48011"
36669
+ id: "_icon_wf_info-v3",
36670
+ "data-name": " icon_wf_info-v3"
36673
36671
  }, /*#__PURE__*/React.createElement("g", {
36674
36672
  id: "color-1",
36675
- transform: "translate(1.497 8.427)"
36673
+ transform: "translate(1.618 7.287)"
36676
36674
  }, /*#__PURE__*/React.createElement("path", {
36677
- id: "Path_85849",
36678
- "data-name": "Path 85849",
36679
- d: "M44.2,30.818c-6.618-8.186-13.529-12.353-20.584-12.4H23.4q-.461,0-.922.027C10.968,19.1,3.611,30.47,3.3,30.951l-.5.789.5.789c.307.486,7.665,11.854,19.171,12.5.116,0,.232,0,.352.009h.147c.178,0,.352.013.53.013h.116c.236,0,.472-.009.7-.027,6.8-.312,13.48-4.456,19.88-12.371l.749-.922-.749-.922Zm-10.557.922A10.3,10.3,0,0,1,24.137,42.1c-.053,0-.111.009-.165.009-.094,0-.183,0-.276.009-.254,0-.508,0-.762-.013a10.4,10.4,0,0,1-.013-20.726c.258-.009.517-.018.771-.013.1,0,.2,0,.3.009.036,0,.071,0,.1,0A10.29,10.29,0,0,1,33.647,31.74Zm-27.309,0a32.322,32.322,0,0,1,5.3-5.6,13.5,13.5,0,0,0,0,11.2,32.321,32.321,0,0,1-5.3-5.6Zm28.971,5.744a13.539,13.539,0,0,0,0-11.488,40.749,40.749,0,0,1,5.847,5.744,40.5,40.5,0,0,1-5.842,5.744Z",
36680
- transform: "translate(-2.8 -18.42)",
36675
+ id: "Path_85852",
36676
+ "data-name": "Path 85852",
36677
+ d: "M24.942,48.85c-.284,0-.565-.008-.849-.021C12.15,48.193,4.543,34.385,4.225,33.8l-.355-.657.355-.657c.318-.59,7.92-14.394,19.868-15.034,7.582-.406,15.029,4.613,22.109,14.908l.539.782-.539.782C39.386,43.831,32.239,48.85,24.942,48.85ZM7.04,33.139c1.614,2.655,8.18,12.458,17.208,12.934,6.373.335,12.809-4.015,19.132-12.934-6.093-8.6-12.295-12.951-18.446-12.951-.23,0-.456,0-.686.017C15.219,20.681,8.654,30.483,7.04,33.139Z",
36678
+ transform: "translate(-3.87 -17.426)",
36679
+ fill: "#293072"
36680
+ }), /*#__PURE__*/React.createElement("path", {
36681
+ id: "Path_85853",
36682
+ "data-name": "Path 85853",
36683
+ d: "M41.979,51.274a9.523,9.523,0,1,1,9.359-9.522A9.454,9.454,0,0,1,41.979,51.274Zm0-16.288a6.764,6.764,0,1,0,6.6,6.762A6.689,6.689,0,0,0,41.979,34.986Z",
36684
+ transform: "translate(-20.597 -26.039)",
36681
36685
  fill: "#293072"
36682
36686
  })), /*#__PURE__*/React.createElement("g", {
36683
- id: "color-2"
36687
+ id: "color-2",
36688
+ transform: "translate(1.618 7.287)"
36684
36689
  }, /*#__PURE__*/React.createElement("rect", {
36685
- id: "Rectangle_22941",
36686
- "data-name": "Rectangle 22941",
36687
- width: 2.968,
36688
- height: 2.968,
36689
- transform: "translate(20.717 19.982)",
36690
+ id: "Rectangle_22945",
36691
+ "data-name": "Rectangle 22945",
36692
+ width: 2.066,
36693
+ height: 2.066,
36694
+ transform: "translate(20.349 14.68)",
36690
36695
  fill: "#e42127"
36691
- }))), /*#__PURE__*/React.createElement("rect", {
36692
- id: "Rectangle_22942",
36693
- "data-name": "Rectangle 22942",
36694
- width: 45,
36695
- height: 45,
36696
+ })), /*#__PURE__*/React.createElement("rect", {
36697
+ id: "Rectangle_22946",
36698
+ "data-name": "Rectangle 22946",
36699
+ width: 46,
36700
+ height: 46,
36696
36701
  fill: "none"
36697
36702
  }))));
36698
36703
  };
@@ -37433,7 +37438,7 @@ var StyledAutocomplete$1 = styled$1(Autocomplete$1)({
37433
37438
  '& label': {
37434
37439
  zIndex: 0,
37435
37440
  color: theme.mainPallete.primary.placeholderText,
37436
- transform: 'translate(20px,15px) scale(1)',
37441
+ transform: 'translate(20px,13px) scale(1)',
37437
37442
  '&.Mui-focused, &[data-shrink="true"]': {
37438
37443
  color: theme.mainPallete.primary.blue,
37439
37444
  transform: 'translate(15px, -7px) scale(0.75)'
@@ -37443,13 +37448,16 @@ var StyledAutocomplete$1 = styled$1(Autocomplete$1)({
37443
37448
  }
37444
37449
  },
37445
37450
  '& label, .MuiOutlinedInput-root': {
37446
- fontSize: 13,
37451
+ fontSize: 15,
37447
37452
  fontWeight: theme.fontWeight.regular,
37448
37453
  fontFamily: theme.fontFamily
37449
37454
  },
37455
+ '& .MuiOutlinedInput-root': {
37456
+ fontWeight: theme.fontWeight.medium
37457
+ },
37450
37458
  '.MuiOutlinedInput-root': {
37451
37459
  color: theme.mainPallete.primary.blue,
37452
- padding: '7.5px 75px 7.5px 9px !important',
37460
+ padding: '6px 75px 6px 9px !important',
37453
37461
  borderRadius: 7,
37454
37462
  '&.Mui-focused': {
37455
37463
  '.MuiOutlinedInput-notchedOutline': {
@@ -37583,9 +37591,9 @@ var StyledPaper$1 = styled$1(Paper$2)({
37583
37591
  borderRadius: '7px !important',
37584
37592
  translate: '0 -1.5px',
37585
37593
  '.MuiAutocomplete-listbox': {
37586
- fontSize: 13,
37594
+ fontSize: 15,
37587
37595
  margin: '8px 8px !important',
37588
- fontWeight: theme.fontWeight.regular,
37596
+ fontWeight: theme.fontWeight.medium,
37589
37597
  fontFamily: theme.fontFamily,
37590
37598
  color: theme.mainPallete.primary.blue,
37591
37599
  padding: '0 !important',
@@ -37727,7 +37735,7 @@ var StyledAutocomplete = styled$1(Autocomplete$1, {
37727
37735
  '& label': {
37728
37736
  zIndex: 0,
37729
37737
  color: theme.mainPallete.primary.placeholderText,
37730
- transform: 'translate(20px,15px) scale(1)',
37738
+ transform: 'translate(20px,13px) scale(1)',
37731
37739
  '&.Mui-focused, &[data-shrink="true"]': {
37732
37740
  color: theme.mainPallete.primary.blue,
37733
37741
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -37737,13 +37745,16 @@ var StyledAutocomplete = styled$1(Autocomplete$1, {
37737
37745
  }
37738
37746
  },
37739
37747
  '& label, .MuiOutlinedInput-root': {
37740
- fontSize: 13,
37748
+ fontSize: 15,
37741
37749
  fontWeight: theme.fontWeight.regular,
37742
37750
  fontFamily: theme.fontFamily
37743
37751
  },
37752
+ '& .MuiOutlinedInput-root': {
37753
+ fontWeight: theme.fontWeight.medium
37754
+ },
37744
37755
  '.MuiOutlinedInput-root': {
37745
37756
  color: theme.mainPallete.primary.blue,
37746
- padding: '7.5px 0 7.5px 9px ',
37757
+ padding: '6px 0 6px 9px ',
37747
37758
  borderRadius: 7,
37748
37759
  '&.Mui-focused': {
37749
37760
  '.MuiOutlinedInput-notchedOutline': {
@@ -37775,7 +37786,7 @@ var StyledAutocomplete = styled$1(Autocomplete$1, {
37775
37786
  '.MuiChip-root': {
37776
37787
  backgroundColor: '#E7EAF3',
37777
37788
  color: theme.mainPallete.primary.blue,
37778
- fontSize: 11,
37789
+ fontSize: 13,
37779
37790
  height: 28,
37780
37791
  borderRadius: 16,
37781
37792
  'svg': {
@@ -37900,9 +37911,9 @@ var StyledPaper = styled$1(Paper$2)(function () {
37900
37911
  borderRadius: '7px !important',
37901
37912
  translate: '0 -1.5px',
37902
37913
  '.MuiAutocomplete-listbox': {
37903
- fontSize: 13,
37914
+ fontSize: 15,
37904
37915
  margin: '16px 8px !important',
37905
- fontWeight: theme.fontWeight.regular,
37916
+ fontWeight: theme.fontWeight.medium,
37906
37917
  fontFamily: theme.fontFamily,
37907
37918
  color: theme.mainPallete.primary.blue,
37908
37919
  padding: '0 !important',
@@ -55849,7 +55860,7 @@ var StyledDatePicker = styled$1(DatePicker$1, {
55849
55860
  label: {
55850
55861
  zIndex: 0,
55851
55862
  color: theme.mainPallete.primary.placeholderText,
55852
- transform: 'translate(20px,15px) scale(1)',
55863
+ transform: 'translate(20px,13.5px) scale(1)',
55853
55864
  '&.Mui-focused, &[data-shrink="true"]': {
55854
55865
  color: theme.mainPallete.primary.blue,
55855
55866
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -55859,16 +55870,19 @@ var StyledDatePicker = styled$1(DatePicker$1, {
55859
55870
  }
55860
55871
  },
55861
55872
  '& label, .MuiOutlinedInput-root': {
55862
- fontSize: 13,
55873
+ fontSize: 15,
55863
55874
  fontWeight: theme.fontWeight.regular,
55864
55875
  fontFamily: theme.fontFamily
55865
55876
  },
55877
+ '& .MuiOutlinedInput-root': {
55878
+ fontWeight: theme.fontWeight.medium
55879
+ },
55866
55880
  '.MuiOutlinedInput-root': {
55867
55881
  borderRadius: 7,
55868
55882
  color: theme.mainPallete.primary.blue,
55869
55883
  paddingRight: 15,
55870
55884
  input: {
55871
- padding: '15px 0 15px 20px'
55885
+ padding: '13.5px 0 13.5px 20px'
55872
55886
  },
55873
55887
  '&.Mui-focused': {
55874
55888
  '.MuiOutlinedInput-notchedOutline': {
@@ -56198,7 +56212,7 @@ var StyledTextField = styled$1(TextField$3, {
56198
56212
  color: theme.mainPallete.primary.placeholderText,
56199
56213
  fontWeight: theme.fontWeight.regular,
56200
56214
  zIndex: '1',
56201
- transform: small ? 'translate(20px,7px) scale(1)' : 'translate(20px,15px) scale(1)',
56215
+ transform: small ? 'translate(20px,6.1px) scale(1)' : 'translate(20px,13.5px) scale(1)',
56202
56216
  '&.Mui-focused, &.MuiFormLabel-filled': {
56203
56217
  color: theme.mainPallete.primary.blue,
56204
56218
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -56211,11 +56225,14 @@ var StyledTextField = styled$1(TextField$3, {
56211
56225
  }
56212
56226
  },
56213
56227
  '& label, .MuiOutlinedInput-root, .MuiTypography-root': {
56214
- fontSize: 13,
56228
+ fontSize: 15,
56215
56229
  fontWeight: theme.fontWeight.regular,
56216
56230
  fontFamily: theme.fontFamily,
56217
56231
  paddingRight: 15
56218
56232
  },
56233
+ '& .MuiOutlinedInput-root, .MuiTypography-root': {
56234
+ fontWeight: theme.fontWeight.medium
56235
+ },
56219
56236
  'div.MuiInputAdornment-root': {
56220
56237
  zIndex: 10,
56221
56238
  p: {
@@ -56226,7 +56243,7 @@ var StyledTextField = styled$1(TextField$3, {
56226
56243
  }
56227
56244
  },
56228
56245
  '.MuiOutlinedInput-input': {
56229
- padding: small ? '7.5px 0 7.5px 15px' : '15px 0 15px 15px',
56246
+ padding: small ? '6.1px 0 6.1px 15px' : '13.5px 0 13.5px 15px',
56230
56247
  transition: 'transform 0.3s ease-in-out',
56231
56248
  transform: isFocused ? 'translateX(-10px)' : 'translateX(0)',
56232
56249
  '&::-webkit-outer-spin-button,::-webkit-inner-spin-button': {
@@ -76527,14 +76544,14 @@ function uuid() {
76527
76544
 
76528
76545
  var uuid_1 = uuid;
76529
76546
 
76530
- var _excluded$6 = ["buttons", "top", "topAlign"];
76547
+ var _excluded$6 = ["buttons", "top", "topAlign", "position", "width"];
76531
76548
  var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76532
- _objectDestructuringEmpty(_ref);
76549
+ var $position = _ref.$position,
76550
+ $width = _ref.$width;
76533
76551
  return {
76534
76552
  boxSizing: 'border-box',
76535
- width: '100%',
76536
- // height: '53px',
76537
- minHeight: '53px',
76553
+ width: $width || '100vw',
76554
+ // minHeight: '53px',
76538
76555
  backgroundColor: theme.mainPallete.primary.white,
76539
76556
  boxShadow: '0 -3px 6px rgba(0,0,0,0.1)',
76540
76557
  display: 'flex',
@@ -76543,17 +76560,21 @@ var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76543
76560
  justifyContent: 'center',
76544
76561
  alignItems: 'center',
76545
76562
  padding: '0 18px',
76546
- position: 'fixed',
76563
+ position: $position || 'sticky',
76564
+ // top: '100%',
76547
76565
  bottom: 0,
76548
76566
  left: 0,
76549
76567
  zIndex: 5,
76568
+ marginTop: 'auto !important',
76569
+ '@media(max-height: 320px)': {
76570
+ position: 'relative'
76571
+ },
76550
76572
  '@media(max-width: 479px)': {
76551
76573
  padding: '0 8px'
76552
76574
  },
76553
- '@media(min-width: 480px)': {
76554
- // height: '80px',
76555
- minHeight: '80px'
76556
- },
76575
+ // '@media(min-width: 480px)': {
76576
+ // minHeight: '80px',
76577
+ // },
76557
76578
  'button': {
76558
76579
  minWidth: 'unset'
76559
76580
  }
@@ -76640,9 +76661,18 @@ var BottomBarComponent = function BottomBarComponent(_ref5) {
76640
76661
  top = _ref5.top,
76641
76662
  _ref5$topAlign = _ref5.topAlign,
76642
76663
  topAlign = _ref5$topAlign === void 0 ? 'center' : _ref5$topAlign,
76664
+ _ref5$position = _ref5.position,
76665
+ position = _ref5$position === void 0 ? 'sticky' : _ref5$position,
76666
+ _ref5$width = _ref5.width,
76667
+ width = _ref5$width === void 0 ? '100vw' : _ref5$width,
76643
76668
  props = _objectWithoutProperties$1(_ref5, _excluded$6);
76644
76669
  var isHelperElementString = typeof top === 'string';
76645
- return /*#__PURE__*/React__default.createElement(StyledBottomBarWrapper, props, /*#__PURE__*/React__default.createElement(StyledButtonsWrapper$1, null, buttons.map(function (item) {
76670
+ return /*#__PURE__*/React__default.createElement(StyledBottomBarWrapper, _extends$1k({
76671
+ className: "bottom-bar"
76672
+ }, props, {
76673
+ $position: position,
76674
+ $width: width
76675
+ }), /*#__PURE__*/React__default.createElement(StyledButtonsWrapper$1, null, buttons.map(function (item) {
76646
76676
  var disabled = (item === null || item === void 0 ? void 0 : item.disabled) || false;
76647
76677
  var fluid = (item === null || item === void 0 ? void 0 : item.fluid) !== undefined ? item.fluid : true;
76648
76678
  var onClick = (item === null || item === void 0 ? void 0 : item.onClick) || '';
@@ -76695,7 +76725,8 @@ BottomBarComponent.propTypes = {
76695
76725
  size: propTypesExports.string
76696
76726
  })),
76697
76727
  top: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.elementType]),
76698
- topAlign: propTypesExports.string
76728
+ topAlign: propTypesExports.string,
76729
+ position: propTypesExports.string
76699
76730
  };
76700
76731
 
76701
76732
  var StyledInfoBar = styled$1('div')(function (_ref) {
@@ -102376,7 +102407,7 @@ var StyledTimePicker = styled$1(MobileTimePicker, {
102376
102407
  label: {
102377
102408
  zIndex: 0,
102378
102409
  color: theme.mainPallete.primary.placeholderText,
102379
- transform: 'translate(20px,15px) scale(1)',
102410
+ transform: 'translate(20px,13.5px) scale(1)',
102380
102411
  '&.Mui-focused, &[data-shrink="true"]': {
102381
102412
  color: theme.mainPallete.primary.blue,
102382
102413
  transform: 'translate(15px,-7px) scale(0.75)'
@@ -102386,10 +102417,13 @@ var StyledTimePicker = styled$1(MobileTimePicker, {
102386
102417
  }
102387
102418
  },
102388
102419
  '& label, .MuiOutlinedInput-root': {
102389
- fontSize: 13,
102420
+ fontSize: 15,
102390
102421
  fontWeight: theme.fontWeight.regular,
102391
102422
  fontFamily: theme.fontFamily
102392
102423
  },
102424
+ '& .MuiOutlinedInput-root': {
102425
+ fontWeight: theme.fontWeight.medium
102426
+ },
102393
102427
  '.MuiDialog-container': {
102394
102428
  backgroundColor: 'indigo'
102395
102429
  },
@@ -102398,7 +102432,7 @@ var StyledTimePicker = styled$1(MobileTimePicker, {
102398
102432
  color: theme.mainPallete.primary.blue,
102399
102433
  paddingRight: 20,
102400
102434
  input: {
102401
- padding: '15px 0 15px 20px'
102435
+ padding: '13.5px 0 13.5px 20px'
102402
102436
  },
102403
102437
  '&.Mui-focused': {
102404
102438
  '.MuiOutlinedInput-notchedOutline': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",