Feature/picasso modernization temp#4978
Conversation
🦋 Changeset detectedLatest commit: c46ff96 The changes in this PR will be included in the next version bump. This PR includes changesets to release 83 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 |
cf44677 to
bdaa74e
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. |
|
📖 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. |
9e14fb4 to
4e352de
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. |
|
📖 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. |
ae31ce9 to
a1b0b32
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. |
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
04ba6c3 to
fe18ec8
Compare
fe18ec8 to
3d5041f
Compare
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
* [PF-1994] Migrate picasso-charts to @base-ui/react + Tailwind Tier 4 component. See PR description for prop-surface diff, import diff, and Happo summary. Refs: PF-1994 * [PF-1994] Migrate BarChartIndicator to @base-ui/react + Tailwind * [PF-1994] Migrate picasso-charts remove migration comments * [PF-1994] Migrate picasso-charts remove styles.ts file
|
📖 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. |
|
📖 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. |
* [PF-1994] Migrate Dropdown to @base-ui/react + Tailwind Tier 3 component. See PR description for prop-surface diff, import diff, and Happo summary. Refs: PF-1994 * [PF-1994] Migrate Dropdown to @base-ui/react + Tailwind Tier 3 component. See PR description for prop-surface diff, import diff, and Happo summary. Refs: PF-1994 [ci-iter 3] * [PF-1994] Migrate Dropdown to @base-ui/react + Tailwind Tier 3 component. See PR description for prop-surface diff, import diff, and Happo summary. Refs: PF-1994 [ci-iter 5] * [PF-1994] Use shared ClickAwayListener in Dropdown The migration hand-rolled a local useClickAway hook (plus a wrapper <div> kept only for a since-resolved MUI bug) to replace MUI's ClickAwayListener. But @toptal/picasso-utils already exports a ClickAwayListener -- the MUI-free replacement that DatePicker and Menu use -- so swap to it for consistency with the rest of the library. The shared component is also more robust than the local hook: it adds a root-scrollbar click guard, portal / React-tree awareness, touch-move cancellation, and an activation delay so the opening interaction is not counted as a click-away. It clones its child, so no extra DOM node is introduced. Removes use-click-away.ts (the shared component carries its own tests). Render-neutral: verified via Jest (unchanged DOM snapshot) and a local Happo run (no new diffs). Refs: PF-1994 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * [PF-1994] Restore Dropdown open animation via CSS @starting-style The MUI <Grow> replacement was a no-op: growIn flipped in a pre-paint layout effect (collapsed frame never painted) and scale sat on Tailwind v4's `scale` property, which transition-[opacity,transform] did not animate. Replace the growIn state machine with a CSS @starting-style entry transition (transition-[opacity,scale] + starting:scale-75 starting:opacity-0); the resting state is scale-100 so static captures stay stable. Drops the useIsomorphicLayoutEffect hack. Verified: Jest, lint, tsc, and a local Happo run (dropdown snapshots byte-identical to the settled baseline -- no new diffs). A TODO notes the @floating-ui/react Popper migration must trigger the entry animation only once positioned. Refs: PF-1994 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * [PF-1994] Import PopperPlacementType from picasso-popper Dropdown redefined the 12-member placement union locally, duplicating the identical type @toptal/picasso-popper already declares. Surface it from the Popper package entry and import it in Dropdown instead of the local copy. The type is byte-identical in the current popper.js Popper and in the @floating-ui/react migration (PR #5001), and #5001 leaves Popper/index.ts untouched, so this rebases cleanly. PopperOptions stays on popper.js for now; it has no native package export until #5001 and is repointed then. Also refresh the Dropdown changeset to match the landed implementation (shared ClickAwayListener, @starting-style open animation, imported PopperPlacementType). Refs: PF-1994 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * [PF-1994] Migrate Dropdown to @base-ui/react + Tailwind Tier 3 component. See PR description for prop-surface diff, import diff, and Happo summary. Refs: PF-1994 [review-iter 2] address review feedback * [PF-1994] Migrate Dropdown to @base-ui/react + Tailwind Tier 3 component. See PR description for prop-surface diff, import diff, and Happo summary. Refs: PF-1994 [cleanup] strip review-aid comments before merge --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
* [PF-1994] Migrate Modal fix shades Instead of showing them conditionally we animate them with opacity * [PF-1994] Migrate Modal update changeset * [PF-1994] Migrate Modal update cypress * [PF-1994] Migrate Modal tweak cypress further * [PF-1994] Migrate Modal tweak cypress
|
📖 Storybook Preview 🚀 Your Storybook preview is ready: View Storybook 📍 Preview URL: This preview is updated automatically when you push changes to this PR. |
[FX-NNNN]
Description
Describe the changes and motivations for the pull request.
How to test
Screenshots
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?