ublo-lib 1.14.8 → 1.14.10

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.
@@ -84,9 +84,6 @@ export default function EditableMap({
84
84
  url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
85
85
  }), showSlopes && _jsx(TileLayer, {
86
86
  url: "https://tiles.opensnowmap.org/pistes/{z}/{x}/{y}.png"
87
- }), _jsx(AttributionControl, {
88
- position: "bottomright",
89
- prefix: false
90
87
  }), _jsx(MapEvents, {
91
88
  mapRef: ref,
92
89
  markers: markers,
@@ -103,6 +100,9 @@ export default function EditableMap({
103
100
  iconSet: iconSet,
104
101
  isEditing: isEditing
105
102
  })
103
+ }), _jsx(AttributionControl, {
104
+ position: "bottomright",
105
+ prefix: ""
106
106
  })]
107
107
  }), !isEditing && _jsx(FullScreenButton, {
108
108
  fullScreen: fullScreen,
@@ -28,13 +28,21 @@
28
28
  flex: 1 1 100%;
29
29
  }
30
30
 
31
- .map :global(.leaflet-pane) {
31
+ .map :global(.leaflet-container) {
32
32
  z-index: 0;
33
33
  }
34
34
 
35
- .map :global(.leaflet-control-container) {
36
- position: relative;
37
- z-index: 1;
35
+ .map :global(.leaflet-top),
36
+ .map :global(.leaflet-bottom) {
37
+ position: static;
38
+ }
39
+
40
+ .map :global(.leaflet-control-attribution) {
41
+ position: absolute;
42
+ right: 0;
43
+ bottom: 4px;
44
+ white-space: nowrap;
45
+ border-radius: var(--ds-radius-100, 6px);
38
46
  }
39
47
 
40
48
  :global(:is(.cms--connected, .cms--info)) .container:empty::after {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.14.8",
3
+ "version": "1.14.10",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^2.1.0",
6
6
  "leaflet": "^1.9.1",