refactor: update UniversalSearch components with TypeScript and TextStatus

This commit is contained in:
Ahmed Bouhuolia
2026-02-09 19:26:26 +02:00
parent 1972861c97
commit 7375512fec
10 changed files with 484 additions and 316 deletions

View File

@@ -10,12 +10,17 @@ const TextStatusRoot = styled.span`
${(props) =>
props.intent === 'warning' &&
`
color: #ec5b0a;`}
color: #c87619;`}
${(props) =>
props.intent === 'danger' &&
`
color: #f17377;`}
${(props) =>
props.intent === 'success' &&
`
color: #2ba01d;`}
color: #238551;`}
${(props) =>
props.intent === 'none' &&