prevwong / craft.js

🚀 A React Framework for building extensible drag and drop page editors
https://craft.js.org
MIT License
7.56k stars 733 forks source link

chore: export dnd utils #656

Closed mateusz-oi closed 3 months ago

mateusz-oi commented 4 months ago

Hello,

I would like to suggest adding exports for Positioner and createShadow. This enhancement would provide more possibilities for handler customization, as outlined in the Craft.js documentation on overriding default event handlers.

We need this to be able to partially use defaultHandlers and modify the create method, leveraging default methods like Positioner and incorporating effects such as createShadow during drag events.

Thank you for considering this suggestion.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 2e24b0a08cbb7c7c568d5c67cb8af3b4c0c1b9ab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------- | ----- | | @craftjs/core | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
craftjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 3, 2024 1:05pm
prevwong commented 3 months ago

Thanks! 💯