@patternfly/react-table 4.83.1 → 4.83.4

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,36 @@
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.83.4 (2022-05-18)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **Table:** Removed duplicate import from md file ([#7442](https://github.com/patternfly/patternfly-react/issues/7442)) ([00438a7](https://github.com/patternfly/patternfly-react/commit/00438a73c7b2548c4f0ad00ed09f9c60f99978d9))
12
+
13
+
14
+
15
+
16
+
17
+ ## 4.83.3 (2022-05-16)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **Chip:** add custom maxWidth prop ([#7387](https://github.com/patternfly/patternfly-react/issues/7387)) ([7cfb1a2](https://github.com/patternfly/patternfly-react/commit/7cfb1a202c2f1405c454b2e10716d9a500d4508f))
23
+
24
+
25
+
26
+
27
+
28
+ ## 4.83.2 (2022-05-13)
29
+
30
+ **Note:** Version bump only for package @patternfly/react-table
31
+
32
+
33
+
34
+
35
+
6
36
  ## 4.83.1 (2022-05-12)
7
37
 
8
38
 
@@ -7202,23 +7202,6 @@ svg.pf-c-spinner.pf-m-xl {
7202
7202
  transform: rotate(720deg);
7203
7203
  }
7204
7204
  }
7205
- .pf-c-backdrop {
7206
- --pf-c-backdrop--Position: fixed;
7207
- --pf-c-backdrop--ZIndex: var(--pf-global--ZIndex--lg);
7208
- --pf-c-backdrop--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);
7209
- position: var(--pf-c-backdrop--Position);
7210
- top: 0;
7211
- left: 0;
7212
- z-index: var(--pf-c-backdrop--ZIndex);
7213
- width: 100%;
7214
- height: 100%;
7215
- background-color: var(--pf-c-backdrop--BackgroundColor);
7216
- }
7217
-
7218
- .pf-c-backdrop__open {
7219
- overflow: hidden;
7220
- }
7221
-
7222
7205
  .pf-c-accordion {
7223
7206
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
7224
7207
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -7707,153 +7690,6 @@ svg.pf-c-spinner.pf-m-xl {
7707
7690
  --pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
7708
7691
  }
7709
7692
 
7710
- .pf-u-screen-reader {
7711
- position: fixed;
7712
- top: 0;
7713
- left: 0;
7714
- overflow: hidden;
7715
- clip: rect(0, 0, 0, 0);
7716
- white-space: nowrap;
7717
- border: 0;
7718
- }
7719
-
7720
- .pf-u-visible {
7721
- position: static;
7722
- overflow: visible;
7723
- clip: auto;
7724
- white-space: normal;
7725
- border: inherit;
7726
- }
7727
-
7728
- .pf-u-hidden {
7729
- display: none !important;
7730
- }
7731
-
7732
- @media screen and (min-width: 576px) {
7733
- .pf-u-screen-reader-on-sm {
7734
- position: fixed;
7735
- top: 0;
7736
- left: 0;
7737
- overflow: hidden;
7738
- clip: rect(0, 0, 0, 0);
7739
- white-space: nowrap;
7740
- border: 0;
7741
- }
7742
- }
7743
- @media screen and (min-width: 576px) {
7744
- .pf-u-visible-on-sm {
7745
- position: static;
7746
- overflow: visible;
7747
- clip: auto;
7748
- white-space: normal;
7749
- border: inherit;
7750
- }
7751
- }
7752
- @media screen and (min-width: 576px) {
7753
- .pf-u-hidden-on-sm {
7754
- display: none !important;
7755
- }
7756
- }
7757
- @media screen and (min-width: 768px) {
7758
- .pf-u-screen-reader-on-md {
7759
- position: fixed;
7760
- top: 0;
7761
- left: 0;
7762
- overflow: hidden;
7763
- clip: rect(0, 0, 0, 0);
7764
- white-space: nowrap;
7765
- border: 0;
7766
- }
7767
- }
7768
- @media screen and (min-width: 768px) {
7769
- .pf-u-visible-on-md {
7770
- position: static;
7771
- overflow: visible;
7772
- clip: auto;
7773
- white-space: normal;
7774
- border: inherit;
7775
- }
7776
- }
7777
- @media screen and (min-width: 768px) {
7778
- .pf-u-hidden-on-md {
7779
- display: none !important;
7780
- }
7781
- }
7782
- @media screen and (min-width: 992px) {
7783
- .pf-u-screen-reader-on-lg {
7784
- position: fixed;
7785
- top: 0;
7786
- left: 0;
7787
- overflow: hidden;
7788
- clip: rect(0, 0, 0, 0);
7789
- white-space: nowrap;
7790
- border: 0;
7791
- }
7792
- }
7793
- @media screen and (min-width: 992px) {
7794
- .pf-u-visible-on-lg {
7795
- position: static;
7796
- overflow: visible;
7797
- clip: auto;
7798
- white-space: normal;
7799
- border: inherit;
7800
- }
7801
- }
7802
- @media screen and (min-width: 992px) {
7803
- .pf-u-hidden-on-lg {
7804
- display: none !important;
7805
- }
7806
- }
7807
- @media screen and (min-width: 1200px) {
7808
- .pf-u-screen-reader-on-xl {
7809
- position: fixed;
7810
- top: 0;
7811
- left: 0;
7812
- overflow: hidden;
7813
- clip: rect(0, 0, 0, 0);
7814
- white-space: nowrap;
7815
- border: 0;
7816
- }
7817
- }
7818
- @media screen and (min-width: 1200px) {
7819
- .pf-u-visible-on-xl {
7820
- position: static;
7821
- overflow: visible;
7822
- clip: auto;
7823
- white-space: normal;
7824
- border: inherit;
7825
- }
7826
- }
7827
- @media screen and (min-width: 1200px) {
7828
- .pf-u-hidden-on-xl {
7829
- display: none !important;
7830
- }
7831
- }
7832
- @media screen and (min-width: 1450px) {
7833
- .pf-u-screen-reader-on-2xl {
7834
- position: fixed;
7835
- top: 0;
7836
- left: 0;
7837
- overflow: hidden;
7838
- clip: rect(0, 0, 0, 0);
7839
- white-space: nowrap;
7840
- border: 0;
7841
- }
7842
- }
7843
- @media screen and (min-width: 1450px) {
7844
- .pf-u-visible-on-2xl {
7845
- position: static;
7846
- overflow: visible;
7847
- clip: auto;
7848
- white-space: normal;
7849
- border: inherit;
7850
- }
7851
- }
7852
- @media screen and (min-width: 1450px) {
7853
- .pf-u-hidden-on-2xl {
7854
- display: none !important;
7855
- }
7856
- }
7857
7693
  .pf-c-app-launcher {
7858
7694
  --pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
7859
7695
  --pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
@@ -8083,6 +7919,153 @@ svg.pf-c-spinner.pf-m-xl {
8083
7919
  color: var(--pf-c-app-launcher__group-title--Color);
8084
7920
  }
8085
7921
 
7922
+ .pf-u-screen-reader {
7923
+ position: fixed;
7924
+ top: 0;
7925
+ left: 0;
7926
+ overflow: hidden;
7927
+ clip: rect(0, 0, 0, 0);
7928
+ white-space: nowrap;
7929
+ border: 0;
7930
+ }
7931
+
7932
+ .pf-u-visible {
7933
+ position: static;
7934
+ overflow: visible;
7935
+ clip: auto;
7936
+ white-space: normal;
7937
+ border: inherit;
7938
+ }
7939
+
7940
+ .pf-u-hidden {
7941
+ display: none !important;
7942
+ }
7943
+
7944
+ @media screen and (min-width: 576px) {
7945
+ .pf-u-screen-reader-on-sm {
7946
+ position: fixed;
7947
+ top: 0;
7948
+ left: 0;
7949
+ overflow: hidden;
7950
+ clip: rect(0, 0, 0, 0);
7951
+ white-space: nowrap;
7952
+ border: 0;
7953
+ }
7954
+ }
7955
+ @media screen and (min-width: 576px) {
7956
+ .pf-u-visible-on-sm {
7957
+ position: static;
7958
+ overflow: visible;
7959
+ clip: auto;
7960
+ white-space: normal;
7961
+ border: inherit;
7962
+ }
7963
+ }
7964
+ @media screen and (min-width: 576px) {
7965
+ .pf-u-hidden-on-sm {
7966
+ display: none !important;
7967
+ }
7968
+ }
7969
+ @media screen and (min-width: 768px) {
7970
+ .pf-u-screen-reader-on-md {
7971
+ position: fixed;
7972
+ top: 0;
7973
+ left: 0;
7974
+ overflow: hidden;
7975
+ clip: rect(0, 0, 0, 0);
7976
+ white-space: nowrap;
7977
+ border: 0;
7978
+ }
7979
+ }
7980
+ @media screen and (min-width: 768px) {
7981
+ .pf-u-visible-on-md {
7982
+ position: static;
7983
+ overflow: visible;
7984
+ clip: auto;
7985
+ white-space: normal;
7986
+ border: inherit;
7987
+ }
7988
+ }
7989
+ @media screen and (min-width: 768px) {
7990
+ .pf-u-hidden-on-md {
7991
+ display: none !important;
7992
+ }
7993
+ }
7994
+ @media screen and (min-width: 992px) {
7995
+ .pf-u-screen-reader-on-lg {
7996
+ position: fixed;
7997
+ top: 0;
7998
+ left: 0;
7999
+ overflow: hidden;
8000
+ clip: rect(0, 0, 0, 0);
8001
+ white-space: nowrap;
8002
+ border: 0;
8003
+ }
8004
+ }
8005
+ @media screen and (min-width: 992px) {
8006
+ .pf-u-visible-on-lg {
8007
+ position: static;
8008
+ overflow: visible;
8009
+ clip: auto;
8010
+ white-space: normal;
8011
+ border: inherit;
8012
+ }
8013
+ }
8014
+ @media screen and (min-width: 992px) {
8015
+ .pf-u-hidden-on-lg {
8016
+ display: none !important;
8017
+ }
8018
+ }
8019
+ @media screen and (min-width: 1200px) {
8020
+ .pf-u-screen-reader-on-xl {
8021
+ position: fixed;
8022
+ top: 0;
8023
+ left: 0;
8024
+ overflow: hidden;
8025
+ clip: rect(0, 0, 0, 0);
8026
+ white-space: nowrap;
8027
+ border: 0;
8028
+ }
8029
+ }
8030
+ @media screen and (min-width: 1200px) {
8031
+ .pf-u-visible-on-xl {
8032
+ position: static;
8033
+ overflow: visible;
8034
+ clip: auto;
8035
+ white-space: normal;
8036
+ border: inherit;
8037
+ }
8038
+ }
8039
+ @media screen and (min-width: 1200px) {
8040
+ .pf-u-hidden-on-xl {
8041
+ display: none !important;
8042
+ }
8043
+ }
8044
+ @media screen and (min-width: 1450px) {
8045
+ .pf-u-screen-reader-on-2xl {
8046
+ position: fixed;
8047
+ top: 0;
8048
+ left: 0;
8049
+ overflow: hidden;
8050
+ clip: rect(0, 0, 0, 0);
8051
+ white-space: nowrap;
8052
+ border: 0;
8053
+ }
8054
+ }
8055
+ @media screen and (min-width: 1450px) {
8056
+ .pf-u-visible-on-2xl {
8057
+ position: static;
8058
+ overflow: visible;
8059
+ clip: auto;
8060
+ white-space: normal;
8061
+ border: inherit;
8062
+ }
8063
+ }
8064
+ @media screen and (min-width: 1450px) {
8065
+ .pf-u-hidden-on-2xl {
8066
+ display: none !important;
8067
+ }
8068
+ }
8086
8069
  .pf-c-avatar {
8087
8070
  --pf-c-avatar--BorderColor: transparent;
8088
8071
  --pf-c-avatar--BorderWidth: 0;
@@ -8372,6 +8355,23 @@ svg.pf-c-spinner.pf-m-xl {
8372
8355
  box-shadow: var(--pf-c-back-to-top--c-button--BoxShadow);
8373
8356
  }
8374
8357
 
8358
+ .pf-c-backdrop {
8359
+ --pf-c-backdrop--Position: fixed;
8360
+ --pf-c-backdrop--ZIndex: var(--pf-global--ZIndex--lg);
8361
+ --pf-c-backdrop--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-100);
8362
+ position: var(--pf-c-backdrop--Position);
8363
+ top: 0;
8364
+ left: 0;
8365
+ z-index: var(--pf-c-backdrop--ZIndex);
8366
+ width: 100%;
8367
+ height: 100%;
8368
+ background-color: var(--pf-c-backdrop--BackgroundColor);
8369
+ }
8370
+
8371
+ .pf-c-backdrop__open {
8372
+ overflow: hidden;
8373
+ }
8374
+
8375
8375
  .pf-c-background-image {
8376
8376
  --pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
8377
8377
  --pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg_576.jpg");
@@ -5484,10 +5484,13 @@
5484
5484
  constructor(props) {
5485
5485
  super(props);
5486
5486
  this.span = React__namespace.createRef();
5487
+ this.setChipStyle = () => ({
5488
+ '--pf-c-chip__text--MaxWidth': this.props.textMaxWidth
5489
+ });
5487
5490
  this.renderOverflowChip = () => {
5488
5491
  const { children, className, onClick, ouiaId } = this.props;
5489
5492
  const Component = this.props.component;
5490
- return (React__namespace.createElement(Component, Object.assign({ onClick: onClick, className: css(styles$4.chip, styles$4.modifiers.overflow, className) }, (this.props.component === 'button' ? { type: 'button' } : {}), getOUIAProps('OverflowChip', ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5493
+ return (React__namespace.createElement(Component, Object.assign({ onClick: onClick }, (this.props.textMaxWidth && Object.assign({ style: this.setChipStyle() }, this.props.style)), { className: css(styles$4.chip, styles$4.modifiers.overflow, className) }, (this.props.component === 'button' ? { type: 'button' } : {}), getOUIAProps('OverflowChip', ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5491
5494
  React__namespace.createElement("span", { className: css(styles$4.chipText) }, children)));
5492
5495
  };
5493
5496
  this.renderChip = (randomId) => {
@@ -5510,7 +5513,9 @@
5510
5513
  renderInnerChip(id) {
5511
5514
  const { children, className, onClick, closeBtnAriaLabel, isReadOnly, component, ouiaId } = this.props;
5512
5515
  const Component = component;
5513
- return (React__namespace.createElement(Component, Object.assign({ className: css(styles$4.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5516
+ return (React__namespace.createElement(Component, Object.assign({}, (this.props.textMaxWidth && {
5517
+ style: this.setChipStyle()
5518
+ }), { className: css(styles$4.chip, className) }, (this.state.isTooltipVisible && { tabIndex: 0 }), getOUIAProps(Chip.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId)),
5514
5519
  React__namespace.createElement("span", { ref: this.span, className: css(styles$4.chipText), id: id }, children),
5515
5520
  !isReadOnly && (React__namespace.createElement(Button, { onClick: onClick, variant: "plain", "aria-label": closeBtnAriaLabel, id: `remove_${id}`, "aria-labelledby": `remove_${id} ${id}`, ouiaId: ouiaId || closeBtnAriaLabel },
5516
5521
  React__namespace.createElement(TimesIcon$1, { "aria-hidden": "true" })))));