/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-a795c5b | Cube Dev Team */
import { extractStyles } from "../../tasty/utils/styles.js";
import { CONTAINER_STYLES, TEXT_STYLES } from "../../tasty/styles/list.js";
import { tasty } from "../../tasty/tasty.js";
import { filterBaseProps } from "../../tasty/utils/filter-base-props.js";
import { useSlotProps } from "../../utils/react/Slots.js";
import { forwardRef } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/content/Footer.tsx
const STYLE_LIST = [...CONTAINER_STYLES, ...TEXT_STYLES];
const FooterElement = tasty({
	qa: "Footer",
	"data-id": "Footer",
	styles: {
		gridArea: "footer",
		display: "block",
		flow: "column"
	}
});
const Footer = forwardRef(function Footer(props, ref) {
	props = useSlotProps(props, "footer");
	const styles = extractStyles(props, STYLE_LIST);
	return /* @__PURE__ */ jsx(FooterElement, {
		...filterBaseProps(props, { eventProps: true }),
		ref,
		styles
	});
});

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