Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use smaller and compressed varients of buttons and form components #1010

Merged
merged 14 commits into from
Jul 23, 2024
Merged
Prev Previous commit
Update snapshots and fix errors
Also:
* Clean up some code

Signed-off-by: Miki <[email protected]>
AMoo-Miki committed Jul 22, 2024

Unverified

This user has not yet uploaded their public signing key.
commit 3341b6a78f4ac7d1e11e932663ad2cb6c7941b62
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ exports[`CreateNew renders 1`] = `
/>
</h4>
</EuiTitle>
<EuiSwitch
<EuiCompressedSwitch
checked={false}
label="Show visualization"
onChange={[Function]}
Original file line number Diff line number Diff line change
@@ -33,14 +33,14 @@ exports[`AssociatedMonitors renders 1`] = `
<EuiFlexItem
grow={false}
>
<EuiButton
<EuiSmallButton
fill={true}
iconType="link"
isDisabled={true}
onClick={[Function]}
>
Associate a monitor
</EuiButton>
</EuiSmallButton>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ exports[`EnhancedAccordion renders 1`] = `
<div
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--subdued euiPanel--noShadow euiPanel--noBorder euiPanel--flexGrowZero euiSplitPanel__inner"
>
<EuiButtonIcon
<EuiSmallButtonIcon
aria-label="Expand"
className="enhanced-accordion__arrow "
color="text"
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ Object {
<EuiFlexItem
grow={false}
>
<EuiButtonIcon
<EuiSmallButtonIcon
data-test-subj="alertsDashboardFlyout_closeButton_undefined"
display="empty"
iconSize="m"
Original file line number Diff line number Diff line change
@@ -177,13 +177,13 @@ exports[`AlertsDashboardFlyoutComponent renders 1`] = `
<ContentPanel
actions={
Array [
<EuiButton
<EuiSmallButton
data-test-subj="flyoutAcknowledgeAlertsButton"
disabled={true}
onClick={[Function]}
>
Acknowledge
</EuiButton>,
</EuiSmallButton>,
]
}
bodyStyles={
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`FormikCheckbox render 1`] = `
<div
class="euiCheckbox euiCheckbox--noLabel"
class="euiCheckbox euiCheckbox--noLabel euiCheckbox--compressed"
>
<input
class="euiCheckbox__input"
@@ -18,14 +18,14 @@ exports[`FormikCheckbox render 1`] = `

