@zohodesk/dot 1.4.0 → 1.4.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 (155) hide show
  1. package/.cli/AppearanceThemeValidationExcludeFiles.js +1 -0
  2. package/.cli/PropLessFiles.html +1 -1
  3. package/.cli/PropUnificationExcludeFilesArray.js +345 -0
  4. package/.cli/PropValidationExcludeFilesArray.js +8 -1
  5. package/.cli/propValidation_report.html +24 -2
  6. package/README.md +12 -0
  7. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +3 -0
  8. package/assets/Appearance/light/mode/Dot_LightMode.module.css +3 -0
  9. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +3 -0
  10. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  11. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  12. package/coverage/ExternalLink/index.html +1 -1
  13. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  14. package/coverage/ExternalLink/props/index.html +1 -1
  15. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  16. package/coverage/IconButton/IconButton.js.html +1 -1
  17. package/coverage/IconButton/IconButton.module.css.html +5 -2
  18. package/coverage/IconButton/index.html +1 -1
  19. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  20. package/coverage/IconButton/props/index.html +1 -1
  21. package/coverage/IconButton/props/propTypes.js.html +1 -1
  22. package/coverage/Image/Image.js.html +1 -1
  23. package/coverage/Image/Image.module.css.html +1 -1
  24. package/coverage/Image/index.html +1 -1
  25. package/coverage/Image/props/defaultProps.js.html +1 -1
  26. package/coverage/Image/props/index.html +1 -1
  27. package/coverage/Image/props/propTypes.js.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  29. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  30. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  31. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  32. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  33. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  34. package/coverage/coverage-final.json +16 -16
  35. package/coverage/coverage-summary.json +16 -16
  36. package/coverage/index.html +1 -1
  37. package/es/ActionButton/ActionButton.js +10 -1
  38. package/es/ActionButton/ActionButton.module.css +7 -0
  39. package/es/ActionButton/props/propTypes.js +2 -1
  40. package/es/AlphabeticList/AlphabeticList.module.css +2 -0
  41. package/es/AttachmentViewer/AttachmentViewer.module.css +2 -0
  42. package/es/ChannelIcon/ChannelIcon.module.css +4 -0
  43. package/es/Drawer/Drawer.js +2 -5
  44. package/es/FormAction/FormAction.module.css +2 -0
  45. package/es/IconButton/IconButton.module.css +1 -0
  46. package/es/Link/Link.js +1 -2
  47. package/es/Provider/Config.js +2 -1
  48. package/es/TagWithIcon/TagWithIcon.module.css +19 -5
  49. package/es/avatar/AvatarIcon/AvatarIcon.module.css +6 -0
  50. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -1
  51. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -0
  52. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
  53. package/es/layout/SubtabLayout/SubtabLayout.module.css +2 -0
  54. package/es/list/Comment/Comment.module.css +1 -0
  55. package/es/list/Dot/Dot.module.css +1 -0
  56. package/es/list/ListLayout/ListLayout.js +1 -1
  57. package/es/list/ListLayout/ListLayout.module.css +12 -0
  58. package/es/list/Subject/Subject.module.css +1 -0
  59. package/es/list/Thread/Thread.module.css +1 -0
  60. package/es/list/status/StatusDropdown/StatusDropdown.js +6 -6
  61. package/es/lookup/Lookup/Lookup.js +1 -1
  62. package/es/setup/header/Search/Search.module.css +1 -0
  63. package/es/setup/table/TableRow/SetupTableRow.module.css +3 -2
  64. package/es/v1/ActionButton/ActionButton.js +7 -2
  65. package/es/v1/Drawer/Drawer.js +2 -5
  66. package/es/v1/Link/Link.js +1 -2
  67. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +0 -1
  68. package/es/v1/list/ListLayout/ListLayout.js +1 -1
  69. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +6 -6
  70. package/es/v1/lookup/Lookup/Lookup.js +1 -1
  71. package/es/v1/notification/DesktopNotification/DesktopNotification.js +79 -55
  72. package/es/v1/notification/DesktopNotification/props/defaultProps.js +3 -1
  73. package/es/v1/notification/DesktopNotification/props/propTypes.js +2 -1
  74. package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +59 -23
  75. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +3 -1
  76. package/es/v1/notification/DesktopNotificationHeader/props/propTypes.js +2 -1
  77. package/es/v1/setup/header/Button/Button.js +17 -29
  78. package/es/v1/setup/header/Link/Link.js +23 -35
  79. package/es/v1/setup/header/Search/Search.js +43 -69
  80. package/es/v1/setup/header/Views/Views.js +27 -39
  81. package/es/v1/setup/helptips/Description/Description.js +8 -20
  82. package/es/v1/setup/helptips/Link/Link.js +20 -32
  83. package/es/v1/setup/helptips/ListGroup/ListGroup.js +18 -30
  84. package/es/v1/setup/helptips/Title/Title.js +8 -20
  85. package/es/version2/GlobalNotification/GlobalNotification.module.css +3 -0
  86. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -0
  87. package/es/version2/notification/DesktopNotification/DesktopNotification.js +78 -55
  88. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -4
  89. package/es/version2/notification/DesktopNotification/props/defaultProps.js +3 -1
  90. package/es/version2/notification/DesktopNotification/props/propTypes.js +2 -1
  91. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +59 -23
  92. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +14 -17
  93. package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +3 -1
  94. package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +2 -1
  95. package/lib/ActionButton/ActionButton.js +41 -32
  96. package/lib/ActionButton/ActionButton.module.css +7 -0
  97. package/lib/ActionButton/props/propTypes.js +2 -1
  98. package/lib/AlphabeticList/AlphabeticList.module.css +2 -0
  99. package/lib/AttachmentViewer/AttachmentViewer.module.css +2 -0
  100. package/lib/ChannelIcon/ChannelIcon.module.css +4 -0
  101. package/lib/Drawer/Drawer.js +2 -5
  102. package/lib/FormAction/FormAction.module.css +2 -0
  103. package/lib/IconButton/IconButton.module.css +1 -0
  104. package/lib/Link/Link.js +1 -2
  105. package/lib/Provider/Config.js +2 -1
  106. package/lib/TagWithIcon/TagWithIcon.module.css +19 -5
  107. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +6 -0
  108. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -1
  109. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -0
  110. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
  111. package/lib/layout/SubtabLayout/SubtabLayout.module.css +2 -0
  112. package/lib/list/Comment/Comment.module.css +1 -0
  113. package/lib/list/Dot/Dot.module.css +1 -0
  114. package/lib/list/ListLayout/ListLayout.js +1 -1
  115. package/lib/list/ListLayout/ListLayout.module.css +12 -0
  116. package/lib/list/Subject/Subject.module.css +1 -0
  117. package/lib/list/Thread/Thread.module.css +1 -0
  118. package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -6
  119. package/lib/lookup/Lookup/Lookup.js +1 -1
  120. package/lib/setup/header/Search/Search.module.css +1 -0
  121. package/lib/setup/table/TableRow/SetupTableRow.module.css +3 -2
  122. package/lib/v1/ActionButton/ActionButton.js +7 -2
  123. package/lib/v1/Drawer/Drawer.js +2 -5
  124. package/lib/v1/Link/Link.js +1 -2
  125. package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +0 -1
  126. package/lib/v1/list/ListLayout/ListLayout.js +1 -1
  127. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +6 -6
  128. package/lib/v1/lookup/Lookup/Lookup.js +1 -1
  129. package/lib/v1/notification/DesktopNotification/DesktopNotification.js +74 -55
  130. package/lib/v1/notification/DesktopNotification/props/defaultProps.js +5 -1
  131. package/lib/v1/notification/DesktopNotification/props/propTypes.js +2 -1
  132. package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +57 -23
  133. package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +5 -1
  134. package/lib/v1/notification/DesktopNotificationHeader/props/propTypes.js +2 -1
  135. package/lib/v1/setup/header/Button/Button.js +17 -63
  136. package/lib/v1/setup/header/Link/Link.js +23 -69
  137. package/lib/v1/setup/header/Search/Search.js +57 -89
  138. package/lib/v1/setup/header/Views/Views.js +27 -73
  139. package/lib/v1/setup/helptips/Description/Description.js +8 -53
  140. package/lib/v1/setup/helptips/Link/Link.js +23 -69
  141. package/lib/v1/setup/helptips/ListGroup/ListGroup.js +26 -72
  142. package/lib/v1/setup/helptips/Title/Title.js +8 -53
  143. package/lib/version2/GlobalNotification/GlobalNotification.module.css +3 -0
  144. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -0
  145. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +74 -55
  146. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -4
  147. package/lib/version2/notification/DesktopNotification/props/defaultProps.js +5 -1
  148. package/lib/version2/notification/DesktopNotification/props/propTypes.js +2 -1
  149. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +57 -23
  150. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +14 -17
  151. package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -1
  152. package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +2 -1
  153. package/package.json +15 -13
  154. package/propValidationArg.json +8 -0
  155. package/result.json +1 -1
