react-cheminfo 0.20.0 → 0.21.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/lib/about/core/about.d.ts +3 -3
- package/lib/about/core/about.d.ts.map +1 -1
- package/lib/chrome/ui/SiteHeader.d.ts +20 -3
- package/lib/chrome/ui/SiteHeader.d.ts.map +1 -1
- package/lib/chrome/ui/SiteHeader.js +7 -3
- package/lib/chrome/ui/SiteHeader.js.map +1 -1
- package/lib/ecosystem/core/index.d.ts +1 -1
- package/lib/ecosystem/core/index.d.ts.map +1 -1
- package/lib/ecosystem/core/index.js.map +1 -1
- package/lib/ecosystem/core/lookup.d.ts +2 -2
- package/lib/ecosystem/core/lookup.d.ts.map +1 -1
- package/lib/ecosystem/core/lookup.js.map +1 -1
- package/lib/ecosystem/core/nameColors.d.ts +2 -2
- package/lib/ecosystem/core/nameColors.d.ts.map +1 -1
- package/lib/ecosystem/core/nameColors.js.map +1 -1
- package/lib/ecosystem/core/sites.d.ts +3 -3
- package/lib/ecosystem/core/sites.d.ts.map +1 -1
- package/lib/ecosystem/core/sites.js.map +1 -1
- package/lib/ecosystem/core/tokens.d.ts +4 -3
- package/lib/ecosystem/core/tokens.d.ts.map +1 -1
- package/lib/ecosystem/core/tokens.js +8 -7
- package/lib/ecosystem/core/tokens.js.map +1 -1
- package/lib/ecosystem/core/types.d.ts +18 -9
- package/lib/ecosystem/core/types.d.ts.map +1 -1
- package/lib/ecosystem/ui/SiteTheme.d.ts +14 -3
- package/lib/ecosystem/ui/SiteTheme.d.ts.map +1 -1
- package/lib/ecosystem/ui/SiteTheme.js +6 -1
- package/lib/ecosystem/ui/SiteTheme.js.map +1 -1
- package/lib/ecosystem/ui/Wordmark.d.ts +2 -2
- package/lib/ecosystem/ui/Wordmark.d.ts.map +1 -1
- package/lib/ecosystem/ui/marks.d.ts +13 -4
- package/lib/ecosystem/ui/marks.d.ts.map +1 -1
- package/lib/ecosystem/ui/marks.js +11 -3
- package/lib/ecosystem/ui/marks.js.map +1 -1
- package/lib/seo/core/pageMeta.d.ts +2 -2
- package/lib/seo/core/pageMeta.d.ts.map +1 -1
- package/lib/seo/core/siteFiles.d.ts +3 -3
- package/lib/seo/core/siteFiles.d.ts.map +1 -1
- package/lib/seo/core/siteFiles.js.map +1 -1
- package/lib/seo/vite/ogCard.d.ts +9 -2
- package/lib/seo/vite/ogCard.d.ts.map +1 -1
- package/lib/seo/vite/ogCard.js +6 -1
- package/lib/seo/vite/ogCard.js.map +1 -1
- package/lib/seo/vite/prerender.d.ts +2 -2
- package/lib/seo/vite/prerender.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/about/core/about.ts +3 -3
- package/src/chrome/ui/SiteHeader.tsx +28 -6
- package/src/ecosystem/core/index.ts +1 -0
- package/src/ecosystem/core/lookup.ts +2 -2
- package/src/ecosystem/core/nameColors.ts +2 -2
- package/src/ecosystem/core/sites.ts +3 -2
- package/src/ecosystem/core/tokens.ts +10 -9
- package/src/ecosystem/core/types.ts +19 -9
- package/src/ecosystem/ui/SiteTheme.tsx +19 -4
- package/src/ecosystem/ui/Wordmark.tsx +2 -2
- package/src/ecosystem/ui/marks.tsx +23 -5
- package/src/seo/core/noscript.ts +1 -1
- package/src/seo/core/pageMeta.ts +2 -2
- package/src/seo/core/siteFiles.ts +3 -3
- package/src/seo/vite/ogCard.ts +16 -3
- package/src/seo/vite/prerender.ts +2 -2
|
@@ -22,7 +22,7 @@ import { dirname, join, resolve } from 'node:path';
|
|
|
22
22
|
|
|
23
23
|
import type { Logger, Plugin } from 'vite';
|
|
24
24
|
|
|
25
|
-
import type {
|
|
25
|
+
import type { SiteId, SiteRecord } from '../../ecosystem/core/sites.ts';
|
|
26
26
|
import { trimTrailingSlash } from '../../router/core/address.ts';
|
|
27
27
|
import type { NoscriptText } from '../core/noscript.ts';
|
|
28
28
|
import { noscriptIndex } from '../core/noscript.ts';
|
|
@@ -38,7 +38,7 @@ import { PAGE_BODY_MARKER, PAGE_HEAD_MARKER, fill } from '../core/template.ts';
|
|
|
38
38
|
/** What the build needs to know to write the site's addresses. */
|
|
39
39
|
export interface PrerenderOptions {
|
|
40
40
|
/** The site, named or passed. */
|
|
41
|
-
site:
|
|
41
|
+
site: SiteRecord | SiteId;
|
|
42
42
|
/** Every address it answers, each with its title and description. */
|
|
43
43
|
routes: readonly RouteMeta[];
|
|
44
44
|
/**
|