import{r as c,j as a,c as b}from"./iframe-B8FSoBNY.js";import{c as m}from"./create-slot-recipe-context-DAhDE6G_.js";import{c as l}from"./factory-DAJZwK4o.js";const{StylesProvider:p,ClassNamesProvider:u,useRecipeResult:f,withContext:e}=m({key:"table"}),T=c.forwardRef(function({native:s,...t},n){const{styles:o,props:d,classNames:r}=f(t),i=c.useMemo(()=>s?{...o.root,"& thead":o.header,"& tbody":o.body,"& tfoot":o.footer,"& thead th":o.columnHeader,"& tr":o.row,"& td":o.cell,"& caption":o.caption}:o.root,[o,s]);return a.jsx(u,{value:r,children:a.jsx(p,{value:o,children:a.jsx(l.table,{ref:n,...d,css:[i,t.css],className:b(r?.root,t.className)})})})}),R=e("tr","row"),v=l("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}}),C=e("thead","header");e("tfoot","footer");const S=e("th","columnHeader"),j=e("td","cell");e("caption","caption",{defaultProps:{captionSide:"bottom"}});const k=e("tbody","body");e("colgroup");e("col");export{v as T,T as a,C as b,R as c,S as d,k as e,j as f};
