import { Qn as toRef } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
import { c as getCurrentInstanceName, l as propsFactory } from "./defineComponent-DB6xIcDy.js";
//#region node_modules/vuetify/lib/composables/density.js
var allowedDensities = [
	null,
	"default",
	"comfortable",
	"compact"
];
var makeDensityProps = propsFactory({ density: {
	type: String,
	default: "default",
	validator: (v) => allowedDensities.includes(v)
} }, "density");
function useDensity(props, name = getCurrentInstanceName()) {
	return { densityClasses: toRef(() => {
		return `${name}--density-${props.density}`;
	}) };
}
//#endregion
export { useDensity as n, makeDensityProps as t };

//# sourceMappingURL=density-CpKZ5PhP.js.map