@patternfly/react-table 4.53.1 → 4.55.0

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.
@@ -5525,7 +5525,8 @@
5525
5525
  // if viewMoreNextIndex is not -1, view more was clicked, set focus on first newly loaded item
5526
5526
  if (this.state.viewMoreNextIndex !== -1 &&
5527
5527
  this.refCollection.length > this.state.viewMoreNextIndex &&
5528
- this.props.loadingVariant !== 'spinner') {
5528
+ this.props.loadingVariant !== 'spinner' &&
5529
+ this.refCollection[this.state.viewMoreNextIndex][0]) {
5529
5530
  this.refCollection[this.state.viewMoreNextIndex][0].focus();
5530
5531
  }
5531
5532
  // the number or contents of the children has changed, update state.typeaheadFilteredChildren
@@ -7149,7 +7150,8 @@
7149
7150
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7150
7151
  className, onSelect = null, selectVariant } = _a, props = __rest$2(_a, ["children", "className", "onSelect", "selectVariant"]);
7151
7152
  return (React__namespace.createElement(React__namespace.Fragment, null,
7152
- React__namespace.createElement("input", Object.assign({}, props, { type: selectVariant, onChange: onSelect })),
7153
+ React__namespace.createElement("label", null,
7154
+ React__namespace.createElement("input", Object.assign({}, props, { type: selectVariant, onChange: onSelect }))),
7153
7155
  children));
7154
7156
  };
7155
7157
  SelectColumn.displayName = 'SelectColumn';
@@ -620,7 +620,7 @@
620
620
  .pf-c-table .pf-c-table__icon,
621
621
  .pf-c-table .pf-m-fit-content {
622
622
  --pf-c-table--cell--MinWidth: fit-content;
623
- --pf-c-table--cell--MaxWidth: fit-content;
623
+ --pf-c-table--cell--MaxWidth: none;
624
624
  --pf-c-table--cell--Width: 1%;
625
625
  --pf-c-table--cell--Overflow: visible;
626
626
  --pf-c-table--cell--TextOverflow: clip;
@@ -4995,6 +4995,7 @@ label.pf-c-check, .pf-c-check__label,
4995
4995
  --pf-c-button__progress--width: calc(var(--pf-global--icon--FontSize--md) + var(--pf-global--spacer--sm));
4996
4996
  --pf-c-button__progress--Opacity: 0;
4997
4997
  --pf-c-button__progress--TranslateY: -50%;
4998
+ --pf-c-button__progress--TranslateX: 0;
4998
4999
  --pf-c-button__progress--Top: 50%;
4999
5000
  --pf-c-button__progress--Left: var(--pf-global--spacer--md);
5000
5001
  --pf-c-button--m-progress--TransitionProperty: padding;
@@ -5003,6 +5004,9 @@ label.pf-c-check, .pf-c-check__label,
5003
5004
  --pf-c-button--m-progress--PaddingLeft: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width) / 2);
5004
5005
  --pf-c-button--m-in-progress--PaddingRight: var(--pf-global--spacer--md);
5005
5006
  --pf-c-button--m-in-progress--PaddingLeft: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width));
5007
+ --pf-c-button--m-in-progress--m-plain--Color: var(--pf-global--primary-color--100);
5008
+ --pf-c-button--m-in-progress--m-plain__progress--Left: 50%;
5009
+ --pf-c-button--m-in-progress--m-plain__progress--TranslateX: -50%;
5006
5010
  position: relative;
5007
5011
  display: inline-block;
5008
5012
  padding: var(--pf-c-button--PaddingTop) var(--pf-c-button--PaddingRight) var(--pf-c-button--PaddingBottom) var(--pf-c-button--PaddingLeft);
@@ -5350,11 +5354,21 @@ label.pf-c-check, .pf-c-check__label,
5350
5354
  transition: var(--pf-c-button--m-progress--TransitionProperty) var(--pf-c-button--m-progress--TransitionDuration);
5351
5355
  }
5352
5356
 
