From ebc2b208d24865ff5eef930f50f94b038d897980 Mon Sep 17 00:00:00 2001 From: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Date: Wed, 1 Dec 2021 12:07:19 -0800 Subject: [PATCH] Icons (#1275) * Updated Icons * Tweaks after rebase Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> * Fix Object Manager Icons Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> --- iconos/Tools.svg | 9 - portal-ui/src/icons/AccountIcon.tsx | 101 +- portal-ui/src/icons/AddFolderIcon.tsx | 54 +- portal-ui/src/icons/AddIcon.tsx | 36 +- portal-ui/src/icons/AllBucketsIcon.tsx | 85 +- portal-ui/src/icons/ArrowIcon.tsx | 45 + portal-ui/src/icons/ArrowRightIcon.tsx | 37 +- portal-ui/src/icons/BackSettingsIcon.tsx | 53 +- portal-ui/src/icons/BucketsIcon.tsx | 49 +- portal-ui/src/icons/CalendarIcon.tsx | 113 +- portal-ui/src/icons/CircleIcon.tsx | 33 +- portal-ui/src/icons/ClustersIcon.tsx | 43 +- portal-ui/src/icons/CollapseIcon.tsx | 45 + portal-ui/src/icons/ComputerLineIcon.tsx | 48 +- .../src/icons/ConfigurationsListIcon.tsx | 50 +- portal-ui/src/icons/ConsoleIcon.tsx | 57 +- portal-ui/src/icons/CopyIcon.tsx | 42 +- portal-ui/src/icons/CreateIcon.tsx | 52 +- portal-ui/src/icons/DashboardIcon.tsx | 66 +- portal-ui/src/icons/DeleteIcon.tsx | 48 +- portal-ui/src/icons/DiagnosticIcon.tsx | 47 +- portal-ui/src/icons/DocumentationIcon.tsx | 75 +- portal-ui/src/icons/DownloadIcon.tsx | 40 +- portal-ui/src/icons/DownloadStatIcon.tsx | 43 +- portal-ui/src/icons/DrivesIcon.tsx | 62 +- portal-ui/src/icons/EditIcon.tsx | 43 +- portal-ui/src/icons/EgressIcon.tsx | 83 +- portal-ui/src/icons/FileBookIcon.tsx | 35 +- portal-ui/src/icons/FileCloudIcon.tsx | 35 +- portal-ui/src/icons/FileCodeIcon.tsx | 39 +- portal-ui/src/icons/FileConfigIcon.tsx | 37 +- portal-ui/src/icons/FileDbIcon.tsx | 39 +- portal-ui/src/icons/FileFontIcon.tsx | 35 +- portal-ui/src/icons/FileImageIcon.tsx | 35 +- portal-ui/src/icons/FileLinkIcon.tsx | 37 +- portal-ui/src/icons/FileLockIcon.tsx | 37 +- portal-ui/src/icons/FileMissingIcon.tsx | 39 +- portal-ui/src/icons/FileMusicIcon.tsx | 35 +- portal-ui/src/icons/FilePdfIcon.tsx | 35 +- portal-ui/src/icons/FilePptIcon.tsx | 37 +- portal-ui/src/icons/FileTxtIcon.tsx | 43 +- portal-ui/src/icons/FileVideoIcon.tsx | 35 +- portal-ui/src/icons/FileWorldIcon.tsx | 35 +- portal-ui/src/icons/FileXlsIcon.tsx | 35 +- portal-ui/src/icons/FileZipIcon.tsx | 53 +- portal-ui/src/icons/FolderIcon.tsx | 40 +- portal-ui/src/icons/GroupsIcon.tsx | 104 +- portal-ui/src/icons/HealIcon.tsx | 53 +- portal-ui/src/icons/HelpIcon.tsx | 42 +- portal-ui/src/icons/HistoryIcon.tsx | 65 +- portal-ui/src/icons/IAMPoliciesIcon.tsx | 54 +- portal-ui/src/icons/JSONIcon.tsx | 67 +- portal-ui/src/icons/LambdaBalloonIcon.tsx | 40 + portal-ui/src/icons/LambdaIcon.tsx | 41 +- portal-ui/src/icons/LicenseIcon.tsx | 73 +- portal-ui/src/icons/LockIcon.tsx | 35 +- portal-ui/src/icons/LogoutIcon.tsx | 55 +- portal-ui/src/icons/LogsIcon.tsx | 50 +- portal-ui/src/icons/MirroringIcon.tsx | 43 +- portal-ui/src/icons/NextArrowIcon.tsx | 42 +- portal-ui/src/icons/ObjectBrowser1Icon.tsx | 70 ++ portal-ui/src/icons/ObjectBrowserIcon.tsx | 68 +- portal-ui/src/icons/OpenListIcon.tsx | 41 +- portal-ui/src/icons/PermissionIcon.tsx | 47 +- portal-ui/src/icons/PreviewIcon.tsx | 35 +- portal-ui/src/icons/PrometheusIcon.tsx | 40 +- portal-ui/src/icons/RecoverIcon.tsx | 40 +- portal-ui/src/icons/RedoIcon.tsx | 46 +- portal-ui/src/icons/RefreshIcon.tsx | 39 +- portal-ui/src/icons/RemoveIcon.tsx | 39 +- portal-ui/src/icons/ReportedUsageIcon.tsx | 46 +- portal-ui/src/icons/SearchIcon.tsx | 40 +- portal-ui/src/icons/SelectMultipleIcon.tsx | 36 +- portal-ui/src/icons/ServersIcon.tsx | 71 +- portal-ui/src/icons/ServiceAccountIcon.tsx | 47 +- portal-ui/src/icons/SettingsIcon.tsx | 42 +- portal-ui/src/icons/ShareIcon.tsx | 49 +- portal-ui/src/icons/SpeedtestIcon.tsx | 88 +- portal-ui/src/icons/StorageIcon.tsx | 115 +- portal-ui/src/icons/SyncIcon.tsx | 43 +- portal-ui/src/icons/TenantsIcon.tsx | 54 +- portal-ui/src/icons/TenantsOutlineIcon.tsx | 36 +- portal-ui/src/icons/TiersIcon.tsx | 41 +- portal-ui/src/icons/ToolsIcon.tsx | 57 +- portal-ui/src/icons/TotalObjectsIcon.tsx | 35 +- portal-ui/src/icons/TraceIcon.tsx | 46 +- portal-ui/src/icons/TrashIcon.tsx | 43 +- portal-ui/src/icons/UploadIcon.tsx | 51 +- portal-ui/src/icons/UploadStatIcon.tsx | 45 +- portal-ui/src/icons/UptimeIcon.tsx | 53 +- portal-ui/src/icons/UsersIcon.tsx | 50 +- portal-ui/src/icons/VersionIcon.tsx | 33 +- portal-ui/src/icons/WarnIcon.tsx | 30 +- portal-ui/src/icons/WarpIcon.tsx | 47 +- portal-ui/src/icons/WatchIcon.tsx | 123 +-- portal-ui/src/icons/index.ts | 190 ++-- .../Buckets/BucketDetails/AccessRulePanel.tsx | 3 +- .../Buckets/BucketDetails/BrowserHandler.tsx | 2 +- .../Buckets/BucketDetails/BucketDetails.tsx | 5 +- .../BucketDetails/BucketEventsPanel.tsx | 4 +- .../BucketDetails/BucketReplicationPanel.tsx | 4 +- .../Objects/ListObjects/ListObjects.tsx | 39 +- .../ListBuckets/Objects/ListObjects/utils.tsx | 64 +- .../Objects/ObjectDetails/ObjectDetails.tsx | 29 +- .../Objects/ObjectDetails/ShareFile.tsx | 4 +- .../DateTimePickerWrapper.tsx | 2 +- .../screens/Console/Common/IconsScreen.tsx | 981 ++++++++---------- .../Common/ObjectManager/ObjectHandled.tsx | 14 +- portal-ui/src/screens/Console/Menu/Menu.tsx | 2 +- .../Tenants/AddTenant/Steps/Security.tsx | 15 +- 110 files changed, 3150 insertions(+), 2933 deletions(-) delete mode 100644 iconos/Tools.svg create mode 100644 portal-ui/src/icons/ArrowIcon.tsx create mode 100644 portal-ui/src/icons/CollapseIcon.tsx create mode 100644 portal-ui/src/icons/LambdaBalloonIcon.tsx create mode 100644 portal-ui/src/icons/ObjectBrowser1Icon.tsx diff --git a/iconos/Tools.svg b/iconos/Tools.svg deleted file mode 100644 index 7e22782c2..000000000 --- a/iconos/Tools.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/portal-ui/src/icons/AccountIcon.tsx b/portal-ui/src/icons/AccountIcon.tsx index 81d665df9..a6a3e350f 100644 --- a/portal-ui/src/icons/AccountIcon.tsx +++ b/portal-ui/src/icons/AccountIcon.tsx @@ -17,83 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const AccountIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - - - - - +const AccountIcon = (props: SVGProps) => ( + + + + + + + + + + + - - ); -}; + + +); export default AccountIcon; diff --git a/portal-ui/src/icons/AddFolderIcon.tsx b/portal-ui/src/icons/AddFolderIcon.tsx index d754d2190..580de99d6 100644 --- a/portal-ui/src/icons/AddFolderIcon.tsx +++ b/portal-ui/src/icons/AddFolderIcon.tsx @@ -17,34 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const AddFolderIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - +const AddFolderIcon = (props: SVGProps) => ( + + + + + + + + + + - - ); -}; + + + +); export default AddFolderIcon; diff --git a/portal-ui/src/icons/AddIcon.tsx b/portal-ui/src/icons/AddIcon.tsx index c71782b27..d15238a7f 100644 --- a/portal-ui/src/icons/AddIcon.tsx +++ b/portal-ui/src/icons/AddIcon.tsx @@ -17,22 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const AddIcon = (props: SVGProps) => { - return ( - +const AddIcon = (props: SVGProps) => ( + + + + + + + + + - - ); -}; + + +); export default AddIcon; diff --git a/portal-ui/src/icons/AllBucketsIcon.tsx b/portal-ui/src/icons/AllBucketsIcon.tsx index 8f4308a70..9a0f2ce5b 100644 --- a/portal-ui/src/icons/AllBucketsIcon.tsx +++ b/portal-ui/src/icons/AllBucketsIcon.tsx @@ -14,66 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const AllBucketsIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - ); -}; +const AllBucketsIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default AllBucketsIcon; diff --git a/portal-ui/src/icons/ArrowIcon.tsx b/portal-ui/src/icons/ArrowIcon.tsx new file mode 100644 index 000000000..ec2225e37 --- /dev/null +++ b/portal-ui/src/icons/ArrowIcon.tsx @@ -0,0 +1,45 @@ +// This file is part of MinIO Console Server +// Copyright (c) 2021 MinIO, Inc. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +import React, { SVGProps } from "react"; + +const ArrowIcon = (props: SVGProps) => { + return ( + + + + + + + + + + + + + ); +}; + +export default ArrowIcon; diff --git a/portal-ui/src/icons/ArrowRightIcon.tsx b/portal-ui/src/icons/ArrowRightIcon.tsx index b49ed3e01..05657bbf3 100644 --- a/portal-ui/src/icons/ArrowRightIcon.tsx +++ b/portal-ui/src/icons/ArrowRightIcon.tsx @@ -17,18 +17,29 @@ import * as React from "react"; import { SVGProps } from "react"; -const ArrowRightIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const ArrowRightIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default ArrowRightIcon; diff --git a/portal-ui/src/icons/BackSettingsIcon.tsx b/portal-ui/src/icons/BackSettingsIcon.tsx index c450009a3..c264a8109 100644 --- a/portal-ui/src/icons/BackSettingsIcon.tsx +++ b/portal-ui/src/icons/BackSettingsIcon.tsx @@ -14,40 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React from "react"; -import { SvgIcon } from "@mui/material"; +import * as React from "react"; +import { SVGProps } from "react"; -const BackSettingsIcon = () => ( - - - - - ) => ( + + + + + + + + + + - + ); export default BackSettingsIcon; diff --git a/portal-ui/src/icons/BucketsIcon.tsx b/portal-ui/src/icons/BucketsIcon.tsx index e9488bef1..cad0528ab 100644 --- a/portal-ui/src/icons/BucketsIcon.tsx +++ b/portal-ui/src/icons/BucketsIcon.tsx @@ -17,29 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const BucketsIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - ); -}; +const BucketsIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default BucketsIcon; diff --git a/portal-ui/src/icons/CalendarIcon.tsx b/portal-ui/src/icons/CalendarIcon.tsx index 7755a5139..f5e4bcab7 100644 --- a/portal-ui/src/icons/CalendarIcon.tsx +++ b/portal-ui/src/icons/CalendarIcon.tsx @@ -17,57 +17,66 @@ import * as React from "react"; import { SVGProps } from "react"; -const CalendarIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - ); -}; +const CalendarIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + + + + + + + + + + +); export default CalendarIcon; diff --git a/portal-ui/src/icons/CircleIcon.tsx b/portal-ui/src/icons/CircleIcon.tsx index 240df15bb..4529a0f68 100644 --- a/portal-ui/src/icons/CircleIcon.tsx +++ b/portal-ui/src/icons/CircleIcon.tsx @@ -17,18 +17,25 @@ import * as React from "react"; import { SVGProps } from "react"; -const circleIcon = (props: SVGProps) => { - return ( - +const CircleIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); -export default circleIcon; +export default CircleIcon; diff --git a/portal-ui/src/icons/ClustersIcon.tsx b/portal-ui/src/icons/ClustersIcon.tsx index 9b2f07b6b..b6fdb60fb 100644 --- a/portal-ui/src/icons/ClustersIcon.tsx +++ b/portal-ui/src/icons/ClustersIcon.tsx @@ -14,24 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const ClustersIcon = (props: SVGProps) => { - return ( - - - - - - - - ); -}; +const ClustersIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default ClustersIcon; diff --git a/portal-ui/src/icons/CollapseIcon.tsx b/portal-ui/src/icons/CollapseIcon.tsx new file mode 100644 index 000000000..47504ad22 --- /dev/null +++ b/portal-ui/src/icons/CollapseIcon.tsx @@ -0,0 +1,45 @@ +// This file is part of MinIO Console Server +// Copyright (c) 2021 MinIO, Inc. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +import * as React from "react"; +import { SVGProps } from "react"; + +const CollapseIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + + + +); + +export default CollapseIcon; diff --git a/portal-ui/src/icons/ComputerLineIcon.tsx b/portal-ui/src/icons/ComputerLineIcon.tsx index 1b3ff2460..183102b3f 100644 --- a/portal-ui/src/icons/ComputerLineIcon.tsx +++ b/portal-ui/src/icons/ComputerLineIcon.tsx @@ -14,33 +14,33 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const ComputerLineIcon = (props: SVGProps) => { - return ( - - +const ComputerLineIcon = (props: SVGProps) => ( + + + + + + + + + - - + - - ); -}; + + +); export default ComputerLineIcon; diff --git a/portal-ui/src/icons/ConfigurationsListIcon.tsx b/portal-ui/src/icons/ConfigurationsListIcon.tsx index 515d6824c..0f15c2e2c 100644 --- a/portal-ui/src/icons/ConfigurationsListIcon.tsx +++ b/portal-ui/src/icons/ConfigurationsListIcon.tsx @@ -14,31 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const ConfigurationsListIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - ); -}; +const ConfigurationsListIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default ConfigurationsListIcon; diff --git a/portal-ui/src/icons/ConsoleIcon.tsx b/portal-ui/src/icons/ConsoleIcon.tsx index fdedfc60a..1596bcabd 100644 --- a/portal-ui/src/icons/ConsoleIcon.tsx +++ b/portal-ui/src/icons/ConsoleIcon.tsx @@ -14,26 +14,43 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const ConsoleIcon = (props: SVGProps) => { - return ( - - - - - - - ); -}; +const ConsoleIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default ConsoleIcon; diff --git a/portal-ui/src/icons/CopyIcon.tsx b/portal-ui/src/icons/CopyIcon.tsx index 3a07775d1..8bc8d94ab 100644 --- a/portal-ui/src/icons/CopyIcon.tsx +++ b/portal-ui/src/icons/CopyIcon.tsx @@ -14,27 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const CopyIcon = (props: SVGProps) => { - return ( - +const CopyIcon = (props: SVGProps) => ( + + + + + + + + - - - ); -}; + + + +); export default CopyIcon; diff --git a/portal-ui/src/icons/CreateIcon.tsx b/portal-ui/src/icons/CreateIcon.tsx index 2717c36bd..7343e4555 100644 --- a/portal-ui/src/icons/CreateIcon.tsx +++ b/portal-ui/src/icons/CreateIcon.tsx @@ -14,33 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const CreateIcon = (props: SVGProps) => { - return ( - - - - - - - ); -}; +const CreateIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default CreateIcon; diff --git a/portal-ui/src/icons/DashboardIcon.tsx b/portal-ui/src/icons/DashboardIcon.tsx index 781955f1d..0c221bfc6 100644 --- a/portal-ui/src/icons/DashboardIcon.tsx +++ b/portal-ui/src/icons/DashboardIcon.tsx @@ -17,48 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const DashboardIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - ); -}; +const DashboardIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default DashboardIcon; diff --git a/portal-ui/src/icons/DeleteIcon.tsx b/portal-ui/src/icons/DeleteIcon.tsx index 29bca987c..9ca333e7d 100644 --- a/portal-ui/src/icons/DeleteIcon.tsx +++ b/portal-ui/src/icons/DeleteIcon.tsx @@ -14,27 +14,33 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const DeleteIcon = (props: SVGProps) => { - return ( - - - - - ); -}; +const DeleteIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default DeleteIcon; diff --git a/portal-ui/src/icons/DiagnosticIcon.tsx b/portal-ui/src/icons/DiagnosticIcon.tsx index 531dad476..69a998be2 100644 --- a/portal-ui/src/icons/DiagnosticIcon.tsx +++ b/portal-ui/src/icons/DiagnosticIcon.tsx @@ -17,29 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const DiagnosticIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const DiagnosticIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default DiagnosticIcon; diff --git a/portal-ui/src/icons/DocumentationIcon.tsx b/portal-ui/src/icons/DocumentationIcon.tsx index d48ce7a25..7daba2ae2 100644 --- a/portal-ui/src/icons/DocumentationIcon.tsx +++ b/portal-ui/src/icons/DocumentationIcon.tsx @@ -17,55 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const DocumentationIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - ); -}; +const DocumentationIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default DocumentationIcon; diff --git a/portal-ui/src/icons/DownloadIcon.tsx b/portal-ui/src/icons/DownloadIcon.tsx index e25cebc26..754c320ce 100644 --- a/portal-ui/src/icons/DownloadIcon.tsx +++ b/portal-ui/src/icons/DownloadIcon.tsx @@ -17,28 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const DownloadIcon = (props: SVGProps) => { - return ( - - - - - - - +const DownloadIcon = (props: SVGProps) => ( + + + + + + + + + + - - ); -}; + + +); export default DownloadIcon; diff --git a/portal-ui/src/icons/DownloadStatIcon.tsx b/portal-ui/src/icons/DownloadStatIcon.tsx index e195c2993..9b9c40f25 100644 --- a/portal-ui/src/icons/DownloadStatIcon.tsx +++ b/portal-ui/src/icons/DownloadStatIcon.tsx @@ -17,29 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const DownloadStatIcon = (props: SVGProps) => { - return ( - - +const DownloadStatIcon = (props: SVGProps) => ( + + + + + + + + + - - - - + - - ); -}; + + +); export default DownloadStatIcon; diff --git a/portal-ui/src/icons/DrivesIcon.tsx b/portal-ui/src/icons/DrivesIcon.tsx index 42f4dd185..017dbf2a6 100644 --- a/portal-ui/src/icons/DrivesIcon.tsx +++ b/portal-ui/src/icons/DrivesIcon.tsx @@ -17,42 +17,40 @@ import * as React from "react"; import { SVGProps } from "react"; -const drivesIcon = (props: SVGProps) => { - return ( - - ) => ( + + + + + + + + + - - - - ); -}; + + + +); -export default drivesIcon; +export default DrivesIcon; diff --git a/portal-ui/src/icons/EditIcon.tsx b/portal-ui/src/icons/EditIcon.tsx index b47dff1f1..8edd99fbc 100644 --- a/portal-ui/src/icons/EditIcon.tsx +++ b/portal-ui/src/icons/EditIcon.tsx @@ -17,25 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const EditIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const EditIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default EditIcon; diff --git a/portal-ui/src/icons/EgressIcon.tsx b/portal-ui/src/icons/EgressIcon.tsx index f20ea83d8..55c5eb4fb 100644 --- a/portal-ui/src/icons/EgressIcon.tsx +++ b/portal-ui/src/icons/EgressIcon.tsx @@ -14,64 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const EgressIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - ); -}; +const EgressIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default EgressIcon; diff --git a/portal-ui/src/icons/FileBookIcon.tsx b/portal-ui/src/icons/FileBookIcon.tsx index 6be667f13..a3a84e4df 100644 --- a/portal-ui/src/icons/FileBookIcon.tsx +++ b/portal-ui/src/icons/FileBookIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileBookIcon = (props: SVGProps) => { - return ( - +const FileBookIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileBookIcon; diff --git a/portal-ui/src/icons/FileCloudIcon.tsx b/portal-ui/src/icons/FileCloudIcon.tsx index 40a285ec3..2d3b0f368 100644 --- a/portal-ui/src/icons/FileCloudIcon.tsx +++ b/portal-ui/src/icons/FileCloudIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileCloudIcon = (props: SVGProps) => { - return ( - +const FileCloudIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileCloudIcon; diff --git a/portal-ui/src/icons/FileCodeIcon.tsx b/portal-ui/src/icons/FileCodeIcon.tsx index 60c209e95..36a178961 100644 --- a/portal-ui/src/icons/FileCodeIcon.tsx +++ b/portal-ui/src/icons/FileCodeIcon.tsx @@ -17,33 +17,40 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileCodeIcon = (props: SVGProps) => { - return ( - +const FileCodeIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileCodeIcon; diff --git a/portal-ui/src/icons/FileConfigIcon.tsx b/portal-ui/src/icons/FileConfigIcon.tsx index a57fed596..9a444b935 100644 --- a/portal-ui/src/icons/FileConfigIcon.tsx +++ b/portal-ui/src/icons/FileConfigIcon.tsx @@ -17,29 +17,36 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileConfigIcon = (props: SVGProps) => { - return ( - +const FileConfigIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileConfigIcon; diff --git a/portal-ui/src/icons/FileDbIcon.tsx b/portal-ui/src/icons/FileDbIcon.tsx index 650669fa4..df65f50f4 100644 --- a/portal-ui/src/icons/FileDbIcon.tsx +++ b/portal-ui/src/icons/FileDbIcon.tsx @@ -17,33 +17,40 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileDbIcon = (props: SVGProps) => { - return ( - +const FileDbIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileDbIcon; diff --git a/portal-ui/src/icons/FileFontIcon.tsx b/portal-ui/src/icons/FileFontIcon.tsx index c71c06d32..95bb538a3 100644 --- a/portal-ui/src/icons/FileFontIcon.tsx +++ b/portal-ui/src/icons/FileFontIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileFontIcon = (props: SVGProps) => { - return ( - +const FileFontIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileFontIcon; diff --git a/portal-ui/src/icons/FileImageIcon.tsx b/portal-ui/src/icons/FileImageIcon.tsx index 5fc087ac1..bf1490dc6 100644 --- a/portal-ui/src/icons/FileImageIcon.tsx +++ b/portal-ui/src/icons/FileImageIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileImageIcon = (props: SVGProps) => { - return ( - +const FileImageIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileImageIcon; diff --git a/portal-ui/src/icons/FileLinkIcon.tsx b/portal-ui/src/icons/FileLinkIcon.tsx index 353dd2ba0..c186cfd72 100644 --- a/portal-ui/src/icons/FileLinkIcon.tsx +++ b/portal-ui/src/icons/FileLinkIcon.tsx @@ -17,31 +17,38 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileLinkIcon = (props: SVGProps) => { - return ( - +const FileLinkIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileLinkIcon; diff --git a/portal-ui/src/icons/FileLockIcon.tsx b/portal-ui/src/icons/FileLockIcon.tsx index 58dd6b191..608c2ba65 100644 --- a/portal-ui/src/icons/FileLockIcon.tsx +++ b/portal-ui/src/icons/FileLockIcon.tsx @@ -17,29 +17,36 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileLockIcon = (props: SVGProps) => { - return ( - +const FileLockIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileLockIcon; diff --git a/portal-ui/src/icons/FileMissingIcon.tsx b/portal-ui/src/icons/FileMissingIcon.tsx index 3a140824f..760d72fe3 100644 --- a/portal-ui/src/icons/FileMissingIcon.tsx +++ b/portal-ui/src/icons/FileMissingIcon.tsx @@ -17,33 +17,40 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileMissingIcon = (props: SVGProps) => { - return ( - +const FileMissingIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileMissingIcon; diff --git a/portal-ui/src/icons/FileMusicIcon.tsx b/portal-ui/src/icons/FileMusicIcon.tsx index 18cdba27b..c6953b0b4 100644 --- a/portal-ui/src/icons/FileMusicIcon.tsx +++ b/portal-ui/src/icons/FileMusicIcon.tsx @@ -17,27 +17,34 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileMusicIcon = (props: SVGProps) => { - return ( - +const FileMusicIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileMusicIcon; diff --git a/portal-ui/src/icons/FilePdfIcon.tsx b/portal-ui/src/icons/FilePdfIcon.tsx index 3820c2a81..b28ac2a9e 100644 --- a/portal-ui/src/icons/FilePdfIcon.tsx +++ b/portal-ui/src/icons/FilePdfIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FilePdfIcon = (props: SVGProps) => { - return ( - +const FilePdfIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FilePdfIcon; diff --git a/portal-ui/src/icons/FilePptIcon.tsx b/portal-ui/src/icons/FilePptIcon.tsx index 7119bde8b..5d86a4131 100644 --- a/portal-ui/src/icons/FilePptIcon.tsx +++ b/portal-ui/src/icons/FilePptIcon.tsx @@ -17,29 +17,36 @@ import * as React from "react"; import { SVGProps } from "react"; -const FilePptIcon = (props: SVGProps) => { - return ( - +const FilePptIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FilePptIcon; diff --git a/portal-ui/src/icons/FileTxtIcon.tsx b/portal-ui/src/icons/FileTxtIcon.tsx index 2b3c84701..f3845e50d 100644 --- a/portal-ui/src/icons/FileTxtIcon.tsx +++ b/portal-ui/src/icons/FileTxtIcon.tsx @@ -17,41 +17,48 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileTxtIcon = (props: SVGProps) => { - return ( - +const FileTxtIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileTxtIcon; diff --git a/portal-ui/src/icons/FileVideoIcon.tsx b/portal-ui/src/icons/FileVideoIcon.tsx index 1c884546c..56b9dc7ef 100644 --- a/portal-ui/src/icons/FileVideoIcon.tsx +++ b/portal-ui/src/icons/FileVideoIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileVideoIcon = (props: SVGProps) => { - return ( - +const FileVideoIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileVideoIcon; diff --git a/portal-ui/src/icons/FileWorldIcon.tsx b/portal-ui/src/icons/FileWorldIcon.tsx index 4f534093b..934d8402c 100644 --- a/portal-ui/src/icons/FileWorldIcon.tsx +++ b/portal-ui/src/icons/FileWorldIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileWorldIcon = (props: SVGProps) => { - return ( - +const FileWorldIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileWorldIcon; diff --git a/portal-ui/src/icons/FileXlsIcon.tsx b/portal-ui/src/icons/FileXlsIcon.tsx index 9492929c7..7484d85a1 100644 --- a/portal-ui/src/icons/FileXlsIcon.tsx +++ b/portal-ui/src/icons/FileXlsIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const FileXlsIcon = (props: SVGProps) => { - return ( - +const FileXlsIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default FileXlsIcon; diff --git a/portal-ui/src/icons/FileZipIcon.tsx b/portal-ui/src/icons/FileZipIcon.tsx index 5284fafcb..f2f2658a3 100644 --- a/portal-ui/src/icons/FileZipIcon.tsx +++ b/portal-ui/src/icons/FileZipIcon.tsx @@ -1,19 +1,41 @@ +// This file is part of MinIO Console Server +// Copyright (c) 2021 MinIO, Inc. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + import * as React from "react"; import { SVGProps } from "react"; -const FileZipIcon = (props: SVGProps) => { - return ( - - +const FileZipIcon = (props: SVGProps) => ( + + + + + + + + + ) => { /> - - ); -}; + + + +); export default FileZipIcon; diff --git a/portal-ui/src/icons/FolderIcon.tsx b/portal-ui/src/icons/FolderIcon.tsx index edfef80b6..c5aaf7156 100644 --- a/portal-ui/src/icons/FolderIcon.tsx +++ b/portal-ui/src/icons/FolderIcon.tsx @@ -17,25 +17,27 @@ import * as React from "react"; import { SVGProps } from "react"; -const FolderIcon = (props: SVGProps) => { - return ( - - - - - - - - +const FolderIcon = (props: SVGProps) => ( + + + + + + + + + + + - - ); -}; + + +); export default FolderIcon; diff --git a/portal-ui/src/icons/GroupsIcon.tsx b/portal-ui/src/icons/GroupsIcon.tsx index 407a25e97..c3e13571f 100644 --- a/portal-ui/src/icons/GroupsIcon.tsx +++ b/portal-ui/src/icons/GroupsIcon.tsx @@ -17,86 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const GroupsIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +const GroupsIcon = (props: SVGProps) => ( + + + + + + + + + + - - ); -}; + + + +); export default GroupsIcon; diff --git a/portal-ui/src/icons/HealIcon.tsx b/portal-ui/src/icons/HealIcon.tsx index 47fcfdba5..bc1156368 100644 --- a/portal-ui/src/icons/HealIcon.tsx +++ b/portal-ui/src/icons/HealIcon.tsx @@ -17,30 +17,33 @@ import * as React from "react"; import { SVGProps } from "react"; -const HealIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const HealIcon = (props: SVGProps) => ( + + + + + + + + + + + + + +); export default HealIcon; diff --git a/portal-ui/src/icons/HelpIcon.tsx b/portal-ui/src/icons/HelpIcon.tsx index 6a33b6176..969baae1b 100644 --- a/portal-ui/src/icons/HelpIcon.tsx +++ b/portal-ui/src/icons/HelpIcon.tsx @@ -14,27 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const HelpIcon = (props: SVGProps) => { - return ( - +const HelpIcon = (props: SVGProps) => ( + + + + + + + + - - - ); -}; + + + +); export default HelpIcon; diff --git a/portal-ui/src/icons/HistoryIcon.tsx b/portal-ui/src/icons/HistoryIcon.tsx index 9d94df77a..a5b270d4f 100644 --- a/portal-ui/src/icons/HistoryIcon.tsx +++ b/portal-ui/src/icons/HistoryIcon.tsx @@ -17,42 +17,33 @@ import * as React from "react"; import { SVGProps } from "react"; -const HistoryIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - ); -}; +const HistoryIcon = (props: SVGProps) => ( + + + + + + + + + + + + + +); export default HistoryIcon; diff --git a/portal-ui/src/icons/IAMPoliciesIcon.tsx b/portal-ui/src/icons/IAMPoliciesIcon.tsx index 6ecd1179e..0a6c993ec 100644 --- a/portal-ui/src/icons/IAMPoliciesIcon.tsx +++ b/portal-ui/src/icons/IAMPoliciesIcon.tsx @@ -17,40 +17,50 @@ import * as React from "react"; import { SVGProps } from "react"; -const IAMPoliciesIcon = (props: SVGProps) => { - return ( - - - - - - - +const IAMPoliciesIcon = (props: SVGProps) => ( + + + + + + + + + + + - - ); -}; + + + +); export default IAMPoliciesIcon; diff --git a/portal-ui/src/icons/JSONIcon.tsx b/portal-ui/src/icons/JSONIcon.tsx index 880d739c5..8915de83c 100644 --- a/portal-ui/src/icons/JSONIcon.tsx +++ b/portal-ui/src/icons/JSONIcon.tsx @@ -17,53 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const JSONIcon = (props: SVGProps) => { - return ( - - - - - - - - +const JSONIcon = (props: SVGProps) => ( + + + + + + + + + + - - - - - + - - ); -}; + + +); export default JSONIcon; diff --git a/portal-ui/src/icons/LambdaBalloonIcon.tsx b/portal-ui/src/icons/LambdaBalloonIcon.tsx new file mode 100644 index 000000000..fcf1a2aae --- /dev/null +++ b/portal-ui/src/icons/LambdaBalloonIcon.tsx @@ -0,0 +1,40 @@ +// This file is part of MinIO Console Server +// Copyright (c) 2021 MinIO, Inc. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +import * as React from "react"; +import { SVGProps } from "react"; + +const LambdaBalloonIcon = (props: SVGProps) => ( + + + + + + + + + + + +); + +export default LambdaBalloonIcon; diff --git a/portal-ui/src/icons/LambdaIcon.tsx b/portal-ui/src/icons/LambdaIcon.tsx index ff34b8aec..d97413695 100644 --- a/portal-ui/src/icons/LambdaIcon.tsx +++ b/portal-ui/src/icons/LambdaIcon.tsx @@ -17,21 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const LambdaIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const LambdaIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default LambdaIcon; diff --git a/portal-ui/src/icons/LicenseIcon.tsx b/portal-ui/src/icons/LicenseIcon.tsx index 1ec75dfbd..c94c44f69 100644 --- a/portal-ui/src/icons/LicenseIcon.tsx +++ b/portal-ui/src/icons/LicenseIcon.tsx @@ -17,55 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const LicenseIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - ); -}; +const LicenseIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default LicenseIcon; diff --git a/portal-ui/src/icons/LockIcon.tsx b/portal-ui/src/icons/LockIcon.tsx index 1705b4074..5a16203f4 100644 --- a/portal-ui/src/icons/LockIcon.tsx +++ b/portal-ui/src/icons/LockIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const LockIcon = (props: SVGProps) => { - return ( - +const LockIcon = (props: SVGProps) => ( + + + + + + + + + - - ); -}; + + +); export default LockIcon; diff --git a/portal-ui/src/icons/LogoutIcon.tsx b/portal-ui/src/icons/LogoutIcon.tsx index 7d0da4387..b20af86e1 100644 --- a/portal-ui/src/icons/LogoutIcon.tsx +++ b/portal-ui/src/icons/LogoutIcon.tsx @@ -17,28 +17,37 @@ import * as React from "react"; import { SVGProps } from "react"; -const LogoutIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const LogoutIcon = (props: SVGProps) => ( + + + + + + + + + + + + + +); export default LogoutIcon; diff --git a/portal-ui/src/icons/LogsIcon.tsx b/portal-ui/src/icons/LogsIcon.tsx index 070d321d6..cd8e8a903 100644 --- a/portal-ui/src/icons/LogsIcon.tsx +++ b/portal-ui/src/icons/LogsIcon.tsx @@ -17,40 +17,38 @@ import * as React from "react"; import { SVGProps } from "react"; -const LogsIcon = (props: SVGProps) => { - return ( - - - - - - - +const LogsIcon = (props: SVGProps) => ( + + + + + + + + + - - - ); -}; + + + +); export default LogsIcon; diff --git a/portal-ui/src/icons/MirroringIcon.tsx b/portal-ui/src/icons/MirroringIcon.tsx index 6e9c8cf7f..b6168825a 100644 --- a/portal-ui/src/icons/MirroringIcon.tsx +++ b/portal-ui/src/icons/MirroringIcon.tsx @@ -14,24 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const MirroringIcon = (props: SVGProps) => { - return ( - - - - - - - - ); -}; +const MirroringIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default MirroringIcon; diff --git a/portal-ui/src/icons/NextArrowIcon.tsx b/portal-ui/src/icons/NextArrowIcon.tsx index 1c9599cc5..1d064559d 100644 --- a/portal-ui/src/icons/NextArrowIcon.tsx +++ b/portal-ui/src/icons/NextArrowIcon.tsx @@ -17,21 +17,31 @@ import * as React from "react"; import { SVGProps } from "react"; -const NextArrowIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const NextArrowIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default NextArrowIcon; diff --git a/portal-ui/src/icons/ObjectBrowser1Icon.tsx b/portal-ui/src/icons/ObjectBrowser1Icon.tsx new file mode 100644 index 000000000..17239b873 --- /dev/null +++ b/portal-ui/src/icons/ObjectBrowser1Icon.tsx @@ -0,0 +1,70 @@ +// This file is part of MinIO Console Server +// Copyright (c) 2021 MinIO, Inc. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +import * as React from "react"; +import { SVGProps } from "react"; + +const ObjectBrowser1Icon = (props: SVGProps) => ( + + + + + + + + + + + + + + + + + + + + +); + +export default ObjectBrowser1Icon; diff --git a/portal-ui/src/icons/ObjectBrowserIcon.tsx b/portal-ui/src/icons/ObjectBrowserIcon.tsx index 3f5a97f66..497467cd2 100644 --- a/portal-ui/src/icons/ObjectBrowserIcon.tsx +++ b/portal-ui/src/icons/ObjectBrowserIcon.tsx @@ -17,48 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const ObjectBrowserIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - ); -}; +const ObjectBrowserIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default ObjectBrowserIcon; diff --git a/portal-ui/src/icons/OpenListIcon.tsx b/portal-ui/src/icons/OpenListIcon.tsx index 5ea164a1b..4972a3735 100644 --- a/portal-ui/src/icons/OpenListIcon.tsx +++ b/portal-ui/src/icons/OpenListIcon.tsx @@ -17,21 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const OpenListIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const OpenListIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default OpenListIcon; diff --git a/portal-ui/src/icons/PermissionIcon.tsx b/portal-ui/src/icons/PermissionIcon.tsx index 082a94e4e..b3421a71e 100644 --- a/portal-ui/src/icons/PermissionIcon.tsx +++ b/portal-ui/src/icons/PermissionIcon.tsx @@ -14,28 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const PermissionIcon = (props: SVGProps) => { - return ( - - ic_permissions - - - - - - - ); -}; +const PermissionIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default PermissionIcon; diff --git a/portal-ui/src/icons/PreviewIcon.tsx b/portal-ui/src/icons/PreviewIcon.tsx index 50797b4a2..ecbaf1773 100644 --- a/portal-ui/src/icons/PreviewIcon.tsx +++ b/portal-ui/src/icons/PreviewIcon.tsx @@ -17,25 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const PreviewIcon = (props: SVGProps) => { - return ( - +const PreviewIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default PreviewIcon; diff --git a/portal-ui/src/icons/PrometheusIcon.tsx b/portal-ui/src/icons/PrometheusIcon.tsx index 544200c12..d26cc2923 100644 --- a/portal-ui/src/icons/PrometheusIcon.tsx +++ b/portal-ui/src/icons/PrometheusIcon.tsx @@ -17,23 +17,27 @@ import * as React from "react"; import { SVGProps } from "react"; -const PrometheusIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const PrometheusIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default PrometheusIcon; diff --git a/portal-ui/src/icons/RecoverIcon.tsx b/portal-ui/src/icons/RecoverIcon.tsx index 1c1329a26..5423ae585 100644 --- a/portal-ui/src/icons/RecoverIcon.tsx +++ b/portal-ui/src/icons/RecoverIcon.tsx @@ -14,24 +14,30 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React from "react"; +import * as React from "react"; import { SVGProps } from "react"; -const RecoverIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const RecoverIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default RecoverIcon; diff --git a/portal-ui/src/icons/RedoIcon.tsx b/portal-ui/src/icons/RedoIcon.tsx index 66faf9eb0..6fa890b61 100644 --- a/portal-ui/src/icons/RedoIcon.tsx +++ b/portal-ui/src/icons/RedoIcon.tsx @@ -17,28 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const RedoIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const RedoIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default RedoIcon; diff --git a/portal-ui/src/icons/RefreshIcon.tsx b/portal-ui/src/icons/RefreshIcon.tsx index 05c41f28c..30c65db7c 100644 --- a/portal-ui/src/icons/RefreshIcon.tsx +++ b/portal-ui/src/icons/RefreshIcon.tsx @@ -14,20 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const RefreshIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const RefreshIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default RefreshIcon; diff --git a/portal-ui/src/icons/RemoveIcon.tsx b/portal-ui/src/icons/RemoveIcon.tsx index bd7f8e2af..a2a3249d0 100644 --- a/portal-ui/src/icons/RemoveIcon.tsx +++ b/portal-ui/src/icons/RemoveIcon.tsx @@ -14,24 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const RemoveIcon = (props: SVGProps) => { - return ( - +const RemoveIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default RemoveIcon; diff --git a/portal-ui/src/icons/ReportedUsageIcon.tsx b/portal-ui/src/icons/ReportedUsageIcon.tsx index feed42d00..04d3518d8 100644 --- a/portal-ui/src/icons/ReportedUsageIcon.tsx +++ b/portal-ui/src/icons/ReportedUsageIcon.tsx @@ -17,28 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const ReportedUsageIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const ReportedUsageIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default ReportedUsageIcon; diff --git a/portal-ui/src/icons/SearchIcon.tsx b/portal-ui/src/icons/SearchIcon.tsx index 83eb552ab..9c3740bca 100644 --- a/portal-ui/src/icons/SearchIcon.tsx +++ b/portal-ui/src/icons/SearchIcon.tsx @@ -17,28 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const SearchIcon = (props: SVGProps) => { - return ( - - - - - - - +const SearchIcon = (props: SVGProps) => ( + + + + + + + + + - - ); -}; + + + +); export default SearchIcon; diff --git a/portal-ui/src/icons/SelectMultipleIcon.tsx b/portal-ui/src/icons/SelectMultipleIcon.tsx index 65383bdc3..714818371 100644 --- a/portal-ui/src/icons/SelectMultipleIcon.tsx +++ b/portal-ui/src/icons/SelectMultipleIcon.tsx @@ -17,21 +17,25 @@ import * as React from "react"; import { SVGProps } from "react"; -const SelectMultipleIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const SelectMultipleIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default SelectMultipleIcon; diff --git a/portal-ui/src/icons/ServersIcon.tsx b/portal-ui/src/icons/ServersIcon.tsx index 007cd833c..828d84f55 100644 --- a/portal-ui/src/icons/ServersIcon.tsx +++ b/portal-ui/src/icons/ServersIcon.tsx @@ -17,35 +17,44 @@ import * as React from "react"; import { SVGProps } from "react"; -const serversIcon = (props: SVGProps) => { - return ( - - - - - - ); -}; +const ServersIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + + + +); -export default serversIcon; +export default ServersIcon; diff --git a/portal-ui/src/icons/ServiceAccountIcon.tsx b/portal-ui/src/icons/ServiceAccountIcon.tsx index 484f3ac28..d3aa6faba 100644 --- a/portal-ui/src/icons/ServiceAccountIcon.tsx +++ b/portal-ui/src/icons/ServiceAccountIcon.tsx @@ -14,28 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const ServiceAccountIcon = (props: SVGProps) => { - return ( - - ic_service-accounts - - - - - - - ); -}; +const ServiceAccountIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default ServiceAccountIcon; diff --git a/portal-ui/src/icons/SettingsIcon.tsx b/portal-ui/src/icons/SettingsIcon.tsx index 3ae68b06c..1f900f2c6 100644 --- a/portal-ui/src/icons/SettingsIcon.tsx +++ b/portal-ui/src/icons/SettingsIcon.tsx @@ -17,32 +17,34 @@ import * as React from "react"; import { SVGProps } from "react"; -const SettingsIcon = (props: SVGProps) => { - return ( - - - - - - - +const SettingsIcon = (props: SVGProps) => ( + + + + + + + + + - - ); -}; + + + +); export default SettingsIcon; diff --git a/portal-ui/src/icons/ShareIcon.tsx b/portal-ui/src/icons/ShareIcon.tsx index 69ba910bf..230cfb908 100644 --- a/portal-ui/src/icons/ShareIcon.tsx +++ b/portal-ui/src/icons/ShareIcon.tsx @@ -17,25 +17,34 @@ import * as React from "react"; import { SVGProps } from "react"; -const ShareIcon = (props: SVGProps) => { - return ( - - - - - ); -}; +const ShareIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + + +); export default ShareIcon; diff --git a/portal-ui/src/icons/SpeedtestIcon.tsx b/portal-ui/src/icons/SpeedtestIcon.tsx index 85a731753..39a34a30e 100644 --- a/portal-ui/src/icons/SpeedtestIcon.tsx +++ b/portal-ui/src/icons/SpeedtestIcon.tsx @@ -17,97 +17,75 @@ import * as React from "react"; import { SVGProps } from "react"; -const SpeedtestIcon = (props: SVGProps) => { - return ( - - +const SpeedtestIcon = (props: SVGProps) => ( + + + + + + + + + + + - - - ); -}; + + +); export default SpeedtestIcon; diff --git a/portal-ui/src/icons/StorageIcon.tsx b/portal-ui/src/icons/StorageIcon.tsx index 4f7db3734..c6f4a5b96 100644 --- a/portal-ui/src/icons/StorageIcon.tsx +++ b/portal-ui/src/icons/StorageIcon.tsx @@ -17,59 +17,66 @@ import * as React from "react"; import { SVGProps } from "react"; -const StorageIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - - ); -}; +const StorageIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + + + + +); export default StorageIcon; diff --git a/portal-ui/src/icons/SyncIcon.tsx b/portal-ui/src/icons/SyncIcon.tsx index eab4f896f..92b7bc3fe 100644 --- a/portal-ui/src/icons/SyncIcon.tsx +++ b/portal-ui/src/icons/SyncIcon.tsx @@ -14,26 +14,33 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const SyncIcon = (props: SVGProps) => { - return ( - +const SyncIcon = (props: SVGProps) => ( + + + + + + + + + - - ); -}; + + +); export default SyncIcon; diff --git a/portal-ui/src/icons/TenantsIcon.tsx b/portal-ui/src/icons/TenantsIcon.tsx index 888476cd5..e5924671d 100644 --- a/portal-ui/src/icons/TenantsIcon.tsx +++ b/portal-ui/src/icons/TenantsIcon.tsx @@ -17,32 +17,32 @@ import * as React from "react"; import { SVGProps } from "react"; -const TenantsIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - ); -}; +const TenantsIcon = (props: SVGProps) => ( + + + + + + + + + + + + + +); export default TenantsIcon; diff --git a/portal-ui/src/icons/TenantsOutlineIcon.tsx b/portal-ui/src/icons/TenantsOutlineIcon.tsx index 6d6a0a1f4..30a6d5200 100644 --- a/portal-ui/src/icons/TenantsOutlineIcon.tsx +++ b/portal-ui/src/icons/TenantsOutlineIcon.tsx @@ -17,22 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const TenantsOutlineIcon = (props: SVGProps) => { - return ( - +const TenantsOutlineIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); export default TenantsOutlineIcon; diff --git a/portal-ui/src/icons/TiersIcon.tsx b/portal-ui/src/icons/TiersIcon.tsx index 51ce53c7a..db304b408 100644 --- a/portal-ui/src/icons/TiersIcon.tsx +++ b/portal-ui/src/icons/TiersIcon.tsx @@ -17,21 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const TiersIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const TiersIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + +); export default TiersIcon; diff --git a/portal-ui/src/icons/ToolsIcon.tsx b/portal-ui/src/icons/ToolsIcon.tsx index 87105c081..ea2175efc 100644 --- a/portal-ui/src/icons/ToolsIcon.tsx +++ b/portal-ui/src/icons/ToolsIcon.tsx @@ -17,31 +17,42 @@ import * as React from "react"; import { SVGProps } from "react"; -const ToolsIcon = (props: SVGProps) => { - return ( - - +const ToolsIcon = (props: SVGProps) => ( + + + + + + + + + - + + + + + + - - - ); -}; + + +); export default ToolsIcon; diff --git a/portal-ui/src/icons/TotalObjectsIcon.tsx b/portal-ui/src/icons/TotalObjectsIcon.tsx index 5354899bd..b5565f77c 100644 --- a/portal-ui/src/icons/TotalObjectsIcon.tsx +++ b/portal-ui/src/icons/TotalObjectsIcon.tsx @@ -17,23 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const totalObjectsIcon = (props: SVGProps) => { - return ( - +const TotalObjectsIcon = (props: SVGProps) => ( + + + + + + + + - - ); -}; + + + +); -export default totalObjectsIcon; +export default TotalObjectsIcon; diff --git a/portal-ui/src/icons/TraceIcon.tsx b/portal-ui/src/icons/TraceIcon.tsx index 89f4bef38..68e3245d7 100644 --- a/portal-ui/src/icons/TraceIcon.tsx +++ b/portal-ui/src/icons/TraceIcon.tsx @@ -17,28 +17,28 @@ import * as React from "react"; import { SVGProps } from "react"; -const TraceIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const TraceIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default TraceIcon; diff --git a/portal-ui/src/icons/TrashIcon.tsx b/portal-ui/src/icons/TrashIcon.tsx index 5faa26dc8..bfb0bb142 100644 --- a/portal-ui/src/icons/TrashIcon.tsx +++ b/portal-ui/src/icons/TrashIcon.tsx @@ -14,40 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import * as React from "react"; -import { SVGProps } from "react"; +import React, { SVGProps } from "react"; const TrashIcon = (props: SVGProps) => { return ( - - - - + + + + + + + + + + + ); diff --git a/portal-ui/src/icons/UploadIcon.tsx b/portal-ui/src/icons/UploadIcon.tsx index 0ad060340..7ecfa2738 100644 --- a/portal-ui/src/icons/UploadIcon.tsx +++ b/portal-ui/src/icons/UploadIcon.tsx @@ -17,28 +17,33 @@ import * as React from "react"; import { SVGProps } from "react"; -const UploadIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - ); -}; +const UploadIcon = (props: SVGProps) => ( + + + + + + + + + + + + + +); export default UploadIcon; diff --git a/portal-ui/src/icons/UploadStatIcon.tsx b/portal-ui/src/icons/UploadStatIcon.tsx index 000b04106..4f1f39609 100644 --- a/portal-ui/src/icons/UploadStatIcon.tsx +++ b/portal-ui/src/icons/UploadStatIcon.tsx @@ -17,29 +17,30 @@ import * as React from "react"; import { SVGProps } from "react"; -const DownloadStatIcon = (props: SVGProps) => { - return ( - - +const UploadStatIcon = (props: SVGProps) => ( + + + + + + + + + - - - - + - - ); -}; + + +); -export default DownloadStatIcon; +export default UploadStatIcon; diff --git a/portal-ui/src/icons/UptimeIcon.tsx b/portal-ui/src/icons/UptimeIcon.tsx index 5f76d8bdf..af0bf8b45 100644 --- a/portal-ui/src/icons/UptimeIcon.tsx +++ b/portal-ui/src/icons/UptimeIcon.tsx @@ -17,26 +17,37 @@ import * as React from "react"; import { SVGProps } from "react"; -const UptimeIcon = (props: SVGProps) => { - return ( - - - - - ); -}; +const UptimeIcon = (props: SVGProps) => ( + + + + + + + + + + + + + + + + + +); export default UptimeIcon; diff --git a/portal-ui/src/icons/UsersIcon.tsx b/portal-ui/src/icons/UsersIcon.tsx index f0476e670..f964819f4 100644 --- a/portal-ui/src/icons/UsersIcon.tsx +++ b/portal-ui/src/icons/UsersIcon.tsx @@ -17,32 +17,42 @@ import * as React from "react"; import { SVGProps } from "react"; -const UsersIcon = (props: SVGProps) => { - return ( - - - - - - - +const UsersIcon = (props: SVGProps) => ( + + + + + + + + + + + - - ); -}; + + + +); export default UsersIcon; diff --git a/portal-ui/src/icons/VersionIcon.tsx b/portal-ui/src/icons/VersionIcon.tsx index b21d287c4..42a16aafb 100644 --- a/portal-ui/src/icons/VersionIcon.tsx +++ b/portal-ui/src/icons/VersionIcon.tsx @@ -17,18 +17,25 @@ import * as React from "react"; import { SVGProps } from "react"; -const VersionIcon = (props: SVGProps) => { - return ( - - - - ); -}; +const VersionIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default VersionIcon; diff --git a/portal-ui/src/icons/WarnIcon.tsx b/portal-ui/src/icons/WarnIcon.tsx index e9b24b37a..abe748228 100644 --- a/portal-ui/src/icons/WarnIcon.tsx +++ b/portal-ui/src/icons/WarnIcon.tsx @@ -20,20 +20,34 @@ import { SVGProps } from "react"; const WarnIcon = (props: SVGProps) => { return ( - + + + - + ); }; diff --git a/portal-ui/src/icons/WarpIcon.tsx b/portal-ui/src/icons/WarpIcon.tsx index b9118b340..67ddc3f45 100644 --- a/portal-ui/src/icons/WarpIcon.tsx +++ b/portal-ui/src/icons/WarpIcon.tsx @@ -14,28 +14,31 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { SVGProps } from "react"; +import * as React from "react"; +import { SVGProps } from "react"; -const WarpIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - ); -}; +const WarpIcon = (props: SVGProps) => ( + + + + + + + + + + + + +); export default WarpIcon; diff --git a/portal-ui/src/icons/WatchIcon.tsx b/portal-ui/src/icons/WatchIcon.tsx index edf023893..dc5f43c21 100644 --- a/portal-ui/src/icons/WatchIcon.tsx +++ b/portal-ui/src/icons/WatchIcon.tsx @@ -17,71 +17,72 @@ import * as React from "react"; import { SVGProps } from "react"; -const WatchIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - - - ) => ( + + + + + + + + + + + + + + + + + + + - - ); -}; + + + +); export default WatchIcon; diff --git a/portal-ui/src/icons/index.ts b/portal-ui/src/icons/index.ts index 04b5a3c0e..1a1f58bb8 100644 --- a/portal-ui/src/icons/index.ts +++ b/portal-ui/src/icons/index.ts @@ -13,103 +13,109 @@ // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -export { default as StorageIcon } from "./StorageIcon"; -export { default as RefreshIcon } from "./RefreshIcon"; -export { default as ShareIcon } from "./ShareIcon"; -export { default as FolderIcon } from "./FolderIcon"; -export { default as EditIcon } from "./EditIcon"; -export { default as SearchIcon } from "./SearchIcon"; -export { default as ObjectBrowserFolderIcon } from "./ObjectBrowserFolderIcon"; -export { default as RedoIcon } from "./RedoIcon"; -export { default as DashboardIcon } from "./DashboardIcon"; -export { default as ClustersIcon } from "./ClustersIcon"; -export { default as MirroringIcon } from "./MirroringIcon"; -export { default as ServiceAccountIcon } from "./ServiceAccountIcon"; -export { default as ConfigurationsListIcon } from "./ConfigurationsListIcon"; -export { default as WatchIcon } from "./WatchIcon"; -export { default as HealIcon } from "./HealIcon"; -export { default as OperatorLogo } from "./OperatorLogo"; -export { default as DeleteIcon } from "./DeleteIcon"; -export { default as ReportedUsageIcon } from "./ReportedUsageIcon"; -export { default as PermissionIcon } from "./PermissionIcon"; -export { default as AccountIcon } from "./AccountIcon"; -export { default as DiagnosticIcon } from "./DiagnosticIcon"; -export { default as TenantsOutlineIcon } from "./TenantsOutlineIcon"; -export { default as HelpIcon } from "./HelpIcon"; -export { default as DiagnosticsIcon } from "./DiagnosticsIcon"; -export { default as ObjectBrowser1Icon } from "./ObjectBrowserFolderIcon"; -export { default as WarpIcon } from "./WarpIcon"; -export { default as CopyIcon } from "./CopyIcon"; -export { default as ConsoleLogo } from "./ConsoleLogo"; -export { default as TraceIcon } from "./TraceIcon"; -export { default as AddIcon } from "./AddIcon"; -export { default as LambdaNotificationsIcon } from "./LambdaNotificationsIcon"; -export { default as BackSettingsIcon } from "./BackSettingsIcon"; -export { default as LicenseIcon } from "./LicenseIcon"; -export { default as RemoveIcon } from "./RemoveIcon"; -export { default as AddFolderIcon } from "./AddFolderIcon"; -export { default as IAMPoliciesIcon } from "./IAMPoliciesIcon"; -export { default as UsersIcon } from "./UsersIcon"; -export { default as EgressIcon } from "./EgressIcon"; -export { default as DocumentationIcon } from "./DocumentationIcon"; -export { default as TrashIcon } from "./TrashIcon"; -export { default as DownloadIcon } from "./DownloadIcon"; -export { default as AllBucketsIcon } from "./AllBucketsIcon"; -export { default as SelectMultipleIcon } from "./SelectMultipleIcon"; -export { default as GroupsIcon } from "./GroupsIcon"; -export { default as TenantsIcon } from "./TenantsIcon"; -export { default as UploadFile } from "./UploadFile"; -export { default as CreateIcon } from "./CreateIcon"; -export { default as SyncIcon } from "./SyncIcon"; -export { default as LogoutIcon } from "./LogoutIcon"; -export { default as HistoryIcon } from "./HistoryIcon"; -export { default as BucketsIcon } from "./BucketsIcon"; -export { default as ObjectBrowserIcon } from "./ObjectBrowserIcon"; -export { default as SettingsIcon } from "./SettingsIcon"; -export { default as UploadIcon } from "./UploadIcon"; -export { default as ServiceAccountsIcon } from "./ServiceAccountsIcon"; -export { default as LogsIcon } from "./LogsIcon"; -export { default as ConsoleIcon } from "./ConsoleIcon"; -export { default as ServersIcon } from "./ServersIcon"; -export { default as DrivesIcon } from "./DrivesIcon"; -export { default as TotalObjectsIcon } from "./TotalObjectsIcon"; -export { default as CircleIcon } from "./CircleIcon"; -export { default as PreviewIcon } from "./PreviewIcon"; -export { default as LockIcon } from "./LockIcon"; -export { default as VersionIcon } from "./VersionIcon"; -export { default as ObjectManagerIcon } from "./ObjectManagerIcon"; -export { default as FileLockIcon } from "./FileLockIcon"; -export { default as FileXlsIcon } from "./FileXlsIcon"; -export { default as FileZipIcon } from "./FileZipIcon"; -export { default as FileCloudIcon } from "./FileCloudIcon"; -export { default as FileMusicIcon } from "./FileMusicIcon"; -export { default as FileConfigIcon } from "./FileConfigIcon"; -export { default as FilePdfIcon } from "./FilePdfIcon"; -export { default as FileFontIcon } from "./FileFontIcon"; -export { default as FileLinkIcon } from "./FileLinkIcon"; -export { default as FileImageIcon } from "./FileImageIcon"; -export { default as FileWorldIcon } from "./FileWorldIcon"; +export { default as AccountIcon } from "./AccountIcon"; +export { default as AddFolderIcon } from "./AddFolderIcon"; +export { default as AddIcon } from "./AddIcon"; +export { default as AllBucketsIcon } from "./AllBucketsIcon"; +export { default as ArrowIcon } from "./ArrowIcon"; +export { default as ArrowRightIcon } from "./ArrowRightIcon"; +export { default as BackSettingsIcon } from "./BackSettingsIcon"; +export { default as BucketsIcon } from "./BucketsIcon"; +export { default as CalendarIcon } from "./CalendarIcon"; +export { default as CircleIcon } from "./CircleIcon"; +export { default as ClustersIcon } from "./ClustersIcon"; +export { default as CollapseIcon } from "./CollapseIcon"; +export { default as ComputerLineIcon } from "./ComputerLineIcon"; +export { default as ConfigurationsListIcon } from "./ConfigurationsListIcon"; +export { default as ConsoleIcon } from "./ConsoleIcon"; +export { default as ConsoleLogo } from "./ConsoleLogo"; +export { default as CopyIcon } from "./CopyIcon"; +export { default as CreateIcon } from "./CreateIcon"; +export { default as DashboardIcon } from "./DashboardIcon"; +export { default as DeleteIcon } from "./DeleteIcon"; +export { default as DiagnosticIcon } from "./DiagnosticIcon"; +export { default as DiagnosticsIcon } from "./DiagnosticsIcon"; +export { default as DocumentationIcon } from "./DocumentationIcon"; +export { default as DownloadIcon } from "./DownloadIcon"; +export { default as DownloadStatIcon } from "./DownloadStatIcon"; +export { default as DrivesIcon } from "./DrivesIcon"; +export { default as EditIcon } from "./EditIcon"; +export { default as EgressIcon } from "./EgressIcon"; export { default as FileBookIcon } from "./FileBookIcon"; -export { default as FileMissingIcon } from "./FileMissingIcon"; +export { default as FileCloudIcon } from "./FileCloudIcon"; export { default as FileCodeIcon } from "./FileCodeIcon"; -export { default as FilePptIcon } from "./FilePptIcon"; +export { default as FileConfigIcon } from "./FileConfigIcon"; export { default as FileDbIcon } from "./FileDbIcon"; +export { default as FileFontIcon } from "./FileFontIcon"; +export { default as FileImageIcon } from "./FileImageIcon"; +export { default as FileLinkIcon } from "./FileLinkIcon"; +export { default as FileLockIcon } from "./FileLockIcon"; +export { default as FileMissingIcon } from "./FileMissingIcon"; +export { default as FileMusicIcon } from "./FileMusicIcon"; +export { default as FilePdfIcon } from "./FilePdfIcon"; +export { default as FilePptIcon } from "./FilePptIcon"; export { default as FileTxtIcon } from "./FileTxtIcon"; export { default as FileVideoIcon } from "./FileVideoIcon"; - -export { default as ArrowRightIcon } from "./ArrowRightIcon"; -export { default as CalendarIcon } from "./CalendarIcon"; -export { default as UptimeIcon } from "./UptimeIcon"; -export { default as LambdaIcon } from "./LambdaIcon"; -export { default as TiersIcon } from "./TiersIcon"; -export { default as OpenListIcon } from "./OpenListIcon"; -export { default as ToolsIcon } from "./ToolsIcon"; -export { default as RecoverIcon } from "./RecoverIcon"; -export { default as PrometheusIcon } from "./PrometheusIcon"; -export { default as NextArrowIcon } from "./NextArrowIcon"; -export { default as DownloadStatIcon } from "./DownloadStatIcon"; -export { default as UploadStatIcon } from "./UploadStatIcon"; -export { default as ComputerLineIcon } from "./ComputerLineIcon"; +export { default as FileWorldIcon } from "./FileWorldIcon"; +export { default as FileXlsIcon } from "./FileXlsIcon"; +export { default as FileZipIcon } from "./FileZipIcon"; +export { default as FolderIcon } from "./FolderIcon"; +export { default as GroupsIcon } from "./GroupsIcon"; +export { default as HealIcon } from "./HealIcon"; +export { default as HelpIcon } from "./HelpIcon"; +export { default as HistoryIcon } from "./HistoryIcon"; +export { default as IAMPoliciesIcon } from "./IAMPoliciesIcon"; export { default as JSONIcon } from "./JSONIcon"; +export { default as LambdaBalloonIcon } from "./LambdaBalloonIcon"; +export { default as LambdaIcon } from "./LambdaIcon"; +export { default as LambdaNotificationsIcon } from "./LambdaNotificationsIcon"; +export { default as LicenseIcon } from "./LicenseIcon"; +export { default as LockIcon } from "./LockIcon"; +export { default as LogoutIcon } from "./LogoutIcon"; +export { default as LogsIcon } from "./LogsIcon"; +export { default as MirroringIcon } from "./MirroringIcon"; +export { default as MultipleBucketsIcon } from "./MultipleBucketsIcon"; +export { default as NewAccountIcon } from "./NewAccountIcon"; +export { default as NextArrowIcon } from "./NextArrowIcon"; +export { default as ObjectBrowserFolderIcon } from "./ObjectBrowserFolderIcon"; +export { default as ObjectBrowser1Icon } from "./ObjectBrowser1Icon"; +export { default as ObjectBrowserIcon } from "./ObjectBrowserIcon"; +export { default as ObjectManagerIcon } from "./ObjectManagerIcon"; +export { default as OpenListIcon } from "./OpenListIcon"; +export { default as OperatorLogo } from "./OperatorLogo"; +export { default as PermissionIcon } from "./PermissionIcon"; +export { default as PreviewIcon } from "./PreviewIcon"; +export { default as PrometheusIcon } from "./PrometheusIcon"; +export { default as RecoverIcon } from "./RecoverIcon"; +export { default as RedoIcon } from "./RedoIcon"; +export { default as RefreshIcon } from "./RefreshIcon"; +export { default as RemoveIcon } from "./RemoveIcon"; +export { default as ReportedUsageIcon } from "./ReportedUsageIcon"; +export { default as SearchIcon } from "./SearchIcon"; +export { default as SelectMultipleIcon } from "./SelectMultipleIcon"; +export { default as ServersIcon } from "./ServersIcon"; +export { default as ServiceAccountIcon } from "./ServiceAccountIcon"; +export { default as ServiceAccountsIcon } from "./ServiceAccountsIcon"; +export { default as SettingsIcon } from "./SettingsIcon"; +export { default as ShareIcon } from "./ShareIcon"; +export { default as SpeedtestIcon } from "./SpeedtestIcon"; +export { default as StorageIcon } from "./StorageIcon"; +export { default as SyncIcon } from "./SyncIcon"; +export { default as TenantsIcon } from "./TenantsIcon"; +export { default as TenantsOutlineIcon } from "./TenantsOutlineIcon"; +export { default as TiersIcon } from "./TiersIcon"; +export { default as ToolsIcon } from "./ToolsIcon"; +export { default as TotalObjectsIcon } from "./TotalObjectsIcon"; +export { default as TraceIcon } from "./TraceIcon"; +export { default as TrashIcon } from "./TrashIcon"; +export { default as UploadFile } from "./UploadFile"; export { default as UploadFolderIcon } from "./UploadFolderIcon"; +export { default as UploadIcon } from "./UploadIcon"; +export { default as UploadStatIcon } from "./UploadStatIcon"; +export { default as UptimeIcon } from "./UptimeIcon"; +export { default as UsersIcon } from "./UsersIcon"; +export { default as VersionIcon } from "./VersionIcon"; +export { default as WarnIcon } from "./WarnIcon"; +export { default as WarpIcon } from "./WarpIcon"; +export { default as WatchIcon } from "./WatchIcon"; diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx index 4d1ac59c0..fa6edb2f4 100644 --- a/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx +++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx @@ -27,7 +27,7 @@ import { ErrorResponseHandler } from "../../../../common/types"; import TableWrapper from "../../Common/TableWrapper/TableWrapper"; import api from "../../../../common/api"; -import { AddIcon } from "../../../../icons"; +import AddIcon from "../../../../icons/AddIcon"; import Grid from "@mui/material/Grid"; import { actionsTray, @@ -43,6 +43,7 @@ import SecureComponent, { } from "../../../../common/SecureComponent/SecureComponent"; import withSuspense from "../../Common/Components/withSuspense"; + const AddAccessRuleModal = withSuspense( React.lazy(() => import("./AddAccessRule")) ); diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BrowserHandler.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BrowserHandler.tsx index b59618bf6..c40c70e34 100644 --- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BrowserHandler.tsx +++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BrowserHandler.tsx @@ -28,7 +28,7 @@ import { setFileModeEnabled } from "../../ObjectBrowser/actions"; import ObjectDetails from "../ListBuckets/Objects/ObjectDetails/ObjectDetails"; import ListObjects from "../ListBuckets/Objects/ListObjects/ListObjects"; import PageHeader from "../../Common/PageHeader/PageHeader"; -import { SettingsIcon } from "../../../../icons"; +import SettingsIcon from "../../../../icons/SettingsIcon"; import { BucketInfo } from "../types"; import { setErrorSnackMessage } from "../../../../actions"; import SecureComponent from "../../../../common/SecureComponent/SecureComponent"; diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx index 3a273b41e..f0a7d3a45 100644 --- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx +++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx @@ -43,7 +43,6 @@ import PageHeader from "../../Common/PageHeader/PageHeader"; import ScreenTitle from "../../Common/ScreenTitle/ScreenTitle"; import { IconButton, Tooltip } from "@mui/material"; -import { BucketsIcon, DeleteIcon, FolderIcon } from "../../../../icons"; import RefreshIcon from "../../../../icons/RefreshIcon"; import BoxIconButton from "../../Common/BoxIconButton/BoxIconButton"; @@ -57,6 +56,10 @@ import SecureComponent, { import withSuspense from "../../Common/Components/withSuspense"; +const BucketsIcon = React.lazy(() => import("../../../../icons/BucketsIcon")); +const DeleteIcon = React.lazy(() => import("../../../../icons/DeleteIcon")); +const FolderIcon = React.lazy(() => import("../../../../icons/FolderIcon")); + const DeleteBucket = withSuspense( React.lazy(() => import("../ListBuckets/DeleteBucket")) ); diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx index e3144a254..a3e0e7942 100644 --- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx +++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx @@ -22,7 +22,8 @@ import withStyles from "@mui/styles/withStyles"; import { Button } from "@mui/material"; import get from "lodash/get"; import Grid from "@mui/material/Grid"; -import { AddIcon, LambdaIcon } from "../../../../icons"; +import AddIcon from "../../../../icons/AddIcon"; +import LambdaIcon from "../../../../icons/LambdaIcon"; import { BucketEvent, BucketEventList, BucketInfo } from "../types"; import { setErrorSnackMessage } from "../../../../actions"; import { AppState } from "../../../../store"; @@ -42,6 +43,7 @@ import SecureComponent, { import { IAM_SCOPES } from "../../../../common/SecureComponent/permissions"; import withSuspense from "../../Common/Components/withSuspense"; + const DeleteEvent = withSuspense(React.lazy(() => import("./DeleteEvent"))); const AddEvent = withSuspense(React.lazy(() => import("./AddEvent"))); diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx index d42df28e4..a9acab049 100644 --- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx +++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx @@ -21,7 +21,8 @@ import createStyles from "@mui/styles/createStyles"; import withStyles from "@mui/styles/withStyles"; import { Button } from "@mui/material"; import Grid from "@mui/material/Grid"; -import { AddIcon, BucketsIcon } from "../../../../icons"; +import AddIcon from "../../../../icons/AddIcon"; +import BucketsIcon from "../../../../icons/BucketsIcon"; import { setErrorSnackMessage } from "../../../../actions"; import { actionsTray, @@ -46,6 +47,7 @@ import SecureComponent, { import { IAM_SCOPES } from "../../../../common/SecureComponent/permissions"; import withSuspense from "../../Common/Components/withSuspense"; + const AddReplicationModal = withSuspense( React.lazy(() => import("./AddReplicationModal")) ); diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx index a5ab1fe23..3551e1190 100644 --- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx +++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx @@ -47,8 +47,11 @@ import { Badge, Button, Typography } from "@mui/material"; import * as reactMoment from "react-moment"; import BrowserBreadcrumbs from "../../../../ObjectBrowser/BrowserBreadcrumbs"; import { + completeObject, resetRewind, setFileModeEnabled, + setNewObject, + updateProgress, } from "../../../../ObjectBrowser/actions"; import { Route } from "../../../../ObjectBrowser/reducers"; @@ -62,19 +65,12 @@ import { BucketInfo, BucketVersioning } from "../../../types"; import { ErrorResponseHandler } from "../../../../../../common/types"; import ScreenTitle from "../../../../Common/ScreenTitle/ScreenTitle"; -import { - UploadFolderIcon, - UploadIcon, - RefreshIcon, - FolderIcon, - HistoryIcon, - AddFolderIcon, -} from "../../../../../../icons"; + import { setBucketDetailsLoad, setBucketInfo } from "../../../actions"; import { AppState } from "../../../../../../store"; import PageLayout from "../../../../Common/Layout/PageLayout"; import BoxIconButton from "../../../../Common/BoxIconButton/BoxIconButton"; -import { DeleteIcon } from "../../../../../../icons"; + import { IAM_SCOPES } from "../../../../../../common/SecureComponent/permissions"; import SecureComponent, { hasPermission, @@ -82,13 +78,28 @@ import SecureComponent, { import SearchBox from "../../../../Common/SearchBox"; import withSuspense from "../../../../Common/Components/withSuspense"; -import { - setNewObject, - updateProgress, - completeObject, -} from "../../../../ObjectBrowser/actions"; import { displayName } from "./utils"; +import UploadFolderIcon from "../../../../../../icons/UploadFolderIcon"; +const AddFolderIcon = React.lazy( + () => import("../../../../../../icons/AddFolderIcon") +); +const HistoryIcon = React.lazy( + () => import("../../../../../../icons/HistoryIcon") +); +const FolderIcon = React.lazy( + () => import("../../../../../../icons/FolderIcon") +); +const RefreshIcon = React.lazy( + () => import("../../../../../../icons/RefreshIcon") +); +const UploadIcon = React.lazy( + () => import("../../../../../../icons/UploadIcon") +); + +const DeleteIcon = React.lazy( + () => import("../../../../../../icons/DeleteIcon") +); const CreateFolderModal = withSuspense( React.lazy(() => import("./CreateFolderModal")) ); diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/utils.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/utils.tsx index 5e79075e0..95838c2b1 100644 --- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/utils.tsx +++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/utils.tsx @@ -15,26 +15,56 @@ // along with this program. If not, see . import React from "react"; -import { - FileBookIcon, - FileCodeIcon, - FileConfigIcon, - FileDbIcon, - FileFontIcon, - FileImageIcon, - FileLockIcon, - FileMissingIcon, - FileMusicIcon, - FilePdfIcon, - FilePptIcon, - FileTxtIcon, - FileVideoIcon, - FileXlsIcon, - FileZipIcon, -} from "../../../../../../icons"; + import ObjectBrowserIcon from "../../../../../../icons/ObjectBrowserIcon"; import ObjectBrowserFolderIcon from "../../../../../../icons/ObjectBrowserFolderIcon"; +const FileBookIcon = React.lazy( + () => import("../../../../../../icons/FileBookIcon") +); +const FileCodeIcon = React.lazy( + () => import("../../../../../../icons/FileCodeIcon") +); +const FileConfigIcon = React.lazy( + () => import("../../../../../../icons/FileConfigIcon") +); +const FileDbIcon = React.lazy( + () => import("../../../../../../icons/FileDbIcon") +); +const FileFontIcon = React.lazy( + () => import("../../../../../../icons/FileFontIcon") +); +const FileImageIcon = React.lazy( + () => import("../../../../../../icons/FileImageIcon") +); +const FileLockIcon = React.lazy( + () => import("../../../../../../icons/FileLockIcon") +); +const FileMissingIcon = React.lazy( + () => import("../../../../../../icons/FileMissingIcon") +); +const FileMusicIcon = React.lazy( + () => import("../../../../../../icons/FileMusicIcon") +); +const FilePdfIcon = React.lazy( + () => import("../../../../../../icons/FilePdfIcon") +); +const FilePptIcon = React.lazy( + () => import("../../../../../../icons/FilePptIcon") +); +const FileTxtIcon = React.lazy( + () => import("../../../../../../icons/FileTxtIcon") +); +const FileVideoIcon = React.lazy( + () => import("../../../../../../icons/FileVideoIcon") +); +const FileXlsIcon = React.lazy( + () => import("../../../../../../icons/FileXlsIcon") +); +const FileZipIcon = React.lazy( + () => import("../../../../../../icons/FileZipIcon") +); + export const displayName = (element: string, classes: any) => { let elementString = element; let icon = ; diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx index 3624ff8c9..f35b6c51f 100644 --- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx +++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx @@ -50,9 +50,7 @@ import { FileInfoResponse, IFileInfo } from "./types"; import { download, extensionPreview } from "../utils"; import history from "../../../../../../history"; import api from "../../../../../../common/api"; -import ShareIcon from "../../../../../../icons/ShareIcon"; -import DownloadIcon from "../../../../../../icons/DownloadIcon"; -import DeleteIcon from "../../../../../../icons/DeleteIcon"; + import TableWrapper, { ItemActions, } from "../../../../Common/TableWrapper/TableWrapper"; @@ -71,22 +69,37 @@ import AddTagModal from "./AddTagModal"; import DeleteTagModal from "./DeleteTagModal"; import SetLegalHoldModal from "./SetLegalHoldModal"; import ScreenTitle from "../../../../Common/ScreenTitle/ScreenTitle"; -import EditIcon from "../../../../../../icons/EditIcon"; -import SearchIcon from "../../../../../../icons/SearchIcon"; -import ObjectBrowserIcon from "../../../../../../icons/ObjectBrowserIcon"; + import PreviewFileContent from "../Preview/PreviewFileContent"; import RestoreFileVersion from "./RestoreFileVersion"; import PageLayout from "../../../../Common/Layout/PageLayout"; import VerticalTabs from "../../../../Common/VerticalTabs/VerticalTabs"; import BoxIconButton from "../../../../Common/BoxIconButton/BoxIconButton"; -import { RecoverIcon } from "../../../../../../icons"; import SecureComponent from "../../../../../../common/SecureComponent/SecureComponent"; import { + completeObject, setNewObject, updateProgress, - completeObject, } from "../../../../ObjectBrowser/actions"; +const RecoverIcon = React.lazy( + () => import("../../../../../../icons/RecoverIcon") +); +const ShareIcon = React.lazy(() => import("../../../../../../icons/ShareIcon")); +const DownloadIcon = React.lazy( + () => import("../../../../../../icons/DownloadIcon") +); +const DeleteIcon = React.lazy( + () => import("../../../../../../icons/DeleteIcon") +); +const EditIcon = React.lazy(() => import("../../../../../../icons/EditIcon")); +const SearchIcon = React.lazy( + () => import("../../../../../../icons/SearchIcon") +); +const ObjectBrowserIcon = React.lazy( + () => import("../../../../../../icons/ObjectBrowserIcon") +); + const styles = (theme: Theme) => createStyles({ currentItemContainer: { diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx index 018b52767..beb717133 100644 --- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx +++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx @@ -25,7 +25,7 @@ import Grid from "@mui/material/Grid"; import Button from "@mui/material/Button"; import LinearProgress from "@mui/material/LinearProgress"; import { modalBasic } from "../../../../Common/FormComponents/common/styleLibrary"; -import { CopyIcon } from "../../../../../../icons"; + import { IFileInfo } from "./types"; import { setModalErrorSnackMessage, @@ -39,6 +39,8 @@ import PredefinedList from "../../../../Common/FormComponents/PredefinedList/Pre import DaysSelector from "../../../../Common/FormComponents/DaysSelector/DaysSelector"; import { encodeFileName } from "../../../../../../common/utils"; +const CopyIcon = React.lazy(() => import("../../../../../../icons/CopyIcon")); + const styles = (theme: Theme) => createStyles({ copyButtonContainer: { diff --git a/portal-ui/src/screens/Console/Common/FormComponents/DateTimePickerWrapper/DateTimePickerWrapper.tsx b/portal-ui/src/screens/Console/Common/FormComponents/DateTimePickerWrapper/DateTimePickerWrapper.tsx index 0e518d896..447366484 100644 --- a/portal-ui/src/screens/Console/Common/FormComponents/DateTimePickerWrapper/DateTimePickerWrapper.tsx +++ b/portal-ui/src/screens/Console/Common/FormComponents/DateTimePickerWrapper/DateTimePickerWrapper.tsx @@ -26,7 +26,7 @@ import createStyles from "@mui/styles/createStyles"; import withStyles from "@mui/styles/withStyles"; import HelpIcon from "../../../../../icons/HelpIcon"; import { fieldBasic, tooltipHelper } from "../common/styleLibrary"; -import { OpenListIcon } from "../../../../../icons"; +import OpenListIcon from "../../../../../icons/OpenListIcon"; interface IDateTimePicker { value: any; diff --git a/portal-ui/src/screens/Console/Common/IconsScreen.tsx b/portal-ui/src/screens/Console/Common/IconsScreen.tsx index a36a96197..f4294bbf2 100644 --- a/portal-ui/src/screens/Console/Common/IconsScreen.tsx +++ b/portal-ui/src/screens/Console/Common/IconsScreen.tsx @@ -25,12 +25,14 @@ import { AddFolderIcon, AddIcon, AllBucketsIcon, + ArrowIcon, ArrowRightIcon, BackSettingsIcon, BucketsIcon, CalendarIcon, CircleIcon, ClustersIcon, + CollapseIcon, ComputerLineIcon, ConfigurationsListIcon, ConsoleIcon, @@ -71,7 +73,7 @@ import { HelpIcon, HistoryIcon, IAMPoliciesIcon, - JSONIcon, + LambdaBalloonIcon, LambdaIcon, LambdaNotificationsIcon, LicenseIcon, @@ -79,10 +81,13 @@ import { LogoutIcon, LogsIcon, MirroringIcon, + MultipleBucketsIcon, + NewAccountIcon, NextArrowIcon, ObjectBrowser1Icon, ObjectBrowserFolderIcon, ObjectBrowserIcon, + ObjectManagerIcon, OpenListIcon, OperatorLogo, PermissionIcon, @@ -100,6 +105,7 @@ import { ServiceAccountsIcon, SettingsIcon, ShareIcon, + SpeedtestIcon, StorageIcon, SyncIcon, TenantsIcon, @@ -110,6 +116,7 @@ import { TraceIcon, TrashIcon, UploadFile, + UploadFolderIcon, UploadIcon, UploadStatIcon, UptimeIcon, @@ -117,10 +124,9 @@ import { VersionIcon, WarpIcon, WatchIcon, - ObjectManagerIcon, - UploadFolderIcon } from "../../../icons"; import WarnIcon from "../../../icons/WarnIcon"; +import JSONIcon from "../../../icons/JSONIcon"; interface IIconsScreenSimple { classes: any; @@ -131,6 +137,7 @@ const styles = (theme: Theme) => ...containerForHeader(theme.spacing(4)), root: { fontSize: 12, + wordWrap: "break-word", }, }); @@ -138,596 +145,426 @@ const IconsScreen = ({ classes }: IIconsScreenSimple) => { return (
- - -
- StorageIcon -
- - - -
- RefreshIcon -
- - - -
- ShareIcon -
- - - -
- FolderIcon -
- - - -
- EditIcon -
- - - -
- SearchIcon -
- - - -
- ObjectBrowserFolderIcon -
- - - -
- RedoIcon -
- - - -
- DashboardIcon -
- - - -
- ClustersIcon -
- - - -
- MirroringIcon -
- - - -
- ServiceAccountIcon -
- - - -
- ConfigurationsListIcon -
- - - -
- WatchIcon -
- - - -
- HealIcon -
- - - -
- OperatorLogo -
- - - -
- DeleteIcon -
- - - -
- ReportedUsageIcon -
- - - -
- PermissionIcon -
- - - -
+ +
AccountIcon
- - - -
- DiagnosticIcon -
- - - -
- TenantsOutlineIcon -
- - - -
- HelpIcon -
- - - -
- DiagnosticsIcon -
- - - -
- ObjectBrowser1Icon -
- - - -
- WarpIcon -
- - - -
- CopyIcon -
- - - -
- ConsoleLogo -
- - - -
- TraceIcon -
- - - -
- AddIcon -
- - - -
- LambdaNotificationsIcon -
- - - -
- BackSettingsIcon -
- - - -
- LicenseIcon -
- - - -
- RemoveIcon -
- - - -
+ +
AddFolderIcon
- - - -
- IAMPoliciesIcon + +
+ AddIcon
- - - -
- UsersIcon -
- - - -
- EgressIcon -
- - - -
- DocumentationIcon -
- - - -
- TrashIcon -
- - - -
- DownloadIcon -
- - - -
+ +
AllBucketsIcon
- - - -
- SelectMultipleIcon + +
+ ArrowIcon
- - - -
- GroupsIcon -
- - - -
- TenantsIcon -
- - - -
- UploadFile -
- - - -
- CreateIcon -
- - - -
- SyncIcon -
- - - -
- LogoutIcon -
- - - -
- HistoryIcon -
- - - -
- BucketsIcon -
- - - -
- ObjectBrowserIcon -
- - - -
- SettingsIcon -
- - - -
- UploadIcon -
- - - -
- ServiceAccountsIcon -
- - - -
- LogsIcon -
- - - -
- ConsoleIcon -
- - - -
- ServersIcon -
- - - -
- DrivesIcon -
- - - -
- TotalObjectsIcon -
- - - -
- CircleIcon -
- - - -
- PreviewIcon -
- - - -
- LockIcon -
- - - -
- VersionIcon -
- - - -
- FileLockIcon -
- - - -
- FileXlsIcon -
- - - -
- FileZipIcon -
- - - -
- FileCloudIcon -
- - - -
- FileMusicIcon -
- - - -
- FileConfigIcon -
- - - -
- FilePdfIcon -
- - - -
- FileFontIcon -
- - - -
- FileLinkIcon -
- - - -
- FileImageIcon -
- - - -
- FileWorldIcon -
- - - -
- FileBookIcon -
- - - -
- FileMissingIcon -
- - - -
- FileCodeIcon -
- - - -
- FilePptIcon -
- - - -
- FileDbIcon -
- - - -
- FileTxtIcon -
- - - -
- FileVideoIcon -
- - - -
+ +
ArrowRightIcon
- - - -
+ +
+ BackSettingsIcon +
+ +
+ BucketsIcon +
+ +
CalendarIcon
- - - -
- UptimeIcon + +
+ CircleIcon
- - - -
- LambdaIcon + +
+ ClustersIcon
- - - -
- TiersIcon + +
+ CollapseIcon
- - - -
- OpenListIcon -
- - - -
- ToolsIcon -
- - - -
- RecoverIcon -
- - - -
- PrometheusIcon -
- - - -
- NextArrowIcon -
- - - -
- DownloadStatIcon -
- - - -
- UploadStatIcon -
- - - -
+ +
ComputerLineIcon
- - - -
+ +
+ ConfigurationsListIcon +
+ +
+ ConsoleIcon +
+ +
+ ConsoleLogo +
+ +
+ CopyIcon +
+ +
+ CreateIcon +
+ +
+ DashboardIcon +
+ +
+ DeleteIcon +
+ +
+ DiagnosticIcon +
+ +
+ DiagnosticsIcon +
+ +
+ DocumentationIcon +
+ +
+ DownloadIcon +
+ +
+ DownloadStatIcon +
+ +
+ DrivesIcon +
+ +
+ EditIcon +
+ +
+ EgressIcon +
+ +
+ FileBookIcon +
+ +
+ FileCloudIcon +
+ +
+ FileCodeIcon +
+ +
+ FileConfigIcon +
+ +
+ FileDbIcon +
+ +
+ FileFontIcon +
+ +
+ FileImageIcon +
+ +
+ FileLinkIcon +
+ +
+ FileLockIcon +
+ +
+ FileMissingIcon +
+ +
+ FileMusicIcon +
+ +
+ FilePdfIcon +
+ +
+ FilePptIcon +
+ +
+ FileTxtIcon +
+ +
+ FileVideoIcon +
+ +
+ FileWorldIcon +
+ +
+ FileXlsIcon +
+ +
+ FileZipIcon +
+ +
+ FolderIcon +
+ +
+ GroupsIcon +
+ +
+ HealIcon +
+ +
+ HelpIcon +
+ +
+ HistoryIcon +
+ +
+ IAMPoliciesIcon +
+ +
JSONIcon
- - -
+ +
+ LambdaBalloonIcon +
+ +
+ LambdaIcon +
+ +
+ LambdaNotificationsIcon +
+ +
+ LicenseIcon +
+ +
+ LockIcon +
+ +
+ LogoutIcon +
+ +
+ LogsIcon +
+ +
+ MirroringIcon +
+ +
+ MultipleBucketsIcon +
+ +
+ NewAccountIcon +
+ +
+ NextArrowIcon +
+ +
+ ObjectBrowser1Icon +
+ +
+ ObjectBrowserFolderIcon +
+ +
+ ObjectBrowserIcon +
+ +
+ ObjectManagerIcon +
+ +
+ OpenListIcon +
+ +
+ OperatorLogo +
+ +
+ PermissionIcon +
+ +
+ PreviewIcon +
+ +
+ PrometheusIcon +
+ +
+ RecoverIcon +
+ +
+ RedoIcon +
+ +
+ RefreshIcon +
+ +
+ RemoveIcon +
+ +
+ ReportedUsageIcon +
+ +
+ SearchIcon +
+ +
+ SelectMultipleIcon +
+ +
+ ServersIcon +
+ +
+ ServiceAccountIcon +
+ +
+ ServiceAccountsIcon +
+ +
+ SettingsIcon +
+ +
+ ShareIcon +
+ +
+ SpeedtestIcon +
+ +
+ StorageIcon +
+ +
+ SyncIcon +
+ +
+ TenantsIcon +
+ +
+ TenantsOutlineIcon +
+ +
+ TiersIcon +
+ +
+ ToolsIcon +
+ +
+ TotalObjectsIcon +
+ +
+ TraceIcon +
+ +
+ TrashIcon +
+ +
+ UploadFile +
+ +
+ UploadFolderIcon +
+ +
+ UploadIcon +
+ +
+ UploadStatIcon +
+ +
+ UptimeIcon +
+ +
+ UsersIcon +
+ +
+ VersionIcon +
+ +
WarnIcon
-
- - -
- ObjectManagerIcon -
- - -
- UploadFolderIcon + +
+ WarpIcon +
+ +
+ WatchIcon +
); diff --git a/portal-ui/src/screens/Console/Common/ObjectManager/ObjectHandled.tsx b/portal-ui/src/screens/Console/Common/ObjectManager/ObjectHandled.tsx index 9c756608d..9cb5f562b 100644 --- a/portal-ui/src/screens/Console/Common/ObjectManager/ObjectHandled.tsx +++ b/portal-ui/src/screens/Console/Common/ObjectManager/ObjectHandled.tsx @@ -22,6 +22,7 @@ import withStyles from "@mui/styles/withStyles"; import { IFileItem } from "../../ObjectBrowser/reducers"; import ProgressBarWrapper from "../ProgressBarWrapper/ProgressBarWrapper"; import { DownloadStatIcon, UploadStatIcon } from "../../../../icons"; +import clsx from "clsx"; interface IObjectHandled { classes: any; @@ -74,6 +75,12 @@ const styles = (theme: Theme) => height: 20, }, }, + download: { + color: "rgb(113,200,150)", + }, + upload: { + color: "rgb(66,127,172)", + }, closeIcon: { "&::before": { width: 1, @@ -128,7 +135,12 @@ const ObjectHandled = ({
-
+
{objectToDisplay.type === "download" ? ( ) : ( diff --git a/portal-ui/src/screens/Console/Menu/Menu.tsx b/portal-ui/src/screens/Console/Menu/Menu.tsx index bf07cca83..fadc4e0e2 100644 --- a/portal-ui/src/screens/Console/Menu/Menu.tsx +++ b/portal-ui/src/screens/Console/Menu/Menu.tsx @@ -41,7 +41,7 @@ import history from "../../../history"; import api from "../../../common/api"; import MenuIcon from "@mui/icons-material/Menu"; -import { LogoutIcon } from "../../../icons"; +import LogoutIcon from "../../../icons/LogoutIcon"; const drawerWidth = 245; diff --git a/portal-ui/src/screens/Console/Tenants/AddTenant/Steps/Security.tsx b/portal-ui/src/screens/Console/Tenants/AddTenant/Steps/Security.tsx index d04d20434..cb1d4ac26 100644 --- a/portal-ui/src/screens/Console/Tenants/AddTenant/Steps/Security.tsx +++ b/portal-ui/src/screens/Console/Tenants/AddTenant/Steps/Security.tsx @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -import React, { useEffect, useCallback, Fragment } from "react"; +import React, { Fragment, useCallback, useEffect } from "react"; import { connect } from "react-redux"; import { Theme } from "@mui/material/styles"; import createStyles from "@mui/styles/createStyles"; @@ -26,20 +26,21 @@ import { wizardCommon, } from "../../../Common/FormComponents/common/styleLibrary"; import { - updateAddField, - isPageValid, - addFileToCaCertificates, - deleteCaCertificate, addCaCertificate, - addKeyPair, + addFileToCaCertificates, addFileToKeyPair, + addKeyPair, + deleteCaCertificate, deleteKeyPair, + isPageValid, + updateAddField, } from "../../actions"; import { AppState } from "../../../../../store"; import { KeyPair } from "../../ListTenants/utils"; import FormSwitchWrapper from "../../../Common/FormComponents/FormSwitchWrapper/FormSwitchWrapper"; import FileSelector from "../../../Common/FormComponents/FileSelector/FileSelector"; -import { AddIcon, RemoveIcon } from "../../../../../icons"; +import AddIcon from "../../../../../icons/AddIcon"; +import RemoveIcon from "../../../../../icons/RemoveIcon"; interface ISecurityProps { classes: any;