@@ -5,32 +5,29 @@
5
5
  composes: varClass;
6
6
  min-height: var(--zd_size54) ;
7
7
  position: relative;
8
+ /* css:theme-validation:ignore */
9
+ /* css:theme-validation:ignore */
8
10
  color: var(--zdt_desktopnotification_text);
9
11
  background-color: var(--alert_lookup_bg_color);
10
12
  border-style: solid;
11
13
  border-color: var(--commonalert_border_color);
12
14
  border-width: 2px 0 0 0;
13
15
  }
14
-
16
+
15
17
  .title {
16
- font-size: var(--zd_font_size18) ;
17
- line-height: var(--zd_size22);
18
- font-family: var(--zd_bold);
19
- composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
18
+ composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
20
19
  }
21
-
20
+
22
21
  [dir=ltr] .title {
23
22
  margin: 0 var(--zd_size5) 0 var(--zd_size10) ;
24
23
  }
25
-
24
+
26
25
  [dir=rtl] .title {
27
26
  margin: 0 var(--zd_size10) 0 var(--zd_size5) ;
28
27
  }
29
28
 
30
29
  .infoText {
31
- font-size: var(--zd_font_size14) ;
32
30
  max-width: 100% ;
33
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
34
31
  }
35
32
 
36
33
  /* Palette */
