mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
dependencies: bump to React 17.0.1
This commit is contained in:
2
.babelrc
2
.babelrc
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"presets": ["@babel/env", "@babel/typescript", "@babel/react"],
|
"presets": ["@babel/env", "@babel/typescript", ["@babel/react", {"runtime": "automatic"}]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["@babel/plugin-proposal-decorators", {"legacy": true}],
|
["@babel/plugin-proposal-decorators", {"legacy": true}],
|
||||||
["@babel/plugin-proposal-class-properties", {"loose": false}],
|
["@babel/plugin-proposal-class-properties", {"loose": false}],
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ module.exports = {
|
|||||||
'no-console': [2, {allow: ['warn', 'error']}],
|
'no-console': [2, {allow: ['warn', 'error']}],
|
||||||
'react/destructuring-assignment': 0,
|
'react/destructuring-assignment': 0,
|
||||||
'react/jsx-props-no-spreading': 0,
|
'react/jsx-props-no-spreading': 0,
|
||||||
|
'react/jsx-uses-react': 0,
|
||||||
|
'react/react-in-jsx-scope': 0,
|
||||||
'react/static-property-placement': [2, 'static public field'],
|
'react/static-property-placement': [2, 'static public field'],
|
||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import debounce from 'lodash/debounce';
|
import debounce from 'lodash/debounce';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {TorrentStatus} from '@shared/constants/torrentStatusMap';
|
import type {TorrentStatus} from '@shared/constants/torrentStatusMap';
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {observer} from 'mobx-react';
|
import {observer} from 'mobx-react';
|
||||||
import {Router} from 'react-router-dom';
|
import {Router} from 'react-router-dom';
|
||||||
import {Route, Switch} from 'react-router';
|
import {Route, Switch} from 'react-router';
|
||||||
import React from 'react';
|
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
import * as React from 'react';
|
||||||
|
|
||||||
import AsyncIntlProvider from './i18n/languages';
|
import AsyncIntlProvider from './i18n/languages';
|
||||||
import AppWrapper from './components/AppWrapper';
|
import AppWrapper from './components/AppWrapper';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {CSSTransition, TransitionGroup} from 'react-transition-group';
|
import {CSSTransition, TransitionGroup} from 'react-transition-group';
|
||||||
import {observer} from 'mobx-react';
|
import {observer} from 'mobx-react';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import AuthStore from '../stores/AuthStore';
|
import AuthStore from '../stores/AuthStore';
|
||||||
import ConfigStore from '../stores/ConfigStore';
|
import ConfigStore from '../stores/ConfigStore';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import CircleCheckmarkIcon from '../icons/CircleCheckmarkIcon';
|
import CircleCheckmarkIcon from '../icons/CircleCheckmarkIcon';
|
||||||
import CircleExclamationIcon from '../icons/CircleExclamationIcon';
|
import CircleExclamationIcon from '../icons/CircleExclamationIcon';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {CSSTransition, TransitionGroup} from 'react-transition-group';
|
import {CSSTransition, TransitionGroup} from 'react-transition-group';
|
||||||
import {observer} from 'mobx-react';
|
import {observer} from 'mobx-react';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import Alert from './Alert';
|
import Alert from './Alert';
|
||||||
import AlertStore from '../../stores/AlertStore';
|
import AlertStore from '../../stores/AlertStore';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {injectIntl, WrappedComponentProps} from 'react-intl';
|
import {injectIntl, WrappedComponentProps} from 'react-intl';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {AccessLevel} from '@shared/schema/constants/Auth';
|
import {AccessLevel} from '@shared/schema/constants/Auth';
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface BadgeProps {
|
interface BadgeProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
import {observer} from 'mobx-react';
|
import {observer} from 'mobx-react';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {Button, Form, FormError, FormRow, FormRowItem, Panel, PanelContent, PanelHeader, PanelFooter} from '../../ui';
|
import {Button, Form, FormError, FormRow, FormRowItem, Panel, PanelContent, PanelHeader, PanelFooter} from '../../ui';
|
||||||
import AuthActions from '../../actions/AuthActions';
|
import AuthActions from '../../actions/AuthActions';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {Duration as DurationType} from '@shared/types/Torrent';
|
import type {Duration as DurationType} from '@shared/types/Torrent';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import {reaction} from 'mobx';
|
import {reaction} from 'mobx';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {ContextMenu} from '../../ui';
|
import {ContextMenu} from '../../ui';
|
||||||
import UIActions from '../../actions/UIActions';
|
import UIActions from '../../actions/UIActions';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface ListViewportProps {
|
interface ListViewportProps {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface LoadingIndicatorProps {
|
interface LoadingIndicatorProps {
|
||||||
inverse?: boolean;
|
inverse?: boolean;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import {useIntl} from 'react-intl';
|
import {useIntl} from 'react-intl';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import Checkmark from '../icons/Checkmark';
|
import Checkmark from '../icons/Checkmark';
|
||||||
import LoadingIndicator from './LoadingIndicator';
|
import LoadingIndicator from './LoadingIndicator';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface ProgressBarProps {
|
interface ProgressBarProps {
|
||||||
percent: number;
|
percent: number;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {FormattedNumber, useIntl} from 'react-intl';
|
import {FormattedNumber, useIntl} from 'react-intl';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {compute, getTranslationString} from '../../util/size';
|
import {compute, getTranslationString} from '../../util/size';
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import classnames from 'classnames';
|
|||||||
import {DndProvider} from 'react-dnd-multi-backend';
|
import {DndProvider} from 'react-dnd-multi-backend';
|
||||||
import HTML5toTouch from 'react-dnd-multi-backend/dist/esm/HTML5toTouch';
|
import HTML5toTouch from 'react-dnd-multi-backend/dist/esm/HTML5toTouch';
|
||||||
import {injectIntl, WrappedComponentProps} from 'react-intl';
|
import {injectIntl, WrappedComponentProps} from 'react-intl';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import SortableListItem from './SortableListItem';
|
import SortableListItem from './SortableListItem';
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
|
import {Component} from 'react';
|
||||||
import {DragElementWrapper, DragPreviewOptions, DragSource, DragSourceOptions, DropTarget} from 'react-dnd';
|
import {DragElementWrapper, DragPreviewOptions, DragSource, DragSourceOptions, DropTarget} from 'react-dnd';
|
||||||
import flow from 'lodash/flow';
|
import flow from 'lodash/flow';
|
||||||
import {getEmptyImage} from 'react-dnd-html5-backend';
|
import {getEmptyImage} from 'react-dnd-html5-backend';
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
import LockIcon from '../icons/LockIcon';
|
import LockIcon from '../icons/LockIcon';
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ interface SortableListItemProps {
|
|||||||
connectDropTarget: DragElementWrapper<never>;
|
connectDropTarget: DragElementWrapper<never>;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SortableListItem extends React.Component<SortableListItemProps> {
|
class SortableListItem extends Component<SortableListItemProps> {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const {connectDragPreview} = this.props;
|
const {connectDragPreview} = this.props;
|
||||||
// Replace the native drag preview with an empty image.
|
// Replace the native drag preview with an empty image.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
import * as React from 'react';
|
||||||
|
|
||||||
type Align = 'start' | 'center' | 'end';
|
type Align = 'start' | 'center' | 'end';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {useIntl} from 'react-intl';
|
import {useIntl} from 'react-intl';
|
||||||
import {observer} from 'mobx-react';
|
import {observer} from 'mobx-react';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {compute, getTranslationString} from '../../util/size';
|
import {compute, getTranslationString} from '../../util/size';
|
||||||
import TransferDataStore from '../../stores/TransferDataStore';
|
import TransferDataStore from '../../stores/TransferDataStore';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
|
||||||
import {FormattedMessage, injectIntl, WrappedComponentProps} from 'react-intl';
|
import {FormattedMessage, injectIntl, WrappedComponentProps} from 'react-intl';
|
||||||
|
import * as React from 'react';
|
||||||
|
|
||||||
import {SUPPORTED_CLIENTS} from '@shared/schema/constants/ClientConnectionSettings';
|
import {SUPPORTED_CLIENTS} from '@shared/schema/constants/ClientConnectionSettings';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {FormattedMessage, IntlShape} from 'react-intl';
|
import {FormattedMessage, IntlShape} from 'react-intl';
|
||||||
import React, {Component} from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {QBittorrentConnectionSettings} from '@shared/schema/ClientConnectionSettings';
|
import type {QBittorrentConnectionSettings} from '@shared/schema/ClientConnectionSettings';
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ export interface QBittorrentConnectionSettingsFormData {
|
|||||||
password: string;
|
password: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
class QBittorrentConnectionSettingsForm extends Component<
|
class QBittorrentConnectionSettingsForm extends React.Component<
|
||||||
QBittorrentConnectionSettingsProps,
|
QBittorrentConnectionSettingsProps,
|
||||||
QBittorrentConnectionSettingsFormData
|
QBittorrentConnectionSettingsFormData
|
||||||
> {
|
> {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {FormattedMessage, IntlShape} from 'react-intl';
|
import {FormattedMessage, IntlShape} from 'react-intl';
|
||||||
import React, {Component} from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
RTorrentConnectionSettings,
|
RTorrentConnectionSettings,
|
||||||
@@ -20,7 +20,7 @@ export interface RTorrentConnectionSettingsFormData {
|
|||||||
port?: string;
|
port?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
class RTorrentConnectionSettingsForm extends Component<
|
class RTorrentConnectionSettingsForm extends React.Component<
|
||||||
RTorrentConnectionSettingsProps,
|
RTorrentConnectionSettingsProps,
|
||||||
RTorrentConnectionSettingsFormData
|
RTorrentConnectionSettingsFormData
|
||||||
> {
|
> {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {TorrentContent, TorrentContentSelection, TorrentContentSelectionTree} from '@shared/types/TorrentContent';
|
import type {TorrentContent, TorrentContentSelection, TorrentContentSelectionTree} from '@shared/types/TorrentContent';
|
||||||
import type {TorrentProperties} from '@shared/types/Torrent';
|
import type {TorrentProperties} from '@shared/types/Torrent';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {TorrentContentSelection, TorrentContentSelectionTree} from '@shared/types/TorrentContent';
|
import type {TorrentContentSelection, TorrentContentSelectionTree} from '@shared/types/TorrentContent';
|
||||||
import type {TorrentProperties} from '@shared/types/Torrent';
|
import type {TorrentProperties} from '@shared/types/Torrent';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
import {Component} from 'react';
|
||||||
|
|
||||||
import type {TorrentContentSelection, TorrentContentSelectionTree} from '@shared/types/TorrentContent';
|
import type {TorrentContentSelection, TorrentContentSelectionTree} from '@shared/types/TorrentContent';
|
||||||
import type {TorrentProperties} from '@shared/types/Torrent';
|
import type {TorrentProperties} from '@shared/types/Torrent';
|
||||||
@@ -28,7 +28,7 @@ interface DirectoryTreeNodeStates {
|
|||||||
|
|
||||||
const METHODS_TO_BIND = ['handleDirectoryClick', 'handleDirectorySelection'] as const;
|
const METHODS_TO_BIND = ['handleDirectoryClick', 'handleDirectorySelection'] as const;
|
||||||
|
|
||||||
class DirectoryTreeNode extends React.Component<DirectoryTreeNodeProps, DirectoryTreeNodeStates> {
|
class DirectoryTreeNode extends Component<DirectoryTreeNodeProps, DirectoryTreeNodeStates> {
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
path: [],
|
path: [],
|
||||||
selectedItems: {},
|
selectedItems: {},
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
|
||||||
import {defineMessages, WrappedComponentProps} from 'react-intl';
|
import {defineMessages, WrappedComponentProps} from 'react-intl';
|
||||||
|
import * as React from 'react';
|
||||||
|
|
||||||
import ArrowIcon from '../../icons/ArrowIcon';
|
import ArrowIcon from '../../icons/ArrowIcon';
|
||||||
import File from '../../icons/File';
|
import File from '../../icons/File';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import debounce from 'lodash/debounce';
|
import debounce from 'lodash/debounce';
|
||||||
import {FormattedMessage, injectIntl, WrappedComponentProps} from 'react-intl';
|
import {FormattedMessage, injectIntl, WrappedComponentProps} from 'react-intl';
|
||||||
import {when} from 'mobx';
|
import {when} from 'mobx';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import {Checkbox, ContextMenu, FormElementAddon, FormRow, FormRowGroup, Portal, Textbox} from '../../../ui';
|
import {Checkbox, ContextMenu, FormElementAddon, FormRow, FormRowGroup, Portal, Textbox} from '../../../ui';
|
||||||
import FilesystemBrowser from './FilesystemBrowser';
|
import FilesystemBrowser from './FilesystemBrowser';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
import {Component} from 'react';
|
||||||
import {injectIntl, WrappedComponentProps} from 'react-intl';
|
import {injectIntl, WrappedComponentProps} from 'react-intl';
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
import PriorityLevels from '../../../constants/PriorityLevels';
|
import PriorityLevels from '../../../constants/PriorityLevels';
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ interface PriorityMeterStates {
|
|||||||
|
|
||||||
const METHODS_TO_BIND = ['handleClick'] as const;
|
const METHODS_TO_BIND = ['handleClick'] as const;
|
||||||
|
|
||||||
class PriorityMeter extends React.Component<PriorityMeterProps, PriorityMeterStates> {
|
class PriorityMeter extends Component<PriorityMeterProps, PriorityMeterStates> {
|
||||||
constructor(props: PriorityMeterProps) {
|
constructor(props: PriorityMeterProps) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import {CSSTransition, TransitionGroup} from 'react-transition-group';
|
import {CSSTransition, TransitionGroup} from 'react-transition-group';
|
||||||
import React from 'react';
|
|
||||||
import throttle from 'lodash/throttle';
|
import throttle from 'lodash/throttle';
|
||||||
import uniqueId from 'lodash/uniqueId';
|
import uniqueId from 'lodash/uniqueId';
|
||||||
import {when} from 'mobx';
|
import {when} from 'mobx';
|
||||||
|
import * as React from 'react';
|
||||||
|
|
||||||
import UIActions from '../../../actions/UIActions';
|
import UIActions from '../../../actions/UIActions';
|
||||||
import UIStore from '../../../stores/UIStore';
|
import UIStore from '../../../stores/UIStore';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
import React, {Component} from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import type {TorrentProperties} from '@shared/types/Torrent';
|
import type {TorrentProperties} from '@shared/types/Torrent';
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ interface TagSelectStates {
|
|||||||
selectedTags: TorrentProperties['tags'];
|
selectedTags: TorrentProperties['tags'];
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class TagSelect extends Component<TagSelectProps, TagSelectStates> {
|
export default class TagSelect extends React.Component<TagSelectProps, TagSelectStates> {
|
||||||
formRowRef = React.createRef<HTMLDivElement>();
|
formRowRef = React.createRef<HTMLDivElement>();
|
||||||
menuRef: HTMLDivElement | null = null;
|
menuRef: HTMLDivElement | null = null;
|
||||||
textboxRef: HTMLInputElement | null = null;
|
textboxRef: HTMLInputElement | null = null;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import {PureComponent} from 'react';
|
||||||
|
|
||||||
import {FormElementAddon, FormRow, FormRowGroup, Textbox} from '../../../ui';
|
import {FormElementAddon, FormRow, FormRowGroup, Textbox} from '../../../ui';
|
||||||
import AddMini from '../../icons/AddMini';
|
import AddMini from '../../icons/AddMini';
|
||||||
@@ -27,7 +27,7 @@ interface TextboxRepeaterStates {
|
|||||||
textboxes: Array<{id: number; value: string}>;
|
textboxes: Array<{id: number; value: string}>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class TextboxRepeater extends React.PureComponent<TextboxRepeaterProps, TextboxRepeaterStates> {
|
export default class TextboxRepeater extends PureComponent<TextboxRepeaterProps, TextboxRepeaterStates> {
|
||||||
idCounter = 0;
|
idCounter = 0;
|
||||||
|
|
||||||
constructor(props: TextboxRepeaterProps) {
|
constructor(props: TextboxRepeaterProps) {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Active extends BaseIcon {
|
export default class Active extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class AddMini extends BaseIcon {
|
export default class AddMini extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class AddMini extends BaseIcon {
|
export default class AddMini extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class All extends BaseIcon {
|
export default class All extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class ArrowIcon extends BaseIcon {
|
export default class ArrowIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import {Component} from 'react';
|
||||||
|
|
||||||
interface BaseIconProps {
|
interface BaseIconProps {
|
||||||
className?: string;
|
className?: string;
|
||||||
@@ -6,7 +6,7 @@ interface BaseIconProps {
|
|||||||
viewBox?: string;
|
viewBox?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class BaseIcon extends React.Component<BaseIconProps> {
|
export default class BaseIcon extends Component<BaseIconProps> {
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
className: '',
|
className: '',
|
||||||
viewBox: '0 0 60 60',
|
viewBox: '0 0 60 60',
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class CalendarCreatedIcon extends BaseIcon {
|
export default class CalendarCreatedIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class CalendarIcon extends BaseIcon {
|
export default class CalendarIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Checkmark extends BaseIcon {
|
export default class Checkmark extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class ChevronLeftIcon extends BaseIcon {
|
export default class ChevronLeftIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class ChevronRightIcon extends BaseIcon {
|
export default class ChevronRightIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class CircleCheckmarkIcon extends BaseIcon {
|
export default class CircleCheckmarkIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class CircleExclamationIcon extends BaseIcon {
|
export default class CircleExclamationIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Circle extends BaseIcon {
|
export default class Circle extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class ClipboardIcon extends BaseIcon {
|
export default class ClipboardIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class ClockIcon extends BaseIcon {
|
export default class ClockIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Close extends BaseIcon {
|
export default class Close extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class CommentIcon extends BaseIcon {
|
export default class CommentIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Completed extends BaseIcon {
|
export default class Completed extends BaseIcon {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
const flagsCache: Record<string, string | null> = {};
|
const flagsCache: Record<string, string | null> = {};
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class DetailNotAvailableIcon extends BaseIcon {
|
export default class DetailNotAvailableIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Disk extends BaseIcon {
|
export default class Disk extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class DiskIcon extends BaseIcon {
|
export default class DiskIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class DotsMini extends BaseIcon {
|
export default class DotsMini extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Download extends BaseIcon {
|
export default class Download extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class DownloadSmall extends BaseIcon {
|
export default class DownloadSmall extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class DownloadThickIcon extends BaseIcon {
|
export default class DownloadThickIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class ETA extends BaseIcon {
|
export default class ETA extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Edit extends BaseIcon {
|
export default class Edit extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Error extends BaseIcon {
|
export default class Error extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class FeedIcon extends BaseIcon {
|
export default class FeedIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class File extends BaseIcon {
|
export default class File extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Files extends BaseIcon {
|
export default class Files extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class FolderClosedOutline extends BaseIcon {
|
export default class FolderClosedOutline extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class FolderClosedOutline extends BaseIcon {
|
export default class FolderClosedOutline extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class FolderOpenOutlined extends BaseIcon {
|
export default class FolderOpenOutlined extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class FolderOpenSolid extends BaseIcon {
|
export default class FolderOpenSolid extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class HashIcon extends BaseIcon {
|
export default class HashIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Inactive extends BaseIcon {
|
export default class Inactive extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class InfinityIcon extends BaseIcon {
|
export default class InfinityIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class InformationIcon extends BaseIcon {
|
export default class InformationIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Limits extends BaseIcon {
|
export default class Limits extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class LoadingIndicatorDots extends BaseIcon {
|
export default class LoadingIndicatorDots extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class LockIcon extends BaseIcon {
|
export default class LockIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Logout extends BaseIcon {
|
export default class Logout extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Menu extends BaseIcon {
|
export default class Menu extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class NotificationIcon extends BaseIcon {
|
export default class NotificationIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class PeersIcon extends BaseIcon {
|
export default class PeersIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class RadarIcon extends BaseIcon {
|
export default class RadarIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class RadioDot extends BaseIcon {
|
export default class RadioDot extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Ratio extends BaseIcon {
|
export default class Ratio extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class RatioIcon extends BaseIcon {
|
export default class RatioIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class AddMini extends BaseIcon {
|
export default class AddMini extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class RemoveMini extends BaseIcon {
|
export default class RemoveMini extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Search extends BaseIcon {
|
export default class Search extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class SeedsIcon extends BaseIcon {
|
export default class SeedsIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class SettingsIcon extends BaseIcon {
|
export default class SettingsIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
import uniqueId from 'lodash/uniqueId';
|
import uniqueId from 'lodash/uniqueId';
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Start extends BaseIcon {
|
export default class Start extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Stop extends BaseIcon {
|
export default class Stop extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class TrackerMessageIcon extends BaseIcon {
|
export default class TrackerMessageIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class Upload extends BaseIcon {
|
export default class Upload extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class UploadSmall extends BaseIcon {
|
export default class UploadSmall extends BaseIcon {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import BaseIcon from './BaseIcon';
|
import BaseIcon from './BaseIcon';
|
||||||
|
|
||||||
export default class UploadThickIcon extends BaseIcon {
|
export default class UploadThickIcon extends BaseIcon {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface ApplicationContentProps {
|
interface ApplicationContentProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface ApplicationContentProps {
|
interface ApplicationContentProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
interface ApplicationViewProps {
|
interface ApplicationViewProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user