@zohodesk/components 1.0.0-temp-256.1 → 1.0.0-temp-257.1

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.
Files changed (91) hide show
  1. package/README.md +2 -19
  2. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +0 -2
  3. package/assets/Appearance/dark/mode/Component_v1_DarkMode.module.css +5 -20
  4. package/assets/Appearance/dark/themes/blue/blue_componentsCTA_DarkModifyCategory.module.css +0 -1
  5. package/assets/Appearance/dark/themes/green/green_componentsCTA_DarkModifyCategory.module.css +0 -1
  6. package/assets/Appearance/dark/themes/orange/orange_componentsCTA_DarkModifyCategory.module.css +0 -1
  7. package/assets/Appearance/dark/themes/red/red_componentsCTA_DarkModifyCategory.module.css +0 -1
  8. package/assets/Appearance/dark/themes/yellow/yellow_componentsCTA_DarkModifyCategory.module.css +0 -1
  9. package/assets/Appearance/light/mode/Component_LightMode.module.css +0 -2
  10. package/assets/Appearance/light/mode/Component_v1_LightMode.module.css +5 -20
  11. package/assets/Appearance/light/themes/blue/blue_componentsCTA_LightModifyCategory.module.css +0 -1
  12. package/assets/Appearance/light/themes/green/green_componentsCTA_LightModifyCategory.module.css +0 -1
  13. package/assets/Appearance/light/themes/orange/orange_componentsCTA_LightModifyCategory.module.css +0 -1
  14. package/assets/Appearance/light/themes/red/red_componentsCTA_LightModifyCategory.module.css +0 -1
  15. package/assets/Appearance/light/themes/yellow/yellow_componentsCTA_LightModifyCategory.module.css +0 -1
  16. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +0 -2
  17. package/assets/Appearance/pureDark/mode/Component_v1_PureDarkMode.module.css +5 -20
  18. package/assets/Appearance/pureDark/themes/blue/blue_componentsCTA_PureDarkModifyCategory.module.css +0 -1
  19. package/assets/Appearance/pureDark/themes/green/green_componentsCTA_PureDarkModifyCategory.module.css +0 -1
  20. package/assets/Appearance/pureDark/themes/orange/orange_componentsCTA_PureDarkModifyCategory.module.css +0 -1
  21. package/assets/Appearance/pureDark/themes/red/red_componentsCTA_PureDarkModifyCategory.module.css +0 -1
  22. package/assets/Appearance/pureDark/themes/yellow/yellow_componentsCTA_PureDarkModifyCategory.module.css +0 -1
  23. package/es/ListItem/ListItem.js +1 -2
  24. package/es/ListItem/ListItemWithAvatar.js +3 -9
  25. package/es/ListItem/ListItemWithCheckBox.js +3 -9
  26. package/es/ListItem/ListItemWithIcon.js +2 -8
  27. package/es/ListItem/ListItemWithRadio.js +3 -9
  28. package/es/ListItem/__tests__/ListItemWithAvatar.spec.js +0 -19
  29. package/es/ListItem/__tests__/ListItemWithCheckBox.spec.js +0 -19
  30. package/es/ListItem/__tests__/ListItemWithIcon.spec.js +0 -17
  31. package/es/ListItem/__tests__/ListItemWithRadio.spec.js +0 -19
  32. package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +0 -108
  33. package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +0 -212
  34. package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +0 -108
  35. package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +0 -210
  36. package/es/ListItem/props/defaultProps.js +0 -1
  37. package/es/ListItem/props/propTypes.js +3 -12
  38. package/es/Tab/Tab.js +13 -56
  39. package/es/Tab/Tab.module.css +4 -72
  40. package/es/Tab/TabWrapper.js +2 -6
  41. package/es/Tab/Tabs.js +14 -60
  42. package/es/Tab/Tabs.module.css +15 -84
  43. package/es/Tab/__tests__/Tab.spec.js +0 -87
  44. package/es/Tab/__tests__/Tabs.spec.js +0 -11
  45. package/es/Tab/__tests__/__snapshots__/Tab.spec.js.snap +0 -287
  46. package/es/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +0 -32
  47. package/es/Tab/props/defaultProps.js +3 -10
  48. package/es/Tab/props/propTypes.js +4 -26
  49. package/es/Tab/utils/tabConfigs.js +0 -11
  50. package/es/v1/Button/Button.js +163 -106
  51. package/es/v1/Button/css/Button_v1.module.css +28 -16
  52. package/es/v1/Button/css/cssJSLogic.js +18 -3
  53. package/es/v1/Button/props/propTypes.js +14 -3
  54. package/es/v1/helpers/colorHelpers/background/backgroundColor.module.css +35 -35
  55. package/es/v1/helpers/colorHelpers/border/borderColor.module.css +20 -20
  56. package/es/v1/helpers/colorHelpers/text/textColor.module.css +35 -35
  57. package/lib/ListItem/ListItem.js +1 -3
  58. package/lib/ListItem/ListItemWithAvatar.js +3 -11
  59. package/lib/ListItem/ListItemWithCheckBox.js +3 -11
  60. package/lib/ListItem/ListItemWithIcon.js +2 -8
  61. package/lib/ListItem/ListItemWithRadio.js +3 -11
  62. package/lib/ListItem/__tests__/ListItemWithAvatar.spec.js +0 -23
  63. package/lib/ListItem/__tests__/ListItemWithCheckBox.spec.js +0 -23
  64. package/lib/ListItem/__tests__/ListItemWithIcon.spec.js +0 -21
  65. package/lib/ListItem/__tests__/ListItemWithRadio.spec.js +0 -23
  66. package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +0 -108
  67. package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +0 -212
  68. package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +0 -108
  69. package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +0 -210
  70. package/lib/ListItem/props/defaultProps.js +0 -1
  71. package/lib/ListItem/props/propTypes.js +4 -12
  72. package/lib/Tab/Tab.js +11 -59
  73. package/lib/Tab/Tab.module.css +4 -72
  74. package/lib/Tab/TabWrapper.js +2 -6
  75. package/lib/Tab/Tabs.js +11 -57
  76. package/lib/Tab/Tabs.module.css +15 -84
  77. package/lib/Tab/__tests__/Tab.spec.js +0 -88
  78. package/lib/Tab/__tests__/Tabs.spec.js +0 -12
  79. package/lib/Tab/__tests__/__snapshots__/Tab.spec.js.snap +0 -287
  80. package/lib/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +0 -32
  81. package/lib/Tab/props/defaultProps.js +3 -10
  82. package/lib/Tab/props/propTypes.js +4 -28
  83. package/lib/Tab/utils/tabConfigs.js +2 -15
  84. package/lib/v1/Button/Button.js +182 -118
  85. package/lib/v1/Button/css/Button_v1.module.css +28 -16
  86. package/lib/v1/Button/css/cssJSLogic.js +19 -7
  87. package/lib/v1/Button/props/propTypes.js +14 -3
  88. package/lib/v1/helpers/colorHelpers/background/backgroundColor.module.css +35 -35
  89. package/lib/v1/helpers/colorHelpers/border/borderColor.module.css +20 -20
  90. package/lib/v1/helpers/colorHelpers/text/textColor.module.css +35 -35
  91. package/package.json +7 -7
