ydb-embedded-ui 1.5.0 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/components/AsideNavigation/Settings/Settings.scss +4 -4
  3. package/dist/components/Breadcrumbs/Breadcrumbs.scss +1 -1
  4. package/dist/components/Collapse/Collapse.scss +8 -8
  5. package/dist/components/EmptyState/EmptyState.scss +6 -6
  6. package/dist/components/EntityStatus/EntityStatus.scss +6 -6
  7. package/dist/components/FullNodeViewer/FullNodeViewer.scss +7 -7
  8. package/dist/components/GroupViewer/GroupViewer.scss +1 -1
  9. package/dist/components/InfoViewer/InfoViewer.scss +4 -4
  10. package/dist/components/PDiskViewer/PDiskViewer.scss +1 -1
  11. package/dist/components/PoolUsage/PoolUsage.scss +5 -5
  12. package/dist/components/ProgressViewer/ProgressViewer.scss +9 -9
  13. package/dist/components/TableSkeleton/TableSkeleton.scss +1 -1
  14. package/dist/components/TabletsViewer/TabletsViewer.scss +2 -2
  15. package/dist/containers/App/App.js +2 -1
  16. package/dist/containers/App/App.scss +6 -0
  17. package/dist/containers/App/TipPopup/TipPopup.js +1 -1
  18. package/dist/containers/AsideNavigation/AsideNavigation.scss +1 -1
  19. package/dist/containers/Authentication/Authentication.scss +2 -2
  20. package/dist/containers/Authentication/Authentication.tsx +1 -0
  21. package/dist/containers/Header/Header.scss +2 -2
  22. package/dist/containers/Header/Host/Host.scss +6 -6
  23. package/dist/containers/Heatmap/Heatmap.js +1 -2
  24. package/dist/containers/Heatmap/Heatmap.scss +2 -2
  25. package/dist/containers/Node/Node.scss +0 -1
  26. package/dist/containers/Node/Node.tsx +1 -0
  27. package/dist/containers/Node/NodeStructure/NodeStructure.scss +3 -3
  28. package/dist/containers/Node/NodeStructure/Pdisk.tsx +6 -6
  29. package/dist/containers/Pdisk/Pdisk.scss +2 -2
  30. package/dist/containers/Pool/Pool.scss +3 -3
  31. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.scss +2 -2
  32. package/dist/containers/Storage/Storage.scss +3 -3
  33. package/dist/containers/Storage/StorageGroups/StorageGroups.tsx +4 -4
  34. package/dist/containers/Storage/StorageNodes/StorageNodes.tsx +4 -4
  35. package/dist/containers/Tablet/Tablet.scss +4 -4
  36. package/dist/containers/Tablets/Tablets.js +1 -2
  37. package/dist/containers/TabletsFilters/TabletsFilters.js +1 -2
  38. package/dist/containers/TabletsFilters/TabletsFilters.scss +2 -2
  39. package/dist/containers/Tenant/Acl/Acl.scss +2 -2
  40. package/dist/containers/Tenant/Diagnostics/Diagnostics.tsx +15 -21
  41. package/dist/containers/Tenant/Diagnostics/Network/Network.scss +6 -6
  42. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +4 -4
  43. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.scss +2 -2
  44. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.scss +7 -8
  45. package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.tsx +2 -12
  46. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.tsx +5 -8
  47. package/dist/containers/Tenant/QueryEditor/SaveQuery/SaveQuery.scss +1 -1
  48. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.tsx +1 -3
  49. package/dist/containers/Tenant/Tenant.scss +2 -2
  50. package/dist/containers/Tenant/utils/schemaActions.ts +3 -18
  51. package/dist/containers/Vdisk/Vdisk.scss +2 -2
  52. package/dist/containers/VdiskPdiskNode/VdiskPdiskNode.scss +2 -2
  53. package/dist/store/reducers/tenant.js +30 -0
  54. package/dist/store/state-url-mapping.js +6 -0
  55. package/dist/styles/mixins.scss +13 -13
  56. package/dist/utils/getNodesColumns.js +2 -3
  57. package/package.json +5 -4
@@ -16,25 +16,25 @@
16
16
  }
17
17
 
18
18
  @mixin body-typography() {
19
- font-size: var(--yc-text-body-font-size);
20
- line-height: var(--yc-text-body-line-height);
19
+ font-size: var(--yc-text-body-1-font-size);
20
+ line-height: var(--yc-text-body-1-line-height);
21
21
  }
