diff --git a/portal-ui/src/icons/LoginMinIOLogo.tsx b/portal-ui/src/icons/LoginMinIOLogo.tsx index 5de85cd2f..bc98ecd41 100644 --- a/portal-ui/src/icons/LoginMinIOLogo.tsx +++ b/portal-ui/src/icons/LoginMinIOLogo.tsx @@ -24,6 +24,7 @@ const LoginMinIOLogo = (props: SVGProps) => ( height="49.568" viewBox="0 0 284.616 49.568" className={"min-icon"} + fill={"currentcolor"} {...props} > diff --git a/portal-ui/src/icons/SidebarMenus/MenuIcons.tsx b/portal-ui/src/icons/SidebarMenus/index.ts similarity index 65% rename from portal-ui/src/icons/SidebarMenus/MenuIcons.tsx rename to portal-ui/src/icons/SidebarMenus/index.ts index dd55d7169..2bcee3cb4 100644 --- a/portal-ui/src/icons/SidebarMenus/MenuIcons.tsx +++ b/portal-ui/src/icons/SidebarMenus/index.ts @@ -1,22 +1,37 @@ -export { default as UsersMenuIcon } from "./UsersMenuIcon"; -export { default as MenuCollapsedIcon } from "./MenuCollapsedIcon"; -export { default as MenuExpandedIcon } from "./MenuExpandedIcon"; -export { default as BucketsMenuIcon } from "./BucketsMenuIcon"; -export { default as IdentityMenuIcon } from "./IdentityMenuIcon"; -export { default as MonitoringMenuIcon } from "./MonitoringMenuIcon"; -export { default as HealthMenuIcon } from "./HealthMenuIcon"; -export { default as GroupsMenuIcon } from "./GroupsMenuIcon"; -export { default as AccountsMenuIcon } from "./AccountsMenuIcon"; -export { default as LogsMenuIcon } from "./LogsMenuIcon"; -export { default as MetricsMenuIcon } from "./MetricsMenuIcon"; -export { default as AuditLogsMenuIcon } from "./AuditLogsMenuIcon"; -export { default as TraceMenuIcon } from "./TraceMenuIcon"; -export { default as DrivesMenuIcon } from "./DrivesMenuIcon"; -export { default as AccessMenuIcon } from "./AccessMenuIcon"; -export { default as SupportMenuIcon } from "./SupportMenuIcon"; -export { default as RegisterMenuIcon } from "./RegisterMenuIcon"; -export { default as DiagnosticsMenuIcon } from "./DiagnosticsMenuIcon"; -export { default as PerformanceMenuIcon } from "./PerformanceMenuIcon"; -export { default as CallHomeMenuIcon } from "./CallHomeMenuIcon"; +// This file is part of MinIO Console Server +// Copyright (c) 2022 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 . export { default as InspectMenuIcon } from "./InspectMenuIcon"; +export { default as AuditLogsMenuIcon } from "./AuditLogsMenuIcon"; +export { default as HealthMenuIcon } from "./HealthMenuIcon"; +export { default as MenuExpandedIcon } from "./MenuExpandedIcon"; +export { default as TraceMenuIcon } from "./TraceMenuIcon"; +export { default as GroupsMenuIcon } from "./GroupsMenuIcon"; +export { default as MenuCollapsedIcon } from "./MenuCollapsedIcon"; +export { default as MetricsMenuIcon } from "./MetricsMenuIcon"; +export { default as IdentityMenuIcon } from "./IdentityMenuIcon"; +export { default as LogsMenuIcon } from "./LogsMenuIcon"; +export { default as MonitoringMenuIcon } from "./MonitoringMenuIcon"; +export { default as SupportMenuIcon } from "./SupportMenuIcon"; +export { default as PerformanceMenuIcon } from "./PerformanceMenuIcon"; +export { default as DiagnosticsMenuIcon } from "./DiagnosticsMenuIcon"; +export { default as AccessMenuIcon } from "./AccessMenuIcon"; +export { default as RegisterMenuIcon } from "./RegisterMenuIcon"; +export { default as DrivesMenuIcon } from "./DrivesMenuIcon"; +export { default as AccountsMenuIcon } from "./AccountsMenuIcon"; export { default as ProfileMenuIcon } from "./ProfileMenuIcon"; +export { default as CallHomeMenuIcon } from "./CallHomeMenuIcon"; +export { default as BucketsMenuIcon } from "./BucketsMenuIcon"; +export { default as UsersMenuIcon } from "./UsersMenuIcon"; diff --git a/portal-ui/src/icons/index.ts b/portal-ui/src/icons/index.ts index deec556b5..23357c87c 100644 --- a/portal-ui/src/icons/index.ts +++ b/portal-ui/src/icons/index.ts @@ -14,152 +14,155 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -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 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 FileCloudIcon } from "./FileCloudIcon"; -export { default as FileCodeIcon } from "./FileCodeIcon"; -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 EditorThemeSwitchIcon } from "./EditorThemeSwitchIcon"; 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 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 DisabledIcon } from "./DisabledIcon"; +export { default as FormatDrivesIcon } from "./FormatDrivesIcon"; 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 RefreshIcon } from "./RefreshIcon"; export { default as VersionIcon } from "./VersionIcon"; -export { default as WarnIcon } from "./WarnIcon"; -export { default as WarpIcon } from "./WarpIcon"; -export { default as WatchIcon } from "./WatchIcon"; -export { default as ClosePanelIcon } from "./ClosePanelIcon"; -export { default as LoginMinIOLogo } from "./LoginMinIOLogo"; - -/*Modal Title Icons **/ -export { default as AddAccessRuleIcon } from "./AddAccessRuleIcon"; -export { default as AddMembersToGroupIcon } from "./AddMembersToGroupIcon"; -export { default as AddNewTagIcon } from "./AddNewTagIcon"; -export { default as ChangeAccessPolicyIcon } from "./ChangeAccessPolicyIcon"; -export { default as ChangePasswordIcon } from "./ChangePasswordIcon"; -export { default as CreateGroupIcon } from "./CreateGroupIcon"; -export { default as CreateNewPathIcon } from "./CreateNewPathIcon"; -export { default as CreateUserIcon } from "./CreateUserIcon"; -export { default as DriveFormatErrorsIcon } from "./DriveFormatErrorsIcon"; -export { default as EditYamlIcon } from "./EditYamlIcon"; -export { default as BucketEncryptionIcon } from "./BucketEncryptionIcon"; -export { default as BucketQuotaIcon } from "./BucketQuotaIcon"; -export { default as NewPoolIcon } from "./NewPoolIcon"; -export { default as FormatDrivesIcon } from "./FormatDrivesIcon"; -export { default as LifecycleConfigIcon } from "./LifecycleConfigIcon"; -export { default as ServiceAccountCredentialsIcon } from "./ServiceAccountCredentialsIcon"; -export { default as ObjectPreviewIcon } from "./ObjectPreviewIcon"; -export { default as BucketReplicationIcon } from "./BucketReplicationIcon"; -export { default as EventSubscriptionIcon } from "./EventSubscriptionIcon"; -export { default as ConfirmModalIcon } from "./ConfirmModalIcon"; -export { default as ConfirmDeleteIcon } from "./ConfirmDeleteIcon"; -export { default as EnabledIcon } from "./EnabledIcon"; -export { default as DisabledIcon } from "./DisabledIcon"; -export { default as HardBucketQuotaIcon } from "./HardBucketQuotaIcon"; -export { default as ReportedUsageFullIcon } from "./ReportedUsageFullIcon"; -export { default as TiersNotAvailableIcon } from "./TiersNotAvailableIcon"; -export { default as MinIOTierIcon } from "./MinIOTierIcon"; -export { default as MinIOTierIconXs } from "./MinIOTierIconXs"; -export { default as AzureTierIcon } from "./AzureTierIcon"; -export { default as AzureTierIconXs } from "./AzureTierIconXs"; -export { default as GoogleTierIcon } from "./GoogleTierIcon"; -export { default as GoogleTierIconXs } from "./GoogleTierIconXs"; -export { default as S3TierIcon } from "./S3TierIcon"; -export { default as S3TierIconXs } from "./S3TierIconXs"; -export { default as EditorThemeSwitchIcon } from "./EditorThemeSwitchIcon"; -export { default as PasswordKeyIcon } from "./PasswordKeyIcon"; +export { default as LambdaBalloonIcon } from "./LambdaBalloonIcon"; +export { default as FileZipIcon } from "./FileZipIcon"; export { default as HelpIconFilled } from "./HelpIconFilled"; -export { default as CallHomeFeatureIcon } from "./CallHomeFeatureIcon"; -export { default as DiagnosticsFeatureIcon } from "./DiagnosticsFeatureIcon"; -export { default as PerformanceFeatureIcon } from "./PerformanceFeatureIcon"; +export { default as ShareIcon } from "./ShareIcon"; +export { default as FolderIcon } from "./FolderIcon"; +export { default as EditIcon } from "./EditIcon"; +export { default as JSONIcon } from "./JSONIcon"; +export { default as SearchIcon } from "./SearchIcon"; +export { default as WarnIcon } from "./WarnIcon"; +export { default as CircleIcon } from "./CircleIcon"; +export { default as FileCloudIcon } from "./FileCloudIcon"; +export { default as ObjectBrowserFolderIcon } from "./ObjectBrowserFolderIcon"; +export { default as RedoIcon } from "./RedoIcon"; +export { default as ChangeAccessPolicyIcon } from "./ChangeAccessPolicyIcon"; +export { default as FileMusicIcon } from "./FileMusicIcon"; +export { default as ServersIcon } from "./ServersIcon"; +export { default as ClosePanelIcon } from "./ClosePanelIcon"; +export { default as MinIOTierIconXs } from "./MinIOTierIconXs"; +export { default as DashboardIcon } from "./DashboardIcon"; +export { default as ClustersIcon } from "./ClustersIcon"; +export { default as MirroringIcon } from "./MirroringIcon"; +export { default as ToolsIcon } from "./ToolsIcon"; +export { default as ArrowIcon } from "./ArrowIcon"; +export { default as ServiceAccountIcon } from "./ServiceAccountIcon"; +export { default as OnlineRegistrationBackIcon } from "./OnlineRegistrationBackIcon"; +export { default as ConfigurationsListIcon } from "./ConfigurationsListIcon"; +export { default as WatchIcon } from "./WatchIcon"; +export { default as ServiceAccountCredentialsIcon } from "./ServiceAccountCredentialsIcon"; +export { default as HealIcon } from "./HealIcon"; +export { default as LoginMinIOLogo } from "./LoginMinIOLogo"; +export { default as S3TierIcon } from "./S3TierIcon"; +export { default as ArrowRightIcon } from "./ArrowRightIcon"; +export { default as PreviewIcon } from "./PreviewIcon"; +export { default as BucketQuotaIcon } from "./BucketQuotaIcon"; +export { default as OperatorLogo } from "./OperatorLogo"; +export { default as SelectMultipleIcon } from "./SelectMultipleIcon"; +export { default as DeleteIcon } from "./DeleteIcon"; +export { default as EditYamlIcon } from "./EditYamlIcon"; +export { default as ReportedUsageIcon } from "./ReportedUsageIcon"; +export { default as PrometheusIcon } from "./PrometheusIcon"; +export { default as ConfirmModalIcon } from "./ConfirmModalIcon"; +export { default as NextArrowIcon } from "./NextArrowIcon"; +export { default as FileConfigIcon } from "./FileConfigIcon"; +export { default as PermissionIcon } from "./PermissionIcon"; +export { default as GoogleTierIcon } from "./GoogleTierIcon"; +export { default as AccountIcon } from "./AccountIcon"; +export { default as AddAccessRuleIcon } from "./AddAccessRuleIcon"; +export { default as FilePdfIcon } from "./FilePdfIcon"; +export { default as FileFontIcon } from "./FileFontIcon"; +export { default as UptimeIcon } from "./UptimeIcon"; +export { default as EnabledIcon } from "./EnabledIcon"; +export { default as ObjectPreviewIcon } from "./ObjectPreviewIcon"; +export { default as TenantsOutlineIcon } from "./TenantsOutlineIcon"; +export { default as DrivesIcon } from "./DrivesIcon"; +export { default as CreateNewPathIcon } from "./CreateNewPathIcon"; +export { default as HelpIcon } from "./HelpIcon"; +export { default as FileLinkIcon } from "./FileLinkIcon"; +export { default as ReportedUsageFullIcon } from "./ReportedUsageFullIcon"; +export { default as AddNewTagIcon } from "./AddNewTagIcon"; +export { default as OnlineRegistrationIcon } from "./OnlineRegistrationIcon"; +export { default as DiagnosticsIcon } from "./DiagnosticsIcon"; +export { default as ObjectBrowser1Icon } from "./ObjectBrowser1Icon"; +export { default as MinIOTierIcon } from "./MinIOTierIcon"; +export { default as WarpIcon } from "./WarpIcon"; +export { default as CopyIcon } from "./CopyIcon"; +export { default as OpenListIcon } from "./OpenListIcon"; +export { default as MultipleBucketsIcon } from "./MultipleBucketsIcon"; +export { default as FileImageIcon } from "./FileImageIcon"; +export { default as AddMembersToGroupIcon } from "./AddMembersToGroupIcon"; +export { default as OfflineRegistrationBackIcon } from "./OfflineRegistrationBackIcon"; +export { default as ConsoleLogo } from "./ConsoleLogo"; export { default as PrometheusErrorIcon } from "./PrometheusErrorIcon"; +export { default as LifecycleConfigIcon } from "./LifecycleConfigIcon"; +export { default as DriveFormatErrorsIcon } from "./DriveFormatErrorsIcon"; +export { default as VerifiedIcon } from "./VerifiedIcon"; +export { default as CallHomeFeatureIcon } from "./CallHomeFeatureIcon"; +export { default as TraceIcon } from "./TraceIcon"; +export { default as AddIcon } from "./AddIcon"; +export { default as GoogleTierIconXs } from "./GoogleTierIconXs"; +export { default as LambdaNotificationsIcon } from "./LambdaNotificationsIcon"; +export { default as FileWorldIcon } from "./FileWorldIcon"; +export { default as BackSettingsIcon } from "./BackSettingsIcon"; +export { default as LicenseIcon } from "./LicenseIcon"; +export { default as RemoveIcon } from "./RemoveIcon"; +export { default as FileBookIcon } from "./FileBookIcon"; +export { default as TiersNotAvailableIcon } from "./TiersNotAvailableIcon"; +export { default as PerformanceFeatureIcon } from "./PerformanceFeatureIcon"; +export { default as AddFolderIcon } from "./AddFolderIcon"; +export { default as S3TierIconXs } from "./S3TierIconXs"; +export { default as IAMPoliciesIcon } from "./IAMPoliciesIcon"; +export { default as UsersIcon } from "./UsersIcon"; +export { default as EgressIcon } from "./EgressIcon"; +export { default as BucketEncryptionIcon } from "./BucketEncryptionIcon"; +export { default as DocumentationIcon } from "./DocumentationIcon"; +export { default as DiagnosticsFeatureIcon } from "./DiagnosticsFeatureIcon"; +export { default as PasswordKeyIcon } from "./PasswordKeyIcon"; +export { default as TrashIcon } from "./TrashIcon"; +export { default as EventSubscriptionIcon } from "./EventSubscriptionIcon"; +export { default as DownloadIcon } from "./DownloadIcon"; +export { default as ComputerLineIcon } from "./ComputerLineIcon"; +export { default as AllBucketsIcon } from "./AllBucketsIcon"; +export { default as FileMissingIcon } from "./FileMissingIcon"; +export { default as LambdaIcon } from "./LambdaIcon"; +export { default as GroupsIcon } from "./GroupsIcon"; +export { default as DownloadStatIcon } from "./DownloadStatIcon"; +export { default as UploadFolderIcon } from "./UploadFolderIcon"; +export { default as TiersIcon } from "./TiersIcon"; +export { default as NewAccountIcon } from "./NewAccountIcon"; +export { default as CreateGroupIcon } from "./CreateGroupIcon"; +export { default as FileCodeIcon } from "./FileCodeIcon"; +export { default as CollapseIcon } from "./CollapseIcon"; +export { default as ConfirmDeleteIcon } from "./ConfirmDeleteIcon"; +export { default as OfflineRegistrationIcon } from "./OfflineRegistrationIcon"; +export { default as TenantsIcon } from "./TenantsIcon"; +export { default as UploadFile } from "./UploadFile"; +export { default as CreateIcon } from "./CreateIcon"; +export { default as NewPoolIcon } from "./NewPoolIcon"; +export { default as SyncIcon } from "./SyncIcon"; +export { default as LogoutIcon } from "./LogoutIcon"; +export { default as AzureTierIconXs } from "./AzureTierIconXs"; +export { default as TotalObjectsIcon } from "./TotalObjectsIcon"; +export { default as HistoryIcon } from "./HistoryIcon"; +export { default as CreateUserIcon } from "./CreateUserIcon"; +export { default as BucketsIcon } from "./BucketsIcon"; +export { default as UploadStatIcon } from "./UploadStatIcon"; +export { default as BucketReplicationIcon } from "./BucketReplicationIcon"; +export { default as ObjectManagerIcon } from "./ObjectManagerIcon"; +export { default as ObjectBrowserIcon } from "./ObjectBrowserIcon"; +export { default as RecoverIcon } from "./RecoverIcon"; +export { default as FilePptIcon } from "./FilePptIcon"; +export { default as SettingsIcon } from "./SettingsIcon"; +export { default as UploadIcon } from "./UploadIcon"; +export { default as FileDbIcon } from "./FileDbIcon"; +export { default as AzureTierIcon } from "./AzureTierIcon"; +export { default as FileTxtIcon } from "./FileTxtIcon"; +export { default as CalendarIcon } from "./CalendarIcon"; +export { default as ServiceAccountsIcon } from "./ServiceAccountsIcon"; +export { default as LogsIcon } from "./LogsIcon"; +export { default as HardBucketQuotaIcon } from "./HardBucketQuotaIcon"; +export { default as ConsoleIcon } from "./ConsoleIcon"; +export { default as FileVideoIcon } from "./FileVideoIcon"; +export { default as ChangePasswordIcon } from "./ChangePasswordIcon"; +export { default as LockIcon } from "./LockIcon"; diff --git a/portal-ui/src/screens/Console/Common/IconsScreen.tsx b/portal-ui/src/screens/Console/Common/IconsScreen.tsx index 2037e6ad4..5842ece8b 100644 --- a/portal-ui/src/screens/Console/Common/IconsScreen.tsx +++ b/portal-ui/src/screens/Console/Common/IconsScreen.tsx @@ -14,119 +14,23 @@ // 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 React, { useState } from "react"; import { containerForHeader } from "../Common/FormComponents/common/styleLibrary"; import { Theme } from "@mui/material/styles"; import createStyles from "@mui/styles/createStyles"; import withStyles from "@mui/styles/withStyles"; -import { Grid } from "@mui/material"; import { - AccountIcon, - AddFolderIcon, - AddIcon, - AllBucketsIcon, - ArrowIcon, - ArrowRightIcon, - BackSettingsIcon, - BucketsIcon, - CalendarIcon, - CircleIcon, - ClosePanelIcon, - ClustersIcon, - CollapseIcon, - ComputerLineIcon, - ConfigurationsListIcon, - ConsoleIcon, - ConsoleLogo, - CopyIcon, - CreateIcon, - DashboardIcon, - DeleteIcon, - 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, - 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, - WarpIcon, - WatchIcon, -} from "../../../icons"; -import WarnIcon from "../../../icons/WarnIcon"; -import JSONIcon from "../../../icons/JSONIcon"; + FormControl, + FormControlLabel, + FormLabel, + Grid, + Radio, + RadioGroup, +} from "@mui/material"; + +import * as cicons from "../../../icons"; +import * as micons from "../../../icons/SidebarMenus"; +import clsx from "clsx"; interface IIconsScreenSimple { classes: any; @@ -139,433 +43,931 @@ const styles = (theme: Theme) => fontSize: 12, wordWrap: "break-word", }, + def: {}, + red: { + "& .min-icon": { + color: "red", + }, + }, }); const IconsScreen = ({ classes }: IIconsScreenSimple) => { + const [color, setColor] = useState("default"); return (
- - -
- AccountIcon -
- -
- AddFolderIcon -
- -
- AddIcon -
- -
- AllBucketsIcon -
- -
- ArrowIcon -
- -
- ArrowRightIcon -
- -
- BackSettingsIcon -
- -
- BucketsIcon -
- -
- CalendarIcon -
- -
- CircleIcon -
- -
- ClosePanelIcon -
- -
- ClustersIcon -
- -
- CollapseIcon -
- -
- ComputerLineIcon -
- -
- ConfigurationsListIcon -
- -
- ConsoleIcon -
- -
+ + + Color + { + setColor(c.target.value); + }} + > + } label="Default" /> + } label="Color" /> + + + +

