/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_index = require("../../node_modules/classnames/index.js");
const require_settings = require("../../settings.js");
const require_devtools = require("../../global/js/utils/devtools.js");
let react = require("react");
react = require_runtime.__toESM(react);
let prop_types = require("prop-types");
prop_types = require_runtime.__toESM(prop_types);
//#region src/components/FilterPanel/FilterPanel.jsx
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
var import_classnames = /* @__PURE__ */ require_runtime.__toESM(require_index.default);
const blockClass = `${require_settings.pkg.prefix}--filter-panel`;
const componentName = "FilterPanel";
/**
* The container for filter panel subcomponents.
* @deprecated This component is deprecated
*/
let FilterPanel = react.default.forwardRef(({ children, className, title, ...rest }, ref) => {
	return /* @__PURE__ */ react.default.createElement("section", {
		...rest,
		className: (0, import_classnames.default)(blockClass, className),
		ref,
		...require_devtools.getDevtoolsProps(componentName)
	}, title && /* @__PURE__ */ react.default.createElement("h1", { className: `${blockClass}__title` }, title), children);
});
FilterPanel.deprecated = {
	level: "warn",
	details: `This component is deprecated`
};
FilterPanel = require_settings.pkg.checkComponentEnabled(FilterPanel, componentName);
FilterPanel.displayName = componentName;
FilterPanel.propTypes = {
	/**
	* Provide the contents of the FilterPanel.
	*/
	children: prop_types.default.node,
	/**
	* Provide an optional class to be applied to the containing node.
	*/
	className: prop_types.default.string,
	/**
	* Title text for the filter panel.
	*/
	title: prop_types.default.node
};
//#endregion
Object.defineProperty(exports, "FilterPanel", {
	enumerable: true,
	get: function() {
		return FilterPanel;
	}
});
