'use strict';

var jsxRuntime = require('react/jsx-runtime');
var utils = require('../utils-CTr7wn5d.js');

function TableHeader$1({ className, ...props }) {
    return (jsxRuntime.jsx("thead", { "data-slot": "table-header", className: utils.cn("[&_tr]:border-b", className), ...props }));
}
function TableBody$1({ className, ...props }) {
    return (jsxRuntime.jsx("tbody", { "data-slot": "table-body", className: utils.cn("[&_tr:last-child]:border-0", className), ...props }));
}
function TableFooter$1({ className, ...props }) {
    return (jsxRuntime.jsx("tfoot", { "data-slot": "table-footer", className: utils.cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props }));
}
function TableRow$1({ className, ...props }) {
    return (jsxRuntime.jsx("tr", { "data-slot": "table-row", className: utils.cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className), ...props }));
}
function TableHead$1({ className, ...props }) {
    return (jsxRuntime.jsx("th", { "data-slot": "table-head", className: utils.cn("h-10 px-2 text-start align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0", className), ...props }));
}
function TableCell$1({ className, ...props }) {
    return (jsxRuntime.jsx("td", { "data-slot": "table-cell", className: utils.cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", className), ...props }));
}
function TableCaption$1({ className, ...props }) {
    return (jsxRuntime.jsx("caption", { "data-slot": "table-caption", className: utils.cn("mt-4 text-sm text-muted-foreground", className), ...props }));
}

const Table = ({ className, ...props }) => (jsxRuntime.jsx("div", { "data-slot": "table-container", className: "relative w-full", children: jsxRuntime.jsx("table", { "data-slot": "table", className: utils.cn("w-full caption-bottom text-sm", className), ...props }) }));
const TableHeader = (props) => (jsxRuntime.jsx(TableHeader$1, { ...props }));
const TableBody = ({ className, ...props }) => (jsxRuntime.jsx(TableBody$1, { className: utils.cn("[&_tr]:border-border", className), ...props }));
const TableFooter = ({ className, ...props }) => (jsxRuntime.jsx(TableFooter$1, { className: utils.cn("border-border", className), ...props }));
const TableHead = ({ className, ...props }) => (jsxRuntime.jsx(TableHead$1, { className: utils.cn("h-11 px-3", className), ...props }));
const TableRow = ({ className, ...props }) => (jsxRuntime.jsx(TableRow$1, { className: utils.cn("border-border", className), ...props }));
const TableCell = ({ className, ...props }) => (jsxRuntime.jsx(TableCell$1, { className: utils.cn("px-3 py-2.5", className), ...props }));
const TableCaption = (props) => jsxRuntime.jsx(TableCaption$1, { ...props });

exports.Table = Table;
exports.TableBody = TableBody;
exports.TableCaption = TableCaption;
exports.TableCell = TableCell;
exports.TableFooter = TableFooter;
exports.TableHead = TableHead;
exports.TableHeader = TableHeader;
exports.TableRow = TableRow;
//# sourceMappingURL=Table.js.map