@@ -38,19 +35,19 @@
38
35
  .success {
39
36
  --commonalert_border_color: var(--zdt_commonalert_success_border);
40
37
  }
41
-
38
+
42
39
  .info,.notification,.alarm {
43
40
  --commonalert_border_color: var(--zdt_commonalert_info_border);
44
41
  }
45
-
42
+
46
43
  .danger {
47
44
  --commonalert_border_color: var(--zdt_commonalert_danger_border);
48
45
  }
49
-
46
+
50
47
  .error {
51
48
  --commonalert_border_color: var(--zdt_commonalert_error_border);
52
49
  }
53
-
50
+
54
51
  .warning {
55
52
  --commonalert_border_color: var(--zdt_commonalert_warning_border);
56
53
  }
@@ -72,16 +69,16 @@
72
69
  .primary .infoText {
73
70
  line-height: var(--zd_size18);
74
71
  }
75
-
72
+
76
73
  .primary .close {
77
74
  position: absolute;
78
75
  top: var(--zd_size12) ;
79
76
  }
80
-
77
+
81
78
  [dir=ltr] .primary .close {
82
79
  right: var(--zd_size12) ;
83
80
  }
84
-
81
+
85
82
  [dir=rtl] .primary .close {
86
83
  left: var(--zd_size12) ;
87
84
  }
@@ -134,4 +131,4 @@
134
131
  [dir=rtl] .secondary .close {
135
132
  left: var(--zd_size12) ;
136
133
  margin: auto var(--zd_size25) auto 0 ;
137
- }
134
+ }
@@ -1,5 +1,7 @@
1
+ import { getDotLibraryConfig } from '../../../../Provider/Config';
1
2
  export const defaultProps = {
2
3
  needIcon: true,
3
4
  variant: 'primary',
4
- needClose: true
5
+ needClose: true,
6
+ responsiveId: getDotLibraryConfig('desktopNotificationResponsiveId')
5
7
  };
@@ -7,5 +7,6 @@ export const propTypes = {
7
7
  onClose: PropTypes.func,
8
8
  title: PropTypes.string,
9
9
  type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
10
- variant: PropTypes.oneOf(['primary', 'secondary'])
10
+ variant: PropTypes.oneOf(['primary', 'secondary']),
11
+ responsiveId: PropTypes.string
11
12
  };
@@ -63,48 +63,57 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
63
63
 
64
64
  _this = _super.call(this, props);
65
65
  _this.handleTogglePopup = _this.handleTogglePopup.bind(_assertThisInitialized(_this));
66
+ _this.handlePopupOpen = _this.handlePopupOpen.bind(_assertThisInitialized(_this));
66
67
  return _this;
67
68
  }
68
69
 
69
70
  _createClass(ActionButton, [{
70
- key: "handleTogglePopup",
71
- value: function handleTogglePopup(e) {
71
+ key: "handlePopupOpen",
72
+ value: function handlePopupOpen(e) {
72
73
  var _this$props = this.props,
73
- togglePopup = _this$props.togglePopup,
74
+ openPopupOnly = _this$props.openPopupOnly,
74
75
  defaultPosition = _this$props.defaultPosition;
76
+ openPopupOnly(e, defaultPosition);
77
+ }
78
+ }, {
79
+ key: "handleTogglePopup",
80
+ value: function handleTogglePopup(e) {
81
+ var _this$props2 = this.props,
82
+ togglePopup = _this$props2.togglePopup,
83
+ defaultPosition = _this$props2.defaultPosition;
75
84
  togglePopup(e, defaultPosition);
76
85
  }
77
86
  }, {
78
87
  key: "render",
79
88
  value: function render() {
80
- var _this$props2 = this.props,
81
- isLoading = _this$props2.isLoading,
82
- onClick = _this$props2.onClick,
83
- size = _this$props2.size,
84
- dataId = _this$props2.dataId,
85
- dataSelectorId = _this$props2.dataSelectorId,
86
- isArrow = _this$props2.isArrow,
87
- text = _this$props2.text,
88
- subText = _this$props2.subText,
89
- arrowBoxSize = _this$props2.arrowBoxSize,
90
- palette = _this$props2.palette,
91
- onHover = _this$props2.onHover,
92
- position = _this$props2.position,
93
- className = _this$props2.className,
94
- iconName = _this$props2.iconName,
95
- iconSize = _this$props2.iconSize,
96
- dataTitle = _this$props2.dataTitle,
97
- isDisabled = _this$props2.isDisabled,
98
- isPopupOpen = _this$props2.isPopupOpen,
99
- removeClose = _this$props2.removeClose,
100
- children = _this$props2.children,
101
- dropBoxClass = _this$props2.dropBoxClass,
102
- isBoxPaddingNeed = _this$props2.isBoxPaddingNeed,
103
- getContainerRef = _this$props2.getContainerRef,
104
- getTargetRef = _this$props2.getTargetRef,
105
- removeChildrenTooltip = _this$props2.removeChildrenTooltip,
106
- innerClassName = _this$props2.innerClassName,
107
- popupGroup = _this$props2.popupGroup;
89
+ var _this$props3 = this.props,
90
+ isLoading = _this$props3.isLoading,
91
+ onClick = _this$props3.onClick,
92
+ size = _this$props3.size,
93
+ dataId = _this$props3.dataId,
94
+ dataSelectorId = _this$props3.dataSelectorId,
95
+ isArrow = _this$props3.isArrow,
96
+ text = _this$props3.text,
97
+ subText = _this$props3.subText,
98
+ arrowBoxSize = _this$props3.arrowBoxSize,
99
+ palette = _this$props3.palette,
100
+ onHover = _this$props3.onHover,
101
+ position = _this$props3.position,
102
+ className = _this$props3.className,
103
+ iconName = _this$props3.iconName,
104
+ iconSize = _this$props3.iconSize,
105
+ dataTitle = _this$props3.dataTitle,
106
+ isDisabled = _this$props3.isDisabled,
107
+ isPopupOpen = _this$props3.isPopupOpen,
108
+ removeClose = _this$props3.removeClose,
109
+ children = _this$props3.children,
110
+ dropBoxClass = _this$props3.dropBoxClass,
111
+ isBoxPaddingNeed = _this$props3.isBoxPaddingNeed,
112
+ getContainerRef = _this$props3.getContainerRef,
113
+ getTargetRef = _this$props3.getTargetRef,
114
+ removeChildrenTooltip = _this$props3.removeChildrenTooltip,
115
+ innerClassName = _this$props3.innerClassName,
116
+ popupGroup = _this$props3.popupGroup;
108
117
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
109
118
  alignBox: "row",
110
119
  isCover: false,
@@ -152,7 +161,7 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
152
161
  "data-title": removeChildrenTooltip ? null : subText,
153
162
  className: _ActionButtonModule["default"].subTxt
154
163
  }, subText) : null)), children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
155
- onClick: onClick ? !onHover && this.handleTogglePopup : undefined,
164
+ onClick: onClick && !onHover ? this.handleTogglePopup : this.handlePopupOpen,
156
165
  onMouseEnter: onClick ? onHover && this.handleTogglePopup : undefined,
157
166
  onMouseLeave: onClick ? onHover && this.handleTogglePopup : undefined,
158
167
  className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ActionButtonModule["default"][arrowBoxSize + '_arrowBox'], " ").concat(_ActionButtonModule["default"][palette + 'Arw'], " ").concat(_ActionButtonModule["default"].arrowWrapper, " ").concat(isPopupOpen ? _ActionButtonModule["default"].arrowActive : ''),
