/**
 * 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');
const require_FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.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/FilterPanelGroup/FilterPanelGroup.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-group`;
const componentName = "FilterPanelGroup";
/**
* A container with a label and optional count.
* @deprecated This component is deprecated
*/
let FilterPanelGroup = react.default.forwardRef(({ children, className, count, labelText, title, ...rest }, ref) => {
	return /* @__PURE__ */ react.default.createElement("div", {
		...rest,
		className: (0, import_classnames.default)(blockClass, className),
		ref,
		...require_devtools.getDevtoolsProps(componentName)
	}, labelText && /* @__PURE__ */ react.default.createElement("h2", { className: `${blockClass}__title` }, /* @__PURE__ */ react.default.createElement(require_FilterPanelLabel.FilterPanelLabel, {
		count,
		labelText,
		title
	})), /* @__PURE__ */ react.default.createElement("div", { className: `${blockClass}__content` }, children));
});
FilterPanelGroup.deprecated = {
	level: "warn",
	details: `This component is deprecated`
};
FilterPanelGroup = require_settings.pkg.checkComponentEnabled(FilterPanelGroup, componentName);
FilterPanelGroup.displayName = componentName;
FilterPanelGroup.propTypes = {
	children: prop_types.default.node.isRequired,
	className: prop_types.default.string,
	count: prop_types.default.oneOfType([prop_types.default.number, prop_types.default.string]),
	labelText: prop_types.default.node.isRequired,
	title: prop_types.default.string
};

//#endregion
Object.defineProperty(exports, 'FilterPanelGroup', {
  enumerable: true,
  get: function () {
    return FilterPanelGroup;
  }
});