"use strict";const o=require("react/jsx-runtime"),H=require("@chakra-ui/react"),N=require("@chakra-ui/react/styled-system"),w=require("./extract-style-props-DVhOcGEi.cjs.js"),t=require("./box-CWni3A32.cjs.js"),{withProvider:P,withContext:l}=H.createSlotRecipeContext({key:"nimbusTable"}),B=P("table","root"),h=l("caption","caption"),q=l("thead","header"),F=l("tbody","body"),f=l("tfoot","footer"),A=l("tr","row"),G=l("th","columnHeader"),v=l("td","cell"),a=e=>{const{ref:m,...y}=e,C=N.useSlotRecipe({key:"nimbusTable"}),[x,S]=C.splitVariantProps(y),[R,j]=w.extractStyleProps(S);return o.jsx(B,{ref:m,...x,...R,...j})};a.displayName="Table.Root";const r=e=>o.jsx(h,{...e});r.displayName="Table.Caption";const s=e=>o.jsx(q,{...e});s.displayName="Table.Header";const n=e=>o.jsx(F,{...e});n.displayName="Table.Body";const b=e=>o.jsx(f,{...e});b.displayName="Table.Footer";const c=e=>o.jsx(A,{...e});c.displayName="Table.Row";const T=e=>o.jsx(G,{...e});T.displayName="Table.ColumnHeader";const u=e=>o.jsx(v,{...e});u.displayName="Table.Cell";const i=e=>o.jsx(t.Box,{as:"div",overflow:"auto",...e});i.displayName="Table.ScrollArea";const p=e=>o.jsx(t.Box,{as:"colgroup",...e});p.displayName="Table.ColumnGroup";const d=e=>o.jsx(t.Box,{as:"col",...e});d.displayName="Table.Column";const k={Root:a,Caption:r,Header:s,Body:n,Footer:b,Row:c,ColumnHeader:T,Cell:u,ScrollArea:i,ColumnGroup:p,Column:d};exports.Table=k;exports.TableBody=n;exports.TableCaption=r;exports.TableCell=u;exports.TableColumn=d;exports.TableColumnGroup=p;exports.TableColumnHeader=T;exports.TableFooter=b;exports.TableHeader=s;exports.TableRoot=a;exports.TableRow=c;exports.TableScrollArea=i;
//# sourceMappingURL=table-CqYjQffW.cjs.js.map
