@patternfly/react-table 4.94.9 → 4.95.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.
- package/CHANGELOG.md +30 -0
- package/dist/umd/react-table.css +157 -157
- package/dist/umd/react-table.js +23 -25
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
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.95.0 (2022-07-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **topology:** Pipelines support for badges/icons variable task node width ([#7697](https://github.com/patternfly/patternfly-react/issues/7697)) ([a499273](https://github.com/patternfly/patternfly-react/commit/a49927315cd61e84a007d05b49e5d7254b977fcb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.94.11 (2022-07-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **Select:** remove variant check from update logic ([#7741](https://github.com/patternfly/patternfly-react/issues/7741)) ([2204cb6](https://github.com/patternfly/patternfly-react/commit/2204cb62e30b4a37b82731f1380e79a3085828ef))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## 4.94.10 (2022-07-25)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## 4.94.9 (2022-07-21)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -7930,6 +7930,153 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
7930
7930
|
--pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--black-600);
|
|
7931
7931
|
}
|
|
7932
7932
|
|
|
7933
|
+
.pf-u-screen-reader {
|
|
7934
|
+
position: fixed;
|
|
7935
|
+
top: 0;
|
|
7936
|
+
left: 0;
|
|
7937
|
+
overflow: hidden;
|
|
7938
|
+
clip: rect(0, 0, 0, 0);
|
|
7939
|
+
white-space: nowrap;
|
|
7940
|
+
border: 0;
|
|
7941
|
+
}
|
|
7942
|
+
|
|
7943
|
+
.pf-u-visible {
|
|
7944
|
+
position: static;
|
|
7945
|
+
overflow: visible;
|
|
7946
|
+
clip: auto;
|
|
7947
|
+
white-space: normal;
|
|
7948
|
+
border: inherit;
|
|
7949
|
+
}
|
|
7950
|
+
|
|
7951
|
+
.pf-u-hidden {
|
|
7952
|
+
display: none !important;
|
|
7953
|
+
}
|
|
7954
|
+
|
|
7955
|
+
@media screen and (min-width: 576px) {
|
|
7956
|
+
.pf-u-screen-reader-on-sm {
|
|
7957
|
+
position: fixed;
|
|
7958
|
+
top: 0;
|
|
7959
|
+
left: 0;
|
|
7960
|
+
overflow: hidden;
|
|
7961
|
+
clip: rect(0, 0, 0, 0);
|
|
7962
|
+
white-space: nowrap;
|
|
7963
|
+
border: 0;
|
|
7964
|
+
}
|
|
7965
|
+
}
|
|
7966
|
+
@media screen and (min-width: 576px) {
|
|
7967
|
+
.pf-u-visible-on-sm {
|
|
7968
|
+
position: static;
|
|
7969
|
+
overflow: visible;
|
|
7970
|
+
clip: auto;
|
|
7971
|
+
white-space: normal;
|
|
7972
|
+
border: inherit;
|
|
7973
|
+
}
|
|
7974
|
+
}
|
|
7975
|
+
@media screen and (min-width: 576px) {
|
|
7976
|
+
.pf-u-hidden-on-sm {
|
|
7977
|
+
display: none !important;
|
|
7978
|
+
}
|
|
7979
|
+
}
|
|
7980
|
+
@media screen and (min-width: 768px) {
|
|
7981
|
+
.pf-u-screen-reader-on-md {
|
|
7982
|
+
position: fixed;
|
|
7983
|
+
top: 0;
|
|
7984
|
+
left: 0;
|
|
7985
|
+
overflow: hidden;
|
|
7986
|
+
clip: rect(0, 0, 0, 0);
|
|
7987
|
+
white-space: nowrap;
|
|
7988
|
+
border: 0;
|
|
7989
|
+
}
|
|
7990
|
+
}
|
|
7991
|
+
@media screen and (min-width: 768px) {
|
|
7992
|
+
.pf-u-visible-on-md {
|
|
7993
|
+
position: static;
|
|
7994
|
+
overflow: visible;
|
|
7995
|
+
clip: auto;
|
|
7996
|
+
white-space: normal;
|
|
7997
|
+
border: inherit;
|
|
7998
|
+
}
|
|
7999
|
+
}
|
|
8000
|
+
@media screen and (min-width: 768px) {
|
|
8001
|
+
.pf-u-hidden-on-md {
|
|
8002
|
+
display: none !important;
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
8005
|
+
@media screen and (min-width: 992px) {
|
|
8006
|
+
.pf-u-screen-reader-on-lg {
|
|
8007
|
+
position: fixed;
|
|
8008
|
+
top: 0;
|
|
8009
|
+
left: 0;
|
|
8010
|
+
overflow: hidden;
|
|
8011
|
+
clip: rect(0, 0, 0, 0);
|
|
8012
|
+
white-space: nowrap;
|
|
8013
|
+
border: 0;
|
|
8014
|
+
}
|
|
8015
|
+
}
|
|
8016
|
+
@media screen and (min-width: 992px) {
|
|
8017
|
+
.pf-u-visible-on-lg {
|
|
8018
|
+
position: static;
|
|
8019
|
+
overflow: visible;
|
|
8020
|
+
clip: auto;
|
|
8021
|
+
white-space: normal;
|
|
8022
|
+
border: inherit;
|
|
8023
|
+
}
|
|
8024
|
+
}
|
|
8025
|
+
@media screen and (min-width: 992px) {
|
|
8026
|
+
.pf-u-hidden-on-lg {
|
|
8027
|
+
display: none !important;
|
|
8028
|
+
}
|
|
8029
|
+
}
|
|
8030
|
+
@media screen and (min-width: 1200px) {
|
|
8031
|
+
.pf-u-screen-reader-on-xl {
|
|
8032
|
+
position: fixed;
|
|
8033
|
+
top: 0;
|
|
8034
|
+
left: 0;
|
|
8035
|
+
overflow: hidden;
|
|
8036
|
+
clip: rect(0, 0, 0, 0);
|
|
8037
|
+
white-space: nowrap;
|
|
8038
|
+
border: 0;
|
|
8039
|
+
}
|
|
8040
|
+
}
|
|
8041
|
+
@media screen and (min-width: 1200px) {
|
|
8042
|
+
.pf-u-visible-on-xl {
|
|
8043
|
+
position: static;
|
|
8044
|
+
overflow: visible;
|
|
8045
|
+
clip: auto;
|
|
8046
|
+
white-space: normal;
|
|
8047
|
+
border: inherit;
|
|
8048
|
+
}
|
|
8049
|
+
}
|
|
8050
|
+
@media screen and (min-width: 1200px) {
|
|
8051
|
+
.pf-u-hidden-on-xl {
|
|
8052
|
+
display: none !important;
|
|
8053
|
+
}
|
|
8054
|
+
}
|
|
8055
|
+
@media screen and (min-width: 1450px) {
|
|
8056
|
+
.pf-u-screen-reader-on-2xl {
|
|
8057
|
+
position: fixed;
|
|
8058
|
+
top: 0;
|
|
8059
|
+
left: 0;
|
|
8060
|
+
overflow: hidden;
|
|
8061
|
+
clip: rect(0, 0, 0, 0);
|
|
8062
|
+
white-space: nowrap;
|
|
8063
|
+
border: 0;
|
|
8064
|
+
}
|
|
8065
|
+
}
|
|
8066
|
+
@media screen and (min-width: 1450px) {
|
|
8067
|
+
.pf-u-visible-on-2xl {
|
|
8068
|
+
position: static;
|
|
8069
|
+
overflow: visible;
|
|
8070
|
+
clip: auto;
|
|
8071
|
+
white-space: normal;
|
|
8072
|
+
border: inherit;
|
|
8073
|
+
}
|
|
8074
|
+
}
|
|
8075
|
+
@media screen and (min-width: 1450px) {
|
|
8076
|
+
.pf-u-hidden-on-2xl {
|
|
8077
|
+
display: none !important;
|
|
8078
|
+
}
|
|
8079
|
+
}
|
|
7933
8080
|
.pf-c-app-launcher {
|
|
7934
8081
|
--pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
7935
8082
|
--pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
@@ -8171,153 +8318,6 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
8171
8318
|
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
8172
8319
|
}
|
|
8173
8320
|
|
|
8174
|
-
.pf-u-screen-reader {
|
|
8175
|
-
position: fixed;
|
|
8176
|
-
top: 0;
|
|
8177
|
-
left: 0;
|
|
8178
|
-
overflow: hidden;
|
|
8179
|
-
clip: rect(0, 0, 0, 0);
|
|
8180
|
-
white-space: nowrap;
|
|
8181
|
-
border: 0;
|
|
8182
|
-
}
|
|
8183
|
-
|
|
8184
|
-
.pf-u-visible {
|
|
8185
|
-
position: static;
|
|
8186
|
-
overflow: visible;
|
|
8187
|
-
clip: auto;
|
|
8188
|
-
white-space: normal;
|
|
8189
|
-
border: inherit;
|
|
8190
|
-
}
|
|
8191
|
-
|
|
8192
|
-
.pf-u-hidden {
|
|
8193
|
-
display: none !important;
|
|
8194
|
-
}
|
|
8195
|
-
|
|
8196
|
-
@media screen and (min-width: 576px) {
|
|
8197
|
-
.pf-u-screen-reader-on-sm {
|
|
8198
|
-
position: fixed;
|
|
8199
|
-
top: 0;
|
|
8200
|
-
left: 0;
|
|
8201
|
-
overflow: hidden;
|
|
8202
|
-
clip: rect(0, 0, 0, 0);
|
|
8203
|
-
white-space: nowrap;
|
|
8204
|
-
border: 0;
|
|
8205
|
-
}
|
|
8206
|
-
}
|
|
8207
|
-
@media screen and (min-width: 576px) {
|
|
8208
|
-
.pf-u-visible-on-sm {
|
|
8209
|
-
position: static;
|
|
8210
|
-
overflow: visible;
|
|
8211
|
-
clip: auto;
|
|
8212
|
-
white-space: normal;
|
|
8213
|
-
border: inherit;
|
|
8214
|
-
}
|
|
8215
|
-
}
|
|
8216
|
-
@media screen and (min-width: 576px) {
|
|
8217
|
-
.pf-u-hidden-on-sm {
|
|
8218
|
-
display: none !important;
|
|
8219
|
-
}
|
|
8220
|
-
}
|
|
8221
|
-
@media screen and (min-width: 768px) {
|
|
8222
|
-
.pf-u-screen-reader-on-md {
|
|
8223
|
-
position: fixed;
|
|
8224
|
-
top: 0;
|
|
8225
|
-
left: 0;
|
|
8226
|
-
overflow: hidden;
|
|
8227
|
-
clip: rect(0, 0, 0, 0);
|
|
8228
|
-
white-space: nowrap;
|
|
8229
|
-
border: 0;
|
|
8230
|
-
}
|
|
8231
|
-
}
|
|
8232
|
-
@media screen and (min-width: 768px) {
|
|
8233
|
-
.pf-u-visible-on-md {
|
|
8234
|
-
position: static;
|
|
8235
|
-
overflow: visible;
|
|
8236
|
-
clip: auto;
|
|
8237
|
-
white-space: normal;
|
|
8238
|
-
border: inherit;
|
|
8239
|
-
}
|
|
8240
|
-
}
|
|
8241
|
-
@media screen and (min-width: 768px) {
|
|
8242
|
-
.pf-u-hidden-on-md {
|
|
8243
|
-
display: none !important;
|
|
8244
|
-
}
|
|
8245
|
-
}
|
|
8246
|
-
@media screen and (min-width: 992px) {
|
|
8247
|
-
.pf-u-screen-reader-on-lg {
|
|
8248
|
-
position: fixed;
|
|
8249
|
-
top: 0;
|
|
8250
|
-
left: 0;
|
|
8251
|
-
overflow: hidden;
|
|
8252
|
-
clip: rect(0, 0, 0, 0);
|
|
8253
|
-
white-space: nowrap;
|
|
8254
|
-
border: 0;
|
|
8255
|
-
}
|
|
8256
|
-
}
|
|
8257
|
-
@media screen and (min-width: 992px) {
|
|
8258
|
-
.pf-u-visible-on-lg {
|
|
8259
|
-
position: static;
|
|
8260
|
-
overflow: visible;
|
|
8261
|
-
clip: auto;
|
|
8262
|
-
white-space: normal;
|
|
8263
|
-
border: inherit;
|
|
8264
|
-
}
|
|
8265
|
-
}
|
|
8266
|
-
@media screen and (min-width: 992px) {
|
|
8267
|
-
.pf-u-hidden-on-lg {
|
|
8268
|
-
display: none !important;
|
|
8269
|
-
}
|
|
8270
|
-
}
|
|
8271
|
-
@media screen and (min-width: 1200px) {
|
|
8272
|
-
.pf-u-screen-reader-on-xl {
|
|
8273
|
-
position: fixed;
|
|
8274
|
-
top: 0;
|
|
8275
|
-
left: 0;
|
|
8276
|
-
overflow: hidden;
|
|
8277
|
-
clip: rect(0, 0, 0, 0);
|
|
8278
|
-
white-space: nowrap;
|
|
8279
|
-
border: 0;
|
|
8280
|
-
}
|
|
8281
|
-
}
|
|
8282
|
-
@media screen and (min-width: 1200px) {
|
|
8283
|
-
.pf-u-visible-on-xl {
|
|
8284
|
-
position: static;
|
|
8285
|
-
overflow: visible;
|
|
8286
|
-
clip: auto;
|
|
8287
|
-
white-space: normal;
|
|
8288
|
-
border: inherit;
|
|
8289
|
-
}
|
|
8290
|
-
}
|
|
8291
|
-
@media screen and (min-width: 1200px) {
|
|
8292
|
-
.pf-u-hidden-on-xl {
|
|
8293
|
-
display: none !important;
|
|
8294
|
-
}
|
|
8295
|
-
}
|
|
8296
|
-
@media screen and (min-width: 1450px) {
|
|
8297
|
-
.pf-u-screen-reader-on-2xl {
|
|
8298
|
-
position: fixed;
|
|
8299
|
-
top: 0;
|
|
8300
|
-
left: 0;
|
|
8301
|
-
overflow: hidden;
|
|
8302
|
-
clip: rect(0, 0, 0, 0);
|
|
8303
|
-
white-space: nowrap;
|
|
8304
|
-
border: 0;
|
|
8305
|
-
}
|
|
8306
|
-
}
|
|
8307
|
-
@media screen and (min-width: 1450px) {
|
|
8308
|
-
.pf-u-visible-on-2xl {
|
|
8309
|
-
position: static;
|
|
8310
|
-
overflow: visible;
|
|
8311
|
-
clip: auto;
|
|
8312
|
-
white-space: normal;
|
|
8313
|
-
border: inherit;
|
|
8314
|
-
}
|
|
8315
|
-
}
|
|
8316
|
-
@media screen and (min-width: 1450px) {
|
|
8317
|
-
.pf-u-hidden-on-2xl {
|
|
8318
|
-
display: none !important;
|
|
8319
|
-
}
|
|
8320
|
-
}
|
|
8321
8321
|
.pf-c-avatar {
|
|
8322
8322
|
--pf-c-avatar--BorderColor: transparent;
|
|
8323
8323
|
--pf-c-avatar--BorderWidth: 0;
|
|
@@ -17862,16 +17862,6 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
17862
17862
|
--pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
17863
17863
|
}
|
|
17864
17864
|
|
|
17865
|
-
.pf-l-bullseye {
|
|
17866
|
-
--pf-l-bullseye--Padding: 0;
|
|
17867
|
-
display: flex;
|
|
17868
|
-
align-items: center;
|
|
17869
|
-
justify-content: center;
|
|
17870
|
-
height: 100%;
|
|
17871
|
-
padding: var(--pf-l-bullseye--Padding);
|
|
17872
|
-
margin: 0;
|
|
17873
|
-
}
|
|
17874
|
-
|
|
17875
17865
|
.pf-c-multiple-file-upload {
|
|
17876
17866
|
--pf-c-multiple-file-upload--GridTemplateColumns: 1fr;
|
|
17877
17867
|
--pf-c-multiple-file-upload--Gap: var(--pf-global--spacer--lg);
|
|
@@ -18056,6 +18046,16 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
18056
18046
|
color: var(--pf-c-multiple-file-upload__status-item-progress-size--Color);
|
|
18057
18047
|
}
|
|
18058
18048
|
|
|
18049
|
+
.pf-l-bullseye {
|
|
18050
|
+
--pf-l-bullseye--Padding: 0;
|
|
18051
|
+
display: flex;
|
|
18052
|
+
align-items: center;
|
|
18053
|
+
justify-content: center;
|
|
18054
|
+
height: 100%;
|
|
18055
|
+
padding: var(--pf-l-bullseye--Padding);
|
|
18056
|
+
margin: 0;
|
|
18057
|
+
}
|
|
18058
|
+
|
|
18059
18059
|
.pf-c-nav {
|
|
18060
18060
|
--pf-c-nav--Transition: var(--pf-global--Transition);
|
|
18061
18061
|
--pf-c-nav--m-light__item--before--BorderColor: var(--pf-global--BorderColor--300);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -6255,32 +6255,30 @@
|
|
|
6255
6255
|
this.refCollection[this.state.viewMoreNextIndex][0].focus();
|
|
6256
6256
|
this.setState({ viewMoreNextIndex: -1 });
|
|
6257
6257
|
}
|
|
6258
|
-
|
|
6259
|
-
const
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
prevChildProps.isPlaceholder !== currChildProps.isPlaceholder);
|
|
6268
|
-
}
|
|
6269
|
-
else {
|
|
6270
|
-
return prevChild !== currChild;
|
|
6271
|
-
}
|
|
6272
|
-
});
|
|
6273
|
-
const hasUpdatedChildren = prevProps.children.length !== this.props.children.length ||
|
|
6274
|
-
checkUpdatedChildren(prevProps.children, this.props.children) ||
|
|
6275
|
-
(this.props.isGrouped &&
|
|
6276
|
-
Array.from(prevProps.children).some((prevChild, index) => prevChild.type === SelectGroup &&
|
|
6277
|
-
prevChild.props.children &&
|
|
6278
|
-
this.props.children[index].props.children &&
|
|
6279
|
-
(prevChild.props.children.length !== this.props.children[index].props.children.length ||
|
|
6280
|
-
checkUpdatedChildren(prevChild.props.children, this.props.children[index].props.children))));
|
|
6281
|
-
if (hasUpdatedChildren) {
|
|
6282
|
-
this.updateTypeAheadFilteredChildren(prevState.typeaheadInputValue || '', null);
|
|
6258
|
+
const checkUpdatedChildren = (prevChildren, currChildren) => Array.from(prevChildren).some((prevChild, index) => {
|
|
6259
|
+
const prevChildProps = prevChild.props;
|
|
6260
|
+
const currChild = currChildren[index];
|
|
6261
|
+
const { props: currChildProps } = currChild;
|
|
6262
|
+
if (prevChildProps && currChildProps) {
|
|
6263
|
+
return (prevChildProps.value !== currChildProps.value ||
|
|
6264
|
+
prevChildProps.label !== currChildProps.label ||
|
|
6265
|
+
prevChildProps.isDisabled !== currChildProps.isDisabled ||
|
|
6266
|
+
prevChildProps.isPlaceholder !== currChildProps.isPlaceholder);
|
|
6283
6267
|
}
|
|
6268
|
+
else {
|
|
6269
|
+
return prevChild !== currChild;
|
|
6270
|
+
}
|
|
6271
|
+
});
|
|
6272
|
+
const hasUpdatedChildren = prevProps.children.length !== this.props.children.length ||
|
|
6273
|
+
checkUpdatedChildren(prevProps.children, this.props.children) ||
|
|
6274
|
+
(this.props.isGrouped &&
|
|
6275
|
+
Array.from(prevProps.children).some((prevChild, index) => prevChild.type === SelectGroup &&
|
|
6276
|
+
prevChild.props.children &&
|
|
6277
|
+
this.props.children[index].props.children &&
|
|
6278
|
+
(prevChild.props.children.length !== this.props.children[index].props.children.length ||
|
|
6279
|
+
checkUpdatedChildren(prevChild.props.children, this.props.children[index].props.children))));
|
|
6280
|
+
if (hasUpdatedChildren) {
|
|
6281
|
+
this.updateTypeAheadFilteredChildren(prevState.typeaheadInputValue || '', null);
|
|
6284
6282
|
}
|
|
6285
6283
|
// for menus with favorites,
|
|
6286
6284
|
// if the number of favorites or typeahead filtered children has changed, the generated
|