@zohodesk/dot 1.0.0-temp-187.9 → 1.0.0-temp-187.11

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 (53) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +4 -0
  3. package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +3 -3
  4. package/es/IconButton/IconButton.js +2 -1
  5. package/es/IconButton/IconButton.module.css +30 -3
  6. package/es/IconButton/__tests__/IconButton.spec.js +9 -0
  7. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +87 -22
  8. package/es/IconButton/props/defaultProps.js +1 -0
  9. package/es/IconButton/props/propTypes.js +1 -0
  10. package/es/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1 -1
  11. package/es/form/fields/Fields.module.css +2 -2
  12. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
  13. package/es/form/fields/TagsMultiSelect/props/propTypes.js +1 -1
  14. package/es/form/fields/TextEditorField/__tests__/__snapshots__/TextEditorField.spec.js.snap +1 -1
  15. package/es/form/fields/TextEditorWrapper/__tests__/__snapshots__/TextEditorWrapper.spec.js.snap +1 -1
  16. package/es/form/fields/TextareaField/__tests__/__snapshots__/TextareaField.spec.js.snap +1 -1
  17. package/es/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
  18. package/es/list/DepartmentDropDown/props/propTypes.js +1 -1
  19. package/es/list/status/StatusListItem/StatusListItem.module.css +1 -1
  20. package/es/lookup/header/Close/__tests__/__snapshots__/Close.spec.js.snap +1 -1
  21. package/es/lookup/header/TicketHeader/__tests__/__snapshots__/TicketHeader.spec.js.snap +1 -1
  22. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -4
  23. package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +1 -2
  24. package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -7
  25. package/es/v1/list/DepartmentDropDown/props/defaultProps.js +1 -2
  26. package/es/v1/list/DepartmentDropDown/props/propTypes.js +0 -3
  27. package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +3 -3
  28. package/lib/IconButton/IconButton.js +2 -1
  29. package/lib/IconButton/IconButton.module.css +30 -3
  30. package/lib/IconButton/__tests__/IconButton.spec.js +35 -26
  31. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +87 -22
  32. package/lib/IconButton/props/defaultProps.js +1 -0
  33. package/lib/IconButton/props/propTypes.js +1 -0
  34. package/lib/alert/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +1 -1
  35. package/lib/form/fields/Fields.module.css +2 -2
  36. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -3
  37. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +1 -1
  38. package/lib/form/fields/TextEditorField/__tests__/__snapshots__/TextEditorField.spec.js.snap +1 -1
  39. package/lib/form/fields/TextEditorWrapper/__tests__/__snapshots__/TextEditorWrapper.spec.js.snap +1 -1
  40. package/lib/form/fields/TextareaField/__tests__/__snapshots__/TextareaField.spec.js.snap +1 -1
  41. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
  42. package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
  43. package/lib/list/status/StatusListItem/StatusListItem.module.css +1 -1
  44. package/lib/lookup/header/Close/__tests__/__snapshots__/Close.spec.js.snap +1 -1
  45. package/lib/lookup/header/TicketHeader/__tests__/__snapshots__/TicketHeader.spec.js.snap +1 -1
  46. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -5
  47. package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +1 -2
  48. package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +3 -8
  49. package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +1 -2
  50. package/lib/v1/list/DepartmentDropDown/props/propTypes.js +0 -2
  51. package/package.json +8 -8
  52. package/result.json +1 -1
  53. package/unittest/index.html +2 -14
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.7.8
6
+
7
+ - **IconButton** - Introduced a new `size` prop with predefined values: `xsmall`, `small`, `medium`, `large`, and `xlarge`.
8
+
5
9
  # 1.7.7
6
10
 
7
11
  - **SelectField**
@@ -79,7 +79,7 @@ exports[`AttachmentViewer rendering the when isActive is true 1`] = `
79
79
  >
80
80
  <div
81
81
  aria-pressed="false"
82
- class="false wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
82
+ class="large wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
83
83
  data-id="iconContainer"
84
84
  data-ishtml="false"
85
85
  data-selector-id="iconButton"
@@ -103,7 +103,7 @@ exports[`AttachmentViewer rendering the when isActive is true 1`] = `
103
103
  >
104
104
  <button
105
105
  aria-pressed="false"
106
- class="buttonReset wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
106
+ class="buttonReset large wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
107
107
  data-id="iconContainer"
