@riverbankcms/sdk 0.109.0 → 0.118.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/dist/{PreviewEditorSidebar-DWqwfy3_.mjs → PreviewEditorSidebar-BBcK1DjD.mjs} +178 -117
- package/dist/{PreviewEditorUI-B7OL4sfR.mjs → PreviewEditorUI-CuBFoYes.mjs} +3 -4
- package/dist/{PreviewQueryProvider-D0y2l8JN.mjs → PreviewQueryProvider-nKUT4TL-.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-D8Gt9Gbe.mjs → SdkPreviewModeRuntime-BWIO_Dsi.mjs} +2789 -34525
- package/dist/{SiteChromeCustomizeContext-DUpalEdL.mjs → SiteChromeCustomizeContext-CciG60M5.mjs} +88526 -57212
- package/dist/_dts/ai/src/contracts/proposals.d.ts +6939 -727
- package/dist/_dts/ai/src/designer/themePatch.d.ts +1 -1
- package/dist/_dts/api/src/bookingAdjustments.d.ts +30 -36
- package/dist/_dts/api/src/bookingRecords.d.ts +6 -74
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +3 -3
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +9 -2
- package/dist/_dts/api/src/courses.d.ts +30 -15
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +4 -4
- package/dist/_dts/api/src/endpoints.d.ts +49 -4
- package/dist/_dts/api/src/event-presentation.d.ts +4 -0
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +2 -2
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +108 -18
- package/dist/_dts/api/src/siteBanner.d.ts +8 -8
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/siteOperations.d.ts +12 -20
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +32 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -6
- 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/RichTextField/richTextFieldDefaults.d.ts +3 -12
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +1 -5
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -10
- 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 +4 -4
- package/dist/_dts/blocks/src/index.d.ts +6 -7
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -1
- 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 +2 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -1
- 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 +5 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +2 -8
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -15
- package/dist/_dts/blocks/src/system/blocks/intro.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +66 -66
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -17
- 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-footer.d.ts +0 -3
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +19 -2
- package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +8 -70
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/schema.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +5 -21
- 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/richText-coerce.d.ts +14 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -3
- 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/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +17 -1
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +1 -1
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +3 -2
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +19 -4
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +3 -15
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +2 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +1 -21
- package/dist/_dts/core/src/editor-state.d.ts +14 -1
- package/dist/_dts/core/src/footer-composition.d.ts +2 -1
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/rich-text.d.ts +16 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +367 -69
- package/dist/_dts/editor/src/index.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +3 -5
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +15 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +3 -7
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/utils.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/index.d.ts +6 -5
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/media-core/src/contentMediaAudit.d.ts +104 -0
- package/dist/_dts/media-core/src/contentMediaAuditFieldAdapter.d.ts +8 -0
- package/dist/_dts/media-core/src/contentMediaSnapshotAudit.d.ts +22 -0
- package/dist/_dts/media-core/src/index.d.ts +3 -1
- 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 +7 -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/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/event.d.ts +18 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +2 -16
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +8 -5
- package/dist/_dts/sdk/src/client/management/events.d.ts +2 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +38 -10
- package/dist/_dts/sdk/src/config/typed-entries.d.ts +7 -7
- package/dist/_dts/sdk/src/config/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/contracts/content.d.ts +5 -15
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -40
- package/dist/_dts/sdk/src/contracts/theme.d.ts +2 -18
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +4 -4
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -2
- package/dist/_dts/sdk/src/rendering/helpers/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -13
- package/dist/_dts/sdk/src/theme/index.d.ts +0 -29
- 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 +160 -24
- package/dist/_dts/theme-core/src/buttons/affordanceIcons.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/core.d.ts +0 -1
- package/dist/_dts/theme-core/src/buttons/effectClassification.d.ts +22 -9
- package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -2
- package/dist/_dts/theme-core/src/buttons/effects/presets/border.d.ts +1 -2
- package/dist/_dts/theme-core/src/buttons/effects/presets/overlay.d.ts +3 -1
- package/dist/_dts/theme-core/src/buttons/effects/presets/shadow.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +8 -18
- package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -5
- package/dist/_dts/theme-core/src/buttons/parseThemeForPersistence.d.ts +36 -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 +1638 -93
- package/dist/_dts/theme-core/src/cards/types.d.ts +13 -13
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +969 -69
- package/dist/_dts/theme-core/src/navigation/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +0 -1
- package/dist/_dts/theme-core/src/schema.d.ts +1100 -116
- 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 +14 -14
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +4 -4
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +7368 -6668
- package/dist/cli/init-docs/content/cli-reference.md +40 -1
- package/dist/cli/init-docs/content/content-management.md +6 -0
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/client/{DiscountCodeDisclosure-DU1ygxU2.mjs → DiscountCodeDisclosure-DIWj-P9v.mjs} +1 -1
- package/dist/client/{EventCombined.client-DB5zagCo.mjs → EventCombined.client-De8YWBSr.mjs} +2 -3
- package/dist/client/{EventListing.client-CTX9JHBL.mjs → EventListing.client-seHTjimY.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BYImhgiB.mjs → LeafletStaticMap-BmQxFcJW.mjs} +1 -1
- package/dist/client/{MagicLinkForm-CRkw_M3l.mjs → MagicLinkForm-OoJAIUIj.mjs} +1 -2
- package/dist/client/{StepIndicator-BnmVBJJh.mjs → StepIndicator-CiZ8kdPk.mjs} +2 -2
- package/dist/client/{accordion-CeGreumd.mjs → accordion-6lnN__XJ.mjs} +1 -1
- package/dist/client/{bookingForm-CSzFNrpN.mjs → bookingForm-5uyqhONU.mjs} +6 -7
- package/dist/client/bookings.mjs +9179 -5865
- package/dist/client/{carousel-B2jDtogf.mjs → carousel-Dtnifil_.mjs} +1 -1
- package/dist/client/{cart-D-jZ-vaY.mjs → cart-5Tc5S7NV.mjs} +3 -3
- package/dist/client/{checkout-Dza-LA7N.mjs → checkout-CYKKN5Hr.mjs} +3 -3
- package/dist/client/client.mjs +3252 -3361
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorStyles-BWpj_h4C.mjs} +118 -1
- package/dist/client/{courseRegistration-TYkNychb.mjs → courseRegistration-CxCBybB4.mjs} +100 -37
- package/dist/client/{eventCalendar-BI_90SsT.mjs → eventCalendar-Xj2jZS9X.mjs} +4 -5
- package/dist/client/{eventCombined-mNrpryE9.mjs → eventCombined-CgcMoOgM.mjs} +2 -2
- package/dist/client/{eventDetails-D4GVlCIY.mjs → eventDetails-CEAH8Edc.mjs} +3 -3
- package/dist/client/{eventListing-YhKN018y.mjs → eventListing-qyPVQ0wP.mjs} +2 -2
- package/dist/client/{eventRegistration-CdHGtilr.mjs → eventRegistration-DDu79CtL.mjs} +6 -7
- package/dist/client/{form-AcAL45rA.mjs → form-Bc7JKI7I.mjs} +1 -2
- package/dist/client/{headerSection-uEC52ueD.mjs → headerSection-vTku_LEl.mjs} +2 -3
- package/dist/client/hooks.mjs +1774 -2273
- package/dist/client/{locationMap-_wJDSUYe.mjs → locationMap-Bg7X4Jna.mjs} +8 -5
- package/dist/client/{media-BK0O3b-U.mjs → media-CNE1Z-wb.mjs} +1 -2
- package/dist/client/{newsletterForm-DrArsb2B.mjs → newsletterForm-lpylVdp5.mjs} +1 -2
- package/dist/client/{pricing-BSYVghwo.mjs → pricing-DE8fjJiT.mjs} +1 -1
- package/dist/client/{productDetail-Dyk90sMs.mjs → productDetail-D7Bo2RMH.mjs} +3 -3
- package/dist/client/{productList-BCKThwAI.mjs → productList-VjnZqiqN.mjs} +3 -3
- package/dist/client/{propsDecoder-CkXxkdSR.mjs → propsDecoder-DreFXjNP.mjs} +4256 -443
- package/dist/client/rendering/client.mjs +21776 -21970
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +3092 -3322
- package/dist/client/{shop-DeltVH10.mjs → shop-IRsHHbf7.mjs} +5 -6
- package/dist/client/{shop-commerce-BD9Jsm2Z.mjs → shop-commerce-gnI8PieZ.mjs} +27 -11
- package/dist/client/{shop-commerce-store-CmXD6FDS.mjs → shop-commerce-store-BTbrhObn.mjs} +1 -1
- package/dist/client/{shopShared-B8v-lH_F.mjs → shopShared-D6KS2_qk.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DbWJN8ld.mjs → useDiscountCodeUi-DCccGCxV.mjs} +1 -1
- package/dist/client/{useEventFilters-EJIMUnqT.mjs → useEventFilters-eGs3rPZQ.mjs} +24 -126
- package/dist/client/{usePolling-Cmh14fc7.mjs → usePolling-CvSU2sur.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +94 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +94 -6
- package/dist/{previewAuthStore-CTO7CRPk.mjs → previewAuthStore-DN7vcRsv.mjs} +94 -6
- package/dist/{sdk-runtime-Dou0GAav.mjs → sdk-runtime-vW8QbyPN.mjs} +2 -2
- package/dist/{separator-CI5wZNXT.mjs → separator-DJ4bkeY3.mjs} +1 -1
- package/dist/server/components.mjs +5194 -5568
- package/dist/server/config-template-validation.mjs +4 -23
- package/dist/server/config-validation.mjs +1774 -2273
- package/dist/server/config.mjs +2043 -2508
- package/dist/server/data.mjs +1774 -2273
- package/dist/server/index.mjs +95 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +5337 -5632
- package/dist/server/page-converter.mjs +1833 -2307
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6713 -4874
- package/dist/server/rendering.mjs +5203 -5586
- package/dist/server/routing.mjs +2199 -2698
- package/dist/server/server.mjs +1885 -2355
- package/dist/server/theme-bridge.mjs +1986 -2222
- package/dist/server/theme.mjs +2367 -1581
- package/dist/server/webhooks.mjs +54 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +0 -40
- package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -19
- package/dist/_dts/media-core/src/legacyMediaValue.d.ts +0 -11
- 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 -285
- package/dist/_dts/theme-core/src/styles/buttons.d.ts +0 -27
- package/dist/_dts/theme-core/src/styles/buttonsLibrary.d.ts +0 -2
- package/dist/_dts/theme-core/src/styles/glow.d.ts +0 -3
- package/dist/client/buttons-DoFV7KDL.mjs +0 -2115
- package/dist/client/colorStyles-CrgzoXsm.mjs +0 -99
- package/dist/client/foregroundContract-xICPq59x.mjs +0 -31
|
@@ -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,7 +20,7 @@ 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;
|
|
@@ -41,8 +41,8 @@ export type SiteStyleSelectionChange = Readonly<{
|
|
|
41
41
|
kind: 'set-site-style';
|
|
42
42
|
siteStyleId: SiteStyleId;
|
|
43
43
|
}> | Readonly<{
|
|
44
|
-
kind: 'set-button-
|
|
45
|
-
|
|
44
|
+
kind: 'set-button-style';
|
|
45
|
+
buttonStyleSelection: ButtonStyleSelection | null;
|
|
46
46
|
}> | Readonly<{
|
|
47
47
|
kind: 'set-palette';
|
|
48
48
|
command: PaletteCommand;
|
|
@@ -72,7 +72,7 @@ export type ApplySiteStyleSelectionResponse = Readonly<{
|
|
|
72
72
|
savedAt: string;
|
|
73
73
|
theme: Theme;
|
|
74
74
|
siteStyleId: SiteStyleId;
|
|
75
|
-
|
|
75
|
+
buttonStyleSelection: ButtonStyleSelection;
|
|
76
76
|
activePaletteSelection: PaletteSelection;
|
|
77
77
|
/** Present only when the active selection is a site palette. */
|
|
78
78
|
activeSitePaletteVersion: number | null;
|
|
@@ -261,7 +261,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
261
261
|
* This response echoes the row's stored state so the caller can refresh
|
|
262
262
|
* local state without a follow-up read.
|
|
263
263
|
*/
|
|
264
|
-
|
|
264
|
+
buttonStyleSelection: ButtonStyleSelection | null;
|
|
265
265
|
activePaletteSelection: PaletteSelection;
|
|
266
266
|
activeSitePaletteVersion: number | null;
|
|
267
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;
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import type { RichTextFieldConfig } from '../../fields/types';
|
|
2
|
+
import { type RichTextDoc } from '../../../../blocks/src/system/manifest/richTextSchema';
|
|
2
3
|
/**
|
|
3
4
|
* Empty TipTap document structure
|
|
4
5
|
*/
|
|
5
|
-
export declare const EMPTY_RICH_TEXT_DOC:
|
|
6
|
-
type: string;
|
|
7
|
-
content: {
|
|
8
|
-
type: string;
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
6
|
+
export declare const EMPTY_RICH_TEXT_DOC: RichTextDoc;
|
|
11
7
|
/**
|
|
12
8
|
* Get default value for rich text field
|
|
13
9
|
* Returns empty TipTap document structure
|
|
14
10
|
*/
|
|
15
|
-
export declare function getRichTextFieldDefaultValue(_config: RichTextFieldConfig):
|
|
16
|
-
type: string;
|
|
17
|
-
content: {
|
|
18
|
-
type: string;
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
11
|
+
export declare function getRichTextFieldDefaultValue(_config: RichTextFieldConfig): RichTextDoc;
|
|
@@ -9,8 +9,4 @@ import type { RichTextFieldConfig } from '../../fields/types';
|
|
|
9
9
|
* @param config - Rich text field configuration
|
|
10
10
|
* @returns Zod schema for rich text validation
|
|
11
11
|
*/
|
|
12
|
-
export declare function buildRichTextFieldSchema(config: RichTextFieldConfig): z.ZodUnion<readonly [z.ZodType<import("../../../../
|
|
13
|
-
doc: z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>;
|
|
14
|
-
}, z.core.$strip>]> | z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>, z.ZodObject<{
|
|
15
|
-
doc: z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>;
|
|
16
|
-
}, z.core.$strip>]>, z.ZodNull]>>;
|
|
12
|
+
export declare function buildRichTextFieldSchema(config: RichTextFieldConfig): z.ZodType<import("../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../core/src/index").RichTextDoc, unknown>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodType<import("../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../core/src/index").RichTextDoc, unknown>>, z.ZodNull]>>;
|
|
@@ -92,10 +92,7 @@ export declare function textToInlineText(value: unknown): unknown;
|
|
|
92
92
|
/**
|
|
93
93
|
* Extracts the first paragraph text from a TipTap/ProseMirror document.
|
|
94
94
|
*
|
|
95
|
-
* Accepts
|
|
96
|
-
* or the legacy envelope (`{ doc: { type: 'doc', content: [...] } }`). New
|
|
97
|
-
* producers must emit the unwrapped form; this tolerance only exists to read
|
|
98
|
-
* data that pre-dates the unwrap migration.
|
|
95
|
+
* Accepts the canonical unwrapped form (`{ type: 'doc', content: [...] }`).
|
|
99
96
|
*/
|
|
100
97
|
export declare function extractFirstParagraph(value: unknown): string | null;
|
|
101
98
|
/**
|
|
@@ -117,9 +114,3 @@ export declare function isBindingDescriptorLike(value: unknown): value is Bindin
|
|
|
117
114
|
* that objects have valid binding source values.
|
|
118
115
|
*/
|
|
119
116
|
export declare function normalizeBindingInput(value: BindingInput): BindingDescriptor | null;
|
|
120
|
-
/**
|
|
121
|
-
* Normalizes binding output by unwrapping doc wrappers.
|
|
122
|
-
* Rich text fields are sometimes wrapped as { doc: { type: 'doc', content: [...] } }
|
|
123
|
-
* This unwraps them to just the doc content.
|
|
124
|
-
*/
|
|
125
|
-
export declare function normalizeBindingOutput<T>(value: T): T;
|
|
@@ -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';
|
|
@@ -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
|
}>>;
|
|
@@ -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
|
}>>;
|
|
@@ -3,17 +3,16 @@ export { createCustomBlockRegistry, mergeBlockDescriptorsWithRegistry, planCusto
|
|
|
3
3
|
export type { CustomBlockConflictReason, CustomBlockManifestSource, CustomBlockRegistry, CustomBlockRegistryConflict, CustomBlockRegistryEntry, CustomBlockRegistryResolutionPlan, CustomBlockSourcePolicy, ResolvedCustomBlockManifest, SdkConfigForBlockPicker, } from './customBlockRegistry';
|
|
4
4
|
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, PageRuntimeBoundary, SdkConfigForRenderer, } from './PageRenderer';
|
|
5
5
|
export * from './subroutes';
|
|
6
|
-
export * from './primitives/content/components/Button';
|
|
7
6
|
export * from './structure/schema';
|
|
7
|
+
export { BLOCK_BUTTON_ROLES, BLOCK_BUTTON_ROLE_OPTIONS, blockButtonRoleSchema, isBlockButtonRole, type BlockButtonRole, } from './system/constants/buttonRoles';
|
|
8
|
+
export type { BlockContentSource, BlockContentSourceKind, } from './system/manifest/schema';
|
|
8
9
|
export * from '../../theme-core/src/palette/index';
|
|
9
10
|
export * from '../../theme-core/src/palette/generateShades';
|
|
10
11
|
export * from '../../theme-core/src/palette/utils/index';
|
|
11
12
|
export * from '../../theme-core/src/recommend/generateThemes';
|
|
12
13
|
export * from '../../theme-core/src/schema';
|
|
13
14
|
export * from '../../theme-core/src/site-styles/index';
|
|
14
|
-
export
|
|
15
|
-
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 GradientDirection, } from '../../theme-core/src/buttons/index';
|
|
15
|
+
export { type ButtonBackground, type ButtonBorder, type ButtonGlobalSettings, type ButtonSystem, type ButtonVariant, type CornerStyle, type ButtonEffectApplication, type FontWeight, type GradientSharpness, type GradientStyle, type HoverColor, type HoverTransform, type ShadowSize, type TextTransform, buttonBackgroundSchema, buttonBorderSchema, buttonGlobalSettingsSchema, buttonSystemSchema, buttonVariantSchema, cornerStyleSchema, buttonEffectApplicationSchema, fontWeightSchema, gradientSharpnessSchema, gradientStyleSchema, hoverColorSchema, hoverTransformSchema, shadowSizeSchema, textTransformSchema, generateButtonCss, generateDefaultButtonSystem, parseThemeForPersistence, buttonPresets, type ButtonPreset, type ValidatedThemeForPersistence, type GradientDirection, } from '../../theme-core/src/buttons/index';
|
|
17
16
|
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
17
|
export { generateInputCoreCss, getDefaultInputSettings, type InputCoreSettings, } from '../../theme-core/src/inputs/core';
|
|
19
18
|
export * from '../../theme-core/src/tokens/index';
|
|
@@ -34,7 +33,7 @@ export * from '../../theme-core/src/blocks/index';
|
|
|
34
33
|
export { EDITABLE_SURFACE_FORWARDING_PROP, markEditableSurfaceForwarding, type EditableSurfaceForwardingComponent, } from './system/runtime/header/shared';
|
|
35
34
|
export * from './system';
|
|
36
35
|
export { type GeneratedIconAssetId, type GeneratedIconSetId, parseSiteIconStyleGuideVersionId, type SiteIconStyleGuideVersionId, } from './system/icons/ids';
|
|
37
|
-
export { isSemanticIconId, type SemanticIconId
|
|
36
|
+
export { isSemanticIconId, type SemanticIconId } from './system/icons/semantic';
|
|
38
37
|
export { getGeneratedBlockIconStyleState, parseBlockIconValue, type GeneratedBlockIconValue, type GeneratedBlockIconStyleState, } from './system/icons/value';
|
|
39
38
|
export { SUPPORTED_LOADER_ENDPOINTS, isSupportedLoaderEndpoint, type SupportedLoaderEndpoint, } from './system/data';
|
|
40
39
|
export type { AuthoredLinkValue, LinkValue, InternalLinkValue, InternalResolvedLinkValue, InternalRouteOnlyLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, } from './system/types/link';
|
|
@@ -46,8 +45,8 @@ export type { BodyTextContent } from './system/blocks/body-text';
|
|
|
46
45
|
export { createRichTextDocFromMarkdown, parseRichTextInlineMarkdown, parseRichTextParagraphInlineMarkdown, } from './system/manifest/richTextSchema';
|
|
47
46
|
export { applyInlineTextMarkToRange, coerceInlineTextWithFallback, inlineTextEqual, inlineTextAccentTones, inlineTextHighlightTones, inlineTextMarksEqual, inlineTextSchema, inlineTextToPlainText, isInlineTextEmpty, normalizeInlineText, normalizeInlineTextMarks, parseInlineTextFromUnknown, plainTextToInlineText, removeInlineTextMarkFromRange, replaceInlineTextRange, truncateInlineText, type InlineText, type InlineTextAccentTone, type InlineTextHighlightTone, type InlineTextMark, type InlineTextParseError, type InlineTextParseResult, type InlineTextRun, } from './system/inlineText';
|
|
48
47
|
export { renderInlineText } from './system/runtime/nodes/renderInlineText';
|
|
49
|
-
export type { RichTextHardBreakNode, RichTextInlineNode, RichTextTextNode, TipTapNode, } from './system/manifest/richTextSchema';
|
|
50
|
-
export { createManifestValidator } from './system/manifest/validation';
|
|
48
|
+
export type { RichTextDoc, RichTextHardBreakNode, RichTextInlineNode, RichTextTextNode, TipTapNode, } from './system/manifest/richTextSchema';
|
|
49
|
+
export { createManifestValidator, createManifestWriteValidator, } from './system/manifest/validation';
|
|
51
50
|
export { singleButtonManifest } from './system/blocks/single-button';
|
|
52
51
|
export { Text, RichText } from './primitives/content/primitives';
|
|
53
52
|
export type { PrimitiveAPI, RichTextPrimitiveProps, RichTextVariant, TextProps, } from './primitives/content/primitives';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { PrimitiveProps } from "../types";
|
|
3
|
-
import type {
|
|
3
|
+
import type { RichTextDoc } from "../../system/manifest/richTextSchema";
|
|
4
4
|
import type { PreviewLinkedEntryFieldBinding } from "../../system/data";
|
|
5
5
|
import TextView from "./components/Text";
|
|
6
6
|
import RichTextView from "./components/RichText";
|
|
@@ -17,7 +17,7 @@ export type RichTextPrimitiveProps = {
|
|
|
17
17
|
className?: string;
|
|
18
18
|
path?: string;
|
|
19
19
|
linkedEntryField?: PreviewLinkedEntryFieldBinding;
|
|
20
|
-
doc?:
|
|
20
|
+
doc?: RichTextDoc | null;
|
|
21
21
|
variant?: RichTextVariant;
|
|
22
22
|
placeholder?: string;
|
|
23
23
|
ariaLabel?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RichTextDoc } from "../manifest/richTextSchema";
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
3
|
export declare const bodyTextManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
4
4
|
readonly id: "block.body-text";
|
|
@@ -76,7 +76,7 @@ export type BodyTextAlignment = "left" | "center";
|
|
|
76
76
|
export type BodyTextContent = {
|
|
77
77
|
variant?: "prose" | "intro" | "narrow" | null;
|
|
78
78
|
heading?: string | null;
|
|
79
|
-
body:
|
|
79
|
+
body: RichTextDoc;
|
|
80
80
|
alignment?: BodyTextAlignment | null;
|
|
81
81
|
};
|
|
82
82
|
export declare const bodyTextBlockDefinition: SystemBlockDefinition<BodyTextContent>;
|
|
@@ -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
|
|
@@ -124,7 +125,7 @@ export type CourseRegistrationContent = {
|
|
|
124
125
|
waitlistMessage?: string | null;
|
|
125
126
|
membershipMessage?: string | null;
|
|
126
127
|
buttonText?: string | null;
|
|
127
|
-
buttonVariant?:
|
|
128
|
+
buttonVariant?: BlockButtonRole | null;
|
|
128
129
|
_sectionStyles?: SectionStylesContent;
|
|
129
130
|
};
|
|
130
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,6 +1,7 @@
|
|
|
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";
|
|
@@ -45,10 +46,7 @@ export type CtaFullContent = {
|
|
|
45
46
|
title: string;
|
|
46
47
|
content?: unknown;
|
|
47
48
|
_sectionStyles?: SectionStylesContent;
|
|
48
|
-
ctas?:
|
|
49
|
-
label?: string | null;
|
|
50
|
-
href?: string | null;
|
|
51
|
-
}>;
|
|
49
|
+
ctas?: BlockCtaContent[] | null;
|
|
52
50
|
};
|
|
53
51
|
export declare const ctaFullBlockDefinition: SystemBlockDefinition<CtaFullContent>;
|
|
54
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
|
*
|
|
@@ -111,7 +112,7 @@ export type EventRegistrationContent = {
|
|
|
111
112
|
successMessage?: string | null;
|
|
112
113
|
waitlistMessage?: string | null;
|
|
113
114
|
buttonText?: string | null;
|
|
114
|
-
buttonVariant?:
|
|
115
|
+
buttonVariant?: BlockButtonRole | null;
|
|
115
116
|
_sectionStyles?: SectionStylesContent;
|
|
116
117
|
};
|
|
117
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;
|
|
@@ -4,6 +4,7 @@ import type { NodeDefinition } from "../../node";
|
|
|
4
4
|
import { type SectionStylesContent } from "../../fields/boxStyles";
|
|
5
5
|
import { type BlockConfig, type BlockContentShapeInput, type DefinedBlockManifest } from "../../defineBlock";
|
|
6
6
|
import type { EventCardVariantInput } from "./shared/types";
|
|
7
|
+
import type { BlockButtonRole } from "../../constants/buttonRoles";
|
|
7
8
|
/**
|
|
8
9
|
* Event Spotlight Block
|
|
9
10
|
*
|
|
@@ -34,7 +35,7 @@ export type EventSpotlightContent = {
|
|
|
34
35
|
layout?: "grid" | "stack" | null;
|
|
35
36
|
columns?: "2" | "3" | null;
|
|
36
37
|
cardVariant?: EventCardVariantInput | null;
|
|
37
|
-
buttonVariant?:
|
|
38
|
+
buttonVariant?: BlockButtonRole | null;
|
|
38
39
|
buttonText?: string | null;
|
|
39
40
|
showVenue?: boolean | null;
|
|
40
41
|
showMap?: boolean | null;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from '../../registry';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RichTextDoc } from '../../manifest/richTextSchema';
|
|
3
3
|
import type { LinkValue } from '../../types/link';
|
|
4
4
|
import { type BlockConfig, type BlockContentShapeInput, type DefinedBlockManifest } from '../../defineBlock';
|
|
5
5
|
import { type SectionStylesContent } from '../../fields/boxStyles';
|
|
6
|
+
import type { BlockButtonRole } from '../../constants/buttonRoles';
|
|
6
7
|
export { projectRecurringSchedule, recurringScheduleProjectionSchema, } from './recurring-schedule-projection';
|
|
7
8
|
export type { RecurringScheduleBooking, RecurringScheduleCadence, RecurringScheduleDiagnostic, RecurringScheduleItem, RecurringScheduleProjection, } from './recurring-schedule-projection';
|
|
8
9
|
export declare const recurringScheduleManifest: DefinedBlockManifest<BlockContentShapeInput<BlockConfig>>;
|
|
9
10
|
export type RecurringScheduleContent = Readonly<{
|
|
10
11
|
eyebrow?: string | null;
|
|
11
12
|
heading?: string | null;
|
|
12
|
-
description?:
|
|
13
|
+
description?: RichTextDoc | null;
|
|
13
14
|
showVenue?: boolean | null;
|
|
14
|
-
buttonVariant?:
|
|
15
|
-
seeAllButtonVariant?:
|
|
15
|
+
buttonVariant?: BlockButtonRole | null;
|
|
16
|
+
seeAllButtonVariant?: BlockButtonRole | null;
|
|
16
17
|
buttonText?: string | null;
|
|
17
18
|
seeAllUrl?: LinkValue | null;
|
|
18
19
|
seeAllLabel?: string | null;
|
|
@@ -410,10 +410,7 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
410
410
|
title: z.ZodString;
|
|
411
411
|
description: z.ZodNullable<z.ZodString>;
|
|
412
412
|
content: z.ZodOptional<z.ZodObject<{
|
|
413
|
-
body: z.ZodOptional<z.ZodNullable<z.
|
|
414
|
-
type: z.ZodLiteral<"doc">;
|
|
415
|
-
content: z.ZodArray<z.ZodType<import("../../../..").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../..").TipTapNode, unknown>>>;
|
|
416
|
-
}, z.core.$strip>>>;
|
|
413
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
417
414
|
}, z.core.$strip>>;
|
|
418
415
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
419
416
|
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1085,10 +1082,7 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1085
1082
|
title: z.ZodString;
|
|
1086
1083
|
description: z.ZodNullable<z.ZodString>;
|
|
1087
1084
|
content: z.ZodOptional<z.ZodObject<{
|
|
1088
|
-
body: z.ZodOptional<z.ZodNullable<z.
|
|
1089
|
-
type: z.ZodLiteral<"doc">;
|
|
1090
|
-
content: z.ZodArray<z.ZodType<import("../../../..").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../..").TipTapNode, unknown>>>;
|
|
1091
|
-
}, z.core.$strip>>>;
|
|
1085
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
1092
1086
|
}, z.core.$strip>>;
|
|
1093
1087
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1094
1088
|
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10,6 +10,7 @@ import type { CoursePricing } from '../../courses/shared/types';
|
|
|
10
10
|
import type { eventCalendarDefaultViewValues, eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
11
11
|
import type { EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
|
|
12
12
|
import type { CardVariantRole, LegacyCardVariantRoleAlias } from '../../../../../../theme-core/src/cards/index';
|
|
13
|
+
import type { BlockButtonRole } from '../../../constants/buttonRoles';
|
|
13
14
|
/**
|
|
14
15
|
* Geographic coordinates for venue location
|
|
15
16
|
*/
|
|
@@ -185,7 +186,7 @@ export type CardOrientation = "vertical" | "horizontal";
|
|
|
185
186
|
/**
|
|
186
187
|
* Button variant options for event actions
|
|
187
188
|
*/
|
|
188
|
-
export type ButtonVariant =
|
|
189
|
+
export type ButtonVariant = BlockButtonRole;
|
|
189
190
|
/**
|
|
190
191
|
* Layout options for event lists
|
|
191
192
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RichTextDoc } from '../manifest/richTextSchema';
|
|
2
2
|
import { type Brand, type Result } from '../../../../core/src/index';
|
|
3
3
|
import type { SemanticIconId } from '../icons/semantic';
|
|
4
4
|
import { type BlockIconValue } from '../icons/value';
|
|
@@ -34,7 +34,7 @@ export declare function parseFeatureCardGeneratedIconSizePx(value: unknown): Res
|
|
|
34
34
|
export declare function resolveFeatureCardGeneratedIconSizePx(value: unknown): FeatureCardGeneratedIconSizePx;
|
|
35
35
|
export type FeatureCardIconContent = {
|
|
36
36
|
title?: string | null;
|
|
37
|
-
body?:
|
|
37
|
+
body?: RichTextDoc | null;
|
|
38
38
|
icon?: BlockIconValue | SemanticIconId | null;
|
|
39
39
|
};
|
|
40
40
|
export type FeatureCardIconInputContent = Omit<FeatureCardIconContent, 'icon'> & {
|