22
22
  @mixin body2-typography() {
23
- font-size: var(--yc-text-body2-font-size);
24
- line-height: var(--yc-text-body2-line-height);
23
+ font-size: var(--yc-text-body-2-font-size);
24
+ line-height: var(--yc-text-body-2-line-height);
25
25
  }
26
26
  @mixin body3-typography() {
27
- font-size: var(--yc-text-body3-font-size);
28
- line-height: var(--yc-text-body3-line-height);
27
+ font-size: var(--yc-text-body-3-font-size);
28
+ line-height: var(--yc-text-body-3-line-height);
29
29
  }
30
30
  @mixin lead-typography() {
31
- font-size: var(--yc-text-lead-font-size);
32
- line-height: var(--yc-text-lead-line-height);
31
+ font-size: var(--yc-text-subheader-3-font-size);
32
+ line-height: var(--yc-text-subheader-3-line-height);
33
33
  }
34
34
 
35
35
  @mixin title-typography() {
36
- font-size: var(--yc-text-title-font-size);
37
- line-height: var(--yc-text-title-line-height);
36
+ font-size: var(--yc-text-header-2-font-size);
37
+ line-height: var(--yc-text-header-2-line-height);
38
38
  }
39
39
 
40
40
  @mixin sticky-top {
@@ -188,8 +188,8 @@
188
188
  @mixin json-tree-styles {
189
189
  // stylelint-disable
190
190
  font-family: var(--yc-font-family-monospace) !important;
191
- font-size: var(--yc-text-code-font-size) !important;
192
- line-height: var(--yc-text-code-line-height) !important;
191
+ font-size: var(--yc-text-code-1-font-size) !important;
192
+ line-height: var(--yc-text-code-1-line-height) !important;
193
193
  // stylelint-enable
194
194
 
195
195
  .json-inspector__leaf_composite:before {
@@ -239,7 +239,7 @@
239
239
  margin: 0;
240
240
  padding: 0;
241
241
 
242
- font-family: var(--yc-font-family);
242
+ font-family: var(--yc-text-body-font-family);
243
243
  font-size: 13px;
244
244
  vertical-align: top;
245
245
 
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  import cn from 'bem-cn-lite';
3
2
  import DataTable from '@yandex-cloud/react-data-table';
4
- import {Button, Tooltip} from '@yandex-cloud/uikit';
3
+ import {Button, Popover} from '@yandex-cloud/uikit';
5
4
 
6
5
  import Icon from '../components/Icon/Icon';
7
6
  import EntityStatus from '../components/EntityStatus/EntityStatus';
@@ -62,7 +61,7 @@ export function getNodesColumns({showTooltip, hideTooltip, tabletsPath, getNodeR
62
61
  width: '200px',
63
62
  align: DataTable.LEFT,
64
63
  render: ({value}) => {
65
- return <Tooltip content={value}>{value}</Tooltip>;
64
+ return <Popover content={value}>{value}</Popover>;
66
65
  },
67
66
  },
68
67
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -40,7 +40,7 @@
40
40
  "reselect": "4.0.0",
41
41
  "sass": "1.32.8",
42
42
  "web-vitals": "1.1.2",
43
- "ydb-ui-components": "1.2.3"
43
+ "ydb-ui-components": "2.0.1"
44
44
  },
45
45
  "scripts": {
46
46
  "start": "react-app-rewired start",
@@ -93,7 +93,7 @@
93
93
  "@yandex-cloud/prettier-config": "^1.0.0",
94
94
  "@yandex-cloud/stylelint-config": "^1.1.0",
95
95
  "@yandex-cloud/tsconfig": "^1.0.0",
96
- "@yandex-cloud/uikit": "^1.7.0",
96
+ "@yandex-cloud/uikit": "^2.4.0",
97
97
  "copyfiles": "^2.4.1",
98
98
  "eslint-config-prettier": "^8.3.0",
99
99
  "husky": "^7.0.4",
@@ -107,6 +107,7 @@
107
107
  "typescript": "^4.5.5"
108
108
  },
109
109
  "peerDependencies": {
110
- "@yandex-cloud/browserslist-config": "^1.0.1"
110
+ "@yandex-cloud/browserslist-config": "^1.0.1",
111
+ "@yandex-cloud/uikit": "^2.4.0"
111
112
  }
112
113
  }