@riverbankcms/sdk 0.154.0 → 0.155.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 +2 -0
- package/dist/{EventEmbeddedCheckoutStep-ba9npQtb.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-C7FiaxlF.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +29 -20
- package/dist/{PreviewEditorUI-DFst50q1.mjs → PreviewEditorUI-CKKnAw11.mjs} +9 -17
- package/dist/{SdkPreviewModeRuntime-BUNV_YHZ.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +132 -56
- package/dist/{SiteChromeCustomizeContext-DEj7qppF.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +6324 -3566
- package/dist/{ThemedButton-C8kzu0hY.mjs → ThemedButton-Bi0rgijy.mjs} +83 -5
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42213 -16421
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3322 -258
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
- package/dist/_dts/api/src/bookingPeople.d.ts +1 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
- package/dist/_dts/api/src/bookings.d.ts +8 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -3
- package/dist/_dts/api/src/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/index.d.ts +5 -2
- package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
- package/dist/_dts/api/src/public/types.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +22 -7
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
- package/dist/_dts/api/src/sdkThemeWire.d.ts +10 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/types.d.ts +2 -1
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/block-form/src/client/index.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +22 -22
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +9 -5
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
- package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +44 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +33 -0
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/CalendarAction.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +20 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +2 -0
- package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
- package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
- package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
- package/dist/_dts/core/src/booking-refunds.d.ts +43 -2
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +7 -2
- package/dist/_dts/core/src/index.d.ts +3 -2
- package/dist/_dts/core/src/site-terms.d.ts +94 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +306 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
- package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +12 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
- package/dist/_dts/theme-core/src/schema.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +56 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
- package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
- package/dist/_dts/ui/src/calendar.d.ts +6 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-CNoSqFtf.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-BkTkqBkh.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
- package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
- package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
- package/dist/client/{EventCombined.client-BgeYMjHJ.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-BTc_lTkM.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-ChRs9Hl2.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-C_dNQgd0.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-BI9bzbjo.mjs → RichText-D3oE1_pw.mjs} +4 -4
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-6Yz8Wd83.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-i_pKIGiY.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +6572 -3274
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-BUgjPbb6.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-D8OBHuF4.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-F3-9IGLU.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +7379 -2504
- package/dist/client/{context-Dg4ZrxDD.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-BUc7YIBM.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-BwfShk2a.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-BMOVC3go.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-BwE9PM-t.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-CCWPYDc7.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-CXFr0Gd5.mjs → form-C-SGk6nq.mjs} +4 -4
- package/dist/client/{headerSection-BX8qw8kH.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +1283 -213
- package/dist/client/{locationMap-B3La71m0.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-B1Cbv721.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-DnGyR0x7.mjs → newsletterForm-CmwTltoS.mjs} +5 -4
- package/dist/client/{productDetail-BVgTqvkb.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-CcO7kUQw.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-B1OeWavE.mjs → propsDecoder-BRKz13eg.mjs} +5110 -2504
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +6176 -2738
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +7656 -2726
- package/dist/client/{routeIslandApiConfig-Dl4vglJm.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-P72nX5Fs.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-Bt7uraDx.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-C1-mxSye.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-Db-cRGu3.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-jvAiUoUX.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BdWpCniq.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +1 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/keepAlive.mjs +1 -0
- package/dist/preview-next/middleware.mjs +1 -0
- package/dist/{sdk-runtime-DLhjF2Nw.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +4514 -1408
- package/dist/server/config-validation.mjs +1181 -179
- package/dist/server/config.mjs +1147 -177
- package/dist/server/data.mjs +1204 -180
- package/dist/server/date-time.mjs +18 -7
- package/dist/server/index.mjs +4 -1
- package/dist/server/next.mjs +4533 -1429
- package/dist/server/page-converter.mjs +1054 -173
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3775 -1015
- package/dist/server/rendering.mjs +4540 -1425
- package/dist/server/routing.mjs +1321 -247
- package/dist/server/server.mjs +1296 -215
- package/dist/server/theme-bridge.mjs +1864 -73
- package/dist/server/theme.mjs +74 -3
- package/dist/{spinner-MTooKfck.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +942 -1
- package/package.json +1 -1
- package/dist/client/CheckboxChoice-CHJpsty4.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-C7KQKFNt.mjs +0 -344
- package/dist/client/ThemedButton-wl3Z3wkH.mjs +0 -411
- package/dist/client/carousel-DNqd_PjC.mjs +0 -38
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { Theme, ThemeHeader } from '../schema';
|
|
2
2
|
import { TokenResolver } from '../tokens/resolver';
|
|
3
|
+
import { type ThemeResponsiveMode } from '../responsiveMode';
|
|
3
4
|
export interface GenerateHeaderCssOptions {
|
|
4
5
|
themeId: string;
|
|
5
6
|
theme: Theme;
|
|
7
|
+
/** Container mode (editor preview, lab) answers phone rules from the site container. */
|
|
8
|
+
responsiveMode?: ThemeResponsiveMode;
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
8
11
|
* Generate complete CSS for header system from theme config
|
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
* lines up with the first line of text, so long labels wrap cleanly.
|
|
11
11
|
* - .form-check--tile: a bordered, fully clickable panel for agreements
|
|
12
12
|
* (booking consent, consent fields) that tints when ticked.
|
|
13
|
+
* - .form-check--linked: a label with a link in it. The text stays ordinary
|
|
14
|
+
* inline text; the native label is stretched over the whole row or tile so
|
|
15
|
+
* every part of it except the link ticks the box.
|
|
16
|
+
* - .form-check-link: the link in a checkable label, and in lines that stand
|
|
17
|
+
* in for one (the "already agreed" line), drawn from the surface's link
|
|
18
|
+
* colour with an accent underline.
|
|
13
19
|
*/
|
|
14
20
|
export type CheckableCorners = 'square' | 'soft' | 'rounded' | 'pill';
|
|
15
21
|
export type CheckableCssInput = Readonly<{
|
|
@@ -95,6 +95,10 @@ export declare const mockThemes: {
|
|
|
95
95
|
} | undefined;
|
|
96
96
|
};
|
|
97
97
|
scale: "compact" | "balanced" | "spacious" | "minorThird" | "majorThird" | "perfectFourth";
|
|
98
|
+
smallHeading?: {
|
|
99
|
+
family: string;
|
|
100
|
+
weight: "bold" | "medium" | "regular" | "semibold";
|
|
101
|
+
} | undefined;
|
|
98
102
|
proseLinkStyle?: {
|
|
99
103
|
colorToken?: string | undefined;
|
|
100
104
|
hoverColorToken?: string | undefined;
|
|
@@ -175,6 +179,7 @@ export declare const mockThemes: {
|
|
|
175
179
|
padding: "md" | "lg" | "sm";
|
|
176
180
|
opacity: number;
|
|
177
181
|
tint?: string | null | undefined;
|
|
182
|
+
mobileSheet?: "inset" | undefined;
|
|
178
183
|
} | undefined;
|
|
179
184
|
border?: {
|
|
180
185
|
width: "none" | "medium" | "thin" | "thick" | "hairline";
|
|
@@ -2431,6 +2436,10 @@ export declare const mockThemes: {
|
|
|
2431
2436
|
} | undefined;
|
|
2432
2437
|
};
|
|
2433
2438
|
scale: "compact" | "balanced" | "spacious" | "minorThird" | "majorThird" | "perfectFourth";
|
|
2439
|
+
smallHeading?: {
|
|
2440
|
+
family: string;
|
|
2441
|
+
weight: "bold" | "medium" | "regular" | "semibold";
|
|
2442
|
+
} | undefined;
|
|
2434
2443
|
proseLinkStyle?: {
|
|
2435
2444
|
colorToken?: string | undefined;
|
|
2436
2445
|
hoverColorToken?: string | undefined;
|
|
@@ -2511,6 +2520,7 @@ export declare const mockThemes: {
|
|
|
2511
2520
|
padding: "md" | "lg" | "sm";
|
|
2512
2521
|
opacity: number;
|
|
2513
2522
|
tint?: string | null | undefined;
|
|
2523
|
+
mobileSheet?: "inset" | undefined;
|
|
2514
2524
|
} | undefined;
|
|
2515
2525
|
border?: {
|
|
2516
2526
|
width: "none" | "medium" | "thin" | "thick" | "hairline";
|
|
@@ -4767,6 +4777,10 @@ export declare const mockThemes: {
|
|
|
4767
4777
|
} | undefined;
|
|
4768
4778
|
};
|
|
4769
4779
|
scale: "compact" | "balanced" | "spacious" | "minorThird" | "majorThird" | "perfectFourth";
|
|
4780
|
+
smallHeading?: {
|
|
4781
|
+
family: string;
|
|
4782
|
+
weight: "bold" | "medium" | "regular" | "semibold";
|
|
4783
|
+
} | undefined;
|
|
4770
4784
|
proseLinkStyle?: {
|
|
4771
4785
|
colorToken?: string | undefined;
|
|
4772
4786
|
hoverColorToken?: string | undefined;
|
|
@@ -4847,6 +4861,7 @@ export declare const mockThemes: {
|
|
|
4847
4861
|
padding: "md" | "lg" | "sm";
|
|
4848
4862
|
opacity: number;
|
|
4849
4863
|
tint?: string | null | undefined;
|
|
4864
|
+
mobileSheet?: "inset" | undefined;
|
|
4850
4865
|
} | undefined;
|
|
4851
4866
|
border?: {
|
|
4852
4867
|
width: "none" | "medium" | "thin" | "thick" | "hairline";
|
|
@@ -2563,6 +2563,7 @@ export declare const headerSchema: z.ZodObject<{
|
|
|
2563
2563
|
sm: "sm";
|
|
2564
2564
|
}>>;
|
|
2565
2565
|
tint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2566
|
+
mobileSheet: z.ZodOptional<z.ZodLiteral<"inset">>;
|
|
2566
2567
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
2567
2568
|
}, z.core.$strip>>;
|
|
2568
2569
|
border: z.ZodOptional<z.ZodObject<{
|
|
@@ -3321,6 +3322,15 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
3321
3322
|
xl: "xl";
|
|
3322
3323
|
}>;
|
|
3323
3324
|
}, z.core.$strip>;
|
|
3325
|
+
smallHeading: z.ZodOptional<z.ZodObject<{
|
|
3326
|
+
family: z.ZodString;
|
|
3327
|
+
weight: z.ZodEnum<{
|
|
3328
|
+
bold: "bold";
|
|
3329
|
+
medium: "medium";
|
|
3330
|
+
regular: "regular";
|
|
3331
|
+
semibold: "semibold";
|
|
3332
|
+
}>;
|
|
3333
|
+
}, z.core.$strip>>;
|
|
3324
3334
|
headings: z.ZodObject<{
|
|
3325
3335
|
default: z.ZodObject<{
|
|
3326
3336
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3953,6 +3963,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
3953
3963
|
sm: "sm";
|
|
3954
3964
|
}>>;
|
|
3955
3965
|
tint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3966
|
+
mobileSheet: z.ZodOptional<z.ZodLiteral<"inset">>;
|
|
3956
3967
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
3957
3968
|
}, z.core.$strip>>;
|
|
3958
3969
|
border: z.ZodOptional<z.ZodObject<{
|
|
@@ -7883,6 +7894,15 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
7883
7894
|
xl: "xl";
|
|
7884
7895
|
}>;
|
|
7885
7896
|
}, z.core.$strip>;
|
|
7897
|
+
smallHeading: z.ZodOptional<z.ZodObject<{
|
|
7898
|
+
family: z.ZodString;
|
|
7899
|
+
weight: z.ZodEnum<{
|
|
7900
|
+
bold: "bold";
|
|
7901
|
+
medium: "medium";
|
|
7902
|
+
regular: "regular";
|
|
7903
|
+
semibold: "semibold";
|
|
7904
|
+
}>;
|
|
7905
|
+
}, z.core.$strip>>;
|
|
7886
7906
|
headings: z.ZodObject<{
|
|
7887
7907
|
default: z.ZodObject<{
|
|
7888
7908
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8515,6 +8535,7 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
8515
8535
|
sm: "sm";
|
|
8516
8536
|
}>>;
|
|
8517
8537
|
tint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8538
|
+
mobileSheet: z.ZodOptional<z.ZodLiteral<"inset">>;
|
|
8518
8539
|
opacity: z.ZodDefault<z.ZodNumber>;
|
|
8519
8540
|
}, z.core.$strip>>;
|
|
8520
8541
|
border: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,6 +91,8 @@ export type SurfaceSpec = Readonly<{
|
|
|
91
91
|
buttonContext?: Readonly<{
|
|
92
92
|
primary: import('../buttons/types').OpaqueButtonColourToken;
|
|
93
93
|
}>;
|
|
94
|
+
/** Foreground candidates the shared check validates on this paint; a candidate that fails falls back as usual. */
|
|
95
|
+
foreground?: SurfaceForegroundCandidates;
|
|
94
96
|
}> | Readonly<{
|
|
95
97
|
kind: 'tint';
|
|
96
98
|
base: string;
|
|
@@ -55,8 +55,8 @@ export declare const cardListKnobs: readonly ["actionStyle", "showPhotos", "card
|
|
|
55
55
|
export declare const lookKnobBlocks: {
|
|
56
56
|
readonly actionStyle: readonly [...("block.feature-cards" | "block.appointment-services" | "block.offerings-preview")[], "block.event-calendar"];
|
|
57
57
|
readonly titleSize: "block.hero";
|
|
58
|
-
readonly imagePosition: readonly ["block.hero", "block.media-text"];
|
|
59
|
-
readonly imageShape: "block.media-text";
|
|
58
|
+
readonly imagePosition: readonly ["block.hero", "block.intro", "block.media-text"];
|
|
59
|
+
readonly imageShape: readonly ["block.intro", "block.media-text"];
|
|
60
60
|
readonly aspectRatio: "block.media-text";
|
|
61
61
|
readonly stickerLine: "block.hero";
|
|
62
62
|
readonly smallCaption: "block.hero";
|
|
@@ -164,6 +164,7 @@ export declare function cardListKnobDefaults(block: string, arrangement: string,
|
|
|
164
164
|
};
|
|
165
165
|
declare const arrangementLookTargets: {
|
|
166
166
|
readonly hero: "hero";
|
|
167
|
+
readonly intro: "intro";
|
|
167
168
|
readonly 'feature-cards': "feature-cards";
|
|
168
169
|
readonly 'event-calendar': "events";
|
|
169
170
|
readonly testimonials: "testimonials";
|
|
@@ -2,6 +2,6 @@ import { type ThemeColorToken } from '../tokens';
|
|
|
2
2
|
export declare const backgroundAppearanceQuickColorTokenNames: readonly ["background", "surface", "muted", "primary", "secondary", "accent"];
|
|
3
3
|
export declare const backgroundAppearanceBaseColorTokenNames: readonly ["background", "surface", "surfaceAlt", "muted", "primary", "secondary", "accent", "neutral"];
|
|
4
4
|
export declare const backgroundAppearanceShadeableColorTokenNames: readonly ["primary", "secondary", "accent", "neutral"];
|
|
5
|
-
export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "background" | "primary" | "secondary" | "accent" | "surfaceAlt" | "muted" | "neutral" | "neutral-50" | "neutral-900" | "primary-50" | "primary-500" | "primary-900" | "secondary-50" | "secondary-500" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "neutral-100" | "neutral-600" | "primary-400" | "neutral-300" | "neutral-950" | "neutral-800" | "neutral-700" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "accent-400" | "neutral-200" | "secondary-400" | "neutral-400" | "secondary-950" | "primary-
|
|
6
|
-
export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "background" | "primary" | "secondary" | "accent" | "surfaceAlt" | "muted" | "neutral" | "neutral-50" | "neutral-900" | "primary-50" | "primary-500" | "primary-900" | "secondary-50" | "secondary-500" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "neutral-100" | "neutral-600" | "primary-400" | "neutral-300" | "neutral-950" | "neutral-800" | "neutral-700" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "accent-400" | "neutral-200" | "secondary-400" | "neutral-400" | "secondary-950" | "primary-
|
|
5
|
+
export declare const backgroundAppearanceColorTokenNames: readonly ("surface" | "background" | "primary" | "secondary" | "accent" | "surfaceAlt" | "muted" | "neutral" | "neutral-50" | "neutral-900" | "primary-50" | "primary-500" | "primary-900" | "secondary-50" | "secondary-500" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "neutral-100" | "neutral-600" | "primary-400" | "neutral-300" | "neutral-950" | "neutral-800" | "neutral-700" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "accent-400" | "neutral-200" | "secondary-400" | "neutral-400" | "secondary-950" | "primary-800" | "primary-100" | "neutral-500" | "primary-700" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950")[];
|
|
6
|
+
export declare const backgroundAppearanceAdvancedColorTokenNames: ("surface" | "background" | "primary" | "secondary" | "accent" | "surfaceAlt" | "muted" | "neutral" | "neutral-50" | "neutral-900" | "primary-50" | "primary-500" | "primary-900" | "secondary-50" | "secondary-500" | "secondary-900" | "accent-50" | "accent-500" | "accent-900" | "neutral-100" | "neutral-600" | "primary-400" | "neutral-300" | "neutral-950" | "neutral-800" | "neutral-700" | "primary-300" | "primary-600" | "secondary-600" | "accent-600" | "accent-400" | "neutral-200" | "secondary-400" | "neutral-400" | "secondary-950" | "primary-800" | "primary-100" | "neutral-500" | "primary-700" | "primary-200" | "primary-950" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-700" | "secondary-800" | "accent-100" | "accent-200" | "accent-300" | "accent-700" | "accent-800" | "accent-950")[];
|
|
7
7
|
export declare function parseBackgroundAppearanceColorToken(value: unknown): ThemeColorToken | null;
|
|
@@ -13,7 +13,7 @@ import { type SiteStyleHeroTypography } from './siteStyleTypography';
|
|
|
13
13
|
import { type ComponentRuntimeRules, type DesignRuntimeRules } from './runtimeCompiler';
|
|
14
14
|
export declare const SOFT_EARTH_SITE_STYLE_ID_VALUE: "site-style:soft-earth";
|
|
15
15
|
export declare const SOFT_EARTH_SITE_STYLE_ID: SiteStyleId;
|
|
16
|
-
export declare const curatedSiteStyleIdValues: readonly ["site-style:clarity-zen-blue", "site-style:soft-earth", "site-style:south-west-twerk-school", "site-style:kirtan-ornate", "site-style:original-joy", "site-style:fulcrum", "site-style:grounded-practice", "site-style:poster", "site-style:lantern", "site-style:measure"];
|
|
16
|
+
export declare const curatedSiteStyleIdValues: readonly ["site-style:clarity-zen-blue", "site-style:soft-earth", "site-style:south-west-twerk-school", "site-style:kirtan-ornate", "site-style:original-joy", "site-style:fulcrum", "site-style:grounded-practice", "site-style:poster", "site-style:lantern", "site-style:measure", "site-style:folio"];
|
|
17
17
|
export type CuratedSiteStyleIdValue = (typeof curatedSiteStyleIdValues)[number];
|
|
18
18
|
type CuratedSiteStyleBodyTextOverrides = Readonly<{
|
|
19
19
|
intro?: NonNullable<NonNullable<Theme['bodyText']>['intro']>;
|
|
@@ -116,6 +116,10 @@ export type SiteStyleOfferingAudience = Readonly<{
|
|
|
116
116
|
audience: 'generation';
|
|
117
117
|
}> | Readonly<{
|
|
118
118
|
audience: 'lab';
|
|
119
|
+
}> | Readonly<{
|
|
120
|
+
audience: 'local-demo';
|
|
121
|
+
environment: 'local-development' | 'deployed';
|
|
122
|
+
siteSlug?: string | null;
|
|
119
123
|
}>;
|
|
120
124
|
export type SiteStyleOfferingDecision = Readonly<{
|
|
121
125
|
kind: 'offered';
|
|
@@ -706,6 +710,57 @@ export declare const curatedSiteStyles: readonly [Readonly<{
|
|
|
706
710
|
typography: Theme["typography"];
|
|
707
711
|
/** Optional concrete hero typography applied with the site style. */
|
|
708
712
|
heroTypography?: SiteStyleHeroTypography;
|
|
713
|
+
}>, Readonly<{
|
|
714
|
+
id: SiteStyleId;
|
|
715
|
+
name: string;
|
|
716
|
+
description: string;
|
|
717
|
+
generationBrief: string;
|
|
718
|
+
selectionKeywordRules: readonly CuratedSiteStyleSelectionKeywordRule[];
|
|
719
|
+
offering: SiteStyleOffering;
|
|
720
|
+
template: DesignSystemTemplate;
|
|
721
|
+
themeOverrides?: CuratedSiteStyleThemeOverrides;
|
|
722
|
+
/**
|
|
723
|
+
* Optional Theme V2 runtime rules owned by the style. These translate
|
|
724
|
+
* semantic section surfaces into block runtime fields such as background
|
|
725
|
+
* and foreground tokens.
|
|
726
|
+
*/
|
|
727
|
+
designRuntimeRules?: DesignRuntimeRules;
|
|
728
|
+
/** Resolves semantic frames/items into this style's shape and depth language. */
|
|
729
|
+
componentRuntimeRules: ComponentRuntimeRules;
|
|
730
|
+
defaultBlockVariants?: CuratedSiteStyleDefaultBlockVariants;
|
|
731
|
+
/**
|
|
732
|
+
* Site-wide heading decoration signature (family + colour). Applied to
|
|
733
|
+
* eligible block headings as a single consistent mark; alignment is inherited
|
|
734
|
+
* from the heading. The factory defaults this to the short centre rule.
|
|
735
|
+
*/
|
|
736
|
+
headingDecoration: HeadingDecoration;
|
|
737
|
+
looks: SiteStyleLooks;
|
|
738
|
+
/** Used only when creating a default content template, never at render time. */
|
|
739
|
+
contentTemplateDefaults?: Readonly<{
|
|
740
|
+
event: "event-header";
|
|
741
|
+
}>;
|
|
742
|
+
headerCuration: HeaderCuration;
|
|
743
|
+
/**
|
|
744
|
+
* Header appearance this style owns outright, keyed by catalogue style id.
|
|
745
|
+
* Absent entries take `defaultHeaderStyleRecipes`; a present entry is a whole
|
|
746
|
+
* recipe, never a partial merge. Mirrors `themeOverrides.cards`.
|
|
747
|
+
*
|
|
748
|
+
* No curated style authors one yet (ledger D5): the seam ships empty and
|
|
749
|
+
* adoption follows real site work, per the "do not pre-author" rule in
|
|
750
|
+
* docs/guides/site-styles.md.
|
|
751
|
+
*/
|
|
752
|
+
headerStyleRecipes?: HeaderStyleRecipeOverrides;
|
|
753
|
+
/** Whole footer recipes owned by this style; omitted entries use the catalogue default. */
|
|
754
|
+
footerLookRecipes?: FooterLookRecipeOverrides;
|
|
755
|
+
recommendedFooterLookIds: readonly FooterLookId[];
|
|
756
|
+
/** Authored picker choices. First item is the default/fallback. */
|
|
757
|
+
buttonStyleChoices: NonEmptyReadonlyArray<ButtonStyleChoice>;
|
|
758
|
+
/** Authored picker choices. First item is the default/fallback. */
|
|
759
|
+
paletteRecommendations: NonEmptyReadonlyArray<CuratedPaletteRecommendation>;
|
|
760
|
+
/** Concrete typography applied when this site style is selected. */
|
|
761
|
+
typography: Theme["typography"];
|
|
762
|
+
/** Optional concrete hero typography applied with the site style. */
|
|
763
|
+
heroTypography?: SiteStyleHeroTypography;
|
|
709
764
|
}>];
|
|
710
765
|
export declare const curatedSiteStylesById: Map<SiteStyleId, Readonly<{
|
|
711
766
|
id: SiteStyleId;
|
|
@@ -28,7 +28,8 @@ export declare const generatedSiteStyleIdSchema: z.ZodPipe<z.ZodEnum<{
|
|
|
28
28
|
"site-style:kirtan-ornate": "site-style:kirtan-ornate";
|
|
29
29
|
"site-style:original-joy": "site-style:original-joy";
|
|
30
30
|
"site-style:grounded-practice": "site-style:grounded-practice";
|
|
31
|
-
|
|
31
|
+
"site-style:folio": "site-style:folio";
|
|
32
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:fulcrum" | "site-style:poster" | "site-style:lantern" | "site-style:measure" | "site-style:soft-earth" | "site-style:clarity-zen-blue" | "site-style:south-west-twerk-school" | "site-style:kirtan-ornate" | "site-style:original-joy" | "site-style:grounded-practice" | "site-style:folio">>;
|
|
32
33
|
export declare const generatedBlockDesignIntentSchema: z.ZodObject<{
|
|
33
34
|
sectionSurface: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
35
|
source: z.ZodLiteral<"generated">;
|
|
@@ -167,7 +168,8 @@ export declare const generatedPageDesignIntentSchema: z.ZodObject<{
|
|
|
167
168
|
"site-style:kirtan-ornate": "site-style:kirtan-ornate";
|
|
168
169
|
"site-style:original-joy": "site-style:original-joy";
|
|
169
170
|
"site-style:grounded-practice": "site-style:grounded-practice";
|
|
170
|
-
|
|
171
|
+
"site-style:folio": "site-style:folio";
|
|
172
|
+
}>, z.ZodTransform<SiteStyleId, "site-style:fulcrum" | "site-style:poster" | "site-style:lantern" | "site-style:measure" | "site-style:soft-earth" | "site-style:clarity-zen-blue" | "site-style:south-west-twerk-school" | "site-style:kirtan-ornate" | "site-style:original-joy" | "site-style:grounded-practice" | "site-style:folio">>;
|
|
171
173
|
blocks: z.ZodArray<z.ZodObject<{
|
|
172
174
|
blockId: z.ZodString;
|
|
173
175
|
blockKind: z.ZodString;
|
|
@@ -3,6 +3,8 @@ import type { ResolvedSurfaceForeground } from '../surfaces';
|
|
|
3
3
|
import type { HeaderStyleRecipe } from './headerStyleRecipe';
|
|
4
4
|
export type HeaderOpeningForegroundContext = Readonly<{
|
|
5
5
|
openingForeground: ResolvedSurfaceForeground;
|
|
6
|
+
/** Read only by recipes with an `openingPlacement`; absent means no photo. */
|
|
7
|
+
openingPhotoBehindText?: boolean;
|
|
6
8
|
}>;
|
|
7
9
|
export type HeaderStyleAvailability = Readonly<{
|
|
8
10
|
kind: 'available';
|
|
@@ -16,3 +18,5 @@ export declare function headerStyleAvailabilityReasonLabel(reason: Extract<Heade
|
|
|
16
18
|
}>['reason']): string;
|
|
17
19
|
export declare function applyOpeningForeground(theme: Theme, header: Theme['header'], recipe: HeaderStyleRecipe, context: Partial<HeaderOpeningForegroundContext> | undefined): Theme['header'];
|
|
18
20
|
export declare function applyPageOpeningForegroundToTheme(theme: Theme, recipe: HeaderStyleRecipe | null | undefined, context: Partial<HeaderOpeningForegroundContext> | undefined): Theme;
|
|
21
|
+
/** Whether the page's opening section changes how this header compiles. */
|
|
22
|
+
export declare function headerReadsOpening(recipe: HeaderStyleRecipe): boolean;
|
|
@@ -89,7 +89,12 @@ export type HeaderFrameRecipe = Readonly<{
|
|
|
89
89
|
kind: 'none';
|
|
90
90
|
}> | (Readonly<{
|
|
91
91
|
kind: 'container';
|
|
92
|
-
}> & Pick<HeaderContainerFrame, 'rounded' | 'padding' | 'tint' | 'opacity'>
|
|
92
|
+
}> & Pick<HeaderContainerFrame, 'rounded' | 'padding' | 'tint' | 'opacity'> &
|
|
93
|
+
/** Absent keeps the lifted frame every catalogue container has today. */
|
|
94
|
+
Readonly<{
|
|
95
|
+
shadow?: false;
|
|
96
|
+
mobileSheet?: 'inset';
|
|
97
|
+
}>) | (Readonly<{
|
|
93
98
|
kind: 'nav-container';
|
|
94
99
|
}> & Readonly<{
|
|
95
100
|
type: Exclude<HeaderNavContainerFrame['type'], 'none'>;
|
|
@@ -130,6 +135,13 @@ export type HeaderStyleRecipeCore = Readonly<{
|
|
|
130
135
|
* also what makes the style available without a known opening foreground.
|
|
131
136
|
*/
|
|
132
137
|
openingForeground?: 'brand-only' | 'all';
|
|
138
|
+
/**
|
|
139
|
+
* Where a floating header may float. `'photo-behind-text'` floats it only
|
|
140
|
+
* when the page opens with a photo behind its text; on every other opening
|
|
141
|
+
* the same selection compiles as an in-flow bar, so it never covers a
|
|
142
|
+
* heading. Absent keeps today's behaviour: floating always floats.
|
|
143
|
+
*/
|
|
144
|
+
openingPlacement?: 'photo-behind-text';
|
|
133
145
|
/** Contrast treatment once the page scrolls under a floating header. */
|
|
134
146
|
scrollTreatment?: 'contrast-glass';
|
|
135
147
|
/**
|
|
@@ -160,7 +160,7 @@ export { cardListKnobs, cardListKnobBlocks, lookKnobBlocks, type LookKnobBlock,
|
|
|
160
160
|
export declare const arrangementAppearancePresets: ArrangementBlockAppearancePreset[];
|
|
161
161
|
export declare function arrangementStyleAvailability(style: SiteStyleLooks, preset: ArrangementBlockAppearancePreset, capabilities: ArrangementLookCapabilities | undefined): LookAvailability;
|
|
162
162
|
/** Closed structural hooks shared by block arrangements and bounded skins. */
|
|
163
|
-
export declare const arrangementSlotNames: readonly ["contact", "social", "base", "section", "stack", "inline", "grid", "head", "eyebrow", "heading", "intro", "frame", "copy", "caption", "headline", "lede", "actions", "media", "photo", "gallery", "sticker", "facts", "fact-label", "fact-value", "chips", "chip", "figure", "figure-value", "figure-label", "schedule", "dates", "date-places", "availability", "layout", "items", "item", "lead", "item-media", "item-body", "icon", "numeral", "item-title", "item-text", "item-actions", "list", "row", "row-continued", "group", "group-label", "group-day", "group-date", "date", "weekday", "day", "month", "date-label", "time", "price", "mark", "navigation", "time-start", "time-length", "what", "item-meta", "places", "places-low", "places-full", "action", "panel", "panel-heading", "more", "quote", "attribution", "outcome", "controls", "control", "counter"];
|
|
163
|
+
export declare const arrangementSlotNames: readonly ["contact", "social", "base", "section", "background", "schedule-section", "shop-section", "stack", "inline", "grid", "head", "eyebrow", "heading", "intro", "frame", "copy", "caption", "headline", "lede", "actions", "media", "photo", "gallery", "sticker", "facts", "fact-label", "fact-value", "chips", "chip", "figure", "figure-value", "figure-label", "schedule", "dates", "date-places", "availability", "layout", "items", "item", "lead", "item-media", "item-body", "icon", "numeral", "item-title", "item-text", "item-actions", "list", "row", "row-continued", "group", "group-label", "group-day", "group-date", "date", "weekday", "day", "month", "date-label", "time", "price", "mark", "navigation", "time-start", "time-length", "what", "item-meta", "places", "places-low", "places-full", "action", "panel", "panel-heading", "more", "quote", "attribution", "outcome", "controls", "control", "counter"];
|
|
164
164
|
export type ArrangementSlotName = typeof arrangementSlotNames[number];
|
|
165
165
|
/** One role resolver, including section inheritance and ground-specific overrides. */
|
|
166
166
|
export declare function resolveItemSurface(role: import('../cards').ItemRole, ground: Ground, style: Readonly<{
|
|
@@ -33,6 +33,11 @@ export declare function parseCanonicalRuntimeBackground(content: Record<string,
|
|
|
33
33
|
export declare function resolveSectionBackground(source: CanonicalRuntimeBackground, lookDefault: NonNullable<NonNullable<CompiledBlockRuntimeFields['_sectionStyles']>['background']> | null | undefined, rhythm?: RuntimeBoxBackground | null, arrangementHeroPhoto?: Readonly<{
|
|
34
34
|
paintsGround: boolean;
|
|
35
35
|
}>): ResolvedSectionBackground;
|
|
36
|
+
/** Photo placement follows the same resolved ground used to paint the section. */
|
|
37
|
+
export type SectionPhotoPlacement = 'behind-text' | 'none';
|
|
38
|
+
export declare function resolveSectionPhotoPlacement(background: ResolvedSectionBackground, heroPhoto?: Readonly<{
|
|
39
|
+
paintsGround: boolean;
|
|
40
|
+
}>): SectionPhotoPlacement;
|
|
36
41
|
export declare function resolveSectionForeground(background: ResolvedSectionBackground, palette: Readonly<Record<string, string>>): ResolvedSurfaceForeground;
|
|
37
42
|
/**
|
|
38
43
|
* Read foreground authority from post-compiler block content. The preview
|
|
@@ -206,6 +206,52 @@ export declare const groundedSerifTypography: {
|
|
|
206
206
|
};
|
|
207
207
|
readonly scale: "balanced";
|
|
208
208
|
};
|
|
209
|
+
/** Folio keeps the practitioner pairing, with a larger serif and working sans names. */
|
|
210
|
+
export declare const folioTypography: {
|
|
211
|
+
readonly body: {
|
|
212
|
+
readonly family: "Open Sans, system-ui, sans-serif";
|
|
213
|
+
readonly size: "lg";
|
|
214
|
+
readonly weight: "regular";
|
|
215
|
+
readonly lineHeight: "relaxed";
|
|
216
|
+
readonly letterSpacing: "normal";
|
|
217
|
+
};
|
|
218
|
+
readonly smallHeading: {
|
|
219
|
+
readonly family: "Open Sans, system-ui, sans-serif";
|
|
220
|
+
readonly weight: "semibold";
|
|
221
|
+
};
|
|
222
|
+
readonly headings: {
|
|
223
|
+
readonly h1: {
|
|
224
|
+
readonly lineHeight: "tight";
|
|
225
|
+
readonly letterSpacing: "tight";
|
|
226
|
+
readonly size: "2xl";
|
|
227
|
+
readonly weight: "medium";
|
|
228
|
+
readonly italic: null;
|
|
229
|
+
};
|
|
230
|
+
readonly h2: {
|
|
231
|
+
readonly lineHeight: "tight";
|
|
232
|
+
readonly letterSpacing: "tight";
|
|
233
|
+
readonly size: "xl";
|
|
234
|
+
readonly weight: "medium";
|
|
235
|
+
readonly italic: null;
|
|
236
|
+
};
|
|
237
|
+
readonly h3: {
|
|
238
|
+
readonly lineHeight: "tight";
|
|
239
|
+
readonly size: "md";
|
|
240
|
+
readonly weight: "medium";
|
|
241
|
+
readonly letterSpacing: "normal";
|
|
242
|
+
readonly italic: null;
|
|
243
|
+
};
|
|
244
|
+
readonly default: {
|
|
245
|
+
readonly family: "Cormorant Garamond, Georgia, serif";
|
|
246
|
+
readonly weight: "medium";
|
|
247
|
+
readonly lineHeight: "normal";
|
|
248
|
+
readonly letterSpacing: "normal";
|
|
249
|
+
readonly italic: null;
|
|
250
|
+
readonly case: null;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
readonly scale: "balanced";
|
|
254
|
+
};
|
|
209
255
|
export declare const kirtanOrnateTypography: {
|
|
210
256
|
readonly body: {
|
|
211
257
|
readonly family: "Jost, system-ui, sans-serif";
|
|
@@ -9,6 +9,7 @@ export type StatusGeneratorTheme = Pick<Theme, 'corners'>;
|
|
|
9
9
|
export interface GenerateStatusCssParams {
|
|
10
10
|
themeId: string;
|
|
11
11
|
theme: StatusGeneratorTheme;
|
|
12
|
+
palette: Readonly<Record<string, string>>;
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
14
15
|
* Generate status and alert CSS from theme settings.
|
|
@@ -16,10 +17,12 @@ export interface GenerateStatusCssParams {
|
|
|
16
17
|
* Creates scoped CSS classes for:
|
|
17
18
|
* - .status-error, .status-success, .status-warning, .status-info, .status-muted (text colors)
|
|
18
19
|
* - .alert, .alert-error, .alert-success, .alert-warning, .alert-info (styled containers)
|
|
20
|
+
* - .alert-neutral: a notice in the surface's own text colour, for news that
|
|
21
|
+
* is neither good nor bad (status tokens can be unreadable as text)
|
|
19
22
|
* - .feedback-note, .feedback-note-* (the "field-note" feedback treatment)
|
|
20
23
|
* - .required-marker (required field indicator)
|
|
21
24
|
* - .button-link (text-styled button)
|
|
22
25
|
*
|
|
23
26
|
* Selectors use :where() for zero specificity, allowing site styles to override easily.
|
|
24
27
|
*/
|
|
25
|
-
export declare function generateStatusCss({ themeId, theme }: GenerateStatusCssParams): string;
|
|
28
|
+
export declare function generateStatusCss({ themeId, theme, palette }: GenerateStatusCssParams): string;
|
|
@@ -48,3 +48,5 @@ type Palette = Readonly<Record<string, string>>;
|
|
|
48
48
|
* pixel-level contrast proof for media.
|
|
49
49
|
*/
|
|
50
50
|
export declare function resolveSurfaceForeground(background: SurfaceForegroundBackground | null, palette: Palette, candidates?: SurfaceForegroundCandidates, options?: SurfaceForegroundResolutionOptions): ResolvedSurfaceForeground;
|
|
51
|
+
/** Keep a candidate only when it meets ordinary-text contrast on the ground. */
|
|
52
|
+
export declare function safeTokenOr(candidate: string | null, fallback: ThemeColorToken, backgroundHex: string, palette: Palette): ThemeColorToken;
|
|
@@ -67,6 +67,15 @@ export declare const typographySchema: z.ZodObject<{
|
|
|
67
67
|
xl: "xl";
|
|
68
68
|
}>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
+
smallHeading: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
family: z.ZodString;
|
|
72
|
+
weight: z.ZodEnum<{
|
|
73
|
+
bold: "bold";
|
|
74
|
+
medium: "medium";
|
|
75
|
+
regular: "regular";
|
|
76
|
+
semibold: "semibold";
|
|
77
|
+
}>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
70
79
|
headings: z.ZodObject<{
|
|
71
80
|
default: z.ZodObject<{
|
|
72
81
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2,8 +2,13 @@ import * as React from "react";
|
|
|
2
2
|
import { DayPicker } from "react-day-picker";
|
|
3
3
|
import type { DayButtonProps } from "react-day-picker";
|
|
4
4
|
import { Button } from "./button";
|
|
5
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
5
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, locale, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
6
6
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
7
7
|
}): React.JSX.Element;
|
|
8
8
|
declare function CalendarDayButton({ className, day, modifiers, ...props }: DayButtonProps): React.JSX.Element;
|
|
9
9
|
export { Calendar, CalendarDayButton };
|
|
10
|
+
/** Picker adapters choose display locale; DayPicker derives week start from its metadata. */
|
|
11
|
+
export declare const calendarLocales: {
|
|
12
|
+
'en-GB': import("react-day-picker").DayPickerLocale;
|
|
13
|
+
'en-US': import("react-day-picker").DayPickerLocale;
|
|
14
|
+
};
|
|
@@ -50,7 +50,7 @@ export { Tooltip, TooltipProvider, TooltipTrigger, TooltipContent, } from './too
|
|
|
50
50
|
export { Badge, badgeVariants } from './badge';
|
|
51
51
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './accordion';
|
|
52
52
|
export { SectionAccordion, SectionAccordionItem, SectionAccordionTrigger, SectionAccordionContent, } from './section-accordion';
|
|
53
|
-
export { Calendar } from './calendar';
|
|
53
|
+
export { Calendar, calendarLocales } from './calendar';
|
|
54
54
|
export { DatePickerTriggerButton, type DatePickerTriggerButtonProps } from './date-picker';
|
|
55
55
|
export { createPickerComboboxItems, createPickerCommandMultiSelectItems, normalizePickerSearchThreshold, resolvePickerSelectionLabel, shouldShowPickerSearch, type AsyncPickerOptionsState, type PickerLabels, type PickerOption, type PickerOptionBadge, type PickerOptionBadgeVariant, type PickerSelectionLabelArgs, } from './picker';
|
|
56
56
|
export { useAsyncPickerOptions, type UseAsyncPickerOptionsArgs, type UseAsyncPickerOptionsReturn, } from './use-async-picker-options';
|
package/dist/client/{BookingMailingListNote-CNoSqFtf.mjs → BookingMailingListNote-CiW1dsz7.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Tr as assertNever } from "./propsDecoder-BRKz13eg.mjs";
|
|
3
|
+
import { t as RichText } from "./RichText-D3oE1_pw.mjs";
|
|
4
|
+
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-DS-_ePzG.mjs";
|
|
5
5
|
import { useCallback, useEffect, useId, useReducer, useRef, useState } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/shared/components/StepIndicator.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as renderAudio, c as resolveMediaNodeResponsiveImage, i as mediaImageHostProps, n as MediaPlaceholder, o as renderVideo, r as computeMediaTransformStyle, t as ImagePresets } from "./media-
|
|
3
|
-
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-
|
|
4
|
-
import {
|
|
1
|
+
import { Bn as resolveRuntimeEventDestination, Hn as canJoinEventWaitlistOnAnyMode, Jn as isEventFull, Ni as assertNever, er as listLookSlot } from "./propsDecoder-BRKz13eg.mjs";
|
|
2
|
+
import { a as renderAudio, c as resolveMediaNodeResponsiveImage, i as mediaImageHostProps, n as MediaPlaceholder, o as renderVideo, r as computeMediaTransformStyle, t as ImagePresets } from "./media-V_ShXXru.mjs";
|
|
3
|
+
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-D-0tNVxE.mjs";
|
|
4
|
+
import { a as ExternalLinkIcon, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-Ckj0Rfr_.mjs";
|
|
5
5
|
import "react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
8
8
|
/**
|
|
9
9
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -136,7 +136,10 @@ const partRenderers = {
|
|
|
136
136
|
children: item.titleLink || item.href ? /* @__PURE__ */ jsx("a", {
|
|
137
137
|
...item.titleLink,
|
|
138
138
|
href: item.titleLink?.href ?? item.href ?? void 0,
|
|
139
|
-
children:
|
|
139
|
+
children: /* @__PURE__ */ jsx(LinkedLabel, {
|
|
140
|
+
label: item.title,
|
|
141
|
+
newTabHint: item.newTabHint
|
|
142
|
+
})
|
|
140
143
|
}) : item.title
|
|
141
144
|
}),
|
|
142
145
|
text: ({ item, presentation }) => item.text ? /* @__PURE__ */ jsx("p", {
|
|
@@ -212,19 +215,48 @@ const partRenderers = {
|
|
|
212
215
|
function CardListContentPart({ part, ...props }) {
|
|
213
216
|
return partRenderers[part](props);
|
|
214
217
|
}
|
|
218
|
+
function CardListLeadDate({ item, presentation }) {
|
|
219
|
+
const date = item.leadDate;
|
|
220
|
+
return date ? /* @__PURE__ */ jsxs("time", {
|
|
221
|
+
...listLookSlot(presentation, "date"),
|
|
222
|
+
"data-lead-date": true,
|
|
223
|
+
dateTime: date.startsAt,
|
|
224
|
+
"aria-label": date.label,
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ jsx("span", {
|
|
227
|
+
...listLookSlot(presentation, "weekday"),
|
|
228
|
+
children: date.weekday
|
|
229
|
+
}),
|
|
230
|
+
/* @__PURE__ */ jsx("strong", {
|
|
231
|
+
...listLookSlot(presentation, "day"),
|
|
232
|
+
children: date.day
|
|
233
|
+
}),
|
|
234
|
+
/* @__PURE__ */ jsx("span", {
|
|
235
|
+
...listLookSlot(presentation, "month"),
|
|
236
|
+
children: date.month
|
|
237
|
+
})
|
|
238
|
+
]
|
|
239
|
+
}) : null;
|
|
240
|
+
}
|
|
215
241
|
function CardListAction({ item, presentation }) {
|
|
216
242
|
const action = item.action;
|
|
217
|
-
const link =
|
|
218
|
-
href: action.href ?? "",
|
|
219
|
-
target: action.external ? "_blank" : void 0,
|
|
220
|
-
rel: action.external ? "noopener noreferrer" : void 0
|
|
221
|
-
};
|
|
243
|
+
const link = cardListActionLink(action);
|
|
222
244
|
return /* @__PURE__ */ jsx("div", {
|
|
223
245
|
...listLookSlot(presentation, "item-actions"),
|
|
224
246
|
children: !action.href ? /* @__PURE__ */ jsx("span", { children: action.label }) : presentation.itemActionStyle === "link" ? /* @__PURE__ */ jsx("a", {
|
|
225
247
|
...link,
|
|
226
248
|
className: "rb-item-text-link",
|
|
227
|
-
children:
|
|
249
|
+
children: /* @__PURE__ */ jsx(LinkedLabel, {
|
|
250
|
+
label: action.label,
|
|
251
|
+
newTabHint: item.newTabHint
|
|
252
|
+
})
|
|
253
|
+
}) : item.newTabHint ? /* @__PURE__ */ jsx(ThemedAuthoredButton, {
|
|
254
|
+
...link,
|
|
255
|
+
variant: presentation.buttonVariant ?? "primary",
|
|
256
|
+
size: presentation.actionSize ?? "sm",
|
|
257
|
+
label: action.label,
|
|
258
|
+
trailingIcon: "ExternalLink",
|
|
259
|
+
ariaLabel: `${action.label} (opens in a new tab)`
|
|
228
260
|
}) : /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
229
261
|
...link,
|
|
230
262
|
variant: presentation.buttonVariant ?? "primary",
|
|
@@ -233,5 +265,30 @@ function CardListAction({ item, presentation }) {
|
|
|
233
265
|
})
|
|
234
266
|
});
|
|
235
267
|
}
|
|
268
|
+
function ExternalLinkHint() {
|
|
269
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ExternalLinkIcon, {
|
|
270
|
+
size: 14,
|
|
271
|
+
"aria-hidden": "true"
|
|
272
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
273
|
+
className: "rb-sr-only",
|
|
274
|
+
children: " (opens in a new tab)"
|
|
275
|
+
})] });
|
|
276
|
+
}
|
|
277
|
+
function cardListActionLink(action) {
|
|
278
|
+
return {
|
|
279
|
+
href: action.href ?? "",
|
|
280
|
+
target: action.external ? "_blank" : void 0,
|
|
281
|
+
rel: action.external ? "noopener noreferrer" : void 0
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
/** Keep the external indicator attached to the final word while allowing the title to wrap. */
|
|
285
|
+
function LinkedLabel({ label, newTabHint }) {
|
|
286
|
+
if (!newTabHint) return label;
|
|
287
|
+
const split = label.lastIndexOf(" ") + 1;
|
|
288
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [label.slice(0, split), /* @__PURE__ */ jsxs("span", {
|
|
289
|
+
className: "rb-linked-label-tail",
|
|
290
|
+
children: [label.slice(split), /* @__PURE__ */ jsx(ExternalLinkHint, {})]
|
|
291
|
+
})] });
|
|
292
|
+
}
|
|
236
293
|
//#endregion
|
|
237
|
-
export {
|
|
294
|
+
export { resolveEventCta as a, MediaNodeServer as i, CardListLeadDate as n, resolveEventLinkProps as o, resolveCardListSchedule as r, CardListContentPart as t };
|