@zohodesk/dot 1.2.0 → 1.2.2

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 (176) hide show
  1. package/.cli/MissedPropType_Keys.html +101 -0
  2. package/.cli/PropLessFiles.html +101 -0
  3. package/.cli/PropValidationExcludeFilesArray.js +1 -0
  4. package/.cli/propValidation_report.html +160 -0
  5. package/README.md +38 -21
  6. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  7. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  8. package/coverage/ExternalLink/index.html +1 -1
  9. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  10. package/coverage/ExternalLink/props/index.html +1 -1
  11. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  12. package/coverage/Image/Image.js.html +1 -1
  13. package/coverage/Image/Image.module.css.html +1 -1
  14. package/coverage/Image/index.html +1 -1
  15. package/coverage/Image/props/defaultProps.js.html +1 -1
  16. package/coverage/Image/props/index.html +1 -1
  17. package/coverage/Image/props/propTypes.js.html +1 -1
  18. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  19. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  20. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  21. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  24. package/coverage/coverage-final.json +12 -12
  25. package/coverage/coverage-summary.json +12 -12
  26. package/coverage/index.html +1 -1
  27. package/es/ActionButton/ActionButton.js +5 -2
  28. package/es/ActionButton/props/propTypes.js +3 -2
  29. package/es/AlphabeticList/props/propTypes.js +1 -1
  30. package/es/Attachment/Attachment.js +2 -1
  31. package/es/Attachment/Attachment.module.css +10 -6
  32. package/es/Attachment/props/propTypes.js +2 -1
  33. package/es/Drawer/props/propTypes.js +2 -1
  34. package/es/Link/Link.js +2 -1
  35. package/es/Link/props/propTypes.js +5 -1
  36. package/es/Message/Message.js +4 -2
  37. package/es/Message/props/propTypes.js +11 -4
  38. package/es/Separator/props/propTypes.js +1 -1
  39. package/es/TagWithIcon/props/propTypes.js +2 -1
  40. package/es/ToastMessage/props/propTypes.js +4 -3
  41. package/es/actions/props/propTypes.js +2 -1
  42. package/es/alert/AlertLookup/props/propTypes.js +0 -1
  43. package/es/avatar/AvatarThread/props/propTypes.js +1 -1
  44. package/es/deprecated/SelectDropdown/SelectDropdown.js +3 -8
  45. package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -1
  46. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +1 -0
  47. package/es/emptystate/EditionPage/props/propTypes.js +6 -2
  48. package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
  49. package/es/form/fields/CurrencyField/props/propTypes.js +4 -1
  50. package/es/form/fields/DateField/props/propTypes.js +1 -1
  51. package/es/form/fields/FieldContainer/props/propTypes.js +17 -3
  52. package/es/form/fields/MultiSelectField/props/propTypes.js +2 -2
  53. package/es/form/fields/PhoneField/props/propTypes.js +8 -1
  54. package/es/form/fields/RadioField/props/propTypes.js +2 -2
  55. package/es/form/fields/SelectField/SelectField.js +1 -2
  56. package/es/form/fields/SelectField/props/propTypes.js +2 -2
  57. package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
  58. package/es/form/fields/TagsMultiSelectField/props/propTypes.js +13 -2
  59. package/es/form/fields/TextBoxField/props/propTypes.js +8 -1
  60. package/es/form/fields/TextEditor/props/propTypes.js +7 -1
  61. package/es/form/fields/TextEditorField/props/propTypes.js +13 -1
  62. package/es/form/fields/TextEditorWrapper/props/propTypes.js +2 -1
  63. package/es/form/fields/TextareaField/props/propTypes.js +2 -2
  64. package/es/form/fields/ValidationMessage/props/propTypes.js +4 -2
  65. package/es/form/fields/props/FieldCommonPropTypes.js +16 -22
  66. package/es/form/layout/Section/props/propTypes.js +3 -1
  67. package/es/list/Comment/props/propTypes.js +0 -3
  68. package/es/list/GridStencils/props/propTypes.js +2 -1
  69. package/es/list/Icons/AddNewIcon.js +3 -2
  70. package/es/list/Icons/CompleteIcon.js +3 -2
  71. package/es/list/Icons/DeleteIcon.js +4 -3
  72. package/es/list/Icons/EditIcon.js +5 -3
  73. package/es/list/Icons/ReadUnreadIcon.js +5 -3
  74. package/es/list/Icons/SmartIcon.js +5 -3
  75. package/es/list/Icons/props/propTypes.js +0 -2
  76. package/es/list/ListLayout/ListLayout.module.css +24 -8
  77. package/es/list/SecondaryText/props/propTypes.js +0 -1
  78. package/es/list/UserTime/props/propTypes.js +5 -1
  79. package/es/list/listCommon.module.css +23 -5
  80. package/es/list/status/StatusDropdown/StatusDropdown.js +12 -2
  81. package/es/list/status/StatusDropdown/props/propTypes.js +3 -1
  82. package/es/lookup/Lookup/Lookup.js +2 -0
  83. package/es/lookup/Lookup/props/propTypes.js +4 -1
  84. package/es/lookup/header/ViewDropDown/props/propTypes.js +6 -11
  85. package/es/setup/table/TableHead/props/propTypes.js +2 -1
  86. package/es/v1/ChannelIcon/ChannelIcon.js +92 -0
  87. package/es/v1/ExternalLink/ExternalLink.js +49 -0
  88. package/es/v1/NewStar/NewStar.js +61 -0
  89. package/es/v1/lookup/header/Close/Close.js +30 -0
  90. package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +75 -0
  91. package/es/v1/lookup/header/Search/Search.js +177 -0
  92. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +90 -0
  93. package/es/v1/lookup/header/Title/Title.js +27 -0
  94. package/es/v1/version2/GlobalNotification/GlobalNotification.js +4 -2
  95. package/es/version2/GlobalNotification/GlobalNotification.js +4 -2
  96. package/es/version2/GlobalNotification/props/propTypes.js +19 -1
  97. package/es/version2/lookup/AlertLookup/AlertLookup.js +14 -2
  98. package/es/version2/lookup/AlertLookup/props/propTypes.js +0 -1
  99. package/es/version2/notification/DesktopNotification/DesktopNotification.js +2 -1
  100. package/es/version2/notification/DesktopNotification/props/propTypes.js +13 -9
  101. package/lib/ActionButton/ActionButton.js +5 -3
  102. package/lib/ActionButton/props/propTypes.js +3 -2
  103. package/lib/AlphabeticList/props/propTypes.js +1 -1
  104. package/lib/Attachment/Attachment.js +2 -1
  105. package/lib/Attachment/Attachment.module.css +10 -6
  106. package/lib/Attachment/props/propTypes.js +2 -1
  107. package/lib/Drawer/props/propTypes.js +2 -1
  108. package/lib/Link/Link.js +2 -1
  109. package/lib/Link/props/propTypes.js +5 -1
  110. package/lib/Message/Message.js +5 -1
  111. package/lib/Message/props/propTypes.js +23 -6
  112. package/lib/Separator/props/propTypes.js +1 -1
  113. package/lib/TagWithIcon/props/propTypes.js +2 -1
  114. package/lib/ToastMessage/props/propTypes.js +4 -3
  115. package/lib/actions/props/propTypes.js +2 -1
  116. package/lib/alert/AlertLookup/props/propTypes.js +0 -1
  117. package/lib/avatar/AvatarThread/props/propTypes.js +1 -1
  118. package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -7
  119. package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -1
  120. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +1 -0
  121. package/lib/emptystate/EditionPage/props/propTypes.js +6 -2
  122. package/lib/form/fields/CheckBoxField/props/propTypes.js +1 -1
  123. package/lib/form/fields/CurrencyField/props/propTypes.js +5 -2
  124. package/lib/form/fields/DateField/props/propTypes.js +1 -1
  125. package/lib/form/fields/FieldContainer/props/propTypes.js +21 -16
  126. package/lib/form/fields/MultiSelectField/props/propTypes.js +3 -3
  127. package/lib/form/fields/PhoneField/props/propTypes.js +8 -1
  128. package/lib/form/fields/RadioField/props/propTypes.js +2 -2
  129. package/lib/form/fields/SelectField/SelectField.js +1 -2
  130. package/lib/form/fields/SelectField/props/propTypes.js +3 -3
  131. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
  132. package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +16 -11
  133. package/lib/form/fields/TextBoxField/props/propTypes.js +8 -1
  134. package/lib/form/fields/TextEditor/props/propTypes.js +7 -1
  135. package/lib/form/fields/TextEditorField/props/propTypes.js +51 -49
  136. package/lib/form/fields/TextEditorWrapper/props/propTypes.js +2 -1
  137. package/lib/form/fields/TextareaField/props/propTypes.js +3 -3
  138. package/lib/form/fields/ValidationMessage/props/propTypes.js +4 -2
  139. package/lib/form/fields/props/FieldCommonPropTypes.js +16 -23
  140. package/lib/form/layout/Section/props/propTypes.js +3 -1
  141. package/lib/list/Comment/props/propTypes.js +0 -3
  142. package/lib/list/GridStencils/props/propTypes.js +2 -1
  143. package/lib/list/Icons/AddNewIcon.js +4 -2
  144. package/lib/list/Icons/CompleteIcon.js +4 -2
  145. package/lib/list/Icons/DeleteIcon.js +5 -3
  146. package/lib/list/Icons/EditIcon.js +6 -3
  147. package/lib/list/Icons/ReadUnreadIcon.js +6 -3
  148. package/lib/list/Icons/SmartIcon.js +6 -3
  149. package/lib/list/Icons/props/propTypes.js +0 -2
  150. package/lib/list/ListLayout/ListLayout.module.css +24 -8
  151. package/lib/list/SecondaryText/props/propTypes.js +0 -1
  152. package/lib/list/UserTime/props/propTypes.js +5 -1
  153. package/lib/list/listCommon.module.css +23 -5
  154. package/lib/list/status/StatusDropdown/StatusDropdown.js +12 -2
  155. package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
  156. package/lib/lookup/Lookup/Lookup.js +2 -0
  157. package/lib/lookup/Lookup/props/propTypes.js +4 -1
  158. package/lib/lookup/header/ViewDropDown/props/propTypes.js +6 -11
  159. package/lib/setup/table/TableHead/props/propTypes.js +2 -1
  160. package/lib/v1/ChannelIcon/ChannelIcon.js +113 -0
  161. package/lib/v1/ExternalLink/ExternalLink.js +57 -0
  162. package/lib/v1/NewStar/NewStar.js +74 -0
  163. package/lib/v1/lookup/header/Close/Close.js +47 -0
  164. package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +101 -0
  165. package/lib/v1/lookup/header/Search/Search.js +208 -0
  166. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +108 -0
  167. package/lib/v1/lookup/header/Title/Title.js +44 -0
  168. package/lib/v1/version2/GlobalNotification/GlobalNotification.js +5 -1
  169. package/lib/version2/GlobalNotification/GlobalNotification.js +5 -1
  170. package/lib/version2/GlobalNotification/props/propTypes.js +23 -3
  171. package/lib/version2/lookup/AlertLookup/AlertLookup.js +14 -2
  172. package/lib/version2/lookup/AlertLookup/props/propTypes.js +0 -1
  173. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +2 -0
  174. package/lib/version2/notification/DesktopNotification/props/propTypes.js +16 -11
  175. package/package.json +12 -10
  176. package/result.json +1 -1
