@zohodesk/components 1.0.0-temp-198 → 1.0.0-temp-199

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 (136) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +230 -230
  2. package/.cli/PropValidationExcludeFilesArray.js +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/css_error.log +1 -1
  5. package/es/AppContainer/AppContainer.module.css +18 -18
  6. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  7. package/es/AvatarTeam/AvatarTeam.js +7 -7
  8. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  9. package/es/Button/Button.js +4 -4
  10. package/es/Buttongroup/Buttongroup.js +1 -1
  11. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  12. package/es/Card/Card.js +4 -4
  13. package/es/Card/Card.module.css +20 -20
  14. package/es/DateTime/DateWidget.module.css +38 -38
  15. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  16. package/es/DropDown/DropDown.module.css +5 -5
  17. package/es/DropDown/DropDownSearch.module.css +14 -14
  18. package/es/DropDown/DropDownSeparator.module.css +7 -7
  19. package/es/Heading/Heading.module.css +4 -4
  20. package/es/Label/Label.js +2 -2
  21. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  22. package/es/Layout/Layout.module.css +335 -335
  23. package/es/ListItem/ListItem.js +2 -2
  24. package/es/ListItem/ListItem.module.css +85 -18
  25. package/es/ListItem/ListItemWithAvatar.js +3 -3
  26. package/es/ListItem/ListItemWithIcon.js +2 -2
  27. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -2
  28. package/es/MultiSelect/AdvancedMultiSelect.js +2 -1
  29. package/es/MultiSelect/MultiSelect.js +8 -4
  30. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  31. package/es/MultiSelect/Suggestions.js +8 -4
  32. package/es/MultiSelect/props/defaultProps.js +8 -5
  33. package/es/MultiSelect/props/propTypes.js +6 -3
  34. package/es/Popup/PositionMapping.json +73 -73
  35. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  36. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  37. package/es/RippleEffect/RippleEffect.module.css +92 -92
  38. package/es/Select/GroupSelect.js +7 -2
  39. package/es/Select/Select.module.css +134 -134
  40. package/es/Select/SelectWithAvatar.js +7 -2
  41. package/es/Select/SelectWithIcon.js +7 -2
  42. package/es/Select/props/defaultProps.js +6 -3
  43. package/es/Select/props/propTypes.js +6 -3
  44. package/es/Stencils/Stencils.module.css +96 -96
  45. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  46. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  47. package/es/Tab/TabContent.module.css +4 -4
  48. package/es/Tab/Tabs.js +17 -17
  49. package/es/Tag/Tag.js +8 -8
  50. package/es/Tooltip/Tooltip.module.css +140 -140
  51. package/es/common/a11y.module.css +3 -3
  52. package/es/common/animation.module.css +624 -624
  53. package/es/common/avatarsizes.module.css +48 -48
  54. package/es/common/basic.module.css +33 -33
  55. package/es/common/basicReset.module.css +40 -40
  56. package/es/common/boxShadow.module.css +33 -33
  57. package/es/common/common.module.css +524 -524
  58. package/es/common/reset.module.css +13 -13
  59. package/es/common/transition.module.css +146 -146
  60. package/es/semantic/Button/semanticButton.module.css +9 -9
  61. package/es/v1/Avatar/Avatar.js +5 -5
  62. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  63. package/es/v1/Button/Button.js +4 -4
  64. package/es/v1/MultiSelect/MultiSelect.js +6 -7
  65. package/es/v1/Tab/v1TabContent.module.css +4 -4
  66. package/es/v1/Tag/Tag.js +8 -8
  67. package/es/v1/Typography/css/Typography.module.css +380 -380
  68. package/install.md +10 -10
  69. package/lib/AppContainer/AppContainer.module.css +18 -18
  70. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  71. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  72. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  73. package/lib/Button/Button.js +4 -4
  74. package/lib/Buttongroup/Buttongroup.js +1 -1
  75. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  76. package/lib/Card/Card.js +4 -4
  77. package/lib/Card/Card.module.css +20 -20
  78. package/lib/DateTime/DateWidget.module.css +38 -38
  79. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  80. package/lib/DropDown/DropDown.module.css +5 -5
  81. package/lib/DropDown/DropDownSearch.module.css +14 -14
  82. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  83. package/lib/Heading/Heading.module.css +4 -4
  84. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  85. package/lib/Layout/Layout.module.css +335 -335
  86. package/lib/ListItem/ListItem.js +2 -2
  87. package/lib/ListItem/ListItem.module.css +85 -18
  88. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  89. package/lib/ListItem/ListItemWithIcon.js +2 -2
  90. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  91. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -1
  92. package/lib/MultiSelect/MultiSelect.js +9 -5
  93. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  94. package/lib/MultiSelect/Suggestions.js +8 -4
  95. package/lib/MultiSelect/props/defaultProps.js +8 -5
  96. package/lib/MultiSelect/props/propTypes.js +8 -6
  97. package/lib/Popup/PositionMapping.json +73 -73
  98. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  99. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  100. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  101. package/lib/Select/GroupSelect.js +8 -3
  102. package/lib/Select/Select.module.css +134 -134
  103. package/lib/Select/SelectWithAvatar.js +8 -3
  104. package/lib/Select/SelectWithIcon.js +8 -3
  105. package/lib/Select/props/defaultProps.js +5 -3
  106. package/lib/Select/props/propTypes.js +6 -3
  107. package/lib/Stencils/Stencils.module.css +96 -96
  108. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  109. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  110. package/lib/Tab/TabContent.module.css +4 -4
  111. package/lib/Tab/Tabs.js +11 -11
  112. package/lib/Tag/Tag.js +8 -8
  113. package/lib/Tooltip/Tooltip.module.css +140 -140
  114. package/lib/common/a11y.module.css +3 -3
  115. package/lib/common/animation.module.css +624 -624
  116. package/lib/common/avatarsizes.module.css +48 -48
  117. package/lib/common/basic.module.css +33 -33
  118. package/lib/common/basicReset.module.css +40 -40
  119. package/lib/common/boxShadow.module.css +33 -33
  120. package/lib/common/common.module.css +524 -524
  121. package/lib/common/reset.module.css +13 -13
  122. package/lib/common/transition.module.css +146 -146
  123. package/lib/semantic/Button/semanticButton.module.css +9 -9
  124. package/lib/v1/Avatar/Avatar.js +5 -5
  125. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  126. package/lib/v1/Button/Button.js +4 -4
  127. package/lib/v1/MultiSelect/MultiSelect.js +6 -7
  128. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  129. package/lib/v1/Tag/Tag.js +8 -8
  130. package/lib/v1/Typography/css/Typography.module.css +380 -380
  131. package/package.json +3 -3
  132. package/postPublish.js +8 -8
  133. package/prePublish.js +70 -70
  134. package/propValidationArg.json +11 -11
  135. package/react-cli.config.js +23 -23
  136. package/result.json +1 -1
