Skip to content

Commit

Permalink
0.0.267 - feat: tooltip portal
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Jan 7, 2025
1 parent 68851e9 commit 8fd198e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ https://www.npmjs.com/package/@risc0/ui

| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/statements-41.79%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-79.71%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-73.8%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-41.79%25-red.svg?style=flat) |
| ![Statements](https://img.shields.io/badge/statements-41.76%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-79.71%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-73.8%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-41.76%25-red.svg?style=flat) |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.266",
"version": "0.0.267",
"private": false,
"sideEffects": false,
"type": "module",
Expand Down
3 changes: 2 additions & 1 deletion tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;

const TooltipProvider = TooltipPrimitive.Provider;
const Tooltip = TooltipPrimitive.Root;
const TooltipPortal = TooltipPrimitive.Portal;
const TooltipTrigger = TooltipPrimitive.Trigger;

export { Tooltip, TooltipArrow, TooltipTrigger, TooltipContent, TooltipProvider };
export { Tooltip, TooltipArrow, TooltipTrigger, TooltipContent, TooltipProvider, TooltipPortal };

0 comments on commit 8fd198e

Please sign in to comment.