From 3047b8a9fd81a38ea276c0f408c80562096b9db8 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 20 Nov 2023 13:07:00 +0300 Subject: [PATCH] Fixed #4848 - Dialog: PT options rename --- components/lib/confirmdialog/ConfirmDialog.d.ts | 4 ++-- components/lib/dialog/Dialog.d.ts | 4 ++-- components/lib/dialog/Dialog.vue | 8 ++++---- components/lib/dialog/style/DialogStyle.js | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 1013e88bd..20639a966 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -54,11 +54,11 @@ export interface ConfirmDialogPassThroughOptions { /** * Used to pass attributes to the header title's DOM element. */ - headerTitle?: ConfirmDialogPassThroughOptionType; + title?: ConfirmDialogPassThroughOptionType; /** * Used to pass attributes to the header icons' DOM element. */ - headerIcons?: ConfirmDialogPassThroughOptionType; + icons?: ConfirmDialogPassThroughOptionType; /** * Used to pass attributes to the close button's component. */ diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index c0f493b30..55ff6e8ea 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -54,11 +54,11 @@ export interface DialogPassThroughOptions { /** * Used to pass attributes to the header title's DOM element. */ - headerTitle?: DialogPassThroughOptionType; + title?: DialogPassThroughOptionType; /** * Used to pass attributes to the header icons' DOM element. */ - headerIcons?: DialogPassThroughOptionType; + icons?: DialogPassThroughOptionType; /** * Used to pass attributes to the maximizable button's DOM element. */ diff --git a/components/lib/dialog/Dialog.vue b/components/lib/dialog/Dialog.vue index 6646e305f..33b853c94 100755 --- a/components/lib/dialog/Dialog.vue +++ b/components/lib/dialog/Dialog.vue @@ -6,10 +6,10 @@