ydb-embedded-ui 4.25.0 → 4.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +39 -0
  3. package/dist/components/BasicNodeViewer/BasicNodeViewer.scss +3 -11
  4. package/dist/components/CircularProgressBar/CircularProgressBar.scss +4 -4
  5. package/dist/components/DateRange/DateRange.scss +3 -3
  6. package/dist/components/DiagnosticCard/DiagnosticCard.scss +4 -4
  7. package/dist/components/Divider/Divider.scss +1 -1
  8. package/dist/components/EmptyState/EmptyState.scss +8 -9
  9. package/dist/components/EntityStatus/EntityStatus.scss +19 -29
  10. package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.tsx +2 -2
  11. package/dist/components/FullNodeViewer/FullNodeViewer.scss +1 -4
  12. package/dist/components/Fullscreen/Fullscreen.scss +2 -9
  13. package/dist/components/Icon/Icon.tsx +1 -5
  14. package/dist/components/InfoViewer/InfoViewer.scss +6 -6
  15. package/dist/components/LabelWithPopover/LabelWithPopover.tsx +3 -2
  16. package/dist/components/NodeHostWrapper/NodeHostWrapper.tsx +2 -2
  17. package/dist/components/PoolBar/PoolBar.scss +6 -6
  18. package/dist/components/PoolUsage/PoolUsage.scss +15 -17
  19. package/dist/components/ProgressViewer/ProgressViewer.scss +17 -16
  20. package/dist/components/QueryExecutionStatus/QueryExecutionStatus.scss +3 -3
  21. package/dist/components/SpeedMultiMeter/SpeedMultiMeter.scss +5 -5
  22. package/dist/components/SpeedMultiMeter/SpeedMultiMeter.tsx +12 -13
  23. package/dist/components/SplitPane/SplitPane.scss +5 -5
  24. package/dist/components/TableSkeleton/TableSkeleton.scss +1 -1
  25. package/dist/components/Tablet/Tablet.scss +10 -10
  26. package/dist/components/TabletsStatistic/TabletsStatistic.scss +13 -13
  27. package/dist/components/Tag/Tag.scss +3 -3
  28. package/dist/components/TruncatedQuery/TruncatedQuery.scss +1 -1
  29. package/dist/components/UsageLabel/UsageLabel.scss +2 -2
  30. package/dist/components/UsageLabel/UsageLabel.tsx +1 -1
  31. package/dist/components/VirtualTable/VirtualTable.scss +3 -3
  32. package/dist/containers/App/App.scss +20 -24
  33. package/dist/containers/AsideNavigation/AsideNavigation.scss +1 -4
  34. package/dist/containers/Authentication/Authentication.scss +4 -4
  35. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +4 -6
  36. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.tsx +1 -1
  37. package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.scss +3 -3
  38. package/dist/containers/Cluster/VersionsBar/VersionsBar.tsx +1 -1
  39. package/dist/containers/Header/Header.scss +1 -1
  40. package/dist/containers/Heatmap/Heatmap.scss +3 -5
  41. package/dist/containers/Heatmap/Histogram/Histogram.scss +6 -6
  42. package/dist/containers/Node/NodeStructure/NodeStructure.scss +10 -13
  43. package/dist/containers/Node/NodeStructure/Pdisk.tsx +1 -1
  44. package/dist/containers/ReduxTooltip/ReduxTooltip.js +1 -1
  45. package/dist/containers/ReduxTooltip/ReduxTooltip.scss +1 -18
  46. package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.scss +23 -23
  47. package/dist/containers/Storage/PDisk/PDisk.scss +4 -4
  48. package/dist/containers/Storage/PDiskPopup/PDiskPopup.tsx +1 -1
  49. package/dist/containers/Storage/Storage.scss +1 -1
  50. package/dist/containers/Storage/StorageGroups/StorageGroups.scss +1 -1
  51. package/dist/containers/Storage/UsageFilter/UsageFilter.scss +7 -6
  52. package/dist/containers/Storage/VDiskPopup/VDiskPopup.scss +1 -1
  53. package/dist/containers/Storage/VDiskPopup/VDiskPopup.tsx +1 -1
  54. package/dist/containers/Tablet/Tablet.scss +5 -5
  55. package/dist/containers/TabletsFilters/TabletsFilters.scss +2 -3
  56. package/dist/containers/Tenant/Acl/Acl.scss +1 -15
  57. package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.scss +0 -4
  58. package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.scss +5 -4
  59. package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.scss +0 -6
  60. package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +2 -2
  61. package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.scss +2 -2
  62. package/dist/containers/Tenant/Diagnostics/Network/Network.scss +8 -10
  63. package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.scss +8 -8
  64. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.scss +1 -5
  65. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.tsx +0 -1
  66. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +12 -12
  67. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +1 -36
  68. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.scss +3 -3
  69. package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.scss +7 -7
  70. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +2 -2
  71. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.scss +1 -1
  72. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +4 -8
  73. package/dist/containers/Tenant/ObjectSummary/ObjectSummary.tsx +2 -1
  74. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +3 -6
  75. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +2 -5
  76. package/dist/containers/Tenant/Query/Issues/Issues.scss +11 -14
  77. package/dist/containers/Tenant/Query/Preview/Preview.scss +3 -7
  78. package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.scss +1 -1
  79. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.scss +3 -9
  80. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +0 -9
  81. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx +11 -13
  82. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.scss +5 -5
  83. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.tsx +3 -3
  84. package/dist/containers/Tenant/Tenant.scss +1 -2
  85. package/dist/containers/Tenant/utils/schemaControls.tsx +2 -2
  86. package/dist/containers/UserSettings/Setting.tsx +5 -1
  87. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.scss +2 -3
  88. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.scss +1 -1
  89. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.tsx +1 -1
  90. package/dist/index.tsx +1 -0
  91. package/dist/styles/mixins.scss +37 -35
  92. package/dist/styles/themes/dark-hc.scss +296 -0
  93. package/dist/styles/themes/dark.scss +297 -0
  94. package/dist/styles/themes/light-hc.scss +289 -0
  95. package/dist/styles/themes/light.scss +291 -0
  96. package/dist/styles/themes.scss +73 -0
  97. package/package.json +7 -6
  98. package/dist/containers/App/TipPopup/TipPopup.js +0 -66
  99. package/dist/containers/App/TipPopup/TipPopup.scss +0 -46
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  &__select-option_empty {
20
- color: var(--yc-color-text-hint);
20
+ color: var(--g-color-text-hint);
21
21
  }
