diff --git a/audit/component_map/tooltip.yml b/audit/component_map/tooltip.yml new file mode 100644 index 000000000..d359fd86c --- /dev/null +++ b/audit/component_map/tooltip.yml @@ -0,0 +1,32 @@ +shadcn: tooltip +shadcn_sha: 8a3536678a528cc012b9e62484290e79d0be410f +kind: popover +docs_view: tooltip +# The fixture follows shadcn's "Basic" example: an outline Button as the +# trigger and a

in the content. Both sides open at once (delay 0) and stay +# open on click (closeOnClick false / close_on_click: false) so collect's +# click, which hovers the trigger first, reaches the open state. +parts: + Tooltip: tooltip + TooltipTrigger: tooltip-trigger + TooltipContent: tooltip-content +# TooltipTrigger is an inline-flex

wrapper in RubyUI; the Button inside +# it is what shadcn renders as the trigger (render={