Skip to content

v1.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Nov 12:39
· 2 commits to main since this release

v1.1.3 — Minor performance optimizations for @data-slot/command and @data-slot/toast.

Packages updated: @data-slot/command, @data-slot/toast

@data-slot/command

  • ✨ Performance: Let the ResizeObserver set the initial list height after layout; only set the CSS list-height immediately when ResizeObserver is not available.
  • User impact: Fewer redundant layout reads and more stable first-render measurements on platforms that support ResizeObserver; environments without ResizeObserver (SSR / older browsers) still get a correct initial height.

@data-slot/toast

  • ✨ Performance: Skip reading CSS spacing values (gap and collapsed peek) when the toast stack is empty to avoid forcing a style recalculation.
  • User impact: Lower CPU usage and fewer layout recalculations when no toasts are visible, improving idle performance.

No API or breaking changes — this is a non-breaking perf-focused patch; upgrade normally to get the improvements.