From 6606e64987fc63c3affff94b2feb650275f4a207 Mon Sep 17 00:00:00 2001 From: "dev.daminik00" Date: Fri, 26 Sep 2025 12:25:56 +0200 Subject: [PATCH] fix --- src/lib/funnel/types.ts | 2 +- src/lib/funnel/variants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/funnel/types.ts b/src/lib/funnel/types.ts index 92df89f..6515cda 100644 --- a/src/lib/funnel/types.ts +++ b/src/lib/funnel/types.ts @@ -47,7 +47,7 @@ export interface ListOptionDefinition { } export interface BottomActionButtonDefinition { - text: string; + text?: string; cornerRadius?: "3xl" | "full"; /** Controls whether button should be displayed. Defaults to true. */ show?: boolean; diff --git a/src/lib/funnel/variants.ts b/src/lib/funnel/variants.ts index bc1f019..9df515c 100644 --- a/src/lib/funnel/variants.ts +++ b/src/lib/funnel/variants.ts @@ -55,7 +55,7 @@ function applyScreenOverrides( overrides: ScreenVariantDefinition["overrides"] ): T { const cloned = cloneScreen(screen); - return deepMerge(cloned, overrides); + return deepMerge(cloned, overrides as Partial); } export function resolveScreenVariant(