22
22
 
23
23
  &__search {
@@ -30,10 +30,6 @@
30
30
  }
31
31
  }
32
32
 
33
- &__table-settings .yc-icon {
34
- width: 20px;
35
- }
36
-
37
33
  &__table-wrapper {
38
34
  overflow: auto;
39
35
  @include flex-container();
@@ -169,7 +169,6 @@ export const PartitionsControls = ({
169
169
  items={columnsToSelect}
170
170
  showStatus
171
171
  onUpdate={hadleTableColumnsSetupChange}
172
- className={b('table-settings')}
173
172
  />
174
173
  </div>
175
174
  );
@@ -74,35 +74,35 @@
74
74
 
75
75
  &_good,
76
76
  &_green {
77
- color: var(--yc-color-text-positive);
78
- background-color: var(--yc-color-base-positive);
77
+ color: var(--g-color-text-positive);
78
+ background-color: var(--g-color-base-positive-light);
79
79
  }
80
80
  &_degraded,
81
81
  &_yellow {
82
- color: var(--yc-color-text-warning);
83
- background-color: var(--yc-color-base-warning);
82
+ color: var(--g-color-text-warning);
83
+ background-color: var(--g-color-base-warning-light);
84
84
  }
85
85
 
86
86
  &_blue {
87
- color: var(--yc-color-text-info);
88
- background-color: var(--yc-color-base-info);
87
+ color: var(--g-color-text-info);
88
+ background-color: var(--g-color-base-info-light);
89
89
  }
90
90
 
91
91
  &_emergency,
92
92
  &_red {
93
- color: var(--yc-color-text-danger);
94
- background-color: var(--yc-color-base-danger);
93
+ color: var(--g-color-text-danger);
94
+ background-color: var(--g-color-base-danger-light);
95
95
  }
96
96
  &_unspecified,
97
97
  &_gray,
98
98
  &_grey {
99
- color: var(--yc-color-text-misc);
100
- background-color: var(--yc-color-base-misc);
99
+ color: var(--g-color-text-misc);
100
+ background-color: var(--g-color-base-misc-light);
101
101
  }
102
102
  &_maintenance_required,
103
103
  &_orange {
104
- color: var(--yc-color-text-warning-heavy);
105
- background-color: var(--yc-color-infographics-warning-light);
104
+ color: var(--g-color-text-warning-heavy);
105
+ background-color: var(--g-color-base-warning-light);
106
106
  }
107
107
  }
108
108
  }
