@vaadin/map 24.0.0-alpha8 → 24.0.0-beta1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/map",
3
- "version": "24.0.0-alpha8",
3
+ "version": "24.0.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,15 +36,15 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "24.0.0-alpha8",
40
- "@vaadin/vaadin-lumo-styles": "24.0.0-alpha8",
41
- "@vaadin/vaadin-material-styles": "24.0.0-alpha8",
42
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha8",
39
+ "@vaadin/component-base": "24.0.0-beta1",
40
+ "@vaadin/vaadin-lumo-styles": "24.0.0-beta1",
41
+ "@vaadin/vaadin-material-styles": "24.0.0-beta1",
42
+ "@vaadin/vaadin-themable-mixin": "24.0.0-beta1",
43
43
  "ol": "6.13.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
- "@vaadin/testing-helpers": "^0.3.2",
47
+ "@vaadin/testing-helpers": "^0.4.0",
48
48
  "sinon": "^13.0.2"
49
49
  },
50
50
  "cvdlName": "vaadin-map",
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "476752249bb12295c500980d98a3256ad3b22b73"
55
+ "gitHead": "c5b48921a62482746df8e46994b37e1490fec27e"
56
56
  }
package/src/vaadin-map.js CHANGED
@@ -258,7 +258,7 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
258
258
  }
259
259
 
260
260
  .ol-zoom-out:empty::before {
261
- content: var(--vaadin-map-icon-zoom-out, '');
261
+ content: var(--vaadin-map-icon-zoom-out, '\\2013');
262
262
  }
263
263
 
264
264
  .ol-attribution {
@@ -274,11 +274,11 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
274
274
  }
275
275
 
276
276
  .ol-attribution button span:empty::before {
277
- content: var(--vaadin-map-icon-attribution-collapse, '');
277
+ content: var(--vaadin-map-icon-attribution-collapse, '\\25B8');
278
278
  }
279
279
 
280
280
  .ol-attribution.ol-collapsed button span:empty::before {
281
- content: var(--vaadin-map-icon-attribution-expand, '');
281
+ content: var(--vaadin-map-icon-attribution-expand, '\\2139');
282
282
  }
283
283
 
284
284
  .ol-attribution ul {
@@ -304,7 +304,7 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
304
304
  }
305
305
 
306
306
  .ol-compass:empty::before {
307
- content: var(--vaadin-map-icon-compass, '');
307
+ content: var(--vaadin-map-icon-compass, '\\2191');
308
308
  }
309
309
 
310
310
  .ol-full-screen {
@@ -312,11 +312,11 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
312
312
  }
313
313
 
314
314
  .ol-full-screen button:empty::before {
315
- content: var(--vaadin-map-icon-fullscreen, '');
315
+ content: var(--vaadin-map-icon-fullscreen, '\\2922');
316
316
  }
317
317
 
318
318
  .ol-full-screen .ol-full-screen-true:empty::before {
319
- content: var(--vaadin-map-icon-close, '×');
319
+ content: var(--vaadin-map-icon-close, '\\00D7');
320
320
  }
321
321
 
322
322
  .ol-overviewmap {
@@ -326,11 +326,11 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
326
326
  }
327
327
 
328
328
  .ol-overviewmap button span:empty::before {
329
- content: var(--vaadin-map-icon-overview-map-collapse, '');
329
+ content: var(--vaadin-map-icon-overview-map-collapse, '\\25BE');
330
330
  }
331
331
 
332
332
  .ol-overviewmap.ol-collapsed button span:empty::before {
333
- content: var(--vaadin-map-icon-overview-map-expand, '');
333
+ content: var(--vaadin-map-icon-overview-map-expand, '\\25B4');
334
334
  }
335
335
 
336
336
  .ol-overviewmap-map {
@@ -379,16 +379,6 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
379
379
  return 'vaadin-map';
380
380
  }
381
381
 
382
- /**
383
- * The internal OpenLayers map instance used to configure the map.
384
- * See the OpenLayers [API](https://openlayers.org/en/latest/apidoc/) and
385
- * [examples](https://openlayers.org/en/latest/examples/) for further information.
386
- * @returns {*}
387
- */
388
- get configuration() {
389
- return this._configuration;
390
- }
391
-
392
382
  constructor() {
393
383
  super();
394
384
  // Create map container element and initialize OL map instance
@@ -410,6 +400,16 @@ class Map extends ResizeMixin(FocusMixin(ElementMixin(ThemableMixin(PolymerEleme
410
400
  this._configuration = new OpenLayersMap(options);
411
401
  }
412
402
 
403
+ /**
404
+ * The internal OpenLayers map instance used to configure the map.
405
+ * See the OpenLayers [API](https://openlayers.org/en/latest/apidoc/) and
406
+ * [examples](https://openlayers.org/en/latest/examples/) for further information.
407
+ * @returns {*}
408
+ */
409
+ get configuration() {
410
+ return this._configuration;
411
+ }
412
+
413
413
  /** @protected */
414
414
  ready() {
415
415
  super.ready();
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/map",
4
- "version": "24.0.0-alpha8",
4
+ "version": "24.0.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/map",
4
- "version": "24.0.0-alpha8",
4
+ "version": "24.0.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {