@riverbankcms/sdk 0.128.0 → 0.129.1

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 (290) hide show
  1. package/README.md +52 -256
  2. package/dist/{PreviewEditorSidebar-Dbvb7GIr.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
  3. package/dist/{PreviewEditorUI-e9O9l20X.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
  4. package/dist/{SdkPreviewModeRuntime-BZHt6e9w.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +495 -292
  5. package/dist/{SiteChromeCustomizeContext-CvuGbHJX.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +600 -533
  6. package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +4897 -4897
  8. package/dist/_dts/api/src/index.d.ts +2 -1
  9. package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
  10. package/dist/_dts/api/src/sdk-event-schedule.d.ts +3 -6
  11. package/dist/_dts/api/src/sdkContracts.d.ts +37 -50
  12. package/dist/_dts/api/src/sdkThemeWire.d.ts +2595 -0
  13. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +13 -29
  14. package/dist/_dts/blocks/src/PageRenderer.d.ts +20 -10
  15. package/dist/_dts/blocks/src/index.d.ts +2 -1
  16. package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +30 -0
  17. package/dist/_dts/blocks/src/pageRenderingMode.d.ts +37 -0
  18. package/dist/_dts/blocks/src/server.d.ts +1 -1
  19. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +14 -0
  20. package/dist/_dts/media-core/src/index.d.ts +1 -0
  21. package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -0
  22. package/dist/_dts/preview-next/src/client/index.d.ts +47 -47
  23. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +18 -6
  24. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +30 -21
  25. package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +18 -5
  26. package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +9 -0
  27. package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +21 -6
  28. package/dist/_dts/preview-next/src/client/sdk-runtime.d.ts +8 -8
  29. package/dist/_dts/sdk/src/config/types.d.ts +4 -4
  30. package/dist/_dts/sdk/src/next/catch-all.d.ts +6 -0
  31. package/dist/_dts/sdk/src/next/index.d.ts +2 -1
  32. package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +33 -0
  33. package/dist/_dts/sdk/src/next/types.d.ts +23 -9
  34. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +4 -6
  35. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  37. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +25 -3
  38. package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +13 -2
  39. package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +31 -18
  40. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +20 -9
  41. package/dist/_dts/sdk/src/rendering/index.d.ts +4 -2
  42. package/dist/_dts/sdk/src/rendering/renderingMode.d.ts +23 -0
  43. package/dist/_dts/sdk/src/rendering/server.d.ts +5 -3
  44. package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +6 -0
  45. package/dist/_dts/sdk/src/version.d.ts +1 -1
  46. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  47. package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
  48. package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
  49. package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
  50. package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
  51. package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
  52. package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
  53. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
  54. package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
  55. package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
  56. package/dist/client/client.mjs +911 -762
  57. package/dist/client/hooks.mjs +59 -36
  58. package/dist/client/rendering/client.mjs +593 -547
  59. package/dist/client/rendering.mjs +994 -783
  60. package/dist/preview-next/before-render.mjs +10 -3
  61. package/dist/preview-next/client/runtime.mjs +3 -3
  62. package/dist/{sdk-runtime-Cn_QSCOg.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
  63. package/dist/{separator-CEoGABRc.mjs → separator-BE3NCquy.mjs} +1 -1
  64. package/dist/server/components.mjs +549 -399
  65. package/dist/server/config-validation.mjs +59 -36
  66. package/dist/server/config.mjs +59 -36
  67. package/dist/server/data.mjs +59 -36
  68. package/dist/server/index.mjs +1 -1
  69. package/dist/server/manifest.mjs +4966 -0
  70. package/dist/server/next.mjs +700 -537
  71. package/dist/server/page-converter.mjs +40 -36
  72. package/dist/server/prebuild.mjs +1 -1
  73. package/dist/server/rendering/server.mjs +571 -404
  74. package/dist/server/rendering.mjs +571 -404
  75. package/dist/server/routing.mjs +472 -402
  76. package/dist/server/server.mjs +60 -37
  77. package/dist/server/theme-bridge.mjs +70 -66
  78. package/package.json +9 -12
  79. package/dist/_dts/api/src/event-presentation.d.ts +0 -14
  80. package/dist/_dts/blocks/src/definitions.d.ts +0 -14
  81. package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
  82. package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
  83. package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
  84. package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
  85. package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
  86. package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
  87. package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
  88. package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
  89. package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
  90. package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
  91. package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
  92. package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
  93. package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
  94. package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
  95. package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
  96. package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
  97. package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
  98. package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
  99. package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
  100. package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
  101. package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
  102. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
  103. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
  104. package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
  105. package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
  106. package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
  107. package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
  108. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
  109. package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
  110. package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
  111. package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
  112. package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
  113. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
  114. package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
  115. package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
  116. package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
  117. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
  118. package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
  119. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
  120. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
  121. package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
  122. package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
  123. package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
  124. package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
  125. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
  126. package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
  127. package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
  128. package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
  129. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
  130. package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
  131. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
  132. package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
  133. package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
  134. package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
  135. package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
  136. package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
  137. package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
  138. package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
  139. package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
  140. package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
  141. package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
  142. package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
  143. package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
  144. package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
  145. package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
  146. package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
  147. package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
  148. package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
  149. package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
  150. package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
  151. package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
  152. package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
  153. package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
  154. package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
  155. package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
  156. package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
  157. package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
  158. package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
  159. package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
  160. package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
  161. package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
  162. package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
  163. package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
  164. package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
  165. package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
  166. package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
  167. package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
  168. package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
  169. package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
  170. package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
  171. package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
  172. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
  173. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
  174. package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
  175. package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
  176. package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
  177. package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
  178. package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
  179. package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
  180. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
  181. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
  182. package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
  183. package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
  184. package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
  185. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
  186. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
  187. package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
  188. package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
  189. package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
  190. package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
  191. package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
  192. package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
  193. package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
  194. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
  195. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
  196. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
  197. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
  198. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
  199. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
  200. package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
  201. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
  202. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
  203. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
  204. package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
  205. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
  206. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
  207. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
  208. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
  209. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
  210. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
  211. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
  212. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
  213. package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
  214. package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
  215. package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
  216. package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
  217. package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
  218. package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
  219. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
  220. package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
  221. package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
  222. package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
  223. package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
  224. package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
  225. package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
  226. package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
  227. package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
  228. package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
  229. package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
  230. package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
  231. package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
  232. package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
  233. package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
  234. package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
  235. package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
  236. package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
  237. package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
  238. package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
  239. package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
  240. package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
  241. package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
  242. package/dist/_dts/sdk/src/test/env.d.ts +0 -4
  243. package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
  244. package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
  245. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
  246. package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
  247. package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
  248. package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
  249. package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
  250. package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
  251. package/dist/_dts/site-commands/src/domain.d.ts +0 -104
  252. package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
  253. package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
  254. package/dist/_dts/site-commands/src/guards.d.ts +0 -1
  255. package/dist/_dts/site-commands/src/index.d.ts +0 -18
  256. package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
  257. package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
  258. package/dist/_dts/site-commands/src/planner.d.ts +0 -58
  259. package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
  260. package/dist/_dts/site-commands/src/refs.d.ts +0 -90
  261. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
  262. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
  263. package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
  264. package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
  265. package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
  266. package/dist/_dts/theme-core/src/data.d.ts +0 -12
  267. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
  268. package/dist/cli/index.mjs +0 -162962
  269. package/dist/cli/init-docs/content/agents-section.md +0 -67
  270. package/dist/cli/init-docs/content/cli-reference.md +0 -1238
  271. package/dist/cli/init-docs/content/content-management.md +0 -792
  272. package/dist/cli/init-docs/content/context-brand.md +0 -125
  273. package/dist/cli/init-docs/content/context-brief.md +0 -77
  274. package/dist/cli/init-docs/content/context-knowledge.md +0 -111
  275. package/dist/cli/init-docs/content/getting-started.md +0 -171
  276. package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
  277. package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
  278. package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
  279. package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
  280. package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
  281. package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
  282. package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
  283. package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
  284. package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
  285. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
  286. package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -239
  287. package/dist/cli/init-docs/content/workflow-publish.md +0 -285
  288. package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
  289. package/dist/cli/init-docs/content/workflow-templates.md +0 -381
  290. /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
@@ -6253,6 +6253,7 @@ var init_buttons = __esmMin((() => {
6253
6253
  init_constants$1();
6254
6254
  init_presets$2();
6255
6255
  init_styles();
6256
+ init_styles();
6256
6257
  }));
6257
6258
  //#endregion
6258
6259
  //#region ../path-utils/src/index.ts
@@ -7423,9 +7424,10 @@ var init_fileAssetDeletion = __esmMin((() => {
7423
7424
  init_src$3();
7424
7425
  init_fileDomain();
7425
7426
  init_fileStorage();
7426
- })), init_fileMimeDetection = __esmMin((() => {
7427
+ }));
7428
+ var init_fileMimeDetection = __esmMin((() => {
7427
7429
  new TextDecoder("latin1");
7428
- })), init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
7430
+ })), init_mimeType = __esmMin((() => {})), init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
7429
7431
  var init_uploadVerificationContract = __esmMin((() => {
7430
7432
  init_fileDomain();
7431
7433
  init_fileMimeDetection();
@@ -8036,6 +8038,7 @@ var init_src$2 = __esmMin((() => {
8036
8038
  init_fileAssetDeletion();
8037
8039
  init_fileAssetCompatibility();
8038
8040
  init_fileMimeDetection();
8041
+ init_mimeType();
8039
8042
  init_filename();
8040
8043
  init_uploadVerificationContract();
8041
8044
  init_videoPrep();
@@ -22197,6 +22200,7 @@ var init_curated = __esmMin((() => {
22197
22200
  init_suggestRecipes();
22198
22201
  init_allRecipes();
22199
22202
  init_curated();
22203
+ init_curated();
22200
22204
  }));
22201
22205
  var init_tokens$1 = __esmMin((() => {}));
22202
22206
  //#endregion
@@ -22255,7 +22259,146 @@ var init_backgroundAppearance = __esmMin((() => {
22255
22259
  var init_compositionBudget = __esmMin((() => {
22256
22260
  init_types$9();
22257
22261
  }));
22258
- var init_headerStyleParts = __esmMin((() => {}));
22262
+ var init_customizableSurfaces = __esmMin((() => {
22263
+ init_types$9();
22264
+ }));
22265
+ //#endregion
22266
+ //#region ../theme-core/src/site-styles/headerLookTypes.ts
22267
+ function asHeaderLookId(value) {
22268
+ return value;
22269
+ }
22270
+ function asHeaderLayoutId(value) {
22271
+ return value;
22272
+ }
22273
+ function asHeaderStyleId(value) {
22274
+ return value;
22275
+ }
22276
+ var init_headerLookTypes = __esmMin((() => {
22277
+ init_customizableSurfaces();
22278
+ }));
22279
+ var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations;
22280
+ var init_headerLookBranding = __esmMin((() => {
22281
+ init_logoBranding();
22282
+ init_types$9();
22283
+ titleOnlyLogoAccommodation = {
22284
+ pattern: "title-only",
22285
+ supportedShapes: [
22286
+ "none",
22287
+ "horizontal",
22288
+ "square",
22289
+ "portrait",
22290
+ "tall"
22291
+ ],
22292
+ supportedTextPresence: [
22293
+ "contains-text",
22294
+ "no-text",
22295
+ "unknown"
22296
+ ],
22297
+ supportedDisplayModes: ["title-only"],
22298
+ size: "compact"
22299
+ };
22300
+ inlineWordmarkLogoAccommodation = {
22301
+ pattern: "inline-wordmark",
22302
+ supportedShapes: ["horizontal"],
22303
+ supportedTextPresence: [
22304
+ "contains-text",
22305
+ "no-text",
22306
+ "unknown"
22307
+ ],
22308
+ supportedDisplayModes: ["logo-only"],
22309
+ size: "standard",
22310
+ maxDensity: "detailed"
22311
+ };
22312
+ inlineMarkWithTitleLogoAccommodation = {
22313
+ pattern: "inline-mark-with-title",
22314
+ supportedShapes: [
22315
+ "horizontal",
22316
+ "square",
22317
+ "portrait",
22318
+ "tall"
22319
+ ],
22320
+ supportedTextPresence: ["no-text"],
22321
+ supportedDisplayModes: ["logo-plus-title"],
22322
+ size: "compact",
22323
+ maxDensity: "simple"
22324
+ };
22325
+ logoPlateAccommodation = {
22326
+ pattern: "logo-plate",
22327
+ supportedShapes: [
22328
+ "square",
22329
+ "portrait",
22330
+ "tall"
22331
+ ],
22332
+ supportedTextPresence: ["contains-text", "unknown"],
22333
+ supportedDisplayModes: ["logo-only"],
22334
+ size: "display",
22335
+ providesBacking: true
22336
+ };
22337
+ centeredBadgeAccommodation = {
22338
+ pattern: "centered-badge",
22339
+ supportedShapes: [
22340
+ "square",
22341
+ "portrait",
22342
+ "tall"
22343
+ ],
22344
+ supportedTextPresence: ["contains-text", "unknown"],
22345
+ supportedDisplayModes: ["logo-only"],
22346
+ size: "display",
22347
+ providesBacking: true
22348
+ };
22349
+ popoutBadgeAccommodation = {
22350
+ pattern: "popout-badge",
22351
+ supportedShapes: [
22352
+ "square",
22353
+ "portrait",
22354
+ "tall"
22355
+ ],
22356
+ supportedTextPresence: ["contains-text", "unknown"],
22357
+ supportedDisplayModes: ["logo-only"],
22358
+ size: "display",
22359
+ providesBacking: true
22360
+ };
22361
+ centeredMastheadAccommodation = {
22362
+ pattern: "centered-masthead",
22363
+ supportedShapes: [
22364
+ "square",
22365
+ "portrait",
22366
+ "tall"
22367
+ ],
22368
+ supportedTextPresence: ["contains-text", "unknown"],
22369
+ supportedDisplayModes: ["logo-only"],
22370
+ size: "display",
22371
+ providesBacking: true
22372
+ };
22373
+ unbackedOverlayLogoAccommodation = {
22374
+ pattern: "inline-logo-only",
22375
+ supportedShapes: ["square"],
22376
+ supportedTextPresence: ["contains-text", "unknown"],
22377
+ supportedDisplayModes: ["logo-only"],
22378
+ size: "compact",
22379
+ providesBacking: false
22380
+ };
22381
+ inlineClassicLogoAccommodations = [
22382
+ titleOnlyLogoAccommodation,
22383
+ inlineWordmarkLogoAccommodation,
22384
+ inlineMarkWithTitleLogoAccommodation,
22385
+ popoutBadgeAccommodation,
22386
+ logoPlateAccommodation
22387
+ ];
22388
+ centeredLogoAccommodations = [
22389
+ titleOnlyLogoAccommodation,
22390
+ inlineWordmarkLogoAccommodation,
22391
+ inlineMarkWithTitleLogoAccommodation,
22392
+ centeredMastheadAccommodation,
22393
+ centeredBadgeAccommodation
22394
+ ];
22395
+ overlayLogoAccommodations = [
22396
+ titleOnlyLogoAccommodation,
22397
+ inlineWordmarkLogoAccommodation,
22398
+ inlineMarkWithTitleLogoAccommodation,
22399
+ unbackedOverlayLogoAccommodation
22400
+ ];
22401
+ }));
22259
22402
  var clearSplitInteractionPalette;
22260
22403
  var init_headerInteractionPalette = __esmMin((() => {
22261
22404
  init_interactionPalette();
@@ -22280,42 +22423,8 @@ var init_headerInteractionPalette = __esmMin((() => {
22280
22423
  ]
22281
22424
  });
22282
22425
  }));
22283
- var init_headerOpeningForeground = __esmMin((() => {
22284
- init_expandPalette();
22285
- init_colorConversion();
22286
- init_tokens();
22287
- init_colorTokenParts();
22288
- init_types$9();
22289
- }));
22290
- var init_customizableSurfaces = __esmMin((() => {
22291
- init_types$9();
22292
- }));
22293
22426
  //#endregion
22294
- //#region ../theme-core/src/site-styles/headerLooks.ts
22295
- function asHeaderLookId(value) {
22296
- return value;
22297
- }
22298
- function asHeaderLayoutId(value) {
22299
- return value;
22300
- }
22301
- function asHeaderStyleId(value) {
22302
- return value;
22303
- }
22304
- /**
22305
- * Starts every Look from the generated theme's header branch, then clears
22306
- * optional nested styling fields that would otherwise leak from another Look.
22307
- */
22308
- function baseHeader(theme) {
22309
- const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
22310
- return {
22311
- ...header,
22312
- navContainer: {
22313
- type: "none",
22314
- tint: null,
22315
- opacity: .15
22316
- }
22317
- };
22318
- }
22427
+ //#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
22319
22428
  function supportedLayouts(ids) {
22320
22429
  return ids.map(asHeaderLayoutId);
22321
22430
  }
@@ -22341,465 +22450,19 @@ function getCompatibleHeaderStyleIds(layoutId) {
22341
22450
  return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
22342
22451
  });
22343
22452
  }
22344
- function applyNavTypography(style, typography) {
22345
- switch (typography) {
22346
- case "plain": return style;
22347
- case "heading": return {
22348
- ...style,
22349
- typography: "heading",
22350
- fontWeight: "medium",
22351
- letterSpacing: "wide"
22352
- };
22353
- case "quiet-caps": return {
22354
- ...style,
22355
- textTransform: "uppercase",
22356
- textSize: "sm",
22357
- letterSpacing: "wide"
22358
- };
22359
- case "brand-caps": return {
22360
- ...style,
22361
- textTransform: "uppercase",
22362
- textSize: "sm",
22363
- letterSpacing: "wider"
22364
- };
22365
- default: return assertNever$21(typography, "Unhandled header nav typography");
22366
- }
22367
- }
22368
- function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
22369
- return applyNavTypography({
22370
- name: "Underline grow",
22371
- typography: "body",
22372
- fontWeight: "medium",
22373
- textTransform: "none",
22374
- italic: false,
22375
- colorToken,
22376
- padding: "compact",
22377
- paddingX: "compact",
22378
- borderRadius: "none",
22379
- effects: { hover: [{
22380
- effectId: "nav-underline",
22381
- options: {
22382
- style: "grow",
22383
- ...underlineColorToken ? { colorToken: underlineColorToken } : {}
22384
- }
22385
- }] }
22386
- }, typography);
22387
- }
22388
- function themedHeaderShadow(theme) {
22389
- switch (theme.shadow.elevation) {
22390
- case "none": return;
22391
- case "low": return { elevation: "sm" };
22392
- case "medium": return { elevation: "md" };
22393
- case "high": return { elevation: "lg" };
22394
- default: return assertNever$21(theme.shadow.elevation, "Unhandled theme shadow elevation");
22395
- }
22396
- }
22397
- function solidBrandHeader(theme) {
22398
- const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
22399
- return {
22400
- ...baseHeader(theme),
22401
- variant: "classic",
22402
- positioning: "sticky",
22403
- shrinkOnScroll: true,
22404
- background: {
22405
- type: "color",
22406
- color: "primary"
22407
- },
22408
- textColor: "primaryForeground",
22409
- navColor: "primaryForeground",
22410
- navStyle: "underline-grow",
22411
- navWeight: "bold",
22412
- navLinkStyle: {
22413
- typography: "body",
22414
- fontWeight: "bold",
22415
- textTransform: "uppercase",
22416
- italic: false,
22417
- colorToken: "primaryForeground",
22418
- hoverColorToken: "secondary",
22419
- textSize: "sm",
22420
- letterSpacing: "wider",
22421
- padding: "compact",
22422
- paddingX: "compact",
22423
- borderRadius: "none",
22424
- effects: { hover: [{
22425
- effectId: "text-color-change",
22426
- options: { hoverColorToken: "secondary" }
22427
- }, {
22428
- effectId: "nav-underline",
22429
- options: {
22430
- style: "grow",
22431
- colorToken: "secondary"
22432
- }
22433
- }] }
22434
- },
22435
- dropdownStyle: {
22436
- background: "primary-700",
22437
- textColor: "primaryForeground",
22438
- borderColor: null,
22439
- shadow: "md",
22440
- borderRadius: "md",
22441
- hoverBackground: "primary-900",
22442
- hoverTextColor: "secondary",
22443
- textTransform: "uppercase",
22444
- letterSpacing: "wider",
22445
- fontWeight: "bold",
22446
- textSize: "sm"
22447
- },
22448
- border: {
22449
- style: "solid",
22450
- width: "none",
22451
- position: "none"
22452
- },
22453
- logoText: {
22454
- hideOnShrink: true,
22455
- mobileMaxWidth: "sm",
22456
- mobileWrapLines: 2
22457
- },
22458
- ctaGap: "compact",
22459
- ctaTreatment: "inverted",
22460
- ...ctaVariant ? { ctaVariant } : {}
22461
- };
22462
- }
22463
- function cleanBaseHeader(theme) {
22464
- return {
22465
- ...baseHeader(theme),
22466
- variant: "classic",
22467
- positioning: "sticky",
22468
- shrinkOnScroll: false,
22469
- background: {
22470
- type: "color",
22471
- color: "surface"
22472
- },
22473
- textColor: "text",
22474
- navColor: "text",
22475
- navStyle: "minimal",
22476
- navWeight: "medium",
22477
- border: {
22478
- style: "solid",
22479
- width: "thin",
22480
- position: "bottom",
22481
- colorToken: "border"
22482
- },
22483
- ctaTreatment: "default",
22484
- ctaGap: "default"
22485
- };
22486
- }
22487
- function classicCenteredNavHeader(theme) {
22488
- return {
22489
- ...baseHeader(theme),
22490
- variant: "classic",
22491
- navPlacement: "center",
22492
- positioning: "sticky",
22493
- shrinkOnScroll: false,
22494
- background: {
22495
- type: "color",
22496
- color: "surface"
22497
- },
22498
- textColor: "text",
22499
- navColor: "text",
22500
- navStyle: "underline-grow",
22501
- navWeight: "medium",
22502
- navLinkStyle: underlineNavLinkStyle("text", "accent"),
22503
- border: {
22504
- style: "solid",
22505
- width: "thin",
22506
- position: "bottom",
22507
- colorToken: "border"
22508
- },
22509
- ctaTreatment: "primary",
22510
- ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
22511
- ctaGap: "default",
22512
- logoText: {
22513
- mobileMaxWidth: "sm",
22514
- mobileWrapLines: 1,
22515
- hideOnShrink: false
22516
- }
22517
- };
22518
- }
22519
- function serifLineHeader(theme) {
22520
- return {
22521
- ...baseHeader(theme),
22522
- variant: "centered",
22523
- positioning: "sticky",
22524
- shrinkOnScroll: false,
22525
- background: {
22526
- type: "color",
22527
- color: "background"
22528
- },
22529
- textColor: "text",
22530
- navColor: "text",
22531
- navStyle: "underline-grow",
22532
- navWeight: "medium",
22533
- logo: {
22534
- fontFamily: "heading",
22535
- letterSpacing: "wide",
22536
- gradient: false
22537
- },
22538
- border: {
22539
- style: "solid",
22540
- width: "none",
22541
- position: "none"
22542
- },
22543
- shadow: { elevation: "none" },
22544
- ctaTreatment: "outline",
22545
- ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
22546
- ctaGap: "relaxed"
22547
- };
22548
- }
22549
- function centeredCalmHeader(theme) {
22550
- return {
22551
- ...baseHeader(theme),
22552
- variant: "centered",
22553
- positioning: "static",
22554
- shrinkOnScroll: false,
22555
- background: {
22556
- type: "color",
22557
- color: "surface"
22558
- },
22559
- textColor: "text",
22560
- navColor: "text",
22561
- navStyle: "minimal",
22562
- navWeight: "medium",
22563
- ctaTreatment: "ghost",
22564
- ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
22565
- ctaGap: "none"
22566
- };
22567
- }
22568
- function practicalUtilityHeader(theme) {
22569
- return {
22570
- ...baseHeader(theme),
22571
- variant: "classic",
22572
- positioning: "sticky",
22573
- shrinkOnScroll: true,
22574
- background: {
22575
- type: "color",
22576
- color: "surface"
22577
- },
22578
- textColor: "text",
22579
- navColor: "text",
22580
- navStyle: "solid",
22581
- navWeight: "semibold",
22582
- shadow: themedHeaderShadow(theme),
22583
- border: {
22584
- style: "solid",
22585
- width: "thin",
22586
- position: "bottom",
22587
- colorToken: "border"
22588
- },
22589
- ctaTreatment: "primary",
22590
- ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
22591
- ctaGap: "compact",
22592
- logoText: {
22593
- mobileMaxWidth: "sm",
22594
- mobileWrapLines: 1,
22595
- hideOnShrink: false
22596
- }
22597
- };
22598
- }
22599
- function minimalTransparentHeader(theme) {
22600
- return {
22601
- ...baseHeader(theme),
22602
- variant: "classic",
22603
- positioning: "static",
22604
- shrinkOnScroll: false,
22605
- background: {
22606
- type: "color",
22607
- color: "transparent"
22608
- },
22609
- textColor: "text",
22610
- navColor: "text",
22611
- navStyle: "underline",
22612
- navWeight: "medium",
22613
- border: {
22614
- style: "solid",
22615
- width: "none",
22616
- position: "none"
22617
- },
22618
- ctaTreatment: "outline",
22619
- ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
22620
- ctaGap: "default"
22621
- };
22622
- }
22623
- function transparentOverlayHeader(theme) {
22624
- return {
22625
- ...baseHeader(theme),
22626
- variant: "transparent",
22627
- positioning: "fixed",
22628
- shrinkOnScroll: true,
22629
- background: {
22630
- type: "color",
22631
- color: "transparent"
22632
- },
22633
- textColor: "background",
22634
- navColor: "background",
22635
- navStyle: "frosted",
22636
- navWeight: "semibold",
22637
- border: {
22638
- style: "solid",
22639
- width: "none",
22640
- position: "none"
22641
- },
22642
- ctaTreatment: "inverted",
22643
- ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
22644
- ctaGap: "compact"
22645
- };
22646
- }
22647
- function floatingGlassHeader(theme) {
22648
- return {
22649
- ...transparentOverlayHeader(theme),
22650
- variant: "floating",
22651
- positioning: "sticky",
22652
- navStyle: "frosted",
22653
- navContainer: {
22654
- type: "glass",
22655
- tint: "text",
22656
- opacity: .16
22657
- },
22658
- container: {
22659
- rounded: "2xl",
22660
- border: true,
22661
- shadow: true,
22662
- padding: "sm",
22663
- tint: "background",
22664
- opacity: .12
22665
- }
22666
- };
22667
- }
22668
- var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations, headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById, headerLookCatalog;
22669
- var init_headerLooks = __esmMin((() => {
22670
- init_headerCtaVariants();
22671
- init_headerStyleParts();
22672
- init_headerInteractionPalette();
22673
- init_headerOpeningForeground();
22674
- init_customizableSurfaces();
22675
- init_logoBranding();
22676
- init_types$9();
22677
- titleOnlyLogoAccommodation = {
22678
- pattern: "title-only",
22679
- supportedShapes: [
22680
- "none",
22681
- "horizontal",
22682
- "square",
22683
- "portrait",
22684
- "tall"
22685
- ],
22686
- supportedTextPresence: [
22687
- "contains-text",
22688
- "no-text",
22689
- "unknown"
22690
- ],
22691
- supportedDisplayModes: ["title-only"],
22692
- size: "compact"
22693
- };
22694
- inlineWordmarkLogoAccommodation = {
22695
- pattern: "inline-wordmark",
22696
- supportedShapes: ["horizontal"],
22697
- supportedTextPresence: [
22698
- "contains-text",
22699
- "no-text",
22700
- "unknown"
22701
- ],
22702
- supportedDisplayModes: ["logo-only"],
22703
- size: "standard",
22704
- maxDensity: "detailed"
22705
- };
22706
- inlineMarkWithTitleLogoAccommodation = {
22707
- pattern: "inline-mark-with-title",
22708
- supportedShapes: [
22709
- "horizontal",
22710
- "square",
22711
- "portrait",
22712
- "tall"
22713
- ],
22714
- supportedTextPresence: ["no-text"],
22715
- supportedDisplayModes: ["logo-plus-title"],
22716
- size: "compact",
22717
- maxDensity: "simple"
22718
- };
22719
- logoPlateAccommodation = {
22720
- pattern: "logo-plate",
22721
- supportedShapes: [
22722
- "square",
22723
- "portrait",
22724
- "tall"
22725
- ],
22726
- supportedTextPresence: ["contains-text", "unknown"],
22727
- supportedDisplayModes: ["logo-only"],
22728
- size: "display",
22729
- providesBacking: true
22730
- };
22731
- centeredBadgeAccommodation = {
22732
- pattern: "centered-badge",
22733
- supportedShapes: [
22734
- "square",
22735
- "portrait",
22736
- "tall"
22737
- ],
22738
- supportedTextPresence: ["contains-text", "unknown"],
22739
- supportedDisplayModes: ["logo-only"],
22740
- size: "display",
22741
- providesBacking: true
22742
- };
22743
- popoutBadgeAccommodation = {
22744
- pattern: "popout-badge",
22745
- supportedShapes: [
22746
- "square",
22747
- "portrait",
22748
- "tall"
22749
- ],
22750
- supportedTextPresence: ["contains-text", "unknown"],
22751
- supportedDisplayModes: ["logo-only"],
22752
- size: "display",
22753
- providesBacking: true
22754
- };
22755
- centeredMastheadAccommodation = {
22756
- pattern: "centered-masthead",
22757
- supportedShapes: [
22758
- "square",
22759
- "portrait",
22760
- "tall"
22761
- ],
22762
- supportedTextPresence: ["contains-text", "unknown"],
22763
- supportedDisplayModes: ["logo-only"],
22764
- size: "display",
22765
- providesBacking: true
22766
- };
22767
- unbackedOverlayLogoAccommodation = {
22768
- pattern: "inline-logo-only",
22769
- supportedShapes: ["square"],
22770
- supportedTextPresence: ["contains-text", "unknown"],
22771
- supportedDisplayModes: ["logo-only"],
22772
- size: "compact",
22773
- providesBacking: false
22774
- };
22775
- inlineClassicLogoAccommodations = [
22776
- titleOnlyLogoAccommodation,
22777
- inlineWordmarkLogoAccommodation,
22778
- inlineMarkWithTitleLogoAccommodation,
22779
- popoutBadgeAccommodation,
22780
- logoPlateAccommodation
22781
- ];
22782
- centeredLogoAccommodations = [
22783
- titleOnlyLogoAccommodation,
22784
- inlineWordmarkLogoAccommodation,
22785
- inlineMarkWithTitleLogoAccommodation,
22786
- centeredMastheadAccommodation,
22787
- centeredBadgeAccommodation
22788
- ];
22789
- overlayLogoAccommodations = [
22790
- titleOnlyLogoAccommodation,
22791
- inlineWordmarkLogoAccommodation,
22792
- inlineMarkWithTitleLogoAccommodation,
22793
- unbackedOverlayLogoAccommodation
22794
- ];
22795
- headerLayoutCatalog = defineExactCatalog()([
22796
- {
22797
- id: asHeaderLayoutId("classic"),
22798
- label: "Classic",
22799
- description: "Logo and navigation in one practical horizontal row.",
22800
- variant: "classic",
22801
- defaultPositioning: "sticky",
22802
- shrinkOnScroll: false
22453
+ var headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById;
22454
+ var init_headerLayoutStyleCatalog = __esmMin((() => {
22455
+ init_types$9();
22456
+ init_headerInteractionPalette();
22457
+ init_headerLookTypes();
22458
+ headerLayoutCatalog = defineExactCatalog()([
22459
+ {
22460
+ id: asHeaderLayoutId("classic"),
22461
+ label: "Classic",
22462
+ description: "Logo and navigation in one practical horizontal row.",
22463
+ variant: "classic",
22464
+ defaultPositioning: "sticky",
22465
+ shrinkOnScroll: false
22803
22466
  },
22804
22467
  {
22805
22468
  id: asHeaderLayoutId("centered"),
@@ -23113,64 +22776,431 @@ var init_headerLooks = __esmMin((() => {
23113
22776
  styleId: asHeaderStyleId("minimal")
23114
22777
  }
23115
22778
  },
23116
- {
23117
- lookId: asHeaderLookId("classic-centered-nav"),
23118
- selection: {
23119
- layoutId: asHeaderLayoutId("classic"),
23120
- styleId: asHeaderStyleId("fine-line")
23121
- }
22779
+ {
22780
+ lookId: asHeaderLookId("classic-centered-nav"),
22781
+ selection: {
22782
+ layoutId: asHeaderLayoutId("classic"),
22783
+ styleId: asHeaderStyleId("fine-line")
22784
+ }
22785
+ },
22786
+ {
22787
+ lookId: asHeaderLookId("brand-solid"),
22788
+ selection: {
22789
+ layoutId: asHeaderLayoutId("classic"),
22790
+ styleId: asHeaderStyleId("brand-bar")
22791
+ }
22792
+ },
22793
+ {
22794
+ lookId: asHeaderLookId("serif-line"),
22795
+ selection: {
22796
+ layoutId: asHeaderLayoutId("centered"),
22797
+ styleId: asHeaderStyleId("serif-line")
22798
+ }
22799
+ },
22800
+ {
22801
+ lookId: asHeaderLookId("centered-calm"),
22802
+ selection: {
22803
+ layoutId: asHeaderLayoutId("centered"),
22804
+ styleId: asHeaderStyleId("minimal")
22805
+ }
22806
+ },
22807
+ {
22808
+ lookId: asHeaderLookId("practical-utility"),
22809
+ selection: {
22810
+ layoutId: asHeaderLayoutId("classic"),
22811
+ styleId: asHeaderStyleId("flat-tabs")
22812
+ }
22813
+ },
22814
+ {
22815
+ lookId: asHeaderLookId("minimal-transparent"),
22816
+ selection: {
22817
+ layoutId: asHeaderLayoutId("classic"),
22818
+ styleId: asHeaderStyleId("minimal")
22819
+ }
22820
+ },
22821
+ {
22822
+ lookId: asHeaderLookId("transparent-overlay"),
22823
+ selection: {
22824
+ layoutId: asHeaderLayoutId("floating"),
22825
+ styleId: asHeaderStyleId("glass")
22826
+ }
22827
+ },
22828
+ {
22829
+ lookId: asHeaderLookId("floating-glass"),
22830
+ selection: {
22831
+ layoutId: asHeaderLayoutId("floating"),
22832
+ styleId: asHeaderStyleId("glass")
22833
+ }
22834
+ }
22835
+ ]);
22836
+ legacyHeaderLookAliasesById = new Map(legacyHeaderLookAliases.map((alias) => [alias.lookId, alias]));
22837
+ }));
22838
+ var init_headerOpeningForeground = __esmMin((() => {
22839
+ init_expandPalette();
22840
+ init_colorConversion();
22841
+ init_tokens();
22842
+ init_colorTokenParts();
22843
+ init_types$9();
22844
+ }));
22845
+ //#endregion
22846
+ //#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
22847
+ function baseHeader(theme) {
22848
+ const { navLinkStyle: _navLinkStyle, navFontRole: _navFontRole, navTypography: _navTypography, navTextSize: _navTextSize, interactionPalette: _interactionPalette, dropdownStyle: _dropdownStyle, ctaVariant: _ctaVariant, navContainer: _navContainer, container: _container, shadow: _shadow, logo: _logo, logoText: _logoText, border: _border, ...header } = theme.header;
22849
+ return {
22850
+ ...header,
22851
+ navContainer: {
22852
+ type: "none",
22853
+ tint: null,
22854
+ opacity: .15
22855
+ }
22856
+ };
22857
+ }
22858
+ function applyNavTypography(style, typography) {
22859
+ switch (typography) {
22860
+ case "plain": return style;
22861
+ case "heading": return {
22862
+ ...style,
22863
+ typography: "heading",
22864
+ fontWeight: "medium",
22865
+ letterSpacing: "wide"
22866
+ };
22867
+ case "quiet-caps": return {
22868
+ ...style,
22869
+ textTransform: "uppercase",
22870
+ textSize: "sm",
22871
+ letterSpacing: "wide"
22872
+ };
22873
+ case "brand-caps": return {
22874
+ ...style,
22875
+ textTransform: "uppercase",
22876
+ textSize: "sm",
22877
+ letterSpacing: "wider"
22878
+ };
22879
+ default: return assertNever$21(typography, "Unhandled header nav typography");
22880
+ }
22881
+ }
22882
+ function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
22883
+ return applyNavTypography({
22884
+ name: "Underline grow",
22885
+ typography: "body",
22886
+ fontWeight: "medium",
22887
+ textTransform: "none",
22888
+ italic: false,
22889
+ colorToken,
22890
+ padding: "compact",
22891
+ paddingX: "compact",
22892
+ borderRadius: "none",
22893
+ effects: { hover: [{
22894
+ effectId: "nav-underline",
22895
+ options: {
22896
+ style: "grow",
22897
+ ...underlineColorToken ? { colorToken: underlineColorToken } : {}
22898
+ }
22899
+ }] }
22900
+ }, typography);
22901
+ }
22902
+ function themedHeaderShadow(theme) {
22903
+ switch (theme.shadow.elevation) {
22904
+ case "none": return;
22905
+ case "low": return { elevation: "sm" };
22906
+ case "medium": return { elevation: "md" };
22907
+ case "high": return { elevation: "lg" };
22908
+ default: return assertNever$21(theme.shadow.elevation, "Unhandled theme shadow elevation");
22909
+ }
22910
+ }
22911
+ var init_headerStyleCompilerPrimitives = __esmMin((() => {
22912
+ init_headerCtaVariants();
22913
+ init_headerLookTypes();
22914
+ init_types$9();
22915
+ }));
22916
+ var init_headerStyleCompiler = __esmMin((() => {
22917
+ init_headerCtaVariants();
22918
+ init_headerInteractionPalette();
22919
+ init_headerOpeningForeground();
22920
+ init_headerLayoutStyleCatalog();
22921
+ init_headerStyleCompilerPrimitives();
22922
+ init_types$9();
22923
+ }));
22924
+ //#endregion
22925
+ //#region ../theme-core/src/site-styles/headerLegacyLooks.ts
22926
+ function solidBrandHeader(theme) {
22927
+ const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
22928
+ return {
22929
+ ...baseHeader(theme),
22930
+ variant: "classic",
22931
+ positioning: "sticky",
22932
+ shrinkOnScroll: true,
22933
+ background: {
22934
+ type: "color",
22935
+ color: "primary"
22936
+ },
22937
+ textColor: "primaryForeground",
22938
+ navColor: "primaryForeground",
22939
+ navStyle: "underline-grow",
22940
+ navWeight: "bold",
22941
+ navLinkStyle: {
22942
+ typography: "body",
22943
+ fontWeight: "bold",
22944
+ textTransform: "uppercase",
22945
+ italic: false,
22946
+ colorToken: "primaryForeground",
22947
+ hoverColorToken: "secondary",
22948
+ textSize: "sm",
22949
+ letterSpacing: "wider",
22950
+ padding: "compact",
22951
+ paddingX: "compact",
22952
+ borderRadius: "none",
22953
+ effects: { hover: [{
22954
+ effectId: "text-color-change",
22955
+ options: { hoverColorToken: "secondary" }
22956
+ }, {
22957
+ effectId: "nav-underline",
22958
+ options: {
22959
+ style: "grow",
22960
+ colorToken: "secondary"
22961
+ }
22962
+ }] }
22963
+ },
22964
+ dropdownStyle: {
22965
+ background: "primary-700",
22966
+ textColor: "primaryForeground",
22967
+ borderColor: null,
22968
+ shadow: "md",
22969
+ borderRadius: "md",
22970
+ hoverBackground: "primary-900",
22971
+ hoverTextColor: "secondary",
22972
+ textTransform: "uppercase",
22973
+ letterSpacing: "wider",
22974
+ fontWeight: "bold",
22975
+ textSize: "sm"
22976
+ },
22977
+ border: {
22978
+ style: "solid",
22979
+ width: "none",
22980
+ position: "none"
22981
+ },
22982
+ logoText: {
22983
+ hideOnShrink: true,
22984
+ mobileMaxWidth: "sm",
22985
+ mobileWrapLines: 2
22986
+ },
22987
+ ctaGap: "compact",
22988
+ ctaTreatment: "inverted",
22989
+ ...ctaVariant ? { ctaVariant } : {}
22990
+ };
22991
+ }
22992
+ function cleanBaseHeader(theme) {
22993
+ return {
22994
+ ...baseHeader(theme),
22995
+ variant: "classic",
22996
+ positioning: "sticky",
22997
+ shrinkOnScroll: false,
22998
+ background: {
22999
+ type: "color",
23000
+ color: "surface"
23001
+ },
23002
+ textColor: "text",
23003
+ navColor: "text",
23004
+ navStyle: "minimal",
23005
+ navWeight: "medium",
23006
+ border: {
23007
+ style: "solid",
23008
+ width: "thin",
23009
+ position: "bottom",
23010
+ colorToken: "border"
23122
23011
  },
23123
- {
23124
- lookId: asHeaderLookId("brand-solid"),
23125
- selection: {
23126
- layoutId: asHeaderLayoutId("classic"),
23127
- styleId: asHeaderStyleId("brand-bar")
23128
- }
23012
+ ctaTreatment: "default",
23013
+ ctaGap: "default"
23014
+ };
23015
+ }
23016
+ function classicCenteredNavHeader(theme) {
23017
+ return {
23018
+ ...baseHeader(theme),
23019
+ variant: "classic",
23020
+ navPlacement: "center",
23021
+ positioning: "sticky",
23022
+ shrinkOnScroll: false,
23023
+ background: {
23024
+ type: "color",
23025
+ color: "surface"
23129
23026
  },
23130
- {
23131
- lookId: asHeaderLookId("serif-line"),
23132
- selection: {
23133
- layoutId: asHeaderLayoutId("centered"),
23134
- styleId: asHeaderStyleId("serif-line")
23135
- }
23027
+ textColor: "text",
23028
+ navColor: "text",
23029
+ navStyle: "underline-grow",
23030
+ navWeight: "medium",
23031
+ navLinkStyle: underlineNavLinkStyle("text", "accent"),
23032
+ border: {
23033
+ style: "solid",
23034
+ width: "thin",
23035
+ position: "bottom",
23036
+ colorToken: "border"
23136
23037
  },
23137
- {
23138
- lookId: asHeaderLookId("centered-calm"),
23139
- selection: {
23140
- layoutId: asHeaderLayoutId("centered"),
23141
- styleId: asHeaderStyleId("minimal")
23142
- }
23038
+ ctaTreatment: "primary",
23039
+ ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
23040
+ ctaGap: "default",
23041
+ logoText: {
23042
+ mobileMaxWidth: "sm",
23043
+ mobileWrapLines: 1,
23044
+ hideOnShrink: false
23045
+ }
23046
+ };
23047
+ }
23048
+ function serifLineHeader(theme) {
23049
+ return {
23050
+ ...baseHeader(theme),
23051
+ variant: "centered",
23052
+ positioning: "sticky",
23053
+ shrinkOnScroll: false,
23054
+ background: {
23055
+ type: "color",
23056
+ color: "background"
23143
23057
  },
23144
- {
23145
- lookId: asHeaderLookId("practical-utility"),
23146
- selection: {
23147
- layoutId: asHeaderLayoutId("classic"),
23148
- styleId: asHeaderStyleId("flat-tabs")
23149
- }
23058
+ textColor: "text",
23059
+ navColor: "text",
23060
+ navStyle: "underline-grow",
23061
+ navWeight: "medium",
23062
+ logo: {
23063
+ fontFamily: "heading",
23064
+ letterSpacing: "wide",
23065
+ gradient: false
23150
23066
  },
23151
- {
23152
- lookId: asHeaderLookId("minimal-transparent"),
23153
- selection: {
23154
- layoutId: asHeaderLayoutId("classic"),
23155
- styleId: asHeaderStyleId("minimal")
23156
- }
23067
+ border: {
23068
+ style: "solid",
23069
+ width: "none",
23070
+ position: "none"
23157
23071
  },
23158
- {
23159
- lookId: asHeaderLookId("transparent-overlay"),
23160
- selection: {
23161
- layoutId: asHeaderLayoutId("floating"),
23162
- styleId: asHeaderStyleId("glass")
23163
- }
23072
+ shadow: { elevation: "none" },
23073
+ ctaTreatment: "outline",
23074
+ ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
23075
+ ctaGap: "relaxed"
23076
+ };
23077
+ }
23078
+ function centeredCalmHeader(theme) {
23079
+ return {
23080
+ ...baseHeader(theme),
23081
+ variant: "centered",
23082
+ positioning: "static",
23083
+ shrinkOnScroll: false,
23084
+ background: {
23085
+ type: "color",
23086
+ color: "surface"
23164
23087
  },
23165
- {
23166
- lookId: asHeaderLookId("floating-glass"),
23167
- selection: {
23168
- layoutId: asHeaderLayoutId("floating"),
23169
- styleId: asHeaderStyleId("glass")
23170
- }
23088
+ textColor: "text",
23089
+ navColor: "text",
23090
+ navStyle: "minimal",
23091
+ navWeight: "medium",
23092
+ ctaTreatment: "ghost",
23093
+ ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
23094
+ ctaGap: "none"
23095
+ };
23096
+ }
23097
+ function practicalUtilityHeader(theme) {
23098
+ return {
23099
+ ...baseHeader(theme),
23100
+ variant: "classic",
23101
+ positioning: "sticky",
23102
+ shrinkOnScroll: true,
23103
+ background: {
23104
+ type: "color",
23105
+ color: "surface"
23106
+ },
23107
+ textColor: "text",
23108
+ navColor: "text",
23109
+ navStyle: "solid",
23110
+ navWeight: "semibold",
23111
+ shadow: themedHeaderShadow(theme),
23112
+ border: {
23113
+ style: "solid",
23114
+ width: "thin",
23115
+ position: "bottom",
23116
+ colorToken: "border"
23117
+ },
23118
+ ctaTreatment: "primary",
23119
+ ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
23120
+ ctaGap: "compact",
23121
+ logoText: {
23122
+ mobileMaxWidth: "sm",
23123
+ mobileWrapLines: 1,
23124
+ hideOnShrink: false
23171
23125
  }
23172
- ]);
23173
- legacyHeaderLookAliasesById = new Map(legacyHeaderLookAliases.map((alias) => [alias.lookId, alias]));
23126
+ };
23127
+ }
23128
+ function minimalTransparentHeader(theme) {
23129
+ return {
23130
+ ...baseHeader(theme),
23131
+ variant: "classic",
23132
+ positioning: "static",
23133
+ shrinkOnScroll: false,
23134
+ background: {
23135
+ type: "color",
23136
+ color: "transparent"
23137
+ },
23138
+ textColor: "text",
23139
+ navColor: "text",
23140
+ navStyle: "underline",
23141
+ navWeight: "medium",
23142
+ border: {
23143
+ style: "solid",
23144
+ width: "none",
23145
+ position: "none"
23146
+ },
23147
+ ctaTreatment: "outline",
23148
+ ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
23149
+ ctaGap: "default"
23150
+ };
23151
+ }
23152
+ function transparentOverlayHeader(theme) {
23153
+ return {
23154
+ ...baseHeader(theme),
23155
+ variant: "transparent",
23156
+ positioning: "fixed",
23157
+ shrinkOnScroll: true,
23158
+ background: {
23159
+ type: "color",
23160
+ color: "transparent"
23161
+ },
23162
+ textColor: "background",
23163
+ navColor: "background",
23164
+ navStyle: "frosted",
23165
+ navWeight: "semibold",
23166
+ border: {
23167
+ style: "solid",
23168
+ width: "none",
23169
+ position: "none"
23170
+ },
23171
+ ctaTreatment: "inverted",
23172
+ ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
23173
+ ctaGap: "compact"
23174
+ };
23175
+ }
23176
+ function floatingGlassHeader(theme) {
23177
+ return {
23178
+ ...transparentOverlayHeader(theme),
23179
+ variant: "floating",
23180
+ positioning: "sticky",
23181
+ navStyle: "frosted",
23182
+ navContainer: {
23183
+ type: "glass",
23184
+ tint: "text",
23185
+ opacity: .16
23186
+ },
23187
+ container: {
23188
+ rounded: "2xl",
23189
+ border: true,
23190
+ shadow: true,
23191
+ padding: "sm",
23192
+ tint: "background",
23193
+ opacity: .12
23194
+ }
23195
+ };
23196
+ }
23197
+ var headerLookCatalog;
23198
+ var init_headerLegacyLooks = __esmMin((() => {
23199
+ init_headerCtaVariants();
23200
+ init_headerLookBranding();
23201
+ init_headerLookTypes();
23202
+ init_headerStyleCompilerPrimitives();
23203
+ init_types$9();
23174
23204
  headerLookCatalog = defineExactCatalog()([
23175
23205
  {
23176
23206
  id: asHeaderLookId("clean-base"),
@@ -23244,6 +23274,22 @@ var init_headerLooks = __esmMin((() => {
23244
23274
  ]);
23245
23275
  new Map(headerLookCatalog.map((look) => [look.id, look]));
23246
23276
  }));
23277
+ var init_headerLookSelection = __esmMin((() => {
23278
+ init_customizableSurfaces();
23279
+ init_headerLookBranding();
23280
+ init_headerLookTypes();
23281
+ init_headerLegacyLooks();
23282
+ }));
23283
+ //#endregion
23284
+ //#region ../theme-core/src/site-styles/headerLooks.ts
23285
+ var init_headerLooks = __esmMin((() => {
23286
+ init_headerLookTypes();
23287
+ init_headerLookBranding();
23288
+ init_headerLayoutStyleCatalog();
23289
+ init_headerStyleCompiler();
23290
+ init_headerLegacyLooks();
23291
+ init_headerLookSelection();
23292
+ }));
23247
23293
  var init_compilationPlan = __esmMin((() => {
23248
23294
  init_headerLooks();
23249
23295
  }));