@mint-ui/map 0.7.5-beta → 0.8.1-beta

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.
@@ -4,6 +4,7 @@ declare type AlignVertical = 'top' | 'bottom' | 'center';
4
4
  export interface MapControlWrapperProps {
5
5
  width?: string | number;
6
6
  height?: string | number;
7
+ zIndex?: number;
7
8
  positionHorizontal?: AlignHorizontal;
8
9
  positionVertical?: AlignVertical;
9
10
  disablePointerEvent?: boolean;
@@ -15,5 +16,5 @@ export interface MapControlWrapperProps {
15
16
  *
16
17
  * @returns {JSX.Element} JSX
17
18
  */
18
- export declare function MapControlWrapper({ width, height, positionHorizontal, positionVertical, disablePointerEvent, children }: PropsWithChildren<MapControlWrapperProps>): JSX.Element;
19
+ export declare function MapControlWrapper({ width, height, positionHorizontal, positionVertical, disablePointerEvent, zIndex, children }: PropsWithChildren<MapControlWrapperProps>): JSX.Element;
19
20
  export {};
@@ -30,12 +30,15 @@ function MapControlWrapper(_a) {
30
30
  _e = _a.positionVertical,
31
31
  positionVertical = _e === void 0 ? 'top' : _e,
32
32
  disablePointerEvent = _a.disablePointerEvent,
33
+ _f = _a.zIndex,
34
+ zIndex = _f === void 0 ? 101 : _f,
33
35
  children = _a.children;
34
36
  return React__default["default"].createElement("div", {
35
37
  className: cn('mint-map-control-wrapper-container'),
36
38
  style: {
37
39
  justifyContent: positionHorizontal === 'center' ? 'center' : positionHorizontal === 'right' ? 'flex-end' : 'flex-start',
38
- alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start'
40
+ alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start',
41
+ zIndex: zIndex
39
42
  }
40
43
  }, React__default["default"].createElement("div", {
41
44
  className: cn('mint-map-control-wrapper'),
@@ -23,7 +23,7 @@ function (_super) {
23
23
 
24
24
  _this.type = 'naver';
25
25
  _this.map = null;
26
- _this.scriptUrl = 'https://openapi.map.naver.com/openapi/v3/maps.js';
26
+ _this.scriptUrl = 'https://oapi.map.naver.com/openapi/v3/maps.js';
27
27
  _this.scriptModules = ['drawing']; // , 'geocoder' , 'panorama' , 'visualization']
28
28
 
29
29
  _this.mapEvent = new MapEventTypes.MapEvent();
package/dist/index.es.js CHANGED
@@ -1515,7 +1515,7 @@ function (_super) {
1515
1515
 
1516
1516
  _this.type = 'naver';
1517
1517
  _this.map = null;
1518
- _this.scriptUrl = 'https://openapi.map.naver.com/openapi/v3/maps.js';
1518
+ _this.scriptUrl = 'https://oapi.map.naver.com/openapi/v3/maps.js';
1519
1519
  _this.scriptModules = ['drawing']; // , 'geocoder' , 'panorama' , 'visualization']
1520
1520
 
1521
1521
  _this.mapEvent = new MapEvent();
@@ -5277,12 +5277,15 @@ function MapControlWrapper(_a) {
5277
5277
  _e = _a.positionVertical,
5278
5278
  positionVertical = _e === void 0 ? 'top' : _e,
5279
5279
  disablePointerEvent = _a.disablePointerEvent,
5280
+ _f = _a.zIndex,
5281
+ zIndex = _f === void 0 ? 101 : _f,
5280
5282
  children = _a.children;
5281
5283
  return React.createElement("div", {
5282
5284
  className: cn('mint-map-control-wrapper-container'),
5283
5285
  style: {
5284
5286
  justifyContent: positionHorizontal === 'center' ? 'center' : positionHorizontal === 'right' ? 'flex-end' : 'flex-start',
5285
- alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start'
5287
+ alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start',
5288
+ zIndex: zIndex
5286
5289
  }
5287
5290
  }, React.createElement("div", {
5288
5291
  className: cn('mint-map-control-wrapper'),
package/dist/index.umd.js CHANGED
@@ -1519,7 +1519,7 @@
1519
1519
 
1520
1520
  _this.type = 'naver';
1521
1521
  _this.map = null;
1522
- _this.scriptUrl = 'https://openapi.map.naver.com/openapi/v3/maps.js';
1522
+ _this.scriptUrl = 'https://oapi.map.naver.com/openapi/v3/maps.js';
1523
1523
  _this.scriptModules = ['drawing']; // , 'geocoder' , 'panorama' , 'visualization']
1524
1524
 
1525
1525
  _this.mapEvent = new MapEvent();
@@ -5281,12 +5281,15 @@
5281
5281
  _e = _a.positionVertical,
5282
5282
  positionVertical = _e === void 0 ? 'top' : _e,
5283
5283
  disablePointerEvent = _a.disablePointerEvent,
5284
+ _f = _a.zIndex,
5285
+ zIndex = _f === void 0 ? 101 : _f,
5284
5286
  children = _a.children;
5285
5287
  return React__default["default"].createElement("div", {
5286
5288
  className: cn('mint-map-control-wrapper-container'),
5287
5289
  style: {
5288
5290
  justifyContent: positionHorizontal === 'center' ? 'center' : positionHorizontal === 'right' ? 'flex-end' : 'flex-start',
5289
- alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start'
5291
+ alignItems: positionVertical === 'center' ? 'center' : positionVertical === 'bottom' ? 'flex-end' : 'flex-start',
5292
+ zIndex: zIndex
5290
5293
  }
5291
5294
  }, React__default["default"].createElement("div", {
5292
5295
  className: cn('mint-map-control-wrapper'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mint-ui/map",
3
- "version": "0.7.5-beta",
3
+ "version": "0.8.1-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "browser": "./dist/index.umd.js",