@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
|
@@ -11,15 +11,15 @@ export declare const STEP_LABELS: Record<EnrollmentStep, string>;
|
|
|
11
11
|
/**
|
|
12
12
|
* Determine which wizard steps to show based on context and eligibility.
|
|
13
13
|
*
|
|
14
|
-
* @param
|
|
15
|
-
* @param requiresPayment - Whether the
|
|
14
|
+
* @param hasPreSelectedRun - Whether run is pre-selected (skips run selection)
|
|
15
|
+
* @param requiresPayment - Whether the run requires payment
|
|
16
16
|
* @param hasEligibleMemberships - Whether user has eligible memberships
|
|
17
17
|
* @param bookingMode - Current booking mode selection
|
|
18
18
|
* @param isMembershipFastTrack - Whether user qualifies for single-step membership flow
|
|
19
19
|
* @returns Array of wizard steps to display
|
|
20
20
|
*/
|
|
21
|
-
export declare function getWizardStepsForContext(
|
|
22
|
-
export { getStepNumber } from '
|
|
21
|
+
export declare function getWizardStepsForContext(hasPreSelectedRun: boolean, requiresPayment: boolean, hasEligibleMemberships: boolean, bookingMode: BookingMode, isMembershipFastTrack: boolean): readonly EnrollmentStep[];
|
|
22
|
+
export { getStepNumber } from '../../../shared';
|
|
23
23
|
/**
|
|
24
24
|
* Get the label for a step
|
|
25
25
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlockButtonRole } from '../../constants/buttonRoles';
|
|
2
2
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { PublicWholeSeriesOffering } from '../../blocks/events/whole-series';
|
|
4
4
|
import { type PublicMembershipProductCollection, type PublicPassProductCollection } from '../../blocks/shop.shared';
|
|
5
5
|
import type { OccurrenceContext } from '../../blocks/event-registration.shared';
|
|
6
6
|
import type { EventRegistrationClientProps as InternalEventRegistrationClientProps } from './event-registration/types';
|
|
@@ -18,8 +18,9 @@ export type EventRegistrationSourceProps = Readonly<{
|
|
|
18
18
|
occurrenceContext?: OccurrenceContext | null;
|
|
19
19
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
20
20
|
events?: PublicEvent[] | null;
|
|
21
|
-
wholeSeriesOfferings?:
|
|
22
|
-
wholeSeriesOffering?:
|
|
21
|
+
wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
|
|
22
|
+
wholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
23
|
+
subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
23
24
|
className?: string | null;
|
|
24
25
|
buttonText?: string | null;
|
|
25
26
|
maxTickets?: string | null;
|
|
@@ -46,6 +47,12 @@ export type EventRegistrationDisplay = Readonly<{
|
|
|
46
47
|
bodyText: string;
|
|
47
48
|
stepLabels: readonly EventRegistrationShellStepLabel[];
|
|
48
49
|
summaryButtonText: string;
|
|
50
|
+
}> | Readonly<{
|
|
51
|
+
kind: 'event-registration';
|
|
52
|
+
state: 'registration-closed';
|
|
53
|
+
className: string | null;
|
|
54
|
+
titleText: string;
|
|
55
|
+
bodyText: string;
|
|
49
56
|
}>;
|
|
50
57
|
export type EventRegistrationHydration = Readonly<Omit<InternalEventRegistrationClientProps, 'siteId' | 'stage' | 'registrationEndpoint' | 'eligibilityEndpoint' | 'checkoutEndpoint' | 'buttonText' | 'className'>>;
|
|
51
58
|
type EventRegistrationIslandMeta = Readonly<{
|
|
@@ -67,8 +74,9 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
67
74
|
occurrenceContext?: OccurrenceContext | null;
|
|
68
75
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
69
76
|
events?: PublicEvent[] | null;
|
|
70
|
-
wholeSeriesOfferings?:
|
|
71
|
-
wholeSeriesOffering?:
|
|
77
|
+
wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
|
|
78
|
+
wholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
79
|
+
subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
72
80
|
className?: string | null;
|
|
73
81
|
buttonText?: string | null;
|
|
74
82
|
maxTickets?: string | null;
|
|
@@ -91,15 +99,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
91
99
|
memberships: readonly import("./shop.client").PublicMembershipProduct[];
|
|
92
100
|
}> | null;
|
|
93
101
|
}>) => Readonly<{
|
|
94
|
-
display:
|
|
95
|
-
kind: "event-registration";
|
|
96
|
-
state: "generic-shell";
|
|
97
|
-
className: string | null;
|
|
98
|
-
titleText: string;
|
|
99
|
-
bodyText: string;
|
|
100
|
-
stepLabels: readonly EventRegistrationShellStepLabel[];
|
|
101
|
-
summaryButtonText: string;
|
|
102
|
-
}>;
|
|
102
|
+
display: EventRegistrationDisplay;
|
|
103
103
|
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
104
104
|
}>;
|
|
105
105
|
contracts: Readonly<{
|
|
@@ -112,8 +112,9 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
112
112
|
occurrenceContext?: OccurrenceContext | null;
|
|
113
113
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
114
114
|
events?: PublicEvent[] | null;
|
|
115
|
-
wholeSeriesOfferings?:
|
|
116
|
-
wholeSeriesOffering?:
|
|
115
|
+
wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
|
|
116
|
+
wholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
117
|
+
subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
117
118
|
className?: string | null;
|
|
118
119
|
buttonText?: string | null;
|
|
119
120
|
maxTickets?: string | null;
|
|
@@ -144,8 +145,9 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
144
145
|
occurrenceContext?: OccurrenceContext | null;
|
|
145
146
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
146
147
|
events?: PublicEvent[] | null;
|
|
147
|
-
wholeSeriesOfferings?:
|
|
148
|
-
wholeSeriesOffering?:
|
|
148
|
+
wholeSeriesOfferings?: PublicWholeSeriesOffering[] | null;
|
|
149
|
+
wholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
150
|
+
subjectWholeSeriesOffering?: PublicWholeSeriesOffering | null;
|
|
149
151
|
className?: string | null;
|
|
150
152
|
buttonText?: string | null;
|
|
151
153
|
maxTickets?: string | null;
|
|
@@ -171,27 +173,11 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
171
173
|
}>;
|
|
172
174
|
render: Readonly<{
|
|
173
175
|
encode: (value: Readonly<{
|
|
174
|
-
display:
|
|
175
|
-
kind: "event-registration";
|
|
176
|
-
state: "generic-shell";
|
|
177
|
-
className: string | null;
|
|
178
|
-
titleText: string;
|
|
179
|
-
bodyText: string;
|
|
180
|
-
stepLabels: readonly EventRegistrationShellStepLabel[];
|
|
181
|
-
summaryButtonText: string;
|
|
182
|
-
}>;
|
|
176
|
+
display: EventRegistrationDisplay;
|
|
183
177
|
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
184
178
|
}>) => unknown;
|
|
185
179
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
186
|
-
display:
|
|
187
|
-
kind: "event-registration";
|
|
188
|
-
state: "generic-shell";
|
|
189
|
-
className: string | null;
|
|
190
|
-
titleText: string;
|
|
191
|
-
bodyText: string;
|
|
192
|
-
stepLabels: readonly EventRegistrationShellStepLabel[];
|
|
193
|
-
summaryButtonText: string;
|
|
194
|
-
}>;
|
|
180
|
+
display: EventRegistrationDisplay;
|
|
195
181
|
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
196
182
|
}>>;
|
|
197
183
|
}>;
|
|
@@ -209,15 +195,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
209
195
|
render: Readonly<{
|
|
210
196
|
mode: "event-registration";
|
|
211
197
|
} & Readonly<{
|
|
212
|
-
display:
|
|
213
|
-
kind: "event-registration";
|
|
214
|
-
state: "generic-shell";
|
|
215
|
-
className: string | null;
|
|
216
|
-
titleText: string;
|
|
217
|
-
bodyText: string;
|
|
218
|
-
stepLabels: readonly EventRegistrationShellStepLabel[];
|
|
219
|
-
summaryButtonText: string;
|
|
220
|
-
}>;
|
|
198
|
+
display: EventRegistrationDisplay;
|
|
221
199
|
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
222
200
|
}>>;
|
|
223
201
|
}>) => unknown;
|
|
@@ -232,15 +210,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
232
210
|
render: Readonly<{
|
|
233
211
|
mode: "event-registration";
|
|
234
212
|
} & Readonly<{
|
|
235
|
-
display:
|
|
236
|
-
kind: "event-registration";
|
|
237
|
-
state: "generic-shell";
|
|
238
|
-
className: string | null;
|
|
239
|
-
titleText: string;
|
|
240
|
-
bodyText: string;
|
|
241
|
-
stepLabels: readonly EventRegistrationShellStepLabel[];
|
|
242
|
-
summaryButtonText: string;
|
|
243
|
-
}>;
|
|
213
|
+
display: EventRegistrationDisplay;
|
|
244
214
|
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
245
215
|
}>>;
|
|
246
216
|
}>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { PublicEvent, ButtonVariant, EventLayout, ColumnOption, WeekStart, CalendarTabViews, FilterAutoShow, CalendarView, EventScheduleScope, EventSurfaceScope } from "../../../blocks/events/shared/types";
|
|
3
|
+
import type { CardRole } from "../../../../../../theme-core/src/cards/index";
|
|
3
4
|
import type { EventCombinedInteractiveIslandProps } from "./EventCombined.interactive";
|
|
4
5
|
import { type EventListPaginationAction, type EventPageSize } from "./shared/listOptions";
|
|
5
6
|
export type EventCombinedClientProps = Readonly<{
|
|
@@ -26,6 +27,7 @@ export type EventCombinedClientProps = Readonly<{
|
|
|
26
27
|
showVenue?: boolean | null;
|
|
27
28
|
showMap?: boolean | null;
|
|
28
29
|
showCapacity?: boolean | null;
|
|
30
|
+
cardRole: CardRole;
|
|
29
31
|
buttonVariant?: ButtonVariant;
|
|
30
32
|
buttonText?: string;
|
|
31
33
|
emptyMessage?: string;
|
|
@@ -47,6 +47,7 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
47
47
|
showVenue?: boolean | null;
|
|
48
48
|
showMap?: boolean | null;
|
|
49
49
|
showCapacity?: boolean | null;
|
|
50
|
+
cardRole?: import("../../../../../../theme-core/src/cards/index").CardRole;
|
|
50
51
|
buttonVariant?: import("../../..").ButtonVariant;
|
|
51
52
|
buttonText?: string;
|
|
52
53
|
emptyMessage?: string;
|
|
@@ -91,6 +92,7 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
91
92
|
showVenue?: boolean | null;
|
|
92
93
|
showMap?: boolean | null;
|
|
93
94
|
showCapacity?: boolean | null;
|
|
95
|
+
cardRole?: import("../../../../../../theme-core/src/cards/index").CardRole;
|
|
94
96
|
buttonVariant?: import("../../..").ButtonVariant;
|
|
95
97
|
buttonText?: string;
|
|
96
98
|
emptyMessage?: string;
|
|
@@ -123,6 +125,7 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
123
125
|
showVenue?: boolean | null;
|
|
124
126
|
showMap?: boolean | null;
|
|
125
127
|
showCapacity?: boolean | null;
|
|
128
|
+
cardRole?: import("../../../../../../theme-core/src/cards/index").CardRole;
|
|
126
129
|
buttonVariant?: import("../../..").ButtonVariant;
|
|
127
130
|
buttonText?: string;
|
|
128
131
|
emptyMessage?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type CardRole } from "../../../../../../theme-core/src/cards/index";
|
|
2
|
+
import type { ButtonVariant, CardOrientation, ColumnOption, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
|
|
2
3
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
4
|
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./shared/listOptions";
|
|
4
5
|
export type EventListingSourceProps = Readonly<{
|
|
@@ -12,7 +13,7 @@ export type EventListingSourceProps = Readonly<{
|
|
|
12
13
|
paginationMode?: EventListPaginationMode;
|
|
13
14
|
seeAllUrl?: string;
|
|
14
15
|
loadMoreText?: string;
|
|
15
|
-
|
|
16
|
+
cardRole?: CardRole;
|
|
16
17
|
buttonVariant?: ButtonVariant;
|
|
17
18
|
buttonText?: string;
|
|
18
19
|
showVenue?: boolean;
|
|
@@ -39,7 +40,7 @@ export type EventListingDisplay = Readonly<{
|
|
|
39
40
|
emptyMessage: string;
|
|
40
41
|
loadingMessage: string;
|
|
41
42
|
containerClass: string;
|
|
42
|
-
|
|
43
|
+
cardRole: CardRole;
|
|
43
44
|
buttonVariant: ButtonVariant;
|
|
44
45
|
buttonText: string;
|
|
45
46
|
showVenue: boolean;
|
|
@@ -84,7 +85,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
84
85
|
paginationMode?: EventListPaginationMode;
|
|
85
86
|
seeAllUrl?: string;
|
|
86
87
|
loadMoreText?: string;
|
|
87
|
-
|
|
88
|
+
cardRole?: CardRole;
|
|
88
89
|
buttonVariant?: ButtonVariant;
|
|
89
90
|
buttonText?: string;
|
|
90
91
|
showVenue?: boolean;
|
|
@@ -111,7 +112,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
111
112
|
emptyMessage: string;
|
|
112
113
|
loadingMessage: string;
|
|
113
114
|
containerClass: string;
|
|
114
|
-
|
|
115
|
+
cardRole: CardRole;
|
|
115
116
|
buttonVariant: ButtonVariant;
|
|
116
117
|
buttonText: string;
|
|
117
118
|
showVenue: boolean;
|
|
@@ -151,7 +152,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
151
152
|
paginationMode?: EventListPaginationMode;
|
|
152
153
|
seeAllUrl?: string;
|
|
153
154
|
loadMoreText?: string;
|
|
154
|
-
|
|
155
|
+
cardRole?: CardRole;
|
|
155
156
|
buttonVariant?: ButtonVariant;
|
|
156
157
|
buttonText?: string;
|
|
157
158
|
showVenue?: boolean;
|
|
@@ -181,7 +182,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
181
182
|
paginationMode?: EventListPaginationMode;
|
|
182
183
|
seeAllUrl?: string;
|
|
183
184
|
loadMoreText?: string;
|
|
184
|
-
|
|
185
|
+
cardRole?: CardRole;
|
|
185
186
|
buttonVariant?: ButtonVariant;
|
|
186
187
|
buttonText?: string;
|
|
187
188
|
showVenue?: boolean;
|
|
@@ -211,7 +212,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
211
212
|
emptyMessage: string;
|
|
212
213
|
loadingMessage: string;
|
|
213
214
|
containerClass: string;
|
|
214
|
-
|
|
215
|
+
cardRole: CardRole;
|
|
215
216
|
buttonVariant: ButtonVariant;
|
|
216
217
|
buttonText: string;
|
|
217
218
|
showVenue: boolean;
|
|
@@ -247,7 +248,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
247
248
|
emptyMessage: string;
|
|
248
249
|
loadingMessage: string;
|
|
249
250
|
containerClass: string;
|
|
250
|
-
|
|
251
|
+
cardRole: CardRole;
|
|
251
252
|
buttonVariant: ButtonVariant;
|
|
252
253
|
buttonText: string;
|
|
253
254
|
showVenue: boolean;
|
|
@@ -295,7 +296,7 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
|
|
|
295
296
|
emptyMessage: string;
|
|
296
297
|
loadingMessage: string;
|
|
297
298
|
containerClass: string;
|
|
298
|
-
|
|
299
|
+
cardRole: CardRole;
|
|
299
300
|
buttonVariant: ButtonVariant;
|
|
300
301
|
buttonText: string;
|
|
301
302
|
showVenue: boolean;
|
|
@@ -340,7 +341,7 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
|
|
|
340
341
|
emptyMessage: string;
|
|
341
342
|
loadingMessage: string;
|
|
342
343
|
containerClass: string;
|
|
343
|
-
|
|
344
|
+
cardRole: CardRole;
|
|
344
345
|
buttonVariant: ButtonVariant;
|
|
345
346
|
buttonText: string;
|
|
346
347
|
showVenue: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant, ColumnOption,
|
|
2
|
+
import type { ButtonVariant, ColumnOption, EventLayout, FilterAutoShow, PublicEvent } from '../../../blocks/events/shared/types';
|
|
3
|
+
import type { CardRole } from '../../../../../../theme-core/src/cards/index';
|
|
3
4
|
type EventListingProps = Readonly<{
|
|
4
5
|
blockId?: string | null;
|
|
5
6
|
events?: PublicEvent[] | null;
|
|
@@ -12,7 +13,7 @@ type EventListingProps = Readonly<{
|
|
|
12
13
|
paginationMode?: 'loadMore' | 'seeAllLink';
|
|
13
14
|
seeAllUrl?: string;
|
|
14
15
|
loadMoreText?: string;
|
|
15
|
-
|
|
16
|
+
cardRole?: CardRole;
|
|
16
17
|
buttonVariant?: ButtonVariant;
|
|
17
18
|
buttonText?: string;
|
|
18
19
|
showVenue?: boolean;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent,
|
|
2
|
+
import type { PublicEvent, ButtonVariant, EventLayout } from '../../../blocks/events/shared/types';
|
|
3
|
+
import type { CardRole } from '../../../../../../theme-core/src/cards/index';
|
|
3
4
|
type EventSpotlightProps = {
|
|
4
5
|
events?: PublicEvent[] | null;
|
|
5
6
|
layout?: EventLayout;
|
|
6
7
|
columns?: '2' | '3';
|
|
7
|
-
|
|
8
|
+
cardRole?: CardRole;
|
|
8
9
|
buttonVariant?: ButtonVariant;
|
|
9
10
|
buttonText?: string;
|
|
10
11
|
ctaLabel?: string | null;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CardRole } from '../../../../../../../theme-core/src/cards/index';
|
|
3
|
+
import type { ButtonVariant, CardOrientation, PublicEvent } from '../../../../blocks/events/shared/types';
|
|
3
4
|
type EventCardProps = {
|
|
4
5
|
event: PublicEvent;
|
|
5
|
-
|
|
6
|
+
cardRole?: CardRole;
|
|
6
7
|
buttonVariant?: ButtonVariant;
|
|
7
8
|
buttonText?: string;
|
|
8
9
|
showVenue?: boolean;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent, ButtonVariant
|
|
2
|
+
import type { PublicEvent, ButtonVariant } from '../../../../blocks/events/shared/types';
|
|
3
|
+
import type { CardRole } from '../../../../../../../theme-core/src/cards/index';
|
|
3
4
|
type EventDetailModalProps = {
|
|
4
5
|
event: PublicEvent;
|
|
5
6
|
showCapacity: boolean;
|
|
6
7
|
onClose: () => void;
|
|
7
8
|
portalRoot?: HTMLElement | null;
|
|
8
|
-
|
|
9
|
+
cardRole?: CardRole;
|
|
9
10
|
buttonVariant?: ButtonVariant;
|
|
10
11
|
buttonText?: string;
|
|
11
12
|
showMap?: boolean;
|
|
@@ -16,5 +17,5 @@ type EventDetailModalProps = {
|
|
|
16
17
|
* Reuses EventCard component directly for DRY implementation.
|
|
17
18
|
* EventCard already includes the CTA button to navigate to the full event page.
|
|
18
19
|
*/
|
|
19
|
-
export declare function EventDetailModal({ event, showCapacity, onClose, portalRoot,
|
|
20
|
+
export declare function EventDetailModal({ event, showCapacity, onClose, portalRoot, cardRole, buttonVariant, buttonText, showMap, }: EventDetailModalProps): React.ReactElement;
|
|
20
21
|
export default EventDetailModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type EventModalCloseButtonProps = Readonly<{
|
|
3
|
+
closeButtonRef: React.RefObject<HTMLButtonElement | null>;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function EventModalCloseButton({ closeButtonRef, onClose, }: EventModalCloseButtonProps): React.ReactElement;
|
|
7
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant
|
|
2
|
+
import type { ButtonVariant } from '../../../../blocks/events/shared/types';
|
|
3
|
+
import type { CardRole } from '../../../../../../../theme-core/src/cards/index';
|
|
3
4
|
type EventModalsProps = {
|
|
4
5
|
showCapacity: boolean;
|
|
5
|
-
|
|
6
|
+
cardRole?: CardRole;
|
|
6
7
|
buttonVariant?: ButtonVariant;
|
|
7
8
|
buttonText?: string;
|
|
8
9
|
};
|
|
@@ -14,5 +15,5 @@ type EventModalsProps = {
|
|
|
14
15
|
* - EventDetailModal for single event view
|
|
15
16
|
* - DayEventsModal for day events list (clicking an event switches to event modal)
|
|
16
17
|
*/
|
|
17
|
-
export declare function EventModals({ showCapacity,
|
|
18
|
+
export declare function EventModals({ showCapacity, cardRole, buttonVariant, buttonText, }: EventModalsProps): React.ReactElement | null;
|
|
18
19
|
export default EventModals;
|
|
@@ -20,6 +20,20 @@ type WeekBoardViewProps = {
|
|
|
20
20
|
/** Opt-in section band. Generic default is bandless. */
|
|
21
21
|
banded?: boolean;
|
|
22
22
|
};
|
|
23
|
+
type WeekBoardDisplay = Readonly<{
|
|
24
|
+
events: readonly PublicEvent[];
|
|
25
|
+
showCapacity: boolean;
|
|
26
|
+
emptyMessage?: string;
|
|
27
|
+
boardTitle?: string;
|
|
28
|
+
footerNote?: string;
|
|
29
|
+
loadMoreText?: string;
|
|
30
|
+
buttonText: string;
|
|
31
|
+
seeAllUrl?: string | null;
|
|
32
|
+
buttonVariant?: ButtonVariant;
|
|
33
|
+
elevated?: boolean;
|
|
34
|
+
banded?: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
export declare function buildWeekBoardViewProps(display: WeekBoardDisplay, days: WeekCalendarDays): WeekBoardViewProps;
|
|
23
37
|
/**
|
|
24
38
|
* WeekBoardView
|
|
25
39
|
*
|
package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type CardRole } from "../../../../../../../theme-core/src/cards/index";
|
|
2
3
|
import type { ButtonVariant, CalendarTabViews, CalendarView, ColumnOption, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent, WeekStart } from "../../../../blocks/events/shared/types";
|
|
3
4
|
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./listOptions";
|
|
4
5
|
import type { EventListingDisplay } from "../EventListing.interactive";
|
|
@@ -29,6 +30,7 @@ export type EventCollectionSourceProps = Readonly<{
|
|
|
29
30
|
showVenue?: boolean | null;
|
|
30
31
|
showMap?: boolean | null;
|
|
31
32
|
showCapacity?: boolean | null;
|
|
33
|
+
cardRole?: CardRole;
|
|
32
34
|
buttonVariant?: ButtonVariant;
|
|
33
35
|
buttonText?: string;
|
|
34
36
|
emptyMessage?: string;
|
|
@@ -56,6 +58,7 @@ export type EventCollectionDisplay = Readonly<{
|
|
|
56
58
|
showVenue: boolean;
|
|
57
59
|
showMap: boolean;
|
|
58
60
|
showCapacity: boolean;
|
|
61
|
+
cardRole: CardRole;
|
|
59
62
|
buttonVariant: ButtonVariant;
|
|
60
63
|
buttonText: string;
|
|
61
64
|
emptyMessage: string;
|
|
@@ -97,6 +100,12 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
97
100
|
readonly showVenue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
101
|
readonly showMap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
99
102
|
readonly showCapacity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
103
|
+
readonly cardRole: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
open: "open";
|
|
105
|
+
default: "default";
|
|
106
|
+
none: "none";
|
|
107
|
+
alternative: "alternative";
|
|
108
|
+
}>>;
|
|
100
109
|
readonly buttonVariant: z.ZodOptional<z.ZodEnum<{
|
|
101
110
|
outline: "outline";
|
|
102
111
|
accent: "accent";
|
|
@@ -138,11 +147,11 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
138
147
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
139
148
|
course: "course";
|
|
140
149
|
event: "event";
|
|
141
|
-
term: "term";
|
|
142
|
-
performance: "performance";
|
|
143
150
|
class: "class";
|
|
151
|
+
term: "term";
|
|
144
152
|
workshop: "workshop";
|
|
145
153
|
retreat: "retreat";
|
|
154
|
+
performance: "performance";
|
|
146
155
|
}>>;
|
|
147
156
|
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
148
157
|
"cms-managed": "cms-managed";
|
|
@@ -866,11 +875,11 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
866
875
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
867
876
|
course: "course";
|
|
868
877
|
event: "event";
|
|
869
|
-
term: "term";
|
|
870
|
-
performance: "performance";
|
|
871
878
|
class: "class";
|
|
879
|
+
term: "term";
|
|
872
880
|
workshop: "workshop";
|
|
873
881
|
retreat: "retreat";
|
|
882
|
+
performance: "performance";
|
|
874
883
|
}>>;
|
|
875
884
|
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
876
885
|
"cms-managed": "cms-managed";
|
|
@@ -1599,6 +1608,12 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1599
1608
|
readonly showVenue: z.ZodBoolean;
|
|
1600
1609
|
readonly showMap: z.ZodBoolean;
|
|
1601
1610
|
readonly showCapacity: z.ZodBoolean;
|
|
1611
|
+
readonly cardRole: z.ZodEnum<{
|
|
1612
|
+
open: "open";
|
|
1613
|
+
default: "default";
|
|
1614
|
+
none: "none";
|
|
1615
|
+
alternative: "alternative";
|
|
1616
|
+
}>;
|
|
1602
1617
|
readonly buttonVariant: z.ZodEnum<{
|
|
1603
1618
|
outline: "outline";
|
|
1604
1619
|
accent: "accent";
|
|
@@ -13,7 +13,7 @@ export type MagicLinkFormProps = {
|
|
|
13
13
|
/** Called when successfully sent (optional) */
|
|
14
14
|
onSuccess?: () => void;
|
|
15
15
|
/** CSS class prefix for styling (e.g., 'cp' for customer portal, 'er' for event registration, 'cr' for course registration) */
|
|
16
|
-
classPrefix?: 'cp' | 'er' | 'cr';
|
|
16
|
+
classPrefix?: 'cp' | 'er' | 'cr' | 'er-whole-series';
|
|
17
17
|
/** Whether to show compact/inline styling */
|
|
18
18
|
compact?: boolean;
|
|
19
19
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
type BlockDiscountCodeSurface = '
|
|
2
|
+
type BlockDiscountCodeSurface = 'event-registration' | 'whole-series-registration';
|
|
3
3
|
export type DiscountCodeDisclosureSurface = BlockDiscountCodeSurface | 'theme-form';
|
|
4
4
|
export declare const BLOCK_DISCOUNT_CODE_DISCLOSURE_CLASSES: {
|
|
5
|
-
readonly '
|
|
6
|
-
readonly root: "
|
|
7
|
-
readonly toggle: "
|
|
8
|
-
readonly form: "
|
|
9
|
-
readonly label: "
|
|
10
|
-
readonly row: "
|
|
11
|
-
readonly input: "
|
|
12
|
-
readonly apply: "
|
|
13
|
-
readonly remove: "
|
|
14
|
-
readonly hint: "
|
|
15
|
-
readonly feedback: "
|
|
5
|
+
readonly 'whole-series-registration': {
|
|
6
|
+
readonly root: "er-whole-series-discount";
|
|
7
|
+
readonly toggle: "er-whole-series-discount__toggle";
|
|
8
|
+
readonly form: "er-whole-series-discount__form";
|
|
9
|
+
readonly label: "er-whole-series-discount__label";
|
|
10
|
+
readonly row: "er-whole-series-discount__row";
|
|
11
|
+
readonly input: "er-whole-series-discount__input";
|
|
12
|
+
readonly apply: "er-whole-series-discount__apply";
|
|
13
|
+
readonly remove: "er-whole-series-discount__remove";
|
|
14
|
+
readonly hint: "er-whole-series-discount__hint";
|
|
15
|
+
readonly feedback: "er-whole-series-discount__feedback";
|
|
16
16
|
};
|
|
17
17
|
readonly 'event-registration': {
|
|
18
18
|
readonly root: "er-discount";
|
|
@@ -13,4 +13,5 @@ export type UseWaitlistClaimDeps = Readonly<{
|
|
|
13
13
|
useBlockApi: typeof useBlockApi;
|
|
14
14
|
}>;
|
|
15
15
|
export declare function useWaitlistClaim(): UseWaitlistClaimResult;
|
|
16
|
+
export declare function useWaitlistClaimForToken(token: string | null): UseWaitlistClaimResult;
|
|
16
17
|
export declare function useWaitlistClaimWithDeps(deps: UseWaitlistClaimDeps): UseWaitlistClaimResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CardRole } from
|
|
1
|
+
import { type CardRole } from "../../../../../../theme-core/src/cards/index";
|
|
2
2
|
/**
|
|
3
3
|
* @file The one place box-style content becomes CSS classes.
|
|
4
4
|
*
|
|
@@ -12,19 +12,33 @@ export declare const RAISED_SHADOW_CLASS = "rb-shadow-md";
|
|
|
12
12
|
export declare const ROUNDED_CLASSES: Readonly<Record<string, string>>;
|
|
13
13
|
export declare const fixedFrameScopeClass = "rb-bg-motion-fixed-frame-scope";
|
|
14
14
|
export declare function hasFixedFrameBackgroundMotion(value: unknown): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The stable per-theme class for a card role. Generated card CSS emits these
|
|
17
|
+
* aliases alongside each `.card-{id}` rule, so content addresses "this site
|
|
18
|
+
* style's open card" without knowing which variant implements it.
|
|
19
|
+
*/
|
|
20
|
+
export declare function cardRoleClass(role: Exclude<CardRole, "none">): string;
|
|
21
|
+
/**
|
|
22
|
+
* The role class for a card slot the *block* owns structurally, where a Look
|
|
23
|
+
* may still name the surface.
|
|
24
|
+
*
|
|
25
|
+
* Some layouts have more than one card slot and decide themselves which one is
|
|
26
|
+
* the statement — the featured-editorial testimonials field is a lead voice
|
|
27
|
+
* beside its supporting voices, and that is structure, not composition. Those
|
|
28
|
+
* slots still have to honour a Look that picks a surface, or a role-picking
|
|
29
|
+
* Look would silently no-op under the layout. So the slot carries a default
|
|
30
|
+
* role and the Look's compiled role wins over it when there is one.
|
|
31
|
+
*
|
|
32
|
+
* An explicit `none` is honoured as boxlessness and emits no class, matching
|
|
33
|
+
* how the composite emitter reads it.
|
|
34
|
+
*/
|
|
15
35
|
/**
|
|
16
36
|
* The role a card renders with, and the one place a set of card styles becomes
|
|
17
37
|
* a role.
|
|
18
38
|
*
|
|
19
|
-
* Precedence: a per-item override, then the `role` a Look
|
|
20
|
-
* block's card styles
|
|
21
|
-
*
|
|
22
|
-
* vocabulary — an explicit `role` wins when a record carries both.
|
|
23
|
-
*
|
|
24
|
-
* Compiled and freshly authored card styles carry only `role`. `cardVariant`
|
|
25
|
-
* survives on content persisted before the role contract, and normalizes here
|
|
26
|
-
* rather than in `cardStylesOverrideSchema` because that content reaches the
|
|
27
|
-
* renderer as a raw record without ever passing through the schema.
|
|
39
|
+
* Precedence: a per-item override, then the `role` a Look or semantic field
|
|
40
|
+
* compiled onto the block's card styles. Persisted inputs are normalized at
|
|
41
|
+
* this boundary because raw block records do not pass through the theme schema.
|
|
28
42
|
*/
|
|
29
43
|
export declare function resolveCardRoleForBoxStyles(input: Record<string, unknown>, override: CardRole | null | undefined): CardRole | null;
|
|
30
44
|
/**
|
|
@@ -34,7 +48,7 @@ export declare function resolveCardRoleForBoxStyles(input: Record<string, unknow
|
|
|
34
48
|
*/
|
|
35
49
|
export declare function resolveItemCardRole(value: unknown, aliases: Readonly<Record<string, string>> | undefined): CardRole | null;
|
|
36
50
|
/** The border widths `CardStylesContent['border']` can carry. */
|
|
37
|
-
export type BoxBorderWidth =
|
|
51
|
+
export type BoxBorderWidth = "none" | "1" | "2" | "3";
|
|
38
52
|
/**
|
|
39
53
|
* A box border after the one legacy shape has been normalized away, parsed
|
|
40
54
|
* into the vocabulary the field actually declares. The record arrives here as
|
|
@@ -80,6 +94,11 @@ export declare function boxStyleClassNames(value: unknown, options: Readonly<{
|
|
|
80
94
|
* per-item override in blocks that let individual cards pick their surface.
|
|
81
95
|
*/
|
|
82
96
|
cardRoleOverride?: CardRole | null;
|
|
97
|
+
/**
|
|
98
|
+
* A structural slot's default surface when neither the item nor compiled
|
|
99
|
+
* card styles names one. An explicit `none` still wins over this fallback.
|
|
100
|
+
*/
|
|
101
|
+
cardRoleFallback?: Exclude<CardRole, "none">;
|
|
83
102
|
/**
|
|
84
103
|
* The elevation class an elevated box gets. Defaults to the standard raised
|
|
85
104
|
* shadow; pass `null` to opt out explicitly (the binding pipeline does that
|