contentoh-components-library 21.1.27 → 21.1.30
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/assets/images/sliderToolTip/slide21.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide22.svg +9 -0
- package/dist/assets/images/sliderToolTip/slide23.svg +9 -0
- package/dist/components/atoms/CheckBox/styles.js +1 -1
- package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +36 -0
- package/dist/components/atoms/ListCommercialRetailers/index.js +64 -0
- package/dist/components/atoms/ListCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +37 -0
- package/dist/components/atoms/MenuCommercialRetailers/index.js +25 -0
- package/dist/components/atoms/MenuCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +28 -0
- package/dist/components/atoms/MenuProductImage/index.js +88 -0
- package/dist/components/atoms/MenuProductImage/styles.js +20 -0
- package/dist/components/atoms/SliderToolTip/SliderToolTip.stories.js +67 -13
- package/dist/components/atoms/SliderToolTip/index.js +64 -134
- package/dist/components/atoms/SliderToolTip/styles.js +2 -2
- package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +44 -1
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +45 -48
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +30 -3
- package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +25 -0
- package/dist/components/molecules/ApproveRejetPanel/index.js +49 -0
- package/dist/components/molecules/ApproveRejetPanel/styles.js +18 -0
- package/dist/components/molecules/SignInLoginCreationApp/SignInLogin.stories.js +28 -0
- package/dist/components/molecules/SignInLoginCreationApp/index.js +270 -0
- package/dist/components/molecules/SignInLoginCreationApp/styles.js +20 -0
- package/dist/components/molecules/StatusAsignationInfo/index.js +29 -1
- package/dist/components/pages/ProviderProductEdition/index.js +106 -12
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +56 -65
- package/dist/components/pages/RetailerProductEdition/index.js +118 -8
- package/dist/global-files/global-styles.css +0 -1
- package/dist/index.js +38 -51
- package/package.json +1 -1
- package/src/assets/images/sliderToolTip/slide21.svg +9 -0
- package/src/assets/images/sliderToolTip/slide22.svg +9 -0
- package/src/assets/images/sliderToolTip/slide23.svg +9 -0
- package/src/components/atoms/CheckBox/styles.js +0 -1
- package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +77 -11
- package/src/components/atoms/SliderToolTip/index.js +91 -154
- package/src/components/atoms/SliderToolTip/styles.js +51 -22
- package/src/components/atoms/ValidationPanel/index.js +1 -1
- package/src/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +24 -1
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +37 -30
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +76 -18
- package/src/components/molecules/AvatarAndValidation/index.js +1 -1
- package/src/components/molecules/StatusAsignationInfo/index.js +31 -0
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +1 -1
- package/src/components/pages/ProviderProductEdition/index.js +113 -12
- package/src/components/pages/ProviderProductEdition/styles.js +1 -1
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +57 -68
- package/src/components/pages/RetailerProductEdition/index.js +103 -2
- package/src/index.js +0 -1
- package/dist/components/atoms/Percent/Percent.stories.js +0 -39
- package/dist/components/atoms/Percent/index.js +0 -39
- package/dist/components/atoms/Percent/styles.js +0 -20
- package/dist/components/molecules/TextAndGradient/TextAndGradient.stories.js +0 -31
- package/dist/components/molecules/TextAndGradient/index.js +0 -36
- package/dist/components/molecules/TextAndGradient/styles.js +0 -18
- package/src/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +0 -17
- package/src/components/pages/RegistrationLoginFirstStep/index.js +0 -160
- package/src/components/pages/RegistrationLoginFirstStep/styles.js +0 -85
package/src/index.js
CHANGED
|
@@ -22,7 +22,6 @@ export * from "./components/atoms/SliderToolTip/index";
|
|
|
22
22
|
export * from "./components/atoms/StatusTag/index";
|
|
23
23
|
export * from "./components/atoms/TabSection/index";
|
|
24
24
|
export * from "./components/atoms/ValidationPanel/index";
|
|
25
|
-
export * from "./components/atoms/VerticalSideMenuMainPage/index";
|
|
26
25
|
|
|
27
26
|
//molecules
|
|
28
27
|
export * from "./components/molecules/AvatarAndValidation/index";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = exports.PercentDefault = void 0;
|
|
9
|
-
|
|
10
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
-
|
|
12
|
-
var _index = require("./index");
|
|
13
|
-
|
|
14
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
|
|
16
|
-
var status = ["-", "Pr", "Rc", "As", "P", "QF", "AF", "AA", "AP", "AC", "RA", "RF", "RP", "RC", "Ex"];
|
|
17
|
-
var _default = {
|
|
18
|
-
title: "Components/atoms/Percent",
|
|
19
|
-
component: _index.Percent,
|
|
20
|
-
argTypes: {
|
|
21
|
-
statusType: {
|
|
22
|
-
options: status,
|
|
23
|
-
control: {
|
|
24
|
-
type: "select"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.default = _default;
|
|
30
|
-
|
|
31
|
-
var Template = function Template(args) {
|
|
32
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Percent, (0, _objectSpread2.default)({}, args));
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
var PercentDefault = Template.bind({});
|
|
36
|
-
exports.PercentDefault = PercentDefault;
|
|
37
|
-
PercentDefault.args = {
|
|
38
|
-
statusType: "-"
|
|
39
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.Percent = void 0;
|
|
9
|
-
|
|
10
|
-
var _styles = require("./styles");
|
|
11
|
-
|
|
12
|
-
var _polygon = _interopRequireDefault(require("../../../assets/images/arrow/polygon.svg"));
|
|
13
|
-
|
|
14
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
|
|
16
|
-
var Percent = function Percent(_ref) {
|
|
17
|
-
var statusType = _ref.statusType;
|
|
18
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
19
|
-
className: "status-".concat(statusType),
|
|
20
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
21
|
-
className: "text",
|
|
22
|
-
children: "Productos en proceso"
|
|
23
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
24
|
-
className: "percent-text",
|
|
25
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
26
|
-
className: "number",
|
|
27
|
-
children: "20"
|
|
28
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
29
|
-
src: _polygon.default,
|
|
30
|
-
alt: ""
|
|
31
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
32
|
-
className: "span",
|
|
33
|
-
children: "1%"
|
|
34
|
-
})]
|
|
35
|
-
})]
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
exports.Percent = Percent;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.Container = void 0;
|
|
9
|
-
|
|
10
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
11
|
-
|
|
12
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
-
|
|
14
|
-
var _variables = require("../../../global-files/variables");
|
|
15
|
-
|
|
16
|
-
var _templateObject;
|
|
17
|
-
|
|
18
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n border-radius: 7px;\n width: 97px;\n height: 83px;\n text-align: center;\n padding: 15px;\n\n &.status-Pr,\n &.status-Rc {\n border: 1px solid ", ";\n .span {\n color: ", ";\n }\n }\n &.status-- {\n border: 1px solid ", ";\n .span {\n color: ", ";\n }\n }\n\n &.status-As,\n &.status-P,\n &.status-QF {\n border: 1px solid ", ";\n .span {\n color: ", ";\n }\n }\n\n &.status-AF,\n &.status-AA,\n &.status-AP,\n &.status-AC {\n border: 1px solid ", ";\n .span {\n color: ", ";\n }\n }\n\n &.status-RA,\n &.status-RF,\n &.status-RP,\n &.status-RC {\n border: 1px solid #d74ded;\n .span {\n color: #d74ded;\n }\n }\n\n &.status-Ex {\n border: 1px solid ", ";\n .span {\n color: ", ";\n }\n }\n\n .text {\n color: ", ";\n font-size: 12px;\n font-family: ", ";\n line-height: 14px;\n }\n .percent-text {\n display: flex;\n .number {\n font-family: ", ";\n font-size: 28px;\n color: ", ";\n }\n .span{\n padding-top: 8px;\n font-size: 18px;\n }\n }\n"])), _variables.GlobalColors.reception, _variables.GlobalColors.reception, _variables.GlobalColors.s3, _variables.GlobalColors.s3, _variables.GlobalColors.in_progress, _variables.GlobalColors.in_progress, _variables.GlobalColors.finished, _variables.GlobalColors.finished, _variables.GlobalColors.exported, _variables.GlobalColors.exported, _variables.GlobalColors.s4, _variables.FontFamily.Raleway, _variables.FontFamily.AvenirNext, _variables.GlobalColors.s4);
|
|
19
|
-
|
|
20
|
-
exports.Container = Container;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = exports.TextAndGradientDefault = void 0;
|
|
9
|
-
|
|
10
|
-
var _index = require("./index");
|
|
11
|
-
|
|
12
|
-
var _Cadena = _interopRequireDefault(require("../../../assets/images/providerAndCadena/Cadena.svg"));
|
|
13
|
-
|
|
14
|
-
var _default = {
|
|
15
|
-
title: "Components/molecules/TextAndGradient",
|
|
16
|
-
component: _index.TextAndGradient
|
|
17
|
-
};
|
|
18
|
-
exports.default = _default;
|
|
19
|
-
|
|
20
|
-
var Template = function Template(args) {
|
|
21
|
-
return /*#__PURE__*/React.createElement(_index.TextAndGradient, args);
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
var TextAndGradientDefault = Template.bind({});
|
|
25
|
-
exports.TextAndGradientDefault = TextAndGradientDefault;
|
|
26
|
-
TextAndGradientDefault.args = {
|
|
27
|
-
title: "Beneficios de cadenas",
|
|
28
|
-
containerList: {
|
|
29
|
-
content: ["Crea proveedores y agregalos a tu cadena", "Valida los proveedores", "Solicita actualización a proveedores", "Analiza el número de productos totales"]
|
|
30
|
-
}
|
|
31
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TextAndGradient = void 0;
|
|
7
|
-
|
|
8
|
-
var _styles = require("./styles");
|
|
9
|
-
|
|
10
|
-
var _AtomList = require("../../atoms/AtomList");
|
|
11
|
-
|
|
12
|
-
var _ScreenHeader = require("../../atoms/ScreenHeader");
|
|
13
|
-
|
|
14
|
-
var _variables = require("../../../global-files/variables");
|
|
15
|
-
|
|
16
|
-
var TextAndGradient = function TextAndGradient(_ref) {
|
|
17
|
-
var title = _ref.title,
|
|
18
|
-
image = _ref.image,
|
|
19
|
-
containerList = _ref.containerList;
|
|
20
|
-
return /*#__PURE__*/React.createElement(_styles.Container, null, /*#__PURE__*/React.createElement("div", {
|
|
21
|
-
className: "title"
|
|
22
|
-
}, /*#__PURE__*/React.createElement(_ScreenHeader.ScreenHeader, {
|
|
23
|
-
className: "title",
|
|
24
|
-
headerType: "with-bold-text",
|
|
25
|
-
text: title,
|
|
26
|
-
color: _variables.GlobalColors.s1
|
|
27
|
-
})), image && /*#__PURE__*/React.createElement("img", {
|
|
28
|
-
src: image
|
|
29
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
30
|
-
className: "list"
|
|
31
|
-
}, /*#__PURE__*/React.createElement(_AtomList.AtomList, {
|
|
32
|
-
content: containerList.content
|
|
33
|
-
})));
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
exports.TextAndGradient = TextAndGradient;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.Container = void 0;
|
|
9
|
-
|
|
10
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
11
|
-
|
|
12
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
13
|
-
|
|
14
|
-
var _templateObject;
|
|
15
|
-
|
|
16
|
-
var Container = _styledComponents.default.button(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\n position: absolute;\n width: 720px;\n height: 720px;\n left: 0px;\n top: 0px;\n background: linear-gradient(180deg, #E33AA9 0%, #3B1366 100%);\n align-content: center;\n\n .title{\n position: absolute;\n width: 475px;\n height: 36px;\n left: 110px;\n top: 140px;\n letter-spacing: -0.015em;\n font-feature-settings: 'pnum' on, 'lnum' on;\n }\n .list{\n position: absolute;\n height: 160px;\n left: 180px;\n top: 219px;\n font-family: Raleway;\n font-style: normal;\n font-weight: 500;\n font-size: 18px;\n line-height: 40px;\n letter-spacing: -0.015em;\n text-align: left;\n \n }\n\n"])));
|
|
17
|
-
|
|
18
|
-
exports.Container = Container;
|
package/src/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { RegistrationLoginFirstStep } from "./index";
|
|
2
|
-
import LoginImage from "../../../assets/images/carouselImagesLogin/loginImage.svg";
|
|
3
|
-
import Login2 from "../../../assets/images/carouselImagesLogin/login2.svg";
|
|
4
|
-
import Login3 from "../../../assets/images/carouselImagesLogin/login3.svg";
|
|
5
|
-
|
|
6
|
-
export default {
|
|
7
|
-
title: "Components/pages/RegistrationLoginFirstStep",
|
|
8
|
-
component: RegistrationLoginFirstStep,
|
|
9
|
-
};
|
|
10
|
-
const Template = (args) => <RegistrationLoginFirstStep {...args} />;
|
|
11
|
-
|
|
12
|
-
export const RegistrationLoginFirstStepDefault = Template.bind({});
|
|
13
|
-
|
|
14
|
-
RegistrationLoginFirstStepDefault.args = {
|
|
15
|
-
imageArrayCarousel: [LoginImage, Login2, Login3],
|
|
16
|
-
textCarousel: "Elige la plataforma que conecta proovedores y retailers",
|
|
17
|
-
};
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { Container } from "./styles";
|
|
2
|
-
import { GradientPanel } from "../../atoms/GradientPanel";
|
|
3
|
-
import { CarouselImagesLogin } from "../../molecules/CarouselImagesLogin";
|
|
4
|
-
import { useState } from "react";
|
|
5
|
-
import { LogoImage } from "../../atoms/LogoImage";
|
|
6
|
-
import { ScreenHeader } from "../../atoms/ScreenHeader";
|
|
7
|
-
import { GlobalColors, FontFamily } from "../../../global-files/variables";
|
|
8
|
-
import { TagAndInput } from "../../molecules/TagAndInput";
|
|
9
|
-
import { Button } from "../../atoms/GeneralButton";
|
|
10
|
-
import { GeneralInput } from "../../atoms/GeneralInput";
|
|
11
|
-
|
|
12
|
-
export const RegistrationLoginFirstStep = ({
|
|
13
|
-
imageArrayCarousel = [],
|
|
14
|
-
textCarousel,
|
|
15
|
-
backogroundColorCarousel,
|
|
16
|
-
}) => {
|
|
17
|
-
const [emptyName, setEmptyName] = useState(false);
|
|
18
|
-
const [emptyLastName, setEmptyLastName] = useState(false);
|
|
19
|
-
const [emptyEmail, setEmptyEmail] = useState(false);
|
|
20
|
-
const [emptyJob, setEmptyJob] = useState(false);
|
|
21
|
-
const [emptyPhone, setEmptyPhone] = useState(false);
|
|
22
|
-
const [invalidEmail, setInvalidEmail] = useState(false);
|
|
23
|
-
|
|
24
|
-
const validate = async (e) => {
|
|
25
|
-
e.preventDefault();
|
|
26
|
-
const name = document.querySelector("#nameInput").value;
|
|
27
|
-
const lastName = document.querySelector("#lastNameInput").value;
|
|
28
|
-
const email = document.querySelector("#emailInput").value;
|
|
29
|
-
const job = document.querySelector("#jobInput").value;
|
|
30
|
-
const phone = document.querySelector("#phoneInput").value;
|
|
31
|
-
name === "" ? setEmptyName(true) : setEmptyName(false);
|
|
32
|
-
lastName === "" ? setEmptyLastName(true) : setEmptyLastName(false);
|
|
33
|
-
email === "" ? setEmptyEmail(true) : setEmptyEmail(false);
|
|
34
|
-
job === "" ? setEmptyJob(true) : setEmptyJob(false);
|
|
35
|
-
phone === "" ? setEmptyPhone(true) : setEmptyPhone(false);
|
|
36
|
-
!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(
|
|
37
|
-
email
|
|
38
|
-
)
|
|
39
|
-
? setInvalidEmail(true)
|
|
40
|
-
: setInvalidEmail(false);
|
|
41
|
-
};
|
|
42
|
-
const loginRight = [
|
|
43
|
-
<LogoImage key="1" />,
|
|
44
|
-
<div className="credenciales" key={"2"}>
|
|
45
|
-
<ScreenHeader
|
|
46
|
-
fontFamily={FontFamily.AvenirNext}
|
|
47
|
-
color={GlobalColors.s5}
|
|
48
|
-
text={"Ingresa tus credenciales"}
|
|
49
|
-
/>
|
|
50
|
-
</div>,
|
|
51
|
-
<div className="user" key="3">
|
|
52
|
-
<div className="name-registration-user">
|
|
53
|
-
<TagAndInput
|
|
54
|
-
inputType={"text"}
|
|
55
|
-
inputId={"nameInput"}
|
|
56
|
-
label={"Nombre"}
|
|
57
|
-
inputPlaceHolder={"Nombre"}
|
|
58
|
-
/>
|
|
59
|
-
<TagAndInput
|
|
60
|
-
inputType={"text"}
|
|
61
|
-
inputId={"lastNameInput"}
|
|
62
|
-
label={"Apellido"}
|
|
63
|
-
inputPlaceHolder={"Apellido"}
|
|
64
|
-
/>
|
|
65
|
-
</div>
|
|
66
|
-
{emptyName && <label>Ingrese su nombre</label>}
|
|
67
|
-
{emptyLastName && <label>Ingrese sus apellidos</label>}
|
|
68
|
-
<TagAndInput
|
|
69
|
-
inputType={"text"}
|
|
70
|
-
inputId={"emailInput"}
|
|
71
|
-
label={"Correo electrónico"}
|
|
72
|
-
inputPlaceHolder={"username@contentoh.com"}
|
|
73
|
-
/>
|
|
74
|
-
{emptyEmail && <label>Ingrese su correo</label>}
|
|
75
|
-
{invalidEmail && !emptyEmail && <label>Ingrese un correo válido</label>}
|
|
76
|
-
<TagAndInput
|
|
77
|
-
inputType={"text"}
|
|
78
|
-
inputId={"jobInput"}
|
|
79
|
-
label={"Puesto laboral"}
|
|
80
|
-
inputPlaceHolder={"Puesto dentro de la empresa"}
|
|
81
|
-
/>
|
|
82
|
-
{emptyJob && <label>Ingrese su puesto</label>}
|
|
83
|
-
<ScreenHeader text={"Teléfono"} headerType={"input-name-header"} />
|
|
84
|
-
<div className="phone-registration-user">
|
|
85
|
-
<select name="select" className="phone-options">
|
|
86
|
-
<option>+52</option>
|
|
87
|
-
<option>+54</option>
|
|
88
|
-
<option>+57</option>
|
|
89
|
-
<option>+506</option>
|
|
90
|
-
<option>+593</option>
|
|
91
|
-
<option>+503</option>
|
|
92
|
-
<option>+504</option>
|
|
93
|
-
<option>+507</option>
|
|
94
|
-
<option>+51</option>
|
|
95
|
-
</select>
|
|
96
|
-
<GeneralInput
|
|
97
|
-
inputId={"phoneInput"}
|
|
98
|
-
inputType={"text"}
|
|
99
|
-
inputPlaceholder={"Teléfono"}
|
|
100
|
-
/>
|
|
101
|
-
</div>
|
|
102
|
-
{emptyPhone && <label>Ingrese su número de teléfono</label>}
|
|
103
|
-
<ScreenHeader text={"País"} headerType={"input-name-header"} />
|
|
104
|
-
<select name="select" className="country-options">
|
|
105
|
-
<option value="value1" selected>
|
|
106
|
-
Selecciona tu país
|
|
107
|
-
</option>
|
|
108
|
-
<option value="value2">Argentina</option>
|
|
109
|
-
<option value="value3">Colombia</option>
|
|
110
|
-
<option value="value2">Ecuador</option>
|
|
111
|
-
<option value="value3">El Salvador</option>
|
|
112
|
-
<option value="value2">Honduras</option>
|
|
113
|
-
<option value="value3">México</option>
|
|
114
|
-
<option value="value2">Panamá</option>
|
|
115
|
-
<option value="value3">Perú</option>
|
|
116
|
-
</select>
|
|
117
|
-
{emptyEmail && <label>Seleccione su país</label>}
|
|
118
|
-
</div>,
|
|
119
|
-
<div className="button-end" key="4">
|
|
120
|
-
<Button
|
|
121
|
-
buttonType={"general-default-button"}
|
|
122
|
-
label={"Enviar"}
|
|
123
|
-
onClick={(e) => validate(e)}
|
|
124
|
-
/>
|
|
125
|
-
</div>,
|
|
126
|
-
<div className="progress-bar" key="5">
|
|
127
|
-
<div className="progress-bar-first-step"></div>
|
|
128
|
-
<div className="progress-bar-registration"></div>
|
|
129
|
-
</div>,
|
|
130
|
-
<ScreenHeader
|
|
131
|
-
text={"Paso 1"}
|
|
132
|
-
headerType={"date-header"}
|
|
133
|
-
color={GlobalColors.s4}
|
|
134
|
-
key="6"
|
|
135
|
-
/>,
|
|
136
|
-
<div className="new-login" key="7">
|
|
137
|
-
<p className="pre-registro">
|
|
138
|
-
¿Ya tienes una cuenta?<span> Inicia Sesión</span>
|
|
139
|
-
</p>
|
|
140
|
-
</div>,
|
|
141
|
-
];
|
|
142
|
-
return (
|
|
143
|
-
<Container>
|
|
144
|
-
<div className="home-retailer">
|
|
145
|
-
<CarouselImagesLogin
|
|
146
|
-
panelImg={imageArrayCarousel}
|
|
147
|
-
panelText={textCarousel}
|
|
148
|
-
panelColor={backogroundColorCarousel}
|
|
149
|
-
/>
|
|
150
|
-
</div>
|
|
151
|
-
<div className="home-login-retailer">
|
|
152
|
-
<GradientPanel
|
|
153
|
-
componentsArray={loginRight}
|
|
154
|
-
panelType={"home-login"}
|
|
155
|
-
panelColor={GlobalColors.white}
|
|
156
|
-
/>
|
|
157
|
-
</div>
|
|
158
|
-
</Container>
|
|
159
|
-
);
|
|
160
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
3
|
-
|
|
4
|
-
export const Container = styled.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100vh;
|
|
8
|
-
.user {
|
|
9
|
-
.name-registration-user {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
input {
|
|
13
|
-
width: 160px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.input-name-header {
|
|
17
|
-
margin-bottom: 4px;
|
|
18
|
-
margin-top: 12px;
|
|
19
|
-
}
|
|
20
|
-
.phone-registration-user {
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: space-between;
|
|
23
|
-
.phone-options {
|
|
24
|
-
width: 80px;
|
|
25
|
-
}
|
|
26
|
-
input {
|
|
27
|
-
width: 100%;
|
|
28
|
-
}
|
|
29
|
-
& + * {
|
|
30
|
-
margin-top: 10px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.country-options,
|
|
34
|
-
.phone-options {
|
|
35
|
-
width: 100%;
|
|
36
|
-
border: 1px solid ${GlobalColors.s2};
|
|
37
|
-
font-family: ${FontFamily.AvenirNext};
|
|
38
|
-
color: ${GlobalColors.s4};
|
|
39
|
-
font-weight: normal;
|
|
40
|
-
font-size: 12px;
|
|
41
|
-
line-height: 15px;
|
|
42
|
-
padding: 10px;
|
|
43
|
-
outline: none;
|
|
44
|
-
border-radius: 2px;
|
|
45
|
-
resize: none;
|
|
46
|
-
&:focus {
|
|
47
|
-
border: 1px solid ${GlobalColors.magenta_s2};
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.button-end {
|
|
52
|
-
text-align: end;
|
|
53
|
-
.general-default-button {
|
|
54
|
-
width: 160px;
|
|
55
|
-
}
|
|
56
|
-
& + * {
|
|
57
|
-
margin-top: 10px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.progress-bar {
|
|
61
|
-
width: 100%;
|
|
62
|
-
height: 8px;
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: space-between;
|
|
65
|
-
.progress-bar-first-step {
|
|
66
|
-
width: 33.33%;
|
|
67
|
-
background-color: rgb(196, 196, 196);
|
|
68
|
-
}
|
|
69
|
-
.progress-bar-registration {
|
|
70
|
-
background-color: rgb(226, 226, 226);
|
|
71
|
-
width: 66.66%;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
.date-header {
|
|
75
|
-
.new-login {
|
|
76
|
-
& + * {
|
|
77
|
-
margin-top: 20px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.home-login-retailer,
|
|
82
|
-
.home-retailer {
|
|
83
|
-
width: 50%;
|
|
84
|
-
}
|
|
85
|
-
`;
|