contentoh-components-library 21.0.74 → 21.0.75
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/.env.development +4 -2
- package/.env.production +4 -2
- package/CHANGELOG.md +39 -0
- package/dist/components/atoms/GeneralInput/index.js +4 -3
- package/dist/components/atoms/GradientPanel/styles.js +1 -1
- package/dist/components/atoms/Loading/Loading.stories.js +28 -0
- package/dist/components/atoms/Loading/index.js +1 -0
- package/dist/components/atoms/LogoImage/index.js +1 -0
- package/dist/components/atoms/SliderToolTip/SliderToolTip.stories.js +47 -0
- package/dist/components/atoms/SliderToolTip/index.js +200 -0
- package/dist/components/atoms/SliderToolTip/styles.js +24 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +28 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +99 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/styles.js +24 -0
- package/dist/components/molecules/CarouselImagesLogin/index.js +40 -42
- package/dist/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +28 -0
- package/dist/components/molecules/EmailResetPasswordLogin/index.js +153 -0
- package/dist/components/molecules/EmailResetPasswordLogin/styles.js +20 -0
- package/dist/components/molecules/LoginPasswordStrength/index.js +9 -9
- package/dist/components/molecules/LoginPasswordStrength/styles.js +1 -1
- package/dist/components/molecules/LogoLoading/Loading.stories.js +28 -0
- package/dist/components/molecules/LogoLoading/index.js +22 -0
- package/dist/components/molecules/LogoLoading/styles.js +18 -0
- package/dist/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationFirstStep/index.js +308 -0
- package/dist/components/molecules/RegistrationFirstStep/styles.js +20 -0
- package/dist/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationSecondStep/index.js +173 -0
- package/dist/components/molecules/RegistrationSecondStep/styles.js +20 -0
- package/dist/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationThirdStep/index.js +155 -0
- package/dist/components/molecules/RegistrationThirdStep/styles.js +20 -0
- package/dist/components/molecules/SignInLogin/SignInLogin.stories.js +28 -0
- package/dist/components/molecules/SignInLogin/index.js +315 -0
- package/dist/components/molecules/SignInLogin/styles.js +20 -0
- package/dist/components/molecules/TagAndInput/index.js +4 -2
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +28 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/index.js +211 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/styles.js +20 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/utils.js +69 -0
- package/dist/components/organisms/ChangePassword/ChangePassword.stories.js +28 -0
- package/dist/components/organisms/ChangePassword/index.js +124 -0
- package/dist/components/organisms/ChangePassword/styles.js +18 -0
- package/dist/index.js +290 -30
- package/package.json +12 -4
- package/src/assets/images/editField/showPassword.png +0 -0
- package/src/assets/images/sliderToolTip/infoIcon.svg +4 -0
- package/src/assets/images/sliderToolTip/slide1.svg +5 -0
- package/src/assets/images/sliderToolTip/slide2.svg +9 -0
- package/src/assets/images/sliderToolTip/slide3.svg +9 -0
- package/src/assets/images/sliderToolTip/slide4.svg +9 -0
- package/src/assets/images/sliderToolTip/slide5.svg +40 -0
- package/src/assets/images/verticalSideMenuMainPage/closeMenu.svg +4 -0
- package/src/assets/images/verticalSideMenuMainPage/iconFAQS.svg +12 -0
- package/src/assets/images/verticalSideMenuMainPage/iconGroup.svg +3 -0
- package/src/assets/images/verticalSideMenuMainPage/iconLogo.svg +12 -0
- package/src/assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg +15 -0
- package/src/assets/images/verticalSideMenuMainPage/iconProduct.svg +3 -0
- package/src/assets/images/verticalSideMenuMainPage/iconSpeedometer.svg +12 -0
- package/src/assets/images/verticalSideMenuMainPage/iconTask.svg +10 -0
- package/src/assets/images/verticalSideMenuMainPage/openMenu.svg +4 -0
- package/src/components/atoms/GeneralInput/index.js +3 -2
- package/src/components/atoms/GradientPanel/styles.js +1 -0
- package/src/components/atoms/Loading/Loading.stories.js +10 -0
- package/src/components/atoms/Loading/index.js +3 -2
- package/src/components/atoms/LogoImage/index.js +1 -1
- package/src/components/atoms/SliderToolTip/SliderToolTip.stories.js +23 -0
- package/src/components/atoms/SliderToolTip/index.js +182 -0
- package/src/components/atoms/SliderToolTip/styles.js +168 -0
- package/src/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +12 -0
- package/src/components/atoms/VerticalSideMenuMainPage/index.js +55 -0
- package/src/components/atoms/VerticalSideMenuMainPage/styles.js +45 -0
- package/src/components/molecules/CarouselImagesLogin/index.js +34 -37
- package/src/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +11 -0
- package/src/components/molecules/EmailResetPasswordLogin/index.js +85 -0
- package/src/components/molecules/EmailResetPasswordLogin/styles.js +23 -0
- package/src/components/molecules/LoginPasswordStrength/index.js +11 -6
- package/src/components/molecules/LoginPasswordStrength/styles.js +5 -1
- package/src/components/molecules/LogoLoading/Loading.stories.js +10 -0
- package/src/components/molecules/LogoLoading/index.js +12 -0
- package/src/components/molecules/LogoLoading/styles.js +16 -0
- package/src/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +11 -0
- package/src/components/molecules/RegistrationFirstStep/index.js +227 -0
- package/src/components/molecules/RegistrationFirstStep/styles.js +87 -0
- package/src/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +11 -0
- package/src/components/molecules/RegistrationSecondStep/index.js +136 -0
- package/src/components/molecules/RegistrationSecondStep/styles.js +64 -0
- package/src/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +11 -0
- package/src/components/molecules/RegistrationThirdStep/index.js +130 -0
- package/src/components/molecules/RegistrationThirdStep/styles.js +44 -0
- package/src/components/molecules/SignInLogin/SignInLogin.stories.js +11 -0
- package/src/components/molecules/SignInLogin/index.js +226 -0
- package/src/components/molecules/SignInLogin/styles.js +120 -0
- package/src/components/molecules/TagAndInput/index.js +2 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +11 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/index.js +171 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/styles.js +54 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/utils.js +54 -0
- package/src/components/organisms/ChangePassword/ChangePassword.stories.js +11 -0
- package/src/components/organisms/ChangePassword/index.js +77 -0
- package/src/components/organisms/ChangePassword/styles.js +13 -0
- package/src/index.js +21 -1
package/.env.development
CHANGED
|
@@ -17,6 +17,8 @@ REACT_APP_CART = https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/cart
|
|
|
17
17
|
REACT_APP_RETAILER_REQUEST = https://lqrc8jfjqi.execute-api.us-east-1.amazonaws.com/dev/retailers-request
|
|
18
18
|
|
|
19
19
|
REACT_APP_IMAGES_BUCKET=content-management-images
|
|
20
|
-
REACT_APP_IMAGES_PROFILE_BUCKET=content-management-profile
|
|
21
20
|
REACT_APP_KEY_UPLOAD_TO_S3=AKIA5CPHLQTT46EQ5TIK
|
|
22
|
-
|
|
21
|
+
REACT_APP_IMAGES_PROFILE_BUCKET=content-management-profile
|
|
22
|
+
REACT_APP_ACCESS_KEY_UPLOAD_TO_S3=tZDdrmvwxM1cScspfxFM3XpU4HSYrCNPazyHd0BL
|
|
23
|
+
REACT_APP_USER_POOL_ID=us-east-1_XMZQdqkGj
|
|
24
|
+
REACT_APP_USER_POOL_WEB_CLIENT_ID=5ac8tpgs6gbsq13frvrpieep40
|
package/.env.production
CHANGED
|
@@ -17,6 +17,8 @@ REACT_APP_CART = https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/car
|
|
|
17
17
|
REACT_APP_RETAILER_REQUEST = https://6jqnpjf841.execute-api.us-east-1.amazonaws.com/prod/retailers-request
|
|
18
18
|
|
|
19
19
|
REACT_APP_IMAGES_BUCKET=content-management-images-prod
|
|
20
|
-
REACT_APP_IMAGES_PROFILE_BUCKET=content-management-profile-prod
|
|
21
20
|
REACT_APP_KEY_UPLOAD_TO_S3=AKIA5CPHLQTT46EQ5TIK
|
|
22
|
-
|
|
21
|
+
REACT_APP_IMAGES_PROFILE_BUCKET=content-management-profile-prod
|
|
22
|
+
REACT_APP_ACCESS_KEY_UPLOAD_TO_S3=tZDdrmvwxM1cScspfxFM3XpU4HSYrCNPazyHd0BL
|
|
23
|
+
REACT_APP_USER_POOL_ID=us-east-1_XMZQdqkGj
|
|
24
|
+
REACT_APP_USER_POOL_WEB_CLIENT_ID=5ac8tpgs6gbsq13frvrpieep40
|
package/CHANGELOG.md
CHANGED
|
@@ -35,6 +35,45 @@
|
|
|
35
35
|
- [@MrArthuro](https://github.com/MrArthuro)
|
|
36
36
|
- Elizabeth Inda Olvera (elizabethindaolvera@Elizabeths-MacBook-Air.local)
|
|
37
37
|
- Ismael López ([@IsmaelLopez0](https://github.com/IsmaelLopez0))
|
|
38
|
+
# v21.0.19 (Tue May 03 2022)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
# v21.0.19 (Tue May 03 2022)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
# v21.0.19 (Tue May 03 2022)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
# v21.0.17 (Tue May 03 2022)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
# v21.0.17 (Tue May 03 2022)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
# v21.0.17 (Tue May 03 2022)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
# v21.0.17 (Tue May 03 2022)
|
|
75
|
+
|
|
76
|
+
|
|
38
77
|
|
|
39
78
|
---
|
|
40
79
|
|
|
@@ -36,7 +36,8 @@ var GeneralInput = function GeneralInput(_ref) {
|
|
|
36
36
|
setUpdatedDescriptions = _ref.setUpdatedDescriptions,
|
|
37
37
|
maxChar = _ref.maxChar,
|
|
38
38
|
isRequired = _ref.isRequired,
|
|
39
|
-
version = _ref.version
|
|
39
|
+
version = _ref.version,
|
|
40
|
+
required = _ref.required;
|
|
40
41
|
|
|
41
42
|
var _useState = (0, _react.useState)({
|
|
42
43
|
value: inputValue
|
|
@@ -108,8 +109,8 @@ var GeneralInput = function GeneralInput(_ref) {
|
|
|
108
109
|
onInput: function onInput(e) {
|
|
109
110
|
return onHandleChange(e);
|
|
110
111
|
},
|
|
111
|
-
required: isRequired,
|
|
112
|
-
maxLength: maxChar
|
|
112
|
+
required: isRequired || required,
|
|
113
|
+
maxLength: maxChar || maxLength
|
|
113
114
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputFormatter.InputFormatter, {
|
|
114
115
|
name: inputName,
|
|
115
116
|
inputId: inputId,
|
|
@@ -15,7 +15,7 @@ var _variables = require("../../../global-files/variables");
|
|
|
15
15
|
|
|
16
16
|
var _templateObject;
|
|
17
17
|
|
|
18
|
-
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n align-items: center;\n label {\n color: red;\n margin-top: 3px;\n margin-left: 15px;\n font-family: ", ";\n font-size: 11px;\n }\n &.home-panel {\n text-align: center;\n h2 {\n & + * {\n margin-top: 20px;\n }\n }\n p {\n font-family: ", ";\n color: ", ";\n font-size: 18px;\n line-height: 21px;\n letter-spacing: -0.015em;\n & + * {\n margin-top: 20px;\n }\n }\n }\n\n &.home-login {\n .credenciales {\n & + * {\n margin-top: 30px;\n }\n }\n .user {\n & + * {\n margin-top: 20px;\n }\n }\n .password {\n & + * {\n margin-top: 20px;\n }\n }\n .select {\n display: flex;\n justify-content: space-between;\n .active-right {\n font-family: ", ";\n font-weight: 500;\n font-size: 13px;\n line-height: 24px;\n letter-spacing: -0.015em;\n color: ", ";\n }\n & + * {\n margin-top: 50px;\n }\n }\n .button-right {\n text-align: right;\n & + * {\n margin-top: 55px;\n }\n }\n .new-login {\n p {\n font-family: ", ";\n text-align: right;\n font-weight: 500;\n font-size: 13px;\n line-height: 24px;\n color: ", ";\n span {\n color: ", ";\n }\n }\n }\n }\n &.home-card {\n position: relative;\n .plan {\n text-align: center;\n & + * {\n margin-top: 40px;\n }\n }\n .arrowimage {\n position: absolute;\n top: 50px;\n left: 40px;\n }\n .general-text {\n font-family: ", ";\n font-size: 14px;\n line-height: 19px;\n text-align: center;\n letter-spacing: -0.015em;\n & + * {\n margin-top: 50px;\n }\n }\n .payment-register {\n & + * {\n margin-top: 50px;\n }\n }\n .button-continuar {\n text-align: center;\n & + * {\n margin-top: 35px;\n }\n }\n .continue {\n text-align: center;\n font-family: ", ";\n font-size: 14px;\n line-height: 19px;\n letter-spacing: -0.015em;\n text-decoration-line: underline;\n color: ", ";\n }\n }\n .main-container{\n max-width: 80%;\n max-height: 80%;\n }\n"])), function (_ref) {
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n align-items: center;\n label {\n color: red;\n margin-top: 3px;\n margin-left: 15px;\n font-family: ", ";\n font-size: 11px;\n }\n &.home-panel {\n text-align: center;\n h2 {\n & + * {\n margin-top: 20px;\n }\n }\n p {\n font-family: ", ";\n color: ", ";\n font-size: 18px;\n line-height: 21px;\n letter-spacing: -0.015em;\n & + * {\n margin-top: 20px;\n }\n }\n }\n\n &.home-login {\n width: 100%;\n .credenciales {\n & + * {\n margin-top: 30px;\n }\n }\n .user {\n & + * {\n margin-top: 20px;\n }\n }\n .password {\n & + * {\n margin-top: 20px;\n }\n }\n .select {\n display: flex;\n justify-content: space-between;\n .active-right {\n font-family: ", ";\n font-weight: 500;\n font-size: 13px;\n line-height: 24px;\n letter-spacing: -0.015em;\n color: ", ";\n }\n & + * {\n margin-top: 50px;\n }\n }\n .button-right {\n text-align: right;\n & + * {\n margin-top: 55px;\n }\n }\n .new-login {\n p {\n font-family: ", ";\n text-align: right;\n font-weight: 500;\n font-size: 13px;\n line-height: 24px;\n color: ", ";\n span {\n color: ", ";\n }\n }\n }\n }\n &.home-card {\n position: relative;\n .plan {\n text-align: center;\n & + * {\n margin-top: 40px;\n }\n }\n .arrowimage {\n position: absolute;\n top: 50px;\n left: 40px;\n }\n .general-text {\n font-family: ", ";\n font-size: 14px;\n line-height: 19px;\n text-align: center;\n letter-spacing: -0.015em;\n & + * {\n margin-top: 50px;\n }\n }\n .payment-register {\n & + * {\n margin-top: 50px;\n }\n }\n .button-continuar {\n text-align: center;\n & + * {\n margin-top: 35px;\n }\n }\n .continue {\n text-align: center;\n font-family: ", ";\n font-size: 14px;\n line-height: 19px;\n letter-spacing: -0.015em;\n text-decoration-line: underline;\n color: ", ";\n }\n }\n .main-container{\n max-width: 80%;\n max-height: 80%;\n }\n"])), function (_ref) {
|
|
19
19
|
var panelColor = _ref.panelColor;
|
|
20
20
|
return panelColor ? panelColor : "linear-gradient(180deg, #E33AA9 0%, #3B1366 100%)";
|
|
21
21
|
}, _variables.FontFamily.Raleway_700, _variables.FontFamily.AvenirNext, function (_ref2) {
|
|
@@ -0,0 +1,28 @@
|
|
|
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.LoadingDefault = 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 _default = {
|
|
17
|
+
title: "Components/atoms/Loading",
|
|
18
|
+
component: _index.Loading
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
21
|
+
|
|
22
|
+
var Template = function Template(args) {
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.Loading, (0, _objectSpread2.default)({}, args));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
var LoadingDefault = Template.bind({});
|
|
27
|
+
exports.LoadingDefault = LoadingDefault;
|
|
28
|
+
LoadingDefault.args = {};
|
|
@@ -11,6 +11,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
11
11
|
|
|
12
12
|
var Loading = function Loading() {
|
|
13
13
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
14
|
+
className: "loading",
|
|
14
15
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Loader, {
|
|
15
16
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
16
17
|
className: "first"
|
|
@@ -15,6 +15,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
15
15
|
|
|
16
16
|
var LogoImage = function LogoImage() {
|
|
17
17
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
|
|
18
|
+
className: "logo",
|
|
18
19
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
19
20
|
src: _logoLogin.default,
|
|
20
21
|
alt: "logo"
|
|
@@ -0,0 +1,47 @@
|
|
|
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.SliderToolTipDefault = void 0;
|
|
9
|
+
|
|
10
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
11
|
+
|
|
12
|
+
var _index = require("./index");
|
|
13
|
+
|
|
14
|
+
var _infoIcon = _interopRequireDefault(require("../../../assets/images/sliderToolTip/infoIcon.svg"));
|
|
15
|
+
|
|
16
|
+
var _slide = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide1.svg"));
|
|
17
|
+
|
|
18
|
+
var _slide2 = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide2.svg"));
|
|
19
|
+
|
|
20
|
+
var _slide3 = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide3.svg"));
|
|
21
|
+
|
|
22
|
+
var _slide4 = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide4.svg"));
|
|
23
|
+
|
|
24
|
+
var _slide5 = _interopRequireDefault(require("../../../assets/images/sliderToolTip/slide5.svg"));
|
|
25
|
+
|
|
26
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
27
|
+
|
|
28
|
+
var _default = {
|
|
29
|
+
title: "Components/atoms/SliderToolTip",
|
|
30
|
+
component: _index.SliderToolTip
|
|
31
|
+
};
|
|
32
|
+
exports.default = _default;
|
|
33
|
+
|
|
34
|
+
var Template = function Template(args) {
|
|
35
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.SliderToolTip, (0, _objectSpread2.default)({}, args));
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
var SliderToolTipDefault = Template.bind({});
|
|
39
|
+
exports.SliderToolTipDefault = SliderToolTipDefault;
|
|
40
|
+
SliderToolTipDefault.args = {
|
|
41
|
+
InfoIcon: _infoIcon.default,
|
|
42
|
+
Slide1: _slide.default,
|
|
43
|
+
Slide2: _slide2.default,
|
|
44
|
+
Slide3: _slide3.default,
|
|
45
|
+
Slide4: _slide4.default,
|
|
46
|
+
Slide5: _slide5.default
|
|
47
|
+
};
|
|
@@ -0,0 +1,200 @@
|
|
|
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.SliderToolTip = void 0;
|
|
9
|
+
|
|
10
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
11
|
+
|
|
12
|
+
var _styles = require("./styles");
|
|
13
|
+
|
|
14
|
+
var _react = require("react");
|
|
15
|
+
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
|
|
18
|
+
var SliderToolTip = function SliderToolTip(_ref) {
|
|
19
|
+
var InfoIcon = _ref.InfoIcon,
|
|
20
|
+
Slide1 = _ref.Slide1,
|
|
21
|
+
Slide2 = _ref.Slide2,
|
|
22
|
+
Slide3 = _ref.Slide3,
|
|
23
|
+
Slide4 = _ref.Slide4,
|
|
24
|
+
Slide5 = _ref.Slide5;
|
|
25
|
+
|
|
26
|
+
var _useState = (0, _react.useState)(false),
|
|
27
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
28
|
+
showMenu = _useState2[0],
|
|
29
|
+
setShowMenu = _useState2[1];
|
|
30
|
+
|
|
31
|
+
var closeMenu = function closeMenu(e) {
|
|
32
|
+
if (!e.target.closest("#div-slider") && showMenu) {
|
|
33
|
+
document.removeEventListener("click", closeMenu, false);
|
|
34
|
+
setShowMenu(false);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
(0, _react.useEffect)(function () {
|
|
39
|
+
if (showMenu) {
|
|
40
|
+
document.addEventListener("click", closeMenu, false);
|
|
41
|
+
}
|
|
42
|
+
}, [showMenu]);
|
|
43
|
+
|
|
44
|
+
var color = function color(id) {
|
|
45
|
+
if (id === "slidea1") {
|
|
46
|
+
document.getElementById("slidea1").style.backgroundColor = "#E33AA9";
|
|
47
|
+
document.getElementById("slidea2").style.backgroundColor = "#C4C4C4";
|
|
48
|
+
document.getElementById("slidea3").style.backgroundColor = "#C4C4C4";
|
|
49
|
+
document.getElementById("slidea4").style.backgroundColor = "#C4C4C4";
|
|
50
|
+
document.getElementById("slidea5").style.backgroundColor = "#C4C4C4";
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (id === "slidea2") {
|
|
54
|
+
document.getElementById("slidea1").style.backgroundColor = "#FAFAFA";
|
|
55
|
+
document.getElementById("slidea2").style.backgroundColor = "#E33AA9";
|
|
56
|
+
document.getElementById("slidea3").style.backgroundColor = "#C4C4C4";
|
|
57
|
+
document.getElementById("slidea4").style.backgroundColor = "#C4C4C4";
|
|
58
|
+
document.getElementById("slidea5").style.backgroundColor = "#C4C4C4";
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (id === "slidea3") {
|
|
62
|
+
document.getElementById("slidea1").style.backgroundColor = "#FAFAFA";
|
|
63
|
+
document.getElementById("slidea2").style.backgroundColor = "#FAFAFA";
|
|
64
|
+
document.getElementById("slidea3").style.backgroundColor = "#E33AA9";
|
|
65
|
+
document.getElementById("slidea4").style.backgroundColor = "#C4C4C4";
|
|
66
|
+
document.getElementById("slidea5").style.backgroundColor = "#C4C4C4";
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (id === "slidea4") {
|
|
70
|
+
document.getElementById("slidea1").style.backgroundColor = "#FAFAFA";
|
|
71
|
+
document.getElementById("slidea2").style.backgroundColor = "#FAFAFA";
|
|
72
|
+
document.getElementById("slidea3").style.backgroundColor = "#FAFAFA";
|
|
73
|
+
document.getElementById("slidea4").style.backgroundColor = "#E33AA9";
|
|
74
|
+
document.getElementById("slidea5").style.backgroundColor = "#C4C4C4";
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (id === "slidea5") {
|
|
78
|
+
document.getElementById("button-slide").style.display = "flex";
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
83
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
84
|
+
className: "container-slider",
|
|
85
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
86
|
+
src: InfoIcon,
|
|
87
|
+
alt: "info icon",
|
|
88
|
+
onClick: function onClick(e) {
|
|
89
|
+
setShowMenu(!showMenu);
|
|
90
|
+
|
|
91
|
+
if (showMenu) {
|
|
92
|
+
document.removeEventListener("click", closeMenu, false);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}), showMenu && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Slider, {
|
|
96
|
+
id: "div-slider",
|
|
97
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("ul", {
|
|
98
|
+
className: "slider",
|
|
99
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
100
|
+
id: "slide1",
|
|
101
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
102
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
103
|
+
src: Slide1
|
|
104
|
+
})
|
|
105
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
106
|
+
children: "Creamos tu contenido, y todo lo que haga falta para tu producto, cada secci\xF3n puedes socilitar contenido enriquecido, y nosotros lo haremos por ti."
|
|
107
|
+
})]
|
|
108
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
109
|
+
id: "slide2",
|
|
110
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
111
|
+
src: Slide2
|
|
112
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
113
|
+
children: "Puedes agregar solicitudes de contenido enriquecido a tu carrito de compra las veces que sean necesarias. Una vez completada tu lista con los servicios necesitados sigue el proceso de compra en checkout."
|
|
114
|
+
})]
|
|
115
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
116
|
+
id: "slide3",
|
|
117
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
118
|
+
src: Slide3
|
|
119
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
120
|
+
children: "Revisa el contenido que deseas solicilitar, valida y tambien puedes agregar contenido extra, traducciones, o simplemente completar el checkout."
|
|
121
|
+
})]
|
|
122
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
123
|
+
id: "slide4",
|
|
124
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
125
|
+
src: Slide4
|
|
126
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
127
|
+
children: "Elige el tipo de entrega de tu producto, puedes ser recolecci\xF3n en el lugar o por el contrario puedes dejarlo en nuestras oficinas."
|
|
128
|
+
})]
|
|
129
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
|
|
130
|
+
id: "slide5",
|
|
131
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
132
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
133
|
+
src: Slide5
|
|
134
|
+
})
|
|
135
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
136
|
+
className: "lema-end",
|
|
137
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
138
|
+
children: "Finalmente elige la forma de pago que m\xE1s te guste, procede con el pago y listo."
|
|
139
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
140
|
+
children: "Bienvenido al modo Content-oh!"
|
|
141
|
+
})]
|
|
142
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
143
|
+
id: "button-slide",
|
|
144
|
+
onClick: function onClick(e) {
|
|
145
|
+
document.removeEventListener("click", closeMenu, false);
|
|
146
|
+
setShowMenu(false);
|
|
147
|
+
},
|
|
148
|
+
children: "Cerrar"
|
|
149
|
+
})]
|
|
150
|
+
})]
|
|
151
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("ul", {
|
|
152
|
+
className: "menu",
|
|
153
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
154
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
155
|
+
href: "#slide1",
|
|
156
|
+
id: "slidea1",
|
|
157
|
+
onClick: function onClick(e) {
|
|
158
|
+
color("slidea1");
|
|
159
|
+
}
|
|
160
|
+
})
|
|
161
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
162
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
163
|
+
href: "#slide2",
|
|
164
|
+
id: "slidea2",
|
|
165
|
+
onClick: function onClick(e) {
|
|
166
|
+
color("slidea2");
|
|
167
|
+
}
|
|
168
|
+
})
|
|
169
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
170
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
171
|
+
href: "#slide3",
|
|
172
|
+
id: "slidea3",
|
|
173
|
+
onClick: function onClick(e) {
|
|
174
|
+
color("slidea3");
|
|
175
|
+
}
|
|
176
|
+
})
|
|
177
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
178
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
179
|
+
href: "#slide4",
|
|
180
|
+
id: "slidea4",
|
|
181
|
+
onClick: function onClick(e) {
|
|
182
|
+
color("slidea4");
|
|
183
|
+
}
|
|
184
|
+
})
|
|
185
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
186
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
187
|
+
href: "#slide5",
|
|
188
|
+
id: "slidea5",
|
|
189
|
+
onClick: function onClick(e) {
|
|
190
|
+
color("slidea5");
|
|
191
|
+
}
|
|
192
|
+
})
|
|
193
|
+
})]
|
|
194
|
+
})]
|
|
195
|
+
})]
|
|
196
|
+
})
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
exports.SliderToolTip = SliderToolTip;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.Slider = 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, _templateObject2;
|
|
17
|
+
|
|
18
|
+
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background: transparent;\n cursor: pointer;\n width: 40px !important;\n margin: 9px;\n position: relative;\n"])));
|
|
19
|
+
|
|
20
|
+
exports.Container = Container;
|
|
21
|
+
|
|
22
|
+
var Slider = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-family: sans-serif;\n margin: auto;\n background: #281f33;\n border-radius: 6px;\n \n padding: 16px;\n padding-top: 20px;\n box-sizing: border-box;\n position: absolute;\n top: calc(100% + 25px);\n left: calc(50% - 223px / 2);\n #div-slider {\n width: 310px;\n }\n ul,\n li {\n padding: 0;\n margin: 0;\n list-style: none;\n }\n .slider {\n position: relative;\n max-width: 300px;\n width: 100%;\n height: 270px;\n margin: 0;\n li {\n position: absolute;\n left: 0px;\n top: 0px;\n opacity: 0;\n width: inherit;\n height: inherit;\n transition: opacity 0.5s;\n background: transparent;\n img {\n width: 100%;\n height: 180px;\n border-radius: 4px;\n background-color: #fafafa;\n & + * {\n margin-top: 10px;\n }\n }\n p {\n font-family: \"Avenir Next\";\n font-style: normal;\n font-weight: 400;\n font-size: 10px;\n line-height: 12px;\n text-align: center;\n letter-spacing: -0.015em;\n color: #fafafa;\n background-color: #281f33;\n }\n div {\n background-color: #fafafa;\n height: 180px;\n border-radius: 4px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n img {\n height: 40px;\n }\n & + * {\n margin-top: 13px;\n }\n }\n }\n #slide5 {\n div {\n height: 130px;\n width: 100%;\n background-color: #fafafa;\n display: flex;\n align-items: center;\n border-radius: 4px;\n img {\n width: 100%;\n height: 115px;\n object-fit: contain;\n }\n }\n .lema-end {\n justify-content: center;\n justify-content: space-evenly;\n height: 100px;\n background-color: #281f33;\n flex-direction: column;\n justify-content: space-evenly;\n border-radius: inherit;\n span {\n font-family: \"Avenir Next\";\n font-style: normal;\n font-weight: 700;\n font-size: 17px;\n line-height: 15px;\n text-align: center;\n letter-spacing: -0.015em;\n color: #fafafa;\n }\n }\n button {\n display: none;\n justify-content: center;\n align-items: center;\n padding: 10px;\n width: 160px;\n height: 30px;\n border: 1px solid #d4d1d7;\n border-radius: 15px;\n color: #fafafa;\n background-color: #281f33;\n font-family: \"Avenir Next\";\n font-style: normal;\n font-weight: 400;\n font-size: 18px;\n line-height: 25px;\n letter-spacing: -0.015em;\n position: absolute;\n left: 22%;\n top: 88%;\n cursor: pointer;\n }\n }\n }\n\n li:first-child {\n opacity: 1; /*Mostramos el primer <li>*/\n }\n li:target {\n opacity: 1; /*Mostramos el primer <li>*/\n }\n .menu {\n margin: 0;\n text-align: center;\n li {\n display: inline-block;\n text-align: center;\n & + * {\n margin-left: 15px;\n }\n a {\n display: inline-block;\n text-decoration: none;\n background-color: #c4c4c4;\n width: 10px;\n height: 10px;\n border-radius: 100%;\n }\n #slidea1 {\n background-color: #e33aa9;\n }\n }\n }\n"])));
|
|
23
|
+
|
|
24
|
+
exports.Slider = Slider;
|
|
@@ -0,0 +1,28 @@
|
|
|
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.VerticalSideMenuMainPageDefault = 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 _default = {
|
|
17
|
+
title: "Components/atoms/VerticalSideMenuMainPage",
|
|
18
|
+
component: _index.VerticalSideMenuMainPage
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
21
|
+
|
|
22
|
+
var Template = function Template(args) {
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.VerticalSideMenuMainPage, (0, _objectSpread2.default)({}, args));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
var VerticalSideMenuMainPageDefault = Template.bind({});
|
|
27
|
+
exports.VerticalSideMenuMainPageDefault = VerticalSideMenuMainPageDefault;
|
|
28
|
+
VerticalSideMenuMainPageDefault.args = {};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.VerticalSideMenuMainPage = void 0;
|
|
11
|
+
|
|
12
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
13
|
+
|
|
14
|
+
var _styles = require("./styles");
|
|
15
|
+
|
|
16
|
+
var _iconLogoContentoh = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogoContentoh.svg"));
|
|
17
|
+
|
|
18
|
+
var _iconProduct = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconProduct.svg"));
|
|
19
|
+
|
|
20
|
+
var _iconGroup = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconGroup.svg"));
|
|
21
|
+
|
|
22
|
+
var _iconLogo = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconLogo.svg"));
|
|
23
|
+
|
|
24
|
+
var _iconSpeedometer = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconSpeedometer.svg"));
|
|
25
|
+
|
|
26
|
+
var _iconTask = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/iconTask.svg"));
|
|
27
|
+
|
|
28
|
+
var _openMenu = _interopRequireDefault(require("../../../assets/images/verticalSideMenuMainPage/openMenu.svg"));
|
|
29
|
+
|
|
30
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
31
|
+
|
|
32
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
33
|
+
|
|
34
|
+
var VerticalSideMenuMainPage = function VerticalSideMenuMainPage() {
|
|
35
|
+
var _useState = (0, _react.useState)(false),
|
|
36
|
+
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
37
|
+
trueBar = _useState2[0],
|
|
38
|
+
setTrueBar = _useState2[1];
|
|
39
|
+
|
|
40
|
+
var active = function active() {
|
|
41
|
+
console.log(window.location.href); //document.getElementById("slidea1").style.border= "1px solid rgb(227, 58, 169)";
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Container, {
|
|
45
|
+
bar: trueBar,
|
|
46
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
47
|
+
className: "navbar-top",
|
|
48
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
49
|
+
src: trueBar ? _iconLogoContentoh.default : _iconLogo.default,
|
|
50
|
+
alt: "Logo",
|
|
51
|
+
className: "logo"
|
|
52
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
53
|
+
className: "option",
|
|
54
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
55
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
56
|
+
src: _iconSpeedometer.default,
|
|
57
|
+
alt: "Speed Meter",
|
|
58
|
+
width: "25px"
|
|
59
|
+
})
|
|
60
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
61
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
62
|
+
src: _iconProduct.default,
|
|
63
|
+
alt: "Focus Product",
|
|
64
|
+
width: "25px"
|
|
65
|
+
})
|
|
66
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
67
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
68
|
+
src: _iconGroup.default,
|
|
69
|
+
alt: "Group",
|
|
70
|
+
width: "25px"
|
|
71
|
+
})
|
|
72
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
73
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
74
|
+
src: _iconLogo.default,
|
|
75
|
+
alt: "Logo",
|
|
76
|
+
width: "25px"
|
|
77
|
+
})
|
|
78
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
79
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
80
|
+
src: _iconTask.default,
|
|
81
|
+
alt: "Task",
|
|
82
|
+
width: "25px"
|
|
83
|
+
})
|
|
84
|
+
})]
|
|
85
|
+
})]
|
|
86
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
87
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
88
|
+
src: _openMenu.default,
|
|
89
|
+
alt: "Open Menu",
|
|
90
|
+
onClick: function onClick() {
|
|
91
|
+
setTrueBar(true);
|
|
92
|
+
active();
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
})]
|
|
96
|
+
});
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
exports.VerticalSideMenuMainPage = VerticalSideMenuMainPage;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 100%;\n width: ", "px;\n box-sizing: border-box;\n padding: 23px 10px 70px 10px;\n flex-direction: column;\n justify-content: space-between;\n overflow: auto;\n border-radius: ", "px;\n background: linear-gradient(180deg, #e33aa9 0%, #3b1366 100%);\n scrollbar-width: none;\n display: flex;\n text-align: center;\n img {\n cursor: pointer;\n width:\"25px\" !important;\n }\n .navbar-top {\n & + * {\n margin-top: 15px;\n }\n .option {\n div {\n height: 38px;\n display: flex;\n justify-content: center;\n border-radius: 100%;\n & + * {\n margin-top: 12px;\n }\n }\n div:hover {\n background: #e33aa9;\n }\n }\n .logo {\n cursor: default;\n & + * {\n margin-top: 225%;\n }\n }\n }\n"])), function (_ref) {
|
|
17
|
+
var bar = _ref.bar;
|
|
18
|
+
return bar ? 200 : 58;
|
|
19
|
+
}, function (_ref2) {
|
|
20
|
+
var bar = _ref2.bar;
|
|
21
|
+
return bar ? 20 : 50;
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
exports.Container = Container;
|