@zohodesk/dot 1.4.12 → 1.4.14

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 (229) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +13 -0
  3. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  4. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  5. package/coverage/ExternalLink/index.html +1 -1
  6. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  7. package/coverage/ExternalLink/props/index.html +1 -1
  8. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  9. package/coverage/IconButton/IconButton.js.html +1 -1
  10. package/coverage/IconButton/IconButton.module.css.html +2 -5
  11. package/coverage/IconButton/index.html +1 -1
  12. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  13. package/coverage/IconButton/props/index.html +1 -1
  14. package/coverage/IconButton/props/propTypes.js.html +1 -1
  15. package/coverage/Image/Image.js.html +1 -1
  16. package/coverage/Image/Image.module.css.html +1 -1
  17. package/coverage/Image/index.html +1 -1
  18. package/coverage/Image/props/defaultProps.js.html +1 -1
  19. package/coverage/Image/props/index.html +1 -1
  20. package/coverage/Image/props/propTypes.js.html +1 -1
  21. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  27. package/coverage/index.html +1 -1
  28. package/es/ActionButton/ActionButton.module.css +51 -4
  29. package/es/AlphabeticList/AlphabeticList.module.css +0 -2
  30. package/es/AttachmentViewer/AttachmentViewer.module.css +0 -2
  31. package/es/ChannelIcon/ChannelIcon.module.css +9 -4
  32. package/es/Drawer/Drawer.js +4 -5
  33. package/es/ExternalLink/ExternalLink.js +4 -5
  34. package/es/FlipCard/FlipCard.js +14 -12
  35. package/es/FormAction/FormAction.module.css +18 -1
  36. package/es/FreezeLayer/FreezeLayer.js +1 -1
  37. package/es/IconButton/IconButton.js +4 -5
  38. package/es/IconButton/IconButton.module.css +0 -1
  39. package/es/Link/Link.js +8 -10
  40. package/es/Message/Message.js +4 -5
  41. package/es/TagWithIcon/TagWithIcon.module.css +0 -3
  42. package/es/ToastMessage/ToastMessage.js +2 -4
  43. package/es/actions/AutoClose.js +2 -1
  44. package/es/alert/AlertLookup/AlertLookup.js +14 -12
  45. package/es/avatar/AvatarClose/AvatarClose.js +7 -7
  46. package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
  47. package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
  48. package/es/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
  49. package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
  50. package/es/avatar/AvatarThread/AvatarThread.js +7 -7
  51. package/es/avatar/AvatarUser/AvatarUser.js +10 -9
  52. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  53. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +36 -24
  54. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  55. package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  56. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
  57. package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  58. package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
  59. package/es/form/fields/DateField/DateField.js +14 -14
  60. package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
  61. package/es/form/fields/PhoneField/PhoneField.js +7 -7
  62. package/es/form/fields/RadioField/RadioField.js +21 -15
  63. package/es/form/fields/SelectField/SelectField.js +14 -14
  64. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
  65. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  66. package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
  67. package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
  68. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  69. package/es/form/fields/TextareaField/TextareaField.js +16 -13
  70. package/es/form/fields/TextareaField/props/propTypes.js +1 -0
  71. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
  72. package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
  73. package/es/layout/SubtabLayout/SubtabLayout.module.css +0 -2
  74. package/es/list/Comment/Comment.module.css +0 -1
  75. package/es/list/Dot/Dot.module.css +0 -1
  76. package/es/list/ListLayout/ListLayout.js +4 -5
  77. package/es/list/ListLayout/ListLayout.module.css +0 -6
  78. package/es/list/SecondaryText/AccountName.js +12 -12
  79. package/es/list/SecondaryText/ContactName.js +8 -9
  80. package/es/list/SecondaryText/Email.js +8 -8
  81. package/es/list/SecondaryText/PhoneNumber.js +8 -8
  82. package/es/list/SecondaryText/SecondaryText.js +4 -5
  83. package/es/list/SecondaryText/TicketId.js +7 -7
  84. package/es/list/Subject/Subject.js +7 -7
  85. package/es/list/Subject/Subject.module.css +8 -1
  86. package/es/list/Thread/Thread.module.css +0 -1
  87. package/es/list/status/StatusListItem/StatusListItem.js +5 -5
  88. package/es/lookup/Lookup/Lookup.js +7 -7
  89. package/es/lookup/Lookup/Lookup.module.css +4 -1
  90. package/es/lookup/Lookup/props/propTypes.js +3 -2
  91. package/es/lookup/header/Search/Search.js +5 -3
  92. package/es/lookup/header/TicketHeader/TicketHeader.js +88 -73
  93. package/es/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  94. package/es/lookup/header/TicketHeader/props/propTypes.js +2 -1
  95. package/es/v1/ActionButton/ActionButton.js +1 -1
  96. package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  97. package/es/v1/Drawer/Drawer.js +6 -7
  98. package/es/v1/ExternalLink/ExternalLink.js +4 -5
  99. package/es/v1/FlipCard/FlipCard.js +15 -13
  100. package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
  101. package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
  102. package/es/v1/IconButton/IconButton.js +4 -5
  103. package/es/v1/Link/Link.js +8 -10
  104. package/es/v1/Loader/Loader.js +1 -1
  105. package/es/v1/Message/Message.js +4 -5
  106. package/es/v1/ToastMessage/ToastMessage.js +4 -6
  107. package/es/v1/actions/AutoClose.js +2 -1
  108. package/es/v1/alert/AlertLookup/AlertLookup.js +16 -16
  109. package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
  110. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
  111. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -6
  112. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
  113. package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
  114. package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
  115. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  116. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +39 -27
  117. package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  118. package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  119. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  120. package/es/v1/form/fields/CurrencyField/CurrencyField.js +15 -13
  121. package/es/v1/form/fields/DateField/DateField.js +15 -15
  122. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +14 -13
  123. package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
  124. package/es/v1/form/fields/RadioField/RadioField.js +21 -16
  125. package/es/v1/form/fields/SelectField/SelectField.js +15 -15
  126. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -11
  127. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  128. package/es/v1/form/fields/TextBoxField/TextBoxField.js +15 -15
  129. package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
  130. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  131. package/es/v1/form/fields/TextareaField/TextareaField.js +17 -14
  132. package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -0
  133. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
  134. package/es/v1/list/ListLayout/ListLayout.js +4 -5
  135. package/es/v1/list/SecondaryText/AccountName.js +12 -12
  136. package/es/v1/list/SecondaryText/ContactName.js +8 -9
  137. package/es/v1/list/SecondaryText/Email.js +8 -8
  138. package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
  139. package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
  140. package/es/v1/list/SecondaryText/TicketId.js +7 -7
  141. package/es/v1/list/Subject/Subject.js +7 -7
  142. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  143. package/es/v1/list/status/StatusListItem/StatusListItem.js +6 -6
  144. package/es/v1/lookup/Lookup/Lookup.js +7 -7
  145. package/es/v1/lookup/Lookup/props/propTypes.js +3 -2
  146. package/es/v1/lookup/header/Search/Search.js +5 -3
  147. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +30 -12
  148. package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  149. package/es/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
  150. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  151. package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -8
  152. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  153. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  154. package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
  155. package/es/version2/GlobalNotification/GlobalNotification.module.css +0 -4
  156. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +0 -1
  157. package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
  158. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
  159. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -2
  160. package/lib/ActionButton/ActionButton.module.css +51 -4
  161. package/lib/AlphabeticList/AlphabeticList.module.css +0 -2
  162. package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -2
  163. package/lib/ChannelIcon/ChannelIcon.module.css +9 -4
  164. package/lib/FormAction/FormAction.module.css +18 -1
  165. package/lib/FreezeLayer/FreezeLayer.js +1 -1
  166. package/lib/IconButton/IconButton.module.css +0 -1
  167. package/lib/TagWithIcon/TagWithIcon.module.css +0 -3
  168. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
  169. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +8 -0
  170. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  171. package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  172. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
  173. package/lib/form/fields/RadioField/RadioField.js +3 -0
  174. package/lib/form/fields/TextareaField/TextareaField.js +2 -0
  175. package/lib/form/fields/TextareaField/props/propTypes.js +1 -0
  176. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
  177. package/lib/layout/SubtabLayout/SubtabLayout.module.css +0 -2
  178. package/lib/list/Comment/Comment.module.css +0 -1
  179. package/lib/list/Dot/Dot.module.css +0 -1
  180. package/lib/list/ListLayout/ListLayout.module.css +0 -6
  181. package/lib/list/Subject/Subject.module.css +8 -1
  182. package/lib/list/Thread/Thread.module.css +0 -1
  183. package/lib/lookup/Lookup/Lookup.js +3 -2
  184. package/lib/lookup/Lookup/Lookup.module.css +4 -1
  185. package/lib/lookup/Lookup/props/propTypes.js +3 -2
  186. package/lib/lookup/header/TicketHeader/TicketHeader.js +93 -106
  187. package/lib/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  188. package/lib/lookup/header/TicketHeader/props/propTypes.js +2 -1
  189. package/lib/v1/ActionButton/ActionButton.js +1 -1
  190. package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  191. package/lib/v1/Drawer/Drawer.js +2 -2
  192. package/lib/v1/FlipCard/FlipCard.js +1 -1
  193. package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
  194. package/lib/v1/Loader/Loader.js +1 -1
  195. package/lib/v1/ToastMessage/ToastMessage.js +2 -2
  196. package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -1
  197. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +1 -1
  198. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +11 -3
  199. package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  200. package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  201. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +1 -1
  202. package/lib/v1/form/fields/DateField/DateField.js +1 -1
  203. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  204. package/lib/v1/form/fields/RadioField/RadioField.js +3 -0
  205. package/lib/v1/form/fields/SelectField/SelectField.js +1 -1
  206. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
  207. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +1 -1
  208. package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -1
  209. package/lib/v1/form/fields/TextareaField/props/propTypes.js +1 -0
  210. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  211. package/lib/v1/list/status/StatusListItem/StatusListItem.js +1 -1
  212. package/lib/v1/lookup/Lookup/Lookup.js +3 -2
  213. package/lib/v1/lookup/Lookup/props/propTypes.js +3 -2
  214. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +37 -12
  215. package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  216. package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
  217. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  218. package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
  219. package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  220. package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  221. package/lib/version2/GlobalNotification/GlobalNotification.module.css +0 -4
  222. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +0 -1
  223. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -2
  224. package/package.json +11 -11
  225. package/result.json +1 -1
  226. package/es/v1/Provider/Config.js +0 -20
  227. package/lib/v1/Provider/Config.js +0 -29
  228. /package/es/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
  229. /package/lib/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
