@zohodesk/dot 1.0.0-temp-187.17 → 1.0.0-temp-220.1

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 (30) hide show
  1. package/README.md +5 -0
  2. package/es/form/fields/Fields.module.css +1 -4
  3. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -10
  4. package/es/form/fields/TagsMultiSelect/props/propTypes.js +1 -2
  5. package/es/list/DepartmentDropDown/DepartmentDropDown.js +2 -6
  6. package/es/list/DepartmentDropDown/props/defaultProps.js +1 -2
  7. package/es/list/DepartmentDropDown/props/propTypes.js +0 -3
  8. package/es/list/status/StatusDropdown/StatusDropdown.js +2 -7
  9. package/es/list/status/StatusDropdown/props/defaultProps.js +1 -2
  10. package/es/list/status/StatusDropdown/props/propTypes.js +1 -4
  11. package/es/list/status/StatusListItem/StatusListItem.module.css +3 -6
  12. package/es/version2/GlobalNotification/GlobalNotification.js +46 -7
  13. package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +9 -0
  14. package/es/version2/GlobalNotification/props/propTypes.js +4 -3
  15. package/es/version2/GlobalNotification/utils/constants.js +6 -0
  16. package/lib/form/fields/Fields.module.css +1 -4
  17. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -12
  18. package/lib/form/fields/TagsMultiSelect/props/propTypes.js +1 -2
  19. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -8
  20. package/lib/list/DepartmentDropDown/props/defaultProps.js +1 -2
  21. package/lib/list/DepartmentDropDown/props/propTypes.js +0 -2
  22. package/lib/list/status/StatusDropdown/StatusDropdown.js +2 -6
  23. package/lib/list/status/StatusDropdown/props/defaultProps.js +1 -2
  24. package/lib/list/status/StatusDropdown/props/propTypes.js +1 -3
  25. package/lib/list/status/StatusListItem/StatusListItem.module.css +3 -6
  26. package/lib/version2/GlobalNotification/GlobalNotification.js +68 -18
  27. package/lib/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +10 -0
  28. package/lib/version2/GlobalNotification/props/propTypes.js +4 -3
  29. package/lib/version2/GlobalNotification/utils/constants.js +13 -0
  30. package/package.json +6 -6
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.7.27
6
+
7
+ - **GlobalNotification**
8
+ - `onStatusChange` prop added.
9
+
5
10
  # 1.7.26
6
11
 
7
12
  - `list/SecondaryText/PhoneNumber.js`
@@ -221,10 +221,7 @@ position: relative;
221
221
  [dir=rtl] .rightPlaceholder{
222
222
  left:var(--zd_size15)
223
223
  }
224
+
224
225
  .phoneField{
225
226
  composes: ltr-zone from '~@zohodesk/components/es/common/common.module.css';
226
- }
227
-
228
- .lineClampPickListItem{
229
- --line-clamp: var(--picklist-field-line-clamp,3);
230
227
  }
