Commit Graph
40 Commits
Author SHA1 Message Date
David Schneider b410661e5b Add comment to explain the type parameters. 2017-04-17 16:05:22 -07:00
David Schneider 48af84a937 Revise component props based on Leaflet API documentation. 2017-04-17 13:14:24 -07:00
David Schneider 61ee96d1f9 MapComponentProps does not extend React.HTMLProps.
There's no need for the react-leaflet components to support HTMLProps, and in some cases they conflict with Leaflet-defined props.
2017-04-17 13:12:51 -07:00
David Schneider 8632683f65 Merge remote-tracking branch 'upstream/master'
* upstream/master: (111 commits)
  node: disable dt-header lint rule for now (#15864)
  Fix additional lint errors from the new dtslint (#15865)
  Use new strict-export-declare-modifiers lint rule (#15844)
  changed the version to match when fullWidth was added to FlatButton
  Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
  Added types for algebra.js (#15763)
  Add starter `tslint.json` files for node (#15834)
  loopback: Add ignores for failing lint rules (#15832)
  react-icons: Check in generate script (#15712)
  fix header formatting (#15802)
  [react-native] - StyleSheet.create parameter properly constrained Added test based on output of react-native init command
  Update estree tests with nullable values
  Mark fields nullable
  upped version number
  switched whitespace to spaces to be consistent with the rest of the file
  add fullWidth to FlatButtonProps
  html-weback-plugin: Update version
  bugsnag-js: Provides its own types  (#15621)
  hapi: use native promise types for async/await compatibility (#15568)
  maquette: Provides its own types (#15647)
  ...

# Conflicts:
#	types/react-leaflet/index.d.ts
2017-04-14 11:23:46 -07:00
AndyandGitHub e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -07:00
AndyandGitHub 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
David Schneider 79224322d1 Update tests. 2017-04-13 16:28:43 -07:00
David Schneider 128c156c94 Reorder definitions to match class hierarchy in the docs.
https://github.com/PaulLeCam/react-leaflet/blob/master/docs/Extending.md
2017-04-13 16:25:27 -07:00
David Schneider a9eef39bd9 Update ZoomControl, ZoomControlProps. 2017-04-13 16:18:34 -07:00
David Schneider 79f55df43b Update ScaleControl, ScaleControlProps. 2017-04-13 16:18:08 -07:00
David Schneider 093e20bbfd Update MapControl, MapControlProps. 2017-04-13 16:17:40 -07:00
David Schneider ae20f8052f Update LayersControl, LayersControlProps. 2017-04-13 16:16:42 -07:00
David Schneider 1fdc8689ac Update AttributionControl, AttributionControlProps. 2017-04-13 16:15:49 -07:00
David Schneider 782c4cd738 Update GeoJSON, GeoJSONProps. 2017-04-13 16:15:08 -07:00
David Schneider 1615295f1e Update FeatureGroup, FeatureGroupProps. 2017-04-13 16:14:02 -07:00
David Schneider 42f58c8d91 Update LayerGroup, LayerGroupProps. 2017-04-13 16:13:15 -07:00
David Schneider 9357b51da8 Update Rectangle, RectangleProps. 2017-04-13 16:12:14 -07:00
David Schneider de7f8ef988 Update Polygon, PolygonProps. 2017-04-13 16:11:48 -07:00
David Schneider 550704d750 Update Polyline, PolylineProps. 2017-04-13 16:11:23 -07:00
David Schneider ccc25ed739 Update CircleMarker, CircleMarkerProps. 2017-04-13 16:10:48 -07:00
David Schneider 5d598642b5 Update Circle, CircleProps. 2017-04-13 16:10:17 -07:00
David Schneider 4db5f12ed3 Update PathProps, add Path abstract class. 2017-04-13 16:09:49 -07:00
David Schneider 6de8bba105 Update WMSTileLayer, WMSTileLayerProps. 2017-04-13 16:08:48 -07:00
David Schneider 9f6d8d7b72 Update ImageOverlay, ImageOverlayProps. 2017-04-13 16:08:15 -07:00
David Schneider 07daf65a07 Update TileLayer, TileLayerProps. 2017-04-13 16:07:37 -07:00
David Schneider 0e712b5649 Update GridLayer, GridLayerProps. 2017-04-13 16:07:07 -07:00
David Schneider 5de40f30e9 Update Tooltip, TooltipProps. 2017-04-13 16:05:49 -07:00
David Schneider cdd1a01245 Update Popup, PopupProps. 2017-04-13 16:05:16 -07:00
David Schneider 534efa73b6 Update Marker, MarkerProps. 2017-04-13 16:04:18 -07:00
David Schneider d145ccc603 Add MapLayer, MapLayerProps, LayerContainer. 2017-04-13 16:02:06 -07:00
David Schneider 2d7d02deb9 Update Pane, PaneProps; add PaneState. 2017-04-13 15:51:07 -07:00
David Schneider 2fe391513c Update Map, MapProps. 2017-04-13 15:50:27 -07:00
David Schneider ddac22429c Add MapComponent, MapComponentProps definitions. 2017-04-13 15:48:34 -07:00
David Schneider c7d1014f19 Define intersection type that includes all Leaflet events. 2017-04-13 15:47:22 -07:00
David Schneider f4d7df929d Define type Children equivalent to that defined react-leaflet/src/propTypes/children.js. 2017-04-13 15:42:03 -07:00
David Schneider c9e8642144 react-leaflet: Update declarations file header.
- Reference new versions of react-leaflet, TypeScript.
- Add new author.
2017-04-12 14:40:35 -07:00
AndyandGitHub 3d13ec5399 Lint react-* packages (#15526) 2017-03-30 14:11:46 -07:00
Dave LeaverandMohamed Hegazy 5640a06e0f Add MapControl and additional GeoJSON bits to react-leaflet. (#15401)
* Add MapControl and additional GeoJSON bits to react-leaflet.

* Make MapControl actually usable.

* Fix tslint errors
2017-03-27 21:11:50 -07:00
Andy Hanson f96c1c5d92 Apply new lint rules to more files 2017-03-27 10:41:22 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00