@riverbankcms/sdk 0.126.0 → 0.128.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 (212) hide show
  1. package/dist/{PreviewEditorSidebar-DcYJxTgc.mjs → PreviewEditorSidebar-Dbvb7GIr.mjs} +64 -68
  2. package/dist/{PreviewEditorUI-Ctt1yTJr.mjs → PreviewEditorUI-e9O9l20X.mjs} +3 -3
  3. package/dist/{PreviewQueryProvider-DgFDIwvK.mjs → PreviewQueryProvider-B1kbhaJD.mjs} +1 -1
  4. package/dist/SdkPreviewModeRuntime-BZHt6e9w.mjs +11006 -0
  5. package/dist/{SiteChromeCustomizeContext-C87qlKWw.mjs → SiteChromeCustomizeContext-CvuGbHJX.mjs} +51247 -20733
  6. package/dist/_dts/ai/src/contracts/proposals.d.ts +486 -36
  7. package/dist/_dts/api/src/bookingClosures.d.ts +19 -3
  8. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -3
  9. package/dist/_dts/api/src/bookingRecords.d.ts +0 -13
  10. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -2
  11. package/dist/_dts/api/src/communications.d.ts +2 -1
  12. package/dist/_dts/api/src/contactFormSummary.d.ts +15 -0
  13. package/dist/_dts/api/src/contentRuntime.d.ts +3 -10
  14. package/dist/_dts/api/src/endpoints.d.ts +1 -1
  15. package/dist/_dts/api/src/footerSettings.d.ts +11 -0
  16. package/dist/_dts/api/src/index.d.ts +2 -1
  17. package/dist/_dts/api/src/occurrenceScheduling.d.ts +48 -0
  18. package/dist/_dts/api/src/participantMessaging.d.ts +5 -3
  19. package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +7 -0
  20. package/dist/_dts/api/src/sdkContracts.d.ts +7 -5
  21. package/dist/_dts/api/src/siteOperations.d.ts +12 -3
  22. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -2
  23. package/dist/_dts/block-form/src/backend/store-backend.d.ts +2 -1
  24. package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +1 -0
  25. package/dist/_dts/blocks/src/client/form.d.ts +1 -0
  26. package/dist/_dts/blocks/src/client/newsletter-form.d.ts +1 -0
  27. package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -0
  28. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -8
  29. package/dist/_dts/blocks/src/index.d.ts +3 -2
  30. package/dist/_dts/blocks/src/lib/media.d.ts +267 -0
  31. package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
  32. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +41 -0
  33. package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +14 -23
  34. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +1 -1
  35. package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +109 -23
  36. package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +0 -13
  37. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  38. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +42 -108
  39. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -54
  40. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -1
  41. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +26 -0
  42. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
  43. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -0
  44. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +4 -4
  45. package/dist/_dts/blocks/src/system/runtime/nodes/mergeResolveImageUrlContexts.d.ts +7 -0
  46. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +29 -78
  47. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
  48. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -6
  49. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +27 -8
  50. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
  51. package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +21 -0
  52. package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +3 -1
  53. package/dist/_dts/content-editor/src/FooterEngagementEditorFields.d.ts +31 -0
  54. package/dist/_dts/content-editor/src/FooterEngagementEditorPanel.d.ts +17 -0
  55. package/dist/_dts/content-editor/src/footerComposer.d.ts +3 -0
  56. package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +57 -0
  57. package/dist/_dts/content-editor/src/footerEngagementEditor.d.ts +11 -0
  58. package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +13 -0
  59. package/dist/_dts/content-editor/src/index.d.ts +1 -0
  60. package/dist/_dts/content-editor/src/ui/blockValidationManifestRegistry.d.ts +17 -0
  61. package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +1 -1
  62. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +4 -0
  63. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +35 -0
  64. package/dist/_dts/core/src/footer-arrangement.d.ts +2 -0
  65. package/dist/_dts/core/src/footer-composition-types.d.ts +118 -0
  66. package/dist/_dts/core/src/footer-composition.d.ts +7 -116
  67. package/dist/_dts/core/src/footer-engagement.d.ts +30 -0
  68. package/dist/_dts/core/src/index.d.ts +4 -0
  69. package/dist/_dts/core/src/newsletter-signup-destination.d.ts +38 -0
  70. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +200 -159
  71. package/dist/_dts/db/src/index.d.ts +1 -0
  72. package/dist/_dts/db/src/schemas/forms.d.ts +72 -2
  73. package/dist/_dts/db/src/schemas/standard-contact.d.ts +114 -0
  74. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +4 -0
  75. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +26 -0
  76. package/dist/_dts/editor-blocks/src/widgets/rich-text/imageInsert.d.ts +3 -3
  77. package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
  78. package/dist/_dts/media-editor/src/context.d.ts +1 -2
  79. package/dist/_dts/media-editor/src/index.d.ts +3 -1
  80. package/dist/_dts/media-editor/src/mediaSelection.d.ts +32 -0
  81. package/dist/_dts/media-editor/src/types.d.ts +3 -1
  82. package/dist/_dts/media-editor/src/useMediaSelection.d.ts +26 -0
  83. package/dist/_dts/preview-next/src/client/blocks/previewBatchLoaderParams.d.ts +6 -0
  84. package/dist/_dts/preview-next/src/client/index.d.ts +2 -0
  85. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -5
  86. package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -5
  87. package/dist/_dts/preview-next/src/client/preview/HeaderMenuControls.d.ts +12 -0
  88. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
  89. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -4
  90. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +13 -2
  91. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -4
  92. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -49
  93. package/dist/_dts/preview-next/src/client/preview/headerInteractionPaletteSurfaceState.d.ts +8 -0
  94. package/dist/_dts/preview-next/src/client/preview/previewThemeRoles.d.ts +15 -0
  95. package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +54 -0
  96. package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +13 -3
  97. package/dist/_dts/preview-next/src/client/preview/siteChromeNavQuickControlHistory.d.ts +3 -0
  98. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +6 -3
  99. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -5
  100. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +9 -0
  101. package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +10 -0
  102. package/dist/_dts/sdk/src/cli/content/reader.d.ts +3 -5
  103. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +15 -3
  104. package/dist/_dts/sdk/src/client/combineAbortSignals.d.ts +2 -0
  105. package/dist/_dts/sdk/src/client/management/types.d.ts +6 -15
  106. package/dist/_dts/sdk/src/client/types.d.ts +10 -2
  107. package/dist/_dts/sdk/src/client/wholeSeriesReadOperations.d.ts +11 -0
  108. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  109. package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
  110. package/dist/_dts/sdk/src/contracts/event-registration-content.d.ts +16 -0
  111. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -15
  112. package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -18
  113. package/dist/_dts/sdk/src/public-api/teamMemberContracts.d.ts +17 -0
  114. package/dist/_dts/sdk/src/public-api/wholeSeriesContracts.d.ts +2 -0
  115. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +7 -0
  116. package/dist/_dts/sdk/src/rendering/index.d.ts +5 -3
  117. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -2
  118. package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +8 -2
  119. package/dist/_dts/sdk/src/version.d.ts +1 -1
  120. package/dist/_dts/site-commands/src/commandContract.d.ts +8 -1
  121. package/dist/_dts/site-commands/src/commands.d.ts +16 -2
  122. package/dist/_dts/theme-core/src/buttons/effects/presets/background.d.ts +1 -1
  123. package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +0 -18
  124. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -3
  125. package/dist/_dts/theme-core/src/header/containerSchema.d.ts +20 -0
  126. package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +1 -1
  127. package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +14 -0
  128. package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +3 -0
  129. package/dist/_dts/theme-core/src/header/paintTargets.d.ts +31 -0
  130. package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +11 -0
  131. package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +8 -0
  132. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +15 -0
  133. package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
  134. package/dist/_dts/theme-core/src/schema.d.ts +67 -19
  135. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -51
  136. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -11
  137. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +3 -51
  138. package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +32 -0
  139. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +19 -106
  140. package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +22 -0
  141. package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -0
  142. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +4 -0
  143. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  144. package/dist/_dts/theme-core/src/site-styles/lookOptionGroups.d.ts +24 -0
  145. package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +1 -2
  146. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +4 -22
  147. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorOptions.d.ts +21 -0
  148. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
  149. package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +4 -1
  150. package/dist/cli/index.mjs +6272 -5706
  151. package/dist/client/{courseRegistration-BcemLAdN.mjs → CourseRegistrationWizard-xRmA7REV.mjs} +329 -49
  152. package/dist/client/{DiscountCodeDisclosure-DS0AuFWW.mjs → DiscountCodeDisclosure-B9vriL5C.mjs} +1 -1
  153. package/dist/client/{EventCombined.client-DtMxLr7q.mjs → EventCombined.client-BgVnVTlz.mjs} +2 -2
  154. package/dist/client/{EventListing.client-BdLSRNg1.mjs → EventListing.client-CqdsO7jO.mjs} +2 -2
  155. package/dist/client/{LeafletStaticMap-BrpC6vsT.mjs → LeafletStaticMap-CKPxot9M.mjs} +1 -1
  156. package/dist/client/{StepIndicator-CBYPFVoy.mjs → StepIndicator-DGCYuBJ1.mjs} +2 -2
  157. package/dist/client/{accordion-BqqwPJWM.mjs → accordion-BfN5Eqd-.mjs} +1 -1
  158. package/dist/client/{bookingForm-SneP3yxC.mjs → bookingForm-DOvCpBFP.mjs} +5 -5
  159. package/dist/client/bookings.mjs +126 -23
  160. package/dist/client/{carousel-BTIR9L3I.mjs → carousel-DPNmiH0f.mjs} +1 -1
  161. package/dist/client/{cart-bqiqd8SX.mjs → cart--egVXlrR.mjs} +3 -3
  162. package/dist/client/{checkout-WbTFV5v4.mjs → checkout-DywWtMcq.mjs} +3 -3
  163. package/dist/client/client.mjs +6111 -5794
  164. package/dist/client/courseRegistration-Dk9qFVwt.mjs +46 -0
  165. package/dist/client/{eventCalendar-CsxIw0V_.mjs → eventCalendar-Bkz2HjlS.mjs} +4 -4
  166. package/dist/client/{eventCombined-B6XMoHfa.mjs → eventCombined-D4kipYWg.mjs} +2 -2
  167. package/dist/client/{eventDetails-BJaoPPfo.mjs → eventDetails-Dz_5ix2Q.mjs} +56 -35
  168. package/dist/client/{eventListing-DgwdYHRT.mjs → eventListing-D0vm-zST.mjs} +2 -2
  169. package/dist/client/{eventRegistration-C0O3folu.mjs → eventRegistration-Cw1E4Q4p.mjs} +58 -6
  170. package/dist/client/{form-Bk9txGFt.mjs → form-C2Zf1n3K.mjs} +1 -1
  171. package/dist/client/{headerSection-yIBt0yTv.mjs → headerSection-CP05gzdc.mjs} +2 -2
  172. package/dist/client/hooks.mjs +1013 -935
  173. package/dist/client/{locationMap-C-3KIpv-.mjs → locationMap-Cl3x9PYJ.mjs} +2 -2
  174. package/dist/client/{newsletterForm-CzB8g8h2.mjs → newsletterForm-DyEJoClm.mjs} +26 -20
  175. package/dist/client/{pricing-C1QeDes_.mjs → pricing-DGuNR1W4.mjs} +1 -1
  176. package/dist/client/{productDetail-w7SBp5uc.mjs → productDetail-Cq-HrGew.mjs} +3 -3
  177. package/dist/client/{productList-D0tGKHGf.mjs → productList-DbB3jwqd.mjs} +3 -3
  178. package/dist/client/{propsDecoder-Bcin2DB3.mjs → propsDecoder-CiTuhUwY.mjs} +257 -142
  179. package/dist/client/rendering/client.mjs +1342 -1122
  180. package/dist/client/rendering/islands.mjs +18 -18
  181. package/dist/client/rendering.mjs +6622 -6321
  182. package/dist/client/{scrollToBlock-h-o_STf_.mjs → scrollToBlock-CShkRqab.mjs} +1 -1
  183. package/dist/client/{shop-BGzmL8O_.mjs → shop-Cu4Ib-ZA.mjs} +5 -5
  184. package/dist/client/{shop-commerce-lX8QxjX-.mjs → shop-commerce-BzpsOdh7.mjs} +4 -4
  185. package/dist/client/{shop-commerce-store-CEurARtu.mjs → shop-commerce-store-DaE7Fhj8.mjs} +1 -1
  186. package/dist/client/{shopShared-DXxH8xxw.mjs → shopShared-cF0c20vB.mjs} +2 -2
  187. package/dist/client/{useEventFilters-B591g9vd.mjs → useEventFilters-QZ3HMgaJ.mjs} +2 -2
  188. package/dist/client/{usePolling-BvnChV4m.mjs → usePolling-BKf0GcE-.mjs} +2 -2
  189. package/dist/preview-next/before-render.mjs +1 -1
  190. package/dist/preview-next/client/runtime.mjs +4 -4
  191. package/dist/preview-next/middleware.mjs +1 -1
  192. package/dist/{previewAuthStore-Dev9CdG9.mjs → previewAuthStore-BesgU5Xu.mjs} +1 -1
  193. package/dist/{sdk-runtime-M__i3Jce.mjs → sdk-runtime-Cn_QSCOg.mjs} +2 -2
  194. package/dist/{separator-VSlnI9bc.mjs → separator-CEoGABRc.mjs} +1 -1
  195. package/dist/server/components.mjs +1750 -1614
  196. package/dist/server/config-validation.mjs +1010 -935
  197. package/dist/server/config.mjs +1010 -935
  198. package/dist/server/data.mjs +1013 -935
  199. package/dist/server/index.mjs +40 -16
  200. package/dist/server/next.mjs +1790 -1632
  201. package/dist/server/page-converter.mjs +1012 -938
  202. package/dist/server/prebuild.mjs +1 -1
  203. package/dist/server/rendering/server.mjs +1746 -1601
  204. package/dist/server/rendering.mjs +1759 -1615
  205. package/dist/server/routing.mjs +1123 -975
  206. package/dist/server/server.mjs +1053 -951
  207. package/dist/server/theme-bridge.mjs +151 -118
  208. package/dist/server/theme.mjs +111 -23
  209. package/package.json +1 -1
  210. package/dist/SdkPreviewModeRuntime-CvW1vdQ4.mjs +0 -39468
  211. package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +0 -8
  212. package/dist/client/MagicLinkForm-Bt3IuLMy.mjs +0 -327
