contentoh-components-library 21.2.86 → 21.2.88
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/ButtonFileChooser/ButtonFileChooser.stories.js +3 -3
- package/dist/components/atoms/ButtonFileChooser/index.js +7 -5
- package/dist/components/atoms/ButtonV2/ButtonV2.stories.js +3 -3
- package/dist/components/atoms/ButtonV2/index.js +5 -3
- package/dist/components/atoms/CustomIcon/CustomIcon.stories.js +3 -3
- package/dist/components/atoms/CustomIcon/index.js +5 -3
- package/dist/components/atoms/IconFile/IconFile.stories.js +3 -3
- package/dist/components/atoms/IconFile/index.js +7 -9
- package/dist/components/atoms/Image/Image.stories.js +3 -3
- package/dist/components/atoms/Image/index.js +5 -3
- package/dist/components/atoms/ImageLink/ImageLink.stories.js +3 -3
- package/dist/components/atoms/ImageLink/index.js +5 -3
- package/dist/components/atoms/ImagePreview/ImagePreview.stories.js +3 -3
- package/dist/components/atoms/ImagePreview/index.js +13 -11
- package/dist/components/atoms/InputText/InputText.stories.js +3 -5
- package/dist/components/atoms/InputText/index.js +7 -5
- package/dist/components/atoms/NotFound/NotFound.stories.js +3 -3
- package/dist/components/atoms/NotFound/index.js +9 -7
- package/dist/components/atoms/Tooltip/Tooltip.stories.js +3 -3
- package/dist/components/atoms/Tooltip/index.js +5 -3
- package/dist/components/molecules/ButtonDownloadFile/DownloadFile.stories.js +3 -3
- package/dist/components/molecules/ButtonDownloadFile/index.js +9 -9
- package/dist/components/molecules/HeaderTop/index.js +1 -3
- package/dist/components/molecules/ImageTooltip/ImageTooltip.stories.js +3 -3
- package/dist/components/molecules/ImageTooltip/index.js +7 -7
- package/dist/components/organisms/Chat/Chat.stories.js +3 -3
- package/dist/components/organisms/Chat/ChatLists/ChatLists.stories.js +3 -3
- package/dist/components/organisms/Chat/ChatLists/index.js +12 -10
- package/dist/components/organisms/Chat/ContainerItems/ContainerItems.stories.js +3 -3
- package/dist/components/organisms/Chat/ContainerItems/index.js +24 -22
- package/dist/components/organisms/Chat/ContentChat/index.js +17 -17
- package/dist/components/organisms/Chat/Footer/Footer.stories.js +3 -3
- package/dist/components/organisms/Chat/Footer/index.js +26 -24
- package/dist/components/organisms/Chat/Header/Header.stories.js +3 -3
- package/dist/components/organisms/Chat/Header/index.js +13 -13
- package/dist/components/organisms/Chat/index.js +7 -5
- package/dist/components/organisms/Modal/Modal.stories.js +6 -6
- package/dist/components/organisms/Modal/index.js +9 -9
- package/dist/index.js +215 -46
- package/package.json +1 -1
- package/src/components/atoms/ButtonFileChooser/ButtonFileChooser.stories.js +1 -1
- package/src/components/atoms/ButtonFileChooser/index.js +3 -4
- package/src/components/atoms/ButtonV2/ButtonV2.stories.js +1 -1
- package/src/components/atoms/ButtonV2/index.js +2 -2
- package/src/components/atoms/CustomIcon/CustomIcon.stories.js +1 -1
- package/src/components/atoms/CustomIcon/index.js +2 -2
- package/src/components/atoms/IconFile/IconFile.stories.js +1 -1
- package/src/components/atoms/IconFile/index.js +3 -4
- package/src/components/atoms/Image/Image.stories.js +1 -1
- package/src/components/atoms/Image/index.js +2 -2
- package/src/components/atoms/ImageLink/ImageLink.stories.js +1 -1
- package/src/components/atoms/ImageLink/index.js +2 -3
- package/src/components/atoms/ImagePreview/ImagePreview.stories.js +1 -1
- package/src/components/atoms/ImagePreview/index.js +5 -6
- package/src/components/atoms/InputText/InputText.stories.js +1 -2
- package/src/components/atoms/InputText/index.js +2 -4
- package/src/components/atoms/NotFound/NotFound.stories.js +1 -1
- package/src/components/atoms/NotFound/index.js +4 -5
- package/src/components/atoms/Tooltip/Tooltip.stories.js +1 -1
- package/src/components/atoms/Tooltip/index.js +2 -2
- package/src/components/molecules/ButtonDownloadFile/DownloadFile.stories.js +1 -1
- package/src/components/molecules/ButtonDownloadFile/index.js +4 -6
- package/src/components/molecules/HeaderTop/index.js +1 -1
- package/src/components/molecules/ImageTooltip/ImageTooltip.stories.js +1 -1
- package/src/components/molecules/ImageTooltip/index.js +3 -5
- package/src/components/organisms/Chat/Chat.stories.js +1 -1
- package/src/components/organisms/Chat/ChatLists/ChatLists.stories.js +1 -1
- package/src/components/organisms/Chat/ChatLists/index.js +5 -5
- package/src/components/organisms/Chat/ContainerItems/ContainerItems.stories.js +1 -1
- package/src/components/organisms/Chat/ContainerItems/index.js +9 -9
- package/src/components/organisms/Chat/ContentChat/index.js +10 -10
- package/src/components/organisms/Chat/Footer/Footer.stories.js +1 -1
- package/src/components/organisms/Chat/Footer/index.js +11 -11
- package/src/components/organisms/Chat/Header/Header.stories.js +1 -1
- package/src/components/organisms/Chat/Header/index.js +5 -5
- package/src/components/organisms/Chat/index.js +3 -4
- package/src/components/organisms/Modal/Modal.stories.js +2 -2
- package/src/components/organisms/Modal/index.js +4 -4
- package/src/index.js +13 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { TextField } from "@mui/material";
|
|
4
|
-
import { useState } from "react";
|
|
5
|
-
import { useEffect } from "react";
|
|
6
4
|
|
|
7
|
-
export
|
|
5
|
+
export const InputText = (props) => {
|
|
8
6
|
const {
|
|
9
7
|
id,
|
|
10
8
|
key,
|
|
@@ -60,4 +58,4 @@ export default function InputText(props) {
|
|
|
60
58
|
</Container>
|
|
61
59
|
</>
|
|
62
60
|
);
|
|
63
|
-
}
|
|
61
|
+
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
|
-
import ButtonV2 from "../ButtonV2";
|
|
3
|
-
import Modal from "../../organisms/Modal";
|
|
2
|
+
import { ButtonV2 } from "../ButtonV2";
|
|
3
|
+
import { Modal } from "../../organisms/Modal";
|
|
4
4
|
import { FontAwesomeIcon as Icon } from "@fortawesome/react-fontawesome";
|
|
5
5
|
import { faCircleInfo as iconInfo } from "@fortawesome/free-solid-svg-icons";
|
|
6
6
|
import imgNotFountDefault from "../../../assets/images/defaultImages/notFound.svg";
|
|
7
|
-
import PropTypes from "prop-types";
|
|
8
7
|
import { useState, useEffect } from "react";
|
|
9
8
|
|
|
10
|
-
export
|
|
9
|
+
export const NotFound = (props) => {
|
|
11
10
|
const {
|
|
12
11
|
className, // string
|
|
13
12
|
code, // string
|
|
@@ -50,4 +49,4 @@ export default function NotFound(props) {
|
|
|
50
49
|
</Container>
|
|
51
50
|
</>
|
|
52
51
|
);
|
|
53
|
-
}
|
|
52
|
+
};
|
|
@@ -3,7 +3,7 @@ import { Fade, Grow, Popper, Tooltip as TooltipMUI, Zoom } from "@mui/material";
|
|
|
3
3
|
import { Container } from "./styles";
|
|
4
4
|
import React from "react";
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export const Tooltip = (props) => {
|
|
7
7
|
const {
|
|
8
8
|
componentTooltip, // (jsx) componente que aparecera en el tooltip
|
|
9
9
|
children, // (jsx) componente interno que va dentro de la etiqueta <Tooltip>
|
|
@@ -56,4 +56,4 @@ export default function Tooltip(props) {
|
|
|
56
56
|
<Container className={className}> {children} </Container>
|
|
57
57
|
</TooltipMUI>
|
|
58
58
|
);
|
|
59
|
-
}
|
|
59
|
+
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
|
-
import { FontAwesomeIcon as Icon } from "@fortawesome/react-fontawesome";
|
|
3
2
|
import { faArrowDown as IconDownload } from "@fortawesome/free-solid-svg-icons";
|
|
4
3
|
import { useState } from "react";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import IconFile from "../../atoms/IconFile";
|
|
4
|
+
import { ButtonV2 } from "../../atoms/ButtonV2";
|
|
5
|
+
import { IconFile } from "../../atoms/IconFile";
|
|
8
6
|
import axios from "axios";
|
|
9
7
|
import { getFileExtension } from "../../../global-files/utils";
|
|
10
8
|
|
|
11
|
-
export
|
|
9
|
+
export const ButtonDownloadFile = (props) => {
|
|
12
10
|
const {
|
|
13
11
|
id,
|
|
14
12
|
key,
|
|
@@ -110,4 +108,4 @@ export default function ButtonDownloadFile(props) {
|
|
|
110
108
|
</Container>
|
|
111
109
|
</>
|
|
112
110
|
);
|
|
113
|
-
}
|
|
111
|
+
};
|
|
@@ -2,7 +2,7 @@ import { Container } from "./styles";
|
|
|
2
2
|
import { ScreenHeader } from "../../atoms/ScreenHeader/index";
|
|
3
3
|
import { Button } from "../../atoms/GeneralButton/index";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
|
-
import Chat from "../../organisms/Chat";
|
|
5
|
+
import { Chat } from "../../organisms/Chat";
|
|
6
6
|
|
|
7
7
|
export const HeaderTop = ({ setHeaderTop }) => {
|
|
8
8
|
const headerTop = useRef();
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Container, ContainerLoading, Img } from "./styles";
|
|
2
2
|
import { FontAwesomeIcon as Icon } from "@fortawesome/react-fontawesome";
|
|
3
3
|
import { faSpinner as iconLoading } from "@fortawesome/free-solid-svg-icons";
|
|
4
|
-
import ImageDefault from "../../../assets/images/defaultImages/defaultUpdate.png";
|
|
5
|
-
import PropTypes from "prop-types";
|
|
6
4
|
import { useState, useEffect } from "react";
|
|
7
|
-
import Tooltip from "../../atoms/Tooltip";
|
|
5
|
+
import { Tooltip } from "../../atoms/Tooltip";
|
|
8
6
|
|
|
9
|
-
export
|
|
7
|
+
export const ImageTooltip = (props) => {
|
|
10
8
|
const {
|
|
11
9
|
className, // string
|
|
12
10
|
width, // string
|
|
@@ -61,4 +59,4 @@ export default function ImageTooltip(props) {
|
|
|
61
59
|
/>
|
|
62
60
|
</Tooltip>
|
|
63
61
|
);
|
|
64
|
-
}
|
|
62
|
+
};
|
|
@@ -2,11 +2,11 @@ import { Container, ContainerItemChat, ContainerTooltip } from "./styles";
|
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
import { getCustomDate } from "../../../../global-files/utils";
|
|
4
4
|
import { faImage as IconImage } from "@fortawesome/free-solid-svg-icons";
|
|
5
|
-
import CustomIcon from "../../../atoms/CustomIcon";
|
|
6
|
-
import Image from "../../../atoms/Image";
|
|
7
|
-
import Tooltip from "../../../atoms/Tooltip";
|
|
5
|
+
import { CustomIcon } from "../../../atoms/CustomIcon";
|
|
6
|
+
import { Image } from "../../../atoms/Image";
|
|
7
|
+
import { Tooltip } from "../../../atoms/Tooltip";
|
|
8
8
|
|
|
9
|
-
export
|
|
9
|
+
export const ChatLists = (props) => {
|
|
10
10
|
const {
|
|
11
11
|
companies /* {
|
|
12
12
|
id: { name , src , statusChat , items } ,
|
|
@@ -138,4 +138,4 @@ export default function ChatLists(props) {
|
|
|
138
138
|
</Container>
|
|
139
139
|
</>
|
|
140
140
|
);
|
|
141
|
-
}
|
|
141
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
import { getProfilePicture } from "../../../../global-files/data";
|
|
4
|
-
import ImageTooltip from "../../../molecules/ImageTooltip";
|
|
4
|
+
import { ImageTooltip } from "../../../molecules/ImageTooltip";
|
|
5
5
|
import {
|
|
6
6
|
decodeJSON,
|
|
7
7
|
getFullDate,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
faImage as IconImage,
|
|
15
15
|
faRedoAlt as IconReload,
|
|
16
16
|
} from "@fortawesome/free-solid-svg-icons";
|
|
17
|
-
import CustomIcon from "../../../atoms/CustomIcon";
|
|
18
|
-
import ButtonV2 from "../../../atoms/ButtonV2";
|
|
19
|
-
import ButtonDownloadFile from "../../../molecules/ButtonDownloadFile";
|
|
20
|
-
import Modal from "../../Modal";
|
|
21
|
-
import Tooltip from "../../../atoms/Tooltip";
|
|
17
|
+
import { CustomIcon } from "../../../atoms/CustomIcon";
|
|
18
|
+
import { ButtonV2 } from "../../../atoms/ButtonV2";
|
|
19
|
+
import { ButtonDownloadFile } from "../../../molecules/ButtonDownloadFile";
|
|
20
|
+
import { Modal } from "../../Modal";
|
|
21
|
+
import { Tooltip } from "../../../atoms/Tooltip";
|
|
22
22
|
import { Slide, Zoom } from "@mui/material";
|
|
23
23
|
import { useRef } from "react";
|
|
24
|
-
import ImagePreview from "../../../atoms/ImagePreview";
|
|
24
|
+
import { ImagePreview } from "../../../atoms/ImagePreview";
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export const ContainerItems = (props) => {
|
|
27
27
|
const {
|
|
28
28
|
items /* [
|
|
29
29
|
{ id , date , type , value , userId } ,
|
|
@@ -548,4 +548,4 @@ export default function ContainerItems(props) {
|
|
|
548
548
|
/>
|
|
549
549
|
</>
|
|
550
550
|
);
|
|
551
|
-
}
|
|
551
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Container, ContainerError } from "./styles";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
|
-
import Tooltip from "../../../atoms/Tooltip";
|
|
4
|
-
import NotFound from "../../../atoms/NotFound";
|
|
5
|
-
import ButtonV2 from "../../../atoms/ButtonV2";
|
|
6
|
-
import Header from "../Header";
|
|
3
|
+
import { Tooltip } from "../../../atoms/Tooltip";
|
|
4
|
+
import { NotFound } from "../../../atoms/NotFound";
|
|
5
|
+
import { ButtonV2 } from "../../../atoms/ButtonV2";
|
|
6
|
+
import { Header } from "../Header";
|
|
7
7
|
import {
|
|
8
8
|
faComments as IconChat,
|
|
9
9
|
faExclamationTriangle as IconWarning,
|
|
10
10
|
} from "@fortawesome/free-solid-svg-icons";
|
|
11
11
|
import { Loading } from "../../../atoms/Loading";
|
|
12
|
-
import ContainerItems from "../ContainerItems";
|
|
13
|
-
import Footer from "../Footer";
|
|
14
|
-
import ChatLists from "../ChatLists";
|
|
15
|
-
import CustomIcon from "../../../atoms/CustomIcon";
|
|
12
|
+
import { ContainerItems } from "../ContainerItems";
|
|
13
|
+
import { Footer } from "../Footer";
|
|
14
|
+
import { ChatLists } from "../ChatLists";
|
|
15
|
+
import { CustomIcon } from "../../../atoms/CustomIcon";
|
|
16
16
|
import { fetchGET, fetchPOST } from "../../../../global-files/handle_http";
|
|
17
|
-
import Modal from "../../Modal";
|
|
17
|
+
import { Modal } from "../../Modal";
|
|
18
18
|
import { isStringEmpty } from "../../../../global-files/utils";
|
|
19
19
|
|
|
20
20
|
export const ContentChat = (props) => {
|
|
@@ -70,7 +70,7 @@ export const ContentChat = (props) => {
|
|
|
70
70
|
useEffect(() => {
|
|
71
71
|
return () => {
|
|
72
72
|
console.log("componente chat desmontado");
|
|
73
|
-
|
|
73
|
+
if (processUpdateID !== undefined) clearTimeout(processUpdateID);
|
|
74
74
|
};
|
|
75
75
|
}, []);
|
|
76
76
|
// al cargar el componente
|
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
import { useEffect, useState, useRef } from "react";
|
|
9
9
|
import AWS from "aws-sdk";
|
|
10
10
|
import { v4 as uuidv4 } from "uuid";
|
|
11
|
-
import CustomImage from "../../../atoms/Image";
|
|
12
|
-
import ImageTooltip from "../../../molecules/ImageTooltip";
|
|
11
|
+
import { Image as CustomImage } from "../../../atoms/Image";
|
|
12
|
+
import { ImageTooltip } from "../../../molecules/ImageTooltip";
|
|
13
13
|
import {
|
|
14
14
|
faArrowUp as IconSend,
|
|
15
15
|
faImage as IconImage,
|
|
16
16
|
faTrash as IconDelete,
|
|
17
17
|
faExclamationTriangle as IconWarning,
|
|
18
18
|
} from "@fortawesome/free-solid-svg-icons";
|
|
19
|
-
import CustomIcon from "../../../atoms/CustomIcon";
|
|
20
|
-
import ButtonV2 from "../../../atoms/ButtonV2";
|
|
21
|
-
import IconFile from "../../../atoms/IconFile";
|
|
22
|
-
import Modal from "../../Modal";
|
|
23
|
-
import Tooltip from "../../../atoms/Tooltip";
|
|
19
|
+
import { CustomIcon } from "../../../atoms/CustomIcon";
|
|
20
|
+
import { ButtonV2 } from "../../../atoms/ButtonV2";
|
|
21
|
+
import { IconFile } from "../../../atoms/IconFile";
|
|
22
|
+
import { Modal } from "../../Modal";
|
|
23
|
+
import { Tooltip } from "../../../atoms/Tooltip";
|
|
24
24
|
import { Fade, Tooltip as TooltipMUI, Zoom } from "@mui/material";
|
|
25
|
-
import ButtonFileChooser from "../../../atoms/ButtonFileChooser";
|
|
25
|
+
import { ButtonFileChooser } from "../../../atoms/ButtonFileChooser";
|
|
26
26
|
import { Slide } from "@mui/material";
|
|
27
27
|
// carrousel
|
|
28
28
|
import { Swiper, SwiperSlide } from "swiper/react";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
isStringEmpty,
|
|
40
40
|
isValidNaturalNumber,
|
|
41
41
|
} from "../../../../global-files/utils";
|
|
42
|
-
import InputText from "../../../atoms/InputText";
|
|
42
|
+
import { InputText } from "../../../atoms/InputText";
|
|
43
43
|
|
|
44
44
|
const S3_BUCKET = process.env.REACT_APP_IMAGES_BUCKET;
|
|
45
45
|
const REGION = "us-east-1";
|
|
@@ -54,7 +54,7 @@ const myBucket = new AWS.S3({
|
|
|
54
54
|
region: REGION,
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
export
|
|
57
|
+
export const Footer = (props) => {
|
|
58
58
|
const {
|
|
59
59
|
chatType, // "merchant_product" | "order_product" | "ticket"
|
|
60
60
|
dataChat /* {
|
|
@@ -666,4 +666,4 @@ export default function Footer(props) {
|
|
|
666
666
|
/>
|
|
667
667
|
</>
|
|
668
668
|
);
|
|
669
|
-
}
|
|
669
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
|
-
import CustomIcon from "../../../atoms/CustomIcon";
|
|
4
|
-
import ButtonV2 from "../../../atoms/ButtonV2";
|
|
5
|
-
import Image from "../../../atoms/Image";
|
|
3
|
+
import { CustomIcon } from "../../../atoms/CustomIcon";
|
|
4
|
+
import { ButtonV2 } from "../../../atoms/ButtonV2";
|
|
5
|
+
import { Image } from "../../../atoms/Image";
|
|
6
6
|
import {
|
|
7
7
|
faComments as IconChat,
|
|
8
8
|
faClose as IconX,
|
|
9
9
|
faImage as IconImage,
|
|
10
10
|
} from "@fortawesome/free-solid-svg-icons";
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export const Header = (props) => {
|
|
13
13
|
const {
|
|
14
14
|
showBtnClose, // boolean
|
|
15
15
|
showChatsList, // boolean
|
|
@@ -91,4 +91,4 @@ export default function Header(props) {
|
|
|
91
91
|
</Container>
|
|
92
92
|
</>
|
|
93
93
|
);
|
|
94
|
-
}
|
|
94
|
+
};
|
|
@@ -4,8 +4,7 @@ import {
|
|
|
4
4
|
ContainerPopUp,
|
|
5
5
|
} from "./styles";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
|
-
import
|
|
8
|
-
import ButtonV2 from "../../atoms/ButtonV2";
|
|
7
|
+
import { ButtonV2 } from "../../atoms/ButtonV2";
|
|
9
8
|
import { ContentChat } from "./ContentChat";
|
|
10
9
|
import { faComments as IconChat } from "@fortawesome/free-solid-svg-icons";
|
|
11
10
|
import { Slide } from "@mui/material";
|
|
@@ -14,7 +13,7 @@ import {
|
|
|
14
13
|
isValidNaturalNumber,
|
|
15
14
|
} from "../../../global-files/utils";
|
|
16
15
|
|
|
17
|
-
export
|
|
16
|
+
export const Chat = (props) => {
|
|
18
17
|
const {
|
|
19
18
|
chatType, // "merchant_product" | "order_product" | "ticket"
|
|
20
19
|
chatContainerType, // ("fixed") | ("popUp")
|
|
@@ -292,4 +291,4 @@ export default function Chat(props) {
|
|
|
292
291
|
)}
|
|
293
292
|
</>
|
|
294
293
|
);
|
|
295
|
-
}
|
|
294
|
+
};
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "@fortawesome/free-solid-svg-icons";
|
|
9
9
|
import { FontAwesomeIcon as Icon } from "@fortawesome/react-fontawesome";
|
|
10
10
|
import { Fade, Grow, Zoom, Modal as ModalMUI, Backdrop } from "@mui/material";
|
|
11
|
-
import ButtonV2 from "../../atoms/ButtonV2";
|
|
12
|
-
import CustomIcon from "../../atoms/CustomIcon";
|
|
11
|
+
import { ButtonV2 } from "../../atoms/ButtonV2";
|
|
12
|
+
import { CustomIcon } from "../../atoms/CustomIcon";
|
|
13
13
|
|
|
14
|
-
export
|
|
14
|
+
export const Modal = (props) => {
|
|
15
15
|
const {
|
|
16
16
|
className, // clases CSS del componente raiz del modal
|
|
17
17
|
show, // boolean
|
|
@@ -94,4 +94,4 @@ export default function Modal(props) {
|
|
|
94
94
|
</Fade>
|
|
95
95
|
</Backdrop>
|
|
96
96
|
);
|
|
97
|
-
}
|
|
97
|
+
};
|
package/src/index.js
CHANGED
|
@@ -23,7 +23,16 @@ export * from "./components/atoms/Status/index";
|
|
|
23
23
|
export * from "./components/atoms/TabSection/index";
|
|
24
24
|
export * from "./components/atoms/ValidationPanel/index";
|
|
25
25
|
export * from "./components/atoms/VerticalSideMenuMainPage/index";
|
|
26
|
+
export * from "./components/atoms/ButtonFileChooser/index";
|
|
26
27
|
export * from "./components/atoms/ButtonV2/index";
|
|
28
|
+
export * from "./components/atoms/CustomIcon/index";
|
|
29
|
+
export * from "./components/atoms/IconFile/index";
|
|
30
|
+
export * from "./components/atoms/Image/index";
|
|
31
|
+
export * from "./components/atoms/ImageLink/index";
|
|
32
|
+
export * from "./components/atoms/ImagePreview/index";
|
|
33
|
+
export * from "./components/atoms/InputText/index";
|
|
34
|
+
export * from "./components/atoms/NotFound/index";
|
|
35
|
+
export * from "./components/atoms/Tooltip/index";
|
|
27
36
|
|
|
28
37
|
//molecules
|
|
29
38
|
export * from "./components/molecules/AvatarAndValidation/index";
|
|
@@ -50,6 +59,8 @@ export * from "./components/molecules/TagAndInput/index";
|
|
|
50
59
|
export * from "./components/molecules/VerificationCodeResetPasswordLogin/index";
|
|
51
60
|
export * from "./components/molecules/RetailerSelector/index";
|
|
52
61
|
export * from "./components/molecules/CustomSelect/index";
|
|
62
|
+
export * from "./components/molecules/ButtonDownloadFile/index";
|
|
63
|
+
export * from "./components/molecules/ImageTooltip/index";
|
|
53
64
|
|
|
54
65
|
//organisms
|
|
55
66
|
export * from "./components/organisms/ChangePassword/index";
|
|
@@ -61,6 +72,8 @@ export * from "./components/organisms/ImagePreviewer/index";
|
|
|
61
72
|
export * from "./components/organisms/ImagesGroup/index";
|
|
62
73
|
export * from "./components/organisms/InputGroup/index";
|
|
63
74
|
export * from "./components/organisms/ProductImageModal/index";
|
|
75
|
+
export * from "./components/organisms/Chat/index";
|
|
76
|
+
export * from "./components/organisms/Modal/index";
|
|
64
77
|
|
|
65
78
|
//pages
|
|
66
79
|
export * from "./components/pages/ChangePasswordLogin";
|