@riverbankcms/sdk 0.144.0 → 0.145.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-CQZNnFiM.mjs → PreviewEditorSidebar-O-V6Pl5a.mjs} +4 -4
- package/dist/{PreviewEditorUI-DCNxnmI0.mjs → PreviewEditorUI-1UlX_9cw.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BCYICImX.mjs → PreviewQueryProvider-BxGwdOCV.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BJolUbr1.mjs → SdkPreviewModeRuntime-DYbA_4iv.mjs} +419 -348
- package/dist/{SiteChromeCustomizeContext-CKgEpoxi.mjs → SiteChromeCustomizeContext-CNTKQ9nx.mjs} +2081 -1313
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4719 -66
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +429 -6
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/appointmentServiceCategoryEndpoints.d.ts +75 -0
- package/dist/_dts/api/src/appointmentServiceContracts.d.ts +80 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +8 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -12
- package/dist/_dts/api/src/communications.d.ts +14 -22
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -0
- package/dist/_dts/api/src/endpoints.d.ts +105 -58
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +2 -0
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +0 -23
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +3 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +35 -1
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/publicNewsletterEndpointDefinitions.d.ts +58 -0
- package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +3 -3
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -6
- package/dist/_dts/api/src/types.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -4
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -0
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/pageRenderJoins.d.ts +68 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -27
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +7 -4
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +40 -23
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +22 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +57 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-choices.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +13 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +20 -1
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/core/src/appointment-service-categories.d.ts +108 -0
- package/dist/_dts/core/src/editor-state.d.ts +6 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/public-profile.d.ts +9 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +663 -241
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +16 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +13 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +29 -0
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +1 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +8 -0
- package/dist/_dts/sdk/src/client/types.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +7 -2
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +2 -2
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -8
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/layout/boundaryCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +1 -3
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/joinTreatment.d.ts +132 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorBoundaries.d.ts +31 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +33 -29
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageFlowPresets.d.ts +36 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -10
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +17 -4
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +20 -74
- package/dist/_dts/theme-core/src/site-styles/sectionBoundaryComposition.d.ts +95 -0
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +80 -518
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/transitionCatalogue.d.ts +320 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -18
- package/dist/client/{BookingConsentAgreement-DoAILrkN.mjs → BookingConsentAgreement-DlVOmpW4.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-X528hUTf.mjs → DiscountCodeDisclosure-T9q623PQ.mjs} +1 -1
- package/dist/client/{EventCombined.client-DSBVwq5m.mjs → EventCombined.client-DnsUeONl.mjs} +6 -6
- package/dist/client/{EventListing.client-DmFAX7Vb.mjs → EventListing.client-CNBFqJS4.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BAqXdfhq.mjs → LeafletStaticMap-C7higg52.mjs} +1 -1
- package/dist/client/{ThemedButton-BwNFVwi4.mjs → ThemedButton-LAJTNrS8.mjs} +1 -1
- package/dist/client/{accordion-DRhMdkbd.mjs → accordion-BcNF9TjX.mjs} +1 -1
- package/dist/client/{bookingForm-iJ_nCsNF.mjs → bookingForm-BUaQ3S03.mjs} +142 -50
- package/dist/client/bookings.mjs +191 -64
- package/dist/client/{carousel-D8zuffZr.mjs → carousel-CTdF6e0V.mjs} +1 -1
- package/dist/client/{cart-DeMGJViN.mjs → cart-pGtyf_XU.mjs} +3 -3
- package/dist/client/{checkout-DXc06Km2.mjs → checkout-Da9WSn7Y.mjs} +3 -3
- package/dist/client/client.mjs +1630 -816
- package/dist/client/{context-CDLCfDep.mjs → context-BFeY_Wbm.mjs} +1 -1
- package/dist/client/{dates-ClFx7Epy.mjs → dates-BhwVSxDg.mjs} +2 -2
- package/dist/client/{eventCalendar-BaGpnOGN.mjs → eventCalendar-BAtdnR4s.mjs} +9 -9
- package/dist/client/{eventCombined-ywONOx2m.mjs → eventCombined-RksA3tRC.mjs} +4 -4
- package/dist/client/{eventDetails-B2LlOTYY.mjs → eventDetails-BB9hB4wR.mjs} +4 -4
- package/dist/client/{eventListing-CMgxWpqP.mjs → eventListing-BpJBkviM.mjs} +4 -4
- package/dist/client/{eventRegistration-BarLDNHR.mjs → eventRegistration-B18jFq_o.mjs} +8 -8
- package/dist/client/{form-BjqKaBJ7.mjs → form-Dodt8Y8t.mjs} +3 -3
- package/dist/client/{headerSection-CP4XDwz1.mjs → headerSection-B0qj9ttg.mjs} +3 -3
- package/dist/client/hooks.mjs +550 -99
- package/dist/client/{locationMap-C5gW-d-w.mjs → locationMap-gn-iMk7a.mjs} +3 -3
- package/dist/client/{newsletterForm-afXlVSA0.mjs → newsletterForm-oByLdFkr.mjs} +26 -5
- package/dist/client/{pricing-Bl1CAl28.mjs → pricing-BOU0_Hai.mjs} +1 -1
- package/dist/client/{productDetail-CvQ3jWQe.mjs → productDetail-D9v1zH2j.mjs} +3 -3
- package/dist/client/{productList-U874PGO7.mjs → productList-D-mItx1n.mjs} +3 -3
- package/dist/client/{propsDecoder-DPXtCZWP.mjs → propsDecoder-C3TP_z4x.mjs} +72 -33
- package/dist/client/rendering/client.mjs +900 -266
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +1637 -788
- package/dist/client/{routeIslandApiConfig-NGYiUWXu.mjs → routeIslandApiConfig-DzN1W0sq.mjs} +1 -1
- package/dist/client/{scrollToBlock-0-C3DVhK.mjs → scrollToBlock-CWs8EIdo.mjs} +1 -1
- package/dist/client/{shop-BXjXhM9P.mjs → shop-Dufw7N7o.mjs} +7 -7
- package/dist/client/{shop-commerce-BZ6UlWJ7.mjs → shop-commerce-gklw_hLF.mjs} +6 -6
- package/dist/client/{shop-commerce-store-DlSBXb3D.mjs → shop-commerce-store-Sf1eyTaZ.mjs} +1 -1
- package/dist/client/{shopShared-kkEOiLPA.mjs → shopShared-B5nyA41S.mjs} +4 -4
- package/dist/client/{useEventFilters-zvnnE1ro.mjs → useEventFilters-CLL829vy.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +147 -77
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +147 -77
- package/dist/preview-next/middleware.mjs +147 -77
- package/dist/{previewAuthStore-JA6-I_sL.mjs → previewAuthStore-BxAFlu-j.mjs} +147 -77
- package/dist/{sdk-runtime-DFJlQt3q.mjs → sdk-runtime-D0uZFev7.mjs} +2 -2
- package/dist/{separator-o8GHb1xh.mjs → separator-EvdCAn4V.mjs} +1 -1
- package/dist/server/components.mjs +1727 -991
- package/dist/server/config-validation.mjs +537 -97
- package/dist/server/config.mjs +537 -97
- package/dist/server/data.mjs +549 -98
- package/dist/server/index.mjs +159 -81
- package/dist/server/next.mjs +1460 -748
- package/dist/server/page-converter.mjs +384 -54
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1712 -973
- package/dist/server/rendering.mjs +1748 -1001
- package/dist/server/routing.mjs +624 -131
- package/dist/server/server.mjs +554 -138
- package/dist/server/theme-bridge.mjs +1192 -27
- package/dist/server/theme.mjs +6 -4
- package/package.json +2 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type BoundaryOptionId, type NonEmptyReadonlyArray, type SiteStyleSectionTransitionIntent } from './types';
|
|
2
|
+
import { type DecorativeTransitionFamilyId, type DecorativeTransitionIntent, type TransitionCatalogueEntry } from './transitionCatalogue';
|
|
2
3
|
export type BoundaryEdgeHeight = 'compact' | 'medium' | 'large' | 'expansive';
|
|
3
4
|
export type FadeCurve = 'soft' | 'spacious' | 'expansive';
|
|
4
5
|
export type WaveAmplitude = 'subtle' | 'balanced' | 'bold';
|
|
@@ -51,535 +52,96 @@ export type SectionTransitionFamily = Readonly<{
|
|
|
51
52
|
}>;
|
|
52
53
|
export type SectionBoundaryRuntimeSize = 'compact' | 'medium' | 'large' | 'spacious' | 'expansive';
|
|
53
54
|
export type SectionBoundaryRuntimeMetrics = Readonly<{
|
|
54
|
-
family:
|
|
55
|
+
family: DecorativeTransitionFamilyId;
|
|
55
56
|
size: SectionBoundaryRuntimeSize;
|
|
56
57
|
heightCss: string;
|
|
57
58
|
reserveCss: string;
|
|
58
59
|
}>;
|
|
59
|
-
export declare
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
readonly id: BoundaryOptionId;
|
|
131
|
-
readonly label: "None";
|
|
132
|
-
readonly transitionAfter: "none";
|
|
133
|
-
readonly treatment: {
|
|
134
|
-
readonly kind: "none";
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
export declare const softBoundaryOption: {
|
|
138
|
-
readonly id: BoundaryOptionId;
|
|
139
|
-
readonly label: "Soft";
|
|
140
|
-
readonly transitionAfter: "soft-fade-short";
|
|
141
|
-
readonly treatment: {
|
|
142
|
-
readonly kind: "soft-fade";
|
|
143
|
-
readonly height: "medium";
|
|
144
|
-
readonly curve: "soft";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
export declare const spaciousBoundaryOption: {
|
|
148
|
-
readonly id: BoundaryOptionId;
|
|
149
|
-
readonly label: "Spacious";
|
|
150
|
-
readonly transitionAfter: "soft-fade-long";
|
|
151
|
-
readonly treatment: {
|
|
152
|
-
readonly kind: "soft-fade";
|
|
153
|
-
readonly height: "large";
|
|
154
|
-
readonly curve: "spacious";
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
export declare const expansiveBoundaryOption: {
|
|
158
|
-
readonly id: BoundaryOptionId;
|
|
159
|
-
readonly label: "Expansive";
|
|
160
|
-
readonly transitionAfter: "soft-fade-expansive";
|
|
161
|
-
readonly treatment: {
|
|
162
|
-
readonly kind: "soft-fade";
|
|
163
|
-
readonly height: "expansive";
|
|
164
|
-
readonly curve: "expansive";
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
export declare const waveBoundaryOption: {
|
|
168
|
-
readonly id: BoundaryOptionId;
|
|
169
|
-
readonly label: "Classic wave";
|
|
170
|
-
readonly transitionAfter: "wave-edge";
|
|
171
|
-
readonly treatment: {
|
|
172
|
-
readonly kind: "wave-edge";
|
|
173
|
-
readonly height: "medium";
|
|
174
|
-
readonly amplitude: "balanced";
|
|
175
|
-
readonly rhythm: "double";
|
|
176
|
-
readonly symmetry: "asymmetrical";
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
export declare const balancedWaveBoundaryOption: {
|
|
180
|
-
readonly id: BoundaryOptionId;
|
|
181
|
-
readonly label: "Balanced wave";
|
|
182
|
-
readonly transitionAfter: "wave-edge-balanced";
|
|
183
|
-
readonly treatment: {
|
|
184
|
-
readonly kind: "wave-edge";
|
|
185
|
-
readonly height: "medium";
|
|
186
|
-
readonly amplitude: "balanced";
|
|
187
|
-
readonly rhythm: "double";
|
|
188
|
-
readonly symmetry: "symmetrical";
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
export declare const gentleWaveBoundaryOption: {
|
|
192
|
-
readonly id: BoundaryOptionId;
|
|
193
|
-
readonly label: "Gentle wave";
|
|
194
|
-
readonly transitionAfter: "wave-edge-gentle";
|
|
195
|
-
readonly treatment: {
|
|
196
|
-
readonly kind: "wave-edge";
|
|
197
|
-
readonly height: "compact";
|
|
198
|
-
readonly amplitude: "subtle";
|
|
199
|
-
readonly rhythm: "single";
|
|
200
|
-
readonly symmetry: "symmetrical";
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
export declare const boldWaveBoundaryOption: {
|
|
204
|
-
readonly id: BoundaryOptionId;
|
|
205
|
-
readonly label: "Bold wave";
|
|
206
|
-
readonly transitionAfter: "wave-edge-bold";
|
|
207
|
-
readonly treatment: {
|
|
208
|
-
readonly kind: "wave-edge";
|
|
209
|
-
readonly height: "large";
|
|
210
|
-
readonly amplitude: "bold";
|
|
211
|
-
readonly rhythm: "double";
|
|
212
|
-
readonly symmetry: "symmetrical";
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
export declare const driftWaveBoundaryOption: {
|
|
216
|
-
readonly id: BoundaryOptionId;
|
|
217
|
-
readonly label: "Drift wave";
|
|
218
|
-
readonly transitionAfter: "wave-edge-drift";
|
|
219
|
-
readonly treatment: {
|
|
220
|
-
readonly kind: "wave-edge";
|
|
221
|
-
readonly height: "medium";
|
|
222
|
-
readonly amplitude: "balanced";
|
|
223
|
-
readonly rhythm: "double";
|
|
224
|
-
readonly symmetry: "drift";
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
export declare const subtleAngleBoundaryOption: {
|
|
228
|
-
readonly id: BoundaryOptionId;
|
|
229
|
-
readonly label: "Subtle angle";
|
|
230
|
-
readonly transitionAfter: "angle-edge-subtle";
|
|
231
|
-
readonly treatment: {
|
|
232
|
-
readonly kind: "angle-edge";
|
|
233
|
-
readonly height: "compact";
|
|
234
|
-
readonly slope: "subtle";
|
|
235
|
-
readonly direction: "forward";
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
export declare const balancedAngleBoundaryOption: {
|
|
239
|
-
readonly id: BoundaryOptionId;
|
|
240
|
-
readonly label: "Balanced angle";
|
|
241
|
-
readonly transitionAfter: "angle-edge";
|
|
242
|
-
readonly treatment: {
|
|
243
|
-
readonly kind: "angle-edge";
|
|
244
|
-
readonly height: "medium";
|
|
245
|
-
readonly slope: "balanced";
|
|
246
|
-
readonly direction: "forward";
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
export declare const steepAngleBoundaryOption: {
|
|
250
|
-
readonly id: BoundaryOptionId;
|
|
251
|
-
readonly label: "Steep angle";
|
|
252
|
-
readonly transitionAfter: "angle-edge-steep";
|
|
253
|
-
readonly treatment: {
|
|
254
|
-
readonly kind: "angle-edge";
|
|
255
|
-
readonly height: "large";
|
|
256
|
-
readonly slope: "steep";
|
|
257
|
-
readonly direction: "forward";
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
export declare const sectionTransitionFamilies: readonly [{
|
|
261
|
-
readonly id: "none";
|
|
262
|
-
readonly label: "None";
|
|
263
|
-
readonly variants: readonly [{
|
|
264
|
-
readonly familyId: "none";
|
|
265
|
-
readonly variantId: "none";
|
|
266
|
-
readonly label: "None";
|
|
267
|
-
readonly boundaryOption: {
|
|
268
|
-
readonly id: BoundaryOptionId;
|
|
269
|
-
readonly label: "None";
|
|
270
|
-
readonly transitionAfter: "none";
|
|
271
|
-
readonly treatment: {
|
|
272
|
-
readonly kind: "none";
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
}];
|
|
276
|
-
}, {
|
|
277
|
-
readonly id: "gradient";
|
|
278
|
-
readonly label: "Gradient";
|
|
279
|
-
readonly variants: readonly [{
|
|
280
|
-
readonly familyId: "gradient";
|
|
281
|
-
readonly variantId: "soft";
|
|
282
|
-
readonly label: "Soft";
|
|
283
|
-
readonly boundaryOption: {
|
|
284
|
-
readonly id: BoundaryOptionId;
|
|
285
|
-
readonly label: "Soft";
|
|
286
|
-
readonly transitionAfter: "soft-fade-short";
|
|
287
|
-
readonly treatment: {
|
|
288
|
-
readonly kind: "soft-fade";
|
|
289
|
-
readonly height: "medium";
|
|
290
|
-
readonly curve: "soft";
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
}, {
|
|
294
|
-
readonly familyId: "gradient";
|
|
295
|
-
readonly variantId: "spacious";
|
|
296
|
-
readonly label: "Spacious";
|
|
297
|
-
readonly boundaryOption: {
|
|
298
|
-
readonly id: BoundaryOptionId;
|
|
299
|
-
readonly label: "Spacious";
|
|
300
|
-
readonly transitionAfter: "soft-fade-long";
|
|
301
|
-
readonly treatment: {
|
|
302
|
-
readonly kind: "soft-fade";
|
|
303
|
-
readonly height: "large";
|
|
304
|
-
readonly curve: "spacious";
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
}, {
|
|
308
|
-
readonly familyId: "gradient";
|
|
309
|
-
readonly variantId: "expansive";
|
|
310
|
-
readonly label: "Expansive";
|
|
311
|
-
readonly boundaryOption: {
|
|
312
|
-
readonly id: BoundaryOptionId;
|
|
313
|
-
readonly label: "Expansive";
|
|
314
|
-
readonly transitionAfter: "soft-fade-expansive";
|
|
315
|
-
readonly treatment: {
|
|
316
|
-
readonly kind: "soft-fade";
|
|
317
|
-
readonly height: "expansive";
|
|
318
|
-
readonly curve: "expansive";
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
}];
|
|
322
|
-
}, {
|
|
323
|
-
readonly id: "wave";
|
|
324
|
-
readonly label: "Wave";
|
|
325
|
-
readonly variants: readonly [{
|
|
326
|
-
readonly familyId: "wave";
|
|
327
|
-
readonly variantId: "balanced";
|
|
328
|
-
readonly label: "Balanced";
|
|
329
|
-
readonly boundaryOption: {
|
|
330
|
-
readonly id: BoundaryOptionId;
|
|
331
|
-
readonly label: "Balanced wave";
|
|
332
|
-
readonly transitionAfter: "wave-edge-balanced";
|
|
333
|
-
readonly treatment: {
|
|
334
|
-
readonly kind: "wave-edge";
|
|
335
|
-
readonly height: "medium";
|
|
336
|
-
readonly amplitude: "balanced";
|
|
337
|
-
readonly rhythm: "double";
|
|
338
|
-
readonly symmetry: "symmetrical";
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
}, {
|
|
342
|
-
readonly familyId: "wave";
|
|
343
|
-
readonly variantId: "classic";
|
|
344
|
-
readonly label: "Classic";
|
|
345
|
-
readonly boundaryOption: {
|
|
346
|
-
readonly id: BoundaryOptionId;
|
|
347
|
-
readonly label: "Classic wave";
|
|
348
|
-
readonly transitionAfter: "wave-edge";
|
|
349
|
-
readonly treatment: {
|
|
350
|
-
readonly kind: "wave-edge";
|
|
351
|
-
readonly height: "medium";
|
|
352
|
-
readonly amplitude: "balanced";
|
|
353
|
-
readonly rhythm: "double";
|
|
354
|
-
readonly symmetry: "asymmetrical";
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
}, {
|
|
358
|
-
readonly familyId: "wave";
|
|
359
|
-
readonly variantId: "gentle";
|
|
360
|
-
readonly label: "Gentle";
|
|
361
|
-
readonly boundaryOption: {
|
|
362
|
-
readonly id: BoundaryOptionId;
|
|
363
|
-
readonly label: "Gentle wave";
|
|
364
|
-
readonly transitionAfter: "wave-edge-gentle";
|
|
365
|
-
readonly treatment: {
|
|
366
|
-
readonly kind: "wave-edge";
|
|
367
|
-
readonly height: "compact";
|
|
368
|
-
readonly amplitude: "subtle";
|
|
369
|
-
readonly rhythm: "single";
|
|
370
|
-
readonly symmetry: "symmetrical";
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
}, {
|
|
374
|
-
readonly familyId: "wave";
|
|
375
|
-
readonly variantId: "bold";
|
|
376
|
-
readonly label: "Bold";
|
|
377
|
-
readonly boundaryOption: {
|
|
378
|
-
readonly id: BoundaryOptionId;
|
|
379
|
-
readonly label: "Bold wave";
|
|
380
|
-
readonly transitionAfter: "wave-edge-bold";
|
|
381
|
-
readonly treatment: {
|
|
382
|
-
readonly kind: "wave-edge";
|
|
383
|
-
readonly height: "large";
|
|
384
|
-
readonly amplitude: "bold";
|
|
385
|
-
readonly rhythm: "double";
|
|
386
|
-
readonly symmetry: "symmetrical";
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
}, {
|
|
390
|
-
readonly familyId: "wave";
|
|
391
|
-
readonly variantId: "drift";
|
|
392
|
-
readonly label: "Drift";
|
|
393
|
-
readonly boundaryOption: {
|
|
394
|
-
readonly id: BoundaryOptionId;
|
|
395
|
-
readonly label: "Drift wave";
|
|
396
|
-
readonly transitionAfter: "wave-edge-drift";
|
|
397
|
-
readonly treatment: {
|
|
398
|
-
readonly kind: "wave-edge";
|
|
399
|
-
readonly height: "medium";
|
|
400
|
-
readonly amplitude: "balanced";
|
|
401
|
-
readonly rhythm: "double";
|
|
402
|
-
readonly symmetry: "drift";
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
}];
|
|
406
|
-
}, {
|
|
407
|
-
readonly id: "angle";
|
|
408
|
-
readonly label: "Angle";
|
|
409
|
-
readonly variants: readonly [{
|
|
410
|
-
readonly familyId: "angle";
|
|
411
|
-
readonly variantId: "subtle";
|
|
412
|
-
readonly label: "Subtle";
|
|
413
|
-
readonly boundaryOption: {
|
|
414
|
-
readonly id: BoundaryOptionId;
|
|
415
|
-
readonly label: "Subtle angle";
|
|
416
|
-
readonly transitionAfter: "angle-edge-subtle";
|
|
417
|
-
readonly treatment: {
|
|
418
|
-
readonly kind: "angle-edge";
|
|
419
|
-
readonly height: "compact";
|
|
420
|
-
readonly slope: "subtle";
|
|
421
|
-
readonly direction: "forward";
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
}, {
|
|
425
|
-
readonly familyId: "angle";
|
|
426
|
-
readonly variantId: "balanced";
|
|
427
|
-
readonly label: "Balanced";
|
|
428
|
-
readonly boundaryOption: {
|
|
429
|
-
readonly id: BoundaryOptionId;
|
|
430
|
-
readonly label: "Balanced angle";
|
|
431
|
-
readonly transitionAfter: "angle-edge";
|
|
432
|
-
readonly treatment: {
|
|
433
|
-
readonly kind: "angle-edge";
|
|
434
|
-
readonly height: "medium";
|
|
435
|
-
readonly slope: "balanced";
|
|
436
|
-
readonly direction: "forward";
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
}, {
|
|
440
|
-
readonly familyId: "angle";
|
|
441
|
-
readonly variantId: "steep";
|
|
442
|
-
readonly label: "Steep";
|
|
443
|
-
readonly boundaryOption: {
|
|
444
|
-
readonly id: BoundaryOptionId;
|
|
445
|
-
readonly label: "Steep angle";
|
|
446
|
-
readonly transitionAfter: "angle-edge-steep";
|
|
447
|
-
readonly treatment: {
|
|
448
|
-
readonly kind: "angle-edge";
|
|
449
|
-
readonly height: "large";
|
|
450
|
-
readonly slope: "steep";
|
|
451
|
-
readonly direction: "forward";
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
}];
|
|
455
|
-
}];
|
|
60
|
+
export declare function transitionCatalogueEntryForIntent(intent: DecorativeTransitionIntent): TransitionCatalogueEntry;
|
|
61
|
+
export declare function isDecorativeTransitionIntent(transition: SiteStyleSectionTransitionIntent): transition is DecorativeTransitionIntent;
|
|
62
|
+
export declare function boundaryRuntimeMetricsForDecorativeTransition(transition: DecorativeTransitionIntent): SectionBoundaryRuntimeMetrics;
|
|
63
|
+
export declare const noneBoundaryOption: BoundaryOption;
|
|
64
|
+
export declare function boundaryOptionForTransitionIntent(intent: DecorativeTransitionIntent): BoundaryOption;
|
|
65
|
+
export declare const softBoundaryOption: Readonly<{
|
|
66
|
+
id: BoundaryOptionId;
|
|
67
|
+
label: string;
|
|
68
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
69
|
+
treatment: SectionBoundaryTreatment;
|
|
70
|
+
}>;
|
|
71
|
+
export declare const spaciousBoundaryOption: Readonly<{
|
|
72
|
+
id: BoundaryOptionId;
|
|
73
|
+
label: string;
|
|
74
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
75
|
+
treatment: SectionBoundaryTreatment;
|
|
76
|
+
}>;
|
|
77
|
+
export declare const expansiveBoundaryOption: Readonly<{
|
|
78
|
+
id: BoundaryOptionId;
|
|
79
|
+
label: string;
|
|
80
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
81
|
+
treatment: SectionBoundaryTreatment;
|
|
82
|
+
}>;
|
|
83
|
+
export declare const waveBoundaryOption: Readonly<{
|
|
84
|
+
id: BoundaryOptionId;
|
|
85
|
+
label: string;
|
|
86
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
87
|
+
treatment: SectionBoundaryTreatment;
|
|
88
|
+
}>;
|
|
89
|
+
export declare const balancedWaveBoundaryOption: Readonly<{
|
|
90
|
+
id: BoundaryOptionId;
|
|
91
|
+
label: string;
|
|
92
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
93
|
+
treatment: SectionBoundaryTreatment;
|
|
94
|
+
}>;
|
|
95
|
+
export declare const gentleWaveBoundaryOption: Readonly<{
|
|
96
|
+
id: BoundaryOptionId;
|
|
97
|
+
label: string;
|
|
98
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
99
|
+
treatment: SectionBoundaryTreatment;
|
|
100
|
+
}>;
|
|
101
|
+
export declare const boldWaveBoundaryOption: Readonly<{
|
|
102
|
+
id: BoundaryOptionId;
|
|
103
|
+
label: string;
|
|
104
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
105
|
+
treatment: SectionBoundaryTreatment;
|
|
106
|
+
}>;
|
|
107
|
+
export declare const driftWaveBoundaryOption: Readonly<{
|
|
108
|
+
id: BoundaryOptionId;
|
|
109
|
+
label: string;
|
|
110
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
111
|
+
treatment: SectionBoundaryTreatment;
|
|
112
|
+
}>;
|
|
113
|
+
export declare const subtleAngleBoundaryOption: Readonly<{
|
|
114
|
+
id: BoundaryOptionId;
|
|
115
|
+
label: string;
|
|
116
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
117
|
+
treatment: SectionBoundaryTreatment;
|
|
118
|
+
}>;
|
|
119
|
+
export declare const balancedAngleBoundaryOption: Readonly<{
|
|
120
|
+
id: BoundaryOptionId;
|
|
121
|
+
label: string;
|
|
122
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
123
|
+
treatment: SectionBoundaryTreatment;
|
|
124
|
+
}>;
|
|
125
|
+
export declare const steepAngleBoundaryOption: Readonly<{
|
|
126
|
+
id: BoundaryOptionId;
|
|
127
|
+
label: string;
|
|
128
|
+
transitionAfter: SiteStyleSectionTransitionIntent;
|
|
129
|
+
treatment: SectionBoundaryTreatment;
|
|
130
|
+
}>;
|
|
456
131
|
/**
|
|
457
132
|
* Must remain non-empty; downstream code indexes `[0]` as the documented default.
|
|
458
133
|
*/
|
|
459
|
-
export declare const boundaryOptions:
|
|
460
|
-
|
|
461
|
-
readonly label: "None";
|
|
462
|
-
readonly transitionAfter: "none";
|
|
463
|
-
readonly treatment: {
|
|
464
|
-
readonly kind: "none";
|
|
465
|
-
};
|
|
466
|
-
}, {
|
|
467
|
-
readonly id: BoundaryOptionId;
|
|
468
|
-
readonly label: "Soft";
|
|
469
|
-
readonly transitionAfter: "soft-fade-short";
|
|
470
|
-
readonly treatment: {
|
|
471
|
-
readonly kind: "soft-fade";
|
|
472
|
-
readonly height: "medium";
|
|
473
|
-
readonly curve: "soft";
|
|
474
|
-
};
|
|
475
|
-
}, {
|
|
476
|
-
readonly id: BoundaryOptionId;
|
|
477
|
-
readonly label: "Spacious";
|
|
478
|
-
readonly transitionAfter: "soft-fade-long";
|
|
479
|
-
readonly treatment: {
|
|
480
|
-
readonly kind: "soft-fade";
|
|
481
|
-
readonly height: "large";
|
|
482
|
-
readonly curve: "spacious";
|
|
483
|
-
};
|
|
484
|
-
}, {
|
|
485
|
-
readonly id: BoundaryOptionId;
|
|
486
|
-
readonly label: "Expansive";
|
|
487
|
-
readonly transitionAfter: "soft-fade-expansive";
|
|
488
|
-
readonly treatment: {
|
|
489
|
-
readonly kind: "soft-fade";
|
|
490
|
-
readonly height: "expansive";
|
|
491
|
-
readonly curve: "expansive";
|
|
492
|
-
};
|
|
493
|
-
}, {
|
|
494
|
-
readonly id: BoundaryOptionId;
|
|
495
|
-
readonly label: "Balanced wave";
|
|
496
|
-
readonly transitionAfter: "wave-edge-balanced";
|
|
497
|
-
readonly treatment: {
|
|
498
|
-
readonly kind: "wave-edge";
|
|
499
|
-
readonly height: "medium";
|
|
500
|
-
readonly amplitude: "balanced";
|
|
501
|
-
readonly rhythm: "double";
|
|
502
|
-
readonly symmetry: "symmetrical";
|
|
503
|
-
};
|
|
504
|
-
}, {
|
|
505
|
-
readonly id: BoundaryOptionId;
|
|
506
|
-
readonly label: "Classic wave";
|
|
507
|
-
readonly transitionAfter: "wave-edge";
|
|
508
|
-
readonly treatment: {
|
|
509
|
-
readonly kind: "wave-edge";
|
|
510
|
-
readonly height: "medium";
|
|
511
|
-
readonly amplitude: "balanced";
|
|
512
|
-
readonly rhythm: "double";
|
|
513
|
-
readonly symmetry: "asymmetrical";
|
|
514
|
-
};
|
|
515
|
-
}, {
|
|
516
|
-
readonly id: BoundaryOptionId;
|
|
517
|
-
readonly label: "Gentle wave";
|
|
518
|
-
readonly transitionAfter: "wave-edge-gentle";
|
|
519
|
-
readonly treatment: {
|
|
520
|
-
readonly kind: "wave-edge";
|
|
521
|
-
readonly height: "compact";
|
|
522
|
-
readonly amplitude: "subtle";
|
|
523
|
-
readonly rhythm: "single";
|
|
524
|
-
readonly symmetry: "symmetrical";
|
|
525
|
-
};
|
|
526
|
-
}, {
|
|
527
|
-
readonly id: BoundaryOptionId;
|
|
528
|
-
readonly label: "Bold wave";
|
|
529
|
-
readonly transitionAfter: "wave-edge-bold";
|
|
530
|
-
readonly treatment: {
|
|
531
|
-
readonly kind: "wave-edge";
|
|
532
|
-
readonly height: "large";
|
|
533
|
-
readonly amplitude: "bold";
|
|
534
|
-
readonly rhythm: "double";
|
|
535
|
-
readonly symmetry: "symmetrical";
|
|
536
|
-
};
|
|
537
|
-
}, {
|
|
538
|
-
readonly id: BoundaryOptionId;
|
|
539
|
-
readonly label: "Drift wave";
|
|
540
|
-
readonly transitionAfter: "wave-edge-drift";
|
|
541
|
-
readonly treatment: {
|
|
542
|
-
readonly kind: "wave-edge";
|
|
543
|
-
readonly height: "medium";
|
|
544
|
-
readonly amplitude: "balanced";
|
|
545
|
-
readonly rhythm: "double";
|
|
546
|
-
readonly symmetry: "drift";
|
|
547
|
-
};
|
|
548
|
-
}, {
|
|
549
|
-
readonly id: BoundaryOptionId;
|
|
550
|
-
readonly label: "Subtle angle";
|
|
551
|
-
readonly transitionAfter: "angle-edge-subtle";
|
|
552
|
-
readonly treatment: {
|
|
553
|
-
readonly kind: "angle-edge";
|
|
554
|
-
readonly height: "compact";
|
|
555
|
-
readonly slope: "subtle";
|
|
556
|
-
readonly direction: "forward";
|
|
557
|
-
};
|
|
558
|
-
}, {
|
|
559
|
-
readonly id: BoundaryOptionId;
|
|
560
|
-
readonly label: "Balanced angle";
|
|
561
|
-
readonly transitionAfter: "angle-edge";
|
|
562
|
-
readonly treatment: {
|
|
563
|
-
readonly kind: "angle-edge";
|
|
564
|
-
readonly height: "medium";
|
|
565
|
-
readonly slope: "balanced";
|
|
566
|
-
readonly direction: "forward";
|
|
567
|
-
};
|
|
568
|
-
}, {
|
|
569
|
-
readonly id: BoundaryOptionId;
|
|
570
|
-
readonly label: "Steep angle";
|
|
571
|
-
readonly transitionAfter: "angle-edge-steep";
|
|
572
|
-
readonly treatment: {
|
|
573
|
-
readonly kind: "angle-edge";
|
|
574
|
-
readonly height: "large";
|
|
575
|
-
readonly slope: "steep";
|
|
576
|
-
readonly direction: "forward";
|
|
577
|
-
};
|
|
578
|
-
}];
|
|
134
|
+
export declare const boundaryOptions: NonEmptyReadonlyArray<BoundaryOption>;
|
|
135
|
+
export declare const sectionTransitionFamilies: NonEmptyReadonlyArray<SectionTransitionFamily>;
|
|
579
136
|
export declare function sectionTransitionVariantForBoundaryOptionId(boundaryOptionId: BoundaryOptionId | null): SectionTransitionVariant | null;
|
|
580
137
|
export declare function boundaryTreatmentForBoundaryOptionId(boundaryOptionId: BoundaryOptionId): SectionBoundaryTreatment;
|
|
581
138
|
export declare function boundaryOptionForTreatment(treatment: SectionBoundaryTreatment): BoundaryOption | null;
|
|
582
139
|
export declare function boundaryOptionIdForTreatment(treatment: SectionBoundaryTreatment): BoundaryOptionId | null;
|
|
140
|
+
/**
|
|
141
|
+
* Supported decorative intent for a structured treatment, or null for `none`,
|
|
142
|
+
* legacy-unsupported pins and structured treatments the catalogue lacks.
|
|
143
|
+
*/
|
|
144
|
+
export declare function transitionIntentForTreatment(treatment: SectionBoundaryTreatment): DecorativeTransitionIntent | null;
|
|
583
145
|
export declare function sectionBoundaryTreatmentsEqual(left: SectionBoundaryTreatment, right: SectionBoundaryTreatment): boolean;
|
|
584
146
|
export declare function sectionTransitionFamilyForBoundaryOptionId(boundaryOptionId: BoundaryOptionId | null): SectionTransitionFamily | null;
|
|
585
147
|
export declare function defaultSectionTransitionVariantForFamily(familyId: SectionTransitionFamilyId): SectionTransitionVariant;
|
|
@@ -58,10 +58,6 @@ export type PageDesignPolicyAuditIssue<TBlockId extends DesignBlockId = DesignBl
|
|
|
58
58
|
}>;
|
|
59
59
|
export declare function siteStyleBlockPolicies(): readonly RegisteredSiteStyleBlockPolicy[];
|
|
60
60
|
export declare function buildInitialPolicyPageDesignIntent(siteStyleId: SiteStyleId): PageDesignIntent;
|
|
61
|
-
export declare function hasPolicyForBlocks(input: Readonly<{
|
|
62
|
-
siteStyleId: SiteStyleId;
|
|
63
|
-
blocks: readonly PageDesignBlockDescriptor[];
|
|
64
|
-
}>): boolean;
|
|
65
61
|
export declare function deriveSiteStyleBlockPolicy(input: Readonly<{
|
|
66
62
|
siteStyleId: SiteStyleId;
|
|
67
63
|
blockKind: string;
|
|
@@ -73,6 +69,15 @@ export declare function isLookAllowedByPolicy(policy: SiteStyleBlockPolicy, look
|
|
|
73
69
|
export declare function filterLookIdsForPolicy<TLook extends Readonly<{
|
|
74
70
|
id: AppearancePresetId;
|
|
75
71
|
}>>(policy: SiteStyleBlockPolicy, looks: readonly TLook[]): readonly TLook[];
|
|
72
|
+
/**
|
|
73
|
+
* Writes the look pins a locked-look site style requires.
|
|
74
|
+
*
|
|
75
|
+
* Boundary pins are never written: a site style's default break after a block
|
|
76
|
+
* is resolved at read time by `resolveJoinTreatment`, so it shows as a default
|
|
77
|
+
* and follows later changes to the style (issue 1422). Pins already stored,
|
|
78
|
+
* including ones an earlier version wrote on the style's behalf, are left as
|
|
79
|
+
* they are.
|
|
80
|
+
*/
|
|
76
81
|
export declare function applySiteStyleBlockPoliciesToPageDesignIntent<TBlockId extends DesignBlockId>(intent: PageDesignIntent<TBlockId>, blocks: readonly PageDesignBlockDescriptor<TBlockId>[]): PageDesignIntent<TBlockId>;
|
|
77
82
|
export declare function planBlockContentVariantPolicyUpdate(input: Readonly<{
|
|
78
83
|
policy: SiteStyleBlockPolicy;
|