@zohodesk/dot 1.4.3 → 1.4.5

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 (69) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +10 -0
  4. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  5. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  6. package/coverage/ExternalLink/index.html +1 -1
  7. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  8. package/coverage/ExternalLink/props/index.html +1 -1
  9. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  10. package/coverage/IconButton/IconButton.js.html +1 -1
  11. package/coverage/IconButton/IconButton.module.css.html +1 -1
  12. package/coverage/IconButton/index.html +1 -1
  13. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  14. package/coverage/IconButton/props/index.html +1 -1
  15. package/coverage/IconButton/props/propTypes.js.html +1 -1
  16. package/coverage/Image/Image.js.html +1 -1
  17. package/coverage/Image/Image.module.css.html +1 -1
  18. package/coverage/Image/index.html +1 -1
  19. package/coverage/Image/props/defaultProps.js.html +1 -1
  20. package/coverage/Image/props/index.html +1 -1
  21. package/coverage/Image/props/propTypes.js.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  28. package/coverage/coverage-final.json +16 -16
  29. package/coverage/coverage-summary.json +16 -16
  30. package/coverage/index.html +1 -1
  31. package/es/Attachment/Attachment.js +8 -4
  32. package/es/Attachment/Attachment.module.css +19 -0
  33. package/es/Attachment/props/defaultProps.js +2 -1
  34. package/es/Attachment/props/propTypes.js +2 -1
  35. package/es/lookup/Lookup/Lookup.js +3 -5
  36. package/es/lookup/Lookup/Lookup.module.css +11 -1
  37. package/es/lookup/Lookup/props/defaultProps.js +1 -1
  38. package/es/lookup/Lookup/props/propTypes.js +1 -1
  39. package/es/v1/Attachment/Attachment.js +8 -4
  40. package/es/v1/Attachment/props/defaultProps.js +2 -1
  41. package/es/v1/Attachment/props/propTypes.js +2 -1
  42. package/es/v1/alert/AlertLookup/AlertLookup.js +1 -2
  43. package/es/v1/form/fields/RadioField/RadioField.js +11 -3
  44. package/es/v1/form/fields/RadioField/props/propTypes.js +1 -0
  45. package/es/v1/lookup/Lookup/Lookup.js +3 -5
  46. package/es/v1/lookup/Lookup/props/defaultProps.js +1 -1
  47. package/es/v1/lookup/Lookup/props/propTypes.js +1 -1
  48. package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -2
  49. package/lib/Attachment/Attachment.js +8 -4
  50. package/lib/Attachment/Attachment.module.css +19 -0
  51. package/lib/Attachment/props/defaultProps.js +2 -1
  52. package/lib/Attachment/props/propTypes.js +2 -1
  53. package/lib/lookup/Lookup/Lookup.js +3 -5
  54. package/lib/lookup/Lookup/Lookup.module.css +11 -1
  55. package/lib/lookup/Lookup/props/defaultProps.js +1 -1
  56. package/lib/lookup/Lookup/props/propTypes.js +1 -1
  57. package/lib/v1/Attachment/Attachment.js +8 -4
  58. package/lib/v1/Attachment/props/defaultProps.js +2 -1
  59. package/lib/v1/Attachment/props/propTypes.js +2 -1
  60. package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -2
  61. package/lib/v1/form/fields/RadioField/RadioField.js +13 -3
  62. package/lib/v1/form/fields/RadioField/props/propTypes.js +1 -0
  63. package/lib/v1/lookup/Lookup/Lookup.js +3 -5
  64. package/lib/v1/lookup/Lookup/props/defaultProps.js +1 -1
  65. package/lib/v1/lookup/Lookup/props/propTypes.js +1 -1
  66. package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -2
  67. package/package.json +7 -7
  68. package/propValidationArg.json +2 -2
  69. package/result.json +1 -1
@@ -6,6 +6,25 @@
6
6
  border-radius: 2px;
7
7
  }
8
8
 
9
+ .disableAttachment {
10
+ opacity: .6;
11
+ }
12
+
13
+ .disableLayer {
14
+ height: 100% ;
15
+ width: 100% ;
16
+ position: absolute;
17
+ top:0
18
+ }
19
+
20
+ [dir=ltr] .disableLayer {
21
+ left:0
22
+ }
23
+
24
+ [dir=rtl] .disableLayer {
25
+ right:0
26
+ }
27
+
9
28
  .attachmentHover {
10
29
  cursor: pointer;
11
30
  }
@@ -3,5 +3,6 @@ export const defaultProps = {
3
3
  palette: 'default',
4
4
  dataId: 'attachment',
5
5
  i18nKeys: {},
6
- dataSelectorId: 'attachment'
6
+ dataSelectorId: 'attachment',
7
+ isDisabled: false
7
8
  };
@@ -13,5 +13,6 @@ export const propTypes = {
13
13
  i18nKeys: PropTypes.shape({
14
14
  downloadTitle: PropTypes.string
15
15
  }),
16
- tooltip: PropTypes.string
16
+ tooltip: PropTypes.string,
17
+ isDisabled: PropTypes.bool
17
18
  };
@@ -55,7 +55,7 @@ export default class Lookup extends Component {
55
55
  onClose,
56
56
  needFocusScope,
57
57
  customProps,
58
- isFlexWrapper
58
+ isMinHeight
59
59
  } = this.props;
60
60
  const {
61
61
  role = 'dialog',
@@ -87,12 +87,10 @@ export default class Lookup extends Component {
87
87
  className: `${style.box} ${style[`${size}Size`]}`,
88
88
  "data-id": dataId,
89
89
  "data-test-id": dataId
90
- }, isFlexWrapper ? /*#__PURE__*/React.createElement(Container, {
90
+ }, /*#__PURE__*/React.createElement(Container, {
91
91
  "data-drag-container": "true",
92
92
  isCover: false,
93
- className: `${style.wrapper}`
94
- }, children) : /*#__PURE__*/React.createElement("div", {
95
- "data-drag-container": "true"
93
+ className: isMinHeight ? `${style.wrapper}` : `${style.coverwrap}`
96
94
  }, children));
97
95
  return /*#__PURE__*/React.createElement(FreezeLayer, {
98
96
  align: "horizontal",
@@ -3,29 +3,39 @@
3
3
  min-height: var(--zd_size440) ;
4
4
  }
5
5
 
6
+ .coverwrap {
7
+ max-height: 85vh ;
8
+ }
9
+
6
10
  .container {
7
11
  font-size: var(--zd_font_size16) ;
8
12
  padding-bottom: var(--zd_size10) ;
9
13
  }
14
+
10
15
  .box {
11
16
  position: relative;
12
17
  height: 100% ;
13
18
  width: 100% ;
14
19
  margin: auto ;
15
20
  }
21
+
16
22
  /* Size */
17
23
  .smallSize {
18
24
  max-width: var(--zd_size470) ;
19
25
  }
26
+
20
27
  .xmediumSize {
21
28
  max-width: var(--zd_size620) ;
22
29
  }
30
+
23
31
  .mediumSize {
24
32
  max-width: var(--zd_size840) ;
25
33
  }
34
+
26
35
  .largeSize {
27
36
  max-width: 70% ;
28
37
  }
38
+
29
39
  .fullSize {
30
40
  max-width: 90% ;
31
- }
41
+ }
@@ -5,5 +5,5 @@ export const defaultProps = {
5
5
  childAnimationName: 'flyDown',
6
6
  needFocusScope: false,
7
7
  customProps: {},
8
- isFlexWrapper: true
8
+ isMinHeight: false
9
9
  };
@@ -19,5 +19,5 @@ export const propTypes = {
19
19
  forwardRef: PropTypes.object,
20
20
  onClick: PropTypes.func,
21
21
  onClose: PropTypes.func,
22
- isFlexWrapper: PropTypes.bool
22
+ isMinHeight: PropTypes.bool
23
23
  };
@@ -22,14 +22,15 @@ const Attachment = props => {
22
22
  tooltip,
23
23
  fileInfo,
24
24
  i18nKeys,
25
- dataSelectorId
25
+ dataSelectorId,
26
+ isDisabled
26
27
  } = props;
27
28
  let {
28
29
  downloadTitle = 'Download'
29
30
  } = i18nKeys;
30
31
  return /*#__PURE__*/React.createElement(Container, {
31
32
  isInline: true,
32
- className: `${style.attachment} ${onClick ? style.attachmentHover : ''} ${style[`palette_${palette}`]} ${style[size]}`,
33
+ className: `${style.attachment} ${isDisabled ? style.disableAttachment : ""} ${onClick ? style.attachmentHover : ''} ${style[`palette_${palette}`]} ${style[size]}`,
33
34
  onClick: onClick,
34
35
  dataId: dataId,
35
36
  "data-title": tooltip,
@@ -70,7 +71,7 @@ const Attachment = props => {
70
71
  adjust: true,
71
72
  shrink: true,
72
73
  "data-title": fileInfo
73
- }, fileInfo)) : null)))), downloadLink ? /*#__PURE__*/React.createElement(Link, {
74
+ }, fileInfo)) : null)))), downloadLink && !isDisabled ? /*#__PURE__*/React.createElement(Link, {
74
75
  target: "_self",
75
76
  href: downloadLink,
76
77
  className: style.attachDownload,
@@ -79,7 +80,10 @@ const Attachment = props => {
79
80
  }, /*#__PURE__*/React.createElement(Icon, {
80
81
  name: "ZD-downloadNew",
81
82
  iconClass: style.downIcon
82
- })) : null);
83
+ })) : null, isDisabled ? /*#__PURE__*/React.createElement("div", {
84
+ "data-title": tooltip,
85
+ className: style.disableLayer
86
+ }) : null);
83
87
  };
