@lumx/react 3.19.1-alpha.1 → 3.19.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 CHANGED
@@ -1208,7 +1208,7 @@ const RawClickable = forwardRefPolymorphic((props, ref) => {
1208
1208
  }
1209
1209
  return /*#__PURE__*/React__default.createElement(Component, _extends({
1210
1210
  ref: ref,
1211
- "aria-disabled": isAnyDisabled
1211
+ "aria-disabled": isAnyDisabled || undefined
1212
1212
  }, forwardedProps, clickableProps, {
1213
1213
  onClick: event => {
1214
1214
  if (isAnyDisabled) {
@@ -13707,8 +13707,9 @@ const Thumbnail = forwardRef((props, ref) => {
13707
13707
  }, disabledStateProps);
13708
13708
  if (isLink) {
13709
13709
  Object.assign(wrapperProps, linkProps);
13710
+ } else {
13711
+ wrapperProps['aria-label'] = forwardedProps['aria-label'] || alt;
13710
13712
  }
13711
- wrapperProps['aria-label'] = forwardedProps['aria-label'] || alt;
13712
13713
  }
13713
13714
 
13714
13715
  // If we have a loading placeholder image that is really loaded (complete)