import { tcv } from "@choiceform/design-system";
const PromptKitTv = tcv({
  slots: {
    root: "relative flex flex-col overflow-hidden bg-white dark:bg-gray-900",
    container: "flex min-h-0 flex-1 flex-col",
    viewport: "relative",
    content: "relative w-full",
    loadingContainer: "absolute inset-0 flex flex-col items-center justify-center gap-2 text-center",
    loading: "flex h-8 w-8 animate-spin rounded-full border-2 border-t-transparent",
    loadingText: "text-secondary-foreground text-body-small"
  }
});
tcv({
  slots: {
    root: "group/message-item grid min-w-0 grid-cols-[1.5rem_1fr] gap-2 px-8 py-2",
    assistantAvatar: "relative flex size-6 items-center justify-center rounded-md dark:invert",
    container: "flex min-w-0 flex-col items-start gap-2",
    content: "min-h-6 w-full space-y-2 py-px",
    userMessage: "text-secondary-foreground whitespace-pre-wrap",
    assistantMessage: "",
    footer: "flex w-full items-center justify-between gap-1",
    actions: "bg-secondary-background flex items-center gap-1 rounded-md border p-0.5",
    actionsItem: "text-secondary-foreground size-3.5",
    time: "text-secondary-foreground text-body-medium",
    code: "bg-secondary-background text-body-medium rounded px-1 py-0.5",
    p: "leading-lg mb-2 last:mb-0",
    h1: "mb-2 text-body-large-strong",
    h2: "mb-2 text-base font-bold",
    h3: "mb-2 text-body-small font-bold",
    ul: "mb-2 ml-4 list-disc",
    ol: "mb-2 ml-4 list-decimal",
    li: "mb-1",
    tableContainer: "overflow-x-auto",
    table: "w-full border-collapse",
    th: "border-default-boundary bg-tertiary-background border p-2 text-left",
    td: "border-default-boundary border p-2",
    blockquote: "mb-2 border-l-4 border-gray-300 pl-4 text-gray-600 italic",
    placeholder: "bg-no-repeat text-transparent"
  },
  variants: {
    showActions: {
      true: {
        footer: "opacity-100"
      },
      false: {
        footer: "opacity-0"
      }
    },
    ratingActions: {
      true: {
        actionsItem: "fill-default-foreground/20"
      },
      false: {
        actionsItem: "fill-none"
      }
    }
  },
  defaultVariants: {
    showActions: false,
    ratingActions: false
  }
});
tcv({
  slots: {
    root: "flex flex-col p-4",
    message: [
      "flex items-center gap-1 rounded-md border p-2",
      "bg-warning-background/20 border-warning-background text-warning-foreground"
    ]
  }
});
tcv({
  slots: {
    root: "mb-16 flex flex-1 flex-col items-center justify-center p-8",
    title: "mb-2 text-body-large-strong",
    description: "text-secondary-foreground"
  }
});
export {
  PromptKitTv
};
//# sourceMappingURL=tv.js.map
