@riverbankcms/sdk 0.126.0 → 0.127.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.
Files changed (126) hide show
  1. package/dist/{PreviewEditorSidebar-DcYJxTgc.mjs → PreviewEditorSidebar-BXtfF7tp.mjs} +58 -38
  2. package/dist/{PreviewEditorUI-Ctt1yTJr.mjs → PreviewEditorUI-Dou73Q0K.mjs} +2 -2
  3. package/dist/{SdkPreviewModeRuntime-CvW1vdQ4.mjs → SdkPreviewModeRuntime-B0HPXr-l.mjs} +119 -41
  4. package/dist/{SiteChromeCustomizeContext-C87qlKWw.mjs → SiteChromeCustomizeContext-DZiDBAYu.mjs} +9961 -9583
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -0
  6. package/dist/_dts/api/src/contentRuntime.d.ts +1 -5
  7. package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
  8. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
  9. package/dist/_dts/blocks/src/index.d.ts +3 -2
  10. package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
  11. package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
  12. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
  13. package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
  14. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
  15. package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
  16. package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
  17. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
  18. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +143 -155
  19. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
  20. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
  21. package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
  22. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
  23. package/dist/_dts/media-editor/src/context.d.ts +1 -2
  24. package/dist/_dts/media-editor/src/index.d.ts +3 -1
  25. package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
  26. package/dist/_dts/media-editor/src/types.d.ts +3 -1
  27. package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
  28. package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
  29. package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
  30. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +12 -1
  31. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -1
  32. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -49
  33. package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
  34. package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
  35. package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
  36. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
  37. package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
  38. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
  39. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
  40. package/dist/_dts/sdk/src/version.d.ts +1 -1
  41. package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
  42. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
  43. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
  44. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
  45. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
  46. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
  47. package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
  48. package/dist/_dts/theme-core/src/header/paintTargets.d.ts +25 -0
  49. package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
  50. package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +9 -0
  51. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
  52. package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
  53. package/dist/_dts/theme-core/src/schema.d.ts +67 -19
  54. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
  55. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
  56. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
  57. package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
  58. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
  59. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
  60. package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
  61. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
  62. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  63. package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
  64. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
  65. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
  66. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
  67. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  68. package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
  69. package/dist/cli/index.mjs +973 -1081
  70. package/dist/client/{DiscountCodeDisclosure-DS0AuFWW.mjs → DiscountCodeDisclosure-BDFRp8Y7.mjs} +1 -1
  71. package/dist/client/{EventCombined.client-DtMxLr7q.mjs → EventCombined.client-DJgF1_lf.mjs} +2 -2
  72. package/dist/client/{EventListing.client-BdLSRNg1.mjs → EventListing.client-CnWGNjOr.mjs} +2 -2
  73. package/dist/client/{LeafletStaticMap-BrpC6vsT.mjs → LeafletStaticMap-BISs9Bl7.mjs} +1 -1
  74. package/dist/client/{MagicLinkForm-Bt3IuLMy.mjs → MagicLinkForm-b5E_HoG9.mjs} +1 -1
  75. package/dist/client/{StepIndicator-CBYPFVoy.mjs → StepIndicator-D8gVYkK-.mjs} +2 -2
  76. package/dist/client/{accordion-BqqwPJWM.mjs → accordion-DFDajgDz.mjs} +1 -1
  77. package/dist/client/{bookingForm-SneP3yxC.mjs → bookingForm-Bdqj9-52.mjs} +5 -5
  78. package/dist/client/bookings.mjs +126 -23
  79. package/dist/client/{carousel-BTIR9L3I.mjs → carousel-Cvqf-kN8.mjs} +1 -1
  80. package/dist/client/{cart-bqiqd8SX.mjs → cart-CuH2TJXP.mjs} +3 -3
  81. package/dist/client/{checkout-WbTFV5v4.mjs → checkout-CMNPpejZ.mjs} +3 -3
  82. package/dist/client/client.mjs +1227 -1209
  83. package/dist/client/{courseRegistration-BcemLAdN.mjs → courseRegistration-DTEYWL6Z.mjs} +6 -6
  84. package/dist/client/{eventCalendar-CsxIw0V_.mjs → eventCalendar-BW-XoxZ0.mjs} +4 -4
  85. package/dist/client/{eventCombined-B6XMoHfa.mjs → eventCombined-Bpn7s0y9.mjs} +2 -2
  86. package/dist/client/{eventDetails-BJaoPPfo.mjs → eventDetails-D2uUSTMH.mjs} +3 -3
  87. package/dist/client/{eventListing-DgwdYHRT.mjs → eventListing-CVr1c094.mjs} +2 -2
  88. package/dist/client/{eventRegistration-C0O3folu.mjs → eventRegistration-Dv4AvkMw.mjs} +6 -6
  89. package/dist/client/{form-Bk9txGFt.mjs → form-DxdKf9fs.mjs} +1 -1
  90. package/dist/client/{headerSection-yIBt0yTv.mjs → headerSection-BaXI5Sro.mjs} +2 -2
  91. package/dist/client/hooks.mjs +801 -874
  92. package/dist/client/{locationMap-C-3KIpv-.mjs → locationMap-BEtW2fKz.mjs} +2 -2
  93. package/dist/client/{newsletterForm-CzB8g8h2.mjs → newsletterForm-BKKs0S4R.mjs} +1 -1
  94. package/dist/client/{pricing-C1QeDes_.mjs → pricing-ClkqcElA.mjs} +1 -1
  95. package/dist/client/{productDetail-w7SBp5uc.mjs → productDetail-H-ru8dyy.mjs} +3 -3
  96. package/dist/client/{productList-D0tGKHGf.mjs → productList-Buyi5c0C.mjs} +3 -3
  97. package/dist/client/{propsDecoder-Bcin2DB3.mjs → propsDecoder-BF7i6Ijg.mjs} +127 -55
  98. package/dist/client/rendering/client.mjs +928 -916
  99. package/dist/client/rendering/islands.mjs +18 -18
  100. package/dist/client/rendering.mjs +1130 -1114
  101. package/dist/client/{scrollToBlock-h-o_STf_.mjs → scrollToBlock-D_7t8yWb.mjs} +1 -1
  102. package/dist/client/{shop-BGzmL8O_.mjs → shop-CF7SZQNX.mjs} +5 -5
  103. package/dist/client/{shop-commerce-lX8QxjX-.mjs → shop-commerce-DA7_Rq5p.mjs} +4 -4
  104. package/dist/client/{shop-commerce-store-CEurARtu.mjs → shop-commerce-store-BmLqW7Gh.mjs} +1 -1
  105. package/dist/client/{shopShared-DXxH8xxw.mjs → shopShared-WL-E1znM.mjs} +2 -2
  106. package/dist/client/{useEventFilters-B591g9vd.mjs → useEventFilters-rc8VLeLV.mjs} +2 -2
  107. package/dist/client/{usePolling-BvnChV4m.mjs → usePolling-1ncrfd4S.mjs} +2 -2
  108. package/dist/preview-next/client/runtime.mjs +3 -3
  109. package/dist/{sdk-runtime-M__i3Jce.mjs → sdk-runtime-BnrCCFJq.mjs} +1 -1
  110. package/dist/{separator-VSlnI9bc.mjs → separator-CFvBx2yl.mjs} +1 -1
  111. package/dist/server/components.mjs +1302 -1350
  112. package/dist/server/config-validation.mjs +801 -874
  113. package/dist/server/config.mjs +801 -874
  114. package/dist/server/data.mjs +801 -874
  115. package/dist/server/index.mjs +1 -1
  116. package/dist/server/next.mjs +1303 -1351
  117. package/dist/server/page-converter.mjs +801 -874
  118. package/dist/server/prebuild.mjs +1 -1
  119. package/dist/server/rendering/server.mjs +1296 -1344
  120. package/dist/server/rendering.mjs +1302 -1350
  121. package/dist/server/routing.mjs +869 -895
  122. package/dist/server/server.mjs +802 -875
  123. package/dist/server/theme-bridge.mjs +151 -118
  124. package/dist/server/theme.mjs +111 -23
  125. package/package.json +1 -1
  126. package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
