@riverbankcms/sdk 0.78.2 → 0.79.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 (159) hide show
  1. package/README.md +80 -0
  2. package/dist/{PreviewEditorSidebar-4DXLYX2V.mjs → PreviewEditorSidebar-56NMJMIK.mjs} +724 -47
  3. package/dist/{PreviewEditorUI-CS5P4N3P.mjs → PreviewEditorUI-27KJVEET.mjs} +3 -3
  4. package/dist/SdkPreviewModeRuntime-H4BSP6E7.mjs +8 -0
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +36 -0
  6. package/dist/_dts/api/src/endpoints.d.ts +55 -0
  7. package/dist/_dts/api/src/index.d.ts +5 -3
  8. package/dist/_dts/api/src/media.d.ts +8 -1
  9. package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
  10. package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +8 -8
  11. package/dist/_dts/api/src/navigation/identity.d.ts +59 -0
  12. package/dist/_dts/api/src/navigation.d.ts +2 -0
  13. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +4 -0
  14. package/dist/_dts/api/src/sdkContracts.d.ts +1 -0
  15. package/dist/_dts/api/src/siteIcons.d.ts +128 -0
  16. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +16 -0
  17. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -0
  18. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -1
  19. package/dist/_dts/api/src/types.d.ts +1 -1
  20. package/dist/_dts/api/src/webhooks.d.ts +239 -0
  21. package/dist/_dts/blocks/src/index.d.ts +4 -0
  22. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
  23. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
  24. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
  25. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
  26. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
  27. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +294 -289
  28. package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +57 -0
  29. package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -0
  30. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
  31. package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
  32. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
  33. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +22 -22
  34. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
  35. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
  36. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
  37. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +7 -1
  38. package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +170 -0
  39. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +5 -0
  40. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -1
  41. package/dist/_dts/blocks/src/system/icons/ids.d.ts +13 -0
  42. package/dist/_dts/blocks/src/system/icons/index.d.ts +6 -0
  43. package/dist/_dts/blocks/src/system/icons/presets.d.ts +4 -0
  44. package/dist/_dts/blocks/src/system/icons/registry.d.ts +18 -0
  45. package/dist/_dts/blocks/src/system/icons/semantic.d.ts +239 -0
  46. package/dist/_dts/blocks/src/system/icons/value.d.ts +94 -0
  47. package/dist/_dts/blocks/src/system/index.d.ts +1 -0
  48. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +4 -1
  49. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -0
  50. package/dist/_dts/blocks/src/system/runtime/nodes/feature-card-icon.d.ts +13 -0
  51. package/dist/_dts/content-model/src/contentManifest.d.ts +3 -1
  52. package/dist/_dts/core/src/branded.d.ts +6 -0
  53. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +191 -0
  54. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +12 -1
  55. package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +12 -1
  56. package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +12 -2
  57. package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +21 -0
  58. package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +40 -0
  59. package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +11 -1
  60. package/dist/_dts/editor-blocks/src/block-editor/featureCardIconActions.d.ts +82 -0
  61. package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
  62. package/dist/_dts/media-core/src/fileDomain.d.ts +8 -1
  63. package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -2
  64. package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +2 -1
  65. package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +2 -1
  66. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +17 -0
  67. package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +4 -0
  68. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +3 -2
  69. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -0
  70. package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +11 -0
  71. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +4 -0
  72. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +1 -0
  73. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +9 -0
  74. package/dist/_dts/sdk/src/client/management/types.d.ts +2 -0
  75. package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
  76. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  77. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +19 -2
  78. package/dist/_dts/sdk/src/next/index.d.ts +1 -1
  79. package/dist/_dts/sdk/src/next/revalidate.d.ts +26 -5
  80. package/dist/_dts/sdk/src/next/static-params.d.ts +28 -3
  81. package/dist/_dts/sdk/src/public-api/contracts.d.ts +5 -1
  82. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  83. package/dist/_dts/sdk/src/version.d.ts +1 -1
  84. package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
  85. package/dist/_dts/sdk/src/webhooks/verify.d.ts +6 -102
  86. package/dist/_dts/site-commands/src/commands.d.ts +3 -0
  87. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  88. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +3 -3
  89. package/dist/_dts/theme-core/src/schema.d.ts +5 -5
  90. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -2
  91. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +5 -5
  92. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
  93. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -4
  94. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -0
  95. package/dist/_dts/ui/src/combobox.d.ts +1 -0
  96. package/dist/{chunk-RGTOD4AJ.mjs → chunk-4HCW7FHJ.mjs} +491 -56
  97. package/dist/{chunk-OKMBEAXY.mjs → chunk-A3HHFKVT.mjs} +1 -1
  98. package/dist/{chunk-6HYXHRAI.mjs → chunk-GP555I66.mjs} +177 -7
  99. package/dist/{chunk-CR5HKAGU.mjs → chunk-K2IIF34C.mjs} +55 -0
  100. package/dist/{chunk-4QEGTLK6.mjs → chunk-LCY32PXF.mjs} +1 -1
  101. package/dist/{chunk-MCRQMPET.mjs → chunk-V47ZU33I.mjs} +1745 -157
  102. package/dist/cli/index.mjs +1169 -171
  103. package/dist/cli/init-docs/content/workflow-editor-workflows.md +2 -0
  104. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +138 -0
  105. package/dist/client/{accordion-PLYNJIIM.mjs → accordion-QLA7KBYO.mjs} +1 -1
  106. package/dist/client/{bookingForm-BXAP6AO7.mjs → bookingForm-PYZIPA5G.mjs} +3 -3
  107. package/dist/client/bookings.mjs +110 -2
  108. package/dist/client/{carousel-TRBXDHGF.mjs → carousel-5EIULWBI.mjs} +2 -2
  109. package/dist/client/{cart-Z7H3HJRS.mjs → cart-DOP3FNI4.mjs} +5 -5
  110. package/dist/client/{checkout-WAFCUBIX.mjs → checkout-BVMF6FBV.mjs} +5 -5
  111. package/dist/client/{chunk-JRDUHZCT.mjs → chunk-44K2U3QI.mjs} +4 -4
  112. package/dist/client/{chunk-UVQEJJTN.mjs → chunk-CCNTDRCF.mjs} +1 -1
  113. package/dist/client/{chunk-ZI3LLBPZ.mjs → chunk-GG4M2NP6.mjs} +1 -1
  114. package/dist/client/{chunk-JGXPTEI2.mjs → chunk-R5ESWNKX.mjs} +6 -3
  115. package/dist/client/{chunk-CWGTG37I.mjs → chunk-TYONZMST.mjs} +1 -1
  116. package/dist/client/{chunk-75OUS5MT.mjs → chunk-UDS3NTWA.mjs} +1 -1
  117. package/dist/client/{chunk-DNRGY432.mjs → chunk-V6M5FCR5.mjs} +1 -1
  118. package/dist/client/{chunk-FUXW6VW2.mjs → chunk-YLDYVRZL.mjs} +4 -4
  119. package/dist/client/client.mjs +21329 -19729
  120. package/dist/client/{courseRegistration-AHFQHWIJ.mjs → courseRegistration-E6EAA6NL.mjs} +3 -3
  121. package/dist/client/{eventCalendar-LDXTV5R7.mjs → eventCalendar-HBG3HAK6.mjs} +5 -5
  122. package/dist/client/{eventCombined-A4JGTNJO.mjs → eventCombined-6K5ZZWAK.mjs} +5 -5
  123. package/dist/client/{eventDetails-4YXTZ7EG.mjs → eventDetails-Q75ICXLT.mjs} +5 -5
  124. package/dist/client/{eventListing-P72TPFFM.mjs → eventListing-27P5F7DZ.mjs} +5 -5
  125. package/dist/client/{eventRegistration-LSYJHGMT.mjs → eventRegistration-IQ7AMASR.mjs} +5 -5
  126. package/dist/client/{form-AOPYOKOW.mjs → form-JRTD65FN.mjs} +1 -1
  127. package/dist/client/{headerSection-5TFYDFVQ.mjs → headerSection-7FPSSZHS.mjs} +2 -2
  128. package/dist/client/hooks.mjs +350 -35
  129. package/dist/client/{locationMap-QSZ3ZVAZ.mjs → locationMap-7NGFNYBH.mjs} +1 -1
  130. package/dist/client/{newsletterForm-KTRHZY52.mjs → newsletterForm-F3BADCI2.mjs} +1 -1
  131. package/dist/client/{productDetail-N4E775RG.mjs → productDetail-V3HP7ITJ.mjs} +5 -5
  132. package/dist/client/{productList-UGUQ2S45.mjs → productList-L3EGJUF2.mjs} +5 -5
  133. package/dist/client/rendering/client.mjs +2713 -1382
  134. package/dist/client/rendering/islands.mjs +18 -18
  135. package/dist/client/rendering.mjs +2014 -414
  136. package/dist/client/{shop-VHSZEEQ2.mjs → shop-DQUB5E2C.mjs} +5 -5
  137. package/dist/preview-next/before-render.mjs +55 -0
  138. package/dist/preview-next/client/runtime.mjs +5 -5
  139. package/dist/preview-next/middleware.mjs +55 -0
  140. package/dist/{sdk-runtime-WHPJEF5G.mjs → sdk-runtime-AF6KXJU4.mjs} +6 -6
  141. package/dist/server/components.mjs +2169 -781
  142. package/dist/server/config-validation.mjs +350 -35
  143. package/dist/server/config.mjs +350 -35
  144. package/dist/server/data.mjs +350 -35
  145. package/dist/server/index.mjs +64 -1
  146. package/dist/server/next/revalidate.mjs +229 -34
  147. package/dist/server/next.mjs +2307 -818
  148. package/dist/server/page-converter.mjs +275 -34
  149. package/dist/server/prebuild.mjs +1 -1
  150. package/dist/server/rendering/server.mjs +2174 -786
  151. package/dist/server/rendering.mjs +2187 -799
  152. package/dist/server/routing.mjs +767 -50
  153. package/dist/server/server.mjs +351 -36
  154. package/dist/server/theme-bridge.mjs +164 -2
  155. package/dist/server/theme.mjs +2 -2
  156. package/dist/server/webhooks.mjs +129 -25
  157. package/dist/styles/index.css +55 -0
  158. package/package.json +2 -1
  159. package/dist/SdkPreviewModeRuntime-IJDHTW4W.mjs +0 -8
@@ -180,6 +180,7 @@ declare const uiSchema: z.ZodObject<{
180
180
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
181
181
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
182
182
  cta: "cta";
183
+ feature: "feature";
183
184
  }>>>;
184
185
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
185
186
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -360,6 +361,7 @@ declare const baseFieldSchema: z.ZodObject<{
360
361
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
361
362
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
362
363
  cta: "cta";
364
+ feature: "feature";
363
365
  }>>>;
364
366
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
365
367
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -541,6 +543,7 @@ declare const textFieldSchema: z.ZodObject<{
541
543
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
542
544
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
543
545
  cta: "cta";
546
+ feature: "feature";
544
547
  }>>>;
545
548
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
546
549
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -725,6 +728,7 @@ declare const richTextFieldSchema: z.ZodObject<{
725
728
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
726
729
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
727
730
  cta: "cta";
731
+ feature: "feature";
728
732
  }>>>;
729
733
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
730
734
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -907,6 +911,7 @@ declare const mediaFieldSchema: z.ZodObject<{
907
911
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
908
912
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
909
913
  cta: "cta";
914
+ feature: "feature";
910
915
  }>>>;
911
916
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
912
917
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1098,6 +1103,7 @@ declare const fileFieldSchema: z.ZodObject<{
1098
1103
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1099
1104
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1100
1105
  cta: "cta";
1106
+ feature: "feature";
1101
1107
  }>>>;
1102
1108
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1103
1109
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1286,6 +1292,7 @@ declare const booleanFieldSchema: z.ZodObject<{
1286
1292
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1287
1293
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1288
1294
  cta: "cta";
1295
+ feature: "feature";
1289
1296
  }>>>;
1290
1297
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1291
1298
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1468,6 +1475,7 @@ declare const dateFieldSchema: z.ZodObject<{
1468
1475
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1469
1476
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1470
1477
  cta: "cta";
1478
+ feature: "feature";
1471
1479
  }>>>;
1472
1480
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1473
1481
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1650,6 +1658,7 @@ declare const timeFieldSchema: z.ZodObject<{
1650
1658
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1651
1659
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1652
1660
  cta: "cta";
1661
+ feature: "feature";
1653
1662
  }>>>;
1654
1663
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1655
1664
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1832,6 +1841,7 @@ declare const dateTimeFieldSchema: z.ZodObject<{
1832
1841
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1833
1842
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1834
1843
  cta: "cta";
1844
+ feature: "feature";
1835
1845
  }>>>;
1836
1846
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1837
1847
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2014,6 +2024,7 @@ declare const slugFieldSchema: z.ZodObject<{
2014
2024
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2015
2025
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2016
2026
  cta: "cta";
2027
+ feature: "feature";
2017
2028
  }>>>;
2018
2029
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2019
2030
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2199,6 +2210,7 @@ declare const urlFieldSchema: z.ZodObject<{
2199
2210
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2200
2211
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2201
2212
  cta: "cta";
2213
+ feature: "feature";
2202
2214
  }>>>;
2203
2215
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2204
2216
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2382,6 +2394,7 @@ declare const linkFieldSchema: z.ZodObject<{
2382
2394
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2383
2395
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2384
2396
  cta: "cta";
2397
+ feature: "feature";
2385
2398
  }>>>;
2386
2399
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2387
2400
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2564,6 +2577,7 @@ declare const selectFieldSchema: z.ZodObject<{
2564
2577
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2565
2578
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2566
2579
  cta: "cta";
2580
+ feature: "feature";
2567
2581
  }>>>;
2568
2582
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2569
2583
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2765,6 +2779,7 @@ declare const referenceFieldSchema: z.ZodObject<{
2765
2779
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2766
2780
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2767
2781
  cta: "cta";
2782
+ feature: "feature";
2768
2783
  }>>>;
2769
2784
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2770
2785
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2959,6 +2974,7 @@ declare const repeaterFieldSchema: z.ZodObject<{
2959
2974
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2960
2975
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
2961
2976
  cta: "cta";
2977
+ feature: "feature";
2962
2978
  }>>>;
2963
2979
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2964
2980
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3158,6 +3174,7 @@ declare const groupFieldSchema: z.ZodObject<{
3158
3174
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3159
3175
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3160
3176
  cta: "cta";
3177
+ feature: "feature";
3161
3178
  }>>>;
3162
3179
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3163
3180
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3343,6 +3360,7 @@ declare const modalFieldSchema: z.ZodObject<{
3343
3360
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3344
3361
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3345
3362
  cta: "cta";
3363
+ feature: "feature";
3346
3364
  }>>>;
3347
3365
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3348
3366
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3528,6 +3546,7 @@ declare const numberFieldSchema: z.ZodObject<{
3528
3546
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3529
3547
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3530
3548
  cta: "cta";
3549
+ feature: "feature";
3531
3550
  }>>>;
