@zohodesk/components 1.0.0-temp-197 → 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 (140) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/es/AppContainer/AppContainer.js +1 -0
  3. package/es/AppContainer/AppContainer.module.css +18 -18
  4. package/es/Avatar/Avatar.js +9 -9
  5. package/es/Avatar/Avatar.module.css +2 -2
  6. package/es/AvatarTeam/AvatarTeam.js +7 -7
  7. package/es/Button/Button.js +4 -4
  8. package/es/Button/css/Button.module.css +6 -22
  9. package/es/Buttongroup/Buttongroup.js +1 -1
  10. package/es/Buttongroup/Buttongroup.module.css +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/DateTime.module.css +8 -11
  15. package/es/DateTime/DateWidget.module.css +38 -38
  16. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
  17. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  18. package/es/DropBox/css/DropBox.module.css +1 -1
  19. package/es/DropDown/DropDown.module.css +5 -5
  20. package/es/DropDown/DropDownSearch.module.css +14 -14
  21. package/es/DropDown/DropDownSeparator.module.css +7 -7
  22. package/es/Heading/Heading.module.css +4 -4
  23. package/es/Label/Label.js +2 -2
  24. package/es/Layout/Layout.module.css +335 -335
  25. package/es/ListItem/ListItem.js +2 -2
  26. package/es/ListItem/ListItem.module.css +85 -18
  27. package/es/ListItem/ListItemWithAvatar.js +3 -3
  28. package/es/ListItem/ListItemWithIcon.js +2 -2
  29. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -2
  30. package/es/MultiSelect/AdvancedMultiSelect.js +2 -1
  31. package/es/MultiSelect/MultiSelect.js +12 -7
  32. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  33. package/es/MultiSelect/Suggestions.js +8 -4
  34. package/es/MultiSelect/props/defaultProps.js +8 -5
  35. package/es/MultiSelect/props/propTypes.js +6 -3
  36. package/es/Popup/PositionMapping.json +73 -73
  37. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  38. package/es/Ribbon/Ribbon.module.css +6 -6
  39. package/es/RippleEffect/RippleEffect.module.css +92 -92
  40. package/es/Select/GroupSelect.js +7 -2
  41. package/es/Select/Select.module.css +134 -134
  42. package/es/Select/SelectWithAvatar.js +7 -2
  43. package/es/Select/SelectWithIcon.js +7 -2
  44. package/es/Select/props/defaultProps.js +6 -3
  45. package/es/Select/props/propTypes.js +6 -3
  46. package/es/Stencils/Stencils.module.css +96 -96
  47. package/es/Switch/Switch.module.css +1 -2
  48. package/es/Tab/TabContent.module.css +4 -4
  49. package/es/Tab/Tabs.js +17 -17
  50. package/es/Tab/Tabs.module.css +3 -3
  51. package/es/Tooltip/Tooltip.module.css +140 -143
  52. package/es/common/a11y.module.css +3 -3
  53. package/es/common/animation.module.css +624 -624
  54. package/es/common/avatarsizes.module.css +48 -48
  55. package/es/common/basic.module.css +33 -33
  56. package/es/common/basicReset.module.css +40 -40
  57. package/es/{deprecated → common}/boxShadow.module.css +33 -33
  58. package/es/common/common.module.css +524 -524
  59. package/es/common/reset.module.css +13 -13
  60. package/es/common/transition.module.css +146 -146
  61. package/es/semantic/Button/semanticButton.module.css +9 -9
  62. package/es/v1/AppContainer/AppContainer.js +1 -0
  63. package/es/v1/Card/Card.js +4 -4
  64. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  65. package/es/v1/Tab/Tabs.js +11 -11
  66. package/es/v1/Tab/v1TabContent.module.css +4 -4
  67. package/es/v1/Tab/v1Tabs.module.css +3 -3
  68. package/es/v1/Typography/css/Typography.module.css +380 -380
  69. package/install.md +10 -10
  70. package/lib/AppContainer/AppContainer.js +2 -0
  71. package/lib/AppContainer/AppContainer.module.css +18 -18
  72. package/lib/Avatar/Avatar.js +9 -9
  73. package/lib/Avatar/Avatar.module.css +2 -2
  74. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  75. package/lib/Button/Button.js +4 -4
  76. package/lib/Button/css/Button.module.css +6 -22
  77. package/lib/Buttongroup/Buttongroup.js +1 -1
  78. package/lib/Buttongroup/Buttongroup.module.css +1 -1
  79. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  80. package/lib/Card/Card.js +4 -4
  81. package/lib/Card/Card.module.css +20 -20
  82. package/lib/DateTime/DateTime.module.css +8 -11
  83. package/lib/DateTime/DateWidget.module.css +38 -38
  84. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
  85. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  86. package/lib/DropBox/css/DropBox.module.css +1 -1
  87. package/lib/DropDown/DropDown.module.css +5 -5
  88. package/lib/DropDown/DropDownSearch.module.css +14 -14
  89. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  90. package/lib/Heading/Heading.module.css +4 -4
  91. package/lib/Layout/Layout.module.css +335 -335
  92. package/lib/ListItem/ListItem.js +2 -2
  93. package/lib/ListItem/ListItem.module.css +85 -18
  94. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  95. package/lib/ListItem/ListItemWithIcon.js +2 -2
  96. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  97. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -1
  98. package/lib/MultiSelect/MultiSelect.js +13 -8
  99. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  100. package/lib/MultiSelect/Suggestions.js +8 -4
  101. package/lib/MultiSelect/props/defaultProps.js +8 -5
  102. package/lib/MultiSelect/props/propTypes.js +8 -6
  103. package/lib/Popup/PositionMapping.json +73 -73
  104. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  105. package/lib/Ribbon/Ribbon.module.css +6 -6
  106. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  107. package/lib/Select/GroupSelect.js +8 -3
  108. package/lib/Select/Select.module.css +134 -134
  109. package/lib/Select/SelectWithAvatar.js +8 -3
  110. package/lib/Select/SelectWithIcon.js +8 -3
  111. package/lib/Select/props/defaultProps.js +5 -3
  112. package/lib/Select/props/propTypes.js +6 -3
  113. package/lib/Stencils/Stencils.module.css +96 -96
  114. package/lib/Switch/Switch.module.css +1 -2
  115. package/lib/Tab/TabContent.module.css +4 -4
  116. package/lib/Tab/Tabs.js +11 -11
  117. package/lib/Tab/Tabs.module.css +3 -3
  118. package/lib/Tooltip/Tooltip.module.css +140 -143
  119. package/lib/common/a11y.module.css +3 -3
  120. package/lib/common/animation.module.css +624 -624
  121. package/lib/common/avatarsizes.module.css +48 -48
  122. package/lib/common/basic.module.css +33 -33
  123. package/lib/common/basicReset.module.css +40 -40
  124. package/lib/{deprecated → common}/boxShadow.module.css +33 -33
  125. package/lib/common/common.module.css +524 -524
  126. package/lib/common/reset.module.css +13 -13
  127. package/lib/common/transition.module.css +146 -146
  128. package/lib/semantic/Button/semanticButton.module.css +9 -9
  129. package/lib/v1/AppContainer/AppContainer.js +2 -0
  130. package/lib/v1/Card/Card.js +4 -4
  131. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  132. package/lib/v1/Tab/Tabs.js +11 -11
  133. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  134. package/lib/v1/Tab/v1Tabs.module.css +3 -3
  135. package/lib/v1/Typography/css/Typography.module.css +380 -380
  136. package/package.json +7 -11
  137. package/postPublish.js +8 -8
  138. package/prePublish.js +70 -70
  139. package/react-cli.config.js +23 -23
  140. package/result.json +1 -1
