@zohodesk/components 1.2.42 → 1.2.44
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 +19 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +12 -2
- package/es/MultiSelect/AdvancedMultiSelect.js +9 -1
- package/es/MultiSelect/MultiSelect.js +8 -0
- package/es/MultiSelect/MultiSelectWithAvatar.js +8 -0
- package/es/MultiSelect/props/defaultProps.js +9 -1
- package/es/MultiSelect/props/propTypes.js +8 -0
- package/es/Select/GroupSelect.js +8 -0
- package/es/Select/SelectWithAvatar.js +11 -2
- package/es/Select/SelectWithIcon.js +8 -0
- package/es/Select/props/defaultProps.js +6 -0
- package/es/Select/props/propTypes.js +10 -2
- package/es/Tab/Tabs.js +12 -2
- package/es/Tab/Tabs.module.css +2 -2
- package/es/Tab/props/defaultProps.js +4 -1
- package/es/Tab/props/propTypes.js +5 -1
- package/es/Tooltip/Tooltip.js +1 -1
- package/es/v1/DropDown/DropDownSearch.js +1 -1
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +12 -2
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +9 -1
- package/es/v1/MultiSelect/MultiSelect.js +8 -0
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +8 -0
- package/es/v1/MultiSelect/props/defaultProps.js +9 -1
- package/es/v1/MultiSelect/props/propTypes.js +8 -0
- package/es/v1/Select/GroupSelect.js +8 -0
- package/es/v1/Select/SelectWithAvatar.js +11 -2
- package/es/v1/Select/SelectWithIcon.js +8 -0
- package/es/v1/Select/props/defaultProps.js +6 -0
- package/es/v1/Select/props/propTypes.js +9 -1
- package/es/v1/Tab/Tabs.js +12 -2
- package/es/v1/Tab/props/defaultProps.js +4 -1
- package/es/v1/Tab/props/propTypes.js +5 -1
- package/es/v1/Tab/v1Tabs.module.css +2 -2
- package/es/v1/Tooltip/Tooltip.js +1 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +12 -2
- package/lib/MultiSelect/AdvancedMultiSelect.js +10 -2
- package/lib/MultiSelect/MultiSelect.js +8 -0
- package/lib/MultiSelect/MultiSelectWithAvatar.js +8 -0
- package/lib/MultiSelect/props/defaultProps.js +9 -1
- package/lib/MultiSelect/props/propTypes.js +8 -0
- package/lib/Select/GroupSelect.js +8 -0
- package/lib/Select/SelectWithAvatar.js +11 -2
- package/lib/Select/SelectWithIcon.js +8 -0
- package/lib/Select/props/defaultProps.js +5 -1
- package/lib/Select/props/propTypes.js +10 -2
- package/lib/Tab/Tabs.js +14 -4
- package/lib/Tab/Tabs.module.css +2 -2
- package/lib/Tab/props/defaultProps.js +4 -1
- package/lib/Tab/props/propTypes.js +5 -1
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/v1/DropDown/DropDownSearch.js +1 -1
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +12 -2
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +10 -2
- package/lib/v1/MultiSelect/MultiSelect.js +8 -0
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +8 -0
- package/lib/v1/MultiSelect/props/defaultProps.js +9 -1
- package/lib/v1/MultiSelect/props/propTypes.js +8 -0
- package/lib/v1/Select/GroupSelect.js +8 -0
- package/lib/v1/Select/SelectWithAvatar.js +11 -2
- package/lib/v1/Select/SelectWithIcon.js +8 -0
- package/lib/v1/Select/props/defaultProps.js +5 -1
- package/lib/v1/Select/props/propTypes.js +9 -1
- package/lib/v1/Tab/Tabs.js +14 -4
- package/lib/v1/Tab/props/defaultProps.js +4 -1
- package/lib/v1/Tab/props/propTypes.js +5 -1
- package/lib/v1/Tab/v1Tabs.module.css +2 -2
- package/lib/v1/Tooltip/Tooltip.js +1 -1
- package/package.json +5 -5
- package/result.json +1 -1
|
@@ -325,6 +325,10 @@ class SelectWithIcon extends Component {
|
|
|
325
325
|
isPopupReady,
|
|
326
326
|
position,
|
|
327
327
|
getContainerRef,
|
|
328
|
+
isAbsolutePositioningNeeded,
|
|
329
|
+
positionsOffset,
|
|
330
|
+
targetOffset,
|
|
331
|
+
isRestrictScroll,
|
|
328
332
|
valueKey,
|
|
329
333
|
idKey,
|
|
330
334
|
needListBorder,
|
|
@@ -438,6 +442,10 @@ class SelectWithIcon extends Component {
|
|
|
438
442
|
onClick: removeClose,
|
|
439
443
|
getRef: getContainerRef,
|
|
440
444
|
needResponsive: needResponsive,
|
|
445
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
446
|
+
positionsOffset: positionsOffset,
|
|
447
|
+
targetOffset: targetOffset,
|
|
448
|
+
isRestrictScroll: isRestrictScroll,
|
|
441
449
|
dataId: `${dataId}_suggestions`,
|
|
442
450
|
size: boxSize,
|
|
443
451
|
isPadding: false,
|
|
@@ -65,6 +65,8 @@ export const GroupSelect_defaultProps = {
|
|
|
65
65
|
needTick: true,
|
|
66
66
|
needLocalSearch: true,
|
|
67
67
|
isSearchClearOnClose: true,
|
|
68
|
+
isAbsolutePositioningNeeded: true,
|
|
69
|
+
isRestrictScroll: false,
|
|
68
70
|
i18nKeys: {},
|
|
69
71
|
iconOnHover: false,
|
|
70
72
|
isLoading: false
|
|
@@ -89,6 +91,8 @@ export const SelectWithAvatar_defaultProps = {
|
|
|
89
91
|
dataSelectorId: 'selectWithAvatar',
|
|
90
92
|
borderColor: 'default',
|
|
91
93
|
isSearchClearOnClose: true,
|
|
94
|
+
isAbsolutePositioningNeeded: true,
|
|
95
|
+
isRestrictScroll: false,
|
|
92
96
|
i18nKeys: {},
|
|
93
97
|
needEffect: true,
|
|
94
98
|
isLoading: false
|
|
@@ -116,5 +120,7 @@ export const SelectWithIcon_defaultProps = {
|
|
|
116
120
|
needIcon: true,
|
|
117
121
|
iconSize: '14',
|
|
118
122
|
i18nKeys: {},
|
|
123
|
+
isAbsolutePositioningNeeded: true,
|
|
124
|
+
isRestrictScroll: false,
|
|
119
125
|
isLoading: false
|
|
120
126
|
};
|
|
@@ -162,6 +162,10 @@ export const GroupSelect_propTypes = {
|
|
|
162
162
|
closePopupOnly: PropTypes.func,
|
|
163
163
|
position: PropTypes.string,
|
|
164
164
|
removeClose: PropTypes.func,
|
|
165
|
+
isAbsolutePositioningNeeded: PropTypes.bool,
|
|
166
|
+
isRestrictScroll: PropTypes.bool,
|
|
167
|
+
positionsOffset: PropTypes.object,
|
|
168
|
+
targetOffset: PropTypes.object,
|
|
165
169
|
i18nKeys: PropTypes.shape({
|
|
166
170
|
loadingText: PropTypes.string,
|
|
167
171
|
emptyText: PropTypes.string,
|
|
@@ -285,5 +289,9 @@ export const SelectWithIcon_propTypes = {
|
|
|
285
289
|
searchBoxSize: PropTypes.string,
|
|
286
290
|
needResponsive: PropTypes.bool,
|
|
287
291
|
boxSize: PropTypes.string,
|
|
288
|
-
emptyMessage: PropTypes.string
|
|
292
|
+
emptyMessage: PropTypes.string,
|
|
293
|
+
isAbsolutePositioningNeeded: PropTypes.bool,
|
|
294
|
+
isRestrictScroll: PropTypes.bool,
|
|
295
|
+
positionsOffset: PropTypes.object,
|
|
296
|
+
targetOffset: PropTypes.object
|
|
289
297
|
};
|
package/es/v1/Tab/Tabs.js
CHANGED
|
@@ -435,7 +435,11 @@ const Tabs = props => {
|
|
|
435
435
|
position,
|
|
436
436
|
customProps,
|
|
437
437
|
getCustomDropBoxHeaderPlaceHolder,
|
|
438
|
-
dataId
|
|
438
|
+
dataId,
|
|
439
|
+
isAbsolutePositioningNeeded,
|
|
440
|
+
isRestrictScroll,
|
|
441
|
+
positionsOffset,
|
|
442
|
+
targetOffset
|
|
439
443
|
} = props;
|
|
440
444
|
let {
|
|
441
445
|
DropBoxProps = {},
|
|
@@ -510,8 +514,12 @@ const Tabs = props => {
|
|
|
510
514
|
},
|
|
511
515
|
boxPosition: position,
|
|
512
516
|
getRef: getContainerRef,
|
|
513
|
-
isBoxPaddingNeed:
|
|
517
|
+
isBoxPaddingNeed: false,
|
|
514
518
|
isArrow: false,
|
|
519
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
520
|
+
isRestrictScroll: isRestrictScroll,
|
|
521
|
+
positionsOffset: positionsOffset,
|
|
522
|
+
targetOffset: targetOffset,
|
|
515
523
|
...DropBoxProps,
|
|
516
524
|
isResponsivePadding: true,
|
|
517
525
|
needFocusScope: true,
|
|
@@ -532,6 +540,8 @@ const Tabs = props => {
|
|
|
532
540
|
}
|
|
533
541
|
},
|
|
534
542
|
dataId: `${dataId}_search`,
|
|
543
|
+
autoComplete: false,
|
|
544
|
+
name: "search",
|
|
535
545
|
...TextBoxIconProps
|
|
536
546
|
})) : null, /*#__PURE__*/React.createElement(Box, {
|
|
537
547
|
flexible: true,
|
|
@@ -33,7 +33,10 @@ export const Tabs_defaultProps = {
|
|
|
33
33
|
dataSelectorId: 'tabs',
|
|
34
34
|
searchBoxSize: 'small',
|
|
35
35
|
searchErrorText: 'No results',
|
|
36
|
-
placeHolderText: 'Search'
|
|
36
|
+
placeHolderText: 'Search',
|
|
37
|
+
isAbsolutePositioningNeeded: true,
|
|
38
|
+
isRestrictScroll: false,
|
|
39
|
+
moreContainerClass: ''
|
|
37
40
|
};
|
|
38
41
|
export const TabWrapper_defaultProps = {
|
|
39
42
|
hookToDisableInternalState: false,
|
|
@@ -94,7 +94,11 @@ export const Tabs_propTypes = {
|
|
|
94
94
|
placeHolderText: PropTypes.string,
|
|
95
95
|
searchBoxSize: PropTypes.string,
|
|
96
96
|
searchErrorText: PropTypes.string,
|
|
97
|
-
closePopupOnly: PropTypes.func
|
|
97
|
+
closePopupOnly: PropTypes.func,
|
|
98
|
+
isAbsolutePositioningNeeded: PropTypes.bool,
|
|
99
|
+
isRestrictScroll: PropTypes.bool,
|
|
100
|
+
positionsOffset: PropTypes.object,
|
|
101
|
+
targetOffset: PropTypes.object
|
|
98
102
|
};
|
|
99
103
|
export const TabWrapper_propTypes = {
|
|
100
104
|
align: PropTypes.oneOf(['vertical', 'horizontal']),
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.search {
|
|
140
|
-
padding:
|
|
140
|
+
padding: var(--zd_size6) var(--zd_size20) 0 ;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.emptyStateContainer {
|
|
@@ -163,5 +163,5 @@
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.listWrapper {
|
|
166
|
-
padding
|
|
166
|
+
padding: var(--zd_size10) 0 ;
|
|
167
167
|
}
|
package/es/v1/Tooltip/Tooltip.js
CHANGED
|
@@ -486,7 +486,7 @@ export default class Tooltip extends React.Component {
|
|
|
486
486
|
let tooltipWhiteSpaceModification = dataTooltipWrap;
|
|
487
487
|
|
|
488
488
|
if (dataTooltipWrap == 'pre') {
|
|
489
|
-
tooltipWhiteSpaceModification = '
|
|
489
|
+
tooltipWhiteSpaceModification = 'pre-wrap';
|
|
490
490
|
} else if (dataTooltipWrap == 'nowrap') {
|
|
491
491
|
tooltipWhiteSpaceModification = 'normal';
|
|
492
492
|
}
|
|
@@ -942,6 +942,10 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
942
942
|
dropBoxSize = _this$props8.dropBoxSize,
|
|
943
943
|
position = _this$props8.position,
|
|
944
944
|
getContainerRef = _this$props8.getContainerRef,
|
|
945
|
+
isAbsolutePositioningNeeded = _this$props8.isAbsolutePositioningNeeded,
|
|
946
|
+
positionsOffset = _this$props8.positionsOffset,
|
|
947
|
+
targetOffset = _this$props8.targetOffset,
|
|
948
|
+
isRestrictScroll = _this$props8.isRestrictScroll,
|
|
945
949
|
emptyMessage = _this$props8.emptyMessage,
|
|
946
950
|
searchEmptyMessage = _this$props8.searchEmptyMessage,
|
|
947
951
|
title = _this$props8.title,
|
|
@@ -960,7 +964,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
960
964
|
a11y = _this$props8.a11y,
|
|
961
965
|
palette = _this$props8.palette,
|
|
962
966
|
needEffect = _this$props8.needEffect,
|
|
963
|
-
autoComplete = _this$props8.autoComplete
|
|
967
|
+
autoComplete = _this$props8.autoComplete,
|
|
968
|
+
getTargetRef = _this$props8.getTargetRef;
|
|
964
969
|
var _i18nKeys = i18nKeys,
|
|
965
970
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
966
971
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText;
|
|
@@ -999,7 +1004,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
999
1004
|
align: "vertical",
|
|
1000
1005
|
alignBox: "row",
|
|
1001
1006
|
onClick: this.togglePopup,
|
|
1002
|
-
className: customClass
|
|
1007
|
+
className: customClass,
|
|
1008
|
+
eleRef: getTargetRef
|
|
1003
1009
|
}, children) : /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
1004
1010
|
align: "vertical",
|
|
1005
1011
|
alignBox: "row",
|
|
@@ -1080,6 +1086,10 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1080
1086
|
needResponsive: needResponsive,
|
|
1081
1087
|
isPadding: isPadding,
|
|
1082
1088
|
isBoxPaddingNeed: !needSelectAll,
|
|
1089
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
1090
|
+
positionsOffset: positionsOffset,
|
|
1091
|
+
targetOffset: targetOffset,
|
|
1092
|
+
isRestrictScroll: isRestrictScroll,
|
|
1083
1093
|
htmlId: setAriaId,
|
|
1084
1094
|
a11y: {
|
|
1085
1095
|
role: 'listbox',
|
|
@@ -436,7 +436,11 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
436
436
|
disabledOptions = _this$props5.disabledOptions,
|
|
437
437
|
isLoading = _this$props5.isLoading,
|
|
438
438
|
dataSelectorId = _this$props5.dataSelectorId,
|
|
439
|
-
customClass = _this$props5.customClass
|
|
439
|
+
customClass = _this$props5.customClass,
|
|
440
|
+
isAbsolutePositioningNeeded = _this$props5.isAbsolutePositioningNeeded,
|
|
441
|
+
positionsOffset = _this$props5.positionsOffset,
|
|
442
|
+
targetOffset = _this$props5.targetOffset,
|
|
443
|
+
isRestrictScroll = _this$props5.isRestrictScroll;
|
|
440
444
|
var _customProps$Suggesti = customProps.SuggestionsProps,
|
|
441
445
|
SuggestionsProps = _customProps$Suggesti === void 0 ? {} : _customProps$Suggesti,
|
|
442
446
|
_customProps$DropBoxP = customProps.DropBoxProps,
|
|
@@ -569,7 +573,11 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
569
573
|
role: 'listbox',
|
|
570
574
|
ariaMultiselectable: true
|
|
571
575
|
},
|
|
572
|
-
dataId: "".concat(dataIdMultiSelectComp, "_dropbox")
|
|
576
|
+
dataId: "".concat(dataIdMultiSelectComp, "_dropbox"),
|
|
577
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
578
|
+
positionsOffset: positionsOffset,
|
|
579
|
+
targetOffset: targetOffset,
|
|
580
|
+
isRestrictScroll: isRestrictScroll
|
|
573
581
|
}, DropBoxProps, {
|
|
574
582
|
alignBox: "row",
|
|
575
583
|
isResponsivePadding: getFooter ? false : true
|
|
@@ -1070,6 +1070,10 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1070
1070
|
borderColor = _this$props15.borderColor,
|
|
1071
1071
|
disableAction = _this$props15.disableAction,
|
|
1072
1072
|
isBoxPaddingNeed = _this$props15.isBoxPaddingNeed,
|
|
1073
|
+
isAbsolutePositioningNeeded = _this$props15.isAbsolutePositioningNeeded,
|
|
1074
|
+
positionsOffset = _this$props15.positionsOffset,
|
|
1075
|
+
targetOffset = _this$props15.targetOffset,
|
|
1076
|
+
isRestrictScroll = _this$props15.isRestrictScroll,
|
|
1073
1077
|
palette = _this$props15.palette,
|
|
1074
1078
|
i18nKeys = _this$props15.i18nKeys,
|
|
1075
1079
|
getFooter = _this$props15.getFooter,
|
|
@@ -1115,6 +1119,10 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1115
1119
|
needResponsive: needResponsive,
|
|
1116
1120
|
isPadding: false,
|
|
1117
1121
|
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
1122
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
1123
|
+
positionsOffset: positionsOffset,
|
|
1124
|
+
targetOffset: targetOffset,
|
|
1125
|
+
isRestrictScroll: isRestrictScroll,
|
|
1118
1126
|
palette: palette,
|
|
1119
1127
|
htmlId: setAriaId,
|
|
1120
1128
|
a11y: {
|
|
@@ -126,6 +126,10 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
126
126
|
selectAllText = _this$props.selectAllText,
|
|
127
127
|
getContainerRef = _this$props.getContainerRef,
|
|
128
128
|
removeClose = _this$props.removeClose,
|
|
129
|
+
isAbsolutePositioningNeeded = _this$props.isAbsolutePositioningNeeded,
|
|
130
|
+
positionsOffset = _this$props.positionsOffset,
|
|
131
|
+
targetOffset = _this$props.targetOffset,
|
|
132
|
+
isRestrictScroll = _this$props.isRestrictScroll,
|
|
129
133
|
isAnimate = _this$props.isAnimate,
|
|
130
134
|
animationStyle = _this$props.animationStyle,
|
|
131
135
|
isDisabled = _this$props.isDisabled,
|
|
@@ -179,6 +183,10 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
179
183
|
needResponsive: needResponsive,
|
|
180
184
|
isPadding: false,
|
|
181
185
|
isBoxPaddingNeed: isBoxPaddingNeed,
|
|
186
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
187
|
+
positionsOffset: positionsOffset,
|
|
188
|
+
targetOffset: targetOffset,
|
|
189
|
+
isRestrictScroll: isRestrictScroll,
|
|
182
190
|
palette: palette,
|
|
183
191
|
htmlId: setAriaId,
|
|
184
192
|
a11y: {
|
|
@@ -40,6 +40,8 @@ var AdvancedGroupMultiSelect_defaultProps = {
|
|
|
40
40
|
i18nKeys: {},
|
|
41
41
|
a11y: {},
|
|
42
42
|
isSearchClearOnSelect: true,
|
|
43
|
+
isAbsolutePositioningNeeded: true,
|
|
44
|
+
isRestrictScroll: false,
|
|
43
45
|
needEffect: true,
|
|
44
46
|
palette: 'default',
|
|
45
47
|
isLoading: false,
|
|
@@ -76,7 +78,9 @@ var AdvancedMultiSelect_defaultProps = {
|
|
|
76
78
|
needEffect: true,
|
|
77
79
|
isLoading: false,
|
|
78
80
|
dataSelectorId: 'advancedMultiSelect',
|
|
79
|
-
customClass: {}
|
|
81
|
+
customClass: {},
|
|
82
|
+
isAbsolutePositioningNeeded: true,
|
|
83
|
+
isRestrictScroll: false
|
|
80
84
|
};
|
|
81
85
|
exports.AdvancedMultiSelect_defaultProps = AdvancedMultiSelect_defaultProps;
|
|
82
86
|
var EmptyState_defaultProps = {
|
|
@@ -115,6 +119,8 @@ var MultiSelect_defaultProps = {
|
|
|
115
119
|
textBoxClass: '',
|
|
116
120
|
palette: 'default',
|
|
117
121
|
isSearchClearOnSelect: true,
|
|
122
|
+
isAbsolutePositioningNeeded: true,
|
|
123
|
+
isRestrictScroll: false,
|
|
118
124
|
needEffect: true,
|
|
119
125
|
boxSize: 'default',
|
|
120
126
|
isLoading: false,
|
|
@@ -155,6 +161,8 @@ var MultiSelectWithAvatar_defaultProps = {
|
|
|
155
161
|
palette: 'default',
|
|
156
162
|
isBoxPaddingNeed: true,
|
|
157
163
|
isSearchClearOnSelect: true,
|
|
164
|
+
isAbsolutePositioningNeeded: true,
|
|
165
|
+
isRestrictScroll: false,
|
|
158
166
|
needEffect: true,
|
|
159
167
|
isLoading: false,
|
|
160
168
|
dataSelectorId: 'multiSelectWithAvatar',
|
|
@@ -115,6 +115,10 @@ var MultiSelect_propTypes = {
|
|
|
115
115
|
getFooter: _propTypes["default"].func,
|
|
116
116
|
needEffect: _propTypes["default"].bool,
|
|
117
117
|
boxSize: _propTypes["default"].string,
|
|
118
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
119
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
120
|
+
positionsOffset: _propTypes["default"].object,
|
|
121
|
+
targetOffset: _propTypes["default"].object,
|
|
118
122
|
isLoading: _propTypes["default"].bool,
|
|
119
123
|
dataSelectorId: _propTypes["default"].string,
|
|
120
124
|
keepSelectedOptions: _propTypes["default"].bool,
|
|
@@ -254,6 +258,10 @@ var AdvancedGroupMultiSelect_propTypes = _defineProperty({
|
|
|
254
258
|
textField: _propTypes["default"].string,
|
|
255
259
|
getTargetRef: _propTypes["default"].func,
|
|
256
260
|
togglePopup: _propTypes["default"].func,
|
|
261
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
262
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
263
|
+
positionsOffset: _propTypes["default"].object,
|
|
264
|
+
targetOffset: _propTypes["default"].object,
|
|
257
265
|
needLocalSearch: _propTypes["default"].bool,
|
|
258
266
|
isNextOptions: _propTypes["default"].bool,
|
|
259
267
|
getNextOptions: _propTypes["default"].func,
|
|
@@ -652,6 +652,10 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
652
652
|
getContainerRef = _this$props9.getContainerRef,
|
|
653
653
|
isPopupReady = _this$props9.isPopupReady,
|
|
654
654
|
removeClose = _this$props9.removeClose,
|
|
655
|
+
isAbsolutePositioningNeeded = _this$props9.isAbsolutePositioningNeeded,
|
|
656
|
+
positionsOffset = _this$props9.positionsOffset,
|
|
657
|
+
targetOffset = _this$props9.targetOffset,
|
|
658
|
+
isRestrictScroll = _this$props9.isRestrictScroll,
|
|
655
659
|
borderColor = _this$props9.borderColor,
|
|
656
660
|
needTick = _this$props9.needTick,
|
|
657
661
|
children = _this$props9.children,
|
|
@@ -777,6 +781,10 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
777
781
|
onClick: removeClose,
|
|
778
782
|
needResponsive: needResponsive,
|
|
779
783
|
isPadding: false,
|
|
784
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
785
|
+
positionsOffset: positionsOffset,
|
|
786
|
+
targetOffset: targetOffset,
|
|
787
|
+
isRestrictScroll: isRestrictScroll,
|
|
780
788
|
isResponsivePadding: getFooter ? false : true,
|
|
781
789
|
alignBox: "row",
|
|
782
790
|
dataId: "".concat(dataId, "_suggestionBox")
|
|
@@ -183,6 +183,10 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
|
|
|
183
183
|
isPopupOpen = _this$props.isPopupOpen,
|
|
184
184
|
removeClose = _this$props.removeClose,
|
|
185
185
|
isPopupReady = _this$props.isPopupReady,
|
|
186
|
+
isAbsolutePositioningNeeded = _this$props.isAbsolutePositioningNeeded,
|
|
187
|
+
positionsOffset = _this$props.positionsOffset,
|
|
188
|
+
targetOffset = _this$props.targetOffset,
|
|
189
|
+
isRestrictScroll = _this$props.isRestrictScroll,
|
|
186
190
|
animationStyle = _this$props.animationStyle,
|
|
187
191
|
textBoxSize = _this$props.textBoxSize,
|
|
188
192
|
textBoxVariant = _this$props.textBoxVariant,
|
|
@@ -208,7 +212,8 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
|
|
|
208
212
|
htmlId = _this$props.htmlId,
|
|
209
213
|
needEffect = _this$props.needEffect,
|
|
210
214
|
isLoading = _this$props.isLoading,
|
|
211
|
-
dataSelectorId = _this$props.dataSelectorId
|
|
215
|
+
dataSelectorId = _this$props.dataSelectorId,
|
|
216
|
+
getTargetRef = _this$props.getTargetRef;
|
|
212
217
|
i18nKeys = Object.assign({}, i18nKeys, {
|
|
213
218
|
emptyText: i18nKeys.emptyText || emptyMessage,
|
|
214
219
|
searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
|
|
@@ -239,7 +244,7 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
|
|
|
239
244
|
align: "vertical",
|
|
240
245
|
alignBox: "row",
|
|
241
246
|
className: "".concat(_MultiSelectModule["default"].container, " ").concat(_MultiSelectModule["default"][size], " ").concat(_MultiSelectModule["default"]["borderColor_".concat(borderColor)], " ").concat(isActive && needBorder ? _MultiSelectModule["default"].active : '', " ").concat(textBoxClass ? textBoxClass : '', " ").concat(needBorder ? _MultiSelectModule["default"].hasBorder : ''),
|
|
242
|
-
eleRef:
|
|
247
|
+
eleRef: getTargetRef,
|
|
243
248
|
onClick: !isDisabled && this.togglePopup
|
|
244
249
|
}, selectedId ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
245
250
|
className: _MultiSelectModule["default"].tag,
|
|
@@ -303,6 +308,10 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
|
|
|
303
308
|
isArrow: false,
|
|
304
309
|
onClick: removeClose,
|
|
305
310
|
needResponsive: needResponsive,
|
|
311
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
312
|
+
positionsOffset: positionsOffset,
|
|
313
|
+
targetOffset: targetOffset,
|
|
314
|
+
isRestrictScroll: isRestrictScroll,
|
|
306
315
|
isPadding: false,
|
|
307
316
|
isResponsivePadding: true,
|
|
308
317
|
alignBox: "row",
|
|
@@ -396,6 +396,10 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
|
|
|
396
396
|
isPopupReady = _this$props7.isPopupReady,
|
|
397
397
|
position = _this$props7.position,
|
|
398
398
|
getContainerRef = _this$props7.getContainerRef,
|
|
399
|
+
isAbsolutePositioningNeeded = _this$props7.isAbsolutePositioningNeeded,
|
|
400
|
+
positionsOffset = _this$props7.positionsOffset,
|
|
401
|
+
targetOffset = _this$props7.targetOffset,
|
|
402
|
+
isRestrictScroll = _this$props7.isRestrictScroll,
|
|
399
403
|
valueKey = _this$props7.valueKey,
|
|
400
404
|
idKey = _this$props7.idKey,
|
|
401
405
|
needListBorder = _this$props7.needListBorder,
|
|
@@ -521,6 +525,10 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
|
|
|
521
525
|
onClick: removeClose,
|
|
522
526
|
getRef: getContainerRef,
|
|
523
527
|
needResponsive: needResponsive,
|
|
528
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
529
|
+
positionsOffset: positionsOffset,
|
|
530
|
+
targetOffset: targetOffset,
|
|
531
|
+
isRestrictScroll: isRestrictScroll,
|
|
524
532
|
dataId: "".concat(dataId, "_suggestions"),
|
|
525
533
|
size: boxSize,
|
|
526
534
|
isPadding: false,
|
|
@@ -78,6 +78,8 @@ var GroupSelect_defaultProps = {
|
|
|
78
78
|
needTick: true,
|
|
79
79
|
needLocalSearch: true,
|
|
80
80
|
isSearchClearOnClose: true,
|
|
81
|
+
isAbsolutePositioningNeeded: true,
|
|
82
|
+
isRestrictScroll: false,
|
|
81
83
|
i18nKeys: {},
|
|
82
84
|
iconOnHover: false,
|
|
83
85
|
isLoading: false
|
|
@@ -103,6 +105,8 @@ var SelectWithAvatar_defaultProps = {
|
|
|
103
105
|
dataSelectorId: 'selectWithAvatar',
|
|
104
106
|
borderColor: 'default',
|
|
105
107
|
isSearchClearOnClose: true,
|
|
108
|
+
isAbsolutePositioningNeeded: true,
|
|
109
|
+
isRestrictScroll: false,
|
|
106
110
|
i18nKeys: {},
|
|
107
111
|
needEffect: true,
|
|
108
112
|
isLoading: false
|
|
@@ -117,5 +121,5 @@ var SelectWithIcon_defaultProps = (_SelectWithIcon_defau = {
|
|
|
117
121
|
needListBorder: false,
|
|
118
122
|
needSearch: false,
|
|
119
123
|
boxSize: 'default'
|
|
120
|
-
}, _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);
|
|
124
|
+
}, _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, "isAbsolutePositioningNeeded", true), _defineProperty(_SelectWithIcon_defau, "isRestrictScroll", false), _defineProperty(_SelectWithIcon_defau, "customProps", {}), _SelectWithIcon_defau);
|
|
121
125
|
exports.SelectWithIcon_defaultProps = SelectWithIcon_defaultProps;
|
|
@@ -106,8 +106,8 @@ var Select_propTypes = {
|
|
|
106
106
|
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
107
107
|
openPopupOnly: _propTypes["default"].bool,
|
|
108
108
|
ariaLabelledby: _propTypes["default"].string,
|
|
109
|
-
positionsOffset: _propTypes["default"].
|
|
110
|
-
targetOffset: _propTypes["default"].
|
|
109
|
+
positionsOffset: _propTypes["default"].object,
|
|
110
|
+
targetOffset: _propTypes["default"].object,
|
|
111
111
|
isRestrictScroll: _propTypes["default"].bool,
|
|
112
112
|
dropBoxPortalId: _propTypes["default"].string
|
|
113
113
|
};
|
|
@@ -179,6 +179,10 @@ var GroupSelect_propTypes = {
|
|
|
179
179
|
closePopupOnly: _propTypes["default"].func,
|
|
180
180
|
position: _propTypes["default"].string,
|
|
181
181
|
removeClose: _propTypes["default"].func,
|
|
182
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
183
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
184
|
+
positionsOffset: _propTypes["default"].object,
|
|
185
|
+
targetOffset: _propTypes["default"].object,
|
|
182
186
|
i18nKeys: _propTypes["default"].shape({
|
|
183
187
|
loadingText: _propTypes["default"].string,
|
|
184
188
|
emptyText: _propTypes["default"].string,
|
|
@@ -307,6 +311,10 @@ var SelectWithIcon_propTypes = {
|
|
|
307
311
|
needResponsive: _propTypes["default"].bool,
|
|
308
312
|
boxSize: _propTypes["default"].string,
|
|
309
313
|
emptyMessage: _propTypes["default"].string,
|
|
314
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
315
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
316
|
+
positionsOffset: _propTypes["default"].object,
|
|
317
|
+
targetOffset: _propTypes["default"].object,
|
|
310
318
|
customProps: _propTypes["default"].shape({
|
|
311
319
|
TextBoxProps: _propTypes["default"].object,
|
|
312
320
|
DropdownSearchTextBoxProps: _propTypes["default"].object,
|
package/lib/Tab/Tabs.js
CHANGED
|
@@ -578,7 +578,11 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
578
578
|
dataId = _this$props9.dataId,
|
|
579
579
|
placeHolderText = _this$props9.placeHolderText,
|
|
580
580
|
searchBoxSize = _this$props9.searchBoxSize,
|
|
581
|
-
removeClose = _this$props9.removeClose
|
|
581
|
+
removeClose = _this$props9.removeClose,
|
|
582
|
+
isAbsolutePositioningNeeded = _this$props9.isAbsolutePositioningNeeded,
|
|
583
|
+
isRestrictScroll = _this$props9.isRestrictScroll,
|
|
584
|
+
positionsOffset = _this$props9.positionsOffset,
|
|
585
|
+
targetOffset = _this$props9.targetOffset;
|
|
582
586
|
var searchValue = this.state.searchValue;
|
|
583
587
|
var _customProps$DropBoxP = customProps.DropBoxProps,
|
|
584
588
|
DropBoxProps = _customProps$DropBoxP === void 0 ? {} : _customProps$DropBoxP,
|
|
@@ -652,8 +656,12 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
652
656
|
},
|
|
653
657
|
boxPosition: position,
|
|
654
658
|
getRef: getContainerRef,
|
|
655
|
-
isBoxPaddingNeed:
|
|
656
|
-
isArrow: false
|
|
659
|
+
isBoxPaddingNeed: false,
|
|
660
|
+
isArrow: false,
|
|
661
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
662
|
+
isRestrictScroll: isRestrictScroll,
|
|
663
|
+
positionsOffset: positionsOffset,
|
|
664
|
+
targetOffset: targetOffset
|
|
657
665
|
}, DropBoxProps, {
|
|
658
666
|
isResponsivePadding: true,
|
|
659
667
|
needFocusScope: true,
|
|
@@ -673,7 +681,9 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
673
681
|
'data-a11y-autofocus': true
|
|
674
682
|
}
|
|
675
683
|
},
|
|
676
|
-
dataId: "".concat(dataId, "_search")
|
|
684
|
+
dataId: "".concat(dataId, "_search"),
|
|
685
|
+
autoComplete: false,
|
|
686
|
+
name: "search"
|
|
677
687
|
}, TextBoxIconProps))) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
678
688
|
flexible: true,
|
|
679
689
|
shrink: true,
|
package/lib/Tab/Tabs.module.css
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.search {
|
|
140
|
-
padding:
|
|
140
|
+
padding: var(--zd_size6) var(--zd_size20) 0 ;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.emptyStateContainer {
|
|
@@ -163,5 +163,5 @@
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.listWrapper {
|
|
166
|
-
padding
|
|
166
|
+
padding: var(--zd_size10) 0 ;
|
|
167
167
|
}
|
|
@@ -42,7 +42,10 @@ var Tabs_defaultProps = {
|
|
|
42
42
|
dataSelectorId: 'tabs',
|
|
43
43
|
searchBoxSize: 'small',
|
|
44
44
|
searchErrorText: 'No results',
|
|
45
|
-
placeHolderText: 'Search'
|
|
45
|
+
placeHolderText: 'Search',
|
|
46
|
+
isAbsolutePositioningNeeded: true,
|
|
47
|
+
isRestrictScroll: false,
|
|
48
|
+
moreContainerClass: ''
|
|
46
49
|
};
|
|
47
50
|
exports.Tabs_defaultProps = Tabs_defaultProps;
|
|
48
51
|
var TabWrapper_defaultProps = {
|
|
@@ -107,7 +107,11 @@ var Tabs_propTypes = {
|
|
|
107
107
|
placeHolderText: _propTypes["default"].string,
|
|
108
108
|
searchBoxSize: _propTypes["default"].string,
|
|
109
109
|
searchErrorText: _propTypes["default"].string,
|
|
110
|
-
closePopupOnly: _propTypes["default"].func
|
|
110
|
+
closePopupOnly: _propTypes["default"].func,
|
|
111
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
112
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
113
|
+
positionsOffset: _propTypes["default"].object,
|
|
114
|
+
targetOffset: _propTypes["default"].object
|
|
111
115
|
};
|
|
112
116
|
exports.Tabs_propTypes = Tabs_propTypes;
|
|
113
117
|
var TabWrapper_propTypes = {
|
package/lib/Tooltip/Tooltip.js
CHANGED
|
@@ -551,7 +551,7 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
551
551
|
var tooltipWhiteSpaceModification = dataTooltipWrap;
|
|
552
552
|
|
|
553
553
|
if (dataTooltipWrap == 'pre') {
|
|
554
|
-
tooltipWhiteSpaceModification = '
|
|
554
|
+
tooltipWhiteSpaceModification = 'pre-wrap';
|
|
555
555
|
} else if (dataTooltipWrap == 'nowrap') {
|
|
556
556
|
tooltipWhiteSpaceModification = 'normal';
|
|
557
557
|
}
|
|
@@ -44,7 +44,7 @@ function DropDownSearch(props) {
|
|
|
44
44
|
var inputRef = (0, _react.useRef)(null); // eslint-disable-next-line func-call-spacing
|
|
45
45
|
|
|
46
46
|
(0, _react.useEffect)(function () {
|
|
47
|
-
inputRef.current &&
|
|
47
|
+
inputRef.current && inputRef.current.focus({
|
|
48
48
|
preventScroll: true
|
|
49
49
|
});
|
|
50
50
|
}, []);
|
|
@@ -943,6 +943,10 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
943
943
|
dropBoxSize = _this$props8.dropBoxSize,
|
|
944
944
|
position = _this$props8.position,
|
|
945
945
|
getContainerRef = _this$props8.getContainerRef,
|
|
946
|
+
isAbsolutePositioningNeeded = _this$props8.isAbsolutePositioningNeeded,
|
|
947
|
+
positionsOffset = _this$props8.positionsOffset,
|
|
948
|
+
targetOffset = _this$props8.targetOffset,
|
|
949
|
+
isRestrictScroll = _this$props8.isRestrictScroll,
|
|
946
950
|
emptyMessage = _this$props8.emptyMessage,
|
|
947
951
|
searchEmptyMessage = _this$props8.searchEmptyMessage,
|
|
948
952
|
title = _this$props8.title,
|
|
@@ -961,7 +965,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
961
965
|
a11y = _this$props8.a11y,
|
|
962
966
|
palette = _this$props8.palette,
|
|
963
967
|
needEffect = _this$props8.needEffect,
|
|
964
|
-
autoComplete = _this$props8.autoComplete
|
|
968
|
+
autoComplete = _this$props8.autoComplete,
|
|
969
|
+
getTargetRef = _this$props8.getTargetRef;
|
|
965
970
|
var _i18nKeys = i18nKeys,
|
|
966
971
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
967
972
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText;
|
|
@@ -1000,7 +1005,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1000
1005
|
align: "vertical",
|
|
1001
1006
|
alignBox: "row",
|
|
1002
1007
|
onClick: this.togglePopup,
|
|
1003
|
-
className: customClass
|
|
1008
|
+
className: customClass,
|
|
1009
|
+
eleRef: getTargetRef
|
|
1004
1010
|
}, children) : /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
1005
1011
|
align: "vertical",
|
|
1006
1012
|
alignBox: "row",
|
|
@@ -1081,6 +1087,10 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1081
1087
|
needResponsive: needResponsive,
|
|
1082
1088
|
isPadding: isPadding,
|
|
1083
1089
|
isBoxPaddingNeed: !needSelectAll,
|
|
1090
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
1091
|
+
positionsOffset: positionsOffset,
|
|
1092
|
+
targetOffset: targetOffset,
|
|
1093
|
+
isRestrictScroll: isRestrictScroll,
|
|
1084
1094
|
htmlId: setAriaId,
|
|
1085
1095
|
a11y: {
|
|
1086
1096
|
role: 'listbox',
|
|
@@ -436,7 +436,11 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
436
436
|
disabledOptions = _this$props5.disabledOptions,
|
|
437
437
|
isLoading = _this$props5.isLoading,
|
|
438
438
|
dataSelectorId = _this$props5.dataSelectorId,
|
|
439
|
-
customClass = _this$props5.customClass
|
|
439
|
+
customClass = _this$props5.customClass,
|
|
440
|
+
isAbsolutePositioningNeeded = _this$props5.isAbsolutePositioningNeeded,
|
|
441
|
+
positionsOffset = _this$props5.positionsOffset,
|
|
442
|
+
targetOffset = _this$props5.targetOffset,
|
|
443
|
+
isRestrictScroll = _this$props5.isRestrictScroll;
|
|
440
444
|
var _customProps$Suggesti = customProps.SuggestionsProps,
|
|
441
445
|
SuggestionsProps = _customProps$Suggesti === void 0 ? {} : _customProps$Suggesti,
|
|
442
446
|
_customProps$DropBoxP = customProps.DropBoxProps,
|
|
@@ -569,7 +573,11 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
569
573
|
role: 'listbox',
|
|
570
574
|
ariaMultiselectable: true
|
|
571
575
|
},
|
|
572
|
-
dataId: "".concat(dataIdMultiSelectComp, "_dropbox")
|
|
576
|
+
dataId: "".concat(dataIdMultiSelectComp, "_dropbox"),
|
|
577
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
578
|
+
positionsOffset: positionsOffset,
|
|
579
|
+
targetOffset: targetOffset,
|
|
580
|
+
isRestrictScroll: isRestrictScroll
|
|
573
581
|
}, DropBoxProps, {
|
|
574
582
|
alignBox: "row",
|
|
575
583
|
isResponsivePadding: getFooter ? false : true
|