@@ -140,12 +140,7 @@ SelectDropdown.propTypes = {
140
140
  valueKey: PropTypes.string,
141
141
  options: PropTypes.array
142
142
  }),
143
- title: PropTypes.string
144
- }; // if (__DOCS__) {
145
- // SelectDropdown.docs = {
146
- // componentGroup: 'Header',
147
- // folderName: 'Setup'
148
- // };
149
- // }
150
-
143
+ title: PropTypes.string,
144
+ togglePopup: PropTypes.func
145
+ };
151
146
  export default Popup(SelectDropdown);
@@ -72,5 +72,8 @@ export const propTypes = {
72
72
  customClass: PropTypes.shape({
73
73
  customDropBox: PropTypes.string,
74
74
  customListBox: PropTypes.string
75
- })
75
+ }),
76
+ onSelectLabel: PropTypes.func,
77
+ from: PropTypes.string,
78
+ top: PropTypes.number
76
79
  };
@@ -31,6 +31,7 @@ export default class CommonEmptyState extends Component {
31
31
  "data-id": dataId,
32
32
  "data-test-id": dataId
33
33
  }, getEmptyState ? getEmptyState() : null, title ? /*#__PURE__*/React.createElement("div", {
34
+ tabIndex: "0",
34
35
  className: `${style.title} ${titleClass}`
35
36
  }, title) : null, description ? /*#__PURE__*/React.createElement("div", {
36
37
  className: style.linkWrapper
@@ -2,6 +2,10 @@ import PropTypes from 'prop-types';
2
2
  export const propTypes = {
3
3
  dataId: PropTypes.string,
4
4
  footerText: PropTypes.string,
5
- subTitle: PropTypes.string,
6
- title: PropTypes.string
5
+ title: PropTypes.string,
6
+ subtitle: PropTypes.string,
7
+ information: PropTypes.string,
8
+ onButtonClick: PropTypes.func,
9
+ butttonText: PropTypes.string,
10
+ children: PropTypes.string
7
11
  };
@@ -23,5 +23,5 @@ export const propTypes = {
23
23
  ValidationMessageProps1: PropTypes.object,
24
24
  ValidationMessageProps2: PropTypes.object
25
25
  }),
26
- ...FieldCommonPropTypes()
26
+ ...FieldCommonPropTypes
27
27
  };
