@riverbankcms/sdk 0.153.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-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
- 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/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
- package/dist/_dts/api/src/bookings.d.ts +10 -4
- 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 +5 -3
- package/dist/_dts/api/src/endpoints.d.ts +89 -44
- 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 +9 -4
- 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/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 +24 -9
- 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 +172 -103
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- 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/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +13 -32
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- 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/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
- 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/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/rendering/server.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 +13 -9
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- 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/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/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 +119 -9
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- 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/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- 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/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 +51 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
- 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 +22 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- 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 +16 -4
- 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/domain/dates.d.ts +1 -1
- 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 +49 -21
- 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/gifting.interactive.d.ts +8 -0
- 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/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/shared/contract-schemas.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/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -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 +3 -10
- 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/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -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/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- 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/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 -0
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +90 -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 +4 -1
- 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/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 +356 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
- 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/ArrangementBlockToolbar.d.ts +2 -1
- 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 +3 -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/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/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 +4 -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/rendering/islands/types.d.ts +1 -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/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/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -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/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 +249 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +321 -192
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -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 +81 -1
- 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/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/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- 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/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -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/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/card.d.ts +1 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-CC_GVmF6.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-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +19252 -15228
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +13559 -7353
- package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +3280 -1362
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +15893 -11685
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +14451 -8139
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +134 -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 +134 -51
- package/dist/preview-next/middleware.mjs +134 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +15231 -10855
- package/dist/server/config-validation.mjs +3153 -1323
- package/dist/server/config.mjs +3119 -1321
- package/dist/server/data.mjs +3201 -1329
- package/dist/server/date-time.mjs +270 -117
- package/dist/server/index.mjs +137 -52
- package/dist/server/next.mjs +14713 -10388
- package/dist/server/page-converter.mjs +2642 -1073
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +14674 -10630
- package/dist/server/rendering.mjs +15055 -10670
- package/dist/server/routing.mjs +3483 -1488
- package/dist/server/server.mjs +3620 -1740
- package/dist/server/theme-bridge.mjs +2694 -189
- package/dist/server/theme.mjs +422 -67
- package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +1196 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
- package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
- package/dist/client/carousel-BSCBhfHY.mjs +0 -38
package/dist/server/theme.mjs
CHANGED
|
@@ -805,6 +805,15 @@ const eyebrowTypographyStyleSchema = z.object({
|
|
|
805
805
|
});
|
|
806
806
|
const typographySchema = z.object({
|
|
807
807
|
body: bodyTypographyStyleSchema,
|
|
808
|
+
smallHeading: z.object({
|
|
809
|
+
family: z.string().min(1),
|
|
810
|
+
weight: z.enum([
|
|
811
|
+
"regular",
|
|
812
|
+
"medium",
|
|
813
|
+
"semibold",
|
|
814
|
+
"bold"
|
|
815
|
+
])
|
|
816
|
+
}).optional(),
|
|
808
817
|
headings: z.object({
|
|
809
818
|
default: headingTypographyStyleSchema,
|
|
810
819
|
h1: headingTypographyOverridesSchema,
|
|
@@ -961,14 +970,6 @@ const themeLookMetadataSchema = z.object({
|
|
|
961
970
|
skinMarks: skinMarksSchema.optional()
|
|
962
971
|
});
|
|
963
972
|
//#endregion
|
|
964
|
-
//#region ../theme-core/src/footer/mode.ts
|
|
965
|
-
const footerModeSchema = z.enum([
|
|
966
|
-
"default",
|
|
967
|
-
"blocks",
|
|
968
|
-
"default+blocks",
|
|
969
|
-
"none"
|
|
970
|
-
]);
|
|
971
|
-
//#endregion
|
|
972
973
|
//#region ../core/src/result.ts
|
|
973
974
|
function ok(value) {
|
|
974
975
|
return {
|
|
@@ -1184,6 +1185,29 @@ const paletteSchema = z.object({
|
|
|
1184
1185
|
};
|
|
1185
1186
|
});
|
|
1186
1187
|
//#endregion
|
|
1188
|
+
//#region ../theme-core/src/buttons/typography.ts
|
|
1189
|
+
const textTransformSchema = z.enum([
|
|
1190
|
+
"none",
|
|
1191
|
+
"uppercase",
|
|
1192
|
+
"lowercase",
|
|
1193
|
+
"capitalize"
|
|
1194
|
+
]);
|
|
1195
|
+
const fontWeightSchema = z.union([
|
|
1196
|
+
z.literal(400),
|
|
1197
|
+
z.literal(500),
|
|
1198
|
+
z.literal(600),
|
|
1199
|
+
z.literal(700),
|
|
1200
|
+
z.literal(800)
|
|
1201
|
+
]);
|
|
1202
|
+
const buttonTypographySchema = z.enum(["body", "heading"]);
|
|
1203
|
+
const letterSpacingSchema = z.enum([
|
|
1204
|
+
"tight",
|
|
1205
|
+
"normal",
|
|
1206
|
+
"slight",
|
|
1207
|
+
"loose",
|
|
1208
|
+
"wide"
|
|
1209
|
+
]);
|
|
1210
|
+
//#endregion
|
|
1187
1211
|
//#region ../theme-core/src/buttons/types.ts
|
|
1188
1212
|
/**
|
|
1189
1213
|
* Standard semantic variant roles a theme exposes.
|
|
@@ -1299,6 +1323,7 @@ const buttonEffectApplicationSchema = z.discriminatedUnion("effectId", [
|
|
|
1299
1323
|
z.strictObject({
|
|
1300
1324
|
effectId: z.literal("lift"),
|
|
1301
1325
|
options: z.strictObject({ amount: z.enum([
|
|
1326
|
+
"0.125",
|
|
1302
1327
|
"0.25",
|
|
1303
1328
|
"0.5",
|
|
1304
1329
|
"1"
|
|
@@ -1345,24 +1370,6 @@ const shadowSizeSchema = z.enum([
|
|
|
1345
1370
|
"medium",
|
|
1346
1371
|
"high"
|
|
1347
1372
|
]);
|
|
1348
|
-
const textTransformSchema = z.enum([
|
|
1349
|
-
"none",
|
|
1350
|
-
"uppercase",
|
|
1351
|
-
"lowercase",
|
|
1352
|
-
"capitalize"
|
|
1353
|
-
]);
|
|
1354
|
-
const fontWeightSchema = z.union([
|
|
1355
|
-
z.literal(500),
|
|
1356
|
-
z.literal(600),
|
|
1357
|
-
z.literal(700),
|
|
1358
|
-
z.literal(800)
|
|
1359
|
-
]);
|
|
1360
|
-
const buttonTypographySchema = z.enum(["body", "heading"]);
|
|
1361
|
-
const letterSpacingSchema = z.enum([
|
|
1362
|
-
"tight",
|
|
1363
|
-
"normal",
|
|
1364
|
-
"loose"
|
|
1365
|
-
]);
|
|
1366
1373
|
const hoverTransformSchema = z.enum([
|
|
1367
1374
|
"none",
|
|
1368
1375
|
"lift",
|
|
@@ -1434,7 +1441,8 @@ const paddingShorthandSchema = z.string().refine((value) => {
|
|
|
1434
1441
|
}, { message: "Padding must be two space-separated CSS length tokens (e.g. \"0.5rem 1rem\"). Use `0` for zero." });
|
|
1435
1442
|
const buttonSizeConfigSchema = z.object({
|
|
1436
1443
|
padding: paddingShorthandSchema,
|
|
1437
|
-
fontSize: z.string().optional()
|
|
1444
|
+
fontSize: z.string().optional(),
|
|
1445
|
+
borderRadius: z.string().optional()
|
|
1438
1446
|
});
|
|
1439
1447
|
/**
|
|
1440
1448
|
* `xl` is optional on the wire so themes persisted before the `xl` size was
|
|
@@ -1557,12 +1565,20 @@ const buttonVisualAppearanceSchema = z.strictObject({
|
|
|
1557
1565
|
textTransform: textTransformSchema
|
|
1558
1566
|
}),
|
|
1559
1567
|
effects: z.array(buttonEffectApplicationSchema),
|
|
1568
|
+
transform: z.literal("none").optional(),
|
|
1560
1569
|
contextualHover: contextualButtonHoverSchema.optional()
|
|
1561
1570
|
});
|
|
1562
1571
|
const buttonVisualStatesSchema = z.strictObject({
|
|
1563
1572
|
base: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
|
|
1564
1573
|
hover: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
|
|
1565
|
-
focus: buttonVisualAppearanceSchema.extend({
|
|
1574
|
+
focus: buttonVisualAppearanceSchema.extend({
|
|
1575
|
+
shadow: z.literal("focus-indicator"),
|
|
1576
|
+
indicator: z.strictObject({
|
|
1577
|
+
kind: z.literal("surface-ink"),
|
|
1578
|
+
width: z.union([z.literal(2), z.literal(3)]),
|
|
1579
|
+
offset: z.union([z.literal(3), z.literal(4)])
|
|
1580
|
+
}).optional()
|
|
1581
|
+
}),
|
|
1566
1582
|
active: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema }),
|
|
1567
1583
|
disabled: buttonVisualAppearanceSchema.extend({ shadow: variantShadowSchema })
|
|
1568
1584
|
});
|
|
@@ -1969,6 +1985,10 @@ function validateButtonTextContrast(input) {
|
|
|
1969
1985
|
}
|
|
1970
1986
|
};
|
|
1971
1987
|
}
|
|
1988
|
+
/** A text-token slab inverts the palette's text/background pair, including text shades. */
|
|
1989
|
+
function solidForegroundToken(backgroundToken) {
|
|
1990
|
+
return /^text(?:-\d+)?$/.test(backgroundToken) ? "background" : onColorTokenName(backgroundToken);
|
|
1991
|
+
}
|
|
1972
1992
|
//#endregion
|
|
1973
1993
|
//#region ../theme-core/src/buttons/contextualHover.ts
|
|
1974
1994
|
function resolveContextualHoverPreference(input) {
|
|
@@ -2066,7 +2086,7 @@ function candidate(family, shade, currentShade, direction, seedHex, palette) {
|
|
|
2066
2086
|
}
|
|
2067
2087
|
function hasSafeTextContrast(token, palette) {
|
|
2068
2088
|
const background = palette[token];
|
|
2069
|
-
const foreground = palette[
|
|
2089
|
+
const foreground = palette[solidForegroundToken(token)];
|
|
2070
2090
|
return typeof background === "string" && typeof foreground === "string" && contrastRatio(background, foreground) >= BUTTON_CONTRAST_POLICY.textMinimumRatio;
|
|
2071
2091
|
}
|
|
2072
2092
|
function isSafeCandidate(token, palette, surface) {
|
|
@@ -2161,6 +2181,13 @@ function compileDeclaredVisualStates(input, states) {
|
|
|
2161
2181
|
const colours = collectStateColours(mapVisualStates((state) => compileDeclaredVisualState(input, states, state, state === "hover" ? hover.treatment : states[state].background)));
|
|
2162
2182
|
return colours.ok ? {
|
|
2163
2183
|
...colours,
|
|
2184
|
+
focusIndicator: states.focus.indicator ? {
|
|
2185
|
+
kind: "surface-role",
|
|
2186
|
+
colorCss: input.surface?.foregroundCss ?? surfaceForegroundValue("text"),
|
|
2187
|
+
width: states.focus.indicator.width,
|
|
2188
|
+
offset: states.focus.indicator.offset,
|
|
2189
|
+
minimumSurfaceContrast: BUTTON_CONTRAST_POLICY.nonTextMinimumRatio
|
|
2190
|
+
} : colours.focusIndicator,
|
|
2164
2191
|
contextualHoverRepair: hover.repair
|
|
2165
2192
|
} : colours;
|
|
2166
2193
|
}
|
|
@@ -2298,7 +2325,7 @@ function resolveFocusIndicator(colour) {
|
|
|
2298
2325
|
function resolveSolid(input, backgroundToken, edge) {
|
|
2299
2326
|
const backgroundHex = paletteHex(input, backgroundToken);
|
|
2300
2327
|
if (!backgroundHex.ok) return backgroundHex;
|
|
2301
|
-
const foregroundToken = unsafeAsOpaqueButtonColourToken(
|
|
2328
|
+
const foregroundToken = unsafeAsOpaqueButtonColourToken(solidForegroundToken(backgroundToken));
|
|
2302
2329
|
const foregroundHex = input.palette[foregroundToken];
|
|
2303
2330
|
if (typeof foregroundHex !== "string") return {
|
|
2304
2331
|
ok: false,
|
|
@@ -2678,6 +2705,287 @@ function normalizeAppearance(appearance) {
|
|
|
2678
2705
|
};
|
|
2679
2706
|
}
|
|
2680
2707
|
//#endregion
|
|
2708
|
+
//#region ../theme-core/src/buttons/styles/recipes/lanternRecipes.ts
|
|
2709
|
+
const flatShadow = {
|
|
2710
|
+
elevation: "none",
|
|
2711
|
+
softness: null,
|
|
2712
|
+
position: "bottom"
|
|
2713
|
+
};
|
|
2714
|
+
const lift$1 = {
|
|
2715
|
+
effectId: "lift",
|
|
2716
|
+
options: { amount: "0.125" }
|
|
2717
|
+
};
|
|
2718
|
+
const tags = {
|
|
2719
|
+
tone: "classic",
|
|
2720
|
+
energy: "calm",
|
|
2721
|
+
motion: "subtle",
|
|
2722
|
+
era: "editorial"
|
|
2723
|
+
};
|
|
2724
|
+
/** Each role supplies complete states, including a flat surface-ink focus ring. */
|
|
2725
|
+
function states(base, hover, offset = 4, width = 2) {
|
|
2726
|
+
return {
|
|
2727
|
+
base,
|
|
2728
|
+
hover,
|
|
2729
|
+
focus: {
|
|
2730
|
+
...base,
|
|
2731
|
+
shadow: "focus-indicator",
|
|
2732
|
+
indicator: {
|
|
2733
|
+
kind: "surface-ink",
|
|
2734
|
+
width,
|
|
2735
|
+
offset
|
|
2736
|
+
}
|
|
2737
|
+
},
|
|
2738
|
+
active: {
|
|
2739
|
+
...base,
|
|
2740
|
+
transform: "none"
|
|
2741
|
+
},
|
|
2742
|
+
disabled: {
|
|
2743
|
+
...base,
|
|
2744
|
+
effects: []
|
|
2745
|
+
}
|
|
2746
|
+
};
|
|
2747
|
+
}
|
|
2748
|
+
const gilt = {
|
|
2749
|
+
text: "treatment",
|
|
2750
|
+
border: "none",
|
|
2751
|
+
borderRadius: "rounded-10px",
|
|
2752
|
+
shadow: flatShadow,
|
|
2753
|
+
sizes: {
|
|
2754
|
+
sm: {
|
|
2755
|
+
padding: "10px 20px",
|
|
2756
|
+
fontSize: "text-base",
|
|
2757
|
+
borderRadius: "rounded-lg"
|
|
2758
|
+
},
|
|
2759
|
+
md: {
|
|
2760
|
+
padding: "18px 36px",
|
|
2761
|
+
fontSize: "text-19px"
|
|
2762
|
+
},
|
|
2763
|
+
lg: {
|
|
2764
|
+
padding: "18px 36px",
|
|
2765
|
+
fontSize: "text-19px"
|
|
2766
|
+
},
|
|
2767
|
+
xl: {
|
|
2768
|
+
padding: "18px 36px",
|
|
2769
|
+
fontSize: "text-19px"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
typography: {
|
|
2773
|
+
fontWeight: 400,
|
|
2774
|
+
typography: "heading",
|
|
2775
|
+
fontSize: "text-19px",
|
|
2776
|
+
letterSpacing: "slight",
|
|
2777
|
+
italic: false,
|
|
2778
|
+
textTransform: "none"
|
|
2779
|
+
},
|
|
2780
|
+
effects: []
|
|
2781
|
+
};
|
|
2782
|
+
const giltPrimary = {
|
|
2783
|
+
...gilt,
|
|
2784
|
+
background: {
|
|
2785
|
+
type: "gradient",
|
|
2786
|
+
stops: ["accent", "primary"],
|
|
2787
|
+
direction: "to-br",
|
|
2788
|
+
foregroundToken: "onAccent"
|
|
2789
|
+
}
|
|
2790
|
+
};
|
|
2791
|
+
const giltPrimaryHover = {
|
|
2792
|
+
...giltPrimary,
|
|
2793
|
+
background: {
|
|
2794
|
+
...giltPrimary.background,
|
|
2795
|
+
stops: ["accent-400", "primary-400"],
|
|
2796
|
+
foregroundToken: "secondary-950"
|
|
2797
|
+
},
|
|
2798
|
+
effects: [lift$1]
|
|
2799
|
+
};
|
|
2800
|
+
const giltSecondary = {
|
|
2801
|
+
...gilt,
|
|
2802
|
+
background: {
|
|
2803
|
+
type: "solid",
|
|
2804
|
+
colorToken: "text"
|
|
2805
|
+
}
|
|
2806
|
+
};
|
|
2807
|
+
const giltSecondaryHover = {
|
|
2808
|
+
...giltSecondary,
|
|
2809
|
+
effects: [lift$1],
|
|
2810
|
+
contextualHover: {
|
|
2811
|
+
kind: "shade-shift",
|
|
2812
|
+
seedToken: unsafeAsOpaqueButtonColourToken("text"),
|
|
2813
|
+
fallbackDirection: "lighter"
|
|
2814
|
+
}
|
|
2815
|
+
};
|
|
2816
|
+
const giltPrimaryStates = states(giltPrimary, giltPrimaryHover);
|
|
2817
|
+
const giltSecondaryStates = states(giltSecondary, giltSecondaryHover);
|
|
2818
|
+
const giltSlabRecipe = defineStaticButtonStyleRecipe({
|
|
2819
|
+
id: "gilt-slab",
|
|
2820
|
+
accessibilityLabel: "Gilt slab",
|
|
2821
|
+
tags,
|
|
2822
|
+
system: { roles: {
|
|
2823
|
+
primary: { states: giltPrimaryStates },
|
|
2824
|
+
secondary: { states: giltSecondaryStates },
|
|
2825
|
+
outline: { states: giltSecondaryStates },
|
|
2826
|
+
ghost: { states: giltSecondaryStates },
|
|
2827
|
+
accent: { states: giltPrimaryStates }
|
|
2828
|
+
} }
|
|
2829
|
+
});
|
|
2830
|
+
const hairline = {
|
|
2831
|
+
text: "treatment",
|
|
2832
|
+
borderRadius: "rounded-3px",
|
|
2833
|
+
shadow: flatShadow,
|
|
2834
|
+
sizes: {
|
|
2835
|
+
sm: {
|
|
2836
|
+
padding: "9px 16px",
|
|
2837
|
+
fontSize: "text-xs"
|
|
2838
|
+
},
|
|
2839
|
+
md: {
|
|
2840
|
+
padding: "15px 28px",
|
|
2841
|
+
fontSize: "text-13px"
|
|
2842
|
+
},
|
|
2843
|
+
lg: {
|
|
2844
|
+
padding: "15px 28px",
|
|
2845
|
+
fontSize: "text-13px"
|
|
2846
|
+
},
|
|
2847
|
+
xl: {
|
|
2848
|
+
padding: "15px 28px",
|
|
2849
|
+
fontSize: "text-13px"
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
typography: {
|
|
2853
|
+
fontWeight: 700,
|
|
2854
|
+
typography: "body",
|
|
2855
|
+
fontSize: "text-13px",
|
|
2856
|
+
letterSpacing: "wide",
|
|
2857
|
+
italic: false,
|
|
2858
|
+
textTransform: "uppercase"
|
|
2859
|
+
},
|
|
2860
|
+
effects: []
|
|
2861
|
+
};
|
|
2862
|
+
const hairlinePrimary = {
|
|
2863
|
+
...hairline,
|
|
2864
|
+
background: {
|
|
2865
|
+
type: "solid",
|
|
2866
|
+
colorToken: "primary"
|
|
2867
|
+
},
|
|
2868
|
+
border: {
|
|
2869
|
+
widthClass: "border",
|
|
2870
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("primary")
|
|
2871
|
+
}
|
|
2872
|
+
};
|
|
2873
|
+
const hairlineOutline = {
|
|
2874
|
+
...hairline,
|
|
2875
|
+
background: {
|
|
2876
|
+
type: "surface",
|
|
2877
|
+
role: "link"
|
|
2878
|
+
},
|
|
2879
|
+
border: {
|
|
2880
|
+
widthClass: "border",
|
|
2881
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("primary")
|
|
2882
|
+
}
|
|
2883
|
+
};
|
|
2884
|
+
const hairlineSecondary = {
|
|
2885
|
+
...hairlineOutline,
|
|
2886
|
+
border: {
|
|
2887
|
+
widthClass: "border",
|
|
2888
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("accent")
|
|
2889
|
+
}
|
|
2890
|
+
};
|
|
2891
|
+
const hairlineFilled = {
|
|
2892
|
+
...hairlineSecondary,
|
|
2893
|
+
background: {
|
|
2894
|
+
type: "solid",
|
|
2895
|
+
colorToken: "accent"
|
|
2896
|
+
}
|
|
2897
|
+
};
|
|
2898
|
+
const hairlinePrimaryStates = states(hairlinePrimary, hairlineOutline, 3);
|
|
2899
|
+
const hairlineSecondaryStates = states(hairlineSecondary, hairlineFilled, 3);
|
|
2900
|
+
const hairlineTabRecipe = defineStaticButtonStyleRecipe({
|
|
2901
|
+
id: "hairline-tab",
|
|
2902
|
+
accessibilityLabel: "Hairline tab",
|
|
2903
|
+
tags,
|
|
2904
|
+
system: { roles: {
|
|
2905
|
+
primary: { states: hairlinePrimaryStates },
|
|
2906
|
+
secondary: { states: hairlineSecondaryStates },
|
|
2907
|
+
outline: { states: hairlineSecondaryStates },
|
|
2908
|
+
ghost: { states: hairlineSecondaryStates },
|
|
2909
|
+
accent: { states: states(hairlineFilled, hairlineSecondary, 3) }
|
|
2910
|
+
} }
|
|
2911
|
+
});
|
|
2912
|
+
const marqueeAccent = {
|
|
2913
|
+
text: "treatment",
|
|
2914
|
+
borderRadius: "rounded-none",
|
|
2915
|
+
shadow: flatShadow,
|
|
2916
|
+
sizes: {
|
|
2917
|
+
sm: {
|
|
2918
|
+
padding: "8px 17px",
|
|
2919
|
+
fontSize: "text-15px"
|
|
2920
|
+
},
|
|
2921
|
+
md: {
|
|
2922
|
+
padding: "14px 25px",
|
|
2923
|
+
fontSize: "text-17px"
|
|
2924
|
+
},
|
|
2925
|
+
lg: {
|
|
2926
|
+
padding: "14px 25px",
|
|
2927
|
+
fontSize: "text-17px"
|
|
2928
|
+
},
|
|
2929
|
+
xl: {
|
|
2930
|
+
padding: "14px 25px",
|
|
2931
|
+
fontSize: "text-17px"
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
typography: {
|
|
2935
|
+
fontWeight: 800,
|
|
2936
|
+
typography: "body",
|
|
2937
|
+
fontSize: "text-17px",
|
|
2938
|
+
letterSpacing: "loose",
|
|
2939
|
+
italic: false,
|
|
2940
|
+
textTransform: "uppercase"
|
|
2941
|
+
},
|
|
2942
|
+
effects: [],
|
|
2943
|
+
background: {
|
|
2944
|
+
type: "solid",
|
|
2945
|
+
colorToken: "accent"
|
|
2946
|
+
},
|
|
2947
|
+
border: {
|
|
2948
|
+
widthClass: "border-2",
|
|
2949
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("accent")
|
|
2950
|
+
}
|
|
2951
|
+
};
|
|
2952
|
+
const marqueePrimary = {
|
|
2953
|
+
...marqueeAccent,
|
|
2954
|
+
background: {
|
|
2955
|
+
type: "solid",
|
|
2956
|
+
colorToken: "primary"
|
|
2957
|
+
},
|
|
2958
|
+
border: {
|
|
2959
|
+
widthClass: "border-2",
|
|
2960
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("primary")
|
|
2961
|
+
}
|
|
2962
|
+
};
|
|
2963
|
+
const marqueeSecondary = {
|
|
2964
|
+
...marqueeAccent,
|
|
2965
|
+
background: {
|
|
2966
|
+
type: "solid",
|
|
2967
|
+
colorToken: "text"
|
|
2968
|
+
},
|
|
2969
|
+
border: {
|
|
2970
|
+
widthClass: "border-2",
|
|
2971
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("text")
|
|
2972
|
+
}
|
|
2973
|
+
};
|
|
2974
|
+
const marqueePrimaryStates = states(marqueeAccent, marqueePrimary, 4, 3);
|
|
2975
|
+
const marqueeSecondaryStates = states(marqueeSecondary, marqueeAccent, 4, 3);
|
|
2976
|
+
const marqueeRecipe = defineStaticButtonStyleRecipe({
|
|
2977
|
+
id: "marquee",
|
|
2978
|
+
accessibilityLabel: "Marquee",
|
|
2979
|
+
tags,
|
|
2980
|
+
system: { roles: {
|
|
2981
|
+
primary: { states: marqueePrimaryStates },
|
|
2982
|
+
secondary: { states: marqueeSecondaryStates },
|
|
2983
|
+
outline: { states: marqueeSecondaryStates },
|
|
2984
|
+
ghost: { states: marqueeSecondaryStates },
|
|
2985
|
+
accent: { states: marqueePrimaryStates }
|
|
2986
|
+
} }
|
|
2987
|
+
});
|
|
2988
|
+
//#endregion
|
|
2681
2989
|
//#region ../theme-core/src/buttons/styles/recipes/fulcrumRecipe.ts
|
|
2682
2990
|
const fulcrumSizes = {
|
|
2683
2991
|
sm: {
|
|
@@ -3419,9 +3727,16 @@ const BUTTON_STYLE_IDS = [
|
|
|
3419
3727
|
"offset-block",
|
|
3420
3728
|
"ringed-pill",
|
|
3421
3729
|
"square-outline",
|
|
3422
|
-
"fulcrum"
|
|
3730
|
+
"fulcrum",
|
|
3731
|
+
"gilt-slab",
|
|
3732
|
+
"hairline-tab",
|
|
3733
|
+
"marquee"
|
|
3423
3734
|
];
|
|
3424
|
-
const quietArrowParametersSchema = z.object({
|
|
3735
|
+
const quietArrowParametersSchema = z.object({
|
|
3736
|
+
secondaryTreatment: z.enum(["outlined", "solid-accent"]),
|
|
3737
|
+
size: z.enum(["comfortable"]).optional(),
|
|
3738
|
+
hoverTreatment: z.enum(["deep-and-sheet"]).optional()
|
|
3739
|
+
}).strict();
|
|
3425
3740
|
const flatInkHoverTreatmentSchema = z.enum([
|
|
3426
3741
|
"contextual",
|
|
3427
3742
|
"secondary",
|
|
@@ -3456,7 +3771,10 @@ z.discriminatedUnion("styleId", [
|
|
|
3456
3771
|
selectionBranch("offset-block", emptyParametersSchema),
|
|
3457
3772
|
selectionBranch("ringed-pill", emptyParametersSchema),
|
|
3458
3773
|
selectionBranch("square-outline", emptyParametersSchema),
|
|
3459
|
-
selectionBranch("fulcrum", emptyParametersSchema)
|
|
3774
|
+
selectionBranch("fulcrum", emptyParametersSchema),
|
|
3775
|
+
selectionBranch("gilt-slab", emptyParametersSchema),
|
|
3776
|
+
selectionBranch("hairline-tab", emptyParametersSchema),
|
|
3777
|
+
selectionBranch("marquee", emptyParametersSchema)
|
|
3460
3778
|
]);
|
|
3461
3779
|
//#endregion
|
|
3462
3780
|
//#region ../theme-core/src/buttons/styles/recipes/quietArrow.ts
|
|
@@ -3875,6 +4193,63 @@ const solidAccentSecondary = {
|
|
|
3875
4193
|
},
|
|
3876
4194
|
affordance: { iconId: "ArrowRight" }
|
|
3877
4195
|
};
|
|
4196
|
+
/** Selection-owned sizing leaves historical recipe output unchanged when absent. */
|
|
4197
|
+
function sizedQuietArrowRoles(roles, size) {
|
|
4198
|
+
if (size === void 0) return roles;
|
|
4199
|
+
return mapButtonRoleAppearances(roles, (appearance) => ({
|
|
4200
|
+
...appearance,
|
|
4201
|
+
states: mapButtonVisualAppearances(appearance.states, (state) => ({
|
|
4202
|
+
...state,
|
|
4203
|
+
sizes: {
|
|
4204
|
+
sm: {
|
|
4205
|
+
padding: "0.875rem 1.125rem",
|
|
4206
|
+
fontSize: "text-xs"
|
|
4207
|
+
},
|
|
4208
|
+
md: {
|
|
4209
|
+
padding: "0.75rem 1.375rem",
|
|
4210
|
+
fontSize: "text-sm"
|
|
4211
|
+
},
|
|
4212
|
+
lg: {
|
|
4213
|
+
padding: "0.875rem 1.75rem",
|
|
4214
|
+
fontSize: "text-sm"
|
|
4215
|
+
},
|
|
4216
|
+
xl: {
|
|
4217
|
+
padding: "1rem 2rem",
|
|
4218
|
+
fontSize: "text-base"
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
}))
|
|
4222
|
+
}));
|
|
4223
|
+
}
|
|
4224
|
+
/** Forward sheet interaction is explicit selection data; absent preserves the captured recipe. */
|
|
4225
|
+
function quietArrowHoverRoles(roles, treatment) {
|
|
4226
|
+
if (treatment === void 0) return roles;
|
|
4227
|
+
const hover = (role, colour) => ({
|
|
4228
|
+
...roles[role],
|
|
4229
|
+
states: {
|
|
4230
|
+
...roles[role].states,
|
|
4231
|
+
hover: {
|
|
4232
|
+
...roles[role].states.hover,
|
|
4233
|
+
background: {
|
|
4234
|
+
type: "solid",
|
|
4235
|
+
colorToken: unsafeAsOpaqueButtonColourToken(colour)
|
|
4236
|
+
},
|
|
4237
|
+
text: "treatment",
|
|
4238
|
+
effects: [],
|
|
4239
|
+
...role === "secondary" ? { border: {
|
|
4240
|
+
widthClass: "border",
|
|
4241
|
+
marksBoundary: true,
|
|
4242
|
+
boundaryInk: unsafeAsOpaqueButtonColourToken("text")
|
|
4243
|
+
} } : {}
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
});
|
|
4247
|
+
return {
|
|
4248
|
+
...roles,
|
|
4249
|
+
primary: hover("primary", "primary-800"),
|
|
4250
|
+
secondary: hover("secondary", "surface")
|
|
4251
|
+
};
|
|
4252
|
+
}
|
|
3878
4253
|
const quietArrowRecipe = defineButtonStyleRecipe({
|
|
3879
4254
|
id: "quiet-arrow",
|
|
3880
4255
|
accessibilityLabel: "Wide uppercase buttons with trailing arrows",
|
|
@@ -3898,10 +4273,10 @@ const quietArrowRecipe = defineButtonStyleRecipe({
|
|
|
3898
4273
|
label: "Solid accent"
|
|
3899
4274
|
}]
|
|
3900
4275
|
}],
|
|
3901
|
-
defineSystem: (parameters) => ({ roles: {
|
|
4276
|
+
defineSystem: (parameters) => ({ roles: quietArrowHoverRoles(sizedQuietArrowRoles({
|
|
3902
4277
|
...quietArrowSystem.roles,
|
|
3903
4278
|
secondary: parameters.secondaryTreatment === "solid-accent" ? solidAccentSecondary : quietArrowSystem.roles.secondary
|
|
3904
|
-
} })
|
|
4279
|
+
}, parameters.size), parameters.hoverTreatment) })
|
|
3905
4280
|
});
|
|
3906
4281
|
//#endregion
|
|
3907
4282
|
//#region ../theme-core/src/buttons/styles/recipes/flatInk.ts
|
|
@@ -6972,7 +7347,10 @@ const buttonStyleRecipes = [
|
|
|
6972
7347
|
offsetBlockRecipe,
|
|
6973
7348
|
ringedPillRecipe,
|
|
6974
7349
|
squareOutlineRecipe,
|
|
6975
|
-
fulcrumRecipe
|
|
7350
|
+
fulcrumRecipe,
|
|
7351
|
+
giltSlabRecipe,
|
|
7352
|
+
hairlineTabRecipe,
|
|
7353
|
+
marqueeRecipe
|
|
6976
7354
|
];
|
|
6977
7355
|
const recipesById = new Map(buttonStyleRecipes.map((recipe) => [recipe.id, recipe]));
|
|
6978
7356
|
function findButtonStyleRecipe(id) {
|
|
@@ -6988,6 +7366,9 @@ function resolveButtonStyleSelection(selection) {
|
|
|
6988
7366
|
case "editorial-link": return resolveButtonStyleRecipe(editorialLinkRecipe, selection.parameters);
|
|
6989
7367
|
case "pebble": return resolveButtonStyleRecipe(pebbleRecipe, selection.parameters);
|
|
6990
7368
|
case "ink-stamp": return resolveButtonStyleRecipe(inkStampRecipe, selection.parameters);
|
|
7369
|
+
case "gilt-slab": return resolveButtonStyleRecipe(giltSlabRecipe, selection.parameters);
|
|
7370
|
+
case "hairline-tab": return resolveButtonStyleRecipe(hairlineTabRecipe, selection.parameters);
|
|
7371
|
+
case "marquee": return resolveButtonStyleRecipe(marqueeRecipe, selection.parameters);
|
|
6991
7372
|
case "fulcrum": return resolveButtonStyleRecipe(fulcrumRecipe, selection.parameters);
|
|
6992
7373
|
case "flat-ink": return resolveButtonStyleRecipe(flatInkRecipe, selection.parameters);
|
|
6993
7374
|
case "brushed-wash": return resolveButtonStyleRecipe(brushedWashRecipe, selection.parameters);
|
|
@@ -8161,6 +8542,7 @@ const headerContainerSchema = z.object({
|
|
|
8161
8542
|
"lg"
|
|
8162
8543
|
]).default("md"),
|
|
8163
8544
|
tint: z.string().nullable().optional(),
|
|
8545
|
+
mobileSheet: z.literal("inset").optional(),
|
|
8164
8546
|
opacity: z.number().min(0).max(1).default(.12)
|
|
8165
8547
|
}).optional();
|
|
8166
8548
|
//#endregion
|
|
@@ -8626,20 +9008,15 @@ const headerSchema = z.object({
|
|
|
8626
9008
|
const footerVariant = z.enum([
|
|
8627
9009
|
"simple",
|
|
8628
9010
|
"columns",
|
|
8629
|
-
"split"
|
|
8630
|
-
|
|
9011
|
+
"split",
|
|
9012
|
+
"centred"
|
|
9013
|
+
]).transform((value) => value === "columns" ? "simple" : value);
|
|
8631
9014
|
const footerMaxWidth = z.enum(["container", "full"]);
|
|
8632
9015
|
const footerNavLayoutMode = z.enum([
|
|
8633
9016
|
"stack",
|
|
8634
9017
|
"inline",
|
|
8635
9018
|
"inline-wrap"
|
|
8636
9019
|
]);
|
|
8637
|
-
const footerNavLayoutAlign = z.enum([
|
|
8638
|
-
"start",
|
|
8639
|
-
"center",
|
|
8640
|
-
"end",
|
|
8641
|
-
"space-between"
|
|
8642
|
-
]);
|
|
8643
9020
|
const footerSpacing = z.enum([
|
|
8644
9021
|
"none",
|
|
8645
9022
|
"tight",
|
|
@@ -8648,12 +9025,6 @@ const footerSpacing = z.enum([
|
|
|
8648
9025
|
"relaxed",
|
|
8649
9026
|
"spacious"
|
|
8650
9027
|
]);
|
|
8651
|
-
const footerLogoPlacement = z.enum([
|
|
8652
|
-
"left",
|
|
8653
|
-
"right",
|
|
8654
|
-
"above",
|
|
8655
|
-
"below"
|
|
8656
|
-
]);
|
|
8657
9028
|
const footerLogoSize = z.enum([
|
|
8658
9029
|
"sm",
|
|
8659
9030
|
"md",
|
|
@@ -8694,17 +9065,8 @@ const footerBottomBarSchema = z.object({
|
|
|
8694
9065
|
]).optional()
|
|
8695
9066
|
}).optional()
|
|
8696
9067
|
});
|
|
8697
|
-
const footerNavLayoutSchema = z.object({
|
|
8698
|
-
layout: footerNavLayoutMode.optional(),
|
|
8699
|
-
align: footerNavLayoutAlign.optional(),
|
|
8700
|
-
gapX: footerSpacing.optional(),
|
|
8701
|
-
gapY: footerSpacing.optional(),
|
|
8702
|
-
columns: z.number().int().min(1).max(6).optional()
|
|
8703
|
-
});
|
|
9068
|
+
const footerNavLayoutSchema = z.object({ layout: footerNavLayoutMode.optional() });
|
|
8704
9069
|
const footerLogoSchema = z.object({
|
|
8705
|
-
showLogo: z.boolean().default(true),
|
|
8706
|
-
showLogoText: z.boolean().optional(),
|
|
8707
|
-
placement: footerLogoPlacement.optional(),
|
|
8708
9070
|
size: footerLogoSize.optional(),
|
|
8709
9071
|
maxHeight: footerLogoMaxHeight.optional(),
|
|
8710
9072
|
align: z.enum([
|
|
@@ -8714,15 +9076,8 @@ const footerLogoSchema = z.object({
|
|
|
8714
9076
|
]).optional()
|
|
8715
9077
|
});
|
|
8716
9078
|
const footerSchema = z.object({
|
|
8717
|
-
/**
|
|
8718
|
-
* SDK-only footer rendering mode.
|
|
8719
|
-
*
|
|
8720
|
-
* Historical persisted field; SDK rendering mode now lives in layout.footerMode.
|
|
8721
|
-
*/
|
|
8722
|
-
mode: footerModeSchema.optional(),
|
|
8723
9079
|
variant: footerVariant,
|
|
8724
9080
|
maxWidth: footerMaxWidth,
|
|
8725
|
-
showLogoText: z.boolean().optional(),
|
|
8726
9081
|
background: headerBackgroundSchema.default({
|
|
8727
9082
|
type: "color",
|
|
8728
9083
|
color: "surface"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Co as Primitive, Zo as cn, zo as LoaderCircle } from "./SiteChromeCustomizeContext-BQ8vvKb-.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|