@@ -452,9 +452,6 @@ declare namespace __MaterialUI {
452452
453453 export function muiThemeable < TComponent extends React . Component < P , S > , P , S > ( ) : ( component : TComponent ) => TComponent ;
454454
455- //** @deprecated use MuiThemeProvider instead **/
456- export function themeDecorator ( muiTheme : Styles . MuiTheme ) : < TFunction extends Function > ( Component : TFunction ) => TFunction ;
457-
458455 interface MuiThemeProviderProps extends React . Props < MuiThemeProvider > {
459456 muiTheme ?: Styles . MuiTheme ;
460457 }
@@ -463,21 +460,6 @@ declare namespace __MaterialUI {
463460
464461 export function getMuiTheme ( ...muiTheme : MuiTheme [ ] ) : MuiTheme ;
465462
466- interface ThemeManager {
467- //** @deprecated ThemeManager is deprecated. please import getMuiTheme directly from "material-ui/styles/getMuiTheme" **/
468- getMuiTheme ( baseTheme : RawTheme , muiTheme ?: MuiTheme ) : MuiTheme ;
469-
470- //** @deprecated modifyRawThemeSpacing is deprecated. please use getMuiTheme to modify your theme directly. http://www.material-ui.com/#/customization/themes **/
471- modifyRawThemeSpacing ( muiTheme : MuiTheme , newSpacing : Spacing ) : MuiTheme ;
472-
473- //** @deprecated modifyRawThemePalette is deprecated. please use getMuiTheme to modify your theme directly. http://www.material-ui.com/#/customization/themes **/
474- modifyRawThemePalette ( muiTheme : MuiTheme , newPaletteKeys : ThemePalette ) : MuiTheme ;
475-
476- //** @deprecated modifyRawThemeFontFamily is deprecated. please use getMuiTheme to modify your theme directly. http://www.material-ui.com/#/customization/themes **/
477- modifyRawThemeFontFamily ( muiTheme : MuiTheme , newFontFamily : string ) : MuiTheme ;
478- }
479- export var ThemeManager : ThemeManager ;
480-
481463 interface Transitions {
482464 easeOut ( duration ?: string , property ?: string | string [ ] , delay ?: string , easeFunction ?: string ) : string ;
483465 create ( duration ?: string , property ?: string , delay ?: string , easeFunction ?: string ) : string ;
@@ -503,12 +485,6 @@ declare namespace __MaterialUI {
503485 fontStyleButtonFontSize : number ;
504486 }
505487 export var Typography : Typography ;
506-
507- //** @deprecated use darkBaseTheme instead **/
508- export var DarkRawTheme : RawTheme ;
509-
510- //** @deprecated use lightBaseTheme instead **/
511- export var LightRawTheme : RawTheme ;
512488 }
513489
514490 interface AppBarProps extends React . Props < AppBar > {
@@ -580,8 +556,6 @@ declare namespace __MaterialUI {
580556 style ?: React . CSSProperties ;
581557 targetOrigin ?: propTypes . origin ;
582558 textFieldStyle ?: React . CSSProperties ;
583- /** @deprecated Instead, use openOnFocus */
584- triggerUpdateOnFocus ?: boolean ;
585559 }
586560 export class AutoComplete extends React . Component < AutoCompleteProps , { } > {
587561 static noFilter : ( ) => boolean ;
@@ -636,8 +610,8 @@ declare namespace __MaterialUI {
636610 disableTouchRipple ?: boolean ;
637611 focusRippleColor ?: string ;
638612 focusRippleOpacity ?: number ;
613+ href ?: string ;
639614 keyboardFocused ?: boolean ;
640- linkButton ?: boolean ;
641615 onBlur ?: React . FocusEventHandler ;
642616 onFocus ?: React . FocusEventHandler ;
643617 onKeyboardFocus ?: ( e : React . FocusEvent , isKeyboardFocused : boolean ) => void ;
@@ -666,7 +640,6 @@ declare namespace __MaterialUI {
666640 backgroundColor ?: string ;
667641 disabled ?: boolean ;
668642 hoverColor ?: string ;
669- href ?: string ;
670643 icon ?: React . ReactNode ;
671644 label ?: React . ReactNode ;
672645 labelPosition ?: "before" | "after" ;
@@ -692,7 +665,6 @@ declare namespace __MaterialUI {
692665 disabledBackgroundColor ?: string ;
693666 disabledLabelColor ?: string ;
694667 fullWidth ?: boolean ;
695- href ?: string ;
696668 icon ?: React . ReactNode ;
697669 label ?: React . ReactNode ;
698670 labelColor ?: string ;
@@ -719,10 +691,8 @@ declare namespace __MaterialUI {
719691 className ?: string ;
720692 disabled ?: boolean ;
721693 disabledColor ?: string ;
722- href ?: string ;
723694 iconClassName ?: string ;
724695 iconStyle ?: React . CSSProperties ;
725- linkButton ?: boolean ;
726696 mini ?: boolean ;
727697 onMouseDown ?: React . MouseEventHandler ;
728698 onMouseEnter ?: React . MouseEventHandler ;
@@ -886,8 +856,6 @@ declare namespace __MaterialUI {
886856 style ?: React . CSSProperties ;
887857 textFieldStyle ?: React . CSSProperties ;
888858 value ?: Date ;
889- /** @deprecated use cancelLabel and okLabel instead */
890- wordings ?: { ok : string , cancel : string } ;
891859
892860 // From <TextField />
893861 className ?: string ;
@@ -933,7 +901,6 @@ declare namespace __MaterialUI {
933901 onShow ?: ( ) => void ;
934902 shouldDisableDate ?: ( day : Date ) => boolean ;
935903 style ?: React . CSSProperties ;
936- wordings ?: { ok : string , cancel : string } ;
937904 }
938905 export class DatePickerDialog extends React . Component < DatePickerDialogProps , { } > {
939906 }
@@ -1043,15 +1010,7 @@ declare namespace __MaterialUI {
10431010 namespace List {
10441011 interface ListProps extends React . Props < List > {
10451012 // <Paper/> is the element that get the 'other' properties
1046- /** @deprecated nest the Subheader component directly inside the List instead */
1047- insetSubheader ?: boolean ;
10481013 style ?: React . CSSProperties ;
1049- /** @deprecated nest the Subheader component directly inside the List instead */
1050- subheader ?: string ;
1051- /** @deprecated nest the Subheader component directly inside the List instead */
1052- subheaderStyle ?: React . CSSProperties ;
1053- /** @deprecated wrap it in `Paper` or another component that provides zDepth instead */
1054- zDepth ?: number ;
10551014 }
10561015 export class List extends React . Component < ListProps , { } > {
10571016 }
@@ -1094,8 +1053,6 @@ declare namespace __MaterialUI {
10941053 onChange ?: ( e : TouchTapEvent , value : any ) => void ;
10951054 selectedItemStyle ?: React . CSSProperties ;
10961055 value ?: any ;
1097- /** @deprecated use the value and onChange property instead */
1098- valueLink ?: { value : any ; requestChange : ( e : TouchTapEvent , value : any ) => void } ;
10991056 }
11001057
11011058 // union types for higher order components in TypeScript 1.8: https://github.com/Microsoft/TypeScript/issues/4362
@@ -1105,8 +1062,6 @@ declare namespace __MaterialUI {
11051062 namespace Menus {
11061063 interface MenuProps extends React . Props < Menu > {
11071064 // <List/> is the element that get the 'other' properties
1108- /** @deprecated Instead, use a Popover */
1109- animated ?: boolean ;
11101065 autoWidth ?: boolean ;
11111066 desktop ?: boolean ;
11121067 disableAutoFocus ?: boolean ;
@@ -1118,15 +1073,11 @@ declare namespace __MaterialUI {
11181073 onEscKeyDown ?: React . KeyboardEventHandler ;
11191074 onItemTouchTap ?: ( e : TouchTapEvent , item : MenuItem ) => void ;
11201075 onKeyDown ?: React . KeyboardEventHandler ;
1121- /** @deprecated Instead, use a Popover */
1122- openDirection ?: propTypes . corners ;
11231076 selectedMenuItemStyle ?: React . CSSProperties ;
11241077 style ?: React . CSSProperties ;
11251078 value ?: any | any [ ] ;
11261079 valueLink ?: ReactLink < any | any [ ] > ;
11271080 width ?: string | number ;
1128- /** @deprecated wrap it in `Paper` or another component that provides zDepth instead */
1129- zDepth ?: number ;
11301081 }
11311082 export class Menu extends React . Component < MenuProps , { } > {
11321083 }
@@ -1185,8 +1136,6 @@ declare namespace __MaterialUI {
11851136 multiple ?: boolean ;
11861137 onChange ?: ( e : TouchTapEvent , itemValue : any | any [ ] ) => void ;
11871138 onKeyDown ?: React . KeyboardEventHandler ;
1188- /** @deprecated Instead, use a Popover */
1189- openDirection ?: string ;
11901139 selectedMenuItemStyle ?: React . CSSProperties ;
11911140 value ?: any | any [ ] ;
11921141 valueLink ?: ReactLink < any | any [ ] > ;
@@ -1381,8 +1330,6 @@ declare namespace __MaterialUI {
13811330 labelStyle ?: React . CSSProperties ;
13821331 onCheck ?: ( event : React . MouseEvent , checked : boolean ) => void ;
13831332 style ?: React . CSSProperties ;
1384- /** @deprecated Use uncheckedIcon instead */
1385- unCheckedIcon ?: React . ReactElement < { style ?: React . CSSProperties } > ; // Normally an SvgIcon
13861333 uncheckedIcon ?: React . ReactElement < { style ?: React . CSSProperties } > ; // Normally an SvgIcon
13871334 valueLink ?: ReactLink < boolean > ;
13881335 }
@@ -1709,10 +1656,7 @@ declare namespace __MaterialUI {
17091656 name ?: string ;
17101657 onBlur ?: React . FocusEventHandler ;
17111658 onChange ?: React . FormEventHandler ;
1712- /** @deprecated Use onKeyDown and check for keycode instead. */
1713- onEnterKeyDown ?: React . KeyboardEventHandler ;
17141659 onFocus ?: React . FocusEventHandler ;
1715- onKeyDown ?: React . KeyboardEventHandler ;
17161660 rows ?: number ,
17171661 rowsMax ?: number ,
17181662 style ?: React . CSSProperties ;
@@ -1780,10 +1724,6 @@ declare namespace __MaterialUI {
17801724 underlineStyle ?: React . CSSProperties ;
17811725 }
17821726 export class TimePicker extends React . Component < TimePickerProps , { } > {
1783- /** @deprecated Use defaultTime instead. */
1784- getTime ( ) : Date ;
1785- /** @deprecated Use defaultTime instead. */
1786- setTime ( time : Date ) : void ;
17871727 focus ( ) : void ;
17881728 openDialog ( ) : void ;
17891729 }
@@ -6747,7 +6687,6 @@ declare module 'material-ui/styles' {
67476687 export import LightRawTheme = __MaterialUI . Styles . lightBaseTheme ;
67486688 export import getMuiTheme = __MaterialUI . Styles . getMuiTheme ;
67496689 export import spacing = __MaterialUI . Styles . Spacing ;
6750- export import themeManager = __MaterialUI . Styles . ThemeManager ;
67516690 export import transitions = __MaterialUI . Styles . Transitions ;
67526691 export import typography = __MaterialUI . Styles . Typography ;
67536692 export import zIndex = __MaterialUI . Styles . zIndex ;
@@ -6776,11 +6715,6 @@ declare module 'material-ui/styles/spacing' {
67766715 export default Spacing ;
67776716}
67786717
6779- declare module 'material-ui/styles/themeManager' {
6780- export import ThemeManager = __MaterialUI . Styles . ThemeManager ;
6781- export default ThemeManager ;
6782- }
6783-
67846718declare module 'material-ui/styles/transitions' {
67856719 export import Transitions = __MaterialUI . Styles . Transitions ;
67866720 export default Transitions ;
@@ -6796,28 +6730,11 @@ declare module 'material-ui/styles/baseThemes/lightBaseTheme' {
67966730 export default lightBaseTheme ;
67976731}
67986732
6799- //** @deprecated use lightBaseTheme instead **/
6800- declare module 'material-ui/styles/raw-themes/light-raw-theme' {
6801- export import LightRawTheme = __MaterialUI . Styles . LightRawTheme ;
6802- export default LightRawTheme ;
6803- }
6804-
68056733declare module 'material-ui/styles/baseThemes/darkBaseTheme' {
68066734 export import darkBaseTheme = __MaterialUI . Styles . darkBaseTheme ;
68076735 export default darkBaseTheme ;
68086736}
68096737
6810- //** @deprecated use darkBaseTheme instead **/
6811- declare module 'material-ui/styles/raw-themes/dark-raw-theme' {
6812- export import DarkRawTheme = __MaterialUI . Styles . DarkRawTheme ;
6813- export default DarkRawTheme ;
6814- }
6815-
6816- declare module 'material-ui/styles/themeDecorator' {
6817- export import themeDecorator = __MaterialUI . Styles . themeDecorator ;
6818- export default themeDecorator ;
6819- }
6820-
68216738declare module 'material-ui/styles/zIndex' {
68226739 export import zIndex = __MaterialUI . Styles . zIndex ;
68236740 export default zIndex ;
0 commit comments