The utility packages @react-dnd/invariant, @react-dnd/shallowequal, and @react-dnd/asap (which are forks of popular libraries) have been included in the monorepo and built using the same output mechanisms as the react-dnd core packages (dual EJS/CSM).
@react-dnd/asap has been simplified to remove the node variant, which relied on deprecated APIs
v15.1.0
All packages now have verified ESM support
Packages expose CJS/ESM surface are via pkg.exports
v15.0.2
This release uses output from swc using the 'es2017' target instead of using output from 'tsc' using the 'ESNext' target.
v15.0.1
This release fixes issues with the ESM-only structure of v15.0.0. All packages are now in their prior CommonJS/ESM format.
The Decorators API has been removed and fully replaced by the Hooks API. The Decorators API was difficult to develop & type correctly, and this improves its maintainability.
The builds no longer use babel & preset-env. The library is transpiled using SWC into the "es2017" target, which assumes async/await is available. This should reduce bundle sizes by removing polyfills and support-code which may be unnecessary in your target.
Bugfixes
Improve data-transfer acquisition from File inputs (#3262)
Don't set the 'draggable' attribute unless canDrag is true (#3187)
Improve typings of DropTargetMonitor, DragLayerMonitor (#3300, #3341)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps react-dnd-html5-backend from 7.4.4 to 16.0.0.
Release notes
Sourced from react-dnd-html5-backend's releases.
... (truncated)
Changelog
Sourced from react-dnd-html5-backend's changelog.
... (truncated)
Commits
8f6cb6c
v16 Release (#3421)8e6f62e
Switch to ESM-Only; add React 18 Support (#3420)c0de264
chore: version cutbfa3086
ci: remove node 14 (#3415)9c848d8
fix: conditionally render example code in Next depending on SSR context (#3414)4fa53c8
chore: remove hover cancel (#3412)85371da
chore: upgrade to yarn 3.2.0 (#3411)32b0bbf
fix: "Invariant Violation: Expected targetIds to be registered." (#3409)0830641
Remove js imports in examples (#3396)9ea462e
Mark util packages as public (#3386)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)