From 051a31e2af45f33dd900fd5f75eccb98ae1bfba1 Mon Sep 17 00:00:00 2001 From: Stephanie Smith Date: Tue, 13 Aug 2024 11:33:23 -0700 Subject: [PATCH] adding icons needed for resource metadata --- .../src/scss/components/_IconProfile.scss | 4 ++ .../src/scss/components/_IconSubject.scss | 4 ++ .../vue/src/components/Icons/IconProfile.vue | 30 +++++++++++++++ .../vue/src/components/Icons/IconSubject.vue | 38 +++++++++++++++++++ .../vue/src/components/Icons/Icons.stories.ts | 15 ++++++++ .../MetadataEduResource.vue | 13 ++++--- .../MetadataEvent/MetadataEvent.vue | 10 ++--- packages/vue/src/interfaces.ts | 2 +- 8 files changed, 104 insertions(+), 12 deletions(-) create mode 100644 packages/common/src/scss/components/_IconProfile.scss create mode 100644 packages/common/src/scss/components/_IconSubject.scss create mode 100644 packages/vue/src/components/Icons/IconProfile.vue create mode 100644 packages/vue/src/components/Icons/IconSubject.vue diff --git a/packages/common/src/scss/components/_IconProfile.scss b/packages/common/src/scss/components/_IconProfile.scss new file mode 100644 index 00000000..f367a32e --- /dev/null +++ b/packages/common/src/scss/components/_IconProfile.scss @@ -0,0 +1,4 @@ +.IconProfile { + width: 1em; + height: 1em; +} diff --git a/packages/common/src/scss/components/_IconSubject.scss b/packages/common/src/scss/components/_IconSubject.scss new file mode 100644 index 00000000..b3cb1dfd --- /dev/null +++ b/packages/common/src/scss/components/_IconSubject.scss @@ -0,0 +1,4 @@ +.IconSubject { + width: 1em; + height: 1em; +} diff --git a/packages/vue/src/components/Icons/IconProfile.vue b/packages/vue/src/components/Icons/IconProfile.vue new file mode 100644 index 00000000..8d412727 --- /dev/null +++ b/packages/vue/src/components/Icons/IconProfile.vue @@ -0,0 +1,30 @@ + + + diff --git a/packages/vue/src/components/Icons/IconSubject.vue b/packages/vue/src/components/Icons/IconSubject.vue new file mode 100644 index 00000000..fc7fe3a7 --- /dev/null +++ b/packages/vue/src/components/Icons/IconSubject.vue @@ -0,0 +1,38 @@ + + + diff --git a/packages/vue/src/components/Icons/Icons.stories.ts b/packages/vue/src/components/Icons/Icons.stories.ts index 3cd9dd56..b558b837 100644 --- a/packages/vue/src/components/Icons/Icons.stories.ts +++ b/packages/vue/src/components/Icons/Icons.stories.ts @@ -34,6 +34,7 @@ import IconPause from './IconPause.vue' import IconPlay from './IconPlay.vue' import IconPlus from './IconPlus.vue' import IconPrev from './IconPrev.vue' +import IconProfile from './IconProfile.vue' import IconRewindTen from './IconRewindTen.vue' import IconSearch from './IconSearch.vue' import IconShare from './IconShare.vue' @@ -47,6 +48,7 @@ import IconSocialReddit from './IconSocialReddit.vue' import IconSocialTwitter from './IconSocialTwitter.vue' import IconSocialYoutube from './IconSocialYoutube.vue' import IconStop from './IconStop.vue' +import IconSubject from './IconSubject.vue' import IconTime from './IconTime.vue' import IconUniversity from './IconUniversity.vue' import IconUser from './IconUser.vue' @@ -92,6 +94,7 @@ export default { IconPlay, IconPlus, IconPrev, + IconProfile, IconRewindTen, IconSearch, IconShare, @@ -432,6 +435,18 @@ export const User = { template: '' }) } +export const Profile = { + render: () => ({ + components: { IconProfile }, + template: '' + }) +} +export const Subject = { + render: () => ({ + components: { IconSubject }, + template: '' + }) +} export const Volume = { render: () => ({ components: { IconVolume }, diff --git a/packages/vue/src/components/MetadataEduResource/MetadataEduResource.vue b/packages/vue/src/components/MetadataEduResource/MetadataEduResource.vue index 70e58275..5d4f20d2 100644 --- a/packages/vue/src/components/MetadataEduResource/MetadataEduResource.vue +++ b/packages/vue/src/components/MetadataEduResource/MetadataEduResource.vue @@ -1,7 +1,8 @@