Skip to content

Fix aria selectors, space handling inside strings and improve error reporting#11

Merged
borela merged 17 commits intomainfrom
aria
Dec 7, 2025
Merged

Fix aria selectors, space handling inside strings and improve error reporting#11
borela merged 17 commits intomainfrom
aria

Conversation

@borela
Copy link
Copy Markdown
Member

@borela borela commented Dec 7, 2025

Group aria edge case

Fixes:

# Before
group-aria-[disabled=false]: opacity-100

# Now
group-aria-[disabled=false]:opacity-100

Prevent unnecessary escapes in JSX

JSX strings don't support backslash escaping at all, and they treat them as literal characters; the extra escape added was making it harder to read.

Improve error reporting

Error messages now show the place where parsing failed.

Adjust readmes

The parser allows spaces instead of _ in all classes, and the readmes were not showing this in all scenarios.

@borela borela changed the title Fix aria selectors and space handling inside strings Fix aria selectors, space handling inside strings and improve error reporting Dec 7, 2025
@borela borela marked this pull request as ready for review December 7, 2025 19:20
@borela borela merged commit 3fdf625 into main Dec 7, 2025
1 check passed
@borela borela deleted the aria branch December 7, 2025 19:20
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