@zohodesk/components 1.6.29 → 1.6.30
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/CHANGELOG.md +4 -0
- package/es/CheckBox/CheckBox.module.css +1 -1
- package/es/Tooltip/Tooltip.module.css +1 -1
- package/es/common/basic.module.css +5 -5
- package/es/common/common.module.css +2 -6
- package/es/common/transition.module.css +2 -0
- package/lib/CheckBox/CheckBox.module.css +1 -1
- package/lib/Tooltip/Tooltip.module.css +1 -1
- package/lib/common/basic.module.css +5 -5
- package/lib/common/common.module.css +2 -6
- package/lib/common/transition.module.css +2 -0
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.6.30
|
|
4
|
+
|
|
5
|
+
- Updated the semibold font-weight CSS variable from 600 to 500 to avoid font-family conflicts across applications in Lato @font-face.
|
|
6
|
+
|
|
3
7
|
## 1.6.29
|
|
4
8
|
|
|
5
9
|
- Static CSS utility classes have been adopted across all CSS files using global composes.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: Regular;
|
|
4
4
|
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
5
|
-
font-weight: 300;
|
|
5
|
+
font-weight: 100 300;
|
|
6
6
|
font-style: normal;
|
|
7
7
|
font-display: swap;
|
|
8
8
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@font-face {
|
|
19
19
|
font-family: Regular;
|
|
20
20
|
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
21
|
-
font-weight:
|
|
21
|
+
font-weight: 500;
|
|
22
22
|
font-style: normal;
|
|
23
23
|
font-display: swap;
|
|
24
24
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
@font-face {
|
|
27
27
|
font-family: Regular;
|
|
28
28
|
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
29
|
-
font-weight:
|
|
29
|
+
font-weight: 600 900;
|
|
30
30
|
font-style: normal;
|
|
31
31
|
font-display: swap;
|
|
32
32
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
@font-face {
|
|
52
52
|
font-family: Lato;
|
|
53
53
|
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
54
|
-
font-weight: 500
|
|
54
|
+
font-weight: 500;
|
|
55
55
|
font-style: normal;
|
|
56
56
|
font-display: swap;
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
@font-face {
|
|
60
60
|
font-family: Lato;
|
|
61
61
|
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
62
|
-
font-weight:
|
|
62
|
+
font-weight: 600 900;
|
|
63
63
|
font-style: normal;
|
|
64
64
|
font-display: swap;
|
|
65
65
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*Font-smooth*/
|
|
2
2
|
.ftsmooth {
|
|
3
|
-
|
|
4
|
-
-webkit-font-smoothing: antialiased;
|
|
3
|
+
composes: d-antialiased from global;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
/* --Overflow Props-- */
|
|
@@ -427,6 +426,7 @@
|
|
|
427
426
|
word-wrap: normal;
|
|
428
427
|
}
|
|
429
428
|
|
|
429
|
+
/* stylelint-disable-next-line @zohodesk/use-common-class -- display:-webkit-box is required for -webkit-line-clamp, not d-flex */
|
|
430
430
|
.clamp {
|
|
431
431
|
composes: d-overflow-hidden from global;
|
|
432
432
|
-webkit-line-clamp: 2;
|
|
@@ -440,8 +440,6 @@
|
|
|
440
440
|
|
|
441
441
|
.offSelection {
|
|
442
442
|
composes: d-select-none from global;
|
|
443
|
-
-moz-user-select: none;
|
|
444
|
-
-ms-user-select: none;
|
|
445
443
|
}
|
|
446
444
|
|
|
447
445
|
.disableFocus a,
|
|
@@ -458,12 +456,10 @@
|
|
|
458
456
|
|
|
459
457
|
.fitContWidth {
|
|
460
458
|
composes: d-w-fit from global;
|
|
461
|
-
width: undefined ;
|
|
462
459
|
}
|
|
463
460
|
|
|
464
461
|
.fitContHeight {
|
|
465
462
|
composes: d-h-fit from global;
|
|
466
|
-
height: undefined ;
|
|
467
463
|
}
|
|
468
464
|
|
|
469
465
|
.whiteSpace_normal {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: Regular;
|
|
4
4
|
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
5
|
-
font-weight: 300;
|
|
5
|
+
font-weight: 100 300;
|
|
6
6
|
font-style: normal;
|
|
7
7
|
font-display: swap;
|
|
8
8
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@font-face {
|
|
19
19
|
font-family: Regular;
|
|
20
20
|
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
21
|
-
font-weight:
|
|
21
|
+
font-weight: 500;
|
|
22
22
|
font-style: normal;
|
|
23
23
|
font-display: swap;
|
|
24
24
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
@font-face {
|
|
27
27
|
font-family: Regular;
|
|
28
28
|
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
29
|
-
font-weight:
|
|
29
|
+
font-weight: 600 900;
|
|
30
30
|
font-style: normal;
|
|
31
31
|
font-display: swap;
|
|
32
32
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
@font-face {
|
|
52
52
|
font-family: Lato;
|
|
53
53
|
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
54
|
-
font-weight: 500
|
|
54
|
+
font-weight: 500;
|
|
55
55
|
font-style: normal;
|
|
56
56
|
font-display: swap;
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
@font-face {
|
|
60
60
|
font-family: Lato;
|
|
61
61
|
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
62
|
-
font-weight:
|
|
62
|
+
font-weight: 600 900;
|
|
63
63
|
font-style: normal;
|
|
64
64
|
font-display: swap;
|
|
65
65
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*Font-smooth*/
|
|
2
2
|
.ftsmooth {
|
|
3
|
-
|
|
4
|
-
-webkit-font-smoothing: antialiased;
|
|
3
|
+
composes: d-antialiased from global;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
/* --Overflow Props-- */
|
|
@@ -427,6 +426,7 @@
|
|
|
427
426
|
word-wrap: normal;
|
|
428
427
|
}
|
|
429
428
|
|
|
429
|
+
/* stylelint-disable-next-line @zohodesk/use-common-class -- display:-webkit-box is required for -webkit-line-clamp, not d-flex */
|
|
430
430
|
.clamp {
|
|
431
431
|
composes: d-overflow-hidden from global;
|
|
432
432
|
-webkit-line-clamp: 2;
|
|
@@ -440,8 +440,6 @@
|
|
|
440
440
|
|
|
441
441
|
.offSelection {
|
|
442
442
|
composes: d-select-none from global;
|
|
443
|
-
-moz-user-select: none;
|
|
444
|
-
-ms-user-select: none;
|
|
445
443
|
}
|
|
446
444
|
|
|
447
445
|
.disableFocus a,
|
|
@@ -458,12 +456,10 @@
|
|
|
458
456
|
|
|
459
457
|
.fitContWidth {
|
|
460
458
|
composes: d-w-fit from global;
|
|
461
|
-
width: undefined ;
|
|
462
459
|
}
|
|
463
460
|
|
|
464
461
|
.fitContHeight {
|
|
465
462
|
composes: d-h-fit from global;
|
|
466
|
-
height: undefined ;
|
|
467
463
|
}
|
|
468
464
|
|
|
469
465
|
.whiteSpace_normal {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.30",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"LIBRARY"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
+
"lint:css": "cd ../ && npx stylelint components/src/**/*.css",
|
|
20
21
|
"lintAllFix": "npm run lintAll --eslint:fix=true",
|
|
21
22
|
"lint": "npx eslint ./src",
|
|
22
23
|
"clean": "cdt clean build unittest test-slices coverage es lib assets && mkdir assets",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"variable:addignore": "npx css-variable-migrator addignore ./src",
|
|
49
50
|
"variable:convert": "npx css-variable-migrator convert ./src",
|
|
50
51
|
"variable:check": "npx css-variable-migrator check ./src",
|
|
51
|
-
"css:review": " npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate ",
|
|
52
|
+
"css:review": " npm run lint:css && npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate ",
|
|
52
53
|
"theme:validate": "npx z-node-plugins theme:validate ./src ./.cli ./.cli/themeValidate/stringContains.js",
|
|
53
54
|
"theme:addignore": "npx z-node-plugins theme:addignore ./src ./.cli ./.cli/themeValidate/stringContains.js",
|
|
54
55
|
"theme:removeignore": "npx z-node-plugins theme:removeignore ./src ./.cli",
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"@zohodesk/layout": "3.2.3",
|
|
86
87
|
"@zohodesk/svg": "1.4.1",
|
|
87
88
|
"@zohodesk/utils": "1.3.16",
|
|
88
|
-
"@zohodesk/variables": "1.3.
|
|
89
|
+
"@zohodesk/variables": "1.3.3",
|
|
89
90
|
"@zohodesk/virtualizer": "1.0.13",
|
|
90
91
|
"react-sortable-hoc": "^0.8.3",
|
|
91
92
|
"velocity-react": "1.4.3",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
},
|
|
107
108
|
"peerDependencies": {
|
|
108
109
|
"@zohodesk/icons": "1.4.0",
|
|
109
|
-
"@zohodesk/variables": "1.3.
|
|
110
|
+
"@zohodesk/variables": "1.3.3",
|
|
110
111
|
"@zohodesk/svg": "1.4.1",
|
|
111
112
|
"@zohodesk/virtualizer": "1.0.13",
|
|
112
113
|
"velocity-react": "1.4.3",
|
|
@@ -119,4 +120,4 @@
|
|
|
119
120
|
"color": "4.2.3",
|
|
120
121
|
"@dot-system/css-utility": "0.1.5"
|
|
121
122
|
}
|
|
122
|
-
}
|
|
123
|
+
}
|