[CPS-2606] Migrate to Tailwind 4#4898
Conversation
0f304f3 to
04029bf
Compare
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
04029bf to
9ff855b
Compare
🦋 Changeset detectedLatest commit: e93f40b The changes in this PR will be included in the next version bump. This PR includes changesets to release 85 packages
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 |
f89bf57 to
f928b81
Compare
601e745 to
f17440a
Compare
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
vedrani
left a comment
There was a problem hiding this comment.
Thanks for doing it.
Interesting, not so many breaking changes.
What is migration path for projects using Picasso with TW4?
Check visual tests and ensure there are no differences or check are differences flaky.
They might have to make the same changes as in this PR if they use any of the changed TW utilities directly, but regarding picasso components per se, there is nothing to be done
I fixed all the visual differences except the ones that are currently in happo. As I mentioned in the description, happo marks a difference in the corner of some buttons but I can't tell what is it even on full zoom |
|
@javier-delgado on this screenshot https://happo.io/a/675/p/848/compare/4dda03d90fad34bc8be321eb9015b6c4cc5f226a/f17440a1df1ea2989559c1ffb904eebe1da173e8#Accordion-custom-expand-icon by some reason the icon has changed color, please take a look 🙇♂️ all the rest of screenshots look ok, apart of the issue with color of the shadow of buttons (but maybe we can ignore it, as visually change it not possible to identity, at least to me) |
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
d56d32a to
7df39e6
Compare
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
7df39e6 to
ae6c6e5
Compare
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
ae6c6e5 to
52dccf8
Compare
52dccf8 to
e93f40b
Compare
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
| exports[`Autocomplete static behavior renders a loading indicator 1`] = ` | ||
| <div | ||
| class="text-graphite h-auto flex items-center whitespace-nowrap max-h justify-end ml-auto flex-grow flex-shrink basis-auto pointer-events" | ||
| class="text-graphite h-auto flex items-center whitespace-nowrap max-h justify-end ml-auto grow-0 shrink-0 basis-auto pointer-events" |
There was a problem hiding this comment.
@javier-delgado here we still have wrong conversion
| > | ||
| <span | ||
| class="base-Badge inline-flex flex-shrink content-middle flex-nowrap justify-normal text-[10px] font-semibold leading-3 align-middle text-graphite static" | ||
| class="base-Badge inline-flex shrink-0 content-middle flex-nowrap justify-normal text-[10px] font-semibold leading-3 align-middle text-graphite static" |
There was a problem hiding this comment.
here it's still different
|
@javier-delgado I found why we had a difference in generated snapshots for Regarding Davinci serializer, I think we can keep it for now until we migrate all the components to TW or the new Base UI |
|
🗑️ Storybook preview cleaned up The preview deployment has been automatically removed since this PR was closed. |
CPS-2606
Description
Upgrade Tailwind to V4.
min node version updated to 20
Discussion channel
How to test
There are still some "differences" picked up by happo, I checked them all and couldn't notice what the actual difference is.
Development checks
picasso-tailwind-mergerequires major update (check itsREADME.md)propsin component with documentationexamplesfor componentBreaking change
Alpha packages
Manually trigger the publish.yml workflow to publish alpha packages. Specify pull request number as a parameter (only digits, e.g.
123).PR Review Guidelines
When to approve? ✅
You are OK with merging this PR and
nit:to your comment. (ex.nit: I'd rename this variable from makeCircle to getCircle)When to request changes? ❌
You are not OK with merging this PR because
When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:
How to handle the comments?