-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
All styles are broken after putting prime vue into CSS Layers #4813
Comments
The latest PrimeVue versions use @layer css that brings breaking changes. The demo that you've sent needs some updates. For example:
|
@tugcekucukoglu nowhere in the releases you mention any breaking changes: Also, since you seem to be using releases and versioning, you don't use Semantic Versioning:
So you are saying that "latest versions bring breaking changes" but you publish them as PATCH and MINOR versions. As for the demo, I don't see why I need any update. It's a link to a minimal reproduction and I don't see why I have to use |
related #4504 |
This is indeed a terrible breaking change. PrimeVue is not usable as a styled system after 3.40.0. See: #4504 (comment) |
Describe the bug
I have a project where there are many legacy css files. After upgrading from
3.34.1
to3.40.1
all the styles broke: buttons, dialogs, tables, etcThis is because PrimeVue styles are now added under a layer which means that they have lower specificity. How can such a change can be added to PrimeVue without any breaking-change notice?
Reproducer
https://stackblitz.com/edit/t3ecaz?file=src%2Fstyle.css
PrimeVue version
3.40.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: