@patternfly/react-table 4.61.16 → 4.61.20

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.
@@ -3517,9 +3517,10 @@
3517
3517
  return 0;
3518
3518
  }
3519
3519
  };
3520
- return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$i.button, _default$i.modifiers[variant], isBlock && _default$i.modifiers.block, isDisabled && _default$i.modifiers.disabled, isAriaDisabled && _default$i.modifiers.ariaDisabled, isActive && _default$i.modifiers.active, isInline && variant === ButtonVariant.link && _default$i.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && _default$i.modifiers.danger, isLoading !== null && _default$i.modifiers.progress, isLoading && _default$i.modifiers.inProgress, isSmall && _default$i.modifiers.small, isLarge && _default$i.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3520
+ return (React__namespace.createElement(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), { "aria-disabled": isDisabled || isAriaDisabled, "aria-label": ariaLabel, className: css(_default$i.button, _default$i.modifiers[variant], isBlock && _default$i.modifiers.block, isDisabled && _default$i.modifiers.disabled, isAriaDisabled && _default$i.modifiers.ariaDisabled, isActive && _default$i.modifiers.active, isInline && variant === ButtonVariant.link && _default$i.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && _default$i.modifiers.danger, isLoading !== null && children !== null && _default$i.modifiers.progress, isLoading && _default$i.modifiers.inProgress, isSmall && _default$i.modifiers.small, isLarge && _default$i.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : null, ref: innerRef }, ouiaProps),
3521
3521
  isLoading && (React__namespace.createElement("span", { className: css(_default$i.buttonProgress) },
3522
3522
  React__namespace.createElement(Spinner, { size: spinnerSize.md, "aria-valuetext": spinnerAriaValueText }))),
3523
+ variant === ButtonVariant.plain && children === null && icon ? icon : null,
3523
3524
  variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(_default$i.buttonIcon, _default$i.modifiers.start) }, icon)),
3524
3525
  children,
3525
3526
  variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(_default$i.buttonIcon, _default$i.modifiers.end) }, icon))));
@@ -6391,7 +6392,7 @@
6391
6392
  inlineFilterPlaceholderText: null,
6392
6393
  customBadgeText: null,
6393
6394
  inputIdPrefix: '',
6394
- inputAutoComplete: navigator.userAgent.match('Chrome') ? getUniqueId('pf-no-autocomplete') : 'off',
6395
+ inputAutoComplete: 'off',
6395
6396
  menuAppendTo: 'inline',
6396
6397
  favorites: [],
6397
6398
  favoritesLabel: 'Favorites',