From f75b2578aa3ca4d61a0657afe2e3f46755d1914f Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Fri, 20 Sep 2024 02:44:51 +0800 Subject: [PATCH 1/8] pkp/pkp-lib#i10447 Add new icons to Icon Gallery --- src/components/Icon/Icon.stories.js | 11 +- src/components/Icon/Icon.vue | 20 +- src/components/Icon/icons/Add.vue | 8 + src/components/Icon/icons/ArrowLeft.vue | 8 + src/components/Icon/icons/ArrowRight.vue | 18 + src/components/Icon/icons/Attention.vue | 8 + src/components/Icon/icons/Book.vue | 13 + src/components/Icon/icons/Calendar.vue | 514 +++++++++++++++++++++ src/components/Icon/icons/ChevronLeft.vue | 10 + src/components/Icon/icons/ChevronRight.vue | 10 + src/components/Icon/icons/Clock.vue | 10 + 11 files changed, 628 insertions(+), 2 deletions(-) create mode 100644 src/components/Icon/icons/Add.vue create mode 100644 src/components/Icon/icons/ArrowLeft.vue create mode 100644 src/components/Icon/icons/ArrowRight.vue create mode 100644 src/components/Icon/icons/Attention.vue create mode 100644 src/components/Icon/icons/Book.vue create mode 100644 src/components/Icon/icons/Calendar.vue create mode 100644 src/components/Icon/icons/ChevronLeft.vue create mode 100644 src/components/Icon/icons/ChevronRight.vue create mode 100644 src/components/Icon/icons/Clock.vue diff --git a/src/components/Icon/Icon.stories.js b/src/components/Icon/Icon.stories.js index e958587ee..7afae93da 100644 --- a/src/components/Icon/Icon.stories.js +++ b/src/components/Icon/Icon.stories.js @@ -58,17 +58,26 @@ export const iconGallery = { args: { icons: [ + 'Add', 'Announcements', 'AnonymousReview', + 'ArrowLeft', + 'ArrowRight', 'AttachFile', + 'Attention', 'BackButton', 'Bold', + 'Book', 'Bullets', + 'Calendar', 'Cancel', 'Catalog', - 'Complete', 'ChevronDown', + 'ChevronLeft', + 'ChevronRight', 'ChevronUp', + 'Clock', + 'Complete', 'Dashboard', 'DefaultDocument', 'DecreaseTextSize', diff --git a/src/components/Icon/Icon.vue b/src/components/Icon/Icon.vue index 3d9d214c8..a67339d1d 100644 --- a/src/components/Icon/Icon.vue +++ b/src/components/Icon/Icon.vue @@ -36,16 +36,25 @@ From b491a9f46db5f22d409806b0dfc5c360df26156a Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Sat, 21 Sep 2024 04:18:24 +0800 Subject: [PATCH 3/8] pkp/pkp-lib#10447 Add Copy icon and remove fixed width and height on Expand and History icons --- src/components/Icon/icons/Copy.vue | 14 ++++++++++++++ src/components/Icon/icons/Expand.vue | 8 +------- src/components/Icon/icons/History.vue | 8 +------- 3 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 src/components/Icon/icons/Copy.vue diff --git a/src/components/Icon/icons/Copy.vue b/src/components/Icon/icons/Copy.vue new file mode 100644 index 000000000..453685a6d --- /dev/null +++ b/src/components/Icon/icons/Copy.vue @@ -0,0 +1,14 @@ + diff --git a/src/components/Icon/icons/Expand.vue b/src/components/Icon/icons/Expand.vue index 90360e806..fe4051778 100644 --- a/src/components/Icon/icons/Expand.vue +++ b/src/components/Icon/icons/Expand.vue @@ -1,11 +1,5 @@