@@ -13,12 +13,14 @@
13
13
  --buttonText: var(--zdt_actionButton_primaryFilled_text);
14
14
  }
15
15
  .primaryFilledBtn, .primaryFilledArw {
16
+ /* css:theme-validation:ignore */
16
17
  background-color: var(--buttonBg);
17
18
  }
18
19
  .primaryBox {
19
20
  --buttonText: var(--zdt_actionButton_primary_text);
20
21
  }
21
22
  .primaryBtn, .primaryArw {
23
+ /* css:theme-validation:ignore */
22
24
  border: 1px solid var(--buttonBorder);
23
25
  }
24
26
  [dir=ltr] .primaryBtn {
@@ -81,6 +83,7 @@
81
83
  .txt,
82
84
  .subTxt {
83
85
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
86
+ /* css:theme-validation:ignore */
84
87
  color: var(--buttonText);
85
88
  }
86
89
  .arrowWrapper {
@@ -94,6 +97,9 @@
94
97
  [dir=rtl] .arrowWrapper {
95
98
  border-radius: var(--zd_size4) 0 0 var(--zd_size4);
96
99
  }
100
+ .primaryFilledArw {
101
+ /* css:theme-validation:ignore */
102
+ }
97
103
  [dir=ltr] .primaryFilledArw {
98
104
  border-left: 1px solid var(--buttonSeparatorBorder);
99
105
  }
@@ -129,6 +135,7 @@
129
135
  }
130
136
  .arrow,
131
137
  .iconClr {
138
+ /* css:theme-validation:ignore */
132
139
  color: var(--buttonText);
133
140
  }
134
141
  [dir=ltr] .iconMrgn {
@@ -38,6 +38,7 @@ var propTypes = {
38
38
  removeChildrenTooltip: _propTypes["default"].bool,
39
39
  innerClassName: _propTypes["default"].string,
40
40
  popupGroup: _propTypes["default"].string,
41
- togglePopup: _propTypes["default"].func
41
+ togglePopup: _propTypes["default"].func,
42
+ openPopupOnly: _propTypes["default"].func
42
43
  };
43
44
  exports.propTypes = propTypes;
@@ -33,6 +33,7 @@
33
33
  .list {
34
34
  font-size: var(--zd_font_size11) ;
35
35
  flex-basis: var(--zd_size12) ;
36
+ /* css:theme-validation:ignore */
36
37
  color: var(--textColor);
37
38
  text-align: center;
38
39
  cursor: pointer;
@@ -49,6 +50,7 @@
49
50
  }
50
51
  .list :hover,
51
52
  .selected {
53
+ /* css:theme-validation:ignore */
52
54
  color: var(--textHoverColor);
53
55
  }
54
56
  .title {
@@ -154,6 +154,7 @@
154
154
  .imgItem {
155
155
  height: var(--zd_size60) ;
156
156
  min-width: var(--zd_size40) ;
157
+ /* css:theme-validation:ignore */
157
158
  position: relative;
158
159
  transition: border var(--zd_transition3);
159
160
  border-width: 2px;
@@ -345,6 +346,7 @@
345
346
  }
346
347
 
347
348
  .btn {
349
+ /* css:theme-validation:ignore */
348
350
  height: 100% ;
349
351
  width: 100% ;
350
352
  background-color: var(--dot_mirror);
@@ -16,6 +16,7 @@
16
16
  top: calc( var(--zd_size4) * -1 ) ;
17
17
  height: var(--zd_size15) ;
18
18
  width: var(--zd_size15) ;
19
+ /* css:theme-validation:ignore */
19
20
  background-color: var(--topIconBg);
20
21
  }
21
22
  [dir=ltr] .thread {
@@ -25,10 +26,12 @@
25
26
  left: calc( var(--zd_size1) * -1 ) ;
26
27
  }
27
28
  .threadBorder {
29
+ /* css:theme-validation:ignore */
28
30
  border: 1px solid var(--topIconBorderColor);
29
31
  }
30
32
  .iconStyle {
31
33
  position: relative;
34
+ /* css:theme-validation:ignore */
32
35
  color: var(--iconColor);
33
36
  }
34
37
 
@@ -213,5 +216,6 @@
213
216
  --topIconColor: var(--zdt_channelIcon_topIcon_iconYellow);
214
217
  }
215
218
  .topicIcon {
219
+ /* css:theme-validation:ignore */
216
220
  color: var(--topIconColor);
217
221
  }
@@ -130,10 +130,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
130
130
  shrink: true
131
131
  }, /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
132
132
  title: title,
133
- className: _DrawerModule["default"].title,
134
- a11y: {
135
- tabindex: '0'
136
- }
133
+ className: _DrawerModule["default"].title
137
134
  })) : null, getTitleChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getTitleChildren()) : null)) : null, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, children) : null)), onClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
