@riverbankcms/sdk 0.80.0 → 0.82.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 (574) hide show
  1. package/README.md +65 -3
  2. package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
  3. package/dist/{PreviewEditorSidebar-QZG37QIF.mjs → PreviewEditorSidebar-LHGK6RIO.mjs} +760 -711
  4. package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
  5. package/dist/{PreviewEditorUI-AXIKSMZA.mjs → PreviewEditorUI-AXZG2SDC.mjs} +167 -28
  6. package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
  7. package/dist/SdkPreviewModeRuntime-RNVRHFFR.mjs +8 -0
  8. package/dist/_dts/ai/src/contracts/proposals.d.ts +838 -262
  9. package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
  10. package/dist/_dts/api/src/analytics.d.ts +1 -1
  11. package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
  12. package/dist/_dts/api/src/contentRuntime.d.ts +15 -3
  13. package/dist/_dts/api/src/contentTypes.d.ts +6 -0
  14. package/dist/_dts/api/src/courses.d.ts +1 -1
  15. package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
  16. package/dist/_dts/api/src/index.d.ts +6 -2
  17. package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
  18. package/dist/_dts/api/src/navigation.d.ts +2 -0
  19. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +17 -12
  20. package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
  21. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -6
  22. package/dist/_dts/api/src/types.d.ts +1 -1
  23. package/dist/_dts/block-form/src/backend/store-backend.d.ts +3 -1
  24. package/dist/_dts/block-form/src/backend/types.d.ts +3 -3
  25. package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
  26. package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
  27. package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
  28. package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
  29. package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
  30. package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
  31. package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
  32. package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
  33. package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
  34. package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
  35. package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
  36. package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
  37. package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
  38. package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
  39. package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
  40. package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
  41. package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
  42. package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
  43. package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
  44. package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
  45. package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
  46. package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
  47. package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -1
  48. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +28 -44
  49. package/dist/_dts/blocks/src/index.d.ts +6 -4
  50. package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
  51. package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
  52. package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
  53. package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
  54. package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -0
  55. package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
  56. package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
  57. package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
  58. package/dist/_dts/blocks/src/server.d.ts +1 -1
  59. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +592 -592
  60. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +592 -592
  61. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +592 -592
  62. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +592 -592
  63. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +592 -592
  64. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
  65. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +3 -2
  66. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +397 -111
  67. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -15
  68. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +592 -592
  69. package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
  70. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +2 -0
  71. package/dist/_dts/blocks/src/system/blocks/form.d.ts +20 -1
  72. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +592 -592
  73. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -0
  74. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
  75. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
  76. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +54 -54
  77. package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +21 -0
  78. package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +162 -0
  79. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +592 -602
  80. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +592 -604
  81. package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
  82. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +592 -592
  83. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
  84. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
  85. package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
  86. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  87. package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
  88. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +19 -5
  89. package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
  90. package/dist/_dts/blocks/src/system/data/index.d.ts +2 -0
  91. package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +102 -0
  92. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  93. package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
  94. package/dist/_dts/blocks/src/system/designCapabilities.d.ts +2 -2
  95. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +6 -1
  96. package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -1
  97. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +71 -56
  98. package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +2 -0
  99. package/dist/_dts/blocks/src/system/node/types.d.ts +8 -1
  100. package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
  101. package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
  102. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
  103. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +56 -74
  104. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +27 -36
  105. package/dist/_dts/blocks/src/system/runtime/headingDecoration.d.ts +21 -0
  106. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +45 -14
  107. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -9
  108. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -10
  109. package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
  110. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +4 -0
  111. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
  112. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
  113. package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
  114. package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
  115. package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
  116. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
  117. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
  118. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
  119. package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
  120. package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
  121. package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
  122. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
  124. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
  125. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
  126. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
  127. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
  128. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
  129. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
  130. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
  131. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
  132. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
  133. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
  134. package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
  135. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +2 -1
  136. package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
  137. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
  138. package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
  139. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
  140. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
  141. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
  142. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
  143. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
  144. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
  145. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
  146. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
  147. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
  148. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
  149. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
  150. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
  151. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +12 -5
  152. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  153. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +21 -16
  154. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +3 -2
  155. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +21 -16
  156. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +17 -28
  157. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
  158. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
  159. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
  160. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +2 -1
  161. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +2 -3
  162. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +3 -3
  163. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +50 -0
  164. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +2 -1
  165. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
  166. package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
  167. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
  168. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
  169. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
  170. package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
  171. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +29 -14
  172. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
  173. package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +23 -0
  174. package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
  175. package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
  176. package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
  177. package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
  178. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
  179. package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
  180. package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
  181. package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
  182. package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
  183. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
  184. package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
  185. package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
  186. package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
  187. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +13 -0
  188. package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
  189. package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
  190. package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
  191. package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
  192. package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
  193. package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
  194. package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
  195. package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
  196. package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
  197. package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
  198. package/dist/_dts/blocks/src/system/transforms/registry/_utils/sectionForegroundStyles.d.ts +2 -0
  199. package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +4 -2
  200. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
  201. package/dist/_dts/calendar/src/grid.d.ts +27 -0
  202. package/dist/_dts/calendar/src/index.d.ts +2 -2
  203. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
  204. package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
  205. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +1 -1
  206. package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +3 -1
  207. package/dist/_dts/content-editor/src/editorTransactionState.d.ts +1 -0
  208. package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +26 -0
  209. package/dist/_dts/content-editor/src/hooks/publishability.d.ts +1 -0
  210. package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +23 -0
  211. package/dist/_dts/content-editor/src/hooks/useReactiveToolbar.d.ts +1 -1
  212. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +2 -2
  213. package/dist/_dts/content-editor/src/index.d.ts +3 -1
  214. package/dist/_dts/content-editor/src/lib/json.d.ts +2 -0
  215. package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +8 -0
  216. package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +6 -1
  217. package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +6 -1
  218. package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
  219. package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
  220. package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
  221. package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
  222. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +58 -0
  223. package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +93 -0
  224. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +67 -5
  225. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +2 -0
  226. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
  227. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
  228. package/dist/_dts/content-model/src/content-types/builtins.d.ts +43 -40
  229. package/dist/_dts/content-model/src/metadataConfig.d.ts +87 -47
  230. package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
  231. package/dist/_dts/core/src/branded.d.ts +5 -0
  232. package/dist/_dts/core/src/event-pricing.d.ts +72 -0
  233. package/dist/_dts/core/src/index.d.ts +1 -0
  234. package/dist/_dts/core/src/stable-json.d.ts +1 -0
  235. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +27 -2
  236. package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
  237. package/dist/_dts/editor/src/EditorProvider.d.ts +26 -0
  238. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +26 -0
  239. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +45 -0
  240. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +25 -0
  241. package/dist/_dts/editor/src/components/EditingToggle.d.ts +9 -0
  242. package/dist/_dts/editor/src/hooks/useEditableElement.d.ts +18 -0
  243. package/dist/_dts/editor/src/index.d.ts +29 -0
  244. package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -0
  245. package/dist/_dts/editor/src/lib/utils.d.ts +1 -0
  246. package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +20 -0
  247. package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +11 -0
  248. package/dist/_dts/editor/src/primitives/SaveContext.d.ts +12 -0
  249. package/dist/_dts/editor/src/primitives/helpers.d.ts +1 -0
  250. package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +26 -0
  251. package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +16 -0
  252. package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +23 -0
  253. package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextImage.d.ts +2 -0
  254. package/dist/_dts/editor/src/primitives/rich-text/extensions/RichTextLink.d.ts +1 -0
  255. package/dist/_dts/editor/src/primitives/rich-text/imageActions.d.ts +22 -0
  256. package/dist/_dts/editor/src/primitives/rich-text/sanitize.d.ts +23 -0
  257. package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +6 -0
  258. package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +10 -0
  259. package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +11 -0
  260. package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +58 -0
  261. package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +19 -0
  262. package/dist/_dts/editor/src/primitives/rich-text/utils.d.ts +20 -0
  263. package/dist/_dts/editor/src/utils/optimisticTokens.d.ts +27 -0
  264. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -2
  265. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -1
  266. package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
  267. package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
  268. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +4 -4
  269. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
  270. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +5 -5
  271. package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
  272. package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
  273. package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
  274. package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
  275. package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +1 -1
  276. package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
  277. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
  278. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
  279. package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
  280. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +4 -4
  281. package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +15 -0
  282. package/dist/_dts/editor-blocks/src/block-editor/blockHeaderActionPlan.d.ts +49 -0
  283. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
  284. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
  285. package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
  286. package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
  287. package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
  288. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
  289. package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
  290. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
  291. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
  292. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  293. package/dist/_dts/editor-blocks/src/widgets/index.d.ts +2 -0
  294. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
  295. package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
  296. package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
  297. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
  298. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
  299. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
  300. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
  301. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
  302. package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
  303. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
  304. package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
  305. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
  306. package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +2 -2
  307. package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +2 -2
  308. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +3 -0
  309. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +14 -0
  310. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/index.d.ts +6 -0
  311. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +51 -0
  312. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +20 -0
  313. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +5 -0
  314. package/dist/_dts/media-core/src/index.d.ts +1 -0
  315. package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +18 -0
  316. package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
  317. package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
  318. package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
  319. package/dist/_dts/media-editor/src/MediaEditor.d.ts +4 -1
  320. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +2 -1
  321. package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
  322. package/dist/_dts/media-editor/src/context.d.ts +1 -1
  323. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
  324. package/dist/_dts/media-editor/src/index.d.ts +1 -1
  325. package/dist/_dts/media-editor/src/provider.d.ts +1 -1
  326. package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
  327. package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
  328. package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
  329. package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
  330. package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +7 -4
  331. package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
  332. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +7 -3
  333. package/dist/_dts/preview-next/src/client/blocks/blockCustomizePopoverRows.d.ts +25 -0
  334. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
  335. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +4 -30
  336. package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +11 -0
  337. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +3 -9
  338. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
  339. package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +2 -1
  340. package/dist/_dts/preview-next/src/client/index.d.ts +0 -1
  341. package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +1 -1
  342. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +4 -2
  343. package/dist/_dts/preview-next/src/client/preview/LinkedEntryEditEventBridge.d.ts +1 -0
  344. package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
  345. package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
  346. package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +6 -3
  347. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
  348. package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
  349. package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
  350. package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
  351. package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +20 -0
  352. package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
  353. package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
  354. package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +13 -0
  355. package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
  356. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
  357. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
  358. package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +3 -2
  359. package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
  360. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +21 -20
  361. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
  362. package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +13 -0
  363. package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
  364. package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
  365. package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
  366. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +2 -1
  367. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +60 -6
  368. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
  369. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +14 -1
  370. package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
  371. package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +9 -0
  372. package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +51 -0
  373. package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +68 -0
  374. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +8 -1
  375. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +11 -9
  376. package/dist/_dts/preview-next/src/client/preview/previewDesignHistoryOrder.d.ts +18 -0
  377. package/dist/_dts/preview-next/src/client/preview/previewUndoDomains.d.ts +1 -1
  378. package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +41 -0
  379. package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +120 -0
  380. package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +30 -0
  381. package/dist/_dts/preview-next/src/client/preview/siteStyleHistoryState.d.ts +55 -0
  382. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +1 -0
  383. package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
  384. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
  385. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +2 -1
  386. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +8 -5
  387. package/dist/_dts/preview-next/src/constants.d.ts +0 -1
  388. package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
  389. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
  390. package/dist/_dts/sdk/src/cli/config-loader.d.ts +3 -1
  391. package/dist/_dts/sdk/src/cli/content/reader.d.ts +6 -12
  392. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -0
  393. package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
  394. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +3 -1
  395. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -0
  396. package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
  397. package/dist/_dts/sdk/src/client/types.d.ts +36 -4
  398. package/dist/_dts/sdk/src/client.d.ts +1 -1
  399. package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
  400. package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
  401. package/dist/_dts/sdk/src/config/types.d.ts +10 -1
  402. package/dist/_dts/sdk/src/config/validation.d.ts +24 -24
  403. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +30 -4
  404. package/dist/_dts/sdk/src/index.d.ts +1 -1
  405. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
  406. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
  407. package/dist/_dts/sdk/src/public-api/contracts.d.ts +39 -37
  408. package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
  409. package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
  410. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
  411. package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
  412. package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
  413. package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
  414. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
  415. package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
  416. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -15
  417. package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +4 -0
  418. package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
  419. package/dist/_dts/sdk/src/server.d.ts +1 -1
  420. package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +1 -1
  421. package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
  422. package/dist/_dts/sdk/src/version.d.ts +1 -1
  423. package/dist/_dts/site-commands/src/commands.d.ts +69 -21
  424. package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
  425. package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
  426. package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
  427. package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
  428. package/dist/_dts/theme-core/src/accordions/types.d.ts +5 -5
  429. package/dist/_dts/theme-core/src/buttons/constants.d.ts +26 -1
  430. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
  431. package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +22 -0
  432. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -7
  433. package/dist/_dts/theme-core/src/buttons/types.d.ts +26 -17
  434. package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +44 -0
  435. package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
  436. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  437. package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
  438. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
  439. package/dist/_dts/theme-core/src/interactive/types.d.ts +10 -0
  440. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +228 -198
  441. package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
  442. package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
  443. package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
  444. package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
  445. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
  446. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
  447. package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +27 -0
  448. package/dist/_dts/theme-core/src/schema.d.ts +273 -226
  449. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
  450. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +4 -1
  451. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +87 -31
  452. package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +6 -2
  453. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
  454. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +87 -31
  455. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +30 -1
  456. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +32 -16
  457. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +13 -9
  458. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +5 -0
  459. package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
  460. package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
  461. package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +3 -23
  462. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +276 -4
  463. package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
  464. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +33 -3
  465. package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +508 -0
  466. package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
  467. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +10 -10
  468. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
  469. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  470. package/dist/_dts/theme-core/src/site-styles/types.d.ts +26 -6
  471. package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
  472. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
  473. package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
  474. package/dist/_dts/ui/src/badge.d.ts +1 -1
  475. package/dist/_dts/ui/src/button-group.d.ts +3 -3
  476. package/dist/_dts/ui/src/calendar.d.ts +2 -2
  477. package/dist/_dts/ui/src/card.d.ts +6 -6
  478. package/dist/_dts/ui/src/combobox.d.ts +1 -1
  479. package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
  480. package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
  481. package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
  482. package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
  483. package/dist/_dts/ui/src/dialog.d.ts +10 -10
  484. package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
  485. package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
  486. package/dist/_dts/ui/src/empty-state.d.ts +1 -1
  487. package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
  488. package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
  489. package/dist/_dts/ui/src/form.d.ts +7 -7
  490. package/dist/_dts/ui/src/label.d.ts +1 -1
  491. package/dist/_dts/ui/src/menubar.d.ts +16 -16
  492. package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
  493. package/dist/_dts/ui/src/number-input.d.ts +1 -1
  494. package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
  495. package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
  496. package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
  497. package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
  498. package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
  499. package/dist/_dts/ui/src/select.d.ts +10 -10
  500. package/dist/_dts/ui/src/separator.d.ts +1 -1
  501. package/dist/_dts/ui/src/sheet.d.ts +9 -9
  502. package/dist/_dts/ui/src/spinner.d.ts +1 -1
  503. package/dist/_dts/ui/src/tooltip.d.ts +4 -4
  504. package/dist/{chunk-MPBNEVPB.mjs → chunk-2BUMISSH.mjs} +1 -1
  505. package/dist/{chunk-7PCYG6YV.mjs → chunk-6FWNF3DJ.mjs} +2086 -1128
  506. package/dist/{chunk-BBLZSQEY.mjs → chunk-FIREV57T.mjs} +14 -9
  507. package/dist/{chunk-5NZGBSJF.mjs → chunk-G35HOQEN.mjs} +2608 -2397
  508. package/dist/{chunk-HTB4BMKD.mjs → chunk-HKB6XVIP.mjs} +321 -113
  509. package/dist/{chunk-GYXKAUFV.mjs → chunk-XQR6THQJ.mjs} +27831 -17740
  510. package/dist/cli/index.mjs +4581 -2802
  511. package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
  512. package/dist/client/{accordion-QFZMNB7O.mjs → accordion-G34C45TW.mjs} +2 -2
  513. package/dist/client/{bookingForm-NCIXFWIG.mjs → bookingForm-BLBVKSAQ.mjs} +12 -12
  514. package/dist/client/bookings.mjs +321 -60
  515. package/dist/client/{carousel-EO4BJMWD.mjs → carousel-7ZVTBRMD.mjs} +3 -3
  516. package/dist/client/{cart-FTYCLYUW.mjs → cart-Q6S6LZUO.mjs} +8 -7
  517. package/dist/client/{checkout-NFGLVCOX.mjs → checkout-5QJLDE4I.mjs} +8 -7
  518. package/dist/client/{chunk-IWFZSQNZ.mjs → chunk-5PQH4Y75.mjs} +3 -3
  519. package/dist/client/{chunk-Y37KDO7P.mjs → chunk-CHAB5ACD.mjs} +5 -4
  520. package/dist/client/{chunk-VDS5YFLX.mjs → chunk-CSZGLBYR.mjs} +1 -1
  521. package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
  522. package/dist/client/{chunk-6GVVWSPU.mjs → chunk-EQKYMX4N.mjs} +348 -301
  523. package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
  524. package/dist/client/chunk-L4J5Y62O.mjs +18 -0
  525. package/dist/client/{chunk-PUOELU4O.mjs → chunk-RJHTCTCZ.mjs} +550 -262
  526. package/dist/client/{chunk-AUJ5DBZJ.mjs → chunk-S3MKFGOG.mjs} +170 -28
  527. package/dist/client/{chunk-CE7IBGVW.mjs → chunk-SBBSMFFG.mjs} +1 -1
  528. package/dist/client/{chunk-4W66ALYT.mjs → chunk-U2EW7RSR.mjs} +1 -1
  529. package/dist/client/{chunk-PYRBIURC.mjs → chunk-WJFHDTYF.mjs} +17 -34
  530. package/dist/client/{chunk-T6UIP6UZ.mjs → chunk-ZF4XEWDM.mjs} +1 -1
  531. package/dist/client/client.mjs +13449 -9393
  532. package/dist/client/{courseRegistration-2EORROPS.mjs → courseRegistration-VUG2JJDB.mjs} +13 -12
  533. package/dist/client/{eventCalendar-WZI4VL6N.mjs → eventCalendar-E7D2LD4N.mjs} +14 -14
  534. package/dist/client/{eventCombined-QCB2TCNL.mjs → eventCombined-FUZ2Z3CS.mjs} +14 -14
  535. package/dist/client/{eventDetails-TFTATAPH.mjs → eventDetails-QRITJAOW.mjs} +9 -9
  536. package/dist/client/{eventListing-A2CQEHEQ.mjs → eventListing-INMQMJZ5.mjs} +14 -14
  537. package/dist/client/{eventRegistration-OELPVLUY.mjs → eventRegistration-TOOJD4WU.mjs} +17 -15
  538. package/dist/client/{form-NTIFD6WQ.mjs → form-BOWN7ZNQ.mjs} +3 -3
  539. package/dist/client/{headerSection-7TBNKCLA.mjs → headerSection-HFQNZOUU.mjs} +55 -14
  540. package/dist/client/hooks.mjs +26989 -25527
  541. package/dist/client/{locationMap-LRLB5A3H.mjs → locationMap-VUZGC7Y5.mjs} +2 -2
  542. package/dist/client/{newsletterForm-XI52RZSN.mjs → newsletterForm-X2XQTPCB.mjs} +3 -3
  543. package/dist/client/{productDetail-GSNKBFLY.mjs → productDetail-TA7D2G2B.mjs} +8 -7
  544. package/dist/client/{productList-BGCGT4KZ.mjs → productList-AZOLOZKM.mjs} +8 -7
  545. package/dist/client/rendering/client.mjs +5518 -3869
  546. package/dist/client/rendering/islands.mjs +32 -20
  547. package/dist/client/rendering.mjs +14494 -10485
  548. package/dist/client/{shop-RQHUCLNY.mjs → shop-ZDLO7IIG.mjs} +8 -7
  549. package/dist/client/spam-protection.mjs +3 -5
  550. package/dist/preview-next/client/runtime.css +1 -1
  551. package/dist/preview-next/client/runtime.mjs +5 -5
  552. package/dist/preview-next/constants.mjs +0 -2
  553. package/dist/preview-next/index.mjs +0 -2
  554. package/dist/{sdk-runtime-A4LHT2RS.mjs → sdk-runtime-CTWKNBDQ.mjs} +6 -6
  555. package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
  556. package/dist/server/components.mjs +10475 -7369
  557. package/dist/server/config-validation.mjs +26616 -25360
  558. package/dist/server/config.mjs +26616 -25360
  559. package/dist/server/data.mjs +27048 -25586
  560. package/dist/server/index.mjs +109 -56
  561. package/dist/server/next.mjs +15424 -12076
  562. package/dist/server/page-converter.mjs +5570 -3107
  563. package/dist/server/prebuild.mjs +2 -1
  564. package/dist/server/rendering/server.mjs +10850 -7549
  565. package/dist/server/rendering.mjs +10855 -7554
  566. package/dist/server/routing.mjs +30134 -28531
  567. package/dist/server/server.mjs +27369 -25856
  568. package/dist/server/theme-bridge.mjs +902 -167
  569. package/dist/server/theme.mjs +197 -133
  570. package/dist/styles/index.css +606 -133
  571. package/package.json +16 -16
  572. package/dist/SdkPreviewModeRuntime-XE5M4UKM.mjs +0 -8
  573. package/dist/_dts/editor-blocks/src/block-editor/actionControlMode.d.ts +0 -2
  574. package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +0 -3
