@zohodesk/components 1.0.0-temp-190.2 → 1.0.0-temp-192

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 (164) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +16 -5
  4. package/es/Avatar/Avatar.module.css +0 -12
  5. package/es/AvatarTeam/AvatarTeam.module.css +0 -4
  6. package/es/Button/css/Button.module.css +0 -6
  7. package/es/Buttongroup/Buttongroup.module.css +0 -2
  8. package/es/CheckBox/CheckBox.js +10 -0
  9. package/es/CheckBox/CheckBox.module.css +0 -2
  10. package/es/CheckBox/props/propTypes.js +1 -0
  11. package/es/DateTime/DateTime.module.css +0 -1
  12. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +0 -7
  13. package/es/DropBox/css/DropBox.module.css +0 -1
  14. package/es/DropDown/DropDownHeading.module.css +0 -6
  15. package/es/DropDown/DropDownItem.module.css +0 -3
  16. package/es/Label/Label.module.css +0 -1
  17. package/es/ListItem/ListItem.js +2 -2
  18. package/es/ListItem/ListItem.module.css +85 -39
  19. package/es/ListItem/ListItemWithAvatar.js +3 -3
  20. package/es/ListItem/ListItemWithIcon.js +2 -2
  21. package/es/MultiSelect/AdvancedGroupMultiSelect.js +9 -3
  22. package/es/MultiSelect/MultiSelect.js +9 -3
  23. package/es/MultiSelect/MultiSelectWithAvatar.js +3 -1
  24. package/es/MultiSelect/Suggestions.js +8 -4
  25. package/es/MultiSelect/props/defaultProps.js +9 -3
  26. package/es/MultiSelect/props/propTypes.js +7 -3
  27. package/es/PopOver/PopOver.module.css +3 -3
  28. package/es/Radio/Radio.js +26 -7
  29. package/es/Radio/Radio.module.css +3 -1
  30. package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
  31. package/es/Radio/props/defaultProps.js +1 -0
  32. package/es/Radio/props/propTypes.js +7 -0
  33. package/es/Ribbon/Ribbon.module.css +0 -4
  34. package/es/Select/GroupSelect.js +9 -3
  35. package/es/Select/SelectWithAvatar.js +9 -3
  36. package/es/Select/SelectWithIcon.js +9 -3
  37. package/es/Select/props/defaultProps.js +6 -3
  38. package/es/Select/props/propTypes.js +6 -3
  39. package/es/Switch/Switch.module.css +0 -2
  40. package/es/Tag/Tag.module.css +0 -6
  41. package/es/TextBox/TextBox.module.css +1 -21
  42. package/es/TextBoxIcon/TextBoxIcon.module.css +0 -5
  43. package/es/Textarea/Textarea.module.css +0 -6
  44. package/es/common/customscroll.module.css +27 -3
  45. package/es/v1/Animation/Animation.js +1 -1
  46. package/es/v1/Card/Card.js +1 -1
  47. package/es/v1/CheckBox/CheckBox.js +7 -1
  48. package/es/v1/CheckBox/props/propTypes.js +1 -0
  49. package/es/v1/DropBox/utils/isMobilePopover.js +1 -1
  50. package/es/v1/ListItem/ListContainer.js +1 -1
  51. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  52. package/es/v1/MultiSelect/AdvancedMultiSelect.js +1 -1
  53. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +1 -1
  54. package/es/v1/MultiSelect/props/defaultProps.js +5 -3
  55. package/es/v1/Radio/Radio.js +22 -7
  56. package/es/v1/Radio/props/defaultProps.js +1 -0
  57. package/es/v1/Radio/props/propTypes.js +7 -0
  58. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  59. package/es/v1/Select/GroupSelect.js +1 -1
  60. package/es/v1/Select/Select.js +1 -1
  61. package/es/v1/Select/SelectWithAvatar.js +5 -7
  62. package/es/v1/Select/SelectWithIcon.js +1 -1
  63. package/es/v1/Select/props/defaultProps.js +1 -1
  64. package/es/v1/Select/props/propTypes.js +1 -3
  65. package/es/v1/Tab/Tabs.js +2 -2
  66. package/es/v1/Tooltip/Tooltip.js +1 -1
  67. package/lib/Avatar/Avatar.module.css +0 -12
  68. package/lib/AvatarTeam/AvatarTeam.module.css +0 -4
  69. package/lib/Button/css/Button.module.css +0 -6
  70. package/lib/Buttongroup/Buttongroup.module.css +0 -2
  71. package/lib/CheckBox/CheckBox.js +34 -24
  72. package/lib/CheckBox/CheckBox.module.css +0 -2
  73. package/lib/CheckBox/props/propTypes.js +1 -0
  74. package/lib/DateTime/DateTime.module.css +0 -1
  75. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +0 -7
  76. package/lib/DropBox/css/DropBox.module.css +0 -1
  77. package/lib/DropDown/DropDownHeading.module.css +0 -6
  78. package/lib/DropDown/DropDownItem.module.css +0 -3
  79. package/lib/Label/Label.module.css +0 -1
  80. package/lib/ListItem/ListItem.js +2 -2
  81. package/lib/ListItem/ListItem.module.css +85 -39
  82. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  83. package/lib/ListItem/ListItemWithIcon.js +2 -2
  84. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  85. package/lib/MultiSelect/MultiSelect.js +8 -3
  86. package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -1
  87. package/lib/MultiSelect/Suggestions.js +8 -4
  88. package/lib/MultiSelect/props/defaultProps.js +9 -3
  89. package/lib/MultiSelect/props/propTypes.js +9 -6
  90. package/lib/PopOver/PopOver.module.css +3 -3
  91. package/lib/Radio/Radio.js +45 -26
  92. package/lib/Radio/Radio.module.css +3 -1
  93. package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
  94. package/lib/Radio/props/defaultProps.js +1 -0
  95. package/lib/Radio/props/propTypes.js +7 -0
  96. package/lib/Ribbon/Ribbon.module.css +0 -4
  97. package/lib/Select/GroupSelect.js +8 -3
  98. package/lib/Select/SelectWithAvatar.js +8 -3
  99. package/lib/Select/SelectWithIcon.js +8 -3
  100. package/lib/Select/props/defaultProps.js +5 -3
  101. package/lib/Select/props/propTypes.js +6 -3
  102. package/lib/Switch/Switch.module.css +0 -2
  103. package/lib/Tag/Tag.module.css +0 -6
  104. package/lib/TextBox/TextBox.module.css +1 -21
  105. package/lib/TextBoxIcon/TextBoxIcon.module.css +0 -5
  106. package/lib/Textarea/Textarea.module.css +0 -6
  107. package/lib/common/customscroll.module.css +27 -3
  108. package/lib/v1/Animation/Animation.js +1 -1
  109. package/lib/v1/Card/Card.js +1 -1
  110. package/lib/v1/CheckBox/CheckBox.js +7 -1
  111. package/lib/v1/CheckBox/props/propTypes.js +1 -0
  112. package/lib/v1/DropBox/utils/isMobilePopover.js +1 -1
  113. package/lib/v1/ListItem/ListContainer.js +1 -1
  114. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  115. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -1
  116. package/lib/v1/MultiSelect/props/defaultProps.js +5 -3
  117. package/lib/v1/Radio/Radio.js +22 -7
  118. package/lib/v1/Radio/props/defaultProps.js +1 -0
  119. package/lib/v1/Radio/props/propTypes.js +7 -0
  120. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  121. package/lib/v1/Select/GroupSelect.js +1 -1
  122. package/lib/v1/Select/Select.js +1 -1
  123. package/lib/v1/Select/SelectWithAvatar.js +4 -6
  124. package/lib/v1/Select/SelectWithIcon.js +1 -1
  125. package/lib/v1/Select/props/defaultProps.js +1 -1
  126. package/lib/v1/Select/props/propTypes.js +1 -3
  127. package/lib/v1/Tab/Tabs.js +2 -2
  128. package/lib/v1/Tooltip/Tooltip.js +1 -1
  129. package/package.json +10 -10
  130. package/result.json +1 -1
  131. package/es/v1/Provider/AvatarSize.js +0 -13
  132. package/es/v1/Provider/Config.js +0 -18
  133. package/es/v1/Provider/CssProvider.js +0 -16
  134. package/es/v1/Provider/IdProvider.js +0 -66
  135. package/es/v1/Provider/LibraryContext.js +0 -37
  136. package/es/v1/Provider/LibraryContextInit.js +0 -3
  137. package/es/v1/Provider/NumberGenerator/NumberGenerator.js +0 -136
  138. package/es/v1/Provider/ZindexProvider.js +0 -57
  139. package/es/v1/Provider/index.js +0 -4
  140. package/es/v1/Responsive/CustomResponsive.js +0 -195
  141. package/es/v1/Responsive/RefWrapper.js +0 -39
  142. package/es/v1/Responsive/ResizeComponent.js +0 -197
  143. package/es/v1/Responsive/ResizeObserver.js +0 -140
  144. package/es/v1/Responsive/Responsive.js +0 -194
  145. package/es/v1/Responsive/index.js +0 -9
  146. package/es/v1/Responsive/props/defaultProps.js +0 -13
  147. package/es/v1/Responsive/props/propTypes.js +0 -25
  148. package/lib/v1/Provider/AvatarSize.js +0 -24
  149. package/lib/v1/Provider/Config.js +0 -27
  150. package/lib/v1/Provider/CssProvider.js +0 -27
  151. package/lib/v1/Provider/IdProvider.js +0 -79
  152. package/lib/v1/Provider/LibraryContext.js +0 -76
  153. package/lib/v1/Provider/LibraryContextInit.js +0 -15
  154. package/lib/v1/Provider/NumberGenerator/NumberGenerator.js +0 -174
  155. package/lib/v1/Provider/ZindexProvider.js +0 -69
  156. package/lib/v1/Provider/index.js +0 -81
  157. package/lib/v1/Responsive/CustomResponsive.js +0 -242
  158. package/lib/v1/Responsive/RefWrapper.js +0 -57
  159. package/lib/v1/Responsive/ResizeComponent.js +0 -268
  160. package/lib/v1/Responsive/ResizeObserver.js +0 -168
  161. package/lib/v1/Responsive/Responsive.js +0 -274
  162. package/lib/v1/Responsive/index.js +0 -55
  163. package/lib/v1/Responsive/props/defaultProps.js +0 -23
  164. package/lib/v1/Responsive/props/propTypes.js +0 -39
