@patternfly/react-table 4.91.0 → 4.91.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.91.3 (2022-06-15)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.91.2 (2022-06-15)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-table
17
+
18
+
19
+
20
+
21
+
22
+ ## 4.91.1 (2022-06-15)
23
+
24
+ **Note:** Version bump only for package @patternfly/react-table
25
+
26
+
27
+
28
+
29
+
6
30
  # 4.91.0 (2022-06-14)
7
31
 
8
32
 
@@ -16572,10 +16572,6 @@ ul.pf-c-list {
16572
16572
  --pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
16573
16573
  }
16574
16574
 
16575
- .pf-c-menu .pf-c-menu__content {
16576
- overflow: visible hidden;
16577
- }
16578
-
16579
16575
  .pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
16580
16576
  overflow: visible;
16581
16577
  }
@@ -16618,7 +16614,7 @@ ul.pf-c-list {
16618
16614
 
16619
16615
  .pf-c-menu.pf-m-drilldown > .pf-c-menu__content {
16620
16616
  flex-grow: 1;
16621
- overflow-x: hidden;
16617
+ overflow: hidden;
16622
16618
  transition: var(--pf-c-menu--m-drilldown__content--Transition);
16623
16619
  }
16624
16620
 
@@ -6258,21 +6258,28 @@
6258
6258
  this.refCollection[this.state.viewMoreNextIndex][0].focus();
6259
6259
  this.setState({ viewMoreNextIndex: -1 });
6260
6260
  }
6261
+ const checkUpdatedChildren = (prevChildren, currChildren) => prevChildren.some((prevChild, index) => {
6262
+ const prevChildProps = prevChild.props;
6263
+ const currChild = currChildren[index];
6264
+ const { props: currChildProps } = currChild;
6265
+ if (prevChildProps && currChildProps) {
6266
+ return (prevChildProps.value !== currChildProps.value ||
6267
+ prevChildProps.label !== currChildProps.label ||
6268
+ prevChildProps.isDisabled !== currChildProps.isDisabled ||
6269
+ prevChildProps.isPlaceholder !== currChildProps.isPlaceholder);
6270
+ }
6271
+ else {
6272
+ return prevChild !== currChild;
6273
+ }
6274
+ });
6261
6275
  const hasUpdatedChildren = prevProps.children.length !== this.props.children.length ||
6262
- prevProps.children.some((prevChild, index) => {
6263
- const prevChildProps = prevChild.props;
6264
- const currChild = this.props.children[index];
6265
- const { props: currChildProps } = currChild;
6266
- if (prevChildProps && currChildProps) {
6267
- return (prevChildProps.value !== currChildProps.value ||
6268
- prevChildProps.label !== currChildProps.label ||
6269
- prevChildProps.isDisabled !== currChildProps.isDisabled ||
6270
- prevChildProps.isPlaceholder !== currChildProps.isPlaceholder);
6271
- }
6272
- else {
6273
- return prevChild !== currChild;
6274
- }
6275
- });
6276
+ checkUpdatedChildren(prevProps.children, this.props.children) ||
6277
+ (this.props.isGrouped &&
6278
+ prevProps.children.some((prevChild, index) => prevChild.type === SelectGroup &&
6279
+ prevChild.props.children &&
6280
+ this.props.children[index].props.children &&
6281
+ (prevChild.props.children.length !== this.props.children[index].props.children.length ||
6282
+ checkUpdatedChildren(prevChild.props.children, this.props.children[index].props.children))));
6276
6283
  if (hasUpdatedChildren) {
6277
6284
  this.updateTypeAheadFilteredChildren(prevState.typeaheadInputValue || '', null);
6278
6285
  }
@@ -16572,10 +16572,6 @@ ul.pf-c-list {
16572
16572
  --pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
16573
16573
  }
16574
16574
 
16575
- .pf-c-menu .pf-c-menu__content {
16576
- overflow: visible hidden;
16577
- }
16578
-
16579
16575
  .pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
16580
16576
  overflow: visible;
16581
16577
  }
@@ -16618,7 +16614,7 @@ ul.pf-c-list {
16618
16614
 
16619
16615
  .pf-c-menu.pf-m-drilldown > .pf-c-menu__content {
16620
16616
  flex-grow: 1;
16621
- overflow-x: hidden;
16617
+ overflow: hidden;
16622
16618
  transition: var(--pf-c-menu--m-drilldown__content--Transition);
16623
16619
  }
16624
16620