diff --git a/package-lock.json b/package-lock.json index adfaf273..da2c2e57 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2676,9 +2676,9 @@ "dev": true }, "@gravity-ui/uikit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@gravity-ui/uikit/-/uikit-3.0.2.tgz", - "integrity": "sha512-BTkAPgvltxSdrOACkXec4IBpF5eHofHyMgV9oC7+Hj0U7oy4kmvpxVX0syGjM04EoPtThlDjNdPQuQh9q7AtDw==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@gravity-ui/uikit/-/uikit-3.5.0.tgz", + "integrity": "sha512-uerket8jI3Uc7utCYzGzXEQ1ef/EEA0p/nc/MlK29qPTDGOb4gS8dBhr4hic1kTQgjFBESalwcpWmqy3rDqGJA==", "dev": true, "requires": { "@gravity-ui/i18n": "^1.0.0", diff --git a/package.json b/package.json index d1d92e3a..3a189549 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@gravity-ui/prettier-config": "^1.0.1", "@gravity-ui/stylelint-config": "^1.0.1", "@gravity-ui/tsconfig": "^1.0.0", - "@gravity-ui/uikit": "^3.0.2", + "@gravity-ui/uikit": "^3.5.0", "@storybook/addon-essentials": "^6.5.9", "@storybook/addon-knobs": "^6.4.0", "@storybook/preset-scss": "^1.0.3", diff --git a/src/plugins/yagr/renderer/YagrWidget.tsx b/src/plugins/yagr/renderer/YagrWidget.tsx index 2de8bfbe..3c28d52a 100644 --- a/src/plugins/yagr/renderer/YagrWidget.tsx +++ b/src/plugins/yagr/renderer/YagrWidget.tsx @@ -1,7 +1,7 @@ import React from 'react'; import moment from 'moment'; import debounce from 'lodash/debounce'; -import {useThemeValue} from '@gravity-ui/uikit'; +import {useThemeType} from '@gravity-ui/uikit'; import YagrComponent, {YagrChartProps} from 'yagr/dist/react'; import { YagrConfig, @@ -117,7 +117,7 @@ const YagrWidget = React.forwardRef void)> = { mouseMove: null,