@lumx/react 4.1.1-alpha.2 → 4.1.1-alpha.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.
- package/index.js +1 -4
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -13860,18 +13860,15 @@ const UserBlock = forwardRef((props, ref) => {
|
|
|
13860
13860
|
...nProps,
|
|
13861
13861
|
children: /*#__PURE__*/jsx(Text, {
|
|
13862
13862
|
as: "span",
|
|
13863
|
-
truncate: true,
|
|
13864
13863
|
children: name
|
|
13865
13864
|
})
|
|
13866
13865
|
});
|
|
13867
13866
|
}, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
|
|
13868
13867
|
const shouldDisplayFields = componentSize !== Size$1.s && componentSize !== Size$1.xs;
|
|
13869
|
-
const fieldsBlock = fields && shouldDisplayFields && /*#__PURE__*/jsx(
|
|
13868
|
+
const fieldsBlock = fields && shouldDisplayFields && /*#__PURE__*/jsx("div", {
|
|
13870
13869
|
className: `${CLASSNAME}__fields`,
|
|
13871
|
-
wrap: true,
|
|
13872
13870
|
children: fields.map((field, idx) => /*#__PURE__*/jsx(Text, {
|
|
13873
13871
|
as: "span",
|
|
13874
|
-
truncate: true,
|
|
13875
13872
|
className: `${CLASSNAME}__field`,
|
|
13876
13873
|
children: field
|
|
13877
13874
|
}, idx))
|