UEA-PRODEM

This commit is contained in:
2026-06-10 12:14:46 -03:00
parent f54126b9d8
commit 9947565694
5319 changed files with 148520 additions and 129332 deletions
+3 -3
View File
@@ -642,7 +642,7 @@ var MenuSubTrigger = React.forwardRef(
id: subContext.triggerId,
"aria-haspopup": "menu",
"aria-expanded": context.open,
"aria-controls": subContext.contentId,
"aria-controls": context.open ? subContext.contentId : void 0,
"data-state": getOpenState(context.open),
...props,
ref: composeRefs(forwardedRef, subContext.onTriggerChange),
@@ -719,7 +719,7 @@ var SUB_CONTENT_NAME = "MenuSubContent";
var MenuSubContent = React.forwardRef(
(props, forwardedRef) => {
const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);
const { forceMount = portalContext.forceMount, ...subContentProps } = props;
const { forceMount = portalContext.forceMount, align = "start", ...subContentProps } = props;
const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);
const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);
const subContext = useMenuSubContext(SUB_CONTENT_NAME, props.__scopeMenu);
@@ -732,7 +732,7 @@ var MenuSubContent = React.forwardRef(
"aria-labelledby": subContext.triggerId,
...subContentProps,
ref: composedRefs,
align: "start",
align,
side: rootContext.dir === "rtl" ? "left" : "right",
disableOutsidePointerEvents: false,
disableOutsideScroll: false,