@@ -53,6 +53,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
53
53
 
54
54
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
55
55
 
56
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
57
+
56
58
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
57
59
 
58
60
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -960,7 +962,9 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
960
962
  a11y = _this$props8.a11y,
961
963
  palette = _this$props8.palette,
962
964
  needEffect = _this$props8.needEffect,
963
- autoComplete = _this$props8.autoComplete;
965
+ autoComplete = _this$props8.autoComplete,
966
+ customProps = _this$props8.customProps;
967
+ var suggestionsProps = customProps.suggestionsProps;
964
968
  var _i18nKeys = i18nKeys,
965
969
  _i18nKeys$clearText = _i18nKeys.clearText,
966
970
  clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText;
@@ -1116,7 +1120,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
1116
1120
  a11y: {
1117
1121
  role: 'heading'
1118
1122
  }
1119
- })), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
1123
+ })), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], _extends({
1120
1124
  suggestions: suggestions,
1121
1125
  selectedOptions: selectedOptionIds,
1122
1126
  getRef: _this5.suggestionItemRef,
@@ -1128,7 +1132,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
1128
1132
  a11y: {
1129
1133
  role: 'option'
1130
1134
  }
1131
- }));
1135
+ }, suggestionsProps)));
1132
1136
  }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
1133
1137
  options: revampedGroups,
