Skip to content

Commit

Permalink
fix: remove reach dependency in InputSearch for React 18 compatibility (
Browse files Browse the repository at this point in the history
  • Loading branch information
wp-aberg authored Jun 28, 2024
1 parent 95e4b52 commit 7634780
Show file tree
Hide file tree
Showing 21 changed files with 2,485 additions and 226 deletions.
5 changes: 2 additions & 3 deletions build.washingtonpost.com/docs/components/input-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,14 @@ export default function Example() {
/>
))}
{results2.length > 3 && (
<>
<InputSearch.ListHeading>Group</InputSearch.ListHeading>
<InputSearch.ListHeading title="Group">
{results2.slice(3).map((city) => (
<InputSearch.ListItem
key={`${city.name.toLowerCase()}, ${city.state.toLowerCase()}`}
value={`${city.name}, ${city.state}`}
/>
))}
</>
</InputSearch.ListHeading>
)}
</InputSearch.List>
) : (
Expand Down
4 changes: 4 additions & 0 deletions build.washingtonpost.com/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@
<loc>https://build.washingtonpost.com/components/visually-hidden</loc>
</url>

<url>
<loc>https://build.washingtonpost.com/font-faces</loc>
</url>

<url>
<loc>https://build.washingtonpost.com/foundations/base</loc>
</url>
Expand Down
Loading

0 comments on commit 7634780

Please sign in to comment.