primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Style broken in PrimeVue 4.3.2 due to @primeuix/styles v1.1.2

Open clemvnt opened this issue 6 months ago • 1 comments

Describe the bug

Hi,

We're using PrimeVue version 4.3.2 with a fixed version in our project.

Since approximately 5 hours ago, the component styles are broken. For example, here's how the Divider component is rendered: Image

Inspecting with DevTools shows the following styles being applied: Image

Reproduction : https://stackblitz.com/edit/fa8ihprx?file=package.json

After investigation, it appears the issue comes from the newly released version 1.1.2 of the sub-dependency @primeuix/styles.

Manually setting the version of @primeuix/styles to 1.1.1 in the package.json file fixes the issue: Image

Reproduction : https://stackblitz.com/edit/fa8ihprx-psyf55bx?file=package.json

I don't suppose it's intentional. I don't know what the ideal correction would be.

  • New primevue patch to pin the @primeuix/styles version?
  • Fix @primeuix/styles to make it backwards compatible?

Reason for not contributing a PR

  • [ ] Lack of time
  • [x] Unsure how to implement the fix/feature
  • [ ] Difficulty understanding the codebase
  • [ ] Other

Reproducer

https://stackblitz.com/edit/fa8ihprx?file=package.json

Vue version

3.5.16

PrimeVue version

4.3.2

Browser(s)

All

Steps to reproduce the behavior

  1. Open the repro. => Style is broken.

Expected behavior

Style should be ok.

clemvnt avatar Jun 17 '25 15:06 clemvnt

I also tested with the following versions :

  • 4.3.3 => ❌
  • 4.3.4 => ❌
  • 4.3.5 => ✅

clemvnt avatar Jun 18 '25 07:06 clemvnt

Please try to use latest version of PrimeVue. Thank you.

tugcekucukoglu avatar Jun 19 '25 11:06 tugcekucukoglu