Commit Graph

54 Commits

Author SHA1 Message Date
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
John Schottler
25f3a1ee09 update TextField attribute type def (#16752)
allow autoComplete="new-password"
2017-06-01 15:07:34 -07:00
schlesingermatthias
2dbb26ab23 [material-ui] Added missing Props to DropDownMenu and ListItem (#16896)
* DropDownMenu: add missing prop onChange; ListItem: add missing prop hoverColor

* fix error
2017-06-01 11:44:17 -07:00
Jonathon Kelly
740b493d82 add required to TextFieldProps 2017-05-23 16:19:55 +01:00
Chad Auld
7316dccd54 Adding missing property (onTouchTap) to material-ui GridTile component 2017-05-21 12:07:04 -06:00
Chad Auld
1a19f3cd5c Adding missing property (onTouchTap) to material-ui GridTile component 2017-05-21 12:05:29 -06:00
Daniel Roth
4e245f5fdb Move the test code 2017-05-10 12:16:08 +02:00
Daniel Roth
5de9566dad material-ui: Expose tabTemplateStyle on TabsProps 2017-05-10 08:51:47 +02:00
Daniel
b57178eb88 material-ui: Updated width prop of drawer to be compliant with spec (#16342)
* material-ui: Updated width prop of drawer to be compliant with spec

* update header
2017-05-05 09:32:09 -07:00
Harurow
90b46feda1 add openIcon, closeIcon properties for CardHeader (#16262) 2017-05-02 10:35:23 -07:00
Katsuya Hino
2c5a92b5e2 Add missing "multiple" prop to SelectField of material-ui (#15935)
* Add missing "multiple" prop to SelectField

* Add "selectionRenderer" prop to SelectField
2017-04-27 09:51:24 -07:00
Aurélien Allienne
b2db59fb24 Move className from SharedEnhancedButtonProps to FlatButtonProps and increase minor version (#16142) 2017-04-26 10:27:42 -07:00
Aurélien Allienne
fb21b2cc53 Button have a className property (#16098)
According to material-ui documentation, buttons have className property
For example : http://www.material-ui.com/#/components/flat-button
2017-04-25 15:58:48 -07:00
Ali Taheri Moghaddar
1ce0725a6c [material-ui] Improve DatePicker types (#15886)
* Improve DatePicker types

* Add DatePickerDialog to direct imports

* Add @alitaheri as maintainer
2017-04-20 13:30:03 -07:00
DaIgeb
6e618092ad Merge branch 'master' into material-ui/textfield 2017-04-17 20:51:03 +02:00
Elisha-Wigwe Chijioke O
c14687382c Add Class Name to Card Header, Text and Actions (#15614)
Add `className` property to missing props interfaces. Ref #10823
2017-04-17 09:11:22 -07:00
Daniel Opden Dries
ec985e9ded MaterialUI - Added onClick/onTouchTap to Overlay (#15555)
* Added onClick and onTouchTap to internal/Overlay

* Revert "Added onClick and onTouchTap to internal/Overlay"

This reverts commit 65774ad5dc4b70823bb181a927798d39071aff55.

* Revert "Revert "Added onClick and onTouchTap to internal/Overlay""

This reverts commit 66c69716d968c688a6c7f343011b0f2bea5ae0f5.
2017-04-17 08:23:34 -07:00
Igor Belagorudsky
2da37f4b7c changed the version to match when fullWidth was added to FlatButton 2017-04-14 11:07:22 -04:00
Igor Belagorudsky
fcb8eabc61 upped version number 2017-04-10 15:38:33 -04:00
Igor Belagorudsky
fb4253ab93 switched whitespace to spaces to be consistent with the rest of the file 2017-04-10 15:33:22 -04:00
Igor Belagorudsky
78d920faa9 add fullWidth to FlatButtonProps 2017-04-10 15:27:29 -04:00
Daniel Roth
2e2233326a Add support for type number on TextFields 2017-04-07 13:17:57 +02:00