Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelodelain committed Jun 13, 2024
1 parent 060b36e commit 6ee6a4c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 12 deletions.
5 changes: 4 additions & 1 deletion components/atoms/VTag/Default.stories.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<template>
<NuxtStory :class="$style.root">
<VTag label="Tag label default" />
<VTag label="Tag label sm" size="sm" />
<VTag
label="Tag label sm"
size="sm"
/>
</NuxtStory>
</template>

Expand Down
33 changes: 25 additions & 8 deletions components/molecules/VModal/Alignment.stories.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,31 @@ function open() {
<NuxtStory :class="$style.root">
<template #aside>
<p>Modal position on enter:</p>
<br />
<select id="alignment-select" name="alignments" @input="onSelect">
<option value="">--Please choose an alignment--</option>
<option v-for="alignment in alignments" :key="alignment" :value="alignment">
<br>
<select
id="alignment-select"
name="alignments"
@input="onSelect"
>
<option value="">
--Please choose an alignment--
</option>
<option
v-for="alignment in alignments"
:key="alignment"
:value="alignment"
>
{{ alignment }}
</option>
</select>
<br />
<br />
<VButton emphasis="primary" @click="open">Open</VButton>
<br>
<br>
<VButton
emphasis="primary"
@click="open"
>
Open
</VButton>
</template>

<VModal
Expand All @@ -39,7 +54,9 @@ function open() {
@after-leave="hasLeave = true"
@enter="hasLeave = false"
>
<div :class="$style.content">content</div>
<div :class="$style.content">
content
</div>
</VModal>
</NuxtStory>
</template>
Expand Down
19 changes: 16 additions & 3 deletions components/molecules/VModal/Default.stories.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,23 @@ function onClick() {

<template>
<NuxtStory :class="$style.root">
<VButton :class="$style.button" emphasis="secondary" @click="onClick">Open</VButton>
<VButton
:class="$style.button"
emphasis="secondary"
@click="onClick"
>
Open
</VButton>

<VModal v-if="!hasLeave" v-model="isOpen" @enter="hasLeave = false" @after-leave="hasLeave = true">
<div :class="$style.content">content test</div>
<VModal
v-if="!hasLeave"
v-model="isOpen"
@enter="hasLeave = false"
@after-leave="hasLeave = true"
>
<div :class="$style.content">
content test
</div>
</VModal>
</NuxtStory>
</template>
Expand Down

0 comments on commit 6ee6a4c

Please sign in to comment.