@@ -1,92 +1,92 @@
1
- .effect {
2
- position: relative;
3
- border-radius: var(--zd_size4);
4
- }
5
- .border {
6
- border: solid 1px var(--zdt_rippleeffect_default_border);
7
- }
8
- .default.defaultHover {
9
- border-color: var(--zdt_rippleeffect_hover_border);
10
- }
11
- .hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
12
- /* .hoverEffect:focus.primary.borderHover */
13
- {
14
- border-color: var(--zdt_rippleeffect_primary_border);
15
- }
16
- .primary.defaultHover, .hoverEffect:hover.primary.active.border
17
- /* .hoverEffect:focus.primary.active.border */
18
- {
19
- border-color: var(--zdt_rippleeffect_primary_active_border);
20
- }
21
- .primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
22
- /* .hoverEffect:focus.primaryLight.borderHover */
23
- {
24
- border-color: var(--zdt_rippleeffect_primary_light_border);
25
- }
26
- .green.defaultHover, .hoverEffect:hover.green.borderHover
27
- /* .hoverEffect:focus.green.borderHover */
28
- {
29
- border-color: var(--zdt_rippleeffect_green_border);
30
- }
31
- .hoverEffect:hover.default.defaultHover
32
- /* .hoverEffect:focus.default.defaultHover */
33
- {
34
- border-color: var(--zdt_rippleeffect_slate_border);
35
- }
36
- .hoverEffect:hover.default.borderHover
37
- /* .hoverEffect:focus.default.borderHover */
38
- {
39
- border-color: var(--zdt_rippleeffect_navy_border);
40
- }
41
- .hoverEffect:hover.default.bgHover
42
- /* .hoverEffect:focus.default.bgHover */
43
- {
44
- background-color: var(--zdt_rippleeffect_hover_bg);
45
- }
46
- .hoverEffect:hover.primaryLight.bgHover
47
- /* .hoverEffect:focus.primaryLight.bgHover */
48
- {
49
- background-color: var(--zdt_rippleeffect_primary_light_bg);
50
- }
51
- .primaryFilled {
52
- background-color: var(--zdt_rippleeffect_primary_bg);
53
- }
54
- .hoverEffect:hover.primaryFilled, .primaryFilled.active {
55
- background-color: var(--zdt_rippleeffect_primaryfilled_bg);
56
- }
57
- .hoverEffect:hover.green.bgHover
58
- /* .hoverEffect:focus.green.bgHover */
59
- {
60
- background-color: var(--zdt_rippleeffect_green_bg);
61
- }
62
- .default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
63
- background-color: var(--zdt_rippleeffect_primary_light_bg);
64
- }
65
- .default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
66
- border-color: var(--zdt_rippleeffect_primary_light_border);
67
- }
68
- .green.active {
69
- background-color: var(--zdt_rippleeffect_green_bg);
70
- }
71
- .green.active.border {
72
- border-color: var(--zdt_rippleeffect_green_border);
73
- }
74
- .primary.active {
75
- background-color: var(--zdt_rippleeffect_primary_bg);
76
- }
77
- .danger.defaultHover, .hoverEffect:hover.danger.borderHover
78
- /* .hoverEffect:focus.danger.borderHover */
79
- {
80
- border-color: var(--zdt_rippleeffect_danger_border);
81
- }
82
- .hoverEffect:hover.danger.bgHover, .danger.active {
83
- background-color: var(--zdt_rippleeffect_danger_bg);
84
- }
85
- .hoverEffect:hover.primaryDark.bgHover
86
- /* .hoverEffect:focus.primaryDark.bgHover */
87
- {
88
- background-color: var(--zdt_rippleeffect_primary_dark_bg);
89
- }
90
- .notAllowed {
91
- cursor: not-allowed;
92
- }
1
+ .effect {
2
+ position: relative;
3
+ border-radius: var(--zd_size4);
4
+ }
5
+ .border {
6
+ border: solid 1px var(--zdt_rippleeffect_default_border);
7
+ }
8
+ .default.defaultHover {
9
+ border-color: var(--zdt_rippleeffect_hover_border);
10
+ }
11
+ .hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
12
+ /* .hoverEffect:focus.primary.borderHover */
13
+ {
14
+ border-color: var(--zdt_rippleeffect_primary_border);
15
+ }
16
+ .primary.defaultHover, .hoverEffect:hover.primary.active.border
17
+ /* .hoverEffect:focus.primary.active.border */
18
+ {
19
+ border-color: var(--zdt_rippleeffect_primary_active_border);
20
+ }
21
+ .primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
22
+ /* .hoverEffect:focus.primaryLight.borderHover */
23
+ {
24
+ border-color: var(--zdt_rippleeffect_primary_light_border);
25
+ }
26
+ .green.defaultHover, .hoverEffect:hover.green.borderHover
27
+ /* .hoverEffect:focus.green.borderHover */
28
+ {
29
+ border-color: var(--zdt_rippleeffect_green_border);
30
+ }
31
+ .hoverEffect:hover.default.defaultHover
32
+ /* .hoverEffect:focus.default.defaultHover */
33
+ {
34
+ border-color: var(--zdt_rippleeffect_slate_border);
35
+ }
36
+ .hoverEffect:hover.default.borderHover
37
+ /* .hoverEffect:focus.default.borderHover */
38
+ {
39
+ border-color: var(--zdt_rippleeffect_navy_border);
40
+ }
41
+ .hoverEffect:hover.default.bgHover
42
+ /* .hoverEffect:focus.default.bgHover */
43
+ {
44
+ background-color: var(--zdt_rippleeffect_hover_bg);
45
+ }
46
+ .hoverEffect:hover.primaryLight.bgHover
47
+ /* .hoverEffect:focus.primaryLight.bgHover */
48
+ {
49
+ background-color: var(--zdt_rippleeffect_primary_light_bg);
50
+ }
51
+ .primaryFilled {
52
+ background-color: var(--zdt_rippleeffect_primary_bg);
53
+ }
54
+ .hoverEffect:hover.primaryFilled, .primaryFilled.active {
55
+ background-color: var(--zdt_rippleeffect_primaryfilled_bg);
56
+ }
57
+ .hoverEffect:hover.green.bgHover
58
+ /* .hoverEffect:focus.green.bgHover */
59
+ {
60
+ background-color: var(--zdt_rippleeffect_green_bg);
61
+ }
62
+ .default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
63
+ background-color: var(--zdt_rippleeffect_primary_light_bg);
64
+ }
65
+ .default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
66
+ border-color: var(--zdt_rippleeffect_primary_light_border);
67
+ }
68
+ .green.active {
69
+ background-color: var(--zdt_rippleeffect_green_bg);
70
+ }
71
+ .green.active.border {
72
+ border-color: var(--zdt_rippleeffect_green_border);
73
+ }
74
+ .primary.active {
75
+ background-color: var(--zdt_rippleeffect_primary_bg);
76
+ }
77
+ .danger.defaultHover, .hoverEffect:hover.danger.borderHover
78
+ /* .hoverEffect:focus.danger.borderHover */
79
+ {
80
+ border-color: var(--zdt_rippleeffect_danger_border);
81
+ }
82
+ .hoverEffect:hover.danger.bgHover, .danger.active {
83
+ background-color: var(--zdt_rippleeffect_danger_bg);
84
+ }
85
+ .hoverEffect:hover.primaryDark.bgHover
86
+ /* .hoverEffect:focus.primaryDark.bgHover */
87
+ {
88
+ background-color: var(--zdt_rippleeffect_primary_dark_bg);
89
+ }
90
+ .notAllowed {
91
+ cursor: not-allowed;
92
+ }
@@ -584,8 +584,12 @@ export class GroupSelectComponent extends PureComponent {
584
584
  htmlId,
585
585
  iconOnHover,
586
586
  isLoading,
587
- dataSelectorId
587
+ dataSelectorId,
588
+ customProps
588
589
  } = this.props;
