@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Media } from "../../lib/media";
|
|
2
|
-
import type {
|
|
2
|
+
import type { RichTextDoc } from "../manifest/richTextSchema";
|
|
3
3
|
import type { SystemBlockDefinition } from "../registry";
|
|
4
4
|
import { type BlockConfig, type BlockContentShapeInput, type DefinedBlockManifest } from "../defineBlock";
|
|
5
5
|
import { type StandardAspectRatio } from "../fields/aspectRatio";
|
|
@@ -16,7 +16,7 @@ export type FeatureCard = {
|
|
|
16
16
|
aspectRatio?: StandardAspectRatio | null;
|
|
17
17
|
icon?: BlockIconValue | SemanticIconId | null;
|
|
18
18
|
title: string;
|
|
19
|
-
body?:
|
|
19
|
+
body?: RichTextDoc | null;
|
|
20
20
|
ctas?: BlockCtaContent[] | null;
|
|
21
21
|
};
|
|
22
22
|
export type FeatureCardsCardMarker = "icons" | "numbers" | "none";
|
|
@@ -24,7 +24,7 @@ export type FeatureCardsContent = {
|
|
|
24
24
|
variant?: FeatureCardsVariant | null;
|
|
25
25
|
eyebrow?: string | null;
|
|
26
26
|
title?: string | null;
|
|
27
|
-
description?:
|
|
27
|
+
description?: RichTextDoc | null;
|
|
28
28
|
columns?: FeatureCardsColumns | null;
|
|
29
29
|
cardMarker?: FeatureCardsCardMarker | null;
|
|
30
30
|
_iconTreatment?: FeatureCardIconTreatment | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type PublicDownloadMedia } from "../../lib/media";
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
|
+
import type { BlockButtonRole } from "../constants/buttonRoles";
|
|
3
4
|
export declare const fileDownloadManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
4
5
|
readonly id: "block.file-download";
|
|
5
6
|
readonly title: "File Download";
|
|
@@ -56,6 +57,6 @@ export type FileDownloadContent = {
|
|
|
56
57
|
title?: string | null;
|
|
57
58
|
description?: string | null;
|
|
58
59
|
buttonLabel?: string | null;
|
|
59
|
-
buttonVariant?:
|
|
60
|
+
buttonVariant?: BlockButtonRole | null;
|
|
60
61
|
};
|
|
61
62
|
export declare const fileDownloadBlockDefinition: SystemBlockDefinition<FileDownloadContent>;
|
|
@@ -3,6 +3,7 @@ import type { SystemBlockDefinition } from "../registry";
|
|
|
3
3
|
import type { ContainerStylesContent, SectionStylesContent } from "../fields/boxStyles";
|
|
4
4
|
import { formBlockRuntime } from "../runtime/nodes/form.interactive";
|
|
5
5
|
import type { NodeDefinition } from "../node";
|
|
6
|
+
import type { RichTextDoc } from "../manifest/richTextSchema";
|
|
6
7
|
export declare const formManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
7
8
|
readonly id: "block.form";
|
|
8
9
|
readonly title: "Form";
|
|
@@ -84,21 +85,7 @@ export declare const formManifest: import("..").DefinedBlockManifest<import(".."
|
|
|
84
85
|
readonly tags: readonly ["form", "contact", "input", "submit", "fields", "signup", "lead-capture"];
|
|
85
86
|
readonly icon: "FormInput";
|
|
86
87
|
}>>;
|
|
87
|
-
|
|
88
|
-
* Rich text document structure (ProseMirror format)
|
|
89
|
-
*/
|
|
90
|
-
export type RichTextDoc = {
|
|
91
|
-
type: 'doc';
|
|
92
|
-
content?: Array<{
|
|
93
|
-
type: string;
|
|
94
|
-
content?: Array<{
|
|
95
|
-
type: string;
|
|
96
|
-
text?: string;
|
|
97
|
-
[key: string]: unknown;
|
|
98
|
-
}>;
|
|
99
|
-
[key: string]: unknown;
|
|
100
|
-
}>;
|
|
101
|
-
};
|
|
88
|
+
export type { RichTextDoc } from "../manifest/richTextSchema";
|
|
102
89
|
export type FormBlockContent = {
|
|
103
90
|
title?: string | null;
|
|
104
91
|
intro?: RichTextDoc | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Media } from "../../lib/media";
|
|
2
|
-
import type {
|
|
2
|
+
import type { RichTextDoc } from "../manifest/richTextSchema";
|
|
3
3
|
import type { SystemBlockDefinition } from "../registry";
|
|
4
4
|
import type { SemanticSpacing } from "../spacing";
|
|
5
5
|
import { type BlockConfig, type BlockContentShapeInput, type DefinedBlockManifest } from "../defineBlock";
|
|
@@ -13,7 +13,7 @@ export declare const introManifest: DefinedBlockManifest<BlockContentShapeInput<
|
|
|
13
13
|
export type IntroContent = {
|
|
14
14
|
variant?: IntroVariant | null;
|
|
15
15
|
title?: string | null;
|
|
16
|
-
body:
|
|
16
|
+
body: RichTextDoc;
|
|
17
17
|
media?: Media | null;
|
|
18
18
|
imagePosition?: IntroImagePosition | null;
|
|
19
19
|
gap?: SemanticSpacing | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Media } from "../../lib/media";
|
|
2
|
-
import type {
|
|
2
|
+
import type { RichTextDoc } from "../manifest/richTextSchema";
|
|
3
3
|
import type { SystemBlockDefinition } from "../registry";
|
|
4
4
|
import type { SemanticSpacing } from "../spacing";
|
|
5
5
|
import { type ContentFrameIntent } from "../frame/frameStyles";
|
|
@@ -127,14 +127,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
127
127
|
readonly id: string;
|
|
128
128
|
readonly label: string;
|
|
129
129
|
readonly required: boolean;
|
|
130
|
-
readonly type: "
|
|
131
|
-
readonly
|
|
132
|
-
value: string;
|
|
133
|
-
label: string;
|
|
134
|
-
description?: string | undefined;
|
|
135
|
-
icon?: string | undefined;
|
|
136
|
-
}[];
|
|
137
|
-
readonly multiple: boolean;
|
|
130
|
+
readonly type: "media";
|
|
131
|
+
readonly mediaKinds: ("image" | "video" | "audio")[];
|
|
138
132
|
readonly description?: string | undefined;
|
|
139
133
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
140
134
|
readonly defaultValue?: any;
|
|
@@ -233,20 +227,13 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
233
227
|
renderInHeader?: boolean | undefined;
|
|
234
228
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
235
229
|
} | undefined;
|
|
236
|
-
readonly
|
|
237
|
-
kind: "static";
|
|
238
|
-
} | {
|
|
239
|
-
kind: "site";
|
|
240
|
-
optionSource: "venues" | "eventCategories" | "staffMembers";
|
|
241
|
-
} | {
|
|
242
|
-
kind: "sdk";
|
|
243
|
-
} | undefined;
|
|
230
|
+
readonly aspectRatio?: string | undefined;
|
|
244
231
|
} | {
|
|
245
232
|
readonly id: string;
|
|
246
233
|
readonly label: string;
|
|
247
234
|
readonly required: boolean;
|
|
248
|
-
readonly type: "
|
|
249
|
-
readonly
|
|
235
|
+
readonly type: "file";
|
|
236
|
+
readonly fileKinds: ("audio" | "document" | "spreadsheet" | "archive")[];
|
|
250
237
|
readonly description?: string | undefined;
|
|
251
238
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
252
239
|
readonly defaultValue?: any;
|
|
@@ -345,12 +332,18 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
345
332
|
renderInHeader?: boolean | undefined;
|
|
346
333
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
347
334
|
} | undefined;
|
|
348
|
-
readonly maxLength?: number | undefined;
|
|
349
335
|
} | {
|
|
350
336
|
readonly id: string;
|
|
351
337
|
readonly label: string;
|
|
352
338
|
readonly required: boolean;
|
|
353
|
-
readonly type: "
|
|
339
|
+
readonly type: "select";
|
|
340
|
+
readonly options: {
|
|
341
|
+
value: string;
|
|
342
|
+
label: string;
|
|
343
|
+
description?: string | undefined;
|
|
344
|
+
icon?: string | undefined;
|
|
345
|
+
}[];
|
|
346
|
+
readonly multiple: boolean;
|
|
354
347
|
readonly description?: string | undefined;
|
|
355
348
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
356
349
|
readonly defaultValue?: any;
|
|
@@ -449,11 +442,20 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
449
442
|
renderInHeader?: boolean | undefined;
|
|
450
443
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
451
444
|
} | undefined;
|
|
445
|
+
readonly source?: {
|
|
446
|
+
kind: "static";
|
|
447
|
+
} | {
|
|
448
|
+
kind: "site";
|
|
449
|
+
optionSource: "venues" | "eventCategories" | "staffMembers";
|
|
450
|
+
} | {
|
|
451
|
+
kind: "sdk";
|
|
452
|
+
} | undefined;
|
|
452
453
|
} | {
|
|
453
454
|
readonly id: string;
|
|
454
455
|
readonly label: string;
|
|
455
456
|
readonly required: boolean;
|
|
456
|
-
readonly type: "
|
|
457
|
+
readonly type: "text";
|
|
458
|
+
readonly multiline: boolean;
|
|
457
459
|
readonly description?: string | undefined;
|
|
458
460
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
459
461
|
readonly defaultValue?: any;
|
|
@@ -553,13 +555,11 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
553
555
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
554
556
|
} | undefined;
|
|
555
557
|
readonly maxLength?: number | undefined;
|
|
556
|
-
readonly plainTextField?: string | undefined;
|
|
557
558
|
} | {
|
|
558
559
|
readonly id: string;
|
|
559
560
|
readonly label: string;
|
|
560
561
|
readonly required: boolean;
|
|
561
|
-
readonly type: "
|
|
562
|
-
readonly mediaKinds: ("image" | "video" | "audio")[];
|
|
562
|
+
readonly type: "richText";
|
|
563
563
|
readonly description?: string | undefined;
|
|
564
564
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
565
565
|
readonly defaultValue?: any;
|
|
@@ -658,13 +658,11 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
658
658
|
renderInHeader?: boolean | undefined;
|
|
659
659
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
660
660
|
} | undefined;
|
|
661
|
-
readonly aspectRatio?: string | undefined;
|
|
662
661
|
} | {
|
|
663
662
|
readonly id: string;
|
|
664
663
|
readonly label: string;
|
|
665
664
|
readonly required: boolean;
|
|
666
|
-
readonly type: "
|
|
667
|
-
readonly fileKinds: ("audio" | "document" | "spreadsheet" | "archive")[];
|
|
665
|
+
readonly type: "inlineText";
|
|
668
666
|
readonly description?: string | undefined;
|
|
669
667
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
670
668
|
readonly defaultValue?: any;
|
|
@@ -763,6 +761,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
763
761
|
renderInHeader?: boolean | undefined;
|
|
764
762
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
765
763
|
} | undefined;
|
|
764
|
+
readonly maxLength?: number | undefined;
|
|
765
|
+
readonly plainTextField?: string | undefined;
|
|
766
766
|
} | {
|
|
767
767
|
readonly id: string;
|
|
768
768
|
readonly label: string;
|
|
@@ -2027,10 +2027,6 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2027
2027
|
readonly type: "repeater";
|
|
2028
2028
|
readonly required: boolean;
|
|
2029
2029
|
readonly description?: string | undefined;
|
|
2030
|
-
readonly minItems: number;
|
|
2031
|
-
readonly maxItems?: number | undefined;
|
|
2032
|
-
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2033
|
-
readonly defaultValue?: any;
|
|
2034
2030
|
readonly ui?: {
|
|
2035
2031
|
widget?: string | undefined;
|
|
2036
2032
|
preset?: "disclosure" | undefined;
|
|
@@ -2126,6 +2122,10 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2126
2122
|
renderInHeader?: boolean | undefined;
|
|
2127
2123
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
2128
2124
|
} | undefined;
|
|
2125
|
+
readonly minItems: number;
|
|
2126
|
+
readonly maxItems?: number | undefined;
|
|
2127
|
+
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2128
|
+
readonly defaultValue?: any;
|
|
2129
2129
|
readonly itemLabel: string;
|
|
2130
2130
|
readonly itemLabelSource?: string | undefined;
|
|
2131
2131
|
readonly showSummary?: boolean | undefined;
|
|
@@ -2143,8 +2143,6 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2143
2143
|
readonly type: "group";
|
|
2144
2144
|
readonly required: boolean;
|
|
2145
2145
|
readonly description?: string | undefined;
|
|
2146
|
-
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2147
|
-
readonly defaultValue?: any;
|
|
2148
2146
|
readonly ui?: {
|
|
2149
2147
|
widget?: string | undefined;
|
|
2150
2148
|
preset?: "disclosure" | undefined;
|
|
@@ -2240,6 +2238,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2240
2238
|
renderInHeader?: boolean | undefined;
|
|
2241
2239
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
2242
2240
|
} | undefined;
|
|
2241
|
+
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2242
|
+
readonly defaultValue?: any;
|
|
2243
2243
|
readonly schema: {
|
|
2244
2244
|
fields: import("../../../../block-form/src/backend/index").FieldDefinition[];
|
|
2245
2245
|
};
|
|
@@ -2249,8 +2249,6 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2249
2249
|
readonly type: "modal";
|
|
2250
2250
|
readonly required: boolean;
|
|
2251
2251
|
readonly description?: string | undefined;
|
|
2252
|
-
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2253
|
-
readonly defaultValue?: any;
|
|
2254
2252
|
readonly ui?: {
|
|
2255
2253
|
widget?: string | undefined;
|
|
2256
2254
|
preset?: "disclosure" | undefined;
|
|
@@ -2346,6 +2344,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2346
2344
|
renderInHeader?: boolean | undefined;
|
|
2347
2345
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
2348
2346
|
} | undefined;
|
|
2347
|
+
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2348
|
+
readonly defaultValue?: any;
|
|
2349
2349
|
readonly schema: {
|
|
2350
2350
|
fields: import("../../../../block-form/src/backend/index").FieldDefinition[];
|
|
2351
2351
|
};
|
|
@@ -2355,8 +2355,6 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2355
2355
|
readonly type: "tabGroup";
|
|
2356
2356
|
readonly required: boolean;
|
|
2357
2357
|
readonly description?: string | undefined;
|
|
2358
|
-
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2359
|
-
readonly defaultValue?: any;
|
|
2360
2358
|
readonly ui?: {
|
|
2361
2359
|
widget?: string | undefined;
|
|
2362
2360
|
preset?: "disclosure" | undefined;
|
|
@@ -2452,6 +2450,8 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2452
2450
|
renderInHeader?: boolean | undefined;
|
|
2453
2451
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
2454
2452
|
} | undefined;
|
|
2453
|
+
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2454
|
+
readonly defaultValue?: any;
|
|
2455
2455
|
readonly activeTabField?: string | undefined;
|
|
2456
2456
|
readonly tabs: import("..").TabDefinition[];
|
|
2457
2457
|
}, ...({
|
|
@@ -2569,25 +2569,12 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2569
2569
|
id: string;
|
|
2570
2570
|
label: string;
|
|
2571
2571
|
required: boolean;
|
|
2572
|
-
type: "
|
|
2573
|
-
|
|
2574
|
-
value: string;
|
|
2575
|
-
label: string;
|
|
2576
|
-
description?: string | undefined;
|
|
2577
|
-
icon?: string | undefined;
|
|
2578
|
-
}[];
|
|
2579
|
-
multiple: boolean;
|
|
2572
|
+
type: "media";
|
|
2573
|
+
mediaKinds: ("image" | "video" | "audio")[];
|
|
2580
2574
|
description?: string | undefined;
|
|
2581
2575
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2582
2576
|
defaultValue?: any;
|
|
2583
|
-
|
|
2584
|
-
kind: "static";
|
|
2585
|
-
} | {
|
|
2586
|
-
kind: "site";
|
|
2587
|
-
optionSource: "venues" | "eventCategories" | "staffMembers";
|
|
2588
|
-
} | {
|
|
2589
|
-
kind: "sdk";
|
|
2590
|
-
} | undefined;
|
|
2577
|
+
aspectRatio?: string | undefined;
|
|
2591
2578
|
} | {
|
|
2592
2579
|
ui: {
|
|
2593
2580
|
visibleWhen: {
|
|
@@ -2703,12 +2690,11 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2703
2690
|
id: string;
|
|
2704
2691
|
label: string;
|
|
2705
2692
|
required: boolean;
|
|
2706
|
-
type: "
|
|
2707
|
-
|
|
2693
|
+
type: "file";
|
|
2694
|
+
fileKinds: ("audio" | "document" | "spreadsheet" | "archive")[];
|
|
2708
2695
|
description?: string | undefined;
|
|
2709
2696
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2710
2697
|
defaultValue?: any;
|
|
2711
|
-
maxLength?: number | undefined;
|
|
2712
2698
|
} | {
|
|
2713
2699
|
ui: {
|
|
2714
2700
|
visibleWhen: {
|
|
@@ -2824,10 +2810,25 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2824
2810
|
id: string;
|
|
2825
2811
|
label: string;
|
|
2826
2812
|
required: boolean;
|
|
2827
|
-
type: "
|
|
2813
|
+
type: "select";
|
|
2814
|
+
options: {
|
|
2815
|
+
value: string;
|
|
2816
|
+
label: string;
|
|
2817
|
+
description?: string | undefined;
|
|
2818
|
+
icon?: string | undefined;
|
|
2819
|
+
}[];
|
|
2820
|
+
multiple: boolean;
|
|
2828
2821
|
description?: string | undefined;
|
|
2829
2822
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2830
2823
|
defaultValue?: any;
|
|
2824
|
+
source?: {
|
|
2825
|
+
kind: "static";
|
|
2826
|
+
} | {
|
|
2827
|
+
kind: "site";
|
|
2828
|
+
optionSource: "venues" | "eventCategories" | "staffMembers";
|
|
2829
|
+
} | {
|
|
2830
|
+
kind: "sdk";
|
|
2831
|
+
} | undefined;
|
|
2831
2832
|
} | {
|
|
2832
2833
|
ui: {
|
|
2833
2834
|
visibleWhen: {
|
|
@@ -2943,12 +2944,12 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2943
2944
|
id: string;
|
|
2944
2945
|
label: string;
|
|
2945
2946
|
required: boolean;
|
|
2946
|
-
type: "
|
|
2947
|
+
type: "text";
|
|
2948
|
+
multiline: boolean;
|
|
2947
2949
|
description?: string | undefined;
|
|
2948
2950
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2949
2951
|
defaultValue?: any;
|
|
2950
2952
|
maxLength?: number | undefined;
|
|
2951
|
-
plainTextField?: string | undefined;
|
|
2952
2953
|
} | {
|
|
2953
2954
|
ui: {
|
|
2954
2955
|
visibleWhen: {
|
|
@@ -3064,12 +3065,10 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
3064
3065
|
id: string;
|
|
3065
3066
|
label: string;
|
|
3066
3067
|
required: boolean;
|
|
3067
|
-
type: "
|
|
3068
|
-
mediaKinds: ("image" | "video" | "audio")[];
|
|
3068
|
+
type: "richText";
|
|
3069
3069
|
description?: string | undefined;
|
|
3070
3070
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
3071
3071
|
defaultValue?: any;
|
|
3072
|
-
aspectRatio?: string | undefined;
|
|
3073
3072
|
} | {
|
|
3074
3073
|
ui: {
|
|
3075
3074
|
visibleWhen: {
|
|
@@ -3185,11 +3184,12 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
3185
3184
|
id: string;
|
|
3186
3185
|
label: string;
|
|
3187
3186
|
required: boolean;
|
|
3188
|
-
type: "
|
|
3189
|
-
fileKinds: ("audio" | "document" | "spreadsheet" | "archive")[];
|
|
3187
|
+
type: "inlineText";
|
|
3190
3188
|
description?: string | undefined;
|
|
3191
3189
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
3192
3190
|
defaultValue?: any;
|
|
3191
|
+
maxLength?: number | undefined;
|
|
3192
|
+
plainTextField?: string | undefined;
|
|
3193
3193
|
} | {
|
|
3194
3194
|
ui: {
|
|
3195
3195
|
visibleWhen: {
|
|
@@ -5283,7 +5283,7 @@ export type MediaTextContent = {
|
|
|
5283
5283
|
carouselAutoplayDelay?: "3000" | "5000" | "7000" | "10000" | null;
|
|
5284
5284
|
carouselArrowVisibility?: "always" | "hover" | "never" | null;
|
|
5285
5285
|
showDots?: boolean | null;
|
|
5286
|
-
text:
|
|
5286
|
+
text: RichTextDoc;
|
|
5287
5287
|
wrapTextInCard?: boolean | null;
|
|
5288
5288
|
_textCardStyles?: unknown;
|
|
5289
5289
|
_frameStyles?: ContentFrameIntent | null;
|
|
@@ -2,6 +2,8 @@ import type { SystemBlockDefinition } from "../registry";
|
|
|
2
2
|
import type { SectionStylesContent } from "../fields/boxStyles";
|
|
3
3
|
import { newsletterFormBlockRuntime } from "../runtime/nodes/newsletter-form.interactive";
|
|
4
4
|
import type { NewsletterSignupAuthoringDestination, NewsletterSignupFieldPreset } from "./newsletter-signup-destination";
|
|
5
|
+
import type { RichTextDoc } from "../manifest/richTextSchema";
|
|
6
|
+
import type { BlockButtonRole } from "../constants/buttonRoles";
|
|
5
7
|
export declare const newsletterSignupManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
6
8
|
readonly id: "block.newsletter-signup";
|
|
7
9
|
readonly title: "Newsletter Signup";
|
|
@@ -182,30 +184,15 @@ export declare const newsletterSignupManifest: import("..").DefinedBlockManifest
|
|
|
182
184
|
readonly tags: readonly ["newsletter", "signup", "email", "subscribe", "subscription", "mailchimp", "marketing", "lead-capture"];
|
|
183
185
|
readonly icon: "Mail";
|
|
184
186
|
}>>;
|
|
185
|
-
/**
|
|
186
|
-
* Rich text document structure (ProseMirror format)
|
|
187
|
-
*/
|
|
188
|
-
type NewsletterRichTextDoc = {
|
|
189
|
-
type: 'doc';
|
|
190
|
-
content?: Array<{
|
|
191
|
-
type: string;
|
|
192
|
-
content?: Array<{
|
|
193
|
-
type: string;
|
|
194
|
-
text?: string;
|
|
195
|
-
[key: string]: unknown;
|
|
196
|
-
}>;
|
|
197
|
-
[key: string]: unknown;
|
|
198
|
-
}>;
|
|
199
|
-
};
|
|
200
187
|
export type NewsletterSignupPreset = NewsletterSignupFieldPreset;
|
|
201
188
|
export type NewsletterSignupContent = {
|
|
202
189
|
title?: string | null;
|
|
203
|
-
subtitle?:
|
|
190
|
+
subtitle?: RichTextDoc | null;
|
|
204
191
|
listId?: string | null;
|
|
205
192
|
preset: NewsletterSignupPreset;
|
|
206
193
|
includePhone?: boolean | null;
|
|
207
194
|
buttonLabel?: string | null;
|
|
208
|
-
buttonVariant?:
|
|
195
|
+
buttonVariant?: BlockButtonRole | null;
|
|
209
196
|
successMessage?: string | null;
|
|
210
197
|
privacyNote?: string | null;
|
|
211
198
|
tags?: string | null;
|
|
@@ -3,6 +3,7 @@ import { type SectionStylesContent } from "../fields/boxStyles";
|
|
|
3
3
|
import { publicMembershipProductSchema, publicPassProductSchema, publicMembershipProductCollectionSchema, publicPassProductCollectionSchema, type PublicMembershipProductCollection, type PublicMembershipProduct, type PublicPassProductCollection, type PublicPassProduct } from "./shop.shared";
|
|
4
4
|
import { shopBlockRuntime } from "../runtime/nodes/shop.interactive";
|
|
5
5
|
import type { BlockManifest } from "../manifest/schema";
|
|
6
|
+
import type { BlockButtonRole } from "../constants/buttonRoles";
|
|
6
7
|
/**
|
|
7
8
|
* Passes & Memberships Block
|
|
8
9
|
*
|
|
@@ -28,7 +29,7 @@ export type ShopContent = {
|
|
|
28
29
|
showDescriptions?: boolean | null;
|
|
29
30
|
showValidityPeriod?: boolean | null;
|
|
30
31
|
showPricePerCredit?: boolean | null;
|
|
31
|
-
buttonVariant?:
|
|
32
|
+
buttonVariant?: BlockButtonRole | null;
|
|
32
33
|
passesHeading?: string | null;
|
|
33
34
|
membershipsHeading?: string | null;
|
|
34
35
|
buyButtonText?: string | null;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
2
|
import type { LinkValue } from "../types/link";
|
|
3
|
+
import type { BlockButtonRole } from "../constants/buttonRoles";
|
|
3
4
|
export type SingleButtonContent = {
|
|
4
5
|
title?: string | null;
|
|
5
6
|
button?: {
|
|
6
7
|
label?: string | null;
|
|
7
8
|
link?: LinkValue | null;
|
|
8
|
-
variant?:
|
|
9
|
+
variant?: BlockButtonRole | null;
|
|
9
10
|
} | null;
|
|
10
11
|
};
|
|
11
12
|
export declare const singleButtonManifest: import("..").DefinedBlockManifest<{
|
|
@@ -5,9 +5,6 @@ export declare const siteFooterManifest: import("..").DefinedBlockManifest<{
|
|
|
5
5
|
}>;
|
|
6
6
|
export type SiteFooterVariant = 'simple' | 'columns' | 'split';
|
|
7
7
|
export type SiteFooterContent = Readonly<{
|
|
8
|
-
/** Legacy storage-only fields. The V1 runtime does not read these values. */
|
|
9
|
-
bodyText?: unknown;
|
|
10
|
-
bottomText?: unknown;
|
|
11
8
|
showBusinessAddress?: boolean | null;
|
|
12
9
|
footerRuntime?: FooterRuntimeViewModel | null;
|
|
13
10
|
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type PublicButtonRole } from '../../../../theme-core/src/buttons/index';
|
|
3
|
+
/**
|
|
4
|
+
* Semantic button roles available to block authors.
|
|
5
|
+
*
|
|
6
|
+
* These roles are deliberately independent of a site's visual button style:
|
|
7
|
+
* the active theme owns how each role looks.
|
|
8
|
+
*/
|
|
9
|
+
export declare const BLOCK_BUTTON_ROLES: readonly ["primary", "secondary", "outline", "ghost", "accent"];
|
|
10
|
+
export type BlockButtonRole = PublicButtonRole;
|
|
11
|
+
export declare const blockButtonRoleSchema: z.ZodEnum<{
|
|
12
|
+
outline: "outline";
|
|
13
|
+
accent: "accent";
|
|
14
|
+
primary: "primary";
|
|
15
|
+
secondary: "secondary";
|
|
16
|
+
ghost: "ghost";
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* Temporary rollout boundary for persisted content written before issue #1220.
|
|
20
|
+
* Authoring remains strict through `blockButtonRoleSchema`; this parser exists
|
|
21
|
+
* only until the post-deploy role rewrite has been audited in production.
|
|
22
|
+
*/
|
|
23
|
+
export declare function canonicalizePersistedBlockButtonRole(value: string): string;
|
|
24
|
+
export declare const persistedBlockButtonRoleSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
25
|
+
outline: "outline";
|
|
26
|
+
accent: "accent";
|
|
27
|
+
primary: "primary";
|
|
28
|
+
secondary: "secondary";
|
|
29
|
+
ghost: "ghost";
|
|
30
|
+
}>>;
|
|
31
|
+
export declare const BLOCK_BUTTON_ROLE_OPTIONS: ReadonlyArray<{
|
|
32
|
+
readonly value: BlockButtonRole;
|
|
33
|
+
readonly label: string;
|
|
34
|
+
}>;
|
|
35
|
+
export declare function isBlockButtonRole(value: unknown): value is BlockButtonRole;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { FieldDefinition, GroupFieldDefinition } from '../manifest/schema';
|
|
2
|
+
import { type BlockButtonRole } from '../constants/buttonRoles';
|
|
2
3
|
type ButtonSelectOption = {
|
|
3
|
-
readonly value:
|
|
4
|
+
readonly value: BlockButtonRole;
|
|
4
5
|
readonly label: string;
|
|
5
6
|
};
|
|
6
7
|
export type ButtonOptions = {
|
|
7
8
|
variants?: readonly ButtonSelectOption[];
|
|
8
|
-
defaultVariant?:
|
|
9
|
+
defaultVariant?: BlockButtonRole;
|
|
9
10
|
includeSize?: boolean;
|
|
10
11
|
defaultSize?: 'sm' | 'md' | 'lg' | 'xl';
|
|
11
12
|
showGroupLabel?: boolean;
|
|
@@ -13,7 +14,7 @@ export type ButtonOptions = {
|
|
|
13
14
|
groupLabel?: string;
|
|
14
15
|
flattenInRepeater?: boolean;
|
|
15
16
|
};
|
|
16
|
-
type DefaultButtonVariant =
|
|
17
|
+
type DefaultButtonVariant = BlockButtonRole;
|
|
17
18
|
type ButtonSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
18
19
|
type ButtonOptionVariants<O> = O extends {
|
|
19
20
|
variants: readonly (infer Option extends ButtonSelectOption)[];
|
|
@@ -77,28 +78,16 @@ export type ButtonGroupField<O extends ButtonOptions = {}> = GroupFieldDefinitio
|
|
|
77
78
|
readonly fields: ButtonGroupFields<ButtonOptionVariants<O>, ButtonOptionIncludeSize<O>>;
|
|
78
79
|
};
|
|
79
80
|
};
|
|
80
|
-
export declare const DEFAULT_THEME_BUTTON_VARIANTS: readonly
|
|
81
|
-
readonly value:
|
|
82
|
-
readonly label:
|
|
83
|
-
}
|
|
84
|
-
readonly value: "secondary";
|
|
85
|
-
readonly label: "Secondary";
|
|
86
|
-
}, {
|
|
87
|
-
readonly value: "outline";
|
|
88
|
-
readonly label: "Outline";
|
|
89
|
-
}, {
|
|
90
|
-
readonly value: "link";
|
|
91
|
-
readonly label: "Link";
|
|
92
|
-
}];
|
|
81
|
+
export declare const DEFAULT_THEME_BUTTON_VARIANTS: readonly {
|
|
82
|
+
readonly value: BlockButtonRole;
|
|
83
|
+
readonly label: string;
|
|
84
|
+
}[];
|
|
93
85
|
export type ButtonVariantFieldOptions = {
|
|
94
86
|
id?: string;
|
|
95
87
|
label?: string;
|
|
96
88
|
description?: string;
|
|
97
|
-
defaultValue?:
|
|
98
|
-
variants?: ReadonlyArray<
|
|
99
|
-
value: string;
|
|
100
|
-
label: string;
|
|
101
|
-
}>;
|
|
89
|
+
defaultValue?: BlockButtonRole;
|
|
90
|
+
variants?: ReadonlyArray<ButtonSelectOption>;
|
|
102
91
|
};
|
|
103
92
|
export declare function createButtonVariantField(options?: ButtonVariantFieldOptions): FieldDefinition;
|
|
104
93
|
export declare function createButtonGroup<const O extends ButtonOptions = {}>(options?: O): ButtonGroupField<O>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FieldDefinition } from '../manifest/schema';
|
|
2
|
+
import type { BlockButtonRole } from '../constants/buttonRoles';
|
|
2
3
|
import { type ButtonGroupField, type ButtonOptions } from './button';
|
|
3
4
|
type CtasOptions = {
|
|
4
5
|
id?: string;
|
|
@@ -37,7 +38,7 @@ export type BlockCtaContent = {
|
|
|
37
38
|
label?: string | null;
|
|
38
39
|
href?: string | null;
|
|
39
40
|
link?: unknown;
|
|
40
|
-
variant?:
|
|
41
|
+
variant?: BlockButtonRole | null;
|
|
41
42
|
size?: string | null;
|
|
42
43
|
};
|
|
43
44
|
export declare function createCtasRepeater<const O extends CtasOptions = {}>(options?: O): CtasRepeaterField<O>;
|
|
@@ -14,7 +14,6 @@ export * from "./library/testimonialsCarousel";
|
|
|
14
14
|
export * from "./library/formCopy";
|
|
15
15
|
export * from "./library/formEmbed";
|
|
16
16
|
export * from "./library/bookingForm";
|
|
17
|
-
export * from "./library/footerBottomText";
|
|
18
17
|
export * from "./library/headerCta";
|
|
19
18
|
export * from "./library/singleButton";
|
|
20
19
|
export * from "./library/blogFeaturedPost";
|
|
@@ -2,10 +2,6 @@ import { type DefinedFragment } from "../types";
|
|
|
2
2
|
import { type CtasRepeaterField } from "../../fields/ctas";
|
|
3
3
|
type HeroCtaButtonOptions = {
|
|
4
4
|
readonly variants: readonly [
|
|
5
|
-
{
|
|
6
|
-
readonly value: "default";
|
|
7
|
-
readonly label: "Default";
|
|
8
|
-
},
|
|
9
5
|
{
|
|
10
6
|
readonly value: "primary";
|
|
11
7
|
readonly label: "Primary";
|
|
@@ -17,9 +13,17 @@ type HeroCtaButtonOptions = {
|
|
|
17
13
|
{
|
|
18
14
|
readonly value: "outline";
|
|
19
15
|
readonly label: "Outline";
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
readonly value: "ghost";
|
|
19
|
+
readonly label: "Ghost";
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
readonly value: "accent";
|
|
23
|
+
readonly label: "Accent";
|
|
20
24
|
}
|
|
21
25
|
];
|
|
22
|
-
readonly defaultVariant: "
|
|
26
|
+
readonly defaultVariant: "primary";
|
|
23
27
|
readonly includeSize: true;
|
|
24
28
|
readonly defaultSize: "lg";
|
|
25
29
|
};
|