@riverbankcms/sdk 0.153.0 → 0.154.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/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-ba9npQtb.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-C7FiaxlF.mjs} +194 -22
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-DFst50q1.mjs} +20 -44
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-BUNV_YHZ.mjs} +49 -32
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-DEj7qppF.mjs} +3558 -2321
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-C8kzu0hY.mjs} +400 -81
- package/dist/_dts/ai/src/contracts/proposals.d.ts +364 -130
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +1035 -477
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +7 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +19 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -106
- package/dist/_dts/api/src/bookings.d.ts +2 -3
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +88 -43
- package/dist/_dts/api/src/index.d.ts +4 -2
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +162 -103
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +11 -31
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -96
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +75 -9
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -99
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +10 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +29 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -10
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/core/src/booking-refunds.d.ts +2 -0
- package/dist/_dts/core/src/date-display.d.ts +85 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +50 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +10 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +300 -192
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +23 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CNoSqFtf.mjs} +2 -2
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-BkTkqBkh.mjs} +3 -3
- package/dist/client/{CheckboxChoice-Dq30m3DO.mjs → CheckboxChoice-CHJpsty4.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-ojwbVUmx.mjs → DemoBookingPortalAccess-C7KQKFNt.mjs} +2 -2
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BgeYMjHJ.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-BTc_lTkM.mjs} +2 -2
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-ChRs9Hl2.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-C_dNQgd0.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-BI9bzbjo.mjs} +75 -42
- package/dist/client/{ThemedButton-B7HFqFBg.mjs → ThemedButton-wl3Z3wkH.mjs} +1 -1
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-6Yz8Wd83.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-i_pKIGiY.mjs} +8 -8
- package/dist/client/bookings.mjs +12565 -11839
- package/dist/client/{carousel-BSCBhfHY.mjs → carousel-DNqd_PjC.mjs} +2 -2
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-BUgjPbb6.mjs} +1 -1
- package/dist/client/{cart-Yv-aAtck.mjs → cart-D8OBHuF4.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-F3-9IGLU.mjs} +3 -3
- package/dist/client/client.mjs +6109 -4778
- package/dist/client/{context-BOGe3rIA.mjs → context-Dg4ZrxDD.mjs} +1 -1
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-BUc7YIBM.mjs} +8 -8
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-BwfShk2a.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-BMOVC3go.mjs} +3 -3
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-BwE9PM-t.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CCWPYDc7.mjs} +9 -9
- package/dist/client/{form-D5Or2Jyu.mjs → form-CXFr0Gd5.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BX8qw8kH.mjs} +3 -3
- package/dist/client/hooks.mjs +2041 -1193
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-B3La71m0.mjs} +3 -3
- package/dist/client/{media-D29-F1u_.mjs → media-B1Cbv721.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-DnGyR0x7.mjs} +50 -14
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-BVgTqvkb.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-CcO7kUQw.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-B1OeWavE.mjs} +706 -229
- package/dist/client/rendering/client.mjs +11868 -11098
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +6058 -4676
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-Dl4vglJm.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-P72nX5Fs.mjs} +7 -7
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-Bt7uraDx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-C1-mxSye.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-Db-cRGu3.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-jvAiUoUX.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-BdWpCniq.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +133 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +133 -51
- package/dist/preview-next/middleware.mjs +133 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-DLhjF2Nw.mjs} +1 -1
- package/dist/server/components.mjs +11284 -10014
- package/dist/server/config-validation.mjs +2016 -1188
- package/dist/server/config.mjs +2016 -1188
- package/dist/server/data.mjs +2041 -1193
- package/dist/server/date-time.mjs +258 -116
- package/dist/server/index.mjs +134 -52
- package/dist/server/next.mjs +10571 -9350
- package/dist/server/page-converter.mjs +1629 -941
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +11156 -9872
- package/dist/server/rendering.mjs +11284 -10014
- package/dist/server/routing.mjs +2204 -1283
- package/dist/server/server.mjs +2369 -1570
- package/dist/server/theme-bridge.mjs +838 -124
- package/dist/server/theme.mjs +348 -64
- package/dist/{spinner-BYM-Y81w.mjs → spinner-MTooKfck.mjs} +1 -1
- package/dist/styles/index.css +254 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
|
@@ -39,77 +39,26 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
39
39
|
readonly form: Readonly<{
|
|
40
40
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
41
41
|
kind: "progressive";
|
|
42
|
-
buildRender: (source: Readonly<{
|
|
43
|
-
|
|
44
|
-
siteId?: string;
|
|
45
|
-
apiBaseUrl?: string;
|
|
46
|
-
submitLabel?: string;
|
|
47
|
-
successMessage?: string | null;
|
|
48
|
-
className?: string;
|
|
49
|
-
spamProtectionEnabled?: boolean;
|
|
50
|
-
}>) => Readonly<{
|
|
51
|
-
display: Readonly<{
|
|
52
|
-
kind: "form";
|
|
53
|
-
state: "missing" | "ready";
|
|
54
|
-
className: string | null;
|
|
55
|
-
formId: string | null;
|
|
56
|
-
submitLabel: string;
|
|
57
|
-
successMessage: string | null;
|
|
58
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
59
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
60
|
-
}>;
|
|
42
|
+
buildRender: (source: import("../nodes/form.interactive").FormSourceProps) => Readonly<{
|
|
43
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
61
44
|
hydration: Readonly<{
|
|
62
45
|
spamProtectionEnabled?: boolean;
|
|
63
46
|
}>;
|
|
64
47
|
}>;
|
|
65
48
|
contracts: Readonly<{
|
|
66
49
|
source: Readonly<{
|
|
67
|
-
encode: (value:
|
|
68
|
-
|
|
69
|
-
siteId?: string;
|
|
70
|
-
apiBaseUrl?: string;
|
|
71
|
-
submitLabel?: string;
|
|
72
|
-
successMessage?: string | null;
|
|
73
|
-
className?: string;
|
|
74
|
-
spamProtectionEnabled?: boolean;
|
|
75
|
-
}>) => unknown;
|
|
76
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
77
|
-
value?: import("../nodes/form.types").FormRecord;
|
|
78
|
-
siteId?: string;
|
|
79
|
-
apiBaseUrl?: string;
|
|
80
|
-
submitLabel?: string;
|
|
81
|
-
successMessage?: string | null;
|
|
82
|
-
className?: string;
|
|
83
|
-
spamProtectionEnabled?: boolean;
|
|
84
|
-
}>>;
|
|
50
|
+
encode: (value: import("../nodes/form.interactive").FormSourceProps) => unknown;
|
|
51
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.interactive").FormSourceProps>;
|
|
85
52
|
}>;
|
|
86
53
|
render: Readonly<{
|
|
87
54
|
encode: (value: Readonly<{
|
|
88
|
-
display:
|
|
89
|
-
kind: "form";
|
|
90
|
-
state: "missing" | "ready";
|
|
91
|
-
className: string | null;
|
|
92
|
-
formId: string | null;
|
|
93
|
-
submitLabel: string;
|
|
94
|
-
successMessage: string | null;
|
|
95
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
96
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
97
|
-
}>;
|
|
55
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
98
56
|
hydration: Readonly<{
|
|
99
57
|
spamProtectionEnabled?: boolean;
|
|
100
58
|
}>;
|
|
101
59
|
}>) => unknown;
|
|
102
60
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
103
|
-
display:
|
|
104
|
-
kind: "form";
|
|
105
|
-
state: "missing" | "ready";
|
|
106
|
-
className: string | null;
|
|
107
|
-
formId: string | null;
|
|
108
|
-
submitLabel: string;
|
|
109
|
-
successMessage: string | null;
|
|
110
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
111
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
112
|
-
}>;
|
|
61
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
113
62
|
hydration: Readonly<{
|
|
114
63
|
spamProtectionEnabled?: boolean;
|
|
115
64
|
}>;
|
|
@@ -122,77 +71,26 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
122
71
|
}>;
|
|
123
72
|
runtime: Readonly<{
|
|
124
73
|
kind: "progressive";
|
|
125
|
-
buildRender: (source: Readonly<{
|
|
126
|
-
|
|
127
|
-
siteId?: string;
|
|
128
|
-
apiBaseUrl?: string;
|
|
129
|
-
submitLabel?: string;
|
|
130
|
-
successMessage?: string | null;
|
|
131
|
-
className?: string;
|
|
132
|
-
spamProtectionEnabled?: boolean;
|
|
133
|
-
}>) => Readonly<{
|
|
134
|
-
display: Readonly<{
|
|
135
|
-
kind: "form";
|
|
136
|
-
state: "missing" | "ready";
|
|
137
|
-
className: string | null;
|
|
138
|
-
formId: string | null;
|
|
139
|
-
submitLabel: string;
|
|
140
|
-
successMessage: string | null;
|
|
141
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
142
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
143
|
-
}>;
|
|
74
|
+
buildRender: (source: import("../nodes/form.interactive").FormSourceProps) => Readonly<{
|
|
75
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
144
76
|
hydration: Readonly<{
|
|
145
77
|
spamProtectionEnabled?: boolean;
|
|
146
78
|
}>;
|
|
147
79
|
}>;
|
|
148
80
|
contracts: Readonly<{
|
|
149
81
|
source: Readonly<{
|
|
150
|
-
encode: (value:
|
|
151
|
-
|
|
152
|
-
siteId?: string;
|
|
153
|
-
apiBaseUrl?: string;
|
|
154
|
-
submitLabel?: string;
|
|
155
|
-
successMessage?: string | null;
|
|
156
|
-
className?: string;
|
|
157
|
-
spamProtectionEnabled?: boolean;
|
|
158
|
-
}>) => unknown;
|
|
159
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
160
|
-
value?: import("../nodes/form.types").FormRecord;
|
|
161
|
-
siteId?: string;
|
|
162
|
-
apiBaseUrl?: string;
|
|
163
|
-
submitLabel?: string;
|
|
164
|
-
successMessage?: string | null;
|
|
165
|
-
className?: string;
|
|
166
|
-
spamProtectionEnabled?: boolean;
|
|
167
|
-
}>>;
|
|
82
|
+
encode: (value: import("../nodes/form.interactive").FormSourceProps) => unknown;
|
|
83
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.interactive").FormSourceProps>;
|
|
168
84
|
}>;
|
|
169
85
|
render: Readonly<{
|
|
170
86
|
encode: (value: Readonly<{
|
|
171
|
-
display:
|
|
172
|
-
kind: "form";
|
|
173
|
-
state: "missing" | "ready";
|
|
174
|
-
className: string | null;
|
|
175
|
-
formId: string | null;
|
|
176
|
-
submitLabel: string;
|
|
177
|
-
successMessage: string | null;
|
|
178
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
179
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
180
|
-
}>;
|
|
87
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
181
88
|
hydration: Readonly<{
|
|
182
89
|
spamProtectionEnabled?: boolean;
|
|
183
90
|
}>;
|
|
184
91
|
}>) => unknown;
|
|
185
92
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
186
|
-
display:
|
|
187
|
-
kind: "form";
|
|
188
|
-
state: "missing" | "ready";
|
|
189
|
-
className: string | null;
|
|
190
|
-
formId: string | null;
|
|
191
|
-
submitLabel: string;
|
|
192
|
-
successMessage: string | null;
|
|
193
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
194
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
195
|
-
}>;
|
|
93
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
196
94
|
hydration: Readonly<{
|
|
197
95
|
spamProtectionEnabled?: boolean;
|
|
198
96
|
}>;
|
|
@@ -505,20 +403,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
505
403
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
506
404
|
kind: "progressive";
|
|
507
405
|
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
508
|
-
display:
|
|
509
|
-
kind: "newsletter-form";
|
|
510
|
-
availability: "ready" | "unavailable";
|
|
511
|
-
className: string | null;
|
|
512
|
-
buttonLabel: string;
|
|
513
|
-
successMessage: string;
|
|
514
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
515
|
-
privacyNote: string | null;
|
|
516
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
517
|
-
choices: readonly Readonly<{
|
|
518
|
-
id: string;
|
|
519
|
-
label: string;
|
|
520
|
-
}>[];
|
|
521
|
-
}>;
|
|
406
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
522
407
|
hydration: Readonly<{
|
|
523
408
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
524
409
|
setupRevision: number | null;
|
|
@@ -534,20 +419,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
534
419
|
}>;
|
|
535
420
|
render: Readonly<{
|
|
536
421
|
encode: (value: Readonly<{
|
|
537
|
-
display:
|
|
538
|
-
kind: "newsletter-form";
|
|
539
|
-
availability: "ready" | "unavailable";
|
|
540
|
-
className: string | null;
|
|
541
|
-
buttonLabel: string;
|
|
542
|
-
successMessage: string;
|
|
543
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
544
|
-
privacyNote: string | null;
|
|
545
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
546
|
-
choices: readonly Readonly<{
|
|
547
|
-
id: string;
|
|
548
|
-
label: string;
|
|
549
|
-
}>[];
|
|
550
|
-
}>;
|
|
422
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
551
423
|
hydration: Readonly<{
|
|
552
424
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
553
425
|
setupRevision: number | null;
|
|
@@ -557,20 +429,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
557
429
|
}>;
|
|
558
430
|
}>) => unknown;
|
|
559
431
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
560
|
-
display:
|
|
561
|
-
kind: "newsletter-form";
|
|
562
|
-
availability: "ready" | "unavailable";
|
|
563
|
-
className: string | null;
|
|
564
|
-
buttonLabel: string;
|
|
565
|
-
successMessage: string;
|
|
566
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
567
|
-
privacyNote: string | null;
|
|
568
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
569
|
-
choices: readonly Readonly<{
|
|
570
|
-
id: string;
|
|
571
|
-
label: string;
|
|
572
|
-
}>[];
|
|
573
|
-
}>;
|
|
432
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
574
433
|
hydration: Readonly<{
|
|
575
434
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
576
435
|
setupRevision: number | null;
|
|
@@ -588,20 +447,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
588
447
|
runtime: Readonly<{
|
|
589
448
|
kind: "progressive";
|
|
590
449
|
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
591
|
-
display:
|
|
592
|
-
kind: "newsletter-form";
|
|
593
|
-
availability: "ready" | "unavailable";
|
|
594
|
-
className: string | null;
|
|
595
|
-
buttonLabel: string;
|
|
596
|
-
successMessage: string;
|
|
597
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
598
|
-
privacyNote: string | null;
|
|
599
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
600
|
-
choices: readonly Readonly<{
|
|
601
|
-
id: string;
|
|
602
|
-
label: string;
|
|
603
|
-
}>[];
|
|
604
|
-
}>;
|
|
450
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
605
451
|
hydration: Readonly<{
|
|
606
452
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
607
453
|
setupRevision: number | null;
|
|
@@ -617,20 +463,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
617
463
|
}>;
|
|
618
464
|
render: Readonly<{
|
|
619
465
|
encode: (value: Readonly<{
|
|
620
|
-
display:
|
|
621
|
-
kind: "newsletter-form";
|
|
622
|
-
availability: "ready" | "unavailable";
|
|
623
|
-
className: string | null;
|
|
624
|
-
buttonLabel: string;
|
|
625
|
-
successMessage: string;
|
|
626
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
627
|
-
privacyNote: string | null;
|
|
628
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
629
|
-
choices: readonly Readonly<{
|
|
630
|
-
id: string;
|
|
631
|
-
label: string;
|
|
632
|
-
}>[];
|
|
633
|
-
}>;
|
|
466
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
634
467
|
hydration: Readonly<{
|
|
635
468
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
636
469
|
setupRevision: number | null;
|
|
@@ -640,20 +473,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
640
473
|
}>;
|
|
641
474
|
}>) => unknown;
|
|
642
475
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
643
|
-
display:
|
|
644
|
-
kind: "newsletter-form";
|
|
645
|
-
availability: "ready" | "unavailable";
|
|
646
|
-
className: string | null;
|
|
647
|
-
buttonLabel: string;
|
|
648
|
-
successMessage: string;
|
|
649
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
650
|
-
privacyNote: string | null;
|
|
651
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
652
|
-
choices: readonly Readonly<{
|
|
653
|
-
id: string;
|
|
654
|
-
label: string;
|
|
655
|
-
}>[];
|
|
656
|
-
}>;
|
|
476
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
657
477
|
hydration: Readonly<{
|
|
658
478
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
659
479
|
setupRevision: number | null;
|
|
@@ -24,77 +24,26 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
24
24
|
readonly form: Readonly<{
|
|
25
25
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
26
26
|
kind: "progressive";
|
|
27
|
-
buildRender: (source: Readonly<{
|
|
28
|
-
|
|
29
|
-
siteId?: string;
|
|
30
|
-
apiBaseUrl?: string;
|
|
31
|
-
submitLabel?: string;
|
|
32
|
-
successMessage?: string | null;
|
|
33
|
-
className?: string;
|
|
34
|
-
spamProtectionEnabled?: boolean;
|
|
35
|
-
}>) => Readonly<{
|
|
36
|
-
display: Readonly<{
|
|
37
|
-
kind: "form";
|
|
38
|
-
state: "missing" | "ready";
|
|
39
|
-
className: string | null;
|
|
40
|
-
formId: string | null;
|
|
41
|
-
submitLabel: string;
|
|
42
|
-
successMessage: string | null;
|
|
43
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
44
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
45
|
-
}>;
|
|
27
|
+
buildRender: (source: import("../nodes/form.interactive").FormSourceProps) => Readonly<{
|
|
28
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
46
29
|
hydration: Readonly<{
|
|
47
30
|
spamProtectionEnabled?: boolean;
|
|
48
31
|
}>;
|
|
49
32
|
}>;
|
|
50
33
|
contracts: Readonly<{
|
|
51
34
|
source: Readonly<{
|
|
52
|
-
encode: (value:
|
|
53
|
-
|
|
54
|
-
siteId?: string;
|
|
55
|
-
apiBaseUrl?: string;
|
|
56
|
-
submitLabel?: string;
|
|
57
|
-
successMessage?: string | null;
|
|
58
|
-
className?: string;
|
|
59
|
-
spamProtectionEnabled?: boolean;
|
|
60
|
-
}>) => unknown;
|
|
61
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
62
|
-
value?: import("../nodes/form.types").FormRecord;
|
|
63
|
-
siteId?: string;
|
|
64
|
-
apiBaseUrl?: string;
|
|
65
|
-
submitLabel?: string;
|
|
66
|
-
successMessage?: string | null;
|
|
67
|
-
className?: string;
|
|
68
|
-
spamProtectionEnabled?: boolean;
|
|
69
|
-
}>>;
|
|
35
|
+
encode: (value: import("../nodes/form.interactive").FormSourceProps) => unknown;
|
|
36
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.interactive").FormSourceProps>;
|
|
70
37
|
}>;
|
|
71
38
|
render: Readonly<{
|
|
72
39
|
encode: (value: Readonly<{
|
|
73
|
-
display:
|
|
74
|
-
kind: "form";
|
|
75
|
-
state: "missing" | "ready";
|
|
76
|
-
className: string | null;
|
|
77
|
-
formId: string | null;
|
|
78
|
-
submitLabel: string;
|
|
79
|
-
successMessage: string | null;
|
|
80
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
81
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
82
|
-
}>;
|
|
40
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
83
41
|
hydration: Readonly<{
|
|
84
42
|
spamProtectionEnabled?: boolean;
|
|
85
43
|
}>;
|
|
86
44
|
}>) => unknown;
|
|
87
45
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
88
|
-
display:
|
|
89
|
-
kind: "form";
|
|
90
|
-
state: "missing" | "ready";
|
|
91
|
-
className: string | null;
|
|
92
|
-
formId: string | null;
|
|
93
|
-
submitLabel: string;
|
|
94
|
-
successMessage: string | null;
|
|
95
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
96
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
97
|
-
}>;
|
|
46
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
98
47
|
hydration: Readonly<{
|
|
99
48
|
spamProtectionEnabled?: boolean;
|
|
100
49
|
}>;
|
|
@@ -256,20 +205,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
256
205
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
257
206
|
kind: "progressive";
|
|
258
207
|
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
259
|
-
display:
|
|
260
|
-
kind: "newsletter-form";
|
|
261
|
-
availability: "ready" | "unavailable";
|
|
262
|
-
className: string | null;
|
|
263
|
-
buttonLabel: string;
|
|
264
|
-
successMessage: string;
|
|
265
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
266
|
-
privacyNote: string | null;
|
|
267
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
268
|
-
choices: readonly Readonly<{
|
|
269
|
-
id: string;
|
|
270
|
-
label: string;
|
|
271
|
-
}>[];
|
|
272
|
-
}>;
|
|
208
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
273
209
|
hydration: Readonly<{
|
|
274
210
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
275
211
|
setupRevision: number | null;
|
|
@@ -285,20 +221,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
285
221
|
}>;
|
|
286
222
|
render: Readonly<{
|
|
287
223
|
encode: (value: Readonly<{
|
|
288
|
-
display:
|
|
289
|
-
kind: "newsletter-form";
|
|
290
|
-
availability: "ready" | "unavailable";
|
|
291
|
-
className: string | null;
|
|
292
|
-
buttonLabel: string;
|
|
293
|
-
successMessage: string;
|
|
294
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
295
|
-
privacyNote: string | null;
|
|
296
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
297
|
-
choices: readonly Readonly<{
|
|
298
|
-
id: string;
|
|
299
|
-
label: string;
|
|
300
|
-
}>[];
|
|
301
|
-
}>;
|
|
224
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
302
225
|
hydration: Readonly<{
|
|
303
226
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
304
227
|
setupRevision: number | null;
|
|
@@ -308,20 +231,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
308
231
|
}>;
|
|
309
232
|
}>) => unknown;
|
|
310
233
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
311
|
-
display:
|
|
312
|
-
kind: "newsletter-form";
|
|
313
|
-
availability: "ready" | "unavailable";
|
|
314
|
-
className: string | null;
|
|
315
|
-
buttonLabel: string;
|
|
316
|
-
successMessage: string;
|
|
317
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
318
|
-
privacyNote: string | null;
|
|
319
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
320
|
-
choices: readonly Readonly<{
|
|
321
|
-
id: string;
|
|
322
|
-
label: string;
|
|
323
|
-
}>[];
|
|
324
|
-
}>;
|
|
234
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
325
235
|
hydration: Readonly<{
|
|
326
236
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
327
237
|
setupRevision: number | null;
|
|
@@ -67,12 +67,17 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
67
67
|
time: "time";
|
|
68
68
|
layout: "layout";
|
|
69
69
|
group: "group";
|
|
70
|
+
contact: "contact";
|
|
70
71
|
stack: "stack";
|
|
71
72
|
inline: "inline";
|
|
72
73
|
heading: "heading";
|
|
73
74
|
intro: "intro";
|
|
74
75
|
section: "section";
|
|
75
76
|
navigation: "navigation";
|
|
77
|
+
head: "head";
|
|
78
|
+
social: "social";
|
|
79
|
+
panel: "panel";
|
|
80
|
+
base: "base";
|
|
76
81
|
row: "row";
|
|
77
82
|
media: "media";
|
|
78
83
|
caption: "caption";
|
|
@@ -85,7 +90,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
85
90
|
icon: "icon";
|
|
86
91
|
copy: "copy";
|
|
87
92
|
grid: "grid";
|
|
88
|
-
panel: "panel";
|
|
89
93
|
facts: "facts";
|
|
90
94
|
chips: "chips";
|
|
91
95
|
numeral: "numeral";
|
|
@@ -97,7 +101,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
97
101
|
sticker: "sticker";
|
|
98
102
|
list: "list";
|
|
99
103
|
frame: "frame";
|
|
100
|
-
head: "head";
|
|
101
104
|
headline: "headline";
|
|
102
105
|
lede: "lede";
|
|
103
106
|
actions: "actions";
|
|
@@ -142,12 +145,17 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
142
145
|
time: "time";
|
|
143
146
|
layout: "layout";
|
|
144
147
|
group: "group";
|
|
148
|
+
contact: "contact";
|
|
145
149
|
stack: "stack";
|
|
146
150
|
inline: "inline";
|
|
147
151
|
heading: "heading";
|
|
148
152
|
intro: "intro";
|
|
149
153
|
section: "section";
|
|
150
154
|
navigation: "navigation";
|
|
155
|
+
head: "head";
|
|
156
|
+
social: "social";
|
|
157
|
+
panel: "panel";
|
|
158
|
+
base: "base";
|
|
151
159
|
row: "row";
|
|
152
160
|
media: "media";
|
|
153
161
|
caption: "caption";
|
|
@@ -160,7 +168,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
160
168
|
icon: "icon";
|
|
161
169
|
copy: "copy";
|
|
162
170
|
grid: "grid";
|
|
163
|
-
panel: "panel";
|
|
164
171
|
facts: "facts";
|
|
165
172
|
chips: "chips";
|
|
166
173
|
numeral: "numeral";
|
|
@@ -172,7 +179,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
172
179
|
sticker: "sticker";
|
|
173
180
|
list: "list";
|
|
174
181
|
frame: "frame";
|
|
175
|
-
head: "head";
|
|
176
182
|
headline: "headline";
|
|
177
183
|
lede: "lede";
|
|
178
184
|
actions: "actions";
|
|
@@ -212,5 +218,11 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
212
218
|
itemSurfaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<ResolvedSurface, ResolvedSurface>>>;
|
|
213
219
|
};
|
|
214
220
|
export declare function listLookSlot(presentation: LookListPresentation, slot: ArrangementSlotName): {};
|
|
221
|
+
/** Control kind is semantic; legacy markup receives no extra attributes. */
|
|
222
|
+
export declare function listLookControl(presentation: Pick<LookListPresentation, 'lookSlots'>, kind: 'select' | 'select-multiple' | 'link'): {
|
|
223
|
+
'data-control'?: undefined;
|
|
224
|
+
} | {
|
|
225
|
+
'data-control': "link" | "select" | "select-multiple";
|
|
226
|
+
};
|
|
215
227
|
/** Pagination uses the displayed collection, just as declarative repeaters do. */
|
|
216
228
|
export declare function listItemPresentation<T extends LookListPresentation>(presentation: T, index: number, count: number): T;
|
|
@@ -13,11 +13,12 @@ export type TextNodeProps = {
|
|
|
13
13
|
export declare const TextNode: React.FC<TextNodeProps & {
|
|
14
14
|
blockContent?: unknown;
|
|
15
15
|
}>;
|
|
16
|
-
export type RichTextNodeProps = {
|
|
16
|
+
export type RichTextNodeProps = Pick<import("../lookSurfaces").LookListPresentation, "lookSlots"> & {
|
|
17
17
|
value?: unknown;
|
|
18
18
|
path?: string;
|
|
19
19
|
linkedEntryField?: PreviewLinkedEntryFieldBinding;
|
|
20
20
|
className?: string;
|
|
21
|
+
leadParagraphSlot?: "lede";
|
|
21
22
|
children?: React.ReactNode;
|
|
22
23
|
};
|
|
23
24
|
export declare const RichTextNode: React.FC<RichTextNodeProps & {
|
|
@@ -20,12 +20,17 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
20
20
|
time: "time";
|
|
21
21
|
layout: "layout";
|
|
22
22
|
group: "group";
|
|
23
|
+
contact: "contact";
|
|
23
24
|
stack: "stack";
|
|
24
25
|
inline: "inline";
|
|
25
26
|
heading: "heading";
|
|
26
27
|
intro: "intro";
|
|
27
28
|
section: "section";
|
|
28
29
|
navigation: "navigation";
|
|
30
|
+
head: "head";
|
|
31
|
+
social: "social";
|
|
32
|
+
panel: "panel";
|
|
33
|
+
base: "base";
|
|
29
34
|
row: "row";
|
|
30
35
|
media: "media";
|
|
31
36
|
caption: "caption";
|
|
@@ -38,7 +43,6 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
38
43
|
icon: "icon";
|
|
39
44
|
copy: "copy";
|
|
40
45
|
grid: "grid";
|
|
41
|
-
panel: "panel";
|
|
42
46
|
facts: "facts";
|
|
43
47
|
chips: "chips";
|
|
44
48
|
numeral: "numeral";
|
|
@@ -50,7 +54,6 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
50
54
|
sticker: "sticker";
|
|
51
55
|
list: "list";
|
|
52
56
|
frame: "frame";
|
|
53
|
-
head: "head";
|
|
54
57
|
headline: "headline";
|
|
55
58
|
lede: "lede";
|
|
56
59
|
actions: "actions";
|
|
@@ -95,12 +98,17 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
95
98
|
time: "time";
|
|
96
99
|
layout: "layout";
|
|
97
100
|
group: "group";
|
|
101
|
+
contact: "contact";
|
|
98
102
|
stack: "stack";
|
|
99
103
|
inline: "inline";
|
|
100
104
|
heading: "heading";
|
|
101
105
|
intro: "intro";
|
|
102
106
|
section: "section";
|
|
103
107
|
navigation: "navigation";
|
|
108
|
+
head: "head";
|
|
109
|
+
social: "social";
|
|
110
|
+
panel: "panel";
|
|
111
|
+
base: "base";
|
|
104
112
|
row: "row";
|
|
105
113
|
media: "media";
|
|
106
114
|
caption: "caption";
|
|
@@ -113,7 +121,6 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
113
121
|
icon: "icon";
|
|
114
122
|
copy: "copy";
|
|
115
123
|
grid: "grid";
|
|
116
|
-
panel: "panel";
|
|
117
124
|
facts: "facts";
|
|
118
125
|
chips: "chips";
|
|
119
126
|
numeral: "numeral";
|
|
@@ -125,7 +132,6 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
125
132
|
sticker: "sticker";
|
|
126
133
|
list: "list";
|
|
127
134
|
frame: "frame";
|
|
128
|
-
head: "head";
|
|
129
135
|
headline: "headline";
|
|
130
136
|
lede: "lede";
|
|
131
137
|
actions: "actions";
|
|
@@ -88,7 +88,7 @@ export declare function resolveEventDetailsPresentation(input: EventDetailsPrese
|
|
|
88
88
|
arrangement: "event-header" | "details-panel" | undefined;
|
|
89
89
|
entryTitle: string | null | undefined;
|
|
90
90
|
actionSize: "md" | "lg" | "sm" | undefined;
|
|
91
|
-
lookSlots: Readonly<Partial<Record<"day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "row" | "media" | "caption" | "items" | "item" | "places" | "eyebrow" | "mark" | "controls" | "icon" | "copy" | "grid" | "
|
|
91
|
+
lookSlots: Readonly<Partial<Record<"day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "eyebrow" | "mark" | "controls" | "icon" | "copy" | "grid" | "facts" | "chips" | "numeral" | "schedule" | "dates" | "action" | "photo" | "outcome" | "sticker" | "list" | "frame" | "headline" | "lede" | "actions" | "gallery" | "fact-label" | "fact-value" | "chip" | "figure" | "figure-value" | "figure-label" | "date-places" | "lead" | "item-media" | "item-body" | "item-title" | "item-text" | "item-actions" | "row-continued" | "group-label" | "group-day" | "group-date" | "date-label" | "price" | "time-start" | "time-length" | "what" | "item-meta" | "places-low" | "places-full" | "panel-heading" | "more" | "quote" | "attribution" | "control" | "counter", string>>> | undefined;
|
|
92
92
|
itemSurfaces: Readonly<Record<string, import("../../../../../../theme-core/src/site-styles/index").ResolvedSurface>> | undefined;
|
|
93
93
|
panelHeading: string | undefined;
|
|
94
94
|
};
|
|
@@ -17,7 +17,7 @@ type DateTimeFormatOptions = {
|
|
|
17
17
|
*
|
|
18
18
|
* Sites don't store a locale, and every public word around a date is English,
|
|
19
19
|
* so the only open question is which English conventions to follow: day or
|
|
20
|
-
* month first
|
|
20
|
+
* month first. The site's time zone is the one
|
|
21
21
|
* fact every site carries about where it is. It is the site's, never an
|
|
22
22
|
* event's: a venue left at UTC must not turn a UK site's dates American.
|
|
23
23
|
* Anywhere this can't place (UTC, the Americas, Asia) keeps US English, which
|