@zohodesk/components 1.6.5 → 1.6.7
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/README.md +10 -1
- package/es/Avatar/Avatar.module.css +8 -8
- package/es/AvatarTeam/AvatarTeam.module.css +30 -30
- package/es/Button/css/Button.module.css +19 -19
- package/es/Buttongroup/Buttongroup.module.css +3 -5
- package/es/Card/Card.module.css +6 -4
- package/es/DateTime/DateWidget.module.css +1 -1
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +2 -2
- package/es/DropDown/DropDownHeading.module.css +4 -4
- package/es/DropDown/DropDownItem.module.css +4 -4
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/Label/Label.module.css +5 -5
- package/es/ListItem/ListItem.module.css +19 -30
- package/es/MultiSelect/MobileHeader/MobileHeader.module.css +1 -1
- package/es/Radio/Radio.module.css +8 -9
- package/es/Ribbon/Ribbon.module.css +16 -19
- package/es/RippleEffect/RippleEffect.module.css +55 -17
- package/es/Stencils/Stencils.module.css +30 -14
- package/es/Tag/Tag.module.css +17 -18
- package/es/TextBox/TextBox.module.css +9 -9
- package/es/TextBoxIcon/TextBoxIcon.module.css +1 -1
- package/es/Textarea/Textarea.module.css +18 -18
- package/es/Tooltip/Tooltip.module.css +2 -2
- package/es/common/avatarsizes.module.css +16 -16
- package/es/shared/InputFieldLine/InputFieldLine.module.css +2 -2
- package/es/v1/Switch/css/Switch_v1.module.css +28 -28
- package/lib/Avatar/Avatar.module.css +8 -8
- package/lib/AvatarTeam/AvatarTeam.module.css +30 -30
- package/lib/Button/css/Button.module.css +19 -19
- package/lib/Buttongroup/Buttongroup.module.css +3 -5
- package/lib/Card/Card.module.css +6 -4
- package/lib/DateTime/DateWidget.module.css +1 -1
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +2 -2
- package/lib/DropDown/DropDownHeading.module.css +4 -4
- package/lib/DropDown/DropDownItem.module.css +4 -4
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/Label/Label.module.css +5 -5
- package/lib/ListItem/ListItem.module.css +19 -30
- package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +1 -1
- package/lib/Radio/Radio.module.css +8 -9
- package/lib/Ribbon/Ribbon.module.css +16 -19
- package/lib/RippleEffect/RippleEffect.module.css +55 -17
- package/lib/Stencils/Stencils.module.css +30 -14
- package/lib/Tag/Tag.module.css +17 -18
- package/lib/TextBox/TextBox.module.css +9 -9
- package/lib/TextBoxIcon/TextBoxIcon.module.css +1 -1
- package/lib/Textarea/Textarea.module.css +18 -18
- package/lib/Tooltip/Tooltip.module.css +2 -2
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/shared/InputFieldLine/InputFieldLine.module.css +2 -2
- package/lib/v1/Switch/css/Switch_v1.module.css +28 -28
- package/package.json +12 -9
- package/_react-cli.config.js +0 -24
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Contrast/darkContrastLightness.module.css +0 -39
- package/assets/Contrast/lightContrastLightness.module.css +0 -39
- package/assets/Contrast/pureDarkContrastLightness.module.css +0 -39
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*Avatar common Sizes*/
|
|
2
2
|
.varClass {
|
|
3
3
|
/* avatar size default variables */
|
|
4
|
-
--avatar_width:
|
|
5
|
-
--avatar_height:
|
|
4
|
+
--avatar_width: var(--zd_size34);
|
|
5
|
+
--avatar_height: var(--zd_size34);
|
|
6
6
|
}
|
|
7
7
|
.small,
|
|
8
8
|
.xsmall,
|
|
@@ -16,34 +16,34 @@
|
|
|
16
16
|
height: var(--avatar_height);
|
|
17
17
|
}
|
|
18
18
|
.small {
|
|
19
|
-
--avatar_height:
|
|
20
|
-
--avatar_width:
|
|
19
|
+
--avatar_height: var(--zd_size22);
|
|
20
|
+
--avatar_width: var(--zd_size22);
|
|
21
21
|
}
|
|
22
22
|
.xxsmall {
|
|
23
|
-
--avatar_height:
|
|
24
|
-
--avatar_width:
|
|
23
|
+
--avatar_height: var(--zd_size18);
|
|
24
|
+
--avatar_width: var(--zd_size18);
|
|
25
25
|
}
|
|
26
26
|
.xsmall {
|
|
27
|
-
--avatar_height:
|
|
28
|
-
--avatar_width:
|
|
27
|
+
--avatar_height: var(--zd_size30);
|
|
28
|
+
--avatar_width: var(--zd_size30);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.medium {
|
|
32
|
-
--avatar_height:
|
|
33
|
-
--avatar_width:
|
|
32
|
+
--avatar_height: var(--zd_size34);
|
|
33
|
+
--avatar_width: var(--zd_size34);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.xmedium {
|
|
37
|
-
--avatar_height:
|
|
38
|
-
--avatar_width:
|
|
37
|
+
--avatar_height: var(--zd_size40);
|
|
38
|
+
--avatar_width: var(--zd_size40);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.large {
|
|
42
|
-
--avatar_height:
|
|
43
|
-
--avatar_width:
|
|
42
|
+
--avatar_height: var(--zd_size60);
|
|
43
|
+
--avatar_width: var(--zd_size60);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.xlarge {
|
|
47
|
-
--avatar_height:
|
|
48
|
-
--avatar_width:
|
|
47
|
+
--avatar_height: var(--zd_size80);
|
|
48
|
+
--avatar_width: var(--zd_size80);
|
|
49
49
|
}
|
|
@@ -4,47 +4,47 @@
|
|
|
4
4
|
gap: var(--zd_size6) ;
|
|
5
5
|
}
|
|
6
6
|
.small {
|
|
7
|
-
--local-switch-track-width:
|
|
8
|
-
--local-switch-track-height:
|
|
7
|
+
--local-switch-track-width: var(--zd_size22);
|
|
8
|
+
--local-switch-track-height: var(--zd_size12);
|
|
9
9
|
--local-switch-track-border-radius: 8px;
|
|
10
|
-
--local-switch-thumb-size:
|
|
11
|
-
--local-switch-onLabel-height:
|
|
12
|
-
--local-switch-onLabel-left:
|
|
13
|
-
--local-switch-offLabel-size:
|
|
14
|
-
--local-switch-offLabel-right:
|
|
10
|
+
--local-switch-thumb-size: var(--zd_size10);
|
|
11
|
+
--local-switch-onLabel-height: var(--zd_size6);
|
|
12
|
+
--local-switch-onLabel-left: var(--zd_size5);
|
|
13
|
+
--local-switch-offLabel-size: var(--zd_size7);
|
|
14
|
+
--local-switch-offLabel-right: var(--zd_size2);
|
|
15
15
|
--local-switch-onLabel-scaleX: 1.2;
|
|
16
16
|
}
|
|
17
17
|
.medium {
|
|
18
|
-
--local-switch-track-width:
|
|
19
|
-
--local-switch-track-height:
|
|
18
|
+
--local-switch-track-width: var(--zd_size28);
|
|
19
|
+
--local-switch-track-height: var(--zd_size16);
|
|
20
20
|
--local-switch-track-border-radius: 16px;
|
|
21
|
-
--local-switch-thumb-size:
|
|
22
|
-
--local-switch-onLabel-height:
|
|
23
|
-
--local-switch-onLabel-left:
|
|
24
|
-
--local-switch-offLabel-size:
|
|
25
|
-
--local-switch-offLabel-right:
|
|
21
|
+
--local-switch-thumb-size: var(--zd_size14);
|
|
22
|
+
--local-switch-onLabel-height: var(--zd_size8);
|
|
23
|
+
--local-switch-onLabel-left: var(--zd_size6);
|
|
24
|
+
--local-switch-offLabel-size: var(--zd_size8);
|
|
25
|
+
--local-switch-offLabel-right: var(--zd_size3);
|
|
26
26
|
--local-switch-onLabel-scaleX: 1.4;
|
|
27
27
|
}
|
|
28
28
|
.large {
|
|
29
|
-
--local-switch-track-width:
|
|
30
|
-
--local-switch-track-height:
|
|
29
|
+
--local-switch-track-width: var(--zd_size34);
|
|
30
|
+
--local-switch-track-height: var(--zd_size20);
|
|
31
31
|
--local-switch-track-border-radius: 10px;
|
|
32
|
-
--local-switch-thumb-size:
|
|
33
|
-
--local-switch-onLabel-height:
|
|
34
|
-
--local-switch-onLabel-left:
|
|
35
|
-
--local-switch-offLabel-size:
|
|
36
|
-
--local-switch-offLabel-right:
|
|
32
|
+
--local-switch-thumb-size: var(--zd_size18);
|
|
33
|
+
--local-switch-onLabel-height: var(--zd_size10);
|
|
34
|
+
--local-switch-onLabel-left: var(--zd_size7);
|
|
35
|
+
--local-switch-offLabel-size: var(--zd_size9);
|
|
36
|
+
--local-switch-offLabel-right: var(--zd_size4);
|
|
37
37
|
--local-switch-onLabel-scaleX: 1.6;
|
|
38
38
|
}
|
|
39
39
|
.xlarge {
|
|
40
|
-
--local-switch-track-width:
|
|
41
|
-
--local-switch-track-height:
|
|
40
|
+
--local-switch-track-width: var(--zd_size40);
|
|
41
|
+
--local-switch-track-height: var(--zd_size24);
|
|
42
42
|
--local-switch-track-border-radius: 12px;
|
|
43
|
-
--local-switch-thumb-size:
|
|
44
|
-
--local-switch-onLabel-height:
|
|
45
|
-
--local-switch-onLabel-left:
|
|
46
|
-
--local-switch-offLabel-size:
|
|
47
|
-
--local-switch-offLabel-right:
|
|
43
|
+
--local-switch-thumb-size: var(--zd_size22);
|
|
44
|
+
--local-switch-onLabel-height: var(--zd_size12);
|
|
45
|
+
--local-switch-onLabel-left: var(--zd_size8);
|
|
46
|
+
--local-switch-offLabel-size: var(--zd_size10);
|
|
47
|
+
--local-switch-offLabel-right: var(--zd_size5);
|
|
48
48
|
--local-switch-onLabel-scaleX: 1.8;
|
|
49
49
|
}
|
|
50
50
|
.disabled, .readonly {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.7",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"build:lib": "cbt build:lib src,assets lib,assets",
|
|
29
29
|
"build:es": "cbt build:es src,assets es,assets",
|
|
30
30
|
"build:es:watch": "cbt build:es src es",
|
|
31
|
-
"build": "npm run theme:validate && npm run build:lib && npm run build:es",
|
|
31
|
+
"build": "npm run theme:validate && npm run build:lib && npm run build:es && npm run cssVariableConvert ",
|
|
32
32
|
"build:local": "npm run build",
|
|
33
33
|
"build:watch": "npm run build:es:watch --module:mode=dev -- -w",
|
|
34
34
|
"coverage": "react-cli coverage",
|
|
35
35
|
"prepare": "npm run init && npm run css:build ",
|
|
36
|
-
"prepublishOnly": "node prePublish.js && npm run download_only && npm run css:review && npm run review:props ",
|
|
37
|
-
"postpublish": "node postPublish.js",
|
|
36
|
+
"prepublishOnly": "node ../prePublish.js && npm run download_only && npm run css:review && npm run review:props ",
|
|
37
|
+
"postpublish": "node ../postPublish.js",
|
|
38
38
|
"report": "react-cli publish:report",
|
|
39
39
|
"test": "react-cli test",
|
|
40
40
|
"customTest": "node ./__testUtils__/runTest.js",
|
|
@@ -61,7 +61,10 @@
|
|
|
61
61
|
"css:layer_config_validate": "node ./node_modules/@zohodesk-private/node-plugins/es/css_layer_generator/validate.js css_layer_config.json ./src/ ./assets",
|
|
62
62
|
"css:build": "npm run css:layer_config_validate && npm run css:layer_generate_order && npm run build",
|
|
63
63
|
"css:layer_remove": "node ./node_modules/@zohodesk-private/node-plugins/es/css_layer_generator/remove_layer.js ./es ./assets css_layer_config.json --rewrite=src=es --rewrite=assets=assets",
|
|
64
|
-
"css:audit": "npx css-audit --common-css=common/common.module.css --dir src --port 8085 --report "
|
|
64
|
+
"css:audit": "npx css-audit --common-css=common/common.module.css --dir src --port 8085 --report ",
|
|
65
|
+
"cssVariableConvert": "react-cli variableConverter ./lib ./lib && react-cli variableConverter ./es ./es",
|
|
66
|
+
"publish": "node ../publish.js",
|
|
67
|
+
"check_package": "node ../check_dependencies.js"
|
|
65
68
|
},
|
|
66
69
|
"devDependencies": {
|
|
67
70
|
"postcss-discard-comments": "^7.0.5",
|
|
@@ -78,11 +81,11 @@
|
|
|
78
81
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
79
82
|
"@zohodesk/dotkit": "1.0.9",
|
|
80
83
|
"@zohodesk/hooks": "2.0.8",
|
|
81
|
-
"@zohodesk/icons": "1.2.
|
|
84
|
+
"@zohodesk/icons": "1.2.8",
|
|
82
85
|
"@zohodesk/layout": "3.1.0",
|
|
83
86
|
"@zohodesk/svg": "1.3.3",
|
|
84
87
|
"@zohodesk/utils": "1.3.16",
|
|
85
|
-
"@zohodesk/variables": "1.
|
|
88
|
+
"@zohodesk/variables": "1.3.0",
|
|
86
89
|
"@zohodesk/virtualizer": "1.0.13",
|
|
87
90
|
"react-sortable-hoc": "^0.8.3",
|
|
88
91
|
"velocity-react": "1.4.3",
|
|
@@ -97,8 +100,8 @@
|
|
|
97
100
|
"selectn": "1.1.2"
|
|
98
101
|
},
|
|
99
102
|
"peerDependencies": {
|
|
100
|
-
"@zohodesk/icons": "1.2.
|
|
101
|
-
"@zohodesk/variables": "1.
|
|
103
|
+
"@zohodesk/icons": "1.2.8",
|
|
104
|
+
"@zohodesk/variables": "1.3.0",
|
|
102
105
|
"@zohodesk/svg": "1.3.3",
|
|
103
106
|
"@zohodesk/virtualizer": "1.0.13",
|
|
104
107
|
"velocity-react": "1.4.3",
|
package/_react-cli.config.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
exports.config = {
|
|
2
|
-
"preprocess": {
|
|
3
|
-
"runner": "./preprocess/index.js"
|
|
4
|
-
},
|
|
5
|
-
"css": {
|
|
6
|
-
"plugins": {
|
|
7
|
-
"hasRTL": true,
|
|
8
|
-
"cssVariableReplacement": true
|
|
9
|
-
},
|
|
10
|
-
"patterns": {
|
|
11
|
-
"cssVariableReplacement": [
|
|
12
|
-
"**/src/**",
|
|
13
|
-
"**/lib/**",
|
|
14
|
-
"**/es/**",
|
|
15
|
-
"!**/node_modules/**"
|
|
16
|
-
],
|
|
17
|
-
"hasRTL": [
|
|
18
|
-
"**/src/**",
|
|
19
|
-
"!**/node_modules/**"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
"cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
|
|
23
|
-
}
|
|
24
|
-
}
|