@lideralia/alife-uikit 1.2.19 → 1.2.21
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/atoms/Input/Input.js +3 -6
- package/dist/organisms/Cards/PersonalData.js +4 -4
- package/dist/organisms/Header/Header.js +1 -0
- package/dist/organisms/Modals/Cookies.js +0 -1
- package/dist/organisms/Modals/Login.js +0 -1
- package/dist/organisms/Modals/Register.js +1 -2
- package/dist/organisms/Navbar/Default/Navbar.js +0 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ var _styles = require("./styles");
|
|
|
23
23
|
|
|
24
24
|
var _Layout = require("../Layout");
|
|
25
25
|
|
|
26
|
-
var _excluded = ["borderless", "hasError", "placeholderMessage", "onChange"
|
|
26
|
+
var _excluded = ["borderless", "hasError", "placeholderMessage", "onChange"];
|
|
27
27
|
|
|
28
28
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
29
29
|
|
|
@@ -179,7 +179,6 @@ var InputMono = (0, _react.forwardRef)(function (props, ref) {
|
|
|
179
179
|
hasError = props.hasError,
|
|
180
180
|
placeholderMessage = props.placeholderMessage,
|
|
181
181
|
_onChange2 = props.onChange,
|
|
182
|
-
onKeyUp = props.onKeyUp,
|
|
183
182
|
rest = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
184
183
|
return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_styles.InputMonoContainerStyled, (0, _extends2.default)({
|
|
185
184
|
borderless: false,
|
|
@@ -195,13 +194,11 @@ var InputMono = (0, _react.forwardRef)(function (props, ref) {
|
|
|
195
194
|
marginX: "auto",
|
|
196
195
|
onChange: function onChange(e) {
|
|
197
196
|
return _onChange2 && _onChange2(e.target.name, e.target.value);
|
|
198
|
-
}
|
|
199
|
-
onKeyUp: onKeyUp
|
|
197
|
+
}
|
|
200
198
|
}))));
|
|
201
199
|
});
|
|
202
200
|
exports.InputMono = InputMono;
|
|
203
201
|
InputMono.defaultProps = {
|
|
204
202
|
borderless: false,
|
|
205
|
-
hasError: false
|
|
206
|
-
onKeyUp: null
|
|
203
|
+
hasError: false
|
|
207
204
|
};
|
|
@@ -200,8 +200,8 @@ CardPersonalData.Body = function (_ref3) {
|
|
|
200
200
|
onChange: function onChange(id, content) {
|
|
201
201
|
return handleChange(id, content);
|
|
202
202
|
},
|
|
203
|
-
id: "
|
|
204
|
-
name: "
|
|
203
|
+
id: "first_name",
|
|
204
|
+
name: "first_name",
|
|
205
205
|
sizeInput: "big",
|
|
206
206
|
defaultValue: name,
|
|
207
207
|
iconLeft: _react.default.createElement(_IconUser.default, null),
|
|
@@ -303,8 +303,8 @@ CardPersonalData.BodyEditMode = function (_ref4) {
|
|
|
303
303
|
onChange: function onChange(id, content) {
|
|
304
304
|
return handleChange(id, content);
|
|
305
305
|
},
|
|
306
|
-
id: "
|
|
307
|
-
name: "
|
|
306
|
+
id: "first_name",
|
|
307
|
+
name: "first_name",
|
|
308
308
|
sizeInput: "big",
|
|
309
309
|
defaultValue: name,
|
|
310
310
|
iconLeft: _react.default.createElement(_IconUser.default, null)
|
|
@@ -136,6 +136,7 @@ var Header = function Header(_ref, props) {
|
|
|
136
136
|
flexGrow: '1'
|
|
137
137
|
},
|
|
138
138
|
width: width > 390 ? '140px' : '85px',
|
|
139
|
+
maxWidth: width > 390 ? '300px' : '125px',
|
|
139
140
|
height: "48px"
|
|
140
141
|
}, logo), _react.default.createElement(_Layout.Box, null, _react.default.createElement(_Pill.Pill, {
|
|
141
142
|
style: {
|
|
@@ -122,7 +122,6 @@ var ModalCookies = function ModalCookies(_ref) {
|
|
|
122
122
|
gridTemplateRows: "1fr",
|
|
123
123
|
gridColumnGap: 3
|
|
124
124
|
}, _react.default.createElement(_Button.Button, {
|
|
125
|
-
id: "cookies-accept-button",
|
|
126
125
|
colorType: "orange",
|
|
127
126
|
action: function action() {
|
|
128
127
|
return onSubmit();
|
|
@@ -136,7 +136,6 @@ var ModalLogin = function ModalLogin(_ref) {
|
|
|
136
136
|
size: "invisible",
|
|
137
137
|
onChange: onChangeCaptcha
|
|
138
138
|
}), _react.default.createElement(_Button.Button, {
|
|
139
|
-
id: "main-login-button",
|
|
140
139
|
sizeButton: "big",
|
|
141
140
|
backgroundColor: customColor,
|
|
142
141
|
colorType: customColor || 'green',
|
|
@@ -232,8 +232,7 @@ var ModalRegister = function ModalRegister(_ref) {
|
|
|
232
232
|
color: "black60",
|
|
233
233
|
underline: true,
|
|
234
234
|
onClick: (_footer$action = footer.action) === null || _footer$action === void 0 ? void 0 : _footer$action.to,
|
|
235
|
-
href: null
|
|
236
|
-
id: "login-link-from-register"
|
|
235
|
+
href: null
|
|
237
236
|
}, (_footer$action2 = footer.action) === null || _footer$action2 === void 0 ? void 0 : _footer$action2.label))));
|
|
238
237
|
};
|
|
239
238
|
|
|
@@ -63,7 +63,6 @@ var Navbar = function Navbar(props) {
|
|
|
63
63
|
"data-testid": "test-Navbar"
|
|
64
64
|
}, props), navItems === null || navItems === void 0 ? void 0 : navItems.map(function (element, key) {
|
|
65
65
|
return _react.default.createElement(_Button.Button, {
|
|
66
|
-
id: "navbar-".concat(element.id),
|
|
67
66
|
key: "".concat(element.id, "-").concat(key),
|
|
68
67
|
action: function action(e) {
|
|
69
68
|
if (history && element.path) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lideralia/alife-uikit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.21",
|
|
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": {
|