Skip to content

Commit 4c53ecd

Browse files
committed
fix: implemented review ideas
1 parent 48a45f4 commit 4c53ecd

File tree

4 files changed

+46
-49
lines changed

4 files changed

+46
-49
lines changed

CHANGELOG.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
98
## [Unreleased]
109

10+
### Added
11+
12+
- Injection keys and exported values from function folder are now accessible through the lib.
13+
1114
### Fixed
1215

1316
- Playground now works again after upgrade to TypeScript.
1417

18+
### Changed
19+
20+
- **Breaking:** `src/` folder is no longer included in the build. Please use the new exported keys if you wanna access the injection keys or any function.
1521

1622
## [0.9.0] - 2023-03-12
1723

@@ -25,7 +31,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2531
- Converted codebase to TypeScript, finally closing
2632
[#1 Typescript support](https://github.com/vue-leaflet/vue-leaflet/issues/1).
2733

28-
2934
## [0.8.4] - 2023-02-20
3035

3136
### Fixed
@@ -36,7 +41,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3641
[1bb4a71](https://github.com/vue-leaflet/vue-leaflet/commit/1bb4a71fa1201f6cf392e85a707a52bd8e916b9a#diff-c062e5b98deef6d3ca2604206fe64f4ac3a74887e252285b8559ee1e08e1b932R132-R135),
3742
resolving [#260 Geoman integration with Vue3 Leaflet](https://github.com/vue-leaflet/vue-leaflet/issues/260).
3843

39-
4044
## [0.8.3] - 2023-02-12
4145

4246
### Fixed
@@ -57,7 +61,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5761

5862
- Ability to style GeoJSON layers through `:options-style` prop.
5963

60-
6164
## [0.8.2] - 2023-02-05
6265

6366
### Fixed
@@ -76,14 +79,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7679
- `LTileLayer` now accepts an array of strings for its `subdomains` property, as well as a single string.
7780
- `LWmsTileLayer` now uses the correct Leaflet option name `uppercase` instead of the previous `upperCase`.
7881

79-
8082
## [0.8.1] - 2023-01-29
8183

8284
### Fixed
8385

8486
- Resolved [#265 TypeError: this.getPane() is undefined](https://github.com/vue-leaflet/vue-leaflet/issues/265).
8587

86-
8788
## [0.8.0] - 2023-01-26
8889

8990
### Added
@@ -101,7 +102,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
101102
- **Breaking:** `LWmsTileLayer` no longer has its own `baseUrl` property in addition to the `url` property it inherits
102103
from `LTileLayer`.
103104

104-
105105
## [0.7.0] - 2022-12-08
106106

107107
### Breaking changes
@@ -121,21 +121,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
121121
- Code formatting in some playground examples.
122122
- Moved `@types/leaflet` to `devDependencies`.
123123

124-
125124
## Earlier versions
126125

127126
The following releases were created before the addition of this changelog:
128127

129-
* [0.6.1], 2021-06-17
130-
* [0.6.0], 2021-03-01
131-
* [0.5.0], 2020-11-29
132-
* [0.4.2], 2020-11-16
133-
* [0.4.1], 2020-11-16
134-
* [0.4.0], 2020-11-13
135-
* [0.3.0], 2020-10-31
136-
* [0.2.0], 2020-10-30
137-
* [0.1.2], 2020-10-09
138-
128+
- [0.6.1], 2021-06-17
129+
- [0.6.0], 2021-03-01
130+
- [0.5.0], 2020-11-29
131+
- [0.4.2], 2020-11-16
132+
- [0.4.1], 2020-11-16
133+
- [0.4.0], 2020-11-13
134+
- [0.3.0], 2020-10-31
135+
- [0.2.0], 2020-10-30
136+
- [0.1.2], 2020-10-09
139137

140138
[unreleased]: https://github.com/vue-leaflet/vue-leaflet/compare/v0.9.0...HEAD
141139
[0.9.0]: https://github.com/vue-leaflet/vue-leaflet/compare/v0.8.4...v0.9.0
@@ -153,4 +151,4 @@ The following releases were created before the addition of this changelog:
153151
[0.4.0]: https://github.com/vue-leaflet/vue-leaflet/compare/v0.3.0...v0.4.0
154152
[0.3.0]: https://github.com/vue-leaflet/vue-leaflet/compare/v0.2.0...v0.3.0
155153
[0.2.0]: https://github.com/vue-leaflet/vue-leaflet/compare/v0.1.2...v0.2.0
156-
[0.1.2]: https://github.com/vue-leaflet/vue-leaflet/releases/tag/v0.1.2
154+
[0.1.2]: https://github.com/vue-leaflet/vue-leaflet/releases/tag/v0.1.2

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"unpkg": "dist/vue-leaflet.umd.js",
1010
"module": "dist/vue-leaflet.es.js",
1111
"files": [
12-
"dist/",
13-
"src/"
12+
"dist/"
1413
],
1514
"types": "./dist/src/lib.d.ts",
1615
"repository": {

src/functions/index.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
export * as circle from "./circle";
2-
export * as circleMarker from "./circleMarker";
3-
export * as component from "./component";
4-
export * as control from "./control";
5-
export * as controlAttribution from "./controlAttribution";
6-
export * as controlLayers from "./controlLayers";
7-
export * as controlScale from "./controlScale";
8-
export * as controlZoom from "./controlZoom";
9-
export * as controlGroup from "./featureGroup";
10-
export * as geoJSON from "./geoJSON";
11-
export * as gridLayer from "./gridLayer";
12-
export * as icon from "./icon";
13-
export * as imageOverlay from "./imageOverlay";
14-
export * as interactiveLayer from "./interactiveLayer";
15-
export * as layer from "./layer";
16-
export * as layerGroup from "./layerGroup";
17-
export * as marker from "./marker";
18-
export * as path from "./path";
19-
export * as polygon from "./polygon";
20-
export * as polyline from "./polyline";
21-
export * as popper from "./popper";
22-
export * as popup from "./popup";
23-
export * as rectangle from "./rectangle";
24-
export * as tileLayer from "./tileLayer";
25-
export * as tooltip from "./tooltip";
26-
export * as wmsTileLayer from "./wmsTileLayer";
1+
export * as Circle from "./circle";
2+
export * as CircleMarker from "./circleMarker";
3+
export * as Component from "./component";
4+
export * as Control from "./control";
5+
export * as ControlAttribution from "./controlAttribution";
6+
export * as ControlLayers from "./controlLayers";
7+
export * as ControlScale from "./controlScale";
8+
export * as ControlZoom from "./controlZoom";
9+
export * as FeatureGroup from "./featureGroup";
10+
export * as GeoJSON from "./geoJSON";
11+
export * as GridLayer from "./gridLayer";
12+
export * as Icon from "./icon";
13+
export * as ImageOverlay from "./imageOverlay";
14+
export * as InteractiveLayer from "./interactiveLayer";
15+
export * as Layer from "./layer";
16+
export * as LayerGroup from "./layerGroup";
17+
export * as Marker from "./marker";
18+
export * as Path from "./path";
19+
export * as Polygon from "./polygon";
20+
export * as Polyline from "./polyline";
21+
export * as Popper from "./popper";
22+
export * as Popup from "./popup";
23+
export * as Rectangle from "./rectangle";
24+
export * as TileLayer from "./tileLayer";
25+
export * as Tooltip from "./tooltip";
26+
export * as WmsTileLayer from "./wmsTileLayer";

src/lib.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export * from "./components";
2-
export * as injectionKeys from "./types/injectionKeys"
3-
export * as functions from "./functions"
2+
export * as InjectionKeys from "./types/injectionKeys";
3+
export * as Functions from "./functions";

0 commit comments

Comments
 (0)