@@ -1,40 +1,5 @@
1
1
  @import '../../../../../../styles/mixins.scss';
2
2
 
3
- .indicator {
4
- width: 12px;
5
- height: 12px;
6
- margin-right: 4px;
7
-
8
- border-radius: 4px;
9
-
10
- &_good,
11
- &_green {
12
- background-color: var(--yc-color-base-positive-heavy);
13
- }
14
- &_degraded,
15
- &_yellow {
16
- background-color: var(--yc-color-base-warning-heavy);
17
- }
18
-
19
- &_blue {
20
- background-color: var(--yc-color-base-info-heavy);
21
- }
22
-
23
- &_emergency,
24
- &_red {
25
- background: var(--yc-color-base-danger-heavy);
26
- }
27
- &_unspecified,
28
- &_gray,
29
- &_grey {
30
- background: var(--yc-color-text-complementary);
31
- }
32
- &_maintenance_required,
33
- &_orange {
34
- background: var(--yc-color-text-warning-heavy);
35
- }
36
- }
37
-
38
3
  .issue-tree {
39
4
  display: flex;
40
5
 
@@ -54,7 +19,7 @@
54
19
  padding: 8px 20px;
55
20
 
56
21
  border-radius: 4px;
57
- background: var(--yc-color-base-generic);
22
+ background: var(--g-color-base-generic);
58
23
  }
59
24
 
60
25
  &__inspector {
@@ -21,10 +21,10 @@
21
21
 
22
22
  cursor: pointer;
23
23
 
24
- color: var(--yc-color-text-link);
24
+ color: var(--g-color-text-link);
25
25
 
26
26
  &:hover {
27
- color: var(--yc-color-text-link-hover);
27
+ color: var(--g-color-text-link-hover);
28
28
  }
29
29
  }
30
30
  &_message {
@@ -45,6 +45,6 @@
45
45
  }
46
46
 
47
47
  &__field-label {
48
- color: var(--yc-color-text-secondary);
48
+ color: var(--g-color-text-secondary);
49
49
  }
50
50
  }
@@ -20,11 +20,11 @@
20
20
  flex-direction: column;
21
21
  align-items: center;
22
22
 
23
- font-size: var(--yc-text-header-1-font-size);
24
- line-height: var(--yc-text-header-1-line-height);
25
23
  text-align: center;
26
24
 
27
- color: var(--yc-color-text-secondary);
25
+ color: var(--g-color-text-secondary);
26
+
27
+ @include header-1-typography();
28
28
  }
29
29
 
30
30
  &__progress {
@@ -35,18 +35,18 @@
35
35
  }
36
36
 
37
37
  &__resources {
38
- font-size: var(--yc-text-body-1-font-size);
38
+ font-size: var(--g-text-body-1-font-size);
39
39
 
40
- color: var(--yc-color-text-secondary);
40
+ color: var(--g-color-text-secondary);
41
41
  }
42
42
 
43
43
  &_active {
44
44
  #{$b}__content {
45
- color: var(--yc-color-text-complementary);
45
+ color: var(--g-color-text-complementary);
46
46
  }
47
47
 
48
48
  #{$b}__progress-bar-circle-bg {
49
- stroke: var(--yc-color-base-float);
49
+ stroke: var(--g-color-base-float);
50
50
  }
51
51
  }
52
52
  }