@@ -31,6 +31,9 @@ export const propTypes = {
31
31
  ValidationMessageProps1: PropTypes.object,
32
32
  ValidationMessageProps2: PropTypes.object
33
33
  }),
34
+ onFocus: PropTypes.func,
34
35
  formatCurrency: PropTypes.func,
35
- ...FieldCommonPropTypes()
36
+ htmlId: PropTypes.string,
37
+ userCurrencyType: PropTypes.string,
38
+ ...FieldCommonPropTypes
36
39
  };
@@ -35,5 +35,5 @@ export const propTypes = {
35
35
  ValidationMessageProps1: PropTypes.object,
36
36
  ValidationMessageProps2: PropTypes.object
37
37
  }),
38
- ...FieldCommonPropTypes()
38
+ ...FieldCommonPropTypes
39
39
  };
@@ -1,11 +1,25 @@
1
1
  import PropTypes from 'prop-types';
2
- import { FieldCommonPropTypes } from '../../props/FieldCommonPropTypes';
3
- export const propTypes = { ...FieldCommonPropTypes(),
2
+ export const propTypes = {
4
3
  children: PropTypes.node,
5
4
  alignContainer: PropTypes.oneOf('vertical', 'baseline'),
6
5
  renderProps: PropTypes.shape({
7
6
  start: PropTypes.func,
8
7
  middle: PropTypes.func,
9
8
  end: PropTypes.func
10
- })
9
+ }),
10
+ ePhiData: PropTypes.shape({
11
+ ePhiTitle: PropTypes.string,
12
+ ePhiText: PropTypes.string,
13
+ ePhiStatus: PropTypes.bool
14
+ }),
15
+ isLocked: PropTypes.bool,
16
+ lockedInfoText: PropTypes.string,
17
+ infoText: PropTypes.string,
18
+ dataId: PropTypes.string,
19
+ dataSelectorId: PropTypes.string,
20
+ dataId: PropTypes.string,
21
+ infoText: PropTypes.string,
22
+ lockedInfoText: PropTypes.string,
23
+ isLocked: PropTypes.bool,
24
+ dataSelectorId: PropTypes.bool
11
25
  };
