@riverbankcms/sdk 0.108.0 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -1
- package/dist/{PreviewEditorSidebar-BBT-kZAM.mjs → PreviewEditorSidebar-CTR6LUhN.mjs} +181 -135
- package/dist/{PreviewEditorUI-D69xNKT2.mjs → PreviewEditorUI-DZg15Zip.mjs} +3 -4
- package/dist/{PreviewQueryProvider-RRu7wyQ5.mjs → PreviewQueryProvider-kkmjklLG.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CuDjXH6o.mjs → SdkPreviewModeRuntime-DeOTAFvR.mjs} +436 -367
- package/dist/{SiteChromeCustomizeContext-BQUY2dEk.mjs → SiteChromeCustomizeContext-DOSDLCiJ.mjs} +3442 -3029
- package/dist/_dts/ai/src/contracts/proposals.d.ts +12633 -10490
- package/dist/_dts/api/src/bookingAdjustments.d.ts +5 -0
- package/dist/_dts/api/src/bookingOperations.d.ts +4 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -17
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +6 -6
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/common/envelope.d.ts +7 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -1
- package/dist/_dts/api/src/courses.d.ts +31 -15
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +5 -5
- package/dist/_dts/api/src/endpoints.d.ts +49 -4
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/participantMessaging.d.ts +18 -12
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +259 -1
- package/dist/_dts/api/src/siteInfrastructure.d.ts +13 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +6 -6
- package/dist/_dts/api/src/siteOperations.d.ts +11 -19
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +37 -31
- package/dist/_dts/api/src/webhooks.d.ts +98 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientField.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +3 -4
- package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -8
- package/dist/_dts/blocks/src/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -23
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -23
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +16 -6
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +9 -1
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +10 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -12
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +17 -2
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +31 -0
- package/dist/_dts/content-model/src/content-types/scaffold.d.ts +58 -0
- package/dist/_dts/content-model/src/content-types/sentinels.d.ts +36 -0
- package/dist/_dts/content-model/src/index.d.ts +3 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3278 -3196
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/media-core/src/fileMimeDetection.d.ts +16 -0
- package/dist/_dts/media-core/src/fileStorage.d.ts +8 -0
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +2 -0
- package/dist/_dts/media-core/src/uploadVerificationContract.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +8 -7
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +18 -0
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +12 -1
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +22 -1
- package/dist/_dts/sdk/src/cli/index.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/output.d.ts +88 -0
- package/dist/_dts/sdk/src/cli/program.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +10 -0
- package/dist/_dts/sdk/src/client/management/http.d.ts +7 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +45 -20
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -15
- package/dist/_dts/sdk/src/date-time/index.d.ts +68 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
- package/dist/_dts/site-commands/src/commands.d.ts +1010 -817
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/core.d.ts +15 -46
- package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +147 -0
- package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +2 -3
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -1
- package/dist/_dts/theme-core/src/buttons/presets.d.ts +4 -25
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +100 -0
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
- package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +101 -83
- package/dist/_dts/theme-core/src/cards/types.d.ts +16 -16
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/gradients/presets.d.ts +200 -8
- package/dist/_dts/theme-core/src/gradients/utils.d.ts +6 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +87 -126
- package/dist/_dts/theme-core/src/mock-themes/modern-minimal.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +2 -2
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +5 -8
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -1
- package/dist/_dts/theme-core/src/schema.d.ts +112 -138
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +10 -10
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +13 -6
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +33 -12
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +2 -2
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +68396 -67339
- package/dist/cli/init-docs/content/cli-reference.md +50 -7
- package/dist/cli/init-docs/content/content-management.md +7 -4
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/cli/init-docs/content/workflow-publish.md +5 -1
- package/dist/client/{DiscountCodeDisclosure-D6TOf6Hi.mjs → DiscountCodeDisclosure-C4xvTBux.mjs} +1 -1
- package/dist/client/{EventCombined.client-Dao3zxRk.mjs → EventCombined.client-Cr7G131j.mjs} +2 -3
- package/dist/client/{EventListing.client-B2NNt4y1.mjs → EventListing.client-CAjbseNy.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BhwFo16w.mjs → LeafletStaticMap-BMlWfwz3.mjs} +1 -1
- package/dist/client/{MagicLinkForm-BWnB7cMR.mjs → MagicLinkForm-ChdFz96y.mjs} +1 -2
- package/dist/client/{StepIndicator-TzRiQ0BY.mjs → StepIndicator-7D3GaBeM.mjs} +2 -2
- package/dist/client/{accordion-BPy-AJ4_.mjs → accordion-D8JTs2Si.mjs} +1 -1
- package/dist/client/{bookingForm-BL4PGZds.mjs → bookingForm-H3DCRBHs.mjs} +6 -7
- package/dist/client/bookings.mjs +4649 -2767
- package/dist/client/{carousel-C2b7Cn9-.mjs → carousel-DMr_QWlz.mjs} +1 -1
- package/dist/client/{cart-BQcbXIVD.mjs → cart-DWMbfBdR.mjs} +3 -3
- package/dist/client/{checkout-DEmpGRJu.mjs → checkout-zmfdkXLx.mjs} +3 -3
- package/dist/client/client.mjs +3195 -2488
- package/dist/client/{colorStyles-jZS6KfkP.mjs → colorStyles-gcTh5yZT.mjs} +2 -41
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorTokenParts-FSS3al6l.mjs} +31 -1
- package/dist/client/{courseRegistration-BqRZPmsq.mjs → courseRegistration-Z_mn18jy.mjs} +100 -37
- package/dist/client/{eventCalendar-B8N_tSl5.mjs → eventCalendar-CYp0YJGF.mjs} +4 -5
- package/dist/client/{eventCombined-Gjn6gtq7.mjs → eventCombined-rKyYZUa9.mjs} +2 -2
- package/dist/client/{eventDetails-M-VCxA-r.mjs → eventDetails-X0ZaUuMj.mjs} +3 -3
- package/dist/client/{eventListing-DR19hqYi.mjs → eventListing-W1SuL7EP.mjs} +2 -2
- package/dist/client/{eventRegistration-BR02a0k3.mjs → eventRegistration-ClWricui.mjs} +6 -7
- package/dist/client/{form-LY2xIbwg.mjs → form--eKPwAAD.mjs} +1 -2
- package/dist/client/{headerSection-CYwwXJfh.mjs → headerSection-BSeGr-FS.mjs} +2 -3
- package/dist/client/hooks.mjs +2169 -2093
- package/dist/client/{locationMap-DWnBXrFq.mjs → locationMap-BpOrtNYn.mjs} +8 -5
- package/dist/client/{media-DHtSxS5V.mjs → media-DoF0dcVx.mjs} +4 -3
- package/dist/client/{newsletterForm-D9s-fQ2P.mjs → newsletterForm-Bt7it7Dy.mjs} +1 -2
- package/dist/client/{pricing-DDq80oYc.mjs → pricing-BTjSDDr4.mjs} +1 -1
- package/dist/client/{productDetail-B0SbWd45.mjs → productDetail-ICnVTcCg.mjs} +3 -3
- package/dist/client/{productList-PwYlZn0y.mjs → productList-ZHr6D604.mjs} +3 -3
- package/dist/client/{propsDecoder-BRWBiH7i.mjs → propsDecoder-wWN0tBDF.mjs} +2484 -223
- package/dist/client/rendering/client.mjs +2532 -2144
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +3322 -2462
- package/dist/client/{shop-CMwZPYME.mjs → shop-C1u_BUn0.mjs} +5 -6
- package/dist/client/{shop-commerce-BuxsFate.mjs → shop-commerce-CleZdRha.mjs} +5 -6
- package/dist/client/{shop-commerce-store-boYlEJ91.mjs → shop-commerce-store-ycnoB2Ce.mjs} +1 -1
- package/dist/client/{shopShared-D2naaOes.mjs → shopShared-CPhByt2a.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-D9RHpVoj.mjs → useDiscountCodeUi-cStSQI6C.mjs} +1 -1
- package/dist/client/{useEventFilters-igGiK1re.mjs → useEventFilters-DKPN7hSY.mjs} +46 -70
- package/dist/client/{usePolling-CI7MbsFB.mjs → usePolling-BKAd6pkZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +72 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +72 -6
- package/dist/{previewAuthStore-a_cBD28m.mjs → previewAuthStore-BkT1D06A.mjs} +72 -6
- package/dist/{sdk-runtime-MBzD-GmP.mjs → sdk-runtime-hu3wr3ng.mjs} +2 -2
- package/dist/{separator-5ahRBC85.mjs → separator-Bln8izQ9.mjs} +1 -1
- package/dist/server/components.mjs +3123 -2391
- package/dist/server/config-validation.mjs +2169 -2093
- package/dist/server/config.mjs +2169 -2093
- package/dist/server/data.mjs +2169 -2093
- package/dist/server/date-time.mjs +386 -0
- package/dist/server/index.mjs +73 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +3195 -2397
- package/dist/server/page-converter.mjs +2192 -1945
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2844 -2325
- package/dist/server/rendering.mjs +3123 -2391
- package/dist/server/routing.mjs +2269 -2149
- package/dist/server/server.mjs +2244 -2102
- package/dist/server/theme-bridge.mjs +2720 -1887
- package/dist/server/theme.mjs +1669 -1322
- package/dist/server/webhooks.mjs +54 -2
- package/dist/styles/index.css +5 -0
- package/package.json +7 -1
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -273
- package/dist/_dts/theme-core/src/buttons/presets/types.d.ts +0 -88
- package/dist/_dts/theme-core/src/buttons/utils/contrast.d.ts +0 -38
- package/dist/_dts/theme-core/src/palette/themePaletteCompatibility.d.ts +0 -57
- package/dist/client/buttons-EBjyslaX.mjs +0 -1852
|
@@ -2,7 +2,7 @@ import type { BackgroundOverride, SystemCustomizeFacetSelection, Theme } from '.
|
|
|
2
2
|
import type { ListMediaAssetsResult, MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
3
3
|
import type { DbJson } from '../../db/src/index';
|
|
4
4
|
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, FooterLookId, HeaderLayoutId, HeaderLookId, HeaderStyleId, LayoutVariantKey, SiteStyleId } from '../../theme-core/src/site-styles/index';
|
|
5
|
-
import type {
|
|
5
|
+
import type { ButtonStyleSelection } from '../../theme-core/src/buttons/index';
|
|
6
6
|
import type { PaletteCommand, PaletteLibraryAuthority, PaletteSelection } from '../../theme-core/src/palette/index';
|
|
7
7
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
8
8
|
import type { AnalyticsReportQuery, AnalyticsReportResponse } from './analytics';
|
|
@@ -20,43 +20,49 @@ import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse,
|
|
|
20
20
|
* which preserves the existing persisted value.
|
|
21
21
|
*/
|
|
22
22
|
export type SiteThemeSelectionsPayload = {
|
|
23
|
-
|
|
23
|
+
buttonStyleSelection?: ButtonStyleSelection | null;
|
|
24
24
|
headerLayoutId?: HeaderLayoutId | null;
|
|
25
25
|
headerStyleId?: HeaderStyleId | null;
|
|
26
26
|
headerLookId?: HeaderLookId | null;
|
|
27
27
|
footerLookId?: FooterLookId | null;
|
|
28
28
|
};
|
|
29
|
-
export type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
headerLookId
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
baseSelectionVersion: number;
|
|
40
|
-
/** Omitted or `null` lets the server target the current selection; a value targets that selection row. */
|
|
41
|
-
selectionId?: string | null;
|
|
29
|
+
export type SiteStyleHeaderSelectionChange = Readonly<{
|
|
30
|
+
kind: 'default';
|
|
31
|
+
}> | Readonly<{
|
|
32
|
+
kind: 'legacy';
|
|
33
|
+
headerLookId: HeaderLookId | null;
|
|
34
|
+
}> | Readonly<{
|
|
35
|
+
kind: 'canonical';
|
|
36
|
+
headerLookId: HeaderLookId | null;
|
|
37
|
+
layoutId: HeaderLayoutId;
|
|
38
|
+
styleId: HeaderStyleId;
|
|
42
39
|
}>;
|
|
43
|
-
export type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
headerStyleId?: undefined;
|
|
40
|
+
export type SiteStyleSelectionChange = Readonly<{
|
|
41
|
+
kind: 'set-site-style';
|
|
42
|
+
siteStyleId: SiteStyleId;
|
|
47
43
|
}> | Readonly<{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
headerStyleId: null;
|
|
44
|
+
kind: 'set-button-style';
|
|
45
|
+
buttonStyleSelection: ButtonStyleSelection | null;
|
|
51
46
|
}> | Readonly<{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
kind: 'set-palette';
|
|
48
|
+
command: PaletteCommand;
|
|
49
|
+
}> | Readonly<{
|
|
50
|
+
kind: 'set-typography';
|
|
51
|
+
typography: Theme['typography'] | null;
|
|
52
|
+
}> | Readonly<{
|
|
53
|
+
kind: 'set-header';
|
|
54
|
+
selection: SiteStyleHeaderSelectionChange;
|
|
55
|
+
}> | Readonly<{
|
|
56
|
+
kind: 'set-footer-look';
|
|
57
|
+
footerLookId: FooterLookId | null;
|
|
58
|
+
}>;
|
|
59
|
+
export type ApplySiteStyleSelectionBody = Readonly<{
|
|
60
|
+
baseSelectionVersion: number;
|
|
61
|
+
/** Omitted or `null` lets the server target the current selection. */
|
|
62
|
+
selectionId?: string | null;
|
|
63
|
+
/** A non-empty, unique-axis batch. Unmentioned axes are preserved. */
|
|
64
|
+
changes: readonly [SiteStyleSelectionChange, ...SiteStyleSelectionChange[]];
|
|
55
65
|
}>;
|
|
56
|
-
export type ApplySiteStyleSelectionBody = ApplySiteStyleSelectionCommonBody & Readonly<{
|
|
57
|
-
/** Omitted selects the site style's recommended curated palette; a command applies that palette operation. */
|
|
58
|
-
paletteCommand?: PaletteCommand;
|
|
59
|
-
}> & ApplySiteStyleSelectionHeaderBody;
|
|
60
66
|
export type ApplySiteStyleSelectionResponse = Readonly<{
|
|
61
67
|
success: boolean;
|
|
62
68
|
themeId: string;
|
|
@@ -66,7 +72,7 @@ export type ApplySiteStyleSelectionResponse = Readonly<{
|
|
|
66
72
|
savedAt: string;
|
|
67
73
|
theme: Theme;
|
|
68
74
|
siteStyleId: SiteStyleId;
|
|
69
|
-
|
|
75
|
+
buttonStyleSelection: ButtonStyleSelection;
|
|
70
76
|
activePaletteSelection: PaletteSelection;
|
|
71
77
|
/** Present only when the active selection is a site palette. */
|
|
72
78
|
activeSitePaletteVersion: number | null;
|
|
@@ -255,7 +261,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
255
261
|
* This response echoes the row's stored state so the caller can refresh
|
|
256
262
|
* local state without a follow-up read.
|
|
257
263
|
*/
|
|
258
|
-
|
|
264
|
+
buttonStyleSelection: ButtonStyleSelection | null;
|
|
259
265
|
activePaletteSelection: PaletteSelection;
|
|
260
266
|
activeSitePaletteVersion: number | null;
|
|
261
267
|
headerLayoutId: HeaderLayoutId | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const RIVERBANK_SIGNATURE_PREFIX = "sha256=";
|
|
3
|
-
export declare const SUPPORTED_WEBHOOK_EVENTS: readonly ["page.published", "page.unpublished", "page.deleted", "page.path_changed", "entry.published", "entry.unpublished", "entry.deleted", "entry.path_changed", "navigation.updated", "theme.updated", "site.settings_updated"];
|
|
3
|
+
export declare const SUPPORTED_WEBHOOK_EVENTS: readonly ["page.published", "page.unpublished", "page.deleted", "page.path_changed", "entry.published", "entry.unpublished", "entry.deleted", "entry.path_changed", "navigation.updated", "theme.updated", "site.settings_updated", "events.updated"];
|
|
4
4
|
export type WebhookEvent = (typeof SUPPORTED_WEBHOOK_EVENTS)[number];
|
|
5
5
|
export declare const WebhookEventSchema: z.ZodEnum<{
|
|
6
6
|
"page.published": "page.published";
|
|
@@ -14,6 +14,7 @@ export declare const WebhookEventSchema: z.ZodEnum<{
|
|
|
14
14
|
"navigation.updated": "navigation.updated";
|
|
15
15
|
"theme.updated": "theme.updated";
|
|
16
16
|
"site.settings_updated": "site.settings_updated";
|
|
17
|
+
"events.updated": "events.updated";
|
|
17
18
|
}>;
|
|
18
19
|
declare const revalidationPathBrand: unique symbol;
|
|
19
20
|
export type RevalidationPath = string & {
|
|
@@ -75,6 +76,58 @@ export declare const NavigationUpdatedDataSchema: z.ZodObject<{
|
|
|
75
76
|
menuId: z.ZodOptional<z.ZodString>;
|
|
76
77
|
}, z.core.$strict>;
|
|
77
78
|
export declare const EmptyWebhookDataSchema: z.ZodObject<{}, z.core.$strict>;
|
|
79
|
+
export declare const EventSeriesPublicActionSchema: z.ZodEnum<{
|
|
80
|
+
archived: "archived";
|
|
81
|
+
cancelled: "cancelled";
|
|
82
|
+
created: "created";
|
|
83
|
+
updated: "updated";
|
|
84
|
+
deleted: "deleted";
|
|
85
|
+
restored: "restored";
|
|
86
|
+
}>;
|
|
87
|
+
export declare const EventOccurrencePublicActionSchema: z.ZodEnum<{
|
|
88
|
+
cancelled: "cancelled";
|
|
89
|
+
created: "created";
|
|
90
|
+
updated: "updated";
|
|
91
|
+
deleted: "deleted";
|
|
92
|
+
}>;
|
|
93
|
+
export declare const EventRegistrationCapacityActionSchema: z.ZodEnum<{
|
|
94
|
+
cancelled: "cancelled";
|
|
95
|
+
created: "created";
|
|
96
|
+
hold_expired: "hold_expired";
|
|
97
|
+
waitlist_promoted: "waitlist_promoted";
|
|
98
|
+
}>;
|
|
99
|
+
export declare const EventsUpdatedDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
100
|
+
entity: z.ZodLiteral<"series">;
|
|
101
|
+
action: z.ZodEnum<{
|
|
102
|
+
archived: "archived";
|
|
103
|
+
cancelled: "cancelled";
|
|
104
|
+
created: "created";
|
|
105
|
+
updated: "updated";
|
|
106
|
+
deleted: "deleted";
|
|
107
|
+
restored: "restored";
|
|
108
|
+
}>;
|
|
109
|
+
seriesId: z.ZodString;
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
+
entity: z.ZodLiteral<"occurrence">;
|
|
112
|
+
action: z.ZodEnum<{
|
|
113
|
+
cancelled: "cancelled";
|
|
114
|
+
created: "created";
|
|
115
|
+
updated: "updated";
|
|
116
|
+
deleted: "deleted";
|
|
117
|
+
}>;
|
|
118
|
+
seriesId: z.ZodString;
|
|
119
|
+
occurrenceId: z.ZodString;
|
|
120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
entity: z.ZodLiteral<"registration">;
|
|
122
|
+
action: z.ZodEnum<{
|
|
123
|
+
cancelled: "cancelled";
|
|
124
|
+
created: "created";
|
|
125
|
+
hold_expired: "hold_expired";
|
|
126
|
+
waitlist_promoted: "waitlist_promoted";
|
|
127
|
+
}>;
|
|
128
|
+
seriesId: z.ZodString;
|
|
129
|
+
occurrenceIds: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
130
|
+
}, z.core.$strict>], "entity">;
|
|
78
131
|
export type PagePublishedData = z.infer<typeof PagePublishedDataSchema>;
|
|
79
132
|
export type PageRemovedData = z.infer<typeof PageRemovedDataSchema>;
|
|
80
133
|
export type PagePathChangedData = z.infer<typeof PagePathChangedDataSchema>;
|
|
@@ -83,6 +136,10 @@ export type EntryRemovedData = z.infer<typeof EntryRemovedDataSchema>;
|
|
|
83
136
|
export type EntryPathChangedData = z.infer<typeof EntryPathChangedDataSchema>;
|
|
84
137
|
export type NavigationUpdatedData = z.infer<typeof NavigationUpdatedDataSchema>;
|
|
85
138
|
export type EmptyWebhookData = z.infer<typeof EmptyWebhookDataSchema>;
|
|
139
|
+
export type EventSeriesPublicAction = z.infer<typeof EventSeriesPublicActionSchema>;
|
|
140
|
+
export type EventOccurrencePublicAction = z.infer<typeof EventOccurrencePublicActionSchema>;
|
|
141
|
+
export type EventRegistrationCapacityAction = z.infer<typeof EventRegistrationCapacityActionSchema>;
|
|
142
|
+
export type EventsUpdatedData = z.infer<typeof EventsUpdatedDataSchema>;
|
|
86
143
|
export type WebhookDataByEvent = Readonly<{
|
|
87
144
|
'page.published': PagePublishedData;
|
|
88
145
|
'page.unpublished': PageRemovedData;
|
|
@@ -95,6 +152,7 @@ export type WebhookDataByEvent = Readonly<{
|
|
|
95
152
|
'navigation.updated': NavigationUpdatedData;
|
|
96
153
|
'theme.updated': EmptyWebhookData;
|
|
97
154
|
'site.settings_updated': EmptyWebhookData;
|
|
155
|
+
'events.updated': EventsUpdatedData;
|
|
98
156
|
}>;
|
|
99
157
|
export type WebhookDataForEvent<E extends WebhookEvent> = WebhookDataByEvent[E];
|
|
100
158
|
export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -221,6 +279,45 @@ export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
221
279
|
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
222
280
|
event: z.ZodLiteral<"site.settings_updated">;
|
|
223
281
|
data: z.ZodObject<{}, z.core.$strict>;
|
|
282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
283
|
+
timestamp: z.ZodString;
|
|
284
|
+
siteId: z.ZodString;
|
|
285
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
|
+
event: z.ZodLiteral<"events.updated">;
|
|
287
|
+
dispatchId: z.ZodString;
|
|
288
|
+
tags: z.ZodArray<z.ZodString>;
|
|
289
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
290
|
+
entity: z.ZodLiteral<"series">;
|
|
291
|
+
action: z.ZodEnum<{
|
|
292
|
+
archived: "archived";
|
|
293
|
+
cancelled: "cancelled";
|
|
294
|
+
created: "created";
|
|
295
|
+
updated: "updated";
|
|
296
|
+
deleted: "deleted";
|
|
297
|
+
restored: "restored";
|
|
298
|
+
}>;
|
|
299
|
+
seriesId: z.ZodString;
|
|
300
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
301
|
+
entity: z.ZodLiteral<"occurrence">;
|
|
302
|
+
action: z.ZodEnum<{
|
|
303
|
+
cancelled: "cancelled";
|
|
304
|
+
created: "created";
|
|
305
|
+
updated: "updated";
|
|
306
|
+
deleted: "deleted";
|
|
307
|
+
}>;
|
|
308
|
+
seriesId: z.ZodString;
|
|
309
|
+
occurrenceId: z.ZodString;
|
|
310
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
311
|
+
entity: z.ZodLiteral<"registration">;
|
|
312
|
+
action: z.ZodEnum<{
|
|
313
|
+
cancelled: "cancelled";
|
|
314
|
+
created: "created";
|
|
315
|
+
hold_expired: "hold_expired";
|
|
316
|
+
waitlist_promoted: "waitlist_promoted";
|
|
317
|
+
}>;
|
|
318
|
+
seriesId: z.ZodString;
|
|
319
|
+
occurrenceIds: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
320
|
+
}, z.core.$strict>], "entity">;
|
|
224
321
|
}, z.core.$strip>], "event">;
|
|
225
322
|
export type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
|
|
226
323
|
export type WebhookPayloadForEvent<E extends WebhookEvent> = Extract<WebhookPayload, {
|
|
@@ -95,6 +95,8 @@ export type SiteBillingManualReviewPayload = {
|
|
|
95
95
|
export type SiteBillingArrangementPlanManualReviewReason = Exclude<SiteBillingManualReviewReason, 'subscription_action_failed'>;
|
|
96
96
|
export type SiteBillingArrangementSubscriptionAction = 'not_applicable' | 'sync_attempted' | 'cancelled_immediately' | 'scheduled_cancel_at_period_end' | 'manual_review_required' | 'failed';
|
|
97
97
|
export declare const SITE_BILLING_ARRANGEMENT_SUBSCRIPTION_ACTIONS: readonly ["not_applicable", "sync_attempted", "cancelled_immediately", "scheduled_cancel_at_period_end", "manual_review_required", "failed"];
|
|
98
|
+
export declare const SITE_BILLING_ARRANGEMENT_CHANGE_ORIGINS: readonly ["native_arrangement_change", "imported_legacy_cost_history"];
|
|
99
|
+
export type SiteBillingArrangementChangeOrigin = (typeof SITE_BILLING_ARRANGEMENT_CHANGE_ORIGINS)[number];
|
|
98
100
|
export type SiteBillingTransitionAttemptStatus = 'pending_external_action' | 'external_action_succeeded' | 'finalized' | 'failed';
|
|
99
101
|
export declare const SITE_BILLING_TRANSITION_ATTEMPT_STATUSES: readonly ["pending_external_action", "external_action_succeeded", "finalized", "failed"];
|
|
100
102
|
export type SiteBillingArrangementChangePlan = Readonly<{
|
|
@@ -115,6 +117,7 @@ export declare function isSiteBillingArrangementKind(value: string | null | unde
|
|
|
115
117
|
export declare function isManagedManualBillingReason(value: string | null | undefined): value is ManagedManualBillingReason;
|
|
116
118
|
export declare function isBillingSubscriptionOrigin(value: string | null | undefined): value is BillingSubscriptionOrigin;
|
|
117
119
|
export declare function isSiteBillingArrangementSubscriptionAction(value: string | null | undefined): value is SiteBillingArrangementSubscriptionAction;
|
|
120
|
+
export declare function isSiteBillingArrangementChangeOrigin(value: string | null | undefined): value is SiteBillingArrangementChangeOrigin;
|
|
118
121
|
export declare function isSiteBillingManualReviewReason(value: string | null | undefined): value is SiteBillingManualReviewReason;
|
|
119
122
|
export declare function isSiteBillingManualReviewStatus(value: string | null | undefined): value is SiteBillingManualReviewStatus;
|
|
120
123
|
export declare function isSiteBillingManualReviewResolutionAction(value: string | null | undefined): value is SiteBillingManualReviewResolutionAction;
|
package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientField.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { FieldWidgetProps } from '../../fields/props';
|
|
3
3
|
import type { TextFieldConfig } from '../../fields/types';
|
|
4
|
+
import { type GradientConfig } from '../../../../blocks/src/index';
|
|
4
5
|
/**
|
|
5
6
|
* BackgroundGradientField
|
|
6
7
|
*
|
|
@@ -11,3 +12,11 @@ import type { TextFieldConfig } from '../../fields/types';
|
|
|
11
12
|
* This is registered as a widget override with key 'backgroundGradient'.
|
|
12
13
|
*/
|
|
13
14
|
export declare function BackgroundGradientField({ path, backend, config, }: FieldWidgetProps<string | null, TextFieldConfig>): ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Attempts to find a preset that matches the given CSS gradient string.
|
|
17
|
+
*
|
|
18
|
+
* This is a best-effort reverse lookup - if the CSS was generated from a preset,
|
|
19
|
+
* we can find and highlight that preset. If it's custom CSS, we return null
|
|
20
|
+
* and the widget shows no selection.
|
|
21
|
+
*/
|
|
22
|
+
export declare function findPresetFromCss(css: string | null, tokens: Record<string, string>): GradientConfig | null;
|
package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type GradientConfig, type GradientPreset } from '../../../../blocks/src/index';
|
|
3
3
|
export type BackgroundGradientWidgetProps = {
|
|
4
4
|
label: string;
|
|
5
5
|
value: GradientConfig | null;
|
|
@@ -9,9 +9,8 @@ export type BackgroundGradientWidgetProps = {
|
|
|
9
9
|
dataPath?: string;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* BackgroundGradientWidget
|
|
13
|
-
*
|
|
14
12
|
* Select a curated gradient from the theme-based library.
|
|
15
13
|
* Gradients use theme color tokens, so they adapt to the site's palette.
|
|
16
14
|
*/
|
|
17
|
-
export declare function BackgroundGradientWidget(
|
|
15
|
+
export declare function BackgroundGradientWidget({ label, value, onChange, description, error, dataPath, }: BackgroundGradientWidgetProps): import("react").JSX.Element;
|
|
16
|
+
export declare function gradientConfigFromPreset(preset: GradientPreset): GradientConfig;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
export { BlockApiProvider, type BlockApiConfig
|
|
1
|
+
export { BlockApiProvider, type BlockApiConfig } from '../system/runtime/api';
|
|
2
2
|
export { CourseRegistrationIslandClient, type CourseRegistrationIslandClientProps, } from '../system/runtime/nodes/course-registration.client';
|
|
3
|
+
export { HeadlessWholeSeriesRegistrationProvider, createWholeSeriesRegistrationBlockApiConfig, useHeadlessWholeSeriesRegistrationFlow, } from '../system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow';
|
|
4
|
+
export { AltchaWidget as HeadlessWholeSeriesRegistrationAltchaWidget } from '../../../altcha/src/client';
|
|
5
|
+
export type { HeadlessWholeSeriesRegistrationFlow, HeadlessWholeSeriesRegistrationFlowOptions, HeadlessWholeSeriesRegistrationProviderProps, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, } from '../system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow';
|
|
@@ -19,8 +19,10 @@ export { BookingFormClient } from './system/runtime/nodes/booking-form.client';
|
|
|
19
19
|
export { HeadlessBookingPaymentSelectionStep, type HeadlessBookingPaymentSelectionStepProps, } from './system/runtime/nodes/booking-form.default-ui';
|
|
20
20
|
export { HeadlessBookingProvider, createBookingBlockApiConfig, useHeadlessBookingFlow, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
21
21
|
export { HeadlessEventRegistrationProvider, createEventRegistrationBlockApiConfig, useHeadlessEventRegistrationFlow, } from './system/runtime/hooks/useHeadlessEventRegistrationFlow';
|
|
22
|
+
export { HeadlessWholeSeriesRegistrationProvider, createWholeSeriesRegistrationBlockApiConfig, useHeadlessWholeSeriesRegistrationFlow, } from './system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow';
|
|
22
23
|
export { AltchaWidget as HeadlessBookingAltchaWidget } from '../../altcha/src/client';
|
|
23
24
|
export { AltchaWidget as HeadlessEventRegistrationAltchaWidget } from '../../altcha/src/client';
|
|
25
|
+
export { AltchaWidget as HeadlessWholeSeriesRegistrationAltchaWidget } from '../../altcha/src/client';
|
|
24
26
|
export { EventRegistrationClient, EventRegistrationIslandClient, } from './system/runtime/nodes/event-registration.client';
|
|
25
27
|
export { EventDetailsClient, EventDetailsIslandClient, } from './system/runtime/nodes/event-details.client';
|
|
26
28
|
export { LocationMapClient, LocationMapIslandClient, } from './system/runtime/nodes/location-map.client';
|
|
@@ -36,7 +38,8 @@ export type { BookingFormData, BookingSelectedCollectionOptionKind, } from './sy
|
|
|
36
38
|
export type { BookingAvailabilityModel, BookingAppointmentPackagesModel, BookingDiscountModel, BookingFieldsModel, BookingFlowActions, BookingPaymentModel, BookingResourcesModel, BookingServicesModel, BookingSpamProtectionModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
37
39
|
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, AppointmentBookingOverridePropsLike, BookingAvailabilityQuery, BookingAppointmentPackagesUnavailableReason, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingFlowView, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, LoadState, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
38
40
|
export type { EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, } from './system/runtime/hooks/useHeadlessEventRegistrationFlow';
|
|
39
|
-
export {
|
|
41
|
+
export type { HeadlessWholeSeriesRegistrationFlow, HeadlessWholeSeriesRegistrationFlowOptions, HeadlessWholeSeriesRegistrationProviderProps, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, } from './system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow';
|
|
42
|
+
export { getEventRegistrationOverrideInput } from './system/runtime/nodes/event-registration/event-registration.headless.state';
|
|
40
43
|
export { buildBookingAvailabilityQuery, buildBookingStepPlan, buildBookingSubmitPlan, createEmptyBookingValidationErrors, createFieldBookingValidationErrors, createFormBookingValidationError, describeUnknownError, deriveBookingFlowSteps, deriveBookingFieldViews, getAppointmentBookingOverrideInput, hasBookingValidationErrors, resolveAppointmentPackagesModel, resolveHeadlessBookingStatus, resolveHeadlessBookingView, toBookingFormData, toBookingSlotView, toBookingSlotViews, validateBookingField, validateBookingFields, validateBookingStep, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
41
44
|
export type { EventDetailsClientProps, EventDetailsIslandClientProps, } from './system/runtime/nodes/event-details.client';
|
|
42
45
|
export type { LocationMapClientProps, LocationMapIslandClientProps, } from './system/runtime/nodes/location-map.client';
|
|
@@ -256,7 +256,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
256
256
|
className: string | null;
|
|
257
257
|
titleText: string;
|
|
258
258
|
bodyText: string;
|
|
259
|
-
stepLabels: readonly ("
|
|
259
|
+
stepLabels: readonly ("Date" | "Event" | "Tickets" | "Details" | "Payment")[];
|
|
260
260
|
summaryButtonText: string;
|
|
261
261
|
}>;
|
|
262
262
|
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
@@ -279,7 +279,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
279
279
|
className: string | null;
|
|
280
280
|
titleText: string;
|
|
281
281
|
bodyText: string;
|
|
282
|
-
stepLabels: readonly ("
|
|
282
|
+
stepLabels: readonly ("Date" | "Event" | "Tickets" | "Details" | "Payment")[];
|
|
283
283
|
summaryButtonText: string;
|
|
284
284
|
}>;
|
|
285
285
|
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
@@ -944,7 +944,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
944
944
|
passes: readonly import("..").PublicPassProduct[];
|
|
945
945
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
946
946
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
947
|
-
buttonVariant: "
|
|
947
|
+
buttonVariant: import("..").BlockButtonRole;
|
|
948
948
|
}>;
|
|
949
949
|
}>>;
|
|
950
950
|
}>) => unknown;
|
|
@@ -989,7 +989,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
989
989
|
passes: readonly import("..").PublicPassProduct[];
|
|
990
990
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
991
991
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
992
|
-
buttonVariant: "
|
|
992
|
+
buttonVariant: import("..").BlockButtonRole;
|
|
993
993
|
}>;
|
|
994
994
|
}>>;
|
|
995
995
|
}>>;
|
|
@@ -1342,7 +1342,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1342
1342
|
className: string | null;
|
|
1343
1343
|
titleText: string;
|
|
1344
1344
|
bodyText: string;
|
|
1345
|
-
stepLabels: readonly ("
|
|
1345
|
+
stepLabels: readonly ("Date" | "Event" | "Tickets" | "Details" | "Payment")[];
|
|
1346
1346
|
summaryButtonText: string;
|
|
1347
1347
|
}>;
|
|
1348
1348
|
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
@@ -1365,7 +1365,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1365
1365
|
className: string | null;
|
|
1366
1366
|
titleText: string;
|
|
1367
1367
|
bodyText: string;
|
|
1368
|
-
stepLabels: readonly ("
|
|
1368
|
+
stepLabels: readonly ("Date" | "Event" | "Tickets" | "Details" | "Payment")[];
|
|
1369
1369
|
summaryButtonText: string;
|
|
1370
1370
|
}>;
|
|
1371
1371
|
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
@@ -2030,7 +2030,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
2030
2030
|
passes: readonly import("..").PublicPassProduct[];
|
|
2031
2031
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
2032
2032
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2033
|
-
buttonVariant: "
|
|
2033
|
+
buttonVariant: import("..").BlockButtonRole;
|
|
2034
2034
|
}>;
|
|
2035
2035
|
}>>;
|
|
2036
2036
|
}>) => unknown;
|
|
@@ -2075,7 +2075,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
2075
2075
|
passes: readonly import("..").PublicPassProduct[];
|
|
2076
2076
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
2077
2077
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2078
|
-
buttonVariant: "
|
|
2078
|
+
buttonVariant: import("..").BlockButtonRole;
|
|
2079
2079
|
}>;
|
|
2080
2080
|
}>>;
|
|
2081
2081
|
}>>;
|
|
@@ -5,6 +5,8 @@ export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntryS
|
|
|
5
5
|
export * from './subroutes';
|
|
6
6
|
export * from './primitives/content/components/Button';
|
|
7
7
|
export * from './structure/schema';
|
|
8
|
+
export { BLOCK_BUTTON_ROLES, BLOCK_BUTTON_ROLE_OPTIONS, blockButtonRoleSchema, isBlockButtonRole, type BlockButtonRole, } from './system/constants/buttonRoles';
|
|
9
|
+
export type { BlockContentSource, BlockContentSourceKind, } from './system/manifest/schema';
|
|
8
10
|
export * from '../../theme-core/src/palette/index';
|
|
9
11
|
export * from '../../theme-core/src/palette/generateShades';
|
|
10
12
|
export * from '../../theme-core/src/palette/utils/index';
|
|
@@ -13,7 +15,7 @@ export * from '../../theme-core/src/schema';
|
|
|
13
15
|
export * from '../../theme-core/src/site-styles/index';
|
|
14
16
|
export * from '../../theme-core/src/styles/buttons';
|
|
15
17
|
export * from '../../theme-core/src/styles/buttonsLibrary';
|
|
16
|
-
export { type ButtonBackground, type ButtonBorder, type ButtonGlobalSettings, type ButtonSystem, type ButtonVariant, type CornerStyle, type EffectApplication, type FontWeight, type GradientSharpness, type GradientStyle, type HoverColor, type HoverTransform, type ShadowSize, type TextTransform, buttonBackgroundSchema, buttonBorderSchema, buttonGlobalSettingsSchema, buttonSystemSchema, buttonVariantSchema, cornerStyleSchema, effectApplicationSchema, fontWeightSchema, gradientSharpnessSchema, gradientStyleSchema, hoverColorSchema, hoverTransformSchema, shadowSizeSchema, textTransformSchema, generateButtonCss, generateDefaultButtonSystem, buttonPresets, type ButtonPreset, EFFECT_PRESETS, getEffectPreset, getEffectPresetsByCategory, getAllEffectPresets, type EffectCategory, type EffectPreset, type EffectContext, type StateGroup, generateButtonCoreCss, getDefaultButtonVariants, type ButtonVariantCore, type ButtonCoreSettings, type
|
|
18
|
+
export { type ButtonBackground, type ButtonBorder, type ButtonGlobalSettings, type ButtonSystem, type ButtonVariant, type CornerStyle, type EffectApplication, type FontWeight, type GradientSharpness, type GradientStyle, type HoverColor, type HoverTransform, type ShadowSize, type TextTransform, buttonBackgroundSchema, buttonBorderSchema, buttonGlobalSettingsSchema, buttonSystemSchema, buttonVariantSchema, cornerStyleSchema, effectApplicationSchema, fontWeightSchema, gradientSharpnessSchema, gradientStyleSchema, hoverColorSchema, hoverTransformSchema, shadowSizeSchema, textTransformSchema, generateButtonCss, generateDefaultButtonSystem, buttonPresets, type ButtonPreset, EFFECT_PRESETS, getEffectPreset, getEffectPresetsByCategory, getAllEffectPresets, type EffectCategory, type EffectPreset, type EffectContext, type StateGroup, generateButtonCoreCss, getDefaultButtonVariants, type ButtonVariantCore, type ButtonCoreSettings, type GradientDirection, } from '../../theme-core/src/buttons/index';
|
|
17
19
|
export { type CardBackground, type CardBorder, type CardSpacing, type CardSystem, type CardVariant, type CardVariantRole, type BoxStylesCardVariant, cardBackgroundSchema, cardBorderSchema, cardSpacingSchema, cardSystemSchema, cardVariantSchema, cardVariantRoleSchema, boxStylesCardVariantSchema, normalizeCardVariantRole, normalizeBoxStylesCardVariant, generateCardCss, generateDefaultCardSystem, generateCardCoreCss, getDefaultCardVariants, type CardVariantCore, type CardCoreSettings, type CardBackgroundType, type CardSpacingCore, } from '../../theme-core/src/cards/index';
|
|
18
20
|
export { generateInputCoreCss, getDefaultInputSettings, type InputCoreSettings, } from '../../theme-core/src/inputs/core';
|
|
19
21
|
export * from '../../theme-core/src/tokens/index';
|
|
@@ -34,7 +36,7 @@ export * from '../../theme-core/src/blocks/index';
|
|
|
34
36
|
export { EDITABLE_SURFACE_FORWARDING_PROP, markEditableSurfaceForwarding, type EditableSurfaceForwardingComponent, } from './system/runtime/header/shared';
|
|
35
37
|
export * from './system';
|
|
36
38
|
export { type GeneratedIconAssetId, type GeneratedIconSetId, parseSiteIconStyleGuideVersionId, type SiteIconStyleGuideVersionId, } from './system/icons/ids';
|
|
37
|
-
export { isSemanticIconId, type SemanticIconId
|
|
39
|
+
export { isSemanticIconId, type SemanticIconId } from './system/icons/semantic';
|
|
38
40
|
export { getGeneratedBlockIconStyleState, parseBlockIconValue, type GeneratedBlockIconValue, type GeneratedBlockIconStyleState, } from './system/icons/value';
|
|
39
41
|
export { SUPPORTED_LOADER_ENDPOINTS, isSupportedLoaderEndpoint, type SupportedLoaderEndpoint, } from './system/data';
|
|
40
42
|
export type { AuthoredLinkValue, LinkValue, InternalLinkValue, InternalResolvedLinkValue, InternalRouteOnlyLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, } from './system/types/link';
|
|
@@ -5,6 +5,9 @@ export declare const audioPlayerManifest: import("..").DefinedBlockManifest<impo
|
|
|
5
5
|
readonly title: "Audio Player";
|
|
6
6
|
readonly titleSource: "title";
|
|
7
7
|
readonly category: "media";
|
|
8
|
+
readonly contentSource: {
|
|
9
|
+
readonly kind: "inline";
|
|
10
|
+
};
|
|
8
11
|
readonly description: "Add a branded audio player for a single track.";
|
|
9
12
|
readonly tags: readonly ["audio", "player", "music", "podcast", "media"];
|
|
10
13
|
readonly icon: "AudioLines";
|
|
@@ -5,6 +5,9 @@ export declare const bodyTextManifest: import("..").DefinedBlockManifest<import(
|
|
|
5
5
|
readonly title: "Body Text";
|
|
6
6
|
readonly titleSource: "heading";
|
|
7
7
|
readonly category: "content";
|
|
8
|
+
readonly contentSource: {
|
|
9
|
+
readonly kind: "inline";
|
|
10
|
+
};
|
|
8
11
|
readonly fragments: readonly [{
|
|
9
12
|
readonly fragment: import("..").DefinedFragment<{
|
|
10
13
|
readonly fields: readonly [{
|
|
@@ -8,6 +8,9 @@ export declare const contactNewsletterManifest: import("..").DefinedBlockManifes
|
|
|
8
8
|
readonly titleSource: "contactTitle";
|
|
9
9
|
readonly description: "Two-column newsletter signup and contact form section.";
|
|
10
10
|
readonly category: "interactive";
|
|
11
|
+
readonly contentSource: {
|
|
12
|
+
readonly kind: "inline";
|
|
13
|
+
};
|
|
11
14
|
readonly layout: import("..").NodeDefinition;
|
|
12
15
|
readonly defaultVariant: "default";
|
|
13
16
|
readonly variants: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
2
|
import type { SectionStylesContent } from "../fields/boxStyles";
|
|
3
3
|
import { courseRegistrationBlockRuntime } from "../runtime/nodes/course-registration.interactive";
|
|
4
|
+
import type { BlockButtonRole } from "../constants/buttonRoles";
|
|
4
5
|
export { type PublicCourse, type CourseSession, type CourseVenue, type CourseStatus } from "./courses/shared";
|
|
5
6
|
/**
|
|
6
7
|
* Course Registration Block
|
|
@@ -111,28 +112,7 @@ export declare const courseRegistrationManifest: import("..").DefinedBlockManife
|
|
|
111
112
|
readonly multiline: false;
|
|
112
113
|
readonly defaultValue: "Sign up";
|
|
113
114
|
readonly maxLength: 40;
|
|
114
|
-
},
|
|
115
|
-
readonly id: "buttonVariant";
|
|
116
|
-
readonly type: "select";
|
|
117
|
-
readonly label: "Button style";
|
|
118
|
-
readonly description: "Choose a button style from your theme";
|
|
119
|
-
readonly required: false;
|
|
120
|
-
readonly multiple: false;
|
|
121
|
-
readonly defaultValue: "primary";
|
|
122
|
-
readonly options: [{
|
|
123
|
-
readonly value: "primary";
|
|
124
|
-
readonly label: "Primary";
|
|
125
|
-
}, {
|
|
126
|
-
readonly value: "secondary";
|
|
127
|
-
readonly label: "Secondary";
|
|
128
|
-
}, {
|
|
129
|
-
readonly value: "outline";
|
|
130
|
-
readonly label: "Outline";
|
|
131
|
-
}];
|
|
132
|
-
readonly ui: {
|
|
133
|
-
readonly intent: "style";
|
|
134
|
-
};
|
|
135
|
-
}];
|
|
115
|
+
}, import("../../../../block-form/src/backend/index").FieldDefinition];
|
|
136
116
|
}>;
|
|
137
117
|
export type CourseRegistrationContent = {
|
|
138
118
|
heading?: string | null;
|
|
@@ -145,7 +125,7 @@ export type CourseRegistrationContent = {
|
|
|
145
125
|
waitlistMessage?: string | null;
|
|
146
126
|
membershipMessage?: string | null;
|
|
147
127
|
buttonText?: string | null;
|
|
148
|
-
buttonVariant?:
|
|
128
|
+
buttonVariant?: BlockButtonRole | null;
|
|
149
129
|
_sectionStyles?: SectionStylesContent;
|
|
150
130
|
};
|
|
151
131
|
export declare const courseRegistrationBlockDefinition: SystemBlockDefinition<CourseRegistrationContent, typeof courseRegistrationBlockRuntime>;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
|
|
5
5
|
import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
|
|
6
|
+
import type { BlockButtonRole } from '../../../constants/buttonRoles';
|
|
6
7
|
/**
|
|
7
8
|
* Course status values
|
|
8
9
|
*/
|
|
@@ -94,4 +95,4 @@ export type PublicCourse = {
|
|
|
94
95
|
/**
|
|
95
96
|
* Button variant options for course actions
|
|
96
97
|
*/
|
|
97
|
-
export type ButtonVariant =
|
|
98
|
+
export type ButtonVariant = BlockButtonRole;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
2
|
import type { SectionStylesContent } from "../fields/boxStyles";
|
|
3
3
|
import { type BlockContentShapeInput, type DefinedBlockManifest } from "../defineBlock";
|
|
4
|
+
import type { BlockCtaContent } from "../fields/ctas";
|
|
4
5
|
declare const ctaFullConfig: {
|
|
5
6
|
readonly id: "block.cta-full";
|
|
6
7
|
readonly title: "Full-width CTA";
|
|
7
8
|
readonly category: "marketing";
|
|
9
|
+
readonly contentSource: {
|
|
10
|
+
readonly kind: "inline";
|
|
11
|
+
};
|
|
8
12
|
readonly fragments: readonly [{
|
|
9
13
|
readonly fragment: import("..").DefinedFragment<{
|
|
10
14
|
readonly fields: readonly [{
|
|
@@ -42,10 +46,7 @@ export type CtaFullContent = {
|
|
|
42
46
|
title: string;
|
|
43
47
|
content?: unknown;
|
|
44
48
|
_sectionStyles?: SectionStylesContent;
|
|
45
|
-
ctas?:
|
|
46
|
-
label?: string | null;
|
|
47
|
-
href?: string | null;
|
|
48
|
-
}>;
|
|
49
|
+
ctas?: BlockCtaContent[] | null;
|
|
49
50
|
};
|
|
50
51
|
export declare const ctaFullBlockDefinition: SystemBlockDefinition<CtaFullContent>;
|
|
51
52
|
export {};
|
|
@@ -2,6 +2,7 @@ import type { SystemBlockDefinition } from '../registry';
|
|
|
2
2
|
import type { SectionStylesContent } from '../fields/boxStyles';
|
|
3
3
|
import { type PublicEvent } from './events/shared';
|
|
4
4
|
import { eventRegistrationBlockRuntime } from '../runtime/nodes/event-registration.interactive';
|
|
5
|
+
import type { BlockButtonRole } from '../constants/buttonRoles';
|
|
5
6
|
/**
|
|
6
7
|
* Event Registration Block
|
|
7
8
|
*
|
|
@@ -100,28 +101,7 @@ export declare const eventRegistrationManifest: import("..").DefinedBlockManifes
|
|
|
100
101
|
readonly multiline: false;
|
|
101
102
|
readonly defaultValue: "Complete Registration";
|
|
102
103
|
readonly maxLength: 40;
|
|
103
|
-
},
|
|
104
|
-
readonly id: "buttonVariant";
|
|
105
|
-
readonly type: "select";
|
|
106
|
-
readonly label: "Button style";
|
|
107
|
-
readonly description: "Choose a button style from your theme";
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly multiple: false;
|
|
110
|
-
readonly defaultValue: "primary";
|
|
111
|
-
readonly options: [{
|
|
112
|
-
readonly value: "primary";
|
|
113
|
-
readonly label: "Primary";
|
|
114
|
-
}, {
|
|
115
|
-
readonly value: "secondary";
|
|
116
|
-
readonly label: "Secondary";
|
|
117
|
-
}, {
|
|
118
|
-
readonly value: "outline";
|
|
119
|
-
readonly label: "Outline";
|
|
120
|
-
}];
|
|
121
|
-
readonly ui: {
|
|
122
|
-
readonly intent: "style";
|
|
123
|
-
};
|
|
124
|
-
}];
|
|
104
|
+
}, import("../../../../block-form/src/backend/index").FieldDefinition];
|
|
125
105
|
}>;
|
|
126
106
|
export type EventRegistrationContent = {
|
|
127
107
|
heading?: string | null;
|
|
@@ -132,7 +112,7 @@ export type EventRegistrationContent = {
|
|
|
132
112
|
successMessage?: string | null;
|
|
133
113
|
waitlistMessage?: string | null;
|
|
134
114
|
buttonText?: string | null;
|
|
135
|
-
buttonVariant?:
|
|
115
|
+
buttonVariant?: BlockButtonRole | null;
|
|
136
116
|
_sectionStyles?: SectionStylesContent;
|
|
137
117
|
};
|
|
138
118
|
export type { PublicEvent };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../../registry";
|
|
2
2
|
import { type ContainerStylesContent, type SectionStylesContent } from "../../fields/boxStyles";
|
|
3
3
|
import { eventListingBlockRuntime } from "../../runtime/nodes/events/EventListing.interactive";
|
|
4
|
+
import type { BlockButtonRole } from "../../constants/buttonRoles";
|
|
4
5
|
import type { EventBlockKind, EventCardVariantInput, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from "./shared/types";
|
|
5
6
|
export declare const eventListingManifest: import("../..").DefinedBlockManifest<{
|
|
6
7
|
readonly additionalFields: readonly [{
|
|
@@ -36,7 +37,7 @@ export type EventListingContent = {
|
|
|
36
37
|
seeAllUrl?: string | null;
|
|
37
38
|
loadMoreText?: string | null;
|
|
38
39
|
cardVariant?: EventCardVariantInput | null;
|
|
39
|
-
buttonVariant?:
|
|
40
|
+
buttonVariant?: BlockButtonRole | null;
|
|
40
41
|
buttonText?: string | null;
|
|
41
42
|
showVenue?: boolean | null;
|
|
42
43
|
showMap?: boolean | null;
|