elastic/kibana

[Detection Engine] EUI Chore - Remove usage of styled-components

Open

#211 119 ouverte le 13 févr. 2025

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)TypeScript (8 021 forks)batch import
EUI Visual RefreshTeam: SecuritySolutionTeam:Detection EngineTeam:Detection Engineeringeffort:lowgood first issuevalue:high

Métriques du dépôt

Stars
 (19 065 stars)
Métriques de merge PR
 (Merge moyen 1j 16h) (999 PRs mergées en 30 j)

Description

Summary

As part of the recent EUI Refresh, many instances of our usage of styled-components were removed necessarily as they referenced either outdated or static EUI theme variables. However, there are still several (65, at the time of creating this issue) uses of styled-components that need to be updated.

Why?

The motivation is described well here. Essentially, we are moving toward @emotion for its ability to aggregate styles from multiple component levels, and we cannot use both styled-components and @emotion in the same file.

Guide contributeur