'use strict';

var jsxRuntime = require('../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
var index = require('../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.cjs');
var React = require('react');
var table_module = require('./table.module.css.cjs');

function _interopNamespaceDefault(e) {
    var n = Object.create(null);
    if (e) {
        Object.keys(e).forEach(function (k) {
            if (k !== 'default') {
                var d = Object.getOwnPropertyDescriptor(e, k);
                Object.defineProperty(n, k, d.get ? d : {
                    enumerable: true,
                    get: function () { return e[k]; }
                });
            }
        });
    }
    n.default = e;
    return Object.freeze(n);
}

var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);

const table = index.cva(table_module.default.table);
const TableRoot = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("div", { style: { width: "100%", overflow: "auto" }, children: jsxRuntime.jsxRuntimeExports.jsx("table", { ref: ref, className: table({ className }), ...props }) })));
TableRoot.displayName = "Table";
const header = index.cva(table_module.default.header);
const TableHeader = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("thead", { ref: ref, className: header({ className }), ...props })));
TableHeader.displayName = "TableHeader";
const body = index.cva(table_module.default.body);
const TableBody = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("tbody", { ref: ref, className: body({ className }), ...props })));
TableBody.displayName = "TableBody";
const footer = index.cva(table_module.default.footer);
const TableFooter = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("tfoot", { ref: ref, className: footer({ className }), ...props })));
TableFooter.displayName = "TableFooter";
const row = index.cva(table_module.default.row);
const TableRow = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("tr", { ref: ref, className: row({ className }), ...props })));
TableRow.displayName = "TableRow";
const head = index.cva(table_module.default.head);
const TableHead = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("th", { ref: ref, className: head({ className }), ...props })));
TableHead.displayName = "TableHead";
const cell = index.cva(table_module.default.cell);
const TableCell = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("td", { ref: ref, className: cell({ className }), ...props })));
TableCell.displayName = "TableCell";
const caption = index.cva(table_module.default.caption);
const TableCaption = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntime.jsxRuntimeExports.jsx("caption", { ref: ref, className: caption({ className }), ...props })));
TableCaption.displayName = "TableCaption";
const Table = Object.assign(TableRoot, {
    Header: TableHeader,
    Body: TableBody,
    Footer: TableFooter,
    Head: TableHead,
    Row: TableRow,
    Cell: TableCell,
    Caption: TableCaption,
});

exports.Table = Table;
//# sourceMappingURL=table.cjs.map
