@hazelcast/ui 1.3.3-next.17 → 1.3.3-next.19
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/Alert.module.scss +1 -0
- package/lib/AppSidebar/AppSidebar.module.scss +1 -1
- package/lib/Button.module.scss +8 -7
- package/lib/Card.module.scss +1 -1
- package/lib/Link.module.scss +1 -0
- package/lib/Modal.module.scss +2 -1
- package/lib/Overlay.module.scss +2 -1
- package/lib/Table/Cell.module.scss +2 -1
- package/package.json +15 -15
- package/styles/constants/_colors.scss +6 -4
- package/styles/constants/_typography.scss +0 -7
package/lib/Alert.module.scss
CHANGED
package/lib/Button.module.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
1
2
|
@use '../styles/constants' as c;
|
|
2
3
|
@use '../styles/helpers' as h;
|
|
3
4
|
|
|
@@ -174,12 +175,12 @@
|
|
|
174
175
|
&.hover,
|
|
175
176
|
&:focus-visible,
|
|
176
177
|
&.focus {
|
|
177
|
-
@include buttonColor(
|
|
178
|
+
@include buttonColor(color.adjust(c.$colorBrand, $lightness: 20%));
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
&:active,
|
|
181
182
|
&.active {
|
|
182
|
-
@include buttonColor(
|
|
183
|
+
@include buttonColor(color.adjust(c.$colorBrand, $lightness: -10%));
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
&.variantContained {
|
|
@@ -198,12 +199,12 @@
|
|
|
198
199
|
&.hover,
|
|
199
200
|
&:focus-visible,
|
|
200
201
|
&.focus {
|
|
201
|
-
@include buttonColor(
|
|
202
|
+
@include buttonColor(color.adjust(c.$authPrimary, $lightness: 10%));
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
&:active,
|
|
205
206
|
&.active {
|
|
206
|
-
@include buttonColor(
|
|
207
|
+
@include buttonColor(color.adjust(c.$authPrimary, $lightness: -10%));
|
|
207
208
|
}
|
|
208
209
|
|
|
209
210
|
&.variantContained {
|
|
@@ -224,12 +225,12 @@
|
|
|
224
225
|
&.hover,
|
|
225
226
|
&:focus-visible,
|
|
226
227
|
&.focus {
|
|
227
|
-
@include buttonColor(
|
|
228
|
+
@include buttonColor(color.adjust(c.$authSecondary, $lightness: 10%));
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
&:active,
|
|
231
232
|
&.active {
|
|
232
|
-
@include buttonColor(
|
|
233
|
+
@include buttonColor(color.adjust(c.$authSecondary, $lightness: -10%));
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
&.variantContained {
|
|
@@ -255,7 +256,7 @@
|
|
|
255
256
|
&.hover,
|
|
256
257
|
&:focus-visible,
|
|
257
258
|
&.focus {
|
|
258
|
-
@include buttonColor(
|
|
259
|
+
@include buttonColor(color.adjust(c.$brandColorText, $lightness: 10%));
|
|
259
260
|
}
|
|
260
261
|
|
|
261
262
|
&:active,
|
package/lib/Card.module.scss
CHANGED
package/lib/Link.module.scss
CHANGED
package/lib/Modal.module.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
1
2
|
@use '../styles/constants' as c;
|
|
2
3
|
@use '../styles/helpers' as h;
|
|
3
4
|
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
.overlay {
|
|
15
16
|
width: 100%;
|
|
16
17
|
height: 100%;
|
|
17
|
-
background-color:
|
|
18
|
+
background-color: color.adjust(c.$colorText, $alpha: -0.2);
|
|
18
19
|
pointer-events: all;
|
|
19
20
|
}
|
|
20
21
|
|
package/lib/Overlay.module.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
1
2
|
@use '../styles/constants' as c;
|
|
2
3
|
@use '../styles/helpers' as h;
|
|
3
4
|
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.modal {
|
|
17
|
-
background:
|
|
18
|
+
background: color.adjust(c.$colorOverlayBackground, $alpha: -0.1);
|
|
18
19
|
width: 100vw;
|
|
19
20
|
height: 100vh;
|
|
20
21
|
z-index: c.$zIndex1000;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
1
2
|
@use '../../styles/constants' as c;
|
|
2
3
|
@use '../../styles/helpers' as h;
|
|
3
4
|
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
&.selected {
|
|
30
|
-
background:
|
|
31
|
+
background: color.adjust(c.$colorPrimary, $lightness: 30%) !important;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
&:not(:last-of-type) {
|
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.19+0df5ae4",
|
|
4
4
|
"description": "Hazelcast design system components",
|
|
5
5
|
"author": "",
|
|
6
6
|
"homepage": "https://github.com/hazelcast/frontend-shared#readme",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"use-persisted-state": "^0.3.3"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@hazelcast/test-helpers": "^1.3.
|
|
78
|
+
"@hazelcast/test-helpers": "^1.3.3-next.19+0df5ae4",
|
|
79
79
|
"@storybook/addon-docs": "^6.5.16",
|
|
80
80
|
"@storybook/addons": "^6.5.16",
|
|
81
81
|
"@storybook/builder-webpack5": "^6.5.16",
|
|
@@ -96,23 +96,23 @@
|
|
|
96
96
|
"@types/use-persisted-state": "^0.3.4",
|
|
97
97
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
98
98
|
"babel-loader": "^9.1.2",
|
|
99
|
-
"doiuse": "^
|
|
99
|
+
"doiuse": "^6.0.3",
|
|
100
100
|
"enzyme": "^3.11.0",
|
|
101
101
|
"jest-axe": "^8.0.0",
|
|
102
|
-
"loki": "^0.
|
|
103
|
-
"postcss": "^8.4.
|
|
104
|
-
"postcss-cli": "^
|
|
105
|
-
"postcss-reporter": "^7.0
|
|
106
|
-
"postcss-scss": "^4.0.
|
|
102
|
+
"loki": "^0.35.1",
|
|
103
|
+
"postcss": "^8.4.47",
|
|
104
|
+
"postcss-cli": "^11.0.0",
|
|
105
|
+
"postcss-reporter": "^7.1.0",
|
|
106
|
+
"postcss-scss": "^4.0.9",
|
|
107
107
|
"react": "^17.0.2",
|
|
108
108
|
"react-dom": "^17.0.2",
|
|
109
109
|
"storybook-addon-designs": "^6.3.1",
|
|
110
|
-
"stylelint": "^
|
|
111
|
-
"stylelint-config-standard": "^
|
|
112
|
-
"stylelint-config-standard-scss": "^
|
|
113
|
-
"stylelint-prettier": "^
|
|
114
|
-
"stylelint-scss": "^
|
|
115
|
-
"webpack": "^5.
|
|
110
|
+
"stylelint": "^16.9.0",
|
|
111
|
+
"stylelint-config-standard": "^36.0.1",
|
|
112
|
+
"stylelint-config-standard-scss": "^13.1.0",
|
|
113
|
+
"stylelint-prettier": "^5.0.2",
|
|
114
|
+
"stylelint-scss": "^6.7.0",
|
|
115
|
+
"webpack": "^5.95.0",
|
|
116
116
|
"yup": "^0.32.11"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"react": "^17 || ^18",
|
|
122
122
|
"react-dom": "^17 || ^18"
|
|
123
123
|
},
|
|
124
|
-
"gitHead": "
|
|
124
|
+
"gitHead": "0df5ae447e620cde40d9c1c8d39b2d19ab34b127"
|
|
125
125
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
|
|
1
3
|
// https://zeroheight.com/11d0e6dac/p/594529--colors
|
|
2
4
|
$colorPrimaryLight: #2d7de4 !default;
|
|
3
5
|
$colorPrimary: #2160c0 !default;
|
|
@@ -8,16 +10,16 @@ $colorNeutralLight: #b7c1cb !default;
|
|
|
8
10
|
$colorNeutral: #dbdbdb !default;
|
|
9
11
|
$colorSuccess: #85da66 !default;
|
|
10
12
|
$colorSuccessLight: #d5f0d1 !default;
|
|
11
|
-
$colorSuccessDark:
|
|
13
|
+
$colorSuccessDark: color.adjust($colorSuccess, $lightness: -10%) !default;
|
|
12
14
|
$colorInfo: #76e7e7 !default;
|
|
13
15
|
$colorInfoLight: #d0f4f8 !default;
|
|
14
|
-
$colorInfoDark:
|
|
16
|
+
$colorInfoDark: color.adjust($colorInfo, $lightness: -10%) !default;
|
|
15
17
|
$colorWarning: #ffec44 !default;
|
|
16
18
|
$colorWarningLight: #f9f6c7 !default;
|
|
17
|
-
$colorWarningDark:
|
|
19
|
+
$colorWarningDark: color.adjust($colorWarning, $lightness: -15%) !default;
|
|
18
20
|
$colorError: #dc084b !default;
|
|
19
21
|
$colorErrorLight: #efb1c9 !default;
|
|
20
|
-
$colorErrorDark:
|
|
22
|
+
$colorErrorDark: color.adjust($colorError, $lightness: -10%) !default;
|
|
21
23
|
$colorText: #061827 !default;
|
|
22
24
|
$colorTextSecondary: #707482 !default;
|
|
23
25
|
$colorTextSubdued: #69707d !default;
|
|
@@ -44,13 +44,6 @@ $lineHeightBodyTiny: normal !default;
|
|
|
44
44
|
@return '';
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
@mixin typographyH1Hero($override: false) {
|
|
48
|
-
font-weight: $fontWeightHeadingRegular #{override($override)};
|
|
49
|
-
font-size: $fontSizeH4 #{override($override)};
|
|
50
|
-
letter-spacing: $letterSpacingH4 #{override($override)};
|
|
51
|
-
line-height: $lineHeightH4 #{override($override)};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
47
|
@mixin typographyH1($override: false) {
|
|
55
48
|
font-weight: $fontWeightHeadingRegular #{override($override)};
|
|
56
49
|
font-size: $fontSizeH1 #{override($override)};
|