1134
1138
  searchString: searchStr,
@@ -57,6 +57,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
57
57
 
58
58
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
59
59
 
60
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
61
+
60
62
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
61
63
 
62
64
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -1068,7 +1070,10 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1068
1070
  boxSize = _this$props15.boxSize,
1069
1071
  isLoading = _this$props15.isLoading,
1070
1072
  selectAllText = _this$props15.selectAllText,
1071
- needSelectAll = _this$props15.needSelectAll;
1073
+ needSelectAll = _this$props15.needSelectAll,
1074
+ customProps = _this$props15.customProps;
1075
+ var _customProps$suggesti = customProps.suggestionsProps,
1076
+ suggestionsProps = _customProps$suggesti === void 0 ? {} : _customProps$suggesti;
1072
1077
  var _this$state9 = this.state,
1073
1078
  selectedOptions = _this$state9.selectedOptions,
1074
1079
  searchStr = _this$state9.searchStr,
@@ -1140,7 +1145,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1140
1145
  eleRef: this.suggestionContainerRef
1141
1146
  }, isSearching ? /*#__PURE__*/_react["default"].createElement("div", {
1142
1147
  className: _MultiSelectModule["default"][palette]
1143
- }, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
1148
+ }, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], _extends({
1144
1149
  suggestions: suggestions,
1145
1150
  getRef: this.suggestionItemRef,
1146
1151
  hoverOption: hoverOption,
@@ -1153,7 +1158,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1153
1158
  a11y: {
1154
1159
  role: 'option'
1155
1160
  }
1156
- }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
1161
+ }, suggestionsProps)) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
1157
1162
  isLoading: isFetchingOptions,
1158
1163
  options: options,
1159
1164
  searchString: searchStr,
@@ -141,6 +141,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
141
141
  needEffect = _this$props.needEffect,
142
142
  isLoading = _this$props.isLoading,
143
143
  keepSelectedOptions = _this$props.keepSelectedOptions,
144
+ needMultiLineText = _this$props.needMultiLineText,
144
145
  customProps = _this$props.customProps;
145
146
  var _customProps$Suggesti = customProps.SuggestionsProps,
146
147
  SuggestionsProps = _customProps$Suggesti === void 0 ? {} : _customProps$Suggesti;
@@ -223,7 +224,8 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
223
224
  selectedOptions: selectedOptionIds,
224
225
  a11y: {
225
226
  role: 'option'
226
- }
227
+ },
228
+ needMultiLineText: needMultiLineText
227
229
  }, SuggestionsProps)) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
228
230
  isLoading: isFetchingOptions,
229
231
  options: options,
@@ -83,7 +83,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
83
83
  avatarPalette = _this$props.avatarPalette,
84
84
  palette = _this$props.palette,
85
85
  htmlId = _this$props.htmlId,
86
- a11y = _this$props.a11y;
86
+ a11y = _this$props.a11y,
87
+ needMultiLineText = _this$props.needMultiLineText;
87
88
  var ariaParentRole = a11y.ariaParentRole,
88
89
  ariaMultiselectable = a11y.ariaMultiselectable;
89
90
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
@@ -143,7 +144,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
143
144
  size: listItemSize,
144
145
  avatarPalette: avatarPalette,
145
146
  palette: palette,
