@patternfly/react-table 4.93.12 → 4.93.15

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/esm/components/Table/base/types.d.ts +8 -0
  3. package/dist/esm/components/Table/base/types.d.ts.map +1 -1
  4. package/dist/esm/components/Table/base/types.js.map +1 -1
  5. package/dist/esm/components/Table/utils/decorators/compoundExpand.js +2 -2
  6. package/dist/esm/components/Table/utils/decorators/compoundExpand.js.map +1 -1
  7. package/dist/esm/components/Table/utils/headerUtils.d.ts.map +1 -1
  8. package/dist/esm/components/Table/utils/headerUtils.js +1 -0
  9. package/dist/esm/components/Table/utils/headerUtils.js.map +1 -1
  10. package/dist/esm/components/TableComposable/Td.d.ts.map +1 -1
  11. package/dist/esm/components/TableComposable/Td.js +6 -2
  12. package/dist/esm/components/TableComposable/Td.js.map +1 -1
  13. package/dist/js/components/Table/base/types.d.ts +8 -0
  14. package/dist/js/components/Table/base/types.d.ts.map +1 -1
  15. package/dist/js/components/Table/base/types.js.map +1 -1
  16. package/dist/js/components/Table/utils/decorators/compoundExpand.js +2 -2
  17. package/dist/js/components/Table/utils/decorators/compoundExpand.js.map +1 -1
  18. package/dist/js/components/Table/utils/headerUtils.d.ts.map +1 -1
  19. package/dist/js/components/Table/utils/headerUtils.js +1 -0
  20. package/dist/js/components/Table/utils/headerUtils.js.map +1 -1
  21. package/dist/js/components/TableComposable/Td.d.ts.map +1 -1
  22. package/dist/js/components/TableComposable/Td.js +6 -2
  23. package/dist/js/components/TableComposable/Td.js.map +1 -1
  24. package/dist/umd/react-table.js +11 -8
  25. package/dist/umd/react-table.min.css +178 -178
  26. package/dist/umd/react-table.min.js +5 -5
  27. package/package.json +6 -6
  28. package/src/components/Table/__tests__/__snapshots__/Table.test.tsx.snap +4 -0
  29. package/src/components/Table/base/types.tsx +8 -0
  30. package/src/components/Table/examples/LegacyTableActions.tsx +1 -1
  31. package/src/components/Table/examples/LegacyTableCompoundExpandable.tsx +2 -0
  32. package/src/components/Table/examples/LegacyTableExpandable.tsx +2 -0
  33. package/src/components/Table/examples/LegacyTableSelectableRadio.tsx +1 -1
  34. package/src/components/Table/examples/Table.md +3 -3
  35. package/src/components/Table/utils/decorators/compoundExpand.tsx +2 -2
  36. package/src/components/Table/utils/headerUtils.tsx +1 -0
  37. package/src/components/TableComposable/Td.tsx +6 -2
  38. package/src/components/TableComposable/examples/ComposableTableCompoundExpandable.tsx +22 -6
  39. package/src/components/TableComposable/examples/ComposableTableExpandable.tsx +2 -1
  40. package/src/components/TableComposable/examples/ComposableTableNestedExpandable.tsx +3 -2
  41. package/src/components/TableComposable/examples/ComposableTableNestedTableExpandable.tsx +2 -1
  42. package/src/demos/Table.md +24 -10
  43. package/src/demos/table-demos/CompoundExpansion.jsx +15 -6
  44. package/src/demos/table-demos/ExpandCollapseAll.jsx +1 -0
@@ -7667,6 +7667,37 @@ svg.pf-c-spinner.pf-m-xl {
7667
7667
  --pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
7668
7668
  }
7669
7669
 
