chore: add eol

This commit is contained in:
Benjamin Canac
2024-03-13 16:58:07 +01:00
parent 34d6e18638
commit 9a42fa415f
46 changed files with 46 additions and 46 deletions

View File

@@ -3,4 +3,4 @@ export default defineAppConfig({
primary: 'sky',
gray: 'cool'
}
})
})

View File

@@ -22,4 +22,4 @@ const components = ['avatar', 'badge', 'button', 'chip', 'collapsible', 'kbd', '
</div>
</UContainer>
</UProvider>
</template>
</template>

View File

@@ -45,4 +45,4 @@
<UAvatar text="+1" size="3xl" />
</div>
</div>
</template>
</template>

View File

@@ -27,4 +27,4 @@
<UBadge label="Badge" size="lg" />
</div>
</div>
</template>
</template>

View File

@@ -88,4 +88,4 @@
</UButton>
</div>
</div>
</template>
</template>

View File

@@ -35,4 +35,4 @@ const items = [{
icon: 'i-heroicons-bell',
count: 0
}]
</script>
</script>

View File

@@ -10,4 +10,4 @@
<div class="bg-primary-500 dark:bg-primary-400 rounded-md h-12 w-full" />
</template>
</UCollapsible>
</template>
</template>

View File

@@ -1,3 +1,3 @@
<template>
<div />
</template>
</template>

View File

@@ -3,4 +3,4 @@
<UKbd value="⌘" />
<UKbd value="K" />
</div>
</template>
</template>

View File

@@ -33,4 +33,4 @@ function send () {
open.value = false
}, 1000)
}
</script>
</script>

View File

@@ -7,4 +7,4 @@
<USkeleton class="h-4 w-[200px]" />
</div>
</div>
</template>
</template>

View File

@@ -2,4 +2,4 @@
<UTooltip text="Tooltip" :shortcuts="['⌘', 'K']" arrow>
<UAvatar src="https://avatars.githubusercontent.com/u/739984?v=4" />
</UTooltip>
</template>
</template>

View File

@@ -37,4 +37,4 @@ defineSlots<BadgeSlots>()
{{ label }}
</slot>
</Primitive>
</template>
</template>

View File

@@ -109,4 +109,4 @@ const trailingIconClass = computed(() => ui.value.trailingIcon())
<UIcon v-if="isTrailing && trailingIconName" :name="trailingIconName" :class="trailingIconClass" aria-hidden="true" />
</slot>
</ULink>
</template>
</template>

View File

@@ -38,4 +38,4 @@ const ui = computed(() => tv({ extend: card, slots: props.ui })())
<slot name="footer" />
</div>
</Primitive>
</template>
</template>

View File

@@ -55,4 +55,4 @@ const ui = computed(() => chip({
</slot>
</span>
</Primitive>
</template>
</template>

View File

@@ -66,4 +66,4 @@ const ui = computed(() => tv({ extend: collapsible, slots: props.ui })())
height: 0;
}
}
</style>
</style>

View File

@@ -24,4 +24,4 @@ const props = withDefaults(defineProps<ContainerProps>(), { as: 'div' })
<Primitive :as="as" :class="container({ class: props.class })">
<slot />
</Primitive>
</template>
</template>

View File

@@ -10,4 +10,4 @@ defineProps<IconProps>()
<template>
<Icon :name="name" />
</template>
</template>

View File

@@ -35,4 +35,4 @@ defineSlots<KbdSlots>()
{{ value }}
</slot>
</Primitive>
</template>
</template>

View File

@@ -70,4 +70,4 @@ function resolveLinkClass (route: RouteLocation, currentRoute: RouteLocation, {
<slot v-bind="{ isActive: active !== undefined ? active : (exact ? isExactActive : isActive) }" />
</a>
</NuxtLink>
</template>
</template>

View File

@@ -151,4 +151,4 @@ const Component = computed(() => props.mode === 'hover' ? HoverCard : Popover)
transform: translateX(0.25rem);
}
}
</style>
</style>

View File

@@ -30,4 +30,4 @@ const toastProps = toRef(() => props.toast as ToastProviderProps)
</ToastProvider>
</TooltipProvider>
</ConfigProvider>
</template>
</template>

View File

@@ -24,4 +24,4 @@ const props = withDefaults(defineProps<SkeletonProps>(), { as: 'div' })
<Primitive :as="as" :class="skeleton({ class: props.class })">
<slot />
</Primitive>
</template>
</template>

View File

@@ -109,4 +109,4 @@ const ui = computed(() => tv({ extend: tooltip, slots: props.ui })())
transform: translateY(0);
}
}
</style>
</style>

View File