84
88
 
85
89
  Attachment.propTypes = propTypes;
@@ -3,5 +3,6 @@ export const defaultProps = {
3
3
  palette: 'default',
4
4
  dataId: 'attachment',
5
5
  i18nKeys: {},
6
- dataSelectorId: 'attachment'
6
+ dataSelectorId: 'attachment',
7
+ isDisabled: false
7
8
  };
@@ -13,5 +13,6 @@ export const propTypes = {
13
13
  i18nKeys: PropTypes.shape({
14
14
  downloadTitle: PropTypes.string
15
15
  }),
16
- tooltip: PropTypes.string
16
+ tooltip: PropTypes.string,
17
+ isDisabled: PropTypes.bool
17
18
  };
@@ -100,8 +100,7 @@ export default function AlertLookup(props) {
100
100
  onClick: onLookupClick,
101
101
  customClass: containerClass,
102
102
  a11y: a11y,
103
- childAnimationName: childAnimationName,
104
- isFlexWrapper: false
103
+ childAnimationName: childAnimationName
105
104
  }, LookupProps), /*#__PURE__*/React.createElement(Container, {
106
105
  alignBox: "row",
107
106
  align: align,
@@ -6,6 +6,7 @@ import { defaultProps } from './props/defaultProps';
6
6
  import { propTypes } from './props/propTypes';
7
7
  /**** Components ****/
8
8
 
9
+ import Icon from '@zohodesk/icons/es/Icon';
9
10
  import Label from '@zohodesk/components/es/v1/Label/Label';
10
11
  import Radio from '@zohodesk/components/es/v1/Radio/Radio';
11
12
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
@@ -41,6 +42,7 @@ const RadioField = props => {
41
42
  const {
42
43
  LabelProps = {},
43
44
  RadioProps = {},
45
+ InfoIconProps = {},
44
46
  ValidationMessageProps1 = {},
45
47
  ValidationMessageProps2 = {}
46
48
  } = customProps;
@@ -65,11 +67,12 @@ const RadioField = props => {
65
67
  }, options.map((option, index) => {
66
68
  let {
67
69
  text,
68
- value
70
+ value,
71
+ infoTooltip
69
72
  } = option;
70
73
  return /*#__PURE__*/React.createElement("span", {
71
74
  key: index,
72
- className: `${style.radio}`
75
+ className: `${style.radio} ${!!infoTooltip ? style.labelContainer : ''}`
73
76
  }, /*#__PURE__*/React.createElement(Radio, _extends({
74
77
  id: index,
75
78
  value: value,
@@ -85,7 +88,12 @@ const RadioField = props => {
85
88
  dataId: dataId,
86
89
  isReadOnly: isReadOnly,
87
90
  variant: variant
88
- }, RadioProps)));
91
+ }, RadioProps)), !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, _extends({
92
+ name: "ZD-GN-info",
93
+ size: "16",
94
+ title: infoTooltip,
95
+ iconClass: style.infoIcon
96
+ }, InfoIconProps)) : null);
89
97
  })), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