@@ -160,14 +160,12 @@ export default class TagsMultiSelect extends React.Component {
160
160
  let {
161
161
  tagCustomClass = '',
162
162
  listItemClass = '',
163
- textBoxIconWrapperClass = '',
164
- dropBoxClass = ''
163
+ textBoxIconWrapperClass = ''
165
164
  } = customClass;
166
165
  const {
167
166
  TextBoxIconProps = {},
168
167
  TagWrapperProps = {},
169
- TagProps = {},
170
- ListItemProps = {}
168
+ TagProps = {}
171
169
  } = customProps;
172
170
  const isEditable = !isReadOnly;
173
171
  return /*#__PURE__*/React.createElement("div", {
@@ -256,8 +254,7 @@ export default class TagsMultiSelect extends React.Component {
256
254
  boxPosition: boxPosition,
257
255
  isPadding: false,
258
256
  customClass: {
259
- customDropBoxWrap: style.dropdown,
260
- customDropBox: dropBoxClass
257
+ customDropBoxWrap: style.dropdown
261
258
  },
262
259
  dataId: `${dataId}_dropbox`,
263
260
  isResponsivePadding: true,
@@ -289,7 +286,7 @@ export default class TagsMultiSelect extends React.Component {
289
286
  let {
290
287
  name,
291
288
  isNew,
292
- listProps
289
+ listItemProps
293
290
  } = item;
294
291
  return /*#__PURE__*/React.createElement(React.Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/React.createElement(DropDownSeparator, null) : null, /*#__PURE__*/React.createElement(ListItem, {
295
292
  key: index,
@@ -302,9 +299,8 @@ export default class TagsMultiSelect extends React.Component {
302
299
  highlight: selectSearchIndex === index,
303
300
  getRef: this.getSelectedItemRef,
304
301
  isDisabled: listDisabled,
305
- customProps: listProps,
306
- customClass: listItemClass,
307
- ...ListItemProps
302
+ customProps: listItemProps,
303
+ customClass: listItemClass
308
304
  }, isNew ? /*#__PURE__*/React.createElement(Container, {
309
305
  alignBox: "row",
310
306
  align: "vertical"
@@ -52,8 +52,7 @@ export const propTypes = {
52
52
  customProps: PropTypes.shape({
53
53
  TextBoxIconProps: PropTypes.object,
54
54
  TagWrapperProps: PropTypes.object,
55
- TagProps: PropTypes.object,
56
- ListItemProps: PropTypes.object
55
+ TagProps: PropTypes.object
57
56
  }),
58
57
  isFocus: PropTypes.bool
59
58
  };
@@ -48,19 +48,15 @@ class DepartmentDropDown extends Component {
48
48
  onSearch,
49
49
  needSearchFetching,
50
50
  searchStr,
51
- i18nKeys,
52
- customProps
51
+ i18nKeys
53
52
  } = this.props;
54
- const {
55
- ToggleDropDownProps = {}
56
- } = customProps;
57
53
  let {
58
54
  title = 'Move Department',
59
55
  searchEmptyText = 'No results found',
60
56
  searchErrorText = 'No results',
61
57
  placeholder = 'Search Department'
62
58
  } = i18nKeys;
63
- return /*#__PURE__*/React.createElement(ToggleDropDown, { ...ToggleDropDownProps,
59
+ return /*#__PURE__*/React.createElement(ToggleDropDown, {
64
60
  title: title,
65
61
  options: departmentList,
66
62
  value: /*#__PURE__*/React.createElement(DepartmentText, {
@@ -3,6 +3,5 @@ export const defaultProps = {
3
3
  isPopupActive: true,
4
4
  isNextOptions: false,
5
5
  searchStr: '',
6
- i18nKeys: {},
7
- customProps: {}
6
+ i18nKeys: {}
8
7
  };
@@ -20,8 +20,5 @@ export const propTypes = {
20
20
  searchEmptyText: PropTypes.string,
21
21
  searchErrorText: PropTypes.string,
22
22
  placeholder: PropTypes.string
23
- }),
24
- customProps: PropTypes.shape({
25
- ToggleDropDownProps: PropTypes.object
26
23
  })
27
24
  };
@@ -178,12 +178,8 @@ export class StatusDropdown extends React.Component {
178
178
  targetOffset,
179
179
  renderTargetElement,
180
180
  renderFooterElement,
181
- a11y = {},
182
- customClass
181
+ a11y = {}
183
182
  } = this.props;
184
- const {
185
- dropBoxClass = ''
186
- } = customClass;
187
183
  const {
188
184
  tabIndex = 0,
189
185
  ariaLabelledby,
@@ -251,8 +247,7 @@ export class StatusDropdown extends React.Component {
251
247
  isAnimate: true,
252
248
  getRef: getContainerRef,
253
249
  customClass: {
254
- customDropBoxWrap: style.dropBoxContainer,
255
- customDropBox: dropBoxClass
250
+ customDropBoxWrap: style.dropBoxContainer
256
251
  },
257
252
  needResponsive: needResponsive,
258
253
  isResponsivePadding: true,
@@ -18,6 +18,5 @@ export const defaultProps = {
18
18
  needMultiLineText: false,
19
19
  isFetchingOptions: false,
20
20
  isAbsolutePositioningNeeded: true,
21
- isRestrictScroll: false,
22
- customClass: {}
21
+ isRestrictScroll: false
23
22
  };
@@ -56,8 +56,5 @@ export const propTypes = {
56
56
  positionsOffset: PropTypes.object,
57
57
  renderTargetElement: PropTypes.func,
58
58
  renderFooterElement: PropTypes.node,
59
- targetOffset: PropTypes.object,
60
- customClass: PropTypes.shape({
61
- dropBoxClass: PropTypes.string
62
- })
59
+ targetOffset: PropTypes.object
63
60
  };
@@ -36,8 +36,9 @@
36
36
  .value {
37
37
  composes: dotted from '~@zohodesk/components/es/common/common.module.css';
38
38
  }
39
- .multiLineValue {
40
- composes: lineClamp from '~@zohodesk/components/es/common/common.module.css';
39
+ .multiLineValue{
40
+ word-break: break-word;
41
+ composes: clamp from '~@zohodesk/components/es/common/common.module.css';
41
42
  }
42
43
  [dir=ltr] .withBorder.active {
43
44
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -89,10 +90,6 @@
89
90
  }
90
91
  /* Status Type */
91
92
  .statusType {
92
- --status_listitem_bullet_min_height: var(--zd_size8);
93
- --status_listitem_bullet_min_width: var(--zd_size8);
94
- min-height: var(--status_listitem_bullet_min_height);
95
- min-width: var(--status_listitem_bullet_min_width);
96
93
  width: var(--zd_size8) ;
97
94
  height: var(--zd_size8) ;
98
95
  border-radius: 50%;
@@ -7,6 +7,8 @@ import AlertClose from "../AlertClose/AlertClose";
7
7
  import style from "./GlobalNotification.module.css";
8
8
  import { Container, Box } from '@zohodesk/components/es/Layout';
9
9
  import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
10
+ import getCurrentTime from '@zohodesk/utils/es/getCurrentTime';
11
+ import { STATUS } from "./utils/constants";
10
12
  export default class GlobalNotification extends React.Component {
11
13
  constructor(props) {
12
14
  super(props);
@@ -15,6 +17,8 @@ export default class GlobalNotification extends React.Component {
15
17
  shadowClose: true
16
18
  };
17
19
  this.onClose = this.onClose.bind(this);
20
+ this.getNotiifcationData = this.getNotiifcationData.bind(this);
21
+ this.handleStatusChange = this.handleStatusChange.bind(this);
18
22
  }
19
23
 
20
24
  componentDidMount() {
@@ -24,18 +28,44 @@ export default class GlobalNotification extends React.Component {
24
28
  id,
25
29
  needAutoClose
26
30
  } = this.props;
31
+ this.handleStatusChange(STATUS.MOUNTED);
27
32
 
28
33
  if (needAutoClose) {
29
34
  this.hideMessageTimer = setTimeout(() => {
30
35
  hideMessage(id);
36
+ this.handleStatusChange(STATUS.DISMISSING);
31
37
  }, hideTime);
32
38
  }
33
39
  }
34
40
 
41
+ componentDidUpdate(prevProps) {
42
+ if (prevProps.id === this.props.id && (prevProps.message !== this.props.message || prevProps.type !== this.props.type)) {
43
+ this.handleStatusChange(STATUS.UPDATED);
44
+ }
45
+ }
46
+
35
47
  componentWillUnmount() {
36
48
  if (this.hideMessageTimer) {
37
49
  clearTimeout(this.hideMessageTimer);
38
50
  }
51
+
52
+ this.handleStatusChange(STATUS.UNMOUNTED);
53
+ }
54
+
55
+ handleStatusChange(status) {
56
+ const {
57
+ onStatusChange
58
+ } = this.props;
59
+
60
+ if (typeof onStatusChange == 'function') {
61
+ const notificationData = this.getNotiifcationData();
62
+ const currentTime = getCurrentTime();
63
+ onStatusChange({
64
+ status,
65
+ ...notificationData,
66
+ time: currentTime
67
+ });
68
+ }
39
69
  }
40
70
 
41
71
  onClose(e) {
@@ -47,20 +77,31 @@ export default class GlobalNotification extends React.Component {
47
77
  this.setState({
48
78
  shadowClose: false
49
79
  });
80
+ this.handleStatusChange(STATUS.DISMISSING);
50
81
  hideMessage && hideMessage(id);
51
82
  onClose && onClose(e);
52
83
  }
53
84
 
85
+ getNotiifcationData() {
86
+ const {
87
+ id,
88
+ type,
89
+ message
90
+ } = this.props;
91
+ return {
92
+ id,
93
+ type,
94
+ message
95
+ };
96
+ }
97
+
54
98
  render() {
55
99
  let {
56
- type,
57
- message,
58
100
  hideMessage,
59
101
  onClick,
60
102
  i18nKeys = {},
61
103
  customProps,
62
104
  dataSelectorId,
63
- id,
64
105
  needShadow,
65
106
  shadowCount,
66
107
  eleRef
@@ -71,15 +112,13 @@ export default class GlobalNotification extends React.Component {
71
112
  let {
72
113
  closeTitle = 'Close'
73
114
  } = i18nKeys;
74
- return /*#__PURE__*/React.createElement(GlobalNotificationUI, {
75
- type: type,
76
- message: message,
115
+ const notificationData = this.getNotiifcationData();
116
+ return /*#__PURE__*/React.createElement(GlobalNotificationUI, { ...notificationData,
77
117
  hideMessage: hideMessage,
78
118
  onClick: onClick,
79
119
  closeTitle: closeTitle,
80
120
  customProps: customProps,
81
121
  dataSelectorId: dataSelectorId,
82
- id: id,
83
122
  shadowCount: shadowCount,
84
123
  onClose: this.onClose,
85
124
  needShadow: shadowClose && needShadow,
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { render } from '@testing-library/react';
3
3
  import GlobalNotification from "../GlobalNotification";
4
+ import { STATUS } from "../utils/constants";
4
5
  describe('GlobalNotification', () => {
5
6
  test('rendering the defult props', () => {
6
7
  const {
@@ -8,4 +9,12 @@ describe('GlobalNotification', () => {
8
9
  } = render( /*#__PURE__*/React.createElement(GlobalNotification, null));
9
10
  expect(asFragment()).toMatchSnapshot();
10
11
  });
12
+ });
13
+ describe('GlobalNotification Constants', () => {
14
+ test('should have correct constant values', () => {
15
+ expect(STATUS.MOUNTED).toBe('mounted');
16
+ expect(STATUS.UPDATED).toBe('updated');
17
+ expect(STATUS.DISMISSING).toBe('dismissing');
18
+ expect(STATUS.UNMOUNTED).toBe('unmounted');
19
+ });
11
20
  });
@@ -10,12 +10,13 @@ export const propTypes = {
10
10
  customProps: PropTypes.shape({
11
11
  ExtraProps: PropTypes.object
12
12
  }),
13
- id: PropTypes.number,
13
+ id: PropTypes.string,
14
14
  hideTime: PropTypes.number,
15
15
  needAutoClose: PropTypes.bool,
16
16
  isCollapseView: PropTypes.bool,
17
17
  shadowCount: PropTypes.number,
18
- needShadow: PropTypes.bool
18
+ needShadow: PropTypes.bool,
19
+ onStatusChange: PropTypes.func
19
20
  };
20
21
  export const UI_propTypes = {
21
22
  dataSelectorId: PropTypes.string,
@@ -28,7 +29,7 @@ export const UI_propTypes = {
28
29
  }),
29
30
  needShadow: PropTypes.bool,
30
31
  shadowCount: PropTypes.number,
31
- id: PropTypes.number,
32
+ id: PropTypes.string,
32
33
  onClose: PropTypes.func
33
34
  };
34
35
  export const new_propTypes = {
@@ -0,0 +1,6 @@
1
+ export const STATUS = {
2
+ MOUNTED: 'mounted',
3
+ UNMOUNTED: 'unmounted',
4
+ UPDATED: 'updated',
5
+ DISMISSING: 'dismissing'
6
+ };
@@ -221,10 +221,7 @@ position: relative;
221
221
  [dir=rtl] .rightPlaceholder{
222
222
  left:var(--zd_size15)
223
223
  }
224
+
224
225
  .phoneField{
225
226
  composes: ltr-zone from '~@zohodesk/components/es/common/common.module.css';
226
- }
227
-
228
- .lineClampPickListItem{
229
- --line-clamp: var(--picklist-field-line-clamp,3);
230
227
  }
@@ -222,17 +222,13 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
222
222
  _customClass$listItem = customClass.listItemClass,
223
223
  listItemClass = _customClass$listItem === void 0 ? '' : _customClass$listItem,
224
224
  _customClass$textBoxI = customClass.textBoxIconWrapperClass,
225
- textBoxIconWrapperClass = _customClass$textBoxI === void 0 ? '' : _customClass$textBoxI,
226
- _customClass$dropBoxC = customClass.dropBoxClass,
227
- dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC;
225
+ textBoxIconWrapperClass = _customClass$textBoxI === void 0 ? '' : _customClass$textBoxI;
228
226
  var _customProps$TextBoxI = customProps.TextBoxIconProps,
229
227
  TextBoxIconProps = _customProps$TextBoxI === void 0 ? {} : _customProps$TextBoxI,
230
228
  _customProps$TagWrapp = customProps.TagWrapperProps,
231
229
  TagWrapperProps = _customProps$TagWrapp === void 0 ? {} : _customProps$TagWrapp,
232
230
  _customProps$TagProps = customProps.TagProps,
233
- TagProps = _customProps$TagProps === void 0 ? {} : _customProps$TagProps,
234
- _customProps$ListItem = customProps.ListItemProps,
235
- ListItemProps = _customProps$ListItem === void 0 ? {} : _customProps$ListItem;
231
+ TagProps = _customProps$TagProps === void 0 ? {} : _customProps$TagProps;
236
232
  var isEditable = !isReadOnly;
237
233
  return /*#__PURE__*/_react["default"].createElement("div", {
238
234
  className: "".concat(_TagsMultiSelectModule["default"].container, " ").concat(!isReadOnly ? " ".concat(needBorder ? _TagsMultiSelectModule["default"].hasBorder : '', "\n ").concat(needBorder ? _TagsMultiSelectModule["default"]["borderColor_".concat(borderColor)] : _TagsMultiSelectModule["default"].borderColor_transparent, " ").concat(isPopupReady && needBorder || isEditable && isFocus ? _TagsMultiSelectModule["default"].active : '') : '', " ").concat(className),
@@ -310,8 +306,7 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
310
306
  boxPosition: boxPosition,
311
307
  isPadding: false,
312
308
  customClass: {
313
- customDropBoxWrap: _TagsMultiSelectModule["default"].dropdown,
314
- customDropBox: dropBoxClass
309
+ customDropBoxWrap: _TagsMultiSelectModule["default"].dropdown
315
310
  },
316
311
  dataId: "".concat(dataId, "_dropbox"),
317
312
  isResponsivePadding: true,
@@ -342,8 +337,8 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
342
337
  }, searchList.map(function (item, index) {
343
338
  var name = item.name,
344
339
  isNew = item.isNew,
345
- listProps = item.listProps;
346
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/_react["default"].createElement(_DropDownSeparator["default"], null) : null, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], _extends({
340
+ listItemProps = item.listItemProps;
341
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/_react["default"].createElement(_DropDownSeparator["default"], null) : null, /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
347
342
  key: index,
348
343
  index: index,
349
344
  autoHover: true,
@@ -354,9 +349,9 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
354
349
  highlight: selectSearchIndex === index,
355
350
  getRef: _this3.getSelectedItemRef,
356
351
  isDisabled: listDisabled,
357
- customProps: listProps,
352
+ customProps: listItemProps,
358
353
  customClass: listItemClass
359
- }, ListItemProps), isNew ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
354
+ }, isNew ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
360
355
  alignBox: "row",
361
356
  align: "vertical"
362
357
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -62,8 +62,7 @@ var propTypes = {
62
62
  customProps: _propTypes["default"].shape({
63
63
  TextBoxIconProps: _propTypes["default"].object,
64
64
  TagWrapperProps: _propTypes["default"].object,
65
- TagProps: _propTypes["default"].object,
66
- ListItemProps: _propTypes["default"].object
65
+ TagProps: _propTypes["default"].object
67
66
  }),
68
67
  isFocus: _propTypes["default"].bool
69
68
  };
@@ -25,8 +25,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
25
25
 
26
26
  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; }
27
27
 
28
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29
-
30
28
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
31
29
 
32
30
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -102,10 +100,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
102
100
  onSearch = _this$props3.onSearch,
103
101
  needSearchFetching = _this$props3.needSearchFetching,
104
102
  searchStr = _this$props3.searchStr,
105
- i18nKeys = _this$props3.i18nKeys,
106
- customProps = _this$props3.customProps;
107
- var _customProps$ToggleDr = customProps.ToggleDropDownProps,
108
- ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr;
103
+ i18nKeys = _this$props3.i18nKeys;
109
104
  var _i18nKeys$title = i18nKeys.title,
110
105
  title = _i18nKeys$title === void 0 ? 'Move Department' : _i18nKeys$title,
111
106
  _i18nKeys$searchEmpty = i18nKeys.searchEmptyText,
@@ -114,7 +109,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
114
109
  searchErrorText = _i18nKeys$searchError === void 0 ? 'No results' : _i18nKeys$searchError,
115
110
  _i18nKeys$placeholder = i18nKeys.placeholder,
116
111
  placeholder = _i18nKeys$placeholder === void 0 ? 'Search Department' : _i18nKeys$placeholder;
117
- return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], _extends({}, ToggleDropDownProps, {
112
+ return /*#__PURE__*/_react["default"].createElement(_ToggleDropDown["default"], {
118
113
  title: title,
119
114
  options: departmentList,
120
115
  value: /*#__PURE__*/_react["default"].createElement(_SecondaryText.DepartmentText, {
@@ -143,7 +138,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
143
138
  isNextOptions: isNextOptions,
144
139
  onSearch: onSearch,
145
140
  needSearchFetching: needSearchFetching
146
- }));
141
+ });
147
142
  }
148
143
  }]);
149
144
 
@@ -9,7 +9,6 @@ var defaultProps = {
9
9
  isPopupActive: true,
10
10
  isNextOptions: false,
11
11
  searchStr: '',
12
- i18nKeys: {},
13
- customProps: {}
12
+ i18nKeys: {}
14
13
  };
15
14
  exports.defaultProps = defaultProps;
@@ -31,7 +31,5 @@ var propTypes = (_propTypes = {
31
31
  searchEmptyText: _propTypes2["default"].string,
32
32
  searchErrorText: _propTypes2["default"].string,
33
33
  placeholder: _propTypes2["default"].string
34
- })), _defineProperty(_propTypes, "customProps", _propTypes2["default"].shape({
35
- ToggleDropDownProps: _propTypes2["default"].object
36
34
  })), _propTypes);
37
35
  exports.propTypes = propTypes;
@@ -247,10 +247,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
247
247
  renderTargetElement = _this$props4.renderTargetElement,
248
248
  renderFooterElement = _this$props4.renderFooterElement,
249
249
  _this$props4$a11y = _this$props4.a11y,
250
- a11y = _this$props4$a11y === void 0 ? {} : _this$props4$a11y,
251
- customClass = _this$props4.customClass;
252
- var _customClass$dropBoxC = customClass.dropBoxClass,
253
- dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC;
250
+ a11y = _this$props4$a11y === void 0 ? {} : _this$props4$a11y;
254
251
  var _a11y$tabIndex = a11y.tabIndex,
255
252
  tabIndex = _a11y$tabIndex === void 0 ? 0 : _a11y$tabIndex,
256
253
  ariaLabelledby = a11y.ariaLabelledby,
@@ -313,8 +310,7 @@ var StatusDropdown = /*#__PURE__*/function (_React$Component) {
313
310
  isAnimate: true,
314
311
  getRef: getContainerRef,
315
312
  customClass: {
316
- customDropBoxWrap: _StatusDropdownModule["default"].dropBoxContainer,
317
- customDropBox: dropBoxClass
313
+ customDropBoxWrap: _StatusDropdownModule["default"].dropBoxContainer
318
314
  },
319
315
  needResponsive: needResponsive,
320
316
  isResponsivePadding: true,
@@ -24,7 +24,6 @@ var defaultProps = {
24
24
  needMultiLineText: false,
25
25
  isFetchingOptions: false,
26
26
  isAbsolutePositioningNeeded: true,
27
- isRestrictScroll: false,
28
- customClass: {}
27
+ isRestrictScroll: false
29
28
  };
30
29
  exports.defaultProps = defaultProps;
@@ -30,7 +30,5 @@ var propTypes = (_propTypes = {
30
30
  idName: _propTypes2["default"].string,
31
31
  isArrow: _propTypes2["default"].bool,
32
32
  isDataLoaded: _propTypes2["default"].bool
33
- }, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "renderTargetElement", _propTypes2["default"].func), _defineProperty(_propTypes, "renderFooterElement", _propTypes2["default"].node), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "customClass", _propTypes2["default"].shape({
34
- dropBoxClass: _propTypes2["default"].string
35
- })), _propTypes);
33
+ }, _defineProperty(_propTypes, "isDataLoaded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isDisabled", _propTypes2["default"].bool), _defineProperty(_propTypes, "isEditable", _propTypes2["default"].bool), _defineProperty(_propTypes, "isFetchingOptions", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupActive", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupOpen", _propTypes2["default"].bool), _defineProperty(_propTypes, "isPopupReady", _propTypes2["default"].bool), _defineProperty(_propTypes, "isReadOnly", _propTypes2["default"].bool), _defineProperty(_propTypes, "isSearch", _propTypes2["default"].bool), _defineProperty(_propTypes, "keyName", _propTypes2["default"].string), _defineProperty(_propTypes, "left", _propTypes2["default"].number), _defineProperty(_propTypes, "needExternalPopupState", _propTypes2["default"].bool), _defineProperty(_propTypes, "needResponsive", _propTypes2["default"].bool), _defineProperty(_propTypes, "needTick", _propTypes2["default"].bool), _defineProperty(_propTypes, "onClick", _propTypes2["default"].func), _defineProperty(_propTypes, "onTogglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "options", _propTypes2["default"].array.isRequired), _defineProperty(_propTypes, "placeHolderText", _propTypes2["default"].string), _defineProperty(_propTypes, "position", _propTypes2["default"].string), _defineProperty(_propTypes, "removeClose", _propTypes2["default"].func), _defineProperty(_propTypes, "right", _propTypes2["default"].number), _defineProperty(_propTypes, "searchBoxSize", _propTypes2["default"].oneOf(['small', 'medium', 'xmedium'])), _defineProperty(_propTypes, "searchEmptyHint", _propTypes2["default"].string), _defineProperty(_propTypes, "searchErrorText", _propTypes2["default"].string), _defineProperty(_propTypes, "showIconOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "showOnHover", _propTypes2["default"].bool), _defineProperty(_propTypes, "statusColor", _propTypes2["default"].string), _defineProperty(_propTypes, "targetAlign", _propTypes2["default"].oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around'])), _defineProperty(_propTypes, "title", _propTypes2["default"].string), _defineProperty(_propTypes, "togglePopup", _propTypes2["default"].func), _defineProperty(_propTypes, "value", _propTypes2["default"].node), _defineProperty(_propTypes, "needMultiLineText", _propTypes2["default"].bool), _defineProperty(_propTypes, "onSelectLabel", _propTypes2["default"].func), _defineProperty(_propTypes, "top", _propTypes2["default"].number), _defineProperty(_propTypes, "a11y", _propTypes2["default"].object), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].object), _defineProperty(_propTypes, "renderTargetElement", _propTypes2["default"].func), _defineProperty(_propTypes, "renderFooterElement", _propTypes2["default"].node), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].object), _propTypes);
36
34
  exports.propTypes = propTypes;
@@ -36,8 +36,9 @@
36
36
  .value {
37
37
  composes: dotted from '~@zohodesk/components/es/common/common.module.css';
38
38
  }
39
- .multiLineValue {
40
- composes: lineClamp from '~@zohodesk/components/es/common/common.module.css';
39
+ .multiLineValue{
40
+ word-break: break-word;
41
+ composes: clamp from '~@zohodesk/components/es/common/common.module.css';
41
42
  }
42
43
  [dir=ltr] .withBorder.active {
43
44
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -89,10 +90,6 @@
89
90
  }
90
91
  /* Status Type */
91
92
  .statusType {
92
- --status_listitem_bullet_min_height: var(--zd_size8);
93
- --status_listitem_bullet_min_width: var(--zd_size8);
94
- min-height: var(--status_listitem_bullet_min_height);
95
- min-width: var(--status_listitem_bullet_min_width);
96
93
  width: var(--zd_size8) ;
97
94
  height: var(--zd_size8) ;
98
95
  border-radius: 50%;
@@ -27,10 +27,20 @@ var _Layout = require("@zohodesk/components/es/Layout");
27
27
 
28
28
  var _Common = require("@zohodesk/components/es/utils/Common");
29
29
 
30
+ var _getCurrentTime = _interopRequireDefault(require("@zohodesk/utils/es/getCurrentTime"));
31
+
32
+ var _constants = require("./utils/constants");
33
+
30
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
35
 
32
36
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
33
37
 
38
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
39
+
40
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
41
+
42
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
43
+
34
44
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35
45
 
36
46
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -67,30 +77,61 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
67
77
  shadowClose: true
68
78
  };
69
79
  _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));
80
+ _this.getNotiifcationData = _this.getNotiifcationData.bind(_assertThisInitialized(_this));
81
+ _this.handleStatusChange = _this.handleStatusChange.bind(_assertThisInitialized(_this));
70
82
  return _this;
71
83
  }
72
84
 
73
85
  _createClass(GlobalNotification, [{
74
86
  key: "componentDidMount",
75
87
  value: function componentDidMount() {
88
+ var _this2 = this;
89
+
76
90
  var _this$props = this.props,
77
91
  hideMessage = _this$props.hideMessage,
78
92
  hideTime = _this$props.hideTime,
79
93
  id = _this$props.id,
80
94
  needAutoClose = _this$props.needAutoClose;
95
+ this.handleStatusChange(_constants.STATUS.MOUNTED);
81
96
 
82
97
  if (needAutoClose) {
83
98
  this.hideMessageTimer = setTimeout(function () {
84
99
  hideMessage(id);
100
+
101
+ _this2.handleStatusChange(_constants.STATUS.DISMISSING);
85
102
  }, hideTime);
86
103
  }
87
104
  }
105
+ }, {
106
+ key: "componentDidUpdate",
107
+ value: function componentDidUpdate(prevProps) {
108
+ if (prevProps.id === this.props.id && (prevProps.message !== this.props.message || prevProps.type !== this.props.type)) {
109
+ this.handleStatusChange(_constants.STATUS.UPDATED);
110
+ }
111
+ }
88
112
  }, {
89
113
  key: "componentWillUnmount",
90
114
  value: function componentWillUnmount() {
91
115
  if (this.hideMessageTimer) {
92
116
  clearTimeout(this.hideMessageTimer);
93
117
  }
118
+
119
+ this.handleStatusChange(_constants.STATUS.UNMOUNTED);
120
+ }
121
+ }, {
122
+ key: "handleStatusChange",
123
+ value: function handleStatusChange(status) {
124
+ var onStatusChange = this.props.onStatusChange;
125
+
126
+ if (typeof onStatusChange == 'function') {
127
+ var notificationData = this.getNotiifcationData();
128
+ var currentTime = (0, _getCurrentTime["default"])();
129
+ onStatusChange(_objectSpread(_objectSpread({
130
+ status: status
131
+ }, notificationData), {}, {
132
+ time: currentTime
133
+ }));
134
+ }
94
135
  }
95
136
  }, {
96
137
  key: "onClose",
@@ -102,42 +143,51 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
102
143
  this.setState({
103
144
  shadowClose: false
104
145
  });
146
+ this.handleStatusChange(_constants.STATUS.DISMISSING);
105
147
  hideMessage && hideMessage(id);
106
148
  onClose && onClose(e);
107
149
  }
108
150
  }, {
109
- key: "render",
110
- value: function render() {
151
+ key: "getNotiifcationData",
152
+ value: function getNotiifcationData() {
111
153
  var _this$props3 = this.props,
112
- type = _this$props3.type,
113
- message = _this$props3.message,
114
- hideMessage = _this$props3.hideMessage,
115
- onClick = _this$props3.onClick,
116
- _this$props3$i18nKeys = _this$props3.i18nKeys,
117
- i18nKeys = _this$props3$i18nKeys === void 0 ? {} : _this$props3$i18nKeys,
118
- customProps = _this$props3.customProps,
119
- dataSelectorId = _this$props3.dataSelectorId,
120
154
  id = _this$props3.id,
121
- needShadow = _this$props3.needShadow,
122
- shadowCount = _this$props3.shadowCount,
123
- eleRef = _this$props3.eleRef;
155
+ type = _this$props3.type,
156
+ message = _this$props3.message;
157
+ return {
158
+ id: id,
159
+ type: type,
160
+ message: message
161
+ };
162
+ }
163
+ }, {
164
+ key: "render",
165
+ value: function render() {
166
+ var _this$props4 = this.props,
167
+ hideMessage = _this$props4.hideMessage,
168
+ onClick = _this$props4.onClick,
169
+ _this$props4$i18nKeys = _this$props4.i18nKeys,
170
+ i18nKeys = _this$props4$i18nKeys === void 0 ? {} : _this$props4$i18nKeys,
171
+ customProps = _this$props4.customProps,
172
+ dataSelectorId = _this$props4.dataSelectorId,
173
+ needShadow = _this$props4.needShadow,
174
+ shadowCount = _this$props4.shadowCount,
175
+ eleRef = _this$props4.eleRef;
124
176
  var shadowClose = this.state.shadowClose;
125
177
  var _i18nKeys$closeTitle = i18nKeys.closeTitle,
126
178
  closeTitle = _i18nKeys$closeTitle === void 0 ? 'Close' : _i18nKeys$closeTitle;
127
- return /*#__PURE__*/_react["default"].createElement(GlobalNotificationUI, {
128
- type: type,
129
- message: message,
179
+ var notificationData = this.getNotiifcationData();
180
+ return /*#__PURE__*/_react["default"].createElement(GlobalNotificationUI, _extends({}, notificationData, {
130
181
  hideMessage: hideMessage,
131
182
  onClick: onClick,
132
183
  closeTitle: closeTitle,
133
184
  customProps: customProps,
134
185
  dataSelectorId: dataSelectorId,
135
- id: id,
136
186
  shadowCount: shadowCount,
137
187
  onClose: this.onClose,
138
188
  needShadow: shadowClose && needShadow,
139
189
  eleRef: eleRef
140
- });
190
+ }));
141
191
  }
142
192
  }]);
143
193
 
@@ -6,6 +6,8 @@ var _react2 = require("@testing-library/react");
6
6
 
7
7
  var _GlobalNotification = _interopRequireDefault(require("../GlobalNotification"));
8
8
 
9
+ var _constants = require("../utils/constants");
10
+
9
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
12
 
11
13
  describe('GlobalNotification', function () {
@@ -15,4 +17,12 @@ describe('GlobalNotification', function () {
15
17
 
16
18
  expect(asFragment()).toMatchSnapshot();
17
19
  });
20
+ });
21
+ describe('GlobalNotification Constants', function () {
22
+ test('should have correct constant values', function () {
23
+ expect(_constants.STATUS.MOUNTED).toBe('mounted');
24
+ expect(_constants.STATUS.UPDATED).toBe('updated');
25
+ expect(_constants.STATUS.DISMISSING).toBe('dismissing');
26
+ expect(_constants.STATUS.UNMOUNTED).toBe('unmounted');
27
+ });
18
28
  });
@@ -20,12 +20,13 @@ var propTypes = {
20
20
  customProps: _propTypes["default"].shape({
21
21
  ExtraProps: _propTypes["default"].object
22
22
  }),
23
- id: _propTypes["default"].number,
23
+ id: _propTypes["default"].string,
24
24
  hideTime: _propTypes["default"].number,
25
25
  needAutoClose: _propTypes["default"].bool,
26
26
  isCollapseView: _propTypes["default"].bool,
27
27
  shadowCount: _propTypes["default"].number,
28
- needShadow: _propTypes["default"].bool
28
+ needShadow: _propTypes["default"].bool,
29
+ onStatusChange: _propTypes["default"].func
29
30
  };
30
31
  exports.propTypes = propTypes;
31
32
  var UI_propTypes = {
@@ -39,7 +40,7 @@ var UI_propTypes = {
39
40
  }),
40
41
  needShadow: _propTypes["default"].bool,
41
42
  shadowCount: _propTypes["default"].number,
42
- id: _propTypes["default"].number,
43
+ id: _propTypes["default"].string,
43
44
  onClose: _propTypes["default"].func
44
45
  };
45
46
  exports.UI_propTypes = UI_propTypes;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.STATUS = void 0;
7
+ var STATUS = {
8
+ MOUNTED: 'mounted',
9
+ UNMOUNTED: 'unmounted',
10
+ UPDATED: 'updated',
11
+ DISMISSING: 'dismissing'
12
+ };
13
+ exports.STATUS = STATUS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-187.17",
3
+ "version": "1.0.0-temp-220.1",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -39,7 +39,7 @@
39
39
  "sstest": "react-cli sstest",
40
40
  "common_package_build": "cd ../common && npm run build && cd ../dot",
41
41
  "docs": "npm run css:review && review:props && react-cli docs",
42
- "prepublishOnly": "node prePublish.js && npm run css:review && npm run review:props",
42
+ "prepublishOnly": "node prePublish.js && npm run downloadOnly && npm run css:review && npm run review:props",
43
43
  "postpublish": "node postPublish.js",
44
44
  "test-clean": "react-cli clean ./coverage && react-cli clean ./unittest react-cli clean ./es && react-cli clean ./lib && react-cli clean ./package-lock.json && react-cli clean ./result.json",
45
45
  "download": "npm run downloadOnly && cd ../ && npm run download",
@@ -73,17 +73,17 @@
73
73
  "@zohodesk-private/node-plugins": "1.1.13",
74
74
  "@zohodesk-private/react-prop-validator": "1.2.3",
75
75
  "@zohodesk/a11y": "2.3.8",
76
- "@zohodesk/components": "../components",
76
+ "@zohodesk/components": "1.4.21",
77
77
  "@zohodesk/hooks": "2.0.6",
78
78
  "@zohodesk/icons": "1.1.3",
79
79
  "@zohodesk/layout": "^3.1.0",
80
80
  "@zohodesk/svg": "1.2.3",
81
- "@zohodesk/utils": "1.3.15",
81
+ "@zohodesk/utils": "1.0.0-temp-1.1",
82
82
  "@zohodesk/variables": "1.1.0",
83
83
  "@zohodesk/virtualizer": "1.0.13",
84
84
  "react-sortable-hoc": "^0.8.3",
85
85
  "velocity-react": "1.4.3",
86
- "@zohodesk/dotkit": "1.0.3",
86
+ "@zohodesk/dotkit": "1.0.0-temp-1.5",
87
87
  "@zohodesk/react-cli": "1.1.27"
88
88
  },
89
89
  "peerDependencies": {
@@ -95,7 +95,7 @@
95
95
  "@zohodesk/virtualizer": "1.0.13",
96
96
  "react-sortable-hoc": "^0.8.3",
97
97
  "@zohodesk/hooks": "2.0.6",
98
- "@zohodesk/utils": "1.3.15",
98
+ "@zohodesk/utils": "1.0.0-temp-1.1",
99
99
  "@zohodesk/a11y": "2.3.8",
100
100
  "@zohodesk/layout": "3.1.0"
101
101
  }