@@ -1,83 +1,83 @@
1
1
  /* Theme-aware Brand Palette (changes with CTA theme selection) */
2
2
  .bg-brand-80 {
3
- background-color: var(--zdt_v1_palette_brand_bg);
3
+ background-color: var(--zd-bg-brand);
4
4
  }
5
5
 
6
6
  .hover\:bg-brand-80:hover {
7
- background-color: var(--zdt_v1_palette_brand_bg);
7
+ background-color: var(--zd-bg-brand);
8
8
  }
9
9
 
10
10
  .focus\:bg-brand-80:focus {
11
- background-color: var(--zdt_v1_palette_brand_bg);
11
+ background-color: var(--zd-bg-brand);
12
12
  }
13
13
 
14
14
  .active\:bg-brand-80:active {
15
- background-color: var(--zdt_v1_palette_brand_bg);
15
+ background-color: var(--zd-bg-brand);
16
16
  }
17
17
 
18
18
  .selected\:bg-brand-80 {
19
- background-color: var(--zdt_v1_palette_brand_bg);
19
+ background-color: var(--zd-bg-brand);
20
20
  }
21
21
 
22
22
  .bg-brand-100 {
23
- background-color: var(--zdt_v1_palette_brand_hover_bg);
23
+ background-color: var(--zd-bg-brand-hover);
24
24
  }
25
25
 
26
26
  .hover\:bg-brand-100:hover {
27
- background-color: var(--zdt_v1_palette_brand_hover_bg);
27
+ background-color: var(--zd-bg-brand-hover);
28
28
  }
29
29
 
30
30
  .focus\:bg-brand-100:focus {
31
- background-color: var(--zdt_v1_palette_brand_hover_bg);
31
+ background-color: var(--zd-bg-brand-hover);
32
32
  }
33
33
 
34
34
  .active\:bg-brand-100:active {
35
- background-color: var(--zdt_v1_palette_brand_hover_bg);
35
+ background-color: var(--zd-bg-brand-hover);
36
36
  }
37
37
 
38
38
  .selected\:bg-brand-100 {
39
- background-color: var(--zdt_v1_palette_brand_hover_bg);
39
+ background-color: var(--zd-bg-brand-hover);
40
40
  }
41
41
 
42
42
  .bg-brand-10 {
43
- background-color: var(--zdt_v1_palette_brand_light_bg);
43
+ background-color: var(--zd-bg-brandLight);
44
44
  }
45
45
 
46
46
  .hover\:bg-brand-10:hover {
47
- background-color: var(--zdt_v1_palette_brand_light_bg);
47
+ background-color: var(--zd-bg-brandLight);
48
48
  }
49
49
 
50
50
  .focus\:bg-brand-10:focus {
51
- background-color: var(--zdt_v1_palette_brand_light_bg);
51
+ background-color: var(--zd-bg-brandLight);
52
52
  }
53
53
 
54
54
  .active\:bg-brand-10:active {
55
- background-color: var(--zdt_v1_palette_brand_light_bg);
55
+ background-color: var(--zd-bg-brandLight);
56
56
  }
57
57
 
58
58
  .selected\:bg-brand-10 {
59
- background-color: var(--zdt_v1_palette_brand_light_bg);
59
+ background-color: var(--zd-bg-brandLight);
60
60
  }
61
61
 
62
62
  /* color not available */
63
63
  .bg-brand-20 {
64
- background-color: var(--zdt_v1_palette_brand_light_hover_bg);
64
+ background-color: var(--zd-bg-brandLight-hover);
65
65
  }
66
66
 
67
67
  .hover\:bg-brand-20:hover {
68
- background-color: var(--zdt_v1_palette_brand_light_hover_bg);
68
+ background-color: var(--zd-bg-brandLight-hover);
69
69
  }
70
70
 
71
71
  .focus\:bg-brand-20:focus {
72
- background-color: var(--zdt_v1_palette_brand_light_hover_bg);
72
+ background-color: var(--zd-bg-brandLight-hover);
73
73
  }
74
74
 
75
75
  .active\:bg-brand-20:active {
76
- background-color: var(--zdt_v1_palette_brand_light_hover_bg);
76
+ background-color: var(--zd-bg-brandLight-hover);
77
77
  }
78
78
 
79
79
  .selected\:bg-brand-20 {
80
- background-color: var(--zdt_v1_palette_brand_light_hover_bg);
80
+ background-color: var(--zd-bg-brandLight-hover);
81
81
  }
82
82
 
83
83
  /* Static Grey Palette */
@@ -122,23 +122,23 @@
122
122
  }
123
123
 
124
124
  .bg-grey-10 {
125
- background-color: var(--zdt_v1_palette_grey_light_bg);
125
+ background-color: var(--zd-bg-secondary);
126
126
  }
127
127
 
128
128
  .hover\:bg-grey-10:hover {
129
- background-color: var(--zdt_v1_palette_grey_light_bg);
129
+ background-color: var(--zd-bg-secondary);
130
130
  }
131
131
 
132
132
  .focus\:bg-grey-10:focus {
133
- background-color: var(--zdt_v1_palette_grey_light_bg);
133
+ background-color: var(--zd-bg-secondary);
134
134
  }
135
135
 
136
136
  .active\:bg-grey-10:active {
137
- background-color: var(--zdt_v1_palette_grey_light_bg);
137
+ background-color: var(--zd-bg-secondary);
138
138
  }
139
139
 
140
140
  .selected\:bg-grey-10 {
141
- background-color: var(--zdt_v1_palette_grey_light_bg);
141
+ background-color: var(--zd-bg-secondary);
142
142
  }
143
143
 
144
144
  .bg-grey-15 {
@@ -163,23 +163,23 @@
163
163
 
164
164
  /* Static Blue Palette */
165
165
  .bg-blue-80 {
166
- background-color: var(--zdt_v1_palette_blue_bg);
166
+ background-color: var(--zd-bg-info);
167
167
  }
168
168
 
169
169
  .hover\:bg-blue-80:hover {
170
- background-color: var(--zdt_v1_palette_blue_bg);
170
+ background-color: var(--zd-bg-info);
171
171
  }
172
172
 
173
173
  .focus\:bg-blue-80:focus {
174
- background-color: var(--zdt_v1_palette_blue_bg);
174
+ background-color: var(--zd-bg-info);
175
175
  }
176
176
 
177
177
  .active\:bg-blue-80:active {
178
- background-color: var(--zdt_v1_palette_blue_bg);
178
+ background-color: var(--zd-bg-info);
179
179
  }
180
180
 
181
181
  .selected\:bg-blue-80 {
182
- background-color: var(--zdt_v1_palette_blue_bg);
182
+ background-color: var(--zd-bg-info);
183
183
  }
184
184
 
185
185
  .bg-blue-100 {
@@ -569,23 +569,23 @@
569
569
 
570
570
  /* Utility Colors */
571
571
  .bg-transparent {
572
- background-color: var(--dot_mirror);
572
+ background-color: var(--zd-bg-transparent);
573
573
  }
574
574
 
575
575
  .hover\:bg-transparent:hover {
576
- background-color: var(--dot_mirror);
576
+ background-color: var(--zd-bg-transparent);
577
577
  }
578
578
 
579
579
  .focus\:bg-transparent:focus {
580
- background-color: var(--dot_mirror);
580
+ background-color: var(--zd-bg-transparent);
581
581
  }
582
582
 
583
583
  .active\:bg-transparent:active {
584
- background-color: var(--dot_mirror);
584
+ background-color: var(--zd-bg-transparent);
585
585
  }
586
586
 
587
587
  .selected\:bg-transparent {
588
- background-color: var(--dot_mirror);
588
+ background-color: var(--zd-bg-transparent);
589
589
  }
590
590
 
591
591
  .bg-white {
@@ -62,84 +62,84 @@
62
62
 
63
63
  /* Static Grey Palette */
64
64
  .border-grey-65 {
65
- border-color: var(--zdt_v1_palette_grey_border);
65
+ border-color: var(--zd-border-secondary);
66
66
  }
67
67
 
68
68
  .hover\:border-grey-65:hover {
69
- border-color: var(--zdt_v1_palette_grey_border);
69
+ border-color: var(--zd-border-secondary);
70
70
  }
71
71
 
72
72
  .focus\:border-grey-65:focus {
73
- border-color: var(--zdt_v1_palette_grey_border);
73
+ border-color: var(--zd-border-secondary);
74
74
  }
75
75
 
76
76
  .active\:border-grey-65:active {
77
- border-color: var(--zdt_v1_palette_grey_border);
77
+ border-color: var(--zd-border-secondary);
78
78
  }
79
79
 
80
80
  .selected\:border-grey-65 {
81
- border-color: var(--zdt_v1_palette_grey_border);
81
+ border-color: var(--zd-border-secondary);
82
82
  }
83
83
 
84
84
  .border-grey-55 {
85
- border-color: var(--zdt_v1_palette_grey_hover_border);
85
+ border-color: var(--zd-border-tertiary);
86
86
  }
87
87
 
88
88
  .hover\:border-grey-55:hover {
89
- border-color: var(--zdt_v1_palette_grey_hover_border);
89
+ border-color: var(--zd-border-tertiary);
90
90
  }
91
91
 
92
92
  .focus\:border-grey-55:focus {
93
- border-color: var(--zdt_v1_palette_grey_hover_border);
93
+ border-color: var(--zd-border-tertiary);
94
94
  }
95
95
 
96
96
  .active\:border-grey-55:active {
97
- border-color: var(--zdt_v1_palette_grey_hover_border);
97
+ border-color: var(--zd-border-tertiary);
98
98
  }
99
99
 
100
100
  .selected\:border-grey-55 {
101
- border-color: var(--zdt_v1_palette_grey_hover_border);
101
+ border-color: var(--zd-border-tertiary);
102
102
  }
103
103
 
104
104
  .border-grey-15 {
105
- border-color: var(--zdt_v1_palette_grey_light_border);
105
+ border-color: var(--zd-border-secondary);
106
106
  }
107
107
 
108
108
  .hover\:border-grey-15:hover {
109
- border-color: var(--zdt_v1_palette_grey_light_border);
109
+ border-color: var(--zd-border-secondary);
110
110
  }
111
111
 
112
112
  .focus\:border-grey-15:focus {
113
- border-color: var(--zdt_v1_palette_grey_light_border);
113
+ border-color: var(--zd-border-secondary);
114
114
  }
115
115
 
116
116
  .active\:border-grey-15:active {
117
- border-color: var(--zdt_v1_palette_grey_light_border);
117
+ border-color: var(--zd-border-secondary);
118
118
  }
119
119
 
120
120
  .selected\:border-grey-15 {
121
- border-color: var(--zdt_v1_palette_grey_light_border);
121
+ border-color: var(--zd-border-secondary);
122
122
  }
123
123
 
124
124
  /* Static Blue Palette */
125
125
  .border-blue-80 {
126
- border-color: var(--zdt_v1_palette_blue_border);
126
+ border-color: var(--zd-border-info);
127
127
  }
128
128
 
129
129
  .hover\:border-blue-80:hover {
130
- border-color: var(--zdt_v1_palette_blue_border);
130
+ border-color: var(--zd-border-info);
131
131
  }
132
132
 
133
133
  .focus\:border-blue-80:focus {
134
- border-color: var(--zdt_v1_palette_blue_border);
134
+ border-color: var(--zd-border-info);
135
135
  }
136
136
 
137
137
  .active\:border-blue-80:active {
138
- border-color: var(--zdt_v1_palette_blue_border);
138
+ border-color: var(--zd-border-info);
139
139
  }
140
140
 
141
141
  .selected\:border-blue-80 {
142
- border-color: var(--zdt_v1_palette_blue_border);
142
+ border-color: var(--zd-border-info);
143
143
  }
144
144
 
145
145
  .border-blue-100 {
@@ -1,22 +1,22 @@
1
1
  /* Theme-aware Brand Palette (changes with CTA theme selection) */
2
2
  .text-brand-80 {
3
- color: var(--zdt_v1_palette_brand_text);
3
+ color: var(--zd-text-brand);
4
4
  }
5
5
 
6
6
  .hover\:text-brand-80:hover {
7
- color: var(--zdt_v1_palette_brand_text);
7
+ color: var(--zd-text-brand);
8
8
  }
9
9
 
10
10
  .focus\:text-brand-80:focus {
11
- color: var(--zdt_v1_palette_brand_text);
11
+ color: var(--zd-text-brand);
12
12
  }
13
13
 
14
14
  .active\:text-brand-80:active {
15
- color: var(--zdt_v1_palette_brand_text);
15
+ color: var(--zd-text-brand);
16
16
  }
17
17
 
18
18
  .selected\:text-brand-80 {
19
- color: var(--zdt_v1_palette_brand_text);
19
+ color: var(--zd-text-brand);
20
20
  }
21
21
 
22
22
  .text-brand-100 {
@@ -41,23 +41,23 @@
41
41
 
42
42
  /* Static Grey Palette */
43
43
  .text-grey-65 {
44
- color: var(--zdt_v1_palette_grey_text);
44
+ color: var(--zd-text-secondary);
45
45
  }
46
46
 
47
47
  .hover\:text-grey-65:hover {
48
- color: var(--zdt_v1_palette_grey_text);
48
+ color: var(--zd-text-secondary);
49
49
  }
50
50
 
51
51
  .focus\:text-grey-65:focus {
52
- color: var(--zdt_v1_palette_grey_text);
52
+ color: var(--zd-text-secondary);
53
53
  }
54
54
 
55
55
  .active\:text-grey-65:active {
56
- color: var(--zdt_v1_palette_grey_text);
56
+ color: var(--zd-text-secondary);
57
57
  }
58
58
 
59
59
  .selected\:text-grey-65 {
60
- color: var(--zdt_v1_palette_grey_text);
60
+ color: var(--zd-text-secondary);
61
61
  }
62
62
 
63
63
  .text-grey-100 {
@@ -82,43 +82,43 @@
82
82
 
83
83
  /* Static Blue Palette */
84
84
  .text-blue-80 {
85
- color: var(--zdt_v1_palette_blue_text);
85
+ color: var(--zd-text-info);
86
86
  }
87
87
 
88
88
  .hover\:text-blue-80:hover {
89
- color: var(--zdt_v1_palette_blue_text);
89
+ color: var(--zd-text-info);
90
90
  }
91
91
 
92
92
  .focus\:text-blue-80:focus {
93
- color: var(--zdt_v1_palette_blue_text);
93
+ color: var(--zd-text-info);
94
94
  }
95
95
 
96
96
  .active\:text-blue-80:active {
97
- color: var(--zdt_v1_palette_blue_text);
97
+ color: var(--zd-text-info);
98
98
  }
99
99
 
100
100
  .selected\:text-blue-80 {
101
- color: var(--zdt_v1_palette_blue_text);
101
+ color: var(--zd-text-info);
102
102
  }
103
103
 
104
104
  .text-blue-100 {
105
- color: var(--zdt_v1_palette_blue_hover_text);
105
+ color: var(--zd-text-info-hover);
106
106
  }
107
107
 
108
108
  .hover\:text-blue-100:hover {
109
- color: var(--zdt_v1_palette_blue_hover_text);
109
+ color: var(--zd-text-info-hover);
110
110
  }
111
111
 
112
112
  .focus\:text-blue-100:focus {
113
- color: var(--zdt_v1_palette_blue_hover_text);
113
+ color: var(--zd-text-info-hover);
114
114
  }
115
115
 
116
116
  .active\:text-blue-100:active {
117
- color: var(--zdt_v1_palette_blue_hover_text);
117
+ color: var(--zd-text-info-hover);
118
118
  }
119
119
 
120
120
  .selected\:text-blue-100 {
121
- color: var(--zdt_v1_palette_blue_hover_text);
121
+ color: var(--zd-text-info-hover);
122
122
  }
123
123
 
124
124
  /* Static Green Palette */
@@ -307,62 +307,62 @@
307
307
  }
308
308
 
309
309
  .text-white {
310
- color: var(--zdt_v1_palette_white);
310
+ color: var(--zd-text-inverse);
311
311
  }
312
312
 
313
313
  .hover\:text-white:hover {
314
- color: var(--zdt_v1_palette_white);
314
+ color: var(--zd-text-inverse);
315
315
  }
316
316
 
317
317
  .focus\:text-white:focus {
318
- color: var(--zdt_v1_palette_white);
318
+ color: var(--zd-text-inverse);
319
319
  }
320
320
 
321
321
  .active\:text-white:active {
322
- color: var(--zdt_v1_palette_white);
322
+ color: var(--zd-text-inverse);
323
323
  }
324
324
 
325
325
  .selected\:text-white {
326
- color: var(--zdt_v1_palette_white);
326
+ color: var(--zd-text-inverse);
327
327
  }
328
328
 
329
329
  .text-black {
330
- color: var(--zdt_v1_palette_black);
330
+ color: var(--zd-text-primary);
331
331
  }
332
332
 
333
333
  .hover\:text-black:hover {
334
- color: var(--zdt_v1_palette_black);
334
+ color: var(--zd-text-primary);
335
335
  }
336
336
 
337
337
  .focus\:text-black:focus {
338
- color: var(--zdt_v1_palette_black);
338
+ color: var(--zd-text-primary);
339
339
  }
340
340
 
341
341
  .active\:text-black:active {
342
- color: var(--zdt_v1_palette_black);
342
+ color: var(--zd-text-primary);
343
343
  }
344
344
 
345
345
  .selected\:text-black {
346
- color: var(--zdt_v1_palette_black);
346
+ color: var(--zd-text-primary);
347
347
  }
348
348
 
349
349
  /* CTA-aware filled text — adapts to CTA theme */
350
350
  .text-brand-filled {
351
- color: var(--zdt_v1_palette_brand_filled_text);
351
+ color: var(--zd-text-onBrand);
352
352
  }
353
353
 
354
354
  .hover\:text-brand-filled:hover {
355
- color: var(--zdt_v1_palette_brand_filled_text);
355
+ color: var(--zd-text-onBrand);
356
356
  }
357
357
 
358
358
  .focus\:text-brand-filled:focus {
359
- color: var(--zdt_v1_palette_brand_filled_text);
359
+ color: var(--zd-text-onBrand);
360
360
  }
361
361
 
362
362
  .active\:text-brand-filled:active {
363
- color: var(--zdt_v1_palette_brand_filled_text);
363
+ color: var(--zd-text-onBrand);
364
364
  }
365
365
 
366
366
  .selected\:text-brand-filled {
367
- color: var(--zdt_v1_palette_brand_filled_text);
367
+ color: var(--zd-text-onBrand);
368
368
  }
@@ -137,8 +137,6 @@ var ListItem = /*#__PURE__*/function (_React$Component) {
137
137
  customListItem = _customClass$customLi === void 0 ? '' : _customClass$customLi,
138
138
  _customClass$customTi = customClass.customTickIcon,
139
139
  customTickIcon = _customClass$customTi === void 0 ? '' : _customClass$customTi,
140
- _customClass$customLe = customClass.customLeftValuePlaceholder,
141
- customLeftValuePlaceholder = _customClass$customLe === void 0 ? '' : _customClass$customLe,
142
140
  _customClass$customVa = customClass.customValueRightPlaceholder,
143
141
  customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa,
144
142
  _customClass$customTi2 = customClass.customTitleBox,
@@ -181,7 +179,7 @@ var ListItem = /*#__PURE__*/function (_React$Component) {
181
179
  className: "".concat(_ListItemModule["default"].titleBox, " ").concat(lhsAlignContent !== 'start' ? "".concat(_ListItemModule["default"]["alignLhsBox_".concat(lhsAlignContent)]) : '', " ").concat(customTitleBox)
182
180
  }, (0, _utils.isRenderable)(renderBeforeChildren) ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
183
181
  adjust: true,
184
- className: "".concat(_ListItemModule["default"].beforeChild, " ").concat(customLeftValuePlaceholder)
182
+ className: _ListItemModule["default"].beforeChild
185
183
  }, (0, _utils.renderNode)(renderBeforeChildren)) : null, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
186
184
  shrink: true,
187
185
  adjust: true,
@@ -135,7 +135,6 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
135
135
  needMultiLineText = _this$props4.needMultiLineText,
136
136
  secondaryValue = _this$props4.secondaryValue,
137
137
  renderValueRightPlaceholderNode = _this$props4.renderValueRightPlaceholderNode,
138
- renderLeftValuePlaceholderNode = _this$props4.renderLeftValuePlaceholderNode,
139
138
  lhsAlignContent = _this$props4.lhsAlignContent;
140
139
  var _customProps$ListItem = customProps.ListItemProps,
141
140
  ListItemProps = _customProps$ListItem === void 0 ? {} : _customProps$ListItem,
@@ -152,11 +151,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
152
151
  _customClass$customAv2 = customClass.customAvatarTeam,
153
152
  customAvatarTeam = _customClass$customAv2 === void 0 ? '' : _customClass$customAv2,
154
153
  _customClass$customVa = customClass.customValueRightPlaceholder,
155
- customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa,
156
- _customClass$customLe = customClass.customLeftValuePlaceholder,
157
- customLeftValuePlaceholder = _customClass$customLe === void 0 ? '' : _customClass$customLe,
158
- _customClass$customTi = customClass.customTitleBox,
159
- customTitleBox = _customClass$customTi === void 0 ? '' : _customClass$customTi;
154
+ customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa;
160
155
 
161
156
  var listA11y = _objectSpread({
162
157
  ariaHidden: true,
@@ -216,11 +211,8 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
216
211
  flexible: true,
217
212
  className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
218
213
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
219
- className: "".concat(_ListItemModule["default"].titleBox, " ").concat(customTitleBox)
220
- }, (0, _utils.isRenderable)(renderLeftValuePlaceholderNode) ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
221
- adjust: true,
222
- className: "".concat(customLeftValuePlaceholder)
223
- }, (0, _utils.renderNode)(renderLeftValuePlaceholderNode)) : null, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
214
+ className: _ListItemModule["default"].titleBox
215
+ }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
224
216
  shrink: true,
225
217
  adjust: true,
226
218
  "data-title": isDisabled ? null : title,
@@ -124,7 +124,6 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
124
124
  needMultiLineText = _this$props4.needMultiLineText,
125
125
  secondaryValue = _this$props4.secondaryValue,
126
126
  renderValueRightPlaceholderNode = _this$props4.renderValueRightPlaceholderNode,
127
- renderLeftValuePlaceholderNode = _this$props4.renderLeftValuePlaceholderNode,
128
127
  lhsAlignContent = _this$props4.lhsAlignContent,
129
128
  lhsJustifyContent = _this$props4.lhsJustifyContent;
130
129
 
@@ -143,11 +142,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
143
142
  _customClass$customLa = customClass.customLabel,
144
143
  customLabel = _customClass$customLa === void 0 ? '' : _customClass$customLa,
145
144
  _customClass$customVa = customClass.customValueRightPlaceholder,
146
- customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa,
147
- _customClass$customLe = customClass.customLeftValuePlaceholder,
148
- customLeftValuePlaceholder = _customClass$customLe === void 0 ? '' : _customClass$customLe,
149
- _customClass$customTi = customClass.customTitleBox,
150
- customTitleBox = _customClass$customTi === void 0 ? '' : _customClass$customTi;
145
+ customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa;
151
146
  var iconBoxDataId = "".concat(dataId ? dataId : value, "_checkBox");
152
147
  return /*#__PURE__*/_react["default"].createElement(_ListContainer["default"], _extends({
153
148
  a11y: listA11y,
@@ -189,11 +184,8 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
189
184
  flexible: true,
190
185
  className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
191
186
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
192
- className: "".concat(_ListItemModule["default"].titleBox, " ").concat(customTitleBox)
193
- }, (0, _utils.isRenderable)(renderLeftValuePlaceholderNode) ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
194
- adjust: true,
195
- className: "".concat(customLeftValuePlaceholder)
196
- }, (0, _utils.renderNode)(renderLeftValuePlaceholderNode)) : null, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
187
+ className: _ListItemModule["default"].titleBox
188
+ }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
197
189
  shrink: true,
198
190
  adjust: true,
199
191
  "data-title": isDisabled ? null : title,
@@ -128,13 +128,10 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
128
128
  a11y = _this$props4.a11y,
129
129
  customClass = _this$props4.customClass,
130
130
  customValueRightPlaceholderClass = _this$props4.customValueRightPlaceholderClass,
131
- customLeftValuePlaceholderClass = _this$props4.customLeftValuePlaceholderClass,
132
- customTitleBoxClass = _this$props4.customTitleBoxClass,
133
131
  customProps = _this$props4.customProps,
134
132
  needMultiLineText = _this$props4.needMultiLineText,
135
133
  secondaryValue = _this$props4.secondaryValue,
136
134
  renderValueRightPlaceholderNode = _this$props4.renderValueRightPlaceholderNode,
137
- renderLeftValuePlaceholderNode = _this$props4.renderLeftValuePlaceholderNode,
138
135
  lhsAlignContent = _this$props4.lhsAlignContent,
139
136
  lhsJustifyContent = _this$props4.lhsJustifyContent;
140
137
  var _customProps$ListItem = customProps.ListItemProps,
@@ -192,11 +189,8 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
192
189
  flexible: true,
193
190
  className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
194
191
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
195
- className: "".concat(_ListItemModule["default"].titleBox, " ").concat(customTitleBoxClass)
196
- }, (0, _utils.isRenderable)(renderLeftValuePlaceholderNode) ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
197
- adjust: true,
198
- className: "".concat(customLeftValuePlaceholderClass)
199
- }, (0, _utils.renderNode)(renderLeftValuePlaceholderNode)) : null, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
192
+ className: _ListItemModule["default"].titleBox
193
+ }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
200
194
  shrink: true,