@@ -1,6 +1,6 @@
1
- .dropBoxContainer {
2
- max-height: 70vh ;
3
- }
4
- .boxPadding{
5
- padding-bottom: var(--zd_size10) ;
6
- }
1
+ .dropBoxContainer {
2
+ max-height: 70vh ;
3
+ }
4
+ .boxPadding{
5
+ padding-bottom: var(--zd_size10) ;
6
+ }
@@ -132,27 +132,27 @@
132
132
  }
133
133
 
134
134
  .default_default {
135
- --ribbon_box_shadow: var(--zd_bs_contrast_outline, 0 5px 10px var(--zdt_ribbon_default_shadow));
135
+ --ribbon_box_shadow: var(--zd_bs_ribbon_default);
136
136
  }
137
137
 
138
138
  .default_danger {
139
- --ribbon_box_shadow: var(--zd_bs_contrast_outline, 0 5px 10px var(--zdt_ribbon_danger_shadow));
139
+ --ribbon_box_shadow: var(--zd_bs_ribbon_danger);
140
140
  }
141
141
 
142
142
  .default_primary {
143
- --ribbon_box_shadow: var(--zd_bs_contrast_outline, 0 5px 10px var(--zdt_ribbon_primary_shadow));
143
+ --ribbon_box_shadow: var(--zd_bs_ribbon_primary);
144
144
  }
145
145
 
146
146
  .default_secondary {
147
- --ribbon_box_shadow: var(--zd_bs_contrast_outline, 0 5px 10px var(--zdt_ribbon_secondary_shadow));
147
+ --ribbon_box_shadow: var(--zd_bs_ribbon_secondary);
148
148
  }
149
149
 
150
150
  .default_info {
151
- --ribbon_box_shadow: var(--zd_bs_contrast_outline, 0 5px 10px var(--zdt_ribbon_info_shadow));
151
+ --ribbon_box_shadow: var(--zd_bs_ribbon_info);
152
152
  }
153
153
 
154
154
  .default_dark {
155
- --ribbon_box_shadow: var(--zd_bs_contrast_outline, 0 5px 10px var(--zdt_ribbon_dark_shadow));
155
+ --ribbon_box_shadow: var(--zd_bs_ribbon_dark);
156
156
  }
157
157
 
158
158
  .box_default {
@@ -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
  };