Logos

+ + +
ConsoleLogo
- -
- CopyIcon + +
+ LoginMinIOLogo
- -
- CreateIcon -
- -
- DashboardIcon -
- -
- DeleteIcon -
- -
- 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
+
+

Icons

+ -
+
+ AccountIcon +
+ + +
+ AddAccessRuleIcon +
+ + +
+ AddFolderIcon +
+ + +
+ AddIcon +
+ + +
+ AddMembersToGroupIcon +
+ + +
+ AddNewTagIcon +
+ + +
+ AllBucketsIcon +
+ + +
+ ArrowIcon +
+ + +
+ ArrowRightIcon +
+ + +
+ AzureTierIcon +
+ + +
+ AzureTierIconXs +
+ + +
+ BackSettingsIcon +
+ + +
+ BucketEncryptionIcon +
+ + +
+ BucketQuotaIcon +
+ + +
+ BucketReplicationIcon +
+ + +
+ BucketsIcon +
+ + +
+ CalendarIcon +
+ + +
+ CallHomeFeatureIcon +
+ + +
+ ChangeAccessPolicyIcon +
+ + +
+ ChangePasswordIcon +
+ + +
+ CircleIcon +
+ + +
+ ClosePanelIcon +
+ + +
+ ClustersIcon +
+ + +
+ CollapseIcon +
+ + +
+ ComputerLineIcon +
+ + +
+ ConfigurationsListIcon +
+ + +
+ ConfirmDeleteIcon +
+ + +
+ ConfirmModalIcon +
+ + +
+ ConsoleIcon +
+ + +
+ CopyIcon +
+ + +
+ CreateGroupIcon +
+ + +
+ CreateIcon +
+ + +
+ CreateNewPathIcon +
+ + +
+ CreateUserIcon +
+ + +
+ DashboardIcon +
+ + +
+ DeleteIcon +
+ + +
+ DiagnosticsFeatureIcon +
+ + +
+ DiagnosticsIcon +
+ + +
+ DisabledIcon +
+ + +
+ DocumentationIcon +
+ + +
+ DownloadIcon +
+ + +
+ DownloadStatIcon +
+ + +
+ DriveFormatErrorsIcon +
+ + +
+ DrivesIcon +
+ + +
+ EditIcon +
+ + +
+ EditYamlIcon +
+ + +
+ EditorThemeSwitchIcon +
+ + +
+ EgressIcon +
+ + +
+ EnabledIcon +
+ + +
+ EventSubscriptionIcon +
+ + +
+ FileBookIcon +
+ + +
+ FileCloudIcon +
+ + +
+ FileCodeIcon +
+ + +
+ FileConfigIcon +
+ + +
+ FileDbIcon +
+ + +
+ FileFontIcon +
+ + +
+ FileImageIcon +
+ + +
+ FileLinkIcon +
+ + +
+ FileLockIcon +
+ + +
+ FileMissingIcon +
+ + +
+ FileMusicIcon +
+ + +
+ FilePdfIcon +
+ + +
+ FilePptIcon +
+ + +
+ FileTxtIcon +
+ + +
+ FileVideoIcon +
+ + +
+ FileWorldIcon +
+ + +
+ FileXlsIcon +
+ + +
+ FileZipIcon +
+ + +
+ FolderIcon +
+ + +
+ FormatDrivesIcon +
+ + +
+ GoogleTierIcon +
+ + +
+ GoogleTierIconXs +
+ + +
+ GroupsIcon +
+ + +
+ HardBucketQuotaIcon +
+ + +
+ HealIcon +
+ + +
+ HelpIcon +
+ + +
+ HelpIconFilled +
+ + +
+ HistoryIcon +
+ + +
+ IAMPoliciesIcon +
+ + +
+ JSONIcon +
+ + +
+ LambdaBalloonIcon +
+ + +
+ LambdaIcon +
+ + +
+ LambdaNotificationsIcon +
+ + +
+ LicenseIcon +
+ + +
+ LifecycleConfigIcon +
+ + +
+ LockIcon +
+ + +
+ LogoutIcon +
+ + +
+ LogsIcon +
+ + +
+ MinIOTierIcon +
+ + +
+ MinIOTierIconXs +
+ + +
+ MirroringIcon +
+ + +
+ MultipleBucketsIcon +
+ + +
+ NewAccountIcon +
+ + +
+ NewPoolIcon +
+ + +
+ NextArrowIcon +
+ + +
+ ObjectBrowser1Icon +
+ + +
+ ObjectBrowserFolderIcon +
+ + +
+ ObjectBrowserIcon +
+ + +
+ ObjectManagerIcon +
+ + +
+ ObjectPreviewIcon +
+ + +
+ OfflineRegistrationBackIcon +
+ + +
+ OfflineRegistrationIcon +
+ + +
+ OnlineRegistrationBackIcon +
+ + +
+ OnlineRegistrationIcon +
+ + +
+ OpenListIcon +
+ + +
+ PasswordKeyIcon +
+ + +
+ PerformanceFeatureIcon +
+ + +
PermissionIcon
+ -
+
PreviewIcon
+ -
+
+ PrometheusErrorIcon +
+ + +
PrometheusIcon
+ -
+
RecoverIcon
+ -
+
RedoIcon
+ -
+
RefreshIcon
+ -
+
RemoveIcon
+ -
+
+ ReportedUsageFullIcon +
+ + +
ReportedUsageIcon
+ -
+
+ S3TierIcon +
+ + +
+ S3TierIconXs +
+ + +
SearchIcon
+ -
+
SelectMultipleIcon
+ -
+
ServersIcon
+ -
+
+ ServiceAccountCredentialsIcon +
+ + +
ServiceAccountIcon
+ -
+
ServiceAccountsIcon
+ -
+
SettingsIcon
+ -
+
ShareIcon
+ -
+
SpeedtestIcon
+ -
+
StorageIcon
+ -
+
SyncIcon
+ -
+
TenantsIcon
+ -
+
TenantsOutlineIcon
+ -
+
TiersIcon
+ -
+
+ TiersNotAvailableIcon +
+ + +
ToolsIcon
+ -
+
TotalObjectsIcon
+ -
+
TraceIcon
+ -
+
TrashIcon
+ -
+
UploadFile
+ -
+
UploadFolderIcon
+ -
+
UploadIcon
+ -
+
UploadStatIcon
+ -
+
UptimeIcon
+ -
+
UsersIcon
+ -
+
+ VerifiedIcon +
+ + +
VersionIcon
+ -
+
WarnIcon
+ -
+
WarpIcon
+ -
+
WatchIcon
+