3532
3551
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3533
3552
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3713,6 +3732,7 @@ declare const tabGroupFieldSchema: z.ZodObject<{
3713
3732
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3714
3733
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3715
3734
  cta: "cta";
3735
+ feature: "feature";
3716
3736
  }>>>;
3717
3737
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3718
3738
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3908,6 +3928,7 @@ declare const presetOrCustomFieldSchema: z.ZodObject<{
3908
3928
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3909
3929
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3910
3930
  cta: "cta";
3931
+ feature: "feature";
3911
3932
  }>>>;
3912
3933
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3913
3934
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4099,6 +4120,7 @@ declare const contentTypeSelectFieldSchema: z.ZodObject<{
4099
4120
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4100
4121
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
4101
4122
  cta: "cta";
4123
+ feature: "feature";
4102
4124
  }>>>;
4103
4125
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4104
4126
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4286,6 +4308,7 @@ declare const entryPickerFieldSchema: z.ZodObject<{
4286
4308
  layoutGridMaxRows: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4287
4309
  iconPickerPreset: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
4288
4310
  cta: "cta";
4311
+ feature: "feature";
4289
4312
  }>>>;
4290
4313
  contentTypeField: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4291
4314
  fixedContentType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { FeatureCardIconInputContent, FeatureCardIconTreatment } from '../../blocks/feature-card-icons';
3
+ type FeatureCardIconNodeProps = {
4
+ value?: unknown;
5
+ treatment?: FeatureCardIconTreatment | null;
6
+ className?: string;
7
+ generatedAssets?: unknown;
8
+ blockContent?: {
9
+ cards?: readonly FeatureCardIconInputContent[] | null;
10
+ } | null;
11
+ };
12
+ export declare const FeatureCardIconNode: React.FC<FeatureCardIconNodeProps>;
13
+ export {};
@@ -15,6 +15,8 @@ export interface ContentMappingContext {
15
15
  referenceContentTypeKeys?: readonly string[];
16
16
  }
17
17
  type VisibilityRole = 'admin' | 'designer' | 'author';
18
+ export declare const CONTENT_MODEL_ICON_PICKER_PRESETS: readonly ["cta", "feature"];
19
+ export type ContentModelIconPickerPreset = (typeof CONTENT_MODEL_ICON_PICKER_PRESETS)[number];
18
20
  type FieldUi = {
19
21
  widget?: string;
20
22
  preset?: 'disclosure';
@@ -22,7 +24,7 @@ type FieldUi = {
22
24
  colSpan?: number;
23
25
  layout?: 'stack' | 'grid';
24
26
  columns?: number;
25
- iconPickerPreset?: 'cta';
27
+ iconPickerPreset?: ContentModelIconPickerPreset;
26
28
  } & Record<string, unknown>;
27
29
  type BaseFieldDefinition = {
28
30
  id: string;
@@ -77,6 +77,8 @@ export type BookingCalendarFeedTokenSecretHash = Brand<string, 'BookingCalendarF
77
77
  export type ContentEntryId = Brand<string, 'ContentEntryId'>;
78
78
  export type StripeInvoiceId = Brand<string, 'StripeInvoiceId'>;
79
79
  export type NewsletterSubscriberId = Brand<string, 'NewsletterSubscriberId'>;
80
+ export type NavigationMenuId = Brand<string, 'NavigationMenuId'>;
81
+ export type NavigationItemId = Brand<string, 'NavigationItemId'>;
80
82
  export type EmailAuditRowId = Brand<string, 'EmailAuditRowId'>;
81
83
  export type WaitlistEntryId = Brand<string, 'WaitlistEntryId'>;
82
84
  export type WaitlistHoldId = Brand<string, 'WaitlistHoldId'>;
@@ -186,6 +188,8 @@ export declare const unsafeAsBookingCalendarFeedTokenSecretHash: (value: string)
186
188
  export declare const unsafeAsContentEntryId: (id: string) => ContentEntryId;
187
189
  export declare const unsafeAsStripeInvoiceId: (id: string) => StripeInvoiceId;
188
190
  export declare const unsafeAsNewsletterSubscriberId: (id: string) => NewsletterSubscriberId;
191
+ export declare const unsafeAsNavigationMenuId: (id: string) => NavigationMenuId;
192
+ export declare const unsafeAsNavigationItemId: (id: string) => NavigationItemId;
189
193
  export declare const unsafeAsEmailAuditRowId: (id: string) => EmailAuditRowId;
190
194
  export declare const unsafeAsWaitlistEntryId: (id: string) => WaitlistEntryId;
191
195
  export declare const unsafeAsWaitlistHoldId: (id: string) => WaitlistHoldId;
@@ -225,6 +229,8 @@ export declare const parseProductVariantId: (value: unknown) => Result<ProductVa
225
229
  export declare const parseProductCategoryId: (value: unknown) => Result<ProductCategoryId, BrandedIdParseError>;
226
230
  export declare const parseMediaAssetId: (value: unknown) => Result<MediaAssetId, BrandedIdParseError>;
227
231
  export declare const parseContentEntryId: (value: unknown) => Result<ContentEntryId, BrandedIdParseError>;
232
+ export declare const parseNavigationMenuId: (value: unknown) => Result<NavigationMenuId, BrandedIdParseError>;
233
+ export declare const parseNavigationItemId: (value: unknown) => Result<NavigationItemId, BrandedIdParseError>;
228
234
  export declare const parsePassId: (value: unknown) => Result<PassId, BrandedIdParseError>;
229
235
  export declare const parseMembershipId: (value: unknown) => Result<MembershipId, BrandedIdParseError>;
230
236
  export declare const parseCourseId: (value: unknown) => Result<CourseId, BrandedIdParseError>;
@@ -8059,6 +8059,138 @@ export type Database = {
8059
8059
  }
8060
8060
  ];
8061
8061
  };
