@zohodesk/components 1.0.0-temp-444 → 1.0.0-temp-667
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 +16 -0
- package/assets/Appearance/dark/mode/darkMode.module.css +3 -18
- package/assets/Appearance/default/mode/defaultMode.module.css +2 -17
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +5 -20
- package/es/AppContainer/AppContainer.js +1 -1
- package/es/Avatar/Avatar.js +1 -1
- package/es/Avatar/Avatar.module.css +11 -9
- package/es/AvatarTeam/AvatarTeam.js +1 -1
- package/es/AvatarTeam/AvatarTeam.module.css +21 -7
- package/es/Button/Button.module.css +97 -24
- package/es/Buttongroup/Buttongroup.module.css +37 -8
- package/es/CheckBox/CheckBox.js +1 -1
- package/es/CheckBox/CheckBox.module.css +29 -19
- package/es/DateTime/DateTime.js +4 -2
- package/es/DateTime/DateTime.module.css +40 -13
- package/es/DateTime/DateWidget.js +4 -2
- package/es/DateTime/DateWidget.module.css +9 -5
- package/es/DateTime/YearView.module.css +17 -6
- package/es/DropBox/DropBox.js +1 -1
- package/es/DropBox/DropBox.module.css +47 -11
- package/es/DropDown/DropDownHeading.module.css +7 -3
- package/es/DropDown/DropDownItem.module.css +32 -6
- package/es/LightNightMode/Colors.json +496 -397
- package/es/LightNightMode/docs/AlternativeColors.docs.js +21 -1
- package/es/ListItem/ListContainer.js +1 -1
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItem.module.css +69 -33
- 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/Modal/Modal.js +1 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +14 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +20 -8
- package/es/MultiSelect/MultiSelect.module.css +36 -11
- package/es/MultiSelect/SelectedOptions.js +1 -1
- package/es/MultiSelect/SelectedOptions.module.css +8 -2
- package/es/MultiSelect/Suggestions.js +1 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Popup/Popup.js +1 -1
- package/es/Radio/Radio.module.css +18 -10
- package/es/Responsive/ResizeComponent.js +15 -73
- package/es/Responsive/ResizeObserver.js +2 -6
- package/es/Responsive/docs/style.module.css +17 -8
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/es/Ribbon/Ribbon.module.css +93 -28
- package/es/RippleEffect/RippleEffect.module.css +37 -44
- package/es/Select/Select.js +30 -8
- package/es/Select/Select.module.css +12 -2
- package/es/Select/docs/Select__default.docs.js +1 -1
- package/es/Stencils/Stencils.module.css +21 -3
- package/es/Switch/Switch.js +1 -1
- package/es/Switch/Switch.module.css +9 -9
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/Tab.module.css +16 -7
- package/es/Tab/TabWrapper.js +1 -1
- package/es/Tab/Tabs.js +1 -1
- package/es/Tab/Tabs.module.css +42 -8
- package/es/Tab/docs/tabdocs.module.css +1 -1
- package/es/Tag/Tag.module.css +36 -14
- package/es/TextBox/TextBox.js +1 -1
- package/es/TextBox/TextBox.module.css +7 -11
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
- package/es/Textarea/Textarea.js +1 -1
- package/es/Textarea/Textarea.module.css +6 -7
- package/es/Tooltip/Tooltip.module.css +9 -8
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/beta/FocusRing/FocusRing.module.css +51 -26
- package/es/common/animation.module.css +219 -21
- package/es/common/basicReset.module.css +2 -12
- package/es/common/common.module.css +62 -18
- package/es/common/customscroll.module.css +17 -21
- package/es/common/docStyle.module.css +79 -32
- package/es/common/transition.module.css +50 -10
- package/es/css.js +0 -1
- package/{lib/MultiSelect → es/deprecated}/AdvancedMultiSelect.module.css +1 -1
- package/es/deprecated/advancedMultiSelectVariableJson.js +80 -0
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/Accordion/Accordion.js +2 -2
- package/lib/Accordion/AccordionItem.js +2 -2
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Animation/Animation.js +2 -2
- package/lib/Animation/docs/Animation__default.docs.js +2 -2
- package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/lib/AppContainer/AppContainer.js +11 -4
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
- package/lib/Button/Button.js +2 -2
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Buttongroup/Buttongroup.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
- package/lib/Card/Card.js +2 -2
- package/lib/Card/docs/Card__Custom.docs.js +2 -2
- package/lib/Card/docs/Card__Default.docs.js +2 -2
- package/lib/Card/docs/Card__Scroll.docs.js +2 -2
- package/lib/CheckBox/CheckBox.js +5 -4
- package/lib/CheckBox/CheckBox.module.css +12 -8
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateTime.js +50 -22
- package/lib/DateTime/DateTime.module.css +1 -1
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +14 -4
- package/lib/DateTime/DateWidget.module.css +0 -4
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +2 -2
- package/lib/DateTime/YearView.module.css +1 -0
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DropBox/DropBox.js +4 -4
- package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
- package/lib/DropDown/DropDown.js +2 -2
- package/lib/DropDown/DropDownHeading.js +2 -2
- package/lib/DropDown/DropDownItem.js +2 -2
- package/lib/DropDown/DropDownSearch.js +2 -2
- package/lib/DropDown/DropDownSeparator.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/Label/Label.js +2 -2
- package/lib/Label/docs/Label__clipped.docs.js +2 -2
- package/lib/Label/docs/Label__custom.docs.js +2 -2
- package/lib/Label/docs/Label__palette.docs.js +2 -2
- package/lib/Label/docs/Label__size.docs.js +2 -2
- package/lib/Label/docs/Label__type.docs.js +2 -2
- package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
- package/lib/Layout/docs/Layout__default.docs.js +2 -2
- package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/LightNightMode/Colors.json +496 -397
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +25 -3
- package/lib/ListItem/ListContainer.js +8 -5
- package/lib/ListItem/ListItem.js +4 -4
- package/lib/ListItem/ListItem.module.css +18 -19
- package/lib/ListItem/ListItemWithAvatar.js +4 -4
- package/lib/ListItem/ListItemWithCheckBox.js +4 -4
- package/lib/ListItem/ListItemWithIcon.js +4 -4
- package/lib/ListItem/ListItemWithRadio.js +4 -4
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +120 -88
- package/lib/MultiSelect/AdvancedMultiSelect.js +99 -62
- package/lib/MultiSelect/EmptyState.js +2 -2
- package/lib/MultiSelect/MultiSelect.js +90 -64
- package/lib/MultiSelect/MultiSelect.module.css +15 -2
- package/lib/MultiSelect/MultiSelectHeader.js +2 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +80 -55
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +3 -3
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
- package/lib/PopOver/PopOver.js +13 -6
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +2 -2
- package/lib/Provider/Config.js +3 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
- package/lib/Provider.js +34 -100
- package/lib/Radio/Radio.js +2 -2
- package/lib/Radio/Radio.module.css +8 -6
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +2 -2
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/Ribbon/Ribbon.js +2 -2
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/RippleEffect/RippleEffect.module.css +37 -15
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/Select/GroupSelect.js +102 -79
- package/lib/Select/Select.js +142 -87
- package/lib/Select/Select.module.css +6 -0
- package/lib/Select/SelectWithAvatar.js +98 -73
- package/lib/Select/SelectWithIcon.js +99 -76
- package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +2 -2
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/Switch.module.css +3 -2
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +70 -47
- package/lib/Tab/Tabs.module.css +2 -1
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tag/Tag.js +3 -3
- package/lib/Tag/Tag.module.css +6 -2
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
- package/lib/Tooltip/Tooltip.js +62 -10
- package/lib/Tooltip/Tooltip.module.css +6 -1
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +52 -13
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
- package/lib/common/docStyle.module.css +6 -2
- package/lib/css.js +0 -2
- package/{es/MultiSelect → lib/deprecated}/AdvancedMultiSelect.module.css +23 -9
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/lib/index.js +10 -1
- package/lib/semantic/Button/Button.js +2 -2
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/package.json +4 -4
|
@@ -24,7 +24,10 @@ export default class AlternativeColors extends React.Component {
|
|
|
24
24
|
}, "Light Mode Colors"), /*#__PURE__*/React.createElement(Box, {
|
|
25
25
|
flexible: true,
|
|
26
26
|
className: style.rgt
|
|
27
|
-
}, "Alternate Night Mode Colors")
|
|
27
|
+
}, "Alternate Night Mode Colors"), /*#__PURE__*/React.createElement(Box, {
|
|
28
|
+
flexible: true,
|
|
29
|
+
className: style.rgt
|
|
30
|
+
}, "Alternate Pure Dark Mode Colors")), /*#__PURE__*/React.createElement(Container, {
|
|
28
31
|
alignBox: "row",
|
|
29
32
|
className: style.content
|
|
30
33
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -62,6 +65,23 @@ export default class AlternativeColors extends React.Component {
|
|
|
62
65
|
onClick: () => navigator.clipboard.writeText(clrValue),
|
|
63
66
|
"data-title": `Copy ${clrValue}`
|
|
64
67
|
}, clrValue));
|
|
68
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
69
|
+
flexible: true,
|
|
70
|
+
className: style.rgt
|
|
71
|
+
}, index.equalPureDarkColors.toString().split(", ").map((clrValue, j) => {
|
|
72
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
73
|
+
className: style.nestedDiv,
|
|
74
|
+
key: j
|
|
75
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
76
|
+
style: {
|
|
77
|
+
backgroundColor: `${clrValue}`
|
|
78
|
+
},
|
|
79
|
+
className: `${style.rect} ${style.gold}`
|
|
80
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
81
|
+
className: style.colorvalue,
|
|
82
|
+
onClick: () => navigator.clipboard.writeText(clrValue),
|
|
83
|
+
"data-title": `Copy ${clrValue}`
|
|
84
|
+
}, clrValue));
|
|
65
85
|
}))))))));
|
|
66
86
|
}
|
|
67
87
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { useCallback } from 'react';
|
package/es/ListItem/ListItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
--listitem_padding: var(--zd_size9) var(--zd_size20);
|
|
5
5
|
--listitem_border_width: 0;
|
|
6
6
|
--listitem_border_color: var(--zdt_listitem_default_border);
|
|
7
|
-
--listitem_avatar_margin: 0 var(--zd_size15) 0 0
|
|
8
|
-
/*rtl: 0 0 0 var(--zd_size15)*/;
|
|
9
7
|
--listitem_bg_color: var(--zdt_listitem_default_bg);
|
|
10
8
|
--listitem_active_bg_color: var(--zdt_listitem_primary_bg);
|
|
11
9
|
--listitem_height: auto;
|
|
@@ -16,6 +14,11 @@
|
|
|
16
14
|
|
|
17
15
|
/* listitem tick icon default variables */
|
|
18
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);
|
|
19
22
|
}
|
|
20
23
|
.list {
|
|
21
24
|
composes: varClass;
|
|
@@ -23,40 +26,49 @@
|
|
|
23
26
|
list-style: none;
|
|
24
27
|
color: var(--listitem_text_color);
|
|
25
28
|
font-size: var(--zd_font_size13);
|
|
29
|
+
height: var(--listitem_height);
|
|
30
|
+
min-height: var(--listitem_min_height);
|
|
31
|
+
text-decoration: none;
|
|
26
32
|
padding: var(--listitem_padding);
|
|
27
33
|
border-width: var(--listitem_border_width);
|
|
28
34
|
border-style: solid;
|
|
29
35
|
border-color: var(--listitem_border_color);
|
|
30
|
-
height: var(--listitem_height);
|
|
31
|
-
min-height: var(--listitem_min_height);
|
|
32
36
|
cursor: pointer;
|
|
33
|
-
text-decoration: none;
|
|
34
37
|
}
|
|
35
|
-
.list,
|
|
36
|
-
.default,
|
|
37
|
-
.secondary {
|
|
38
|
+
.list, .default, .secondary {
|
|
38
39
|
background-color: var(--listitem_bg_color);
|
|
39
40
|
}
|
|
40
|
-
.withBorder {
|
|
41
|
+
[dir=ltr] .withBorder {
|
|
41
42
|
--listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
|
|
42
43
|
}
|
|
44
|
+
[dir=rtl] .withBorder {
|
|
45
|
+
--listitem_border_width: 0 1px 0 0;
|
|
46
|
+
}
|
|
43
47
|
.active {
|
|
44
48
|
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
45
49
|
}
|
|
46
|
-
.small {
|
|
50
|
+
[dir=ltr] .small {
|
|
47
51
|
--listitem_padding: var(--zd_size9) var(--zd_size3) var(--zd_size9)
|
|
48
52
|
var(--zd_size5)
|
|
49
53
|
/*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3)*/;
|
|
50
54
|
}
|
|
55
|
+
[dir=rtl] .small {
|
|
56
|
+
--listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
|
|
57
|
+
}
|
|
51
58
|
.medium {
|
|
52
59
|
--listitem_padding: var(--zd_size9) var(--zd_size20);
|
|
53
60
|
--listitem_min_height: var(--zd_size35);
|
|
54
61
|
}
|
|
55
62
|
.large {
|
|
63
|
+
--listitem_height: var(--zd_size48);
|
|
64
|
+
}
|
|
65
|
+
[dir=ltr] .large {
|
|
56
66
|
--listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
|
|
57
67
|
var(--zd_size25)
|
|
58
68
|
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
|
|
59
|
-
|
|
69
|
+
}
|
|
70
|
+
[dir=rtl] .large {
|
|
71
|
+
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
60
72
|
}
|
|
61
73
|
.value,
|
|
62
74
|
.children {
|
|
@@ -64,9 +76,14 @@
|
|
|
64
76
|
}
|
|
65
77
|
.iconBox {
|
|
66
78
|
width: var(--zd_size20);
|
|
67
|
-
margin-right: var(--zd_size10);
|
|
68
79
|
text-align: center;
|
|
69
80
|
}
|
|
81
|
+
[dir=ltr] .iconBox {
|
|
82
|
+
margin-right: var(--zd_size10);
|
|
83
|
+
}
|
|
84
|
+
[dir=rtl] .iconBox {
|
|
85
|
+
margin-left: var(--zd_size10);
|
|
86
|
+
}
|
|
70
87
|
.iconBox,
|
|
71
88
|
.leftAvatar {
|
|
72
89
|
font-size: 0;
|
|
@@ -75,45 +92,48 @@
|
|
|
75
92
|
margin: var(--listitem_avatar_margin);
|
|
76
93
|
}
|
|
77
94
|
|
|
78
|
-
.defaultHover,
|
|
79
|
-
.primaryHover,
|
|
80
|
-
.secondaryHover,
|
|
81
|
-
.darkHover {
|
|
95
|
+
.defaultHover, .primaryHover, .secondaryHover, .darkHover {
|
|
82
96
|
background-color: var(--listitem_highlight_bg_color);
|
|
83
97
|
}
|
|
84
98
|
.activewithBorder {
|
|
85
|
-
--listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
|
|
86
99
|
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
87
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
|
+
}
|
|
88
107
|
|
|
89
108
|
.defaultHover,
|
|
90
|
-
.defaultEffect:hover
|
|
91
|
-
.defaultEffect:focus
|
|
109
|
+
.defaultEffect:hover
|
|
110
|
+
/* .defaultEffect:focus */
|
|
111
|
+
{
|
|
92
112
|
--listitem_bg_color: var(--zdt_listitem_highlight_bg);
|
|
93
113
|
}
|
|
94
114
|
.primaryHover,
|
|
95
|
-
.primaryEffect:hover
|
|
96
|
-
.primaryEffect:focus
|
|
115
|
+
.primaryEffect:hover
|
|
116
|
+
/* .primaryEffect:focus */
|
|
117
|
+
{
|
|
97
118
|
--listitem_bg_color: var(--zdt_listitem_primary_bg);
|
|
98
119
|
--listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
|
|
99
120
|
}
|
|
100
121
|
.secondaryHover,
|
|
101
|
-
.secondaryEffect:hover
|
|
102
|
-
.secondaryEffect:focus
|
|
122
|
+
.secondaryEffect:hover
|
|
123
|
+
/* .secondaryEffect:focus */
|
|
124
|
+
{
|
|
103
125
|
--listitem_bg_color: var(--zdt_listitem_secondary_bg);
|
|
104
126
|
--listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
|
|
105
127
|
--listitem_text_color: var(--zdt_listitem_secondary_text);
|
|
106
128
|
}
|
|
107
129
|
.darkHover,
|
|
108
|
-
.darkEffect:hover
|
|
109
|
-
.darkEffect:focus
|
|
130
|
+
.darkEffect:hover
|
|
131
|
+
/* .darkEffect:focus */
|
|
132
|
+
{
|
|
110
133
|
--listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
111
134
|
--listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
112
135
|
}
|
|
113
|
-
.activedefault,
|
|
114
|
-
.activeprimary,
|
|
115
|
-
.activesecondary,
|
|
116
|
-
.activedark {
|
|
136
|
+
.activedefault, .activeprimary, .activesecondary, .activedark {
|
|
117
137
|
background-color: var(--listitem_active_bg_color);
|
|
118
138
|
}
|
|
119
139
|
.activedefault,
|
|
@@ -139,8 +159,15 @@
|
|
|
139
159
|
.darkTick {
|
|
140
160
|
position: absolute;
|
|
141
161
|
color: var(--listitem_tickicon_color);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
|
|
142
165
|
right: var(--zd_size20);
|
|
143
166
|
}
|
|
167
|
+
|
|
168
|
+
[dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
|
|
169
|
+
left: var(--zd_size20);
|
|
170
|
+
}
|
|
144
171
|
.defaultTick {
|
|
145
172
|
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
146
173
|
}
|
|
@@ -150,24 +177,33 @@
|
|
|
150
177
|
.defaultTick > i {
|
|
151
178
|
display: block;
|
|
152
179
|
}
|
|
153
|
-
.smallwithTick {
|
|
180
|
+
[dir=ltr] .smallwithTick {
|
|
154
181
|
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
155
182
|
var(--zd_size5)
|
|
156
183
|
/*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39)*/;
|
|
157
184
|
}
|
|
158
|
-
.
|
|
185
|
+
[dir=rtl] .smallwithTick {
|
|
186
|
+
--listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39);
|
|
187
|
+
}
|
|
188
|
+
[dir=ltr] .mediumwithTick {
|
|
159
189
|
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
160
190
|
var(--zd_size20)
|
|
161
191
|
/*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39)*/;
|
|
162
192
|
}
|
|
163
|
-
.
|
|
193
|
+
[dir=rtl] .mediumwithTick {
|
|
194
|
+
--listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39);
|
|
195
|
+
}
|
|
196
|
+
[dir=ltr] .largewithTick {
|
|
164
197
|
--listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
|
|
165
198
|
var(--zd_size25)
|
|
166
199
|
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39)*/;
|
|
167
200
|
}
|
|
201
|
+
[dir=rtl] .largewithTick {
|
|
202
|
+
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
|
|
203
|
+
}
|
|
168
204
|
.responsiveHeight {
|
|
169
205
|
--listitem_min_height: var(--zd_size45);
|
|
206
|
+
font-size: var(--zd_font_size15);
|
|
170
207
|
padding-top: var(--zd_size10);
|
|
171
208
|
padding-bottom: var(--zd_size10);
|
|
172
|
-
font-size: var(--zd_font_size15);
|
|
173
209
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Modal/Modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
|
|
5
5
|
import Loader from '@zohodesk/svg/lib/svg/Loader';
|
|
6
6
|
import Popup from '../Popup/Popup';
|
|
7
|
-
import
|
|
7
|
+
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
8
8
|
import { Container, Box } from '../Layout';
|
|
9
9
|
import DropDownHeading from '../DropDown/DropDownHeading';
|
|
10
10
|
import MultiSelectHeader from '../MultiSelect/MultiSelectHeader';
|
|
@@ -897,6 +897,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
897
897
|
} = this.handleFilterSuggestions();
|
|
898
898
|
let setAriaId = this.getNextAriaId();
|
|
899
899
|
let ariaErrorId = this.getNextAriaId();
|
|
900
|
+
const isShowClearIcon = !isReadOnly && !isDisabled && selectedGroupOptions.length > 1;
|
|
900
901
|
return /*#__PURE__*/React.createElement("div", {
|
|
901
902
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
902
903
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
@@ -927,8 +928,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
927
928
|
adjust: true,
|
|
928
929
|
shrink: true
|
|
929
930
|
}, /*#__PURE__*/React.createElement("span", {
|
|
930
|
-
className: ` ${style.custmSpan} ${textBoxSize
|
|
931
|
-
|
|
931
|
+
className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
|
|
932
|
+
`
|
|
933
|
+
}, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
932
934
|
isDisabled: isDisabled,
|
|
933
935
|
inputRef: this.searchInputRef,
|
|
934
936
|
needBorder: false,
|
|
@@ -943,7 +945,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
943
945
|
variant: variant,
|
|
944
946
|
dataId: `${dataId}_textBox`,
|
|
945
947
|
isReadOnly: isReadOnly,
|
|
946
|
-
customClass:
|
|
948
|
+
customClass: {
|
|
949
|
+
customTBoxWrap: style.custmInputWrapper
|
|
950
|
+
},
|
|
947
951
|
tabindex: isDisabled && '-1',
|
|
948
952
|
htmlId: htmlId,
|
|
949
953
|
a11y: {
|
|
@@ -955,8 +959,11 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
955
959
|
ariaDescribedby: ariaErrorId
|
|
956
960
|
},
|
|
957
961
|
autoComplete: autoComplete
|
|
958
|
-
}
|
|
959
|
-
|
|
962
|
+
}, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
|
|
963
|
+
alignBox: "row",
|
|
964
|
+
align: "vertical"
|
|
965
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
966
|
+
className: `${style.delete} ${style[`${palette}Delete`]}`,
|
|
960
967
|
dataId: `${dataId}_clearIcon`,
|
|
961
968
|
"data-title": clearText,
|
|
962
969
|
onClick: this.handleDeselectAll,
|
|
@@ -965,7 +972,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
965
972
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
966
973
|
name: "ZD-delete",
|
|
967
974
|
size: "15"
|
|
968
|
-
})) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
975
|
+
}))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
969
976
|
query: this.responsiveFunc,
|
|
970
977
|
responsiveId: "Helmet"
|
|
971
978
|
}, _ref2 => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -11,7 +11,7 @@ import Suggestions from './Suggestions';
|
|
|
11
11
|
import EmptyState from './EmptyState';
|
|
12
12
|
import MultiSelectHeader from './MultiSelectHeader';
|
|
13
13
|
import Popup from '../Popup/Popup';
|
|
14
|
-
import
|
|
14
|
+
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
15
15
|
import { Container, Box } from '../Layout';
|
|
16
16
|
import Card, { CardContent, CardHeader, CardFooter } from '../Card/Card';
|
|
17
17
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
@@ -20,7 +20,7 @@ import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
|
|
|
20
20
|
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
21
21
|
/**** CSS ****/
|
|
22
22
|
|
|
23
|
-
import style from './
|
|
23
|
+
import style from './MultiSelect.module.css';
|
|
24
24
|
/**** Methods ****/
|
|
25
25
|
|
|
26
26
|
import { getIsEmptyValue, getSearchString } from '../utils/Common.js';
|
|
@@ -428,8 +428,14 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
428
428
|
onClick: this.handleMoreClick,
|
|
429
429
|
tagName: "button"
|
|
430
430
|
}, `+ ${moreCount} More`) : null, /*#__PURE__*/React.createElement(Box, {
|
|
431
|
-
flexible: true
|
|
432
|
-
|
|
431
|
+
flexible: true,
|
|
432
|
+
className: style.wrapper,
|
|
433
|
+
adjust: true,
|
|
434
|
+
shrink: true
|
|
435
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
436
|
+
className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
|
|
437
|
+
`
|
|
438
|
+
}, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
433
439
|
isDisabled: isDisabled,
|
|
434
440
|
inputRef: this.searchInputRef,
|
|
435
441
|
needBorder: false,
|
|
@@ -444,6 +450,9 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
444
450
|
variant: variant,
|
|
445
451
|
isReadOnly: isReadOnly,
|
|
446
452
|
tabindex: isDisabled && '-1',
|
|
453
|
+
customClass: {
|
|
454
|
+
customTBoxWrap: style.custmInputWrapper
|
|
455
|
+
},
|
|
447
456
|
htmlId: htmlId,
|
|
448
457
|
a11y: {
|
|
449
458
|
role: 'combobox',
|
|
@@ -454,8 +463,11 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
454
463
|
ariaDescribedby: ariaErrorId
|
|
455
464
|
},
|
|
456
465
|
autoComplete: false
|
|
457
|
-
}
|
|
458
|
-
|
|
466
|
+
}, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
|
|
467
|
+
alignBox: "row",
|
|
468
|
+
align: "vertical"
|
|
469
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
470
|
+
className: `${style.delete}`,
|
|
459
471
|
dataId: dataIdClearIcon,
|
|
460
472
|
"data-title": clearText,
|
|
461
473
|
onClick: this.handleDeselectAll,
|
|
@@ -464,7 +476,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
464
476
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
465
477
|
name: "ZD-delete",
|
|
466
478
|
size: "15"
|
|
467
|
-
})) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
479
|
+
}))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
468
480
|
query: this.responsiveFunc,
|
|
469
481
|
responsiveId: "Helmet"
|
|
470
482
|
}, _ref2 => {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
|
|
5
|
-
.disabled,
|
|
6
|
-
.readOnly {
|
|
4
|
+
.disabled, .readOnly {
|
|
7
5
|
cursor: not-allowed;
|
|
8
6
|
}
|
|
9
7
|
.container {
|
|
@@ -11,9 +9,9 @@
|
|
|
11
9
|
composes: oflowy from '../common/common.module.css';
|
|
12
10
|
}
|
|
13
11
|
.hasBorder {
|
|
12
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
14
13
|
border-bottom-style: solid;
|
|
15
14
|
border-bottom-width: 1px;
|
|
16
|
-
transition: border var(--zd_transition2) linear 0s;
|
|
17
15
|
}
|
|
18
16
|
.borderColor_transparent {
|
|
19
17
|
border-bottom-color: var(--zdt_multiselect_transparent_border);
|
|
@@ -48,16 +46,16 @@
|
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
.container.xmedium {
|
|
51
|
-
padding-bottom: var(--zd_size3);
|
|
52
49
|
min-height: var(--zd_size30);
|
|
50
|
+
padding-bottom: var(--zd_size3);
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
.delete {
|
|
54
|
+
font: inherit;
|
|
56
55
|
padding: var(--zd_size2) var(--zd_size6);
|
|
57
56
|
cursor: pointer;
|
|
58
57
|
border: 0;
|
|
59
58
|
background-color: var(--zdt_multiselect_delete_bg);
|
|
60
|
-
font: inherit;
|
|
61
59
|
}
|
|
62
60
|
.delete,
|
|
63
61
|
.defaultDelete {
|
|
@@ -87,13 +85,21 @@
|
|
|
87
85
|
max-width: 100%;
|
|
88
86
|
}
|
|
89
87
|
|
|
90
|
-
.container.xmedium .tag {
|
|
88
|
+
[dir=ltr] .container.xmedium .tag {
|
|
91
89
|
margin: var(--zd_size2) var(--zd_size10) 0 0;
|
|
92
90
|
}
|
|
93
91
|
|
|
94
|
-
.container.
|
|
92
|
+
[dir=rtl] .container.xmedium .tag {
|
|
93
|
+
margin: var(--zd_size2) 0 0 var(--zd_size10);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[dir=ltr] .container.medium .tag {
|
|
95
97
|
margin: var(--zd_size5) var(--zd_size10) 0 0;
|
|
96
98
|
}
|
|
99
|
+
|
|
100
|
+
[dir=rtl] .container.medium .tag {
|
|
101
|
+
margin: var(--zd_size5) 0 0 var(--zd_size10);
|
|
102
|
+
}
|
|
97
103
|
.responsiveParent{
|
|
98
104
|
width: 100%;
|
|
99
105
|
}
|
|
@@ -132,9 +138,11 @@
|
|
|
132
138
|
}
|
|
133
139
|
.dark,
|
|
134
140
|
.darkBox {
|
|
135
|
-
background: var(--zdt_multiselect_darkmsg_bg);
|
|
136
141
|
color: var(--zdt_multiselect_darkmsg_text);
|
|
137
142
|
}
|
|
143
|
+
.dark, .darkBox {
|
|
144
|
+
background: var(--zdt_multiselect_darkmsg_bg);
|
|
145
|
+
}
|
|
138
146
|
|
|
139
147
|
.hide {
|
|
140
148
|
composes: vishidden from '../common/common.module.css';
|
|
@@ -158,9 +166,14 @@
|
|
|
158
166
|
.custmInputWrapper {
|
|
159
167
|
position: absolute;
|
|
160
168
|
top: 0;
|
|
161
|
-
left: 0;
|
|
162
169
|
width: 100%;
|
|
163
170
|
}
|
|
171
|
+
[dir=ltr] .custmInputWrapper {
|
|
172
|
+
left: 0;
|
|
173
|
+
}
|
|
174
|
+
[dir=rtl] .custmInputWrapper {
|
|
175
|
+
right: 0;
|
|
176
|
+
}
|
|
164
177
|
.title {
|
|
165
178
|
margin-bottom: var(--zd_size6);
|
|
166
179
|
}
|
|
@@ -173,9 +186,21 @@
|
|
|
173
186
|
.iconContainer {
|
|
174
187
|
padding-top: var(--zd_size3)
|
|
175
188
|
}
|
|
176
|
-
.clearIconSpace {
|
|
189
|
+
[dir=ltr] .clearIconSpace {
|
|
177
190
|
padding-right: var(--zd_size37)
|
|
178
191
|
}
|
|
192
|
+
[dir=rtl] .clearIconSpace {
|
|
193
|
+
padding-left: var(--zd_size37)
|
|
194
|
+
}
|
|
179
195
|
.search{
|
|
180
196
|
padding: 0px 20px;
|
|
197
|
+
}
|
|
198
|
+
.more {
|
|
199
|
+
font-size: var(--zd_font_size14);
|
|
200
|
+
color: var(--zdt_multiselect_more_text);
|
|
201
|
+
font-family: inherit;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
margin-top: var(--zd_size5);
|
|
204
|
+
background-color: var(--zdt_multiselect_delete_bg);
|
|
205
|
+
border: 0;
|
|
181
206
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
.tag {
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
}
|
|
4
|
-
.xmedium {
|
|
4
|
+
[dir=ltr] .xmedium {
|
|
5
5
|
margin: 0 var(--zd_size10) var(--zd_size2) 0;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
[dir=rtl] .xmedium {
|
|
8
|
+
margin: 0 0 var(--zd_size2) var(--zd_size10);
|
|
9
|
+
}
|
|
10
|
+
[dir=ltr] .medium {
|
|
8
11
|
margin: var(--zd_size5) var(--zd_size10) 0 0;
|
|
9
12
|
}
|
|
13
|
+
[dir=rtl] .medium {
|
|
14
|
+
margin: var(--zd_size5) 0 0 var(--zd_size10);
|
|
15
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
package/es/Popup/Popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
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); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|