@riverbankcms/sdk 0.129.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 (260) hide show
  1. package/README.md +19 -256
  2. package/dist/{PreviewEditorSidebar-B43CJ0g_.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
  3. package/dist/{PreviewEditorUI-DHirVkeM.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
  4. package/dist/{SdkPreviewModeRuntime-BJumZy1B.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +3 -3
  5. package/dist/{SiteChromeCustomizeContext-D9SlpwEj.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +460 -393
  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/media-core/src/index.d.ts +1 -0
  15. package/dist/_dts/sdk/src/config/types.d.ts +4 -4
  16. package/dist/_dts/sdk/src/version.d.ts +1 -1
  17. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  18. package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
  19. package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
  20. package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
  21. package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
  22. package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
  23. package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
  24. package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
  25. package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
  26. package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
  27. package/dist/client/client.mjs +492 -426
  28. package/dist/client/hooks.mjs +59 -36
  29. package/dist/client/rendering/client.mjs +593 -547
  30. package/dist/client/rendering.mjs +491 -425
  31. package/dist/preview-next/client/runtime.mjs +3 -3
  32. package/dist/{sdk-runtime-CfZd5pAm.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
  33. package/dist/{separator-DkTe68HE.mjs → separator-BE3NCquy.mjs} +1 -1
  34. package/dist/server/components.mjs +72 -49
  35. package/dist/server/config-validation.mjs +59 -36
  36. package/dist/server/config.mjs +59 -36
  37. package/dist/server/data.mjs +59 -36
  38. package/dist/server/index.mjs +1 -1
  39. package/dist/server/manifest.mjs +4966 -0
  40. package/dist/server/next.mjs +73 -50
  41. package/dist/server/page-converter.mjs +40 -36
  42. package/dist/server/prebuild.mjs +1 -1
  43. package/dist/server/rendering/server.mjs +72 -49
  44. package/dist/server/rendering.mjs +72 -49
  45. package/dist/server/routing.mjs +472 -402
  46. package/dist/server/server.mjs +60 -37
  47. package/dist/server/theme-bridge.mjs +70 -66
  48. package/package.json +9 -12
  49. package/dist/_dts/api/src/event-presentation.d.ts +0 -14
  50. package/dist/_dts/blocks/src/definitions.d.ts +0 -14
  51. package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
  52. package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
  53. package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
  54. package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
  55. package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
  56. package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
  57. package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
  58. package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
  59. package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
  60. package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
  61. package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
  62. package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
  63. package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
  64. package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
  65. package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
  66. package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
  67. package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
  68. package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
  69. package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
  70. package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
  71. package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
  72. package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
  73. package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
  74. package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
  75. package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
  76. package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
  77. package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
  78. package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
  79. package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
  80. package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
  81. package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
  82. package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
  83. package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
  84. package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
  85. package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
  86. package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
  87. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
  88. package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
  89. package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
  90. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
  91. package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
  92. package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
  93. package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
  94. package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
  95. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
  96. package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
  97. package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
  98. package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
  99. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
  100. package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
  101. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
  102. package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
  103. package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
  104. package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
  105. package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
  106. package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
  107. package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
  108. package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
  109. package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
  110. package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
  111. package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
  112. package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
  113. package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
  114. package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
  115. package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
  116. package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
  117. package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
  118. package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
  119. package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
  120. package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
  121. package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
  122. package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
  123. package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
  124. package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
  125. package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
  126. package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
  127. package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
  128. package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
  129. package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
  130. package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
  131. package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
  132. package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
  133. package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
  134. package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
  135. package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
  136. package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
  137. package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
  138. package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
  139. package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
  140. package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
  141. package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
  142. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
  143. package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
  144. package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
  145. package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
  146. package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
  147. package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
  148. package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
  149. package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
  150. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
  151. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
  152. package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
  153. package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
  154. package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
  155. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
  156. package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
  157. package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
  158. package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
  159. package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
  160. package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
  161. package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
  162. package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
  163. package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
  164. package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
  165. package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
  166. package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
  167. package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
  168. package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
  169. package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
  170. package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
  171. package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
  172. package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
  173. package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
  174. package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
  175. package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
  176. package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
  177. package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
  178. package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
  179. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
  180. package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
  181. package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
  182. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
  183. package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
  184. package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
  185. package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
  186. package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
  187. package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
  188. package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
  189. package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
  190. package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
  191. package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
  192. package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
  193. package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
  194. package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
  195. package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
  196. package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
  197. package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
  198. package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
  199. package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
  200. package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
  201. package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
  202. package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
  203. package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
  204. package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
  205. package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
  206. package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
  207. package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
  208. package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
  209. package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
  210. package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
  211. package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
  212. package/dist/_dts/sdk/src/test/env.d.ts +0 -4
  213. package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
  214. package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
  215. package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
  216. package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
  217. package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
  218. package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
  219. package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
  220. package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
  221. package/dist/_dts/site-commands/src/domain.d.ts +0 -104
  222. package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
  223. package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
  224. package/dist/_dts/site-commands/src/guards.d.ts +0 -1
  225. package/dist/_dts/site-commands/src/index.d.ts +0 -18
  226. package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
  227. package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
  228. package/dist/_dts/site-commands/src/planner.d.ts +0 -58
  229. package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
  230. package/dist/_dts/site-commands/src/refs.d.ts +0 -90
  231. package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
  232. package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
  233. package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
  234. package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
  235. package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
  236. package/dist/_dts/theme-core/src/data.d.ts +0 -12
  237. package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
  238. package/dist/cli/index.mjs +0 -162988
  239. package/dist/cli/init-docs/content/agents-section.md +0 -67
  240. package/dist/cli/init-docs/content/cli-reference.md +0 -1238
  241. package/dist/cli/init-docs/content/content-management.md +0 -792
  242. package/dist/cli/init-docs/content/context-brand.md +0 -125
  243. package/dist/cli/init-docs/content/context-brief.md +0 -77
  244. package/dist/cli/init-docs/content/context-knowledge.md +0 -111
  245. package/dist/cli/init-docs/content/getting-started.md +0 -171
  246. package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
  247. package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
  248. package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
  249. package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
  250. package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
  251. package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
  252. package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
  253. package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
  254. package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
  255. package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
  256. package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -252
  257. package/dist/cli/init-docs/content/workflow-publish.md +0 -285
  258. package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
  259. package/dist/cli/init-docs/content/workflow-templates.md +0 -381
  260. /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
@@ -5549,6 +5549,7 @@ var init_palette = __esmMin((() => {
5549
5549
  init_suggestRecipes();
5550
5550
  init_allRecipes();
5551
5551
  init_curated();
5552
+ init_curated();
5552
5553
  }));
5553
5554
  //#endregion
5554
5555
  //#region ../theme-core/src/styles/gradients.ts
@@ -7826,6 +7827,7 @@ var init_buttons = __esmMin((() => {
7826
7827
  init_constants$1();
7827
7828
  init_presets$3();
7828
7829
  init_styles();
7830
+ init_styles();
7829
7831
  }));
7830
7832
  //#endregion
7831
7833
  //#region ../theme-core/src/cards/types.ts
@@ -10782,41 +10784,10 @@ var init_backgroundAppearance = __esmMin((() => {
10782
10784
  //#region ../theme-core/src/site-styles/compositionBudget.ts
10783
10785
  var init_compositionBudget = __esmMin((() => {}));
10784
10786
  //#endregion
10785
- //#region ../theme-core/src/site-styles/headerInteractionPalette.ts
10786
- var clearSplitInteractionPalette;
10787
- var init_headerInteractionPalette = __esmMin((() => {
10788
- init_interactionPalette();
10789
- init_lookOptionGroups();
10790
- clearSplitInteractionPalette = defineLookOptionGroup({
10791
- id: "interaction-palette",
10792
- label: "Hover colour",
10793
- defaultOptionId: "accent",
10794
- options: [
10795
- {
10796
- id: "accent",
10797
- label: "Accent"
10798
- },
10799
- {
10800
- id: "primary",
10801
- label: "Primary"
10802
- },
10803
- {
10804
- id: "secondary",
10805
- label: "Secondary"
10806
- }
10807
- ]
10808
- });
10809
- }));
10810
- //#endregion
10811
- //#region ../theme-core/src/site-styles/headerOpeningForeground.ts
10812
- var init_headerOpeningForeground = __esmMin((() => {
10813
- init_tokens();
10814
- }));
10815
- //#endregion
10816
10787
  //#region ../theme-core/src/site-styles/customizableSurfaces.ts
10817
10788
  var init_customizableSurfaces = __esmMin((() => {}));
10818
10789
  //#endregion
10819
- //#region ../theme-core/src/site-styles/headerLooks.ts
10790
+ //#region ../theme-core/src/site-styles/headerLookTypes.ts
10820
10791
  function asHeaderLookId(value) {
10821
10792
  return value;
10822
10793
  }
@@ -10826,377 +10797,12 @@ function asHeaderLayoutId(value) {
10826
10797
  function asHeaderStyleId(value) {
10827
10798
  return value;
10828
10799
  }
10829
- /**
10830
- * Starts every Look from the generated theme's header branch, then clears
10831
- * optional nested styling fields that would otherwise leak from another Look.
10832
- */
10833
- function baseHeader(theme) {
10834
- 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;
10835
- return {
10836
- ...header,
10837
- navContainer: {
10838
- type: "none",
10839
- tint: null,
10840
- opacity: .15
10841
- }
10842
- };
10843
- }
10844
- function supportedLayouts(ids) {
10845
- return ids.map(asHeaderLayoutId);
10846
- }
10847
- function headerStyleRepairChain(values) {
10848
- return values.map(asHeaderStyleId);
10849
- }
10850
- function getHeaderStyle(id) {
10851
- return headerStylesById.get(id) ?? null;
10852
- }
10853
- function isHeaderStyleCompatibleWithLayout(style, layoutId) {
10854
- return style.supportedLayoutIds.includes(layoutId);
10855
- }
10856
- function getHeaderStyleOrThrow(id) {
10857
- const style = getHeaderStyle(id);
10858
- if (!style) throw new Error(`Unknown Theme V2 header style: ${id}`);
10859
- return style;
10860
- }
10861
- function resolveLegacyHeaderLookAlias(lookId) {
10862
- return legacyHeaderLookAliasesById.get(lookId)?.selection ?? null;
10863
- }
10864
- function getCompatibleHeaderStyleIds(layoutId) {
10865
- return (headerStyleCompatibilityOrder.get(layoutId) ?? []).filter((styleId) => {
10866
- return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
10867
- });
10868
- }
10869
- function applyNavTypography(style, typography) {
10870
- switch (typography) {
10871
- case "plain": return style;
10872
- case "heading": return {
10873
- ...style,
10874
- typography: "heading",
10875
- fontWeight: "medium",
10876
- letterSpacing: "wide"
10877
- };
10878
- case "quiet-caps": return {
10879
- ...style,
10880
- textTransform: "uppercase",
10881
- textSize: "sm",
10882
- letterSpacing: "wide"
10883
- };
10884
- case "brand-caps": return {
10885
- ...style,
10886
- textTransform: "uppercase",
10887
- textSize: "sm",
10888
- letterSpacing: "wider"
10889
- };
10890
- default: return assertNever$2(typography, "Unhandled header nav typography");
10891
- }
10892
- }
10893
- function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
10894
- return applyNavTypography({
10895
- name: "Underline grow",
10896
- typography: "body",
10897
- fontWeight: "medium",
10898
- textTransform: "none",
10899
- italic: false,
10900
- colorToken,
10901
- padding: "compact",
10902
- paddingX: "compact",
10903
- borderRadius: "none",
10904
- effects: { hover: [{
10905
- effectId: "nav-underline",
10906
- options: {
10907
- style: "grow",
10908
- ...underlineColorToken ? { colorToken: underlineColorToken } : {}
10909
- }
10910
- }] }
10911
- }, typography);
10912
- }
10913
- function themedHeaderShadow(theme) {
10914
- switch (theme.shadow.elevation) {
10915
- case "none": return;
10916
- case "low": return { elevation: "sm" };
10917
- case "medium": return { elevation: "md" };
10918
- case "high": return { elevation: "lg" };
10919
- default: return assertNever$2(theme.shadow.elevation, "Unhandled theme shadow elevation");
10920
- }
10921
- }
10922
- function solidBrandHeader(theme) {
10923
- const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
10924
- return {
10925
- ...baseHeader(theme),
10926
- variant: "classic",
10927
- positioning: "sticky",
10928
- shrinkOnScroll: true,
10929
- background: {
10930
- type: "color",
10931
- color: "primary"
10932
- },
10933
- textColor: "primaryForeground",
10934
- navColor: "primaryForeground",
10935
- navStyle: "underline-grow",
10936
- navWeight: "bold",
10937
- navLinkStyle: {
10938
- typography: "body",
10939
- fontWeight: "bold",
10940
- textTransform: "uppercase",
10941
- italic: false,
10942
- colorToken: "primaryForeground",
10943
- hoverColorToken: "secondary",
10944
- textSize: "sm",
10945
- letterSpacing: "wider",
10946
- padding: "compact",
10947
- paddingX: "compact",
10948
- borderRadius: "none",
10949
- effects: { hover: [{
10950
- effectId: "text-color-change",
10951
- options: { hoverColorToken: "secondary" }
10952
- }, {
10953
- effectId: "nav-underline",
10954
- options: {
10955
- style: "grow",
10956
- colorToken: "secondary"
10957
- }
10958
- }] }
10959
- },
10960
- dropdownStyle: {
10961
- background: "primary-700",
10962
- textColor: "primaryForeground",
10963
- borderColor: null,
10964
- shadow: "md",
10965
- borderRadius: "md",
10966
- hoverBackground: "primary-900",
10967
- hoverTextColor: "secondary",
10968
- textTransform: "uppercase",
10969
- letterSpacing: "wider",
10970
- fontWeight: "bold",
10971
- textSize: "sm"
10972
- },
10973
- border: {
10974
- style: "solid",
10975
- width: "none",
10976
- position: "none"
10977
- },
10978
- logoText: {
10979
- hideOnShrink: true,
10980
- mobileMaxWidth: "sm",
10981
- mobileWrapLines: 2
10982
- },
10983
- ctaGap: "compact",
10984
- ctaTreatment: "inverted",
10985
- ...ctaVariant ? { ctaVariant } : {}
10986
- };
10987
- }
10988
- function cleanBaseHeader(theme) {
10989
- return {
10990
- ...baseHeader(theme),
10991
- variant: "classic",
10992
- positioning: "sticky",
10993
- shrinkOnScroll: false,
10994
- background: {
10995
- type: "color",
10996
- color: "surface"
10997
- },
10998
- textColor: "text",
10999
- navColor: "text",
11000
- navStyle: "minimal",
11001
- navWeight: "medium",
11002
- border: {
11003
- style: "solid",
11004
- width: "thin",
11005
- position: "bottom",
11006
- colorToken: "border"
11007
- },
11008
- ctaTreatment: "default",
11009
- ctaGap: "default"
11010
- };
11011
- }
11012
- function classicCenteredNavHeader(theme) {
11013
- return {
11014
- ...baseHeader(theme),
11015
- variant: "classic",
11016
- navPlacement: "center",
11017
- positioning: "sticky",
11018
- shrinkOnScroll: false,
11019
- background: {
11020
- type: "color",
11021
- color: "surface"
11022
- },
11023
- textColor: "text",
11024
- navColor: "text",
11025
- navStyle: "underline-grow",
11026
- navWeight: "medium",
11027
- navLinkStyle: underlineNavLinkStyle("text", "accent"),
11028
- border: {
11029
- style: "solid",
11030
- width: "thin",
11031
- position: "bottom",
11032
- colorToken: "border"
11033
- },
11034
- ctaTreatment: "primary",
11035
- ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
11036
- ctaGap: "default",
11037
- logoText: {
11038
- mobileMaxWidth: "sm",
11039
- mobileWrapLines: 1,
11040
- hideOnShrink: false
11041
- }
11042
- };
11043
- }
11044
- function serifLineHeader(theme) {
11045
- return {
11046
- ...baseHeader(theme),
11047
- variant: "centered",
11048
- positioning: "sticky",
11049
- shrinkOnScroll: false,
11050
- background: {
11051
- type: "color",
11052
- color: "background"
11053
- },
11054
- textColor: "text",
11055
- navColor: "text",
11056
- navStyle: "underline-grow",
11057
- navWeight: "medium",
11058
- logo: {
11059
- fontFamily: "heading",
11060
- letterSpacing: "wide",
11061
- gradient: false
11062
- },
11063
- border: {
11064
- style: "solid",
11065
- width: "none",
11066
- position: "none"
11067
- },
11068
- shadow: { elevation: "none" },
11069
- ctaTreatment: "outline",
11070
- ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
11071
- ctaGap: "relaxed"
11072
- };
11073
- }
11074
- function centeredCalmHeader(theme) {
11075
- return {
11076
- ...baseHeader(theme),
11077
- variant: "centered",
11078
- positioning: "static",
11079
- shrinkOnScroll: false,
11080
- background: {
11081
- type: "color",
11082
- color: "surface"
11083
- },
11084
- textColor: "text",
11085
- navColor: "text",
11086
- navStyle: "minimal",
11087
- navWeight: "medium",
11088
- ctaTreatment: "ghost",
11089
- ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
11090
- ctaGap: "none"
11091
- };
11092
- }
11093
- function practicalUtilityHeader(theme) {
11094
- return {
11095
- ...baseHeader(theme),
11096
- variant: "classic",
11097
- positioning: "sticky",
11098
- shrinkOnScroll: true,
11099
- background: {
11100
- type: "color",
11101
- color: "surface"
11102
- },
11103
- textColor: "text",
11104
- navColor: "text",
11105
- navStyle: "solid",
11106
- navWeight: "semibold",
11107
- shadow: themedHeaderShadow(theme),
11108
- border: {
11109
- style: "solid",
11110
- width: "thin",
11111
- position: "bottom",
11112
- colorToken: "border"
11113
- },
11114
- ctaTreatment: "primary",
11115
- ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
11116
- ctaGap: "compact",
11117
- logoText: {
11118
- mobileMaxWidth: "sm",
11119
- mobileWrapLines: 1,
11120
- hideOnShrink: false
11121
- }
11122
- };
11123
- }
11124
- function minimalTransparentHeader(theme) {
11125
- return {
11126
- ...baseHeader(theme),
11127
- variant: "classic",
11128
- positioning: "static",
11129
- shrinkOnScroll: false,
11130
- background: {
11131
- type: "color",
11132
- color: "transparent"
11133
- },
11134
- textColor: "text",
11135
- navColor: "text",
11136
- navStyle: "underline",
11137
- navWeight: "medium",
11138
- border: {
11139
- style: "solid",
11140
- width: "none",
11141
- position: "none"
11142
- },
11143
- ctaTreatment: "outline",
11144
- ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
11145
- ctaGap: "default"
11146
- };
11147
- }
11148
- function transparentOverlayHeader(theme) {
11149
- return {
11150
- ...baseHeader(theme),
11151
- variant: "transparent",
11152
- positioning: "fixed",
11153
- shrinkOnScroll: true,
11154
- background: {
11155
- type: "color",
11156
- color: "transparent"
11157
- },
11158
- textColor: "background",
11159
- navColor: "background",
11160
- navStyle: "frosted",
11161
- navWeight: "semibold",
11162
- border: {
11163
- style: "solid",
11164
- width: "none",
11165
- position: "none"
11166
- },
11167
- ctaTreatment: "inverted",
11168
- ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
11169
- ctaGap: "compact"
11170
- };
11171
- }
11172
- function floatingGlassHeader(theme) {
11173
- return {
11174
- ...transparentOverlayHeader(theme),
11175
- variant: "floating",
11176
- positioning: "sticky",
11177
- navStyle: "frosted",
11178
- navContainer: {
11179
- type: "glass",
11180
- tint: "text",
11181
- opacity: .16
11182
- },
11183
- container: {
11184
- rounded: "2xl",
11185
- border: true,
11186
- shadow: true,
11187
- padding: "sm",
11188
- tint: "background",
11189
- opacity: .12
11190
- }
11191
- };
11192
- }
11193
- var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations, headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById, headerLookCatalog;
11194
- var init_headerLooks = __esmMin((() => {
11195
- init_headerCtaVariants();
11196
- init_headerInteractionPalette();
11197
- init_headerOpeningForeground();
10800
+ var init_headerLookTypes = __esmMin((() => {}));
10801
+ //#endregion
10802
+ //#region ../theme-core/src/site-styles/headerLookBranding.ts
10803
+ var titleOnlyLogoAccommodation, inlineWordmarkLogoAccommodation, inlineMarkWithTitleLogoAccommodation, logoPlateAccommodation, centeredBadgeAccommodation, popoutBadgeAccommodation, centeredMastheadAccommodation, unbackedOverlayLogoAccommodation, inlineClassicLogoAccommodations, centeredLogoAccommodations, overlayLogoAccommodations;
10804
+ var init_headerLookBranding = __esmMin((() => {
11198
10805
  init_logoBranding();
11199
- init_types$7();
11200
10806
  titleOnlyLogoAccommodation = {
11201
10807
  pattern: "title-only",
11202
10808
  supportedShapes: [
@@ -11315,6 +10921,65 @@ var init_headerLooks = __esmMin((() => {
11315
10921
  inlineMarkWithTitleLogoAccommodation,
11316
10922
  unbackedOverlayLogoAccommodation
11317
10923
  ];
10924
+ }));
10925
+ //#endregion
10926
+ //#region ../theme-core/src/site-styles/headerInteractionPalette.ts
10927
+ var clearSplitInteractionPalette;
10928
+ var init_headerInteractionPalette = __esmMin((() => {
10929
+ init_interactionPalette();
10930
+ init_lookOptionGroups();
10931
+ clearSplitInteractionPalette = defineLookOptionGroup({
10932
+ id: "interaction-palette",
10933
+ label: "Hover colour",
10934
+ defaultOptionId: "accent",
10935
+ options: [
10936
+ {
10937
+ id: "accent",
10938
+ label: "Accent"
10939
+ },
10940
+ {
10941
+ id: "primary",
10942
+ label: "Primary"
10943
+ },
10944
+ {
10945
+ id: "secondary",
10946
+ label: "Secondary"
10947
+ }
10948
+ ]
10949
+ });
10950
+ }));
10951
+ //#endregion
10952
+ //#region ../theme-core/src/site-styles/headerLayoutStyleCatalog.ts
10953
+ function supportedLayouts(ids) {
10954
+ return ids.map(asHeaderLayoutId);
10955
+ }
10956
+ function headerStyleRepairChain(values) {
10957
+ return values.map(asHeaderStyleId);
10958
+ }
10959
+ function getHeaderStyle(id) {
10960
+ return headerStylesById.get(id) ?? null;
10961
+ }
10962
+ function isHeaderStyleCompatibleWithLayout(style, layoutId) {
10963
+ return style.supportedLayoutIds.includes(layoutId);
10964
+ }
10965
+ function getHeaderStyleOrThrow(id) {
10966
+ const style = getHeaderStyle(id);
10967
+ if (!style) throw new Error(`Unknown Theme V2 header style: ${id}`);
10968
+ return style;
10969
+ }
10970
+ function resolveLegacyHeaderLookAlias(lookId) {
10971
+ return legacyHeaderLookAliasesById.get(lookId)?.selection ?? null;
10972
+ }
10973
+ function getCompatibleHeaderStyleIds(layoutId) {
10974
+ return (headerStyleCompatibilityOrder.get(layoutId) ?? []).filter((styleId) => {
10975
+ return isHeaderStyleCompatibleWithLayout(getHeaderStyleOrThrow(styleId), layoutId);
10976
+ });
10977
+ }
10978
+ var headerLayoutCatalog, headerStyleCatalog, headerStylesById, headerStyleCompatibilityOrder, legacyHeaderLookAliases, legacyHeaderLookAliasesById;
10979
+ var init_headerLayoutStyleCatalog = __esmMin((() => {
10980
+ init_types$7();
10981
+ init_headerInteractionPalette();
10982
+ init_headerLookTypes();
11318
10983
  headerLayoutCatalog = defineExactCatalog()([
11319
10984
  {
11320
10985
  id: asHeaderLayoutId("classic"),
@@ -11694,6 +11359,368 @@ var init_headerLooks = __esmMin((() => {
11694
11359
  }
11695
11360
  ]);
11696
11361
  legacyHeaderLookAliasesById = new Map(legacyHeaderLookAliases.map((alias) => [alias.lookId, alias]));
11362
+ }));
11363
+ //#endregion
11364
+ //#region ../theme-core/src/site-styles/headerOpeningForeground.ts
11365
+ var init_headerOpeningForeground = __esmMin((() => {
11366
+ init_tokens();
11367
+ }));
11368
+ //#endregion
11369
+ //#region ../theme-core/src/site-styles/headerStyleCompilerPrimitives.ts
11370
+ function baseHeader(theme) {
11371
+ 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;
11372
+ return {
11373
+ ...header,
11374
+ navContainer: {
11375
+ type: "none",
11376
+ tint: null,
11377
+ opacity: .15
11378
+ }
11379
+ };
11380
+ }
11381
+ function applyNavTypography(style, typography) {
11382
+ switch (typography) {
11383
+ case "plain": return style;
11384
+ case "heading": return {
11385
+ ...style,
11386
+ typography: "heading",
11387
+ fontWeight: "medium",
11388
+ letterSpacing: "wide"
11389
+ };
11390
+ case "quiet-caps": return {
11391
+ ...style,
11392
+ textTransform: "uppercase",
11393
+ textSize: "sm",
11394
+ letterSpacing: "wide"
11395
+ };
11396
+ case "brand-caps": return {
11397
+ ...style,
11398
+ textTransform: "uppercase",
11399
+ textSize: "sm",
11400
+ letterSpacing: "wider"
11401
+ };
11402
+ default: return assertNever$2(typography, "Unhandled header nav typography");
11403
+ }
11404
+ }
11405
+ function underlineNavLinkStyle(colorToken, underlineColorToken, typography = "plain") {
11406
+ return applyNavTypography({
11407
+ name: "Underline grow",
11408
+ typography: "body",
11409
+ fontWeight: "medium",
11410
+ textTransform: "none",
11411
+ italic: false,
11412
+ colorToken,
11413
+ padding: "compact",
11414
+ paddingX: "compact",
11415
+ borderRadius: "none",
11416
+ effects: { hover: [{
11417
+ effectId: "nav-underline",
11418
+ options: {
11419
+ style: "grow",
11420
+ ...underlineColorToken ? { colorToken: underlineColorToken } : {}
11421
+ }
11422
+ }] }
11423
+ }, typography);
11424
+ }
11425
+ function themedHeaderShadow(theme) {
11426
+ switch (theme.shadow.elevation) {
11427
+ case "none": return;
11428
+ case "low": return { elevation: "sm" };
11429
+ case "medium": return { elevation: "md" };
11430
+ case "high": return { elevation: "lg" };
11431
+ default: return assertNever$2(theme.shadow.elevation, "Unhandled theme shadow elevation");
11432
+ }
11433
+ }
11434
+ var init_headerStyleCompilerPrimitives = __esmMin((() => {
11435
+ init_types$7();
11436
+ }));
11437
+ //#endregion
11438
+ //#region ../theme-core/src/site-styles/headerStyleCompiler.ts
11439
+ var init_headerStyleCompiler = __esmMin((() => {
11440
+ init_headerInteractionPalette();
11441
+ init_headerOpeningForeground();
11442
+ init_headerLayoutStyleCatalog();
11443
+ }));
11444
+ //#endregion
11445
+ //#region ../theme-core/src/site-styles/headerLegacyLooks.ts
11446
+ function solidBrandHeader(theme) {
11447
+ const ctaVariant = resolveHeaderCtaVariant(theme, "inverted");
11448
+ return {
11449
+ ...baseHeader(theme),
11450
+ variant: "classic",
11451
+ positioning: "sticky",
11452
+ shrinkOnScroll: true,
11453
+ background: {
11454
+ type: "color",
11455
+ color: "primary"
11456
+ },
11457
+ textColor: "primaryForeground",
11458
+ navColor: "primaryForeground",
11459
+ navStyle: "underline-grow",
11460
+ navWeight: "bold",
11461
+ navLinkStyle: {
11462
+ typography: "body",
11463
+ fontWeight: "bold",
11464
+ textTransform: "uppercase",
11465
+ italic: false,
11466
+ colorToken: "primaryForeground",
11467
+ hoverColorToken: "secondary",
11468
+ textSize: "sm",
11469
+ letterSpacing: "wider",
11470
+ padding: "compact",
11471
+ paddingX: "compact",
11472
+ borderRadius: "none",
11473
+ effects: { hover: [{
11474
+ effectId: "text-color-change",
11475
+ options: { hoverColorToken: "secondary" }
11476
+ }, {
11477
+ effectId: "nav-underline",
11478
+ options: {
11479
+ style: "grow",
11480
+ colorToken: "secondary"
11481
+ }
11482
+ }] }
11483
+ },
11484
+ dropdownStyle: {
11485
+ background: "primary-700",
11486
+ textColor: "primaryForeground",
11487
+ borderColor: null,
11488
+ shadow: "md",
11489
+ borderRadius: "md",
11490
+ hoverBackground: "primary-900",
11491
+ hoverTextColor: "secondary",
11492
+ textTransform: "uppercase",
11493
+ letterSpacing: "wider",
11494
+ fontWeight: "bold",
11495
+ textSize: "sm"
11496
+ },
11497
+ border: {
11498
+ style: "solid",
11499
+ width: "none",
11500
+ position: "none"
11501
+ },
11502
+ logoText: {
11503
+ hideOnShrink: true,
11504
+ mobileMaxWidth: "sm",
11505
+ mobileWrapLines: 2
11506
+ },
11507
+ ctaGap: "compact",
11508
+ ctaTreatment: "inverted",
11509
+ ...ctaVariant ? { ctaVariant } : {}
11510
+ };
11511
+ }
11512
+ function cleanBaseHeader(theme) {
11513
+ return {
11514
+ ...baseHeader(theme),
11515
+ variant: "classic",
11516
+ positioning: "sticky",
11517
+ shrinkOnScroll: false,
11518
+ background: {
11519
+ type: "color",
11520
+ color: "surface"
11521
+ },
11522
+ textColor: "text",
11523
+ navColor: "text",
11524
+ navStyle: "minimal",
11525
+ navWeight: "medium",
11526
+ border: {
11527
+ style: "solid",
11528
+ width: "thin",
11529
+ position: "bottom",
11530
+ colorToken: "border"
11531
+ },
11532
+ ctaTreatment: "default",
11533
+ ctaGap: "default"
11534
+ };
11535
+ }
11536
+ function classicCenteredNavHeader(theme) {
11537
+ return {
11538
+ ...baseHeader(theme),
11539
+ variant: "classic",
11540
+ navPlacement: "center",
11541
+ positioning: "sticky",
11542
+ shrinkOnScroll: false,
11543
+ background: {
11544
+ type: "color",
11545
+ color: "surface"
11546
+ },
11547
+ textColor: "text",
11548
+ navColor: "text",
11549
+ navStyle: "underline-grow",
11550
+ navWeight: "medium",
11551
+ navLinkStyle: underlineNavLinkStyle("text", "accent"),
11552
+ border: {
11553
+ style: "solid",
11554
+ width: "thin",
11555
+ position: "bottom",
11556
+ colorToken: "border"
11557
+ },
11558
+ ctaTreatment: "primary",
11559
+ ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
11560
+ ctaGap: "default",
11561
+ logoText: {
11562
+ mobileMaxWidth: "sm",
11563
+ mobileWrapLines: 1,
11564
+ hideOnShrink: false
11565
+ }
11566
+ };
11567
+ }
11568
+ function serifLineHeader(theme) {
11569
+ return {
11570
+ ...baseHeader(theme),
11571
+ variant: "centered",
11572
+ positioning: "sticky",
11573
+ shrinkOnScroll: false,
11574
+ background: {
11575
+ type: "color",
11576
+ color: "background"
11577
+ },
11578
+ textColor: "text",
11579
+ navColor: "text",
11580
+ navStyle: "underline-grow",
11581
+ navWeight: "medium",
11582
+ logo: {
11583
+ fontFamily: "heading",
11584
+ letterSpacing: "wide",
11585
+ gradient: false
11586
+ },
11587
+ border: {
11588
+ style: "solid",
11589
+ width: "none",
11590
+ position: "none"
11591
+ },
11592
+ shadow: { elevation: "none" },
11593
+ ctaTreatment: "outline",
11594
+ ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
11595
+ ctaGap: "relaxed"
11596
+ };
11597
+ }
11598
+ function centeredCalmHeader(theme) {
11599
+ return {
11600
+ ...baseHeader(theme),
11601
+ variant: "centered",
11602
+ positioning: "static",
11603
+ shrinkOnScroll: false,
11604
+ background: {
11605
+ type: "color",
11606
+ color: "surface"
11607
+ },
11608
+ textColor: "text",
11609
+ navColor: "text",
11610
+ navStyle: "minimal",
11611
+ navWeight: "medium",
11612
+ ctaTreatment: "ghost",
11613
+ ctaVariant: resolveHeaderCtaVariant(theme, "ghost"),
11614
+ ctaGap: "none"
11615
+ };
11616
+ }
11617
+ function practicalUtilityHeader(theme) {
11618
+ return {
11619
+ ...baseHeader(theme),
11620
+ variant: "classic",
11621
+ positioning: "sticky",
11622
+ shrinkOnScroll: true,
11623
+ background: {
11624
+ type: "color",
11625
+ color: "surface"
11626
+ },
11627
+ textColor: "text",
11628
+ navColor: "text",
11629
+ navStyle: "solid",
11630
+ navWeight: "semibold",
11631
+ shadow: themedHeaderShadow(theme),
11632
+ border: {
11633
+ style: "solid",
11634
+ width: "thin",
11635
+ position: "bottom",
11636
+ colorToken: "border"
11637
+ },
11638
+ ctaTreatment: "primary",
11639
+ ctaVariant: resolveHeaderCtaVariant(theme, "primary"),
11640
+ ctaGap: "compact",
11641
+ logoText: {
11642
+ mobileMaxWidth: "sm",
11643
+ mobileWrapLines: 1,
11644
+ hideOnShrink: false
11645
+ }
11646
+ };
11647
+ }
11648
+ function minimalTransparentHeader(theme) {
11649
+ return {
11650
+ ...baseHeader(theme),
11651
+ variant: "classic",
11652
+ positioning: "static",
11653
+ shrinkOnScroll: false,
11654
+ background: {
11655
+ type: "color",
11656
+ color: "transparent"
11657
+ },
11658
+ textColor: "text",
11659
+ navColor: "text",
11660
+ navStyle: "underline",
11661
+ navWeight: "medium",
11662
+ border: {
11663
+ style: "solid",
11664
+ width: "none",
11665
+ position: "none"
11666
+ },
11667
+ ctaTreatment: "outline",
11668
+ ctaVariant: resolveHeaderCtaVariant(theme, "outline"),
11669
+ ctaGap: "default"
11670
+ };
11671
+ }
11672
+ function transparentOverlayHeader(theme) {
11673
+ return {
11674
+ ...baseHeader(theme),
11675
+ variant: "transparent",
11676
+ positioning: "fixed",
11677
+ shrinkOnScroll: true,
11678
+ background: {
11679
+ type: "color",
11680
+ color: "transparent"
11681
+ },
11682
+ textColor: "background",
11683
+ navColor: "background",
11684
+ navStyle: "frosted",
11685
+ navWeight: "semibold",
11686
+ border: {
11687
+ style: "solid",
11688
+ width: "none",
11689
+ position: "none"
11690
+ },
11691
+ ctaTreatment: "inverted",
11692
+ ctaVariant: resolveHeaderCtaVariant(theme, "inverted"),
11693
+ ctaGap: "compact"
11694
+ };
11695
+ }
11696
+ function floatingGlassHeader(theme) {
11697
+ return {
11698
+ ...transparentOverlayHeader(theme),
11699
+ variant: "floating",
11700
+ positioning: "sticky",
11701
+ navStyle: "frosted",
11702
+ navContainer: {
11703
+ type: "glass",
11704
+ tint: "text",
11705
+ opacity: .16
11706
+ },
11707
+ container: {
11708
+ rounded: "2xl",
11709
+ border: true,
11710
+ shadow: true,
11711
+ padding: "sm",
11712
+ tint: "background",
11713
+ opacity: .12
11714
+ }
11715
+ };
11716
+ }
11717
+ var headerLookCatalog;
11718
+ var init_headerLegacyLooks = __esmMin((() => {
11719
+ init_headerCtaVariants();
11720
+ init_headerLookBranding();
11721
+ init_headerLookTypes();
11722
+ init_headerStyleCompilerPrimitives();
11723
+ init_types$7();
11697
11724
  headerLookCatalog = defineExactCatalog()([
11698
11725
  {
11699
11726
  id: asHeaderLookId("clean-base"),
@@ -11768,6 +11795,22 @@ var init_headerLooks = __esmMin((() => {
11768
11795
  new Map(headerLookCatalog.map((look) => [look.id, look]));
11769
11796
  }));
11770
11797
  //#endregion
11798
+ //#region ../theme-core/src/site-styles/headerLookSelection.ts
11799
+ var init_headerLookSelection = __esmMin((() => {
11800
+ init_headerLookBranding();
11801
+ init_headerLegacyLooks();
11802
+ }));
11803
+ //#endregion
11804
+ //#region ../theme-core/src/site-styles/headerLooks.ts
11805
+ var init_headerLooks = __esmMin((() => {
11806
+ init_headerLookTypes();
11807
+ init_headerLookBranding();
11808
+ init_headerLayoutStyleCatalog();
11809
+ init_headerStyleCompiler();
11810
+ init_headerLegacyLooks();
11811
+ init_headerLookSelection();
11812
+ }));
11813
+ //#endregion
11771
11814
  //#region ../theme-core/src/site-styles/compilationPlan.ts
11772
11815
  var init_compilationPlan = __esmMin((() => {
11773
11816
  init_headerLooks();
@@ -16875,6 +16918,9 @@ var init_fileMimeDetection = __esmMin((() => {
16875
16918
  new TextDecoder("latin1");
16876
16919
  }));
16877
16920
  //#endregion
16921
+ //#region ../media-core/src/mimeType.ts
16922
+ var init_mimeType = __esmMin((() => {}));
16923
+ //#endregion
16878
16924
  //#region ../media-core/src/filename.ts
16879
16925
  var init_filename = __esmMin((() => {})), PRODUCT_FILE_EXTENSION_TAGS;
16880
16926
  var init_uploadVerificationContract = __esmMin((() => {
@@ -17067,6 +17113,7 @@ var init_src$3 = __esmMin((() => {
17067
17113
  init_fileAssetDeletion();
17068
17114
  init_fileAssetCompatibility();
17069
17115
  init_fileMimeDetection();
17116
+ init_mimeType();
17070
17117
  init_filename();
17071
17118
  init_uploadVerificationContract();
17072
17119
  init_videoPrep();
@@ -41889,6 +41936,28 @@ var init_contracts = __esmMin((() => {
41889
41936
  }).strict();
41890
41937
  }));
41891
41938
  //#endregion
41939
+ //#region ../api/src/sdkThemeWire.ts
41940
+ /**
41941
+ * Validate a wire value without replacing it with the schema's parsed output.
41942
+ * The returned type is deliberately the schema input, not its canonical output.
41943
+ */
41944
+ function losslessValidatedSchema(schema) {
41945
+ return z$1.unknown().superRefine((value, ctx) => {
41946
+ const parsed = schema.safeParse(value);
41947
+ if (parsed.success) return;
41948
+ for (const issue of parsed.error.issues) ctx.addIssue({
41949
+ code: "custom",
41950
+ path: issue.path,
41951
+ message: issue.message,
41952
+ params: { validationCode: issue.code }
41953
+ });
41954
+ }).transform((value) => value);
41955
+ }
41956
+ var init_sdkThemeWire = __esmMin((() => {
41957
+ init_schema$2();
41958
+ losslessValidatedSchema(themeSchema);
41959
+ }));
41960
+ //#endregion
41892
41961
  //#region ../api/src/publicExperience/sharedTypes.ts
41893
41962
  var init_sharedTypes = __esmMin((() => {}));
41894
41963
  //#endregion
@@ -42833,6 +42902,7 @@ var init_src = __esmMin((() => {
42833
42902
  init_contracts$1();
42834
42903
  init_src$4();
42835
42904
  init_contracts();
42905
+ init_sdkThemeWire();
42836
42906
  init_publicExperienceEndpoints();
42837
42907
  init_launchReadiness();
42838
42908
  init_url();