@antv/l7-component 2.21.2 → 2.21.4-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 AntV team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,4 +1,4 @@
1
1
  export { ButtonControl, type IButtonControlOption } from './buttonControl';
2
2
  export { Control, PositionType, type IControlOption } from './control';
3
3
  export { PopperControl, type IPopperControlOption } from './popperControl';
4
- export { SelectControl, type ControlOptionItem, type ISelectControlOption, } from './selectControl';
4
+ export { SelectControl, type ControlOptionItem, type ISelectControlOption } from './selectControl';
@@ -1,7 +1,11 @@
1
1
  @import 'variables.less';
2
2
 
3
3
  .l7-control-container {
4
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
4
+ font:
5
+ 12px/1.5 'Helvetica Neue',
6
+ Arial,
7
+ Helvetica,
8
+ sans-serif;
5
9
 
6
10
  .l7-control {
7
11
  position: relative;
package/es/css/l7.less CHANGED
@@ -27,7 +27,11 @@
27
27
  height: 30px;
28
28
  margin-top: 5px;
29
29
  margin-left: 5px;
30
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
30
+ font:
31
+ 12px 'Helvetica Neue',
32
+ Arial,
33
+ Helvetica,
34
+ sans-serif;
31
35
  text-align: center;
32
36
  background-color: rgba(110, 204, 57, 0.6);
33
37
  border-radius: 15px;
package/es/index.d.ts CHANGED
@@ -3,13 +3,13 @@ import MarkerLayer from './marker-layer';
3
3
  import './assets/iconfont/iconfont.js';
4
4
  import './css/index.css';
5
5
  export * from './control/baseControl';
6
- export { ExportImage, type IExportImageControlOption, } from './control/exportImage';
7
- export { Fullscreen, type IFullscreenControlOption, } from './control/fullscreen';
6
+ export { ExportImage, type IExportImageControlOption } from './control/exportImage';
7
+ export { Fullscreen, type IFullscreenControlOption } from './control/fullscreen';
8
8
  export { GeoLocate, type IGeoLocateOption } from './control/geoLocate';
9
9
  export { LayerSwitch, type ILayerSwitchOption } from './control/layerSwitch';
10
10
  export { Logo, type ILogoControlOption } from './control/logo';
11
11
  export { MapTheme } from './control/mapTheme';
12
- export { MouseLocation, type IMouseLocationControlOption, } from './control/mouseLocation';
12
+ export { MouseLocation, type IMouseLocationControlOption } from './control/mouseLocation';
13
13
  export { Scale, type IScaleControlOption } from './control/scale';
14
14
  export { Swipe, type ISwipeControlOption } from './control/swipe';
15
15
  export { Zoom, type IZoomControlOption } from './control/zoom';
package/es/index.js CHANGED
@@ -57,7 +57,11 @@ loadStyles(`.l7-marker-container {
57
57
  height: 30px;
58
58
  margin-top: 5px;
59
59
  margin-left: 5px;
60
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
60
+ font:
61
+ 12px 'Helvetica Neue',
62
+ Arial,
63
+ Helvetica,
64
+ sans-serif;
61
65
  text-align: center;
62
66
  background-color: rgba(110, 204, 57, 0.6);
63
67
  border-radius: 15px;
@@ -87,7 +91,11 @@ loadStyles(`.l7-marker-container {
87
91
  box-sizing: border-box;
88
92
  }
89
93
  .l7-control-container {
90
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
94
+ font:
95
+ 12px/1.5 'Helvetica Neue',
96
+ Arial,
97
+ Helvetica,
98
+ sans-serif;
91
99
  }
92
100
  .l7-control-container .l7-control {
93
101
  position: relative;
@@ -1,4 +1,4 @@
1
1
  export { ButtonControl, type IButtonControlOption } from './buttonControl';
2
2
  export { Control, PositionType, type IControlOption } from './control';
3
3
  export { PopperControl, type IPopperControlOption } from './popperControl';
4
- export { SelectControl, type ControlOptionItem, type ISelectControlOption, } from './selectControl';
4
+ export { SelectControl, type ControlOptionItem, type ISelectControlOption } from './selectControl';
@@ -1,7 +1,11 @@
1
1
  @import 'variables.less';
2
2
 
3
3
  .l7-control-container {
4
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
4
+ font:
5
+ 12px/1.5 'Helvetica Neue',
6
+ Arial,
7
+ Helvetica,
8
+ sans-serif;
5
9
 
6
10
  .l7-control {
7
11
  position: relative;
package/lib/css/l7.less CHANGED
@@ -27,7 +27,11 @@
27
27
  height: 30px;
28
28
  margin-top: 5px;
29
29
  margin-left: 5px;
30
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
30
+ font:
31
+ 12px 'Helvetica Neue',
32
+ Arial,
33
+ Helvetica,
34
+ sans-serif;
31
35
  text-align: center;
32
36
  background-color: rgba(110, 204, 57, 0.6);
33
37
  border-radius: 15px;
package/lib/index.d.ts CHANGED
@@ -3,13 +3,13 @@ import MarkerLayer from './marker-layer';
3
3
  import './assets/iconfont/iconfont.js';
4
4
  import './css/index.css';
5
5
  export * from './control/baseControl';
6
- export { ExportImage, type IExportImageControlOption, } from './control/exportImage';
7
- export { Fullscreen, type IFullscreenControlOption, } from './control/fullscreen';
6
+ export { ExportImage, type IExportImageControlOption } from './control/exportImage';
7
+ export { Fullscreen, type IFullscreenControlOption } from './control/fullscreen';
8
8
  export { GeoLocate, type IGeoLocateOption } from './control/geoLocate';
9
9
  export { LayerSwitch, type ILayerSwitchOption } from './control/layerSwitch';
10
10
  export { Logo, type ILogoControlOption } from './control/logo';
11
11
  export { MapTheme } from './control/mapTheme';
12
- export { MouseLocation, type IMouseLocationControlOption, } from './control/mouseLocation';
12
+ export { MouseLocation, type IMouseLocationControlOption } from './control/mouseLocation';
13
13
  export { Scale, type IScaleControlOption } from './control/scale';
14
14
  export { Swipe, type ISwipeControlOption } from './control/swipe';
15
15
  export { Zoom, type IZoomControlOption } from './control/zoom';
package/lib/index.js CHANGED
@@ -199,7 +199,11 @@ loadStyles(`.l7-marker-container {
199
199
  height: 30px;
200
200
  margin-top: 5px;
201
201
  margin-left: 5px;
202
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
202
+ font:
203
+ 12px 'Helvetica Neue',
204
+ Arial,
205
+ Helvetica,
206
+ sans-serif;
203
207
  text-align: center;
204
208
  background-color: rgba(110, 204, 57, 0.6);
205
209
  border-radius: 15px;
@@ -229,7 +233,11 @@ loadStyles(`.l7-marker-container {
229
233
  box-sizing: border-box;
230
234
  }
231
235
  .l7-control-container {
232
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
236
+ font:
237
+ 12px/1.5 'Helvetica Neue',
238
+ Arial,
239
+ Helvetica,
240
+ sans-serif;
233
241
  }
234
242
  .l7-control-container .l7-control {
235
243
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.21.2",
3
+ "version": "2.21.4-beta.0",
4
4
  "description": "Component for L7",
5
5
  "license": "MIT",
6
6
  "author": "https://github.com/orgs/antvis/people",
@@ -12,30 +12,32 @@
12
12
  "lib",
13
13
  "es"
14
14
  ],
15
- "scripts": {
16
- "dev": "father dev",
17
- "build": "npm run clean && father build",
18
- "check-deps": "father doctor",
19
- "lint": "eslint src __tests__",
20
- "clean": "rimraf dist es lib",
21
- "less": "lessc src/css/index.less src/css/index.css",
22
- "sync": "tnpm sync"
23
- },
24
15
  "dependencies": {
25
- "@antv/l7-core": "^2.21.2",
26
- "@antv/l7-layers": "^2.21.2",
27
- "@antv/l7-utils": "^2.21.2",
28
16
  "@babel/runtime": "^7.7.7",
29
17
  "eventemitter3": "^4.0.0",
30
- "supercluster": "^7.0.0"
18
+ "supercluster": "^7.0.0",
19
+ "@antv/l7-core": "2.21.4-beta.0",
20
+ "@antv/l7-layers": "2.21.4-beta.0",
21
+ "@antv/l7-utils": "2.21.4-beta.0"
31
22
  },
32
23
  "devDependencies": {
33
- "@antv/l7-test-utils": "^2.21.2",
34
24
  "gcoord": "^0.3.2",
35
25
  "less": "^4.1.3"
36
26
  },
27
+ "peerDependencies": {
28
+ "@antv/l7-test-utils": "2.21.4-beta.0"
29
+ },
37
30
  "publishConfig": {
38
- "access": "public"
31
+ "access": "public",
32
+ "registry": "https://registry.npmjs.org"
39
33
  },
40
- "gitHead": "5c2d29d2ac1d631bdecf741cb1725316c0d6f9b9"
41
- }
34
+ "repository": "git@github.com:antvis/L7.git",
35
+ "scripts": {
36
+ "dev": "father dev",
37
+ "build": "npm run clean && father build",
38
+ "check-deps": "father doctor",
39
+ "lint": "eslint src __tests__",
40
+ "clean": "rimraf dist es lib",
41
+ "less": "lessc src/css/index.less src/css/index.css"
42
+ }
43
+ }