90
98
  text: validationMessage,
91
99
  palette: validationPalette,
@@ -23,6 +23,7 @@ export const propTypes = {
23
23
  customProps: PropTypes.shape({
24
24
  LabelProps: PropTypes.object,
25
25
  RadioProps: PropTypes.object,
26
+ InfoIconProps: PropTypes.object,
26
27
  ValidationMessageProps1: PropTypes.object,
27
28
  ValidationMessageProps2: PropTypes.object
28
29
  }),
@@ -29,7 +29,7 @@ export default function Lookup(props) {
29
29
  needFocusScope,
30
30
  customProps,
31
31
  onKeyDown,
32
- isFlexWrapper
32
+ isMinHeight
33
33
  } = props;
34
34
  const {
35
35
  role = 'dialog',
@@ -77,12 +77,10 @@ export default function Lookup(props) {
77
77
  className: `${style.box} ${style[`${size}Size`]}`,
78
78
  "data-id": dataId,
79
79
  "data-test-id": dataId
80
- }, isFlexWrapper ? /*#__PURE__*/React.createElement(Container, {
80
+ }, /*#__PURE__*/React.createElement(Container, {
81
81
  "data-drag-container": "true",
82
82
  isCover: false,
83
- className: `${style.wrapper}`
84
- }, children) : /*#__PURE__*/React.createElement("div", {
85
- "data-drag-container": "true"
83
+ className: isMinHeight ? `${style.wrapper}` : `${style.coverwrap}`
86
84
  }, children));
87
85
  return /*#__PURE__*/React.createElement(FreezeLayer, {
88
86
  align: "horizontal",
@@ -5,5 +5,5 @@ export const defaultProps = {
5
5
  childAnimationName: 'flyDown',
6
6
  needFocusScope: false,
7
7
  customProps: {},
8
- isFlexWrapper: true
8
+ isMinHeight: false
9
9
  };
@@ -19,5 +19,5 @@ export const propTypes = {
19
19
  forwardRef: PropTypes.object,
20
20
  onClick: PropTypes.func,
21
21
  onClose: PropTypes.func,
22
- isFlexWrapper: PropTypes.bool
22
+ isMinHeight: PropTypes.bool
23
23
  };
@@ -133,8 +133,7 @@ export default class AlertLookup extends Component {
133
133
  onClick: onLookupClick,
134
134
  customClass: containerClass,
135
135
  a11y: a11y,
136
- childAnimationName: childAnimationName,
137
- isFlexWrapper: false
136
+ childAnimationName: childAnimationName
138
137
  }, LookupProps), /*#__PURE__*/React.createElement(Container, {
139
138
  alignBox: "row",
140
139
  align: align,
@@ -69,12 +69,13 @@ var Attachment = /*#__PURE__*/function (_React$Component) {
69
69
  tooltip = _this$props.tooltip,
70
70
  fileInfo = _this$props.fileInfo,
71
71
  i18nKeys = _this$props.i18nKeys,
72
- dataSelectorId = _this$props.dataSelectorId;
72
+ dataSelectorId = _this$props.dataSelectorId,
73
+ isDisabled = _this$props.isDisabled;
73
74
  var _i18nKeys$downloadTit = i18nKeys.downloadTitle,
74
75
  downloadTitle = _i18nKeys$downloadTit === void 0 ? 'Download' : _i18nKeys$downloadTit;
75
76
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
76
77
  isInline: true,
77
- className: "".concat(_AttachmentModule["default"].attachment, " ").concat(onClick ? _AttachmentModule["default"].attachmentHover : '', " ").concat(_AttachmentModule["default"]["palette_".concat(palette)], " ").concat(_AttachmentModule["default"][size]),
78
+ className: "".concat(_AttachmentModule["default"].attachment, " ").concat(isDisabled ? _AttachmentModule["default"].disableAttachment : "", " ").concat(onClick ? _AttachmentModule["default"].attachmentHover : '', " ").concat(_AttachmentModule["default"]["palette_".concat(palette)], " ").concat(_AttachmentModule["default"][size]),
78
79
  onClick: onClick,
79
80
  dataId: dataId,
80
81
  "data-title": tooltip,
@@ -115,7 +116,7 @@ var Attachment = /*#__PURE__*/function (_React$Component) {
115
116
  adjust: true,
116
117
  shrink: true,
117
118
  "data-title": fileInfo
118
- }, fileInfo)) : null)))), downloadLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], {
119
+ }, fileInfo)) : null)))), downloadLink && !isDisabled ? /*#__PURE__*/_react["default"].createElement(_Link["default"], {
119
120
  target: "_self",
120
121
  href: downloadLink,
121
122
  className: _AttachmentModule["default"].attachDownload,
@@ -124,7 +125,10 @@ var Attachment = /*#__PURE__*/function (_React$Component) {
124
125
  }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
125
126
  name: "ZD-downloadNew",
126
127
  iconClass: _AttachmentModule["default"].downIcon
127
- })) : null);
128
+ })) : null, isDisabled ? /*#__PURE__*/_react["default"].createElement("div", {
129
+ "data-title": tooltip,
130
+ className: _AttachmentModule["default"].disableLayer
131
+ }) : null);
128
132
  }
