fixed conflicts
[arvados-workbench2.git] / src / components / icon / icon.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import * as React from 'react';
6 import Add from '@material-ui/icons/Add';
7 import ArrowBack from '@material-ui/icons/ArrowBack';
8 import ArrowDropDown from '@material-ui/icons/ArrowDropDown';
9 import BubbleChart from '@material-ui/icons/BubbleChart';
10 import Cached from '@material-ui/icons/Cached';
11 import ChevronLeft from '@material-ui/icons/ChevronLeft';
12 import CloudUpload from '@material-ui/icons/CloudUpload';
13 import Code from '@material-ui/icons/Code';
14 import Create from '@material-ui/icons/Create';
15 import ImportContacts from '@material-ui/icons/ImportContacts';
16 import ChevronRight from '@material-ui/icons/ChevronRight';
17 import Close from '@material-ui/icons/Close';
18 import ContentCopy from '@material-ui/icons/FileCopyOutlined';
19 import CreateNewFolder from '@material-ui/icons/CreateNewFolder';
20 import Delete from '@material-ui/icons/Delete';
21 import DeviceHub from '@material-ui/icons/DeviceHub';
22 import Edit from '@material-ui/icons/Edit';
23 import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
24 import Folder from '@material-ui/icons/Folder';
25 import GetApp from '@material-ui/icons/GetApp';
26 import Help from '@material-ui/icons/Help';
27 import HelpOutline from '@material-ui/icons/HelpOutline';
28 import Inbox from '@material-ui/icons/Inbox';
29 import Info from '@material-ui/icons/Info';
30 import Input from '@material-ui/icons/Input';
31 import InsertDriveFile from '@material-ui/icons/InsertDriveFile';
32 import LastPage from '@material-ui/icons/LastPage';
33 import LibraryBooks from '@material-ui/icons/LibraryBooks';
34 import ListAlt from '@material-ui/icons/ListAlt';
35 import Menu from '@material-ui/icons/Menu';
36 import MoreVert from '@material-ui/icons/MoreVert';
37 import Mail from '@material-ui/icons/Mail';
38 import MoveToInbox from '@material-ui/icons/MoveToInbox';
39 import Notifications from '@material-ui/icons/Notifications';
40 import People from '@material-ui/icons/People';
41 import Person from '@material-ui/icons/Person';
42 import PersonAdd from '@material-ui/icons/PersonAdd';
43 import PlayArrow from '@material-ui/icons/PlayArrow';
44 import RateReview from '@material-ui/icons/RateReview';
45 import RestoreFromTrash from '@material-ui/icons/History';
46 import Search from '@material-ui/icons/Search';
47 import SettingsApplications from '@material-ui/icons/SettingsApplications';
48 import SettingsEthernet from '@material-ui/icons/SettingsEthernet';
49 import Star from '@material-ui/icons/Star';
50 import StarBorder from '@material-ui/icons/StarBorder';
51 import Warning from '@material-ui/icons/Warning';
52
53 export type IconType = React.SFC<{ className?: string, style?: object }>;
54
55 export const AddIcon: IconType = (props) => <Add {...props} />;
56 export const AddFavoriteIcon: IconType = (props) => <StarBorder {...props} />;
57 export const AdvancedIcon: IconType = (props) => <SettingsApplications {...props} />;
58 export const AttributesIcon: IconType = (props) => <ListAlt {...props} />;
59 export const BackIcon: IconType = (props) => <ArrowBack {...props} />;
60 export const CustomizeTableIcon: IconType = (props) => <Menu {...props} />;
61 export const CommandIcon: IconType = (props) => <LastPage {...props} />;
62 export const CopyIcon: IconType = (props) => <ContentCopy {...props} />;
63 export const CollectionIcon: IconType = (props) => <LibraryBooks {...props} />;
64 export const CloseIcon: IconType = (props) => <Close {...props} />;
65 export const CloudUploadIcon: IconType = (props) => <CloudUpload {...props} />;
66 export const DefaultIcon: IconType = (props) => <RateReview {...props} />;
67 export const DetailsIcon: IconType = (props) => <Info {...props} />;
68 export const DownloadIcon: IconType = (props) => <GetApp {...props} />;
69 export const EditSavedQueryIcon: IconType = (props) => <Create {...props} />;
70 export const ExpandIcon: IconType = (props) => <ExpandMoreIcon {...props} />;
71 export const FavoriteIcon: IconType = (props) => <Star {...props} />;
72 export const HelpIcon: IconType = (props) => <Help {...props} />;
73 export const HelpOutlineIcon: IconType = (props) => <HelpOutline {...props} />;
74 export const ImportContactsIcon: IconType = (props) => <ImportContacts {...props} />;
75 export const InputIcon: IconType = (props) => <InsertDriveFile {...props} />;
76 export const LogIcon: IconType = (props) => <SettingsEthernet {...props} />;
77 export const MailIcon: IconType = (props) => <Mail {...props} />;
78 export const MoreOptionsIcon: IconType = (props) => <MoreVert {...props} />;
79 export const MoveToIcon: IconType = (props) => <Input {...props} />;
80 export const NewProjectIcon: IconType = (props) => <CreateNewFolder {...props} />;
81 export const NotificationIcon: IconType = (props) => <Notifications {...props} />;
82 export const OutputIcon: IconType = (props) => <MoveToInbox {...props} />;
83 export const PaginationDownIcon: IconType = (props) => <ArrowDropDown {...props} />;
84 export const PaginationLeftArrowIcon: IconType = (props) => <ChevronLeft {...props} />;
85 export const PaginationRightArrowIcon: IconType = (props) => <ChevronRight {...props} />;
86 export const ProcessIcon: IconType = (props) => <BubbleChart {...props} />;
87 export const ProjectIcon: IconType = (props) => <Folder {...props} />;
88 export const ProjectsIcon: IconType = (props) => <Inbox {...props} />;
89 export const ProvenanceGraphIcon: IconType = (props) => <DeviceHub {...props} />;
90 export const RemoveIcon: IconType = (props) => <Delete {...props} />;
91 export const RemoveFavoriteIcon: IconType = (props) => <Star {...props} />;
92 export const RenameIcon: IconType = (props) => <Edit {...props} />;
93 export const RestoreFromTrashIcon: IconType = (props) => <RestoreFromTrash {...props} />;
94 export const ReRunProcessIcon: IconType = (props) => <Cached {...props} />;
95 export const SearchIcon: IconType = (props) => <Search {...props} />;
96 export const ShareIcon: IconType = (props) => <PersonAdd {...props} />;
97 export const ShareMeIcon: IconType = (props) => <People {...props} />;
98 export const SidePanelRightArrowIcon: IconType = (props) => <PlayArrow {...props} />;
99 export const TrashIcon: IconType = (props) => <Delete {...props} />;
100 export const UserPanelIcon: IconType = (props) => <Person {...props} />;
101 export const UsedByIcon: IconType = (props) => <Folder {...props} />;
102 export const WorkflowIcon: IconType = (props) => <Code {...props} />;
103 export const WarningIcon: IconType = (props) => <Warning style={{ color: '#fbc02d', height: '30px', width: '30px' }} {...props} />;