Skip to content

Commit 6fdc7eb

Browse files
thompsonglcchaoscchaosjportnerweltenwort
authored
Upgrade EUI to v30.1.1 (#81499)
* eui to v30.0.0 * removed unused RecentLinks component * update compressed -> display prop * euiformrow compressed -> display * euipopover remove withtitle * euibuttongroup prop updates * remove euibuttontoggle * src snapshot updates * tutorial euibuttongroup update * x-pack snapshot updates * euibuttongroup test updates * TODO * misc. js file updates * remove euinavdrawer scss references * translation removals * more x-pack snapshot updates * update data-test-subj lookup * icons logoAMP -> logoObservability * cypress selector updates * update euibuttontoggle onchange, test interaction * Fix auto-update toggle in Visualize * some more change -> click test updates * idtoselectedmap change * Fix feature table button group * Remove empty SASS file * Fix feature table button group II * Using `compressed` to also dictate dual range row * Fix a few security labels * An ML fix * Apply suggestions from code review Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> * remove unused translation * update view_type_toggle snapshot * more snapshot updates * eui to 30.1.0 * undo temp ts-ignore * more x-pack snapshot updates * eui to 30.1.1 * update feature privilege text * Update x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/feature_table/sub_feature_form.tsx Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> * reuse i18n token * Adapt log entry action button to new `minWidth` prop * clean up label * Combine auto apply strings into one * ternary fix * cases status useCallback Co-authored-by: cchaos <caroline.horn@elastic.co> Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com> Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
1 parent 2985def commit 6fdc7eb

File tree

208 files changed

+1254
-1115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+1254
-1115
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,16 @@
110110
"**/grunt-*/**",
111111
"x-pack/typescript",
112112
"@elastic/eui/rehype-react",
113+
"@elastic/eui/remark-parse",
113114
"@elastic/eui/remark-rehype",
114-
"@elastic/eui/remark-rehype/**"
115+
"@elastic/eui/remark-rehype/**",
116+
"@elastic/eui/unified"
115117
]
116118
},
117119
"dependencies": {
118120
"@elastic/datemath": "5.0.3",
119121
"@elastic/elasticsearch": "7.10.0-rc.1",
120-
"@elastic/eui": "29.5.0",
122+
"@elastic/eui": "30.1.1",
121123
"@elastic/good": "8.1.1-kibana2",
122124
"@elastic/numeral": "^2.5.0",
123125
"@elastic/request-crypto": "1.1.4",

packages/kbn-ui-framework/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"devDependencies": {
3333
"@babel/core": "^7.11.6",
34-
"@elastic/eui": "29.5.0",
34+
"@elastic/eui": "30.1.1",
3535
"@kbn/babel-preset": "1.0.0",
3636
"@kbn/optimizer": "1.0.0",
3737
"babel-loader": "^8.0.6",

packages/kbn-ui-shared-deps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@elastic/charts": "24.0.0",
13-
"@elastic/eui": "29.5.0",
13+
"@elastic/eui": "30.1.1",
1414
"@elastic/numeral": "^2.5.0",
1515
"@kbn/i18n": "1.0.0",
1616
"@kbn/monaco": "1.0.0",

src/core/public/chrome/ui/header/recent_links.tsx

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/plugins/charts/public/static/components/number_input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function NumberInputOption<ParamName extends string>({
5454
'data-test-subj': dataTestSubj,
5555
}: NumberInputOptionProps<ParamName>) {
5656
return (
57-
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth compressed>
57+
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth display="rowCompressed">
5858
<EuiFieldNumber
5959
data-test-subj={dataTestSubj}
6060
disabled={disabled}

src/plugins/charts/public/static/components/range.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,13 @@ function RangeOption<ParamName extends string>({
6565
}
6666
};
6767
return (
68-
<EuiFormRow label={label} fullWidth={true} isInvalid={!isValidState} error={error} compressed>
68+
<EuiFormRow
69+
label={label}
70+
fullWidth={true}
71+
isInvalid={!isValidState}
72+
error={error}
73+
display="rowCompressed"
74+
>
6975
<EuiRange
7076
compressed
7177
fullWidth

src/plugins/charts/public/static/components/required_number_input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function RequiredNumberInputOption<ParamName extends string>({
7070
);
7171

7272
return (
73-
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth compressed>
73+
<EuiFormRow label={label} error={error} isInvalid={isInvalid} fullWidth display="rowCompressed">
7474
<EuiFieldNumber
7575
compressed
7676
fullWidth

src/plugins/charts/public/static/components/select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function SelectOption<ParamName extends string, ValidParamValues extends string
5151

5252
return (
5353
<EuiFormRow
54-
compressed
54+
display="rowCompressed"
5555
fullWidth
5656
helpText={helpText}
5757
id={id}

src/plugins/charts/public/static/components/switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function SwitchOption<ParamName extends string>({
4141
setValue,
4242
}: SwitchOptionProps<ParamName>) {
4343
return (
44-
<EuiFormRow fullWidth={true} compressed={true}>
44+
<EuiFormRow fullWidth={true} display="rowCompressed">
4545
<EuiToolTip content={tooltip} delay="long" position="right">
4646
<EuiSwitch
4747
compressed={true}

src/plugins/charts/public/static/components/text_input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function TextInputOption<ParamName extends string>({
4040
setValue,
4141
}: TextInputOptionProps<ParamName>) {
4242
return (
43-
<EuiFormRow helpText={helpText} label={label} fullWidth compressed>
43+
<EuiFormRow helpText={helpText} label={label} fullWidth display="rowCompressed">
4444
<EuiFieldText
4545
compressed
4646
fullWidth

0 commit comments

Comments
 (0)