@panoramax/web-viewer 4.0.3-develop-25adfc80 → 4.0.3-develop-dd0778d7
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 +1 -0
- package/build/index.css +1 -1
- package/build/index.css.map +1 -1
- package/build/index.js +18 -17
- package/build/index.js.map +1 -1
- package/docs/index.md +13 -0
- package/package.json +1 -1
- package/src/components/core/PhotoViewer.css +0 -12
- package/src/components/layout/BottomDrawer.js +2 -1
- package/src/components/menus/AnnotationsList.js +13 -9
- package/src/components/menus/MapBackground.js +8 -3
- package/src/components/menus/MapFilters.js +3 -2
- package/src/components/menus/MapLayers.js +3 -2
- package/src/components/menus/PictureLegend.js +13 -11
- package/src/components/menus/PictureMetadata.js +11 -9
- package/src/components/menus/PlayerOptions.js +3 -3
- package/src/components/menus/Share.js +2 -2
- package/src/components/ui/AnnotationsSwitch.js +1 -0
- package/src/components/ui/widgets/GeoSearch.js +3 -2
- package/src/components/ui/widgets/MapFiltersButton.js +3 -3
- package/src/components/ui/widgets/MapLayersButton.js +3 -3
- package/src/components/ui/widgets/OSMEditors.js +2 -2
- package/src/components/ui/widgets/PictureLegendActions.js +2 -2
- package/src/components/ui/widgets/Player.js +3 -3
- package/src/components/ui/widgets/Zoom.js +4 -2
- package/src/utils/widgets.js +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -37,6 +37,7 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
|
|
|
37
37
|
- Picture legend address line was breaking rendering if too long.
|
|
38
38
|
- Map was not centered on first picture loaded if coordinates existed in browser cache.
|
|
39
39
|
- On viewer load, if an user filter is applied, user name is correctly shown in map filters.
|
|
40
|
+
- When using widgets as third-party, some listeners were not always set-up.
|
|
40
41
|
|
|
41
42
|
## [4.0.3] - 2025-05-23
|
|
42
43
|
|
package/build/index.css
CHANGED
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
* Photo Sphere Viewer / Markers Plugin 5.13.3
|
|
33
33
|
* @copyright 2015-2025 Damien "Mistic" Sorel
|
|
34
34
|
* @licence MIT (https://opensource.org/licenses/MIT)
|
|
35
|
-
*/.psv-container{--psv-markers-plugin-loaded:true}.psv-markers{pointer-events:none;z-index:10}.psv-markers,.psv-markers-svg-container{height:100%;position:absolute;width:100%}.psv-markers-svg-container{left:0;top:0;z-index:20}.psv-markers-css3d-container{position:absolute;z-index:21}.psv-marker{display:none;pointer-events:auto}.psv-marker--normal{background-repeat:no-repeat;background-size:contain;left:0;overflow:visible;position:absolute;top:0;z-index:30}.psv-marker--css3d{display:block}.psv-marker--transparent{display:block;opacity:0}.psv-marker--visible{display:block}.psv-marker--has-content,.psv-marker--has-tooltip{cursor:pointer}pnx-viewer .pnx-map.maplibregl-map,pnx-viewer .pnx-psv{inset:0;position:absolute;z-index:0}pnx-viewer .psv-loader{display:none}pnx-widget-geosearch{z-index:129}pnx-viewer pnx-cornered-grid::part(corner-bottom),pnx-viewer pnx-cornered-grid::part(corner-bottom-left),pnx-viewer pnx-cornered-grid::part(corner-bottom-right),pnx-viewer pnx-cornered-grid::part(corner-top),pnx-viewer pnx-cornered-grid::part(corner-top-left),pnx-viewer pnx-cornered-grid::part(corner-top-right){gap:10px;padding:10px}@media screen and (max-width:576px){pnx-viewer pnx-cornered-grid::part(corner-top-right){align-items:flex-end;flex-direction:column;justify-content:flex-start}pnx-viewer pnx-cornered-grid::part(corner-top-left){align-items:flex-start;flex-direction:column;justify-content:flex-start}}pnx-viewer pnx-mini{aspect-ratio:1/1;box-sizing:border-box;display:block;min-height:250px;min-width:250px;position:relative;z-index:120}@media screen and ((max-width:576px)){pnx-viewer pnx-mini{min-height:0;min-height:auto;min-width:0;min-width:auto}}pnx-viewer pnx-mini .pnx-map,pnx-viewer pnx-mini .psv-container{border-radius:10px}pnx-viewer:not(pnx-viewer[focus=map]) .pnx-only-map,pnx-viewer:not(pnx-viewer[focus=pic]) .pnx-only-psv{display:none}@media screen and (min-width:576px){pnx-viewer pnx-widget-legend{left:10px;position:absolute;top:60px}pnx-viewer[focus=pic] pnx-widget-legend{top:10px}}pnx-viewer .pnx-map .maplibregl-ctrl-attrib{display:none}@media screen and (max-width:576px){pnx-widget-geosearch pnx-search-bar:not([reduced])::part(container){max-width:40vw;width:250px}}pnx-viewer.pnx-playing pnx-bottom-drawer,pnx-viewer.pnx-playing pnx-mini,pnx-viewer.pnx-playing pnx-widget-legend,pnx-viewer.pnx-playing pnx-widget-zoom{display:none}pnx-photo-viewer .pnx-psv{inset:0;position:absolute;z-index:0}pnx-photo-viewer .psv-loader{display:none}pnx-photo-viewer pnx-cornered-grid::part(corner-bottom),pnx-photo-viewer pnx-cornered-grid::part(corner-bottom-left),pnx-photo-viewer pnx-cornered-grid::part(corner-bottom-right),pnx-photo-viewer pnx-cornered-grid::part(corner-top),pnx-photo-viewer pnx-cornered-grid::part(corner-top-left),pnx-photo-viewer pnx-cornered-grid::part(corner-top-right){gap:10px;padding:10px}@media screen and (max-width:576px){pnx-photo-viewer pnx-cornered-grid::part(corner-top-right){align-items:flex-end;flex-direction:column;justify-content:flex-start}pnx-photo-viewer pnx-cornered-grid::part(corner-top-left){align-items:flex-start;flex-direction:column;justify-content:flex-start}}
|
|
35
|
+
*/.psv-container{--psv-markers-plugin-loaded:true}.psv-markers{pointer-events:none;z-index:10}.psv-markers,.psv-markers-svg-container{height:100%;position:absolute;width:100%}.psv-markers-svg-container{left:0;top:0;z-index:20}.psv-markers-css3d-container{position:absolute;z-index:21}.psv-marker{display:none;pointer-events:auto}.psv-marker--normal{background-repeat:no-repeat;background-size:contain;left:0;overflow:visible;position:absolute;top:0;z-index:30}.psv-marker--css3d{display:block}.psv-marker--transparent{display:block;opacity:0}.psv-marker--visible{display:block}.psv-marker--has-content,.psv-marker--has-tooltip{cursor:pointer}pnx-viewer .pnx-map.maplibregl-map,pnx-viewer .pnx-psv{inset:0;position:absolute;z-index:0}pnx-viewer .psv-loader{display:none}pnx-widget-geosearch{z-index:129}pnx-viewer pnx-cornered-grid::part(corner-bottom),pnx-viewer pnx-cornered-grid::part(corner-bottom-left),pnx-viewer pnx-cornered-grid::part(corner-bottom-right),pnx-viewer pnx-cornered-grid::part(corner-top),pnx-viewer pnx-cornered-grid::part(corner-top-left),pnx-viewer pnx-cornered-grid::part(corner-top-right){gap:10px;padding:10px}@media screen and (max-width:576px){pnx-viewer pnx-cornered-grid::part(corner-top-right){align-items:flex-end;flex-direction:column;justify-content:flex-start}pnx-viewer pnx-cornered-grid::part(corner-top-left){align-items:flex-start;flex-direction:column;justify-content:flex-start}}pnx-viewer pnx-mini{aspect-ratio:1/1;box-sizing:border-box;display:block;min-height:250px;min-width:250px;position:relative;z-index:120}@media screen and ((max-width:576px)){pnx-viewer pnx-mini{min-height:0;min-height:auto;min-width:0;min-width:auto}}pnx-viewer pnx-mini .pnx-map,pnx-viewer pnx-mini .psv-container{border-radius:10px}pnx-viewer:not(pnx-viewer[focus=map]) .pnx-only-map,pnx-viewer:not(pnx-viewer[focus=pic]) .pnx-only-psv{display:none}@media screen and (min-width:576px){pnx-viewer pnx-widget-legend{left:10px;position:absolute;top:60px}pnx-viewer[focus=pic] pnx-widget-legend{top:10px}}pnx-viewer .pnx-map .maplibregl-ctrl-attrib{display:none}@media screen and (max-width:576px){pnx-widget-geosearch pnx-search-bar:not([reduced])::part(container){max-width:40vw;width:250px}}pnx-viewer.pnx-playing pnx-bottom-drawer,pnx-viewer.pnx-playing pnx-mini,pnx-viewer.pnx-playing pnx-widget-legend,pnx-viewer.pnx-playing pnx-widget-zoom{display:none}pnx-photo-viewer .pnx-psv{inset:0;position:absolute;z-index:0}pnx-photo-viewer .psv-loader{display:none}pnx-photo-viewer pnx-cornered-grid::part(corner-bottom),pnx-photo-viewer pnx-cornered-grid::part(corner-bottom-left),pnx-photo-viewer pnx-cornered-grid::part(corner-bottom-right),pnx-photo-viewer pnx-cornered-grid::part(corner-top),pnx-photo-viewer pnx-cornered-grid::part(corner-top-left),pnx-photo-viewer pnx-cornered-grid::part(corner-top-right){gap:10px;padding:10px}@media screen and (max-width:576px){pnx-photo-viewer pnx-cornered-grid::part(corner-top-right){align-items:flex-end;flex-direction:column;justify-content:flex-start}pnx-photo-viewer pnx-cornered-grid::part(corner-top-left){align-items:flex-start;flex-direction:column;justify-content:flex-start}}pnx-photo-viewer.pnx-playing pnx-bottom-drawer,pnx-photo-viewer.pnx-playing pnx-widget-legend,pnx-photo-viewer.pnx-playing pnx-widget-zoom{display:none}pnx-button-group>pnx-button{display:inline-flex}pnx-button-group>pnx-button::part(btn){height:auto}pnx-button-group>pnx-togglable-group>pnx-button{height:100%;width:100%}pnx-button-group[dir=row]>:not(:first-child):not(:last-child)::part(btn),pnx-button-group[dir=row]>:not(:first-child):not(:last-child)>::part(btn){border-left:none;border-radius:0;border-right:none}pnx-button-group[dir=row]>:first-child::part(btn),pnx-button-group[dir=row]>:first-child>::part(btn){border-bottom-right-radius:0;border-right:none;border-top-right-radius:0}pnx-button-group[dir=row]>:last-child::part(btn),pnx-button-group[dir=row]>:last-child>::part(btn){border-bottom-left-radius:0;border-left:none;border-top-left-radius:0}pnx-button-group[dir=column]>:not(:first-child):not(:last-child)::part(btn),pnx-button-group[dir=column]>:not(:first-child):not(:last-child)>::part(btn){border-bottom:none;border-radius:0;border-top:none}pnx-button-group[dir=column]>:first-child::part(btn),pnx-button-group[dir=column]>:first-child>::part(btn){border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}pnx-button-group[dir=column]>:last-child::part(btn),pnx-button-group[dir=column]>:last-child>::part(btn){border-top:none;border-top-left-radius:0;border-top-right-radius:0}pnx-widget-geosearch .maplibregl-ctrl{background:none!important;box-shadow:none!important}pnx-widget-geosearch .maplibregl-ctrl-geolocate{border-radius:15px}pnx-widget-geosearch pnx-search-bar[reduced] .maplibregl-ctrl-geolocate{width:40px}pnx-widget-geosearch pnx-search-bar:not([reduced]) .maplibregl-ctrl-geolocate{margin-left:-5px}pnx-widget-geosearch pnx-search-bar:not([reduceable])::part(input){max-width:30vw;width:300px}pnx-widget-player{pointer-events:none}pnx-widget-player>pnx-button-group{pointer-events:auto}
|
|
36
36
|
/*# sourceMappingURL=index.css.map*/
|