@zohodesk/components 1.6.21 → 1.6.22

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 (96) hide show
  1. package/README.md +4 -0
  2. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
  3. package/es/Button/css/cssJSLogic.js +6 -6
  4. package/es/CheckBox/CheckBox.js +2 -2
  5. package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +65 -65
  6. package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +15 -17
  7. package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +6 -6
  8. package/es/DateTime/CalendarView.js +2 -2
  9. package/es/DateTime/DateWidget.js +2 -2
  10. package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +51 -51
  11. package/es/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +3 -3
  12. package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +3 -3
  13. package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +6 -6
  14. package/es/DropBox/DropBoxElement/css/cssJSLogic.js +6 -6
  15. package/es/DropDown/DropDownItem.js +1 -1
  16. package/es/DropDown/__tests__/__snapshots__/DropDownItem.spec.js.snap +1 -1
  17. package/es/Label/Label.js +1 -1
  18. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -24
  19. package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +7 -7
  20. package/es/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +1 -1
  21. package/es/MultiSelect/MultiSelect.js +1 -1
  22. package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +1 -1
  23. package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +3 -3
  24. package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +13 -16
  25. package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +1 -1
  26. package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +2 -2
  27. package/es/Radio/Radio.js +1 -1
  28. package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +31 -31
  29. package/es/Ribbon/Ribbon.js +3 -16
  30. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +24 -24
  31. package/es/Select/SelectWithAvatar.js +1 -1
  32. package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +1 -1
  33. package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +128 -128
  34. package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +2 -2
  35. package/es/Switch/Switch.js +1 -1
  36. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +34 -34
  37. package/es/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +4 -4
  38. package/es/Tag/Tag.js +1 -2
  39. package/es/Tag/__tests__/__snapshots__/Tag.spec.js.snap +94 -140
  40. package/es/TextBoxIcon/TextBoxIcon.js +1 -1
  41. package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +6 -6
  42. package/es/Textarea/Textarea.js +1 -1
  43. package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
  44. package/es/Tooltip/Tooltip.js +1 -1
  45. package/es/Typography/css/cssJSLogic.js +2 -2
  46. package/es/deprecated/Switch/Switch.js +1 -1
  47. package/es/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
  48. package/es/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
  49. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
  50. package/lib/Button/css/cssJSLogic.js +3 -3
  51. package/lib/CheckBox/CheckBox.js +2 -2
  52. package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +65 -65
  53. package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +15 -17
  54. package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +6 -6
  55. package/lib/DateTime/CalendarView.js +2 -2
  56. package/lib/DateTime/DateWidget.js +2 -2
  57. package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +51 -51
  58. package/lib/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +3 -3
  59. package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +3 -3
  60. package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +6 -6
  61. package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +2 -2
  62. package/lib/DropDown/DropDownItem.js +1 -1
  63. package/lib/DropDown/__tests__/__snapshots__/DropDownItem.spec.js.snap +1 -1
  64. package/lib/Label/Label.js +1 -1
  65. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -24
  66. package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +7 -7
  67. package/lib/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +1 -1
  68. package/lib/MultiSelect/MultiSelect.js +1 -1
  69. package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +1 -1
  70. package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +3 -3
  71. package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +13 -16
  72. package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +1 -1
  73. package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +2 -2
  74. package/lib/Radio/Radio.js +1 -1
  75. package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +31 -31
  76. package/lib/Ribbon/Ribbon.js +2 -15
  77. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +24 -24
  78. package/lib/Select/SelectWithAvatar.js +1 -1
  79. package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +1 -1
  80. package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +128 -128
  81. package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +2 -2
  82. package/lib/Switch/Switch.js +1 -1
  83. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +34 -34
  84. package/lib/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +4 -4
  85. package/lib/Tag/Tag.js +1 -1
  86. package/lib/Tag/__tests__/__snapshots__/Tag.spec.js.snap +94 -140
  87. package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
  88. package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +6 -6
  89. package/lib/Textarea/Textarea.js +1 -1
  90. package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
  91. package/lib/Tooltip/Tooltip.js +1 -1
  92. package/lib/Typography/css/cssJSLogic.js +1 -1
  93. package/lib/deprecated/Switch/Switch.js +1 -1
  94. package/lib/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
  95. package/lib/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
  96. package/package.json +5 -5
