Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions components/common/autoTeleport/AutoTeleportWelcomeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
class="border border-k-shade p-4"
>
<div class="has-accent-blur">
<NeoIcon
:icon="reasonsIcons[index]"
<KIcon
:name="reasonsIcons[index]"
size="large"
class="text-k-primary mb-3"
/>
Expand Down Expand Up @@ -77,15 +77,15 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon, NeoModal } from '@kodadot1/brick'
import { NeoButton, NeoModal } from '@kodadot1/brick'

const emit = defineEmits(['close'])
const props = defineProps<{
modelValue: boolean
}>()

const isModalActive = useVModel(props, 'modelValue')
const reasonsIcons = ['arrow-right-to-arc', 'hourglass-half', 'wave-sine']
const reasonsIcons = ['i-mdi:arrow-right-thick', 'i-mdi:timer-sand', 'i-mdi:sine-wave']

const onClose = () => {
emit('close')
Expand Down
12 changes: 5 additions & 7 deletions components/common/successfulModal/ShareSocialsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
no-shadow
@click="handleShareOnX"
>
<NeoIcon
pack="fab"
icon="x-twitter"
<KIcon
name="i-ri:twitter-x-fill"
class="text-k-grey"
/>
</NeoButton>
Expand All @@ -38,10 +37,9 @@
no-shadow
@click="handleShareOnTelegram"
>
<NeoIcon
<KIcon
name="i-ri:telegram-fill"
class="text-k-grey"
pack="fab"
icon="telegram"
/>
</NeoButton>
</NeoTooltip>
Expand All @@ -66,7 +64,7 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon, NeoTooltip } from '@kodadot1/brick'
import { NeoButton, NeoTooltip } from '@kodadot1/brick'

const FarcasterIcon = defineAsyncComponent(
() => import('@/assets/icons/farcaster-icon.svg?component'),
Expand Down
9 changes: 3 additions & 6 deletions components/drops/CreateCalendarEventModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
@click="addEvent(provider.id)"
>
<div class="flex gap-2 justify-center">
<NeoIcon
:icon="provider.icon"
pack="fab"
/>
<KIcon :name="provider.icon" />
<span>{{ provider.label }}</span>
</div>
</NeoButton>
Expand All @@ -38,7 +35,7 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon, NeoModal } from '@kodadot1/brick'
import { NeoButton, NeoModal } from '@kodadot1/brick'
import { addHours, format } from 'date-fns'
import ModalBody from '@/components/shared/modals/ModalBody.vue'

Expand All @@ -58,7 +55,7 @@ const providers: { id: CalendarProvider, label: string, icon: string }[] = [
{
id: 'google',
label: 'Google Calendar',
icon: 'google',
icon: 'i-mdi:google',
},
]

Expand Down
6 changes: 3 additions & 3 deletions components/explore/FilterMenuButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
:class="[{ disabled: disabled }, 'is-hidden-mobile flex items-center']"
@click="toggleSidebarFilters"
>
<NeoIcon
:icon="isSidebarFiltersOpen && !disabled ? 'times' : 'bars'"
<KIcon
:name="isSidebarFiltersOpen && !disabled ? 'i-mdi:close' : 'i-mdi:menu'"
size="medium"
/>
</a>
Expand All @@ -27,7 +27,7 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { NeoButton } from '@kodadot1/brick'
import ActiveCount from './ActiveCount.vue'
import { usePreferencesStore } from '@/stores/preferences'
import useActiveRouterFilters from '@/composables/useActiveRouterFilters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@
data-testid="item-add-to-cart"
@click="onClickShoppingCart"
>
<NeoIcon
<KIcon
size="medium"
class="w-4 h-4"
:icon="
:name="
shoppingCartStore.isItemInCart(nft.id)
? 'fa-striked-out-cart-shopping'
: 'fa-shopping-cart-outline-sharp'
? 'i-mdi:cart-off'
: 'i-mdi:cart'
"
pack="fa-kit"
/>
</NeoButton>
</div>
Expand All @@ -51,7 +50,7 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { NeoButton } from '@kodadot1/brick'
import GalleryItemPriceSection from '../GalleryItemActionSection.vue'
import { useShoppingCartStore } from '@/stores/shoppingCart'
import { usePreferencesStore } from '@/stores/preferences'
Expand Down
6 changes: 2 additions & 4 deletions components/identity/module/IdentityChain.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<template v-else>
<div :class="{ 'flex items-center': showBadge }">
<NeoIcon
<KIcon
v-if="showBadge"
icon="badge-check"
name="i-mdi:check"
class="mr-1"
pack="fass"
size="small"
/>