129
133
  }]);
130
134
 
@@ -6,6 +6,25 @@
6
6
  border-radius: 2px;
7
7
  }
8
8
 
9
+ .disableAttachment {
10
+ opacity: .6;
11
+ }
12
+
13
+ .disableLayer {
14
+ height: 100% ;
15
+ width: 100% ;
16
+ position: absolute;
17
+ top:0
18
+ }
19
+
20
+ [dir=ltr] .disableLayer {
21
+ left:0
22
+ }
23
+
24
+ [dir=rtl] .disableLayer {
25
+ right:0
26
+ }
27
+
9
28
  .attachmentHover {
10
29
  cursor: pointer;
11
30
  }
@@ -9,6 +9,7 @@ var defaultProps = {
9
9
  palette: 'default',
10
10
  dataId: 'attachment',
11
11
  i18nKeys: {},
12
- dataSelectorId: 'attachment'
12
+ dataSelectorId: 'attachment',
13
+ isDisabled: false
13
14
  };
14
15
  exports.defaultProps = defaultProps;
@@ -23,6 +23,7 @@ var propTypes = {
23
23
  i18nKeys: _propTypes["default"].shape({
24
24
  downloadTitle: _propTypes["default"].string
25
25
  }),
26
- tooltip: _propTypes["default"].string
26
+ tooltip: _propTypes["default"].string,
27
+ isDisabled: _propTypes["default"].bool
27
28
  };
28
29
  exports.propTypes = propTypes;
@@ -101,7 +101,7 @@ var Lookup = /*#__PURE__*/function (_Component) {
101
101
  onClose = _this$props.onClose,
102
102
  needFocusScope = _this$props.needFocusScope,
103
103
  customProps = _this$props.customProps,
104
- isFlexWrapper = _this$props.isFlexWrapper;
104
+ isMinHeight = _this$props.isMinHeight;
105
105
  var _a11y$role = a11y.role,
106
106
  role = _a11y$role === void 0 ? 'dialog' : _a11y$role,
107
107
  ariaLabelledby = a11y.ariaLabelledby,
@@ -135,12 +135,10 @@ var Lookup = /*#__PURE__*/function (_Component) {
135
135
  className: "".concat(_LookupModule["default"].box, " ").concat(_LookupModule["default"]["".concat(size, "Size")]),
136
136
  "data-id": dataId,
137
137
  "data-test-id": dataId
138
- }, isFlexWrapper ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
138
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
139
139
  "data-drag-container": "true",
140
140
  isCover: false,
141
- className: "".concat(_LookupModule["default"].wrapper)
142
- }, children) : /*#__PURE__*/_react["default"].createElement("div", {
143
- "data-drag-container": "true"
141
+ className: isMinHeight ? "".concat(_LookupModule["default"].wrapper) : "".concat(_LookupModule["default"].coverwrap)
144
142
  }, children));