108
108
  data-ishtml="false"
109
109
  data-selector-id="iconButton"
@@ -361,7 +361,7 @@ exports[`AttachmentViewer rendering the when isActive is true 1`] = `
361
361
  </div>
362
362
  <button
363
363
  aria-pressed="false"
364
- class="buttonReset wrapper button undefined effect default border borderHover hoverEffect inflex coldir both"
364
+ class="buttonReset large wrapper button undefined effect default border borderHover hoverEffect inflex coldir both"
365
365
  data-id="attachToggle"
366
366
  data-ishtml="false"
367
367
  data-selector-id="iconButton"
@@ -70,6 +70,7 @@ export default class IconButton extends React.Component {
70
70
  let {
71
71
  palette,
72
72
  iconSize,
73
+ size,
73
74
  iconName,
74
75
  className,
75
76
  iconClass,
@@ -116,7 +117,7 @@ export default class IconButton extends React.Component {
116
117
  tourId: tourId,
117
118
  align: "both",
118
119
  isCover: false,
119
- className: `${needButtonTag && btnStyle.buttonReset} ${style.wrapper} ${className ? className : ''} ${isActive ? style[`${palette}_active`] : style[palette]}`,
120
+ className: `${needButtonTag ? btnStyle.buttonReset : ''} ${style[size]} ${style.wrapper} ${className || ''} ${isActive ? style[`${palette}_active`] : style[palette]}`,
120
121
  dataId: dataId,
121
122
  dataSelectorId: dataSelectorId,
122
123
  onClick: this.triggerClick,
@@ -1,22 +1,49 @@
1
1
  .varClass {
2
2
  --iconColor: var(--zdt_iconButton_icon_black);
3
3
  }
4
+
4
5
  .wrapper {
5
- height: var(--zd_size28) ;
6
- width: var(--zd_size28) ;
7
6
  composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
7
  composes: varClass;
9
8
  color: var(--iconColor);
10
9
  cursor: pointer;
11
10
  }
11
+
12
+ .xsmall {
13
+ width: var(--zd_size16) ;
14
+ height: var(--zd_size16) ;
15
+ }
16
+
17
+ .small {
18
+ width: var(--zd_size20) ;
19
+ height: var(--zd_size20) ;
20
+ }
21
+
22
+ .medium {
23
+ width: var(--zd_size24) ;
24
+ height: var(--zd_size24) ;
25
+ }
26
+
27
+ .large {
28
+ width: var(--zd_size28) ;
29
+ height: var(--zd_size28) ;
30
+ }
31
+
32
+ .xlarge {
33
+ width: var(--zd_size32) ;
34
+ height: var(--zd_size32) ;
35
+ }
36
+
12
37
  .primary {
13
38
  --iconColor: var(--zdt_iconButton_icon_primary);
14
39
  }
40
+
15
41
  .primary:hover {
16
42
  --iconColor: var(--zdt_iconButton_icon_primaryHover);
17
43
  }
44
+
18
45
  .primary_active,
19
46
  .primaryFilled,
20
47
  .primaryFilled_active {
21
48
  --iconColor: var(--zdt_iconButton_icon_primaryActive);
22
- }
49
+ }
@@ -26,6 +26,15 @@ describe('IconButton', () => {
26
26
  }));
27
27
  expect(asFragment()).toMatchSnapshot();
28
28
  });
29
+ const sizes = ['xsmall', 'small', 'medium', 'large', 'xlarge'];
30
+ test.each(sizes)('rendering the size of- %s', size => {
31
+ const {
32
+ asFragment
33
+ } = render( /*#__PURE__*/React.createElement(IconButton, {
34
+ size: size
35
+ }));
36
+ expect(asFragment()).toMatchSnapshot();
37
+ });
29
38
  const hoverType = ['default', 'border', 'bg'];
30
39
  test.each(hoverType)('rendering the hovertypes- %s', hoverType => {
31
40
  const {
@@ -4,7 +4,7 @@ exports[`IconButton Checking the "Children" 1`] = `
4
4
  <DocumentFragment>
5
5
  <button
6
6
  aria-pressed="false"
7
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
7
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
8
8
  data-id="iconContainer"
9
9
  data-ishtml="false"
10
10
  data-selector-id="iconButton"
