Commit Graph

75 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser
8f42ac36e7
Merge pull request #23387 from mtgto/material-ui-iconmenu-children
[material-ui] Delete IconMenu.children type definition.
2018-02-13 13:08:56 -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
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
mtgto
67f47f95bd [material-ui] Delete IconMenu.children 2018-02-03 11:47:47 +09:00
mtgto
1350967a06 material-ui: Fix IconMenu#children (#22910) 2018-01-23 11:40:52 -08:00
daniel tea
6127769a30 material-ui: Add dropDownMenuProps to SelectField (#22857) 2018-01-17 10:04:41 -08:00
mtgto
a2f0dc2938 material-ui: Fix IconMenu properties. (#22663)
* material-ui: Fix IconMenu properties.

* material-ui: Bug Fix IconMenu#onClick argument

* material-ui: Bug Fix IconMenu#children typedef.
2018-01-12 10:02:26 -08:00
Michael Ledin
6cebbd5623 material-ui 0.20.0: replace TouchTap with Click (#22726) 2018-01-09 11:31:47 -08:00
Maarten Mulders
8ebd2dfd05 Implement suggestion from @openscript 2017-12-29 20:04:24 +01:00
Maarten Mulders
82acd03b68 Replace on*IconButtonTouchTap with on*IconButtonClick 2017-12-21 20:34:08 +01:00
devuxer
59141deed1
Updated material-ui version in header 2017-12-18 17:41:57 -08:00
devuxer
ad6ae77e6d
Replaced TouchTap w/ Click in Snackbar 2017-12-08 09:13:52 -08:00
devuxer
e9538b2994
Replaced onActionTouchTap w/ onActionClick
Snackbar property `onActionTouchTap` was replaced with `onActionClick` in [release 0.20.0](https://github.com/mui-org/material-ui/releases/tag/v0.20.0).

This relates to [pull request 9058](https://github.com/mui-org/material-ui/pull/9058) and specifically [this commit](bc97082dd3).
2017-12-06 22:27:40 -08:00
Raul Tomescu
611b5939d1 Added name to SelectFieldProps 2017-11-28 11:40:06 +01:00
Igor Oleinikov
ecabf5526f
Merge pull request #20987 from pelotom/patch-10
[react] Make component constructor props non-optional
2017-11-08 13:58:44 -08:00
Tim Kang
ec90ab0cab material-ui: fix Chip missing containerElement prop 2017-11-06 17:18:00 -08:00
Tom Crockett
73216e2ef2 Propagate non-optional props change to dependent libraries 2017-10-24 22:04:50 -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
Weronika Terpilowska
20d9360ff1 Material-ui: fix Stepper import/export statements (#20457) 2017-10-10 12:55:33 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Ed Staub
146a036764 Add onClick to Avatar, Chip (#20079)
* Add onClick to Avatar

This superficially addresses https://github.com/DefinitelyTyped/DefinitelyTyped/issues/19988, which should probably be closed when this is pulled, for lack of interest.

* Added onClick to ChipProps
2017-09-27 11:46:24 -07:00
Andy
8725002bd4 Add tslint disables for "no-declare-current-package" (#20044) 2017-09-26 11:12:15 -07:00
Jonas Schürmann
08d64685bc material-ui: Tighten type definition
If Table.onRowSelection returns a string, it should always be 'all'
2017-09-13 11:29:11 +02:00
Andy Hanson
17895ba275 material-ui: Move scripts from scripts/material-ui to material-ui/scripts 2017-09-05 09:30:20 -07:00
Andy
cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Daisuke Mino
193d9dc3bf [material-ui] Update svg-icons (#18931)
* [material-ui] Update svg-icons

* Update mark for code generation

* Add a code generation script for material-ui

* Remove .js in ./scripts
2017-08-17 07:58:09 -07:00
Tej Qu Nair
e21abb3dab Update index.d.ts (#18893)
Fixed a typo in TextFieldProperties
2017-08-14 11:16:11 -07:00
Daisuke Mino
2b74a91e5f Export component props (#18856)
This change makes it possible to define interfaces that inherit those
props.
2017-08-11 10:15:37 -07:00
Dan
1c7db8183d [material-ui] Added missing prop definitions for <DropDownMenu /> 2017-08-08 10:14:42 +10:00
Oscar Franco
8a10ec0251 Add maxLength type for material ui text field (#18345)
* Add maxLength type for material ui text field

* Add minlength property and change maxLength to lowercase only
2017-08-02 13:18:24 -07:00
Ed Staub
9334216df7 material-ui: Add missing DropDownMenuProps (#18541)
* material-ui: Add missing DropDownMenuProps

selectedMenuItemStyle, selectionRenderer, iconButton

* Material-ui: DropDownMenuProps: fix missing colon

* Nit: use function format rather than arrow
2017-08-02 13:10:45 -07:00
Dan
03c50b2890 Added missing inputStyle prop to <Checkbox /> (#18438) 2017-07-27 08:02:31 -07:00
Nick Graham
910023509a [material-ui] Adds missing subtitleStyleProps to GridTile (#18271)
* Adds props to GridTile

* Removes the children prop that I added
2017-07-24 10:33:52 -07:00
Nick Graham
4cfe41dc6b [material-ui] Adds linting (#18189)
* Adds props to GridTile

* Adds ts line

* Fixes lint array error

Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>' instead.

* Fixes lint consecutive blank line error

* Fixes whitespace and semicolon lint errors

* Fixes lint whitespace error

Don't use blank line after '{'

* Fixes lint type error

 Use an interface instead of a type literal

* Fixes lint interface error

 An empty interface is equivalent to `{}`.

* Lint: Replaces var with let

Do not use 'var'

* Lint: Prefer method signature

* Lint: Fixes array type

Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>'

* Lint: Fixes boolean type

 Don't use 'Boolean' as a type. Avoid using the `Boolean` type. Did you mean `boolean`?

* Lint: Ignore unneccesary exports

* Lint : fix errors

* Lint: adds missing semi-colons

* Lint: Removes spaces

* Lint: Ignore no empty interfaces (We could just delete them)

* Lint: Ignore "dt-header" (could remove patch number)

* Lint: Ignore ban-types so we can use Function

* Remove new props that I added

* Fixes var -> let over replacement
2017-07-22 12:16:13 -07:00
Pan
2b46b16e14 Add rowSpan to table columns
Like colSpan, passing rowSpan to table header and row column as they are useful for td/th as well.
2017-07-14 17:33:36 -04:00
Stéphane Goetz
a24aee6125 Improve react typings for HTML attributes, fix tests in other libraries 2017-07-10 22:43:07 +02:00
Ali Taheri Moghaddar
45ad729992 Add headerColor to theme 2017-07-05 11:45:24 +04:30
Artjoms Stukans
ef3404fb3b Add missing properties for GridTile component 2017-06-29 18:13:50 +03:00
Arturs Vonda
3314dd9601 Add missing methods for opening date picker dialog 2017-06-27 12:13:01 +03:00
John Reilly
07352da21a Merge pull request #17288 from tkrotoff/react-default-type-arguments
Change React.Component<P, S> to React.Component<P = {}, S = {}>
2017-06-22 19:18:47 +01:00
syamatoo
0f0ef2bacf [material-ui] Add minutesStep prop to TimePicker 2017-06-22 16:40:04 +09:00
Tanguy Krotoff
573083a518 Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
2017-06-21 09:48:37 +02: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
esplo
d807e9544a [material-ui] add iconStyle to CardHeader 2017-06-13 01:06:28 +09:00
Andy
dba4a0f69f material-ui: Fix error in typescript@next (#17054) 2017-06-08 09:10:20 -07:00
Vince Aldrin Cabrera
b5ff1b5a9a hideCalendarDate prop added on DatePicker (#16748) 2017-06-02 08:20:10 -07:00
Andy Hanson
1a0d23ef60 Merge branch 'master' of https://github.com/InsidersByte/DefinitelyTyped into InsidersByte-master 2017-06-02 07:45:05 -07:00