-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed unused table and velocity-animate * React version upgraded to version 16.3.1. Notes: 1. Using nightly TypeScript because of bug microsoft/TypeScript#22403 2. ESLint trailing commas also disabled for now due to bug 3. Minor issue that docs aren't running. needs diagnosis * unit test fix in progress * unit test fixes for enzyme 2 * - added test debug capability - fixed tests for formlayout, stack, textfield, tooltip * fixed unit tests in scrollable, select, stack, and tooltip. * fixed/commented broken tests with TODO to expedite development for dheeraj * upgraded to react 16.3.1
- Loading branch information
1 parent
3059900
commit d2ca758
Showing
117 changed files
with
6,750 additions
and
9,800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,4 @@ | ||
declare module 'react-page-layout'; | ||
|
||
declare module 'react-perf-tool'; | ||
declare module 'react-prism'; | ||
declare module 'react-router-dom'; | ||
declare module 'velocity-animate'; | ||
|
||
declare module 'hoist-non-react-statics' { | ||
import {ComponentClass} from 'react'; | ||
|
||
function hoistNonReactStatics<P>(to: ComponentClass<P>, from: ComponentClass<any>): ComponentClass<P>; | ||
export = hoistNonReactStatics; | ||
} | ||
|
||
// declare module "react-css-themr" { | ||
// import React = require("react"); | ||
// type TReactCSSThemrTheme = { | ||
// [key: string]: string | TReactCSSThemrTheme | ||
// } | ||
|
||
// export function themeable(...themes: Array<TReactCSSThemrTheme>): TReactCSSThemrTheme; | ||
|
||
// export interface IThemrOptions { | ||
// /** @default "deeply" */ | ||
// composeTheme?: "deeply" | "softly" | false, | ||
// } | ||
|
||
// export interface ThemeProviderProps { | ||
// innerRef?: Function, | ||
// theme: {} | ||
// } | ||
|
||
// export class ThemeProvider extends React.Component<ThemeProviderProps, any> { | ||
// } | ||
|
||
// interface ThemedComponent<P, S> extends React.Component<P, S> { | ||
// } | ||
|
||
// interface ThemedComponentClass<P, S> extends React.ComponentClass<P> { | ||
// new(props?: P, context?: any): ThemedComponent<P, S>; | ||
// } | ||
|
||
// export function themr( | ||
// identifier: string | number | symbol, | ||
// defaultTheme?: {}, | ||
// options?: IThemrOptions | ||
// ): <P, S>(component: (new(props?: P, context?: any) => React.Component<P, S>) | React.SFC<P>) => ThemedComponentClass<P, S>; | ||
// } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Fixes an error where requestAnimationFrame wouldn't be available and throw: | ||
// | ||
// console.error node_modules/fbjs/lib/warning.js:33 | ||
// Warning: React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills | ||
// | ||
// See https://github.com/facebook/jest/issues/4545 | ||
global.requestAnimationFrame = (callback) => { | ||
setTimeout(callback, 0); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.