8062
+ generated_icon_assets: {
8063
+ Row: {
8064
+ byte_length: number;
8065
+ card_key: string;
8066
+ created_at: string;
8067
+ height: number;
8068
+ id: string;
8069
+ media_asset_id: string | null;
8070
+ mime_type: string;
8071
+ semantic_fallback_icon_id: string;
8072
+ set_id: string;
8073
+ site_id: string;
8074
+ sort_order: number;
8075
+ updated_at: string;
8076
+ width: number;
8077
+ };
8078
+ Insert: {
8079
+ byte_length: number;
8080
+ card_key: string;
8081
+ created_at?: string;
8082
+ height: number;
8083
+ id: string;
8084
+ media_asset_id?: string | null;
8085
+ mime_type: string;
8086
+ semantic_fallback_icon_id: string;
8087
+ set_id: string;
8088
+ site_id: string;
8089
+ sort_order?: number;
8090
+ updated_at?: string;
8091
+ width: number;
8092
+ };
8093
+ Update: {
8094
+ byte_length?: number;
8095
+ card_key?: string;
8096
+ created_at?: string;
8097
+ height?: number;
8098
+ id?: string;
8099
+ media_asset_id?: string | null;
8100
+ mime_type?: string;
8101
+ semantic_fallback_icon_id?: string;
8102
+ set_id?: string;
8103
+ site_id?: string;
8104
+ sort_order?: number;
8105
+ updated_at?: string;
8106
+ width?: number;
8107
+ };
8108
+ Relationships: [
8109
+ {
8110
+ foreignKeyName: "generated_icon_assets_media_asset_id_fkey";
8111
+ columns: ["media_asset_id"];
8112
+ isOneToOne: false;
8113
+ referencedRelation: "media_assets";
8114
+ referencedColumns: ["id"];
8115
+ },
8116
+ {
8117
+ foreignKeyName: "generated_icon_assets_set_id_fkey";
8118
+ columns: ["set_id"];
8119
+ isOneToOne: false;
8120
+ referencedRelation: "generated_icon_sets";
8121
+ referencedColumns: ["id"];
8122
+ },
8123
+ {
8124
+ foreignKeyName: "generated_icon_assets_site_id_fkey";
8125
+ columns: ["site_id"];
8126
+ isOneToOne: false;
8127
+ referencedRelation: "sites";
8128
+ referencedColumns: ["id"];
8129
+ }
8130
+ ];
8131
+ };
8132
+ generated_icon_sets: {
8133
+ Row: {
8134
+ block_kind: string;
8135
+ block_label: string;
8136
+ created_at: string;
8137
+ created_by: string | null;
8138
+ id: string;
8139
+ model_id: string;
8140
+ prompt: string;
8141
+ prompt_fingerprint: string;
8142
+ provider_name: string;
8143
+ site_id: string;
8144
+ status: string;
8145
+ style_guide_source_fingerprint: string;
8146
+ style_guide_version_id: string;
8147
+ updated_at: string;
8148
+ user_style_note: string | null;
8149
+ };
8150
+ Insert: {
8151
+ block_kind: string;
8152
+ block_label: string;
8153
+ created_at?: string;
8154
+ created_by?: string | null;
8155
+ id: string;
8156
+ model_id: string;
8157
+ prompt: string;
8158
+ prompt_fingerprint: string;
8159
+ provider_name: string;
8160
+ site_id: string;
8161
+ status?: string;
8162
+ style_guide_source_fingerprint: string;
8163
+ style_guide_version_id: string;
8164
+ updated_at?: string;
8165
+ user_style_note?: string | null;
8166
+ };
8167
+ Update: {
8168
+ block_kind?: string;
8169
+ block_label?: string;
8170
+ created_at?: string;
8171
+ created_by?: string | null;
8172
+ id?: string;
8173
+ model_id?: string;
8174
+ prompt?: string;
8175
+ prompt_fingerprint?: string;
8176
+ provider_name?: string;
8177
+ site_id?: string;
8178
+ status?: string;
8179
+ style_guide_source_fingerprint?: string;
8180
+ style_guide_version_id?: string;
8181
+ updated_at?: string;
8182
+ user_style_note?: string | null;
8183
+ };
8184
+ Relationships: [
8185
+ {
8186
+ foreignKeyName: "generated_icon_sets_site_id_fkey";
8187
+ columns: ["site_id"];
8188
+ isOneToOne: false;
8189
+ referencedRelation: "sites";
8190
+ referencedColumns: ["id"];
8191
+ }
8192
+ ];
8193
+ };
8062
8194
  gifting_audit_events: {
8063
8195
  Row: {
8064
8196
  actor_kind: string;
@@ -12553,6 +12685,65 @@ export type Database = {
12553
12685
  }
12554
12686
  ];
12555
12687
  };