138
135
  onClick: onClose,
139
136
  dataId: "closeButton",
@@ -268,7 +265,7 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
268
265
  _focusScopeProps$need4 = focusScopeProps.needFocusLoop,
269
266
  needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
270
267
  _focusScopeProps$need5 = focusScopeProps.needEnterAction,
271
- needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
268
+ needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
272
269
 
273
270
  var childrenWithProps = _react["default"].Children.map(children, function (child) {
274
271
  if (child.type === Header || child.type === Footer || child.type === Content) {
@@ -9,6 +9,8 @@
9
9
  }
10
10
  .footerParent {
11
11
  position: relative;
12
+ /* css:theme-validation:ignore */
13
+ /* css:theme-validation:ignore */
12
14
  background-color: var(--footerBg);
13
15
  border-top: solid 1px var(--footerBorder);
14
16
  }
@@ -6,6 +6,7 @@
6
6
  width: var(--zd_size28) ;
7
7
  composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
8
8
  composes: varClass;
9
+ /* css:theme-validation:ignore */
9
10
  color: var(--iconColor);
10
11
  cursor: pointer;
11
12
  }
package/lib/Link/Link.js CHANGED
@@ -141,8 +141,7 @@ var Link = /*#__PURE__*/function (_React$Component) {
141
141
  }, others, {
142
142
  onClick: this.onCallBack.bind(this, urlOutput, href)
143
143
  }, customProps, {
144
- "aria-label": ariaLabel,
145
- tabIndex: "0"
144
+ "aria-label": ariaLabel
146
145
  }), children);
147
146
  }
148
147
  }]);
@@ -16,7 +16,8 @@ var config = {
16
16
  left: 0,
17
17
  right: 0,
18
18
  bottom: 0
19
- }
19
+ },
20
+ desktopNotificationResponsiveId: 'Helmet'
20
21
  };
21
22
 
22
23
  function getDotLibraryConfig(key) {
@@ -5,52 +5,66 @@
5
5
  --tag_small_fontSize: var(--zd_font_size10);
6
6
  --tag_large_fontSize: var(--zd_font_size12);
7
7
  }
8
+
8
9
  .wrapper {
9
10
  composes: varClass;
11
+ /* css:theme-validation:ignore */
12
+ /* css:theme-validation:ignore */
10
13
  color: var(--tag_text_color);
11
14
  background-color: var(--tag_bg_color);
12
15
  }
16
+
13
17
  .small,
14
18
  .large {
19
+ /* css:theme-validation:ignore */
15
20
  max-width: 100% ;
16
21
  height: var(--zd_size18) ;
17
22
  }
23
+
18
24
  .small, .large {
19
- border: 1px solid;
20
- border-color: var(--tag_border_color);
25
+ border: 1px solid var(--tag_border_color);
21
26
  border-radius: var(--zd_size4);
22
27
  padding: 0 var(--zd_size6) ;
23
28
  }
29
+
24
30
  .bold {
25
31
  composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
26
32
  }
33
+
27
34
  .small_text {
28
35
  font-size: var(--tag_small_fontSize);
29
36
  }
37
+
30
38
  .large_text {
31
39
  font-size: var(--tag_large_fontSize);
32
40
  }
41
+
33
42
  .text {
34
43
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
35
44
  }
