@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.
- package/README.md +19 -256
- package/dist/{PreviewEditorSidebar-B43CJ0g_.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
- package/dist/{PreviewEditorUI-DHirVkeM.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-BJumZy1B.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +3 -3
- package/dist/{SiteChromeCustomizeContext-D9SlpwEj.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +460 -393
- package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4897 -4897
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +3 -6
- package/dist/_dts/api/src/sdkContracts.d.ts +37 -50
- package/dist/_dts/api/src/sdkThemeWire.d.ts +2595 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +13 -29
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/config/types.d.ts +4 -4
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
- package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
- package/dist/client/client.mjs +492 -426
- package/dist/client/hooks.mjs +59 -36
- package/dist/client/rendering/client.mjs +593 -547
- package/dist/client/rendering.mjs +491 -425
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CfZd5pAm.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
- package/dist/{separator-DkTe68HE.mjs → separator-BE3NCquy.mjs} +1 -1
- package/dist/server/components.mjs +72 -49
- package/dist/server/config-validation.mjs +59 -36
- package/dist/server/config.mjs +59 -36
- package/dist/server/data.mjs +59 -36
- package/dist/server/index.mjs +1 -1
- package/dist/server/manifest.mjs +4966 -0
- package/dist/server/next.mjs +73 -50
- package/dist/server/page-converter.mjs +40 -36
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +72 -49
- package/dist/server/rendering.mjs +72 -49
- package/dist/server/routing.mjs +472 -402
- package/dist/server/server.mjs +60 -37
- package/dist/server/theme-bridge.mjs +70 -66
- package/package.json +9 -12
- package/dist/_dts/api/src/event-presentation.d.ts +0 -14
- package/dist/_dts/blocks/src/definitions.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
- package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
- package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
- package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
- package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
- package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
- package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
- package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
- package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
- package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
- package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
- package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
- package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
- package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
- package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
- package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
- package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
- package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
- package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
- package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
- package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
- package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
- package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
- package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
- package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
- package/dist/_dts/sdk/src/test/env.d.ts +0 -4
- package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
- package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
- package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
- package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
- package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
- package/dist/_dts/site-commands/src/domain.d.ts +0 -104
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
- package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
- package/dist/_dts/site-commands/src/guards.d.ts +0 -1
- package/dist/_dts/site-commands/src/index.d.ts +0 -18
- package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
- package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
- package/dist/_dts/site-commands/src/planner.d.ts +0 -58
- package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
- package/dist/_dts/site-commands/src/refs.d.ts +0 -90
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
- package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
- package/dist/_dts/theme-core/src/data.d.ts +0 -12
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
- package/dist/cli/index.mjs +0 -162988
- package/dist/cli/init-docs/content/agents-section.md +0 -67
- package/dist/cli/init-docs/content/cli-reference.md +0 -1238
- package/dist/cli/init-docs/content/content-management.md +0 -792
- package/dist/cli/init-docs/content/context-brand.md +0 -125
- package/dist/cli/init-docs/content/context-brief.md +0 -77
- package/dist/cli/init-docs/content/context-knowledge.md +0 -111
- package/dist/cli/init-docs/content/getting-started.md +0 -171
- package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
- package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
- package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
- package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
- package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
- package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
- package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
- package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -252
- package/dist/cli/init-docs/content/workflow-publish.md +0 -285
- package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
- package/dist/cli/init-docs/content/workflow-templates.md +0 -381
- /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { SiteCommandOf } from '../../site-commands/src/index';
|
|
1
|
+
import type { SiteCommandOf } from '@riverbankcms/site-commands';
|
|
3
2
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
4
3
|
import type { AdminCreateSiteRequest, AdminCreateSiteResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, AdminDeleteSiteResponse, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse } from './accessAdmin';
|
|
5
4
|
import type { ListCustomBlocksResponse, CreateCustomBlockRequest, CreateCustomBlockResponse, DeleteCustomBlockResponse, GetCustomBlockResponse, SdkWorkflowRunStatusCallbackRequest, SdkWorkflowRunStatusCallbackResponse, UpdateCustomBlockRequest, UpdateCustomBlockResponse } from './contentRuntime';
|
|
@@ -9,7 +8,8 @@ import type { CreateManagementKeyRequest, CreateManagementKeyResponse, CreateSit
|
|
|
9
8
|
import type { GetSiteInspirationAnalysisResponse, ListSiteInspirationAnalysesResponse } from './siteGeneration';
|
|
10
9
|
import type { ListGscPropertiesAdminResponse, AuthStatusResponse, CronAppointmentRemindersResponse, CronBillingStatusResponse, CronEventFeedbackEmailsResponse, CronEventOccurrencesResponse, CronEventRemindersResponse, CronMediaJobsQuery, CronMediaJobsResponse, CronNewsletterSendResponse, CronPaymentReconciliationResponse, CronSeoIngestResponse, CronWaitlistExpiryResponse } from './siteOperations';
|
|
11
10
|
import type { ApplySiteStyleSelectionBody, ApplySiteStyleSelectionResponse } from './siteRuntimeEndpoints';
|
|
12
|
-
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkAddEventOccurrenceRequest, SdkBackfillIdentifiersResult, SdkEventOccurrenceResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetPageBlockResponse, SdkPatchPageBlockBody, SdkPatchPageBlockResponse, SdkGetVenueResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventOccurrencesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkEntryUpsertSlotBlock, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkCatalogThemeResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCapabilitiesResponse, SdkDemoContentResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse, SdkPullFooterResponse, SdkPullFormSchema, SdkPullFormsResponse, SdkPullFormSettings, SdkPullDraftsResponse, SdkPullNavigationResponse, SdkPullPagesResponse, SdkPullSettings, SdkPullSettingsResponse, SdkPullSiteInfoResponse, SdkPullThemeResponse, SdkPullVenue, SdkPullVenuesResponse, SdkUpdateSettingsResponse, SdkUpdateEventOccurrenceRequest, SdkUpsertBlockResponse, SdkUpsertEntryResponse, SdkUpsertPageResponse, SdkUpsertEventCategoryResponse, SdkUpsertEventResponse, SdkUpsertFooterResponse, SdkUpsertFormResponse, SdkUpsertNavigationMenuResponse, SdkUpsertThemeResponse, SdkUpsertVenueResponse } from './sdkContracts';
|
|
11
|
+
import type { ManagementMediaAsset, MediaResolveResponse, PushSdkConfigRequest, PushSdkConfigResponse, SdkAddEventOccurrenceRequest, SdkBackfillIdentifiersResult, SdkEventOccurrenceResponse, SdkGetEntryResponse, SdkGetEventCategoryResponse, SdkGetEventResponse, SdkGetFormResponse, SdkGetPageBlockResponse, SdkPatchPageBlockBody, SdkPatchPageBlockResponse, SdkGetVenueResponse, SdkListEntriesResponse, SdkListEventCategoriesResponse, SdkListEventOccurrencesResponse, SdkListEventsResponse, SdkListFormsResponse, SdkListVenuesResponse, SdkMediaFinalizeUploadResponse, SdkMediaUploadUrlResponse, SdkPageResponse, SdkEntryUpsertSlotBlock, SdkPublishOrUnpublishEntryResponse, SdkPullContentTypesResponse, SdkCatalogThemeResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCapabilitiesResponse, SdkCommandApplicationResult, SdkDemoContentResponse, SdkDeleteResponse, SdkPullEntriesAllResponse, SdkPullEntriesByTypeResponse, SdkPullEntriesResponse, SdkPullEventCategoriesResponse, SdkPullEventsResponse, SdkPullFooterResponse, SdkPullFormSchema, SdkPullFormsResponse, SdkPullFormSettings, SdkPullDraftsResponse, SdkPullNavigationResponse, SdkPullPagesResponse, SdkPullSettings, SdkPullSettingsResponse, SdkPullSiteInfoResponse, SdkPullThemeResponse, SdkPullVenue, SdkPullVenuesResponse, SdkUpdateSettingsResponse, SdkUpdateEventOccurrenceRequest, SdkUpsertBlockResponse, SdkUpsertEntryResponse, SdkUpsertPageResponse, SdkUpsertEventCategoryResponse, SdkUpsertEventResponse, SdkUpsertFooterResponse, SdkUpsertFormResponse, SdkUpsertNavigationMenuResponse, SdkUpsertThemeResponse, SdkUpsertVenueResponse } from './sdkContracts';
|
|
12
|
+
import type { SdkThemeWire } from './sdkThemeWire';
|
|
13
13
|
import type { SdkEventUpsertBody } from './sdk-event-upsert';
|
|
14
14
|
import type { StripeConnectDisconnectResponse, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest } from './billing';
|
|
15
15
|
import type { NavigationLinkInput } from './navigation/types';
|
|
@@ -264,9 +264,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
264
264
|
sdkDeletePage: APIEndpoint<never, {
|
|
265
265
|
siteId: string;
|
|
266
266
|
identifier: string;
|
|
267
|
-
},
|
|
268
|
-
deleted: true;
|
|
269
|
-
}>;
|
|
267
|
+
}, SdkDeleteResponse>;
|
|
270
268
|
sdkUpsertPageBlock: APIEndpoint<{
|
|
271
269
|
identifier: string;
|
|
272
270
|
kind: string;
|
|
@@ -285,9 +283,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
285
283
|
siteId: string;
|
|
286
284
|
identifier: string;
|
|
287
285
|
blockIdentifier: string;
|
|
288
|
-
},
|
|
289
|
-
deleted: true;
|
|
290
|
-
}>;
|
|
286
|
+
}, SdkDeleteResponse>;
|
|
291
287
|
sdkGetPageBlock: APIEndpoint<never, {
|
|
292
288
|
siteId: string;
|
|
293
289
|
identifier: string;
|
|
@@ -319,12 +315,10 @@ export type SitePlatformAPIEndpoints = {
|
|
|
319
315
|
sdkDeleteNavigationMenu: APIEndpoint<never, {
|
|
320
316
|
siteId: string;
|
|
321
317
|
menuId: string;
|
|
322
|
-
},
|
|
323
|
-
deleted: true;
|
|
324
|
-
}>;
|
|
318
|
+
}, SdkDeleteResponse>;
|
|
325
319
|
sdkUpsertTheme: APIEndpoint<Readonly<{
|
|
326
320
|
kind: 'update';
|
|
327
|
-
theme:
|
|
321
|
+
theme: SdkThemeWire;
|
|
328
322
|
themeId?: string;
|
|
329
323
|
selectionId?: string;
|
|
330
324
|
}> | Readonly<{
|
|
@@ -336,7 +330,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
336
330
|
}, SdkUpsertThemeResponse>;
|
|
337
331
|
sdkApplySiteStyleSelection: APIEndpoint<ApplySiteStyleSelectionBody, {
|
|
338
332
|
siteId: string;
|
|
339
|
-
}, ApplySiteStyleSelectionResponse
|
|
333
|
+
}, SdkCommandApplicationResult<ApplySiteStyleSelectionResponse>>;
|
|
340
334
|
sdkUpsertFooter: APIEndpoint<{
|
|
341
335
|
composition: import('../../core/src/index').FooterCompositionV1;
|
|
342
336
|
baseRevision: number;
|
|
@@ -361,9 +355,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
361
355
|
sdkDeleteForm: APIEndpoint<never, {
|
|
362
356
|
siteId: string;
|
|
363
357
|
slug: string;
|
|
364
|
-
},
|
|
365
|
-
deleted: true;
|
|
366
|
-
}>;
|
|
358
|
+
}, SdkDeleteResponse>;
|
|
367
359
|
sdkListVenues: APIEndpoint<never, {
|
|
368
360
|
siteId: string;
|
|
369
361
|
}, SdkListVenuesResponse>;
|
|
@@ -386,9 +378,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
386
378
|
sdkDeleteVenue: APIEndpoint<never, {
|
|
387
379
|
siteId: string;
|
|
388
380
|
slug: string;
|
|
389
|
-
},
|
|
390
|
-
deleted: true;
|
|
391
|
-
}>;
|
|
381
|
+
}, SdkDeleteResponse>;
|
|
392
382
|
sdkListEventCategories: APIEndpoint<never, {
|
|
393
383
|
siteId: string;
|
|
394
384
|
}, SdkListEventCategoriesResponse>;
|
|
@@ -408,9 +398,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
408
398
|
sdkDeleteEventCategory: APIEndpoint<never, {
|
|
409
399
|
siteId: string;
|
|
410
400
|
identifier: string;
|
|
411
|
-
},
|
|
412
|
-
deleted: true;
|
|
413
|
-
}>;
|
|
401
|
+
}, SdkDeleteResponse>;
|
|
414
402
|
sdkListEvents: APIEndpoint<never, {
|
|
415
403
|
siteId: string;
|
|
416
404
|
}, SdkListEventsResponse>;
|
|
@@ -424,9 +412,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
424
412
|
sdkDeleteEvent: APIEndpoint<never, {
|
|
425
413
|
siteId: string;
|
|
426
414
|
identifier: string;
|
|
427
|
-
},
|
|
428
|
-
deleted: true;
|
|
429
|
-
}>;
|
|
415
|
+
}, SdkDeleteResponse>;
|
|
430
416
|
sdkListEventOccurrences: APIEndpoint<never, {
|
|
431
417
|
siteId: string;
|
|
432
418
|
identifier: string;
|
|
@@ -489,9 +475,7 @@ export type SitePlatformAPIEndpoints = {
|
|
|
489
475
|
siteId: string;
|
|
490
476
|
contentType: string;
|
|
491
477
|
identifier: string;
|
|
492
|
-
},
|
|
493
|
-
deleted: true;
|
|
494
|
-
}>;
|
|
478
|
+
}, SdkDeleteResponse>;
|
|
495
479
|
sdkPublishEntry: APIEndpoint<never, {
|
|
496
480
|
siteId: string;
|
|
497
481
|
contentType: string;
|
|
@@ -15,6 +15,7 @@ export * from './fileDownloadResolution';
|
|
|
15
15
|
export * from './fileAssetDeletion';
|
|
16
16
|
export * from './fileAssetCompatibility';
|
|
17
17
|
export * from './fileMimeDetection';
|
|
18
|
+
export * from './mimeType';
|
|
18
19
|
export * from './filename';
|
|
19
20
|
export * from './uploadVerificationContract';
|
|
20
21
|
export * from './videoPrep';
|
|
@@ -276,7 +276,7 @@ export type BlockFieldExtensionsMap = Record<string, BlockFieldExtension>;
|
|
|
276
276
|
/**
|
|
277
277
|
* Sync behavior configuration for CLI push operations.
|
|
278
278
|
*
|
|
279
|
-
* Controls how the
|
|
279
|
+
* Controls how the Riverbank CLI handles content synchronization.
|
|
280
280
|
* Status changes (draft/published) are synced based on local file status.
|
|
281
281
|
*/
|
|
282
282
|
export interface SyncConfig {
|
|
@@ -314,7 +314,7 @@ export interface DeployConfig {
|
|
|
314
314
|
* Top-level SDK site configuration.
|
|
315
315
|
*
|
|
316
316
|
* This is the complete configuration that SDK sites define in their
|
|
317
|
-
* `riverbank.config.ts` file and use it via the
|
|
317
|
+
* `riverbank.config.ts` file and use it via the Riverbank CLI.
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
320
|
* ```typescript
|
|
@@ -501,7 +501,7 @@ export interface RiverbankSiteConfig {
|
|
|
501
501
|
/**
|
|
502
502
|
* Sync behavior configuration for CLI push operations.
|
|
503
503
|
*
|
|
504
|
-
* Controls how the
|
|
504
|
+
* Controls how the Riverbank CLI handles content synchronization when
|
|
505
505
|
* pushing content from local files to the CMS.
|
|
506
506
|
* Status (draft/published) is synced based on local file status.
|
|
507
507
|
*
|
|
@@ -567,7 +567,7 @@ export interface RiverbankSiteConfig {
|
|
|
567
567
|
/**
|
|
568
568
|
* Dashboard configuration for CMS UI behavior.
|
|
569
569
|
*
|
|
570
|
-
* This is stored in `sites.sdk_config` and can be pushed via the
|
|
570
|
+
* This is stored in `sites.sdk_config` and can be pushed via the Riverbank CLI.
|
|
571
571
|
* It allows per-site customization of what the dashboard shows (navigation,
|
|
572
572
|
* experimental features, etc.).
|
|
573
573
|
*/
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import type { HeaderLayoutDefinition, HeaderLayoutId, HeaderLayoutStyleCuration, HeaderLayoutStyleResolution, HeaderLayoutStyleSelection, HeaderLookId, HeaderStyleDefinition, HeaderStyleId } from './headerLookTypes';
|
|
2
|
+
export declare const headerLayoutCatalog: readonly [{
|
|
3
|
+
readonly id: HeaderLayoutId;
|
|
4
|
+
readonly label: "Classic";
|
|
5
|
+
readonly description: "Logo and navigation in one practical horizontal row.";
|
|
6
|
+
readonly variant: "classic";
|
|
7
|
+
readonly defaultPositioning: "sticky";
|
|
8
|
+
readonly shrinkOnScroll: false;
|
|
9
|
+
}, {
|
|
10
|
+
readonly id: HeaderLayoutId;
|
|
11
|
+
readonly label: "Centered";
|
|
12
|
+
readonly description: "Logo centered above a balanced navigation row.";
|
|
13
|
+
readonly variant: "centered";
|
|
14
|
+
readonly defaultPositioning: "static";
|
|
15
|
+
readonly shrinkOnScroll: false;
|
|
16
|
+
readonly maxRecommendedNavItems: 5;
|
|
17
|
+
readonly allowedLogoShapes: readonly ["none", "text-only", "horizontal", "square"];
|
|
18
|
+
}, {
|
|
19
|
+
readonly id: HeaderLayoutId;
|
|
20
|
+
readonly label: "Floating";
|
|
21
|
+
readonly description: "Detached header chrome that sits over the opening section.";
|
|
22
|
+
readonly variant: "floating";
|
|
23
|
+
readonly defaultPositioning: "sticky";
|
|
24
|
+
readonly shrinkOnScroll: true;
|
|
25
|
+
readonly maxRecommendedNavItems: 5;
|
|
26
|
+
readonly allowedLogoShapes: readonly ["none", "text-only", "horizontal"];
|
|
27
|
+
}];
|
|
28
|
+
export declare const headerStyleCatalog: readonly [{
|
|
29
|
+
readonly id: HeaderStyleId;
|
|
30
|
+
readonly label: "Minimal";
|
|
31
|
+
readonly description: "Quiet surface with simple color-change navigation.";
|
|
32
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
33
|
+
readonly navInteraction: "color-change";
|
|
34
|
+
readonly surface: "neutral";
|
|
35
|
+
readonly defaultDepth: "none";
|
|
36
|
+
readonly navTypography: "plain";
|
|
37
|
+
readonly moods: readonly ["calm", "professional", "editorial"];
|
|
38
|
+
}, {
|
|
39
|
+
readonly id: HeaderStyleId;
|
|
40
|
+
readonly label: "Seamless";
|
|
41
|
+
readonly description: "Borderless surface with underline hover for a quieter page transition.";
|
|
42
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
43
|
+
readonly navInteraction: "underline-grow";
|
|
44
|
+
readonly surface: "neutral";
|
|
45
|
+
readonly defaultDepth: "none";
|
|
46
|
+
readonly navTypography: "plain";
|
|
47
|
+
readonly moods: readonly ["calm", "professional", "editorial"];
|
|
48
|
+
}, {
|
|
49
|
+
readonly id: HeaderStyleId;
|
|
50
|
+
readonly label: "Soft Bar";
|
|
51
|
+
readonly description: "Soft tinted surface with gentle pill hover states.";
|
|
52
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
53
|
+
readonly navInteraction: "pill-background";
|
|
54
|
+
readonly surface: "soft";
|
|
55
|
+
readonly defaultDepth: "line";
|
|
56
|
+
readonly navTypography: "plain";
|
|
57
|
+
readonly moods: readonly ["calm", "professional"];
|
|
58
|
+
}, {
|
|
59
|
+
readonly id: HeaderStyleId;
|
|
60
|
+
readonly label: "Pill Nav";
|
|
61
|
+
readonly description: "A calm pill navigation rail over a neutral header.";
|
|
62
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
63
|
+
readonly navInteraction: "pill-background";
|
|
64
|
+
readonly surface: "soft";
|
|
65
|
+
readonly defaultDepth: "none";
|
|
66
|
+
readonly navTypography: "plain";
|
|
67
|
+
readonly moods: readonly ["calm"];
|
|
68
|
+
}, {
|
|
69
|
+
readonly id: HeaderStyleId;
|
|
70
|
+
readonly label: "Brand Bar";
|
|
71
|
+
readonly description: "Solid brand surface with high-contrast navigation.";
|
|
72
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
73
|
+
readonly navInteraction: "color-change";
|
|
74
|
+
readonly surface: "brand-solid";
|
|
75
|
+
readonly defaultDepth: "none";
|
|
76
|
+
readonly navTypography: "brand-caps";
|
|
77
|
+
readonly moods: readonly ["professional", "expressive", "utility"];
|
|
78
|
+
}, {
|
|
79
|
+
readonly id: HeaderStyleId;
|
|
80
|
+
readonly label: "Brand Underline";
|
|
81
|
+
readonly description: "Brand surface with underline-grow navigation.";
|
|
82
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
83
|
+
readonly navInteraction: "underline-grow";
|
|
84
|
+
readonly surface: "brand-solid";
|
|
85
|
+
readonly defaultDepth: "none";
|
|
86
|
+
readonly navTypography: "brand-caps";
|
|
87
|
+
readonly moods: readonly ["expressive"];
|
|
88
|
+
}, {
|
|
89
|
+
readonly id: HeaderStyleId;
|
|
90
|
+
readonly label: "Brand Pill";
|
|
91
|
+
readonly description: "Solid brand surface with rounded active and hover states.";
|
|
92
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
93
|
+
readonly navInteraction: "pill-background";
|
|
94
|
+
readonly surface: "brand-solid";
|
|
95
|
+
readonly defaultDepth: "none";
|
|
96
|
+
readonly navTypography: "brand-caps";
|
|
97
|
+
readonly moods: readonly ["expressive"];
|
|
98
|
+
}, {
|
|
99
|
+
readonly id: HeaderStyleId;
|
|
100
|
+
readonly label: "Brand Capsule";
|
|
101
|
+
readonly description: "Solid brand chrome designed as a floating capsule, with quiet-caps nav, a soft pill active state, and an inverted CTA pill.";
|
|
102
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
103
|
+
readonly navInteraction: "pill-background";
|
|
104
|
+
readonly surface: "brand-solid";
|
|
105
|
+
readonly defaultDepth: "shadow";
|
|
106
|
+
readonly navTypography: "quiet-caps";
|
|
107
|
+
readonly moods: readonly ["expressive", "professional"];
|
|
108
|
+
}, {
|
|
109
|
+
readonly id: HeaderStyleId;
|
|
110
|
+
readonly label: "Serif Line";
|
|
111
|
+
readonly description: "Typographic logo treatment with understated underline navigation.";
|
|
112
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
113
|
+
readonly navInteraction: "underline-grow";
|
|
114
|
+
readonly surface: "bordered";
|
|
115
|
+
readonly defaultDepth: "line";
|
|
116
|
+
readonly navTypography: "heading";
|
|
117
|
+
readonly moods: readonly ["editorial", "calm"];
|
|
118
|
+
}, {
|
|
119
|
+
readonly id: HeaderStyleId;
|
|
120
|
+
readonly label: "Flat Tabs";
|
|
121
|
+
readonly description: "Flat block hover and active states with a Swiss utility feel.";
|
|
122
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
123
|
+
readonly navInteraction: "flat-block";
|
|
124
|
+
readonly surface: "bordered";
|
|
125
|
+
readonly defaultDepth: "shadow";
|
|
126
|
+
readonly navTypography: "quiet-caps";
|
|
127
|
+
readonly moods: readonly ["professional", "utility", "expressive"];
|
|
128
|
+
}, {
|
|
129
|
+
readonly id: HeaderStyleId;
|
|
130
|
+
readonly label: "Glass";
|
|
131
|
+
readonly description: "Translucent chrome with frosted navigation backing.";
|
|
132
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
133
|
+
readonly navInteraction: "glass-backed";
|
|
134
|
+
readonly surface: "floating";
|
|
135
|
+
readonly defaultDepth: "shadow";
|
|
136
|
+
readonly navTypography: "plain";
|
|
137
|
+
readonly moods: readonly ["expressive", "calm"];
|
|
138
|
+
}, {
|
|
139
|
+
readonly id: HeaderStyleId;
|
|
140
|
+
readonly label: "Clear Split";
|
|
141
|
+
readonly description: "Floating logo with transparent navigation and no shared shell.";
|
|
142
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
143
|
+
readonly navInteraction: "pill-background";
|
|
144
|
+
readonly surface: "floating";
|
|
145
|
+
readonly defaultDepth: "line";
|
|
146
|
+
readonly navTypography: "plain";
|
|
147
|
+
readonly openingForegroundTarget: "all";
|
|
148
|
+
readonly scrollTreatment: "contrast-glass";
|
|
149
|
+
readonly interactionPalette: Readonly<{
|
|
150
|
+
id: "interaction-palette";
|
|
151
|
+
label: string;
|
|
152
|
+
options: readonly [import("../../../blocks/src/index").HeaderInteractionPaletteOption, ...import("../../../blocks/src/index").HeaderInteractionPaletteOption[]];
|
|
153
|
+
defaultOptionId: "accent" | "primary" | "secondary";
|
|
154
|
+
}>;
|
|
155
|
+
readonly moods: readonly ["editorial", "calm"];
|
|
156
|
+
}, {
|
|
157
|
+
readonly id: HeaderStyleId;
|
|
158
|
+
readonly label: "Soft Shell";
|
|
159
|
+
readonly description: "Floating rounded shell with soft pill navigation states.";
|
|
160
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
161
|
+
readonly navInteraction: "pill-background";
|
|
162
|
+
readonly surface: "floating";
|
|
163
|
+
readonly defaultDepth: "shadow";
|
|
164
|
+
readonly navTypography: "plain";
|
|
165
|
+
readonly moods: readonly ["calm", "professional"];
|
|
166
|
+
}, {
|
|
167
|
+
readonly id: HeaderStyleId;
|
|
168
|
+
readonly label: "Split Glass";
|
|
169
|
+
readonly description: "Logo floats independently while the navigation sits in a glass rail.";
|
|
170
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
171
|
+
readonly navInteraction: "glass-backed";
|
|
172
|
+
readonly surface: "floating";
|
|
173
|
+
readonly defaultDepth: "shadow";
|
|
174
|
+
readonly navTypography: "quiet-caps";
|
|
175
|
+
readonly openingForegroundTarget: "brand-only";
|
|
176
|
+
readonly moods: readonly ["expressive"];
|
|
177
|
+
}, {
|
|
178
|
+
readonly id: HeaderStyleId;
|
|
179
|
+
readonly label: "Split Pill";
|
|
180
|
+
readonly description: "Logo floats independently with a soft pill-backed navigation rail.";
|
|
181
|
+
readonly supportedLayoutIds: readonly HeaderLayoutId[];
|
|
182
|
+
readonly navInteraction: "pill-background";
|
|
183
|
+
readonly surface: "floating";
|
|
184
|
+
readonly defaultDepth: "shadow";
|
|
185
|
+
readonly navTypography: "heading";
|
|
186
|
+
readonly openingForegroundTarget: "brand-only";
|
|
187
|
+
readonly moods: readonly ["calm", "editorial"];
|
|
188
|
+
}];
|
|
189
|
+
export declare const legacyHeaderLookAliases: readonly [{
|
|
190
|
+
readonly lookId: HeaderLookId;
|
|
191
|
+
readonly selection: {
|
|
192
|
+
readonly layoutId: HeaderLayoutId;
|
|
193
|
+
readonly styleId: HeaderStyleId;
|
|
194
|
+
};
|
|
195
|
+
}, {
|
|
196
|
+
readonly lookId: HeaderLookId;
|
|
197
|
+
readonly selection: {
|
|
198
|
+
readonly layoutId: HeaderLayoutId;
|
|
199
|
+
readonly styleId: HeaderStyleId;
|
|
200
|
+
};
|
|
201
|
+
}, {
|
|
202
|
+
readonly lookId: HeaderLookId;
|
|
203
|
+
readonly selection: {
|
|
204
|
+
readonly layoutId: HeaderLayoutId;
|
|
205
|
+
readonly styleId: HeaderStyleId;
|
|
206
|
+
};
|
|
207
|
+
}, {
|
|
208
|
+
readonly lookId: HeaderLookId;
|
|
209
|
+
readonly selection: {
|
|
210
|
+
readonly layoutId: HeaderLayoutId;
|
|
211
|
+
readonly styleId: HeaderStyleId;
|
|
212
|
+
};
|
|
213
|
+
}, {
|
|
214
|
+
readonly lookId: HeaderLookId;
|
|
215
|
+
readonly selection: {
|
|
216
|
+
readonly layoutId: HeaderLayoutId;
|
|
217
|
+
readonly styleId: HeaderStyleId;
|
|
218
|
+
};
|
|
219
|
+
}, {
|
|
220
|
+
readonly lookId: HeaderLookId;
|
|
221
|
+
readonly selection: {
|
|
222
|
+
readonly layoutId: HeaderLayoutId;
|
|
223
|
+
readonly styleId: HeaderStyleId;
|
|
224
|
+
};
|
|
225
|
+
}, {
|
|
226
|
+
readonly lookId: HeaderLookId;
|
|
227
|
+
readonly selection: {
|
|
228
|
+
readonly layoutId: HeaderLayoutId;
|
|
229
|
+
readonly styleId: HeaderStyleId;
|
|
230
|
+
};
|
|
231
|
+
}, {
|
|
232
|
+
readonly lookId: HeaderLookId;
|
|
233
|
+
readonly selection: {
|
|
234
|
+
readonly layoutId: HeaderLayoutId;
|
|
235
|
+
readonly styleId: HeaderStyleId;
|
|
236
|
+
};
|
|
237
|
+
}, {
|
|
238
|
+
readonly lookId: HeaderLookId;
|
|
239
|
+
readonly selection: {
|
|
240
|
+
readonly layoutId: HeaderLayoutId;
|
|
241
|
+
readonly styleId: HeaderStyleId;
|
|
242
|
+
};
|
|
243
|
+
}];
|
|
244
|
+
export declare function getHeaderLayout(id: HeaderLayoutId): HeaderLayoutDefinition | null;
|
|
245
|
+
export declare function getHeaderStyle(id: HeaderStyleId): HeaderStyleDefinition | null;
|
|
246
|
+
export declare function isHeaderStyleCompatibleWithLayout(style: HeaderStyleDefinition, layoutId: HeaderLayoutId): boolean;
|
|
247
|
+
export declare function headerLayoutSupportsBarFrame(layoutId: HeaderLayoutId): boolean;
|
|
248
|
+
export declare function resolveLegacyHeaderLookAlias(lookId: HeaderLookId): HeaderLayoutStyleSelection | null;
|
|
249
|
+
export declare function findLegacyHeaderLookIdForSelection(selection: HeaderLayoutStyleSelection): HeaderLookId | null;
|
|
250
|
+
export declare function getCompatibleHeaderStyleIds(layoutId: HeaderLayoutId): readonly HeaderStyleId[];
|
|
251
|
+
export declare function getOrderedHeaderLayoutIdsForCuration(curation: HeaderLayoutStyleCuration): readonly HeaderLayoutId[];
|
|
252
|
+
export declare function getOrderedHeaderStyleIdsForLayout(curation: HeaderLayoutStyleCuration, layoutId: HeaderLayoutId): readonly HeaderStyleId[];
|
|
253
|
+
export declare function deriveNearestCompatibleHeaderStyle(styleId: HeaderStyleId, layoutId: HeaderLayoutId): HeaderStyleId;
|
|
254
|
+
export declare function resolveHeaderLayoutStyleSelection(selection: HeaderLayoutStyleSelection): HeaderLayoutStyleResolution;
|