From bfee66b597aa92ed2a7272999267244bcf64efef Mon Sep 17 00:00:00 2001 From: Elizabet Oliveira Date: Tue, 27 Sep 2022 18:27:05 +0100 Subject: [PATCH 1/6] [EuiText] Set default color to `inherit` --- .../__snapshots__/accordion.test.tsx.snap | 2 +- .../card/__snapshots__/card.test.tsx.snap | 64 +++++++++---------- .../data_grid_cell.test.tsx.snap | 2 +- .../column_sorting.test.tsx.snap | 2 +- .../__snapshots__/confirm_modal.test.tsx.snap | 2 +- .../__snapshots__/page_header.test.tsx.snap | 2 +- .../page_header_content.test.tsx.snap | 2 +- .../__snapshots__/pagination.test.tsx.snap | 2 +- .../stat/__snapshots__/stat.test.tsx.snap | 42 ++++++------ .../text/__snapshots__/text.test.tsx.snap | 4 +- src/components/text/text.styles.ts | 2 +- src/components/text/text.tsx | 8 +-- src/components/text/text_color.tsx | 3 +- .../global_toast_list.test.tsx.snap | 8 +-- .../toast/__snapshots__/toast.test.tsx.snap | 2 +- .../__snapshots__/tree_view.test.tsx.snap | 4 +- 16 files changed, 75 insertions(+), 76 deletions(-) diff --git a/src/components/accordion/__snapshots__/accordion.test.tsx.snap b/src/components/accordion/__snapshots__/accordion.test.tsx.snap index 6828e9415a6..b9c1019a1d5 100644 --- a/src/components/accordion/__snapshots__/accordion.test.tsx.snap +++ b/src/components/accordion/__snapshots__/accordion.test.tsx.snap @@ -1051,7 +1051,7 @@ exports[`EuiAccordion props isLoadingMessage is rendered 1`] = ` role="progressbar" />

Please wait diff --git a/src/components/card/__snapshots__/card.test.tsx.snap b/src/components/card/__snapshots__/card.test.tsx.snap index b75bbc0d28e..d7eae708297 100644 --- a/src/components/card/__snapshots__/card.test.tsx.snap +++ b/src/components/card/__snapshots__/card.test.tsx.snap @@ -18,7 +18,7 @@ exports[`EuiCard betaBadgeProps renders href 1`] = `

@@ -56,7 +56,7 @@ exports[`EuiCard horizontal selectable 1`] = `

@@ -103,7 +103,7 @@ exports[`EuiCard is rendered 1`] = `

@@ -132,7 +132,7 @@ exports[`EuiCard props a null icon 1`] = `

@@ -162,7 +162,7 @@ exports[`EuiCard props accepts div props like style 1`] = `

@@ -217,7 +217,7 @@ exports[`EuiCard props children with description 1`] = `

@@ -251,7 +251,7 @@ exports[`EuiCard props display accent is rendered 1`] = `

@@ -280,7 +280,7 @@ exports[`EuiCard props display danger is rendered 1`] = `

@@ -309,7 +309,7 @@ exports[`EuiCard props display plain is rendered 1`] = `

@@ -338,7 +338,7 @@ exports[`EuiCard props display primary is rendered 1`] = `

@@ -367,7 +367,7 @@ exports[`EuiCard props display subdued is rendered 1`] = `

@@ -396,7 +396,7 @@ exports[`EuiCard props display success is rendered 1`] = `

@@ -425,7 +425,7 @@ exports[`EuiCard props display transparent is rendered 1`] = `

@@ -454,7 +454,7 @@ exports[`EuiCard props display warning is rendered 1`] = `

@@ -483,7 +483,7 @@ exports[`EuiCard props footer 1`] = `

@@ -519,7 +519,7 @@ exports[`EuiCard props hasBorder 1`] = `

@@ -548,7 +548,7 @@ exports[`EuiCard props horizontal 1`] = `

@@ -580,7 +580,7 @@ exports[`EuiCard props href supports href as a link 1`] = `

@@ -617,7 +617,7 @@ exports[`EuiCard props icon 1`] = `

@@ -660,7 +660,7 @@ exports[`EuiCard props image 1`] = `

@@ -691,7 +691,7 @@ exports[`EuiCard props isDisabled 1`] = `

@@ -720,7 +720,7 @@ exports[`EuiCard props paddingSize l is rendered 1`] = `

@@ -749,7 +749,7 @@ exports[`EuiCard props paddingSize m is rendered 1`] = `

@@ -778,7 +778,7 @@ exports[`EuiCard props paddingSize none is rendered 1`] = `

@@ -807,7 +807,7 @@ exports[`EuiCard props paddingSize s is rendered 1`] = `

@@ -836,7 +836,7 @@ exports[`EuiCard props paddingSize xl is rendered 1`] = `

@@ -865,7 +865,7 @@ exports[`EuiCard props paddingSize xs is rendered 1`] = `

@@ -894,7 +894,7 @@ exports[`EuiCard props selectable 1`] = `

@@ -939,7 +939,7 @@ exports[`EuiCard props textAlign 1`] = `

@@ -968,7 +968,7 @@ exports[`EuiCard props titleElement 1`] = `

@@ -997,7 +997,7 @@ exports[`EuiCard props titleElement with nodes 1`] = `

@@ -1026,7 +1026,7 @@ exports[`EuiCard props titleSize 1`] = `

diff --git a/src/components/datagrid/body/__snapshots__/data_grid_cell.test.tsx.snap b/src/components/datagrid/body/__snapshots__/data_grid_cell.test.tsx.snap index 11d8f4f7ed7..a348fa40de0 100644 --- a/src/components/datagrid/body/__snapshots__/data_grid_cell.test.tsx.snap +++ b/src/components/datagrid/body/__snapshots__/data_grid_cell.test.tsx.snap @@ -3,7 +3,7 @@ exports[`EuiDataGridCell componentDidUpdate handles the cell popover by forwarding the cell's DOM node and contents to the parent popover context 1`] = ` Array [

1 diff --git a/src/components/stat/__snapshots__/stat.test.tsx.snap b/src/components/stat/__snapshots__/stat.test.tsx.snap index 2707779ea29..8948865ccc1 100644 --- a/src/components/stat/__snapshots__/stat.test.tsx.snap +++ b/src/components/stat/__snapshots__/stat.test.tsx.snap @@ -7,7 +7,7 @@ exports[`EuiStat is rendered 1`] = ` data-test-subj="test subject string" >