- exports["default"] = TicketHeader;
8
+ exports["default"] = void 0;
7
9
 
8
- var _react = _interopRequireDefault(require("react"));
10
+ var _react = _interopRequireWildcard(require("react"));
9
11
 
10
12
  var _defaultProps = require("./props/defaultProps");
11
13
 
@@ -21,6 +23,8 @@ var _ViewDropDown = _interopRequireDefault(require("../../../../lookup/header/Vi
21
23
 
22
24
  var _Layout = require("@zohodesk/components/es/v1/Layout");
23
25
 
26
+ var _useDragger = _interopRequireDefault(require("../../../../Hooks/Dragger/useDragger"));
27
+
24
28
  var _lookupHeaderCommonModule = _interopRequireDefault(require("../../../../lookup/header/lookupHeaderCommon.module.css"));
25
29
 
26
30
  var _lookupHeaderCommonResponsiveModule = _interopRequireDefault(require("../../../../lookup/header/lookupHeaderCommonResponsive.module.css"));
@@ -29,6 +33,10 @@ var _TicketHeaderModule = _interopRequireDefault(require("../../../../lookup/hea
29
33
 
30
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
35
 
36
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
37
+
38
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
39
+
32
40
  /*** Libraries ***/
33
41
 
34
42
  /*** Components ***/
@@ -51,21 +59,27 @@ function TicketHeader(props) {
51
59
  getSearchBoxRef = props.getSearchBoxRef,
52
60
  needViewsList = props.needViewsList,
53
61
  i18nKeys = props.i18nKeys,
54
- palette = props.palette;
62
+ palette = props.palette,
63
+ dragBoundaryLimit = props.dragBoundaryLimit;
55
64
  var _i18nKeys$menuEmptyMe = i18nKeys.menuEmptyMessage,
56
65
  menuEmptyMessage = _i18nKeys$menuEmptyMe === void 0 ? 'No matches found' : _i18nKeys$menuEmptyMe;
66
+ var dragRef = (0, _react.useRef)(null); //dragRef
67
+
68
+ (0, _useDragger["default"])({
69
+ isActive: true,
70
+ ChildRef: dragRef,
71
+ boundaryLimit: dragBoundaryLimit
72
+ }); //custom Hook
73
+
57
74
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
58
75
  align: "vertical",
59
76
  alignBox: "row",
60
77
  className: "".concat(_lookupHeaderCommonModule["default"].container, " ").concat(_lookupHeaderCommonModule["default"]["".concat(palette)], " ").concat(_lookupHeaderCommonResponsiveModule["default"].container, " ").concat(_TicketHeaderModule["default"].container),
61
78
  isCover: false,
62
- wrap: "wrap"
63
- }, /*#__PURE__*/_react["default"].createElement("div", {
64
- className: _lookupHeaderCommonModule["default"].closeContainer
65
- }, /*#__PURE__*/_react["default"].createElement(_Close["default"], {
66
- onClose: onLookupClose,
67
- dataId: "close"
68
- })), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
79
+ wrap: "wrap",
80
+ ref: dragRef,
81
+ "data-drag-hook": "true"
82
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
69
83
  flexible: true
70
84
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
71
85
  alignBox: "column",
@@ -101,8 +115,19 @@ function TicketHeader(props) {
101
115
  dataId: "search",
102
116
  needOnTypeSearch: needOnTypeSearch,
103
117
  getRef: getSearchBoxRef
104
- })) : null);
118
+ })) : null, /*#__PURE__*/_react["default"].createElement("div", {
119
+ className: _lookupHeaderCommonModule["default"].closeContainer
120
+ }, /*#__PURE__*/_react["default"].createElement(_Close["default"], {
121
+ onClose: onLookupClose,
122
+ dataId: "close"
123
+ })));
105
124
  }
