@riverbankcms/sdk 0.95.0 → 0.96.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 (149) hide show
  1. package/README.md +27 -4
  2. package/dist/{PreviewEditorSidebar-6FQYKOSB.mjs → PreviewEditorSidebar-46VT4QVU.mjs} +2 -2
  3. package/dist/{PreviewEditorUI-NPO2XMFB.mjs → PreviewEditorUI-JD75GE5F.mjs} +2 -2
  4. package/dist/SdkPreviewModeRuntime-MJUSYUFB.mjs +8 -0
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +10 -10
  6. package/dist/_dts/block-form/src/client/index.d.ts +1 -1
  7. package/dist/_dts/block-form/src/fields/types.d.ts +9 -1
  8. package/dist/_dts/block-form/src/registry/schemas.d.ts +4 -0
  9. package/dist/_dts/block-form/src/registry/widgets.d.ts +1 -0
  10. package/dist/_dts/block-form/src/widgets/InlineTextField/InlineTextField.d.ts +4 -0
  11. package/dist/_dts/block-form/src/widgets/InlineTextField/index.d.ts +3 -0
  12. package/dist/_dts/block-form/src/widgets/InlineTextField/inlineTextFieldDefaults.d.ts +2 -0
  13. package/dist/_dts/block-form/src/widgets/InlineTextField/inlineTextFieldSchema.d.ts +3 -0
  14. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -0
  15. package/dist/_dts/blocks/src/bindings/types.d.ts +1 -0
  16. package/dist/_dts/blocks/src/index.d.ts +2 -0
  17. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -29631
  18. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -29614
  19. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -29634
  20. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -29627
  21. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +2 -29585
  22. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -29677
  23. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -29655
  24. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +220 -0
  25. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -29655
  26. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -29685
  27. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -29761
  28. package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +9 -0
  29. package/dist/_dts/blocks/src/system/inlineText.d.ts +78 -0
  30. package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -1
  31. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +15 -3
  32. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +188 -7
  33. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
  34. package/dist/_dts/blocks/src/system/runtime/nodes/renderInlineText.d.ts +3 -0
  35. package/dist/_dts/content-editor/src/index.d.ts +1 -0
  36. package/dist/_dts/content-editor/src/primitives/PreviewInlineTextEditor.d.ts +9 -0
  37. package/dist/_dts/content-model/src/templates/bindingTypeCompatibility.d.ts +1 -1
  38. package/dist/_dts/content-model/src/templates/defaults.d.ts +30 -0
  39. package/dist/_dts/content-model/src/templates/types.d.ts +1 -0
  40. package/dist/_dts/editor/src/inline/FloatingToolbar.d.ts +18 -0
  41. package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +18 -1
  42. package/dist/_dts/editor/src/inline/InlineTextEditorStyles.d.ts +1 -0
  43. package/dist/_dts/editor/src/inline/domParse.d.ts +3 -0
  44. package/dist/_dts/editor/src/inline/presentation.d.ts +48 -0
  45. package/dist/_dts/editor/src/inline/selection.d.ts +12 -0
  46. package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
  47. package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +3 -0
  48. package/dist/_dts/editor-blocks/src/widgets/inline-text/index.d.ts +1 -0
  49. package/dist/_dts/path-utils/src/index.d.ts +1 -0
  50. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -0
  51. package/dist/_dts/sdk/src/cli/commands/content.d.ts +56 -0
  52. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +4 -0
  53. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +2 -6
  54. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +2 -0
  55. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +56 -0
  56. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +2 -1
  57. package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +2 -0
  58. package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +14 -0
  59. package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +46 -0
  60. package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +4 -0
  61. package/dist/_dts/sdk/src/cli/content/writer.d.ts +2 -0
  62. package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +22 -0
  63. package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +3 -0
  64. package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +78 -0
  65. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +36 -0
  66. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +21 -0
  67. package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +29 -0
  68. package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +48 -0
  69. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +3 -6
  70. package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +39 -0
  71. package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
  72. package/dist/_dts/sdk/src/config/field-definitions.d.ts +8 -3
  73. package/dist/_dts/sdk/src/config/typed-entries.d.ts +5 -3
  74. package/dist/_dts/sdk/src/contracts/bindings.d.ts +1 -0
  75. package/dist/_dts/sdk/src/contracts/content.d.ts +18 -0
  76. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  77. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -2
  78. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -0
  79. package/dist/_dts/sdk/src/version.d.ts +1 -1
  80. package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
  81. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
  82. package/dist/_dts/theme-core/src/cards/types.d.ts +15 -15
  83. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  84. package/dist/_dts/theme-core/src/inputs/types.d.ts +1 -1
  85. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +42 -42
  86. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +2 -2
  87. package/dist/_dts/theme-core/src/schema.d.ts +44 -44
  88. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  89. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -16
  90. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
  91. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  92. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
  93. package/dist/{chunk-K2SJTZMX.mjs → chunk-4TLTV7OB.mjs} +1 -1
  94. package/dist/{chunk-4A6NWO3X.mjs → chunk-EL55VV6Q.mjs} +47 -7
  95. package/dist/{chunk-PJPFTVZG.mjs → chunk-VHIMXQ7Z.mjs} +105 -3
  96. package/dist/{chunk-VZBSD4AJ.mjs → chunk-XMATDBXO.mjs} +1633 -225
  97. package/dist/cli/index.mjs +2691 -772
  98. package/dist/cli/init-docs/content/cli-reference.md +43 -4
  99. package/dist/cli/init-docs/content/content-management.md +22 -0
  100. package/dist/client/{accordion-LGO4IO5U.mjs → accordion-GUNXIIZR.mjs} +1 -1
  101. package/dist/client/{bookingForm-MWLS4LGU.mjs → bookingForm-AOU4VHP5.mjs} +3 -3
  102. package/dist/client/{carousel-6AHNP5HA.mjs → carousel-4QSX2JPC.mjs} +1 -1
  103. package/dist/client/{cart-CIXGYAZB.mjs → cart-JKN6C4ZB.mjs} +4 -4
  104. package/dist/client/{checkout-OTX6O3DN.mjs → checkout-YY6YMITW.mjs} +4 -4
  105. package/dist/client/{chunk-Y2PMKCXO.mjs → chunk-6H27K6AA.mjs} +1 -1
  106. package/dist/client/{chunk-R3NQTBWE.mjs → chunk-A3YN7M3G.mjs} +1 -1
  107. package/dist/client/{chunk-TREIML53.mjs → chunk-BFCJZODD.mjs} +3 -3
  108. package/dist/client/{chunk-INRIT6DP.mjs → chunk-CPKMJVBD.mjs} +5 -5
  109. package/dist/client/{chunk-V67AT7ZW.mjs → chunk-GWCRCJLB.mjs} +6 -0
  110. package/dist/client/{chunk-AVBQSUIS.mjs → chunk-H7A6PUGM.mjs} +1 -1
  111. package/dist/client/{chunk-HOP7MKAZ.mjs → chunk-SY543WZ3.mjs} +1 -1
  112. package/dist/client/{chunk-MYCXAKWP.mjs → chunk-VJROUYOQ.mjs} +2 -2
  113. package/dist/client/client.mjs +4007 -3687
  114. package/dist/client/{courseRegistration-2LU6C3JL.mjs → courseRegistration-UU2KMPSQ.mjs} +3 -3
  115. package/dist/client/{eventCalendar-OKUSISBZ.mjs → eventCalendar-WIVNS2TM.mjs} +6 -6
  116. package/dist/client/{eventCombined-CMF6CD4S.mjs → eventCombined-P3G5MW4J.mjs} +6 -6
  117. package/dist/client/{eventDetails-XYWH7WXI.mjs → eventDetails-2VHJ2RDG.mjs} +6 -6
  118. package/dist/client/{eventListing-EK5DJTAH.mjs → eventListing-TGO6JI3R.mjs} +6 -6
  119. package/dist/client/{eventRegistration-XDOSICV6.mjs → eventRegistration-B46HEJES.mjs} +6 -6
  120. package/dist/client/{form-J6GOHKYG.mjs → form-VKRTFUNQ.mjs} +1 -1
  121. package/dist/client/{headerSection-C5SYJTRW.mjs → headerSection-XUX4ZJLO.mjs} +2 -2
  122. package/dist/client/hooks.mjs +20 -3
  123. package/dist/client/{locationMap-QSQIFVVT.mjs → locationMap-NQFI5MJO.mjs} +2 -2
  124. package/dist/client/{newsletterForm-47VXJRWK.mjs → newsletterForm-P2GETCQK.mjs} +1 -1
  125. package/dist/client/{productDetail-5U6ISCC2.mjs → productDetail-7NQ7O5IF.mjs} +4 -4
  126. package/dist/client/{productList-XDZUMR3P.mjs → productList-RX6ZJ7BL.mjs} +4 -4
  127. package/dist/client/rendering/client.mjs +3822 -3600
  128. package/dist/client/rendering/islands.mjs +18 -18
  129. package/dist/client/rendering.mjs +1211 -883
  130. package/dist/client/{shop-ZSZKIY3R.mjs → shop-BHN5AKY6.mjs} +4 -4
  131. package/dist/preview-next/client/runtime.mjs +3 -3
  132. package/dist/{sdk-runtime-PHNM7MRD.mjs → sdk-runtime-X2LXQ5IC.mjs} +4 -4
  133. package/dist/server/components.mjs +3144 -2827
  134. package/dist/server/config-template-validation.mjs +29 -20
  135. package/dist/server/config-validation.mjs +22 -4
  136. package/dist/server/config.mjs +22 -4
  137. package/dist/server/data.mjs +20 -3
  138. package/dist/server/index.mjs +1 -1
  139. package/dist/server/next.mjs +3181 -2858
  140. package/dist/server/page-converter.mjs +20 -3
  141. package/dist/server/prebuild.mjs +1 -1
  142. package/dist/server/rendering/server.mjs +3153 -2837
  143. package/dist/server/rendering.mjs +3168 -2844
  144. package/dist/server/routing.mjs +21 -4
  145. package/dist/server/server.mjs +2299 -2188
  146. package/dist/server/theme-bridge.mjs +43 -0
  147. package/dist/styles/index.css +44 -0
  148. package/package.json +1 -1
  149. package/dist/SdkPreviewModeRuntime-PBEFH5AL.mjs +0 -8