@@ -7345,6 +7345,13 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
7345
7345
  "full-bleed": "full-bleed";
7346
7346
  "inset-shell": "inset-shell";
7347
7347
  }>>;
7348
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7349
+ kind: z.ZodLiteral<"contrast-glass">;
7350
+ backgroundTone: z.ZodEnum<{
7351
+ light: "light";
7352
+ dark: "dark";
7353
+ }>;
7354
+ }, z.core.$strip>], "kind">>;
7348
7355
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7349
7356
  type: z.ZodEnum<{
7350
7357
  image: "image";
@@ -7486,6 +7493,11 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
7486
7493
  xl: "xl";
7487
7494
  xs: "xs";
7488
7495
  }>>;
7496
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
7497
+ accent: "accent";
7498
+ primary: "primary";
7499
+ secondary: "secondary";
7500
+ }>>;
7489
7501
  navPlacement: z.ZodOptional<z.ZodEnum<{
7490
7502
  center: "center";
7491
7503
  end: "end";
@@ -7796,6 +7808,10 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
7796
7808
  tint?: string | null | undefined;
7797
7809
  };
7798
7810
  barFrame?: "full-bleed" | "inset-shell" | undefined;
7811
+ scrollTreatment?: {
7812
+ kind: "contrast-glass";
7813
+ backgroundTone: "light" | "dark";
7814
+ } | undefined;
7799
7815
  logoOverride?: {
7800
7816
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
7801
7817
  purpose?: string | undefined;
@@ -7835,6 +7851,7 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
7835
7851
  navFontRole?: "heading" | "body" | undefined;
7836
7852
  navTypography?: "heading" | "body" | undefined;
7837
7853
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
7854
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
7838
7855
  navPlacement?: "center" | "end" | undefined;
7839
7856
  container?: {
7840
7857
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -7984,6 +8001,10 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
7984
8001
  tint?: string | null | undefined;
7985
8002
  };
7986
8003
  barFrame?: "full-bleed" | "inset-shell" | undefined;
8004
+ scrollTreatment?: {
8005
+ kind: "contrast-glass";
8006
+ backgroundTone: "light" | "dark";
8007
+ } | undefined;
7987
8008
  logoOverride?: {
7988
8009
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
7989
8010
  purpose?: string | undefined;
@@ -8023,6 +8044,7 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
8023
8044
  navFontRole?: "heading" | "body" | undefined;
8024
8045
  navTypography?: "heading" | "body" | undefined;
8025
8046
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
8047
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
8026
8048
  navPlacement?: "center" | "end" | undefined;
8027
8049
  container?: {
8028
8050
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -10631,6 +10653,13 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
10631
10653
  "full-bleed": "full-bleed";
10632
10654
  "inset-shell": "inset-shell";
10633
10655
  }>>;
10656
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10657
+ kind: z.ZodLiteral<"contrast-glass">;
10658
+ backgroundTone: z.ZodEnum<{
10659
+ light: "light";
10660
+ dark: "dark";
10661
+ }>;
10662
+ }, z.core.$strip>], "kind">>;
10634
10663
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10635
10664
  type: z.ZodEnum<{
10636
10665
  image: "image";
@@ -10772,6 +10801,11 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
10772
10801
  xl: "xl";
10773
10802
  xs: "xs";
10774
10803
  }>>;
