Skip to content

Commit

Permalink
[core] Fix some issues after the latest release (mui#7973)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Aug 31, 2017
1 parent 0058200 commit 59b8477
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions docs/src/pages/customization/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ This component should preferably be used at **the root of your component tree**.
```jsx
import React from 'react';
import { render } from 'react-dom';
import createMuiTheme from 'material-ui/styles/theme';
import { MuiThemeProvider } from 'material-ui/styles';
import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
import Root from './Root';

const theme = createMuiTheme();
Expand Down
2 changes: 1 addition & 1 deletion src/Dialog/withResponsiveFullScreen.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Breakpoint } from '../styles/breakpoints';
import { Breakpoint } from '../styles/createBreakpoints';
import { WithWidthProps } from '../utils/withWidth';

export interface WithResponsiveFullScreenOptions {
Expand Down
2 changes: 1 addition & 1 deletion src/Drawer/Drawer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { StyledComponent } from '..';
import { ModalProps } from '../internal/Modal';
import { SlideProps } from '../transitions/Slide';
import { Theme } from '../styles/theme';
import { Theme } from '../styles/createMuiTheme';

export interface DrawerProps extends ModalProps {
anchor?: 'left' | 'top' | 'right' | 'bottom';
Expand Down
2 changes: 1 addition & 1 deletion src/Grid/Grid.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { HiddenProps } from '../Hidden/Hidden';
import { Breakpoint } from '../styles/breakpoints';
import { Breakpoint } from '../styles/createBreakpoints';

export type GridAlignment = 'flex-start' | 'center' | 'flex-end' | 'stretch';

Expand Down
2 changes: 1 addition & 1 deletion src/Hidden/Hidden.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { Breakpoint } from '../styles/breakpoints';
import { Breakpoint } from '../styles/createBreakpoints';

export interface HiddenProps {
only?: Breakpoint | Array<Breakpoint>;
Expand Down
2 changes: 1 addition & 1 deletion src/Hidden/HiddenJs.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { Breakpoint } from '../styles/breakpoints';
import { Breakpoint } from '../styles/createBreakpoints';

export interface HiddenJsProps {
only?: Breakpoint | Array<Breakpoint>;
Expand Down
2 changes: 1 addition & 1 deletion src/Typography/Typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent, PropTypes } from '..';
import { Style, TextStyle } from '../styles/typography';
import { Style, TextStyle } from '../styles/createTypography';

export interface TypographyProps extends React.HTMLAttributes<HTMLElement> {
align?: PropTypes.Alignment;
Expand Down
2 changes: 1 addition & 1 deletion src/transitions/Collapse.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { Theme } from '../styles/theme';
import { Theme } from '../styles/createMuiTheme';
import { TransitionProps } from '../internal/Transition';

export interface CollapseProps extends TransitionProps {
Expand Down
2 changes: 1 addition & 1 deletion src/transitions/Fade.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { Theme } from '../styles/theme';
import { Theme } from '../styles/createMuiTheme';
import { TransitionProps } from '../internal/Transition';

export interface FadeProps extends TransitionProps {
Expand Down
2 changes: 1 addition & 1 deletion src/transitions/Grow.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { Theme } from '../styles/theme';
import { Theme } from '../styles/createMuiTheme';
import { TransitionProps } from '../internal/Transition';

export interface GrowProps extends TransitionProps {
Expand Down
2 changes: 1 addition & 1 deletion src/transitions/Slide.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StyledComponent } from '..';
import { Theme } from '../styles/theme';
import { Theme } from '../styles/createMuiTheme';
import { TransitionProps } from '../internal/Transition';

export interface SlideProps extends TransitionProps {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/withWidth.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Breakpoint } from '../styles/breakpoints';
import { Breakpoint } from '../styles/createBreakpoints';
export interface WithWidthOptions {
resizeInterval: number;
}
Expand Down

0 comments on commit 59b8477

Please sign in to comment.