@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,94 @@
|
|
|
1
|
+
import type { Brand } from '../../../../core/src/index';
|
|
2
|
+
import { type GeneratedIconAssetId, type GeneratedIconSetId, type SiteIconStyleGuideVersionId } from './ids';
|
|
3
|
+
import type { SemanticIconId } from './semantic';
|
|
4
|
+
export type NoBlockIconValue = {
|
|
5
|
+
kind: 'none';
|
|
6
|
+
};
|
|
7
|
+
export type SemanticBlockIconValue = {
|
|
8
|
+
kind: 'semantic';
|
|
9
|
+
iconId: SemanticIconId;
|
|
10
|
+
};
|
|
11
|
+
export type GeneratedBlockIconValue = {
|
|
12
|
+
kind: 'generated';
|
|
13
|
+
setId: GeneratedIconSetId;
|
|
14
|
+
assetId: GeneratedIconAssetId;
|
|
15
|
+
semanticFallbackIconId: SemanticIconId;
|
|
16
|
+
styleGuideVersionId: SiteIconStyleGuideVersionId;
|
|
17
|
+
};
|
|
18
|
+
export type BlockIconValue = NoBlockIconValue | SemanticBlockIconValue | GeneratedBlockIconValue;
|
|
19
|
+
export declare const NO_BLOCK_ICON_VALUE: NoBlockIconValue;
|
|
20
|
+
export type GeneratedBlockIconAssetSrc = Brand<string, 'GeneratedBlockIconAssetSrc'>;
|
|
21
|
+
export type GeneratedBlockIconRenderAssetInput = Readonly<{
|
|
22
|
+
setId: GeneratedIconSetId;
|
|
23
|
+
assetId: GeneratedIconAssetId;
|
|
24
|
+
src: string;
|
|
25
|
+
width?: number;
|
|
26
|
+
height?: number;
|
|
27
|
+
}>;
|
|
28
|
+
export type GeneratedBlockIconRenderAsset = Readonly<{
|
|
29
|
+
setId: GeneratedIconSetId;
|
|
30
|
+
assetId: GeneratedIconAssetId;
|
|
31
|
+
src: GeneratedBlockIconAssetSrc;
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
}>;
|
|
35
|
+
export type GeneratedBlockIconRenderAssetLookup = ReadonlyMap<string, GeneratedBlockIconRenderAsset>;
|
|
36
|
+
export type GeneratedBlockIconRenderAssetLookupBuildResult = Readonly<{
|
|
37
|
+
kind: 'ok';
|
|
38
|
+
lookup: GeneratedBlockIconRenderAssetLookup;
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
kind: 'duplicate_asset';
|
|
41
|
+
setId: GeneratedIconSetId;
|
|
42
|
+
assetId: GeneratedIconAssetId;
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
kind: 'invalid_src';
|
|
45
|
+
setId: GeneratedIconSetId;
|
|
46
|
+
assetId: GeneratedIconAssetId;
|
|
47
|
+
src: string;
|
|
48
|
+
}>;
|
|
49
|
+
export type GeneratedBlockIconRenderAssetLookupUnknownBuildResult = GeneratedBlockIconRenderAssetLookupBuildResult | Readonly<{
|
|
50
|
+
kind: 'invalid_asset_list';
|
|
51
|
+
}> | Readonly<{
|
|
52
|
+
kind: 'invalid_asset_entry';
|
|
53
|
+
index: number;
|
|
54
|
+
reason: 'not_object' | 'invalid_set_id' | 'invalid_asset_id' | 'invalid_src';
|
|
55
|
+
}>;
|
|
56
|
+
export type ResolvedBlockIconRenderValue = Readonly<{
|
|
57
|
+
kind: 'none';
|
|
58
|
+
}> | Readonly<{
|
|
59
|
+
kind: 'semantic';
|
|
60
|
+
iconId: SemanticIconId;
|
|
61
|
+
}> | Readonly<{
|
|
62
|
+
kind: 'generated_asset';
|
|
63
|
+
asset: GeneratedBlockIconRenderAsset;
|
|
64
|
+
semanticFallbackIconId: SemanticIconId;
|
|
65
|
+
styleGuideVersionId: SiteIconStyleGuideVersionId;
|
|
66
|
+
}> | Readonly<{
|
|
67
|
+
kind: 'generated_fallback';
|
|
68
|
+
setId: GeneratedIconSetId;
|
|
69
|
+
assetId: GeneratedIconAssetId;
|
|
70
|
+
semanticFallbackIconId: SemanticIconId;
|
|
71
|
+
styleGuideVersionId: SiteIconStyleGuideVersionId;
|
|
72
|
+
reason: 'asset_unavailable';
|
|
73
|
+
}>;
|
|
74
|
+
export type GeneratedBlockIconStyleState = Readonly<{
|
|
75
|
+
kind: 'not_generated';
|
|
76
|
+
}> | Readonly<{
|
|
77
|
+
kind: 'invalid_generated';
|
|
78
|
+
}> | Readonly<{
|
|
79
|
+
kind: 'current';
|
|
80
|
+
styleGuideVersionId: SiteIconStyleGuideVersionId;
|
|
81
|
+
}> | Readonly<{
|
|
82
|
+
kind: 'stale';
|
|
83
|
+
previousStyleGuideVersionId: SiteIconStyleGuideVersionId;
|
|
84
|
+
currentStyleGuideVersionId: SiteIconStyleGuideVersionId;
|
|
85
|
+
}>;
|
|
86
|
+
export declare function parseBlockIconValue(value: unknown): BlockIconValue;
|
|
87
|
+
export declare function getBlockIconSemanticFallbackId(value: unknown): SemanticIconId | null;
|
|
88
|
+
export declare function hasRenderableBlockIcon(value: unknown): boolean;
|
|
89
|
+
export declare function parseGeneratedBlockIconAssetSrc(value: unknown): GeneratedBlockIconAssetSrc | null;
|
|
90
|
+
export declare function buildGeneratedBlockIconRenderAssetLookup(assets: readonly GeneratedBlockIconRenderAssetInput[]): GeneratedBlockIconRenderAssetLookupBuildResult;
|
|
91
|
+
export declare function buildGeneratedBlockIconRenderAssetLookupFromUnknown(value: unknown): GeneratedBlockIconRenderAssetLookupUnknownBuildResult;
|
|
92
|
+
export declare function resolveBlockIconRenderValue(value: unknown, generatedAssets?: GeneratedBlockIconRenderAssetLookup): ResolvedBlockIconRenderValue;
|
|
93
|
+
export declare function getGeneratedBlockIconStyleState(value: unknown, currentStyleGuideVersionId: SiteIconStyleGuideVersionId): GeneratedBlockIconStyleState;
|
|
94
|
+
export declare function isGeneratedBlockIconStale(value: unknown, currentStyleGuideVersionId: SiteIconStyleGuideVersionId): boolean;
|
|
@@ -8,6 +8,7 @@ export * from "./blocks";
|
|
|
8
8
|
export * from "./componentFactory";
|
|
9
9
|
export * from "./designCapabilities";
|
|
10
10
|
export * from "./fragments";
|
|
11
|
+
export * from "./icons";
|
|
11
12
|
export * from "./layout";
|
|
12
13
|
export * from "./defineBlock";
|
|
13
14
|
export { SYSTEM_BLOCK_KINDS, type CustomBlockKind } from "./constants/blockKinds";
|
|
@@ -94,7 +94,10 @@ type LinkObjectConstraint = Readonly<{
|
|
|
94
94
|
type ReferenceTextConstraint = Readonly<{
|
|
95
95
|
kind: "referenceText";
|
|
96
96
|
}>;
|
|
97
|
-
type
|
|
97
|
+
type BlockIconValueConstraint = Readonly<{
|
|
98
|
+
kind: "blockIconValue";
|
|
99
|
+
}>;
|
|
100
|
+
type StringConstraint = RequiredConstraint | TextTypeConstraint | MaxLengthConstraint | EmailFormatConstraint | PhoneFormatConstraint | PatternFormatConstraint | UrlFormatConstraint | DateFormatConstraint | TimeFormatConstraint | DateTimeFormatConstraint | SlugFormatConstraint | ReferenceTextConstraint | BlockIconValueConstraint;
|
|
98
101
|
type NumberConstraint = RequiredConstraint | NumberTypeConstraint | NumberMinConstraint | NumberMaxConstraint;
|
|
99
102
|
type SelectConstraint = RequiredConstraint | SelectOptionConstraint;
|
|
100
103
|
type ArrayConstraint = RequiredConstraint | ArrayTypeConstraint | MinItemsConstraint | MaxItemsConstraint;
|
|
@@ -180,6 +180,7 @@ declare const uiSchema: z.ZodObject<{
|
|
|
180
180
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
181
181
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
182
182
|
cta: "cta";
|
|
183
|
+
feature: "feature";
|
|
183
184
|
}>>>;
|
|
184
185
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
185
186
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -360,6 +361,7 @@ declare const baseFieldSchema: z.ZodObject<{
|
|
|
360
361
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
361
362
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
362
363
|
cta: "cta";
|
|
364
|
+
feature: "feature";
|
|
363
365
|
}>>>;
|
|
364
366
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
365
367
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -541,6 +543,7 @@ declare const textFieldSchema: z.ZodObject<{
|
|
|
541
543
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
542
544
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
543
545
|
cta: "cta";
|
|
546
|
+
feature: "feature";
|
|
544
547
|
}>>>;
|
|
545
548
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
546
549
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -725,6 +728,7 @@ declare const richTextFieldSchema: z.ZodObject<{
|
|
|
725
728
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
726
729
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
727
730
|
cta: "cta";
|
|
731
|
+
feature: "feature";
|
|
728
732
|
}>>>;
|
|
729
733
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
730
734
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -907,6 +911,7 @@ declare const mediaFieldSchema: z.ZodObject<{
|
|
|
907
911
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
908
912
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
909
913
|
cta: "cta";
|
|
914
|
+
feature: "feature";
|
|
910
915
|
}>>>;
|
|
911
916
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
912
917
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1098,6 +1103,7 @@ declare const fileFieldSchema: z.ZodObject<{
|
|
|
1098
1103
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1099
1104
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1100
1105
|
cta: "cta";
|
|
1106
|
+
feature: "feature";
|
|
1101
1107
|
}>>>;
|
|
1102
1108
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1103
1109
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1286,6 +1292,7 @@ declare const booleanFieldSchema: z.ZodObject<{
|
|
|
1286
1292
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1287
1293
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1288
1294
|
cta: "cta";
|
|
1295
|
+
feature: "feature";
|
|
1289
1296
|
}>>>;
|
|
1290
1297
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1291
1298
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1468,6 +1475,7 @@ declare const dateFieldSchema: z.ZodObject<{
|
|
|
1468
1475
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1469
1476
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1470
1477
|
cta: "cta";
|
|
1478
|
+
feature: "feature";
|
|
1471
1479
|
}>>>;
|
|
1472
1480
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1473
1481
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1650,6 +1658,7 @@ declare const timeFieldSchema: z.ZodObject<{
|
|
|
1650
1658
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1651
1659
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1652
1660
|
cta: "cta";
|
|
1661
|
+
feature: "feature";
|
|
1653
1662
|
}>>>;
|
|
1654
1663
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1655
1664
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1832,6 +1841,7 @@ declare const dateTimeFieldSchema: z.ZodObject<{
|
|
|
1832
1841
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1833
1842
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1834
1843
|
cta: "cta";
|
|
1844
|
+
feature: "feature";
|
|
1835
1845
|
}>>>;
|
|
1836
1846
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1837
1847
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2014,6 +2024,7 @@ declare const slugFieldSchema: z.ZodObject<{
|
|
|
2014
2024
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2015
2025
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2016
2026
|
cta: "cta";
|
|
2027
|
+
feature: "feature";
|
|
2017
2028
|
}>>>;
|
|
2018
2029
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2019
2030
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2199,6 +2210,7 @@ declare const urlFieldSchema: z.ZodObject<{
|
|
|
2199
2210
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2200
2211
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2201
2212
|
cta: "cta";
|
|
2213
|
+
feature: "feature";
|
|
2202
2214
|
}>>>;
|
|
2203
2215
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2204
2216
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2382,6 +2394,7 @@ declare const linkFieldSchema: z.ZodObject<{
|
|
|
2382
2394
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2383
2395
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2384
2396
|
cta: "cta";
|
|
2397
|
+
feature: "feature";
|
|
2385
2398
|
}>>>;
|
|
2386
2399
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2387
2400
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2564,6 +2577,7 @@ declare const selectFieldSchema: z.ZodObject<{
|
|
|
2564
2577
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2565
2578
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2566
2579
|
cta: "cta";
|
|
2580
|
+
feature: "feature";
|
|
2567
2581
|
}>>>;
|
|
2568
2582
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2569
2583
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2765,6 +2779,7 @@ declare const referenceFieldSchema: z.ZodObject<{
|
|
|
2765
2779
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2766
2780
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2767
2781
|
cta: "cta";
|
|
2782
|
+
feature: "feature";
|
|
2768
2783
|
}>>>;
|
|
2769
2784
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2770
2785
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2959,6 +2974,7 @@ declare const repeaterFieldSchema: z.ZodObject<{
|
|
|
2959
2974
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2960
2975
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2961
2976
|
cta: "cta";
|
|
2977
|
+
feature: "feature";
|
|
2962
2978
|
}>>>;
|
|
2963
2979
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2964
2980
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3158,6 +3174,7 @@ declare const groupFieldSchema: z.ZodObject<{
|
|
|
3158
3174
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3159
3175
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3160
3176
|
cta: "cta";
|
|
3177
|
+
feature: "feature";
|
|
3161
3178
|
}>>>;
|
|
3162
3179
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3163
3180
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3343,6 +3360,7 @@ declare const modalFieldSchema: z.ZodObject<{
|
|
|
3343
3360
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3344
3361
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3345
3362
|
cta: "cta";
|
|
3363
|
+
feature: "feature";
|
|
3346
3364
|
}>>>;
|
|
3347
3365
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3348
3366
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3528,6 +3546,7 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
3528
3546
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3529
3547
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3530
3548
|
cta: "cta";
|
|
3549
|
+
feature: "feature";
|
|
3531
3550
|
}>>>;
|
|
3532
3551
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3533
3552
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3713,6 +3732,7 @@ declare const tabGroupFieldSchema: z.ZodObject<{
|
|
|
3713
3732
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3714
3733
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3715
3734
|
cta: "cta";
|
|
3735
|
+
feature: "feature";
|
|
3716
3736
|
}>>>;
|
|
3717
3737
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3718
3738
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3908,6 +3928,7 @@ declare const presetOrCustomFieldSchema: z.ZodObject<{
|
|
|
3908
3928
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3909
3929
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3910
3930
|
cta: "cta";
|
|
3931
|
+
feature: "feature";
|
|
3911
3932
|
}>>>;
|
|
3912
3933
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3913
3934
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -4099,6 +4120,7 @@ declare const contentTypeSelectFieldSchema: z.ZodObject<{
|
|
|
4099
4120
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4100
4121
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4101
4122
|
cta: "cta";
|
|
4123
|
+
feature: "feature";
|
|
4102
4124
|
}>>>;
|
|
4103
4125
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4104
4126
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -4286,6 +4308,7 @@ declare const entryPickerFieldSchema: z.ZodObject<{
|
|
|
4286
4308
|
layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4287
4309
|
iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4288
4310
|
cta: "cta";
|
|
4311
|
+
feature: "feature";
|
|
4289
4312
|
}>>>;
|
|
4290
4313
|
contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4291
4314
|
fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { VisibleHeadingDecorationFamily, VisibleHeadingDecorationPlacement } from "../../../../../theme-core/src/site-styles/index";
|
|
2
1
|
import type { NodeDefinition } from "../schema";
|
|
3
2
|
type HeadingDecorationOptions = Readonly<{
|
|
4
3
|
bindFrom?: string;
|
|
5
|
-
family?: VisibleHeadingDecorationFamily;
|
|
6
|
-
placement: VisibleHeadingDecorationPlacement;
|
|
7
4
|
className?: string;
|
|
8
5
|
}>;
|
|
9
|
-
export declare function headingDecoration({ bindFrom,
|
|
6
|
+
export declare function headingDecoration({ bindFrom, className, }?: HeadingDecorationOptions): NodeDefinition;
|
|
10
7
|
export {};
|
|
@@ -20,7 +20,7 @@ export type AllowedNodeType = (typeof ALLOWED_NODE_TYPES)[number];
|
|
|
20
20
|
* $bind.transforms within custom block layouts. Transform IDs
|
|
21
21
|
* not in this list will be rejected during validation.
|
|
22
22
|
*/
|
|
23
|
-
export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveAllowOverflow", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "containerStyles.resolveBoxClassName"];
|
|
23
|
+
export declare const ALLOWED_TRANSFORM_IDS: readonly ["string.uppercase", "value.fallback", "date.formatShort", "array.length", "value.jsonArray", "value.csv", "array.marqueeLoop", "layout.maxWidthClass", "layout.headerRootClass", "layout.footerRootClass", "layout.headerRootStyle", "layout.headerSectionBackground", "layout.footerRootStyle", "ui.headerNavLinkClass", "ui.headingClassFromAlignment", "ui.bodyClassFromAlignment", "ui.stackAlignFromAlignment", "ui.sectionStateTone", "ui.heroContentWrapperClass", "ui.heroCtaJustify", "ui.heroStackJustifyFromVerticalAlignment", "ui.heroGridClassFromVerticalAlignment", "ui.conditionalClass", "ui.twoColumnContainerClass", "ui.twoColumnFlexBasis", "ui.imageGalleryFilterClass", "ui.imageGalleryTileClass", "ui.imageGalleryTileStyle", "ui.imageGalleryMarqueeTileStyle", "ui.imageGalleryMarqueeDuration", "ui.imageGalleryMarqueeDirection", "ui.imageFragmentClass", "ui.imageFragmentSize", "media.fromUrl", "background.resolveStyle", "background.resolveColorsStyle", "background.resolveAllowOverflow", "background.resolveImageStyle", "background.resolveImageClassName", "background.resolveOverlayStyle", "links.resolve", "links.label", "content.interpolateRichTextTokens", "boxStyles.spacing", "boxStyles.resolveRootClass", "boxStyles.resolveRootStyle", "boxStyles.semanticGap", "boxStyles.semanticGapValue", "boxStyles.cardVariantClass", "containerStyles.resolveBoxClassName"];
|
|
24
24
|
export type AllowedTransformId = (typeof ALLOWED_TRANSFORM_IDS)[number];
|
|
25
25
|
/**
|
|
26
26
|
* Set for O(1) lookup of allowed node types.
|
|
@@ -217,7 +217,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
217
217
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
218
218
|
seeAllUrl?: string;
|
|
219
219
|
loadMoreText?: string;
|
|
220
|
-
cardVariant?: import("../..").
|
|
220
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
221
221
|
buttonVariant?: import("../..").ButtonVariant;
|
|
222
222
|
buttonText?: string;
|
|
223
223
|
showVenue?: boolean;
|
|
@@ -288,7 +288,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
288
288
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
289
289
|
seeAllUrl?: string;
|
|
290
290
|
loadMoreText?: string;
|
|
291
|
-
cardVariant?: import("../..").
|
|
291
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
292
292
|
buttonVariant?: import("../..").ButtonVariant;
|
|
293
293
|
buttonText?: string;
|
|
294
294
|
showVenue?: boolean;
|
|
@@ -319,7 +319,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
319
319
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
320
320
|
seeAllUrl?: string;
|
|
321
321
|
loadMoreText?: string;
|
|
322
|
-
cardVariant?: import("../..").
|
|
322
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
323
323
|
buttonVariant?: import("../..").ButtonVariant;
|
|
324
324
|
buttonText?: string;
|
|
325
325
|
showVenue?: boolean;
|
|
@@ -438,7 +438,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
438
438
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
439
439
|
seeAllUrl?: string;
|
|
440
440
|
loadMoreText?: string;
|
|
441
|
-
cardVariant?: import("../..").
|
|
441
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
442
442
|
buttonVariant?: import("../..").ButtonVariant;
|
|
443
443
|
buttonText?: string;
|
|
444
444
|
showVenue?: boolean;
|
|
@@ -509,7 +509,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
509
509
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
510
510
|
seeAllUrl?: string;
|
|
511
511
|
loadMoreText?: string;
|
|
512
|
-
cardVariant?: import("../..").
|
|
512
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
513
513
|
buttonVariant?: import("../..").ButtonVariant;
|
|
514
514
|
buttonText?: string;
|
|
515
515
|
showVenue?: boolean;
|
|
@@ -540,7 +540,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
540
540
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
541
541
|
seeAllUrl?: string;
|
|
542
542
|
loadMoreText?: string;
|
|
543
|
-
cardVariant?: import("../..").
|
|
543
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
544
544
|
buttonVariant?: import("../..").ButtonVariant;
|
|
545
545
|
buttonText?: string;
|
|
546
546
|
showVenue?: boolean;
|
|
@@ -2823,7 +2823,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2823
2823
|
blockContent?: unknown;
|
|
2824
2824
|
fragmentRegistry?: unknown;
|
|
2825
2825
|
pathBase?: string;
|
|
2826
|
-
|
|
2826
|
+
'data-preview-site-chrome-surface'?: string;
|
|
2827
2827
|
} & {
|
|
2828
2828
|
children?: React.ReactNode | undefined;
|
|
2829
2829
|
}>;
|
|
@@ -119,7 +119,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
119
119
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
120
120
|
seeAllUrl?: string;
|
|
121
121
|
loadMoreText?: string;
|
|
122
|
-
cardVariant?: import("../..").
|
|
122
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
123
123
|
buttonVariant?: import("../..").ButtonVariant;
|
|
124
124
|
buttonText?: string;
|
|
125
125
|
showVenue?: boolean;
|
|
@@ -190,7 +190,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
190
190
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
191
191
|
seeAllUrl?: string;
|
|
192
192
|
loadMoreText?: string;
|
|
193
|
-
cardVariant?: import("../..").
|
|
193
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
194
194
|
buttonVariant?: import("../..").ButtonVariant;
|
|
195
195
|
buttonText?: string;
|
|
196
196
|
showVenue?: boolean;
|
|
@@ -221,7 +221,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
221
221
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
222
222
|
seeAllUrl?: string;
|
|
223
223
|
loadMoreText?: string;
|
|
224
|
-
cardVariant?: import("../..").
|
|
224
|
+
cardVariant?: import("../..").EventCardVariantInput;
|
|
225
225
|
buttonVariant?: import("../..").ButtonVariant;
|
|
226
226
|
buttonText?: string;
|
|
227
227
|
showVenue?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type
|
|
1
|
+
export type HeaderChromeRuntimeOptions = {
|
|
2
2
|
/**
|
|
3
3
|
* Enables scroll-aware styling (`header-scrolled` toggling).
|
|
4
4
|
* If omitted, inferred from DOM (`.rb-header-shrink` class on the section target).
|
|
@@ -10,6 +10,14 @@ type HeaderSectionEnhanceOptions = {
|
|
|
10
10
|
*/
|
|
11
11
|
scrollTarget?: HTMLElement | null;
|
|
12
12
|
};
|
|
13
|
+
export type HeaderChromeRuntimeMountResult = Readonly<{
|
|
14
|
+
kind: 'mounted';
|
|
15
|
+
dispose: () => void;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'already-mounted';
|
|
18
|
+
} | {
|
|
19
|
+
kind: 'not-applicable';
|
|
20
|
+
}>;
|
|
13
21
|
type DropdownPlacementInput = Readonly<{
|
|
14
22
|
left: number;
|
|
15
23
|
right: number;
|
|
@@ -30,5 +38,5 @@ export declare function planDropdownViewportShift(input: DropdownPlacementInput)
|
|
|
30
38
|
* - Mobile dropdown toggles
|
|
31
39
|
* - Optional scroll-aware styling (`header-scrolled`)
|
|
32
40
|
*/
|
|
33
|
-
export declare function
|
|
41
|
+
export declare function mountHeaderChromeRuntime(root: HTMLElement, options?: HeaderChromeRuntimeOptions): HeaderChromeRuntimeMountResult;
|
|
34
42
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonVariant, CardOrientation, CardVariant, ColumnOption, EventBlockKind, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
|
|
1
|
+
import type { ButtonVariant, CardOrientation, CardVariant, ColumnOption, EventBlockKind, EventCardVariantInput, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
|
|
2
2
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
3
|
export type EventListingSourceProps = Readonly<{
|
|
4
4
|
events?: PublicEvent[] | null;
|
|
@@ -11,7 +11,7 @@ export type EventListingSourceProps = Readonly<{
|
|
|
11
11
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
12
12
|
seeAllUrl?: string;
|
|
13
13
|
loadMoreText?: string;
|
|
14
|
-
cardVariant?:
|
|
14
|
+
cardVariant?: EventCardVariantInput;
|
|
15
15
|
buttonVariant?: ButtonVariant;
|
|
16
16
|
buttonText?: string;
|
|
17
17
|
showVenue?: boolean;
|
|
@@ -87,7 +87,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
87
87
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
88
88
|
seeAllUrl?: string;
|
|
89
89
|
loadMoreText?: string;
|
|
90
|
-
cardVariant?:
|
|
90
|
+
cardVariant?: EventCardVariantInput;
|
|
91
91
|
buttonVariant?: ButtonVariant;
|
|
92
92
|
buttonText?: string;
|
|
93
93
|
showVenue?: boolean;
|
|
@@ -158,7 +158,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
158
158
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
159
159
|
seeAllUrl?: string;
|
|
160
160
|
loadMoreText?: string;
|
|
161
|
-
cardVariant?:
|
|
161
|
+
cardVariant?: EventCardVariantInput;
|
|
162
162
|
buttonVariant?: ButtonVariant;
|
|
163
163
|
buttonText?: string;
|
|
164
164
|
showVenue?: boolean;
|
|
@@ -189,7 +189,7 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
189
189
|
paginationMode?: "loadMore" | "seeAllLink";
|
|
190
190
|
seeAllUrl?: string;
|
|
191
191
|
loadMoreText?: string;
|
|
192
|
-
cardVariant?:
|
|
192
|
+
cardVariant?: EventCardVariantInput;
|
|
193
193
|
buttonVariant?: ButtonVariant;
|
|
194
194
|
buttonText?: string;
|
|
195
195
|
showVenue?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant,
|
|
2
|
+
import type { ButtonVariant, ColumnOption, EventCardVariantInput, EventLayout, FilterAutoShow, PublicEvent } from '../../../blocks/events/shared/types';
|
|
3
3
|
type EventListingProps = Readonly<{
|
|
4
4
|
blockId?: string | null;
|
|
5
5
|
events?: PublicEvent[] | null;
|
|
@@ -12,7 +12,7 @@ type EventListingProps = Readonly<{
|
|
|
12
12
|
paginationMode?: 'loadMore' | 'seeAllLink';
|
|
13
13
|
seeAllUrl?: string;
|
|
14
14
|
loadMoreText?: string;
|
|
15
|
-
cardVariant?:
|
|
15
|
+
cardVariant?: EventCardVariantInput;
|
|
16
16
|
buttonVariant?: ButtonVariant;
|
|
17
17
|
buttonText?: string;
|
|
18
18
|
showVenue?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent,
|
|
2
|
+
import type { PublicEvent, EventCardVariantInput, ButtonVariant, EventLayout } from '../../../blocks/events/shared/types';
|
|
3
3
|
type EventSpotlightProps = {
|
|
4
4
|
events?: PublicEvent[] | null;
|
|
5
5
|
layout?: EventLayout;
|
|
6
6
|
columns?: '2' | '3';
|
|
7
|
-
cardVariant?:
|
|
7
|
+
cardVariant?: EventCardVariantInput;
|
|
8
8
|
buttonVariant?: ButtonVariant;
|
|
9
9
|
buttonText?: string;
|
|
10
10
|
ctaLabel?: string | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant, CardOrientation,
|
|
2
|
+
import type { ButtonVariant, CardOrientation, EventCardVariantInput, PublicEvent } from '../../../../blocks/events/shared/types';
|
|
3
3
|
type EventCardProps = {
|
|
4
4
|
event: PublicEvent;
|
|
5
|
-
cardVariant?:
|
|
5
|
+
cardVariant?: EventCardVariantInput;
|
|
6
6
|
buttonVariant?: ButtonVariant;
|
|
7
7
|
buttonText?: string;
|
|
8
8
|
showVenue?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PublicEvent, ButtonVariant,
|
|
2
|
+
import type { PublicEvent, ButtonVariant, EventCardVariantInput } from '../../../../blocks/events/shared/types';
|
|
3
3
|
type EventDetailModalProps = {
|
|
4
4
|
event: PublicEvent;
|
|
5
5
|
showCapacity: boolean;
|
|
6
6
|
onClose: () => void;
|
|
7
|
-
cardVariant?:
|
|
7
|
+
cardVariant?: EventCardVariantInput;
|
|
8
8
|
buttonVariant?: ButtonVariant;
|
|
9
9
|
buttonText?: string;
|
|
10
10
|
showMap?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ButtonVariant,
|
|
2
|
+
import type { ButtonVariant, EventCardVariantInput } from '../../../../blocks/events/shared/types';
|
|
3
3
|
type EventModalsProps = {
|
|
4
4
|
showCapacity: boolean;
|
|
5
|
-
cardVariant?:
|
|
5
|
+
cardVariant?: EventCardVariantInput;
|
|
6
6
|
buttonVariant?: ButtonVariant;
|
|
7
7
|
buttonText?: string;
|
|
8
8
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FeatureCardIconInputContent, FeatureCardIconTreatment } from '../../blocks/feature-card-icons';
|
|
3
|
+
type FeatureCardIconNodeProps = {
|
|
4
|
+
value?: unknown;
|
|
5
|
+
treatment?: FeatureCardIconTreatment | null;
|
|
6
|
+
className?: string;
|
|
7
|
+
generatedAssets?: unknown;
|
|
8
|
+
blockContent?: {
|
|
9
|
+
cards?: readonly FeatureCardIconInputContent[] | null;
|
|
10
|
+
} | null;
|
|
11
|
+
};
|
|
12
|
+
export declare const FeatureCardIconNode: React.FC<FeatureCardIconNodeProps>;
|
|
13
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type HeaderSectionNodeProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
blockId?: string;
|
|
@@ -6,7 +6,7 @@ type HeaderSectionNodeProps = React.PropsWithChildren<{
|
|
|
6
6
|
blockContent?: unknown;
|
|
7
7
|
fragmentRegistry?: unknown;
|
|
8
8
|
pathBase?: string;
|
|
9
|
-
|
|
9
|
+
'data-preview-site-chrome-surface'?: string;
|
|
10
10
|
[key: string]: unknown;
|
|
11
11
|
}>;
|
|
12
12
|
declare const _default: import("../header/shared").EditableSurfaceForwardingComponent<HeaderSectionNodeProps>;
|
|
@@ -60,6 +60,9 @@ export declare const boxStylesCompositeTransform: TransformDefinition<{
|
|
|
60
60
|
baseClass?: string;
|
|
61
61
|
includeSpacing?: boolean;
|
|
62
62
|
}>;
|
|
63
|
+
export declare const cardVariantClassTransform: TransformDefinition<{
|
|
64
|
+
baseClass?: string;
|
|
65
|
+
}>;
|
|
63
66
|
export declare const boxStylesBorderColorTransform: TransformDefinition<{
|
|
64
67
|
fallbackToken?: string;
|
|
65
68
|
returnEmptyForDefault?: boolean;
|
|
@@ -2,6 +2,12 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { ThemeHeader } from '../../../../../theme-core/src/schema';
|
|
3
3
|
import type { ThemeTokens } from '../../theme';
|
|
4
4
|
import { type TransformDefinition } from './core';
|
|
5
|
+
declare const headerLogoClassSchema: z.ZodObject<{
|
|
6
|
+
base: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const headerLogoClassTransform: TransformDefinition<z.infer<typeof headerLogoClassSchema>>;
|
|
9
|
+
export declare const headerLogoMediaClassTransform: TransformDefinition<z.infer<typeof headerLogoClassSchema>>;
|
|
10
|
+
export declare const headerLogoTextVisibleTransform: TransformDefinition;
|
|
5
11
|
declare const maxWidthClassSchema: z.ZodObject<{
|
|
6
12
|
base: z.ZodOptional<z.ZodString>;
|
|
7
13
|
container: z.ZodOptional<z.ZodString>;
|
|
@@ -81,6 +87,8 @@ declare const footerBottomBarContainerClassSchema: z.ZodObject<{
|
|
|
81
87
|
export declare const footerBottomBarContainerClassTransform: TransformDefinition<z.infer<typeof footerBottomBarContainerClassSchema>>;
|
|
82
88
|
export declare const footerBottomBarStyleTransform: TransformDefinition;
|
|
83
89
|
export declare const footerSplitNavSingleClassTransform: TransformDefinition;
|
|
90
|
+
export declare const footerSimpleRootClassTransform: TransformDefinition;
|
|
91
|
+
export declare const footerSimpleNavClassTransform: TransformDefinition;
|
|
84
92
|
declare const footerSplitMainClassSchema: z.ZodObject<{
|
|
85
93
|
base: z.ZodOptional<z.ZodString>;
|
|
86
94
|
reverseClass: z.ZodOptional<z.ZodString>;
|
|
@@ -88,6 +96,7 @@ declare const footerSplitMainClassSchema: z.ZodObject<{
|
|
|
88
96
|
export declare const footerSplitMainClassTransform: TransformDefinition<z.infer<typeof footerSplitMainClassSchema>>;
|
|
89
97
|
declare const footerLogoClassSchema: z.ZodObject<{
|
|
90
98
|
base: z.ZodOptional<z.ZodString>;
|
|
99
|
+
requireExplicitShow: z.ZodOptional<z.ZodBoolean>;
|
|
91
100
|
}, z.core.$strip>;
|
|
92
101
|
export declare const footerLogoClassTransform: TransformDefinition<z.infer<typeof footerLogoClassSchema>>;
|
|
93
102
|
declare const footerLogoMediaClassSchema: z.ZodObject<{
|