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

Version Packages #138

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Version Packages #138

merged 1 commit into from
Jun 21, 2024

Conversation

nguyenyou
Copy link
Owner

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

  • 5273f10: Added css method. This method is used in case the implicit conversion of the sw method doesn't work.

    Previously, using scalawind in Laminar requires us the wrap our chaining tailwind classes inside the sw macro so that it can be compiled. With this css method, we have one more option for this, so:

    div(
      cls := sw(tw.flex.items_center.justify_center)
    )
    
    // ↓ ↓ ↓ ↓ ↓ ↓
    
    div(
      cls := tw.flex.items_center.justify_center.css
    )

    I believe the new syntax is better, because we can keep writing and editing the code without worry about the boundary of the open&close parentheses.

@nguyenyou nguyenyou merged commit 922a09d into main Jun 21, 2024
1 check passed
@nguyenyou nguyenyou deleted the changeset-release/main branch June 21, 2024 03:31
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.

1 participant