106
125
 
107
126
  TicketHeader.propTypes = _propTypes.propTypes;
108
- TicketHeader.defaultProps = _defaultProps.defaultProps;
127
+ TicketHeader.defaultProps = _defaultProps.defaultProps;
128
+ var MemoizedTicketHeader = /*#__PURE__*/(0, _react.memo)(TicketHeader);
129
+ MemoizedTicketHeader.propTypes = _propTypes.propTypes;
130
+ MemoizedTicketHeader.defaultProps = _defaultProps.defaultProps;
131
+ MemoizedTicketHeader.displayName = 'TicketHeader';
132
+ var _default = MemoizedTicketHeader;
133
+ exports["default"] = _default;
@@ -6,6 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.defaultProps = void 0;
7
7
  var defaultProps = {
8
8
  i18nKeys: {},
9
- palette: 'default'
9
+ palette: 'default',
10
+ dragBoundaryLimit: {
11
+ top: 0,
12
+ left: 50,
13
+ right: 50,
14
+ bottom: 50
15
+ }
10
16
  };
11
17
  exports.defaultProps = defaultProps;
@@ -26,6 +26,7 @@ var propTypes = {
26
26
  i18nKeys: _propTypes["default"].shape({
27
27
  menuEmptyMessage: _propTypes["default"].string
28
28
  }),
29
- palette: _propTypes["default"].oneOf(['default', 'white'])
29
+ palette: _propTypes["default"].oneOf(['default', 'white']),
30
+ dragBoundaryLimit: _propTypes["default"].object
30
31
  };
