@hazelcast/ui 1.3.3-next.26 → 1.3.3-next.27

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.
@@ -1,7 +1,7 @@
1
1
  @use '../../styles/constants' as c;
2
2
 
3
3
  .root {
4
- background: c.$brandSecondary;
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.$brandPrimary;
20
+ color: c.$colorBrandPrimary;
21
21
  font-weight: 600;
22
22
  }
23
23
 
@@ -12,7 +12,7 @@
12
12
  .content {
13
13
  padding: c.$grid * 2;
14
14
  color: c.$colorNeutralLighter;
15
- background: c.$brandSecondary;
15
+ background: c.$colorBrandSecondary;
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: start;
@@ -74,7 +74,7 @@ $selectFieldIndicators: ':global .hz-select-field__indicators';
74
74
  .menuPortal {
75
75
  #{$selectMenu} {
76
76
  border: none;
77
- background: c.$brandSecondary;
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.$brandAccent;
92
+ background: c.$colorBrandAccent;
93
93
  box-shadow: none;
94
94
 
95
95
  #{$selectValueContainer},
96
96
  #{$selectTrailingNote} {
97
- color: c.$brandColorText;
97
+ color: c.$colorBrandText;
98
98
  }
99
99
  }
100
100
  }
@@ -13,7 +13,7 @@ $offset: c.$grid * 4;
13
13
  flex-direction: column;
14
14
  box-sizing: border-box;
15
15
  color: c.$colorNeutralLighter;
16
- background: c.$brandSecondary;
16
+ background: c.$colorBrandSecondary;
17
17
  transition: 200ms width;
18
18
 
19
19
  * {
@@ -5,12 +5,12 @@
5
5
  top: 50%;
6
6
  z-index: 1;
7
7
  left: c.$grid * 3;
8
- color: c.$brandColorText;
8
+ color: c.$colorBrandText;
9
9
  transform: translateY(-50%);
10
10
 
11
11
  &.isFilled {
12
12
  svg {
13
- fill: c.$brandColorText;
13
+ fill: c.$colorBrandText;
14
14
  }
15
15
  }
16
16
  }
@@ -66,11 +66,11 @@
66
66
  &:hover,
67
67
  &.active {
68
68
  text-decoration: none;
69
- color: c.$brandColorText;
70
- background-color: c.$brandAccent;
69
+ color: c.$colorBrandText;
70
+ background-color: c.$colorBrandAccent;
71
71
 
72
72
  .icon {
73
- color: c.$brandColorText;
73
+ color: c.$colorBrandText;
74
74
  }
75
75
  }
76
76
 
@@ -193,18 +193,18 @@
193
193
  }
194
194
 
195
195
  &AuthPrimary {
196
- @include buttonColor(c.$authPrimary);
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.$authPrimary, $lightness: 10%));
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.$authPrimary, $lightness: -10%));
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.$authSecondary);
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.$authSecondary, $lightness: 10%));
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.$authSecondary, $lightness: -10%));
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.$authSecondary;
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.$brandColorText, $lightness: 10%));
259
+ @include buttonColor(color.adjust(c.$colorBrandText, $lightness: 10%));
260
260
  }
261
261
 
262
262
  &:active,
263
263
  &.active {
264
- @include buttonColor(c.$brandColorText);
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 * 12;
10
+ height: c.$grid * 8;
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.$colorWarningLight;
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: #e9f0f9;
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: #ccdff5;
86
+ background-color: c.$colorNeutralGrayDarker;
87
87
  }
88
88
  }
89
89
 
@@ -151,10 +151,10 @@ $tooltipArrowSize2-3: math.div(c.$tooltipArrowSize, 3) * 2;
151
151
 
152
152
  &.dark {
153
153
  border: none;
154
- color: c.$brandColorText;
155
- background-color: c.$brandAccent;
154
+ color: c.$colorBrandText;
155
+ background-color: c.$colorBrandAccent;
156
156
 
157
- @include arrowPlacements(c.$brandAccent, transparent);
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.26+46b1e75",
3
+ "version": "1.3.3-next.27+15de8d5",
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.3-next.26+46b1e75",
50
- "@hazelcast/services": "^1.3.3-next.26+46b1e75",
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": "46b1e752c3a8fc405570332cff8992b1107c9da1"
125
+ "gitHead": "15de8d5dc47b1db3dae0b4d45072612e608cd252"
126
126
  }
@@ -1,36 +1,54 @@
1
- @use 'sass:color';
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
- $colorNeutralLighter: #fafafa !default;
9
- $colorNeutralLight: #b7c1cb !default;
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: color.adjust($colorSuccess, $lightness: -10%) !default;
17
+ $colorSuccessDark: #64d03c !default;
18
+ $colorSuccessDarkest: #3b7044 !default;
19
+
14
20
  $colorInfo: #76e7e7 !default;
15
21
  $colorInfoLight: #d0f4f8 !default;
16
- $colorInfoDark: color.adjust($colorInfo, $lightness: -10%) !default;
22
+ $colorInfoDark: #4adfdf !default;
23
+ $colorInfoDarkest: #006585 !default;
24
+
17
25
  $colorWarning: #ffec44 !default;
18
26
  $colorWarningLight: #f9f6c7 !default;
19
- $colorWarningDark: color.adjust($colorWarning, $lightness: -15%) !default;
27
+ $colorWarningDark: #f6dd00 !default;
28
+ $colorWarningDarkest: #8b5d00 !default;
29
+
20
30
  $colorError: #dc084b !default;
21
31
  $colorErrorLight: #efb1c9 !default;
22
- $colorErrorDark: color.adjust($colorError, $lightness: -10%) !default;
32
+ $colorErrorDark: #8f001d !default;
33
+
23
34
  $colorText: #061827 !default;
24
35
  $colorTextSecondary: #707482 !default;
25
- $colorTextSubdued: #69707d !default;
26
- $brandColorText: #10a4b3 !default;
36
+ $colorTextSubdued: $colorTextSecondary !default;
37
+
27
38
  $colorOverlayBackground: #f0f6ff !default;
28
39
  $colorAccessibilityOutline: #74f !default;
40
+
29
41
  $colorBrand: #00bac6 !default;
30
- $colorShadow: rgb(53 61 73 / 20%) !default;
31
- $colorMenuDark: #333 !default;
32
- $brandPrimary: #c6ff3a !default;
33
- $authPrimary: $brandPrimary !default;
34
- $authSecondary: #0b2b39 !default;
35
- $brandSecondary: #061727 !default;
36
- $brandAccent: #122d45 !default;
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 gradientLime {
4
- background: c.$authPrimary;
5
- background: linear-gradient(270deg, c.$authPrimary 0%, #00b8b8 100%);
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 gradientOcean {
9
- background: c.$colorText;
10
- background: linear-gradient(270deg, #0c6f8e 0%, #1b2939 100%);
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
  }