201
195
  adjust: true,
202
196
  className: needMultiLineText ? _ListItemModule["default"].multiLineValue : _ListItemModule["default"].value,
@@ -125,7 +125,6 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
125
125
  needMultiLineText = _this$props4.needMultiLineText,
126
126
  secondaryValue = _this$props4.secondaryValue,
127
127
  renderValueRightPlaceholderNode = _this$props4.renderValueRightPlaceholderNode,
128
- renderLeftValuePlaceholderNode = _this$props4.renderLeftValuePlaceholderNode,
129
128
  lhsAlignContent = _this$props4.lhsAlignContent,
130
129
  lhsJustifyContent = _this$props4.lhsJustifyContent;
131
130
  var _customProps$ListItem = customProps.ListItemProps,
@@ -144,11 +143,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
144
143
  _customClass$customRa2 = customClass.customRadioWrap,
145
144
  customRadioWrap = _customClass$customRa2 === void 0 ? '' : _customClass$customRa2,
146
145
  _customClass$customVa = customClass.customValueRightPlaceholder,
147
- customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa,
148
- _customClass$customLe = customClass.customLeftValuePlaceholder,
149
- customLeftValuePlaceholder = _customClass$customLe === void 0 ? '' : _customClass$customLe,
150
- _customClass$customTi = customClass.customTitleBox,
151
- customTitleBox = _customClass$customTi === void 0 ? '' : _customClass$customTi;
146
+ customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa;
152
147
  var iconBoxDataId = "".concat(dataId, "_radio");
