@patternfly/react-table 4.44.5 → 4.44.9

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.
@@ -5601,7 +5601,7 @@
5601
5601
  typeaheadFilteredChildren =
5602
5602
  typeaheadInputValue.toString() !== ''
5603
5603
  ? React__namespace.Children.map(children, group => {
5604
- if (group.type === SelectGroup) {
5604
+ if (React__namespace.isValidElement(group) && group.type === SelectGroup) {
5605
5605
  const filteredGroupChildren = React__namespace.Children.toArray(group.props.children).filter(childFilter);
5606
5606
  if (filteredGroupChildren.length > 0) {
5607
5607
  return React__namespace.cloneElement(group, {
@@ -6011,7 +6011,7 @@
6011
6011
  event.stopPropagation();
6012
6012
  event.preventDefault();
6013
6013
  }
6014
- }, ref: this.filterRef, autoComplete: "off" })),
6014
+ }, ref: this.filterRef, autoComplete: "never" })),
6015
6015
  React__namespace.createElement(Divider, { key: "inline-filter-divider" })));
6016
6016
  renderableItems = [filterBox, ...typeaheadFilteredChildren].map((option, index) => React__namespace.cloneElement(option, { key: index }));
6017
6017
  }
@@ -6094,13 +6094,13 @@
6094
6094
  toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6095
6095
  React__namespace.createElement("input", { className: css(_default$f.formControl, _default$b.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-typeahead`, "aria-label": typeAheadAriaLabel, placeholder: placeholderText, value: typeaheadInputValue !== null
6096
6096
  ? typeaheadInputValue
6097
- : this.getDisplay(selections[0], 'text') || '', type: "text", onClick: this.onClick, onChange: this.onChange, autoComplete: "off", disabled: isDisabled, ref: this.inputRef })),
6097
+ : this.getDisplay(selections[0], 'text') || '', type: "text", onClick: this.onClick, onChange: this.onChange, autoComplete: "never", disabled: isDisabled, ref: this.inputRef })),
6098
6098
  hasOnClear && (selections[0] || typeaheadInputValue) && clearBtn)),
6099
6099
  variant === SelectVariant.typeaheadMulti && !customContent && (React__namespace.createElement(React__namespace.Fragment, null,
6100
6100
  React__namespace.createElement("div", { className: css(_default$b.selectToggleWrapper) },
6101
6101
  toggleIcon && React__namespace.createElement("span", { className: css(_default$b.selectToggleIcon) }, toggleIcon),
6102
6102
  selections && Array.isArray(selections) && selections.length > 0 && selectedChips,
6103
- React__namespace.createElement("input", { className: css(_default$f.formControl, _default$b.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: "off", disabled: isDisabled, ref: this.inputRef })),
6103
+ React__namespace.createElement("input", { className: css(_default$f.formControl, _default$b.selectToggleTypeahead), "aria-activedescendant": typeaheadActiveChild && typeaheadActiveChild.id, id: `${selectToggleId}-select-multi-typeahead-typeahead`, "aria-label": typeAheadAriaLabel, "aria-invalid": validated === ValidatedOptions.error, placeholder: placeholderText, value: typeaheadInputValue !== null ? typeaheadInputValue : '', type: "text", onChange: this.onChange, onClick: this.onClick, autoComplete: "never", disabled: isDisabled, ref: this.inputRef })),
6104
6104
  hasOnClear && ((selections && selections.length > 0) || typeaheadInputValue) && clearBtn)),
6105
6105
  validated === ValidatedOptions.success && (React__namespace.createElement("span", { className: css(_default$b.selectToggleStatusIcon) },
6106
6106
  React__namespace.createElement(CheckCircleIcon$1, { "aria-hidden": "true" }))),
@@ -338,8 +338,8 @@
338
338
  --pf-c-table--m-compact__expandable-row-content--PaddingRight: var(--pf-global--spacer--lg);
339
339
  --pf-c-table--m-compact__expandable-row-content--PaddingBottom: var(--pf-global--spacer--lg);
340
340
  --pf-c-table--m-compact__expandable-row-content--PaddingLeft: var(--pf-global--spacer--lg);
341
- --pf-c-table--nested--first-last-child--PaddingRight: var(--pf-global--spacer--3xl);
342
- --pf-c-table--nested--first-last-child--PaddingLeft: var(--pf-global--spacer--3xl);
341
+ --pf-c-table--nested--first-last-child--PaddingRight: var(--pf-c-table--m-compact--cell--first-last-child--PaddingLeft);
342
+ --pf-c-table--nested--first-last-child--PaddingLeft: var(--pf-c-table--m-compact--cell--first-last-child--PaddingRight);
343
343
  --pf-c-table__expandable-row--m-expanded--BorderBottomColor: var(--pf-global--BorderColor--100);
344
344
  --pf-c-table--tr--m-hoverable--BoxShadow--top: var(--pf-c-table--tr--BoxShadow--top--base);
345
345
  --pf-c-table--tr--m-hoverable--BackgroundColor: transparent;