@florasync/leaflet-geokit 0.9.1 → 0.10.0

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.
@@ -6,9 +6,9 @@ import type { DrawControlsConfig, GeoJSONExportOptions, GeoJSONImportOptions, Ma
6
6
  import type { ErrorEventDetail } from "../types/events.js";
7
7
  import { type Logger } from "../utils/logger.js";
8
8
  import type { MapLayer, LayerStyle, LayerCakeSessionUpdate, LayerStyleRequestDetail } from "../types/layers.js";
9
- import { type NormalizedMarkerIconConfig } from "../lib/marker-icons.js";
10
- import type { TileURLTemplate } from "../lib/TileProviderFactory.js";
11
- import type { BasemapAdapter, ProviderDiagnostics } from "../lib/providers.js";
9
+ import { type NormalizedMarkerIconConfig } from "./marker-icons.js";
10
+ import type { TileURLTemplate } from "./TileProviderFactory.js";
11
+ import type { BasemapAdapter, ProviderDiagnostics } from "./providers.js";
12
12
  export interface MapControllerCallbacks {
13
13
  onLayerEvent?: (name: string, detail: unknown) => void;
14
14
  onLayerStyleRequested?: (detail: LayerStyleRequestDetail) => boolean;
@@ -1,4 +1,4 @@
1
- import { type PreactLeafletGeoKitProps } from "../preact/core.js";
1
+ import { type PreactLeafletGeoKitProps } from "./core.js";
2
2
  export type { PreactLeafletGeoKitProps };
3
3
  export declare const PreactLeafletGeoKit: (props: PreactLeafletGeoKitProps) => import("preact").VNode<import("preact").Attributes & {
4
4
  ref: import("preact/hooks").MutableRef<import("../index.js").LeafletDrawMapElement | null>;
@@ -1,4 +1,4 @@
1
- import { type ReactLeafletGeoKitProps } from "../react/core.js";
1
+ import { type ReactLeafletGeoKitProps } from "./core.js";
2
2
  export type { ReactLeafletGeoKitProps };
3
3
  export declare const ReactLeafletGeoKit: (props: ReactLeafletGeoKitProps) => import("react").ReactElement<{
4
4
  ref: import("react").MutableRefObject<import("../index.js").LeafletDrawMapElement | null>;
@@ -1,10 +1,10 @@
1
1
  import type { Feature, FeatureCollection, Geometry } from "geojson";
2
2
  import type { LogLevel } from "../utils/logger.js";
3
- import type { StatusEventDetail } from "../types/events.js";
3
+ import type { StatusEventDetail } from "./events.js";
4
4
  import type { GeoJSONExportAdapter, GeoJSONExportOptions, GeoJSONImportBehavior, GeoJSONImportOptions } from "../utils/geojson.js";
5
5
  import type * as Leaflet from "leaflet";
6
- import type { MapLayer, LayerStyle, LayerCakeSession, LayerCakeSessionUpdate } from "../types/layers.js";
7
- export * from "../types/layers.js";
6
+ import type { MapLayer, LayerStyle, LayerCakeSession, LayerCakeSessionUpdate } from "./layers.js";
7
+ export * from "./layers.js";
8
8
  import type { BasemapAdapter, ProviderDiagnostics } from "../lib/providers.js";
9
9
  /**
10
10
  * Basic map configuration derived from element attributes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florasync/leaflet-geokit",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Framework-agnostic Leaflet + Leaflet.draw web component with TypeScript, verbose logging, and tests.",
5
5
  "type": "module",
6
6
  "main": "./dist/leaflet-geokit.umd.js",
@@ -178,7 +178,7 @@
178
178
  "globals": "^17.3.0",
179
179
  "happy-dom": "^20.6.3",
180
180
  "husky": "^9.1.7",
181
- "lint-staged": "^15.2.10",
181
+ "lint-staged": "^16.4.0",
182
182
  "preact": "^10.28.3",
183
183
  "prettier": "^3.3.2",
184
184
  "react": "^18.3.1",