10804
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
10805
+ accent: "accent";
10806
+ primary: "primary";
10807
+ secondary: "secondary";
10808
+ }>>;
10775
10809
  navPlacement: z.ZodOptional<z.ZodEnum<{
10776
10810
  center: "center";
10777
10811
  end: "end";
@@ -11082,6 +11116,10 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
11082
11116
  tint?: string | null | undefined;
11083
11117
  };
11084
11118
  barFrame?: "full-bleed" | "inset-shell" | undefined;
11119
+ scrollTreatment?: {
11120
+ kind: "contrast-glass";
11121
+ backgroundTone: "light" | "dark";
11122
+ } | undefined;
11085
11123
  logoOverride?: {
11086
11124
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
11087
11125
  purpose?: string | undefined;
@@ -11121,6 +11159,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
11121
11159
  navFontRole?: "heading" | "body" | undefined;
11122
11160
  navTypography?: "heading" | "body" | undefined;
11123
11161
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
11162
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
11124
11163
  navPlacement?: "center" | "end" | undefined;
11125
11164
  container?: {
11126
11165
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -11270,6 +11309,10 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
11270
11309
  tint?: string | null | undefined;
11271
11310
  };
11272
11311
  barFrame?: "full-bleed" | "inset-shell" | undefined;
11312
+ scrollTreatment?: {
11313
+ kind: "contrast-glass";
11314
+ backgroundTone: "light" | "dark";
11315
+ } | undefined;
11273
11316
  logoOverride?: {
11274
11317
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
11275
11318
  purpose?: string | undefined;
@@ -11309,6 +11352,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
11309
11352
  navFontRole?: "heading" | "body" | undefined;
11310
11353
  navTypography?: "heading" | "body" | undefined;
11311
11354
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
11355
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
11312
11356
  navPlacement?: "center" | "end" | undefined;
11313
11357
  container?: {
11314
11358
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -15166,6 +15210,13 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
15166
15210
  "full-bleed": "full-bleed";
15167
15211
  "inset-shell": "inset-shell";
15168
15212
  }>>;
15213
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15214
+ kind: z.ZodLiteral<"contrast-glass">;
15215
+ backgroundTone: z.ZodEnum<{
15216
+ light: "light";
15217
+ dark: "dark";
15218
+ }>;
15219
+ }, z.core.$strip>], "kind">>;
15169
15220
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15170
15221
  type: z.ZodEnum<{
15171
15222
  image: "image";
@@ -15307,6 +15358,11 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
15307
15358
  xl: "xl";
15308
15359
  xs: "xs";
15309
15360
  }>>;