590
+ const {
591
+ suggestionsProps = {}
592
+ } = customProps;
589
593
  i18nKeys = Object.assign({}, i18nKeys, {
590
594
  emptyText: i18nKeys.emptyText || emptyMessage,
591
595
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -769,7 +773,8 @@ export class GroupSelectComponent extends PureComponent {
769
773
  ariaParentRole: 'listbox',
770
774
  role: 'option'
771
775
  },
772
- dataId: `${dataId}_Options`
776
+ dataId: `${dataId}_Options`,
777
+ ...suggestionsProps
773
778
  }));
774
779
  }) : /*#__PURE__*/React.createElement(EmptyState, {
775
780
  options: revampedGroups,
@@ -1,135 +1,135 @@
1
- .input {
2
- cursor: pointer;
3
- }
4
-
5
- .small {
6
- max-height: var(--zd_size200) ;
7
- }
8
-
9
- .medium {
10
- max-height: var(--zd_size350) ;
11
- }
12
-
13
- .large {
14
- max-height: var(--zd_size400) ;
15
- }
16
-
17
- .emptyState {
18
- font-size: var(--zd_font_size14) ;
19
- color: var(--zdt_select_emptystate_text);
20
- composes: semibold from '../common/common.module.css';
21
- }
22
-
23
- .box_small .emptyState {
24
- padding: var(--zd_size12) var(--zd_size6) ;
25
- }
26
-
27
- .box_medium .emptyState {
28
- padding: var(--zd_size12) var(--zd_size15) ;
29
- }
30
-
31
- .hide {
32
- composes: vishidden from '../common/common.module.css';
33
- }
34
-
35
- .container {
36
- position: relative;
37
- }
38
- /* css:lineheight-validation:ignore */
39
- .arrowIcon {
40
- height: var(--zd_size8) ;
41
- line-height: var(--zd_size8);
42
- }
43
-
44
- .small.search {
45
- padding: 0 var(--zd_size5) ;
46
- }
47
-
48
- .medium.search {
49
- padding: var(--zd_size3) var(--zd_size20) 0 ;
50
- }
51
-
52
- .title {
53
- margin-bottom: var(--zd_size6) ;
54
- }
55
-
56
- .groupTitle {
57
- margin: var(--zd_size6) 0 ;
58
- }
59
-
60
- .listItemContainer {
61
- padding: var(--zd_size10) 0 ;
62
- }
63
-
64
- .responsivelistItemContainer {
65
- padding: var(--zd_size10) 0 0 ;
66
- }
67
-
68
- .readonly {
69
- --textboxicon_icon_cursor: not-allowed;
70
- }
71
-
72
- .transparentContainer .arrowIcon {
73
- opacity: 0;
74
- visibility: hidden;
75
- }
76
-
77
- .transparentContainer:hover .arrowIcon {
78
- opacity: 1;
79
- visibility: visible;
80
- }
81
-
82
- .disable {
83
- color: var(--zdt_select_disable_text);
84
- }
85
-
86
- .leftIcon {
87
- position: absolute;
88
- top: 0 ;
89
- bottom: 0 ;
90
- width: var(--zd_size30) ;
91
- }
92
-
93
- [dir=ltr] .leftIcon {
94
- left: 0 ;
95
- }
96
-
97
- [dir=rtl] .leftIcon {
98
- right: 0 ;
99
- }
100
-
101
- [dir=ltr] .iconSelect {
102
- padding-left: var(--zd_size30) ;
103
- }
104
-
105
- [dir=rtl] .iconSelect {
106
- padding-right: var(--zd_size30) ;
107
- }
108
-
109
- .dropBoxList {
110
- padding: var(--zd_size10) 0 ;
111
- }
112
-
113
- .responsivedropBoxList {
114
- padding: var(--zd_size10) 0 0 0 ;
115
- }
116
-
117
- .rotate {
118
- transform: rotateX(180deg);
119
- }
120
-
121
- .iconOnHoverStyle .arrowIcon,
122
- .iconOnHoverReadonly .arrowIcon,
123
- .iconOnHoverReadonly:hover .arrowIcon {
124
- opacity: 0;
125
- visibility: hidden;
126
- }
127
-
128
- .iconOnHoverStyle:hover .arrowIcon {
129
- opacity: 1;
130
- visibility: visible;
131
- }
132
-
133
- .loader {
134
- padding: var(--zd_size10) ;
1
+ .input {
2
+ cursor: pointer;
3
+ }
4
+
5
+ .small {
6
+ max-height: var(--zd_size200) ;
7
+ }
8
+
9
+ .medium {
10
+ max-height: var(--zd_size350) ;
11
+ }
12
+
13
+ .large {
14
+ max-height: var(--zd_size400) ;
15
+ }
16
+
17
+ .emptyState {
18
+ font-size: var(--zd_font_size14) ;
19
+ color: var(--zdt_select_emptystate_text);
20
+ composes: semibold from '../common/common.module.css';
21
+ }
22
+
23
+ .box_small .emptyState {
24
+ padding: var(--zd_size12) var(--zd_size6) ;
25
+ }
26
+
27
+ .box_medium .emptyState {
28
+ padding: var(--zd_size12) var(--zd_size15) ;
29
+ }
30
+
31
+ .hide {
32
+ composes: vishidden from '../common/common.module.css';
33
+ }
34
+
35
+ .container {
36
+ position: relative;
37
+ }
38
+ /* css:lineheight-validation:ignore */
39
+ .arrowIcon {
40
+ height: var(--zd_size8) ;
41
+ line-height: var(--zd_size8);
42
+ }
43
+
44
+ .small.search {
45
+ padding: 0 var(--zd_size5) ;
46
+ }
47
+
48
+ .medium.search {
49
+ padding: var(--zd_size3) var(--zd_size20) 0 ;
50
+ }
51
+
52
+ .title {
53
+ margin-bottom: var(--zd_size6) ;
54
+ }
55
+
56
+ .groupTitle {
57
+ margin: var(--zd_size6) 0 ;
58
+ }
59
+
60
+ .listItemContainer {
61
+ padding: var(--zd_size10) 0 ;
62
+ }
63
+
64
+ .responsivelistItemContainer {
65
+ padding: var(--zd_size10) 0 0 ;
66
+ }
67
+
68
+ .readonly {
69
+ --textboxicon_icon_cursor: not-allowed;
70
+ }
71
+
72
+ .transparentContainer .arrowIcon {
73
+ opacity: 0;
74
+ visibility: hidden;
75
+ }
76
+
77
+ .transparentContainer:hover .arrowIcon {
78
+ opacity: 1;
79
+ visibility: visible;
80
+ }
81
+
82
+ .disable {
83
+ color: var(--zdt_select_disable_text);
84
+ }
85
+
86
+ .leftIcon {
87
+ position: absolute;
88
+ top: 0 ;
89
+ bottom: 0 ;
90
+ width: var(--zd_size30) ;
91
+ }
92
+
93
+ [dir=ltr] .leftIcon {
94
+ left: 0 ;
95
+ }
96
+
97
+ [dir=rtl] .leftIcon {
98
+ right: 0 ;
99
+ }
100
+
101
+ [dir=ltr] .iconSelect {
102
+ padding-left: var(--zd_size30) ;
103
+ }
104
+
105
+ [dir=rtl] .iconSelect {
106
+ padding-right: var(--zd_size30) ;
107
+ }
108
+
109
+ .dropBoxList {
110
+ padding: var(--zd_size10) 0 ;
111
+ }
112
+
113
+ .responsivedropBoxList {
114
+ padding: var(--zd_size10) 0 0 0 ;
115
+ }
116
+
117
+ .rotate {
118
+ transform: rotateX(180deg);
119
+ }
120
+
121
+ .iconOnHoverStyle .arrowIcon,
122
+ .iconOnHoverReadonly .arrowIcon,
123
+ .iconOnHoverReadonly:hover .arrowIcon {
124
+ opacity: 0;
125
+ visibility: hidden;
126
+ }
127
+
128
+ .iconOnHoverStyle:hover .arrowIcon {
129
+ opacity: 1;
130
+ visibility: visible;
131
+ }
132
+
133
+ .loader {
134
+ padding: var(--zd_size10) ;
135
135
  }
@@ -158,8 +158,12 @@ class SelectWithAvatarComponent extends SelectComponent {
158
158
  htmlId,
159
159
  needEffect,
160
160
  isLoading,
161
- dataSelectorId
161
+ dataSelectorId,
162
+ customProps
162
163
  } = this.props;
164
+ const {
165
+ suggestionsProps = {}
166
+ } = customProps;
163
167
  i18nKeys = Object.assign({}, i18nKeys, {
164
168
  emptyText: i18nKeys.emptyText || emptyMessage,
165
169
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -309,7 +313,8 @@ class SelectWithAvatarComponent extends SelectComponent {
309
313
  a11y: {
310
314
  ariaParentRole: 'listbox',
311
315
  role: 'option'
312
- }
316
+ },
317
+ ...suggestionsProps
313
318
  }) : /*#__PURE__*/React.createElement(EmptyState, {
314
319
  isLoading: isFetchingOptions,
315
320
  options: options,
@@ -345,8 +345,12 @@ class SelectWithIcon extends Component {
345
345
  i18nKeys,
346
346
  htmlId,
347
347
  isLoading,
348
- dataSelectorId
348
+ dataSelectorId,
349
+ customProps
349
350
  } = this.props;
351
+ const {
352
+ listItemProps = {}
353
+ } = customProps;
350
354
  i18nKeys = Object.assign({}, i18nKeys, {
351
355
  emptyText: i18nKeys.emptyText || emptyMessage,
352
356
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -500,7 +504,8 @@ class SelectWithIcon extends Component {
500
504
  role: 'option',
501
505
  ariaSelected: selectedId === options[idKey],
502
506
  ariaLabel: options[valueKey]
503
- }
507
+ },
508
+ ...listItemProps
504
509
  });
505
510
  })) : /*#__PURE__*/React.createElement(EmptyState, {
506
511
  isLoading: isFetchingOptions,
@@ -67,7 +67,8 @@ export const GroupSelect_defaultProps = {
67
67
  isSearchClearOnClose: true,
68
68
  i18nKeys: {},
69
69
  iconOnHover: false,
70
- isLoading: false
70
+ isLoading: false,
71
+ customProps: {}
71
72
  };
72
73
  export const SelectWithAvatar_defaultProps = {
73
74
  animationStyle: 'bounce',
@@ -91,7 +92,8 @@ export const SelectWithAvatar_defaultProps = {
91
92
  isSearchClearOnClose: true,
92
93
  i18nKeys: {},
93
94
  needEffect: true,
94
- isLoading: false
95
+ isLoading: false,
96
+ customProps: {}
95
97
  };
96
98
  export const SelectWithIcon_defaultProps = {
97
99
  isReadOnly: false,
@@ -116,5 +118,6 @@ export const SelectWithIcon_defaultProps = {
116
118
  needIcon: true,
117
119
  iconSize: '14',
118
120
  i18nKeys: {},
119
- isLoading: false
121
+ isLoading: false,
122
+ customProps: {}
120
123
  };
@@ -169,7 +169,8 @@ export const GroupSelect_propTypes = {
169
169
  }),
170
170
  isLoading: PropTypes.bool,
171
171
  dataSelectorId: PropTypes.string,
172
- isDefaultSelectValue: PropTypes.bool
172
+ isDefaultSelectValue: PropTypes.bool,
173
+ customProps: PropTypes.string
173
174
  };
174
175
  export const SelectWithAvatar_propTypes = { ...Select_propTypes,
175
176
  textBoxClass: PropTypes.string,
@@ -230,7 +231,8 @@ export const SelectWithAvatar_propTypes = { ...Select_propTypes,
230
231
  htmlId: PropTypes.string,
231
232
  needEffect: PropTypes.bool,
232
233
  isLoading: PropTypes.bool,
233
- dataSelectorId: PropTypes.string
234
+ dataSelectorId: PropTypes.string,
235
+ customProps: PropTypes.string
234
236
  };
235
237
  export const SelectWithIcon_propTypes = {
236
238
  animationStyle: PropTypes.oneOf(['default', 'bounce']),
@@ -284,5 +286,6 @@ export const SelectWithIcon_propTypes = {
284
286
  searchBoxSize: PropTypes.string,
285
287
  needResponsive: PropTypes.bool,
286
288
  boxSize: PropTypes.string,
287
- emptyMessage: PropTypes.string
289
+ emptyMessage: PropTypes.string,
290
+ customProps: PropTypes.string
288
291
  };