Commit Graph

29 Commits

Author SHA1 Message Date
David Idol
99f6ffb18b Use React.ReactNode instead of string for label (#25353)
Based on the [official API documentation](https://github.com/bvaughn/react-virtualized/blob/master/docs/Column.md) it seems that `label` is actually a ReactNode and not a `string`
2018-04-26 22:30:49 -07:00
Jakub Řičař
1f555b0b4f [react-virtualized] Grid - add onScrollbarPresenceChange to GridCoreProps (#25040)
* Grid - add onScrollbarPresenceChange to GridCoreProps

* Fix irregular whitespace
2018-04-17 08:35:05 -07:00
Kalle Ott
4ac43f6061 fix for wrong method signature in params of WindowScroller render-prop (#24953)
* typings update to catch up with current version of react-virtualized

* fixed lint errors

* fixed ts version

* fixed void return type of defaultProps functions

* changed interface to type for better consistency

* fixed signature of onChildScroll params in WindowScroller

* Auto stash before merge of "enable-strict-mode" and "master"

* removed unimportant line from test file

* replaced strict with explicit options

* updated TS version

* ts version set to 2.7

* back to ts 2.6

* changed autogenerated relative import to global import
2018-04-14 12:29:21 -07:00
Kalle Ott
aca7b39f77 typings update to catch up with current version of react-virtualized (#24900)
* typings update to catch up with current version of react-virtualized

* fixed lint errors

* fixed ts version

* fixed void return type of defaultProps functions

* changed interface to type for better consistency
2018-04-11 12:07:45 -07:00
Maciej Goszczycki
7fa673a804 react-virtualized: Allow null tabIndex (#24777) 2018-04-09 10:23:36 -07:00
yu.zhang
724d30528d update parent type for GridCellRangeProps 2018-03-16 13:57:52 +08:00
yu.zhang
2271071fb5 fixed GridCellProps parent type, which incompatible with CellMeasurer parent type 2018-03-12 20:14:23 +08:00
Vinícius Tabille Manjabosco
05b4c4f364 Add missing properties "defaultSortDirection" and "headerStyle" to ColumnProps 2018-01-31 16:27:11 -02:00
Szabolcs Szőke
ef9857f1ec Added missing autoReload param to InfiniteLoader.resetLoadMoreRowsCache 2017-12-19 11:41:29 +02:00
John Gozde
f72e4de80f Add onRowRightClick to TableRowProps 2017-12-06 11:07:11 -07:00
John Gozde
eaa0b68ade Fix Table default* export names 2017-12-06 11:02:26 -07:00
Kræn Hansen
cfbd9b0edc
Updated the react-virtualized MultiGrid props
According to the docs, these are all optional: https://github.com/bvaughn/react-virtualized/blob/master/docs/MultiGrid.md
2017-11-18 22:47:57 +01:00
Mark Perkins
b7172b90c4 updated comment according to react-virtualized documentation 2017-11-01 10:59:39 -06:00
Mark Perkins
c0f617b602 added optional id to ColumnProps 2017-11-01 10:48:51 -06:00
John Gozde
bbf3e9cb0b [react]: Remove deprecated+removed APIs (#20409)
* create-react-class: add definitions

* react-dom-factories: add definitions

* create-react-class: add tests, fix errors

* react-dom-factories: add tests, fix lint

* react: remove previously deprecated APIs

* Remove deprecated usages in other definitions

* redux-form: disable strictFunctionTypes

Changes to react typings revealed errors in redux-form that are present
in 'master'. This needs to be handled separately.

* Update create-react-class, react-dom-factories author

* Avoid importing create-react-class where possible

* Move top-level createReactClass tests to create-react-class
2017-10-16 15:22:04 -07:00
Szőke Szabolcs
1c2daecf2d react-virtualized: add missing properties to GridCellRangeProps, fix incorrect type for overscanIndicesGetter in Grid.defaultProps (#20412)
* react-virtualized: added missing properties to GridCellRangeProps

* react-virtualized: corrected type of overscanIndicesGetter in Grid.defaultProps

* react-virtualized: added name to "Definitions by" section
2017-10-13 15:18:51 -07:00
Vinícius Tabille Manjabosco
4f7a218f25 react-virtualized: Update types for WindowScroller 2017-09-01 16:19:18 -03:00
Konstantin Nesterov
4e6d9944e4 [react-virtualized] - Allows to set arbitrary props to force re-render (#18378)
* Allows to set arbitrary props to force re-render

* Add myself to "definitions by"

* Fix linting

* Added comment about purpose of arbitrary values
2017-07-25 10:38:18 -07:00
Nathan Shively-Sanders
b26dc9f83f Merge pull request #17327 from guntherjh/master
React-Virtualized: Added missing definitions for CollectionProps
2017-06-22 16:10:53 -07:00
John Gunther
c41450f86f Added missing types for Collection properties 2017-06-20 10:01:34 -04:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Ian Lin
f5ca8f2cf8 Add optional property parent to TableCellProps 2017-06-14 18:54:42 -07:00
kao
65546a38d5 fixed linting errors 2017-05-15 00:15:15 +02:00
kao
c3110c9321 updated types to version 9.7 and moved comments to the types 2017-05-14 23:55:06 +02:00
Mohamed Hegazy
ff4eaf5d61 Fix lint errors introduced in tslint@5.2 (#16330) 2017-05-04 15:48:57 -07:00
Kalle Ott
7aa9acc6b9 update to react-virtualized 9.5 (#15613) 2017-04-17 09:10:46 -07:00
Andy
e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -07:00
Kalle Ott
4fd2d7547c fixed the semver note in the header comment (#15522)
* fixed the semver note in the header comment

* changed tslint config

* fixed linting
2017-03-30 13:12:51 -07:00
Kalle Ott
4e37f8d9f9 fixed mapping to distribution folder structure 2017-03-28 09:14:58 +02:00