Commit Graph

36 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
6ec6e20826
Merge pull request #23303 from LeoTindall/fix-react-bootstrap-ToggleButtonGroup-onChange
[react-bootstrap] Fix ToggleButtonGroup onChange
2018-02-13 12:02:53 -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
2a9d2f8d59
Convert more "import *" to "import =" (#23446) 2018-02-05 18:27:31 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
LeoTindall
94144ad358 [react-bootstrap] Fix ToggleButtonGroup onChange
The signature of onChange was incorrect (did not match the docs);
closes #21840
2018-01-30 23:47:25 -06:00
Antoine Niek
3c6fcb55cb Fix react-bootstrap DropdownButton title prop (#23059)
Don't narrow down DropdownButton title prop type with
more restrictive title prop coming from React.HTMLProps.
2018-01-25 08:59:54 -08:00
Andrea Rizzo
10316fd981 Update Tabs.d.ts (#22992)
Added mountOnEnter?: boolean;
2018-01-17 13:41:09 -08:00
batbold
28acb26650 Panel and Pagination typings for 0.32 (#22823) 2018-01-17 11:50:43 -08:00
Robert Kuykendall
9d988b0f45
[react-bootstrap] Update FormGroup validationState
As shown in spec: https://react-bootstrap.github.io/components.html#forms-props-form-group and source: 0e93f934e4/src/FormGroup.js (L16)
2017-12-14 15:23:28 -05:00
Nathan Shively-Sanders
037e2d3712
Merge pull request #21275 from dalen/patch-2
react-bootstrap: Add bsClass to Glyphicon
2017-11-14 15:19:58 -08:00
Erik Dalén
c68ec62d1a react-bootstrap: Add bsClass to Glyphicon
See https://react-bootstrap.github.io/components.html#glyphicons-props
2017-11-06 17:14:00 +01:00
pdeva
19c7df4d0c
Update DropdownToggle.d.ts 2017-10-27 15:00:25 -07:00
Aaron Beall
57804c9a7d Changed title/label props on components to ReactNode instead HTML props string, per docs (#20379)
* Changed TabProps.title to ReactNode not string, per docs

* Fixed declaration of title/label as ReactNode for components, per docs
2017-10-16 11:07:12 -07:00
María Mercedes Retolaza Reyna
95bac4fd31 add missed prop in modal header (#20358)
* add missed prop in modal header

* Fix CI failures

* Add comma to definition authors at react-bootstrap
2017-10-16 11:04:07 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Gustav Bylund
37197f5ec6 Update Navbar.d.ts (#19878)
navExpanded was renamed to expanded in https://github.com/react-bootstrap/react-bootstrap/commit/f9ea411
2017-09-27 13:47:16 -07:00
jshaker
8462fea245 Add null as a type for bsStyle in ButtonProps to allow for custom classes (#19941) 2017-09-26 11:42:08 -07:00
Karol Janyst
64cd04aa40
Resolve conflicts and improve ToggleButton and ToggleButtonGroup 2017-09-07 09:58:15 +09:00
Karol Janyst
6de2de89d8
Change type with omitted prop 2017-09-01 15:22:30 +09:00
Karol Janyst
0627096ce8
Expose components props, fix imports 2017-09-01 12:55:42 +09:00
Flaviu Tamas
991a5e70fa Add ToggleButton and ToggleButtonGroup
It's a new feature in v0.31.1
2017-08-30 19:11:52 -04:00
Andy
1da5cc794b react-bootstrap: Fix lint (#19284) 2017-08-23 10:40:01 -07:00
Vito
d3b62d6549 use exported namespace hack instead of default exports 2017-07-25 15:28:09 -04:00
Vito
07269a46a4 fix some failing tests 2017-07-25 15:28:09 -04:00
Vito
f47ddac422 move tests into test/ directory 2017-07-25 15:28:09 -04:00
Vito
ea849edb91 add tslint.json, fix some linting errors 2017-07-25 15:28:09 -04:00
Vito
d16fb75482 refactor react-bootstrap into individual modules
this allows individual components to be imported in addition to named
imports on the root module. closes #15856
2017-07-25 15:28:09 -04:00
Sergey Tregub
ae4c64b79d bsClass attribute missing for some components 2017-06-23 14:18:28 +03: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
Jens Duttke
24c67b0a09 Add React.ReactInstance to OverlayProps.target (#16379)
OverlayProps.target can be either a function or a React.ReactInstance.
See: https://github.com/react-bootstrap/react-overlays/blob/master/src/Position.js
Line: 82 and 83
2017-06-01 08:31:34 -07:00
Kat Busch
dc9845e634 [react-bootstrap] Add disable ButtonProps (#16209)
Add an optional extended description…
2017-04-28 14:14:58 -07:00
Kwang Yul Seo
2f4b4f01d1 [react-bootstrap] Add block to DropdownButtonBaseProps (#15709) 2017-04-20 11:06:20 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00