/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-0d43332 | Cube Dev Team */
import { extractStyles } from "../../../utils/styles.js";
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
import { forwardRef } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/content/Card/Card.tsx
const CardElement = tasty({
	role: "region",
	styles: {
		display: "block",
		flow: "column",
		radius: "(1cr + 1bw)",
		fill: "#white",
		border: "#border",
		padding: "1.5x",
		preset: "t3"
	},
	styleProps: CONTAINER_STYLES
});
const Card = forwardRef(function Card(props, ref) {
	const styles = extractStyles(props, CONTAINER_STYLES);
	return /* @__PURE__ */ jsx(CardElement, {
		...filterBaseProps(props, { eventProps: true }),
		ref,
		styles
	});
});

//#endregion
export { Card };
//# sourceMappingURL=Card.js.map