@riverbankcms/sdk 0.130.0 → 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 +85 -0
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DiEpbOdw.mjs → PreviewEditorSidebar-DKQ5eFK9.mjs} +365 -106
- package/dist/{PreviewEditorUI-C6MvxnIa.mjs → PreviewEditorUI-CNTcOjCC.mjs} +3 -3
- package/dist/{PreviewQueryProvider-C2rnoPz6.mjs → PreviewQueryProvider-D51gQaG3.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DRXA_m5L.mjs → SdkPreviewModeRuntime-DJu3qu33.mjs} +91 -25
- package/dist/{SiteChromeCustomizeContext-BTHdv5_-.mjs → SiteChromeCustomizeContext-2TzT3vbj.mjs} +12577 -9240
- package/dist/_dts/ai/src/contracts/proposals.d.ts +991 -142
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +1092 -148
- package/dist/_dts/api/src/accountApi.d.ts +213 -0
- package/dist/_dts/api/src/accountEndpointDefinitions.d.ts +30 -0
- package/dist/_dts/api/src/accountEndpoints.d.ts +254 -0
- package/dist/_dts/api/src/apiCallParams.d.ts +60 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +18 -24
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +12 -24
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +44 -0
- package/dist/_dts/api/src/bookingSettingsSections.d.ts +9 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +1 -140
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +47 -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 +885 -721
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +173 -7
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +58 -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 +12 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -0
- 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/oauth.d.ts +8 -0
- package/dist/_dts/api/src/preview-auth.d.ts +26 -0
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +11 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +29 -16
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +2 -0
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -1
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +48 -0
- package/dist/_dts/api/src/sdkBookingVerticalContracts.d.ts +29 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +14 -45
- package/dist/_dts/api/src/sdkEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/sdkEventCategoryContracts.d.ts +9 -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 +54 -12
- package/dist/_dts/api/src/settings/permissions.d.ts +2 -2
- package/dist/_dts/api/src/siteApiKeyEndpointDefinitions.d.ts +66 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +3 -3
- package/dist/_dts/api/src/siteOnboarding.d.ts +3 -3
- package/dist/_dts/api/src/siteOperations.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +16 -14
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +0 -3
- package/dist/_dts/api/src/types.d.ts +8 -61
- package/dist/_dts/block-form/src/client/index.d.ts +15 -23
- package/dist/_dts/block-form/src/index.d.ts +23 -22
- 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/primitives/layout/Grid.d.ts +18 -1
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -0
- 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 +64 -3
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +26 -31
- 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/feature-cards.d.ts +25 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +16 -39
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -63
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +1 -3
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +13 -2
- package/dist/_dts/blocks/src/system/fields/gridLayout.d.ts +20 -0
- package/dist/_dts/blocks/src/system/node/fragments/classNameBinding.d.ts +6 -1
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +31 -0
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +0 -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/useHeadlessBookingFlow.state.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +24 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts +17 -0
- 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/event-registration.headless.planning.d.ts +1 -1
- 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/eventScope.d.ts +1 -1
- 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/event-registration.server.d.ts +1 -1
- 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 +59 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +4 -1
- 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/components/FeedbackMessage.d.ts +17 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +1 -0
- package/dist/_dts/blocks/src/system/spacing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +109 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +4 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +40 -3
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +4 -37
- 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-editor/src/components/ContentFieldsForm.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +10 -6
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +10 -6
- 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/branded.d.ts +4 -0
- package/dist/_dts/core/src/event-page-selection.d.ts +22 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +25 -4
- 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 +6 -0
- package/dist/_dts/core/src/public-event-booking-availability.d.ts +8 -0
- package/dist/_dts/core/src/secret.d.ts +44 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +413 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +1 -1
- 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/blocks/useBlockCustomizeControls.d.ts +1 -1
- 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/EntryEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewSiteFontStorageContext.d.ts +6 -0
- 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/siteFontPreview.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/sdk/contentStorage.d.ts +10 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -1
- package/dist/_dts/preview-next/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +3 -5
- package/dist/_dts/preview-next/src/refresh-contract.d.ts +1 -0
- package/dist/_dts/preview-next/src/route-contract.d.ts +7 -0
- 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 +64 -54
- 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/preview-next/keep-alive.d.ts +1 -1
- 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/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +9 -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/theme-bridge/types.d.ts +4 -2
- 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/core.d.ts +54 -10
- package/dist/_dts/theme-core/src/cards/decorations.d.ts +33 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +7 -2
- package/dist/_dts/theme-core/src/cards/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/cards/openCardVariant.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/roles.d.ts +38 -0
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +53 -8
- package/dist/_dts/theme-core/src/cards/types.d.ts +474 -28
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +59 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +2 -2
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +3 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +30 -138
- package/dist/_dts/theme-core/src/palette/utils/contrast.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/utils/opaqueSurfaceColor.d.ts +6 -0
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +302 -107
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +111 -102
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +0 -20
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +111 -102
- package/dist/_dts/theme-core/src/site-styles/buttonSelectionCompiler.d.ts +18 -0
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +48 -0
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +21 -385
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -18
- package/dist/_dts/theme-core/src/site-styles/headerLayoutTypes.d.ts +2 -4
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +2 -9
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +0 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignAppearanceAvailability.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +9 -8
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntentEquality.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -11
- package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +19 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +1 -62
- package/dist/_dts/theme-core/src/site-styles/selectionFallbackWarning.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +13 -12
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +62 -39
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +9 -9
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +39 -0
- package/dist/_dts/ui/src/navigation-tabs.d.ts +5 -2
- package/dist/client/{DiscountCodeDisclosure-Ur-Xx1U_.mjs → DiscountCodeDisclosure-DO7llLxm.mjs} +12 -12
- package/dist/client/{EventCombined.client-EhscD4U6.mjs → EventCombined.client-xID7zN__.mjs} +38 -50
- package/dist/client/{EventListing.client-Bn26cFTY.mjs → EventListing.client-CriBslp0.mjs} +2 -2
- package/dist/client/{FeedbackMessage-ByMrs3cr.mjs → FeedbackMessage-CtLvvS_d.mjs} +15 -3
- package/dist/client/{LeafletStaticMap-BUw9Ntzr.mjs → LeafletStaticMap-DYmHnM8g.mjs} +1 -1
- package/dist/client/{StepIndicator-BfbdiVQI.mjs → StepIndicator-CGixP_LW.mjs} +3 -3
- package/dist/client/{CourseRegistrationWizard-Bvtz9G9g.mjs → WholeSeriesRegistrationWizard-BEjzSiOA.mjs} +1410 -1247
- package/dist/client/{accordion-CjIeof73.mjs → accordion-CgFbnnnQ.mjs} +1 -1
- package/dist/client/{bookingForm-DwEeovf_.mjs → bookingForm-dUyGpbxc.mjs} +56 -39
- package/dist/client/bookings.mjs +1096 -731
- package/dist/client/{carousel-BMrfgOba.mjs → carousel-BvBwkUzx.mjs} +2 -2
- package/dist/client/{carousel.client-CpwTUhIo.mjs → carousel.client-59G_WMr4.mjs} +1 -1
- package/dist/client/{cart-rXEdxTdb.mjs → cart-DiZENT2E.mjs} +3 -3
- package/dist/client/{checkout-D3JlSzh3.mjs → checkout-Dq13KIgR.mjs} +3 -3
- package/dist/client/client.mjs +10645 -6794
- package/dist/client/{colorStyles-BWpj_h4C.mjs → colorStyles-CrxJrPjJ.mjs} +277 -1
- package/dist/client/{context-CJz1Vlsz.mjs → context-B83PiNzm.mjs} +6 -21
- package/dist/client/{courseRegistration-DO5XvMAA.mjs → courseRegistration-CKC5NmyH.mjs} +11 -5
- package/dist/client/{eventCalendar-DO6rTqCn.mjs → eventCalendar-BF0Jatfw.mjs} +42 -45
- package/dist/client/{eventCombined-bJ3i_ovU.mjs → eventCombined-BuoCF8je.mjs} +3 -3
- package/dist/client/{eventDetails-CCbrXE7o.mjs → eventDetails-CKwh0S9s.mjs} +276 -94
- package/dist/client/{eventListing-Bdlt9YTm.mjs → eventListing-eUxaWFaB.mjs} +3 -3
- package/dist/client/{eventRegistration-B02lt6iY.mjs → eventRegistration-CfkNOkPb.mjs} +630 -138
- package/dist/client/{form-DrUBAAox.mjs → form-C17H1c_H.mjs} +4 -4
- package/dist/client/{headerSection-MzqvHL6T.mjs → headerSection-DEwUmrtt.mjs} +2 -2
- package/dist/client/hooks.mjs +3224 -2485
- package/dist/client/{locationMap-DG8BxTBm.mjs → locationMap-Pf2QwuvW.mjs} +3 -3
- package/dist/client/{media-CNE1Z-wb.mjs → media-BOHuueS5.mjs} +16 -4
- package/dist/client/{newsletterForm-BzO-Td3p.mjs → newsletterForm-BWQAH5Sv.mjs} +4 -4
- package/dist/client/pricing-CVdvbopJ.mjs +195 -0
- package/dist/client/{productDetail-CfQ7rhVK.mjs → productDetail-BZi1Fa_G.mjs} +3 -3
- package/dist/client/{productList-C23rOLUi.mjs → productList-qq-55DNk.mjs} +3 -3
- package/dist/client/{propsDecoder-CAZdhwjs.mjs → propsDecoder-BxmqPKdP.mjs} +859 -650
- package/dist/client/rendering/client.mjs +8658 -7862
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +11437 -7446
- package/dist/client/{scrollToBlock-DSSqVQr1.mjs → scrollToBlock-B3CcKdtG.mjs} +1 -1
- package/dist/client/{shop-BMToKLK7.mjs → shop-DNWJPut5.mjs} +7 -7
- package/dist/client/{shop-commerce-DB4JRKmp.mjs → shop-commerce-BhvQCosS.mjs} +8 -8
- package/dist/client/{shop-commerce-store-BOqSIOuc.mjs → shop-commerce-store-B04sCNnW.mjs} +1 -1
- package/dist/client/{shopShared-B6SK9DZv.mjs → shopShared-DNNgZlmW.mjs} +5 -5
- package/dist/client/{useEventFilters-CULOa4nB.mjs → useEventFilters-CUmhE24_.mjs} +329 -84
- package/dist/client/{usePolling-BGG_8-jl.mjs → usePolling-M5jG675x.mjs} +3 -3
- package/dist/preview-next/before-render.mjs +439 -168
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +7593 -29
- package/dist/preview-next/middleware.mjs +433 -167
- package/dist/{previewAuthStore-_GXFRg2W.mjs → previewAuthStore-BFKd4LrN.mjs} +432 -167
- package/dist/{sdk-runtime-hhSOMShR.mjs → sdk-runtime-BEXb1wqo.mjs} +2 -2
- package/dist/{separator-flRaFc14.mjs → separator-DGMuip1D.mjs} +1 -1
- package/dist/server/components.mjs +9596 -6347
- package/dist/server/config-validation.mjs +3224 -2486
- package/dist/server/config.mjs +3224 -2486
- package/dist/server/data.mjs +3224 -2485
- package/dist/server/index.mjs +486 -200
- package/dist/server/manifest.mjs +0 -1
- package/dist/server/next.mjs +10343 -7188
- package/dist/server/page-converter.mjs +1828 -2094
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6750 -4519
- package/dist/server/rendering.mjs +9591 -6342
- package/dist/server/routing.mjs +3403 -1594
- package/dist/server/server.mjs +3274 -2671
- package/dist/server/theme-bridge.mjs +2979 -1639
- package/dist/server/theme.mjs +590 -176
- package/dist/styles/index.css +1896 -1129
- package/package.json +3 -2
- package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +0 -746
- package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +0 -1
- package/dist/_dts/block-form/src/widgets/index.d.ts +0 -20
- package/dist/_dts/blocks/src/system/runtime/api/requestBody.d.ts +0 -7
- 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/clsx-DgIEfj3H.mjs +0 -16
- package/dist/client/eventProductEligibility-AVxyCB1u.mjs +0 -50
- package/dist/client/pricing-NgK7ozkg.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
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PublicWholeSeriesOffering } from './types';
|
|
3
|
+
export declare const wholeSeriesVenueSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
address: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const wholeSeriesSessionSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
startsAt: z.ZodString;
|
|
11
|
+
endsAt: z.ZodString;
|
|
12
|
+
timeZone: z.ZodString;
|
|
13
|
+
capacityOverride: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
overrides: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare const wholeSeriesTeamMemberSummarySchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
20
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
21
|
+
profilePath: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export declare const wholeSeriesPricingOptionSchema: z.ZodObject<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
description: z.ZodNullable<z.ZodString>;
|
|
27
|
+
priceAmount: z.ZodNumber;
|
|
28
|
+
isActive: z.ZodBoolean;
|
|
29
|
+
sortOrder: z.ZodNumber;
|
|
30
|
+
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
32
|
+
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
33
|
+
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
34
|
+
in_person: "in_person";
|
|
35
|
+
both: "both";
|
|
36
|
+
online: "online";
|
|
37
|
+
}>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export declare const wholeSeriesPricingSchema: z.ZodObject<{
|
|
40
|
+
bookingRequirement: z.ZodEnum<{
|
|
41
|
+
required: "required";
|
|
42
|
+
none: "none";
|
|
43
|
+
}>;
|
|
44
|
+
pricingStrategy: z.ZodEnum<{
|
|
45
|
+
single: "single";
|
|
46
|
+
sliding_scale: "sliding_scale";
|
|
47
|
+
free: "free";
|
|
48
|
+
tiered: "tiered";
|
|
49
|
+
}>;
|
|
50
|
+
currency: z.ZodString;
|
|
51
|
+
singlePriceAmount: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
slidingMinAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
slidingMaxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
|
+
slidingSuggestedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
+
paymentTerms: z.ZodObject<{
|
|
56
|
+
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
57
|
+
kind: z.ZodLiteral<"upfront">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
kind: z.ZodLiteral<"deferred_manual">;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"instalment_plan">;
|
|
62
|
+
plan: z.ZodUnion<readonly [z.ZodObject<{
|
|
63
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
64
|
+
depositAmountCents: z.ZodNumber;
|
|
65
|
+
depositRefundability: z.ZodEnum<{
|
|
66
|
+
refundable: "refundable";
|
|
67
|
+
non_refundable: "non_refundable";
|
|
68
|
+
}>;
|
|
69
|
+
remainderDueCount: z.ZodNumber;
|
|
70
|
+
intervalUnit: z.ZodEnum<{
|
|
71
|
+
day: "day";
|
|
72
|
+
week: "week";
|
|
73
|
+
month: "month";
|
|
74
|
+
}>;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
77
|
+
depositAmountCents: z.ZodNumber;
|
|
78
|
+
depositRefundability: z.ZodEnum<{
|
|
79
|
+
refundable: "refundable";
|
|
80
|
+
non_refundable: "non_refundable";
|
|
81
|
+
}>;
|
|
82
|
+
instalmentCount: z.ZodNumber;
|
|
83
|
+
intervalCount: z.ZodNumber;
|
|
84
|
+
intervalUnit: z.ZodEnum<{
|
|
85
|
+
day: "day";
|
|
86
|
+
week: "week";
|
|
87
|
+
month: "month";
|
|
88
|
+
}>;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
91
|
+
instalmentCount: z.ZodNumber;
|
|
92
|
+
intervalCount: z.ZodNumber;
|
|
93
|
+
intervalUnit: z.ZodEnum<{
|
|
94
|
+
day: "day";
|
|
95
|
+
week: "week";
|
|
96
|
+
month: "month";
|
|
97
|
+
}>;
|
|
98
|
+
}, z.core.$strip>]>;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"flexible_balance">;
|
|
101
|
+
config: z.ZodObject<{
|
|
102
|
+
upfrontAmountCents: z.ZodNumber;
|
|
103
|
+
dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
104
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
105
|
+
daysBeforeStart: z.ZodNumber;
|
|
106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
108
|
+
dueAt: z.ZodString;
|
|
109
|
+
}, z.core.$strip>]>;
|
|
110
|
+
depositRefundability: z.ZodEnum<{
|
|
111
|
+
refundable: "refundable";
|
|
112
|
+
non_refundable: "non_refundable";
|
|
113
|
+
}>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
}, z.core.$strip>]>>;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
options: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodString;
|
|
119
|
+
name: z.ZodString;
|
|
120
|
+
description: z.ZodNullable<z.ZodString>;
|
|
121
|
+
priceAmount: z.ZodNumber;
|
|
122
|
+
isActive: z.ZodBoolean;
|
|
123
|
+
sortOrder: z.ZodNumber;
|
|
124
|
+
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
125
|
+
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
126
|
+
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
127
|
+
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
128
|
+
in_person: "in_person";
|
|
129
|
+
both: "both";
|
|
130
|
+
online: "online";
|
|
131
|
+
}>>>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
export declare const publicWholeSeriesOfferingSchema: z.ZodType<PublicWholeSeriesOffering>;
|
|
135
|
+
export declare const publicWholeSeriesOfferingsArraySchema: z.ZodArray<z.ZodType<PublicWholeSeriesOffering, unknown, z.core.$ZodTypeInternals<PublicWholeSeriesOffering, unknown>>>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/** Canonical public model for Events booked as one complete run. */
|
|
2
|
+
import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
|
|
3
|
+
import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
|
|
4
|
+
import type { BlockButtonRole } from '../../../constants/buttonRoles';
|
|
5
|
+
export type WholeSeriesOfferingStatus = 'active' | 'draft' | 'cancelled';
|
|
6
|
+
export type WholeSeriesVenue = {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
address: string | null;
|
|
10
|
+
};
|
|
11
|
+
export type WholeSeriesSession = {
|
|
12
|
+
id: string;
|
|
13
|
+
startsAt: string;
|
|
14
|
+
endsAt: string;
|
|
15
|
+
timeZone: string;
|
|
16
|
+
capacityOverride?: number | null;
|
|
17
|
+
overrides?: Record<string, unknown> | null;
|
|
18
|
+
};
|
|
19
|
+
export type WholeSeriesPricingOption = {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string | null;
|
|
23
|
+
priceAmount: number;
|
|
24
|
+
isActive: boolean;
|
|
25
|
+
sortOrder: number;
|
|
26
|
+
capacityLimit: number | null;
|
|
27
|
+
saleStartsAt: string | null;
|
|
28
|
+
saleEndsAt: string | null;
|
|
29
|
+
attendanceScope?: 'in_person' | 'online' | 'both' | null;
|
|
30
|
+
};
|
|
31
|
+
export type WholeSeriesPricing = {
|
|
32
|
+
bookingRequirement: 'none' | 'required';
|
|
33
|
+
pricingStrategy: 'free' | 'single' | 'tiered' | 'sliding_scale';
|
|
34
|
+
currency: string;
|
|
35
|
+
singlePriceAmount: number | null;
|
|
36
|
+
slidingMinAmount?: number | null;
|
|
37
|
+
slidingMaxAmount?: number | null;
|
|
38
|
+
slidingSuggestedAmount?: number | null;
|
|
39
|
+
paymentTerms: BlockBookingPaymentTerms;
|
|
40
|
+
options: readonly WholeSeriesPricingOption[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Public whole-series offering data from the API.
|
|
44
|
+
* Used by Event registration and details surfaces.
|
|
45
|
+
*/
|
|
46
|
+
export type PublicWholeSeriesOffering = {
|
|
47
|
+
/** Canonical event-series identity backing this concrete bookable run. */
|
|
48
|
+
eventSeriesId: string;
|
|
49
|
+
/** Offering identity owning the public Event page and its available runs. */
|
|
50
|
+
eventOfferingId: string;
|
|
51
|
+
title: string;
|
|
52
|
+
slug: string;
|
|
53
|
+
/** Rich text description (ProseMirror/TipTap JSON format) */
|
|
54
|
+
description: unknown;
|
|
55
|
+
teamMembers?: PublicTeamMemberSummary[];
|
|
56
|
+
/** Registration is open if the run has not started yet. */
|
|
57
|
+
enrollmentOpen: boolean;
|
|
58
|
+
/** Canonical shared pricing model for the whole-series run. */
|
|
59
|
+
pricing: WholeSeriesPricing;
|
|
60
|
+
/** Currency code (ISO 4217) */
|
|
61
|
+
currency: string;
|
|
62
|
+
/** Shared booking payment-terms model for appointments and Events. */
|
|
63
|
+
paymentTerms: BlockBookingPaymentTerms;
|
|
64
|
+
/** Maximum enrollment capacity (null = unlimited) */
|
|
65
|
+
enrollmentCapacity: number | null;
|
|
66
|
+
/** Whether memberships can be used for free enrollment */
|
|
67
|
+
acceptsMemberships: boolean;
|
|
68
|
+
/** Operational status of the run. */
|
|
69
|
+
status: WholeSeriesOfferingStatus;
|
|
70
|
+
/** Total number of sessions in the run. */
|
|
71
|
+
sessionsCount: number;
|
|
72
|
+
/** Number of enrolled students */
|
|
73
|
+
enrolledCount: number;
|
|
74
|
+
/** Available spots (null if unlimited) */
|
|
75
|
+
availableSpots: number | null;
|
|
76
|
+
/** Every session included in this run. */
|
|
77
|
+
sessions: WholeSeriesSession[];
|
|
78
|
+
/** Venue information */
|
|
79
|
+
venue: WholeSeriesVenue | null;
|
|
80
|
+
};
|
|
81
|
+
export type ButtonVariant = BlockButtonRole;
|
|
@@ -5,10 +5,34 @@ import { type BlockConfig, type BlockContentShapeInput, type DefinedBlockManifes
|
|
|
5
5
|
import { type StandardAspectRatio } from "../fields/aspectRatio";
|
|
6
6
|
import { type BlockCtaContent } from "../fields/ctas";
|
|
7
7
|
import type { BlockIconValue, SemanticIconId } from "../icons";
|
|
8
|
+
import type { CardRole } from "../../../../theme-core/src/cards/index";
|
|
8
9
|
import { type FeatureCardIconTreatment } from "./feature-card-icons";
|
|
9
10
|
type FeatureCardsVariant = "cards" | "editorial-diptych" | "editorial-pathways";
|
|
10
11
|
type FeatureCardsColumns = "2" | "3" | "4";
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* This block's historical per-item surface values. They are aliases of card
|
|
14
|
+
* roles now, and stay parseable forever — persisted content carries them.
|
|
15
|
+
*/
|
|
16
|
+
export type FeatureCardLegacySurfaceRole = "open" | "panel";
|
|
17
|
+
/**
|
|
18
|
+
* What an individual card may say about its own surface: the card-role
|
|
19
|
+
* vocabulary *minus* `open`, plus this block's two historical values.
|
|
20
|
+
*
|
|
21
|
+
* The subtraction is the point. `open` predates the role vocabulary here and
|
|
22
|
+
* keeps its old meaning — the unmarked boxless card every unset item already
|
|
23
|
+
* falls back to, which is role `none`. Reading it as role `open` would put a
|
|
24
|
+
* top rule on every default feature card, so
|
|
25
|
+
* `FEATURE_CARD_SURFACE_ROLE_ALIASES` maps it to `none` before any role
|
|
26
|
+
* normalization runs, and it does so unconditionally.
|
|
27
|
+
*
|
|
28
|
+
* Building the union as `Exclude<CardRole, 'open'> | FeatureCardLegacySurfaceRole`
|
|
29
|
+
* therefore states the truth: the string `open` is only ever reachable through
|
|
30
|
+
* the legacy half, and **the canonical `open` role is permanently
|
|
31
|
+
* unaddressable per item on this block** — the alias always wins. A caller
|
|
32
|
+
* that wants the canonical open card sets it as the block's card role, not as
|
|
33
|
+
* an item's `surfaceRole`.
|
|
34
|
+
*/
|
|
35
|
+
export type FeatureCardSurfaceRole = Exclude<CardRole, "open"> | FeatureCardLegacySurfaceRole;
|
|
12
36
|
export declare const featureCardsManifest: DefinedBlockManifest<BlockContentShapeInput<BlockConfig>>;
|
|
13
37
|
export type FeatureCard = {
|
|
14
38
|
surfaceRole?: FeatureCardSurfaceRole | null;
|
|
@@ -4,6 +4,7 @@ import type { SystemBlockDefinition } from "../registry";
|
|
|
4
4
|
import type { SemanticSpacing } from "../spacing";
|
|
5
5
|
import { type ContentFrameIntent } from "../frame/frameStyles";
|
|
6
6
|
import { type StandardAspectRatio } from "../fields/aspectRatio";
|
|
7
|
+
import { type CardStylesContent } from "../fields/boxStyles";
|
|
7
8
|
import { type StandardImageShape } from "../fields/imageShape";
|
|
8
9
|
import { type ImageColSize } from "../fields/imageLayout";
|
|
9
10
|
type MediaTextAlignment = "left" | "center";
|
|
@@ -94,36 +95,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
94
95
|
readonly ui: {
|
|
95
96
|
readonly intent: "display";
|
|
96
97
|
};
|
|
97
|
-
}, import("../../../../block-form/src/backend/index").FieldDefinition, {
|
|
98
|
-
readonly id: "gap";
|
|
99
|
-
readonly type: "select";
|
|
100
|
-
readonly label: "Gap between media and text";
|
|
101
|
-
readonly required: false;
|
|
102
|
-
readonly defaultValue: "comfortable";
|
|
103
|
-
readonly multiple: false;
|
|
104
|
-
readonly options: [{
|
|
105
|
-
readonly value: "none";
|
|
106
|
-
readonly label: "None";
|
|
107
|
-
}, {
|
|
108
|
-
readonly value: "compact";
|
|
109
|
-
readonly label: "Compact";
|
|
110
|
-
}, {
|
|
111
|
-
readonly value: "cozy";
|
|
112
|
-
readonly label: "Cozy";
|
|
113
|
-
}, {
|
|
114
|
-
readonly value: "medium";
|
|
115
|
-
readonly label: "Medium";
|
|
116
|
-
}, {
|
|
117
|
-
readonly value: "comfortable";
|
|
118
|
-
readonly label: "Comfortable";
|
|
119
|
-
}, {
|
|
120
|
-
readonly value: "spacious";
|
|
121
|
-
readonly label: "Spacious";
|
|
122
|
-
}];
|
|
123
|
-
readonly ui: {
|
|
124
|
-
readonly intent: "display";
|
|
125
|
-
};
|
|
126
|
-
}, {
|
|
98
|
+
}, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, {
|
|
127
99
|
readonly id: string;
|
|
128
100
|
readonly label: string;
|
|
129
101
|
readonly required: boolean;
|
|
@@ -2043,8 +2015,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2043
2015
|
readonly label: string;
|
|
2044
2016
|
readonly id: string;
|
|
2045
2017
|
readonly type: "repeater";
|
|
2046
|
-
readonly required: boolean;
|
|
2047
2018
|
readonly description?: string | undefined;
|
|
2019
|
+
readonly required: boolean;
|
|
2048
2020
|
readonly ui?: {
|
|
2049
2021
|
widget?: string | undefined;
|
|
2050
2022
|
preset?: "disclosure" | undefined;
|
|
@@ -2160,8 +2132,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2160
2132
|
readonly label: string;
|
|
2161
2133
|
readonly id: string;
|
|
2162
2134
|
readonly type: "group";
|
|
2163
|
-
readonly required: boolean;
|
|
2164
2135
|
readonly description?: string | undefined;
|
|
2136
|
+
readonly required: boolean;
|
|
2165
2137
|
readonly ui?: {
|
|
2166
2138
|
widget?: string | undefined;
|
|
2167
2139
|
preset?: "disclosure" | undefined;
|
|
@@ -2267,8 +2239,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2267
2239
|
readonly label: string;
|
|
2268
2240
|
readonly id: string;
|
|
2269
2241
|
readonly type: "modal";
|
|
2270
|
-
readonly required: boolean;
|
|
2271
2242
|
readonly description?: string | undefined;
|
|
2243
|
+
readonly required: boolean;
|
|
2272
2244
|
readonly ui?: {
|
|
2273
2245
|
widget?: string | undefined;
|
|
2274
2246
|
preset?: "disclosure" | undefined;
|
|
@@ -2374,8 +2346,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2374
2346
|
readonly label: string;
|
|
2375
2347
|
readonly id: string;
|
|
2376
2348
|
readonly type: "tabGroup";
|
|
2377
|
-
readonly required: boolean;
|
|
2378
2349
|
readonly description?: string | undefined;
|
|
2350
|
+
readonly required: boolean;
|
|
2379
2351
|
readonly ui?: {
|
|
2380
2352
|
widget?: string | undefined;
|
|
2381
2353
|
preset?: "disclosure" | undefined;
|
|
@@ -4796,8 +4768,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4796
4768
|
label: string;
|
|
4797
4769
|
id: string;
|
|
4798
4770
|
type: "repeater";
|
|
4799
|
-
required: boolean;
|
|
4800
4771
|
description?: string | undefined;
|
|
4772
|
+
required: boolean;
|
|
4801
4773
|
minItems: number;
|
|
4802
4774
|
maxItems?: number | undefined;
|
|
4803
4775
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -4929,8 +4901,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4929
4901
|
label: string;
|
|
4930
4902
|
id: string;
|
|
4931
4903
|
type: "group";
|
|
4932
|
-
required: boolean;
|
|
4933
4904
|
description?: string | undefined;
|
|
4905
|
+
required: boolean;
|
|
4934
4906
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
4935
4907
|
defaultValue?: any;
|
|
4936
4908
|
schema: {
|
|
@@ -5052,8 +5024,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
5052
5024
|
label: string;
|
|
5053
5025
|
id: string;
|
|
5054
5026
|
type: "modal";
|
|
5055
|
-
required: boolean;
|
|
5056
5027
|
description?: string | undefined;
|
|
5028
|
+
required: boolean;
|
|
5057
5029
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
5058
5030
|
defaultValue?: any;
|
|
5059
5031
|
schema: {
|
|
@@ -5175,8 +5147,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
5175
5147
|
label: string;
|
|
5176
5148
|
id: string;
|
|
5177
5149
|
type: "tabGroup";
|
|
5178
|
-
required: boolean;
|
|
5179
5150
|
description?: string | undefined;
|
|
5151
|
+
required: boolean;
|
|
5180
5152
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
5181
5153
|
defaultValue?: any;
|
|
5182
5154
|
activeTabField?: string | undefined;
|
|
@@ -5301,8 +5273,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
5301
5273
|
label: string;
|
|
5302
5274
|
id: "_textCardStyles";
|
|
5303
5275
|
type: "modal";
|
|
5304
|
-
required: boolean;
|
|
5305
5276
|
description?: string | undefined;
|
|
5277
|
+
required: boolean;
|
|
5306
5278
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
5307
5279
|
defaultValue?: any;
|
|
5308
5280
|
schema: {
|
|
@@ -5331,6 +5303,11 @@ export type MediaTextContent = {
|
|
|
5331
5303
|
text: RichTextDoc;
|
|
5332
5304
|
wrapTextInCard?: boolean | null;
|
|
5333
5305
|
_textCardStyles?: unknown;
|
|
5306
|
+
/**
|
|
5307
|
+
* Compiler-owned. Media-text reads only the card role off this — its card's
|
|
5308
|
+
* own styling lives in `_textCardStyles` above (issue 1297, Phase 2b).
|
|
5309
|
+
*/
|
|
5310
|
+
_cardStyles?: CardStylesContent;
|
|
5334
5311
|
_frameStyles?: ContentFrameIntent | null;
|
|
5335
5312
|
};
|
|
5336
5313
|
export declare const mediaTextBlockDefinition: SystemBlockDefinition<MediaTextContent>;
|
|
@@ -28,7 +28,7 @@ export declare const OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS: readonly [{
|
|
|
28
28
|
export type OfferingsPreviewEventPreset = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]['preset'];
|
|
29
29
|
export type OfferingsPreviewEventSourceKey = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]['sourceKey'];
|
|
30
30
|
export type OfferingsPreviewEventDataKey = (typeof OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS)[number]['dataKey'];
|
|
31
|
-
export declare const OFFERINGS_PREVIEW_EVENT_PRESETS: ("
|
|
31
|
+
export declare const OFFERINGS_PREVIEW_EVENT_PRESETS: ("class" | "workshop" | "retreat" | "performance")[];
|
|
32
32
|
export declare const OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS: readonly [...("eventPreset:class" | "eventPreset:workshop" | "eventPreset:retreat" | "eventPreset:performance")[], "course"];
|
|
33
33
|
export declare const OFFERINGS_PREVIEW_SOURCE_KEYS: readonly [...("eventPreset:class" | "eventPreset:workshop" | "eventPreset:retreat" | "eventPreset:performance")[], "course"];
|
|
34
34
|
export type OfferingsPreviewSourceKey = OfferingsPreviewEventSourceKey | 'course';
|
|
@@ -35,7 +35,6 @@ export declare const siteHeaderManifest: import("..").DefinedBlockManifest<impor
|
|
|
35
35
|
readonly paletteHidden: true;
|
|
36
36
|
}>>;
|
|
37
37
|
export type SiteHeaderManifest = typeof siteHeaderManifest;
|
|
38
|
-
export type SiteHeaderVariant = 'classic' | 'centered' | 'transparent' | 'floating';
|
|
39
38
|
export declare const SITE_HEADER_MODES: readonly ["default", "hidden"];
|
|
40
39
|
export type SiteHeaderMode = (typeof SITE_HEADER_MODES)[number];
|
|
41
40
|
export type SiteHeaderContent = Readonly<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type BlockManifest } from "../manifest/schema";
|
|
1
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
|
+
import { type CardStylesContent } from "../fields/boxStyles";
|
|
2
4
|
import type { SemanticSpacing } from "../spacing";
|
|
3
|
-
import type { NodeDefinition } from "../node";
|
|
4
5
|
import { type ImageColSize } from "../fields/imageLayout";
|
|
5
6
|
import type { PublicTeamMemberPhoto } from "./shared/teamMembers";
|
|
6
7
|
type ThumbnailShape = "round" | "rounded" | "square";
|
|
@@ -9,68 +10,7 @@ type LayoutWidth = "full" | "lg-3-4-left";
|
|
|
9
10
|
type ThumbnailPadding = "none" | "sm" | "md" | "lg";
|
|
10
11
|
type StackImagePosition = "left" | "right" | "alternate";
|
|
11
12
|
type StackContentAlignment = "top" | "center";
|
|
12
|
-
export declare const teamMembersManifest:
|
|
13
|
-
readonly id: "block.team-members";
|
|
14
|
-
readonly title: "Team Members";
|
|
15
|
-
readonly category: "content";
|
|
16
|
-
readonly contentSource: {
|
|
17
|
-
readonly kind: "mixed";
|
|
18
|
-
};
|
|
19
|
-
readonly titleSource: "heading";
|
|
20
|
-
readonly additionalFields: readonly [import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, import("../../../../block-form/src/backend/index").FieldDefinition, {
|
|
21
|
-
readonly ui: {
|
|
22
|
-
readonly intent: "content";
|
|
23
|
-
readonly visibleWhen: {
|
|
24
|
-
readonly field: "source";
|
|
25
|
-
readonly equals: "manual";
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
readonly label: string;
|
|
29
|
-
readonly id: string;
|
|
30
|
-
readonly type: "repeater";
|
|
31
|
-
readonly required: boolean;
|
|
32
|
-
readonly description?: string | undefined;
|
|
33
|
-
readonly minItems: number;
|
|
34
|
-
readonly maxItems?: number | undefined;
|
|
35
|
-
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
36
|
-
readonly defaultValue?: any;
|
|
37
|
-
readonly itemLabel: string;
|
|
38
|
-
readonly itemLabelSource?: string | undefined;
|
|
39
|
-
readonly showSummary?: boolean | undefined;
|
|
40
|
-
readonly summaryFields?: string[] | undefined;
|
|
41
|
-
readonly summaryMaxChars?: number | undefined;
|
|
42
|
-
readonly polymorphic?: boolean | undefined;
|
|
43
|
-
readonly allowConversion: boolean;
|
|
44
|
-
readonly schema?: {
|
|
45
|
-
fields: import("../../../../block-form/src/backend/index").FieldDefinition[];
|
|
46
|
-
};
|
|
47
|
-
readonly itemTypes?: Record<string, import("..").ItemTypeDefinition>;
|
|
48
|
-
}];
|
|
49
|
-
readonly layout: NodeDefinition;
|
|
50
|
-
readonly variants: {
|
|
51
|
-
readonly grid: NodeDefinition;
|
|
52
|
-
readonly stack: NodeDefinition;
|
|
53
|
-
};
|
|
54
|
-
readonly defaultVariant: "grid";
|
|
55
|
-
readonly variantOptions: {
|
|
56
|
-
readonly grid: {
|
|
57
|
-
readonly label: "Grid";
|
|
58
|
-
readonly description: "Members in a responsive grid";
|
|
59
|
-
readonly icon: "Grid3X3";
|
|
60
|
-
};
|
|
61
|
-
readonly stack: {
|
|
62
|
-
readonly label: "Stack";
|
|
63
|
-
readonly description: "Members in a stacked list with photo + bio";
|
|
64
|
-
readonly icon: "List";
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
readonly description: "Show your team members in a grid or stacked list.";
|
|
68
|
-
readonly tags: readonly ["team", "people", "members"];
|
|
69
|
-
readonly icon: "Users";
|
|
70
|
-
readonly styleTokens: {
|
|
71
|
-
readonly spacing: "lg";
|
|
72
|
-
};
|
|
73
|
-
}>>;
|
|
13
|
+
export declare const teamMembersManifest: BlockManifest;
|
|
74
14
|
type ManualTeamMemberItem = {
|
|
75
15
|
_type: "teamMember";
|
|
76
16
|
name: string;
|
|
@@ -91,6 +31,7 @@ type TeamMembersCommonContent = {
|
|
|
91
31
|
stackContentAlignment?: StackContentAlignment | null;
|
|
92
32
|
columns?: string | number | null;
|
|
93
33
|
gap?: SemanticSpacing;
|
|
34
|
+
_cardStyles?: CardStylesContent;
|
|
94
35
|
};
|
|
95
36
|
export type TeamMembersContent = (TeamMembersCommonContent & {
|
|
96
37
|
source?: "manual" | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MediaAssetId } from '../../../../core/src/index';
|
|
2
|
-
import { type
|
|
2
|
+
import { type AppearancePresetId, type LayoutVariantKey, type PageDesignEditorBackgroundSupport } from '../../../../theme-core/src/site-styles/index';
|
|
3
3
|
import type { ThemeColorToken } from '../../../../theme-core/src/tokens/index';
|
|
4
4
|
import { type GradientPresetId } from '../../../../theme-core/src/gradients/index';
|
|
5
5
|
import type { RenderableMediaAsset } from '../../../../media-core/src/index';
|
|
@@ -177,8 +177,6 @@ export declare const recommendedBackgroundColorTokens: readonly BackgroundColorT
|
|
|
177
177
|
export declare const advancedBackgroundColorTokens: BackgroundColorToken[];
|
|
178
178
|
export declare function parseBackgroundColorToken(value: unknown): BackgroundColorToken | null;
|
|
179
179
|
export declare function isBackgroundColorToken(value: unknown): value is BackgroundColorToken;
|
|
180
|
-
export declare function foregroundTokenForBackgroundColorToken(token: BackgroundColorToken): string;
|
|
181
|
-
export declare function planBackgroundColorTextLegibility(token: BackgroundColorToken): ThemeBackgroundTextLegibilityPlan;
|
|
182
180
|
export declare function dedupeBackgroundColorTokensByPalette(tokens: readonly BackgroundColorToken[], palette: BackgroundColorPalette): readonly BackgroundColorToken[];
|
|
183
181
|
export declare function backgroundModeForOverride(override: BackgroundOverride): BackgroundMode;
|
|
184
182
|
export declare function backgroundOverrideEquals(left: BackgroundOverride, right: BackgroundOverride): boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ModalFieldDefinition } from '../manifest/schema';
|
|
2
2
|
import type { AccordionIconTreatment, EyebrowTreatment, EventListTreatment, HeadingDecorationOverride, TileTreatment } from '../../../../theme-core/src/site-styles/index';
|
|
3
|
+
import { type CardRole } from '../../../../theme-core/src/cards/index';
|
|
3
4
|
import type { BackgroundContent } from './backgroundContent';
|
|
4
5
|
/**
|
|
5
6
|
* Options for customizing a section styles field.
|
|
@@ -49,6 +50,12 @@ type CardStylesOptions = {
|
|
|
49
50
|
label?: string;
|
|
50
51
|
/** Whether to include background field (default: true) */
|
|
51
52
|
includeBackground?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Expose only the semantic role selector. This is for blocks such as events
|
|
55
|
+
* that let authors choose a site-style card role without exposing a second
|
|
56
|
+
* set of visual identity controls.
|
|
57
|
+
*/
|
|
58
|
+
controls?: 'overrides' | 'role-only';
|
|
52
59
|
} & BoxStylesUiOptions;
|
|
53
60
|
/**
|
|
54
61
|
* Content type for section styles field (_sectionStyles).
|
|
@@ -84,8 +91,12 @@ export type CardStylesContent = {
|
|
|
84
91
|
spacing?: string | null;
|
|
85
92
|
raised?: boolean | null;
|
|
86
93
|
rounded?: string | null;
|
|
87
|
-
|
|
88
|
-
|
|
94
|
+
/**
|
|
95
|
+
* The card role the block's Look asked for. Compiled by the site-style
|
|
96
|
+
* runtime; the site style owns what the role looks like. The one field that
|
|
97
|
+
* names a card surface.
|
|
98
|
+
*/
|
|
99
|
+
role?: CardRole | null;
|
|
89
100
|
} | null;
|
|
90
101
|
export type ContainerStylesContent = {
|
|
91
102
|
background?: BackgroundContent | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type FieldDefinition } from "../manifest/schema";
|
|
2
|
+
type FieldUi = NonNullable<FieldDefinition["ui"]>;
|
|
3
|
+
type FieldVisibleWhen = FieldUi["visibleWhen"];
|
|
4
|
+
type SharedSelectOptions = Readonly<{
|
|
5
|
+
label?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
visibleWhen?: FieldVisibleWhen;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* Grid `userColumns` binding for blocks with a user-configured column count.
|
|
12
|
+
* The count renders through the canonical responsive ladder — see
|
|
13
|
+
* {@link gridUserColumnLadder}.
|
|
14
|
+
*/
|
|
15
|
+
export declare function userColumnsGridBinding(): Record<string, unknown>;
|
|
16
|
+
/** Shared "Columns" select (2/3/4) for grid-layout blocks. */
|
|
17
|
+
export declare function columnsSelectField(options?: SharedSelectOptions): FieldDefinition;
|
|
18
|
+
/** Shared semantic "Gap" select for layout blocks. */
|
|
19
|
+
export declare function gapSelectField(options?: SharedSelectOptions): FieldDefinition;
|
|
20
|
+
export {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { Binding } from "../schema";
|
|
2
|
+
/**
|
|
3
|
+
* A class name resolved from a binding. `$prepend` / `$append` are read by the
|
|
4
|
+
* resolver for string composition; a fallback belongs *inside* `$bind`, where
|
|
5
|
+
* the resolver actually reads it — a sibling `fallback` here was silently
|
|
6
|
+
* ignored, so the field is gone rather than looking load-bearing.
|
|
7
|
+
*/
|
|
2
8
|
export type BoundClassName = Readonly<{
|
|
3
9
|
$bind: Binding;
|
|
4
10
|
$prepend?: string;
|
|
5
11
|
$append?: string;
|
|
6
|
-
fallback?: string;
|
|
7
12
|
}>;
|
|
8
13
|
export type ClassNameBinding = string | BoundClassName;
|
|
9
14
|
export declare function prependClassName(className: string, value: ClassNameBinding): ClassNameBinding;
|
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
import type { CSSProperties } from "react";
|
|
2
2
|
import type { NodeDefinition } from "../schema";
|
|
3
3
|
import { type NodeModifier } from "../builder";
|
|
4
|
+
import type { BoundClassName } from "./classNameBinding";
|
|
4
5
|
type StyledCardDataProps = Readonly<Record<`data-${string}`, unknown>>;
|
|
6
|
+
/** Where a block's per-item surface choice lives, and how it maps to roles. */
|
|
7
|
+
export type ItemCardRoleBinding = Readonly<{
|
|
8
|
+
/** Binding path to the item's own surface value (e.g. `card.surfaceRole`). */
|
|
9
|
+
from: string;
|
|
10
|
+
/** The block's persisted per-item vocabulary, mapped onto card roles. */
|
|
11
|
+
aliases?: Readonly<Record<string, string>>;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* The shared child hooks generated card CSS targets (`.card-media`,
|
|
15
|
+
* `.card-content`). They join the class list only while a card role is in play,
|
|
16
|
+
* so cards still on the legacy treatment path keep their exact classes.
|
|
17
|
+
*
|
|
18
|
+
* Blocks whose items each choose a surface pass `itemRole` so the hook follows
|
|
19
|
+
* the item's choice; blocks with one surface per block bind from the card
|
|
20
|
+
* styles themselves (the transform reads the role off `stylesFrom` and ignores
|
|
21
|
+
* a non-string bound value), which keeps one emission path for both shapes.
|
|
22
|
+
*/
|
|
23
|
+
export declare function cardRoleChildClass(input: Readonly<{
|
|
24
|
+
emit: "media" | "content";
|
|
25
|
+
baseClass: string;
|
|
26
|
+
/** Where the block's compiled card styles live (e.g. `content._cardStyles`). */
|
|
27
|
+
stylesFrom: string;
|
|
28
|
+
itemRole?: ItemCardRoleBinding;
|
|
29
|
+
}>): BoundClassName;
|
|
5
30
|
export declare function styledCard(children: Array<NodeDefinition | null | undefined>, opts: {
|
|
6
31
|
stylesFrom: string;
|
|
7
32
|
backgroundFrom: string;
|
|
8
33
|
baseClassName?: string;
|
|
9
34
|
style?: CSSProperties;
|
|
10
35
|
dataProps?: StyledCardDataProps;
|
|
36
|
+
/**
|
|
37
|
+
* Blocks whose items each choose a card surface bind the class list from
|
|
38
|
+
* the per-item role instead, so the item's choice can override the role
|
|
39
|
+
* the block's Look compiled. See `cardRoleClass` in feature-cards.
|
|
40
|
+
*/
|
|
41
|
+
itemRole?: ItemCardRoleBinding;
|
|
11
42
|
}, ...mods: NodeModifier[]): NodeDefinition;
|
|
12
43
|
export {};
|
|
@@ -20,7 +20,7 @@ export type AllowedNodeType = (typeof ALLOWED_NODE_TYPES)[number];
|
|
|
20
20
|
* $bind.transforms within custom block layouts. Transform IDs
|
|
21
21
|
* not in this list will be rejected during validation.
|
|
22
22
|
*/
|
|
23
|
-
export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "value.mapToken", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.classicNavMode", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveFrameClassName", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "
|
|
23
|
+
export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "value.mapToken", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.classicNavMode", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveFrameClassName", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "containerStyles.resolveBoxClassName"];
|
|
24
24
|
export type AllowedTransformId = (typeof ALLOWED_TRANSFORM_IDS)[number];
|
|
25
25
|
/**
|
|
26
26
|
* Set for O(1) lookup of allowed node types.
|