exports[`FormikCheckbox render formRow 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="testing-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiCheckbox euiCheckbox--noLabel"
class="euiCheckbox euiCheckbox--noLabel euiCheckbox--compressed"
>
<input
class="euiCheckbox__input"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`FormikCodeEditor render formRow 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="testing-form-row-row"
>
<div
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

exports[`FormikFieldNumber renders 1`] = `
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber"
class="euiFieldNumber euiFieldNumber--compressed"
name="testing"
type="number"
/>
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

exports[`FormikFieldPassword renders 1`] = `
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldPassword"
class="euiFieldPassword euiFieldPassword--compressed"
name="testing"
spellcheck="false"
type="password"
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

exports[`FormikFieldText renders 1`] = `
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldText"
class="euiFieldText euiFieldText--compressed"
name="testing"
type="text"
/>
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`FormikFormRow renders 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="testing-form-row-row"
>
<div
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

exports[`FormikSelect renders 1`] = `
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
id="testing"
name="testing"
>
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`FormikSwitch renders 1`] = `
<div
class="euiSwitch"
class="euiSwitch euiSwitch--compressed"
>
<button
aria-checked="false"
@@ -21,14 +21,7 @@ exports[`FormikSwitch renders 1`] = `
/>
<span
class="euiSwitch__track"
>
<div>
EuiIconMock
</div>
<div>
EuiIconMock
</div>
</span>
/>
</span>
</button>
<span
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@

exports[`FormikTextArea renders 1`] = `
<textarea
class="euiTextArea euiTextArea--resizeVertical"
class="euiTextArea euiTextArea--resizeVertical euiTextArea--compressed"
name="testing"
rows="6"
rows="3"
/>
`;
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ Array [
class="euiSpacer euiSpacer--m"
/>,
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="associatedMonitorsEditor-form-row-row"
>
<div
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`MonitorsEditor renders 1`] = `
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="associatedMonitorsEditor-form-row-row"
>
<div
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`MonitorsList renders 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="associatedMonitorsList-form-row-row"
>
<div
@@ -28,19 +28,19 @@ exports[`MonitorsList renders 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox euiComboBox--fullWidth"
class="euiComboBox euiComboBox--compressed euiComboBox--fullWidth"
data-test-subj="monitors_list_0"
name="associatedMonitorsList_0"
role="combobox"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--fullWidth euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--fullWidth euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
data-test-subj="comboBoxInput"
tabindex="-1"
>
@@ -95,19 +95,19 @@ exports[`MonitorsList renders 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox euiComboBox--fullWidth"
class="euiComboBox euiComboBox--compressed euiComboBox--fullWidth"
data-test-subj="monitors_list_1"
name="associatedMonitorsList_1"
role="combobox"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--fullWidth euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--fullWidth euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
data-test-subj="comboBoxInput"
tabindex="-1"
>
@@ -156,7 +156,7 @@ exports[`MonitorsList renders 1`] = `
class="euiSpacer euiSpacer--m"
/>
<button
class="euiButton euiButton--primary euiButton-isDisabled"
class="euiButton euiButton--primary euiButton--small euiButton-isDisabled"
disabled=""
type="button"
>
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`ClusterMetricsMonitor renders 1`] = `
class="euiSpacer euiSpacer--m"
/>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="uri.api_type-form-row-row"
>
<div
@@ -59,19 +59,19 @@ exports[`ClusterMetricsMonitor renders 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox"
class="euiComboBox euiComboBox--compressed"
data-test-subj="clusterMetricsApiTypeComboBox"
name="uri.api_type"
role="combobox"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--noWrap"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--noWrap"
data-test-subj="comboBoxInput"
tabindex="-1"
>
@@ -139,7 +139,7 @@ exports[`ClusterMetricsMonitor renders 1`] = `
class="euiSpacer euiSpacer--l"
/>
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="generated-id-row"
>
<div
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ exports[`ExtractionQuery renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="query-form-row-row"
>
<div
@@ -58,7 +58,7 @@ exports[`ExtractionQuery renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="generated-id-row"
>
<div
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
exports[`MonitorDefinition renders 1`] = `
<div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="searchType-form-row-row"
style="padding-left:10px"
>
@@ -21,13 +21,13 @@ exports[`MonitorDefinition renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
id="searchType"
name="searchType"
>
Original file line number Diff line number Diff line change
@@ -110,20 +110,20 @@ exports[`MonitorExpressions renders 1`] = `
style="width:150px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="bucketValue-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber"
class="euiFieldNumber euiFieldNumber--compressed"
min="1"
name="bucketValue"
type="number"
@@ -139,13 +139,13 @@ exports[`MonitorExpressions renders 1`] = `
style="width:150px"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
id="bucketUnitOfTime"
name="bucketUnitOfTime"
>
Original file line number Diff line number Diff line change
@@ -28,20 +28,20 @@ exports[`ForExpression renders 1`] = `
style="width:150px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="bucketValue-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber"
class="euiFieldNumber euiFieldNumber--compressed"
min="1"
name="bucketValue"
type="number"
@@ -57,13 +57,13 @@ exports[`ForExpression renders 1`] = `
style="width:150px"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
id="bucketUnitOfTime"
name="bucketUnitOfTime"
>
Original file line number Diff line number Diff line change
@@ -23,15 +23,15 @@ Array [
class="euiSpacer euiSpacer--s"
/>,
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="disabled-form-row-row"
style="padding-left:10px"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiCheckbox"
class="euiCheckbox euiCheckbox--compressed"
>
<input
class="euiCheckbox__input"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`MonitorTimeField renders 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="timeField-form-row-row"
style="padding-left:10px"
>
@@ -23,19 +23,19 @@ exports[`MonitorTimeField renders 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox"
class="euiComboBox euiComboBox--compressed"
data-test-subj="timeFieldComboBox"
name="timeField"
role="combobox"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--noWrap"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--noWrap"
data-test-subj="comboBoxInput"
tabindex="-1"
>
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ exports[`Frequencies renders CustomCron 1`] = `
style="margin-top:0px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="cronExpression-form-row-row"
style="margin-top:0px"
>
@@ -29,10 +29,10 @@ exports[`Frequencies renders CustomCron 1`] = `
class="euiFormRow__fieldWrapper"
>
<textarea
class="euiTextArea euiTextArea--resizeVertical"
class="euiTextArea euiTextArea--resizeVertical euiTextArea--compressed"
data-test-subj="customCron_cronExpression_field"
name="cronExpression"
rows="6"
rows="3"
>
0 */1 * * *
</textarea>
@@ -71,7 +71,7 @@ exports[`Frequencies renders CustomCron 1`] = `
style="margin-top:0px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="timezone-form-row-row"
style="margin-top:0px"
>
@@ -81,19 +81,19 @@ exports[`Frequencies renders CustomCron 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox"
class="euiComboBox euiComboBox--compressed"
data-test-subj="timezoneComboBox"
name="timezone"
role="combobox"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
data-test-subj="comboBoxInput"
tabindex="-1"
>
@@ -144,7 +144,7 @@ exports[`Frequencies renders CustomCron 1`] = `

exports[`Frequencies renders Frequency 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="frequency-form-row-row"
>
<div
@@ -162,13 +162,13 @@ exports[`Frequencies renders Frequency 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
data-test-subj="frequency_field"
id="frequency"
name="frequency"
@@ -225,7 +225,7 @@ exports[`Frequencies renders FrequencyPicker 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="period.interval-form-row-row"
>
<div
@@ -243,13 +243,13 @@ exports[`Frequencies renders FrequencyPicker 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber euiFieldNumber--withIcon"
class="euiFieldNumber euiFieldNumber--withIcon euiFieldNumber--compressed"
data-test-subj="interval_interval_field"
min="1"
name="period.interval"
@@ -276,20 +276,20 @@ exports[`Frequencies renders FrequencyPicker 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--hasEmptyLabelSpace"
class="euiFormRow euiFormRow--hasEmptyLabelSpace euiFormRow--compressed"
id="period.unit-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
data-test-subj="interval_unit_field"
id="period.unit"
name="period.unit"
@@ -338,7 +338,7 @@ exports[`Frequencies renders Interval 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="period.interval-form-row-row"
>
<div
@@ -356,13 +356,13 @@ exports[`Frequencies renders Interval 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber euiFieldNumber--withIcon"
class="euiFieldNumber euiFieldNumber--withIcon euiFieldNumber--compressed"
data-test-subj="interval_interval_field"
min="1"
name="period.interval"
@@ -389,20 +389,20 @@ exports[`Frequencies renders Interval 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--hasEmptyLabelSpace"
class="euiFormRow euiFormRow--hasEmptyLabelSpace euiFormRow--compressed"
id="period.unit-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
data-test-subj="interval_unit_field"
id="period.unit"
name="period.unit"
Original file line number Diff line number Diff line change
@@ -385,9 +385,9 @@ exports[`AnomalyDetectors renders 1`] = `
}
}
>
<EuiFormRow
<EuiCompressedFormRow
describedByIds={Array []}
display="row"
display="rowCompressed"
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
@@ -397,7 +397,7 @@ exports[`AnomalyDetectors renders 1`] = `
labelType="label"
>
<div
className="euiFormRow"
className="euiFormRow euiFormRow--compressed"
id="detectorId-form-row-row"
>
<div
@@ -628,9 +628,9 @@ exports[`AnomalyDetectors renders 1`] = `
onBlur={[Function]}
onFocus={[Function]}
>
<EuiComboBox
<EuiCompressedComboBox
async={false}
compressed={false}
compressed={true}
fullWidth={false}
id="detectorId"
isClearable={false}
@@ -650,14 +650,14 @@ exports[`AnomalyDetectors renders 1`] = `
<div
aria-expanded={false}
aria-haspopup="listbox"
className="euiComboBox"
className="euiComboBox euiComboBox--compressed"
name="detectorId"
onKeyDown={[Function]}
role="combobox"
>
<EuiComboBoxInput
autoSizeInputRef={[Function]}
compressed={false}
compressed={true}
fullWidth={false}
hasSelectedOptions={false}
id="detectorId"
@@ -684,7 +684,7 @@ exports[`AnomalyDetectors renders 1`] = `
value=""
>
<EuiFormControlLayout
compressed={false}
compressed={true}
fullWidth={false}
icon={
Object {
@@ -699,13 +699,13 @@ exports[`AnomalyDetectors renders 1`] = `
}
>
<div
className="euiFormControlLayout"
className="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
className="euiFormControlLayout__childrenWrapper"
>
<div
className="euiComboBox__inputWrap euiComboBox__inputWrap--noWrap"
className="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--noWrap"
data-test-subj="comboBoxInput"
onClick={[Function]}
tabIndex={-1}
@@ -776,7 +776,7 @@ exports[`AnomalyDetectors renders 1`] = `
</AutosizeInput>
</div>
<EuiFormControlLayoutIcons
compressed={false}
compressed={true}
icon={
Object {
"aria-label": "Open list of options",
@@ -797,7 +797,7 @@ exports[`AnomalyDetectors renders 1`] = `
data-test-subj="comboBoxToggleListButton"
iconRef={[Function]}
onClick={[Function]}
size="m"
size="s"
type="arrowDown"
>
<button
@@ -810,7 +810,7 @@ exports[`AnomalyDetectors renders 1`] = `
<EuiIcon
aria-hidden="true"
className="euiFormControlLayoutCustomIcon__icon"
size="m"
size="s"
type="arrowDown"
>
<div>
@@ -826,11 +826,11 @@ exports[`AnomalyDetectors renders 1`] = `
</EuiFormControlLayout>
</EuiComboBoxInput>
</div>
</EuiComboBox>
</EuiCompressedComboBox>
</ComboBox>
</div>
</div>
</EuiFormRow>
</EuiCompressedFormRow>
</FormikFormRow>
</Field>
</FormikInputWrapper>
Original file line number Diff line number Diff line change
@@ -131,12 +131,12 @@ exports[`DefineMonitor should show warning in case of Ad monitor and plugin is n
<ContentPanel
actions={
Array [
<EuiButton
<EuiSmallButton
disabled={true}
onClick={[Function]}
>
Run
</EuiButton>,
</EuiSmallButton>,
]
}
bodyStyles={
Original file line number Diff line number Diff line change
@@ -328,9 +328,9 @@ exports[`MonitorIndex renders 1`] = `
}
}
>
<EuiFormRow
<EuiCompressedFormRow
describedByIds={Array []}
display="row"
display="rowCompressed"
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
@@ -346,7 +346,7 @@ exports[`MonitorIndex renders 1`] = `
}
>
<div
className="euiFormRow"
className="euiFormRow euiFormRow--compressed"
id="index-form-row-row"
style={
Object {
@@ -596,9 +596,9 @@ exports[`MonitorIndex renders 1`] = `
onBlur={[Function]}
onFocus={[Function]}
>
<EuiComboBox
<EuiCompressedComboBox
async={true}
compressed={false}
compressed={true}
data-test-subj="indicesComboBox"
delimiter=","
fullWidth={false}
@@ -631,15 +631,15 @@ exports[`MonitorIndex renders 1`] = `
<div
aria-expanded={false}
aria-haspopup="listbox"
className="euiComboBox"
className="euiComboBox euiComboBox--compressed"
data-test-subj="indicesComboBox"
name="index"
onKeyDown={[Function]}
role="combobox"
>
<EuiComboBoxInput
autoSizeInputRef={[Function]}
compressed={false}
compressed={true}
fullWidth={false}
hasSelectedOptions={false}
id="index"
@@ -664,7 +664,7 @@ exports[`MonitorIndex renders 1`] = `
value=""
>
<EuiFormControlLayout
compressed={false}
compressed={true}
fullWidth={false}
icon={
Object {
@@ -680,13 +680,13 @@ exports[`MonitorIndex renders 1`] = `
isLoading={true}
>
<div
className="euiFormControlLayout"
className="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
className="euiFormControlLayout__childrenWrapper"
>
<div
className="euiComboBox__inputWrap euiComboBox__inputWrap-isLoading euiComboBox__inputWrap-isClearable"
className="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap-isLoading euiComboBox__inputWrap-isClearable"
data-test-subj="comboBoxInput"
onClick={[Function]}
tabIndex={-1}
@@ -757,7 +757,7 @@ exports[`MonitorIndex renders 1`] = `
</AutosizeInput>
</div>
<EuiFormControlLayoutIcons
compressed={false}
compressed={true}
icon={
Object {
"aria-label": "Open list of options",
@@ -786,7 +786,7 @@ exports[`MonitorIndex renders 1`] = `
data-test-subj="comboBoxToggleListButton"
iconRef={[Function]}
onClick={[Function]}
size="m"
size="s"
type="arrowDown"
>
<button
@@ -799,7 +799,7 @@ exports[`MonitorIndex renders 1`] = `
<EuiIcon
aria-hidden="true"
className="euiFormControlLayoutCustomIcon__icon"
size="m"
size="s"
type="arrowDown"
>
<div>
@@ -815,7 +815,7 @@ exports[`MonitorIndex renders 1`] = `
</EuiFormControlLayout>
</EuiComboBoxInput>
</div>
</EuiComboBox>
</EuiCompressedComboBox>
</ComboBox>
<EuiFormHelpText
className="euiFormRow__text"
@@ -831,7 +831,7 @@ exports[`MonitorIndex renders 1`] = `
</EuiFormHelpText>
</div>
</div>
</EuiFormRow>
</EuiCompressedFormRow>
</FormikFormRow>
</Field>
</FormikInputWrapper>
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ exports[`WorkflowDetails renders 1`] = `
>
<div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="frequency-form-row-row"
>
<div
@@ -80,13 +80,13 @@ exports[`WorkflowDetails renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
data-test-subj="frequency_field"
id="frequency"
name="frequency"
@@ -143,7 +143,7 @@ exports[`WorkflowDetails renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="period.interval-form-row-row"
>
<div
@@ -161,13 +161,13 @@ exports[`WorkflowDetails renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber euiFieldNumber--withIcon"
class="euiFieldNumber euiFieldNumber--withIcon euiFieldNumber--compressed"
data-test-subj="interval_interval_field"
min="1"
name="period.interval"
@@ -194,20 +194,20 @@ exports[`WorkflowDetails renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--hasEmptyLabelSpace"
class="euiFormRow euiFormRow--hasEmptyLabelSpace euiFormRow--compressed"
id="period.unit-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
data-test-subj="interval_unit_field"
id="period.unit"
name="period.unit"
@@ -285,7 +285,7 @@ exports[`WorkflowDetails renders 1`] = `
class="euiSpacer euiSpacer--m"
/>
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="associatedMonitorsEditor-form-row-row"
>
<div

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
exports[`Message renders 1`] = `
<div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="undefinedactions.0.subject_template.source-form-row-row"
style="max-width:100%"
>
@@ -22,13 +22,13 @@ exports[`Message renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldText euiFieldText--fullWidth"
class="euiFieldText euiFieldText--fullWidth euiFieldText--compressed"
name="undefinedactions.0.subject_template.source"
placeholder="Enter a subject"
type="text"
@@ -38,7 +38,7 @@ exports[`Message renders 1`] = `
</div>
</div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="undefinedactions.0.message_template.source-form-row-row"
style="max-width:100%"
>
@@ -91,15 +91,15 @@ exports[`Message renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<textarea
class="euiTextArea euiTextArea--resizeVertical euiTextArea--fullWidth"
class="euiTextArea euiTextArea--resizeVertical euiTextArea--fullWidth euiTextArea--compressed"
name="undefinedactions.0.message_template.source"
placeholder="Can use mustache templates"
rows="6"
rows="3"
/>
</div>
</div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="generated-id-row"
style="max-width:100%"
>
@@ -114,7 +114,7 @@ exports[`Message renders 1`] = `
class="euiFlexItem"
>
<div
class="euiCheckbox"
class="euiCheckbox euiCheckbox--compressed"
>
<input
class="euiCheckbox__input"
@@ -190,7 +190,7 @@ exports[`Message renders 1`] = `
/>
</div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="generated-id-row"
style="padding-bottom:10px;max-width:100%"
>
@@ -216,7 +216,7 @@ exports[`Message renders 1`] = `
style="margin-bottom:0px"
>
<div
class="euiCheckbox"
class="euiCheckbox euiCheckbox--compressed"
>
<input
class="euiCheckbox__input"
@@ -244,7 +244,7 @@ exports[`Message renders 1`] = `
style="margin-right:0px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="generated-id-row"
>
<div
@@ -261,20 +261,20 @@ exports[`Message renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="undefinedactions.0.throttle.value-form-row-row"
>
<div
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout euiFormControlLayout--group"
class="euiFormControlLayout euiFormControlLayout--compressed euiFormControlLayout--group"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldNumber euiFieldText euiFieldNumber--inGroup"
class="euiFieldNumber euiFieldText euiFieldNumber--compressed euiFieldNumber--inGroup"
disabled=""
max="1440"
min="1"
Original file line number Diff line number Diff line change
@@ -3,15 +3,15 @@
exports[`ActionEmptyPrompt renders 1`] = `
<EuiEmptyPrompt
actions={
<EuiButton
<EuiSmallButton
disabled={true}
fill={true}
iconSide="right"
iconType="popout"
onClick={[Function]}
>
Manage channels
</EuiButton>
</EuiSmallButton>
}
body={
<EuiText
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

import React from 'react';
import _ from 'lodash';
import { EuiSmallButton, EuiSmallButtonEmpty, EuiPanel } from '@elastic/eui';
import { EuiButton, EuiSmallButtonEmpty, EuiPanel } from '@elastic/eui';
import { getInitialActionValues } from './utils';
import { MONITOR_TYPE } from '../../../../utils/constants';
import './styles.scss';
Original file line number Diff line number Diff line change
@@ -68,12 +68,12 @@ exports[`BucketLevelTriggerExpression renders 1`] = `
<EuiFlexItem
grow={false}
>
<EuiButton
<EuiSmallButton
color="danger"
onClick={[Function]}
>
Remove condition
</EuiButton>
</EuiSmallButton>
</EuiFlexItem>
</EuiFlexGroup>
`;
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`CompositeTriggerCondition renders 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="triggerConditionFieldsContainer_undefined-form-row-row"
style="max-width:inherit"
>
@@ -28,7 +28,7 @@ exports[`CompositeTriggerCondition renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="pathtriggerCondition_undefined_code-form-row-row"
>
<div
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`ExpressionBuilder renders 1`] = `
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="pathtriggerCondition_value-form-row-row"
style="max-width:inherit"
>
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

exports[`ExpressionEditor renders 1`] = `
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="pathtriggerCondition_undefined_code-form-row-row"
>
<div
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`TriggerExpressions renders 1`] = `
<EuiFormRow
<EuiCompressedFormRow
describedByIds={Array []}
display="row"
display="rowCompressed"
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
@@ -33,5 +33,5 @@ exports[`TriggerExpressions renders 1`] = `
</Field>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFormRow>
</EuiCompressedFormRow>
`;
Original file line number Diff line number Diff line change
@@ -42,9 +42,9 @@ exports[`TriggerQuery renders 1`] = `
}
}
>
<EuiFormRow
<EuiCompressedFormRow
describedByIds={Array []}
display="row"
display="rowCompressed"
fullWidth={true}
hasChildLabel={true}
hasEmptyLabelSpace={false}
@@ -69,7 +69,7 @@ exports[`TriggerQuery renders 1`] = `
value="No response"
width="100%"
/>
</EuiFormRow>
</EuiCompressedFormRow>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import _ from 'lodash';
import { EuiSpacer, EuiTitle, EuiAccordion, EuiSmallButton } from '@elastic/eui';
import { EuiSpacer, EuiTitle, EuiAccordion, EuiButton } from '@elastic/eui';
import { FormikFieldText, FormikSelect } from '../../../../components/FormControls';
import { hasError, isInvalid, required } from '../../../../utils/validate';
import { DEFAULT_TRIGGER_NAME, SEVERITY_OPTIONS } from '../../utils/constants';
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
class="euiSpacer euiSpacer--m"
/>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="triggerDefinitions[undefined].name-form-row-row"
style="padding-left:0"
>
@@ -93,13 +93,13 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldText"
class="euiFieldText euiFieldText--compressed"
data-test-subj="composite-trigger-name"
name="triggerDefinitions[undefined].name"
type="text"
@@ -113,7 +113,7 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
class="euiSpacer euiSpacer--l"
/>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="triggerConditionFieldsContainer_undefined-form-row-row"
style="max-width:inherit"
>
@@ -154,7 +154,7 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormRow euiFormRow--fullWidth"
class="euiFormRow euiFormRow--fullWidth euiFormRow--compressed"
id="triggerDefinitions_undefined__triggerConditions_undefined_code-form-row-row"
>
<div
@@ -211,7 +211,7 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
Alert severity
</h4>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="triggerDefinitions[undefined].severity-form-row-row"
style="padding-left:10px;margin-top:0px"
>
@@ -230,13 +230,13 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
class="euiFormRow__fieldWrapper"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
id="triggerDefinitions[undefined].severity"
name="triggerDefinitions[undefined].severity"
>
@@ -293,7 +293,7 @@ exports[`DefineCompositeLevelTrigger renders 1`] = `
class="euiSpacer euiSpacer--m"
/>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ Array [
class="euiSpacer euiSpacer--m"
/>,
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ exports[`TriggerNotificationsContent renders with notifications 1`] = `
style="max-width:400px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="channel_name_undefined_0-form-row-row"
>
<div
@@ -31,18 +31,18 @@ exports[`TriggerNotificationsContent renders with notifications 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox"
class="euiComboBox euiComboBox--compressed"
name="channel_name_undefined_0"
role="combobox"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
data-test-subj="comboBoxInput"
tabindex="-1"
>
@@ -93,7 +93,7 @@ exports[`TriggerNotificationsContent renders with notifications 1`] = `
style="padding-left:0;margin-left:0"
>
<button
class="euiButtonEmpty euiButtonEmpty--primary"
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small"
style="margin-top:22px"
type="button"
>
@@ -127,7 +127,7 @@ exports[`TriggerNotificationsContent renders without notifications 1`] = `
style="max-width:400px"
>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="channel_name_undefined_0-form-row-row"
>
<div
@@ -146,18 +146,18 @@ exports[`TriggerNotificationsContent renders without notifications 1`] = `
<div
aria-expanded="false"
aria-haspopup="listbox"
class="euiComboBox"
class="euiComboBox euiComboBox--compressed"
name="channel_name_undefined_0"
role="combobox"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<div
class="euiComboBox__inputWrap euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
class="euiComboBox__inputWrap euiComboBox__inputWrap--compressed euiComboBox__inputWrap--noWrap euiComboBox__inputWrap-isClearable"
data-test-subj="comboBoxInput"
tabindex="-1"
>
@@ -208,7 +208,7 @@ exports[`TriggerNotificationsContent renders without notifications 1`] = `
style="padding-left:0;margin-left:0"
>
<button
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty-isDisabled"
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--small euiButtonEmpty-isDisabled"
disabled=""
style="margin-top:22px"
type="button"
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ exports[`AnomalyDetectorTrigger renders no feature 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<a
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
data-test-subj="createButton"
href="anomaly-detection-dashboards#/detectors/tempId/features"
rel="noopener noreferrer"
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@ exports[`DashboardControls renders 1`] = `
class="euiFlexItem"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldSearch euiFieldSearch--fullWidth"
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed"
placeholder="Search"
type="search"
value=""
@@ -38,13 +38,13 @@ exports[`DashboardControls renders 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
>
<option
selected=""
@@ -96,13 +96,13 @@ exports[`DashboardControls renders 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
data-test-subj="dashboardAlertStateFilter"
>
<option
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ exports[`DashboardEmptyPrompt renders 1`] = `
class="euiSpacer euiSpacer--l"
/>
<a
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
href="alerting#/create-monitor"
rel="noreferrer"
>
1,577 changes: 901 additions & 676 deletions public/pages/Dashboard/containers/__snapshots__/Dashboard.test.js.snap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ exports[`<DestinationsActions /> should render DestinationsActions 1`] = `
class="euiPopover__anchor"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
type="button"
>
<span
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@ exports[`<DestinationsControls /> should render DestinationsControls 1`] = `
class="euiFlexItem"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
class="euiFieldSearch euiFieldSearch--fullWidth"
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed"
placeholder="Search"
type="search"
value=""
@@ -38,13 +38,13 @@ exports[`<DestinationsControls /> should render DestinationsControls 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<select
class="euiSelect"
class="euiSelect euiSelect--compressed"
>
<option
selected=""
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ exports[`<EmptyDestinations /> should render no results for filter criteria 1`]
class="euiSpacer euiSpacer--l"
/>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
type="button"
>
<span
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ exports[`FullPageNotificationsInfoCallOut renders when Notifications plugin is i
class="euiSpacer euiSpacer--l"
/>
<a
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
href="/app/notifications-dashboards#/channels"
rel="noreferrer"
>
@@ -115,7 +115,7 @@ exports[`FullPageNotificationsInfoCallOut renders when Notifications plugin is n
class="euiSpacer euiSpacer--l"
/>
<a
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
href="https://opensearch.org/docs/monitoring-plugins/alerting/monitors/#questions-about-destinations"
rel="noopener noreferrer"
target="_blank"
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ exports[`NotificationsInfoCallOut renders when Notifications plugin is installed
class="euiSpacer euiSpacer--l"
/>
<a
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
href="/app/notifications-dashboards#/channels"
rel="noreferrer"
>
@@ -114,7 +114,7 @@ exports[`NotificationsInfoCallOut renders when Notifications plugin is not insta
class="euiSpacer euiSpacer--l"
/>
<a
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
href="https://opensearch.org/docs/monitoring-plugins/alerting/monitors/#questions-about-destinations"
rel="noopener noreferrer"
target="_blank"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ exports[`<EmptyHistory/> renders 1`] = `
class="euiSpacer euiSpacer--l"
/>
<button
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
type="button"
>
<span
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ exports[`MonitorActions renders 1`] = `
class="euiPopover__anchor"
>
<button
class="euiButton euiButton--primary"
class="euiButton euiButton--primary euiButton--small"
data-test-subj="actionsButton"
type="button"
>
@@ -39,7 +39,7 @@ exports[`MonitorActions renders 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<button
class="euiButton euiButton--primary euiButton-isDisabled"
class="euiButton euiButton--primary euiButton--small euiButton-isDisabled"
data-test-subj="editButton"
disabled=""
type="button"
@@ -59,7 +59,7 @@ exports[`MonitorActions renders 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<a
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
data-test-subj="createButton"
href="alerting#/create-monitor"
rel="noreferrer"
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ exports[`MonitorEmptyPrompt renders 1`] = `
class="euiSpacer euiSpacer--l"
/>
<a
class="euiButton euiButton--primary euiButton--fill"
class="euiButton euiButton--primary euiButton--small euiButton--fill"
href="alerting#/create-monitor"
rel="noreferrer"
>