ydb-ui-components 3.4.0 → 3.5.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 +7 -0
- package/build/cjs/components/NavigationTree/EmptyView/EmptyView.css +1 -1
- package/build/cjs/components/NavigationTree/ErrorView/ErrorView.css +1 -1
- package/build/cjs/components/TreeView/TreeView.css +6 -6
- package/build/esm/components/NavigationTree/EmptyView/EmptyView.css +1 -1
- package/build/esm/components/NavigationTree/ErrorView/ErrorView.css +1 -1
- package/build/esm/components/TreeView/TreeView.css +6 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.5.0](https://github.com/ydb-platform/ydb-ui-components/compare/v3.4.0...v3.5.0) (2023-12-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update to uikit5 ([#62](https://github.com/ydb-platform/ydb-ui-components/issues/62)) ([03cf678](https://github.com/ydb-platform/ydb-ui-components/commit/03cf6786f27ed433a040cb4d2ad70764eaa8e4b1))
|
|
9
|
+
|
|
3
10
|
## [3.4.0](https://github.com/ydb-platform/ydb-ui-components/compare/v3.3.1...v3.4.0) (2023-10-23)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
height: 24px;
|
|
13
13
|
padding-left: calc(24px * var(--ydb-tree-view-level));
|
|
14
14
|
padding-right: 3px;
|
|
15
|
-
border-bottom: 1px solid var(--
|
|
15
|
+
border-bottom: 1px solid var(--g-color-line-generic-solid);
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
}
|
|
18
18
|
.ydb-tree-view__item:hover {
|
|
19
|
-
background-color: var(--
|
|
19
|
+
background-color: var(--g-color-base-simple-hover);
|
|
20
20
|
}
|
|
21
21
|
.ydb-tree-view__item:hover .ydb-tree-view__actions {
|
|
22
22
|
display: flex;
|
|
23
23
|
}
|
|
24
24
|
.ydb-tree-view__item_active {
|
|
25
25
|
font-weight: bold;
|
|
26
|
-
background-color: var(--
|
|
26
|
+
background-color: var(--g-color-base-selection);
|
|
27
27
|
}
|
|
28
28
|
.ydb-tree-view__item_active:hover {
|
|
29
|
-
background-color: var(--
|
|
29
|
+
background-color: var(--g-color-base-selection-hover);
|
|
30
30
|
}
|
|
31
31
|
.ydb-tree-view__content {
|
|
32
32
|
flex-grow: 1;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
justify-content: center;
|
|
42
42
|
width: 24px;
|
|
43
43
|
height: 24px;
|
|
44
|
-
color: var(--
|
|
44
|
+
color: var(--g-color-text-hint);
|
|
45
45
|
}
|
|
46
46
|
.ydb-tree-view__icon svg {
|
|
47
47
|
display: block;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 12" width="6" height="12"><path d="M0.192529 10.7483C-0.0845649 11.0562 -0.0596061 11.5304 0.248276 11.8075C0.556159 12.0846 1.03038 12.0596 1.30747 11.7517L0.192529 10.7483ZM5.25 6.25L5.80747 6.75172C6.06418 6.46649 6.06418 6.0335 5.80747 5.74828L5.25 6.25ZM1.30747 0.748277C1.03038 0.440394 0.556159 0.415435 0.248276 0.69253C-0.0596065 0.969624 -0.0845653 1.44384 0.192529 1.75172L1.30747 0.748277ZM1.30747 11.7517L5.80747 6.75172L4.69253 5.74828L0.192529 10.7483L1.30747 11.7517ZM5.80747 5.74828L1.30747 0.748277L0.192529 1.75172L4.69253 6.75172L5.80747 5.74828Z" fill="rgba(0, 0, 0, 0.85)"/></svg>') no-repeat center center;
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.g-root_theme_dark .ydb-tree-view .tree-view_arrow {
|
|
68
68
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 12" width="6" height="12"><path d="M0.192529 10.7483C-0.0845649 11.0562 -0.0596061 11.5304 0.248276 11.8075C0.556159 12.0846 1.03038 12.0596 1.30747 11.7517L0.192529 10.7483ZM5.25 6.25L5.80747 6.75172C6.06418 6.46649 6.06418 6.0335 5.80747 5.74828L5.25 6.25ZM1.30747 0.748277C1.03038 0.440394 0.556159 0.415435 0.248276 0.69253C-0.0596065 0.969624 -0.0845653 1.44384 0.192529 1.75172L1.30747 0.748277ZM1.30747 11.7517L5.80747 6.75172L4.69253 5.74828L0.192529 10.7483L1.30747 11.7517ZM5.80747 5.74828L1.30747 0.748277L0.192529 1.75172L4.69253 6.75172L5.80747 5.74828Z" fill="rgba(255, 255, 255, 0.85)"/></svg>') no-repeat center center;
|
|
69
69
|
}
|
|
70
70
|
.ydb-tree-view .tree-view_arrow:not(.tree-view_arrow-collapsed) {
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
height: 24px;
|
|
13
13
|
padding-left: calc(24px * var(--ydb-tree-view-level));
|
|
14
14
|
padding-right: 3px;
|
|
15
|
-
border-bottom: 1px solid var(--
|
|
15
|
+
border-bottom: 1px solid var(--g-color-line-generic-solid);
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
}
|
|
18
18
|
.ydb-tree-view__item:hover {
|
|
19
|
-
background-color: var(--
|
|
19
|
+
background-color: var(--g-color-base-simple-hover);
|
|
20
20
|
}
|
|
21
21
|
.ydb-tree-view__item:hover .ydb-tree-view__actions {
|
|
22
22
|
display: flex;
|
|
23
23
|
}
|
|
24
24
|
.ydb-tree-view__item_active {
|
|
25
25
|
font-weight: bold;
|
|
26
|
-
background-color: var(--
|
|
26
|
+
background-color: var(--g-color-base-selection);
|
|
27
27
|
}
|
|
28
28
|
.ydb-tree-view__item_active:hover {
|
|
29
|
-
background-color: var(--
|
|
29
|
+
background-color: var(--g-color-base-selection-hover);
|
|
30
30
|
}
|
|
31
31
|
.ydb-tree-view__content {
|
|
32
32
|
flex-grow: 1;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
justify-content: center;
|
|
42
42
|
width: 24px;
|
|
43
43
|
height: 24px;
|
|
44
|
-
color: var(--
|
|
44
|
+
color: var(--g-color-text-hint);
|
|
45
45
|
}
|
|
46
46
|
.ydb-tree-view__icon svg {
|
|
47
47
|
display: block;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 12" width="6" height="12"><path d="M0.192529 10.7483C-0.0845649 11.0562 -0.0596061 11.5304 0.248276 11.8075C0.556159 12.0846 1.03038 12.0596 1.30747 11.7517L0.192529 10.7483ZM5.25 6.25L5.80747 6.75172C6.06418 6.46649 6.06418 6.0335 5.80747 5.74828L5.25 6.25ZM1.30747 0.748277C1.03038 0.440394 0.556159 0.415435 0.248276 0.69253C-0.0596065 0.969624 -0.0845653 1.44384 0.192529 1.75172L1.30747 0.748277ZM1.30747 11.7517L5.80747 6.75172L4.69253 5.74828L0.192529 10.7483L1.30747 11.7517ZM5.80747 5.74828L1.30747 0.748277L0.192529 1.75172L4.69253 6.75172L5.80747 5.74828Z" fill="rgba(0, 0, 0, 0.85)"/></svg>') no-repeat center center;
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.g-root_theme_dark .ydb-tree-view .tree-view_arrow {
|
|
68
68
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 12" width="6" height="12"><path d="M0.192529 10.7483C-0.0845649 11.0562 -0.0596061 11.5304 0.248276 11.8075C0.556159 12.0846 1.03038 12.0596 1.30747 11.7517L0.192529 10.7483ZM5.25 6.25L5.80747 6.75172C6.06418 6.46649 6.06418 6.0335 5.80747 5.74828L5.25 6.25ZM1.30747 0.748277C1.03038 0.440394 0.556159 0.415435 0.248276 0.69253C-0.0596065 0.969624 -0.0845653 1.44384 0.192529 1.75172L1.30747 0.748277ZM1.30747 11.7517L5.80747 6.75172L4.69253 5.74828L0.192529 10.7483L1.30747 11.7517ZM5.80747 5.74828L1.30747 0.748277L0.192529 1.75172L4.69253 6.75172L5.80747 5.74828Z" fill="rgba(255, 255, 255, 0.85)"/></svg>') no-repeat center center;
|
|
69
69
|
}
|
|
70
70
|
.ydb-tree-view .tree-view_arrow:not(.tree-view_arrow-collapsed) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ydb-ui-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"exports": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@gravity-ui/prettier-config": "^1.0.1",
|
|
48
48
|
"@gravity-ui/stylelint-config": "^1.0.1",
|
|
49
49
|
"@gravity-ui/tsconfig": "^1.0.0",
|
|
50
|
-
"@gravity-ui/uikit": "^
|
|
50
|
+
"@gravity-ui/uikit": "^5.24.0",
|
|
51
51
|
"@storybook/addon-essentials": "^6.4.19",
|
|
52
52
|
"@storybook/preset-scss": "^1.0.3",
|
|
53
53
|
"@storybook/react": "^6.4.19",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^4.6.2"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@gravity-ui/uikit": "^
|
|
77
|
+
"@gravity-ui/uikit": "^5.0.0",
|
|
78
78
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
79
79
|
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
80
80
|
}
|