@zohodesk/dot 1.0.0-temp-182 → 1.0.0-temp-183

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 (193) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +50 -0
  3. package/assets/Appearance/light/mode/Dot_LightMode.module.css +50 -0
  4. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +50 -0
  5. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  6. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  7. package/coverage/ExternalLink/index.html +1 -1
  8. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  9. package/coverage/ExternalLink/props/index.html +1 -1
  10. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  11. package/coverage/IconButton/IconButton.js.html +1 -1
  12. package/coverage/IconButton/IconButton.module.css.html +1 -1
  13. package/coverage/IconButton/index.html +1 -1
  14. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  15. package/coverage/IconButton/props/index.html +1 -1
  16. package/coverage/IconButton/props/propTypes.js.html +1 -1
  17. package/coverage/Image/Image.js.html +1 -1
  18. package/coverage/Image/Image.module.css.html +1 -1
  19. package/coverage/Image/index.html +1 -1
  20. package/coverage/Image/props/defaultProps.js.html +1 -1
  21. package/coverage/Image/props/index.html +1 -1
  22. package/coverage/Image/props/propTypes.js.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +7 -4
  25. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  29. package/coverage/coverage-final.json +16 -16
  30. package/coverage/coverage-summary.json +16 -16
  31. package/coverage/index.html +1 -1
  32. package/es/Attachment/Attachment.module.css +4 -4
  33. package/es/ChannelIcon/ChannelIcon.module.css +1 -1
  34. package/es/Drawer/Drawer.js +5 -4
  35. package/es/Drawer/Drawer.module.css +3 -3
  36. package/es/ExternalLink/ExternalLink.js +5 -4
  37. package/es/FlipCard/FlipCard.js +12 -14
  38. package/es/IconButton/IconButton.js +5 -4
  39. package/es/ImportantNotes/ImportantNotes.module.css +1 -1
  40. package/es/Link/Link.js +10 -8
  41. package/es/Message/Message.js +5 -4
  42. package/es/Message/Message.module.css +1 -1
  43. package/es/Separator/Separator.module.css +2 -11
  44. package/es/TagWithIcon/TagWithIcon.module.css +2 -2
  45. package/es/ToastMessage/ToastMessage.js +4 -2
  46. package/es/ToastMessage/ToastMessage.module.css +3 -3
  47. package/es/actions/AutoClose.js +1 -2
  48. package/es/alert/AlertHeader/AlertHeader.module.css +2 -4
  49. package/es/alert/AlertLookup/AlertLookup.js +12 -14
  50. package/es/avatar/AvatarClose/AvatarClose.js +7 -7
  51. package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
  52. package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
  53. package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
  54. package/es/avatar/AvatarThread/AvatarThread.js +7 -7
  55. package/es/avatar/AvatarUser/AvatarUser.js +9 -10
  56. package/es/avatar/AvatarUser/AvatarUser.module.css +2 -46
  57. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
  58. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
  59. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
  60. package/es/errorstate/EmptyStates.module.css +1 -24
  61. package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
  62. package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
  63. package/es/form/fields/DateField/DateField.js +14 -14
  64. package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
  65. package/es/form/fields/PhoneField/PhoneField.js +7 -7
  66. package/es/form/fields/RadioField/RadioField.js +15 -18
  67. package/es/form/fields/SelectField/SelectField.js +14 -14
  68. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -16
  69. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  70. package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
  71. package/es/form/fields/TextEditor/TextEditor.module.css +63 -48
  72. package/es/form/fields/TextEditorField/TextEditorField.js +10 -11
  73. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
  74. package/es/form/fields/TextareaField/TextareaField.js +13 -14
  75. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +2 -22
  76. package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
  77. package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  78. package/es/list/AvatarFlip/AvatarFlip.module.css +2 -2
  79. package/es/list/DepartmentDropDown/DepartmentDropDown.js +9 -3
  80. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +2 -4
  81. package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
  82. package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
  83. package/es/list/GridStencils/GridStencils.module.css +1 -35
  84. package/es/list/ListLayout/ListLayout.js +5 -4
  85. package/es/list/SecondaryText/AccountName.js +12 -12
  86. package/es/list/SecondaryText/ContactName.js +9 -8
  87. package/es/list/SecondaryText/Email.js +8 -8
  88. package/es/list/SecondaryText/PhoneNumber.js +8 -8
  89. package/es/list/SecondaryText/SecondaryText.js +5 -4
  90. package/es/list/SecondaryText/TicketId.js +7 -7
  91. package/es/list/Subject/Subject.js +7 -7
  92. package/es/list/Subject/Subject.module.css +1 -1
  93. package/es/list/status/StatusListItem/StatusListItem.js +5 -5
  94. package/es/list/status/StatusListItem/StatusListItem.module.css +2 -1
  95. package/es/lookup/Lookup/Lookup.js +5 -4
  96. package/es/lookup/header/Close/LookupClose.module.css +2 -3
  97. package/es/lookup/header/Search/Search.js +3 -5
  98. package/es/lookup/header/Title/LookupTitle.module.css +2 -6
  99. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +2 -13
  100. package/es/lookup/header/lookupHeaderCommon.module.css +2 -9
  101. package/es/setup/header/Search/Search.module.css +2 -14
  102. package/es/setup/table/Text/TableText.module.css +2 -11
  103. package/es/v1/Drawer/Drawer.js +5 -4
  104. package/es/v1/ExternalLink/ExternalLink.js +5 -4
  105. package/es/v1/FlipCard/FlipCard.js +12 -14
  106. package/es/v1/GlobalNotification/GlobalNotification.js +7 -6
  107. package/es/v1/IconButton/IconButton.js +5 -4
  108. package/es/v1/Link/Link.js +10 -8
  109. package/es/v1/Message/Message.js +5 -4
  110. package/es/v1/ToastMessage/ToastMessage.js +4 -2
  111. package/es/v1/actions/AutoClose.js +1 -2
  112. package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
  113. package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
  114. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
  115. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -4
  116. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +8 -7
  117. package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
  118. package/es/v1/avatar/AvatarUser/AvatarUser.js +9 -10
  119. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
  120. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
  121. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +13 -15
  122. package/es/v1/form/fields/CurrencyField/CurrencyField.js +12 -14
  123. package/es/v1/form/fields/DateField/DateField.js +14 -14
  124. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +12 -13
  125. package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
  126. package/es/v1/form/fields/RadioField/RadioField.js +16 -18
  127. package/es/v1/form/fields/SelectField/SelectField.js +14 -14
  128. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
  129. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  130. package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
  131. package/es/v1/form/fields/TextEditorField/TextEditorField.js +10 -11
  132. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
  133. package/es/v1/form/fields/TextareaField/TextareaField.js +13 -14
  134. package/es/v1/layout/SubtabLayout/SubtabLayout.js +6 -4
  135. package/es/v1/list/ListLayout/ListLayout.js +5 -4
  136. package/es/v1/list/SecondaryText/AccountName.js +12 -12
  137. package/es/v1/list/SecondaryText/ContactName.js +9 -8
  138. package/es/v1/list/SecondaryText/Email.js +8 -8
  139. package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
  140. package/es/v1/list/SecondaryText/SecondaryText.js +5 -4
  141. package/es/v1/list/SecondaryText/TicketId.js +7 -7
  142. package/es/v1/list/Subject/Subject.js +7 -7
  143. package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
  144. package/es/v1/lookup/Lookup/Lookup.js +5 -4
  145. package/es/v1/lookup/header/Search/Search.js +3 -5
  146. package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -6
  147. package/es/version2/GlobalNotification/GlobalNotification.js +7 -6
  148. package/es/version2/GlobalNotification/GlobalNotification.module.css +6 -6
  149. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +2 -7
  150. package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
  151. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +2 -8
  152. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
  153. package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
  154. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +3 -4
  155. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +93 -96
  156. package/lib/Attachment/Attachment.module.css +4 -4
  157. package/lib/ChannelIcon/ChannelIcon.module.css +1 -1
  158. package/lib/Drawer/Drawer.module.css +3 -3
  159. package/lib/ImportantNotes/ImportantNotes.module.css +1 -1
  160. package/lib/Message/Message.module.css +1 -1
  161. package/lib/Separator/Separator.module.css +2 -11
  162. package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
  163. package/lib/ToastMessage/ToastMessage.module.css +3 -3
  164. package/lib/alert/AlertHeader/AlertHeader.module.css +2 -4
  165. package/lib/avatar/AvatarUser/AvatarUser.module.css +2 -46
  166. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
  167. package/lib/errorstate/EmptyStates.module.css +1 -24
  168. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
  169. package/lib/form/fields/TextEditor/TextEditor.module.css +63 -48
  170. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +2 -22
  171. package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  172. package/lib/list/AvatarFlip/AvatarFlip.module.css +2 -2
  173. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
  174. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +2 -4
  175. package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
  176. package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
  177. package/lib/list/GridStencils/GridStencils.module.css +1 -35
  178. package/lib/list/Subject/Subject.module.css +1 -1
  179. package/lib/list/status/StatusListItem/StatusListItem.module.css +2 -1
  180. package/lib/lookup/header/Close/LookupClose.module.css +2 -3
  181. package/lib/lookup/header/Title/LookupTitle.module.css +2 -6
  182. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +2 -13
  183. package/lib/lookup/header/lookupHeaderCommon.module.css +2 -9
  184. package/lib/setup/header/Search/Search.module.css +2 -14
  185. package/lib/setup/table/Text/TableText.module.css +2 -11
  186. package/lib/version2/GlobalNotification/GlobalNotification.module.css +6 -6
  187. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +2 -7
  188. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +2 -8
  189. package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
  190. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +3 -4
  191. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +93 -96
  192. package/package.json +4 -4
  193. package/result.json +1 -1
