/**
 * 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);
let _carbon_react = require("@carbon/react");

//#region src/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.tsx
/**
* Copyright IBM Corp. 2024, 2025
*
* 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}--coachmark-beacon`;
const componentName = "CoachmarkBeacon";
/**
* Use beacon for the target prop of a Coachmark component.
*/
const CoachmarkBeacon = (0, react.forwardRef)((props, ref) => {
	const { label, className, kind = "default", buttonProps, ...rest } = props;
	return /* @__PURE__ */ react.default.createElement("div", {
		className: (0, import_classnames.default)(blockClass, `${blockClass}-${kind}`, className),
		...require_devtools.getDevtoolsProps(componentName),
		...rest,
		ref
	}, /* @__PURE__ */ react.default.createElement("button", {
		type: "button",
		...buttonProps,
		className: `${blockClass}__target`,
		"aria-label": label
	}, /* @__PURE__ */ react.default.createElement("svg", {
		className: `${blockClass}__center`,
		"aria-hidden": "true",
		focusable: "false"
	}, /* @__PURE__ */ react.default.createElement("circle", {
		r: 1,
		cx: 38,
		cy: 38
	}))));
});
CoachmarkBeacon.displayName = componentName;
CoachmarkBeacon.propTypes = {
	buttonProps: prop_types.default.shape({
		..._carbon_react.Button.propTypes,
		id: prop_types.default.string,
		onClick: prop_types.default.func,
		onDoubleClick: prop_types.default.func,
		tabIndex: prop_types.default.number,
		["aria-expanded"]: prop_types.default.bool
	}),
	className: prop_types.default.string,
	kind: prop_types.default.oneOf(["default"]),
	label: prop_types.default.string.isRequired
};

//#endregion
exports.CoachmarkBeacon = CoachmarkBeacon;