146
- a11y: list_a11y
147
+ a11y: list_a11y,
148
+ needMultiLineText: needMultiLineText
147
149
  }));
148
150
  } else if (optionType === 'icon') {
149
151
  return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({}, commonProps, {
@@ -163,7 +165,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
163
165
  iconSize: iconSize,
164
166
  size: listItemSize,
165
167
  palette: palette,
166
- a11y: list_a11y
168
+ a11y: list_a11y,
169
+ needMultiLineText: needMultiLineText
167
170
  }));
168
171
  }
169
172
 
@@ -182,7 +185,8 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
182
185
  active: isActive,
183
186
  size: listItemSize,
184
187
  palette: palette,
185
- a11y: list_a11y
188
+ a11y: list_a11y,
189
+ needMultiLineText: needMultiLineText
186
190
  }));
187
191
  })));
188
192
  }
@@ -43,7 +43,8 @@ var AdvancedGroupMultiSelect_defaultProps = {
43
43
  needEffect: true,
44
44
  palette: 'default',
45
45
  isLoading: false,
46
- dataSelectorId: 'advancedGroupMultiSelect'
46
+ dataSelectorId: 'advancedGroupMultiSelect',
47
+ customProps: {}
47
48
  };
48
49
  exports.AdvancedGroupMultiSelect_defaultProps = AdvancedGroupMultiSelect_defaultProps;
49
50
  var AdvancedMultiSelect_defaultProps = {
@@ -120,7 +121,9 @@ var MultiSelect_defaultProps = {
120
121
  dataSelectorId: 'multiSelect',
121
122
  keepSelectedOptions: false,
122
123
  selectedOptionsCount: 0,
123
- cardHeaderName: ''
124
+ cardHeaderName: '',
125
+ needResponsive: true,
126
+ customProps: {}
124
127
  };
125
128
  exports.MultiSelect_defaultProps = MultiSelect_defaultProps;
126
129
  var MultiSelectHeader_defaultProps = {
@@ -156,6 +159,8 @@ var MultiSelectWithAvatar_defaultProps = {
156
159
  isLoading: false,
157
160
  dataSelectorId: 'multiSelectWithAvatar',
158
161
  keepSelectedOptions: false,
162
+ needResponsive: true,
163
+ needMultiLineText: false,
159
164
  customProps: {}
160
165
  };
161
166
  exports.MultiSelectWithAvatar_defaultProps = MultiSelectWithAvatar_defaultProps;
@@ -164,6 +169,7 @@ var SelectedOptions_defaultProps = {
164
169
  };
165
170
  exports.SelectedOptions_defaultProps = SelectedOptions_defaultProps;
166
171
  var Suggestions_defaultProps = {
167
- a11y: {}
172
+ a11y: {},
173
+ needMultiLineText: false
168
174
  };
169
175
  exports.Suggestions_defaultProps = Suggestions_defaultProps;
@@ -7,6 +7,8 @@ exports.Suggestions_propTypes = exports.SelectedOptions_propTypes = exports.Mult
7
7
 
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
 
10
+ var _AdvancedGroupMultiSe;
11
+
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
13
 
12
14
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -121,7 +123,8 @@ var MultiSelect_propTypes = {
121
123
  needSelectAll: _propTypes["default"].bool,
122
124
  selectAllText: _propTypes["default"].string,
123
125
  setAriaId: _propTypes["default"].string,
124
- ariaErrorId: _propTypes["default"].string
126
+ ariaErrorId: _propTypes["default"].string,
127
+ customProps: _propTypes["default"].string
125
128
  };
126
129
  exports.MultiSelect_propTypes = MultiSelect_propTypes;
127
130
  var MultiSelectHeader_propTypes = {
@@ -139,6 +142,7 @@ var MultiSelectWithAvatar_propTypes = _objectSpread({
139
142
  photoURL: _propTypes["default"].string
140
143
  }))]).isRequired,
141
144
  imageField: _propTypes["default"].string,
145
+ needMultiLineText: _propTypes["default"].string,
142
146
  customProps: _propTypes["default"].shape({
143
147
  SuggestionsProps: _propTypes["default"].object,
144
148
  DropBoxProps: _propTypes["default"].object
@@ -190,11 +194,11 @@ var Suggestions_propTypes = {
190
194
  logo: _propTypes["default"].string,
191
195
  optionType: _propTypes["default"].string,
192
196
  listItemProps: _propTypes["default"].object
193
- }))
197
+ })),
198
+ needMultiLineText: _propTypes["default"].bool
194
199
  };
195
200
  exports.Suggestions_propTypes = Suggestions_propTypes;
