Skip to content

Commit 7634780

Browse files
authored
fix: remove reach dependency in InputSearch for React 18 compatibility (#645)
1 parent 95e4b52 commit 7634780

21 files changed

+2485
-226
lines changed

build.washingtonpost.com/docs/components/input-search.mdx

+2-3
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,14 @@ export default function Example() {
236236
/>
237237
))}
238238
{results2.length > 3 && (
239-
<>
240-
<InputSearch.ListHeading>Group</InputSearch.ListHeading>
239+
<InputSearch.ListHeading title="Group">
241240
{results2.slice(3).map((city) => (
242241
<InputSearch.ListItem
243242
key={`${city.name.toLowerCase()}, ${city.state.toLowerCase()}`}
244243
value={`${city.name}, ${city.state}`}
245244
/>
246245
))}
247-
</>
246+
</InputSearch.ListHeading>
248247
)}
249248
</InputSearch.List>
250249
) : (

build.washingtonpost.com/public/sitemap.xml

+4
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@
128128
<loc>https://build.washingtonpost.com/components/visually-hidden</loc>
129129
</url>
130130

131+
<url>
132+
<loc>https://build.washingtonpost.com/font-faces</loc>
133+
</url>
134+
131135
<url>
132136
<loc>https://build.washingtonpost.com/foundations/base</loc>
133137
</url>

0 commit comments

Comments
 (0)