15361
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
15362
+ accent: "accent";
15363
+ primary: "primary";
15364
+ secondary: "secondary";
15365
+ }>>;
15310
15366
  navPlacement: z.ZodOptional<z.ZodEnum<{
15311
15367
  center: "center";
15312
15368
  end: "end";
@@ -15617,6 +15673,10 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
15617
15673
  tint?: string | null | undefined;
15618
15674
  };
15619
15675
  barFrame?: "full-bleed" | "inset-shell" | undefined;
15676
+ scrollTreatment?: {
15677
+ kind: "contrast-glass";
15678
+ backgroundTone: "light" | "dark";
15679
+ } | undefined;
15620
15680
  logoOverride?: {
15621
15681
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
15622
15682
  purpose?: string | undefined;
@@ -15656,6 +15716,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
15656
15716
  navFontRole?: "heading" | "body" | undefined;
15657
15717
  navTypography?: "heading" | "body" | undefined;
15658
15718
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
15719
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
15659
15720
  navPlacement?: "center" | "end" | undefined;
15660
15721
  container?: {
15661
15722
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -15805,6 +15866,10 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
15805
15866
  tint?: string | null | undefined;
15806
15867
  };
15807
15868
  barFrame?: "full-bleed" | "inset-shell" | undefined;
15869
+ scrollTreatment?: {
15870
+ kind: "contrast-glass";
15871
+ backgroundTone: "light" | "dark";
15872
+ } | undefined;
15808
15873
  logoOverride?: {
15809
15874
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
15810
15875
  purpose?: string | undefined;
@@ -15844,6 +15909,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
15844
15909
  navFontRole?: "heading" | "body" | undefined;
15845
15910
  navTypography?: "heading" | "body" | undefined;
15846
15911
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
15912
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
15847
15913
  navPlacement?: "center" | "end" | undefined;
15848
15914
  container?: {
15849
15915
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -18508,6 +18574,13 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
18508
18574
  "full-bleed": "full-bleed";
18509
18575
  "inset-shell": "inset-shell";
18510
18576
  }>>;
18577
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
18578
+ kind: z.ZodLiteral<"contrast-glass">;
18579
+ backgroundTone: z.ZodEnum<{
18580
+ light: "light";
18581
+ dark: "dark";
18582
+ }>;
18583
+ }, z.core.$strip>], "kind">>;
18511
18584
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18512
18585
  type: z.ZodEnum<{
18513
18586
  image: "image";
@@ -18649,6 +18722,11 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
18649
18722
  xl: "xl";
18650
18723
  xs: "xs";
18651
18724
  }>>;
18725
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
18726
+ accent: "accent";
18727
+ primary: "primary";
18728
+ secondary: "secondary";
18729
+ }>>;
18652
18730
  navPlacement: z.ZodOptional<z.ZodEnum<{
18653
18731
  center: "center";
18654
18732
  end: "end";
@@ -18959,6 +19037,10 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
18959
19037
  tint?: string | null | undefined;
18960
19038
  };
18961
19039
  barFrame?: "full-bleed" | "inset-shell" | undefined;
19040
+ scrollTreatment?: {
19041
+ kind: "contrast-glass";
19042
+ backgroundTone: "light" | "dark";
19043
+ } | undefined;
18962
19044
  logoOverride?: {
18963
19045
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
18964
19046
  purpose?: string | undefined;
@@ -18998,6 +19080,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
18998
19080
  navFontRole?: "heading" | "body" | undefined;
18999
19081
  navTypography?: "heading" | "body" | undefined;
19000
19082
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
19083
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
19001
19084
  navPlacement?: "center" | "end" | undefined;
19002
19085
  container?: {
19003
19086
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -19147,6 +19230,10 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
19147
19230
  tint?: string | null | undefined;
19148
19231
  };
19149
19232
  barFrame?: "full-bleed" | "inset-shell" | undefined;
19233
+ scrollTreatment?: {
19234
+ kind: "contrast-glass";
19235
+ backgroundTone: "light" | "dark";
19236
+ } | undefined;
19150
19237
  logoOverride?: {
19151
19238
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
19152
19239
  purpose?: string | undefined;
@@ -19186,6 +19273,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
19186
19273
  navFontRole?: "heading" | "body" | undefined;
19187
19274
  navTypography?: "heading" | "body" | undefined;
19188
19275
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
19276
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
19189
19277
  navPlacement?: "center" | "end" | undefined;
19190
19278
  container?: {
19191
19279
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -23043,6 +23131,13 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
23043
23131
  "full-bleed": "full-bleed";
23044
23132
  "inset-shell": "inset-shell";
23045
23133
  }>>;
23134
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23135
+ kind: z.ZodLiteral<"contrast-glass">;
23136
+ backgroundTone: z.ZodEnum<{
23137
+ light: "light";
23138
+ dark: "dark";
23139
+ }>;
23140
+ }, z.core.$strip>], "kind">>;
23046
23141
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23047
23142
  type: z.ZodEnum<{
23048
23143
  image: "image";
@@ -23184,6 +23279,11 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
23184
23279
  xl: "xl";
23185
23280
  xs: "xs";
23186
23281
  }>>;
