@xelto.npm/xc2-lib 1.0.22 → 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
  };
@@ -76559,14 +76564,14 @@ function uuid() {
76559
76564
 
76560
76565
  var uuid_1 = uuid;
76561
76566
 
76562
- var _excluded$6 = ["buttons", "top", "topAlign", "position"];
76567
+ var _excluded$6 = ["buttons", "top", "topAlign", "position", "width"];
76563
76568
  var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76564
- var $position = _ref.$position;
76569
+ var $position = _ref.$position,
76570
+ $width = _ref.$width;
76565
76571
  return {
76566
76572
  boxSizing: 'border-box',
76567
- width: '100%',
76568
- // height: '53px',
76569
- minHeight: '53px',
76573
+ width: $width || '100vw',
76574
+ // minHeight: '53px',
76570
76575
  backgroundColor: theme.mainPallete.primary.white,
76571
76576
  boxShadow: '0 -3px 6px rgba(0,0,0,0.1)',
76572
76577
  display: 'flex',
@@ -76575,18 +76580,21 @@ var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76575
76580
  justifyContent: 'center',
76576
76581
  alignItems: 'center',
76577
76582
  padding: '0 18px',
76578
- position: $position || 'fixed',
76583
+ position: $position || 'sticky',
76584
+ // top: '100%',
76579
76585
  bottom: 0,
76580
76586
  left: 0,
76581
76587
  zIndex: 5,
76582
76588
  marginTop: 'auto !important',
76589
+ '@media(max-height: 320px)': {
76590
+ position: 'relative'
76591
+ },
76583
76592
  '@media(max-width: 479px)': {
76584
76593
  padding: '0 8px'
76585
76594
  },
76586
- '@media(min-width: 480px)': {
76587
- // height: '80px',
76588
- minHeight: '80px'
76589
- },
76595
+ // '@media(min-width: 480px)': {
76596
+ // minHeight: '80px',
76597
+ // },
76590
76598
  'button': {
76591
76599
  minWidth: 'unset'
76592
76600
  }
@@ -76674,11 +76682,16 @@ var BottomBarComponent = function BottomBarComponent(_ref5) {
76674
76682
  _ref5$topAlign = _ref5.topAlign,
76675
76683
  topAlign = _ref5$topAlign === void 0 ? 'center' : _ref5$topAlign,
76676
76684
  _ref5$position = _ref5.position,
76677
- position = _ref5$position === void 0 ? 'fixed' : _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,
76678
76688
  props = _objectWithoutProperties$1(_ref5, _excluded$6);
76679
76689
  var isHelperElementString = typeof top === 'string';
76680
- return /*#__PURE__*/React.createElement(StyledBottomBarWrapper, _extends$1k({}, props, {
76681
- $position: position
76690
+ return /*#__PURE__*/React.createElement(StyledBottomBarWrapper, _extends$1k({
76691
+ className: "bottom-bar"
76692
+ }, props, {
76693
+ $position: position,
76694
+ $width: width
76682
76695
  }), /*#__PURE__*/React.createElement(StyledButtonsWrapper$1, null, buttons.map(function (item) {
76683
76696
  var disabled = (item === null || item === void 0 ? void 0 : item.disabled) || false;
76684
76697
  var fluid = (item === null || item === void 0 ? void 0 : item.fluid) !== undefined ? item.fluid : true;
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
  };
@@ -76539,14 +76544,14 @@ function uuid() {
76539
76544
 
76540
76545
  var uuid_1 = uuid;
76541
76546
 
76542
- var _excluded$6 = ["buttons", "top", "topAlign", "position"];
76547
+ var _excluded$6 = ["buttons", "top", "topAlign", "position", "width"];
76543
76548
  var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76544
- var $position = _ref.$position;
76549
+ var $position = _ref.$position,
76550
+ $width = _ref.$width;
76545
76551
  return {
76546
76552
  boxSizing: 'border-box',
76547
- width: '100%',
76548
- // height: '53px',
76549
- minHeight: '53px',
76553
+ width: $width || '100vw',
76554
+ // minHeight: '53px',
76550
76555
  backgroundColor: theme.mainPallete.primary.white,
76551
76556
  boxShadow: '0 -3px 6px rgba(0,0,0,0.1)',
76552
76557
  display: 'flex',
@@ -76555,18 +76560,21 @@ var StyledBottomBarWrapper = styled$1(Box$1)(function (_ref) {
76555
76560
  justifyContent: 'center',
76556
76561
  alignItems: 'center',
76557
76562
  padding: '0 18px',
76558
- position: $position || 'fixed',
76563
+ position: $position || 'sticky',
76564
+ // top: '100%',
76559
76565
  bottom: 0,
76560
76566
  left: 0,
76561
76567
  zIndex: 5,
76562
76568
  marginTop: 'auto !important',
76569
+ '@media(max-height: 320px)': {
76570
+ position: 'relative'
76571
+ },
76563
76572
  '@media(max-width: 479px)': {
76564
76573
  padding: '0 8px'
76565
76574
  },
76566
- '@media(min-width: 480px)': {
76567
- // height: '80px',
76568
- minHeight: '80px'
76569
- },
76575
+ // '@media(min-width: 480px)': {
76576
+ // minHeight: '80px',
76577
+ // },
76570
76578
  'button': {
76571
76579
  minWidth: 'unset'
76572
76580
  }
@@ -76654,11 +76662,16 @@ var BottomBarComponent = function BottomBarComponent(_ref5) {
76654
76662
  _ref5$topAlign = _ref5.topAlign,
76655
76663
  topAlign = _ref5$topAlign === void 0 ? 'center' : _ref5$topAlign,
76656
76664
  _ref5$position = _ref5.position,
76657
- position = _ref5$position === void 0 ? 'fixed' : _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,
76658
76668
  props = _objectWithoutProperties$1(_ref5, _excluded$6);
76659
76669
  var isHelperElementString = typeof top === 'string';
76660
- return /*#__PURE__*/React__default.createElement(StyledBottomBarWrapper, _extends$1k({}, props, {
76661
- $position: position
76670
+ return /*#__PURE__*/React__default.createElement(StyledBottomBarWrapper, _extends$1k({
76671
+ className: "bottom-bar"
76672
+ }, props, {
76673
+ $position: position,
76674
+ $width: width
76662
76675
  }), /*#__PURE__*/React__default.createElement(StyledButtonsWrapper$1, null, buttons.map(function (item) {
76663
76676
  var disabled = (item === null || item === void 0 ? void 0 : item.disabled) || false;
76664
76677
  var fluid = (item === null || item === void 0 ? void 0 : item.fluid) !== undefined ? item.fluid : true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",