Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: svelte examples batch 2 #1255

Merged
merged 12 commits into from
Mar 25, 2024

Conversation

izznat
Copy link
Contributor

@izznat izznat commented Feb 17, 2024

📝 Description

Add the following examples for Svelte:

  • Clipboard
  • Collapsible
  • Combobox
  • Context Menu

And portal action for popover.

⛳️ Current behavior (updates)

🚀 New behavior

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

There are bugs in combobox and menu machine:

  • Combobox: If there is a selected value, input cannot be empty. It's caused by the logic in combobox.connect that use || operator for input value. PR to fix this fix: combobox empty input should not be replaced by selected value when typing #1256.
  • Context Menu: anchor coordinate style variables (--x and --y) is missing in element style for the first right click only. So the popover is positioned at 0, 0 coordinate. I don't know the cause yet.

Copy link

changeset-bot bot commented Feb 17, 2024

⚠️ No Changeset found

Latest commit: 9dbce52

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link

vercel bot commented Feb 17, 2024

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

Name Status Preview Updated (UTC)
zag-nextjs ✅ Ready (Inspect) Visit Preview Mar 25, 2024 6:50pm
zag-solid ✅ Ready (Inspect) Visit Preview Mar 25, 2024 6:50pm
zag-vue ✅ Ready (Inspect) Visit Preview Mar 25, 2024 6:50pm
zag-website ✅ Ready (Inspect) Visit Preview Mar 25, 2024 6:50pm

@segunadebayo segunadebayo merged commit 6937a93 into chakra-ui:main Mar 25, 2024
17 of 19 checks passed
colinlienard pushed a commit to colinlienard/zag that referenced this pull request Jun 18, 2024
* chore: only pass state to toolbar

* fix: unstate machine.state for connect to guards against premature effect

* feat: combobox example

* chore: update svelte to latest next version

* feat: clipboard example

* chore: change svelte example app title to svelte machines

* feat: collapsible example

* feat: portal action

* fix: export portal action

* feat: context menu example

bug:
- anchor coordinates css variable is not set
  only for the first right click.

---------

Co-authored-by: Segun Adebayo <[email protected]>
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.

2 participants