@lideralia/alife-uikit 1.1.369 → 1.1.372

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.
@@ -66,7 +66,10 @@ var Checkbox = function Checkbox(props) {
66
66
 
67
67
  if (action) {
68
68
  action(name, !isChecked, !isChecked);
69
- isActiveCheckbox(isChecked);
69
+
70
+ if (isActiveCheckbox) {
71
+ isActiveCheckbox(isChecked);
72
+ }
70
73
  }
71
74
  },
72
75
  title: name,
@@ -21,7 +21,7 @@ var OverlayWrapper = (0, _styledComponents.default)('div').withConfig({
21
21
  })({
22
22
  opacity: 0.5,
23
23
  width: '100%',
24
- height: '100vh',
24
+ height: '120vh',
25
25
  position: 'fixed',
26
26
  top: 0,
27
27
  left: 0
@@ -37,9 +37,7 @@ var CardPaymentMethod = function CardPaymentMethod(_ref) {
37
37
  getPaymentMethod = _ref.getPaymentMethod,
38
38
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
39
39
  (0, _react.useEffect)(function () {}, []);
40
- var stripePromise = (0, _stripeJs.loadStripe)(stripeKey, {
41
- stripeAccount: stripeAccount
42
- });
40
+ var stripePromise = (0, _stripeJs.loadStripe)(stripeKey);
43
41
  return _react.default.createElement(_reactStripeJs.Elements, {
44
42
  stripe: stripePromise
45
43
  }, _react.default.createElement(CardPaymentMethod.Card, (0, _extends2.default)({
@@ -49,7 +49,8 @@ var ModalLogin = function ModalLogin(_ref) {
49
49
  onModalBack = _ref.onModalBack,
50
50
  backWithButton = _ref.backWithButton,
51
51
  customColor = _ref.customColor,
52
- customTextColor = _ref.customTextColor;
52
+ customTextColor = _ref.customTextColor,
53
+ defaultInputQuery = _ref.defaultInputQuery;
53
54
 
54
55
  var _useState = (0, _react.useState)(prefix === null || prefix === void 0 ? void 0 : prefix.defaultValue),
55
56
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -102,7 +103,8 @@ var ModalLogin = function ModalLogin(_ref) {
102
103
  onChange: actionInput,
103
104
  maxLength: 99999999,
104
105
  pattern: "[0-9]{3} [0-9]{3} [0-9]{4}",
105
- hasError: hasError
106
+ hasError: hasError,
107
+ defaultValue: (defaultInputQuery === null || defaultInputQuery === void 0 ? void 0 : defaultInputQuery.phoneNumber) || ''
106
108
  })))), hasError && errorMessage && _react.default.createElement(_Typography.Text, {
107
109
  sizeText: "display14",
108
110
  color: "red",
@@ -140,6 +142,9 @@ ModalLogin.defaultProps = {
140
142
  idPhone: 'phone',
141
143
  title: 'Iniciar sesión',
142
144
  labelPhone: 'Escribe tu número de teéfono',
145
+ defaultInputQuery: {
146
+ phoneNumber: '4242424242'
147
+ },
143
148
  footer: {
144
149
  label: null,
145
150
  action: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lideralia/alife-uikit",
3
- "version": "1.1.369",
3
+ "version": "1.1.372",
4
4
  "description": "Librería y documentación de componentes, basada en el Design System de Alife.",
5
5
  "homepage": "https://github.com/lideralia/alife-frontend-components#readme",
6
6
  "bugs": {