/**
 * 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_constants = require('./constants.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/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__ */ require_runtime.__toESM(require_index.default);
const blockClass = `${require_settings.pkg.prefix}--big-number-skeleton`;
const componentName = "BigNumberSkeleton";
const BigNumberSkeleton = (0, react.forwardRef)(({ className, size, ...rest }, ref) => {
	const bigNumberSkeletonClasses = (0, import_classnames.default)(className, blockClass, {
		[`${blockClass}--lg`]: size === require_constants.BigNumberSize.Large,
		[`${blockClass}--xl`]: size === require_constants.BigNumberSize.XLarge
	});
	return /* @__PURE__ */ react.default.createElement("div", {
		...rest,
		className: bigNumberSkeletonClasses,
		ref,
		...require_devtools.getDevtoolsProps(componentName)
	}, /* @__PURE__ */ react.default.createElement(_carbon_react.SkeletonText, { className: `${blockClass}__label` }), /* @__PURE__ */ react.default.createElement(_carbon_react.SkeletonText, {
		heading: true,
		className: `${blockClass}__value`,
		width: "80%"
	}));
});
BigNumberSkeleton.displayName = componentName;
BigNumberSkeleton.propTypes = {
	className: prop_types.default.string,
	size: prop_types.default.oneOf([
		require_constants.BigNumberSize.Default,
		require_constants.BigNumberSize.Large,
		require_constants.BigNumberSize.XLarge
	])
};

//#endregion
exports.BigNumberSkeleton = BigNumberSkeleton;