Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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/eight-avocados-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Tooltip: Do not export all types publicly in the experimental bundle
2 changes: 1 addition & 1 deletion packages/react/src/TooltipV2/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export type TooltipProps = React.PropsWithChildren<
ComponentProps<typeof StyledTooltip>
>

export type TriggerPropsType = {
type TriggerPropsType = {
'aria-describedby'?: string
'aria-labelledby'?: string
'aria-label'?: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,7 @@ exports[`@primer/react/experimental should not update exports without a semver c
"type TableTitleProps",
"type TitleProps",
"Tooltip",
"TooltipContext",
"type TooltipDirection",
"type TooltipProps",
"type TriggerPropsType",
"UnderlinePanels",
"type UnderlinePanelsPanelProps",
"type UnderlinePanelsProps",
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/experimental/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export type {
NavListDividerProps,
} from '../NavList'
export * from './SelectPanel2'
export * from '../TooltipV2'
export {Tooltip} from '../TooltipV2'
export type {TooltipProps} from '../TooltipV2'
export * from '../ActionBar'

export {ScrollableRegion} from '../ScrollableRegion'
Expand Down
Loading