@@ -27,7 +27,7 @@ exports[`IconButton eleRef prop is a function 1`] = `
27
27
  <DocumentFragment>
28
28
  <button
29
29
  aria-pressed="false"
30
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
30
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
31
31
  data-id="iconContainer"
32
32
  data-ishtml="false"
33
33
  data-selector-id="iconButton"
@@ -45,7 +45,7 @@ exports[`IconButton rendering ally 1`] = `
45
45
  aria-label="ariaLabel"
46
46
  aria-labelledby="ariaLabelledby"
47
47
  aria-pressed="false"
48
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
48
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
49
49
  data-id="iconContainer"
50
50
  data-ishtml="false"
51
51
  data-selector-id="iconButton"
@@ -60,7 +60,7 @@ exports[`IconButton rendering ally 2`] = `
60
60
  aria-expanded="false"
61
61
  aria-haspopup="false"
62
62
  aria-pressed="false"
63
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
63
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
64
64
  data-id="iconContainer"
65
65
  data-ishtml="false"
66
66
  data-selector-id="iconButton"
@@ -73,7 +73,7 @@ exports[`IconButton rendering in ClassName 1`] = `
73
73
  <DocumentFragment>
74
74
  <button
75
75
  aria-pressed="false"
76
- class="buttonReset wrapper IconButtonClass undefined effect default border defaultHover hoverEffect inflex coldir both"
76
+ class="buttonReset large wrapper IconButtonClass undefined effect default border defaultHover hoverEffect inflex coldir both"
77
77
  data-id="iconContainer"
78
78
  data-ishtml="false"
79
79
  data-selector-id="iconButton"
@@ -86,7 +86,7 @@ exports[`IconButton rendering in Icon 1`] = `
86
86
  <DocumentFragment>
87
87
  <button
88
88
  aria-pressed="false"
89
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
89
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
90
90
  data-id="iconContainer"
91
91
  data-ishtml="false"
92
92
  data-selector-id="iconButton"
@@ -108,7 +108,7 @@ exports[`IconButton rendering in dataIsHtml is True 1`] = `
108
108
  <DocumentFragment>
109
109
  <button
110
110
  aria-pressed="false"
111
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
111
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
112
112
  data-id="iconContainer"
113
113
  data-ishtml="true"
114
114
  data-selector-id="iconButton"
@@ -121,7 +121,7 @@ exports[`IconButton rendering in isDisabled is True 1`] = `
121
121
  <DocumentFragment>
122
122
  <button
123
123
  aria-pressed="false"
124
- class="buttonReset wrapper undefined effect default border defaultHover disabled inflex coldir both"
124
+ class="buttonReset large wrapper undefined effect default border defaultHover disabled inflex coldir both"
125
125
  data-id="iconContainer"
126
126
  data-ishtml="false"
127
127
  data-selector-id="iconButton"
@@ -135,7 +135,7 @@ exports[`IconButton rendering in title 1`] = `
135
135
  <DocumentFragment>
136
136
  <button
137
137
  aria-pressed="false"
138
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
138
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
139
139
  data-id="iconContainer"
140
140
  data-ishtml="false"
141
141
  data-selector-id="iconButton"
@@ -149,7 +149,7 @@ exports[`IconButton rendering isNeedEffect is False 1`] = `
149
149
  <DocumentFragment>
150
150
  <button
151
151
  aria-pressed="false"
152
- class="buttonReset wrapper undefined inflex coldir both"
152
+ class="buttonReset large wrapper undefined inflex coldir both"
153
153
  data-id="iconContainer"
154
154
  data-ishtml="false"
155
155
  data-selector-id="iconButton"
@@ -162,7 +162,7 @@ exports[`IconButton rendering needButtonTag 1`] = `
162
162
  <DocumentFragment>
163
163
  <div
164
164
  aria-pressed="false"
165
- class="false wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
165
+ class="large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
166
166
  data-id="iconContainer"
167
167
  data-ishtml="false"
168
168
  data-selector-id="iconButton"
@@ -175,7 +175,7 @@ exports[`IconButton rendering the defult props 1`] = `
175
175
  <DocumentFragment>
176
176
  <button
177
177
  aria-pressed="false"
178
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
178
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
179
179
  data-id="iconContainer"
180
180
  data-ishtml="false"
181
181
  data-selector-id="iconButton"
@@ -188,7 +188,7 @@ exports[`IconButton rendering the hovertypes- bg 1`] = `
188
188
  <DocumentFragment>
