diff --git a/components/bsx/Create/RoyaltyForm.vue b/components/bsx/Create/RoyaltyForm.vue index 72eec565d2..1be5b6d153 100644 --- a/components/bsx/Create/RoyaltyForm.vue +++ b/components/bsx/Create/RoyaltyForm.vue @@ -29,7 +29,7 @@ const { accountId } = useAuth() const props = defineProps({ amount: { - type: Number, + type: [Number, String], required: true, }, address: { diff --git a/components/carousel/module/CarouselMedia.vue b/components/carousel/module/CarouselMedia.vue index a098e49ab7..5ae4fe3a90 100644 --- a/components/carousel/module/CarouselMedia.vue +++ b/components/carousel/module/CarouselMedia.vue @@ -6,11 +6,18 @@ :to="urlOf({ id: item.id, url, chain: item.chain })" :aria-label="`slide ${index + 1} of ${length}`" rel="nofollow"> + Card Icon + :title="item.name" + :audio-player-cover="imageSrc || ''" + audio-hover-on-cover-play /> @@ -35,6 +42,7 @@ const isCollection = inject('isCollection', false) const { urlPrefix } = usePrefix() const imageSrc = ref(props.item.image) +const { showCardIcon, cardIcon } = useNftCardIcon(computed(() => props.item)) onMounted(async () => { if (!props.item.image) { @@ -43,3 +51,11 @@ onMounted(async () => { } }) + diff --git a/components/massmint/ChooseCollectionDropdown.vue b/components/common/ChooseCollectionDropdown.vue similarity index 78% rename from components/massmint/ChooseCollectionDropdown.vue rename to components/common/ChooseCollectionDropdown.vue index 9a18a3032f..4b298ca719 100644 --- a/components/massmint/ChooseCollectionDropdown.vue +++ b/components/common/ChooseCollectionDropdown.vue @@ -1,14 +1,26 @@ @@ -44,6 +48,7 @@ import Buy from '@/components/buy/Buy.vue' const { $config } = useNuxtApp() const route = useRoute() +const { listingCartEnabled } = useListingCartConfig() useNuxt2Meta({ link: [ diff --git a/libs/static/package.json b/libs/static/package.json index e7c7f6805c..2340eeead3 100644 --- a/libs/static/package.json +++ b/libs/static/package.json @@ -32,11 +32,11 @@ "devDependencies": { "@vitest/coverage-c8": "^0.33.0", "changelogen": "^0.5.5", - "eslint": "^8.49.0", + "eslint": "^8.50.0", "eslint-config-unjs": "^0.2.1", "prettier": "^2.8.8", "typescript": "^4.9.5", "unbuild": "^1.2.1", - "vitest": "^0.34.4" + "vitest": "^0.34.5" } } diff --git a/libs/ui/package.json b/libs/ui/package.json index 94d54fd6cb..33f3cd3051 100644 --- a/libs/ui/package.json +++ b/libs/ui/package.json @@ -12,10 +12,10 @@ "devDependencies": { "@histoire/plugin-vue2": "^0.17.1", "@vitejs/plugin-vue2": "^2.2.0", - "@oruga-ui/oruga": "^0.6.0", - "eslint": "^8.49.0", + "@oruga-ui/oruga": "^0.7.0", + "eslint": "^8.50.0", "eslint-plugin-vue": "^8.7.1", - "histoire": "^0.17.0", + "histoire": "^0.17.2", "vite": "^3.2.7", "vue": "2.7.14" }, diff --git a/libs/ui/src/components/MediaItem/MediaItem.vue b/libs/ui/src/components/MediaItem/MediaItem.vue index 5ee976a386..ad8b56122c 100644 --- a/libs/ui/src/components/MediaItem/MediaItem.vue +++ b/libs/ui/src/components/MediaItem/MediaItem.vue @@ -1,5 +1,5 @@