Skip to content

feat(pie-tooltip): DSW-4306 basic tooltip styles and markup - #3171

Merged
jamieomaguire merged 39 commits into
mainfrom
dsw-4306-controlled-componen-2
Sep 8, 2026
Merged

jamieomaguire merged 39 commits into
mainfrom
dsw-4306-controlled-componen-2

Conversation

@jamieomaguire

@jamieomaguire jamieomaguire commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes (can list changeset entries if preferable)

  • Adds the initial tooltip component. No interactivity yet, just the styles and markup rendering.
  • The bulk of the tooltip logic is related to anchoring it relative to the trigger element
  • Some initial a11y testing has been done, but there will be a dedicated ticket later on to fully ensure quality
tooltip-weeee.mov
Screenshot 2026-09-04 at 17 55 52 Screenshot 2026-09-04 at 17 56 08 Screenshot 2026-09-04 at 17 56 23 Screenshot 2026-09-04 at 17 56 46

Author Checklist (complete before requesting a review, do not delete any)

  • I have performed a self-review of my code.
  • I have added thorough tests where applicable (unit / component / visual).
  • I have reviewed the PIE Storybook/PIE Docs PR preview.
  • I have reviewed visual test updates properly before approving.
  • If changes will affect consumers of the package, I have created a changeset entry.
  • If a changeset file has been created, I have tested these changes in PIE Aperture using the /test-aperture command.

Not-applicable Checklist items

Please move any Author checklist items that do not apply to this pull request here.

  • If a component was added or its props were updated, I provided the necessary updates for the Figma Code Connect file

Reviewer checklists (complete before approving)

Mark items as [-] N/A if not applicable.

Reviewer 1

  • [-] I have reviewed the PIE Storybook/PIE Docs PR preview.
  • [-] I have verified that all acceptance criteria for this ticket have been completed.
  • [-] I have reviewed the Aperture changes (if added)
  • [-] If there are visual test updates, I have reviewed them.

@jamieomaguire jamieomaguire self-assigned this Sep 2, 2026
@jamieomaguire
jamieomaguire requested a review from a team as a code owner September 2, 2026 17:22
@changeset-bot

changeset-bot Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7c2acbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@justeattakeaway/pie-tooltip Minor
@justeattakeaway/pie-webc Patch
@justeattakeaway/pie-docs Patch
@justeattakeaway/pie-storybook Patch

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

@jamieomaguire

Copy link
Copy Markdown
Contributor Author

/test-aperture

@pie-design-system-app

Copy link
Copy Markdown
Contributor

Starting a new snapshot build. You can view the logs here.

@pie-design-system-app

Copy link
Copy Markdown
Contributor

@jamieomaguire Your snapshots have been published to npm!

Test the snapshots by updating your package.json with the newly-published versions:

Note

If you have more than one of these packages installed, we suggest using the new snapshots for all of them to help avoid version conflicts.

yarn up @justeattakeaway/pie-tooltip@0.0.0-snapshot-release-20260903072720 --mode=update-lockfile
yarn up @justeattakeaway/pie-webc@0.0.0-snapshot-release-20260903072720 --mode=update-lockfile

Then finally:

yarn install

@pie-design-system-app

Copy link
Copy Markdown
Contributor

🚀 Aperture PR created: justeattakeaway/pie-aperture#568

App deployments will appear under the Deployments section of this PR shortly!

Updated 3 Sept 2026, 07:30 UTC · PIE @ a830c6a · workflow run

@jamieomaguire

Copy link
Copy Markdown
Contributor Author

/snapit

@pie-design-system-app

Copy link
Copy Markdown
Contributor

Starting a new snapshot build. You can view the logs here.

@pie-design-system-app

Copy link
Copy Markdown
Contributor

@jamieomaguire Your snapshots have been published to npm!

Test the snapshots by updating your package.json with the newly-published versions:

Note

If you have more than one of these packages installed, we suggest using the new snapshots for all of them to help avoid version conflicts.

yarn up @justeattakeaway/pie-tooltip@0.0.0-snapshot-release-20260904145001 --mode=update-lockfile
yarn up @justeattakeaway/pie-webc@0.0.0-snapshot-release-20260904145001 --mode=update-lockfile

Then finally:

yarn install

@jamieomaguire

Copy link
Copy Markdown
Contributor Author

/snapit

@pie-design-system-app

Copy link
Copy Markdown
Contributor

Starting a new snapshot build. You can view the logs here.

@pie-design-system-app

Copy link
Copy Markdown
Contributor

@jamieomaguire Your snapshots have been published to npm!

Test the snapshots by updating your package.json with the newly-published versions:

Note

If you have more than one of these packages installed, we suggest using the new snapshots for all of them to help avoid version conflicts.

yarn up @justeattakeaway/pie-tooltip@0.0.0-snapshot-release-20260904153541 --mode=update-lockfile
yarn up @justeattakeaway/pie-webc@0.0.0-snapshot-release-20260904153541 --mode=update-lockfile

Then finally:

yarn install

@jamieomaguire

Copy link
Copy Markdown
Contributor Author

/snapit

@pie-design-system-app

Copy link
Copy Markdown
Contributor

Starting a new snapshot build. You can view the logs here.

@pie-design-system-app

Copy link
Copy Markdown
Contributor

@jamieomaguire Your snapshots have been published to npm!

Test the snapshots by updating your package.json with the newly-published versions:

Note

If you have more than one of these packages installed, we suggest using the new snapshots for all of them to help avoid version conflicts.

yarn up @justeattakeaway/pie-tooltip@0.0.0-snapshot-release-20260904172212 --mode=update-lockfile
yarn up @justeattakeaway/pie-webc@0.0.0-snapshot-release-20260904172212 --mode=update-lockfile

Then finally:

yarn install

@jamieomaguire
jamieomaguire merged commit 2cffd4d into main Sep 8, 2026
21 of 22 checks passed
@jamieomaguire
jamieomaguire deleted the dsw-4306-controlled-componen-2 branch September 8, 2026 14:35
@pie-design-system-app pie-design-system-app Bot mentioned this pull request Sep 8, 2026
grid-template-columns: 100%;
grid-template-rows: 100%;
visibility: hidden;
transition: visibility 0s linear 150ms;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
transition: visibility 0s linear 150ms;
transition: visibility 0s linear var(--dt-motion-timing-150);

Comment on lines +135 to +136
--tooltip-motion-duration: 150ms;
--tooltip-motion-easing: cubic-bezier(0.45, 0, 0.55, 1);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i believe we already have pie motion tokens for these cases

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.

3 participants