ydb-ui-components 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.2.0](https://github.com/ydb-platform/ydb-ui-components/compare/v2.1.0...v2.2.0) (2022-07-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **NavigationTree:** add index and index_table node types! ([d6ed6ba](https://github.com/ydb-platform/ydb-ui-components/commit/d6ed6bae7e882a6217d4205f931ac3704b8ed9f6))
|
|
9
|
+
|
|
3
10
|
## [2.1.0](https://github.com/ydb-platform/ydb-ui-components/compare/v2.0.2...v2.1.0) (2022-06-28)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -29,6 +29,7 @@ function renderIcon(type, collapsed) {
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
case 'directory':
|
|
32
|
+
case 'index':
|
|
32
33
|
return collapsed ? /*#__PURE__*/_react.default.createElement(_Folder.FolderIcon, {
|
|
33
34
|
height: 14
|
|
34
35
|
}) : /*#__PURE__*/_react.default.createElement(_FolderOpen.FolderOpenIcon, {
|
|
@@ -36,6 +37,7 @@ function renderIcon(type, collapsed) {
|
|
|
36
37
|
});
|
|
37
38
|
|
|
38
39
|
case 'table':
|
|
40
|
+
case 'index_table':
|
|
39
41
|
return /*#__PURE__*/_react.default.createElement(_Table.TableIcon, {
|
|
40
42
|
height: 14
|
|
41
43
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DropdownMenuItemMixed } from '@yandex-cloud/uikit';
|
|
2
|
-
export declare type NavigationTreeNodeType = 'database' | 'directory' | 'table';
|
|
2
|
+
export declare type NavigationTreeNodeType = 'database' | 'directory' | 'table' | 'index_table' | 'index';
|
|
3
3
|
export interface NavigationTreeDataItem {
|
|
4
4
|
name: string;
|
|
5
5
|
type: NavigationTreeNodeType;
|