@patternfly/react-table 4.60.4 → 4.61.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,44 @@
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.61.1 (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
14
+ # 4.61.0 (2022-01-20)
15
+
16
+
17
+ ### Features
18
+
19
+ * **Truncate:** added Truncate component ([#6713](https://github.com/patternfly/patternfly-react/issues/6713)) ([c803b5d](https://github.com/patternfly/patternfly-react/commit/c803b5df3761f689172d79bbc71bc38623b0bf5a))
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.60.6 (2022-01-20)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **TextInputGroup:** address various issues ([#6774](https://github.com/patternfly/patternfly-react/issues/6774)) ([010058a](https://github.com/patternfly/patternfly-react/commit/010058acc7115fb76a35fe06634083ada62cece0))
31
+
32
+
33
+
34
+
35
+
36
+ ## 4.60.5 (2022-01-20)
37
+
38
+ **Note:** Version bump only for package @patternfly/react-table
39
+
40
+
41
+
42
+
43
+
6
44
  ## 4.60.4 (2022-01-19)
7
45
 
8
46
  **Note:** Version bump only for package @patternfly/react-table
@@ -386,6 +386,7 @@
386
386
  --pf-c-table--thead--m-nested-column-header--tr--PaddingTop: var(--pf-global--spacer--xs);
387
387
  --pf-c-table--thead--m-nested-column-header--tr--PaddingBottom: var(--pf-global--spacer--xs);
388
388
  --pf-c-table__subhead--Color: var(--pf-global--Color--200);
389
+ --pf-c-table--m-striped__tr--BackgroundColor: var(--pf-global--BackgroundColor--light-200);
389
390
  color: var(--pf-global--Color--100);
390
391
  width: 100%;
391
392
  background-color: var(--pf-c-table--BackgroundColor);
@@ -433,6 +434,14 @@
433
434
  border-bottom: var(--pf-c-table--border-width--base) solid var(--pf-c-table--BorderColor);
434
435
  }
435
436
 
437
+ .pf-c-table.pf-m-striped:not(.pf-m-expandable) > tbody > tr:nth-child(odd), .pf-c-table.pf-m-striped.pf-m-expandable > tbody:nth-of-type(odd) > tr:not(.pf-c-table__expandable-row),
438
+ .pf-c-table > .pf-m-striped > tr:nth-child(odd),
439
+ .pf-c-table > .pf-m-striped-even > tr:nth-child(even),
440
+ .pf-c-table tr.pf-m-striped {
441
+ --pf-c-table__sticky-column--BackgroundColor: var(--pf-c-table--m-striped__tr--BackgroundColor);
442
+ background: var(--pf-c-table--m-striped__tr--BackgroundColor);
443
+ }
444
+
436
445
  .pf-c-table tr:not(.pf-c-table__expandable-row) {
437
446
  border-bottom: var(--pf-c-table--border-width--base) solid var(--pf-c-table--BorderColor);
438
447
  }
@@ -5922,6 +5931,10 @@ label.pf-c-check, .pf-c-check__label,
5922
5931
  white-space: nowrap;
5923
5932
  }
5924
5933
 
5934
+ .pf-c-dropdown__toggle-text {
5935
+ flex: 0 1 auto;
5936
+ }
5937
+
5925
5938
  .pf-c-dropdown__toggle-icon {
5926
5939
  margin-right: var(--pf-c-dropdown__toggle-icon--MarginRight);
5927
5940
  margin-left: var(--pf-c-dropdown__toggle-icon--MarginLeft);
@@ -5934,6 +5947,7 @@ label.pf-c-check, .pf-c-check__label,
5934
5947
 
5935
5948
  .pf-c-dropdown__toggle-image {
5936
5949
  display: inline-flex;
5950
+ flex-shrink: 0;
5937
5951
  margin-top: var(--pf-c-dropdown__toggle-image--MarginTop);
5938
5952
  margin-right: var(--pf-c-dropdown__toggle-image--MarginRight);
5939
5953
  margin-bottom: var(--pf-c-dropdown__toggle-image--MarginBottom);
@@ -14742,13 +14756,8 @@ ul.pf-c-list {
14742
14756
  background-color: var(--pf-c-masthead--BackgroundColor);
14743
14757
  }
14744
14758
 
14745
- @media screen and (min-width: 1200px) {
14746
- .pf-c-masthead {
14747
- --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
14748
- }
14749
- }
14750
14759
  @media screen and (min-width: 768px) {
14751
- .pf-c-masthead {
14760
+ .pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
14752
14761
  --pf-c-masthead--GridTemplateColumns: var(--pf-c-masthead--m-display-inline--GridTemplateColumns);
14753
14762
  --pf-c-masthead__main--GridColumn: var(--pf-c-masthead--m-display-inline__main--GridColumn);
14754
14763
  --pf-c-masthead__main--MinHeight: var(--pf-c-masthead--m-display-inline__main--MinHeight);
@@ -14768,6 +14777,15 @@ ul.pf-c-list {
14768
14777
  --pf-c-masthead__content--c-nav--m-horizontal--MarginLeft: var(--pf-c-masthead--m-display-inline__content--c-nav--m-horizontal--MarginLeft);
14769
14778
  }
14770
14779
  }
14780
+ @media screen and (min-width: 1200px) {
14781
+ .pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
14782
+ --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
14783
+ }
14784
+ }
14785
+ .pf-c-page:where(.pf-m-breakpoint-xl) .pf-c-masthead {
14786
+ --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
14787
+ }
14788
+
14771
14789
  .pf-c-masthead.pf-m-light {
14772
14790
  color: var(--pf-global--Color--100);
14773
14791
  --pf-c-masthead--BackgroundColor: var(--pf-c-masthead--m-light--BackgroundColor);
@@ -14835,6 +14853,10 @@ ul.pf-c-list {
14835
14853
  --pf-c-dropdown__toggle--before--BorderLeftColor: var(--pf-c-masthead--c-dropdown--m-full-height__toggle--before--BorderLeftColor);
14836
14854
  }
14837
14855
 
14856
+ .pf-c-masthead .pf-c-nav {
14857
+ align-self: stretch;
14858
+ }
14859
+
14838
14860
  .pf-c-masthead__main {
14839
14861
  position: relative;
14840
14862
  display: flex;
@@ -23340,6 +23362,12 @@ label.pf-c-radio, .pf-c-radio__label,
23340
23362
  --pf-c-toolbar--spacer: 0;
23341
23363
  }
23342
23364
 
23365
+ .pf-c-toolbar__group.pf-m-overflow-container,
23366
+ .pf-c-toolbar__item.pf-m-overflow-container {
23367
+ flex: 1;
23368
+ overflow: hidden;
23369
+ }
23370
+
23343
23371
  .pf-c-toolbar__expand-all-icon {
23344
23372
  display: inline-block;
23345
23373
  transition: var(--pf-c-toolbar__expand-all-icon--Transition);
@@ -25694,6 +25722,40 @@ label.pf-c-radio, .pf-c-radio__label,
25694
25722
  box-shadow: var(--pf-c-panel__footer--BoxShadow);
25695
25723
  }
25696
25724
 
25725
+ .pf-c-truncate {
25726
+ --pf-c-truncate--MinWidth: 12ch;
25727
+ --pf-c-truncate__start--MinWidth: 6ch;
25728
+ display: inline-grid;
25729
+ grid-auto-flow: column;
25730
+ align-items: baseline;
25731
+ min-width: var(--pf-c-truncate--MinWidth);
25732
+ }
25733
+
25734
+ .pf-c-truncate__start,
25735
+ .pf-c-truncate__end {
25736
+ overflow: hidden;
25737
+ text-overflow: ellipsis;
25738
+ white-space: nowrap;
25739
+ }
25740
+
25741
+ .pf-c-truncate__start {
25742
+ min-width: var(--pf-c-truncate__start--MinWidth);
25743
+ }
25744
+
25745
+ .pf-c-truncate__end {
25746
+ direction: rtl;
25747
+ }
25748
+
25749
+ .pf-c-truncate__start + .pf-c-truncate__end {
25750
+ overflow: visible;
25751
+ direction: ltr;
25752
+ }
25753
+
25754
+ @supports (-webkit-hyphens: none) {
25755
+ .pf-c-truncate__end {
25756
+ direction: ltr;
25757
+ }
25758
+ }
25697
25759
  .pf-l-flex {
25698
25760
  --pf-l-flex--Display: flex;
25699
25761
  --pf-l-flex--FlexWrap: wrap;
@@ -6647,6 +6647,9 @@
6647
6647
  "visibleOn_2xl": "pf-m-visible-on-2xl",
6648
6648
  "fixed": "pf-m-fixed",
6649
6649
  "stickyHeader": "pf-m-sticky-header",
6650
+ "striped": "pf-m-striped",
6651
+ "expandable": "pf-m-expandable",
6652
+ "stripedEven": "pf-m-striped-even",
6650
6653
  "ghostRow": "pf-m-ghost-row",
6651
6654
  "center": "pf-m-center",
6652
6655
  "help": "pf-m-help",