@zohodesk/dot 1.0.0-temp-187.2 → 1.0.0-temp-200

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 (44) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +4 -0
  3. package/es/Attachment/Attachment.js +2 -1
  4. package/es/Attachment/Attachment.module.css +7 -3
  5. package/es/AttachmentViewer/Attachment.js +60 -1
  6. package/es/AttachmentViewer/AttachmentViewer.js +146 -12
  7. package/es/AttachmentViewer/AttachmentViewer.module.css +124 -4
  8. package/es/DotProvider/__tests__/DotProvider.spec.js +174 -0
  9. package/es/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +478 -0
  10. package/es/common/dot_common.module.css +35 -0
  11. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -4
  12. package/es/list/DepartmentDropDown/DepartmentDropDown.js +2 -7
  13. package/es/list/DepartmentDropDown/props/defaultProps.js +1 -2
  14. package/es/list/DepartmentDropDown/props/propTypes.js +1 -2
  15. package/es/list/status/StatusListItem/StatusListItem.module.css +5 -35
  16. package/es/lookup/header/Search/LookupSearch.module.css +33 -27
  17. package/es/lookup/header/Search/Search.js +58 -40
  18. package/es/lookup/header/Search/__tests__/Search.spec.js +67 -1
  19. package/es/lookup/header/Search/__tests__/__snapshots__/Search.spec.js.snap +316 -3
  20. package/es/lookup/header/Search/props/defaultProps.js +3 -1
  21. package/es/lookup/header/Search/props/propTypes.js +6 -1
  22. package/lib/Attachment/Attachment.js +3 -1
  23. package/lib/Attachment/Attachment.module.css +7 -3
  24. package/lib/AttachmentViewer/Attachment.js +88 -1
  25. package/lib/AttachmentViewer/AttachmentViewer.js +147 -13
  26. package/lib/AttachmentViewer/AttachmentViewer.module.css +124 -4
  27. package/lib/DotProvider/__tests__/DotProvider.spec.js +441 -0
  28. package/lib/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +478 -0
  29. package/lib/common/dot_common.module.css +35 -0
  30. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -5
  31. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -8
  32. package/lib/list/DepartmentDropDown/props/defaultProps.js +1 -2
  33. package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
  34. package/lib/list/status/StatusListItem/StatusListItem.module.css +5 -35
  35. package/lib/lookup/header/Search/LookupSearch.module.css +33 -27
  36. package/lib/lookup/header/Search/Search.js +76 -66
  37. package/lib/lookup/header/Search/__tests__/Search.spec.js +65 -0
  38. package/lib/lookup/header/Search/__tests__/__snapshots__/Search.spec.js.snap +316 -3
  39. package/lib/lookup/header/Search/props/defaultProps.js +3 -1
  40. package/lib/lookup/header/Search/props/propTypes.js +6 -1
  41. package/package.json +8 -8
  42. package/result.json +1 -1
  43. package/unittest/index.html +2 -6
  44. /package/images/{audio_thumbnail.png → audio_thumbnail_old.png} +0 -0
