├── .npmignore ├── .eslintignore ├── src ├── components │ ├── Card │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── Card.d.ts │ │ ├── Card.js │ │ └── cardStyle.js │ ├── Button │ │ ├── index.js │ │ ├── index.d.ts │ │ └── Button.d.ts │ ├── SideMenu │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── SideMenu.d.ts │ │ └── sideMenuStyle.js │ ├── DateTime │ │ ├── index.js │ │ ├── index.d.ts │ │ └── dateTimeStyle.js │ ├── IconCard │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── iconCardStyle.js │ │ └── IconCard.d.ts │ ├── NavPills │ │ ├── index.js │ │ └── index.d.ts │ ├── Tooltip │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── Tooltip.js │ │ └── Tooltip.d.ts │ ├── AddButton │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── AddButton.js │ │ └── AddButton.d.ts │ ├── CardTitle │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── CardTitle.d.ts │ │ ├── cardTitleStyle.js │ │ └── CardTitle.js │ ├── ChartCard │ │ ├── index.js │ │ ├── index.d.ts │ │ └── ChartCard.d.ts │ ├── EditButton │ │ ├── index.js │ │ ├── index.d.ts │ │ └── EditButton.js │ ├── IconButton │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── iconButtonStyle.js │ │ ├── IconButton.js │ │ └── IconButton.d.ts │ ├── ImageCard │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── ImageCard.d.ts │ │ ├── ImageCard.js │ │ └── imageCardStyle.js │ ├── NotFound │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── NotFound.js │ │ └── NotFound.d.ts │ ├── Pagination │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── paginationStyle.js │ │ └── PaginationActions.js │ ├── SaveButton │ │ ├── index.js │ │ ├── index.d.ts │ │ └── SaveButton.js │ ├── StatsCard │ │ ├── index.js │ │ ├── index.d.ts │ │ └── StatsCard.d.ts │ ├── Typography │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── typographyStyle.js │ │ └── Typography.d.ts │ ├── Accordion │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── Accordion.d.ts │ │ └── accordionStyle.js │ ├── Forbidden │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── forbiddenStyle.js │ │ ├── Forbidden.d.ts │ │ └── Forbidden.js │ ├── Autocomplete │ │ ├── index.js │ │ ├── index.d.ts │ │ └── autocompleteStyle.js │ ├── BackToButton │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── BackToButton.js │ │ └── BackToButton.d.ts │ ├── CancelButton │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── CancelButton.js │ │ └── CancelButton.d.ts │ ├── Charts │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── components │ │ │ ├── ChartMix.js │ │ │ ├── ChartBar.js │ │ │ └── ChartLine.js │ │ └── ChartFactory.d.ts │ ├── CustomDialog │ │ ├── index.js │ │ ├── index.d.ts │ │ └── customDialogStyle.js │ ├── DeleteButton │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── DeleteButton.d.ts │ │ └── DeleteButton.js │ ├── DynamicInput │ │ ├── index.js │ │ ├── index.d.ts │ │ └── DynamicInput.d.ts │ ├── RegularCard │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── regularCardStyle.js │ │ └── RegularCard.d.ts │ ├── SimpleSlider │ │ ├── index.js │ │ ├── index.d.ts │ │ └── simpleSliderStyle.js │ ├── Toast │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── toastStyle.js │ │ ├── ToastContainer.d.ts │ │ ├── Toast.js │ │ └── ToastContainer.js │ ├── UploadButton │ │ ├── index.js │ │ ├── index.d.ts │ │ └── UploadButton.js │ ├── UpwardButton │ │ ├── index.js │ │ ├── index.d.ts │ │ └── UpwardButton.js │ ├── DialogDisplay │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── dialogDisplayStyle.js │ │ └── DialogDisplay.d.ts │ ├── ExpandingText │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── ExpandingText.d.ts │ │ └── ExpandingText.js │ ├── FakeText │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── LoadingFakeText.d.ts │ │ └── LoadingFakeText.js │ ├── PasswordField │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── PasswordField.d.ts │ │ └── PasswordField.js │ ├── CustomTextField │ │ ├── index.js │ │ ├── index.d.ts │ │ └── textFieldStyle.js │ ├── DownloadButton │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── DownloadButton.js │ │ └── DownloadButton.d.ts │ ├── DownwardButton │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── DownwardButton.js │ │ └── DownwardButton.d.ts │ ├── TemplateEditor │ │ ├── index.d.ts │ │ ├── index.js │ │ └── TemplateEditor.d.ts │ ├── FileUploadButton │ │ ├── index.d.ts │ │ ├── index.js │ │ └── FileUploadButton.d.ts │ ├── IconCollapseCard │ │ ├── index.d.ts │ │ ├── index.js │ │ └── iconCollapseCardStyle.js │ ├── CustomLinearProgress │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── CustomLinearProgress.d.ts │ │ ├── CustomLinearProgress.js │ │ └── customLinearProgressStyle.js │ ├── CheckInternetConnection │ │ ├── index.js │ │ └── CheckInternetConnection.js │ └── themes │ │ └── index.js ├── assets │ └── img │ │ └── defaultLogo.png └── utils │ └── constants.js ├── babel.config.cjs ├── __tests__ ├── Toast │ ├── __snapshots__ │ │ └── Toast.test.js.snap │ └── Toast.test.js ├── NotFound │ ├── __snapshots__ │ │ └── NotFound.test.js.snap │ └── NotFound.test.js ├── FakeText │ ├── FakeText.test.js │ └── __snapshots__ │ │ └── FakeText.test.js.snap ├── Typography │ └── Typography.test.js ├── Tooltip │ ├── Tooltip.test.js │ └── __snapshots__ │ │ └── Tooltip.test.js.snap ├── SideMenu │ ├── SideMenu.test.js │ └── __snapshots__ │ │ └── SideMenu.test.js.snap ├── CustomLinearProgress │ ├── CustomLinearProgress.test.js │ └── __snapshots__ │ │ └── CustomLinearProgress.test.js.snap ├── FileUploadButton │ ├── FileUploadButton.test.js │ └── __snapshots__ │ │ └── FileUploadButton.test.js.snap ├── IconButton │ ├── IconButton.test.js │ └── __snapshots__ │ │ └── IconButton.test.js.snap ├── Forbidden │ └── Forbidden.test.js ├── BackToButton │ └── BackToButton.test.js ├── CancelButton │ └── CancelButton.test.js ├── RegularCard │ ├── RegularCard.test.js │ └── __snapshots__ │ │ └── RegularCard.test.js.snap ├── EditButton │ └── EditButton.test.js ├── Pagination │ └── Pagination.test.js ├── StatsCard │ ├── StatsCard.test.js │ └── __snapshots__ │ │ └── StatsCard.test.js.snap ├── ExpandingText │ ├── __snapshots__ │ │ └── ExpandingText.test.js.snap │ └── ExpandingText.test.js ├── ImageCard │ └── ImageCard.test.js ├── DialogDisplay │ └── DialogDisplay.test.js ├── SimpleSlider │ └── SimpleSlider.test.js ├── PasswordField │ └── PasswordField.test.js ├── IconCollapseCard │ └── IconCollapseCard.test.js ├── SaveButton │ └── SaveButton.test.js ├── NavPills │ └── NavPills.test.js ├── UploadButton │ └── UploadButton.test.js ├── UpwardButton │ └── UpwardButton.test.js ├── IconCard │ └── IconCard.test.js ├── AddButton │ └── AddButton.test.js ├── CustomTextField │ └── CustomTextField.test.js ├── Card │ └── Card.test.js ├── DownloadButton │ └── DownloadButton.test.js ├── CardTitle │ └── CardTitle.test.js ├── DownwardButton │ └── DownwardButton.test.js ├── DeleteButton │ └── DeleteButton.test.js ├── Datetime │ └── Datetime.test.js ├── Accordion │ └── Accordion.test.js └── Button │ └── Button.test.js ├── .editorconfig ├── .prettier.json ├── setupTests.js ├── .vscode ├── settings.json └── launch.json ├── .github ├── release-drafter.yml ├── workflows │ └── release-drafter.yml └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── LICENSE └── .eslintrc.json /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | src/ 3 | components/ 4 | rollup.config.mjs -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build/ 2 | dist/ 3 | node_modules/ 4 | .snapshots/ 5 | *.min.js -------------------------------------------------------------------------------- /src/components/Card/index.js: -------------------------------------------------------------------------------- 1 | import Card from "./Card"; 2 | export default Card; -------------------------------------------------------------------------------- /src/components/Button/index.js: -------------------------------------------------------------------------------- 1 | import Button from "./Button"; 2 | export default Button; -------------------------------------------------------------------------------- /src/components/Card/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Card'; 2 | export * from './Card'; -------------------------------------------------------------------------------- /src/components/SideMenu/index.js: -------------------------------------------------------------------------------- 1 | import SideMenu from './SideMenu' 2 | export default SideMenu -------------------------------------------------------------------------------- /src/components/Button/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Button'; 2 | export * from './Button'; -------------------------------------------------------------------------------- /src/components/DateTime/index.js: -------------------------------------------------------------------------------- 1 | import DateTime from "./DateTime"; 2 | export default DateTime; -------------------------------------------------------------------------------- /src/components/IconCard/index.js: -------------------------------------------------------------------------------- 1 | import IconCard from "./IconCard"; 2 | export default IconCard; -------------------------------------------------------------------------------- /src/components/NavPills/index.js: -------------------------------------------------------------------------------- 1 | import NavPills from "./NavPills"; 2 | export default NavPills; -------------------------------------------------------------------------------- /src/components/Tooltip/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Tooltip' 2 | export * from './Tooltip' -------------------------------------------------------------------------------- /src/components/Tooltip/index.js: -------------------------------------------------------------------------------- 1 | import Tooltip from "./Tooltip"; 2 | export default Tooltip; 3 | -------------------------------------------------------------------------------- /src/components/AddButton/index.js: -------------------------------------------------------------------------------- 1 | import AddButton from "./AddButton"; 2 | export default AddButton; -------------------------------------------------------------------------------- /src/components/CardTitle/index.js: -------------------------------------------------------------------------------- 1 | import CardTitle from "./CardTitle"; 2 | export default CardTitle; -------------------------------------------------------------------------------- /src/components/ChartCard/index.js: -------------------------------------------------------------------------------- 1 | import ChartCard from "./ChartCard"; 2 | export default ChartCard; -------------------------------------------------------------------------------- /src/components/DateTime/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DateTime'; 2 | export * from './DateTime'; -------------------------------------------------------------------------------- /src/components/EditButton/index.js: -------------------------------------------------------------------------------- 1 | import EditButton from "./EditButton"; 2 | export default EditButton; -------------------------------------------------------------------------------- /src/components/IconButton/index.js: -------------------------------------------------------------------------------- 1 | import IconButton from "./IconButton"; 2 | export default IconButton; -------------------------------------------------------------------------------- /src/components/IconCard/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './IconCard'; 2 | export * from './IconCard'; -------------------------------------------------------------------------------- /src/components/ImageCard/index.js: -------------------------------------------------------------------------------- 1 | import ImageCard from "./ImageCard"; 2 | export default ImageCard; -------------------------------------------------------------------------------- /src/components/NavPills/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './NavPills'; 2 | export * from './NavPills'; -------------------------------------------------------------------------------- /src/components/NotFound/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './NotFound'; 2 | export * from './NotFound'; -------------------------------------------------------------------------------- /src/components/NotFound/index.js: -------------------------------------------------------------------------------- 1 | import NotFound from "./NotFound"; 2 | export default NotFound; 3 | -------------------------------------------------------------------------------- /src/components/Pagination/index.js: -------------------------------------------------------------------------------- 1 | import Pagination from "./Pagination"; 2 | export default Pagination; -------------------------------------------------------------------------------- /src/components/SaveButton/index.js: -------------------------------------------------------------------------------- 1 | import SaveButton from "./SaveButton"; 2 | export default SaveButton; -------------------------------------------------------------------------------- /src/components/SideMenu/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './SideMenu' 2 | export * from './SideMenu' -------------------------------------------------------------------------------- /src/components/StatsCard/index.js: -------------------------------------------------------------------------------- 1 | import StatsCard from "./StatsCard"; 2 | export default StatsCard; -------------------------------------------------------------------------------- /src/components/Typography/index.js: -------------------------------------------------------------------------------- 1 | import Typography from './Typography'; 2 | export default Typography; -------------------------------------------------------------------------------- /babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@babel/preset-env', '@babel/preset-react'], 3 | }; -------------------------------------------------------------------------------- /src/components/Accordion/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Accordion'; 2 | export * from './Accordion'; -------------------------------------------------------------------------------- /src/components/Accordion/index.js: -------------------------------------------------------------------------------- 1 | import Accordion from "./Accordion"; 2 | export default Accordion; 3 | -------------------------------------------------------------------------------- /src/components/AddButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './AddButton'; 2 | export * from './AddButton'; -------------------------------------------------------------------------------- /src/components/CardTitle/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './CardTitle'; 2 | export * from './CardTitle'; -------------------------------------------------------------------------------- /src/components/ChartCard/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ChartCard'; 2 | export * from './ChartCard'; -------------------------------------------------------------------------------- /src/components/Forbidden/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Forbidden'; 2 | export * from './Forbidden'; -------------------------------------------------------------------------------- /src/components/Forbidden/index.js: -------------------------------------------------------------------------------- 1 | import Forbidden from "./Forbidden"; 2 | export default Forbidden; 3 | -------------------------------------------------------------------------------- /src/components/ImageCard/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ImageCard'; 2 | export * from './ImageCard'; -------------------------------------------------------------------------------- /src/components/StatsCard/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './StatsCard'; 2 | export * from './StatsCard'; -------------------------------------------------------------------------------- /src/components/Autocomplete/index.js: -------------------------------------------------------------------------------- 1 | import Autocomplete from "./Autocomplete"; 2 | export default Autocomplete; -------------------------------------------------------------------------------- /src/components/BackToButton/index.js: -------------------------------------------------------------------------------- 1 | import BackToButton from "./BackToButton"; 2 | export default BackToButton; -------------------------------------------------------------------------------- /src/components/CancelButton/index.js: -------------------------------------------------------------------------------- 1 | import CancelButton from "./CancelButton"; 2 | export default CancelButton; -------------------------------------------------------------------------------- /src/components/Charts/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ChartFactory'; 2 | export * from './ChartFactory'; -------------------------------------------------------------------------------- /src/components/Charts/index.js: -------------------------------------------------------------------------------- 1 | import ChartFactory from "./ChartFactory"; 2 | export default ChartFactory; 3 | -------------------------------------------------------------------------------- /src/components/CustomDialog/index.js: -------------------------------------------------------------------------------- 1 | import CustomDialog from "./CustomDialog"; 2 | export default CustomDialog; -------------------------------------------------------------------------------- /src/components/DeleteButton/index.js: -------------------------------------------------------------------------------- 1 | import DeleteButton from "./DeleteButton"; 2 | export default DeleteButton; -------------------------------------------------------------------------------- /src/components/DynamicInput/index.js: -------------------------------------------------------------------------------- 1 | import DynamicInput from "./DynamicInput"; 2 | export default DynamicInput; -------------------------------------------------------------------------------- /src/components/EditButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './EditButton'; 2 | export * from './EditButton'; -------------------------------------------------------------------------------- /src/components/IconButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './IconButton'; 2 | export * from './IconButton'; -------------------------------------------------------------------------------- /src/components/Pagination/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Pagination'; 2 | export * from './Pagination'; -------------------------------------------------------------------------------- /src/components/RegularCard/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './RegularCard'; 2 | export * from './RegularCard'; -------------------------------------------------------------------------------- /src/components/RegularCard/index.js: -------------------------------------------------------------------------------- 1 | import RegularCard from "./RegularCard"; 2 | export default RegularCard; 3 | -------------------------------------------------------------------------------- /src/components/SaveButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './SaveButton'; 2 | export * from './SaveButton'; -------------------------------------------------------------------------------- /src/components/SimpleSlider/index.js: -------------------------------------------------------------------------------- 1 | import SimpleSlider from "./SimpleSlider"; 2 | export default SimpleSlider; -------------------------------------------------------------------------------- /src/components/Toast/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ToastContainer'; 2 | export * from './ToastContainer'; -------------------------------------------------------------------------------- /src/components/Typography/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Typography'; 2 | export * from './Typography'; -------------------------------------------------------------------------------- /src/components/UploadButton/index.js: -------------------------------------------------------------------------------- 1 | import UploadButton from "./UploadButton"; 2 | export default UploadButton; -------------------------------------------------------------------------------- /src/components/UpwardButton/index.js: -------------------------------------------------------------------------------- 1 | import UpwardButton from "./UpwardButton"; 2 | export default UpwardButton; -------------------------------------------------------------------------------- /src/components/Autocomplete/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Autocomplete'; 2 | export * from './Autocomplete'; -------------------------------------------------------------------------------- /src/components/BackToButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './BackToButton'; 2 | export * from './BackToButton'; -------------------------------------------------------------------------------- /src/components/CancelButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './CancelButton'; 2 | export * from './CancelButton'; -------------------------------------------------------------------------------- /src/components/CustomDialog/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './CustomDialog'; 2 | export * from './CustomDialog'; -------------------------------------------------------------------------------- /src/components/DeleteButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DeleteButton'; 2 | export * from './DeleteButton'; -------------------------------------------------------------------------------- /src/components/DialogDisplay/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DialogDisplay'; 2 | export * from './DialogDisplay'; -------------------------------------------------------------------------------- /src/components/DialogDisplay/index.js: -------------------------------------------------------------------------------- 1 | import DialogDisplay from "./DialogDisplay"; 2 | export default DialogDisplay; -------------------------------------------------------------------------------- /src/components/DynamicInput/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DynamicInput'; 2 | export * from './DynamicInput'; -------------------------------------------------------------------------------- /src/components/ExpandingText/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ExpandingText'; 2 | export * from './ExpandingText'; -------------------------------------------------------------------------------- /src/components/FakeText/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './LoadingFakeText'; 2 | export * from './LoadingFakeText'; -------------------------------------------------------------------------------- /src/components/PasswordField/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './PasswordField'; 2 | export * from './PasswordField'; -------------------------------------------------------------------------------- /src/components/PasswordField/index.js: -------------------------------------------------------------------------------- 1 | import PasswordField from "./PasswordField"; 2 | export default PasswordField; -------------------------------------------------------------------------------- /src/components/SimpleSlider/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './SimpleSlider'; 2 | export * from './SimpleSlider'; -------------------------------------------------------------------------------- /src/components/UploadButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './UploadButton'; 2 | export * from './UploadButton'; -------------------------------------------------------------------------------- /src/components/UpwardButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './UpwardButton'; 2 | export * from './UpwardButton'; -------------------------------------------------------------------------------- /src/components/CustomTextField/index.js: -------------------------------------------------------------------------------- 1 | import CustomTextField from "./CustomTextField"; 2 | export default CustomTextField; -------------------------------------------------------------------------------- /src/components/DownloadButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DownloadButton'; 2 | export * from './DownloadButton'; -------------------------------------------------------------------------------- /src/components/DownloadButton/index.js: -------------------------------------------------------------------------------- 1 | import DownloadButton from "./DownloadButton"; 2 | export default DownloadButton; -------------------------------------------------------------------------------- /src/components/DownwardButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DownwardButton'; 2 | export * from './DownwardButton'; -------------------------------------------------------------------------------- /src/components/DownwardButton/index.js: -------------------------------------------------------------------------------- 1 | import DownwardButton from "./DownwardButton"; 2 | export default DownwardButton; -------------------------------------------------------------------------------- /src/components/ExpandingText/index.js: -------------------------------------------------------------------------------- 1 | import ExpandingText from "./ExpandingText"; 2 | export default ExpandingText; 3 | -------------------------------------------------------------------------------- /src/components/FakeText/index.js: -------------------------------------------------------------------------------- 1 | import LoadingFakeText from "./LoadingFakeText"; 2 | export default LoadingFakeText; 3 | -------------------------------------------------------------------------------- /src/components/TemplateEditor/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './TemplateEditor'; 2 | export * from './TemplateEditor'; -------------------------------------------------------------------------------- /src/components/TemplateEditor/index.js: -------------------------------------------------------------------------------- 1 | import TemplateEditor from "./TemplateEditor"; 2 | export default TemplateEditor; -------------------------------------------------------------------------------- /src/components/CustomTextField/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './CustomTextField'; 2 | export * from './CustomTextField'; -------------------------------------------------------------------------------- /src/components/FileUploadButton/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './FileUploadButton'; 2 | export * from './FileUploadButton'; -------------------------------------------------------------------------------- /src/components/FileUploadButton/index.js: -------------------------------------------------------------------------------- 1 | import FileUploadButton from "./FileUploadButton"; 2 | export default FileUploadButton; -------------------------------------------------------------------------------- /src/components/IconCollapseCard/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './IconCollapseCard'; 2 | export * from './IconCollapseCard'; -------------------------------------------------------------------------------- /src/components/IconCollapseCard/index.js: -------------------------------------------------------------------------------- 1 | import IconCollapseCard from "./IconCollapseCard"; 2 | export default IconCollapseCard; -------------------------------------------------------------------------------- /src/assets/img/defaultLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osstotalsoft/rocket-webapp-components/HEAD/src/assets/img/defaultLogo.png -------------------------------------------------------------------------------- /src/components/CustomLinearProgress/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default } from './CustomLinearProgress'; 2 | export * from './CustomLinearProgress'; -------------------------------------------------------------------------------- /src/components/CustomLinearProgress/index.js: -------------------------------------------------------------------------------- 1 | import CustomLinearProgress from "./CustomLinearProgress"; 2 | export default CustomLinearProgress; -------------------------------------------------------------------------------- /src/components/CheckInternetConnection/index.js: -------------------------------------------------------------------------------- 1 | import CheckInternetConnection from "./CheckInternetConnection"; 2 | export default CheckInternetConnection; -------------------------------------------------------------------------------- /src/components/Toast/index.js: -------------------------------------------------------------------------------- 1 | import { useToast } from "./Toast"; 2 | import ToastContainer from "./ToastContainer"; 3 | export { useToast, ToastContainer }; -------------------------------------------------------------------------------- /src/utils/constants.js: -------------------------------------------------------------------------------- 1 | export const emptyArray = [] 2 | export const emptyObject = {} 3 | export const emptyString = '' 4 | export const emptyFunction = () => {} 5 | -------------------------------------------------------------------------------- /__tests__/Toast/__snapshots__/Toast.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`ToastContainer Snapshot 1`] = ` 4 |
7 | `; 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.prettier.json: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 140, 3 | "tabWidth": 2, 4 | "singleQuote": true, 5 | "semi": false, 6 | "jsxSingleQuote": true, 7 | "trailingComma": "none", 8 | "arrowParens": "avoid" 9 | } 10 | -------------------------------------------------------------------------------- /setupTests.js: -------------------------------------------------------------------------------- 1 | import { configure } from 'enzyme' 2 | import Adapter from 'enzyme-adapter-react-16' 3 | import 'regenerator-runtime/runtime' 4 | import '@testing-library/jest-dom' 5 | 6 | configure({ adapter: new Adapter() }) -------------------------------------------------------------------------------- /__tests__/NotFound/__snapshots__/NotFound.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Render NotFound render correctly NotFound component 1`] = ` 4 | 7 | `; 8 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "javascript.validate.enable": false, 3 | "javascript.format.enable": true, 4 | "typescript.format.enable": false, 5 | "editor.defaultFormatter": "esbenp.prettier-vscode", 6 | "[javascript]": { 7 | "editor.defaultFormatter": "esbenp.prettier-vscode" 8 | } 9 | } -------------------------------------------------------------------------------- /src/components/CheckInternetConnection/CheckInternetConnection.js: -------------------------------------------------------------------------------- 1 | import 'offline-js/offline.min.js'; 2 | import 'offline-js/themes/offline-theme-chrome.css'; 3 | import 'offline-js/themes/offline-language-english.css'; 4 | 5 | const CheckInternetConnection = () => null 6 | 7 | export default CheckInternetConnection; -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | name-template: v$NEXT_PATCH_VERSION 2 | tag-template: v$NEXT_PATCH_VERSION 3 | categories: 4 | - title: 🚀 Features 5 | label: feature 6 | - title: 🐛 Bug Fixes 7 | label: fix 8 | - title: 🛠️ Maintenance 9 | label: chore 10 | change-template: '- $TITLE @$AUTHOR (#$NUMBER)' 11 | template: | 12 | ## Changes 13 | $CHANGES -------------------------------------------------------------------------------- /src/components/Forbidden/forbiddenStyle.js: -------------------------------------------------------------------------------- 1 | const forbiddenStyle = () => { 2 | return { 3 | cardStyle: { 4 | backgroundColor: "#f44336", 5 | padding: "6px 16px", 6 | textAlign: "center", 7 | marginTop: '50px' 8 | }, 9 | textStyle: { 10 | color: "#fff" 11 | } 12 | } 13 | } 14 | 15 | export default forbiddenStyle; -------------------------------------------------------------------------------- /__tests__/Toast/Toast.test.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import renderer from "react-test-renderer"; 3 | import ToastContainer from "../../components/Toast/ToastContainer"; 4 | 5 | describe("ToastContainer", () => { 6 | it("Snapshot", () => { 7 | const component = renderer.create(34 | Title 35 |
36 |