mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Update dependency @elastic/charts to v17 (#55376)
* Update dependency @elastic/charts to v17 * Update yarn.lock * Fix type errors * Update to latest version Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com> Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
This commit is contained in:
parent
90a9dc235c
commit
ce95f12933
4 changed files with 17 additions and 10 deletions
|
@ -117,7 +117,7 @@
|
|||
"@babel/core": "^7.5.5",
|
||||
"@babel/register": "^7.7.0",
|
||||
"@elastic/apm-rum": "^4.6.0",
|
||||
"@elastic/charts": "^16.1.0",
|
||||
"@elastic/charts": "^17.0.2",
|
||||
"@elastic/datemath": "5.0.2",
|
||||
"@elastic/ems-client": "7.6.0",
|
||||
"@elastic/eui": "18.3.0",
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"kbn:watch": "node scripts/build --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@elastic/charts": "^17.0.2",
|
||||
"abort-controller": "^3.0.0",
|
||||
"@elastic/eui": "18.3.0",
|
||||
"@elastic/charts": "^16.1.0",
|
||||
"@kbn/dev-utils": "1.0.0",
|
||||
"@kbn/i18n": "1.0.0",
|
||||
"@yarnpkg/lockfile": "^1.1.0",
|
||||
|
|
|
@ -30,7 +30,6 @@ import {
|
|||
Axis,
|
||||
Chart,
|
||||
HistogramBarSeries,
|
||||
GeometryValue,
|
||||
LineAnnotation,
|
||||
Position,
|
||||
ScaleType,
|
||||
|
@ -38,6 +37,7 @@ import {
|
|||
RectAnnotation,
|
||||
TooltipValue,
|
||||
TooltipType,
|
||||
ElementClickListener,
|
||||
} from '@elastic/charts';
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
@ -139,7 +139,7 @@ export class DiscoverHistogram extends Component<DiscoverHistogramProps, Discove
|
|||
this.props.timefilterUpdateHandler(range);
|
||||
};
|
||||
|
||||
public onElementClick = (xInterval: number) => (elementData: GeometryValue[]) => {
|
||||
public onElementClick = (xInterval: number): ElementClickListener => ([elementData]) => {
|
||||
const startRange = elementData[0].x;
|
||||
|
||||
const range = {
|
||||
|
|
19
yarn.lock
19
yarn.lock
|
@ -1880,17 +1880,19 @@
|
|||
dependencies:
|
||||
"@elastic/apm-rum-core" "^4.7.0"
|
||||
|
||||
"@elastic/charts@^16.1.0":
|
||||
version "16.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-16.1.0.tgz#67cf11625dcd7e1c2cf16ef53349e6a68a73f5b1"
|
||||
integrity sha512-0jZ7thhGmYC0ZdEVkxfg6M66epCD7k7BfYIi12FnrmIK+mUD2IPhR8b2TJXvaojPryN4YTNreGRncQ9R58fOoQ==
|
||||
"@elastic/charts@^17.0.2":
|
||||
version "17.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-17.0.2.tgz#0bd2cb7b78bd60255eed2a9b0ce5049a62dc5d8a"
|
||||
integrity sha512-hz31Yma/HSdu9tRS/05xNXY+YuaHOadD9Gd+eh7ankNlJJOFI4IRV6F8BMnloeWYedNXBSTp4susFLwJNQQ+0w==
|
||||
dependencies:
|
||||
"@types/d3-shape" "^1.3.1"
|
||||
classnames "^2.2.6"
|
||||
d3-array "^1.2.4"
|
||||
d3-collection "^1.0.7"
|
||||
d3-color "^1.4.0"
|
||||
d3-scale "^1.0.7"
|
||||
d3-shape "^1.3.4"
|
||||
fast-deep-equal "^3.1.1"
|
||||
konva "^4.0.18"
|
||||
newtype-ts "^0.2.4"
|
||||
prop-types "^15.7.2"
|
||||
|
@ -1902,7 +1904,7 @@
|
|||
reselect "^4.0.0"
|
||||
resize-observer-polyfill "^1.5.1"
|
||||
ts-debounce "^1.0.0"
|
||||
utility-types "^3.9.0"
|
||||
utility-types "^3.10.0"
|
||||
uuid "^3.3.2"
|
||||
|
||||
"@elastic/elasticsearch@^7.4.0":
|
||||
|
@ -10583,6 +10585,11 @@ d3-color@^1.0.3:
|
|||
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.0.3.tgz#bc7643fca8e53a8347e2fbdaffa236796b58509b"
|
||||
integrity sha1-vHZD/KjlOoNH4vva/6I2eWtYUJs=
|
||||
|
||||
d3-color@^1.4.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.0.tgz#89c45a995ed773b13314f06460df26d60ba0ecaf"
|
||||
integrity sha512-TzNPeJy2+iEepfiL92LAAB7fvnp/dV2YwANPVHdDWmYMm23qIJBYww3qT8I8C1wXrmrg4UWs7BKc2tKIgyjzHg==
|
||||
|
||||
d3-contour@^1.1.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/d3-contour/-/d3-contour-1.1.2.tgz#21f5456fcf57645922d69a27a58e782c91f842b3"
|
||||
|
@ -30297,7 +30304,7 @@ utila@^0.4.0, utila@~0.4:
|
|||
resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
|
||||
integrity sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=
|
||||
|
||||
utility-types@^3.10.0, utility-types@^3.9.0:
|
||||
utility-types@^3.10.0:
|
||||
version "3.10.0"
|
||||
resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b"
|
||||
integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue