@patternfly/react-table 4.110.14 → 4.110.16

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.
@@ -3645,14 +3645,14 @@
3645
3645
  }
3646
3646
  }
3647
3647
  }, [isVisible, popperRef]);
3648
- const addEventListener = (listener, element, event) => {
3648
+ const addEventListener = (listener, element, event, capture = false) => {
3649
3649
  if (listener && element) {
3650
- element.addEventListener(event, listener);
3650
+ element.addEventListener(event, listener, { capture });
3651
3651
  }
3652
3652
  };
3653
- const removeEventListener = (listener, element, event) => {
3653
+ const removeEventListener = (listener, element, event, capture = false) => {
3654
3654
  if (listener && element) {
3655
- element.removeEventListener(event, listener);
3655
+ element.removeEventListener(event, listener, { capture });
3656
3656
  }
3657
3657
  };
3658
3658
  React__namespace.useEffect(() => {
@@ -3665,8 +3665,8 @@
3665
3665
  addEventListener(onPopperClick, popperElement, 'click');
3666
3666
  addEventListener(onPopperMouseEnter, popperElement, 'mouseenter');
3667
3667
  addEventListener(onPopperMouseLeave, popperElement, 'mouseleave');
3668
- onDocumentClick && addEventListener(onDocumentClickCallback, document, 'click');
3669
- addEventListener(onDocumentKeyDown, document, 'keydown');
3668
+ onDocumentClick && addEventListener(onDocumentClickCallback, document, 'click', true);
3669
+ addEventListener(onDocumentKeyDown, document, 'keydown', true);
3670
3670
  // Trigger a Popper update when content changes.
3671
3671
  const observer = new MutationObserver(() => {
3672
3672
  update && update();
@@ -3682,8 +3682,8 @@
3682
3682
  removeEventListener(onPopperClick, popperElement, 'click');
3683
3683
  removeEventListener(onPopperMouseEnter, popperElement, 'mouseenter');
3684
3684
  removeEventListener(onPopperMouseLeave, popperElement, 'mouseleave');
3685
- onDocumentClick && removeEventListener(onDocumentClickCallback, document, 'click');
3686
- removeEventListener(onDocumentKeyDown, document, 'keydown');
3685
+ onDocumentClick && removeEventListener(onDocumentClickCallback, document, 'click', true);
3686
+ removeEventListener(onDocumentKeyDown, document, 'keydown', true);
3687
3687
  observer.disconnect();
3688
3688
  };
3689
3689
  }, [
@@ -8036,153 +8036,6 @@ svg.pf-c-spinner.pf-m-xl {
8036
8036
  --pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--black-600);
8037
8037
  }
8038
8038
 
8039
- .pf-u-screen-reader {
8040
- position: fixed;
8041
- top: 0;
8042
- left: 0;
8043
- overflow: hidden;
8044
- clip: rect(0, 0, 0, 0);
8045
- white-space: nowrap;
8046
- border: 0;
8047
- }
8048
-
8049
- .pf-u-visible {
8050
- position: static;
8051
- overflow: visible;
8052
- clip: auto;
8053
- white-space: normal;
8054
- border: inherit;
8055
- }
8056
-
8057
- .pf-u-hidden {
8058
- display: none !important;
8059
- }
8060
-
8061
- @media screen and (min-width: 576px) {
8062
- .pf-u-screen-reader-on-sm {
8063
- position: fixed;
8064
- top: 0;
8065
- left: 0;
8066
- overflow: hidden;
8067
- clip: rect(0, 0, 0, 0);
8068
- white-space: nowrap;
8069
- border: 0;
8070
- }
8071
- }
8072
- @media screen and (min-width: 576px) {
8073
- .pf-u-visible-on-sm {
8074
- position: static;
8075
- overflow: visible;
8076
- clip: auto;
8077
- white-space: normal;
8078
- border: inherit;
8079
- }
8080
- }
8081
- @media screen and (min-width: 576px) {
8082
- .pf-u-hidden-on-sm {
8083
- display: none !important;
8084
- }
8085
- }
8086
- @media screen and (min-width: 768px) {
8087
- .pf-u-screen-reader-on-md {
8088
- position: fixed;
8089
- top: 0;
8090
- left: 0;
8091
- overflow: hidden;
8092
- clip: rect(0, 0, 0, 0);
8093
- white-space: nowrap;
8094
- border: 0;
8095
- }
8096
- }
8097
- @media screen and (min-width: 768px) {
8098
- .pf-u-visible-on-md {
8099
- position: static;
8100
- overflow: visible;
8101
- clip: auto;
8102
- white-space: normal;
8103
- border: inherit;
8104
- }
8105
- }
8106
- @media screen and (min-width: 768px) {
8107
- .pf-u-hidden-on-md {
8108
- display: none !important;
8109
- }
8110
- }
8111
- @media screen and (min-width: 992px) {
8112
- .pf-u-screen-reader-on-lg {
8113
- position: fixed;
8114
- top: 0;
8115
- left: 0;
8116
- overflow: hidden;
8117
- clip: rect(0, 0, 0, 0);
8118
- white-space: nowrap;
8119
- border: 0;
8120
- }
8121
- }
8122
- @media screen and (min-width: 992px) {
8123
- .pf-u-visible-on-lg {
8124
- position: static;
8125
- overflow: visible;
8126
- clip: auto;
8127
- white-space: normal;
8128
- border: inherit;
8129
- }
8130
- }
8131
- @media screen and (min-width: 992px) {
8132
- .pf-u-hidden-on-lg {
8133
- display: none !important;
8134
- }
8135
- }
8136
- @media screen and (min-width: 1200px) {
8137
- .pf-u-screen-reader-on-xl {
8138
- position: fixed;
8139
- top: 0;
8140
- left: 0;
8141
- overflow: hidden;
8142
- clip: rect(0, 0, 0, 0);
8143
- white-space: nowrap;
8144
- border: 0;
8145
- }
8146
- }
8147
- @media screen and (min-width: 1200px) {
8148
- .pf-u-visible-on-xl {
8149
- position: static;
8150
- overflow: visible;
8151
- clip: auto;
8152
- white-space: normal;
8153
- border: inherit;
8154
- }
8155
- }
8156
- @media screen and (min-width: 1200px) {
8157
- .pf-u-hidden-on-xl {
8158
- display: none !important;
8159
- }
8160
- }
8161
- @media screen and (min-width: 1450px) {
8162
- .pf-u-screen-reader-on-2xl {
8163
- position: fixed;
8164
- top: 0;
8165
- left: 0;
8166
- overflow: hidden;
8167
- clip: rect(0, 0, 0, 0);
8168
- white-space: nowrap;
8169
- border: 0;
8170
- }
8171
- }
8172
- @media screen and (min-width: 1450px) {
8173
- .pf-u-visible-on-2xl {
8174
- position: static;
8175
- overflow: visible;
8176
- clip: auto;
8177
- white-space: normal;
8178
- border: inherit;
8179
- }
8180
- }
8181
- @media screen and (min-width: 1450px) {
8182
- .pf-u-hidden-on-2xl {
8183
- display: none !important;
8184
- }
8185
- }
8186
8039
  .pf-c-app-launcher {
8187
8040
  --pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
8188
8041
  --pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
@@ -8422,6 +8275,153 @@ svg.pf-c-spinner.pf-m-xl {
8422
8275
  --pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--hover--Color: var(--pf-global--palette--gold-100);
8423
8276
  }
8424
8277
 
8278
+ .pf-u-screen-reader {
8279
+ position: fixed;
8280
+ top: 0;
8281
+ left: 0;
8282
+ overflow: hidden;
8283
+ clip: rect(0, 0, 0, 0);
8284
+ white-space: nowrap;
8285
+ border: 0;
8286
+ }
8287
+
8288
+ .pf-u-visible {
8289
+ position: static;
8290
+ overflow: visible;
8291
+ clip: auto;
8292
+ white-space: normal;
8293
+ border: inherit;
8294
+ }
8295
+
8296
+ .pf-u-hidden {
8297
+ display: none !important;
8298
+ }
8299
+
8300
+ @media screen and (min-width: 576px) {
8301
+ .pf-u-screen-reader-on-sm {
8302
+ position: fixed;
8303
+ top: 0;
8304
+ left: 0;
8305
+ overflow: hidden;
8306
+ clip: rect(0, 0, 0, 0);
8307
+ white-space: nowrap;
8308
+ border: 0;
8309
+ }
8310
+ }
8311
+ @media screen and (min-width: 576px) {
8312
+ .pf-u-visible-on-sm {
8313
+ position: static;
8314
+ overflow: visible;
8315
+ clip: auto;
8316
+ white-space: normal;
8317
+ border: inherit;
8318
+ }
8319
+ }
8320
+ @media screen and (min-width: 576px) {
8321
+ .pf-u-hidden-on-sm {
8322
+ display: none !important;
8323
+ }
8324
+ }
8325
+ @media screen and (min-width: 768px) {
8326
+ .pf-u-screen-reader-on-md {
8327
+ position: fixed;
8328
+ top: 0;
8329
+ left: 0;
8330
+ overflow: hidden;
8331
+ clip: rect(0, 0, 0, 0);
8332
+ white-space: nowrap;
8333
+ border: 0;
8334
+ }
8335
+ }
8336
+ @media screen and (min-width: 768px) {
8337
+ .pf-u-visible-on-md {
8338
+ position: static;
8339
+ overflow: visible;
8340
+ clip: auto;
8341
+ white-space: normal;
8342
+ border: inherit;
8343
+ }
8344
+ }
8345
+ @media screen and (min-width: 768px) {
8346
+ .pf-u-hidden-on-md {
8347
+ display: none !important;
8348
+ }
8349
+ }
8350
+ @media screen and (min-width: 992px) {
8351
+ .pf-u-screen-reader-on-lg {
8352
+ position: fixed;
8353
+ top: 0;
8354
+ left: 0;
8355
+ overflow: hidden;
8356
+ clip: rect(0, 0, 0, 0);
8357
+ white-space: nowrap;
8358
+ border: 0;
8359
+ }
8360
+ }
8361
+ @media screen and (min-width: 992px) {
8362
+ .pf-u-visible-on-lg {
8363
+ position: static;
8364
+ overflow: visible;
8365
+ clip: auto;
8366
+ white-space: normal;
8367
+ border: inherit;
8368
+ }
8369
+ }
8370
+ @media screen and (min-width: 992px) {
8371
+ .pf-u-hidden-on-lg {
8372
+ display: none !important;
8373
+ }
8374
+ }
8375
+ @media screen and (min-width: 1200px) {
8376
+ .pf-u-screen-reader-on-xl {
8377
+ position: fixed;
8378
+ top: 0;
8379
+ left: 0;
8380
+ overflow: hidden;
8381
+ clip: rect(0, 0, 0, 0);
8382
+ white-space: nowrap;
8383
+ border: 0;
8384
+ }
8385
+ }
8386
+ @media screen and (min-width: 1200px) {
8387
+ .pf-u-visible-on-xl {
8388
+ position: static;
8389
+ overflow: visible;
8390
+ clip: auto;
8391
+ white-space: normal;
8392
+ border: inherit;
8393
+ }
8394
+ }
8395
+ @media screen and (min-width: 1200px) {
8396
+ .pf-u-hidden-on-xl {
8397
+ display: none !important;
8398
+ }
8399
+ }
8400
+ @media screen and (min-width: 1450px) {
8401
+ .pf-u-screen-reader-on-2xl {
8402
+ position: fixed;
8403
+ top: 0;
8404
+ left: 0;
8405
+ overflow: hidden;
8406
+ clip: rect(0, 0, 0, 0);
8407
+ white-space: nowrap;
8408
+ border: 0;
8409
+ }
8410
+ }
8411
+ @media screen and (min-width: 1450px) {
8412
+ .pf-u-visible-on-2xl {
8413
+ position: static;
8414
+ overflow: visible;
8415
+ clip: auto;
8416
+ white-space: normal;
8417
+ border: inherit;
8418
+ }
8419
+ }
8420
+ @media screen and (min-width: 1450px) {
8421
+ .pf-u-hidden-on-2xl {
8422
+ display: none !important;
8423
+ }
8424
+ }
8425
8425
  .pf-c-avatar {
8426
8426
  --pf-c-avatar--BorderColor: transparent;
8427
8427
  --pf-c-avatar--BorderWidth: 0;
@@ -9831,6 +9831,89 @@ button.pf-c-breadcrumb__link {
9831
9831
  --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--palette--black-600);
9832
9832
  }
9833
9833
 
9834
+ .pf-c-chip-group {
9835
+ --pf-global--Color--100: var(--pf-global--Color--dark-100);
9836
+ --pf-global--Color--200: var(--pf-global--Color--dark-200);
9837
+ --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
9838
+ --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
9839
+ --pf-global--link--Color: var(--pf-global--link--Color--dark);
9840
+ --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
9841
+ --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
9842
+ }
9843
+
9844
+ .pf-c-chip-group {
9845
+ color: var(--pf-global--Color--100);
9846
+ --pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9847
+ --pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
9848
+ --pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
9849
+ --pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
9850
+ --pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
9851
+ --pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
9852
+ --pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
9853
+ --pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
9854
+ --pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
9855
+ --pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
9856
+ --pf-c-chip-group__label--MaxWidth: 18ch;
9857
+ --pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
9858
+ --pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9859
+ --pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);
9860
+ --pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
9861
+ max-width: 100%;
9862
+ }
9863
+
9864
+ .pf-c-chip-group.pf-m-category {
9865
+ padding-top: var(--pf-c-chip-group--m-category--PaddingTop);
9866
+ padding-right: var(--pf-c-chip-group--m-category--PaddingRight);
9867
+ padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);
9868
+ padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);
9869
+ background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
9870
+ border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
9871
+ }
9872
+
9873
+ .pf-c-chip-group__main {
9874
+ display: flex;
9875
+ flex: 1;
9876
+ flex-wrap: wrap;
9877
+ align-items: baseline;
9878
+ min-width: 0;
9879
+ }
9880
+
9881
+ .pf-c-chip-group__list {
9882
+ margin-right: var(--pf-c-chip-group__list--MarginRight);
9883
+ margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
9884
+ }
9885
+
9886
+ .pf-c-chip-group,
9887
+ .pf-c-chip-group__list {
9888
+ display: inline-flex;
9889
+ flex-wrap: wrap;
9890
+ align-items: center;
9891
+ min-width: 0;
9892
+ }
9893
+
9894
+ .pf-c-chip-group__list-item {
9895
+ display: inline-flex;
9896
+ min-width: 0;
9897
+ margin-right: var(--pf-c-chip-group__list-item--MarginRight);
9898
+ margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
9899
+ }
9900
+
9901
+ .pf-c-chip-group__label {
9902
+ overflow: hidden;
9903
+ text-overflow: ellipsis;
9904
+ white-space: nowrap;
9905
+ max-width: var(--pf-c-chip-group__label--MaxWidth);
9906
+ margin-right: var(--pf-c-chip-group__label--MarginRight);
9907
+ font-size: var(--pf-c-chip-group__label--FontSize);
9908
+ }
9909
+
9910
+ .pf-c-chip-group__close {
9911
+ display: flex;
9912
+ align-self: flex-start;
9913
+ margin-top: var(--pf-c-chip-group__close--MarginTop);
9914
+ margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
9915
+ }
9916
+
9834
9917
  .pf-c-clipboard-copy {
9835
9918
  --pf-c-clipboard-copy__toggle-icon--Transition: .2s ease-in 0s;
9836
9919
  --pf-c-clipboard-copy--m-expanded__toggle-icon--Rotate: 90deg;
@@ -9941,89 +10024,6 @@ button.pf-c-breadcrumb__link {
9941
10024
  border: 0;
9942
10025
  }
9943
10026
 
9944
- .pf-c-chip-group {
9945
- --pf-global--Color--100: var(--pf-global--Color--dark-100);
9946
- --pf-global--Color--200: var(--pf-global--Color--dark-200);
9947
- --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
9948
- --pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
9949
- --pf-global--link--Color: var(--pf-global--link--Color--dark);
9950
- --pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
9951
- --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
9952
- }
9953
-
9954
- .pf-c-chip-group {
9955
- color: var(--pf-global--Color--100);
9956
- --pf-c-chip-group__list--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9957
- --pf-c-chip-group__list--MarginRight: calc(var(--pf-global--spacer--xs) * -1);
9958
- --pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
9959
- --pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
9960
- --pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
9961
- --pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
9962
- --pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
9963
- --pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
9964
- --pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
9965
- --pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
9966
- --pf-c-chip-group__label--MaxWidth: 18ch;
9967
- --pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
9968
- --pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
9969
- --pf-c-chip-group__list-item--MarginRight: var(--pf-global--spacer--xs);
9970
- --pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
9971
- max-width: 100%;
9972
- }
9973
-
9974
- .pf-c-chip-group.pf-m-category {
9975
- padding-top: var(--pf-c-chip-group--m-category--PaddingTop);
9976
- padding-right: var(--pf-c-chip-group--m-category--PaddingRight);
9977
- padding-bottom: var(--pf-c-chip-group--m-category--PaddingBottom);
9978
- padding-left: var(--pf-c-chip-group--m-category--PaddingLeft);
9979
- background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
9980
- border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
9981
- }
9982
-
9983
- .pf-c-chip-group__main {
9984
- display: flex;
9985
- flex: 1;
9986
- flex-wrap: wrap;
9987
- align-items: baseline;
9988
- min-width: 0;
9989
- }
9990
-
9991
- .pf-c-chip-group__list {
9992
- margin-right: var(--pf-c-chip-group__list--MarginRight);
9993
- margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
9994
- }
9995
-
9996
- .pf-c-chip-group,
9997
- .pf-c-chip-group__list {
9998
- display: inline-flex;
9999
- flex-wrap: wrap;
10000
- align-items: center;
10001
- min-width: 0;
10002
- }
10003
-
10004
- .pf-c-chip-group__list-item {
10005
- display: inline-flex;
10006
- min-width: 0;
10007
- margin-right: var(--pf-c-chip-group__list-item--MarginRight);
10008
- margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
10009
- }
10010
-
10011
- .pf-c-chip-group__label {
10012
- overflow: hidden;
10013
- text-overflow: ellipsis;
10014
- white-space: nowrap;
10015
- max-width: var(--pf-c-chip-group__label--MaxWidth);
10016
- margin-right: var(--pf-c-chip-group__label--MarginRight);
10017
- font-size: var(--pf-c-chip-group__label--FontSize);
10018
- }
10019
-
10020
- .pf-c-chip-group__close {
10021
- display: flex;
10022
- align-self: flex-start;
10023
- margin-top: var(--pf-c-chip-group__close--MarginTop);
10024
- margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
10025
- }
10026
-
10027
10027
  .pf-c-code-block {
10028
10028
  --pf-c-code-block--BackgroundColor: var(--pf-global--BackgroundColor--200);
10029
10029
  --pf-c-code-block__header--BorderBottomWidth: var(--pf-global--BorderWidth--sm);