@zohodesk/dot 1.0.0-temp-159 → 1.0.0-temp-162

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.
Files changed (158) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +3 -2
  4. package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +1 -1
  5. package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +1 -1
  6. package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +1 -1
  7. package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +1 -1
  8. package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +1 -1
  9. package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +1 -1
  10. package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +1 -1
  11. package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +1 -1
  12. package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +1 -1
  13. package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +1 -1
  14. package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +1 -1
  15. package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +1 -1
  16. package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +1 -1
  17. package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +1 -1
  18. package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +1 -1
  19. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  20. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  21. package/coverage/ExternalLink/index.html +1 -1
  22. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  23. package/coverage/ExternalLink/props/index.html +1 -1
  24. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  25. package/coverage/IconButton/IconButton.js.html +7 -7
  26. package/coverage/IconButton/IconButton.module.css.html +1 -1
  27. package/coverage/IconButton/index.html +11 -11
  28. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  29. package/coverage/IconButton/props/index.html +1 -1
  30. package/coverage/IconButton/props/propTypes.js.html +1 -1
  31. package/coverage/Image/Image.js.html +1 -1
  32. package/coverage/Image/Image.module.css.html +1 -1
  33. package/coverage/Image/index.html +1 -1
  34. package/coverage/Image/props/defaultProps.js.html +1 -1
  35. package/coverage/Image/props/index.html +1 -1
  36. package/coverage/Image/props/propTypes.js.html +1 -1
  37. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  38. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  39. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  40. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  41. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  42. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  43. package/coverage/coverage-final.json +16 -16
  44. package/coverage/coverage-summary.json +17 -17
  45. package/coverage/index.html +11 -11
  46. package/es/Attachment/Attachment.module.css +2 -2
  47. package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
  48. package/es/Drawer/Drawer.js +1 -1
  49. package/es/IconButton/IconButton.js +2 -2
  50. package/es/ImportantNotes/ImportantNotes.module.css +6 -2
  51. package/es/ToastMessage/ToastMessage.module.css +2 -2
  52. package/es/Upload/Upload.module.css +1 -1
  53. package/es/alert/AlertLookup/AlertLookup.module.css +1 -1
  54. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +1 -1
  55. package/es/errorstate/EmptyStates.module.css +3 -3
  56. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
  57. package/es/form/fields/Fields.module.css +2 -2
  58. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  59. package/es/list/status/StatusDropdown/StatusDropdown.js +1 -2
  60. package/es/list/status/StatusListItem/StatusListItem.js +1 -1
  61. package/es/list/status/StatusListItem/StatusListItem.module.css +1 -1
  62. package/es/lookup/Lookup/Lookup.js +1 -1
  63. package/es/lookup/header/Close/LookupClose.module.css +1 -1
  64. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
  65. package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
  66. package/es/v1/Image/Image.js +26 -33
  67. package/es/v1/Message/Message.js +16 -42
  68. package/es/v1/PlusIcon/PlusIcon.js +25 -37
  69. package/es/v1/Separator/Separator.js +40 -47
  70. package/es/v1/avatar/AvatarClose/AvatarClose.js +32 -43
  71. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +41 -52
  72. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +38 -43
  73. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +52 -63
  74. package/es/v1/avatar/AvatarThread/AvatarThread.js +62 -69
  75. package/es/v1/avatar/AvatarUser/AvatarUser.js +93 -100
  76. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +81 -88
  77. package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +154 -197
  78. package/es/v1/layout/SubtabLayout/SubtabLayout.js +108 -124
  79. package/es/v1/list/SecondaryText/AccountName.js +61 -69
  80. package/es/v1/list/SecondaryText/ContactName.js +66 -74
  81. package/es/v1/list/SecondaryText/DepartmentText.js +15 -27
  82. package/es/v1/list/SecondaryText/Email.js +32 -40
  83. package/es/v1/list/SecondaryText/HappinessRating.js +17 -25
  84. package/es/v1/list/SecondaryText/PhoneNumber.js +36 -44
  85. package/es/v1/list/SecondaryText/PriorityText.js +16 -28
  86. package/es/v1/list/SecondaryText/SecondaryText.js +21 -33
  87. package/es/v1/list/SecondaryText/StatusText.js +17 -29
  88. package/es/v1/list/SecondaryText/TicketId.js +33 -45
  89. package/es/v1/list/SecondaryText/Website.js +22 -30
  90. package/es/v1/list/SecondryPanel/SecondryPanel.js +66 -83
  91. package/es/v1/list/SentimentStatus/SentimentStatus.js +18 -29
  92. package/es/v1/list/status/StatusListItem/StatusListItem.js +75 -100
  93. package/es/v1/lookup/EmptyPage/EmptyPage.js +15 -26
  94. package/es/v1/lookup/Section/Section.js +14 -20
  95. package/es/version2/GlobalNotification/GlobalNotification.module.css +1 -1
  96. package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
  97. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  98. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
  99. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
  100. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +3 -3
  101. package/lib/Attachment/Attachment.module.css +2 -2
  102. package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
  103. package/lib/Drawer/Drawer.js +1 -1
  104. package/lib/IconButton/IconButton.js +2 -2
  105. package/lib/ImportantNotes/ImportantNotes.module.css +6 -2
  106. package/lib/ToastMessage/ToastMessage.module.css +2 -2
  107. package/lib/Upload/Upload.module.css +1 -1
  108. package/lib/alert/AlertLookup/AlertLookup.module.css +1 -1
  109. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +1 -1
  110. package/lib/errorstate/EmptyStates.module.css +3 -3
  111. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
  112. package/lib/form/fields/Fields.module.css +2 -2
  113. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  114. package/lib/list/status/StatusDropdown/StatusDropdown.js +1 -2
  115. package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
  116. package/lib/list/status/StatusListItem/StatusListItem.module.css +1 -1
  117. package/lib/lookup/Lookup/Lookup.js +1 -1
  118. package/lib/lookup/header/Close/LookupClose.module.css +1 -1
  119. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
  120. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
  121. package/lib/v1/Image/Image.js +26 -71
  122. package/lib/v1/Message/Message.js +23 -80
  123. package/lib/v1/PlusIcon/PlusIcon.js +25 -71
  124. package/lib/v1/Separator/Separator.js +44 -85
  125. package/lib/v1/avatar/AvatarClose/AvatarClose.js +32 -77
  126. package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +41 -86
  127. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +37 -80
  128. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +52 -97
  129. package/lib/v1/avatar/AvatarThread/AvatarThread.js +61 -106
  130. package/lib/v1/avatar/AvatarUser/AvatarUser.js +95 -140
  131. package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +85 -130
  132. package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +160 -253
  133. package/lib/v1/layout/SubtabLayout/SubtabLayout.js +107 -206
  134. package/lib/v1/list/SecondaryText/AccountName.js +63 -113
  135. package/lib/v1/list/SecondaryText/ContactName.js +67 -117
  136. package/lib/v1/list/SecondaryText/DepartmentText.js +16 -66
  137. package/lib/v1/list/SecondaryText/Email.js +32 -82
  138. package/lib/v1/list/SecondaryText/HappinessRating.js +21 -68
  139. package/lib/v1/list/SecondaryText/PhoneNumber.js +36 -86
  140. package/lib/v1/list/SecondaryText/PriorityText.js +16 -66
  141. package/lib/v1/list/SecondaryText/SecondaryText.js +19 -69
  142. package/lib/v1/list/SecondaryText/StatusText.js +17 -67
  143. package/lib/v1/list/SecondaryText/TicketId.js +33 -83
  144. package/lib/v1/list/SecondaryText/Website.js +29 -72
  145. package/lib/v1/list/SecondryPanel/SecondryPanel.js +69 -168
  146. package/lib/v1/list/SentimentStatus/SentimentStatus.js +19 -64
  147. package/lib/v1/list/status/StatusListItem/StatusListItem.js +81 -137
  148. package/lib/v1/lookup/EmptyPage/EmptyPage.js +43 -93
  149. package/lib/v1/lookup/Section/Section.js +14 -58
  150. package/lib/version2/GlobalNotification/GlobalNotification.module.css +1 -1
  151. package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
  152. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  153. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
  154. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
  155. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +3 -3
  156. package/package.json +7 -7
  157. package/result.json +1 -1
  158. package/unittest/index.html +1 -1
