@riverbankcms/sdk 0.78.2 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/dist/PreviewEditorSidebar-QZG37QIF.mjs +2655 -0
- package/dist/{PreviewEditorUI-CS5P4N3P.mjs → PreviewEditorUI-AXIKSMZA.mjs} +27 -4
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +56 -0
- package/dist/_dts/api/src/endpoints.d.ts +79 -0
- package/dist/_dts/api/src/index.d.ts +6 -4
- package/dist/_dts/api/src/media.d.ts +8 -1
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +8 -8
- package/dist/_dts/api/src/navigation/identity.d.ts +59 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -0
- package/dist/_dts/api/src/siteIcons.d.ts +128 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +16 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +17 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/webhooks.d.ts +239 -0
- package/dist/_dts/block-form/src/client/index.d.ts +2 -0
- package/dist/_dts/block-form/src/index.d.ts +2 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +2 -1
- package/dist/_dts/blocks/src/client/header.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +12 -12
- package/dist/_dts/blocks/src/index.d.ts +5 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +294 -289
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +57 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +22 -22
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +13 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +179 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +4 -2
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +10 -0
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -1
- package/dist/_dts/blocks/src/system/icons/ids.d.ts +13 -0
- package/dist/_dts/blocks/src/system/icons/index.d.ts +6 -0
- package/dist/_dts/blocks/src/system/icons/presets.d.ts +4 -0
- package/dist/_dts/blocks/src/system/icons/registry.d.ts +18 -0
- package/dist/_dts/blocks/src/system/icons/semantic.d.ts +239 -0
- package/dist/_dts/blocks/src/system/icons/value.d.ts +94 -0
- package/dist/_dts/blocks/src/system/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +4 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -0
- package/dist/_dts/blocks/src/system/node/fragments/headingDecoration.d.ts +1 -4
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -7
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/feature-card-icon.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +9 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +14 -1
- package/dist/_dts/content-model/src/contentManifest.d.ts +3 -1
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +200 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +8 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +8 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +8 -2
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +17 -0
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +42 -0
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +7 -1
- package/dist/_dts/editor-blocks/src/block-editor/featureCardIconActions.d.ts +82 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDomain.d.ts +8 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -2
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +2 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +17 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +24 -0
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +34 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeEditorDraftPatch.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/storeTypes.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +44 -0
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +11 -0
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +9 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +58 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +24 -4
- package/dist/_dts/sdk/src/next/index.d.ts +1 -1
- package/dist/_dts/sdk/src/next/revalidate.d.ts +26 -5
- package/dist/_dts/sdk/src/next/static-params.d.ts +28 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -1
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/verify.d.ts +6 -102
- package/dist/_dts/site-commands/src/commands.d.ts +3 -0
- package/dist/_dts/theme-core/src/accordions/siteStyleDefaults.d.ts +220 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +45 -2
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +8 -0
- package/dist/_dts/theme-core/src/blocks/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/vars/testimonials.d.ts +4 -1
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/core.d.ts +20 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +6 -3
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +105 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +177 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +159 -21
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +16 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +451 -57
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +86 -17
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +135 -3
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +5 -5
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +8 -2
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +286 -6
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +193 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +6 -12
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -7
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/testimonialQuotePresets.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +7 -29
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -0
- package/dist/_dts/ui/src/combobox.d.ts +1 -0
- package/dist/{PreviewEditorSidebar-4DXLYX2V.mjs → chunk-5NZGBSJF.mjs} +2215 -2566
- package/dist/{chunk-RGTOD4AJ.mjs → chunk-7PCYG6YV.mjs} +621 -108
- package/dist/{chunk-CR5HKAGU.mjs → chunk-BBLZSQEY.mjs} +79 -0
- package/dist/{chunk-MCRQMPET.mjs → chunk-GYXKAUFV.mjs} +4500 -912
- package/dist/{chunk-6HYXHRAI.mjs → chunk-HTB4BMKD.mjs} +267 -49
- package/dist/{chunk-OKMBEAXY.mjs → chunk-MPBNEVPB.mjs} +1 -1
- package/dist/cli/index.mjs +3255 -702
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +2 -0
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +150 -0
- package/dist/client/{accordion-PLYNJIIM.mjs → accordion-QFZMNB7O.mjs} +1 -1
- package/dist/client/{bookingForm-BXAP6AO7.mjs → bookingForm-NCIXFWIG.mjs} +3 -3
- package/dist/client/bookings.mjs +1246 -323
- package/dist/client/{carousel-TRBXDHGF.mjs → carousel-EO4BJMWD.mjs} +2 -2
- package/dist/client/{cart-Z7H3HJRS.mjs → cart-FTYCLYUW.mjs} +5 -5
- package/dist/client/{checkout-WAFCUBIX.mjs → checkout-NFGLVCOX.mjs} +5 -5
- package/dist/client/{chunk-CWGTG37I.mjs → chunk-4W66ALYT.mjs} +1 -1
- package/dist/client/{chunk-JRDUHZCT.mjs → chunk-6GVVWSPU.mjs} +4 -4
- package/dist/client/{chunk-75OUS5MT.mjs → chunk-IWFZSQNZ.mjs} +1 -1
- package/dist/client/{chunk-JGXPTEI2.mjs → chunk-PUOELU4O.mjs} +95 -8
- package/dist/client/{chunk-FUXW6VW2.mjs → chunk-PYRBIURC.mjs} +4 -4
- package/dist/client/{chunk-ZI3LLBPZ.mjs → chunk-T6UIP6UZ.mjs} +1 -1
- package/dist/client/{chunk-DNRGY432.mjs → chunk-VDS5YFLX.mjs} +1 -1
- package/dist/client/{chunk-UVQEJJTN.mjs → chunk-Y37KDO7P.mjs} +1 -1
- package/dist/client/client.mjs +24277 -20796
- package/dist/client/{courseRegistration-AHFQHWIJ.mjs → courseRegistration-2EORROPS.mjs} +3 -3
- package/dist/client/{eventCalendar-LDXTV5R7.mjs → eventCalendar-WZI4VL6N.mjs} +5 -5
- package/dist/client/{eventCombined-A4JGTNJO.mjs → eventCombined-QCB2TCNL.mjs} +5 -5
- package/dist/client/{eventDetails-4YXTZ7EG.mjs → eventDetails-TFTATAPH.mjs} +5 -5
- package/dist/client/{eventListing-P72TPFFM.mjs → eventListing-A2CQEHEQ.mjs} +5 -5
- package/dist/client/{eventRegistration-LSYJHGMT.mjs → eventRegistration-OELPVLUY.mjs} +5 -5
- package/dist/client/{form-AOPYOKOW.mjs → form-NTIFD6WQ.mjs} +1 -1
- package/dist/client/{headerSection-5TFYDFVQ.mjs → headerSection-7TBNKCLA.mjs} +65 -24
- package/dist/client/hooks.mjs +3687 -2024
- package/dist/client/{locationMap-QSZ3ZVAZ.mjs → locationMap-LRLB5A3H.mjs} +1 -1
- package/dist/client/{newsletterForm-KTRHZY52.mjs → newsletterForm-XI52RZSN.mjs} +1 -1
- package/dist/client/{productDetail-N4E775RG.mjs → productDetail-GSNKBFLY.mjs} +5 -5
- package/dist/client/{productList-UGUQ2S45.mjs → productList-BGCGT4KZ.mjs} +5 -5
- package/dist/client/rendering/client.mjs +5274 -3030
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +6271 -2790
- package/dist/client/{shop-VHSZEEQ2.mjs → shop-RQHUCLNY.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +79 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +79 -0
- package/dist/{sdk-runtime-WHPJEF5G.mjs → sdk-runtime-A4LHT2RS.mjs} +6 -6
- package/dist/server/components.mjs +6215 -3057
- package/dist/server/config-validation.mjs +3858 -2194
- package/dist/server/config.mjs +3858 -2194
- package/dist/server/data.mjs +3687 -2024
- package/dist/server/index.mjs +88 -1
- package/dist/server/next/revalidate.mjs +229 -34
- package/dist/server/next.mjs +6295 -3036
- package/dist/server/page-converter.mjs +3055 -1883
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6220 -3062
- package/dist/server/rendering.mjs +6233 -3075
- package/dist/server/routing.mjs +4251 -2137
- package/dist/server/server.mjs +3705 -2042
- package/dist/server/theme-bridge.mjs +1617 -329
- package/dist/server/theme.mjs +411 -221
- package/dist/server/webhooks.mjs +129 -25
- package/dist/styles/index.css +355 -33
- package/package.json +2 -1
- package/dist/SdkPreviewModeRuntime-IJDHTW4W.mjs +0 -8
- package/dist/chunk-4QEGTLK6.mjs +0 -1175
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
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"];
|
|
4
|
+
export type WebhookEvent = (typeof SUPPORTED_WEBHOOK_EVENTS)[number];
|
|
5
|
+
export declare const WebhookEventSchema: z.ZodEnum<{
|
|
6
|
+
"page.published": "page.published";
|
|
7
|
+
"page.unpublished": "page.unpublished";
|
|
8
|
+
"page.deleted": "page.deleted";
|
|
9
|
+
"page.path_changed": "page.path_changed";
|
|
10
|
+
"entry.published": "entry.published";
|
|
11
|
+
"entry.unpublished": "entry.unpublished";
|
|
12
|
+
"entry.deleted": "entry.deleted";
|
|
13
|
+
"entry.path_changed": "entry.path_changed";
|
|
14
|
+
"navigation.updated": "navigation.updated";
|
|
15
|
+
"theme.updated": "theme.updated";
|
|
16
|
+
"site.settings_updated": "site.settings_updated";
|
|
17
|
+
}>;
|
|
18
|
+
declare const revalidationPathBrand: unique symbol;
|
|
19
|
+
export type RevalidationPath = string & {
|
|
20
|
+
readonly [revalidationPathBrand]: 'RevalidationPath';
|
|
21
|
+
};
|
|
22
|
+
export type RevalidationPathParseError = Readonly<{
|
|
23
|
+
tag: 'EMPTY_PATH';
|
|
24
|
+
input: string;
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
tag: 'ABSOLUTE_OR_PROTOCOL_PATH';
|
|
27
|
+
input: string;
|
|
28
|
+
}> | Readonly<{
|
|
29
|
+
tag: 'MALFORMED_PATH';
|
|
30
|
+
input: string;
|
|
31
|
+
}>;
|
|
32
|
+
export type RevalidationPathParseResult = Readonly<{
|
|
33
|
+
success: true;
|
|
34
|
+
path: RevalidationPath;
|
|
35
|
+
}> | Readonly<{
|
|
36
|
+
success: false;
|
|
37
|
+
error: RevalidationPathParseError;
|
|
38
|
+
}>;
|
|
39
|
+
export declare function parseRevalidationPath(input: string): RevalidationPathParseResult;
|
|
40
|
+
export declare function normalizeRevalidationPath(input: string): RevalidationPath | null;
|
|
41
|
+
export declare function unwrapRevalidationPath(path: RevalidationPath): string;
|
|
42
|
+
export declare const PagePublishedDataSchema: z.ZodObject<{
|
|
43
|
+
pageId: z.ZodString;
|
|
44
|
+
path: z.ZodString;
|
|
45
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export declare const PageRemovedDataSchema: z.ZodObject<{
|
|
48
|
+
pageId: z.ZodString;
|
|
49
|
+
path: z.ZodString;
|
|
50
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export declare const PagePathChangedDataSchema: z.ZodObject<{
|
|
53
|
+
pageId: z.ZodString;
|
|
54
|
+
previousPath: z.ZodString;
|
|
55
|
+
path: z.ZodString;
|
|
56
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
export declare const EntryPublishedDataSchema: z.ZodObject<{
|
|
59
|
+
entryId: z.ZodString;
|
|
60
|
+
path: z.ZodString;
|
|
61
|
+
contentType: z.ZodString;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
export declare const EntryRemovedDataSchema: z.ZodObject<{
|
|
64
|
+
entryId: z.ZodString;
|
|
65
|
+
path: z.ZodString;
|
|
66
|
+
contentType: z.ZodString;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
export declare const EntryPathChangedDataSchema: z.ZodObject<{
|
|
69
|
+
entryId: z.ZodString;
|
|
70
|
+
previousPath: z.ZodString;
|
|
71
|
+
path: z.ZodString;
|
|
72
|
+
contentType: z.ZodString;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
export declare const NavigationUpdatedDataSchema: z.ZodObject<{
|
|
75
|
+
menuId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
export declare const EmptyWebhookDataSchema: z.ZodObject<{}, z.core.$strict>;
|
|
78
|
+
export type PagePublishedData = z.infer<typeof PagePublishedDataSchema>;
|
|
79
|
+
export type PageRemovedData = z.infer<typeof PageRemovedDataSchema>;
|
|
80
|
+
export type PagePathChangedData = z.infer<typeof PagePathChangedDataSchema>;
|
|
81
|
+
export type EntryPublishedData = z.infer<typeof EntryPublishedDataSchema>;
|
|
82
|
+
export type EntryRemovedData = z.infer<typeof EntryRemovedDataSchema>;
|
|
83
|
+
export type EntryPathChangedData = z.infer<typeof EntryPathChangedDataSchema>;
|
|
84
|
+
export type NavigationUpdatedData = z.infer<typeof NavigationUpdatedDataSchema>;
|
|
85
|
+
export type EmptyWebhookData = z.infer<typeof EmptyWebhookDataSchema>;
|
|
86
|
+
export type WebhookDataByEvent = Readonly<{
|
|
87
|
+
'page.published': PagePublishedData;
|
|
88
|
+
'page.unpublished': PageRemovedData;
|
|
89
|
+
'page.deleted': PageRemovedData;
|
|
90
|
+
'page.path_changed': PagePathChangedData;
|
|
91
|
+
'entry.published': EntryPublishedData;
|
|
92
|
+
'entry.unpublished': EntryRemovedData;
|
|
93
|
+
'entry.deleted': EntryRemovedData;
|
|
94
|
+
'entry.path_changed': EntryPathChangedData;
|
|
95
|
+
'navigation.updated': NavigationUpdatedData;
|
|
96
|
+
'theme.updated': EmptyWebhookData;
|
|
97
|
+
'site.settings_updated': EmptyWebhookData;
|
|
98
|
+
}>;
|
|
99
|
+
export type WebhookDataForEvent<E extends WebhookEvent> = WebhookDataByEvent[E];
|
|
100
|
+
export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
101
|
+
timestamp: z.ZodString;
|
|
102
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
103
|
+
siteId: z.ZodString;
|
|
104
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
|
+
event: z.ZodLiteral<"page.published">;
|
|
107
|
+
data: z.ZodObject<{
|
|
108
|
+
pageId: z.ZodString;
|
|
109
|
+
path: z.ZodString;
|
|
110
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
timestamp: z.ZodString;
|
|
114
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
siteId: z.ZodString;
|
|
116
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
+
event: z.ZodLiteral<"page.unpublished">;
|
|
119
|
+
data: z.ZodObject<{
|
|
120
|
+
pageId: z.ZodString;
|
|
121
|
+
path: z.ZodString;
|
|
122
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
timestamp: z.ZodString;
|
|
126
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
127
|
+
siteId: z.ZodString;
|
|
128
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
129
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
+
event: z.ZodLiteral<"page.deleted">;
|
|
131
|
+
data: z.ZodObject<{
|
|
132
|
+
pageId: z.ZodString;
|
|
133
|
+
path: z.ZodString;
|
|
134
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
timestamp: z.ZodString;
|
|
138
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
139
|
+
siteId: z.ZodString;
|
|
140
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
|
+
event: z.ZodLiteral<"page.path_changed">;
|
|
143
|
+
data: z.ZodObject<{
|
|
144
|
+
pageId: z.ZodString;
|
|
145
|
+
previousPath: z.ZodString;
|
|
146
|
+
path: z.ZodString;
|
|
147
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strict>;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
timestamp: z.ZodString;
|
|
151
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
152
|
+
siteId: z.ZodString;
|
|
153
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
|
+
event: z.ZodLiteral<"entry.published">;
|
|
156
|
+
data: z.ZodObject<{
|
|
157
|
+
entryId: z.ZodString;
|
|
158
|
+
path: z.ZodString;
|
|
159
|
+
contentType: z.ZodString;
|
|
160
|
+
}, z.core.$strict>;
|
|
161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
162
|
+
timestamp: z.ZodString;
|
|
163
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
164
|
+
siteId: z.ZodString;
|
|
165
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
166
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
167
|
+
event: z.ZodLiteral<"entry.unpublished">;
|
|
168
|
+
data: z.ZodObject<{
|
|
169
|
+
entryId: z.ZodString;
|
|
170
|
+
path: z.ZodString;
|
|
171
|
+
contentType: z.ZodString;
|
|
172
|
+
}, z.core.$strict>;
|
|
173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
174
|
+
timestamp: z.ZodString;
|
|
175
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
176
|
+
siteId: z.ZodString;
|
|
177
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
178
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
|
+
event: z.ZodLiteral<"entry.deleted">;
|
|
180
|
+
data: z.ZodObject<{
|
|
181
|
+
entryId: z.ZodString;
|
|
182
|
+
path: z.ZodString;
|
|
183
|
+
contentType: z.ZodString;
|
|
184
|
+
}, z.core.$strict>;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
timestamp: z.ZodString;
|
|
187
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
188
|
+
siteId: z.ZodString;
|
|
189
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
190
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
191
|
+
event: z.ZodLiteral<"entry.path_changed">;
|
|
192
|
+
data: z.ZodObject<{
|
|
193
|
+
entryId: z.ZodString;
|
|
194
|
+
previousPath: z.ZodString;
|
|
195
|
+
path: z.ZodString;
|
|
196
|
+
contentType: z.ZodString;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
199
|
+
timestamp: z.ZodString;
|
|
200
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
201
|
+
siteId: z.ZodString;
|
|
202
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
203
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
|
+
event: z.ZodLiteral<"navigation.updated">;
|
|
205
|
+
data: z.ZodObject<{
|
|
206
|
+
menuId: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strict>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
timestamp: z.ZodString;
|
|
210
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
211
|
+
siteId: z.ZodString;
|
|
212
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
213
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
214
|
+
event: z.ZodLiteral<"theme.updated">;
|
|
215
|
+
data: z.ZodObject<{}, z.core.$strict>;
|
|
216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
217
|
+
timestamp: z.ZodString;
|
|
218
|
+
dispatchId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
siteId: z.ZodString;
|
|
220
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
221
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
222
|
+
event: z.ZodLiteral<"site.settings_updated">;
|
|
223
|
+
data: z.ZodObject<{}, z.core.$strict>;
|
|
224
|
+
}, z.core.$strip>], "event">;
|
|
225
|
+
export type WebhookPayload = z.infer<typeof WebhookPayloadSchema>;
|
|
226
|
+
export type WebhookPayloadForEvent<E extends WebhookEvent> = Extract<WebhookPayload, {
|
|
227
|
+
event: E;
|
|
228
|
+
}>;
|
|
229
|
+
export type WebhookDispatchInputForEvent<E extends WebhookEvent> = Readonly<{
|
|
230
|
+
siteId: string;
|
|
231
|
+
event: E;
|
|
232
|
+
data: WebhookDataForEvent<E>;
|
|
233
|
+
tags: readonly string[];
|
|
234
|
+
paths?: readonly RevalidationPath[];
|
|
235
|
+
}>;
|
|
236
|
+
export type WebhookDispatchInput = {
|
|
237
|
+
[E in WebhookEvent]: WebhookDispatchInputForEvent<E>;
|
|
238
|
+
}[WebhookEvent];
|
|
239
|
+
export {};
|
|
@@ -12,6 +12,8 @@ export { formatPublishBlockedMessage, formatRecoveryConflictSummary, formatRecov
|
|
|
12
12
|
export type { BlockDraftSaveability, BlockDraftValidationIssue, BlockManifestResolution, BlockManifestValidationMode, } from './blockDraftSaveability';
|
|
13
13
|
export type { BaseFieldConfig, FieldConfig, TextFieldConfig, NumberFieldConfig, RichTextFieldConfig, MediaFieldConfig, FileFieldConfig, BooleanFieldConfig, DateFieldConfig, TimeFieldConfig, DateTimeFieldConfig, SlugFieldConfig, UrlFieldConfig, LinkFieldConfig, SelectFieldConfig, ReferenceFieldConfig, GroupFieldConfig, RepeaterFieldConfig, ButtonFieldConfig, ContentTypeSelectFieldConfig, EntryPickerFieldConfig, } from '../fields/types';
|
|
14
14
|
export { createManifestFormAdapter } from '../manifest/manifestFormAdapter';
|
|
15
|
+
export { evaluateVisibility } from '../utils/evaluateVisibility';
|
|
16
|
+
export type { VisibilityValueReader } from '../utils/evaluateVisibility';
|
|
15
17
|
export { PaletteProvider, usePalette } from '../palette/PaletteContext';
|
|
16
18
|
export { SdkConfigProvider, useSdkConfig, useBlockFieldOptions } from '../sdk-config';
|
|
17
19
|
export type { SdkConfig, SdkConfigProviderProps, SdkThemePalette, SdkSectionBackground, SdkSectionOptions, SdkSiteStyleConfig, SdkFieldSelectOption, SdkBlockFieldConfig, SdkBlockFieldOptionsMap, SdkBlockFieldExtensionsMap, } from '../sdk-config';
|
|
@@ -21,3 +21,5 @@ export type { FieldSettingsModalProps } from './widgets';
|
|
|
21
21
|
export { SettingsModal } from './widgets';
|
|
22
22
|
export type { SettingsModalProps, SettingsTab, SettingsTabId } from './widgets';
|
|
23
23
|
export * from './utils/fieldHelpers';
|
|
24
|
+
export { evaluateVisibility } from './utils/evaluateVisibility';
|
|
25
|
+
export type { VisibilityValueReader } from './utils/evaluateVisibility';
|
|
@@ -6,4 +6,5 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { BaseFieldConfig } from '../fields/types';
|
|
8
8
|
import type { FormBackend } from '../backend/types';
|
|
9
|
-
export
|
|
9
|
+
export type VisibilityValueReader = Pick<FormBackend, 'getValue'>;
|
|
10
|
+
export declare function evaluateVisibility(field: BaseFieldConfig, backend: VisibilityValueReader, path: string): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { mountHeaderChromeRuntime, type HeaderChromeRuntimeMountResult, type HeaderChromeRuntimeOptions, } from '../system/runtime/header/enhanceHeaderSection';
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*
|
|
8
8
|
* For server-safe rendering, use './server'.
|
|
9
9
|
*/
|
|
10
|
-
export { BlockApiProvider, useBlockApi, type BlockApiConfig } from './system/runtime/api';
|
|
10
|
+
export { BlockApiProvider, useBlockApi, type BlockApiConfig, } from './system/runtime/api';
|
|
11
11
|
export { clientComponentRegistry } from './system/runtime/components/registry.client';
|
|
12
12
|
export type { ComponentRegistry } from './system/runtime/resolver';
|
|
13
13
|
export type { BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, } from './system/runtime/shared/bookingPaymentOptions';
|
|
14
|
-
export {
|
|
14
|
+
export { mountHeaderChromeRuntime, type HeaderChromeRuntimeMountResult, type HeaderChromeRuntimeOptions, } from './system/runtime/header/enhanceHeaderSection';
|
|
15
15
|
export { ClientThemeScope } from '../../theme-core/src/ClientThemeScope';
|
|
16
16
|
export { ImageResolveContextProvider, useImageResolveContextOptional, } from './system/runtime/nodes/ImageResolveContext';
|
|
17
17
|
export { FormNodeClient } from './system/runtime/nodes/form.client';
|
|
@@ -19,23 +19,23 @@ 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 { AltchaWidget as HeadlessBookingAltchaWidget } from '../../altcha/src/client';
|
|
22
|
-
export { EventRegistrationClient, EventRegistrationIslandClient } from './system/runtime/nodes/event-registration.client';
|
|
23
|
-
export { EventDetailsClient, EventDetailsIslandClient } from './system/runtime/nodes/event-details.client';
|
|
24
|
-
export { LocationMapClient, LocationMapIslandClient } from './system/runtime/nodes/location-map.client';
|
|
25
|
-
export { CourseRegistrationClient, CourseRegistrationIslandClient } from './system/runtime/nodes/course-registration.client';
|
|
26
|
-
export { EventListingClient, EventCalendarClient, EventCombinedClient, EventCombinedIslandClient } from './system/runtime/nodes/events';
|
|
22
|
+
export { EventRegistrationClient, EventRegistrationIslandClient, } from './system/runtime/nodes/event-registration.client';
|
|
23
|
+
export { EventDetailsClient, EventDetailsIslandClient, } from './system/runtime/nodes/event-details.client';
|
|
24
|
+
export { LocationMapClient, LocationMapIslandClient, } from './system/runtime/nodes/location-map.client';
|
|
25
|
+
export { CourseRegistrationClient, CourseRegistrationIslandClient, } from './system/runtime/nodes/course-registration.client';
|
|
26
|
+
export { EventListingClient, EventCalendarClient, EventCombinedClient, EventCombinedIslandClient, } from './system/runtime/nodes/events';
|
|
27
27
|
export { CarouselNodeClient } from './system/runtime/nodes/carousel.client';
|
|
28
28
|
export { normalizeCarouselProps } from './system/runtime/nodes/carousel.client';
|
|
29
29
|
export type { CarouselNodeClientProps, NormalizedCarouselProps, ResponsiveSlidesToShow, } from './system/runtime/nodes/carousel.client';
|
|
30
|
-
export { MediaNode, type MediaNodeProps } from './system/runtime/nodes/media.client';
|
|
30
|
+
export { MediaNode, type MediaNodeProps, } from './system/runtime/nodes/media.client';
|
|
31
31
|
export type { BookingFormClientProps, FormConfig as BookingFormConfig, Service as BookingService, } from './system/runtime/nodes/booking-form.client';
|
|
32
|
-
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES
|
|
32
|
+
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from './system/runtime/nodes/booking-form.reserved-fields';
|
|
33
33
|
export type { BookingFormData, BookingSelectedCollectionOptionKind, } from './system/runtime/nodes/booking-form.state';
|
|
34
34
|
export type { BookingAvailabilityModel, BookingAppointmentPackagesModel, BookingDiscountModel, BookingFieldsModel, BookingFlowActions, BookingPaymentModel, BookingResourcesModel, BookingServicesModel, BookingSpamProtectionModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
35
35
|
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';
|
|
36
36
|
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';
|
|
37
|
-
export type { EventDetailsClientProps, EventDetailsIslandClientProps } from './system/runtime/nodes/event-details.client';
|
|
38
|
-
export type { LocationMapClientProps, LocationMapIslandClientProps } from './system/runtime/nodes/location-map.client';
|
|
37
|
+
export type { EventDetailsClientProps, EventDetailsIslandClientProps, } from './system/runtime/nodes/event-details.client';
|
|
38
|
+
export type { LocationMapClientProps, LocationMapIslandClientProps, } from './system/runtime/nodes/location-map.client';
|
|
39
39
|
export type { EventRegistrationClientProps, EventRegistrationIslandClientProps, } from './system/runtime/nodes/event-registration.client';
|
|
40
40
|
export type { CourseRegistrationClientProps, CourseRegistrationIslandClientProps, } from './system/runtime/nodes/course-registration.client';
|
|
41
41
|
export { ShopClient } from './system/runtime/nodes/shop.client';
|
|
@@ -52,4 +52,4 @@ export type { ShopDisplayConfig } from './system/runtime/nodes/shop.types';
|
|
|
52
52
|
export { NewsletterFormClient } from './system/runtime/nodes/newsletter-form.client';
|
|
53
53
|
export type { NewsletterFormProps } from './system/runtime/nodes/newsletter-form.types';
|
|
54
54
|
export { useBookingFormConfig } from './system/runtime/hooks/useBookingFormConfig';
|
|
55
|
-
export type { Service, BookingFormConfig as BookingFormConfigHook } from './system/runtime/hooks/useBookingFormConfig';
|
|
55
|
+
export type { Service, BookingFormConfig as BookingFormConfigHook, } from './system/runtime/hooks/useBookingFormConfig';
|
|
@@ -14,7 +14,7 @@ export * from '../../theme-core/src/site-styles/index';
|
|
|
14
14
|
export * from '../../theme-core/src/styles/buttons';
|
|
15
15
|
export * from '../../theme-core/src/styles/buttonsLibrary';
|
|
16
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 ButtonBackgroundType, type GradientDirection, } from '../../theme-core/src/buttons/index';
|
|
17
|
-
export { type CardBackground, type CardBorder, type CardSpacing, type CardSystem, type CardVariant, cardBackgroundSchema, cardBorderSchema, cardSpacingSchema, cardSystemSchema, cardVariantSchema, generateCardCss, generateDefaultCardSystem, generateCardCoreCss, getDefaultCardVariants, type CardVariantCore, type CardCoreSettings, type CardBackgroundType, type CardSpacingCore, } from '../../theme-core/src/cards/index';
|
|
17
|
+
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
18
|
export { generateInputCoreCss, getDefaultInputSettings, type InputCoreSettings, } from '../../theme-core/src/inputs/core';
|
|
19
19
|
export * from '../../theme-core/src/tokens/index';
|
|
20
20
|
export * from '../../theme-core/src/styles/gradients';
|
|
@@ -32,6 +32,9 @@ export * from '../../theme-core/src/siteChrome';
|
|
|
32
32
|
export * from '../../theme-core/src/blocks/index';
|
|
33
33
|
export { EDITABLE_SURFACE_FORWARDING_PROP, markEditableSurfaceForwarding, type EditableSurfaceForwardingComponent, } from './system/runtime/header/shared';
|
|
34
34
|
export * from './system';
|
|
35
|
+
export { parseSiteIconStyleGuideVersionId, type SiteIconStyleGuideVersionId, } from './system/icons/ids';
|
|
36
|
+
export { isSemanticIconId, type SemanticIconId, } from './system/icons/semantic';
|
|
37
|
+
export { getGeneratedBlockIconStyleState, parseBlockIconValue, type GeneratedBlockIconValue, type GeneratedBlockIconStyleState, } from './system/icons/value';
|
|
35
38
|
export { SUPPORTED_LOADER_ENDPOINTS, isSupportedLoaderEndpoint, type SupportedLoaderEndpoint, } from './system/data';
|
|
36
39
|
export type { AuthoredLinkValue, LinkValue, InternalLinkValue, InternalResolvedLinkValue, InternalRouteOnlyLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, } from './system/types/link';
|
|
37
40
|
export { linkSchema, internalLinkSchema, internalResolvedLinkSchema, internalRouteOnlyLinkSchema, externalLinkSchema, customLinkSchema, pageLinkSchema, entryLinkSchema, isInternalResolvedLinkValue, } from './system/types/link';
|
|
@@ -65,6 +68,7 @@ export { resolveBackground, SectionBackground, type BackgroundInput, type Resolv
|
|
|
65
68
|
export type { SectionStylesContent } from './system/fields/boxStyles';
|
|
66
69
|
export { eventCalendarDisplayModeValues, eventCalendarListLayoutAppliesToDisplayMode, eventCalendarListLayoutCompatibleDisplayModeValues, eventCalendarListLayoutOptions, eventCalendarListLayoutValues, getPreviewContext, isEventCalendarDisplayMode, isEventCalendarListLayout, isEventContentType, type EventCalendarDisplayMode, type EventCalendarListLayout, type PreviewContext, } from './system/constants/events';
|
|
67
70
|
export { eventCalendarListLayoutFacet, defineCustomizeFacet, isSystemCustomizeFacetId, isSystemCustomizeFacetValue, parseSystemCustomizeFacetSelection, systemCustomizeFacetApplyContentPatch, systemCustomizeFacetAppliesToLayoutVariant, systemCustomizeFacetCurrentValue, systemCustomizeFacetDefinitionForBlock, systemCustomizeFacetDefinitionForId, systemCustomizeFacetDefinitions, systemCustomizeFacetDefinitionsForBlock, systemCustomizeFacetIds, systemCustomizeFacetLabelForValue, systemCustomizeFacetNextValue, systemCustomizeFacetRollbackContentPatch, systemCustomizeFacetValues, type EventCalendarListLayoutCustomizeFacetTarget, type CustomizeFacetContent, type CustomizeFacetCycleDirection, type CustomizeFacetDefinition, type CustomizeFacetTarget, type CustomizeFacetValueOption, type ParseSystemCustomizeFacetSelectionResult, type SystemCustomizeFacetBlockKind, type SystemCustomizeFacetDefinition, type SystemCustomizeFacetHistorySelection, type SystemCustomizeFacetId, type SystemCustomizeFacetSelection, type SystemCustomizeFacetTransition, type SystemCustomizeFacetValue, } from './system/customize/facets';
|
|
71
|
+
export { BACKGROUND_MODES, DEFAULT_BACKGROUND_OVERRIDE, applyBackgroundOverrideContentPatch, backgroundModeForOverride, defaultBackgroundOverrideForMode, enabledBackgroundModes, isGradientPresetId, parseBackgroundOverride, parseGradientPresetId, planBackgroundTransition, rankBackgroundImagePoolItems, serializeBackgroundOverride, type BackgroundCapability, type BackgroundCustomizeContent, type BackgroundImagePoolItem, type BackgroundImagePoolSource, type BackgroundMode, type BackgroundModeCycleDirection, type BackgroundOverride, type BackgroundPersistenceSideEffect, type BackgroundTransitionAction, type BackgroundTransitionBlockedReason, type BackgroundTransitionPlan, type GradientPresetId, type LegacyBackgroundReason, type ParsedBackgroundOverride, } from './system/customize/backgrounds';
|
|
68
72
|
export { transformSdkBlockToManifest, transformSdkBlockToDefinition, } from './sdkBlockTransform';
|
|
69
73
|
export { rgbColorValue, cssVarValue, backgroundColorStyle, textColorStyle, borderColorStyle, gradientBackgroundStyle, mergeStyles, } from '../../theme-core/src/utils/colorStyles';
|
|
70
74
|
export { parseVideoUrl, getVideoEmbed, getEmbedUrl, getThumbnailUrl, type VideoProvider, type VideoInfo, type EmbedInfo, } from './lib/video';
|