From a13296cb1dd9a273192ce94f427fc1c9bb0c18b8 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 2 Oct 2025 18:26:23 +0200 Subject: [PATCH] build: fix snapshots job The snapshots job was failing because we don't have a builds repo for Angular ARIA yet. --- goldens/cdk/overlay/index.api.md | 12 ++++++++++-- scripts/deploy/publish-build-artifacts.sh | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/goldens/cdk/overlay/index.api.md b/goldens/cdk/overlay/index.api.md index 26f46ecd8661..d2537257ed04 100644 --- a/goldens/cdk/overlay/index.api.md +++ b/goldens/cdk/overlay/index.api.md @@ -89,7 +89,7 @@ export class CdkConnectedOverlay implements OnDestroy, OnChanges { push: boolean; scrollStrategy: ScrollStrategy; transformOriginSelector: string; - viewportMargin: number; + viewportMargin: ViewportMargin; width: number | string; // (undocumented) static ɵdir: i0.ɵɵDirectiveDeclaration; @@ -241,7 +241,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy { withPush(canPush?: boolean): this; withScrollableContainers(scrollables: CdkScrollable[]): this; withTransformOriginOn(selector: string): this; - withViewportMargin(margin: number): this; + withViewportMargin(margin: ViewportMargin): this; } // @public @@ -544,6 +544,14 @@ export function validateVerticalPosition(property: string, value: VerticalConnec // @public export type VerticalConnectionPos = 'top' | 'center' | 'bottom'; +// @public +export type ViewportMargin = number | { + top?: number; + bottom?: number; + start?: number; + end?: number; +}; + // @public export class ViewportRuler implements OnDestroy { constructor(...args: unknown[]); diff --git a/scripts/deploy/publish-build-artifacts.sh b/scripts/deploy/publish-build-artifacts.sh index 986fc987d3b4..770993e481a3 100755 --- a/scripts/deploy/publish-build-artifacts.sh +++ b/scripts/deploy/publish-build-artifacts.sh @@ -17,7 +17,7 @@ fi # Release packages that need to published as snapshots. PACKAGES=( - aria + # aria TODO(crisbeto): enable this once there's a builds repo for ARIA cdk cdk-experimental material