@zohodesk/dot 1.0.0-temp-176 → 1.0.0-temp-177

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 (48) hide show
  1. package/.DS_Store +0 -0
  2. package/.cli/PropLessFiles.html +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +4 -0
  5. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  6. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  7. package/coverage/ExternalLink/index.html +1 -1
  8. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  9. package/coverage/ExternalLink/props/index.html +1 -1
  10. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  11. package/coverage/IconButton/IconButton.js.html +1 -1
  12. package/coverage/IconButton/IconButton.module.css.html +1 -1
  13. package/coverage/IconButton/index.html +1 -1
  14. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  15. package/coverage/IconButton/props/index.html +1 -1
  16. package/coverage/IconButton/props/propTypes.js.html +1 -1
  17. package/coverage/Image/Image.js.html +1 -1
  18. package/coverage/Image/Image.module.css.html +1 -1
  19. package/coverage/Image/index.html +1 -1
  20. package/coverage/Image/props/defaultProps.js.html +1 -1
  21. package/coverage/Image/props/index.html +1 -1
  22. package/coverage/Image/props/propTypes.js.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  29. package/coverage/coverage-final.json +16 -16
  30. package/coverage/coverage-summary.json +16 -16
  31. package/coverage/index.html +1 -1
  32. package/es/lookup/Lookup/props/defaultProps.js +1 -1
  33. package/es/v1/alert/AlertLookup/AlertLookup.js +1 -2
  34. package/es/v1/lookup/Lookup/props/defaultProps.js +1 -1
  35. package/es/version2/GlobalNotification/GlobalNotification.js +48 -25
  36. package/es/version2/GlobalNotification/GlobalNotification.module.css +58 -11
  37. package/es/version2/GlobalNotification/props/propTypes.js +11 -4
  38. package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -2
  39. package/lib/lookup/Lookup/props/defaultProps.js +1 -1
  40. package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -2
  41. package/lib/v1/lookup/Lookup/props/defaultProps.js +1 -1
  42. package/lib/version2/GlobalNotification/GlobalNotification.js +46 -27
  43. package/lib/version2/GlobalNotification/GlobalNotification.module.css +58 -11
  44. package/lib/version2/GlobalNotification/props/propTypes.js +11 -4
  45. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -2
  46. package/package.json +6 -6
  47. package/propValidationArg.json +2 -2
  48. package/result.json +1 -1
@@ -7,38 +7,46 @@ import AlertIcons from '../alertIcons/AlertIcons';
7
7
  import AlertClose from '../AlertClose/AlertClose';
8
8
  import style from './GlobalNotification.module.css';
9
9
  import { Container, Box } from '@zohodesk/components/lib/Layout';
