/**
 * 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/ProductiveCard/ProductiveCard.tsx
const componentName = "ProductiveCard";
const ProductiveCard = (0, react.forwardRef)(({ actionsPlacement = "top", children, ...rest }, ref) => {
	const validProps = require_props_helper.prepareProps(rest, [
		"media",
		"mediaPosition",
		"pictogram",
		"primaryButtonClick",
		"productive",
		"secondaryButtonKind"
	]);
	return /* @__PURE__ */ react.default.createElement(require_Card.Card, {
		...validProps,
		actionsPlacement,
		ref,
		productive: true,
		...require_devtools.getDevtoolsProps(componentName)
	}, children);
});
ProductiveCard.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 })
	})),
	actionsPlacement: prop_types.default.oneOf(["top", "bottom"]),
	children: prop_types.default.node,
	className: prop_types.default.string,
	clickZone: prop_types.default.oneOf([
		"one",
		"two",
		"three"
	]),
	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
	]),
	iconDescription: prop_types.default.string,
	label: prop_types.default.oneOfType([
		prop_types.default.string,
		prop_types.default.object,
		prop_types.default.node
	]),
	onClick: prop_types.default.func,
	onPrimaryButtonClick: prop_types.default.func,
	onSecondaryButtonClick: prop_types.default.func,
	overflowActions: prop_types.default.arrayOf(prop_types.default.shape({
		id: prop_types.default.string,
		itemText: prop_types.default.string,
		onClick: prop_types.default.func,
		onKeyDown: prop_types.default.func
	})),
	overflowAriaLabel: prop_types.default.string,
	primaryButtonDisabled: prop_types.default.bool,
	primaryButtonHref: prop_types.default.string,
	primaryButtonIcon: prop_types.default.oneOfType([prop_types.default.func, prop_types.default.object]),
	primaryButtonPlacement: prop_types.default.oneOf(["top", "bottom"]),
	primaryButtonText: prop_types.default.node,
	secondaryButtonHref: prop_types.default.string,
	secondaryButtonIcon: prop_types.default.oneOfType([prop_types.default.func, prop_types.default.object]),
	secondaryButtonPlacement: prop_types.default.oneOf(["top", "bottom"]),
	secondaryButtonText: prop_types.default.node,
	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
	]),
	titleSize: prop_types.default.oneOf(["default", "large"])
};
ProductiveCard.displayName = componentName;

//#endregion
exports.ProductiveCard = ProductiveCard;