radix-ui / primitives

Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.
https://radix-ui.com/primitives
MIT License
15.51k stars 791 forks source link

TooltipProviderProps no longer exported after update to @radix-ui/react-tooltip v1.1.1 #2978

Closed ivy-lli closed 3 months ago

ivy-lli commented 3 months ago

TooltipProviderProps no longer exported after update to @radix-ui/react-tooltip v1.1.1

Using shadcn/ui Tooltip component: https://ui.shadcn.com/docs/components/tooltip

Current Behavior

image

Expected behavior

image

Reproducible example

Try to reexport the TooltipProvider

Suggested solution

Not sure but maybe this change causes this problem? https://github.com/radix-ui/primitives/pull/2934/files#diff-da7e63370e718104438e4866d2cd43b3390689aa2c030321312c0be78602f544

Additional context

I think this is also related to other issues like: https://github.com/radix-ui/primitives/issues/2973

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-tooltip v1.1.1
React n/a v18.3.1
TypeScript n/a v5.4.5
Node n/a v20.10.0
npm/yarn npm v10.2.3
Operating System macOs 14.5
vladmoroz commented 3 months ago

Released 1.1.2