@@ -10,7 +10,6 @@ export const propTypes = {
10
10
  getRef: PropTypes.func,
11
11
  id: PropTypes.string,
12
12
  isAnimate: PropTypes.bool,
13
- isFocusOnLabelClick: PropTypes.bool,
14
13
  isNextOptions: PropTypes.bool,
15
14
  isSearching: PropTypes.bool,
16
15
  labelName: PropTypes.string,
@@ -46,5 +45,6 @@ export const propTypes = {
46
45
  ValidationMessageProps2: PropTypes.object
47
46
  }),
48
47
  i18nKeys: PropTypes.object,
49
- ...FieldCommonPropTypes()
48
+ htmlId: PropTypes.string,
49
+ ...FieldCommonPropTypes
50
50
  };
@@ -36,5 +36,12 @@ export const propTypes = {
36
36
  customProps: PropTypes.shape({
37
37
  LinkProps: PropTypes.object,
38
38
  TextBoxFieldProps: PropTypes.object
39
- })
39
+ }),
40
+ onFocus: PropTypes.func,
41
+ dataSelectorId: PropTypes.string,
42
+ isTelephony: PropTypes.bool,
43
+ providerName: PropTypes.string,
44
+ ticketId: PropTypes.string,
45
+ contactId: PropTypes.string,
46
+ type: PropTypes.string
40
47
  };