package/README.md CHANGED
@@ -3236,7 +3236,7 @@ content/
3236
3236
  └── {entity}.json # Timestamps for sync detection
3237
3237
  ```
3238
3238
 
3239
- Note: `content/media/.manifest.json` is a local cache (identifier checksum/filename). It intentionally does not store env-specific `assetId`s.
3239
+ Note: `content/media/` is local cache and migration working data by default. Generated SDK sites gitignore `content/media/*` so large downloaded files are not staged accidentally, while allowing intentional small fixtures under `content/media/fixtures/`. `content/media/.manifest.json` is also cache data (identifier -> checksum/filename) and intentionally does not store env-specific `assetId`s.
3240
3240
 
3241
3241
  ### push
3242
3242
 
@@ -3268,7 +3268,8 @@ npx riverbankcms push [scope] [type] [identifier]
3268
3268
  | `--sync-media` | Sync media files from local to remote environment |
3269
3269
  | `--overwrite-media` | When using `--sync-media`, overwrite target media on checksum mismatch |
3270
3270
  | `--json-diff` | Output JSON diff (`summary` or `full`) |
3271
- | `--merge-remote` | Plan an entries-only three-way merge for `--env=remote` that preserves remote edits |
3271
+ | `--merge-remote` | Plan an entries/pages three-way merge for `--env=remote` that preserves remote edits |
3272
+ | `--verify-noop` | Re-fetch after an applied push and fail if changes remain |
3272
3273
 
3273
3274
  **Examples:**
3274
3275
 
@@ -3291,16 +3292,37 @@ npx riverbankcms push --env=remote --yes
3291
3292
  # Preview a production-safe merge for entries
3292
3293
  npx riverbankcms push entries blog-post --env=remote --merge-remote
3293
3294
 
3295
+ # Preview a production-safe merge for a page
3296
+ npx riverbankcms push pages home --env=remote --merge-remote
3297
+
3294
3298
  # Apply that merge after reviewing the plan
3295
3299
  npx riverbankcms push entries blog-post --env=remote --merge-remote --yes
3296
3300
 
3297
3301
  # Get JSON diff for automation
3298
3302
  npx riverbankcms push --dry-run --json-diff=summary
3303
+
3304
+ # Push to both environments and verify both are clean afterwards
3305
+ npx riverbankcms push --env=both --yes --verify-noop
3306
+ ```
3307
+
3308
+ **Remote-aware content merge:**
3309
+
3310
+ `--merge-remote` is a safer production entries/pages workflow. It compares the last pulled base snapshot, your local files, and the current remote CMS, then reports a merge plan. Remote runs still default to dry-run; add `--yes` only after reviewing the plan. In v1 this supports entries and pages, is `--env=remote` only, and cannot be combined with `--force`, `--delete-orphaned`, or `--auto-pull-stale`. Page block changes are treated conservatively as conflicts unless remote blocks are unchanged.
3311
+
3312
+ **Local content edit helpers:**
3313
+
3314
+ `riverbankcms content edit ...` changes local `content/**` JSON files only. It previews by default and writes only with `--write`.
3315
+
3316
+ ```bash
3317
+ npx riverbankcms content edit remove-page-block home old-hero
3318
+ npx riverbankcms content edit move-page-block home intro --after hero --write
3319
+ npx riverbankcms content edit set-page-field home title --value "New title" --write
3320
+ npx riverbankcms content edit set-page-field home blocks[0].data.count --json-value 3
3299
3321
  ```
3300
3322
 
3301
- **Remote-aware entry merge:**
3323
+ After editing, run `riverbankcms push --dry-run --diff`, then push with `--verify-noop` when ready.
3302
3324
 
3303
- `--merge-remote` is a safer production entries workflow. It compares the last pulled entry base, your local files, and the current remote CMS, then reports a merge plan. Remote runs still default to dry-run; add `--yes` only after reviewing the plan. In v1 this is entries-only, `--env=remote` only, and cannot be combined with `--force`, `--delete-orphaned`, or `--auto-pull-stale`.
3325
+ **Post-push verification:** `--verify-noop` re-reads local files after an applied push, fetches the target CMS, and fails if changes remain. It cannot be combined with `--dry-run`; remote targets need `--yes` so there is an applied push to verify. In JSON mode the CLI emits a `verification` object with `clean`, `dirty`, `fetch_failed`, or `unsupported_scope` status. A dirty result can also mean another actor changed remote content between push and verification.
3304
3326
 
3305
3327
  **Local Media (Identifiers):**
3306
3328
 
@@ -3308,6 +3330,7 @@ npx riverbankcms push --dry-run --json-diff=summary
3308
3330
  - Place files at `content/media/<identifier>.<ext>`
3309
3331
  - Use `npx riverbankcms push` to upload referenced files (default-on)
3310
3332
  - Use `--force-update-asset` to replace a CMS asset when checksums differ
3333
+ - Treat `content/media/*` as local cache/migration working data by default. For existing repos that already committed media, opt in with `git rm --cached -r content/media` after adding the generated ignore rule. Keep intentional small fixtures under `content/media/fixtures/`.
3311
3334
 
3312
3335
  **Site branding via `content/settings.json`:**
3313
3336
 
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { resolvePreviewDashboardSetupHandoff, buildPreviewDashboardSetupUrl, resolvePreviewSidebarChromeModel, resolvePreviewEditorGuidanceModel, previewWidgetOverrides, canInspectSiteStyle, mapContentSchemaToFormFields, PreviewFormProvider, usePreviewBlockCustomizeSelectionOptional, BlockEditor, canApplySiteStyle, useBlockCustomizeControls, MAX_QUICK_MANIFEST_FIELDS } from './chunk-PJPFTVZG.mjs';
3
- import { useEntryController, useEditorUiStoreInstance, useUISelector, resolvePreviewSidebarTab, unsafeAsEditorBlockId, Tabs, TabsList, TabsTrigger, Button, X, TabsContent, useEditorUiStore, deriveRouteMetadataPresentation, resolvePageRouteSlug, createManifestValidation, createStoreBackend, ManifestForm, previewAssistantEnabled, Collapsible, CollapsibleTrigger, ChevronRight, CollapsibleContent, ContentFieldsForm, usePreviewDesignCoordinator, useSiteChromeCustomizeOptional, resolveStyleConfiguratorInitialSnapshot, createStyleConfiguratorState, isPreviewingChange, createOptimisticActionRunner, syncStyleConfiguratorState, getCuratedSiteStyle, planSiteStylePreviewChange, openRow, previewSiteStyle, applyResolvedSelections, previewButtonPersonality, previewHeaderLayout, previewHeaderStyle, planSiteChromeLookSelection, previewFooterLook, buildSiteChromeLookModels, planSiteChromeFooterLayoutSelection, previewPaletteVariant, previewTypographyPreset, setTypographyBodyFontOverride, setTypographyHeadingFontOverride, clearTypographyFontOverrides, paletteOverridesSchema, setPaletteOverrides, toggleRow, cancelPreview, dismissWarnings, dismissNotices, deriveStyleConfiguratorCapabilities, buildApplySiteStyleSelectionBody, markApplyFailed, selectionSnapshotFromApplySiteStyleSelectionResponse, styleConfiguratorHistoryEntryForPersistedSelection, markApplySaved, markApplySaving, findButtonPersonality, findPaletteVariant, findTypographyPreset, getHeaderLayout, getHeaderStyle, getFooterLayout, findFooterLook, cycleSiteChromeLookId, resolveContentTitle, foldSubroute, SUBROUTE_KINDS, Smartphone, Tablet, Monitor, Maximize2, cn, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuItem, listEntryPageContentSlots, ContentSpinner, Callout, CalloutDescription, curatedSiteStyles, ChevronLeft, cycleableSiteChromeOptions, requireEntriesForCuratedChoices, buttonPersonalities, typographyPresets, paletteVariants, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, FormRenderer, evaluateTypographyFontSlot, Separator, Surface, ColorPicker, Input } from './chunk-VZBSD4AJ.mjs';
2
+ import { resolvePreviewDashboardSetupHandoff, buildPreviewDashboardSetupUrl, resolvePreviewSidebarChromeModel, resolvePreviewEditorGuidanceModel, previewWidgetOverrides, canInspectSiteStyle, mapContentSchemaToFormFields, PreviewFormProvider, usePreviewBlockCustomizeSelectionOptional, BlockEditor, canApplySiteStyle, useBlockCustomizeControls, MAX_QUICK_MANIFEST_FIELDS } from './chunk-VHIMXQ7Z.mjs';
3
+ import { useEntryController, useEditorUiStoreInstance, useUISelector, resolvePreviewSidebarTab, unsafeAsEditorBlockId, Tabs, TabsList, TabsTrigger, Button, X, TabsContent, useEditorUiStore, deriveRouteMetadataPresentation, resolvePageRouteSlug, createManifestValidation, createStoreBackend, ManifestForm, previewAssistantEnabled, Collapsible, CollapsibleTrigger, ChevronRight, CollapsibleContent, ContentFieldsForm, usePreviewDesignCoordinator, useSiteChromeCustomizeOptional, resolveStyleConfiguratorInitialSnapshot, createStyleConfiguratorState, isPreviewingChange, createOptimisticActionRunner, syncStyleConfiguratorState, getCuratedSiteStyle, planSiteStylePreviewChange, openRow, previewSiteStyle, applyResolvedSelections, previewButtonPersonality, previewHeaderLayout, previewHeaderStyle, planSiteChromeLookSelection, previewFooterLook, buildSiteChromeLookModels, planSiteChromeFooterLayoutSelection, previewPaletteVariant, previewTypographyPreset, setTypographyBodyFontOverride, setTypographyHeadingFontOverride, clearTypographyFontOverrides, paletteOverridesSchema, setPaletteOverrides, toggleRow, cancelPreview, dismissWarnings, dismissNotices, deriveStyleConfiguratorCapabilities, buildApplySiteStyleSelectionBody, markApplyFailed, selectionSnapshotFromApplySiteStyleSelectionResponse, styleConfiguratorHistoryEntryForPersistedSelection, markApplySaved, markApplySaving, findButtonPersonality, findPaletteVariant, findTypographyPreset, getHeaderLayout, getHeaderStyle, getFooterLayout, findFooterLook, cycleSiteChromeLookId, resolveContentTitle, foldSubroute, SUBROUTE_KINDS, Smartphone, Tablet, Monitor, Maximize2, cn, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuItem, listEntryPageContentSlots, ContentSpinner, Callout, CalloutDescription, curatedSiteStyles, ChevronLeft, cycleableSiteChromeOptions, requireEntriesForCuratedChoices, buttonPersonalities, typographyPresets, paletteVariants, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, FormRenderer, evaluateTypographyFontSlot, Separator, Surface, ColorPicker, Input } from './chunk-XMATDBXO.mjs';
4
4
  import { usePreviewAuth, getDashboardUrl, unwrapResponse } from './chunk-7ED5UNHL.mjs';
5
5
  import './chunk-R7POPVJR.mjs';
6
6
  import { useMemo, useRef, useCallback, useEffect, useState, useTransition, useLayoutEffect, useSyncExternalStore, useId } from 'react';
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { resolvePreviewChromeSurface, usePreviewPageDesignEditorState, PREVIEW_CHROME_PORTAL_CLASS_NAME, PREVIEW_CHROME_THEME_CLASS_NAME, applyPreviewChromeSurfaceToElement, setPreviewSidebarTab } from './chunk-K2SJTZMX.mjs';
3
- import { useEntryEditorController, useEditorUiStore, useMultiAutosave, usePreviewDesignHistoryOrder, useSiteChromeCustomizeOptional, selectPreviewDesignHistoryDomain, EditorChrome, previewDesignHistoryDomainForCommand, classifyHistoryShortcut, previewAssistantEnabled, cn, Dialog, Button, Palette, DialogContent, DialogHeader, DialogTitle, DialogDescription, TriangleAlert, Pencil, Sparkles, useEditorUiStoreInstance } from './chunk-VZBSD4AJ.mjs';
2
+ import { resolvePreviewChromeSurface, usePreviewPageDesignEditorState, PREVIEW_CHROME_PORTAL_CLASS_NAME, PREVIEW_CHROME_THEME_CLASS_NAME, applyPreviewChromeSurfaceToElement, setPreviewSidebarTab } from './chunk-4TLTV7OB.mjs';
3
+ import { useEntryEditorController, useEditorUiStore, useMultiAutosave, usePreviewDesignHistoryOrder, useSiteChromeCustomizeOptional, selectPreviewDesignHistoryDomain, EditorChrome, previewDesignHistoryDomainForCommand, classifyHistoryShortcut, previewAssistantEnabled, cn, Dialog, Button, Palette, DialogContent, DialogHeader, DialogTitle, DialogDescription, TriangleAlert, Pencil, Sparkles, useEditorUiStoreInstance } from './chunk-XMATDBXO.mjs';
4
4
  import { usePreviewAuth, unwrapResponse } from './chunk-7ED5UNHL.mjs';
5
5
  import './chunk-R7POPVJR.mjs';
6
6
  import { useState, useMemo, useCallback, useEffect, useTransition } from 'react';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ export { SdkPreviewModeRuntime } from './chunk-EL55VV6Q.mjs';
3
+ import './chunk-VTPPVAOL.mjs';
4
+ import './chunk-VHIMXQ7Z.mjs';
5
+ import './chunk-4TLTV7OB.mjs';
6
+ import './chunk-XMATDBXO.mjs';
7
+ import './chunk-7ED5UNHL.mjs';
8
+ import './chunk-R7POPVJR.mjs';
@@ -5159,7 +5159,7 @@ declare const SiteStyleSelectionCommandBodySchema: z.ZodObject<{
5159
5159
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5160
5160
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5161
5161
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5162
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
5162
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
5163
5163
  primary?: import("../../../blocks/src/index").HexColor | undefined;
5164
5164
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
5165
5165
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -5242,7 +5242,7 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
5242
5242
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5243
5243
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5244
5244
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5245
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
5245
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
5246
5246
  primary?: import("../../../blocks/src/index").HexColor | undefined;
5247
5247
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
5248
5248
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -5331,7 +5331,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
5331
5331
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5332
5332
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5333
5333
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
5334
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
5334
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
5335
5335
  primary?: import("../../../blocks/src/index").HexColor | undefined;
5336
5336
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
5337
5337
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -6360,7 +6360,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
6360
6360
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
6361
6361
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
6362
6362
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
6363
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
6363
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
6364
6364
  primary?: import("../../../blocks/src/index").HexColor | undefined;
6365
6365
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
6366
6366
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -6465,7 +6465,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
6465
6465
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
6466
6466
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
6467
6467
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
6468
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
6468
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
6469
6469
  primary?: import("../../../blocks/src/index").HexColor | undefined;
6470
6470
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
6471
6471
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -7494,7 +7494,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
7494
7494
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
7495
7495
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
7496
7496
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
7497
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
7497
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
7498
7498
  primary?: import("../../../blocks/src/index").HexColor | undefined;
7499
7499
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
7500
7500
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -7600,7 +7600,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
7600
7600
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
7601
7601
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
7602
7602
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
7603
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
7603
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
7604
7604
  primary?: import("../../../blocks/src/index").HexColor | undefined;
7605
7605
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
7606
7606
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -8629,7 +8629,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
8629
8629
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
8630
8630
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
8631
8631
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
8632
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
8632
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
8633
8633
  primary?: import("../../../blocks/src/index").HexColor | undefined;
8634
8634
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
8635
8635
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -30964,7 +30964,7 @@ export declare const proposalToolSchemas: {
30964
30964
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
30965
30965
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
30966
30966
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
30967
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
30967
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
30968
30968
  primary?: import("../../../blocks/src/index").HexColor | undefined;
30969
30969
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
30970
30970
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -31993,7 +31993,7 @@ export declare const proposalToolSchemas: {
31993
31993
  muted: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
31994
31994
  text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
31995
31995
  border: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../blocks/src/index").HexColor, string>>>;
31996
- }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "primary" | "secondary" | "warning" | "background" | "accent" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
31996
+ }, z.core.$strict>, z.ZodTransform<Readonly<Partial<Record<"surface" | "success" | "text" | "accent" | "primary" | "secondary" | "warning" | "background" | "muted" | "border" | "destructive" | "surfaceAlt" | "primaryForeground", import("../../../blocks/src/index").HexColor>>>, {
31997
31997
  primary?: import("../../../blocks/src/index").HexColor | undefined;
31998
31998
  primaryForeground?: import("../../../blocks/src/index").HexColor | undefined;
31999
31999
  secondary?: import("../../../blocks/src/index").HexColor | undefined;
@@ -10,7 +10,7 @@ export type { ManifestAdapterOptions, ManifestAdapterResult, ManifestFormSource,
10
10
  export { createManifestValidation } from '../manifest/manifestFormAdapter';
11
11
  export { formatPublishBlockedMessage, formatRecoveryConflictSummary, formatRecoveryConflictTitle, deriveBlockDraftSaveability, formatUnfinishedBlocksSummary, getResolvedBlockManifest, isResolvedBlockManifest, recoveryConflictCopy, shouldShowBlockFieldValidation, unfinishedBlockCopy, validateBlockManifest, validateBlockManifestIssues, validateBlockManifestValues, } from './blockDraftSaveability';
12
12
  export type { BlockDraftSaveability, BlockDraftValidationIssue, BlockManifestResolution, BlockManifestValidationMode, } from './blockDraftSaveability';
13
- export type { BaseFieldConfig, FieldConfig, TextFieldConfig, NumberFieldConfig, RichTextFieldConfig, MediaFieldConfig, FileFieldConfig, BooleanFieldConfig, DateFieldConfig, TimeFieldConfig, DateTimeFieldConfig, SlugFieldConfig, UrlFieldConfig, LinkFieldConfig, SelectFieldConfig, ReferenceFieldConfig, GroupFieldConfig, RepeaterFieldConfig, ButtonFieldConfig, ContentTypeSelectFieldConfig, EntryPickerFieldConfig, } from '../fields/types';
13
+ export type { BaseFieldConfig, FieldConfig, TextFieldConfig, InlineTextFieldConfig, NumberFieldConfig, RichTextFieldConfig, MediaFieldConfig, FileFieldConfig, BooleanFieldConfig, DateFieldConfig, TimeFieldConfig, DateTimeFieldConfig, SlugFieldConfig, UrlFieldConfig, LinkFieldConfig, SelectFieldConfig, ReferenceFieldConfig, GroupFieldConfig, RepeaterFieldConfig, ButtonFieldConfig, ContentTypeSelectFieldConfig, EntryPickerFieldConfig, } from '../fields/types';
14
14
  export { createManifestFormAdapter } from '../manifest/manifestFormAdapter';
15
15
  export { evaluateVisibility } from '../utils/evaluateVisibility';
16
16
  export type { VisibilityValueReader } from '../utils/evaluateVisibility';
@@ -55,6 +55,14 @@ export interface NumberFieldConfig extends BaseFieldConfig {
55
55
  export interface RichTextFieldConfig extends BaseFieldConfig {
56
56
  type: 'richText';
57
57
  }
58
+ /**
59
+ * Constrained inline styled text for heading-like fields.
60
+ */
61
+ export interface InlineTextFieldConfig extends BaseFieldConfig {
62
+ type: 'inlineText';
63
+ maxLength?: number;
64
+ plainTextField?: string;
65
+ }
58
66
  /**
59
67
  * Media field configuration
60
68
  */
