@museumwnf/viewer-layout 3.93.0 → 3.94.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.
package/README.md CHANGED
@@ -651,10 +651,12 @@ the galleries'. `projectColors` names only what that cannot tell (a package
651
651
  older than its exporter's `home_site`), and wins where it is given.
652
652
 
653
653
  `legacyPaths` is a gallery's own fixed list of its legacy addresses
654
- (`{ items: { <uid path>: id }, partners: { <country>/<legacy id>: id } }`),
655
- written once from the package's `legacy_paths.json`. With it, the legacy
656
- redirects look an address up there only; without it, they read the package's
657
- file, or decode the records' legacy keys for an older package.
654
+ (`{ items: { <uid path>: id }, partners: { <country>/<legacy id>: id },
655
+ tags: { <legacy tag id>: id } }`), written once from the package. With it, the
656
+ legacy redirects look an address up there only; without it, they read the
657
+ package's file, or decode the records' legacy keys for an older package. The
658
+ config carries it as `legacyPaths`: viewer-core's gallery facets (2.32.0) read
659
+ `tags` to turn a legacy facet value in an old search link into the tag's id.
658
660
 
659
661
  `exhibitionConfig` takes the same values (and `partnerObjects`, overrides of
660
662
  the shared `exhibition.partnerObjects.*` entries). The config carries the
package/dist/dxa.js CHANGED
@@ -2358,6 +2358,7 @@ function Po({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2358
2358
  ...s
2359
2359
  },
2360
2360
  noticeProjects: c,
2361
+ legacyPaths: p,
2361
2362
  site: { origin: n },
2362
2363
  extraViews: ho("gallery", {
2363
2364
  creditsBody: l,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@museumwnf/viewer-layout",
3
- "version": "3.93.0",
3
+ "version": "3.94.0",
4
4
  "description": "Page structure for MWNF websites: PageShell composing seven optional, token-styled sections, the content components a page is made of, and the composed views a website names instead of writing a page.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",