5353
- .pf-c-button.pf-m-in-progress {
5357
+ .pf-c-button.pf-m-in-progress:not(.pf-m-plain) {
5354
5358
  --pf-c-button--PaddingRight: var(--pf-c-button--m-in-progress--PaddingRight);
5355
5359
  --pf-c-button--PaddingLeft: var(--pf-c-button--m-in-progress--PaddingLeft);
5356
5360
  }
5357
5361
 
5362
+ .pf-c-button.pf-m-in-progress.pf-m-plain {
5363
+ --pf-c-button--m-plain--Color: var(--pf-c-button--m-in-progress--m-plain--Color);
5364
+ --pf-c-button__progress--Left: var(--pf-c-button--m-in-progress--m-plain__progress--Left);
5365
+ --pf-c-button__progress--TranslateX: var(--pf-c-button--m-in-progress--m-plain__progress--TranslateX);
5366
+ }
5367
+
5368
+ .pf-c-button.pf-m-in-progress.pf-m-plain > :not(.pf-c-button__progress) {
5369
+ opacity: 0;
5370
+ }
5371
+
5358
5372
  .pf-c-button__icon.pf-m-start {
5359
5373
  margin-right: var(--pf-c-button__icon--m-start--MarginRight);
5360
5374
  }
@@ -5368,7 +5382,7 @@ label.pf-c-check, .pf-c-check__label,
5368
5382
  top: var(--pf-c-button__progress--Top);
5369
5383
  left: var(--pf-c-button__progress--Left);
5370
5384
  line-height: 1;
5371
- transform: translateY(var(--pf-c-button__progress--TranslateY));
5385
+ transform: translate(var(--pf-c-button__progress--TranslateX), var(--pf-c-button__progress--TranslateY));
5372
5386
  }
5373
5387
 
