@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
1 lines • 1.78 kB
JavaScript
;var chunkD5PAWOAZ_cjs=require('./chunk-D5PAWOAZ.cjs'),jsxRuntime=require('react/jsx-runtime');function c({className:t,...e}){return jsxRuntime.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:jsxRuntime.jsx("table",{"data-slot":"table",className:chunkD5PAWOAZ_cjs.a("w-full caption-bottom text-sm",t),...e})})}function P({className:t,...e}){return jsxRuntime.jsx("thead",{"data-slot":"table-header",className:chunkD5PAWOAZ_cjs.a("[&_tr]:border-b",t),...e})}function h({className:t,...e}){return jsxRuntime.jsx("tbody",{"data-slot":"table-body",className:chunkD5PAWOAZ_cjs.a("[&_tr:last-child]:border-0",t),...e})}function N({className:t,...e}){return jsxRuntime.jsx("tfoot",{"data-slot":"table-footer",className:chunkD5PAWOAZ_cjs.a("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",t),...e})}function B({className:t,...e}){return jsxRuntime.jsx("tr",{"data-slot":"table-row",className:chunkD5PAWOAZ_cjs.a("hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),...e})}function q({className:t,...e}){return jsxRuntime.jsx("th",{"data-slot":"table-head",className:chunkD5PAWOAZ_cjs.a("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0",t),...e})}function E({className:t,...e}){return jsxRuntime.jsx("td",{"data-slot":"table-cell",className:chunkD5PAWOAZ_cjs.a("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",t),...e})}function K({className:t,...e}){return jsxRuntime.jsx("caption",{"data-slot":"table-caption",className:chunkD5PAWOAZ_cjs.a("text-muted-foreground mt-4 text-sm",t),...e})}exports.a=c;exports.b=P;exports.c=h;exports.d=N;exports.e=B;exports.f=q;exports.g=E;exports.h=K;