@@ -1,3 +1,5 @@
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
+
1
3
  import React, { Component } from 'react';
2
4
  import { ContactName_defaultProps } from './props/defaultProps';
3
5
  import { ContactName_propTypes } from './props/propTypes';
@@ -52,23 +54,22 @@ export default class ContactName extends Component {
52
54
  iconClass: style.icon
53
55
  })), /*#__PURE__*/React.createElement(Box, {
54
56
  flexible: true
55
- }, isLink ? /*#__PURE__*/React.createElement(Link, {
57
+ }, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
56
58
  urlName: urlName,
57
59
  href: href,
58
60
  urlData: urlData,
59
61
  onClick: onClick,
60
62
  title: dataTitle,
61
63
  dataId: `${dataId}_link`,
62
- className: style.link,
63
- ...LinkProps,
64
+ className: style.link
65
+ }, LinkProps, {
64
66
  ariaLabel: `Contact Name ${text}`
65
- }, /*#__PURE__*/React.createElement("div", {
67
+ }), /*#__PURE__*/React.createElement("div", {
66
68
  className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
67
- }, text)) : /*#__PURE__*/React.createElement("div", {
69
+ }, text)) : /*#__PURE__*/React.createElement("div", _extends({
68
70
  className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
69
- "data-title": dataTitle,
70
- ...TextProps
71
- }, text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
71
+ "data-title": dataTitle
72
+ }, TextProps), text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
72
73
  type: sentimentType,