@@ -2,4 +2,4 @@ declare module '#build/app.config' {
import type { AppConfig } from '@nuxt/schema'
const _default: AppConfig
export default _default
}
}

View File

@@ -48,4 +48,4 @@ export default {
defaultVariants: {
size: 'sm'
}
}
}

View File

@@ -54,4 +54,4 @@ export default (config: { colors: string[] }) => ({
variant: 'solid',
size: 'sm'
}
})
})

View File

@@ -166,4 +166,4 @@ export default (config: { colors: string[] }) => ({
variant: 'solid',
size: 'sm'
}
})
})

View File

@@ -5,4 +5,4 @@ export default {
body: 'px-4 py-5 sm:p-6',
footer: 'p-4 sm:px-6'
}
}
}

View File

@@ -53,4 +53,4 @@ export default (config: { colors: string[] }) => ({
color: 'primary',
position: 'top-right'
}
})
})

View File

@@ -3,4 +3,4 @@ export default {
root: '',
content: 'data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden'
}
}
}

View File

@@ -1,3 +1,3 @@
export default {
base: 'max-w-7xl mx-auto px-4 sm:px-6 lg:px-8'
}
}

View File

@@ -4,4 +4,4 @@ export default {
empty: 'i-heroicons-circle-stack-20-solid',
loading: 'i-heroicons-arrow-path-20-solid',
search: 'i-heroicons-magnifying-glass-20-solid'
}
}

View File

@@ -9,4 +9,4 @@ export { default as icons } from './icons'
export { default as kbd } from './kbd'
export { default as popover } from './popover'
export { default as skeleton } from './skeleton'
export { default as tooltip } from './tooltip'
export { default as tooltip } from './tooltip'

View File

@@ -10,4 +10,4 @@ export default {
defaultVariants: {
size: 'sm'
}
}
}

View File

@@ -3,4 +3,4 @@ export default {
content: 'bg-white dark:bg-gray-900 shadow-lg rounded-md ring ring-gray-200 dark:ring-gray-800 will-change-[transform,opacity] data-[state=open]:data-[side=top]:animate-[popover-down-open_200ms_ease-out] data-[state=closed]:data-[side=top]:animate-[popover-down-closed_200ms_ease-in] data-[state=open]:data-[side=right]:animate-[popover-left-open_200ms_ease-out] data-[state=closed]:data-[side=right]:animate-[popover-left-closed_200ms_ease-in] data-[state=open]:data-[side=left]:animate-[popover-right-open_200ms_ease-out] data-[state=closed]:data-[side=left]:animate-[popover-right-closed_200ms_ease-in] data-[state=open]:data-[side=bottom]:animate-[popover-up-open_200ms_ease-out] data-[state=closed]:data-[side=bottom]:animate-[popover-up-closed_200ms_ease-in]',
arrow: 'fill-gray-200 dark:fill-gray-800'
}
}
}

View File

@@ -1,3 +1,3 @@
export default {
base: 'animate-pulse rounded-md bg-gray-50 dark:bg-gray-800'
}
}

View File

@@ -6,4 +6,4 @@ export default {
// eslint-disable-next-line quotes
shortcuts: `hidden lg:inline-flex items-center shrink-0 gap-0.5 before:content-['·'] before:mr-0.5`
}
}
}

View File

@@ -14,4 +14,4 @@ describe('Card', () => {
const html = await ComponentRender(nameOrHtml, options, Card)
expect(html).toMatchSnapshot()
})
})
})

View File

@@ -9,4 +9,4 @@ describe('Collapsible', () => {
const html = await ComponentRender(nameOrHtml, options, Collapsible)
expect(html).toMatchSnapshot()
})
})
})

View File

@@ -12,4 +12,4 @@ describe('Container', () => {
const html = await ComponentRender(nameOrHtml, options, Container)
expect(html).toMatchSnapshot()
})
})
})

View File

@@ -14,4 +14,4 @@ describe('Link', () => {
const html = await ComponentRender(nameOrHtml, options, Link)
expect(html).toMatchSnapshot()
})
})
})

View File

@@ -9,4 +9,4 @@ describe('Popover', () => {
const html = await ComponentRender(nameOrHtml, options, Popover)
expect(html).toMatchSnapshot()
})
})
})

View File

@@ -11,4 +11,4 @@ describe('Skeleton', () => {
const html = await ComponentRender(nameOrHtml, options, Skeleton)
expect(html).toMatchSnapshot()
})
})
})

View File

@@ -9,4 +9,4 @@ describe.skip('Tooltip', () => {
const html = await ComponentRender(nameOrHtml, options, Tooltip)
expect(html).toMatchSnapshot()
})
})
})