import { fn } from '@storybook/test';
import { DeleteFeatureDialog } from './delete-feature-dialog.js';
const meta = {
    title: 'Composed/DeleteFeatureDialog',
    component: DeleteFeatureDialog,
    tags: ['autodocs'],
    parameters: {
        layout: 'centered',
    },
    args: {
        open: true,
        onOpenChange: fn().mockName('onOpenChange'),
        onConfirm: fn().mockName('onConfirm'),
        isDeleting: false,
        featureName: 'User Authentication',
        featureId: 'feat-abc-123',
    },
};
export default meta;
export const Default = {};
export const WithChildren = {
    args: {
        hasChildren: true,
    },
};
export const Deleting = {
    args: {
        isDeleting: true,
    },
};
export const DeletingWithChildren = {
    args: {
        isDeleting: true,
        hasChildren: true,
    },
};
export const WithOpenPr = {
    args: {
        hasOpenPr: true,
    },
};
export const WithOpenPrAndChildren = {
    args: {
        hasOpenPr: true,
        hasChildren: true,
    },
};
export const DeletingWithOpenPr = {
    args: {
        isDeleting: true,
        hasOpenPr: true,
    },
};