@@ -1,4 +1,8 @@
1
1
  import type { TextProps } from '../../../blocks/src/index';
2
+ import type { PreviewLinkedEntryFieldBinding } from '../../../blocks/src/system/data/index';
3
+ type PreviewTextEditorProps = TextProps & {
4
+ onLinkedEntryFieldFocus?: (binding: PreviewLinkedEntryFieldBinding) => void;
5
+ };
2
6
  /**
3
7
  * Inline text editor for preview mode with local authority.
4
8
  *
@@ -13,4 +17,5 @@ import type { TextProps } from '../../../blocks/src/index';
13
17
  *
14
18
  * This component mirrors PreviewRichTextEditor's pattern for consistency.
15
19
  */
16
- export declare function PreviewTextEditor(props: TextProps): import("react/jsx-runtime").JSX.Element | null;
20
+ export declare function PreviewTextEditor(props: PreviewTextEditorProps): import("react").JSX.Element | null;
21
+ export {};
@@ -1,4 +1,5 @@
1
1
  import type { ActivePreviewField } from '../../ui/editorUiStore';
2
+ import type { PreviewLinkedEntryFieldBinding } from '../../../../blocks/src/system/data/index';
2
3
  /**
3
4
  * Returns true when the given editor path targets the same block-field that
4
5
  * the sidebar has currently focused (the "linked focus" affordance).
@@ -7,3 +8,4 @@ import type { ActivePreviewField } from '../../ui/editorUiStore';
7
8
  * primitives and tests share a single source of truth.
8
9
  */
