Skip to content

Commit 6c7f6f9

Browse files
committed
fix: lint
1 parent cde98cb commit 6c7f6f9

File tree

7 files changed

+273
-93
lines changed

7 files changed

+273
-93
lines changed

docs/components/DemoStateArray.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<section class="w-full h-full relative" :data-index="currentIndex">
2+
<section
3+
class="w-full h-full relative"
4+
:data-index="currentIndex"
5+
>
36
<div
47
v-gsap.onState-index-0.inherit.from="{ scale: 0, duration: 0.3 }"
58
class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 h-[80px] lg:h-[150px] aspect-[3/2] rounded-lg bg-neutral-300 dark:bg-neutral-600 flex items-center justify-center"
@@ -20,8 +23,8 @@
2023
</div>
2124

2225
<button
23-
@click="increase()"
2426
class="absolute -bottom-4 left-1/2 -translate-x-1/2 px-3 py-1 rounded-md bg-neutral-300 dark:bg-neutral-600"
27+
@click="increase()"
2528
>
2629
Next Card
2730
</button>

docs/components/DemoStateToggle.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template>
22
<div
3-
:data-visible="isVisible"
43
v-gsap.onState-visible.from="{ scale: 0, rotate: -25, duration: 0.3 }"
4+
:data-visible="isVisible"
55
class="mt-16 w-[80px] aspect-square rounded-lg bg-neutral-300 dark:bg-neutral-600"
6-
></div>
6+
/>
77
<button
8-
@click="isVisible = !isVisible"
98
class="px-3 py-1 mt-4 rounded-md bg-neutral-300 dark:bg-neutral-600"
9+
@click="isVisible = !isVisible"
1010
>
1111
{{ isVisible ? 'Hide' : 'Show' }} Element
1212
</button>

docs/components/Snippet.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<pre class="Snippet" v-html="html" />
2+
<pre
3+
class="Snippet"
4+
v-html="html"
5+
/>
36
</template>
47

58
<script setup lang="ts">

0 commit comments

Comments
 (0)