10
+ import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
10
11
  export default class GlobalNotification extends React.Component {
11
12
  constructor(props) {
12
13
  super(props);
14
+ this.hideMessageTimer = null;
13
15
  this.state = {
14
- hideMessage: false
16
+ shadowClose: true
15
17
  };
18
+ this.onClose = this.onClose.bind(this);
16
19
  }
17
- UNSAFE_componentWillReceiveProps(nextProps) {
20
+ componentDidMount() {
18
21
  let {
19
- showMessage,
20
22
  hideMessage,
21
- type
23
+ hideTime,
24
+ id,
25
+ needAutoClose
22
26
  } = this.props;
23
- if (showMessage !== nextProps.showMessage || type !== nextProps.type) {
24
- if (!['danger', 'error', 'warning'].includes(nextProps.type)) {
25
- setTimeout(() => {
26
- hideMessage();
27
- }, 3000);
28
- }
27
+ if (needAutoClose) {
28
+ this.hideMessageTimer = setTimeout(() => {
29
+ hideMessage(id);
30
+ }, hideTime);
29
31
  }
30
32
  }
31
- componentDidMount() {
32
- let {
33
- type,
34
- hideMessage
35
- } = this.props;
36
- if (!['danger', 'error', 'warning'].includes(type)) {
37
- setTimeout(() => {
38
- hideMessage();
39
- }, 3000);
33
+ componentWillUnmount() {
34
+ if (this.hideMessageTimer) {
35
+ clearTimeout(this.hideMessageTimer);
40
36
  }
41
37
  }
38
+ onClose(e) {
39
+ const {
40
+ onClose,
41
+ hideMessage,
42
+ id
43
+ } = this.props;
44
+ this.setState({
45
+ shadowClose: false
46
+ });
47
+ hideMessage && hideMessage(id);
48
+ onClose && onClose(e);
49
+ }
42
50
  render() {
43
51
  let {
44
52
  type,
@@ -47,8 +55,14 @@ export default class GlobalNotification extends React.Component {
47
55
  onClick,
48
56
  i18nKeys = {},
49
57
  customProps,
50
- dataSelectorId
58
+ dataSelectorId,
59
+ id,
60
+ isCollapseView,
61
+ shadowCount
51
62
  } = this.props;
63
+ let {
64
+ shadowClose
65
+ } = this.state;
52
66
  let {
53
67
  closeTitle = 'Close'
54
68
  } = i18nKeys;
@@ -59,7 +73,11 @@ export default class GlobalNotification extends React.Component {
59
73
  onClick: onClick,
60
74
  closeTitle: closeTitle,
61
75
  customProps: customProps,
62
- dataSelectorId: dataSelectorId
76
+ dataSelectorId: dataSelectorId,
77
+ id: id,
78
+ shadowCount: shadowCount,
79
+ onClose: this.onClose,
80
+ needShadow: shadowClose && isCollapseView
63
81
  });
64
82
  }
65
83
  }
@@ -76,10 +94,9 @@ GlobalNotification.defaultProps = defaultProps;
76
94
  export function GlobalNotificationUI(props) {
77
95
  function onClose(e) {
78
96
  let {
79
- hideMessage,
80
97
  onClose
81
98
  } = props;
82
- hideMessage && hideMessage(e);
99
+ cancelBubblingEffect(e);
83
100
  onClose && onClose(e);
84
101
  }
85
102
  let {
@@ -88,13 +105,19 @@ export function GlobalNotificationUI(props) {
88
105
  onClick,
89
106
  closeTitle = '',
90
107
  customProps = {},
91
- dataSelectorId
108
+ dataSelectorId,
109
+ shadowCount,
110
+ needShadow
92
111
  } = props;
93
112
  let {
94
113
  ExtraProps = {}
95
114
  } = customProps;
96
115
  return /*#__PURE__*/React.createElement("div", _extends({
97
- className: `${style.message} ${type ? style[type] : ''}`,
116
+ className: ` ${style.message}
117
+ ${needShadow ? `${shadowCount > 1 ? style.stackShadowOne : ''}
118
+ ${shadowCount > 2 ? style.stackShadowTwo : ''}` : ''}
119
+ ${type ? style[type] : ''}
120
+ `,
98
121
  "data-id": `show_${type}_message`,
99
122
  "data-test-id": `show_${type}_message`,
100
123
  tabIndex: 0,
@@ -8,22 +8,66 @@
8
8
 
9
9
  .message {
10
10
  composes: varClass;
11
- position: absolute;
11
+ /* position: relative; */
12
12
  top: 0;
13
- z-index: 1000;
13
+ z-index: 1;
14
+ justify-self: center;
15
+ /* overflow: hidden; */
14
16
  /*Hook for editor alert*/
15
- pointer-events: none;
17
+ /* right: 0;
16
18
  text-align: center;
19
+ left: 0;
20
+ pointer-events: none; */
17
21
  }
18
22
 
19
- [dir=ltr] .message {
20
- right: 0;
21
- left: 0;
23
+ .stackShadowOne::after,
24
+ .stackShadowTwo::before {
25
+ content: '';
26
+ position: absolute;
27
+ /* css:theme-validation:ignore */
28
+ height: 20px;
22
29
  }
23
30
 
24
- [dir=rtl] .message {
25
- left: 0;
26
- right: 0;
31
+ .stackShadowOne::after, .stackShadowTwo::before {
32
+ background-color: var(--globalnotification_bg_color);
33
+ border-radius: 0 0 6px 6px;
34
+ box-shadow: 0px 4px 4px 0px var(--zdt_message_default_box_shadow);
35
+ }
36
+
37
+ [dir=ltr] .stackShadowOne::after, [dir=ltr] .stackShadowTwo::before {
38
+ left: 50%;
39
+ right: 50%;
40
+ transform: translate(-50%);
41
+ animation: behindInfo 0.8s forwards;
42
+ }
43
+
44
+ [dir=rtl] .stackShadowOne::after, [dir=rtl] .stackShadowTwo::before {
45
+ right: 50%;
46
+ left: 50%;
47
+ transform: translate(50%);
48
+ animation: behindInfo 0.8s forwards;
49
+ }
50
+
51
+ .stackShadowTwo::before {
52
+ width: 90%;
53
+ bottom: -10px;
54
+ }
55
+
56
+ .stackShadowOne::after {
57
+ width: 95%;
58
+ bottom: -5px;
59
+ }
60
+
61
+ @keyframes behindInfo {
62
+
63
+ 0%,
64
+ 40% {
65
+ opacity: 0;
66
+ }
67
+
68
+ 100% {
69
+ opacity: 1;
70
+ }
27
71
  }
28
72
 
29
73
  .container {
@@ -33,9 +77,10 @@
33
77
  /* css:theme-validation:ignore */
34
78
  /* css:theme-validation:ignore */
35
79
  color: var(--globalnotification_text_color);
36
- max-width: 490px;
80
+ width: 420px;
81
+ z-index: 1;
37
82
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
38
- box-shadow: var(--zd_bs_globalnotification_container);
83
+ box-shadow: 0px 4px 4px 0px var(--zdt_message_default_box_shadow);
39
84
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
40
85
  background-color: var(--globalnotification_bg_color);
41
86
  border-style: solid;
@@ -103,6 +148,8 @@
103
148
  font-family: var(--zd_semibold);
104
149
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
105
150
  line-height: 1.4286;
151
+ composes: oflow from '~@zohodesk/components/lib/common/common.module.css';
152
+ text-overflow: ellipsis;
106
153
  }
107
154
 
108
155
  [dir=ltr] .text {
@@ -9,19 +9,26 @@ export const propTypes = {
9
9
  i18nKeys: PropTypes.object,
10
10
  customProps: PropTypes.shape({
11
11
  ExtraProps: PropTypes.object
12
- })
12
+ }),
13
+ id: PropTypes.number,
14
+ hideTime: PropTypes.number,
15
+ needAutoClose: PropTypes.bool,
16
+ isCollapseView: PropTypes.bool,
17
+ shadowCount: PropTypes.number
13
18
  };
14
19
  export const UI_propTypes = {
15
20
  dataSelectorId: PropTypes.string,
16
- onClose: PropTypes.func,
17
21
  closeTitle: PropTypes.string,
18
- hideMessage: PropTypes.func,
19
22
  message: PropTypes.string,
20
23
  onClick: PropTypes.func,
21
24
  type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error']),
22
25
  customProps: PropTypes.shape({
23
26
  ExtraProps: PropTypes.object
24
- })
27
+ }),
28
+ needShadow: PropTypes.bool,
29
+ shadowCount: PropTypes.number,
30
+ id: PropTypes.number,
31
+ onClose: PropTypes.func
25
32
  };
26
33
  export const new_propTypes = {
27
34
  Element: PropTypes.element,
@@ -136,8 +136,7 @@ export default class AlertLookup extends Component {
136
136
  onClick: onLookupClick,
137
137
  customClass: containerClass,
138
138
  a11y: a11y,
139
- childAnimationName: childAnimationName,
140
- isFlexWrapper: false
139
+ childAnimationName: childAnimationName
141
140
  }, LookupProps), /*#__PURE__*/React.createElement(Container, {
142
141
  alignBox: "row",
143
142
  align: align,
@@ -11,6 +11,6 @@ var defaultProps = {
11
11
  childAnimationName: 'flyDown',
12
12
  needFocusScope: false,
13
13
  customProps: {},
14
- isFlexWrapper: true
14
+ isFlexWrapper: false
15
15
  };
16
16
  exports.defaultProps = defaultProps;
@@ -103,8 +103,7 @@ function AlertLookup(props) {
103
103
  onClick: onLookupClick,
104
104
  customClass: containerClass,
105
105
  a11y: a11y,
106
- childAnimationName: childAnimationName,
107
- isFlexWrapper: false
106
+ childAnimationName: childAnimationName
108
107
  }, LookupProps), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
109
108
  alignBox: "row",
110
109
  align: align,
@@ -11,6 +11,6 @@ var defaultProps = {
11
11
  childAnimationName: 'flyDown',
12
12
  needFocusScope: false,
13
13
  customProps: {},
14
- isFlexWrapper: true
14
+ isFlexWrapper: false
15
15
  };
16
16
  exports.defaultProps = defaultProps;
@@ -15,6 +15,7 @@ var _AlertIcons = _interopRequireDefault(require("../alertIcons/AlertIcons"));
15
15
  var _AlertClose = _interopRequireDefault(require("../AlertClose/AlertClose"));
16
16
  var _GlobalNotificationModule = _interopRequireDefault(require("./GlobalNotification.module.css"));
17
17
  var _Layout = require("@zohodesk/components/lib/Layout");
18
+ var _Common = require("@zohodesk/components/es/utils/Common");
18
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
20
  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); }
20
21
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -36,38 +37,47 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
36
37
  var _this;
37
38
  _classCallCheck(this, GlobalNotification);
38
39
  _this = _super.call(this, props);
40
+ _this.hideMessageTimer = null;
39
41
  _this.state = {
40
- hideMessage: false
42
+ shadowClose: true
41
43
  };
44
+ _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));
42
45
  return _this;
43
46
  }
44
47
  _createClass(GlobalNotification, [{
45
- key: "UNSAFE_componentWillReceiveProps",
46
- value: function UNSAFE_componentWillReceiveProps(nextProps) {
48
+ key: "componentDidMount",
49
+ value: function componentDidMount() {
47
50
  var _this$props = this.props,
48
- showMessage = _this$props.showMessage,
49
51
  hideMessage = _this$props.hideMessage,
50
- type = _this$props.type;
51
- if (showMessage !== nextProps.showMessage || type !== nextProps.type) {
52
- if (!['danger', 'error', 'warning'].includes(nextProps.type)) {
53
- setTimeout(function () {
54
- hideMessage();
55
- }, 3000);
56
- }
52
+ hideTime = _this$props.hideTime,
53
+ id = _this$props.id,
54
+ needAutoClose = _this$props.needAutoClose;
55
+ if (needAutoClose) {
56
+ this.hideMessageTimer = setTimeout(function () {
57
+ hideMessage(id);
58
+ }, hideTime);
57
59
  }
58
60
  }
59
61
  }, {
60
- key: "componentDidMount",
61
- value: function componentDidMount() {
62
- var _this$props2 = this.props,
63
- type = _this$props2.type,
64
- hideMessage = _this$props2.hideMessage;
65
- if (!['danger', 'error', 'warning'].includes(type)) {
66
- setTimeout(function () {
67
- hideMessage();
68
- }, 3000);
62
+ key: "componentWillUnmount",
63
+ value: function componentWillUnmount() {
64
+ if (this.hideMessageTimer) {
65
+ clearTimeout(this.hideMessageTimer);
69
66
  }
70
67
  }
68
+ }, {
69
+ key: "onClose",
70
+ value: function onClose(e) {
71
+ var _this$props2 = this.props,
72
+ onClose = _this$props2.onClose,
73
+ hideMessage = _this$props2.hideMessage,
74
+ id = _this$props2.id;
75
+ this.setState({
76
+ shadowClose: false
77
+ });
78
+ hideMessage && hideMessage(id);
79
+ onClose && onClose(e);
80
+ }
71
81
  }, {
72
82
  key: "render",
73
83
  value: function render() {
@@ -79,7 +89,11 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
79
89
  _this$props3$i18nKeys = _this$props3.i18nKeys,
80
90
  i18nKeys = _this$props3$i18nKeys === void 0 ? {} : _this$props3$i18nKeys,
81
91
  customProps = _this$props3.customProps,
82
- dataSelectorId = _this$props3.dataSelectorId;
92
+ dataSelectorId = _this$props3.dataSelectorId,
93
+ id = _this$props3.id,
94
+ isCollapseView = _this$props3.isCollapseView,
95
+ shadowCount = _this$props3.shadowCount;
96
+ var shadowClose = this.state.shadowClose;
83
97
  var _i18nKeys$closeTitle = i18nKeys.closeTitle,
84
98
  closeTitle = _i18nKeys$closeTitle === void 0 ? 'Close' : _i18nKeys$closeTitle;
85
99
  return /*#__PURE__*/_react["default"].createElement(GlobalNotificationUI, {
@@ -89,7 +103,11 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
89
103
  onClick: onClick,
90
104
  closeTitle: closeTitle,
91
105
  customProps: customProps,
92
- dataSelectorId: dataSelectorId
106
+ dataSelectorId: dataSelectorId,
107
+ id: id,
108
+ shadowCount: shadowCount,
109
+ onClose: this.onClose,
110
+ needShadow: shadowClose && isCollapseView
93
111
  });
94
112
  }
95
113
  }]);
@@ -108,9 +126,8 @@ GlobalNotification.defaultProps = _defaultProps.defaultProps;
108
126
 
109
127
  function GlobalNotificationUI(props) {
110
128
  function onClose(e) {
111
- var hideMessage = props.hideMessage,
112
- onClose = props.onClose;
113
- hideMessage && hideMessage(e);
129
+ var onClose = props.onClose;
130
+ (0, _Common.cancelBubblingEffect)(e);
114
131
  onClose && onClose(e);
115
132
  }
116
133
  var _props$type = props.type,
@@ -121,11 +138,13 @@ function GlobalNotificationUI(props) {
121
138
  closeTitle = _props$closeTitle === void 0 ? '' : _props$closeTitle,
122
139
  _props$customProps = props.customProps,
123
140
  customProps = _props$customProps === void 0 ? {} : _props$customProps,
124
- dataSelectorId = props.dataSelectorId;
141
+ dataSelectorId = props.dataSelectorId,
142
+ shadowCount = props.shadowCount,
143
+ needShadow = props.needShadow;
125
144
  var _customProps$ExtraPro = customProps.ExtraProps,
126
145
  ExtraProps = _customProps$ExtraPro === void 0 ? {} : _customProps$ExtraPro;
127
146
  return /*#__PURE__*/_react["default"].createElement("div", _extends({
128
- className: "".concat(_GlobalNotificationModule["default"].message, " ").concat(type ? _GlobalNotificationModule["default"][type] : ''),
147
+ className: " ".concat(_GlobalNotificationModule["default"].message, " \n ").concat(needShadow ? "".concat(shadowCount > 1 ? _GlobalNotificationModule["default"].stackShadowOne : '', " \n ").concat(shadowCount > 2 ? _GlobalNotificationModule["default"].stackShadowTwo : '') : '', "\n ").concat(type ? _GlobalNotificationModule["default"][type] : '', "\n "),
129
148
  "data-id": "show_".concat(type, "_message"),
130
149
  "data-test-id": "show_".concat(type, "_message"),
131
150
  tabIndex: 0,
@@ -8,22 +8,66 @@
8
8
 
9
9
  .message {
10
10
  composes: varClass;
11
- position: absolute;
11
+ /* position: relative; */
12
12
  top: 0;
13
- z-index: 1000;
13
+ z-index: 1;
14
+ justify-self: center;
15
+ /* overflow: hidden; */
14
16
  /*Hook for editor alert*/
15
- pointer-events: none;
17
+ /* right: 0;
16
18
  text-align: center;
19
+ left: 0;
20
+ pointer-events: none; */
17
21
  }
18
22
 
19
- [dir=ltr] .message {
20
- right: 0;
21
- left: 0;
23
+ .stackShadowOne::after,
24
+ .stackShadowTwo::before {
25
+ content: '';
26
+ position: absolute;
27
+ /* css:theme-validation:ignore */
28
+ height: 20px;
22
29
  }
23
30
 
24
- [dir=rtl] .message {
25
- left: 0;
26
- right: 0;
31
+ .stackShadowOne::after, .stackShadowTwo::before {
32
+ background-color: var(--globalnotification_bg_color);
33
+ border-radius: 0 0 6px 6px;
34
+ box-shadow: 0px 4px 4px 0px var(--zdt_message_default_box_shadow);
35
+ }
36
+
37
+ [dir=ltr] .stackShadowOne::after, [dir=ltr] .stackShadowTwo::before {
38
+ left: 50%;
39
+ right: 50%;
40
+ transform: translate(-50%);
41
+ animation: behindInfo 0.8s forwards;
42
+ }
43
+
44
+ [dir=rtl] .stackShadowOne::after, [dir=rtl] .stackShadowTwo::before {
45
+ right: 50%;
46
+ left: 50%;
47
+ transform: translate(50%);
48
+ animation: behindInfo 0.8s forwards;
49
+ }
50
+
51
+ .stackShadowTwo::before {
52
+ width: 90%;
53
+ bottom: -10px;
54
+ }
55
+
56
+ .stackShadowOne::after {
57
+ width: 95%;
58
+ bottom: -5px;
59
+ }
60
+
61
+ @keyframes behindInfo {
62
+
63
+ 0%,
64
+ 40% {
65
+ opacity: 0;
66
+ }
67
+
68
+ 100% {
69
+ opacity: 1;
70
+ }
27
71
  }
28
72
 
29
73
  .container {
@@ -33,9 +77,10 @@
33
77
  /* css:theme-validation:ignore */
34
78
  /* css:theme-validation:ignore */
35
79
  color: var(--globalnotification_text_color);
36
- max-width: 490px;
80
+ width: 420px;
81
+ z-index: 1;
37
82
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
38
- box-shadow: var(--zd_bs_globalnotification_container);
83
+ box-shadow: 0px 4px 4px 0px var(--zdt_message_default_box_shadow);
39
84
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
40
85
  background-color: var(--globalnotification_bg_color);
41
86
  border-style: solid;
@@ -103,6 +148,8 @@
103
148
  font-family: var(--zd_semibold);
104
149
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
105
150
  line-height: 1.4286;
151
+ composes: oflow from '~@zohodesk/components/lib/common/common.module.css';
152
+ text-overflow: ellipsis;
106
153
  }
107
154
 
108
155
  [dir=ltr] .text {
@@ -16,20 +16,27 @@ var propTypes = {
16
16
  i18nKeys: _propTypes["default"].object,
17
17
  customProps: _propTypes["default"].shape({
18
18
  ExtraProps: _propTypes["default"].object
19
- })
19
+ }),
20
+ id: _propTypes["default"].number,
21
+ hideTime: _propTypes["default"].number,
22
+ needAutoClose: _propTypes["default"].bool,
23
+ isCollapseView: _propTypes["default"].bool,
24
+ shadowCount: _propTypes["default"].number
20
25
  };
21
26
  exports.propTypes = propTypes;
22
27
  var UI_propTypes = {
23
28
  dataSelectorId: _propTypes["default"].string,
24
- onClose: _propTypes["default"].func,
25
29
  closeTitle: _propTypes["default"].string,
26
- hideMessage: _propTypes["default"].func,
27
30
  message: _propTypes["default"].string,
28
31
  onClick: _propTypes["default"].func,
29
32
  type: _propTypes["default"].oneOf(['success', 'danger', 'info', 'warning', 'error']),
30
33
  customProps: _propTypes["default"].shape({
31
34
  ExtraProps: _propTypes["default"].object
32
- })
35
+ }),
36
+ needShadow: _propTypes["default"].bool,
37
+ shadowCount: _propTypes["default"].number,
38
+ id: _propTypes["default"].number,
39
+ onClose: _propTypes["default"].func
33
40
  };
34
41
  exports.UI_propTypes = UI_propTypes;
35
42
  var new_propTypes = {
@@ -162,8 +162,7 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
162
162
  onClick: onLookupClick,
163
163
  customClass: containerClass,
164
164
  a11y: a11y,
165
- childAnimationName: childAnimationName,
166
- isFlexWrapper: false
165
+ childAnimationName: childAnimationName
167
166
  }, LookupProps), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
168
167
  alignBox: "row",
169
168
  align: align,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-176",
3
+ "version": "1.0.0-temp-177",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -59,12 +59,12 @@
59
59
  "@zohodesk-private/color-variable-preprocessor": "1.2.0",
60
60
  "@zohodesk-private/css-variable-migrator": "^1.0.7",
61
61
  "@zohodesk-private/node-plugins": "1.1.6",
62
- "@zohodesk-private/react-prop-validator": "1.2.0",
63
- "@zohodesk/a11y": "1.0.0-temp-6",
64
- "@zohodesk/components": "1.0.0-temp-184",
62
+ "@zohodesk-private/react-prop-validator": "1.2.1",
63
+ "@zohodesk/a11y": "1.0.0-temp-7",
64
+ "@zohodesk/components": "1.0.0-temp-185",
65
65
  "@zohodesk/hooks": "2.0.2",
66
66
  "@zohodesk/icons": "1.0.19",
67
- "@zohodesk/svg": "1.1.8",
67
+ "@zohodesk/svg": "1.1.10",
68
68
  "@zohodesk/utils": "1.3.13",
69
69
  "@zohodesk/variables": "1.0.0",
70
70
  "@zohodesk/virtualizer": "1.0.3",
@@ -76,7 +76,7 @@
76
76
  "@zohodesk/variables": "1.0.0",
77
77
  "@zohodesk/components": "1.2.21",
78
78
  "@zohodesk/icons": "1.0.19",
79
- "@zohodesk/svg": "1.1.8",
79
+ "@zohodesk/svg": "1.1.10",
80
80
  "@zohodesk/virtualizer": "1.0.3",
81
81
  "react-sortable-hoc": "^0.8.3",
82
82
  "@zohodesk/hooks": "2.0.2",
@@ -3,6 +3,6 @@
3
3
  "outputDir": "./.cli",
4
4
  "excludeDir":"./.cli",
5
5
  "propUnifiExcludeDir":"./.cli",
6
- "propUnifiReport":"propUnifi",
7
- "strictMode":""
6
+ "propUnifiReport":true,
7
+ "strictMode":true
8
8
  }