Menu Icons

+ + +
+ AccessMenuIcon +
+ + +
+ AccountsMenuIcon +
+ + +
+ AuditLogsMenuIcon +
+ + +
+ BucketsMenuIcon +
+ + +
+ CallHomeMenuIcon +
+ + +
+ DiagnosticsMenuIcon +
+ + +
+ DrivesMenuIcon +
+ + +
+ GroupsMenuIcon +
+ + +
+ HealthMenuIcon +
+ + +
+ IdentityMenuIcon +
+ + +
+ InspectMenuIcon +
+ + +
+ LogsMenuIcon +
+ + +
+ MenuCollapsedIcon +
+ + +
+ MenuExpandedIcon +
+ + +
+ MetricsMenuIcon +
+ + +
+ MonitoringMenuIcon +
+ + +
+ PerformanceMenuIcon +
+ + +
+ ProfileMenuIcon +
+ + +
+ RegisterMenuIcon +
+ + +
+ SupportMenuIcon +
+ + +
+ TraceMenuIcon +
+ + +
+ UsersMenuIcon +
+
); }; diff --git a/portal-ui/src/screens/Console/Common/TableWrapper/TableActionButton.tsx b/portal-ui/src/screens/Console/Common/TableWrapper/TableActionButton.tsx index 7d8c4fc38..710601c18 100644 --- a/portal-ui/src/screens/Console/Common/TableWrapper/TableActionButton.tsx +++ b/portal-ui/src/screens/Console/Common/TableWrapper/TableActionButton.tsx @@ -76,7 +76,7 @@ const defineIcon = (type: string, selected: boolean) => { case "disable": return ; case "format": - return ; + return ; case "preview": return ; } diff --git a/portal-ui/src/screens/Console/Common/TableWrapper/TableActionIcons/FormatDriveIcon.tsx b/portal-ui/src/screens/Console/Common/TableWrapper/TableActionIcons/FormatDriveIcon.tsx index cddc077e6..d909a4917 100644 --- a/portal-ui/src/screens/Console/Common/TableWrapper/TableActionIcons/FormatDriveIcon.tsx +++ b/portal-ui/src/screens/Console/Common/TableWrapper/TableActionIcons/FormatDriveIcon.tsx @@ -1,20 +1,17 @@ -import React from "react"; -import { IIcon, selected, unSelected } from "./common"; +import React, { SVGProps } from "react"; -const FormatDriveIcon = ({ active = false }: IIcon) => { - return ( - - - - ); -}; +const FormatDriveIcon = (props: SVGProps) => ( + + + +); export default FormatDriveIcon; diff --git a/portal-ui/src/screens/Console/Health.tsx b/portal-ui/src/screens/Console/Health.tsx index f4fa45597..949efc029 100644 --- a/portal-ui/src/screens/Console/Health.tsx +++ b/portal-ui/src/screens/Console/Health.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { HealthMenuIcon } from "../../icons/SidebarMenus/MenuIcons"; +import { HealthMenuIcon } from "../../icons/SidebarMenus"; import FeatureNotAvailablePage from "./Common/Components/FeatureNotAvailablePage"; const Health = () => { diff --git a/portal-ui/src/screens/Console/Menu/MenuItem.tsx b/portal-ui/src/screens/Console/Menu/MenuItem.tsx index 85a8e2346..040cc62b3 100644 --- a/portal-ui/src/screens/Console/Menu/MenuItem.tsx +++ b/portal-ui/src/screens/Console/Menu/MenuItem.tsx @@ -33,7 +33,7 @@ import List from "@mui/material/List"; import { MenuCollapsedIcon, MenuExpandedIcon, -} from "../../../icons/SidebarMenus/MenuIcons"; +} from "../../../icons/SidebarMenus"; import { hasPermission } from "../../../common/SecureComponent/SecureComponent"; import { CONSOLE_UI_RESOURCE, diff --git a/portal-ui/src/screens/Console/Tools/Tools.tsx b/portal-ui/src/screens/Console/Tools/Tools.tsx index d1bddb0cd..4a4fb5831 100644 --- a/portal-ui/src/screens/Console/Tools/Tools.tsx +++ b/portal-ui/src/screens/Console/Tools/Tools.tsx @@ -22,7 +22,7 @@ import ToolsList from "./ToolsPanel/ToolsList"; import Register from "../Support/Register"; import { IAM_PAGES } from "../../../common/SecureComponent/permissions"; import FeatureNotAvailablePage from "../Common/Components/FeatureNotAvailablePage"; -import { SupportMenuIcon } from "../../../icons/SidebarMenus/MenuIcons"; +import { SupportMenuIcon } from "../../../icons/SidebarMenus"; const Tools = () => { return ( diff --git a/portal-ui/src/screens/Console/valid-routes.ts b/portal-ui/src/screens/Console/valid-routes.ts index d830bea0a..77169143a 100644 --- a/portal-ui/src/screens/Console/valid-routes.ts +++ b/portal-ui/src/screens/Console/valid-routes.ts @@ -39,7 +39,7 @@ import { SupportMenuIcon, TraceMenuIcon, UsersMenuIcon, -} from "../../icons/SidebarMenus/MenuIcons"; +} from "../../icons/SidebarMenus"; import { hasPermission } from "../../common/SecureComponent/SecureComponent"; import WatchIcon from "../../icons/WatchIcon"; import RegisterMenuIcon from "../../icons/SidebarMenus/RegisterMenuIcon"; diff --git a/portal-ui/src/screens/LoginPage/LoginPage.tsx b/portal-ui/src/screens/LoginPage/LoginPage.tsx index 8ec775b6b..10ce447da 100644 --- a/portal-ui/src/screens/LoginPage/LoginPage.tsx +++ b/portal-ui/src/screens/LoginPage/LoginPage.tsx @@ -129,6 +129,7 @@ const styles = (theme: Theme) => }, "& .left-logo": { "& .min-icon": { + color: "white", width: 108, }, marginBottom: 10,