9
10
  export declare function isLinkedSidebarField(editorPath: string, activeField: ActivePreviewField): boolean;
11
+ export declare function isLinkedEntrySidebarField(binding: PreviewLinkedEntryFieldBinding | null | undefined, activeField: ActivePreviewField): boolean;
@@ -1,3 +1,3 @@
1
1
  export { parseEditorPath, useStoreBinding } from './storeBinding';
2
- export { isLinkedSidebarField } from './activePreviewField';
2
+ export { isLinkedEntrySidebarField, isLinkedSidebarField } from './activePreviewField';
3
3
  export type { PathInfo } from './types';
@@ -1,3 +1,4 @@
1
+ import type { PreviewLinkedEntryWriteBinding } from '../../../../blocks/src/system/data/index';
1
2
  import type { PathInfo } from './types';
2
3
  /**
3
4
  * Parse editor path into store and field components.
@@ -7,6 +8,7 @@ import type { PathInfo } from './types';
7
8
  * - metadata.<field> → metadata store (entry metadata editing)
8
9
  */
9
10
  export declare function parseEditorPath(path: string): PathInfo | null;
11
+ export type StoreBindingInput = string | PreviewLinkedEntryWriteBinding;
10
12
  /**
11
13
  * Hook to bind to a store field via path.
12
14
  *
@@ -20,7 +22,7 @@ export declare function parseEditorPath(path: string): PathInfo | null;
20
22
  * @param path - Editor path (blocks.<id>.<field>, content.<field>, or metadata.<field>)
21
23
  * @returns {value, setValue, version, pathInfo}
22
24
  */