@@ -7475,8 +7475,6 @@ const VARIANT_ROLES = [
7475
7475
  "secondary",
7476
7476
  "outline",
7477
7477
  "ghost",
7478
- "link",
7479
- "tertiary",
7480
7478
  "accent"
7481
7479
  ];
7482
7480
  /**
@@ -7485,7 +7483,7 @@ const VARIANT_ROLES = [
7485
7483
  * IDs become class selectors, so keep the contract deliberately narrower than
7486
7484
  * an arbitrary string and shared with every authoring/runtime boundary.
7487
7485
  */
7488
- const buttonVariantIdSchema = z$1.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only");
7486
+ const buttonVariantIdSchema = z$1.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only").refine((value) => value !== "link" && value !== "tertiary", { message: "Retired button role IDs are not valid variant IDs" });
7489
7487
  function parseOpaqueButtonColourToken(value) {
7490
7488
  const token = parseThemeColorToken(value);
7491
7489
  if (token === null) return null;
@@ -8000,7 +7998,7 @@ function canonicalPaletteHashInput(colors, mode) {
8000
7998
  return `${mode}|${paletteColorFingerprint(colors)}`;
8001
7999
  }
8002
8000
  /**
8003
- * The shared TypeScript/SQL protocol. Do not reorder roles: the order comes
8001
+ * Stable curated-catalogue identity. Do not reorder roles: the order comes
8004
8002
  * from PALETTE_TOKEN_NAMES through canonicalPaletteHashInput.
8005
8003
  */
8006
8004
  function paletteValueKey(colors, mode) {
@@ -8993,6 +8991,60 @@ const siteChromeBackgroundOverrideOwner = "site-chrome-editor";
8993
8991
  * palette context and happens in `parseThemeColorReference`.
8994
8992
  */
8995
8993
  const tokenOrCssColorValueSchema = z$1.string();
8994
+ const BREAKPOINT_LG = 1024;
8995
+ const BREAKPOINT_XL = 1280;
8996
+ const BREAKPOINT_LG_DOWN = BREAKPOINT_LG - 1;
8997
+ function mqUp(px) {
8998
+ return `(min-width: ${px}px)`;
8999
+ }
9000
+ function mqDown(px) {
9001
+ return `(max-width: ${px}px)`;
9002
+ }
9003
+ function mqBetween(minPx, maxPx) {
9004
+ return `${mqUp(minPx)} and ${mqDown(maxPx)}`;
9005
+ }
9006
+ mqUp(640);
9007
+ mqUp(768);
9008
+ mqUp(BREAKPOINT_LG);
9009
+ mqUp(BREAKPOINT_XL);
9010
+ mqDown(639);
9011
+ mqDown(767);
9012
+ mqDown(BREAKPOINT_LG_DOWN);
9013
+ mqBetween(640, BREAKPOINT_LG_DOWN);
9014
+ mqDown(640);
9015
+ mqDown(768);
9016
+ //#endregion
9017
+ //#region ../theme-core/src/header/scrollTreatment.ts
9018
+ const headerScrollTreatmentSchema = z$1.discriminatedUnion("kind", [z$1.object({
9019
+ kind: z$1.literal("contrast-glass"),
9020
+ backgroundTone: z$1.enum(["light", "dark"])
9021
+ })]).optional();
9022
+ //#endregion
9023
+ //#region ../theme-core/src/header/containerSchema.ts
9024
+ const headerContainerSchema = z$1.object({
9025
+ rounded: z$1.enum([
9026
+ "none",
9027
+ "sm",
9028
+ "md",
9029
+ "lg",
9030
+ "xl",
9031
+ "2xl"
9032
+ ]).default("xl"),
9033
+ border: z$1.boolean().default(true),
9034
+ shadow: z$1.boolean().default(true),
9035
+ padding: z$1.enum([
9036
+ "sm",
9037
+ "md",
9038
+ "lg"
9039
+ ]).default("md"),
9040
+ tint: z$1.string().nullable().optional(),
9041
+ opacity: z$1.number().min(0).max(1).default(.12)
9042
+ }).optional();
9043
+ const headerInteractionPaletteSchema = z$1.enum([
9044
+ "primary",
9045
+ "secondary",
9046
+ "accent"
9047
+ ]);
8996
9048
  //#endregion
8997
9049
  //#region ../theme-core/src/schema.ts
8998
9050
  const axesSchema = z$1.object({
@@ -9402,25 +9454,6 @@ const navFontWeight = z$1.enum([
9402
9454
  ]);
9403
9455
  const headerMaxWidth = z$1.enum(["container", "full"]);
9404
9456
  const headerBarFrame = z$1.enum(["full-bleed", "inset-shell"]);
9405
- const headerContainerSchema = z$1.object({
9406
- rounded: z$1.enum([
9407
- "none",
9408
- "sm",
9409
- "md",
9410
- "lg",
9411
- "xl",
9412
- "2xl"
9413
- ]).default("xl"),
9414
- border: z$1.boolean().default(true),
9415
- shadow: z$1.boolean().default(true),
9416
- padding: z$1.enum([
9417
- "sm",
9418
- "md",
9419
- "lg"
9420
- ]).default("md"),
9421
- tint: z$1.string().nullable().optional(),
9422
- opacity: z$1.number().min(0).max(1).default(.12)
9423
- }).optional();
9424
9457
  const headerBorderSchema = componentBorderSchema.extend({ position: z$1.enum([
9425
9458
  "bottom",
9426
9459
  "top",
@@ -9547,6 +9580,7 @@ const headerSchema = z$1.object({
9547
9580
  shrinkOnScroll: z$1.boolean(),
9548
9581
  maxWidth: headerMaxWidth,
9549
9582
  barFrame: headerBarFrame.optional(),
9583
+ scrollTreatment: headerScrollTreatmentSchema,
9550
9584
  logoOverride: mediaSchema$1.nullable().optional(),
9551
9585
  background: headerBackgroundSchema.default({
9552
9586
  type: "color",
@@ -9559,6 +9593,7 @@ const headerSchema = z$1.object({
9559
9593
  navFontRole: z$1.enum(["body", "heading"]).optional(),
9560
9594
  navTypography: z$1.enum(["body", "heading"]).optional(),
9561
9595
  navTextSize: navLinkStyleSchema.shape.textSize,
9596
+ interactionPalette: headerInteractionPaletteSchema.optional(),
9562
9597
  navPlacement: z$1.enum(["end", "center"]).optional(),
9563
9598
  container: headerContainerSchema,
9564
9599
  border: headerBorderSchema,
@@ -9866,6 +9901,59 @@ function themeButtonClassName(spec) {
9866
9901
  spec.extraClassName
9867
9902
  ].filter(Boolean).join(" ");
9868
9903
  }
9904
+ shadeBackgroundEffect({
9905
+ id: "darken-background",
9906
+ name: "Darken on Hover",
9907
+ description: "Darkens the background color on hover",
9908
+ label: "Darken Amount (shade step)",
9909
+ shadeDirection: 1
9910
+ });
9911
+ shadeBackgroundEffect({
9912
+ id: "lighten-background",
9913
+ name: "Lighten on Hover",
9914
+ description: "Lightens the background color on hover",
9915
+ label: "Lighten Amount (shade step)",
9916
+ shadeDirection: -1
9917
+ });
9918
+ function shadeBackgroundEffect(config) {
9919
+ return {
9920
+ id: config.id,
9921
+ name: config.name,
9922
+ description: config.description,
9923
+ category: "background",
9924
+ pseudoElement: "none",
9925
+ applicableTo: ["button"],
9926
+ customizableOption: {
9927
+ name: "amount",
9928
+ type: "select",
9929
+ label: config.label,
9930
+ default: 100,
9931
+ options: [
9932
+ 0,
9933
+ 100,
9934
+ 200,
9935
+ 300,
9936
+ 400,
9937
+ 500,
9938
+ 600,
9939
+ 700,
9940
+ 800,
9941
+ 900
9942
+ ]
9943
+ },
9944
+ isApplicable: (buttonConfig) => buttonConfig.background.type === "solid",
9945
+ generateCSS: ({ themeId, variantId, options, tokens, buttonConfig }) => {
9946
+ if (buttonConfig.background.type !== "solid") return "";
9947
+ const amount = (options.amount || 100) * config.shadeDirection;
9948
+ const baseToken = buttonConfig.background.colorToken ?? "primary-500";
9949
+ return `
9950
+ :where([data-theme-scope="${themeId}"]) .${variantId}:hover {
9951
+ background-color: ${tokens.getColor(tokens.adjustShade(baseToken, amount))};
9952
+ }
9953
+ `;
9954
+ }
9955
+ };
9956
+ }
9869
9957
  buttonSizeNameSchema.options;
9870
9958
  //#endregion
9871
9959
  //#region ../theme-core/src/buttons/styles/domain.ts
@@ -14387,6 +14475,12 @@ const mediaBaseSchema = z.object({
14387
14475
  poster: mediaPosterSchema.optional(),
14388
14476
  transform: transformSchema.optional()
14389
14477
  });
14478
+ /**
14479
+ * Canonical identifier carried by media values that are safe to persist.
14480
+ * Parsing trims boundary input so downstream writers cannot retain whitespace-only
14481
+ * identifiers or independently disagree about normalization.
14482
+ */
14483
+ const mediaIdentifierSchema = z.string().trim().min(1).brand();
14390
14484
  const imageMediaSchema = mediaBaseSchema.extend({ type: z.literal("image") });
14391
14485
  const videoMediaSchema = mediaBaseSchema.extend({ type: z.literal("video") });
14392
14486
  const audioMediaSchema = mediaBaseSchema.extend({ type: z.literal("audio") });
@@ -14401,6 +14495,15 @@ const mediaSchema = z.discriminatedUnion("type", [
14401
14495
  spreadsheetMediaSchema,
14402
14496
  archiveMediaSchema
14403
14497
  ]);
14498
+ const persistableMediaBaseSchema = mediaBaseSchema.extend({ identifier: mediaIdentifierSchema });
14499
+ z.discriminatedUnion("type", [
14500
+ persistableMediaBaseSchema.extend({ type: z.literal("image") }),
14501
+ persistableMediaBaseSchema.extend({ type: z.literal("video") }),
14502
+ persistableMediaBaseSchema.extend({ type: z.literal("audio") }),
14503
+ persistableMediaBaseSchema.extend({ type: z.literal("document") }),
14504
+ persistableMediaBaseSchema.extend({ type: z.literal("spreadsheet") }),
14505
+ persistableMediaBaseSchema.extend({ type: z.literal("archive") })
14506
+ ]);
14404
14507
  //#endregion
14405
14508
  //#region ../blocks/src/system/manifest/richTextSchema.ts
14406
14509
  /**
@@ -1,4 +1,4 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Bcin2DB3.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CiTuhUwY.mjs";
2
2
  import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
3
3
  import { n as normalizeCarouselProps, t as CarouselNodeClient } from "./carousel.client-CpwTUhIo.mjs";
4
4
  import "react";
@@ -1,6 +1,6 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Bcin2DB3.mjs";
2
- import { t as CartController } from "./shop-commerce-lX8QxjX-.mjs";
3
- import { t as mountShopBlockIsland } from "./shopShared-DXxH8xxw.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CiTuhUwY.mjs";
2
+ import { t as CartController } from "./shop-commerce-BzpsOdh7.mjs";
3
+ import { t as mountShopBlockIsland } from "./shopShared-cF0c20vB.mjs";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/cart.client.tsx
@@ -1,6 +1,6 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Bcin2DB3.mjs";
2
- import { n as CheckoutController } from "./shop-commerce-lX8QxjX-.mjs";
3
- import { t as mountShopBlockIsland } from "./shopShared-DXxH8xxw.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-CiTuhUwY.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-BzpsOdh7.mjs";
3
+ import { t as mountShopBlockIsland } from "./shopShared-cF0c20vB.mjs";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx