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.
- package/CHANGELOG.md +7 -0
- package/README.md +39 -0
- package/dist/components/BasicNodeViewer/BasicNodeViewer.scss +3 -11
- package/dist/components/CircularProgressBar/CircularProgressBar.scss +4 -4
- package/dist/components/DateRange/DateRange.scss +3 -3
- package/dist/components/DiagnosticCard/DiagnosticCard.scss +4 -4
- package/dist/components/Divider/Divider.scss +1 -1
- package/dist/components/EmptyState/EmptyState.scss +8 -9
- package/dist/components/EntityStatus/EntityStatus.scss +19 -29
- package/dist/components/ExternalLinkWithIcon/ExternalLinkWithIcon.tsx +2 -2
- package/dist/components/FullNodeViewer/FullNodeViewer.scss +1 -4
- package/dist/components/Fullscreen/Fullscreen.scss +2 -9
- package/dist/components/Icon/Icon.tsx +1 -5
- package/dist/components/InfoViewer/InfoViewer.scss +6 -6
- package/dist/components/LabelWithPopover/LabelWithPopover.tsx +3 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.tsx +2 -2
- package/dist/components/PoolBar/PoolBar.scss +6 -6
- package/dist/components/PoolUsage/PoolUsage.scss +15 -17
- package/dist/components/ProgressViewer/ProgressViewer.scss +17 -16
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.scss +3 -3
- package/dist/components/SpeedMultiMeter/SpeedMultiMeter.scss +5 -5
- package/dist/components/SpeedMultiMeter/SpeedMultiMeter.tsx +12 -13
- package/dist/components/SplitPane/SplitPane.scss +5 -5
- package/dist/components/TableSkeleton/TableSkeleton.scss +1 -1
- package/dist/components/Tablet/Tablet.scss +10 -10
- package/dist/components/TabletsStatistic/TabletsStatistic.scss +13 -13
- package/dist/components/Tag/Tag.scss +3 -3
- package/dist/components/TruncatedQuery/TruncatedQuery.scss +1 -1
- package/dist/components/UsageLabel/UsageLabel.scss +2 -2
- package/dist/components/UsageLabel/UsageLabel.tsx +1 -1
- package/dist/components/VirtualTable/VirtualTable.scss +3 -3
- package/dist/containers/App/App.scss +20 -24
- package/dist/containers/AsideNavigation/AsideNavigation.scss +1 -4
- package/dist/containers/Authentication/Authentication.scss +4 -4
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +4 -6
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.tsx +1 -1
- package/dist/containers/Cluster/ClusterInfoSkeleton/ClusterInfoSkeleton.scss +3 -3
- package/dist/containers/Cluster/VersionsBar/VersionsBar.tsx +1 -1
- package/dist/containers/Header/Header.scss +1 -1
- package/dist/containers/Heatmap/Heatmap.scss +3 -5
- package/dist/containers/Heatmap/Histogram/Histogram.scss +6 -6
- package/dist/containers/Node/NodeStructure/NodeStructure.scss +10 -13
- package/dist/containers/Node/NodeStructure/Pdisk.tsx +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.js +1 -1
- package/dist/containers/ReduxTooltip/ReduxTooltip.scss +1 -18
- package/dist/containers/Storage/DiskStateProgressBar/DiskStateProgressBar.scss +23 -23
- package/dist/containers/Storage/PDisk/PDisk.scss +4 -4
- package/dist/containers/Storage/PDiskPopup/PDiskPopup.tsx +1 -1
- package/dist/containers/Storage/Storage.scss +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.scss +1 -1
- package/dist/containers/Storage/UsageFilter/UsageFilter.scss +7 -6
- package/dist/containers/Storage/VDiskPopup/VDiskPopup.scss +1 -1
- package/dist/containers/Storage/VDiskPopup/VDiskPopup.tsx +1 -1
- package/dist/containers/Tablet/Tablet.scss +5 -5
- package/dist/containers/TabletsFilters/TabletsFilters.scss +2 -3
- package/dist/containers/Tenant/Acl/Acl.scss +1 -15
- package/dist/containers/Tenant/Diagnostics/Consumers/Consumers.scss +0 -4
- package/dist/containers/Tenant/Diagnostics/Consumers/TopicStats/ConsumersTopicStats.scss +5 -4
- package/dist/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.scss +0 -6
- package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/Network/Network.scss +8 -10
- package/dist/containers/Tenant/Diagnostics/Network/NodeNetwork/NodeNetwork.scss +8 -8
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.scss +1 -5
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.tsx +0 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +12 -12
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +1 -36
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTreeItem/IssueTreeItem.scss +3 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricCard/MetricCard.scss +7 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.scss +2 -2
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.scss +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +4 -8
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.tsx +2 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +3 -6
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +2 -5
- package/dist/containers/Tenant/Query/Issues/Issues.scss +11 -14
- package/dist/containers/Tenant/Query/Preview/Preview.scss +3 -7
- package/dist/containers/Tenant/Query/QueryDuration/QueryDuration.scss +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.scss +3 -9
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.scss +0 -9
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx +11 -13
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.scss +5 -5
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.tsx +3 -3
- package/dist/containers/Tenant/Tenant.scss +1 -2
- package/dist/containers/Tenant/utils/schemaControls.tsx +2 -2
- package/dist/containers/UserSettings/Setting.tsx +5 -1
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.scss +2 -3
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.scss +1 -1
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.tsx +1 -1
- package/dist/index.tsx +1 -0
- package/dist/styles/mixins.scss +37 -35
- package/dist/styles/themes/dark-hc.scss +296 -0
- package/dist/styles/themes/dark.scss +297 -0
- package/dist/styles/themes/light-hc.scss +289 -0
- package/dist/styles/themes/light.scss +291 -0
- package/dist/styles/themes.scss +73 -0
- package/package.json +7 -6
- package/dist/containers/App/TipPopup/TipPopup.js +0 -66
- package/dist/containers/App/TipPopup/TipPopup.scss +0 -46
@@ -0,0 +1,291 @@
|
|
1
|
+
@mixin colors-private-light {
|
2
|
+
--g-color-private-white-50: rgba(255, 255, 255, 0.05);
|
3
|
+
--g-color-private-white-70: rgba(255, 255, 255, 0.07);
|
4
|
+
--g-color-private-white-100: rgba(255, 255, 255, 0.1);
|
5
|
+
--g-color-private-white-150: rgba(255, 255, 255, 0.15);
|
6
|
+
--g-color-private-white-200: rgba(255, 255, 255, 0.2);
|
7
|
+
--g-color-private-white-250: rgba(255, 255, 255, 0.25);
|
8
|
+
--g-color-private-white-300: rgba(255, 255, 255, 0.3);
|
9
|
+
--g-color-private-white-350: rgba(255, 255, 255, 0.35);
|
10
|
+
--g-color-private-white-400: rgba(255, 255, 255, 0.4);
|
11
|
+
--g-color-private-white-450: rgba(255, 255, 255, 0.45);
|
12
|
+
--g-color-private-white-500: rgba(255, 255, 255, 0.5);
|
13
|
+
--g-color-private-white-550: rgba(255, 255, 255, 0.55);
|
14
|
+
--g-color-private-white-600: rgba(255, 255, 255, 0.6);
|
15
|
+
--g-color-private-white-650: rgba(255, 255, 255, 0.65);
|
16
|
+
--g-color-private-white-700: rgba(255, 255, 255, 0.7);
|
17
|
+
--g-color-private-white-750: rgba(255, 255, 255, 0.75);
|
18
|
+
--g-color-private-white-800: rgba(255, 255, 255, 0.8);
|
19
|
+
--g-color-private-white-850: rgba(255, 255, 255, 0.85);
|
20
|
+
--g-color-private-white-900: rgba(255, 255, 255, 0.9);
|
21
|
+
--g-color-private-white-950: rgba(255, 255, 255, 0.95);
|
22
|
+
|
23
|
+
--g-color-private-white-1000-solid: rgb(255, 255, 255);
|
24
|
+
|
25
|
+
--g-color-private-black-50: rgba(0, 0, 0, 0.05);
|
26
|
+
--g-color-private-black-70: rgba(0, 0, 0, 0.07);
|
27
|
+
--g-color-private-black-100: rgba(0, 0, 0, 0.1);
|
28
|
+
--g-color-private-black-150: rgba(0, 0, 0, 0.15);
|
29
|
+
--g-color-private-black-200: rgba(0, 0, 0, 0.2);
|
30
|
+
--g-color-private-black-250: rgba(0, 0, 0, 0.25);
|
31
|
+
--g-color-private-black-300: rgba(0, 0, 0, 0.3);
|
32
|
+
--g-color-private-black-350: rgba(0, 0, 0, 0.35);
|
33
|
+
--g-color-private-black-400: rgba(0, 0, 0, 0.4);
|
34
|
+
--g-color-private-black-450: rgba(0, 0, 0, 0.45);
|
35
|
+
--g-color-private-black-500: rgba(0, 0, 0, 0.5);
|
36
|
+
--g-color-private-black-550: rgba(0, 0, 0, 0.55);
|
37
|
+
--g-color-private-black-600: rgba(0, 0, 0, 0.6);
|
38
|
+
--g-color-private-black-650: rgba(0, 0, 0, 0.65);
|
39
|
+
--g-color-private-black-700: rgba(0, 0, 0, 0.7);
|
40
|
+
--g-color-private-black-750: rgba(0, 0, 0, 0.75);
|
41
|
+
--g-color-private-black-800: rgba(0, 0, 0, 0.8);
|
42
|
+
--g-color-private-black-850: rgba(0, 0, 0, 0.85);
|
43
|
+
--g-color-private-black-900: rgba(0, 0, 0, 0.9);
|
44
|
+
--g-color-private-black-950: rgba(0, 0, 0, 0.95);
|
45
|
+
|
46
|
+
--g-color-private-black-20-solid: rgb(250, 250, 250);
|
47
|
+
--g-color-private-black-50-solid: rgb(242, 242, 242);
|
48
|
+
--g-color-private-black-100-solid: rgb(229, 229, 229);
|
49
|
+
--g-color-private-black-150-solid: rgb(217, 217, 217);
|
50
|
+
--g-color-private-black-200-solid: rgb(204, 204, 204);
|
51
|
+
--g-color-private-black-250-solid: rgb(191, 191, 191);
|
52
|
+
--g-color-private-black-300-solid: rgb(179, 179, 179);
|
53
|
+
--g-color-private-black-350-solid: rgb(166, 166, 166);
|
54
|
+
--g-color-private-black-400-solid: rgb(153, 153, 153);
|
55
|
+
--g-color-private-black-450-solid: rgb(140, 140, 140);
|
56
|
+
--g-color-private-black-500-solid: rgb(128, 128, 128);
|
57
|
+
--g-color-private-black-550-solid: rgb(115, 115, 115);
|
58
|
+
--g-color-private-black-600-solid: rgb(102, 102, 102);
|
59
|
+
--g-color-private-black-650-solid: rgb(89, 89, 89);
|
60
|
+
--g-color-private-black-700-solid: rgb(76, 76, 76);
|
61
|
+
--g-color-private-black-750-solid: rgb(64, 64, 64);
|
62
|
+
--g-color-private-black-800-solid: rgb(51, 51, 51);
|
63
|
+
--g-color-private-black-850-solid: rgb(38, 38, 38);
|
64
|
+
--g-color-private-black-900-solid: rgb(26, 26, 26);
|
65
|
+
--g-color-private-black-950-solid: rgb(13, 13, 13);
|
66
|
+
--g-color-private-black-1000-solid: rgb(0, 0, 0);
|
67
|
+
|
68
|
+
--g-color-private-blue-50: rgba(82, 130, 255, 0.1);
|
69
|
+
--g-color-private-blue-100: rgba(82, 130, 255, 0.15);
|
70
|
+
--g-color-private-blue-150: rgba(82, 130, 255, 0.2);
|
71
|
+
--g-color-private-blue-200: rgba(82, 130, 255, 0.3);
|
72
|
+
--g-color-private-blue-250: rgba(82, 130, 255, 0.4);
|
73
|
+
--g-color-private-blue-300: rgba(82, 130, 255, 0.5);
|
74
|
+
--g-color-private-blue-350: rgba(82, 130, 255, 0.6);
|
75
|
+
--g-color-private-blue-400: rgba(82, 130, 255, 0.7);
|
76
|
+
--g-color-private-blue-450: rgba(82, 130, 255, 0.8);
|
77
|
+
--g-color-private-blue-500: rgba(82, 130, 255, 0.9);
|
78
|
+
|
79
|
+
--g-color-private-blue-50-solid: rgb(238, 243, 255);
|
80
|
+
--g-color-private-blue-100-solid: rgb(229, 236, 255);
|
81
|
+
--g-color-private-blue-150-solid: rgb(220, 230, 255);
|
82
|
+
--g-color-private-blue-200-solid: rgb(203, 218, 255);
|
83
|
+
--g-color-private-blue-250-solid: rgb(186, 205, 255);
|
84
|
+
--g-color-private-blue-300-solid: rgb(168, 193, 255);
|
85
|
+
--g-color-private-blue-350-solid: rgb(151, 180, 255);
|
86
|
+
--g-color-private-blue-400-solid: rgb(134, 168, 255);
|
87
|
+
--g-color-private-blue-450-solid: rgb(116, 155, 255);
|
88
|
+
--g-color-private-blue-500-solid: rgb(99, 143, 255);
|
89
|
+
--g-color-private-blue-550-solid: rgb(82, 130, 255);
|
90
|
+
--g-color-private-blue-600-solid: rgb(78, 121, 235);
|
91
|
+
--g-color-private-blue-650-solid: rgb(74, 113, 214);
|
92
|
+
--g-color-private-blue-700-solid: rgb(71, 104, 194);
|
93
|
+
--g-color-private-blue-750-solid: rgb(67, 96, 173);
|
94
|
+
--g-color-private-blue-800-solid: rgb(63, 87, 153);
|
95
|
+
--g-color-private-blue-850-solid: rgb(60, 79, 133);
|
96
|
+
--g-color-private-blue-900-solid: rgb(56, 70, 112);
|
97
|
+
--g-color-private-blue-950-solid: rgb(52, 61, 92);
|
98
|
+
--g-color-private-blue-1000-solid: rgb(51, 57, 82);
|
99
|
+
|
100
|
+
--g-color-private-green-50: rgba(59, 201, 53, 0.1);
|
101
|
+
--g-color-private-green-100: rgba(59, 201, 53, 0.15);
|
102
|
+
--g-color-private-green-150: rgba(59, 201, 53, 0.2);
|
103
|
+
--g-color-private-green-200: rgba(59, 201, 53, 0.3);
|
104
|
+
--g-color-private-green-250: rgba(59, 201, 53, 0.4);
|
105
|
+
--g-color-private-green-300: rgba(59, 201, 53, 0.5);
|
106
|
+
--g-color-private-green-350: rgba(59, 201, 53, 0.6);
|
107
|
+
--g-color-private-green-400: rgba(59, 201, 53, 0.7);
|
108
|
+
--g-color-private-green-450: rgba(59, 201, 53, 0.8);
|
109
|
+
--g-color-private-green-500: rgba(59, 201, 53, 0.9);
|
110
|
+
|
111
|
+
--g-color-private-green-50-solid: rgb(235, 250, 235);
|
112
|
+
--g-color-private-green-100-solid: rgb(226, 247, 225);
|
113
|
+
--g-color-private-green-150-solid: rgb(216, 244, 215);
|
114
|
+
--g-color-private-green-200-solid: rgb(196, 239, 194);
|
115
|
+
--g-color-private-green-250-solid: rgb(177, 233, 174);
|
116
|
+
--g-color-private-green-300-solid: rgb(157, 228, 154);
|
117
|
+
--g-color-private-green-350-solid: rgb(137, 223, 134);
|
118
|
+
--g-color-private-green-400-solid: rgb(118, 217, 114);
|
119
|
+
--g-color-private-green-450-solid: rgb(98, 212, 93);
|
120
|
+
--g-color-private-green-500-solid: rgb(79, 206, 73);
|
121
|
+
--g-color-private-green-550-solid: rgb(59, 201, 53);
|
122
|
+
--g-color-private-green-600-solid: rgb(58, 185, 53);
|
123
|
+
--g-color-private-green-650-solid: rgb(56, 170, 53);
|
124
|
+
--g-color-private-green-700-solid: rgb(55, 154, 52);
|
125
|
+
--g-color-private-green-750-solid: rgb(53, 138, 52);
|
126
|
+
--g-color-private-green-800-solid: rgb(52, 123, 52);
|
127
|
+
--g-color-private-green-850-solid: rgb(51, 107, 52);
|
128
|
+
--g-color-private-green-900-solid: rgb(49, 91, 52);
|
129
|
+
--g-color-private-green-950-solid: rgb(48, 75, 51);
|
130
|
+
--g-color-private-green-1000-solid: rgb(47, 68, 51);
|
131
|
+
|
132
|
+
--g-color-private-yellow-50: rgba(255, 219, 77, 0.1);
|
133
|
+
--g-color-private-yellow-100: rgba(255, 219, 77, 0.15);
|
134
|
+
--g-color-private-yellow-150: rgba(255, 219, 77, 0.2);
|
135
|
+
--g-color-private-yellow-200: rgba(255, 219, 77, 0.3);
|
136
|
+
--g-color-private-yellow-250: rgba(255, 219, 77, 0.4);
|
137
|
+
--g-color-private-yellow-300: rgba(255, 219, 77, 0.5);
|
138
|
+
--g-color-private-yellow-350: rgba(255, 219, 77, 0.6);
|
139
|
+
--g-color-private-yellow-400: rgba(255, 219, 77, 0.7);
|
140
|
+
--g-color-private-yellow-450: rgba(255, 219, 77, 0.8);
|
141
|
+
--g-color-private-yellow-500: rgba(255, 219, 77, 0.9);
|
142
|
+
|
143
|
+
--g-color-private-yellow-50-solid: rgb(255, 251, 237);
|
144
|
+
--g-color-private-yellow-100-solid: rgb(255, 250, 228);
|
145
|
+
--g-color-private-yellow-150-solid: rgb(255, 248, 219);
|
146
|
+
--g-color-private-yellow-200-solid: rgb(255, 244, 202);
|
147
|
+
--g-color-private-yellow-250-solid: rgb(255, 241, 184);
|
148
|
+
--g-color-private-yellow-300-solid: rgb(255, 237, 166);
|
149
|
+
--g-color-private-yellow-350-solid: rgb(255, 233, 148);
|
150
|
+
--g-color-private-yellow-400-solid: rgb(255, 230, 130);
|
151
|
+
--g-color-private-yellow-450-solid: rgb(255, 226, 113);
|
152
|
+
--g-color-private-yellow-500-solid: rgb(255, 223, 95);
|
153
|
+
--g-color-private-yellow-550-solid: rgb(255, 219, 77);
|
154
|
+
--g-color-private-yellow-600-solid: rgb(234, 201, 74);
|
155
|
+
--g-color-private-yellow-650-solid: rgb(213, 184, 72);
|
156
|
+
--g-color-private-yellow-700-solid: rgb(192, 166, 69);
|
157
|
+
--g-color-private-yellow-750-solid: rgb(171, 149, 67);
|
158
|
+
--g-color-private-yellow-800-solid: rgb(150, 131, 64);
|
159
|
+
--g-color-private-yellow-850-solid: rgb(129, 114, 61);
|
160
|
+
--g-color-private-yellow-900-solid: rgb(108, 96, 59);
|
161
|
+
--g-color-private-yellow-950-solid: rgb(87, 79, 56);
|
162
|
+
--g-color-private-yellow-1000-solid: rgb(77, 70, 55);
|
163
|
+
|
164
|
+
--g-color-private-orange-50: rgba(255, 119, 0, 0.1);
|
165
|
+
--g-color-private-orange-100: rgba(255, 119, 0, 0.15);
|
166
|
+
--g-color-private-orange-150: rgba(255, 119, 0, 0.2);
|
167
|
+
--g-color-private-orange-200: rgba(255, 119, 0, 0.3);
|
168
|
+
--g-color-private-orange-250: rgba(255, 119, 0, 0.4);
|
169
|
+
--g-color-private-orange-300: rgba(255, 119, 0, 0.5);
|
170
|
+
--g-color-private-orange-350: rgba(255, 119, 0, 0.6);
|
171
|
+
--g-color-private-orange-400: rgba(255, 119, 0, 0.7);
|
172
|
+
--g-color-private-orange-450: rgba(255, 119, 0, 0.8);
|
173
|
+
--g-color-private-orange-500: rgba(255, 119, 0, 0.9);
|
174
|
+
|
175
|
+
--g-color-private-orange-50-solid: rgb(255, 241, 230);
|
176
|
+
--g-color-private-orange-100-solid: rgb(255, 235, 217);
|
177
|
+
--g-color-private-orange-150-solid: rgb(255, 228, 204);
|
178
|
+
--g-color-private-orange-200-solid: rgb(255, 214, 179);
|
179
|
+
--g-color-private-orange-250-solid: rgb(255, 201, 153);
|
180
|
+
--g-color-private-orange-300-solid: rgb(255, 187, 128);
|
181
|
+
--g-color-private-orange-350-solid: rgb(255, 173, 102);
|
182
|
+
--g-color-private-orange-400-solid: rgb(255, 160, 76);
|
183
|
+
--g-color-private-orange-450-solid: rgb(255, 146, 51);
|
184
|
+
--g-color-private-orange-500-solid: rgb(255, 133, 26);
|
185
|
+
--g-color-private-orange-550-solid: rgb(255, 119, 0);
|
186
|
+
--g-color-private-orange-600-solid: rgb(234, 112, 5);
|
187
|
+
--g-color-private-orange-650-solid: rgb(213, 104, 10);
|
188
|
+
--g-color-private-orange-700-solid: rgb(192, 96, 15);
|
189
|
+
--g-color-private-orange-750-solid: rgb(171, 89, 20);
|
190
|
+
--g-color-private-orange-800-solid: rgb(150, 81, 25);
|
191
|
+
--g-color-private-orange-850-solid: rgb(129, 74, 31);
|
192
|
+
--g-color-private-orange-900-solid: rgb(108, 67, 36);
|
193
|
+
--g-color-private-orange-950-solid: rgb(87, 59, 41);
|
194
|
+
--g-color-private-orange-1000-solid: rgb(77, 55, 43);
|
195
|
+
|
196
|
+
--g-color-private-red-50: rgba(255, 4, 0, 0.1);
|
197
|
+
--g-color-private-red-100: rgba(255, 4, 0, 0.15);
|
198
|
+
--g-color-private-red-150: rgba(255, 4, 0, 0.2);
|
199
|
+
--g-color-private-red-200: rgba(255, 4, 0, 0.3);
|
200
|
+
--g-color-private-red-250: rgba(255, 4, 0, 0.4);
|
201
|
+
--g-color-private-red-300: rgba(255, 4, 0, 0.5);
|
202
|
+
--g-color-private-red-350: rgba(255, 4, 0, 0.6);
|
203
|
+
--g-color-private-red-400: rgba(255, 4, 0, 0.7);
|
204
|
+
--g-color-private-red-450: rgba(255, 4, 0, 0.8);
|
205
|
+
--g-color-private-red-500: rgba(255, 4, 0, 0.9);
|
206
|
+
|
207
|
+
--g-color-private-red-50-solid: rgb(255, 230, 230);
|
208
|
+
--g-color-private-red-100-solid: rgb(255, 217, 217);
|
209
|
+
--g-color-private-red-150-solid: rgb(255, 205, 204);
|
210
|
+
--g-color-private-red-200-solid: rgb(255, 180, 179);
|
211
|
+
--g-color-private-red-250-solid: rgb(255, 155, 153);
|
212
|
+
--g-color-private-red-300-solid: rgb(255, 130, 128);
|
213
|
+
--g-color-private-red-350-solid: rgb(255, 105, 102);
|
214
|
+
--g-color-private-red-400-solid: rgb(255, 80, 76);
|
215
|
+
--g-color-private-red-450-solid: rgb(255, 55, 51);
|
216
|
+
--g-color-private-red-500-solid: rgb(255, 30, 26);
|
217
|
+
--g-color-private-red-550-solid: rgb(255, 4, 0);
|
218
|
+
--g-color-private-red-600-solid: rgb(234, 8, 5);
|
219
|
+
--g-color-private-red-650-solid: rgb(213, 12, 10);
|
220
|
+
--g-color-private-red-700-solid: rgb(192, 16, 15);
|
221
|
+
--g-color-private-red-750-solid: rgb(171, 20, 20);
|
222
|
+
--g-color-private-red-800-solid: rgb(150, 24, 25);
|
223
|
+
--g-color-private-red-850-solid: rgb(129, 28, 31);
|
224
|
+
--g-color-private-red-900-solid: rgb(108, 32, 36);
|
225
|
+
--g-color-private-red-950-solid: rgb(87, 36, 41);
|
226
|
+
--g-color-private-red-1000-solid: rgb(77, 38, 43);
|
227
|
+
|
228
|
+
--g-color-private-purple-50: rgba(143, 82, 204, 0.1);
|
229
|
+
--g-color-private-purple-100: rgba(143, 82, 204, 0.15);
|
230
|
+
--g-color-private-purple-150: rgba(143, 82, 204, 0.2);
|
231
|
+
--g-color-private-purple-200: rgba(143, 82, 204, 0.3);
|
232
|
+
--g-color-private-purple-250: rgba(143, 82, 204, 0.4);
|
233
|
+
--g-color-private-purple-300: rgba(143, 82, 204, 0.5);
|
234
|
+
--g-color-private-purple-350: rgba(143, 82, 204, 0.6);
|
235
|
+
--g-color-private-purple-400: rgba(143, 82, 204, 0.7);
|
236
|
+
--g-color-private-purple-450: rgba(143, 82, 204, 0.8);
|
237
|
+
--g-color-private-purple-500: rgba(143, 82, 204, 0.9);
|
238
|
+
|
239
|
+
--g-color-private-purple-50-solid: rgb(244, 238, 250);
|
240
|
+
--g-color-private-purple-100-solid: rgb(238, 229, 247);
|
241
|
+
--g-color-private-purple-150-solid: rgb(233, 220, 245);
|
242
|
+
--g-color-private-purple-200-solid: rgb(221, 203, 240);
|
243
|
+
--g-color-private-purple-250-solid: rgb(210, 186, 235);
|
244
|
+
--g-color-private-purple-300-solid: rgb(199, 169, 230);
|
245
|
+
--g-color-private-purple-350-solid: rgb(188, 151, 224);
|
246
|
+
--g-color-private-purple-400-solid: rgb(177, 134, 219);
|
247
|
+
--g-color-private-purple-450-solid: rgb(165, 117, 214);
|
248
|
+
--g-color-private-purple-500-solid: rgb(154, 99, 209);
|
249
|
+
--g-color-private-purple-550-solid: rgb(143, 82, 204);
|
250
|
+
--g-color-private-purple-600-solid: rgb(133, 78, 189);
|
251
|
+
--g-color-private-purple-650-solid: rgb(123, 74, 173);
|
252
|
+
--g-color-private-purple-700-solid: rgb(114, 71, 158);
|
253
|
+
--g-color-private-purple-750-solid: rgb(104, 67, 143);
|
254
|
+
--g-color-private-purple-800-solid: rgb(94, 63, 128);
|
255
|
+
--g-color-private-purple-850-solid: rgb(84, 59, 112);
|
256
|
+
--g-color-private-purple-900-solid: rgb(74, 55, 97);
|
257
|
+
--g-color-private-purple-950-solid: rgb(65, 52, 82);
|
258
|
+
--g-color-private-purple-1000-solid: rgb(60, 50, 74);
|
259
|
+
|
260
|
+
--g-color-private-cool-grey-50: rgba(107, 132, 153, 0.1);
|
261
|
+
--g-color-private-cool-grey-100: rgba(107, 132, 153, 0.15);
|
262
|
+
--g-color-private-cool-grey-150: rgba(107, 132, 153, 0.2);
|
263
|
+
--g-color-private-cool-grey-200: rgba(107, 132, 153, 0.3);
|
264
|
+
--g-color-private-cool-grey-250: rgba(107, 132, 153, 0.4);
|
265
|
+
--g-color-private-cool-grey-300: rgba(107, 132, 153, 0.5);
|
266
|
+
--g-color-private-cool-grey-350: rgba(107, 132, 153, 0.6);
|
267
|
+
--g-color-private-cool-grey-400: rgba(107, 132, 153, 0.7);
|
268
|
+
--g-color-private-cool-grey-450: rgba(107, 132, 153, 0.8);
|
269
|
+
--g-color-private-cool-grey-500: rgba(107, 132, 153, 0.9);
|
270
|
+
|
271
|
+
--g-color-private-cool-grey-50-solid: rgb(240, 243, 245);
|
272
|
+
--g-color-private-cool-grey-100-solid: rgb(233, 237, 240);
|
273
|
+
--g-color-private-cool-grey-150-solid: rgb(225, 230, 235);
|
274
|
+
--g-color-private-cool-grey-200-solid: rgb(211, 218, 224);
|
275
|
+
--g-color-private-cool-grey-250-solid: rgb(196, 206, 214);
|
276
|
+
--g-color-private-cool-grey-300-solid: rgb(181, 193, 204);
|
277
|
+
--g-color-private-cool-grey-350-solid: rgb(166, 181, 194);
|
278
|
+
--g-color-private-cool-grey-400-solid: rgb(151, 169, 184);
|
279
|
+
--g-color-private-cool-grey-450-solid: rgb(137, 157, 173);
|
280
|
+
--g-color-private-cool-grey-500-solid: rgb(122, 144, 163);
|
281
|
+
--g-color-private-cool-grey-550-solid: rgb(107, 132, 153);
|
282
|
+
--g-color-private-cool-grey-600-solid: rgb(101, 123, 143);
|
283
|
+
--g-color-private-cool-grey-650-solid: rgb(95, 114, 133);
|
284
|
+
--g-color-private-cool-grey-700-solid: rgb(88, 106, 122);
|
285
|
+
--g-color-private-cool-grey-750-solid: rgb(82, 97, 112);
|
286
|
+
--g-color-private-cool-grey-800-solid: rgb(76, 88, 102);
|
287
|
+
--g-color-private-cool-grey-850-solid: rgb(70, 79, 92);
|
288
|
+
--g-color-private-cool-grey-900-solid: rgb(64, 70, 82);
|
289
|
+
--g-color-private-cool-grey-950-solid: rgb(57, 62, 71);
|
290
|
+
--g-color-private-cool-grey-1000-solid: rgb(54, 57, 66);
|
291
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
@import './themes/light';
|
2
|
+
@import './themes/light-hc';
|
3
|
+
@import './themes/dark';
|
4
|
+
@import './themes/dark-hc';
|
5
|
+
|
6
|
+
// Override @gravity-ui/uikit color palette with our own colors
|
7
|
+
|
8
|
+
.g-root {
|
9
|
+
--g-text-header-font-weight: 500;
|
10
|
+
--g-text-subheader-font-weight: 500;
|
11
|
+
--g-text-display-font-weight: 500;
|
12
|
+
--g-text-accent-font-weight: 500;
|
13
|
+
|
14
|
+
&_theme_light {
|
15
|
+
--g-color-base-background: rgb(255, 255, 255);
|
16
|
+
--g-color-base-brand: var(--g-color-private-blue-550-solid);
|
17
|
+
--g-color-base-brand-hover: var(--g-color-private-blue-600-solid);
|
18
|
+
--g-color-base-selection: var(--g-color-private-blue-100);
|
19
|
+
--g-color-base-selection-hover: var(--g-color-private-blue-200);
|
20
|
+
--g-color-line-brand: var(--g-color-private-blue-550-solid);
|
21
|
+
--g-color-text-brand: var(--g-color-private-blue-600-solid);
|
22
|
+
--g-color-text-brand-heavy: var(--g-color-private-blue-700-solid);
|
23
|
+
--g-color-text-brand-contrast: var(--g-color-text-light-primary);
|
24
|
+
--g-color-text-link: var(--g-color-private-blue-600-solid);
|
25
|
+
--g-color-text-link-hover: var(--g-color-private-blue-800-solid);
|
26
|
+
@include colors-private-light;
|
27
|
+
}
|
28
|
+
|
29
|
+
&_theme_light-hc {
|
30
|
+
--g-color-base-background: rgb(255, 255, 255);
|
31
|
+
--g-color-base-brand: var(--g-color-private-blue-600-solid);
|
32
|
+
--g-color-base-brand-hover: var(--g-color-private-blue-800-solid);
|
33
|
+
--g-color-base-selection: var(--g-color-private-blue-250);
|
34
|
+
--g-color-base-selection-hover: var(--g-color-private-blue-350);
|
35
|
+
--g-color-line-brand: var(--g-color-private-blue-600-solid);
|
36
|
+
--g-color-text-brand: var(--g-color-private-blue-650-solid);
|
37
|
+
--g-color-text-brand-heavy: var(--g-color-private-blue-900-solid);
|
38
|
+
--g-color-text-brand-contrast: var(--g-color-text-light-primary);
|
39
|
+
--g-color-text-link: var(--g-color-private-blue-650-solid);
|
40
|
+
--g-color-text-link-hover: var(--g-color-private-blue-850-solid);
|
41
|
+
@include colors-private-light-hc;
|
42
|
+
}
|
43
|
+
|
44
|
+
&_theme_dark {
|
45
|
+
--g-color-base-background: rgb(45, 44, 51);
|
46
|
+
--g-color-base-brand: var(--g-color-private-blue-450-solid);
|
47
|
+
--g-color-base-brand-hover: var(--g-color-private-blue-600-solid);
|
48
|
+
--g-color-base-selection: var(--g-color-private-blue-150);
|
49
|
+
--g-color-base-selection-hover: var(--g-color-private-blue-200);
|
50
|
+
--g-color-line-brand: var(--g-color-private-blue-550-solid);
|
51
|
+
--g-color-text-brand: var(--g-color-private-blue-550-solid);
|
52
|
+
--g-color-text-brand-heavy: var(--g-color-private-blue-600-solid);
|
53
|
+
--g-color-text-brand-contrast: var(--g-color-text-light-primary);
|
54
|
+
--g-color-text-link: var(--g-color-private-blue-550-solid);
|
55
|
+
--g-color-text-link-hover: var(--g-color-private-blue-700-solid);
|
56
|
+
@include colors-private-dark;
|
57
|
+
}
|
58
|
+
|
59
|
+
&_theme_dark-hc {
|
60
|
+
--g-color-base-background: rgb(34, 35, 38);
|
61
|
+
--g-color-base-brand: var(--g-color-private-blue-450-solid);
|
62
|
+
--g-color-base-brand-hover: var(--g-color-private-blue-650-solid);
|
63
|
+
--g-color-base-selection: var(--g-color-private-blue-250);
|
64
|
+
--g-color-base-selection-hover: var(--g-color-private-blue-400);
|
65
|
+
--g-color-line-brand: var(--g-color-private-blue-550-solid);
|
66
|
+
--g-color-text-brand: var(--g-color-private-blue-650-solid);
|
67
|
+
--g-color-text-brand-heavy: var(--g-color-private-blue-850-solid);
|
68
|
+
--g-color-text-brand-contrast: var(--g-color-text-light-primary);
|
69
|
+
--g-color-text-link: var(--g-color-private-blue-650-solid);
|
70
|
+
--g-color-text-link-hover: var(--g-color-private-blue-800-solid);
|
71
|
+
@include colors-private-dark-hc;
|
72
|
+
}
|
73
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ydb-embedded-ui",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.26.0",
|
4
4
|
"files": [
|
5
5
|
"dist"
|
6
6
|
],
|
@@ -10,9 +10,10 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@gravity-ui/axios-wrapper": "^1.3.0",
|
13
|
+
"@gravity-ui/components": "^2.9.1",
|
13
14
|
"@gravity-ui/date-utils": "^1.1.1",
|
14
15
|
"@gravity-ui/i18n": "^1.0.0",
|
15
|
-
"@gravity-ui/navigation": "^
|
16
|
+
"@gravity-ui/navigation": "^1.8.0",
|
16
17
|
"@gravity-ui/paranoid": "^1.4.0",
|
17
18
|
"@gravity-ui/react-data-table": "^1.0.3",
|
18
19
|
"@types/react": "^17.0.58",
|
@@ -40,7 +41,7 @@
|
|
40
41
|
"reselect": "4.1.6",
|
41
42
|
"sass": "1.32.8",
|
42
43
|
"web-vitals": "1.1.2",
|
43
|
-
"ydb-ui-components": "^3.
|
44
|
+
"ydb-ui-components": "^3.5.0"
|
44
45
|
},
|
45
46
|
"scripts": {
|
46
47
|
"start": "react-app-rewired start",
|
@@ -107,11 +108,11 @@
|
|
107
108
|
"@commitlint/cli": "^15.0.0",
|
108
109
|
"@commitlint/config-conventional": "^15.0.0",
|
109
110
|
"@gravity-ui/eslint-config": "^1.0.2",
|
110
|
-
"@gravity-ui/icons": "^2.
|
111
|
+
"@gravity-ui/icons": "^2.8.1",
|
111
112
|
"@gravity-ui/prettier-config": "^1.0.1",
|
112
113
|
"@gravity-ui/stylelint-config": "^1.0.1",
|
113
114
|
"@gravity-ui/tsconfig": "^1.0.0",
|
114
|
-
"@gravity-ui/uikit": "^
|
115
|
+
"@gravity-ui/uikit": "^5.24.0",
|
115
116
|
"@playwright/test": "^1.31.1",
|
116
117
|
"@testing-library/jest-dom": "^5.15.0",
|
117
118
|
"@testing-library/react": "^11.2.7",
|
@@ -139,6 +140,6 @@
|
|
139
140
|
"url": "^0.11.0"
|
140
141
|
},
|
141
142
|
"peerDependencies": {
|
142
|
-
"@gravity-ui/uikit": "^
|
143
|
+
"@gravity-ui/uikit": "^5.24.0"
|
143
144
|
}
|
144
145
|
}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import {useState, useEffect} from 'react';
|
2
|
-
import cn from 'bem-cn-lite';
|
3
|
-
|
4
|
-
import {Button, Icon, Popup} from '@gravity-ui/uikit';
|
5
|
-
import closeIcon from '../../../assets/icons/close.svg';
|
6
|
-
|
7
|
-
import {DATA_QA_TUNE_COLUMNS_POPUP} from '../../../utils/constants';
|
8
|
-
|
9
|
-
import './TipPopup.scss';
|
10
|
-
|
11
|
-
const b = cn('km-tip-popup');
|
12
|
-
|
13
|
-
const DATA = {
|
14
|
-
[DATA_QA_TUNE_COLUMNS_POPUP]: {
|
15
|
-
id: 1,
|
16
|
-
title: 'New feature: column selector',
|
17
|
-
description: 'Now you can easily tune columns visibility! 🚀',
|
18
|
-
},
|
19
|
-
};
|
20
|
-
|
21
|
-
function TipPopup({dbChangePopupVisibility, dataAttribute, initialIsPopupVisible}) {
|
22
|
-
const [isPopupVisible, setIsPopupVisible] = useState(initialIsPopupVisible ?? true);
|
23
|
-
const [anchor, setAnchor] = useState(null);
|
24
|
-
|
25
|
-
useEffect(() => {
|
26
|
-
const interval = setInterval(() => {
|
27
|
-
const anchor = document.querySelector(`[data-qa='${dataAttribute}']`);
|
28
|
-
if (anchor) {
|
29
|
-
setAnchor(anchor);
|
30
|
-
clearInterval(interval);
|
31
|
-
}
|
32
|
-
}, 200);
|
33
|
-
return () => {
|
34
|
-
clearInterval(interval);
|
35
|
-
};
|
36
|
-
}, []);
|
37
|
-
|
38
|
-
const onClosePopupClick = () => {
|
39
|
-
dbChangePopupVisibility(false);
|
40
|
-
setIsPopupVisible(false);
|
41
|
-
};
|
42
|
-
|
43
|
-
const tipData = DATA[dataAttribute];
|
44
|
-
|
45
|
-
return tipData && anchor ? (
|
46
|
-
<Popup
|
47
|
-
className={b('wrapper')}
|
48
|
-
anchorRef={{current: anchor}}
|
49
|
-
open={isPopupVisible}
|
50
|
-
placement={['bottom-end']}
|
51
|
-
hasArrow
|
52
|
-
>
|
53
|
-
<div className={b()}>
|
54
|
-
<div className={b('title')}>{tipData.title}</div>
|
55
|
-
<div className={b('content')}>{tipData.description}</div>
|
56
|
-
<div className={b('cross-icon-wrapper')}>
|
57
|
-
<Button view="flat-secondary" onClick={onClosePopupClick}>
|
58
|
-
<Icon data={closeIcon} size={10} className={b('cross-icon')} />
|
59
|
-
</Button>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
</Popup>
|
63
|
-
) : null;
|
64
|
-
}
|
65
|
-
|
66
|
-
export default TipPopup;
|
@@ -1,46 +0,0 @@
|
|
1
|
-
.km-tip-popup {
|
2
|
-
position: relative;
|
3
|
-
z-index: 1;
|
4
|
-
|
5
|
-
max-width: 250px;
|
6
|
-
padding: 16px 20px 20px 16px;
|
7
|
-
|
8
|
-
font-size: 13px;
|
9
|
-
line-height: 18px;
|
10
|
-
|
11
|
-
color: var(--yc-color-text-primary);
|
12
|
-
border-radius: 4px;
|
13
|
-
background-color: var(--yc-color-base-background);
|
14
|
-
|
15
|
-
&__wrapper {
|
16
|
-
border: 1px solid var(--yc-color-text-info) !important;
|
17
|
-
border-radius: 4px;
|
18
|
-
|
19
|
-
.popup2__tail {
|
20
|
-
border: 1px solid var(--yc-color-text-info) !important;
|
21
|
-
background-color: var(--yc-color-base-background);
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
&__cross-icon-wrapper {
|
26
|
-
position: absolute;
|
27
|
-
top: 16px;
|
28
|
-
right: 12px;
|
29
|
-
}
|
30
|
-
|
31
|
-
&__cross-icon {
|
32
|
-
color: var(--yc-color-text-secondary);
|
33
|
-
}
|
34
|
-
|
35
|
-
&__title {
|
36
|
-
margin-bottom: 8px;
|
37
|
-
padding-right: 36px;
|
38
|
-
|
39
|
-
font-size: 17px;
|
40
|
-
line-height: 24px;
|
41
|
-
}
|
42
|
-
|
43
|
-
&__content {
|
44
|
-
color: var(--yc-color-text-complementary);
|
45
|
-
}
|
46
|
-
}
|