* chore: add storybook * chore: unify FE codeabse * chore: update eslint rules * chore: harmonize the use of "subtle" color * chore: remove an extra sidebar rail * refactor: make panel items more consistent * chore: cleanups after merging new code from base * refactor: refine composables * fix: add lost import * chore: make icon style consistent * fix: don't show empty "supported" methods * refactor: solidify select items
36 lines
653 B
Vue
36 lines
653 B
Vue
<script setup lang="ts">
|
|
/**
|
|
* @component AppTableFooter
|
|
* @description The footer container for table summary rows.
|
|
*/
|
|
import { cn } from '@/utils/ui';
|
|
import type { HTMLAttributes } from 'vue';
|
|
|
|
/*
|
|
* Types & Interfaces.
|
|
*/
|
|
|
|
export interface AppTableFooterProps {
|
|
class?: HTMLAttributes['class'];
|
|
}
|
|
|
|
/*
|
|
* Component Setup.
|
|
*/
|
|
|
|
const props = defineProps<AppTableFooterProps>();
|
|
</script>
|
|
|
|
<template>
|
|
<tfoot
|
|
:class="
|
|
cn(
|
|
'border-t bg-zinc-100/50 font-medium dark:bg-zinc-800/50 [&>tr]:last:border-b-0',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</tfoot>
|
|
</template>
|