@r2digisolutions/components 0.24.9 → 0.24.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.
@@ -260,6 +260,12 @@
260
260
  onselect?.(item);
261
261
  const row = listEl?.querySelector(`[data-map-item="${item.id}"]`);
262
262
  row?.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
263
+
264
+ if (map && Number.isFinite(item.lat) && Number.isFinite(item.lng) && item.lat !== 0 && item.lng !== 0) {
265
+ skipNextMove = true;
266
+ const targetZoom = Math.max(map.getZoom(), 13);
267
+ map.flyTo([item.lat, item.lng], targetZoom, { duration: 0.8 });
268
+ }
263
269
  }
264
270
 
265
271
  function closeDetail() {
package/dist/styles.css CHANGED
@@ -256,6 +256,15 @@
256
256
  .bg-surface-overlay {
257
257
  background-color: var(--surface-overlay);
258
258
  }
259
+ .border-surface {
260
+ border-color: var(--surface);
261
+ }
262
+ .border-surface-elevated {
263
+ border-color: var(--surface-elevated);
264
+ }
265
+ .border-surface-overlay {
266
+ border-color: var(--surface-overlay);
267
+ }
259
268
  .border-border {
260
269
  border-color: var(--border);
261
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/components",
3
- "version": "0.24.9",
3
+ "version": "0.24.10",
4
4
  "private": false,
5
5
  "description": "R2DigiSolutions Svelte 5 component library — Atomic Design, Tailwind 4, Light/Dark mode",
6
6
  "license": "MIT",