145
143
 
146
144
  return /*#__PURE__*/_react["default"].createElement(_FreezeLayer["default"], {
@@ -3,29 +3,39 @@
3
3
  min-height: var(--zd_size440) ;
4
4
  }
5
5
 
6
+ .coverwrap {
7
+ max-height: 85vh ;
8
+ }
9
+
6
10
  .container {
7
11
  font-size: var(--zd_font_size16) ;
8
12
  padding-bottom: var(--zd_size10) ;
9
13
  }
14
+
10
15
  .box {
11
16
  position: relative;
12
17
  height: 100% ;
13
18
  width: 100% ;
14
19
  margin: auto ;
15
20
  }
21
+
16
22
  /* Size */
17
23
  .smallSize {
18
24
  max-width: var(--zd_size470) ;
19
25
  }
26
+
20
27
  .xmediumSize {
21
28
  max-width: var(--zd_size620) ;
22
29
  }
30
+
23
31
  .mediumSize {
24
32
  max-width: var(--zd_size840) ;
25
33
  }
34
+
26
35
  .largeSize {
27
36
  max-width: 70% ;
28
37
  }
38
+
29
39
  .fullSize {
30
40
  max-width: 90% ;
31
- }
41
+ }
@@ -11,6 +11,6 @@ var defaultProps = {
11
11
  childAnimationName: 'flyDown',
12
12
  needFocusScope: false,
13
13
  customProps: {},
14
- isFlexWrapper: true
14
+ isMinHeight: false
15
15
  };
16
16
  exports.defaultProps = defaultProps;
@@ -29,6 +29,6 @@ var propTypes = {
29
29
  forwardRef: _propTypes["default"].object,
30
30
  onClick: _propTypes["default"].func,
31
31
  onClose: _propTypes["default"].func,
32
- isFlexWrapper: _propTypes["default"].bool
32
+ isMinHeight: _propTypes["default"].bool
33
33
  };
34
34
  exports.propTypes = propTypes;
@@ -36,12 +36,13 @@ var Attachment = function Attachment(props) {
36
36
  tooltip = props.tooltip,
37
37
  fileInfo = props.fileInfo,
38
38
  i18nKeys = props.i18nKeys,
39
- dataSelectorId = props.dataSelectorId;
39
+ dataSelectorId = props.dataSelectorId,
40
+ isDisabled = props.isDisabled;
40
41
  var _i18nKeys$downloadTit = i18nKeys.downloadTitle,
41
42
  downloadTitle = _i18nKeys$downloadTit === void 0 ? 'Download' : _i18nKeys$downloadTit;
42
43
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
43
44
  isInline: true,
44
- className: "".concat(_AttachmentModule["default"].attachment, " ").concat(onClick ? _AttachmentModule["default"].attachmentHover : '', " ").concat(_AttachmentModule["default"]["palette_".concat(palette)], " ").concat(_AttachmentModule["default"][size]),
45
+ className: "".concat(_AttachmentModule["default"].attachment, " ").concat(isDisabled ? _AttachmentModule["default"].disableAttachment : "", " ").concat(onClick ? _AttachmentModule["default"].attachmentHover : '', " ").concat(_AttachmentModule["default"]["palette_".concat(palette)], " ").concat(_AttachmentModule["default"][size]),
45
46
  onClick: onClick,
46
47
  dataId: dataId,
47
48
  "data-title": tooltip,
@@ -82,7 +83,7 @@ var Attachment = function Attachment(props) {
82
83
  adjust: true,
83
84
  shrink: true,
84
85
  "data-title": fileInfo
85
- }, fileInfo)) : null)))), downloadLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], {
86
+ }, fileInfo)) : null)))), downloadLink && !isDisabled ? /*#__PURE__*/_react["default"].createElement(_Link["default"], {
86
87
  target: "_self",
87
88
  href: downloadLink,
88
89
  className: _AttachmentModule["default"].attachDownload,
@@ -91,7 +92,10 @@ var Attachment = function Attachment(props) {
91
92
  }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
92
93
  name: "ZD-downloadNew",
93
94
  iconClass: _AttachmentModule["default"].downIcon
94
- })) : null);
95
+ })) : null, isDisabled ? /*#__PURE__*/_react["default"].createElement("div", {
96
+ "data-title": tooltip,
97
+ className: _AttachmentModule["default"].disableLayer
98
+ }) : null);
95
99
  };