189
189
  <button
190
190
  aria-pressed="false"
191
- class="buttonReset wrapper undefined effect default border bgHover hoverEffect inflex coldir both"
191
+ class="buttonReset large wrapper undefined effect default border bgHover hoverEffect inflex coldir both"
192
192
  data-id="iconContainer"
193
193
  data-ishtml="false"
194
194
  data-selector-id="iconButton"
@@ -201,7 +201,7 @@ exports[`IconButton rendering the hovertypes- border 1`] = `
201
201
  <DocumentFragment>
202
202
  <button
203
203
  aria-pressed="false"
204
- class="buttonReset wrapper undefined effect default border borderHover hoverEffect inflex coldir both"
204
+ class="buttonReset large wrapper undefined effect default border borderHover hoverEffect inflex coldir both"
205
205
  data-id="iconContainer"
206
206
  data-ishtml="false"
207
207
  data-selector-id="iconButton"
@@ -214,7 +214,7 @@ exports[`IconButton rendering the hovertypes- default 1`] = `
214
214
  <DocumentFragment>
215
215
  <button
216
216
  aria-pressed="false"
217
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
217
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
218
218
  data-id="iconContainer"
219
219
  data-ishtml="false"
220
220
  data-selector-id="iconButton"
@@ -227,7 +227,7 @@ exports[`IconButton rendering the isActive true with palette of- default 1`] = `
227
227
  <DocumentFragment>
228
228
  <button
229
229
  aria-pressed="false"
230
- class="buttonReset wrapper undefined effect default border defaultHover active hoverEffect inflex coldir both"
230
+ class="buttonReset large wrapper undefined effect default border defaultHover active hoverEffect inflex coldir both"
231
231
  data-id="iconContainer"
232
232
  data-ishtml="false"
233
233
  data-selector-id="iconButton"
@@ -240,7 +240,7 @@ exports[`IconButton rendering the isActive true with palette of- primary 1`] = `
240
240
  <DocumentFragment>
241
241
  <button
242
242
  aria-pressed="false"
243
- class="buttonReset wrapper primary_active effect primary border defaultHover active hoverEffect inflex coldir both"
243
+ class="buttonReset large wrapper primary_active effect primary border defaultHover active hoverEffect inflex coldir both"
244
244
  data-id="iconContainer"
245
245
  data-ishtml="false"
246
246
  data-selector-id="iconButton"
