@xelto.npm/xc2-lib 0.0.51 → 0.0.52
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 +59 -11
- package/dist/index.esm.js +59 -11
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10566,13 +10566,62 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
10566
10566
|
} : void 0;
|
|
10567
10567
|
var Switch$1 = Switch;
|
|
10568
10568
|
|
|
10569
|
+
var theme = {
|
|
10570
|
+
mainPallete: {
|
|
10571
|
+
primary: {
|
|
10572
|
+
blue: '#293072',
|
|
10573
|
+
grey: '#5D5D5C',
|
|
10574
|
+
red: '#E42127',
|
|
10575
|
+
white: '#FFFFFF',
|
|
10576
|
+
placeholderText: '#B0BAD8',
|
|
10577
|
+
tooltipBg: '#53598E'
|
|
10578
|
+
},
|
|
10579
|
+
secondary: {
|
|
10580
|
+
inputsValidation: '#FFF5F5',
|
|
10581
|
+
buttonBlack: '#000000',
|
|
10582
|
+
buttonBlue: '#3A44A7',
|
|
10583
|
+
specialGreen: '#61CC61'
|
|
10584
|
+
},
|
|
10585
|
+
table: {
|
|
10586
|
+
header: '#E7EAF3',
|
|
10587
|
+
border: '#DBE0F2',
|
|
10588
|
+
tableCellDarker: '#F6F8FB',
|
|
10589
|
+
bodyTextColor: '#2A3D96',
|
|
10590
|
+
selected: 'rgba(176,186,216,0.5)'
|
|
10591
|
+
}
|
|
10592
|
+
},
|
|
10593
|
+
fontWeight: {
|
|
10594
|
+
thin: 100,
|
|
10595
|
+
extraLight: 200,
|
|
10596
|
+
light: 300,
|
|
10597
|
+
regular: 400,
|
|
10598
|
+
medium: 500,
|
|
10599
|
+
semiBold: 600,
|
|
10600
|
+
bold: 700,
|
|
10601
|
+
extraBold: 800,
|
|
10602
|
+
black: 900
|
|
10603
|
+
},
|
|
10604
|
+
fontFamily: ['"Barlow", sans-serif'].join(','),
|
|
10605
|
+
scrollbar: {
|
|
10606
|
+
height: 4,
|
|
10607
|
+
width: 4,
|
|
10608
|
+
background: '#B0BAD8',
|
|
10609
|
+
borderRadius: 10,
|
|
10610
|
+
'&-thumb': {
|
|
10611
|
+
height: 4,
|
|
10612
|
+
width: 4,
|
|
10613
|
+
borderRadius: 10,
|
|
10614
|
+
backgroundColor: '#293072'
|
|
10615
|
+
}
|
|
10616
|
+
}
|
|
10617
|
+
};
|
|
10618
|
+
|
|
10569
10619
|
var _excluded = ["label", "checked", "onChange", "forwardedRef"];
|
|
10570
10620
|
var StyledFormControlLabel = styled$1(function (props) {
|
|
10571
10621
|
return /*#__PURE__*/React__namespace.createElement(FormControlLabel$1, _extends$1({
|
|
10572
10622
|
ref: props.forwardedRef
|
|
10573
10623
|
}, props));
|
|
10574
|
-
})(function (
|
|
10575
|
-
var theme = _ref.theme;
|
|
10624
|
+
})(function () {
|
|
10576
10625
|
return {
|
|
10577
10626
|
boxSizing: 'border-box',
|
|
10578
10627
|
marginBottom: '30px',
|
|
@@ -10602,8 +10651,7 @@ var StyledSwitch = styled$1(function (props) {
|
|
|
10602
10651
|
focusVisibleClassName: ".Mui-focusVisible",
|
|
10603
10652
|
disableRipple: true
|
|
10604
10653
|
}, props));
|
|
10605
|
-
})(function (
|
|
10606
|
-
var theme = _ref2.theme;
|
|
10654
|
+
})(function () {
|
|
10607
10655
|
return {
|
|
10608
10656
|
width: 66,
|
|
10609
10657
|
height: 37,
|
|
@@ -10694,13 +10742,13 @@ var StyledSwitch = styled$1(function (props) {
|
|
|
10694
10742
|
}
|
|
10695
10743
|
};
|
|
10696
10744
|
});
|
|
10697
|
-
var SwitchComponent = function SwitchComponent(
|
|
10698
|
-
var label =
|
|
10699
|
-
checked =
|
|
10700
|
-
onChange =
|
|
10701
|
-
|
|
10702
|
-
forwardedRef =
|
|
10703
|
-
props = _objectWithoutProperties(
|
|
10745
|
+
var SwitchComponent = function SwitchComponent(_ref) {
|
|
10746
|
+
var label = _ref.label,
|
|
10747
|
+
checked = _ref.checked,
|
|
10748
|
+
onChange = _ref.onChange,
|
|
10749
|
+
_ref$forwardedRef = _ref.forwardedRef,
|
|
10750
|
+
forwardedRef = _ref$forwardedRef === void 0 ? null : _ref$forwardedRef,
|
|
10751
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
10704
10752
|
return /*#__PURE__*/React__namespace.createElement(FormGroup$1, null, /*#__PURE__*/React__namespace.createElement(StyledFormControlLabel, _extends$1({}, props, {
|
|
10705
10753
|
forwardedRef: forwardedRef,
|
|
10706
10754
|
control: /*#__PURE__*/React__namespace.createElement(StyledSwitch, {
|
package/dist/index.esm.js
CHANGED
|
@@ -10546,13 +10546,62 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
10546
10546
|
} : void 0;
|
|
10547
10547
|
var Switch$1 = Switch;
|
|
10548
10548
|
|
|
10549
|
+
var theme = {
|
|
10550
|
+
mainPallete: {
|
|
10551
|
+
primary: {
|
|
10552
|
+
blue: '#293072',
|
|
10553
|
+
grey: '#5D5D5C',
|
|
10554
|
+
red: '#E42127',
|
|
10555
|
+
white: '#FFFFFF',
|
|
10556
|
+
placeholderText: '#B0BAD8',
|
|
10557
|
+
tooltipBg: '#53598E'
|
|
10558
|
+
},
|
|
10559
|
+
secondary: {
|
|
10560
|
+
inputsValidation: '#FFF5F5',
|
|
10561
|
+
buttonBlack: '#000000',
|
|
10562
|
+
buttonBlue: '#3A44A7',
|
|
10563
|
+
specialGreen: '#61CC61'
|
|
10564
|
+
},
|
|
10565
|
+
table: {
|
|
10566
|
+
header: '#E7EAF3',
|
|
10567
|
+
border: '#DBE0F2',
|
|
10568
|
+
tableCellDarker: '#F6F8FB',
|
|
10569
|
+
bodyTextColor: '#2A3D96',
|
|
10570
|
+
selected: 'rgba(176,186,216,0.5)'
|
|
10571
|
+
}
|
|
10572
|
+
},
|
|
10573
|
+
fontWeight: {
|
|
10574
|
+
thin: 100,
|
|
10575
|
+
extraLight: 200,
|
|
10576
|
+
light: 300,
|
|
10577
|
+
regular: 400,
|
|
10578
|
+
medium: 500,
|
|
10579
|
+
semiBold: 600,
|
|
10580
|
+
bold: 700,
|
|
10581
|
+
extraBold: 800,
|
|
10582
|
+
black: 900
|
|
10583
|
+
},
|
|
10584
|
+
fontFamily: ['"Barlow", sans-serif'].join(','),
|
|
10585
|
+
scrollbar: {
|
|
10586
|
+
height: 4,
|
|
10587
|
+
width: 4,
|
|
10588
|
+
background: '#B0BAD8',
|
|
10589
|
+
borderRadius: 10,
|
|
10590
|
+
'&-thumb': {
|
|
10591
|
+
height: 4,
|
|
10592
|
+
width: 4,
|
|
10593
|
+
borderRadius: 10,
|
|
10594
|
+
backgroundColor: '#293072'
|
|
10595
|
+
}
|
|
10596
|
+
}
|
|
10597
|
+
};
|
|
10598
|
+
|
|
10549
10599
|
var _excluded = ["label", "checked", "onChange", "forwardedRef"];
|
|
10550
10600
|
var StyledFormControlLabel = styled$1(function (props) {
|
|
10551
10601
|
return /*#__PURE__*/React.createElement(FormControlLabel$1, _extends$1({
|
|
10552
10602
|
ref: props.forwardedRef
|
|
10553
10603
|
}, props));
|
|
10554
|
-
})(function (
|
|
10555
|
-
var theme = _ref.theme;
|
|
10604
|
+
})(function () {
|
|
10556
10605
|
return {
|
|
10557
10606
|
boxSizing: 'border-box',
|
|
10558
10607
|
marginBottom: '30px',
|
|
@@ -10582,8 +10631,7 @@ var StyledSwitch = styled$1(function (props) {
|
|
|
10582
10631
|
focusVisibleClassName: ".Mui-focusVisible",
|
|
10583
10632
|
disableRipple: true
|
|
10584
10633
|
}, props));
|
|
10585
|
-
})(function (
|
|
10586
|
-
var theme = _ref2.theme;
|
|
10634
|
+
})(function () {
|
|
10587
10635
|
return {
|
|
10588
10636
|
width: 66,
|
|
10589
10637
|
height: 37,
|
|
@@ -10674,13 +10722,13 @@ var StyledSwitch = styled$1(function (props) {
|
|
|
10674
10722
|
}
|
|
10675
10723
|
};
|
|
10676
10724
|
});
|
|
10677
|
-
var SwitchComponent = function SwitchComponent(
|
|
10678
|
-
var label =
|
|
10679
|
-
checked =
|
|
10680
|
-
onChange =
|
|
10681
|
-
|
|
10682
|
-
forwardedRef =
|
|
10683
|
-
props = _objectWithoutProperties(
|
|
10725
|
+
var SwitchComponent = function SwitchComponent(_ref) {
|
|
10726
|
+
var label = _ref.label,
|
|
10727
|
+
checked = _ref.checked,
|
|
10728
|
+
onChange = _ref.onChange,
|
|
10729
|
+
_ref$forwardedRef = _ref.forwardedRef,
|
|
10730
|
+
forwardedRef = _ref$forwardedRef === void 0 ? null : _ref$forwardedRef,
|
|
10731
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
10684
10732
|
return /*#__PURE__*/React.createElement(FormGroup$1, null, /*#__PURE__*/React.createElement(StyledFormControlLabel, _extends$1({}, props, {
|
|
10685
10733
|
forwardedRef: forwardedRef,
|
|
10686
10734
|
control: /*#__PURE__*/React.createElement(StyledSwitch, {
|