Skip to content

Commit ce03410

Browse files
timfdevpboers1988
andauthored
Include missing css imports directly in component files (#2331)
* Include missing css imports directly in component files * both themes * both themes * changeset * Change versioning and add CSS theme import for EUI charts Updated versioning for orchestrator-ui-components from major to patch and included CSS theme import for EUI charts. --------- Co-authored-by: Peter Boers <[email protected]>
1 parent 12de731 commit ce03410

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.changeset/yellow-rules-tan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@orchestrator-ui/orchestrator-ui-components': patch
3+
---
4+
5+
Include css theme import for eui charts in components

packages/orchestrator-ui-components/src/components/WfoAgent/WfoAgentChart/WfoAgentLineChart.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import {
99
Position,
1010
Settings,
1111
} from '@elastic/charts';
12+
import '@elastic/charts/dist/theme_only_dark.css';
13+
import '@elastic/charts/dist/theme_only_light.css';
1214

1315
import { useOrchestratorTheme } from '@/hooks';
1416
import { AggregationResultsData } from '@/types';

packages/orchestrator-ui-components/src/components/WfoAgent/WfoAgentChart/WfoAgentPieChart.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import {
99
Position,
1010
Settings,
1111
} from '@elastic/charts';
12+
import '@elastic/charts/dist/theme_only_dark.css';
13+
import '@elastic/charts/dist/theme_only_light.css';
1214

1315
import { AggregationResultsData } from '@/types';
1416

0 commit comments

Comments
 (0)