Skip to content

Commit

Permalink
export SelectPanel draft from @primer/react/drafts (#3809)
Browse files Browse the repository at this point in the history
* export `SelectPanel` draft from `@primer/react/drafts`

* changeset

* test: export `SelectPanel` from `@primer/react/drafts`
  • Loading branch information
gr2m authored Oct 13, 2023
1 parent caf7c50 commit 6b18eae
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/happy-moles-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

export `SelectPanel` from `@primer/react/drafts`

<!-- Changed components: _none_ -->
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/exports.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ exports[`@primer/react/drafts should not update exports without a semver change
"Root",
"type SavedReply",
"SegmentedControl",
"SelectPanel",
"type ShowSuggestionsEvent",
"type SlotConfig",
"SplitPageLayout",
Expand Down Expand Up @@ -444,6 +445,7 @@ exports[`@primer/react/experimental should not update exports without a semver c
"Root",
"type SavedReply",
"SegmentedControl",
"SelectPanel",
"type ShowSuggestionsEvent",
"type SlotConfig",
"SplitPageLayout",
Expand Down
1 change: 1 addition & 0 deletions src/drafts/SelectPanel2/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {SelectPanel} from './SelectPanel'
2 changes: 2 additions & 0 deletions src/drafts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export * from '../Hidden'

export * from './hooks'

export * from './SelectPanel2'

// TODO: Remove these components from the drafts bundle in the next major release
export * from '../TreeView'
export * from '../NavList'
Expand Down

0 comments on commit 6b18eae

Please sign in to comment.