153
148
  return /*#__PURE__*/_react["default"].createElement(_ListContainer["default"], _extends({
154
149
  a11y: listA11y,
@@ -191,11 +186,8 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
191
186
  flexible: true,
192
187
  className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
193
188
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
194
- className: "".concat(_ListItemModule["default"].titleBox, " ").concat(customTitleBox)
195
- }, (0, _utils.isRenderable)(renderLeftValuePlaceholderNode) ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
196
- adjust: true,
197
- className: "".concat(customLeftValuePlaceholder)
198
- }, (0, _utils.renderNode)(renderLeftValuePlaceholderNode)) : null, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
189
+ className: _ListItemModule["default"].titleBox
190
+ }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
199
191
  shrink: true,
200
192
  adjust: true,
201
193
  "data-title": disableTitle ? null : title,
@@ -73,27 +73,4 @@ describe('ListItemWithAvatar', function () {
73
73
 
74
74
  expect(asFragment()).toMatchSnapshot();
75
75
  });
76
- test('ListItemWithAvatar with renderLeftValuePlaceholderNode', function () {
77
- var _render8 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithAvatar["default"], {
78
- renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
79
- return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
80
- }
81
- })),
82
- asFragment = _render8.asFragment;
83
-
84
- expect(asFragment()).toMatchSnapshot();
85
- });
86
- test('ListItemWithAvatar with renderLeftValuePlaceholderNode & it\'s custom class', function () {
87
- var _render9 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithAvatar["default"], {
88
- renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
89
- return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
90
- },
91
- customClass: {
92
- customLeftValuePlaceholder: "customLeftValuePlaceholderClass"
93
- }
94
- })),
95
- asFragment = _render9.asFragment;
96
-
97
- expect(asFragment()).toMatchSnapshot();
98
- });
99
76
  });