@zohodesk/dot 1.0.0-temp-150 → 1.0.0-temp-151

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 (246) hide show
  1. package/README.md +0 -9
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +1 -1
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +1 -1
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +1 -1
  5. package/es/ActionButton/ActionButton.module.css +14 -14
  6. package/es/AlphabeticList/AlphabeticList.module.css +10 -10
  7. package/es/Attachment/Attachment.module.css +24 -26
  8. package/es/AttachmentViewer/AttachmentViewer.module.css +41 -41
  9. package/es/ChannelIcon/ChannelIcon.module.css +22 -22
  10. package/es/Drawer/Drawer.module.css +40 -41
  11. package/es/FormAction/FormAction.module.css +20 -20
  12. package/es/Hooks/Dragger/useDragger.js +2 -7
  13. package/es/IconButton/IconButton.module.css +2 -2
  14. package/es/Image/Image.module.css +0 -1
  15. package/es/ImportantNotes/ImportantNotes.module.css +5 -5
  16. package/es/Loader/Loader.module.css +0 -1
  17. package/es/Message/Message.module.css +9 -9
  18. package/es/MessageBanner/MessageBanner.module.css +7 -7
  19. package/es/NewStar/NewStar.module.css +10 -18
  20. package/es/Separator/Separator.module.css +6 -6
  21. package/es/TagWithIcon/TagWithIcon.module.css +6 -6
  22. package/es/ToastMessage/ToastMessage.module.css +23 -23
  23. package/es/Upload/Upload.module.css +15 -15
  24. package/es/alert/AlertHeader/AlertHeader.module.css +12 -12
  25. package/es/alert/AlertLookup/AlertLookup.module.css +6 -6
  26. package/es/avatar/AvatarClose/AvatarClose.module.css +1 -1
  27. package/es/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
  28. package/es/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
  29. package/es/avatar/AvatarThread/AvatarThread.module.css +24 -24
  30. package/es/avatar/AvatarUser/AvatarUser.module.css +40 -40
  31. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
  32. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  33. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
  34. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
  35. package/es/emptystate/EditionPage/EditionPage.css +13 -13
  36. package/es/errorstate/EmptyStates.module.css +18 -18
  37. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  38. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  39. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  40. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
  41. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  42. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  43. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  44. package/es/errorstate/WillBack/WillBack.module.css +10 -10
  45. package/es/form/fields/Fields.module.css +26 -26
  46. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
  47. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  48. package/es/form/fields/TextEditor/TextEditor.js +11 -10
  49. package/es/form/fields/TextEditor/TextEditor.module.css +77 -84
  50. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -3
  51. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
  52. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
  53. package/es/layout/SubtabLayout/SubtabLayout.module.css +32 -32
  54. package/es/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  55. package/es/list/Comment/Comment.module.css +4 -4
  56. package/es/list/Dot/Dot.module.css +3 -3
  57. package/es/list/DotNew/DotNew.module.css +4 -4
  58. package/es/list/GridStencils/GridStencils.module.css +24 -24
  59. package/es/list/Icons/AddNewIcon.js +3 -2
  60. package/es/list/Icons/CompleteIcon.js +2 -2
  61. package/es/list/Icons/DeleteIcon.js +4 -3
  62. package/es/list/Icons/EditIcon.js +5 -3
  63. package/es/list/Icons/Icons.module.css +2 -2
  64. package/es/list/Icons/ReadUnreadIcon.js +5 -3
  65. package/es/list/Icons/SmartIcon.js +5 -3
  66. package/es/list/ListLayout/ListLayout.module.css +30 -14
  67. package/es/list/ListStencils/ListStencils.module.css +12 -12
  68. package/es/list/SecondaryText/SecondaryText.module.css +11 -11
  69. package/es/list/SentimentStatus/SentimentStatus.module.css +3 -3
  70. package/es/list/TagNew/TagNew.module.css +4 -4
  71. package/es/list/Thread/Thread.module.css +7 -7
  72. package/es/list/UserTime/UserTime.module.css +8 -8
  73. package/es/list/listCommon.module.css +31 -9
  74. package/es/list/status/StatusDropdown/StatusDropdown.js +9 -2
  75. package/es/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
  76. package/es/list/status/StatusListItem/StatusListItem.module.css +16 -16
  77. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  78. package/es/lookup/Lookup/Lookup.module.css +5 -5
  79. package/es/lookup/Section/LookupSection.module.css +1 -1
  80. package/es/lookup/header/Close/LookupClose.module.css +3 -3
  81. package/es/lookup/header/Search/LookupSearch.module.css +14 -14
  82. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  83. package/es/lookup/header/Title/LookupTitle.module.css +1 -1
  84. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  85. package/es/lookup/header/lookupHeaderCommon.module.css +8 -8
  86. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  87. package/es/setup/header/Button/HeaderButton.module.css +2 -2
  88. package/es/setup/header/Link/HeaderLink.module.css +5 -5
  89. package/es/setup/header/Search/Search.module.css +8 -8
  90. package/es/setup/header/Views/Views.module.css +4 -4
  91. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  92. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  93. package/es/setup/helptips/ListGroup/ListGroup.module.css +3 -3
  94. package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  95. package/es/setup/table/TableData/SetupTableData.module.css +6 -6
  96. package/es/setup/table/TableHead/SetupTableHead.module.css +5 -5
  97. package/es/setup/table/TableRow/SetupTableRow.module.css +5 -5
  98. package/es/setup/table/Text/TableText.module.css +2 -2
  99. package/es/version2/AlertClose/AlertClose.module.css +2 -2
  100. package/es/version2/GlobalNotification/GlobalNotification.module.css +13 -13
  101. package/es/version2/errorstate/V2_ErrorStates.module.css +17 -17
  102. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +13 -13
  103. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
  104. package/es/version2/lookup/alertLookupCommonNew.module.css +5 -5
  105. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
  106. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
  107. package/lib/ActionButton/ActionButton.module.css +14 -14
  108. package/lib/AlphabeticList/AlphabeticList.js +1 -1
  109. package/lib/AlphabeticList/AlphabeticList.module.css +10 -10
  110. package/lib/Attachment/Attachment.module.css +24 -26
  111. package/lib/AttachmentViewer/AttachmentImage.js +1 -1
  112. package/lib/AttachmentViewer/AttachmentViewer.module.css +41 -41
  113. package/lib/ChannelIcon/ChannelIcon.module.css +22 -22
  114. package/lib/Drawer/Drawer.module.css +40 -41
  115. package/lib/ExternalLink/ExternalLink.js +1 -1
  116. package/lib/FormAction/FormAction.module.css +20 -20
  117. package/lib/Hooks/Dragger/useDragger.js +2 -7
  118. package/lib/IconButton/IconButton.module.css +2 -2
  119. package/lib/Image/Image.module.css +0 -1
  120. package/lib/ImportantNotes/ImportantNotes.module.css +5 -5
  121. package/lib/Loader/Loader.module.css +0 -1
  122. package/lib/Message/Message.module.css +9 -9
  123. package/lib/MessageBanner/MessageBanner.module.css +7 -7
  124. package/lib/NewStar/NewStar.module.css +10 -18
  125. package/lib/Separator/Separator.module.css +6 -6
  126. package/lib/TagWithIcon/TagWithIcon.module.css +6 -6
  127. package/lib/ToastMessage/ToastMessage.js +2 -1
  128. package/lib/ToastMessage/ToastMessage.module.css +23 -23
  129. package/lib/Upload/Upload.module.css +15 -15
  130. package/lib/alert/AlertHeader/AlertHeader.module.css +12 -12
  131. package/lib/alert/AlertLookup/AlertLookup.js +1 -1
  132. package/lib/alert/AlertLookup/AlertLookup.module.css +6 -6
  133. package/lib/avatar/AvatarClose/AvatarClose.module.css +1 -1
  134. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
  135. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
  136. package/lib/avatar/AvatarThread/AvatarThread.module.css +24 -24
  137. package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
  138. package/lib/avatar/AvatarUser/AvatarUser.module.css +40 -40
  139. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
  140. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  141. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
  142. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
  143. package/lib/emptystate/EditionPage/EditionPage.css +13 -13
  144. package/lib/errorstate/EmptyStates.module.css +18 -18
  145. package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  146. package/lib/errorstate/LinkText/LinkText.module.css +1 -1
  147. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  148. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
  149. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  150. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  151. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  152. package/lib/errorstate/WillBack/WillBack.module.css +10 -10
  153. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  154. package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
  155. package/lib/form/fields/DateField/DateField.js +1 -1
  156. package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
  157. package/lib/form/fields/Fields.module.css +26 -26
  158. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  159. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  160. package/lib/form/fields/RadioField/RadioField.js +1 -1
  161. package/lib/form/fields/SelectField/SelectField.js +1 -1
  162. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
  163. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  164. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  165. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  166. package/lib/form/fields/TextEditor/TextEditor.js +13 -11
  167. package/lib/form/fields/TextEditor/TextEditor.module.css +77 -84
  168. package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
  169. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  170. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -3
  171. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  172. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
  173. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
  174. package/lib/layout/SubtabLayout/SubtabLayout.module.css +32 -32
  175. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  176. package/lib/list/Comment/Comment.module.css +4 -4
  177. package/lib/list/Dot/Dot.module.css +3 -3
  178. package/lib/list/DotNew/DotNew.module.css +4 -4
  179. package/lib/list/GridStencils/GridStencils.module.css +24 -24
  180. package/lib/list/Icons/AddNewIcon.js +3 -2
  181. package/lib/list/Icons/CompleteIcon.js +2 -2
  182. package/lib/list/Icons/DeleteIcon.js +4 -3
  183. package/lib/list/Icons/EditIcon.js +5 -3
  184. package/lib/list/Icons/Icons.module.css +2 -2
  185. package/lib/list/Icons/ReadUnreadIcon.js +5 -3
  186. package/lib/list/Icons/SmartIcon.js +5 -3
  187. package/lib/list/ListLayout/ListLayout.module.css +30 -14
  188. package/lib/list/ListStencils/ListStencils.js +1 -1
  189. package/lib/list/ListStencils/ListStencils.module.css +12 -12
  190. package/lib/list/SecondaryText/AccountName.js +1 -1
  191. package/lib/list/SecondaryText/Email.js +1 -1
  192. package/lib/list/SecondaryText/HappinessRating.js +1 -1
  193. package/lib/list/SecondaryText/PhoneNumber.js +1 -1
  194. package/lib/list/SecondaryText/SecondaryText.module.css +11 -11
  195. package/lib/list/SecondaryText/Website.js +1 -1
  196. package/lib/list/SecondryPanel/SecondryPanel.js +1 -1
  197. package/lib/list/SentimentStatus/SentimentStatus.module.css +3 -3
  198. package/lib/list/TagNew/TagNew.module.css +4 -4
  199. package/lib/list/Thread/Thread.module.css +7 -7
  200. package/lib/list/UserTime/UserTime.module.css +8 -8
  201. package/lib/list/listCommon.module.css +31 -9
  202. package/lib/list/status/StatusDropdown/StatusDropdown.js +9 -2
  203. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
  204. package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
  205. package/lib/list/status/StatusListItem/StatusListItem.module.css +16 -16
  206. package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
  207. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  208. package/lib/lookup/Lookup/Lookup.js +1 -1
  209. package/lib/lookup/Lookup/Lookup.module.css +5 -5
  210. package/lib/lookup/Section/LookupSection.module.css +1 -1
  211. package/lib/lookup/header/Close/Close.js +1 -1
  212. package/lib/lookup/header/Close/LookupClose.module.css +3 -3
  213. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
  214. package/lib/lookup/header/Search/LookupSearch.module.css +14 -14
  215. package/lib/lookup/header/Search/Search.js +1 -1
  216. package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
  217. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  218. package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
  219. package/lib/lookup/header/Title/Title.js +1 -1
  220. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  221. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  222. package/lib/lookup/header/lookupHeaderCommon.module.css +8 -8
  223. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  224. package/lib/setup/header/Button/HeaderButton.module.css +2 -2
  225. package/lib/setup/header/Link/HeaderLink.module.css +5 -5
  226. package/lib/setup/header/Search/Search.module.css +8 -8
  227. package/lib/setup/header/Views/Views.module.css +4 -4
  228. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  229. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  230. package/lib/setup/helptips/ListGroup/ListGroup.module.css +3 -3
  231. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  232. package/lib/setup/table/TableData/SetupTableData.module.css +6 -6
  233. package/lib/setup/table/TableHead/SetupTableHead.module.css +5 -5
  234. package/lib/setup/table/TableRow/SetupTableRow.module.css +5 -5
  235. package/lib/setup/table/Text/TableText.module.css +2 -2
  236. package/lib/version2/AlertClose/AlertClose.js +1 -1
  237. package/lib/version2/AlertClose/AlertClose.module.css +2 -2
  238. package/lib/version2/GlobalNotification/GlobalNotification.module.css +13 -13
  239. package/lib/version2/errorstate/V2_ErrorStates.module.css +17 -17
  240. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +13 -13
  241. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -1
  242. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
  243. package/lib/version2/lookup/alertLookupCommonNew.module.css +5 -5
  244. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
  245. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
  246. package/package.json +9 -23
