@lideralia/alife-uikit 1.2.4 → 1.2.6

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.
@@ -184,7 +184,7 @@ ModalLogin.defaultProps = {
184
184
  title: 'Iniciar sesión',
185
185
  labelPhone: 'Escribe tu número de teéfono',
186
186
  defaultInputQuery: {
187
- phoneNumber: '4242424242'
187
+ phoneNumber: ''
188
188
  },
189
189
  footer: {
190
190
  label: null,
@@ -58,7 +58,9 @@ var ModalLoginPassCode = function ModalLoginPassCode(_ref) {
58
58
  hasError = _ref.hasError,
59
59
  errorMessage = _ref.errorMessage,
60
60
  onSubmit = _ref.onSubmit,
61
- tokenCaptcha = _ref.tokenCaptcha;
61
+ tokenCaptcha = _ref.tokenCaptcha,
62
+ onModalClose = _ref.onModalClose,
63
+ onModalBack = _ref.onModalBack;
62
64
  var seconds = 30;
63
65
  var pass1Ref = (0, _react.useRef)(null);
64
66
  var pass2Ref = (0, _react.useRef)(null);
@@ -105,7 +107,8 @@ var ModalLoginPassCode = function ModalLoginPassCode(_ref) {
105
107
  duration: 100,
106
108
  title: title,
107
109
  hasError: hasError,
108
- onModalClose: function onModalClose() {},
110
+ onModalClose: onModalClose || function () {},
111
+ onModalBack: onModalBack || function () {},
109
112
  marginX: 0,
110
113
  marginY: 0
111
114
  }, _react.default.createElement(_Modal.Modal.Content, null, _react.default.createElement(FormPassCodeStyled, {
@@ -282,5 +285,7 @@ ModalLoginPassCode.defaultProps = {
282
285
  id: 'alife-login',
283
286
  hasError: false,
284
287
  errorMessage: '',
285
- title: 'Verifica tu cuenta'
288
+ title: 'Verifica tu cuenta',
289
+ onModalClose: function onModalClose() {},
290
+ onModalBack: function onModalBack() {}
286
291
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lideralia/alife-uikit",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
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": {