File tree Expand file tree Collapse file tree 8 files changed +53
-52
lines changed Expand file tree Collapse file tree 8 files changed +53
-52
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Story as StoryType , StoryContext } from '@storybook/react' ;
3- import { useTheme } from '@yandex-cloud /uikit' ;
3+ import { useTheme } from '@gravity-ui /uikit' ;
44
55export function withTheme ( Story : StoryType , context : StoryContext ) {
66 const themeValue = context . globals . theme ;
Original file line number Diff line number Diff line change 1- import '@yandex-cloud /uikit/styles/styles.scss' ;
1+ import '@gravity-ui /uikit/styles/styles.scss' ;
22
33import React from 'react' ;
4- import { ThemeProvider } from '@yandex-cloud /uikit' ;
4+ import { ThemeProvider } from '@gravity-ui /uikit' ;
55
66import { configure , Lang } from '../src/utils' ;
77
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ A set of React components used in YDB interfaces.
55## Install
66
77``` shell
8- npm install --save-dev ydb-ui-components @yandex-cloud /uikit @yandex-cloud/browserslist-config
8+ npm install --save-dev ydb-ui-components @gravity-ui /uikit @yandex-cloud/browserslist-config
99```
1010
1111## I18N
Original file line number Diff line number Diff line change 3939 "@gravity-ui/prettier-config" : " ^1.0.1" ,
4040 "@gravity-ui/stylelint-config" : " ^1.0.1" ,
4141 "@gravity-ui/tsconfig" : " ^1.0.0" ,
42+ "@gravity-ui/uikit" : " ^3.0.1" ,
4243 "@storybook/addon-essentials" : " ^6.4.19" ,
4344 "@storybook/preset-scss" : " ^1.0.3" ,
4445 "@storybook/react" : " ^6.4.19" ,
4546 "@types/react-list" : " ^0.8.7" ,
4647 "@types/react-treeview" : " ^0.4.3" ,
4748 "@yandex-cloud/browserslist-config" : " ^1.0.1" ,
48- "@yandex-cloud/uikit" : " ^2.4.0" ,
4949 "css-loader" : " ^5.2.7" ,
5050 "eslint" : " ^8.11.0" ,
5151 "gulp" : " ^4.0.2" ,
6868 },
6969 "peerDependencies" : {
7070 "@yandex-cloud/browserslist-config" : " ^1.0.1" ,
71- "@yandex-cloud /uikit" : " ^2.4.0 " ,
71+ "@gravity-ui /uikit" : " ^3.0.1 " ,
7272 "react" : " ^16.0.0" ,
7373 "react-dom" : " ^16.0.0"
7474 },
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import block from 'bem-cn-lite' ;
3- import { Spin } from '@yandex-cloud /uikit' ;
3+ import { Spin } from '@gravity-ui /uikit' ;
44
55import { TreeView } from '../../TreeView/TreeView' ;
66
Original file line number Diff line number Diff line change 1- import { DropdownMenuItemMixed } from '@yandex-cloud /uikit' ;
1+ import { DropdownMenuItemMixed } from '@gravity-ui /uikit' ;
22
33export type NavigationTreeNodeType =
44 | 'database'
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import block from 'bem-cn-lite' ;
33import ReactTreeView from 'react-treeview' ;
4- import { DropdownMenu , DropdownMenuItemMixed } from '@yandex-cloud /uikit' ;
4+ import { DropdownMenu , DropdownMenuItemMixed } from '@gravity-ui /uikit' ;
55
66import './TreeView.scss' ;
77
You can’t perform that action at this time.
0 commit comments