Skip to content

Commit

Permalink
Use smaller and compressed varients of buttons and form components (#…
Browse files Browse the repository at this point in the history
…383)

* Use EuiCompressedFormRow

Signed-off-by: Miki <[email protected]>

* Use EuiCompressedField*

Signed-off-by: Miki <[email protected]>

* Use EuiCompressedSelect and EuiCompressedSuperSelect

Signed-off-by: Miki <[email protected]>

* Use EuiCompressedSwitch

Signed-off-by: Miki <[email protected]>

* Update snapshots

Signed-off-by: Miki <[email protected]>

---------

Signed-off-by: Miki <[email protected]>
(cherry picked from commit 06f24fd)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Aug 20, 2024
1 parent 8c7b5c6 commit 59f2bdf
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 216 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
class="euiSpacer euiSpacer--s"
/>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="random_html_id-row"
>
<div
Expand Down Expand Up @@ -42,7 +42,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
value="spanID"
/>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
Expand All @@ -57,7 +57,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
aria-describedby="random_html_id-help-0"
aria-haspopup="true"
aria-labelledby="random_html_id random_html_id"
class="euiSuperSelectControl"
class="euiSuperSelectControl euiSuperSelectControl--compressed"
data-test-subj="gantt-chart-editor-label-field"
type="button"
/>
Expand All @@ -69,7 +69,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
class="euiIcon euiIcon--small euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
focusable="false"
height="16"
role="img"
Expand Down Expand Up @@ -97,7 +97,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
</div>
</div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="random_html_id-row"
>
<div
Expand Down Expand Up @@ -126,7 +126,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
value="startTime"
/>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
Expand All @@ -141,7 +141,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
aria-describedby="random_html_id-help-0"
aria-haspopup="true"
aria-labelledby="random_html_id random_html_id"
class="euiSuperSelectControl"
class="euiSuperSelectControl euiSuperSelectControl--compressed"
data-test-subj="gantt-chart-editor-start-time-field"
type="button"
/>
Expand All @@ -153,7 +153,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
class="euiIcon euiIcon--small euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
focusable="false"
height="16"
role="img"
Expand Down Expand Up @@ -181,7 +181,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
</div>
</div>
<div
class="euiFormRow"
class="euiFormRow euiFormRow--compressed"
id="random_html_id-row"
>
<div
Expand Down Expand Up @@ -210,7 +210,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
value="duration"
/>
<div
class="euiFormControlLayout"
class="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
Expand All @@ -225,7 +225,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
aria-describedby="random_html_id-help-0"
aria-haspopup="true"
aria-labelledby="random_html_id random_html_id"
class="euiSuperSelectControl"
class="euiSuperSelectControl euiSuperSelectControl--compressed"
data-test-subj="gantt-chart-editor-duration-field"
type="button"
/>
Expand All @@ -237,7 +237,7 @@ exports[`<GanttChartEditor /> spec renders the component 1`] = `
>
<svg
aria-hidden="true"
class="euiIcon euiIcon--medium euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
class="euiIcon euiIcon--small euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
focusable="false"
height="16"
role="img"
Expand Down
Loading

0 comments on commit 59f2bdf

Please sign in to comment.