Skip to content

Commit

Permalink
Update dependency @elastic/charts to v28.2.0 (master) (elastic#97005)
Browse files Browse the repository at this point in the history
* Update dependency @elastic/charts to v28.2.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
  • Loading branch information
5 people committed Apr 15, 2021
1 parent 1c84ba6 commit 5c8c7fc
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"dependencies": {
"@elastic/apm-rum": "^5.6.1",
"@elastic/apm-rum-react": "^1.2.5",
"@elastic/charts": "28.0.1",
"@elastic/charts": "28.2.0",
"@elastic/datemath": "link:bazel-bin/packages/elastic-datemath/npm_module",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@7.13.0-canary.1",
"@elastic/ems-client": "7.12.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,16 @@ describe('PieVisualization component', () => {
const component = shallow(<PieComponent args={{ ...args }} {...defaultArgs} />);
component.find(Settings).first().prop('onElementClick')!([
[
[{ groupByRollup: 6, value: 6, depth: 1, path: [], sortIndex: 1 }],
[
{
groupByRollup: 6,
value: 6,
depth: 1,
path: [],
sortIndex: 1,
smAccessorValue: '',
},
],
{} as SeriesIdentifier,
],
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,16 @@ describe('render helpers', () => {
};
expect(
getFilterContext(
[{ groupByRollup: 'Test', value: 100, depth: 1, path: [], sortIndex: 1 }],
[
{
groupByRollup: 'Test',
value: 100,
depth: 1,
path: [],
sortIndex: 1,
smAccessorValue: '',
},
],
['a'],
table
)
Expand Down Expand Up @@ -98,7 +107,16 @@ describe('render helpers', () => {
};
expect(
getFilterContext(
[{ groupByRollup: 'Test', value: 100, depth: 1, path: [], sortIndex: 1 }],
[
{
groupByRollup: 'Test',
value: 100,
depth: 1,
path: [],
sortIndex: 1,
smAccessorValue: '',
},
],
['a', 'b'],
table
)
Expand Down Expand Up @@ -131,8 +149,22 @@ describe('render helpers', () => {
expect(
getFilterContext(
[
{ groupByRollup: 'Test', value: 100, depth: 1, path: [], sortIndex: 1 },
{ groupByRollup: 'Two', value: 5, depth: 1, path: [], sortIndex: 1 },
{
groupByRollup: 'Test',
value: 100,
depth: 1,
path: [],
sortIndex: 1,
smAccessorValue: '',
},
{
groupByRollup: 'Two',
value: 5,
depth: 1,
path: [],
sortIndex: 1,
smAccessorValue: '',
},
],
['a', 'b'],
table
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1359,10 +1359,10 @@
dependencies:
object-hash "^1.3.0"

"@elastic/charts@28.0.1":
version "28.0.1"
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-28.0.1.tgz#615f393dc620304fb6cdbc3f6eaf2d6c53e39236"
integrity sha512-uuo7mWTYU4/rdg1a7hxRnNJz7Zjt/u18YwNV4D2SPvBqCDsNxtdRpiF+nLWFDIvBGoAFIGmHIv3cn88Y9dKqdg==
"@elastic/charts@28.2.0":
version "28.2.0"
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-28.2.0.tgz#3de65668242ed680f3acd72e2befb01a530c01c2"
integrity sha512-18fhbqnb7/5OrpgcoWcnZAfG9O7isRBAkjt2c+ycZoaTsSmPpSRAIlMxAMt36ZXxA7yaSwUVeI28uuKqb1odZg==
dependencies:
"@popperjs/core" "^2.4.0"
chroma-js "^2.1.0"
Expand Down

0 comments on commit 5c8c7fc

Please sign in to comment.