7670
+ .pf-c-action-list {
7671
+ --pf-c-action-list--m-icon--spacer: 0;
7672
+ --pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
7673
+ --pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
7674
+ }
7675
+
7676
+ .pf-c-action-list,
7677
+ .pf-c-action-list__group {
7678
+ --pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
7679
+ --pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
7680
+ display: flex;
7681
+ align-items: center;
7682
+ }
7683
+
7684
+ .pf-c-action-list > * + *,
7685
+ .pf-c-action-list__group > * + * {
7686
+ margin-left: var(--pf-c-action-list--child--spacer);
7687
+ }
7688
+
7689
+ .pf-c-action-list > * + .pf-c-action-list__group,
7690
+ .pf-c-action-list .pf-c-action-list__group + *,
7691
+ .pf-c-action-list__group > * + .pf-c-action-list__group,
7692
+ .pf-c-action-list__group .pf-c-action-list__group + * {
7693
+ margin-left: var(--pf-c-action-list--group--spacer);
7694
+ }
7695
+
7696
+ .pf-c-action-list.pf-m-icons,
7697
+ .pf-c-action-list__group.pf-m-icons {
7698
+ --pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
7699
+ }
7700
+
7670
7701
  .pf-c-alert {
7671
7702
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
7672
7703
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -7899,6 +7930,153 @@ svg.pf-c-spinner.pf-m-xl {
7899
7930
  --pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--black-600);
7900
7931
  }
7901
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
+ }
7902
8080
  .pf-c-app-launcher {
7903
8081
  --pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
7904
8082
  --pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
@@ -8140,153 +8318,6 @@ svg.pf-c-spinner.pf-m-xl {
8140
8318
  --pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--bold);
8141
8319
  }
8142
8320
 
8143
- .pf-u-screen-reader {
8144
- position: fixed;
8145
- top: 0;
8146
- left: 0;
8147
- overflow: hidden;
8148
- clip: rect(0, 0, 0, 0);
8149
- white-space: nowrap;
8150
- border: 0;
8151
- }
8152
-
8153
- .pf-u-visible {
8154
- position: static;
8155
- overflow: visible;
8156
- clip: auto;
8157
- white-space: normal;
8158
- border: inherit;
8159
- }
8160
-
8161
- .pf-u-hidden {
8162
- display: none !important;
8163
- }
8164
-
8165
- @media screen and (min-width: 576px) {
8166
- .pf-u-screen-reader-on-sm {
8167
- position: fixed;
8168
- top: 0;
8169
- left: 0;
8170
- overflow: hidden;
8171
- clip: rect(0, 0, 0, 0);
8172
- white-space: nowrap;
8173
- border: 0;
8174
- }
8175
- }
8176
- @media screen and (min-width: 576px) {
8177
- .pf-u-visible-on-sm {
8178
- position: static;
8179
- overflow: visible;
8180
- clip: auto;
8181
- white-space: normal;
8182
- border: inherit;
8183
- }
8184
- }
8185
- @media screen and (min-width: 576px) {
8186
- .pf-u-hidden-on-sm {
8187
- display: none !important;
8188
- }
8189
- }
8190
- @media screen and (min-width: 768px) {
8191
- .pf-u-screen-reader-on-md {
8192
- position: fixed;
8193
- top: 0;
8194
- left: 0;
8195
- overflow: hidden;
8196
- clip: rect(0, 0, 0, 0);
8197
- white-space: nowrap;
8198
- border: 0;
8199
- }
8200
- }
8201
- @media screen and (min-width: 768px) {
8202
- .pf-u-visible-on-md {
8203
- position: static;
8204
- overflow: visible;
8205
- clip: auto;
8206
- white-space: normal;
8207
- border: inherit;
8208
- }
8209
- }
8210
- @media screen and (min-width: 768px) {
8211
- .pf-u-hidden-on-md {
8212
- display: none !important;
8213
- }
8214
- }
8215
- @media screen and (min-width: 992px) {
8216
- .pf-u-screen-reader-on-lg {
8217
- position: fixed;
8218
- top: 0;
8219
- left: 0;
8220
- overflow: hidden;
8221
- clip: rect(0, 0, 0, 0);
8222
- white-space: nowrap;
8223
- border: 0;
8224
- }
8225
- }
8226
- @media screen and (min-width: 992px) {
8227
- .pf-u-visible-on-lg {
8228
- position: static;
8229
- overflow: visible;
8230
- clip: auto;
8231
- white-space: normal;
8232
- border: inherit;
8233
- }
8234
- }
8235
- @media screen and (min-width: 992px) {
8236
- .pf-u-hidden-on-lg {
8237
- display: none !important;
8238
- }
8239
- }
8240
- @media screen and (min-width: 1200px) {
8241
- .pf-u-screen-reader-on-xl {
8242
- position: fixed;
8243
- top: 0;
8244
- left: 0;
8245
- overflow: hidden;
8246
- clip: rect(0, 0, 0, 0);
8247
- white-space: nowrap;
8248
- border: 0;
8249
- }
8250
- }
8251
- @media screen and (min-width: 1200px) {
8252
- .pf-u-visible-on-xl {
8253
- position: static;
8254
- overflow: visible;
8255
- clip: auto;
8256
- white-space: normal;
8257
- border: inherit;
8258
- }
8259
- }
8260
- @media screen and (min-width: 1200px) {
8261
- .pf-u-hidden-on-xl {
8262
- display: none !important;
8263
- }
8264
- }
8265
- @media screen and (min-width: 1450px) {
8266
- .pf-u-screen-reader-on-2xl {
8267
- position: fixed;
8268
- top: 0;
8269
- left: 0;
8270
- overflow: hidden;
8271
- clip: rect(0, 0, 0, 0);
8272
- white-space: nowrap;
8273
- border: 0;
8274
- }
8275
- }
8276
- @media screen and (min-width: 1450px) {
8277
- .pf-u-visible-on-2xl {
8278
- position: static;
8279
- overflow: visible;
8280
- clip: auto;
8281
- white-space: normal;
8282
- border: inherit;
8283
- }
8284
- }
8285
- @media screen and (min-width: 1450px) {
8286
- .pf-u-hidden-on-2xl {
8287
- display: none !important;
8288
- }
8289
- }
8290
8321
  .pf-c-avatar {
8291
8322
  --pf-c-avatar--BorderColor: transparent;
8292
8323
  --pf-c-avatar--BorderWidth: 0;
@@ -8664,37 +8695,6 @@ svg.pf-c-spinner.pf-m-xl {
8664
8695
  --pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--300);
8665
8696
  }