23282
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
23283
+ accent: "accent";
23284
+ primary: "primary";
23285
+ secondary: "secondary";
23286
+ }>>;
23187
23287
  navPlacement: z.ZodOptional<z.ZodEnum<{
23188
23288
  center: "center";
23189
23289
  end: "end";
@@ -23494,6 +23594,10 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
23494
23594
  tint?: string | null | undefined;
23495
23595
  };
23496
23596
  barFrame?: "full-bleed" | "inset-shell" | undefined;
23597
+ scrollTreatment?: {
23598
+ kind: "contrast-glass";
23599
+ backgroundTone: "light" | "dark";
23600
+ } | undefined;
23497
23601
  logoOverride?: {
23498
23602
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
23499
23603
  purpose?: string | undefined;
@@ -23533,6 +23637,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
23533
23637
  navFontRole?: "heading" | "body" | undefined;
23534
23638
  navTypography?: "heading" | "body" | undefined;
23535
23639
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
23640
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
23536
23641
  navPlacement?: "center" | "end" | undefined;
23537
23642
  container?: {
23538
23643
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -23682,6 +23787,10 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
23682
23787
  tint?: string | null | undefined;
23683
23788
  };
23684
23789
  barFrame?: "full-bleed" | "inset-shell" | undefined;
23790
+ scrollTreatment?: {
23791
+ kind: "contrast-glass";
23792
+ backgroundTone: "light" | "dark";
23793
+ } | undefined;
23685
23794
  logoOverride?: {
23686
23795
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
23687
23796
  purpose?: string | undefined;
@@ -23721,6 +23830,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
23721
23830
  navFontRole?: "heading" | "body" | undefined;
23722
23831
  navTypography?: "heading" | "body" | undefined;
23723
23832
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
23833
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
23724
23834
  navPlacement?: "center" | "end" | undefined;
23725
23835
  container?: {
23726
23836
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -26386,6 +26496,13 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
26386
26496
  "full-bleed": "full-bleed";
26387
26497
  "inset-shell": "inset-shell";
26388
26498
  }>>;
26499
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
26500
+ kind: z.ZodLiteral<"contrast-glass">;
26501
+ backgroundTone: z.ZodEnum<{
26502
+ light: "light";
26503
+ dark: "dark";
26504
+ }>;
26505
+ }, z.core.$strip>], "kind">>;
26389
26506
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26390
26507
  type: z.ZodEnum<{
26391
26508
  image: "image";
@@ -26527,6 +26644,11 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
26527
26644
  xl: "xl";
26528
26645
  xs: "xs";
26529
26646
  }>>;
26647
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
26648
+ accent: "accent";
26649
+ primary: "primary";
26650
+ secondary: "secondary";
26651
+ }>>;
26530
26652
  navPlacement: z.ZodOptional<z.ZodEnum<{
26531
26653
  center: "center";
26532
26654
  end: "end";
@@ -26837,6 +26959,10 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
26837
26959
  tint?: string | null | undefined;
26838
26960
  };
26839
26961
  barFrame?: "full-bleed" | "inset-shell" | undefined;
26962
+ scrollTreatment?: {
26963
+ kind: "contrast-glass";
26964
+ backgroundTone: "light" | "dark";
26965
+ } | undefined;
26840
26966
  logoOverride?: {
26841
26967
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
26842
26968
  purpose?: string | undefined;
@@ -26876,6 +27002,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
26876
27002
  navFontRole?: "heading" | "body" | undefined;
26877
27003
  navTypography?: "heading" | "body" | undefined;
26878
27004
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
27005
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
26879
27006
  navPlacement?: "center" | "end" | undefined;
26880
27007
  container?: {
26881
27008
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -27025,6 +27152,10 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
27025
27152
  tint?: string | null | undefined;
27026
27153
  };
27027
27154
  barFrame?: "full-bleed" | "inset-shell" | undefined;
27155
+ scrollTreatment?: {
27156
+ kind: "contrast-glass";
27157
+ backgroundTone: "light" | "dark";
27158
+ } | undefined;
27028
27159
  logoOverride?: {
27029
27160
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
27030
27161
  purpose?: string | undefined;
@@ -27064,6 +27195,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
27064
27195
  navFontRole?: "heading" | "body" | undefined;
27065
27196
  navTypography?: "heading" | "body" | undefined;
27066
27197
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
27198
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
27067
27199
  navPlacement?: "center" | "end" | undefined;
27068
27200
  container?: {
27069
27201
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -30921,6 +31053,13 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
30921
31053
  "full-bleed": "full-bleed";
30922
31054
  "inset-shell": "inset-shell";
30923
31055
  }>>;
31056
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
31057
+ kind: z.ZodLiteral<"contrast-glass">;
31058
+ backgroundTone: z.ZodEnum<{
31059
+ light: "light";
31060
+ dark: "dark";
31061
+ }>;
31062
+ }, z.core.$strip>], "kind">>;
30924
31063
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30925
31064
  type: z.ZodEnum<{
30926
31065
  image: "image";
@@ -31062,6 +31201,11 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
31062
31201
  xl: "xl";
31063
31202
  xs: "xs";
31064
31203
  }>>;
