@getquick/content 0.5.0 → 0.5.1
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 +5 -4
- package/dist/consent-html.js +1 -1
- package/dist/consent.js +1 -1
- package/dist/{design-fonts-B0ts54vY.js → design-fonts-tbvMfxXU.js} +20 -19
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/{version-CmdZGJvZ.js → version-7v3zP5aF.js} +1 -1
- package/dist/{wordpress-OWJxnbAF.d.ts → wordpress-D6eSi2Ff.d.ts} +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -311,7 +311,7 @@ regenerating both stylesheets, including its media thresholds.
|
|
|
311
311
|
|
|
312
312
|
### Fonts and text styles
|
|
313
313
|
|
|
314
|
-
GQ Design 0.10.1 (contract 2.1.0) delivers the Site's self-hosted font families
|
|
314
|
+
GQ Design 0.10.1 or newer (contract 2.1.0; this package bundles 0.10.2) delivers the Site's self-hosted font families
|
|
315
315
|
(faces on the Site's own or media host, each with a metric-matched local
|
|
316
316
|
fallback), the `sans`/`serif`/`mono` slot assignments and the Heading and
|
|
317
317
|
Paragraph text styles. The design presets carry them as optional `fonts` and
|
|
@@ -334,9 +334,10 @@ faces GQ Design marks (the text styles' primary Latin files); a
|
|
|
334
334
|
`<style data-gqd-fonts>` with the `@font-face` rules (`font-display` as
|
|
335
335
|
delivered, `swap` from GQ Design), the fallback faces and the assigned slots'
|
|
336
336
|
`--gqd-font-*` stacks; and a `<style data-gqd-text-styles>` with the text
|
|
337
|
-
styles under `root` (default `.gqd-content`, the theme's root).
|
|
338
|
-
|
|
339
|
-
the system stacks there.
|
|
337
|
+
styles under `root` (default `.gqd-content`, the theme's root). GQ Design sets
|
|
338
|
+
the slot stacks on `:root` and on the doubled root (`:root,.gqd-content.gqd-content`),
|
|
339
|
+
because the theme stylesheet declares the system stacks there. A bad stored
|
|
340
|
+
text style value is dropped rather than failing the page. It is empty without fonts or text styles, or with no
|
|
340
341
|
families. Font URLs only come from the presets: faces with a relative URL or a
|
|
341
342
|
file on a Google host are dropped, so a visitor's browser never contacts
|
|
342
343
|
Google. Media hosts need a public CORS rule for cross-origin font files.
|
package/dist/consent-html.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SERVICE_CATALOG, T as copyLanguage, c as grantedCategories, d as promptReason, f as readConsentCookie, x as OPTIONAL_CATEGORIES } from "./state-BYWc5TUB.js";
|
|
2
2
|
import { a as CONSENT_COPY, c as legalRevisions, r as escapeHtml } from "./embeds-CJJemAmE.js";
|
|
3
|
-
import { t as CONSENT_UI_VERSION } from "./version-
|
|
3
|
+
import { t as CONSENT_UI_VERSION } from "./version-7v3zP5aF.js";
|
|
4
4
|
import { t as CONSENT_CONFIG_ID } from "./client-config-B3LNSOxl.js";
|
|
5
5
|
import { t as CONSENT_PATH } from "./paths-Cmzzof3v.js";
|
|
6
6
|
//#region frontend/src/consent/html.ts
|
package/dist/consent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as SERVICE_IDS, D as hostMatches, E as embedService, O as hostService, S as SERVICE_CATALOG, T as copyLanguage, _ as consentConfiguration, a as consentCookie, b as COPY_LANGUAGES, c as grantedCategories, d as promptReason, f as readConsentCookie, g as MEASUREMENT_ID, h as CONSENT_COPY_REVISION, i as DECISION_VALIDITY_MS, k as isServiceId, l as isConsentId, m as serviceGranted, n as CONSENT_COOKIE, o as decide, p as serializeConsentState, r as CONSENT_COOKIE_MAX_AGE_SECONDS, s as denyAll, t as CONSENT_ACTIONS, u as parseConsentState, v as needsBanner, w as catalogService, x as OPTIONAL_CATEGORIES, y as CONSENT_CATEGORIES } from "./state-BYWc5TUB.js";
|
|
2
2
|
import { a as parseConsentRecordRequest, i as isRecordToken, n as consentRecordRequest, r as isLegalRoleName, t as MAX_RECORD_BYTES } from "./records-Dumrz759.js";
|
|
3
3
|
import { a as CONSENT_COPY, c as legalRevisions, i as rewriteEmbeds, l as parseLegalLanguage, n as embedPlaceholder, o as LEGAL_ROLES, r as escapeHtml, s as REQUIRED_LEGAL_ROLES, t as blockedPlaceholder } from "./embeds-CJJemAmE.js";
|
|
4
|
-
import { t as CONSENT_UI_VERSION } from "./version-
|
|
4
|
+
import { t as CONSENT_UI_VERSION } from "./version-7v3zP5aF.js";
|
|
5
5
|
export { CONSENT_ACTIONS, CONSENT_CATEGORIES, CONSENT_COOKIE, CONSENT_COOKIE_MAX_AGE_SECONDS, CONSENT_COPY, CONSENT_COPY_REVISION, CONSENT_UI_VERSION, COPY_LANGUAGES, DECISION_VALIDITY_MS, LEGAL_ROLES, MAX_RECORD_BYTES, MEASUREMENT_ID, OPTIONAL_CATEGORIES, REQUIRED_LEGAL_ROLES, SERVICE_CATALOG, SERVICE_IDS, blockedPlaceholder, catalogService, consentConfiguration, consentCookie, consentRecordRequest, copyLanguage, decide, denyAll, embedPlaceholder, embedService, escapeHtml, grantedCategories, hostMatches, hostService, isConsentId, isLegalRoleName, isRecordToken, isServiceId, legalRevisions, needsBanner, parseConsentRecordRequest, parseConsentState, parseLegalLanguage, promptReason, readConsentCookie, rewriteEmbeds, serializeConsentState, serviceGranted };
|
|
@@ -167051,11 +167051,6 @@ var presentation_default = {
|
|
|
167051
167051
|
"getquick-design/carousel-navigation": { "display": "flex" },
|
|
167052
167052
|
"getquick-design/grid": { "display": "grid" },
|
|
167053
167053
|
"core/heading": {
|
|
167054
|
-
"fontFamily": "reset",
|
|
167055
|
-
"fontSize": "reset",
|
|
167056
|
-
"fontWeight": "reset",
|
|
167057
|
-
"lineHeight": "reset",
|
|
167058
|
-
"letterSpacing": "reset",
|
|
167059
167054
|
"color": "reset",
|
|
167060
167055
|
"backgroundColor": "reset",
|
|
167061
167056
|
"paddingBlock": "reset",
|
|
@@ -167949,8 +167944,13 @@ const optional = (rule) => {
|
|
|
167949
167944
|
}
|
|
167950
167945
|
};
|
|
167951
167946
|
const faceRule = (name, face) => `@font-face{font-family:${quote(name)};src:${face.src.map((src) => `url(${quote(src)}) format(${quote(face.format)})`).join(",")};font-weight:${safe(face.weight, weight)};font-style:${safe(face.style, /^(?:normal|italic|oblique)$/)};font-display:${safe(face.display, /^(?:auto|block|swap|fallback|optional)$/)};${face.unicodeRange ? `unicode-range:${safe(face.unicodeRange, /^U\+[0-9A-Fa-f?]{1,6}(?:-[0-9A-Fa-f]{1,6})?(?:,\s*U\+[0-9A-Fa-f?]{1,6}(?:-[0-9A-Fa-f]{1,6})?)*$/)};` : ""}}`;
|
|
167952
|
-
/**
|
|
167953
|
-
|
|
167947
|
+
/**
|
|
167948
|
+
* Emits the Site font faces, metric-matched fallback faces and font slot variables.
|
|
167949
|
+
* The slot variables go on `:root` and, with doubled specificity, on the content root,
|
|
167950
|
+
* because `designThemeStyleSheet` declares the system stacks on that root.
|
|
167951
|
+
*/
|
|
167952
|
+
function fontStyleSheet(fonts, root = ".gqd-content") {
|
|
167953
|
+
if (!/^(?:\.[a-zA-Z_][\w-]*|:root)$/.test(root)) throw new Error("Choose a simple class selector or :root.");
|
|
167954
167954
|
if (!fonts) return "";
|
|
167955
167955
|
let css = "";
|
|
167956
167956
|
for (const family of fonts.families) {
|
|
@@ -167967,7 +167967,8 @@ function fontStyleSheet(fonts) {
|
|
|
167967
167967
|
const family = fonts.families.find((entry) => entry.slug === fonts.slots[slot]);
|
|
167968
167968
|
if (family) variables += `--gqd-font-${slot}:${quote(family.name)}, ${family.fallback ? quote(family.name + " Fallback") + ", " : ""}${generic};`;
|
|
167969
167969
|
}
|
|
167970
|
-
|
|
167970
|
+
const selector = root === ":root" ? root : `:root,${root}${root}`;
|
|
167971
|
+
return css + (variables ? `${selector}{${variables}}` : "");
|
|
167971
167972
|
}
|
|
167972
167973
|
/** Framework-neutral link attributes; inject once in the document head. */
|
|
167973
167974
|
function fontPreloads(fonts) {
|
|
@@ -167990,9 +167991,13 @@ function textStyleSheet(styles, root = ".gqd-content") {
|
|
|
167990
167991
|
if (!styles) return "";
|
|
167991
167992
|
if (!/^(?:\.[a-zA-Z_][\w-]*|:root)$/.test(root)) throw new Error("Choose a simple class selector or :root.");
|
|
167992
167993
|
root = root === ":root" ? root : root + root;
|
|
167993
|
-
const
|
|
167994
|
-
|
|
167995
|
-
|
|
167994
|
+
const declaration = (property, value) => optional(() => `${property}:${value()};`);
|
|
167995
|
+
const declarations = (style) => style ? declaration("font-family", () => `var(--gqd-font-${safe(style.slot, /^(?:sans|serif|mono)$/)})`) + declaration("font-weight", () => safe(style.weight, /^(?:[1-9][0-9]{0,2}|1000)$/)) + declaration("line-height", () => safe(style.lineHeight, /^[0-9]+(?:\.[0-9]+)?$/)) + declaration("letter-spacing", () => safe(style.letterSpacing, /^-?[0-9]+(?:\.[0-9]+)?(?:em|px|rem)$/)) : "";
|
|
167996
|
+
const headings = `${root} h1,${root} h2,${root} h3,${root} h4,${root} h5,${root} h6`;
|
|
167997
|
+
const paragraph = declarations(styles.paragraph);
|
|
167998
|
+
const heading = declarations(styles.heading);
|
|
167999
|
+
let css = (paragraph ? `${root}{${paragraph}}` : "") + (heading ? `${headings}{${heading}}` : "");
|
|
168000
|
+
for (const [level, size] of Object.entries(styles.heading?.sizes ?? {})) css += optional(() => `${root} ${safe(level, /^h[1-6]$/)}{font-size:var(--gqd-text-${safe(size, /^(?:xs|sm|base|lg|xl|[2-9]xl)$/)});}`);
|
|
167996
168001
|
return css;
|
|
167997
168002
|
}
|
|
167998
168003
|
//#endregion
|
|
@@ -172897,19 +172902,15 @@ function selfHostedFonts(fonts) {
|
|
|
172897
172902
|
}))
|
|
172898
172903
|
};
|
|
172899
172904
|
}
|
|
172900
|
-
const ROOT = /^(?:\.[a-zA-Z_][\w-]*|:root)$/;
|
|
172901
172905
|
/**
|
|
172902
172906
|
* The `@font-face` rules (Site faces with `font-display` as delivered, and the
|
|
172903
172907
|
* metric-matched fallback faces) and the assigned slots' `--gqd-font-*` stacks.
|
|
172904
|
-
*
|
|
172905
|
-
* stylesheet declares the system stacks on that root,
|
|
172906
|
-
* shadow the assignment inside Design content.
|
|
172908
|
+
* GQ Design sets the stacks on `:root` and, with doubled specificity, on the
|
|
172909
|
+
* content root: the theme stylesheet declares the system stacks on that root,
|
|
172910
|
+
* which would otherwise shadow the assignment inside Design content.
|
|
172907
172911
|
*/
|
|
172908
172912
|
function designFontStyleSheet(fonts, root = ".gqd-content") {
|
|
172909
|
-
|
|
172910
|
-
const css = fontStyleSheet(selfHostedFonts(fonts ?? void 0));
|
|
172911
|
-
const slots = /:root\{([^{}]*)\}$/.exec(css);
|
|
172912
|
-
return slots && root !== ":root" ? `${css}${root}${root}{${slots[1]}}` : css;
|
|
172913
|
+
return fontStyleSheet(selfHostedFonts(fonts ?? void 0), root);
|
|
172913
172914
|
}
|
|
172914
172915
|
/** At most two WOFF2 preloads GQ Design marks (the text styles' primary Latin faces). */
|
|
172915
172916
|
function designFontPreloads(fonts) {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Delivery, A as SqlDatabase, At as DesignThemeOverrides, B as DesignBlockRenderer, Bt as DesignPreloadedPosts, C as Moved, Ct as PresentationTheme, D as SearchPage, Dt as presentationStyleSheet, E as SearchItem, Et as presentationModel, F as isLanguageHome, Ft as DesignFonts, G as escapeHtml, Gt as designQueryItems, H as DesignRenderContext, Ht as DesignQueryRenderContext, I as languageSubject, It as DesignTextStyles, J as Archives, Jt as renderDesignQuery, K as parseDesignBlocks, Kt as preloadDesignQueryPosts, L as routeLanguage, Lt as ResolvedLogoImage, M as SiteLanguage, Mt as designThemeVariables, N as WordPressLanguages, Nt as resolveDesignTheme, O as SearchQuery, Ot as presentationVariables, P as htmlLang, Pt as resolvePresentationToken, Q as CollectionTerm, R as siteLanguages, Rt as DesignPostContext, S as HomePublication, St as PresentationTargets, T as SearchDelivery, Tt as createPresentationModel, U as DesignRenderOptions, Ut as DesignQueryResolverOptions, V as DesignPattern, Vt as DesignQueryItem, W as designMenuItems, Wt as designPostContext, X as CmsFailureReason, Xt as renderDesignText, Y as CmsFailure, Yt as DesignTextContext, Z as CollectionMembership, Zt as safeDesignRichText, _ as EntryDelivery, _t as designFontsHead, a as ContentExtension, at as Missing, b as HomeDelivery, bt as PresentationBreakpoint, ct as Translation, d as CollectionListing, dt as WordPressMenuItem, et as DesignPresets, f as CollectionPage, ft as WordPressPost, g as DeliveryFailureReason, gt as designFontStyleSheet, h as CollectionTermListing, ht as designFontPreloads, i as ContentConsentConfig, it as HomeContent, j as SqlStatement, jt as designThemeStyleSheet, k as ContentBindings, kt as DesignTheme, l as Alternate, lt as Unavailable, m as CollectionTermCount, mt as DesignTypography, n as CollectionConfig, nt as Extended, o as ContentRuntime, ot as PublishedEntry, p as CollectionQuery, pt as WordPressSettings, q as renderDesignPattern, qt as renderDesignPostBlock, r as ContentConfig, rt as Found, s as ExtensionNode, st as SiteChrome, t as WordPressClient, tt as EntryContent, u as CollectionItem, ut as WordPressImage, v as EntryPage, vt as designTextStyleSheet, w as NotServed, wt as Property, x as HomePage, xt as PresentationModel, y as EntryPublication, yt as Presentation, z as DesignBlock, zt as DesignPostRecord } from "./wordpress-
|
|
1
|
+
import { $ as Delivery, A as SqlDatabase, At as DesignThemeOverrides, B as DesignBlockRenderer, Bt as DesignPreloadedPosts, C as Moved, Ct as PresentationTheme, D as SearchPage, Dt as presentationStyleSheet, E as SearchItem, Et as presentationModel, F as isLanguageHome, Ft as DesignFonts, G as escapeHtml, Gt as designQueryItems, H as DesignRenderContext, Ht as DesignQueryRenderContext, I as languageSubject, It as DesignTextStyles, J as Archives, Jt as renderDesignQuery, K as parseDesignBlocks, Kt as preloadDesignQueryPosts, L as routeLanguage, Lt as ResolvedLogoImage, M as SiteLanguage, Mt as designThemeVariables, N as WordPressLanguages, Nt as resolveDesignTheme, O as SearchQuery, Ot as presentationVariables, P as htmlLang, Pt as resolvePresentationToken, Q as CollectionTerm, R as siteLanguages, Rt as DesignPostContext, S as HomePublication, St as PresentationTargets, T as SearchDelivery, Tt as createPresentationModel, U as DesignRenderOptions, Ut as DesignQueryResolverOptions, V as DesignPattern, Vt as DesignQueryItem, W as designMenuItems, Wt as designPostContext, X as CmsFailureReason, Xt as renderDesignText, Y as CmsFailure, Yt as DesignTextContext, Z as CollectionMembership, Zt as safeDesignRichText, _ as EntryDelivery, _t as designFontsHead, a as ContentExtension, at as Missing, b as HomeDelivery, bt as PresentationBreakpoint, ct as Translation, d as CollectionListing, dt as WordPressMenuItem, et as DesignPresets, f as CollectionPage, ft as WordPressPost, g as DeliveryFailureReason, gt as designFontStyleSheet, h as CollectionTermListing, ht as designFontPreloads, i as ContentConsentConfig, it as HomeContent, j as SqlStatement, jt as designThemeStyleSheet, k as ContentBindings, kt as DesignTheme, l as Alternate, lt as Unavailable, m as CollectionTermCount, mt as DesignTypography, n as CollectionConfig, nt as Extended, o as ContentRuntime, ot as PublishedEntry, p as CollectionQuery, pt as WordPressSettings, q as renderDesignPattern, qt as renderDesignPostBlock, r as ContentConfig, rt as Found, s as ExtensionNode, st as SiteChrome, t as WordPressClient, tt as EntryContent, u as CollectionItem, ut as WordPressImage, v as EntryPage, vt as designTextStyleSheet, w as NotServed, wt as Property, x as HomePage, xt as PresentationModel, y as EntryPublication, yt as Presentation, z as DesignBlock, zt as DesignPostRecord } from "./wordpress-D6eSi2Ff.js";
|
|
2
2
|
//#region frontend/src/cover-video-html.d.ts
|
|
3
3
|
/** Native decorative Cover video must not start before motion preferences are
|
|
4
4
|
* known. Retain every source, poster, child and independent video attribute. */
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as VIDEO_HERO_BLOCK, A as formatDate, B as renderDesignPostBlock, C as siteLanguages, D as renderDesignPattern, E as parseDesignBlocks, F as uriPath, G as renderWordPressBlocks, H as hasDesignCarousel, I as renderDesignCover, J as DESIGN_CAROUSEL_ITEM, K as designGridStyle, L as designPostContext, M as responseStatus, N as routeOf, O as cmsTime, P as stripHtml, Q as renderDesignCarouselItem, R as designQueryItems, S as routeLanguage, T as escapeHtml, U as hasVideoHero, V as renderDesignQuery, W as parseWordPressBlocks, X as designCarouselStyle, Y as DESIGN_CAROUSEL_NAVIGATION, Z as renderDesignCarousel, _t as selectSiteLogo, a as designTextStyleSheet, at as enhanceDesignNavigationHtml, b as isLanguageHome, ct as presentationHtml, dt as presentationStyleSheet, et as renderDesignVideoHero, ft as presentationVariables, gt as resolvePresentationToken, ht as resolveDesignTheme, it as safeDesignRichText, j as menuItemHref, k as decodeEntities, lt as createPresentationModel, mt as designThemeVariables, n as designFontStyleSheet, nt as renderDesignImage, ot as navigationStyleSheet, pt as designThemeStyleSheet, q as DESIGN_CAROUSEL, r as designFontsHead, rt as renderDesignText, st as renderDesignNavigation, t as designFontPreloads, tt as youtubeVideoId, ut as presentationModel, w as designMenuItems, x as languageSubject, y as htmlLang, yt as enhanceDesignCoverVideosHtml, z as preloadDesignQueryPosts } from "./design-fonts-
|
|
1
|
+
import { $ as VIDEO_HERO_BLOCK, A as formatDate, B as renderDesignPostBlock, C as siteLanguages, D as renderDesignPattern, E as parseDesignBlocks, F as uriPath, G as renderWordPressBlocks, H as hasDesignCarousel, I as renderDesignCover, J as DESIGN_CAROUSEL_ITEM, K as designGridStyle, L as designPostContext, M as responseStatus, N as routeOf, O as cmsTime, P as stripHtml, Q as renderDesignCarouselItem, R as designQueryItems, S as routeLanguage, T as escapeHtml, U as hasVideoHero, V as renderDesignQuery, W as parseWordPressBlocks, X as designCarouselStyle, Y as DESIGN_CAROUSEL_NAVIGATION, Z as renderDesignCarousel, _t as selectSiteLogo, a as designTextStyleSheet, at as enhanceDesignNavigationHtml, b as isLanguageHome, ct as presentationHtml, dt as presentationStyleSheet, et as renderDesignVideoHero, ft as presentationVariables, gt as resolvePresentationToken, ht as resolveDesignTheme, it as safeDesignRichText, j as menuItemHref, k as decodeEntities, lt as createPresentationModel, mt as designThemeVariables, n as designFontStyleSheet, nt as renderDesignImage, ot as navigationStyleSheet, pt as designThemeStyleSheet, q as DESIGN_CAROUSEL, r as designFontsHead, rt as renderDesignText, st as renderDesignNavigation, t as designFontPreloads, tt as youtubeVideoId, ut as presentationModel, w as designMenuItems, x as languageSubject, y as htmlLang, yt as enhanceDesignCoverVideosHtml, z as preloadDesignQueryPosts } from "./design-fonts-tbvMfxXU.js";
|
|
2
2
|
import { n as videoHeroStyleSheet, t as videoHeroFrameGeometry } from "./video-hero-D8AcMR4q.js";
|
|
3
3
|
//#region frontend/src/wp-block-styles.ts
|
|
4
4
|
const validSlug = (slug) => /^[a-z0-9][a-z0-9-]*$/.test(slug);
|
package/dist/server.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ContentExtension, c as createContentRuntime, i as ContentConsentConfig, k as ContentBindings, n as CollectionConfig, o as ContentRuntime, r as ContentConfig, s as ExtensionNode, t as WordPressClient } from "./wordpress-
|
|
1
|
+
import { a as ContentExtension, c as createContentRuntime, i as ContentConsentConfig, k as ContentBindings, n as CollectionConfig, o as ContentRuntime, r as ContentConfig, s as ExtensionNode, t as WordPressClient } from "./wordpress-D6eSi2Ff.js";
|
|
2
2
|
export { CollectionConfig, type ContentBindings, ContentConfig, ContentConsentConfig, ContentExtension, ContentRuntime, ExtensionNode, type WordPressClient, createContentRuntime };
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as parseFragment } from "./dist-5jNKLmbn.js";
|
|
2
|
-
import { C as siteLanguages, D as renderDesignPattern, E as parseDesignBlocks, F as uriPath, G as renderWordPressBlocks, H as hasDesignCarousel, N as routeOf, O as cmsTime, P as stripHtml, S as routeLanguage, U as hasVideoHero, W as parseWordPressBlocks, _ as unionType, at as enhanceDesignNavigationHtml, b as isLanguageHome, bt as safeContentUrl, c as arrayType, d as lazyType, f as literalType, g as stringType, h as recordType, ht as resolveDesignTheme, i as designFontsSchema, j as menuItemHref, k as decodeEntities, l as booleanType, m as objectType, o as designTextStylesSchema, p as numberType, s as NEVER, u as enumType, v as unknownType, vt as assertDesignBlocks, x as languageSubject, yt as enhanceDesignCoverVideosHtml, z as preloadDesignQueryPosts } from "./design-fonts-
|
|
2
|
+
import { C as siteLanguages, D as renderDesignPattern, E as parseDesignBlocks, F as uriPath, G as renderWordPressBlocks, H as hasDesignCarousel, N as routeOf, O as cmsTime, P as stripHtml, S as routeLanguage, U as hasVideoHero, W as parseWordPressBlocks, _ as unionType, at as enhanceDesignNavigationHtml, b as isLanguageHome, bt as safeContentUrl, c as arrayType, d as lazyType, f as literalType, g as stringType, h as recordType, ht as resolveDesignTheme, i as designFontsSchema, j as menuItemHref, k as decodeEntities, l as booleanType, m as objectType, o as designTextStylesSchema, p as numberType, s as NEVER, u as enumType, v as unknownType, vt as assertDesignBlocks, x as languageSubject, yt as enhanceDesignCoverVideosHtml, z as preloadDesignQueryPosts } from "./design-fonts-tbvMfxXU.js";
|
|
3
3
|
import { d as parseFormDescriptors, o as findForm } from "./descriptor-x8kHFQ79.js";
|
|
4
4
|
import { t as bearerMatches } from "./bearer-DMOCoSci.js";
|
|
5
5
|
import { _ as consentConfiguration } from "./state-BYWc5TUB.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region frontend/src/consent/version.ts
|
|
3
3
|
/** The UI/adapter version recorded with each decision (CN-R7). */
|
|
4
|
-
const CONSENT_UI_VERSION = `gq-content@0.5.
|
|
4
|
+
const CONSENT_UI_VERSION = `gq-content@0.5.1`;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { CONSENT_UI_VERSION as t };
|
|
@@ -313,9 +313,9 @@ interface DesignTypography {
|
|
|
313
313
|
/**
|
|
314
314
|
* The `@font-face` rules (Site faces with `font-display` as delivered, and the
|
|
315
315
|
* metric-matched fallback faces) and the assigned slots' `--gqd-font-*` stacks.
|
|
316
|
-
*
|
|
317
|
-
* stylesheet declares the system stacks on that root,
|
|
318
|
-
* shadow the assignment inside Design content.
|
|
316
|
+
* GQ Design sets the stacks on `:root` and, with doubled specificity, on the
|
|
317
|
+
* content root: the theme stylesheet declares the system stacks on that root,
|
|
318
|
+
* which would otherwise shadow the assignment inside Design content.
|
|
319
319
|
*/
|
|
320
320
|
declare function designFontStyleSheet(fonts?: DesignFonts | null, root?: string): string;
|
|
321
321
|
/** At most two WOFF2 preloads GQ Design marks (the text styles' primary Latin faces). */
|