@@ -253,7 +253,7 @@ exports[`IconButton rendering the isActive true with palette of- primaryFilled 1
253
253
  <DocumentFragment>
254
254
  <button
255
255
  aria-pressed="false"
256
- class="buttonReset wrapper primaryFilled_active effect primaryFilled border defaultHover active hoverEffect inflex coldir both"
256
+ class="buttonReset large wrapper primaryFilled_active effect primaryFilled border defaultHover active hoverEffect inflex coldir both"
257
257
  data-id="iconContainer"
258
258
  data-ishtml="false"
259
259
  data-selector-id="iconButton"
@@ -266,7 +266,7 @@ exports[`IconButton rendering the palette of- default 1`] = `
266
266
  <DocumentFragment>
267
267
  <button
268
268
  aria-pressed="false"
269
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
269
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
270
270
  data-id="iconContainer"
271
271
  data-ishtml="false"
272
272
  data-selector-id="iconButton"
@@ -279,7 +279,7 @@ exports[`IconButton rendering the palette of- primary 1`] = `
279
279
  <DocumentFragment>
280
280
  <button
281
281
  aria-pressed="false"
282
- class="buttonReset wrapper primary effect primary border defaultHover hoverEffect inflex coldir both"
282
+ class="buttonReset large wrapper primary effect primary border defaultHover hoverEffect inflex coldir both"
283
283
  data-id="iconContainer"
284
284
  data-ishtml="false"
285
285
  data-selector-id="iconButton"
@@ -292,7 +292,72 @@ exports[`IconButton rendering the palette of- primaryFilled 1`] = `
292
292
  <DocumentFragment>
293
293
  <button
294
294
  aria-pressed="false"
295
- class="buttonReset wrapper primaryFilled effect primaryFilled border defaultHover hoverEffect inflex coldir both"
295
+ class="buttonReset large wrapper primaryFilled effect primaryFilled border defaultHover hoverEffect inflex coldir both"
296
+ data-id="iconContainer"
297
+ data-ishtml="false"
298
+ data-selector-id="iconButton"
299
+ data-test-id="iconContainer"
300
+ />
301
+ </DocumentFragment>
302
+ `;
303
+
304
+ exports[`IconButton rendering the size of- large 1`] = `
305
+ <DocumentFragment>
306
+ <button
307
+ aria-pressed="false"
308
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
309
+ data-id="iconContainer"
310
+ data-ishtml="false"
311
+ data-selector-id="iconButton"
312
+ data-test-id="iconContainer"
313
+ />
314
+ </DocumentFragment>
315
+ `;
316
+
317
+ exports[`IconButton rendering the size of- medium 1`] = `
318
+ <DocumentFragment>
319
+ <button
320
+ aria-pressed="false"
321
+ class="buttonReset medium wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
322
+ data-id="iconContainer"
323
+ data-ishtml="false"
324
+ data-selector-id="iconButton"
325
+ data-test-id="iconContainer"
326
+ />
327
+ </DocumentFragment>
328
+ `;
329
+
330
+ exports[`IconButton rendering the size of- small 1`] = `
331
+ <DocumentFragment>
332
+ <button
333
+ aria-pressed="false"
334
+ class="buttonReset small wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
335
+ data-id="iconContainer"
336
+ data-ishtml="false"
337
+ data-selector-id="iconButton"
338
+ data-test-id="iconContainer"
339
+ />
340
+ </DocumentFragment>
341
+ `;
342
+
343
+ exports[`IconButton rendering the size of- xlarge 1`] = `
344
+ <DocumentFragment>
345
+ <button
346
+ aria-pressed="false"
347
+ class="buttonReset xlarge wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
348
+ data-id="iconContainer"
349
+ data-ishtml="false"
350
+ data-selector-id="iconButton"
351
+ data-test-id="iconContainer"
352
+ />
353
+ </DocumentFragment>
354
+ `;
355
+
356
+ exports[`IconButton rendering the size of- xsmall 1`] = `
357
+ <DocumentFragment>
358
+ <button
359
+ aria-pressed="false"
360
+ class="buttonReset xsmall wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
296
361
  data-id="iconContainer"
297
362
  data-ishtml="false"
298
363
  data-selector-id="iconButton"
@@ -305,7 +370,7 @@ exports[`IconButton rendering tourId 1`] = `
305
370
  <DocumentFragment>
306
371
  <button
307
372
  aria-pressed="false"
308
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
373
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
309
374
  data-id="iconContainer"
310
375
  data-ishtml="false"
311
376
  data-selector-id="iconButton"
@@ -1,6 +1,7 @@
1
1
  export const defaultProps = {
2
2
  palette: 'default',
3
3
  iconSize: '13',
4
+ size: 'large',
4
5
  className: '',
5
6
  iconClass: '',
6
7
  dataId: 'iconContainer',
@@ -9,6 +9,7 @@ export const propTypes = {
9
9
  iconClass: PropTypes.string,
10
10
  iconName: PropTypes.string,
11
11
  iconSize: PropTypes.string,
12
+ size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large', 'xlarge']),
12
13
  isActive: PropTypes.bool,
13
14
  isBold: PropTypes.bool,
14
15
  isDisabled: PropTypes.bool,
@@ -761,7 +761,7 @@ exports[`AlertHeader renders with onClose function and closeTitle 1`] = `
761
761
  >
762
762
  <button
763
763
  aria-pressed="false"
764
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
764
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
765
765
  data-id="alertHeader_close"
766
766
  data-ishtml="false"
767
767
  data-selector-id="iconButton"
@@ -219,6 +219,6 @@ position: relative;
219
219
  left:var(--zd_size15)
220
220
  }
221
221
 
