Skip to content

Commit e0d6407

Browse files
thompsonglcchaoschandlerprall
authored
[7.x] Upgrade EUI to v18.2.0 (#54786) (#54869)
* Upgrade EUI to v18.2.0 (#54786) * 18.2.0 * ts update * Updated `euiColorVis0` * Update `euiColorVis1` * Updating `euiColorVis2` * Updated `euiColorVis3` * Updated the rest * Updated hard-coded viz palette hexes to latest * src snapshot updates * x-pack test updates * mock jest fn * Updated two vegalite visualization screenshots Co-authored-by: Caroline Horn <[email protected]> Co-authored-by: Chandler Prall <[email protected]> * snapshot Co-authored-by: Caroline Horn <[email protected]> Co-authored-by: Chandler Prall <[email protected]>
1 parent 7556436 commit e0d6407

File tree

69 files changed

+712
-591
lines changed

Some content is hidden

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

69 files changed

+712
-591
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"@elastic/charts": "^16.1.0",
116116
"@elastic/datemath": "5.0.2",
117117
"@elastic/ems-client": "1.0.5",
118-
"@elastic/eui": "18.0.0",
118+
"@elastic/eui": "18.2.0",
119119
"@elastic/filesaver": "1.1.2",
120120
"@elastic/good": "8.1.1-kibana2",
121121
"@elastic/numeral": "2.3.3",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"kbn:watch": "node scripts/build --watch"
1010
},
1111
"devDependencies": {
12-
"@elastic/eui": "18.0.0",
12+
"@elastic/eui": "18.2.0",
1313
"@elastic/charts": "^16.1.0",
1414
"@kbn/dev-utils": "1.0.0",
1515
"@yarnpkg/lockfile": "^1.1.0",

src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_graph.hjson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
range: {
4040
category: {scheme: "elastic"}
4141
}
42-
mark: {color: "#00B3A4"}
42+
mark: {color: "#54B399"}
4343
}
4444
autosize: {type: "fit", contains: "padding"}
4545
}
1.4 KB
Loading
2.49 KB
Loading

src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/vega_parser.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe(`VegaParser._setDefaultColors`, () => {
5353
test({}, true, {
5454
config: {
5555
range: { category: { scheme: 'elastic' } },
56-
mark: { color: '#5BBAA0' },
56+
mark: { color: '#54B399' },
5757
},
5858
})
5959
);
@@ -63,15 +63,15 @@ describe(`VegaParser._setDefaultColors`, () => {
6363
test({}, false, {
6464
config: {
6565
range: { category: { scheme: 'elastic' } },
66-
arc: { fill: '#5BBAA0' },
67-
area: { fill: '#5BBAA0' },
68-
line: { stroke: '#5BBAA0' },
69-
path: { stroke: '#5BBAA0' },
70-
rect: { fill: '#5BBAA0' },
71-
rule: { stroke: '#5BBAA0' },
72-
shape: { stroke: '#5BBAA0' },
73-
symbol: { fill: '#5BBAA0' },
74-
trail: { fill: '#5BBAA0' },
66+
arc: { fill: '#54B399' },
67+
area: { fill: '#54B399' },
68+
line: { stroke: '#54B399' },
69+
path: { stroke: '#54B399' },
70+
rect: { fill: '#54B399' },
71+
rule: { stroke: '#54B399' },
72+
shape: { stroke: '#54B399' },
73+
symbol: { fill: '#54B399' },
74+
trail: { fill: '#54B399' },
7575
},
7676
})
7777
);

src/legacy/core_plugins/vis_type_vega/public/data_model/vega_parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ export class VegaParser {
577577
this._setDefaultValue({ scheme: 'elastic' }, 'config', 'range', 'category');
578578

579579
if (this.isVegaLite) {
580-
// Vega-Lite: set default color, works for fill and strike -- config: { mark: { color: '#00B3A4' }}
580+
// Vega-Lite: set default color, works for fill and strike -- config: { mark: { color: '#54B399' }}
581581
this._setDefaultValue(defaultColor, 'config', 'mark', 'color');
582582
} else {
583583
// Vega - global mark has very strange behavior, must customize each mark type individually

src/legacy/ui/public/styles/bootstrap/_custom_variables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@
345345
//** Background color of the whole progress component
346346
@progress-bg: shade(@gray-lighter, 13%);
347347
//** Default progress bar color
348-
@progress-bar-bg: #00B3A4;
348+
@progress-bar-bg: #54B399;
349349

350350
//== List group
351351
//

src/legacy/ui/public/vis/editors/default/controls/precision.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function PrecisionParamEditor({ agg, value, setValue }: AggParamEditorProps<numb
4040
<EuiRange
4141
min={1}
4242
max={config.get('visualization:tileMap:maxPrecision')}
43-
value={value}
43+
value={value || ''}
4444
onChange={(ev: React.ChangeEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) =>
4545
setValue(Number(ev.currentTarget.value))
4646
}

src/plugins/kibana_react/public/field_icon/__snapshots__/field_icon.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)