@zohodesk/components 1.0.0-temp-242.6 → 1.0.0-temp-250
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/README.md +42 -14
- package/es/AvatarTeam/AvatarTeam.module.css +189 -189
- package/es/Buttongroup/Buttongroup.module.css +106 -106
- package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +4 -2
- package/es/DropBox/css/DropBox.module.css +58 -58
- package/es/DropDown/DropDownHeading.module.css +53 -53
- package/es/DropDown/DropDownItem.module.css +94 -94
- package/es/ListItem/ListItem.js +6 -4
- package/es/ListItem/ListItem.module.css +40 -22
- package/es/ListItem/ListItemWithAvatar.js +7 -5
- package/es/ListItem/ListItemWithCheckBox.js +9 -5
- package/es/ListItem/ListItemWithIcon.js +10 -7
- package/es/ListItem/ListItemWithRadio.js +9 -6
- package/es/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +4 -4
- package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +131 -82
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +432 -390
- package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +141 -92
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +432 -390
- package/es/ListItem/props/defaultProps.js +2 -1
- package/es/ListItem/props/propTypes.js +4 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +14 -3
- package/es/MultiSelect/AdvancedMultiSelect.js +2 -0
- package/es/MultiSelect/EmptyState.js +16 -2
- package/es/MultiSelect/MultiSelect.js +4 -2
- package/es/MultiSelect/MultiSelectWithAvatar.js +2 -0
- package/es/MultiSelect/Suggestions.js +7 -2
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +10 -10
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +34 -28
- package/es/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +20 -20
- package/es/MultiSelect/props/defaultProps.js +2 -0
- package/es/MultiSelect/props/propTypes.js +14 -3
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/Popup/Popup.js +13 -12
- package/es/Ribbon/Ribbon.module.css +504 -504
- package/es/Select/GroupSelect.js +14 -4
- package/es/Select/Select.js +14 -3
- package/es/Select/SelectWithAvatar.js +14 -4
- package/es/Select/SelectWithIcon.js +14 -4
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +88 -88
- package/es/Select/props/defaultProps.js +9 -4
- package/es/Select/props/propTypes.js +29 -5
- package/es/Switch/Switch.module.css +127 -127
- package/es/Tag/Tag.module.css +254 -254
- package/es/common/common.module.css +1 -1
- package/es/common/customscroll.module.css +141 -141
- package/es/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +40 -34
- package/lib/AvatarTeam/AvatarTeam.module.css +189 -189
- package/lib/Buttongroup/Buttongroup.module.css +106 -106
- package/lib/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +4 -2
- package/lib/DropBox/css/DropBox.module.css +58 -58
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/ListItem/ListItem.js +7 -4
- package/lib/ListItem/ListItem.module.css +40 -22
- package/lib/ListItem/ListItemWithAvatar.js +7 -5
- package/lib/ListItem/ListItemWithCheckBox.js +9 -5
- package/lib/ListItem/ListItemWithIcon.js +10 -7
- package/lib/ListItem/ListItemWithRadio.js +9 -6
- package/lib/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +4 -4
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +131 -82
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +432 -390
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +141 -92
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +432 -390
- package/lib/ListItem/props/defaultProps.js +2 -1
- package/lib/ListItem/props/propTypes.js +4 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +25 -16
- package/lib/MultiSelect/AdvancedMultiSelect.js +2 -0
- package/lib/MultiSelect/EmptyState.js +17 -2
- package/lib/MultiSelect/MultiSelect.js +4 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -0
- package/lib/MultiSelect/Suggestions.js +6 -2
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +10 -10
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +34 -28
- package/lib/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +20 -20
- package/lib/MultiSelect/props/defaultProps.js +2 -0
- package/lib/MultiSelect/props/propTypes.js +16 -5
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/Popup/Popup.js +13 -15
- package/lib/Ribbon/Ribbon.module.css +504 -504
- package/lib/Select/GroupSelect.js +15 -4
- package/lib/Select/Select.js +13 -3
- package/lib/Select/SelectWithAvatar.js +15 -4
- package/lib/Select/SelectWithIcon.js +15 -4
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +88 -88
- package/lib/Select/props/defaultProps.js +8 -6
- package/lib/Select/props/propTypes.js +29 -5
- package/lib/Switch/Switch.module.css +127 -127
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/common/common.module.css +1 -1
- package/lib/common/customscroll.module.css +141 -141
- package/lib/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +40 -34
- package/package.json +16 -15
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css +0 -467
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css +0 -36
- package/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css +0 -467
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css +0 -467
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css +0 -36
- package/assets/Contrast/darkContrastLightness.module.css +0 -39
- package/assets/Contrast/lightContrastLightness.module.css +0 -39
- package/assets/Contrast/pureDarkContrastLightness.module.css +0 -39
|
@@ -37,7 +37,8 @@ var ListItemDefaultProps = {
|
|
|
37
37
|
customClass: {},
|
|
38
38
|
customProps: {},
|
|
39
39
|
dataSelectorId: 'listItem',
|
|
40
|
-
needMultiLineText: false
|
|
40
|
+
needMultiLineText: false,
|
|
41
|
+
lhsAlignContent: 'start'
|
|
41
42
|
};
|
|
42
43
|
exports.ListItemDefaultProps = ListItemDefaultProps;
|
|
43
44
|
var ListItemWithAvatarDefaultProps = {
|
|
@@ -78,14 +78,16 @@ var ListItem_Props = {
|
|
|
78
78
|
customClass: _propTypes["default"].shape({
|
|
79
79
|
customListItem: _propTypes["default"].string,
|
|
80
80
|
customTickIcon: _propTypes["default"].string,
|
|
81
|
-
customValueRightPlaceholder: _propTypes["default"].string
|
|
81
|
+
customValueRightPlaceholder: _propTypes["default"].string,
|
|
82
|
+
customTitleBox: _propTypes["default"].string
|
|
82
83
|
}),
|
|
83
84
|
customProps: _propTypes["default"].shape({
|
|
84
85
|
ListItemProps: _propTypes["default"].object
|
|
85
86
|
}),
|
|
86
87
|
secondaryValue: _propTypes["default"].string,
|
|
87
88
|
renderBeforeChildren: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].func]),
|
|
88
|
-
renderValueRightPlaceholderNode: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].func])
|
|
89
|
+
renderValueRightPlaceholderNode: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].func]),
|
|
90
|
+
lhsAlignContent: _propTypes["default"].oneOf(['start', 'center', 'end'])
|
|
89
91
|
};
|
|
90
92
|
exports.ListItem_Props = ListItem_Props;
|
|
91
93
|
var ListItemWithAvatar_Props = (_ListItemWithAvatar_P = {
|
|
@@ -41,11 +41,13 @@ var _ResponsiveDropBox = _interopRequireDefault(require("../ResponsiveDropBox/Re
|
|
|
41
41
|
|
|
42
42
|
var _CustomResponsive = require("../Responsive/CustomResponsive");
|
|
43
43
|
|
|
44
|
+
var _Common = require("./../utils/Common");
|
|
45
|
+
|
|
44
46
|
var _icons = require("@zohodesk/icons");
|
|
45
47
|
|
|
46
48
|
var _MultiSelectModule = _interopRequireDefault(require("./MultiSelect.module.css"));
|
|
47
49
|
|
|
48
|
-
var
|
|
50
|
+
var _Common2 = require("../utils/Common.js");
|
|
49
51
|
|
|
50
52
|
var _dropDownUtils = require("../utils/dropDownUtils");
|
|
51
53
|
|
|
@@ -55,6 +57,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
55
57
|
|
|
56
58
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
57
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
|
+
|
|
58
62
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
59
63
|
|
|
60
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."); }
|
|
@@ -150,7 +154,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
150
154
|
_this.suggestionItemRef = _this.suggestionItemRef.bind(_assertThisInitialized(_this));
|
|
151
155
|
_this.searchInputRef = _this.searchInputRef.bind(_assertThisInitialized(_this));
|
|
152
156
|
_this.handleScroll = _this.handleScroll.bind(_assertThisInitialized(_this));
|
|
153
|
-
_this.handleScrollFuncCall = (0,
|
|
157
|
+
_this.handleScrollFuncCall = (0, _Common2.debounce)(_this.handleScrollFuncCall.bind(_assertThisInitialized(_this)), 500);
|
|
154
158
|
_this.handleInputCick = _this.handleInputCick.bind(_assertThisInitialized(_this));
|
|
155
159
|
_this.togglePopup = _this.togglePopup.bind(_assertThisInitialized(_this));
|
|
156
160
|
_this.handleSelectedOptionIdChange = _this.handleSelectedOptionIdChange.bind(_assertThisInitialized(_this));
|
|
@@ -163,7 +167,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
163
167
|
_this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
|
|
164
168
|
_this.handleFetchOptions = _this.handleFetchOptions.bind(_assertThisInitialized(_this));
|
|
165
169
|
_this.handleSearch = _this.handleSearch.bind(_assertThisInitialized(_this));
|
|
166
|
-
_this.handleSearchOptions = (0,
|
|
170
|
+
_this.handleSearchOptions = (0, _Common2.debounce)(_this.handleSearchOptions.bind(_assertThisInitialized(_this)), searchDebounceTime);
|
|
167
171
|
_this.handleSelectAll = _this.handleSelectAll.bind(_assertThisInitialized(_this));
|
|
168
172
|
_this.handleDeselectAll = _this.handleDeselectAll.bind(_assertThisInitialized(_this));
|
|
169
173
|
_this.handleActive = _this.handleActive.bind(_assertThisInitialized(_this));
|
|
@@ -307,7 +311,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
307
311
|
var needLocalSearch = this.props.needLocalSearch;
|
|
308
312
|
|
|
309
313
|
if (searchStr && searchStr.trim().length) {
|
|
310
|
-
searchStr = (0,
|
|
314
|
+
searchStr = (0, _Common2.getSearchString)(searchStr);
|
|
311
315
|
|
|
312
316
|
var _this$getFilterSugges = this.getFilterSuggestions({
|
|
313
317
|
revampedGroups: revampedGroups,
|
|
@@ -414,7 +418,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
414
418
|
}, {
|
|
415
419
|
key: "handleRemoveOption",
|
|
416
420
|
value: function handleRemoveOption(options) {
|
|
417
|
-
var newOptions = !(0,
|
|
421
|
+
var newOptions = !(0, _Common2.getIsEmptyValue)(options) && !Array.isArray(options) ? [options] : options;
|
|
418
422
|
var isReadOnly = this.props.isReadOnly;
|
|
419
423
|
var selectedOptionIds = this.state.selectedOptionIds;
|
|
420
424
|
var _this$state4 = this.state,
|
|
@@ -528,7 +532,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
528
532
|
} else if (keyCode === 13 && selectedOptions.length < limit) {
|
|
529
533
|
//enter key
|
|
530
534
|
var id = suggestions[hoverIndex] || {};
|
|
531
|
-
isPopupOpen && !(0,
|
|
535
|
+
isPopupOpen && !(0, _Common2.getIsEmptyValue)(id) && this.handleSelectOption(id, null, null, e);
|
|
532
536
|
!isPopupOpen && isPopupOpenOnEnter && this.togglePopup(e);
|
|
533
537
|
} else if (selectedOptions.length && keyCode === 8 && !searchStr.length) {
|
|
534
538
|
//backspace key
|
|
@@ -551,7 +555,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
551
555
|
var newShiftKeyPressHighLighted = shiftKeyPressHighLighted ? shiftKeyPressHighLighted : shiftKeyPressHighLighted + 1;
|
|
552
556
|
var newHighLightedSelectOption = lastHighLightedSelectOptionIndex !== null ? selectedOptions[lastHighLightedSelectOptionIndex + newShiftKeyPressHighLighted] : selectedOptions[0];
|
|
553
557
|
|
|
554
|
-
if (!(0,
|
|
558
|
+
if (!(0, _Common2.getIsEmptyValue)(newHighLightedSelectOption)) {
|
|
555
559
|
var newLastHighLightedSelectOption = lastHighLightedSelectOption ? lastHighLightedSelectOption : selectedOptions[0];
|
|
556
560
|
highLightedSelectOptions = !shiftKeyPressHighLighted ? [newLastHighLightedSelectOption] : highLightedSelectOptions;
|
|
557
561
|
var isRemove = highLightedSelectOptions.indexOf(newHighLightedSelectOption) >= 0 && newHighLightedSelectOption !== lastHighLightedSelectOption ? true : false;
|
|
@@ -572,7 +576,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
572
576
|
|
|
573
577
|
var _newHighLightedSelectOption = selectedOptions[_lastHighLightedSelectOptionIndex + _newShiftKeyPressHighLighted - 1];
|
|
574
578
|
|
|
575
|
-
if (!(0,
|
|
579
|
+
if (!(0, _Common2.getIsEmptyValue)(_newHighLightedSelectOption)) {
|
|
576
580
|
var _newLastHighLightedSelectOption = lastHighLightedSelectOption ? lastHighLightedSelectOption : selectedOptions.slice(-1)[0];
|
|
577
581
|
|
|
578
582
|
highLightedSelectOptions = !shiftKeyPressHighLighted ? [_newLastHighLightedSelectOption] : highLightedSelectOptions;
|
|
@@ -603,7 +607,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
603
607
|
var _newLastHighLightedSelectOption2 = selectedOptions[newLastHighLightedSelectOptionIndex];
|
|
604
608
|
var isEmptyHighlighted = isRightArrow && highLightedSelectOptions.length === 1 && selectedOptions.slice(-1)[0] === _lastHighLightedSelectOption ? true : false;
|
|
605
609
|
|
|
606
|
-
if (!(0,
|
|
610
|
+
if (!(0, _Common2.getIsEmptyValue)(_newLastHighLightedSelectOption2)) {
|
|
607
611
|
this.setState({
|
|
608
612
|
lastHighLightedSelectOption: isEmptyHighlighted ? '' : _newLastHighLightedSelectOption2,
|
|
609
613
|
highLightedSelectOptions: isEmptyHighlighted ? [] : [_newLastHighLightedSelectOption2],
|
|
@@ -690,8 +694,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
690
694
|
!isPopupOpen && e && this.togglePopup(e);
|
|
691
695
|
var _this$state$searchStr = this.state.searchStr,
|
|
692
696
|
searchStr = _this$state$searchStr === void 0 ? '' : _this$state$searchStr;
|
|
693
|
-
var searchStrRegex = (0,
|
|
694
|
-
var valueStrRegex = (0,
|
|
697
|
+
var searchStrRegex = (0, _Common2.getSearchString)(searchStr);
|
|
698
|
+
var valueStrRegex = (0, _Common2.getSearchString)(value);
|
|
695
699
|
var isSearch = searchStrRegex !== valueStrRegex ? true : false;
|
|
696
700
|
this.setState({
|
|
697
701
|
searchStr: value
|
|
@@ -897,9 +901,9 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
897
901
|
});
|
|
898
902
|
}
|
|
899
903
|
|
|
900
|
-
var hoverId = (0,
|
|
904
|
+
var hoverId = (0, _Common2.getIsEmptyValue)(newOptionIds[hoverIndex]) ? '' : newOptionIds[hoverIndex];
|
|
901
905
|
var selSuggestion = this["suggestion_".concat(hoverId)];
|
|
902
|
-
isPopupOpen && (0,
|
|
906
|
+
isPopupOpen && (0, _Common2.scrollTo)(this.suggestionContainer, selSuggestion); //When suggestions length less than 5, getNextOptions function call
|
|
903
907
|
|
|
904
908
|
var _this$props8 = this.props,
|
|
905
909
|
isNextOptions = _this$props8.isNextOptions,
|
|
@@ -960,6 +964,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
960
964
|
isRestrictScroll = _this$props9.isRestrictScroll,
|
|
961
965
|
emptyMessage = _this$props9.emptyMessage,
|
|
962
966
|
searchEmptyMessage = _this$props9.searchEmptyMessage,
|
|
967
|
+
renderCustomEmptyState = _this$props9.renderCustomEmptyState,
|
|
963
968
|
title = _this$props9.title,
|
|
964
969
|
variant = _this$props9.variant,
|
|
965
970
|
children = _this$props9.children,
|
|
@@ -979,7 +984,10 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
979
984
|
autoComplete = _this$props9.autoComplete,
|
|
980
985
|
getTargetRef = _this$props9.getTargetRef,
|
|
981
986
|
isFocus = _this$props9.isFocus,
|
|
982
|
-
limit = _this$props9.limit
|
|
987
|
+
limit = _this$props9.limit,
|
|
988
|
+
customProps = _this$props9.customProps;
|
|
989
|
+
var _customProps$Suggesti = customProps.SuggestionsProps,
|
|
990
|
+
SuggestionsProps = _customProps$Suggesti === void 0 ? _Common.DUMMY_OBJECT : _customProps$Suggesti;
|
|
983
991
|
var _i18nKeys = i18nKeys,
|
|
984
992
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
985
993
|
clearText = _i18nKeys$clearText === void 0 ? _constants.MULTISELECT_I18N_KEYS.clearText : _i18nKeys$clearText,
|
|
@@ -1145,7 +1153,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1145
1153
|
a11y: {
|
|
1146
1154
|
role: 'heading'
|
|
1147
1155
|
}
|
|
1148
|
-
})), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], {
|
|
1156
|
+
})), /*#__PURE__*/_react["default"].createElement(_Suggestions["default"], _extends({}, SuggestionsProps, {
|
|
1149
1157
|
suggestions: suggestions,
|
|
1150
1158
|
selectedOptions: selectedOptionIds,
|
|
1151
1159
|
getRef: _this5.suggestionItemRef,
|
|
@@ -1160,11 +1168,12 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1160
1168
|
limit: limit,
|
|
1161
1169
|
limitReachedMessage: limitReachedMessage,
|
|
1162
1170
|
dataId: "".concat(dataId, "_Options")
|
|
1163
|
-
}));
|
|
1171
|
+
})));
|
|
1164
1172
|
}) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
|
|
1165
1173
|
options: revampedGroups,
|
|
1166
1174
|
searchString: searchStr,
|
|
1167
1175
|
suggestions: suggestionGroups,
|
|
1176
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
1168
1177
|
dataId: dataId,
|
|
1169
1178
|
isLoading: isFetchingOptions,
|
|
1170
1179
|
i18nKeys: i18nKeys,
|
|
@@ -418,6 +418,7 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
418
418
|
searchEmptyMessage = _this$props6.searchEmptyMessage,
|
|
419
419
|
emptyMessage = _this$props6.emptyMessage,
|
|
420
420
|
noMoreOptionsMessage = _this$props6.noMoreOptionsMessage,
|
|
421
|
+
renderCustomEmptyState = _this$props6.renderCustomEmptyState,
|
|
421
422
|
dropBoxSize = _this$props6.dropBoxSize,
|
|
422
423
|
placeHolder = _this$props6.placeHolder,
|
|
423
424
|
isPopupOpen = _this$props6.isPopupOpen,
|
|
@@ -640,6 +641,7 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
640
641
|
options: options,
|
|
641
642
|
searchString: searchStr,
|
|
642
643
|
suggestions: suggestions,
|
|
644
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
643
645
|
dataId: dataIdLoading,
|
|
644
646
|
i18nKeys: i18nKeys,
|
|
645
647
|
htmlId: ariaErrorId
|
|
@@ -9,6 +9,8 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
+
var _utils = require("@zohodesk/utils");
|
|
13
|
+
|
|
12
14
|
var _propTypes = require("./props/propTypes");
|
|
13
15
|
|
|
14
16
|
var _defaultProps = require("./props/defaultProps");
|
|
@@ -62,6 +64,7 @@ var EmptyState = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
62
64
|
searchString = _this$props.searchString,
|
|
63
65
|
suggestions = _this$props.suggestions,
|
|
64
66
|
dataId = _this$props.dataId,
|
|
67
|
+
renderCustomEmptyState = _this$props.renderCustomEmptyState,
|
|
65
68
|
getCustomEmptyState = _this$props.getCustomEmptyState,
|
|
66
69
|
palette = _this$props.palette,
|
|
67
70
|
i18nKeys = _this$props.i18nKeys,
|
|
@@ -90,13 +93,25 @@ var EmptyState = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
90
93
|
"data-test-id": "".concat(dataId, "_srchEmptyMsg"),
|
|
91
94
|
role: role,
|
|
92
95
|
id: htmlId
|
|
93
|
-
}, searchEmptyText || emptyText) : options.length === 0 ?
|
|
96
|
+
}, searchEmptyText || emptyText) : options.length === 0 ? (0, _utils.isRenderable)(renderCustomEmptyState) ? (0, _utils.renderNode)(renderCustomEmptyState, {
|
|
97
|
+
title: emptyText,
|
|
98
|
+
dataId: dataId,
|
|
99
|
+
role: role,
|
|
100
|
+
htmlId: htmlId,
|
|
101
|
+
className: className
|
|
102
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
94
103
|
className: className,
|
|
95
104
|
"data-id": "".concat(dataId, "_noOptnsMsg"),
|
|
96
105
|
"data-test-id": "".concat(dataId, "_noOptnsMsg"),
|
|
97
106
|
role: role,
|
|
98
107
|
id: htmlId
|
|
99
|
-
}, emptyText) :
|
|
108
|
+
}, emptyText) : (0, _utils.isRenderable)(renderCustomEmptyState) ? (0, _utils.renderNode)(renderCustomEmptyState, {
|
|
109
|
+
title: noMoreText || emptyText,
|
|
110
|
+
dataId: dataId,
|
|
111
|
+
role: role,
|
|
112
|
+
htmlId: htmlId,
|
|
113
|
+
className: className
|
|
114
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
115
|
className: className,
|
|
101
116
|
"data-id": "".concat(dataId, "_NoMoreOptionMsg"),
|
|
102
117
|
"data-test-id": "".concat(dataId, "_NoMoreOptionMsg"),
|
|
@@ -1141,6 +1141,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1141
1141
|
searchEmptyMessage = _this$props15.searchEmptyMessage,
|
|
1142
1142
|
emptyMessage = _this$props15.emptyMessage,
|
|
1143
1143
|
noMoreOptionsMessage = _this$props15.noMoreOptionsMessage,
|
|
1144
|
+
renderCustomEmptyState = _this$props15.renderCustomEmptyState,
|
|
1144
1145
|
dropBoxSize = _this$props15.dropBoxSize,
|
|
1145
1146
|
isPopupOpen = _this$props15.isPopupOpen,
|
|
1146
1147
|
isPopupReady = _this$props15.isPopupReady,
|
|
@@ -1171,9 +1172,9 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1171
1172
|
isLoading = _this$props15.isLoading,
|
|
1172
1173
|
selectAllText = _this$props15.selectAllText,
|
|
1173
1174
|
needSelectAll = _this$props15.needSelectAll,
|
|
1174
|
-
customProps = _this$props15.customProps,
|
|
1175
1175
|
isVirtualizerEnabled = _this$props15.isVirtualizerEnabled,
|
|
1176
|
-
limit = _this$props15.limit
|
|
1176
|
+
limit = _this$props15.limit,
|
|
1177
|
+
customProps = _this$props15.customProps;
|
|
1177
1178
|
var _this$state9 = this.state,
|
|
1178
1179
|
selectedOptions = _this$state9.selectedOptions,
|
|
1179
1180
|
searchStr = _this$state9.searchStr,
|
|
@@ -1276,6 +1277,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1276
1277
|
options: options,
|
|
1277
1278
|
searchString: searchStr,
|
|
1278
1279
|
suggestions: suggestions,
|
|
1280
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
1279
1281
|
dataId: dataId,
|
|
1280
1282
|
palette: palette,
|
|
1281
1283
|
i18nKeys: i18nKeys,
|
|
@@ -126,6 +126,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
126
126
|
searchEmptyMessage = _this$props.searchEmptyMessage,
|
|
127
127
|
emptyMessage = _this$props.emptyMessage,
|
|
128
128
|
noMoreOptionsMessage = _this$props.noMoreOptionsMessage,
|
|
129
|
+
renderCustomEmptyState = _this$props.renderCustomEmptyState,
|
|
129
130
|
dropBoxSize = _this$props.dropBoxSize,
|
|
130
131
|
isPopupOpen = _this$props.isPopupOpen,
|
|
131
132
|
isPopupReady = _this$props.isPopupReady,
|
|
@@ -252,6 +253,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
252
253
|
options: options,
|
|
253
254
|
searchString: searchStr,
|
|
254
255
|
suggestions: suggestions,
|
|
256
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
255
257
|
dataId: dataId,
|
|
256
258
|
palette: palette,
|
|
257
259
|
i18nKeys: i18nKeys,
|
|
@@ -247,15 +247,19 @@ var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
247
247
|
htmlId = _this$props2.htmlId,
|
|
248
248
|
a11y = _this$props2.a11y,
|
|
249
249
|
getVirtualizerPublicMethods = _this$props2.getVirtualizerPublicMethods,
|
|
250
|
-
setVirtualizerContainerRefFunction = _this$props2.setVirtualizerContainerRefFunction
|
|
250
|
+
setVirtualizerContainerRefFunction = _this$props2.setVirtualizerContainerRefFunction,
|
|
251
|
+
customClass = _this$props2.customClass;
|
|
251
252
|
var ariaParentRole = a11y.ariaParentRole,
|
|
252
253
|
ariaMultiselectable = a11y.ariaMultiselectable;
|
|
254
|
+
var _customClass$containe = customClass.containerClass,
|
|
255
|
+
containerClass = _customClass$containe === void 0 ? '' : _customClass$containe;
|
|
253
256
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
254
257
|
isCover: false,
|
|
255
258
|
role: ariaParentRole,
|
|
256
259
|
id: htmlId,
|
|
257
260
|
tabindex: "0",
|
|
258
|
-
"aria-multiselectable": ariaMultiselectable
|
|
261
|
+
"aria-multiselectable": ariaMultiselectable,
|
|
262
|
+
className: containerClass
|
|
259
263
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
260
264
|
dataId: "".concat(dataId),
|
|
261
265
|
className: className ? className : ''
|
|
@@ -217,13 +217,13 @@ exports[`AdvancedMultiSelect rendering the options array with objects and string
|
|
|
217
217
|
data-test-id="boxComponent"
|
|
218
218
|
>
|
|
219
219
|
<div
|
|
220
|
-
class="titleBox
|
|
220
|
+
class="titleBox shrinkOff"
|
|
221
221
|
data-id="boxComponent"
|
|
222
222
|
data-selector-id="box"
|
|
223
223
|
data-test-id="boxComponent"
|
|
224
224
|
>
|
|
225
225
|
<div
|
|
226
|
-
class="value basisAuto shrinkOn"
|
|
226
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
227
227
|
data-id="boxComponent"
|
|
228
228
|
data-selector-id="box"
|
|
229
229
|
data-test-id="boxComponent"
|
|
@@ -253,13 +253,13 @@ exports[`AdvancedMultiSelect rendering the options array with objects and string
|
|
|
253
253
|
data-test-id="boxComponent"
|
|
254
254
|
>
|
|
255
255
|
<div
|
|
256
|
-
class="titleBox
|
|
256
|
+
class="titleBox shrinkOff"
|
|
257
257
|
data-id="boxComponent"
|
|
258
258
|
data-selector-id="box"
|
|
259
259
|
data-test-id="boxComponent"
|
|
260
260
|
>
|
|
261
261
|
<div
|
|
262
|
-
class="value basisAuto shrinkOn"
|
|
262
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
263
263
|
data-id="boxComponent"
|
|
264
264
|
data-selector-id="box"
|
|
265
265
|
data-test-id="boxComponent"
|
|
@@ -289,13 +289,13 @@ exports[`AdvancedMultiSelect rendering the options array with objects and string
|
|
|
289
289
|
data-test-id="boxComponent"
|
|
290
290
|
>
|
|
291
291
|
<div
|
|
292
|
-
class="titleBox
|
|
292
|
+
class="titleBox shrinkOff"
|
|
293
293
|
data-id="boxComponent"
|
|
294
294
|
data-selector-id="box"
|
|
295
295
|
data-test-id="boxComponent"
|
|
296
296
|
>
|
|
297
297
|
<div
|
|
298
|
-
class="value basisAuto shrinkOn"
|
|
298
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
299
299
|
data-id="boxComponent"
|
|
300
300
|
data-selector-id="box"
|
|
301
301
|
data-test-id="boxComponent"
|
|
@@ -463,13 +463,13 @@ exports[`AdvancedMultiSelect rendering the options array with only objects using
|
|
|
463
463
|
data-test-id="boxComponent"
|
|
464
464
|
>
|
|
465
465
|
<div
|
|
466
|
-
class="titleBox
|
|
466
|
+
class="titleBox shrinkOff"
|
|
467
467
|
data-id="boxComponent"
|
|
468
468
|
data-selector-id="box"
|
|
469
469
|
data-test-id="boxComponent"
|
|
470
470
|
>
|
|
471
471
|
<div
|
|
472
|
-
class="value basisAuto shrinkOn"
|
|
472
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
473
473
|
data-id="boxComponent"
|
|
474
474
|
data-selector-id="box"
|
|
475
475
|
data-test-id="boxComponent"
|
|
@@ -499,13 +499,13 @@ exports[`AdvancedMultiSelect rendering the options array with only objects using
|
|
|
499
499
|
data-test-id="boxComponent"
|
|
500
500
|
>
|
|
501
501
|
<div
|
|
502
|
-
class="titleBox
|
|
502
|
+
class="titleBox shrinkOff"
|
|
503
503
|
data-id="boxComponent"
|
|
504
504
|
data-selector-id="box"
|
|
505
505
|
data-test-id="boxComponent"
|
|
506
506
|
>
|
|
507
507
|
<div
|
|
508
|
-
class="value basisAuto shrinkOn"
|
|
508
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
509
509
|
data-id="boxComponent"
|
|
510
510
|
data-selector-id="box"
|
|
511
511
|
data-test-id="boxComponent"
|
|
@@ -12,47 +12,53 @@ exports[`MultiSelectHeader rendering the basic value 1`] = `
|
|
|
12
12
|
tabindex="0"
|
|
13
13
|
>
|
|
14
14
|
<div
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
data-id="MultiSelectHeader_selectAll_Icon"
|
|
15
|
+
class="contentWrapper shrinkOff"
|
|
16
|
+
data-id="boxComponent"
|
|
18
17
|
data-selector-id="box"
|
|
19
|
-
data-test-id="
|
|
18
|
+
data-test-id="boxComponent"
|
|
20
19
|
>
|
|
21
20
|
<div
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
data-
|
|
25
|
-
data-test-id="
|
|
21
|
+
aria-hidden="true"
|
|
22
|
+
class="iconBox lhsJustifyContent_center"
|
|
23
|
+
data-id="MultiSelectHeader_selectAll_Icon"
|
|
24
|
+
data-test-id="MultiSelectHeader_selectAll_Icon"
|
|
26
25
|
>
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
data-id="
|
|
31
|
-
data-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
<div
|
|
27
|
+
class="iconWrapper shrinkOff selfStart"
|
|
28
|
+
data-id="boxComponent"
|
|
29
|
+
data-selector-id="box"
|
|
30
|
+
data-test-id="boxComponent"
|
|
31
|
+
>
|
|
32
|
+
<i
|
|
33
|
+
aria-hidden="true"
|
|
34
|
+
class="zd_font_icons basic icon-androidd "
|
|
35
|
+
data-id="fontIcon"
|
|
36
|
+
data-selector-id="fontIcon"
|
|
37
|
+
data-test-id="fontIcon"
|
|
38
|
+
style="--zd-iconfont-size: var(--zd_font_size15);"
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
35
41
|
</div>
|
|
36
|
-
</div>
|
|
37
|
-
<div
|
|
38
|
-
class="leftBox grow basis shrinkOff"
|
|
39
|
-
data-id="boxComponent"
|
|
40
|
-
data-selector-id="box"
|
|
41
|
-
data-test-id="boxComponent"
|
|
42
|
-
>
|
|
43
42
|
<div
|
|
44
|
-
class="
|
|
43
|
+
class="leftBox selfAlign_center grow basis shrinkOff"
|
|
45
44
|
data-id="boxComponent"
|
|
46
45
|
data-selector-id="box"
|
|
47
46
|
data-test-id="boxComponent"
|
|
48
47
|
>
|
|
49
48
|
<div
|
|
50
|
-
class="
|
|
51
|
-
data-id="
|
|
49
|
+
class="titleBox shrinkOff"
|
|
50
|
+
data-id="boxComponent"
|
|
52
51
|
data-selector-id="box"
|
|
53
|
-
data-test-id="
|
|
52
|
+
data-test-id="boxComponent"
|
|
54
53
|
>
|
|
55
|
-
|
|
54
|
+
<div
|
|
55
|
+
class="value basisAuto shrinkOn"
|
|
56
|
+
data-id="MultiSelectHeader_selectAll_Text"
|
|
57
|
+
data-selector-id="box"
|
|
58
|
+
data-test-id="MultiSelectHeader_selectAll_Text"
|
|
59
|
+
>
|
|
60
|
+
List
|
|
61
|
+
</div>
|
|
56
62
|
</div>
|
|
57
63
|
</div>
|
|
58
64
|
</div>
|
|
@@ -35,7 +35,7 @@ exports[`Suggestions Should render with renderBeforeChildren 1`] = `
|
|
|
35
35
|
data-test-id="boxComponent"
|
|
36
36
|
>
|
|
37
37
|
<div
|
|
38
|
-
class="titleBox
|
|
38
|
+
class="titleBox shrinkOff"
|
|
39
39
|
data-id="boxComponent"
|
|
40
40
|
data-selector-id="box"
|
|
41
41
|
data-test-id="boxComponent"
|
|
@@ -51,7 +51,7 @@ exports[`Suggestions Should render with renderBeforeChildren 1`] = `
|
|
|
51
51
|
</span>
|
|
52
52
|
</div>
|
|
53
53
|
<div
|
|
54
|
-
class="value basisAuto shrinkOn"
|
|
54
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
55
55
|
data-id="boxComponent"
|
|
56
56
|
data-selector-id="box"
|
|
57
57
|
data-test-id="boxComponent"
|
|
@@ -122,13 +122,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
122
122
|
data-test-id="boxComponent"
|
|
123
123
|
>
|
|
124
124
|
<div
|
|
125
|
-
class="titleBox
|
|
125
|
+
class="titleBox shrinkOff"
|
|
126
126
|
data-id="boxComponent"
|
|
127
127
|
data-selector-id="box"
|
|
128
128
|
data-test-id="boxComponent"
|
|
129
129
|
>
|
|
130
130
|
<div
|
|
131
|
-
class="value basisAuto shrinkOn"
|
|
131
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
132
132
|
data-id="boxComponent"
|
|
133
133
|
data-selector-id="box"
|
|
134
134
|
data-test-id="boxComponent"
|
|
@@ -160,13 +160,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
160
160
|
data-test-id="boxComponent"
|
|
161
161
|
>
|
|
162
162
|
<div
|
|
163
|
-
class="titleBox
|
|
163
|
+
class="titleBox shrinkOff"
|
|
164
164
|
data-id="boxComponent"
|
|
165
165
|
data-selector-id="box"
|
|
166
166
|
data-test-id="boxComponent"
|
|
167
167
|
>
|
|
168
168
|
<div
|
|
169
|
-
class="value basisAuto shrinkOn"
|
|
169
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
170
170
|
data-id="boxComponent"
|
|
171
171
|
data-selector-id="box"
|
|
172
172
|
data-test-id="boxComponent"
|
|
@@ -197,13 +197,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
197
197
|
data-test-id="boxComponent"
|
|
198
198
|
>
|
|
199
199
|
<div
|
|
200
|
-
class="titleBox
|
|
200
|
+
class="titleBox shrinkOff"
|
|
201
201
|
data-id="boxComponent"
|
|
202
202
|
data-selector-id="box"
|
|
203
203
|
data-test-id="boxComponent"
|
|
204
204
|
>
|
|
205
205
|
<div
|
|
206
|
-
class="value basisAuto shrinkOn"
|
|
206
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
207
207
|
data-id="boxComponent"
|
|
208
208
|
data-selector-id="box"
|
|
209
209
|
data-test-id="boxComponent"
|
|
@@ -232,13 +232,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
232
232
|
data-test-id="boxComponent"
|
|
233
233
|
>
|
|
234
234
|
<div
|
|
235
|
-
class="titleBox
|
|
235
|
+
class="titleBox shrinkOff"
|
|
236
236
|
data-id="boxComponent"
|
|
237
237
|
data-selector-id="box"
|
|
238
238
|
data-test-id="boxComponent"
|
|
239
239
|
>
|
|
240
240
|
<div
|
|
241
|
-
class="value basisAuto shrinkOn"
|
|
241
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
242
242
|
data-id="boxComponent"
|
|
243
243
|
data-selector-id="box"
|
|
244
244
|
data-test-id="boxComponent"
|
|
@@ -267,13 +267,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
267
267
|
data-test-id="boxComponent"
|
|
268
268
|
>
|
|
269
269
|
<div
|
|
270
|
-
class="titleBox
|
|
270
|
+
class="titleBox shrinkOff"
|
|
271
271
|
data-id="boxComponent"
|
|
272
272
|
data-selector-id="box"
|
|
273
273
|
data-test-id="boxComponent"
|
|
274
274
|
>
|
|
275
275
|
<div
|
|
276
|
-
class="value basisAuto shrinkOn"
|
|
276
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
277
277
|
data-id="boxComponent"
|
|
278
278
|
data-selector-id="box"
|
|
279
279
|
data-test-id="boxComponent"
|
|
@@ -302,13 +302,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
302
302
|
data-test-id="boxComponent"
|
|
303
303
|
>
|
|
304
304
|
<div
|
|
305
|
-
class="titleBox
|
|
305
|
+
class="titleBox shrinkOff"
|
|
306
306
|
data-id="boxComponent"
|
|
307
307
|
data-selector-id="box"
|
|
308
308
|
data-test-id="boxComponent"
|
|
309
309
|
>
|
|
310
310
|
<div
|
|
311
|
-
class="value basisAuto shrinkOn"
|
|
311
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
312
312
|
data-id="boxComponent"
|
|
313
313
|
data-selector-id="box"
|
|
314
314
|
data-test-id="boxComponent"
|
|
@@ -337,13 +337,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
337
337
|
data-test-id="boxComponent"
|
|
338
338
|
>
|
|
339
339
|
<div
|
|
340
|
-
class="titleBox
|
|
340
|
+
class="titleBox shrinkOff"
|
|
341
341
|
data-id="boxComponent"
|
|
342
342
|
data-selector-id="box"
|
|
343
343
|
data-test-id="boxComponent"
|
|
344
344
|
>
|
|
345
345
|
<div
|
|
346
|
-
class="value basisAuto shrinkOn"
|
|
346
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
347
347
|
data-id="boxComponent"
|
|
348
348
|
data-selector-id="box"
|
|
349
349
|
data-test-id="boxComponent"
|
|
@@ -372,13 +372,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
372
372
|
data-test-id="boxComponent"
|
|
373
373
|
>
|
|
374
374
|
<div
|
|
375
|
-
class="titleBox
|
|
375
|
+
class="titleBox shrinkOff"
|
|
376
376
|
data-id="boxComponent"
|
|
377
377
|
data-selector-id="box"
|
|
378
378
|
data-test-id="boxComponent"
|
|
379
379
|
>
|
|
380
380
|
<div
|
|
381
|
-
class="value basisAuto shrinkOn"
|
|
381
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
382
382
|
data-id="boxComponent"
|
|
383
383
|
data-selector-id="box"
|
|
384
384
|
data-test-id="boxComponent"
|
|
@@ -407,13 +407,13 @@ exports[`Suggestions rendering with limit props 1`] = `
|
|
|
407
407
|
data-test-id="boxComponent"
|
|
408
408
|
>
|
|
409
409
|
<div
|
|
410
|
-
class="titleBox
|
|
410
|
+
class="titleBox shrinkOff"
|
|
411
411
|
data-id="boxComponent"
|
|
412
412
|
data-selector-id="box"
|
|
413
413
|
data-test-id="boxComponent"
|
|
414
414
|
>
|
|
415
415
|
<div
|
|
416
|
-
class="value basisAuto shrinkOn"
|
|
416
|
+
class="selfAlign_center value basisAuto shrinkOn"
|
|
417
417
|
data-id="boxComponent"
|
|
418
418
|
data-selector-id="box"
|
|
419
419
|
data-test-id="boxComponent"
|