2 hours ago
react-arborist

v4.1.0

Features

  • tree.scrollTo() no longer swallows errors thrown while scrolling to a node. It still ignores the case where the id never appears, but any other error now rejects the returned promise instead of failing silently. Scrolls that focusing, selecting or editing a node start on their own still never reject. It also always returns a promise now, including when the id is empty. (#407)

Fixes

  • A newer tree.scrollTo() call now replaces an older one that is still waiting for its row, so the list no longer jumps back to the older target when that row appears later. Scrolls that focusing or selecting a node start never replace a pending call. (#407)
9 hours ago
virtual

@tanstack/angular-virtual@6.1.15

Patch Changes

9 hours ago
virtual

@tanstack/virtual-core@3.19.14

Patch Changes

  • #1403 38ca5d9 - Use the current layout when deciding whether an item resize should adjust the scroll position after layout options change.

  • #1400 d40d8c8 - Fix wheel scrolling in WebKit dropping wheel events, or the reader's place, when rows are measured or prepended on the way. Scroll corrections are now held for 150ms after a wheel event and written when the wheel rests, or when the element reaches the top of the list. A write at the top of the list can still cost a wheel event or two.

  • #1395 4f32cb3 - Pass the virtualizer to initialOffset when it is a function. The Lit and Svelte window virtualizers use it to read the current horizontal option, so a list whose axis changed while enabled: false starts from the correct window scroll position when it is enabled again. The Marko tags accept the same callback type.

9 hours ago
virtual

@tanstack/svelte-virtual@3.13.55

Patch Changes

  • #1395 4f32cb3 - Pass the virtualizer to initialOffset when it is a function. The Lit and Svelte window virtualizers use it to read the current horizontal option, so a list whose axis changed while enabled: false starts from the correct window scroll position when it is enabled again. The Marko tags accept the same callback type.

  • Updated dependencies [38ca5d9, d40d8c8, 4f32cb3]:

    • @tanstack/virtual-core@3.19.14
9 hours ago
virtual

@tanstack/marko-virtual@3.16.15

Patch Changes

  • #1395 4f32cb3 - Pass the virtualizer to initialOffset when it is a function. The Lit and Svelte window virtualizers use it to read the current horizontal option, so a list whose axis changed while enabled: false starts from the correct window scroll position when it is enabled again. The Marko tags accept the same callback type.

  • Updated dependencies [38ca5d9, d40d8c8, 4f32cb3]:

    • @tanstack/virtual-core@3.19.14
9 hours ago
virtual

@tanstack/solid-virtual@3.13.56

Patch Changes

9 hours ago
virtual

@tanstack/react-virtual@3.14.29

Patch Changes

9 hours ago
virtual

@tanstack/vue-virtual@3.13.55

Patch Changes

9 hours ago
virtual

@tanstack/lit-virtual@3.15.6

Patch Changes

  • #1395 4f32cb3 - Pass the virtualizer to initialOffset when it is a function. The Lit and Svelte window virtualizers use it to read the current horizontal option, so a list whose axis changed while enabled: false starts from the correct window scroll position when it is enabled again. The Marko tags accept the same callback type.

  • Updated dependencies [38ca5d9, d40d8c8, 4f32cb3]:

    • @tanstack/virtual-core@3.19.14
10 hours ago
ui

@ui-sdk/core@0.1.0-beta.20

Patch Changes

  • 362a853: An agent sees a CheckboxGroup's checkboxes as its items, and its setValue takes a checkbox's label or value. A value none of the checkboxes has fails the step.
  • 76b19dd: The agent names a closed web popup that several triggers share by its content's aria-label, as it does in React.
  • 51a6a79: A field's errors in agent.snapshot() hold the error messages, not the ids of its error parts. A secret field's errors still read "[redacted]".
  • 89c6267: An agent step after a change its parent takes late, like a controlled dialog that opens after a request, waits for the page to render that change. A step on the page behind the modal it opened now fails as it should.
  • 8c5d8cf: An autocomplete or combobox open as a sheet keeps its field's name in the agent snapshot.
  • 820783e: An agent's setValue on a range Slider takes one number for each thumb. Text, or a list of another length, fails the step and leaves the thumbs where they were.
  • 1eb139e: An agent step that changed nothing fails, so a save after it doesn't run. A clear, open or close the app cancels fails like a canceled set: clear on Note (c1) didn't take: it is still "Draft". An action that moves a component from where it is, like increment at the max or next on the last page, fails with changed nothing and what the component holds. A clear of an empty field or a close of a closed popup still passes.
  • cdc84c2: The agent snapshot leaves out a checkbox's or switch's value when it's the default "on".
  • ff7a63a: Popup content with an aria-label of its own, like <PopoverContent aria-label="Add a deliverable">, is now named by it instead of its trigger.
  • 091efbe: A checkbox taken out of its group no longer throws when the group's value changes before the checkbox unbinds, as a web component does a microtask after removal.
  • d74caee: Dialog, Alert Dialog and Drawer content keeps its Tab trap and handles Escape first when render gives it its own data-slot.
  • 139307b: Escape with focus outside an open non-modal Dialog now stays the page's: the dialog stays open and the key event is no longer marked handled.
  • 39d9924: A controlled drawer dragged to another snap point settles there once snapPoint follows onSnapPointChange, instead of staying where the drag started.
  • 9dca5e2: A modal dialog closed with Escape, a close button or open={false} no longer blocks presses on the page while it animates out. Only a dialog that a press on its backdrop closed keeps catching presses there, so a double click's second press can't land on the page.
  • 9420288: An InputGroup whose field starts with text shows its InputClear from the first render, instead of a microtask later.
  • 4577f9a: An item highlighted as its list mounts, like a Command's defaultValue, now scrolls into view, as it does when you move the highlight.
  • cb87d50: Listbox, Select and the other lists scroll an option fully into view while an ancestor is scaled, like a popup that scales in as it opens.
  • d220d37: Typing in a menu that just reopened starts a new search, instead of adding to what was typed before it closed.
  • 7d2667b: On iPad and iPhone, a tap on a modal's button whose finger moves a little now clicks. A drag that would scroll the page behind the modal is still stopped.
  • 55d6d72: A popup with presentation="auto" opens as its default where the window has no matchMedia, like jsdom, instead of throwing.
  • 1bd803f: A read-only Rating's stars are inert, so the image holds nothing focusable and passes axe. Its native radios still submit with the form.
  • b69e6f4: Pressing or dragging a Slider with a mouse or a finger focuses its thumb without making it :focus-visible, so the focus ring shows only for the keyboard, as on a native range.
  • 0049e24: On iOS Safari, a tap on a Slider's track or a Color Picker's area or channel slider no longer also clicks a button just beside it.
  • fac67bf: A submenu opened with a click or a key and closed with Escape before the hover delay ends stays closed, instead of opening again while the pointer rests on its trigger.
  • 786e6e0: Canceling a typed change in a date, time, email or number input puts the value back without throwing.
  • 1b184b4: Text matching no longer throws on its first call when a global window has no addEventListener, as in React Native.
  • e157932: A trigger menu with an empty part reopens with Control+Space on a query that matches nothing, after its content unmounted on close.
  • e3322b2: A waterfall row with more than one cell no longer warns that its cells share a key.
  • a5f9594: Parts write their attributes faster the first time an element binds, which speeds up mounting long lists of web components.