@lumx/react 3.20.1-alpha.47 → 3.20.1-alpha.48

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 CHANGED
@@ -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,