/**
 * 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_devtools = require('../../global/js/utils/devtools.js');
const require_props_helper = require('../../global/js/utils/props-helper.js');
const require_Card = require('../Card/Card.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/ExpressiveCard/ExpressiveCard.tsx
const componentName = "ExpressiveCard";
const ExpressiveCard = (0, react.forwardRef)((props, ref) => {
	const validProps = require_props_helper.prepareProps(props, [
		"actionIconsPosition",
		"overflowActions",
		"productive",
		"titleSize"
	]);
	return /* @__PURE__ */ react.default.createElement(require_Card.Card, {
		ref,
		...validProps,
		...require_devtools.getDevtoolsProps(componentName)
	});
});
ExpressiveCard.propTypes = {
	actionIcons: prop_types.default.arrayOf(prop_types.default.shape({
		id: prop_types.default.string,
		icon: prop_types.default.oneOfType([prop_types.default.func, prop_types.default.object]),
		onKeyDown: prop_types.default.func,
		onClick: prop_types.default.func,
		iconDescription: prop_types.default.string,
		href: prop_types.default.string,
		link: prop_types.default.shape({ href: prop_types.default.string.isRequired })
	})),
	children: prop_types.default.node,
	className: prop_types.default.string,
	decorator: prop_types.default.oneOfType([prop_types.default.node, prop_types.default.bool]),
	description: prop_types.default.oneOfType([
		prop_types.default.string,
		prop_types.default.object,
		prop_types.default.node
	]),
	label: prop_types.default.oneOfType([
		prop_types.default.string,
		prop_types.default.object,
		prop_types.default.node
	]),
	media: prop_types.default.node,
	mediaPosition: prop_types.default.oneOf(["top", "left"]),
	onClick: prop_types.default.func,
	onPrimaryButtonClick: prop_types.default.func,
	onSecondaryButtonClick: prop_types.default.func,
	pictogram: prop_types.default.oneOfType([prop_types.default.func, prop_types.default.object]),
	primaryButtonHref: prop_types.default.string,
	primaryButtonIcon: prop_types.default.oneOfType([prop_types.default.func, prop_types.default.object]),
	primaryButtonKind: prop_types.default.oneOf(["primary", "ghost"]),
	primaryButtonText: prop_types.default.string,
	secondaryButtonHref: prop_types.default.string,
	secondaryButtonIcon: prop_types.default.oneOfType([prop_types.default.func, prop_types.default.object]),
	secondaryButtonKind: prop_types.default.oneOf(["secondary", "ghost"]),
	secondaryButtonText: prop_types.default.string,
	slug: prop_types.default.oneOfType([prop_types.default.node, prop_types.default.bool]),
	title: prop_types.default.oneOfType([
		prop_types.default.string,
		prop_types.default.object,
		prop_types.default.node
	])
};
ExpressiveCard.displayName = componentName;

//#endregion
exports.ExpressiveCard = ExpressiveCard;