Release v1.62.0-beta.9 candidate

Issue: #108
User-Visible: yes
This commit is contained in:
Matysh
2026-08-12 21:49:29 +03:00
parent 9bb5f7c5a8
commit 8e2973fa7a
40 changed files with 779 additions and 393 deletions
+13
View File
@@ -0,0 +1,13 @@
/** Pure content gate shared by the component and executable unit tests. */
export function helpHasContent(text: unknown, ariaLabel: unknown): boolean {
return typeof text === 'string' && text.trim().length > 0
&& typeof ariaLabel === 'string' && ariaLabel.trim().length > 0;
}
/** Scrolling the floating help itself must not dismiss it. */
export function helpScrollShouldDismiss(
pathIsInsideFloatingSurface: boolean,
targetIsDialogOrContainsHelp: boolean,
): boolean {
return !pathIsInsideFloatingSurface && targetIsDialogOrContainsHelp;
}