Skip to content

Commit

Permalink
v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Mar 14, 2018
1 parent 67d4ede commit 496e990
Show file tree
Hide file tree
Showing 54 changed files with 2,754 additions and 706 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v1.9.0 (2018-03-14)

* Fixed event listeners removal in `Map` ([PR #459](https://github.com/PaulLeCam/react-leaflet/pull/459) by _andersonveiga_).
* Added support for dynamic handlers in `Map` ([PR #452](https://github.com/PaulLeCam/react-leaflet/pull/452) by _jonathanchrisp_).
* Added `DivOverlay` component as base class for `Popup` and `Tooltip`, now supporting dynamic `className` prop.
* [website] Updated Docusaurus, with added on-page navigation sidebar.

## v1.8.2 (2018-02-26)

* Fixed `Map` unmounting when `preferCanvas` is set.
Expand Down
5 changes: 3 additions & 2 deletions docs/class-hierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ The components exposed by React-Leaflet inherit from the following hierarchy:
* [`LayersControl.Overlay`](components.md#layerscontroloverlay)
* [`MapComponent`](components.md#mapcomponent): base class handling extracting
and updating Leaflet events.
* [`DivOverlay`](components.md#divoverlay)
* [`Popup`](components.md#popup)
* [`Tooltip`](components.md#tooltip)
* [`Map`](components.md#map): top-level component instantiating a Leaflet
map and providing it to its children.
* [`MapLayer`](components.md#maplayer): base class for all map layers,
Expand All @@ -31,8 +34,6 @@ The components exposed by React-Leaflet inherit from the following hierarchy:
* [`Polygon`](components.md#polygon)
* [`Polyline`](components.md#polyline)
* [`Rectangle`](components.md#rectangle)
* [`Popup`](components.md#popup)
* [`Tooltip`](components.md#tooltip)
* [`MapControl`](components.md#mapcontrol): base class for all controls,
handles positioning.
* [`AttributionControl`](components.md#attributioncontrol)
Expand Down
7 changes: 7 additions & 0 deletions docs/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ in `componentWillMount()` and therefore accessible in `componentDidMount()`, exc
You can check out the [event handling example](https://github.com/PaulLeCam/react-leaflet/blob/master/example/components/events.js) to see how to interact with methods exposed by the Leaflet element.

* [Base components](#base-components)
* [DivOverlay](#divoverlay)
* [MapComponent](#mapcomponent)
* [MapControl](#mapcontrol)
* [MapLayer](#maplayer)
Expand Down Expand Up @@ -57,6 +58,12 @@ You can check out the [event handling example](https://github.com/PaulLeCam/reac
These components are base classes used by other components. They can be extended
to create custom components but should not be used directly.

### DivOverlay

Base class extending [`MapComponent`](#mapcomponent), handling shared logic for the [`Popup`](#popup) and [`Tooltip`](#tooltip) components.

[🔍 Source](https://github.com/PaulLeCam/react-leaflet/blob/master/src/DivOverlay.js)

### MapComponent

Base class extending `React.Component` and handling events bindings.\
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 94e44f973128ce7c802549991c028ceb
// flow-typed version: <<STUB>>/babel-cli_v^6.26.0/flow_v0.63.1
// flow-typed signature: 96a5464878cc5ee4a5b9ffc983904bfa
// flow-typed version: <<STUB>>/babel-cli_v^6.26.0/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-core_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: d345cd551f1e83c0e730bcd569bede23
// flow-typed version: <<STUB>>/babel-core_v^6.26.0/flow_v0.63.1
// flow-typed signature: e77b38eecf3c558045bec5bd58fab2f4
// flow-typed version: <<STUB>>/babel-core_v^6.26.0/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: ad45c4b996315ba2f858d529422af55e
// flow-typed version: <<STUB>>/babel-eslint_v^8.2.1/flow_v0.63.1
// flow-typed signature: ffb075cbdf4d96318226616a9f4fe1d3
// flow-typed version: <<STUB>>/babel-eslint_v^8.2.2/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: c34a2d7efb2b58d5dbdf5b533dfdc28e
// flow-typed version: <<STUB>>/babel-jest_v^22.0.6/flow_v0.63.1
// flow-typed signature: 7f2595b775efacd53d3339b597f6b8e5
// flow-typed version: <<STUB>>/babel-jest_v^22.4.1/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-loader_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 10a92c74eab5d547509f818ef16e617e
// flow-typed version: <<STUB>>/babel-loader_v^7.1.2/flow_v0.63.1
// flow-typed signature: 921fc3c9cf5a11a727faa0c0e8b53d78
// flow-typed version: <<STUB>>/babel-loader_v^7.1.4/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-dev-expression_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: dbf704333572051ba6c4725a4f8e01d6
// flow-typed version: <<STUB>>/babel-plugin-dev-expression_v^0.2.1/flow_v0.63.1
// flow-typed signature: 70a7ba23a419547ce6e1ba589ec4a6ab
// flow-typed version: <<STUB>>/babel-plugin-dev-expression_v^0.2.1/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-external-helpers_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 3709318b489de21b956f5137f451736b
// flow-typed version: <<STUB>>/babel-plugin-external-helpers_v^6.22.0/flow_v0.63.1
// flow-typed signature: 940e11cc816192a7f1ed6b1e3a22311d
// flow-typed version: <<STUB>>/babel-plugin-external-helpers_v^6.22.0/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-lodash_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 7ebfe2eb482617d59420ad1dbf219dd6
// flow-typed version: <<STUB>>/babel-plugin-lodash_v^3.3.2/flow_v0.63.1
// flow-typed signature: 9551d98178ca7b6688ec8de9637f1247
// flow-typed version: <<STUB>>/babel-plugin-lodash_v^3.3.2/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: bce342a31591b53a2d54e425019f1d8d
// flow-typed version: <<STUB>>/babel-plugin-transform-proto-to-assign_v^6.26.0/flow_v0.63.1
// flow-typed signature: 427c96c9521d73382dc427e724a75059
// flow-typed version: <<STUB>>/babel-plugin-transform-proto-to-assign_v^6.26.0/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: ef91b18cc9d2ea1605e5a2b87e90935a
// flow-typed version: <<STUB>>/babel-preset-env_v^1.6.1/flow_v0.63.1
// flow-typed signature: 93f0fbce0ccee2b42fb3c13696148e30
// flow-typed version: <<STUB>>/babel-preset-env_v^1.6.1/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 13d1f3801832f277dd1ebe626dc9725e
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.63.1
// flow-typed signature: 33bfe7eef3b03ef1ab0970c592bfe89c
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-stage-1_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 55c9ecc920688f6bde95a61b8bb295f4
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.24.1/flow_v0.63.1
// flow-typed signature: f049aa1f23edd53c53781fbe8a8540a9
// flow-typed version: <<STUB>>/babel-preset-stage-1_v^6.24.1/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/cross-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: bc75bd8142e253c635297db7a8f079e7
// flow-typed version: <<STUB>>/cross-env_v^5.1.3/flow_v0.63.1
// flow-typed signature: 1e794bbf547b4929dbaf3cb1165bf82f
// flow-typed version: <<STUB>>/cross-env_v^5.1.4/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-config-prettier_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 7f1317029b8ca0f26ff7c8555abb527e
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.9.0/flow_v0.63.1
// flow-typed signature: 5e7d8b5d012d3b41d977180cd64187b3
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.9.0/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down
39 changes: 37 additions & 2 deletions flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: fecea0764b77ab496934d14cf729f960
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.41.0/flow_v0.63.1
// flow-typed signature: 2a7122c665be8a6d80fb097c5a461f55
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.46.1/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -46,10 +46,18 @@ declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' {
declare module.exports: any;
}
Expand Down Expand Up @@ -78,6 +86,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' {
declare module.exports: any;
}
Expand All @@ -86,6 +98,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' {
declare module.exports: any;
}
Expand Down Expand Up @@ -150,6 +166,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' {
declare module.exports: any;
}
Expand Down Expand Up @@ -225,9 +245,15 @@ declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' {
declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noExistentialType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>;
}
Expand All @@ -249,12 +275,18 @@ declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' {
declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireExactType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReturnType'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireTypesAtTop'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation'>;
}
Expand Down Expand Up @@ -303,6 +335,9 @@ declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js'
declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeIdMatch'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeImportStyle'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing'>;
}
Expand Down
39 changes: 37 additions & 2 deletions flow-typed/npm/eslint-plugin-import_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 8d6b3f06d2ca167dd08012b19ec8cabb
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.8.0/flow_v0.63.1
// flow-typed signature: a34852e190ad06fce65196b00d55f94c
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.9.0/flow_v0.67.1

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -58,6 +58,10 @@ declare module 'eslint-plugin-import/lib/core/staticRequire' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/docsUrl' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/ExportMap' {
declare module.exports: any;
}
Expand Down Expand Up @@ -90,6 +94,10 @@ declare module 'eslint-plugin-import/lib/rules/first' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/group-exports' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/imports-first' {
declare module.exports: any;
}
Expand Down Expand Up @@ -126,6 +134,10 @@ declare module 'eslint-plugin-import/lib/rules/no-commonjs' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/no-default-export' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/no-deprecated' {
declare module.exports: any;
}
Expand Down Expand Up @@ -174,6 +186,10 @@ declare module 'eslint-plugin-import/lib/rules/no-restricted-paths' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/no-self-import' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/no-unassigned-import' {
declare module.exports: any;
}
Expand All @@ -182,6 +198,10 @@ declare module 'eslint-plugin-import/lib/rules/no-unresolved' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/no-useless-path-segments' {
declare module.exports: any;
}

declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax' {
declare module.exports: any;
}
Expand Down Expand Up @@ -230,6 +250,9 @@ declare module 'eslint-plugin-import/lib/core/importType.js' {
declare module 'eslint-plugin-import/lib/core/staticRequire.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/core/staticRequire'>;
}
declare module 'eslint-plugin-import/lib/docsUrl.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/docsUrl'>;
}
declare module 'eslint-plugin-import/lib/ExportMap.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/ExportMap'>;
}
Expand All @@ -254,6 +277,9 @@ declare module 'eslint-plugin-import/lib/rules/extensions.js' {
declare module 'eslint-plugin-import/lib/rules/first.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/first'>;
}
declare module 'eslint-plugin-import/lib/rules/group-exports.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/group-exports'>;
}
declare module 'eslint-plugin-import/lib/rules/imports-first.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/imports-first'>;
}
Expand Down Expand Up @@ -281,6 +307,9 @@ declare module 'eslint-plugin-import/lib/rules/no-anonymous-default-export.js' {
declare module 'eslint-plugin-import/lib/rules/no-commonjs.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-commonjs'>;
}
declare module 'eslint-plugin-import/lib/rules/no-default-export.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-default-export'>;
}
declare module 'eslint-plugin-import/lib/rules/no-deprecated.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-deprecated'>;
}
Expand Down Expand Up @@ -317,12 +346,18 @@ declare module 'eslint-plugin-import/lib/rules/no-nodejs-modules.js' {
declare module 'eslint-plugin-import/lib/rules/no-restricted-paths.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-restricted-paths'>;
}
declare module 'eslint-plugin-import/lib/rules/no-self-import.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-self-import'>;
}
declare module 'eslint-plugin-import/lib/rules/no-unassigned-import.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unassigned-import'>;
}
declare module 'eslint-plugin-import/lib/rules/no-unresolved.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-unresolved'>;
}
declare module 'eslint-plugin-import/lib/rules/no-useless-path-segments.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-useless-path-segments'>;
}
declare module 'eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js' {
declare module.exports: $Exports<'eslint-plugin-import/lib/rules/no-webpack-loader-syntax'>;
}
Expand Down
Loading

0 comments on commit 496e990

Please sign in to comment.