Skip to content

Conversation

@nelsonlaidev
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Oct 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
ark-docs Ready Ready Preview Nov 5, 2025 1:01pm

Comment on lines 5 to 15
const handlePositions = [
'top-left',
'top',
'top-right',
'right',
'bottom-right',
'bottom',
'bottom-left',
'left',
] as const

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the next zag version, we export the imageCropper.handles to replace this array

@segunadebayo
Copy link
Member

segunadebayo commented Nov 2, 2025

I've added a new grid part to the image cropper in the latest zag. Can you bump the versions and check?
https://github.com/chakra-ui/zag/blob/main/examples/next-ts/pages/image-cropper.tsx#L97

Update: I've bumped the zag version locally

@nelsonlaidev
Copy link
Collaborator Author

nelsonlaidev commented Nov 3, 2025

@segunadebayo Thanks for refactoring the image cropper and adding the new grid part. The update is blocked by chakra-ui/zag#2819 currently.

I suggest adding a script to check for any missing types in the machines. Based on my observations, all types should be re-exported except for <machine>Schema. But some machines exported <machine>Schema as Schema.

Should I go ahead to add it in the zag codebase?

@nelsonlaidev
Copy link
Collaborator Author

Like:

CleanShot 2025-11-03 at 17 48 56@2x

@segunadebayo
Copy link
Member

@nelsonlaidev, Yes, please add that script; it'll be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants