@panoramax/web-viewer 4.0.3-develop-d48b09a7 → 4.0.3-develop-90cc79b9

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 CHANGED
@@ -13,18 +13,20 @@ Before _2.0.0_, Viewer was embed in the [API repository](https://gitlab.com/pano
13
13
  - Buttons offer a new `fullwarn` yellow style (for warning buttons)
14
14
  - A bit of doc on 3D mobile rendering
15
15
  - A new `keyboard-shortcuts=false` attribute for Viewer & PhotoViewer, to disable completely keyboard shortcuts (for integration in complex pages).
16
- - Editor component now uses _CorneredGrid_ as well, allowing to pass custom widgets through.
16
+ - ⚠️ Editor component now uses _CorneredGrid_ as well, allowing to pass custom widgets through.
17
17
  - An hover effect for photo viewer arrows to see which one you will click on.
18
18
  - On meta-catalog, display origin instance logo in picture legend.
19
19
 
20
20
  ### Changed
21
21
 
22
+ - ⚠️ __pnx-hashtags__ widget has been renamed into `pnx-annotations-switch`, and only displays a switch button to show/hide annotations on pictures.
22
23
  - In picture legend, in _General_ tab, capture date shows seconds and is clickable to access _Camera_ tab.
23
24
  - Map legend font size a bit reduced, map attribution integrated in a sentence.
24
25
  - In picture legend, the "..." keeps the same entries between collapsed and expanded display.
25
26
  - Updated PhotoSphereViewer to 5.13.3 (for a fix on `withCredentials` option), MapLibre GL to 5.6.0
26
27
  - When playing a sequence, all widgets except player are now hidden.
27
28
  - In picture legend, tabs and collapse button are always visible.
29
+ - Iframes for Viewer & PhotoViewer display a lot less widgets by default, only to keep a light legend and map/picture switch.
28
30
 
29
31
  ### Fixed
30
32
 
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{margin-bottom:40px;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}}@media screen and (min-width:576px){pnx-photo-viewer pnx-widget-legend{left:10px;position:absolute;top:60px;top:10px}}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}
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}}@media screen and (min-width:576px){pnx-photo-viewer pnx-widget-legend{left:10px;position:absolute;top:60px;top:10px}}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*/