196
-
197
- var AdvancedGroupMultiSelect_propTypes = _defineProperty({
201
+ var AdvancedGroupMultiSelect_propTypes = (_AdvancedGroupMultiSe = {
198
202
  animationStyle: _propTypes["default"].string,
199
203
  autoComplete: _propTypes["default"].bool,
200
204
  borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
@@ -258,8 +262,7 @@ var AdvancedGroupMultiSelect_propTypes = _defineProperty({
258
262
  needToCloseOnSelect: _propTypes["default"].func,
259
263
  searchStr: _propTypes["default"].string,
260
264
  children: _propTypes["default"].node
261
- }, "dataSelectorId", _propTypes["default"].string);
262
-
265
+ }, _defineProperty(_AdvancedGroupMultiSe, "dataSelectorId", _propTypes["default"].string), _defineProperty(_AdvancedGroupMultiSe, "customProps", _propTypes["default"].string), _AdvancedGroupMultiSe);
263
266
  exports.AdvancedGroupMultiSelect_propTypes = AdvancedGroupMultiSelect_propTypes;
264
267
 
265
268
  var AdvancedMultiSelect_propTypes = _objectSpread(_objectSpread({}, MultiSelect_propTypes), {}, {
@@ -1,9 +1,9 @@
1
1
  .popup {
2
2
  position: relative;
3
- /* css:theme-validation:ignore */
4
- background-color: var(--dot_white);
3
+ background-color: var(--zdt_popover_default_bg);
5
4
  }
5
+
6
6
  .target {
7
7
  composes: offSelection from '../common/common.module.css';
8
8
  cursor: pointer;
9
- }
9
+ }
@@ -21,6 +21,8 @@ var _RadioModule = _interopRequireDefault(require("./Radio.module.css"));
21
21
 
22
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
23
 
24
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
+
24
26
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
27
 
26
28
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -53,6 +55,7 @@ var Radio = /*#__PURE__*/function (_React$Component) {
53
55
 
54
56
  _this = _super.call(this, props);
55
57
  _this.onChange = _this.onChange.bind(_assertThisInitialized(_this));
58
+ _this.handleGetRef = _this.handleGetRef.bind(_assertThisInitialized(_this));
56
59
  return _this;
57
60
  }
58
61
 
@@ -64,28 +67,38 @@ var Radio = /*#__PURE__*/function (_React$Component) {
64
67
  value = _this$props.value;
65
68
  onChange && onChange(value, e);
66
69
  }
70
+ }, {
71
+ key: "handleGetRef",
72
+ value: function handleGetRef(ele) {
73
+ var _this$props2 = this.props,
74
+ getRef = _this$props2.getRef,
75
+ value = _this$props2.value;
76
+ getRef && getRef(ele, value);
77
+ }
67
78
  }, {
68
79
  key: "render",
69
80
  value: function render() {
70
- var _this$props2 = this.props,
71
- id = _this$props2.id,
72
- name = _this$props2.name,
73
- value = _this$props2.value,
74
- checked = _this$props2.checked,
75
- disabled = _this$props2.disabled,
76
- isReadOnly = _this$props2.isReadOnly,
77
- palette = _this$props2.palette,
78
- disabledTitle = _this$props2.disabledTitle,
79
- title = _this$props2.title,
80
- text = _this$props2.text,
81
- labelPalette = _this$props2.labelPalette,
82
- size = _this$props2.size,
83
- labelSize = _this$props2.labelSize,
84
- variant = _this$props2.variant,
85
- active = _this$props2.active,
86
- isFilled = _this$props2.isFilled,
87
- customClass = _this$props2.customClass,
88
- a11y = _this$props2.a11y;
81
+ var _this$props3 = this.props,
82
+ id = _this$props3.id,
83
+ name = _this$props3.name,
84
+ value = _this$props3.value,
85
+ checked = _this$props3.checked,
86
+ disabled = _this$props3.disabled,
87
+ isReadOnly = _this$props3.isReadOnly,
88
+ palette = _this$props3.palette,
89
+ disabledTitle = _this$props3.disabledTitle,
90
+ title = _this$props3.title,
91
+ text = _this$props3.text,
92
+ labelPalette = _this$props3.labelPalette,
93
+ size = _this$props3.size,
94
+ labelSize = _this$props3.labelSize,
95
+ variant = _this$props3.variant,
96
+ active = _this$props3.active,
97
+ isFilled = _this$props3.isFilled,
98
+ customClass = _this$props3.customClass,
99
+ customProps = _this$props3.customProps,
100
+ children = _this$props3.children,
101
+ a11y = _this$props3.a11y;
89
102
  var _customClass$customRa = customClass.customRadioWrap,
90
103
  customRadioWrap = _customClass$customRa === void 0 ? '' : _customClass$customRa,
91
104
  _customClass$customRa2 = customClass.customRadio,
@@ -97,13 +110,18 @@ var Radio = /*#__PURE__*/function (_React$Component) {
97
110
  var ariaHidden = a11y.ariaHidden,
98
111
  _a11y$role = a11y.role,
99
112
  role = _a11y$role === void 0 ? 'radio' : _a11y$role,
113
+ tabIndex = a11y.tabIndex,
100
114
  _a11y$ariaChecked = a11y.ariaChecked,
101
115
  ariaChecked = _a11y$ariaChecked === void 0 ? checked : _a11y$ariaChecked,
102
116
  ariaLabel = a11y.ariaLabel,
103
117
  ariaLabelledby = a11y.ariaLabelledby,
104
118
  _a11y$ariaReadonly = a11y.ariaReadonly,
105
119
  ariaReadonly = _a11y$ariaReadonly === void 0 ? isReadOnly || disabled ? true : false : _a11y$ariaReadonly;
106
- return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
120
+ var _customProps$Containe = customProps.ContainerProps,
121
+ ContainerProps = _customProps$Containe === void 0 ? {} : _customProps$Containe,
122
+ _customProps$LabelPro = customProps.LabelProps,
123
+ LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro;
124
+ return /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
107
125
  dataId: value ? value.toLowerCase() : 'RadioComp',
108
126
  isCover: false,
109
127
  isInline: text ? false : true,
@@ -113,13 +131,14 @@ var Radio = /*#__PURE__*/function (_React$Component) {
113
131
  "data-title": toolTip,
114
132
  onClick: !isReadOnly && !disabled ? this.onChange : '',
115
133
  "aria-checked": ariaChecked,
116
- tabindex: isReadOnly || disabled || ariaHidden ? '-1' : '0',
134
+ tabindex: isReadOnly || disabled || ariaHidden ? '-1' : tabIndex || '0',
135
+ eleRef: this.handleGetRef,
117
136
  role: role,
118
137
  "aria-Hidden": ariaHidden,
119
138
  "aria-label": ariaLabel,
120
139
  "aria-labelledby": ariaLabelledby,
121
140
  "aria-readonly": ariaReadonly
122
- }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
141
+ }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
123
142
  className: "".concat(_RadioModule["default"].radio, " ").concat(checked ? "".concat(_RadioModule["default"]["rdBox".concat(palette)]) : '', " \n ").concat(isReadOnly || disabled ? '' : "".concat(_RadioModule["default"]["hover".concat(palette)]), " ").concat(_RadioModule["default"][size], " ").concat(isFilled ? _RadioModule["default"].filled : '', " ").concat(_RadioModule["default"]["centerPath".concat(palette)], " ").concat(customRadio)
124
143
  }, /*#__PURE__*/_react["default"].createElement("input", {
125
144
  type: "hidden",
@@ -144,17 +163,17 @@ var Radio = /*#__PURE__*/function (_React$Component) {
144
163
  }) : null))), text && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
145
164
  flexible: true,
146
165
  className: _RadioModule["default"].text
147
- }, /*#__PURE__*/_react["default"].createElement(_Label["default"], {
166
+ }, /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
148
167
  text: text,
149
- palette: disabled ? 'disable' : labelPalette,
168
+ palette: labelPalette,
150
169
  size: labelSize,
151
170
  type: "title",
152
171
  clipped: true,
153
172
  dataId: "".concat(text, "_label"),
154
173
  variant: variant,
155
174
  title: toolTip ? toolTip : text,
156
- customClass: "".concat(checked && active && !disabled ? "".concat(_RadioModule["default"]["".concat(palette, "checkedActive")]) : '', " \n ").concat(_RadioModule["default"]["".concat(palette, "Label")], " ").concat(accessMode, " ").concat(customLabel)
157
- })));
175
+ customClass: "".concat(checked && active ? "".concat(_RadioModule["default"]["".concat(palette, "checkedActive")]) : '', " \n ").concat(_RadioModule["default"]["".concat(palette, "Label")], " ").concat(accessMode, " ").concat(customLabel)
176
+ }, LabelProps))), children);
158
177
  }