96
100
 
97
101
  Attachment.propTypes = _propTypes.propTypes;
@@ -9,6 +9,7 @@ var defaultProps = {
9
9
  palette: 'default',
10
10
  dataId: 'attachment',
11
11
  i18nKeys: {},
12
- dataSelectorId: 'attachment'
12
+ dataSelectorId: 'attachment',
13
+ isDisabled: false
13
14
  };
14
15
  exports.defaultProps = defaultProps;
@@ -23,6 +23,7 @@ var propTypes = {
23
23
  i18nKeys: _propTypes["default"].shape({
24
24
  downloadTitle: _propTypes["default"].string
25
25
  }),
26
- tooltip: _propTypes["default"].string
26
+ tooltip: _propTypes["default"].string,
27
+ isDisabled: _propTypes["default"].bool
27
28
  };
28
29
  exports.propTypes = propTypes;
@@ -120,8 +120,7 @@ function AlertLookup(props) {
120
120
  onClick: onLookupClick,
121
121
  customClass: containerClass,
122
122
  a11y: a11y,
123
- childAnimationName: childAnimationName,
124
- isFlexWrapper: false
123
+ childAnimationName: childAnimationName
125
124
  }, LookupProps), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
126
125
  alignBox: "row",
127
126
  align: align,
@@ -13,6 +13,8 @@ var _defaultProps = require("./props/defaultProps");
13
13
 
14
14
  var _propTypes = require("./props/propTypes");
15
15
 
16
+ var _Icon = _interopRequireDefault(require("@zohodesk/icons/es/Icon"));
17
+
16
18
  var _Label = _interopRequireDefault(require("@zohodesk/components/es/v1/Label/Label"));
17
19
 
18
20
  var _Radio = _interopRequireDefault(require("@zohodesk/components/es/v1/Radio/Radio"));
@@ -56,6 +58,8 @@ var RadioField = function RadioField(props) {
56
58
  LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
57
59
  _customProps$RadioPro = customProps.RadioProps,
58
60
  RadioProps = _customProps$RadioPro === void 0 ? {} : _customProps$RadioPro,
61
+ _customProps$InfoIcon = customProps.InfoIconProps,
62
+ InfoIconProps = _customProps$InfoIcon === void 0 ? {} : _customProps$InfoIcon,
59
63
  _customProps$Validati = customProps.ValidationMessageProps1,
60
64
  ValidationMessageProps1 = _customProps$Validati === void 0 ? {} : _customProps$Validati,
61
65
  _customProps$Validati2 = customProps.ValidationMessageProps2,
@@ -80,10 +84,11 @@ var RadioField = function RadioField(props) {
80
84
  className: "".concat(_FieldsModule["default"].fieldContainer, " ").concat(labelName ? _FieldsModule["default"].fieldMargin_medium : '', " ").concat(_FieldsModule["default"].radioContainer)
81
85
  }, options.map(function (option, index) {
82
86
  var text = option.text,
83
- value = option.value;
87
+ value = option.value,
88
+ infoTooltip = option.infoTooltip;
84
89
  return /*#__PURE__*/_react["default"].createElement("span", {
85
90
  key: index,
86
- className: "".concat(_FieldsModule["default"].radio)
91
+ className: "".concat(_FieldsModule["default"].radio, " ").concat(!!infoTooltip ? _FieldsModule["default"].labelContainer : '')
87
92
  }, /*#__PURE__*/_react["default"].createElement(_Radio["default"], _extends({
88
93
  id: index,
89
94
  value: value,
@@ -99,7 +104,12 @@ var RadioField = function RadioField(props) {
99
104
  dataId: dataId,
100
105
  isReadOnly: isReadOnly,
101
106
  variant: variant
102
- }, RadioProps)));
107
+ }, RadioProps)), !!infoTooltip ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], _extends({
108
+ name: "ZD-GN-info",
109
+ size: "16",
110
+ title: infoTooltip,
111
+ iconClass: _FieldsModule["default"].infoIcon
112
+ }, InfoIconProps)) : null);
103
113
  })), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
