@getquick/content 0.6.0 → 0.6.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 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 or newer (contract 2.1.0; this package bundles 0.10.2) 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.4) 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
@@ -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-CcJhZgHO.js";
3
+ import { t as CONSENT_UI_VERSION } from "./version-BZolkooG.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-CcJhZgHO.js";
4
+ import { t as CONSENT_UI_VERSION } from "./version-BZolkooG.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 };
@@ -167083,8 +167083,7 @@ var presentation_default = {
167083
167083
  "paddingInline": "reset",
167084
167084
  "marginBlock": "reset",
167085
167085
  "marginInline": "reset",
167086
- "listStyleType": "none",
167087
- "listStylePosition": "outside"
167086
+ "listStylePosition": "inside"
167088
167087
  },
167089
167088
  "core/list-item": {
167090
167089
  "fontFamily": "reset",
@@ -167224,6 +167223,21 @@ var presentation_default = {
167224
167223
  "paddingInline": ["paddingRight", "paddingLeft"]
167225
167224
  },
167226
167225
  targets: {
167226
+ "core/list": {
167227
+ "elements": {
167228
+ "unordered": [":is(ul)"],
167229
+ "ordered": [":is(ol)"]
167230
+ },
167231
+ "rules": [{
167232
+ "target": "unordered",
167233
+ "important": true,
167234
+ "declarations": { "list-style-type": "disc" }
167235
+ }, {
167236
+ "target": "ordered",
167237
+ "important": true,
167238
+ "declarations": { "list-style-type": "decimal" }
167239
+ }]
167240
+ },
167227
167241
  "core/image": {
167228
167242
  "selector": ".wp-block-image",
167229
167243
  "elements": {
@@ -167839,8 +167853,9 @@ function presentationStyleSheet(theme = {}, options = {}) {
167839
167853
  const flowSelector = (name, respectNativeMargin = false) => capabilities[name] ? selectorOf(name) : `.${ownClassOf(name)}${respectNativeMargin ? `:not(${nativeMargin})` : ""}`;
167840
167854
  const flowBlocks = (respectNativeMargin) => `:is(${(flow?.blocks ?? []).map((name) => flowSelector(name, respectNativeMargin)).join(",")})`;
167841
167855
  const flowRule = flow ? `:where(:not(${nonFlowParents}) > * + ${flowBlocks(true)}){margin-block-start:${flow.gap} !important;}` + (flow.layout?.length ? `:where(${flowBlocks(false)} + :is(${flow.layout.map((name) => flowSelector(name)).join(",")}):not(:is(header,footer,nav,${nonFlowParents}) *)){margin-block-start:${flow.gap} !important;}` : "") : "";
167856
+ const editorRule = options.editor ? `li.gqd-presentation > .block-editor-rich-text__editable{display:inline;}` : "";
167842
167857
  for (const [breakpoint, threshold] of Object.entries(breakpoints)) {
167843
- let rule = breakpoint === "base" ? flowRule : "";
167858
+ let rule = breakpoint === "base" ? flowRule + editorRule : "";
167844
167859
  applicable.push(breakpoint);
167845
167860
  for (const [name, supported] of Object.entries(capabilities)) {
167846
167861
  const target = configuredModel.targets?.[name];
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-tbvMfxXU.js";
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-IaTVX3bG.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.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-tbvMfxXU.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-IaTVX3bG.js";
3
3
  import { m as parseFormDescriptors, s as findForm } from "./descriptor-DXmLmjEa.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.6.0`;
4
+ const CONSENT_UI_VERSION = `gq-content@0.6.1`;
5
5
  //#endregion
6
6
  export { CONSENT_UI_VERSION as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getquick/content",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "license": "UNLICENSED",
5
5
  "files": [
6
6
  "dist",