@@ -19,12 +19,12 @@ export const propTypes = {
19
19
  validationPalette: PropTypes.string,
20
20
  validationRuleMessage: PropTypes.string,
21
21
  validationRulePalette: PropTypes.string,
22
- valueField: PropTypes.string,
23
22
  variant: PropTypes.oneOf(['primary', 'default', 'secondary']),
24
23
  customProps: PropTypes.shape({
25
24
  LabelProps: PropTypes.object,
26
25
  RadioProps: PropTypes.object,
27
26
  ValidationMessageProps1: PropTypes.object,
28
27
  ValidationMessageProps2: PropTypes.object
29
- })
28
+ }),
29
+ dataSelectorId: PropTypes.string
30
30
  };
@@ -97,8 +97,7 @@ export default class SelectField extends PureComponent {
97
97
  onFocus,
98
98
  iconOnHover,
99
99
  customProps,
100
- renderLabelProps,
101
- ariaLabelledby
100
+ renderLabelProps
102
101
  } = this.props;
103
102
  const {
104
103
  LabelProps = {},
@@ -11,7 +11,6 @@ export const propTypes = {
11
11
  getNextOptions: PropTypes.func,
12
12
  getRef: PropTypes.func,
13
13
  id: PropTypes.string,
14
- isFocusOnLabelClick: PropTypes.bool,
15
14
  isNextOptions: PropTypes.bool,
16
15
  labelCustomClass: PropTypes.string,
17
16
  labelName: PropTypes.string,
@@ -46,5 +45,6 @@ export const propTypes = {
46
45
  ValidationMessageProps1: PropTypes.object,
47
46
  ValidationMessageProps2: PropTypes.object
48
47
  }),
49
- ...FieldCommonPropTypes()
48
+ htmlId: PropTypes.string,
49
+ ...FieldCommonPropTypes
50
50
  };
@@ -39,5 +39,6 @@ export const propTypes = {
39
39
  htmlId: PropTypes.string,
40
40
  boxSize: PropTypes.string,
41
41
  onSelectTag: PropTypes.func,
42
- clickableTag: PropTypes.bool
42
+ clickableTag: PropTypes.bool,
43
+ dataSelectorId: PropTypes.string
43
44
  };
@@ -31,7 +31,6 @@ export const propTypes = {
31
31
  onFocus: PropTypes.func
32
32
  }),
33
33
  isNewNeeded: PropTypes.bool,
34
- data: PropTypes.string,
35
34
  htmlId: PropTypes.string,
36
35
  isLoading: PropTypes.bool,
37
36
  isListDisabled: PropTypes.bool,
@@ -48,5 +47,17 @@ export const propTypes = {
48
47
  TagsMultiSelectProps: PropTypes.object,
49
48
  ValidationMessageProps: PropTypes.object
50
49
  }),
51
- ...FieldCommonPropTypes()
50
+ ePhiData: PropTypes.shape({
51
+ ePhiTitle: PropTypes.string,
52
+ ePhiText: PropTypes.string,
53
+ ePhiStatus: PropTypes.bool
54
+ }),
55
+ searchValue: PropTypes.string,
56
+ isPopupOpen: PropTypes.bool,
57
+ isPopupReady: PropTypes.bool,
58
+ removeClose: PropTypes.func,
59
+ togglePopup: PropTypes.func,
60
+ clickableTag: PropTypes.bool,
61
+ dataId: PropTypes.string,
62
+ dataSelectorId: PropTypes.bool
52
63
  };
