@zohodesk/components 1.0.0-temp-50 → 1.0.0-temp-53
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/{assets → es}/Appearance/dark/mode/darkMode.module.css +2 -4
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -10
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
- package/{assets → es}/Appearance/default/mode/defaultMode.module.css +2 -4
- package/{assets → es}/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +7 -7
- package/{assets → es}/Appearance/default/themes/green/greenDefaultCTATheme.module.css +2 -2
- package/{assets → es}/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +4 -4
- package/{assets → es}/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +3 -3
- package/{assets → es}/Appearance/default/themes/red/redDefaultCTATheme.module.css +7 -7
- package/{assets → es}/Appearance/default/themes/red/redDefaultComponentTheme.module.css +3 -3
- package/{assets → es}/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +3 -3
- package/es/Avatar/Avatar.module.css +9 -11
- package/es/AvatarTeam/AvatarTeam.module.css +7 -21
- package/es/Button/Button.module.css +24 -97
- package/es/Buttongroup/Buttongroup.module.css +8 -37
- package/es/CheckBox/CheckBox.module.css +11 -17
- package/es/DateTime/DateTime.module.css +12 -39
- package/es/DateTime/DateWidget.module.css +5 -9
- package/es/DateTime/YearView.module.css +6 -16
- package/es/DropBox/DropBox.module.css +11 -47
- package/es/DropDown/DropDownHeading.module.css +3 -7
- package/es/DropDown/DropDownItem.module.css +6 -32
- package/es/ListItem/ListItem.js +37 -58
- package/es/ListItem/ListItem.module.css +24 -67
- package/es/ListItem/ListItemWithAvatar.js +53 -74
- package/es/ListItem/ListItemWithCheckBox.js +33 -54
- package/es/ListItem/ListItemWithIcon.js +45 -66
- package/es/ListItem/ListItemWithRadio.js +34 -55
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -22
- package/es/MultiSelect/MultiSelect.js +3 -4
- package/es/MultiSelect/MultiSelect.module.css +10 -27
- package/es/MultiSelect/SelectedOptions.module.css +2 -8
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Radio/Radio.module.css +4 -10
- package/es/Responsive/sizeObservers.js +1 -8
- package/es/Ribbon/Ribbon.module.css +28 -93
- package/es/RippleEffect/RippleEffect.module.css +44 -15
- package/es/Select/Select.js +3 -4
- package/es/Select/Select.module.css +2 -12
- package/es/Stencils/Stencils.module.css +3 -21
- package/es/Switch/Switch.module.css +7 -6
- package/es/Tab/Tab.module.css +7 -16
- package/es/Tab/Tabs.module.css +8 -41
- package/es/Tag/Tag.module.css +14 -36
- package/es/TextBox/TextBox.module.css +11 -7
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
- package/es/Textarea/Textarea.module.css +7 -6
- package/es/Tooltip/Tooltip.module.css +8 -9
- package/es/beta/FocusRing/FocusRing.module.css +26 -51
- package/es/common/animation.module.css +21 -219
- package/es/common/basicReset.module.css +12 -2
- package/es/common/common.module.css +18 -62
- package/es/common/customscroll.module.css +21 -17
- package/es/common/docStyle.module.css +31 -78
- package/es/common/transition.module.css +10 -50
- package/es/deprecated/Theme/darkTheme.module.css +393 -0
- package/es/deprecated/Theme/defaultTheme.module.css +393 -0
- package/es/deprecated/Theme/palette/darkCTAPalette.module.css +116 -0
- package/es/deprecated/Theme/palette/darkPalette.module.css +155 -0
- package/es/deprecated/Theme/palette/defaultCTAPalette.module.css +116 -0
- package/es/deprecated/Theme/palette/defaultPalette.module.css +155 -0
- package/es/deprecated/customscroll_Old.module.css +46 -0
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/package.json +1 -1
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
- package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -42
- package/lib/Accordion/Accordion.js +0 -146
- package/lib/Accordion/AccordionItem.js +0 -124
- package/lib/Accordion/__tests__/Accordion.spec.js +0 -85
- package/lib/Accordion/index.js +0 -23
- package/lib/Animation/Animation.js +0 -206
- package/lib/Animation/__tests__/Animation.spec.js +0 -23
- package/lib/AppContainer/AppContainer.js +0 -205
- package/lib/AppContainer/AppContainer.module.css +0 -18
- package/lib/Avatar/Avatar.js +0 -280
- package/lib/Avatar/Avatar.module.css +0 -117
- package/lib/Avatar/__tests__/Avatar.spec.js +0 -208
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
- package/lib/AvatarTeam/AvatarTeam.js +0 -157
- package/lib/AvatarTeam/AvatarTeam.module.css +0 -161
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -92
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
- package/lib/Button/Button.js +0 -158
- package/lib/Button/Button.module.css +0 -522
- package/lib/Button/__tests__/Button.spec.js +0 -233
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +0 -191
- package/lib/Buttongroup/Buttongroup.js +0 -101
- package/lib/Buttongroup/Buttongroup.module.css +0 -89
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +0 -86
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
- package/lib/Card/Card.js +0 -409
- package/lib/Card/Card.module.css +0 -20
- package/lib/Card/__tests__/Card.spec.js +0 -56
- package/lib/Card/index.js +0 -37
- package/lib/CheckBox/CheckBox.js +0 -265
- package/lib/CheckBox/CheckBox.module.css +0 -153
- package/lib/CheckBox/__tests__/CheckBox.spec.js +0 -18
- package/lib/DateTime/CalendarView.js +0 -285
- package/lib/DateTime/DateTime.js +0 -889
- package/lib/DateTime/DateTime.module.css +0 -188
- package/lib/DateTime/DateTimePopupFooter.js +0 -90
- package/lib/DateTime/DateTimePopupHeader.js +0 -149
- package/lib/DateTime/DateWidget.js +0 -1189
- package/lib/DateTime/DateWidget.module.css +0 -42
- package/lib/DateTime/DaysRow.js +0 -76
- package/lib/DateTime/Time.js +0 -248
- package/lib/DateTime/YearView.js +0 -324
- package/lib/DateTime/YearView.module.css +0 -80
- package/lib/DateTime/__tests__/CalendarView.spec.js +0 -45
- package/lib/DateTime/__tests__/DateTime.spec.js +0 -127
- package/lib/DateTime/__tests__/DateWidget.spec.js +0 -81
- package/lib/DateTime/common.js +0 -36
- package/lib/DateTime/constants.js +0 -77
- package/lib/DateTime/dateFormatUtils/dateFormat.js +0 -613
- package/lib/DateTime/dateFormatUtils/dayChange.js +0 -81
- package/lib/DateTime/dateFormatUtils/index.js +0 -274
- package/lib/DateTime/dateFormatUtils/monthChange.js +0 -94
- package/lib/DateTime/dateFormatUtils/timeChange.js +0 -240
- package/lib/DateTime/dateFormatUtils/yearChange.js +0 -119
- package/lib/DateTime/index.js +0 -15
- package/lib/DateTime/objectUtils.js +0 -76
- package/lib/DateTime/typeChecker.js +0 -26
- package/lib/DateTime/validator.js +0 -353
- package/lib/DropBox/DropBox.js +0 -393
- package/lib/DropBox/DropBox.module.css +0 -406
- package/lib/DropBox/DropBoxPositionMapping.json +0 -145
- package/lib/DropBox/__tests__/DropBox.spec.js +0 -87
- package/lib/DropDown/DropDown.js +0 -203
- package/lib/DropDown/DropDown.module.css +0 -5
- package/lib/DropDown/DropDownHeading.js +0 -102
- package/lib/DropDown/DropDownHeading.module.css +0 -53
- package/lib/DropDown/DropDownItem.js +0 -139
- package/lib/DropDown/DropDownItem.module.css +0 -94
- package/lib/DropDown/DropDownSearch.js +0 -132
- package/lib/DropDown/DropDownSearch.module.css +0 -14
- package/lib/DropDown/DropDownSeparator.js +0 -66
- package/lib/DropDown/DropDownSeparator.module.css +0 -7
- package/lib/DropDown/__tests__/DropDown.spec.js +0 -50
- package/lib/DropDown/__tests__/DropDownItem.spec.js +0 -51
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +0 -17
- package/lib/Label/Label.js +0 -109
- package/lib/Label/Label.module.css +0 -52
- package/lib/Label/LabelColors.module.css +0 -21
- package/lib/Label/__tests__/Label.spec.js +0 -137
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
- package/lib/Layout/Box.js +0 -138
- package/lib/Layout/Container.js +0 -152
- package/lib/Layout/Layout.module.css +0 -324
- package/lib/Layout/__tests__/Box.spec.js +0 -121
- package/lib/Layout/__tests__/Container.spec.js +0 -127
- package/lib/Layout/index.js +0 -34
- package/lib/Layout/utils.js +0 -55
- package/lib/LightNightMode/Colors.json +0 -398
- package/lib/ListItem/ListContainer.js +0 -127
- package/lib/ListItem/ListItem.js +0 -248
- package/lib/ListItem/ListItem.module.css +0 -211
- package/lib/ListItem/ListItemWithAvatar.js +0 -258
- package/lib/ListItem/ListItemWithCheckBox.js +0 -226
- package/lib/ListItem/ListItemWithIcon.js +0 -250
- package/lib/ListItem/ListItemWithRadio.js +0 -229
- package/lib/Modal/Modal.js +0 -218
- package/lib/Modal/__docs__/Modal__default.docs.js +0 -88
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +0 -1218
- package/lib/MultiSelect/AdvancedMultiSelect.js +0 -696
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +0 -127
- package/lib/MultiSelect/EmptyState.js +0 -132
- package/lib/MultiSelect/MultiSelect.js +0 -1235
- package/lib/MultiSelect/MultiSelect.module.css +0 -193
- package/lib/MultiSelect/MultiSelectHeader.js +0 -86
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -410
- package/lib/MultiSelect/SelectedOptions.js +0 -140
- package/lib/MultiSelect/SelectedOptions.module.css +0 -15
- package/lib/MultiSelect/Suggestions.js +0 -219
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -170
- package/lib/PopOver/PopOver.js +0 -365
- package/lib/PopOver/PopOver.module.css +0 -8
- package/lib/PopOver/__tests__/PopOver.spec.js +0 -20
- package/lib/Popup/Popup.js +0 -719
- package/lib/Popup/PositionMapping.json +0 -74
- package/lib/Popup/__tests__/Popup.spec.js +0 -192
- package/lib/Popup/viewPort.js +0 -368
- package/lib/Provider/AvatarSize.js +0 -23
- package/lib/Provider/Config.js +0 -25
- package/lib/Provider/CssProvider.js +0 -27
- package/lib/Provider/IdProvider.js +0 -82
- package/lib/Provider/LibraryContext.js +0 -76
- package/lib/Provider/LibraryContextInit.js +0 -15
- package/lib/Provider/NumberGenerator/NumberGenerator.js +0 -174
- package/lib/Provider/ZindexProvider.js +0 -69
- package/lib/Provider.js +0 -241
- package/lib/Radio/Radio.js +0 -214
- package/lib/Radio/Radio.module.css +0 -110
- package/lib/Radio/__tests__/Radiospec.js +0 -29
- package/lib/Responsive/CustomResponsive.js +0 -246
- package/lib/Responsive/RefWrapper.js +0 -55
- package/lib/Responsive/ResizeComponent.js +0 -268
- package/lib/Responsive/ResizeObserver.js +0 -168
- package/lib/Responsive/Responsive.js +0 -281
- package/lib/Responsive/index.js +0 -30
- package/lib/Responsive/sizeObservers.js +0 -214
- package/lib/Responsive/utils/index.js +0 -70
- package/lib/Responsive/utils/shallowCompare.js +0 -38
- package/lib/Responsive/windowResizeObserver.js +0 -63
- package/lib/Ribbon/Ribbon.js +0 -115
- package/lib/Ribbon/Ribbon.module.css +0 -377
- package/lib/Ribbon/__tests__/Ribbon.spec.js +0 -193
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
- package/lib/RippleEffect/RippleEffect.js +0 -61
- package/lib/RippleEffect/RippleEffect.module.css +0 -70
- package/lib/Select/GroupSelect.js +0 -944
- package/lib/Select/Select.js +0 -1078
- package/lib/Select/Select.module.css +0 -100
- package/lib/Select/SelectWithAvatar.js +0 -433
- package/lib/Select/SelectWithIcon.js +0 -556
- package/lib/Select/__tests__/Select.spec.js +0 -383
- package/lib/Stencils/Stencils.js +0 -93
- package/lib/Stencils/Stencils.module.css +0 -96
- package/lib/Stencils/__tests__/Stencils.spec.js +0 -84
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
- package/lib/Switch/Switch.js +0 -183
- package/lib/Switch/Switch.module.css +0 -110
- package/lib/Tab/Tab.js +0 -158
- package/lib/Tab/Tab.module.css +0 -101
- package/lib/Tab/TabContent.js +0 -45
- package/lib/Tab/TabContent.module.css +0 -4
- package/lib/Tab/TabContentWrapper.js +0 -47
- package/lib/Tab/TabWrapper.js +0 -109
- package/lib/Tab/Tabs.js +0 -696
- package/lib/Tab/Tabs.module.css +0 -140
- package/lib/Tab/__tests__/Tab.spec.js +0 -130
- package/lib/Tab/__tests__/TabContent.spec.js +0 -22
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +0 -59
- package/lib/Tab/__tests__/TabWrapper.spec.js +0 -100
- package/lib/Tab/__tests__/Tabs.spec.js +0 -123
- package/lib/Tab/index.js +0 -47
- package/lib/Tag/Tag.js +0 -252
- package/lib/Tag/Tag.module.css +0 -251
- package/lib/Tag/__tests__/Tag.spec.js +0 -35
- package/lib/TextBox/TextBox.js +0 -289
- package/lib/TextBox/TextBox.module.css +0 -157
- package/lib/TextBox/__tests__/TextBox.spec.js +0 -205
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -284
- package/lib/TextBoxIcon/TextBoxIcon.module.css +0 -78
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -228
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
- package/lib/Textarea/Textarea.js +0 -202
- package/lib/Textarea/Textarea.module.css +0 -139
- package/lib/Textarea/__tests__/Textarea.spec.js +0 -186
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
- package/lib/Tooltip/Tooltip.js +0 -538
- package/lib/Tooltip/Tooltip.module.css +0 -104
- package/lib/Tooltip/__tests__/Tooltip.spec.js +0 -98
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -146
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -190
- package/lib/a11y/FocusScope/FocusScope.js +0 -443
- package/lib/beta/FocusRing/FocusRing.js +0 -338
- package/lib/beta/FocusRing/FocusRing.module.css +0 -152
- package/lib/common/animation.module.css +0 -624
- package/lib/common/avatarsizes.module.css +0 -45
- package/lib/common/basic.module.css +0 -33
- package/lib/common/basicReset.module.css +0 -40
- package/lib/common/common.module.css +0 -502
- package/lib/common/customscroll.module.css +0 -89
- package/lib/common/docStyle.module.css +0 -762
- package/lib/common/reset.module.css +0 -12
- package/lib/common/transition.module.css +0 -146
- package/lib/css.js +0 -83
- package/lib/deprecated/PortalLayer/PortalLayer.js +0 -165
- package/lib/index.js +0 -1412
- package/lib/semantic/Button/Button.js +0 -138
- package/lib/semantic/Button/semanticButton.module.css +0 -9
- package/lib/utils/Common.js +0 -457
- package/lib/utils/ContextOptimizer.js +0 -49
- package/lib/utils/__tests__/constructFullName.spec.js +0 -12
- package/lib/utils/__tests__/debounce.spec.js +0 -40
- package/lib/utils/__tests__/getInitial.spec.js +0 -26
- package/lib/utils/constant.js +0 -10
- package/lib/utils/constructFullName.js +0 -34
- package/lib/utils/datetime/common.js +0 -233
- package/lib/utils/debounce.js +0 -30
- package/lib/utils/dropDownUtils.js +0 -608
- package/lib/utils/dummyFunction.js +0 -10
- package/lib/utils/getHTMLFontSize.js +0 -11
- package/lib/utils/getInitial.js +0 -33
- package/lib/utils/scrollTo.js +0 -22
- package/lib/utils/shallowEqual.js +0 -41
|
@@ -10,7 +10,6 @@ import ListContainer from './ListContainer';
|
|
|
10
10
|
import Avatar from '../Avatar/Avatar';
|
|
11
11
|
import AvatarTeam from '../AvatarTeam/AvatarTeam';
|
|
12
12
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
13
|
-
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
14
13
|
/**** CSS ****/
|
|
15
14
|
|
|
16
15
|
import style from './ListItem.module.css';
|
|
@@ -20,7 +19,6 @@ export default class ListItemWithAvatar extends React.PureComponent {
|
|
|
20
19
|
this.handleClick = this.handleClick.bind(this);
|
|
21
20
|
this.getRef = this.getRef.bind(this);
|
|
22
21
|
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
23
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
getRef(ele) {
|
|
@@ -53,17 +51,6 @@ export default class ListItemWithAvatar extends React.PureComponent {
|
|
|
53
51
|
onMouseEnter && onMouseEnter(id, value, index, e);
|
|
54
52
|
}
|
|
55
53
|
|
|
56
|
-
responsiveFunc(_ref) {
|
|
57
|
-
let {
|
|
58
|
-
mediaQueryOR
|
|
59
|
-
} = _ref;
|
|
60
|
-
return {
|
|
61
|
-
mobileToTab: mediaQueryOR([{
|
|
62
|
-
maxWidth: 700
|
|
63
|
-
}])
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
54
|
render() {
|
|
68
55
|
let {
|
|
69
56
|
size,
|
|
@@ -102,67 +89,59 @@ export default class ListItemWithAvatar extends React.PureComponent {
|
|
|
102
89
|
} = a11y;
|
|
103
90
|
let isDarkPalette = palette === 'dark';
|
|
104
91
|
let dataIdString = value ? value : dataId;
|
|
105
|
-
return /*#__PURE__*/React.createElement(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
className: style.tickIcon,
|
|
159
|
-
"aria-hidden": ariaHidden,
|
|
160
|
-
dataId: `${dataIdString}_tickIcon`
|
|
161
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
162
|
-
name: "ZD-ticknew",
|
|
163
|
-
size: "8"
|
|
164
|
-
})) : null);
|
|
165
|
-
});
|
|
92
|
+
return /*#__PURE__*/React.createElement(ListContainer, _extends({
|
|
93
|
+
a11y: a11y,
|
|
94
|
+
size: size,
|
|
95
|
+
palette: palette,
|
|
96
|
+
highlight: highlight,
|
|
97
|
+
isDisabled: isDisabled,
|
|
98
|
+
active: active,
|
|
99
|
+
autoHover: autoHover,
|
|
100
|
+
needTick: needTick,
|
|
101
|
+
needBorder: needBorder,
|
|
102
|
+
customClass: customListItem,
|
|
103
|
+
dataId: `${dataIdString}_ListItemWithAvatar`,
|
|
104
|
+
onClick: this.handleClick,
|
|
105
|
+
onMouseEnter: this.handleMouseEnter,
|
|
106
|
+
eleRef: this.getRef,
|
|
107
|
+
disableTitle: disableTitle,
|
|
108
|
+
title: null,
|
|
109
|
+
customProps: ListItemProps
|
|
110
|
+
}, ContainerProps), name || imgSrc ? /*#__PURE__*/React.createElement(Box, {
|
|
111
|
+
className: style.leftAvatar
|
|
112
|
+
}, isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
113
|
+
name: name,
|
|
114
|
+
size: "small",
|
|
115
|
+
src: imgSrc,
|
|
116
|
+
needTitle: needAvatarTitle,
|
|
117
|
+
textPalette: isDarkPalette ? 'white' : '',
|
|
118
|
+
palette: isDarkPalette ? 'info' : avatarPalette,
|
|
119
|
+
customClass: {
|
|
120
|
+
customAvatar: customAvatar,
|
|
121
|
+
customAvatarTeam: customAvatarTeam
|
|
122
|
+
}
|
|
123
|
+
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
124
|
+
name: name,
|
|
125
|
+
size: "small",
|
|
126
|
+
src: imgSrc,
|
|
127
|
+
initial: initial,
|
|
128
|
+
textPalette: isDarkPalette ? 'white' : '',
|
|
129
|
+
needTitle: needAvatarTitle,
|
|
130
|
+
palette: isDarkPalette ? 'info' : avatarPalette,
|
|
131
|
+
customClass: customAvatar
|
|
132
|
+
})) : null, value ? /*#__PURE__*/React.createElement(Box, {
|
|
133
|
+
flexible: true,
|
|
134
|
+
shrink: true,
|
|
135
|
+
"data-title": isDisabled ? null : title,
|
|
136
|
+
className: style.value
|
|
137
|
+
}, value) : null, needTick && active ? /*#__PURE__*/React.createElement(Box, {
|
|
138
|
+
className: style.tickIcon,
|
|
139
|
+
"aria-hidden": ariaHidden,
|
|
140
|
+
dataId: `${dataIdString}_tickIcon`
|
|
141
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
142
|
+
name: "ZD-ticknew",
|
|
143
|
+
size: "8"
|
|
144
|
+
})) : null);
|
|
166
145
|
}
|
|
167
146
|
|
|
168
147
|
}
|
|
@@ -6,14 +6,12 @@ import ListContainer from './ListContainer';
|
|
|
6
6
|
import CheckBox from '../CheckBox/CheckBox';
|
|
7
7
|
import { Box } from '../Layout';
|
|
8
8
|
import style from './ListItem.module.css';
|
|
9
|
-
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
10
9
|
export default class ListItemWithCheckBox extends React.Component {
|
|
11
10
|
constructor(props) {
|
|
12
11
|
super(props);
|
|
13
12
|
this.onClick = this.onClick.bind(this);
|
|
14
13
|
this.getRef = this.getRef.bind(this);
|
|
15
14
|
this.onHover = this.onHover.bind(this);
|
|
16
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
getRef(ele) {
|
|
@@ -45,17 +43,6 @@ export default class ListItemWithCheckBox extends React.Component {
|
|
|
45
43
|
onHover && onHover(id, value, index, e);
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
responsiveFunc(_ref) {
|
|
49
|
-
let {
|
|
50
|
-
mediaQueryOR
|
|
51
|
-
} = _ref;
|
|
52
|
-
return {
|
|
53
|
-
mobileToTab: mediaQueryOR([{
|
|
54
|
-
maxWidth: 700
|
|
55
|
-
}])
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
46
|
render() {
|
|
60
47
|
let {
|
|
61
48
|
size,
|
|
@@ -82,47 +69,39 @@ export default class ListItemWithCheckBox extends React.Component {
|
|
|
82
69
|
customCheckBox = '',
|
|
83
70
|
customLabel = ''
|
|
84
71
|
} = customClass;
|
|
85
|
-
return /*#__PURE__*/React.createElement(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
120
|
-
flexible: true,
|
|
121
|
-
shrink: true,
|
|
122
|
-
"data-title": isDisabled ? null : title,
|
|
123
|
-
className: style.value
|
|
124
|
-
}, value));
|
|
125
|
-
});
|
|
72
|
+
return /*#__PURE__*/React.createElement(ListContainer, _extends({
|
|
73
|
+
a11y: a11y,
|
|
74
|
+
size: size,
|
|
75
|
+
palette: palette,
|
|
76
|
+
highlight: highlight,
|
|
77
|
+
isDisabled: isDisabled,
|
|
78
|
+
active: active,
|
|
79
|
+
autoHover: autoHover,
|
|
80
|
+
customClass: customListItem,
|
|
81
|
+
dataId: `${dataId ? dataId : value}_ListItemWithCheckBox`,
|
|
82
|
+
onClick: this.onClick,
|
|
83
|
+
onMouseOver: this.onHover,
|
|
84
|
+
eleRef: this.getRef,
|
|
85
|
+
disableTitle: disableTitle,
|
|
86
|
+
title: null,
|
|
87
|
+
customProps: ListItemProps
|
|
88
|
+
}, ContainerProps), /*#__PURE__*/React.createElement(Box, {
|
|
89
|
+
className: style.iconBox
|
|
90
|
+
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
91
|
+
checked: checked,
|
|
92
|
+
a11y: {
|
|
93
|
+
ariaHidden: true
|
|
94
|
+
},
|
|
95
|
+
customClass: {
|
|
96
|
+
customCheckBox: customCheckBox,
|
|
97
|
+
customLabel: customLabel
|
|
98
|
+
}
|
|
99
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
100
|
+
flexible: true,
|
|
101
|
+
shrink: true,
|
|
102
|
+
"data-title": isDisabled ? null : title,
|
|
103
|
+
className: style.value
|
|
104
|
+
}, value));
|
|
126
105
|
}
|
|
127
106
|
|
|
128
107
|
}
|
|
@@ -6,7 +6,6 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import { Box } from '../Layout';
|
|
7
7
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
8
8
|
import ListContainer from './ListContainer';
|
|
9
|
-
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
10
9
|
/**** CSS ****/
|
|
11
10
|
|
|
12
11
|
import style from './ListItem.module.css';
|
|
@@ -16,7 +15,6 @@ export default class ListItemWithIcon extends React.Component {
|
|
|
16
15
|
this.handleClick = this.handleClick.bind(this);
|
|
17
16
|
this.getRef = this.getRef.bind(this);
|
|
18
17
|
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
19
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
getRef(ele) {
|
|
@@ -49,17 +47,6 @@ export default class ListItemWithIcon extends React.Component {
|
|
|
49
47
|
onMouseEnter && onMouseEnter(id, value, index, e);
|
|
50
48
|
}
|
|
51
49
|
|
|
52
|
-
responsiveFunc(_ref) {
|
|
53
|
-
let {
|
|
54
|
-
mediaQueryOR
|
|
55
|
-
} = _ref;
|
|
56
|
-
return {
|
|
57
|
-
mobileToTab: mediaQueryOR([{
|
|
58
|
-
maxWidth: 700
|
|
59
|
-
}])
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
50
|
render() {
|
|
64
51
|
let {
|
|
65
52
|
size,
|
|
@@ -92,59 +79,51 @@ export default class ListItemWithIcon extends React.Component {
|
|
|
92
79
|
ariaHidden = true
|
|
93
80
|
} = a11y;
|
|
94
81
|
let dataIdString = dataId ? `${dataId.replace("'", '_')}` : value.toLowerCase().replace("'", '_');
|
|
95
|
-
return /*#__PURE__*/React.createElement(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
className: style.tickIcon,
|
|
141
|
-
"aria-hidden": ariaHidden,
|
|
142
|
-
dataId: `${dataIdString}_tickIcon`
|
|
143
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
144
|
-
name: "ZD-ticknew",
|
|
145
|
-
size: "8"
|
|
146
|
-
})) : null);
|
|
147
|
-
});
|
|
82
|
+
return /*#__PURE__*/React.createElement(ListContainer, _extends({
|
|
83
|
+
a11y: a11y,
|
|
84
|
+
size: size,
|
|
85
|
+
palette: palette,
|
|
86
|
+
highlight: highlight,
|
|
87
|
+
isDisabled: isDisabled,
|
|
88
|
+
active: active,
|
|
89
|
+
autoHover: autoHover,
|
|
90
|
+
needTick: needTick,
|
|
91
|
+
needBorder: needBorder,
|
|
92
|
+
customClass: customClass,
|
|
93
|
+
dataId: dataIdString,
|
|
94
|
+
isLink: isLink,
|
|
95
|
+
href: href,
|
|
96
|
+
target: target,
|
|
97
|
+
onClick: this.handleClick,
|
|
98
|
+
onMouseOver: this.handleMouseEnter,
|
|
99
|
+
eleRef: this.getRef,
|
|
100
|
+
disableTitle: disableTitle,
|
|
101
|
+
title: null,
|
|
102
|
+
customProps: ListItemProps
|
|
103
|
+
}, ContainerProps), iconName && /*#__PURE__*/React.createElement(Box, {
|
|
104
|
+
"aria-hidden": true,
|
|
105
|
+
className: style.iconBox,
|
|
106
|
+
dataId: dataId ? `${dataId}_Icon` : `${value.toLowerCase().replace("'", '_')}_Icon`
|
|
107
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
108
|
+
iconClass: iconClass,
|
|
109
|
+
name: iconName,
|
|
110
|
+
size: iconSize
|
|
111
|
+
})), iconClass && !iconName ? /*#__PURE__*/React.createElement("span", {
|
|
112
|
+
className: iconClass
|
|
113
|
+
}) : null, value && /*#__PURE__*/React.createElement(Box, {
|
|
114
|
+
flexible: true,
|
|
115
|
+
shrink: true,
|
|
116
|
+
className: style.value,
|
|
117
|
+
"data-title": isDisabled ? null : title,
|
|
118
|
+
dataId: `${dataIdString}_Text`
|
|
119
|
+
}, value), needTick && active ? /*#__PURE__*/React.createElement(Box, {
|
|
120
|
+
className: style.tickIcon,
|
|
121
|
+
"aria-hidden": ariaHidden,
|
|
122
|
+
dataId: `${dataIdString}_tickIcon`
|
|
123
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
124
|
+
name: "ZD-ticknew",
|
|
125
|
+
size: "8"
|
|
126
|
+
})) : null);
|
|
148
127
|
}
|
|
149
128
|
|
|
150
129
|
}
|
|
@@ -6,14 +6,12 @@ import Radio from '../Radio/Radio';
|
|
|
6
6
|
import { Box } from '../Layout';
|
|
7
7
|
import ListContainer from './ListContainer';
|
|
8
8
|
import style from './ListItem.module.css';
|
|
9
|
-
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
10
9
|
export default class ListItemWithRadio extends React.Component {
|
|
11
10
|
constructor(props) {
|
|
12
11
|
super(props);
|
|
13
12
|
this.onClick = this.onClick.bind(this);
|
|
14
13
|
this.getRef = this.getRef.bind(this);
|
|
15
14
|
this.onHover = this.onHover.bind(this);
|
|
16
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
getRef(ele) {
|
|
@@ -45,17 +43,6 @@ export default class ListItemWithRadio extends React.Component {
|
|
|
45
43
|
onHover && onHover(id, value, index, e);
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
responsiveFunc(_ref) {
|
|
49
|
-
let {
|
|
50
|
-
mediaQueryOR
|
|
51
|
-
} = _ref;
|
|
52
|
-
return {
|
|
53
|
-
mobileToTab: mediaQueryOR([{
|
|
54
|
-
maxWidth: 700
|
|
55
|
-
}])
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
46
|
render() {
|
|
60
47
|
let {
|
|
61
48
|
size,
|
|
@@ -83,48 +70,40 @@ export default class ListItemWithRadio extends React.Component {
|
|
|
83
70
|
customRadio = '',
|
|
84
71
|
customRadioWrap = ''
|
|
85
72
|
} = customClass;
|
|
86
|
-
return /*#__PURE__*/React.createElement(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
122
|
-
flexible: true,
|
|
123
|
-
shrink: true,
|
|
124
|
-
"data-title": disableTitle ? null : title,
|
|
125
|
-
className: style.value
|
|
126
|
-
}, value));
|
|
127
|
-
});
|
|
73
|
+
return /*#__PURE__*/React.createElement(ListContainer, _extends({
|
|
74
|
+
a11y: a11y,
|
|
75
|
+
size: size,
|
|
76
|
+
palette: palette,
|
|
77
|
+
highlight: highlight,
|
|
78
|
+
isDisabled: isDisabled,
|
|
79
|
+
active: active,
|
|
80
|
+
autoHover: autoHover,
|
|
81
|
+
customClass: customListItem,
|
|
82
|
+
dataId: dataId,
|
|
83
|
+
onClick: this.onClick,
|
|
84
|
+
onMouseOver: this.onHover,
|
|
85
|
+
eleRef: this.getRef,
|
|
86
|
+
disableTitle: disableTitle,
|
|
87
|
+
title: null,
|
|
88
|
+
customProps: ListItemProps
|
|
89
|
+
}, ContainerProps), /*#__PURE__*/React.createElement(Box, {
|
|
90
|
+
className: style.iconBox
|
|
91
|
+
}, /*#__PURE__*/React.createElement(Radio, {
|
|
92
|
+
checked: checked,
|
|
93
|
+
id: id,
|
|
94
|
+
a11y: {
|
|
95
|
+
ariaHidden: true
|
|
96
|
+
},
|
|
97
|
+
customClass: {
|
|
98
|
+
customRadio: customRadio,
|
|
99
|
+
customRadioWrap: customRadioWrap
|
|
100
|
+
}
|
|
101
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
102
|
+
flexible: true,
|
|
103
|
+
shrink: true,
|
|
104
|
+
"data-title": disableTitle ? null : title,
|
|
105
|
+
className: style.value
|
|
106
|
+
}, value));
|
|
128
107
|
}
|
|
129
108
|
|
|
130
109
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
.disabled,
|
|
4
|
+
.disabled,
|
|
5
|
+
.readOnly {
|
|
5
6
|
cursor: not-allowed;
|
|
6
7
|
}
|
|
7
8
|
.container {
|
|
@@ -9,9 +10,9 @@
|
|
|
9
10
|
composes: oflowy from '../common/common.module.css';
|
|
10
11
|
}
|
|
11
12
|
.hasBorder {
|
|
12
|
-
transition: border var(--zd_transition2) linear 0s;
|
|
13
13
|
border-bottom-style: solid;
|
|
14
14
|
border-bottom-width: 1px;
|
|
15
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
15
16
|
}
|
|
16
17
|
.borderColor_transparent {
|
|
17
18
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
|
|
@@ -40,40 +41,25 @@
|
|
|
40
41
|
.effect .borderColor_dark.active {
|
|
41
42
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
+
.container.medium {
|
|
44
45
|
padding: 0 var(--zd_size34) var(--zd_size7) 0;
|
|
45
46
|
}
|
|
46
|
-
[dir=rtl] .container.medium {
|
|
47
|
-
padding: 0 0 var(--zd_size7) var(--zd_size34);
|
|
48
|
-
}
|
|
49
47
|
.container.xmedium {
|
|
50
|
-
min-height: var(--zd_size30);
|
|
51
|
-
}
|
|
52
|
-
[dir=ltr] .container.xmedium {
|
|
53
48
|
padding: 0 var(--zd_size34) var(--zd_size1) 0;
|
|
54
|
-
|
|
55
|
-
[dir=rtl] .container.xmedium {
|
|
56
|
-
padding: 0 0 var(--zd_size1) var(--zd_size34);
|
|
49
|
+
min-height: var(--zd_size30);
|
|
57
50
|
}
|
|
58
51
|
|
|
59
52
|
.delete {
|
|
60
53
|
position: absolute;
|
|
61
54
|
bottom: 0;
|
|
62
|
-
|
|
55
|
+
right: var(--zd_size15);
|
|
63
56
|
padding-bottom: var(--zd_size10);
|
|
57
|
+
color: var(--zdt_advancedmultiselect_delete_text);
|
|
64
58
|
cursor: pointer;
|
|
65
59
|
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
66
60
|
border: 0;
|
|
67
61
|
}
|
|
68
62
|
|
|
69
|
-
[dir=ltr] .delete {
|
|
70
|
-
right: var(--zd_size15);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
[dir=rtl] .delete {
|
|
74
|
-
left: var(--zd_size15);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
63
|
.delete:hover {
|
|
78
64
|
color: var(--zdt_advancedmultiselect_delete_hover_text);
|
|
79
65
|
}
|
|
@@ -119,9 +105,9 @@
|
|
|
119
105
|
.more {
|
|
120
106
|
font-size: var(--zd_font_size14);
|
|
121
107
|
color: var(--zdt_advancedmultiselect_more_text);
|
|
122
|
-
font-family: inherit;
|
|
123
108
|
cursor: pointer;
|
|
124
109
|
margin-top: var(--zd_size5);
|
|
110
|
+
font-family: inherit;
|
|
125
111
|
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
126
112
|
border: 0;
|
|
127
113
|
}
|
|
@@ -741,7 +741,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
741
741
|
defaultDropBoxPosition,
|
|
742
742
|
isReadOnly
|
|
743
743
|
} = this.props;
|
|
744
|
-
!isReadOnly && togglePopup(e, defaultDropBoxPosition ? `${defaultDropBoxPosition}
|
|
744
|
+
!isReadOnly && togglePopup(e, defaultDropBoxPosition ? `${defaultDropBoxPosition}` : null);
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
handlePopupClose(e) {
|
|
@@ -982,7 +982,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
982
982
|
dataId: `${dataId}_children`
|
|
983
983
|
}, children) : null)))), !isReadOnly && !isDisabled && !disableAction && isPopupOpen ? /*#__PURE__*/React.createElement(DropBox, {
|
|
984
984
|
animationStyle: animationStyle,
|
|
985
|
-
boxPosition: position || `${defaultDropBoxPosition}
|
|
985
|
+
boxPosition: position || `${defaultDropBoxPosition}`,
|
|
986
986
|
getRef: getContainerRef,
|
|
987
987
|
isActive: isPopupReady,
|
|
988
988
|
isAnimate: isAnimate,
|
|
@@ -1041,7 +1041,7 @@ MultiSelectComponent.propTypes = {
|
|
|
1041
1041
|
borderColor: PropTypes.oneOf(['transparent', 'default', 'dark']),
|
|
1042
1042
|
closePopupOnly: PropTypes.func,
|
|
1043
1043
|
dataId: PropTypes.string,
|
|
1044
|
-
defaultDropBoxPosition: PropTypes.
|
|
1044
|
+
defaultDropBoxPosition: PropTypes.string,
|
|
1045
1045
|
disableAction: PropTypes.bool,
|
|
1046
1046
|
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
1047
1047
|
emptyMessage: PropTypes.string.isRequired,
|
|
@@ -1117,7 +1117,6 @@ MultiSelectComponent.propTypes = {
|
|
|
1117
1117
|
MultiSelectComponent.defaultProps = {
|
|
1118
1118
|
animationStyle: 'bounce',
|
|
1119
1119
|
dataId: 'multiSelect',
|
|
1120
|
-
defaultDropBoxPosition: 'bottom',
|
|
1121
1120
|
dropBoxSize: 'small',
|
|
1122
1121
|
isAnimate: true,
|
|
1123
1122
|
isDisabled: false,
|