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

//#region src/components/content/Paragraph.tsx
const DEFAULT_STYLES = {
	preset: "p3",
	color: "#dark-02",
	display: "block"
};
const STYLE_PROPS = [...CONTAINER_STYLES, ...TEXT_STYLES];
const Paragraph = forwardRef(function Paragraph(props, ref) {
	const styles = extractStyles(props, STYLE_PROPS, DEFAULT_STYLES);
	return /* @__PURE__ */ jsx(_Text, {
		as: "p",
		qa: "Paragraph",
		...props,
		ref,
		styles
	});
});

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