@@ -180,7 +180,7 @@ var TextBoxIcon = /*#__PURE__*/function (_React$Component) {
180
180
  hasEffect: needEffect,
181
181
  isDisabled: isDisabled,
182
182
  isReadOnly: isReadOnly && needReadOnlyStyle,
183
- customClass: " ".concat(_TextBoxIconModule["default"].container, " ").concat(customTBoxWrap, " ").concat(iconOnHover && (isReadOnly || isDisabled) ? _TextBoxIconModule["default"].iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? _TextBoxIconModule["default"].iconOnHoverStyle : ''),
183
+ customClass: " ".concat(_TextBoxIconModule["default"].container, " ").concat(iconOnHover && (isReadOnly || isDisabled) ? _TextBoxIconModule["default"].iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? _TextBoxIconModule["default"].iconOnHoverStyle : '', " ").concat(customTBoxWrap, " "),
184
184
  title: isDisabled ? title : null,
185
185
  onClick: needInputFocusOnWrapperClick && !isDisabled ? this.handleInputFocusOnClick : null,
186
186
  customProps: {
@@ -95,7 +95,7 @@ exports[`TextBoxIcon component Should be render htmlId 1`] = `
95
95
  exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHover, isDisabled is false 1`] = `
96
96
  <DocumentFragment>
97
97
  <div
98
- class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container iconOnHoverStyle"
98
+ class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container iconOnHoverStyle"
99
99
  data-selector-id="textBoxIcon"
100
100
  >
101
101
  <div
@@ -134,7 +134,7 @@ exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHove
134
134
  exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHover, isDisabled is true 1`] = `
135
135
  <DocumentFragment>
136
136
  <div
137
- class="flex row varClass customContainer border_bottom disabled borderColor_default hasBorder container iconOnHoverReadonly"
137
+ class="flex row varClass customContainer border_bottom disabled borderColor_default hasBorder container iconOnHoverReadonly"
138
138
  data-selector-id="textBoxIcon"
139
139
  data-title=""
140
140
  >
@@ -712,7 +712,7 @@ exports[`TextBoxIcon component Should be render showClearIcon is true 1`] = `
712
712
  >
713
713
  <i
714
714
  aria-hidden="true"
715
- class="zd_font_icons basic icon-delete rtl "
715
+ class="zd_font_icons rtl basic icon-delete "
716
716
  data-id="fontIcon"
717
717
  data-selector-id="fontIcon"
718
718
  data-test-id="fontIcon"
