@hazelcast/ui 1.3.3-next.26 → 1.3.3-next.28
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/lib/AppHeader/AppHeader.module.scss +2 -2
- package/lib/AppHeader/AppHeaderMenu/AppHeaderMenu.module.scss +1 -1
- package/lib/AppHeader/SelectCluster/SelectCluster.module.scss +3 -3
- package/lib/AppSidebar/AppSidebar.module.scss +1 -1
- package/lib/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.module.scss +2 -2
- package/lib/AppSidebar/AppSidebarItem/AppSidebarItem.module.scss +3 -3
- package/lib/Button.module.scss +9 -9
- package/lib/Table/Cell.module.scss +2 -2
- package/lib/Table/Header.module.scss +2 -2
- package/lib/Table/Row.module.scss +4 -0
- package/lib/Tooltip.module.scss +3 -3
- package/package.json +4 -4
- package/styles/constants/_colors.scss +36 -18
- package/styles/helpers/_gradients.scss +39 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../../styles/constants' as c;
|
|
2
2
|
|
|
3
3
|
.root {
|
|
4
|
-
background: c.$
|
|
4
|
+
background: c.$colorBrandSecondary;
|
|
5
5
|
color: c.$colorNeutralLighter;
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.name {
|
|
20
|
-
color: c.$
|
|
20
|
+
color: c.$colorBrandPrimary;
|
|
21
21
|
font-weight: 600;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -74,7 +74,7 @@ $selectFieldIndicators: ':global .hz-select-field__indicators';
|
|
|
74
74
|
.menuPortal {
|
|
75
75
|
#{$selectMenu} {
|
|
76
76
|
border: none;
|
|
77
|
-
background: c.$
|
|
77
|
+
background: c.$colorBrandSecondary;
|
|
78
78
|
border-radius: 0 0 c.$borderRadius c.$borderRadius;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -89,12 +89,12 @@ $selectFieldIndicators: ':global .hz-select-field__indicators';
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&--is-focused {
|
|
92
|
-
background: c.$
|
|
92
|
+
background: c.$colorBrandAccent;
|
|
93
93
|
box-shadow: none;
|
|
94
94
|
|
|
95
95
|
#{$selectValueContainer},
|
|
96
96
|
#{$selectTrailingNote} {
|
|
97
|
-
color: c.$
|
|
97
|
+
color: c.$colorBrandText;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
&:hover,
|
|
67
67
|
&.active {
|
|
68
68
|
text-decoration: none;
|
|
69
|
-
color: c.$
|
|
70
|
-
background-color: c.$
|
|
69
|
+
color: c.$colorBrandText;
|
|
70
|
+
background-color: c.$colorBrandAccent;
|
|
71
71
|
|
|
72
72
|
.icon {
|
|
73
|
-
color: c.$
|
|
73
|
+
color: c.$colorBrandText;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
package/lib/Button.module.scss
CHANGED
|
@@ -193,18 +193,18 @@
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
&AuthPrimary {
|
|
196
|
-
@include buttonColor(c.$
|
|
196
|
+
@include buttonColor(c.$colorBrandPrimary);
|
|
197
197
|
|
|
198
198
|
&:hover,
|
|
199
199
|
&.hover,
|
|
200
200
|
&:focus-visible,
|
|
201
201
|
&.focus {
|
|
202
|
-
@include buttonColor(color.adjust(c.$
|
|
202
|
+
@include buttonColor(color.adjust(c.$colorBrandPrimary, $lightness: 10%));
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
&:active,
|
|
206
206
|
&.active {
|
|
207
|
-
@include buttonColor(color.adjust(c.$
|
|
207
|
+
@include buttonColor(color.adjust(c.$colorBrandPrimary, $lightness: -10%));
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
&.variantContained {
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
&AuthSecondary {
|
|
220
|
-
@include buttonColor(c.$
|
|
220
|
+
@include buttonColor(c.$colorAuthSecondary);
|
|
221
221
|
|
|
222
222
|
border-color: c.$colorNeutralWhite;
|
|
223
223
|
|
|
@@ -225,12 +225,12 @@
|
|
|
225
225
|
&.hover,
|
|
226
226
|
&:focus-visible,
|
|
227
227
|
&.focus {
|
|
228
|
-
@include buttonColor(color.adjust(c.$
|
|
228
|
+
@include buttonColor(color.adjust(c.$colorAuthSecondary, $lightness: 10%));
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
&:active,
|
|
232
232
|
&.active {
|
|
233
|
-
@include buttonColor(color.adjust(c.$
|
|
233
|
+
@include buttonColor(color.adjust(c.$colorAuthSecondary, $lightness: -10%));
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
&.variantContained {
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
&.variantOutlined {
|
|
241
|
-
border-color: c.$
|
|
241
|
+
border-color: c.$colorAuthSecondary;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
&:disabled {
|
|
@@ -256,12 +256,12 @@
|
|
|
256
256
|
&.hover,
|
|
257
257
|
&:focus-visible,
|
|
258
258
|
&.focus {
|
|
259
|
-
@include buttonColor(color.adjust(c.$
|
|
259
|
+
@include buttonColor(color.adjust(c.$colorBrandText, $lightness: 10%));
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
&:active,
|
|
263
263
|
&.active {
|
|
264
|
-
@include buttonColor(c.$
|
|
264
|
+
@include buttonColor(c.$colorBrandText);
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
&.variantContained {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
align-items: center;
|
|
10
|
-
height: c.$grid *
|
|
10
|
+
height: c.$grid * 6;
|
|
11
11
|
padding-right: c.$grid * 5;
|
|
12
12
|
padding-left: c.$grid * 5;
|
|
13
13
|
color: c.$colorText;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.warningIcon {
|
|
44
|
-
color: c.$
|
|
44
|
+
color: c.$colorWarningDark;
|
|
45
45
|
|
|
46
46
|
&.left {
|
|
47
47
|
margin-left: c.$grid * 2;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
flex-grow: 1;
|
|
36
36
|
flex-basis: auto;
|
|
37
37
|
flex-shrink: 0;
|
|
38
|
-
background:
|
|
38
|
+
background: c.$colorNeutralGray;
|
|
39
39
|
border-right: 1px solid c.$colorNeutralWhite;
|
|
40
40
|
|
|
41
41
|
.th {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&:hover {
|
|
86
|
-
background-color:
|
|
86
|
+
background-color: c.$colorNeutralGrayDarker;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
package/lib/Tooltip.module.scss
CHANGED
|
@@ -151,10 +151,10 @@ $tooltipArrowSize2-3: math.div(c.$tooltipArrowSize, 3) * 2;
|
|
|
151
151
|
|
|
152
152
|
&.dark {
|
|
153
153
|
border: none;
|
|
154
|
-
color: c.$
|
|
155
|
-
background-color: c.$
|
|
154
|
+
color: c.$colorBrandText;
|
|
155
|
+
background-color: c.$colorBrandAccent;
|
|
156
156
|
|
|
157
|
-
@include arrowPlacements(c.$
|
|
157
|
+
@include arrowPlacements(c.$colorBrandAccent, transparent);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
> .arrow {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hazelcast/ui",
|
|
3
|
-
"version": "1.3.3-next.
|
|
3
|
+
"version": "1.3.3-next.28+f4542ec",
|
|
4
4
|
"description": "Hazelcast design system components",
|
|
5
5
|
"author": "",
|
|
6
6
|
"homepage": "https://github.com/hazelcast/frontend-shared#readme",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"url": "https://github.com/hazelcast/frontend-shared/issues"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@hazelcast/helpers": "^1.3.
|
|
50
|
-
"@hazelcast/services": "^1.3.
|
|
49
|
+
"@hazelcast/helpers": "^1.3.2",
|
|
50
|
+
"@hazelcast/services": "^1.3.2",
|
|
51
51
|
"@headlessui/react": "^1.4.2",
|
|
52
52
|
"@icons-pack/react-simple-icons": "^9.3.0",
|
|
53
53
|
"@popperjs/core": "^2.11.7",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"react": "^17 || ^18",
|
|
123
123
|
"react-dom": "^17 || ^18"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "f4542ec49cad3490a833a76718e8fc90bb55235a"
|
|
126
126
|
}
|
|
@@ -1,36 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// https://zeroheight.com/11d0e6dac/p/594529--colors
|
|
1
|
+
// https://www.figma.com/design/uGTDLFJEVy4dCNIhlmTPRw/%F0%9F%90%9D-HIVE-3.0?node-id=1061-4605&p=f&t=7sJDCVUY4O5jNXma-0
|
|
4
2
|
$colorPrimaryLight: #2d7de4 !default;
|
|
5
3
|
$colorPrimary: #2160c0 !default;
|
|
6
4
|
$colorPrimaryDark: #003b87 !default;
|
|
5
|
+
|
|
7
6
|
$colorNeutralWhite: #fff !default;
|
|
8
|
-
|
|
9
|
-
$
|
|
7
|
+
|
|
8
|
+
$colorNeutralGray: #e9f0f9 !default;
|
|
9
|
+
$colorNeutralGrayDarker: #ccdff5 !default;
|
|
10
|
+
|
|
10
11
|
$colorNeutral: #dbdbdb !default;
|
|
12
|
+
$colorNeutralLight: #b7c1cb !default;
|
|
13
|
+
$colorNeutralLighter: #fafafa !default;
|
|
14
|
+
|
|
11
15
|
$colorSuccess: #85da66 !default;
|
|
12
16
|
$colorSuccessLight: #d5f0d1 !default;
|
|
13
|
-
$colorSuccessDark:
|
|
17
|
+
$colorSuccessDark: #64d03c !default;
|
|
18
|
+
$colorSuccessDarkest: #3b7044 !default;
|
|
19
|
+
|
|
14
20
|
$colorInfo: #76e7e7 !default;
|
|
15
21
|
$colorInfoLight: #d0f4f8 !default;
|
|
16
|
-
$colorInfoDark:
|
|
22
|
+
$colorInfoDark: #4adfdf !default;
|
|
23
|
+
$colorInfoDarkest: #006585 !default;
|
|
24
|
+
|
|
17
25
|
$colorWarning: #ffec44 !default;
|
|
18
26
|
$colorWarningLight: #f9f6c7 !default;
|
|
19
|
-
$colorWarningDark:
|
|
27
|
+
$colorWarningDark: #f6dd00 !default;
|
|
28
|
+
$colorWarningDarkest: #8b5d00 !default;
|
|
29
|
+
|
|
20
30
|
$colorError: #dc084b !default;
|
|
21
31
|
$colorErrorLight: #efb1c9 !default;
|
|
22
|
-
$colorErrorDark:
|
|
32
|
+
$colorErrorDark: #8f001d !default;
|
|
33
|
+
|
|
23
34
|
$colorText: #061827 !default;
|
|
24
35
|
$colorTextSecondary: #707482 !default;
|
|
25
|
-
$colorTextSubdued:
|
|
26
|
-
|
|
36
|
+
$colorTextSubdued: $colorTextSecondary !default;
|
|
37
|
+
|
|
27
38
|
$colorOverlayBackground: #f0f6ff !default;
|
|
28
39
|
$colorAccessibilityOutline: #74f !default;
|
|
40
|
+
|
|
29
41
|
$colorBrand: #00bac6 !default;
|
|
30
|
-
$
|
|
31
|
-
$
|
|
32
|
-
|
|
33
|
-
$
|
|
34
|
-
$
|
|
35
|
-
|
|
36
|
-
$
|
|
42
|
+
$colorBrandText: #10a4b3 !default;
|
|
43
|
+
$colorShadow: $colorNeutral !default;
|
|
44
|
+
|
|
45
|
+
$colorMenuDark: $colorText !default;
|
|
46
|
+
$colorAuthSecondary: #0b2b39 !default;
|
|
47
|
+
|
|
48
|
+
$colorBrandPrimary: #c6ff3a !default;
|
|
49
|
+
$colorBrandSecondary: #061727 !default;
|
|
50
|
+
$colorBrandAccent: #122d45 !default;
|
|
51
|
+
$colorBrandOcean: #0080a9 !default;
|
|
52
|
+
$colorBrandRaspberry: #c91268 !default;
|
|
53
|
+
$colorBrandCarrot: #f5911e !default;
|
|
54
|
+
$colorBrandBlueberry: #0019fe !default;
|
|
@@ -1,11 +1,44 @@
|
|
|
1
1
|
@use '../constants' as c;
|
|
2
2
|
|
|
3
|
-
@mixin
|
|
4
|
-
background
|
|
5
|
-
background:
|
|
3
|
+
@mixin textGradient() {
|
|
4
|
+
/* doiuse-disable background-clip-text */
|
|
5
|
+
background-clip: text;
|
|
6
|
+
-webkit-text-fill-color: transparent;
|
|
7
|
+
/* doiuse-enable background-clip-text */
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
@mixin
|
|
9
|
-
background: c.$
|
|
10
|
-
|
|
10
|
+
@mixin gradientLime($angle: 270deg) {
|
|
11
|
+
background: linear-gradient($angle, c.$colorBrandPrimary, #00b8b8);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin textGradientLime($angle: 0deg) {
|
|
15
|
+
@include gradientLime($angle);
|
|
16
|
+
@include textGradient;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin gradientOcean($angle: 171deg) {
|
|
20
|
+
background: linear-gradient($angle, c.$colorText 0%, #116884 89%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin textGradientOcean($angle: 0deg) {
|
|
24
|
+
@include gradientOcean($angle);
|
|
25
|
+
@include textGradient;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@mixin gradientSea($angle: 270deg) {
|
|
29
|
+
background: linear-gradient($angle, #0c6f8e, #08d1d1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin textGradientSea($angle: 0deg) {
|
|
33
|
+
@include gradientSea($angle);
|
|
34
|
+
@include textGradient;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin gradientCitrus($angle: 90deg) {
|
|
38
|
+
background: linear-gradient($angle, c.$colorBrandRaspberry, c.$colorBrandCarrot);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin textGradientCitrus($angle: 0deg) {
|
|
42
|
+
@include gradientCitrus($angle);
|
|
43
|
+
@include textGradient;
|
|
11
44
|
}
|