@@ -0,0 +1,478 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`DotProvider Snapshot rendering the additional ...rest props 1`] = `
4
+ <DocumentFragment>
5
+ <div
6
+ class="testClass"
7
+ data-id="test-id"
8
+ data-mode="light"
9
+ data-theme="blue"
10
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
11
+ >
12
+ This is a DotProvider component
13
+ </div>
14
+ </DocumentFragment>
15
+ `;
16
+
17
+ exports[`DotProvider Snapshot rendering the baseFontUnit props of 1 1`] = `
18
+ <DocumentFragment>
19
+ <div
20
+ data-mode="light"
21
+ data-theme="blue"
22
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 1;"
23
+ />
24
+ </DocumentFragment>
25
+ `;
26
+
27
+ exports[`DotProvider Snapshot rendering the baseFontUnit props of 1em 1`] = `
28
+ <DocumentFragment>
29
+ <div
30
+ data-mode="light"
31
+ data-theme="blue"
32
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 1em;"
33
+ />
34
+ </DocumentFragment>
35
+ `;
36
+
37
+ exports[`DotProvider Snapshot rendering the baseFontUnit props of 1px 1`] = `
38
+ <DocumentFragment>
39
+ <div
40
+ data-mode="light"
41
+ data-theme="blue"
42
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 1px;"
43
+ />
44
+ </DocumentFragment>
45
+ `;
46
+
47
+ exports[`DotProvider Snapshot rendering the baseFontUnit props of 1rem 1`] = `
48
+ <DocumentFragment>
49
+ <div
50
+ data-mode="light"
51
+ data-theme="blue"
52
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 1rem;"
53
+ />
54
+ </DocumentFragment>
55
+ `;
56
+
57
+ exports[`DotProvider Snapshot rendering the baseZoomUnit props of 0.5 1`] = `
58
+ <DocumentFragment>
59
+ <div
60
+ data-mode="light"
61
+ data-theme="blue"
62
+ style="--zd_baseUnit: 0.5px; --zd_baseFontUnit: 16px;"
63
+ />
64
+ </DocumentFragment>
65
+ `;
66
+
67
+ exports[`DotProvider Snapshot rendering the baseZoomUnit props of 0.8 1`] = `
68
+ <DocumentFragment>
69
+ <div
70
+ data-mode="light"
71
+ data-theme="blue"
72
+ style="--zd_baseUnit: 0.8px; --zd_baseFontUnit: 16px;"
73
+ />
74
+ </DocumentFragment>
75
+ `;
76
+
77
+ exports[`DotProvider Snapshot rendering the baseZoomUnit props of 1 1`] = `
78
+ <DocumentFragment>
79
+ <div
80
+ data-mode="light"
81
+ data-theme="blue"
82
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
83
+ />
84
+ </DocumentFragment>
85
+ `;
86
+
87
+ exports[`DotProvider Snapshot rendering the baseZoomUnit props of 1.2 1`] = `
88
+ <DocumentFragment>
89
+ <div
90
+ data-mode="light"
91
+ data-theme="blue"
92
+ style="--zd_baseUnit: 1.2px; --zd_baseFontUnit: 16px;"
93
+ />
94
+ </DocumentFragment>
95
+ `;
96
+
97
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of blue 1`] = `
98
+ <DocumentFragment>
99
+ <div
100
+ data-desk-mode="dark"
101
+ data-desk-theme="blue"
102
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
103
+ />
104
+ </DocumentFragment>
105
+ `;
106
+
107
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of green 1`] = `
108
+ <DocumentFragment>
109
+ <div
110
+ data-desk-mode="dark"
111
+ data-desk-theme="green"
112
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
113
+ />
114
+ </DocumentFragment>
115
+ `;
116
+
117
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of orange 1`] = `
118
+ <DocumentFragment>
119
+ <div
120
+ data-desk-mode="dark"
121
+ data-desk-theme="orange"
122
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
123
+ />
124
+ </DocumentFragment>
125
+ `;
126
+
127
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of red 1`] = `
128
+ <DocumentFragment>
129
+ <div
130
+ data-desk-mode="dark"
131
+ data-desk-theme="red"
132
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
133
+ />
134
+ </DocumentFragment>
135
+ `;
136
+
137
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of yellow 1`] = `
138
+ <DocumentFragment>
139
+ <div
140
+ data-desk-mode="dark"
141
+ data-desk-theme="yellow"
142
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
143
+ />
144
+ </DocumentFragment>
145
+ `;
146
+
147
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of blue 1`] = `
148
+ <DocumentFragment>
149
+ <div
150
+ data-desk-mode="light"
151
+ data-desk-theme="blue"
152
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
153
+ />
154
+ </DocumentFragment>
155
+ `;
156
+
157
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of green 1`] = `
158
+ <DocumentFragment>
159
+ <div
160
+ data-desk-mode="light"
161
+ data-desk-theme="green"
162
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
163
+ />
164
+ </DocumentFragment>
165
+ `;
166
+
167
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of orange 1`] = `
168
+ <DocumentFragment>
169
+ <div
170
+ data-desk-mode="light"
171
+ data-desk-theme="orange"
172
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
173
+ />
174
+ </DocumentFragment>
175
+ `;
176
+
177
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of red 1`] = `
178
+ <DocumentFragment>
179
+ <div
180
+ data-desk-mode="light"
181
+ data-desk-theme="red"
182
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
183
+ />
184
+ </DocumentFragment>
185
+ `;
186
+
187
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of yellow 1`] = `
188
+ <DocumentFragment>
189
+ <div
190
+ data-desk-mode="light"
191
+ data-desk-theme="yellow"
192
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
193
+ />
194
+ </DocumentFragment>
195
+ `;
196
+
197
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of blue 1`] = `
198
+ <DocumentFragment>
199
+ <div
200
+ data-desk-mode="pureDark"
201
+ data-desk-theme="blue"
202
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
203
+ />
204
+ </DocumentFragment>
205
+ `;
206
+
207
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of green 1`] = `
208
+ <DocumentFragment>
209
+ <div
210
+ data-desk-mode="pureDark"
211
+ data-desk-theme="green"
212
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
213
+ />
214
+ </DocumentFragment>
215
+ `;
216
+
217
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of orange 1`] = `
218
+ <DocumentFragment>
219
+ <div
220
+ data-desk-mode="pureDark"
221
+ data-desk-theme="orange"
222
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
223
+ />
224
+ </DocumentFragment>
225
+ `;
226
+
227
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of red 1`] = `
228
+ <DocumentFragment>
229
+ <div
230
+ data-desk-mode="pureDark"
231
+ data-desk-theme="red"
232
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
233
+ />
234
+ </DocumentFragment>
235
+ `;
236
+
237
+ exports[`DotProvider Snapshot rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of yellow 1`] = `
238
+ <DocumentFragment>
239
+ <div
240
+ data-desk-mode="pureDark"
241
+ data-desk-theme="yellow"
242
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
243
+ />
244
+ </DocumentFragment>
245
+ `;
246
+
247
+ exports[`DotProvider Snapshot rendering the default attributes, styles and modified the tag props 1`] = `
248
+ <DocumentFragment>
249
+ <span
250
+ data-mode="light"
251
+ data-theme="blue"
252
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
253
+ >
254
+ This is a DotProvider component
255
+ </span>
256
+ </DocumentFragment>
257
+ `;
258
+
259
+ exports[`DotProvider Snapshot rendering the default attributes, styles and modifying the tag prop to React.Fragment 1`] = `
260
+ <html
261
+ data-mode="light"
262
+ data-theme="blue"
263
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
264
+ >
265
+ <head />
266
+ <body>
267
+ <div>
268
+ This is a DotProvider component
269
+ </div>
270
+ </body>
271
+ </html>
272
+ `;
273
+
274
+ exports[`DotProvider Snapshot rendering the default props 1`] = `
275
+ <DocumentFragment>
276
+ <div
277
+ data-mode="light"
278
+ data-theme="blue"
279
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
280
+ >
281
+ This is a DotProvider component
282
+ </div>
283
+ </DocumentFragment>
284
+ `;
285
+
286
+ exports[`DotProvider Snapshot rendering the fontUnitVariable prop along with baseFontUnit props 1`] = `
287
+ <DocumentFragment>
288
+ <div
289
+ data-mode="light"
290
+ data-theme="blue"
291
+ style="--zd_baseUnit: 1px; --gc_baseFontUnit: 14px;"
292
+ >
293
+ This is a DotProvider component
294
+ </div>
295
+ </DocumentFragment>
296
+ `;
297
+
298
+ exports[`DotProvider Snapshot rendering the providerRef props 1`] = `
299
+ <DocumentFragment>
300
+ <div>
301
+ This is a DotProvider component
302
+ </div>
303
+ </DocumentFragment>
304
+ `;
305
+
306
+ exports[`DotProvider Snapshot rendering the theme-appearance of dark along with theme-color of blue 1`] = `
307
+ <DocumentFragment>
308
+ <div
309
+ data-mode="dark"
310
+ data-theme="blue"
311
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
312
+ />
313
+ </DocumentFragment>
314
+ `;
315
+
316
+ exports[`DotProvider Snapshot rendering the theme-appearance of dark along with theme-color of green 1`] = `
317
+ <DocumentFragment>
318
+ <div
319
+ data-mode="dark"
320
+ data-theme="green"
321
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
322
+ />
323
+ </DocumentFragment>
324
+ `;
325
+
326
+ exports[`DotProvider Snapshot rendering the theme-appearance of dark along with theme-color of orange 1`] = `
327
+ <DocumentFragment>
328
+ <div
329
+ data-mode="dark"
330
+ data-theme="orange"
331
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
332
+ />
333
+ </DocumentFragment>
334
+ `;
335
+
336
+ exports[`DotProvider Snapshot rendering the theme-appearance of dark along with theme-color of red 1`] = `
337
+ <DocumentFragment>
338
+ <div
339
+ data-mode="dark"
340
+ data-theme="red"
341
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
342
+ />
343
+ </DocumentFragment>
344
+ `;
345
+
346
+ exports[`DotProvider Snapshot rendering the theme-appearance of dark along with theme-color of yellow 1`] = `
347
+ <DocumentFragment>
348
+ <div
349
+ data-mode="dark"
350
+ data-theme="yellow"
351
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
352
+ />
353
+ </DocumentFragment>
354
+ `;
355
+
356
+ exports[`DotProvider Snapshot rendering the theme-appearance of light along with theme-color of blue 1`] = `
357
+ <DocumentFragment>
358
+ <div
359
+ data-mode="light"
360
+ data-theme="blue"
361
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
362
+ />
363
+ </DocumentFragment>
364
+ `;
365
+
366
+ exports[`DotProvider Snapshot rendering the theme-appearance of light along with theme-color of green 1`] = `
367
+ <DocumentFragment>
368
+ <div
369
+ data-mode="light"
370
+ data-theme="green"
371
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
372
+ />
373
+ </DocumentFragment>
374
+ `;
375
+
376
+ exports[`DotProvider Snapshot rendering the theme-appearance of light along with theme-color of orange 1`] = `
377
+ <DocumentFragment>
378
+ <div
379
+ data-mode="light"
380
+ data-theme="orange"
381
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
382
+ />
383
+ </DocumentFragment>
384
+ `;
385
+
386
+ exports[`DotProvider Snapshot rendering the theme-appearance of light along with theme-color of red 1`] = `
387
+ <DocumentFragment>
388
+ <div
389
+ data-mode="light"
390
+ data-theme="red"
391
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
392
+ />
393
+ </DocumentFragment>
394
+ `;
395
+
396
+ exports[`DotProvider Snapshot rendering the theme-appearance of light along with theme-color of yellow 1`] = `
397
+ <DocumentFragment>
398
+ <div
399
+ data-mode="light"
400
+ data-theme="yellow"
401
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
402
+ />
403
+ </DocumentFragment>
404
+ `;
405
+
406
+ exports[`DotProvider Snapshot rendering the theme-appearance of pureDark along with theme-color of blue 1`] = `
407
+ <DocumentFragment>
408
+ <div
409
+ data-mode="pureDark"
410
+ data-theme="blue"
411
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
412
+ />
413
+ </DocumentFragment>
414
+ `;
415
+
416
+ exports[`DotProvider Snapshot rendering the theme-appearance of pureDark along with theme-color of green 1`] = `
417
+ <DocumentFragment>
418
+ <div
419
+ data-mode="pureDark"
420
+ data-theme="green"
421
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
422
+ />
423
+ </DocumentFragment>
424
+ `;
425
+
426
+ exports[`DotProvider Snapshot rendering the theme-appearance of pureDark along with theme-color of orange 1`] = `
427
+ <DocumentFragment>
428
+ <div
429
+ data-mode="pureDark"
430
+ data-theme="orange"
431
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
432
+ />
433
+ </DocumentFragment>
434
+ `;
435
+
436
+ exports[`DotProvider Snapshot rendering the theme-appearance of pureDark along with theme-color of red 1`] = `
437
+ <DocumentFragment>
438
+ <div
439
+ data-mode="pureDark"
440
+ data-theme="red"
441
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
442
+ />
443
+ </DocumentFragment>
444
+ `;
445
+
446
+ exports[`DotProvider Snapshot rendering the theme-appearance of pureDark along with theme-color of yellow 1`] = `
447
+ <DocumentFragment>
448
+ <div
449
+ data-mode="pureDark"
450
+ data-theme="yellow"
451
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
452
+ />
453
+ </DocumentFragment>
454
+ `;
455
+
456
+ exports[`DotProvider Snapshot rendering the wrong themeAppearance and themeColor 1`] = `
457
+ <DocumentFragment>
458
+ <div
459
+ data-mode="ligt"
460
+ data-theme="gren"
461
+ style="--zd_baseUnit: 1px; --zd_baseFontUnit: 16px;"
462
+ >
463
+ This is a DotProvider component
464
+ </div>
465
+ </DocumentFragment>
466
+ `;
467
+
468
+ exports[`DotProvider Snapshot rendering the zoomUnitVariable prop along with baseZoomUnit props 1`] = `
469
+ <DocumentFragment>
470
+ <div
471
+ data-mode="light"
472
+ data-theme="blue"
473
+ style="--gc_baseUnit: 1.1px; --zd_baseFontUnit: 16px;"
474
+ >
475
+ This is a DotProvider component
476
+ </div>
477
+ </DocumentFragment>
478
+ `;
@@ -1,4 +1,39 @@
1
1
  .audioImage {
2
2
  background-image: url('../../images/audio_thumbnail.png');
3
3
  background-repeat: no-repeat;
4
+ }
5
+
6
+ .videoImage {
7
+ background-image: url('../../images/video_thumbnail.png');
8
+ background-repeat: no-repeat;
9
+ }
10
+
11
+ .pdfImage {
12
+ background-image: url('../../images/pdf_thumbnail.png');
13
+ background-repeat: no-repeat;
14
+ }
15
+
16
+ .writerImage {
17
+ background-image: url('../../images/writer_thumbnail.png');
18
+ background-repeat: no-repeat;
19
+ }
20
+
21
+ .showImage {
22
+ background-image: url('../../images/show_thumbnail.png');
23
+ background-repeat: no-repeat;
24
+ }
25
+
26
+ .sheetImage {
27
+ background-image: url('../../images/sheet_thumbnail.png');
28
+ background-repeat: no-repeat;
29
+ }
30
+
31
+ .mailImage {
32
+ background-image: url('../../images/mail_thumbnail.png');
33
+ background-repeat: no-repeat;
34
+ }
35
+
36
+ .otherImage {
37
+ background-image: url('../../images/otherfile_thumbnail.png');
38
+ background-repeat: no-repeat;
4
39
  }
@@ -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"
@@ -48,12 +48,8 @@ class DepartmentDropDown extends Component {
48
48
  onSearch,
49
49
  needSearchFetching,
50
50
  searchStr,
51
- i18nKeys,
52
- customProps
51
+ i18nKeys
53
52
  } = this.props;
54
- const {
55
- toggleDropDownProps = {}
56
- } = customProps;
57
53
  let {
58
54
  title = 'Move Department',
59
55
  searchEmptyText = 'No results found',
@@ -88,8 +84,7 @@ class DepartmentDropDown extends Component {
88
84
  getNextOptions: getNextOptions,
89
85
  isNextOptions: isNextOptions,
90
86
  onSearch: onSearch,
91
- needSearchFetching: needSearchFetching,
92
- ...toggleDropDownProps
87
+ needSearchFetching: needSearchFetching
93
88
  });
94
89
  }
95
90
 
@@ -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,6 +20,5 @@ export const propTypes = {
20
20
  searchEmptyText: PropTypes.string,
21
21
  searchErrorText: PropTypes.string,
22
22
  placeholder: PropTypes.string
23
- }),
24
- customProps: PropTypes.string
23
+ })
25
24
  };