diff --git a/packages/ui/src/components/OsIcon/OsIcon.vue b/packages/ui/src/components/OsIcon/OsIcon.vue index 9fe02c059..4724db2c3 100644 --- a/packages/ui/src/components/OsIcon/OsIcon.vue +++ b/packages/ui/src/components/OsIcon/OsIcon.vue @@ -80,15 +80,13 @@ return h( 'span', { - class: [ - cn( - 'os-icon inline-flex items-center align-bottom shrink-0', - sizeClass, - '[&>svg]:h-full [&>svg]:w-auto [&>svg]:fill-current', - ), + class: cn( + 'os-icon inline-flex items-center align-bottom shrink-0', + sizeClass, + '[&>svg]:h-full [&>svg]:w-auto [&>svg]:fill-current', parentClass, parentDynClass, - ].filter(Boolean), + ), attrs: { ...a11yAttrs, ...parentAttrs, ...attrs }, }, [iconVNode], diff --git a/webapp/components/AvatarMenu/AvatarMenu.vue b/webapp/components/AvatarMenu/AvatarMenu.vue index 13aa2a703..f6616479c 100644 --- a/webapp/components/AvatarMenu/AvatarMenu.vue +++ b/webapp/components/AvatarMenu/AvatarMenu.vue @@ -60,7 +60,7 @@ diff --git a/webapp/components/DeleteData/DeleteData.vue b/webapp/components/DeleteData/DeleteData.vue index fb6c83515..1a68d50dc 100644 --- a/webapp/components/DeleteData/DeleteData.vue +++ b/webapp/components/DeleteData/DeleteData.vue @@ -59,7 +59,7 @@ diff --git a/webapp/components/Editor/MenuLegend.vue b/webapp/components/Editor/MenuLegend.vue index e7561aace..2ace3155b 100644 --- a/webapp/components/Editor/MenuLegend.vue +++ b/webapp/components/Editor/MenuLegend.vue @@ -43,7 +43,7 @@ diff --git a/webapp/components/Embed/EmbedComponent.vue b/webapp/components/Embed/EmbedComponent.vue index 38e7b4a26..c26728741 100644 --- a/webapp/components/Embed/EmbedComponent.vue +++ b/webapp/components/Embed/EmbedComponent.vue @@ -65,7 +65,7 @@ diff --git a/webapp/components/FilterMenu/EventsByFilter.vue b/webapp/components/FilterMenu/EventsByFilter.vue index 033a9657b..669d8f368 100644 --- a/webapp/components/FilterMenu/EventsByFilter.vue +++ b/webapp/components/FilterMenu/EventsByFilter.vue @@ -37,7 +37,7 @@ diff --git a/webapp/components/FilterMenu/FilterMenuComponent.vue b/webapp/components/FilterMenu/FilterMenuComponent.vue index db2909d49..81261aa0f 100644 --- a/webapp/components/FilterMenu/FilterMenuComponent.vue +++ b/webapp/components/FilterMenu/FilterMenuComponent.vue @@ -28,7 +28,7 @@ diff --git a/webapp/components/FilterMenu/OrderByFilter.vue b/webapp/components/FilterMenu/OrderByFilter.vue index c5e013437..7903599e8 100644 --- a/webapp/components/FilterMenu/OrderByFilter.vue +++ b/webapp/components/FilterMenu/OrderByFilter.vue @@ -37,7 +37,7 @@ diff --git a/webapp/components/LocationTeaser/LocationTeaser.vue b/webapp/components/LocationTeaser/LocationTeaser.vue index a6e64e60a..b72e5b2c2 100644 --- a/webapp/components/LocationTeaser/LocationTeaser.vue +++ b/webapp/components/LocationTeaser/LocationTeaser.vue @@ -14,7 +14,7 @@ diff --git a/webapp/components/LoginButton/LoginButton.vue b/webapp/components/LoginButton/LoginButton.vue index 5c6c7451d..d7039c4f0 100644 --- a/webapp/components/LoginButton/LoginButton.vue +++ b/webapp/components/LoginButton/LoginButton.vue @@ -27,7 +27,7 @@ diff --git a/webapp/components/LoginForm/LoginForm.vue b/webapp/components/LoginForm/LoginForm.vue index 32065aa2c..3bbff1454 100644 --- a/webapp/components/LoginForm/LoginForm.vue +++ b/webapp/components/LoginForm/LoginForm.vue @@ -67,7 +67,7 @@ import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch' import Logo from '~/components/Logo/Logo' import ShowPassword from '../ShowPassword/ShowPassword.vue' import { OsButton, OsIcon } from '@ocelot-social/ui' -import { ocelotIcons } from '@ocelot-social/ui/ocelot' +import { iconRegistry } from '~/utils/iconRegistry' import { mapGetters, mapMutations } from 'vuex' export default { @@ -103,7 +103,7 @@ export default { }), }, created() { - this.icons = ocelotIcons + this.icons = iconRegistry }, methods: { ...mapMutations({ diff --git a/webapp/components/Modal/DeleteUserModal.vue b/webapp/components/Modal/DeleteUserModal.vue index 5c300967b..955267c53 100644 --- a/webapp/components/Modal/DeleteUserModal.vue +++ b/webapp/components/Modal/DeleteUserModal.vue @@ -56,7 +56,7 @@ diff --git a/webapp/components/_new/generic/ProfileAvatar/ProfileAvatar.vue b/webapp/components/_new/generic/ProfileAvatar/ProfileAvatar.vue index 27f6fa8b4..9618a1006 100644 --- a/webapp/components/_new/generic/ProfileAvatar/ProfileAvatar.vue +++ b/webapp/components/_new/generic/ProfileAvatar/ProfileAvatar.vue @@ -17,7 +17,7 @@ diff --git a/webapp/components/features/ReportList/ReportList.vue b/webapp/components/features/ReportList/ReportList.vue index d56a0744f..55e09256f 100644 --- a/webapp/components/features/ReportList/ReportList.vue +++ b/webapp/components/features/ReportList/ReportList.vue @@ -12,7 +12,7 @@ diff --git a/webapp/components/generic/SearchableInput/SearchableInput.vue b/webapp/components/generic/SearchableInput/SearchableInput.vue index 86d77aacb..3d6d4908e 100644 --- a/webapp/components/generic/SearchableInput/SearchableInput.vue +++ b/webapp/components/generic/SearchableInput/SearchableInput.vue @@ -67,7 +67,7 @@