diff --git a/package-lock.json b/package-lock.json index 614e4a058d..96bdd33cc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "use-query-params": "^2.2.1", "uuid": "^10.0.0", "web-vitals": "^1.1.2", - "ydb-ui-components": "^5.1.1", + "ydb-ui-components": "^5.2.0", "zod": "^3.24.1" }, "devDependencies": { @@ -29853,10 +29853,9 @@ } }, "node_modules/ydb-ui-components": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/ydb-ui-components/-/ydb-ui-components-5.1.1.tgz", - "integrity": "sha512-4AsYjFHIcI/swCGrhFFdUCmka6fR6TyD2zeDI1It7CoKc59Br2jmsRVZWm0ksSveRq6GRhkxrzBah6MI3g/5Og==", - "license": "MIT", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ydb-ui-components/-/ydb-ui-components-5.2.0.tgz", + "integrity": "sha512-7AdT4iFznQKXEVbUaqjWsdH/LA/WbSVwyxsgcwX5e2rUCvxi6Hsdd1gGFwfHslcYqHBTDbInUJol6v5kaLS9nQ==", "dependencies": { "@bem-react/classname": "^1.6.0", "react-list": "^0.8.17", diff --git a/package.json b/package.json index 831a12837c..26342512d0 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "use-query-params": "^2.2.1", "uuid": "^10.0.0", "web-vitals": "^1.1.2", - "ydb-ui-components": "^5.1.1", + "ydb-ui-components": "^5.2.0", "zod": "^3.24.1" }, "scripts": { diff --git a/src/containers/Tenant/Query/NewSQL/NewSQL.tsx b/src/containers/Tenant/Query/NewSQL/NewSQL.tsx index 2732452a77..a0710fb4aa 100644 --- a/src/containers/Tenant/Query/NewSQL/NewSQL.tsx +++ b/src/containers/Tenant/Query/NewSQL/NewSQL.tsx @@ -1,16 +1,9 @@ import React from 'react'; -import { - ArrowsOppositeToDots, - ChevronDown, - FileArrowRightOut, - FileText, - LayoutHeaderCells, - PencilToSquare, - Persons, -} from '@gravity-ui/icons'; +import {ChevronDown, Persons} from '@gravity-ui/icons'; import type {DropdownMenuItem} from '@gravity-ui/uikit'; import {Button, DropdownMenu} from '@gravity-ui/uikit'; +import {AsyncReplicationIcon, TableIcon, TopicIcon, TransferIcon} from 'ydb-ui-components'; import {useChangeInputWithConfirmation} from '../../../../utils/hooks/withConfirmation/useChangeInputWithConfirmation'; import {insertSnippetToEditor} from '../../../../utils/monaco/insertSnippet'; @@ -30,7 +23,7 @@ export function NewSQL() { const items: DropdownMenuItem[] = [ { text: i18n('menu.tables'), - iconStart: , + iconStart: , items: [ { text: i18n('action.create-row-table'), @@ -84,7 +77,7 @@ export function NewSQL() { }, { text: i18n('menu.topics'), - iconStart: , + iconStart: , items: [ { text: i18n('action.create-topic'), @@ -102,7 +95,7 @@ export function NewSQL() { }, { text: i18n('menu.replication'), - iconStart: , + iconStart: , items: [ { text: i18n('action.create-async-replication'), @@ -120,7 +113,7 @@ export function NewSQL() { }, { text: i18n('menu.transfer'), - iconStart: , + iconStart: , items: [ { text: i18n('action.create-transfer'), @@ -138,7 +131,7 @@ export function NewSQL() { }, { text: i18n('menu.capture'), - iconStart: , + iconStart: , items: [ { text: i18n('action.create-cdc-stream'),