@lumx/react 3.20.1-alpha.47 → 3.20.1-alpha.49
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 +7 -7
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/utils/index.d.ts +2 -2
package/index.js
CHANGED
|
@@ -6099,7 +6099,7 @@ const FlexBox = forwardRef((props, ref) => {
|
|
|
6099
6099
|
return /*#__PURE__*/jsx(Component, {
|
|
6100
6100
|
ref: ref,
|
|
6101
6101
|
...forwardedProps,
|
|
6102
|
-
className: block({
|
|
6102
|
+
className: classNames.join(className, block({
|
|
6103
6103
|
[`orientation-${computedOrientation}`]: Boolean(computedOrientation),
|
|
6104
6104
|
[`v-align-${vAlign}`]: Boolean(vAlign),
|
|
6105
6105
|
[`h-align-${hAlign}`]: Boolean(hAlign),
|
|
@@ -6108,7 +6108,7 @@ const FlexBox = forwardRef((props, ref) => {
|
|
|
6108
6108
|
'fill-space': fillSpace,
|
|
6109
6109
|
'no-shrink': noShrink,
|
|
6110
6110
|
...marginAutoModifiers
|
|
6111
|
-
}
|
|
6111
|
+
})),
|
|
6112
6112
|
children: children
|
|
6113
6113
|
});
|
|
6114
6114
|
});
|
|
@@ -6350,7 +6350,7 @@ const Text = forwardRef((props, ref) => {
|
|
|
6350
6350
|
'is-truncated': isTruncated && !isTruncatedMultiline,
|
|
6351
6351
|
'is-truncated-multiline': isTruncatedMultiline,
|
|
6352
6352
|
'no-wrap': noWrap
|
|
6353
|
-
}, [classNames.typography(typography), classNames.font(color, colorVariant), className]),
|
|
6353
|
+
}, [typography && classNames.typography(typography), color && classNames.font(color, colorVariant), className]),
|
|
6354
6354
|
title: tooltipLabel,
|
|
6355
6355
|
style: {
|
|
6356
6356
|
...truncateLinesStyle,
|
|
@@ -7698,7 +7698,7 @@ const InlineList = forwardRef((props, ref) => {
|
|
|
7698
7698
|
ref: ref,
|
|
7699
7699
|
className: block({
|
|
7700
7700
|
wrap: Boolean(wrap)
|
|
7701
|
-
}, [className, classNames.font(color, colorVariant), classNames.typography(typography)])
|
|
7701
|
+
}, [className, color && classNames.font(color, colorVariant), typography && classNames.typography(typography)])
|
|
7702
7702
|
// Lists with removed bullet style can lose their a11y list role on some browsers
|
|
7703
7703
|
,
|
|
7704
7704
|
role: "list",
|
|
@@ -7835,7 +7835,7 @@ const InputLabel = forwardRef((props, ref) => {
|
|
|
7835
7835
|
'is-required': isRequired,
|
|
7836
7836
|
[`theme-${theme}`]: Boolean(theme),
|
|
7837
7837
|
'has-custom-typography': Boolean(typography)
|
|
7838
|
-
}, [className, classNames.typography(typography)]),
|
|
7838
|
+
}, [className, typography && classNames.typography(typography)]),
|
|
7839
7839
|
children: children
|
|
7840
7840
|
});
|
|
7841
7841
|
});
|
|
@@ -8030,7 +8030,7 @@ const Link = forwardRef((props, ref) => {
|
|
|
8030
8030
|
[`color-${color}`]: Boolean(color),
|
|
8031
8031
|
[`color-variant-${colorVariant}`]: Boolean(colorVariant),
|
|
8032
8032
|
'has-typography': Boolean(typography)
|
|
8033
|
-
}, [className, classNames.typography(typography)]),
|
|
8033
|
+
}, [className, typography && classNames.typography(typography)]),
|
|
8034
8034
|
children: wrapChildrenIconWithSpaces(/*#__PURE__*/jsxs(Fragment, {
|
|
8035
8035
|
children: [leftIcon && /*#__PURE__*/jsx(Icon, {
|
|
8036
8036
|
icon: leftIcon,
|
|
@@ -10564,7 +10564,7 @@ const SkeletonRectangle = forwardRef((props, ref) => {
|
|
|
10564
10564
|
...forwardedProps,
|
|
10565
10565
|
className: block({
|
|
10566
10566
|
[`aspect-ratio-${aspectRatio}`]: Boolean(aspectRatio),
|
|
10567
|
-
[`height-${height}`]: Boolean(!aspectRatio
|
|
10567
|
+
[`height-${height}`]: Boolean(!aspectRatio && height),
|
|
10568
10568
|
[`theme-${theme}`]: Boolean(theme),
|
|
10569
10569
|
[`variant-${variant}`]: Boolean(variant),
|
|
10570
10570
|
[`width-${width}`]: Boolean(width),
|