159
178
  }]);
160
179
 
@@ -21,11 +21,13 @@
21
21
  .readonly, .disabled {
22
22
  cursor: not-allowed;
23
23
  }
24
+ .disabled {
25
+ opacity: 0.7
26
+ }
24
27
  .radio {
25
28
  composes: offSelection from '../common/common.module.css';
26
29
  width: var(--radio_width);
27
30
  height: var(--radio_height);
28
- /* css:theme-validation:ignore */
29
31
  stroke: var(--radio_stroke_color);
30
32
  background: var(--radio_bg_color);
31
33
  border-radius: 50%;
@@ -1145,7 +1145,7 @@ exports[`Radio rendering the accessMode when disabled 1`] = `
1145
1145
  data-test-id="boxComponent"
1146
1146
  >
1147
1147
  <label
1148
- class="label title medium disable font_default
1148
+ class="label title medium default font_default
1149
1149
  dotted cursor
1150
1150
  primaryLabel disabled "
1151
1151
  data-id="RadioText_label"
@@ -1505,7 +1505,7 @@ exports[`Radio rendering the disabled is true 1`] = `
1505
1505
  data-test-id="boxComponent"
1506
1506
  >
1507
1507
  <label
1508
- class="label title medium disable font_default
1508
+ class="label title medium default font_default
1509
1509
  dotted cursor
1510
1510
  undefined disabled "
1511
1511
  data-id="RadioText_label"
@@ -1567,7 +1567,7 @@ exports[`Radio rendering the disabledTitle 1`] = `
1567
1567
  data-test-id="boxComponent"
1568
1568
  >
1569
1569
  <label
1570
- class="label title medium disable font_default
1570
+ class="label title medium default font_default
1571
1571
  dotted cursor
1572
1572
  primaryLabel disabled "
1573
1573
  data-id="RadioText_label"
@@ -16,6 +16,7 @@ var defaultProps = {
16
16
  variant: 'default',
17
17
  isFilled: true,
18
18
  customClass: {},
19
+ customProps: {},
19
20
  a11y: {}
20
21
  };
21
22
  exports.defaultProps = defaultProps;
@@ -14,6 +14,7 @@ var propTypes = {
14
14
  checked: _propTypes["default"].bool,
15
15
  disabled: _propTypes["default"].bool,
16
16
  disabledTitle: _propTypes["default"].string,
17
+ getRef: _propTypes["default"].func,
17
18
  id: _propTypes["default"].string,
18
19
  isFilled: _propTypes["default"].bool,
19
20
  isReadOnly: _propTypes["default"].bool,
@@ -30,14 +31,20 @@ var propTypes = {
30
31
  customRadio: _propTypes["default"].string,
31
32
  customLabel: _propTypes["default"].string
32
33
  }),
34
+ customProps: _propTypes["default"].exact({
35
+ ContainerProps: _propTypes["default"].object,
36
+ LabelProps: _propTypes["default"].object
37
+ }),
33
38
  a11y: _propTypes["default"].shape({
34
39
  ariaChecked: _propTypes["default"].bool,
35
40
  ariaHidden: _propTypes["default"].bool,
36
41
  role: _propTypes["default"].string,
42
+ tabIndex: _propTypes["default"].oneOfType(_propTypes["default"].string, _propTypes["default"].number),
37
43
  ariaLabelledby: _propTypes["default"].string,
38
44
  ariaLabel: _propTypes["default"].string,
39
45
  ariaReadonly: _propTypes["default"].bool
40
46
  }),
47
+ children: _propTypes["default"].node,
41
48
  onChange: _propTypes["default"].func,
42
49
  text: _propTypes["default"].string
43
50
  };
@@ -36,12 +36,9 @@
36
36
  .basic {
37
37
  composes: varClass;
38
38
  position: relative;
39
- /* css:theme-validation:ignore */
40
39
  color: var(--ribbon_text_color);
41
40
  text-transform: var(--ribbon_text_transform);
42
41
  font-size: var(--ribbon_font_size);
43
- /* css:theme-validation:ignore */
44
- /* css:theme-validation:ignore */
45
42
  line-height: var(--ribbon_line_height);
46
43
  padding: var(--ribbon_padding);
47
44
  background-color: var(--ribbon_bg_color);
@@ -368,7 +365,6 @@
368
365
  position: absolute;
369
366
  content: '';
370
367
  top: var(--ribbon_tag_before_top);
371
- /* css:theme-validation:ignore */
372
368
  width: var(--ribbon_tag_before_width);
373
369
  height: var(--ribbon_tag_before_height);
374
370
  background-color: inherit;
@@ -51,6 +51,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
51
51
 
52
52
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
53
53
 
54
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
55
+
54
56
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
55
57
 
56
58
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -660,7 +662,10 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
660
662
  htmlId = _this$props9.htmlId,
661
663
  iconOnHover = _this$props9.iconOnHover,
662
664
  isLoading = _this$props9.isLoading,
663
- dataSelectorId = _this$props9.dataSelectorId;
665
+ dataSelectorId = _this$props9.dataSelectorId,
666
+ customProps = _this$props9.customProps;
667
+ var _customProps$suggesti = customProps.suggestionsProps,
668
+ suggestionsProps = _customProps$suggesti === void 0 ? {} : _customProps$suggesti;
664
669
  i18nKeys = Object.assign({}, i18nKeys, {
665
670
  emptyText: i18nKeys.emptyText || emptyMessage,
666
671
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -820,7 +825,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
820
825
  a11y: {
821
826
  role: 'heading'
822
827
  }
823
- })), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
828
+ })), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], _extends({
824
829
  activeId: selectedId,
825
830
  suggestions: options,
826
831
  getRef: _this7.suggestionItemRef,
@@ -835,7 +840,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
835
840
  ariaParentRole: 'listbox',
836
841
  role: 'option'
837
842
  }
838
- }));
843
+ }, suggestionsProps)));
839
844
  }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
840
845
  options: revampedGroups,
841
846
  searchString: searchStr,
@@ -51,6 +51,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
51
51
 
52
52
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
53
53
 
54
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
55
+
54
56
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
55
57
 
56
58
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -208,7 +210,10 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
208
210
  htmlId = _this$props.htmlId,
209
211
  needEffect = _this$props.needEffect,
210
212
  isLoading = _this$props.isLoading,
211
- dataSelectorId = _this$props.dataSelectorId;
213
+ dataSelectorId = _this$props.dataSelectorId,
214
+ customProps = _this$props.customProps;
215
+ var _customProps$suggesti = customProps.suggestionsProps,
216
+ suggestionsProps = _customProps$suggesti === void 0 ? {} : _customProps$suggesti;
212
217
  i18nKeys = Object.assign({}, i18nKeys, {
213
218
  emptyText: i18nKeys.emptyText || emptyMessage,
214
219
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -341,7 +346,7 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
341
346
  a11y: {
342
347
  role: 'heading'
343
348
  }
344
- })) : null, suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
349
+ })) : null, suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], _extends({
345
350
  activeId: selectedId,
346
351
  suggestions: suggestions,
347
352
  getRef: _this2.suggestionItemRef,
@@ -357,7 +362,7 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
357
362
  ariaParentRole: 'listbox',
358
363
  role: 'option'
359
364
  }
360
- }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
365
+ }, suggestionsProps)) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
361
366
  isLoading: isFetchingOptions,
362
367
  options: options,
363
368
  searchString: searchStr,
@@ -45,6 +45,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
45
45
 
46
46
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
47
47
 
48
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
49
+
48
50
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
49
51
 
50
52
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -410,7 +412,10 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
410
412
  i18nKeys = _this$props7.i18nKeys,
411
413
  htmlId = _this$props7.htmlId,
412
414
  isLoading = _this$props7.isLoading,
413
- dataSelectorId = _this$props7.dataSelectorId;
415
+ dataSelectorId = _this$props7.dataSelectorId,
416
+ customProps = _this$props7.customProps;
417
+ var _customProps$listItem = customProps.listItemProps,
418
+ listItemProps = _customProps$listItem === void 0 ? {} : _customProps$listItem;
414
419
  i18nKeys = Object.assign({}, i18nKeys, {
415
420
  emptyText: i18nKeys.emptyText || emptyMessage,
416
421
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -536,7 +541,7 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
536
541
  var iconName = options.iconName,
537
542
  iconSize = options.iconSize,
538
543
  iconColor = options.iconColor;
539
- return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], {
544
+ return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({
540
545
  key: options[idKey],
541
546
  value: options[valueKey],
542
547
  size: "medium",
@@ -560,7 +565,7 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
560
565
  ariaSelected: selectedId === options[idKey],
561
566
  ariaLabel: options[valueKey]
562
567
  }
563
- });
568
+ }, listItemProps));
564
569
  })) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
565
570
  isLoading: isFetchingOptions,
566
571
  options: options,
@@ -79,7 +79,8 @@ var GroupSelect_defaultProps = {
79
79
  isSearchClearOnClose: true,
80
80
  i18nKeys: {},
81
81
  iconOnHover: false,
82
- isLoading: false
82
+ isLoading: false,
83
+ customProps: {}
83
84
  };
84
85
  exports.GroupSelect_defaultProps = GroupSelect_defaultProps;
85
86
  var SelectWithAvatar_defaultProps = {
@@ -104,7 +105,8 @@ var SelectWithAvatar_defaultProps = {
104
105
  isSearchClearOnClose: true,
105
106
  i18nKeys: {},
106
107
  needEffect: true,
107
- isLoading: false
108
+ isLoading: false,
109
+ customProps: {}
108
110
  };
109
111
  exports.SelectWithAvatar_defaultProps = SelectWithAvatar_defaultProps;
110
112
  var SelectWithIcon_defaultProps = (_SelectWithIcon_defau = {
@@ -116,5 +118,5 @@ var SelectWithIcon_defaultProps = (_SelectWithIcon_defau = {
116
118
  needListBorder: false,
117
119
  needSearch: false,
118
120
  boxSize: 'default'
119
- }, _defineProperty(_SelectWithIcon_defau, "needListBorder", false), _defineProperty(_SelectWithIcon_defau, "needCloseOnSelect", true), _defineProperty(_SelectWithIcon_defau, "borderColor", 'default'), _defineProperty(_SelectWithIcon_defau, "needTick", true), _defineProperty(_SelectWithIcon_defau, "searchBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "size", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxSize", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxVariant", 'default'), _defineProperty(_SelectWithIcon_defau, "dataId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dataSelectorId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dropBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "needIcon", true), _defineProperty(_SelectWithIcon_defau, "iconSize", '14'), _defineProperty(_SelectWithIcon_defau, "i18nKeys", {}), _defineProperty(_SelectWithIcon_defau, "isLoading", false), _SelectWithIcon_defau);
121
+ }, _defineProperty(_SelectWithIcon_defau, "needListBorder", false), _defineProperty(_SelectWithIcon_defau, "needCloseOnSelect", true), _defineProperty(_SelectWithIcon_defau, "borderColor", 'default'), _defineProperty(_SelectWithIcon_defau, "needTick", true), _defineProperty(_SelectWithIcon_defau, "searchBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "size", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxSize", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxVariant", 'default'), _defineProperty(_SelectWithIcon_defau, "dataId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dataSelectorId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dropBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "needIcon", true), _defineProperty(_SelectWithIcon_defau, "iconSize", '14'), _defineProperty(_SelectWithIcon_defau, "i18nKeys", {}), _defineProperty(_SelectWithIcon_defau, "isLoading", false), _defineProperty(_SelectWithIcon_defau, "customProps", {}), _SelectWithIcon_defau);
120
122
  exports.SelectWithIcon_defaultProps = SelectWithIcon_defaultProps;