@zohodesk/components 1.0.0-temp-199.9 → 1.0.0-temp-216.1
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.
- package/.cli/propValidation_report.html +1 -1
- package/README.md +0 -9
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +9 -5
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/light/mode/Component_LightMode.module.css +9 -5
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +9 -5
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/es/Button/Button.js +0 -2
- package/es/Button/css/Button.module.css +37 -1
- package/es/Button/css/cssJSLogic.js +10 -1
- package/es/DropBox/DropBoxElement/DropBoxElement.js +1 -3
- package/es/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +2 -4
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +53 -56
- package/es/DropBox/DropBoxElement/css/cssJSLogic.js +4 -4
- package/es/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +2 -4
- package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -3
- package/es/ListItem/ListItem.js +2 -2
- package/es/ListItem/ListItem.module.css +2 -15
- package/es/ListItem/ListItemWithAvatar.js +3 -3
- package/es/ListItem/ListItemWithIcon.js +2 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +2 -7
- package/es/MultiSelect/MultiSelect.js +2 -7
- package/es/MultiSelect/Suggestions.js +5 -14
- package/es/MultiSelect/props/defaultProps.js +4 -9
- package/es/MultiSelect/props/propTypes.js +3 -9
- package/es/Popup/Popup.js +83 -232
- package/es/Provider/LibraryContext.js +3 -1
- package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +2 -4
- package/es/Select/GroupSelect.js +1 -5
- package/es/Select/SelectWithAvatar.js +2 -7
- package/es/Select/SelectWithIcon.js +2 -4
- package/es/Select/props/defaultProps.js +1 -2
- package/es/Select/props/propTypes.js +2 -4
- package/es/common/common.module.css +0 -5
- package/es/utils/Common.js +1 -2
- package/es/v1/ListItem/ListItem.js +1 -1
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +1 -2
- package/es/v1/MultiSelect/MultiSelect.js +2 -7
- package/es/v1/MultiSelect/Suggestions.js +4 -8
- package/es/v1/MultiSelect/props/defaultProps.js +2 -4
- package/es/v1/MultiSelect/props/propTypes.js +2 -6
- package/es/v1/Select/GroupSelect.js +2 -7
- package/es/v1/Select/SelectWithAvatar.js +2 -7
- package/es/v1/Select/props/defaultProps.js +2 -4
- package/es/v1/Select/props/propTypes.js +2 -6
- package/lib/Button/Button.js +0 -2
- package/lib/Button/css/Button.module.css +37 -1
- package/lib/Button/css/cssJSLogic.js +15 -2
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +1 -3
- package/lib/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +2 -4
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +53 -56
- package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +2 -2
- package/lib/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +2 -4
- package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -3
- package/lib/ListItem/ListItem.js +2 -2
- package/lib/ListItem/ListItem.module.css +2 -15
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -7
- package/lib/MultiSelect/MultiSelect.js +3 -6
- package/lib/MultiSelect/Suggestions.js +5 -12
- package/lib/MultiSelect/props/defaultProps.js +4 -9
- package/lib/MultiSelect/props/propTypes.js +3 -8
- package/lib/Popup/Popup.js +114 -282
- package/lib/Provider/LibraryContext.js +3 -1
- package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +2 -4
- package/lib/Select/GroupSelect.js +2 -4
- package/lib/Select/SelectWithAvatar.js +3 -8
- package/lib/Select/SelectWithIcon.js +3 -5
- package/lib/Select/props/defaultProps.js +1 -2
- package/lib/Select/props/propTypes.js +2 -4
- package/lib/common/common.module.css +0 -5
- package/lib/utils/Common.js +1 -5
- package/lib/v1/ListItem/ListItem.js +1 -1
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -3
- package/lib/v1/MultiSelect/MultiSelect.js +3 -8
- package/lib/v1/MultiSelect/Suggestions.js +4 -8
- package/lib/v1/MultiSelect/props/defaultProps.js +2 -4
- package/lib/v1/MultiSelect/props/propTypes.js +2 -6
- package/lib/v1/Select/GroupSelect.js +3 -8
- package/lib/v1/Select/SelectWithAvatar.js +3 -8
- package/lib/v1/Select/props/defaultProps.js +2 -4
- package/lib/v1/Select/props/propTypes.js +2 -6
- package/package.json +2 -2
- package/result.json +1 -1
|
@@ -5,8 +5,6 @@ exports[`DropBox rendering the defult props 1`] = `
|
|
|
5
5
|
<div
|
|
6
6
|
class="main hidden container bottomStart default"
|
|
7
7
|
data-a11y-focus-main-area="true"
|
|
8
|
-
data-arrow-position="end"
|
|
9
|
-
data-box-direction="bottom"
|
|
10
8
|
data-id="dropBox"
|
|
11
9
|
data-position="bottomStart"
|
|
12
10
|
data-selector-id="dropBox"
|
|
@@ -14,14 +12,14 @@ exports[`DropBox rendering the defult props 1`] = `
|
|
|
14
12
|
dot-ui-element="dropbox"
|
|
15
13
|
>
|
|
16
14
|
<div
|
|
17
|
-
class="subContainer
|
|
15
|
+
class="subContainer bottom_shadow radius defaultPalette"
|
|
18
16
|
data-id="dropBox_subcontainer"
|
|
19
17
|
data-selector-id="dropBox_subcontainer"
|
|
20
18
|
data-test-id="dropBox_subcontainer"
|
|
21
19
|
tabindex="-1"
|
|
22
20
|
>
|
|
23
21
|
<div
|
|
24
|
-
class="
|
|
22
|
+
class="end"
|
|
25
23
|
data-id="dropBox_arrow"
|
|
26
24
|
data-selector-id="dropBox_arrow"
|
|
27
25
|
data-test-id="dropBox_arrow"
|
|
@@ -15,8 +15,6 @@ exports[`DropDown rendering the defult props 1`] = `
|
|
|
15
15
|
<div
|
|
16
16
|
class="main hidden container bottomMid default"
|
|
17
17
|
data-a11y-focus-main-area="true"
|
|
18
|
-
data-arrow-position="mid"
|
|
19
|
-
data-box-direction="bottom"
|
|
20
18
|
data-id="dropBox"
|
|
21
19
|
data-position="bottomMid"
|
|
22
20
|
data-selector-id="dropBox"
|
|
@@ -24,7 +22,7 @@ exports[`DropDown rendering the defult props 1`] = `
|
|
|
24
22
|
dot-ui-element="dropbox"
|
|
25
23
|
>
|
|
26
24
|
<div
|
|
27
|
-
class="subContainer
|
|
25
|
+
class="subContainer bottom_shadow radius defaultPalette"
|
|
28
26
|
data-id="dropBox_subcontainer"
|
|
29
27
|
data-selector-id="dropBox_subcontainer"
|
|
30
28
|
data-test-id="dropBox_subcontainer"
|
package/lib/ListItem/ListItem.js
CHANGED
|
@@ -150,7 +150,7 @@ var ListItem = /*#__PURE__*/function (_React$Component) {
|
|
|
150
150
|
autoHover: autoHover,
|
|
151
151
|
needTick: needTick,
|
|
152
152
|
needBorder: needBorder,
|
|
153
|
-
customClass:
|
|
153
|
+
customClass: customListItem,
|
|
154
154
|
dataId: dataIdString,
|
|
155
155
|
dataSelectorId: "".concat(dataSelectorId),
|
|
156
156
|
isLink: isLink,
|
|
@@ -171,7 +171,7 @@ var ListItem = /*#__PURE__*/function (_React$Component) {
|
|
|
171
171
|
adjust: true,
|
|
172
172
|
className: _ListItemModule["default"].children
|
|
173
173
|
}, children) : null, needTick && active ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
174
|
-
className: "".concat(_ListItemModule["default"].tickIcon, " ").concat(tickIconPalette, " ").concat(customTickIcon
|
|
174
|
+
className: "".concat(_ListItemModule["default"].tickIcon, " ").concat(tickIconPalette, " ").concat(customTickIcon),
|
|
175
175
|
"aria-hidden": ariaHidden,
|
|
176
176
|
dataId: "".concat(dataIdString, "_tickIcon"),
|
|
177
177
|
dataSelectorId: "".concat(dataSelectorId, "_tickIcon")
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
line-height: 1.5385;
|
|
74
74
|
}
|
|
75
75
|
.multiLineValue{
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
word-break: break-word;
|
|
77
|
+
composes: clamp from '../common/common.module.css'
|
|
78
78
|
}
|
|
79
79
|
.iconBox {
|
|
80
80
|
width: var(--zd_size20) ;
|
|
@@ -203,16 +203,3 @@
|
|
|
203
203
|
padding-top: var(--zd_size10) ;
|
|
204
204
|
padding-bottom: var(--zd_size10) ;
|
|
205
205
|
}
|
|
206
|
-
.autoHeight {
|
|
207
|
-
height: auto ;
|
|
208
|
-
}
|
|
209
|
-
.tickIconCenter {
|
|
210
|
-
top: 50% ;
|
|
211
|
-
transform: translateY(-50%);
|
|
212
|
-
}
|
|
213
|
-
.txtAlignBaseLine {
|
|
214
|
-
align-items: baseline;
|
|
215
|
-
}
|
|
216
|
-
.alignSelfTop {
|
|
217
|
-
align-self: start;
|
|
218
|
-
}
|
|
@@ -162,7 +162,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
162
162
|
autoHover: autoHover,
|
|
163
163
|
needTick: needTick,
|
|
164
164
|
needBorder: needBorder,
|
|
165
|
-
customClass:
|
|
165
|
+
customClass: customListItem,
|
|
166
166
|
dataId: "".concat(dataIdString, "_ListItemWithAvatar"),
|
|
167
167
|
dataSelectorId: "".concat(dataSelectorId),
|
|
168
168
|
onClick: this.handleClick,
|
|
@@ -172,7 +172,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
172
172
|
title: null,
|
|
173
173
|
customProps: ListItemProps
|
|
174
174
|
}, ContainerProps), name || imgSrc ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
175
|
-
className:
|
|
175
|
+
className: _ListItemModule["default"].leftAvatar
|
|
176
176
|
}, isTeam ? /*#__PURE__*/_react["default"].createElement(_AvatarTeam["default"], _extends({
|
|
177
177
|
name: name,
|
|
178
178
|
size: "small",
|
|
@@ -199,7 +199,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
199
199
|
"data-title": isDisabled ? null : title,
|
|
200
200
|
className: needMultiLineText ? _ListItemModule["default"].multiLineValue : _ListItemModule["default"].value
|
|
201
201
|
}, value) : null, needTick && active ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
202
|
-
className:
|
|
202
|
+
className: _ListItemModule["default"].tickIcon,
|
|
203
203
|
"aria-hidden": ariaHidden,
|
|
204
204
|
dataId: "".concat(dataIdString, "_tickIcon"),
|
|
205
205
|
dataSelectorId: "".concat(dataSelectorId, "_tickIcon")
|
|
@@ -147,7 +147,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
147
147
|
autoHover: autoHover,
|
|
148
148
|
needTick: needTick,
|
|
149
149
|
needBorder: needBorder,
|
|
150
|
-
customClass:
|
|
150
|
+
customClass: customClass,
|
|
151
151
|
dataId: dataIdString,
|
|
152
152
|
dataSelectorId: dataSelectorId,
|
|
153
153
|
isLink: isLink,
|
|
@@ -176,7 +176,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
176
176
|
"data-title": isDisabled ? null : title,
|
|
177
177
|
dataId: "".concat(dataIdString, "_Text")
|
|
178
178
|
}, value), needTick && active ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
179
|
-
className:
|
|
179
|
+
className: _ListItemModule["default"].tickIcon,
|
|
180
180
|
"aria-hidden": ariaHidden,
|
|
181
181
|
dataId: "".concat(dataIdString, "_tickIcon"),
|
|
182
182
|
dataSelectorId: "".concat(dataSelectorId, "_tickIcon")
|
|
@@ -53,8 +53,6 @@ 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
|
-
|
|
58
56
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
59
57
|
|
|
60
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."); }
|
|
@@ -968,9 +966,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
968
966
|
needEffect = _this$props8.needEffect,
|
|
969
967
|
autoComplete = _this$props8.autoComplete,
|
|
970
968
|
getTargetRef = _this$props8.getTargetRef,
|
|
971
|
-
isFocus = _this$props8.isFocus
|
|
972
|
-
customProps = _this$props8.customProps;
|
|
973
|
-
var suggestionsProps = customProps.suggestionsProps;
|
|
969
|
+
isFocus = _this$props8.isFocus;
|
|
974
970
|
var _i18nKeys = i18nKeys,
|
|
975
971
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
976
972
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText;
|
|
@@ -1134,7 +1130,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1134
1130
|
a11y: {
|
|
1135
1131
|
role: 'heading'
|
|
1136
1132
|
}
|
|
1137
|
-
})), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"],
|
|
1133
|
+
})), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
|
|
1138
1134
|
suggestions: suggestions,
|
|
1139
1135
|
selectedOptions: selectedOptionIds,
|
|
1140
1136
|
getRef: _this5.suggestionItemRef,
|
|
@@ -1147,7 +1143,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1147
1143
|
role: 'option'
|
|
1148
1144
|
},
|
|
1149
1145
|
dataId: "".concat(dataId, "_Options")
|
|
1150
|
-
}
|
|
1146
|
+
}));
|
|
1151
1147
|
}) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
|
|
1152
1148
|
options: revampedGroups,
|
|
1153
1149
|
searchString: searchStr,
|
|
@@ -1089,10 +1089,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1089
1089
|
boxSize = _this$props15.boxSize,
|
|
1090
1090
|
isLoading = _this$props15.isLoading,
|
|
1091
1091
|
selectAllText = _this$props15.selectAllText,
|
|
1092
|
-
needSelectAll = _this$props15.needSelectAll
|
|
1093
|
-
customProps = _this$props15.customProps;
|
|
1094
|
-
var _customProps$suggesti = customProps.suggestionsProps,
|
|
1095
|
-
suggestionsProps = _customProps$suggesti === void 0 ? {} : _customProps$suggesti;
|
|
1092
|
+
needSelectAll = _this$props15.needSelectAll;
|
|
1096
1093
|
var _this$state9 = this.state,
|
|
1097
1094
|
selectedOptions = _this$state9.selectedOptions,
|
|
1098
1095
|
searchStr = _this$state9.searchStr,
|
|
@@ -1169,7 +1166,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1169
1166
|
eleRef: this.suggestionContainerRef
|
|
1170
1167
|
}, isSearching ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
1171
1168
|
className: _MultiSelectModule["default"][palette]
|
|
1172
|
-
}, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"],
|
|
1169
|
+
}, searchText) : suggestions.length ? /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
|
|
1173
1170
|
suggestions: suggestions,
|
|
1174
1171
|
getRef: this.suggestionItemRef,
|
|
1175
1172
|
hoverOption: hoverOption,
|
|
@@ -1182,7 +1179,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1182
1179
|
a11y: {
|
|
1183
1180
|
role: 'option'
|
|
1184
1181
|
}
|
|
1185
|
-
}
|
|
1182
|
+
}) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
|
|
1186
1183
|
isLoading: isFetchingOptions,
|
|
1187
1184
|
options: options,
|
|
1188
1185
|
searchString: searchStr,
|
|
@@ -83,19 +83,15 @@ 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
|
|
87
|
-
customClass = _this$props.customClass,
|
|
88
|
-
needMultiLineText = _this$props.needMultiLineText;
|
|
86
|
+
a11y = _this$props.a11y;
|
|
89
87
|
var ariaParentRole = a11y.ariaParentRole,
|
|
90
88
|
ariaMultiselectable = a11y.ariaMultiselectable;
|
|
91
|
-
var containerClass = customClass.containerClass;
|
|
92
89
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
93
90
|
isCover: false,
|
|
94
91
|
role: ariaParentRole,
|
|
95
92
|
id: htmlId,
|
|
96
93
|
tabindex: "0",
|
|
97
|
-
"aria-multiselectable": ariaMultiselectable
|
|
98
|
-
className: containerClass
|
|
94
|
+
"aria-multiselectable": ariaMultiselectable
|
|
99
95
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
100
96
|
dataId: "".concat(dataId),
|
|
101
97
|
className: className ? className : ''
|
|
@@ -147,8 +143,7 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
147
143
|
size: listItemSize,
|
|
148
144
|
avatarPalette: avatarPalette,
|
|
149
145
|
palette: palette,
|
|
150
|
-
a11y: list_a11y
|
|
151
|
-
needMultiLineText: needMultiLineText
|
|
146
|
+
a11y: list_a11y
|
|
152
147
|
}));
|
|
153
148
|
} else if (optionType === 'icon') {
|
|
154
149
|
return /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], _extends({}, commonProps, {
|
|
@@ -168,8 +163,7 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
168
163
|
iconSize: iconSize,
|
|
169
164
|
size: listItemSize,
|
|
170
165
|
palette: palette,
|
|
171
|
-
a11y: list_a11y
|
|
172
|
-
needMultiLineText: needMultiLineText
|
|
166
|
+
a11y: list_a11y
|
|
173
167
|
}));
|
|
174
168
|
}
|
|
175
169
|
|
|
@@ -188,8 +182,7 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
188
182
|
active: isActive,
|
|
189
183
|
size: listItemSize,
|
|
190
184
|
palette: palette,
|
|
191
|
-
a11y: list_a11y
|
|
192
|
-
needMultiLineText: needMultiLineText
|
|
185
|
+
a11y: list_a11y
|
|
193
186
|
}));
|
|
194
187
|
})));
|
|
195
188
|
}
|
|
@@ -45,8 +45,7 @@ var AdvancedGroupMultiSelect_defaultProps = {
|
|
|
45
45
|
needEffect: true,
|
|
46
46
|
palette: 'default',
|
|
47
47
|
isLoading: false,
|
|
48
|
-
dataSelectorId: 'advancedGroupMultiSelect'
|
|
49
|
-
customProps: {}
|
|
48
|
+
dataSelectorId: 'advancedGroupMultiSelect'
|
|
50
49
|
};
|
|
51
50
|
exports.AdvancedGroupMultiSelect_defaultProps = AdvancedGroupMultiSelect_defaultProps;
|
|
52
51
|
var AdvancedMultiSelect_defaultProps = {
|
|
@@ -168,8 +167,8 @@ var MultiSelectWithAvatar_defaultProps = {
|
|
|
168
167
|
isLoading: false,
|
|
169
168
|
dataSelectorId: 'multiSelectWithAvatar',
|
|
170
169
|
keepSelectedOptions: false,
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
customProps: {},
|
|
171
|
+
needResponsive: true
|
|
173
172
|
};
|
|
174
173
|
exports.MultiSelectWithAvatar_defaultProps = MultiSelectWithAvatar_defaultProps;
|
|
175
174
|
var SelectedOptions_defaultProps = {
|
|
@@ -178,10 +177,6 @@ var SelectedOptions_defaultProps = {
|
|
|
178
177
|
};
|
|
179
178
|
exports.SelectedOptions_defaultProps = SelectedOptions_defaultProps;
|
|
180
179
|
var Suggestions_defaultProps = {
|
|
181
|
-
a11y: {}
|
|
182
|
-
customClass: {
|
|
183
|
-
containerClass: ''
|
|
184
|
-
},
|
|
185
|
-
needMultiLineText: false
|
|
180
|
+
a11y: {}
|
|
186
181
|
};
|
|
187
182
|
exports.Suggestions_defaultProps = Suggestions_defaultProps;
|
|
@@ -129,8 +129,7 @@ var MultiSelect_propTypes = {
|
|
|
129
129
|
setAriaId: _propTypes["default"].string,
|
|
130
130
|
ariaErrorId: _propTypes["default"].string,
|
|
131
131
|
customProps: _propTypes["default"].shape({
|
|
132
|
-
TextBoxIconProps: _propTypes["default"].object
|
|
133
|
-
suggestionsProps: _propTypes["default"].object
|
|
132
|
+
TextBoxIconProps: _propTypes["default"].object
|
|
134
133
|
}),
|
|
135
134
|
isFocus: _propTypes["default"].bool
|
|
136
135
|
};
|
|
@@ -202,11 +201,7 @@ var Suggestions_propTypes = {
|
|
|
202
201
|
logo: _propTypes["default"].string,
|
|
203
202
|
optionType: _propTypes["default"].string,
|
|
204
203
|
listItemProps: _propTypes["default"].object
|
|
205
|
-
}))
|
|
206
|
-
customClass: _propTypes["default"].shape({
|
|
207
|
-
containerClass: _propTypes["default"].string
|
|
208
|
-
}),
|
|
209
|
-
needMultiLineText: _propTypes["default"].bool
|
|
204
|
+
}))
|
|
210
205
|
};
|
|
211
206
|
exports.Suggestions_propTypes = Suggestions_propTypes;
|
|
212
207
|
var AdvancedGroupMultiSelect_propTypes = (_AdvancedGroupMultiSe = {
|
|
@@ -277,7 +272,7 @@ var AdvancedGroupMultiSelect_propTypes = (_AdvancedGroupMultiSe = {
|
|
|
277
272
|
needToCloseOnSelect: _propTypes["default"].func,
|
|
278
273
|
searchStr: _propTypes["default"].string,
|
|
279
274
|
children: _propTypes["default"].node
|
|
280
|
-
}, _defineProperty(_AdvancedGroupMultiSe, "dataSelectorId", _propTypes["default"].string), _defineProperty(_AdvancedGroupMultiSe, "isFocus", _propTypes["default"].bool),
|
|
275
|
+
}, _defineProperty(_AdvancedGroupMultiSe, "dataSelectorId", _propTypes["default"].string), _defineProperty(_AdvancedGroupMultiSe, "isFocus", _propTypes["default"].bool), _AdvancedGroupMultiSe);
|
|
281
276
|
exports.AdvancedGroupMultiSelect_propTypes = AdvancedGroupMultiSelect_propTypes;
|
|
282
277
|
|
|
283
278
|
var AdvancedMultiSelect_propTypes = _objectSpread(_objectSpread({}, MultiSelect_propTypes), {}, {
|