Completely updated React, fixed #11, (hopefully)
This commit is contained in:
59
goTorrentWebUI/node_modules/material-ui/es/index.d.ts
generated
vendored
59
goTorrentWebUI/node_modules/material-ui/es/index.d.ts
generated
vendored
@@ -1,21 +1,22 @@
|
||||
import * as React from 'react';
|
||||
import { StyledComponentProps } from './styles'
|
||||
export { StyledComponentProps }
|
||||
import { StyledComponentProps } from './styles';
|
||||
export { StyledComponentProps };
|
||||
|
||||
/**
|
||||
* All standard components exposed by `material-ui` are `StyledComponents` with
|
||||
* certain `classes`, on which one can also set a top-level `className` and inline
|
||||
* `style`.
|
||||
*/
|
||||
export type StandardProps<C, ClassKey extends string, Removals extends keyof C = never> =
|
||||
& Omit<C & { classes: any }, 'classes' | Removals>
|
||||
& StyledComponentProps<ClassKey>
|
||||
& {
|
||||
export type StandardProps<C, ClassKey extends string, Removals extends keyof C = never> = Omit<
|
||||
C & { classes: any },
|
||||
'classes' | Removals
|
||||
> &
|
||||
StyledComponentProps<ClassKey> & {
|
||||
className?: string;
|
||||
style?: Partial<React.CSSProperties>;
|
||||
}
|
||||
};
|
||||
|
||||
export type Contrast = 'light' | 'dark';
|
||||
export type PaletteType = 'light' | 'dark';
|
||||
export interface Color {
|
||||
50: string;
|
||||
100: string;
|
||||
@@ -31,21 +32,23 @@ export interface Color {
|
||||
A200: string;
|
||||
A400: string;
|
||||
A700: string;
|
||||
contrastDefaultColor: Contrast;
|
||||
}
|
||||
|
||||
/**
|
||||
* Utilies types based on:
|
||||
* https://github.com/Microsoft/TypeScript/issues/12215#issuecomment-307871458
|
||||
*/
|
||||
export type Diff<T extends string, U extends string> = ({ [P in T]: P } &
|
||||
|
||||
/** @internal */
|
||||
type Diff<T extends string, U extends string> = ({ [P in T]: P } &
|
||||
{ [P in U]: never } & { [x: string]: never })[T];
|
||||
|
||||
/** @internal */
|
||||
export type Omit<T, K extends keyof T> = Pick<T, Diff<keyof T, K>>;
|
||||
export type Replace<T, S> = Omit<T, keyof S & keyof T> & S
|
||||
|
||||
export namespace PropTypes {
|
||||
type Alignment = 'inherit' | 'left' | 'center' | 'right' | 'justify';
|
||||
type Color = 'inherit' | 'primary' | 'accent' | 'default';
|
||||
type Color = 'inherit' | 'primary' | 'secondary' | 'default';
|
||||
type Margin = 'none' | 'dense' | 'normal';
|
||||
}
|
||||
|
||||
@@ -53,7 +56,7 @@ export namespace PropTypes {
|
||||
export { default as AppBar } from './AppBar';
|
||||
export { default as Avatar } from './Avatar';
|
||||
export { default as Badge } from './Badge';
|
||||
export { default as BottomNavigation, BottomNavigationButton } from './BottomNavigation';
|
||||
export { default as BottomNavigation, BottomNavigationAction } from './BottomNavigation';
|
||||
export { default as Button } from './Button';
|
||||
export { default as ButtonBase } from './ButtonBase';
|
||||
export { default as Card, CardActions, CardContent, CardHeader, CardMedia } from './Card';
|
||||
@@ -69,12 +72,19 @@ export {
|
||||
} from './Dialog';
|
||||
export { default as Divider } from './Divider';
|
||||
export { default as Drawer } from './Drawer';
|
||||
export {
|
||||
default as ExpansionPanel,
|
||||
ExpansionPanelActions,
|
||||
ExpansionPanelDetails,
|
||||
ExpansionPanelSummary,
|
||||
} from './ExpansionPanel';
|
||||
export { FormControl, FormGroup, FormLabel, FormHelperText, FormControlLabel } from './Form';
|
||||
export { default as Hidden } from './Hidden';
|
||||
export { default as Icon } from './Icon';
|
||||
export { default as IconButton } from './IconButton';
|
||||
export { default as Input, InputLabel } from './Input';
|
||||
export { default as Input, InputLabel, InputAdornment } from './Input';
|
||||
export { default as Grid } from './Grid';
|
||||
export { default as GridList, GridListTile, GridListTileBar } from './GridList';
|
||||
export {
|
||||
default as List,
|
||||
ListItem,
|
||||
@@ -85,13 +95,28 @@ export {
|
||||
ListSubheader,
|
||||
} from './List';
|
||||
export { default as Menu, MenuItem, MenuList } from './Menu';
|
||||
export { default as MobileStepper } from './MobileStepper';
|
||||
export { default as Modal, Backdrop, ModalManager } from './Modal';
|
||||
export { default as Paper } from './Paper';
|
||||
export { default as Popover } from './Popover';
|
||||
export { default as Portal } from './Portal';
|
||||
export { CircularProgress, LinearProgress } from './Progress';
|
||||
export { default as Radio, RadioGroup } from './Radio';
|
||||
export { default as Reboot } from './Reboot';
|
||||
export { default as Select } from './Select';
|
||||
export { default as Snackbar, SnackbarContent } from './Snackbar';
|
||||
export { MuiThemeProvider, withStyles, WithStyles, withTheme, createMuiTheme } from './styles';
|
||||
export { default as Stepper, Step, StepButton, StepContent, StepIcon, StepLabel } from './Stepper';
|
||||
export {
|
||||
createMuiTheme,
|
||||
jssPreset,
|
||||
MuiThemeProvider,
|
||||
StyleRulesCallback,
|
||||
Theme,
|
||||
withStyles,
|
||||
WithStyles,
|
||||
withTheme,
|
||||
WithTheme,
|
||||
} from './styles';
|
||||
|
||||
import * as colors from './colors';
|
||||
|
||||
@@ -103,7 +128,9 @@ export {
|
||||
default as Table,
|
||||
TableBody,
|
||||
TableCell,
|
||||
TableFooter,
|
||||
TableHead,
|
||||
TablePagination,
|
||||
TableRow,
|
||||
TableSortLabel,
|
||||
} from './Table';
|
||||
@@ -111,7 +138,7 @@ export { default as Tabs, Tab } from './Tabs';
|
||||
export { default as Typography } from './Typography';
|
||||
export { default as TextField } from './TextField';
|
||||
export { default as Toolbar } from './Toolbar';
|
||||
|
||||
export { default as Tooltip } from './Tooltip';
|
||||
export { Slide, Grow, Fade, Collapse } from './transitions';
|
||||
|
||||
export { default as withWidth } from './utils/withWidth';
|
||||
|
Reference in New Issue
Block a user