@antv/l7-component 2.25.10 → 2.28.11

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.
@@ -5,6 +5,8 @@ export declare enum anchorType {
5
5
  'TOP-RIGHT' = "top-right",
6
6
  'BOTTOM' = "bottom",
7
7
  'BOTTOM-LEFT' = "bottom-left",
8
+ 'BOTTOM-RIGHT' = "bottom-right",
9
+ 'BOTTOM-CENTER' = "bottom-center",
8
10
  'LEFT' = "left",
9
11
  'RIGHT' = "right"
10
12
  }
@@ -16,6 +18,7 @@ export declare const anchorTranslate: {
16
18
  bottom: string;
17
19
  'bottom-left': string;
18
20
  'bottom-right': string;
21
+ 'bottom-center': string;
19
22
  left: string;
20
23
  right: string;
21
24
  };
@@ -5,6 +5,8 @@ export let anchorType = /*#__PURE__*/function (anchorType) {
5
5
  anchorType["TOP-RIGHT"] = "top-right";
6
6
  anchorType["BOTTOM"] = "bottom";
7
7
  anchorType["BOTTOM-LEFT"] = "bottom-left";
8
+ anchorType["BOTTOM-RIGHT"] = "bottom-right";
9
+ anchorType["BOTTOM-CENTER"] = "bottom-center";
8
10
  anchorType["LEFT"] = "left";
9
11
  anchorType["RIGHT"] = "right";
10
12
  return anchorType;
@@ -17,6 +19,7 @@ export const anchorTranslate = {
17
19
  bottom: 'translate(-50%,-100%)',
18
20
  'bottom-left': 'translate(0,-100%)',
19
21
  'bottom-right': 'translate(-100%,-100%)',
22
+ 'bottom-center': 'translate(-50%,-100%)',
20
23
  left: 'translate(0,-50%)',
21
24
  right: 'translate(-100%,-50%)'
22
25
  };
@@ -5,6 +5,8 @@ export declare enum anchorType {
5
5
  'TOP-RIGHT' = "top-right",
6
6
  'BOTTOM' = "bottom",
7
7
  'BOTTOM-LEFT' = "bottom-left",
8
+ 'BOTTOM-RIGHT' = "bottom-right",
9
+ 'BOTTOM-CENTER' = "bottom-center",
8
10
  'LEFT' = "left",
9
11
  'RIGHT' = "right"
10
12
  }
@@ -16,6 +18,7 @@ export declare const anchorTranslate: {
16
18
  bottom: string;
17
19
  'bottom-left': string;
18
20
  'bottom-right': string;
21
+ 'bottom-center': string;
19
22
  left: string;
20
23
  right: string;
21
24
  };
@@ -12,6 +12,8 @@ let anchorType = exports.anchorType = /*#__PURE__*/function (anchorType) {
12
12
  anchorType["TOP-RIGHT"] = "top-right";
13
13
  anchorType["BOTTOM"] = "bottom";
14
14
  anchorType["BOTTOM-LEFT"] = "bottom-left";
15
+ anchorType["BOTTOM-RIGHT"] = "bottom-right";
16
+ anchorType["BOTTOM-CENTER"] = "bottom-center";
15
17
  anchorType["LEFT"] = "left";
16
18
  anchorType["RIGHT"] = "right";
17
19
  return anchorType;
@@ -24,6 +26,7 @@ const anchorTranslate = exports.anchorTranslate = {
24
26
  bottom: 'translate(-50%,-100%)',
25
27
  'bottom-left': 'translate(0,-100%)',
26
28
  'bottom-right': 'translate(-100%,-100%)',
29
+ 'bottom-center': 'translate(-50%,-100%)',
27
30
  left: 'translate(0,-50%)',
28
31
  right: 'translate(-100%,-50%)'
29
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.25.10",
3
+ "version": "2.28.11",
4
4
  "description": "Component for L7",
5
5
  "license": "MIT",
6
6
  "author": "https://github.com/orgs/antvis/people",
@@ -21,13 +21,13 @@
21
21
  "@babel/runtime": "^7.7.7",
22
22
  "eventemitter3": "^4.0.0",
23
23
  "supercluster": "^7.0.0",
24
- "@antv/l7-layers": "2.25.10",
25
- "@antv/l7-core": "2.25.10",
26
- "@antv/l7-utils": "2.25.10"
24
+ "@antv/l7-core": "2.28.11",
25
+ "@antv/l7-layers": "2.28.11",
26
+ "@antv/l7-utils": "2.28.11"
27
27
  },
28
28
  "devDependencies": {
29
29
  "less": "^4.1.3",
30
- "@antv/l7-test-utils": "^2.25.10"
30
+ "@antv/l7-test-utils": "^2.28.11"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public",