From 8642c8a31a9e4a7f9646dda43dedc008e3ca4f39 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Mon, 13 Jun 2022 11:23:44 -0500 Subject: [PATCH] [EuiCallout] Set `grow={false}` (#5963) * set grow=false on euicallout euipanel * update snapshots * CL * Update upcoming_changelogs/5963.md Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> --- .../__snapshots__/call_out.test.tsx.snap | 28 +++++++++---------- src/components/call_out/call_out.tsx | 1 + .../form/__snapshots__/form.test.tsx.snap | 6 ++-- upcoming_changelogs/5963.md | 4 +++ 4 files changed, 22 insertions(+), 17 deletions(-) create mode 100644 upcoming_changelogs/5963.md diff --git a/src/components/call_out/__snapshots__/call_out.test.tsx.snap b/src/components/call_out/__snapshots__/call_out.test.tsx.snap index 29fe0926977..e2c77a11df4 100644 --- a/src/components/call_out/__snapshots__/call_out.test.tsx.snap +++ b/src/components/call_out/__snapshots__/call_out.test.tsx.snap @@ -3,7 +3,7 @@ exports[`EuiCallOut is rendered 1`] = `
`; exports[`EuiCallOut props color primary is rendered 1`] = `
`; exports[`EuiCallOut props color success is rendered 1`] = `
`; exports[`EuiCallOut props color warning is rendered 1`] = `
`; exports[`EuiCallOut props heading h1 is rendered 1`] = `
`; exports[`EuiCallOut props heading h2 is rendered 1`] = `
`; exports[`EuiCallOut props heading h3 is rendered 1`] = `
`; exports[`EuiCallOut props heading h4 is rendered 1`] = `
`; exports[`EuiCallOut props heading h5 is rendered 1`] = `
`; exports[`EuiCallOut props heading h6 is rendered 1`] = `
`; exports[`EuiCallOut props heading p is rendered 1`] = `
`; exports[`EuiCallOut props iconType is rendered 1`] = `
`; exports[`EuiCallOut props title is rendered 1`] = `

( paddingSize={size === 's' ? 's' : 'm'} className={classes} panelRef={ref} + grow={false} {...rest} > {header} diff --git a/src/components/form/__snapshots__/form.test.tsx.snap b/src/components/form/__snapshots__/form.test.tsx.snap index cc709ad9840..6abb8afb3a3 100644 --- a/src/components/form/__snapshots__/form.test.tsx.snap +++ b/src/components/form/__snapshots__/form.test.tsx.snap @@ -24,7 +24,7 @@ exports[`EuiForm renders with error callout when isInvalid is "true" 1`] = ` >