Socket
Socket
Sign inDemoInstall

@nextgis/control-container

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextgis/control-container - npm Package Compare versions

Comparing version 0.32.0 to 1.0.0-alpha.0

index.js

63

CHANGELOG.md

@@ -6,8 +6,19 @@ # Change Log

# [0.32.0](https://github.com/nextgis/nextgisweb_frontend/compare/v0.31.0...v0.32.0) (2020-06-03)
# [1.0.0-alpha.0](https://github.com/nextgis/nextgis_frontend/compare/v0.32.0...v1.0.0-alpha.0) (2020-07-24)
### Bug Fixes
* **control-container:** style url ([326f837](https://github.com/nextgis/nextgis_frontend/commit/326f83755e1adfe2e5ff673f50087b54297f0197))
# [0.32.0](https://github.com/nextgis/nextgis_frontend/compare/v0.31.0...v0.32.0) (2020-06-03)
### Features
* **webmap:** zoomIn and zoomOut MapAdapter optional methods ([70b807f](https://github.com/nextgis/nextgisweb_frontend/commit/70b807fd1d157b5505a3d815f24a02fbb1fff6a6))
* **webmap:** zoomIn and zoomOut MapAdapter optional methods ([70b807f](https://github.com/nextgis/nextgis_frontend/commit/70b807fd1d157b5505a3d815f24a02fbb1fff6a6))

@@ -18,3 +29,3 @@

# [0.31.0](https://github.com/nextgis/nextgisweb_frontend/compare/v0.30.2...v0.31.0) (2020-05-13)
# [0.31.0](https://github.com/nextgis/nextgis_frontend/compare/v0.30.2...v0.31.0) (2020-05-13)

@@ -24,3 +35,3 @@

* **ngw-kit:** create async adapter from parent resource ([808572b](https://github.com/nextgis/nextgisweb_frontend/commit/808572b5aff6b04783cd7e9edd078e2ea5404dd2))
* **ngw-kit:** create async adapter from parent resource ([808572b](https://github.com/nextgis/nextgis_frontend/commit/808572b5aff6b04783cd7e9edd078e2ea5404dd2))

@@ -31,3 +42,3 @@

## [0.30.2](https://github.com/nextgis/nextgisweb_frontend/compare/v0.30.1...v0.30.2) (2020-04-30)
## [0.30.2](https://github.com/nextgis/nextgis_frontend/compare/v0.30.1...v0.30.2) (2020-04-30)

@@ -40,3 +51,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.30.1](https://github.com/nextgis/nextgisweb_frontend/compare/v0.30.0...v0.30.1) (2020-04-30)
## [0.30.1](https://github.com/nextgis/nextgis_frontend/compare/v0.30.0...v0.30.1) (2020-04-30)

@@ -49,3 +60,3 @@ **Note:** Version bump only for package @nextgis/control-container

# [0.30.0](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.11...v0.30.0) (2020-04-23)
# [0.30.0](https://github.com/nextgis/nextgis_frontend/compare/v0.29.11...v0.30.0) (2020-04-23)

@@ -58,3 +69,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.29.11](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.10...v0.29.11) (2020-04-22)
## [0.29.11](https://github.com/nextgis/nextgis_frontend/compare/v0.29.10...v0.29.11) (2020-04-22)

@@ -64,3 +75,3 @@

* **cancelable-promise:** throw CancelError instead of onCancel callback ([7b7ef11](https://github.com/nextgis/nextgisweb_frontend/commit/7b7ef112db2ead4fc02bac14eb61534d570b8a65))
* **cancelable-promise:** throw CancelError instead of onCancel callback ([7b7ef11](https://github.com/nextgis/nextgis_frontend/commit/7b7ef112db2ead4fc02bac14eb61534d570b8a65))

@@ -76,3 +87,3 @@

## [0.29.5](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.4...v0.29.5) (2020-04-15)
## [0.29.5](https://github.com/nextgis/nextgis_frontend/compare/v0.29.4...v0.29.5) (2020-04-15)

@@ -85,3 +96,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.29.4](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.3...v0.29.4) (2020-04-10)
## [0.29.4](https://github.com/nextgis/nextgis_frontend/compare/v0.29.3...v0.29.4) (2020-04-10)

@@ -94,3 +105,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.29.3](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.2...v0.29.3) (2020-04-02)
## [0.29.3](https://github.com/nextgis/nextgis_frontend/compare/v0.29.2...v0.29.3) (2020-04-02)

@@ -103,3 +114,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.29.2](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.1...v0.29.2) (2020-04-01)
## [0.29.2](https://github.com/nextgis/nextgis_frontend/compare/v0.29.1...v0.29.2) (2020-04-01)

@@ -112,3 +123,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.29.1](https://github.com/nextgis/nextgisweb_frontend/compare/v0.29.0...v0.29.1) (2020-03-30)
## [0.29.1](https://github.com/nextgis/nextgis_frontend/compare/v0.29.0...v0.29.1) (2020-03-30)

@@ -118,3 +129,3 @@

* **build:** control-container extract css ([05d96c8](https://github.com/nextgis/nextgisweb_frontend/commit/05d96c8a4f4861a666244139a5903b2deb34194b))
* **build:** control-container extract css ([05d96c8](https://github.com/nextgis/nextgis_frontend/commit/05d96c8a4f4861a666244139a5903b2deb34194b))

@@ -125,3 +136,3 @@

# [0.29.0](https://github.com/nextgis/nextgisweb_frontend/compare/v0.28.3...v0.29.0) (2020-03-22)
# [0.29.0](https://github.com/nextgis/nextgis_frontend/compare/v0.28.3...v0.29.0) (2020-03-22)

@@ -131,3 +142,3 @@

* build; eslint ([97e3b07](https://github.com/nextgis/nextgisweb_frontend/commit/97e3b07da07b57373e6861ab6e2d6f9b60a6ec2c))
* build; eslint ([97e3b07](https://github.com/nextgis/nextgis_frontend/commit/97e3b07da07b57373e6861ab6e2d6f9b60a6ec2c))

@@ -143,3 +154,3 @@

## [0.28.3](https://github.com/nextgis/nextgisweb_frontend/compare/v0.28.2...v0.28.3) (2020-03-19)
## [0.28.3](https://github.com/nextgis/nextgis_frontend/compare/v0.28.2...v0.28.3) (2020-03-19)

@@ -152,3 +163,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.28.2](https://github.com/nextgis/nextgisweb_frontend/compare/v0.28.1...v0.28.2) (2020-03-12)
## [0.28.2](https://github.com/nextgis/nextgis_frontend/compare/v0.28.1...v0.28.2) (2020-03-12)

@@ -161,3 +172,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.28.1](https://github.com/nextgis/nextgisweb_frontend/compare/v0.28.0...v0.28.1) (2020-03-12)
## [0.28.1](https://github.com/nextgis/nextgis_frontend/compare/v0.28.0...v0.28.1) (2020-03-12)

@@ -170,3 +181,3 @@ **Note:** Version bump only for package @nextgis/control-container

# [0.28.0](https://github.com/nextgis/nextgisweb_frontend/compare/v0.27.1...v0.28.0) (2020-03-12)
# [0.28.0](https://github.com/nextgis/nextgis_frontend/compare/v0.27.1...v0.28.0) (2020-03-12)

@@ -179,3 +190,3 @@ **Note:** Version bump only for package @nextgis/control-container

## [0.27.1](https://github.com/nextgis/nextgisweb_frontend/compare/v0.27.0...v0.27.1) (2020-03-10)
## [0.27.1](https://github.com/nextgis/nextgis_frontend/compare/v0.27.0...v0.27.1) (2020-03-10)

@@ -185,5 +196,5 @@

* add library cancelable-promise ([5227983](https://github.com/nextgis/nextgisweb_frontend/commit/5227983e03b0a5aa5807002f63914fa2d23154b0))
* add new library `ControlContainer` ([e68afeb](https://github.com/nextgis/nextgisweb_frontend/commit/e68afeb5efb1e40bf20df2effa805fe80c437478))
* new @nextgis/dom library ([82a645d](https://github.com/nextgis/nextgisweb_frontend/commit/82a645d213d0b9ef1bb3c443dc28a94866c2884b))
* **control:** add universal zoom control ([1ffc089](https://github.com/nextgis/nextgisweb_frontend/commit/1ffc089942f1709f82cec8398d301503819be718))
* add library cancelable-promise ([5227983](https://github.com/nextgis/nextgis_frontend/commit/5227983e03b0a5aa5807002f63914fa2d23154b0))
* add new library `ControlContainer` ([e68afeb](https://github.com/nextgis/nextgis_frontend/commit/e68afeb5efb1e40bf20df2effa805fe80c437478))
* new @nextgis/dom library ([82a645d](https://github.com/nextgis/nextgis_frontend/commit/82a645d213d0b9ef1bb3c443dc28a94866c2884b))
* **control:** add universal zoom control ([1ffc089](https://github.com/nextgis/nextgis_frontend/commit/1ffc089942f1709f82cec8398d301503819be718))

@@ -1,3 +0,28 @@

import { ControlContainer } from './ControlContainer';
export * from './interfaces';
export default ControlContainer;
import { ControlPositions } from '@nextgis/webmap';
import { MapAdapter } from '@nextgis/webmap';
import { MapControl } from '@nextgis/webmap';
/* Excluded from this release type: ControlContainer */
export declare interface ControlContainerOptions {
target?: string;
classPrefix?: string;
addClass?: string;
map?: MapAdapter;
}
declare class ZoomControl implements MapControl {
private map?;
private _container?;
private __onZoomInBtnClick?;
private __onZoomOutBtnClick?;
onAdd(map: MapAdapter): HTMLElement;
onRemove(): void;
zoomIn(): void;
zoomOut(): void;
private _createContent;
private _onZoomInBtnClick;
private _onZoomOutBtnClick;
}
export { }
{
"name": "@nextgis/control-container",
"version": "0.32.0",
"version": "1.0.0-alpha.0",
"description": "Placing control elements in the corners of the map container",
"main": "lib/control-container.js",
"unpkg": "lib/control-container.js",
"main": "index.js",
"module": "lib/control-container.esm-bundler.js",
"unpkg": "lib/control-container.global.prod.js",
"jsdelivr": "lib/control-container.global.prod.js",
"types": "lib/index.d.ts",
"dependencies": {
"@nextgis/dom": "^0.32.0",
"@nextgis/utils": "^0.32.0",
"@nextgis/webmap": "^0.32.0",
"@nextgis/dom": "^1.0.0-alpha.0",
"@nextgis/utils": "^1.0.0-alpha.0",
"@nextgis/webmap": "^1.0.0-alpha.0",
"events": "^3.1.0"
},
"devDependencies": {
"@nextgis/build-tools": "^0.32.0",
"@nextgis/build-tools": "^1.0.0-alpha.0",
"install": "^0.13.0",
"mini-css-extract-plugin": "^0.9.0",
"npm": "^6.14.5"
"npm": "^6.14.7"
},
"buildOptions": {
"name": "ControlContainer",
"formats": [
"esm-bundler",
"esm-browser",
"global"
]
},
"scripts": {
"clean": "rimraf ./lib",
"dev": "npm run clean && webpack --config ./webpack.config.js --progress",
"build": "npm run dev -- --mode=production",
"prod": "npm run build",
"dev": "node ../build-tools/lib/build.js",
"prod": "npm run dev -- --release",
"lint": "eslint ./src/**/*.ts --fix --c ../../.eslintrc",

@@ -33,20 +42,16 @@ "watch": "npm run dev -- --watch"

"author": "NextGIS",
"directories": {
"lib": "lib"
},
"files": [
"index.js",
"lib"
],
"license": "LGPL-3.0",
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"homepage": "https://github.com/nextgis/nextgis_frontend/tree/master/packages/control-container#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/nextgis/nextgisweb_frontend.git"
"url": "git+https://github.com/nextgis/nextgis_frontend.git"
},
"bugs": {
"url": "https://github.com/nextgis/nextgisweb_frontend/issues"
"url": "https://github.com/nextgis/nextgis_frontend/issues"
},
"gitHead": "1aad86f16ee21b2ea87a5bfce98ecf9dad74e01f"
"gitHead": "ef19464a2682daf2ce99a1a41996eb68f4426a41"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc