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
7 changes: 7 additions & 0 deletions .changeset/tough-pillows-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': minor
---

The UnderlineNav, FilterList, and FilteredSearch components will be deprecated in v36 and have been moved to the deprecated entrypoint. To use the new UnderlineNav, migrate to the component available in drafts.

<!-- Changed components: FilterList, FilteredSearch, UnderlineNav -->
3 changes: 3 additions & 0 deletions src/__tests__/__snapshots__/exports.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ exports[`@primer/react/decprecated should not update exports without a semver ch
"Dropdown",
"DropdownButton",
"DropdownMenu",
"FilterList",
"FilteredSearch",
"Fixed",
"Flex",
"FormGroup",
Expand All @@ -128,6 +130,7 @@ exports[`@primer/react/decprecated should not update exports without a semver ch
"Relative",
"SelectMenu",
"Sticky",
"UnderlineNav",
]
`;

Expand Down
8 changes: 8 additions & 0 deletions src/deprecated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,11 @@ export type {
ButtonCloseProps,
} from './Button'
// end of v35.0.0

// Deprecated in v36
export {default as FilterList} from '../FilterList'
export type {FilterListProps, FilterListItemProps} from '../FilterList'
export {default as FilteredSearch} from '../FilteredSearch'
export type {FilteredSearchProps} from '../FilteredSearch'
export {default as UnderlineNav} from '../UnderlineNav'
export type {UnderlineNavProps, UnderlineNavLinkProps} from '../UnderlineNav'