@patternfly/react-table 4.111.46 → 4.111.47

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.111.47](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.111.46...@patternfly/react-table@4.111.47) (2022-12-01)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
6
14
  ## 4.111.46 (2022-11-30)
7
15
 
8
16
 
@@ -7532,6 +7532,37 @@ svg.pf-c-spinner.pf-m-xl {
7532
7532
  overflow: hidden;
7533
7533
  }
7534
7534
 
7535
+ .pf-c-action-list {
7536
+ --pf-c-action-list--m-icon--spacer: 0;
7537
+ --pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
7538
+ --pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
7539
+ }
7540
+
7541
+ .pf-c-action-list,
7542
+ .pf-c-action-list__group {
7543
+ --pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
7544
+ --pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
7545
+ display: flex;
7546
+ align-items: center;
7547
+ }
7548
+
7549
+ .pf-c-action-list > * + *,
7550
+ .pf-c-action-list__group > * + * {
7551
+ margin-left: var(--pf-c-action-list--child--spacer);
7552
+ }
7553
+
7554
+ .pf-c-action-list > * + .pf-c-action-list__group,
7555
+ .pf-c-action-list .pf-c-action-list__group + *,
7556
+ .pf-c-action-list__group > * + .pf-c-action-list__group,
7557
+ .pf-c-action-list__group .pf-c-action-list__group + * {
7558
+ margin-left: var(--pf-c-action-list--group--spacer);
7559
+ }
7560
+
7561
+ .pf-c-action-list.pf-m-icons,
7562
+ .pf-c-action-list__group.pf-m-icons {
7563
+ --pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
7564
+ }
7565
+
7535
7566
  .pf-c-accordion {
7536
7567
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
7537
7568
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -7777,37 +7808,6 @@ svg.pf-c-spinner.pf-m-xl {
7777
7808
  --pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
7778
7809
  }
7779
7810
 
7780
- .pf-c-action-list {
7781
- --pf-c-action-list--m-icon--spacer: 0;
7782
- --pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
7783
- --pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
7784
- }
7785
-
7786
- .pf-c-action-list,
7787
- .pf-c-action-list__group {
7788
- --pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
7789
- --pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
7790
- display: flex;
7791
- align-items: center;
7792
- }
7793
-
7794
- .pf-c-action-list > * + *,
7795
- .pf-c-action-list__group > * + * {
7796
- margin-left: var(--pf-c-action-list--child--spacer);
7797
- }
7798
-
7799
- .pf-c-action-list > * + .pf-c-action-list__group,
7800
- .pf-c-action-list .pf-c-action-list__group + *,
7801
- .pf-c-action-list__group > * + .pf-c-action-list__group,
7802
- .pf-c-action-list__group .pf-c-action-list__group + * {
7803
- margin-left: var(--pf-c-action-list--group--spacer);
7804
- }
7805
-
7806
- .pf-c-action-list.pf-m-icons,
7807
- .pf-c-action-list__group.pf-m-icons {
7808
- --pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
7809
- }
7810
-
7811
7811
  .pf-c-alert {
7812
7812
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
7813
7813
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -9734,118 +9734,6 @@ button.pf-c-breadcrumb__link {
9734
9734
  --pf-c-card--m-selectable-raised--active--BoxShadow: var(--pf-global--BoxShadow--lg);
9735
9735
  }
9736
9736
 
9737
- .pf-c-chip {
9738
- --pf-global--Color--100: var(--pf-global--Color--dark-100);
9739
- --pf-global--Color--200: var(--pf-global--Color--dark-200);
9740
- --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
9741
- --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
9742
- --pf-global--link--Color: var(--pf-global--link--Color--dark);
9743
- --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
9744
- --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
9745
- }
9746
-
9747
- .pf-c-chip {
9748
- --pf-c-chip--PaddingTop: var(--pf-global--spacer--xs);
9749
- --pf-c-chip--PaddingRight: var(--pf-global--spacer--sm);
9750
- --pf-c-chip--PaddingBottom: var(--pf-global--spacer--xs);
9751
- --pf-c-chip--PaddingLeft: var(--pf-global--spacer--sm);
9752
- --pf-c-chip--BackgroundColor: var(--pf-global--Color--light-100);
9753
- --pf-c-chip--BorderRadius: var(--pf-global--BorderRadius--sm);
9754
- --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--300);
9755
- --pf-c-chip--before--BorderWidth: var(--pf-global--BorderWidth--sm);
9756
- --pf-c-chip--before--BorderRadius: var(--pf-c-chip--BorderRadius);
9757
- --pf-c-chip--m-overflow__text--Color: var(--pf-global--primary-color--100);
9758
- --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--BackgroundColor--200);
9759
- --pf-c-chip--m-draggable--BoxShadow: var(--pf-global--BoxShadow--sm);
9760
- --pf-c-chip--m-draggable__icon--FontSize: var(--pf-global--icon--FontSize--sm);
9761
- --pf-c-chip__text--FontSize: var(--pf-global--FontSize--xs);
9762
- --pf-c-chip__text--Color: var(--pf-global--Color--100);
9763
- --pf-c-chip__text--MaxWidth: 16ch;
9764
- --pf-c-chip__c-button--PaddingTop: var(--pf-global--spacer--xs);
9765
- --pf-c-chip__c-button--PaddingRight: var(--pf-global--spacer--sm);
9766
- --pf-c-chip__c-button--PaddingBottom: var(--pf-global--spacer--xs);
9767
- --pf-c-chip__c-button--PaddingLeft: var(--pf-global--spacer--sm);
9768
- --pf-c-chip__c-button--MarginTop: calc(var(--pf-c-chip--PaddingTop) * -1);
9769
- --pf-c-chip__c-button--MarginRight: calc(var(--pf-c-chip--PaddingRight) / 2 * -1);
9770
- --pf-c-chip__c-button--MarginBottom: calc(var(--pf-c-chip--PaddingBottom) * -1);
9771
- --pf-c-chip__c-button--FontSize: var(--pf-global--FontSize--xs);
9772
- --pf-c-chip__c-badge--MarginLeft: var(--pf-global--spacer--xs);
9773
- --pf-c-chip__icon--MarginLeft: var(--pf-global--spacer--sm);
9774
- color: var(--pf-global--Color--100);
9775
- position: relative;
9776
- display: inline-flex;
9777
- align-items: center;
9778
- min-width: 0;
9779
- padding: var(--pf-c-chip--PaddingTop) var(--pf-c-chip--PaddingRight) var(--pf-c-chip--PaddingBottom) var(--pf-c-chip--PaddingLeft);
9780
- list-style: none;
9781
- background-color: var(--pf-c-chip--BackgroundColor);
9782
- border-radius: var(--pf-c-chip--BorderRadius);
9783
- }
9784
-
9785
- .pf-c-chip::before {
9786
- position: absolute;
9787
- top: 0;
9788
- right: 0;
9789
- bottom: 0;
9790
- left: 0;
9791
- content: "";
9792
- border: var(--pf-c-chip--before--BorderWidth) solid var(--pf-c-chip--before--BorderColor);
9793
- border-radius: var(--pf-c-chip--before--BorderRadius);
9794
- }
9795
-
9796
- .pf-c-chip.pf-m-overflow {
9797
- border: 0;
9798
- }
9799
-
9800
- .pf-c-chip.pf-m-overflow .pf-c-chip__text {
9801
- color: var(--pf-c-chip--m-overflow__text--Color);
9802
- }
9803
-
9804
- .pf-c-chip.pf-m-draggable {
9805
- --pf-c-chip--BackgroundColor: var(--pf-c-chip--m-draggable--BackgroundColor);
9806
- box-shadow: var(--pf-c-chip--m-draggable--BoxShadow);
9807
- }
9808
-
9809
- .pf-c-chip.pf-m-draggable .pf-c-chip__icon {
9810
- font-size: var(--pf-c-chip--m-draggable__icon--FontSize);
9811
- }
9812
-
9813
- .pf-c-chip .pf-c-button {
9814
- --pf-c-button--PaddingTop: var(--pf-c-chip__c-button--PaddingTop);
9815
- --pf-c-button--PaddingRight: var(--pf-c-chip__c-button--PaddingRight);
9816
- --pf-c-button--PaddingBottom: var(--pf-c-chip__c-button--PaddingBottom);
9817
- --pf-c-button--PaddingLeft: var(--pf-c-chip__c-button--PaddingLeft);
9818
- --pf-c-button--FontSize: var(--pf-c-chip__c-button--FontSize);
9819
- margin-top: var(--pf-c-chip__c-button--MarginTop);
9820
- margin-right: var(--pf-c-chip__c-button--MarginRight);
9821
- margin-bottom: var(--pf-c-chip__c-button--MarginBottom);
9822
- }
9823
-
9824
- .pf-c-chip .pf-c-badge {
9825
- margin-left: var(--pf-c-chip__c-badge--MarginLeft);
9826
- }
9827
-
9828
- .pf-c-chip__text {
9829
- overflow: hidden;
9830
- text-overflow: ellipsis;
9831
- white-space: nowrap;
9832
- position: relative;
9833
- max-width: var(--pf-c-chip__text--MaxWidth);
9834
- font-size: var(--pf-c-chip__text--FontSize);
9835
- color: var(--pf-c-chip__text--Color);
9836
- }
9837
-
9838
- .pf-c-chip__icon + .pf-c-chip__text,
9839
- .pf-c-chip__text + .pf-c-chip__icon {
9840
- margin-left: var(--pf-c-chip__icon--MarginLeft);
9841
- }
9842
-
9843
- :where(.pf-theme-dark) .pf-c-chip {
9844
- --pf-c-chip--BackgroundColor: var(--pf-global--BackgroundColor--100);
9845
- --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--100);
9846
- --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--palette--black-600);
9847
- }
9848
-
9849
9737
  .pf-c-chip-group {
9850
9738
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
9851
9739
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -10039,6 +9927,118 @@ button.pf-c-breadcrumb__link {
10039
9927
  border: 0;
10040
9928
  }
10041
9929
 
9930
+ .pf-c-chip {
9931
+ --pf-global--Color--100: var(--pf-global--Color--dark-100);
9932
+ --pf-global--Color--200: var(--pf-global--Color--dark-200);
9933
+ --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
9934
+ --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
9935
+ --pf-global--link--Color: var(--pf-global--link--Color--dark);
9936
+ --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
9937
+ --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
9938
+ }
9939
+
9940
+ .pf-c-chip {
9941
+ --pf-c-chip--PaddingTop: var(--pf-global--spacer--xs);
9942
+ --pf-c-chip--PaddingRight: var(--pf-global--spacer--sm);
9943
+ --pf-c-chip--PaddingBottom: var(--pf-global--spacer--xs);
9944
+ --pf-c-chip--PaddingLeft: var(--pf-global--spacer--sm);
9945
+ --pf-c-chip--BackgroundColor: var(--pf-global--Color--light-100);
9946
+ --pf-c-chip--BorderRadius: var(--pf-global--BorderRadius--sm);
9947
+ --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--300);
9948
+ --pf-c-chip--before--BorderWidth: var(--pf-global--BorderWidth--sm);
9949
+ --pf-c-chip--before--BorderRadius: var(--pf-c-chip--BorderRadius);
9950
+ --pf-c-chip--m-overflow__text--Color: var(--pf-global--primary-color--100);
9951
+ --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--BackgroundColor--200);
9952
+ --pf-c-chip--m-draggable--BoxShadow: var(--pf-global--BoxShadow--sm);
9953
+ --pf-c-chip--m-draggable__icon--FontSize: var(--pf-global--icon--FontSize--sm);
9954
+ --pf-c-chip__text--FontSize: var(--pf-global--FontSize--xs);
9955
+ --pf-c-chip__text--Color: var(--pf-global--Color--100);
9956
+ --pf-c-chip__text--MaxWidth: 16ch;
9957
+ --pf-c-chip__c-button--PaddingTop: var(--pf-global--spacer--xs);
9958
+ --pf-c-chip__c-button--PaddingRight: var(--pf-global--spacer--sm);
9959
+ --pf-c-chip__c-button--PaddingBottom: var(--pf-global--spacer--xs);
9960
+ --pf-c-chip__c-button--PaddingLeft: var(--pf-global--spacer--sm);
9961
+ --pf-c-chip__c-button--MarginTop: calc(var(--pf-c-chip--PaddingTop) * -1);
9962
+ --pf-c-chip__c-button--MarginRight: calc(var(--pf-c-chip--PaddingRight) / 2 * -1);
9963
+ --pf-c-chip__c-button--MarginBottom: calc(var(--pf-c-chip--PaddingBottom) * -1);
9964
+ --pf-c-chip__c-button--FontSize: var(--pf-global--FontSize--xs);
9965
+ --pf-c-chip__c-badge--MarginLeft: var(--pf-global--spacer--xs);
9966
+ --pf-c-chip__icon--MarginLeft: var(--pf-global--spacer--sm);
9967
+ color: var(--pf-global--Color--100);
9968
+ position: relative;
9969
+ display: inline-flex;
9970
+ align-items: center;
9971
+ min-width: 0;
9972
+ padding: var(--pf-c-chip--PaddingTop) var(--pf-c-chip--PaddingRight) var(--pf-c-chip--PaddingBottom) var(--pf-c-chip--PaddingLeft);
9973
+ list-style: none;
9974
+ background-color: var(--pf-c-chip--BackgroundColor);
9975
+ border-radius: var(--pf-c-chip--BorderRadius);
9976
+ }
9977
+
9978
+ .pf-c-chip::before {
9979
+ position: absolute;
9980
+ top: 0;
9981
+ right: 0;
9982
+ bottom: 0;
9983
+ left: 0;
9984
+ content: "";
9985
+ border: var(--pf-c-chip--before--BorderWidth) solid var(--pf-c-chip--before--BorderColor);
9986
+ border-radius: var(--pf-c-chip--before--BorderRadius);
9987
+ }
9988
+
9989
+ .pf-c-chip.pf-m-overflow {
9990
+ border: 0;
9991
+ }
9992
+
9993
+ .pf-c-chip.pf-m-overflow .pf-c-chip__text {
9994
+ color: var(--pf-c-chip--m-overflow__text--Color);
9995
+ }
9996
+
9997
+ .pf-c-chip.pf-m-draggable {
9998
+ --pf-c-chip--BackgroundColor: var(--pf-c-chip--m-draggable--BackgroundColor);
9999
+ box-shadow: var(--pf-c-chip--m-draggable--BoxShadow);
10000
+ }
10001
+
10002
+ .pf-c-chip.pf-m-draggable .pf-c-chip__icon {
10003
+ font-size: var(--pf-c-chip--m-draggable__icon--FontSize);
10004
+ }
10005
+
10006
+ .pf-c-chip .pf-c-button {
10007
+ --pf-c-button--PaddingTop: var(--pf-c-chip__c-button--PaddingTop);
10008
+ --pf-c-button--PaddingRight: var(--pf-c-chip__c-button--PaddingRight);
10009
+ --pf-c-button--PaddingBottom: var(--pf-c-chip__c-button--PaddingBottom);
10010
+ --pf-c-button--PaddingLeft: var(--pf-c-chip__c-button--PaddingLeft);
10011
+ --pf-c-button--FontSize: var(--pf-c-chip__c-button--FontSize);
10012
+ margin-top: var(--pf-c-chip__c-button--MarginTop);
10013
+ margin-right: var(--pf-c-chip__c-button--MarginRight);
10014
+ margin-bottom: var(--pf-c-chip__c-button--MarginBottom);
10015
+ }
10016
+
10017
+ .pf-c-chip .pf-c-badge {
10018
+ margin-left: var(--pf-c-chip__c-badge--MarginLeft);
10019
+ }
10020
+
10021
+ .pf-c-chip__text {
10022
+ overflow: hidden;
10023
+ text-overflow: ellipsis;
10024
+ white-space: nowrap;
10025
+ position: relative;
10026
+ max-width: var(--pf-c-chip__text--MaxWidth);
10027
+ font-size: var(--pf-c-chip__text--FontSize);
10028
+ color: var(--pf-c-chip__text--Color);
10029
+ }
10030
+
10031
+ .pf-c-chip__icon + .pf-c-chip__text,
10032
+ .pf-c-chip__text + .pf-c-chip__icon {
10033
+ margin-left: var(--pf-c-chip__icon--MarginLeft);
10034
+ }
10035
+
10036
+ :where(.pf-theme-dark) .pf-c-chip {
10037
+ --pf-c-chip--BackgroundColor: var(--pf-global--BackgroundColor--100);
10038
+ --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--100);
10039
+ --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--palette--black-600);
10040
+ }
10041
+
10042
10042
  .pf-c-code-block {
10043
10043
  --pf-c-code-block--BackgroundColor: var(--pf-global--BackgroundColor--200);
10044
10044
  --pf-c-code-block__header--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "4.111.46",
3
+ "version": "4.111.47",
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",
@@ -46,5 +46,5 @@
46
46
  "react": "^16.8 || ^17 || ^18",
47
47
  "react-dom": "^16.8 || ^17 || ^18"
48
48
  },
49
- "gitHead": "3c9dd17f7327ffafa0b9751074b188ea19eaeee6"
49
+ "gitHead": "98282a4a9d57d9716098654a31b771d74789d4bc"
50
50
  }
@@ -65,7 +65,7 @@ export const ComposableTableMisc: React.FunctionComponent = () => {
65
65
  {repositories.map((repo, rowIndex) => {
66
66
  const isOddRow = (rowIndex + 1) % 2;
67
67
  const customStyle = {
68
- borderLeft: '3px solid var(--pf-global--primary-color--100)'
68
+ backgroundColor: 'var(--pf-global--palette--blue-50)'
69
69
  };
70
70
  // Some arbitrary logic to demonstrate that cell styles can be based on anything
71
71
  const nameColSpan = repo.branches === null && repo.prs === null ? 3 : 1;