diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index 9446d5a5d..e63b07531 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -286,8 +286,14 @@ export interface DialogSlots { footer(): VNode[]; /** * Custom close icon template. + * @param {Object} scope - close icon slot's params. */ - closeicon(): VNode[]; + closeicon(scope: { + /** + * Style class of the close icon + */ + class: any; + }): VNode[]; /** * Custom maximize icon template of dialog. * @param {Object} scope - maximize icon slot's params. @@ -297,6 +303,10 @@ export interface DialogSlots { * Maximized state as a boolean */ maximized: boolean; + /** + * Style class of the maximize icon + */ + class: any; }): VNode[]; } diff --git a/components/lib/dialog/Dialog.vue b/components/lib/dialog/Dialog.vue index 2c86abe90..efb86f6aa 100755 --- a/components/lib/dialog/Dialog.vue +++ b/components/lib/dialog/Dialog.vue @@ -20,7 +20,7 @@ v-bind="ptm('maximizableButton')" data-pc-group-section="headericon" > - + @@ -36,7 +36,7 @@ v-bind="{ ...closeButtonProps, ...ptm('closeButton') }" data-pc-group-section="headericon" > - +