222
- .fieldClamp{
223
- --line-clamp-count: 3;
222
+ .lineClampPickListItem{
223
+ --line-clamp: var(--picklist-field-line-clamp,3);
224
224
  }
@@ -166,7 +166,7 @@ export default class TagsMultiSelect extends React.Component {
166
166
  TextBoxIconProps = {},
167
167
  TagWrapperProps = {},
168
168
  TagProps = {},
169
- listProps = {}
169
+ ListItemProps = {}
170
170
  } = customProps;
171
171
  const isEditable = !isReadOnly;
172
172
  return /*#__PURE__*/React.createElement("div", {
@@ -302,7 +302,7 @@ export default class TagsMultiSelect extends React.Component {
302
302
  isDisabled: listDisabled,
303
303
  customProps: listItemProps,
304
304
  customClass: listItemClass,
305
- ...listProps
305
+ ...ListItemProps
306
306
  }, isNew ? /*#__PURE__*/React.createElement(Container, {
307
307
  alignBox: "row",
308
308
  align: "vertical"
@@ -53,7 +53,7 @@ export const propTypes = {
53
53
  TextBoxIconProps: PropTypes.object,
54
54
  TagWrapperProps: PropTypes.object,
55
55
  TagProps: PropTypes.object,
56
- listProps: PropTypes.object
56
+ ListItemProps: PropTypes.object
57
57
  }),
58
58
  isFocus: PropTypes.bool
59
59
  };
@@ -14,7 +14,7 @@ exports[`TextEditorField rendering the defult props 1`] = `
14
14
  data-selector-id="textEditorWrapper"
15
15
  >
16
16
  <textarea
17
- class="textBox container xsmall primary needBorder noresize effect borderColor_default"
17
+ class="textBox container xsmall defaultWidth primary needBorder noresize effect borderColor_default"
18
18
  data-id="TextareaComp"
19
19
  data-selector-id="textarea"
20
20
  data-test-id="TextareaComp"
@@ -7,7 +7,7 @@ exports[`TextEditorWrapper rendering the defult props 1`] = `
7
7
  data-selector-id="textEditorWrapper"
8
8
  >
9
9
  <textarea
10
- class="textBox container small primary needBorder noresize smallanimated effect borderColor_default"
10
+ class="textBox container small defaultWidth primary needBorder noresize smallanimated effect borderColor_default"
11
11
  data-id="TextareaComp"
12
12
  data-selector-id="textarea"
13
13
  data-test-id="TextareaComp"
@@ -10,7 +10,7 @@ exports[`TextareaField rendering the defult props 1`] = `
10
10
  class="fieldContainer "
11
11
  >
12
12
  <textarea
13
- class=" container xsmall primary needBorder resizeY xsmallanimated effect borderColor_default"
13
+ class=" container xsmall defaultWidth primary needBorder resizeY xsmallanimated effect borderColor_default"
14
14
  data-id="property(undefined)"
15
15
  data-selector-id="textarea"
16
16
  data-test-id="property(undefined)"
@@ -52,7 +52,7 @@ class DepartmentDropDown extends Component {
52
52
  customProps
53
53
  } = this.props;
54
54
  const {
55
- toggleDropDownProps = {}
55
+ ToggleDropDownProps = {}
56
56
  } = customProps;
57
57
  let {
58
58
  title = 'Move Department',
@@ -89,7 +89,7 @@ class DepartmentDropDown extends Component {
89
89
  isNextOptions: isNextOptions,
90
90
  onSearch: onSearch,
91
91
  needSearchFetching: needSearchFetching,
92
- ...toggleDropDownProps
92
+ ...ToggleDropDownProps
93
93
  });
94
94
  }
95
95
 
@@ -22,6 +22,6 @@ export const propTypes = {
22
22
  placeholder: PropTypes.string
23
23
  }),
24
24
  customProps: PropTypes.shape({
25
- toggleDropDownProps: PropTypes.object
25
+ ToggleDropDownProps: PropTypes.object
26
26
  })
27
27
  };
@@ -37,7 +37,7 @@
37
37
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
38
38
  }
39
39
  .multiLineValue {
40
- composes: listItemClamp from '~@zohodesk/components/lib/common/common.module.css';
40
+ composes: lineClamp from '~@zohodesk/components/lib/common/common.module.css';
41
41
  }
42
42
  [dir=ltr] .withBorder.active {
43
43
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -4,7 +4,7 @@ exports[`AlphabeticList rendering the defult props 1`] = `
4
4
  <DocumentFragment>
5
5
  <button
6
6
  aria-pressed="false"
7
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
7
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
8
8
  data-id="closeButton"
9
9
  data-ishtml="false"
10
10
  data-selector-id="iconButton"
@@ -38,7 +38,7 @@ exports[`TicketHeader rendering the defult props 1`] = `
38
38
  >
39
39
  <button
40
40
  aria-pressed="false"
41
- class="buttonReset wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
41
+ class="buttonReset large wrapper undefined effect default border defaultHover hoverEffect inflex coldir both"
42
42
  data-id="close"
43
43
  data-ishtml="false"
44
44
  data-selector-id="iconButton"
@@ -164,8 +164,7 @@ export default class TagsMultiSelect extends React.Component {
164
164
  const {
165
165
  TextBoxIconProps = {},
166
166
  TagWrapperProps = {},
167
- TagProps = {},
168
- listProps = {}
167
+ TagProps = {}
169
168
  } = customProps;
170
169
  return /*#__PURE__*/React.createElement("div", {
171
170
  className: `${style.container} ${!isReadOnly ? ` ${needBorder ? style.hasBorder : ''}
@@ -299,8 +298,7 @@ export default class TagsMultiSelect extends React.Component {
299
298
  getRef: this.getSelectedItemRef,
300
299
  isDisabled: listDisabled,
301
300
  customProps: listItemProps,
302
- customClass: listItemClass,
303
- ...listProps
301
+ customClass: listItemClass
304
302
  }, isNew ? /*#__PURE__*/React.createElement(Container, {
305
303
  alignBox: "row",
306
304
  align: "vertical"
@@ -52,7 +52,6 @@ export const propTypes = {
52
52
  customProps: PropTypes.shape({
53
53
  TextBoxIconProps: PropTypes.object,
54
54
  TagWrapperProps: PropTypes.object,
55
- TagProps: PropTypes.object,
56
- listProps: PropTypes.object
55
+ TagProps: PropTypes.object
57
56
  })
58
57
  };
@@ -21,12 +21,8 @@ function DepartmentDropDown(props) {
21
21
  searchStr,
22
22
  i18nKeys,
23
23
  onMoveDepartment,
24
- getDepartment,
25
- customProps
24
+ getDepartment
26
25
  } = props;
27
- const {
28
- toggleDropDownProps = {}
29
- } = customProps;
30
26
  let {
31
27
  title = 'Move Department',
32
28
  searchEmptyText = 'No results found',
@@ -75,8 +71,7 @@ function DepartmentDropDown(props) {
75
71
  getNextOptions: getNextOptions,
76
72
  isNextOptions: isNextOptions,
77
73
  onSearch: onSearch,
78
- needSearchFetching: needSearchFetching,
79
- ...toggleDropDownProps
74
+ needSearchFetching: needSearchFetching
80
75
  });
81
76
  }
82
77
 
@@ -3,6 +3,5 @@ export const defaultProps = {
3
3
  isPopupActive: true,
4
4
  isNextOptions: false,
5
5
  searchStr: '',
6
- i18nKeys: {},
7
- customProps: {}
6
+ i18nKeys: {}
8
7
  };
@@ -20,8 +20,5 @@ export const propTypes = {
20
20
  searchEmptyText: PropTypes.string,
21
21
  searchErrorText: PropTypes.string,
22
22
  placeholder: PropTypes.string
23
- }),
24
- customProps: PropTypes.shape({
25
- toggleDropDownProps: PropTypes.object
26
23
  })
27
24
  };
@@ -79,7 +79,7 @@ exports[`AttachmentViewer rendering the when isActive is true 1`] = `
79
79
  >
80
80
  <div
81
81
  aria-pressed="false"
82
- class="false wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
82
+ class="large wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
83
83
  data-id="iconContainer"
84
84
  data-ishtml="false"
85
85
  data-selector-id="iconButton"
@@ -103,7 +103,7 @@ exports[`AttachmentViewer rendering the when isActive is true 1`] = `
103
103
  >
104
104
  <button
105
105
  aria-pressed="false"
106
- class="buttonReset wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
106
+ class="buttonReset large wrapper menuIcon undefined effect default border borderHover hoverEffect inflex coldir both"
107
107
  data-id="iconContainer"
108
108
  data-ishtml="false"
109
109
  data-selector-id="iconButton"
@@ -361,7 +361,7 @@ exports[`AttachmentViewer rendering the when isActive is true 1`] = `
361
361
  </div>
362
362
  <button
363
363
  aria-pressed="false"
364
- class="buttonReset wrapper button undefined effect default border borderHover hoverEffect inflex coldir both"
364
+ class="buttonReset large wrapper button undefined effect default border borderHover hoverEffect inflex coldir both"
365
365
  data-id="attachToggle"
366
366
  data-ishtml="false"
367
367
  data-selector-id="iconButton"