@sequent-org/moodboard 1.0.10 → 1.0.11

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": "@sequent-org/moodboard",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "type": "module",
5
5
  "description": "Interactive moodboard",
6
6
  "main": "./src/index.js",
@@ -196,9 +196,9 @@ export class MoodBoard {
196
196
  }
197
197
 
198
198
  initZoombar() {
199
- // Рисуем панель зума поверх холста (в том же контейнере, что и topbar)
199
+ // Рисуем панель зума в правом нижнем углу (внутри workspace контейнера)
200
200
  this.zoombar = new ZoomPanel(
201
- this.topbarContainer,
201
+ this.workspaceElement,
202
202
  this.coreMoodboard.eventBus
203
203
  );
204
204
  }
@@ -50,11 +50,11 @@
50
50
  pointer-events: none;
51
51
  }
52
52
 
53
- /* Right top zoom panel container (reuses topbar container area) */
53
+ /* Bottom-right zoom panel container (positioned left of map panel) */
54
54
  .moodboard-zoombar {
55
55
  position: absolute;
56
- top: 16px;
57
- right: 16px;
56
+ bottom: 16px;
57
+ right: 80px; /* Слева от кнопки карты (36px + 8px gap + 36px button = 80px) */
58
58
  display: inline-flex;
59
59
  align-items: center;
60
60
  gap: 8px;
@@ -103,7 +103,7 @@
103
103
  .moodboard-zoombar__menu {
104
104
  position: absolute;
105
105
  right: 0;
106
- top: 49px;
106
+ bottom: 49px; /* Открывается вверх от панели зума */
107
107
  background: #fff;
108
108
  border: 1px solid #e0e0e0;
109
109
  border-radius: 8px;