5374
5388
  .pf-c-button__progress .pf-c-spinner {
@@ -17409,6 +17423,106 @@ ul.pf-c-list {
17409
17423
  margin: 0;
17410
17424
  }
17411
17425
 
17426
+ .pf-c-notification-badge {
17427
+ --pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
17428
+ --pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
17429
+ --pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
17430
+ --pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
17431
+ --pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
17432
+ --pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
17433
+ --pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
17434
+ --pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
17435
+ --pf-c-notification-badge--after--BorderColor: transparent;
17436
+ --pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
17437
+ --pf-c-notification-badge--after--BorderWidth: 0;
17438
+ --pf-c-notification-badge--after--Top: 0;
17439
+ --pf-c-notification-badge--after--Right: 0;
17440
+ --pf-c-notification-badge--after--Width: auto;
17441
+ --pf-c-notification-badge--after--Height: auto;
17442
+ --pf-c-notification-badge--after--BackgroundColor: transparent;
17443
+ --pf-c-notification-badge--after--TranslateX: 0;
17444
+ --pf-c-notification-badge--after--TranslateY: 0;
17445
+ --pf-c-notification-badge__i--Width: auto;
17446
+ --pf-c-notification-badge__i--Height: auto;
17447
+ --pf-c-notification-badge--m-read--after--BorderColor: transparent;
17448
+ --pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
17449
+ --pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
17450
+ --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
17451
+ --pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
17452
+ --pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
17453
+ --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
17454
+ --pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
17455
+ --pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
17456
+ --pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
17457
+ position: relative;
17458
+ display: inline-block;
17459
+ padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
17460
+ margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
17461
+ background-color: var(--pf-c-notification-badge--after--BackgroundColor);
17462
+ border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17463
+ }
17464
+
17465
+ .pf-c-notification-badge::before {
17466
+ position: absolute;
17467
+ top: var(--pf-c-notification-badge--after--Top);
17468
+ right: var(--pf-c-notification-badge--after--Right);
17469
+ bottom: 0;
17470
+ left: 0;
17471
+ width: var(--pf-c-notification-badge--after--Width);
17472
+ height: var(--pf-c-notification-badge--after--Height);
17473
+ content: "";
17474
+ border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
17475
+ border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17476
+ transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
17477
+ }
17478
+
17479
+ .pf-c-notification-badge > i {
17480
+ width: var(--pf-c-notification-badge__i--Width);
17481
+ height: var(--pf-c-notification-badge__i--Height);
17482
+ }
17483
+
17484
+ .pf-c-notification-badge > * {
17485
+ position: relative;
17486
+ }
17487
+
17488
+ .pf-c-notification-badge .pf-icon-attention-bell,
17489
+ .pf-c-notification-badge .pf-icon-bell {
17490
+ display: inline-block;
17491
+ line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
17492
+ }
17493
+
17494
+ .pf-c-notification-badge .pf-icon-attention-bell::before,
17495
+ .pf-c-notification-badge .pf-icon-bell::before {
17496
+ vertical-align: bottom;
17497
+ }
17498
+
17499
+ .pf-c-notification-badge.pf-m-read {
17500
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
17501
+ --pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
17502
+ }
17503
+
17504
+ .pf-c-notification-badge.pf-m-unread {
17505
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
17506
+ color: var(--pf-c-notification-badge--m-unread--Color);
17507
+ }
17508
+
17509
+ .pf-c-notification-badge.pf-m-unread:hover {
17510
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
17511
+ }
17512
+
17513
+ .pf-c-notification-badge.pf-m-attention {
17514
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
17515
+ color: var(--pf-c-notification-badge--m-attention--Color);
17516
+ }
17517
+
17518
+ .pf-c-notification-badge.pf-m-attention:hover {
17519
+ --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
17520
+ }
17521
+
17522
+ .pf-c-notification-badge__count {
17523
+ margin-left: var(--pf-c-notification-badge__count--MarginLeft);
17524
+ }
17525
+
17412
17526
  .pf-c-notification-drawer {
17413
17527
  --pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--200);
17414
17528
  --pf-c-notification-drawer__header--PaddingTop: var(--pf-global--spacer--md);
@@ -17687,106 +17801,6 @@ ul.pf-c-list {
17687
17801
  transform: rotate(var(--pf-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
17688
17802
  }
17689
17803
 
17690
- .pf-c-notification-badge {
17691
- --pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
17692
- --pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
17693
- --pf-c-notification-badge--PaddingBottom: var(--pf-global--spacer--form-element);
17694
- --pf-c-notification-badge--PaddingLeft: var(--pf-global--spacer--md);
17695
- --pf-c-notification-badge--MarginTop: calc(-1 * var(--pf-global--spacer--form-element));
17696
- --pf-c-notification-badge--MarginRight: calc(-1 * var(--pf-global--spacer--md));
17697
- --pf-c-notification-badge--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
17698
- --pf-c-notification-badge--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
17699
- --pf-c-notification-badge--after--BorderColor: transparent;
17700
- --pf-c-notification-badge--after--BorderRadius: var(--pf-global--BorderRadius--sm);
17701
- --pf-c-notification-badge--after--BorderWidth: 0;
17702
- --pf-c-notification-badge--after--Top: 0;
17703
- --pf-c-notification-badge--after--Right: 0;
17704
- --pf-c-notification-badge--after--Width: auto;
17705
- --pf-c-notification-badge--after--Height: auto;
17706
- --pf-c-notification-badge--after--BackgroundColor: transparent;
17707
- --pf-c-notification-badge--after--TranslateX: 0;
17708
- --pf-c-notification-badge--after--TranslateY: 0;
17709
- --pf-c-notification-badge__i--Width: auto;
17710
- --pf-c-notification-badge__i--Height: auto;
17711
- --pf-c-notification-badge--m-read--after--BorderColor: transparent;
17712
- --pf-c-notification-badge--m-read--after--BackgroundColor: transparent;
17713
- --pf-c-notification-badge--m-unread--Color: var(--pf-global--Color--light-100);
17714
- --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--active-color--100);
17715
- --pf-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-global--primary-color--200);
17716
- --pf-c-notification-badge--m-attention--Color: var(--pf-global--Color--light-100);
17717
- --pf-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-global--danger-color--100);
17718
- --pf-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-global--danger-color--200);
17719
- --pf-c-notification-badge__count--MarginLeft: var(--pf-global--spacer--xs);
17720
- --pf-c-notification-badge--pf-icon-attention-bell--LineHeight: var(--pf-global--LineHeight--sm);
17721
- position: relative;
17722
- display: inline-block;
17723
- padding: var(--pf-c-notification-badge--PaddingTop) var(--pf-c-notification-badge--PaddingRight) var(--pf-c-notification-badge--PaddingBottom) var(--pf-c-notification-badge--PaddingLeft);
17724
- margin: var(--pf-c-notification-badge--MarginTop) var(--pf-c-notification-badge--MarginRight) var(--pf-c-notification-badge--MarginBottom) var(--pf-c-notification-badge--MarginLeft);
17725
- background-color: var(--pf-c-notification-badge--after--BackgroundColor);
17726
- border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17727
- }
17728
-
17729
- .pf-c-notification-badge::before {
17730
- position: absolute;
17731
- top: var(--pf-c-notification-badge--after--Top);
17732
- right: var(--pf-c-notification-badge--after--Right);
17733
- bottom: 0;
17734
- left: 0;
17735
- width: var(--pf-c-notification-badge--after--Width);
17736
- height: var(--pf-c-notification-badge--after--Height);
17737
- content: "";
17738
- border: var(--pf-c-notification-badge--after--BorderWidth) solid var(--pf-c-notification-badge--after--BorderColor);
17739
- border-radius: var(--pf-c-notification-badge--after--BorderRadius);
17740
- transform: translate(var(--pf-c-notification-badge--after--TranslateX), var(--pf-c-notification-badge--after--TranslateY));
17741
- }
17742
-
17743
- .pf-c-notification-badge > i {
17744
- width: var(--pf-c-notification-badge__i--Width);
17745
- height: var(--pf-c-notification-badge__i--Height);
17746
- }
17747
-
17748
- .pf-c-notification-badge > * {
17749
- position: relative;
17750
- }
17751
-
17752
- .pf-c-notification-badge .pf-icon-attention-bell,
17753
- .pf-c-notification-badge .pf-icon-bell {
17754
- display: inline-block;
17755
- line-height: var(--pf-c-notification-badge--pf-icon-attention-bell--LineHeight);
17756
- }
17757
-
17758
- .pf-c-notification-badge .pf-icon-attention-bell::before,
17759
- .pf-c-notification-badge .pf-icon-bell::before {
17760
- vertical-align: bottom;
17761
- }
17762
-
17763
- .pf-c-notification-badge.pf-m-read {
17764
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-read--after--BackgroundColor);
17765
- --pf-c-notification-badge--after--BorderColor: var(--pf-c-notification-badge--m-read--after--BorderColor);
17766
- }
17767
-
17768
- .pf-c-notification-badge.pf-m-unread {
17769
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--after--BackgroundColor);
17770
- color: var(--pf-c-notification-badge--m-unread--Color);
17771
- }
17772
-
17773
- .pf-c-notification-badge.pf-m-unread:hover {
17774
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-unread--hover--after--BackgroundColor);
17775
- }
17776
-
17777
- .pf-c-notification-badge.pf-m-attention {
17778
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--after--BackgroundColor);
17779
- color: var(--pf-c-notification-badge--m-attention--Color);
17780
- }
17781
-
17782
- .pf-c-notification-badge.pf-m-attention:hover {
17783
- --pf-c-notification-badge--after--BackgroundColor: var(--pf-c-notification-badge--m-attention--hover--after--BackgroundColor);
17784
- }
17785
-
17786
- .pf-c-notification-badge__count {
17787
- margin-left: var(--pf-c-notification-badge__count--MarginLeft);
17788
- }
17789
-
17790
17804
  .pf-c-options-menu {
17791
17805
  --pf-c-options-menu__toggle--BackgroundColor: transparent;
17792
17806
  --pf-c-options-menu__toggle--PaddingTop: var(--pf-global--spacer--form-element);