36
- [dir=ltr] .iconSpace{
45
+
46
+ [dir=ltr] .iconSpace {
37
47
  margin-right: var(--zd_size4) ;
38
48
  }
39
- [dir=rtl] .iconSpace{
49
+
50
+ [dir=rtl] .iconSpace {
40
51
  margin-left: var(--zd_size4) ;
41
52
  }
53
+
42
54
  .yellow {
43
55
  --tag_bg_color: var(--zdt_tagWithIconYellow_bg);
44
56
  --tag_text_color: var(--zdt_tagWithIconYellow_text);
45
57
  --tag_border_color: var(--zdt_tagWithIconYellow_border);
46
58
  }
59
+
47
60
  .grey {
48
61
  --tag_bg_color: var(--zdt_tagWithIconGrey_bg);
49
62
  --tag_text_color: var(--zdt_tagWithIconGrey_text);
50
63
  --tag_border_color: var(--zdt_tagWithIconGrey_border);
51
64
  }
65
+
52
66
  .blue {
53
67
  --tag_bg_color: var(--zdt_tagWithIconBlue_bg);
54
68
  --tag_text_color: var(--zdt_tagWithIconBlue_text);
55
69
  --tag_border_color: var(--zdt_tagWithIconBlue_border);
56
- }
70
+ }
@@ -6,11 +6,16 @@
6
6
  .container {
7
7
  vertical-align: middle;
8
8
  composes: varClass;
9
+ /* css:theme-validation:ignore */
9
10
  border-width: 1px;
10
11
  border-style: solid;
11
12
  border-radius: 50%;
12
13
  border-color: var(--border_color)
13
14
  }
15
+ .borderOnHover:hover,
16
+ .borderOnActive {
17
+ /* css:theme-validation:ignore */
18
+ }
14
19
  .borderOnHover:hover, .borderOnActive {
15
20
  border-color: var(--border_hoverColor)
16
21
  }
@@ -35,6 +40,7 @@
35
40
  --border_hoverColor: var(--zdt_avatarIcon_danger_hover_border);
36
41
  }
37
42
  .iconColor {
43
+ /* css:theme-validation:ignore */
38
44
  color: var(--icon_color);
39
45
  }
40
46
  .icon_danger {
@@ -82,7 +82,6 @@ var AvatarStatus = /*#__PURE__*/function (_React$Component) {
82
82
  return /*#__PURE__*/_react["default"].createElement("div", _extends({
83
83
  className: "".concat(_AvatarStatusModule["default"].container, " ").concat(className, " ")
84
84
  }, AvatarStatusProps, {
85
- tabIndex: "0",
86
85
  "aria-label": "".concat(title, ", ").concat(name, ", ").concat(statusTitle),
87
86
  "data-selector-id": dataSelectorId
88
87
  }), /*#__PURE__*/_react["default"].createElement(_Avatar["default"], _extends({
@@ -21,6 +21,7 @@
21
21
  }
22
22
  .title {
23
23
  font-family: var(--zd_semibold);
24
+ /* css:theme-validation:ignore */
24
25
  color: var(--titleColor);
25
26
  }
26
27
  .small .title {
@@ -31,6 +32,7 @@
31
32
  }
32
33
  .linkWrapper,
33
34
  .linkDescWrapper {
35
+ /* css:theme-validation:ignore */
34
36
  color: var(--descriptionColor);
35
37
  }
36
38
  .small .linkWrapper,
@@ -60,11 +62,13 @@
60
62
  line-height: var(--zd_size19);
61
63
  }
62
64
  .link {
65
+ /* css:theme-validation:ignore */
63
66
  color: var(--linkColor);
64
67
  display: inline-block;
65
68
  cursor: pointer;
66
69
  }
67
70
  .link:hover {
71
+ /* css:theme-validation:ignore */
68
72
  color: var(--linkHoverColor);
69
73
  }
70
74
  .children {
@@ -5,6 +5,7 @@
5
5
  display: inline;
6
6
  }
7
7
  .icon{
8
+ /* css:theme-validation:ignore */
8
9
  color:var(--label_text_color);
9
10
  display: inline-block;
10
11
  margin: 0 var(--zd_size5) ;
@@ -48,6 +48,7 @@
48
48
  }
49
49
 
50
50
  .tertiary_borderStyle {
51
+ /* css:theme-validation:ignore */
51
52
  border-bottom: 1px solid var(--borderColor);
52
53
  }
53
54
 
@@ -149,6 +150,7 @@
149
150
 
150
151
  .footer {
151
152
  composes: varClass;
153
+ /* css:theme-validation:ignore */
152
154
  border-top: 1px solid var(--borderColor);
153
155
  }
154
156
 
@@ -5,6 +5,7 @@
5
5
  composes: varClass;
6
6
  composes: inlineBlockMiddle from '../listCommon.module.css';
7
7
  position: relative;
8
+ /* css:theme-validation:ignore */
8
9
  color: var(--icon_color);
9
10
  padding: 0 var(--zd_size2) ;
10
11
  cursor: pointer;
@@ -4,6 +4,7 @@
4
4
  .dot {
5
5
  composes: varClass;
6
6
  font-size: var(--zd_font_size16) ;
7
+ /* css:theme-validation:ignore */
7
8
  color: var(--dotColor);
8
9
  transform: perspective(1px);
9
10
  }
@@ -89,7 +89,7 @@ var ListLayout = /*#__PURE__*/function (_Component) {
89
89
  "data-id": dataId,
90
90
  "data-test-id": dataId,
91
91
  "data-title": dataTitle,
92
- tabIndex: "0",
92
+ tabIndex: onClick ? '0' : null,
93
93
  role: role,
94
94
  "data-a11y-inset-focus": true,
95
95
  "aria-label": ariaLabel,
@@ -35,10 +35,22 @@
35
35
  padding: var(--zd_size2) 0 ;
36
36
  }
37
37
 
38
+ .compact .innerContainer,
39
+ .classic .innerContainer,
40
+ .superCompact .innerContainer {
41
+ /* css:theme-validation:ignore */
42
+ }
43
+
38
44
  .compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
39
45
  border-bottom: 1px dotted var(--listBorder);
40
46
  }
41
47
 
48
+ .compact,
49
+ .classic,
50
+ .superCompact {
51
+ /* css:theme-validation:ignore */
52
+ }
53
+
42
54
  [dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
43
55
  border-left: var(--zd_size2) solid transparent;
44
56
  }
@@ -3,6 +3,7 @@
3
3
  }
4
4
  .subject {
5
5
  composes: varClass;
6
+ /* css:theme-validation:ignore */
6
7
  color: var(--subject_text);
7
8
  display: block;
8
9
  }
@@ -4,6 +4,7 @@
4
4
  .container {
5
5
  composes: varClass;
6
6
  position: relative;
7
+ /* css:theme-validation:ignore */
7
8
  color: var(--icon_color);
8
9
  cursor: pointer;
9
10
  }
@@ -404,8 +404,8 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
404
404
  dataId: dataId,
405
405
  onClick: removeClose,
406
406
  disabled: isDisabled || isReadOnly ? true : false,
407
- "aria-haspopup": true,
408
- "aria-expanded": isPopupOpen && isEditable ? true : false,
407
+ "aria-haspopup": isSearch ? 'listbox' : 'menu',
408
+ "aria-expanded": isPopupReady && isEditable ? true : false,
409
409
  tabIndex: tabIndex,
410
410
  "aria-labelledby": ariaLabelledby,
411
411
  "aria-label": ariaLabel,
@@ -462,10 +462,10 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
462
462
  inputRef: _this3.searchInputRef,
463
463
  onKeyDown: _this3.handleKeyDown,
464
464
  a11y: {
465
- ariaHaspopup: true,
466
- ariaExpanded: true,
465
+ ariaHaspopup: isSearch ? 'listbox' : 'menu',
466
+ ariaExpanded: isPopupReady,
467
467
  role: 'combobox',
468
- ariaActivedescendant: value,
468
+ ariaActivedescendant: isPopupReady ? value : '',
469
469
  ariaOwns: ariaTitleId
470
470
  }
471
471
  })) : null, title && options.length != 0 && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -487,7 +487,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
