import { cs } from "../utils/styles.js";
import { omitThemingProps, useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import Box from "../box/box.js";
import { jsx } from "react/jsx-runtime";

//#region src/panel/panel.tsx
/**
* Displays static or partially interactive content, such as text, images or buttons.
* Supports use cases of showing multiple segments of a page, each focusing on different data type or context.
*/
const Panel = vui((props, ref) => {
	const { className, ...rest } = omitThemingProps(props);
	const styles = useStyleConfig("Panel", props);
	return /* @__PURE__ */ jsx(Box, {
		bg: "white",
		className: cs("vui-panel", className),
		p: 2,
		ref,
		...styles,
		...rest
	});
});
Panel.displayName = "Panel";

//#endregion
export { Panel as default };
globalThis.__vuiVersion__ = "4.0.1"
//# sourceMappingURL=panel.js.map