From 6bb0ad1d6027709cd6d67bcc8f94e2308266b213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 2 Mar 2023 21:53:47 +0300 Subject: [PATCH] Directive modifiers update --- components/badgedirective/BadgeDirective.d.ts | 18 +++++++++++------- components/tooltip/Tooltip.d.ts | 17 +++++++++++------ 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/components/badgedirective/BadgeDirective.d.ts b/components/badgedirective/BadgeDirective.d.ts index 417fbf7dc..1f2b5e56e 100644 --- a/components/badgedirective/BadgeDirective.d.ts +++ b/components/badgedirective/BadgeDirective.d.ts @@ -12,22 +12,26 @@ import { DirectiveBinding, ObjectDirective } from 'vue'; * Defines modifiers of Badge directive. */ export interface BadgeDirectiveModifiers { - /** - * Success severity for Badge directive. - */ - success?: string | undefined; /** * Info severity for Badge directive. + * @defaultValue true */ - info?: string | undefined; + info?: boolean | undefined; + /** + * Success severity for Badge directive. + * @defaultValue false + */ + success?: boolean | undefined; /** * Warning severity for Badge directive. + * @defaultValue false */ - warning?: string | undefined; + warning?: boolean | undefined; /** * Danger severity for Badge directive. + * @defaultValue false */ - danger?: string | undefined; + danger?: boolean | undefined; } /** diff --git a/components/tooltip/Tooltip.d.ts b/components/tooltip/Tooltip.d.ts index 324cf5280..7c89e6ccc 100755 --- a/components/tooltip/Tooltip.d.ts +++ b/components/tooltip/Tooltip.d.ts @@ -48,24 +48,29 @@ export interface TooltipOptions { export interface TooltipDirectiveModifiers { /** * Right position for Tooltip. + * @defaultValue true */ - right?: string | undefined; + right?: boolean | undefined; /** - * Feft position for Tooltip. + * Left position for Tooltip. + * @defaultValue false */ - left?: string | undefined; + left?: boolean | undefined; /** * Top position for Tooltip. + * @defaultValue false */ - top?: string | undefined; + top?: boolean | undefined; /** * Bottom position for Tooltip. + * @defaultValue false */ - bottom?: string | undefined; + bottom?: boolean | undefined; /** * Focus event for Tooltip. + * @defaultValue true */ - focus?: string | undefined; + focus?: boolean | undefined; } /**