@zohodesk/dot 1.3.3 → 1.4.1
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/AppearanceThemeValidationExcludeFiles.js +1 -0
- package/.cli/propValidation_report.html +1 -1
- package/README.md +14 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +3 -7
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +3 -7
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +3 -7
- 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 +5 -2
- 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/index.html +1 -1
- package/es/ActionButton/ActionButton.module.css +7 -0
- package/es/AlphabeticList/AlphabeticList.module.css +2 -0
- package/es/AttachmentViewer/AttachmentViewer.module.css +2 -0
- package/es/ChannelIcon/ChannelIcon.module.css +4 -0
- package/es/FormAction/FormAction.module.css +2 -0
- package/es/IconButton/IconButton.module.css +1 -0
- package/es/Provider/Config.js +2 -1
- package/es/TagWithIcon/TagWithIcon.module.css +19 -5
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +6 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/es/layout/SubtabLayout/SubtabLayout.module.css +2 -0
- package/es/list/Comment/Comment.js +4 -7
- package/es/list/Comment/Comment.module.css +1 -0
- package/es/list/Comment/props/defaultProps.js +2 -1
- package/es/list/Comment/props/propTypes.js +1 -0
- package/es/list/Dot/Dot.module.css +1 -0
- package/es/list/ListLayout/ListLayout.module.css +12 -0
- package/es/list/Subject/Subject.module.css +1 -0
- package/es/list/Thread/Thread.module.css +1 -0
- package/es/list/index.js +1 -2
- package/es/setup/header/Search/Search.module.css +1 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +3 -2
- package/es/v1/alert/AlertHeader/AlertHeader.js +2 -1
- package/es/v1/list/Comment/Comment.js +4 -7
- package/es/v1/list/index.js +1 -2
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +84 -57
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +17 -0
- package/es/v1/notification/DesktopNotification/props/propTypes.js +43 -0
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +63 -26
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +7 -0
- package/es/v1/notification/DesktopNotificationHeader/props/propTypes.js +13 -0
- package/es/v1/setup/header/Button/Button.js +17 -29
- package/es/v1/setup/header/Link/Link.js +23 -35
- package/es/v1/setup/header/Search/Search.js +43 -69
- package/es/v1/setup/header/Views/Views.js +27 -39
- package/es/v1/setup/helptips/Description/Description.js +8 -20
- package/es/v1/setup/helptips/Link/Link.js +20 -32
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +18 -30
- package/es/v1/setup/helptips/Title/Title.js +8 -20
- package/es/version2/GlobalNotification/GlobalNotification.module.css +3 -0
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -0
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +78 -55
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -4
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +3 -1
- package/es/version2/notification/DesktopNotification/props/propTypes.js +2 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +59 -23
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +14 -17
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +3 -1
- package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +2 -1
- package/lib/ActionButton/ActionButton.module.css +7 -0
- package/lib/AlphabeticList/AlphabeticList.module.css +2 -0
- package/lib/AttachmentViewer/AttachmentViewer.module.css +2 -0
- package/lib/ChannelIcon/ChannelIcon.module.css +4 -0
- package/lib/FormAction/FormAction.module.css +2 -0
- package/lib/IconButton/IconButton.module.css +1 -0
- package/lib/Provider/Config.js +2 -1
- package/lib/TagWithIcon/TagWithIcon.module.css +19 -5
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +6 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +2 -0
- package/lib/list/Comment/Comment.js +4 -8
- package/lib/list/Comment/Comment.module.css +1 -0
- package/lib/list/Comment/props/defaultProps.js +2 -1
- package/lib/list/Comment/props/propTypes.js +1 -0
- package/lib/list/Dot/Dot.module.css +1 -0
- package/lib/list/ListLayout/ListLayout.module.css +12 -0
- package/lib/list/Subject/Subject.module.css +1 -0
- package/lib/list/Thread/Thread.module.css +1 -0
- package/lib/list/index.js +0 -8
- package/lib/setup/header/Search/Search.module.css +1 -0
- package/lib/setup/table/TableRow/SetupTableRow.module.css +3 -2
- package/lib/v1/alert/AlertHeader/AlertHeader.js +2 -1
- package/lib/v1/list/Comment/Comment.js +4 -8
- package/lib/v1/list/index.js +0 -8
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +80 -64
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +26 -0
- package/lib/v1/notification/DesktopNotification/props/propTypes.js +55 -0
- package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +63 -34
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +16 -0
- package/lib/v1/notification/DesktopNotificationHeader/props/propTypes.js +24 -0
- package/lib/v1/setup/header/Button/Button.js +17 -63
- package/lib/v1/setup/header/Link/Link.js +23 -69
- package/lib/v1/setup/header/Search/Search.js +57 -89
- package/lib/v1/setup/header/Views/Views.js +27 -73
- package/lib/v1/setup/helptips/Description/Description.js +8 -53
- package/lib/v1/setup/helptips/Link/Link.js +23 -69
- package/lib/v1/setup/helptips/ListGroup/ListGroup.js +26 -72
- package/lib/v1/setup/helptips/Title/Title.js +8 -53
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +3 -0
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -0
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +74 -55
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -4
- package/lib/version2/notification/DesktopNotification/props/defaultProps.js +5 -1
- package/lib/version2/notification/DesktopNotification/props/propTypes.js +2 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +57 -23
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +14 -17
- package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -1
- package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +2 -1
- package/package.json +11 -11
- package/result.json +1 -1
- package/es/list/UserTime/UserTime.js +0 -83
- package/es/list/UserTime/UserTime.module.css +0 -58
- package/es/list/UserTime/props/defaultProps.js +0 -3
- package/es/list/UserTime/props/propTypes.js +0 -18
- package/es/v1/list/UserTime/UserTime.js +0 -83
- package/lib/list/UserTime/UserTime.js +0 -136
- package/lib/list/UserTime/UserTime.module.css +0 -58
- package/lib/list/UserTime/props/defaultProps.js +0 -10
- package/lib/list/UserTime/props/propTypes.js +0 -29
- package/lib/v1/list/UserTime/UserTime.js +0 -136
|
@@ -19,6 +19,10 @@ var _AlertClose = _interopRequireDefault(require("../../AlertClose/AlertClose"))
|
|
|
19
19
|
|
|
20
20
|
var _AlertIcons = _interopRequireDefault(require("../../alertIcons/AlertIcons"));
|
|
21
21
|
|
|
22
|
+
var _CustomResponsive = require("@zohodesk/components/lib/Responsive/CustomResponsive");
|
|
23
|
+
|
|
24
|
+
var _Typography = _interopRequireDefault(require("@zohodesk/components/es/v1/Typography/Typography"));
|
|
25
|
+
|
|
22
26
|
var _DesktopNotificationHeaderModule = _interopRequireDefault(require("./DesktopNotificationHeader.module.css"));
|
|
23
27
|
|
|
24
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -70,35 +74,65 @@ var DesktopNotificationHeader = /*#__PURE__*/function (_Component) {
|
|
|
70
74
|
type = _this$props$type === void 0 ? '' : _this$props$type,
|
|
71
75
|
needIcon = _this$props.needIcon,
|
|
72
76
|
title = _this$props.title,
|
|
73
|
-
needClose = _this$props.needClose
|
|
77
|
+
needClose = _this$props.needClose,
|
|
78
|
+
responsiveId = _this$props.responsiveId;
|
|
79
|
+
|
|
80
|
+
function responsiveFunc(_ref) {
|
|
81
|
+
var mediaQueryOR = _ref.mediaQueryOR;
|
|
82
|
+
return {
|
|
83
|
+
uptoTablet: mediaQueryOR([{
|
|
84
|
+
maxWidth: 760
|
|
85
|
+
}])
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
74
89
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
75
90
|
align: "vertical",
|
|
76
91
|
alignBox: "row",
|
|
77
92
|
className: "".concat(_DesktopNotificationHeaderModule["default"].container, " ").concat(_DesktopNotificationHeaderModule["default"][variant], " ").concat(_DesktopNotificationHeaderModule["default"][type]),
|
|
78
93
|
isCover: false,
|
|
79
94
|
wrap: "wrap"
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
}, /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
96
|
+
query: responsiveFunc,
|
|
97
|
+
responsiveId: responsiveId
|
|
98
|
+
}, function (_ref2) {
|
|
99
|
+
var uptoTablet = _ref2.uptoTablet;
|
|
100
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, needIcon ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
101
|
+
className: _DesktopNotificationHeaderModule["default"].iconContainer
|
|
102
|
+
}, /*#__PURE__*/_react["default"].createElement(_AlertIcons["default"], {
|
|
103
|
+
type: type
|
|
104
|
+
})) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
105
|
+
flexible: true
|
|
106
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
107
|
+
alignBox: "row",
|
|
108
|
+
align: "center"
|
|
109
|
+
}, variant === 'primary' ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
110
|
+
shrink: true
|
|
111
|
+
}, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
112
|
+
$i18n_dataTitle: title,
|
|
113
|
+
$ui_className: _DesktopNotificationHeaderModule["default"].title,
|
|
114
|
+
$ui_tagName: "h1",
|
|
115
|
+
$ui_size: uptoTablet ? '16' : '18',
|
|
116
|
+
$ui_lineHeight: "20",
|
|
117
|
+
$ui_weight: "bold",
|
|
118
|
+
$flag_reset: true,
|
|
119
|
+
$ui_wordBreak: "breakWord"
|
|
120
|
+
}, title)) : /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
121
|
+
className: "".concat(_DesktopNotificationHeaderModule["default"].infoText)
|
|
122
|
+
}, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
123
|
+
$i18n_dataTitle: title,
|
|
124
|
+
$ui_className: _DesktopNotificationHeaderModule["default"].title,
|
|
125
|
+
$ui_size: "14",
|
|
126
|
+
$ui_wordBreak: "breakWord"
|
|
127
|
+
}, title)))), needClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
128
|
+
className: _DesktopNotificationHeaderModule["default"].close
|
|
129
|
+
}, /*#__PURE__*/_react["default"].createElement(_AlertClose["default"], {
|
|
130
|
+
onClose: onClose,
|
|
131
|
+
dataTitle: closeTitle,
|
|
132
|
+
dataId: dataId,
|
|
133
|
+
type: "light"
|
|
134
|
+
})) : null);
|
|
135
|
+
}));
|
|
102
136
|
}
|
|
103
137
|
}]);
|
|
104
138
|
|
package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css
CHANGED
|
@@ -5,32 +5,29 @@
|
|
|
5
5
|
composes: varClass;
|
|
6
6
|
min-height: var(--zd_size54) ;
|
|
7
7
|
position: relative;
|
|
8
|
+
/* css:theme-validation:ignore */
|
|
9
|
+
/* css:theme-validation:ignore */
|
|
8
10
|
color: var(--zdt_desktopnotification_text);
|
|
9
11
|
background-color: var(--alert_lookup_bg_color);
|
|
10
12
|
border-style: solid;
|
|
11
13
|
border-color: var(--commonalert_border_color);
|
|
12
14
|
border-width: 2px 0 0 0;
|
|
13
15
|
}
|
|
14
|
-
|
|
16
|
+
|
|
15
17
|
.title {
|
|
16
|
-
|
|
17
|
-
line-height: var(--zd_size22);
|
|
18
|
-
font-family: var(--zd_bold);
|
|
19
|
-
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
18
|
+
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
|
|
22
21
|
[dir=ltr] .title {
|
|
23
22
|
margin: 0 var(--zd_size5) 0 var(--zd_size10) ;
|
|
24
23
|
}
|
|
25
|
-
|
|
24
|
+
|
|
26
25
|
[dir=rtl] .title {
|
|
27
26
|
margin: 0 var(--zd_size10) 0 var(--zd_size5) ;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
.infoText {
|
|
31
|
-
font-size: var(--zd_font_size14) ;
|
|
32
30
|
max-width: 100% ;
|
|
33
|
-
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
/* Palette */
|
|
@@ -38,19 +35,19 @@
|
|
|
38
35
|
.success {
|
|
39
36
|
--commonalert_border_color: var(--zdt_commonalert_success_border);
|
|
40
37
|
}
|
|
41
|
-
|
|
38
|
+
|
|
42
39
|
.info,.notification,.alarm {
|
|
43
40
|
--commonalert_border_color: var(--zdt_commonalert_info_border);
|
|
44
41
|
}
|
|
45
|
-
|
|
42
|
+
|
|
46
43
|
.danger {
|
|
47
44
|
--commonalert_border_color: var(--zdt_commonalert_danger_border);
|
|
48
45
|
}
|
|
49
|
-
|
|
46
|
+
|
|
50
47
|
.error {
|
|
51
48
|
--commonalert_border_color: var(--zdt_commonalert_error_border);
|
|
52
49
|
}
|
|
53
|
-
|
|
50
|
+
|
|
54
51
|
.warning {
|
|
55
52
|
--commonalert_border_color: var(--zdt_commonalert_warning_border);
|
|
56
53
|
}
|
|
@@ -72,16 +69,16 @@
|
|
|
72
69
|
.primary .infoText {
|
|
73
70
|
line-height: var(--zd_size18);
|
|
74
71
|
}
|
|
75
|
-
|
|
72
|
+
|
|
76
73
|
.primary .close {
|
|
77
74
|
position: absolute;
|
|
78
75
|
top: var(--zd_size12) ;
|
|
79
76
|
}
|
|
80
|
-
|
|
77
|
+
|
|
81
78
|
[dir=ltr] .primary .close {
|
|
82
79
|
right: var(--zd_size12) ;
|
|
83
80
|
}
|
|
84
|
-
|
|
81
|
+
|
|
85
82
|
[dir=rtl] .primary .close {
|
|
86
83
|
left: var(--zd_size12) ;
|
|
87
84
|
}
|
|
@@ -134,4 +131,4 @@
|
|
|
134
131
|
[dir=rtl] .secondary .close {
|
|
135
132
|
left: var(--zd_size12) ;
|
|
136
133
|
margin: auto var(--zd_size25) auto 0 ;
|
|
137
|
-
}
|
|
134
|
+
}
|
|
@@ -4,9 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultProps = void 0;
|
|
7
|
+
|
|
8
|
+
var _Config = require("../../../../Provider/Config");
|
|
9
|
+
|
|
7
10
|
var defaultProps = {
|
|
8
11
|
needIcon: true,
|
|
9
12
|
variant: 'primary',
|
|
10
|
-
needClose: true
|
|
13
|
+
needClose: true,
|
|
14
|
+
responsiveId: (0, _Config.getDotLibraryConfig)('desktopNotificationResponsiveId')
|
|
11
15
|
};
|
|
12
16
|
exports.defaultProps = defaultProps;
|
|
@@ -17,6 +17,7 @@ var propTypes = {
|
|
|
17
17
|
onClose: _propTypes["default"].func,
|
|
18
18
|
title: _propTypes["default"].string,
|
|
19
19
|
type: _propTypes["default"].oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
|
|
20
|
-
variant: _propTypes["default"].oneOf(['primary', 'secondary'])
|
|
20
|
+
variant: _propTypes["default"].oneOf(['primary', 'secondary']),
|
|
21
|
+
responsiveId: _propTypes["default"].string
|
|
21
22
|
};
|
|
22
23
|
exports.propTypes = propTypes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
"dubCheck": "node ./node_modules/@zohodesk-private/node-plugins/es/dublication_css_file_finder node_modules/@zohodesk/components/lib node_modules/@zohodesk/icons/lib node_modules/@zohodesk/variables/lib",
|
|
22
22
|
"build:lib": "react-cli build:component:cmjs",
|
|
23
23
|
"build:es": "react-cli build:library:es",
|
|
24
|
-
"build": "npm run build:lib && npm run build:es",
|
|
24
|
+
"build": "npm run theme:validate && npm run build:lib && npm run build:es",
|
|
25
25
|
"build:local": " npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
26
26
|
"build:watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
27
27
|
"rtl:watch": "react-cli rtl ./src ./es -w",
|
|
28
28
|
"rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
|
|
29
29
|
"prepare": "react-cli clean assets && npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
30
30
|
"init": "npm run clean && npm run build:variables",
|
|
31
|
-
"build:variables": "node ./preprocess/index",
|
|
31
|
+
"build:variables": "react-cli clean ./assets && node ./preprocess/index",
|
|
32
32
|
"lint": "react-cli lint",
|
|
33
33
|
"lintAll": "react-cli lint ./src",
|
|
34
34
|
"lintAllFix": "npm run lintAll --eslint:fix=true",
|
|
35
35
|
"test": "react-cli test",
|
|
36
36
|
"sstest": "react-cli sstest",
|
|
37
37
|
"common_package_build": "cd ../common && npm run build && cd ../dot",
|
|
38
|
-
"docs": "npm run dubCheck && review:props && react-cli docs",
|
|
39
|
-
"prepublishOnly": "node prePublish.js && npm run download && npm run test && npm run review:props",
|
|
38
|
+
"docs": "npm run dubCheck && npm run theme:validate && review:props && react-cli docs",
|
|
39
|
+
"prepublishOnly": "node prePublish.js && npm run download && npm run test && npm run theme:validate && npm run review:props",
|
|
40
40
|
"postpublish": "node postPublish.js",
|
|
41
41
|
"download": "react-cli clean ./node_modules ./package-lock.json && npm install",
|
|
42
42
|
"expublish": "npm publish --tag experimental-version",
|
|
@@ -44,16 +44,17 @@
|
|
|
44
44
|
"variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
|
|
45
45
|
"variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
|
|
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
|
+
"theme:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation validate ./src ./.cli",
|
|
48
|
+
"theme:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation addignore ./src ./.cli",
|
|
47
49
|
"review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js ./src/ ./.cli ./.cli "
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|
|
50
52
|
"@zohodesk-private/css-variable-migrator": "^1.0.7",
|
|
51
|
-
"@zohodesk-private/node-plugins": "
|
|
53
|
+
"@zohodesk-private/node-plugins": "1.1.0",
|
|
52
54
|
"@zohodesk-private/color-variable-preprocessor": "1.1.0",
|
|
53
|
-
"@zohodesk-private/react-prop-validator": "1.1.
|
|
54
|
-
"@zohodesk/components": "1.2.
|
|
55
|
+
"@zohodesk-private/react-prop-validator": "1.1.1",
|
|
56
|
+
"@zohodesk/components": "1.2.18",
|
|
55
57
|
"@zohodesk/a11y": "2.1.0",
|
|
56
|
-
"@zohodesk/i18n": "1.0.0-beta.23",
|
|
57
58
|
"@zohodesk/icons": "1.0.19",
|
|
58
59
|
"@zohodesk/svg": "1.1.6",
|
|
59
60
|
"@zohodesk/variables": "1.0.0",
|
|
@@ -70,8 +71,7 @@
|
|
|
70
71
|
"peerDependencies": {
|
|
71
72
|
"velocity-react": "1.4.3",
|
|
72
73
|
"@zohodesk/variables": "1.0.0",
|
|
73
|
-
"@zohodesk/
|
|
74
|
-
"@zohodesk/components": "1.2.16",
|
|
74
|
+
"@zohodesk/components": "1.2.18",
|
|
75
75
|
"@zohodesk/icons": "1.0.19",
|
|
76
76
|
"@zohodesk/svg": "1.1.6",
|
|
77
77
|
"@zohodesk/virtualizer": "1.0.3",
|
package/result.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-zt93","platForm":"Darwin","branchName":"testcase_gowtham"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1700817339544,"startTime":1700817336304,"coverageDetail":{"codeCoveragePercentage":84.23,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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":[]}}]}}}
|
|
1
|
+
{"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-zt93","platForm":"Darwin","branchName":"testcase_gowtham"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1701269852176,"startTime":1701269848749,"coverageDetail":{"codeCoveragePercentage":84.23,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":[]}},{"fileName":"/Users/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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/bharathi-zt93/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":[]}}]}}}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import { defaultProps } from './props/defaultProps';
|
|
3
|
-
import { propTypes } from './props/propTypes';
|
|
4
|
-
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Box } from '@zohodesk/components/lib/Layout';
|
|
6
|
-
import { UserTimeDiffFormat } from '@zohodesk/i18n';
|
|
7
|
-
import style from './UserTime.module.css';
|
|
8
|
-
export default class UserTime extends Component {
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
render() {
|
|
14
|
-
let {
|
|
15
|
-
type,
|
|
16
|
-
page,
|
|
17
|
-
isNeedTime,
|
|
18
|
-
icon,
|
|
19
|
-
iconColor,
|
|
20
|
-
to,
|
|
21
|
-
ago,
|
|
22
|
-
later,
|
|
23
|
-
format,
|
|
24
|
-
title,
|
|
25
|
-
textClass,
|
|
26
|
-
iconClass,
|
|
27
|
-
containerClass,
|
|
28
|
-
dataId,
|
|
29
|
-
isOverdue
|
|
30
|
-
} = this.props;
|
|
31
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: `${style.container} ${containerClass ? containerClass : ''}`,
|
|
33
|
-
"data-title": title,
|
|
34
|
-
"data-id": dataId,
|
|
35
|
-
"data-test-id": dataId,
|
|
36
|
-
"aria-label": title,
|
|
37
|
-
tabIndex: "0"
|
|
38
|
-
}, icon && /*#__PURE__*/React.createElement(Box, {
|
|
39
|
-
className: `${style.iconColor} ${style[iconColor] ? style[iconColor] : ''}`
|
|
40
|
-
}, icon === 'closedTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
41
|
-
iconClass: `${style.iconStyle} ${style.closedTime} ${style.f8} ${iconClass ? iconClass : ''}`,
|
|
42
|
-
name: "ZD-closedtime1"
|
|
43
|
-
}) : icon === 'overdue' ? /*#__PURE__*/React.createElement(Icon, {
|
|
44
|
-
name: "ZD-TK-sandClock",
|
|
45
|
-
iconClass: `${style.iconStyle} ${style.f10} ${iconClass ? iconClass : ''}`
|
|
46
|
-
}) : icon === 'createdTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
47
|
-
name: "ZD-createdtime2",
|
|
48
|
-
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
49
|
-
}) : icon === 'completedTask' ? /*#__PURE__*/React.createElement(Icon, {
|
|
50
|
-
iconClass: `${style.iconStyle} ${style.f8} ${style.completedTask} ${iconClass ? iconClass : ''}`,
|
|
51
|
-
name: "ZD-completedTask1"
|
|
52
|
-
}) : icon === 'onholdTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
53
|
-
iconClass: `${style.iconStyle} ${style.f10} ${iconClass ? iconClass : ''}`,
|
|
54
|
-
name: "ZD-onHold"
|
|
55
|
-
}) : icon === 'responseDueDate' ? /*#__PURE__*/React.createElement(Icon, {
|
|
56
|
-
name: "ZD-responsiveIconFinal",
|
|
57
|
-
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
58
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
59
|
-
name: "ZD-dueTime",
|
|
60
|
-
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
61
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
-
flexible: true
|
|
63
|
-
}, /*#__PURE__*/React.createElement(UserTimeDiffFormat, {
|
|
64
|
-
type: type,
|
|
65
|
-
page: page,
|
|
66
|
-
isNeedTime: isNeedTime,
|
|
67
|
-
ago: ago,
|
|
68
|
-
className: `${style.textStyle} ${textClass ? textClass : ''}`,
|
|
69
|
-
format: format,
|
|
70
|
-
later: later,
|
|
71
|
-
to: to,
|
|
72
|
-
isOverdue: isOverdue
|
|
73
|
-
})));
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
UserTime.propTypes = propTypes;
|
|
78
|
-
UserTime.defaultProps = defaultProps; // if (__DOCS__) {
|
|
79
|
-
// UserTime.docs = {
|
|
80
|
-
// folderName: 'List',
|
|
81
|
-
// componentGroup: 'UserTime'
|
|
82
|
-
// };
|
|
83
|
-
// }
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--text_color: var(--zdt_usertime_timeText);
|
|
3
|
-
--icon_color: var(--zdt_usertime_icon_gray);
|
|
4
|
-
}
|
|
5
|
-
.container {
|
|
6
|
-
composes: dInflex alignBaseline from '~@zohodesk/components/lib/common/common.module.css';
|
|
7
|
-
max-width: 100% ;
|
|
8
|
-
composes: varClass;
|
|
9
|
-
}
|
|
10
|
-
.f8 {
|
|
11
|
-
font-size: var(--zd_font_size8) ;
|
|
12
|
-
}
|
|
13
|
-
.f9 {
|
|
14
|
-
font-size: var(--zd_font_size9) ;
|
|
15
|
-
}
|
|
16
|
-
.f10 {
|
|
17
|
-
font-size: var(--zd_font_size10) ;
|
|
18
|
-
}
|
|
19
|
-
.closedTime span:last-child:before,
|
|
20
|
-
.completedTask span:first-child:before {
|
|
21
|
-
color: inherit;
|
|
22
|
-
}
|
|
23
|
-
.closedTime span:first-child:before {
|
|
24
|
-
color: var(--zdt_usertime_icon_green);
|
|
25
|
-
}
|
|
26
|
-
.textStyle {
|
|
27
|
-
font-size: var(--zd_font_size12) ;
|
|
28
|
-
color: var(--text_color);
|
|
29
|
-
display: block;
|
|
30
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
-
}
|
|
32
|
-
.iconStyle {
|
|
33
|
-
display: block;
|
|
34
|
-
}
|
|
35
|
-
[dir=ltr] .iconStyle {
|
|
36
|
-
margin-right: var(--zd_size3) ;
|
|
37
|
-
margin-left: var(--zd_size1) ;
|
|
38
|
-
}
|
|
39
|
-
[dir=rtl] .iconStyle {
|
|
40
|
-
margin-left: var(--zd_size3) ;
|
|
41
|
-
margin-right: var(--zd_size1) ;
|
|
42
|
-
}
|
|
43
|
-
/* colors */
|
|
44
|
-
.iconColor {
|
|
45
|
-
color: var(--icon_color)
|
|
46
|
-
}
|
|
47
|
-
.red {
|
|
48
|
-
--icon_color: var(--zdt_usertime_icon_red);
|
|
49
|
-
}
|
|
50
|
-
.green {
|
|
51
|
-
--icon_color: var(--zdt_usertime_icon_green);
|
|
52
|
-
}
|
|
53
|
-
.orange {
|
|
54
|
-
--icon_color: var(--zdt_usertime_icon_orange);
|
|
55
|
-
}
|
|
56
|
-
.gray {
|
|
57
|
-
--icon_color: var(--zdt_usertime_icon_gray);
|
|
58
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
ago: PropTypes.string,
|
|
4
|
-
containerClass: PropTypes.string,
|
|
5
|
-
dataId: PropTypes.string,
|
|
6
|
-
format: PropTypes.func,
|
|
7
|
-
icon: PropTypes.oneOf(['closedTime', 'overdue', 'createdTime', 'completedTask', 'dueTime']),
|
|
8
|
-
iconClass: PropTypes.string,
|
|
9
|
-
iconColor: PropTypes.oneOf(['red', 'green', 'orange', 'gray']),
|
|
10
|
-
later: PropTypes.string,
|
|
11
|
-
textClass: PropTypes.string,
|
|
12
|
-
title: PropTypes.string,
|
|
13
|
-
to: PropTypes.string,
|
|
14
|
-
type: PropTypes.string,
|
|
15
|
-
page: PropTypes.string,
|
|
16
|
-
isNeedTime: PropTypes.bool,
|
|
17
|
-
isOverdue: PropTypes.bool
|
|
18
|
-
};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import { defaultProps } from '../../../list/UserTime/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../list/UserTime/props/propTypes';
|
|
4
|
-
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Box } from '@zohodesk/components/es/v1/Layout';
|
|
6
|
-
import { UserTimeDiffFormat } from '@zohodesk/i18n';
|
|
7
|
-
import style from '../../../list/UserTime/UserTime.module.css';
|
|
8
|
-
export default class UserTime extends Component {
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
render() {
|
|
14
|
-
let {
|
|
15
|
-
type,
|
|
16
|
-
page,
|
|
17
|
-
isNeedTime,
|
|
18
|
-
icon,
|
|
19
|
-
iconColor,
|
|
20
|
-
to,
|
|
21
|
-
ago,
|
|
22
|
-
later,
|
|
23
|
-
format,
|
|
24
|
-
title,
|
|
25
|
-
textClass,
|
|
26
|
-
iconClass,
|
|
27
|
-
containerClass,
|
|
28
|
-
dataId,
|
|
29
|
-
isOverdue
|
|
30
|
-
} = this.props;
|
|
31
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: `${style.container} ${containerClass ? containerClass : ''}`,
|
|
33
|
-
"data-title": title,
|
|
34
|
-
"data-id": dataId,
|
|
35
|
-
"data-test-id": dataId,
|
|
36
|
-
"aria-label": title,
|
|
37
|
-
tabIndex: "0"
|
|
38
|
-
}, icon && /*#__PURE__*/React.createElement(Box, {
|
|
39
|
-
className: `${style.iconColor} ${style[iconColor] ? style[iconColor] : ''}`
|
|
40
|
-
}, icon === 'closedTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
41
|
-
iconClass: `${style.iconStyle} ${style.closedTime} ${style.f8} ${iconClass ? iconClass : ''}`,
|
|
42
|
-
name: "ZD-closedtime1"
|
|
43
|
-
}) : icon === 'overdue' ? /*#__PURE__*/React.createElement(Icon, {
|
|
44
|
-
name: "ZD-TK-sandClock",
|
|
45
|
-
iconClass: `${style.iconStyle} ${style.f10} ${iconClass ? iconClass : ''}`
|
|
46
|
-
}) : icon === 'createdTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
47
|
-
name: "ZD-createdtime2",
|
|
48
|
-
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
49
|
-
}) : icon === 'completedTask' ? /*#__PURE__*/React.createElement(Icon, {
|
|
50
|
-
iconClass: `${style.iconStyle} ${style.f8} ${style.completedTask} ${iconClass ? iconClass : ''}`,
|
|
51
|
-
name: "ZD-completedTask1"
|
|
52
|
-
}) : icon === 'onholdTime' ? /*#__PURE__*/React.createElement(Icon, {
|
|
53
|
-
iconClass: `${style.iconStyle} ${style.f10} ${iconClass ? iconClass : ''}`,
|
|
54
|
-
name: "ZD-onHold"
|
|
55
|
-
}) : icon === 'responseDueDate' ? /*#__PURE__*/React.createElement(Icon, {
|
|
56
|
-
name: "ZD-responsiveIconFinal",
|
|
57
|
-
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
58
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
59
|
-
name: "ZD-dueTime",
|
|
60
|
-
iconClass: `${style.iconStyle} ${style.f8} ${iconClass ? iconClass : ''}`
|
|
61
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
-
flexible: true
|
|
63
|
-
}, /*#__PURE__*/React.createElement(UserTimeDiffFormat, {
|
|
64
|
-
type: type,
|
|
65
|
-
page: page,
|
|
66
|
-
isNeedTime: isNeedTime,
|
|
67
|
-
ago: ago,
|
|
68
|
-
className: `${style.textStyle} ${textClass ? textClass : ''}`,
|
|
69
|
-
format: format,
|
|
70
|
-
later: later,
|
|
71
|
-
to: to,
|
|
72
|
-
isOverdue: isOverdue
|
|
73
|
-
})));
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
UserTime.propTypes = propTypes;
|
|
78
|
-
UserTime.defaultProps = defaultProps; // if (__DOCS__) {
|
|
79
|
-
// UserTime.docs = {
|
|
80
|
-
// folderName: 'List',
|
|
81
|
-
// componentGroup: 'UserTime'
|
|
82
|
-
// };
|
|
83
|
-
// }
|