build: bump new versions
Publish to NPM / Check version changes and publish (push) Failing after 10m34s

This commit is contained in:
2026-06-18 02:57:03 +07:00
parent e73e8d2cdd
commit ab6d8f6ce0
198 changed files with 226 additions and 223 deletions
@@ -149,19 +149,22 @@ describe('scroll-area — ref forwarding', () => {
describe('scroll-area — glimpse type', () => {
it('accepts type="glimpse" and reveals scrollbars on pointer enter', async () => {
track(mount(makeApp({ type: 'glimpse', scrollHideDelay: 5000 }), { attachTo: document.body }));
const w = track(mount(makeApp({ type: 'glimpse', scrollHideDelay: 5000 }), { attachTo: document.body }));
await waitFrames();
const root = document.querySelector('[dir]') as HTMLElement;
const root = w.element as HTMLElement;
root.dispatchEvent(new PointerEvent('pointerenter'));
await waitFrames();
expect(document.querySelectorAll('[data-state="visible"]').length).toBeGreaterThan(0);
// Scope to this component's root: browser-mode suites share one document,
// so a global query can also count scrollbars mounted by other suites.
expect(root.querySelectorAll('[data-state="visible"]').length).toBeGreaterThan(0);
});
it('glimpse stays hidden before any interaction', async () => {
track(mount(makeApp({ type: 'glimpse', scrollHideDelay: 5000 }), { attachTo: document.body }));
const w = track(mount(makeApp({ type: 'glimpse', scrollHideDelay: 5000 }), { attachTo: document.body }));
await waitFrames();
// No pointer enter / scroll => no visible scrollbar yet.
expect(document.querySelectorAll('[data-state="visible"]').length).toBe(0);
// No pointer enter / scroll => no visible scrollbar yet. Scoped to this
// component's root (a global query can pick up other suites' scrollbars).
expect((w.element as HTMLElement).querySelectorAll('[data-state="visible"]').length).toBe(0);
});
});
@@ -31,7 +31,7 @@ function isInClosedPopover(el: Element): boolean {
*
* @param {MaybeComputedElementRef} target Element whose siblings should be aria-hidden
*
* @since 0.0.14
* @since 0.0.1
*/
export function useHideOthers(target: MaybeComputedElementRef): void {
if (!defaultWindow) return;