@riverbankcms/sdk 0.79.0 → 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/dist/PreviewEditorSidebar-QZG37QIF.mjs +2655 -0
- package/dist/{PreviewEditorUI-27KJVEET.mjs → PreviewEditorUI-AXIKSMZA.mjs} +27 -4
- package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +20 -0
- package/dist/_dts/api/src/endpoints.d.ts +24 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/siteInfrastructure.d.ts +124 -0
- package/dist/_dts/api/src/siteOnboarding.d.ts +13 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +10 -1
- 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 +1 -1
- 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/testimonials.d.ts +7 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +21 -12
- 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 +5 -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/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/db/src/generated/supabase/database.types.d.ts +9 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +6 -4
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -6
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -1
- 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 +4 -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/previewCustomizeEditorDraftPatch.d.ts +13 -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/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +56 -0
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +6 -3
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- 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 +156 -18
- 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 +446 -52
- 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 +110 -1
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -0
- 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 +2 -8
- 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/{PreviewEditorSidebar-56NMJMIK.mjs → chunk-5NZGBSJF.mjs} +1423 -2451
- package/dist/{chunk-4HCW7FHJ.mjs → chunk-7PCYG6YV.mjs} +215 -137
- package/dist/{chunk-K2IIF34C.mjs → chunk-BBLZSQEY.mjs} +24 -0
- package/dist/{chunk-V47ZU33I.mjs → chunk-GYXKAUFV.mjs} +2785 -785
- package/dist/{chunk-GP555I66.mjs → chunk-HTB4BMKD.mjs} +94 -46
- package/dist/{chunk-A3HHFKVT.mjs → chunk-MPBNEVPB.mjs} +1 -1
- package/dist/cli/index.mjs +2100 -545
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +16 -4
- package/dist/client/{accordion-QLA7KBYO.mjs → accordion-QFZMNB7O.mjs} +1 -1
- package/dist/client/{bookingForm-PYZIPA5G.mjs → bookingForm-NCIXFWIG.mjs} +3 -3
- package/dist/client/bookings.mjs +1144 -329
- package/dist/client/{carousel-5EIULWBI.mjs → carousel-EO4BJMWD.mjs} +2 -2
- package/dist/client/{cart-DOP3FNI4.mjs → cart-FTYCLYUW.mjs} +5 -5
- package/dist/client/{checkout-BVMF6FBV.mjs → checkout-NFGLVCOX.mjs} +5 -5
- package/dist/client/{chunk-TYONZMST.mjs → chunk-4W66ALYT.mjs} +1 -1
- package/dist/client/{chunk-44K2U3QI.mjs → chunk-6GVVWSPU.mjs} +4 -4
- package/dist/client/{chunk-UDS3NTWA.mjs → chunk-IWFZSQNZ.mjs} +1 -1
- package/dist/client/{chunk-R5ESWNKX.mjs → chunk-PUOELU4O.mjs} +89 -5
- package/dist/client/{chunk-YLDYVRZL.mjs → chunk-PYRBIURC.mjs} +4 -4
- package/dist/client/{chunk-GG4M2NP6.mjs → chunk-T6UIP6UZ.mjs} +1 -1
- package/dist/client/{chunk-V6M5FCR5.mjs → chunk-VDS5YFLX.mjs} +1 -1
- package/dist/client/{chunk-CCNTDRCF.mjs → chunk-Y37KDO7P.mjs} +1 -1
- package/dist/client/client.mjs +4205 -2324
- package/dist/client/{courseRegistration-E6EAA6NL.mjs → courseRegistration-2EORROPS.mjs} +3 -3
- package/dist/client/{eventCalendar-HBG3HAK6.mjs → eventCalendar-WZI4VL6N.mjs} +5 -5
- package/dist/client/{eventCombined-6K5ZZWAK.mjs → eventCombined-QCB2TCNL.mjs} +5 -5
- package/dist/client/{eventDetails-Q75ICXLT.mjs → eventDetails-TFTATAPH.mjs} +5 -5
- package/dist/client/{eventListing-27P5F7DZ.mjs → eventListing-A2CQEHEQ.mjs} +5 -5
- package/dist/client/{eventRegistration-IQ7AMASR.mjs → eventRegistration-OELPVLUY.mjs} +5 -5
- package/dist/client/{form-JRTD65FN.mjs → form-NTIFD6WQ.mjs} +1 -1
- package/dist/client/{headerSection-7FPSSZHS.mjs → headerSection-7TBNKCLA.mjs} +65 -24
- package/dist/client/hooks.mjs +3354 -2006
- package/dist/client/{locationMap-7NGFNYBH.mjs → locationMap-LRLB5A3H.mjs} +1 -1
- package/dist/client/{newsletterForm-F3BADCI2.mjs → newsletterForm-XI52RZSN.mjs} +1 -1
- package/dist/client/{productDetail-V3HP7ITJ.mjs → productDetail-GSNKBFLY.mjs} +5 -5
- package/dist/client/{productList-L3EGJUF2.mjs → productList-BGCGT4KZ.mjs} +5 -5
- package/dist/client/rendering/client.mjs +2570 -1657
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +4275 -2394
- package/dist/client/{shop-DQUB5E2C.mjs → shop-RQHUCLNY.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +24 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +24 -0
- package/dist/{sdk-runtime-AF6KXJU4.mjs → sdk-runtime-A4LHT2RS.mjs} +6 -6
- package/dist/server/components.mjs +4063 -2293
- package/dist/server/config-validation.mjs +3525 -2176
- package/dist/server/config.mjs +3525 -2176
- package/dist/server/data.mjs +3354 -2006
- package/dist/server/index.mjs +25 -1
- package/dist/server/next.mjs +4006 -2236
- package/dist/server/page-converter.mjs +2747 -1816
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4063 -2293
- package/dist/server/rendering.mjs +4063 -2293
- package/dist/server/routing.mjs +3508 -2111
- package/dist/server/server.mjs +3372 -2024
- package/dist/server/theme-bridge.mjs +1436 -310
- package/dist/server/theme.mjs +409 -219
- package/dist/styles/index.css +300 -33
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +0 -8
- package/dist/chunk-LCY32PXF.mjs +0 -1175
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { type MediaAssetId } from '../../../../core/src/index';
|
|
2
|
+
import { type AppearancePresetId, type LayoutVariantKey } from '../../../../theme-core/src/site-styles/index';
|
|
2
3
|
import { type ThemeColorToken } from '../../../../theme-core/src/tokens/index';
|
|
3
|
-
import type { AppearancePresetId, LayoutVariantKey } from '../../../../theme-core/src/site-styles/index';
|
|
4
4
|
export type BackgroundMode = 'default' | 'color' | 'gradient' | 'image';
|
|
5
5
|
export type BackgroundModeCycleDirection = 'prev' | 'next';
|
|
6
|
+
export type BackgroundColorToken = ThemeColorToken & {
|
|
7
|
+
readonly __backgroundColorTokenBrand: 'BackgroundColorToken';
|
|
8
|
+
};
|
|
6
9
|
export type GradientPresetId = string & {
|
|
7
10
|
readonly __brand: 'GradientPresetId';
|
|
8
11
|
};
|
|
@@ -10,7 +13,7 @@ export type BackgroundOverride = Readonly<{
|
|
|
10
13
|
kind: 'default';
|
|
11
14
|
}> | Readonly<{
|
|
12
15
|
kind: 'color';
|
|
13
|
-
token:
|
|
16
|
+
token: BackgroundColorToken;
|
|
14
17
|
}> | Readonly<{
|
|
15
18
|
kind: 'gradient';
|
|
16
19
|
gradientId: GradientPresetId;
|
|
@@ -46,9 +49,9 @@ export type BackgroundModeCapability = Readonly<{
|
|
|
46
49
|
kind: 'default';
|
|
47
50
|
}> | Readonly<{
|
|
48
51
|
kind: 'color';
|
|
49
|
-
recommendedTokens: readonly
|
|
50
|
-
advancedTokens: readonly
|
|
51
|
-
selectableTokens: readonly
|
|
52
|
+
recommendedTokens: readonly BackgroundColorToken[];
|
|
53
|
+
advancedTokens: readonly BackgroundColorToken[];
|
|
54
|
+
selectableTokens: readonly BackgroundColorToken[];
|
|
52
55
|
treatment: BackgroundContrastTreatment;
|
|
53
56
|
}> | Readonly<{
|
|
54
57
|
kind: 'gradient';
|
|
@@ -62,9 +65,9 @@ export type BackgroundModeCapability = Readonly<{
|
|
|
62
65
|
export type BackgroundCapability = Readonly<{
|
|
63
66
|
modeCapabilities: readonly BackgroundModeCapability[];
|
|
64
67
|
modes: readonly BackgroundMode[];
|
|
65
|
-
recommendedColorTokens?: readonly
|
|
66
|
-
advancedColorTokens?: readonly
|
|
67
|
-
colorTokens?: readonly
|
|
68
|
+
recommendedColorTokens?: readonly BackgroundColorToken[];
|
|
69
|
+
advancedColorTokens?: readonly BackgroundColorToken[];
|
|
70
|
+
colorTokens?: readonly BackgroundColorToken[];
|
|
68
71
|
gradientIds?: readonly GradientPresetId[];
|
|
69
72
|
imagePool?: readonly BackgroundImagePoolItem[];
|
|
70
73
|
colorTreatment?: BackgroundContrastTreatment;
|
|
@@ -79,7 +82,7 @@ export type BackgroundTransitionAction = Readonly<{
|
|
|
79
82
|
direction: BackgroundModeCycleDirection;
|
|
80
83
|
}> | Readonly<{
|
|
81
84
|
kind: 'choose-color';
|
|
82
|
-
token:
|
|
85
|
+
token: BackgroundColorToken;
|
|
83
86
|
}> | Readonly<{
|
|
84
87
|
kind: 'choose-gradient';
|
|
85
88
|
gradientId: GradientPresetId;
|
|
@@ -142,6 +145,7 @@ export type BackgroundCapabilityLookOption = Readonly<{
|
|
|
142
145
|
export type ResolveBackgroundCapabilityInput = Readonly<{
|
|
143
146
|
block: BackgroundCapabilityBlock;
|
|
144
147
|
imagePool?: readonly BackgroundImagePoolItem[];
|
|
148
|
+
palette?: BackgroundColorPalette | null;
|
|
145
149
|
}>;
|
|
146
150
|
export declare const BACKGROUND_MODES: readonly ["default", "color", "gradient", "image"];
|
|
147
151
|
export declare const DEFAULT_BACKGROUND_OVERRIDE: BackgroundOverride;
|
|
@@ -149,9 +153,14 @@ export declare const BACKGROUND_CUSTOMIZABLE_BLOCK_KINDS: readonly ["block.hero"
|
|
|
149
153
|
export declare const BACKGROUND_RICH_LAYOUT_FAMILIES: readonly ["split"];
|
|
150
154
|
export declare const BACKGROUND_RICH_SECTION_SURFACES: readonly ["hero-image"];
|
|
151
155
|
export declare function isBackgroundCustomizableBlockKind(blockKind: string): boolean;
|
|
152
|
-
export
|
|
153
|
-
export declare const
|
|
154
|
-
export declare const
|
|
156
|
+
export type BackgroundColorPalette = Readonly<Record<string, string | null | undefined>>;
|
|
157
|
+
export declare const backgroundColorTokens: readonly BackgroundColorToken[];
|
|
158
|
+
export declare const recommendedBackgroundColorTokens: readonly BackgroundColorToken[];
|
|
159
|
+
export declare const advancedBackgroundColorTokens: BackgroundColorToken[];
|
|
160
|
+
export declare function parseBackgroundColorToken(value: unknown): BackgroundColorToken | null;
|
|
161
|
+
export declare function isBackgroundColorToken(value: unknown): value is BackgroundColorToken;
|
|
162
|
+
export declare function foregroundTokenForBackgroundColorToken(token: BackgroundColorToken): string;
|
|
163
|
+
export declare function dedupeBackgroundColorTokensByPalette(tokens: readonly BackgroundColorToken[], palette: BackgroundColorPalette): readonly BackgroundColorToken[];
|
|
155
164
|
export declare function parseGradientPresetId(value: unknown): GradientPresetId | null;
|
|
156
165
|
export declare function isGradientPresetId(value: unknown): value is GradientPresetId;
|
|
157
166
|
export declare function backgroundModeForOverride(override: BackgroundOverride): BackgroundMode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ModalFieldDefinition } from '../manifest/schema';
|
|
2
|
-
import type { AccordionIconTreatment, EyebrowTreatment, EventListTreatment,
|
|
2
|
+
import type { AccordionIconTreatment, EyebrowTreatment, EventListTreatment, HeadingDecorationOverride, PageDesignEditorBackgroundOverrideOwner, TileTreatment } from '../../../../theme-core/src/site-styles/index';
|
|
3
3
|
import type { Media } from '../../lib/media';
|
|
4
4
|
/**
|
|
5
5
|
* Options for customizing a section styles field.
|
|
@@ -59,9 +59,12 @@ type CardStylesOptions = {
|
|
|
59
59
|
export type SectionStylesContent = {
|
|
60
60
|
background?: {
|
|
61
61
|
type?: 'color' | 'gradient' | 'image';
|
|
62
|
+
contentOwner?: PageDesignEditorBackgroundOverrideOwner | null;
|
|
62
63
|
color?: string | null;
|
|
63
64
|
/** CSS gradient string (e.g., "linear-gradient(...)") */
|
|
64
65
|
gradient?: string | null;
|
|
66
|
+
/** Curated gradient preset identifier. */
|
|
67
|
+
gradientPresetId?: string | null;
|
|
65
68
|
image?: Media | null;
|
|
66
69
|
objectFit?: 'fill' | 'fit' | 'original' | 'custom' | null;
|
|
67
70
|
scale?: string | null;
|
|
@@ -84,7 +87,6 @@ export type SectionStylesContent = {
|
|
|
84
87
|
tileTreatment?: TileTreatment | null;
|
|
85
88
|
eventListTreatment?: EventListTreatment | null;
|
|
86
89
|
eyebrowTreatment?: EyebrowTreatment | null;
|
|
87
|
-
headingDecoration?: HeadingDecoration | null;
|
|
88
90
|
headingDecorationOverride?: HeadingDecorationOverride | null;
|
|
89
91
|
accordionIconTreatment?: AccordionIconTreatment | null;
|
|
90
92
|
} | null;
|
|
@@ -20,6 +20,11 @@ export declare function buildCarouselLayout(): NodeDefinition;
|
|
|
20
20
|
* Renders testimonials in a responsive grid with configurable columns.
|
|
21
21
|
*/
|
|
22
22
|
export declare function buildGridLayout(): NodeDefinition;
|
|
23
|
+
/**
|
|
24
|
+
* Build the highlight layout: a single, centered testimonial with no carousel.
|
|
25
|
+
* Renders only the first entry regardless of how many are configured.
|
|
26
|
+
*/
|
|
27
|
+
export declare function buildHighlightLayout(): NodeDefinition;
|
|
23
28
|
/**
|
|
24
29
|
* Build just the responsive testimonial card grid, for variants that place
|
|
25
30
|
* heading copy in a sibling column instead of above the cards.
|
|
@@ -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
|
};
|
|
@@ -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<{
|
|
@@ -18,6 +18,13 @@ export declare const transformDefinitions: {
|
|
|
18
18
|
stickyTransparent?: string | undefined;
|
|
19
19
|
invert?: string | undefined;
|
|
20
20
|
}>;
|
|
21
|
+
readonly "layout.headerLogoClass": TransformDefinition<{
|
|
22
|
+
base?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
readonly "layout.headerLogoMediaClass": TransformDefinition<{
|
|
25
|
+
base?: string | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
readonly "layout.headerLogoTextVisible": TransformDefinition;
|
|
21
28
|
readonly "layout.footerRootClass": TransformDefinition<{
|
|
22
29
|
base?: string | undefined;
|
|
23
30
|
surface?: string | undefined;
|
|
@@ -41,8 +48,11 @@ export declare const transformDefinitions: {
|
|
|
41
48
|
base?: string | undefined;
|
|
42
49
|
reverseClass?: string | undefined;
|
|
43
50
|
}>;
|
|
51
|
+
readonly "layout.footerSimpleRootClass": TransformDefinition;
|
|
52
|
+
readonly "layout.footerSimpleNavClass": TransformDefinition;
|
|
44
53
|
readonly "layout.footerLogoClass": TransformDefinition<{
|
|
45
54
|
base?: string | undefined;
|
|
55
|
+
requireExplicitShow?: boolean | undefined;
|
|
46
56
|
}>;
|
|
47
57
|
readonly "layout.footerLogoMediaClass": TransformDefinition<{
|
|
48
58
|
base?: string | undefined;
|
|
@@ -92,6 +102,9 @@ export declare const transformDefinitions: {
|
|
|
92
102
|
readonly "boxStyles.semanticGapValue": TransformDefinition<{
|
|
93
103
|
fallback?: import("../spacing").SemanticSpacing;
|
|
94
104
|
}>;
|
|
105
|
+
readonly "boxStyles.cardVariantClass": TransformDefinition<{
|
|
106
|
+
baseClass?: string;
|
|
107
|
+
}>;
|
|
95
108
|
};
|
|
96
109
|
export type TransformId = keyof typeof transformDefinitions;
|
|
97
110
|
type OptionsOf<T> = T extends TransformDefinition<infer O> ? O : never;
|
|
@@ -112,7 +125,7 @@ export declare function bindProp(from: string, opts?: {
|
|
|
112
125
|
readonly $bind: {
|
|
113
126
|
readonly pick?: "value" | "collection" | "context" | undefined;
|
|
114
127
|
readonly fallback?: {} | null | undefined;
|
|
115
|
-
readonly transforms?: TransformStep<"date.formatShort" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "ui.sectionStateTone" | "string.uppercase" | "value.fallback" | "value.csv" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.headerSectionBackground" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "media.fromUrl" | "content.interpolateRichTextTokens" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerSplitMainClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
|
|
128
|
+
readonly transforms?: TransformStep<"date.formatShort" | "boxStyles.cardVariantClass" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "ui.sectionStateTone" | "string.uppercase" | "value.fallback" | "value.csv" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.headerSectionBackground" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "media.fromUrl" | "content.interpolateRichTextTokens" | "layout.headerLogoClass" | "layout.headerLogoMediaClass" | "layout.headerLogoTextVisible" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerSimpleRootClass" | "layout.footerSimpleNavClass" | "layout.footerSplitMainClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
|
|
116
129
|
readonly from: string;
|
|
117
130
|
};
|
|
118
131
|
};
|
|
@@ -14162,7 +14162,9 @@ export type Database = {
|
|
|
14162
14162
|
last_success_at: string | null;
|
|
14163
14163
|
last_triggered_at: string | null;
|
|
14164
14164
|
name: string;
|
|
14165
|
-
secret: string;
|
|
14165
|
+
secret: string | null;
|
|
14166
|
+
secret_encrypted: string | null;
|
|
14167
|
+
secret_key_version: string | null;
|
|
14166
14168
|
site_id: string;
|
|
14167
14169
|
updated_at: string;
|
|
14168
14170
|
url: string;
|
|
@@ -14177,7 +14179,9 @@ export type Database = {
|
|
|
14177
14179
|
last_success_at?: string | null;
|
|
14178
14180
|
last_triggered_at?: string | null;
|
|
14179
14181
|
name?: string;
|
|
14180
|
-
secret
|
|
14182
|
+
secret?: string | null;
|
|
14183
|
+
secret_encrypted?: string | null;
|
|
14184
|
+
secret_key_version?: string | null;
|
|
14181
14185
|
site_id: string;
|
|
14182
14186
|
updated_at?: string;
|
|
14183
14187
|
url: string;
|
|
@@ -14192,7 +14196,9 @@ export type Database = {
|
|
|
14192
14196
|
last_success_at?: string | null;
|
|
14193
14197
|
last_triggered_at?: string | null;
|
|
14194
14198
|
name?: string;
|
|
14195
|
-
secret?: string;
|
|
14199
|
+
secret?: string | null;
|
|
14200
|
+
secret_encrypted?: string | null;
|
|
14201
|
+
secret_key_version?: string | null;
|
|
14196
14202
|
site_id?: string;
|
|
14197
14203
|
updated_at?: string;
|
|
14198
14204
|
url?: string;
|
|
@@ -8,8 +8,7 @@ import type { Theme } from '../../../blocks/src/index';
|
|
|
8
8
|
import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
|
|
9
9
|
import { type BlockActionControlMode } from './actionControlMode';
|
|
10
10
|
import { type ReorderControlMode } from './reorderControlMode';
|
|
11
|
-
import type { GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
12
|
-
import type { getFeatureCardIconDialogCards } from './featureCardIconActions';
|
|
11
|
+
import type { GeneratedIconSetGenerateInput, GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
13
12
|
import type { ArrayKeysManager, BlockFocusRequest, BlockItem, UiStore, DraftsSlice, UiSlice } from './types';
|
|
14
13
|
/** Drag listener props from dnd-kit */
|
|
15
14
|
type DragListeners = SyntheticListenerMap | undefined;
|
|
@@ -52,10 +51,7 @@ export declare function BlockCard({ siteId, block, manifest, isFirst, isLast, is
|
|
|
52
51
|
currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
|
|
53
52
|
iconStyleGuideSummary?: string | null;
|
|
54
53
|
iconStyleGuideEditHref?: string | null;
|
|
55
|
-
onGenerateIconSet?: (input:
|
|
56
|
-
userStyleNote: string | null;
|
|
57
|
-
cards: ReturnType<typeof getFeatureCardIconDialogCards>;
|
|
58
|
-
}>) => Promise<GeneratedIconSetGenerateResult>;
|
|
54
|
+
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
59
55
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
60
56
|
}): import("react/jsx-runtime").JSX.Element;
|
|
61
57
|
export {};
|
|
@@ -5,8 +5,7 @@ import type { ComponentProps } from 'react';
|
|
|
5
5
|
import type { BlockItem, BlockFocusRequest } from './types';
|
|
6
6
|
import type { FieldWidgetComponent } from '../../../block-form/src/client/index';
|
|
7
7
|
import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
|
|
8
|
-
import type { GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
9
|
-
import type { getFeatureCardIconDialogCards } from './featureCardIconActions';
|
|
8
|
+
import type { GeneratedIconSetGenerateInput, GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
10
9
|
export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, hideThemeV2RawStyleFields, pageDesignBlock, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, onApplyGeneratedIconSet, }: {
|
|
11
10
|
siteId: string;
|
|
12
11
|
block: BlockItem;
|
|
@@ -23,9 +22,6 @@ export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRec
|
|
|
23
22
|
currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
|
|
24
23
|
iconStyleGuideSummary?: string | null;
|
|
25
24
|
iconStyleGuideEditHref?: string | null;
|
|
26
|
-
onGenerateIconSet?: (input:
|
|
27
|
-
userStyleNote: string | null;
|
|
28
|
-
cards: ReturnType<typeof getFeatureCardIconDialogCards>;
|
|
29
|
-
}>) => Promise<GeneratedIconSetGenerateResult>;
|
|
25
|
+
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
30
26
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
31
27
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,8 +4,7 @@ import { type SiteIconStyleGuideVersionId, type SystemBlockDefinition, type Them
|
|
|
4
4
|
import { type BlockActionControlMode } from './actionControlMode';
|
|
5
5
|
import type { ReorderControlMode } from './reorderControlMode';
|
|
6
6
|
import type { BlockItem, UiStore, DraftsSlice, ArrayKeysManager } from './types';
|
|
7
|
-
import {
|
|
8
|
-
import { type GeneratedIconSetGenerateResult, type GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
7
|
+
import { type GeneratedIconSetGenerateInput, type GeneratedIconSetGenerateResult, type GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
9
8
|
/** Drag listener props from dnd-kit */
|
|
10
9
|
type DragListeners = SyntheticListenerMap | undefined;
|
|
11
10
|
type BlockCardHeaderStore = UiStore<{
|
|
@@ -36,10 +35,7 @@ export declare function BlockCardHeader({ block, manifest, isFirst, isLast, isMo
|
|
|
36
35
|
currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
|
|
37
36
|
iconStyleGuideSummary?: string | null;
|
|
38
37
|
iconStyleGuideEditHref?: string | null;
|
|
39
|
-
onGenerateIconSet?: (input:
|
|
40
|
-
userStyleNote: string | null;
|
|
41
|
-
cards: ReturnType<typeof getFeatureCardIconDialogCards>;
|
|
42
|
-
}>) => Promise<GeneratedIconSetGenerateResult>;
|
|
38
|
+
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
43
39
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
44
40
|
}): import("react/jsx-runtime").JSX.Element;
|
|
45
41
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
|
|
2
2
|
import type { BlockItem, DraftsSlice, UiStore } from './types';
|
|
3
|
-
import {
|
|
4
|
-
import { type GeneratedIconSetGenerateResult, type GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
3
|
+
import { type GeneratedIconSetGenerateInput, type GeneratedIconSetGenerateResult, type GeneratedIconSetPreview } from './GeneratedIconSetDialog';
|
|
5
4
|
type FeatureCardIconsPanelStore = UiStore<{
|
|
6
5
|
drafts: Pick<DraftsSlice, 'getCurrentValues' | 'setAtPath'>;
|
|
7
6
|
}>;
|
|
@@ -12,10 +11,7 @@ export declare function FeatureCardIconsPanel({ block, uiStore, currentStyleGuid
|
|
|
12
11
|
currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
|
|
13
12
|
iconStyleGuideSummary?: string | null;
|
|
14
13
|
iconStyleGuideEditHref?: string | null;
|
|
15
|
-
onGenerateIconSet?: (input:
|
|
16
|
-
userStyleNote: string | null;
|
|
17
|
-
cards: ReturnType<typeof getFeatureCardIconDialogCards>;
|
|
18
|
-
}>) => Promise<GeneratedIconSetGenerateResult>;
|
|
14
|
+
onGenerateIconSet?: (input: GeneratedIconSetGenerateInput) => Promise<GeneratedIconSetGenerateResult>;
|
|
19
15
|
onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
|
|
20
16
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
21
17
|
export {};
|