@panoramax/web-viewer 3.2.3-develop-dfee2adc → 3.2.3-develop-357c83ca
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/CHANGELOG.md +2 -1
- package/build/index.js +262 -262
- package/build/index.js.map +1 -1
- package/config/jest/mocks.js +10 -0
- package/docs/reference/components/core/Basic.md +17 -2
- package/docs/reference/components/core/CoverageMap.md +17 -2
- package/docs/reference/components/core/Editor.md +17 -2
- package/docs/reference/components/core/PhotoViewer.md +17 -2
- package/docs/reference/components/core/Viewer.md +17 -2
- package/docs/reference/components/ui/Map.md +25 -1
- package/docs/reference/components/ui/MapMore.md +23 -0
- package/docs/reference/components/ui/Photo.md +9 -1
- package/docs/reference/utils/API.md +23 -0
- package/package.json +2 -2
- package/src/components/core/Basic.js +17 -15
- package/src/components/core/Viewer.js +2 -2
- package/src/components/ui/Loader.js +17 -2
- package/src/components/ui/Map.js +24 -1
- package/src/components/ui/Photo.js +9 -0
- package/src/utils/API.js +30 -3
- package/tests/components/core/Basic.test.js +1 -10
- package/tests/components/ui/Map.test.js +54 -0
- package/tests/utils/API.test.js +82 -69
- package/tests/utils/__snapshots__/API.test.js.snap +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
19
19
|
- Viewer map filter by date input checks if min date is lower than max date, and eventually inverts if necessary.
|
|
20
20
|
- Viewer map center, zoom, background and theme are stored in `localStorage` to permit restoring map position at load. This position is used __only if no URL parameter is set__ for these settings.
|
|
21
21
|
- New main component: `<pnx-photo-viewer>` for showing up only picture (without any map). This leads classic viewer `<pnx-viewer>` to not allow removing its map anymore.
|
|
22
|
+
- `ready` events for API, Map & Photo components.
|
|
22
23
|
|
|
23
24
|
### Changed
|
|
24
25
|
|
|
@@ -30,7 +31,7 @@ Major changes are introduced by this new version, please [check out the migratio
|
|
|
30
31
|
- Parameters between URL and component attributes are finer managed to avoid conflicts.
|
|
31
32
|
- Documentation of API reference is more extensive and uses MkDocs features for clarity.
|
|
32
33
|
- URL parameters are now stored in _search_ part (`?`) instead of _hash_ part (`#`). An automatic URL transform is operated if older format is detected.
|
|
33
|
-
- Updated PSV to 5.12.1, MapLibre GL to 5.
|
|
34
|
+
- Updated PSV to 5.12.1, MapLibre GL to 5.3.0.
|
|
34
35
|
- Improved address search result display.
|
|
35
36
|
- Switched font to [Atkinson Next](https://www.brailleinstitute.org/freefont) for improved readability.
|
|
36
37
|
|