@geolonia/embed 6.0.0-pre.6 → 6.0.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.
Files changed (39) hide show
  1. package/.github/workflows/build.yml +4 -4
  2. package/.tool-versions +1 -1
  3. package/CHANGELOG.md +43 -0
  4. package/README.md +1 -1
  5. package/dist/embed +1 -1
  6. package/dist/embed-chunks/{d1fe32cb4bfb0e9c6575.js → 124e026690b0fa17700b.js} +1 -1
  7. package/dist/embed-chunks/{5fc1f8cd252efa958f7d.js → 9734b8bdf9fe84261b54.js} +2 -2
  8. package/dist/embed-chunks/{64c22ed093c8de0fcbf8.js → ae36f6b8e34f85ae3045.js} +2 -2
  9. package/dist/embed-chunks/{4b5b1b54a5dac816ef15.js → db5eea9dfc49d1cf19e7.js} +1 -1
  10. package/dist/embed-core.d.ts +1 -1
  11. package/dist/embed-core.js +1 -1
  12. package/dist/embed-core.js.LICENSE.txt +1 -1
  13. package/dist/embed.d.ts +3 -3
  14. package/dist/embed.js +1 -1
  15. package/dist/embed.js.LICENSE.txt +1 -1
  16. package/dist/lib/parse-atts.d.ts +1 -1
  17. package/dist/lib/render.d.ts +2 -2
  18. package/dist/types-internal.d.ts +4 -0
  19. package/dist/types.d.ts +13 -6
  20. package/dist/version.d.ts +1 -1
  21. package/eslint.config.js +15 -48
  22. package/package.json +14 -19
  23. package/src/embed-core.ts +5 -1
  24. package/src/embed.ts +7 -3
  25. package/src/lib/parse-atts.test.ts +6 -6
  26. package/src/lib/parse-atts.ts +8 -7
  27. package/src/lib/render.ts +31 -10
  28. package/src/lib/util.ts +1 -1
  29. package/src/testability.test.ts +20 -17
  30. package/src/types-internal.ts +18 -0
  31. package/src/types.ts +12 -4
  32. package/src/version.ts +1 -1
  33. package/tsconfig.build.json +5 -0
  34. package/tsconfig.json +5 -3
  35. package/webpack.config.js +2 -2
  36. /package/dist/embed-chunks/{4574b15eb540c5efc533.js → 5f80e0235f4b38778d0d.js} +0 -0
  37. /package/dist/embed-chunks/{5fc1f8cd252efa958f7d.js.LICENSE.txt → 9734b8bdf9fe84261b54.js.LICENSE.txt} +0 -0
  38. /package/dist/embed-chunks/{64c22ed093c8de0fcbf8.js.LICENSE.txt → ae36f6b8e34f85ae3045.js.LICENSE.txt} +0 -0
  39. /package/dist/embed-chunks/{ffdb8e820d823ee3571c.js → c83bb7c9a4a7ed9d5b23.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * MapLibre GL JS
3
- * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v6.12.0/LICENSE.txt
3
+ * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v6.16.0/LICENSE.txt
4
4
  */
package/dist/embed.d.ts CHANGED
@@ -4,10 +4,10 @@
4
4
  import * as maplibregl from 'maplibre-gl';
5
5
  import { GeoloniaMap, GeoloniaMarker, SimpleStyle } from '@geolonia/maps-core';
6
6
  import { VERSION as embedVersion } from './version';
7
+ import { registerPlugin } from './lib/render';
7
8
  export type { GeoloniaMapOptions } from '@geolonia/maps-core';
8
9
  export type Popup = maplibregl.Popup;
9
- export type { EmbedAttributes, EmbedPlugin } from './types';
10
- import type { EmbedPlugin } from './types';
10
+ export type { EmbedAttributes, EmbedPlugin, EmbedPluginAttributes, } from './types';
11
11
  export type Geolonia = Partial<typeof maplibregl> & {
12
12
  accessToken?: string;
13
13
  embedVersion: string;
@@ -15,7 +15,7 @@ export type Geolonia = Partial<typeof maplibregl> & {
15
15
  Marker: typeof GeoloniaMarker;
16
16
  SimpleStyle: typeof SimpleStyle;
17
17
  simpleStyle: typeof SimpleStyle;
18
- registerPlugin: (embedPlugin: EmbedPlugin) => void;
18
+ registerPlugin: typeof registerPlugin;
19
19
  };
20
20
  declare global {
21
21
  interface Window {