@@ -856,7 +856,7 @@ exports[`TextBoxIcon component Should be render value is string and length great
856
856
  >
857
857
  <i
858
858
  aria-hidden="true"
859
- class="zd_font_icons basic icon-delete rtl "
859
+ class="zd_font_icons rtl basic icon-delete "
860
860
  data-id="fontIcon"
861
861
  data-selector-id="fontIcon"
862
862
  data-test-id="fontIcon"
@@ -1537,7 +1537,7 @@ exports[`TextBoxIcon component rendering the Custom Props 1`] = `
1537
1537
  exports[`TextBoxIcon component rendering the Custom class 1`] = `
1538
1538
  <DocumentFragment>
1539
1539
  <div
1540
- class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container customTBoxWrapTextBoxIcon"
1540
+ class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container customTBoxWrapTextBoxIcon"
1541
1541
  data-selector-id="textBoxIcon"
1542
1542
  >
1543
1543
  <div
@@ -1623,7 +1623,7 @@ exports[`TextBoxIcon component rendering the i18n value 1`] = `
1623
1623
  >
1624
1624
  <i
1625
1625
  aria-hidden="true"
1626
- class="zd_font_icons basic icon-delete rtl "
1626
+ class="zd_font_icons rtl basic icon-delete "
1627
1627
  data-id="fontIcon"
1628
1628
  data-selector-id="fontIcon"
1629
1629
  data-test-id="fontIcon"
@@ -133,7 +133,7 @@ var Textarea = /*#__PURE__*/function (_React$Component) {
133
133
  return /*#__PURE__*/_react["default"].createElement("textarea", _extends({
134
134
  "aria-label": ariaLabel,
135
135
  "aria-labelledby": ariaLabelledby,
136
- className: "".concat(customClass, " ").concat(isReadOnly && needReadOnlyStyle ? _TextareaModule["default"].readonly : '', " ").concat(classList, " ").concat(_TextareaModule["default"]["borderColor_".concat(borderColor)]),
136
+ className: "".concat(isReadOnly && needReadOnlyStyle ? _TextareaModule["default"].readonly : '', " ").concat(classList, " ").concat(_TextareaModule["default"]["borderColor_".concat(borderColor)], " ").concat(customClass, " "),
137
137
  placeholder: placeHolder
138
138
  }, options, {
139
139
  "data-id": dataId,
@@ -3,7 +3,7 @@
3
3
  exports[`Textarea component Should be render cols only 1`] = `
4
4
  <DocumentFragment>
5
5
  <textarea
6
- class=" container defaultHeight default needBorder noresize effect borderColor_default"
6
+ class=" container defaultHeight default needBorder noresize effect borderColor_default "
7
7
  cols="3"
8
8
  data-id="TextareaComp"
9
9
  data-selector-id="textarea"
@@ -15,7 +15,7 @@ exports[`Textarea component Should be render cols only 1`] = `
15
15
  exports[`Textarea component Should be render autofocus true 1`] = `
16
16
  <DocumentFragment>
17
17
  <textarea
18
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
18
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
19
19
  data-id="TextareaComp"
20
20
  data-selector-id="textarea"
21
21
  data-test-id="TextareaComp"
@@ -26,7 +26,7 @@ exports[`Textarea component Should be render autofocus true 1`] = `
26
26
  exports[`Textarea component Should be render custom Attributes 1`] = `
27
27
  <DocumentFragment>
28
28
  <textarea
29
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
29
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
30
30
  data-id="TextareaComp"
31
31
  data-selector-id="textarea"
32
32
  data-test-id="TextareaComp"
@@ -38,7 +38,7 @@ exports[`Textarea component Should be render custom Attributes 1`] = `
38
38
  exports[`Textarea component Should be render customClass 1`] = `
39
39
  <DocumentFragment>
40
40
  <textarea
41
- class="textAreaCustomClass container small defaultWidth default needBorder noresize effect borderColor_default"
41
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default textAreaCustomClass "
42
42
  data-id="TextareaComp"
43
43
  data-selector-id="textarea"
44
44
  data-test-id="TextareaComp"
@@ -49,7 +49,7 @@ exports[`Textarea component Should be render customClass 1`] = `
49
49
  exports[`Textarea component Should be render htmlId 1`] = `
50
50
  <DocumentFragment>
51
51
  <textarea
52
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
52
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
53
53
  data-id="TextareaComp"
54
54
  data-selector-id="textarea"
55
55
  data-test-id="TextareaComp"
@@ -61,7 +61,7 @@ exports[`Textarea component Should be render htmlId 1`] = `
61
61
  exports[`Textarea component Should be render isDisabled is false and needEffect is false 1`] = `
62
62
  <DocumentFragment>
63
63
  <textarea
64
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
64
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
65
65
  data-id="TextareaComp"
66
66
  data-selector-id="textarea"
67
67
  data-test-id="TextareaComp"
@@ -72,7 +72,7 @@ exports[`Textarea component Should be render isDisabled is false and needEffect
72
72
  exports[`Textarea component Should be render isDisabled is true 1`] = `
73
73
  <DocumentFragment>
74
74
  <textarea
75
- class=" container small defaultWidth default needBorder noresize borderColor_default"
75
+ class=" container small defaultWidth default needBorder noresize borderColor_default "
76
76
  data-id="TextareaComp"
77
77
  data-selector-id="textarea"
78
78
  data-test-id="TextareaComp"
@@ -84,7 +84,7 @@ exports[`Textarea component Should be render isDisabled is true 1`] = `
84
84
  exports[`Textarea component Should be render isDisabled is true and needEffect is false 1`] = `
85
85
  <DocumentFragment>
86
86
  <textarea
87
- class=" container small defaultWidth default needBorder noresize borderColor_default"
87
+ class=" container small defaultWidth default needBorder noresize borderColor_default "
88
88
  data-id="TextareaComp"
89
89
  data-selector-id="textarea"
90
90
  data-test-id="TextareaComp"
@@ -96,7 +96,7 @@ exports[`Textarea component Should be render isDisabled is true and needEffect i
96
96
  exports[`Textarea component Should be render isDisabled is true and needEffect is true 1`] = `
97
97
  <DocumentFragment>
98
98
  <textarea
99
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
99
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
100
100
  data-id="TextareaComp"
101
101
  data-selector-id="textarea"
102
102
  data-test-id="TextareaComp"
@@ -108,7 +108,7 @@ exports[`Textarea component Should be render isDisabled is true and needEffect i
108
108
  exports[`Textarea component Should be render isReadOnly is false and needEffect is false 1`] = `
109
109
  <DocumentFragment>
110
110
  <textarea
111
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
111
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
112
112
  data-id="TextareaComp"
113
113
  data-selector-id="textarea"
114
114
  data-test-id="TextareaComp"
@@ -119,7 +119,7 @@ exports[`Textarea component Should be render isReadOnly is false and needEffect
119
119
  exports[`Textarea component Should be render isReadOnly is true and needEffect is false 1`] = `
120
120
  <DocumentFragment>
121
121
  <textarea
122
- class=" readonly container small defaultWidth default needBorder noresize borderColor_default"
122
+ class="readonly container small defaultWidth default needBorder noresize borderColor_default "
123
123
  data-id="TextareaComp"
124
124
  data-selector-id="textarea"
125
125
  data-test-id="TextareaComp"
@@ -131,7 +131,7 @@ exports[`Textarea component Should be render isReadOnly is true and needEffect i
131
131
  exports[`Textarea component Should be render isReadOnly is true and needEffect is true 1`] = `
132
132
  <DocumentFragment>
133
133
  <textarea
134
- class=" readonly container small defaultWidth default needBorder noresize effect borderColor_default"
134
+ class="readonly container small defaultWidth default needBorder noresize effect borderColor_default "
135
135
  data-id="TextareaComp"
136
136
  data-selector-id="textarea"
137
137
  data-test-id="TextareaComp"
@@ -143,7 +143,7 @@ exports[`Textarea component Should be render isReadOnly is true and needEffect i
143
143
  exports[`Textarea component Should be render maxLength in number 1`] = `
144
144
  <DocumentFragment>
145
145
  <textarea
146
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
146
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
147
147
  data-id="TextareaComp"
148
148
  data-selector-id="textarea"
149
149
  data-test-id="TextareaComp"
@@ -155,7 +155,7 @@ exports[`Textarea component Should be render maxLength in number 1`] = `
155
155
  exports[`Textarea component Should be render maxLength in string 1`] = `
156
156
  <DocumentFragment>
157
157
  <textarea
158
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
158
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
159
159
  data-id="TextareaComp"
160
160
  data-selector-id="textarea"
161
161
  data-test-id="TextareaComp"
@@ -167,7 +167,7 @@ exports[`Textarea component Should be render maxLength in string 1`] = `
167
167
  exports[`Textarea component Should be render needAppearance is false 1`] = `
168
168
  <DocumentFragment>
169
169
  <textarea
170
- class=" basic borderColor_default"
170
+ class=" basic borderColor_default "
171
171
  data-id="TextareaComp"
172
172
  data-selector-id="textarea"
173
173
  data-test-id="TextareaComp"
@@ -178,7 +178,7 @@ exports[`Textarea component Should be render needAppearance is false 1`] = `
178
178
  exports[`Textarea component Should be render needBorder is false 1`] = `
179
179
  <DocumentFragment>
180
180
  <textarea
181
- class=" container small defaultWidth default noBorder noresize effect borderColor_default"
181
+ class=" container small defaultWidth default noBorder noresize effect borderColor_default "
182
182
  data-id="TextareaComp"
183
183
  data-selector-id="textarea"
184
184
  data-test-id="TextareaComp"
@@ -189,7 +189,7 @@ exports[`Textarea component Should be render needBorder is false 1`] = `
189
189
  exports[`Textarea component Should be render needReadOnlyStyle is false 1`] = `
190
190
  <DocumentFragment>
191
191
  <textarea
192
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
192
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
193
193
  data-id="TextareaComp"
194
194
  data-selector-id="textarea"
195
195
  data-test-id="TextareaComp"
@@ -200,7 +200,7 @@ exports[`Textarea component Should be render needReadOnlyStyle is false 1`] = `
200
200
  exports[`Textarea component Should be render placeholder 1`] = `
201
201
  <DocumentFragment>
202
202
  <textarea
203
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
203
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
204
204
  data-id="TextareaComp"
205
205
  data-selector-id="textarea"
206
206
  data-test-id="TextareaComp"
@@ -212,7 +212,7 @@ exports[`Textarea component Should be render placeholder 1`] = `
212
212
  exports[`Textarea component Should be render rows and cols 1`] = `
213
213
  <DocumentFragment>
214
214
  <textarea
215
- class=" container default needBorder noresize effect borderColor_default"
215
+ class=" container default needBorder noresize effect borderColor_default "
216
216
  cols="3"
217
217
  data-id="TextareaComp"
218
218
  data-selector-id="textarea"
@@ -225,7 +225,7 @@ exports[`Textarea component Should be render rows and cols 1`] = `
225
225
  exports[`Textarea component Should be render rows only 1`] = `
226
226
  <DocumentFragment>
227
227
  <textarea
228
- class=" container defaultWidth default needBorder noresize effect borderColor_default"
228
+ class=" container defaultWidth default needBorder noresize effect borderColor_default "
229
229
  data-id="TextareaComp"
230
230
  data-selector-id="textarea"
231
231
  data-test-id="TextareaComp"
@@ -237,7 +237,7 @@ exports[`Textarea component Should be render rows only 1`] = `
237
237
  exports[`Textarea component Should be render text 1`] = `
238
238
  <DocumentFragment>
239
239
  <textarea
240
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
240
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
241
241
  data-id="TextareaComp"
242
242
  data-selector-id="textarea"
243
243
  data-test-id="TextareaComp"
@@ -250,7 +250,7 @@ exports[`Textarea component Should be render text 1`] = `
250
250
  exports[`Textarea component Should be render with the basic set of default props 1`] = `
251
251
  <DocumentFragment>
252
252
  <textarea
253
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
253
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
254
254
  data-id="TextareaComp"
255
255
  data-selector-id="textarea"
256
256
  data-test-id="TextareaComp"
@@ -261,7 +261,7 @@ exports[`Textarea component Should be render with the basic set of default props
261
261
  exports[`Textarea component Should render Varient - default 1`] = `
262
262
  <DocumentFragment>
263
263
  <textarea
264
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
264
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
265
265
  data-id="TextareaComp"
266
266
  data-selector-id="textarea"
267
267
  data-test-id="TextareaComp"
@@ -272,7 +272,7 @@ exports[`Textarea component Should render Varient - default 1`] = `
272
272
  exports[`Textarea component Should render Varient - primary 1`] = `
273
273
  <DocumentFragment>
274
274
  <textarea
275
- class=" container small defaultWidth primary needBorder noresize effect borderColor_default"
275
+ class=" container small defaultWidth primary needBorder noresize effect borderColor_default "
276
276
  data-id="TextareaComp"
277
277
  data-selector-id="textarea"
278
278
  data-test-id="TextareaComp"
@@ -283,7 +283,7 @@ exports[`Textarea component Should render Varient - primary 1`] = `
283
283
  exports[`Textarea component Should render animated is false - large 1`] = `
284
284
  <DocumentFragment>
285
285
  <textarea
286
- class=" container large defaultWidth default needBorder noresize effect borderColor_default"
286
+ class=" container large defaultWidth default needBorder noresize effect borderColor_default "
287
287
  data-id="TextareaComp"
288
288
  data-selector-id="textarea"
289
289
  data-test-id="TextareaComp"
@@ -294,7 +294,7 @@ exports[`Textarea component Should render animated is false - large 1`] = `
294
294
  exports[`Textarea component Should render animated is false - medium 1`] = `
295
295
  <DocumentFragment>
296
296
  <textarea
297
- class=" container medium defaultWidth default needBorder noresize effect borderColor_default"
297
+ class=" container medium defaultWidth default needBorder noresize effect borderColor_default "
298
298
  data-id="TextareaComp"
299
299
  data-selector-id="textarea"
300
300
  data-test-id="TextareaComp"
@@ -305,7 +305,7 @@ exports[`Textarea component Should render animated is false - medium 1`] = `
305
305
  exports[`Textarea component Should render animated is false - small 1`] = `
306
306
  <DocumentFragment>
307
307
  <textarea
308
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
308
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
309
309
  data-id="TextareaComp"
310
310
  data-selector-id="textarea"
311
311
  data-test-id="TextareaComp"
@@ -316,7 +316,7 @@ exports[`Textarea component Should render animated is false - small 1`] = `
316
316
  exports[`Textarea component Should render animated is false - xmedium 1`] = `
317
317
  <DocumentFragment>
318
318
  <textarea
319
- class=" container xmedium defaultWidth default needBorder noresize effect borderColor_default"
319
+ class=" container xmedium defaultWidth default needBorder noresize effect borderColor_default "
320
320
  data-id="TextareaComp"
321
321
  data-selector-id="textarea"
322
322
  data-test-id="TextareaComp"
@@ -327,7 +327,7 @@ exports[`Textarea component Should render animated is false - xmedium 1`] = `
327
327
  exports[`Textarea component Should render animated is false - xsmall 1`] = `
328
328
  <DocumentFragment>
329
329
  <textarea
330
- class=" container xsmall defaultWidth default needBorder noresize effect borderColor_default"
330
+ class=" container xsmall defaultWidth default needBorder noresize effect borderColor_default "
331
331
  data-id="TextareaComp"
332
332
  data-selector-id="textarea"
333
333
  data-test-id="TextareaComp"
@@ -338,7 +338,7 @@ exports[`Textarea component Should render animated is false - xsmall 1`] = `
338
338
  exports[`Textarea component Should render animated is true - large 1`] = `
339
339
  <DocumentFragment>
340
340
  <textarea
341
- class=" container large defaultWidth default needBorder noresize largeanimated effect borderColor_default"
341
+ class=" container large defaultWidth default needBorder noresize largeanimated effect borderColor_default "
342
342
  data-id="TextareaComp"
343
343
  data-selector-id="textarea"
344
344
  data-test-id="TextareaComp"
@@ -349,7 +349,7 @@ exports[`Textarea component Should render animated is true - large 1`] = `
349
349
  exports[`Textarea component Should render animated is true - medium 1`] = `
350
350
  <DocumentFragment>
351
351
  <textarea
352
- class=" container medium defaultWidth default needBorder noresize undefined effect borderColor_default"
352
+ class=" container medium defaultWidth default needBorder noresize undefined effect borderColor_default "
353
353
  data-id="TextareaComp"
354
354
  data-selector-id="textarea"
355
355
  data-test-id="TextareaComp"
@@ -360,7 +360,7 @@ exports[`Textarea component Should render animated is true - medium 1`] = `
360
360
  exports[`Textarea component Should render animated is true - small 1`] = `
361
361
  <DocumentFragment>
362
362
  <textarea
363
- class=" container small defaultWidth default needBorder noresize smallanimated effect borderColor_default"
363
+ class=" container small defaultWidth default needBorder noresize smallanimated effect borderColor_default "
364
364
  data-id="TextareaComp"
365
365
  data-selector-id="textarea"
366
366
  data-test-id="TextareaComp"
@@ -371,7 +371,7 @@ exports[`Textarea component Should render animated is true - small 1`] = `
371
371
  exports[`Textarea component Should render animated is true - xmedium 1`] = `
372
372
  <DocumentFragment>
373
373
  <textarea
374
- class=" container xmedium defaultWidth default needBorder noresize xmediumanimated effect borderColor_default"
374
+ class=" container xmedium defaultWidth default needBorder noresize xmediumanimated effect borderColor_default "
375
375
  data-id="TextareaComp"
376
376
  data-selector-id="textarea"
377
377
  data-test-id="TextareaComp"
@@ -382,7 +382,7 @@ exports[`Textarea component Should render animated is true - xmedium 1`] = `
382
382
  exports[`Textarea component Should render animated is true - xsmall 1`] = `
383
383
  <DocumentFragment>
384
384
  <textarea
385
- class=" container xsmall defaultWidth default needBorder noresize xsmallanimated effect borderColor_default"
385
+ class=" container xsmall defaultWidth default needBorder noresize xsmallanimated effect borderColor_default "
386
386
  data-id="TextareaComp"
387
387
  data-selector-id="textarea"
388
388
  data-test-id="TextareaComp"
@@ -393,7 +393,7 @@ exports[`Textarea component Should render animated is true - xsmall 1`] = `
393
393
  exports[`Textarea component Should render borderColor - default 1`] = `
394
394
  <DocumentFragment>
395
395
  <textarea
396
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
396
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
397
397
  data-id="TextareaComp"
398
398
  data-selector-id="textarea"
399
399
  data-test-id="TextareaComp"
@@ -404,7 +404,7 @@ exports[`Textarea component Should render borderColor - default 1`] = `
404
404
  exports[`Textarea component Should render borderColor - transparent 1`] = `
405
405
  <DocumentFragment>
406
406
  <textarea
407
- class=" container small defaultWidth default needBorder noresize effect borderColor_transparent"
407
+ class=" container small defaultWidth default needBorder noresize effect borderColor_transparent "
408
408
  data-id="TextareaComp"
409
409
  data-selector-id="textarea"
410
410
  data-test-id="TextareaComp"
@@ -415,7 +415,7 @@ exports[`Textarea component Should render borderColor - transparent 1`] = `
415
415
  exports[`Textarea component Should render resize - both 1`] = `
416
416
  <DocumentFragment>
417
417
  <textarea
418
- class=" container small defaultWidth default needBorder resizeboth effect borderColor_default"
418
+ class=" container small defaultWidth default needBorder resizeboth effect borderColor_default "
419
419
  data-id="TextareaComp"
420
420
  data-selector-id="textarea"
421
421
  data-test-id="TextareaComp"
@@ -426,7 +426,7 @@ exports[`Textarea component Should render resize - both 1`] = `
426
426
  exports[`Textarea component Should render resize - horizontal 1`] = `
427
427
  <DocumentFragment>
428
428
  <textarea
429
- class=" container small defaultWidth default needBorder resizeX effect borderColor_default"
429
+ class=" container small defaultWidth default needBorder resizeX effect borderColor_default "
430
430
  data-id="TextareaComp"
431
431
  data-selector-id="textarea"
432
432
  data-test-id="TextareaComp"
@@ -437,7 +437,7 @@ exports[`Textarea component Should render resize - horizontal 1`] = `
437
437
  exports[`Textarea component Should render resize - none 1`] = `
438
438
  <DocumentFragment>
439
439
  <textarea
440
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
440
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
441
441
  data-id="TextareaComp"
442
442
  data-selector-id="textarea"
443
443
  data-test-id="TextareaComp"
@@ -448,7 +448,7 @@ exports[`Textarea component Should render resize - none 1`] = `
448
448
  exports[`Textarea component Should render resize - vertical 1`] = `
449
449
  <DocumentFragment>
450
450
  <textarea
451
- class=" container small defaultWidth default needBorder resizeY effect borderColor_default"
451
+ class=" container small defaultWidth default needBorder resizeY effect borderColor_default "
452
452
  data-id="TextareaComp"
453
453
  data-selector-id="textarea"
454
454
  data-test-id="TextareaComp"
@@ -459,7 +459,7 @@ exports[`Textarea component Should render resize - vertical 1`] = `
459
459
  exports[`Textarea component Should render size - large 1`] = `
460
460
  <DocumentFragment>
461
461
  <textarea
462
- class=" container large defaultWidth default needBorder noresize largeanimated effect borderColor_default"
462
+ class=" container large defaultWidth default needBorder noresize largeanimated effect borderColor_default "
463
463
  data-id="TextareaComp"
464
464
  data-selector-id="textarea"
465
465
  data-test-id="TextareaComp"
@@ -470,7 +470,7 @@ exports[`Textarea component Should render size - large 1`] = `
470
470
  exports[`Textarea component Should render size - medium 1`] = `
471
471
  <DocumentFragment>
472
472
  <textarea
473
- class=" container medium defaultWidth default needBorder noresize undefined effect borderColor_default"
473
+ class=" container medium defaultWidth default needBorder noresize undefined effect borderColor_default "
474
474
  data-id="TextareaComp"
475
475
  data-selector-id="textarea"
476
476
  data-test-id="TextareaComp"
@@ -481,7 +481,7 @@ exports[`Textarea component Should render size - medium 1`] = `
481
481
  exports[`Textarea component Should render size - small 1`] = `
482
482
  <DocumentFragment>
483
483
  <textarea
484
- class=" container small defaultWidth default needBorder noresize smallanimated effect borderColor_default"
484
+ class=" container small defaultWidth default needBorder noresize smallanimated effect borderColor_default "
485
485
  data-id="TextareaComp"
486
486
  data-selector-id="textarea"
487
487
  data-test-id="TextareaComp"
@@ -492,7 +492,7 @@ exports[`Textarea component Should render size - small 1`] = `
492
492
  exports[`Textarea component Should render size - xmedium 1`] = `
493
493
  <DocumentFragment>
494
494
  <textarea
495
- class=" container xmedium defaultWidth default needBorder noresize xmediumanimated effect borderColor_default"
495
+ class=" container xmedium defaultWidth default needBorder noresize xmediumanimated effect borderColor_default "
496
496
  data-id="TextareaComp"
497
497
  data-selector-id="textarea"
498
498
  data-test-id="TextareaComp"
@@ -503,7 +503,7 @@ exports[`Textarea component Should render size - xmedium 1`] = `
503
503
  exports[`Textarea component Should render size - xsmall 1`] = `
504
504
  <DocumentFragment>
505
505
  <textarea
506
- class=" container xsmall defaultWidth default needBorder noresize xsmallanimated effect borderColor_default"
506
+ class=" container xsmall defaultWidth default needBorder noresize xsmallanimated effect borderColor_default "
507
507
  data-id="TextareaComp"
508
508
  data-selector-id="textarea"
509
509
  data-test-id="TextareaComp"
@@ -516,7 +516,7 @@ exports[`Textarea component rendering ally clearLabel 1`] = `
516
516
  <textarea
517
517
  aria-label="TextAreaAriaLabel"
518
518
  aria-labelledby="TexareaAriaLabelledby"
519
- class=" container small defaultWidth default needBorder noresize effect borderColor_default"
519
+ class=" container small defaultWidth default needBorder noresize effect borderColor_default "
520
520
  data-id="TextareaComp"
521
521
  data-selector-id="textarea"
522
522
  data-test-id="TextareaComp"
@@ -558,7 +558,7 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
558
558
 
559
559
  var tooltipCss = "".concat(_TooltipModule["default"].tooltipcont, " ").concat(_cssUtils.whiteSpaceClassMapping[tooltipWhiteSpaceModification]);
560
560
  return title ? /*#__PURE__*/_react["default"].createElement("div", {
561
- className: "".concat(customClass, " ").concat(_TooltipModule["default"].tooltiptext),
561
+ className: "".concat(_TooltipModule["default"].tooltiptext, " ").concat(customClass),
562
562
  style: {
563
563
  left: left,
564
564
  top: top,
@@ -73,7 +73,7 @@ function cssJSLogic(_ref) {
73
73
  finalLineHeight = _utils2.lineheightMapping[finalLineHeight];
74
74
  }
75
75
 
76
- var typographyClass = (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, style.reset, finalReset), _defineProperty(_compileClassNames, style.dotted, finalDotted), _defineProperty(_compileClassNames, style["size".concat(finalSize)], !!finalSize), _defineProperty(_compileClassNames, style["lineclamp_".concat(finalLineClamp)], !!finalLineClamp), _defineProperty(_compileClassNames, style["lineheight_".concat(finalLineHeight)], !!finalLineHeight), _defineProperty(_compileClassNames, style["display_".concat(finalDisplay)], !!finalDisplay), _defineProperty(_compileClassNames, style["font_".concat(finalWeight)], !!finalWeight), _defineProperty(_compileClassNames, style["fontStyles_".concat(finalTypeFace)], !!finalTypeFace), _defineProperty(_compileClassNames, style["textalign_".concat(finalTextAlign)], !!finalTextAlign), _defineProperty(_compileClassNames, style["letterspacing_".concat(finalLetterSpacing)], !!finalLetterSpacing), _defineProperty(_compileClassNames, style["transform_".concat(finalTransform)], !!finalTransform), _defineProperty(_compileClassNames, style["decoration_".concat(finalDecoration)], !!finalDecoration), _defineProperty(_compileClassNames, finalClassName, !!finalClassName), _defineProperty(_compileClassNames, style["wordBreak_".concat(finalWordBreak)], !!finalWordBreak), _defineProperty(_compileClassNames, style["wordWrap_".concat(finalWordWrap)], !!finalWordWrap), _defineProperty(_compileClassNames, style["whiteSpace_".concat(finalWhiteSpace)], !!finalWhiteSpace), _compileClassNames));
76
+ var typographyClass = (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, style.reset, finalReset), _defineProperty(_compileClassNames, style.dotted, finalDotted), _defineProperty(_compileClassNames, style["size".concat(finalSize)], !!finalSize), _defineProperty(_compileClassNames, style["lineclamp_".concat(finalLineClamp)], !!finalLineClamp), _defineProperty(_compileClassNames, style["lineheight_".concat(finalLineHeight)], !!finalLineHeight), _defineProperty(_compileClassNames, style["display_".concat(finalDisplay)], !!finalDisplay), _defineProperty(_compileClassNames, style["font_".concat(finalWeight)], !!finalWeight), _defineProperty(_compileClassNames, style["fontStyles_".concat(finalTypeFace)], !!finalTypeFace), _defineProperty(_compileClassNames, style["textalign_".concat(finalTextAlign)], !!finalTextAlign), _defineProperty(_compileClassNames, style["letterspacing_".concat(finalLetterSpacing)], !!finalLetterSpacing), _defineProperty(_compileClassNames, style["transform_".concat(finalTransform)], !!finalTransform), _defineProperty(_compileClassNames, style["decoration_".concat(finalDecoration)], !!finalDecoration), _defineProperty(_compileClassNames, style["wordBreak_".concat(finalWordBreak)], !!finalWordBreak), _defineProperty(_compileClassNames, style["wordWrap_".concat(finalWordWrap)], !!finalWordWrap), _defineProperty(_compileClassNames, style["whiteSpace_".concat(finalWhiteSpace)], !!finalWhiteSpace), _defineProperty(_compileClassNames, finalClassName, !!finalClassName), _compileClassNames));
77
77
  return {
78
78
  typographyClass: typographyClass
79
79
  };
@@ -62,7 +62,7 @@ var Switch = function Switch(props) {
62
62
  isCover: false,
63
63
  alignBox: "row",
64
64
  isInline: true,
65
- className: "".concat(_SwitchModule["default"].container, " ").concat(customSwitchWrap, " ").concat(disabled ? _SwitchModule["default"].disabled : isReadOnly ? _SwitchModule["default"].readonly : _SwitchModule["default"].effect),
65
+ className: "".concat(_SwitchModule["default"].container, " ").concat(disabled ? _SwitchModule["default"].disabled : isReadOnly ? _SwitchModule["default"].readonly : _SwitchModule["default"].effect, " ").concat(customSwitchWrap, " "),
66
66
  "data-title": disabled ? disableTitle : title,
67
67
  "aria-checked": checked,
68
68
  role: "switch",
@@ -11,7 +11,7 @@ exports[`ArrowIcon Should be render isActive is true 1`] = `
11
11
  >
12
12
  <i
13
13
  aria-hidden="true"
14
- class="zd_font_icons basic icon-down "
14
+ class="zd_font_icons basic icon-down "
15
15
  data-id="fontIcon"
16
16
  data-selector-id="fontIcon"
17
17
  data-test-id="fontIcon"
@@ -32,7 +32,7 @@ exports[`ArrowIcon Should be render isDisabled is true 1`] = `
32
32
  >
33
33
  <i
34
34
  aria-hidden="true"
35
- class="zd_font_icons basic icon-down "
35
+ class="zd_font_icons basic icon-down "
36
36
  data-id="fontIcon"
37
37
  data-selector-id="fontIcon"
38
38
  data-test-id="fontIcon"
@@ -53,7 +53,7 @@ exports[`ArrowIcon Should be render isReadOnly is true 1`] = `
53
53
  >
54
54
  <i
55
55
  aria-hidden="true"
56
- class="zd_font_icons basic icon-down "
56
+ class="zd_font_icons basic icon-down "
57
57
  data-id="fontIcon"
58
58
  data-selector-id="fontIcon"
59
59
  data-test-id="fontIcon"
@@ -74,7 +74,7 @@ exports[`ArrowIcon Should be render isRotated is true 1`] = `
74
74
  >
75
75
  <i
76
76
  aria-hidden="true"
77
- class="zd_font_icons basic icon-down "
77
+ class="zd_font_icons basic icon-down "
78
78
  data-id="fontIcon"
79
79
  data-selector-id="fontIcon"
80
80
  data-test-id="fontIcon"
@@ -96,7 +96,7 @@ exports[`ArrowIcon Should be render with a11yAttributes 1`] = `
96
96
  >
97
97
  <i
98
98
  aria-hidden="true"
99
- class="zd_font_icons basic icon-down "
99
+ class="zd_font_icons basic icon-down "
100
100
  data-id="fontIcon"
101
101
  data-selector-id="fontIcon"
102
102
  data-test-id="fontIcon"
@@ -117,7 +117,7 @@ exports[`ArrowIcon Should be render with customClass 1`] = `
117
117
  >
118
118
  <i
119
119
  aria-hidden="true"
120
- class="zd_font_icons basic icon-down arrowIcon_iconClass "
120
+ class="zd_font_icons basic icon-down arrowIcon_iconClass"
121
121
  data-id="fontIcon"
122
122
  data-selector-id="fontIcon"
123
123
  data-test-id="fontIcon"
@@ -138,7 +138,7 @@ exports[`ArrowIcon Should be render with customProps 1`] = `
138
138
  >
139
139
  <i
140
140
  aria-hidden="true"
141
- class="zd_font_icons basic icon-down "
141
+ class="zd_font_icons basic icon-down "
142
142
  data-id="fontIcon"
143
143
  data-selector-id="fontIcon"
144
144
  data-test-id="fontIcon"
@@ -159,7 +159,7 @@ exports[`ArrowIcon Should be render with dataId 1`] = `
159
159
  >
160
160
  <i
161
161
  aria-hidden="true"
162
- class="zd_font_icons basic icon-down "
162
+ class="zd_font_icons basic icon-down "
163
163
  data-id="fontIcon"
164
164
  data-selector-id="fontIcon"
165
165
  data-test-id="fontIcon"
@@ -189,7 +189,7 @@ exports[`ArrowIcon Should be render with tagAttributes 1`] = `
189
189
  >
190
190
  <i
191
191
  aria-hidden="true"
192
- class="zd_font_icons basic icon-down "
192
+ class="zd_font_icons basic icon-down "
193
193
  data-id="fontIcon"
194
194
  data-selector-id="fontIcon"
195
195
  data-test-id="fontIcon"
@@ -210,7 +210,7 @@ exports[`ArrowIcon rendering the defult props 1`] = `
210
210
  >
211
211
  <i
212
212
  aria-hidden="true"
213
- class="zd_font_icons basic icon-down "
213
+ class="zd_font_icons basic icon-down "
214
214
  data-id="fontIcon"
215
215
  data-selector-id="fontIcon"
216
216
  data-test-id="fontIcon"
@@ -44,7 +44,7 @@ exports[`Button - Component Should apply customClass to wrapper, text and icon 1
44
44
  >
45
45
  <i
46
46
  aria-hidden="true"
47
- class="zd_font_icons basic icon-plus customIconClass "
47
+ class="zd_font_icons basic icon-plus customIconClass"
48
48
  data-id="fontIcon"
49
49
  data-selector-id="fontIcon"
50
50
  style="--zd-iconfont-size: var(--zd_font_size16);"
@@ -949,7 +949,7 @@ exports[`Button - Component Should render with iconName and iconSize 1`] = `
949
949
  >
950
950
  <i
951
951
  aria-hidden="true"
952
- class="zd_font_icons basic icon-plus "
952
+ class="zd_font_icons basic icon-plus "
953
953
  data-id="fontIcon"
954
954
  data-selector-id="fontIcon"
955
955
  style="--zd-iconfont-size: var(--zd_font_size20);"
@@ -981,7 +981,7 @@ exports[`Button - Component Should render with iconPlacement 1`] = `
981
981
  </div>
982
982
  <i
983
983
  aria-hidden="true"
984
- class="zd_font_icons basic icon-plus "
984
+ class="zd_font_icons basic icon-plus "
985
985
  data-id="fontIcon"
986
986
  data-selector-id="fontIcon"
987
987
  style="--zd-iconfont-size: var(--zd_font_size16);"