@patternfly/react-table 4.80.1 → 4.80.2

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,17 @@
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.2 (2022-05-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 4.80.1 (2022-05-06)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/react-table
@@ -7458,37 +7458,6 @@ svg.pf-c-spinner.pf-m-xl {
7458
7458
  --pf-c-accordion__expanded-content-body--PaddingTop: var(--pf-c-accordion__expanded-content-body--expanded-content-body--PaddingTop);
7459
7459
  }
7460
7460
 
7461
- .pf-c-action-list {
7462
- --pf-c-action-list--m-icon--spacer: 0;
7463
- --pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
7464
- --pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
7465
- }
7466
-
7467
- .pf-c-action-list,
7468
- .pf-c-action-list__group {
7469
- --pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
7470
- --pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
7471
- display: flex;
7472
- align-items: center;
7473
- }
7474
-
7475
- .pf-c-action-list > * + *,
7476
- .pf-c-action-list__group > * + * {
7477
- margin-left: var(--pf-c-action-list--child--spacer);
7478
- }
7479
-
7480
- .pf-c-action-list > * + .pf-c-action-list__group,
7481
- .pf-c-action-list .pf-c-action-list__group + *,
7482
- .pf-c-action-list__group > * + .pf-c-action-list__group,
7483
- .pf-c-action-list__group .pf-c-action-list__group + * {
7484
- margin-left: var(--pf-c-action-list--group--spacer);
7485
- }
7486
-
7487
- .pf-c-action-list.pf-m-icons,
7488
- .pf-c-action-list__group.pf-m-icons {
7489
- --pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
7490
- }
7491
-
7492
7461
  .pf-c-alert {
7493
7462
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
7494
7463
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -7707,6 +7676,37 @@ svg.pf-c-spinner.pf-m-xl {
7707
7676
  --pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
7708
7677
  }
7709
7678
 
7679
+ .pf-c-action-list {
7680
+ --pf-c-action-list--m-icon--spacer: 0;
7681
+ --pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
7682
+ --pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
7683
+ }
7684
+
7685
+ .pf-c-action-list,
7686
+ .pf-c-action-list__group {
7687
+ --pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
7688
+ --pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
7689
+ display: flex;
7690
+ align-items: center;
7691
+ }
7692
+
7693
+ .pf-c-action-list > * + *,
7694
+ .pf-c-action-list__group > * + * {
7695
+ margin-left: var(--pf-c-action-list--child--spacer);
7696
+ }
7697
+
7698
+ .pf-c-action-list > * + .pf-c-action-list__group,
7699
+ .pf-c-action-list .pf-c-action-list__group + *,
7700
+ .pf-c-action-list__group > * + .pf-c-action-list__group,
7701
+ .pf-c-action-list__group .pf-c-action-list__group + * {
7702
+ margin-left: var(--pf-c-action-list--group--spacer);
7703
+ }
7704
+
7705
+ .pf-c-action-list.pf-m-icons,
7706
+ .pf-c-action-list__group.pf-m-icons {
7707
+ --pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
7708
+ }
7709
+
7710
7710
  .pf-u-screen-reader {
7711
7711
  position: fixed;
7712
7712
  top: 0;
@@ -8337,41 +8337,6 @@ svg.pf-c-spinner.pf-m-xl {
8337
8337
  --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-2xl, var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))))));
8338
8338
  }
8339
8339
  }