31204
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
31205
+ accent: "accent";
31206
+ primary: "primary";
31207
+ secondary: "secondary";
31208
+ }>>;
31065
31209
  navPlacement: z.ZodOptional<z.ZodEnum<{
31066
31210
  center: "center";
31067
31211
  end: "end";
@@ -31372,6 +31516,10 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
31372
31516
  tint?: string | null | undefined;
31373
31517
  };
31374
31518
  barFrame?: "full-bleed" | "inset-shell" | undefined;
31519
+ scrollTreatment?: {
31520
+ kind: "contrast-glass";
31521
+ backgroundTone: "light" | "dark";
31522
+ } | undefined;
31375
31523
  logoOverride?: {
31376
31524
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
31377
31525
  purpose?: string | undefined;
@@ -31411,6 +31559,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
31411
31559
  navFontRole?: "heading" | "body" | undefined;
31412
31560
  navTypography?: "heading" | "body" | undefined;
31413
31561
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
31562
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
31414
31563
  navPlacement?: "center" | "end" | undefined;
31415
31564
  container?: {
31416
31565
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -31560,6 +31709,10 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
31560
31709
  tint?: string | null | undefined;
31561
31710
  };
31562
31711
  barFrame?: "full-bleed" | "inset-shell" | undefined;
31712
+ scrollTreatment?: {
31713
+ kind: "contrast-glass";
31714
+ backgroundTone: "light" | "dark";
31715
+ } | undefined;
31563
31716
  logoOverride?: {
31564
31717
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
31565
31718
  purpose?: string | undefined;
@@ -31599,6 +31752,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
31599
31752
  navFontRole?: "heading" | "body" | undefined;
31600
31753
  navTypography?: "heading" | "body" | undefined;
31601
31754
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
31755
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
31602
31756
  navPlacement?: "center" | "end" | undefined;
31603
31757
  container?: {
31604
31758
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -63290,6 +63444,13 @@ export declare const proposalToolSchemas: {
63290
63444
  "full-bleed": "full-bleed";
63291
63445
  "inset-shell": "inset-shell";
63292
63446
  }>>;
63447
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
63448
+ kind: z.ZodLiteral<"contrast-glass">;
63449
+ backgroundTone: z.ZodEnum<{
63450
+ light: "light";
63451
+ dark: "dark";
63452
+ }>;
63453
+ }, z.core.$strip>], "kind">>;
63293
63454
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63294
63455
  type: z.ZodEnum<{
63295
63456
  image: "image";
@@ -63431,6 +63592,11 @@ export declare const proposalToolSchemas: {
63431
63592
  xl: "xl";
63432
63593
  xs: "xs";
63433
63594
  }>>;
63595
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
63596
+ accent: "accent";
63597
+ primary: "primary";
63598
+ secondary: "secondary";
63599
+ }>>;
63434
63600
  navPlacement: z.ZodOptional<z.ZodEnum<{
63435
63601
  center: "center";
63436
63602
  end: "end";
@@ -63741,6 +63907,10 @@ export declare const proposalToolSchemas: {
63741
63907
  tint?: string | null | undefined;
63742
63908
  };
63743
63909
  barFrame?: "full-bleed" | "inset-shell" | undefined;
63910
+ scrollTreatment?: {
63911
+ kind: "contrast-glass";
63912
+ backgroundTone: "light" | "dark";
63913
+ } | undefined;
63744
63914
  logoOverride?: {
63745
63915
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
63746
63916
  purpose?: string | undefined;
@@ -63780,6 +63950,7 @@ export declare const proposalToolSchemas: {
63780
63950
  navFontRole?: "heading" | "body" | undefined;
63781
63951
  navTypography?: "heading" | "body" | undefined;
63782
63952
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
63953
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
63783
63954
  navPlacement?: "center" | "end" | undefined;
63784
63955
  container?: {
63785
63956
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -63929,6 +64100,10 @@ export declare const proposalToolSchemas: {
63929
64100
  tint?: string | null | undefined;
63930
64101
  };
63931
64102
  barFrame?: "full-bleed" | "inset-shell" | undefined;
64103
+ scrollTreatment?: {
64104
+ kind: "contrast-glass";
64105
+ backgroundTone: "light" | "dark";
64106
+ } | undefined;
63932
64107
  logoOverride?: {
63933
64108
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
63934
64109
  purpose?: string | undefined;
@@ -63968,6 +64143,7 @@ export declare const proposalToolSchemas: {
63968
64143
  navFontRole?: "heading" | "body" | undefined;
63969
64144
  navTypography?: "heading" | "body" | undefined;
63970
64145
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
64146
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
63971
64147
  navPlacement?: "center" | "end" | undefined;
63972
64148
  container?: {
63973
64149
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -67825,6 +68001,13 @@ export declare const proposalToolSchemas: {
67825
68001
  "full-bleed": "full-bleed";
67826
68002
  "inset-shell": "inset-shell";
67827
68003
  }>>;
68004
+ scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
68005
+ kind: z.ZodLiteral<"contrast-glass">;
68006
+ backgroundTone: z.ZodEnum<{
68007
+ light: "light";
68008
+ dark: "dark";
68009
+ }>;
68010
+ }, z.core.$strip>], "kind">>;
67828
68011
  logoOverride: z.ZodOptional<z.ZodNullable<z.ZodObject<{
67829
68012
  type: z.ZodEnum<{
67830
68013
  image: "image";
@@ -67966,6 +68149,11 @@ export declare const proposalToolSchemas: {
67966
68149
  xl: "xl";
67967
68150
  xs: "xs";
67968
68151
  }>>;
68152
+ interactionPalette: z.ZodOptional<z.ZodEnum<{
68153
+ accent: "accent";
68154
+ primary: "primary";
68155
+ secondary: "secondary";
68156
+ }>>;
67969
68157
  navPlacement: z.ZodOptional<z.ZodEnum<{
67970
68158
  center: "center";
67971
68159
  end: "end";
@@ -68276,6 +68464,10 @@ export declare const proposalToolSchemas: {
68276
68464
  tint?: string | null | undefined;
68277
68465
  };
68278
68466
  barFrame?: "full-bleed" | "inset-shell" | undefined;
68467
+ scrollTreatment?: {
68468
+ kind: "contrast-glass";
68469
+ backgroundTone: "light" | "dark";
68470
+ } | undefined;
68279
68471
  logoOverride?: {
68280
68472
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
68281
68473
  purpose?: string | undefined;
@@ -68315,6 +68507,7 @@ export declare const proposalToolSchemas: {
68315
68507
  navFontRole?: "heading" | "body" | undefined;
68316
68508
  navTypography?: "heading" | "body" | undefined;
68317
68509
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
68510
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
68318
68511
  navPlacement?: "center" | "end" | undefined;
68319
68512
  container?: {
68320
68513
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -68464,6 +68657,10 @@ export declare const proposalToolSchemas: {
68464
68657
  tint?: string | null | undefined;
68465
68658
  };
68466
68659
  barFrame?: "full-bleed" | "inset-shell" | undefined;
68660
+ scrollTreatment?: {
68661
+ kind: "contrast-glass";
68662
+ backgroundTone: "light" | "dark";
68663
+ } | undefined;
68467
68664
  logoOverride?: {
68468
68665
  type: "image" | "video" | "audio" | "document" | "spreadsheet" | "archive";
68469
68666
  purpose?: string | undefined;
@@ -68503,6 +68700,7 @@ export declare const proposalToolSchemas: {
68503
68700
  navFontRole?: "heading" | "body" | undefined;
68504
68701
  navTypography?: "heading" | "body" | undefined;
68505
68702
  navTextSize?: "base" | "sm" | "lg" | "xl" | "xs" | undefined;
68703
+ interactionPalette?: "accent" | "primary" | "secondary" | undefined;
68506
68704
  navPlacement?: "center" | "end" | undefined;
68507
68705
  container?: {
68508
68706
  rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl";
@@ -349,11 +349,7 @@ export type SiteBySlugResponse = {
349
349
  selectionId?: string | null;
350
350
  selectionVersion?: number | null;
351
351
  selectionUpdatedAt?: string | null;
352
- /**
353
- * Persisted Style configurator selections (Phase C). Optional so legacy
354
- * site_theme_selections rows (pre-migration) still satisfy the response
355
- * type — consumers fall back to the site style's defaults when null.
356
- */
352
+ /** Canonical persisted style selection; null only when no current selection exists. */
357
353
  selectionButtonStyleSelection?: import('../../theme-core/src/buttons/index').ButtonStyleSelection | null;
358
354
  selectionHeaderLayoutId?: string | null;
359
355
  selectionHeaderStyleId?: string | null;
@@ -5,6 +5,7 @@
5
5
  * Supports blocks (per-block data), metadata, content, and linkedContent (embedded entry data).
6
6
  */
7
7
  import type { EditorBlockId, EditorSyncState } from '../../../core/src/index';
8
+ import { type BlockDraftSaveability } from '../blockDraftSaveability';
8
9
  import type { FormBackend, StoreBackendOptions } from './types';
9
10
  type StoreSnapshot = {
10
11
  current: Record<string, unknown> | null;
@@ -45,7 +46,7 @@ interface EditorStoreState {
45
46
  blockValidation?: {
46
47
  markPathEdited: (blockId: EditorBlockId, path: string) => void;
47
48
  isPathEdited: (blockId: EditorBlockId, path: string) => boolean;
48
- showAllValidation: (blockId: EditorBlockId) => boolean;
49
+ getBlockSaveability: (blockId: EditorBlockId) => BlockDraftSaveability;
49
50
  };
50
51
  arrayKeys: ArrayKeysManager;
51
52
  requestFocus?: (payload: {
@@ -93,6 +93,7 @@ export declare function shouldShowBlockFieldValidation(input: {
93
93
  touchedPaths: ReadonlySet<string>;
94
94
  showAllValidation: boolean;
95
95
  }): boolean;
96
+ export declare function shouldRevealAllBlockFieldValidation(saveability: BlockDraftSaveability): boolean;
96
97
  export declare function validateBlockManifestValues(manifest: BlockManifest, values: Record<string, unknown>): BlockDraftValidationIssue[];
97
98
  export declare function validateBlockManifestIssues(manifest: BlockManifest, values: Record<string, unknown>, mode: BlockManifestValidationMode): ManifestValidationIssue[];
98
99
  export declare function validateBlockManifest(manifest: BlockManifest, values: Record<string, unknown>, mode: BlockManifestValidationMode): BlockDraftValidationIssue[];
@@ -51,9 +51,10 @@ export { singleButtonManifest } from './system/blocks/single-button';
51
51
  export { Text, RichText } from './primitives/content/primitives';
52
52
  export type { PrimitiveAPI, RichTextPrimitiveProps, RichTextVariant, TextProps, } from './primitives/content/primitives';
53
53
  export { resolveImageUrl, ImagePresets, buildMediaAssetIndex, buildResolveImageUrlContext, setContextSupabaseUrl, setContextSiteId, setContextMediaAssetIndex, setContextResolveImageUrlContext, setContextMediaAssets, getSiteId, runWithMediaContext, computeMediaTransformStyle, resolveImageSourceSetWithContext, resolveImageUrlResult, resolveImageUrlWithContext, resolveImageUrlWithContextResult, resolveMediaStorageUrl, resolveMediaStorageUrlResult, resolveMediaWithContext, resolveTargetAspectRatio, } from './system/runtime/nodes/media';
54
+ export { mergeResolveImageUrlContexts } from './system/runtime/nodes/mergeResolveImageUrlContexts';
54
55
  export type { ImageOptions, MediaAssetIndex, MediaAssetIndexItem, MediaUrlResolution, ResolveImageSourceSetOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolvedImageSourceSet, } from './system/runtime/nodes/media';
55
- export type { AudioMedia, ArchiveMedia, DocumentMedia, ImageMedia, Media, MediaOfType, MediaTypeDiscriminant, PublicDownloadMediaType, PublicDownloadMedia, SpreadsheetMedia, VideoMedia, } from './lib/media';
56
- export { MEDIA_TYPE_DISCRIMINANTS, PUBLIC_DOWNLOAD_MEDIA_TYPES, isMediaTypeDiscriminant, mediaSchema, mediaTypeDiscriminantFromMimeType, } from './lib/media';
56
+ export type { AudioMedia, ArchiveMedia, DocumentMedia, ImageMedia, Media, MediaIdentifier, MediaOfType, MediaTypeDiscriminant, PublicDownloadMediaType, PublicDownloadMedia, PersistableMedia, SpreadsheetMedia, VideoMedia, } from './lib/media';
57
+ export { MEDIA_TYPE_DISCRIMINANTS, PUBLIC_DOWNLOAD_MEDIA_TYPES, isMediaTypeDiscriminant, mediaIdentifierSchema, mediaSchema, mediaTypeDiscriminantFromMimeType, persistableMediaSchema, } from './lib/media';
57
58
  export { SECTION_BACKGROUND_MIN_SOURCE_HEIGHT, SECTION_BACKGROUND_MIN_SOURCE_WIDTH, resolveMediaSlotContract, } from './system/media/slotContracts';
58
59
  export { collectConstrainedVideoMediaValues } from './system/media/constrainedVideoMedia';
59
60
  export type { ConstrainedVideoMediaValue } from './system/media/constrainedVideoMedia';