@zohodesk/dot 1.0.0-temp-167 → 1.0.0-temp-169
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/.cli/PropLessFiles.html +1 -1
- package/.cli/PropUnificationExcludeFilesArray.js +345 -0
- package/.cli/PropValidationExcludeFilesArray.js +8 -1
- package/.cli/propValidation_report.html +24 -2
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/es/ActionButton/ActionButton.js +10 -1
- package/es/ActionButton/props/propTypes.js +2 -1
- package/es/Attachment/Attachment.module.css +2 -2
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/Drawer/Drawer.js +2 -5
- package/es/ImportantNotes/ImportantNotes.module.css +2 -6
- package/es/Link/Link.js +1 -2
- package/es/ToastMessage/ToastMessage.module.css +2 -2
- package/es/Upload/Upload.module.css +1 -1
- package/es/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +2 -5
- package/es/errorstate/EmptyStates.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/es/form/fields/Fields.module.css +1 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +6 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +1 -1
- package/es/lookup/Lookup/Lookup.js +1 -1
- package/es/lookup/header/Close/LookupClose.module.css +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/v1/ActionButton/ActionButton.js +7 -2
- package/es/v1/Drawer/Drawer.js +2 -5
- package/es/v1/Link/Link.js +1 -2
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +0 -1
- package/es/v1/list/ListLayout/ListLayout.js +1 -1
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +6 -6
- package/es/v1/lookup/Lookup/Lookup.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +1 -1
- package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/lib/ActionButton/ActionButton.js +41 -32
- package/lib/ActionButton/props/propTypes.js +2 -1
- package/lib/Attachment/Attachment.module.css +2 -2
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/Drawer/Drawer.js +2 -5
- package/lib/ImportantNotes/ImportantNotes.module.css +2 -6
- package/lib/Link/Link.js +1 -2
- package/lib/ToastMessage/ToastMessage.module.css +2 -2
- package/lib/Upload/Upload.module.css +1 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +2 -5
- package/lib/errorstate/EmptyStates.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/lib/form/fields/Fields.module.css +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/lib/list/ListLayout/ListLayout.js +1 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -6
- package/lib/list/status/StatusListItem/StatusListItem.module.css +1 -1
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/header/Close/LookupClose.module.css +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/lib/v1/ActionButton/ActionButton.js +7 -2
- package/lib/v1/Drawer/Drawer.js +2 -5
- package/lib/v1/Link/Link.js +1 -2
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +0 -1
- package/lib/v1/list/ListLayout/ListLayout.js +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +6 -6
- package/lib/v1/lookup/Lookup/Lookup.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +1 -1
- package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/package.json +8 -8
- package/propValidationArg.json +8 -0
- package/result.json +1 -1
package/lib/Drawer/Drawer.js
CHANGED
|
@@ -130,10 +130,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
|
130
130
|
shrink: true
|
|
131
131
|
}, /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
|
|
132
132
|
title: title,
|
|
133
|
-
className: _DrawerModule["default"].title
|
|
134
|
-
a11y: {
|
|
135
|
-
tabindex: '0'
|
|
136
|
-
}
|
|
133
|
+
className: _DrawerModule["default"].title
|
|
137
134
|
})) : null, getTitleChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getTitleChildren()) : null)) : null, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, children) : null)), onClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
|
|
138
135
|
onClick: onClose,
|
|
139
136
|
dataId: "closeButton",
|
|
@@ -268,7 +265,7 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
|
|
|
268
265
|
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
269
266
|
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
270
267
|
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
271
|
-
needEnterAction = _focusScopeProps$need5 === void 0 ?
|
|
268
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
|
|
272
269
|
|
|
273
270
|
var childrenWithProps = _react["default"].Children.map(children, function (child) {
|
|
274
271
|
if (child.type === Header || child.type === Footer || child.type === Content) {
|
|
@@ -2,23 +2,19 @@
|
|
|
2
2
|
background: var(--zdt_importantnotes_bg);
|
|
3
3
|
padding: var(--zd_size5) var(--zd_size10) ;
|
|
4
4
|
}
|
|
5
|
-
|
|
6
5
|
.title {
|
|
7
6
|
font-size: var(--zd_font_size13) ;
|
|
8
|
-
line-height:
|
|
7
|
+
line-height: var(--zd_font_size18);
|
|
9
8
|
color: var(--zdt_importantnotes_title_text);
|
|
10
9
|
}
|
|
11
|
-
|
|
12
10
|
.icon {
|
|
13
11
|
color: var(--zdt_importantnotes_icon);
|
|
14
12
|
font-size: 0 ;
|
|
15
13
|
margin-top: var(--zd_size1) ;
|
|
16
14
|
}
|
|
17
|
-
|
|
18
15
|
[dir=ltr] .icon {
|
|
19
16
|
margin-right: var(--zd_size5) ;
|
|
20
17
|
}
|
|
21
|
-
|
|
22
18
|
[dir=rtl] .icon {
|
|
23
19
|
margin-left: var(--zd_size5) ;
|
|
24
|
-
}
|
|
20
|
+
}
|
package/lib/Link/Link.js
CHANGED
|
@@ -141,8 +141,7 @@ var Link = /*#__PURE__*/function (_React$Component) {
|
|
|
141
141
|
}, others, {
|
|
142
142
|
onClick: this.onCallBack.bind(this, urlOutput, href)
|
|
143
143
|
}, customProps, {
|
|
144
|
-
"aria-label": ariaLabel
|
|
145
|
-
tabIndex: "0"
|
|
144
|
+
"aria-label": ariaLabel
|
|
146
145
|
}), children);
|
|
147
146
|
}
|
|
148
147
|
}]);
|
|
@@ -177,14 +177,14 @@
|
|
|
177
177
|
.alertMessage {
|
|
178
178
|
font-size: var(--zd_font_size12) ;
|
|
179
179
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
180
|
-
line-height:
|
|
180
|
+
line-height: var(--zd_size16);
|
|
181
181
|
color: var(--zdt_toastmessage_alert_text);
|
|
182
182
|
margin-top: var(--zd_size5) ;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.buttonText {
|
|
186
186
|
font-size: inherit ;
|
|
187
|
-
line-height:
|
|
187
|
+
line-height: var(--zd_size14);
|
|
188
188
|
text-align: center;
|
|
189
189
|
padding: 0 var(--zd_size7) ;
|
|
190
190
|
cursor: pointer;
|
|
@@ -82,7 +82,6 @@ var AvatarStatus = /*#__PURE__*/function (_React$Component) {
|
|
|
82
82
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
83
83
|
className: "".concat(_AvatarStatusModule["default"].container, " ").concat(className, " ")
|
|
84
84
|
}, AvatarStatusProps, {
|
|
85
|
-
tabIndex: "0",
|
|
86
85
|
"aria-label": "".concat(title, ", ").concat(name, ", ").concat(statusTitle),
|
|
87
86
|
"data-selector-id": dataSelectorId
|
|
88
87
|
}), /*#__PURE__*/_react["default"].createElement(_Avatar["default"], _extends({
|
|
@@ -58,11 +58,8 @@
|
|
|
58
58
|
[dir=rtl] .linkDesc, [dir=rtl] .desc {
|
|
59
59
|
margin-left: var(--zd_size4) ;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
62
|
-
line-height:
|
|
63
|
-
}
|
|
64
|
-
.medium .desc {
|
|
65
|
-
line-height: 1.358;
|
|
61
|
+
.desc {
|
|
62
|
+
line-height: var(--zd_size19);
|
|
66
63
|
}
|
|
67
64
|
.link {
|
|
68
65
|
/* css:theme-validation:ignore */
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
}
|
|
34
34
|
.title {
|
|
35
35
|
font-size: var(--zd_font_size50) ;
|
|
36
|
-
line-height:
|
|
36
|
+
line-height: var(--zd_size70);
|
|
37
37
|
}
|
|
38
38
|
.tabletTitle {
|
|
39
39
|
font-size: var(--zd_font_size24) ;
|
|
40
|
-
line-height:
|
|
40
|
+
line-height: var(--zd_size50);
|
|
41
41
|
}
|
|
42
42
|
.mobileTitle {
|
|
43
43
|
font-size: var(--zd_font_size22) ;
|
|
44
|
-
line-height:
|
|
44
|
+
line-height: var(--zd_size30);
|
|
45
45
|
}
|
|
46
46
|
.subtitle {
|
|
47
47
|
font-size: var(--zd_font_size30) ;
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
color: var(--zdt_fields_phitag_text);
|
|
170
170
|
font-size: var(--zd_font_size12) ;
|
|
171
171
|
height: var(--zd_size18) ;
|
|
172
|
-
line-height:
|
|
172
|
+
line-height: var(--zd_size18);
|
|
173
173
|
background-color: var(--zdt_fields_phitag_bg);
|
|
174
174
|
border: 1px solid var(--zdt_fields_phitag_border);
|
|
175
175
|
padding: 0 var(--zd_size5) ;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
font-size: var(--zd_font_size12) ;
|
|
13
13
|
display: inline-block;
|
|
14
14
|
color: var(--zdt_setupdetail_backicon);
|
|
15
|
-
line-height:
|
|
15
|
+
line-height: var(--zd_size30);
|
|
16
16
|
text-align: center;
|
|
17
17
|
border-radius: 50%;
|
|
18
18
|
cursor: pointer;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
.title {
|
|
31
31
|
font-size: var(--zd_font_size16) ;
|
|
32
|
-
line-height:
|
|
32
|
+
line-height: var(--zd_size16);
|
|
33
33
|
font-family: var(--zd_semibold);
|
|
34
34
|
color: var(--zdt_setupdetail_backicon);
|
|
35
35
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
padding: var(--zd_size12) 0 0 var(--zd_size15) ;
|
|
58
58
|
}
|
|
59
59
|
.helpInfo {
|
|
60
|
-
line-height:
|
|
60
|
+
line-height: var(--zd_size26);
|
|
61
61
|
height: var(--zd_size28) ;
|
|
62
62
|
width: var(--zd_size28) ;
|
|
63
63
|
color: var(--zdt_setupdetail_helpinfo_text);
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
height: var(--zd_size26) ;
|
|
121
121
|
width: var(--zd_size26) ;
|
|
122
122
|
font-size: var(--zd_font_size12) ;
|
|
123
|
-
line-height:
|
|
123
|
+
line-height: var(--zd_size24);
|
|
124
124
|
text-align: center;
|
|
125
125
|
border: 1px solid var(--zdt_setupdetail_infoicon_border);
|
|
126
126
|
border-radius: 2px;
|
|
@@ -89,7 +89,7 @@ var ListLayout = /*#__PURE__*/function (_Component) {
|
|
|
89
89
|
"data-id": dataId,
|
|
90
90
|
"data-test-id": dataId,
|
|
91
91
|
"data-title": dataTitle,
|
|
92
|
-
tabIndex:
|
|
92
|
+
tabIndex: onClick ? '0' : null,
|
|
93
93
|
role: role,
|
|
94
94
|
"data-a11y-inset-focus": true,
|
|
95
95
|
"aria-label": ariaLabel,
|
|
@@ -404,8 +404,8 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
404
404
|
dataId: dataId,
|
|
405
405
|
onClick: removeClose,
|
|
406
406
|
disabled: isDisabled || isReadOnly ? true : false,
|
|
407
|
-
"aria-haspopup":
|
|
408
|
-
"aria-expanded":
|
|
407
|
+
"aria-haspopup": isSearch ? 'listbox' : 'menu',
|
|
408
|
+
"aria-expanded": isPopupReady && isEditable ? true : false,
|
|
409
409
|
tabIndex: tabIndex,
|
|
410
410
|
"aria-labelledby": ariaLabelledby,
|
|
411
411
|
"aria-label": ariaLabel,
|
|
@@ -462,10 +462,10 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
462
462
|
inputRef: _this3.searchInputRef,
|
|
463
463
|
onKeyDown: _this3.handleKeyDown,
|
|
464
464
|
a11y: {
|
|
465
|
-
ariaHaspopup:
|
|
466
|
-
ariaExpanded:
|
|
465
|
+
ariaHaspopup: isSearch ? 'listbox' : 'menu',
|
|
466
|
+
ariaExpanded: isPopupReady,
|
|
467
467
|
role: 'combobox',
|
|
468
|
-
ariaActivedescendant: value,
|
|
468
|
+
ariaActivedescendant: isPopupReady ? value : '',
|
|
469
469
|
ariaOwns: ariaTitleId
|
|
470
470
|
}
|
|
471
471
|
})) : null, title && options.length != 0 && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
@@ -487,7 +487,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
|
|
|
487
487
|
onScroll: _this3.handleScroll,
|
|
488
488
|
role: isSearch ? 'listbox' : 'menu',
|
|
489
489
|
"aria-labelledby": ariaTitleId,
|
|
490
|
-
tabindex: "
|
|
490
|
+
tabindex: "-1"
|
|
491
491
|
}, options.length != 0 && isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, options.map(function (item, i) {
|
|
492
492
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
|
|
493
493
|
key: i
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3) ;
|
|
32
32
|
}
|
|
33
33
|
.value,.multiLineValue {
|
|
34
|
-
line-height:
|
|
34
|
+
line-height: var(--zd_size20);
|
|
35
35
|
}
|
|
36
36
|
.value {
|
|
37
37
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
@@ -119,7 +119,7 @@ var Lookup = /*#__PURE__*/function (_Component) {
|
|
|
119
119
|
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
120
120
|
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
121
121
|
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
122
|
-
needEnterAction = _focusScopeProps$need5 === void 0 ?
|
|
122
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
|
|
123
123
|
|
|
124
124
|
var content = /*#__PURE__*/_react["default"].createElement("div", {
|
|
125
125
|
ref: this.createRef,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.container {
|
|
2
2
|
width: var(--zd_size25) ;
|
|
3
3
|
height: var(--zd_size25) ;
|
|
4
|
-
line-height:
|
|
4
|
+
line-height: var(--zd_size25);
|
|
5
5
|
color: var(--zdt_lookupclose_default_text);
|
|
6
6
|
transition: var(--zd_transition2) cubic-bezier(0.4, 1, 0.65, 1);
|
|
7
7
|
font-size: var(--zd_font_size9) ;
|
|
@@ -58,12 +58,17 @@ function ActionButton(props) {
|
|
|
58
58
|
innerClassName = props.innerClassName,
|
|
59
59
|
popupGroup = props.popupGroup,
|
|
60
60
|
togglePopup = props.togglePopup,
|
|
61
|
-
defaultPosition = props.defaultPosition
|
|
61
|
+
defaultPosition = props.defaultPosition,
|
|
62
|
+
openPopupOnly = props.openPopupOnly;
|
|
62
63
|
|
|
63
64
|
var handleTogglePopup = function handleTogglePopup(e) {
|
|
64
65
|
togglePopup(e, defaultPosition);
|
|
65
66
|
};
|
|
66
67
|
|
|
68
|
+
var handlePopupOpen = function handlePopupOpen(e) {
|
|
69
|
+
openPopupOnly(e, defaultPosition);
|
|
70
|
+
};
|
|
71
|
+
|
|
67
72
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
68
73
|
alignBox: "row",
|
|
69
74
|
isCover: false,
|
|
@@ -111,7 +116,7 @@ function ActionButton(props) {
|
|
|
111
116
|
"data-title": removeChildrenTooltip ? null : subText,
|
|
112
117
|
className: _ActionButtonModule["default"].subTxt
|
|
113
118
|
}, subText) : null)), children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
114
|
-
onClick: onClick
|
|
119
|
+
onClick: onClick && !onHover ? handleTogglePopup : handlePopupOpen,
|
|
115
120
|
onMouseEnter: onClick ? onHover && handleTogglePopup : undefined,
|
|
116
121
|
onMouseLeave: onClick ? onHover && handleTogglePopup : undefined,
|
|
117
122
|
className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ActionButtonModule["default"][arrowBoxSize + '_arrowBox'], " ").concat(_ActionButtonModule["default"][palette + 'Arw'], " ").concat(_ActionButtonModule["default"].arrowWrapper, " ").concat(isPopupOpen ? _ActionButtonModule["default"].arrowActive : ''),
|
package/lib/v1/Drawer/Drawer.js
CHANGED
|
@@ -103,10 +103,7 @@ function Header(props) {
|
|
|
103
103
|
shrink: true
|
|
104
104
|
}, /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
|
|
105
105
|
title: title,
|
|
106
|
-
className: _DrawerModule["default"].title
|
|
107
|
-
a11y: {
|
|
108
|
-
tabindex: '0'
|
|
109
|
-
}
|
|
106
|
+
className: _DrawerModule["default"].title
|
|
110
107
|
})) : null, getTitleChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getTitleChildren()) : null)) : null, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, children) : null)), onClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
|
|
111
108
|
onClick: onClose,
|
|
112
109
|
dataId: "closeButton",
|
|
@@ -181,7 +178,7 @@ function Drawer(props) {
|
|
|
181
178
|
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
182
179
|
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
183
180
|
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
184
|
-
needEnterAction = _focusScopeProps$need5 === void 0 ?
|
|
181
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
|
|
185
182
|
|
|
186
183
|
var childrenWithProps = _react["default"].Children.map(children, function (child) {
|
|
187
184
|
if (child.type === Header || child.type === Footer || child.type === Content) {
|
package/lib/v1/Link/Link.js
CHANGED
|
@@ -46,7 +46,6 @@ function AvatarStatus(props) {
|
|
|
46
46
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
47
47
|
className: "".concat(_AvatarStatusModule["default"].container, " ").concat(className, " ")
|
|
48
48
|
}, AvatarStatusProps, {
|
|
49
|
-
tabIndex: "0",
|
|
50
49
|
"aria-label": "".concat(title, ", ").concat(name, ", ").concat(statusTitle),
|
|
51
50
|
"data-selector-id": dataSelectorId
|
|
52
51
|
}), /*#__PURE__*/_react["default"].createElement(_Avatar["default"], _extends({
|
|
@@ -306,8 +306,8 @@ function StatusDropdown(props) {
|
|
|
306
306
|
dataId: dataId,
|
|
307
307
|
onClick: removeClose,
|
|
308
308
|
disabled: isDisabled || isReadOnly ? true : false,
|
|
309
|
-
"aria-haspopup":
|
|
310
|
-
"aria-expanded":
|
|
309
|
+
"aria-haspopup": isSearch ? 'listbox' : 'menu',
|
|
310
|
+
"aria-expanded": isPopupReady && isEditable ? true : false,
|
|
311
311
|
tabIndex: tabIndex,
|
|
312
312
|
"aria-labelledby": ariaLabelledby,
|
|
313
313
|
"aria-label": ariaLabel,
|
|
@@ -364,10 +364,10 @@ function StatusDropdown(props) {
|
|
|
364
364
|
inputRef: searchInputRef,
|
|
365
365
|
onKeyDown: handleKeyDown,
|
|
366
366
|
a11y: {
|
|
367
|
-
ariaHaspopup:
|
|
368
|
-
ariaExpanded:
|
|
367
|
+
ariaHaspopup: isSearch ? 'listbox' : 'menu',
|
|
368
|
+
ariaExpanded: isPopupReady,
|
|
369
369
|
role: 'combobox',
|
|
370
|
-
ariaActivedescendant: value,
|
|
370
|
+
ariaActivedescendant: isPopupReady ? value : '',
|
|
371
371
|
ariaOwns: ariaTitleId
|
|
372
372
|
}
|
|
373
373
|
})) : null, title && optionsList.length != 0 && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
@@ -389,7 +389,7 @@ function StatusDropdown(props) {
|
|
|
389
389
|
onScroll: handleScroll,
|
|
390
390
|
role: isSearch ? 'listbox' : 'menu',
|
|
391
391
|
"aria-labelledby": ariaTitleId,
|
|
392
|
-
tabindex: "
|
|
392
|
+
tabindex: "-1"
|
|
393
393
|
}, optionsList.length != 0 && isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, optionsList.map(function (item, i) {
|
|
394
394
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
|
|
395
395
|
key: i
|
|
@@ -69,7 +69,7 @@ function Lookup(props) {
|
|
|
69
69
|
_focusScopeProps$need4 = focusScopeProps.needFocusLoop,
|
|
70
70
|
needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
|
|
71
71
|
_focusScopeProps$need5 = focusScopeProps.needEnterAction,
|
|
72
|
-
needEnterAction = _focusScopeProps$need5 === void 0 ?
|
|
72
|
+
needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
|
|
73
73
|
var createRef = (0, _react.useRef)(null);
|
|
74
74
|
var handleKeyDown = (0, _react.useCallback)(function (e) {
|
|
75
75
|
onKeyDown && onKeyDown(e);
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
.title {
|
|
57
57
|
color: var(--zdt_alertlookupnew_text);
|
|
58
58
|
font-size: var(--zd_font_size18) ;
|
|
59
|
-
line-height:
|
|
59
|
+
line-height: var(--zd_size22);
|
|
60
60
|
font-family: var(--zd_bold);
|
|
61
61
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
62
62
|
vertical-align: middle;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.innerSection {
|
|
6
6
|
color: var(--zdt_alertlookupnew_text);
|
|
7
7
|
font-size: var(--zd_font_size14) ;
|
|
8
|
-
line-height:
|
|
8
|
+
line-height: var(--zd_size20);
|
|
9
9
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
10
10
|
padding: var(--zd_size17) var(--zd_size30) var(--zd_size30) ;
|
|
11
11
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
.subTitle {
|
|
110
110
|
font-size: var(--zd_font_size15) ;
|
|
111
|
-
line-height:
|
|
111
|
+
line-height: var(--zd_size20);
|
|
112
112
|
font-family: var(--zd_semibold);
|
|
113
113
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
114
114
|
}
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
.infoText {
|
|
121
121
|
font-size: var(--zd_font_size14) ;
|
|
122
|
-
line-height:
|
|
122
|
+
line-height: var(--zd_size18);
|
|
123
123
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -113,7 +113,7 @@ var DesktopNotificationHeader = /*#__PURE__*/function (_Component) {
|
|
|
113
113
|
$ui_className: _DesktopNotificationHeaderModule["default"].title,
|
|
114
114
|
$ui_tagName: "h1",
|
|
115
115
|
$ui_size: uptoTablet ? '16' : '18',
|
|
116
|
-
$ui_lineHeight: "
|
|
116
|
+
$ui_lineHeight: "20",
|
|
117
117
|
$ui_weight: "bold",
|
|
118
118
|
$flag_reset: true,
|
|
119
119
|
$ui_wordBreak: "breakWord"
|
package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.primary .infoText {
|
|
70
|
-
line-height:
|
|
70
|
+
line-height: var(--zd_size18);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.primary .close {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.secondary .infoText {
|
|
99
|
-
line-height:
|
|
99
|
+
line-height: var(--zd_size20);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.secondary .iconContainer {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-169",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
|
|
47
47
|
"theme:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation validate ./src ./.cli",
|
|
48
48
|
"theme:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation addignore ./src ./.cli",
|
|
49
|
-
"review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js
|
|
49
|
+
"review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js propValidationArg.json"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@zohodesk-private/css-variable-migrator": "^1.0.7",
|
|
53
53
|
"@zohodesk-private/node-plugins": "1.1.1",
|
|
54
54
|
"@zohodesk-private/color-variable-preprocessor": "1.1.0",
|
|
55
|
-
"@zohodesk-private/react-prop-validator": "1.
|
|
56
|
-
"@zohodesk/components": "1.0.0-temp-
|
|
57
|
-
"@zohodesk/a11y": "
|
|
55
|
+
"@zohodesk-private/react-prop-validator": "1.2.0",
|
|
56
|
+
"@zohodesk/components": "1.0.0-temp-180",
|
|
57
|
+
"@zohodesk/a11y": "1.0.0-temp-3",
|
|
58
58
|
"@zohodesk/icons": "1.0.19",
|
|
59
|
-
"@zohodesk/svg": "1.1.
|
|
59
|
+
"@zohodesk/svg": "1.1.8",
|
|
60
60
|
"@zohodesk/variables": "1.0.0",
|
|
61
61
|
"@zohodesk/virtualizer": "1.0.3",
|
|
62
62
|
"react-sortable-hoc": "^0.8.3",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"velocity-react": "1.4.3",
|
|
73
73
|
"@zohodesk/variables": "1.0.0",
|
|
74
|
-
"@zohodesk/components": "1.2.
|
|
74
|
+
"@zohodesk/components": "1.2.19",
|
|
75
75
|
"@zohodesk/icons": "1.0.19",
|
|
76
|
-
"@zohodesk/svg": "1.1.
|
|
76
|
+
"@zohodesk/svg": "1.1.8",
|
|
77
77
|
"@zohodesk/virtualizer": "1.0.3",
|
|
78
78
|
"react-sortable-hoc": "^0.8.3",
|
|
79
79
|
"@zohodesk/hooks": "2.0.2",
|
package/result.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"jobDetails":{"isRunByLocal":true,"hostName":"
|
|
1
|
+
{"jobDetails":{"isRunByLocal":true,"hostName":"lakshmi-zt257","platForm":"Darwin","branchName":"LibraryNavigation"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1702305064560,"startTime":1702305059102,"coverageDetail":{"codeCoveragePercentage":84.23,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}}]}}}
|