@patternfly/react-table 4.80.1 → 4.80.4

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,36 @@
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.80.4 (2022-05-09)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.80.3 (2022-05-06)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **LogViewer:** clear ANSI cache when resetting the log window ([#7355](https://github.com/patternfly/patternfly-react/issues/7355)) ([b3354b5](https://github.com/patternfly/patternfly-react/commit/b3354b5000c5d7397c479888140b0381367cbd2c))
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.80.2 (2022-05-06)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **Page:** add tabindex to components with hasOverflowScroll ([#7274](https://github.com/patternfly/patternfly-react/issues/7274)) ([6be2fa8](https://github.com/patternfly/patternfly-react/commit/6be2fa870aba78b833c7346ffe029f96cfc1c37d))
31
+
32
+
33
+
34
+
35
+
6
36
  ## 4.80.1 (2022-05-06)
7
37
 
8
38
  **Note:** Version bump only for package @patternfly/react-table
@@ -9368,6 +9368,7 @@ button.pf-c-breadcrumb__link {
9368
9368
  position: relative;
9369
9369
  display: inline-flex;
9370
9370
  align-items: center;
9371
+ min-width: 0;
9371
9372
  padding: var(--pf-c-chip--PaddingTop) var(--pf-c-chip--PaddingRight) var(--pf-c-chip--PaddingBottom) var(--pf-c-chip--PaddingLeft);
9372
9373
  list-style: none;
9373
9374
  background-color: var(--pf-c-chip--BackgroundColor);
@@ -9475,6 +9476,7 @@ button.pf-c-breadcrumb__link {
9475
9476
  flex: 1;
9476
9477
  flex-wrap: wrap;
9477
9478
  align-items: baseline;
9479
+ min-width: 0;
9478
9480
  }
9479
9481
 
9480
9482
  .pf-c-chip-group__list {
@@ -9487,10 +9489,13 @@ button.pf-c-breadcrumb__link {
9487
9489
  display: inline-flex;
9488
9490
  flex-wrap: wrap;
9489
9491
  align-items: center;
9492
+ min-width: 0;
9493
+ max-width: 100%;
9490
9494
  }
9491
9495
 
9492
9496
  .pf-c-chip-group__list-item {
9493
9497
  display: inline-flex;
9498
+ min-width: 0;
9494
9499
  margin-right: var(--pf-c-chip-group__list-item--MarginRight);
9495
9500
  margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
9496
9501
  }
@@ -3226,7 +3226,7 @@
3226
3226
  if (isEventFromContainer ? !isEventFromContainer(event) : !this._isEventFromContainer(event)) {
3227
3227
  return;
3228
3228
  }
3229
- const { isActiveElement, getFocusableElement, noVerticalArrowHandling, noHorizontalArrowHandling, noEnterHandling, noSpaceHandling, updateTabIndex, validSiblingTags, additionalKeyHandler, createNavigableElements } = this.props;
3229
+ const { isActiveElement, getFocusableElement, noVerticalArrowHandling, noHorizontalArrowHandling, noEnterHandling, noSpaceHandling, updateTabIndex, validSiblingTags, additionalKeyHandler, createNavigableElements, onlyTraverseSiblings } = this.props;
3230
3230
  // Pass the event off to be handled by any custom handler
3231
3231
  additionalKeyHandler && additionalKeyHandler(event);
3232
3232
  // Initalize navigableElements from the createNavigableElements callback
@@ -3254,7 +3254,7 @@
3254
3254
  }
3255
3255
  }
3256
3256
  // Inject helper handler for arrow navigation
3257
- handleArrows(event, navigableElements, isActiveElement, getFocusableElement, validSiblingTags, noVerticalArrowHandling, noHorizontalArrowHandling, updateTabIndex);
3257
+ handleArrows(event, navigableElements, isActiveElement, getFocusableElement, validSiblingTags, noVerticalArrowHandling, noHorizontalArrowHandling, updateTabIndex, onlyTraverseSiblings);
3258
3258
  };
3259
3259
  this._isEventFromContainer = (event) => {
3260
3260
  const { containerRef } = this.props;
@@ -3282,6 +3282,7 @@
3282
3282
  isActiveElement: (navigableElement) => document.activeElement === navigableElement,
3283
3283
  getFocusableElement: (navigableElement) => navigableElement,
3284
3284
  validSiblingTags: ['BUTTON', 'A'],
3285
+ onlyTraverseSiblings: true,
3285
3286
  updateTabIndex: true,
3286
3287
  noHorizontalArrowHandling: false,
3287
3288
  noVerticalArrowHandling: false,
@@ -3728,7 +3729,7 @@
3728
3729
  const Tooltip = (_a) => {
3729
3730
  var { content: bodyContent, position = 'top', trigger = 'mouseenter focus', isVisible = false, isContentLeftAligned = false, enableFlip = true, className = '', entryDelay = 300, exitDelay = 0, appendTo = () => document.body, zIndex = 9999, maxWidth = tooltipMaxWidth.value, distance = 15, aria = 'describedby',
3730
3731
  // For every initial starting position, there are 3 escape positions
3731
- flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], id = `pf-tooltip-${pfTooltipIdCounter++}`, children, animationDuration = 300, reference, boundary, isAppLauncher, tippyProps } = _a, rest = __rest$1(_a, ["content", "position", "trigger", "isVisible", "isContentLeftAligned", "enableFlip", "className", "entryDelay", "exitDelay", "appendTo", "zIndex", "maxWidth", "distance", "aria", "flipBehavior", "id", "children", "animationDuration", "reference", "boundary", "isAppLauncher", "tippyProps"]);
3732
+ flipBehavior = ['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom'], id = `pf-tooltip-${pfTooltipIdCounter++}`, children, animationDuration = 300, reference, 'aria-live': ariaLive = reference ? 'polite' : 'off', boundary, isAppLauncher, tippyProps } = _a, rest = __rest$1(_a, ["content", "position", "trigger", "isVisible", "isContentLeftAligned", "enableFlip", "className", "entryDelay", "exitDelay", "appendTo", "zIndex", "maxWidth", "distance", "aria", "flipBehavior", "id", "children", "animationDuration", "reference", 'aria-live', "boundary", "isAppLauncher", "tippyProps"]);
3732
3733
  {
3733
3734
  boundary !== undefined &&
3734
3735
  console.warn('The Tooltip boundary prop has been deprecated. If you want to constrain the popper to a specific element use the appendTo prop instead.');
@@ -3810,7 +3811,7 @@
3810
3811
  'right-end': styles$9.modifiers.rightBottom
3811
3812
  };
3812
3813
  const hasCustomMaxWidth = maxWidth !== tooltipMaxWidth.value;
3813
- const content = (React__namespace.createElement("div", Object.assign({ className: css(styles$9.tooltip, className), role: "tooltip", id: id, style: {
3814
+ const content = (React__namespace.createElement("div", Object.assign({ "aria-live": ariaLive, className: css(styles$9.tooltip, className), role: "tooltip", id: id, style: {
3814
3815
  maxWidth: hasCustomMaxWidth ? maxWidth : null,
3815
3816
  opacity,
3816
3817
  transition: getOpacityTransition(animationDuration)
@@ -9368,6 +9368,7 @@ button.pf-c-breadcrumb__link {
9368
9368
  position: relative;
9369
9369
  display: inline-flex;
9370
9370
  align-items: center;
9371
+ min-width: 0;
9371
9372
  padding: var(--pf-c-chip--PaddingTop) var(--pf-c-chip--PaddingRight) var(--pf-c-chip--PaddingBottom) var(--pf-c-chip--PaddingLeft);
9372
9373
  list-style: none;
9373
9374
  background-color: var(--pf-c-chip--BackgroundColor);
@@ -9475,6 +9476,7 @@ button.pf-c-breadcrumb__link {
9475
9476
  flex: 1;
9476
9477
  flex-wrap: wrap;
9477
9478
  align-items: baseline;
9479
+ min-width: 0;
9478
9480
  }
9479
9481
 
9480
9482
  .pf-c-chip-group__list {
@@ -9487,10 +9489,13 @@ button.pf-c-breadcrumb__link {
9487
9489
  display: inline-flex;
9488
9490
  flex-wrap: wrap;
9489
9491
  align-items: center;
9492
+ min-width: 0;
9493
+ max-width: 100%;
9490
9494
  }
9491
9495
 
9492
9496
  .pf-c-chip-group__list-item {
9493
9497
  display: inline-flex;
9498
+ min-width: 0;
9494
9499
  margin-right: var(--pf-c-chip-group__list-item--MarginRight);
9495
9500
  margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
9496
9501
  }