"use client";
const require_use_props = require("../../core/MantineProvider/use-props/use-props.cjs");
const require_use_resolved_styles_api = require("../../core/styles-api/use-resolved-styles-api/use-resolved-styles-api.cjs");
const require_factory = require("../../core/factory/factory.cjs");
const require_Progress_module = require("./Progress.module.cjs");
const require_ProgressLabel = require("./ProgressLabel/ProgressLabel.cjs");
const require_ProgressRoot = require("./ProgressRoot/ProgressRoot.cjs");
const require_ProgressSection = require("./ProgressSection/ProgressSection.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region packages/@mantine/core/src/components/Progress/Progress.tsx
const Progress = require_factory.factory((_props) => {
	const props = require_use_props.useProps("Progress", null, _props);
	const { value, classNames, styles, vars, color, striped, animated, "aria-label": label, ...others } = props;
	const { resolvedClassNames, resolvedStyles } = require_use_resolved_styles_api.useResolvedStylesApi({
		classNames,
		styles,
		props
	});
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ProgressRoot.ProgressRoot, {
		classNames: resolvedClassNames,
		styles: resolvedStyles,
		vars,
		...others,
		children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ProgressSection.ProgressSection, {
			value,
			color,
			striped,
			animated,
			"aria-label": label
		})
	});
});
Progress.classes = require_Progress_module.default;
Progress.displayName = "@mantine/core/Progress";
Progress.Section = require_ProgressSection.ProgressSection;
Progress.Root = require_ProgressRoot.ProgressRoot;
Progress.Label = require_ProgressLabel.ProgressLabel;
//#endregion
exports.Progress = Progress;

//# sourceMappingURL=Progress.cjs.map