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

fix/class:list directive was not properly merging with the class attribute #1039

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

Prokodo
Copy link
Contributor

@Prokodo Prokodo commented Aug 5, 2024

Changes

Resolved an issue where the class:list directive was not properly merging with the class attribute.

Fixes withastro/compiler/issues/998

Testing

Added new tests to verify the correct merging of class and class:list attributes.
Manually tested the output to confirm that classes are accurately combined.

Docs

No documentation updates were made, as this change addresses an existing bug and does not introduce new features or alter existing functionality.

Copy link

changeset-bot bot commented Aug 5, 2024

🦋 Changeset detected

Latest commit: 821a8cc

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

This PR includes changesets to release 1 package
Name Type
@astrojs/compiler 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

@Prokodo Prokodo changed the title Fix/class list conflict fix/class:list directive was not properly merging with the class attribute Aug 6, 2024
Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

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

Nice fix, comments, and tests!

.changeset/ten-melons-return.md Outdated Show resolved Hide resolved
@bluwy bluwy merged commit f55a2af into withastro:main Aug 7, 2024
5 checks passed
@Prokodo Prokodo deleted the fix/class-list-conflict branch August 7, 2024 12:45
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.

class and class:list conflict
3 participants