/**
 * 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.
 */

import { __toESM } from "../../_virtual/_rolldown/runtime.js";
import { require_classnames } from "../../node_modules/classnames/index.js";
import { pkg } from "../../settings.js";
import { getDevtoolsProps } from "../../global/js/utils/devtools.js";
import React, { forwardRef } from "react";
import PropTypes from "prop-types";
import { SkeletonText } from "@carbon/react";
//#region src/components/BigNumber/BigNumberSkeleton.tsx
/**
* Copyright IBM Corp. 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__ */ __toESM(require_classnames());
const blockClass = `${pkg.prefix}--big-number-skeleton`;
const componentName = "BigNumberSkeleton";
const BigNumberSkeleton = forwardRef(({ className, size, ...rest }, ref) => {
	const bigNumberSkeletonClasses = (0, import_classnames.default)(className, blockClass, {
		[`${blockClass}--lg`]: size === "lg",
		[`${blockClass}--xl`]: size === "xl"
	});
	return /* @__PURE__ */ React.createElement("div", {
		...rest,
		className: bigNumberSkeletonClasses,
		ref,
		...getDevtoolsProps(componentName)
	}, /* @__PURE__ */ React.createElement(SkeletonText, { className: `${blockClass}__label` }), /* @__PURE__ */ React.createElement(SkeletonText, {
		heading: true,
		className: `${blockClass}__value`,
		width: "80%"
	}));
});
BigNumberSkeleton.displayName = componentName;
BigNumberSkeleton.propTypes = {
	/**
	* Provide an optional class to be applied to the containing node.
	*/
	className: PropTypes.string,
	/**
	*
	*/
	size: PropTypes.oneOf([
		"default",
		"lg",
		"xl"
	])
};
//#endregion
export { BigNumberSkeleton };
