@bison-lab/payload-core 4.20.0 → 4.23.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.
@@ -1,4 +1,4 @@
1
- import { A as PACKAGE_BLOCK_SLUGS, C as BlockLibraryDoc, D as BlockLibraryKind, O as BlockLibraryRow, T as BlockLibraryEntry, _ as SectionControls, a as sectionControlsFromLibrary, c as BlockLibraryReader, d as DEFAULT_SECTION_CONTROLS, f as HERO_SECTION_CONTROLS, g as SectionControlKey, h as SECTION_CONTROL_LABELS, i as defaultBlockLibraryValue, j as PackageBlockSlug, l as blockLibraryEntriesFromConfig, m as SECTION_CONTROL_KEYS, n as BlockLibraryOptions, o as stampBlockLibrary, p as NO_SECTION_CONTROLS, r as blockLibraryCatalogue, s as validateBlockLibrary, t as BlockLibraryCheck, u as getSectionControls, v as defaultSectionControls, x as BLOCK_LIBRARY_SLUG, y as sectionControlsOf } from "./catalogue-DMoDgScN.mjs";
1
+ import { A as PACKAGE_BLOCK_SLUGS, C as BlockLibraryDoc, D as BlockLibraryKind, O as BlockLibraryRow, T as BlockLibraryEntry, _ as SectionControls, a as sectionControlsFromLibrary, c as BlockLibraryReader, d as DEFAULT_SECTION_CONTROLS, f as HERO_SECTION_CONTROLS, g as SectionControlKey, h as SECTION_CONTROL_LABELS, i as defaultBlockLibraryValue, j as PackageBlockSlug, l as blockLibraryEntriesFromConfig, m as SECTION_CONTROL_KEYS, n as BlockLibraryOptions, o as stampBlockLibrary, p as NO_SECTION_CONTROLS, r as blockLibraryCatalogue, s as validateBlockLibrary, t as BlockLibraryCheck, u as getSectionControls, v as defaultSectionControls, x as BLOCK_LIBRARY_SLUG, y as sectionControlsOf } from "./catalogue-D8RgcFNY.mjs";
2
2
 
3
3
  //#region src/block-library/island.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { _ as sectionControlsOf, a as sectionControlsFromLibrary, d as DEFAULT_SECTION_CONTROLS, f as HERO_SECTION_CONTROLS, g as defaultSectionControls, h as SECTION_CONTROL_LABELS, i as defaultBlockLibraryValue, l as BLOCK_LIBRARY_SLUG, m as SECTION_CONTROL_KEYS, n as getSectionControls, o as stampBlockLibrary, p as NO_SECTION_CONTROLS, r as blockLibraryCatalogue, s as validateBlockLibrary, t as blockLibraryEntriesFromConfig, u as PACKAGE_BLOCK_SLUGS } from "./published-BjmUCpdY.mjs";
1
+ import { _ as sectionControlsOf, a as sectionControlsFromLibrary, d as DEFAULT_SECTION_CONTROLS, f as HERO_SECTION_CONTROLS, g as defaultSectionControls, h as SECTION_CONTROL_LABELS, i as defaultBlockLibraryValue, l as BLOCK_LIBRARY_SLUG, m as SECTION_CONTROL_KEYS, n as getSectionControls, o as stampBlockLibrary, p as NO_SECTION_CONTROLS, r as blockLibraryCatalogue, s as validateBlockLibrary, t as blockLibraryEntriesFromConfig, u as PACKAGE_BLOCK_SLUGS } from "./published-CWBd2bO5.mjs";
2
2
  //#region src/block-library/island.ts
3
3
  /**
4
4
  * How a Block library island tells its card how tall it is (BIS-147).
@@ -40,7 +40,7 @@ type BlockLibraryKind = "hero" | "section" | "navbar";
40
40
  * cards. Navigation's card is `floatingNav`. CTA is a category for a site
41
41
  * extra; the package ships no CTA slug. The preview route is SPI-53.
42
42
  */
