* 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
29 lines
516 B
Vue
29 lines
516 B
Vue
<script setup lang="ts">
|
|
/**
|
|
* @component AppCardDescription
|
|
* @description Supporting text for a card title.
|
|
*/
|
|
import { cn } from '@/utils/ui';
|
|
import type { HTMLAttributes } from 'vue';
|
|
|
|
/*
|
|
* Types & Interfaces.
|
|
*/
|
|
|
|
export interface AppCardDescriptionProps {
|
|
class?: HTMLAttributes['class'];
|
|
}
|
|
|
|
/*
|
|
* Component Setup.
|
|
*/
|
|
|
|
const props = defineProps<AppCardDescriptionProps>();
|
|
</script>
|
|
|
|
<template>
|
|
<p :class="cn('text-subtle-foreground text-sm', props.class)">
|
|
<slot />
|
|
</p>
|
|
</template>
|