Files
ui/test/components/__snapshots__/Separator.spec.ts.snap
2025-05-28 12:46:30 +02:00

119 lines
5.4 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`Separator > renders with as correctly 1`] = `"<span data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row"><div class="border-default w-full border-solid border-t"></div><!--v-if--></span>"`;
exports[`Separator > renders with avatar correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<div class="font-medium text-default flex mx-3 whitespace-nowrap"><span class="inline-flex items-center justify-center select-none rounded-full align-middle bg-elevated size-5 text-[10px] shrink-0"><img role="img" src="https://github.com/benjamincanac.png" width="20" height="20" class="h-full w-full rounded-[inherit] object-cover"></span></div>
<div class="border-default w-full border-solid border-t"></div>
</div>"
`;
exports[`Separator > renders with class correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row-reverse">
<div class="border-default w-full border-solid border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with color primary correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-primary w-full border-solid border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with decorative correctly 1`] = `
"<div data-orientation="horizontal" role="none" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with icon correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<div class="font-medium text-default flex mx-3 whitespace-nowrap"><span class="iconify i-lucide:image shrink-0 size-5" aria-hidden="true"></span></div>
<div class="border-default w-full border-solid border-t"></div>
</div>"
`;
exports[`Separator > renders with label correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<div class="font-medium text-default flex mx-3 whitespace-nowrap"><span class="text-sm">+1</span></div>
<div class="border-default w-full border-solid border-t"></div>
</div>"
`;
exports[`Separator > renders with orientation vertical correctly 1`] = `
"<div data-orientation="vertical" aria-orientation="vertical" role="separator" class="flex items-center align-center text-center h-full flex-col">
<div class="border-default h-full border-solid border-s"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with size lg correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t-[4px]"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with size md correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t-[3px]"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with size sm correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t-[2px]"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with size xl correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t-[5px]"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with size xs correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with type dashed correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-dashed border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with type dotted correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-dotted border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with type solid correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<!--v-if-->
</div>"
`;
exports[`Separator > renders with ui correctly 1`] = `
"<div data-orientation="horizontal" role="separator" class="flex items-center align-center text-center w-full flex-row">
<div class="border-default w-full border-solid border-t"></div>
<!--v-if-->
</div>"
`;