contentoh-components-library 21.4.57 → 21.4.59
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/components/atoms/Avatar/index.js +2 -3
- package/dist/components/atoms/CheckBox/index.js +2 -7
- package/dist/components/atoms/CheckBox/styles.js +1 -1
- package/dist/components/atoms/InputFormatter/styles.js +1 -1
- package/dist/components/atoms/SliderToolTip/styles.js +1 -1
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +11 -68
- package/dist/components/molecules/SignInLogin/index.js +28 -36
- package/dist/components/molecules/StripeCardSelector/CardSelector.stories.js +2 -1
- package/dist/components/molecules/TagAndInput/index.js +3 -64
- package/dist/components/organisms/Chat/Chat.stories.js +8 -27
- package/dist/components/organisms/Chat/ContainerItems/index.js +3 -19
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +197 -350
- package/dist/components/organisms/Chat/Footer/index.js +39 -48
- package/dist/components/organisms/Chat/index.js +4 -49
- package/dist/components/organisms/Chat/styles.js +1 -1
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/InputGroup/index.js +48 -154
- package/dist/components/organisms/Modal/styles.js +1 -1
- package/dist/components/pages/Dashboard/index.js +2 -8
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +137 -123
- package/dist/components/pages/ProviderProductEdition/index.js +258 -269
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +3 -7
- package/dist/components/pages/RetailerProductEdition/index.js +276 -278
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +2 -61
- package/dist/global-files/data.js +8 -21
- package/dist/global-files/variables.js +1 -5
- package/dist/index.js +58 -201
- package/package.json +1 -2
- package/src/components/atoms/Avatar/index.js +2 -8
- package/src/components/atoms/CheckBox/index.js +1 -4
- package/src/components/atoms/CheckBox/styles.js +0 -2
- package/src/components/atoms/InputFormatter/styles.js +1 -2
- package/src/components/atoms/SliderToolTip/styles.js +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +6 -52
- package/src/components/molecules/SignInLogin/index.js +11 -11
- package/src/components/molecules/StripeCardSelector/CardSelector.stories.js +2 -1
- package/src/components/molecules/TagAndInput/index.js +8 -52
- package/src/components/organisms/Chat/Chat.stories.js +7 -27
- package/src/components/organisms/Chat/ContainerItems/index.js +2 -18
- package/src/components/organisms/Chat/ContainerItems/styles.js +2 -14
- package/src/components/organisms/Chat/ContentChat/index.js +12 -88
- package/src/components/organisms/Chat/Footer/index.js +0 -11
- package/src/components/organisms/Chat/index.js +4 -46
- package/src/components/organisms/Chat/styles.js +0 -4
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/InputGroup/index.js +88 -238
- package/src/components/organisms/Modal/styles.js +1 -4
- package/src/components/organisms/OrderDetail/utils/Table/utils.js +16 -6
- package/src/components/pages/Dashboard/index.js +1 -6
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +145 -141
- package/src/components/pages/ProviderProductEdition/index.js +148 -145
- package/src/components/pages/ProviderProductEdition/styles.js +1 -5
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +2 -6
- package/src/components/pages/RetailerProductEdition/index.js +144 -115
- package/src/components/pages/RetailerProductEdition/styles.js +0 -4
- package/src/components/pages/RetailerProductEdition/utils.js +0 -37
- package/src/global-files/data.js +6 -10
- package/src/global-files/variables.js +0 -4
- package/src/index.js +0 -11
- package/src/assets/images/Icons/info.svg +0 -8
- package/src/components/atoms/ImageCarousel/ImgeSlider.stories.js +0 -76
- package/src/components/atoms/ImageCarousel/index.js +0 -103
- package/src/components/atoms/ImageCarousel/styles.js +0 -79
- package/src/components/atoms/PercentTag/PercentTag.stories.js +0 -7
- package/src/components/atoms/PercentTag/index.js +0 -9
- package/src/components/atoms/PercentTag/styles.js +0 -69
- package/src/components/atoms/RatingStars/RatingStars.stories.js +0 -10
- package/src/components/atoms/RatingStars/index.js +0 -31
- package/src/components/atoms/RatingStars/styles.js +0 -28
- package/src/components/atoms/RetailerCatalog/RetailerCatalog.stories.js +0 -36
- package/src/components/atoms/RetailerCatalog/index.js +0 -49
- package/src/components/atoms/RetailerCatalog/styles.js +0 -30
- package/src/components/atoms/RetailerOption/RetailerOption.stories.js +0 -15
- package/src/components/atoms/RetailerOption/index.js +0 -53
- package/src/components/atoms/RetailerOption/styles.js +0 -41
- package/src/components/atoms/RetailersList/RetailersList.stories.js +0 -33
- package/src/components/atoms/RetailersList/index.js +0 -20
- package/src/components/atoms/RetailersList/styles.js +0 -19
- package/src/components/atoms/TabSection/styles.js +0 -23
- package/src/components/atoms/UserCatalog/UserCatalog.stories.js +0 -67
- package/src/components/atoms/UserCatalog/index.js +0 -100
- package/src/components/atoms/UserCatalog/styles.js +0 -24
- package/src/components/atoms/UserOption/UserOption.stories.js +0 -25
- package/src/components/atoms/UserOption/index.js +0 -95
- package/src/components/atoms/UserOption/styles.js +0 -61
- package/src/components/atoms/UserSelector/UserSelector.stories.js +0 -25
- package/src/components/atoms/UserSelector/index.js +0 -86
- package/src/components/atoms/UserSelector/styles.js +0 -55
- package/src/components/molecules/BoxAttribute/BoxAttribute.stories.js +0 -16
- package/src/components/molecules/BoxAttribute/index.js +0 -72
- package/src/components/molecules/BoxAttribute/styles.js +0 -41
- package/src/components/molecules/BoxButtons/BoxButtons.stories.js +0 -15
- package/src/components/molecules/BoxButtons/index.js +0 -32
- package/src/components/molecules/BoxButtons/styles.js +0 -43
- package/src/components/molecules/GridItem/GridItem.stories.js +0 -126
- package/src/components/molecules/GridItem/index.js +0 -105
- package/src/components/molecules/GridItem/styles.js +0 -104
- package/src/components/molecules/HeaderItem/ColumnItem.js +0 -9
- package/src/components/molecules/HeaderItem/HeaderItem.stories.js +0 -24
- package/src/components/molecules/HeaderItem/index.js +0 -26
- package/src/components/molecules/HeaderItem/styles.js +0 -27
- package/src/components/molecules/RowItem/ColumnItem.js +0 -9
- package/src/components/molecules/RowItem/RowItem.stories.js +0 -5660
- package/src/components/molecules/RowItem/index.js +0 -45
- package/src/components/molecules/RowItem/styles.js +0 -40
- package/src/components/organisms/Box/Box.stories.js +0 -17
- package/src/components/organisms/Box/index.js +0 -103
- package/src/components/organisms/Box/styles.js +0 -48
- package/src/components/organisms/BoxOnboarding/BoxOnboarding.stories.js +0 -17
- package/src/components/organisms/BoxOnboarding/index.js +0 -60
- package/src/components/organisms/BoxOnboarding/styles.js +0 -44
- package/src/components/organisms/GridProducts/GridProducts.stories.js +0 -5485
- package/src/components/organisms/GridProducts/index.js +0 -50
- package/src/components/organisms/GridProducts/styles.js +0 -14
- package/src/components/organisms/GridProducts/utils.js +0 -111
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Container } from "./styles";
|
|
2
|
-
import { ColumnItem } from "./ColumnItem";
|
|
3
|
-
import { CheckBox } from "../../atoms/CheckBox";
|
|
4
|
-
|
|
5
|
-
export const RowItem = ({
|
|
6
|
-
productsArray = [],
|
|
7
|
-
chkOnChange,
|
|
8
|
-
onGridClick,
|
|
9
|
-
chkChecked,
|
|
10
|
-
}) => {
|
|
11
|
-
return (
|
|
12
|
-
<Container>
|
|
13
|
-
{productsArray.map(({ cols, product, id }, i) => (
|
|
14
|
-
<div
|
|
15
|
-
className="row-container"
|
|
16
|
-
key={id}
|
|
17
|
-
onClick={(e) => onGridClick && onGridClick(e, product, i)}
|
|
18
|
-
>
|
|
19
|
-
<div
|
|
20
|
-
className="chk-container"
|
|
21
|
-
onClick={(e) => {
|
|
22
|
-
e.stopPropagation();
|
|
23
|
-
}}
|
|
24
|
-
>
|
|
25
|
-
<CheckBox
|
|
26
|
-
id={"chk-" + id}
|
|
27
|
-
name={"chk-" + id}
|
|
28
|
-
className="chk-item"
|
|
29
|
-
onChange={(e) => chkOnChange && chkOnChange(e, product)}
|
|
30
|
-
defaultChecked={chkChecked && chkChecked(product)}
|
|
31
|
-
/>
|
|
32
|
-
</div>
|
|
33
|
-
{cols.map((col, i) => (
|
|
34
|
-
<ColumnItem
|
|
35
|
-
key={id + "-" + i}
|
|
36
|
-
element={col.name}
|
|
37
|
-
flex={col.flex}
|
|
38
|
-
minWidth={col.minWidth}
|
|
39
|
-
/>
|
|
40
|
-
))}
|
|
41
|
-
</div>
|
|
42
|
-
))}
|
|
43
|
-
</Container>
|
|
44
|
-
);
|
|
45
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import { FontFamily } from "../../../global-files/variables";
|
|
3
|
-
|
|
4
|
-
export const Container = styled.div`
|
|
5
|
-
height: calc(100% - 36px);
|
|
6
|
-
overflow: auto;
|
|
7
|
-
min-width: fit-content;
|
|
8
|
-
|
|
9
|
-
.row-container {
|
|
10
|
-
display: flex;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
&:hover {
|
|
13
|
-
background-color: #fafafa;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.chk-container {
|
|
17
|
-
width: 30px;
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
align-items: center;
|
|
21
|
-
.chk-item {
|
|
22
|
-
width: 16px;
|
|
23
|
-
height: 16px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
`;
|
|
28
|
-
|
|
29
|
-
export const Column = styled.div`
|
|
30
|
-
flex: ${({ flex }) => (flex ? flex : 1)};
|
|
31
|
-
min-width: ${({ minWidth }) => (minWidth ? minWidth : 100)}px;
|
|
32
|
-
text-align: center;
|
|
33
|
-
color: #262626;
|
|
34
|
-
font-family: ${FontFamily.Lato};
|
|
35
|
-
font-size: 12px;
|
|
36
|
-
line-height: 16px;
|
|
37
|
-
padding: 10px 5px;
|
|
38
|
-
display: flex;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
`;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Box } 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/organisms/Box",
|
|
8
|
-
component: Box,
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const Template = (args) => <Box {...args} />;
|
|
12
|
-
|
|
13
|
-
export const BoxDefault = Template.bind({});
|
|
14
|
-
BoxDefault.args = {
|
|
15
|
-
panelImg:[LoginImage, Login2, Login3],
|
|
16
|
-
panelText:"Elige la plataforma que conecta proovedores y retailers",
|
|
17
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import React, { useState, useEffect } from "react";
|
|
2
|
-
import { Container } from "./styles";
|
|
3
|
-
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
4
|
-
import { BoxOnboarding } from "../BoxOnboarding";
|
|
5
|
-
import { BoxButtons } from "../../molecules/BoxButtons";
|
|
6
|
-
|
|
7
|
-
export const Box = ({ onChange, dataInputs, inputGroup }) => {
|
|
8
|
-
const [isDeleteDisabled, setIsDeleteDisabled] = useState(true);
|
|
9
|
-
const [boxOnboardingList, setBoxOnboardingList] = useState([
|
|
10
|
-
{
|
|
11
|
-
showAdd: true,
|
|
12
|
-
value: {},
|
|
13
|
-
},
|
|
14
|
-
]);
|
|
15
|
-
|
|
16
|
-
useEffect(() => {
|
|
17
|
-
const temp = {};
|
|
18
|
-
let maxBoxId = 0;
|
|
19
|
-
inputGroup.inputs.forEach((attrId) => {
|
|
20
|
-
if (!dataInputs[attrId].box) return;
|
|
21
|
-
Object.entries(dataInputs[attrId].box).forEach(([boxId, value]) => {
|
|
22
|
-
if (boxId > maxBoxId) maxBoxId = boxId;
|
|
23
|
-
if (!temp[boxId]) temp[boxId] = {};
|
|
24
|
-
temp[boxId][attrId] = value;
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
const tempList = Object.values(temp);
|
|
28
|
-
if (tempList.length > 0) {
|
|
29
|
-
setBoxOnboardingList(
|
|
30
|
-
tempList.map((value, index) =>
|
|
31
|
-
index === tempList.length - 1 ? { showAdd: true, value } : { value }
|
|
32
|
-
)
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
}, []);
|
|
36
|
-
|
|
37
|
-
const handleAddBoxOnboarding = () => {
|
|
38
|
-
const newBoxOnboarding = {
|
|
39
|
-
showAdd: false,
|
|
40
|
-
value: {},
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
setBoxOnboardingList([...boxOnboardingList, newBoxOnboarding]);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const handleDeleteBoxOnboarding = (index) => {
|
|
47
|
-
if (index !== 0) {
|
|
48
|
-
const updatedBoxOnboardingList = [...boxOnboardingList];
|
|
49
|
-
updatedBoxOnboardingList.splice(index, 1);
|
|
50
|
-
setBoxOnboardingList(updatedBoxOnboardingList);
|
|
51
|
-
} else {
|
|
52
|
-
setIsDeleteDisabled(true);
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
useEffect(() => {
|
|
57
|
-
onChange && onChange(boxOnboardingList);
|
|
58
|
-
}, [boxOnboardingList]);
|
|
59
|
-
|
|
60
|
-
return (
|
|
61
|
-
<Container
|
|
62
|
-
fontFamily={FontFamily.Raleway}
|
|
63
|
-
color={GlobalColors.original_magenta}
|
|
64
|
-
>
|
|
65
|
-
<h1 fontFamily={FontFamily.Raleway}>{inputGroup.dataGroup}</h1>
|
|
66
|
-
<div className="container-box">
|
|
67
|
-
{boxOnboardingList.map((boxOnboarding, index) => (
|
|
68
|
-
<>
|
|
69
|
-
|
|
70
|
-
<div className="container-buttons">
|
|
71
|
-
<BoxOnboarding
|
|
72
|
-
key={index}
|
|
73
|
-
index={index}
|
|
74
|
-
showAdd={boxOnboarding.showAdd}
|
|
75
|
-
data={boxOnboarding.value}
|
|
76
|
-
dataInputs={dataInputs}
|
|
77
|
-
inputs={inputGroup.inputs}
|
|
78
|
-
onChange={(e) => {
|
|
79
|
-
setBoxOnboardingList((prev) => {
|
|
80
|
-
return prev.map((box, i) => {
|
|
81
|
-
if (i != index) {
|
|
82
|
-
return box;
|
|
83
|
-
}
|
|
84
|
-
return { ...box, value: e };
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
}}
|
|
88
|
-
/>
|
|
89
|
-
<BoxButtons
|
|
90
|
-
key={index}
|
|
91
|
-
index={index}
|
|
92
|
-
showAdd={boxOnboarding.showAdd}
|
|
93
|
-
onAdd={handleAddBoxOnboarding}
|
|
94
|
-
onDelete={() => handleDeleteBoxOnboarding(index)}
|
|
95
|
-
isDeleteDisabled={isDeleteDisabled}
|
|
96
|
-
/>
|
|
97
|
-
</div>
|
|
98
|
-
</>
|
|
99
|
-
))}
|
|
100
|
-
</div>
|
|
101
|
-
</Container>
|
|
102
|
-
);
|
|
103
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
3
|
-
|
|
4
|
-
export const Container = styled.div`
|
|
5
|
-
font-family: ${FontFamily.Roboto}, sans-serif;
|
|
6
|
-
font-weight: 400;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
gap: 10px;
|
|
10
|
-
font-size: var(--size);
|
|
11
|
-
line-height: 1.2;
|
|
12
|
-
height: auto;
|
|
13
|
-
border-radius: 10px;
|
|
14
|
-
background: white;
|
|
15
|
-
position: relative;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
width: 100%;
|
|
18
|
-
text-align: center;
|
|
19
|
-
.container-buttons {
|
|
20
|
-
display: flex;
|
|
21
|
-
gap:10px;
|
|
22
|
-
}
|
|
23
|
-
.container-box{
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction:column-reverse;
|
|
26
|
-
gap:10px;
|
|
27
|
-
}
|
|
28
|
-
#contenedor-caja {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
color: #262626;
|
|
32
|
-
white-space: nowrap;
|
|
33
|
-
gap: 10px;
|
|
34
|
-
}
|
|
35
|
-
#atr-alto {
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
align-items: center;
|
|
39
|
-
gap: 6px;
|
|
40
|
-
}
|
|
41
|
-
h1 {
|
|
42
|
-
font-family: ${FontFamily.RobotoMedium}, sans-serif;
|
|
43
|
-
font-size: 17px;
|
|
44
|
-
line-height: 1.2;
|
|
45
|
-
font-weight: 500;
|
|
46
|
-
text-align: left;
|
|
47
|
-
}
|
|
48
|
-
`;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BoxOnboarding } 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/organisms/BoxOnboarding",
|
|
8
|
-
component: BoxOnboarding,
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const Template = (args) => <BoxOnboarding {...args} />;
|
|
12
|
-
|
|
13
|
-
export const BoxOnboardingDefault = Template.bind({});
|
|
14
|
-
BoxOnboardingDefault.args = {
|
|
15
|
-
panelImg:[LoginImage, Login2, Login3],
|
|
16
|
-
panelText:"Elige la plataforma que conecta proovedores y retailers",
|
|
17
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Container } from "./styles";
|
|
2
|
-
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
3
|
-
import { BoxAttribute } from "../../molecules/BoxAttribute";
|
|
4
|
-
import { useState, useEffect, memo } from "react";
|
|
5
|
-
import { isEqual } from "lodash";
|
|
6
|
-
|
|
7
|
-
export const BoxOnboarding = memo(
|
|
8
|
-
({
|
|
9
|
-
panelColor,
|
|
10
|
-
index,
|
|
11
|
-
onChange,
|
|
12
|
-
data,
|
|
13
|
-
dataInputs,
|
|
14
|
-
inputs,
|
|
15
|
-
}) => {
|
|
16
|
-
const [atributos, setAtributos] = useState({});
|
|
17
|
-
const [isLoading, setIsLoading] = useState(true);
|
|
18
|
-
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
onChange && onChange(atributos);
|
|
21
|
-
}, [atributos]);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
useEffect(() => {
|
|
25
|
-
if (isLoading && Object.keys(data).length > 0) {
|
|
26
|
-
setAtributos(data);
|
|
27
|
-
setIsLoading(false);
|
|
28
|
-
}
|
|
29
|
-
}, [data]);
|
|
30
|
-
|
|
31
|
-
return (
|
|
32
|
-
<Container
|
|
33
|
-
panelColor={panelColor}
|
|
34
|
-
fontFamily={FontFamily.Raleway}
|
|
35
|
-
color={GlobalColors.original_magenta}
|
|
36
|
-
>
|
|
37
|
-
<div id="contenedor-caja">
|
|
38
|
-
<p fontFamily={FontFamily.Raleway}>Caja {index + 1}</p>
|
|
39
|
-
{inputs.map((attrId) => {
|
|
40
|
-
return (
|
|
41
|
-
<BoxAttribute
|
|
42
|
-
id={attrId}
|
|
43
|
-
key={attrId}
|
|
44
|
-
borderType="rectangle"
|
|
45
|
-
className="caja"
|
|
46
|
-
text={dataInputs[attrId]?.name}
|
|
47
|
-
required={dataInputs[attrId]?.required}
|
|
48
|
-
description={dataInputs[attrId]?.description}
|
|
49
|
-
atributos={atributos}
|
|
50
|
-
setAtributos={setAtributos}
|
|
51
|
-
/>
|
|
52
|
-
);
|
|
53
|
-
})}
|
|
54
|
-
|
|
55
|
-
</div>
|
|
56
|
-
</Container>
|
|
57
|
-
);
|
|
58
|
-
},
|
|
59
|
-
isEqual
|
|
60
|
-
);
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
3
|
-
|
|
4
|
-
export const Container = styled.div`
|
|
5
|
-
font-family: ${FontFamily.Roboto}, sans-serif;
|
|
6
|
-
font-weight: 400;
|
|
7
|
-
font-size: var(--size);
|
|
8
|
-
line-height: 1.2;
|
|
9
|
-
background: white;
|
|
10
|
-
position: relative;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
width: 80%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
text-align: center;
|
|
15
|
-
#contenedor-caja {
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: space-between;
|
|
18
|
-
color: #262626;
|
|
19
|
-
}
|
|
20
|
-
#atr-alto {
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: space-between;
|
|
23
|
-
align-items: center;
|
|
24
|
-
}
|
|
25
|
-
p {
|
|
26
|
-
font-family: ${FontFamily.RobotoMedium}, sans-serif;
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
line-height: 1.2;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
align-self: center;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.icon-red {
|
|
34
|
-
color: #B64545;
|
|
35
|
-
height:18px;
|
|
36
|
-
}
|
|
37
|
-
.icon-gray {
|
|
38
|
-
color: #707070;
|
|
39
|
-
}
|
|
40
|
-
.icon-gray-l {
|
|
41
|
-
color: #707070;
|
|
42
|
-
height:18px;
|
|
43
|
-
}
|
|
44
|
-
`
|