@@ -33,5 +33,12 @@ export const propTypes = {
33
33
  ValidationMessageProps1: PropTypes.object,
34
34
  ValidationMessageProps2: PropTypes.object
35
35
  }),
36
- ...FieldCommonPropTypes()
36
+ htmlId: PropTypes.string,
37
+ onFocus: PropTypes.func,
38
+ ePhiData: PropTypes.shape({
39
+ ePhiTitle: PropTypes.string,
40
+ ePhiText: PropTypes.string,
41
+ ePhiStatus: PropTypes.bool
42
+ }),
43
+ ...FieldCommonPropTypes
37
44
  };
@@ -36,5 +36,11 @@ export const propTypes = {
36
36
  value: PropTypes.string,
37
37
  needInlineAttachment: PropTypes.bool,
38
38
  isNightMode: PropTypes.bool,
39
- isReadOnly: PropTypes.bool
39
+ isReadOnly: PropTypes.bool,
40
+ EDITORURL: PropTypes.string,
41
+ getCSRFCookieName: PropTypes.string,
42
+ getCSRFCookie: PropTypes.string,
43
+ isEditorDefaultOpen: PropTypes.bool,
44
+ toggleEdit: PropTypes.func,
45
+ dataSelectorId: PropTypes.string
40
46
  };
@@ -43,5 +43,17 @@ export const propTypes = {
43
43
  TextEditorWrapperProps: PropTypes.object,
44
44
  ValidationMessageProps: PropTypes.object
45
45
  }),
46
- ...FieldCommonPropTypes()
46
+ ePhiData: PropTypes.shape({
47
+ ePhiTitle: PropTypes.string,
48
+ ePhiText: PropTypes.string,
49
+ ePhiStatus: PropTypes.bool
50
+ }),
51
+ dataId: PropTypes.string,
52
+ infoText: PropTypes.string,
53
+ lockedInfoText: PropTypes.string,
54
+ isLocked: PropTypes.bool,
55
+ isDisabled: PropTypes.bool,
56
+ isReadOnly: PropTypes.bool,
57
+ isMandatory: PropTypes.bool,
58
+ dataSelectorId: PropTypes.bool
47
59
  };
@@ -35,5 +35,6 @@ export const propTypes = {
35
35
  Textarea1Props: PropTypes.object,
36
36
  TextEditorProps: PropTypes.object,
37
37
  Textarea2Props: PropTypes.object
38
- })
38
+ }),
39
+ dataSelectorId: PropTypes.string
39
40
  };
@@ -14,7 +14,6 @@ export const propTypes = {
14
14
  maxLength: PropTypes.number,
15
15
  onBlur: PropTypes.func,
16
16
  onChange: PropTypes.func,
17
- onKeyDown: PropTypes.func,
18
17
  placeHolder: PropTypes.string,
19
18
  textBoxSize: PropTypes.string,
20
19
  textBoxVariant: PropTypes.string,
@@ -30,5 +29,6 @@ export const propTypes = {
30
29
  ValidationMessageProps1: PropTypes.object,
31
30
  ValidationMessageProps2: PropTypes.object
32
31
  }),
33
- ...FieldCommonPropTypes()
32
+ htmlId: PropTypes.string,
33
+ ...FieldCommonPropTypes
34
34
  };