@@ -238,4 +246,4 @@ export interface EntryPickerFieldConfig extends BaseFieldConfig {
238
246
  /**
239
247
  * Union of all field configuration types
240
248
  */
241
- export type FieldConfig = TextFieldConfig | NumberFieldConfig | RichTextFieldConfig | MediaFieldConfig | FileFieldConfig | BooleanFieldConfig | DateFieldConfig | TimeFieldConfig | DateTimeFieldConfig | SlugFieldConfig | UrlFieldConfig | LinkFieldConfig | SelectFieldConfig | ReferenceFieldConfig | GroupFieldConfig | ModalFieldConfig | RepeaterFieldConfig | ButtonFieldConfig | TabGroupFieldConfig | PresetOrCustomFieldConfig | ContentTypeSelectFieldConfig | EntryPickerFieldConfig;
249
+ export type FieldConfig = TextFieldConfig | NumberFieldConfig | RichTextFieldConfig | InlineTextFieldConfig | MediaFieldConfig | FileFieldConfig | BooleanFieldConfig | DateFieldConfig | TimeFieldConfig | DateTimeFieldConfig | SlugFieldConfig | UrlFieldConfig | LinkFieldConfig | SelectFieldConfig | ReferenceFieldConfig | GroupFieldConfig | ModalFieldConfig | RepeaterFieldConfig | ButtonFieldConfig | TabGroupFieldConfig | PresetOrCustomFieldConfig | ContentTypeSelectFieldConfig | EntryPickerFieldConfig;
@@ -33,6 +33,8 @@ import { buildLinkFieldSchema } from '../widgets/LinkField/linkFieldSchema';
33
33
  import { getLinkFieldDefault } from '../widgets/LinkField/linkFieldDefaults';
34
34
  import { buildRichTextFieldSchema } from '../widgets/RichTextField/richTextFieldSchema';
35
35
  import { getRichTextFieldDefaultValue } from '../widgets/RichTextField/richTextFieldDefaults';
36
+ import { buildInlineTextFieldSchema } from '../widgets/InlineTextField/inlineTextFieldSchema';
37
+ import { getInlineTextFieldDefaultValue } from '../widgets/InlineTextField/inlineTextFieldDefaults';
36
38
  import { buildMediaFieldSchema } from '../widgets/MediaField/mediaFieldSchema';
37
39
  import { getMediaFieldDefaultValue } from '../widgets/MediaField/mediaFieldDefaults';
38
40
  import { buildTabGroupFieldSchema, getTabGroupFieldDefault } from '../widgets/TabGroupField/tabGroupFieldSchema';
@@ -62,6 +64,7 @@ export declare const SCHEMA_BUILDERS: {
62
64
  readonly slug: typeof buildSlugFieldSchema;
63
65
  readonly link: typeof buildLinkFieldSchema;
64
66
  readonly richText: typeof buildRichTextFieldSchema;
67
+ readonly inlineText: typeof buildInlineTextFieldSchema;
65
68
  readonly media: typeof buildMediaFieldSchema;
66
69
  readonly file: typeof buildMediaFieldSchema;
67
70
  readonly tabGroup: typeof buildTabGroupFieldSchema;
@@ -85,6 +88,7 @@ export declare const DEFAULT_VALUE_BUILDERS: {
85
88
  readonly slug: typeof getSlugFieldDefault;
86
89
  readonly link: typeof getLinkFieldDefault;
87
90
  readonly richText: typeof getRichTextFieldDefaultValue;
91
+ readonly inlineText: typeof getInlineTextFieldDefaultValue;
88
92
  readonly media: typeof getMediaFieldDefaultValue;
89
93
  readonly file: typeof getMediaFieldDefaultValue;
90
94
  readonly tabGroup: typeof getTabGroupFieldDefault;
@@ -39,6 +39,7 @@
39
39
  import type { FieldWidgetComponent } from '../fields/props';
40
40
  export declare const WIDGET_COMPONENTS: {
41
41
  readonly text: FieldWidgetComponent;
42
+ readonly inlineText: FieldWidgetComponent;
42
43
  readonly number: FieldWidgetComponent;
43
44
  readonly select: FieldWidgetComponent;
44
45
  readonly sdkSelect: FieldWidgetComponent;
@@ -0,0 +1,4 @@
1
+ import { type InlineText } from '../../../../blocks/src/index';
2
+ import type { FieldWidgetProps } from '../../fields/props';
3
+ import type { InlineTextFieldConfig } from '../../fields/types';
4
+ export declare function InlineTextField({ path, backend, config, }: FieldWidgetProps<InlineText, InlineTextFieldConfig>): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export { InlineTextField } from './InlineTextField';
2
+ export { buildInlineTextFieldSchema } from './inlineTextFieldSchema';
3
+ export { getInlineTextFieldDefaultValue } from './inlineTextFieldDefaults';
@@ -0,0 +1,2 @@
1
+ import type { InlineTextFieldConfig } from '../../fields/types';
2
+ export declare function getInlineTextFieldDefaultValue(field: InlineTextFieldConfig): unknown;
@@ -0,0 +1,3 @@
1
+ import type { z } from 'zod';
2
+ import type { InlineTextFieldConfig } from '../../fields/types';
3
+ export declare function buildInlineTextFieldSchema(field: InlineTextFieldConfig): z.ZodTypeAny;
@@ -88,6 +88,7 @@ export declare function getPath(source: Record<string, unknown>, path: string):
88
88
  * Applies a transform function to a value.
89
89
  */
90
90
  export declare function applyTransform(name: string | undefined, value: unknown): unknown;
91
+ export declare function textToInlineText(value: unknown): unknown;
91
92
  /**
92
93
  * Extracts the first paragraph text from a TipTap/ProseMirror document.
93
94
  *
@@ -58,6 +58,7 @@ export declare const TRANSFORMS: {
58
58
  readonly RICHTEXT_FIRST_PARAGRAPH: "richtext.firstParagraph";
59
59
  readonly DATE_FORMAT_SHORT: "date.formatShort";
60
60
  readonly DATE_FORMAT_LONG: "date.formatLong";
61
+ readonly TEXT_INLINE_TEXT: "text.inlineText";
61
62
  };
62
63
  export declare const BINDING_SOURCES: BindingSource[];
63
64
  export {};
@@ -44,6 +44,8 @@ export type { HeroContent, HeroMedia } from './system/blocks/hero';
44
44
  export { bodyTextManifest } from './system/blocks/body-text';
45
45
  export type { BodyTextContent } from './system/blocks/body-text';
46
46
  export { createRichTextDocFromMarkdown, parseRichTextInlineMarkdown, parseRichTextParagraphInlineMarkdown, } from './system/manifest/richTextSchema';
47
+ export { applyInlineTextMarkToRange, coerceInlineTextWithFallback, inlineTextEqual, inlineTextAccentTones, inlineTextHighlightTones, inlineTextMarksEqual, inlineTextSchema, inlineTextToPlainText, isInlineTextEmpty, normalizeInlineText, normalizeInlineTextMarks, parseInlineTextFromUnknown, plainTextToInlineText, removeInlineTextMarkFromRange, replaceInlineTextRange, truncateInlineText, type InlineText, type InlineTextAccentTone, type InlineTextHighlightTone, type InlineTextMark, type InlineTextParseError, type InlineTextParseResult, type InlineTextRun, } from './system/inlineText';
48
+ export { renderInlineText } from './system/runtime/nodes/renderInlineText';
47
49
  export type { RichTextHardBreakNode, RichTextInlineNode, RichTextTextNode, TipTapNode, } from './system/manifest/richTextSchema';
48
50
  export { createManifestValidator } from './system/manifest/validation';
49
51
  export { singleButtonManifest } from './system/blocks/single-button';