@riverbankcms/sdk 0.77.0 → 0.78.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 +69 -0
- package/dist/{PreviewEditorSidebar-XSX7QKHQ.mjs → PreviewEditorSidebar-RIKFQ72L.mjs} +4916 -4847
- package/dist/{PreviewEditorUI-YZNEZ3QD.mjs → PreviewEditorUI-XO7TUWKK.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-LAGYMPNF.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +194 -184
- package/dist/_dts/api/src/accessAdmin.d.ts +5 -0
- package/dist/_dts/api/src/billing.d.ts +3 -26
- package/dist/_dts/api/src/bookingVerticals.d.ts +4 -0
- package/dist/_dts/api/src/content-editor.d.ts +1 -0
- package/dist/_dts/api/src/demoDashboardMutationSurfaces.d.ts +46 -0
- package/dist/_dts/api/src/endpoints.d.ts +8 -0
- package/dist/_dts/api/src/index.d.ts +14 -2
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +87 -0
- package/dist/_dts/api/src/navigation/dashboardDemoNav.d.ts +5 -0
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +45 -0
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +42 -0
- package/dist/_dts/api/src/navigation/dashboardTeamMemberNav.d.ts +24 -0
- package/dist/_dts/api/src/navigation/linkUrlType.d.ts +3 -0
- package/dist/_dts/api/src/navigation.d.ts +12 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +55 -26
- package/dist/_dts/api/src/staffAccess.d.ts +79 -0
- package/dist/_dts/api/src/types.d.ts +3 -1
- package/dist/_dts/api/src/workflows/automaticWorkflowTriggers.d.ts +21 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +4 -1
- package/dist/_dts/blocks/src/customBlockRegistry.d.ts +20 -1
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +294 -289
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +21 -21
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +5 -3
- package/dist/_dts/blocks/src/system/data/previewResolvedDataState.d.ts +45 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/library/faqAccordion.d.ts +5 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +5 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -29
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +10 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +43 -8
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/runtimeFormValidation.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/header/shared.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCompactRow.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.server.d.ts +2 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-cart-discount-ui.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout-form.d.ts +76 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout.state.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce-store.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.shared.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-discount-apply.state.d.ts +52 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.state.d.ts +2 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/useDiscountApply.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +54 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +4 -4
- package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/contentTypeEditorContentState.d.ts +26 -0
- package/dist/_dts/content-editor/src/definitions/factory.d.ts +75 -0
- package/dist/_dts/content-editor/src/entryWorkflows.d.ts +2 -0
- package/dist/_dts/content-editor/src/footerBlocksEditorState.d.ts +76 -0
- package/dist/_dts/content-editor/src/index.d.ts +5 -0
- package/dist/_dts/content-editor/src/pageWorkflowContent.d.ts +29 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +3 -3
- package/dist/_dts/content-model/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/routeTemplate.d.ts +4 -0
- package/dist/_dts/content-model/src/templates/editorState.d.ts +25 -0
- package/dist/_dts/core/src/csv-cells.d.ts +10 -0
- package/dist/_dts/core/src/csv-date-filter.d.ts +27 -0
- package/dist/_dts/core/src/csv-escape.d.ts +1 -0
- package/dist/_dts/core/src/csv-filename.d.ts +18 -0
- package/dist/_dts/core/src/csv-render.d.ts +4 -0
- package/dist/_dts/core/src/csv-types.d.ts +116 -0
- package/dist/_dts/core/src/currency-format.d.ts +4 -0
- package/dist/_dts/core/src/demo-capability-policy.d.ts +29 -0
- package/dist/_dts/core/src/demo-claim-access.d.ts +14 -0
- package/dist/_dts/core/src/demo-lifecycle-status.d.ts +11 -0
- package/dist/_dts/core/src/demo-runtime.d.ts +47 -0
- package/dist/_dts/core/src/duration.d.ts +14 -0
- package/dist/_dts/core/src/email-format.d.ts +10 -0
- package/dist/_dts/core/src/field-errors.d.ts +1 -0
- package/dist/_dts/core/src/form-submission-preview.d.ts +24 -0
- package/dist/_dts/core/src/index.d.ts +20 -0
- package/dist/_dts/core/src/number-input.d.ts +22 -0
- package/dist/_dts/core/src/public-url-validation.d.ts +12 -0
- package/dist/_dts/core/src/slug.d.ts +39 -0
- package/dist/_dts/core/src/string.d.ts +19 -0
- package/dist/_dts/core/src/uuid.d.ts +6 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +50 -50
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +34 -0
- package/dist/_dts/media-core/src/bulkDeletePlanning.d.ts +24 -0
- package/dist/_dts/media-core/src/canonicalCropReview.d.ts +66 -0
- package/dist/_dts/media-core/src/classifyAllPlanning.d.ts +48 -0
- package/dist/_dts/media-core/src/filename.d.ts +1 -0
- package/dist/_dts/media-core/src/index.d.ts +10 -0
- package/dist/_dts/media-core/src/mediaAssetUsageStatus.d.ts +47 -0
- package/dist/_dts/media-core/src/mediaSettingsState.d.ts +3 -0
- package/dist/_dts/media-core/src/portableMediaReferences.d.ts +38 -0
- package/dist/_dts/media-core/src/uploadVerificationContract.d.ts +28 -0
- package/dist/_dts/media-core/src/videoAssetRepair.d.ts +38 -0
- package/dist/_dts/media-editor/src/mediaEditorDebug.d.ts +1 -0
- package/dist/_dts/path-utils/src/index.d.ts +8 -0
- package/dist/_dts/path-utils/src/redirectPaths.d.ts +26 -0
- package/dist/_dts/path-utils/src/safeAppPath.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/previewDocumentFrame.d.ts +31 -0
- package/dist/_dts/sdk/src/client/error.d.ts +3 -0
- package/dist/_dts/sdk/src/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +37 -19
- package/dist/_dts/sdk/src/contracts/theme.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +2 -2
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +16 -16
- package/dist/_dts/sdk/src/next/content-load-failure.d.ts +51 -0
- package/dist/_dts/sdk/src/next/index.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +19 -0
- package/dist/_dts/sdk/src/portal/redirects.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +3 -2
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +71 -6
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +12 -12
- package/dist/_dts/site-commands/src/index.d.ts +1 -0
- package/dist/_dts/site-commands/src/pagePaths.d.ts +6 -0
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +26 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -0
- package/dist/_dts/theme-core/src/blocks/vars/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/fonts/uploadFormat.d.ts +44 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +3 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +63 -51
- package/dist/_dts/theme-core/src/navigation/generateNavLinkCSS.d.ts +6 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/runtime/themeCssVarNames.d.ts +7 -0
- package/dist/_dts/theme-core/src/schema.d.ts +90 -48
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +214 -34
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -2
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +214 -34
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +35 -7
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +96 -34
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +9 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +27 -2
- package/dist/_dts/theme-core/src/siteChrome.d.ts +17 -34
- package/dist/_dts/theme-core/src/siteChromeOverlayClearance.d.ts +22 -0
- package/dist/_dts/theme-core/src/siteChromePlacement.d.ts +22 -0
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +32 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/{chunk-EAWHBECW.mjs → chunk-F7RTCZYN.mjs} +229 -50
- package/dist/{chunk-GSQX43EZ.mjs → chunk-NIDXI46P.mjs} +22 -41
- package/dist/{chunk-WLQBJN2Z.mjs → chunk-OECWLDHN.mjs} +4538 -1911
- package/dist/{chunk-VX7B5VAC.mjs → chunk-SVMMM2NA.mjs} +8 -0
- package/dist/{chunk-6SMUFTXD.mjs → chunk-SXOLGNMX.mjs} +1 -1
- package/dist/{chunk-ANKDYZ2E.mjs → chunk-TXDES5P2.mjs} +2 -2
- package/dist/cli/index.mjs +2036 -594
- package/dist/client/{accordion-RZMQSYLR.mjs → accordion-EVDEOUPR.mjs} +2 -2
- package/dist/client/{bookingForm-NF4ASVNV.mjs → bookingForm-DIHBLC64.mjs} +27 -30
- package/dist/client/bookings.mjs +3707 -259
- package/dist/client/{carousel-LDX47ZIK.mjs → carousel-FEBQHIWI.mjs} +3 -4
- package/dist/client/{cart-RGXDS5F4.mjs → cart-7CKSXAE4.mjs} +8 -8
- package/dist/client/{checkout-P7WWSNNY.mjs → checkout-WKYCANLV.mjs} +8 -8
- package/dist/client/{chunk-JNC7CGHX.mjs → chunk-2SAVKN2M.mjs} +2 -2
- package/dist/client/{chunk-TQ5MSPDX.mjs → chunk-36WJCERQ.mjs} +1 -1
- package/dist/client/{chunk-R56FQ3RR.mjs → chunk-65F47D7Y.mjs} +280 -71
- package/dist/client/{chunk-L3DNHIJX.mjs → chunk-GUK2FPXQ.mjs} +23 -45
- package/dist/client/{chunk-PMAIXMAB.mjs → chunk-IVNCUVAV.mjs} +26 -21
- package/dist/client/{chunk-II7O4XN3.mjs → chunk-OFMSCGNY.mjs} +2 -2
- package/dist/client/chunk-PD6NBCEY.mjs +66 -0
- package/dist/client/{chunk-GMVTOKYG.mjs → chunk-RV6FX7UH.mjs} +510 -64
- package/dist/client/{chunk-E2TDNXCL.mjs → chunk-RZDWX7QW.mjs} +2 -1
- package/dist/client/{chunk-M3L3KYYR.mjs → chunk-UDNSI5PY.mjs} +12 -0
- package/dist/client/{chunk-JEZECJ3W.mjs → chunk-VPPMNXCF.mjs} +129 -3
- package/dist/client/{chunk-UFSWADAO.mjs → chunk-YDSEG6GZ.mjs} +5 -66
- package/dist/client/client.mjs +8983 -6152
- package/dist/client/{courseRegistration-7F65K5ZR.mjs → courseRegistration-5QF2PHKM.mjs} +14 -11
- package/dist/client/{eventCalendar-GLSC5KTL.mjs → eventCalendar-4ZOSETDU.mjs} +9 -9
- package/dist/client/{eventCombined-ZHK4WKUR.mjs → eventCombined-WQGU7JUX.mjs} +9 -9
- package/dist/client/{eventDetails-E3PJYBIN.mjs → eventDetails-AYWVUJ5Y.mjs} +9 -9
- package/dist/client/{eventListing-EMS3WC3E.mjs → eventListing-NT7C6UT5.mjs} +9 -9
- package/dist/client/{eventRegistration-NZOTVNPI.mjs → eventRegistration-OH24F4ZJ.mjs} +9 -9
- package/dist/client/{form-ETFZFATW.mjs → form-7L42SRBB.mjs} +6 -6
- package/dist/client/{headerSection-4LBP7ULT.mjs → headerSection-OZRZNZ52.mjs} +3 -3
- package/dist/client/hooks.mjs +1388 -427
- package/dist/client/{locationMap-5M655YSJ.mjs → locationMap-ZBXRPQ7C.mjs} +2 -2
- package/dist/client/{newsletterForm-QOUYW44O.mjs → newsletterForm-SNAGFF2I.mjs} +3 -3
- package/dist/client/{productDetail-O4DOCWQG.mjs → productDetail-I46BOFGV.mjs} +8 -8
- package/dist/client/{productList-A5RO5WIS.mjs → productList-BOYHTYI6.mjs} +8 -8
- package/dist/client/rendering/client.mjs +7090 -2645
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +7395 -4767
- package/dist/client/{shop-L4MZH4I2.mjs → shop-XTXPZTKR.mjs} +8 -8
- package/dist/preview-next/before-render.mjs +8 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/editor-chrome.css +10 -0
- package/dist/preview-next/middleware.mjs +8 -0
- package/dist/{sdk-runtime-Q6MTR4KL.mjs → sdk-runtime-ZJLKC6DR.mjs} +6 -6
- package/dist/server/components.mjs +4175 -2480
- package/dist/server/config-validation.mjs +1619 -658
- package/dist/server/config.mjs +1619 -658
- package/dist/server/data.mjs +1388 -427
- package/dist/server/index.mjs +488 -246
- package/dist/server/next.mjs +5607 -3354
- package/dist/server/page-converter.mjs +912 -259
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4176 -2481
- package/dist/server/rendering.mjs +4194 -2486
- package/dist/server/routing.mjs +2078 -639
- package/dist/server/server.mjs +1886 -685
- package/dist/server/theme-bridge.mjs +4441 -1300
- package/dist/server/theme.mjs +89 -12
- package/dist/styles/index.css +1576 -1083
- package/package.json +2 -1
- package/dist/SdkPreviewModeRuntime-5FS5E6BI.mjs +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/DiscountCodeSection.d.ts +0 -7
- package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +0 -4
- package/dist/client/chunk-OJPZEZU2.mjs +0 -31
- package/dist/client/chunk-RTZ3JKKX.mjs +0 -178
|
@@ -16,10 +16,107 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
16
16
|
readonly transitionAfter: "soft-fade-short";
|
|
17
17
|
readonly emphasis: "high";
|
|
18
18
|
readonly sectionHeight: "hero";
|
|
19
|
+
readonly heroComposition: "center";
|
|
20
|
+
readonly heroTypographyScale: "display";
|
|
19
21
|
readonly imageSurfaceTreatment: {
|
|
20
22
|
readonly kind: "neutral-wash";
|
|
21
23
|
};
|
|
22
24
|
};
|
|
25
|
+
}, {
|
|
26
|
+
readonly kind: "block-design";
|
|
27
|
+
readonly id: "hero-bottom-left-panel";
|
|
28
|
+
readonly target: "hero";
|
|
29
|
+
readonly label: "Bottom-left panel hero";
|
|
30
|
+
readonly blockKinds: readonly ["block.hero"];
|
|
31
|
+
readonly constraints: {
|
|
32
|
+
readonly layoutFamilies: readonly ["centered", "compact"];
|
|
33
|
+
};
|
|
34
|
+
readonly optionGroups: readonly [{
|
|
35
|
+
readonly id: "image-surface-treatment";
|
|
36
|
+
readonly label: "Treatment";
|
|
37
|
+
readonly selectedOptionId: "neutral-scrim";
|
|
38
|
+
readonly options: readonly [{
|
|
39
|
+
readonly id: "neutral-scrim";
|
|
40
|
+
readonly label: "Neutral scrim";
|
|
41
|
+
readonly designPatch: {
|
|
42
|
+
readonly imageSurfaceTreatment: {
|
|
43
|
+
readonly kind: "neutral-scrim";
|
|
44
|
+
readonly intensity: "balanced";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
readonly id: "brand-scrim-primary";
|
|
49
|
+
readonly label: "Brand scrim";
|
|
50
|
+
readonly designPatch: {
|
|
51
|
+
readonly imageSurfaceTreatment: {
|
|
52
|
+
readonly kind: "brand-scrim";
|
|
53
|
+
readonly token: "primary";
|
|
54
|
+
readonly intensity: "balanced";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
}];
|
|
58
|
+
}];
|
|
59
|
+
readonly layoutPatches: readonly [{
|
|
60
|
+
readonly constraints: {
|
|
61
|
+
readonly layoutVariantKeys: readonly ["micro"];
|
|
62
|
+
};
|
|
63
|
+
readonly designPatch: {
|
|
64
|
+
readonly sectionHeight: "banner";
|
|
65
|
+
readonly heroTypographyScale: "editorial";
|
|
66
|
+
};
|
|
67
|
+
}];
|
|
68
|
+
readonly design: {
|
|
69
|
+
readonly sectionSurface: "hero-image";
|
|
70
|
+
readonly contentFrame: Readonly<{
|
|
71
|
+
kind: "panel";
|
|
72
|
+
treatment: "raised";
|
|
73
|
+
}>;
|
|
74
|
+
readonly itemSurface: "none";
|
|
75
|
+
readonly transitionAfter: "soft-fade-short";
|
|
76
|
+
readonly emphasis: "high";
|
|
77
|
+
readonly sectionHeight: "immersive";
|
|
78
|
+
readonly heroComposition: "bottom-left";
|
|
79
|
+
readonly heroTypographyScale: "display";
|
|
80
|
+
readonly imageSurfaceTreatment: {
|
|
81
|
+
readonly kind: "neutral-scrim";
|
|
82
|
+
readonly intensity: "balanced";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
readonly kind: "block-design";
|
|
87
|
+
readonly id: "hero-poster-image";
|
|
88
|
+
readonly target: "hero";
|
|
89
|
+
readonly label: "Poster image hero";
|
|
90
|
+
readonly blockKinds: readonly ["block.hero"];
|
|
91
|
+
readonly constraints: {
|
|
92
|
+
readonly layoutFamilies: readonly ["centered", "compact"];
|
|
93
|
+
};
|
|
94
|
+
readonly layoutPatches: readonly [{
|
|
95
|
+
readonly constraints: {
|
|
96
|
+
readonly layoutVariantKeys: readonly ["micro"];
|
|
97
|
+
};
|
|
98
|
+
readonly designPatch: {
|
|
99
|
+
readonly sectionHeight: "banner";
|
|
100
|
+
readonly heroTypographyScale: "display";
|
|
101
|
+
};
|
|
102
|
+
}];
|
|
103
|
+
readonly design: {
|
|
104
|
+
readonly sectionSurface: "hero-image";
|
|
105
|
+
readonly contentFrame: {
|
|
106
|
+
readonly kind: "plain";
|
|
107
|
+
};
|
|
108
|
+
readonly itemSurface: "none";
|
|
109
|
+
readonly transitionAfter: "soft-fade-short";
|
|
110
|
+
readonly emphasis: "high";
|
|
111
|
+
readonly sectionHeight: "immersive";
|
|
112
|
+
readonly heroComposition: "center";
|
|
113
|
+
readonly heroTypographyScale: "poster";
|
|
114
|
+
readonly imageSurfaceTreatment: {
|
|
115
|
+
readonly kind: "brand-scrim";
|
|
116
|
+
readonly token: "primary";
|
|
117
|
+
readonly intensity: "strong";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
23
120
|
}, {
|
|
24
121
|
readonly kind: "block-design";
|
|
25
122
|
readonly id: "hero-brand-scrim";
|
|
@@ -69,6 +166,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
69
166
|
readonly transitionAfter: "soft-fade-short";
|
|
70
167
|
readonly emphasis: "high";
|
|
71
168
|
readonly sectionHeight: "immersive";
|
|
169
|
+
readonly heroComposition: "center";
|
|
170
|
+
readonly heroTypographyScale: "display";
|
|
72
171
|
readonly imageSurfaceTreatment: {
|
|
73
172
|
readonly kind: "brand-scrim";
|
|
74
173
|
readonly token: "primary";
|
|
@@ -123,6 +222,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
123
222
|
readonly transitionAfter: "soft-fade-short";
|
|
124
223
|
readonly emphasis: "high";
|
|
125
224
|
readonly sectionHeight: "immersive";
|
|
225
|
+
readonly heroComposition: "center";
|
|
226
|
+
readonly heroTypographyScale: "display";
|
|
126
227
|
readonly imageSurfaceTreatment: {
|
|
127
228
|
readonly kind: "brand-scrim";
|
|
128
229
|
readonly token: "primary";
|
|
@@ -147,6 +248,8 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
147
248
|
readonly itemSurface: "none";
|
|
148
249
|
readonly transitionAfter: "soft-fade-short";
|
|
149
250
|
readonly emphasis: "high";
|
|
251
|
+
readonly heroComposition: "center";
|
|
252
|
+
readonly heroTypographyScale: "editorial";
|
|
150
253
|
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
151
254
|
};
|
|
152
255
|
}, {
|
|
@@ -164,6 +267,87 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
164
267
|
readonly itemSurface: "none";
|
|
165
268
|
readonly transitionAfter: "none";
|
|
166
269
|
readonly emphasis: "high";
|
|
270
|
+
readonly heroComposition: "center";
|
|
271
|
+
readonly heroTypographyScale: "editorial";
|
|
272
|
+
};
|
|
273
|
+
}, {
|
|
274
|
+
readonly kind: "block-design";
|
|
275
|
+
readonly id: "hero-split-editorial";
|
|
276
|
+
readonly target: "hero";
|
|
277
|
+
readonly label: "Editorial split hero";
|
|
278
|
+
readonly blockKinds: readonly ["block.hero"];
|
|
279
|
+
readonly constraints: {
|
|
280
|
+
readonly layoutFamilies: readonly ["split"];
|
|
281
|
+
};
|
|
282
|
+
readonly design: {
|
|
283
|
+
readonly sectionSurface: "base";
|
|
284
|
+
readonly contentFrame: {
|
|
285
|
+
readonly kind: "plain";
|
|
286
|
+
};
|
|
287
|
+
readonly itemSurface: "none";
|
|
288
|
+
readonly transitionAfter: "soft-fade-short";
|
|
289
|
+
readonly emphasis: "high";
|
|
290
|
+
readonly heroTypographyScale: "editorial";
|
|
291
|
+
};
|
|
292
|
+
}, {
|
|
293
|
+
readonly kind: "block-design";
|
|
294
|
+
readonly id: "hero-split-brand";
|
|
295
|
+
readonly target: "hero";
|
|
296
|
+
readonly label: "Brand split hero";
|
|
297
|
+
readonly blockKinds: readonly ["block.hero"];
|
|
298
|
+
readonly constraints: {
|
|
299
|
+
readonly layoutFamilies: readonly ["split"];
|
|
300
|
+
};
|
|
301
|
+
readonly design: {
|
|
302
|
+
readonly sectionSurface: "brand-depth-band";
|
|
303
|
+
readonly contentFrame: {
|
|
304
|
+
readonly kind: "plain";
|
|
305
|
+
};
|
|
306
|
+
readonly itemSurface: "none";
|
|
307
|
+
readonly transitionAfter: "soft-fade-short";
|
|
308
|
+
readonly emphasis: "high";
|
|
309
|
+
readonly heroTypographyScale: "display";
|
|
310
|
+
readonly eyebrowTreatment: "accent-pill-bounce";
|
|
311
|
+
};
|
|
312
|
+
}, {
|
|
313
|
+
readonly kind: "block-design";
|
|
314
|
+
readonly id: "hero-split-soft-panel";
|
|
315
|
+
readonly target: "hero";
|
|
316
|
+
readonly label: "Soft panel split hero";
|
|
317
|
+
readonly blockKinds: readonly ["block.hero"];
|
|
318
|
+
readonly constraints: {
|
|
319
|
+
readonly layoutFamilies: readonly ["split"];
|
|
320
|
+
};
|
|
321
|
+
readonly design: {
|
|
322
|
+
readonly sectionSurface: "muted-band";
|
|
323
|
+
readonly contentFrame: Readonly<{
|
|
324
|
+
kind: "panel";
|
|
325
|
+
treatment: "raised";
|
|
326
|
+
}>;
|
|
327
|
+
readonly itemSurface: "none";
|
|
328
|
+
readonly transitionAfter: "soft-fade-short";
|
|
329
|
+
readonly emphasis: "high";
|
|
330
|
+
readonly heroTypographyScale: "editorial";
|
|
331
|
+
};
|
|
332
|
+
}, {
|
|
333
|
+
readonly kind: "block-design";
|
|
334
|
+
readonly id: "hero-split-accent";
|
|
335
|
+
readonly target: "hero";
|
|
336
|
+
readonly label: "Accent split hero";
|
|
337
|
+
readonly blockKinds: readonly ["block.hero"];
|
|
338
|
+
readonly constraints: {
|
|
339
|
+
readonly layoutFamilies: readonly ["split"];
|
|
340
|
+
};
|
|
341
|
+
readonly design: {
|
|
342
|
+
readonly sectionSurface: "accent-band";
|
|
343
|
+
readonly contentFrame: Readonly<{
|
|
344
|
+
kind: "panel";
|
|
345
|
+
treatment: "raised";
|
|
346
|
+
}>;
|
|
347
|
+
readonly itemSurface: "none";
|
|
348
|
+
readonly transitionAfter: "soft-fade-short";
|
|
349
|
+
readonly emphasis: "high";
|
|
350
|
+
readonly heroTypographyScale: "display";
|
|
167
351
|
};
|
|
168
352
|
}, {
|
|
169
353
|
readonly kind: "block-design";
|
|
@@ -197,9 +381,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
197
381
|
};
|
|
198
382
|
}, {
|
|
199
383
|
readonly kind: "block-design";
|
|
200
|
-
readonly id: "intro-
|
|
384
|
+
readonly id: "intro-organic-statement";
|
|
201
385
|
readonly target: "intro";
|
|
202
|
-
readonly label: "
|
|
386
|
+
readonly label: "Organic intro statement";
|
|
203
387
|
readonly blockKinds: readonly ["block.intro"];
|
|
204
388
|
readonly design: {
|
|
205
389
|
readonly sectionSurface: "base";
|
|
@@ -232,9 +416,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
232
416
|
};
|
|
233
417
|
}, {
|
|
234
418
|
readonly kind: "block-design";
|
|
235
|
-
readonly id: "feature-cards-
|
|
419
|
+
readonly id: "feature-cards-raised-rule";
|
|
236
420
|
readonly target: "feature-cards";
|
|
237
|
-
readonly label: "
|
|
421
|
+
readonly label: "Raised cards with rule";
|
|
238
422
|
readonly blockKinds: readonly ["block.feature-cards"];
|
|
239
423
|
readonly design: {
|
|
240
424
|
readonly sectionSurface: "base";
|
|
@@ -265,6 +449,22 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
265
449
|
readonly transitionAfter: "none";
|
|
266
450
|
readonly emphasis: "medium";
|
|
267
451
|
};
|
|
452
|
+
}, {
|
|
453
|
+
readonly kind: "block-design";
|
|
454
|
+
readonly id: "events-lined-panel";
|
|
455
|
+
readonly target: "events";
|
|
456
|
+
readonly label: "Lined event panel";
|
|
457
|
+
readonly blockKinds: readonly ["block.event-calendar", "block.event-listing"];
|
|
458
|
+
readonly design: {
|
|
459
|
+
readonly sectionSurface: "base";
|
|
460
|
+
readonly contentFrame: {
|
|
461
|
+
readonly kind: "plain";
|
|
462
|
+
};
|
|
463
|
+
readonly itemSurface: "none";
|
|
464
|
+
readonly transitionAfter: "none";
|
|
465
|
+
readonly emphasis: "medium";
|
|
466
|
+
readonly eventListTreatment: "lined-panel";
|
|
467
|
+
};
|
|
268
468
|
}, {
|
|
269
469
|
readonly kind: "block-design";
|
|
270
470
|
readonly id: "schedule-details-accent-section";
|
|
@@ -330,9 +530,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
330
530
|
};
|
|
331
531
|
}, {
|
|
332
532
|
readonly kind: "block-design";
|
|
333
|
-
readonly id: "testimonials-
|
|
533
|
+
readonly id: "testimonials-simple-cards";
|
|
334
534
|
readonly target: "testimonials";
|
|
335
|
-
readonly label: "
|
|
535
|
+
readonly label: "Simple testimonial cards";
|
|
336
536
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
337
537
|
readonly design: {
|
|
338
538
|
readonly sectionSurface: "base";
|
|
@@ -345,9 +545,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
345
545
|
};
|
|
346
546
|
}, {
|
|
347
547
|
readonly kind: "block-design";
|
|
348
|
-
readonly id: "testimonials-
|
|
548
|
+
readonly id: "testimonials-raised-panel";
|
|
349
549
|
readonly target: "testimonials";
|
|
350
|
-
readonly label: "
|
|
550
|
+
readonly label: "Raised testimonial panel";
|
|
351
551
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
352
552
|
readonly design: {
|
|
353
553
|
readonly sectionSurface: "muted-band";
|
|
@@ -361,9 +561,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
361
561
|
};
|
|
362
562
|
}, {
|
|
363
563
|
readonly kind: "block-design";
|
|
364
|
-
readonly id: "testimonials-
|
|
564
|
+
readonly id: "testimonials-accent-panel";
|
|
365
565
|
readonly target: "testimonials";
|
|
366
|
-
readonly label: "
|
|
566
|
+
readonly label: "Accent testimonial panel";
|
|
367
567
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
368
568
|
readonly design: {
|
|
369
569
|
readonly sectionSurface: "accent-band";
|
|
@@ -377,9 +577,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
377
577
|
};
|
|
378
578
|
}, {
|
|
379
579
|
readonly kind: "block-design";
|
|
380
|
-
readonly id: "testimonials-accent-quote-
|
|
580
|
+
readonly id: "testimonials-accent-quote-cards";
|
|
381
581
|
readonly target: "testimonials";
|
|
382
|
-
readonly label: "Accent quote
|
|
582
|
+
readonly label: "Accent quote cards";
|
|
383
583
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
384
584
|
readonly design: {
|
|
385
585
|
readonly sectionSurface: "accent-band";
|
|
@@ -393,9 +593,9 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
393
593
|
};
|
|
394
594
|
}, {
|
|
395
595
|
readonly kind: "block-design";
|
|
396
|
-
readonly id: "testimonials-
|
|
596
|
+
readonly id: "testimonials-brand-background-quotes";
|
|
397
597
|
readonly target: "testimonials";
|
|
398
|
-
readonly label: "
|
|
598
|
+
readonly label: "Brand background quotes";
|
|
399
599
|
readonly blockKinds: readonly ["block.testimonials"];
|
|
400
600
|
readonly design: {
|
|
401
601
|
readonly sectionSurface: "brand-depth-band";
|
|
@@ -443,26 +643,6 @@ export declare const blockAppearancePresets: readonly [{
|
|
|
443
643
|
readonly transitionAfter: "none";
|
|
444
644
|
readonly emphasis: "low";
|
|
445
645
|
};
|
|
446
|
-
}, {
|
|
447
|
-
readonly kind: "block-design";
|
|
448
|
-
readonly id: "faq-soft-earth-two-column";
|
|
449
|
-
readonly target: "faq";
|
|
450
|
-
readonly label: "Soft Earth two-column FAQ";
|
|
451
|
-
readonly blockKinds: readonly ["block.faq"];
|
|
452
|
-
readonly design: {
|
|
453
|
-
readonly sectionSurface: "base";
|
|
454
|
-
readonly contentFrame: {
|
|
455
|
-
readonly kind: "plain";
|
|
456
|
-
};
|
|
457
|
-
readonly itemSurface: "flat";
|
|
458
|
-
readonly transitionAfter: "none";
|
|
459
|
-
readonly emphasis: "medium";
|
|
460
|
-
readonly accordionIconTreatment: {
|
|
461
|
-
readonly iconSet: "plus";
|
|
462
|
-
readonly colorToken: "primary";
|
|
463
|
-
readonly motion: "swap";
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
646
|
}, {
|
|
467
647
|
readonly kind: "block-design";
|
|
468
648
|
readonly id: "contact-form-panel";
|
|
@@ -6,8 +6,10 @@ import { type FooterLookId } from './footerLooks';
|
|
|
6
6
|
import { type CuratedChoice } from './curatedChoices';
|
|
7
7
|
import { type AppearancePresetId, type DesignSystemTemplate, type NonEmptyReadonlyArray, type SiteStyleId } from './types';
|
|
8
8
|
import { type KnownTypographyPresetId, type TypographyPresetId } from './typographyPresets';
|
|
9
|
+
export declare const SOFT_EARTH_SITE_STYLE_ID_VALUE: "site-style:soft-earth";
|
|
10
|
+
export declare const SOFT_EARTH_SITE_STYLE_ID: SiteStyleId;
|
|
9
11
|
export declare const curatedSiteStyleIdValues: readonly ["site-style:calm-studio", "site-style:clear-professional", "site-style:warm-editorial", "site-style:bright-community", "site-style:quiet-luxury", "site-style:practical-services", "site-style:quiet-practice", "site-style:personal-retreat-journal", "site-style:tactile-workshop", "site-style:modern-wellness", "site-style:soft-earth", "site-style:bold-launch", "site-style:south-west-twerk-school"];
|
|
10
|
-
export type CuratedSiteStyleIdValue = typeof curatedSiteStyleIdValues[number];
|
|
12
|
+
export type CuratedSiteStyleIdValue = (typeof curatedSiteStyleIdValues)[number];
|
|
11
13
|
type CuratedSiteStyleHeroOverrides = Readonly<{
|
|
12
14
|
typography?: NonNullable<NonNullable<Theme['hero']>['typography']>;
|
|
13
15
|
}>;
|
|
@@ -15,6 +17,7 @@ type CuratedSiteStyleBodyTextOverrides = Readonly<{
|
|
|
15
17
|
intro?: NonNullable<NonNullable<Theme['bodyText']>['intro']>;
|
|
16
18
|
}>;
|
|
17
19
|
type CuratedSiteStyleInputOverrides = NonNullable<Theme['inputs']>;
|
|
20
|
+
type CuratedSiteStyleAccordionOverrides = NonNullable<Theme['accordions']>;
|
|
18
21
|
/**
|
|
19
22
|
* Site-style-specific Theme overrides are applied after token recipes,
|
|
20
23
|
* button personality, and palette variant selection have compiled the base
|
|
@@ -30,6 +33,7 @@ export type CuratedSiteStyleThemeOverrides = Readonly<{
|
|
|
30
33
|
* site styles can curate accessible, internally consistent control states.
|
|
31
34
|
*/
|
|
32
35
|
inputs?: CuratedSiteStyleInputOverrides;
|
|
36
|
+
accordions?: CuratedSiteStyleAccordionOverrides;
|
|
33
37
|
}>;
|
|
34
38
|
export type ButtonPersonalityChoice = CuratedChoice<KnownButtonPersonalityId>;
|
|
35
39
|
export type PaletteVariantChoice = CuratedChoice<KnownPaletteVariantId>;
|
|
@@ -41,6 +45,10 @@ export type HeaderLayoutStyleChoice = Readonly<{
|
|
|
41
45
|
}>;
|
|
42
46
|
export type RecommendedHeaderStylesByLayout = Readonly<Partial<Record<HeaderLayoutIdValue, NonEmptyReadonlyArray<HeaderStyleChoice>>>>;
|
|
43
47
|
export type TypographyPresetChoice = CuratedChoice<KnownTypographyPresetId>;
|
|
48
|
+
export type FaqDefaultBlockVariant = 'default' | 'two-column' | 'question-columns';
|
|
49
|
+
export type CuratedSiteStyleDefaultBlockVariants = Readonly<Partial<{
|
|
50
|
+
'block.faq': FaqDefaultBlockVariant;
|
|
51
|
+
}>>;
|
|
44
52
|
export type CuratedSiteStyleSelectionKeywordRule = Readonly<{
|
|
45
53
|
kind: 'phrase';
|
|
46
54
|
value: string;
|
|
@@ -68,6 +76,7 @@ export type CuratedSiteStyle = Readonly<{
|
|
|
68
76
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
69
77
|
template: DesignSystemTemplate;
|
|
70
78
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
79
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
71
80
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
72
81
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
73
82
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -99,6 +108,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
99
108
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
100
109
|
template: DesignSystemTemplate;
|
|
101
110
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
111
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
102
112
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
103
113
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
104
114
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -121,6 +131,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
121
131
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
122
132
|
template: DesignSystemTemplate;
|
|
123
133
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
134
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
124
135
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
125
136
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
126
137
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -143,6 +154,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
143
154
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
144
155
|
template: DesignSystemTemplate;
|
|
145
156
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
157
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
146
158
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
147
159
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
148
160
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -165,6 +177,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
165
177
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
166
178
|
template: DesignSystemTemplate;
|
|
167
179
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
180
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
168
181
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
169
182
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
170
183
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -187,6 +200,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
187
200
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
188
201
|
template: DesignSystemTemplate;
|
|
189
202
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
203
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
190
204
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
191
205
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
192
206
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -209,6 +223,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
209
223
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
210
224
|
template: DesignSystemTemplate;
|
|
211
225
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
226
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
212
227
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
213
228
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
214
229
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -231,6 +246,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
231
246
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
232
247
|
template: DesignSystemTemplate;
|
|
233
248
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
249
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
234
250
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
235
251
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
236
252
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -253,6 +269,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
253
269
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
254
270
|
template: DesignSystemTemplate;
|
|
255
271
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
272
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
256
273
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
257
274
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
258
275
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -275,6 +292,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
275
292
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
276
293
|
template: DesignSystemTemplate;
|
|
277
294
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
295
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
278
296
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
279
297
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
280
298
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -297,6 +315,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
297
315
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
298
316
|
template: DesignSystemTemplate;
|
|
299
317
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
318
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
300
319
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
301
320
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
302
321
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -319,6 +338,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
319
338
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
320
339
|
template: DesignSystemTemplate;
|
|
321
340
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
341
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
322
342
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
323
343
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
324
344
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -341,6 +361,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
341
361
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
342
362
|
template: DesignSystemTemplate;
|
|
343
363
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
364
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
344
365
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
345
366
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
346
367
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -363,6 +384,7 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
363
384
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
364
385
|
template: DesignSystemTemplate;
|
|
365
386
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
387
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
366
388
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
367
389
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
368
390
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -386,6 +408,7 @@ export declare const curatedSiteStylesById: Map<SiteStyleId, Readonly<{
|
|
|
386
408
|
siteCreatorSelection: CuratedSiteStyleCreatorSelection;
|
|
387
409
|
template: DesignSystemTemplate;
|
|
388
410
|
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
411
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
389
412
|
recommendedAppearancePresetIds: readonly AppearancePresetId[];
|
|
390
413
|
defaultHeaderSelection: HeaderLayoutStyleChoice;
|
|
391
414
|
recommendedHeaderLayoutChoices: NonEmptyReadonlyArray<HeaderLayoutChoice>;
|
|
@@ -401,4 +424,5 @@ export declare const curatedSiteStylesById: Map<SiteStyleId, Readonly<{
|
|
|
401
424
|
defaultTypographyPresetId: KnownTypographyPresetId;
|
|
402
425
|
}>>;
|
|
403
426
|
export declare function getCuratedSiteStyle(id: SiteStyleId): CuratedSiteStyle | null;
|
|
427
|
+
export declare function defaultBlockVariantForSiteStyle(siteStyle: CuratedSiteStyle, blockKind: 'block.faq'): FaqDefaultBlockVariant | null;
|
|
404
428
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type DesignBlockId, type DesignResolutionPolicy, type DesignSystemTemplateId, type PageDesignState, type SiteStyleId } from './types';
|
|
3
3
|
import { type SchemaVersionedJsonParseIssue } from './schemaVersionedJson';
|
|
4
|
-
import { type ThemeV2RuntimeStyleFieldName } from './rawStyleFields';
|
|
4
|
+
import { type ThemeV2CompilerOwnedFieldName, type ThemeV2RuntimeStyleFieldName } from './rawStyleFields';
|
|
5
5
|
export { themeV2RuntimeStyleFieldNames, type ThemeV2RuntimeStyleFieldName, } from './rawStyleFields';
|
|
6
6
|
export declare const themeV2DesignStateSchemaVersion: 1;
|
|
7
|
-
export type ThemeV2RuntimeStyleFields = Partial<Record<
|
|
7
|
+
export type ThemeV2RuntimeStyleFields = Partial<Record<ThemeV2CompilerOwnedFieldName, unknown>>;
|
|
8
8
|
export type NonEmptyRuntimeStyleFieldNames = readonly [
|
|
9
9
|
ThemeV2RuntimeStyleFieldName,
|
|
10
10
|
...ThemeV2RuntimeStyleFieldName[]
|
|
@@ -74,7 +74,7 @@ export type RuntimeStyleClassification = Readonly<{
|
|
|
74
74
|
export type RuntimeStyleWriteResult<TContent extends Record<string, unknown>> = RuntimeStyleWriteResultForFields<TContent, ThemeV2RuntimeStyleFields>;
|
|
75
75
|
export type RuntimeStyleWriteResultForFields<TContent extends Record<string, unknown>, TFields extends ThemeV2RuntimeStyleFields> = Readonly<{
|
|
76
76
|
kind: 'applied';
|
|
77
|
-
content: Omit<TContent,
|
|
77
|
+
content: Omit<TContent, ThemeV2CompilerOwnedFieldName> & TFields;
|
|
78
78
|
}> | Readonly<{
|
|
79
79
|
kind: 'blocked';
|
|
80
80
|
reason: 'missing-theme-v2-authority' | 'advanced-detached' | 'legacy-raw';
|
|
@@ -122,8 +122,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
122
122
|
}, z.core.$strict>, z.ZodObject<{
|
|
123
123
|
kind: z.ZodLiteral<"panel">;
|
|
124
124
|
treatment: z.ZodEnum<{
|
|
125
|
-
editorial: "editorial";
|
|
126
125
|
inset: "inset";
|
|
126
|
+
editorial: "editorial";
|
|
127
127
|
raised: "raised";
|
|
128
128
|
}>;
|
|
129
129
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -141,8 +141,8 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
141
141
|
flat: "flat";
|
|
142
142
|
none: "none";
|
|
143
143
|
default: "default";
|
|
144
|
-
editorial: "editorial";
|
|
145
144
|
inset: "inset";
|
|
145
|
+
editorial: "editorial";
|
|
146
146
|
raised: "raised";
|
|
147
147
|
outlined: "outlined";
|
|
148
148
|
}>;
|
|
@@ -169,6 +169,16 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
169
169
|
"scrim-gradient": "scrim-gradient";
|
|
170
170
|
"solid-panel": "solid-panel";
|
|
171
171
|
}>>;
|
|
172
|
+
heroComposition: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
center: "center";
|
|
174
|
+
"bottom-left": "bottom-left";
|
|
175
|
+
}>>;
|
|
176
|
+
heroTypographyScale: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
poster: "poster";
|
|
178
|
+
display: "display";
|
|
179
|
+
editorial: "editorial";
|
|
180
|
+
quiet: "quiet";
|
|
181
|
+
}>>;
|
|
172
182
|
imageSurfaceTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
173
183
|
kind: z.ZodLiteral<"none">;
|
|
174
184
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -230,6 +240,10 @@ export declare const blockDesignPlanSchema: z.ZodObject<{
|
|
|
230
240
|
quiet: "quiet";
|
|
231
241
|
"brand-depth": "brand-depth";
|
|
232
242
|
}>>;
|
|
243
|
+
eventListTreatment: z.ZodOptional<z.ZodEnum<{
|
|
244
|
+
plain: "plain";
|
|
245
|
+
"lined-panel": "lined-panel";
|
|
246
|
+
}>>;
|
|
233
247
|
eyebrowTreatment: z.ZodOptional<z.ZodEnum<{
|
|
234
248
|
pill: "pill";
|
|
235
249
|
plain: "plain";
|
|
@@ -316,8 +330,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
316
330
|
}, z.core.$strict>, z.ZodObject<{
|
|
317
331
|
kind: z.ZodLiteral<"panel">;
|
|
318
332
|
treatment: z.ZodEnum<{
|
|
319
|
-
editorial: "editorial";
|
|
320
333
|
inset: "inset";
|
|
334
|
+
editorial: "editorial";
|
|
321
335
|
raised: "raised";
|
|
322
336
|
}>;
|
|
323
337
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -335,8 +349,8 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
335
349
|
flat: "flat";
|
|
336
350
|
none: "none";
|
|
337
351
|
default: "default";
|
|
338
|
-
editorial: "editorial";
|
|
339
352
|
inset: "inset";
|
|
353
|
+
editorial: "editorial";
|
|
340
354
|
raised: "raised";
|
|
341
355
|
outlined: "outlined";
|
|
342
356
|
}>;
|
|
@@ -363,6 +377,16 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
363
377
|
"scrim-gradient": "scrim-gradient";
|
|
364
378
|
"solid-panel": "solid-panel";
|
|
365
379
|
}>>;
|
|
380
|
+
heroComposition: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
center: "center";
|
|
382
|
+
"bottom-left": "bottom-left";
|
|
383
|
+
}>>;
|
|
384
|
+
heroTypographyScale: z.ZodOptional<z.ZodEnum<{
|
|
385
|
+
poster: "poster";
|
|
386
|
+
display: "display";
|
|
387
|
+
editorial: "editorial";
|
|
388
|
+
quiet: "quiet";
|
|
389
|
+
}>>;
|
|
366
390
|
imageSurfaceTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
367
391
|
kind: z.ZodLiteral<"none">;
|
|
368
392
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -424,6 +448,10 @@ export declare const persistedPageDesignStateV1Schema: z.ZodObject<{
|
|
|
424
448
|
quiet: "quiet";
|
|
425
449
|
"brand-depth": "brand-depth";
|
|
426
450
|
}>>;
|
|
451
|
+
eventListTreatment: z.ZodOptional<z.ZodEnum<{
|
|
452
|
+
plain: "plain";
|
|
453
|
+
"lined-panel": "lined-panel";
|
|
454
|
+
}>>;
|
|
427
455
|
eyebrowTreatment: z.ZodOptional<z.ZodEnum<{
|
|
428
456
|
pill: "pill";
|
|
429
457
|
plain: "plain";
|
|
@@ -18,6 +18,7 @@ export declare const generatedContentFrameIntentSchema: z.ZodDiscriminatedUnion<
|
|
|
18
18
|
}>;
|
|
19
19
|
}, z.core.$strict>], "kind">;
|
|
20
20
|
export declare const generatedSiteStyleIdSchema: z.ZodPipe<z.ZodEnum<{
|
|
21
|
+
"site-style:soft-earth": "site-style:soft-earth";
|
|
21
22
|
"site-style:calm-studio": "site-style:calm-studio";
|
|
22
23
|
"site-style:clear-professional": "site-style:clear-professional";
|
|
23
24
|
"site-style:warm-editorial": "site-style:warm-editorial";
|
|
@@ -28,10 +29,9 @@ export declare const generatedSiteStyleIdSchema: z.ZodPipe<z.ZodEnum<{
|
|
|
28
29
|
"site-style:personal-retreat-journal": "site-style:personal-retreat-journal";
|
|
29
30
|
"site-style:tactile-workshop": "site-style:tactile-workshop";
|
|
30
31
|
"site-style:modern-wellness": "site-style:modern-wellness";
|
|
31
|
-
"site-style:soft-earth": "site-style:soft-earth";
|
|
32
32
|
"site-style:bold-launch": "site-style:bold-launch";
|
|
33
33
|
"site-style:south-west-twerk-school": "site-style:south-west-twerk-school";
|
|
34
|
-
}>, z.ZodTransform<SiteStyleId, "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:
|
|
34
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:bold-launch" | "site-style:south-west-twerk-school">>;
|
|
35
35
|
export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
36
36
|
sectionSurface: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37
37
|
source: z.ZodLiteral<"generated">;
|
|
@@ -161,6 +161,7 @@ export declare const generatedBoundaryIntentSchema: z.ZodObject<{
|
|
|
161
161
|
}, z.core.$strict>;
|
|
162
162
|
export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
163
163
|
siteStyleId: z.ZodPipe<z.ZodEnum<{
|
|
164
|
+
"site-style:soft-earth": "site-style:soft-earth";
|
|
164
165
|
"site-style:calm-studio": "site-style:calm-studio";
|
|
165
166
|
"site-style:clear-professional": "site-style:clear-professional";
|
|
166
167
|
"site-style:warm-editorial": "site-style:warm-editorial";
|
|
@@ -171,10 +172,9 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
171
172
|
"site-style:personal-retreat-journal": "site-style:personal-retreat-journal";
|
|
172
173
|
"site-style:tactile-workshop": "site-style:tactile-workshop";
|
|
173
174
|
"site-style:modern-wellness": "site-style:modern-wellness";
|
|
174
|
-
"site-style:soft-earth": "site-style:soft-earth";
|
|
175
175
|
"site-style:bold-launch": "site-style:bold-launch";
|
|
176
176
|
"site-style:south-west-twerk-school": "site-style:south-west-twerk-school";
|
|
177
|
-
}>, z.ZodTransform<SiteStyleId, "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:
|
|
177
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:soft-earth" | "site-style:calm-studio" | "site-style:clear-professional" | "site-style:warm-editorial" | "site-style:bright-community" | "site-style:quiet-luxury" | "site-style:practical-services" | "site-style:quiet-practice" | "site-style:personal-retreat-journal" | "site-style:tactile-workshop" | "site-style:modern-wellness" | "site-style:bold-launch" | "site-style:south-west-twerk-school">>;
|
|
178
178
|
blocks: z.ZodArray<z.ZodObject<{
|
|
179
179
|
blockId: z.ZodString;
|
|
180
180
|
blockKind: z.ZodString;
|