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

//#region src/components/layout/Flow.tsx
const FlowElement = tasty({ styles: {
	display: "block",
	flow: "column"
} });
const STYLE_PROPS = CONTAINER_STYLES;
const Flow = forwardRef(function Flow(props, ref) {
	const styles = extractStyles(props, STYLE_PROPS);
	return /* @__PURE__ */ jsx(FlowElement, {
		...filterBaseProps(props, { eventProps: true }),
		ref,
		styles
	});
});

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