UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

30 lines (29 loc) 840 B
import { jsx as o } from "react/jsx-runtime"; import { c } from "./index-DG4iIeSU.mjs"; import { c as s } from "./index-2NvaPZWc.mjs"; import { S as d } from "./index-D2LZVjSn.mjs"; const m = {}, n = c( "rounded-md border bg-card text-card-foreground shadow-xs", { variants: m } ), f = ({ className: a, asChild: r, ...t }) => /* @__PURE__ */ o(r ? d : "div", { "data-slot": "card", className: n({ className: a }), ...t }), x = ({ className: a, ...r }) => /* @__PURE__ */ o( "header", { "data-slot": "card-header", className: s("mb-4 flex items-center gap-2 px-5 pt-4", a), ...r } ), u = ({ className: a, asChild: r, ...t }) => /* @__PURE__ */ o( r ? d : "h5", { "data-slot": "card-title", className: s("text-lg font-medium", a), ...t } ); export { f as C, x as a, u as b, n as c, m as d };