31
32
  exports.propTypes = propTypes;
@@ -25,7 +25,7 @@ var _Card = require("@zohodesk/components/es/v1/Card");
25
25
 
26
26
  var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/es/v1/ResponsiveDropBox/ResponsiveDropBox"));
27
27
 
28
- var _CustomResponsive = require("@zohodesk/components/es/v1/Responsive/CustomResponsive");
28
+ var _CustomResponsive = require("@zohodesk/components/es/Responsive/CustomResponsive");
29
29
 
30
30
  var _icons = require("@zohodesk/icons");
31
31
 
@@ -14,7 +14,7 @@ var _propTypes = require("./props/propTypes");
14
14
 
15
15
  var _Layout = require("@zohodesk/components/es/v1/Layout");
16
16
 
17
- var _ZindexProvider = require("@zohodesk/components/es/v1/Provider/ZindexProvider");
17
+ var _ZindexProvider = require("@zohodesk/components/es/Provider/ZindexProvider");
18
18
 
19
19
  var _AutoClose = _interopRequireDefault(require("../../../actions/AutoClose"));
20
20
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _Config = require("../../../Provider/Config");
8
+ var _Config = require("../../../../Provider/Config");
9
9
 
10
10
  var _default = {
11
11
  isMore: false,
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _Config = require("../../../Provider/Config");
8
+ var _Config = require("../../../../Provider/Config");
9
9
 
10
10
  var _default = {
11
11
  needIcon: true,
@@ -29,7 +29,6 @@
29
29
  .stackShadowTwo::before {
30
30
  content: '';
31
31
  position: absolute;
32
- /* css:theme-validation:ignore */
33
32
  height: var(--zd_size20) ;
34
33
  }
35
34
 
@@ -78,9 +77,6 @@
78
77
  .container {
79
78
  position: relative;
80
79
  pointer-events: initial;
81
- /* css:theme-validation:ignore */
82
- /* css:theme-validation:ignore */
83
- /* css:theme-validation:ignore */
84
80
  color: var(--globalnotification_text_color);
85
81
  z-index: 1;
86
82
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
@@ -4,7 +4,6 @@
4
4
  .container {
5
5
  composes: varClass;
6
6
  position: relative;
7
- /* css:theme-validation:ignore */
8
7
  background-color: var(--zdt_alertlookup_bg);
9
8
  border-style: solid;
10
9
  border-color: var(--commonalert_border_color);
@@ -5,8 +5,6 @@
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 */
10
8
  color: var(--zdt_desktopnotification_text);
11
9
  background-color: var(--alert_lookup_bg_color);
12
10
  border-style: solid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.4.12",
3
+ "version": "1.4.14",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -46,7 +46,7 @@
46
46
  "variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
47
47
  "variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
48
48
  "css:review": " npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate ",
49
- "theme:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation validate ./src ./.cli ./.cli/stringContains.js",
49
+ "theme:validate": "",
50
50
  "theme:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation addignore ./src ./.cli ./.cli/stringContains.js",
51
51
  "theme:removeignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation removeignore ./src ./.cli",
52
52
  "review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js propValidationArg.json"
@@ -58,12 +58,12 @@
58
58
  "@testing-library/user-event": "^13.0.10",
59
59
  "@zohodesk-private/color-variable-preprocessor": "1.2.0",
60
60
  "@zohodesk-private/css-variable-migrator": "^1.0.7",
61
- "@zohodesk-private/node-plugins": "1.1.6",
61
+ "@zohodesk-private/node-plugins": "1.1.8",
62
62
  "@zohodesk-private/react-prop-validator": "1.2.3",
63
- "@zohodesk/a11y": "2.2.0",
64
- "@zohodesk/components": "1.2.28",
65
- "@zohodesk/hooks": "2.0.3",
66
- "@zohodesk/icons": "1.0.35",
63
+ "@zohodesk/a11y": "2.2.1",
64
+ "@zohodesk/components": "1.2.29",
65
+ "@zohodesk/hooks": "2.0.4",
66
+ "@zohodesk/icons": "1.0.38",
67
67
  "@zohodesk/svg": "1.1.11",
68
68
  "@zohodesk/utils": "1.3.13",
69
69
  "@zohodesk/variables": "1.0.0",
@@ -74,13 +74,13 @@
74
74
  "peerDependencies": {
75
75
  "velocity-react": "1.4.3",
76
76
  "@zohodesk/variables": "1.0.0",
77
- "@zohodesk/components": "1.2.28",
78
- "@zohodesk/icons": "1.0.35",
77
+ "@zohodesk/components": "1.2.29",
78
+ "@zohodesk/icons": "1.0.38",
79
79
  "@zohodesk/svg": "1.1.11",
80
80
  "@zohodesk/virtualizer": "1.0.3",
81
81
  "react-sortable-hoc": "^0.8.3",
82
- "@zohodesk/hooks": "2.0.3",
82
+ "@zohodesk/hooks": "2.0.4",
83
83
  "@zohodesk/utils": "1.3.13",
84
- "@zohodesk/a11y": "2.2.0"
84
+ "@zohodesk/a11y": "2.2.1"
85
85
  }
86
86
  }
package/result.json CHANGED
@@ -1 +1 @@
1
- {"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-19811","platForm":"Darwin","branchName":"lookUpcontainer_lib"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1711708362168,"startTime":1711708357120,"coverageDetail":{"codeCoveragePercentage":84.5,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}}]}}}
1
+ {"jobDetails":{"isRunByLocal":true,"hostName":"bharathi-19811","platForm":"Darwin","branchName":"lookUpcontainer_lib"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1716902931804,"startTime":1716902927717,"coverageDetail":{"codeCoveragePercentage":84.5,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/bharathi-19811/git/library/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}}]}}}
@@ -1,20 +0,0 @@
1
- let config = {
2
- freezeLayer: {
3
- enable: () => {},
4
- disable: () => {}
5
- },
6
- draggerBoundary: document.body,
7
- boundaryLimit: {
8
- top: 0,
9
- left: 0,
10
- right: 0,
11
- bottom: 0
12
- },
13
- desktopNotificationResponsiveId: 'Helmet'
14
- };
15
- export function getDotLibraryConfig(key) {
16
- return config[key];
17
- }
18
- export function setDotLibraryConfig(configObj) {
19
- config = Object.assign({}, config, configObj);
20
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getDotLibraryConfig = getDotLibraryConfig;
7
- exports.setDotLibraryConfig = setDotLibraryConfig;
8
- var config = {
9
- freezeLayer: {
10
- enable: function enable() {},
11
- disable: function disable() {}
12
- },
13
- draggerBoundary: document.body,
14
- boundaryLimit: {
15
- top: 0,
16
- left: 0,
17
- right: 0,
18
- bottom: 0
19
- },
20
- desktopNotificationResponsiveId: 'Helmet'
21
- };
22
-
23
- function getDotLibraryConfig(key) {
24
- return config[key];
25
- }
26
-
27
- function setDotLibraryConfig(configObj) {
28
- config = Object.assign({}, config, configObj);
29
- }
File without changes
File without changes