@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
  /* eslint-disable react/forbid-component-props */
2
4
 
3
5
  /*** Libraries ***/
@@ -69,11 +71,7 @@ export default function Search(props) {
69
71
  selectedId: selectedId,
70
72
  onDropDownOpen: handleDropDownOpen,
71
73
  onDropDownClose: handleDropDownClose
72
- }, /*#__PURE__*/React.createElement(SearchUI, { ...props,
73
- ...searchUIExtraProps
74
- })) : /*#__PURE__*/React.createElement(SearchUI, { ...props,
75
- ...searchUIExtraProps
76
- });
74
+ }, /*#__PURE__*/React.createElement(SearchUI, _extends({}, props, searchUIExtraProps))) : /*#__PURE__*/React.createElement(SearchUI, _extends({}, props, searchUIExtraProps));
77
75
  }
78
76
  Search.propTypes = Search_propTypes;
79
77
 
@@ -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, DesktopNotificationUI_propTypes } from './props/propTypes';
@@ -115,15 +117,14 @@ export function DesktopNotificationUI(props) {
115
117
  let {
116
118
  uptoTablet
117
119
  } = _ref2;
118
- return /*#__PURE__*/React.createElement(Container, {
120
+ return /*#__PURE__*/React.createElement(Container, _extends({
119
121
  className: `${style.container} ${isAnimate ? animateClass : animateRemoveClass}
120
122
  ${isShrinkView ? style.globalNotify : ''} ${containerClass}
121
123
  ${uptoTablet ? style.tapWidth : style[`${size}`]}`,
122
124
  isCover: false,
123
125
  dataId: dataId,
124
- isInline: uiVariantTwo,
125
- ...ExtraProps
126
- }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
126
+ isInline: uiVariantTwo
127
+ }, ExtraProps), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
127
128
  type: type,
128
129
  title: title,
129
130
  variant: titleVariant,
@@ -177,9 +178,9 @@ export function DesktopNotificationUI(props) {
177
178
  DesktopNotificationUI.propTypes = DesktopNotificationUI_propTypes;
178
179
  DesktopNotificationUI.propTypes = defaultProps;
179
180
  export default function DesktopNotification(props) {
180
- return /*#__PURE__*/React.createElement(AutoClose, { ...props,
181
+ return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
181
182
  Element: DesktopNotificationUI
182
- });
183
+ }));
183
184
  }
184
185
  DesktopNotification.propTypes = propTypes;
185
186
  DesktopNotification.defaultProps = defaultProps; // if (__DOCS__) {
@@ -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, UI_propTypes, new_propTypes } from './props/propTypes';
@@ -119,7 +121,7 @@ export function GlobalNotificationUI(props) {
119
121
  let {
120
122
  ExtraProps = {}
121
123
  } = customProps;
122
- return /*#__PURE__*/React.createElement("div", {
124
+ return /*#__PURE__*/React.createElement("div", _extends({
123
125
  ref: eleRef,
124
126
  className: ` ${style.message}
125
127
  ${needShadow && shadowCount >= 2 ? shadowCount > 2 ? `${style.stackShadowTwo} ${style.stackShadowOne}` : style.stackShadowOne : ''}
@@ -128,9 +130,8 @@ export function GlobalNotificationUI(props) {
128
130
  "data-id": `show_${type}_message`,
129
131
  "data-test-id": `show_${type}_message`,
130
132
  tabIndex: 0,
131
- "data-selector-id": dataSelectorId,
132
- ...ExtraProps
133
- }, /*#__PURE__*/React.createElement(Container, {
133
+ "data-selector-id": dataSelectorId
134
+ }, ExtraProps), /*#__PURE__*/React.createElement(Container, {
134
135
  className: `${style.container}`,
135
136
  alignBox: "row",
136
137
  isCover: false,
@@ -162,8 +163,8 @@ export function GlobalNotificationUI(props) {
162
163
  }
163
164
  GlobalNotificationUI.propTypes = UI_propTypes;
164
165
  export function GlobalNotificationNew(props) {
165
- return /*#__PURE__*/React.createElement(AutoClose, { ...props,
166
+ return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
166
167
  Element: GlobalNotificationUI
167
- });
168
+ }));
168
169
  }
169
170
  GlobalNotificationNew.propTypes = new_propTypes;
@@ -2,7 +2,7 @@
2
2
  /* globalnotfication default variables */
3
3
  --commonalert_border_color: var(--zdt_commonalert_default_border);
4
4
  --globalnotification_bg_color: var(--zdt_globalnotification_default_bg);
5
- --globalnotification_text_color: var(--zdt_base_color);
5
+ --globalnotification_text_color: var(--zdt_globalnotification_default_text);
6
6
  }
7
7
 
8
8
  .message {
@@ -117,31 +117,31 @@
117
117
  .success {
118
118
  --commonalert_border_color: var(--zdt_commonalert_success_border);
119
119
  --globalnotification_bg_color: var(--zdt_globalnotification_success_bg);
120
- --globalnotification_text_color: var(--zdt_base_color);
120
+ --globalnotification_text_color: var(--zdt_globalnotification_success_text);
121
121
  }
122
122
 
123
123
  .info {
124
124
  --commonalert_border_color: var(--zdt_commonalert_info_border);
125
125
  --globalnotification_bg_color: var(--zdt_globalnotification_info_bg);
126
- --globalnotification_text_color: var(--zdt_base_color);
126
+ --globalnotification_text_color: var(--zdt_globalnotification_info_text);
127
127
  }
128
128
 
129
129
  .danger {
130
130
  --commonalert_border_color: var(--zdt_commonalert_danger_border);
131
131
  --globalnotification_bg_color: var(--zdt_globalnotification_danger_bg);
132
- --globalnotification_text_color: var(--zdt_base_color);
132
+ --globalnotification_text_color: var(--zdt_globalnotification_danger_text);
133
133
  }
134
134
 
135
135
  .error {
136
136
  --commonalert_border_color: var(--zdt_commonalert_error_border);
137
137
  --globalnotification_bg_color: var(--zdt_globalnotification_error_bg);
138
- --globalnotification_text_color: var(--zdt_base_color);
138
+ --globalnotification_text_color: var(--zdt_globalnotification_error_text);
139
139
  }
140
140
 
141
141
  .warning {
142
142
  --commonalert_border_color: var(--zdt_commonalert_warning_border);
143
143
  --globalnotification_bg_color: var(--zdt_globalnotification_warning_bg);
144
- --globalnotification_text_color: var(--zdt_base_color);
144
+ --globalnotification_text_color: var(--zdt_globalnotification_warning_text);
145
145
  }
146
146
 
147
147
  .text {
@@ -1,7 +1,6 @@
1
1
  .varClass {
2
2
  --commonalert_border_color: var(--zdt_commonalert_default_border);
3
3
  }
4
-
5
4
  .container {
6
5
  composes: varClass;
7
6
  position: relative;
@@ -10,15 +9,12 @@
10
9
  border-color: var(--commonalert_border_color);
11
10
  border-width: 2px 0 0 0;
12
11
  }
13
-
14
12
  .headerLayout {
15
13
  min-height: var(--zd_size54) ;
16
14
  }
17
-
18
15
  [dir=ltr] .headerLayout {
19
16
  padding: var(--zd_size15) var(--zd_size45) 0 var(--zd_size20) ;
20
17
  }
21
-
22
18
  [dir=rtl] .headerLayout {
23
19
  padding: var(--zd_size15) var(--zd_size20) 0 var(--zd_size45) ;
24
20
  }
@@ -27,8 +23,7 @@
27
23
  --commonalert_border_color: var(--zdt_commonalert_success_border);
28
24
  }
29
25
 
30
- .info,
31
- .notification {
26
+ .info,.notification {
32
27
  --commonalert_border_color: var(--zdt_commonalert_info_border);
33
28
  }
34
29
 
@@ -58,7 +53,7 @@
58
53
  }
59
54
 
60
55
  .title {
61
- color: var(--zdt_base_color);
56
+ color: var(--zdt_alertlookupnew_text);
62
57
  font-size: var(--zd_font_size18) ;
63
58
  line-height: 1.2222;
64
59
  font-family: var(--zd_bold);
@@ -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';
@@ -121,7 +123,7 @@ export default class AlertLookup extends Component {
121
123
  ariaLabelledby: a11y && a11y.ariaLabelledby ? a11y.ariaLabelledby : ariaTitleId,
122
124
  ariaDescribedby: a11y && a11y.ariaDescribedby ? a11y.ariaDescribedby : ariaMessageId + ' ' + ariaConfirmMsgId
123
125
  };
124
- return /*#__PURE__*/React.createElement(Lookup, {
126
+ return /*#__PURE__*/React.createElement(Lookup, _extends({
125
127
  onClose: onEsc == 'close' ? onClose : onCancelClick,
126
128
  needFocusScope: true,
127
129
  isActive: isActive,
@@ -131,9 +133,8 @@ export default class AlertLookup extends Component {
131
133
  onClick: onLookupClick,
132
134
  customClass: containerClass,
133
135
  a11y: a11y,
134
- childAnimationName: childAnimationName,
135
- ...LookupProps
136
- }, /*#__PURE__*/React.createElement(Container, {
136
+ childAnimationName: childAnimationName
137
+ }, LookupProps), /*#__PURE__*/React.createElement(Container, {
137
138
  alignBox: "row",
138
139
  align: align,
139
140
  wrap: "wrap"
@@ -142,15 +143,14 @@ export default class AlertLookup extends Component {
142
143
  className: style.section
143
144
  }, /*#__PURE__*/React.createElement(Container, {
144
145
  alignBox: "column"
145
- }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(AlertHeader, {
146
+ }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(AlertHeader, _extends({
146
147
  htmlId: ariaTitleId,
147
148
  title: title,
148
149
  type: type,
149
150
  needIcon: needIcon,
150
151
  onClose: onClose,
151
- breakChildren: wrapHeader,
152
- ...AlertHeaderProps
153
- }, headerChildren ? headerChildren() : null)), /*#__PURE__*/React.createElement(Box, {
152
+ breakChildren: wrapHeader
153
+ }, AlertHeaderProps), headerChildren ? headerChildren() : null)), /*#__PURE__*/React.createElement(Box, {
154
154
  flexible: true
155
155
  }, /*#__PURE__*/React.createElement("div", {
156
156
  className: `${style.innerSection} ${style[`${scroll}Scroll`] ? style[`${scroll}Scroll`] : ''} ${sectionClass}`
@@ -169,30 +169,30 @@ export default class AlertLookup extends Component {
169
169
  }, /*#__PURE__*/React.createElement(FormAction, {
170
170
  size: "small",
171
171
  paddingLeftSize: "xmedium"
172
- }, /*#__PURE__*/React.createElement(Button, {
172
+ }, /*#__PURE__*/React.createElement(Button, _extends({
173
173
  text: submitText,
174
174
  dataId: dataId === 'alertPopup' ? 'alertConfirmButton' : `${dataId}_confirmButton`,
175
175
  onClick: onSubmitClick,
176
176
  palette: buttonPalette,
177
177
  customProps: {
178
178
  'data-a11y-autofocus': isDefaultFocus
179
- },
180
- ...PrimaryButtonProps,
179
+ }
180
+ }, PrimaryButtonProps, {
181
181
  a11y: {
182
182
  'aria-labelledby': ariaTitleId + ' ' + ariaMessageId + ' ' + ariaLeaveButtonId
183
183
  },
184
184
  id: ariaLeaveButtonId
185
- }), cancelText && /*#__PURE__*/React.createElement(Button, {
185
+ })), cancelText && /*#__PURE__*/React.createElement(Button, _extends({
186
186
  dataId: dataId === 'alertPopup' ? 'alertCancelButton' : `${dataId}_cancelButton`,
187
187
  text: cancelText,
188
188
  onClick: onCancelClick,
189
- palette: "secondary",
190
- ...SecondaryButtonProps,
189
+ palette: "secondary"
190
+ }, SecondaryButtonProps, {
191
191
  a11y: {
192
192
  'aria-labelledby': ariaTitleId + ' ' + ariaMessageId + ' ' + ariaStayButtonId
193
193
  },
194
194
  id: ariaStayButtonId
195
- })))) : null))));
195
+ }))))) : null))));
196
196
  }
197
197
 
198
198
  }
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .innerSection {
6
- color: var(--zdt_base_color);
6
+ color: var(--zdt_alertlookupnew_text);
7
7
  font-size: var(--zd_font_size14) ;
8
8
  line-height: 1.428;
9
9
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
@@ -30,21 +30,15 @@
30
30
  overflow: hidden;
31
31
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
32
32
  }
33
-
34
- .horizontalScroll,
35
- .verticalScroll,
36
- .bothScroll {
33
+ .horizontalScroll, .verticalScroll, .bothScroll {
37
34
  height: 100% ;
38
35
  }
39
-
40
36
  .horizontalScroll {
41
37
  composes: oflowx from '~@zohodesk/components/lib/common/common.module.css';
42
38
  }
43
-
44
39
  .verticalScroll {
45
40
  composes: oflowy from '~@zohodesk/components/lib/common/common.module.css';
46
41
  }
47
-
48
42
  .bothScroll {
49
43
  composes: oflowA from '~@zohodesk/components/lib/common/common.module.css';
50
44
  }
@@ -26,7 +26,7 @@
26
26
  .noteUl li {
27
27
  font-size: var(--zd_font_size12) ;
28
28
  /* line-height: var(--zd_size14); */
29
- color: var(--zdt_base_color);
29
+ color: var(--zdt_alertlookuop_text);
30
30
  list-style-type: disc;
31
31
  line-height: initial;
32
32
  margin-bottom: var(--zd_size15) ;
@@ -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, { useState } from 'react';
2
4
  import { defaultProps } from './props/defaultProps';
3
5
  import { propTypes, DesktopNotificationUI_propTypes } from './props/propTypes';
@@ -114,14 +116,13 @@ export function DesktopNotificationUI(props) {
114
116
  let {
115
117
  uptoTablet
116
118
  } = _ref2;
117
- return /*#__PURE__*/React.createElement(Container, {
119
+ return /*#__PURE__*/React.createElement(Container, _extends({
118
120
  className: `${style.container} ${isAnimate ? animateClass : animateRemoveClass}
119
121
  ${isShrinkView ? style.globalNotify : ''} ${containerClass} ${uptoTablet ? style.tapWidth : style[`${size}`]}`,
120
122
  isCover: false,
121
123
  dataId: dataId,
122
- isInline: uiVariantTwo,
123
- ...ExtraProps
124
- }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
124
+ isInline: uiVariantTwo
125
+ }, ExtraProps), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
125
126
  type: type,
126
127
  title: title,
127
128
  variant: titleVariant,
@@ -174,9 +175,9 @@ export function DesktopNotificationUI(props) {
174
175
  }
175
176
  DesktopNotificationUI.propTypes = DesktopNotificationUI_propTypes;
176
177
  export default function DesktopNotification(props) {
177
- return /*#__PURE__*/React.createElement(AutoClose, { ...props,
178
+ return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
178
179
  Element: DesktopNotificationUI
179
- });
180
+ }));
180
181
  }
181
182
  DesktopNotification.propTypes = propTypes;
182
183
  DesktopNotification.defaultProps = defaultProps; // if (__DOCS__) {
@@ -4,7 +4,7 @@
4
4
  }
5
5
 
6
6
  .container {
7
- color: var(--zdt_base_color);
7
+ color: var(--zdt_desktopnotification_text);
8
8
  transition: all var(--zd_transition4);
9
9
  position: relative;
10
10
  max-height: 100% ;
@@ -36,8 +36,7 @@
36
36
  .large {
37
37
  width: var(--zd_size580) ;
38
38
  }
39
-
40
- .tapWidth {
39
+ .tapWidth{
41
40
  max-width: 100% ;
42
41
  min-width: 100% ;
43
42
  }
@@ -131,4 +130,4 @@
131
130
  .footer {
132
131
  overflow: hidden;
133
132
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
134
- }
133
+ }
@@ -1,57 +1,54 @@
1
1
  .varClass {
2
2
  --commonalert_border_color: var(--zdt_commonalert_default_border);
3
3
  }
4
-
5
4
  .container {
6
- composes: varClass;
7
- min-height: var(--zd_size54) ;
8
- position: relative;
9
- color: var(--zdt_base_color);
10
- background-color: var(--alert_lookup_bg_color);
11
- border-style: solid;
12
- border-color: var(--commonalert_border_color);
13
- border-width: 2px 0 0 0;
14
- }
15
-
16
- .title {
17
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
18
- }
19
-
20
- [dir=ltr] .title {
5
+ composes: varClass;
6
+ min-height: var(--zd_size54) ;
7
+ position: relative;
8
+ color: var(--zdt_desktopnotification_text);
9
+ background-color: var(--alert_lookup_bg_color);
10
+ border-style: solid;
11
+ border-color: var(--commonalert_border_color);
12
+ border-width: 2px 0 0 0;
13
+ }
14
+
15
+ .title {
16
+ composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
17
+ }
18
+
19
+ [dir=ltr] .title {
21
20
  margin: 0 var(--zd_size5) 0 var(--zd_size10) ;
22
- }
21
+ }
23
22
 
24
- [dir=rtl] .title {
25
- margin: 0 var(--zd_size10) 0 var(--zd_size5) ;
26
- }
23
+ [dir=rtl] .title {
24
+ margin: 0 var(--zd_size10) 0 var(--zd_size5) ;
25
+ }
27
26
 
28
- .infoText {
29
- max-width: 100% ;
30
- }
27
+ .infoText {
28
+ max-width: 100% ;
29
+ }
31
30
 
32
- /* Palette */
31
+ /* Palette */
33
32
 
34
- .success {
35
- --commonalert_border_color: var(--zdt_commonalert_success_border);
36
- }
33
+ .success {
34
+ --commonalert_border_color: var(--zdt_commonalert_success_border);
35
+ }
37
36
 
38
- .info,
39
- .notification,
40
- .alarm {
41
- --commonalert_border_color: var(--zdt_commonalert_info_border);
42
- }
37
+ .info,.notification,.alarm {
38
+ --commonalert_border_color: var(--zdt_commonalert_info_border);
39
+ }
43
40
 
44
- .danger {
45
- --commonalert_border_color: var(--zdt_commonalert_danger_border);
46
- }
41
+ .danger {
42
+ --commonalert_border_color: var(--zdt_commonalert_danger_border);
43
+ }
47
44
 
48
- .error {
49
- --commonalert_border_color: var(--zdt_commonalert_error_border);
50
- }
45
+ .error {
46
+ --commonalert_border_color: var(--zdt_commonalert_error_border);
47
+ }
51
48
 
52
- .warning {
53
- --commonalert_border_color: var(--zdt_commonalert_warning_border);
54
- }
49
+ .warning {
50
+ --commonalert_border_color: var(--zdt_commonalert_warning_border);
51
+ }
55
52
 
56
53
 
57
54
  /* Primary Header */
@@ -59,7 +56,7 @@
59
56
  padding: var(--zd_size15) var(--zd_size45) 0 var(--zd_size20) ;
60
57
  }
61
58
  [dir=rtl] .primary {
62
- padding: var(--zd_size15) var(--zd_size20) 0 var(--zd_size45) ;
59
+ padding: var(--zd_size15) var(--zd_size20) 0 var(--zd_size45) ;
63
60
  }
64
61
 
65
62
  .primary .iconContainer {
@@ -68,68 +65,68 @@
68
65
  }
69
66
 
70
67
  .primary .infoText {
71
- line-height: 1;
72
- }
68
+ line-height: 1;
69
+ }
73
70
 
74
- .primary .close {
75
- position: absolute;
76
- top: var(--zd_size12) ;
77
- }
71
+ .primary .close {
72
+ position: absolute;
73
+ top: var(--zd_size12) ;
74
+ }
78
75
 
79
- [dir=ltr] .primary .close {
76
+ [dir=ltr] .primary .close {
80
77
  right: var(--zd_size12) ;
81
- }
82
-
83
- [dir=rtl] .primary .close {
84
- left: var(--zd_size12) ;
85
- }
86
-
87
- /* Secondary Header */
88
- .secondary {
89
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
90
- border-radius: 0 0 var(--zd_size10) var(--zd_size10);
91
- }
92
- [dir=ltr] .secondary {
78
+ }
79
+
80
+ [dir=rtl] .primary .close {
81
+ left: var(--zd_size12) ;
82
+ }
83
+
84
+ /* Secondary Header */
85
+ .secondary {
86
+ composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
87
+ border-radius: 0 0 var(--zd_size10) var(--zd_size10);
88
+ }
89
+ [dir=ltr] .secondary {
93
90
  padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75) ;
94
- }
95
- [dir=rtl] .secondary {
96
- padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70) ;
97
- }
98
-
99
- .secondary .infoText {
100
- line-height: 1.4286;
101
- }
102
-
103
- .secondary .iconContainer {
104
- height: var(--zd_size44) ;
105
- width: var(--zd_size44) ;
106
- position: absolute;
107
- top: 0 ;
108
- bottom: 0 ;
109
- margin: auto 0 ;
110
- }
111
-
112
- [dir=ltr] .secondary .iconContainer {
91
+ }
92
+ [dir=rtl] .secondary {
93
+ padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70) ;
94
+ }
95
+
96
+ .secondary .infoText {
97
+ line-height: 1.4286;
98
+ }
99
+
100
+ .secondary .iconContainer {
101
+ height: var(--zd_size44) ;
102
+ width: var(--zd_size44) ;
103
+ position: absolute;
104
+ top: 0 ;
105
+ bottom: 0 ;
106
+ margin: auto 0 ;
107
+ }
108
+
109
+ [dir=ltr] .secondary .iconContainer {
113
110
  left: var(--zd_size18) ;
114
- }
111
+ }
115
112
 
116
- [dir=rtl] .secondary .iconContainer {
117
- right: var(--zd_size18) ;
118
- }
113
+ [dir=rtl] .secondary .iconContainer {
114
+ right: var(--zd_size18) ;
115
+ }
119
116
 
120
- .secondary .close {
121
- position: absolute;
122
- top: 0 ;
123
- bottom: 0 ;
124
- height: var(--zd_size25) ;
125
- }
117
+ .secondary .close {
118
+ position: absolute;
119
+ top: 0 ;
120
+ bottom: 0 ;
121
+ height: var(--zd_size25) ;
122
+ }
126
123
 
127
- [dir=ltr] .secondary .close {
124
+ [dir=ltr] .secondary .close {
128
125
  right: var(--zd_size12) ;
129
126
  margin: auto 0 auto var(--zd_size25) ;
130
- }
127
+ }
131
128
 
132
- [dir=rtl] .secondary .close {
133
- left: var(--zd_size12) ;
134
- margin: auto var(--zd_size25) auto 0 ;
135
- }
129
+ [dir=rtl] .secondary .close {
130
+ left: var(--zd_size12) ;
131
+ margin: auto var(--zd_size25) auto 0 ;
132
+ }
@@ -14,15 +14,15 @@
14
14
  height: 100% ;
15
15
  width: 100% ;
16
16
  position: absolute;
17
- top: 0
17
+ top:0
18
18
  }
19
19
 
20
20
  [dir=ltr] .disableLayer {
21
- left: 0
21
+ left:0
22
22
  }
23
23
 
24
24
  [dir=rtl] .disableLayer {
25
- right: 0
25
+ right:0
26
26
  }
27
27
 
28
28
  .attachmentHover {
@@ -30,7 +30,7 @@
30
30
  }
31
31
 
32
32
  .palette_default {
33
- background-color: var(--zdt_base_bg);
33
+ background-color: var(--zdt_attachment_default_bg);
34
34
  }
35
35
 
36
36
  .palette_transparent {
@@ -1,6 +1,6 @@
1
1
  .varClass {
2
2
  --iconColor: var(--zdt_channelIcon_icon);
3
- --topIconBg: var(--zdt_base_bg);
3
+ --topIconBg: var(--zdt_channelIcon_topIcon_bg);
4
4
  --topIconColor: var(--zdt_channelIcon_topIcon_iconGreen);
5
5
  --topIconBorderColor: var(--zdt_channelIcon_topIcon_border);
6
6
  }
@@ -1,7 +1,7 @@
1
1
  .container {
2
2
  transition: width var(--zd_transition3);
3
3
  box-shadow: var(--zd_bs_drawer_shadow);
4
- background-color: var(--zdt_base_bg);
4
+ background-color: var(--zdt_drawer_default_bg);
5
5
  }
6
6
 
7
7
  .isOverlay {
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .secondDrawer {
31
- background-color: var(--zdt_base_bg);
31
+ background-color: var(--zdt_drawer_default_bg);
32
32
  box-shadow: var(--zd_bs_drawer_shadow);
33
33
  }
34
34
 
@@ -108,7 +108,7 @@
108
108
  }
109
109
 
110
110
  .title {
111
- color: var(--zdt_base_color);
111
+ color: var(--zdt_drawer_title_text);
112
112
  font-family: var(--zd_semibold);
113
113
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
114
114
  font-size: var(--zd_font_size16) ;
@@ -6,7 +6,7 @@
6
6
  .title {
7
7
  font-size: var(--zd_font_size13) ;
8
8
  line-height: 1.3846;
9
- color: var(--zdt_base_color);
9
+ color: var(--zdt_importantnotes_title_text);
10
10
  }
11
11
 
12
12
  .icon {