@zohodesk/dot 1.0.0-temp-228.2 → 1.0.0-temp-229
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/Dot_DarkMode.module.css +2 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +2 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +2 -0
- package/es/ActionButton/ActionButton.module.css +12 -11
- package/es/ActionButton/__tests__/__snapshots__/ActionButton.spec.js.snap +47 -60
- package/es/AlphabeticList/AlphabeticList.module.css +7 -8
- package/es/Attachment/Attachment.module.css +9 -10
- package/es/AttachmentViewer/AttachmentViewer.module.css +24 -45
- package/es/AudioPlayer/AudioPlayer.module.css +5 -8
- package/es/DotProvider/DotProvider.js +2 -0
- package/es/DotProvider/__tests__/DotProvider.spec.js +106 -0
- package/es/DotProvider/hooks/useDotProvider.js +4 -2
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +44 -15
- package/es/DotProvider/props/defaultProps.js +2 -0
- package/es/DotProvider/props/propTypes.js +1 -0
- package/es/Drawer/Drawer.module.css +17 -64
- package/es/FormAction/FormAction.module.css +20 -54
- package/es/ImportantNotes/ImportantNotes.module.css +2 -9
- package/es/Message/Message.module.css +3 -16
- package/es/MessageBanner/MessageBanner.module.css +4 -13
- package/es/Separator/Separator.module.css +2 -1
- package/es/TagWithIcon/TagWithIcon.module.css +5 -8
- package/es/ToastMessage/ToastMessage.module.css +16 -30
- package/es/Upload/Upload.module.css +7 -9
- package/es/alert/AlertHeader/AlertHeader.module.css +11 -25
- package/es/alert/AlertLookup/AlertLookup.module.css +9 -10
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +16 -16
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +7 -9
- package/es/emptystate/EditionPage/EditionPage.css +7 -4
- package/es/errorstate/EmptyStates.module.css +7 -8
- package/es/errorstate/Inconvenience/Inconvenience.module.css +2 -5
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +5 -4
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
- package/es/errorstate/WillBack/WillBack.module.css +6 -4
- package/es/form/fields/Fields.module.css +23 -68
- package/es/form/fields/SelectField/SelectField.js +4 -2
- package/es/form/fields/SelectField/props/propTypes.js +1 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +11 -16
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/es/form/fields/TextEditor/TextEditor.module.css +40 -66
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -7
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -3
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +14 -36
- package/es/layout/SubtabLayout/SubtabLayout.module.css +33 -46
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/es/list/Comment/Comment.module.css +2 -1
- package/es/list/Dot/Dot.module.css +4 -2
- package/es/list/GridStencils/GridStencils.module.css +7 -9
- package/es/list/ListLayout/ListLayout.module.css +7 -4
- package/es/list/ListStencils/ListStencils.module.css +14 -15
- package/es/list/SecondaryText/SecondaryText.module.css +4 -13
- package/es/list/SentimentStatus/SentimentStatus.module.css +2 -4
- package/es/list/TagNew/TagNew.module.css +3 -2
- package/es/list/listCommon.module.css +3 -7
- package/es/list/status/StatusDropdown/StatusDropdown.js +121 -79
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +65 -18
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +1 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +10 -18
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +4 -3
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/header/Search/LookupSearch.module.css +10 -23
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -12
- package/es/lookup/header/lookupHeaderCommon.module.css +8 -7
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +2 -6
- package/es/setup/header/Button/HeaderButton.module.css +2 -4
- package/es/setup/header/Link/HeaderLink.module.css +3 -9
- package/es/setup/header/Search/Search.module.css +2 -10
- package/es/setup/header/Views/Views.module.css +1 -4
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -1
- package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/es/setup/helptips/ListGroup/ListGroup.module.css +2 -6
- package/es/setup/table/TableData/SetupTableData.module.css +2 -4
- package/es/setup/table/TableHead/SetupTableHead.module.css +1 -6
- package/es/setup/table/TableRow/SetupTableRow.module.css +2 -7
- package/es/version2/GlobalNotification/GlobalNotification.module.css +7 -12
- package/es/version2/errorstate/V2_ErrorStates.module.css +5 -5
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +8 -23
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +9 -10
- package/es/version2/lookup/alertLookupCommonNew.module.css +6 -4
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +8 -11
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -22
- package/lib/ActionButton/ActionButton.module.css +12 -11
- package/lib/ActionButton/__tests__/__snapshots__/ActionButton.spec.js.snap +47 -60
- package/lib/AlphabeticList/AlphabeticList.module.css +7 -8
- package/lib/Attachment/Attachment.module.css +9 -10
- package/lib/AttachmentViewer/AttachmentViewer.module.css +24 -45
- package/lib/AudioPlayer/AudioPlayer.module.css +5 -8
- package/lib/DotProvider/DotProvider.js +3 -1
- package/lib/DotProvider/__tests__/DotProvider.spec.js +216 -0
- package/lib/DotProvider/hooks/useDotProvider.js +4 -2
- package/lib/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +46 -15
- package/lib/DotProvider/props/defaultProps.js +3 -0
- package/lib/DotProvider/props/propTypes.js +1 -0
- package/lib/Drawer/Drawer.module.css +17 -64
- package/lib/FormAction/FormAction.module.css +20 -54
- package/lib/ImportantNotes/ImportantNotes.module.css +2 -9
- package/lib/Message/Message.module.css +3 -16
- package/lib/MessageBanner/MessageBanner.module.css +4 -13
- package/lib/Separator/Separator.module.css +2 -1
- package/lib/TagWithIcon/TagWithIcon.module.css +5 -8
- package/lib/ToastMessage/ToastMessage.module.css +16 -30
- package/lib/Upload/Upload.module.css +7 -9
- package/lib/alert/AlertHeader/AlertHeader.module.css +11 -25
- package/lib/alert/AlertLookup/AlertLookup.module.css +9 -10
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +16 -16
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +7 -9
- package/lib/emptystate/EditionPage/EditionPage.css +7 -4
- package/lib/errorstate/EmptyStates.module.css +7 -8
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +2 -5
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +5 -4
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
- package/lib/errorstate/WillBack/WillBack.module.css +6 -4
- package/lib/form/fields/Fields.module.css +23 -68
- package/lib/form/fields/SelectField/SelectField.js +4 -2
- package/lib/form/fields/SelectField/props/propTypes.js +1 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +11 -16
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/lib/form/fields/TextEditor/TextEditor.module.css +40 -66
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -7
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +4 -3
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +14 -36
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +33 -46
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/lib/list/Comment/Comment.module.css +2 -1
- package/lib/list/Dot/Dot.module.css +4 -2
- package/lib/list/GridStencils/GridStencils.module.css +7 -9
- package/lib/list/ListLayout/ListLayout.module.css +7 -4
- package/lib/list/ListStencils/ListStencils.module.css +14 -15
- package/lib/list/SecondaryText/SecondaryText.module.css +4 -13
- package/lib/list/SentimentStatus/SentimentStatus.module.css +2 -4
- package/lib/list/TagNew/TagNew.module.css +3 -2
- package/lib/list/listCommon.module.css +3 -7
- package/lib/list/status/StatusDropdown/StatusDropdown.js +133 -81
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +65 -18
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +10 -18
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +4 -3
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/header/Search/LookupSearch.module.css +10 -23
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -2
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -12
- package/lib/lookup/header/lookupHeaderCommon.module.css +8 -7
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +2 -6
- package/lib/setup/header/Button/HeaderButton.module.css +2 -4
- package/lib/setup/header/Link/HeaderLink.module.css +3 -9
- package/lib/setup/header/Search/Search.module.css +2 -10
- package/lib/setup/header/Views/Views.module.css +1 -4
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -1
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +2 -6
- package/lib/setup/table/TableData/SetupTableData.module.css +2 -4
- package/lib/setup/table/TableHead/SetupTableHead.module.css +1 -6
- package/lib/setup/table/TableRow/SetupTableRow.module.css +2 -7
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +7 -12
- package/lib/version2/errorstate/V2_ErrorStates.module.css +5 -5
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +8 -23
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +9 -10
- package/lib/version2/lookup/alertLookupCommonNew.module.css +6 -4
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +8 -11
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -22
- package/package.json +14 -14
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
.paidUserIcon {
|
|
2
|
+
margin-inline-end: var(--zd_size5) ;
|
|
2
3
|
vertical-align: middle;
|
|
3
4
|
bottom: var(--zd_size1) ;
|
|
4
5
|
position: relative;
|
|
5
6
|
font-size: var(--zd_font_size8) ;
|
|
6
|
-
}[dir=ltr] .paidUserIcon {
|
|
7
|
-
margin-right: var(--zd_size5) ;
|
|
8
|
-
}[dir=rtl] .paidUserIcon {
|
|
9
|
-
margin-left: var(--zd_size5) ;
|
|
10
7
|
}
|
|
11
8
|
|
|
12
9
|
.icon {
|
|
@@ -115,17 +112,11 @@
|
|
|
115
112
|
|
|
116
113
|
.happinessImg {
|
|
117
114
|
width: var(--zd_size13) ;
|
|
115
|
+
margin-block:0 ;
|
|
116
|
+
margin-inline:0 var(--zd_size4) ;
|
|
118
117
|
vertical-align: middle;
|
|
119
118
|
}
|
|
120
119
|
|
|
121
|
-
[dir=ltr] .happinessImg {
|
|
122
|
-
margin: 0 var(--zd_size4) 0 0 ;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
[dir=rtl] .happinessImg {
|
|
126
|
-
margin: 0 0 0 var(--zd_size4) ;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
120
|
/* colors */
|
|
130
121
|
.gray {
|
|
131
122
|
color: var(--zdt_secondaryText_gray_text);
|
|
@@ -153,4 +144,4 @@
|
|
|
153
144
|
|
|
154
145
|
.phonetxt {
|
|
155
146
|
composes: ltr-dir from '~@zohodesk/components/es/common/common.module.css';
|
|
156
|
-
}
|
|
147
|
+
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
.container {
|
|
2
|
+
margin-inline: var(--zd_size5) 0 ;
|
|
3
|
+
margin-block:0 ;
|
|
2
4
|
vertical-align: middle;
|
|
3
5
|
font-size: var(--zd_font_size10) ;
|
|
4
|
-
}[dir=ltr] .container {
|
|
5
|
-
margin: 0 0 0 var(--zd_size5) ;
|
|
6
|
-
}[dir=rtl] .container {
|
|
7
|
-
margin: 0 var(--zd_size5) 0 0 ;
|
|
8
6
|
}
|
|
9
7
|
|
|
10
8
|
.sentimentIcon {
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
height: var(--zd_size28) ;
|
|
4
4
|
font-size: var(--zd_font_size13) ;
|
|
5
5
|
color: var(--zdt_tagnew_default_text);
|
|
6
|
+
padding-inline: var(--zd_size15) ;
|
|
7
|
+
padding-block:0 ;
|
|
6
8
|
composes: inlineFlex from '../listCommon.module.css';
|
|
7
9
|
composes: alignHorizontal from '~@zohodesk/components/es/common/common.module.css';
|
|
8
10
|
transition: all var(--zd_transition2) ease 0s;
|
|
@@ -11,7 +13,6 @@
|
|
|
11
13
|
border-radius: 14px;
|
|
12
14
|
background-color: var(--zdt_tagnew_default_bg);
|
|
13
15
|
box-shadow: var(--zd_bs_tagnew_shadow);
|
|
14
|
-
padding: 0 var(--zd_size15) ;
|
|
15
16
|
transform: scale(0);
|
|
16
17
|
cursor: pointer;
|
|
17
18
|
}
|
|
@@ -114,4 +115,4 @@
|
|
|
114
115
|
-webkit-transform: scale3d(1, 1, 1);
|
|
115
116
|
transform: scale3d(1, 1, 1);
|
|
116
117
|
}
|
|
117
|
-
}
|
|
118
|
+
}
|
|
@@ -7,12 +7,8 @@
|
|
|
7
7
|
composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
margin-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
[dir=rtl] .avatarMargin {
|
|
15
|
-
margin-left: var(--zd_size25) ;
|
|
10
|
+
.avatarMargin {
|
|
11
|
+
margin-inline-end: var(--zd_size25) ;
|
|
16
12
|
}
|
|
17
13
|
|
|
18
14
|
.subject {
|
|
@@ -76,4 +72,4 @@
|
|
|
76
72
|
.hoveredStyle .superCompact .floatingIconContainer {
|
|
77
73
|
opacity: 1;
|
|
78
74
|
visibility: visible;
|
|
79
|
-
}
|
|
75
|
+
}
|
|
@@ -37,6 +37,8 @@ var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/es
|
|
|
37
37
|
|
|
38
38
|
var _CustomResponsive = require("@zohodesk/components/es/Responsive/CustomResponsive");
|
|
39
39
|
|
|
40
|
+
var _Flex = _interopRequireDefault(require("@zohodesk/layout/es/Flex/Flex"));
|
|
41
|
+
|
|
40
42
|
var _IdProvider = require("@zohodesk/components/es/Provider/IdProvider");
|
|
41
43
|
|
|
42
44
|
var _semanticButtonModule = _interopRequireDefault(require("@zohodesk/components/es/semantic/Button/semanticButton.module.css"));
|
|
@@ -87,6 +89,11 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
87
89
|
_this.searchList = _this.searchList.bind(_assertThisInitialized(_this));
|
|
88
90
|
_this.handleScroll = _this.handleScroll.bind(_assertThisInitialized(_this));
|
|
89
91
|
_this.emptySearchSVG = _this.emptySearchSVG.bind(_assertThisInitialized(_this));
|
|
92
|
+
_this.getSearchA11y = _this.getSearchA11y.bind(_assertThisInitialized(_this));
|
|
93
|
+
_this.getHeadingA11y = _this.getHeadingA11y.bind(_assertThisInitialized(_this));
|
|
94
|
+
_this.getListItemA11y = _this.getListItemA11y.bind(_assertThisInitialized(_this));
|
|
95
|
+
_this.getTextBoxIconCustomProps = _this.getTextBoxIconCustomProps.bind(_assertThisInitialized(_this));
|
|
96
|
+
_this.handleListItemClick = _this.handleListItemClick.bind(_assertThisInitialized(_this));
|
|
90
97
|
_this.getAriaId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
|
|
91
98
|
return _this;
|
|
92
99
|
}
|
|
@@ -187,10 +194,55 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
187
194
|
}])
|
|
188
195
|
};
|
|
189
196
|
}
|
|
197
|
+
}, {
|
|
198
|
+
key: "getSearchA11y",
|
|
199
|
+
value: function getSearchA11y() {
|
|
200
|
+
return {
|
|
201
|
+
ariaHaspopup: this.props.isSearch ? 'listbox' : 'menu',
|
|
202
|
+
ariaExpanded: this.props.isPopupReady,
|
|
203
|
+
role: 'combobox',
|
|
204
|
+
ariaActivedescendant: this.props.isPopupReady ? this.props.value : '',
|
|
205
|
+
ariaOwns: this.getAriaId()
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
}, {
|
|
209
|
+
key: "getHeadingA11y",
|
|
210
|
+
value: function getHeadingA11y() {
|
|
211
|
+
return {
|
|
212
|
+
role: 'heading'
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
}, {
|
|
216
|
+
key: "getListItemA11y",
|
|
217
|
+
value: function getListItemA11y(isActive, listItemText) {
|
|
218
|
+
return {
|
|
219
|
+
role: this.props.isSearch ? 'option' : 'menuitem',
|
|
220
|
+
ariaSelected: isActive,
|
|
221
|
+
ariaLabel: listItemText
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
}, {
|
|
225
|
+
key: "getTextBoxIconCustomProps",
|
|
226
|
+
value: function getTextBoxIconCustomProps() {
|
|
227
|
+
return {
|
|
228
|
+
TextBoxProps: {
|
|
229
|
+
'data-a11y-autofocus': true
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
}, {
|
|
234
|
+
key: "handleListItemClick",
|
|
235
|
+
value: function handleListItemClick(item) {
|
|
236
|
+
var _this2 = this;
|
|
237
|
+
|
|
238
|
+
return function (e) {
|
|
239
|
+
_this2.onSelect(item, e);
|
|
240
|
+
};
|
|
241
|
+
}
|
|
190
242
|
}, {
|
|
191
243
|
key: "render",
|
|
192
244
|
value: function render() {
|
|
193
|
-
var
|
|
245
|
+
var _this3 = this;
|
|
194
246
|
|
|
195
247
|
var options = this.state.options;
|
|
196
248
|
var _this$props4 = this.props,
|
|
@@ -248,9 +300,12 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
248
300
|
renderFooterElement = _this$props4.renderFooterElement,
|
|
249
301
|
_this$props4$a11y = _this$props4.a11y,
|
|
250
302
|
a11y = _this$props4$a11y === void 0 ? {} : _this$props4$a11y,
|
|
251
|
-
customClass = _this$props4.customClass
|
|
303
|
+
customClass = _this$props4.customClass,
|
|
304
|
+
renderSuggestedStatus = _this$props4.renderSuggestedStatus;
|
|
252
305
|
var _customClass$dropBoxC = customClass.dropBoxClass,
|
|
253
|
-
dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC
|
|
306
|
+
dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC,
|
|
307
|
+
_customClass$suggeste = customClass.suggestedStatusWrapper,
|
|
308
|
+
suggestedStatusWrapper = _customClass$suggeste === void 0 ? '' : _customClass$suggeste;
|
|
254
309
|
var _a11y$tabIndex = a11y.tabIndex,
|
|
255
310
|
tabIndex = _a11y$tabIndex === void 0 ? 0 : _a11y$tabIndex,
|
|
256
311
|
ariaLabelledby = a11y.ariaLabelledby,
|
|
@@ -259,6 +314,9 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
259
314
|
var searchString = this.state.searchString;
|
|
260
315
|
var containerClass = "".concat(className ? className : '', " ").concat(isPopupReady ? activeStyle ? activeStyle : '' : showIconOnHover ? _StatusDropdownModule["default"].hoverIcon : '', " ").concat(isDisabled ? _commonModule["default"].disabled : isReadOnly ? _StatusDropdownModule["default"].readOnly : !isEditable ? _StatusDropdownModule["default"].cursorDefault : !showOnHover ? "".concat(_StatusDropdownModule["default"].cursor, " ").concat(hoverStyle ? hoverStyle : '') : "".concat(hoverStyle ? hoverStyle : '', " ").concat(_StatusDropdownModule["default"].cursorDefault));
|
|
261
316
|
var ariaTitleId = this.getAriaId();
|
|
317
|
+
var textBoxA11y = this.getSearchA11y();
|
|
318
|
+
var headingA11y = this.getHeadingA11y();
|
|
319
|
+
var textBoxIconCustomProps = this.getTextBoxIconCustomProps();
|
|
262
320
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
263
321
|
className: _StatusDropdownModule["default"].posRel,
|
|
264
322
|
onMouseEnter: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.handleTogglePopup : undefined,
|
|
@@ -313,13 +371,13 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
313
371
|
isAnimate: true,
|
|
314
372
|
getRef: getContainerRef,
|
|
315
373
|
customClass: {
|
|
316
|
-
customDropBoxWrap: _StatusDropdownModule["default"].dropBoxContainer,
|
|
317
|
-
customDropBox: dropBoxClass
|
|
374
|
+
customDropBoxWrap: "".concat(_StatusDropdownModule["default"].dropBoxContainer, " "),
|
|
375
|
+
customDropBox: "".concat(dropBoxClass, " ").concat(renderSuggestedStatus ? _StatusDropdownModule["default"].dropBoxWithSuggestedStatus : '')
|
|
318
376
|
},
|
|
319
377
|
needResponsive: needResponsive,
|
|
320
378
|
isResponsivePadding: true,
|
|
321
379
|
needFocusScope: true,
|
|
322
|
-
onClose:
|
|
380
|
+
onClose: _this3.handleTogglePopup,
|
|
323
381
|
dataId: "".concat(dataId, "_dropbox"),
|
|
324
382
|
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
325
383
|
isRestrictScroll: isRestrictScroll,
|
|
@@ -332,81 +390,75 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
332
390
|
isFetchingOptions: isFetchingOptions
|
|
333
391
|
}
|
|
334
392
|
}
|
|
335
|
-
},
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
},
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
description: searchEmptyHint,
|
|
405
|
-
size: "small",
|
|
406
|
-
getEmptyState: _this2.emptySearchSVG
|
|
407
|
-
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
408
|
-
className: _StatusDropdownModule["default"].loader
|
|
409
|
-
}, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))), renderFooterElement ? renderFooterElement : null));
|
|
393
|
+
}, function () {
|
|
394
|
+
var dropdownContent = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSearch ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
395
|
+
className: _StatusDropdownModule["default"].search
|
|
396
|
+
}, /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
|
|
397
|
+
placeHolder: placeHolderText,
|
|
398
|
+
onChange: _this3.handleChange,
|
|
399
|
+
value: searchString,
|
|
400
|
+
onClear: _this3.onSearchClear,
|
|
401
|
+
size: searchBoxSize,
|
|
402
|
+
customProps: textBoxIconCustomProps,
|
|
403
|
+
a11y: textBoxA11y,
|
|
404
|
+
dataId: "".concat(dataId, "_search")
|
|
405
|
+
})) : null, title && options.length != 0 && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
406
|
+
className: _StatusDropdownModule["default"].title
|
|
407
|
+
}, /*#__PURE__*/_react["default"].createElement(_DropDownHeading["default"], {
|
|
408
|
+
htmlId: ariaTitleId,
|
|
409
|
+
text: title,
|
|
410
|
+
a11y: headingA11y
|
|
411
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
412
|
+
scroll: "vertical",
|
|
413
|
+
flexible: true,
|
|
414
|
+
shrink: true,
|
|
415
|
+
dataId: "".concat(dataId, "_list"),
|
|
416
|
+
preventParentScroll: "vertical",
|
|
417
|
+
className: "".concat(tabletMode ? _StatusDropdownModule["default"].responsivemaxHgt : _StatusDropdownModule["default"].maxHgt),
|
|
418
|
+
onScroll: _this3.handleScroll,
|
|
419
|
+
role: isSearch ? 'listbox' : 'menu',
|
|
420
|
+
tabindex: "-1",
|
|
421
|
+
isScrollAttribute: true
|
|
422
|
+
}, options.length != 0 && isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, options.map(function (item, i) {
|
|
423
|
+
var listItemText = item[keyName];
|
|
424
|
+
var isActive = value === listItemText;
|
|
425
|
+
return /*#__PURE__*/_react["default"].createElement(_StatusListItem["default"], {
|
|
426
|
+
key: item[idName] || i,
|
|
427
|
+
dataId: "dataid_".concat(i),
|
|
428
|
+
value: listItemText,
|
|
429
|
+
id: item[idName],
|
|
430
|
+
active: isActive,
|
|
431
|
+
onClick: _this3.handleListItemClick(item),
|
|
432
|
+
index: i,
|
|
433
|
+
needTick: needTick,
|
|
434
|
+
needBorder: false,
|
|
435
|
+
bulletColor: item[statusColor],
|
|
436
|
+
title: listItemText,
|
|
437
|
+
needMultiLineText: needMultiLineText,
|
|
438
|
+
autoHover: true,
|
|
439
|
+
a11y: _this3.getListItemA11y(isActive, listItemText)
|
|
440
|
+
});
|
|
441
|
+
}), isFetchingOptions && /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
442
|
+
isCover: false,
|
|
443
|
+
align: "both"
|
|
444
|
+
}, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
|
|
445
|
+
className: _StatusDropdownModule["default"].svgWrapper,
|
|
446
|
+
title: searchErrorText || 'No results',
|
|
447
|
+
description: searchEmptyHint,
|
|
448
|
+
size: "small",
|
|
449
|
+
getEmptyState: _this3.emptySearchSVG
|
|
450
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
451
|
+
className: _StatusDropdownModule["default"].loader
|
|
452
|
+
}, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null))), renderFooterElement ? renderFooterElement : null);
|
|
453
|
+
|
|
454
|
+
return renderSuggestedStatus ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
455
|
+
className: _StatusDropdownModule["default"].dropBoxListContainer
|
|
456
|
+
}, /*#__PURE__*/_react["default"].createElement(_Flex["default"], {
|
|
457
|
+
$ui_className: "".concat(suggestedStatusWrapper, " ").concat(_StatusDropdownModule["default"].suggestedStatusContainer)
|
|
458
|
+
}, renderSuggestedStatus), /*#__PURE__*/_react["default"].createElement("div", {
|
|
459
|
+
className: _StatusDropdownModule["default"].dropdownOptions
|
|
460
|
+
}, dropdownContent)) : dropdownContent;
|
|
461
|
+
}());
|
|
410
462
|
}) : null);
|
|
411
463
|
}
|
|
412
464
|
}]);
|
|
@@ -1,83 +1,130 @@
|
|
|
1
1
|
.container {
|
|
2
2
|
max-width: 100% ;
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
.dropBoxListContainer {
|
|
6
|
+
border-radius: 7px;
|
|
7
|
+
padding: var(--zd_size10) ;
|
|
8
|
+
border: 1px solid var(--zdt_statusdropdown_wrapper_container_border);
|
|
9
|
+
background: var(--zdt_statusdropdown_wrapper_container_bg);
|
|
10
|
+
box-shadow: var(--zd_bs_statusdropdown_wrapper_container);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dropdownOptions {
|
|
14
|
+
padding-inline: var(--zd_size1) ;
|
|
15
|
+
padding-block: var(--zd_size1) ;
|
|
16
|
+
background-color: var(--zdt_commentList_normal_bg);
|
|
17
|
+
border: 1px solid var(--zdt_statusdropdown_wrapper_container_border);
|
|
18
|
+
border-radius: 7px;
|
|
19
|
+
}
|
|
20
|
+
|
|
4
21
|
.posRel {
|
|
5
22
|
position: relative;
|
|
6
23
|
}
|
|
24
|
+
|
|
7
25
|
.maxHgt {
|
|
8
26
|
max-height: var(--zd_size265) ;
|
|
9
|
-
padding: var(--zd_size10)
|
|
27
|
+
padding-block: var(--zd_size10) ;
|
|
28
|
+
padding-inline: 0 ;
|
|
10
29
|
}
|
|
11
|
-
|
|
12
|
-
|
|
30
|
+
|
|
31
|
+
.responsivemaxHgt {
|
|
32
|
+
padding-block: var(--zd_size10) 0 ;
|
|
33
|
+
padding-inline: 0 ;
|
|
13
34
|
}
|
|
35
|
+
|
|
14
36
|
.title {
|
|
15
|
-
padding-
|
|
37
|
+
padding-block-start: var(--zd_size6) ;
|
|
16
38
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
padding: 0
|
|
39
|
+
|
|
40
|
+
.default_arrow,
|
|
41
|
+
.overlay_arrow {
|
|
42
|
+
padding-inline: var(--zd_size5) 0 ;
|
|
43
|
+
padding-block: 0 ;
|
|
22
44
|
}
|
|
45
|
+
|
|
23
46
|
.overlay_arrow {
|
|
24
47
|
position: absolute;
|
|
25
48
|
top: 50% ;
|
|
26
49
|
transform: translateY(-50%) perspective(1px);
|
|
27
50
|
}
|
|
51
|
+
|
|
28
52
|
[dir=ltr] .overlay_arrow {
|
|
29
53
|
left: 100% ;
|
|
30
54
|
}
|
|
55
|
+
|
|
31
56
|
[dir=rtl] .overlay_arrow {
|
|
32
57
|
right: 100% ;
|
|
33
58
|
}
|
|
59
|
+
|
|
34
60
|
.hoverIcon .arrow {
|
|
35
61
|
opacity: 0;
|
|
36
62
|
visibility: hidden;
|
|
37
63
|
}
|
|
64
|
+
|
|
38
65
|
.hoverIcon:hover .arrow {
|
|
39
66
|
opacity: 1;
|
|
40
67
|
visibility: visible;
|
|
41
68
|
}
|
|
69
|
+
|
|
42
70
|
.value {
|
|
43
71
|
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
44
72
|
}
|
|
73
|
+
|
|
45
74
|
.search {
|
|
46
|
-
padding: var(--zd_size6)
|
|
75
|
+
padding-block: var(--zd_size6) 0 ;
|
|
76
|
+
padding-inline: var(--zd_size20) ;
|
|
47
77
|
}
|
|
78
|
+
|
|
48
79
|
.svgWrapper {
|
|
49
|
-
padding-
|
|
80
|
+
padding-block-end: var(--zd_size25) ;
|
|
50
81
|
}
|
|
82
|
+
|
|
51
83
|
.readOnly {
|
|
52
84
|
cursor: no-drop;
|
|
53
85
|
}
|
|
86
|
+
|
|
54
87
|
.cursorDefault {
|
|
55
88
|
cursor: default;
|
|
56
89
|
}
|
|
90
|
+
|
|
57
91
|
.cursor {
|
|
58
92
|
cursor: pointer;
|
|
59
93
|
}
|
|
94
|
+
|
|
60
95
|
[dir=ltr] .dropBoxContainer {
|
|
61
96
|
text-align: left;
|
|
62
97
|
}
|
|
98
|
+
|
|
63
99
|
[dir=rtl] .dropBoxContainer {
|
|
64
100
|
text-align: right;
|
|
65
101
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
[dir=rtl] .iconBox {
|
|
70
|
-
margin-left: var(--zd_size4) ;
|
|
102
|
+
|
|
103
|
+
.iconBox {
|
|
104
|
+
margin-inline-end: var(--zd_size4) ;
|
|
71
105
|
}
|
|
72
|
-
|
|
106
|
+
|
|
107
|
+
.iconBox>i {
|
|
73
108
|
display: block;
|
|
74
109
|
}
|
|
110
|
+
|
|
75
111
|
.loader {
|
|
76
112
|
width: var(--zd_size40) ;
|
|
77
113
|
margin: 0 auto ;
|
|
78
114
|
}
|
|
115
|
+
|
|
79
116
|
.seperatedLine {
|
|
80
117
|
height: var(--zd_size1) ;
|
|
118
|
+
margin-block: var(--zd_size9) var(--zd_size10) ;
|
|
119
|
+
margin-inline: 0 ;
|
|
81
120
|
border-bottom: 1px solid var(--zdt_statusdropdown_line_border);
|
|
82
|
-
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.suggestedStatusContainer {
|
|
124
|
+
margin-block-end: var(--zd_size6) ;
|
|
125
|
+
margin-inline: var(--zd_size1) ;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.dropBoxWithSuggestedStatus {
|
|
129
|
+
border-radius: 7px;
|
|
83
130
|
}
|
|
@@ -30,7 +30,7 @@ var propTypes = (_propTypes = {
|
|
|
30
30
|
idName: _propTypes2["default"].string,
|
|
31
31
|
isArrow: _propTypes2["default"].bool,
|
|
32
32
|
isDataLoaded: _propTypes2["default"].bool
|
|
33
|
-
}, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "renderTargetElement", _propTypes2["default"].func), _defineProperty(_propTypes, "renderFooterElement", _propTypes2["default"].node), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "customClass", _propTypes2["default"].shape({
|
|
33
|
+
}, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "renderTargetElement", _propTypes2["default"].func), _defineProperty(_propTypes, "renderFooterElement", _propTypes2["default"].node), _defineProperty(_propTypes, "renderSuggestedStatus", _propTypes2["default"].node), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "customClass", _propTypes2["default"].shape({
|
|
34
34
|
dropBoxClass: _propTypes2["default"].string
|
|
35
35
|
})), _propTypes);
|
|
36
36
|
exports.propTypes = propTypes;
|
|
@@ -19,24 +19,19 @@
|
|
|
19
19
|
[dir=rtl] .withBorder {
|
|
20
20
|
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
padding: var(--zd_size7)
|
|
24
|
-
|
|
25
|
-
[dir=rtl] .small {
|
|
26
|
-
padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3) ;
|
|
22
|
+
.small {
|
|
23
|
+
padding-block: var(--zd_size7) ;
|
|
24
|
+
padding-inline:var(--zd_size3) var(--zd_size5) ;
|
|
27
25
|
}
|
|
28
26
|
.medium {
|
|
29
|
-
padding: var(--zd_size7)
|
|
27
|
+
padding-block: var(--zd_size7) ;
|
|
28
|
+
padding-inline:var(--zd_size20) ;
|
|
30
29
|
}
|
|
31
30
|
.large {
|
|
31
|
+
padding-block: var(--zd_size10) ;
|
|
32
|
+
padding-inline:var(--zd_size25) var(--zd_size3) ;
|
|
32
33
|
--statuslistitem_min_height: var(--zd_size48);
|
|
33
34
|
}
|
|
34
|
-
[dir=ltr] .large {
|
|
35
|
-
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25) ;
|
|
36
|
-
}
|
|
37
|
-
[dir=rtl] .large {
|
|
38
|
-
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3) ;
|
|
39
|
-
}
|
|
40
35
|
.value,.multiLineValue {
|
|
41
36
|
line-height: 1.5385;
|
|
42
37
|
}
|
|
@@ -88,11 +83,8 @@
|
|
|
88
83
|
.tickIcon > i {
|
|
89
84
|
display: block;
|
|
90
85
|
}
|
|
91
|
-
|
|
92
|
-
padding-
|
|
93
|
-
}
|
|
94
|
-
[dir=rtl] .active.withTick {
|
|
95
|
-
padding-left: var(--zd_size39) ;
|
|
86
|
+
.active.withTick {
|
|
87
|
+
padding-inline-end: var(--zd_size39) ;
|
|
96
88
|
}
|
|
97
89
|
.contentWrapper {
|
|
98
90
|
composes: dflex flexrow alignVertical from '~@zohodesk/components/es/common/common.module.css';
|
|
@@ -129,4 +121,4 @@
|
|
|
129
121
|
}
|
|
130
122
|
.green.statusType::after {
|
|
131
123
|
background-color: var(--zdt_statuslistitem_green_bg);
|
|
132
|
-
}
|
|
124
|
+
}
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.image {
|
|
6
|
-
margin: var(--zd_size20)
|
|
6
|
+
margin-block: var(--zd_size20) ;
|
|
7
|
+
margin-inline:auto ;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
.contentDiv {
|
|
10
11
|
font-size: var(--zd_font_size20) ;
|
|
11
12
|
font-weight: var(--zd-fw-semibold);
|
|
12
13
|
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
13
|
-
margin-
|
|
14
|
-
}
|
|
14
|
+
margin-block-start: var(--zd_size15) ;
|
|
15
|
+
}
|