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/khaki-dolls-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Promote Dialog, Tooltip, and Stack from `@primer/react/experimental` to `@primer/react`
3 changes: 2 additions & 1 deletion packages/react/src/TooltipV2/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Tooltip'
export {Tooltip} from './Tooltip'
export type {TooltipProps, TooltipDirection} from './Tooltip'
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ exports[`@primer/react should not update exports without a semver change 1`] = `
"createComponent",
"Details",
"type DetailsProps",
"Dialog",
"type DialogButtonProps",
"type DialogHeaderProps",
"type DialogHeight",
"type DialogProps",
"type DialogWidth",
"Flash",
"type FlashProps",
"type FocusTrapHookSettings",
Expand Down Expand Up @@ -173,6 +179,8 @@ exports[`@primer/react should not update exports without a semver change 1`] = `
"ToggleSwitch",
"Token",
"type TokenProps",
"Tooltip",
"type TooltipProps",
"type TouchOrMouseEvent",
"TreeView",
"type TreeViewErrorDialogProps",
Expand Down
4 changes: 4 additions & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ export {default as CounterLabel} from './CounterLabel'
export type {CounterLabelProps} from './CounterLabel'
export {default as Details} from './Details'
export type {DetailsProps} from './Details'
export {Dialog} from './Dialog/Dialog'
export type {DialogProps, DialogHeaderProps, DialogButtonProps, DialogWidth, DialogHeight} from './Dialog/Dialog'
export type {ConfirmationDialogProps} from './ConfirmationDialog/ConfirmationDialog'
export {ConfirmationDialog} from './ConfirmationDialog/ConfirmationDialog'
export {default as Flash} from './Flash'
Expand Down Expand Up @@ -164,6 +166,8 @@ export type {
} from './Timeline'
export {default as Token, IssueLabelToken, AvatarToken} from './Token'
export type {TokenProps, IssueLabelTokenProps} from './Token'
export {Tooltip} from './TooltipV2'
export type {TooltipProps} from './TooltipV2'
export {default as Truncate} from './Truncate'
export type {TruncateProps} from './Truncate'

Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/next/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use client'

// next entrypoint is used to export the latest version of the components that have conflicts with the main bundle.
export * from '../TooltipV2'
export {Tooltip} from '../TooltipV2'
export type {TooltipProps} from '../TooltipV2'
Loading