Expand Down Expand Up @@ -42,7 +41,6 @@

<script lang="ts" setup>
import type { GenericAccountId } from '@polkadot/types/generic/AccountId'
import { NeoIcon } from '@kodadot1/brick'
import IdentityPopover from './IdentityPopover.vue'
import { isMobileDevice } from '@/utils/extension'

Expand Down
7 changes: 2 additions & 5 deletions components/identity/module/IdentitySocial.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
target="_blank"
rel="nofollow noopener noreferrer"
>
<NeoIcon
pack="fab"
icon="x-twitter"
<KIcon
name="i-ri:twitter-x-fill"
/>
<span class="aligned">
{{ twitter }}
Expand All @@ -18,8 +17,6 @@
</template>

<script lang="ts" setup>
import { NeoIcon } from '@kodadot1/brick'

defineProps<{
twitter: string
showTwitter: boolean
Expand Down
11 changes: 5 additions & 6 deletions components/items/ItemsGrid/ItemsGridImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@
class="p-1 !border-l-0"
@click.prevent="onClickShoppingCart"
>
<NeoIcon
<KIcon
class="w-4 h-4"
:icon="
:name="
shoppingCartStore.isItemInCart(nft.id)
? 'fa-striked-out-cart-shopping'
: 'fa-shopping-cart-outline-sharp'
? 'i-mdi:cart-off'
: 'i-mdi:cart'
"
pack="fa-kit"
/>
</NeoButton>
</div>
Expand Down Expand Up @@ -76,7 +75,7 @@
<script setup lang="ts">
// PLEASE FIX bind-key href => to
import { resolveComponent } from 'vue'
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { NeoButton } from '@kodadot1/brick'
import useAtomicSwapAction from './useAtomicSwapAction'
import type { NftCardVariant } from '@/components/shared/nftCard/types'
import type { NFTWithMetadata } from '@/composables/useNft'
Expand Down
11 changes: 5 additions & 6 deletions components/items/ItemsGrid/ItemsGridImageTokenEntity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@
class="p-1 !border-l-0"
@click.prevent="onClickShoppingCart"
>
<NeoIcon
<KIcon
class="w-4 h-4"
:icon="
:name="
shoppingCartStore.isItemInCart(nftForShoppingCart.id)
? 'fa-striked-out-cart-shopping'
: 'fa-shopping-cart-outline-sharp'
? 'i-mdi:cart-off'
: 'i-mdi:cart'
"
pack="fa-kit"
/>
</NeoButton>
</div>
Expand Down Expand Up @@ -94,7 +93,7 @@
<script setup lang="ts">
// PLEASE FIX bind-key href => to
import { resolveComponent } from 'vue'
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { NeoButton } from '@kodadot1/brick'
import { getTokensNfts, useNftActions } from './useNftActions'
import type { NftCardVariant } from '@/components/shared/nftCard/types'
import type { TokenEntity } from '@/composables/useNft'
Expand Down
6 changes: 3 additions & 3 deletions components/massmint/Massmint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
class="absolute left-10 max-lg:static max-lg:mb-8"
@click="toOnborading"
>
<NeoIcon
icon="arrow-left"
<KIcon
name="i-mdi:arrow-left"
class="mr-1"
/>
{{ $t('massmint.backToOnbaording') }}
Expand Down Expand Up @@ -103,7 +103,7 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon } from '@kodadot1/brick'
import { NeoButton } from '@kodadot1/brick'
import UploadMediaZip from './uploadCompressedMedia/UploadCompressedMedia.vue'
import UploadDescription from './uploadDescription/UploadDescription.vue'
import OverviewTable from './OverviewTable.vue'
Expand Down
7 changes: 3 additions & 4 deletions components/profile/CuratedDrops.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
{{ $t('profiles.curatedGenerativDrops.title') }}
</p>

<NeoIcon
icon="badge-check"
pack="fass"
<KIcon
name="i-mdi:check"
class="text-k-accent"
/>
</div>
Expand Down Expand Up @@ -81,7 +80,7 @@
</template>

<script lang="ts" setup>
import { NeoIcon, NeoSkeleton, NeoTooltip } from '@kodadot1/brick'
import { NeoSkeleton, NeoTooltip } from '@kodadot1/brick'
import { useQuery } from '@tanstack/vue-query'
import { getDrops } from '@/services/fxart'

