From 62f769382a774382841be9fcd7f5e80f7bfda2c2 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 18 Apr 2023 12:31:46 +0300 Subject: [PATCH] Refactor #3832 Refactor #3833 - Update icons --- components/lib/dropdown/Dropdown.vue | 16 +++++++++++----- components/lib/fileupload/FileContent.vue | 2 +- components/lib/fileupload/FileUpload.d.ts | 3 +++ components/lib/galleria/Galleria.d.ts | 4 ++-- components/lib/galleria/GalleriaItem.vue | 4 ++-- components/lib/galleria/GalleriaThumbnails.vue | 2 +- components/lib/image/Image.vue | 2 +- components/lib/inlinemessage/InlineMessage.d.ts | 3 ++- components/lib/inlinemessage/InlineMessage.vue | 2 +- 9 files changed, 24 insertions(+), 14 deletions(-) diff --git a/components/lib/dropdown/Dropdown.vue b/components/lib/dropdown/Dropdown.vue index fb7d133b3..b51afdc32 100755 --- a/components/lib/dropdown/Dropdown.vue +++ b/components/lib/dropdown/Dropdown.vue @@ -47,14 +47,20 @@ > {{ label === 'p-emptylabel' ? ' ' : label || 'empty' }} - +
- - + +
diff --git a/components/lib/fileupload/FileContent.vue b/components/lib/fileupload/FileContent.vue index 122aa52ea..ae82e92fd 100644 --- a/components/lib/fileupload/FileContent.vue +++ b/components/lib/fileupload/FileContent.vue @@ -10,7 +10,7 @@ diff --git a/components/lib/fileupload/FileUpload.d.ts b/components/lib/fileupload/FileUpload.d.ts index df1739883..cfe4e4fa6 100755 --- a/components/lib/fileupload/FileUpload.d.ts +++ b/components/lib/fileupload/FileUpload.d.ts @@ -236,14 +236,17 @@ export interface FileUploadProps { showCancelButton?: boolean | undefined; /** * Icon of the choose button. + * @todo */ chooseIcon?: string | undefined; /** * Icon of the upload button. + * @todo */ uploadIcon?: string | undefined; /** * Icon of the cancel button. + * @todo */ cancelIcon?: string | undefined; /** diff --git a/components/lib/galleria/Galleria.d.ts b/components/lib/galleria/Galleria.d.ts index 37797415f..ee93fdaf5 100755 --- a/components/lib/galleria/Galleria.d.ts +++ b/components/lib/galleria/Galleria.d.ts @@ -212,7 +212,7 @@ export interface GalleriaSlots { /** * Custom navigator previous item icon template. */ - previtemicon(): VNode[]; + previousitemicon(): VNode[]; /** * Custom navigator next item icon template. */ @@ -220,7 +220,7 @@ export interface GalleriaSlots { /** * Custom thumbnail previous icon template. */ - prevthumbnailicon(): VNode[]; + previousthumbnailicon(): VNode[]; /** * Custom thumbnail next item template. */ diff --git a/components/lib/galleria/GalleriaItem.vue b/components/lib/galleria/GalleriaItem.vue index 8f8f9cff9..de7a41b06 100755 --- a/components/lib/galleria/GalleriaItem.vue +++ b/components/lib/galleria/GalleriaItem.vue @@ -2,13 +2,13 @@
diff --git a/components/lib/galleria/GalleriaThumbnails.vue b/components/lib/galleria/GalleriaThumbnails.vue index 41e4d7ed7..5b1d7c33a 100755 --- a/components/lib/galleria/GalleriaThumbnails.vue +++ b/components/lib/galleria/GalleriaThumbnails.vue @@ -2,7 +2,7 @@
diff --git a/components/lib/image/Image.vue b/components/lib/image/Image.vue index 6a5927600..d59965ea6 100644 --- a/components/lib/image/Image.vue +++ b/components/lib/image/Image.vue @@ -2,7 +2,7 @@ diff --git a/components/lib/inlinemessage/InlineMessage.d.ts b/components/lib/inlinemessage/InlineMessage.d.ts index 2adf7fb36..97e9b0b99 100755 --- a/components/lib/inlinemessage/InlineMessage.d.ts +++ b/components/lib/inlinemessage/InlineMessage.d.ts @@ -21,6 +21,7 @@ export interface InlineMessageProps { severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined; /** * Display a custom icon for the message. + * @todo */ icon?: string | undefined; } @@ -35,7 +36,7 @@ export interface InlineMessageSlots { /** * Custom message icon template. */ - messageicon(): VNode[]; + icon(): VNode[]; } export interface InlineMessageEmits {} diff --git a/components/lib/inlinemessage/InlineMessage.vue b/components/lib/inlinemessage/InlineMessage.vue index 0595f1503..b4a839d0e 100755 --- a/components/lib/inlinemessage/InlineMessage.vue +++ b/components/lib/inlinemessage/InlineMessage.vue @@ -1,6 +1,6 @@