@patternfly/react-table 4.52.0 → 4.52.1

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,14 @@
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.52.1 (2022-01-06)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
6
14
  # 4.52.0 (2022-01-05)
7
15
 
8
16
 
@@ -12723,6 +12723,81 @@ button.pf-c-breadcrumb__link {
12723
12723
  font-weight: var(--pf-global--FontWeight--semi-bold);
12724
12724
  }
12725
12725
 
12726
+ .pf-c-file-upload {
12727
+ --pf-c-file-upload--m-loading__file-details--before--BackgroundColor: var(--pf-global--BackgroundColor--100);
12728
+ --pf-c-file-upload--m-loading__file-details--before--Left: var(--pf-global--BorderWidth--sm);
12729
+ --pf-c-file-upload--m-loading__file-details--before--Right: var(--pf-global--BorderWidth--sm);
12730
+ --pf-c-file-upload--m-loading__file-details--before--Bottom: var(--pf-global--BorderWidth--sm);
12731
+ --pf-c-file-upload--m-drag-hover--before--BorderWidth: var(--pf-global--BorderWidth--sm);
12732
+ --pf-c-file-upload--m-drag-hover--before--BorderColor: var(--pf-global--primary-color--100);
12733
+ --pf-c-file-upload--m-drag-hover--before--ZIndex: var(--pf-global--ZIndex--xs);
12734
+ --pf-c-file-upload--m-drag-hover--after--BackgroundColor: var(--pf-global--primary-color--100);
12735
+ --pf-c-file-upload--m-drag-hover--after--Opacity: .1;
12736
+ --pf-c-file-upload__file-details__c-form-control--MinHeight: calc(var(--pf-global--spacer--3xl) * 2);
12737
+ --pf-c-file-upload__file-select__c-button--m-control--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
12738
+ position: relative;
12739
+ display: flex;
12740
+ flex-direction: column;
12741
+ }
12742
+
12743
+ .pf-c-file-upload.pf-m-drag-hover::before {
12744
+ position: absolute;
12745
+ top: 0;
12746
+ right: 0;
12747
+ bottom: 0;
12748
+ left: 0;
12749
+ z-index: var(--pf-c-file-upload--m-drag-hover--before--ZIndex);
12750
+ content: "";
12751
+ border: var(--pf-c-file-upload--m-drag-hover--before--BorderWidth) solid var(--pf-c-file-upload--m-drag-hover--before--BorderColor);
12752
+ }
12753
+
12754
+ .pf-c-file-upload.pf-m-drag-hover::after {
12755
+ position: absolute;
12756
+ top: 0;
12757
+ right: 0;
12758
+ bottom: 0;
12759
+ left: 0;
12760
+ content: "";
12761
+ background-color: var(--pf-c-file-upload--m-drag-hover--after--BackgroundColor);
12762
+ opacity: var(--pf-c-file-upload--m-drag-hover--after--Opacity);
12763
+ }
12764
+
12765
+ .pf-c-file-upload.pf-m-loading .pf-c-file-upload__file-details {
12766
+ position: relative;
12767
+ }
12768
+
12769
+ .pf-c-file-upload.pf-m-loading .pf-c-file-upload__file-details::before {
12770
+ position: absolute;
12771
+ top: 0;
12772
+ right: var(--pf-c-file-upload--m-loading__file-details--before--Left);
12773
+ bottom: var(--pf-c-file-upload--m-loading__file-details--before--Left);
12774
+ left: var(--pf-c-file-upload--m-loading__file-details--before--Left);
12775
+ content: "";
12776
+ background-color: var(--pf-c-file-upload--m-loading__file-details--before--BackgroundColor);
12777
+ }
12778
+
12779
+ .pf-c-file-upload__file-select .pf-c-button.pf-m-control {
12780
+ outline-offset: var(--pf-c-file-upload__file-select__c-button--m-control--OutlineOffset);
12781
+ }
12782
+
12783
+ .pf-c-file-upload__file-details {
12784
+ position: relative;
12785
+ display: flex;
12786
+ }
12787
+
12788
+ .pf-c-file-upload__file-details .pf-c-form-control {
12789
+ flex: 1 1 auto;
12790
+ min-height: var(--pf-c-file-upload__file-details__c-form-control--MinHeight);
12791
+ border-top: 0;
12792
+ }
12793
+
12794
+ .pf-c-file-upload__file-details-spinner {
12795
+ position: absolute;
12796
+ top: 50%;
12797
+ left: 50%;
12798
+ transform: translate(-50%, -50%);
12799
+ }
12800
+
12726
12801
  .pf-c-helper-text {
12727
12802
  --pf-c-helper-text--Gap: var(--pf-global--spacer--xs);
12728
12803
  --pf-c-helper-text--FontSize: var(--pf-global--FontSize--sm);
@@ -13678,6 +13753,7 @@ label.pf-c-input-group__text {
13678
13753
  --pf-c-label--m-compact--PaddingBottom: 0;
13679
13754
  --pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
13680
13755
  --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
13756
+ --pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
13681
13757
  --pf-c-label__content--Color: var(--pf-global--Color--100);
13682
13758
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
13683
13759
  --pf-c-label__text--MaxWidth: 16ch;
@@ -13692,6 +13768,18 @@ label.pf-c-input-group__text {
13692
13768
  --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
13693
13769
  --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
13694
13770
  --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
13771
+ --pf-c-label__editable-text--MaxWidth: 16ch;
13772
+ --pf-c-label__editable-text--BorderWidth: 0;
13773
+ --pf-c-label--m-editable--Cursor: pointer;
13774
+ --pf-c-label--m-editable--TextDecoration: underline;
13775
+ --pf-c-label--m-editable--TextDecorationStyle: dashed;
13776
+ --pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
13777
+ --pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
13778
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
13779
+ --pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
13780
+ --pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
13781
+ --pf-c-label--m-editable--m-editable-active--Cursor: auto;
13782
+ --pf-c-label--m-editable--m-editable-active--TextDecoration: none;
13695
13783
  --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
13696
13784
  --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
13697
13785
  --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
@@ -13711,6 +13799,7 @@ label.pf-c-input-group__text {
13711
13799
  --pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
13712
13800
  --pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
13713
13801
  --pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
13802
+ --pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
13714
13803
  }
13715
13804
 
13716
13805
  .pf-c-label.pf-m-blue {
@@ -13810,7 +13899,26 @@ label.pf-c-input-group__text {
13810
13899
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
13811
13900
  }
13812
13901
 
13902
+ .pf-c-label.pf-m-editable {
13903
+ text-decoration: var(--pf-c-label--m-editable--TextDecoration);
13904
+ cursor: var(--pf-c-label--m-editable--Cursor);
13905
+ text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
13906
+ text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
13907
+ text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
13908
+ text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
13909
+ }
13910
+
13911
+ .pf-c-label.pf-m-editable:hover {
13912
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
13913
+ }
13914
+
13915
+ .pf-c-label.pf-m-editable:focus {
13916
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
13917
+ }
13918
+
13813
13919
  .pf-c-label.pf-m-editable-active {
13920
+ --pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
13921
+ --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
13814
13922
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
13815
13923
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
13816
13924
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
@@ -13820,6 +13928,14 @@ label.pf-c-input-group__text {
13820
13928
  visibility: hidden;
13821
13929
  }
13822
13930
 
13931
+ .pf-c-label .pf-c-label__editable-text {
13932
+ overflow: hidden;
13933
+ text-overflow: ellipsis;
13934
+ white-space: nowrap;
13935
+ max-width: var(--pf-c-label__editable-text--MaxWidth);
13936
+ border-width: var(--pf-c-label__editable-text--BorderWidth);
13937
+ }
13938
+
13823
13939
  .pf-c-label .pf-c-button {
13824
13940
  --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
13825
13941
  --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
@@ -17275,6 +17391,16 @@ ul.pf-c-list {
17275
17391
  left: 0;
17276
17392
  }
17277
17393
 
17394
+ .pf-l-bullseye {
17395
+ --pf-l-bullseye--Padding: 0;
17396
+ display: flex;
17397
+ align-items: center;
17398
+ justify-content: center;
17399
+ height: 100%;
17400
+ padding: var(--pf-l-bullseye--Padding);
17401
+ margin: 0;
17402
+ }
17403
+
17278
17404
  .pf-c-notification-badge {
17279
17405
  --pf-c-notification-badge--PaddingTop: var(--pf-global--spacer--form-element);
17280
17406
  --pf-c-notification-badge--PaddingRight: var(--pf-global--spacer--md);
@@ -17375,16 +17501,6 @@ ul.pf-c-list {
17375
17501
  margin-left: var(--pf-c-notification-badge__count--MarginLeft);
17376
17502
  }
17377
17503
 
17378
- .pf-l-bullseye {
17379
- --pf-l-bullseye--Padding: 0;
17380
- display: flex;
17381
- align-items: center;
17382
- justify-content: center;
17383
- height: 100%;
17384
- padding: var(--pf-l-bullseye--Padding);
17385
- margin: 0;
17386
- }
17387
-
17388
17504
  .pf-c-notification-drawer {
17389
17505
  --pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--200);
17390
17506
  --pf-c-notification-drawer__header--PaddingTop: var(--pf-global--spacer--md);
@@ -19556,81 +19672,6 @@ ul.pf-c-list {
19556
19672
  background-color: var(--pf-c-progress__indicator--BackgroundColor);
19557
19673
  }
19558
19674
 
19559
- .pf-c-file-upload {
19560
- --pf-c-file-upload--m-loading__file-details--before--BackgroundColor: var(--pf-global--BackgroundColor--100);
19561
- --pf-c-file-upload--m-loading__file-details--before--Left: var(--pf-global--BorderWidth--sm);
19562
- --pf-c-file-upload--m-loading__file-details--before--Right: var(--pf-global--BorderWidth--sm);
19563
- --pf-c-file-upload--m-loading__file-details--before--Bottom: var(--pf-global--BorderWidth--sm);
19564
- --pf-c-file-upload--m-drag-hover--before--BorderWidth: var(--pf-global--BorderWidth--sm);
19565
- --pf-c-file-upload--m-drag-hover--before--BorderColor: var(--pf-global--primary-color--100);
19566
- --pf-c-file-upload--m-drag-hover--before--ZIndex: var(--pf-global--ZIndex--xs);
19567
- --pf-c-file-upload--m-drag-hover--after--BackgroundColor: var(--pf-global--primary-color--100);
19568
- --pf-c-file-upload--m-drag-hover--after--Opacity: .1;
19569
- --pf-c-file-upload__file-details__c-form-control--MinHeight: calc(var(--pf-global--spacer--3xl) * 2);
19570
- --pf-c-file-upload__file-select__c-button--m-control--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
19571
- position: relative;
19572
- display: flex;
19573
- flex-direction: column;
19574
- }
19575
-
19576
- .pf-c-file-upload.pf-m-drag-hover::before {
19577
- position: absolute;
19578
- top: 0;
19579
- right: 0;
19580
- bottom: 0;
19581
- left: 0;
19582
- z-index: var(--pf-c-file-upload--m-drag-hover--before--ZIndex);
19583
- content: "";
19584
- border: var(--pf-c-file-upload--m-drag-hover--before--BorderWidth) solid var(--pf-c-file-upload--m-drag-hover--before--BorderColor);
19585
- }
19586
-
19587
- .pf-c-file-upload.pf-m-drag-hover::after {
19588
- position: absolute;
19589
- top: 0;
19590
- right: 0;
19591
- bottom: 0;
19592
- left: 0;
19593
- content: "";
19594
- background-color: var(--pf-c-file-upload--m-drag-hover--after--BackgroundColor);
19595
- opacity: var(--pf-c-file-upload--m-drag-hover--after--Opacity);
19596
- }
19597
-
19598
- .pf-c-file-upload.pf-m-loading .pf-c-file-upload__file-details {
19599
- position: relative;
19600
- }
19601
-
19602
- .pf-c-file-upload.pf-m-loading .pf-c-file-upload__file-details::before {
19603
- position: absolute;
19604
- top: 0;
19605
- right: var(--pf-c-file-upload--m-loading__file-details--before--Left);
19606
- bottom: var(--pf-c-file-upload--m-loading__file-details--before--Left);
19607
- left: var(--pf-c-file-upload--m-loading__file-details--before--Left);
19608
- content: "";
19609
- background-color: var(--pf-c-file-upload--m-loading__file-details--before--BackgroundColor);
19610
- }
19611
-
19612
- .pf-c-file-upload__file-select .pf-c-button.pf-m-control {
19613
- outline-offset: var(--pf-c-file-upload__file-select__c-button--m-control--OutlineOffset);
19614
- }
19615
-
19616
- .pf-c-file-upload__file-details {
19617
- position: relative;
19618
- display: flex;
19619
- }
19620
-
19621
- .pf-c-file-upload__file-details .pf-c-form-control {
19622
- flex: 1 1 auto;
19623
- min-height: var(--pf-c-file-upload__file-details__c-form-control--MinHeight);
19624
- border-top: 0;
19625
- }
19626
-
19627
- .pf-c-file-upload__file-details-spinner {
19628
- position: absolute;
19629
- top: 50%;
19630
- left: 50%;
19631
- transform: translate(-50%, -50%);
19632
- }
19633
-
19634
19675
  .pf-c-progress-stepper {
19635
19676
  --pf-c-progress-stepper--GridAutoFlow: column;
19636
19677
  --pf-c-progress-stepper--GridTemplateRows: auto 1fr;
@@ -13753,6 +13753,7 @@ label.pf-c-input-group__text {
13753
13753
  --pf-c-label--m-compact--PaddingBottom: 0;
13754
13754
  --pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
13755
13755
  --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
13756
+ --pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
13756
13757
  --pf-c-label__content--Color: var(--pf-global--Color--100);
13757
13758
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
13758
13759
  --pf-c-label__text--MaxWidth: 16ch;
@@ -13767,6 +13768,18 @@ label.pf-c-input-group__text {
13767
13768
  --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
13768
13769
  --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
13769
13770
  --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
13771
+ --pf-c-label__editable-text--MaxWidth: 16ch;
13772
+ --pf-c-label__editable-text--BorderWidth: 0;
13773
+ --pf-c-label--m-editable--Cursor: pointer;
13774
+ --pf-c-label--m-editable--TextDecoration: underline;
13775
+ --pf-c-label--m-editable--TextDecorationStyle: dashed;
13776
+ --pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
13777
+ --pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
13778
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
13779
+ --pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
13780
+ --pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
13781
+ --pf-c-label--m-editable--m-editable-active--Cursor: auto;
13782
+ --pf-c-label--m-editable--m-editable-active--TextDecoration: none;
13770
13783
  --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
13771
13784
  --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
13772
13785
  --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
@@ -13786,6 +13799,7 @@ label.pf-c-input-group__text {
13786
13799
  --pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
13787
13800
  --pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
13788
13801
  --pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
13802
+ --pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
13789
13803
  }
13790
13804
 
13791
13805
  .pf-c-label.pf-m-blue {
@@ -13885,7 +13899,26 @@ label.pf-c-input-group__text {
13885
13899
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
13886
13900
  }
13887
13901
 
13902
+ .pf-c-label.pf-m-editable {
13903
+ text-decoration: var(--pf-c-label--m-editable--TextDecoration);
13904
+ cursor: var(--pf-c-label--m-editable--Cursor);
13905
+ text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
13906
+ text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
13907
+ text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
13908
+ text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
13909
+ }
13910
+
13911
+ .pf-c-label.pf-m-editable:hover {
13912
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
13913
+ }
13914
+
13915
+ .pf-c-label.pf-m-editable:focus {
13916
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
13917
+ }
13918
+
13888
13919
  .pf-c-label.pf-m-editable-active {
13920
+ --pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
13921
+ --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
13889
13922
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
13890
13923
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
13891
13924
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
@@ -13895,6 +13928,14 @@ label.pf-c-input-group__text {
13895
13928
  visibility: hidden;
13896
13929
  }
13897
13930
 
13931
+ .pf-c-label .pf-c-label__editable-text {
13932
+ overflow: hidden;
13933
+ text-overflow: ellipsis;
13934
+ white-space: nowrap;
13935
+ max-width: var(--pf-c-label__editable-text--MaxWidth);
13936
+ border-width: var(--pf-c-label__editable-text--BorderWidth);
13937
+ }
13938
+
13898
13939
  .pf-c-label .pf-c-button {
13899
13940
  --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
13900
13941
  --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "4.52.0",
3
+ "version": "4.52.1",
4
4
  "description": "This library provides a set of React table components for use with the PatternFly 4",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -31,10 +31,10 @@
31
31
  "clean": "rimraf dist"
32
32
  },
33
33
  "dependencies": {
34
- "@patternfly/react-core": "^4.183.0",
35
- "@patternfly/react-icons": "^4.34.0",
36
- "@patternfly/react-styles": "^4.33.0",
37
- "@patternfly/react-tokens": "^4.35.0",
34
+ "@patternfly/react-core": "^4.183.1",
35
+ "@patternfly/react-icons": "^4.34.1",
36
+ "@patternfly/react-styles": "^4.33.1",
37
+ "@patternfly/react-tokens": "^4.35.1",
38
38
  "lodash": "^4.17.19",
39
39
  "tslib": "^2.0.0"
40
40
  },
@@ -46,5 +46,5 @@
46
46
  "react": "^16.8.0 || ^17.0.0",
47
47
  "react-dom": "^16.8.0 || ^17.0.0"
48
48
  },
49
- "gitHead": "66422523fe55a104080eb333b7ea0ea5db5e08c3"
49
+ "gitHead": "87b97537c17089399b8c142a28fd35440a9dc8d1"
50
50
  }