8340
- .pf-c-back-to-top {
8341
- --pf-c-back-to-top--Right: var(--pf-global--spacer--2xl);
8342
- --pf-c-back-to-top--Bottom: var(--pf-global--spacer--lg);
8343
- --pf-c-back-to-top--md--Bottom: var(--pf-global--spacer--2xl);
8344
- --pf-c-back-to-top--c-button--FontSize: var(--pf-global--FontSize--xs);
8345
- --pf-c-back-to-top--c-button--BorderRadius: var(--pf-global--BorderRadius--lg);
8346
- --pf-c-back-to-top--c-button--PaddingTop: var(--pf-global--spacer--xs);
8347
- --pf-c-back-to-top--c-button--PaddingRight: var(--pf-global--spacer--sm);
8348
- --pf-c-back-to-top--c-button--PaddingBottom: var(--pf-global--spacer--xs);
8349
- --pf-c-back-to-top--c-button--PaddingLeft: var(--pf-global--spacer--sm);
8350
- --pf-c-back-to-top--c-button--BoxShadow: var(--pf-global--BoxShadow--lg-bottom);
8351
- position: absolute;
8352
- right: var(--pf-c-back-to-top--Right);
8353
- bottom: var(--pf-c-back-to-top--Bottom);
8354
- }
8355
-
8356
- @media (min-width: 768px) {
8357
- .pf-c-back-to-top {
8358
- --pf-c-back-to-top--Bottom: var(--pf-c-back-to-top--md--Bottom);
8359
- }
8360
- }
8361
- .pf-c-back-to-top.pf-m-hidden {
8362
- display: none;
8363
- }
8364
-
8365
- .pf-c-back-to-top .pf-c-button {
8366
- --pf-c-button--FontSize: var(--pf-c-back-to-top--c-button--FontSize);
8367
- --pf-c-button--BorderRadius: var(--pf-c-back-to-top--c-button--BorderRadius);
8368
- --pf-c-button--PaddingTop: var(--pf-c-back-to-top--c-button--PaddingTop);
8369
- --pf-c-button--PaddingRight: var(--pf-c-back-to-top--c-button--PaddingRight);
8370
- --pf-c-button--PaddingBottom: var(--pf-c-back-to-top--c-button--PaddingBottom);
8371
- --pf-c-button--PaddingLeft: var(--pf-c-back-to-top--c-button--PaddingLeft);
8372
- box-shadow: var(--pf-c-back-to-top--c-button--BoxShadow);
8373
- }
8374
-
8375
8340
  .pf-c-background-image {
8376
8341
  --pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
8377
8342
  --pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg_576.jpg");
@@ -8455,6 +8420,41 @@ svg.pf-c-spinner.pf-m-xl {
8455
8420
  --pf-c-badge--BackgroundColor: var(--pf-c-badge--m-unread--BackgroundColor);
8456
8421
  }
8457
8422
 
8423
+ .pf-c-back-to-top {
8424
+ --pf-c-back-to-top--Right: var(--pf-global--spacer--2xl);
8425
+ --pf-c-back-to-top--Bottom: var(--pf-global--spacer--lg);
8426
+ --pf-c-back-to-top--md--Bottom: var(--pf-global--spacer--2xl);
8427
+ --pf-c-back-to-top--c-button--FontSize: var(--pf-global--FontSize--xs);
8428
+ --pf-c-back-to-top--c-button--BorderRadius: var(--pf-global--BorderRadius--lg);
8429
+ --pf-c-back-to-top--c-button--PaddingTop: var(--pf-global--spacer--xs);
8430
+ --pf-c-back-to-top--c-button--PaddingRight: var(--pf-global--spacer--sm);
8431
+ --pf-c-back-to-top--c-button--PaddingBottom: var(--pf-global--spacer--xs);
8432
+ --pf-c-back-to-top--c-button--PaddingLeft: var(--pf-global--spacer--sm);
8433
+ --pf-c-back-to-top--c-button--BoxShadow: var(--pf-global--BoxShadow--lg-bottom);
8434
+ position: absolute;
8435
+ right: var(--pf-c-back-to-top--Right);
8436
+ bottom: var(--pf-c-back-to-top--Bottom);
8437
+ }
8438
+
8439
+ @media (min-width: 768px) {
8440
+ .pf-c-back-to-top {
8441
+ --pf-c-back-to-top--Bottom: var(--pf-c-back-to-top--md--Bottom);
8442
+ }
8443
+ }
8444
+ .pf-c-back-to-top.pf-m-hidden {
8445
+ display: none;
8446
+ }
8447
+
8448
+ .pf-c-back-to-top .pf-c-button {
8449
+ --pf-c-button--FontSize: var(--pf-c-back-to-top--c-button--FontSize);
8450
+ --pf-c-button--BorderRadius: var(--pf-c-back-to-top--c-button--BorderRadius);
8451
+ --pf-c-button--PaddingTop: var(--pf-c-back-to-top--c-button--PaddingTop);
8452
+ --pf-c-button--PaddingRight: var(--pf-c-back-to-top--c-button--PaddingRight);
8453
+ --pf-c-button--PaddingBottom: var(--pf-c-back-to-top--c-button--PaddingBottom);
8454
+ --pf-c-button--PaddingLeft: var(--pf-c-back-to-top--c-button--PaddingLeft);
8455
+ box-shadow: var(--pf-c-back-to-top--c-button--BoxShadow);
8456
+ }
8457
+
8458
8458
  .pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info {
8459
8459
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
8460
8460
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -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,