@zohodesk/components 1.0.0-temp-177 → 1.0.0-temp-178
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/propValidation_report.html +1 -1
- package/README.md +12 -0
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +318 -29
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css +450 -450
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css +33 -1
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +43 -19
- package/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css +450 -450
- package/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css +33 -1
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +43 -19
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css +450 -450
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css +33 -1
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +43 -19
- package/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css +450 -450
- package/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css +33 -1
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +43 -19
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css +450 -450
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css +33 -1
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +43 -19
- package/assets/Appearance/light/mode/Component_LightMode.module.css +318 -29
- package/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css +450 -450
- package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +33 -1
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +43 -19
- package/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css +450 -450
- package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +33 -1
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +43 -19
- package/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css +450 -450
- package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +33 -1
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +43 -19
- package/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css +450 -450
- package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +33 -1
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +43 -19
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css +450 -450
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +33 -1
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +43 -19
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +318 -29
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css +450 -450
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css +33 -1
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +43 -19
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css +450 -450
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css +33 -1
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +43 -19
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css +450 -450
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css +33 -1
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +43 -19
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css +450 -450
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css +33 -1
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +43 -19
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css +450 -450
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css +33 -1
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +43 -19
- package/es/DateTime/DateTime.js +2 -29
- package/es/DateTime/DateTime.module.css +2 -2
- package/es/DateTime/DateWidget.js +2 -6
- package/es/DateTime/YearView.module.css +1 -1
- package/es/DateTime/dateFormatUtils/dateFormat.js +8 -1
- package/es/DateTime/dateFormatUtils/index.js +2 -4
- package/es/Label/Label.module.css +1 -1
- package/es/ListItem/ListItem.module.css +1 -1
- package/es/Ribbon/Ribbon.module.css +4 -4
- package/es/Tab/Tab.module.css +3 -3
- package/es/TextBox/TextBox.module.css +5 -5
- package/es/TextBox/props/defaultProps.js +0 -1
- package/es/Textarea/Textarea.module.css +3 -3
- package/es/Tooltip/Tooltip.module.css +1 -1
- package/es/v1/DateTime/DateTime.js +2 -29
- package/es/v1/DateTime/DateWidget.js +2 -6
- package/lib/DateTime/DateTime.js +3 -30
- package/lib/DateTime/DateTime.module.css +2 -2
- package/lib/DateTime/DateWidget.js +1 -6
- package/lib/DateTime/YearView.module.css +1 -1
- package/lib/DateTime/dateFormatUtils/dateFormat.js +10 -1
- package/lib/DateTime/dateFormatUtils/index.js +2 -6
- package/lib/Label/Label.module.css +1 -1
- package/lib/ListItem/ListItem.module.css +1 -1
- package/lib/Ribbon/Ribbon.module.css +4 -4
- package/lib/Tab/Tab.module.css +3 -3
- package/lib/TextBox/TextBox.module.css +5 -5
- package/lib/TextBox/props/defaultProps.js +0 -1
- package/lib/Textarea/Textarea.module.css +3 -3
- package/lib/Tooltip/Tooltip.module.css +1 -1
- package/lib/v1/DateTime/DateTime.js +3 -30
- package/lib/v1/DateTime/DateWidget.js +1 -6
- package/package.json +5 -5
- package/result.json +1 -1
- package/coverage/Avatar/Avatar.js.html +0 -649
- package/coverage/Avatar/Avatar.module.css.html +0 -556
- package/coverage/Avatar/index.html +0 -131
- package/coverage/Avatar/props/defaultProps.js.html +0 -136
- package/coverage/Avatar/props/index.html +0 -131
- package/coverage/Avatar/props/propTypes.js.html +0 -166
- package/coverage/AvatarTeam/AvatarTeam.js.html +0 -340
- package/coverage/AvatarTeam/AvatarTeam.module.css.html +0 -610
- package/coverage/AvatarTeam/index.html +0 -131
- package/coverage/AvatarTeam/props/defaultProps.js.html +0 -136
- package/coverage/AvatarTeam/props/index.html +0 -131
- package/coverage/AvatarTeam/props/propTypes.js.html +0 -169
- package/coverage/Button/Button.js.html +0 -313
- package/coverage/Button/css/Button.module.css.html +0 -1441
- package/coverage/Button/css/cssJSLogic.js.html +0 -214
- package/coverage/Button/css/index.html +0 -131
- package/coverage/Button/index.html +0 -116
- package/coverage/Button/props/defaultProps.js.html +0 -142
- package/coverage/Button/props/index.html +0 -131
- package/coverage/Button/props/propTypes.js.html +0 -208
- package/coverage/Buttongroup/Buttongroup.js.html +0 -220
- package/coverage/Buttongroup/Buttongroup.module.css.html +0 -298
- package/coverage/Buttongroup/index.html +0 -131
- package/coverage/Buttongroup/props/defaultProps.js.html +0 -103
- package/coverage/Buttongroup/props/index.html +0 -131
- package/coverage/Buttongroup/props/propTypes.js.html +0 -115
- package/coverage/Label/Label.js.html +0 -253
- package/coverage/Label/Label.module.css.html +0 -241
- package/coverage/Label/LabelColors.module.css.html +0 -145
- package/coverage/Label/index.html +0 -146
- package/coverage/Label/props/defaultProps.js.html +0 -118
- package/coverage/Label/props/index.html +0 -131
- package/coverage/Label/props/propTypes.js.html +0 -145
- package/coverage/Layout/Box.js.html +0 -367
- package/coverage/Layout/Container.js.html +0 -439
- package/coverage/Layout/Layout.module.css.html +0 -1090
- package/coverage/Layout/index.html +0 -176
- package/coverage/Layout/index.js.html +0 -118
- package/coverage/Layout/props/defaultProps.js.html +0 -136
- package/coverage/Layout/props/index.html +0 -131
- package/coverage/Layout/props/propTypes.js.html +0 -262
- package/coverage/Layout/utils.js.html +0 -199
- package/coverage/Provider/AvatarSize.js.html +0 -124
- package/coverage/Provider/CssProvider.js.html +0 -133
- package/coverage/Provider/index.html +0 -131
- package/coverage/Radio/Radio.js.html +0 -415
- package/coverage/Radio/Radio.module.css.html +0 -403
- package/coverage/Radio/index.html +0 -131
- package/coverage/Radio/props/defaultProps.js.html +0 -127
- package/coverage/Radio/props/index.html +0 -131
- package/coverage/Radio/props/propTypes.js.html +0 -187
- package/coverage/Ribbon/Ribbon.js.html +0 -229
- package/coverage/Ribbon/Ribbon.module.css.html +0 -1210
- package/coverage/Ribbon/index.html +0 -131
- package/coverage/Ribbon/props/defaultProps.js.html +0 -112
- package/coverage/Ribbon/props/index.html +0 -131
- package/coverage/Ribbon/props/propTypes.js.html +0 -121
- package/coverage/RippleEffect/RippleEffect.js.html +0 -172
- package/coverage/RippleEffect/RippleEffect.module.css.html +0 -415
- package/coverage/RippleEffect/index.html +0 -131
- package/coverage/RippleEffect/props/defaultProps.js.html +0 -112
- package/coverage/RippleEffect/props/index.html +0 -131
- package/coverage/RippleEffect/props/propTypes.js.html +0 -121
- package/coverage/Stencils/Stencils.js.html +0 -163
- package/coverage/Stencils/Stencils.module.css.html +0 -319
- package/coverage/Stencils/index.html +0 -131
- package/coverage/Stencils/props/defaultProps.js.html +0 -103
- package/coverage/Stencils/props/index.html +0 -131
- package/coverage/Stencils/props/propTypes.js.html +0 -109
- package/coverage/Switch/Switch.js.html +0 -379
- package/coverage/Switch/Switch.module.css.html +0 -481
- package/coverage/Switch/index.html +0 -131
- package/coverage/Switch/props/defaultProps.js.html +0 -118
- package/coverage/Switch/props/index.html +0 -131
- package/coverage/Switch/props/propTypes.js.html +0 -172
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/common/avatarsizes.module.css.html +0 -229
- package/coverage/common/common.module.css.html +0 -1519
- package/coverage/common/index.html +0 -131
- package/coverage/coverage-final.json +0 -56
- package/coverage/coverage-summary.json +0 -57
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -491
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/utils/dummyFunction.js.html +0 -88
- package/coverage/utils/getInitial.js.html +0 -139
- package/coverage/utils/index.html +0 -131
- package/unittest/index.html +0 -37
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getDateDetails = getDateDetails;
|
|
7
7
|
exports.getDateFormatDetails = getDateFormatDetails;
|
|
8
8
|
exports.getDateFormatSelection = getDateFormatSelection;
|
|
9
|
+
exports.getDateText = getDateText;
|
|
9
10
|
exports.getDateTimeString = getDateTimeString;
|
|
10
11
|
exports.getIsValidDate = getIsValidDate;
|
|
11
12
|
exports.getSelectedDate = getSelectedDate;
|
|
@@ -234,6 +235,14 @@ function getDateTimeString() {
|
|
|
234
235
|
return "".concat(dateString).concat(timeString);
|
|
235
236
|
}
|
|
236
237
|
|
|
238
|
+
function getDateText(value, isDateTime, timeZone) {
|
|
239
|
+
if (value && !timeZone) {
|
|
240
|
+
value = value.replace('Z', '');
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
return value ? isDateTime ? timeZone ? _datetimejs["default"].toDate(_datetimejs["default"].tz.utcToTz(value, timeZone)) : new Date(value) : timeZone ? _datetimejs["default"].toDate(value) : new Date(value) : new Date();
|
|
244
|
+
}
|
|
245
|
+
|
|
237
246
|
function getDateDetails(value, localValues, isDateTime, timeZone, _ref7) {
|
|
238
247
|
var is24Hour = _ref7.is24Hour;
|
|
239
248
|
var day = localValues.day,
|
|
@@ -244,7 +253,7 @@ function getDateDetails(value, localValues, isDateTime, timeZone, _ref7) {
|
|
|
244
253
|
noon = localValues.noon;
|
|
245
254
|
|
|
246
255
|
if (value) {
|
|
247
|
-
var dateObj =
|
|
256
|
+
var dateObj = getDateText(value, isDateTime, timeZone);
|
|
248
257
|
var selectedDay = dateObj.getDate();
|
|
249
258
|
var selectedMonth = dateObj.getMonth();
|
|
250
259
|
var selectedYear = dateObj.getFullYear();
|
|
@@ -27,18 +27,14 @@ exports.getNoonDetails = getNoonDetails;
|
|
|
27
27
|
exports.getYearDetails = getYearDetails;
|
|
28
28
|
exports.removeYearPattern = removeYearPattern;
|
|
29
29
|
|
|
30
|
-
var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
|
|
31
|
-
|
|
32
30
|
var _common = require("../../utils/datetime/common");
|
|
33
31
|
|
|
34
32
|
var _constants = require("../constants");
|
|
35
33
|
|
|
36
|
-
|
|
34
|
+
var _dateFormat = require("./dateFormat");
|
|
37
35
|
|
|
38
36
|
/* eslint-disable no-param-reassign */
|
|
39
37
|
|
|
40
|
-
/** * Libraries ** */
|
|
41
|
-
|
|
42
38
|
/** * Methods ** */
|
|
43
39
|
|
|
44
40
|
/** * Constants ** */
|
|
@@ -278,7 +274,7 @@ function getIsCurrentYear(_ref) {
|
|
|
278
274
|
var isCurrentYear = false;
|
|
279
275
|
|
|
280
276
|
if (value && value !== _constants.INVALID_DATE) {
|
|
281
|
-
var dateObj =
|
|
277
|
+
var dateObj = (0, _dateFormat.getDateText)(value, isDateTime, timeZone);
|
|
282
278
|
var currentDateObj = new Date();
|
|
283
279
|
var currentYear = currentDateObj.getFullYear();
|
|
284
280
|
var selectedYear = dateObj.getFullYear();
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--ribbon_box_shadow: none;
|
|
9
9
|
--ribbon_border_width: 0;
|
|
10
10
|
--ribbon_border_color: var(--zdt_ribbon_default_border);
|
|
11
|
-
--ribbon_line_height:
|
|
11
|
+
--ribbon_line_height: 1.2;
|
|
12
12
|
|
|
13
13
|
/* flag ribbon default variable */
|
|
14
14
|
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
composes: dotted from '../common/common.module.css';
|
|
213
213
|
display: block;
|
|
214
214
|
--ribbon_text_color: var(--zdt_ribbon_white_text);
|
|
215
|
-
--ribbon_line_height:
|
|
215
|
+
--ribbon_line_height: 1.53846154;
|
|
216
216
|
--ribbon_text_transform: uppercase;
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
--ribbon_text_color: var(--zdt_ribbon_white_text);
|
|
261
261
|
--ribbon_text_transform: uppercase;
|
|
262
262
|
--ribbon_padding: var(--zd_size6) var(--zd_size10);
|
|
263
|
-
--ribbon_line_height:
|
|
263
|
+
--ribbon_line_height: 1.53846154;
|
|
264
264
|
text-align: center;
|
|
265
265
|
}
|
|
266
266
|
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
.sticker {
|
|
371
371
|
display: block;
|
|
372
372
|
height: var(--zd_size18) ;
|
|
373
|
-
line-height:
|
|
373
|
+
line-height: 0.8462;
|
|
374
374
|
--ribbon_text_color: var(--zdt_ribbon_white_text);
|
|
375
375
|
--ribbon_text_transform: uppercase;
|
|
376
376
|
text-align: center;
|
package/lib/Tab/Tab.module.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
.alpha {
|
|
34
34
|
font-size: var(--zd_font_size11) ;
|
|
35
|
-
line-height:
|
|
35
|
+
line-height: 3;
|
|
36
36
|
padding: 0 var(--zd_size18) ;
|
|
37
37
|
}
|
|
38
38
|
.tabAlpha {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
.beta {
|
|
57
57
|
font-size: var(--zd_font_size14) ;
|
|
58
|
-
line-height:
|
|
58
|
+
line-height: 4.2857;
|
|
59
59
|
text-transform: capitalize;
|
|
60
60
|
padding: 0 var(--zd_size4) ;
|
|
61
61
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
.delta {
|
|
80
80
|
font-size: var(--zd_font_size11) ;
|
|
81
|
-
line-height:
|
|
81
|
+
line-height: 3;
|
|
82
82
|
padding: 0 var(--zd_size4) ;
|
|
83
83
|
}
|
|
84
84
|
[dir=ltr] .delta {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--textbox_letter_spacing: 0.1px;
|
|
15
15
|
--textbox_padding: 0;
|
|
16
16
|
--textbox_cursor: auto;
|
|
17
|
-
--textbox_line_height:
|
|
17
|
+
--textbox_line_height: 2.5;
|
|
18
18
|
|
|
19
19
|
/* textbox placeholder default variable */
|
|
20
20
|
--textbox_placeholder_text_color: var(--zdt_textbox_placeholder_text);
|
|
@@ -115,21 +115,21 @@
|
|
|
115
115
|
}
|
|
116
116
|
.xmedium {
|
|
117
117
|
--textbox_height: var(--zd_size28);
|
|
118
|
-
--textbox_line_height:
|
|
118
|
+
--textbox_line_height: 2;
|
|
119
119
|
}
|
|
120
120
|
.medium {
|
|
121
121
|
--textbox_height: var(--zd_size35);
|
|
122
|
-
--textbox_line_height:
|
|
122
|
+
--textbox_line_height: 2.5;
|
|
123
123
|
}
|
|
124
124
|
.small {
|
|
125
125
|
--textbox_font_size: var(--zd_font_size12);
|
|
126
126
|
--textbox_height: var(--zd_size28);
|
|
127
|
-
--textbox_line_height:
|
|
127
|
+
--textbox_line_height: 2.33333333333;
|
|
128
128
|
}
|
|
129
129
|
.xsmall {
|
|
130
130
|
--textbox_font_size: var(--zd_font_size13);
|
|
131
131
|
--textbox_height: var(--zd_size25);
|
|
132
|
-
--textbox_line_height:
|
|
132
|
+
--textbox_line_height: 1.92307692308;
|
|
133
133
|
}
|
|
134
134
|
.default,
|
|
135
135
|
.primary,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--textarea_cursor: auto;
|
|
6
6
|
--textarea_text_color: var(--zdt_textarea_default_text);
|
|
7
7
|
--textarea_font_size: var(--zd_font_size14);
|
|
8
|
-
--textarea_line_height:
|
|
8
|
+
--textarea_line_height: 1.57142857;
|
|
9
9
|
--textarea_padding: var(--zd_size2) 0;
|
|
10
10
|
--textarea_height: var(--zd_size30);
|
|
11
11
|
|
|
@@ -98,13 +98,13 @@
|
|
|
98
98
|
--textarea_font_size: var(--zd_font_size14);
|
|
99
99
|
--textarea_padding: var(--zd_size4) 0 var(--zd_size2);
|
|
100
100
|
--textarea_height: var(--zd_size28);
|
|
101
|
-
--textarea_line_height:
|
|
101
|
+
--textarea_line_height: 1.35714285714;
|
|
102
102
|
}
|
|
103
103
|
.xmedium {
|
|
104
104
|
--textarea_font_size: var(--zd_font_size13);
|
|
105
105
|
--textarea_padding: var(--zd_size4) 0 var(--zd_size2);
|
|
106
106
|
--textarea_height: var(--zd_size25);
|
|
107
|
-
--textarea_line_height:
|
|
107
|
+
--textarea_line_height: 1.30769230769;
|
|
108
108
|
}
|
|
109
109
|
.small {
|
|
110
110
|
--textarea_height: var(--zd_size30);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
font-family: var(--zd_semibold);
|
|
18
18
|
word-break: break-word;
|
|
19
19
|
max-width: var(--zd_size420) ;
|
|
20
|
-
line-height:
|
|
20
|
+
line-height: 1.5385;
|
|
21
21
|
min-height: var(--zd_size24) ;
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
background-color: var(--zdt_tooltip_default_bg);
|
|
@@ -39,6 +39,8 @@ var _Layout = require("../Layout");
|
|
|
39
39
|
|
|
40
40
|
var _dateFormatUtils = require("../../DateTime/dateFormatUtils");
|
|
41
41
|
|
|
42
|
+
var _dateFormat = require("./../../DateTime/dateFormatUtils/dateFormat");
|
|
43
|
+
|
|
42
44
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
43
45
|
|
|
44
46
|
function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
|
|
@@ -111,7 +113,6 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
111
113
|
_this.handleSelectMonthViaYearView = _this.handleSelectMonthViaYearView.bind(_assertThisInitialized(_this));
|
|
112
114
|
_this.handleGetStateValues = _this.handleGetStateValues.bind(_assertThisInitialized(_this));
|
|
113
115
|
_this.handleYearViewToggle = _this.handleYearViewToggle.bind(_assertThisInitialized(_this));
|
|
114
|
-
_this.getInitialDate = _this.getInitialDate.bind(_assertThisInitialized(_this));
|
|
115
116
|
var _props$i18nKeys$ampmT = props.i18nKeys.ampmText,
|
|
116
117
|
ampmText = _props$i18nKeys$ampmT === void 0 ? _constants.ampmTextDefault : _props$i18nKeys$ampmT;
|
|
117
118
|
|
|
@@ -171,34 +172,6 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
171
172
|
value: function componentWillUnmount() {
|
|
172
173
|
this.handleExposeMethods(false);
|
|
173
174
|
}
|
|
174
|
-
}, {
|
|
175
|
-
key: "getInitialDate",
|
|
176
|
-
value: function getInitialDate(value) {
|
|
177
|
-
var timeZone = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
178
|
-
var isDateTime = arguments.length > 2 ? arguments[2] : undefined;
|
|
179
|
-
var result = null;
|
|
180
|
-
|
|
181
|
-
if (isDateTime) {
|
|
182
|
-
if (timeZone && value) {
|
|
183
|
-
result = _datetimejs["default"].toDate(_datetimejs["default"].tz.utcToTz(value, timeZone));
|
|
184
|
-
} else {
|
|
185
|
-
value = value ? value.replace('Z', '') : null;
|
|
186
|
-
result = value ? new Date(value) : new Date();
|
|
187
|
-
}
|
|
188
|
-
} else {
|
|
189
|
-
if (value) {
|
|
190
|
-
if (timeZone) {
|
|
191
|
-
result = _datetimejs["default"].toDate(value);
|
|
192
|
-
} else {
|
|
193
|
-
result = new Date(value);
|
|
194
|
-
}
|
|
195
|
-
} else {
|
|
196
|
-
result = new Date();
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
return result;
|
|
201
|
-
}
|
|
202
175
|
}, {
|
|
203
176
|
key: "getStateFromProps",
|
|
204
177
|
value: function getStateFromProps(props) {
|
|
@@ -229,7 +202,7 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
229
202
|
defaultMin = parseInt(defaultMin);
|
|
230
203
|
}
|
|
231
204
|
|
|
232
|
-
var dateObj =
|
|
205
|
+
var dateObj = (0, _dateFormat.getDateText)(value, timeZone, isDateTimeField);
|
|
233
206
|
date = dateObj.getDate();
|
|
234
207
|
month = dateObj.getMonth();
|
|
235
208
|
year = dateObj.getFullYear();
|
|
@@ -13,8 +13,6 @@ var _propTypes = require("./props/propTypes");
|
|
|
13
13
|
|
|
14
14
|
var _defaultProps = require("./props/defaultProps");
|
|
15
15
|
|
|
16
|
-
var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
|
|
17
|
-
|
|
18
16
|
var _DateTime = _interopRequireDefault(require("./DateTime"));
|
|
19
17
|
|
|
20
18
|
var _Popup = _interopRequireDefault(require("../Popup/Popup"));
|
|
@@ -358,13 +356,10 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
358
356
|
|
|
359
357
|
if (selected) {
|
|
360
358
|
var format = newDateFormat,
|
|
361
|
-
convertedValue;
|
|
359
|
+
convertedValue = (0, _dateFormat.getDateText)(value, isDateTime, timeZone);
|
|
362
360
|
|
|
363
361
|
if (isDateTime) {
|
|
364
|
-
convertedValue = _datetimejs["default"].toDate(_datetimejs["default"].tz.utcToTz(value, timeZone));
|
|
365
362
|
format = "".concat(newDateFormat, " ").concat(is24Hour ? 'HH:mm' : 'hh:mm A');
|
|
366
|
-
} else {
|
|
367
|
-
convertedValue = _datetimejs["default"].toDate(value);
|
|
368
363
|
}
|
|
369
364
|
|
|
370
365
|
displayText = (0, _common.formatDate)(convertedValue, format);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-178",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"build:css:umd": "npm run clean && npm run init && react-cli build:css:umd",
|
|
39
39
|
"coverage": "react-cli coverage",
|
|
40
40
|
"prepare": "npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
41
|
-
"prepublishOnly": "node prePublish.js && npm run test && npm run review:props",
|
|
41
|
+
"prepublishOnly": "node prePublish.js && npm run test && npm run download && npm run review:props",
|
|
42
42
|
"postpublish": "node postPublish.js",
|
|
43
43
|
"report": "react-cli publish:report",
|
|
44
44
|
"test": "react-cli test",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
67
67
|
"@zohodesk/hooks": "2.0.2",
|
|
68
68
|
"@zohodesk/icons": "1.0.19",
|
|
69
|
-
"@zohodesk/svg": "1.1.
|
|
69
|
+
"@zohodesk/svg": "1.1.6",
|
|
70
70
|
"@zohodesk/utils": "1.3.13",
|
|
71
71
|
"@zohodesk/variables": "1.0.0",
|
|
72
72
|
"@zohodesk/virtualizer": "1.0.3",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@zohodesk/icons": "1.0.19",
|
|
84
84
|
"@zohodesk/variables": "1.0.0",
|
|
85
|
-
"@zohodesk/svg": "1.1.
|
|
85
|
+
"@zohodesk/svg": "1.1.6",
|
|
86
86
|
"@zohodesk/virtualizer": "1.0.3",
|
|
87
87
|
"velocity-react": "1.4.3",
|
|
88
88
|
"react-sortable-hoc": "^0.8.3",
|
|
@@ -90,4 +90,4 @@
|
|
|
90
90
|
"@zohodesk/utils": "1.3.13",
|
|
91
91
|
"@zohodesk/a11y": "2.1.0"
|
|
92
92
|
}
|
|
93
|
-
}
|
|
93
|
+
}
|
package/result.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"jobDetails":{"isRunByLocal":true,"hostName":"muthu-zt371","platForm":"Darwin","branchName":"KaruppiahRK"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":218,"numberOfFails":0,"numberOfCases":218,"numberOfSuites":10,"endTime":1700743232574,"startTime":1700743225167,"coverageDetail":{"codeCoveragePercentage":91.97,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Label/__tests__/Label.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the type of- title","rendering the type of- subtitle","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- danger","rendering the palette of- mandatory","rendering the palette of- disable","rendering the palette of- dark","rendering the size of- xsmall","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the clipped is true","rendering the title","rendering the variant of- primary","rendering the variant of- default","rendering the customClass","rendering the Id","rendering the htmlFor","rendering the onClick prop with asFragment and toMatchSnapshot"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/RippleEffect/__tests__/RippleEffect.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering isActive is true","rendering isDisabled is true","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- primaryLight","rendering the palette of- primaryFilled","rendering the palette of- primaryDark","rendering the palette of- green","rendering the palette of- danger","rendering hoverType of- default","rendering hoverType of- border","rendering hoverType of- bg","rendering hoverType of- test","rendering isNeedEffect is false","rendering needBorder is false","rendering isCopyTextEnabled is false"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Avatar/__tests__/Avatar.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- default","rendering the shape of- circle","rendering the shape of- square","rendering the size of- xxsmall","rendering the size of- small","rendering the size of- xsmall","rendering the size of- medium","rendering the size of- xmedium","rendering the size of- large","rendering the size of- xlarge","rendering the size of- white","rendering the size of- black","rendering src","rendering Name in 2 Word","rendering title","rendering needTitle","rendering initial","rendering NeedBorder false","rendering BorderOnActive true","rendering borderOnHover true","rendering customClass true","rendering alternateSrc","rendering showAlternateAvatar is enabled border get disabled","rendering isAnimate is false","rendering needInnerBorder is true","rendering showDefaultBorder is true","rendering the Custom props"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/AvatarTeam/__tests__/AvatarTeam.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the Props of Avatar","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the sizes of- xxsmall","rendering the sizes of- small","rendering the sizes of- xsmall","rendering the sizes of- medium","rendering the sizes of- xmedium","rendering the sizes of- large","rendering the sizes of- xlarge","rendering the textPalette of- white","rendering the textPalette of- black","rendering borderOnActive","rendering border is true","rendering the onClick prop with asFragment and toMatchSnapshot","rendering the palette with isFilled of- primary","rendering the palette with isFilled of- secondary","rendering the palette with isFilled of- info","rendering CustomClass - customAvatar","rendering CustomClass - customAvatarTeam","rendering customProps - AvatarTeamProps","rendering customProps - AvatarProps"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Ribbon/__tests__/Ribbon.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- default","rendering the palette of- danger","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- dark","rendering the type - default","rendering the type - flag","rendering the type - plain","rendering the type - ribbon","rendering the type - box","rendering the type - stamp","rendering the type - sticker","rendering the type - tag","rendering children ","rendering the size - small","rendering the size - medium","rendering the size - large","rendering the size - xlarge","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Switch/__tests__/Switch.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the checked","rendering the dataId","rendering the disabled and disableTitle","rendering the text","rendering the ID","rendering the isReadOnly","rendering the size of- small","rendering the size of- medium","rendering the labelSize of- small","rendering the labelSize of- medium","rendering the labelSize of- large","rendering the labelSize of- default","rendering the labelSize of- primary","rendering the labelSize of- secondary","rendering the labelSize of- danger","rendering the labelSize of- mandatory","rendering the Name","rendering the Title","rendering the Value","rendering the CustomClass","rendering the CustomProps"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Radio/__tests__/Radio.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the ID","rendering the Name","rendering the Value","rendering palette - primary","rendering palette - danger","rendering the Checked is true","rendering the disabled is true","rendering the isReadOnly is true","rendering the disabledTitle","rendering the title","rendering the text","rendering labelPalette - default","rendering labelPalette - primary","rendering labelPalette - danger","rendering labelPalette - mandatory","rendering size - small","rendering size - medium","rendering labelSize - small","rendering labelSize - medium","rendering labelSize - large","rendering labelSize - primary","rendering labelSize - default","rendering the active is true - primary","rendering the active is true - danger","rendering the isFilled is false","rendering the customClass of customRadioWrap,customRadio,customLabel ","rendering ally ariaChecked true","rendering ally ariaHidden , ariaChecked, ariaReadonly fasle true","rendering ally ariaHidden , ariaChecked, ariaReadonly is false","rendering the accessMode when isReadOnly ","rendering the accessMode when disabled ","eleRef prop is a function","renders with different onClick props"],"failedCaseList":[]}},{"fileName":"/Users/muthu-zt371/REACT/Library/MuthuReact_Library/jsapps/dot/components/src/Stencils/__tests__/Stencils.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- dark","rendering the shape of- rect","rendering the shape of- circle","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the size of- default","rendering the customClass"],"failedCaseList":[]}}]}}}
|
|
1
|
+
{"jobDetails":{"isRunByLocal":true,"hostName":"mari-zt368","platForm":"Darwin","branchName":"lineHeightAutomation"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":218,"numberOfFails":0,"numberOfCases":218,"numberOfSuites":10,"endTime":1701251994375,"startTime":1701251987734,"coverageDetail":{"codeCoveragePercentage":91.97,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Label/__tests__/Label.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the type of- title","rendering the type of- subtitle","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- danger","rendering the palette of- mandatory","rendering the palette of- disable","rendering the palette of- dark","rendering the size of- xsmall","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the clipped is true","rendering the title","rendering the variant of- primary","rendering the variant of- default","rendering the customClass","rendering the Id","rendering the htmlFor","rendering the onClick prop with asFragment and toMatchSnapshot"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/RippleEffect/__tests__/RippleEffect.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering isActive is true","rendering isDisabled is true","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- primaryLight","rendering the palette of- primaryFilled","rendering the palette of- primaryDark","rendering the palette of- green","rendering the palette of- danger","rendering hoverType of- default","rendering hoverType of- border","rendering hoverType of- bg","rendering hoverType of- test","rendering isNeedEffect is false","rendering needBorder is false","rendering isCopyTextEnabled is false"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Avatar/__tests__/Avatar.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- default","rendering the shape of- circle","rendering the shape of- square","rendering the size of- xxsmall","rendering the size of- small","rendering the size of- xsmall","rendering the size of- medium","rendering the size of- xmedium","rendering the size of- large","rendering the size of- xlarge","rendering the size of- white","rendering the size of- black","rendering src","rendering Name in 2 Word","rendering title","rendering needTitle","rendering initial","rendering NeedBorder false","rendering BorderOnActive true","rendering borderOnHover true","rendering customClass true","rendering alternateSrc","rendering showAlternateAvatar is enabled border get disabled","rendering isAnimate is false","rendering needInnerBorder is true","rendering showDefaultBorder is true","rendering the Custom props"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/AvatarTeam/__tests__/AvatarTeam.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the Props of Avatar","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the sizes of- xxsmall","rendering the sizes of- small","rendering the sizes of- xsmall","rendering the sizes of- medium","rendering the sizes of- xmedium","rendering the sizes of- large","rendering the sizes of- xlarge","rendering the textPalette of- white","rendering the textPalette of- black","rendering borderOnActive","rendering border is true","rendering the onClick prop with asFragment and toMatchSnapshot","rendering the palette with isFilled of- primary","rendering the palette with isFilled of- secondary","rendering the palette with isFilled of- info","rendering CustomClass - customAvatar","rendering CustomClass - customAvatarTeam","rendering customProps - AvatarTeamProps","rendering customProps - AvatarProps"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Switch/__tests__/Switch.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the checked","rendering the dataId","rendering the disabled and disableTitle","rendering the text","rendering the ID","rendering the isReadOnly","rendering the size of- small","rendering the size of- medium","rendering the labelSize of- small","rendering the labelSize of- medium","rendering the labelSize of- large","rendering the labelSize of- default","rendering the labelSize of- primary","rendering the labelSize of- secondary","rendering the labelSize of- danger","rendering the labelSize of- mandatory","rendering the Name","rendering the Title","rendering the Value","rendering the CustomClass","rendering the CustomProps"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Ribbon/__tests__/Ribbon.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- default","rendering the palette of- danger","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- dark","rendering the type - default","rendering the type - flag","rendering the type - plain","rendering the type - ribbon","rendering the type - box","rendering the type - stamp","rendering the type - sticker","rendering the type - tag","rendering children ","rendering the size - small","rendering the size - medium","rendering the size - large","rendering the size - xlarge","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Radio/__tests__/Radio.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the ID","rendering the Name","rendering the Value","rendering palette - primary","rendering palette - danger","rendering the Checked is true","rendering the disabled is true","rendering the isReadOnly is true","rendering the disabledTitle","rendering the title","rendering the text","rendering labelPalette - default","rendering labelPalette - primary","rendering labelPalette - danger","rendering labelPalette - mandatory","rendering size - small","rendering size - medium","rendering labelSize - small","rendering labelSize - medium","rendering labelSize - large","rendering labelSize - primary","rendering labelSize - default","rendering the active is true - primary","rendering the active is true - danger","rendering the isFilled is false","rendering the customClass of customRadioWrap,customRadio,customLabel ","rendering ally ariaChecked true","rendering ally ariaHidden , ariaChecked, ariaReadonly fasle true","rendering ally ariaHidden , ariaChecked, ariaReadonly is false","rendering the accessMode when isReadOnly ","rendering the accessMode when disabled ","eleRef prop is a function","renders with different onClick props"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Stencils/__tests__/Stencils.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- dark","rendering the shape of- rect","rendering the shape of- circle","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the size of- default","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Label/__tests__/Label.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the type of- title","rendering the type of- subtitle","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- danger","rendering the palette of- mandatory","rendering the palette of- disable","rendering the palette of- dark","rendering the size of- xsmall","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the clipped is true","rendering the title","rendering the variant of- primary","rendering the variant of- default","rendering the customClass","rendering the Id","rendering the htmlFor","rendering the onClick prop with asFragment and toMatchSnapshot"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/RippleEffect/__tests__/RippleEffect.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering isActive is true","rendering isDisabled is true","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- primaryLight","rendering the palette of- primaryFilled","rendering the palette of- primaryDark","rendering the palette of- green","rendering the palette of- danger","rendering hoverType of- default","rendering hoverType of- border","rendering hoverType of- bg","rendering hoverType of- test","rendering isNeedEffect is false","rendering needBorder is false","rendering isCopyTextEnabled is false"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Avatar/__tests__/Avatar.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- default","rendering the shape of- circle","rendering the shape of- square","rendering the size of- xxsmall","rendering the size of- small","rendering the size of- xsmall","rendering the size of- medium","rendering the size of- xmedium","rendering the size of- large","rendering the size of- xlarge","rendering the size of- white","rendering the size of- black","rendering src","rendering Name in 2 Word","rendering title","rendering needTitle","rendering initial","rendering NeedBorder false","rendering BorderOnActive true","rendering borderOnHover true","rendering customClass true","rendering alternateSrc","rendering showAlternateAvatar is enabled border get disabled","rendering isAnimate is false","rendering needInnerBorder is true","rendering showDefaultBorder is true","rendering the Custom props"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/AvatarTeam/__tests__/AvatarTeam.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the Props of Avatar","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the sizes of- xxsmall","rendering the sizes of- small","rendering the sizes of- xsmall","rendering the sizes of- medium","rendering the sizes of- xmedium","rendering the sizes of- large","rendering the sizes of- xlarge","rendering the textPalette of- white","rendering the textPalette of- black","rendering borderOnActive","rendering border is true","rendering the onClick prop with asFragment and toMatchSnapshot","rendering the palette with isFilled of- primary","rendering the palette with isFilled of- secondary","rendering the palette with isFilled of- info","rendering CustomClass - customAvatar","rendering CustomClass - customAvatarTeam","rendering customProps - AvatarTeamProps","rendering customProps - AvatarProps"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Ribbon/__tests__/Ribbon.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- default","rendering the palette of- danger","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- dark","rendering the type - default","rendering the type - flag","rendering the type - plain","rendering the type - ribbon","rendering the type - box","rendering the type - stamp","rendering the type - sticker","rendering the type - tag","rendering children ","rendering the size - small","rendering the size - medium","rendering the size - large","rendering the size - xlarge","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Switch/__tests__/Switch.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the checked","rendering the dataId","rendering the disabled and disableTitle","rendering the text","rendering the ID","rendering the isReadOnly","rendering the size of- small","rendering the size of- medium","rendering the labelSize of- small","rendering the labelSize of- medium","rendering the labelSize of- large","rendering the labelSize of- default","rendering the labelSize of- primary","rendering the labelSize of- secondary","rendering the labelSize of- danger","rendering the labelSize of- mandatory","rendering the Name","rendering the Title","rendering the Value","rendering the CustomClass","rendering the CustomProps"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Stencils/__tests__/Stencils.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- dark","rendering the shape of- rect","rendering the shape of- circle","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the size of- default","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Radio/__tests__/Radio.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the ID","rendering the Name","rendering the Value","rendering palette - primary","rendering palette - danger","rendering the Checked is true","rendering the disabled is true","rendering the isReadOnly is true","rendering the disabledTitle","rendering the title","rendering the text","rendering labelPalette - default","rendering labelPalette - primary","rendering labelPalette - danger","rendering labelPalette - mandatory","rendering size - small","rendering size - medium","rendering labelSize - small","rendering labelSize - medium","rendering labelSize - large","rendering labelSize - primary","rendering labelSize - default","rendering the active is true - primary","rendering the active is true - danger","rendering the isFilled is false","rendering the customClass of customRadioWrap,customRadio,customLabel ","rendering ally ariaChecked true","rendering ally ariaHidden , ariaChecked, ariaReadonly fasle true","rendering ally ariaHidden , ariaChecked, ariaReadonly is false","rendering the accessMode when isReadOnly ","rendering the accessMode when disabled ","eleRef prop is a function","renders with different onClick props"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Label/__tests__/Label.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the type of- title","rendering the type of- subtitle","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- danger","rendering the palette of- mandatory","rendering the palette of- disable","rendering the palette of- dark","rendering the size of- xsmall","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the clipped is true","rendering the title","rendering the variant of- primary","rendering the variant of- default","rendering the customClass","rendering the Id","rendering the htmlFor","rendering the onClick prop with asFragment and toMatchSnapshot"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/RippleEffect/__tests__/RippleEffect.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering isActive is true","rendering isDisabled is true","rendering the palette of- default","rendering the palette of- primary","rendering the palette of- primaryLight","rendering the palette of- primaryFilled","rendering the palette of- primaryDark","rendering the palette of- green","rendering the palette of- danger","rendering hoverType of- default","rendering hoverType of- border","rendering hoverType of- bg","rendering hoverType of- test","rendering isNeedEffect is false","rendering needBorder is false","rendering isCopyTextEnabled is false"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Avatar/__tests__/Avatar.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- default","rendering the shape of- circle","rendering the shape of- square","rendering the size of- xxsmall","rendering the size of- small","rendering the size of- xsmall","rendering the size of- medium","rendering the size of- xmedium","rendering the size of- large","rendering the size of- xlarge","rendering the size of- white","rendering the size of- black","rendering src","rendering Name in 2 Word","rendering title","rendering needTitle","rendering initial","rendering NeedBorder false","rendering BorderOnActive true","rendering borderOnHover true","rendering customClass true","rendering alternateSrc","rendering showAlternateAvatar is enabled border get disabled","rendering isAnimate is false","rendering needInnerBorder is true","rendering showDefaultBorder is true","rendering the Custom props"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Ribbon/__tests__/Ribbon.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- default","rendering the palette of- danger","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the palette of- dark","rendering the type - default","rendering the type - flag","rendering the type - plain","rendering the type - ribbon","rendering the type - box","rendering the type - stamp","rendering the type - sticker","rendering the type - tag","rendering children ","rendering the size - small","rendering the size - medium","rendering the size - large","rendering the size - xlarge","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Switch/__tests__/Switch.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the checked","rendering the dataId","rendering the disabled and disableTitle","rendering the text","rendering the ID","rendering the isReadOnly","rendering the size of- small","rendering the size of- medium","rendering the labelSize of- small","rendering the labelSize of- medium","rendering the labelSize of- large","rendering the labelSize of- default","rendering the labelSize of- primary","rendering the labelSize of- secondary","rendering the labelSize of- danger","rendering the labelSize of- mandatory","rendering the Name","rendering the Title","rendering the Value","rendering the CustomClass","rendering the CustomProps"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/AvatarTeam/__tests__/AvatarTeam.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the Props of Avatar","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- info","rendering the sizes of- xxsmall","rendering the sizes of- small","rendering the sizes of- xsmall","rendering the sizes of- medium","rendering the sizes of- xmedium","rendering the sizes of- large","rendering the sizes of- xlarge","rendering the textPalette of- white","rendering the textPalette of- black","rendering borderOnActive","rendering border is true","rendering the onClick prop with asFragment and toMatchSnapshot","rendering the palette with isFilled of- primary","rendering the palette with isFilled of- secondary","rendering the palette with isFilled of- info","rendering CustomClass - customAvatar","rendering CustomClass - customAvatarTeam","rendering customProps - AvatarTeamProps","rendering customProps - AvatarProps"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Stencils/__tests__/Stencils.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- secondary","rendering the palette of- dark","rendering the shape of- rect","rendering the shape of- circle","rendering the size of- small","rendering the size of- medium","rendering the size of- large","rendering the size of- default","rendering the customClass"],"failedCaseList":[]}},{"fileName":"/Users/mari-zt368/React_Package/jsapps/dot/components/src/Radio/__tests__/Radio.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the ID","rendering the Name","rendering the Value","rendering palette - primary","rendering palette - danger","rendering the Checked is true","rendering the disabled is true","rendering the isReadOnly is true","rendering the disabledTitle","rendering the title","rendering the text","rendering labelPalette - default","rendering labelPalette - primary","rendering labelPalette - danger","rendering labelPalette - mandatory","rendering size - small","rendering size - medium","rendering labelSize - small","rendering labelSize - medium","rendering labelSize - large","rendering labelSize - primary","rendering labelSize - default","rendering the active is true - primary","rendering the active is true - danger","rendering the isFilled is false","rendering the customClass of customRadioWrap,customRadio,customLabel ","rendering ally ariaChecked true","rendering ally ariaHidden , ariaChecked, ariaReadonly fasle true","rendering ally ariaHidden , ariaChecked, ariaReadonly is false","rendering the accessMode when isReadOnly ","rendering the accessMode when disabled ","eleRef prop is a function","renders with different onClick props"],"failedCaseList":[]}}]}}}
|