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 2.3.0 to 15.1.2.
Release notes
Sourced from react-dnd-html5-backend's releases.
... (truncated)
Changelog
Sourced from react-dnd-html5-backend's changelog.
... (truncated)
Commits
ca8784e
chore: version bump (#3385)72bfc3d
Add Next.JS App Tester Package (#3384)bc4204e
refactor: use a common directory-walking utility (#3382)89806d7
Fix some formatting (#3381)746f2b2
chore: bump versions (#3380)fa20dc8
fix: revert a recent PR that made the draggable attribute conditional (#3379)89aa31d
Release/v15 1 0 (#3377)a8a42aa
feat: add vite test suite pkg (#3376)aa32d2f
ci: use Node 16 to deploy to docsite (#3375)49cfef7
Add Create-React-App Test Suite (#3374)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)