- fix return types of
focus.tabbable
methods to beHTMLElement
instead ofElement
.
getRectangleFromRange
may now returnnull
.
- Deprecate
isNumberInput
, as it is no longer used internally (#40896).
- Drop support for Internet Explorer 11 (#31110). Learn more at https://make.wordpress.org/core/2021/04/22/ie-11-support-phase-out-plan/.
- Increase the minimum Node.js version to v12 matching Long Term Support releases (#31270). Learn more at https://nodejs.org/en/about/releases/.
- Export type definitions.
- Add
documentHasUncollapsedSelection
to inquire about ranges of selected text in the document, including the separately managed selections inside and <textarea> elements.
- Add
documentHasTextSelection
to inquire specifically about ranges of selected text, in addition to the existingdocumentHasSelection
.
- Update
isHorizontalEdge
to account for empty text nodes. tabbables.find
considers at most a single radio input for a given name. The checked input is given priority, falling back to the first in the tabindex-sorted set if there is no checked input.
- Change how required built-ins are polyfilled with Babel 7 (#9171). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using core-js or @babel/polyfill will add support for these methods.