12688
+ site_icon_style_guides: {
12689
+ Row: {
12690
+ approved_example_refs: Json;
12691
+ created_at: string;
12692
+ created_by: string | null;
12693
+ derivation_version: number;
12694
+ display_summary: string;
12695
+ guide: Json;
12696
+ id: string;
12697
+ schema_version: number;
12698
+ site_id: string;
12699
+ source_fingerprint: string;
12700
+ source_snapshot: Json;
12701
+ updated_at: string;
12702
+ updated_by: string | null;
12703
+ version_id: string;
12704
+ };
12705
+ Insert: {
12706
+ approved_example_refs?: Json;
12707
+ created_at?: string;
12708
+ created_by?: string | null;
12709
+ derivation_version: number;
12710
+ display_summary: string;
12711
+ guide: Json;
12712
+ id?: string;
12713
+ schema_version: number;
12714
+ site_id: string;
12715
+ source_fingerprint: string;
12716
+ source_snapshot: Json;
12717
+ updated_at?: string;
12718
+ updated_by?: string | null;
12719
+ version_id: string;
12720
+ };
12721
+ Update: {
12722
+ approved_example_refs?: Json;
12723
+ created_at?: string;
12724
+ created_by?: string | null;
12725
+ derivation_version?: number;
12726
+ display_summary?: string;
12727
+ guide?: Json;
12728
+ id?: string;
12729
+ schema_version?: number;
12730
+ site_id?: string;
12731
+ source_fingerprint?: string;
12732
+ source_snapshot?: Json;
12733
+ updated_at?: string;
12734
+ updated_by?: string | null;
12735
+ version_id?: string;
12736
+ };
12737
+ Relationships: [
12738
+ {
12739
+ foreignKeyName: "site_icon_style_guides_site_id_fkey";
12740
+ columns: ["site_id"];
12741
+ isOneToOne: true;
12742
+ referencedRelation: "sites";
12743
+ referencedColumns: ["id"];
12744
+ }
12745
+ ];
12746
+ };
12556
12747
  site_inspiration_analyses: {
12557
12748
  Row: {
12558
12749
  aggregated_constraints: Json | null;
@@ -5,8 +5,11 @@ import type { SystemBlockDefinition } from '../../../blocks/src/index';
5
5
  import type { BlockDraftSaveability } from '../../../block-form/src/client/index';
6
6
  import type { FieldWidgetComponent } from '../../../block-form/src/client/index';
7
7
  import type { Theme } from '../../../blocks/src/index';
8
+ import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
8
9
  import { type BlockActionControlMode } from './actionControlMode';
9
10
  import { type ReorderControlMode } from './reorderControlMode';
11
+ import type { GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
12
+ import type { getFeatureCardIconDialogCards } from './featureCardIconActions';
10
13
  import type { ArrayKeysManager, BlockFocusRequest, BlockItem, UiStore, DraftsSlice, UiSlice } from './types';
11
14
  /** Drag listener props from dnd-kit */
12
15
  type DragListeners = SyntheticListenerMap | undefined;
@@ -20,7 +23,7 @@ type BlockCardStore = UiStore<Pick<UiSlice, 'activeBlockId' | 'setActiveBlockId'
20
23
  drafts: Pick<DraftsSlice, 'getBlockSnapshot' | 'getCurrentValues' | 'getAtPath' | 'setAtPath' | 'edit' | 'initNewBlock' | 'updateBlockBaseline' | 'clearError'>;
21
24
  arrayKeys: ArrayKeysManager;
22
25
  }>;
23
- export declare function BlockCard({ siteId, block, manifest, isFirst, isLast, isMoving, onMove, onDuplicate, onDelete, dragListeners, canReorder, collapsed, onCollapsedChange, highlighted, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, uiStore, hideThemeV2RawStyleFields, pageDesignBlock, reorderControlMode, actionControlMode, }: {
26
+ export declare function BlockCard({ siteId, block, manifest, isFirst, isLast, isMoving, onMove, onDuplicate, onDelete, dragListeners, canReorder, collapsed, onCollapsedChange, highlighted, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, uiStore, hideThemeV2RawStyleFields, pageDesignBlock, reorderControlMode, actionControlMode, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, onApplyGeneratedIconSet, }: {
24
27
  siteId: string;
25
28
  block: BlockItem;
26
29
  manifest: SystemBlockDefinition['manifest'];
@@ -46,5 +49,13 @@ export declare function BlockCard({ siteId, block, manifest, isFirst, isLast, is
46
49
  pageDesignBlock?: PageDesignEditorBlock | null;
47
50
  reorderControlMode?: ReorderControlMode;
48
51
  actionControlMode?: BlockActionControlMode;
52
+ currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
53
+ iconStyleGuideSummary?: string | null;
54
+ iconStyleGuideEditHref?: string | null;
55
+ onGenerateIconSet?: (input: Readonly<{
56
+ userStyleNote: string | null;
57
+ cards: ReturnType<typeof getFeatureCardIconDialogCards>;
58
+ }>) => Promise<GeneratedIconSetGenerateResult>;
59
+ onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
49
60
  }): import("react/jsx-runtime").JSX.Element;
50
61
  export {};
@@ -4,7 +4,10 @@ import { BlockForm } from '../BlockForm';
4
4
  import type { ComponentProps } from 'react';
5
5
  import type { BlockItem, BlockFocusRequest } from './types';
6
6
  import type { FieldWidgetComponent } from '../../../block-form/src/client/index';
7
- export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, hideThemeV2RawStyleFields, pageDesignBlock, }: {
7
+ import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
8
+ import type { GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
9
+ import type { getFeatureCardIconDialogCards } from './featureCardIconActions';
10
+ export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, hideThemeV2RawStyleFields, pageDesignBlock, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, onApplyGeneratedIconSet, }: {
8
11
  siteId: string;
9
12
  block: BlockItem;
10
13
  manifest: SystemBlockDefinition['manifest'];
@@ -17,4 +20,12 @@ export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRec
17
20
  widgetOverrides?: Record<string, FieldWidgetComponent>;
18
21
  hideThemeV2RawStyleFields?: boolean;
19
22
  pageDesignBlock?: PageDesignEditorBlock | null;
23
+ currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
24
+ iconStyleGuideSummary?: string | null;
25
+ iconStyleGuideEditHref?: string | null;
26
+ onGenerateIconSet?: (input: Readonly<{
27
+ userStyleNote: string | null;
28
+ cards: ReturnType<typeof getFeatureCardIconDialogCards>;
29
+ }>) => Promise<GeneratedIconSetGenerateResult>;
30
+ onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
20
31
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,18 @@
1
1
  import type { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
2
2
  import type { FieldWidgetComponent } from '../../../block-form/src/client/index';
3
- import { type SystemBlockDefinition, type Theme } from '../../../blocks/src/index';
3
+ import { type SiteIconStyleGuideVersionId, type SystemBlockDefinition, type Theme } from '../../../blocks/src/index';
4
4
  import { type BlockActionControlMode } from './actionControlMode';
5
5
  import type { ReorderControlMode } from './reorderControlMode';
6
6
  import type { BlockItem, UiStore, DraftsSlice, ArrayKeysManager } from './types';
7
+ import { getFeatureCardIconDialogCards } from './featureCardIconActions';
8
+ import { type GeneratedIconSetGenerateResult, type GeneratedIconSetPreview } from './GeneratedIconSetDialog';
7
9
  /** Drag listener props from dnd-kit */
8
10
  type DragListeners = SyntheticListenerMap | undefined;
9
11
  type BlockCardHeaderStore = UiStore<{
10
12
  drafts: Pick<DraftsSlice, 'getBlockSnapshot' | 'getCurrentValues' | 'initNewBlock' | 'updateBlockBaseline' | 'clearError' | 'setAtPath' | 'getAtPath'>;
11
13
  arrayKeys: ArrayKeysManager;
12
14
  }>;
13
- export declare function BlockCardHeader({ block, manifest, isFirst, isLast, isMoving, onMove, onDuplicate, onDelete, dragListeners, canReorder, collapsed, onToggleCollapsed, contentId, uiStore, widgetOverrides, theme, hideThemeV2RawStyleFields, reorderControlMode, actionControlMode, }: {
15
+ export declare function BlockCardHeader({ block, manifest, isFirst, isLast, isMoving, onMove, onDuplicate, onDelete, dragListeners, canReorder, collapsed, onToggleCollapsed, contentId, uiStore, widgetOverrides, theme, hideThemeV2RawStyleFields, reorderControlMode, actionControlMode, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, onApplyGeneratedIconSet, }: {
14
16
  block: BlockItem;
15
17
  manifest: SystemBlockDefinition['manifest'];
16
18
  isFirst: boolean;
@@ -31,5 +33,13 @@ export declare function BlockCardHeader({ block, manifest, isFirst, isLast, isMo
31
33
  hideThemeV2RawStyleFields?: boolean;
32
34
  reorderControlMode?: ReorderControlMode;
33
35
  actionControlMode?: BlockActionControlMode;
36
+ currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
37
+ iconStyleGuideSummary?: string | null;
38
+ iconStyleGuideEditHref?: string | null;
39
+ onGenerateIconSet?: (input: Readonly<{
40
+ userStyleNote: string | null;
41
+ cards: ReturnType<typeof getFeatureCardIconDialogCards>;
42
+ }>) => Promise<GeneratedIconSetGenerateResult>;
43
+ onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
34
44
  }): import("react/jsx-runtime").JSX.Element;
35
45
  export {};
@@ -0,0 +1,21 @@
1
+ import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
2
+ import type { BlockItem, DraftsSlice, UiStore } from './types';
3
+ import { getFeatureCardIconDialogCards } from './featureCardIconActions';
4
+ import { type GeneratedIconSetGenerateResult, type GeneratedIconSetPreview } from './GeneratedIconSetDialog';
5
+ type FeatureCardIconsPanelStore = UiStore<{
6
+ drafts: Pick<DraftsSlice, 'getCurrentValues' | 'setAtPath'>;
7
+ }>;
8
+ export declare function supportsFeatureCardIconActions(blockKind: string): boolean;
9
+ export declare function FeatureCardIconsPanel({ block, uiStore, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, onApplyGeneratedIconSet, }: {
10
+ block: BlockItem;
11
+ uiStore: FeatureCardIconsPanelStore;
12
+ currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
13
+ iconStyleGuideSummary?: string | null;
14
+ iconStyleGuideEditHref?: string | null;
15
+ onGenerateIconSet?: (input: Readonly<{
16
+ userStyleNote: string | null;
17
+ cards: ReturnType<typeof getFeatureCardIconDialogCards>;
18
+ }>) => Promise<GeneratedIconSetGenerateResult>;
19
+ onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
20
+ }): import("react/jsx-runtime").JSX.Element | null;
21
+ export {};
@@ -0,0 +1,40 @@
1
+ import { type GeneratedBlockIconValue } from '../../../blocks/src/index';
2
+ import type { GeneratedIconSetCandidate } from '../../../api/src/index';
3
+ import type { FeatureCardIconDialogCard } from './featureCardIconActions';
4
+ export type GeneratedIconSetPreviewAsset = Readonly<{
5
+ cardKey: string;
6
+ title: string;
7
+ src: string;
8
+ iconValue: GeneratedBlockIconValue;
9
+ }>;
10
+ export type GeneratedIconSetPreview = Readonly<{
11
+ setId: string;
12
+ styleGuideSummary: string;
13
+ candidate?: GeneratedIconSetCandidate;
14
+ assets: readonly GeneratedIconSetPreviewAsset[];
15
+ }>;
16
+ export type GeneratedIconSetGenerateResult = Readonly<{
17
+ kind: 'preview_ready';
18
+ preview: GeneratedIconSetPreview;
19
+ }> | Readonly<{
20
+ kind: 'failed';
21
+ message: string;
22
+ }>;
23
+ export type GeneratedIconSetApplyResult = Readonly<{
24
+ kind: 'applied';
25
+ }> | Readonly<{
26
+ kind: 'failed';
27
+ message: string;
28
+ }>;
29
+ export declare function GeneratedIconSetDialog({ open, onOpenChange, cards, styleGuideSummary, styleGuideEditHref, onGenerate, onApply, }: {
30
+ open: boolean;
31
+ onOpenChange: (open: boolean) => void;
32
+ cards: readonly FeatureCardIconDialogCard[];
33
+ styleGuideSummary?: string | null;
34
+ styleGuideEditHref?: string | null;
35
+ onGenerate?: (input: Readonly<{
36
+ userStyleNote: string | null;
37
+ cards: readonly FeatureCardIconDialogCard[];
38
+ }>) => Promise<GeneratedIconSetGenerateResult>;
39
+ onApply?: (preview: GeneratedIconSetPreview) => GeneratedIconSetApplyResult | void | Promise<GeneratedIconSetApplyResult | void>;
40
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { type ComponentProps } from 'react';
2
- import { type Theme } from '../../../blocks/src/index';
2
+ import { type Theme, type SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
3
3
  import type { PageDesignEditorBlock } from '../../../theme-core/src/site-styles/index';
4
4
  import type { BlockFocusRequest, BlockItem } from './types';
5
5
  import { type CustomBlockRegistryEntry, type SdkConfigForBlockPicker } from './sdkBlockMerger';
@@ -7,6 +7,8 @@ import { BlockCard } from './BlockCard';
7
7
  import type { FieldWidgetComponent } from '../../../block-form/src/client/index';
8
8
  import { type BlockActionControlMode } from './actionControlMode';
9
9
  import { type ReorderControlMode } from './reorderControlMode';
10
+ import type { GeneratedIconSetGenerateResult, GeneratedIconSetPreview } from './GeneratedIconSetDialog';
11
+ import type { getFeatureCardIconDialogCards } from './featureCardIconActions';
10
12
  export declare const SortableBlockItem: import("react").NamedExoticComponent<{
11
13
  siteId: string;
12
14
  block: BlockItem;
@@ -33,4 +35,12 @@ export declare const SortableBlockItem: import("react").NamedExoticComponent<{
33
35
  pageDesignBlock?: PageDesignEditorBlock | null;
34
36
  reorderControlMode?: ReorderControlMode;
35
37
  actionControlMode?: BlockActionControlMode;
38
+ currentStyleGuideVersionId?: SiteIconStyleGuideVersionId | null;
39
+ iconStyleGuideSummary?: string | null;
40
+ iconStyleGuideEditHref?: string | null;
41
+ onGenerateIconSet?: (input: Readonly<{
42
+ userStyleNote: string | null;
43
+ cards: ReturnType<typeof getFeatureCardIconDialogCards>;
44
+ }>) => Promise<GeneratedIconSetGenerateResult>;
45
+ onApplyGeneratedIconSet?: (preview: GeneratedIconSetPreview) => GeneratedIconSetPreview | void | Promise<GeneratedIconSetPreview | void>;
36
46
  }>;