diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 71516e6f2..cf9164352 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -8,6 +8,7 @@ * */ import { VNode } from 'vue'; +import { ButtonPassThroughOptions } from '../button'; import { ConfirmationOptions } from '../confirmationoptions'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; @@ -40,12 +41,9 @@ export interface ConfirmDialogPassThroughOptions { headerTitle?: ConfirmDialogPassThroughOptionType; /** * Uses to pass attributes to the close button's DOM element. + * @see {@link ButtonPassThroughOptions} */ - closeButton?: ConfirmDialogPassThroughOptionType; - /** - * Uses to pass attributes to the close icon's DOM element. - */ - closeIcon?: ConfirmDialogPassThroughOptionType; + closeButton?: ButtonPassThroughOptions; /** * Uses to pass attributes to the content's DOM element. */ @@ -64,20 +62,14 @@ export interface ConfirmDialogPassThroughOptions { message?: ConfirmDialogPassThroughOptionType; /** * Uses to pass attributes to the reject button's DOM element. + * @see {@link ButtonPassThroughOptions} */ - rejectButton?: ConfirmDialogPassThroughOptionType; - /** - * Uses to pass attributes to the reject icon's DOM element. - */ - rejectIcon?: ConfirmDialogPassThroughOptionType; + rejectButton?: ButtonPassThroughOptions; /** * Uses to pass attributes to the accept button's DOM element. + * @see {@link ButtonPassThroughOptions} */ - acceptButton?: ConfirmDialogPassThroughOptionType; - /** - * Uses to pass attributes to the accept icon's DOM element. - */ - acceptIcon?: ConfirmDialogPassThroughOptionType; + acceptButton?: ButtonPassThroughOptions; } /** diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue index 67ce68b61..3c5970e29 100644 --- a/components/lib/confirmdialog/ConfirmDialog.vue +++ b/components/lib/confirmdialog/ConfirmDialog.vue @@ -22,17 +22,17 @@ diff --git a/components/lib/inplace/Inplace.d.ts b/components/lib/inplace/Inplace.d.ts index 5736f4896..bab27b718 100755 --- a/components/lib/inplace/Inplace.d.ts +++ b/components/lib/inplace/Inplace.d.ts @@ -7,7 +7,9 @@ * @module inplace * */ + import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue'; +import { ButtonPassThroughOptions } from '../button'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export declare type InplacePassThroughOptionType = InplacePassThroughAttributes | ((options: InplacePassThroughMethodOptions) => InplacePassThroughAttributes) | null | undefined; @@ -39,12 +41,9 @@ export interface InplacePassThroughOptions { content?: InplacePassThroughOptionType; /** * Uses to pass attributes to the close button's DOM element. + * @see {@link ButtonPassThroughOptions} */ - closeButton?: InplacePassThroughOptionType; - /** - * Uses to pass attributes to the close icon's DOM element. - */ - closeIcon?: InplacePassThroughOptionType; + closeButton?: ButtonPassThroughOptions; } /** diff --git a/components/lib/inplace/Inplace.vue b/components/lib/inplace/Inplace.vue index 6f720ca48..b757cd82f 100755 --- a/components/lib/inplace/Inplace.vue +++ b/components/lib/inplace/Inplace.vue @@ -5,10 +5,10 @@
- +