@zohodesk/components 1.0.0-temp-55 → 1.0.0-temp-56
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 +990 -994
- package/assets/Appearance/dark/mode/darkMode.module.css +1 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +9 -9
- package/es/Avatar/Avatar.module.css +115 -117
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +147 -161
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/es/Button/Button.js +4 -4
- package/es/Button/Button.module.css +448 -521
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +60 -89
- package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/CheckBox/CheckBox.js +0 -0
- package/es/CheckBox/CheckBox.module.css +147 -153
- package/es/DateTime/CalendarView.js +0 -0
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +160 -187
- package/es/DateTime/DateWidget.js +0 -0
- package/es/DateTime/DateWidget.module.css +38 -42
- package/es/DateTime/YearView.js +0 -0
- package/es/DateTime/YearView.module.css +70 -80
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +1 -1
- package/es/DropBox/DropBox.module.css +370 -406
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropDown/DropDown.js +0 -0
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownHeading.js +0 -0
- package/es/DropDown/DropDownHeading.module.css +49 -53
- package/es/DropDown/DropDownItem.js +0 -0
- package/es/DropDown/DropDownItem.module.css +68 -94
- package/es/DropDown/DropDownSearch.js +0 -0
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.js +0 -0
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/Label/Label.js +2 -2
- package/es/Label/Label.module.css +52 -52
- package/es/Label/LabelColors.module.css +20 -20
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/es/Layout/Box.js +0 -0
- package/es/Layout/Container.js +0 -0
- package/es/Layout/Layout.module.css +324 -324
- package/es/Layout/utils.js +0 -0
- package/es/LightNightMode/Colors.json +397 -397
- package/es/ListItem/ListContainer.js +16 -2
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItem.module.css +173 -199
- package/es/ListItem/ListItemWithAvatar.js +1 -1
- package/es/ListItem/ListItemWithCheckBox.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/ListItemWithRadio.js +1 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/MultiSelect/AdvancedMultiSelect.module.css +113 -127
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +176 -193
- package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/es/MultiSelect/SelectedOptions.module.css +9 -15
- package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/Popup/Popup.js +0 -0
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Provider.js +35 -72
- package/es/Radio/Radio.js +0 -0
- package/es/Radio/Radio.module.css +104 -110
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +311 -376
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/es/RippleEffect/RippleEffect.module.css +99 -70
- package/es/Select/GroupSelect.js +0 -0
- package/es/Select/Select.js +0 -0
- package/es/Select/Select.module.css +90 -100
- package/es/Select/SelectWithAvatar.js +0 -0
- package/es/Select/SelectWithIcon.js +0 -0
- package/es/Select/__tests__/Select.spec.js +0 -0
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +78 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/es/Switch/Switch.js +0 -0
- package/es/Switch/Switch.module.css +110 -109
- package/es/Tab/Tab.module.css +92 -101
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tab/Tabs.module.css +107 -140
- package/es/Tag/Tag.js +8 -8
- package/es/Tag/Tag.module.css +228 -250
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +161 -157
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/es/TextBoxIcon/TextBoxIcon.js +0 -0
- package/es/TextBoxIcon/TextBoxIcon.module.css +71 -78
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/es/Textarea/Textarea.js +0 -0
- package/es/Textarea/Textarea.module.css +140 -139
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/es/Tooltip/Tooltip.module.css +103 -104
- package/es/beta/FocusRing/FocusRing.module.css +126 -151
- package/es/common/animation.module.css +426 -624
- package/es/common/avatarsizes.module.css +44 -44
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +50 -40
- package/es/common/common.module.css +458 -502
- package/es/common/customscroll.module.css +93 -89
- package/es/common/docStyle.module.css +715 -766
- package/es/common/reset.module.css +12 -12
- package/es/common/transition.module.css +106 -146
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/utils/Common.js +0 -0
- package/es/utils/dropDownUtils.js +0 -0
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +9 -9
- package/lib/Avatar/Avatar.module.css +117 -117
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -161
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/lib/Button/Button.js +4 -4
- package/lib/Button/Button.module.css +521 -521
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/Buttongroup.module.css +89 -89
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/CheckBox/CheckBox.js +0 -0
- package/lib/CheckBox/CheckBox.module.css +153 -153
- package/lib/DateTime/CalendarView.js +0 -0
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateTime.module.css +187 -187
- package/lib/DateTime/DateWidget.js +0 -0
- package/lib/DateTime/DateWidget.module.css +42 -42
- package/lib/DateTime/YearView.js +0 -0
- package/lib/DateTime/YearView.module.css +80 -80
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +1 -1
- package/lib/DropBox/DropBox.module.css +406 -406
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropDown/DropDown.js +0 -0
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +0 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.js +0 -0
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/DropDown/DropDownSearch.js +0 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.js +0 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/Label/Label.js +0 -0
- package/lib/Label/Label.module.css +52 -52
- package/lib/Label/LabelColors.module.css +20 -20
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/lib/Layout/Box.js +0 -0
- package/lib/Layout/Container.js +0 -0
- package/lib/Layout/Layout.module.css +324 -324
- package/lib/Layout/utils.js +0 -0
- package/lib/LightNightMode/Colors.json +397 -397
- package/lib/ListItem/ListContainer.js +22 -2
- package/lib/ListItem/ListItem.js +1 -1
- package/lib/ListItem/ListItem.module.css +210 -199
- package/lib/ListItem/ListItemWithAvatar.js +1 -1
- package/lib/ListItem/ListItemWithCheckBox.js +1 -1
- package/lib/ListItem/ListItemWithIcon.js +1 -1
- package/lib/ListItem/ListItemWithRadio.js +1 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +127 -127
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.module.css +193 -193
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/Popup/Popup.js +0 -0
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Provider.js +37 -88
- package/lib/Radio/Radio.js +0 -0
- package/lib/Radio/Radio.module.css +110 -110
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/Ribbon/Ribbon.js +0 -0
- package/lib/Ribbon/Ribbon.module.css +376 -376
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/lib/RippleEffect/RippleEffect.module.css +70 -70
- package/lib/Select/GroupSelect.js +0 -0
- package/lib/Select/Select.js +0 -0
- package/lib/Select/Select.module.css +100 -100
- package/lib/Select/SelectWithAvatar.js +0 -0
- package/lib/Select/SelectWithIcon.js +0 -0
- package/lib/Select/__tests__/Select.spec.js +0 -0
- package/lib/Stencils/Stencils.js +0 -0
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/lib/Switch/Switch.js +0 -0
- package/lib/Switch/Switch.module.css +109 -109
- package/lib/Tab/Tab.module.css +101 -101
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tab/Tabs.module.css +140 -140
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tag/Tag.module.css +250 -250
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +157 -157
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/lib/Textarea/Textarea.js +0 -0
- package/lib/Textarea/Textarea.module.css +139 -139
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/lib/Tooltip/Tooltip.module.css +104 -104
- package/lib/beta/FocusRing/FocusRing.module.css +151 -151
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +44 -44
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/common.module.css +502 -502
- package/lib/common/customscroll.module.css +89 -89
- package/lib/common/docStyle.module.css +762 -766
- package/lib/common/reset.module.css +12 -12
- package/lib/common/transition.module.css +146 -146
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/utils/Common.js +0 -0
- package/lib/utils/dropDownUtils.js +0 -0
- package/package.json +72 -72
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +0 -358
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +0 -34
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +0 -34
- package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +0 -34
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +0 -34
- package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +0 -42
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +0 -34
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +0 -42
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
8
|
exports["default"] = void 0;
|
|
7
9
|
|
|
8
|
-
var _react =
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
11
|
|
|
10
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
13
|
|
|
@@ -15,8 +17,14 @@ var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
|
|
|
15
17
|
|
|
16
18
|
var _ListItemModule = _interopRequireDefault(require("./ListItem.module.css"));
|
|
17
19
|
|
|
20
|
+
var _CustomResponsive = require("../Responsive/CustomResponsive");
|
|
21
|
+
|
|
18
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
23
|
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
20
28
|
function _extends() { _extends = Object.assign || 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); }
|
|
21
29
|
|
|
22
30
|
var ListContainer = function ListContainer(props) {
|
|
@@ -42,6 +50,18 @@ var ListContainer = function ListContainer(props) {
|
|
|
42
50
|
onMouseEnter = props.onMouseEnter,
|
|
43
51
|
onMouseOver = props.onMouseOver,
|
|
44
52
|
eleRef = props.eleRef;
|
|
53
|
+
var responsiveFunc = (0, _react.useCallback)(function (_ref) {
|
|
54
|
+
var mediaQueryOR = _ref.mediaQueryOR;
|
|
55
|
+
return {
|
|
56
|
+
mobileToTab: mediaQueryOR([{
|
|
57
|
+
maxWidth: 700
|
|
58
|
+
}])
|
|
59
|
+
};
|
|
60
|
+
}, []);
|
|
61
|
+
|
|
62
|
+
var _useResponsiveReceive = (0, _CustomResponsive.useResponsiveReceiver)('Helmet', responsiveFunc),
|
|
63
|
+
mobileToTab = _useResponsiveReceive.mobileToTab;
|
|
64
|
+
|
|
45
65
|
var role = a11y.role,
|
|
46
66
|
ariaSelected = a11y.ariaSelected;
|
|
47
67
|
var options = {};
|
|
@@ -65,7 +85,7 @@ var ListContainer = function ListContainer(props) {
|
|
|
65
85
|
isCover: false,
|
|
66
86
|
align: "vertical",
|
|
67
87
|
alignBox: "row",
|
|
68
|
-
className: "".concat(_ListItemModule["default"].list, " ").concat(_ListItemModule["default"][size], " ").concat(_ListItemModule["default"][palette], " ").concat(active ? _ListItemModule["default"]["active".concat(palette)] : highlight && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Hover")] : '', " ").concat(autoHover && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Effect")] : '', " ").concat(needTick ? _ListItemModule["default"]["".concat(size, "withTick")] : '', " ").concat(isDisabled ? (0, _CssProvider["default"])('isDisable') : '', " ").concat(needBorder ? active ? _ListItemModule["default"].activewithBorder : _ListItemModule["default"].withBorder : '', " ").concat(customClass),
|
|
88
|
+
className: "".concat(_ListItemModule["default"].list, " ").concat(mobileToTab ? _ListItemModule["default"].responsiveHeight : '', " ").concat(_ListItemModule["default"][size], " ").concat(_ListItemModule["default"][palette], " ").concat(active ? _ListItemModule["default"]["active".concat(palette)] : highlight && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Hover")] : '', " ").concat(autoHover && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Effect")] : '', " ").concat(needTick ? _ListItemModule["default"]["".concat(size, "withTick")] : '', " ").concat(isDisabled ? (0, _CssProvider["default"])('isDisable') : '', " ").concat(needBorder ? active ? _ListItemModule["default"].activewithBorder : _ListItemModule["default"].withBorder : '', " ").concat(customClass),
|
|
69
89
|
dataId: dataId,
|
|
70
90
|
onClick: !isDisabled && onClick,
|
|
71
91
|
onMouseEnter: onMouseEnter,
|
package/lib/ListItem/ListItem.js
CHANGED
|
@@ -135,7 +135,7 @@ var ListItem = /*#__PURE__*/function (_React$Component) {
|
|
|
135
135
|
autoHover: autoHover,
|
|
136
136
|
needTick: needTick,
|
|
137
137
|
needBorder: needBorder,
|
|
138
|
-
customClass: customListItem,
|
|
138
|
+
customClass: "".concat(customListItem),
|
|
139
139
|
dataId: dataIdString,
|
|
140
140
|
isLink: isLink,
|
|
141
141
|
href: href,
|
|
@@ -1,199 +1,210 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
/* listitem default variables */
|
|
3
|
-
--listitem_text_color: var(--zdt_listitem_default_text);
|
|
4
|
-
--listitem_padding: var(--zd_size9) var(--zd_size20);
|
|
5
|
-
--listitem_border_width: 0;
|
|
6
|
-
--listitem_border_color: var(--zdt_listitem_default_border);
|
|
7
|
-
--listitem_bg_color: var(--zdt_listitem_default_bg);
|
|
8
|
-
--listitem_active_bg_color: var(--zdt_listitem_primary_bg);
|
|
9
|
-
--listitem_height: auto;
|
|
10
|
-
--listitem_min_height: 0;
|
|
11
|
-
|
|
12
|
-
/* listitem hover default variable */
|
|
13
|
-
--listitem_highlight_bg_color: var(--zdt_listitem_highlight_bg);
|
|
14
|
-
|
|
15
|
-
/* listitem tick icon default variables */
|
|
16
|
-
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
17
|
-
}[dir=ltr] .varClass {
|
|
18
|
-
--listitem_avatar_margin: 0 var(--zd_size15) 0 0
|
|
19
|
-
/*rtl: 0 0 0 var(--zd_size15)*/;
|
|
20
|
-
}[dir=rtl] .varClass {
|
|
21
|
-
--listitem_avatar_margin: 0 0 0 var(--zd_size15);
|
|
22
|
-
}
|
|
23
|
-
.list {
|
|
24
|
-
composes: varClass;
|
|
25
|
-
position: relative;
|
|
26
|
-
list-style: none;
|
|
27
|
-
color: var(--listitem_text_color);
|
|
28
|
-
font-size: var(--zd_font_size13);
|
|
29
|
-
height: var(--listitem_height);
|
|
30
|
-
min-height: var(--listitem_min_height);
|
|
31
|
-
text-decoration: none;
|
|
32
|
-
padding: var(--listitem_padding);
|
|
33
|
-
border-width: var(--listitem_border_width);
|
|
34
|
-
border-style: solid;
|
|
35
|
-
border-color: var(--listitem_border_color);
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
}
|
|
38
|
-
.list, .default, .secondary {
|
|
39
|
-
background-color: var(--listitem_bg_color);
|
|
40
|
-
}
|
|
41
|
-
[dir=ltr] .withBorder {
|
|
42
|
-
--listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
|
|
43
|
-
}
|
|
44
|
-
[dir=rtl] .withBorder {
|
|
45
|
-
--listitem_border_width: 0 1px 0 0;
|
|
46
|
-
}
|
|
47
|
-
.active {
|
|
48
|
-
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
49
|
-
}
|
|
50
|
-
[dir=ltr] .small {
|
|
51
|
-
--listitem_padding: var(--zd_size9) var(--zd_size3) var(--zd_size9)
|
|
52
|
-
var(--zd_size5)
|
|
53
|
-
/*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3)*/;
|
|
54
|
-
}
|
|
55
|
-
[dir=rtl] .small {
|
|
56
|
-
--listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
|
|
57
|
-
}
|
|
58
|
-
.medium {
|
|
59
|
-
--listitem_padding: var(--zd_size9) var(--zd_size20);
|
|
60
|
-
--listitem_min_height: var(--zd_size35);
|
|
61
|
-
}
|
|
62
|
-
.large {
|
|
63
|
-
--listitem_height: var(--zd_size48);
|
|
64
|
-
}
|
|
65
|
-
[dir=ltr] .large {
|
|
66
|
-
--listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
|
|
67
|
-
var(--zd_size25)
|
|
68
|
-
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
|
|
69
|
-
}
|
|
70
|
-
[dir=rtl] .large {
|
|
71
|
-
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
72
|
-
}
|
|
73
|
-
.value,
|
|
74
|
-
.children {
|
|
75
|
-
composes: dotted from '../common/common.module.css';
|
|
76
|
-
}
|
|
77
|
-
.iconBox {
|
|
78
|
-
width: var(--zd_size20);
|
|
79
|
-
text-align: center;
|
|
80
|
-
}
|
|
81
|
-
[dir=ltr] .iconBox {
|
|
82
|
-
margin-right: var(--zd_size10);
|
|
83
|
-
}
|
|
84
|
-
[dir=rtl] .iconBox {
|
|
85
|
-
margin-left: var(--zd_size10);
|
|
86
|
-
}
|
|
87
|
-
.iconBox,
|
|
88
|
-
.leftAvatar {
|
|
89
|
-
font-size: 0;
|
|
90
|
-
}
|
|
91
|
-
.leftAvatar {
|
|
92
|
-
margin: var(--listitem_avatar_margin);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.defaultHover, .primaryHover, .secondaryHover, .darkHover {
|
|
96
|
-
background-color: var(--listitem_highlight_bg_color);
|
|
97
|
-
}
|
|
98
|
-
.activewithBorder {
|
|
99
|
-
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
100
|
-
}
|
|
101
|
-
[dir=ltr] .activewithBorder {
|
|
102
|
-
--listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
|
|
103
|
-
}
|
|
104
|
-
[dir=rtl] .activewithBorder {
|
|
105
|
-
--listitem_border_width: 0 1px 0 0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.defaultHover,
|
|
109
|
-
.defaultEffect:hover,
|
|
110
|
-
.defaultEffect:focus {
|
|
111
|
-
--listitem_bg_color: var(--zdt_listitem_highlight_bg);
|
|
112
|
-
}
|
|
113
|
-
.primaryHover,
|
|
114
|
-
.primaryEffect:hover,
|
|
115
|
-
.primaryEffect:focus {
|
|
116
|
-
--listitem_bg_color: var(--zdt_listitem_primary_bg);
|
|
117
|
-
--listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
|
|
118
|
-
}
|
|
119
|
-
.secondaryHover,
|
|
120
|
-
.secondaryEffect:hover,
|
|
121
|
-
.secondaryEffect:focus {
|
|
122
|
-
--listitem_bg_color: var(--zdt_listitem_secondary_bg);
|
|
123
|
-
--listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
|
|
124
|
-
--listitem_text_color: var(--zdt_listitem_secondary_text);
|
|
125
|
-
}
|
|
126
|
-
.darkHover,
|
|
127
|
-
.darkEffect:hover,
|
|
128
|
-
.darkEffect:focus {
|
|
129
|
-
--listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
130
|
-
--listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
131
|
-
}
|
|
132
|
-
.activedefault, .activeprimary, .activesecondary, .activedark {
|
|
133
|
-
background-color: var(--listitem_active_bg_color);
|
|
134
|
-
}
|
|
135
|
-
.activedefault,
|
|
136
|
-
.activedefault:hover,
|
|
137
|
-
.activeprimary,
|
|
138
|
-
.activeprimary:hover {
|
|
139
|
-
--listitem_active_bg_color: var(--zdt_listitem_primary_bg);
|
|
140
|
-
}
|
|
141
|
-
.activesecondary {
|
|
142
|
-
--listitem_active_bg_color: var(--zdt_listitem_secondary_bg);
|
|
143
|
-
--listitem_text_color: var(--zdt_listitem_secondary_text);
|
|
144
|
-
}
|
|
145
|
-
.dark {
|
|
146
|
-
--listitem_bg_color: var(--zdt_listitem_dark_bg);
|
|
147
|
-
--listitem_text_color: var(--zdt_listitem_dark_text);
|
|
148
|
-
}
|
|
149
|
-
.activedark {
|
|
150
|
-
--listitem_active_bg_color: var(--zdt_listitem_dark_active_bg);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.tickIcon,
|
|
154
|
-
.defaultTick,
|
|
155
|
-
.darkTick {
|
|
156
|
-
position: absolute;
|
|
157
|
-
color: var(--listitem_tickicon_color);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
[dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
|
|
161
|
-
right: var(--zd_size20);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
[dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
|
|
165
|
-
left: var(--zd_size20);
|
|
166
|
-
}
|
|
167
|
-
.defaultTick {
|
|
168
|
-
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
169
|
-
}
|
|
170
|
-
.darkTick {
|
|
171
|
-
--listitem_tickicon_color: var(--zdt_listitem_dark_tickicon);
|
|
172
|
-
}
|
|
173
|
-
.defaultTick > i {
|
|
174
|
-
display: block;
|
|
175
|
-
}
|
|
176
|
-
[dir=ltr] .smallwithTick {
|
|
177
|
-
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
178
|
-
var(--zd_size5)
|
|
179
|
-
/*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39)*/;
|
|
180
|
-
}
|
|
181
|
-
[dir=rtl] .smallwithTick {
|
|
182
|
-
--listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39);
|
|
183
|
-
}
|
|
184
|
-
[dir=ltr] .mediumwithTick {
|
|
185
|
-
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
186
|
-
var(--zd_size20)
|
|
187
|
-
/*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size30)*/;
|
|
188
|
-
}
|
|
189
|
-
[dir=rtl] .mediumwithTick {
|
|
190
|
-
--listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size30);
|
|
191
|
-
}
|
|
192
|
-
[dir=ltr] .largewithTick {
|
|
193
|
-
--listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
|
|
194
|
-
var(--zd_size25)
|
|
195
|
-
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39)*/;
|
|
196
|
-
}
|
|
197
|
-
[dir=rtl] .largewithTick {
|
|
198
|
-
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
|
|
199
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
/* listitem default variables */
|
|
3
|
+
--listitem_text_color: var(--zdt_listitem_default_text);
|
|
4
|
+
--listitem_padding: var(--zd_size9) var(--zd_size20);
|
|
5
|
+
--listitem_border_width: 0;
|
|
6
|
+
--listitem_border_color: var(--zdt_listitem_default_border);
|
|
7
|
+
--listitem_bg_color: var(--zdt_listitem_default_bg);
|
|
8
|
+
--listitem_active_bg_color: var(--zdt_listitem_primary_bg);
|
|
9
|
+
--listitem_height: auto;
|
|
10
|
+
--listitem_min_height: 0;
|
|
11
|
+
|
|
12
|
+
/* listitem hover default variable */
|
|
13
|
+
--listitem_highlight_bg_color: var(--zdt_listitem_highlight_bg);
|
|
14
|
+
|
|
15
|
+
/* listitem tick icon default variables */
|
|
16
|
+
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
17
|
+
}[dir=ltr] .varClass {
|
|
18
|
+
--listitem_avatar_margin: 0 var(--zd_size15) 0 0
|
|
19
|
+
/*rtl: 0 0 0 var(--zd_size15)*/;
|
|
20
|
+
}[dir=rtl] .varClass {
|
|
21
|
+
--listitem_avatar_margin: 0 0 0 var(--zd_size15);
|
|
22
|
+
}
|
|
23
|
+
.list {
|
|
24
|
+
composes: varClass;
|
|
25
|
+
position: relative;
|
|
26
|
+
list-style: none;
|
|
27
|
+
color: var(--listitem_text_color);
|
|
28
|
+
font-size: var(--zd_font_size13);
|
|
29
|
+
height: var(--listitem_height);
|
|
30
|
+
min-height: var(--listitem_min_height);
|
|
31
|
+
text-decoration: none;
|
|
32
|
+
padding: var(--listitem_padding);
|
|
33
|
+
border-width: var(--listitem_border_width);
|
|
34
|
+
border-style: solid;
|
|
35
|
+
border-color: var(--listitem_border_color);
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
.list, .default, .secondary {
|
|
39
|
+
background-color: var(--listitem_bg_color);
|
|
40
|
+
}
|
|
41
|
+
[dir=ltr] .withBorder {
|
|
42
|
+
--listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
|
|
43
|
+
}
|
|
44
|
+
[dir=rtl] .withBorder {
|
|
45
|
+
--listitem_border_width: 0 1px 0 0;
|
|
46
|
+
}
|
|
47
|
+
.active {
|
|
48
|
+
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
49
|
+
}
|
|
50
|
+
[dir=ltr] .small {
|
|
51
|
+
--listitem_padding: var(--zd_size9) var(--zd_size3) var(--zd_size9)
|
|
52
|
+
var(--zd_size5)
|
|
53
|
+
/*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3)*/;
|
|
54
|
+
}
|
|
55
|
+
[dir=rtl] .small {
|
|
56
|
+
--listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
|
|
57
|
+
}
|
|
58
|
+
.medium {
|
|
59
|
+
--listitem_padding: var(--zd_size9) var(--zd_size20);
|
|
60
|
+
--listitem_min_height: var(--zd_size35);
|
|
61
|
+
}
|
|
62
|
+
.large {
|
|
63
|
+
--listitem_height: var(--zd_size48);
|
|
64
|
+
}
|
|
65
|
+
[dir=ltr] .large {
|
|
66
|
+
--listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
|
|
67
|
+
var(--zd_size25)
|
|
68
|
+
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
|
|
69
|
+
}
|
|
70
|
+
[dir=rtl] .large {
|
|
71
|
+
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
72
|
+
}
|
|
73
|
+
.value,
|
|
74
|
+
.children {
|
|
75
|
+
composes: dotted from '../common/common.module.css';
|
|
76
|
+
}
|
|
77
|
+
.iconBox {
|
|
78
|
+
width: var(--zd_size20);
|
|
79
|
+
text-align: center;
|
|
80
|
+
}
|
|
81
|
+
[dir=ltr] .iconBox {
|
|
82
|
+
margin-right: var(--zd_size10);
|
|
83
|
+
}
|
|
84
|
+
[dir=rtl] .iconBox {
|
|
85
|
+
margin-left: var(--zd_size10);
|
|
86
|
+
}
|
|
87
|
+
.iconBox,
|
|
88
|
+
.leftAvatar {
|
|
89
|
+
font-size: 0;
|
|
90
|
+
}
|
|
91
|
+
.leftAvatar {
|
|
92
|
+
margin: var(--listitem_avatar_margin);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.defaultHover, .primaryHover, .secondaryHover, .darkHover {
|
|
96
|
+
background-color: var(--listitem_highlight_bg_color);
|
|
97
|
+
}
|
|
98
|
+
.activewithBorder {
|
|
99
|
+
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
100
|
+
}
|
|
101
|
+
[dir=ltr] .activewithBorder {
|
|
102
|
+
--listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
|
|
103
|
+
}
|
|
104
|
+
[dir=rtl] .activewithBorder {
|
|
105
|
+
--listitem_border_width: 0 1px 0 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.defaultHover,
|
|
109
|
+
.defaultEffect:hover,
|
|
110
|
+
.defaultEffect:focus {
|
|
111
|
+
--listitem_bg_color: var(--zdt_listitem_highlight_bg);
|
|
112
|
+
}
|
|
113
|
+
.primaryHover,
|
|
114
|
+
.primaryEffect:hover,
|
|
115
|
+
.primaryEffect:focus {
|
|
116
|
+
--listitem_bg_color: var(--zdt_listitem_primary_bg);
|
|
117
|
+
--listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
|
|
118
|
+
}
|
|
119
|
+
.secondaryHover,
|
|
120
|
+
.secondaryEffect:hover,
|
|
121
|
+
.secondaryEffect:focus {
|
|
122
|
+
--listitem_bg_color: var(--zdt_listitem_secondary_bg);
|
|
123
|
+
--listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
|
|
124
|
+
--listitem_text_color: var(--zdt_listitem_secondary_text);
|
|
125
|
+
}
|
|
126
|
+
.darkHover,
|
|
127
|
+
.darkEffect:hover,
|
|
128
|
+
.darkEffect:focus {
|
|
129
|
+
--listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
130
|
+
--listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
131
|
+
}
|
|
132
|
+
.activedefault, .activeprimary, .activesecondary, .activedark {
|
|
133
|
+
background-color: var(--listitem_active_bg_color);
|
|
134
|
+
}
|
|
135
|
+
.activedefault,
|
|
136
|
+
.activedefault:hover,
|
|
137
|
+
.activeprimary,
|
|
138
|
+
.activeprimary:hover {
|
|
139
|
+
--listitem_active_bg_color: var(--zdt_listitem_primary_bg);
|
|
140
|
+
}
|
|
141
|
+
.activesecondary {
|
|
142
|
+
--listitem_active_bg_color: var(--zdt_listitem_secondary_bg);
|
|
143
|
+
--listitem_text_color: var(--zdt_listitem_secondary_text);
|
|
144
|
+
}
|
|
145
|
+
.dark {
|
|
146
|
+
--listitem_bg_color: var(--zdt_listitem_dark_bg);
|
|
147
|
+
--listitem_text_color: var(--zdt_listitem_dark_text);
|
|
148
|
+
}
|
|
149
|
+
.activedark {
|
|
150
|
+
--listitem_active_bg_color: var(--zdt_listitem_dark_active_bg);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.tickIcon,
|
|
154
|
+
.defaultTick,
|
|
155
|
+
.darkTick {
|
|
156
|
+
position: absolute;
|
|
157
|
+
color: var(--listitem_tickicon_color);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
[dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
|
|
161
|
+
right: var(--zd_size20);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
|
|
165
|
+
left: var(--zd_size20);
|
|
166
|
+
}
|
|
167
|
+
.defaultTick {
|
|
168
|
+
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
169
|
+
}
|
|
170
|
+
.darkTick {
|
|
171
|
+
--listitem_tickicon_color: var(--zdt_listitem_dark_tickicon);
|
|
172
|
+
}
|
|
173
|
+
.defaultTick > i {
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
[dir=ltr] .smallwithTick {
|
|
177
|
+
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
178
|
+
var(--zd_size5)
|
|
179
|
+
/*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39)*/;
|
|
180
|
+
}
|
|
181
|
+
[dir=rtl] .smallwithTick {
|
|
182
|
+
--listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39);
|
|
183
|
+
}
|
|
184
|
+
[dir=ltr] .mediumwithTick {
|
|
185
|
+
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
186
|
+
var(--zd_size20)
|
|
187
|
+
/*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size30)*/;
|
|
188
|
+
}
|
|
189
|
+
[dir=rtl] .mediumwithTick {
|
|
190
|
+
--listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size30);
|
|
191
|
+
}
|
|
192
|
+
[dir=ltr] .largewithTick {
|
|
193
|
+
--listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
|
|
194
|
+
var(--zd_size25)
|
|
195
|
+
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39)*/;
|
|
196
|
+
}
|
|
197
|
+
[dir=rtl] .largewithTick {
|
|
198
|
+
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
|
|
199
|
+
}
|
|
200
|
+
.responsiveHeight {
|
|
201
|
+
--listitem_height: var(--zd_size45);
|
|
202
|
+
}
|
|
203
|
+
[dir=ltr] .responsiveHeight {
|
|
204
|
+
--listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
|
|
205
|
+
var(--zd_size20)
|
|
206
|
+
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
|
|
207
|
+
}
|
|
208
|
+
[dir=rtl] .responsiveHeight {
|
|
209
|
+
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
210
|
+
}
|
|
@@ -147,7 +147,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
147
147
|
autoHover: autoHover,
|
|
148
148
|
needTick: needTick,
|
|
149
149
|
needBorder: needBorder,
|
|
150
|
-
customClass: customListItem,
|
|
150
|
+
customClass: "".concat(customListItem),
|
|
151
151
|
dataId: "".concat(dataIdString, "_ListItemWithAvatar"),
|
|
152
152
|
onClick: this.handleClick,
|
|
153
153
|
onMouseEnter: this.handleMouseEnter,
|
|
@@ -125,7 +125,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
|
|
|
125
125
|
isDisabled: isDisabled,
|
|
126
126
|
active: active,
|
|
127
127
|
autoHover: autoHover,
|
|
128
|
-
customClass: customListItem,
|
|
128
|
+
customClass: "".concat(customListItem),
|
|
129
129
|
dataId: "".concat(dataId ? dataId : value, "_ListItemWithCheckBox"),
|
|
130
130
|
onClick: this.onClick,
|
|
131
131
|
onMouseOver: this.onHover,
|
|
@@ -132,7 +132,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
132
132
|
autoHover: autoHover,
|
|
133
133
|
needTick: needTick,
|
|
134
134
|
needBorder: needBorder,
|
|
135
|
-
customClass: customClass,
|
|
135
|
+
customClass: "".concat(customClass),
|
|
136
136
|
dataId: dataIdString,
|
|
137
137
|
isLink: isLink,
|
|
138
138
|
href: href,
|
|
@@ -126,7 +126,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
|
|
|
126
126
|
isDisabled: isDisabled,
|
|
127
127
|
active: active,
|
|
128
128
|
autoHover: autoHover,
|
|
129
|
-
customClass: customListItem,
|
|
129
|
+
customClass: "".concat(customListItem),
|
|
130
130
|
dataId: dataId,
|
|
131
131
|
onClick: this.onClick,
|
|
132
132
|
onMouseOver: this.onHover,
|
|
@@ -484,8 +484,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
484
484
|
if (suggestionsLen && isPopupOpen && keyCode === 38) {
|
|
485
485
|
//up arrow
|
|
486
486
|
|
|
487
|
-
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
488
|
-
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
487
|
+
/*if (hoverOption === 0) { //disable first to last option higlight
|
|
488
|
+
!isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
|
|
489
489
|
}*/
|
|
490
490
|
if (hoverIndex) {
|
|
491
491
|
this.setState({
|
|
@@ -495,9 +495,9 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
495
495
|
} else if (suggestionsLen && isPopupOpen && keyCode === 40) {
|
|
496
496
|
//down arrow
|
|
497
497
|
|
|
498
|
-
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
499
|
-
//disable last to first option higlight
|
|
500
|
-
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
498
|
+
/*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
|
|
499
|
+
//disable last to first option higlight
|
|
500
|
+
!isNextOptions && this.setState({ hoverOption: 0 });
|
|
501
501
|
}*/
|
|
502
502
|
if (isNextOptions && suggestionsLen >= 5 && hoverIndex === suggestionsLen - 3) {
|
|
503
503
|
getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
|