NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2220 most downloaded on npm
A generic toolkit to help with accessibility
Latest stable
3.1.1
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 1.4 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
18 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
### Patch Changes - #1534 `93602df` Thanks @duvallj! - Workaround layout bug by adding explicit top and left attributes. Under sufficiently complex CS
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #1229 `aabb8bd` Thanks @ayy-bc! - Introduce ariaLiveType prop on to allow consumers to configure the aria-live attribute to other
Nothing published for this version
### Patch Changes - #776 `3978c43` Thanks @clauderic! - The ARIA live region element used for screen reader announcements is now positioned using posi
3978c43 Thanks @clauderic! - The ARIA live region element used for screen reader announcements is now positioned using position: fixed instead of position: absolute. As of @dnd-kit/core^6.0.0, the live region element is no longer portaled by default into the document.body. This change was introduced in order to fix issues with portaled live regions. However, this change can introduce visual regressions when using absolutely positioned elements, since the live region element is constrained to the stacking and position context of its closest positioned ancestor. Using fixed position ensures the element does not introduce visual regressions.Nothing published for this version
`a9d92cf` #174 Thanks @clauderic! - Distributed assets now only target modern browsers. Browserlist config:
a9d92cf #174 Thanks @clauderic! - Distributed assets now only target modern browsers. Browserlist config:
defaults
last 2 version
not IE 11
not dead
If you need to support older browsers, include the appropriate polyfills in your project's build process.
b406cb9 #187 Thanks @clauderic! - Introduced the useDndMonitor hook. The useDndMonitor hook can be used within components wrapped in a DndContext provider to monitor the different drag and drop events that happen for that DndContext.
Example usage:
import {DndContext, useDndMonitor} from '@dnd-kit/core';
function App() {
return (
<DndContext>
<Component />
</DndContext>
);
}
function Component() {
useDndMonitor({
onDragStart(event) {},
onDragMove(event) {},
onDragOver(event) {},
onDragEnd(event) {},
onDragCancel(event) {},
});
}
`2833337` #186 Thanks @clauderic! - Simplify useAnnouncement hook to only return a single announcement rather than entries. Similarly, the LiveRegion
2833337 #186 Thanks @clauderic! - Simplify useAnnouncement hook to only return a single announcement rather than entries. Similarly, the LiveRegion component now only accepts a single announcement rather than `entries.
c24bdb3 #184 Thanks @clauderic! - Tweaked LiveRegion component:
span elements. Having wrapper span elements causes VoiceOver on macOS to try to move the VoiceOver cursor to the live region, which interferes with scrolling. This issue is not exhibited when rendering announcement entries as plain text without wrapper spans.role="status" attribute to the LiveRegion wrapper element.white-space: no-wrap; property to ensure that text does not wrap.`423610c` #56 Thanks @clauderic! - Add MIT license to package.json and distributed files
423610c #56 Thanks @clauderic! - Add MIT license to package.json and distributed files`310bbd6` #37 Thanks @nickpresta! - Fix typo in package.json repository URL
310bbd6 #37 Thanks @nickpresta! - Fix typo in package.json repository URL`2912350` Thanks @clauderic! - Initial public release.
2912350 Thanks @clauderic! - Initial public release.Updated dependencies \[`00a33c9`, `043c280`, `ee40aac`, `635d94f`, `0235cef`, `1ba8700`, `3080d2c`]:
23d694b Thanks @MateusJabour! - Exports sensors from @dnd-kit/dom through @dnd-kit/react#1645 043c280 Thanks @clauderic! - Add fallback logic to type-guards when instance checks fail to identify instances, for example to test if an element is an Element or HTMLElement or SVGElement, or if an AnimationEffect is a KeyframeEffect.
#1644 ee40aac Thanks @github-actions! - Feedback: Use revert instead of unset to reset styles applied by the popover attribute.
#1643 635d94f Thanks @clauderic! - Fix a bug in the Scroller plugin that would always use document.getElementFromPoint instead of the document of the source element.
#1644 0235cef Thanks @github-actions! - Cursor: Ensure styles for Cursor plugin are added to the document of the draggable source element.
#1644 1ba8700 Thanks @github-actions! - Fixed a bug in the getDocument helper to make it work with SVG elements.
#1644 3080d2c Thanks @github-actions! - Feedback: Set popover attribute value to manual.
Updated dependencies [00a33c9]:
00a33c9]:
00a33c9 Thanks @MateusJabour! - Adds new data property to Collision type7bd4568 #30 - Initial beta release, authored by @clauderic.One column per quarter.