Skip to content
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3eef820
feat(pie-tooltip): DSW-4306 basic component styles and demo stories
jamieomaguire Sep 1, 2026
2dff65c
delete comment
jamieomaguire Sep 1, 2026
fbd672f
radius
jamieomaguire Sep 1, 2026
7ec1d1e
style tweaks
jamieomaguire Sep 1, 2026
3f001ac
fix placement size
jamieomaguire Sep 1, 2026
86b688d
tidy stories and fix rtl
jamieomaguire Sep 2, 2026
cc21d8c
custom width story
jamieomaguire Sep 2, 2026
9ed0d70
simplify public stories
jamieomaguire Sep 2, 2026
4b45fb7
tidy up pointer
jamieomaguire Sep 2, 2026
bbabb91
icon styling
jamieomaguire Sep 2, 2026
14d034a
heading font size
jamieomaguire Sep 2, 2026
2afa2e1
rename event
jamieomaguire Sep 2, 2026
e2b1832
event fix
jamieomaguire Sep 2, 2026
43e00e1
fix import
jamieomaguire Sep 2, 2026
9dd5600
style tweaks and readme update
jamieomaguire Sep 2, 2026
70738f1
tests
jamieomaguire Sep 2, 2026
6260dc3
tidy storybook and docs
jamieomaguire Sep 2, 2026
a640633
storybook tidt
jamieomaguire Sep 2, 2026
e34f4ca
delete comments
jamieomaguire Sep 2, 2026
a830c6a
mc
jamieomaguire Sep 2, 2026
4ac7286
FIX: bounce and rtl
jamieomaguire Sep 3, 2026
25296b5
bundlewatch bump
jamieomaguire Sep 3, 2026
ac2d204
fix percy
jamieomaguire Sep 3, 2026
14c2c77
tidy test storybook styles
jamieomaguire Sep 3, 2026
20b241a
use ds tokens in sb
jamieomaguire Sep 3, 2026
fe33ff5
alter clip-path to fix visual artifacts
jamieomaguire Sep 4, 2026
eff3648
Merge branch 'main' into dsw-4306-controlled-componen-2
jamieomaguire Sep 4, 2026
4285d14
delete some tests covered by vrt
jamieomaguire Sep 4, 2026
76504a2
test tidy
jamieomaguire Sep 4, 2026
f43be17
attempt to fix flashing tooltip on pageload
jamieomaguire Sep 4, 2026
65e1a27
animations
jamieomaguire Sep 4, 2026
2b5c1ef
bundlewatch bump
jamieomaguire Sep 4, 2026
4040038
sync
jamieomaguire Sep 8, 2026
ac0d394
improve comments
jamieomaguire Sep 8, 2026
294db06
tidy scss comments
jamieomaguire Sep 8, 2026
cd4d8d4
Merge branch 'main' into dsw-4306-controlled-componen-2
jamieomaguire Sep 8, 2026
a430511
tidy focus ring in onboarding story
jamieomaguire Sep 8, 2026
91978a8
update raf comment and use correct typography class
jamieomaguire Sep 8, 2026
7c2acbb
use event const
jamieomaguire Sep 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tooltip-controlled-panel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@justeattakeaway/pie-tooltip": minor
---

[Added] - A controlled tooltip panel. `trigger` anchors the panel to an element elsewhere in the DOM by `id`, `position` places it on any of twelve sides and alignments, and `size` gives it a fixed 280px, its content's width, or the width of the trigger's parent. `variant` (`default` dark, `inverse` light), `type`, `heading`, `headingLevel`, `isDismissible` and the `content` and `action` slots cover presentation, with `--tooltip-offset` and `--tooltip-width` as CSS escape hatches. The panel re-measures its trigger while open, so it stays anchored through scrolling and resizing. Filling the `action` slot switches the panel from `role="tooltip"` to a named non-modal `role="dialog"`. The consumer owns `isOpen`: the component never writes to it, and emits `pie-tooltip-close` instead.
Loading
Loading