Also: fixes DialogContent/DialogFooter's close/action buttons to use our actual Button variant set (secondary) instead of the CLI's default ghost/outline variants, which don't exist on our re-themed Button. Adds an eslint override so shadcn-vue's single-word ui/ component names (Button.vue, Dialog.vue, ...) aren't flagged by vue/multi-word-component-names. This was the last PrimeVue-wrapped component, so lib/index.ts no longer imports anything from primevue or uses the ptThemeable helper. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
17 lines
317 B
Vue
17 lines
317 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"]
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
data-slot="dialog-header"
|
|
:class="cn('gap-2 flex flex-col', props.class)"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|