@@ -43,9 +43,9 @@
43
43
  &__title {
44
44
  margin-bottom: 10px;
45
45
 
46
- font-size: var(--yc-text-body-2-font-size);
47
46
  font-weight: 700;
48
- line-height: var(--yc-text-body-2-line-height);
47
+
48
+ @include body-2-typography();
49
49
  }
50
50
 
51
51
  &__table {
@@ -5,7 +5,7 @@
5
5
 
6
6
  height: 100%;
7
7
 
8
- background-color: var(--yc-color-base-background);
8
+ background-color: var(--g-color-base-background);
9
9
 
10
10
  &__loader {
11
11
  display: flex;
@@ -29,7 +29,7 @@
29
29
  top: 19px; // centered relative to the heading
30
30
  right: 5px; // centered relative to the collapsed panel
31
31
 
32
- background-color: var(--yc-color-base-background);
32
+ background-color: var(--g-color-base-background);
33
33
  &_hidden {
34
34
  visibility: hidden;
35
35
  }
@@ -86,14 +86,10 @@
86
86
  &__info-controls {
87
87
  display: flex;
88
88
  gap: 4px;
89
-
90
- .yc-button__text {
91
- margin: 0 6px;
92
- }
93
89
  }
94
90
 
95
91
  &__info-action-button {
96
- background-color: var(--yc-color-base-background);
92
+ background-color: var(--g-color-base-background);
97
93
  &_hidden {
98
94
  display: none;
99
95
  }
@@ -116,7 +112,7 @@
116
112
 
117
113
  padding: 12px 12px 10px;
118
114
 
119
- border-bottom: 1px solid var(--yc-color-line-generic);
115
+ border-bottom: 1px solid var(--g-color-line-generic);
120
116
  }
121
117
 
122
118
  &__info-title {
@@ -144,7 +140,7 @@
144
140
  text-transform: lowercase;
145
141
 
146
142
  border-radius: 3px;
147
- background-color: var(--yc-color-base-generic);
143
+ background-color: var(--g-color-base-generic);
148
144
 
149
145
  &_error {
150
146
  padding: 3px 0;
@@ -5,7 +5,8 @@ import {Link} from 'react-router-dom';
5
5
  import qs from 'qs';
6
6
  import cn from 'bem-cn-lite';
7
7
 
8
- import {Button, HelpPopover, Tabs} from '@gravity-ui/uikit';
8
+ import {Button, Tabs} from '@gravity-ui/uikit';
9
+ import {HelpPopover} from '@gravity-ui/components';
9
10
 
10
11
  import SplitPane from '../../../components/SplitPane';
11
12
  import CopyToClipboard from '../../../components/CopyToClipboard/CopyToClipboard';
@@ -44,8 +44,8 @@
44
44
  height: 53px;
45
45
  padding: 12px 20px;
46
46
 
47
- border-bottom: 1px solid var(--yc-color-line-generic);
48
- background-color: var(--yc-color-base-background);
47
+ border-bottom: 1px solid var(--g-color-line-generic);
48
+ background-color: var(--g-color-base-background);
49
49
  }
50
50
 
51
51
  &__controls-right {
@@ -57,9 +57,6 @@
57
57
  &__controls-left {
58
58
  display: flex;
59
59
  gap: 4px;
60
- .yc-button__text {
61
- margin: 0 6px;
62
- }
63
60
  }
64
61
  &__inspector {
65
62
  max-width: calc(100% - 50px);
@@ -81,7 +78,7 @@
81
78
  height: 100%;
82
79
  margin: 20px;
83
80
 
84
- background-color: var(--yc-color-base-background);
81
+ background-color: var(--g-color-base-background);
85
82
  @include table-styles();
86
83
  table {
87
84
  width: 100% !important;
@@ -22,8 +22,8 @@
22
22
  height: 53px;
23
23
  padding: 12px 20px;
24
24
 
25
- border-bottom: 1px solid var(--yc-color-line-generic);
26
- background-color: var(--yc-color-base-background);
25
+ border-bottom: 1px solid var(--g-color-line-generic);
26
+ background-color: var(--g-color-base-background);
27
27
  }
28
28
  &__controls-right {
29
29
  display: flex;
@@ -34,9 +34,6 @@
34
34
  &__controls-left {
35
35
  display: flex;
36
36
  gap: 4px;
37
- .yc-button__text {
38
- margin: 0 6px;
39
- }
40
37
  }
41
38
  &__explain-canvas-container {
42
39
  overflow-y: auto;
@@ -12,7 +12,7 @@
12
12
 
13
13
  padding: 10px 0;
14
14
 
15
- background-color: var(--yc-color-base-background);
15
+ background-color: var(--g-color-base-background);
16
16
  }
17
17
 
18
18
  &__error-message-text {
@@ -48,7 +48,7 @@
48
48
 
49
49
  text-align: left;
50
50
 
51
- color: var(--yc-color-text-secondary);
51
+ color: var(--g-color-text-secondary);
52
52
  }
53
53
 
54
54
  &__message {
@@ -57,9 +57,9 @@
57
57
  margin-right: auto;
58
58
  margin-left: 10px;
59
59
 
60
- font-family: var(--yc-font-family-monospace);
61
- font-size: var(--yc-text-code-2-font-size);
62
- line-height: var(--yc-text-header-2-line-height);
60
+ font-family: var(--g-font-family-monospace);
61
+ font-size: var(--g-text-code-2-font-size);
62
+ line-height: var(--g-text-header-2-line-height);
63
63
  }
64
64
 
65
65
  &__message-text {
@@ -79,14 +79,11 @@
79
79
 
80
80
  font-size: 12px;
81
81
 
82
- color: var(--yc-color-text-complementary);
82
+ color: var(--g-color-text-complementary);
83
83
  }
84
84
 
85
85
  &__arrow-toggle {
86
86
  margin-right: 5px;
87
- .yc-button__text {
88
- margin: 0 5px;
89
- }
90
87
  }
91
88
  }
92
89
 
@@ -98,19 +95,19 @@
98
95
  white-space: nowrap;
99
96
 
100
97
  &_severity_fatal &__icon {
101
- color: var(--yc-color-text-danger);
98
+ color: var(--g-color-text-danger);
102
99
  }
103
100
 
104
101
  &_severity_error &__icon {
105
- color: var(--yc-color-text-danger);
102
+ color: var(--g-color-text-danger);
106
103
  }
107
104
 
108
105
  &_severity_warning &__icon {
109
- color: var(--yc-color-text-warning);
106
+ color: var(--g-color-text-warning);
110
107
  }
111
108
 
112
109
  &_severity_info &__icon {
113
- color: var(--yc-color-text-info);
110
+ color: var(--g-color-text-info);
114
111
  }
115
112
 
116
113
  &__title {
@@ -118,6 +115,6 @@
118
115
 
119
116
  text-transform: capitalize;
120
117
 
121
- color: var(--yc-color-text-complementary);
118
+ color: var(--g-color-text-complementary);
122
119
  }
123
120
  }
@@ -4,10 +4,6 @@
4
4
  height: 100%;
5
5
  @include query-data-table;
6
6
 
7
- .yc-button__text {
8
- margin: 0 6px;
9
- }
10
-
11
7
  &__header {
12
8
  position: sticky;
13
9
  top: 0;
@@ -19,8 +15,8 @@
19
15
  height: 53px;
20
16
  padding: 0 20px;
21
17
 
22
- border-bottom: 1px solid var(--yc-color-line-generic);
23
- background-color: var(--yc-color-base-background);
18
+ border-bottom: 1px solid var(--g-color-line-generic);
19
+ background-color: var(--g-color-base-background);
24
20
  }
25
21
 
26
22
  &__title {
@@ -30,7 +26,7 @@
30
26
  &__table-name {
31
27
  margin-left: 4px;
32
28
 
33
- color: var(--yc-color-text-complementary);
29
+ color: var(--g-color-text-complementary);
34
30
  }
35
31
 
36
32
  &__controls-left {
@@ -4,7 +4,7 @@
4
4
 
5
5
  margin-left: 10px;
6
6
 
7
- color: var(--yc-color-text-complementary);
7
+ color: var(--g-color-text-complementary);
8
8
 
9
9
  &__item-with-popover {
10
10
  white-space: nowrap;
@@ -11,12 +11,6 @@
11
11
 
12
12
  @include query-data-table;
13
13
 
14
- & .yc-button__text {
15
- display: flex;
16
- justify-content: center;
17
- align-items: center;
18
- }
19
-
20
14
  &__monaco {
21
15
  position: relative;
22
16
 
@@ -25,7 +19,7 @@
25
19
  width: 100%;
26
20
  height: 100%;
27
21
 
28
- border: 1px solid var(--yc-color-line-generic);
22
+ border: 1px solid var(--g-color-line-generic);
29
23
  }
30
24
 
31
25
  &__monaco-wrapper {
@@ -40,12 +34,12 @@
40
34
  display: flex;
41
35
  flex-direction: column;
42
36
 
43
- background-color: var(--yc-color-base-background);
37
+ background-color: var(--g-color-base-background);
44
38
 
45
39
  &_top {
46
40
  padding: 0 16px;
47
41
 
48
- border-bottom: 1px solid var(--yc-color-line-generic);
42
+ border-bottom: 1px solid var(--g-color-line-generic);
49
43
  }
50
44
  }
51
45
  }
@@ -14,15 +14,6 @@
14
14
  gap: 12px;
15
15
  }
16
16
 
17
- &__run {
18
- .yc-button__text {
19
- display: flex;
20
- justify-content: center;
21
- align-items: center;
22
- gap: 8px;
23
- }
24
- }
25
-
26
17
  &__mode-selector {
27
18
  $b: &;
28
19
 
@@ -92,19 +92,17 @@ export const QueryEditorControls = ({
92
92
  return (
93
93
  <div className={b()}>
94
94
  <div className={b('left')}>
95
- <div className={b('run')}>
96
- <Button
97
- onClick={() => {
98
- onRunButtonClick(queryMode);
99
- }}
100
- disabled={disabled}
101
- loading={runIsLoading}
102
- view={runView}
103
- >
104
- <Icon name="startPlay" viewBox="0 0 16 16" width={16} height={16} />
105
- {'Run'}
106
- </Button>
107
- </div>
95
+ <Button
96
+ onClick={() => {
97
+ onRunButtonClick(queryMode);
98
+ }}
99
+ disabled={disabled}
100
+ loading={runIsLoading}
101
+ view={runView}
102
+ >
103
+ <Icon name="startPlay" viewBox="0 0 16 16" width={16} height={16} />
104
+ {'Run'}
105
+ </Button>
108
106
  <Button
109
107
  onClick={() => {
110
108
  onExplainButtonClick(queryMode);
@@ -4,7 +4,7 @@
4
4
  align-items: flex-start;
5
5
 
6
6
  & + & {
7
- margin-top: var(--yc-text-body-1-line-height);
7
+ margin-top: var(--g-text-body-1-line-height);
8
8
  }
9
9
  }
10
10
  &__field-title {
@@ -18,7 +18,7 @@
18
18
  &::after {
19
19
  content: '*';
20
20
 
21
- color: var(--yc-color-text-danger);
21
+ color: var(--g-color-text-danger);
22
22
  }
23
23
  }
24
24
  }
@@ -32,7 +32,7 @@
32
32
 
33
33
  height: 17px;
34
34
 
35
- color: var(--yc-color-text-danger);
35
+ color: var(--g-color-text-danger);
36
36
  }
37
37
  &__embedded-tooltip {
38
38
  display: flex;
@@ -41,11 +41,11 @@
41
41
  height: 100%;
42
42
  margin-left: -10px;
43
43
 
44
- color: var(--yc-color-text-secondary);
44
+ color: var(--g-color-text-secondary);
45
45
  &:hover {
46
46
  cursor: pointer;
47
47
 
48
- color: var(--yc-color-text-complementary);
48
+ color: var(--g-color-text-complementary);
49
49
  }
50
50
  }
51
51
 
@@ -11,7 +11,7 @@ import {setQueryTab} from '../../../../store/reducers/tenant/tenant';
11
11
  import {TENANT_QUERY_TABS_ID} from '../../../../store/reducers/tenant/constants';
12
12
 
13
13
  import {TruncatedQuery} from '../../../../components/TruncatedQuery/TruncatedQuery';
14
- import {IconWrapper} from '../../../../components/Icon';
14
+ import {Icon} from '../../../../components/Icon';
15
15
 
16
16
  import {MAX_QUERY_HEIGHT, QUERY_TABLE_SETTINGS} from '../../utils/constants';
17
17
 
@@ -110,10 +110,10 @@ export const SavedQueries = ({savedQueries, changeUserInput, onDeleteQuery}: Sav
110
110
  </div>
111
111
  <span className={b('controls')}>
112
112
  <Button view="flat-secondary">
113
- <IconWrapper name="pencil" viewBox="0 0 24 24" />
113
+ <Icon name="pencil" viewBox="0 0 24 24" />
114
114
  </Button>
115
115
  <Button view="flat-secondary" onClick={onDeleteQueryClick(query.name)}>
116
- <IconWrapper name="trash" viewBox="0 0 24 24" />
116
+ <Icon name="trash" viewBox="0 0 24 24" />
117
117
  </Button>
118
118
  </span>
119
119
  </div>
@@ -3,7 +3,6 @@
3
3
  .tenant-page {
4
4
  overflow: hidden;
5
5
 
6
- font-size: var(--yc-text-body-2-font-size);
7
- line-height: var(--yc-text-body-2-line-height);
6
+ @include body-2-typography();
8
7
  @include flex-container();
9
8
  }
@@ -6,7 +6,7 @@ import {Button} from '@gravity-ui/uikit';
6
6
  import {setShowPreview} from '../../../store/reducers/schema/schema';
7
7
  import {setQueryTab, setTenantPage} from '../../../store/reducers/tenant/tenant';
8
8
  import {TENANT_PAGES_IDS, TENANT_QUERY_TABS_ID} from '../../../store/reducers/tenant/constants';
9
- import {IconWrapper} from '../../../components/Icon';
9
+ import {Icon} from '../../../components/Icon';
10
10
 
11
11
  import i18n from '../i18n';
12
12
 
@@ -44,7 +44,7 @@ export const getControls =
44
44
  title={i18n('actions.openPreview')}
45
45
  size="s"
46
46
  >
47
- <IconWrapper name="tablePreview" />
47
+ <Icon name="tablePreview" />
48
48
  </Button>
49
49
  );
50
50
 
@@ -82,7 +82,11 @@ export const Setting = ({
82
82
  };
83
83
 
84
84
  return (
85
- <Settings.Item title={title} renderTitleComponent={renderTitleComponent}>
85
+ <Settings.Item
86
+ title={title}
87
+ highlightedTitle={title}
88
+ renderTitleComponent={renderTitleComponent}
89
+ >
86
90
  {getSettingsElement(type)}
87
91
  </Settings.Item>
88
92
  );
@@ -8,7 +8,7 @@
8
8
  margin-top: 10px;
9
9
  margin-bottom: 10px;
10
10
 
11
- border: 1px solid var(--yc-color-line-generic);
11
+ border: 1px solid var(--g-color-line-generic);
12
12
  border-radius: 10px;
13
13
  }
14
14
 
@@ -29,8 +29,7 @@
29
29
  }
30
30
 
31
31
  .ydb-tree-view {
32
- font-size: var(--yc-text-body-2-font-size);
33
- line-height: var(--yc-text-body-2-line-height);
32
+ @include body-2-typography();
34
33
 
35
34
  // Apply margin ignoring first element of the tree
36
35
  .ydb-tree-view {
@@ -24,7 +24,7 @@
24
24
  &__info-label {
25
25
  font-weight: 200;
26
26
 
27
- color: var(--yc-color-text-complementary);
27
+ color: var(--g-color-text-complementary);
28
28
 
29
29
  &_margin_left {
30
30
  margin-left: 5px;
@@ -53,7 +53,7 @@ export const NodesTreeTitle = ({
53
53
  {versionsValues ? (
54
54
  <div className={b('version-progress')}>
55
55
  <span className={b('info-label', {margin: 'right'})}>Versions</span>
56
- <Progress view="thin" value={100} stack={versionsValues} />
56
+ <Progress size="s" value={100} stack={versionsValues} />
57
57
  </div>
58
58
  ) : null}
59
59
  </div>