487
487
  onScroll: _this3.handleScroll,
488
488
  role: isSearch ? 'listbox' : 'menu',
489
489
  "aria-labelledby": ariaTitleId,
490
- tabindex: "0"
490
+ tabindex: "-1"
491
491
  }, options.length != 0 && isDataLoaded ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, options.map(function (item, i) {
492
492
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
493
493
  key: i
@@ -119,7 +119,7 @@ var Lookup = /*#__PURE__*/function (_Component) {
119
119
  _focusScopeProps$need4 = focusScopeProps.needFocusLoop,
120
120
  needFocusLoop = _focusScopeProps$need4 === void 0 ? true : _focusScopeProps$need4,
121
121
  _focusScopeProps$need5 = focusScopeProps.needEnterAction,
122
- needEnterAction = _focusScopeProps$need5 === void 0 ? false : _focusScopeProps$need5;
122
+ needEnterAction = _focusScopeProps$need5 === void 0 ? true : _focusScopeProps$need5;
123
123
 
124
124
  var content = /*#__PURE__*/_react["default"].createElement("div", {
125
125
  ref: this.createRef,
@@ -35,6 +35,7 @@
35
35
  font-size: var(--zd_font_size13) ;
36
36
  width: 100% ;
37
37
  letter-spacing: 0.2px;
38
+ /* css:theme-validation:ignore */
38
39
  transition: all var(--zd_transition3) ease;
39
40
  color: var(--zdt_search_input_text);
40
41
  font-family: var(--zd_regular);