/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
const require_plugin$1 = require("../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/plugin.cjs");
const require_borderRadius = require("./borderRadius.cjs");
const require_borderWidth = require("./borderWidth.cjs");
const require_getNestedBorderRadiusUtilities = require("../utils/getNestedBorderRadiusUtilities.cjs");
//#region ../tailwind-internal/dist/plugins/nestedBorderRadius.js
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
const nestedBorderRadiusPlugin = (/* @__PURE__ */ require_runtime.__toESM(require_plugin$1.require_plugin(), 1)).default.withOptions(() => ({ addUtilities, theme, matchUtilities }) => {
	addUtilities(require_getNestedBorderRadiusUtilities.getNestedBorderRadiusUtilities());
	/** Add utilities that set --radius variable for nested border radius calculations */
	matchUtilities({ "uds-nested-border-radius-size": (value) => ({ "--uds-nested-border-radius-size": value }) }, { values: theme(require_borderRadius.UDS_BORDER_RADIUS_THEME_KEY) });
	/** Add utilities that set --padding variable for nested border radius calculations */
	matchUtilities({ "uds-nested-border-radius-spacing": (value) => ({ "--uds-nested-border-radius-spacing": value }) }, { values: theme("spacing") });
	/** Add utilities that set --border-width variable for nested border radius calculations */
	matchUtilities({ "uds-nested-border-radius-width": (value) => ({ "--uds-nested-border-radius-width": value }) }, { values: theme(require_borderWidth.UDS_BORDER_WIDTH_THEME_KEY) });
});
//#endregion
exports.nestedBorderRadiusPlugin = nestedBorderRadiusPlugin;