104
114
  text: validationMessage,
105
115
  palette: validationPalette,
@@ -33,6 +33,7 @@ var propTypes = {
33
33
  customProps: _propTypes["default"].shape({
34
34
  LabelProps: _propTypes["default"].object,
35
35
  RadioProps: _propTypes["default"].object,
36
+ InfoIconProps: _propTypes["default"].object,
36
37
  ValidationMessageProps1: _propTypes["default"].object,
37
38
  ValidationMessageProps2: _propTypes["default"].object
38
39
  }),
@@ -51,7 +51,7 @@ function Lookup(props) {
51
51
  needFocusScope = props.needFocusScope,
52
52
  customProps = props.customProps,
53
53
  onKeyDown = props.onKeyDown,
54
- isFlexWrapper = props.isFlexWrapper;
54
+ isMinHeight = props.isMinHeight;
55
55
  var _a11y$role = a11y.role,
56
56
  role = _a11y$role === void 0 ? 'dialog' : _a11y$role,
57
57
  ariaLabelledby = a11y.ariaLabelledby,
@@ -101,12 +101,10 @@ function Lookup(props) {
101
101
  className: "".concat(_LookupModule["default"].box, " ").concat(_LookupModule["default"]["".concat(size, "Size")]),
102
102
  "data-id": dataId,
103
103
  "data-test-id": dataId
104
- }, isFlexWrapper ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
104
+ }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
105
105
  "data-drag-container": "true",
106
106
  isCover: false,
107
- className: "".concat(_LookupModule["default"].wrapper)
108
- }, children) : /*#__PURE__*/_react["default"].createElement("div", {
109
- "data-drag-container": "true"
107
+ className: isMinHeight ? "".concat(_LookupModule["default"].wrapper) : "".concat(_LookupModule["default"].coverwrap)
110
108
  }, children));
111
109
 
112
110
  return /*#__PURE__*/_react["default"].createElement(_FreezeLayer["default"], {
@@ -11,6 +11,6 @@ var defaultProps = {
11
11
  childAnimationName: 'flyDown',
12
12
  needFocusScope: false,
13
13
  customProps: {},
14
- isFlexWrapper: true
14
+ isMinHeight: false
15
15
  };
16
16
  exports.defaultProps = defaultProps;
@@ -29,6 +29,6 @@ var propTypes = {
29
29
  forwardRef: _propTypes["default"].object,
30
30
  onClick: _propTypes["default"].func,
31
31
  onClose: _propTypes["default"].func,
32
- isFlexWrapper: _propTypes["default"].bool
32
+ isMinHeight: _propTypes["default"].bool
33
33
  };
34
34
  exports.propTypes = propTypes;
@@ -192,8 +192,7 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
192
192
  onClick: onLookupClick,
193
193
  customClass: containerClass,
194
194
  a11y: a11y,
195
- childAnimationName: childAnimationName,
196
- isFlexWrapper: false
195
+ childAnimationName: childAnimationName
197
196
  }, LookupProps), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
198
197
  alignBox: "row",
199
198
  align: align,