73
74
  dataTitle: sentimentDataTitle
74
75
  })));
@@ -1,3 +1,5 @@
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
+
1
3
  /* eslint-disable react/forbid-component-props */
2
4
 
3
5
  /**** Libraries ****/
@@ -28,21 +30,19 @@ export default class Email extends Component {
28
30
  LinkProps = {},
29
31
  TextProps = {}
30
32
  } = customProps;
31
- return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
33
+ return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
32
34
  href: href,
33
35
  title: title,
34
36
  urlData: urlData,
35
37
  urlName: urlName,
36
38
  target: target,
37
- className: style.link,
38
- ...LinkProps
39
- }, /*#__PURE__*/React.createElement("div", {
39
+ className: style.link
40
+ }, LinkProps), /*#__PURE__*/React.createElement("div", {
40
41
  className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
41
- }, text)) : /*#__PURE__*/React.createElement("div", {
42
+ }, text)) : /*#__PURE__*/React.createElement("div", _extends({
42
43
  className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''}`,
43
- "data-title": title,
44
- ...TextProps
45
- }, text));
44
+ "data-title": title
45
+ }, TextProps), text));
46
46
  }
47
47
 
48
48
  }
@@ -1,3 +1,5 @@
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
+
1
3
  /* eslint-disable react/forbid-component-props */
2
4
 
3
5
  /**** Libraries ****/
@@ -30,7 +32,7 @@ export default class PhoneNumber extends Component {
30
32
  LinkProps = {},
31
33
  TextProps = {}
32
34
  } = customProps;
33
- return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
35
+ return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
34
36
  href: href,
35
37
  title: title,
36
38
  urlData: urlData,
@@ -38,15 +40,13 @@ export default class PhoneNumber extends Component {
38
40
  dataId: dataId,
39
41
  target: target,
40
42
  hasReload: hasReload,
41
- className: style.link,
42
- ...LinkProps
43
- }, /*#__PURE__*/React.createElement("div", {
43
+ className: style.link
44
+ }, LinkProps), /*#__PURE__*/React.createElement("div", {
44
45
  className: `${style.phoneNumber} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
45
- }, text)) : /*#__PURE__*/React.createElement("div", {
46
+ }, text)) : /*#__PURE__*/React.createElement("div", _extends({
46
47
  className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''}`,
47
- "data-title": title,
48
- ...TextProps
49
- }, text));
48
+ "data-title": title
49
+ }, TextProps), text));
50
50
  }
51
51
 
52
52
  }
@@ -1,3 +1,5 @@
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
+
1
3
  import React, { Component } from 'react';
2
4
  import { SecondaryText_defaultProps } from './props/defaultProps';
3
5
  import { SecondaryText_propTypes } from './props/propTypes';
@@ -19,14 +21,13 @@ export default class SecondaryText extends Component {
19
21
  let {
20
22
  SecondaryTextProps
21
23
  } = customProps;
22
- return /*#__PURE__*/React.createElement("div", {
24
+ return /*#__PURE__*/React.createElement("div", _extends({
23
25
  className: `${style.secondaryText} ${className ? className : ''}`,
24
26
  "data-title": dataTitle,
25
27
  "data-id": dataId,
26
28
  "data-test-id": dataId,
27
- onClick: onClick,
28
- ...SecondaryTextProps
29
- }, text);
29
+ onClick: onClick
30
+ }, SecondaryTextProps), text);
30
31
  }
31
32
 
32
33
  }
@@ -1,3 +1,5 @@
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
+
1
3
  import React, { Component } from 'react';
2
4
  import { TicketId_defaultProps } from './props/defaultProps';
3
5
  import { TicketId_propTypes } from './props/propTypes';
@@ -26,21 +28,19 @@ export default class TicketId extends Component {
26
28
  LinkProps = {},
27
29
  TicketIdProps = {}
28
30
  } = customProps;
29
- return /*#__PURE__*/React.createElement("div", {
31
+ return /*#__PURE__*/React.createElement("div", _extends({
30
32
  className: `${style.ticketId} ${isLink ? style.ticketIdLink : ''} ${className ? className : ''}`,
31
33
  "data-id": dataId,
32
34
  "data-test-id": dataId,
33
35
  "data-title": dataTitle,
34
- onClick: !isLink && onClick,
35
- ...TicketIdProps
36
- }, isLink ? /*#__PURE__*/React.createElement(Link, {
36
+ onClick: !isLink && onClick
37
+ }, TicketIdProps), isLink ? /*#__PURE__*/React.createElement(Link, _extends({
37
38
  urlName: urlName,
38
39
  urlData: urlData,
39
40
  href: url,
40
41
  target: target,
41
- onClick: onClick,
42
- ...LinkProps
43
- }, text) : text);
42
+ onClick: onClick
43
+ }, LinkProps), text) : text);
44
44
  }
45
45
 
46
46
  }
@@ -1,3 +1,5 @@
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
+
1
3
  import React, { Component } from 'react';
2
4
  import { defaultProps } from './props/defaultProps';
3
5
  import { propTypes } from './props/propTypes';
@@ -28,7 +30,7 @@ export default class Subject extends Component {
28
30
  LinkProps = {},
29
31
  TextProps = {}
30
32
  } = customProps;
31
- return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
33
+ return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
32
34
  urlName: urlName,
33
35
  href: href,
34
36
  urlData: urlData,
@@ -36,15 +38,13 @@ export default class Subject extends Component {
36
38
  className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]} ${style.cursorPointer}`,
37
39
  dataId: dataId,
38
40
  title: text,
39
- target: target,
40
- ...LinkProps
41
- }, children ? children : text) : /*#__PURE__*/React.createElement("span", {
41
+ target: target
42
+ }, LinkProps), children ? children : text) : /*#__PURE__*/React.createElement("span", _extends({
42
43
  className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]}`,
43
44
  "data-title": text,
44
45
  "data-id": dataId,
45
- "data-test-id": dataId,
46
- ...TextProps
47
- }, text));
46
+ "data-test-id": dataId
47
+ }, TextProps), text));
48
48
  }
49
49
 
50
50
  }
@@ -1,5 +1,5 @@
1
1
  .varClass {
2
- --subject_text: var(--zdt_base_color);
2
+ --subject_text: var(--zdt_subject_text);
3
3
  }
4
4
 
5
5
  .subject {
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { defaultProps } from './props/defaultProps';
@@ -82,7 +84,7 @@ export default class StatusListItem extends React.Component {
82
84
  options.target = `_${target}`;
83
85
  }
84
86
 
85
- return /*#__PURE__*/React.createElement(Container, {
87
+ return /*#__PURE__*/React.createElement(Container, _extends({
86
88
  role: role,
87
89
  "aria-selected": ariaSelected,
88
90
  isCover: false,
@@ -95,10 +97,8 @@ export default class StatusListItem extends React.Component {
95
97
  eleRef: this.getRef,
96
98
  tagName: isLink ? 'a' : 'li',
97
99
  "data-title": isDisabled ? disableTitle : null,
98
- tabindex: isDisabled ? '-1' : '0',
99
- ...options,
100
- ...a11y
101
- }, /*#__PURE__*/React.createElement(Box, {
100
+ tabindex: isDisabled ? '-1' : '0'
101
+ }, options, a11y), /*#__PURE__*/React.createElement(Box, {
102
102
  className: `${style.statusType} ${style[bulletColor]}`
103
103
  }), /*#__PURE__*/React.createElement(Box, {
104
104
  flexible: true,
@@ -1,5 +1,5 @@
1
1
  .list {
2
- color: var(--zdt_base_color);
2
+ color: var(--zdt_statuslistitem_list_text);
3
3
  font-size: var(--zd_font_size13) ;
4
4
  position: relative;
5
5
  list-style: none;
@@ -50,6 +50,7 @@
50
50
 
51
51
  .multiLineValue {
52
52
  word-break: break-word;
53
+ -webkit-line-clamp: 5;
53
54
  composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
54
55
  }
55
56
 
@@ -1,3 +1,5 @@
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
+
1
3
  /*** Libraries ***/
2
4
  import React, { Component } from 'react';
3
5
  import { defaultProps } from './props/defaultProps';
@@ -76,7 +78,7 @@ export default class Lookup extends Component {
76
78
  needFocusLoop = true,
77
79
  needEnterAction = true
78
80
  } = focusScopeProps;
79
- const content = /*#__PURE__*/React.createElement("div", {
81
+ const content = /*#__PURE__*/React.createElement("div", _extends({
80
82
  ref: this.createRef,
81
83
  tabIndex: "-1",
82
84
  "data-a11y-need-focus-style": "false",
@@ -88,9 +90,8 @@ export default class Lookup extends Component {
88
90
  id: htmlId,
89
91
  className: `${style.box} ${style[`${size}Size`]} ${lookupClass ? lookupClass : ''}`,
90
92
  "data-id": dataId,
91
- "data-test-id": dataId,
92
- ...a11yAttributes
93
- }, /*#__PURE__*/React.createElement(Container, {
93
+ "data-test-id": dataId
94
+ }, a11yAttributes), /*#__PURE__*/React.createElement(Container, {
94
95
  "data-drag-container": "true",
95
96
  isCover: false,
96
97
  className: isMinHeight ? `${style.wrapper}` : `${style.coverwrap}`
@@ -9,8 +9,7 @@
9
9
  cursor: pointer;
10
10
  border-radius: 50%;
11
11
  }
12
-
13
12
  .container:hover {
14
- color: var(--zdt_base_color);
13
+ color: var(--zdt_lookupclose_default_hover_text);
15
14
  background-color: var(--zdt_lookupclose_default_hover_bg);
16
- }
15
+ }
@@ -1,3 +1,5 @@
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
+
1
3
  /* eslint-disable react/forbid-component-props */
2
4
 
3
5
  /*** Libraries ***/
@@ -98,11 +100,7 @@ export default class Search extends Component {
98
100
  selectedId: selectedId,
99
101
  onDropDownOpen: this.handleDropDownOpen,
100
102
  onDropDownClose: this.handleDropDownClose
101
- }, /*#__PURE__*/React.createElement(SearchUI, { ...this.props,
102
- ...searchUIExtraProps
103
- })) : /*#__PURE__*/React.createElement(SearchUI, { ...this.props,
104
- ...searchUIExtraProps
105
- });
103
+ }, /*#__PURE__*/React.createElement(SearchUI, _extends({}, this.props, searchUIExtraProps))) : /*#__PURE__*/React.createElement(SearchUI, _extends({}, this.props, searchUIExtraProps));
106
104
  }
107
105
 
108
106
  }
@@ -6,20 +6,16 @@
6
6
  word-break: break-all;
7
7
  cursor: initial;
8
8
  }
9
-
10
9
  .bold {
11
10
  font-family: var(--zd_semibold);
12
11
  }
13
-
14
12
  /* Palette */
15
13
  .default {
16
- color: var(--zdt_base_color);
14
+ color: var(--zdt_lookuptitle_default_text);
17
15
  }
18
-
19
16
  .primary {
20
17
  color: var(--zdt_lookuptitle_primary_text);
21
18
  }
22
-
23
19
  .danger {
24
20
  color: var(--zdt_lookuptitle_danger_text);
25
- }
21
+ }
@@ -1,15 +1,12 @@
1
1
  .small {
2
2
  max-height: var(--zd_size200) ;
3
3
  }
4
-
5
4
  .medium {
6
5
  max-height: var(--zd_size348) ;
7
6
  }
8
-
9
7
  .large {
10
8
  max-height: var(--zd_size400) ;
11
9
  }
12
-
13
10
  .emptyState {
14
11
  font-size: var(--zd_font_size14) ;
15
12
  color: var(--zdt_viewdropdown_empty_text);
@@ -17,19 +14,15 @@
17
14
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
18
15
  padding: var(--zd_size12) var(--zd_size15) ;
19
16
  }
20
-
21
17
  .hide {
22
18
  composes: vishidden from '~@zohodesk/components/lib/common/common.module.css';
23
19
  }
24
-
25
20
  .container {
26
21
  position: relative;
27
22
  }
28
-
29
23
  .listItemContainer {
30
24
  padding: var(--zd_size10) 0 ;
31
25
  }
32
-
33
26
  /* Label Style */
34
27
  .labelCnt {
35
28
  composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
@@ -37,25 +30,21 @@
37
30
  color: var(--zdt_viewdropdown_label_text);
38
31
  cursor: pointer;
39
32
  }
40
-
41
33
  .labelText {
42
34
  font-size: var(--zd_font_size12) ;
43
35
  max-width: var(--zd_size180) ;
44
36
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
45
37
  }
46
-
47
38
  [dir=ltr] .labelText {
48
39
  margin-right: var(--zd_size5) ;
49
40
  }
50
-
51
41
  [dir=rtl] .labelText {
52
42
  margin-left: var(--zd_size5) ;
53
43
  }
54
-
55
44
  .labelCnt:hover .arrowIcon {
56
- color: var(--zdt_base_color);
45
+ color: var(--zdt_viewdropdown_hover_label_text);
57
46
  }
58
47
 
59
48
  .loader {
60
49
  padding: var(--zd_size12) var(--zd_size15) ;
61
- }
50
+ }
@@ -6,38 +6,31 @@
6
6
  }[dir=rtl] .container {
7
7
  padding: 0 var(--zd_size10) 0 var(--zd_size30) ;
8
8
  }
9
-
10
9
  .default {
11
10
  background-color: var(--zdt_lookupheader_default_bg);
12
11
  border-bottom: solid 1px var(--zdt_lookupheader_default_border);
13
12
  }
14
-
15
13
  .white {
16
- background-color: var(--zdt_base_bg);
14
+ background-color: var(--zdt_lookupheader_white_bg);
17
15
  border-bottom: solid 1px var(--zdt_lookupheader_white_border);
18
16
  }
19
-
20
17
  .searchContainer, .title {
21
18
  margin: 0 var(--zd_size20) ;
22
19
  }
23
-
24
20
  [dir=ltr] .searchContainer {
25
21
  text-align: right;
26
22
  }
27
-
28
23
  [dir=rtl] .searchContainer {
29
24
  text-align: left;
30
25
  }
31
-
32
26
  .closeContainer {
33
27
  /* position: absolute;
34
28
  right: 30px;
35
29
  top: 50%;
36
30
  composes: middleY from '~@zohodesk/components/lib/common/common.module.css'; */
37
31
  }
38
-
39
32
  .para {
40
33
  font-size: var(--zd_font_size12) ;
41
34
  color: var(--zdt_lookupheader_para_text);
42
35
  margin: 0 var(--zd_size20) ;
43
- }
36
+ }
@@ -7,15 +7,12 @@
7
7
  }[dir=rtl] .container {
8
8
  margin-left: var(--zd_size15) ;
9
9
  }
10
-
11
10
  .active {
12
11
  width: var(--zd_size180) ;
13
12
  }
14
-
15
13
  .active .input, .input:hover {
16
14
  border-bottom-color: var(--zdt_search_input_border);
17
15
  }
18
-
19
16
  /* css:lineheight-validation:ignore */
20
17
  .icon {
21
18
  position: absolute;
@@ -31,11 +28,9 @@
31
28
  [dir=rtl] .icon {
32
29
  left: 0 ;
33
30
  }
34
-
35
31
  .icon:hover {
36
32
  color: var(--zdt_search_hover_icon);
37
33
  }
38
-
39
34
  .input {
40
35
  height: var(--zd_size26) ;
41
36
  font-size: var(--zd_font_size13) ;
@@ -49,33 +44,26 @@
49
44
  appearance: none;
50
45
  border: 0;
51
46
  border-bottom: 1px solid transparent;
52
- background: var(--zdt_base_bg);
47
+ background: var(--zdt_search_input_bg);
53
48
  }
54
-
55
49
  [dir=ltr] .input {
56
50
  padding-right: var(--zd_size20) ;
57
51
  }
58
-
59
52
  [dir=rtl] .input {
60
53
  padding-left: var(--zd_size20) ;
61
54
  }
62
-
63
55
  .input::placeholder {
64
56
  color: var(--zdt_search_placeholder_text);
65
57
  }
66
-
67
58
  .input::-webkit-placeholder {
68
59
  color: var(--zdt_search_placeholder_text);
69
60
  }
70
-
71
61
  .input::-moz-placeholder {
72
62
  color: var(--zdt_search_placeholder_text);
73
63
  }
74
-
75
64
  .input::-ms-placeholder {
76
65
  color: var(--zdt_search_placeholder_text);
77
66
  }
78
-
79
67
  .input:focus, .active .input:focus {
80
68
  border-bottom-color: var(--zdt_search_input_focus_border);
81
- }
69
+ }
@@ -1,46 +1,37 @@
1
1
  .bold {
2
2
  composes: bold from '~@zohodesk/components/lib/common/common.module.css';
3
3
  }
4
-
5
4
  .semiBold {
6
5
  composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
7
6
  }
8
-
9
7
  .primaryColor {
10
8
  color: var(--zdt_tabletext_primary_text);
11
9
  }
12
-
13
10
  .defaultColor {
14
- color: var(--zdt_base_color);
11
+ color: var(--zdt_tabletext_default_text);
15
12
  }
16
-
17
13
  .greenColor {
18
14
  color: var(--zdt_tabletext_green_text);
19
15
  }
20
-
21
16
  .dangerColor {
22
17
  color: var(--zdt_tabletext_danger_text);
23
18
  }
24
-
25
19
  .small {
26
20
  font-size: var(--zd_font_size13) ;
27
21
  max-width: 100% ;
28
22
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
29
23
  }
30
-
31
24
  .medium {
32
25
  font-size: var(--zd_font_size14) ;
33
26
  max-width: 100% ;
34
27
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
35
28
  }
36
-
37
29
  .heading {
38
30
  text-transform: uppercase;
39
31
  color: var(--zdt_tabletext_heading_text);
40
32
  vertical-align: middle;
41
33
  composes: small;
42
34
  }
43
-
44
35
  .isClickable {
45
36
  cursor: pointer;
46
- }
37
+ }
@@ -1,3 +1,5 @@
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
+
1
3
  import React, { useRef } from 'react';
2
4
  import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from './props/defaultProps';
3
5
  import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from './props/propTypes';
@@ -159,13 +161,12 @@ export default function Drawer(props) {
159
161
 
160
162
  return child;
161
163
  });
162
- let content = /*#__PURE__*/React.createElement(Box, {
164
+ let content = /*#__PURE__*/React.createElement(Box, _extends({
163
165
  className: `${style.container} ${style.columns} ${style.drawerModal} ${uptoTablet ? style.mbleSize : style[size]}`,
164
166
  "data-a11y-need-focus-style": "false",
165
167
  tabindex: -1,
166
- eleRef: contentRef,
167
- ...a11y
168
- }, /*#__PURE__*/React.createElement(Card, {
168
+ eleRef: contentRef
169
+ }, a11y), /*#__PURE__*/React.createElement(Card, {
169
170
  onClick: e => {
170
171
  e && e.stopPropagation && e.stopPropagation();
171
172
  onBodyClick(e);
@@ -1,3 +1,5 @@
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
+
1
3
  /**** Libraries ****/
2
4
  import React from 'react';
3
5
  import { defaultProps } from './props/defaultProps';
@@ -30,7 +32,7 @@ const ExternalLink = props => {
30
32
  };
31
33
 
32
34
  let urlOutput = href && typeof href !== 'boolean' ? addHttp(String(href)) : 'javascript:void(0);';
33
- return /*#__PURE__*/React.createElement("a", {
35
+ return /*#__PURE__*/React.createElement("a", _extends({
34
36
  href: urlOutput,
35
37
  target: target,
36
38
  className: `${style.link} ${className ? className : ''}`,
@@ -38,9 +40,8 @@ const ExternalLink = props => {
38
40
  rel: rel,
39
41
  "data-id": dataId,
40
42
  "data-test-id": dataId,
41
- onClick: onClick,
42
- ...customProps
43
- }, children);
43
+ onClick: onClick
44
+ }, customProps), children);
44
45
  };
45
46
 
46
47
  ExternalLink.defaultProps = defaultProps;
@@ -1,3 +1,5 @@
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
+
1
3
  import React from 'react';
2
4
  import { defaultProps } from './props/defaultProps';
3
5
  import { propTypes } from './props/propTypes';
@@ -74,17 +76,16 @@ export default function FlipCard(props) {
74
76
  }, !noNeedFlip ? /*#__PURE__*/React.createElement(Container, {
75
77
  align: "both",
76
78
  className: `${style.front} ${frontClass ? frontClass : ''}`
77
- }, /*#__PURE__*/React.createElement(CheckBox, {
79
+ }, /*#__PURE__*/React.createElement(CheckBox, _extends({
78
80
  isFilled: isFilledCheckbox,
79
81
  checked: isChecked,
80
82
  onChange: onChange,
81
83
  id: `checkbox_${id}`,
82
- dataId: `listViewCheckBox_${id}`,
83
- ...CheckBoxProps
84
- })) : null, /*#__PURE__*/React.createElement(Container, {
84
+ dataId: `listViewCheckBox_${id}`
85
+ }, CheckBoxProps))) : null, /*#__PURE__*/React.createElement(Container, {
85
86
  align: "both",
86
87
  className: style.back
87
- }, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, {
88
+ }, channel && action ? /*#__PURE__*/React.createElement(ChannelIcon, _extends({
88
89
  name: channel,
89
90
  action: action,
90
91
  size: size,
@@ -97,9 +98,8 @@ export default function FlipCard(props) {
97
98
  customTextClass: customTextClass,
98
99
  iconColor: iconColor,
99
100
  title: channelTitle,
100
- iconTitle: channelTitle,
101
- ...ChannelIconProps
102
- }) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, {
101
+ iconTitle: channelTitle
102
+ }, ChannelIconProps)) : icon ? /*#__PURE__*/React.createElement(AvatarIcon, _extends({
103
103
  name: icon,
104
104
  iconSize: iconSize,
105
105
  size: size,
@@ -107,9 +107,8 @@ export default function FlipCard(props) {
107
107
  dataId: icon,
108
108
  className: className,
109
109
  iconColor: iconColor,
110
- title: needTitle ? name : '',
111
- ...AvatarIconProps
112
- }) : /*#__PURE__*/React.createElement(AvatarUser, {
110
+ title: needTitle ? name : ''
111
+ }, AvatarIconProps)) : /*#__PURE__*/React.createElement(AvatarUser, _extends({
113
112
  name: name,
114
113
  initial: initial,
115
114
  size: size,
@@ -120,9 +119,8 @@ export default function FlipCard(props) {
120
119
  needTitle: needTitle,
121
120
  palette: palette,
122
121
  textPalette: textPalette,
123
- customTextClass: customTextClass,
124
- ...AvatarUserProps
125
- }))));
122
+ customTextClass: customTextClass
123
+ }, AvatarUserProps)))));
126
124
  }
127
125
  FlipCard.propTypes = propTypes;
128
126
  FlipCard.defaultProps = defaultProps; // if (__DOCS__) {