@@ -3,6 +3,7 @@ import { ReadUnreadIcon_defaultProps } from './props/defaultProps';
3
3
  import { ReadUnreadIcon_propTypes } from './props/propTypes';
4
4
  import { Icon } from '@zohodesk/icons';
5
5
  import style from './Icons.module.css';
6
+ import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
6
7
  export default class ReadUnreadIcon extends React.Component {
7
8
  render() {
8
9
  let {
@@ -15,11 +16,12 @@ export default class ReadUnreadIcon extends React.Component {
15
16
  isRead,
16
17
  iconSize
17
18
  } = this.props;
18
- return /*#__PURE__*/React.createElement("span", {
19
+ return /*#__PURE__*/React.createElement("button", {
19
20
  onClick: onClick,
20
- className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
21
+ className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
21
22
  "data-id": dataId,
22
- "data-title": dataTitle
23
+ "data-title": dataTitle,
24
+ "aria-label": dataTitle
23
25
  }, /*#__PURE__*/React.createElement(Icon, {
24
26
  name: isRead ? 'ZD-GN-read' : 'ZD-GN-unread',
25
27
  size: iconSize,
@@ -2,6 +2,7 @@ import React, { Component } from 'react';
2
2
  import { SmartIcon_propTypes } from './props/propTypes';
3
3
  import style from './Icons.module.css';
4
4
  import { Icon } from '@zohodesk/icons';
5
+ import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
5
6
  export default class SmartIcon extends Component {
6
7
  render() {
7
8
  let {
@@ -11,11 +12,12 @@ export default class SmartIcon extends Component {
11
12
  iconClass,
12
13
  className
13
14
  } = this.props;
14
- return /*#__PURE__*/React.createElement("span", {
15
+ return /*#__PURE__*/React.createElement("button", {
15
16
  onClick: onClick,
16
- className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
17
+ className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
17
18
  "data-id": dataId,
18
- "data-title": dataTitle
19
+ "data-title": dataTitle,
20
+ "aria-label": dataTitle
19
21
  }, /*#__PURE__*/React.createElement(Icon, {
20
22
  name: "ZD-TK-peek",
21
23
  iconClass: iconClass ? iconClass : ''
@@ -1,58 +1,74 @@
1
1
  .varClass {
2
2
  --listBorder: var(--zdt_listLayout_border)
3
3
  }
4
+
4
5
  .container {
5
6
  position: relative;
6
7
  composes: varClass;
7
8
  }
8
- .listHover:hover, .hoveredStyle{
9
+
10
+ .listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
9
11
  background-color: var(--zdt_listLayout_hover_bg);
10
12
  }
13
+
11
14
  .active, .active:hover {
12
15
  background-color: var(--zdt_listLayout_active_bg);
13
16
  }
14
- .cursorPointer{
17
+
18
+ .cursorPointer {
15
19
  cursor: pointer
16
20
  }
21
+
17
22
  /* View */
18
23
  .classic .innerContainer {
19
- min-height: 70px;
20
- padding: 13px 0;
24
+ min-height: var(--zd_size70);
25
+ padding: var(--zd_size13) 0;
21
26
  }
27
+
22
28
  .compact .innerContainer {
23
- min-height: 41px;
24
- padding: 5px 0;
29
+ min-height: var(--zd_size41);
30
+ padding: var(--zd_size5) 0;
25
31
  }
32
+
26
33
  .superCompact .innerContainer {
27
- min-height: 35px;
28
- padding: 2px 0;
34
+ min-height: var(--zd_size35);
35
+ padding: var(--zd_size2) 0;
29
36
  }
37
+
30
38
  .compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
31
39
  border-bottom: 1px dotted var(--listBorder);
32
40
  }
41
+
33
42
  [dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
34
43
  border-left: var(--zd_size2) solid transparent;
35
44
  }
45
+
36
46
  [dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
37
47
  border-right: var(--zd_size2) solid transparent;
38
48
  }
39
- [dir=ltr] .keyboardActive, [dir=ltr] .active{
49
+
50
+ [dir=ltr] .keyboardActive, [dir=ltr] .active {
40
51
  border-top-left-radius: var(--zd_size5);
41
52
  border-bottom-left-radius: var(--zd_size5);
42
53
  }
43
- [dir=rtl] .keyboardActive, [dir=rtl] .active{
54
+
55
+ [dir=rtl] .keyboardActive, [dir=rtl] .active {
44
56
  border-top-right-radius: var(--zd_size5);
45
57
  border-bottom-right-radius: var(--zd_size5);
46
58
  }
47
- [dir=ltr] .keyboardActive{
59
+
60
+ [dir=ltr] .keyboardActive {
48
61
  border-left-color: var(--zdt_listLayout_keyboard_active_border);
49
62
  }
50
- [dir=rtl] .keyboardActive{
63
+
64
+ [dir=rtl] .keyboardActive {
51
65
  border-right-color: var(--zdt_listLayout_keyboard_active_border);
52
66
  }
53
- [dir=ltr] .active{
67
+
68
+ [dir=ltr] .active {
54
69
  border-left-color: var(--zdt_listLayout_active_border);
55
70
  }
56
- [dir=rtl] .active{
71
+
72
+ [dir=rtl] .active {
57
73
  border-right-color: var(--zdt_listLayout_active_border);
58
74
  }
@@ -1,7 +1,7 @@
1
1
  .container {
2
2
  position: relative;
3
3
  width: 100%;
4
- padding: 0 30px;
4
+ padding: 0 var(--zd_size30);
5
5
  }
6
6
  .innerContainer {
7
7
  composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
@@ -11,10 +11,10 @@
11
11
  composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
12
12
  }
13
13
  [dir=ltr] .avatar {
14
- margin-right: 25px;
14
+ margin-right: var(--zd_size25);
15
15
  }
16
16
  [dir=rtl] .avatar {
17
- margin-left: 25px;
17
+ margin-left: var(--zd_size25);
18
18
  }
19
19
  .detailsColumn {
20
20
  min-height: 0;
@@ -31,25 +31,25 @@
31
31
  flex-basis: 50%;
32
32
  }
33
33
  .classic .secondaryRow {
34
- margin-top: 10px;
34
+ margin-top: var(--zd_size10);
35
35
  }
36
36
  [dir=ltr] .compact .secondaryRow, [dir=ltr] .superCompact .secondaryRow {
37
- margin-left: 30px;
37
+ margin-left: var(--zd_size30);
38
38
  }
39
39
  [dir=rtl] .compact .secondaryRow, [dir=rtl] .superCompact .secondaryRow {
40
- margin-right: 30px;
40
+ margin-right: var(--zd_size30);
41
41
  }
42
42
  .classic .innerContainer {
43
- height: 70px;
44
- padding: 13px 0;
43
+ height: var(--zd_size70);
44
+ padding: var(--zd_size13) 0;
45
45
  }
46
46
  .compact .innerContainer {
47
- height: 41px;
48
- padding: 5px 0;
47
+ height: var(--zd_size41);
48
+ padding: var(--zd_size5) 0;
49
49
  }
50
50
  .superCompact .innerContainer {
51
- height: 35px;
52
- padding: 2px 0;
51
+ height: var(--zd_size35);
52
+ padding: var(--zd_size2) 0;
53
53
  }
54
54
  .classic .detailsInnerColumn {
55
55
  -webkit-box-orient: vertical;
@@ -1,12 +1,12 @@
1
1
  .paidUserIcon {
2
2
  vertical-align: middle;
3
- bottom: 1px;
3
+ bottom: var(--zd_size1);
4
4
  position: relative;
5
- font-size: 8px;
5
+ font-size: var(--zd_font_size8);
6
6
  }[dir=ltr] .paidUserIcon {
7
- margin-right: 5px;
7
+ margin-right: var(--zd_size5);
8
8
  }[dir=rtl] .paidUserIcon {
9
- margin-left: 5px;
9
+ margin-left: var(--zd_size5);
10
10
  }
11
11
  .icon {
12
12
  display: block;
@@ -35,12 +35,12 @@ display: block
35
35
  }
36
36
  .textStyle,
37
37
  .secondaryText {
38
- font-size: 12px;
38
+ font-size: var(--zd_font_size12);
39
39
  }
40
40
  .ticketId,
41
41
  .phoneNumber,
42
42
  .ratingText {
43
- font-size: 12px;
43
+ font-size: var(--zd_font_size12);
44
44
  }
45
45
  .textStyle,
46
46
  .secondaryText,
@@ -91,11 +91,11 @@ display: block
91
91
  }
92
92
 
93
93
  .priorityText {
94
- font-size: 12px;
94
+ font-size: var(--zd_font_size12);
95
95
  max-width: 100%;
96
96
  }
97
97
  .departmentText {
98
- font-size: 12px;
98
+ font-size: var(--zd_font_size12);
99
99
  color: var(--zdt_secondaryText_secondaryText_text);
100
100
  max-width: 100%;
101
101
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
@@ -105,14 +105,14 @@ display: block
105
105
  composes: inlineBlockMiddle from '../listCommon.module.css';
106
106
  }
107
107
  .happinessImg {
108
- width: 13px;
108
+ width: var(--zd_size13);
109
109
  vertical-align: middle;
110
110
  }
111
111
  [dir=ltr] .happinessImg {
112
- margin: 0 4px 0 0;
112
+ margin: 0 var(--zd_size4) 0 0;
113
113
  }
114
114
  [dir=rtl] .happinessImg {
115
- margin: 0 0 0 4px;
115
+ margin: 0 0 0 var(--zd_size4);
116
116
  }
117
117
 
118
118
  /* colors */
@@ -1,10 +1,10 @@
1
1
  .container {
2
2
  vertical-align: middle;
3
- font-size: 10px;
3
+ font-size: var(--zd_font_size10);
4
4
  }[dir=ltr] .container {
5
- margin: 0 0 0 5px;
5
+ margin: 0 0 0 var(--zd_size5);
6
6
  }[dir=rtl] .container {
7
- margin: 0 5px 0 0;
7
+ margin: 0 var(--zd_size5) 0 0;
8
8
  }
9
9
 
10
10
  .sentimentIcon {
@@ -1,7 +1,7 @@
1
1
  .tagStyle {
2
- min-width: 70px;
3
- height: 28px;
4
- font-size: 13px;
2
+ min-width: var(--zd_size70);
3
+ height: var(--zd_size28);
4
+ font-size: var(--zd_font_size13);
5
5
  color: var(--zdt_tagnew_default_text);
6
6
  composes: inlineFlex from '../listCommon.module.css';
7
7
  composes: alignHorizontal from '~@zohodesk/components/lib/common/common.module.css';
@@ -11,7 +11,7 @@
11
11
  border-radius: var(--zd_size14);
12
12
  background-color: var(--zdt_tagnew_default_bg);
13
13
  box-shadow: var(--zd_bs_tagnew_shadow);
14
- padding: 0 15px;
14
+ padding: 0 var(--zd_size15);
15
15
  transform: scale(0);
16
16
  cursor: pointer;
17
17
  }
@@ -11,33 +11,33 @@
11
11
  --icon_color: var(--zdt_thread_hover_iconText);
12
12
  }
13
13
  .count {
14
- font-size: 9px;
14
+ font-size: var(--zd_font_size9);
15
15
  }
16
16
  .align_left .count {
17
17
  position: absolute;
18
18
  line-height: normal;
19
- top: 3px;
19
+ top: var(--zd_size3);
20
20
  }
21
21
  [dir=ltr] .align_left .count {
22
22
  text-align: left;
23
- left: 8px;
23
+ left: var(--zd_size8);
24
24
  }
25
25
  [dir=rtl] .align_left .count {
26
26
  text-align: right;
27
- right: 8px;
27
+ right: var(--zd_size8);
28
28
  }
29
29
  .align_right {
30
30
  composes: dInflex alignFend from '~@zohodesk/components/lib/common/common.module.css';
31
31
  }
32
32
  .align_right .count {
33
33
  position: relative;
34
- bottom: 2px;
34
+ bottom: var(--zd_size2);
35
35
  }
36
36
  [dir=ltr] .align_right .count {
37
- right: 5px;
37
+ right: var(--zd_size5);
38
38
  float: right;
39
39
  }
40
40
  [dir=rtl] .align_right .count {
41
- left: 5px;
41
+ left: var(--zd_size5);
42
42
  float: left;
43
43
  }
@@ -8,13 +8,13 @@
8
8
  composes: varClass;
9
9
  }
10
10
  .f8 {
11
- font-size: 8px;
11
+ font-size: var(--zd_font_size8);
12
12
  }
13
13
  .f9 {
14
- font-size: 9px;
14
+ font-size: var(--zd_font_size9);
15
15
  }
16
16
  .f10 {
17
- font-size: 10px;
17
+ font-size: var(--zd_font_size10);
18
18
  }
19
19
  .closedTime span:last-child:before,
20
20
  .completedTask span:first-child:before {
@@ -24,7 +24,7 @@
24
24
  color: var(--zdt_usertime_icon_green);
25
25
  }
26
26
  .textStyle {
27
- font-size: 12px;
27
+ font-size: var(--zd_font_size12);
28
28
  color: var(--text_color);
29
29
  display: block;
30
30
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
@@ -33,12 +33,12 @@
33
33
  display: block;
34
34
  }
35
35
  [dir=ltr] .iconStyle {
36
- margin-right: 3px;
37
- margin-left: 1px;
36
+ margin-right: var(--zd_size3);
37
+ margin-left: var(--zd_size1);
38
38
  }
39
39
  [dir=rtl] .iconStyle {
40
- margin-left: 3px;
41
- margin-right: 1px;
40
+ margin-left: var(--zd_size3);
41
+ margin-right: var(--zd_size1);
42
42
  }
43
43
  /* colors */
44
44
  .iconColor {
@@ -2,59 +2,81 @@
2
2
  display: inline-block;
3
3
  vertical-align: middle;
4
4
  }
5
+
5
6
  .inlineFlex {
6
7
  composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
7
8
  }
9
+
8
10
  [dir=ltr] .avatarMargin {
9
- margin-right: 25px;
11
+ margin-right: var(--zd_size25);
10
12
  }
13
+
11
14
  [dir=rtl] .avatarMargin {
12
- margin-left: 25px;
15
+ margin-left: var(--zd_size25);
13
16
  }
17
+
14
18
  .subject {
15
19
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
16
- font-size: 16px;
20
+ font-size: var(--zd_font_size16);
17
21
  }
22
+
18
23
  .secondaryPanel {
19
24
  line-height: var(--zd_size18);
20
25
  composes: dflex alignVertical flexwrap from '~@zohodesk/components/lib/common/common.module.css';
21
26
  }
27
+
22
28
  .statusColumn {
23
29
  composes: inlineBlockMiddle;
24
30
  }
31
+
25
32
  [dir=ltr] .statusColumn {
26
33
  text-align: right;
27
34
  }
35
+
28
36
  [dir=rtl] .statusColumn {
29
37
  text-align: left;
30
38
  }
39
+
31
40
  .classic .floatingIconContainer {
32
41
  display: none;
33
42
  }
43
+
34
44
  .compact .floatingIconContainer,
35
45
  .superCompact .floatingIconContainer,
36
46
  .listContainer:hover .classic .floatingIconContainer,
37
- .hoveredStyle .classic .floatingIconContainer {
47
+ .hoveredStyle .classic .floatingIconContainer,
48
+ .compact:focus-within .floatingIconContainer,
49
+ .superCompact:focus-within .floatingIconContainer,
50
+ .listContainer:focus-within .classic .floatingIconContainer,
51
+ .hoveredStyle .classic:focus-within .floatingIconContainer {
38
52
  display: inline-flex;
39
53
  align-items: center;
40
54
  }
55
+
41
56
  .compact .floatingIconContainer,
42
57
  .superCompact .floatingIconContainer {
43
58
  opacity: 0;
44
59
  visibility: hidden;
45
60
  }
61
+
46
62
  .floatingIcons {
47
- font-size: 15px;
63
+ font-size: var(--zd_font_size15);
48
64
  }
49
- .listContainer, .listLayoutContainer {
65
+
66
+ .listContainer,
67
+ .listLayoutContainer {
50
68
  position: relative;
51
69
  transition: var(--zd_transition3) all ease;
52
70
  }
71
+
53
72
  .listContainer:hover .compact .floatingIconContainer,
54
73
  .listContainer:hover .superCompact .floatingIconContainer,
55
74
  .hoveredStyle .compact .floatingIconContainer,
56
- .hoveredStyle .superCompact .floatingIconContainer
57
- {
75
+ .hoveredStyle .superCompact .floatingIconContainer,
76
+ .listContainer:focus-within .compact .floatingIconContainer,
77
+ .listContainer:focus-within .superCompact .floatingIconContainer,
78
+ .hoveredStyle .compact:focus-within .floatingIconContainer,
79
+ .hoveredStyle .superCompact:focus-within .floatingIconContainer {
58
80
  opacity: 1;
59
81
  visibility: visible;
60
- }
82
+ }
@@ -276,8 +276,13 @@ export class StatusDropdown extends React.Component {
276
276
  statusColor,
277
277
  needExternalPopupState = false,
278
278
  isPopupActive = false,
279
- needMultiLineText
279
+ needMultiLineText,
280
+ a11y = {}
280
281
  } = this.props;
282
+ const {
283
+ tabIndex = 0,
284
+ ariaLabelledby
285
+ } = a11y;
281
286
  let isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
282
287
  let {
283
288
  searchString
@@ -300,7 +305,9 @@ export class StatusDropdown extends React.Component {
300
305
  onClick: removeClose,
301
306
  disabled: isDisabled || isReadOnly ? true : false,
302
307
  "aria-haspopup": true,
303
- "aria-expanded": isPopupOpen && isEditable ? true : false
308
+ "aria-expanded": isPopupOpen && isEditable ? true : false,
309
+ tabIndex: tabIndex,
310
+ "aria-labelledby": ariaLabelledby
304
311
  }, isEditable ? /*#__PURE__*/React.createElement("div", {
305
312
  className: style.hiddenInput
306
313
  }, /*#__PURE__*/React.createElement(TextBox, {
@@ -5,20 +5,20 @@
5
5
  position: relative;
6
6
  }
7
7
  .maxHgt {
8
- max-height: 265px;
9
- padding: 10px 0;
8
+ max-height: var(--zd_size265);
9
+ padding: var(--zd_size10) 0;
10
10
  }
11
11
  .responsivemaxHgt{
12
- padding: 10px 0 0;
12
+ padding: var(--zd_size10) 0 0;
13
13
  }
14
14
  .title {
15
- padding-top: 6px;
15
+ padding-top: var(--zd_size6);
16
16
  }
17
17
  [dir=ltr] .default_arrow, [dir=ltr] .overlay_arrow {
18
- padding: 0 0 0 5px;
18
+ padding: 0 0 0 var(--zd_size5);
19
19
  }
20
20
  [dir=rtl] .default_arrow, [dir=rtl] .overlay_arrow {
21
- padding: 0 5px 0 0;
21
+ padding: 0 var(--zd_size5) 0 0;
22
22
  }
23
23
  .overlay_arrow {
24
24
  position: absolute;
@@ -43,10 +43,10 @@
43
43
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
44
44
  }
45
45
  .search {
46
- padding: 6px 20px 0;
46
+ padding: var(--zd_size6) var(--zd_size20) 0;
47
47
  }
48
48
  .svgWrapper {
49
- padding-bottom: 25px;
49
+ padding-bottom: var(--zd_size25);
50
50
  }
51
51
  .readOnly {
52
52
  cursor: no-drop;
@@ -64,22 +64,22 @@
64
64
  text-align: right;
65
65
  }
66
66
  [dir=ltr] .iconBox {
67
- margin-right: 4px;
67
+ margin-right: var(--zd_size4);
68
68
  }
69
69
  [dir=rtl] .iconBox {
70
- margin-left: 4px;
70
+ margin-left: var(--zd_size4);
71
71
  }
72
72
  .iconBox > i {
73
73
  display: block;
74
74
  }
75
75
  .loader {
76
- width: 40px;
76
+ width: var(--zd_size40);
77
77
  margin: 0 auto;
78
78
  }
79
79
  .seperatedLine {
80
- height: 1px;
80
+ height: var(--zd_size1);
81
81
  border-bottom: 1px solid var(--zdt_statusdropdown_line_border);
82
- margin: 9px 0 10px;
82
+ margin: var(--zd_size9) 0 var(--zd_size10);
83
83
  }
84
84
  .hiddenInput {
85
85
  width: 0;
@@ -1,9 +1,9 @@
1
1
  .list {
2
2
  color: var(--zdt_statuslistitem_list_text);
3
- font-size: 13px;
3
+ font-size: var(--zd_font_size13);
4
4
  position: relative;
5
5
  list-style: none;
6
- min-height: 35px;
6
+ min-height: var(--zd_size35);
7
7
  cursor: pointer;
8
8
  }
9
9
  [dir=ltr] .withBorder {
@@ -13,22 +13,22 @@
13
13
  border-right: 1px solid var(--zdt_statuslistitem_default_border);
14
14
  }
15
15
  [dir=ltr] .small {
16
- padding: 7px 3px 7px 5px;
16
+ padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5);
17
17
  }
18
18
  [dir=rtl] .small {
19
- padding: 7px 5px 7px 3px;
19
+ padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3);
20
20
  }
21
21
  .medium {
22
- padding: 7px 20px;
22
+ padding: var(--zd_size7) var(--zd_size20);
23
23
  }
24
24
  .large {
25
- height: 48px;
25
+ height: var(--zd_size48);
26
26
  }
27
27
  [dir=ltr] .large {
28
- padding: 10px 3px 10px 25px;
28
+ padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
29
29
  }
30
30
  [dir=rtl] .large {
31
- padding: 10px 25px 10px 3px;
31
+ padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
32
32
  }
33
33
  .value,.multiLineValue {
34
34
  line-height: var(--zd_size20);
@@ -72,31 +72,31 @@
72
72
  position: absolute;
73
73
  }
74
74
  [dir=ltr] .tickIcon {
75
- right: 20px;
75
+ right: var(--zd_size20);
76
76
  }
77
77
  [dir=rtl] .tickIcon {
78
- left: 20px;
78
+ left: var(--zd_size20);
79
79
  }
80
80
  .tickIcon > i {
81
81
  display: block;
82
82
  }
83
83
  [dir=ltr] .active.withTick {
84
- padding-right: 39px;
84
+ padding-right: var(--zd_size39);
85
85
  }
86
86
  [dir=rtl] .active.withTick {
87
- padding-left: 39px;
87
+ padding-left: var(--zd_size39);
88
88
  }
89
89
  /* Status Type */
90
90
  .statusType {
91
- width: 8px;
92
- height: 8px;
91
+ width: var(--zd_size8);
92
+ height: var(--zd_size8);
93
93
  border-radius: 50%;
94
94
  }
95
95
  [dir=ltr] .statusType {
96
- margin-right: 13px;
96
+ margin-right: var(--zd_size13);
97
97
  }
98
98
  [dir=rtl] .statusType {
99
- margin-left: 13px;
99
+ margin-left: var(--zd_size13);
100
100
  }
101
101
  .black {
102
102
  background-color: var(--zdt_statuslistitem_black_bg);
@@ -2,11 +2,11 @@
2
2
  text-align: center;
3
3
  }
4
4
  .image {
5
- margin: 20px auto;
5
+ margin: var(--zd_size20) auto;
6
6
  }
7
7
  .contentDiv {
8
- font-size: 20px;
8
+ font-size: var(--zd_font_size20);
9
9
  font-family: var(--zd_semibold);
10
10
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
11
- margin-top: 15px;
11
+ margin-top: var(--zd_size15);
12
12
  }
@@ -1,6 +1,6 @@
1
1
  .container {
2
- font-size: 16px;
3
- padding-bottom: 10px;
2
+ font-size: var(--zd_font_size16);
3
+ padding-bottom: var(--zd_size10);
4
4
  }
5
5
  .box {
6
6
  position: relative;
@@ -10,13 +10,13 @@
10
10
  }
11
11
  /* Size */
12
12
  .smallSize {
13
- max-width: 470px;
13
+ max-width: var(--zd_size470);
14
14
  }
15
15
  .xmediumSize {
16
- max-width: 620px;
16
+ max-width: var(--zd_size620);
17
17
  }
18
18
  .mediumSize {
19
- max-width: 840px;
19
+ max-width: var(--zd_size840);
20
20
  }
21
21
  .largeSize {
22
22
  max-width: 70%;