Draw the plain tooltip without Tailwind
Plan step 36. <x-tooltip> renders data-md-tooltip and data-md-side on the bubble and data-md-tooltip-anchor on a standalone trigger's wrapper; tooltip.css draws PlainTooltipTokens' inverse-surface bubble, its anchor placement and flips per side, and the fade on the fast effects spring with @starting-style. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
co-authored by
Claude Opus 5
parent
6c7414d60e
commit
147dbcf041
@@ -160,7 +160,7 @@ it('anchors its tooltip to itself', function () {
|
||||
|
||||
expect($anchor)->not->toBeEmpty()
|
||||
->and($html)->toContain("position-anchor: {$anchor[1]}")
|
||||
->toContain('[position-area:bottom]')
|
||||
->toContain('data-md-side="bottom"')
|
||||
->not->toContain('aria-label="Saves the draft"');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user