@vaadin/map 23.1.0-alpha3 → 23.1.0-beta2

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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@vaadin/map",
3
- "version": "23.1.0-alpha3",
3
+ "version": "23.1.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "description": "vaadin-map",
8
8
  "license": "https://raw.githubusercontent.com/vaadin/web-components/master/packages/map/LICENSE",
9
+ "cvdlName": "vaadin-map",
9
10
  "repository": {
10
11
  "type": "git",
11
12
  "url": "https://github.com/vaadin/web-components.git",
@@ -35,9 +36,9 @@
35
36
  ],
36
37
  "dependencies": {
37
38
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/component-base": "23.1.0-alpha3",
39
+ "@vaadin/component-base": "23.1.0-beta2",
39
40
  "@vaadin/vaadin-license-checker": "^2.1.0",
40
- "@vaadin/vaadin-themable-mixin": "23.1.0-alpha3",
41
+ "@vaadin/vaadin-themable-mixin": "23.1.0-beta2",
41
42
  "ol": "6.13.0"
42
43
  },
43
44
  "devDependencies": {
@@ -45,5 +46,5 @@
45
46
  "@vaadin/testing-helpers": "^0.3.2",
46
47
  "sinon": "^13.0.2"
47
48
  },
48
- "gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
49
+ "gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
49
50
  }
package/src/vaadin-map.js CHANGED
@@ -376,6 +376,10 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
376
376
  return 'vaadin-map';
377
377
  }
378
378
 
379
+ static get cvdlName() {
380
+ return 'vaadin-map';
381
+ }
382
+
379
383
  /** @protected */
380
384
  static _finalizeClass() {
381
385
  super._finalizeClass();
@@ -409,11 +413,11 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
409
413
  // correctly display icons through pseudo-element
410
414
  controls: defaultControls({
411
415
  rotate: false,
412
- zoomOptions: { zoomInLabel: '', zoomOutLabel: '' }
416
+ zoomOptions: { zoomInLabel: '', zoomOutLabel: '' },
413
417
  }),
414
418
  // Override default interactions to allow mouse-wheel zoom + drag-pan when not focused
415
419
  interactions: defaultInteractions({ onFocusOnly: false }),
416
- target: this._mapTarget
420
+ target: this._mapTarget,
417
421
  };
418
422
  this._configuration = new OpenLayersMap(options);
419
423
  }
@@ -472,7 +476,7 @@ if (isEnabled()) {
472
476
  customElements.define(Map.is, Map);
473
477
  } else {
474
478
  console.warn(
475
- 'WARNING: The map component is currently an experimental feature and needs to be explicitly enabled. To enable the component, `import "@vaadin/map/enable.js"` *before* importing the map module itself.'
479
+ 'WARNING: The map component is currently an experimental feature and needs to be explicitly enabled. To enable the component, `import "@vaadin/map/enable.js"` *before* importing the map module itself.',
476
480
  );
477
481
  }
478
482
 
@@ -182,5 +182,5 @@ registerStyles(
182
182
  box-shadow: var(--lumo-box-shadow-s);
183
183
  }
184
184
  `,
185
- { moduleId: 'lumo-map' }
185
+ { moduleId: 'lumo-map' },
186
186
  );
@@ -143,5 +143,5 @@ registerStyles(
143
143
  box-shadow: var(--material-shadow-elevation-4dp);
144
144
  }
145
145
  `,
146
- { moduleId: 'material-map' }
146
+ { moduleId: 'material-map' },
147
147
  );