@aloudata/aloudata-design 2.17.1 → 2.17.3

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.
@@ -26,6 +26,9 @@ var Avatar = function Avatar(props) {
26
26
  return AVATAR_SIZE_MAP[size] || 32;
27
27
  }, [size]);
28
28
  var getChildren = useCallback(function () {
29
+ if (_.isEmpty(children)) {
30
+ return null;
31
+ }
29
32
  if (typeof children === 'string') {
30
33
  return children[ZERO].toLocaleUpperCase();
31
34
  }
@@ -47,7 +50,7 @@ var Avatar = function Avatar(props) {
47
50
  if (icon) {
48
51
  return icon;
49
52
  }
50
- if (!_.isNil(children)) {
53
+ if (!_.isEmpty(children)) {
51
54
  return /*#__PURE__*/React.createElement("div", {
52
55
  style: {
53
56
  backgroundColor: bgColor,
@@ -342,7 +342,7 @@ var Component = function Component(props) {
342
342
  size: 20,
343
343
  src: item.photo,
344
344
  type: item.type === EUserType.USER ? 'user' : 'userGroup'
345
- }, item.nickname || item.name || item.userId))
345
+ }, item.nickname || item.name || item.userId), item.nickname || item.name || item.userId)
346
346
  };
347
347
  }),
348
348
  optionLabelProp: multiple ? 'label' : 'tag',
@@ -15,7 +15,7 @@
15
15
  flex-direction: column;
16
16
  align-items: center;
17
17
  margin: 0 4px;
18
- font-size: 13px;
18
+ font-size: 14px;
19
19
  }
20
20
 
21
21
  .ant-steps-item-custom
@@ -51,7 +51,7 @@
51
51
  .ant-steps-item-title {
52
52
  height: 20px;
53
53
  font-weight: 500;
54
- font-size: 13px;
54
+ font-size: 14px;
55
55
  font-style: normal;
56
56
  line-height: 20px;
57
57
  }
@@ -81,7 +81,7 @@
81
81
  .ant-steps-item-title {
82
82
  color: #9ca3af;
83
83
  font-weight: 500;
84
- font-size: 13px;
84
+ font-size: 14px;
85
85
  }
86
86
 
87
87
  .ant-steps-item-description {