@@ -1,7 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  export const propTypes = {
3
3
  clipped: PropTypes.bool,
4
- id: PropTypes.string,
5
4
  onClick: PropTypes.func,
6
5
  palette: PropTypes.oneOf(['primary', 'mandatory', 'danger']),
7
6
  size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large']),
@@ -10,5 +9,8 @@ export const propTypes = {
10
9
  a11y: PropTypes.shape({
11
10
  role: PropTypes.string
12
11
  }),
13
- tooltip: PropTypes.string
12
+ tooltip: PropTypes.string,
13
+ htmlFor: PropTypes.string,
14
+ dataId: PropTypes.string,
15
+ dataSelectorId: PropTypes.string
14
16
  };
@@ -1,23 +1,17 @@
1
1
  import PropTypes from 'prop-types';
2
- export const FieldCommonPropTypes = () => {
3
- return {
4
- ePhiData: PropTypes.shape({
5
- ePhiTitle: PropTypes.string,
6
- ePhiText: PropTypes.string,
7
- ePhiStatus: PropTypes.bool
8
- }),
9
- dataId: PropTypes.string,
10
- infoText: PropTypes.string,
11
- lockedInfoText: PropTypes.string,
12
- isLocked: PropTypes.bool,
13
- isDisabled: PropTypes.bool,
14
- isReadOnly: PropTypes.bool,
15
- isMandatory: PropTypes.bool,
16
- renderLabelProps: PropTypes.shape({
17
- start: PropTypes.func,
18
- middle: PropTypes.func,
19
- end: PropTypes.func
20
- }),
21
- dataSelectorId: PropTypes.bool
22
- };
23
- };
2
+ export const FieldCommonPropTypes = {
3
+ dataId: PropTypes.string,
4
+ infoText: PropTypes.string,
5
+ lockedInfoText: PropTypes.string,
6
+ isLocked: PropTypes.bool,
7
+ isDisabled: PropTypes.bool,
8
+ isReadOnly: PropTypes.bool,
9
+ isMandatory: PropTypes.bool,
10
+ renderLabelProps: PropTypes.shape({
11
+ start: PropTypes.func,
12
+ middle: PropTypes.func,
13
+ end: PropTypes.func
14
+ }),
15
+ dataSelectorId: PropTypes.bool
16
+ };
17
+ ;
@@ -5,5 +5,7 @@ export const propTypes = {
5
5
  containerClass: PropTypes.string,
6
6
  dataId: PropTypes.string,
7
7
  title: PropTypes.string,
8
- titleClass: PropTypes.string
8
+ titleClass: PropTypes.string,
9
+ column: PropTypes.string,
10
+ formName: PropTypes.string
9
11
  };
@@ -2,8 +2,5 @@ import PropTypes from 'prop-types';
2
2
  export const propTypes = {
3
3
  className: PropTypes.string,
4
4
  count: PropTypes.string,
5
- features: PropTypes.array,
6
- iconTitle: PropTypes.string,
7
- module: PropTypes.string,
8
5
  onClick: PropTypes.func
9
6
  };
@@ -3,5 +3,6 @@ export const propTypes = {
3
3
  from: PropTypes.string,
4
4
  isThreeLayout: PropTypes.bool,
5
5
  lineBar: PropTypes.string,
6
- styles: PropTypes.object
6
+ styles: PropTypes.object,
7
+ order: PropTypes.number
7
8
  };
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { AddNewIcon_propTypes } from './props/propTypes';
3
3
  import { Icon } from '@zohodesk/icons';
4
4
  import style from './Icons.module.css';
5
+ import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
5
6
  export default class AddNewIcon extends React.Component {
6
7
  render() {
7
8
  let {
@@ -11,9 +12,9 @@ export default class AddNewIcon extends React.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
19
  "data-test-id": dataId,
19
20
  "data-title": dataTitle
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { CompleteIcon_propTypes } from './props/propTypes';
3
3
  import { Icon } from '@zohodesk/icons';
4
4
  import style from './Icons.module.css';
5
+ import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
5
6
  export default class CompleteIcon extends React.Component {
6
7
  render() {
7
8
  let {
@@ -12,9 +13,9 @@ export default class CompleteIcon extends React.Component {
12
13
  className,
13
14
  iconSize
14
15
  } = this.props;
15
- return /*#__PURE__*/React.createElement("span", {
16
+ return /*#__PURE__*/React.createElement("button", {
16
17
  onClick: onClick,
17
- className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
18
+ className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
18
19
  "data-id": dataId,
19
20
  "data-test-id": dataId,
20
21
  "data-title": dataTitle
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { DeleteComponent_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 DeleteComponent extends React.Component {
6
7
  render() {
7
8
  let {
@@ -12,13 +13,13 @@ export default class DeleteComponent extends React.Component {
12
13
  iconSize,
13
14
  className
14
15
  } = this.props;
15
- return /*#__PURE__*/React.createElement("span", {
16
+ return /*#__PURE__*/React.createElement("button", {
16
17
  onClick: onClick,
17
- className: `${style.iconStyle} ${style.redHover} ${className ? className : ''}`,
18
+ className: `${style.iconStyle} ${style.redHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
18
19
  "data-id": dataId,
19
20
  "data-test-id": dataId,
20
21
  "data-title": dataTitle,
21
- tabIndex: 0
22
+ "aria-label": dataTitle
22
23
  }, /*#__PURE__*/React.createElement(Icon, {
23
24
  name: "ZD-GN-delete",
24
25
  iconClass: iconClass ? iconClass : '',
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { EditIcon_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 EditIcon extends React.Component {
6
7
  render() {
7
8
  let {
@@ -12,12 +13,13 @@ export default class EditIcon extends React.Component {
12
13
  iconSize,
13
14
  className
14
15
  } = this.props;
15
- return /*#__PURE__*/React.createElement("span", {
16
+ return /*#__PURE__*/React.createElement("button", {
16
17
  onClick: onClick,
17
- className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''}`,
18
+ className: `${style.iconStyle} ${style.blueHover} ${className ? className : ''} ${btnStyle.buttonReset}`,
18
19
  "data-id": dataId,
19
20
  "data-test-id": dataId,
20
- "data-title": dataTitle
21
+ "data-title": dataTitle,
22
+ "aria-label": dataTitle
21
23
  }, /*#__PURE__*/React.createElement(Icon, {
22
24
  name: "ZD-GN-edit",
23
25
  iconClass: iconClass ? iconClass : '',
@@ -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,12 +16,13 @@ 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
23
  "data-test-id": dataId,
23
- "data-title": dataTitle
24
+ "data-title": dataTitle,
25
+ "aria-label": dataTitle
24
26
  }, /*#__PURE__*/React.createElement(Icon, {
25
27
  name: isRead ? 'ZD-GN-read' : 'ZD-GN-unread',
26
28
  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,12 +12,13 @@ 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
19
  "data-test-id": dataId,
19
- "data-title": dataTitle
20
+ "data-title": dataTitle,
21
+ "aria-label": dataTitle
20
22
  }, /*#__PURE__*/React.createElement(Icon, {
21
23
  name: "ZD-TK-peek",
22
24
  iconClass: iconClass ? iconClass : ''
@@ -48,8 +48,6 @@ export const SmartIcon_propTypes = {
48
48
  className: PropTypes.string,
49
49
  dataId: PropTypes.string,
50
50
  dataTitle: PropTypes.string,
51
- features: PropTypes.array,
52
51
  iconClass: PropTypes.string,
53
- module: PropTypes.string,
54
52
  onClick: PropTypes.func
55
53
  };
@@ -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
24
  min-height: var(--zd_size70) ;
20
25
  padding: var(--zd_size13) 0 ;
21
26
  }
27
+
22
28
  .compact .innerContainer {
23
29
  min-height: var(--zd_size41) ;
24
30
  padding: var(--zd_size5) 0 ;
25
31
  }
32
+
26
33
  .superCompact .innerContainer {
27
34
  min-height: var(--zd_size35) ;
28
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
  }
@@ -30,7 +30,6 @@ export const ContactName_propTypes = {
30
30
  isPaidUser: PropTypes.bool,
31
31
  notAccessible: PropTypes.bool,
32
32
  onClick: PropTypes.func,
33
- sentimentTitle: PropTypes.string,
34
33
  sentimentType: PropTypes.oneOf(['positive', 'negative', 'neutral']),
35
34
  text: PropTypes.string,
36
35
  urlData: PropTypes.object,
@@ -10,5 +10,9 @@ export const propTypes = {
10
10
  later: PropTypes.string,
11
11
  textClass: PropTypes.string,
12
12
  title: PropTypes.string,
13
- to: PropTypes.string
13
+ to: PropTypes.string,
14
+ type: PropTypes.string,
15
+ page: PropTypes.string,
16
+ isNeedTime: PropTypes.bool,
17
+ isOverdue: PropTypes.bool
14
18
  };