23
- export declare function useStoreBinding(path: string): {
25
+ export declare function useStoreBinding(input: StoreBindingInput): {
24
26
  value: unknown;
25
27
  setValue: (value: unknown) => void;
26
28
  version: number;
@@ -1,4 +1,5 @@
1
1
  import type { EditorBlockId } from '../../ui/editorHistory';
2
+ import type { LinkedContentEntryId } from '../../linkedEntries/domain';
2
3
  /**
3
4
  * Path information for store binding.
4
5
  * Supports three patterns:
@@ -16,4 +17,8 @@ export type PathInfo = {
16
17
  } | {
17
18
  store: 'metadata';
18
19
  field: string;
20
+ } | {
21
+ store: 'linkedEntry';
22
+ entryId: LinkedContentEntryId;
23
+ field: string;
19
24
  };
@@ -1,4 +1,5 @@
1
1
  import { unsafeAsEditorBlockId, unsafeAsEditorBlockValues, unsafeAsEditorContentValues, unsafeAsEditorEntryId, unsafeAsEditorMetadataValues, unsafeAsEditorPageId, unsafeAsEditorSiteId, type EditorBlockBaselineInput, type EditorBlockId, type EditorBlockPublishedBaselineInput, type EditorDraftBlockBaselineUpdateMetaInput, type EditorDraftBlockInitMetaInput, type EditorBlockValues, type EditorContentValues, type EditorEntryId, type EditorMetadataValues, type EditorPageId, type EditorPersistedBlock, type EditorSiteId, type EditorStructuralCommand, type EditorStructuralDraftSnapshot, type EditorSyncState, type EditorValueRecord } from '../../../core/src/index';
2
+ import { type LinkedContentEntryId, type LinkedContentTypeKey } from '../linkedEntries/domain';
2
3
  export { unsafeAsEditorBlockId, unsafeAsEditorBlockValues, unsafeAsEditorContentValues, unsafeAsEditorEntryId, unsafeAsEditorMetadataValues, unsafeAsEditorPageId, unsafeAsEditorSiteId, type EditorBlockId, type EditorBlockValues, type EditorContentValues, type EditorEntryId, type EditorMetadataValues, type EditorPageId, type EditorSiteId, };
3
4
  export type EditorCommand = {
4
5
  type: 'set-metadata-value';
@@ -23,6 +24,15 @@ export type EditorCommand = {
23
24
  type: 'replace-block';
24
25
  blockId: EditorBlockId;
25
26
  value: EditorBlockValues | null;
27
+ } | {
28
+ type: 'set-linked-entry-value';
29
+ entryId: string;
30
+ path: string;
31
+ value: unknown;
32
+ } | {
33
+ type: 'replace-linked-entry';
34
+ entryId: string;
35
+ value: EditorContentValues | null;
26
36
  } | EditorStructuralCommand | {
27
37
  type: 'batch';
28
38
  changes: readonly EditorCommand[];
@@ -51,6 +61,18 @@ export type EditorValueSnapshot<TValue extends EditorValueRecord | null> = Reado
51
61
  }>;
52
62
  type EditorMetadataSnapshot = EditorValueSnapshot<EditorMetadataValues | null>;
53
63
  type EditorContentSnapshot = EditorValueSnapshot<EditorContentValues | null>;
64
+ export type EditorLinkedEntryMeta = Readonly<{
65
+ entryId: LinkedContentEntryId;
66
+ contentTypeKey: LinkedContentTypeKey;
67
+ contentTypeLabel: string;
68
+ title: string;
69
+ titleField: string | null;
70
+ optimisticHash: string | null;
71
+ fields: readonly EditorValueRecord[];
72
+ }>;
73
+ export type EditorLinkedEntrySnapshot = EditorValueSnapshot<EditorContentValues | null> & Readonly<{
74
+ meta: EditorLinkedEntryMeta;
75
+ }>;
54
76
  export type EditorBlockMeta = Readonly<{
55
77
  kind: string;
56
78
  purpose: string | null;
@@ -96,6 +118,7 @@ export type EditorHistorySnapshot = Readonly<{
96
118
  */
97
119
  blockList: readonly NormalizedEditorBlockItem[];
98
120
  drafts: Readonly<Record<EditorBlockId, EditorDraftSnapshot>>;
121
+ linkedEntries: Readonly<Record<string, EditorLinkedEntrySnapshot>>;
99
122
  }>;
100
123
  export declare function requirePersistedEditorBlock(block: EditorBlockItem | NormalizedEditorBlockItem): PersistedEditorBlockItem;
101
124
  export declare function createEditorDraftSnapshotFromBlock(block: PersistedEditorBlockItem): EditorDraftSnapshot;
@@ -179,6 +202,33 @@ export type EditorSystemOperation = {
179
202
  } | {
180
203
  type: 'clear-draft-pending';
181
204
  blockId: EditorBlockId;
205
+ } | {
206
+ type: 'hydrate-linked-entry';
207
+ entryId: string;
208
+ contentTypeKey: string;
209
+ contentTypeLabel: string;
210
+ title: string;
211
+ titleField?: string | null;
212
+ optimisticHash?: string | null;
213
+ fields: readonly EditorValueRecord[];
214
+ baseline: EditorContentValues | null;
215
+ current?: EditorContentValues | null;
216
+ } | {
217
+ type: 'discard-linked-entry';
218
+ entryId: string;
219
+ } | {
220
+ type: 'save-linked-entry-succeeded';
221
+ entryId: string;
222
+ savedValues: EditorContentValues | null;
223
+ acknowledgedVersion: number;
224
+ optimisticHash?: string | null;
225
+ } | {
226
+ type: 'save-linked-entry-failed';
227
+ entryId: string;
228
+ message?: string;
229
+ } | {
230
+ type: 'clear-linked-entry-error';
231
+ entryId: string;
182
232
  } | {
183
233
  type: 'replace-block-list';
184
234
  next: readonly EditorBlockItem[];
@@ -210,7 +260,15 @@ export declare function autosaveDraftFailed(snapshot: EditorHistorySnapshot, blo
210
260
  export declare function clearDraftError(snapshot: EditorHistorySnapshot, blockId: EditorBlockId): EditorHistorySnapshot;
211
261
  export declare function setDraftPending(snapshot: EditorHistorySnapshot, blockId: EditorBlockId): EditorHistorySnapshot;
212
262
  export declare function clearDraftPending(snapshot: EditorHistorySnapshot, blockId: EditorBlockId): EditorHistorySnapshot;
263
+ export declare function hydrateLinkedEntrySnapshot(snapshot: EditorHistorySnapshot, input: Extract<EditorSystemOperation, {
264
+ type: 'hydrate-linked-entry';
265
+ }>): EditorHistorySnapshot;
266
+ export declare function discardLinkedEntrySnapshot(snapshot: EditorHistorySnapshot, entryId: string): EditorHistorySnapshot;
267
+ export declare function saveLinkedEntrySucceeded(snapshot: EditorHistorySnapshot, entryId: string, savedValues: EditorContentValues | null, acknowledgedVersion: number, optimisticHash?: string | null): EditorHistorySnapshot;
268
+ export declare function saveLinkedEntryFailed(snapshot: EditorHistorySnapshot, entryId: string, message?: string): EditorHistorySnapshot;
269
+ export declare function clearLinkedEntryError(snapshot: EditorHistorySnapshot, entryId: string): EditorHistorySnapshot;
213
270
  export declare function replaceEditorBlockList(snapshot: EditorHistorySnapshot, blockList: readonly EditorBlockItem[]): EditorHistorySnapshot;
214
271
  export declare function getDraftSnapshot(snapshot: EditorHistorySnapshot, blockId: string): EditorDraftSnapshot | null;
215
272
  export declare function inspectDrafts(snapshot: EditorHistorySnapshot): EditorDraftSnapshot[];
273
+ export declare function getLinkedEntrySnapshot(snapshot: EditorHistorySnapshot, entryId: string): EditorLinkedEntrySnapshot | null;
216
274
  export declare function hasUnpublishedDraftChanges(snapshot: EditorHistorySnapshot): boolean;
@@ -0,0 +1,93 @@
1
+ export type EditorTransaction<TAction, THistoryEntry, TTargetKey extends string = string> = Readonly<{
2
+ targetKey: TTargetKey;
3
+ action: TAction;
4
+ historyEntry: THistoryEntry | null;
5
+ }>;
6
+ export type EditorCommitPolicy = Readonly<{
7
+ kind: 'autosave-latest';
8
+ }> | Readonly<{
9
+ kind: 'staged';
10
+ }> | Readonly<{
11
+ kind: 'manual-flush';
12
+ }>;
13
+ export type EditorSaveBatch<TAction, THistoryEntry, TTargetKey extends string = string> = Readonly<{
14
+ transactions: readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[];
15
+ }>;
16
+ export type EditorTransactionFailure = Readonly<{
17
+ kind: 'retryable';
18
+ message: string;
19
+ } | {
20
+ kind: 'stale';
21
+ message: string;
22
+ }>;
23
+ export type EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey extends string = string> = Readonly<{
24
+ kind: 'idle';
25
+ }> | Readonly<{
26
+ kind: 'dirty';
27
+ transactions: readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[];
28
+ }> | Readonly<{
29
+ kind: 'saving';
30
+ batch: EditorSaveBatch<TAction, THistoryEntry, TTargetKey>;
31
+ followUpTransactions: readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[];
32
+ }> | Readonly<{
33
+ kind: 'failed';
34
+ message: string;
35
+ transactions: readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[];
36
+ }> | Readonly<{
37
+ kind: 'stale';
38
+ message: string;
39
+ transactions: readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[];
40
+ }>;
41
+ export type EditorTransactionCapabilities = Readonly<{
42
+ canApplyTransaction: boolean;
43
+ canStartAutosave: boolean;
44
+ canUseHistory: boolean;
45
+ requiresReload: boolean;
46
+ }>;
47
+ export type EditorStagedTransaction<TSnapshot, THistoryEntry, TTargetKey extends string = string> = Readonly<{
48
+ commitPolicy: Extract<EditorCommitPolicy, {
49
+ kind: 'staged';
50
+ }>;
51
+ targetKey: TTargetKey;
52
+ base: TSnapshot;
53
+ preview: TSnapshot;
54
+ historyEntry: THistoryEntry | null;
55
+ }>;
56
+ export type EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey extends string = string> = Readonly<{
57
+ kind: 'idle';
58
+ }> | Readonly<{
59
+ kind: 'active';
60
+ transaction: EditorStagedTransaction<TSnapshot, THistoryEntry, TTargetKey>;
61
+ }> | Readonly<{
62
+ kind: 'applying';
63
+ transaction: EditorStagedTransaction<TSnapshot, THistoryEntry, TTargetKey>;
64
+ }> | Readonly<{
65
+ kind: 'failed';
66
+ message: string;
67
+ transaction: EditorStagedTransaction<TSnapshot, THistoryEntry, TTargetKey>;
68
+ }> | Readonly<{
69
+ kind: 'stale';
70
+ message: string;
71
+ transaction: EditorStagedTransaction<TSnapshot, THistoryEntry, TTargetKey>;
72
+ }>;
73
+ export type EditorStagedSessionCapabilities = Readonly<{
74
+ canPreviewStaged: boolean;
75
+ canApplyStaged: boolean;
76
+ canCancelStaged: boolean;
77
+ isApplyingStaged: boolean;
78
+ requiresReload: boolean;
79
+ }>;
80
+ export declare function idleEditorTransactionQueueState<TAction, THistoryEntry, TTargetKey extends string = string>(): EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>;
81
+ export declare function idleEditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey extends string = string>(): EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>;
82
+ export declare function deriveTransactionCapabilities(state: EditorTransactionQueueState<unknown, unknown>): EditorTransactionCapabilities;
83
+ export declare function deriveStagedSessionCapabilities(state: EditorStagedSessionState<unknown, unknown>): EditorStagedSessionCapabilities;
84
+ export declare function beginStagedSession<TSnapshot, THistoryEntry, TTargetKey extends string = string>(state: EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>, transaction: EditorStagedTransaction<TSnapshot, THistoryEntry, TTargetKey>): EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>;
85
+ export declare function applyStagedSession<TSnapshot, THistoryEntry, TTargetKey extends string = string>(state: EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>): EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>;
86
+ export declare function confirmStagedSession<TSnapshot, THistoryEntry, TTargetKey extends string = string>(state: EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>): EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>;
87
+ export declare function rejectStagedSession<TSnapshot, THistoryEntry, TTargetKey extends string = string>(state: EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>, failure: EditorTransactionFailure): EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>;
88
+ export declare function cancelStagedSession<TSnapshot, THistoryEntry, TTargetKey extends string = string>(state: EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>): EditorStagedSessionState<TSnapshot, THistoryEntry, TTargetKey>;
89
+ export declare function enqueueTransaction<TAction, THistoryEntry, TTargetKey extends string = string>(state: EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>, transaction: EditorTransaction<TAction, THistoryEntry, TTargetKey>): EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>;
90
+ export declare function beginAutosaveBatch<TAction, THistoryEntry, TTargetKey extends string = string>(state: EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>): EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>;
91
+ export declare function confirmAutosaveBatch<TAction, THistoryEntry, TTargetKey extends string = string>(state: EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>): EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>;
92
+ export declare function rejectAutosaveBatch<TAction, THistoryEntry, TTargetKey extends string = string>(state: EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>, failure: EditorTransactionFailure): EditorTransactionQueueState<TAction, THistoryEntry, TTargetKey>;
93
+ export declare function coalesceQueuedTransactions<TAction, THistoryEntry, TTargetKey extends string = string>(queue: readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[], transaction: EditorTransaction<TAction, THistoryEntry, TTargetKey>): readonly EditorTransaction<TAction, THistoryEntry, TTargetKey>[];
@@ -3,22 +3,28 @@ import { type AutosaveState } from "./stores/autosaveStore";
3
3
  import { type ArrayKeysState } from "./stores/arrayKeysStore";
4
4
  import { type ViewportState } from "./stores/viewportStore";
5
5
  import { type AiOverlaysState } from "./stores/aiOverlaysSlice";
6
- import { type EditorValueSnapshot, type EditorBlockItem, type EditorBlockId, type NormalizedEditorBlockItem, type DraftBlockBaselineInput, type DraftBlockBaselineUpdateMetaInput, type DraftBlockInitMetaInput, type EditorCommand, type EditorContentValues, type EditorDraftSnapshot, type EditorEffect, type EditorHistorySnapshot, type EditorMetadataValues, type BlockPublishedBaselineInput } from "./editorHistory";
6
+ import { type EditorValueSnapshot, type EditorBlockItem, type EditorBlockId, type NormalizedEditorBlockItem, type DraftBlockBaselineInput, type DraftBlockBaselineUpdateMetaInput, type DraftBlockInitMetaInput, type EditorCommand, type EditorContentValues, type EditorDraftSnapshot, type EditorEffect, type EditorHistorySnapshot, type EditorLinkedEntrySnapshot, type EditorMetadataValues, type BlockPublishedBaselineInput } from "./editorHistory";
7
7
  import { type HistoryState } from "./editorHistory";
8
8
  import type { FocusRequest } from "./stores/types";
9
+ import { type LinkedContentEntryId } from "../linkedEntries/domain";
9
10
  import { type BlockDraftSaveability, type BlockDraftValidationIssue, type ResolveBlockManifest } from "./blockValidationView";
10
- export type { AutosaveStatusValue, AutosaveStatus, AutosaveHandle, AutosaveType, FocusRequest, ViewportMode, ViewportWidth, ZoomLevel, } from "./stores/types";
11
+ export type { AutosaveStatusValue, AutosaveStatus, AutosaveHandle, AutosaveType, AutosaveType as AutosaveSchedulerKey, FocusRequest, ViewportMode, ViewportWidth, ZoomLevel, } from "./stores/types";
11
12
  export type { AutosaveState } from "./stores/autosaveStore";
12
13
  export type { ArrayKeysState } from "./stores/arrayKeysStore";
13
14
  export type { ViewportState } from "./stores/viewportStore";
14
- export type { EditorCommand, EditorBlockItem, EditorDraftSnapshot, EditorHistorySnapshot, EditorEffect, } from "./editorHistory";
15
+ export type { EditorCommand, EditorBlockItem, EditorDraftSnapshot, EditorHistorySnapshot, EditorEffect, EditorLinkedEntrySnapshot, } from "./editorHistory";
15
16
  export type MetadataSnapshot = EditorValueSnapshot<EditorMetadataValues | null>;
16
17
  export type ContentSnapshot = EditorValueSnapshot<EditorContentValues | null>;
17
18
  export type PreviewSidebarTab = "editor" | "assistant";
18
- export type ActivePreviewField = Readonly<{
19
+ export type ActivePreviewField = (Readonly<{
20
+ kind: "block";
19
21
  blockId: EditorBlockId;
20
22
  fieldPath: string;
21
- }> | null;
23
+ }> | Readonly<{
24
+ kind: "linked-entry";
25
+ entryId: LinkedContentEntryId;
26
+ fieldPath: string;
27
+ }>) | null;
22
28
  /**
23
29
  * Version of the local draft snapshot that a completed autosave request persisted.
24
30
  * The reducer uses this to accept the saved baseline without treating older
@@ -48,6 +54,57 @@ export type MetadataState = {
48
54
  export type ContentState = Omit<MetadataState, "getSnapshot"> & {
49
55
  getSnapshot: () => ContentSnapshot;
50
56
  };
57
+ export type PreviewInspection = Readonly<{
58
+ kind: "none";
59
+ }> | Readonly<{
60
+ kind: "block-customize";
61
+ blockId: EditorBlockId;
62
+ requestId: number;
63
+ }> | Readonly<{
64
+ kind: "linked-entry";
65
+ entryId: LinkedContentEntryId;
66
+ requestId: number;
67
+ }>;
68
+ export type LinkedEntryState = {
69
+ getSelectedEntryId: () => LinkedContentEntryId | null;
70
+ open: (target: {
71
+ entryId: string;
72
+ contentTypeKey: string;
73
+ contentTypeLabel: string;
74
+ title: string;
75
+ optimisticHash?: string | null;
76
+ content: Record<string, unknown>;
77
+ contentType: {
78
+ titleField?: string | null;
79
+ fields: readonly Record<string, unknown>[];
80
+ };
81
+ }) => void;
82
+ close: () => void;
83
+ discard: (entryId?: string) => void;
84
+ getSelectedSnapshot: () => EditorLinkedEntrySnapshot | null;
85
+ getSnapshot: (entryId?: string) => EditorLinkedEntrySnapshot | null;
86
+ inspect: () => readonly EditorLinkedEntrySnapshot[];
87
+ getCurrentValues: (entryId?: string) => Record<string, unknown> | null;
88
+ setCurrentValues: (values: Record<string, unknown> | null, entryId?: string) => void;
89
+ setAtPath: (path: string, value: unknown, entryId?: string) => void;
90
+ getAtPath: <R = unknown>(path: string, entryId?: string) => R | undefined;
91
+ saveSucceeded: (entryId: string, content: Record<string, unknown> | null, acknowledgement?: AutosaveAcknowledgement & {
92
+ optimisticHash?: string | null;
93
+ }) => void;
94
+ saveFailed: (entryId: string, message?: string) => void;
95
+ clearError: (entryId?: string) => void;
96
+ };
97
+ export type EditorPreviewInspectorStore = {
98
+ getState: () => {
99
+ drafts: Pick<DraftsState, "inspect">;
100
+ aiOverlays?: Readonly<{
101
+ viewMode: AiOverlaysState["viewMode"];
102
+ overrides: AiOverlaysState["overrides"];
103
+ structure?: AiOverlaysState["structure"];
104
+ }>;
105
+ linkedEntries: Pick<LinkedEntryState, "inspect">;
106
+ };
107
+ };
51
108
  export type EditorHistoryState = HistoryState<EditorHistorySnapshot>;
52
109
  export type BlockValidationState = {
53
110
  markPathEdited: (blockId: EditorBlockId, path: string) => void;
@@ -112,11 +169,15 @@ type RestoreListener = (transition: {
112
169
  export type EditorUiState = {
113
170
  drawerOpen: boolean;
114
171
  previewSidebarTab: PreviewSidebarTab;
172
+ previewInspection: PreviewInspection;
115
173
  activePreviewField: ActivePreviewField;
116
174
  focusRequest: FocusRequest;
117
175
  activeBlockId: EditorBlockId | null;
118
176
  setDrawerOpen: (open: boolean) => void;
119
177
  setPreviewSidebarTab: (tab: PreviewSidebarTab) => void;
178
+ inspectBlock: (blockId: EditorBlockId) => void;
179
+ inspectLinkedEntry: (entryId: string) => void;
180
+ clearPreviewInspection: () => void;
120
181
  setActivePreviewField: (field: ActivePreviewField) => void;
121
182
  requestFocus: (payload: Omit<NonNullable<FocusRequest>, "requestId">) => void;
122
183
  clearFocus: () => void;
@@ -146,6 +207,7 @@ export type EditorUiState = {
146
207
  drafts: DraftsState;
147
208
  metadata: MetadataState;
148
209
  content: ContentState;
210
+ linkedEntries: LinkedEntryState;
149
211
  autosave: AutosaveState;
150
212
  arrayKeys: ArrayKeysState;
151
213
  viewport: ViewportState;
@@ -11,9 +11,11 @@ export type AutosaveState = {
11
11
  metadata: AutosaveStatus;
12
12
  content: AutosaveStatus;
13
13
  blocks: AutosaveStatus;
14
+ linkedEntries: AutosaveStatus;
14
15
  setMetadataStatus: (status: Partial<AutosaveStatus>) => void;
15
16
  setContentStatus: (status: Partial<AutosaveStatus>) => void;
16
17
  setBlocksStatus: (status: Partial<AutosaveStatus>) => void;
18
+ setLinkedEntriesStatus: (status: Partial<AutosaveStatus>) => void;
17
19
  registerAutosave: (type: AutosaveType, handle: AutosaveHandle) => void;
18
20
  unregisterAutosave: (type: AutosaveType) => void;
19
21
  /**
@@ -11,7 +11,7 @@ export type AutosaveHandle = {
11
11
  flush: () => void;
12
12
  isPending: () => boolean;
13
13
  };
14
- export type AutosaveType = 'metadata' | 'content' | 'blocks';
14
+ export type AutosaveType = 'metadata' | 'content' | 'blocks' | 'linkedEntries';
15
15
  export type FocusRequest = {
16
16
  requestId: number;
17
17
  blockId: EditorBlockId;
@@ -65,21 +65,6 @@ export declare const EVENT_CONTENT_TYPE_SCHEMA: {
65
65
  readonly type: "media";
66
66
  readonly label: "Listing image";
67
67
  readonly description: "Optional image used for event cards and previews.";
68
- }, {
69
- readonly id: "tags";
70
- readonly type: "text";
71
- readonly label: "Tags";
72
- readonly description: "Comma-separated tags for event listings.";
73
- }, {
74
- readonly id: "badges";
75
- readonly type: "text";
76
- readonly label: "Badges";
77
- readonly description: "Comma-separated badges shown on event cards.";
78
- }, {
79
- readonly id: "ctaLabel";
80
- readonly type: "text";
81
- readonly label: "CTA label";
82
- readonly description: "Optional call-to-action label for event cards.";
83
68
  }, {
84
69
  readonly id: "body";
85
70
  readonly type: "richText";
@@ -115,21 +100,6 @@ export declare const COURSE_CONTENT_TYPE_SCHEMA: {
115
100
  readonly type: "media";
116
101
  readonly label: "Listing image";
117
102
  readonly description: "Optional image used for course cards and previews.";
118
- }, {
119
- readonly id: "tags";
120
- readonly type: "text";
121
- readonly label: "Tags";
122
- readonly description: "Comma-separated tags for course listings.";
123
- }, {
124
- readonly id: "badges";
125
- readonly type: "text";
126
- readonly label: "Badges";
127
- readonly description: "Comma-separated badges shown on course cards.";
128
- }, {
129
- readonly id: "ctaLabel";
130
- readonly type: "text";
131
- readonly label: "CTA label";
132
- readonly description: "Optional call-to-action label for course cards.";
133
103
  }, {
134
104
  readonly id: "body";
135
105
  readonly type: "richText";
@@ -222,16 +192,6 @@ export declare const PRODUCT_CONTENT_TYPE_SCHEMA: {
222
192
  readonly type: "media";
223
193
  readonly label: "Listing image";
224
194
  readonly description: "Optional image used for product cards and previews.";
225
- }, {
226
- readonly id: "badges";
227
- readonly type: "text";
228
- readonly label: "Badges";
229
- readonly description: "Comma-separated badges shown on product cards.";
230
- }, {
231
- readonly id: "ctaLabel";
232
- readonly type: "text";
233
- readonly label: "CTA label";
234
- readonly description: "Optional call-to-action label for product cards.";
235
195
  }, {
236
196
  readonly id: "body";
237
197
  readonly type: "richText";
@@ -182,21 +182,6 @@ export declare const BUILTIN_CONTENT_TYPE_SCHEMAS: {
182
182
  readonly type: "media";
183
183
  readonly label: "Listing image";
184
184
  readonly description: "Optional image used for event cards and previews.";
185
- }, {
186
- readonly id: "tags";
187
- readonly type: "text";
188
- readonly label: "Tags";
189
- readonly description: "Comma-separated tags for event listings.";
190
- }, {
191
- readonly id: "badges";
192
- readonly type: "text";
193
- readonly label: "Badges";
194
- readonly description: "Comma-separated badges shown on event cards.";
195
- }, {
196
- readonly id: "ctaLabel";
197
- readonly type: "text";
198
- readonly label: "CTA label";
199
- readonly description: "Optional call-to-action label for event cards.";
200
185
  }, {
201
186
  readonly id: "body";
202
187
  readonly type: "richText";
@@ -232,21 +217,6 @@ export declare const BUILTIN_CONTENT_TYPE_SCHEMAS: {
232
217
  readonly type: "media";
233
218
  readonly label: "Listing image";
234
219
  readonly description: "Optional image used for course cards and previews.";
235
- }, {
236
- readonly id: "tags";
237
- readonly type: "text";
238
- readonly label: "Tags";
239
- readonly description: "Comma-separated tags for course listings.";
240
- }, {
241
- readonly id: "badges";
242
- readonly type: "text";
243
- readonly label: "Badges";
244
- readonly description: "Comma-separated badges shown on course cards.";
245
- }, {
246
- readonly id: "ctaLabel";
247
- readonly type: "text";
248
- readonly label: "CTA label";
249
- readonly description: "Optional call-to-action label for course cards.";
250
220
  }, {
251
221
  readonly id: "body";
252
222
  readonly type: "richText";
@@ -339,16 +309,6 @@ export declare const BUILTIN_CONTENT_TYPE_SCHEMAS: {
339
309
  readonly type: "media";
340
310
  readonly label: "Listing image";
341
311
  readonly description: "Optional image used for product cards and previews.";
342
- }, {
343
- readonly id: "badges";
344
- readonly type: "text";
345
- readonly label: "Badges";
346
- readonly description: "Comma-separated badges shown on product cards.";
347
- }, {
348
- readonly id: "ctaLabel";
349
- readonly type: "text";
350
- readonly label: "CTA label";
351
- readonly description: "Optional call-to-action label for product cards.";
352
312
  }, {
353
313
  readonly id: "body";
354
314
  readonly type: "richText";
@@ -475,4 +435,47 @@ export declare const BUILTIN_CONTENT_TYPE_FIELD_IDS: {
475
435
  readonly page: ReadonlySet<string>;
476
436
  readonly 'product-category': ReadonlySet<string>;
477
437
  };
438
+ export type BuiltinPreviewLinkedEntryEditing = Readonly<{
439
+ kind: 'generic';
440
+ }> | Readonly<{
441
+ kind: 'unsupported-domain-backed';
442
+ reason: string;
443
+ }>;
444
+ /**
445
+ * Preview editing support for built-in content entries when they appear as
446
+ * linked data inside a block. Generic editorial content can use the shared
447
+ * content-entry form; domain-backed content stays closed until its workflow
448
+ * can preserve domain invariants such as occurrences, booking, or commerce.
449
+ */
450
+ export declare const BUILTIN_PREVIEW_LINKED_ENTRY_EDITING: {
451
+ readonly post: {
452
+ readonly kind: "generic";
453
+ };
454
+ readonly event: {
455
+ readonly kind: "unsupported-domain-backed";
456
+ readonly reason: "Domain-backed entries need a dedicated editor workflow.";
457
+ };
458
+ readonly course: {
459
+ readonly kind: "unsupported-domain-backed";
460
+ readonly reason: "Domain-backed entries need a dedicated editor workflow.";
461
+ };
462
+ readonly 'team-member': {
463
+ readonly kind: "generic";
464
+ };
465
+ readonly product: {
466
+ readonly kind: "unsupported-domain-backed";
467
+ readonly reason: "Domain-backed entries need a dedicated editor workflow.";
468
+ };
469
+ readonly testimonial: {
470
+ readonly kind: "generic";
471
+ };
472
+ readonly page: {
473
+ readonly kind: "generic";
474
+ };
475
+ readonly 'product-category': {
476
+ readonly kind: "unsupported-domain-backed";
477
+ readonly reason: "Domain-backed entries need a dedicated editor workflow.";
478
+ };
479
+ };
480
+ export declare function getBuiltinPreviewLinkedEntryEditing(key: string): BuiltinPreviewLinkedEntryEditing | null;
478
481
  export {};