Expand Down
5 changes: 2 additions & 3 deletions components/profile/ProfileDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,8 @@

<NeoDropdownItem @click="shareOnX($i18n.t('sharing.profile'), shareURL, '')">
<div class="flex text-nowrap w-max items-center">
<NeoIcon
icon="x-twitter"
pack="fab"
<KIcon
name="i-ri:twitter-x-fill"
class="mr-3"
/>
{{ $t('share.twitter') }}
Expand Down
7 changes: 3 additions & 4 deletions components/profile/create/SelectImageField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
v-if="!vSelectedFile && !preview"
class="flex items-center justify-center bg-neutral-3 dark:bg-neutral-11 w-16 h-16"
>
<NeoIcon
icon="up-to-line"
pack="fas"
<KIcon
name="i-mdi:upload"
/>
</div>
<NuxtImg
Expand All @@ -39,7 +38,7 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoIcon, NeoUpload } from '@kodadot1/brick'
import { NeoButton, NeoUpload } from '@kodadot1/brick'

const NuxtImg = resolveComponent('NuxtImg')
const ONE_MB = 1024 * 1024
Expand Down
7 changes: 4 additions & 3 deletions components/profile/create/stages/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,14 @@
</template>

<script setup lang="ts">
import { NeoButton, NeoField, NeoIcon, NeoInput } from '@kodadot1/brick'
import { NeoButton, NeoField, NeoInput } from '@kodadot1/brick'
import type { StatusAPIResponse } from '@farcaster/auth-client'
import SelectImageField from '../SelectImageField.vue'
import type { ProfileFormData } from '.'
import type { Profile } from '@/services/profile'
import { toSubstrateAddress } from '@/services/profile'
import { addHttpToUrl } from '@/utils/url'
import KIcon from '@/components/KIcon.vue'

const FarcasterIcon = defineAsyncComponent(
() => import('@/assets/icons/farcaster-icon.svg?component'),
Expand All @@ -198,14 +199,14 @@ const socialLinks = [
},
{
name: 'website',
icon: () => h(NeoIcon, { icon: 'globe', pack: 'fas' }),
icon: () => h(KIcon, { name: 'i-mdi:earth' }),
model: 'website',
placeholder: 'Website',
testId: 'create-profile-input-website',
},
{
name: 'twitter',
icon: () => h(NeoIcon, { icon: 'x-twitter', pack: 'fab' }),
icon: () => h(KIcon, { name: 'i-ri:twitter-x-fill' }),
model: 'twitterHandle',
placeholder: 'Twitter Handle',
testId: 'create-profile-input-twitter-handle',
Expand Down
4 changes: 2 additions & 2 deletions components/search/SearchSuggestion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
@click="goToExploreResults(item)"
>
<div class="flex items-center">
<NeoIcon icon="history" />
<KIcon name="i-mdi:history" />
<div class="ml-3 history-label">
{{ item.name }}
</div>
Expand Down Expand Up @@ -280,7 +280,7 @@

<script setup lang="ts">
import { useDebounceFn } from '@vueuse/core'
import { NeoIcon, NeoSkeleton, NeoTabItem, NeoTabs } from '@kodadot1/brick'
import { NeoSkeleton, NeoTabItem, NeoTabs } from '@kodadot1/brick'
import { useTopCollections } from '../landing/topCollections/utils/useTopCollections'
import { fetchCollectionSuggestion } from './utils/collectionSearch'
import type { DefaultCollectionSuggestion, SearchQuery } from './types'
Expand Down
8 changes: 4 additions & 4 deletions components/shared/DragDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<slot name="title">
<span class="mb-4 text-left">{{ title }}</span>
</slot>
<NeoIcon
:icon="icon"
<KIcon
:name="icon"
class="icon-size text-k-grey py-3"
custom-size="fa-2x"
pack="fass"
Expand Down Expand Up @@ -57,7 +57,7 @@
</template>

<script setup lang="ts">
import { NeoIcon, NeoUpload } from '@kodadot1/brick'
import { NeoUpload } from '@kodadot1/brick'

const { $i18n } = useNuxtApp()

Expand All @@ -73,7 +73,7 @@ const props = withDefaults(
{
accept: '',
title: '',
icon: 'cloud-arrow-up',
icon: 'i-mdi:cloud-arrow-up',
subtitle: undefined,
disabled: false,
},
Expand Down
Loading
Loading