43
- declare const PACKAGE_BLOCK_SLUGS: readonly ["hero", "heroSweep", "heroCompact", "showcasePanels", "processSteps", "faqColumns", "testimonialMasonry", "statsBand", "richText", "nap", "floatingNav"];
43
+ declare const PACKAGE_BLOCK_SLUGS: readonly ["hero", "heroSweep", "heroCompact", "heroSimple", "showcasePanels", "featureHighlights", "featureChecklist", "processSteps", "faqColumns", "testimonialMasonry", "testimonialCarousel", "statsBand", "richText", "nap", "floatingNav"];
44
44
  type PackageBlockSlug = (typeof PACKAGE_BLOCK_SLUGS)[number];
45
45
  interface BlockLibraryEntry {
46
46
  slug: string;
@@ -202,4 +202,4 @@ declare function sectionControlsFromLibrary(doc: BlockLibraryDoc | null | undefi
202
202
  declare function validateBlockLibrary(value: unknown, options: BlockLibraryOptions, check?: BlockLibraryCheck): Promise<true | string>;
203
203
  //#endregion
204
204
  export { PACKAGE_BLOCK_SLUGS as A, BlockLibraryDoc as C, BlockLibraryKind as D, BlockLibraryHolder as E, BlockLibraryRow as O, BlockLibraryCategoryId as S, BlockLibraryEntry as T, SectionControls as _, sectionControlsFromLibrary as a, BLOCK_LIBRARY_CATEGORIES as b, BlockLibraryReader as c, DEFAULT_SECTION_CONTROLS as d, HERO_SECTION_CONTROLS as f, SectionControlKey as g, SECTION_CONTROL_LABELS as h, defaultBlockLibraryValue as i, PackageBlockSlug as j, BlockLibraryUsage as k, blockLibraryEntriesFromConfig as l, SECTION_CONTROL_KEYS as m, BlockLibraryOptions as n, stampBlockLibrary as o, NO_SECTION_CONTROLS as p, blockLibraryCatalogue as r, validateBlockLibrary as s, BlockLibraryCheck as t, getSectionControls as u, defaultSectionControls as v, BlockLibraryDraftHolder as w, BLOCK_LIBRARY_SLUG as x, sectionControlsOf as y };
205
- //# sourceMappingURL=catalogue-DMoDgScN.d.mts.map
205
+ //# sourceMappingURL=catalogue-D8RgcFNY.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogue-D8RgcFNY.d.mts","names":[],"sources":["../src/block-library/types.ts","../src/block-library/controls.ts","../src/block-library/published.ts","../src/block-library/catalogue.ts"],"mappings":";;;cAEa,kBAAA;AAAA,cAEA,wBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaD,sBAAA,WAAiC,wBAAA;AAAA,KAEjC,gBAAA;;;;;AAAZ;cAOa,mBAAA;AAAA,KAkBD,gBAAA,WAA2B,mBAAA;AAAA,UAEtB,iBAAA;EACf,IAAA;EACA,KAAA;EACA,QAAA;;EAEA,IAAA,GAAO,gBAAA;EACP,YAAA;EACA,MAAA;EAT0B;;;;AAE5B;;EAcE,eAAA,GAAkB,OAAA,CAAQ,eAAA;EATnB;;;;;;;EAiBP,SAAA;AAAA;AAAA,UAGe,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AAA;;EAEnB,MAAA,YAAkB,kBAAA;EAClB,KAAA;AAAA;AAAA,iBAGc,qBAAA,CAAsB,MAAA,YAAiB,iBAAA,KAA2B,iBAAA;AAAA,iBAQlE,wBAAA,CAAyB,OAAA,EAAS,mBAAA,GAAsB,eAAA;;;;;;;;iBAuBxD,iBAAA,CAAkB,KAAA,WAAgB,OAAA,EAAS,mBAAA,GAAsB,eAAA;;;;;;;;;;;AHvEjF;iBGgHgB,0BAAA,CACd,GAAA,EAAK,eAAA,qBACL,MAAA,YAAiB,iBAAA,KAChB,MAAA,SAAe,eAAA;;;;AHjHlB;;;iBGiJsB,oBAAA,CACpB,KAAA,WACA,OAAA,EAAS,mBAAA,EACT,KAAA,GAAO,iBAAA,GACN,OAAA"}
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as PACKAGE_BLOCK_SLUGS, C as BlockLibraryDoc, D as BlockLibraryKind, E as BlockLibraryHolder, O as BlockLibraryRow, S as BlockLibraryCategoryId, T as BlockLibraryEntry, _ as SectionControls, a as sectionControlsFromLibrary, b as BLOCK_LIBRARY_CATEGORIES, c as BlockLibraryReader, d as DEFAULT_SECTION_CONTROLS, f as HERO_SECTION_CONTROLS, g as SectionControlKey, h as SECTION_CONTROL_LABELS, i as defaultBlockLibraryValue, k as BlockLibraryUsage, l as blockLibraryEntriesFromConfig, m as SECTION_CONTROL_KEYS, n as BlockLibraryOptions, o as stampBlockLibrary, p as NO_SECTION_CONTROLS, r as blockLibraryCatalogue, s as validateBlockLibrary, u as getSectionControls, v as defaultSectionControls, w as BlockLibraryDraftHolder, x as BLOCK_LIBRARY_SLUG, y as sectionControlsOf } from "./catalogue-DMoDgScN.mjs";
1
+ import { A as PACKAGE_BLOCK_SLUGS, C as BlockLibraryDoc, D as BlockLibraryKind, E as BlockLibraryHolder, O as BlockLibraryRow, S as BlockLibraryCategoryId, T as BlockLibraryEntry, _ as SectionControls, a as sectionControlsFromLibrary, b as BLOCK_LIBRARY_CATEGORIES, c as BlockLibraryReader, d as DEFAULT_SECTION_CONTROLS, f as HERO_SECTION_CONTROLS, g as SectionControlKey, h as SECTION_CONTROL_LABELS, i as defaultBlockLibraryValue, k as BlockLibraryUsage, l as blockLibraryEntriesFromConfig, m as SECTION_CONTROL_KEYS, n as BlockLibraryOptions, o as stampBlockLibrary, p as NO_SECTION_CONTROLS, r as blockLibraryCatalogue, s as validateBlockLibrary, u as getSectionControls, v as defaultSectionControls, w as BlockLibraryDraftHolder, x as BLOCK_LIBRARY_SLUG, y as sectionControlsOf } from "./catalogue-D8RgcFNY.mjs";
2
2
  import { a as SeoImageSize, i as SeoImageDoc, n as titleTemplate, o as SeoImageValue, r as MediaId, s as SeoMeta, t as documentTitle } from "./title-BvjHeRo5.mjs";
3
3
  import { B as rewriteColorUsages, C as THEME_COLORS_SLUG, D as ThemeColorDoc, E as THEME_TYPOGRAPHY_SLUG, F as resolveThemeIdentity, I as ColorUsage, L as ColorUsagesList, M as ThemeUploadDoc, N as ResolvedThemeIdentity, O as ThemeDoc, P as ThemeIdentityFallback, R as ColorUsagesOption, S as THEME_APPEARANCE_SLUG, T as THEME_SLUG, _ as themeColorKeys, a as pageEditorLooks, b as SYSTEM_COLOR_KEYS, c as LookFieldMode, d as lookField, f as ColorTokenHit, g as rewriteColorToken, h as deleteLibraryColor, i as PageEditorSystemKey, j as ThemeLibraryColorDoc, l as LookFieldOptions, m as rewriteColorTokens, n as LookOption, o as pageEditorTokens, p as findColorTokens, r as PAGE_EDITOR_SYSTEM_KEYS, s as themeLibraryFromDoc, t as THEME_PREVIEW_BREAKPOINTS, u as colorTokenField, v as CreateThemeOptions, w as THEME_IDENTITY_SLUG, x as SystemColorKey, y as EditableTheme, z as findColorUsages } from "./preview-T5VFcS32.mjs";
4
4
  import { n as facetField, t as FacetEntry } from "./facet-field-DKzRCYrh.mjs";