8666
8697
 
8667
- .pf-c-action-list {
8668
- --pf-c-action-list--m-icon--spacer: 0;
8669
- --pf-c-action-list--child--spacer-base: var(--pf-global--spacer--md);
8670
- --pf-c-action-list--group--spacer-base: var(--pf-global--spacer--2xl);
8671
- }
8672
-
8673
- .pf-c-action-list,
8674
- .pf-c-action-list__group {
8675
- --pf-c-action-list--child--spacer: var(--pf-c-action-list--child--spacer-base);
8676
- --pf-c-action-list--group--spacer: var(--pf-c-action-list--group--spacer-base);
8677
- display: flex;
8678
- align-items: center;
8679
- }
8680
-
8681
- .pf-c-action-list > * + *,
8682
- .pf-c-action-list__group > * + * {
8683
- margin-left: var(--pf-c-action-list--child--spacer);
8684
- }
8685
-
8686
- .pf-c-action-list > * + .pf-c-action-list__group,
8687
- .pf-c-action-list .pf-c-action-list__group + *,
8688
- .pf-c-action-list__group > * + .pf-c-action-list__group,
8689
- .pf-c-action-list__group .pf-c-action-list__group + * {
8690
- margin-left: var(--pf-c-action-list--group--spacer);
8691
- }
8692
-
8693
- .pf-c-action-list.pf-m-icons,
8694
- .pf-c-action-list__group.pf-m-icons {
8695
- --pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
8696
- }
8697
-
8698
8698
  .pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info {
8699
8699
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
8700
8700
  --pf-global--Color--200: var(--pf-global--Color--dark-200);