@riverbankcms/sdk 0.130.2 → 0.132.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/CHANGELOG.md +3 -3
- package/dist/{PreviewEditorSidebar-BY-1QdE2.mjs → PreviewEditorSidebar-DKQ5eFK9.mjs} +351 -95
- package/dist/{PreviewEditorUI-BS34jI9_.mjs → PreviewEditorUI-CNTcOjCC.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BD0kOjtI.mjs → PreviewQueryProvider-D51gQaG3.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-B1pWnhu-.mjs → SdkPreviewModeRuntime-DJu3qu33.mjs} +48 -9
- package/dist/{SiteChromeCustomizeContext-BhUG_72i.mjs → SiteChromeCustomizeContext-2TzT3vbj.mjs} +6417 -4184
- package/dist/_dts/ai/src/contracts/proposals.d.ts +723 -151
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +151 -64
- package/dist/_dts/api/src/bookingConfig.d.ts +13 -9
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +8 -19
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +31 -2
- package/dist/_dts/api/src/bookingVerticals.d.ts +1 -140
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +45 -12
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -1
- package/dist/_dts/api/src/courses.d.ts +1 -19
- package/dist/_dts/api/src/endpoints.d.ts +466 -346
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +91 -1
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +32 -0
- package/dist/_dts/api/src/giftingDashboard.d.ts +117 -0
- package/dist/_dts/api/src/giftingEndpointDefinitions.d.ts +124 -0
- package/dist/_dts/api/src/index.d.ts +4 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/media.d.ts +1 -0
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +3 -4
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +11 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +25 -12
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +2 -0
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkBookingVerticalContracts.d.ts +29 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +9 -32
- package/dist/_dts/api/src/sdkEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/sdkSettingsContracts.d.ts +25 -0
- package/dist/_dts/api/src/sdkThemeCatalogContracts.d.ts +20 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +16 -6
- package/dist/_dts/api/src/siteOnboarding.d.ts +3 -3
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +4 -10
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +0 -3
- package/dist/_dts/api/src/types.d.ts +1 -2
- package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -13
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +9 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +26 -44
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/index.d.ts +0 -3
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +2 -50
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +1 -929
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -97
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +39 -6
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -3
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +6 -6
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -9
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/index.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/pricing.d.ts +50 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +135 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +81 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +7 -8
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +45 -72
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -36
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +19 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +25 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +75 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SiteCreditPreviewPanel.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/siteCreditPreview.d.ts +51 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/MembershipHero.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/StepIndicator.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationActiveSteps.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/CourseRegistrationErrorBoundary.d.ts → event-registration/whole-series/WholeSeriesRegistrationErrorBoundary.d.ts} +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationTerminalContent.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationWizard.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +45 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/index.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/presentation.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/types.d.ts +18 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseEligibility.d.ts → event-registration/whole-series/useWholeSeriesEligibility.d.ts} +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesPaymentVerification.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationActions.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseRegistrationPortal.d.ts → event-registration/whole-series/useWholeSeriesRegistrationPortal.d.ts} +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationSelection.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationWizard.d.ts +185 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseWaitlistSelection.d.ts → event-registration/whole-series/useWholeSeriesWaitlistSelection.d.ts} +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/utils.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.contract.d.ts +5 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.planning.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesPageSurfaceScope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/courseRegistrationViewState.d.ts → event-registration/whole-series/wholeSeriesRegistrationViewState.d.ts} +7 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/wizardSteps.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -54
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +12 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModalCloseButton.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +19 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +12 -12
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +30 -11
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +15 -4
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -4
- package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +13 -0
- package/dist/_dts/commerce/src/purchase/cancellationPolicy.d.ts +7 -0
- package/dist/_dts/commerce/src/purchase/canonicalRefundPlanner.d.ts +48 -0
- package/dist/_dts/commerce/src/purchase/checkoutCollectionPlan.d.ts +39 -0
- package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +40 -0
- package/dist/_dts/commerce/src/purchase/checkoutDiscountContextPlanning.d.ts +80 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/checkoutOrderItemProjection.d.ts +22 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentFlow.d.ts +50 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +30 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +10 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +53 -0
- package/dist/_dts/commerce/src/purchase/checkoutQuantity.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +76 -0
- package/dist/_dts/commerce/src/purchase/checkoutSettlement.d.ts +46 -0
- package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +12 -0
- package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +125 -0
- package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +55 -0
- package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +91 -0
- package/dist/_dts/commerce/src/purchase/discountApplication.d.ts +74 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +55 -0
- package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +86 -0
- package/dist/_dts/commerce/src/purchase/order-number.d.ts +33 -0
- package/dist/_dts/commerce/src/purchase/orderCancellationPlan.d.ts +19 -0
- package/dist/_dts/commerce/src/purchase/orderCompletionEmailPlan.d.ts +71 -0
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +120 -0
- package/dist/_dts/commerce/src/purchase/orderFulfillmentPlan.d.ts +81 -0
- package/dist/_dts/commerce/src/purchase/orderFulfillmentResult.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/orderHistoryLedgerFilters.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/orderHistorySource.d.ts +11 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentAdminSettlement.d.ts +43 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +29 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +44 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +24 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentPlan.d.ts +40 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +151 -0
- package/dist/_dts/commerce/src/purchase/orderItemSupport.d.ts +14 -0
- package/dist/_dts/commerce/src/purchase/orderListFilters.d.ts +3 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentLinkPlanning.d.ts +60 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentReceipt.d.ts +184 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentState.d.ts +135 -0
- package/dist/_dts/commerce/src/purchase/orderPlanningTypes.d.ts +102 -0
- package/dist/_dts/commerce/src/purchase/orderRefundPlanning.d.ts +50 -0
- package/dist/_dts/commerce/src/purchase/orderRefundPolicy.d.ts +36 -0
- package/dist/_dts/commerce/src/purchase/orderTotals.d.ts +23 -0
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +39 -0
- package/dist/_dts/commerce/src/purchase/pendingCheckoutSessionClaim.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/persistedCheckoutLines.d.ts +27 -0
- package/dist/_dts/commerce/src/purchase/protectedDepositRefundPolicy.d.ts +86 -0
- package/dist/_dts/commerce/src/purchase/refundPolicy.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +40 -0
- package/dist/_dts/commerce/src/purchase/result.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/settlement.d.ts +97 -0
- package/dist/_dts/commerce/src/purchase/shopRefundPlanning.d.ts +43 -0
- package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +31 -0
- package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +10 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +168 -0
- package/dist/_dts/commerce/src/shop/shipmentEligibility.d.ts +14 -0
- package/dist/_dts/commerce/src/utils/assertNever.d.ts +1 -0
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -0
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -0
- package/dist/_dts/core/src/booking-vertical-catalog.d.ts +741 -0
- package/dist/_dts/core/src/booking-vertical-config.d.ts +66 -0
- package/dist/_dts/core/src/booking-vertical-definitions.d.ts +68 -0
- package/dist/_dts/{api/src/bookingVerticalPreset.d.ts → core/src/booking-vertical-preset.d.ts} +1 -1
- package/dist/_dts/core/src/booking-verticals.d.ts +98 -0
- package/dist/_dts/core/src/event-page-selection.d.ts +22 -0
- package/dist/_dts/core/src/event-pricing.d.ts +5 -0
- package/dist/_dts/core/src/event-series-behaviour.d.ts +16 -0
- package/dist/_dts/core/src/index.d.ts +3 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +72 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +3 -0
- package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +2 -0
- package/dist/_dts/media-core/src/identifiers.d.ts +10 -0
- package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
- package/dist/_dts/media-core/src/types.d.ts +2 -1
- package/dist/_dts/media-editor/src/index.d.ts +2 -2
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -22
- package/dist/_dts/media-editor/src/useMediaSelection.d.ts +0 -9
- package/dist/_dts/preview-next/src/client/preview/ButtonHoverRoleControls.d.ts +10 -0
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfiguratorWarningNotice.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +1 -1
- package/dist/_dts/sdk/src/client/eventSubrouteReadOperations.d.ts +11 -0
- package/dist/_dts/sdk/src/client/types.d.ts +12 -5
- package/dist/_dts/sdk/src/components.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +2 -13
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -16
- package/dist/_dts/sdk/src/next/pageMetadataProjection.d.ts +7 -0
- package/dist/_dts/sdk/src/next/resolveEventPageSubroute.d.ts +12 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -19
- package/dist/_dts/sdk/src/public-api/eventSubrouteContracts.d.ts +12 -0
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +44 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +4 -3
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +7 -3
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/contextualHover.d.ts +41 -0
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonHoverTreatment.d.ts +14 -0
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +21 -4
- package/dist/_dts/theme-core/src/buttons/styles/recipes/flatInk.d.ts +92 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +10 -150
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -102
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +50 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +29 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +3 -25
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +21 -6
- package/dist/_dts/theme-core/src/schema.d.ts +21 -33
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/buttonSelectionCompiler.d.ts +18 -0
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -11
- package/dist/_dts/theme-core/src/site-styles/selectionFallbackWarning.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +13 -1
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -0
- package/dist/client/{DiscountCodeDisclosure-BPZ-yfGI.mjs → DiscountCodeDisclosure-DO7llLxm.mjs} +12 -12
- package/dist/client/{EventCombined.client-Cjt3kKYR.mjs → EventCombined.client-xID7zN__.mjs} +36 -48
- package/dist/client/{EventListing.client-DY9dn6Fh.mjs → EventListing.client-CriBslp0.mjs} +2 -2
- package/dist/client/{LeafletStaticMap--2c61XYn.mjs → LeafletStaticMap-DYmHnM8g.mjs} +1 -1
- package/dist/client/{StepIndicator-CLjQhkDb.mjs → StepIndicator-CGixP_LW.mjs} +2 -2
- package/dist/client/{CourseRegistrationWizard-DGW9F0SQ.mjs → WholeSeriesRegistrationWizard-BEjzSiOA.mjs} +1408 -1245
- package/dist/client/{accordion-_boYwHHi.mjs → accordion-CgFbnnnQ.mjs} +1 -1
- package/dist/client/{bookingForm--AqEfyBX.mjs → bookingForm-dUyGpbxc.mjs} +5 -5
- package/dist/client/bookings.mjs +635 -471
- package/dist/client/{carousel-CVI2dqZr.mjs → carousel-BvBwkUzx.mjs} +1 -1
- package/dist/client/{cart-DR6IiPz9.mjs → cart-DiZENT2E.mjs} +3 -3
- package/dist/client/{checkout-CsrGAfQt.mjs → checkout-Dq13KIgR.mjs} +3 -3
- package/dist/client/client.mjs +6291 -3452
- package/dist/client/{courseRegistration-aNJVaLa3.mjs → courseRegistration-CKC5NmyH.mjs} +10 -4
- package/dist/client/{eventCalendar-OZ7h59VN.mjs → eventCalendar-BF0Jatfw.mjs} +40 -43
- package/dist/client/{eventCombined-BbJ6bFKz.mjs → eventCombined-BuoCF8je.mjs} +2 -2
- package/dist/client/{eventDetails-BLyUBiCT.mjs → eventDetails-CKwh0S9s.mjs} +276 -94
- package/dist/client/{eventListing-DuP1yhBS.mjs → eventListing-eUxaWFaB.mjs} +2 -2
- package/dist/client/{eventRegistration-BXyECPa-.mjs → eventRegistration-CfkNOkPb.mjs} +625 -132
- package/dist/client/{form-BA4t3kKU.mjs → form-C17H1c_H.mjs} +1 -1
- package/dist/client/{headerSection-CpNaJxhW.mjs → headerSection-DEwUmrtt.mjs} +2 -2
- package/dist/client/hooks.mjs +1312 -481
- package/dist/client/{locationMap-3HGMCL7_.mjs → locationMap-Pf2QwuvW.mjs} +2 -2
- package/dist/client/{newsletterForm-C2s6Mw67.mjs → newsletterForm-BWQAH5Sv.mjs} +1 -1
- package/dist/client/pricing-CVdvbopJ.mjs +195 -0
- package/dist/client/{productDetail-C9joWhdE.mjs → productDetail-BZi1Fa_G.mjs} +3 -3
- package/dist/client/{productList-CjzdU3pB.mjs → productList-qq-55DNk.mjs} +3 -3
- package/dist/client/{propsDecoder-CBPGXEYX.mjs → propsDecoder-BxmqPKdP.mjs} +412 -196
- package/dist/client/rendering/client.mjs +5685 -4037
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +7006 -4124
- package/dist/client/{scrollToBlock-DZ73aEX6.mjs → scrollToBlock-B3CcKdtG.mjs} +1 -1
- package/dist/client/{shop-CQRai7hj.mjs → shop-DNWJPut5.mjs} +5 -5
- package/dist/client/{shop-commerce-hP9UboOx.mjs → shop-commerce-BhvQCosS.mjs} +4 -4
- package/dist/client/{shop-commerce-store-DiD5a32e.mjs → shop-commerce-store-B04sCNnW.mjs} +1 -1
- package/dist/client/{shopShared-DP8DXTkF.mjs → shopShared-DNNgZlmW.mjs} +2 -2
- package/dist/client/{useEventFilters-pF_OJNQP.mjs → useEventFilters-CUmhE24_.mjs} +195 -6
- package/dist/client/{usePolling-Cls91SD2.mjs → usePolling-M5jG675x.mjs} +3 -3
- package/dist/preview-next/before-render.mjs +247 -60
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +247 -60
- package/dist/preview-next/middleware.mjs +247 -60
- package/dist/{previewAuthStore-CX1C_KJ4.mjs → previewAuthStore-BFKd4LrN.mjs} +247 -60
- package/dist/{sdk-runtime-5CcPAI14.mjs → sdk-runtime-BEXb1wqo.mjs} +2 -2
- package/dist/{separator-BXlYN_gr.mjs → separator-DGMuip1D.mjs} +1 -1
- package/dist/server/components.mjs +3461 -1577
- package/dist/server/config-validation.mjs +1312 -482
- package/dist/server/config.mjs +1312 -482
- package/dist/server/data.mjs +1312 -481
- package/dist/server/index.mjs +289 -81
- package/dist/server/manifest.mjs +0 -1
- package/dist/server/next.mjs +3576 -1689
- package/dist/server/page-converter.mjs +797 -250
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3461 -1576
- package/dist/server/rendering.mjs +3461 -1577
- package/dist/server/routing.mjs +1555 -616
- package/dist/server/server.mjs +1352 -560
- package/dist/server/theme-bridge.mjs +1992 -931
- package/dist/server/theme.mjs +346 -133
- package/dist/styles/index.css +1602 -796
- package/package.json +1 -1
- package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +0 -746
- package/dist/_dts/api/src/eventSeriesPresentationPreset.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +0 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +0 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +0 -45
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +0 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +0 -31
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +0 -102
- package/dist/client/eventProductEligibility-AVxyCB1u.mjs +0 -50
- package/dist/client/pricing-BiqIMgZk.mjs +0 -174
- /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PortalAuthSidebar.d.ts +0 -0
- /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/SuccessStep.d.ts +0 -0
- /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/WaitlistStep.d.ts +0 -0
|
@@ -120,7 +120,7 @@ export declare const mockThemes: {
|
|
|
120
120
|
colorToken?: string | undefined;
|
|
121
121
|
};
|
|
122
122
|
motion: {
|
|
123
|
-
level: "medium" | "
|
|
123
|
+
level: "medium" | "off" | "high" | "low";
|
|
124
124
|
easing: "standard" | "snappy" | "gentle" | null;
|
|
125
125
|
};
|
|
126
126
|
corners: "soft" | "square" | "rounded" | "pill";
|
|
@@ -1501,6 +1501,12 @@ export declare const mockThemes: {
|
|
|
1501
1501
|
widthClass: string;
|
|
1502
1502
|
} | undefined;
|
|
1503
1503
|
hoverBackgroundToken?: import("../buttons").OpaqueButtonColourToken | undefined;
|
|
1504
|
+
contextualHover?: {
|
|
1505
|
+
kind: "shade-shift";
|
|
1506
|
+
seedToken: import("../buttons").OpaqueButtonColourToken;
|
|
1507
|
+
fallbackDirection: "lighter" | "darker";
|
|
1508
|
+
preferredToken?: import("../buttons").OpaqueButtonColourToken | undefined;
|
|
1509
|
+
} | undefined;
|
|
1504
1510
|
effects?: {
|
|
1505
1511
|
base?: ({
|
|
1506
1512
|
effectId: "darken-background";
|
|
@@ -2487,7 +2493,6 @@ export declare const mockThemes: {
|
|
|
2487
2493
|
raised?: boolean | null | undefined;
|
|
2488
2494
|
rounded?: "full" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
2489
2495
|
role?: "open" | "default" | "none" | "alternative" | null | undefined;
|
|
2490
|
-
cardVariant?: "open" | "default" | "none" | "alternative" | null | undefined;
|
|
2491
2496
|
} | null | undefined;
|
|
2492
2497
|
} | undefined;
|
|
2493
2498
|
}> | undefined;
|
|
@@ -2665,7 +2670,7 @@ export declare const mockThemes: {
|
|
|
2665
2670
|
colorToken?: string | undefined;
|
|
2666
2671
|
};
|
|
2667
2672
|
motion: {
|
|
2668
|
-
level: "medium" | "
|
|
2673
|
+
level: "medium" | "off" | "high" | "low";
|
|
2669
2674
|
easing: "standard" | "snappy" | "gentle" | null;
|
|
2670
2675
|
};
|
|
2671
2676
|
corners: "soft" | "square" | "rounded" | "pill";
|
|
@@ -4046,6 +4051,12 @@ export declare const mockThemes: {
|
|
|
4046
4051
|
widthClass: string;
|
|
4047
4052
|
} | undefined;
|
|
4048
4053
|
hoverBackgroundToken?: import("../buttons").OpaqueButtonColourToken | undefined;
|
|
4054
|
+
contextualHover?: {
|
|
4055
|
+
kind: "shade-shift";
|
|
4056
|
+
seedToken: import("../buttons").OpaqueButtonColourToken;
|
|
4057
|
+
fallbackDirection: "lighter" | "darker";
|
|
4058
|
+
preferredToken?: import("../buttons").OpaqueButtonColourToken | undefined;
|
|
4059
|
+
} | undefined;
|
|
4049
4060
|
effects?: {
|
|
4050
4061
|
base?: ({
|
|
4051
4062
|
effectId: "darken-background";
|
|
@@ -5032,7 +5043,6 @@ export declare const mockThemes: {
|
|
|
5032
5043
|
raised?: boolean | null | undefined;
|
|
5033
5044
|
rounded?: "full" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
5034
5045
|
role?: "open" | "default" | "none" | "alternative" | null | undefined;
|
|
5035
|
-
cardVariant?: "open" | "default" | "none" | "alternative" | null | undefined;
|
|
5036
5046
|
} | null | undefined;
|
|
5037
5047
|
} | undefined;
|
|
5038
5048
|
}> | undefined;
|
|
@@ -5210,7 +5220,7 @@ export declare const mockThemes: {
|
|
|
5210
5220
|
colorToken?: string | undefined;
|
|
5211
5221
|
};
|
|
5212
5222
|
motion: {
|
|
5213
|
-
level: "medium" | "
|
|
5223
|
+
level: "medium" | "off" | "high" | "low";
|
|
5214
5224
|
easing: "standard" | "snappy" | "gentle" | null;
|
|
5215
5225
|
};
|
|
5216
5226
|
corners: "soft" | "square" | "rounded" | "pill";
|
|
@@ -6591,6 +6601,12 @@ export declare const mockThemes: {
|
|
|
6591
6601
|
widthClass: string;
|
|
6592
6602
|
} | undefined;
|
|
6593
6603
|
hoverBackgroundToken?: import("../buttons").OpaqueButtonColourToken | undefined;
|
|
6604
|
+
contextualHover?: {
|
|
6605
|
+
kind: "shade-shift";
|
|
6606
|
+
seedToken: import("../buttons").OpaqueButtonColourToken;
|
|
6607
|
+
fallbackDirection: "lighter" | "darker";
|
|
6608
|
+
preferredToken?: import("../buttons").OpaqueButtonColourToken | undefined;
|
|
6609
|
+
} | undefined;
|
|
6594
6610
|
effects?: {
|
|
6595
6611
|
base?: ({
|
|
6596
6612
|
effectId: "darken-background";
|
|
@@ -7577,7 +7593,6 @@ export declare const mockThemes: {
|
|
|
7577
7593
|
raised?: boolean | null | undefined;
|
|
7578
7594
|
rounded?: "full" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
7579
7595
|
role?: "open" | "default" | "none" | "alternative" | null | undefined;
|
|
7580
|
-
cardVariant?: "open" | "default" | "none" | "alternative" | null | undefined;
|
|
7581
7596
|
} | null | undefined;
|
|
7582
7597
|
} | undefined;
|
|
7583
7598
|
}> | undefined;
|
|
@@ -727,12 +727,6 @@ export declare const cardStylesOverrideSchema: z.ZodObject<{
|
|
|
727
727
|
none: "none";
|
|
728
728
|
alternative: "alternative";
|
|
729
729
|
}>>>;
|
|
730
|
-
cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
731
|
-
open: "open";
|
|
732
|
-
default: "default";
|
|
733
|
-
none: "none";
|
|
734
|
-
alternative: "alternative";
|
|
735
|
-
}>>>;
|
|
736
730
|
}, z.core.$strip>;
|
|
737
731
|
declare const blockStyleOverridesSchema: z.ZodObject<{
|
|
738
732
|
sectionStyles: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1389,12 +1383,6 @@ declare const blockStyleOverridesSchema: z.ZodObject<{
|
|
|
1389
1383
|
none: "none";
|
|
1390
1384
|
alternative: "alternative";
|
|
1391
1385
|
}>>>;
|
|
1392
|
-
cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1393
|
-
open: "open";
|
|
1394
|
-
default: "default";
|
|
1395
|
-
none: "none";
|
|
1396
|
-
alternative: "alternative";
|
|
1397
|
-
}>>>;
|
|
1398
1386
|
}, z.core.$strip>>>;
|
|
1399
1387
|
}, z.core.$strip>;
|
|
1400
1388
|
declare const blockThemeOverrideSchema: z.ZodObject<{
|
|
@@ -2080,12 +2068,6 @@ declare const blockThemeOverrideSchema: z.ZodObject<{
|
|
|
2080
2068
|
none: "none";
|
|
2081
2069
|
alternative: "alternative";
|
|
2082
2070
|
}>>>;
|
|
2083
|
-
cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2084
|
-
open: "open";
|
|
2085
|
-
default: "default";
|
|
2086
|
-
none: "none";
|
|
2087
|
-
alternative: "alternative";
|
|
2088
|
-
}>>>;
|
|
2089
2071
|
}, z.core.$strip>>>;
|
|
2090
2072
|
}, z.core.$strip>>;
|
|
2091
2073
|
}, z.core.$strip>;
|
|
@@ -2441,9 +2423,9 @@ export declare const border: z.ZodObject<{
|
|
|
2441
2423
|
export declare const motion: z.ZodObject<{
|
|
2442
2424
|
level: z.ZodEnum<{
|
|
2443
2425
|
medium: "medium";
|
|
2426
|
+
off: "off";
|
|
2444
2427
|
high: "high";
|
|
2445
2428
|
low: "low";
|
|
2446
|
-
off: "off";
|
|
2447
2429
|
}>;
|
|
2448
2430
|
easing: z.ZodNullable<z.ZodEnum<{
|
|
2449
2431
|
standard: "standard";
|
|
@@ -5185,9 +5167,9 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
5185
5167
|
motion: z.ZodObject<{
|
|
5186
5168
|
level: z.ZodEnum<{
|
|
5187
5169
|
medium: "medium";
|
|
5170
|
+
off: "off";
|
|
5188
5171
|
high: "high";
|
|
5189
5172
|
low: "low";
|
|
5190
|
-
off: "off";
|
|
5191
5173
|
}>;
|
|
5192
5174
|
easing: z.ZodNullable<z.ZodEnum<{
|
|
5193
5175
|
standard: "standard";
|
|
@@ -7188,6 +7170,15 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
7188
7170
|
widthClass: z.ZodString;
|
|
7189
7171
|
}, z.core.$strict>>;
|
|
7190
7172
|
hoverBackgroundToken: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./buttons").OpaqueButtonColourToken, string>>>;
|
|
7173
|
+
contextualHover: z.ZodOptional<z.ZodObject<{
|
|
7174
|
+
kind: z.ZodLiteral<"shade-shift">;
|
|
7175
|
+
seedToken: z.ZodPipe<z.ZodString, z.ZodTransform<import("./buttons").OpaqueButtonColourToken, string>>;
|
|
7176
|
+
fallbackDirection: z.ZodEnum<{
|
|
7177
|
+
lighter: "lighter";
|
|
7178
|
+
darker: "darker";
|
|
7179
|
+
}>;
|
|
7180
|
+
preferredToken: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./buttons").OpaqueButtonColourToken, string>>>;
|
|
7181
|
+
}, z.core.$strict>>;
|
|
7191
7182
|
effects: z.ZodOptional<z.ZodObject<{
|
|
7192
7183
|
base: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7193
7184
|
effectId: z.ZodLiteral<"darken-background">;
|
|
@@ -8890,12 +8881,6 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
8890
8881
|
none: "none";
|
|
8891
8882
|
alternative: "alternative";
|
|
8892
8883
|
}>>>;
|
|
8893
|
-
cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8894
|
-
open: "open";
|
|
8895
|
-
default: "default";
|
|
8896
|
-
none: "none";
|
|
8897
|
-
alternative: "alternative";
|
|
8898
|
-
}>>>;
|
|
8899
8884
|
}, z.core.$strip>>>;
|
|
8900
8885
|
}, z.core.$strip>>;
|
|
8901
8886
|
}, z.core.$strip>>>;
|
|
@@ -9365,9 +9350,9 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
9365
9350
|
motion: z.ZodObject<{
|
|
9366
9351
|
level: z.ZodEnum<{
|
|
9367
9352
|
medium: "medium";
|
|
9353
|
+
off: "off";
|
|
9368
9354
|
high: "high";
|
|
9369
9355
|
low: "low";
|
|
9370
|
-
off: "off";
|
|
9371
9356
|
}>;
|
|
9372
9357
|
easing: z.ZodNullable<z.ZodEnum<{
|
|
9373
9358
|
standard: "standard";
|
|
@@ -11368,6 +11353,15 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
11368
11353
|
widthClass: z.ZodString;
|
|
11369
11354
|
}, z.core.$strict>>;
|
|
11370
11355
|
hoverBackgroundToken: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./buttons").OpaqueButtonColourToken, string>>>;
|
|
11356
|
+
contextualHover: z.ZodOptional<z.ZodObject<{
|
|
11357
|
+
kind: z.ZodLiteral<"shade-shift">;
|
|
11358
|
+
seedToken: z.ZodPipe<z.ZodString, z.ZodTransform<import("./buttons").OpaqueButtonColourToken, string>>;
|
|
11359
|
+
fallbackDirection: z.ZodEnum<{
|
|
11360
|
+
lighter: "lighter";
|
|
11361
|
+
darker: "darker";
|
|
11362
|
+
}>;
|
|
11363
|
+
preferredToken: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./buttons").OpaqueButtonColourToken, string>>>;
|
|
11364
|
+
}, z.core.$strict>>;
|
|
11371
11365
|
effects: z.ZodOptional<z.ZodObject<{
|
|
11372
11366
|
base: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11373
11367
|
effectId: z.ZodLiteral<"darken-background">;
|
|
@@ -13070,12 +13064,6 @@ export declare const themesTurnSchema: z.ZodObject<{
|
|
|
13070
13064
|
none: "none";
|
|
13071
13065
|
alternative: "alternative";
|
|
13072
13066
|
}>>>;
|
|
13073
|
-
cardVariant: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
13074
|
-
open: "open";
|
|
13075
|
-
default: "default";
|
|
13076
|
-
none: "none";
|
|
13077
|
-
alternative: "alternative";
|
|
13078
|
-
}>>>;
|
|
13079
13067
|
}, z.core.$strip>>>;
|
|
13080
13068
|
}, z.core.$strip>>;
|
|
13081
13069
|
}, z.core.$strip>>>;
|
|
@@ -400,6 +400,11 @@ export declare const appearancePresets: readonly [import("../../../blocks/src/in
|
|
|
400
400
|
readonly contentFrame: {
|
|
401
401
|
readonly kind: "plain";
|
|
402
402
|
};
|
|
403
|
+
readonly cardRole: "alternative";
|
|
404
|
+
readonly composition: {
|
|
405
|
+
readonly kind: "offerings-preview";
|
|
406
|
+
readonly treatment: "paired-feature-cards";
|
|
407
|
+
};
|
|
403
408
|
};
|
|
404
409
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
405
410
|
readonly id: "offerings-preview-open-editorial-columns";
|
|
@@ -414,6 +419,11 @@ export declare const appearancePresets: readonly [import("../../../blocks/src/in
|
|
|
414
419
|
readonly contentFrame: {
|
|
415
420
|
readonly kind: "plain";
|
|
416
421
|
};
|
|
422
|
+
readonly cardRole: "open";
|
|
423
|
+
readonly composition: {
|
|
424
|
+
readonly kind: "offerings-preview";
|
|
425
|
+
readonly treatment: "open-editorial-columns";
|
|
426
|
+
};
|
|
417
427
|
};
|
|
418
428
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
419
429
|
readonly id: "offerings-preview-joined-programme-panel";
|
|
@@ -428,6 +438,11 @@ export declare const appearancePresets: readonly [import("../../../blocks/src/in
|
|
|
428
438
|
readonly contentFrame: {
|
|
429
439
|
readonly kind: "plain";
|
|
430
440
|
};
|
|
441
|
+
readonly cardRole: "default";
|
|
442
|
+
readonly composition: {
|
|
443
|
+
readonly kind: "offerings-preview";
|
|
444
|
+
readonly treatment: "joined-programme-panel";
|
|
445
|
+
};
|
|
431
446
|
};
|
|
432
447
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
433
448
|
readonly id: "feature-cards-raised-rule";
|
|
@@ -731,6 +746,10 @@ export declare const appearancePresets: readonly [import("../../../blocks/src/in
|
|
|
731
746
|
readonly contentFrame: {
|
|
732
747
|
readonly kind: "plain";
|
|
733
748
|
};
|
|
749
|
+
readonly composition: {
|
|
750
|
+
readonly kind: "testimonials";
|
|
751
|
+
readonly treatment: "evergreen-lead";
|
|
752
|
+
};
|
|
734
753
|
};
|
|
735
754
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
736
755
|
readonly id: "testimonials-room-and-response";
|
|
@@ -745,6 +764,10 @@ export declare const appearancePresets: readonly [import("../../../blocks/src/in
|
|
|
745
764
|
readonly contentFrame: {
|
|
746
765
|
readonly kind: "plain";
|
|
747
766
|
};
|
|
767
|
+
readonly composition: {
|
|
768
|
+
readonly kind: "testimonials";
|
|
769
|
+
readonly treatment: "room-and-response";
|
|
770
|
+
};
|
|
748
771
|
};
|
|
749
772
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
750
773
|
readonly id: "testimonials-open-floor";
|
|
@@ -759,6 +782,10 @@ export declare const appearancePresets: readonly [import("../../../blocks/src/in
|
|
|
759
782
|
readonly contentFrame: {
|
|
760
783
|
readonly kind: "plain";
|
|
761
784
|
};
|
|
785
|
+
readonly composition: {
|
|
786
|
+
readonly kind: "testimonials";
|
|
787
|
+
readonly treatment: "open-floor";
|
|
788
|
+
};
|
|
762
789
|
};
|
|
763
790
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
764
791
|
readonly id: "faq-base-accordion";
|
|
@@ -399,6 +399,11 @@ export declare const blockAppearancePresets: readonly [import("../../../blocks/s
|
|
|
399
399
|
readonly contentFrame: {
|
|
400
400
|
readonly kind: "plain";
|
|
401
401
|
};
|
|
402
|
+
readonly cardRole: "alternative";
|
|
403
|
+
readonly composition: {
|
|
404
|
+
readonly kind: "offerings-preview";
|
|
405
|
+
readonly treatment: "paired-feature-cards";
|
|
406
|
+
};
|
|
402
407
|
};
|
|
403
408
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
404
409
|
readonly id: "offerings-preview-open-editorial-columns";
|
|
@@ -413,6 +418,11 @@ export declare const blockAppearancePresets: readonly [import("../../../blocks/s
|
|
|
413
418
|
readonly contentFrame: {
|
|
414
419
|
readonly kind: "plain";
|
|
415
420
|
};
|
|
421
|
+
readonly cardRole: "open";
|
|
422
|
+
readonly composition: {
|
|
423
|
+
readonly kind: "offerings-preview";
|
|
424
|
+
readonly treatment: "open-editorial-columns";
|
|
425
|
+
};
|
|
416
426
|
};
|
|
417
427
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
418
428
|
readonly id: "offerings-preview-joined-programme-panel";
|
|
@@ -427,6 +437,11 @@ export declare const blockAppearancePresets: readonly [import("../../../blocks/s
|
|
|
427
437
|
readonly contentFrame: {
|
|
428
438
|
readonly kind: "plain";
|
|
429
439
|
};
|
|
440
|
+
readonly cardRole: "default";
|
|
441
|
+
readonly composition: {
|
|
442
|
+
readonly kind: "offerings-preview";
|
|
443
|
+
readonly treatment: "joined-programme-panel";
|
|
444
|
+
};
|
|
430
445
|
};
|
|
431
446
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
432
447
|
readonly id: "feature-cards-raised-rule";
|
|
@@ -730,6 +745,10 @@ export declare const blockAppearancePresets: readonly [import("../../../blocks/s
|
|
|
730
745
|
readonly contentFrame: {
|
|
731
746
|
readonly kind: "plain";
|
|
732
747
|
};
|
|
748
|
+
readonly composition: {
|
|
749
|
+
readonly kind: "testimonials";
|
|
750
|
+
readonly treatment: "evergreen-lead";
|
|
751
|
+
};
|
|
733
752
|
};
|
|
734
753
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
735
754
|
readonly id: "testimonials-room-and-response";
|
|
@@ -744,6 +763,10 @@ export declare const blockAppearancePresets: readonly [import("../../../blocks/s
|
|
|
744
763
|
readonly contentFrame: {
|
|
745
764
|
readonly kind: "plain";
|
|
746
765
|
};
|
|
766
|
+
readonly composition: {
|
|
767
|
+
readonly kind: "testimonials";
|
|
768
|
+
readonly treatment: "room-and-response";
|
|
769
|
+
};
|
|
747
770
|
};
|
|
748
771
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
749
772
|
readonly id: "testimonials-open-floor";
|
|
@@ -758,6 +781,10 @@ export declare const blockAppearancePresets: readonly [import("../../../blocks/s
|
|
|
758
781
|
readonly contentFrame: {
|
|
759
782
|
readonly kind: "plain";
|
|
760
783
|
};
|
|
784
|
+
readonly composition: {
|
|
785
|
+
readonly kind: "testimonials";
|
|
786
|
+
readonly treatment: "open-floor";
|
|
787
|
+
};
|
|
761
788
|
};
|
|
762
789
|
}>, import("../../../blocks/src/index").WithResolvedCardRole<{
|
|
763
790
|
readonly id: "faq-base-accordion";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Theme } from '../schema';
|
|
2
|
+
import type { ButtonStyleSelection } from '../buttons/styles';
|
|
3
|
+
import { type CuratedSiteStyle } from './curatedSiteStyles';
|
|
4
|
+
export type ButtonSelectionFallbackWarning = Readonly<{
|
|
5
|
+
kind: 'rejected-button-style';
|
|
6
|
+
requested: string;
|
|
7
|
+
fellBackTo: ButtonStyleSelection;
|
|
8
|
+
}>;
|
|
9
|
+
export type ButtonSelectionCompilationResult = Readonly<{
|
|
10
|
+
theme: Theme;
|
|
11
|
+
resolvedButtonStyle: ButtonStyleSelection;
|
|
12
|
+
warnings: ReadonlyArray<ButtonSelectionFallbackWarning>;
|
|
13
|
+
}>;
|
|
14
|
+
export declare function compileButtonSelectionBase(input: Readonly<{
|
|
15
|
+
siteStyle: CuratedSiteStyle;
|
|
16
|
+
typography?: Theme['typography'];
|
|
17
|
+
palette: Theme['palette'];
|
|
18
|
+
}>, buttonStyleSelection: ButtonStyleSelection | null | undefined): ButtonSelectionCompilationResult;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Theme } from '../schema';
|
|
2
|
+
import type { ButtonSystem } from '../buttons/types';
|
|
3
|
+
import type { ButtonStyleSelection } from '../buttons/styles/selection';
|
|
2
4
|
import type { HeaderLayoutStyleSelection, HeaderLogoContext } from './headerLayoutStyles';
|
|
3
5
|
import type { FooterLookId } from './footerLooks';
|
|
4
6
|
import type { BrandDisplayMode, LogoSizePolicy } from './logoBranding';
|
|
@@ -26,6 +28,22 @@ export type FooterCompilationDirective = Readonly<{
|
|
|
26
28
|
footer: Theme['footer'];
|
|
27
29
|
footerLookId: FooterLookId | null;
|
|
28
30
|
}>;
|
|
31
|
+
export type ButtonUpdateRecompileReason = 'selection-change' | 'missing-applied-buttons';
|
|
32
|
+
export type ButtonRecompileDirective<TReason extends ButtonUpdateRecompileReason = ButtonUpdateRecompileReason> = Readonly<{
|
|
33
|
+
kind: 'recompile';
|
|
34
|
+
selection: ButtonStyleSelection;
|
|
35
|
+
reason: TReason;
|
|
36
|
+
}>;
|
|
37
|
+
export type ReplacementButtonRecompileDirective = Readonly<{
|
|
38
|
+
kind: 'recompile';
|
|
39
|
+
selection: ButtonStyleSelection | null;
|
|
40
|
+
reason: 'site-style-replacement';
|
|
41
|
+
}>;
|
|
42
|
+
export type ButtonCompilationDirective = Readonly<{
|
|
43
|
+
kind: 'preserve';
|
|
44
|
+
buttons: ButtonSystem;
|
|
45
|
+
selection: ButtonStyleSelection;
|
|
46
|
+
}> | ButtonRecompileDirective;
|
|
29
47
|
export type ReplacementBrandPresentation = Readonly<{
|
|
30
48
|
kind: 'apply-logo-context';
|
|
31
49
|
logo: HeaderLogoContext;
|
|
@@ -34,15 +52,18 @@ export type ReplacementBrandPresentation = Readonly<{
|
|
|
34
52
|
}>;
|
|
35
53
|
export type SiteThemeCompilationPlan = Readonly<{
|
|
36
54
|
kind: 'replace-site-style';
|
|
55
|
+
buttons: ReplacementButtonRecompileDirective;
|
|
37
56
|
header: HeaderRecompileDirective;
|
|
38
57
|
footerLookId: FooterLookId | null;
|
|
39
58
|
}> | Readonly<{
|
|
40
59
|
kind: 'update-selection';
|
|
60
|
+
buttons: ButtonCompilationDirective;
|
|
41
61
|
header: HeaderCompilationDirective;
|
|
42
62
|
footer: FooterCompilationDirective;
|
|
43
63
|
}>;
|
|
44
64
|
export declare function replaceSiteStyleCompilationPlan(input: Readonly<{
|
|
45
65
|
headerSelection: HeaderLayoutStyleSelection;
|
|
66
|
+
buttonStyleSelection?: ButtonStyleSelection | null;
|
|
46
67
|
footerLookId?: FooterLookId | null;
|
|
47
68
|
headerLogo?: HeaderLogoContext;
|
|
48
69
|
}>): Extract<SiteThemeCompilationPlan, {
|
|
@@ -8,6 +8,8 @@ import { type HeaderLayoutStyleSelection } from './headerLayoutStyles';
|
|
|
8
8
|
import { type CompiledBlockRuntimeFields, type CompiledBoundaryRuntime, type CompiledPageRuntime, type ComponentRuntimeRules, type DesignRuntimeRules, type SemanticSpacing, type SurfaceResolutionContext } from './runtimeCompiler';
|
|
9
9
|
import { type AppearancePresetId, type DesignBlockId, type SiteStyleId } from './types';
|
|
10
10
|
import { type CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
|
|
11
|
+
import type { SelectionFallbackWarning } from './selectionFallbackWarning';
|
|
12
|
+
export type { SelectionFallbackWarning } from './selectionFallbackWarning';
|
|
11
13
|
export type { CuratedSiteStyleTheme } from './siteStyleThemeCompiler';
|
|
12
14
|
/**
|
|
13
15
|
* Browser-safe public API for Theme V2 live preview compilation.
|
|
@@ -35,19 +37,8 @@ export declare const previewCustomizePurpose: "preview-customize";
|
|
|
35
37
|
export declare function compileCuratedSiteStyleTheme(siteStyle: CuratedSiteStyle): CuratedSiteStyleTheme;
|
|
36
38
|
export declare function defaultConcretePaletteForSiteStyle(siteStyle: CuratedSiteStyle): Theme['palette'];
|
|
37
39
|
export declare function compileCuratedSiteStyleThemeById(siteStyleId: SiteStyleId): CuratedSiteStyleTheme | null;
|
|
38
|
-
export type SelectionFallbackWarning = Readonly<{
|
|
39
|
-
kind: 'rejected-button-style';
|
|
40
|
-
requested: string;
|
|
41
|
-
fellBackTo: ButtonStyleSelection;
|
|
42
|
-
}> | Readonly<{
|
|
43
|
-
kind: 'repaired-header-selection';
|
|
44
|
-
requested: HeaderLayoutStyleSelection;
|
|
45
|
-
resolved: HeaderLayoutStyleSelection;
|
|
46
|
-
reason: 'style-not-curated-for-layout' | 'layout-not-curated-for-site-style';
|
|
47
|
-
}>;
|
|
48
40
|
type SiteThemeSelectionsCommonInput = Readonly<{
|
|
49
41
|
siteStyle: CuratedSiteStyle;
|
|
50
|
-
buttonStyleSelection: ButtonStyleSelection | null;
|
|
51
42
|
typography?: Theme['typography'];
|
|
52
43
|
palette: Theme['palette'];
|
|
53
44
|
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ButtonStyleSelection } from '../buttons/styles';
|
|
2
|
+
import type { HeaderLayoutStyleSelection } from './headerLayoutStyles';
|
|
3
|
+
export type SelectionFallbackWarning = Readonly<{
|
|
4
|
+
kind: 'rejected-button-style';
|
|
5
|
+
requested: string;
|
|
6
|
+
fellBackTo: ButtonStyleSelection;
|
|
7
|
+
}> | Readonly<{
|
|
8
|
+
kind: 'recompiled-missing-button-system';
|
|
9
|
+
selection: ButtonStyleSelection;
|
|
10
|
+
}> | Readonly<{
|
|
11
|
+
kind: 'repaired-header-selection';
|
|
12
|
+
requested: HeaderLayoutStyleSelection;
|
|
13
|
+
resolved: HeaderLayoutStyleSelection;
|
|
14
|
+
reason: 'style-not-curated-for-layout' | 'layout-not-curated-for-site-style';
|
|
15
|
+
}>;
|
|
@@ -208,8 +208,14 @@ export declare const introCompositionTreatmentValues: readonly ["editorial-state
|
|
|
208
208
|
export type IntroCompositionTreatment = (typeof introCompositionTreatmentValues)[number];
|
|
209
209
|
export declare const featureCardCompositionTreatmentValues: readonly ["asymmetric-emphasis", "framed-programme"];
|
|
210
210
|
export type FeatureCardCompositionTreatment = (typeof featureCardCompositionTreatmentValues)[number];
|
|
211
|
-
export declare const testimonialsCompositionTreatmentValues: readonly ["open-editorial"];
|
|
211
|
+
export declare const testimonialsCompositionTreatmentValues: readonly ["open-editorial", "evergreen-lead", "room-and-response", "open-floor"];
|
|
212
212
|
export type TestimonialsCompositionTreatment = (typeof testimonialsCompositionTreatmentValues)[number];
|
|
213
|
+
/**
|
|
214
|
+
* How an offerings preview arranges its groups. Structure only — the group
|
|
215
|
+
* card surface is the Look's `cardRole` and the site style's card system.
|
|
216
|
+
*/
|
|
217
|
+
export declare const offeringsPreviewCompositionTreatmentValues: readonly ["paired-feature-cards", "open-editorial-columns", "joined-programme-panel"];
|
|
218
|
+
export type OfferingsPreviewCompositionTreatment = (typeof offeringsPreviewCompositionTreatmentValues)[number];
|
|
213
219
|
/**
|
|
214
220
|
* A closed description of structural presentation selected by a Look.
|
|
215
221
|
* Concrete spacing, radii, colour, and shadow remain site-style concerns.
|
|
@@ -223,6 +229,9 @@ export type BlockCompositionIntent = Readonly<{
|
|
|
223
229
|
}> | Readonly<{
|
|
224
230
|
kind: 'testimonials';
|
|
225
231
|
treatment: TestimonialsCompositionTreatment;
|
|
232
|
+
}> | Readonly<{
|
|
233
|
+
kind: 'offerings-preview';
|
|
234
|
+
treatment: OfferingsPreviewCompositionTreatment;
|
|
226
235
|
}>;
|
|
227
236
|
export type BlockCompositionCapability = Readonly<{
|
|
228
237
|
kind: 'none';
|
|
@@ -235,6 +244,9 @@ export type BlockCompositionCapability = Readonly<{
|
|
|
235
244
|
}> | Readonly<{
|
|
236
245
|
kind: 'testimonials';
|
|
237
246
|
treatments: NonEmptyReadonlyArray<TestimonialsCompositionTreatment>;
|
|
247
|
+
}> | Readonly<{
|
|
248
|
+
kind: 'offerings-preview';
|
|
249
|
+
treatments: NonEmptyReadonlyArray<OfferingsPreviewCompositionTreatment>;
|
|
238
250
|
}>;
|
|
239
251
|
export declare const eyebrowTreatmentValues: readonly ["plain", "accent", "pill", "accent-pill", "pill-bounce", "accent-pill-bounce"];
|
|
240
252
|
export type EyebrowTreatment = (typeof eyebrowTreatmentValues)[number];
|
package/dist/client/{DiscountCodeDisclosure-BPZ-yfGI.mjs → DiscountCodeDisclosure-DO7llLxm.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { et as themeButtonClassName } from "./propsDecoder-BxmqPKdP.mjs";
|
|
3
3
|
import { useId } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
@@ -20,17 +20,17 @@ function getAutoAppliedDiscountPreview(availability) {
|
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region ../blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.tsx
|
|
22
22
|
const BLOCK_DISCOUNT_CODE_DISCLOSURE_CLASSES = {
|
|
23
|
-
"
|
|
24
|
-
root: "
|
|
25
|
-
toggle: "
|
|
26
|
-
form: "
|
|
27
|
-
label: "
|
|
28
|
-
row: "
|
|
29
|
-
input: "
|
|
30
|
-
apply: "
|
|
31
|
-
remove: "
|
|
32
|
-
hint: "
|
|
33
|
-
feedback: "
|
|
23
|
+
"whole-series-registration": {
|
|
24
|
+
root: "er-whole-series-discount",
|
|
25
|
+
toggle: "er-whole-series-discount__toggle",
|
|
26
|
+
form: "er-whole-series-discount__form",
|
|
27
|
+
label: "er-whole-series-discount__label",
|
|
28
|
+
row: "er-whole-series-discount__row",
|
|
29
|
+
input: "er-whole-series-discount__input",
|
|
30
|
+
apply: "er-whole-series-discount__apply",
|
|
31
|
+
remove: "er-whole-series-discount__remove",
|
|
32
|
+
hint: "er-whole-series-discount__hint",
|
|
33
|
+
feedback: "er-whole-series-discount__feedback"
|
|
34
34
|
},
|
|
35
35
|
"event-registration": {
|
|
36
36
|
root: "er-discount",
|