refactor: standardize prop naming conventions in Recent, MatchRom, SearchRom, Collection, and Platform components

This commit is contained in:
zurdi
2024-12-04 12:50:19 +00:00
parent a1a643d3ee
commit 2affca22d5
5 changed files with 28 additions and 29 deletions

View File

@@ -42,14 +42,14 @@ function onGameClick(emitData: { rom: SimpleRom; event: MouseEvent }) {
:key="rom.updated_at"
:rom="rom"
@click="onGameClick"
title-on-hover
titleOnHover
pointerOnHover
withLink
show-flags
show-fav
transform-scale
show-action-bar
show-platform-icon
showFlags
showFav
transformScale
showActionBar
showPlatformIcon
/>
</v-col>
</v-row>

View File

@@ -341,9 +341,8 @@ onBeforeUnmount(() => {
v-if="rom"
@click="showSources(matchedRom)"
:rom="matchedRom"
title-on-footer
transform-scale
title-on-hover
transformScale
titleOnHover
pointerOnHover
/>
</v-col>

View File

@@ -200,11 +200,11 @@ onBeforeUnmount(() => {
title-on-hover
pointerOnHover
withLink
show-flags
show-fav
transform-scale
show-action-bar
show-platform-icon
showFlags
showFav
transformScale
showActionBar
showPlatformIcon
/>
</v-col>
</v-row>

View File

@@ -308,16 +308,16 @@ onBeforeUnmount(() => {
<game-card
:key="rom.updated_at"
:rom="rom"
title-on-hover
titleOnHover
pointerOnHover
withLink
show-flags
show-action-bar
transform-scale
with-border
show-fav
show-platform-icon
:with-border-romm-accent="
showFlags
showActionBar
transformScale
withBorder
showFav
showPlatformIcon
:withBorderRommAccent="
romsStore.isSimpleRom(rom) && selectedRoms?.includes(rom)
"
@click="onGameClick"

View File

@@ -326,15 +326,15 @@ onBeforeUnmount(() => {
v-if="currentPlatform"
:key="rom.updated_at"
:rom="rom"
title-on-hover
titleOnHover
pointerOnHover
withLink
show-flags
show-action-bar
show-fav
transform-scale
with-border
:with-border-romm-accent="
showFlags
showActionBar
showFav
transformScale
withBorder
:withBorderRommAccent="
romsStore.isSimpleRom(rom) && selectedRoms?.includes(rom)
"
@click="onGameClick"