Commit Graph

57 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
Stevearzh
d8bb99f2fd remove unused props type 2018-03-17 12:59:02 +08:00
Stevearzh
22f3736535 add test case for GridCellRangeRenderer 2018-03-17 12:43:33 +08:00
Stevearzh
fcc923a224 add type constraints for List rowRenderer test case 2018-03-16 22:22:11 +08: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
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Ron Buckton
aa36a6378f
Merge pull request #23319 from thevtm/react-virtualized-update-column-props
Add missing properties to React Virtualized > ColumnProps
2018-02-07 17:11:52 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Vinícius Tabille Manjabosco
05b4c4f364 Add missing properties "defaultSortDirection" and "headerStyle" to ColumnProps 2018-01-31 16:27:11 -02:00
Andy
01d4dcdcd2
Fix 'no-dynamic-delete' lint failures (#22822) 2018-01-10 15:01:26 -08: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
bfc83b18f3 Added myself to the definitions by 2017-11-18 23:09:36 +01: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
Andy
72bc73d061 react-*: Fix lint (#20825) 2017-10-23 07:31:51 -07: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
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Vinícius Tabille Manjabosco
4f7a218f25 react-virtualized: Update types for WindowScroller 2017-09-01 16:19:18 -03:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07: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
Andy
af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -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
Tanguy Krotoff
573083a518 Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
2017-06-21 09:48:37 +02:00
John Gunther
8e57475acd Added name to Definitions By 2017-06-20 10:17:22 -04: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
Tanguy Krotoff
eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
Ian Lin
7b9bc454ce fix lint errors 2017-06-15 10:40:17 -07:00
Ian Lin
f5ca8f2cf8 Add optional property parent to TableCellProps 2017-06-14 18:54:42 -07:00
Nathan Shively-Sanders
43d74e2dfe Add a Component interface that merges w/the class
The Component interface extends ComponentLifecycle. ComponentLifecycle
goes back to being an interface.

Also fix some lint in react-virtualized
2017-05-24 09:15:22 -07:00
kao
92c71c210a fixed another indentation error 2017-05-15 00:18:43 +02:00
kao
65546a38d5 fixed linting errors 2017-05-15 00:15:15 +02:00
kao
cdf5c83813 bumped version number 2017-05-14 23:57:50 +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
Andy
53ecd41e90 Remove unnecessary namespaces in tests (#15922) 2017-04-18 13:57:54 -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
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -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