@@ -1,9 +1,9 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
3
  /**** Libraries ****/
4
- import React from 'react';
5
- import { defaultProps } from './../../../../list/status/StatusListItem/props/defaultProps';
6
- import { propTypes } from './../../../../list/status/StatusListItem/props/propTypes';
4
+ import React, { useRef } from 'react';
5
+ import { defaultProps } from '../../../../list/status/StatusListItem/props/defaultProps';
6
+ import { propTypes } from '../../../../list/status/StatusListItem/props/propTypes';
7
7
  import { Container, Box } from '@zohodesk/components/es/v1/Layout';
8
8
  /**** Components ****/
9
9
 
@@ -11,112 +11,87 @@ import { Icon } from '@zohodesk/icons';
11
11
  import CssProvider from '@zohodesk/components/es/v1/Provider/CssProvider';
12
12
  /**** CSS ****/
13
13
 
14
- import style from './../../../../list/status/StatusListItem/StatusListItem.module.css';
15
- export default class StatusListItem extends React.Component {
16
- constructor(props) {
17
- super(props);
18
- this.handleClick = this.handleClick.bind(this);
19
- this.getRef = this.getRef.bind(this);
20
- this.handleMouseEnter = this.handleMouseEnter.bind(this);
14
+ import style from '../../../../list/status/StatusListItem/StatusListItem.module.css';
15
+ export default function StatusListItem(props) {
16
+ let {
17
+ size,
18
+ active,
19
+ highlight,
20
+ value,
21
+ autoHover,
22
+ palette,
23
+ title,
24
+ disableTitle,
25
+ needTick,
26
+ isLink,
27
+ href,
28
+ target,
29
+ needBorder,
30
+ isDisabled,
31
+ bulletColor,
32
+ a11y,
33
+ needMultiLineText,
34
+ index,
35
+ getRef,
36
+ id,
37
+ onClick,
38
+ onMouseEnter
39
+ } = props;
40
+ let options = {};
41
+ let {
42
+ role,
43
+ ariaSelected,
44
+ ariaHidden = true
45
+ } = a11y;
46
+
47
+ if (isLink) {
48
+ options.href = href;
49
+ options.target = `_${target}`;
21
50
  }
22
51
 
23
- getRef(ele) {
24
- this.ele = ele;
25
- let {
26
- index,
27
- getRef,
28
- id
29
- } = this.props;
30
- getRef && getRef(ele, index, id);
52
+ const element = useRef(null);
53
+
54
+ function getReference(ele) {
55
+ element.current = ele;
56
+ getRef && getRef(element.current, index, id);
31
57
  }
32
58
 
33
- handleClick(e) {
34
- let {
35
- onClick,
36
- id,
37
- value,
38
- index
39
- } = this.props;
59
+ function handleClick(e) {
40
60
  onClick && onClick(id, value, index, e);
41
61
  }
42
62
 
43
- handleMouseEnter(e) {
44
- let {
45
- onMouseEnter,
46
- id,
47
- value,
48
- index
49
- } = this.props;
63
+ function handleMouseEnter(e) {
50
64
  onMouseEnter && onMouseEnter(id, value, index, e);
51
65
  }
52
66
 
53
- render() {
54
- let {
55
- size,
56
- active,
57
- highlight,
58
- value,
59
- autoHover,
60
- palette,
61
- title,
62
- disableTitle,
63
- needTick,
64
- isLink,
65
- href,
66
- target,
67
- needBorder,
68
- isDisabled,
69
- bulletColor,
70
- a11y,
71
- needMultiLineText
72
- } = this.props;
73
- let options = {};
74
- let {
75
- role,
76
- ariaSelected,
77
- ariaHidden = true
78
- } = a11y;
79
-
80
- if (isLink) {
81
- options.href = href;
82
- options.target = `_${target}`;
83
- }
84
-
85
- return /*#__PURE__*/React.createElement(Container, _extends({
86
- role: role,
87
- "aria-selected": ariaSelected,
88
- isCover: false,
89
- align: "baseline",
90
- alignBox: "row",
91
- className: `${style.list} ${style[size]} ${style[palette]} ${active ? style.active : highlight && !isDisabled ? style.hover : ''} ${autoHover && !isDisabled ? style.effect : ''} ${needTick ? style.withTick : ''} ${isDisabled ? CssProvider('isDisable') : ''} ${needBorder ? style.withBorder : ''}`,
92
- dataId: String(value).replace("'", '_'),
93
- onClick: !isDisabled && this.handleClick,
94
- onMouseEnter: this.handleMouseEnter,
95
- eleRef: this.getRef,
96
- tagName: isLink ? 'a' : 'li',
97
- "data-title": isDisabled ? disableTitle : null,
98
- tabindex: isDisabled ? '-1' : '0'
99
- }, options), /*#__PURE__*/React.createElement(Box, {
100
- className: `${style.statusType} ${style[bulletColor]}`
101
- }), /*#__PURE__*/React.createElement(Box, {
102
- "data-title": isDisabled ? null : title,
103
- flexible: true,
104
- shrink: true,
105
- className: needMultiLineText ? style.multiLineValue : style.value
106
- }, value), needTick && active ? /*#__PURE__*/React.createElement("div", {
107
- className: style.tickIcon,
108
- "aria-hidden": ariaHidden
109
- }, /*#__PURE__*/React.createElement(Icon, {
110
- name: "ZD-ticknew",
111
- size: "8"
112
- })) : null);
113
- }
114
-
67
+ return /*#__PURE__*/React.createElement(Container, _extends({
68
+ role: role,
69
+ "aria-selected": ariaSelected,
70
+ isCover: false,
71
+ align: "baseline",
72
+ alignBox: "row",
73
+ className: `${style.list} ${style[size]} ${style[palette]} ${active ? style.active : highlight && !isDisabled ? style.hover : ''} ${autoHover && !isDisabled ? style.effect : ''} ${needTick ? style.withTick : ''} ${isDisabled ? CssProvider('isDisable') : ''} ${needBorder ? style.withBorder : ''}`,
74
+ dataId: String(value).replace("'", '_'),
75
+ onClick: !isDisabled && handleClick,
76
+ onMouseEnter: handleMouseEnter,
77
+ eleRef: getReference,
78
+ tagName: isLink ? 'a' : 'li',
79
+ "data-title": isDisabled ? disableTitle : null,
80
+ tabindex: isDisabled ? '-1' : '0'
81
+ }, options), /*#__PURE__*/React.createElement(Box, {
82
+ className: `${style.statusType} ${style[bulletColor]}`
83
+ }), /*#__PURE__*/React.createElement(Box, {
84
+ "data-title": isDisabled ? null : title,
85
+ flexible: true,
86
+ shrink: true,
87
+ className: needMultiLineText ? style.multiLineValue : style.value
88
+ }, value), needTick && active ? /*#__PURE__*/React.createElement("div", {
89
+ className: style.tickIcon,
90
+ "aria-hidden": ariaHidden
91
+ }, /*#__PURE__*/React.createElement(Icon, {
92
+ name: "ZD-ticknew",
93
+ size: "8"
94
+ })) : null);
115
95
  }
116
96
  StatusListItem.defaultProps = defaultProps;
117
- StatusListItem.propTypes = propTypes; // if (__DOCS__) {
118
- // StatusListItem.docs = {
119
- // componentGroup: 'StatusListItem',
120
- // folderName: 'List'
121
- // };
122
- // }
97
+ StatusListItem.propTypes = propTypes;
@@ -1,5 +1,5 @@
1
1
  /*** Libraries ***/
2
- import React, { Component } from 'react';
2
+ import React from 'react';
3
3
  import { defaultProps } from '../../../lookup/EmptyPage/props/defaultProps';
4
4
  import { propTypes } from '../../../lookup/EmptyPage/props/propTypes';
5
5
  import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
@@ -9,13 +9,13 @@ import EmptyProducts from '@zohodesk/svg/lib/emptystate/version3/EmptyProducts';
9
9
  /*** CSS ***/
10
10
 
11
11
  import style from '../../../lookup/EmptyPage/LookupEmptyPage.module.css';
12
- export default class EmptyPage extends Component {
13
- constructor(props) {
14
- super(props);
15
- this.renderEmptyState = this.renderEmptyState.bind();
16
- }
12
+ export default function EmptyPage(props) {
13
+ let {
14
+ type,
15
+ title
16
+ } = props;
17
17
 
18
- renderEmptyState(type) {
18
+ function renderEmptyState(type) {
19
19
  switch (type) {
20
20
  case 'search':
21
21
  return /*#__PURE__*/React.createElement(EmptySearch, {
@@ -42,24 +42,13 @@ export default class EmptyPage extends Component {
42
42
  }
43
43
  }
44
44
 
45
- render() {
46
- let {
47
- type,
48
- title
49
- } = this.props;
50
- return /*#__PURE__*/React.createElement("div", {
51
- className: style.container,
52
- "data-id": `empty_${type}`,
53
- "data-test-id": `empty_${type}`
54
- }, this.renderEmptyState(type), /*#__PURE__*/React.createElement("div", {
55
- className: style.contentDiv
56
- }, title));
57
- }
58
-
45
+ return /*#__PURE__*/React.createElement("div", {
46
+ className: style.container,
47
+ "data-id": `empty_${type}`,
48
+ "data-test-id": `empty_${type}`
49
+ }, renderEmptyState(type), /*#__PURE__*/React.createElement("div", {
50
+ className: style.contentDiv
51
+ }, title));
59
52
  }
60
53
  EmptyPage.propTypes = propTypes;
61
- EmptyPage.defaultProps = defaultProps; // if (__DOCS__) {
62
- // EmptyPage.docs = {
63
- // componentGroup: 'Lookup'
64
- // };
65
- // }
54
+ EmptyPage.defaultProps = defaultProps;
@@ -1,25 +1,19 @@
1
- import React, { Component } from 'react';
1
+ import React from 'react';
2
2
  import { propTypes } from '../../../lookup/Section/props/propTypes';
3
3
  import { Container, Box } from '@zohodesk/components/es/v1/Layout';
4
4
  import style from '../../../lookup/Section/LookupSection.module.css';
5
- export default class Section extends Component {
6
- constructor(props) {
7
- super(props);
8
- }
9
-
10
- render() {
11
- let {
12
- alignBox,
13
- className
14
- } = this.props;
15
- return /*#__PURE__*/React.createElement(Container, {
16
- "data-drag-container": "true",
17
- alignBox: alignBox,
18
- className: `${style.section} ${className ? className : ''}`
19
- }, /*#__PURE__*/React.createElement(Box, {
20
- flexible: true
21
- }, this.props.children));
22
- }
23
-
5
+ export default function Section(props) {
6
+ let {
7
+ alignBox,
8
+ className,
9
+ children
10
+ } = props;
11
+ return /*#__PURE__*/React.createElement(Container, {
12
+ "data-drag-container": "true",
13
+ alignBox: alignBox,
14
+ className: `${style.section} ${className ? className : ''}`
15
+ }, /*#__PURE__*/React.createElement(Box, {
16
+ flexible: true
17
+ }, children));
24
18
  }
25
19
  Section.propTypes = propTypes;
@@ -99,7 +99,7 @@
99
99
  font-size: var(--zd_font_size14) ;
100
100
  font-family: var(--zd_semibold);
101
101
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
102
- line-height: var(--zd_size20);
102
+ line-height: 1.4285714285714286;
103
103
  }
104
104
 
105
105
  [dir=ltr] .text {
@@ -8,7 +8,7 @@
8
8
  font-family: var(--zd_bold);
9
9
  }
10
10
  .desc {
11
- line-height: var(--zd_size22);
11
+ line-height: 1.57142857143;
12
12
  }
13
13
  .large .errorState {
14
14
  width: var(--zd_size450) ;
@@ -55,7 +55,7 @@
55
55
  .title {
56
56
  color: var(--zdt_alertlookupnew_text);
57
57
  font-size: var(--zd_font_size18) ;
58
- line-height: var(--zd_size22);
58
+ line-height: 1.2222222222222223;
59
59
  font-family: var(--zd_bold);
60
60
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
61
61
  vertical-align: middle;
@@ -5,7 +5,7 @@
5
5
  .innerSection {
6
6
  color: var(--zdt_alertlookupnew_text);
7
7
  font-size: var(--zd_font_size14) ;
8
- line-height: var(--zd_size18);
8
+ line-height: 1.2857142857142858;
9
9
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
10
10
  padding: var(--zd_size17) var(--zd_size30) var(--zd_size30) ;
11
11
  }
@@ -102,7 +102,7 @@
102
102
 
103
103
  .subTitle {
104
104
  font-size: var(--zd_font_size15) ;
105
- line-height: var(--zd_size20);
105
+ line-height: 1.3333333333333333;
106
106
  font-family: var(--zd_semibold);
107
107
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
108
108
  }
@@ -113,7 +113,7 @@
113
113
 
114
114
  .infoText {
115
115
  font-size: var(--zd_font_size14) ;
116
- line-height: var(--zd_size18);
116
+ line-height: 1.2857142857142858;
117
117
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
118
118
  }
119
119
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  .title {
16
16
  font-size: var(--zd_font_size18) ;
17
- line-height: var(--zd_size22);
17
+ line-height: 1.2222222222222223;
18
18
  font-family: var(--zd_bold);
19
19
  composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
20
20
  }
@@ -70,7 +70,7 @@
70
70
  }
71
71
 
72
72
  .primary .infoText {
73
- line-height: var(--zd_size18);
73
+ line-height: 1;
74
74
  }
75
75
 
76
76
  .primary .close {
@@ -99,7 +99,7 @@
99
99
  }
100
100
 
101
101
  .secondary .infoText {
102
- line-height: var(--zd_size20);
102
+ line-height: 1.42857142857;
103
103
  }
104
104
 
105
105
  .secondary .iconContainer {
@@ -82,12 +82,12 @@
82
82
 
83
83
  .medium .atatchName {
84
84
  font-size: var(--zd_font_size14) ;
85
- line-height: var(--zd_size20);
85
+ line-height: 1.4285714285714286;
86
86
  }
87
87
 
88
88
  .small .atatchName {
89
89
  font-size: var(--zd_font_size12) ;
90
- line-height: var(--zd_size15);
90
+ line-height: 1.25;
91
91
  }
92
92
 
93
93
  .attachSize {
@@ -79,7 +79,7 @@
79
79
  font-size: var(--zd_font_size22) ;
80
80
  height: var(--zd_size38) ;
81
81
  width: var(--zd_size38) ;
82
- line-height: var(--zd_size36);
82
+ line-height: 1.6363636363636365;
83
83
  border-radius: 50%;
84
84
  cursor: pointer;
85
85
  }
@@ -268,7 +268,7 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
268
268
  _focusScopeProps$need4 = focusScopeProps.needFocusLoop,
269
269
  needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
270
270
  _focusScopeProps$need5 = focusScopeProps.needEnterAction,
271
- needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
271
+ needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
272
272
 
273
273
  var childrenWithProps = _react["default"].Children.map(children, function (child) {
274
274
  if (child.type === Header || child.type === Footer || child.type === Content) {
@@ -73,8 +73,8 @@ var IconButton = /*#__PURE__*/function (_React$Component) {
73
73
  key: "handleToggle",
74
74
  value: function handleToggle(e) {
75
75
  if (e.key === ' ' || e.key === 'Enter' || e.key === 'Spacebar') {
76
- e.preventDefault(); // this.triggerClick(e);
77
-
76
+ e.preventDefault();
77
+ this.triggerClick(e);
78
78
  this.triggerMouseDown(e);
79
79
  }
80
80
  }
@@ -2,19 +2,23 @@
2
2
  background: var(--zdt_importantnotes_bg);
3
3
  padding: var(--zd_size5) var(--zd_size10) ;
4
4
  }
5
+
5
6
  .title {
6
7
  font-size: var(--zd_font_size13) ;
7
- line-height: var(--zd_font_size18);
8
+ line-height: 1.3846153846153846;
8
9
  color: var(--zdt_importantnotes_title_text);
9
10
  }
11
+
10
12
  .icon {
11
13
  color: var(--zdt_importantnotes_icon);
12
14
  font-size: 0 ;
13
15
  margin-top: var(--zd_size1) ;
14
16
  }
17
+
15
18
  [dir=ltr] .icon {
16
19
  margin-right: var(--zd_size5) ;
17
20
  }
21
+
18
22
  [dir=rtl] .icon {
19
23
  margin-left: var(--zd_size5) ;
20
- }
24
+ }
@@ -177,14 +177,14 @@
177
177
  .alertMessage {
178
178
  font-size: var(--zd_font_size12) ;
179
179
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
180
- line-height: var(--zd_size16);
180
+ line-height: 1.3333333333333333;
181
181
  color: var(--zdt_toastmessage_alert_text);
182
182
  margin-top: var(--zd_size5) ;
183
183
  }
184
184
 
185
185
  .buttonText {
186
186
  font-size: inherit ;
187
- line-height: var(--zd_size14);
187
+ line-height: normal;
188
188
  text-align: center;
189
189
  padding: 0 var(--zd_size7) ;
190
190
  cursor: pointer;
@@ -88,7 +88,7 @@
88
88
  width: var(--zd_size12) ;
89
89
  top: 0 ;
90
90
  position: absolute;
91
- line-height: var(--zd_size10);
91
+ line-height: 0.8333333333333334;
92
92
  font-size: var(--zd_font_size12) ;
93
93
  text-align: center;
94
94
  }
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .innerSection {
6
- line-height: var(--zd_size25);
6
+ line-height: 1.6666666666666667;
7
7
  color: var(--zdt_alertlookup_innersection_text);
8
8
  font-size: var(--zd_font_size15) ;
9
9
  word-break: break-word;
@@ -57,7 +57,7 @@
57
57
  margin-left: var(--zd_size4) ;
58
58
  }
59
59
  .desc {
60
- line-height: var(--zd_size19);
60
+ line-height: 1.3571428571428572;
61
61
  }
62
62
  .link {
63
63
  color: var(--linkColor);
@@ -33,15 +33,15 @@
33
33
  }
34
34
  .title {
35
35
  font-size: var(--zd_font_size50) ;
36
- line-height: var(--zd_size70);
36
+ line-height: 1.4;
37
37
  }
38
38
  .tabletTitle {
39
39
  font-size: var(--zd_font_size24) ;
40
- line-height: var(--zd_size50);
40
+ line-height: 2.0833333333333335;
41
41
  }
42
42
  .mobileTitle {
43
43
  font-size: var(--zd_font_size22) ;
44
- line-height: var(--zd_size30);
44
+ line-height: 1.3636363636363635;
45
45
  }
46
46
  .subtitle {
47
47
  font-size: var(--zd_font_size30) ;
@@ -13,7 +13,7 @@
13
13
  font-size: var(--zd_font_size30) ;
14
14
  }
15
15
  .lastBox {
16
- line-height: var(--zd_size24);
16
+ line-height: 1.7142857142857142;
17
17
  font-size: var(--zd_font_size14) ;
18
18
  margin: 0 auto ;
19
19
  margin-bottom: var(--zd_size20) ;
@@ -35,7 +35,7 @@
35
35
  }
36
36
  .checkboxText {
37
37
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
38
- line-height: normal;
38
+ line-height: 1.2;
39
39
  }
40
40
  [dir=ltr] .checkboxText {
41
41
  padding-left: var(--zd_size6) ;
@@ -169,7 +169,7 @@
169
169
  color: var(--zdt_fields_phitag_text);
170
170
  font-size: var(--zd_font_size12) ;
171
171
  height: var(--zd_size18) ;
172
- line-height: var(--zd_size18);
172
+ line-height: 1.5;
173
173
  background-color: var(--zdt_fields_phitag_bg);
174
174
  border: 1px solid var(--zdt_fields_phitag_border);
175
175
  padding: 0 var(--zd_size5) ;
@@ -12,7 +12,7 @@
12
12
  font-size: var(--zd_font_size12) ;
13
13
  display: inline-block;
14
14
  color: var(--zdt_setupdetail_backicon);
15
- line-height: var(--zd_size30);
15
+ line-height: 2.5;
16
16
  text-align: center;
17
17
  border-radius: 50%;
18
18
  cursor: pointer;
@@ -29,7 +29,7 @@
29
29
  }
30
30
  .title {
31
31
  font-size: var(--zd_font_size16) ;
32
- line-height: var(--zd_size16);
32
+ line-height: 1;
33
33
  font-family: var(--zd_semibold);
34
34
  color: var(--zdt_setupdetail_backicon);
35
35
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
@@ -57,7 +57,7 @@
57
57
  padding: var(--zd_size12) 0 0 var(--zd_size15) ;
58
58
  }
59
59
  .helpInfo {
60
- line-height: var(--zd_size26);
60
+ line-height: 2.3636363636363638;
61
61
  height: var(--zd_size28) ;
62
62
  width: var(--zd_size28) ;
63
63
  color: var(--zdt_setupdetail_helpinfo_text);
@@ -120,7 +120,7 @@
120
120
  height: var(--zd_size26) ;
121
121
  width: var(--zd_size26) ;
122
122
  font-size: var(--zd_font_size12) ;
123
- line-height: var(--zd_size24);
123
+ line-height: 2;
124
124
  text-align: center;
125
125
  border: 1px solid var(--zdt_setupdetail_infoicon_border);
126
126
  border-radius: 2px;
@@ -508,8 +508,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
508
508
  needMultiLineText: needMultiLineText,
509
509
  a11y: {
510
510
  role: isSearch ? 'option' : 'menuitem',
511
- ariaSelected: value === item[keyName],
512
- 'data-a11y-list-active': selectedIndex === i
511
+ ariaSelected: value === item[keyName]
513
512
  }
514
513
  }));
515
514
  })) : isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_CommonEmptyState["default"], {
@@ -138,7 +138,7 @@ var StatusListItem = /*#__PURE__*/function (_React$Component) {
138
138
  tagName: isLink ? 'a' : 'li',
139
139
  "data-title": isDisabled ? disableTitle : null,
140
140
  tabindex: isDisabled ? '-1' : '0'
141
- }, options, a11y), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
141
+ }, options), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
142
142
  className: "".concat(_StatusListItemModule["default"].statusType, " ").concat(_StatusListItemModule["default"][bulletColor])
143
143
  }), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
144
144
  "data-title": isDisabled ? null : title,
@@ -31,7 +31,7 @@
31
31
  padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3) ;
32
32
  }
33
33
  .value,.multiLineValue {
34
- line-height: var(--zd_size20);
34
+ line-height: 1.53846153846;
35
35
  }
36
36
  .value {
37
37
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
@@ -119,7 +119,7 @@ var Lookup = /*#__PURE__*/function (_Component) {
119
119
  _focusScopeProps$need4 = focusScopeProps.needFocusLoop,
120
120
  needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
121
121
  _focusScopeProps$need5 = focusScopeProps.needEnterAction,
122
- needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
122
+ needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
123
123
 
124
124
  var content = /*#__PURE__*/_react["default"].createElement("div", {
125
125
  ref: this.createRef,
@@ -1,7 +1,7 @@
1
1
  .container {
2
2
  width: var(--zd_size25) ;
3
3
  height: var(--zd_size25) ;
4
- line-height: var(--zd_size25);
4
+ line-height: 2.7777777777777777;
5
5
  color: var(--zdt_lookupclose_default_text);
6
6
  transition: var(--zd_transition2) cubic-bezier(0.4, 1, 0.65, 1);
7
7
  font-size: var(--zd_font_size9) ;
@@ -26,7 +26,7 @@
26
26
  /* Label Style */
27
27
  .labelCnt {
28
28
  composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
29
- line-height: var(--zd_size20);
29
+ line-height: 1.66666666667;
30
30
  color: var(--zdt_viewdropdown_label_text);
31
31
  cursor: pointer;
32
32
  }